hlrender 0.0.88 → 0.0.90
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/{affix-widget-9ab486d0.js → affix-widget-e827514d.js} +16 -16
- package/{alert-widget-5cbc7bec.js → alert-widget-0f1ee9e2.js} +16 -16
- package/{anchor-widget-d733fdc2.js → anchor-widget-5276e8b4.js} +13 -13
- package/{auto-complete-widget-c46f01d4.js → auto-complete-widget-824c99fc.js} +16 -16
- package/{avatar-widget-7a25fbc2.js → avatar-widget-e74e617e.js} +16 -16
- package/{backtop-widget-6b3f8312.js → backtop-widget-7b709e51.js} +16 -16
- package/{badge-widget-40cb0a60.js → badge-widget-0dd553b2.js} +16 -16
- package/{baseImp-d99dbe62.js → baseImp-5e9f6c21.js} +242 -242
- package/{breadcrumb-widget-2b26e9b7.js → breadcrumb-widget-e47bcad3.js} +13 -13
- package/{button-widget-d86e6b3a.js → button-widget-fac68f85.js} +16 -16
- package/{cache-widget-a4ecd5ef.js → cache-widget-9a93e7f9.js} +15 -15
- package/{card-widget-ebe10b92.js → card-widget-30706434.js} +14 -14
- package/{carousel-widget-bfc485a8.js → carousel-widget-b4b62c45.js} +14 -14
- package/{cascader-widget-34cc11f0.js → cascader-widget-c6951ba6.js} +15 -15
- package/{chart-widget-7bd7b549.js → chart-widget-0e8b4938.js} +13 -13
- package/{checkbox-widget-5acdfc69.js → checkbox-widget-464da2ec.js} +15 -15
- package/{collapse-widget-403fc9be.js → collapse-widget-1aadcf3b.js} +14 -14
- package/{color-picker-widget-fab59394.js → color-picker-widget-8e63f592.js} +15 -15
- package/{cont-cell-widget-6207400f.js → cont-cell-widget-e3e723d0.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-8f80fe02.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4116c02f.js} +5 -5
- package/{cont-widget-16eff328.js → cont-widget-833a2cc8.js} +5 -5
- package/{content-wrapper-35ca728f.js → content-wrapper-c80522ba.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-8c10d167.js → content-wrapper.vue_vue_type_script_setup_true_lang-dc339d2c.js} +3 -3
- package/{date-picker-range-widget-fadc0715.js → date-picker-range-widget-67cd9553.js} +15 -15
- package/{date-picker-widget-15006f37.js → date-picker-widget-d136ed28.js} +15 -15
- package/default-slot-widget-b67fee9a.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-ed809fcc.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-abd6eca8.js} +11 -11
- package/{descriptions-widget-cb279909.js → descriptions-widget-3a341f1c.js} +14 -14
- package/{dialog-5c3187ca.js → dialog-47f6c88e.js} +2 -2
- package/{dialog-widget-0679cb19.js → dialog-widget-afeea4fe.js} +15 -15
- package/{divider-widget-c35b14b6.js → divider-widget-b8ac07a9.js} +16 -16
- package/{drag-wrapper-aecc6ab4.js → drag-wrapper-e9b9ecc5.js} +6 -6
- package/{drawer-widget-ebfd4ca1.js → drawer-widget-28eb655b.js} +15 -15
- package/{dropdown-widget-6c1f06bd.js → dropdown-widget-876118d9.js} +14 -14
- package/{empty-widget-cd372700.js → empty-widget-035c7ae7.js} +16 -16
- package/{enum-type-10ef6800.js → enum-type-493ca5fb.js} +49 -49
- package/{enum-type-885ba874.js → enum-type-f8c7654b.js} +1 -1
- package/{expression-f1d0ef38.js → expression-6a929144.js} +4 -4
- package/feedback-widget-e6515822.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-66601e83.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-efb8bfdf.js} +5 -5
- package/{fieldobj-19d22b9e.js → fieldobj-658deb6a.js} +3 -3
- package/{file-upload-widget-451fd500.js → file-upload-widget-4e774f00.js} +16 -16
- package/{form-item-wrapper-4a937d7c.js → form-item-wrapper-4d5d5aea.js} +11 -11
- package/{form-widget-d00f21bd.js → form-widget-a64ff3e5.js} +30 -30
- package/{grid-col-widget-a87661cf.js → grid-col-widget-d6b07995.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-b14a3e37.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-43413ead.js} +5 -5
- package/{grid-widget-490caf75.js → grid-widget-99c58fcc.js} +5 -5
- package/{html-text-widget-4b65aeee.js → html-text-widget-a2577861.js} +14 -14
- package/{iframe-widget-6b337a68.js → iframe-widget-f0c8998a.js} +13 -13
- package/{image-widget-400d2a7a.js → image-widget-d840c0f5.js} +13 -13
- package/{index-465a2473.js → index-05c0fa7f.js} +1 -1
- package/{index-6d08607f.js → index-7d635a2e.js} +4 -4
- package/{index-f2a4e760.js → index-a3039561.js} +5 -5
- package/{input-number-widget-c517d53d.js → input-number-widget-3393c446.js} +15 -15
- package/{input-widget-d0b02a2a.js → input-widget-7468b85a.js} +16 -16
- package/{label-wrapper-3191ce31.js → label-wrapper-a369c106.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-24831683.js → label-wrapper.vue_vue_type_style_index_0_lang-cbeb0230.js} +3 -3
- package/{link-widget-24781b4d.js → link-widget-0dfd9bb0.js} +16 -16
- package/{ltable-col-widget-e2b72f11.js → ltable-col-widget-8563fd25.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-f618e042.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-c0b14fd6.js} +10 -10
- package/{ltable-widget-5e91a1ca.js → ltable-widget-41dd7e16.js} +5 -5
- package/{menu-widget-db26029a.js → menu-widget-3034be21.js} +14 -14
- package/{model-widget-1745d96b.js → model-widget-a9f60da9.js} +13 -13
- package/{multirow-2ec46a69.js → multirow-64cb721f.js} +22 -22
- package/{multirow-widget-4a5dc543.js → multirow-widget-826ff2ea.js} +15 -15
- package/package.json +1 -1
- package/{pagination-widget-04f510b6.js → pagination-widget-39b53106.js} +13 -13
- package/{picture-upload-widget-86c02c01.js → picture-upload-widget-7a70a28d.js} +16 -16
- package/{progress-widget-e5dd6f1a.js → progress-widget-db964bc8.js} +14 -14
- package/{propresult-8f2196af.js → propresult-690661a9.js} +1 -1
- package/{radio-widget-1e6744c0.js → radio-widget-449805f5.js} +15 -15
- package/{range-widget-48534c97.js → range-widget-60927044.js} +16 -16
- package/{rate-widget-54a70e53.js → rate-widget-0b0a0c9e.js} +15 -15
- package/render.es.js +151 -151
- package/render.style.css +1 -1
- package/render.umd.js +190 -190
- package/{result-widget-ab5043c8.js → result-widget-5169fc9c.js} +14 -14
- package/{rich-editor-widget-c0b77cd3.js → rich-editor-widget-113a1274.js} +22 -22
- package/{router-widget-5b504b79.js → router-widget-dd32bdcc.js} +13 -13
- package/select-widget-48207888.js +342 -0
- package/{sfc-a8463b85.js → sfc-f79a5537.js} +58 -58
- package/{share-field-6b8c8747.js → share-field-4ad79e1a.js} +95 -94
- package/{share-file-fabcffbf.js → share-file-20adf548.js} +16 -16
- package/{slider-widget-7acc8a41.js → slider-widget-013a24a9.js} +15 -15
- package/{slot-1745e904.js → slot-7ebda734.js} +3 -3
- package/{static-text-widget-3ce17da6.js → static-text-widget-8bbb0a2e.js} +14 -14
- package/{steps-widget-ce34b384.js → steps-widget-c264e42a.js} +13 -13
- package/{subMenu-widget-ad5c6782.js → subMenu-widget-44b84ee4.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-da9f112b.js → subMenu-widget.vue_vue_type_script_setup_true_lang-b6179538.js} +3 -3
- package/{switch-widget-d40019f3.js → switch-widget-b7ba7dbf.js} +15 -15
- package/{tab-pane-widget-afd079dc.js → tab-pane-widget-125d6044.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-211a910a.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-29bab423.js} +5 -5
- package/table-col-widget-ee2e176e.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-106d1c74.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-036c5143.js} +6 -6
- package/{table-widget-c547ea04.js → table-widget-f2b94cda.js} +15 -15
- package/{tabs-widget-03d8f55b.js → tabs-widget-774c5a0b.js} +11 -11
- package/{tag-widget-5d4fc2ad.js → tag-widget-e1b1f50a.js} +16 -16
- package/{text-widget-2e4c1bd7.js → text-widget-a7ba3961.js} +16 -16
- package/{textarea-widget-84edcdb7.js → textarea-widget-5b245431.js} +15 -15
- package/{time-picker-range-widget-a61f20ed.js → time-picker-range-widget-47952cc5.js} +15 -15
- package/{time-picker-widget-37dfac3b.js → time-picker-widget-c3a706e0.js} +15 -15
- package/{time-select-widget-a7d74fe4.js → time-select-widget-c6c07b7f.js} +15 -15
- package/{tmpl-widget-4c48be39.js → tmpl-widget-04694761.js} +27 -27
- package/{tree-select-widget-61f96b2b.js → tree-select-widget-ba6a6430.js} +15 -15
- package/{tree-widget-c8d224d2.js → tree-widget-2e12e4cc.js} +13 -13
- package/{uuid-fa486ad4.js → uuid-42b6e595.js} +1 -1
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-9efd761d.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js} +7 -7
- package/{wrapper-widget-8cd6520c.js → wrapper-widget-e13eb50a.js} +6 -6
- package/default-slot-widget-b22c5d0b.js +0 -26
- package/feedback-widget-ddc0fa37.js +0 -26
- package/select-widget-383e7ba7.js +0 -338
- package/table-col-widget-5e1fba03.js +0 -22
|
@@ -2,16 +2,16 @@ var En = Object.defineProperty;
|
|
|
2
2
|
var bn = (t, u, p) => u in t ? En(t, u, { enumerable: !0, configurable: !0, writable: !0, value: p }) : t[u] = p;
|
|
3
3
|
var Xe = (t, u, p) => (bn(t, typeof u != "symbol" ? u + "" : u, p), p);
|
|
4
4
|
import { onMounted as nt, nextTick as ot, onActivated as yn, onErrorCaptured as Rn, isRef as rt, watch as Z, reactive as xn, ref as me, computed as _e, onBeforeUnmount as Mn, inject as Sn, toRefs as _n } from "vue";
|
|
5
|
-
import { l as ue, b as We, e as st, o as X, c as w,
|
|
6
|
-
import { p as Ye, b as at, g as
|
|
5
|
+
import { l as ue, b as We, e as st, o as X, c as w, r as Dn, F as Wn, t as he, f as ut, h as Pn, k as Nn, z as Y, d as se, w as Bn, M as ve } from "./enum-type-493ca5fb.js";
|
|
6
|
+
import { p as Ye, b as at, g as Fn, f as de, a as In } from "./multirow-64cb721f.js";
|
|
7
7
|
import { u as ct } from "./icon-e9532b43.js";
|
|
8
|
-
import { f as $, l as ge, m as
|
|
9
|
-
import { b as it, d as Pe, B as
|
|
10
|
-
import { F as An } from "./slot-
|
|
11
|
-
import { c as Ne, t as mt, l as kn } from "./uuid-
|
|
12
|
-
import { f as Hn, d as Kn, h as De, e as Un } from "./index-
|
|
13
|
-
import { W as A, c as U } from "./enum-type-
|
|
14
|
-
function
|
|
8
|
+
import { f as $, l as ge, m as Ln, n as Ze, g as j, b as Tn, d as jn } from "./expression-6a929144.js";
|
|
9
|
+
import { b as it, d as Pe, B as q, P as ft, c as lt, e as $n, a as we } from "./baseImp-5e9f6c21.js";
|
|
10
|
+
import { F as An } from "./slot-7ebda734.js";
|
|
11
|
+
import { c as Ne, t as mt, l as kn } from "./uuid-42b6e595.js";
|
|
12
|
+
import { f as Hn, d as Kn, h as De, e as Un } from "./index-a3039561.js";
|
|
13
|
+
import { W as A, c as U } from "./enum-type-f8c7654b.js";
|
|
14
|
+
function qn() {
|
|
15
15
|
return {
|
|
16
16
|
onMountedOrActivated: (p) => {
|
|
17
17
|
let M = !1;
|
|
@@ -28,17 +28,17 @@ function Gn() {
|
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function Gn(t, u) {
|
|
32
32
|
const { getWidgetOption: p, getWidgetOptionByPropValue: M } = it(t, u), N = (i) => p(i);
|
|
33
33
|
return {
|
|
34
34
|
existFunc: N,
|
|
35
35
|
handleFunc: (i, W) => {
|
|
36
36
|
if (We(i)) {
|
|
37
|
-
var
|
|
38
|
-
return Pe(
|
|
37
|
+
var F = N(String(i));
|
|
38
|
+
return Pe(F, W);
|
|
39
39
|
} else {
|
|
40
|
-
var
|
|
41
|
-
return Pe(
|
|
40
|
+
var F = M(Ne(i));
|
|
41
|
+
return Pe(F, W);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
};
|
|
@@ -90,7 +90,7 @@ function pe(t) {
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
return Array.isArray(g) ? v : v == null ? void 0 : v[0];
|
|
93
|
-
},
|
|
93
|
+
}, F = (g, V) => {
|
|
94
94
|
let C = X(t);
|
|
95
95
|
W(C, g, V);
|
|
96
96
|
}, O = (g, V) => {
|
|
@@ -104,9 +104,9 @@ function pe(t) {
|
|
|
104
104
|
}, l = (f = X(u.refList)) == null ? void 0 : f.find((s) => {
|
|
105
105
|
var S, P;
|
|
106
106
|
try {
|
|
107
|
-
const
|
|
108
|
-
var c = _(
|
|
109
|
-
return !c && (v != null && v.groupName) && (c = n(
|
|
107
|
+
const I = (P = (S = u.refList[s]) == null ? void 0 : S.exposed) == null ? void 0 : P.getField();
|
|
108
|
+
var c = _(I);
|
|
109
|
+
return !c && (v != null && v.groupName) && (c = n(I)), c;
|
|
110
110
|
} catch {
|
|
111
111
|
return !1;
|
|
112
112
|
}
|
|
@@ -130,7 +130,7 @@ function pe(t) {
|
|
|
130
130
|
callWidgetsExposed: W,
|
|
131
131
|
callRefFunc: i,
|
|
132
132
|
existRefFunc: D,
|
|
133
|
-
setAllRefList:
|
|
133
|
+
setAllRefList: F,
|
|
134
134
|
findRefById: O,
|
|
135
135
|
findRefByName: M,
|
|
136
136
|
changeRegisterToRefList: (g, V) => {
|
|
@@ -147,20 +147,20 @@ const Jn = (t, u, p, M) => {
|
|
|
147
147
|
const W = () => {
|
|
148
148
|
var n, l;
|
|
149
149
|
return (l = (n = X(t)) == null ? void 0 : n.map((r) => D(t == null ? void 0 : t[r], A.getField))) == null ? void 0 : l.filter((r) => !!r);
|
|
150
|
-
},
|
|
150
|
+
}, F = (n) => {
|
|
151
151
|
var f;
|
|
152
152
|
const l = (f = W()) == null ? void 0 : f.find((s) => (s == null ? void 0 : s.id) === n);
|
|
153
153
|
if (!l)
|
|
154
154
|
return;
|
|
155
|
-
const r =
|
|
155
|
+
const r = q.getName(l), d = N.getWidgetRef(r);
|
|
156
156
|
if (d)
|
|
157
157
|
return { ref: d, name: r, id: l == null ? void 0 : l.id };
|
|
158
158
|
}, O = (n, l) => {
|
|
159
159
|
if (!w(l))
|
|
160
160
|
return;
|
|
161
|
-
const r =
|
|
161
|
+
const r = q.getName(n), d = N.getWidgetRef(r);
|
|
162
162
|
if (d) {
|
|
163
|
-
const f =
|
|
163
|
+
const f = q.getOptions(n, $.defaultValue, !1, !(p != null && p.designState), { ...p, formData: l });
|
|
164
164
|
if (w(f))
|
|
165
165
|
if (rt(f)) {
|
|
166
166
|
let s = Z(() => f.value, (c) => {
|
|
@@ -170,7 +170,7 @@ const Jn = (t, u, p, M) => {
|
|
|
170
170
|
D(d, A.setValue, { newValue: f });
|
|
171
171
|
}
|
|
172
172
|
}, h = (n, l) => {
|
|
173
|
-
const r =
|
|
173
|
+
const r = F(n);
|
|
174
174
|
if (!r)
|
|
175
175
|
return;
|
|
176
176
|
const d = r.name, f = D(r.ref, A.getValue), s = D(r.ref, A.getCheckedItems), c = {};
|
|
@@ -183,8 +183,8 @@ const Jn = (t, u, p, M) => {
|
|
|
183
183
|
return;
|
|
184
184
|
const s = f == null ? void 0 : f.id;
|
|
185
185
|
var c = s === n;
|
|
186
|
-
const S = i(s), P = (S == null ? void 0 : S.id) === n,
|
|
187
|
-
return c || P && (
|
|
186
|
+
const S = i(s), P = (S == null ? void 0 : S.id) === n, I = (S == null ? void 0 : S.groupName) === l;
|
|
187
|
+
return c || P && (I || !l) ? (r.push(f), !0) : !1;
|
|
188
188
|
}), !(!r || r.length <= 0))
|
|
189
189
|
return r == null ? void 0 : r.map((f) => {
|
|
190
190
|
var s;
|
|
@@ -219,10 +219,10 @@ const Jn = (t, u, p, M) => {
|
|
|
219
219
|
var S;
|
|
220
220
|
const s = f.group[0], c = [];
|
|
221
221
|
(S = f == null ? void 0 : f.children) == null || S.forEach((P) => {
|
|
222
|
-
const
|
|
223
|
-
if (w(
|
|
224
|
-
var
|
|
225
|
-
c.push(...
|
|
222
|
+
const I = h(P == null ? void 0 : P.id, !0);
|
|
223
|
+
if (w(I)) {
|
|
224
|
+
var G = Object.values(Ne(I));
|
|
225
|
+
c.push(...G);
|
|
226
226
|
}
|
|
227
227
|
}), s && (r = Object.assign(r, { [s]: c }));
|
|
228
228
|
});
|
|
@@ -243,20 +243,20 @@ const Jn = (t, u, p, M) => {
|
|
|
243
243
|
const c = Wn(l), { updateFomula: S } = lt(), { buildVariable: P } = $n();
|
|
244
244
|
var d = V(n);
|
|
245
245
|
if (w(d)) {
|
|
246
|
-
var f =
|
|
247
|
-
var ee = d[
|
|
248
|
-
return st(ee) ? P(
|
|
246
|
+
var f = q.getOrgOption(l, $.defaultValue), s = S(he(f), d, (I, G) => {
|
|
247
|
+
var ee = d[I];
|
|
248
|
+
return st(ee) ? P(I) : P(ee);
|
|
249
249
|
});
|
|
250
|
-
return
|
|
250
|
+
return q.setOrgOption(c, $.defaultValue, ut(s)), c;
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
return l;
|
|
254
254
|
}, v = (n) => {
|
|
255
255
|
const l = n == null ? void 0 : n.id;
|
|
256
|
-
var r =
|
|
256
|
+
var r = q.getOrgOption(n, $.defaultValue);
|
|
257
257
|
if (r == null)
|
|
258
258
|
return;
|
|
259
|
-
const d =
|
|
259
|
+
const d = Fn(u, l);
|
|
260
260
|
if (d === de.DiffInner)
|
|
261
261
|
return;
|
|
262
262
|
var f = ft.getFormulaRelatedField(r);
|
|
@@ -280,15 +280,15 @@ const Jn = (t, u, p, M) => {
|
|
|
280
280
|
return;
|
|
281
281
|
const { parseGroupId: D } = at();
|
|
282
282
|
var i = D(u), W = i == null ? void 0 : i.groupName;
|
|
283
|
-
const { callRefFunc:
|
|
283
|
+
const { callRefFunc: F } = pe(t), O = (g, V) => {
|
|
284
284
|
var r, d, f;
|
|
285
|
-
const C = (d = (r = X(t)) == null ? void 0 : r.map((s) =>
|
|
285
|
+
const C = (d = (r = X(t)) == null ? void 0 : r.map((s) => F(t == null ? void 0 : t[s], A.getField))) == null ? void 0 : d.filter((s) => !!s), v = (f = Hn(C, (s) => {
|
|
286
286
|
var c = D(s == null ? void 0 : s.id);
|
|
287
287
|
return (!W || (c == null ? void 0 : c.groupName) === W) && (c == null ? void 0 : c.id) === g;
|
|
288
288
|
})) == null ? void 0 : f[0];
|
|
289
289
|
if (!v)
|
|
290
290
|
return;
|
|
291
|
-
const _ =
|
|
291
|
+
const _ = q.getName(v), l = new Be(t).getWidgetRef(_);
|
|
292
292
|
l && (V == null || V(l));
|
|
293
293
|
}, h = mt(M == null ? void 0 : M.newValue, !0), x = (B = X(p)) == null ? void 0 : B.filter((g) => h == null ? void 0 : h.includes(g));
|
|
294
294
|
!x || x.length <= 0 || x == null || x.forEach((g) => {
|
|
@@ -299,7 +299,7 @@ const Jn = (t, u, p, M) => {
|
|
|
299
299
|
const n = V == null ? void 0 : V[_];
|
|
300
300
|
(l = n == null ? void 0 : n.ids) == null || l.forEach((r) => {
|
|
301
301
|
O(r, (d) => {
|
|
302
|
-
|
|
302
|
+
F(d, n == null ? void 0 : n.event, n == null ? void 0 : n.args);
|
|
303
303
|
});
|
|
304
304
|
});
|
|
305
305
|
});
|
|
@@ -348,7 +348,7 @@ function Qn() {
|
|
|
348
348
|
setMousePos: i,
|
|
349
349
|
getMousePos: (O) => M(O),
|
|
350
350
|
insertOnMousePos: (O, h, x) => {
|
|
351
|
-
const B = M(O), g = N(O), V =
|
|
351
|
+
const B = M(O), g = N(O), V = Ln(x, h, B, g);
|
|
352
352
|
return ot(() => {
|
|
353
353
|
i(O, B + (h == null ? void 0 : h.length));
|
|
354
354
|
}), V;
|
|
@@ -367,11 +367,11 @@ const et = (t) => {
|
|
|
367
367
|
return [U.treeSelect, U.cascader, U.select, U.checkbox, U.radio].includes(u);
|
|
368
368
|
};
|
|
369
369
|
function ao(t) {
|
|
370
|
-
const u = t == null ? void 0 : t.designState, p = (t == null ? void 0 : t.created) != !1, M = t == null ? void 0 : t.exResetField, N = t == null ? void 0 : t.extInitFieldModel, D = t == null ? void 0 : t.exposedWholeInstance, i = t == null ? void 0 : t.widget, W = t == null ? void 0 : t.designer,
|
|
370
|
+
const u = t == null ? void 0 : t.designState, p = (t == null ? void 0 : t.created) != !1, M = t == null ? void 0 : t.exResetField, N = t == null ? void 0 : t.extInitFieldModel, D = t == null ? void 0 : t.exposedWholeInstance, i = t == null ? void 0 : t.widget, W = t == null ? void 0 : t.designer, F = W == null ? void 0 : W.pageConfig, { formRefList: O, globalRefList: h, globalConfig: x, globalFormName: B, globalDataModel: g, rowScope: V } = An.globalInject();
|
|
371
371
|
let C = xn(g || {});
|
|
372
372
|
const v = pe(h), _ = pe(O), { instance: n } = ct(), l = () => Y(C), r = () => V, d = () => i, f = {
|
|
373
373
|
designState: u,
|
|
374
|
-
pageConfig:
|
|
374
|
+
pageConfig: F,
|
|
375
375
|
formData: !u && et(i) ? C : {},
|
|
376
376
|
globalConfig: x
|
|
377
377
|
}, s = {
|
|
@@ -395,7 +395,7 @@ function ao(t) {
|
|
|
395
395
|
}, P = {
|
|
396
396
|
instance: D ? n : S,
|
|
397
397
|
...f
|
|
398
|
-
}, { on$:
|
|
398
|
+
}, { on$: I, dispatch: G, emit$: ee } = In(), { onCompErrorCaptured: dt } = qn(), { existFunc: gt } = Gn({ options: i == null ? void 0 : i.options }, P), { isIdClass: ht, getIdByIdClass: pt } = Kn(i), { getOneSchemaData: Ot, getSchemaDataObject: Vt, getSchemaDatas: Ct } = we(P), te = Qn(), Et = (t == null ? void 0 : t.shareProp) || { s_attr: !0, s_extendAttr: !0, s_events: !0, s_slots: !0, s_fieldName: !0, s_optionItems: !0 }, { attrs: Fe, extendAttrs: Oe, events: k, slots: Ie, rules: Le, fieldName: y, buildRules: bt, clearRules: yt, disableChangeValidate: Rt, enableChangeValidate: xt, optionItems: ae, filterOptionItems: Mt, getCheckedOptionText: St, getCheckedOptionValues: _t, getCheckedOptionLabels: Dt, getCheckedOptionItems: Wt, activeOptionItems: Pt, activeOptionItem: Nt, activeOptionItemIndex: Bt, setOptionItems: Te, setWidgetOption: ne, getWidgetOption: Ve, setFieldEnable: Ft, hasFieldOptions: It, getFieldOptions: oe, setFieldOptions: Lt, computedDefaultValue: ce, hasDefaultValue: ie, singleOption: Tt, watchOption: jt, addCssClass: $t, removeCssClass: At } = it(i, P, Et, n);
|
|
399
399
|
let Ce = null, R = me();
|
|
400
400
|
const K = me(), kt = () => y.value, je = () => `${i == null ? void 0 : i.id}-${kn()}`, Ee = me(je()), $e = () => {
|
|
401
401
|
Ee.value = je();
|
|
@@ -428,14 +428,14 @@ function ao(t) {
|
|
|
428
428
|
o == null || o(e);
|
|
429
429
|
return;
|
|
430
430
|
}
|
|
431
|
-
|
|
431
|
+
Te(e);
|
|
432
432
|
}, be = (e) => {
|
|
433
433
|
var o, a, m;
|
|
434
434
|
return (m = (a = (o = v.getWidgetRef(y.value)) == null ? void 0 : o.exposed) == null ? void 0 : a.getCheckedItems) == null ? void 0 : m.call(a, e);
|
|
435
435
|
}, Ae = (e) => {
|
|
436
436
|
var o, a, m;
|
|
437
437
|
return (m = (a = (o = v.getWidgetRef(y.value)) == null ? void 0 : o.exposed) == null ? void 0 : a.getCheckedLabels) == null ? void 0 : m.call(a, e);
|
|
438
|
-
},
|
|
438
|
+
}, qt = (e) => {
|
|
439
439
|
var o, a, m;
|
|
440
440
|
return (m = (a = (o = v.getWidgetRef(y.value)) == null ? void 0 : o.exposed) == null ? void 0 : a.getCheckedText) == null ? void 0 : m.call(a, e);
|
|
441
441
|
}, ye = () => {
|
|
@@ -443,7 +443,7 @@ function ao(t) {
|
|
|
443
443
|
const e = (E = Oe.value) == null ? void 0 : E.withAttachData;
|
|
444
444
|
if (!tt(i) || e === !1)
|
|
445
445
|
return;
|
|
446
|
-
const o = R.value, a = Ae(o), m =
|
|
446
|
+
const o = R.value, a = Ae(o), m = qt(o);
|
|
447
447
|
var b = Y(be(o));
|
|
448
448
|
ke(a, b, m);
|
|
449
449
|
}, ke = (e, o, a) => {
|
|
@@ -480,7 +480,7 @@ function ao(t) {
|
|
|
480
480
|
R = ft.get(e, y.value);
|
|
481
481
|
}, Ue = (e) => {
|
|
482
482
|
Ce = Y(e);
|
|
483
|
-
},
|
|
483
|
+
}, Gt = () => {
|
|
484
484
|
u || N && N(z());
|
|
485
485
|
}, Jt = () => {
|
|
486
486
|
ie() && ve(ce()).then((e) => {
|
|
@@ -491,15 +491,16 @@ function ao(t) {
|
|
|
491
491
|
return;
|
|
492
492
|
ee($.fieldValueChanged, { newValue: e, oldValue: o });
|
|
493
493
|
const a = { fieldId: i.id, fieldName: y.value, newValue: e, oldValue: o };
|
|
494
|
-
|
|
494
|
+
G(B, $.fieldChange, a, n);
|
|
495
495
|
}, zt = (e) => gt(e), xe = (e, o) => Pe(Ve(e), o), Qt = (e) => {
|
|
496
496
|
re(e), Je(), xe($.onInput, { value: e });
|
|
497
497
|
}, Xt = (e, o) => {
|
|
498
498
|
var a, m, b;
|
|
499
499
|
return (b = (m = (a = v.getWidgetRef(y.value)) == null ? void 0 : a.exposed) == null ? void 0 : m.handleBeforeChange) == null ? void 0 : b.call(m, e, o);
|
|
500
500
|
}, Yt = (...e) => {
|
|
501
|
-
var b, E,
|
|
502
|
-
|
|
501
|
+
var b, E, L;
|
|
502
|
+
console.log(e);
|
|
503
|
+
let a = ((b = e == null ? void 0 : e[0]) == null ? void 0 : b.target) != null ? (L = (E = e == null ? void 0 : e[0]) == null ? void 0 : E.target) == null ? void 0 : L.value : e == null ? void 0 : e[0];
|
|
503
504
|
a = Y(a);
|
|
504
505
|
var m = Xt(a, Ce);
|
|
505
506
|
m != null ? re(m) : re(a), Re(a, Ce), Je(), Ue(a);
|
|
@@ -510,14 +511,14 @@ function ao(t) {
|
|
|
510
511
|
}, en = (e = !0) => {
|
|
511
512
|
ne(j.hidden, e), e ? Qe() : le();
|
|
512
513
|
}, tn = (e = !0) => {
|
|
513
|
-
|
|
514
|
+
Ft(j.required, e), le();
|
|
514
515
|
}, nn = (e) => {
|
|
515
516
|
ne(j.label, e);
|
|
516
|
-
}, z = () => R == null ? void 0 : R.value,
|
|
517
|
+
}, z = () => R == null ? void 0 : R.value, qe = (e) => {
|
|
517
518
|
R.value = e;
|
|
518
519
|
}, fe = (e) => {
|
|
519
520
|
let o = Y(z());
|
|
520
|
-
if (
|
|
521
|
+
if (qe(e), !Q(i))
|
|
521
522
|
return;
|
|
522
523
|
const a = z();
|
|
523
524
|
o !== a && (re(a), Re(e, o));
|
|
@@ -535,19 +536,19 @@ function ao(t) {
|
|
|
535
536
|
}, un = (e) => {
|
|
536
537
|
var E;
|
|
537
538
|
e.preventDefault();
|
|
538
|
-
const o = (
|
|
539
|
+
const o = (L) => {
|
|
539
540
|
var H;
|
|
540
|
-
const
|
|
541
|
-
return
|
|
541
|
+
const T = (H = Array.from(L.classList)) == null ? void 0 : H.find((Me) => ht(Me));
|
|
542
|
+
return T ? pt(T) : "";
|
|
542
543
|
}, a = document.activeElement;
|
|
543
544
|
if (!a)
|
|
544
545
|
return;
|
|
545
546
|
const m = document.getElementsByClassName(Ze.formItemTarget);
|
|
546
547
|
for (var b = 0; b < m.length; b++) {
|
|
547
|
-
const
|
|
548
|
-
if (!
|
|
548
|
+
const L = m[b], T = vt(a, Ze.formItemTarget);
|
|
549
|
+
if (!T)
|
|
549
550
|
continue;
|
|
550
|
-
const H = o(
|
|
551
|
+
const H = o(L), Me = o(T);
|
|
551
552
|
if (H === Me) {
|
|
552
553
|
if (b === m.length - 1)
|
|
553
554
|
return;
|
|
@@ -561,20 +562,20 @@ function ao(t) {
|
|
|
561
562
|
}
|
|
562
563
|
};
|
|
563
564
|
let an = () => {
|
|
564
|
-
var
|
|
565
|
+
var L;
|
|
565
566
|
let e = {
|
|
566
567
|
componentName: y.value,
|
|
567
568
|
//用于组件事件emitter发射与接收处理
|
|
568
569
|
refList: O,
|
|
569
570
|
allRefList: h,
|
|
570
571
|
fieldEditor: () => K.value,
|
|
571
|
-
changeRegisterToRefList: (
|
|
572
|
-
v.changeRegisterToRefList(
|
|
572
|
+
changeRegisterToRefList: (T, H) => {
|
|
573
|
+
v.changeRegisterToRefList(T, H), _.changeRegisterToRefList(T, H);
|
|
573
574
|
},
|
|
574
575
|
getField: d,
|
|
575
576
|
getFormData: l,
|
|
576
577
|
getValue: z,
|
|
577
|
-
setValue:
|
|
578
|
+
setValue: qe,
|
|
578
579
|
emit$: ee,
|
|
579
580
|
findRefByName: v.getWidgetRef,
|
|
580
581
|
findRefById: v.findRefById,
|
|
@@ -606,8 +607,8 @@ function ao(t) {
|
|
|
606
607
|
getMousePos: () => {
|
|
607
608
|
te.getMousePos(K.value);
|
|
608
609
|
},
|
|
609
|
-
setMousePos: (
|
|
610
|
-
te.setMousePos(K.value,
|
|
610
|
+
setMousePos: (T) => {
|
|
611
|
+
te.setMousePos(K.value, T);
|
|
611
612
|
}
|
|
612
613
|
}, a = {
|
|
613
614
|
loadOptionItems: Ut,
|
|
@@ -620,9 +621,9 @@ function ao(t) {
|
|
|
620
621
|
[j.disabled]: { name: A.setDisabled, fn: wt },
|
|
621
622
|
[j.readonly]: { name: A.setReadonly, fn: Zt }
|
|
622
623
|
}, b = {};
|
|
623
|
-
(
|
|
624
|
-
if (De(i,
|
|
625
|
-
const H = m[
|
|
624
|
+
(L = X(m)) == null || L.forEach((T) => {
|
|
625
|
+
if (De(i, T)) {
|
|
626
|
+
const H = m[T];
|
|
626
627
|
b[H.name] = H.fn;
|
|
627
628
|
}
|
|
628
629
|
});
|
|
@@ -630,10 +631,10 @@ function ao(t) {
|
|
|
630
631
|
return Q(i) && (E = se(E, o)), tt(i) && (E = se(E, a)), E;
|
|
631
632
|
};
|
|
632
633
|
const cn = _e(() => ({
|
|
633
|
-
attrs:
|
|
634
|
+
attrs: Fe.value,
|
|
634
635
|
extendAttrs: Oe.value,
|
|
635
636
|
events: k.value,
|
|
636
|
-
slots:
|
|
637
|
+
slots: Ie.value,
|
|
637
638
|
fieldKey: Ee.value,
|
|
638
639
|
fieldEditor: K.value,
|
|
639
640
|
fieldName: y.value
|
|
@@ -648,22 +649,22 @@ function ao(t) {
|
|
|
648
649
|
deep: !0
|
|
649
650
|
});
|
|
650
651
|
}, ln = (e, o, a) => {
|
|
651
|
-
const m = me(), b = He(e), E = (
|
|
652
|
-
o && (m.value = o(
|
|
652
|
+
const m = me(), b = He(e), E = (L) => {
|
|
653
|
+
o && (m.value = o(L || b));
|
|
653
654
|
};
|
|
654
|
-
return rt(b) ? Z(b, (
|
|
655
|
-
E(
|
|
655
|
+
return rt(b) ? Z(b, (L) => {
|
|
656
|
+
E(L), a && a(L);
|
|
656
657
|
}) : E(b), m;
|
|
657
|
-
},
|
|
658
|
+
}, Ge = () => {
|
|
658
659
|
!Q(i) || u || sn((e) => {
|
|
659
|
-
Jn(h, i == null ? void 0 : i.id, P), zn(h, i == null ? void 0 : i.id,
|
|
660
|
+
Jn(h, i == null ? void 0 : i.id, P), zn(h, i == null ? void 0 : i.id, q.getOptions(i, j.relate), e), ye();
|
|
660
661
|
}, { immediate: !0 });
|
|
661
662
|
}, Je = () => {
|
|
662
663
|
const e = { propName: y.value };
|
|
663
|
-
|
|
664
|
+
G(B, $.fieldValidation, e, n);
|
|
664
665
|
}, ze = () => {
|
|
665
|
-
const e = { fieldId: i.id, fieldName: y.value, rules:
|
|
666
|
-
|
|
666
|
+
const e = { fieldId: i.id, fieldName: y.value, rules: Le };
|
|
667
|
+
G(B, $.fieldRuleChange, e, n);
|
|
667
668
|
}, le = () => {
|
|
668
669
|
if (!Q(i))
|
|
669
670
|
return;
|
|
@@ -672,9 +673,9 @@ function ao(t) {
|
|
|
672
673
|
}, Qe = () => {
|
|
673
674
|
yt(), ze();
|
|
674
675
|
}, mn = () => {
|
|
675
|
-
De(i, "change") && (k.value.change = Yt), De(i, "input") && (k.value.input = Qt),
|
|
676
|
+
De(i, "change") && (k.value.change = Yt), De(i, "input") && (k.value.input = Qt), I(Tn.setFormData, (e) => {
|
|
676
677
|
fe(e[y.value]);
|
|
677
|
-
}),
|
|
678
|
+
}), I($.fieldValueChanged, (e) => {
|
|
678
679
|
xe($.onChange, { value: e == null ? void 0 : e.newValue, oldValue: e == null ? void 0 : e.oldValue });
|
|
679
680
|
});
|
|
680
681
|
}, vn = () => {
|
|
@@ -683,7 +684,7 @@ function ao(t) {
|
|
|
683
684
|
o == null ? J(null) : J(o);
|
|
684
685
|
})), Ke()) : ie() && ve(ce()).then((o) => {
|
|
685
686
|
fe(o);
|
|
686
|
-
}), Ue(z()),
|
|
687
|
+
}), Ue(z()), Gt();
|
|
687
688
|
}, dn = () => {
|
|
688
689
|
Z(() => ae == null ? void 0 : ae.value, (e, o) => {
|
|
689
690
|
ye();
|
|
@@ -691,11 +692,11 @@ function ao(t) {
|
|
|
691
692
|
}, gn = () => {
|
|
692
693
|
const e = Sn(jn.isRenderComplete);
|
|
693
694
|
if (e != null && e.value) {
|
|
694
|
-
|
|
695
|
+
Ge();
|
|
695
696
|
return;
|
|
696
697
|
}
|
|
697
698
|
e != null && Z(() => e == null ? void 0 : e.value, (o) => {
|
|
698
|
-
o &&
|
|
699
|
+
o && Ge();
|
|
699
700
|
}, { immediate: !0 });
|
|
700
701
|
}, hn = () => {
|
|
701
702
|
var e, o;
|
|
@@ -726,13 +727,13 @@ function ao(t) {
|
|
|
726
727
|
fieldKey: Ee,
|
|
727
728
|
field: i,
|
|
728
729
|
instance: n,
|
|
729
|
-
attrs:
|
|
730
|
+
attrs: Fe,
|
|
730
731
|
extendAttrs: Oe,
|
|
731
|
-
slots:
|
|
732
|
+
slots: Ie,
|
|
732
733
|
events: k,
|
|
733
|
-
rules:
|
|
734
|
+
rules: Le,
|
|
734
735
|
fieldObj: cn,
|
|
735
|
-
pageConfig:
|
|
736
|
+
pageConfig: F,
|
|
736
737
|
formModel: C,
|
|
737
738
|
fieldName: y,
|
|
738
739
|
propResultOpt: P,
|
|
@@ -741,7 +742,7 @@ function ao(t) {
|
|
|
741
742
|
activeOptionItem: Nt,
|
|
742
743
|
activeOptionItemIndex: Bt,
|
|
743
744
|
filterOptionItems: Mt,
|
|
744
|
-
setOptionItems:
|
|
745
|
+
setOptionItems: Te,
|
|
745
746
|
getCheckedItems: be,
|
|
746
747
|
getCheckedOptionItems: (e) => Wt(e || R.value),
|
|
747
748
|
getCheckedOptionLabels: (e) => Dt(e || R.value),
|
|
@@ -761,10 +762,10 @@ function ao(t) {
|
|
|
761
762
|
buildRules: le,
|
|
762
763
|
getFieldOptionModel: He,
|
|
763
764
|
getFieldOptions: oe,
|
|
764
|
-
hasFieldOptions:
|
|
765
|
-
setFieldOptions:
|
|
765
|
+
hasFieldOptions: It,
|
|
766
|
+
setFieldOptions: Lt,
|
|
766
767
|
getWidgetOption: Ve,
|
|
767
|
-
singleOption:
|
|
768
|
+
singleOption: Tt,
|
|
768
769
|
watchOption: jt,
|
|
769
770
|
mergeOptionToFormModel: ke
|
|
770
771
|
};
|
|
@@ -773,5 +774,5 @@ export {
|
|
|
773
774
|
Be as R,
|
|
774
775
|
pe as a,
|
|
775
776
|
ao as b,
|
|
776
|
-
|
|
777
|
+
Gn as u
|
|
777
778
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as g, computed as x } from "vue";
|
|
2
|
-
import { d as O, a as f,
|
|
2
|
+
import { d as O, a as f, z as m } from "./enum-type-493ca5fb.js";
|
|
3
3
|
import { u as ee } from "./icon-e9532b43.js";
|
|
4
|
-
import { b as le } from "./share-field-
|
|
5
|
-
import { f as s } from "./expression-
|
|
6
|
-
import { t as ne } from "./uuid-
|
|
7
|
-
import { g as oe, f as v } from "./baseImp-
|
|
4
|
+
import { b as le } from "./share-field-4ad79e1a.js";
|
|
5
|
+
import { f as s } from "./expression-6a929144.js";
|
|
6
|
+
import { t as ne } from "./uuid-42b6e595.js";
|
|
7
|
+
import { g as oe, f as v } from "./baseImp-5e9f6c21.js";
|
|
8
8
|
function ce(S) {
|
|
9
9
|
const B = g({});
|
|
10
10
|
let r = [];
|
|
@@ -12,7 +12,7 @@ function ce(S) {
|
|
|
12
12
|
e && (r = ne(e, !0));
|
|
13
13
|
}, I = () => {
|
|
14
14
|
E.value.clearFiles(), r.splice(0, r.length);
|
|
15
|
-
}, { fieldEditor: E, fieldKey: k, fieldModel: a, field: P, attrs: U, extendAttrs: i, events: T, exposed:
|
|
15
|
+
}, { fieldEditor: E, fieldKey: k, fieldModel: a, field: P, attrs: U, extendAttrs: i, events: T, exposed: V, syncUpdateFormModel: C, emitFieldDataChange: b, existEvent: z, handleEvent: d, getWidgetOption: A, rules: $, fieldObj: j } = le({ ...S, extInitFieldModel: D, exResetField: I }), { instance: G } = ee(), H = oe({ instance: G }), F = g({ key: "" }), K = x(() => {
|
|
16
16
|
var e;
|
|
17
17
|
return r.length >= ((e = i.value) == null ? void 0 : e.limit);
|
|
18
18
|
}), N = x(() => {
|
|
@@ -23,22 +23,22 @@ function ce(S) {
|
|
|
23
23
|
let o = (l = i.value) == null ? void 0 : l.limit;
|
|
24
24
|
v.warning(f.i18nt("render.hint.uploadExceed").replace("${uploadLimit}", o));
|
|
25
25
|
}, q = (e) => {
|
|
26
|
-
var
|
|
27
|
-
let n = !1, o = e.name.substring(e.name.lastIndexOf(".") + 1), l = (
|
|
26
|
+
var y, L;
|
|
27
|
+
let n = !1, o = e.name.substring(e.name.lastIndexOf(".") + 1), l = (y = i.value) == null ? void 0 : y.fileTypes;
|
|
28
28
|
if (l && (l == null ? void 0 : l.length) > 0 && (n = l.some((h) => o.toLowerCase() === h.toLowerCase())), !n)
|
|
29
29
|
return v.error(f.i18nt("render.hint.unsupportedFileType") + o), !1;
|
|
30
30
|
let u = !1, t = 5, p = (L = i == null ? void 0 : i.value) == null ? void 0 : L.fileMaxSize;
|
|
31
31
|
if (p && (t = p), u = (e.size || 0) / 1024 / 1024 <= t, !u)
|
|
32
32
|
return v.error(f.i18nt("render.hint.fileSizeExceed") + t + "MB"), !1;
|
|
33
33
|
F.value.key = e.name;
|
|
34
|
-
const c =
|
|
34
|
+
const c = A("dataFn");
|
|
35
35
|
if (c) {
|
|
36
36
|
const h = c == null ? void 0 : c(H);
|
|
37
37
|
O(F.value, h);
|
|
38
38
|
}
|
|
39
39
|
return J(e);
|
|
40
40
|
}, J = (e) => {
|
|
41
|
-
if (
|
|
41
|
+
if (z(s.onBeforeUpload)) {
|
|
42
42
|
let n = d(s.onBeforeUpload, { file: e });
|
|
43
43
|
return typeof n == "boolean" ? n : !0;
|
|
44
44
|
}
|
|
@@ -49,7 +49,7 @@ function ce(S) {
|
|
|
49
49
|
let l = d(s.onUploadSuccess, { result: e, file: n, fileList: o });
|
|
50
50
|
Y(o, l, e), l && l.name && (n.name = l.name), l && l.url && (n.url = l.url), r = m(o);
|
|
51
51
|
}, R = (e, n, o) => {
|
|
52
|
-
|
|
52
|
+
z(s.onUploadError) ? d(s.onUploadError, { error: e, file: n, fileList: o }) : v.error(f.i18nt("render.hint.uploadError") + e);
|
|
53
53
|
}, X = (e, n, o) => {
|
|
54
54
|
let l = -1, u = null;
|
|
55
55
|
r.forEach((t, p) => {
|
|
@@ -67,8 +67,8 @@ function ce(S) {
|
|
|
67
67
|
}, Z = (e, n) => {
|
|
68
68
|
let o = m(a.value);
|
|
69
69
|
a.value.splice(e, 1), C(a.value), b(a.value, o);
|
|
70
|
-
},
|
|
71
|
-
|
|
70
|
+
}, M = g(1), w = x(() => r == null ? void 0 : r.map((e) => e.url)), _ = (e) => {
|
|
71
|
+
M.value = w.value.indexOf(e);
|
|
72
72
|
};
|
|
73
73
|
return O(U.value, {
|
|
74
74
|
onRemove: null,
|
|
@@ -94,10 +94,10 @@ function ce(S) {
|
|
|
94
94
|
uploadBtnHidden: K,
|
|
95
95
|
uploadData: F,
|
|
96
96
|
uploadTip: N,
|
|
97
|
-
previewIndex:
|
|
98
|
-
previewList:
|
|
97
|
+
previewIndex: M,
|
|
98
|
+
previewList: w,
|
|
99
99
|
exposed: {
|
|
100
|
-
...
|
|
100
|
+
...V
|
|
101
101
|
// initFileList
|
|
102
102
|
},
|
|
103
103
|
// getFieldOptions,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { defineComponent as d, computed as w, resolveComponent as x, openBlock as s, createBlock as m, mergeProps as n, unref as e, withCtx as C, isRef as F, toHandlers as b, createTextVNode as z, toDisplayString as I } from "vue";
|
|
2
|
-
import { b as B } from "./share-field-
|
|
2
|
+
import { b as B } from "./share-field-4ad79e1a.js";
|
|
3
3
|
import { I as E } from "./field-base-5547436d.js";
|
|
4
|
-
import N from "./form-item-wrapper-
|
|
5
|
-
import { w as P } from "./expression-
|
|
6
|
-
import { t as a } from "./uuid-
|
|
7
|
-
import "./enum-type-
|
|
8
|
-
import "./multirow-
|
|
9
|
-
import "./baseImp-
|
|
10
|
-
import "./enum-type-
|
|
4
|
+
import N from "./form-item-wrapper-4d5d5aea.js";
|
|
5
|
+
import { w as P } from "./expression-6a929144.js";
|
|
6
|
+
import { t as a } from "./uuid-42b6e595.js";
|
|
7
|
+
import "./enum-type-493ca5fb.js";
|
|
8
|
+
import "./multirow-64cb721f.js";
|
|
9
|
+
import "./baseImp-5e9f6c21.js";
|
|
10
|
+
import "./enum-type-f8c7654b.js";
|
|
11
11
|
import "./icon-e9532b43.js";
|
|
12
|
-
import "./dialog-
|
|
12
|
+
import "./dialog-47f6c88e.js";
|
|
13
13
|
import "./_commonjsHelpers-e7ea1525.js";
|
|
14
14
|
import "element-plus";
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./slot-
|
|
15
|
+
import "./index-a3039561.js";
|
|
16
|
+
import "./slot-7ebda734.js";
|
|
17
17
|
import "./widget-base-4c2d6265.js";
|
|
18
|
-
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-
|
|
19
|
-
import "./index-
|
|
18
|
+
import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4e9abe9d.js";
|
|
19
|
+
import "./index-05c0fa7f.js";
|
|
20
20
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
-
import "./fieldobj-
|
|
22
|
-
import "./label-wrapper.vue_vue_type_style_index_0_lang-
|
|
21
|
+
import "./fieldobj-658deb6a.js";
|
|
22
|
+
import "./label-wrapper.vue_vue_type_style_index_0_lang-cbeb0230.js";
|
|
23
23
|
import "./source-map-b04aec4a.js";
|
|
24
24
|
import "./esprima-e8d15055.js";
|
|
25
25
|
const S = d({ componentName: P.FieldWidget }), pe = /* @__PURE__ */ d({
|
|
@@ -2,9 +2,9 @@ var q = Object.defineProperty;
|
|
|
2
2
|
var O = (s, l, o) => l in s ? q(s, l, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[l] = o;
|
|
3
3
|
var n = (s, l, o) => (O(s, typeof l != "symbol" ? l + "" : l, o), o);
|
|
4
4
|
import { inject as L, provide as C, computed as g } from "vue";
|
|
5
|
-
import { d as i, g as b, s as T } from "./expression-
|
|
6
|
-
import { B as V } from "./baseImp-
|
|
7
|
-
import { c as A } from "./uuid-
|
|
5
|
+
import { d as i, g as b, s as T } from "./expression-6a929144.js";
|
|
6
|
+
import { B as V } from "./baseImp-5e9f6c21.js";
|
|
7
|
+
import { c as A } from "./uuid-42b6e595.js";
|
|
8
8
|
class M {
|
|
9
9
|
constructor() {
|
|
10
10
|
/**
|