hlrender 0.0.53 → 0.0.55

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.
Files changed (112) hide show
  1. package/{affix-widget-394c8f97.js → affix-widget-df3a895f.js} +16 -16
  2. package/{alert-widget-bc92fc03.js → alert-widget-5dc589f0.js} +16 -16
  3. package/{anchor-widget-7b0d3485.js → anchor-widget-66c7ce8c.js} +13 -13
  4. package/{auto-complete-widget-8262bd4c.js → auto-complete-widget-7d286456.js} +16 -16
  5. package/{avatar-widget-51548ee0.js → avatar-widget-0ab0c364.js} +16 -16
  6. package/{backtop-widget-c70d832a.js → backtop-widget-80377d5d.js} +16 -16
  7. package/{badge-widget-d18285c2.js → badge-widget-d444269d.js} +16 -16
  8. package/{baseImp-7fb8e7ad.js → baseImp-e71b1fa9.js} +6 -6
  9. package/{breadcrumb-widget-9750e843.js → breadcrumb-widget-6bee3dad.js} +13 -13
  10. package/{button-widget-4fae0697.js → button-widget-9ff1451a.js} +16 -16
  11. package/{cache-widget-d99432a4.js → cache-widget-9d5159a0.js} +15 -15
  12. package/{card-widget-fc498ec4.js → card-widget-ef1998ff.js} +14 -14
  13. package/{carousel-widget-79c014ff.js → carousel-widget-793435ae.js} +14 -14
  14. package/{cascader-widget-b8051af0.js → cascader-widget-23c134ac.js} +15 -15
  15. package/{chart-widget-966b8be2.js → chart-widget-09b0f71d.js} +13 -13
  16. package/{checkbox-widget-34682959.js → checkbox-widget-7f6cc2f0.js} +15 -15
  17. package/{collapse-widget-22e4d02a.js → collapse-widget-178d83d5.js} +14 -14
  18. package/{color-picker-widget-e0dfe905.js → color-picker-widget-6c7bbe5b.js} +15 -15
  19. package/{cont-cell-widget-50b2167a.js → cont-cell-widget-ca67fcd8.js} +1 -1
  20. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-dd71c1b4.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-020c0533.js} +5 -5
  21. package/{cont-widget-1e73560e.js → cont-widget-1c9e8894.js} +5 -5
  22. package/content-wrapper-1cd416aa.js +14 -0
  23. package/{content-wrapper.vue_vue_type_script_setup_true_lang-46a42663.js → content-wrapper.vue_vue_type_script_setup_true_lang-54b2ad06.js} +3 -3
  24. package/{date-picker-range-widget-e702f6e6.js → date-picker-range-widget-c8c0ecbe.js} +15 -15
  25. package/{date-picker-widget-24a6bba3.js → date-picker-widget-0e9693a7.js} +15 -15
  26. package/default-slot-widget-97bf6af6.js +24 -0
  27. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f3905d17.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d6d63c88.js} +7 -7
  28. package/{descriptions-widget-a58619b8.js → descriptions-widget-fb982c0a.js} +14 -14
  29. package/{dialog-90dff606.js → dialog-e633dca4.js} +2 -2
  30. package/{dialog-widget-9a5e4401.js → dialog-widget-e983b279.js} +15 -15
  31. package/{divider-widget-6ab211b2.js → divider-widget-a5b07884.js} +16 -16
  32. package/{drag-wrapper-971b4a73.js → drag-wrapper-834c54ee.js} +6 -6
  33. package/{drawer-widget-8d866df4.js → drawer-widget-d7b10d89.js} +15 -15
  34. package/{dropdown-widget-f2b27771.js → dropdown-widget-2071a53c.js} +14 -14
  35. package/{empty-widget-59906e62.js → empty-widget-a5625f95.js} +16 -16
  36. package/{enum-type-22cb09ce.js → enum-type-268864dc.js} +2 -1
  37. package/{enum-type-6ff9ea07.js → enum-type-f9015529.js} +1 -1
  38. package/{expression-83e866fe.js → expression-f74522da.js} +408 -395
  39. package/feedback-widget-1d078f1b.js +24 -0
  40. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-77d5982b.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-a50f849e.js} +5 -5
  41. package/{fieldobj-3869eac1.js → fieldobj-eb9e931d.js} +1 -1
  42. package/{file-upload-widget-9f45b0e4.js → file-upload-widget-acf6ec44.js} +16 -16
  43. package/{form-item-wrapper-3672beb8.js → form-item-wrapper-ee44b35b.js} +11 -11
  44. package/{form-widget-c5cfca30.js → form-widget-1f9a0dda.js} +10 -10
  45. package/{grid-col-widget-d713298a.js → grid-col-widget-1edd5688.js} +1 -1
  46. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-7eca19a0.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-4482b9cd.js} +5 -5
  47. package/{grid-widget-0dc9b149.js → grid-widget-d36e4ac5.js} +5 -5
  48. package/{html-text-widget-4a625a2c.js → html-text-widget-38606139.js} +14 -14
  49. package/{iframe-widget-fbbb1618.js → iframe-widget-ac7a60df.js} +13 -13
  50. package/{image-widget-5c207f0d.js → image-widget-736a6572.js} +13 -13
  51. package/{index-d054c102.js → index-021ea090.js} +5 -5
  52. package/{index-8b9ef71e.js → index-8121f6c7.js} +1 -1
  53. package/{index-a5cda776.js → index-de97884a.js} +4 -4
  54. package/{input-number-widget-27ee9cb0.js → input-number-widget-48c38da6.js} +15 -15
  55. package/{input-widget-962cd99d.js → input-widget-cf093ac3.js} +16 -16
  56. package/{label-wrapper-825ad3be.js → label-wrapper-d4ec3112.js} +5 -5
  57. package/{label-wrapper.vue_vue_type_style_index_0_lang-69a959a4.js → label-wrapper.vue_vue_type_style_index_0_lang-e9b376f2.js} +3 -3
  58. package/{link-widget-11c4ff12.js → link-widget-c17046c2.js} +16 -16
  59. package/{ltable-col-widget-6a2c32b2.js → ltable-col-widget-58f195be.js} +1 -1
  60. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-56c2dff4.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-1214a95d.js} +10 -10
  61. package/{ltable-widget-4415ff74.js → ltable-widget-5fe24b54.js} +5 -5
  62. package/{menu-widget-b4618f2a.js → menu-widget-3008f436.js} +14 -14
  63. package/{model-widget-2d0464fe.js → model-widget-6db70915.js} +13 -13
  64. package/{multirow-2ef82f3f.js → multirow-ec2b73c7.js} +6 -6
  65. package/{multirow-widget-5dc78446.js → multirow-widget-91741a91.js} +15 -15
  66. package/package.json +3 -3
  67. package/{pagination-widget-74427783.js → pagination-widget-c4f938c1.js} +13 -13
  68. package/{picture-upload-widget-0c608691.js → picture-upload-widget-30647fea.js} +16 -16
  69. package/{progress-widget-cb483362.js → progress-widget-081d227a.js} +14 -14
  70. package/{propresult-a2860930.js → propresult-259da946.js} +1 -1
  71. package/{radio-widget-46751610.js → radio-widget-d8ed6a3b.js} +15 -15
  72. package/{range-widget-78590fcd.js → range-widget-22a59cef.js} +16 -16
  73. package/{rate-widget-c76bcb7c.js → rate-widget-33c21161.js} +15 -15
  74. package/render.es.js +30 -30
  75. package/render.umd.js +83 -83
  76. package/{result-widget-44a95120.js → result-widget-d9513923.js} +14 -14
  77. package/{rich-editor-widget-4c9a2bc4.js → rich-editor-widget-8e5f2f0f.js} +15 -15
  78. package/{router-widget-d030f18f.js → router-widget-7b503cc6.js} +13 -13
  79. package/{select-widget-c5031c37.js → select-widget-9e16a380.js} +15 -15
  80. package/{sfc-2e04a9d2.js → sfc-a15234b1.js} +8 -8
  81. package/{share-field-66eff02e.js → share-field-7566da9d.js} +193 -193
  82. package/{share-file-f656e3e3.js → share-file-f6745569.js} +5 -5
  83. package/{slider-widget-8d2b932a.js → slider-widget-c4d0c204.js} +15 -15
  84. package/{slot-8a437369.js → slot-3f6b1723.js} +3 -3
  85. package/{static-text-widget-cf975667.js → static-text-widget-009cb6e3.js} +14 -14
  86. package/{steps-widget-c7b3fd49.js → steps-widget-85cc3391.js} +13 -13
  87. package/subMenu-widget-7f3cb027.js +16 -0
  88. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-a143cc4d.js → subMenu-widget.vue_vue_type_script_setup_true_lang-3aa87008.js} +3 -3
  89. package/{switch-widget-5ca8e185.js → switch-widget-2dcd8450.js} +15 -15
  90. package/{tab-pane-widget-ddafdc7c.js → tab-pane-widget-89e5a53b.js} +1 -1
  91. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-e237efec.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-766257d9.js} +5 -5
  92. package/table-col-widget-9c0a88db.js +20 -0
  93. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a05691c2.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-28a3e73f.js} +6 -6
  94. package/{table-widget-c7fd9535.js → table-widget-11e0acc9.js} +15 -15
  95. package/{tabs-widget-005a9328.js → tabs-widget-ba40ee33.js} +8 -8
  96. package/{tag-widget-aa236298.js → tag-widget-137d7675.js} +16 -16
  97. package/{text-widget-4daa2164.js → text-widget-c5215166.js} +16 -16
  98. package/{textarea-widget-61443ef3.js → textarea-widget-b9109f51.js} +15 -15
  99. package/{time-picker-range-widget-5f01ee4a.js → time-picker-range-widget-04112a0d.js} +15 -15
  100. package/{time-picker-widget-891d462a.js → time-picker-widget-6aac1483.js} +15 -15
  101. package/{time-select-widget-3d942498.js → time-select-widget-d7662964.js} +15 -15
  102. package/{tmpl-widget-41e31e89.js → tmpl-widget-2d8c396c.js} +14 -14
  103. package/{tree-select-widget-868329da.js → tree-select-widget-4139e179.js} +15 -15
  104. package/{tree-widget-ecedf23c.js → tree-widget-8afd477c.js} +13 -13
  105. package/{uuid-13176256.js → uuid-3ac61134.js} +1 -1
  106. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ea39744c.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-f98d3f90.js} +7 -7
  107. package/{wrapper-widget-cc86bf3f.js → wrapper-widget-12b9c3bd.js} +6 -6
  108. package/content-wrapper-167976d7.js +0 -14
  109. package/default-slot-widget-d5b9ab21.js +0 -24
  110. package/feedback-widget-2fdd0485.js +0 -24
  111. package/subMenu-widget-a9f796af.js +0 -16
  112. package/table-col-widget-74cb2afe.js +0 -20
