hlrender 0.0.11 → 0.0.12

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 (100) hide show
  1. package/{affix-widget-09d896ce.js → affix-widget-b1888905.js} +9 -9
  2. package/{alert-widget-07d1f81e.js → alert-widget-0fcb1c7a.js} +9 -9
  3. package/{anchor-widget-34ee6615.js → anchor-widget-59057f01.js} +6 -6
  4. package/{auto-complete-widget-06e8ab97.js → auto-complete-widget-d6fb74ec.js} +8 -8
  5. package/{avatar-widget-88abc990.js → avatar-widget-1d51e0be.js} +9 -9
  6. package/{backtop-widget-136d8760.js → backtop-widget-382aad2a.js} +9 -9
  7. package/{badge-widget-00c67aea.js → badge-widget-cd9de0ec.js} +9 -9
  8. package/{baseImp-6de567f5.js → baseImp-0de857ff.js} +1803 -1760
  9. package/{breadcrumb-widget-88e8760d.js → breadcrumb-widget-9a083759.js} +6 -6
  10. package/{button-widget-da254e24.js → button-widget-ee32585b.js} +9 -9
  11. package/{cache-widget-c3704d8b.js → cache-widget-45d8b824.js} +7 -7
  12. package/{card-widget-340dc200.js → card-widget-47d273d1.js} +7 -7
  13. package/{carousel-widget-3efe1e3f.js → carousel-widget-2821110b.js} +6 -6
  14. package/{cascader-widget-a8b2b9f3.js → cascader-widget-b46bf0de.js} +7 -7
  15. package/{chart-widget-3fa591bd.js → chart-widget-3b860da9.js} +6 -6
  16. package/{checkbox-widget-1763fe87.js → checkbox-widget-f7c18bf8.js} +7 -7
  17. package/{collapse-widget-17ea1e3a.js → collapse-widget-95271b15.js} +6 -6
  18. package/{color-picker-widget-8ffc757d.js → color-picker-widget-2aea063d.js} +7 -7
  19. package/{cont-cell-widget-627285b3.js → cont-cell-widget-dc3aab15.js} +1 -1
  20. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-5fd92418.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-2b164e0f.js} +4 -4
  21. package/{cont-widget-271709f5.js → cont-widget-e5ad6ff5.js} +4 -4
  22. package/{content-wrapper-45ed31e2.js → content-wrapper-dec4f0ad.js} +2 -2
  23. package/{content-wrapper.vue_vue_type_script_setup_true_lang-7c2b51ee.js → content-wrapper.vue_vue_type_script_setup_true_lang-88a84e7b.js} +1 -1
  24. package/{date-picker-range-widget-1ed067ba.js → date-picker-range-widget-0c9e8f12.js} +7 -7
  25. package/{date-picker-widget-13242a45.js → date-picker-widget-7f06b89a.js} +7 -7
  26. package/{default-slot-widget-8da28e30.js → default-slot-widget-678e17ab.js} +7 -7
  27. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b6422690.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-15880256.js} +4 -4
  28. package/{descriptions-widget-07aae80f.js → descriptions-widget-f8fd60c4.js} +7 -7
  29. package/{dialog-widget-4133a39f.js → dialog-widget-170c321c.js} +8 -8
  30. package/{divider-widget-2e6ab845.js → divider-widget-e2b7367f.js} +9 -9
  31. package/drag-wrapper-5ad8db42.js +258 -0
  32. package/{drawer-widget-dc73d1ca.js → drawer-widget-fea1468b.js} +8 -8
  33. package/{dropdown-widget-4bec3b6b.js → dropdown-widget-e5543973.js} +27 -25
  34. package/{empty-widget-b09cb9bc.js → empty-widget-25e180d2.js} +9 -9
  35. package/{feedback-widget-339b6b9f.js → feedback-widget-4e7b24c0.js} +8 -8
  36. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-ec6a8b0b.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-0517fb10.js} +4 -4
  37. package/{file-upload-widget-ad790e94.js → file-upload-widget-b4100f36.js} +8 -8
  38. package/{form-item-wrapper-f428a5b3.js → form-item-wrapper-b998aca1.js} +3 -3
  39. package/{form-widget-aa88b04c.js → form-widget-63abf671.js} +7 -7
  40. package/{grid-col-widget-3d4def04.js → grid-col-widget-6cbfe8ab.js} +1 -1
  41. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-6c8a6a99.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-fa341ff6.js} +4 -4
  42. package/{grid-widget-0d8adfb3.js → grid-widget-57a31c84.js} +4 -4
  43. package/{html-text-widget-261eaf3d.js → html-text-widget-48f93f47.js} +7 -7
  44. package/{iframe-widget-b8434abd.js → iframe-widget-616c8a3f.js} +6 -6
  45. package/{image-widget-931a54a9.js → image-widget-a3c593da.js} +6 -6
  46. package/{index-2b7ed19f.js → index-10821241.js} +721 -713
  47. package/{input-number-widget-627ba574.js → input-number-widget-2a425e66.js} +7 -7
  48. package/{input-widget-1af63077.js → input-widget-e5b28111.js} +8 -8
  49. package/{link-widget-b763c145.js → link-widget-ddd24624.js} +9 -9
  50. package/{ltable-col-widget-ac72367a.js → ltable-col-widget-6d4148b1.js} +1 -1
  51. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-fd2759be.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-9d6dead6.js} +6 -6
  52. package/{ltable-widget-fbfde49d.js → ltable-widget-3677191f.js} +4 -4
  53. package/{menu-widget-839b5597.js → menu-widget-098a3854.js} +7 -7
  54. package/{model-widget-f95af04f.js → model-widget-f1c2e49f.js} +6 -6
  55. package/{multirow-be69baf2.js → multirow-4f8b5ed9.js} +3 -3
  56. package/{multirow-widget-2a8e565b.js → multirow-widget-929eca74.js} +7 -7
  57. package/package.json +1 -1
  58. package/{pagination-widget-26a33d29.js → pagination-widget-f92cdfb3.js} +6 -6
  59. package/{picture-upload-widget-8e531089.js → picture-upload-widget-1f5d0e1e.js} +8 -8
  60. package/{progress-widget-cc49f312.js → progress-widget-43c8779a.js} +7 -7
  61. package/{radio-widget-5ef72242.js → radio-widget-feb01b9d.js} +7 -7
  62. package/{range-widget-75dd7393.js → range-widget-afc91de9.js} +8 -8
  63. package/{rate-widget-4d727592.js → rate-widget-d0b37c8b.js} +7 -7
  64. package/render.es.js +22 -22
  65. package/render.style.css +1 -1
  66. package/render.umd.js +246 -246
  67. package/{result-widget-520d5f63.js → result-widget-15624772.js} +7 -7
  68. package/{rich-editor-widget-7d97a0ac.js → rich-editor-widget-37eeb53b.js} +7 -7
  69. package/{router-widget-0a17cd89.js → router-widget-f359ffc6.js} +6 -6
  70. package/{select-widget-4601c748.js → select-widget-207eac04.js} +7 -7
  71. package/{sfc-bedcee5e.js → sfc-3f7c333c.js} +3 -3
  72. package/{share-field-46cfb27c.js → share-field-acd9f496.js} +148 -146
  73. package/{share-file-caae654c.js → share-file-c320fa13.js} +2 -2
  74. package/{slider-widget-4258703e.js → slider-widget-a1693b0e.js} +7 -7
  75. package/{slot-87815022.js → slot-89e9df20.js} +25 -25
  76. package/{static-text-widget-f7c9f75e.js → static-text-widget-d069ccf2.js} +7 -7
  77. package/{steps-widget-7ed4714f.js → steps-widget-984902b0.js} +6 -6
  78. package/{subMenu-widget-b71b263f.js → subMenu-widget-8d6bdf07.js} +2 -2
  79. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-e00474cd.js → subMenu-widget.vue_vue_type_script_setup_true_lang-859cce1d.js} +1 -1
  80. package/{switch-widget-a7ca9805.js → switch-widget-332cbcf7.js} +7 -7
  81. package/{tab-pane-widget-aac721c1.js → tab-pane-widget-b930be60.js} +1 -1
  82. package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b13fb030.js +35 -0
  83. package/{table-col-widget-41f6fc8b.js → table-col-widget-12ed1e63.js} +6 -6
  84. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-23943a07.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-6677c8a9.js} +4 -4
  85. package/{table-widget-04ae323f.js → table-widget-54348d4a.js} +8 -8
  86. package/tabs-widget-38f227e2.js +76 -0
  87. package/{tag-widget-b2ad8430.js → tag-widget-9ab01cc3.js} +9 -9
  88. package/{text-widget-f11b31ef.js → text-widget-b67fbcb8.js} +9 -9
  89. package/{textarea-widget-0b1aa924.js → textarea-widget-1e9ece65.js} +7 -7
  90. package/{time-picker-range-widget-cee1d0db.js → time-picker-range-widget-926be65f.js} +7 -7
  91. package/{time-picker-widget-3327346e.js → time-picker-widget-e200e804.js} +7 -7
  92. package/{time-select-widget-b8ef282f.js → time-select-widget-54a4b4d5.js} +7 -7
  93. package/{tmpl-widget-41fe8438.js → tmpl-widget-f0969f40.js} +7 -7
  94. package/{tree-select-widget-955b88bf.js → tree-select-widget-c692845c.js} +7 -7
  95. package/{tree-widget-b928fb54.js → tree-widget-27362c18.js} +6 -6
  96. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3f856074.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-da8e5f63.js} +85 -83
  97. package/{wrapper-widget-0492ec02.js → wrapper-widget-231b0ddd.js} +4 -4
  98. package/drag-wrapper-9194080d.js +0 -258
  99. package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-507add54.js +0 -35
  100. package/tabs-widget-a80add4e.js +0 -68
