hlrender 0.0.11 → 0.0.13

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 (116) hide show
  1. package/{affix-widget-09d896ce.js → affix-widget-b700fb76.js} +16 -16
  2. package/{alert-widget-07d1f81e.js → alert-widget-4d7bc87c.js} +16 -16
  3. package/{anchor-widget-34ee6615.js → anchor-widget-c84e6713.js} +13 -13
  4. package/{auto-complete-widget-06e8ab97.js → auto-complete-widget-f28eded5.js} +16 -16
  5. package/{avatar-widget-88abc990.js → avatar-widget-f607c757.js} +16 -16
  6. package/{backtop-widget-136d8760.js → backtop-widget-9ccaf268.js} +16 -16
  7. package/{badge-widget-00c67aea.js → badge-widget-5c840400.js} +19 -19
  8. package/{baseImp-6de567f5.js → baseImp-1b476c77.js} +1824 -1781
  9. package/{breadcrumb-widget-88e8760d.js → breadcrumb-widget-1b089dce.js} +13 -13
  10. package/{button-widget-da254e24.js → button-widget-6043fac6.js} +16 -16
  11. package/{cache-widget-c3704d8b.js → cache-widget-93006b8b.js} +15 -15
  12. package/{card-widget-340dc200.js → card-widget-2749c50c.js} +14 -14
  13. package/{carousel-widget-3efe1e3f.js → carousel-widget-bd15db2e.js} +18 -18
  14. package/{cascader-widget-a8b2b9f3.js → cascader-widget-00c77296.js} +20 -20
  15. package/{chart-widget-3fa591bd.js → chart-widget-5c28c10a.js} +13 -13
  16. package/{checkbox-widget-1763fe87.js → checkbox-widget-9a8087d7.js} +15 -15
  17. package/{collapse-widget-17ea1e3a.js → collapse-widget-f082c49a.js} +18 -18
  18. package/{color-picker-widget-8ffc757d.js → color-picker-widget-def103e4.js} +15 -15
  19. package/{cont-cell-widget-627285b3.js → cont-cell-widget-be7e5f0d.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-2649dc04.js} +5 -5
  21. package/{cont-widget-271709f5.js → cont-widget-6d2fd7b0.js} +8 -8
  22. package/content-wrapper-4c86f902.js +14 -0
  23. package/{content-wrapper.vue_vue_type_script_setup_true_lang-7c2b51ee.js → content-wrapper.vue_vue_type_script_setup_true_lang-ddde821e.js} +3 -3
  24. package/{date-picker-range-widget-1ed067ba.js → date-picker-range-widget-a87d3859.js} +15 -15
  25. package/{date-picker-widget-13242a45.js → date-picker-widget-57e340ef.js} +15 -15
  26. package/default-slot-widget-54dfb5af.js +24 -0
  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-b125ec50.js} +7 -7
  28. package/{descriptions-widget-07aae80f.js → descriptions-widget-67dcc22a.js} +14 -14
  29. package/{dialog-701b8c0a.js → dialog-7d33aaed.js} +2 -2
  30. package/{dialog-widget-4133a39f.js → dialog-widget-959d3ec1.js} +15 -15
  31. package/{divider-widget-2e6ab845.js → divider-widget-6aeebc0f.js} +16 -16
  32. package/drag-wrapper-1c3560ef.js +258 -0
  33. package/{drawer-widget-dc73d1ca.js → drawer-widget-f02ff61b.js} +15 -15
  34. package/{dropdown-widget-4bec3b6b.js → dropdown-widget-4cd4dc31.js} +34 -32
  35. package/{empty-widget-b09cb9bc.js → empty-widget-2ab9ac82.js} +16 -16
  36. package/{enum-type-965ecb4e.js → enum-type-6c2444c7.js} +23 -23
  37. package/{enum-type-0083e5e5.js → enum-type-f19f3faf.js} +1 -1
  38. package/{expression-78a5f136.js → expression-d0d5b99e.js} +7 -7
  39. package/feedback-widget-52713336.js +24 -0
  40. 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-e25e9f1b.js} +5 -5
  41. package/{fieldobj-079cc6a1.js → fieldobj-3d0327a8.js} +3 -3
  42. package/{file-upload-widget-ad790e94.js → file-upload-widget-3d0b9fa7.js} +16 -16
  43. package/{form-item-wrapper-f428a5b3.js → form-item-wrapper-e32762ff.js} +11 -11
  44. package/{form-widget-aa88b04c.js → form-widget-8c8406c0.js} +42 -42
  45. package/{grid-col-widget-3d4def04.js → grid-col-widget-e1f99b88.js} +1 -1
  46. 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-335bd615.js} +5 -5
  47. package/{grid-widget-0d8adfb3.js → grid-widget-f9e7adf5.js} +8 -8
  48. package/{html-text-widget-261eaf3d.js → html-text-widget-88359d76.js} +14 -14
  49. package/{iframe-widget-b8434abd.js → iframe-widget-39a800c0.js} +13 -13
  50. package/{image-widget-931a54a9.js → image-widget-7a89343f.js} +13 -13
  51. package/{index-22bda53a.js → index-6f9269bf.js} +1 -1
  52. package/{index-94d0325b.js → index-84cb8278.js} +4 -4
  53. package/{index-2b7ed19f.js → index-ed6948ad.js} +725 -717
  54. package/{input-number-widget-627ba574.js → input-number-widget-e080415b.js} +15 -15
  55. package/{input-widget-1af63077.js → input-widget-dcfc8735.js} +16 -16
  56. package/{label-wrapper-bb67454d.js → label-wrapper-bc320280.js} +5 -5
  57. package/{label-wrapper.vue_vue_type_style_index_0_lang-406a5b48.js → label-wrapper.vue_vue_type_style_index_0_lang-a0cb6bb5.js} +3 -3
  58. package/{link-widget-b763c145.js → link-widget-791dda30.js} +16 -16
  59. package/{ltable-col-widget-ac72367a.js → ltable-col-widget-f11f5652.js} +1 -1
  60. 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-7d13d8d1.js} +10 -10
  61. package/{ltable-widget-fbfde49d.js → ltable-widget-84b04c8a.js} +5 -5
  62. package/{menu-widget-839b5597.js → menu-widget-32698736.js} +14 -14
  63. package/{model-widget-f95af04f.js → model-widget-1499bfc5.js} +13 -13
  64. package/{multirow-be69baf2.js → multirow-b14caba5.js} +15 -15
  65. package/{multirow-widget-2a8e565b.js → multirow-widget-f8a697ba.js} +15 -15
  66. package/package.json +1 -1
  67. package/{pagination-widget-26a33d29.js → pagination-widget-0bb40786.js} +13 -13
  68. package/{picture-upload-widget-8e531089.js → picture-upload-widget-1568f7ce.js} +16 -16
  69. package/{progress-widget-cc49f312.js → progress-widget-8bd4247a.js} +14 -14
  70. package/{propresult-92830dff.js → propresult-e19b76cc.js} +1 -1
  71. package/{radio-widget-5ef72242.js → radio-widget-771f190a.js} +15 -15
  72. package/{range-widget-75dd7393.js → range-widget-5d794405.js} +16 -16
  73. package/{rate-widget-4d727592.js → rate-widget-2be83ab2.js} +15 -15
  74. package/render.es.js +829 -825
  75. package/render.style.css +1 -1
  76. package/render.umd.js +306 -287
  77. package/{result-widget-520d5f63.js → result-widget-dd74533a.js} +14 -14
  78. package/{rich-editor-widget-7d97a0ac.js → rich-editor-widget-b4ac8fcc.js} +21 -21
  79. package/{router-widget-0a17cd89.js → router-widget-1df3f0d6.js} +13 -13
  80. package/{select-widget-4601c748.js → select-widget-dcf37e3a.js} +15 -15
  81. package/{sfc-bedcee5e.js → sfc-bd924d00.js} +708 -682
  82. package/{share-field-46cfb27c.js → share-field-dfc6f214.js} +194 -192
  83. package/{share-file-caae654c.js → share-file-39699a73.js} +14 -14
  84. package/{slider-widget-4258703e.js → slider-widget-a2b12daa.js} +20 -20
  85. package/{slot-87815022.js → slot-1235c941.js} +25 -25
  86. package/{static-text-widget-f7c9f75e.js → static-text-widget-0d2477d8.js} +14 -14
  87. package/{steps-widget-7ed4714f.js → steps-widget-9844205e.js} +13 -13
  88. package/subMenu-widget-0a646352.js +16 -0
  89. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-e00474cd.js → subMenu-widget.vue_vue_type_script_setup_true_lang-0ab417be.js} +3 -3
  90. package/{switch-widget-a7ca9805.js → switch-widget-d969a535.js} +15 -15
  91. package/{tab-pane-widget-aac721c1.js → tab-pane-widget-ea3324db.js} +1 -1
  92. package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-5a83d03f.js +35 -0
  93. package/table-col-widget-274e159e.js +20 -0
  94. 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-f638bdfc.js} +15 -15
  95. package/{table-widget-04ae323f.js → table-widget-73d01cea.js} +47 -47
  96. package/tabs-widget-d573925c.js +76 -0
  97. package/{tag-widget-b2ad8430.js → tag-widget-b700c984.js} +16 -16
  98. package/{text-widget-f11b31ef.js → text-widget-a23e3e8c.js} +16 -16
  99. package/{textarea-widget-0b1aa924.js → textarea-widget-df1cbac5.js} +15 -15
  100. package/{time-picker-range-widget-cee1d0db.js → time-picker-range-widget-fcc8bdcd.js} +15 -15
  101. package/{time-picker-widget-3327346e.js → time-picker-widget-0c4c7fb8.js} +15 -15
  102. package/{time-select-widget-b8ef282f.js → time-select-widget-208a2c17.js} +15 -15
  103. package/{tmpl-widget-41fe8438.js → tmpl-widget-e97eaa43.js} +23 -23
  104. package/{tree-select-widget-955b88bf.js → tree-select-widget-3de564cb.js} +15 -15
  105. package/{tree-widget-b928fb54.js → tree-widget-58540f01.js} +26 -26
  106. package/{uuid-8f83f4bc.js → uuid-85303a38.js} +10 -10
  107. 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-2d5b7847.js} +86 -84
  108. package/{wrapper-widget-0492ec02.js → wrapper-widget-aa2ee8f4.js} +6 -6
  109. package/content-wrapper-45ed31e2.js +0 -14
  110. package/default-slot-widget-8da28e30.js +0 -24
  111. package/drag-wrapper-9194080d.js +0 -258
  112. package/feedback-widget-339b6b9f.js +0 -24
  113. package/subMenu-widget-b71b263f.js +0 -16
  114. package/tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-507add54.js +0 -35
  115. package/table-col-widget-41f6fc8b.js +0 -20
  116. package/tabs-widget-a80add4e.js +0 -68
