hlrender 0.0.52 → 0.0.53

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 (85) hide show
  1. package/{affix-widget-720c9efd.js → affix-widget-394c8f97.js} +3 -3
  2. package/{alert-widget-a899f06e.js → alert-widget-bc92fc03.js} +3 -3
  3. package/{anchor-widget-ef71570c.js → anchor-widget-7b0d3485.js} +1 -1
  4. package/{auto-complete-widget-b0695fb0.js → auto-complete-widget-8262bd4c.js} +2 -2
  5. package/{avatar-widget-abff3d76.js → avatar-widget-51548ee0.js} +3 -3
  6. package/{backtop-widget-ece33c67.js → backtop-widget-c70d832a.js} +3 -3
  7. package/{badge-widget-558e0e7a.js → badge-widget-d18285c2.js} +3 -3
  8. package/{breadcrumb-widget-caac5972.js → breadcrumb-widget-9750e843.js} +1 -1
  9. package/{button-widget-6052c8ec.js → button-widget-4fae0697.js} +3 -3
  10. package/{cache-widget-43d274c9.js → cache-widget-d99432a4.js} +1 -1
  11. package/{card-widget-4a64059d.js → card-widget-fc498ec4.js} +2 -2
  12. package/{carousel-widget-0e2d6365.js → carousel-widget-79c014ff.js} +1 -1
  13. package/{cascader-widget-42b42b5d.js → cascader-widget-b8051af0.js} +1 -1
  14. package/{chart-widget-d0edcec4.js → chart-widget-966b8be2.js} +1 -1
  15. package/{checkbox-widget-53ef9bb1.js → checkbox-widget-34682959.js} +1 -1
  16. package/{collapse-widget-5b92ec53.js → collapse-widget-22e4d02a.js} +1 -1
  17. package/{color-picker-widget-2aa51feb.js → color-picker-widget-e0dfe905.js} +1 -1
  18. package/{cont-cell-widget-01ed00a8.js → cont-cell-widget-50b2167a.js} +1 -1
  19. 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-dd71c1b4.js} +2 -2
  20. package/{cont-widget-008ff6be.js → cont-widget-1e73560e.js} +2 -2
  21. package/{date-picker-range-widget-4c99e6f6.js → date-picker-range-widget-e702f6e6.js} +1 -1
  22. package/{date-picker-widget-7d2bc769.js → date-picker-widget-24a6bba3.js} +1 -1
  23. package/{default-slot-widget-dd268245.js → default-slot-widget-d5b9ab21.js} +2 -2
  24. 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-f3905d17.js} +1 -1
  25. package/{descriptions-widget-bb029280.js → descriptions-widget-a58619b8.js} +2 -2
  26. package/{dialog-widget-6ed2346d.js → dialog-widget-9a5e4401.js} +3 -3
  27. package/{divider-widget-cdf31401.js → divider-widget-6ab211b2.js} +3 -3
  28. package/{drag-wrapper-af1b931c.js → drag-wrapper-971b4a73.js} +1 -1
  29. package/{drawer-widget-4b97c6bd.js → drawer-widget-8d866df4.js} +3 -3
  30. package/{dropdown-widget-be56637d.js → dropdown-widget-f2b27771.js} +2 -2
  31. package/{empty-widget-d354daeb.js → empty-widget-59906e62.js} +3 -3
  32. package/{feedback-widget-99fb44f3.js → feedback-widget-2fdd0485.js} +3 -3
  33. 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-77d5982b.js} +2 -2
  34. package/{file-upload-widget-b00a7e5f.js → file-upload-widget-9f45b0e4.js} +2 -2
  35. package/{form-widget-54444b5c.js → form-widget-c5cfca30.js} +2 -2
  36. package/{grid-col-widget-1eb649b3.js → grid-col-widget-d713298a.js} +1 -1
  37. 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-7eca19a0.js} +2 -2
  38. package/{grid-widget-09e314d7.js → grid-widget-0dc9b149.js} +2 -2
  39. package/{html-text-widget-713c3f1e.js → html-text-widget-4a625a2c.js} +1 -1
  40. package/{iframe-widget-c5b27494.js → iframe-widget-fbbb1618.js} +1 -1
  41. package/{image-widget-1d7435e2.js → image-widget-5c207f0d.js} +1 -1
  42. package/{input-number-widget-187532e3.js → input-number-widget-27ee9cb0.js} +1 -1
  43. package/{input-widget-476f69c8.js → input-widget-962cd99d.js} +2 -2
  44. package/{link-widget-776eff50.js → link-widget-11c4ff12.js} +3 -3
  45. package/{ltable-col-widget-85538e4b.js → ltable-col-widget-6a2c32b2.js} +1 -1
  46. 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-56c2dff4.js} +2 -2
  47. package/{ltable-widget-ad3168ec.js → ltable-widget-4415ff74.js} +2 -2
  48. package/{menu-widget-0d0f8bf3.js → menu-widget-b4618f2a.js} +1 -1
  49. package/{model-widget-cbd6d10c.js → model-widget-2d0464fe.js} +1 -1
  50. package/{multirow-widget-9d0bb6b7.js → multirow-widget-5dc78446.js} +2 -2
  51. package/package.json +1 -1
  52. package/{pagination-widget-0d78d4a6.js → pagination-widget-74427783.js} +1 -1
  53. package/{picture-upload-widget-a7b34eea.js → picture-upload-widget-0c608691.js} +2 -2
  54. package/{progress-widget-0dfc4206.js → progress-widget-cb483362.js} +2 -2
  55. package/{radio-widget-bfae2dd2.js → radio-widget-46751610.js} +1 -1
  56. package/{range-widget-2d2eb2d7.js → range-widget-78590fcd.js} +2 -2
  57. package/{rate-widget-fd2efc64.js → rate-widget-c76bcb7c.js} +1 -1
  58. package/render.es.js +16 -16
  59. package/render.umd.js +2 -2
  60. package/{result-widget-633f9da9.js → result-widget-44a95120.js} +2 -2
  61. package/{rich-editor-widget-d77f2903.js → rich-editor-widget-4c9a2bc4.js} +1 -1
  62. package/{router-widget-293e7aaa.js → router-widget-d030f18f.js} +1 -1
  63. package/{select-widget-631ad509.js → select-widget-c5031c37.js} +44 -44
  64. package/{share-field-2e65357c.js → share-field-66eff02e.js} +95 -90
  65. package/{share-file-eb689377.js → share-file-f656e3e3.js} +1 -1
  66. package/{slider-widget-2da9ca84.js → slider-widget-8d2b932a.js} +1 -1
  67. package/{static-text-widget-12ee38d3.js → static-text-widget-cf975667.js} +1 -1
  68. package/{steps-widget-50a5b1b2.js → steps-widget-c7b3fd49.js} +1 -1
  69. package/{switch-widget-c6108ecb.js → switch-widget-5ca8e185.js} +1 -1
  70. package/{tab-pane-widget-80652380.js → tab-pane-widget-ddafdc7c.js} +1 -1
  71. 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-e237efec.js} +2 -2
  72. package/{table-col-widget-6d6e3132.js → table-col-widget-74cb2afe.js} +2 -2
  73. 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-a05691c2.js} +1 -1
  74. package/{table-widget-9d2d3190.js → table-widget-c7fd9535.js} +3 -3
  75. package/{tabs-widget-a0ad6a27.js → tabs-widget-005a9328.js} +2 -2
  76. package/{tag-widget-9bf22989.js → tag-widget-aa236298.js} +3 -3
  77. package/{text-widget-b22caa75.js → text-widget-4daa2164.js} +3 -3
  78. package/{textarea-widget-ab064141.js → textarea-widget-61443ef3.js} +1 -1
  79. package/{time-picker-range-widget-c3922ec2.js → time-picker-range-widget-5f01ee4a.js} +1 -1
  80. package/{time-picker-widget-f48d5a8d.js → time-picker-widget-891d462a.js} +1 -1
  81. package/{time-select-widget-5af3138d.js → time-select-widget-3d942498.js} +1 -1
  82. package/{tmpl-widget-4b44bea8.js → tmpl-widget-41e31e89.js} +2 -2
  83. package/{tree-select-widget-2e2b5eb9.js → tree-select-widget-868329da.js} +1 -1
  84. package/{tree-widget-da2871fb.js → tree-widget-ecedf23c.js} +1 -1
  85. package/{wrapper-widget-b638dad4.js → wrapper-widget-cc86bf3f.js} +2 -2
