hlrender 0.0.18 → 0.0.19

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 (93) hide show
  1. package/{affix-widget-ac34ea86.js → affix-widget-7e5c37f2.js} +6 -6
  2. package/{alert-widget-f39b00a8.js → alert-widget-c74d4f19.js} +6 -6
  3. package/{anchor-widget-4a797b80.js → anchor-widget-cc1768d7.js} +4 -4
  4. package/{auto-complete-widget-0abd73e3.js → auto-complete-widget-f2c4585d.js} +6 -6
  5. package/{avatar-widget-2de7bb20.js → avatar-widget-9e2a4a16.js} +6 -6
  6. package/{backtop-widget-0ae038b1.js → backtop-widget-24343725.js} +6 -6
  7. package/{badge-widget-7cfed9fe.js → badge-widget-19ce4ded.js} +6 -6
  8. package/{breadcrumb-widget-21c17521.js → breadcrumb-widget-b6720813.js} +4 -4
  9. package/{button-widget-4417e842.js → button-widget-ab3105db.js} +6 -6
  10. package/{cache-widget-faf743db.js → cache-widget-89929f88.js} +5 -5
  11. package/{card-widget-77e507f5.js → card-widget-3c57685e.js} +5 -5
  12. package/{carousel-widget-0daf710f.js → carousel-widget-ff767af6.js} +4 -4
  13. package/{cascader-widget-a29a412c.js → cascader-widget-5e7a1bc8.js} +5 -5
  14. package/{chart-widget-758f283f.js → chart-widget-2094a56e.js} +4 -4
  15. package/{checkbox-widget-a479ccc8.js → checkbox-widget-f61b05a2.js} +5 -5
  16. package/{collapse-widget-ed765f49.js → collapse-widget-12a81423.js} +4 -4
  17. package/{color-picker-widget-39496503.js → color-picker-widget-b573cf99.js} +5 -5
  18. package/{cont-cell-widget-52a806da.js → cont-cell-widget-112a49b8.js} +1 -1
  19. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-3b885ed0.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a65a0f02.js} +2 -2
  20. package/{cont-widget-1967f24b.js → cont-widget-08901095.js} +3 -3
  21. package/{date-picker-range-widget-6398e6fd.js → date-picker-range-widget-c5429f5d.js} +5 -5
  22. package/{date-picker-widget-58652552.js → date-picker-widget-0b53e8a0.js} +5 -5
  23. package/{default-slot-widget-771ac126.js → default-slot-widget-c527a014.js} +4 -4
  24. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9d83c8f0.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-5ff9cb74.js} +2 -2
  25. package/{descriptions-widget-a2d5d150.js → descriptions-widget-055f602a.js} +5 -5
  26. package/{dialog-widget-2fbae755.js → dialog-widget-8952f747.js} +6 -6
  27. package/{divider-widget-ef7495cc.js → divider-widget-0b439ae8.js} +6 -6
  28. package/{drag-wrapper-ae8f8c8f.js → drag-wrapper-adc01504.js} +2 -2
  29. package/{drawer-widget-7e827f6d.js → drawer-widget-770ec550.js} +6 -6
  30. package/{dropdown-widget-415a13a0.js → dropdown-widget-a36cfbe2.js} +5 -5
  31. package/{empty-widget-7fc59a55.js → empty-widget-102ffc70.js} +6 -6
  32. package/{feedback-widget-91e094f4.js → feedback-widget-30c01fdc.js} +6 -6
  33. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-c52e7889.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-00aa7a50.js} +3 -3
  34. package/{file-upload-widget-f02d6112.js → file-upload-widget-2b6b71e4.js} +6 -6
  35. package/form-item-wrapper-dbfb7a11.js +86 -0
  36. package/{form-widget-5185c8ce.js → form-widget-0ebdcdb0.js} +5 -5
  37. package/{grid-col-widget-63a5ca9e.js → grid-col-widget-96c8d57d.js} +1 -1
  38. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-060cedfa.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-9e50a3d8.js} +3 -3
  39. package/{grid-widget-9dd5090a.js → grid-widget-5541ab09.js} +3 -3
  40. package/{html-text-widget-9b9b9954.js → html-text-widget-a15efed5.js} +4 -4
  41. package/{iframe-widget-754d105c.js → iframe-widget-33e12a72.js} +4 -4
  42. package/{image-widget-beeab864.js → image-widget-80557b45.js} +4 -4
  43. package/{index-86d2f339.js → index-27bcb81c.js} +555 -551
  44. package/{input-number-widget-741bd139.js → input-number-widget-d7efca2b.js} +5 -5
  45. package/{input-widget-215ac5b3.js → input-widget-8db58054.js} +6 -6
  46. package/{link-widget-66ae4498.js → link-widget-ac36e8d1.js} +6 -6
  47. package/{ltable-col-widget-6a300d37.js → ltable-col-widget-f8a1f6b6.js} +1 -1
  48. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-ed542ca3.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-cef70744.js} +4 -4
  49. package/{ltable-widget-bc6ded58.js → ltable-widget-97be5cdc.js} +3 -3
  50. package/{menu-widget-01db9c2f.js → menu-widget-37fd112d.js} +4 -4
  51. package/{model-widget-63090ff1.js → model-widget-edef1ed6.js} +4 -4
  52. package/{multirow-fdcabee0.js → multirow-649f6cf5.js} +1 -1
  53. package/{multirow-widget-20fd96f2.js → multirow-widget-6304f154.js} +5 -5
  54. package/package.json +1 -1
  55. package/{pagination-widget-01eb0f43.js → pagination-widget-365e663e.js} +4 -4
  56. package/{picture-upload-widget-e133509f.js → picture-upload-widget-81fa8481.js} +6 -6
  57. package/{progress-widget-2b07a6da.js → progress-widget-1d3343ed.js} +5 -5
  58. package/{radio-widget-8a4dc13f.js → radio-widget-053eebf2.js} +5 -5
  59. package/{range-widget-ab9f498c.js → range-widget-a1ca9d55.js} +6 -6
  60. package/{rate-widget-17a454ab.js → rate-widget-66e88c00.js} +5 -5
  61. package/render.es.js +20 -20
  62. package/render.style.css +1 -1
  63. package/render.umd.js +68 -68
  64. package/{result-widget-f34e85c8.js → result-widget-e5579bf9.js} +5 -5
  65. package/{rich-editor-widget-d200c703.js → rich-editor-widget-458e8c7e.js} +5 -5
  66. package/{router-widget-e6d2c022.js → router-widget-2371e0ee.js} +4 -4
  67. package/{select-widget-11c64683.js → select-widget-3c8b721b.js} +5 -5
  68. package/{sfc-277c323f.js → sfc-515f0bff.js} +1 -1
  69. package/{share-field-21b71c3c.js → share-field-381855d4.js} +134 -128
  70. package/{share-file-25618931.js → share-file-65c7ecf2.js} +1 -1
  71. package/{slider-widget-24f26ae8.js → slider-widget-63571ea8.js} +5 -5
  72. package/{static-text-widget-87d8a34a.js → static-text-widget-9de17be0.js} +4 -4
  73. package/{steps-widget-bd66b4cb.js → steps-widget-6a5997ef.js} +4 -4
  74. package/{switch-widget-00e7b9d9.js → switch-widget-40ab7460.js} +5 -5
  75. package/{tab-pane-widget-1bb61580.js → tab-pane-widget-b19baf4a.js} +1 -1
  76. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-a715b138.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-5fc3a66b.js} +3 -3
  77. package/{table-col-widget-d09e927e.js → table-col-widget-9e8a15f5.js} +4 -4
  78. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a696880b.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-77d9d7a5.js} +2 -2
  79. package/{table-widget-6e5e74f0.js → table-widget-2cda17b1.js} +6 -6
  80. package/{tabs-widget-53186394.js → tabs-widget-c64b6a1d.js} +4 -4
  81. package/{tag-widget-c8ffacb2.js → tag-widget-ad5fa918.js} +6 -6
  82. package/{text-widget-fc9f2472.js → text-widget-8b329822.js} +6 -6
  83. package/{textarea-widget-d0c21635.js → textarea-widget-9c9b63fc.js} +5 -5
  84. package/{time-picker-range-widget-47323483.js → time-picker-range-widget-0ed1d676.js} +5 -5
  85. package/{time-picker-widget-5f65898d.js → time-picker-widget-c56b63bb.js} +5 -5
  86. package/{time-select-widget-8cebca88.js → time-select-widget-d3454de1.js} +5 -5
  87. package/{tmpl-widget-ec6dbb2b.js → tmpl-widget-132065a0.js} +5 -5
  88. package/{tree-select-widget-446202e7.js → tree-select-widget-8c230a38.js} +5 -5
  89. package/{tree-widget-03cbd573.js → tree-widget-b1047800.js} +4 -4
  90. package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e1bfd7e2.js +277 -0
  91. package/{wrapper-widget-9ad10bf0.js → wrapper-widget-0574964c.js} +3 -3
  92. package/form-item-wrapper-120aa413.js +0 -86
  93. package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-32b1f85d.js +0 -275