@@ -1,49 +1,49 @@
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 { 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-b14caba5.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";
13
- import { W as A, d as U } from "./enum-type-0083e5e5.js";
14
- function Dn() {
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-1b476c77.js";
10
+ import { F as Mn } from "./slot-1235c941.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-ed6948ad.js";
13
+ import { W as A, d as U } from "./enum-type-f19f3faf.js";
14
+ function Pn() {
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), P = (_) => h(_);
33
33
  return {
34
- existFunc: x,
34
+ existFunc: P,
35
35
  handleFunc: (_, F) => {
36
36
  if (Me(_)) {
37
- var T = x(String(_));
37
+ var T = P(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
  }
44
44
  };
45
45
  }
46
- class Pe {
46
+ class xe {
47
47
  constructor(r) {
48
48
  Ue(this, "refList", {});
49
49
  r && (this.refList = r);
@@ -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 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) => {
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
- var o = x(l, p, O);
89
- Se(o) || E.push(o);
88
+ var o = P(l, p, 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;
@@ -125,14 +125,14 @@ function ve(t) {
125
125
  }
126
126
  };
127
127
  return {
128
- findWidgetAndCall: x,
129
- getWidgetRef: C,
128
+ findWidgetAndCall: P,
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,37 +140,37 @@ 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 xe(t), { callRefFunc: P } = ve(t), { parseGroupId: a } = et();
145
145
  if (!t || t.length <= 0 || !r)
146
146
  return;
147
147
  const _ = () => {
148
148
  var n, l;
149
- return (l = (n = X(t)) == null ? void 0 : n.map((o) => x(t == null ? void 0 : t[o], A.getField))) == null ? void 0 : l.filter((o) => !!o);
149
+ return (l = (n = X(t)) == null ? void 0 : n.map((o) => P(t == null ? void 0 : t[o], A.getField))) == null ? void 0 : l.filter((o) => !!o);
150
150
  }, F = (n) => {
151
151
  var u;
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) => {
165
- x(s, A.setValue, { newValue: m });
166
- }) : x(s, A.setValue, { newValue: u }));
165
+ P(s, A.setValue, { newValue: m });
166
+ }) : P(s, A.setValue, { newValue: u }));
167
167
  }
168
168
  }, v = (n, l) => {
169
169
  const o = F(n);
170
170
  if (!o)
171
171
  return;
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;
172
+ const s = o.name, u = P(o.ref, A.getValue), m = P(o.ref, A.getCheckedItems), 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,12 +236,12 @@ 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) => {
243
- var k = s[L];
244
- return Se(k) ? R(L) : R(k);
243
+ var j = s[L];
244
+ return Se(j) ? R(L) : R(j);
245
245
  });