@@ -1,22 +1,22 @@
1
1
  var dn = Object.defineProperty;
2
2
  var gn = (t, u, g) => u in t ? dn(t, u, { enumerable: !0, configurable: !0, writable: !0, value: g }) : t[u] = g;
3
- var ze = (t, u, g) => (gn(t, typeof u != "symbol" ? u + "" : u, g), g);
4
- import { onMounted as we, nextTick as et, onActivated as hn, onErrorCaptured as pn, isRef as tt, watch as ee, reactive as Vn, ref as le, computed as Me, onBeforeUnmount as On, inject as Cn, toRefs as yn } from "vue";
5
- import { b as De, e as Se, o as Q, c as te, r as En, d as z, D as bn, t as ge, f as nt, j as Rn, l as xn, x as w, w as Mn } from "./enum-type-22cb09ce.js";
6
- import { p as Qe, b as ot, g as _n, f as me, a as Dn } from "./multirow-2ef82f3f.js";
3
+ var Je = (t, u, g) => (gn(t, typeof u != "symbol" ? u + "" : u, g), g);
4
+ import { onMounted as Ze, nextTick as we, onActivated as hn, onErrorCaptured as pn, isRef as et, watch as w, reactive as On, ref as le, computed as Me, onBeforeUnmount as Vn, inject as Cn, toRefs as yn } from "vue";
5
+ import { b as De, e as tt, o as Q, c as ee, r as En, D as bn, t as ge, f as nt, j as Rn, l as xn, x as Z, d as se, w as Mn } from "./enum-type-268864dc.js";
6
+ import { p as ze, b as ot, g as _n, f as me, a as Dn } from "./multirow-ec2b73c7.js";
7
7
  import { u as rt } from "./icon-e9532b43.js";