@@ -66,8 +66,8 @@ function he(t) {
66
66
  t || (t = {});
67
67
  const u = new Ne(t), { instance: g } = rt(), _ = (v) => u.getWidgetRef(v == null ? void 0 : v.toString()), P = (v, h, O) => {
68
68
  var C = [], S = [];
69
- let o = _(v);
70
- return o && C.push(o), C == null || C.forEach((f) => {
69
+ let r = _(v);
70
+ return r && C.push(r), C == null || C.forEach((f) => {
71
71
  var n = D(f, h, O);
72
72
  n && S.push(n);
73
73
  }), S;
@@ -84,8 +84,8 @@ function he(t) {
84
84
  var C = [];
85
85
  if (v) {
86
86
  var S = We(ct(v, !0));
87
- S == null || S.forEach((o) => {
88
- var f = P(o, h, O);
87
+ S == null || S.forEach((r) => {
88
+ var f = P(r, h, O);
89
89
  Se(f) || C.push(f);
90
90
  });
91
91
  }
@@ -97,7 +97,7 @@ function he(t) {
97
97
  var n, d, c;
98
98
  const O = (d = (n = h || g) == null ? void 0 : n.exposed) == null ? void 0 : d.getField();
99
99
  var C = Qe(O == null ? void 0 : O.id);
100
- const S = (s) => (s == null ? void 0 : s.id) === v, o = (s) => {
100
+ const S = (s) => (s == null ? void 0 : s.id) === v, r = (s) => {
101
101
  var R;
102
102
  var l = Qe(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);
@@ -106,7 +106,7 @@ function he(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
  }
@@ -145,22 +145,22 @@ const kn = (t, u, g, _) => {
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) => {
158
+ }, p = (r, f) => {
159
159
  if (!te(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 });
163
+ const c = U.getOptions(r, j.defaultValue, !1, !(g != null && g.designState), { ...g, formData: f });
164
164
  if (te(c))
165
165
  if (tt(c)) {
166
166
  let s = ee(() => c.value, (l) => {
@@ -169,21 +169,21 @@ const kn = (t, u, g, _) => {
169
169
  } else
170
170
  i(d, A.setValue, { newValue: c });
171
171
  }
172
- }, V = (o, f) => {
173
- const n = N(o);
172
+ }, V = (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
177
  return Se(c) || (l[d] = c, !Rn(s) && !f && (l[`${d}${de.checkedOptions}`] = s)), l;
178
- }, b = (o, f) => {
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) => {
209
+ }, v = (r, f) => {
210
210
  const n = {};
211
- if (!o || o.length <= 0)
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
  });
@@ -227,21 +227,21 @@ const kn = (t, u, g, _) => {
227
227
  }), s && z(n, { [s]: l });
228
228
  });
229
229
  } else
230
- o.forEach((c) => {
230
+ r.forEach((c) => {
231
231
  const s = V(c == null ? void 0 : c.id);
232
232
  te(s) && z(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
+ }, O = (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);
244
+ var d = h(r);
245
245
  if (te(d)) {
246
246
  var c = U.getOrgOption(f, j.defaultValue), s = R(ge(c), d, (F, X) => {
247
247
  var Y = d[F];
@@ -251,9 +251,9 @@ const kn = (t, u, g, _) => {
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,11 +266,11 @@ 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(O(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
  })();
@@ -296,10 +296,10 @@ const kn = (t, u, g, _) => {
296
296
  const h = (O = g == null ? void 0 : g[v]) == null ? void 0 : O.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
  });
@@ -369,13 +369,13 @@ const Ye = (t) => {
369
369
  function to(t) {
370
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
371
  let h = Vn(B || {});
372
- const O = he(p), C = he(N), S = () => w(h), o = () => v, f = () => i, n = {
372
+ const O = he(p), C = he(N), S = () => w(h), r = () => v, f = () => i, n = {
373
373
  instance: {
374
374
  exposed: {
375
375
  getFormData: !u && Ye(i) ? S : null,
376
376
  findRefByName: O.getWidgetRef,
377
377
  getField: f,
378
- getRowScope: o
378
+ getRowScope: r
379
379
  }
380
380
  },
381
381
  designState: u,
@@ -409,26 +409,31 @@ 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 = O.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
+ Te(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);
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);
417
422
  }, $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);
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);
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 = O.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
431
  if (!Ze(i) || e === !1)
427
432
  return;
428
- const r = M.value, a = $e(r), m = $t(r);
429
- var E = w(Ce(r));
433
+ const o = M.value, a = $e(o), m = $t(o);
434
+ var E = w(Ce(o));
430
435
  je(a, E, m);
431
- }, je = (e, r, a) => {
436
+ }, je = (e, o, a) => {
432
437
  var m = {};
433
438
  if (e != null) {
434
439
  let E = oe("textName", !1);
@@ -436,10 +441,10 @@ function to(t) {
436
441
  y && m[y] === void 0 && (m[y] = e);
437
442
  });
438
443
  }
439
- if (r != null && ge(r) !== ge(M.value)) {
444
+ if (o != null && ge(o) !== ge(M.value)) {
440
445
  let E = oe("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) {
@@ -452,8 +457,8 @@ function to(t) {
452
457
  }, Z = (e) => {
453
458
  if (J(i)) {
454
459
  ye();
455
- var r = { [x.value]: e };
456
- z(h, r);
460
+ var o = { [x.value]: e };
461
+ z(h, o);
457
462
  }
458
463
  }, se = (e) => {
459
464
  u || Z(e);
@@ -468,17 +473,17 @@ function to(t) {
468
473
  ce() && ve(ae()).then((e) => {
469
474
  Z(e), ke();
470
475
  });
471
- }, Ee = (e, r) => {
476
+ }, Ee = (e, o) => {
472
477
  if (!J(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) => {
482
+ }, kt = (e) => F(e), be = (e, o) => Pe(pe(e), o), Ht = (e) => {
478
483
  se(e), qe(), be(j.onInput, { value: e });
479
- }, Kt = (e, r) => {
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 = O.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];
@@ -498,26 +503,26 @@ function to(t) {
498
503
  }, G = () => M == null ? void 0 : M.value, Ke = (e) => {
499
504
  M.value = e;
500
505
  }, ie = (e) => {
501
- let r = w(G());
506
+ let o = w(G());
502
507
  if (Ke(e), !J(i))
503
508
  return;
504
509
  const a = G();
505
- r !== a && (se(a), Ee(e, r));
510
+ o !== a && (se(a), Ee(e, o));
506
511
  }, Xt = () => {
507
512
  ce() ? ve(ae()).then((e) => {
508
513
  Z(e);
509
514
  }) : Z(null), _ == null || _();
510
515
  }, Yt = (e) => {
511
- const r = G(), a = re.insertOnMousePos(q.value, e, r);
516
+ const o = G(), a = re.insertOnMousePos(q.value, e, o);
512
517
  ie(a);
513
- }, Zt = (e, r) => {
518
+ }, Zt = (e, o) => {
514
519
  ee(() => 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) : "";
@@ -529,11 +534,11 @@ function to(t) {
529
534
  const L = m[E], I = it(a, Xe.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 = O.findRefById(mn, R);
537
542
  try {
538
543
  (y = xe == null ? void 0 : xe.exposed) == null || y.focus();
539
544
  } catch (vn) {
@@ -563,14 +568,14 @@ function to(t) {
563
568
  getWidgetOption: pe,
564
569
  setWidgetOption: ne,
565
570
  refreshKey: Ie,
566
- getRowScope: o,
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
580
  getValue: G,
576
581
  setValue: ie,
@@ -608,7 +613,7 @@ function to(t) {
608
613
  }
609
614
  });
610
615
  var y = z(e, E);
611
- return J(i) && (y = z(y, r)), Ze(i) && (y = z(y, a)), y;
616
+ return J(i) && (y = z(y, o)), Ze(i) && (y = z(y, a)), y;
612
617
  };
613
618
  const tn = Me(() => ({
614
619
  attrs: X.value,
@@ -620,17 +625,17 @@ function to(t) {
620
625
  fieldName: x.value
621
626
  })), nn = (e) => {
622
627
  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) => {
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) => {
636
+ }, on = (e, o, a) => {
632
637
  const m = le(), E = Ae(e), y = (L) => {
633
- r && (m.value = r(L || E));
638
+ o && (m.value = o(L || E));
634
639
  };
635
640
  return tt(E) ? ee(E, (L) => {
636
641
  y(L), a && a(L);
@@ -660,13 +665,13 @@ 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);
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) => {
671
+ ie(o);
667
672
  }), He(G()), jt();
668
673
  }, un = () => {
669
- ee(() => ue == null ? void 0 : ue.value, (e, r) => {
674
+ ee(() => ue == null ? void 0 : ue.value, (e, o) => {
670
675
  ye();
671
676
  });
672
677
  }, an = () => {
@@ -675,22 +680,22 @@ function to(t) {
675
680
  Ue();
676
681
  return;
677
682
  }
678
- e != null && ee(() => e == null ? void 0 : e.value, (r) => {
679
- r && Ue();
683
+ e != null && ee(() => e == null ? void 0 : e.value, (o) => {
684
+ o && Ue();
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(), 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();
686
691
  } catch (a) {
687
692
  console.log("create", i, a);
688
693
  }
689
694
  }, fn = () => {
690
695
  g && (we(() => {
691
- var e, r;
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
  }
@@ -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-22cb09ce.js";
3
3
  import { u as ee } from "./icon-e9532b43.js";
4
- import { b as le } from "./share-field-2e65357c.js";
4
+ import { b as le } from "./share-field-66eff02e.js";
5
5
  import { f as s } from "./expression-83e866fe.js";
6
6
  import { t as ne } from "./uuid-13176256.js";
7
7
  import { g as oe, y as v } from "./baseImp-7fb8e7ad.js";
@@ -1,5 +1,5 @@
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-2e65357c.js";
2
+ import { b as B } from "./share-field-66eff02e.js";
3
3
  import { I as E } from "./field-base-5547436d.js";
4
4
  import N from "./form-item-wrapper-3672beb8.js";
5
5
  import { w as P } from "./expression-83e866fe.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, openBlock as c, createBlock as d, mergeProps as _, unref as o, withCtx as u, createVNode as x } from "vue";
2
2
  import { I as g } from "./field-base-5547436d.js";
3
- import { b as w } from "./share-field-2e65357c.js";
3
+ import { b as w } from "./share-field-66eff02e.js";
4
4
  import { w as C } from "./expression-83e866fe.js";
5
5
  import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ea39744c.js";
6
6
  import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-46a42663.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as f, computed as E, ref as F, resolveComponent as u, openBlock as r, createBlock as s, mergeProps as i, unref as e, withCtx as o, toHandlers as M, createElementBlock as S, Fragment as T, renderList as B, createSlots as N, createElementVNode as _, createVNode as O } from "vue";
2
2
  import { I as P } from "./field-base-5547436d.js";
3
3
  import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ea39744c.js";
4
- import { b as K } from "./share-field-2e65357c.js";
4
+ import { b as K } from "./share-field-66eff02e.js";
5
5
  import { S as W } from "./index-8b9ef71e.js";
6
6
  import { w as q } from "./expression-83e866fe.js";
7
7
  import { c as p } from "./uuid-13176256.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as m, resolveComponent as C, openBlock as i, createBlock as p, mergeProps as s, unref as e, withCtx as F, isRef as O, toHandlers as V } from "vue";
2
2
  import { w as b } from "./expression-83e866fe.js";
3
- import { b as h } from "./share-field-2e65357c.js";
3
+ import { b as h } from "./share-field-66eff02e.js";
4
4
  import { I as v } from "./field-base-5547436d.js";
5
5
  import x from "./form-item-wrapper-3672beb8.js";
6
6
  import "./enum-type-22cb09ce.js";
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-d324110f.js";
1
+ import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-e237efec.js";
2
2
  const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
3
  __proto__: null,
4
4
  default: e
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as s, openBlock as l, createBlock as f, mergeProps as r, unref as e, withCtx as g, createVNode as _ } from "vue";
2
2
  import { w as u } from "./expression-83e866fe.js";
3
3
  import { I as w } from "./widget-base-4c2d6265.js";
4
- import { D as C } from "./drag-wrapper-af1b931c.js";
4
+ import { D as C } from "./drag-wrapper-971b4a73.js";
5
5
  import { _ as b } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ea39744c.js";
6
6
  import { c as W } from "./slot-8a437369.js";
7
- import { b as h } from "./share-field-2e65357c.js";
7
+ import { b as h } from "./share-field-66eff02e.js";
8
8
  const k = s({ componentName: u.ContainerWidget }), x = /* @__PURE__ */ s({
9
9
  ...k,
10
10
  __name: "tab-pane-widget",
@@ -1,4 +1,4 @@
1
- import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a1d453e5.js";
1
+ import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a05691c2.js";
2
2
  import "vue";
3
3
  import "./enum-type-22cb09ce.js";
4
4
  import "./icon-e9532b43.js";
@@ -9,7 +9,7 @@ import "./expression-83e866fe.js";
9
9
  import "./_commonjsHelpers-e7ea1525.js";
10
10
  import "./dialog-90dff606.js";
11
11
  import "element-plus";
12
- import "./drag-wrapper-af1b931c.js";
12
+ import "./drag-wrapper-971b4a73.js";
13
13
  import "./widget-base-4c2d6265.js";
14
14
  import "./index-d054c102.js";
15
15
  import "./slot-8a437369.js";
@@ -3,7 +3,7 @@ import { a as j } from "./enum-type-22cb09ce.js";
3
3
  import { u as q } from "./icon-e9532b43.js";
4
4
  import { c as R, g as H } from "./uuid-13176256.js";
5
5
  import { b as J, g as K } from "./baseImp-7fb8e7ad.js";
6
- import { D as W } from "./drag-wrapper-af1b931c.js";
6
+ import { D as W } from "./drag-wrapper-971b4a73.js";
7
7
  import { a as g } from "./slot-8a437369.js";
8
8
  import { b as M } from "./multirow-2ef82f3f.js";
9
9
  const Q = /* @__PURE__ */ z({
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as H, ref as O, computed as de, reactive as fe, onMounted as ge, resolveComponent as R, resolveDirective as ce, openBlock as d, createBlock as z, mergeProps as $, unref as t, withCtx as K, withDirectives as ve, createElementBlock as U, toHandlers as _e, Fragment as ye, renderList as Se, createCommentVNode as he } from "vue";
2
2
  import { I as be } from "./field-base-5547436d.js";
3
3
  import { _ as Pe } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ea39744c.js";
4
- import { b as Oe } from "./share-field-2e65357c.js";
4
+ import { b as Oe } from "./share-field-66eff02e.js";
5
5
  import { w as ze, g as Ne } from "./expression-83e866fe.js";
6
- import { _ as Ce } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a1d453e5.js";
6
+ import { _ as Ce } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a05691c2.js";
7
7
  import { u as je, a as V, c as W, b as ke, f as Re, o as Fe } from "./enum-type-22cb09ce.js";
8
8
  import { t as De } from "./uuid-13176256.js";
9
9
  import { F as Ie } from "./slot-8a437369.js";
@@ -19,7 +19,7 @@ import "element-plus";
19
19
  import "./index-8b9ef71e.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
21
  import "./fieldobj-3869eac1.js";
22
- import "./drag-wrapper-af1b931c.js";
22
+ import "./drag-wrapper-971b4a73.js";
23
23
  const Me = { key: 1 }, Te = H({ componentName: ze.FieldWidget }), nt = /* @__PURE__ */ H({
24
24
  ...Te,
25
25
  __name: "table-widget",
@@ -3,9 +3,9 @@ import { c as r } from "./uuid-13176256.js";
3
3
  import { j as q } from "./enum-type-22cb09ce.js";
4
4
  import { w as x, g as D } from "./expression-83e866fe.js";
5
5
  import { I as G } from "./widget-base-4c2d6265.js";
6
- import { b as J } from "./share-field-2e65357c.js";
6
+ import { b as J } from "./share-field-66eff02e.js";
7
7
  import { _ as Q } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ea39744c.js";
8
- import { _ as X } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-d324110f.js";
8
+ import { _ as X } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-e237efec.js";
9
9
  import { u as Y } from "./index-d054c102.js";
10
10
  import { B as v } from "./baseImp-7fb8e7ad.js";
11
11
  const Z = w({ componentName: x.ContainerWidget }), ee = /* @__PURE__ */ w({
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
2
2
  import { I as l } from "./field-base-5547436d.js";
3
- import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1b96b459.js";
3
+ import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f3905d17.js";
4
4
  import { w as d } from "./expression-83e866fe.js";
5
- import { b as _ } from "./share-field-2e65357c.js";
5
+ import { b as _ } from "./share-field-66eff02e.js";
6
6
  import "./widget-base-4c2d6265.js";
7
7
  import "./enum-type-22cb09ce.js";
8
8
  import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ea39744c.js";
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
19
19
  import "./fieldobj-3869eac1.js";
20
20
  import "./slot-8a437369.js";
21
21
  import "./content-wrapper.vue_vue_type_script_setup_true_lang-46a42663.js";
22
- import "./drag-wrapper-af1b931c.js";
22
+ import "./drag-wrapper-971b4a73.js";
23
23
  import "./multirow-2ef82f3f.js";
24
24
  const u = o({ componentName: d.FieldWidget }), G = /* @__PURE__ */ o({
25
25
  ...u,
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as f } from "vue";
2
2
  import { I as l } from "./field-base-5547436d.js";
3
- import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1b96b459.js";
3
+ import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-f3905d17.js";
4
4
  import { w as d } from "./expression-83e866fe.js";
5
- import { b as _ } from "./share-field-2e65357c.js";
5
+ import { b as _ } from "./share-field-66eff02e.js";
6
6
  import "./widget-base-4c2d6265.js";
7
7
  import "./enum-type-22cb09ce.js";
8
8
  import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ea39744c.js";
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
19
19
  import "./fieldobj-3869eac1.js";
20
20
  import "./slot-8a437369.js";
21
21
  import "./content-wrapper.vue_vue_type_script_setup_true_lang-46a42663.js";
22
- import "./drag-wrapper-af1b931c.js";
22
+ import "./drag-wrapper-971b4a73.js";
23
23
  import "./multirow-2ef82f3f.js";
24
24
  const u = o({ componentName: d.FieldWidget }), G = /* @__PURE__ */ o({
25
25
  ...u,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as l, resolveComponent as w, openBlock as p, createBlock as i, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
2
- import { b as V } from "./share-field-2e65357c.js";
2
+ import { b as V } from "./share-field-66eff02e.js";
3
3
  import { I as b } from "./field-base-5547436d.js";
4
4
  import v from "./form-item-wrapper-3672beb8.js";
5
5
  import { w as I } from "./expression-83e866fe.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as n, resolveComponent as F, openBlock as l, createBlock as p, mergeProps as m, unref as e, withCtx as b, isRef as w, toHandlers as C } from "vue";
2
2
  import { a as s } from "./enum-type-22cb09ce.js";
3
3
  import { I as O } from "./field-base-5547436d.js";
4
- import { b as V } from "./share-field-2e65357c.js";
4
+ import { b as V } from "./share-field-66eff02e.js";
5
5
  import v from "./form-item-wrapper-3672beb8.js";
6
6
  import { w as x } from "./expression-83e866fe.js";
7
7
  import "./widget-base-4c2d6265.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as s, resolveComponent as w, openBlock as p, createBlock as l, mergeProps as m, unref as e, withCtx as C, isRef as F, toHandlers as O } from "vue";
2
2
  import { a as V } from "./enum-type-22cb09ce.js";
3
- import { b } from "./share-field-2e65357c.js";
3
+ import { b } from "./share-field-66eff02e.js";
4
4
  import { I as v } from "./field-base-5547436d.js";
5
5
  import x from "./form-item-wrapper-3672beb8.js";
6
6
  import { w as z } from "./expression-83e866fe.js";