hlrender 0.0.52 → 0.0.54

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-720c9efd.js → affix-widget-38e5f590.js} +16 -16
  2. package/{alert-widget-a899f06e.js → alert-widget-fc4bd2fe.js} +16 -16
  3. package/{anchor-widget-ef71570c.js → anchor-widget-768cbd87.js} +13 -13
  4. package/{auto-complete-widget-b0695fb0.js → auto-complete-widget-2f757f82.js} +16 -16
  5. package/{avatar-widget-abff3d76.js → avatar-widget-42311594.js} +16 -16
  6. package/{backtop-widget-ece33c67.js → backtop-widget-0cb8fcfa.js} +16 -16
  7. package/{badge-widget-558e0e7a.js → badge-widget-1574e77f.js} +16 -16
  8. package/{baseImp-7fb8e7ad.js → baseImp-331ad672.js} +6 -6
  9. package/{breadcrumb-widget-caac5972.js → breadcrumb-widget-fb303e2f.js} +13 -13
  10. package/{button-widget-6052c8ec.js → button-widget-ace24fe4.js} +16 -16
  11. package/{cache-widget-43d274c9.js → cache-widget-ae4a4414.js} +15 -15
  12. package/{card-widget-4a64059d.js → card-widget-f6f79cb2.js} +14 -14
  13. package/{carousel-widget-0e2d6365.js → carousel-widget-db39db9d.js} +14 -14
  14. package/{cascader-widget-42b42b5d.js → cascader-widget-bf793900.js} +15 -15
  15. package/{chart-widget-d0edcec4.js → chart-widget-f60d21e2.js} +13 -13
  16. package/{checkbox-widget-53ef9bb1.js → checkbox-widget-61a797d0.js} +15 -15
  17. package/{collapse-widget-5b92ec53.js → collapse-widget-8df85fa6.js} +14 -14
  18. package/{color-picker-widget-2aa51feb.js → color-picker-widget-a7b8d2e7.js} +15 -15
  19. package/{cont-cell-widget-01ed00a8.js → cont-cell-widget-f5945deb.js} +1 -1
  20. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d3fec734.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-97bba2d5.js} +5 -5
  21. package/{cont-widget-008ff6be.js → cont-widget-2523bb1a.js} +5 -5
  22. package/content-wrapper-aaa51263.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-f672ea0d.js} +3 -3
  24. package/{date-picker-range-widget-4c99e6f6.js → date-picker-range-widget-c56046b3.js} +15 -15
  25. package/{date-picker-widget-7d2bc769.js → date-picker-widget-0c93ef15.js} +15 -15
  26. package/default-slot-widget-7c3e04ca.js +24 -0
  27. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1b96b459.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-3d184fea.js} +7 -7
  28. package/{descriptions-widget-bb029280.js → descriptions-widget-799d080c.js} +14 -14
  29. package/{dialog-90dff606.js → dialog-e633dca4.js} +2 -2
  30. package/{dialog-widget-6ed2346d.js → dialog-widget-ce9054e5.js} +15 -15
  31. package/{divider-widget-cdf31401.js → divider-widget-50472922.js} +16 -16
  32. package/{drag-wrapper-af1b931c.js → drag-wrapper-9fd647dc.js} +6 -6
  33. package/{drawer-widget-4b97c6bd.js → drawer-widget-3a9aa37a.js} +15 -15
  34. package/{dropdown-widget-be56637d.js → dropdown-widget-ed41fa75.js} +14 -14
  35. package/{empty-widget-d354daeb.js → empty-widget-9cf48bdb.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-fa25ac84.js} +408 -395
  39. package/feedback-widget-89463cb1.js +24 -0
  40. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-500be642.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-1fe13de1.js} +5 -5
  41. package/{fieldobj-3869eac1.js → fieldobj-eb9e931d.js} +1 -1
  42. package/{file-upload-widget-b00a7e5f.js → file-upload-widget-9051e722.js} +16 -16
  43. package/{form-item-wrapper-3672beb8.js → form-item-wrapper-36ddcd21.js} +11 -11
  44. package/{form-widget-54444b5c.js → form-widget-13bced88.js} +10 -10
  45. package/{grid-col-widget-1eb649b3.js → grid-col-widget-645d2788.js} +1 -1
  46. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-bb1a5ffa.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ad91275c.js} +5 -5
  47. package/{grid-widget-09e314d7.js → grid-widget-9a440974.js} +5 -5
  48. package/{html-text-widget-713c3f1e.js → html-text-widget-958356a4.js} +14 -14
  49. package/{iframe-widget-c5b27494.js → iframe-widget-08b57049.js} +13 -13
  50. package/{image-widget-1d7435e2.js → image-widget-638e471d.js} +13 -13
  51. package/{index-8b9ef71e.js → index-8121f6c7.js} +1 -1
  52. package/{index-d054c102.js → index-d3150640.js} +5 -5
  53. package/{index-a5cda776.js → index-de97884a.js} +4 -4
  54. package/{input-number-widget-187532e3.js → input-number-widget-2a7588d7.js} +15 -15
  55. package/{input-widget-476f69c8.js → input-widget-8c468359.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-776eff50.js → link-widget-df59cbe0.js} +16 -16
  59. package/{ltable-col-widget-85538e4b.js → ltable-col-widget-96685bca.js} +1 -1
  60. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-65eb4264.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-9633c5f0.js} +10 -10
  61. package/{ltable-widget-ad3168ec.js → ltable-widget-4b8d42da.js} +5 -5
  62. package/{menu-widget-0d0f8bf3.js → menu-widget-bc5e2124.js} +14 -14
  63. package/{model-widget-cbd6d10c.js → model-widget-d8538d38.js} +13 -13
  64. package/{multirow-2ef82f3f.js → multirow-f6d4270e.js} +6 -6
  65. package/{multirow-widget-9d0bb6b7.js → multirow-widget-5d15caa6.js} +15 -15
  66. package/package.json +1 -1
  67. package/{pagination-widget-0d78d4a6.js → pagination-widget-98efe25f.js} +13 -13
  68. package/{picture-upload-widget-a7b34eea.js → picture-upload-widget-1dd0c4e3.js} +16 -16
  69. package/{progress-widget-0dfc4206.js → progress-widget-39f3979f.js} +14 -14
  70. package/{propresult-a2860930.js → propresult-375403e3.js} +1 -1
  71. package/{radio-widget-bfae2dd2.js → radio-widget-0a85ea9d.js} +15 -15
  72. package/{range-widget-2d2eb2d7.js → range-widget-03bea16d.js} +16 -16
  73. package/{rate-widget-fd2efc64.js → rate-widget-e5892853.js} +15 -15
  74. package/render.es.js +30 -30
  75. package/render.umd.js +83 -83
  76. package/{result-widget-633f9da9.js → result-widget-27fda955.js} +14 -14
  77. package/{rich-editor-widget-d77f2903.js → rich-editor-widget-078f8b70.js} +15 -15
  78. package/{router-widget-293e7aaa.js → router-widget-22c54fed.js} +13 -13
  79. package/{select-widget-631ad509.js → select-widget-f18e7484.js} +55 -55
  80. package/{sfc-2e04a9d2.js → sfc-6924facc.js} +8 -8
  81. package/{share-field-2e65357c.js → share-field-0d891775.js} +260 -255
  82. package/{share-file-eb689377.js → share-file-2191ea90.js} +5 -5
  83. package/{slider-widget-2da9ca84.js → slider-widget-71124f69.js} +15 -15
  84. package/{slot-8a437369.js → slot-57c81a23.js} +3 -3
  85. package/{static-text-widget-12ee38d3.js → static-text-widget-c3428b74.js} +14 -14
  86. package/{steps-widget-50a5b1b2.js → steps-widget-c2c7fc74.js} +13 -13
  87. package/subMenu-widget-8a8eac36.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-a24afb5b.js} +3 -3
  89. package/{switch-widget-c6108ecb.js → switch-widget-cc822e25.js} +15 -15
  90. package/{tab-pane-widget-80652380.js → tab-pane-widget-8e894720.js} +1 -1
  91. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-d324110f.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-73420793.js} +5 -5
  92. package/table-col-widget-3ca531b1.js +20 -0
  93. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a1d453e5.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4f106048.js} +6 -6
  94. package/{table-widget-9d2d3190.js → table-widget-d254a81e.js} +15 -15
  95. package/{tabs-widget-a0ad6a27.js → tabs-widget-662ddd5d.js} +8 -8
  96. package/{tag-widget-9bf22989.js → tag-widget-47e25f31.js} +16 -16
  97. package/{text-widget-b22caa75.js → text-widget-a2214c3d.js} +16 -16
  98. package/{textarea-widget-ab064141.js → textarea-widget-cc709e52.js} +15 -15
  99. package/{time-picker-range-widget-c3922ec2.js → time-picker-range-widget-7e4cd1b8.js} +15 -15
  100. package/{time-picker-widget-f48d5a8d.js → time-picker-widget-e8fbaa95.js} +15 -15
  101. package/{time-select-widget-5af3138d.js → time-select-widget-ad847d8d.js} +15 -15
  102. package/{tmpl-widget-4b44bea8.js → tmpl-widget-c83cc6d0.js} +14 -14
  103. package/{tree-select-widget-2e2b5eb9.js → tree-select-widget-bd75b305.js} +15 -15
  104. package/{tree-widget-da2871fb.js → tree-widget-e52977ff.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-37c30836.js} +7 -7
  107. package/{wrapper-widget-b638dad4.js → wrapper-widget-19fb6366.js} +6 -6
  108. package/content-wrapper-167976d7.js +0 -14
  109. package/default-slot-widget-dd268245.js +0 -24
  110. package/feedback-widget-99fb44f3.js +0 -24
  111. package/subMenu-widget-a9f796af.js +0 -16
  112. package/table-col-widget-6d6e3132.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-f6d4270e.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-fa25ac84.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-331ad672.js";