@@ -1,35 +1,35 @@
1
- var sn = Object.defineProperty;
2
- var un = (t, r, h) => r in t ? sn(t, r, { enumerable: !0, configurable: !0, writable: !0, value: h }) : t[r] = h;
3
- var Ue = (t, r, h) => (un(t, typeof r != "symbol" ? r + "" : r, h), h);
4
- import { onMounted as Qe, nextTick as Xe, onActivated as an, onErrorCaptured as cn, watch as Z, isRef as Ye, reactive as fn, ref as fe, computed as be, onBeforeUnmount as ln, toRefs as mn } from "vue";
5
- import { p as Me, l as Se, o as X, q as Y, y as vn, d as Q, H as dn, t as Ze, f as we, e as gn, n as Ce, h as hn } from "./enum-type-965ecb4e.js";
6
- import { p as qe, b as et, g as pn, f as le, a as Vn } from "./multirow-be69baf2.js";
1
+ var an = Object.defineProperty;
2
+ var cn = (t, r, h) => r in t ? an(t, r, { enumerable: !0, configurable: !0, writable: !0, value: h }) : t[r] = h;
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 { p as Me, l as Se, o as X, q as Y, y as gn, d as Q, H as hn, t as Ze, f as we, e as pn, n as be, h as Vn } from "./enum-type-965ecb4e.js";
6
+ import { p as qe, b as et, g as On, f as le, a as yn } from "./multirow-4f8b5ed9.js";
7
7
  import { u as tt } from "./icon-e9532b43.js";