@@ -1,26 +1,26 @@
1
1
  var an = Object.defineProperty;
2
2
  var cn = (t, r, h) => r in t ? an(t, r, { enumerable: !0, configurable: !0, writable: !0, value: h }) : t[r] = h;
3
3
  var Ue = (t, r, h) => (cn(t, typeof r != "symbol" ? r + "" : r, h), h);
4
- import { onMounted as Qe, nextTick as Xe, onActivated as fn, onErrorCaptured as ln, watch as Z, isRef as Ye, reactive as mn, ref as fe, computed as Ee, onBeforeUnmount as vn, toRefs as dn } from "vue";
5
- import { b as Me, e as Se, o as X, c as Y, r as gn, d as Q, H as hn, t as Ze, f as we, j as pn, x as be, w as Vn } from "./enum-type-6c2444c7.js";
6
- import { p as qe, b as et, g as On, f as le, a as yn } from "./multirow-fdcabee0.js";
4
+ import { onMounted as Qe, nextTick as Xe, onActivated as fn, onErrorCaptured as ln, watch as Z, isRef as Ye, reactive as mn, ref as fe, computed as Ce, onBeforeUnmount as vn, toRefs as dn } from "vue";
5
+ import { b as Me, e as Se, o as X, c as Y, r as gn, d as Q, H as hn, t as Ze, f as we, j as pn, l as Vn, x as Ee, w as On } from "./enum-type-6c2444c7.js";
6
+ import { p as qe, b as et, g as bn, f as le, a as yn } from "./multirow-649f6cf5.js";
7
7
  import { u as tt } from "./icon-e9532b43.js";
8
8
  import { f as I, l as me, m as Cn, n as Ge, g as k, b as En } from "./expression-d0d5b99e.js";
9
- import { b as nt, d as _e, B as q, P as ot, c as rt, e as bn, a as Rn } from "./baseImp-f65fae6f.js";
10
- import { F as Mn } from "./slot-179831f9.js";
11
- import { c as De, t as st, l as Sn } from "./uuid-85303a38.js";
12
- import { f as _n, d as Dn, h as Re, e as xn } from "./index-86d2f339.js";
9
+ import { b as nt, d as _e, B as q, P as ot, c as rt, e as Rn, a as Mn } from "./baseImp-f65fae6f.js";
10
+ import { F as Sn } from "./slot-179831f9.js";
11
+ import { c as De, t as st, l as _n } from "./uuid-85303a38.js";
12
+ import { f as Dn, d as xn, h as Re, e as Pn } from "./index-27bcb81c.js";
13
13
  import { W as A, d as U } from "./enum-type-f19f3faf.js";