10
+ import { F as Ln } from "./slot-57c81a23.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-d3150640.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,56 +64,56 @@ 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
- let o = _(v);
70
- return o && C.push(o), C == null || C.forEach((f) => {
71
- var n = D(f, h, O);
69
+ let r = _(v);
70
+ return r && C.push(r), C == null || C.forEach((f) => {
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));
87
- S == null || S.forEach((o) => {
88
- var f = P(o, h, O);
89
- Se(f) || C.push(f);
86
+ var S = Pe(ct(v, !0));
87
+ S == null || S.forEach((r) => {
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);
100
- const S = (s) => (s == null ? void 0 : s.id) === v, o = (s) => {
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
+ 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;
106
106
  try {
107
107
  const F = (T = (R = u.refList[s]) == null ? void 0 : R.exposed) == null ? void 0 : T.getField();
108
108
  var l = S(F);
109
- return !l && (C != null && C.groupName) && (l = o(F)), l;
109
+ return !l && (C != null && C.groupName) && (l = r(F)), l;
110
110
  } catch {
111
111
  return !1;
112
112
  }
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,56 +134,56 @@ 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 = () => {
148
- var o, f;
149
- return (f = (o = Q(t)) == null ? void 0 : o.map((n) => i(t == null ? void 0 : t[n], A.getField))) == null ? void 0 : f.filter((n) => !!n);
150
- }, N = (o) => {
148
+ var r, f;
149
+ return (f = (r = Q(t)) == null ? void 0 : r.map((n) => i(t == null ? void 0 : t[n], A.getField))) == null ? void 0 : f.filter((n) => !!n);
150
+ }, N = (r) => {
151
151
  var c;
152
- const f = (c = W()) == null ? void 0 : c.find((s) => (s == null ? void 0 : s.id) === o);
152
+ const f = (c = W()) == null ? void 0 : c.find((s) => (s == null ? void 0 : s.id) === r);
153
153
  if (!f)
154
154
  return;
155
155
  const n = U.getName(f), d = P.getWidgetRef(n);
156
156
  if (d)
157
157
  return { ref: d, name: n, id: f == null ? void 0 : f.id };
158
- }, p = (o, f) => {
159
- if (!te(f))
158
+ }, p = (r, f) => {
159
+ if (!ee(f))
160
160
  return;
161
- const n = U.getName(o), d = P.getWidgetRef(n);
161
+ const n = U.getName(r), d = P.getWidgetRef(n);
162
162
  if (d) {
163
- const c = U.getOptions(o, 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) => {
163
+ const c = U.getOptions(r, j.defaultValue, !1, !(g != null && g.designState), { ...g, formData: f });
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 = (o, f) => {
173
- const n = N(o);
172
+ }, O = (r, f) => {
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;
178
- }, b = (o, f) => {
177
+ return l[d] = c, c !== void 0 && !Rn(s) && !f && (l[`${d}${de.checkedOptions}`] = s), l;
178
+ }, b = (r, f) => {
179
179
  var d;
180
180
  var n = [];
181
181
  if ((d = W()) == null || d.forEach((c) => {
182
182
  if (!c)
183
183
  return;
184
184
  const s = c == null ? void 0 : c.id;
185
- var l = s === o;
186
- const R = D(s), T = (R == null ? void 0 : R.id) === o, F = (R == null ? void 0 : R.groupName) === f;
185
+ var l = s === r;
186
+ const R = D(s), T = (R == null ? void 0 : R.id) === r, F = (R == null ? void 0 : R.groupName) === f;
187
187
  return l || T && (F || !f) ? (n.push(c), !0) : !1;
188
188
  }), !(!n || n.length <= 0))
189
189
  return n == null ? void 0 : n.map((c) => {
@@ -194,24 +194,24 @@ const kn = (t, u, g, _) => {
194
194
  source: c == null ? void 0 : c._source
195
195
  };
196
196
  });
197
- }, B = (o, f) => {
197
+ }, B = (r, f) => {
198
198
  var n = [];
199
- if (!o || (o == null ? void 0 : o.length) <= 0)
199
+ if (!r || (r == null ? void 0 : r.length) <= 0)
200
200
  return n;
201
201
  const d = D(u), c = d == null ? void 0 : d.groupName;
202
- return f === me.Inner2Outer ? o == null || o.forEach((s) => {
202
+ return f === me.Inner2Outer ? r == null || r.forEach((s) => {
203
203
  var l = b(s);
204
204
  l && (l == null ? void 0 : l.length) > 0 && n.push(...l);
205
- }) : o == null || o.forEach((s) => {
205
+ }) : r == null || r.forEach((s) => {
206
206
  var l = b(s, c);
207
207
  l && (l == null ? void 0 : l.length) > 0 && n.push(...l);
208
208
  }), n;
209
- }, v = (o, f) => {
210
- const n = {};
211
- if (!o || o.length <= 0)
209
+ }, v = (r, f) => {
210
+ let n = {};
211
+ if (!r || r.length <= 0)
212
212
  return n;
213
213
  if (f === me.Inner2Outer) {
214
- var d = En(o, (c) => {
214
+ var d = En(r, (c) => {
215
215
  var s;
216
216
  return (s = c.source) == null ? void 0 : s.id;
217
217
  });
@@ -219,41 +219,41 @@ 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
- o.forEach((c) => {
231
- const s = V(c == null ? void 0 : c.id);
232
- te(s) && z(n, s);
230
+ r.forEach((c) => {
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
- }, h = (o) => {
235
+ }, h = (r) => {
236
236
  var f = {};
237
- return o == null || o.forEach((n) => {
237
+ return r == null || r.forEach((n) => {
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 = (o, 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
- var d = h(o);
245
- if (te(d)) {
244
+ var d = h(r);
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
  }
252
252
  }
253
253
  return f;
254
- }, C = (o) => {
255
- const f = o == null ? void 0 : o.id;
256
- var n = U.getOrgOption(o, j.defaultValue);
254
+ }, C = (r) => {
255
+ const f = r == null ? void 0 : r.id;
256
+ var n = U.getOrgOption(r, j.defaultValue);
257
257
  if (n == null)
258
258
  return;
259
259
  const d = _n(u, f);
@@ -266,40 +266,40 @@ 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, o, d), l);
269
+ p(V(s, r, d), l);
270
270
  };
271
271
  (() => {
272
- var o;
273
- (o = W()) == null || o.forEach((f) => {
272
+ var r;
273
+ (r = W()) == null || r.forEach((f) => {
274
274
  C(f);
275
275
  });
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
- const o = h == null ? void 0 : h[S];
300
- (f = o == null ? void 0 : o.ids) == null || f.forEach((n) => {
299
+ const r = h == null ? void 0 : h[S];
300
+ (f = r == null ? void 0 : r.ids) == null || f.forEach((n) => {
301
301
  p(n, (d) => {
302
- N(d, o == null ? void 0 : o.event, o == null ? void 0 : o.args);
302
+ N(d, r == null ? void 0 : r.event, r == null ? void 0 : r.args);
303
303
  });
304
304
  });
305
305
  });
@@ -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), o = () => 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
- getRowScope: o
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)) {
@@ -409,131 +409,136 @@ function to(t) {
409
409
  M.value = e;
410
410
  }
411
411
  }), It = (e) => {
412
- var r, a, m;
413
- (m = (a = (r = O.getWidgetRef(x.value)) == null ? void 0 : r.exposed) == null ? void 0 : a.loadOptionItems) == null || m.call(a, e), Te(e);
412
+ var a, m;
413
+ var o = (m = (a = V.getWidgetRef(x.value)) == null ? void 0 : a.exposed) == null ? void 0 : m.loadOptionItems;
414
+ if (o !== void 0) {
415
+ o == null || o(e);
416
+ return;
417
+ }
418
+ Le(e);
414
419
  }, Ce = (e) => {
415
- var r, a, m;
416
- return (m = (a = (r = O.getWidgetRef(x.value)) == null ? void 0 : r.exposed) == null ? void 0 : a.getCheckedItems) == null ? void 0 : m.call(a, e);
417
- }, $e = (e) => {
418
- var r, a, m;
419
- return (m = (a = (r = O.getWidgetRef(x.value)) == null ? void 0 : r.exposed) == null ? void 0 : a.getCheckedLabels) == null ? void 0 : m.call(a, e);
420
+ var o, a, m;
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
+ var o, a, m;
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);
420
425
  }, $t = (e) => {
421
- var r, a, m;
422
- return (m = (a = (r = O.getWidgetRef(x.value)) == null ? void 0 : r.exposed) == null ? void 0 : a.getCheckedText) == null ? void 0 : m.call(a, e);
426
+ var o, a, m;
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);
423
428
  }, ye = () => {
424
429
  var y;
425
430
  const e = (y = Y.value) == null ? void 0 : y.withAttachData;
426
- if (!Ze(i) || e === !1)
431
+ if (!Ye(i) || e === !1)
427
432
  return;
428
- const r = M.value, a = $e(r), m = $t(r);
429
- var E = w(Ce(r));
430
- je(a, E, m);
431
- }, je = (e, r, 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) => {
432
437
  var m = {};
433
438
  if (e != null) {
434
- let E = oe("textName", !1);
439
+ let E = ne("textName", !1);
435
440
  [`${x.value}${de.optionText}`, E].forEach((y) => {
436
441
  y && m[y] === void 0 && (m[y] = e);
437
442
  });
438
443
  }
439
- if (r != null && ge(r) !== ge(M.value)) {
440
- let E = oe("optionName", !1);
444
+ if (o != null && ge(o) !== ge(M.value)) {
445
+ let E = ne("optionName", !1);
441
446
  [`${x.value}${de.checkedOptions}`, E].forEach((y) => {
442
- y && m[y] === void 0 && (m[y] = r);
447
+ y && m[y] === void 0 && (m[y] = o);
443
448
  });
444
449
  }
445
450
  if (a != null) {
446
- let E = oe("labelName", !1);
451
+ let E = ne("labelName", !1);
447
452
  e != a && [`${x.value}${de.optionLabelName}`, E].forEach((y) => {
448
453
  y && m[y] === void 0 && (m[y] = a);
449
454
  });
450
455
  }
451
- z(h, w(m));
452
- }, Z = (e) => {
453
- if (J(i)) {
456
+ se(h, Z(m));
457
+ }, G = (e) => {
458
+ if (z(i)) {
454
459
  ye();
455
- var r = { [x.value]: e };
456
- z(h, r);
460
+ var o = { [x.value]: e };
461
+ se(h, o);
457
462
  }
458
- }, se = (e) => {
459
- u || Z(e);
460
- }, Ae = (e) => oe(e, !1), ke = () => {
463
+ }, re = (e) => {
464
+ u || G(e);
465
+ }, je = (e) => ne(e, !1), Ae = () => {
461
466
  var e = yn(h);
462
467
  M = ut.get(e, x.value);
463
- }, He = (e) => {
464
- Ve = w(e);
468
+ }, ke = (e) => {
469
+ Oe = Z(e);
465
470
  }, jt = () => {
466
- u || P && P(G());
471
+ u || P && P(J());
467
472
  }, At = () => {
468
473
  ce() && ve(ae()).then((e) => {
469
- Z(e), ke();
474
+ G(e), Ae();
470
475
  });
471
- }, Ee = (e, r) => {
472
- if (!J(i))
476
+ }, Ee = (e, o) => {
477
+ if (!z(i))
473
478
  return;
474
- l(j.fieldValueChanged, { newValue: e, oldValue: r });
475
- const a = { fieldId: i.id, fieldName: x.value, newValue: e, oldValue: r };
479
+ l(j.fieldValueChanged, { newValue: e, oldValue: o });
480
+ const a = { fieldId: i.id, fieldName: x.value, newValue: e, oldValue: o };
476
481
  s(b, j.fieldChange, a, R);
477
- }, kt = (e) => F(e), be = (e, r) => Pe(pe(e), r), Ht = (e) => {
478
- se(e), qe(), be(j.onInput, { value: e });
479
- }, Kt = (e, r) => {
482
+ }, kt = (e) => F(e), be = (e, o) => Se(pe(e), o), Ht = (e) => {
483
+ re(e), Ue(), be(j.onInput, { value: e });
484
+ }, Kt = (e, o) => {
480
485
  var a, m, E;
481
- 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, r);
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);
482
487
  }, Ut = (...e) => {
483
488
  var E, y, L;
484
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];
485
- a = w(a);
486
- var m = Kt(a, Ve);
487
- 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);
488
493
  }, qt = (e = !0) => {
489
- ne($.readonly, e);
494
+ te($.readonly, e);
490
495
  }, Gt = (e = !0) => {
491
- ne($.disabled, e);
496
+ te($.disabled, e);
492
497
  }, Jt = (e = !0) => {
493
- ne($.hidden, e), e ? Je() : fe();
498
+ te($.hidden, e), e ? Ge() : fe();
494
499
  }, zt = (e = !0) => {
495
500
  Et($.required, e), fe();
496
501
  }, Qt = (e) => {
497
- ne($.label, e);
498
- }, G = () => M == null ? void 0 : M.value, Ke = (e) => {
502
+ te($.label, e);
503
+ }, J = () => M == null ? void 0 : M.value, He = (e) => {
499
504
  M.value = e;
500
505
  }, ie = (e) => {
501
- let r = w(G());
502
- if (Ke(e), !J(i))
506
+ let o = Z(J());
507
+ if (He(e), !z(i))
503
508
  return;
504
- const a = G();
505
- r !== a && (se(a), Ee(e, r));
509
+ const a = J();
510
+ o !== a && (re(a), Ee(e, o));
506
511
  }, Xt = () => {
507
512
  ce() ? ve(ae()).then((e) => {
508
- Z(e);
509
- }) : Z(null), _ == null || _();
513
+ G(e);
514
+ }) : G(null), _ == null || _();
510
515
  }, Yt = (e) => {
511
- const r = G(), a = re.insertOnMousePos(q.value, e, r);
516
+ const o = J(), a = oe.insertOnMousePos(q.value, e, o);
512
517
  ie(a);
513
- }, Zt = (e, r) => {
514
- ee(() => M == null ? void 0 : M.value, (a, m) => {
518
+ }, Zt = (e, o) => {
519
+ w(() => M == null ? void 0 : M.value, (a, m) => {
515
520
  e == null || e({ id: i.id, name: x.value, newValue: a, oldValue: m });
516
- }, r);
521
+ }, o);
517
522
  }, wt = (e) => {
518
523
  var y;
519
524
  e.preventDefault();
520
- const r = (L) => {
525
+ const o = (L) => {
521
526
  var H;
522
527
  const I = (H = Array.from(L.classList)) == null ? void 0 : H.find((Re) => St(Re));
523
528
  return I ? Pt(I) : "";
524
529
  }, a = document.activeElement;
525
530
  if (!a)
526
531
  return;
527
- const m = document.getElementsByClassName(Xe.formItemTarget);
532
+ const m = document.getElementsByClassName(Qe.formItemTarget);
528
533
  for (var E = 0; E < m.length; E++) {
529
- const L = m[E], I = it(a, Xe.formItemTarget);
534
+ const L = m[E], I = it(a, Qe.formItemTarget);
530
535
  if (!I)
531
536
  continue;
532
- const H = r(L), Re = r(I);
537
+ const H = o(L), Re = o(I);
533
538
  if (H === Re) {
534
539
  if (E === m.length - 1)
535
540
  return;
536
- const ln = m[E + 1], mn = r(ln), xe = O.findRefById(mn, R);
541
+ const ln = m[E + 1], mn = o(ln), xe = V.findRefById(mn, R);
537
542
  try {
538
543
  (y = xe == null ? void 0 : xe.exposed) == null || y.focus();
539
544
  } catch (vn) {
@@ -550,50 +555,50 @@ function to(t) {
550
555
  refList: N,
551
556
  allRefList: p,
552
557
  changeRegisterToRefList: (I, H) => {
553
- O.changeRegisterToRefList(I, H), C.changeRegisterToRefList(I, H);
558
+ V.changeRegisterToRefList(I, H), C.changeRegisterToRefList(I, H);
554
559
  },
555
560
  getField: f,
556
561
  getFormData: S,
557
- getValue: G,
558
- setValue: Ke,
562
+ getValue: J,
563
+ setValue: He,
559
564
  emit$: l,
560
- findRefByName: O.getWidgetRef,
561
- findRefById: O.findRefById,
562
- callRefFunc: O.callRefFunc,
565
+ findRefByName: V.getWidgetRef,
566
+ findRefById: V.findRefById,
567
+ callRefFunc: V.callRefFunc,
563
568
  getWidgetOption: pe,
564
- setWidgetOption: ne,
565
- refreshKey: Ie,
566
- getRowScope: o,
569
+ setWidgetOption: te,
570
+ refreshKey: Fe,
571
+ getRowScope: r,
567
572
  //组件的数据绑定:继承的数据,用于计算组件属性变量
568
573
  getOneSchemaData: Wt,
569
574
  getSchemaDatas: Bt,
570
575
  getSchemaDataObject: Nt,
571
576
  addCssClass: _t,
572
577
  removeCssClass: Dt
573
- }, r = {
578
+ }, o = {
574
579
  resetField: Xt,
575
- getValue: G,
580
+ getValue: J,
576
581
  setValue: ie,
577
582
  refreshDefaultValue: At,
578
583
  insertOnMousePos: Yt,
579
584
  disableChangeValidate: mt,
580
585
  enableChangeValidate: vt,
581
586
  focus: () => {
582
- re.focus(q.value);
587
+ oe.focus(q.value);
583
588
  },
584
589
  blur: () => {
585
- re.blur(q.value);
590
+ oe.blur(q.value);
586
591
  },
587
592
  getMousePos: () => {
588
- re.getMousePos(q.value);
593
+ oe.getMousePos(q.value);
589
594
  },
590
595
  setMousePos: (I) => {
591
- re.setMousePos(q.value, I);
596
+ oe.setMousePos(q.value, I);
592
597
  }
593
598
  }, a = {
594
599
  loadOptionItems: It,
595
600
  getCheckedItems: Ce,
596
- getCheckedLabels: $e
601
+ getCheckedLabels: Ie
597
602
  }, m = {
598
603
  [$.required]: { name: A.setRequired, fn: zt },
599
604
  [$.label]: { name: A.setLabel, fn: Qt },
@@ -607,51 +612,51 @@ function to(t) {
607
612
  E[H.name] = H.fn;
608
613
  }
609
614
  });
610
- var y = z(e, E);
611
- return J(i) && (y = z(y, r)), 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;
612
617
  };
613
618
  const tn = Me(() => ({
614
619
  attrs: X.value,
615
620
  extendAttrs: Y.value,
616
621
  events: k.value,
617
- slots: Be.value,
618
- fieldKey: Oe.value,
622
+ slots: Ne.value,
623
+ fieldKey: Ve.value,
619
624
  fieldEditor: q.value,
620
625
  fieldName: x.value
621
626
  })), nn = (e) => {
622
- t.designState && t.designer && ee(() => {
623
- var r;
624
- return (r = t == null ? void 0 : t.widget) == null ? void 0 : r[e];
625
- }, (r, a) => {
627
+ t.designState && t.designer && w(() => {
628
+ var o;
629
+ return (o = t == null ? void 0 : t.widget) == null ? void 0 : o[e];
630
+ }, (o, a) => {
626
631
  const { emitHistoryChange: m } = $n(t.designer);
627
- m(`edit ${x.value}.${e},newValue:${r},oldValue:${a}`);
632
+ m(`edit ${x.value}.${e},newValue:${o},oldValue:${a}`);
628
633
  }, {
629
634
  deep: !0
630
635
  });
631
- }, on = (e, r, a) => {
632
- const m = le(), E = Ae(e), y = (L) => {
633
- r && (m.value = r(L || E));
636
+ }, on = (e, o, a) => {
637
+ const m = le(), E = je(e), y = (L) => {
638
+ o && (m.value = o(L || E));
634
639
  };
635
- return tt(E) ? ee(E, (L) => {
640
+ return et(E) ? w(E, (L) => {
636
641
  y(L), a && a(L);
637
642
  }) : y(E), m;
638
- }, Ue = () => {
639
- !J(i) || u || Zt((e) => {
643
+ }, Ke = () => {
644
+ !z(i) || u || Zt((e) => {
640
645
  kn(p, i == null ? void 0 : i.id, n), Hn(p, i == null ? void 0 : i.id, U.getOptions(i, $.relate), e), ye();
641
646
  }, { immediate: !0 });
642
- }, qe = () => {
647
+ }, Ue = () => {
643
648
  const e = { propName: x.value };
644
649
  s(b, j.fieldValidation, e, R);
645
- }, Ge = () => {
646
- const e = { fieldId: i.id, fieldName: x.value, rules: Le };
650
+ }, qe = () => {
651
+ const e = { fieldId: i.id, fieldName: x.value, rules: Be };
647
652
  s(b, j.fieldRuleChange, e, R);
648
653
  }, fe = () => {
649
- if (!J(i))
654
+ if (!z(i))
650
655
  return;
651
656
  const e = ft();
652
- return Ge(), e;
653
- }, Je = () => {
654
- lt(), Ge();
657
+ return qe(), e;
658
+ }, Ge = () => {
659
+ lt(), qe();
655
660
  }, rn = () => {
656
661
  _e(i, "change") && (k.value.change = Ut), _e(i, "input") && (k.value.input = Ht), c(Pn.setFormData, (e) => {
657
662
  ie(e[x.value]);
@@ -660,42 +665,42 @@ function to(t) {
660
665
  });
661
666
  }, sn = () => {
662
667
  let e = x.value;
663
- J(i) ? ((!Mn(h, e) || h[e] === void 0) && (Z(null), ce() && ve(ae()).then((r) => {
664
- Z(r);
665
- })), ke()) : ce() && ve(ae()).then((r) => {
666
- ie(r);
667
- }), He(G()), jt();
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
+ ie(o);
672
+ }), ke(J()), jt();
668
673
  }, un = () => {
669
- ee(() => ue == null ? void 0 : ue.value, (e, r) => {
674
+ w(() => ue == null ? void 0 : ue.value, (e, o) => {
670
675
  ye();
671
676
  });
672
677
  }, an = () => {
673
678
  const e = Cn(Wn.isRenderComplete);
674
679
  if (e != null && e.value) {
675
- Ue();
680
+ Ke();
676
681
  return;
677
682
  }
678
- e != null && ee(() => e == null ? void 0 : e.value, (r) => {
679
- r && Ue();
683
+ e != null && w(() => e == null ? void 0 : e.value, (o) => {
684
+ o && Ke();
680
685
  }, { immediate: !0 });
681
686
  }, cn = () => {
682
- var e, r;
687
+ var e, o;
683
688
  if (g)
684
689
  try {
685
- sn(), fe(), rn(), O.registerToRefList(x.value), C.registerToRefList(x.value), (r = (e = k == null ? void 0 : k.value) == null ? void 0 : e.created) == null || r.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();
686
691
  } catch (a) {
687
692
  console.log("create", i, a);
688
693
  }
689
694
  }, fn = () => {
690
- g && (we(() => {
691
- var e, r;
695
+ g && (Ze(() => {
696
+ var e, o;
692
697
  try {
693
- an(), un(), (r = (e = k == null ? void 0 : k.value) == null ? void 0 : e.mounted) == null || r.call(e);
698
+ an(), un(), (o = (e = k == null ? void 0 : k.value) == null ? void 0 : e.mounted) == null || o.call(e);
694
699
  } catch (a) {
695
700
  console.log("mounted", i, a);
696
701
  }
697
- }), On(() => {
698
- O.unregisterFromRefList(x.value), C.unregisterFromRefList(x.value);
702
+ }), Vn(() => {
703
+ V.unregisterFromRefList(x.value), C.unregisterFromRefList(x.value);
699
704
  }));
700
705
  };
701
706
  return cn(), fn(), {
@@ -704,31 +709,31 @@ function to(t) {
704
709
  objFieldModel: Ft,
705
710
  numFieldModel: Tt,
706
711
  fieldEditor: q,
707
- fieldKey: Oe,
712
+ fieldKey: Ve,
708
713
  field: i,
709
714
  instance: R,
710
715
  attrs: X,
711
716
  extendAttrs: Y,
712
- slots: Be,
717
+ slots: Ne,
713
718
  events: k,
714
- rules: Le,
719
+ rules: Be,
715
720
  fieldObj: tn,
716
721
  pageConfig: W,
717
722
  formModel: h,
718
723
  fieldName: x,
719
724
  propResultOpt: n,
720
725
  optionItems: ue,
721
- activeOptionItems: Ot,
726
+ activeOptionItems: Vt,
722
727
  activeOptionItem: Ct,
723
728
  activeOptionItemIndex: yt,
724
729
  filterOptionItems: dt,
725
- setOptionItems: Te,
730
+ setOptionItems: Le,
726
731
  getCheckedItems: Ce,
727
- getCheckedOptionItems: (e) => Vt(e || M.value),
732
+ getCheckedOptionItems: (e) => Ot(e || M.value),
728
733
  getCheckedOptionLabels: (e) => pt(e || M.value),
729
734
  getCheckedOptionValues: (e) => ht(e || M.value),
730
735
  getCheckedOptionText: (e) => gt(e || M.value),
731
- refreshKey: Ie,
736
+ refreshKey: Fe,
732
737
  watchKeyValue: on,
733
738
  watchPropAndSaveHistoryStep: nn,
734
739
  existEvent: kt,
@@ -736,22 +741,22 @@ function to(t) {
736
741
  handleEnter: wt,
737
742
  getPropName: Lt,
738
743
  emitFieldDataChange: Ee,
739
- syncUpdateFormModel: se,
740
- getWidgetRef: O.getWidgetRef,
741
- clearRules: Je,
744
+ syncUpdateFormModel: re,
745
+ getWidgetRef: V.getWidgetRef,
746
+ clearRules: Ge,
742
747
  buildRules: fe,
743
- getFieldOptionModel: Ae,
744
- getFieldOptions: oe,
748
+ getFieldOptionModel: je,
749
+ getFieldOptions: ne,
745
750
  hasFieldOptions: bt,
746
751
  setFieldOptions: Rt,
747
752
  getWidgetOption: pe,
748
753
  singleOption: xt,
749
754
  watchOption: Mt,
750
- mergeOptionToFormModel: je
755
+ mergeOptionToFormModel: $e
751
756
  };
752
757
  }
753
758
  export {
754
- Ne as R,
759
+ We as R,
755
760
  he as a,
756
761
  to as b,
757
762
  An as u