hlrender 0.0.237 → 0.0.238
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/{_pdf-eef5eff0.js → _pdf-1d06ab5d.js} +6 -6
- package/{_txt-7aec9e18.js → _txt-98728105.js} +6 -6
- package/{_unsupport-665bcde5.js → _unsupport-969793d7.js} +1 -1
- package/{affix-widget-3fb4ce48.js → affix-widget-373a3b20.js} +16 -16
- package/{alert-widget-3cf26201.js → alert-widget-57b97257.js} +16 -16
- package/{anchor-widget-b22b9801.js → anchor-widget-e14445e2.js} +13 -13
- package/{auto-complete-widget-363e11b4.js → auto-complete-widget-2c1918c5.js} +16 -16
- package/{avatar-widget-47a98bb2.js → avatar-widget-ca59b724.js} +16 -16
- package/{backtop-widget-70350a1f.js → backtop-widget-5937f261.js} +16 -16
- package/{badge-widget-587d6141.js → badge-widget-dc6eca31.js} +16 -16
- package/{barcode-widget-be2fbb1a.js → barcode-widget-08d27072.js} +13 -13
- package/{baseImp-d33d81cb.js → baseImp-dfdbcab0.js} +1526 -1523
- package/{breadcrumb-widget-dd8c2847.js → breadcrumb-widget-f9ace776.js} +13 -13
- package/{button-widget-5ea8de26.js → button-widget-e4050c68.js} +16 -16
- package/{cache-widget-db0d608d.js → cache-widget-41ff54bd.js} +15 -15
- package/{card-widget-465a6e4f.js → card-widget-0874f9a6.js} +14 -14
- package/{carousel-widget-158fee31.js → carousel-widget-c6cbc977.js} +14 -14
- package/{cascader-widget-8648fa1a.js → cascader-widget-8ccc759b.js} +15 -15
- package/{chart-widget-eb543015.js → chart-widget-3466998a.js} +13 -13
- package/{checkbox-widget-b7243568.js → checkbox-widget-8e146dd6.js} +15 -15
- package/{collapse-widget-73f74ee1.js → collapse-widget-498dadb2.js} +14 -14
- package/{color-picker-widget-f85e7601.js → color-picker-widget-f66ab1b2.js} +15 -15
- package/{cont-cell-widget-2c2697cd.js → cont-cell-widget-31ee6ffd.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a14aab0f.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-56b94393.js} +5 -5
- package/{cont-widget-baa0480a.js → cont-widget-df595eed.js} +5 -5
- package/{content-wrapper-d6f94cc1.js → content-wrapper-9c385a6a.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-cb142c12.js → content-wrapper.vue_vue_type_script_setup_true_lang-6e4cfd82.js} +3 -3
- package/{date-picker-range-widget-a643cde9.js → date-picker-range-widget-34de8895.js} +15 -15
- package/{date-picker-widget-26bd1b8b.js → date-picker-widget-9fa19a32.js} +15 -15
- package/default-slot-widget-fe03bc7d.js +26 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-4f767529.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c167b953.js} +7 -7
- package/{descriptions-widget-4a859ba6.js → descriptions-widget-4dbc61d5.js} +14 -14
- package/{dialog-0715a75e.js → dialog-29e068dc.js} +2 -2
- package/{dialog-widget-9193d88a.js → dialog-widget-ae9adb14.js} +15 -15
- package/{divider-widget-9a1e2c6f.js → divider-widget-c70b5a52.js} +16 -16
- package/{drag-wrapper-1cedec52.js → drag-wrapper-30fe465d.js} +6 -6
- package/{drawer-widget-0769f8c5.js → drawer-widget-d1292395.js} +15 -15
- package/{dropdown-widget-56119953.js → dropdown-widget-3ac89050.js} +14 -14
- package/{empty-widget-c4bd72de.js → empty-widget-60ef2169.js} +16 -16
- package/{enum-type-05b3d640.js → enum-type-02353175.js} +141 -74
- package/{enum-type-863963a3.js → enum-type-b11d7b84.js} +1 -1
- package/{expression-c6dfaf85.js → expression-24bbff4a.js} +2 -2
- package/feedback-widget-7592050c.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-c266adfc.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8d98bb6e.js} +5 -5
- package/{fieldobj-3c3f945c.js → fieldobj-f1cc30b0.js} +1 -1
- package/{file-upload-widget-604b5c65.js → file-upload-widget-7f0a76a5.js} +20 -20
- package/{form-item-wrapper-b1456c9a.js → form-item-wrapper-01edb1f3.js} +11 -11
- package/{form-widget-34205302.js → form-widget-31d5919a.js} +20 -20
- package/{grid-col-widget-e628f5c6.js → grid-col-widget-9f3780fa.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-86c2011d.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-7d9d3ebe.js} +5 -5
- package/{grid-widget-0e975234.js → grid-widget-07b826b1.js} +5 -5
- package/{html-text-widget-2e79c0f6.js → html-text-widget-425b8f09.js} +14 -14
- package/{icon-widget-fe51fca3.js → icon-widget-e81e69c4.js} +13 -13
- package/{iframe-widget-8f68c7ad.js → iframe-widget-1fa124fc.js} +13 -13
- package/{image-widget-32434364.js → image-widget-6f08b021.js} +13 -13
- package/{index-c86278ac.js → index-05f29049.js} +5 -5
- package/{index-bc398cd7.js → index-443deff9.js} +1 -1
- package/{index-a6b3e309.js → index-94c6f88f.js} +4 -4
- package/{input-number-widget-93bcd23e.js → input-number-widget-72629573.js} +15 -15
- package/{input-widget-a5e76277.js → input-widget-6daf7cb9.js} +16 -16
- package/{label-wrapper-5d9ff850.js → label-wrapper-10da2e17.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-2f26196d.js → label-wrapper.vue_vue_type_style_index_0_lang-890fb964.js} +3 -3
- package/{link-widget-a8dbd05f.js → link-widget-b652d071.js} +16 -16
- package/{ltable-col-widget-4817224c.js → ltable-col-widget-a0d28825.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-16fb3742.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-f07c0ed7.js} +9 -9
- package/{ltable-widget-aa443b99.js → ltable-widget-3b91143c.js} +5 -5
- package/{menu-widget-0bc0a794.js → menu-widget-04768e31.js} +66 -63
- package/{model-widget-93c84ecc.js → model-widget-9e9d4a7a.js} +13 -13
- package/{multirow-5aeea4b2.js → multirow-ed94011a.js} +6 -6
- package/{multirow-widget-7e0e16c8.js → multirow-widget-3d4f53d0.js} +15 -15
- package/package.json +1 -1
- package/{pagination-widget-c8affd2d.js → pagination-widget-1eaa698c.js} +13 -13
- package/{picture-upload-widget-79a0c638.js → picture-upload-widget-09cbed46.js} +16 -16
- package/{progress-widget-2183ddba.js → progress-widget-16c4310b.js} +14 -14
- package/{qrcode-widget-487a957b.js → qrcode-widget-00486ab1.js} +13 -13
- package/{radio-widget-0b335fac.js → radio-widget-08aa0bfb.js} +15 -15
- package/{range-widget-3a25ce78.js → range-widget-a314d1f4.js} +16 -16
- package/{rate-widget-e4281eb2.js → rate-widget-73302c33.js} +15 -15
- package/render.es.js +32 -32
- package/render.umd.js +366 -303
- package/{result-widget-bb2c31d7.js → result-widget-fcedac30.js} +14 -14
- package/{rich-editor-widget-6b479844.js → rich-editor-widget-77d42d80.js} +25 -25
- package/{router-widget-26e3f2df.js → router-widget-b5dbe3e4.js} +13 -13
- package/{select-widget-da8745cc.js → select-widget-a62b2b0d.js} +15 -15
- package/{sfc-96c22476.js → sfc-115a39dc.js} +8 -8
- package/{sfcview-f98ae62e.js → sfcview-58a176d1.js} +7 -7
- package/{share-field-d0b456b0.js → share-field-af691927.js} +174 -173
- package/{share-file-21899b34.js → share-file-b346d1d6.js} +11 -11
- package/{slider-widget-e6101f82.js → slider-widget-c86b60a4.js} +15 -15
- package/{slot-c76b9bad.js → slot-bf7aaad4.js} +3 -3
- package/{static-text-widget-c56ef00a.js → static-text-widget-1b978fc5.js} +14 -14
- package/{steps-widget-7c4c77d5.js → steps-widget-0c94b4d4.js} +13 -13
- package/{subMenu-widget-81be6811.js → subMenu-widget-51f7e8df.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-6b7ed485.js → subMenu-widget.vue_vue_type_script_setup_true_lang-f968bc58.js} +3 -3
- package/{switch-widget-e155fc1d.js → switch-widget-9ccbcdd9.js} +15 -15
- package/{tab-pane-widget-46b64406.js → tab-pane-widget-7fe91fd6.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-d15e956f.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-4fb8723b.js} +5 -5
- package/table-col-widget-5846b3e5.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-3d21b4a8.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-62f87554.js} +7 -7
- package/{table-widget-a8003b07.js → table-widget-85bd124d.js} +15 -15
- package/{tabs-widget-fce2338a.js → tabs-widget-8039bc12.js} +7 -7
- package/{tag-widget-705a32e0.js → tag-widget-6041e684.js} +16 -16
- package/{text-widget-0277f298.js → text-widget-c52f22f6.js} +16 -16
- package/{textarea-widget-6f6ccab0.js → textarea-widget-48ca63cb.js} +15 -15
- package/{time-picker-range-widget-8177ca80.js → time-picker-range-widget-d42cf4e6.js} +15 -15
- package/{time-picker-widget-4c8bea3c.js → time-picker-widget-58596257.js} +15 -15
- package/{time-select-widget-eb8285c7.js → time-select-widget-17bc387e.js} +15 -15
- package/{tmpl-widget-9028d5d0.js → tmpl-widget-e869b13a.js} +14 -14
- package/{tree-select-widget-8ae03820.js → tree-select-widget-b68349fa.js} +15 -15
- package/{tree-widget-ba7efb88.js → tree-widget-b24918ea.js} +13 -13
- package/{uuid-bbcaab76.js → uuid-4bdfeca9.js} +1 -1
- package/{verifycode-widget-c0e55052.js → verifycode-widget-c7e7409c.js} +13 -13
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-56a37153.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ada7f777.js} +7 -7
- package/{wrapper-widget-bde5c591.js → wrapper-widget-d649c2f3.js} +6 -6
- package/default-slot-widget-99a269df.js +0 -26
- package/feedback-widget-f73e311e.js +0 -26
- package/table-col-widget-0b960796.js +0 -22
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Ze = (t, a, p) => (
|
|
4
|
-
import { onMounted as ot, nextTick as rt, onActivated as
|
|
5
|
-
import { m as ue, a as Ie, c as Te, t as ut, i as at, o as X, g as w, w as Fn, K as
|
|
6
|
-
import { p as we, b as ft, g as
|
|
1
|
+
var Mn = Object.defineProperty;
|
|
2
|
+
var Sn = (t, a, p) => a in t ? Mn(t, a, { enumerable: !0, configurable: !0, writable: !0, value: p }) : t[a] = p;
|
|
3
|
+
var Ze = (t, a, p) => (Sn(t, typeof a != "symbol" ? a + "" : a, p), p);
|
|
4
|
+
import { onMounted as ot, nextTick as rt, onActivated as Pn, onErrorCaptured as Wn, isRef as st, watch as Z, reactive as In, ref as de, computed as Se, onBeforeUnmount as Nn, inject as Tn, toRefs as Bn } from "vue";
|
|
5
|
+
import { m as ue, a as Ie, c as Te, t as ut, i as at, o as X, g as w, w as Fn, K as Dn, h as ct, f as it, k as Ln, n as jn, G as Y, d as ge, A as $n, I as he } from "./enum-type-02353175.js";
|
|
6
|
+
import { p as we, b as ft, g as kn, f as pe, a as An } from "./multirow-ed94011a.js";
|
|
7
7
|
import { u as lt } from "./icon-a0e0cdb0.js";
|
|
8
|
-
import { f as $, j as Oe, k as
|
|
9
|
-
import { b as mt, d as Ne, B as
|
|
10
|
-
import { F as
|
|
11
|
-
import { f as
|
|
12
|
-
import { W as k, c as Q } from "./enum-type-
|
|
13
|
-
import { m as
|
|
14
|
-
function
|
|
8
|
+
import { f as $, j as Oe, k as Gn, l as et, b as j, a as Hn, d as Kn } from "./expression-24bbff4a.js";
|
|
9
|
+
import { b as mt, d as Ne, B as K, P as vt, c as dt, e as qn, a as tt } from "./baseImp-dfdbcab0.js";
|
|
10
|
+
import { F as Un, b as Jn, a as zn } from "./slot-bf7aaad4.js";
|
|
11
|
+
import { f as Qn, d as Xn, h as Pe, e as Yn } from "./index-05f29049.js";
|
|
12
|
+
import { W as k, c as Q } from "./enum-type-b11d7b84.js";
|
|
13
|
+
import { m as Zn } from "./uuid-4bdfeca9.js";
|
|
14
|
+
function wn() {
|
|
15
15
|
return {
|
|
16
16
|
onMountedOrActivated: (p) => {
|
|
17
17
|
let x = !1;
|
|
@@ -19,31 +19,31 @@ function Zn() {
|
|
|
19
19
|
p(), rt(() => {
|
|
20
20
|
x = !0;
|
|
21
21
|
});
|
|
22
|
-
}),
|
|
22
|
+
}), Pn(() => {
|
|
23
23
|
x && p();
|
|
24
24
|
});
|
|
25
25
|
},
|
|
26
26
|
onCompErrorCaptured: () => {
|
|
27
|
-
|
|
27
|
+
Wn((p) => (ue.error("onCompErrorCaptured", p), !1));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function eo(t, a) {
|
|
32
32
|
const { getWidgetOption: p, getWidgetOptionByPropValue: x } = mt(t, a), N = (i) => p(i);
|
|
33
33
|
return {
|
|
34
34
|
existFunc: N,
|
|
35
35
|
handleFunc: (i, W) => {
|
|
36
36
|
if (Ie(i)) {
|
|
37
|
-
var
|
|
38
|
-
return Ne(
|
|
37
|
+
var B = N(String(i));
|
|
38
|
+
return Ne(B, W);
|
|
39
39
|
} else {
|
|
40
|
-
var
|
|
41
|
-
return Ne(
|
|
40
|
+
var B = x(Te(i));
|
|
41
|
+
return Ne(B, W);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
class
|
|
46
|
+
class Be {
|
|
47
47
|
constructor(a) {
|
|
48
48
|
Ze(this, "refList", {});
|
|
49
49
|
a && (this.refList = a);
|
|
@@ -64,7 +64,7 @@ class Fe {
|
|
|
64
64
|
}
|
|
65
65
|
function Ve(t) {
|
|
66
66
|
t || (t = {});
|
|
67
|
-
const a = new
|
|
67
|
+
const a = new Be(t), { instance: p } = lt(), x = (g) => a.getWidgetRef(g == null ? void 0 : g.toString()), N = (g, C, E) => {
|
|
68
68
|
var v = [], S = [];
|
|
69
69
|
let o = x(g);
|
|
70
70
|
return o && v.push(o), v == null || v.forEach((l) => {
|
|
@@ -90,7 +90,7 @@ function Ve(t) {
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
return Array.isArray(g) ? v : v == null ? void 0 : v[0];
|
|
93
|
-
},
|
|
93
|
+
}, B = (g, C) => {
|
|
94
94
|
let E = X(t);
|
|
95
95
|
W(E, g, C);
|
|
96
96
|
}, O = (g, C) => {
|
|
@@ -104,9 +104,9 @@ function Ve(t) {
|
|
|
104
104
|
}, l = (f = X(a.refList)) == null ? void 0 : f.find((u) => {
|
|
105
105
|
var M, I;
|
|
106
106
|
try {
|
|
107
|
-
const
|
|
108
|
-
var c = S(
|
|
109
|
-
return !c && (v != null && v.groupName) && (c = o(
|
|
107
|
+
const F = (I = (M = a.refList[u]) == null ? void 0 : M.exposed) == null ? void 0 : I.getField();
|
|
108
|
+
var c = S(F);
|
|
109
|
+
return !c && (v != null && v.groupName) && (c = o(F)), c;
|
|
110
110
|
} catch {
|
|
111
111
|
return !1;
|
|
112
112
|
}
|
|
@@ -130,7 +130,7 @@ function Ve(t) {
|
|
|
130
130
|
callWidgetsExposed: W,
|
|
131
131
|
callRefFunc: i,
|
|
132
132
|
existRefFunc: P,
|
|
133
|
-
setAllRefList:
|
|
133
|
+
setAllRefList: B,
|
|
134
134
|
findRefById: O,
|
|
135
135
|
findRefByName: x,
|
|
136
136
|
changeRegisterToRefList: (g, C) => {
|
|
@@ -140,27 +140,27 @@ function Ve(t) {
|
|
|
140
140
|
unregisterFromRefList: R
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
|
-
const
|
|
144
|
-
const N = new
|
|
143
|
+
const to = (t, a, p, x) => {
|
|
144
|
+
const N = new Be(t), { callRefFunc: P } = Ve(t), { parseGroupId: i } = ft();
|
|
145
145
|
if (!t || t.length <= 0 || !a)
|
|
146
146
|
return;
|
|
147
147
|
const W = () => {
|
|
148
148
|
var o, l;
|
|
149
149
|
return (l = (o = X(t)) == null ? void 0 : o.map((r) => P(t == null ? void 0 : t[r], k.getField))) == null ? void 0 : l.filter((r) => !!r);
|
|
150
|
-
},
|
|
150
|
+
}, B = (o) => {
|
|
151
151
|
var f;
|
|
152
152
|
const l = (f = W()) == null ? void 0 : f.find((u) => (u == null ? void 0 : u.id) === o);
|
|
153
153
|
if (!l)
|
|
154
154
|
return;
|
|
155
|
-
const r =
|
|
155
|
+
const r = K.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 = (o, l) => {
|
|
159
159
|
if (!w(l))
|
|
160
160
|
return;
|
|
161
|
-
const r =
|
|
161
|
+
const r = K.getName(o), d = N.getWidgetRef(r);
|
|
162
162
|
if (d) {
|
|
163
|
-
const f =
|
|
163
|
+
const f = K.getOptions(o, $.defaultValue, !1, !(p != null && p.designState), { ...p, formData: l });
|
|
164
164
|
if (w(f))
|
|
165
165
|
if (st(f)) {
|
|
166
166
|
let u = Z(() => f.value, (c) => {
|
|
@@ -170,11 +170,11 @@ const eo = (t, a, p, x) => {
|
|
|
170
170
|
P(d, k.setValue, { newValue: f });
|
|
171
171
|
}
|
|
172
172
|
}, h = (o, l) => {
|
|
173
|
-
const r =
|
|
173
|
+
const r = B(o);
|
|
174
174
|
if (!r)
|
|
175
175
|
return;
|
|
176
176
|
const d = r.name, f = P(r.ref, k.getValue), u = P(r.ref, k.getCheckedItems), c = {};
|
|
177
|
-
return c[d] = f, f !== void 0 && !
|
|
177
|
+
return c[d] = f, f !== void 0 && !Ln(u) && !l && (c[`${d}${Oe.checkedOptions}`] = u), c;
|
|
178
178
|
}, R = (o, l) => {
|
|
179
179
|
var d;
|
|
180
180
|
var r = [];
|
|
@@ -183,8 +183,8 @@ const eo = (t, a, p, x) => {
|
|
|
183
183
|
return;
|
|
184
184
|
const u = f == null ? void 0 : f.id;
|
|
185
185
|
var c = u === o;
|
|
186
|
-
const M = i(u), I = (M == null ? void 0 : M.id) === o,
|
|
187
|
-
return c || I && (
|
|
186
|
+
const M = i(u), I = (M == null ? void 0 : M.id) === o, F = (M == null ? void 0 : M.groupName) === l;
|
|
187
|
+
return c || I && (F || !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 u;
|
|
@@ -219,9 +219,9 @@ const eo = (t, a, p, x) => {
|
|
|
219
219
|
var M;
|
|
220
220
|
const u = f.group[0], c = [];
|
|
221
221
|
(M = f == null ? void 0 : f.children) == null || M.forEach((I) => {
|
|
222
|
-
const
|
|
223
|
-
if (w(
|
|
224
|
-
var q = Object.values(Te(
|
|
222
|
+
const F = h(I == null ? void 0 : I.id, !0);
|
|
223
|
+
if (w(F)) {
|
|
224
|
+
var q = Object.values(Te(F));
|
|
225
225
|
c.push(...q);
|
|
226
226
|
}
|
|
227
227
|
}), u && (r = Object.assign(r, { [u]: c }));
|
|
@@ -240,23 +240,23 @@ const eo = (t, a, p, x) => {
|
|
|
240
240
|
}), l;
|
|
241
241
|
}, E = (o, l, r) => {
|
|
242
242
|
if (r === pe.Inner2Inner) {
|
|
243
|
-
const c =
|
|
243
|
+
const c = Dn(l), { updateFomula: M } = dt(), { buildVariable: I } = qn();
|
|
244
244
|
var d = C(o);
|
|
245
245
|
if (w(d)) {
|
|
246
|
-
var f =
|
|
247
|
-
var ee = d[
|
|
248
|
-
return at(ee) ? I(
|
|
246
|
+
var f = K.getOrgOption(l, $.defaultValue), u = M(ct(f), d, (F, q) => {
|
|
247
|
+
var ee = d[F];
|
|
248
|
+
return at(ee) ? I(F) : I(ee);
|
|
249
249
|
});
|
|
250
|
-
return
|
|
250
|
+
return K.setOrgOption(c, $.defaultValue, it(u)), c;
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
return l;
|
|
254
254
|
}, v = (o) => {
|
|
255
255
|
const l = o == null ? void 0 : o.id;
|
|
256
|
-
var r =
|
|
256
|
+
var r = K.getOrgOption(o, $.defaultValue);
|
|
257
257
|
if (r == null)
|
|
258
258
|
return;
|
|
259
|
-
const d =
|
|
259
|
+
const d = kn(a, l);
|
|
260
260
|
if (d === pe.DiffInner)
|
|
261
261
|
return;
|
|
262
262
|
var f = vt.getFormulaRelatedField(r);
|
|
@@ -274,21 +274,21 @@ const eo = (t, a, p, x) => {
|
|
|
274
274
|
v(l);
|
|
275
275
|
});
|
|
276
276
|
})();
|
|
277
|
-
},
|
|
277
|
+
}, no = (t, a, p, x, N) => {
|
|
278
278
|
var T;
|
|
279
279
|
if (N || !w(p))
|
|
280
280
|
return;
|
|
281
281
|
const { parseGroupId: P } = ft();
|
|
282
282
|
var i = P(a), W = i == null ? void 0 : i.groupName;
|
|
283
|
-
const { callRefFunc:
|
|
283
|
+
const { callRefFunc: B } = Ve(t), O = (g, C) => {
|
|
284
284
|
var r, d, f;
|
|
285
|
-
const E = (d = (r = X(t)) == null ? void 0 : r.map((u) =>
|
|
285
|
+
const E = (d = (r = X(t)) == null ? void 0 : r.map((u) => B(t == null ? void 0 : t[u], k.getField))) == null ? void 0 : d.filter((u) => !!u), v = (f = Qn(E, (u) => {
|
|
286
286
|
var c = P(u == null ? void 0 : u.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 S =
|
|
291
|
+
const S = K.getName(v), l = new Be(t).getWidgetRef(S);
|
|
292
292
|
l && (C == null || C(l));
|
|
293
293
|
}, h = ut(x == null ? void 0 : x.newValue, !0), R = (T = X(p)) == null ? void 0 : T.filter((g) => h == null ? void 0 : h.includes(g));
|
|
294
294
|
!R || R.length <= 0 || R == null || R.forEach((g) => {
|
|
@@ -299,7 +299,7 @@ const eo = (t, a, p, x) => {
|
|
|
299
299
|
const o = C == null ? void 0 : C[S];
|
|
300
300
|
(l = o == null ? void 0 : o.ids) == null || l.forEach((r) => {
|
|
301
301
|
O(r, (d) => {
|
|
302
|
-
|
|
302
|
+
B(d, o == null ? void 0 : o.event, o == null ? void 0 : o.args);
|
|
303
303
|
});
|
|
304
304
|
});
|
|
305
305
|
});
|
|
@@ -309,7 +309,7 @@ function gt(t, a) {
|
|
|
309
309
|
var p;
|
|
310
310
|
return (p = t == null ? void 0 : t.classList) != null && p.contains(a) ? t : t != null && t.parentElement ? gt(t == null ? void 0 : t.parentElement, a) : null;
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function oo() {
|
|
313
313
|
const t = (O) => {
|
|
314
314
|
if (O)
|
|
315
315
|
return O != null && O.ref ? O == null ? void 0 : O.ref : O;
|
|
@@ -348,7 +348,7 @@ function no() {
|
|
|
348
348
|
setMousePos: i,
|
|
349
349
|
getMousePos: (O) => x(O),
|
|
350
350
|
insertOnMousePos: (O, h, R) => {
|
|
351
|
-
const T = x(O), g = N(O), C =
|
|
351
|
+
const T = x(O), g = N(O), C = Gn(R, h, T, g);
|
|
352
352
|
return rt(() => {
|
|
353
353
|
i(O, T + (h == null ? void 0 : h.length));
|
|
354
354
|
}), C;
|
|
@@ -367,12 +367,12 @@ const nt = (t) => {
|
|
|
367
367
|
const a = t.type;
|
|
368
368
|
return [Q.treeSelect, Q.cascader, Q.select, Q.checkbox, Q.radio].includes(a);
|
|
369
369
|
};
|
|
370
|
-
function
|
|
371
|
-
const a = t == null ? void 0 : t.designState, p = (t == null ? void 0 : t.created) != !1, x = t == null ? void 0 : t.exResetField, N = t == null ? void 0 : t.extInitFieldModel, P = t == null ? void 0 : t.exposedWholeInstance, i = t == null ? void 0 : t.widget, W = t == null ? void 0 : t.designer,
|
|
372
|
-
let E =
|
|
370
|
+
function ho(t) {
|
|
371
|
+
const a = t == null ? void 0 : t.designState, p = (t == null ? void 0 : t.created) != !1, x = t == null ? void 0 : t.exResetField, N = t == null ? void 0 : t.extInitFieldModel, P = t == null ? void 0 : t.exposedWholeInstance, i = t == null ? void 0 : t.widget, W = t == null ? void 0 : t.designer, B = W == null ? void 0 : W.pageConfig, { formRefList: O, globalRefList: h, globalConfig: R, globalFormName: T, globalDataModel: g, rowScope: C } = Un.globalInject();
|
|
372
|
+
let E = In(g || {});
|
|
373
373
|
const v = Ve(h), S = Ve(O), { instance: o } = lt(), l = () => Y(E), r = () => C, d = () => i, f = {
|
|
374
374
|
designState: a,
|
|
375
|
-
pageConfig:
|
|
375
|
+
pageConfig: B,
|
|
376
376
|
formData: !a && nt(i) ? E : {},
|
|
377
377
|
globalConfig: R
|
|
378
378
|
}, u = {
|
|
@@ -382,7 +382,7 @@ function go(t) {
|
|
|
382
382
|
exposed: {
|
|
383
383
|
getFormData: !a && nt(i) ? l : null,
|
|
384
384
|
findRefByName: v.getWidgetRef,
|
|
385
|
-
fieldEditor: () =>
|
|
385
|
+
fieldEditor: () => H.value,
|
|
386
386
|
getField: d,
|
|
387
387
|
getRowScope: r,
|
|
388
388
|
/**
|
|
@@ -397,11 +397,11 @@ function go(t) {
|
|
|
397
397
|
}, I = {
|
|
398
398
|
instance: P ? o : M,
|
|
399
399
|
...f
|
|
400
|
-
}, { on$:
|
|
400
|
+
}, { on$: F, dispatch: q, emit$: ee } = An(), { onCompErrorCaptured: ht } = wn(), { existFunc: pt } = eo({ options: i == null ? void 0 : i.options }, I), { isIdClass: Ot, getIdByIdClass: Vt } = Xn(i), { getOneSchemaData: Ct, getSchemaDataObject: Et, getSchemaDatas: yt, getGlobalParams: bt } = tt(I), te = oo(), Rt = (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: Ce, events: A, slots: De, rules: Le, fieldName: b, buildRules: _t, clearRules: xt, disableChangeValidate: Mt, enableChangeValidate: St, optionItems: ae, refreshOptionItems: Pt, filterOptionItems: Wt, getCheckedOptionText: It, getCheckedOptionValues: Nt, getCheckedOptionLabels: Tt, getCheckedOptionItems: Bt, activeOptionItems: Ft, activeOptionItem: Dt, activeOptionItemIndex: Lt, setOptionItems: je, isOptionWidget: jt, setWidgetOption: ne, getWidgetOption: ce, setFieldEnable: $t, hasFieldOptions: kt, getFieldOptions: oe, setFieldOptions: At, computedDefaultValue: ie, hasDefaultValue: fe, singleOption: Gt, watchOption: $e, addCssClass: Ht, removeCssClass: Kt } = mt(i, I, Rt, o);
|
|
401
401
|
let Ee = null, _ = de();
|
|
402
|
-
const
|
|
402
|
+
const H = de(), qt = () => b.value, ke = () => `${i == null ? void 0 : i.id}-${Zn()}`, ye = de(ke()), Ae = () => {
|
|
403
403
|
ye.value = ke();
|
|
404
|
-
},
|
|
404
|
+
}, Ut = Se({
|
|
405
405
|
get: () => {
|
|
406
406
|
if (Ie(_.value)) {
|
|
407
407
|
var e = Number(_.value);
|
|
@@ -412,18 +412,18 @@ function go(t) {
|
|
|
412
412
|
set: (e) => {
|
|
413
413
|
_.value = e;
|
|
414
414
|
}
|
|
415
|
-
}),
|
|
415
|
+
}), Jt = Se({
|
|
416
416
|
get: () => {
|
|
417
417
|
if (Ie(_.value)) {
|
|
418
418
|
var e = it(_.value);
|
|
419
|
-
|
|
419
|
+
jn(e) && (_.value = e);
|
|
420
420
|
}
|
|
421
421
|
return _.value;
|
|
422
422
|
},
|
|
423
423
|
set: (e) => {
|
|
424
424
|
_.value = e;
|
|
425
425
|
}
|
|
426
|
-
}),
|
|
426
|
+
}), zt = (e) => {
|
|
427
427
|
var s, m;
|
|
428
428
|
var n = (m = (s = v.getWidgetRef(b.value)) == null ? void 0 : s.exposed) == null ? void 0 : m.loadOptionItems;
|
|
429
429
|
if (n !== void 0) {
|
|
@@ -434,23 +434,23 @@ function go(t) {
|
|
|
434
434
|
}, be = (e) => {
|
|
435
435
|
var n, s, m;
|
|
436
436
|
return (m = (s = (n = v.getWidgetRef(b.value)) == null ? void 0 : n.exposed) == null ? void 0 : s.getCheckedItems) == null ? void 0 : m.call(s, e);
|
|
437
|
-
},
|
|
437
|
+
}, Ge = (e) => {
|
|
438
438
|
var n, s, m;
|
|
439
439
|
return (m = (s = (n = v.getWidgetRef(b.value)) == null ? void 0 : n.exposed) == null ? void 0 : s.getCheckedLabels) == null ? void 0 : m.call(s, e);
|
|
440
|
-
},
|
|
440
|
+
}, Qt = (e) => {
|
|
441
441
|
var n, s, m;
|
|
442
442
|
return (m = (s = (n = v.getWidgetRef(b.value)) == null ? void 0 : n.exposed) == null ? void 0 : s.getCheckedText) == null ? void 0 : m.call(s, e);
|
|
443
443
|
}, re = (e) => {
|
|
444
444
|
var V;
|
|
445
|
-
if (!
|
|
445
|
+
if (!jt())
|
|
446
446
|
return;
|
|
447
447
|
const n = (V = Ce.value) == null ? void 0 : V.withAttachData;
|
|
448
448
|
if (!We(i) || n === !1)
|
|
449
449
|
return;
|
|
450
|
-
const s =
|
|
450
|
+
const s = Ge(e), m = Qt(e);
|
|
451
451
|
var y = Y(be(e));
|
|
452
|
-
|
|
453
|
-
},
|
|
452
|
+
He(s, y, m);
|
|
453
|
+
}, He = (e, n, s) => {
|
|
454
454
|
var m = {};
|
|
455
455
|
if (e != null) {
|
|
456
456
|
let y = oe("textName", !1);
|
|
@@ -472,25 +472,25 @@ function go(t) {
|
|
|
472
472
|
V && m[V] === void 0 && (m[V] = s);
|
|
473
473
|
});
|
|
474
474
|
}
|
|
475
|
-
|
|
475
|
+
Ke(Y(m));
|
|
476
476
|
}, U = (e) => {
|
|
477
477
|
if (z(i)) {
|
|
478
478
|
re(e);
|
|
479
479
|
var n = { [b.value]: e };
|
|
480
|
-
|
|
480
|
+
Ke(n);
|
|
481
481
|
}
|
|
482
|
-
},
|
|
482
|
+
}, Ke = (e) => {
|
|
483
483
|
ge(E, e);
|
|
484
484
|
}, se = (e) => {
|
|
485
485
|
a || U(e);
|
|
486
486
|
}, qe = (e) => oe(e, !1), Ue = () => {
|
|
487
|
-
var e =
|
|
487
|
+
var e = Bn(E);
|
|
488
488
|
_ = vt.get(e, b.value);
|
|
489
489
|
}, Je = (e) => {
|
|
490
490
|
Ee = Y(e);
|
|
491
|
-
},
|
|
491
|
+
}, Xt = (e) => {
|
|
492
492
|
a || N && N(e);
|
|
493
|
-
},
|
|
493
|
+
}, Yt = () => {
|
|
494
494
|
fe() && he(ie()).then((e) => {
|
|
495
495
|
U(e), Ue();
|
|
496
496
|
});
|
|
@@ -500,26 +500,26 @@ function go(t) {
|
|
|
500
500
|
ee($.fieldValueChanged, { newValue: e, oldValue: n });
|
|
501
501
|
const s = { fieldId: i.id, fieldName: b.value, newValue: e, oldValue: n };
|
|
502
502
|
q(T, $.fieldChange, s, o);
|
|
503
|
-
},
|
|
503
|
+
}, Zt = (e) => pt(e), Re = (e, n) => Ne(ce(e), n), wt = (e) => {
|
|
504
504
|
se(e), ze(), Re($.onInput, { value: e });
|
|
505
|
-
},
|
|
505
|
+
}, en = (e, n) => {
|
|
506
506
|
var s, m, y;
|
|
507
507
|
return (y = (m = (s = v.getWidgetRef(b.value)) == null ? void 0 : s.exposed) == null ? void 0 : m.handleBeforeChange) == null ? void 0 : y.call(m, e, n);
|
|
508
|
-
},
|
|
508
|
+
}, tn = (...e) => {
|
|
509
509
|
var y, V, D;
|
|
510
510
|
let s = ((y = e == null ? void 0 : e[0]) == null ? void 0 : y.target) != null ? (D = (V = e == null ? void 0 : e[0]) == null ? void 0 : V.target) == null ? void 0 : D.value : e == null ? void 0 : e[0];
|
|
511
511
|
s = Y(s);
|
|
512
|
-
var m =
|
|
512
|
+
var m = en(s, Ee);
|
|
513
513
|
m != null ? se(m) : se(s), le(s, Ee), ze(), Je(s);
|
|
514
|
-
}, tn = (e = !0) => {
|
|
515
|
-
ne(j.readonly, e);
|
|
516
514
|
}, nn = (e = !0) => {
|
|
517
|
-
ne(j.
|
|
515
|
+
ne(j.readonly, e);
|
|
518
516
|
}, on = (e = !0) => {
|
|
519
|
-
ne(j.
|
|
517
|
+
ne(j.disabled, e);
|
|
520
518
|
}, rn = (e = !0) => {
|
|
521
|
-
|
|
522
|
-
}, sn = (e) => {
|
|
519
|
+
ne(j.hidden, e), e ? Xe() : ve();
|
|
520
|
+
}, sn = (e = !0) => {
|
|
521
|
+
$t(j.required, e), ve();
|
|
522
|
+
}, un = (e) => {
|
|
523
523
|
ne(j.label, e);
|
|
524
524
|
}, J = () => _ == null ? void 0 : _.value, _e = (e) => {
|
|
525
525
|
_.value = e;
|
|
@@ -529,23 +529,23 @@ function go(t) {
|
|
|
529
529
|
return;
|
|
530
530
|
const s = J();
|
|
531
531
|
n !== s && (se(s), le(e, n));
|
|
532
|
-
},
|
|
532
|
+
}, an = () => {
|
|
533
533
|
fe() ? he(ie()).then((e) => {
|
|
534
534
|
U(e);
|
|
535
535
|
}) : U(null), x == null || x();
|
|
536
|
-
},
|
|
537
|
-
const n = J(), s = te.insertOnMousePos(
|
|
536
|
+
}, cn = (e) => {
|
|
537
|
+
const n = J(), s = te.insertOnMousePos(H.value, e, n);
|
|
538
538
|
me(s);
|
|
539
|
-
},
|
|
539
|
+
}, fn = (e, n) => {
|
|
540
540
|
Z(() => _ == null ? void 0 : _.value, (s, m) => {
|
|
541
541
|
e == null || e({ id: i.id, name: b.value, newValue: s, oldValue: m });
|
|
542
542
|
}, n);
|
|
543
|
-
},
|
|
543
|
+
}, ln = (e) => {
|
|
544
544
|
var V;
|
|
545
545
|
e.preventDefault();
|
|
546
546
|
const n = (D) => {
|
|
547
|
-
var
|
|
548
|
-
const L = (
|
|
547
|
+
var G;
|
|
548
|
+
const L = (G = Array.from(D.classList)) == null ? void 0 : G.find((xe) => Ot(xe));
|
|
549
549
|
return L ? Vt(L) : "";
|
|
550
550
|
}, s = document.activeElement;
|
|
551
551
|
if (!s)
|
|
@@ -555,29 +555,29 @@ function go(t) {
|
|
|
555
555
|
const D = m[y], L = gt(s, et.formItemTarget);
|
|
556
556
|
if (!L)
|
|
557
557
|
continue;
|
|
558
|
-
const
|
|
559
|
-
if (
|
|
558
|
+
const G = n(D), xe = n(L);
|
|
559
|
+
if (G === xe) {
|
|
560
560
|
if (y === m.length - 1)
|
|
561
561
|
return;
|
|
562
|
-
const
|
|
562
|
+
const Rn = m[y + 1], _n = n(Rn), Me = v.findRefById(_n, o);
|
|
563
563
|
try {
|
|
564
564
|
(V = Me == null ? void 0 : Me.exposed) == null || V.focus();
|
|
565
|
-
} catch (
|
|
566
|
-
ue.error("handleEnter",
|
|
565
|
+
} catch (xn) {
|
|
566
|
+
ue.error("handleEnter", xn);
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
};
|
|
571
|
-
let
|
|
571
|
+
let mn = () => {
|
|
572
572
|
var D;
|
|
573
573
|
let e = {
|
|
574
574
|
componentName: b.value,
|
|
575
575
|
//用于组件事件emitter发射与接收处理
|
|
576
576
|
refList: O,
|
|
577
577
|
allRefList: h,
|
|
578
|
-
fieldEditor: () =>
|
|
579
|
-
changeRegisterToRefList: (L,
|
|
580
|
-
v.changeRegisterToRefList(L,
|
|
578
|
+
fieldEditor: () => H.value,
|
|
579
|
+
changeRegisterToRefList: (L, G) => {
|
|
580
|
+
v.changeRegisterToRefList(L, G), S.changeRegisterToRefList(L, G);
|
|
581
581
|
},
|
|
582
582
|
getField: d,
|
|
583
583
|
getFormData: l,
|
|
@@ -599,75 +599,75 @@ function go(t) {
|
|
|
599
599
|
addCssClass: Ht,
|
|
600
600
|
removeCssClass: Kt
|
|
601
601
|
}, n = {
|
|
602
|
-
resetField:
|
|
602
|
+
resetField: an,
|
|
603
603
|
getValue: J,
|
|
604
604
|
setValue: me,
|
|
605
|
-
refreshDefaultValue:
|
|
606
|
-
insertOnMousePos:
|
|
605
|
+
refreshDefaultValue: Yt,
|
|
606
|
+
insertOnMousePos: cn,
|
|
607
607
|
disableChangeValidate: Mt,
|
|
608
608
|
enableChangeValidate: St,
|
|
609
609
|
focus: () => {
|
|
610
|
-
te.focus(
|
|
610
|
+
te.focus(H.value);
|
|
611
611
|
},
|
|
612
612
|
blur: () => {
|
|
613
|
-
te.blur(
|
|
613
|
+
te.blur(H.value);
|
|
614
614
|
},
|
|
615
615
|
getMousePos: () => {
|
|
616
|
-
te.getMousePos(
|
|
616
|
+
te.getMousePos(H.value);
|
|
617
617
|
},
|
|
618
618
|
setMousePos: (L) => {
|
|
619
|
-
te.setMousePos(
|
|
619
|
+
te.setMousePos(H.value, L);
|
|
620
620
|
}
|
|
621
621
|
}, s = {
|
|
622
|
-
loadOptionItems:
|
|
622
|
+
loadOptionItems: zt,
|
|
623
623
|
getCheckedItems: be,
|
|
624
|
-
getCheckedLabels:
|
|
624
|
+
getCheckedLabels: Ge
|
|
625
625
|
}, m = {
|
|
626
|
-
[j.required]: { name: k.setRequired, fn:
|
|
627
|
-
[j.label]: { name: k.setLabel, fn:
|
|
628
|
-
[j.hidden]: { name: k.setHidden, fn:
|
|
629
|
-
[j.disabled]: { name: k.setDisabled, fn:
|
|
630
|
-
[j.readonly]: { name: k.setReadonly, fn:
|
|
626
|
+
[j.required]: { name: k.setRequired, fn: sn },
|
|
627
|
+
[j.label]: { name: k.setLabel, fn: un },
|
|
628
|
+
[j.hidden]: { name: k.setHidden, fn: rn },
|
|
629
|
+
[j.disabled]: { name: k.setDisabled, fn: on },
|
|
630
|
+
[j.readonly]: { name: k.setReadonly, fn: nn }
|
|
631
631
|
}, y = {};
|
|
632
632
|
(D = X(m)) == null || D.forEach((L) => {
|
|
633
633
|
if (Pe(i, L)) {
|
|
634
|
-
const
|
|
635
|
-
y[
|
|
634
|
+
const G = m[L];
|
|
635
|
+
y[G.name] = G.fn;
|
|
636
636
|
}
|
|
637
637
|
});
|
|
638
638
|
var V = ge(e, y);
|
|
639
639
|
return z(i) && (V = ge(V, n)), We(i) && (V = ge(V, s)), V;
|
|
640
640
|
};
|
|
641
|
-
const
|
|
642
|
-
attrs:
|
|
641
|
+
const vn = Se(() => ({
|
|
642
|
+
attrs: Fe.value,
|
|
643
643
|
extendAttrs: Ce.value,
|
|
644
644
|
events: A.value,
|
|
645
645
|
slots: De.value,
|
|
646
646
|
fieldKey: ye.value,
|
|
647
|
-
fieldEditor:
|
|
647
|
+
fieldEditor: H.value,
|
|
648
648
|
fieldName: b.value
|
|
649
|
-
})),
|
|
649
|
+
})), dn = (e) => {
|
|
650
650
|
t.designState && t.designer && Z(() => {
|
|
651
651
|
var n;
|
|
652
652
|
return (n = t == null ? void 0 : t.widget) == null ? void 0 : n[e];
|
|
653
653
|
}, (n, s) => {
|
|
654
|
-
const { emitHistoryChange: m } =
|
|
654
|
+
const { emitHistoryChange: m } = Yn(t.designer);
|
|
655
655
|
m(`edit ${b.value}.${e},newValue:${n},oldValue:${s}`);
|
|
656
656
|
}, {
|
|
657
657
|
deep: !0
|
|
658
658
|
});
|
|
659
|
-
},
|
|
659
|
+
}, gn = (e, n, s) => {
|
|
660
660
|
const m = de(), y = qe(e), V = (D) => {
|
|
661
661
|
n && (m.value = n(D || y));
|
|
662
662
|
};
|
|
663
663
|
return st(y) ? Z(y, (D) => {
|
|
664
664
|
V(D), s && s(D);
|
|
665
665
|
}) : V(y), m;
|
|
666
|
-
},
|
|
667
|
-
!z(i) || a ||
|
|
666
|
+
}, hn = () => {
|
|
667
|
+
!z(i) || a || fn((e) => {
|
|
668
668
|
const n = i == null ? void 0 : i.id;
|
|
669
|
-
|
|
670
|
-
re(e.newValue),
|
|
669
|
+
to(h, n, I), no(h, n, K.getOptions(i, j.relate), e), re(e.newValue), setTimeout(() => {
|
|
670
|
+
re(e.newValue), Xt(e == null ? void 0 : e.newValue);
|
|
671
671
|
}, 1e3), le(e.newValue, e.oldValue);
|
|
672
672
|
}, { immediate: !0 });
|
|
673
673
|
}, ze = () => {
|
|
@@ -683,31 +683,31 @@ function go(t) {
|
|
|
683
683
|
return Qe(), e;
|
|
684
684
|
}, Xe = () => {
|
|
685
685
|
xt(), Qe();
|
|
686
|
-
},
|
|
687
|
-
Pe(i, "change") && (A.value.change =
|
|
686
|
+
}, pn = () => {
|
|
687
|
+
Pe(i, "change") && (A.value.change = tn), Pe(i, "input") && (A.value.input = wt), F(Hn.setFormData, (e) => {
|
|
688
688
|
me(e[b.value]);
|
|
689
|
-
}),
|
|
689
|
+
}), F($.fieldValueChanged, (e) => {
|
|
690
690
|
Re($.onChange, { value: e == null ? void 0 : e.newValue, oldValue: e == null ? void 0 : e.oldValue });
|
|
691
691
|
});
|
|
692
|
-
},
|
|
692
|
+
}, On = () => {
|
|
693
693
|
let e = b.value;
|
|
694
|
-
z(i) ? ((
|
|
694
|
+
z(i) ? ((!$n(E, e) || E[e] === void 0) && (U(null), fe() && he(ie()).then((n) => {
|
|
695
695
|
n == null ? U(null) : U(n);
|
|
696
696
|
})), Ue()) : fe() && he(ie()).then((n) => {
|
|
697
697
|
me(n);
|
|
698
698
|
}), Je(J());
|
|
699
|
-
},
|
|
699
|
+
}, Vn = () => {
|
|
700
700
|
We(i) && Z(() => ae == null ? void 0 : ae.value, (e, n) => {
|
|
701
701
|
re(_.value);
|
|
702
702
|
}, { immediate: !0 });
|
|
703
|
-
},
|
|
703
|
+
}, Cn = () => {
|
|
704
704
|
$e(!0, j.css, void 0, (e) => {
|
|
705
705
|
Ye();
|
|
706
706
|
});
|
|
707
|
-
},
|
|
708
|
-
const e =
|
|
707
|
+
}, En = () => {
|
|
708
|
+
const e = Tn(Kn.isRenderComplete), n = () => {
|
|
709
709
|
setTimeout(() => {
|
|
710
|
-
|
|
710
|
+
Vn(), hn();
|
|
711
711
|
}, 10);
|
|
712
712
|
};
|
|
713
713
|
if (e != null && e.value) {
|
|
@@ -717,71 +717,72 @@ function go(t) {
|
|
|
717
717
|
e != null && Z(() => e == null ? void 0 : e.value, (s) => {
|
|
718
718
|
s && n();
|
|
719
719
|
}, { immediate: !0 });
|
|
720
|
-
},
|
|
720
|
+
}, yn = () => {
|
|
721
721
|
var e, n;
|
|
722
722
|
if (p)
|
|
723
723
|
try {
|
|
724
|
-
|
|
724
|
+
On(), ve(), pn(), v.registerToRefList(b.value), S.registerToRefList(b.value), (n = (e = A == null ? void 0 : A.value) == null ? void 0 : e.created) == null || n.call(e), ht();
|
|
725
725
|
} catch (s) {
|
|
726
726
|
ue.error("create", s);
|
|
727
727
|
}
|
|
728
|
-
},
|
|
728
|
+
}, bn = () => {
|
|
729
729
|
p && (ot(() => {
|
|
730
730
|
var e, n;
|
|
731
731
|
try {
|
|
732
|
-
Ye(),
|
|
732
|
+
Ye(), Cn(), En(), (n = (e = A == null ? void 0 : A.value) == null ? void 0 : e.mounted) == null || n.call(e);
|
|
733
733
|
} catch (s) {
|
|
734
734
|
console.log("mounted", i, s);
|
|
735
735
|
}
|
|
736
|
-
}),
|
|
736
|
+
}), Nn(() => {
|
|
737
737
|
v.unregisterFromRefList(b.value), S.unregisterFromRefList(b.value);
|
|
738
738
|
}));
|
|
739
739
|
}, Ye = () => {
|
|
740
740
|
const e = i == null ? void 0 : i.id, n = ce(j.css);
|
|
741
|
-
n && e &&
|
|
742
|
-
|
|
741
|
+
n && e && Jn(n).then((s) => {
|
|
742
|
+
zn(s, e);
|
|
743
743
|
});
|
|
744
744
|
};
|
|
745
|
-
return
|
|
746
|
-
exposed:
|
|
745
|
+
return yn(), bn(), {
|
|
746
|
+
exposed: mn(),
|
|
747
747
|
fieldModel: _,
|
|
748
|
-
objFieldModel:
|
|
749
|
-
numFieldModel:
|
|
750
|
-
fieldEditor:
|
|
748
|
+
objFieldModel: Jt,
|
|
749
|
+
numFieldModel: Ut,
|
|
750
|
+
fieldEditor: H,
|
|
751
751
|
fieldKey: ye,
|
|
752
752
|
field: i,
|
|
753
753
|
instance: o,
|
|
754
|
-
attrs:
|
|
754
|
+
attrs: Fe,
|
|
755
755
|
extendAttrs: Ce,
|
|
756
756
|
slots: De,
|
|
757
757
|
events: A,
|
|
758
758
|
rules: Le,
|
|
759
|
-
fieldObj:
|
|
759
|
+
fieldObj: vn,
|
|
760
760
|
getValue: J,
|
|
761
761
|
setValue: _e,
|
|
762
|
-
pageConfig:
|
|
762
|
+
pageConfig: B,
|
|
763
763
|
formModel: E,
|
|
764
764
|
fieldName: b,
|
|
765
765
|
propResultOpt: I,
|
|
766
766
|
optionItems: ae,
|
|
767
767
|
activeOptionItems: Ft,
|
|
768
|
-
activeOptionItem:
|
|
769
|
-
activeOptionItemIndex:
|
|
768
|
+
activeOptionItem: Dt,
|
|
769
|
+
activeOptionItemIndex: Lt,
|
|
770
|
+
refreshOptionItems: Pt,
|
|
770
771
|
refreshOptionField: re,
|
|
771
|
-
filterOptionItems:
|
|
772
|
+
filterOptionItems: Wt,
|
|
772
773
|
setOptionItems: je,
|
|
773
774
|
getCheckedItems: be,
|
|
774
|
-
getCheckedOptionItems: (e, n) =>
|
|
775
|
-
getCheckedOptionLabels: (e, n) =>
|
|
776
|
-
getCheckedOptionValues: (e, n) =>
|
|
777
|
-
getCheckedOptionText: (e, n) =>
|
|
775
|
+
getCheckedOptionItems: (e, n) => Bt(e || _.value, n),
|
|
776
|
+
getCheckedOptionLabels: (e, n) => Tt(e || _.value, n),
|
|
777
|
+
getCheckedOptionValues: (e, n) => Nt(e || _.value, n),
|
|
778
|
+
getCheckedOptionText: (e, n) => It(e || _.value, n),
|
|
778
779
|
refreshKey: Ae,
|
|
779
|
-
watchKeyValue:
|
|
780
|
-
watchPropAndSaveHistoryStep:
|
|
781
|
-
existEvent:
|
|
780
|
+
watchKeyValue: gn,
|
|
781
|
+
watchPropAndSaveHistoryStep: dn,
|
|
782
|
+
existEvent: Zt,
|
|
782
783
|
handleEvent: Re,
|
|
783
|
-
handleEnter:
|
|
784
|
-
getPropName:
|
|
784
|
+
handleEnter: ln,
|
|
785
|
+
getPropName: qt,
|
|
785
786
|
emitFieldDataChange: le,
|
|
786
787
|
syncUpdateFormModel: se,
|
|
787
788
|
getWidgetRef: v.getWidgetRef,
|
|
@@ -789,17 +790,17 @@ function go(t) {
|
|
|
789
790
|
buildRules: ve,
|
|
790
791
|
getFieldOptionModel: qe,
|
|
791
792
|
getFieldOptions: oe,
|
|
792
|
-
hasFieldOptions:
|
|
793
|
-
setFieldOptions:
|
|
793
|
+
hasFieldOptions: kt,
|
|
794
|
+
setFieldOptions: At,
|
|
794
795
|
getWidgetOption: ce,
|
|
795
|
-
singleOption:
|
|
796
|
+
singleOption: Gt,
|
|
796
797
|
watchOption: $e,
|
|
797
|
-
mergeOptionToFormModel:
|
|
798
|
+
mergeOptionToFormModel: He
|
|
798
799
|
};
|
|
799
800
|
}
|
|
800
801
|
export {
|
|
801
|
-
|
|
802
|
+
Be as R,
|
|
802
803
|
Ve as a,
|
|
803
|
-
|
|
804
|
-
|
|
804
|
+
ho as b,
|
|
805
|
+
eo as u
|
|
805
806
|
};
|