8
- import { f as I, l as me, m as On, n as Ge, c as j, b as yn } from "./expression-78a5f136.js";
9
- import { b as nt, d as _e, B as q, P as ot, c as rt, e as En, a as bn } from "./baseImp-6de567f5.js";
10
- import { F as Cn } from "./slot-87815022.js";
11
- import { c as De, k as st, l as Rn } from "./uuid-8f83f4bc.js";
12
- import { f as Mn, d as Sn, h as Re, e as _n } from "./index-2b7ed19f.js";
8
+ import { f as I, l as me, m as Cn, n as Ge, c as j, b as En } from "./expression-78a5f136.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-0de857ff.js";
10
+ import { F as Mn } from "./slot-89e9df20.js";
11
+ import { c as De, k as st, l as Sn } from "./uuid-8f83f4bc.js";
12
+ import { f as _n, d as Dn, h as Re, e as Pn } from "./index-10821241.js";
13
13
  import { W as A, d as U } from "./enum-type-0083e5e5.js";
14
- function Dn() {
14
+ function xn() {
15
15
  return {
16
16
  onMountedOrActivated: (h) => {
17
- let C = !1;
17
+ let b = !1;
18
18
  Qe(() => {
19
19
  h(), Xe(() => {
20
- C = !0;
20
+ b = !0;
21
21
  });
22
- }), an(() => {
23
- C && h();
22
+ }), fn(() => {
23
+ b && h();
24
24
  });
25
25
  },
26
26
  onCompErrorCaptured: () => {
27
- cn((h) => (console.log(h), !1));
27
+ ln((h) => (console.log(h), !1));
28
28
  }
29
29
  };
30
30
  }
31
- function Pn(t, r) {
32
- const { getWidgetOption: h, getWidgetOptionByPropValue: C } = nt(t, r), x = (_) => h(_);
31
+ function Wn(t, r) {
32
+ const { getWidgetOption: h, getWidgetOptionByPropValue: b } = nt(t, r), x = (_) => h(_);
33
33
  return {
34
34
  existFunc: x,
35
35
  handleFunc: (_, F) => {
@@ -37,7 +37,7 @@ function Pn(t, r) {
37
37
  var T = x(String(_));
38
38
  return _e(T, F);
39
39
  } else {
40
- var T = C(De(_));
40
+ var T = b(De(_));
41
41
  return _e(T, F);
42
42
  }
43
43
  }
@@ -64,10 +64,10 @@ class Pe {
64
64
  }
65
65
  function ve(t) {
66
66
  t || (t = {});
67
- const r = new Pe(t), { instance: h } = tt(), C = (d) => r.getWidgetRef(d == null ? void 0 : d.toString()), x = (d, p, O) => {
68
- var E = [], n = [];
69
- let l = C(d);
70
- return l && E.push(l), E == null || E.forEach((o) => {
67
+ const r = new Pe(t), { instance: h } = tt(), b = (d) => r.getWidgetRef(d == null ? void 0 : d.toString()), x = (d, p, O) => {
68
+ var C = [], n = [];
69
+ let l = b(d);
70
+ return l && C.push(l), C == null || C.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 E = a(d, p);
79
- if (E) {
78
+ var C = a(d, p);
79
+ if (C) {
80
80
  var n = [];
81
- return O && (n = Object.values(O)), E(...n);
81
+ return O && (n = Object.values(O)), C(...n);
82
82
  }
83
83
  }, F = (d, p, O) => {
84
- var E = [];
84
+ var C = [];
85
85
  if (d) {
86
86
  var n = De(st(d, !0));
87
87
  n == null || n.forEach((l) => {
88
88
  var o = x(l, p, O);
89
- Se(o) || E.push(o);
89
+ Se(o) || C.push(o);
90
90
  });
91
91
  }
92
- return Array.isArray(d) ? E : E == null ? void 0 : E[0];
92
+ return Array.isArray(d) ? C : C == null ? void 0 : C[0];
93
93
  }, T = (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 E = qe(O == null ? void 0 : O.id);
99
+ var C = 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
102
  var y = qe(i == null ? void 0 : i.id);
103
- return (E == null ? void 0 : E.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);
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);
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
108
  var y = n(D);
109
- return !y && (E != null && E.groupName) && (y = l(D)), y;
109
+ return !y && (C != null && C.groupName) && (y = l(D)), y;
110
110
  } catch {
111
111
  return !1;
112
112
  }
113
113
  });
114
114
  if (o)
115
- return C(o);
115
+ return b(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: x,
129
- getWidgetRef: C,
129
+ getWidgetRef: b,
130
130
  callWidgetsExposed: F,
131
131
  callRefFunc: _,
132
132
  existRefFunc: a,
133
133
  setAllRefList: T,
134
134
  findRefById: v,
135
- findRefByName: C,
135
+ findRefByName: b,
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 xn = (t, r, h) => {
144
- const C = new Pe(t), { callRefFunc: x } = ve(t), { parseGroupId: a } = et();
143
+ const Ln = (t, r, h) => {
144
+ const b = new Pe(t), { callRefFunc: x } = ve(t), { parseGroupId: a } = et();
145
145
  if (!t || t.length <= 0 || !r)
146
146
  return;
147
147
  const _ = () => {
@@ -152,13 +152,13 @@ const xn = (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 = C.getWidgetRef(o);
155
+ const o = q.getName(l), s = b.getWidgetRef(o);
156
156
  if (s)
157
157
  return { ref: s, name: o, id: l == null ? void 0 : l.id };
158
158
  }, T = (n, l) => {
159
159
  if (!Y(l))
160
160
  return;
161
- const o = q.getName(n), s = C.getWidgetRef(o);
161
+ const o = q.getName(n), s = b.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) => {
@@ -170,7 +170,7 @@ const xn = (t, r, h) => {
170
170
  if (!o)
171
171
  return;
172
172
  const s = o.name, u = x(o.ref, A.getValue), m = x(o.ref, A.getCheckedItems), i = {};
173
- return Se(u) || (i[s] = u), !gn(m) && !l && (i[`${s}${me.checkedOptions}`] = m), i;
173
+ return Se(u) || (i[s] = u), !pn(m) && !l && (i[`${s}${me.checkedOptions}`] = m), i;
174
174
  }, V = (n, l) => {
175
175
  var s;
176
176
  var o = [];
@@ -207,7 +207,7 @@ const xn = (t, r, h) => {
207
207
  if (!n || n.length <= 0)
208
208
  return o;
209
209
  if (l === le.Inner2Outer) {
210
- var s = vn(n, (u) => {
210
+ var s = gn(n, (u) => {
211
211
  var m;
212
212
  return (m = u.source) == null ? void 0 : m.id;
213
213
  });
@@ -236,7 +236,7 @@ const xn = (t, r, h) => {
236
236
  }), l;
237
237
  }, p = (n, l, o) => {
238
238
  if (o === le.Inner2Inner) {
239
- const i = dn(l), { updateFomula: y } = rt(), { buildVariable: R } = En();
239
+ const i = hn(l), { updateFomula: y } = rt(), { buildVariable: R } = bn();
240
240
  var s = d(n);
241
241
  if (Y(s)) {
242
242
  var u = q.getOrgOption(l, I.defaultValue), m = y(Ze(u), s, (L, D) => {
@@ -252,7 +252,7 @@ const xn = (t, r, h) => {
252
252
  var o = q.getOrgOption(n, I.defaultValue);
253
253
  if (o === void 0)
254
254
  return;
255
- const s = pn(r, l);
255
+ const s = On(r, l);
256
256
  if (s === le.DiffInner)
257
257
  return;
258
258
  var u = ot.getFormulaRelatedField(o);
@@ -270,15 +270,15 @@ const xn = (t, r, h) => {
270
270
  O(l);
271
271
  });
272
272
  })();
273
- }, Wn = (t, r, h, C, x) => {
273
+ }, Tn = (t, r, h, b, x) => {
274
274
  var S, B, d;
275
275
  if (x || !Y(h))
276
276
  return;
277
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 Pe(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 E, n, l;
281
- if (!((E = st(C == null ? void 0 : C.newValue, !0)) != null && E.includes(p)))
280
+ var C, n, l;
281
+ if (!((C = st(b == null ? void 0 : b.newValue, !0)) != null && C.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,7 +286,7 @@ const xn = (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 = Mn(_, (D) => {
289
+ const i = (L = _n(_, (D) => {
290
290
  var k, w;
291
291
  return ((D == null ? void 0 : D.id) === m || ((k = D == null ? void 0 : D._source) == null ? void 0 : k.id) === m) && (!V || ((w = D == null ? void 0 : D.id) == null ? void 0 : w.indexOf(V)) != -1);
292
292
  })) == null ? void 0 : L[0];
@@ -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 Ln() {
308
+ function Bn() {
309
309
  const t = (v) => {
310
310
  if (v)
311
311
  return v != null && v.ref ? v == null ? void 0 : v.ref : v;
@@ -323,7 +323,7 @@ function Ln() {
323
323
  } catch (B) {
324
324
  console.log(B);
325
325
  }
326
- }, C = (v) => {
326
+ }, b = (v) => {
327
327
  var V;
328
328
  return (V = t(v)) == null ? void 0 : V.selectionStart;
329
329
  }, x = (v) => {
@@ -336,15 +336,15 @@ function Ln() {
336
336
  r(v), a(v, V);
337
337
  };
338
338
  return {
339
- getSelectionStart: C,
339
+ getSelectionStart: b,
340
340
  getSelectionEnd: x,
341
341
  setSelectionStart: a,
342
342
  blur: h,
343
343
  focus: r,
344
344
  setMousePos: _,
345
- getMousePos: (v) => C(v),
345
+ getMousePos: (v) => b(v),
346
346
  insertOnMousePos: (v, V, S) => {
347
- const B = C(v), d = x(v), p = On(S, V, B, d);
347
+ const B = b(v), d = x(v), p = Cn(S, V, B, d);
348
348
  return Xe(() => {
349
349
  _(v, B + (V == null ? void 0 : V.length));
350
350
  }), p;
@@ -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 Un(t) {
366
- const r = t == null ? void 0 : t.designState, h = (t == null ? void 0 : t.created) != !1, C = t == null ? void 0 : t.exResetField, x = 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 } = Cn.globalInject();
367
- let p = fn(B || {});
368
- const O = ve(v), E = ve(T), n = () => Ce(p), l = () => d, o = () => a, s = {
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, x = 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 = {
369
369
  instance: {
370
370
  exposed: {
371
371
  getFormData: !r && Je(a) ? n : null,
@@ -378,14 +378,14 @@ function Un(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 } = Vn(), { instance: R } = tt(), { onCompErrorCaptured: L } = Dn(), { existFunc: D } = Pn({ options: a == null ? void 0 : a.options }, s), { attrs: k, extendAttrs: w, events: H, slots: xe, 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: Et, computedDefaultValue: se, hasDefaultValue: ge, singleOption: bt, watchOption: Ct } = nt(a, s, u, R), { isIdClass: Rt, getIdByIdClass: Mt } = Sn(a), { getOneSchemaData: St, getSchemaDataObject: _t, getSchemaDatas: Dt } = bn(s), ne = Ln();
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 } = xn(), { existFunc: D } = Wn({ options: a == null ? void 0 : a.options }, s), { attrs: k, extendAttrs: w, events: H, slots: xe, 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: Pt, getSchemaDatas: xt } = Rn(s), ne = Bn();
382
382
  let he = null, N = fe();
383
- const G = fe(), Pt = () => M.value, xt = be({
383
+ const G = fe(), Wt = () => M.value, Lt = Ee({
384
384
  get: () => Me(N.value) ? Number(N.value) : N.value,
385
385
  set: (e) => {
386
386
  N.value = e;
387
387
  }
388
- }), Wt = be({
388
+ }), Tt = Ee({
389
389
  get: () => Me(N.value) ? we(N.value) : N.value,
390
390
  set: (e) => {
391
391
  N.value = e;
@@ -396,28 +396,28 @@ function Un(t) {
396
396
  }, Le = (e) => {
397
397
  var f, c, g;
398
398
  return (g = (c = (f = O.getWidgetRef(M.value)) == null ? void 0 : f.exposed) == null ? void 0 : c.getCheckedLabels) == null ? void 0 : g.call(c, e);
399
- }, Lt = (e) => {
399
+ }, Bt = (e) => {
400
400
  var f, c, g;
401
401
  return (g = (c = (f = O.getWidgetRef(M.value)) == null ? void 0 : f.exposed) == null ? void 0 : c.getCheckedText) == null ? void 0 : g.call(c, e);
402
402
  }, Te = () => {
403
403
  if (!ze(a))
404
404
  return;
405
- const e = N.value, f = Le(e), c = Lt(e);
405
+ const e = N.value, f = Le(e), c = Bt(e);
406
406
  var g = pe(e);
407
407
  Be(f, g, c);
408
408
  }, Be = (e, f, c) => {
409
409
  var g = {};
410
410
  let P = te("textName", !1);
411
- [`${M.value}${me.optionText}`, P].forEach((b) => {
412
- b && g[b] === void 0 && (g[b] = e);
411
+ [`${M.value}${me.optionText}`, P].forEach((E) => {
412
+ E && g[E] === void 0 && (g[E] = e);
413
413
  });
414
414
  let W = te("optionName", !1);
415
- [`${M.value}${me.checkedOptions}`, W].forEach((b) => {
416
- b && g[b] === void 0 && (g[b] = f);
415
+ [`${M.value}${me.checkedOptions}`, W].forEach((E) => {
416
+ E && g[E] === void 0 && (g[E] = f);
417
417
  });
418
418
  let $ = te("labelName", !1);
419
- e != c && [`${M.value}${me.optionLabelName}`, $].forEach((b) => {
420
- b && g[b] === void 0 && (g[b] = c);
419
+ e != c && [`${M.value}${me.optionLabelName}`, $].forEach((E) => {
420
+ E && g[E] === void 0 && (g[E] = c);
421
421
  }), Q(p, g, !0);
422
422
  }, ue = (e) => {
423
423
  if (z(a)) {
@@ -427,13 +427,13 @@ function Un(t) {
427
427
  }, ae = (e) => {
428
428
  r || ue(e);
429
429
  }, Ne = (e) => te(e, !1), Fe = () => {
430
- var e = mn(p);
430
+ var e = dn(p);
431
431
  N = ot.get(e, M.value);
432
432
  }, $e = (e) => {
433
- he = Ce(e);
434
- }, Tt = () => {
433
+ he = be(e);
434
+ }, Nt = () => {
435
435
  r || x && x(J());
436
- }, Bt = () => {
436
+ }, Ft = () => {
437
437
  !r || !z(a) || (ue(se.value), Fe());
438
438
  }, Ve = (e, f) => {
439
439
  if (!z(a))
@@ -441,101 +441,101 @@ function Un(t) {
441
441
  y(I.fieldValueChanged, { newValue: e, oldValue: f });
442
442
  const c = { fieldId: a.id, fieldName: M.value, newValue: e, oldValue: f };
443
443
  i(S, I.fieldChange, c, R);
444
- }, Nt = (e) => D(e), ce = (e, f) => _e(de(e), f), Ft = (e) => {
444
+ }, $t = (e) => D(e), ce = (e, f) => _e(de(e), f), It = (e) => {
445
445
  ae(e), Ae(), ce(I.onInput, { value: e });
446
- }, $t = (...e) => {
446
+ }, kt = (...e) => {
447
447
  var g, P, W;
448
448
  const c = ((g = e == null ? void 0 : e[0]) == null ? void 0 : g.target) != null ? (W = (P = e == null ? void 0 : e[0]) == null ? void 0 : P.target) == null ? void 0 : W.value : e == null ? void 0 : e[0];
449
449
  ae(c), Ve(c, he), Ae(), ce(I.onChange, { value: c, oldValue: he }), $e(c);
450
- }, It = () => {
451
- m(yn.setFormData, (e) => {
450
+ }, jt = () => {
451
+ m(En.setFormData, (e) => {
452
452
  oe(e[M.value]);
453
453
  }), m(I.fieldValueChanged, (e) => {
454
454
  ce(I.onChange, { value: e == null ? void 0 : e.newValue, oldValue: e == null ? void 0 : e.oldValue });
455
455
  });
456
- }, kt = () => {
456
+ }, At = () => {
457
457
  let e = M.value;
458
- z(a) ? ((!hn(p, e) || p[e] === void 0) && (ge() ? ue(se.value) : ue(null)), Fe()) : ge() && oe(se.value), $e(J()), Tt();
459
- }, jt = () => {
458
+ z(a) ? ((!Vn(p, e) || p[e] === void 0) && (ge() ? ue(se.value) : ue(null)), Fe()) : ge() && oe(se.value), $e(J()), Nt();
459
+ }, Ht = () => {
460
460
  Z(() => re == null ? void 0 : re.value, (e, f) => {
461
461
  Te();
462
462
  });
463
- }, At = () => {
463
+ }, Kt = () => {
464
464
  var e, f;
465
465
  h && (Qe(() => {
466
466
  var c, g;
467
467
  try {
468
- (g = (c = H == null ? void 0 : H.value) == null ? void 0 : c.mounted) == null || g.call(c), tn(), jt();
468
+ (g = (c = H == null ? void 0 : H.value) == null ? void 0 : c.mounted) == null || g.call(c), on(), Ht();
469
469
  } catch (P) {
470
470
  console.log(P);
471
471
  }
472
- }), ln(() => {
473
- O.unregisterFromRefList(M.value), E.unregisterFromRefList(M.value);
474
- }), O.registerToRefList(M.value), E.registerToRefList(M.value), kt(), ie(), It(), Re(a, "change") && (H.value.change = $t), Re(a, "input") && (H.value.input = Ft), (f = (e = H == null ? void 0 : H.value) == null ? void 0 : e.created) == null || f.call(e), L());
475
- }, Ht = (e = !0) => {
472
+ }), vn(() => {
473
+ O.unregisterFromRefList(M.value), C.unregisterFromRefList(M.value);
474
+ }), O.registerToRefList(M.value), C.registerToRefList(M.value), At(), ie(), jt(), Re(a, "change") && (H.value.change = kt), 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
+ }, Ut = (e = !0) => {
476
476
  ee(j.readonly, e);
477
- }, Kt = (e = !0) => {
477
+ }, qt = (e = !0) => {
478
478
  ee(j.disabled, e);
479
- }, Ut = (e = !0) => {
479
+ }, Gt = (e = !0) => {
480
480
  ee(j.hidden, e), e ? Ke() : ie();
481
- }, qt = (e = !0) => {
481
+ }, Jt = (e = !0) => {
482
482
  yt(j.required, e), ie();
483
- }, Gt = (e) => {
483
+ }, zt = (e) => {
484
484
  ee(j.label, e);
485
485
  }, J = () => N.value, Ie = (e) => {
486
486
  N.value = e;
487
487
  }, oe = (e) => {
488
- let f = Ce(J());
488
+ let f = be(J());
489
489
  if (Ie(e), !z(a))
490
490
  return;
491
491
  const c = J();
492
492
  f !== c && (ae(c), Ve(e, f));
493
- }, Jt = () => {
494
- ge() && oe(se.value), C == null || C();
495
- }, zt = (e) => {
493
+ }, Qt = () => {
494
+ ge() && oe(se.value), b == null || b();
495
+ }, Xt = (e) => {
496
496
  const f = J(), c = ne.insertOnMousePos(G.value, e, f);
497
497
  oe(c);
498
- }, Qt = (e, f) => {
498
+ }, Yt = (e, f) => {
499
499
  Z(() => N.value, (c, g) => {
500
500
  e == null || e({ id: a.id, name: M.value, newValue: c, oldValue: g });
501
501
  }, f);
502
- }, Xt = (e) => {
502
+ }, Zt = (e) => {
503
503
  var W;
504
504
  e.preventDefault();
505
505
  const f = ($) => {
506
506
  var K;
507
- const b = (K = Array.from($.classList)) == null ? void 0 : K.find((ye) => Rt(ye));
508
- return b ? Mt(b) : "";
507
+ const E = (K = Array.from($.classList)) == null ? void 0 : K.find((ye) => St(ye));
508
+ return E ? _t(E) : "";
509
509
  }, c = document.activeElement;
510
510
  if (!c)
511
511
  return;
512
512
  const g = document.getElementsByClassName(Ge.formItemTarget);
513
513
  for (var P = 0; P < g.length; P++) {
514
- const $ = g[P], b = ut(c, Ge.formItemTarget);
515
- if (!b)
514
+ const $ = g[P], E = ut(c, Ge.formItemTarget);
515
+ if (!E)
516
516
  continue;
517
- const K = f($), ye = f(b);
517
+ const K = f($), ye = f(E);
518
518
  if (K === ye) {
519
519
  if (P === g.length - 1)
520
520
  return;
521
- const nn = g[P + 1], on = f(nn), Ee = O.findRefById(on, R);
521
+ const rn = g[P + 1], sn = f(rn), Ce = O.findRefById(sn, R);
522
522
  try {
523
- (W = Ee == null ? void 0 : Ee.exposed) == null || W.focus();
524
- } catch (rn) {
525
- console.log(rn);
523
+ (W = Ce == null ? void 0 : Ce.exposed) == null || W.focus();
524
+ } catch (un) {
525
+ console.log(un);
526
526
  }
527
527
  }
528
528
  }
529
529
  };
530
- let Yt = () => {
530
+ let wt = () => {
531
531
  var $;
532
532
  let e = {
533
533
  componentName: M.value,
534
534
  //用于组件事件emitter发射与接收处理
535
535
  refList: T,
536
536
  allRefList: v,
537
- changeRegisterToRefList: (b, K) => {
538
- O.changeRegisterToRefList(b, K), E.changeRegisterToRefList(b, K);
537
+ changeRegisterToRefList: (E, K) => {
538
+ O.changeRegisterToRefList(E, K), C.changeRegisterToRefList(E, K);
539
539
  },
540
540
  getField: o,
541
541
  getFormData: n,
@@ -550,15 +550,17 @@ function Un(t) {
550
550
  refreshKey: je,
551
551
  getRowScope: l,
552
552
  //组件的数据绑定:继承的数据,用于计算组件属性变量
553
- getOneSchemaData: St,
554
- getSchemaDatas: Dt,
555
- getSchemaDataObject: _t
553
+ getOneSchemaData: Dt,
554
+ getSchemaDatas: xt,
555
+ getSchemaDataObject: Pt,
556
+ addCssClass: Rt,
557
+ removeCssClass: Mt
556
558
  }, f = {
557
- resetField: Jt,
559
+ resetField: Qt,
558
560
  getValue: J,
559
561
  setValue: oe,
560
- refreshDefaultValue: Bt,
561
- insertOnMousePos: zt,
562
+ refreshDefaultValue: Ft,
563
+ insertOnMousePos: Xt,
562
564
  disableChangeValidate: it,
563
565
  enableChangeValidate: ft,
564
566
  focus: () => {
@@ -570,29 +572,29 @@ function Un(t) {
570
572
  getMousePos: () => {
571
573
  ne.getMousePos(G.value);
572
574
  },
573
- setMousePos: (b) => {
574
- ne.setMousePos(G.value, b);
575
+ setMousePos: (E) => {
576
+ ne.setMousePos(G.value, E);
575
577
  }
576
578
  }, c = {
577
579
  getCheckedItems: pe,
578
580
  getCheckedLabels: Le
579
581
  }, g = {
580
- [j.required]: { name: A.setRequired, fn: qt },
581
- [j.label]: { name: A.setLabel, fn: Gt },
582
- [j.hidden]: { name: A.setHidden, fn: Ut },
583
- [j.disabled]: { name: A.setDisabled, fn: Kt },
584
- [j.readonly]: { name: A.setReadonly, fn: Ht }
582
+ [j.required]: { name: A.setRequired, fn: Jt },
583
+ [j.label]: { name: A.setLabel, fn: zt },
584
+ [j.hidden]: { name: A.setHidden, fn: Gt },
585
+ [j.disabled]: { name: A.setDisabled, fn: qt },
586
+ [j.readonly]: { name: A.setReadonly, fn: Ut }
585
587
  }, P = {};
586
- ($ = X(g)) == null || $.forEach((b) => {
587
- if (Re(a, b)) {
588
- const K = g[b];
588
+ ($ = X(g)) == null || $.forEach((E) => {
589
+ if (Re(a, E)) {
590
+ const K = g[E];
589
591
  P[K.name] = K.fn;
590
592
  }
591
593
  });
592
594
  var W = Q(e, P);
593
595
  return z(a) && (W = Q(W, f)), ze(a) && (W = Q(W, c)), W;
594
596
  };
595
- const Zt = be(() => ({
597
+ const en = Ee(() => ({
596
598
  attrs: k.value,
597
599
  extendAttrs: w.value,
598
600
  events: H.value,
@@ -600,28 +602,28 @@ function Un(t) {
600
602
  fieldKey: Oe.value,
601
603
  fieldEditor: G.value,
602
604
  fieldName: M.value
603
- })), ke = () => `${a == null ? void 0 : a.id}-${Rn()}`, Oe = fe(ke()), je = () => {
605
+ })), ke = () => `${a == null ? void 0 : a.id}-${Sn()}`, Oe = fe(ke()), je = () => {
604
606
  Oe.value = ke();
605
- }, wt = (e) => {
607
+ }, tn = (e) => {
606
608
  t.designState && t.designer && Z(() => {
607
609
  var f;
608
610
  return (f = t == null ? void 0 : t.widget) == null ? void 0 : f[e];
609
611
  }, (f, c) => {
610
- const { emitHistoryChange: g } = _n(t.designer);
612
+ const { emitHistoryChange: g } = Pn(t.designer);
611
613
  g(`edit ${M.value}.${e},newValue:${f},oldValue:${c}`);
612
614
  }, {
613
615
  deep: !0
614
616
  });
615
- }, en = (e, f, c) => {
617
+ }, nn = (e, f, c) => {
616
618
  const g = fe(), P = Ne(e), W = ($) => {
617
619
  f && (g.value = f($ || P));
618
620
  };
619
621
  return Ye(P) ? Z(P, ($) => {
620
622
  W($), c && c($);
621
623
  }) : W(P), g;
622
- }, tn = () => {
623
- !z(a) || r || Qt((e) => {
624
- xn(v, a == null ? void 0 : a.id, s), Wn(v, a == null ? void 0 : a.id, q.getOptions(a, j.relate), e), Te();
624
+ }, on = () => {
625
+ !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, j.relate), e), Te();
625
627
  }, { immediate: !0 });
626
628
  }, Ae = () => {
627
629
  const e = { propName: M.value };
@@ -634,11 +636,11 @@ function Un(t) {
634
636
  }, Ke = () => {
635
637
  ct(), He();
636
638
  };
637
- return At(), {
638
- exposed: Yt(),
639
+ return Kt(), {
640
+ exposed: wt(),
639
641
  fieldModel: N,
640
- objFieldModel: Wt,
641
- numFieldModel: xt,
642
+ objFieldModel: Tt,
643
+ numFieldModel: Lt,
642
644
  fieldEditor: G,
643
645
  fieldKey: Oe,
644
646
  field: a,
@@ -648,7 +650,7 @@ function Un(t) {
648
650
  slots: xe,
649
651
  events: H,
650
652
  rules: We,
651
- fieldObj: Zt,
653
+ fieldObj: en,
652
654
  // isError,
653
655
  // errorMsg,
654
656
  pageConfig: F,
@@ -667,12 +669,12 @@ function Un(t) {
667
669
  getCheckedOptionValues: vt,
668
670
  getCheckedOptionText: mt,
669
671
  refreshKey: je,
670
- watchKeyValue: en,
671
- watchPropAndSaveHistoryStep: wt,
672
- existEvent: Nt,
672
+ watchKeyValue: nn,
673
+ watchPropAndSaveHistoryStep: tn,
674
+ existEvent: $t,
673
675
  handleEvent: ce,
674
- handleEnter: Xt,
675
- getPropName: Pt,
676
+ handleEnter: Zt,
677
+ getPropName: Wt,
676
678
  emitFieldDataChange: Ve,
677
679
  syncUpdateFormModel: ae,
678
680
  getWidgetRef: O.getWidgetRef,
@@ -680,16 +682,16 @@ function Un(t) {
680
682
  buildRules: ie,
681
683
  getFieldOptionModel: Ne,
682
684
  getFieldOptions: te,
683
- setFieldOptions: Et,
685
+ setFieldOptions: Ct,
684
686
  getWidgetOption: de,
685
- singleOption: bt,
686
- watchOption: Ct,
687
+ singleOption: Et,
688
+ watchOption: bt,
687
689
  mergeOptionToFormModel: Be
688
690
  };
689
691
  }
690
692
  export {
691
693
  Pe as R,
692
694
  ve as a,
693
- Un as b,
694
- Pn as u
695
+ Gn as b,
696
+ Wn as u
695
697
  };