@shaonq/vue 1.1.14 → 1.1.15
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/index.d.ts +45 -2
- package/lib/index.js +430 -424
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import $o from "vxe-table";
|
|
2
2
|
import "vxe-table/lib/style.css";
|
|
3
|
-
import { ref as K, inject as wt, defineComponent as q, computed as U, shallowRef as ot, watch as ee, onUnmounted as Ct, resolveComponent as b, openBlock as c, createElementBlock as
|
|
3
|
+
import { ref as K, inject as wt, defineComponent as q, computed as U, shallowRef as ot, watch as ee, onUnmounted as Ct, resolveComponent as b, openBlock as c, createElementBlock as O, createBlock as B, withCtx as p, renderSlot as H, createElementVNode as k, toDisplayString as Z, createVNode as s, createTextVNode as N, unref as _, createCommentVNode as W, Fragment as Y, renderList as pe, createSlots as At, isVNode as Pt, resolveDynamicComponent as ye, normalizeStyle as le, reactive as Jt, provide as Et, toRefs as ke, nextTick as Qt, normalizeProps as Fe, guardReactiveProps as nt, mergeProps as M, isRef as Ft, normalizeClass as se, withModifiers as Pe, toRef as tt, Transition as Xt, onMounted as qe, useAttrs as So, Teleport as Yt, markRaw as Oo, withDirectives as Do, vShow as zo } from "vue";
|
|
4
4
|
import it from "xe-utils";
|
|
5
5
|
import Ne from "vuedraggable";
|
|
6
6
|
import { Modal as Zt, Message as eo, Button as Po, useFormItem as Vo, Icon as Ro } from "@arco-design/web-vue";
|
|
@@ -18,7 +18,7 @@ import jt from "@scena/guides";
|
|
|
18
18
|
function be(e) {
|
|
19
19
|
return typeof e == "function";
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function De(e, o) {
|
|
22
22
|
var t;
|
|
23
23
|
const u = (t = e[o.dataIndex]) != null ? t : "";
|
|
24
24
|
return o.format && be(o.format) ? o.format(u, e) : u;
|
|
@@ -162,7 +162,7 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
162
162
|
}, tn = {
|
|
163
163
|
key: 1,
|
|
164
164
|
class: "orc-table__pagination"
|
|
165
|
-
}, on = { class: "u-flex u-flex--start" }, nn = { class: "u-flex__item" }, ln = { style: { width: "500px" } },
|
|
165
|
+
}, on = { class: "u-flex u-flex--start" }, nn = { class: "u-flex__item" }, ln = { style: { width: "500px" } }, xt = /* @__PURE__ */ q({
|
|
166
166
|
__name: "table",
|
|
167
167
|
props: {
|
|
168
168
|
title: String,
|
|
@@ -207,7 +207,7 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
207
207
|
}), f = U(() => {
|
|
208
208
|
var $, P;
|
|
209
209
|
return (P = ($ = n.option) == null ? void 0 : $.pageSizeOptions) != null ? P : [10, 20, 50, 100, 200];
|
|
210
|
-
}), m = K({ page: 1, size: r.value }), { disabledList: C, selectChangeEvent: v, radioChangeEvent: w } = Io(n, i), { $grid: x, $gridTwo:
|
|
210
|
+
}), m = K({ page: 1, size: r.value }), { disabledList: C, selectChangeEvent: v, radioChangeEvent: w } = Io(n, i), { $grid: x, $gridTwo: A } = to(n.option);
|
|
211
211
|
function y($, P, Q) {
|
|
212
212
|
var fe, we;
|
|
213
213
|
const I = (fe = $[P]) != null ? fe : {}, te = (we = $[P - 1]) != null ? we : {};
|
|
@@ -222,16 +222,16 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
222
222
|
}
|
|
223
223
|
return I;
|
|
224
224
|
}
|
|
225
|
-
const
|
|
226
|
-
function
|
|
225
|
+
const E = K([]);
|
|
226
|
+
function D() {
|
|
227
227
|
const $ = [...n.option.columns], P = n.option.resolveColumns && be(n.option.resolveColumns) ? n.option.resolveColumns($) : $;
|
|
228
228
|
return Object.assign([], P).filter((I) => Boolean(I)).map((I) => {
|
|
229
229
|
var te;
|
|
230
230
|
return I.show = (te = I.show) != null ? te : !0, I.tooltip && (I.ellipsis = !0), I;
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
|
-
const
|
|
234
|
-
const $ =
|
|
233
|
+
const F = U(() => {
|
|
234
|
+
const $ = D(), P = Object.assign([], E.value);
|
|
235
235
|
return [
|
|
236
236
|
...new Set(
|
|
237
237
|
[...P].map((I) => I.dataIndex).filter((I) => $.find((te) => te.dataIndex === I)).concat([...$].map((I) => I.dataIndex)).filter((I) => !!I)
|
|
@@ -290,7 +290,7 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
290
290
|
}), R(!1)));
|
|
291
291
|
}
|
|
292
292
|
function Ce($, P = !1) {
|
|
293
|
-
$ && (m.value.page = $), (!n.option.reserve || P) && (S.value = [],
|
|
293
|
+
$ && (m.value.page = $), (!n.option.reserve || P) && (S.value = [], A.clearSelection()), ue();
|
|
294
294
|
}
|
|
295
295
|
async function he($) {
|
|
296
296
|
m.value.size = $, Ce(1, !0);
|
|
@@ -304,13 +304,13 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
304
304
|
var $;
|
|
305
305
|
if (typeof (($ = n.hook) == null ? void 0 : $.getColumn) == "function") {
|
|
306
306
|
const [P, Q] = await n.hook.getColumn();
|
|
307
|
-
!P && Q && (
|
|
307
|
+
!P && Q && (E.value = Q);
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
L();
|
|
311
311
|
const Le = ($ = !1) => {
|
|
312
312
|
var P, Q;
|
|
313
|
-
!Ae.value || ($ ? (P = Ae.value) == null || P.togglePanel() : (Q = Ae.value) == null || Q.showPanel(), me.value.columns = Object.assign([], [...
|
|
313
|
+
!Ae.value || ($ ? (P = Ae.value) == null || P.togglePanel() : (Q = Ae.value) == null || Q.showPanel(), me.value.columns = Object.assign([], [...F.value]).map((I) => {
|
|
314
314
|
const te = me.value.tempWidth[I.dataIndex];
|
|
315
315
|
return te && (I.width = te), I;
|
|
316
316
|
}));
|
|
@@ -319,7 +319,7 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
319
319
|
!Ae.value || ($ = Ae.value) == null || $.hidePanel();
|
|
320
320
|
};
|
|
321
321
|
function He() {
|
|
322
|
-
me.value.loading = !0,
|
|
322
|
+
me.value.loading = !0, E.value = [], me.value.tempWidth = /* @__PURE__ */ Object.create({}), me.value.columns = D(), Le(), setTimeout(() => {
|
|
323
323
|
me.value.loading = !1;
|
|
324
324
|
}, 500);
|
|
325
325
|
}
|
|
@@ -329,7 +329,7 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
329
329
|
}
|
|
330
330
|
const Je = () => {
|
|
331
331
|
var $;
|
|
332
|
-
!Ae.value || (
|
|
332
|
+
!Ae.value || (E.value = me.value.columns, i("confirm", F.value), typeof (($ = n.hook) == null ? void 0 : $.setColumn) == "function" && n.hook.setColumn(F.value), me.value.tempWidth = /* @__PURE__ */ Object.create({}), Se());
|
|
333
333
|
};
|
|
334
334
|
return n.option.firstLoad !== !1 && ue(), ee(
|
|
335
335
|
() => n.option.firstLoad,
|
|
@@ -342,17 +342,17 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
342
342
|
loading: T,
|
|
343
343
|
setLoading: R,
|
|
344
344
|
dataInit($) {
|
|
345
|
-
return $ !== !1 && (m.value.page = 1), S.value = [],
|
|
345
|
+
return $ !== !1 && (m.value.page = 1), S.value = [], A.clearSelection(), ue();
|
|
346
346
|
},
|
|
347
347
|
loadData($) {
|
|
348
348
|
x.value && (x.value.reloadData($), G.value = $);
|
|
349
349
|
},
|
|
350
|
-
...
|
|
350
|
+
...A
|
|
351
351
|
}), ($, P) => {
|
|
352
352
|
var zt;
|
|
353
|
-
const Q = b("a-switch"), I = b("a-tooltip"), te = b("icon-refresh"), fe = b("a-button"), we = b("icon-settings"), Be = b("icon-drag-dot-vertical"), ge = b("a-checkbox"), Qe = b("a-input-number"), wo = b("a-divider"),
|
|
354
|
-
return c(),
|
|
355
|
-
n.hideToolbar ? W("", !0) : (c(),
|
|
353
|
+
const Q = b("a-switch"), I = b("a-tooltip"), te = b("icon-refresh"), fe = b("a-button"), we = b("icon-settings"), Be = b("icon-drag-dot-vertical"), ge = b("a-checkbox"), Qe = b("a-input-number"), wo = b("a-divider"), Ot = b("vxe-button"), Co = b("vxe-pulldown"), Dt = b("a-space"), Ao = b("vxe-toolbar"), Xe = b("vxe-column"), Eo = b("a-empty"), Fo = b("a-spin"), xo = b("vxe-table"), ko = b("a-pagination");
|
|
354
|
+
return c(), O("div", qo, [
|
|
355
|
+
n.hideToolbar ? W("", !0) : (c(), B(Ao, {
|
|
356
356
|
key: 0,
|
|
357
357
|
size: "mini",
|
|
358
358
|
"class-name": "orc-table__toolbar"
|
|
@@ -363,7 +363,7 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
363
363
|
])
|
|
364
364
|
]),
|
|
365
365
|
tools: p(() => [
|
|
366
|
-
s(
|
|
366
|
+
s(Dt, { size: "mini" }, {
|
|
367
367
|
default: p(() => [
|
|
368
368
|
H($.$slots, "tools"),
|
|
369
369
|
s(I, {
|
|
@@ -407,7 +407,7 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
407
407
|
]),
|
|
408
408
|
_: 1
|
|
409
409
|
}),
|
|
410
|
-
n.hideSetting ? W("", !0) : (c(),
|
|
410
|
+
n.hideSetting ? W("", !0) : (c(), B(Co, {
|
|
411
411
|
key: 0,
|
|
412
412
|
ref_key: "settingRef",
|
|
413
413
|
ref: Ae,
|
|
@@ -477,11 +477,11 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
477
477
|
}, {
|
|
478
478
|
item: p(({ element: ne }) => [
|
|
479
479
|
k("div", Go, [
|
|
480
|
-
ne.title ? (c(),
|
|
480
|
+
ne.title ? (c(), O("div", Jo, [
|
|
481
481
|
s(Be, { class: "orc-table__draggable-moving" }),
|
|
482
482
|
s(ge, {
|
|
483
483
|
modelValue: ne.show,
|
|
484
|
-
"onUpdate:modelValue": (
|
|
484
|
+
"onUpdate:modelValue": (Oe) => ne.show = Oe
|
|
485
485
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
486
486
|
k("label", {
|
|
487
487
|
class: "u-flex__item u-clamp",
|
|
@@ -491,11 +491,11 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
491
491
|
], 8, Qo),
|
|
492
492
|
s(Qe, {
|
|
493
493
|
modelValue: ne.width,
|
|
494
|
-
"onUpdate:modelValue": (
|
|
494
|
+
"onUpdate:modelValue": (Oe) => ne.width = Oe,
|
|
495
495
|
size: "mini",
|
|
496
496
|
style: { width: "50px" }
|
|
497
497
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
498
|
-
])) : (c(),
|
|
498
|
+
])) : (c(), O("div", Yo, [
|
|
499
499
|
s(wo, {
|
|
500
500
|
margin: 6,
|
|
501
501
|
type: "dashed"
|
|
@@ -508,7 +508,7 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
508
508
|
])
|
|
509
509
|
]),
|
|
510
510
|
k("div", Zo, [
|
|
511
|
-
s(
|
|
511
|
+
s(Ot, {
|
|
512
512
|
size: "mini",
|
|
513
513
|
class: "u-flex__item",
|
|
514
514
|
type: "text",
|
|
@@ -520,7 +520,7 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
520
520
|
])),
|
|
521
521
|
_: 1
|
|
522
522
|
}),
|
|
523
|
-
s(
|
|
523
|
+
s(Ot, {
|
|
524
524
|
size: "mini",
|
|
525
525
|
class: "u-flex__item",
|
|
526
526
|
type: "text",
|
|
@@ -543,7 +543,7 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
543
543
|
]),
|
|
544
544
|
_: 3
|
|
545
545
|
})),
|
|
546
|
-
s(
|
|
546
|
+
s(xo, {
|
|
547
547
|
ref: n.option.ref,
|
|
548
548
|
data: G.value,
|
|
549
549
|
height: n.height,
|
|
@@ -582,27 +582,27 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
582
582
|
s(Eo)
|
|
583
583
|
]),
|
|
584
584
|
loading: p(() => [
|
|
585
|
-
s(
|
|
585
|
+
s(Fo)
|
|
586
586
|
]),
|
|
587
587
|
default: p(() => [
|
|
588
588
|
H($.$slots, "columns", {}, () => {
|
|
589
|
-
var ne,
|
|
589
|
+
var ne, Oe;
|
|
590
590
|
return [
|
|
591
|
-
["checkbox"].includes((ne = n.option.selectedType) != null ? ne : "") ? (c(),
|
|
591
|
+
["checkbox"].includes((ne = n.option.selectedType) != null ? ne : "") ? (c(), B(Xe, {
|
|
592
592
|
key: 0,
|
|
593
593
|
type: "checkbox",
|
|
594
594
|
width: "30",
|
|
595
595
|
fixed: "left",
|
|
596
596
|
align: n.option.selectedAlign
|
|
597
|
-
}, null, 8, ["align"])) : ["radio"].includes((
|
|
597
|
+
}, null, 8, ["align"])) : ["radio"].includes((Oe = n.option.selectedType) != null ? Oe : "") ? (c(), B(Xe, {
|
|
598
598
|
key: 1,
|
|
599
599
|
type: "radio",
|
|
600
600
|
width: "30",
|
|
601
601
|
fixed: "left",
|
|
602
602
|
align: n.option.selectedAlign
|
|
603
603
|
}, null, 8, ["align"])) : W("", !0),
|
|
604
|
-
(c(!0),
|
|
605
|
-
["index"].includes(V.dataIndex) ? (c(),
|
|
604
|
+
(c(!0), O(Y, null, pe(F.value.filter((V) => V.show), (V, Bo) => (c(), O(Y, { key: Bo }, [
|
|
605
|
+
["index"].includes(V.dataIndex) ? (c(), B(Xe, {
|
|
606
606
|
key: 0,
|
|
607
607
|
type: "seq",
|
|
608
608
|
field: V.dataIndex,
|
|
@@ -619,7 +619,7 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
619
619
|
filters: V.filters,
|
|
620
620
|
"filter-multiple": V.filterMultiple,
|
|
621
621
|
"filter-method": V.filterMethod
|
|
622
|
-
}, null, 8, ["field", "width", "title", "sortable", "header-align", "footer-align", "align", "show-header-overflow", "show-overflow", "fixed", "title-prefix", "filters", "filter-multiple", "filter-method"])) : (c(),
|
|
622
|
+
}, null, 8, ["field", "width", "title", "sortable", "header-align", "footer-align", "align", "show-header-overflow", "show-overflow", "fixed", "title-prefix", "filters", "filter-multiple", "filter-method"])) : (c(), B(Xe, {
|
|
623
623
|
key: 1,
|
|
624
624
|
field: V.dataIndex,
|
|
625
625
|
width: V.width,
|
|
@@ -647,15 +647,15 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
647
647
|
columnIndex: ut,
|
|
648
648
|
value: ae[V.dataIndex],
|
|
649
649
|
updateValue: d(ae, V.dataIndex),
|
|
650
|
-
formatValue: _(
|
|
650
|
+
formatValue: _(De)(ae, V)
|
|
651
651
|
}, () => [
|
|
652
|
-
Pt(V.cell) ? (c(),
|
|
652
|
+
Pt(V.cell) ? (c(), B(ye(V.cell), {
|
|
653
653
|
key: 0,
|
|
654
654
|
record: ae
|
|
655
|
-
}, null, 8, ["record"])) : (c(),
|
|
655
|
+
}, null, 8, ["record"])) : (c(), O("span", {
|
|
656
656
|
key: 1,
|
|
657
657
|
style: le(_(at)(ae, V))
|
|
658
|
-
}, Z(_(
|
|
658
|
+
}, Z(_(De)(ae, V)), 5))
|
|
659
659
|
])
|
|
660
660
|
]),
|
|
661
661
|
key: "0"
|
|
@@ -670,30 +670,30 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
670
670
|
columnIndex: ut,
|
|
671
671
|
value: ae[V.dataIndex],
|
|
672
672
|
updateValue: d(ae, V.dataIndex),
|
|
673
|
-
formatValue: _(
|
|
673
|
+
formatValue: _(De)(ae, V)
|
|
674
674
|
}, () => [
|
|
675
|
-
Pt(V.cell) ? (c(),
|
|
675
|
+
Pt(V.cell) ? (c(), B(ye(V.cell), {
|
|
676
676
|
key: 0,
|
|
677
677
|
record: ae
|
|
678
|
-
}, null, 8, ["record"])) : (c(),
|
|
678
|
+
}, null, 8, ["record"])) : (c(), O("span", {
|
|
679
679
|
key: 1,
|
|
680
680
|
style: le(_(at)(ae, V))
|
|
681
|
-
}, Z(_(
|
|
681
|
+
}, Z(_(De)(ae, V)), 5))
|
|
682
682
|
])
|
|
683
683
|
]),
|
|
684
684
|
key: "1"
|
|
685
685
|
} : {
|
|
686
686
|
name: "default",
|
|
687
687
|
fn: p(({ row: ae, rowIndex: $e }) => [
|
|
688
|
-
n.option.skinRow && !V.cell ? (c(),
|
|
689
|
-
$e > 0 && y(G.value, $e, V.dataIndex) && V.width ? (c(),
|
|
688
|
+
n.option.skinRow && !V.cell ? (c(), O(Y, { key: 0 }, [
|
|
689
|
+
$e > 0 && y(G.value, $e, V.dataIndex) && V.width ? (c(), O("span", en, Z(n.option.skinRowText), 1)) : (c(), O("span", {
|
|
690
690
|
key: 1,
|
|
691
691
|
style: le(g(G.value, $e, V.dataIndex))
|
|
692
|
-
}, Z(_(
|
|
693
|
-
], 64)) : (c(),
|
|
692
|
+
}, Z(_(De)(ae, V)), 5))
|
|
693
|
+
], 64)) : (c(), O("span", {
|
|
694
694
|
key: 1,
|
|
695
695
|
style: le(_(at)(ae, V))
|
|
696
|
-
}, Z(_(
|
|
696
|
+
}, Z(_(De)(ae, V)), 5))
|
|
697
697
|
]),
|
|
698
698
|
key: "2"
|
|
699
699
|
}
|
|
@@ -704,13 +704,13 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
704
704
|
]),
|
|
705
705
|
_: 3
|
|
706
706
|
}, 8, ["data", "height", "stripe", "row-config", "show-overflow", "show-header-overflow", "size", "loading", "radio-config", "checkbox-config", "header-cell-style", "border", "show-footer", "footer-method", "footer-cell-style", "cell-style", "merge-footer-items", "show-footer-overflow", "filter-config", "edit-rules", "scroll-y", "scroll-x", "onCheckboxChange", "onCheckboxAll", "onRadioChange", "onFooterCellClick"]),
|
|
707
|
-
j.value && !n.hidePagination ? (c(),
|
|
707
|
+
j.value && !n.hidePagination ? (c(), O("div", tn, [
|
|
708
708
|
k("div", on, [
|
|
709
709
|
k("div", nn, [
|
|
710
710
|
H($.$slots, "footer")
|
|
711
711
|
]),
|
|
712
712
|
k("div", ln, [
|
|
713
|
-
s(
|
|
713
|
+
s(Dt, {
|
|
714
714
|
fill: "",
|
|
715
715
|
direction: "vertical",
|
|
716
716
|
align: "end"
|
|
@@ -729,7 +729,7 @@ const qo = { class: "orc-table" }, No = { class: "arco-card-header-title" }, Uo
|
|
|
729
729
|
onChange: Ce
|
|
730
730
|
}, {
|
|
731
731
|
total: p(() => [
|
|
732
|
-
S.value.length ? (c(),
|
|
732
|
+
S.value.length ? (c(), O(Y, { key: 0 }, [
|
|
733
733
|
N(" \u9009 " + Z(S.value.length), 1)
|
|
734
734
|
], 64)) : W("", !0),
|
|
735
735
|
N(" \u5171 " + Z(ce.value) + " \u6761 ", 1)
|
|
@@ -770,7 +770,7 @@ const Yu = {
|
|
|
770
770
|
if (t.selectedType === "checkbox") {
|
|
771
771
|
const C = l.value, { fullData: v } = C.getTableData();
|
|
772
772
|
if (e.checkboxKey) {
|
|
773
|
-
const w = e.checkboxKey, x = v.filter((
|
|
773
|
+
const w = e.checkboxKey, x = v.filter((A) => A[w] && A[w] === r[w]);
|
|
774
774
|
x.length && C.setCheckboxRow(x, !0);
|
|
775
775
|
} else
|
|
776
776
|
l.value.setCheckboxRow(r, !0);
|
|
@@ -840,7 +840,7 @@ function lo(e, o, u) {
|
|
|
840
840
|
function rn(e, o, u) {
|
|
841
841
|
return typeof e != "object" ? e : (no(o).reduce((t, l, n, a) => n === a.length - 1 ? (t[l] = u, null) : (l in t || (t[l] = /^[0-9]{1,}$/.test(a[n + 1]) ? [] : {}), t[l]), e), gt(e));
|
|
842
842
|
}
|
|
843
|
-
function
|
|
843
|
+
function xe(e, o, u = "children") {
|
|
844
844
|
const t = e ? `${e}.` : "", l = o !== void 0 ? `[${o}]` : "";
|
|
845
845
|
return `${t}${u}${l}`;
|
|
846
846
|
}
|
|
@@ -922,49 +922,49 @@ function de() {
|
|
|
922
922
|
const { options: w = {}, optionsConfig: x = {} } = v != null ? v : {};
|
|
923
923
|
if (Object.keys(w).length === 0)
|
|
924
924
|
return null;
|
|
925
|
-
const
|
|
926
|
-
return Object.keys(
|
|
927
|
-
|
|
925
|
+
const A = { ...x };
|
|
926
|
+
return Object.keys(A).forEach((y) => {
|
|
927
|
+
A[y] = typeof A[y] != "object" ? { type: A[y], model: y } : A[y];
|
|
928
928
|
}), Object.keys(w).forEach((y) => {
|
|
929
|
-
var
|
|
930
|
-
let g = { type: "string", model: y },
|
|
931
|
-
(!
|
|
929
|
+
var D, F;
|
|
930
|
+
let g = { type: "string", model: y }, E = A[y] || cn[y] || typeof w[y];
|
|
931
|
+
(!E || E === "undefined") && (E = "string"), typeof E == "object" ? g = { ...g, ...E } : g.type = E, A[y] = {
|
|
932
932
|
...g,
|
|
933
933
|
show: g.show !== !1,
|
|
934
|
-
tooltip: (
|
|
935
|
-
options: (
|
|
934
|
+
tooltip: (D = w.tooltip) != null ? D : g.tooltip,
|
|
935
|
+
options: (F = w.options) != null ? F : g.options
|
|
936
936
|
};
|
|
937
|
-
}),
|
|
937
|
+
}), A;
|
|
938
938
|
}
|
|
939
939
|
function r(v) {
|
|
940
940
|
const w = { len: 0, isDelete: !0, isCopy: !0, isHidden: !1 };
|
|
941
941
|
if (v) {
|
|
942
|
-
const [x] = st(v),
|
|
943
|
-
Array.isArray(
|
|
942
|
+
const [x] = st(v), A = i(x);
|
|
943
|
+
Array.isArray(A) && (w.len = A.length);
|
|
944
944
|
}
|
|
945
945
|
return w;
|
|
946
946
|
}
|
|
947
947
|
return { updateRootPathValue: a, getWidget: i, getWidgetProperty: r, getWidgetPanelProperty: d, useField: (v) => {
|
|
948
|
-
const w = ot(), x = (
|
|
949
|
-
w.value =
|
|
950
|
-
},
|
|
951
|
-
var
|
|
952
|
-
const
|
|
953
|
-
|
|
948
|
+
const w = ot(), x = (E) => {
|
|
949
|
+
w.value = E;
|
|
950
|
+
}, A = U(() => i(v.value)), y = () => {
|
|
951
|
+
var D, F, z;
|
|
952
|
+
const E = A.value;
|
|
953
|
+
E && E.model ? x((z = (F = o.value[E.model]) != null ? F : (D = E.options) == null ? void 0 : D.defaultValue) != null ? z : void 0) : x(void 0);
|
|
954
954
|
}, g = () => {
|
|
955
|
-
const
|
|
956
|
-
|
|
955
|
+
const E = A.value;
|
|
956
|
+
E && E.model && (o.value[E.model] = w.value);
|
|
957
957
|
};
|
|
958
|
-
return ee(v, y, { immediate: !0 }), ee(() =>
|
|
959
|
-
const
|
|
960
|
-
(
|
|
958
|
+
return ee(v, y, { immediate: !0 }), ee(() => A.value && A.value.model && o.value[A.value.model], x), ee(w, (E) => {
|
|
959
|
+
const D = A.value;
|
|
960
|
+
(D == null ? void 0 : D.model) && D.options && (D.options.defaultValue = E), g();
|
|
961
961
|
}), [w];
|
|
962
962
|
}, useWidgetOperation: () => {
|
|
963
|
-
const v = (
|
|
964
|
-
u.value[
|
|
965
|
-
}, w = (
|
|
966
|
-
l.value =
|
|
967
|
-
}, x = (
|
|
963
|
+
const v = (D, F) => {
|
|
964
|
+
u.value[D] = F;
|
|
965
|
+
}, w = (D) => {
|
|
966
|
+
l.value = D;
|
|
967
|
+
}, x = (D) => l.value === D, A = () => {
|
|
968
968
|
e.value = [], l.value = null;
|
|
969
969
|
}, y = () => ({
|
|
970
970
|
config: { ...u.value },
|
|
@@ -972,52 +972,52 @@ function de() {
|
|
|
972
972
|
models: { ...o.value },
|
|
973
973
|
remoteFuncs: { ...t.value }
|
|
974
974
|
});
|
|
975
|
-
function g(
|
|
976
|
-
if (!
|
|
975
|
+
function g(D) {
|
|
976
|
+
if (!D)
|
|
977
977
|
return;
|
|
978
|
-
const [
|
|
979
|
-
j && Array.isArray(j) && (j.splice(z, 1), a(
|
|
978
|
+
const [F, z = 0] = st(D), j = i(F);
|
|
979
|
+
j && Array.isArray(j) && (j.splice(z, 1), a(F, j), j.length > 0 && w(`${F}[${Math.min(z, j.length - 1)}]`));
|
|
980
980
|
}
|
|
981
|
-
function
|
|
982
|
-
if (!
|
|
981
|
+
function E(D) {
|
|
982
|
+
if (!D)
|
|
983
983
|
return;
|
|
984
|
-
const
|
|
985
|
-
if (
|
|
986
|
-
const oe = Tt(
|
|
984
|
+
const F = i(D), [z, j = 0] = st(D), T = i(z);
|
|
985
|
+
if (F && T && Array.isArray(T)) {
|
|
986
|
+
const oe = Tt(F, {});
|
|
987
987
|
T.splice(j, 0, oe), a(z, T), w(`${z}[${j + 1}]`);
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
|
-
return { setConfig: v, onSelected: w, hasSelected: x, onReset:
|
|
990
|
+
return { setConfig: v, onSelected: w, hasSelected: x, onReset: A, toJson: y, onDelete: g, onCopy: E };
|
|
991
991
|
}, useDraggableOperation: (v) => {
|
|
992
992
|
function w(g) {
|
|
993
993
|
if (!(v != null && v.value))
|
|
994
994
|
return {};
|
|
995
|
-
const { originalEvent:
|
|
996
|
-
return { left: `${
|
|
995
|
+
const { originalEvent: E } = g, { clientX: D, clientY: F } = E, { top: z, left: j } = v.value.getBoundingClientRect();
|
|
996
|
+
return { left: `${D - j}px`, top: `${F - z}px` };
|
|
997
997
|
}
|
|
998
|
-
const x = (g,
|
|
999
|
-
a(g,
|
|
998
|
+
const x = (g, E) => {
|
|
999
|
+
a(g, E), l.value = g;
|
|
1000
1000
|
};
|
|
1001
|
-
function
|
|
1001
|
+
function A(g, E = null) {
|
|
1002
1002
|
var j, T;
|
|
1003
1003
|
if (!g)
|
|
1004
1004
|
return;
|
|
1005
|
-
const
|
|
1006
|
-
|
|
1007
|
-
const z =
|
|
1008
|
-
x(`${z}`,
|
|
1005
|
+
const D = g.newIndex, F = gt(E ? (T = (j = i(E)) == null ? void 0 : j.children) != null ? T : [] : e.value);
|
|
1006
|
+
F[D] = Tt(F[D], { options: w(g) }), F[D].children && (F[D] = { ...F[D], children: [...F[D].children] });
|
|
1007
|
+
const z = xe(E, D);
|
|
1008
|
+
x(`${z}`, F[D]);
|
|
1009
1009
|
}
|
|
1010
|
-
function y(g,
|
|
1010
|
+
function y(g, E = null) {
|
|
1011
1011
|
var j, T;
|
|
1012
1012
|
if (!g)
|
|
1013
1013
|
return;
|
|
1014
|
-
const
|
|
1015
|
-
|
|
1016
|
-
const z =
|
|
1017
|
-
x(`${z}`,
|
|
1014
|
+
const D = g.newIndex, F = gt(E ? (T = (j = i(E)) == null ? void 0 : j.children) != null ? T : [] : e.value);
|
|
1015
|
+
F[D].options = { ...F[D].options, ...w(g) };
|
|
1016
|
+
const z = xe(E, D);
|
|
1017
|
+
x(`${z}`, F[D]);
|
|
1018
1018
|
}
|
|
1019
1019
|
return {
|
|
1020
|
-
onAddWidget:
|
|
1020
|
+
onAddWidget: A,
|
|
1021
1021
|
onUpdateWidget: y
|
|
1022
1022
|
};
|
|
1023
1023
|
} };
|
|
@@ -1177,20 +1177,20 @@ async function mn(e, o, u) {
|
|
|
1177
1177
|
if (C.length || (C = [o]), console.log(`Create a ${C.length}-page file named ${n}`), typeof (u == null ? void 0 : u.success) == "function")
|
|
1178
1178
|
u.success(f, C);
|
|
1179
1179
|
else {
|
|
1180
|
-
let v, w = new Date().getTime(), x = 0,
|
|
1180
|
+
let v, w = new Date().getTime(), x = 0, A = 0;
|
|
1181
1181
|
C.forEach((y, g) => {
|
|
1182
|
-
f = f.from(y).toContainer().toCanvas().toPdf().get("pdf").then((
|
|
1182
|
+
f = f.from(y).toContainer().toCanvas().toPdf().get("pdf").then((E) => {
|
|
1183
1183
|
if (C.length > 1) {
|
|
1184
|
-
const
|
|
1185
|
-
x +=
|
|
1186
|
-
const z = x /
|
|
1187
|
-
w =
|
|
1184
|
+
const D = new Date().getTime(), F = D - w;
|
|
1185
|
+
x += F, A += 1;
|
|
1186
|
+
const z = x / A, j = C.length - (g + 1), T = (j * z / 1e3).toFixed(2);
|
|
1187
|
+
w = D, j === 0 ? v && v.close() : A % 5 === 0 && (v = eo.loading({
|
|
1188
1188
|
id: "MessageLoadingDownloadPdf",
|
|
1189
1189
|
content: `\u521B\u5EFA${n},\u7EA6\u5269 ${T}s`,
|
|
1190
1190
|
duration: 0
|
|
1191
1191
|
}));
|
|
1192
1192
|
}
|
|
1193
|
-
C && g < C.length - 1 &&
|
|
1193
|
+
C && g < C.length - 1 && E.addPage();
|
|
1194
1194
|
});
|
|
1195
1195
|
}), f.save();
|
|
1196
1196
|
}
|
|
@@ -1237,7 +1237,7 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1237
1237
|
return console.error(String(m)), Wt;
|
|
1238
1238
|
}
|
|
1239
1239
|
}
|
|
1240
|
-
return (r, f) => i.value ? (c(),
|
|
1240
|
+
return (r, f) => i.value ? (c(), O("img", {
|
|
1241
1241
|
key: 0,
|
|
1242
1242
|
src: d(),
|
|
1243
1243
|
style: le({ display: "block", background: "#fff", width: i.value.width + "px", height: i.value.height + "px" }),
|
|
@@ -1251,7 +1251,7 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1251
1251
|
}, Symbol.toStringTag, { value: "Module" })), yn = {
|
|
1252
1252
|
__name: "barcode",
|
|
1253
1253
|
setup(e) {
|
|
1254
|
-
return (o, u) => (c(),
|
|
1254
|
+
return (o, u) => (c(), B(co, Fe(nt(o.$props)), null, 16));
|
|
1255
1255
|
}
|
|
1256
1256
|
}, bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1257
1257
|
__proto__: null,
|
|
@@ -1268,7 +1268,7 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1268
1268
|
var f;
|
|
1269
1269
|
return o.isView ? !0 : ((f = r == null ? void 0 : r.dataset) == null ? void 0 : f.category) === "basic";
|
|
1270
1270
|
};
|
|
1271
|
-
return (i, d) => l.value && l.value.children ? (c(),
|
|
1271
|
+
return (i, d) => l.value && l.value.children ? (c(), B(_(Ne), M({
|
|
1272
1272
|
key: 0,
|
|
1273
1273
|
list: l.value.children,
|
|
1274
1274
|
class: { "fe--widget-list": !0, "fe--widget-list--border": o.isEdit },
|
|
@@ -1284,7 +1284,7 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1284
1284
|
index: f
|
|
1285
1285
|
}, () => [
|
|
1286
1286
|
s(Ke, {
|
|
1287
|
-
path: _(
|
|
1287
|
+
path: _(xe)(o.path, f),
|
|
1288
1288
|
"is-edit": o.isEdit
|
|
1289
1289
|
}, null, 8, ["path", "is-edit"])
|
|
1290
1290
|
])
|
|
@@ -1306,7 +1306,7 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1306
1306
|
const o = e, { getWidget: u } = de(), t = U(() => u(o.path));
|
|
1307
1307
|
return (l, n) => {
|
|
1308
1308
|
const a = b("ACard");
|
|
1309
|
-
return t.value && t.value.children ? (c(),
|
|
1309
|
+
return t.value && t.value.children ? (c(), B(a, {
|
|
1310
1310
|
key: 0,
|
|
1311
1311
|
title: t.value.name,
|
|
1312
1312
|
size: "small",
|
|
@@ -1336,7 +1336,7 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1336
1336
|
const o = e, { getWidget: u } = de(), t = U(() => u(o.path));
|
|
1337
1337
|
return (l, n) => {
|
|
1338
1338
|
const a = b("ACard");
|
|
1339
|
-
return t.value && t.value.children ? (c(),
|
|
1339
|
+
return t.value && t.value.children ? (c(), B(a, {
|
|
1340
1340
|
key: 0,
|
|
1341
1341
|
title: t.value.name,
|
|
1342
1342
|
size: "small",
|
|
@@ -1351,7 +1351,7 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1351
1351
|
}, {
|
|
1352
1352
|
item: p(({ index: i }) => [
|
|
1353
1353
|
s(Ke, {
|
|
1354
|
-
path: _(
|
|
1354
|
+
path: _(xe)(o.path, i),
|
|
1355
1355
|
"is-edit": o.isEdit,
|
|
1356
1356
|
class: "arco-col arco-col-12"
|
|
1357
1357
|
}, null, 8, ["path", "is-edit"])
|
|
@@ -1366,7 +1366,7 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1366
1366
|
}), En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1367
1367
|
__proto__: null,
|
|
1368
1368
|
default: An
|
|
1369
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1369
|
+
}, Symbol.toStringTag, { value: "Module" })), Fn = /* @__PURE__ */ q({
|
|
1370
1370
|
__name: "grid",
|
|
1371
1371
|
props: {
|
|
1372
1372
|
path: {},
|
|
@@ -1376,18 +1376,18 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1376
1376
|
const o = e, { getWidget: u } = de(), t = U(() => u(o.path));
|
|
1377
1377
|
return (l, n) => {
|
|
1378
1378
|
const a = b("a-col"), i = b("a-row");
|
|
1379
|
-
return t.value && t.value.key && t.value.children ? (c(),
|
|
1379
|
+
return t.value && t.value.key && t.value.children ? (c(), B(i, {
|
|
1380
1380
|
key: 0,
|
|
1381
1381
|
gutter: 8
|
|
1382
1382
|
}, {
|
|
1383
1383
|
default: p(() => [
|
|
1384
|
-
(c(!0),
|
|
1384
|
+
(c(!0), O(Y, null, pe(t.value.children, (d, r) => (c(), B(a, {
|
|
1385
1385
|
key: r,
|
|
1386
1386
|
span: 12
|
|
1387
1387
|
}, {
|
|
1388
1388
|
default: p(() => [
|
|
1389
1389
|
s(Ke, {
|
|
1390
|
-
path: _(
|
|
1390
|
+
path: _(xe)(o.path, r),
|
|
1391
1391
|
"is-edit": o.isEdit
|
|
1392
1392
|
}, null, 8, ["path", "is-edit"])
|
|
1393
1393
|
]),
|
|
@@ -1398,9 +1398,9 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1398
1398
|
})) : W("", !0);
|
|
1399
1399
|
};
|
|
1400
1400
|
}
|
|
1401
|
-
}),
|
|
1401
|
+
}), xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1402
1402
|
__proto__: null,
|
|
1403
|
-
default:
|
|
1403
|
+
default: Fn
|
|
1404
1404
|
}, Symbol.toStringTag, { value: "Module" })), kn = /* @__PURE__ */ q({
|
|
1405
1405
|
__name: "hline",
|
|
1406
1406
|
props: {
|
|
@@ -1409,7 +1409,7 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1409
1409
|
},
|
|
1410
1410
|
setup(e) {
|
|
1411
1411
|
const o = e, { getWidget: u } = de(), t = U(() => u(o.path));
|
|
1412
|
-
return (l, n) => t.value && t.value.options ? (c(),
|
|
1412
|
+
return (l, n) => t.value && t.value.options ? (c(), O("div", {
|
|
1413
1413
|
key: 0,
|
|
1414
1414
|
style: le(t.value.options)
|
|
1415
1415
|
}, null, 4)) : W("", !0);
|
|
@@ -1427,7 +1427,7 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1427
1427
|
const o = e, { path: u } = ke(o), { useField: t, getWidget: l } = de(), n = U(() => l(u.value)), [a] = t(u);
|
|
1428
1428
|
return (i, d) => {
|
|
1429
1429
|
var r;
|
|
1430
|
-
return n.value && n.value.options && n.value.model ? (c(),
|
|
1430
|
+
return n.value && n.value.options && n.value.model ? (c(), O("img", {
|
|
1431
1431
|
key: 0,
|
|
1432
1432
|
src: (r = _(a)) != null ? r : qt,
|
|
1433
1433
|
style: le({ width: n.value.options.width, height: n.value.options.height }),
|
|
@@ -1437,10 +1437,10 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1437
1437
|
}, null, 12, $n)) : W("", !0);
|
|
1438
1438
|
};
|
|
1439
1439
|
}
|
|
1440
|
-
}),
|
|
1440
|
+
}), On = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1441
1441
|
__proto__: null,
|
|
1442
1442
|
default: Sn
|
|
1443
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1443
|
+
}, Symbol.toStringTag, { value: "Module" })), Dn = {
|
|
1444
1444
|
key: 0,
|
|
1445
1445
|
class: "fe--widget-subform"
|
|
1446
1446
|
}, zn = { class: "u-vxe-table" }, Pn = /* @__PURE__ */ q({
|
|
@@ -1456,7 +1456,7 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1456
1456
|
};
|
|
1457
1457
|
return (i, d) => {
|
|
1458
1458
|
const r = b("a-link"), f = b("a-space");
|
|
1459
|
-
return l.value && l.value.children ? (c(),
|
|
1459
|
+
return l.value && l.value.children ? (c(), O("div", Dn, [
|
|
1460
1460
|
s(f, null, {
|
|
1461
1461
|
default: p(() => [
|
|
1462
1462
|
s(r, null, {
|
|
@@ -1486,7 +1486,7 @@ const _n = ["src", "onerror"], Wt = "data:image/gif;base64,R0lGODlhAQABAAAAACH5B
|
|
|
1486
1486
|
}), {
|
|
1487
1487
|
item: p(({ index: m }) => [
|
|
1488
1488
|
s(Ke, {
|
|
1489
|
-
path: _(
|
|
1489
|
+
path: _(xe)(o.path, m),
|
|
1490
1490
|
"is-edit": o.isEdit
|
|
1491
1491
|
}, null, 8, ["path", "is-edit"])
|
|
1492
1492
|
]),
|
|
@@ -1520,12 +1520,12 @@ const Vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1520
1520
|
fontFamily: i.fontFamily
|
|
1521
1521
|
};
|
|
1522
1522
|
});
|
|
1523
|
-
return (i, d) => l.value && n.value ? (c(),
|
|
1523
|
+
return (i, d) => l.value && n.value ? (c(), O("table", {
|
|
1524
1524
|
key: 0,
|
|
1525
1525
|
style: le([a.value, { width: "100%", height: "100%", "table-layout": "fixed", "border-collapse": "collapse" }])
|
|
1526
1526
|
}, [
|
|
1527
|
-
(c(!0),
|
|
1528
|
-
(c(!0),
|
|
1527
|
+
(c(!0), O(Y, null, pe(n.value.rowspan, (r) => (c(), O("tr", { key: r }, [
|
|
1528
|
+
(c(!0), O(Y, null, pe(n.value.colspan, (f) => (c(), O("td", {
|
|
1529
1529
|
key: f,
|
|
1530
1530
|
style: { border: "1px solid #000" }
|
|
1531
1531
|
}))), 128))
|
|
@@ -1554,7 +1554,7 @@ const Vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1554
1554
|
fontFamily: r.fontFamily
|
|
1555
1555
|
};
|
|
1556
1556
|
});
|
|
1557
|
-
return (r, f) => n.value ? (c(),
|
|
1557
|
+
return (r, f) => n.value ? (c(), O("div", {
|
|
1558
1558
|
key: 0,
|
|
1559
1559
|
style: le(d.value)
|
|
1560
1560
|
}, Z(n.value.name) + " " + Z(_(a)), 5)) : W("", !0);
|
|
@@ -1591,11 +1591,11 @@ const Vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1591
1591
|
});
|
|
1592
1592
|
return (f, m) => {
|
|
1593
1593
|
const C = b("AFormItem");
|
|
1594
|
-
return a.value ? (c(),
|
|
1594
|
+
return a.value ? (c(), B(C, Fe(M({ key: 0 }, d.value)), {
|
|
1595
1595
|
default: p(() => [
|
|
1596
|
-
(c(),
|
|
1596
|
+
(c(), B(ye(a.value.type), M({
|
|
1597
1597
|
modelValue: _(i),
|
|
1598
|
-
"onUpdate:modelValue": m[0] || (m[0] = (v) =>
|
|
1598
|
+
"onUpdate:modelValue": m[0] || (m[0] = (v) => Ft(i) ? i.value = v : null),
|
|
1599
1599
|
size: "small"
|
|
1600
1600
|
}, r.value), null, 16, ["modelValue"]))
|
|
1601
1601
|
]),
|
|
@@ -1606,7 +1606,7 @@ const Vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1606
1606
|
}), In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1607
1607
|
__proto__: null,
|
|
1608
1608
|
default: po
|
|
1609
|
-
}, Symbol.toStringTag, { value: "Module" })), rt = /* @__PURE__ */ Object.assign({ "./barcode.vue": bn, "./card.vue": Cn, "./form.vue": En, "./grid.vue":
|
|
1609
|
+
}, Symbol.toStringTag, { value: "Module" })), rt = /* @__PURE__ */ Object.assign({ "./barcode.vue": bn, "./card.vue": Cn, "./form.vue": En, "./grid.vue": xn, "./hline.vue": Bn, "./image.vue": On, "./qrcode.vue": vn, "./subform.vue": Vn, "./table.vue": jn, "./text.vue": Tn, "./unknown.vue": In, "./view.vue": hn });
|
|
1610
1610
|
function Nt(e) {
|
|
1611
1611
|
const o = Object.keys(rt).find((u) => u.indexOf(`${e}.vue`) !== -1);
|
|
1612
1612
|
return o && rt[o] ? rt[o].default : po;
|
|
@@ -1648,22 +1648,22 @@ const Wn = {
|
|
|
1648
1648
|
function x(y = !1) {
|
|
1649
1649
|
return o.isEdit ? { "fe--widget-item": !0, "fe-cl": !0, "fe--widget-item-fixed": y } : {};
|
|
1650
1650
|
}
|
|
1651
|
-
function
|
|
1651
|
+
function A() {
|
|
1652
1652
|
return o.isEdit ? {} : v();
|
|
1653
1653
|
}
|
|
1654
1654
|
return (y, g) => {
|
|
1655
|
-
const
|
|
1656
|
-
return r.value ? (c(),
|
|
1655
|
+
const E = b("icon-drag-dot-vertical"), D = b("icon-copy"), F = b("icon-delete");
|
|
1656
|
+
return r.value ? (c(), O("div", M({ key: 0 }, C(r.value), {
|
|
1657
1657
|
class: x(r.value.fixed),
|
|
1658
|
-
style:
|
|
1658
|
+
style: A()
|
|
1659
1659
|
}), [
|
|
1660
|
-
o.isEdit ? (c(),
|
|
1660
|
+
o.isEdit ? (c(), O("div", {
|
|
1661
1661
|
key: 0,
|
|
1662
1662
|
style: le(v()),
|
|
1663
1663
|
class: se(w(r.value.fixed)),
|
|
1664
1664
|
onClick: g[3] || (g[3] = Pe((z) => _(l)(o.path), ["stop"]))
|
|
1665
1665
|
}, [
|
|
1666
|
-
m() ? (c(),
|
|
1666
|
+
m() ? (c(), O("div", {
|
|
1667
1667
|
key: 0,
|
|
1668
1668
|
class: "fe--widget-tool",
|
|
1669
1669
|
onClick: g[2] || (g[2] = Pe(() => {
|
|
@@ -1672,28 +1672,28 @@ const Wn = {
|
|
|
1672
1672
|
k("div", {
|
|
1673
1673
|
class: se(["fe--widget-tool-lt", { "fe-moving": !f() }])
|
|
1674
1674
|
}, [
|
|
1675
|
-
f() ? W("", !0) : (c(),
|
|
1676
|
-
s(
|
|
1675
|
+
f() ? W("", !0) : (c(), O("span", Wn, [
|
|
1676
|
+
s(E)
|
|
1677
1677
|
]))
|
|
1678
1678
|
], 2),
|
|
1679
|
-
f() ? W("", !0) : (c(),
|
|
1679
|
+
f() ? W("", !0) : (c(), O("div", qn, [
|
|
1680
1680
|
k("span", {
|
|
1681
1681
|
class: "fe--widget-tool-btn",
|
|
1682
1682
|
onClick: g[0] || (g[0] = (z) => _(a)(o.path))
|
|
1683
1683
|
}, [
|
|
1684
|
-
s(
|
|
1684
|
+
s(D)
|
|
1685
1685
|
]),
|
|
1686
|
-
_(d)(o.path).isDelete ? (c(),
|
|
1686
|
+
_(d)(o.path).isDelete ? (c(), O("span", {
|
|
1687
1687
|
key: 0,
|
|
1688
1688
|
class: "fe--widget-tool-btn",
|
|
1689
1689
|
onClick: g[1] || (g[1] = (z) => _(t)(o.path))
|
|
1690
1690
|
}, [
|
|
1691
|
-
s(
|
|
1691
|
+
s(F)
|
|
1692
1692
|
])) : W("", !0)
|
|
1693
1693
|
]))
|
|
1694
1694
|
])) : W("", !0),
|
|
1695
|
-
(c(),
|
|
1696
|
-
], 6)) : (c(),
|
|
1695
|
+
(c(), B(ye(_(Nt)(r.value.type)), Fe(nt(o)), null, 16))
|
|
1696
|
+
], 6)) : (c(), B(ye(_(Nt)(r.value.type)), Fe(M({ key: 1 }, o)), null, 16))
|
|
1697
1697
|
], 16)) : W("", !0);
|
|
1698
1698
|
};
|
|
1699
1699
|
}
|
|
@@ -1706,7 +1706,7 @@ const Wn = {
|
|
|
1706
1706
|
const o = e, { useDraggableOperation: u } = de(), t = K(), { onAddWidget: l, onUpdateWidget: n } = u(t), { children: a, config: i, models: d } = Ue();
|
|
1707
1707
|
return (r, f) => {
|
|
1708
1708
|
const m = b("AForm");
|
|
1709
|
-
return c(),
|
|
1709
|
+
return c(), B(m, {
|
|
1710
1710
|
class: "fe--widget-form",
|
|
1711
1711
|
model: _(d),
|
|
1712
1712
|
"label-col-props": { flex: _(i).labelWidth },
|
|
@@ -1723,7 +1723,7 @@ const Wn = {
|
|
|
1723
1723
|
}, [
|
|
1724
1724
|
s(_(Ne), M({
|
|
1725
1725
|
modelValue: _(a),
|
|
1726
|
-
"onUpdate:modelValue": f[0] || (f[0] = (C) =>
|
|
1726
|
+
"onUpdate:modelValue": f[0] || (f[0] = (C) => Ft(a) ? a.value = C : null),
|
|
1727
1727
|
class: { "fe--widget-content": !0, "fe--widget-list": !0, "fe--widget-list--border": o.isEdit },
|
|
1728
1728
|
disabled: !o.isEdit,
|
|
1729
1729
|
group: { name: "orchisky", put: !0 }
|
|
@@ -1732,9 +1732,9 @@ const Wn = {
|
|
|
1732
1732
|
onEnd: f[2] || (f[2] = (C) => _(n)(C))
|
|
1733
1733
|
}), {
|
|
1734
1734
|
item: p(({ element: C, index: v }) => [
|
|
1735
|
-
C && C.key ? (c(),
|
|
1735
|
+
C && C.key ? (c(), B(Ke, {
|
|
1736
1736
|
key: 0,
|
|
1737
|
-
path: _(
|
|
1737
|
+
path: _(xe)(null, v),
|
|
1738
1738
|
"is-edit": o.isEdit
|
|
1739
1739
|
}, null, 8, ["path", "is-edit"])) : W("", !0)
|
|
1740
1740
|
]),
|
|
@@ -1762,7 +1762,7 @@ function fo() {
|
|
|
1762
1762
|
const i = [], d = (r, f) => {
|
|
1763
1763
|
r.forEach((m, C) => {
|
|
1764
1764
|
var w;
|
|
1765
|
-
const v =
|
|
1765
|
+
const v = xe(f != null ? f : null, C);
|
|
1766
1766
|
m.model && i.push({ ...m, key: v, title: l(m) }), (w = m.children) != null && w.length && d(m.children, v);
|
|
1767
1767
|
});
|
|
1768
1768
|
};
|
|
@@ -1812,13 +1812,13 @@ const Nn = { class: "u-h u-card" }, Un = { class: "u-card__hd u-aside__hd" }, Kn
|
|
|
1812
1812
|
});
|
|
1813
1813
|
}
|
|
1814
1814
|
return (w, x) => {
|
|
1815
|
-
const
|
|
1816
|
-
return c(),
|
|
1815
|
+
const A = b("icon-desktop"), y = b("a-button"), g = b("icon-computer"), E = b("icon-drive-file"), D = b("icon-mobile"), F = b("a-space"), z = b("icon-save"), j = b("icon-eye"), T = b("icon-eraser"), oe = b("icon-right"), ce = b("a-link"), G = b("a-breadcrumb-item"), re = b("a-breadcrumb"), h = b("a-drawer");
|
|
1816
|
+
return c(), O("div", Nn, [
|
|
1817
1817
|
k("div", Un, [
|
|
1818
1818
|
k("div", Kn, [
|
|
1819
1819
|
k("div", Ln, [
|
|
1820
1820
|
H(w.$slots, "setWidthHeight", { setWidthHeight: r }, () => [
|
|
1821
|
-
s(
|
|
1821
|
+
s(F, { size: "mini" }, {
|
|
1822
1822
|
default: p(() => [
|
|
1823
1823
|
s(y, {
|
|
1824
1824
|
size: "mini",
|
|
@@ -1826,7 +1826,7 @@ const Nn = { class: "u-h u-card" }, Un = { class: "u-card__hd u-aside__hd" }, Kn
|
|
|
1826
1826
|
onClick: x[0] || (x[0] = (S) => f("Auto"))
|
|
1827
1827
|
}, {
|
|
1828
1828
|
icon: p(() => [
|
|
1829
|
-
s(
|
|
1829
|
+
s(A, { size: 14 })
|
|
1830
1830
|
]),
|
|
1831
1831
|
_: 1
|
|
1832
1832
|
}),
|
|
@@ -1846,7 +1846,7 @@ const Nn = { class: "u-h u-card" }, Un = { class: "u-card__hd u-aside__hd" }, Kn
|
|
|
1846
1846
|
onClick: x[2] || (x[2] = (S) => f("A4"))
|
|
1847
1847
|
}, {
|
|
1848
1848
|
icon: p(() => [
|
|
1849
|
-
s(
|
|
1849
|
+
s(E, { size: 14 })
|
|
1850
1850
|
]),
|
|
1851
1851
|
_: 1
|
|
1852
1852
|
}),
|
|
@@ -1856,7 +1856,7 @@ const Nn = { class: "u-h u-card" }, Un = { class: "u-card__hd u-aside__hd" }, Kn
|
|
|
1856
1856
|
onClick: x[3] || (x[3] = (S) => f("Mobile"))
|
|
1857
1857
|
}, {
|
|
1858
1858
|
icon: p(() => [
|
|
1859
|
-
s(
|
|
1859
|
+
s(D, { size: 14 })
|
|
1860
1860
|
]),
|
|
1861
1861
|
_: 1
|
|
1862
1862
|
})
|
|
@@ -1866,7 +1866,7 @@ const Nn = { class: "u-h u-card" }, Un = { class: "u-card__hd u-aside__hd" }, Kn
|
|
|
1866
1866
|
])
|
|
1867
1867
|
]),
|
|
1868
1868
|
k("div", null, [
|
|
1869
|
-
s(
|
|
1869
|
+
s(F, { size: "mini" }, {
|
|
1870
1870
|
default: p(() => [
|
|
1871
1871
|
s(y, {
|
|
1872
1872
|
size: "mini",
|
|
@@ -1930,9 +1930,9 @@ const Nn = { class: "u-h u-card" }, Un = { class: "u-card__hd u-aside__hd" }, Kn
|
|
|
1930
1930
|
]),
|
|
1931
1931
|
_: 1
|
|
1932
1932
|
}),
|
|
1933
|
-
(S = _(t)) != null && S.length ? (c(!0),
|
|
1933
|
+
(S = _(t)) != null && S.length ? (c(!0), O(Y, { key: 0 }, pe(_(t), (R, ue) => (c(), B(G, { key: ue }, {
|
|
1934
1934
|
default: p(() => [
|
|
1935
|
-
R ? (c(),
|
|
1935
|
+
R ? (c(), B(ce, {
|
|
1936
1936
|
key: 0,
|
|
1937
1937
|
onClick: (ie) => _(a)(R.path)
|
|
1938
1938
|
}, {
|
|
@@ -2005,10 +2005,10 @@ const Yn = { class: "u-card u-h" }, Zn = {
|
|
|
2005
2005
|
(i) => {
|
|
2006
2006
|
l.value = i;
|
|
2007
2007
|
}
|
|
2008
|
-
), (i, d) => (c(),
|
|
2008
|
+
), (i, d) => (c(), O("div", Yn, [
|
|
2009
2009
|
k("div", Zn, [
|
|
2010
2010
|
k("div", el, [
|
|
2011
|
-
(c(!0),
|
|
2011
|
+
(c(!0), O(Y, null, pe(t.list, (r, f) => (c(), O("div", {
|
|
2012
2012
|
key: f,
|
|
2013
2013
|
class: "u-tabs__item",
|
|
2014
2014
|
onClick: (m) => a(f)
|
|
@@ -2276,7 +2276,7 @@ const rl = { class: "u-nos" }, dl = {
|
|
|
2276
2276
|
};
|
|
2277
2277
|
return (l, n) => {
|
|
2278
2278
|
const a = b("icon-down"), i = b("icon-right");
|
|
2279
|
-
return c(),
|
|
2279
|
+
return c(), O("div", rl, [
|
|
2280
2280
|
k("div", {
|
|
2281
2281
|
class: "u-card__hd u-aside__hd",
|
|
2282
2282
|
style: le([{ borderBottomWidth: u.value ? "0px" : "1px" }, { "line-height": "36px", height: "36px", "border-bottom-color": "var(--color-neutral-2)" }])
|
|
@@ -2290,12 +2290,12 @@ const rl = { class: "u-nos" }, dl = {
|
|
|
2290
2290
|
style: { cursor: "pointer" },
|
|
2291
2291
|
onClick: n[0] || (n[0] = (d) => t())
|
|
2292
2292
|
}, [
|
|
2293
|
-
u.value ? (c(),
|
|
2293
|
+
u.value ? (c(), B(a, { key: 0 })) : (c(), B(i, { key: 1 }))
|
|
2294
2294
|
])
|
|
2295
2295
|
], 4),
|
|
2296
2296
|
s(Xt, null, {
|
|
2297
2297
|
default: p(() => [
|
|
2298
|
-
u.value ? (c(),
|
|
2298
|
+
u.value ? (c(), O("div", dl, [
|
|
2299
2299
|
H(l.$slots, "default")
|
|
2300
2300
|
])) : W("", !0)
|
|
2301
2301
|
]),
|
|
@@ -2314,7 +2314,7 @@ const rl = { class: "u-nos" }, dl = {
|
|
|
2314
2314
|
}
|
|
2315
2315
|
return (t, l) => {
|
|
2316
2316
|
const n = b("icon-drag-arrow"), a = b("a-button");
|
|
2317
|
-
return c(!0),
|
|
2317
|
+
return c(!0), O(Y, null, pe(u(), ({ title: i, children: d }, r) => (c(), B(Ye, {
|
|
2318
2318
|
key: r,
|
|
2319
2319
|
title: i,
|
|
2320
2320
|
"is-first": !r
|
|
@@ -2337,7 +2337,7 @@ const rl = { class: "u-nos" }, dl = {
|
|
|
2337
2337
|
size: "mini"
|
|
2338
2338
|
}, {
|
|
2339
2339
|
icon: p(() => [
|
|
2340
|
-
(c(),
|
|
2340
|
+
(c(), B(ye(f.icon), null, {
|
|
2341
2341
|
default: p(() => [
|
|
2342
2342
|
s(n)
|
|
2343
2343
|
]),
|
|
@@ -2372,22 +2372,22 @@ const pl = { key: 1 }, fl = {
|
|
|
2372
2372
|
const { widgetArray: o } = fo(), u = e, t = K(!1), { useWidgetOperation: l } = de(), { onSelected: n, hasSelected: a } = l();
|
|
2373
2373
|
return (i, d) => {
|
|
2374
2374
|
const r = b("icon-drag-arrow"), f = b("a-empty"), m = b("icon-right"), C = b("icon-left"), v = b("a-button");
|
|
2375
|
-
return c(),
|
|
2375
|
+
return c(), O("div", {
|
|
2376
2376
|
class: "fe--side u-page__side",
|
|
2377
2377
|
style: le({ width: t.value ? "0px" : "219px" })
|
|
2378
2378
|
}, [
|
|
2379
|
-
t.value ? W("", !0) : (c(),
|
|
2379
|
+
t.value ? W("", !0) : (c(), B(mo, {
|
|
2380
2380
|
key: 0,
|
|
2381
2381
|
list: ["\u7EC4\u4EF6\u5E93", "\u6570\u636E\u6E90"]
|
|
2382
2382
|
}, {
|
|
2383
2383
|
default: p(({ index: w }) => [
|
|
2384
|
-
w === 0 ? (c(),
|
|
2384
|
+
w === 0 ? (c(), B(cl, {
|
|
2385
2385
|
key: 0,
|
|
2386
2386
|
"module-config": u.moduleConfig
|
|
2387
|
-
}, null, 8, ["module-config"])) : w === 1 ? (c(),
|
|
2388
|
-
_(o).length ? (c(),
|
|
2389
|
-
(c(!0),
|
|
2390
|
-
key:
|
|
2387
|
+
}, null, 8, ["module-config"])) : w === 1 ? (c(), O("div", pl, [
|
|
2388
|
+
_(o).length ? (c(), O("div", fl, [
|
|
2389
|
+
(c(!0), O(Y, null, pe(_(o), (x, A) => (c(), O("div", {
|
|
2390
|
+
key: A,
|
|
2391
2391
|
class: se(["arco-tree-node arco-tree-node-is-leaf", {
|
|
2392
2392
|
"arco-tree-node-selected": _(a)(x.key)
|
|
2393
2393
|
}]),
|
|
@@ -2395,7 +2395,7 @@ const pl = { key: 1 }, fl = {
|
|
|
2395
2395
|
}, [
|
|
2396
2396
|
k("div", gl, [
|
|
2397
2397
|
k("div", _l, [
|
|
2398
|
-
(c(),
|
|
2398
|
+
(c(), B(ye(x.icon), null, {
|
|
2399
2399
|
default: p(() => [
|
|
2400
2400
|
s(r)
|
|
2401
2401
|
]),
|
|
@@ -2406,8 +2406,8 @@ const pl = { key: 1 }, fl = {
|
|
|
2406
2406
|
k("code", yl, Z(x.model), 1)
|
|
2407
2407
|
])
|
|
2408
2408
|
], 10, ml))), 128))
|
|
2409
|
-
])) : (c(),
|
|
2410
|
-
])) : (c(),
|
|
2409
|
+
])) : (c(), B(f, { key: 1 }))
|
|
2410
|
+
])) : (c(), B(f, { key: 2 }))
|
|
2411
2411
|
]),
|
|
2412
2412
|
_: 1
|
|
2413
2413
|
})),
|
|
@@ -2420,7 +2420,7 @@ const pl = { key: 1 }, fl = {
|
|
|
2420
2420
|
onClick: d[0] || (d[0] = (w) => t.value = !t.value)
|
|
2421
2421
|
}, {
|
|
2422
2422
|
icon: p(() => [
|
|
2423
|
-
t.value ? (c(),
|
|
2423
|
+
t.value ? (c(), B(m, { key: 0 })) : (c(), B(C, { key: 1 }))
|
|
2424
2424
|
]),
|
|
2425
2425
|
_: 1
|
|
2426
2426
|
}, 8, ["style"])
|
|
@@ -2447,18 +2447,18 @@ const pl = { key: 1 }, fl = {
|
|
|
2447
2447
|
n.value = l();
|
|
2448
2448
|
}), ee(n, (i) => u("update:model-value", i)), (i, d) => {
|
|
2449
2449
|
const r = b("AInputNumber"), f = b("AInput"), m = b("AFormItem");
|
|
2450
|
-
return c(),
|
|
2450
|
+
return c(), B(m, M({
|
|
2451
2451
|
field: i.field,
|
|
2452
2452
|
label: i.label
|
|
2453
2453
|
}, i.formProps), {
|
|
2454
2454
|
default: p(() => [
|
|
2455
|
-
typeof n.value == "number" ? (c(),
|
|
2455
|
+
typeof n.value == "number" ? (c(), B(r, M({
|
|
2456
2456
|
key: 0,
|
|
2457
2457
|
modelValue: n.value,
|
|
2458
2458
|
"onUpdate:modelValue": d[0] || (d[0] = (C) => n.value = C),
|
|
2459
2459
|
mode: "button",
|
|
2460
2460
|
size: "mini"
|
|
2461
|
-
}, i.elementProps), null, 16, ["modelValue"])) : (c(),
|
|
2461
|
+
}, i.elementProps), null, 16, ["modelValue"])) : (c(), B(f, M({
|
|
2462
2462
|
key: 1,
|
|
2463
2463
|
modelValue: n.value,
|
|
2464
2464
|
"onUpdate:modelValue": d[1] || (d[1] = (C) => n.value = C),
|
|
@@ -2489,7 +2489,7 @@ const pl = { key: 1 }, fl = {
|
|
|
2489
2489
|
n.value = l();
|
|
2490
2490
|
}), ee(n, (i) => u("update:model-value", i)), (i, d) => {
|
|
2491
2491
|
const r = b("AInputNumber"), f = b("AFormItem");
|
|
2492
|
-
return c(),
|
|
2492
|
+
return c(), B(f, M({
|
|
2493
2493
|
field: i.field,
|
|
2494
2494
|
label: i.label
|
|
2495
2495
|
}, i.formProps), {
|
|
@@ -2535,7 +2535,7 @@ const pl = { key: 1 }, fl = {
|
|
|
2535
2535
|
}
|
|
2536
2536
|
), ee([a, n], () => u("update:model-value", `${a.value}${n.value}`)), (i, d) => {
|
|
2537
2537
|
const r = b("AInput"), f = b("AInputNumber"), m = b("ASelect"), C = b("AInputGroup"), v = b("AFormItem");
|
|
2538
|
-
return c(),
|
|
2538
|
+
return c(), B(v, M({
|
|
2539
2539
|
field: i.field,
|
|
2540
2540
|
label: i.label
|
|
2541
2541
|
}, i.formProps), {
|
|
@@ -2543,12 +2543,12 @@ const pl = { key: 1 }, fl = {
|
|
|
2543
2543
|
N(Z(t.label), 1)
|
|
2544
2544
|
]),
|
|
2545
2545
|
default: p(() => [
|
|
2546
|
-
t.modelValue === "100%" ? (c(),
|
|
2546
|
+
t.modelValue === "100%" ? (c(), B(r, {
|
|
2547
2547
|
key: 0,
|
|
2548
2548
|
size: "mini",
|
|
2549
2549
|
disabled: "",
|
|
2550
2550
|
"model-value": "100%"
|
|
2551
|
-
})) : (c(),
|
|
2551
|
+
})) : (c(), B(C, { key: 1 }, {
|
|
2552
2552
|
default: p(() => [
|
|
2553
2553
|
s(f, M({
|
|
2554
2554
|
modelValue: a.value,
|
|
@@ -2593,7 +2593,7 @@ const pl = { key: 1 }, fl = {
|
|
|
2593
2593
|
n.value = l();
|
|
2594
2594
|
}), ee(n, (i) => u("update:model-value", i)), (i, d) => {
|
|
2595
2595
|
const r = b("ARadioGroup"), f = b("AFormItem");
|
|
2596
|
-
return c(),
|
|
2596
|
+
return c(), B(f, M({
|
|
2597
2597
|
field: i.field,
|
|
2598
2598
|
label: i.label
|
|
2599
2599
|
}, i.formProps), {
|
|
@@ -2629,7 +2629,7 @@ const pl = { key: 1 }, fl = {
|
|
|
2629
2629
|
n.value = l();
|
|
2630
2630
|
}), ee(n, (i) => u("update:model-value", i)), (i, d) => {
|
|
2631
2631
|
const r = b("ASelect"), f = b("AFormItem");
|
|
2632
|
-
return c(),
|
|
2632
|
+
return c(), B(f, M({
|
|
2633
2633
|
field: i.field,
|
|
2634
2634
|
label: i.label
|
|
2635
2635
|
}, i.formProps), {
|
|
@@ -2662,23 +2662,23 @@ const pl = { key: 1 }, fl = {
|
|
|
2662
2662
|
var a;
|
|
2663
2663
|
l.value = (a = { string: Kt, number: hl, px: wl, radio: Cl, select: Al }[u.elementType]) != null ? a : Kt;
|
|
2664
2664
|
}
|
|
2665
|
-
return qe(n), ee(() => u.elementType, n), (a, i) => l.value ? (c(),
|
|
2665
|
+
return qe(n), ee(() => u.elementType, n), (a, i) => l.value ? (c(), B(ye(l.value), M({ key: 0 }, u, {
|
|
2666
2666
|
"onUpdate:modelValue": i[0] || (i[0] = (d) => t("update:model-value", d))
|
|
2667
2667
|
}), null, 16)) : W("", !0);
|
|
2668
2668
|
}
|
|
2669
2669
|
}), El = /* @__PURE__ */ q({
|
|
2670
2670
|
__name: "panel",
|
|
2671
2671
|
setup(e) {
|
|
2672
|
-
const { getWidgetPanelProperty: o, getWidget: u, updateRootPathValue: t } = de(), { t: l } = Mo(), n = K(!1), a = K(0), { config: i, selectPath: d, models: r } = Ue(), f = (
|
|
2673
|
-
a.value =
|
|
2672
|
+
const { getWidgetPanelProperty: o, getWidget: u, updateRootPathValue: t } = de(), { t: l } = Mo(), n = K(!1), a = K(0), { config: i, selectPath: d, models: r } = Ue(), f = (A) => {
|
|
2673
|
+
a.value = A ? 0 : 1;
|
|
2674
2674
|
};
|
|
2675
2675
|
f(d.value);
|
|
2676
|
-
const m = U(() => u(d.value)), C = (
|
|
2677
|
-
m.value &&
|
|
2676
|
+
const m = U(() => u(d.value)), C = (A) => (y) => t(`${d.value}.${A}`, y), v = (A, y) => {
|
|
2677
|
+
m.value && A && (A === "defaultValue" && m.value.model && (r.value[m.value.model] = y), C(`options.${A}`)(y));
|
|
2678
2678
|
}, w = U(
|
|
2679
2679
|
() => {
|
|
2680
|
-
var
|
|
2681
|
-
return (
|
|
2680
|
+
var A;
|
|
2681
|
+
return (A = o({
|
|
2682
2682
|
optionsConfig: {
|
|
2683
2683
|
width: "px",
|
|
2684
2684
|
height: "px",
|
|
@@ -2693,11 +2693,11 @@ const pl = { key: 1 }, fl = {
|
|
|
2693
2693
|
}
|
|
2694
2694
|
},
|
|
2695
2695
|
options: i.value
|
|
2696
|
-
})) != null ?
|
|
2696
|
+
})) != null ? A : {};
|
|
2697
2697
|
}
|
|
2698
2698
|
), x = U(() => {
|
|
2699
|
-
const
|
|
2700
|
-
if (
|
|
2699
|
+
const A = o(m.value);
|
|
2700
|
+
if (A) {
|
|
2701
2701
|
const y = [
|
|
2702
2702
|
{
|
|
2703
2703
|
title: "\u57FA\u7840\u8BBE\u7F6E",
|
|
@@ -2711,7 +2711,7 @@ const pl = { key: 1 }, fl = {
|
|
|
2711
2711
|
sort: 2,
|
|
2712
2712
|
type: "boolean",
|
|
2713
2713
|
list: [],
|
|
2714
|
-
filterFunc: (g,
|
|
2714
|
+
filterFunc: (g, E) => E.type === "boolean"
|
|
2715
2715
|
},
|
|
2716
2716
|
{
|
|
2717
2717
|
title: "\u4F4D\u7F6E\u8BBE\u7F6E",
|
|
@@ -2726,23 +2726,23 @@ const pl = { key: 1 }, fl = {
|
|
|
2726
2726
|
},
|
|
2727
2727
|
{ title: "\u9AD8\u7EA7\u8BBE\u7F6E", sort: 9, list: [], filterFunc: (g) => !!g }
|
|
2728
2728
|
];
|
|
2729
|
-
return Object.keys(
|
|
2730
|
-
let
|
|
2731
|
-
const
|
|
2732
|
-
y.forEach((
|
|
2733
|
-
!
|
|
2729
|
+
return Object.keys(A).forEach((g) => {
|
|
2730
|
+
let E = !1;
|
|
2731
|
+
const D = A[g];
|
|
2732
|
+
y.forEach((F) => {
|
|
2733
|
+
!E && F.filterFunc(g, D) && (F.list.push(D), E = !0);
|
|
2734
2734
|
});
|
|
2735
|
-
}), [...y].filter((g) => typeof g.showFunc != "function" || g.showFunc()).sort((g,
|
|
2735
|
+
}), [...y].filter((g) => typeof g.showFunc != "function" || g.showFunc()).sort((g, E) => g.sort - E.sort).map((g) => (delete g.filterFunc, delete g.showFunc, g));
|
|
2736
2736
|
}
|
|
2737
2737
|
return null;
|
|
2738
2738
|
});
|
|
2739
|
-
return ee(d, f), (
|
|
2740
|
-
const g = b("AForm"),
|
|
2741
|
-
return c(),
|
|
2739
|
+
return ee(d, f), (A, y) => {
|
|
2740
|
+
const g = b("AForm"), E = b("a-checkbox"), D = b("a-space"), F = b("a-empty"), z = b("icon-right"), j = b("icon-left"), T = b("a-button");
|
|
2741
|
+
return c(), O("div", {
|
|
2742
2742
|
class: "u-page__panel fe--panels",
|
|
2743
2743
|
style: le({ width: n.value ? "0px" : "219px" })
|
|
2744
2744
|
}, [
|
|
2745
|
-
n.value ? W("", !0) : (c(),
|
|
2745
|
+
n.value ? W("", !0) : (c(), B(mo, {
|
|
2746
2746
|
key: 0,
|
|
2747
2747
|
"tab-index": a.value,
|
|
2748
2748
|
"onUpdate:tabIndex": y[2] || (y[2] = (oe) => a.value = oe),
|
|
@@ -2751,7 +2751,7 @@ const pl = { key: 1 }, fl = {
|
|
|
2751
2751
|
default: p(({ index: oe }) => {
|
|
2752
2752
|
var ce;
|
|
2753
2753
|
return [
|
|
2754
|
-
oe ? (c(),
|
|
2754
|
+
oe ? (c(), B(Ye, {
|
|
2755
2755
|
key: 0,
|
|
2756
2756
|
title: "\u5168\u5C40\u5C5E\u6027"
|
|
2757
2757
|
}, {
|
|
@@ -2761,14 +2761,14 @@ const pl = { key: 1 }, fl = {
|
|
|
2761
2761
|
layout: "vertical"
|
|
2762
2762
|
}, {
|
|
2763
2763
|
default: p(() => [
|
|
2764
|
-
(c(!0),
|
|
2765
|
-
G.show ? (c(),
|
|
2764
|
+
(c(!0), O(Y, null, pe(w.value, (G, re) => (c(), O(Y, { key: re }, [
|
|
2765
|
+
G.show ? (c(), B(je, {
|
|
2766
2766
|
key: 0,
|
|
2767
2767
|
"model-value": _(i)[re],
|
|
2768
2768
|
type: G.type,
|
|
2769
2769
|
"element-type": G.type,
|
|
2770
2770
|
"element-props": { options: G.options },
|
|
2771
|
-
label:
|
|
2771
|
+
label: A.$t(`fe.config.${re}`),
|
|
2772
2772
|
"onUpdate:modelValue": (h) => _(i)[re] = h
|
|
2773
2773
|
}, null, 8, ["model-value", "type", "element-type", "element-props", "label", "onUpdate:modelValue"])) : W("", !0)
|
|
2774
2774
|
], 64))), 128))
|
|
@@ -2777,23 +2777,23 @@ const pl = { key: 1 }, fl = {
|
|
|
2777
2777
|
}, 8, ["model"])
|
|
2778
2778
|
]),
|
|
2779
2779
|
_: 1
|
|
2780
|
-
})) : (c(),
|
|
2781
|
-
(ce = m.value) != null && ce.options ? (c(),
|
|
2780
|
+
})) : (c(), O(Y, { key: 1 }, [
|
|
2781
|
+
(ce = m.value) != null && ce.options ? (c(), B(g, {
|
|
2782
2782
|
key: 0,
|
|
2783
2783
|
model: m.value,
|
|
2784
2784
|
layout: "vertical"
|
|
2785
2785
|
}, {
|
|
2786
2786
|
default: p(() => [
|
|
2787
|
-
(c(!0),
|
|
2788
|
-
G.list.length || G.type === "base" ? (c(),
|
|
2789
|
-
G.type === "boolean" ? (c(),
|
|
2787
|
+
(c(!0), O(Y, null, pe(x.value, (G, re) => (c(), O(Y, { key: re }, [
|
|
2788
|
+
G.list.length || G.type === "base" ? (c(), O(Y, { key: 0 }, [
|
|
2789
|
+
G.type === "boolean" ? (c(), B(Ye, {
|
|
2790
2790
|
key: 0,
|
|
2791
2791
|
title: G.title
|
|
2792
2792
|
}, {
|
|
2793
2793
|
default: p(() => [
|
|
2794
|
-
s(
|
|
2794
|
+
s(D, { wrap: "" }, {
|
|
2795
2795
|
default: p(() => [
|
|
2796
|
-
(c(!0),
|
|
2796
|
+
(c(!0), O(Y, null, pe(G.list, (h) => (c(), B(E, {
|
|
2797
2797
|
key: h.model,
|
|
2798
2798
|
"model-value": m.value.options[h.model],
|
|
2799
2799
|
"onUpdate:modelValue": (S) => C(`options.${h.model}`)(S)
|
|
@@ -2808,12 +2808,12 @@ const pl = { key: 1 }, fl = {
|
|
|
2808
2808
|
}, 1024)
|
|
2809
2809
|
]),
|
|
2810
2810
|
_: 2
|
|
2811
|
-
}, 1032, ["title"])) : (c(),
|
|
2811
|
+
}, 1032, ["title"])) : (c(), B(Ye, {
|
|
2812
2812
|
key: 1,
|
|
2813
2813
|
title: G.title
|
|
2814
2814
|
}, {
|
|
2815
2815
|
default: p(() => [
|
|
2816
|
-
G.type === "base" ? (c(),
|
|
2816
|
+
G.type === "base" ? (c(), O(Y, { key: 0 }, [
|
|
2817
2817
|
s(je, {
|
|
2818
2818
|
"model-value": m.value.type,
|
|
2819
2819
|
field: "type",
|
|
@@ -2828,7 +2828,7 @@ const pl = { key: 1 }, fl = {
|
|
|
2828
2828
|
label: "\u6807\u9898",
|
|
2829
2829
|
"onUpdate:modelValue": y[0] || (y[0] = (h) => C("name")(h))
|
|
2830
2830
|
}, null, 8, ["model-value"]),
|
|
2831
|
-
m.value.category === "basic" ? (c(),
|
|
2831
|
+
m.value.category === "basic" ? (c(), B(je, {
|
|
2832
2832
|
key: 0,
|
|
2833
2833
|
"model-value": m.value.model,
|
|
2834
2834
|
field: "model",
|
|
@@ -2838,7 +2838,7 @@ const pl = { key: 1 }, fl = {
|
|
|
2838
2838
|
"onUpdate:modelValue": y[1] || (y[1] = (h) => C("model")(h))
|
|
2839
2839
|
}, null, 8, ["model-value"])) : W("", !0)
|
|
2840
2840
|
], 64)) : W("", !0),
|
|
2841
|
-
(c(!0),
|
|
2841
|
+
(c(!0), O(Y, null, pe(G.list, (h, S) => (c(), B(je, {
|
|
2842
2842
|
key: S,
|
|
2843
2843
|
label: _(l)(`fe.panel.${h.model}`),
|
|
2844
2844
|
"model-value": m.value.options[h.model],
|
|
@@ -2853,7 +2853,7 @@ const pl = { key: 1 }, fl = {
|
|
|
2853
2853
|
], 64))), 128))
|
|
2854
2854
|
]),
|
|
2855
2855
|
_: 1
|
|
2856
|
-
}, 8, ["model"])) : (c(), F
|
|
2856
|
+
}, 8, ["model"])) : (c(), B(F, { key: 1 }))
|
|
2857
2857
|
], 64))
|
|
2858
2858
|
];
|
|
2859
2859
|
}),
|
|
@@ -2868,7 +2868,7 @@ const pl = { key: 1 }, fl = {
|
|
|
2868
2868
|
onClick: y[3] || (y[3] = (oe) => n.value = !n.value)
|
|
2869
2869
|
}, {
|
|
2870
2870
|
icon: p(() => [
|
|
2871
|
-
n.value ? (c(),
|
|
2871
|
+
n.value ? (c(), B(j, { key: 1 })) : (c(), B(z, { key: 0 }))
|
|
2872
2872
|
]),
|
|
2873
2873
|
_: 1
|
|
2874
2874
|
}, 8, ["style"])
|
|
@@ -2876,10 +2876,10 @@ const pl = { key: 1 }, fl = {
|
|
|
2876
2876
|
};
|
|
2877
2877
|
}
|
|
2878
2878
|
});
|
|
2879
|
-
const
|
|
2879
|
+
const Fl = {
|
|
2880
2880
|
key: 0,
|
|
2881
2881
|
class: "u-aside"
|
|
2882
|
-
},
|
|
2882
|
+
}, xl = { class: "u-page u-page--row" }, kl = {
|
|
2883
2883
|
class: "u-main",
|
|
2884
2884
|
style: { padding: "0" }
|
|
2885
2885
|
}, Bl = /* @__PURE__ */ q({
|
|
@@ -2913,8 +2913,8 @@ const xl = {
|
|
|
2913
2913
|
function l(n) {
|
|
2914
2914
|
t.readonly || u("save", n);
|
|
2915
2915
|
}
|
|
2916
|
-
return (n, a) => t.readonly ? (c(),
|
|
2917
|
-
k("div",
|
|
2916
|
+
return (n, a) => t.readonly ? (c(), B(yt, { key: 1 })) : (c(), O("div", Fl, [
|
|
2917
|
+
k("div", xl, [
|
|
2918
2918
|
s(bl, {
|
|
2919
2919
|
"module-config": t.moduleConfig
|
|
2920
2920
|
}, null, 8, ["module-config"]),
|
|
@@ -2995,7 +2995,7 @@ const xl = {
|
|
|
2995
2995
|
width: "px",
|
|
2996
2996
|
left: "px",
|
|
2997
2997
|
top: "px"
|
|
2998
|
-
},
|
|
2998
|
+
}, Ol = {
|
|
2999
2999
|
title: "\u57FA\u7840\u5B57\u6BB5",
|
|
3000
3000
|
order: 1,
|
|
3001
3001
|
children: [
|
|
@@ -3053,9 +3053,9 @@ const xl = {
|
|
|
3053
3053
|
optionsConfig: ct
|
|
3054
3054
|
}
|
|
3055
3055
|
]
|
|
3056
|
-
},
|
|
3056
|
+
}, Dl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3057
3057
|
__proto__: null,
|
|
3058
|
-
default:
|
|
3058
|
+
default: Ol
|
|
3059
3059
|
}, Symbol.toStringTag, { value: "Module" })), zl = {
|
|
3060
3060
|
title: "\u6761\u5F62\u7801",
|
|
3061
3061
|
order: 7,
|
|
@@ -3132,7 +3132,7 @@ const xl = {
|
|
|
3132
3132
|
}, Pl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3133
3133
|
__proto__: null,
|
|
3134
3134
|
default: zl
|
|
3135
|
-
}, Symbol.toStringTag, { value: "Module" })), Lt = /* @__PURE__ */ Object.assign({ "./module/assist.ts": Sl, "./module/base.ts":
|
|
3135
|
+
}, Symbol.toStringTag, { value: "Module" })), Lt = /* @__PURE__ */ Object.assign({ "./module/assist.ts": Sl, "./module/base.ts": Dl, "./module/bwip.ts": Pl }), St = [];
|
|
3136
3136
|
Object.keys(Lt).forEach((e) => {
|
|
3137
3137
|
const o = Lt[e].default;
|
|
3138
3138
|
o && St.push(o);
|
|
@@ -3147,7 +3147,7 @@ const ri = /* @__PURE__ */ q({
|
|
|
3147
3147
|
var t, l, n, a;
|
|
3148
3148
|
return (a = (n = (l = (t = u.value) == null ? void 0 : t.$el) == null ? void 0 : l.nextElementSibling) == null ? void 0 : n.innerHTML) != null ? a : "";
|
|
3149
3149
|
}
|
|
3150
|
-
}), (t, l) => (c(),
|
|
3150
|
+
}), (t, l) => (c(), B(_(Bl), M({
|
|
3151
3151
|
ref_key: "ref$",
|
|
3152
3152
|
ref: u,
|
|
3153
3153
|
"module-config": _(St)
|
|
@@ -3165,8 +3165,8 @@ const lt = (e, o) => {
|
|
|
3165
3165
|
}, Vl = {};
|
|
3166
3166
|
function Rl(e, o) {
|
|
3167
3167
|
const u = b("a-date-picker"), t = b("a-range-picker");
|
|
3168
|
-
return c(),
|
|
3169
|
-
e.$attrs.multiple !== !0 ? (c(),
|
|
3168
|
+
return c(), O("div", null, [
|
|
3169
|
+
e.$attrs.multiple !== !0 ? (c(), B(u, Fe(M({ key: 0 }, e.$attrs)), null, 16)) : (c(), B(t, Fe(M({ key: 1 }, e.$attrs)), null, 16))
|
|
3170
3170
|
]);
|
|
3171
3171
|
}
|
|
3172
3172
|
const jl = /* @__PURE__ */ lt(Vl, [["render", Rl]]), Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -3175,7 +3175,7 @@ const jl = /* @__PURE__ */ lt(Vl, [["render", Rl]]), Ml = /* @__PURE__ */ Object
|
|
|
3175
3175
|
}, Symbol.toStringTag, { value: "Module" })), Tl = {};
|
|
3176
3176
|
function Il(e, o) {
|
|
3177
3177
|
const u = b("a-input");
|
|
3178
|
-
return c(),
|
|
3178
|
+
return c(), B(u, Fe(nt(e.$attrs)), null, 16);
|
|
3179
3179
|
}
|
|
3180
3180
|
const bt = /* @__PURE__ */ lt(Tl, [["render", Il]]), Wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3181
3181
|
__proto__: null,
|
|
@@ -3199,8 +3199,8 @@ const bt = /* @__PURE__ */ lt(Tl, [["render", Il]]), Wl = /* @__PURE__ */ Object
|
|
|
3199
3199
|
const a = U(() => n(0)), i = U(() => n(1));
|
|
3200
3200
|
return (d, r) => {
|
|
3201
3201
|
const f = b("a-input-number");
|
|
3202
|
-
return c(),
|
|
3203
|
-
e.multiple === !0 ? (c(),
|
|
3202
|
+
return c(), O("span", null, [
|
|
3203
|
+
e.multiple === !0 ? (c(), O("div", ql, [
|
|
3204
3204
|
s(f, M(d.$attrs, {
|
|
3205
3205
|
style: { width: "auto" },
|
|
3206
3206
|
"model-value": a.value,
|
|
@@ -3215,7 +3215,7 @@ const bt = /* @__PURE__ */ lt(Tl, [["render", Il]]), Wl = /* @__PURE__ */ Object
|
|
|
3215
3215
|
"model-value": i.value,
|
|
3216
3216
|
"onUpdate:modelValue": r[1] || (r[1] = (m) => u("update:model-value", [a.value, m]))
|
|
3217
3217
|
}), null, 16, ["model-value"])
|
|
3218
|
-
])) : (c(),
|
|
3218
|
+
])) : (c(), B(f, M({ key: 1 }, d.$attrs, {
|
|
3219
3219
|
"model-value": Number(t.modelValue),
|
|
3220
3220
|
"onUpdate:modelValue": r[2] || (r[2] = (m) => u("update:model-value", m))
|
|
3221
3221
|
}), null, 16, ["model-value"]))
|
|
@@ -3228,7 +3228,7 @@ const bt = /* @__PURE__ */ lt(Tl, [["render", Il]]), Wl = /* @__PURE__ */ Object
|
|
|
3228
3228
|
}, Symbol.toStringTag, { value: "Module" })), Kl = {};
|
|
3229
3229
|
function Ll(e, o) {
|
|
3230
3230
|
const u = b("a-select");
|
|
3231
|
-
return c(),
|
|
3231
|
+
return c(), B(u, M(e.$attrs, { "trigger-props": { autoFitPopupMinWidth: !0, contentClass: "arco-trigger-content-size-small" } }), null, 16);
|
|
3232
3232
|
}
|
|
3233
3233
|
const Hl = /* @__PURE__ */ lt(Kl, [["render", Ll]]), Gl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3234
3234
|
__proto__: null,
|
|
@@ -3277,13 +3277,13 @@ const Ql = { class: "u-flex u-flex--start" }, Xl = { class: "u-flex__item" }, Yl
|
|
|
3277
3277
|
return Object.assign([], t.options).map(Ze);
|
|
3278
3278
|
}
|
|
3279
3279
|
function a() {
|
|
3280
|
-
return n().filter((
|
|
3280
|
+
return n().filter((F) => F.show !== !1);
|
|
3281
3281
|
}
|
|
3282
3282
|
function i() {
|
|
3283
|
-
const
|
|
3283
|
+
const F = {};
|
|
3284
3284
|
return a().forEach((z) => {
|
|
3285
|
-
|
|
3286
|
-
}),
|
|
3285
|
+
F[z.name] = Ze(z).defaultValue;
|
|
3286
|
+
}), F;
|
|
3287
3287
|
}
|
|
3288
3288
|
const d = U(() => t.size), r = K({ ...i(), ...t.modelValue });
|
|
3289
3289
|
function f() {
|
|
@@ -3296,31 +3296,31 @@ const Ql = { class: "u-flex u-flex--start" }, Xl = { class: "u-flex__item" }, Yl
|
|
|
3296
3296
|
function v() {
|
|
3297
3297
|
m.value.push({ type: "input", name: "", label: "" });
|
|
3298
3298
|
}
|
|
3299
|
-
function w(
|
|
3300
|
-
m.value.splice(
|
|
3299
|
+
function w(F, z) {
|
|
3300
|
+
m.value.splice(F, 1), delete r.value[z];
|
|
3301
3301
|
}
|
|
3302
3302
|
const x = K(!1);
|
|
3303
|
-
function
|
|
3303
|
+
function A() {
|
|
3304
3304
|
l.value && l.value.clearValidate();
|
|
3305
3305
|
}
|
|
3306
3306
|
function y() {
|
|
3307
3307
|
x.value = !0, m.value = a(), r.value = { ...i(), ...t.modelValue }, setTimeout(() => {
|
|
3308
|
-
|
|
3308
|
+
A(), x.value = !1;
|
|
3309
3309
|
}, 200);
|
|
3310
3310
|
}
|
|
3311
|
-
const g = U(() => n().map((
|
|
3312
|
-
label:
|
|
3313
|
-
value:
|
|
3314
|
-
disabled: C().some((z) => z.name ===
|
|
3311
|
+
const g = U(() => n().map((F) => ({
|
|
3312
|
+
label: F.label,
|
|
3313
|
+
value: F.name,
|
|
3314
|
+
disabled: C().some((z) => z.name === F.name)
|
|
3315
3315
|
})));
|
|
3316
|
-
function
|
|
3316
|
+
function E(F, z) {
|
|
3317
3317
|
const j = n().find((T) => T.name === z);
|
|
3318
|
-
j && (m.value[
|
|
3318
|
+
j && (m.value[F] = Ze(j), r.value[j.name] = m.value[F].defaultValue), r.value = ao(
|
|
3319
3319
|
r.value,
|
|
3320
3320
|
C().map((T) => T.name)
|
|
3321
|
-
),
|
|
3321
|
+
), A();
|
|
3322
3322
|
}
|
|
3323
|
-
async function
|
|
3323
|
+
async function D() {
|
|
3324
3324
|
l.value && await new Promise((z) => {
|
|
3325
3325
|
var j;
|
|
3326
3326
|
(j = l.value) == null || j.validate((T) => {
|
|
@@ -3336,12 +3336,12 @@ const Ql = { class: "u-flex u-flex--start" }, Xl = { class: "u-flex__item" }, Yl
|
|
|
3336
3336
|
}, {})
|
|
3337
3337
|
);
|
|
3338
3338
|
}
|
|
3339
|
-
return (
|
|
3339
|
+
return (F, z) => {
|
|
3340
3340
|
const j = b("icon-refresh"), T = b("a-button"), oe = b("a-select"), ce = b("a-form-item"), G = b("icon-plus-circle"), re = b("icon-delete"), h = b("a-space"), S = b("a-input-group"), R = b("icon-search"), ue = b("a-form");
|
|
3341
|
-
return c(),
|
|
3341
|
+
return c(), O("div", {
|
|
3342
3342
|
class: se(f())
|
|
3343
3343
|
}, [
|
|
3344
|
-
H(
|
|
3344
|
+
H(F.$slots, "head"),
|
|
3345
3345
|
k("div", Ql, [
|
|
3346
3346
|
k("div", Xl, [
|
|
3347
3347
|
s(h, {
|
|
@@ -3349,7 +3349,7 @@ const Ql = { class: "u-flex u-flex--start" }, Xl = { class: "u-flex__item" }, Yl
|
|
|
3349
3349
|
align: "start"
|
|
3350
3350
|
}, {
|
|
3351
3351
|
default: p(() => [
|
|
3352
|
-
t.readonly ? W("", !0) : (c(),
|
|
3352
|
+
t.readonly ? W("", !0) : (c(), B(T, {
|
|
3353
3353
|
key: 0,
|
|
3354
3354
|
type: "outline",
|
|
3355
3355
|
class: "arco-btn-light",
|
|
@@ -3374,17 +3374,17 @@ const Ql = { class: "u-flex u-flex--start" }, Xl = { class: "u-flex__item" }, Yl
|
|
|
3374
3374
|
wrap: ""
|
|
3375
3375
|
}, {
|
|
3376
3376
|
default: p(() => [
|
|
3377
|
-
(c(!0),
|
|
3377
|
+
(c(!0), O(Y, null, pe(m.value, (ie, Ce) => (c(), B(S, {
|
|
3378
3378
|
key: Ce,
|
|
3379
3379
|
size: d.value
|
|
3380
3380
|
}, {
|
|
3381
3381
|
default: p(() => [
|
|
3382
3382
|
s(h, { size: 1 }, {
|
|
3383
3383
|
default: p(() => [
|
|
3384
|
-
t.readonly ? (c(),
|
|
3384
|
+
t.readonly ? (c(), O("div", {
|
|
3385
3385
|
key: 1,
|
|
3386
3386
|
style: le({ width: t.labelWidth })
|
|
3387
|
-
}, Z(ie.label), 5)) : (c(),
|
|
3387
|
+
}, Z(ie.label), 5)) : (c(), B(oe, {
|
|
3388
3388
|
key: 0,
|
|
3389
3389
|
"model-value": ie.name,
|
|
3390
3390
|
options: g.value,
|
|
@@ -3393,7 +3393,7 @@ const Ql = { class: "u-flex u-flex--start" }, Xl = { class: "u-flex__item" }, Yl
|
|
|
3393
3393
|
"allow-search": "",
|
|
3394
3394
|
size: d.value,
|
|
3395
3395
|
"trigger-props": { autoFitPopupMinWidth: !0, contentClass: "arco-trigger-content-size-small" },
|
|
3396
|
-
onChange: (he) =>
|
|
3396
|
+
onChange: (he) => E(Ce, he)
|
|
3397
3397
|
}, null, 8, ["model-value", "options", "style", "size", "onChange"])),
|
|
3398
3398
|
s(ce, {
|
|
3399
3399
|
"no-style": "",
|
|
@@ -3403,7 +3403,7 @@ const Ql = { class: "u-flex u-flex--start" }, Xl = { class: "u-flex__item" }, Yl
|
|
|
3403
3403
|
rules: ie.rules
|
|
3404
3404
|
}, {
|
|
3405
3405
|
default: p(() => [
|
|
3406
|
-
(c(),
|
|
3406
|
+
(c(), B(ye(_(Jl)(ie.type)), M({
|
|
3407
3407
|
modelValue: r.value[ie.name],
|
|
3408
3408
|
"onUpdate:modelValue": (he) => r.value[ie.name] = he,
|
|
3409
3409
|
size: d.value,
|
|
@@ -3413,13 +3413,13 @@ const Ql = { class: "u-flex u-flex--start" }, Xl = { class: "u-flex__item" }, Yl
|
|
|
3413
3413
|
"allow-clear": "",
|
|
3414
3414
|
ref_for: !0
|
|
3415
3415
|
}, _(kt)(ie, ["label", "defaultValue", "type", "show"]), {
|
|
3416
|
-
onPressEnter: z[1] || (z[1] = (he) =>
|
|
3416
|
+
onPressEnter: z[1] || (z[1] = (he) => D())
|
|
3417
3417
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "size", "style", "readonly"]))
|
|
3418
3418
|
]),
|
|
3419
3419
|
_: 2
|
|
3420
3420
|
}, 1032, ["field", "label", "required", "rules"]),
|
|
3421
|
-
t.readonly ? W("", !0) : (c(),
|
|
3422
|
-
Ce ? (c(),
|
|
3421
|
+
t.readonly ? W("", !0) : (c(), O(Y, { key: 2 }, [
|
|
3422
|
+
Ce ? (c(), B(T, {
|
|
3423
3423
|
key: 1,
|
|
3424
3424
|
type: "primary",
|
|
3425
3425
|
class: "arco-btn-light",
|
|
@@ -3431,7 +3431,7 @@ const Ql = { class: "u-flex u-flex--start" }, Xl = { class: "u-flex__item" }, Yl
|
|
|
3431
3431
|
s(re)
|
|
3432
3432
|
]),
|
|
3433
3433
|
_: 2
|
|
3434
|
-
}, 1032, ["size", "onClick"])) : (c(),
|
|
3434
|
+
}, 1032, ["size", "onClick"])) : (c(), B(T, {
|
|
3435
3435
|
key: 0,
|
|
3436
3436
|
type: "primary",
|
|
3437
3437
|
class: "arco-btn-light",
|
|
@@ -3451,7 +3451,7 @@ const Ql = { class: "u-flex u-flex--start" }, Xl = { class: "u-flex__item" }, Yl
|
|
|
3451
3451
|
]),
|
|
3452
3452
|
_: 2
|
|
3453
3453
|
}, 1032, ["size"]))), 128)),
|
|
3454
|
-
H(
|
|
3454
|
+
H(F.$slots, "default"),
|
|
3455
3455
|
s(h, { size: d.value }, {
|
|
3456
3456
|
default: p(() => [
|
|
3457
3457
|
s(T, {
|
|
@@ -3459,7 +3459,7 @@ const Ql = { class: "u-flex u-flex--start" }, Xl = { class: "u-flex__item" }, Yl
|
|
|
3459
3459
|
loading: t.loading,
|
|
3460
3460
|
title: "\u641C\u7D22",
|
|
3461
3461
|
size: d.value,
|
|
3462
|
-
onClick: z[3] || (z[3] = (ie) =>
|
|
3462
|
+
onClick: z[3] || (z[3] = (ie) => D())
|
|
3463
3463
|
}, {
|
|
3464
3464
|
icon: p(() => [
|
|
3465
3465
|
s(R)
|
|
@@ -3554,7 +3554,7 @@ const Zl = {
|
|
|
3554
3554
|
}));
|
|
3555
3555
|
}), Ct(() => {
|
|
3556
3556
|
n = null;
|
|
3557
|
-
}), (d, r) => (c(),
|
|
3557
|
+
}), (d, r) => (c(), O("div", {
|
|
3558
3558
|
ref_key: "divRef",
|
|
3559
3559
|
ref: l
|
|
3560
3560
|
}, null, 512));
|
|
@@ -3624,11 +3624,11 @@ const _o = /* @__PURE__ */ q({
|
|
|
3624
3624
|
function x(h) {
|
|
3625
3625
|
return h.model ? C.value[h.model] : h.show !== !1;
|
|
3626
3626
|
}
|
|
3627
|
-
function
|
|
3627
|
+
function A() {
|
|
3628
3628
|
const h = n(v.value);
|
|
3629
3629
|
a("update:modelValue", { ...r(), ...h });
|
|
3630
3630
|
}
|
|
3631
|
-
|
|
3631
|
+
A();
|
|
3632
3632
|
function y(h) {
|
|
3633
3633
|
if (h.customClass)
|
|
3634
3634
|
return typeof h.customClass == "function" ? h.customClass(h, v.value) : h;
|
|
@@ -3648,16 +3648,16 @@ const _o = /* @__PURE__ */ q({
|
|
|
3648
3648
|
f.value[h] = S;
|
|
3649
3649
|
},
|
|
3650
3650
|
setModel(h, S) {
|
|
3651
|
-
!h || (typeof h == "string" ? v.value[h] = S : v.value = { ...v.value, ...h },
|
|
3651
|
+
!h || (typeof h == "string" ? v.value[h] = S : v.value = { ...v.value, ...h }, A());
|
|
3652
3652
|
},
|
|
3653
3653
|
setShow(h, S) {
|
|
3654
3654
|
(Array.isArray(h) ? h : [h]).forEach((ue) => {
|
|
3655
3655
|
C.value[ue] = S;
|
|
3656
3656
|
});
|
|
3657
3657
|
}
|
|
3658
|
-
},
|
|
3658
|
+
}, E = (h) => ({ ...g, model: h.model, ...h.events }), D = ({ options: h }) => t.disabled || !!(h != null && h.disabled), F = (h) => {
|
|
3659
3659
|
const { options: S, rules: R, name: ue } = h;
|
|
3660
|
-
return typeof R == "function" ? R({ ...h },
|
|
3660
|
+
return typeof R == "function" ? R({ ...h }, E(h)) : R || (S != null && S.required ? [{ required: !0, message: `\u8BF7\u8F93\u5165${ue}` }] : []);
|
|
3661
3661
|
}, { setModel: z, setModelOption: j } = g;
|
|
3662
3662
|
function T(h) {
|
|
3663
3663
|
return (S) => z(h, S);
|
|
@@ -3668,7 +3668,7 @@ const _o = /* @__PURE__ */ q({
|
|
|
3668
3668
|
const ue = S[R];
|
|
3669
3669
|
if (typeof ue == "function")
|
|
3670
3670
|
try {
|
|
3671
|
-
S[R] = ue(v.value,
|
|
3671
|
+
S[R] = ue(v.value, E(h));
|
|
3672
3672
|
} catch {
|
|
3673
3673
|
}
|
|
3674
3674
|
}), S;
|
|
@@ -3677,7 +3677,7 @@ const _o = /* @__PURE__ */ q({
|
|
|
3677
3677
|
t.config.forEach(async (h) => {
|
|
3678
3678
|
var S;
|
|
3679
3679
|
if (typeof ((S = h == null ? void 0 : h.events) == null ? void 0 : S.onMounted) == "function") {
|
|
3680
|
-
const R = await h.events.onMounted(
|
|
3680
|
+
const R = await h.events.onMounted(E(h));
|
|
3681
3681
|
R && h.model && j(h.model, R);
|
|
3682
3682
|
}
|
|
3683
3683
|
});
|
|
@@ -3696,7 +3696,7 @@ const _o = /* @__PURE__ */ q({
|
|
|
3696
3696
|
);
|
|
3697
3697
|
async function G(h, S) {
|
|
3698
3698
|
var R;
|
|
3699
|
-
typeof ((R = S.events) == null ? void 0 : R.onChange) == "function" && await S.events.onChange(h,
|
|
3699
|
+
typeof ((R = S.events) == null ? void 0 : R.onChange) == "function" && await S.events.onChange(h, E(S));
|
|
3700
3700
|
}
|
|
3701
3701
|
async function re() {
|
|
3702
3702
|
return new Promise((h) => {
|
|
@@ -3721,7 +3721,7 @@ const _o = /* @__PURE__ */ q({
|
|
|
3721
3721
|
}
|
|
3722
3722
|
}), (h, S) => {
|
|
3723
3723
|
const R = b("a-form-item"), ue = b("a-col"), ie = b("a-row"), Ce = b("icon-save"), he = b("a-button"), Ae = b("a-space"), me = b("a-form");
|
|
3724
|
-
return c(),
|
|
3724
|
+
return c(), B(me, M({
|
|
3725
3725
|
ref_key: "formRef",
|
|
3726
3726
|
ref: i,
|
|
3727
3727
|
model: _(v),
|
|
@@ -3735,10 +3735,10 @@ const _o = /* @__PURE__ */ q({
|
|
|
3735
3735
|
gutter: t.gutter
|
|
3736
3736
|
}, {
|
|
3737
3737
|
default: p(() => [
|
|
3738
|
-
(c(!0),
|
|
3738
|
+
(c(!0), O(Y, null, pe(t.config, (L, Le) => {
|
|
3739
3739
|
var Se, He;
|
|
3740
|
-
return c(),
|
|
3741
|
-
x(L) ? (c(),
|
|
3740
|
+
return c(), O(Y, { key: Le }, [
|
|
3741
|
+
x(L) ? (c(), B(ue, M({
|
|
3742
3742
|
key: 0,
|
|
3743
3743
|
ref_for: !0
|
|
3744
3744
|
}, t.grid, {
|
|
@@ -3753,8 +3753,8 @@ const _o = /* @__PURE__ */ q({
|
|
|
3753
3753
|
"row-class": y(L),
|
|
3754
3754
|
label: L.name,
|
|
3755
3755
|
"validate-trigger": L.validateTrigger,
|
|
3756
|
-
rules:
|
|
3757
|
-
disabled:
|
|
3756
|
+
rules: F(L),
|
|
3757
|
+
disabled: D(L),
|
|
3758
3758
|
help: (Ge = L.options) == null ? void 0 : Ge.help,
|
|
3759
3759
|
tooltip: (Je = L.options) == null ? void 0 : Je.tooltip,
|
|
3760
3760
|
"label-col-flex": t.labelWidth,
|
|
@@ -3767,15 +3767,15 @@ const _o = /* @__PURE__ */ q({
|
|
|
3767
3767
|
componentAttr: oe(L),
|
|
3768
3768
|
ref_for: !0
|
|
3769
3769
|
}, { ...L.model ? { value: _(v)[L.model], setValue: T(L.model), options: _(f)[L.model] } : {} }, {
|
|
3770
|
-
disabled:
|
|
3770
|
+
disabled: D(L)
|
|
3771
3771
|
}), () => {
|
|
3772
3772
|
var Re;
|
|
3773
3773
|
return [
|
|
3774
|
-
(c(),
|
|
3774
|
+
(c(), B(ye(L.type), M({
|
|
3775
3775
|
size: "small",
|
|
3776
3776
|
"input-attrs": d(L),
|
|
3777
3777
|
placeholder: (Re = L == null ? void 0 : L.options) == null ? void 0 : Re.placeholder,
|
|
3778
|
-
disabled:
|
|
3778
|
+
disabled: D(L),
|
|
3779
3779
|
style: { width: "100%" },
|
|
3780
3780
|
ref_for: !0
|
|
3781
3781
|
}, {
|
|
@@ -3801,7 +3801,7 @@ const _o = /* @__PURE__ */ q({
|
|
|
3801
3801
|
_: 3
|
|
3802
3802
|
}, 8, ["gutter"]),
|
|
3803
3803
|
H(h.$slots, "default", { onSubmit: re }, () => [
|
|
3804
|
-
t.hideSubmit ? W("", !0) : (c(),
|
|
3804
|
+
t.hideSubmit ? W("", !0) : (c(), B(R, { key: 0 }, {
|
|
3805
3805
|
default: p(() => [
|
|
3806
3806
|
s(Ae, null, {
|
|
3807
3807
|
default: p(() => [
|
|
@@ -3875,7 +3875,7 @@ const _o = /* @__PURE__ */ q({
|
|
|
3875
3875
|
}
|
|
3876
3876
|
return (C, v) => {
|
|
3877
3877
|
const w = b("a-button"), x = b("a-modal");
|
|
3878
|
-
return c(),
|
|
3878
|
+
return c(), B(ye(t.isView ? "div" : _(Po)), Fe(nt(r())), At({
|
|
3879
3879
|
default: p(() => [
|
|
3880
3880
|
H(C.$slots, "default", {
|
|
3881
3881
|
onSubmit: m,
|
|
@@ -3883,7 +3883,7 @@ const _o = /* @__PURE__ */ q({
|
|
|
3883
3883
|
}, () => [
|
|
3884
3884
|
N(Z(t.title), 1)
|
|
3885
3885
|
]),
|
|
3886
|
-
(c(),
|
|
3886
|
+
(c(), B(Yt, { to: "body" }, [
|
|
3887
3887
|
s(x, M({
|
|
3888
3888
|
visible: _(n).visible,
|
|
3889
3889
|
title: t.title,
|
|
@@ -3899,7 +3899,7 @@ const _o = /* @__PURE__ */ q({
|
|
|
3899
3899
|
footer: p(() => [
|
|
3900
3900
|
s(w, {
|
|
3901
3901
|
size: t.size,
|
|
3902
|
-
onClick: v[2] || (v[2] = (
|
|
3902
|
+
onClick: v[2] || (v[2] = (A) => i())
|
|
3903
3903
|
}, {
|
|
3904
3904
|
default: p(() => v[4] || (v[4] = [
|
|
3905
3905
|
N("\u53D6\u6D88 ")
|
|
@@ -3910,7 +3910,7 @@ const _o = /* @__PURE__ */ q({
|
|
|
3910
3910
|
type: "primary",
|
|
3911
3911
|
size: t.size,
|
|
3912
3912
|
loading: _(n).loading,
|
|
3913
|
-
onClick: v[3] || (v[3] = (
|
|
3913
|
+
onClick: v[3] || (v[3] = (A) => m())
|
|
3914
3914
|
}, {
|
|
3915
3915
|
default: p(() => v[5] || (v[5] = [
|
|
3916
3916
|
N("\u786E\u8BA4 ")
|
|
@@ -3925,8 +3925,8 @@ const _o = /* @__PURE__ */ q({
|
|
|
3925
3925
|
"hide-submit": "",
|
|
3926
3926
|
"label-align": "left"
|
|
3927
3927
|
}, { ..._(kt)(C.$props, ["buttonAttrs", "modalAttrs", "title"]) }, {
|
|
3928
|
-
onError: v[0] || (v[0] = (
|
|
3929
|
-
"onUpdate:modelValue": v[1] || (v[1] = (
|
|
3928
|
+
onError: v[0] || (v[0] = (A) => l("error", A)),
|
|
3929
|
+
"onUpdate:modelValue": v[1] || (v[1] = (A) => l("update:modelValue", A))
|
|
3930
3930
|
}), {
|
|
3931
3931
|
row: p(() => [
|
|
3932
3932
|
H(C.$slots, "row")
|
|
@@ -3953,7 +3953,7 @@ const _o = /* @__PURE__ */ q({
|
|
|
3953
3953
|
}), tu = /* @__PURE__ */ q({
|
|
3954
3954
|
__name: "space",
|
|
3955
3955
|
setup(e) {
|
|
3956
|
-
return Et(Rt, { ...wt(Rt), error: !1 }), (o, u) => (c(),
|
|
3956
|
+
return Et(Rt, { ...wt(Rt), error: !1 }), (o, u) => (c(), O("div", null, [
|
|
3957
3957
|
H(o.$slots, "default")
|
|
3958
3958
|
]));
|
|
3959
3959
|
}
|
|
@@ -3976,11 +3976,11 @@ const _o = /* @__PURE__ */ q({
|
|
|
3976
3976
|
var C;
|
|
3977
3977
|
function u(v, w) {
|
|
3978
3978
|
const x = { ...v.componentAttr };
|
|
3979
|
-
return Object.keys(x).forEach((
|
|
3980
|
-
const y = x[
|
|
3979
|
+
return Object.keys(x).forEach((A) => {
|
|
3980
|
+
const y = x[A];
|
|
3981
3981
|
if (typeof y == "function")
|
|
3982
3982
|
try {
|
|
3983
|
-
x[
|
|
3983
|
+
x[A] = y(v, w);
|
|
3984
3984
|
} catch {
|
|
3985
3985
|
}
|
|
3986
3986
|
}), x;
|
|
@@ -4001,9 +4001,9 @@ const _o = /* @__PURE__ */ q({
|
|
|
4001
4001
|
var w;
|
|
4002
4002
|
return t.disabled || !!((w = v == null ? void 0 : v.options) != null && w.disabled);
|
|
4003
4003
|
}, f = () => {
|
|
4004
|
-
const v = a().reduce((x,
|
|
4004
|
+
const v = a().reduce((x, A) => {
|
|
4005
4005
|
var y;
|
|
4006
|
-
return
|
|
4006
|
+
return A.model && (x[A.model] = (y = A.defaultValue) != null ? y : null), x;
|
|
4007
4007
|
}, {}), w = i();
|
|
4008
4008
|
w.push(v), d(w);
|
|
4009
4009
|
}, m = () => {
|
|
@@ -4011,8 +4011,8 @@ const _o = /* @__PURE__ */ q({
|
|
|
4011
4011
|
d([...w].filter((x) => !n.value.includes(x[v]))), n.value = [], l("update:selectedKeys", n.value);
|
|
4012
4012
|
};
|
|
4013
4013
|
return (v, w) => {
|
|
4014
|
-
const x = b("a-link"),
|
|
4015
|
-
return c(),
|
|
4014
|
+
const x = b("a-link"), A = b("ASpace"), y = b("vxe-column");
|
|
4015
|
+
return c(), B(_(xt), {
|
|
4016
4016
|
ref: "tableRef",
|
|
4017
4017
|
"selected-keys": n.value,
|
|
4018
4018
|
"onUpdate:selectedKeys": [
|
|
@@ -4035,12 +4035,12 @@ const _o = /* @__PURE__ */ q({
|
|
|
4035
4035
|
onOnReset: w[4] || (w[4] = (g) => l("reset"))
|
|
4036
4036
|
}, {
|
|
4037
4037
|
columns: p(() => [
|
|
4038
|
-
t.hideTools !== !0 ? (c(),
|
|
4038
|
+
t.hideTools !== !0 ? (c(), B(y, {
|
|
4039
4039
|
key: 0,
|
|
4040
4040
|
type: "checkbox",
|
|
4041
4041
|
width: "28"
|
|
4042
4042
|
})) : W("", !0),
|
|
4043
|
-
t.hideSeq !== !0 ? (c(),
|
|
4043
|
+
t.hideSeq !== !0 ? (c(), B(y, {
|
|
4044
4044
|
key: 1,
|
|
4045
4045
|
type: "seq",
|
|
4046
4046
|
title: "\u5E8F",
|
|
@@ -4048,38 +4048,38 @@ const _o = /* @__PURE__ */ q({
|
|
|
4048
4048
|
align: t.hideTools === !0 ? "center" : "left",
|
|
4049
4049
|
"show-overflow": ""
|
|
4050
4050
|
}, null, 8, ["align"])) : W("", !0),
|
|
4051
|
-
(c(!0),
|
|
4052
|
-
var
|
|
4053
|
-
return c(),
|
|
4054
|
-
g.show !== !1 ? (c(),
|
|
4051
|
+
(c(!0), O(Y, null, pe(a(), (g, E) => {
|
|
4052
|
+
var D;
|
|
4053
|
+
return c(), O(Y, { key: E }, [
|
|
4054
|
+
g.show !== !1 ? (c(), B(y, {
|
|
4055
4055
|
key: 0,
|
|
4056
4056
|
field: g.model,
|
|
4057
4057
|
title: g.name,
|
|
4058
4058
|
width: g.width,
|
|
4059
4059
|
align: g.align,
|
|
4060
4060
|
"show-overflow": g.tooltip,
|
|
4061
|
-
"title-prefix": (
|
|
4061
|
+
"title-prefix": (D = g.options) != null && D.required ? { icon: "vxe-cell--required-icon" } : void 0
|
|
4062
4062
|
}, At({ _: 2 }, [
|
|
4063
4063
|
g.div !== !1 ? {
|
|
4064
4064
|
name: "default",
|
|
4065
|
-
fn: p((
|
|
4065
|
+
fn: p((F) => [
|
|
4066
4066
|
H(v.$slots, g.model, {
|
|
4067
|
-
row:
|
|
4067
|
+
row: F.row,
|
|
4068
4068
|
model: g.model
|
|
4069
4069
|
}, () => [
|
|
4070
|
-
!g.type && g.model ? (c(),
|
|
4070
|
+
!g.type && g.model ? (c(), O("span", M({
|
|
4071
4071
|
key: 0,
|
|
4072
4072
|
ref_for: !0
|
|
4073
|
-
}, u(g,
|
|
4073
|
+
}, u(g, F)), Z(typeof g.format == "function" ? g.format(F.row[g.model], F.row) : F.row[g.model]), 17)) : (c(), B(ye(g.type), M({
|
|
4074
4074
|
key: 1,
|
|
4075
4075
|
size: "mini",
|
|
4076
4076
|
ref_for: !0
|
|
4077
4077
|
}, {
|
|
4078
|
-
...g.model ? { "model-value":
|
|
4079
|
-
...u(g,
|
|
4078
|
+
...g.model ? { "model-value": F.row[g.model] } : {},
|
|
4079
|
+
...u(g, F)
|
|
4080
4080
|
}, {
|
|
4081
4081
|
disabled: r(g),
|
|
4082
|
-
"onUpdate:modelValue": (z) =>
|
|
4082
|
+
"onUpdate:modelValue": (z) => F.row[`${g.model}`] = z
|
|
4083
4083
|
}), null, 16, ["disabled", "onUpdate:modelValue"]))
|
|
4084
4084
|
])
|
|
4085
4085
|
]),
|
|
@@ -4088,13 +4088,13 @@ const _o = /* @__PURE__ */ q({
|
|
|
4088
4088
|
]), 1032, ["field", "title", "width", "align", "show-overflow", "title-prefix"])) : W("", !0)
|
|
4089
4089
|
], 64);
|
|
4090
4090
|
}), 128)),
|
|
4091
|
-
a().some((g) => g.model === "other") ? W("", !0) : (c(),
|
|
4091
|
+
a().some((g) => g.model === "other") ? W("", !0) : (c(), B(y, {
|
|
4092
4092
|
key: 2,
|
|
4093
4093
|
field: "other"
|
|
4094
4094
|
}))
|
|
4095
4095
|
]),
|
|
4096
4096
|
default: p(() => [
|
|
4097
|
-
s(
|
|
4097
|
+
s(A, { size: "mini" }, {
|
|
4098
4098
|
default: p(() => [
|
|
4099
4099
|
t.hideTools !== !0 ? H(v.$slots, "default", { key: 0 }, () => [
|
|
4100
4100
|
s(x, {
|
|
@@ -4153,34 +4153,34 @@ const _o = /* @__PURE__ */ q({
|
|
|
4153
4153
|
}
|
|
4154
4154
|
const { tableRef: m, selectedKeys: C, tableOptions: v } = un(u.options);
|
|
4155
4155
|
function w(g) {
|
|
4156
|
-
const
|
|
4157
|
-
return typeof (v == null ? void 0 : v.resolvePage) == "function" && v.resolvePage(
|
|
4156
|
+
const E = { [u.keyword]: i.value.keyword, page: g };
|
|
4157
|
+
return typeof (v == null ? void 0 : v.resolvePage) == "function" && v.resolvePage(E) ? v.resolvePage(E) : E;
|
|
4158
4158
|
}
|
|
4159
4159
|
function x() {
|
|
4160
4160
|
var g;
|
|
4161
4161
|
(g = m.value) == null || g.dataInit();
|
|
4162
4162
|
}
|
|
4163
|
-
function
|
|
4164
|
-
var
|
|
4165
|
-
const
|
|
4163
|
+
function A(g) {
|
|
4164
|
+
var F, z;
|
|
4165
|
+
const E = Object.assign([], g), D = [...E].map((j) => {
|
|
4166
4166
|
var T;
|
|
4167
4167
|
return j[(T = u.nameKey) != null ? T : "name"];
|
|
4168
4168
|
});
|
|
4169
|
-
a("update:modelValue", ht(
|
|
4169
|
+
a("update:modelValue", ht(D)), a("change", { name: ht(D), data: E }), (z = (F = l.value) == null ? void 0 : F.onChange) == null || z.call(F), r();
|
|
4170
4170
|
}
|
|
4171
4171
|
function y({ row: g }) {
|
|
4172
|
-
u.options.selectedType === "radio" &&
|
|
4172
|
+
u.options.selectedType === "radio" && A([g]);
|
|
4173
4173
|
}
|
|
4174
|
-
return (g,
|
|
4175
|
-
const
|
|
4176
|
-
return c(),
|
|
4174
|
+
return (g, E) => {
|
|
4175
|
+
const D = b("a-input-search"), F = b("a-button"), z = b("AModal");
|
|
4176
|
+
return c(), B(tu, null, {
|
|
4177
4177
|
default: p(() => [
|
|
4178
4178
|
H(g.$slots, "default", {
|
|
4179
4179
|
value: u.modelValue,
|
|
4180
4180
|
disabled: n.value,
|
|
4181
4181
|
onShow: f
|
|
4182
4182
|
}, () => [
|
|
4183
|
-
s(
|
|
4183
|
+
s(D, {
|
|
4184
4184
|
size: u.size,
|
|
4185
4185
|
"model-value": u.modelValue,
|
|
4186
4186
|
readonly: "",
|
|
@@ -4188,7 +4188,7 @@ const _o = /* @__PURE__ */ q({
|
|
|
4188
4188
|
onClick: f
|
|
4189
4189
|
}, null, 8, ["size", "model-value"])
|
|
4190
4190
|
]),
|
|
4191
|
-
(c(),
|
|
4191
|
+
(c(), B(Yt, { to: "body" }, [
|
|
4192
4192
|
s(z, {
|
|
4193
4193
|
visible: _(i).visible,
|
|
4194
4194
|
title: g.title,
|
|
@@ -4203,22 +4203,22 @@ const _o = /* @__PURE__ */ q({
|
|
|
4203
4203
|
onClose: r
|
|
4204
4204
|
}, {
|
|
4205
4205
|
footer: p(() => [
|
|
4206
|
-
s(
|
|
4206
|
+
s(F, {
|
|
4207
4207
|
size: u.size,
|
|
4208
|
-
onClick:
|
|
4208
|
+
onClick: E[4] || (E[4] = (j) => r())
|
|
4209
4209
|
}, {
|
|
4210
|
-
default: p(() =>
|
|
4210
|
+
default: p(() => E[6] || (E[6] = [
|
|
4211
4211
|
N("\u53D6\u6D88 ")
|
|
4212
4212
|
])),
|
|
4213
4213
|
_: 1
|
|
4214
4214
|
}, 8, ["size"]),
|
|
4215
|
-
s(
|
|
4215
|
+
s(F, {
|
|
4216
4216
|
type: "primary",
|
|
4217
4217
|
size: u.size,
|
|
4218
4218
|
disabled: !_(C).length,
|
|
4219
|
-
onClick:
|
|
4219
|
+
onClick: E[5] || (E[5] = (j) => A(_(m).getSelection()))
|
|
4220
4220
|
}, {
|
|
4221
|
-
default: p(() =>
|
|
4221
|
+
default: p(() => E[7] || (E[7] = [
|
|
4222
4222
|
N("\u786E\u8BA4 ")
|
|
4223
4223
|
])),
|
|
4224
4224
|
_: 1
|
|
@@ -4227,11 +4227,11 @@ const _o = /* @__PURE__ */ q({
|
|
|
4227
4227
|
default: p(() => {
|
|
4228
4228
|
var j;
|
|
4229
4229
|
return [
|
|
4230
|
-
s(_(
|
|
4230
|
+
s(_(xt), {
|
|
4231
4231
|
ref_key: "tableRef",
|
|
4232
4232
|
ref: m,
|
|
4233
4233
|
"selected-keys": _(C),
|
|
4234
|
-
"onUpdate:selectedKeys":
|
|
4234
|
+
"onUpdate:selectedKeys": E[3] || (E[3] = (T) => Ft(C) ? C.value = T : null),
|
|
4235
4235
|
data: (j = u.tableData) != null ? j : [],
|
|
4236
4236
|
"hide-setting": "",
|
|
4237
4237
|
option: { ..._(v), resolvePage: w },
|
|
@@ -4240,16 +4240,16 @@ const _o = /* @__PURE__ */ q({
|
|
|
4240
4240
|
onCellDblclick: y
|
|
4241
4241
|
}, {
|
|
4242
4242
|
default: p(() => [
|
|
4243
|
-
u.pagination ? (c(),
|
|
4243
|
+
u.pagination ? (c(), B(D, {
|
|
4244
4244
|
key: 0,
|
|
4245
4245
|
modelValue: _(i).keyword,
|
|
4246
|
-
"onUpdate:modelValue":
|
|
4246
|
+
"onUpdate:modelValue": E[0] || (E[0] = (T) => _(i).keyword = T),
|
|
4247
4247
|
style: { width: "192px" },
|
|
4248
4248
|
placeholder: "\u6A21\u7CCA\u641C\u7D22",
|
|
4249
4249
|
"allow-clear": "",
|
|
4250
4250
|
size: u.size,
|
|
4251
|
-
onPressEnter:
|
|
4252
|
-
onSearch:
|
|
4251
|
+
onPressEnter: E[1] || (E[1] = (T) => x()),
|
|
4252
|
+
onSearch: E[2] || (E[2] = (T) => x())
|
|
4253
4253
|
}, null, 8, ["modelValue", "size"])) : W("", !0)
|
|
4254
4254
|
]),
|
|
4255
4255
|
_: 1
|
|
@@ -4266,11 +4266,9 @@ const _o = /* @__PURE__ */ q({
|
|
|
4266
4266
|
}
|
|
4267
4267
|
});
|
|
4268
4268
|
function vo(e) {
|
|
4269
|
-
return
|
|
4269
|
+
return Oo(e);
|
|
4270
4270
|
}
|
|
4271
|
-
vo(ou)
|
|
4272
|
-
vo(nu);
|
|
4273
|
-
const fi = /* @__PURE__ */ q({
|
|
4271
|
+
const fi = vo(ou), mi = vo(nu), gi = /* @__PURE__ */ q({
|
|
4274
4272
|
__name: "index",
|
|
4275
4273
|
props: {
|
|
4276
4274
|
isShow: { type: Boolean },
|
|
@@ -4278,7 +4276,7 @@ const fi = /* @__PURE__ */ q({
|
|
|
4278
4276
|
formProps: {}
|
|
4279
4277
|
},
|
|
4280
4278
|
setup(e) {
|
|
4281
|
-
return (o, u) => (c(),
|
|
4279
|
+
return (o, u) => (c(), O("div", {
|
|
4282
4280
|
style: le(o.isShow ? { display: "block" } : { position: "absolute", clip: "rect(0px, 0px, 0px, 0px)", height: "0px", overflow: "auto" })
|
|
4283
4281
|
}, [
|
|
4284
4282
|
k("div", M({
|
|
@@ -4319,7 +4317,7 @@ const uu = { class: "u-nos" }, iu = {
|
|
|
4319
4317
|
};
|
|
4320
4318
|
return (l, n) => {
|
|
4321
4319
|
const a = b("icon-down"), i = b("icon-right");
|
|
4322
|
-
return c(),
|
|
4320
|
+
return c(), O("div", uu, [
|
|
4323
4321
|
k("div", {
|
|
4324
4322
|
class: "u-card__hd u-aside__hd",
|
|
4325
4323
|
style: le([{ borderBottomWidth: u.value ? "0px" : "1px" }, { height: "36px", "line-height": "36px", "border-bottom-color": "var(--color-neutral-2)" }])
|
|
@@ -4333,12 +4331,12 @@ const uu = { class: "u-nos" }, iu = {
|
|
|
4333
4331
|
style: { cursor: "pointer" },
|
|
4334
4332
|
onClick: n[0] || (n[0] = (d) => t())
|
|
4335
4333
|
}, [
|
|
4336
|
-
u.value ? (c(),
|
|
4334
|
+
u.value ? (c(), B(a, { key: 0 })) : (c(), B(i, { key: 1 }))
|
|
4337
4335
|
])
|
|
4338
4336
|
], 4),
|
|
4339
4337
|
s(Xt, null, {
|
|
4340
4338
|
default: p(() => [
|
|
4341
|
-
|
|
4339
|
+
Do(k("div", iu, [
|
|
4342
4340
|
H(l.$slots, "default")
|
|
4343
4341
|
], 512), [
|
|
4344
4342
|
[zo, u.value]
|
|
@@ -4408,7 +4406,7 @@ const uu = { class: "u-nos" }, iu = {
|
|
|
4408
4406
|
a(), window.addEventListener("resize", i, !1);
|
|
4409
4407
|
}), Ct(() => {
|
|
4410
4408
|
window.removeEventListener("resize", i, !1);
|
|
4411
|
-
}), (d, r) => (c(),
|
|
4409
|
+
}), (d, r) => (c(), O("div"));
|
|
4412
4410
|
}
|
|
4413
4411
|
});
|
|
4414
4412
|
const su = {
|
|
@@ -4463,7 +4461,7 @@ const ru = {
|
|
|
4463
4461
|
};
|
|
4464
4462
|
function du(e, o, u, t, l, n) {
|
|
4465
4463
|
const a = b("a-spin"), i = b("icon-printer"), d = b("a-button"), r = b("icon-download"), f = b("ASpace"), m = b("AModal");
|
|
4466
|
-
return c(),
|
|
4464
|
+
return c(), B(m, {
|
|
4467
4465
|
title: "\u6253\u5370\u9884\u89C8",
|
|
4468
4466
|
visible: l.visible,
|
|
4469
4467
|
"body-style": { padding: 0 },
|
|
@@ -4617,7 +4615,10 @@ const mu = {
|
|
|
4617
4615
|
}
|
|
4618
4616
|
return (n, a) => {
|
|
4619
4617
|
const i = b("AButton"), d = b("AButtonGroup"), r = b("ADivider"), f = b("ASpace");
|
|
4620
|
-
return c(),
|
|
4618
|
+
return c(), O("div", mu, [
|
|
4619
|
+
k("div", null, [
|
|
4620
|
+
H(n.$slots, "left", { tools: t.value })
|
|
4621
|
+
]),
|
|
4621
4622
|
k("div", gu, [
|
|
4622
4623
|
s(f, { size: "mini" }, {
|
|
4623
4624
|
default: p(() => [
|
|
@@ -4752,7 +4753,7 @@ const mu = {
|
|
|
4752
4753
|
})
|
|
4753
4754
|
]),
|
|
4754
4755
|
k("div", null, [
|
|
4755
|
-
H(n.$slots, "
|
|
4756
|
+
H(n.$slots, "right", { tools: t.value })
|
|
4756
4757
|
])
|
|
4757
4758
|
]);
|
|
4758
4759
|
};
|
|
@@ -4854,22 +4855,22 @@ const bo = "\u901A\u7528\u63A7\u4EF6", We = "defaultModule", vu = () => {
|
|
|
4854
4855
|
}, Au = { class: "u-card u-h" }, Eu = {
|
|
4855
4856
|
class: "u-card__bd u-aside__bd",
|
|
4856
4857
|
style: { "min-height": "100%", padding: "0", "overflow-y": "auto" }
|
|
4857
|
-
},
|
|
4858
|
+
}, Fu = { id: "HI_sideContainer" }, xu = ["tid"], ku = {
|
|
4858
4859
|
class: "u-main",
|
|
4859
4860
|
style: { padding: "0" }
|
|
4860
4861
|
}, Bu = { class: "u-card u-h" }, $u = { class: "u-card__hd u-aside__hd" }, Su = {
|
|
4861
4862
|
class: "u-main u-aside__bd",
|
|
4862
4863
|
style: { padding: "0" }
|
|
4863
|
-
},
|
|
4864
|
+
}, Ou = {
|
|
4864
4865
|
id: "bodyContainer",
|
|
4865
4866
|
style: { position: "relative", display: "flex", "flex-direction": "column", "align-items": "center", "min-width": "1000px", "min-height": "1000px", "padding-top": "30px", "padding-left": "30px" }
|
|
4866
|
-
},
|
|
4867
|
+
}, Du = {
|
|
4867
4868
|
class: "u-page__panel u-card",
|
|
4868
4869
|
style: { width: "219px" }
|
|
4869
4870
|
}, zu = {
|
|
4870
4871
|
class: "u-card__bd u-aside__bd",
|
|
4871
4872
|
style: { "overflow-x": "hidden", "overflow-y": "auto" }
|
|
4872
|
-
}, Pu = { id: "HI_panelContainer" }, ve = "arco-btn arco-btn-secondary arco-btn-shape-square arco-btn-size-mini arco-btn-status-normal",
|
|
4873
|
+
}, Pu = { id: "HI_panelContainer" }, ve = "arco-btn arco-btn-secondary arco-btn-shape-square arco-btn-size-mini arco-btn-status-normal", _i = /* @__PURE__ */ q({
|
|
4873
4874
|
__name: "index",
|
|
4874
4875
|
props: {
|
|
4875
4876
|
template: { default: void 0 },
|
|
@@ -4889,8 +4890,8 @@ const bo = "\u901A\u7528\u63A7\u4EF6", We = "defaultModule", vu = () => {
|
|
|
4889
4890
|
await Qt(), ze.PrintElementTypeManager.buildByHtml(Te(".ep-draggable-item"));
|
|
4890
4891
|
}
|
|
4891
4892
|
function d() {
|
|
4892
|
-
const
|
|
4893
|
-
return ze.init({ providers:
|
|
4893
|
+
const A = bu(t.fields);
|
|
4894
|
+
return ze.init({ providers: A }), i(), ze.setConfig(), Te(a.mainContainer).empty(), n = new ze.PrintTemplate({
|
|
4894
4895
|
template: t.template,
|
|
4895
4896
|
fields: t.fields,
|
|
4896
4897
|
onImageChooseClick: (y) => {
|
|
@@ -4911,12 +4912,12 @@ const bo = "\u901A\u7528\u63A7\u4EF6", We = "defaultModule", vu = () => {
|
|
|
4911
4912
|
console.log("### update error", y);
|
|
4912
4913
|
},
|
|
4913
4914
|
settingContainer: a.panelContainer
|
|
4914
|
-
}), n.design(a.mainContainer, { grid: !1 }), Te(".hiprint_rul_wrapper").remove(), { hiprintTemplate: n, providers:
|
|
4915
|
+
}), n.design(a.mainContainer, { grid: !1 }), Te(".hiprint_rul_wrapper").remove(), { hiprintTemplate: n, providers: A };
|
|
4915
4916
|
}
|
|
4916
4917
|
const r = K(), f = K(), m = K(), C = K();
|
|
4917
4918
|
function v() {
|
|
4918
|
-
const { hiprintTemplate:
|
|
4919
|
-
m.value = y[1].list, i(), f.value =
|
|
4919
|
+
const { hiprintTemplate: A, providers: y } = d();
|
|
4920
|
+
m.value = y[1].list, i(), f.value = A, fu(A, {
|
|
4920
4921
|
onSelect: (g) => {
|
|
4921
4922
|
C.value = g.printElement.options;
|
|
4922
4923
|
},
|
|
@@ -4936,9 +4937,9 @@ const bo = "\u901A\u7528\u63A7\u4EF6", We = "defaultModule", vu = () => {
|
|
|
4936
4937
|
function x() {
|
|
4937
4938
|
f.value && l("onSave", f.value.getJson());
|
|
4938
4939
|
}
|
|
4939
|
-
return qe(v), o({ hiprintTemplate: f, selectedOptions: C }), (
|
|
4940
|
-
const g = b("AEmpty"),
|
|
4941
|
-
return c(),
|
|
4940
|
+
return qe(v), o({ hiprintTemplate: f, selectedOptions: C }), (A, y) => {
|
|
4941
|
+
const g = b("AEmpty"), E = b("AButton"), D = b("AButtonGroup");
|
|
4942
|
+
return c(), O("div", hu, [
|
|
4942
4943
|
k("div", wu, [
|
|
4943
4944
|
k("div", Cu, [
|
|
4944
4945
|
k("div", Au, [
|
|
@@ -4946,7 +4947,7 @@ const bo = "\u901A\u7528\u63A7\u4EF6", We = "defaultModule", vu = () => {
|
|
|
4946
4947
|
k("strong", { style: { "font-size": "14px" } }, " \u7EC4\u4EF6\u5E93 ")
|
|
4947
4948
|
], -1)),
|
|
4948
4949
|
k("div", Eu, [
|
|
4949
|
-
k("div",
|
|
4950
|
+
k("div", Fu, [
|
|
4950
4951
|
s(ft, { title: "\u57FA\u7840" }, {
|
|
4951
4952
|
default: p(() => [
|
|
4952
4953
|
k("a", {
|
|
@@ -5058,9 +5059,9 @@ const bo = "\u901A\u7528\u63A7\u4EF6", We = "defaultModule", vu = () => {
|
|
|
5058
5059
|
}),
|
|
5059
5060
|
s(ft, { title: "\u4E1A\u52A1\u7EC4\u4EF6" }, {
|
|
5060
5061
|
default: p(() => {
|
|
5061
|
-
var
|
|
5062
|
+
var F;
|
|
5062
5063
|
return [
|
|
5063
|
-
(c(!0),
|
|
5064
|
+
(c(!0), O(Y, null, pe(m.value, (z) => (c(), O("a", {
|
|
5064
5065
|
key: z.tid,
|
|
5065
5066
|
class: se(`ep-draggable-item ${ve}`),
|
|
5066
5067
|
tid: z.tid
|
|
@@ -5069,8 +5070,8 @@ const bo = "\u901A\u7528\u63A7\u4EF6", We = "defaultModule", vu = () => {
|
|
|
5069
5070
|
type: _(_e)(z.type)
|
|
5070
5071
|
}, null, 8, ["type"]),
|
|
5071
5072
|
N(" " + Z(z.title), 1)
|
|
5072
|
-
], 10,
|
|
5073
|
-
(
|
|
5073
|
+
], 10, xu))), 128)),
|
|
5074
|
+
(F = m.value) != null && F.length ? W("", !0) : (c(), B(g, { key: 0 }, {
|
|
5074
5075
|
default: p(() => y[11] || (y[11] = [
|
|
5075
5076
|
k("div", { style: { "font-size": "12px" } }, "\u6682\u65E0\u6570\u636E", -1)
|
|
5076
5077
|
])),
|
|
@@ -5087,44 +5088,46 @@ const bo = "\u901A\u7528\u63A7\u4EF6", We = "defaultModule", vu = () => {
|
|
|
5087
5088
|
k("div", ku, [
|
|
5088
5089
|
k("div", Bu, [
|
|
5089
5090
|
k("div", $u, [
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
}
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5091
|
+
s(_u, {
|
|
5092
|
+
tpl: f.value,
|
|
5093
|
+
"element-options": C.value
|
|
5094
|
+
}, {
|
|
5095
|
+
left: p(({ tools: F }) => [
|
|
5096
|
+
H(A.$slots, "toolbar-left", { tools: F })
|
|
5097
|
+
]),
|
|
5098
|
+
right: p(({ tools: F }) => [
|
|
5099
|
+
H(A.$slots, "toolbar-right", { tools: F }),
|
|
5100
|
+
s(D, { size: "small" }, {
|
|
5101
|
+
default: p(() => [
|
|
5102
|
+
s(E, {
|
|
5103
|
+
shape: "square",
|
|
5104
|
+
title: "\u9884\u89C8",
|
|
5105
|
+
onClick: w
|
|
5106
|
+
}, {
|
|
5107
|
+
icon: p(() => [
|
|
5108
|
+
s(_(J), { type: "icon-24gl-eye" })
|
|
5109
|
+
]),
|
|
5110
|
+
_: 1
|
|
5111
|
+
}),
|
|
5112
|
+
s(E, {
|
|
5113
|
+
shape: "square",
|
|
5114
|
+
title: "\u4FDD\u5B58",
|
|
5115
|
+
onClick: x
|
|
5116
|
+
}, {
|
|
5117
|
+
icon: p(() => [
|
|
5118
|
+
s(_(J), { type: "icon-24gl-floppyDisk" })
|
|
5119
|
+
]),
|
|
5120
|
+
_: 1
|
|
5121
|
+
})
|
|
5122
|
+
]),
|
|
5123
|
+
_: 1
|
|
5124
|
+
})
|
|
5125
|
+
]),
|
|
5126
|
+
_: 3
|
|
5127
|
+
}, 8, ["tpl", "element-options"])
|
|
5125
5128
|
]),
|
|
5126
5129
|
k("div", Su, [
|
|
5127
|
-
k("div",
|
|
5130
|
+
k("div", Ou, [
|
|
5128
5131
|
y[13] || (y[13] = k("div", {
|
|
5129
5132
|
id: "HI_mainContainer",
|
|
5130
5133
|
class: "hiprint-printTemplate",
|
|
@@ -5138,7 +5141,7 @@ const bo = "\u901A\u7528\u63A7\u4EF6", We = "defaultModule", vu = () => {
|
|
|
5138
5141
|
])
|
|
5139
5142
|
])
|
|
5140
5143
|
]),
|
|
5141
|
-
k("div",
|
|
5144
|
+
k("div", Du, [
|
|
5142
5145
|
y[14] || (y[14] = k("div", { class: "u-card__hd u-aside__hd" }, [
|
|
5143
5146
|
k("strong", { style: { "font-size": "14px" } }, " \u5C5E\u6027\u914D\u7F6E ")
|
|
5144
5147
|
], -1)),
|
|
@@ -5347,9 +5350,9 @@ const Gt = {
|
|
|
5347
5350
|
customClass: "\u81EA\u5B9A\u4E49Class"
|
|
5348
5351
|
}
|
|
5349
5352
|
}
|
|
5350
|
-
},
|
|
5353
|
+
}, vi = { enUS: Gt, zhCN: Gt }, yi = {
|
|
5351
5354
|
install(e) {
|
|
5352
|
-
e.use($o), e.component("OrcTable",
|
|
5355
|
+
e.use($o), e.component("OrcTable", xt), e.component("OrcSearch", Yl), e.component("OrcForm", _o), e.component("OrcFormButton", eu);
|
|
5353
5356
|
}
|
|
5354
5357
|
};
|
|
5355
5358
|
export {
|
|
@@ -5357,14 +5360,17 @@ export {
|
|
|
5357
5360
|
ri as OrcDesignPrint,
|
|
5358
5361
|
_o as OrcForm,
|
|
5359
5362
|
eu as OrcFormButton,
|
|
5360
|
-
mi as
|
|
5361
|
-
|
|
5363
|
+
mi as OrcFormLayer,
|
|
5364
|
+
tu as OrcFormSpace,
|
|
5365
|
+
fi as OrcFormTable,
|
|
5366
|
+
_i as OrcHiPrint,
|
|
5367
|
+
gi as OrcHiddenView,
|
|
5362
5368
|
pi as OrcProvider,
|
|
5363
5369
|
ci as OrcQuill,
|
|
5364
5370
|
Yl as OrcSearch,
|
|
5365
|
-
|
|
5371
|
+
xt as OrcTable,
|
|
5366
5372
|
oi as deepClone,
|
|
5367
|
-
|
|
5373
|
+
yi as default,
|
|
5368
5374
|
mn as downLoadPdf,
|
|
5369
5375
|
ii as download,
|
|
5370
5376
|
ao as findObject,
|
|
@@ -5377,7 +5383,7 @@ export {
|
|
|
5377
5383
|
ei as isEmptyObject,
|
|
5378
5384
|
fn as isNumber,
|
|
5379
5385
|
It as isObject,
|
|
5380
|
-
|
|
5386
|
+
vi as locale,
|
|
5381
5387
|
Zu as log,
|
|
5382
5388
|
si as mergeConfig,
|
|
5383
5389
|
kt as omitObject,
|