246
246
  return q.setOrgOption(i, I.defaultValue, we(m)), i;
247
247
  }
@@ -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, P) => {
274
274
  var S, B, d;
275
- if (x || !Y(h))
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 Pe(t);
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);
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,16 +286,16 @@ 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) => {
290
- var k, w;
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);
289
+ const i = (L = _n(_, (D) => {
290
+ var j, w;
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
295
  const y = q.getName(i), R = T.getWidgetRef(y);
296
296
  R ? a(R, s == null ? void 0 : s.event, s == null ? void 0 : s.args) : Z(() => t, (D) => {
297
- const k = T.getWidgetRef(y);
298
- k && a(k, s == null ? void 0 : s.event, s == null ? void 0 : s.args);
297
+ const j = T.getWidgetRef(y);
298
+ j && a(j, s == null ? void 0 : s.event, s == null ? void 0 : s.args);
299
299
  });
300
300
  });
301
301
  });
@@ -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,10 +323,10 @@ 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
- }, x = (v) => {
329
+ }, P = (v) => {
330
330
  var V;
331
331
  return (V = t(v)) == null ? void 0 : V.selectionEnd;
332
332
  }, a = (v, V) => {
@@ -336,15 +336,15 @@ function Ln() {
336
336
  r(v), a(v, V);
337
337
  };
338
338
  return {
339
- getSelectionStart: C,
340
- getSelectionEnd: x,
339
+ getSelectionStart: b,
340
+ getSelectionEnd: P,
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 = P(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, 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 = {
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 } = 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
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
- let P = te("textName", !1);
411
- [`${M.value}${me.optionText}`, P].forEach((b) => {
412
- b && g[b] === void 0 && (g[b] = e);
410
+ let x = te("textName", !1);
411
+ [`${M.value}${me.optionText}`, x].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 = () => {
435
- r || x && x(J());
436
- }, Bt = () => {
433
+ he = be(e);
434
+ }, Nt = () => {
435
+ r || P && P(J());
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) => {
447
- var g, P, W;
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];
446
+ }, jt = (...e) => {
447
+ var g, x, W;
448
+ const c = ((g = e == null ? void 0 : e[0]) == null ? void 0 : g.target) != null ? (W = (x = e == null ? void 0 : e[0]) == null ? void 0 : x.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
+ }, kt = () => {
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();
469
- } catch (P) {
470
- console.log(P);
468
+ (g = (c = H == null ? void 0 : H.value) == null ? void 0 : c.mounted) == null || g.call(c), on(), Ht();
469
+ } catch (x) {
470
+ console.log(x);
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) => {
476
- ee(j.readonly, e);
477
- }, Kt = (e = !0) => {
478
- ee(j.disabled, e);
472
+ }), 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
475
  }, Ut = (e = !0) => {
480
- ee(j.hidden, e), e ? Ke() : ie();
476
+ ee(k.readonly, e);
481
477
  }, qt = (e = !0) => {
482
- yt(j.required, e), ie();
483
- }, Gt = (e) => {
484
- ee(j.label, e);
478
+ ee(k.disabled, e);
479
+ }, Gt = (e = !0) => {
480
+ ee(k.hidden, e), e ? Ke() : ie();
481
+ }, Jt = (e = !0) => {
482
+ yt(k.required, e), ie();
483
+ }, zt = (e) => {
484
+ ee(k.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
- for (var P = 0; P < g.length; P++) {
514
- const $ = g[P], b = ut(c, Ge.formItemTarget);
515
- if (!b)
513
+ for (var x = 0; x < g.length; x++) {
514
+ const $ = g[x], 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
- if (P === g.length - 1)
519
+ if (x === g.length - 1)
520
520
  return;
521
- const nn = g[P + 1], on = f(nn), Ee = O.findRefById(on, R);
521
+ const rn = g[x + 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,
@@ -547,18 +547,20 @@ function Un(t) {
547
547
  callRefFunc: O.callRefFunc,
548
548
  getWidgetOption: de,
549
549
  setWidgetOption: ee,
550
- refreshKey: je,
550
+ refreshKey: ke,
551
551
  getRowScope: l,
552
552
  //组件的数据绑定:继承的数据,用于计算组件属性变量
553
- getOneSchemaData: St,
554
- getSchemaDatas: Dt,
555
- getSchemaDataObject: _t
553
+ getOneSchemaData: Dt,
554
+ getSchemaDatas: Pt,
555
+ getSchemaDataObject: xt,
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,58 +572,58 @@ 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 }
585
- }, P = {};
586
- ($ = X(g)) == null || $.forEach((b) => {
587
- if (Re(a, b)) {
588
- const K = g[b];
589
- P[K.name] = K.fn;
582
+ [k.required]: { name: A.setRequired, fn: Jt },
583
+ [k.label]: { name: A.setLabel, fn: zt },
584
+ [k.hidden]: { name: A.setHidden, fn: Gt },
585
+ [k.disabled]: { name: A.setDisabled, fn: qt },
586
+ [k.readonly]: { name: A.setReadonly, fn: Ut }
587
+ }, x = {};
588
+ ($ = X(g)) == null || $.forEach((E) => {
589
+ if (Re(a, E)) {
590
+ const K = g[E];
591
+ x[K.name] = K.fn;
590
592
  }
591
593
  });
592
- var W = Q(e, P);
594
+ var W = Q(e, x);
593
595
  return z(a) && (W = Q(W, f)), ze(a) && (W = Q(W, c)), W;
594
596
  };
595
- const Zt = be(() => ({
596
- attrs: k.value,
597
+ const en = Ee(() => ({
598
+ attrs: j.value,
597
599
  extendAttrs: w.value,
598
600
  events: H.value,
599
- slots: xe.value,
601
+ slots: Pe.value,
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 = () => {
604
- Oe.value = ke();
605
- }, wt = (e) => {
605
+ })), je = () => `${a == null ? void 0 : a.id}-${Sn()}`, Oe = fe(je()), ke = () => {
606
+ Oe.value = je();
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 } = xn(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) => {
616
- const g = fe(), P = Ne(e), W = ($) => {
617
- f && (g.value = f($ || P));
617
+ }, nn = (e, f, c) => {
618
+ const g = fe(), x = Ne(e), W = ($) => {
619
+ f && (g.value = f($ || x));
618
620
  };
619
- return Ye(P) ? Z(P, ($) => {
621
+ return Ye(x) ? Z(x, ($) => {
620
622
  W($), c && c($);
621
- }) : 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();
623
+ }) : W(x), g;
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, k.relate), e), Te();
625
627
  }, { immediate: !0 });
626
628
  }, Ae = () => {
627
629
  const e = { propName: M.value };
@@ -634,21 +636,21 @@ 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,
645
647
  instance: R,
646
- attrs: k,
648
+ attrs: j,
647
649
  extendAttrs: w,
648
- slots: xe,
650
+ slots: Pe,
649
651
  events: H,
650
652
  rules: We,
651
- fieldObj: Zt,
653
+ fieldObj: en,
652
654
  // isError,
653
655
  // errorMsg,
654
656
  pageConfig: F,
@@ -666,13 +668,13 @@ function Un(t) {
666
668
  getCheckedOptionLabels: dt,
667
669
  getCheckedOptionValues: vt,
668
670
  getCheckedOptionText: mt,
669
- refreshKey: je,
670
- watchKeyValue: en,
671
- watchPropAndSaveHistoryStep: wt,
672
- existEvent: Nt,
671
+ refreshKey: ke,
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
- Pe as R,
693
+ xe 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
  };