8
- import { f as j, l as de, m as Sn, n as Xe, g as $, b as Pn, d as Wn } from "./expression-83e866fe.js";
9
- import { b as st, d as Pe, B as U, P as ut, c as at, e as Nn, a as Bn, w as ve } from "./baseImp-7fb8e7ad.js";
10
- import { F as Ln } from "./slot-8a437369.js";
11
- import { c as We, t as ct, l as Tn } from "./uuid-13176256.js";
12
- import { f as Fn, d as In, h as _e, e as $n } from "./index-d054c102.js";
13
- import { W as A, d as K } from "./enum-type-6ff9ea07.js";
8
+ import { f as j, l as de, m as Sn, n as Qe, g as $, b as Pn, d as Wn } from "./expression-f74522da.js";
9
+ import { b as st, d as Se, B as U, P as ut, c as at, e as Nn, a as Bn, w as ve } from "./baseImp-e71b1fa9.js";
10
+ import { F as Ln } from "./slot-3f6b1723.js";
11
+ import { c as Pe, t as ct, l as Tn } from "./uuid-3ac61134.js";
12
+ import { f as Fn, d as In, h as _e, e as $n } from "./index-021ea090.js";
13
+ import { W as A, d as K } from "./enum-type-f9015529.js";
14
14
  function jn() {
15
15
  return {
16
16
  onMountedOrActivated: (g) => {
17
17
  let _ = !1;
18
- we(() => {
19
- g(), et(() => {
18
+ Ze(() => {
19
+ g(), we(() => {
20
20
  _ = !0;
21
21
  });
22
22
  }), hn(() => {
@@ -35,17 +35,17 @@ function An(t, u) {
35
35
  handleFunc: (D, W) => {
36
36
  if (De(D)) {
37
37
  var N = P(String(D));
38
- return Pe(N, W);
38
+ return Se(N, W);
39
39
  } else {
40
- var N = _(We(D));
41
- return Pe(N, W);
40
+ var N = _(Pe(D));
41
+ return Se(N, W);
42
42
  }
43
43
  }
44
44
  };
45
45
  }
46
- class Ne {
46
+ class We {
47
47
  constructor(u) {
48
- ze(this, "refList", {});
48
+ Je(this, "refList", {});
49
49
  u && (this.refList = u);
50
50
  }
51
51
  initRefList() {
@@ -64,42 +64,42 @@ class Ne {
64
64
  }
65
65
  function he(t) {
66
66
  t || (t = {});
67
- const u = new Ne(t), { instance: g } = rt(), _ = (v) => u.getWidgetRef(v == null ? void 0 : v.toString()), P = (v, h, O) => {
67
+ const u = new We(t), { instance: g } = rt(), _ = (v) => u.getWidgetRef(v == null ? void 0 : v.toString()), P = (v, h, V) => {
68
68
  var C = [], S = [];
69
69
  let r = _(v);
70
70
  return r && C.push(r), C == null || C.forEach((f) => {
71
- var n = D(f, h, O);
71
+ var n = D(f, h, V);
72
72
  n && S.push(n);
73
73
  }), S;
74
74
  }, i = (v, h) => {
75
- var O;
76
- return (O = v == null ? void 0 : v.exposed) == null ? void 0 : O[h.toString()];
77
- }, D = (v, h, O) => {
75
+ var V;
76
+ return (V = v == null ? void 0 : v.exposed) == null ? void 0 : V[h.toString()];
77
+ }, D = (v, h, V) => {
78
78
  var C = i(v, h);
79
79
  if (C) {
80
80
  var S = [];
81
- return O && (S = Object.values(O)), C(...S);
81
+ return V && (S = Object.values(V)), C(...S);
82
82
  }
83
- }, W = (v, h, O) => {
83
+ }, W = (v, h, V) => {
84
84
  var C = [];
85
85
  if (v) {
86
- var S = We(ct(v, !0));
86
+ var S = Pe(ct(v, !0));
87
87
  S == null || S.forEach((r) => {
88
- var f = P(r, h, O);
89
- Se(f) || C.push(f);
88
+ var f = P(r, h, V);
89
+ tt(f) || C.push(f);
90
90
  });
91
91
  }
92
92
  return Array.isArray(v) ? C : C == null ? void 0 : C[0];
93
93
  }, N = (v, h) => {
94
- let O = Q(t);
95
- W(O, v, h);
94
+ let V = Q(t);
95
+ W(V, v, h);
96
96
  }, p = (v, h) => {
97
97
  var n, d, c;
98
- const O = (d = (n = h || g) == null ? void 0 : n.exposed) == null ? void 0 : d.getField();
99
- var C = Qe(O == null ? void 0 : O.id);
98
+ const V = (d = (n = h || g) == null ? void 0 : n.exposed) == null ? void 0 : d.getField();
99
+ var C = ze(V == null ? void 0 : V.id);
100
100
  const S = (s) => (s == null ? void 0 : s.id) === v, r = (s) => {
101
101
  var R;
102
- var l = Qe(s == null ? void 0 : s.id);
102
+ var l = ze(s == null ? void 0 : s.id);
103
103
  return (C == null ? void 0 : C.groupName) === (l == null ? void 0 : l.groupName) && ((l == null ? void 0 : l.id) === v || ((R = s == null ? void 0 : s._source) == null ? void 0 : R.id) === v);
104
104
  }, f = (c = Q(u.refList)) == null ? void 0 : c.find((s) => {
105
105
  var R, T;
@@ -113,7 +113,7 @@ function he(t) {
113
113
  });
114
114
  if (f)
115
115
  return _(f);
116
- }, V = (v) => {
116
+ }, O = (v) => {
117
117
  if (v) {
118
118
  let h = v;
119
119
  u == null || u.setWidgetRef(h, g);
@@ -134,14 +134,14 @@ function he(t) {
134
134
  findRefById: p,
135
135
  findRefByName: _,
136
136
  changeRegisterToRefList: (v, h) => {
137
- v && (V(v), b(h));
137
+ v && (O(v), b(h));
138
138
  },
139
- registerToRefList: V,
139
+ registerToRefList: O,
140
140
  unregisterFromRefList: b
141
141
  };
142
142
  }
143
143
  const kn = (t, u, g, _) => {
144
- const P = new Ne(t), { callRefFunc: i } = he(t), { parseGroupId: D } = ot();
144
+ const P = new We(t), { callRefFunc: i } = he(t), { parseGroupId: D } = ot();
145
145
  if (!t || t.length <= 0 || !u)
146
146
  return;
147
147
  const W = () => {
@@ -156,25 +156,25 @@ const kn = (t, u, g, _) => {
156
156
  if (d)
157
157
  return { ref: d, name: n, id: f == null ? void 0 : f.id };
158
158
  }, p = (r, f) => {
159
- if (!te(f))
159
+ if (!ee(f))
160
160
  return;
161
161
  const n = U.getName(r), d = P.getWidgetRef(n);
162
162
  if (d) {
163
163
  const c = U.getOptions(r, j.defaultValue, !1, !(g != null && g.designState), { ...g, formData: f });
164
- if (te(c))
165
- if (tt(c)) {
166
- let s = ee(() => c.value, (l) => {
164
+ if (ee(c))
165
+ if (et(c)) {
166
+ let s = w(() => c.value, (l) => {
167
167
  s == null || s(), i(d, A.setValue, { newValue: l });
168
168
  });
169
169
  } else
170
170
  i(d, A.setValue, { newValue: c });
171
171
  }
172
- }, V = (r, f) => {
172
+ }, O = (r, f) => {
173
173
  const n = N(r);
174
174
  if (!n)
175
175
  return;
176
176
  const d = n.name, c = i(n.ref, A.getValue), s = i(n.ref, A.getCheckedItems), l = {};
177
- return Se(c) || (l[d] = c, !Rn(s) && !f && (l[`${d}${de.checkedOptions}`] = s)), l;
177
+ return l[d] = c, c !== void 0 && !Rn(s) && !f && (l[`${d}${de.checkedOptions}`] = s), l;
178
178
  }, b = (r, f) => {
179
179
  var d;
180
180
  var n = [];
@@ -207,7 +207,7 @@ const kn = (t, u, g, _) => {
207
207
  l && (l == null ? void 0 : l.length) > 0 && n.push(...l);
208
208
  }), n;
209
209
  }, v = (r, f) => {
210
- const n = {};
210
+ let n = {};
211
211
  if (!r || r.length <= 0)
212
212
  return n;
213
213
  if (f === me.Inner2Outer) {
@@ -219,17 +219,17 @@ const kn = (t, u, g, _) => {
219
219
  var R;
220
220
  const s = c.group[0], l = [];
221
221
  (R = c == null ? void 0 : c.children) == null || R.forEach((T) => {
222
- const F = V(T == null ? void 0 : T.id, !0);
223
- if (te(F)) {
224
- var X = Object.values(We(F));
222
+ const F = O(T == null ? void 0 : T.id, !0);
223
+ if (ee(F)) {
224
+ var X = Object.values(Pe(F));
225
225
  l.push(...X);
226
226
  }
227
- }), s && z(n, { [s]: l });
227
+ }), s && (n = Object.assign(n, { [s]: l }));
228
228
  });
229
229
  } else
230
230
  r.forEach((c) => {
231
- const s = V(c == null ? void 0 : c.id);
232
- te(s) && z(n, s);
231
+ const s = O(c == null ? void 0 : c.id);
232
+ ee(s) && (n = Object.assign(n, s));
233
233
  });
234
234
  return n;
235
235
  }, h = (r) => {
@@ -238,14 +238,14 @@ const kn = (t, u, g, _) => {
238
238
  var d;
239
239
  n != null && n.source && (n != null && n.id) && (f[(d = n == null ? void 0 : n.source) == null ? void 0 : d.id] = n == null ? void 0 : n.id);
240
240
  }), f;
241
- }, O = (r, f, n) => {
241
+ }, V = (r, f, n) => {
242
242
  if (n === me.Inner2Inner) {
243
243
  const l = bn(f), { updateFomula: R } = at(), { buildVariable: T } = Nn();
244
244
  var d = h(r);
245
- if (te(d)) {
245
+ if (ee(d)) {
246
246
  var c = U.getOrgOption(f, j.defaultValue), s = R(ge(c), d, (F, X) => {
247
247
  var Y = d[F];
248
- return Se(Y) ? T(F) : T(Y);
248
+ return tt(Y) ? T(F) : T(Y);
249
249
  });
250
250
  return U.setOrgOption(l, j.defaultValue, nt(s)), l;
251
251
  }
@@ -266,7 +266,7 @@ const kn = (t, u, g, _) => {
266
266
  if (!(s != null && s.some((R) => R.id === u)))
267
267
  return;
268
268
  const l = v(s, d);
269
- p(O(s, r, d), l);
269
+ p(V(s, r, d), l);
270
270
  };
271
271
  (() => {
272
272
  var r;
@@ -276,24 +276,24 @@ const kn = (t, u, g, _) => {
276
276
  })();
277
277
  }, Hn = (t, u, g, _, P) => {
278
278
  var B;
279
- if (P || !te(g))
279
+ if (P || !ee(g))
280
280
  return;
281
281
  const { parseGroupId: i } = ot();
282
282
  var D = i(u), W = D == null ? void 0 : D.groupName;
283
283
  const { callRefFunc: N } = he(t), p = (v, h) => {
284
284
  var n, d, c;
285
- const O = (d = (n = Q(t)) == null ? void 0 : n.map((s) => N(t == null ? void 0 : t[s], A.getField))) == null ? void 0 : d.filter((s) => !!s), C = (c = Fn(O, (s) => {
285
+ const V = (d = (n = Q(t)) == null ? void 0 : n.map((s) => N(t == null ? void 0 : t[s], A.getField))) == null ? void 0 : d.filter((s) => !!s), C = (c = Fn(V, (s) => {
286
286
  var l = i(s == null ? void 0 : s.id);
287
287
  return (!W || (l == null ? void 0 : l.groupName) === W) && (l == null ? void 0 : l.id) === v;
288
288
  })) == null ? void 0 : c[0];
289
289
  if (!C)
290
290
  return;
291
- const S = U.getName(C), f = new Ne(t).getWidgetRef(S);
291
+ const S = U.getName(C), f = new We(t).getWidgetRef(S);
292
292
  f && (h == null || h(f));
293
- }, V = ct(_ == null ? void 0 : _.newValue, !0), b = (B = Q(g)) == null ? void 0 : B.filter((v) => V == null ? void 0 : V.includes(v));
293
+ }, O = ct(_ == null ? void 0 : _.newValue, !0), b = (B = Q(g)) == null ? void 0 : B.filter((v) => O == null ? void 0 : O.includes(v));
294
294
  !b || b.length <= 0 || b == null || b.forEach((v) => {
295
- var O, C;
296
- const h = (O = g == null ? void 0 : g[v]) == null ? void 0 : O.result;
295
+ var V, C;
296
+ const h = (V = g == null ? void 0 : g[v]) == null ? void 0 : V.result;
297
297
  (C = Q(h)) == null || C.forEach((S) => {
298
298
  var f;
299
299
  const r = h == null ? void 0 : h[S];
@@ -314,30 +314,30 @@ function Kn() {
314
314
  if (p)
315
315
  return p != null && p.ref ? p == null ? void 0 : p.ref : p;
316
316
  }, u = (p) => {
317
- var V, b;
317
+ var O, b;
318
318
  try {
319
- (b = (V = t(p)) == null ? void 0 : V.focus) == null || b.call(V);
319
+ (b = (O = t(p)) == null ? void 0 : O.focus) == null || b.call(O);
320
320
  } catch (B) {
321
321
  console.log(B);
322
322
  }
323
323
  }, g = (p) => {
324
- var V, b;
324
+ var O, b;
325
325
  try {
326
- (b = (V = t(p)) == null ? void 0 : V.blur) == null || b.call(V);
326
+ (b = (O = t(p)) == null ? void 0 : O.blur) == null || b.call(O);
327
327
  } catch (B) {
328
328
  console.log(B);
329
329
  }
330
330
  }, _ = (p) => {
331
- var V;
332
- return (V = t(p)) == null ? void 0 : V.selectionStart;
331
+ var O;
332
+ return (O = t(p)) == null ? void 0 : O.selectionStart;
333
333
  }, P = (p) => {
334
- var V;
335
- return (V = t(p)) == null ? void 0 : V.selectionEnd;
336
- }, i = (p, V) => {
334
+ var O;
335
+ return (O = t(p)) == null ? void 0 : O.selectionEnd;
336
+ }, i = (p, O) => {
337
337
  var b;
338
- return (b = t(p)) == null ? void 0 : b.setSelectionRange(V, V);
339
- }, D = (p, V) => {
340
- u(p), i(p, V);
338
+ return (b = t(p)) == null ? void 0 : b.setSelectionRange(O, O);
339
+ }, D = (p, O) => {
340
+ u(p), i(p, O);
341
341
  };
342
342
  return {
343
343
  getSelectionStart: _,
@@ -347,45 +347,45 @@ function Kn() {
347
347
  focus: u,
348
348
  setMousePos: D,
349
349
  getMousePos: (p) => _(p),
350
- insertOnMousePos: (p, V, b) => {
351
- const B = _(p), v = P(p), h = Sn(b, V, B, v);
352
- return et(() => {
353
- D(p, B + (V == null ? void 0 : V.length));
350
+ insertOnMousePos: (p, O, b) => {
351
+ const B = _(p), v = P(p), h = Sn(b, O, B, v);
352
+ return we(() => {
353
+ D(p, B + (O == null ? void 0 : O.length));
354
354
  }), h;
355
355
  }
356
356
  };
357
357
  }
358
- const Ye = (t) => {
358
+ const Xe = (t) => {
359
359
  var g;
360
360
  const { getFormulaFields: u } = at();
361
361
  return ((g = u(ge(t))) == null ? void 0 : g.length) > 0;
362
- }, J = (t) => {
362
+ }, z = (t) => {
363
363
  const u = t.type;
364
364
  return ![K.fileUpload, K.pictureUpload].includes(u) && t.formItemFlag || [K.form, K.dialog].includes(u);
365
- }, Ze = (t) => {
365
+ }, Ye = (t) => {
366
366
  const u = t.type;
367
367
  return [K.treeSelect, K.cascader, K.select, K.checkbox, K.radio].includes(u);
368
368
  };
369
369
  function to(t) {
370
- const u = t == null ? void 0 : t.designState, g = (t == null ? void 0 : t.created) != !1, _ = t == null ? void 0 : t.exResetField, P = t == null ? void 0 : t.extInitFieldModel, i = t == null ? void 0 : t.widget, D = t == null ? void 0 : t.designer, W = D == null ? void 0 : D.pageConfig, { formRefList: N, globalRefList: p, globalConfig: V, globalFormName: b, globalDataModel: B, rowScope: v } = Ln.globalInject();
371
- let h = Vn(B || {});
372
- const O = he(p), C = he(N), S = () => w(h), r = () => v, f = () => i, n = {
370
+ const u = t == null ? void 0 : t.designState, g = (t == null ? void 0 : t.created) != !1, _ = t == null ? void 0 : t.exResetField, P = t == null ? void 0 : t.extInitFieldModel, i = t == null ? void 0 : t.widget, D = t == null ? void 0 : t.designer, W = D == null ? void 0 : D.pageConfig, { formRefList: N, globalRefList: p, globalConfig: O, globalFormName: b, globalDataModel: B, rowScope: v } = Ln.globalInject();
371
+ let h = On(B || {});
372
+ const V = he(p), C = he(N), S = () => Z(h), r = () => v, f = () => i, n = {
373
373
  instance: {
374
374
  exposed: {
375
- getFormData: !u && Ye(i) ? S : null,
376
- findRefByName: O.getWidgetRef,
375
+ getFormData: !u && Xe(i) ? S : null,
376
+ findRefByName: V.getWidgetRef,
377
377
  getField: f,
378
378
  getRowScope: r
379
379
  }
380
380
  },
381
381
  designState: u,
382
382
  pageConfig: W,
383
- formData: !u && Ye(i) ? h : {},
384
- globalConfig: V
385
- }, d = (t == null ? void 0 : t.shareProp) || { s_attr: !0, s_extendAttr: !0, s_events: !0, s_slots: !0, s_fieldName: !0, s_optionItems: !0 }, { on$: c, dispatch: s, emit$: l } = Dn(), { instance: R } = rt(), { onCompErrorCaptured: T } = jn(), { existFunc: F } = An({ options: i == null ? void 0 : i.options }, n), { attrs: X, extendAttrs: Y, events: k, slots: Be, rules: Le, fieldName: x, buildRules: ft, clearRules: lt, disableChangeValidate: mt, enableChangeValidate: vt, optionItems: ue, filterOptionItems: dt, getCheckedOptionText: gt, getCheckedOptionValues: ht, getCheckedOptionLabels: pt, getCheckedOptionItems: Vt, activeOptionItems: Ot, activeOptionItem: Ct, activeOptionItemIndex: yt, setOptionItems: Te, setWidgetOption: ne, getWidgetOption: pe, setFieldEnable: Et, hasFieldOptions: bt, getFieldOptions: oe, setFieldOptions: Rt, computedDefaultValue: ae, hasDefaultValue: ce, singleOption: xt, watchOption: Mt, addCssClass: _t, removeCssClass: Dt } = st(i, n, d, R), { isIdClass: St, getIdByIdClass: Pt } = In(i), { getOneSchemaData: Wt, getSchemaDataObject: Nt, getSchemaDatas: Bt } = Bn(n), re = Kn();
386
- let Ve = null, M = le();
387
- const q = le(), Lt = () => x.value, Fe = () => `${i == null ? void 0 : i.id}-${Tn()}`, Oe = le(Fe()), Ie = () => {
388
- Oe.value = Fe();
383
+ formData: !u && Xe(i) ? h : {},
384
+ globalConfig: O
385
+ }, d = (t == null ? void 0 : t.shareProp) || { s_attr: !0, s_extendAttr: !0, s_events: !0, s_slots: !0, s_fieldName: !0, s_optionItems: !0 }, { on$: c, dispatch: s, emit$: l } = Dn(), { instance: R } = rt(), { onCompErrorCaptured: T } = jn(), { existFunc: F } = An({ options: i == null ? void 0 : i.options }, n), { attrs: X, extendAttrs: Y, events: k, slots: Ne, rules: Be, fieldName: x, buildRules: ft, clearRules: lt, disableChangeValidate: mt, enableChangeValidate: vt, optionItems: ue, filterOptionItems: dt, getCheckedOptionText: gt, getCheckedOptionValues: ht, getCheckedOptionLabels: pt, getCheckedOptionItems: Ot, activeOptionItems: Vt, activeOptionItem: Ct, activeOptionItemIndex: yt, setOptionItems: Le, setWidgetOption: te, getWidgetOption: pe, setFieldEnable: Et, hasFieldOptions: bt, getFieldOptions: ne, setFieldOptions: Rt, computedDefaultValue: ae, hasDefaultValue: ce, singleOption: xt, watchOption: Mt, addCssClass: _t, removeCssClass: Dt } = st(i, n, d, R), { isIdClass: St, getIdByIdClass: Pt } = In(i), { getOneSchemaData: Wt, getSchemaDataObject: Nt, getSchemaDatas: Bt } = Bn(n), oe = Kn();
386
+ let Oe = null, M = le();
387
+ const q = le(), Lt = () => x.value, Te = () => `${i == null ? void 0 : i.id}-${Tn()}`, Ve = le(Te()), Fe = () => {
388
+ Ve.value = Te();
389
389
  }, Tt = Me({
390
390
  get: () => {
391
391
  if (De(M.value)) {
@@ -410,113 +410,113 @@ function to(t) {
410
410
  }
411
411
  }), It = (e) => {
412
412
  var a, m;
413
- var o = (m = (a = O.getWidgetRef(x.value)) == null ? void 0 : a.exposed) == null ? void 0 : m.loadOptionItems;
413
+ var o = (m = (a = V.getWidgetRef(x.value)) == null ? void 0 : a.exposed) == null ? void 0 : m.loadOptionItems;
414
414
  if (o !== void 0) {
415
415
  o == null || o(e);
416
416
  return;
417
417
  }
418
- Te(e);
418
+ Le(e);
419
419
  }, Ce = (e) => {
420
420
  var o, a, m;
421
- return (m = (a = (o = O.getWidgetRef(x.value)) == null ? void 0 : o.exposed) == null ? void 0 : a.getCheckedItems) == null ? void 0 : m.call(a, e);
422
- }, $e = (e) => {
421
+ return (m = (a = (o = V.getWidgetRef(x.value)) == null ? void 0 : o.exposed) == null ? void 0 : a.getCheckedItems) == null ? void 0 : m.call(a, e);
422
+ }, Ie = (e) => {
423
423
  var o, a, m;
424
- return (m = (a = (o = O.getWidgetRef(x.value)) == null ? void 0 : o.exposed) == null ? void 0 : a.getCheckedLabels) == null ? void 0 : m.call(a, e);
424
+ return (m = (a = (o = V.getWidgetRef(x.value)) == null ? void 0 : o.exposed) == null ? void 0 : a.getCheckedLabels) == null ? void 0 : m.call(a, e);
425
425
  }, $t = (e) => {
426
426
  var o, a, m;
427
- return (m = (a = (o = O.getWidgetRef(x.value)) == null ? void 0 : o.exposed) == null ? void 0 : a.getCheckedText) == null ? void 0 : m.call(a, e);
427
+ return (m = (a = (o = V.getWidgetRef(x.value)) == null ? void 0 : o.exposed) == null ? void 0 : a.getCheckedText) == null ? void 0 : m.call(a, e);
428
428
  }, ye = () => {
429
429
  var y;
430
430
  const e = (y = Y.value) == null ? void 0 : y.withAttachData;
431
- if (!Ze(i) || e === !1)
431
+ if (!Ye(i) || e === !1)
432
432
  return;
433
- const o = M.value, a = $e(o), m = $t(o);
434
- var E = w(Ce(o));
435
- je(a, E, m);
436
- }, je = (e, o, a) => {
433
+ const o = M.value, a = Ie(o), m = $t(o);
434
+ var E = Z(Ce(o));
435
+ $e(a, E, m);
436
+ }, $e = (e, o, a) => {
437
437
  var m = {};
438
438
  if (e != null) {
439
- let E = oe("textName", !1);
439
+ let E = ne("textName", !1);
440
440
  [`${x.value}${de.optionText}`, E].forEach((y) => {
441
441
  y && m[y] === void 0 && (m[y] = e);
442
442
  });
443
443
  }
444
444
  if (o != null && ge(o) !== ge(M.value)) {
445
- let E = oe("optionName", !1);
445
+ let E = ne("optionName", !1);
446
446
  [`${x.value}${de.checkedOptions}`, E].forEach((y) => {
447
447
  y && m[y] === void 0 && (m[y] = o);
448
448
  });
449
449
  }
450
450
  if (a != null) {
451
- let E = oe("labelName", !1);
451
+ let E = ne("labelName", !1);
452
452
  e != a && [`${x.value}${de.optionLabelName}`, E].forEach((y) => {
453
453
  y && m[y] === void 0 && (m[y] = a);
454
454
  });
455
455
  }
456
- z(h, w(m));
457
- }, Z = (e) => {
458
- if (J(i)) {
456
+ se(h, Z(m));
457
+ }, G = (e) => {
458
+ if (z(i)) {
459
459
  ye();
460
460
  var o = { [x.value]: e };
461
- z(h, o);
461
+ se(h, o);
462
462
  }
463
- }, se = (e) => {
464
- u || Z(e);
465
- }, Ae = (e) => oe(e, !1), ke = () => {
463
+ }, re = (e) => {
464
+ u || G(e);
465
+ }, je = (e) => ne(e, !1), Ae = () => {
466
466
  var e = yn(h);
467
467
  M = ut.get(e, x.value);
468
- }, He = (e) => {
469
- Ve = w(e);
468
+ }, ke = (e) => {
469
+ Oe = Z(e);
470
470
  }, jt = () => {
471
- u || P && P(G());
471
+ u || P && P(J());
472
472
  }, At = () => {
473
473
  ce() && ve(ae()).then((e) => {
474
- Z(e), ke();
474
+ G(e), Ae();
475
475
  });
476
476
  }, Ee = (e, o) => {
477
- if (!J(i))
477
+ if (!z(i))
478
478
  return;
479
479
  l(j.fieldValueChanged, { newValue: e, oldValue: o });
480
480
  const a = { fieldId: i.id, fieldName: x.value, newValue: e, oldValue: o };
481
481
  s(b, j.fieldChange, a, R);
482
- }, kt = (e) => F(e), be = (e, o) => Pe(pe(e), o), Ht = (e) => {
483
- se(e), qe(), be(j.onInput, { value: e });
482
+ }, kt = (e) => F(e), be = (e, o) => Se(pe(e), o), Ht = (e) => {
483
+ re(e), Ue(), be(j.onInput, { value: e });
484
484
  }, Kt = (e, o) => {
485
485
  var a, m, E;
486
- return (E = (m = (a = O.getWidgetRef(x.value)) == null ? void 0 : a.exposed) == null ? void 0 : m.handleBeforeChange) == null ? void 0 : E.call(m, e, o);
486
+ return (E = (m = (a = V.getWidgetRef(x.value)) == null ? void 0 : a.exposed) == null ? void 0 : m.handleBeforeChange) == null ? void 0 : E.call(m, e, o);
487
487
  }, Ut = (...e) => {
488
488
  var E, y, L;
489
489
  let a = ((E = e == null ? void 0 : e[0]) == null ? void 0 : E.target) != null ? (L = (y = e == null ? void 0 : e[0]) == null ? void 0 : y.target) == null ? void 0 : L.value : e == null ? void 0 : e[0];
490
- a = w(a);
491
- var m = Kt(a, Ve);
492
- m != null ? se(m) : se(a), Ee(a, Ve), qe(), He(a);
490
+ a = Z(a);
491
+ var m = Kt(a, Oe);
492
+ m != null ? re(m) : re(a), Ee(a, Oe), Ue(), ke(a);
493
493
  }, qt = (e = !0) => {
494
- ne($.readonly, e);
494
+ te($.readonly, e);
495
495
  }, Gt = (e = !0) => {
496
- ne($.disabled, e);
496
+ te($.disabled, e);
497
497
  }, Jt = (e = !0) => {
498
- ne($.hidden, e), e ? Je() : fe();
498
+ te($.hidden, e), e ? Ge() : fe();
499
499
  }, zt = (e = !0) => {
500
500
  Et($.required, e), fe();
501
501
  }, Qt = (e) => {
502
- ne($.label, e);
503
- }, G = () => M == null ? void 0 : M.value, Ke = (e) => {
502
+ te($.label, e);
503
+ }, J = () => M == null ? void 0 : M.value, He = (e) => {
504
504
  M.value = e;
505
505
  }, ie = (e) => {
506
- let o = w(G());
507
- if (Ke(e), !J(i))
506
+ let o = Z(J());
507
+ if (He(e), !z(i))
508
508
  return;
509
- const a = G();
510
- o !== a && (se(a), Ee(e, o));
509
+ const a = J();
510
+ o !== a && (re(a), Ee(e, o));
511
511
  }, Xt = () => {
512
512
  ce() ? ve(ae()).then((e) => {
513
- Z(e);
514
- }) : Z(null), _ == null || _();
513
+ G(e);
514
+ }) : G(null), _ == null || _();
515
515
  }, Yt = (e) => {
516
- const o = G(), a = re.insertOnMousePos(q.value, e, o);
516
+ const o = J(), a = oe.insertOnMousePos(q.value, e, o);
517
517
  ie(a);
518
518
  }, Zt = (e, o) => {
519
- ee(() => M == null ? void 0 : M.value, (a, m) => {
519
+ w(() => M == null ? void 0 : M.value, (a, m) => {
520
520
  e == null || e({ id: i.id, name: x.value, newValue: a, oldValue: m });
521
521
  }, o);
522
522
  }, wt = (e) => {
@@ -529,16 +529,16 @@ function to(t) {
529
529
  }, a = document.activeElement;
530
530
  if (!a)
531
531
  return;
532
- const m = document.getElementsByClassName(Xe.formItemTarget);
532
+ const m = document.getElementsByClassName(Qe.formItemTarget);
533
533
  for (var E = 0; E < m.length; E++) {
534
- const L = m[E], I = it(a, Xe.formItemTarget);
534
+ const L = m[E], I = it(a, Qe.formItemTarget);
535
535
  if (!I)
536
536
  continue;
537
537
  const H = o(L), Re = o(I);
538
538
  if (H === Re) {
539
539
  if (E === m.length - 1)
540
540
  return;
541
- const ln = m[E + 1], mn = o(ln), xe = O.findRefById(mn, R);
541
+ const ln = m[E + 1], mn = o(ln), xe = V.findRefById(mn, R);
542
542
  try {
543
543
  (y = xe == null ? void 0 : xe.exposed) == null || y.focus();
544
544
  } catch (vn) {
@@ -555,19 +555,19 @@ function to(t) {
555
555
  refList: N,
556
556
  allRefList: p,
557
557
  changeRegisterToRefList: (I, H) => {
558
- O.changeRegisterToRefList(I, H), C.changeRegisterToRefList(I, H);
558
+ V.changeRegisterToRefList(I, H), C.changeRegisterToRefList(I, H);
559
559
  },
560
560
  getField: f,
561
561
  getFormData: S,
562
- getValue: G,
563
- setValue: Ke,
562
+ getValue: J,
563
+ setValue: He,
564
564
  emit$: l,
565
- findRefByName: O.getWidgetRef,
566
- findRefById: O.findRefById,
567
- callRefFunc: O.callRefFunc,
565
+ findRefByName: V.getWidgetRef,
566
+ findRefById: V.findRefById,
567
+ callRefFunc: V.callRefFunc,
568
568
  getWidgetOption: pe,
569
- setWidgetOption: ne,
570
- refreshKey: Ie,
569
+ setWidgetOption: te,
570
+ refreshKey: Fe,
571
571
  getRowScope: r,
572
572
  //组件的数据绑定:继承的数据,用于计算组件属性变量
573
573
  getOneSchemaData: Wt,
@@ -577,28 +577,28 @@ function to(t) {
577
577
  removeCssClass: Dt
578
578
  }, o = {
579
579
  resetField: Xt,
580
- getValue: G,
580
+ getValue: J,
581
581
  setValue: ie,
582
582
  refreshDefaultValue: At,
583
583
  insertOnMousePos: Yt,
584
584
  disableChangeValidate: mt,
585
585
  enableChangeValidate: vt,
586
586
  focus: () => {
587
- re.focus(q.value);
587
+ oe.focus(q.value);
588
588
  },
589
589
  blur: () => {
590
- re.blur(q.value);
590
+ oe.blur(q.value);
591
591
  },
592
592
  getMousePos: () => {
593
- re.getMousePos(q.value);
593
+ oe.getMousePos(q.value);
594
594
  },
595
595
  setMousePos: (I) => {
596
- re.setMousePos(q.value, I);
596
+ oe.setMousePos(q.value, I);
597
597
  }
598
598
  }, a = {
599
599
  loadOptionItems: It,
600
600
  getCheckedItems: Ce,
601
- getCheckedLabels: $e
601
+ getCheckedLabels: Ie
602
602
  }, m = {
603
603
  [$.required]: { name: A.setRequired, fn: zt },
604
604
  [$.label]: { name: A.setLabel, fn: Qt },
@@ -612,19 +612,19 @@ function to(t) {
612
612
  E[H.name] = H.fn;
613
613
  }
614
614
  });
615
- var y = z(e, E);
616
- return J(i) && (y = z(y, o)), Ze(i) && (y = z(y, a)), y;
615
+ var y = se(e, E);
616
+ return z(i) && (y = se(y, o)), Ye(i) && (y = se(y, a)), y;
617
617
  };
618
618
  const tn = Me(() => ({
619
619
  attrs: X.value,
620
620
  extendAttrs: Y.value,
621
621
  events: k.value,
622
- slots: Be.value,
623
- fieldKey: Oe.value,
622
+ slots: Ne.value,
623
+ fieldKey: Ve.value,
624
624
  fieldEditor: q.value,
625
625
  fieldName: x.value
626
626
  })), nn = (e) => {
627
- t.designState && t.designer && ee(() => {
627
+ t.designState && t.designer && w(() => {
628
628
  var o;
629
629
  return (o = t == null ? void 0 : t.widget) == null ? void 0 : o[e];
630
630
  }, (o, a) => {
@@ -634,29 +634,29 @@ function to(t) {
634
634
  deep: !0
635
635
  });
636
636
  }, on = (e, o, a) => {
637
- const m = le(), E = Ae(e), y = (L) => {
637
+ const m = le(), E = je(e), y = (L) => {
638
638
  o && (m.value = o(L || E));
639
639
  };
640
- return tt(E) ? ee(E, (L) => {
640
+ return et(E) ? w(E, (L) => {
641
641
  y(L), a && a(L);
642
642
  }) : y(E), m;
643
- }, Ue = () => {
644
- !J(i) || u || Zt((e) => {
643
+ }, Ke = () => {
644
+ !z(i) || u || Zt((e) => {
645
645
  kn(p, i == null ? void 0 : i.id, n), Hn(p, i == null ? void 0 : i.id, U.getOptions(i, $.relate), e), ye();
646
646
  }, { immediate: !0 });
647
- }, qe = () => {
647
+ }, Ue = () => {
648
648
  const e = { propName: x.value };
649
649
  s(b, j.fieldValidation, e, R);
650
- }, Ge = () => {
651
- const e = { fieldId: i.id, fieldName: x.value, rules: Le };
650
+ }, qe = () => {
651
+ const e = { fieldId: i.id, fieldName: x.value, rules: Be };
652
652
  s(b, j.fieldRuleChange, e, R);
653
653
  }, fe = () => {
654
- if (!J(i))
654
+ if (!z(i))
655
655
  return;
656
656
  const e = ft();
657
- return Ge(), e;
658
- }, Je = () => {
659
- lt(), Ge();
657
+ return qe(), e;
658
+ }, Ge = () => {
659
+ lt(), qe();
660
660
  }, rn = () => {
661
661
  _e(i, "change") && (k.value.change = Ut), _e(i, "input") && (k.value.input = Ht), c(Pn.setFormData, (e) => {
662
662
  ie(e[x.value]);
@@ -665,42 +665,42 @@ function to(t) {
665
665
  });
666
666
  }, sn = () => {
667
667
  let e = x.value;
668
- J(i) ? ((!Mn(h, e) || h[e] === void 0) && (Z(null), ce() && ve(ae()).then((o) => {
669
- Z(o);
670
- })), ke()) : ce() && ve(ae()).then((o) => {
668
+ z(i) ? ((!Mn(h, e) || h[e] === void 0) && (G(null), ce() && ve(ae()).then((o) => {
669
+ o == null ? G(null) : G(o);
670
+ })), Ae()) : ce() && ve(ae()).then((o) => {
671
671
  ie(o);
672
- }), He(G()), jt();
672
+ }), ke(J()), jt();
673
673
  }, un = () => {
674
- ee(() => ue == null ? void 0 : ue.value, (e, o) => {
674
+ w(() => ue == null ? void 0 : ue.value, (e, o) => {
675
675
  ye();
676
676
  });
677
677
  }, an = () => {
678
678
  const e = Cn(Wn.isRenderComplete);
679
679
  if (e != null && e.value) {
680
- Ue();
680
+ Ke();
681
681
  return;
682
682
  }
683
- e != null && ee(() => e == null ? void 0 : e.value, (o) => {
684
- o && Ue();
683
+ e != null && w(() => e == null ? void 0 : e.value, (o) => {
684
+ o && Ke();
685
685
  }, { immediate: !0 });
686
686
  }, cn = () => {
687
687
  var e, o;
688
688
  if (g)
689
689
  try {
690
- sn(), fe(), rn(), O.registerToRefList(x.value), C.registerToRefList(x.value), (o = (e = k == null ? void 0 : k.value) == null ? void 0 : e.created) == null || o.call(e), T();
690
+ sn(), fe(), rn(), V.registerToRefList(x.value), C.registerToRefList(x.value), (o = (e = k == null ? void 0 : k.value) == null ? void 0 : e.created) == null || o.call(e), T();
691
691
  } catch (a) {
692
692
  console.log("create", i, a);
693
693
  }
694
694
  }, fn = () => {
695
- g && (we(() => {
695
+ g && (Ze(() => {
696
696
  var e, o;
697
697
  try {
698
698
  an(), un(), (o = (e = k == null ? void 0 : k.value) == null ? void 0 : e.mounted) == null || o.call(e);
699
699
  } catch (a) {
700
700
  console.log("mounted", i, a);
701
701
  }
702
- }), On(() => {
703
- O.unregisterFromRefList(x.value), C.unregisterFromRefList(x.value);
702
+ }), Vn(() => {
703
+ V.unregisterFromRefList(x.value), C.unregisterFromRefList(x.value);
704
704
  }));
705
705
  };
706
706
  return cn(), fn(), {
@@ -709,31 +709,31 @@ function to(t) {
709
709
  objFieldModel: Ft,
710
710
  numFieldModel: Tt,
711
711
  fieldEditor: q,
712
- fieldKey: Oe,
712
+ fieldKey: Ve,
713
713
  field: i,
714
714
  instance: R,
715
715
  attrs: X,
716
716
  extendAttrs: Y,
717
- slots: Be,
717
+ slots: Ne,
718
718
  events: k,
719
- rules: Le,
719
+ rules: Be,
720
720
  fieldObj: tn,
721
721
  pageConfig: W,
722
722
  formModel: h,
723
723
  fieldName: x,
724
724
  propResultOpt: n,
725
725
  optionItems: ue,
726
- activeOptionItems: Ot,
726
+ activeOptionItems: Vt,
727
727
  activeOptionItem: Ct,
728
728
  activeOptionItemIndex: yt,
729
729
  filterOptionItems: dt,
730
- setOptionItems: Te,
730
+ setOptionItems: Le,
731
731
  getCheckedItems: Ce,
732
- getCheckedOptionItems: (e) => Vt(e || M.value),
732
+ getCheckedOptionItems: (e) => Ot(e || M.value),
733
733
  getCheckedOptionLabels: (e) => pt(e || M.value),
734
734
  getCheckedOptionValues: (e) => ht(e || M.value),
735
735
  getCheckedOptionText: (e) => gt(e || M.value),
736
- refreshKey: Ie,
736
+ refreshKey: Fe,
737
737
  watchKeyValue: on,
738
738
  watchPropAndSaveHistoryStep: nn,
739
739
  existEvent: kt,
@@ -741,22 +741,22 @@ function to(t) {
741
741
  handleEnter: wt,
742
742
  getPropName: Lt,
743
743
  emitFieldDataChange: Ee,
744
- syncUpdateFormModel: se,
745
- getWidgetRef: O.getWidgetRef,
746
- clearRules: Je,
744
+ syncUpdateFormModel: re,
745
+ getWidgetRef: V.getWidgetRef,
746
+ clearRules: Ge,
747
747
  buildRules: fe,
748
- getFieldOptionModel: Ae,
749
- getFieldOptions: oe,
748
+ getFieldOptionModel: je,
749
+ getFieldOptions: ne,
750
750
  hasFieldOptions: bt,
751
751
  setFieldOptions: Rt,
752
752
  getWidgetOption: pe,
753
753
  singleOption: xt,
754
754
  watchOption: Mt,
755
- mergeOptionToFormModel: je
755
+ mergeOptionToFormModel: $e
756
756
  };
757
757
  }
758
758
  export {
759
- Ne as R,
759
+ We as R,
760
760
  he as a,
761
761
  to as b,
762
762
  An as u