14
- function Pn() {
14
+ function Wn() {
15
15
  return {
16
16
  onMountedOrActivated: (h) => {
17
- let b = !1;
17
+ let E = !1;
18
18
  Qe(() => {
19
19
  h(), Xe(() => {
20
- b = !0;
20
+ E = !0;
21
21
  });
22
22
  }), fn(() => {
23
- b && h();
23
+ E && h();
24
24
  });
25
25
  },
26
26
  onCompErrorCaptured: () => {
@@ -28,17 +28,17 @@ function Pn() {
28
28
  }
29
29
  };
30
30
  }
31
- function Wn(t, r) {
32
- const { getWidgetOption: h, getWidgetOptionByPropValue: b } = nt(t, r), P = (_) => h(_);
31
+ function Ln(t, r) {
32
+ const { getWidgetOption: h, getWidgetOptionByPropValue: E } = nt(t, r), P = (_) => h(_);
33
33
  return {
34
34
  existFunc: P,
35
35
  handleFunc: (_, F) => {
36
36
  if (Me(_)) {
37
- var T = P(String(_));
38
- return _e(T, F);
37
+ var B = P(String(_));
38
+ return _e(B, F);
39
39
  } else {
40
- var T = b(De(_));
41
- return _e(T, F);
40
+ var B = E(De(_));
41
+ return _e(B, F);
42
42
  }
43
43
  }
44
44
  };
@@ -64,10 +64,10 @@ class xe {
64
64
  }
65
65
  function ve(t) {
66
66
  t || (t = {});
67
- const r = new xe(t), { instance: h } = tt(), b = (d) => r.getWidgetRef(d == null ? void 0 : d.toString()), P = (d, p, O) => {
68
- var C = [], n = [];
69
- let l = b(d);
70
- return l && C.push(l), C == null || C.forEach((o) => {
67
+ const r = new xe(t), { instance: h } = tt(), E = (d) => r.getWidgetRef(d == null ? void 0 : d.toString()), P = (d, p, O) => {
68
+ var y = [], n = [];
69
+ let l = E(d);
70
+ return l && y.push(l), y == null || y.forEach((o) => {
71
71
  var s = _(o, p, O);
72
72
  s && n.push(s);
73
73
  }), n;
@@ -75,44 +75,44 @@ function ve(t) {
75
75
  var O;
76
76
  return (O = d == null ? void 0 : d.exposed) == null ? void 0 : O[p.toString()];
77
77
  }, _ = (d, p, O) => {
78
- var C = a(d, p);
79
- if (C) {
78
+ var y = a(d, p);
79
+ if (y) {
80
80
  var n = [];
81
- return O && (n = Object.values(O)), C(...n);
81
+ return O && (n = Object.values(O)), y(...n);
82
82
  }
83
83
  }, F = (d, p, O) => {
84
- var C = [];
84
+ var y = [];
85
85
  if (d) {
86
86
  var n = De(st(d, !0));
87
87
  n == null || n.forEach((l) => {
88
88
  var o = P(l, p, O);
89
- Se(o) || C.push(o);
89
+ Se(o) || y.push(o);
90
90
  });
91
91
  }
92
- return Array.isArray(d) ? C : C == null ? void 0 : C[0];
93
- }, T = (d, p) => {
92
+ return Array.isArray(d) ? y : y == null ? void 0 : y[0];
93
+ }, B = (d, p) => {
94
94
  let O = X(t);
95
95
  F(O, d, p);
96
96
  }, v = (d, p) => {
97
97
  var s, u, m;
98
98
  const O = (u = (s = p || h) == null ? void 0 : s.exposed) == null ? void 0 : u.getField();
99
- var C = qe(O == null ? void 0 : O.id);
99
+ var y = qe(O == null ? void 0 : O.id);
100
100
  const n = (i) => (i == null ? void 0 : i.id) === d, l = (i) => {
101
101
  var R;
102
- var y = qe(i == null ? void 0 : i.id);
103
- return (C == null ? void 0 : C.groupName) === (y == null ? void 0 : y.groupName) && ((y == null ? void 0 : y.id) === d || ((R = i == null ? void 0 : i._source) == null ? void 0 : R.id) === d);
102
+ var b = qe(i == null ? void 0 : i.id);
103
+ return (y == null ? void 0 : y.groupName) === (b == null ? void 0 : b.groupName) && ((b == null ? void 0 : b.id) === d || ((R = i == null ? void 0 : i._source) == null ? void 0 : R.id) === d);
104
104
  }, o = (m = X(r.refList)) == null ? void 0 : m.find((i) => {
105
105
  var R, L;
106
106
  try {
107
107
  const D = (L = (R = r.refList[i]) == null ? void 0 : R.exposed) == null ? void 0 : L.getField();
108
- var y = n(D);
109
- return !y && (C != null && C.groupName) && (y = l(D)), y;
108
+ var b = n(D);
109
+ return !b && (y != null && y.groupName) && (b = l(D)), b;
110
110
  } catch {
111
111
  return !1;
112
112
  }
113
113
  });
114
114
  if (o)
115
- return b(o);
115
+ return E(o);
116
116
  }, V = (d) => {
117
117
  if (d) {
118
118
  let p = d;
@@ -126,13 +126,13 @@ function ve(t) {
126
126
  };
127
127
  return {
128
128
  findWidgetAndCall: P,
129
- getWidgetRef: b,
129
+ getWidgetRef: E,
130
130
  callWidgetsExposed: F,
131
131
  callRefFunc: _,
132
132
  existRefFunc: a,
133
- setAllRefList: T,
133
+ setAllRefList: B,
134
134
  findRefById: v,
135
- findRefByName: b,
135
+ findRefByName: E,
136
136
  changeRegisterToRefList: (d, p) => {
137
137
  d && (V(d), S(p));
138
138
  },
@@ -140,8 +140,8 @@ function ve(t) {
140
140
  unregisterFromRefList: S
141
141
  };
142
142
  }
143
- const Ln = (t, r, h) => {
144
- const b = new xe(t), { callRefFunc: P } = ve(t), { parseGroupId: a } = et();
143
+ const Tn = (t, r, h) => {
144
+ const E = new xe(t), { callRefFunc: P } = ve(t), { parseGroupId: a } = et();
145
145
  if (!t || t.length <= 0 || !r)
146
146
  return;
147
147
  const _ = () => {
@@ -152,13 +152,13 @@ const Ln = (t, r, h) => {
152
152
  const l = (u = _()) == null ? void 0 : u.find((m) => (m == null ? void 0 : m.id) === n);
153
153
  if (!l)
154
154
  return;
155
- const o = q.getName(l), s = b.getWidgetRef(o);
155
+ const o = q.getName(l), s = E.getWidgetRef(o);
156
156
  if (s)
157
157
  return { ref: s, name: o, id: l == null ? void 0 : l.id };
158
- }, T = (n, l) => {
158
+ }, B = (n, l) => {
159
159
  if (!Y(l))
160
160
  return;
161
- const o = q.getName(n), s = b.getWidgetRef(o);
161
+ const o = q.getName(n), s = E.getWidgetRef(o);
162
162
  if (s) {
163
163
  const u = q.getOptions(n, I.defaultValue, !1, !(h != null && h.designState), { ...h, formData: l });
164
164
  Y(u) && (Ye(u) ? Z(u, (m) => {
@@ -179,7 +179,7 @@ const Ln = (t, r, h) => {
179
179
  return;
180
180
  const m = u == null ? void 0 : u.id;
181
181
  var i = m === n;
182
- const y = a(m), R = (y == null ? void 0 : y.id) === n, L = (y == null ? void 0 : y.groupName) === l;
182
+ const b = a(m), R = (b == null ? void 0 : b.id) === n, L = (b == null ? void 0 : b.groupName) === l;
183
183
  return i || R && (L || !l) ? (o.push(u), !0) : !1;
184
184
  }), !(!o || o.length <= 0))
185
185
  return o == null ? void 0 : o.map((u) => {
@@ -202,7 +202,7 @@ const Ln = (t, r, h) => {
202
202
  var i = V(m, u);
203
203
  i && (i == null ? void 0 : i.length) > 0 && o.push(...i);
204
204
  }), o;
205
- }, B = (n, l) => {
205
+ }, N = (n, l) => {
206
206
  const o = {};
207
207
  if (!n || n.length <= 0)
208
208
  return o;
@@ -212,9 +212,9 @@ const Ln = (t, r, h) => {
212
212
  return (m = u.source) == null ? void 0 : m.id;
213
213
  });
214
214
  s == null || s.forEach((u) => {
215
- var y;
215
+ var b;
216
216
  const m = u.group[0], i = [];
217
- (y = u == null ? void 0 : u.children) == null || y.forEach((R) => {
217
+ (b = u == null ? void 0 : u.children) == null || b.forEach((R) => {
218
218
  const L = v(R == null ? void 0 : R.id, !0);
219
219
  if (Y(L)) {
220
220
  var D = Object.values(De(L));
@@ -236,10 +236,10 @@ const Ln = (t, r, h) => {
236
236
  }), l;
237
237
  }, p = (n, l, o) => {
238
238
  if (o === le.Inner2Inner) {
239
- const i = hn(l), { updateFomula: y } = rt(), { buildVariable: R } = bn();
239
+ const i = hn(l), { updateFomula: b } = rt(), { buildVariable: R } = Rn();
240
240
  var s = d(n);
241
241
  if (Y(s)) {
242
- var u = q.getOrgOption(l, I.defaultValue), m = y(Ze(u), s, (L, D) => {
242
+ var u = q.getOrgOption(l, I.defaultValue), m = b(Ze(u), s, (L, D) => {
243
243
  var j = s[L];
244
244
  return Se(j) ? R(L) : R(j);
245
245
  });
@@ -252,17 +252,17 @@ const Ln = (t, r, h) => {
252
252
  var o = q.getOrgOption(n, I.defaultValue);
253
253
  if (o === void 0)
254
254
  return;
255
- const s = On(r, l);
255
+ const s = bn(r, l);
256
256
  if (s === le.DiffInner)
257
257
  return;
258
258
  var u = ot.getFormulaRelatedField(o);
259
259
  if (!u || u.length <= 0)
260
260
  return;
261
261
  var m = S(u, s);
262
- if (!(m != null && m.some((y) => y.id === r)))
262
+ if (!(m != null && m.some((b) => b.id === r)))
263
263
  return;
264
- const i = B(m, s);
265
- T(p(m, n, s), i);
264
+ const i = N(m, s);
265
+ B(p(m, n, s), i);
266
266
  };
267
267
  (() => {
268
268
  var n;
@@ -270,15 +270,15 @@ const Ln = (t, r, h) => {
270
270
  O(l);
271
271
  });
272
272
  })();
273
- }, Tn = (t, r, h, b, P) => {
274
- var S, B, d;
273
+ }, Bn = (t, r, h, E, P) => {
274
+ var S, N, d;
275
275
  if (P || !Y(h))
276
276
  return;
277
- const { callRefFunc: a } = ve(t), _ = (B = (S = X(t)) == null ? void 0 : S.map((p) => a(t == null ? void 0 : t[p], A.getField))) == null ? void 0 : B.filter((p) => !!p), { parseGroupId: F } = et(), T = new xe(t);
277
+ const { callRefFunc: a } = ve(t), _ = (N = (S = X(t)) == null ? void 0 : S.map((p) => a(t == null ? void 0 : t[p], A.getField))) == null ? void 0 : N.filter((p) => !!p), { parseGroupId: F } = et(), B = new xe(t);
278
278
  var v = F(r), V = v == null ? void 0 : v.groupName;
279
279
  (d = X(h)) == null || d.forEach((p) => {
280
- var C, n, l;
281
- if (!((C = st(b == null ? void 0 : b.newValue, !0)) != null && C.includes(p)))
280
+ var y, n, l;
281
+ if (!((y = st(E == null ? void 0 : E.newValue, !0)) != null && y.includes(p)))
282
282
  return;
283
283
  const O = (n = h == null ? void 0 : h[p]) == null ? void 0 : n.result;
284
284
  (l = X(O)) == null || l.forEach((o) => {
@@ -286,15 +286,15 @@ const Ln = (t, r, h) => {
286
286
  const s = O == null ? void 0 : O[o];
287
287
  (u = s == null ? void 0 : s.ids) == null || u.forEach((m) => {
288
288
  var L;
289
- const i = (L = _n(_, (D) => {
289
+ const i = (L = Dn(_, (D) => {
290
290
  var j, w;
291
291
  return ((D == null ? void 0 : D.id) === m || ((j = D == null ? void 0 : D._source) == null ? void 0 : j.id) === m) && (!V || ((w = D == null ? void 0 : D.id) == null ? void 0 : w.indexOf(V)) != -1);
292
292
  })) == null ? void 0 : L[0];
293
293
  if (!i)
294
294
  return;
295
- const y = q.getName(i), R = T.getWidgetRef(y);
295
+ const b = q.getName(i), R = B.getWidgetRef(b);
296
296
  R ? a(R, s == null ? void 0 : s.event, s == null ? void 0 : s.args) : Z(() => t, (D) => {
297
- const j = T.getWidgetRef(y);
297
+ const j = B.getWidgetRef(b);
298
298
  j && a(j, s == null ? void 0 : s.event, s == null ? void 0 : s.args);
299
299
  });
300
300
  });
@@ -305,7 +305,7 @@ function ut(t, r) {
305
305
  var h;
306
306
  return (h = t == null ? void 0 : t.classList) != null && h.contains(r) ? t : t != null && t.parentElement ? ut(t == null ? void 0 : t.parentElement, r) : null;
307
307
  }
308
- function Bn() {
308
+ function Nn() {
309
309
  const t = (v) => {
310
310
  if (v)
311
311
  return v != null && v.ref ? v == null ? void 0 : v.ref : v;
@@ -313,17 +313,17 @@ function Bn() {
313
313
  var V, S;
314
314
  try {
315
315
  (S = (V = t(v)) == null ? void 0 : V.focus) == null || S.call(V);
316
- } catch (B) {
317
- console.log(B);
316
+ } catch (N) {
317
+ console.log(N);
318
318
  }
319
319
  }, h = (v) => {
320
320
  var V, S;
321
321
  try {
322
322
  (S = (V = t(v)) == null ? void 0 : V.blur) == null || S.call(V);
323
- } catch (B) {
324
- console.log(B);
323
+ } catch (N) {
324
+ console.log(N);
325
325
  }
326
- }, b = (v) => {
326
+ }, E = (v) => {
327
327
  var V;
328
328
  return (V = t(v)) == null ? void 0 : V.selectionStart;
329
329
  }, P = (v) => {
@@ -336,17 +336,17 @@ function Bn() {
336
336
  r(v), a(v, V);
337
337
  };
338
338
  return {
339
- getSelectionStart: b,
339
+ getSelectionStart: E,
340
340
  getSelectionEnd: P,
341
341
  setSelectionStart: a,
342
342
  blur: h,
343
343
  focus: r,
344
344
  setMousePos: _,
345
- getMousePos: (v) => b(v),
345
+ getMousePos: (v) => E(v),
346
346
  insertOnMousePos: (v, V, S) => {
347
- const B = b(v), d = P(v), p = Cn(S, V, B, d);
347
+ const N = E(v), d = P(v), p = Cn(S, V, N, d);
348
348
  return Xe(() => {
349
- _(v, B + (V == null ? void 0 : V.length));
349
+ _(v, N + (V == null ? void 0 : V.length));
350
350
  }), p;
351
351
  }
352
352
  };
@@ -362,10 +362,10 @@ const Je = (t) => {
362
362
  const r = t.type;
363
363
  return [U.treeSelect, U.cascader, U.select, U.checkbox, U.radio].includes(r);
364
364
  };
365
- function Gn(t) {
366
- const r = t == null ? void 0 : t.designState, h = (t == null ? void 0 : t.created) != !1, b = t == null ? void 0 : t.exResetField, P = t == null ? void 0 : t.extInitFieldModel, a = t == null ? void 0 : t.widget, _ = t == null ? void 0 : t.designer, F = _ == null ? void 0 : _.pageConfig, { formRefList: T, globalRefList: v, globalConfig: V, globalFormName: S, globalDataModel: B, rowScope: d } = Mn.globalInject();
367
- let p = mn(B || {});
368
- const O = ve(v), C = ve(T), n = () => be(p), l = () => d, o = () => a, s = {
365
+ function Jn(t) {
366
+ const r = t == null ? void 0 : t.designState, h = (t == null ? void 0 : t.created) != !1, E = t == null ? void 0 : t.exResetField, P = t == null ? void 0 : t.extInitFieldModel, a = t == null ? void 0 : t.widget, _ = t == null ? void 0 : t.designer, F = _ == null ? void 0 : _.pageConfig, { formRefList: B, globalRefList: v, globalConfig: V, globalFormName: S, globalDataModel: N, rowScope: d } = Sn.globalInject();
367
+ let p = mn(N || {});
368
+ const O = ve(v), y = ve(B), n = () => Ee(p), l = () => d, o = () => a, s = {
369
369
  instance: {
370
370
  exposed: {
371
371
  getFormData: !r && Je(a) ? n : null,
@@ -378,17 +378,23 @@ function Gn(t) {
378
378
  pageConfig: F,
379
379
  formData: !r && Je(a) ? p : {},
380
380
  globalConfig: V
381
- }, u = (t == null ? void 0 : t.shareProp) || { s_attr: !0, s_extendAttr: !0, s_events: !0, s_slots: !0, s_fieldName: !0, s_defaultValue: !0, s_optionItems: !0 }, { on$: m, dispatch: i, emit$: y } = yn(), { instance: R } = tt(), { onCompErrorCaptured: L } = Pn(), { existFunc: D } = Wn({ options: a == null ? void 0 : a.options }, s), { attrs: j, extendAttrs: w, events: H, slots: Pe, rules: We, fieldName: M, buildRules: at, clearRules: ct, disableChangeValidate: it, enableChangeValidate: ft, optionItems: re, filterOptionItems: lt, getCheckedOptionText: mt, getCheckedOptionValues: vt, getCheckedOptionLabels: dt, getCheckedOptionItems: gt, activeOptionItems: ht, activeOptionItem: pt, activeOptionItemIndex: Vt, setOptionItems: Ot, setWidgetOption: ee, getWidgetOption: de, setFieldEnable: yt, getFieldOptions: te, setFieldOptions: Ct, computedDefaultValue: se, hasDefaultValue: ge, singleOption: Et, watchOption: bt, addCssClass: Rt, removeCssClass: Mt } = nt(a, s, u, R), { isIdClass: St, getIdByIdClass: _t } = Dn(a), { getOneSchemaData: Dt, getSchemaDataObject: xt, getSchemaDatas: Pt } = Rn(s), ne = Bn();
382
- let he = null, N = fe();
383
- const G = fe(), Wt = () => M.value, Lt = Ee({
384
- get: () => Me(N.value) ? Number(N.value) : N.value,
381
+ }, u = (t == null ? void 0 : t.shareProp) || { s_attr: !0, s_extendAttr: !0, s_events: !0, s_slots: !0, s_fieldName: !0, s_defaultValue: !0, s_optionItems: !0 }, { on$: m, dispatch: i, emit$: b } = yn(), { instance: R } = tt(), { onCompErrorCaptured: L } = Wn(), { existFunc: D } = Ln({ options: a == null ? void 0 : a.options }, s), { attrs: j, extendAttrs: w, events: H, slots: Pe, rules: We, fieldName: M, buildRules: at, clearRules: ct, disableChangeValidate: it, enableChangeValidate: ft, optionItems: re, filterOptionItems: lt, getCheckedOptionText: mt, getCheckedOptionValues: vt, getCheckedOptionLabels: dt, getCheckedOptionItems: gt, activeOptionItems: ht, activeOptionItem: pt, activeOptionItemIndex: Vt, setOptionItems: Ot, setWidgetOption: ee, getWidgetOption: de, setFieldEnable: bt, getFieldOptions: te, setFieldOptions: yt, computedDefaultValue: se, hasDefaultValue: ge, singleOption: Ct, watchOption: Et, addCssClass: Rt, removeCssClass: Mt } = nt(a, s, u, R), { isIdClass: St, getIdByIdClass: _t } = xn(a), { getOneSchemaData: Dt, getSchemaDataObject: xt, getSchemaDatas: Pt } = Mn(s), ne = Nn();
382
+ let he = null, T = fe();
383
+ const G = fe(), Wt = () => M.value, Lt = Ce({
384
+ get: () => Me(T.value) ? Number(T.value) : T.value,
385
385
  set: (e) => {
386
- N.value = e;
386
+ T.value = e;
387
387
  }
388
- }), Tt = Ee({
389
- get: () => Me(N.value) ? we(N.value) : N.value,
388
+ }), Tt = Ce({
389
+ get: () => {
390
+ if (Me(T.value)) {
391
+ var e = we(T.value);
392
+ Vn(e) && (T.value = e);
393
+ }
394
+ return T.value;
395
+ },
390
396
  set: (e) => {
391
- N.value = e;
397
+ T.value = e;
392
398
  }
393
399
  }), pe = (e) => {
394
400
  var f, c, g;
@@ -402,22 +408,22 @@ function Gn(t) {
402
408
  }, Te = () => {
403
409
  if (!ze(a))
404
410
  return;
405
- const e = N.value, f = Le(e), c = Bt(e);
411
+ const e = T.value, f = Le(e), c = Bt(e);
406
412
  var g = pe(e);
407
413
  Be(f, g, c);
408
414
  }, Be = (e, f, c) => {
409
415
  var g = {};
410
416
  let x = te("textName", !1);
411
- [`${M.value}${me.optionText}`, x].forEach((E) => {
412
- E && g[E] === void 0 && (g[E] = e);
417
+ [`${M.value}${me.optionText}`, x].forEach((C) => {
418
+ C && g[C] === void 0 && (g[C] = e);
413
419
  });
414
420
  let W = te("optionName", !1);
415
- [`${M.value}${me.checkedOptions}`, W].forEach((E) => {
416
- E && g[E] === void 0 && (g[E] = f);
421
+ [`${M.value}${me.checkedOptions}`, W].forEach((C) => {
422
+ C && g[C] === void 0 && (g[C] = f);
417
423
  });
418
424
  let $ = te("labelName", !1);
419
- e != c && [`${M.value}${me.optionLabelName}`, $].forEach((E) => {
420
- E && g[E] === void 0 && (g[E] = c);
425
+ e != c && [`${M.value}${me.optionLabelName}`, $].forEach((C) => {
426
+ C && g[C] === void 0 && (g[C] = c);
421
427
  }), Q(p, g, !0);
422
428
  }, ue = (e) => {
423
429
  if (z(a)) {
@@ -428,9 +434,9 @@ function Gn(t) {
428
434
  r || ue(e);
429
435
  }, Ne = (e) => te(e, !1), Fe = () => {
430
436
  var e = dn(p);
431
- N = ot.get(e, M.value);
437
+ T = ot.get(e, M.value);
432
438
  }, $e = (e) => {
433
- he = be(e);
439
+ he = Ee(e);
434
440
  }, Nt = () => {
435
441
  r || P && P(J());
436
442
  }, Ft = () => {
@@ -438,7 +444,7 @@ function Gn(t) {
438
444
  }, Ve = (e, f) => {
439
445
  if (!z(a))
440
446
  return;
441
- y(I.fieldValueChanged, { newValue: e, oldValue: f });
447
+ b(I.fieldValueChanged, { newValue: e, oldValue: f });
442
448
  const c = { fieldId: a.id, fieldName: M.value, newValue: e, oldValue: f };
443
449
  i(S, I.fieldChange, c, R);
444
450
  }, $t = (e) => D(e), ce = (e, f) => _e(de(e), f), It = (e) => {
@@ -455,7 +461,7 @@ function Gn(t) {
455
461
  });
456
462
  }, At = () => {
457
463
  let e = M.value;
458
- z(a) ? ((!Vn(p, e) || p[e] === void 0) && (ge() ? ue(se.value) : ue(null)), Fe()) : ge() && oe(se.value), $e(J()), Nt();
464
+ z(a) ? ((!On(p, e) || p[e] === void 0) && (ge() ? ue(se.value) : ue(null)), Fe()) : ge() && oe(se.value), $e(J()), Nt();
459
465
  }, Ht = () => {
460
466
  Z(() => re == null ? void 0 : re.value, (e, f) => {
461
467
  Te();
@@ -470,8 +476,8 @@ function Gn(t) {
470
476
  console.log(x);
471
477
  }
472
478
  }), vn(() => {
473
- O.unregisterFromRefList(M.value), C.unregisterFromRefList(M.value);
474
- }), O.registerToRefList(M.value), C.registerToRefList(M.value), At(), ie(), kt(), Re(a, "change") && (H.value.change = jt), Re(a, "input") && (H.value.input = It), (f = (e = H == null ? void 0 : H.value) == null ? void 0 : e.created) == null || f.call(e), L());
479
+ O.unregisterFromRefList(M.value), y.unregisterFromRefList(M.value);
480
+ }), O.registerToRefList(M.value), y.registerToRefList(M.value), At(), ie(), kt(), Re(a, "change") && (H.value.change = jt), Re(a, "input") && (H.value.input = It), (f = (e = H == null ? void 0 : H.value) == null ? void 0 : e.created) == null || f.call(e), L());
475
481
  }, Ut = (e = !0) => {
476
482
  ee(k.readonly, e);
477
483
  }, qt = (e = !0) => {
@@ -479,24 +485,24 @@ function Gn(t) {
479
485
  }, Gt = (e = !0) => {
480
486
  ee(k.hidden, e), e ? Ke() : ie();
481
487
  }, Jt = (e = !0) => {
482
- yt(k.required, e), ie();
488
+ bt(k.required, e), ie();
483
489
  }, zt = (e) => {
484
490
  ee(k.label, e);
485
- }, J = () => N.value, Ie = (e) => {
486
- N.value = e;
491
+ }, J = () => T.value, Ie = (e) => {
492
+ T.value = e;
487
493
  }, oe = (e) => {
488
- let f = be(J());
494
+ let f = Ee(J());
489
495
  if (Ie(e), !z(a))
490
496
  return;
491
497
  const c = J();
492
498
  f !== c && (ae(c), Ve(e, f));
493
499
  }, Qt = () => {
494
- ge() && oe(se.value), b == null || b();
500
+ ge() && oe(se.value), E == null || E();
495
501
  }, Xt = (e) => {
496
502
  const f = J(), c = ne.insertOnMousePos(G.value, e, f);
497
503
  oe(c);
498
504
  }, Yt = (e, f) => {
499
- Z(() => N.value, (c, g) => {
505
+ Z(() => T.value, (c, g) => {
500
506
  e == null || e({ id: a.id, name: M.value, newValue: c, oldValue: g });
501
507
  }, f);
502
508
  }, Zt = (e) => {
@@ -504,23 +510,23 @@ function Gn(t) {
504
510
  e.preventDefault();
505
511
  const f = ($) => {
506
512
  var K;
507
- const E = (K = Array.from($.classList)) == null ? void 0 : K.find((ye) => St(ye));
508
- return E ? _t(E) : "";
513
+ const C = (K = Array.from($.classList)) == null ? void 0 : K.find((be) => St(be));
514
+ return C ? _t(C) : "";
509
515
  }, c = document.activeElement;
510
516
  if (!c)
511
517
  return;
512
518
  const g = document.getElementsByClassName(Ge.formItemTarget);
513
519
  for (var x = 0; x < g.length; x++) {
514
- const $ = g[x], E = ut(c, Ge.formItemTarget);
515
- if (!E)
520
+ const $ = g[x], C = ut(c, Ge.formItemTarget);
521
+ if (!C)
516
522
  continue;
517
- const K = f($), ye = f(E);
518
- if (K === ye) {
523
+ const K = f($), be = f(C);
524
+ if (K === be) {
519
525
  if (x === g.length - 1)
520
526
  return;
521
- const rn = g[x + 1], sn = f(rn), Ce = O.findRefById(sn, R);
527
+ const rn = g[x + 1], sn = f(rn), ye = O.findRefById(sn, R);
522
528
  try {
523
- (W = Ce == null ? void 0 : Ce.exposed) == null || W.focus();
529
+ (W = ye == null ? void 0 : ye.exposed) == null || W.focus();
524
530
  } catch (un) {
525
531
  console.log(un);
526
532
  }
@@ -532,16 +538,16 @@ function Gn(t) {
532
538
  let e = {
533
539
  componentName: M.value,
534
540
  //用于组件事件emitter发射与接收处理
535
- refList: T,
541
+ refList: B,
536
542
  allRefList: v,
537
- changeRegisterToRefList: (E, K) => {
538
- O.changeRegisterToRefList(E, K), C.changeRegisterToRefList(E, K);
543
+ changeRegisterToRefList: (C, K) => {
544
+ O.changeRegisterToRefList(C, K), y.changeRegisterToRefList(C, K);
539
545
  },
540
546
  getField: o,
541
547
  getFormData: n,
542
548
  getValue: J,
543
549
  setValue: Ie,
544
- emit$: y,
550
+ emit$: b,
545
551
  findRefByName: O.getWidgetRef,
546
552
  findRefById: O.findRefById,
547
553
  callRefFunc: O.callRefFunc,
@@ -572,8 +578,8 @@ function Gn(t) {
572
578
  getMousePos: () => {
573
579
  ne.getMousePos(G.value);
574
580
  },
575
- setMousePos: (E) => {
576
- ne.setMousePos(G.value, E);
581
+ setMousePos: (C) => {
582
+ ne.setMousePos(G.value, C);
577
583
  }
578
584
  }, c = {
579
585
  getCheckedItems: pe,
@@ -585,16 +591,16 @@ function Gn(t) {
585
591
  [k.disabled]: { name: A.setDisabled, fn: qt },
586
592
  [k.readonly]: { name: A.setReadonly, fn: Ut }
587
593
  }, x = {};
588
- ($ = X(g)) == null || $.forEach((E) => {
589
- if (Re(a, E)) {
590
- const K = g[E];
594
+ ($ = X(g)) == null || $.forEach((C) => {
595
+ if (Re(a, C)) {
596
+ const K = g[C];
591
597
  x[K.name] = K.fn;
592
598
  }
593
599
  });
594
600
  var W = Q(e, x);
595
601
  return z(a) && (W = Q(W, f)), ze(a) && (W = Q(W, c)), W;
596
602
  };
597
- const en = Ee(() => ({
603
+ const en = Ce(() => ({
598
604
  attrs: j.value,
599
605
  extendAttrs: w.value,
600
606
  events: H.value,
@@ -602,14 +608,14 @@ function Gn(t) {
602
608
  fieldKey: Oe.value,
603
609
  fieldEditor: G.value,
604
610
  fieldName: M.value
605
- })), je = () => `${a == null ? void 0 : a.id}-${Sn()}`, Oe = fe(je()), ke = () => {
611
+ })), je = () => `${a == null ? void 0 : a.id}-${_n()}`, Oe = fe(je()), ke = () => {
606
612
  Oe.value = je();
607
613
  }, tn = (e) => {
608
614
  t.designState && t.designer && Z(() => {
609
615
  var f;
610
616
  return (f = t == null ? void 0 : t.widget) == null ? void 0 : f[e];
611
617
  }, (f, c) => {
612
- const { emitHistoryChange: g } = xn(t.designer);
618
+ const { emitHistoryChange: g } = Pn(t.designer);
613
619
  g(`edit ${M.value}.${e},newValue:${f},oldValue:${c}`);
614
620
  }, {
615
621
  deep: !0
@@ -623,7 +629,7 @@ function Gn(t) {
623
629
  }) : W(x), g;
624
630
  }, on = () => {
625
631
  !z(a) || r || Yt((e) => {
626
- Ln(v, a == null ? void 0 : a.id, s), Tn(v, a == null ? void 0 : a.id, q.getOptions(a, k.relate), e), Te();
632
+ Tn(v, a == null ? void 0 : a.id, s), Bn(v, a == null ? void 0 : a.id, q.getOptions(a, k.relate), e), Te();
627
633
  }, { immediate: !0 });
628
634
  }, Ae = () => {
629
635
  const e = { propName: M.value };
@@ -638,7 +644,7 @@ function Gn(t) {
638
644
  };
639
645
  return Kt(), {
640
646
  exposed: wt(),
641
- fieldModel: N,
647
+ fieldModel: T,
642
648
  objFieldModel: Tt,
643
649
  numFieldModel: Lt,
644
650
  fieldEditor: G,
@@ -682,16 +688,16 @@ function Gn(t) {
682
688
  buildRules: ie,
683
689
  getFieldOptionModel: Ne,
684
690
  getFieldOptions: te,
685
- setFieldOptions: Ct,
691
+ setFieldOptions: yt,
686
692
  getWidgetOption: de,
687
- singleOption: Et,
688
- watchOption: bt,
693
+ singleOption: Ct,
694
+ watchOption: Et,
689
695
  mergeOptionToFormModel: Be
690
696
  };
691
697
  }
692
698
  export {
693
699
  xe as R,
694
700
  ve as a,
695
- Gn as b,
696
- Wn as u
701
+ Jn as b,
702
+ Ln as u
697
703
  };
@@ -1,7 +1,7 @@
1
1
  import { ref as x, computed as g } from "vue";
2
2
  import { d as O, a as f, x as m } from "./enum-type-6c2444c7.js";
3
3
  import { u as ee } from "./icon-e9532b43.js";
4
- import { b as le } from "./share-field-21b71c3c.js";
4
+ import { b as le } from "./share-field-381855d4.js";
5
5
  import { f as s } from "./expression-d0d5b99e.js";
6
6
  import { t as re } from "./uuid-85303a38.js";
7
7
  import { g as ne, x as v } from "./baseImp-f65fae6f.js";
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as d, computed as w, resolveComponent as x, openBlock as s, createBlock as m, mergeProps as n, unref as e, withCtx as C, isRef as F, toHandlers as b, createTextVNode as z, toDisplayString as I } from "vue";
2
- import { b as B } from "./share-field-21b71c3c.js";
2
+ import { b as B } from "./share-field-381855d4.js";
3
3
  import { I as E } from "./field-base-5547436d.js";
4
- import N from "./form-item-wrapper-120aa413.js";
4
+ import N from "./form-item-wrapper-dbfb7a11.js";
5
5
  import { w as P } from "./expression-d0d5b99e.js";
6
6
  import { t as a } from "./uuid-85303a38.js";
7
7
  import "./enum-type-6c2444c7.js";
8
- import "./multirow-fdcabee0.js";
8
+ import "./multirow-649f6cf5.js";
9
9
  import "./baseImp-f65fae6f.js";
10
10
  import "./enum-type-f19f3faf.js";
11
11
  import "./icon-e9532b43.js";
12
12
  import "./dialog-7d33aaed.js";
13
13
  import "./_commonjsHelpers-e7ea1525.js";
14
14
  import "element-plus";
15
- import "./index-86d2f339.js";
15
+ import "./index-27bcb81c.js";
16
16
  import "./slot-179831f9.js";
17
17
  import "./widget-base-4c2d6265.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-32b1f85d.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e1bfd7e2.js";
19
19
  import "./index-6f9269bf.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
21
  import "./fieldobj-3d0327a8.js";