hlrender 0.0.267 → 0.0.270

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 (132) hide show
  1. package/{_pdf-4defff60.js → _pdf-30c5df74.js} +6 -6
  2. package/{_txt-58ff9d9c.js → _txt-f3b40d61.js} +6 -6
  3. package/{_unsupport-bde95aa1.js → _unsupport-11c224ea.js} +1 -1
  4. package/{affix-widget-79239c13.js → affix-widget-b00c13a9.js} +16 -16
  5. package/{alert-widget-53c68e39.js → alert-widget-c10ab3e6.js} +16 -16
  6. package/{anchor-widget-06b52e21.js → anchor-widget-d28fc6e2.js} +13 -13
  7. package/{auto-complete-widget-b9f71f0f.js → auto-complete-widget-0eb561a2.js} +16 -16
  8. package/{avatar-widget-a436c281.js → avatar-widget-ad185753.js} +16 -16
  9. package/{backtop-widget-306c4579.js → backtop-widget-701dbc00.js} +16 -16
  10. package/{badge-widget-cef45cfc.js → badge-widget-59f7307b.js} +16 -16
  11. package/{barcode-widget-8b1a46b0.js → barcode-widget-c5da17da.js} +13 -13
  12. package/{baseImp-c8f57285.js → baseImp-c89f684e.js} +2816 -2818
  13. package/{breadcrumb-widget-6fd8756c.js → breadcrumb-widget-c338c02f.js} +13 -13
  14. package/{button-widget-a6076629.js → button-widget-970ab346.js} +16 -16
  15. package/{cache-widget-f12a0b10.js → cache-widget-c111ed01.js} +15 -15
  16. package/{card-widget-7cb487fb.js → card-widget-2c6b9761.js} +14 -14
  17. package/{carousel-widget-ca353b4e.js → carousel-widget-fead346d.js} +14 -14
  18. package/{cascader-widget-55751637.js → cascader-widget-660876ce.js} +15 -15
  19. package/{chart-widget-e0a5c7e8.js → chart-widget-4e1b884b.js} +13 -13
  20. package/{checkbox-widget-3114bc72.js → checkbox-widget-3dd8cdd4.js} +15 -15
  21. package/{collapse-widget-b1717b3b.js → collapse-widget-49004cdf.js} +14 -14
  22. package/{color-picker-widget-47dc633c.js → color-picker-widget-566fd39d.js} +15 -15
  23. package/{cont-cell-widget-818112f3.js → cont-cell-widget-d72f3876.js} +1 -1
  24. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-579adfce.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-c5e0cd6f.js} +5 -5
  25. package/{cont-widget-7693d2cd.js → cont-widget-f714580c.js} +5 -5
  26. package/{content-wrapper-5f9f15e8.js → content-wrapper-f3d02d9a.js} +7 -7
  27. package/{content-wrapper.vue_vue_type_script_setup_true_lang-84e61442.js → content-wrapper.vue_vue_type_script_setup_true_lang-87037f81.js} +3 -3
  28. package/{countdown-widget-ad55f2f6.js → countdown-widget-79d5602f.js} +16 -16
  29. package/{date-picker-range-widget-12920f34.js → date-picker-range-widget-55442b90.js} +15 -15
  30. package/{date-picker-widget-a8747d10.js → date-picker-widget-68ebeed1.js} +15 -15
  31. package/default-slot-widget-9d032cd7.js +26 -0
  32. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fcfd15ff.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-1916e14e.js} +7 -7
  33. package/{descriptions-widget-c06a4f5b.js → descriptions-widget-8bbf3fe4.js} +14 -14
  34. package/{dialog-9a702251.js → dialog-4850d56d.js} +2 -2
  35. package/{dialog-widget-d4d6a32b.js → dialog-widget-a102746c.js} +15 -15
  36. package/{divider-widget-68a85ac8.js → divider-widget-8f32b5c8.js} +16 -16
  37. package/{drag-wrapper-f7fef894.js → drag-wrapper-7f33bc1f.js} +6 -6
  38. package/{drawer-widget-d6bedbb5.js → drawer-widget-7179f6ac.js} +15 -15
  39. package/{dropdown-widget-5d5e9954.js → dropdown-widget-9af29a79.js} +14 -14
  40. package/{empty-widget-063e3cc6.js → empty-widget-abb639f8.js} +16 -16
  41. package/{enum-type-9ba3f57a.js → enum-type-821969ff.js} +1 -1
  42. package/{enum-type-480f80f2.js → enum-type-e8284724.js} +22 -24
  43. package/{expression-1bc46129.js → expression-210ee179.js} +2 -2
  44. package/feedback-widget-3cb9606d.js +26 -0
  45. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-dd6e4599.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-595e3ba0.js} +6 -6
  46. package/{fieldobj-1526eb3d.js → fieldobj-b2759018.js} +1 -1
  47. package/{file-upload-widget-43b09ea8.js → file-upload-widget-b690cd91.js} +20 -20
  48. package/{form-item-wrapper-20899e2c.js → form-item-wrapper-2524db0d.js} +11 -11
  49. package/form-widget-dbebb033.js +246 -0
  50. package/{grid-col-widget-43256c63.js → grid-col-widget-9e005cc9.js} +1 -1
  51. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-983299c0.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-b482e0c2.js} +5 -5
  52. package/{grid-widget-0d94dc6d.js → grid-widget-a3780af5.js} +5 -5
  53. package/{hcard-widget-edcb313a.js → hcard-widget-e493c118.js} +14 -14
  54. package/{html-text-widget-c8077476.js → html-text-widget-18b2af8d.js} +14 -14
  55. package/{icon-widget-b8896d56.js → icon-widget-63c44455.js} +13 -13
  56. package/{iframe-widget-67a3320a.js → iframe-widget-fd3bba9c.js} +13 -13
  57. package/{image-widget-db901afc.js → image-widget-9944f0a5.js} +13 -13
  58. package/{index-ff60401f.js → index-b617b265.js} +5 -5
  59. package/{index-f962cb75.js → index-c570d26f.js} +1 -1
  60. package/{index-61f61d3e.js → index-e576cce8.js} +4 -4
  61. package/{input-number-widget-82840b0e.js → input-number-widget-027bdb9e.js} +15 -15
  62. package/{input-tag-widget-4f7b7308.js → input-tag-widget-c6b8b158.js} +16 -16
  63. package/{input-widget-71b57d83.js → input-widget-a6433b71.js} +16 -16
  64. package/{label-wrapper-c7abbaba.js → label-wrapper-c0cb72b0.js} +5 -5
  65. package/{label-wrapper.vue_vue_type_style_index_0_lang-7cb988e0.js → label-wrapper.vue_vue_type_style_index_0_lang-ef4af017.js} +3 -3
  66. package/{link-widget-4740fb77.js → link-widget-372bd999.js} +16 -16
  67. package/{ltable-col-widget-8145481c.js → ltable-col-widget-7ca0c1cd.js} +1 -1
  68. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-f8f0598d.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-da4a8ece.js} +9 -9
  69. package/{ltable-widget-52600184.js → ltable-widget-050677d4.js} +5 -5
  70. package/{mention-widget-20c1bfa0.js → mention-widget-b15ec401.js} +16 -16
  71. package/{menu-widget-6c746377.js → menu-widget-c4c99c32.js} +14 -14
  72. package/{model-widget-5d6b1a40.js → model-widget-dc7e00ff.js} +13 -13
  73. package/{multirow-4f8d00b0.js → multirow-dadb4dc0.js} +6 -6
  74. package/{multirow-widget-1b6d56b5.js → multirow-widget-0acc88b0.js} +15 -15
  75. package/package.json +1 -1
  76. package/{pagination-widget-ec463af4.js → pagination-widget-024a2f69.js} +13 -13
  77. package/{picture-upload-widget-019f4354.js → picture-upload-widget-3ba244d3.js} +16 -16
  78. package/{progress-widget-a66cd336.js → progress-widget-cfcba53a.js} +14 -14
  79. package/{qrcode-widget-b672fde2.js → qrcode-widget-cc67162c.js} +13 -13
  80. package/{radio-widget-f5136e83.js → radio-widget-3cc7c23b.js} +15 -15
  81. package/{range-widget-963cb048.js → range-widget-96d13352.js} +16 -16
  82. package/{rate-widget-6ad60658.js → rate-widget-d07b51bb.js} +15 -15
  83. package/render.es.js +32 -32
  84. package/render.umd.js +353 -353
  85. package/{result-widget-45e036c4.js → result-widget-ba82e29a.js} +14 -14
  86. package/{rich-editor-widget-3e790b12.js → rich-editor-widget-97263f1e.js} +15 -15
  87. package/{router-widget-1556f0c2.js → router-widget-7f6d7f57.js} +13 -13
  88. package/{segmented-widget-d6e0dba8.js → segmented-widget-5ef9729a.js} +13 -13
  89. package/{select-widget-ccaef0a9.js → select-widget-aa7cab21.js} +15 -15
  90. package/{sfc-ad745fa3.js → sfc-020642e8.js} +8 -8
  91. package/{sfcview-0cfe10c9.js → sfcview-09d24177.js} +7 -7
  92. package/{share-field-8ef5fc44.js → share-field-62b1b3e5.js} +255 -259
  93. package/{share-file-87b44cf9.js → share-file-f8ca843d.js} +6 -6
  94. package/{skeleton-widget-aac5bf31.js → skeleton-widget-53db4ad6.js} +16 -16
  95. package/{skeletonItem-widget-1bbfd9de.js → skeletonItem-widget-921e024a.js} +13 -13
  96. package/{slider-widget-f3823f7b.js → slider-widget-1b262112.js} +15 -15
  97. package/{slot-ff06c111.js → slot-dd69bd09.js} +3 -3
  98. package/{space-widget-c4b03fba.js → space-widget-f1f09f35.js} +14 -14
  99. package/{splitter-widget-8effaf84.js → splitter-widget-8a660482.js} +14 -14
  100. package/{static-text-widget-68c3d44a.js → static-text-widget-3d388fb1.js} +14 -14
  101. package/{statistic-widget-95a82bc0.js → statistic-widget-5a8b6be7.js} +16 -16
  102. package/{steps-widget-ea910826.js → steps-widget-2b99adb6.js} +13 -13
  103. package/{subMenu-widget-f382b26e.js → subMenu-widget-cd7ceaed.js} +8 -8
  104. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-e9d56356.js → subMenu-widget.vue_vue_type_script_setup_true_lang-0939664c.js} +3 -3
  105. package/{switch-widget-e89498a2.js → switch-widget-1947cb6c.js} +15 -15
  106. package/{tab-pane-widget-37180498.js → tab-pane-widget-d7aeffe0.js} +1 -1
  107. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-200b67a5.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-307cfa10.js} +5 -5
  108. package/table-col-widget-9ab435b7.js +22 -0
  109. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-90d518f2.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-70ceb1f5.js} +7 -7
  110. package/{table-widget-16b7770c.js → table-widget-508b7b76.js} +135 -135
  111. package/{tabs-widget-0e9b3d63.js → tabs-widget-c84f7330.js} +7 -7
  112. package/{tag-widget-aa9f0614.js → tag-widget-bfe7b09b.js} +16 -16
  113. package/{text-widget-5a5c3d4e.js → text-widget-e378fa88.js} +16 -16
  114. package/{textarea-widget-a369a86f.js → textarea-widget-e03afd59.js} +15 -15
  115. package/{time-picker-range-widget-8a105d55.js → time-picker-range-widget-8e315f7c.js} +15 -15
  116. package/{time-picker-widget-f19d445e.js → time-picker-widget-fdaf33ad.js} +15 -15
  117. package/{time-select-widget-251b15de.js → time-select-widget-2c32201e.js} +15 -15
  118. package/{timeline-widget-08d8e077.js → timeline-widget-a9b2af03.js} +14 -14
  119. package/{tmpl-widget-6a8ef0d0.js → tmpl-widget-cc0683d6.js} +14 -14
  120. package/{tooltip-widget-154d08ae.js → tooltip-widget-880339c9.js} +14 -14
  121. package/{tour-widget-9372a696.js → tour-widget-a234def5.js} +13 -13
  122. package/{transfer-widget-82a613f1.js → transfer-widget-f8aa0b8b.js} +16 -16
  123. package/{tree-select-widget-41173f3b.js → tree-select-widget-a93027d4.js} +15 -15
  124. package/{tree-widget-b357ea07.js → tree-widget-5d5af379.js} +13 -13
  125. package/{uuid-55da46f2.js → uuid-49619f7f.js} +1 -1
  126. package/{verifycode-widget-eef3101f.js → verifycode-widget-85c71346.js} +13 -13
  127. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-febe598e.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-385bb28d.js} +7 -7
  128. package/{wrapper-widget-a54a0264.js → wrapper-widget-6dfef639.js} +6 -6
  129. package/default-slot-widget-0fafbed0.js +0 -26
  130. package/feedback-widget-c757dd9e.js +0 -26
  131. package/form-widget-8ed210ec.js +0 -244
  132. package/table-col-widget-89d16c79.js +0 -22
@@ -1,16 +1,16 @@
1
- var Dn = Object.defineProperty;
2
- var Ln = (n, u, p) => u in n ? Dn(n, u, { enumerable: !0, configurable: !0, writable: !0, value: p }) : n[u] = p;
1
+ var Bn = Object.defineProperty;
2
+ var Ln = (n, u, p) => u in n ? Bn(n, u, { enumerable: !0, configurable: !0, writable: !0, value: p }) : n[u] = p;
3
3
  var at = (n, u, p) => (Ln(n, typeof u != "symbol" ? u + "" : u, p), p);
4
- import { onMounted as lt, nextTick as mt, onActivated as jn, onErrorCaptured as $n, isRef as dt, watch as ne, ref as ie, reactive as An, computed as pe, onBeforeUnmount as kn, inject as Hn, toRefs as Gn } from "vue";
5
- import { m as oe, a as Le, c as $e, t as vt, i as gt, o as Y, G as Ee, g as re, w as Kn, K as qn, h as fe, f as ht, k as Un, A as Oe, n as Jn, H as te, d as Ve, C as Ce } from "./enum-type-480f80f2.js";
6
- import { p as ct, b as pt, g as zn, f as ye, a as Qn } from "./multirow-4f8d00b0.js";
4
+ import { onMounted as lt, nextTick as mt, onActivated as jn, onErrorCaptured as $n, isRef as dt, watch as ne, ref as ie, reactive as An, computed as he, onBeforeUnmount as kn, inject as Hn, toRefs as Gn } from "vue";
5
+ import { m as oe, a as Be, c as je, t as vt, i as gt, o as Y, G as be, g as re, w as Kn, K as qn, h as Ee, f as ht, k as Un, A as pe, n as Jn, H as te, d as Oe, C as Ve } from "./enum-type-e8284724.js";
6
+ import { p as ct, b as pt, g as zn, f as Ce, a as Qn } from "./multirow-dadb4dc0.js";
7
7
  import { u as Ot } from "./icon-1fc5d00d.js";
8
- import { f as $, j as be, k as Xn, l as Yn, b as W, m as it, a as Zn, d as wn } from "./expression-1bc46129.js";
9
- import { b as Vt, d as je, B as J, P as Ct, c as yt, e as er, a as ft } from "./baseImp-c8f57285.js";
10
- import { F as tr, b as nr, a as rr } from "./slot-ff06c111.js";
11
- import { f as or, d as sr, h as Ne, e as ur } from "./index-ff60401f.js";
12
- import { W as A, c as z, d as ar } from "./enum-type-9ba3f57a.js";
13
- import { m as cr } from "./uuid-55da46f2.js";
8
+ import { f as $, j as ye, k as Xn, l as Yn, b as W, m as it, a as Zn, d as wn } from "./expression-210ee179.js";
9
+ import { b as Vt, d as Le, B as J, P as Ct, c as yt, e as er, a as ft } from "./baseImp-c89f684e.js";
10
+ import { F as tr, b as nr, a as rr } from "./slot-dd69bd09.js";
11
+ import { f as or, d as sr, h as Ie, e as ur } from "./index-b617b265.js";
12
+ import { W as A, c as z, d as ar } from "./enum-type-821969ff.js";
13
+ import { m as cr } from "./uuid-49619f7f.js";
14
14
  function ir() {
15
15
  return {
16
16
  onMountedOrActivated: (p) => {
@@ -29,21 +29,21 @@ function ir() {
29
29
  };
30
30
  }
31
31
  function fr(n, u) {
32
- const { getWidgetOption: p, getWidgetOptionByPropValue: P } = Vt(n, u), I = (a) => p(a);
32
+ const { getWidgetOption: p, getWidgetOptionByPropValue: P } = Vt(n, u), D = (a) => p(a);
33
33
  return {
34
- existFunc: I,
34
+ existFunc: D,
35
35
  handleFunc: (a, T) => {
36
- if (Le(a)) {
37
- var N = I(String(a));
38
- return je(N, T);
36
+ if (Be(a)) {
37
+ var N = D(String(a));
38
+ return Le(N, T);
39
39
  } else {
40
- var N = P($e(a));
41
- return je(N, T);
40
+ var N = P(je(a));
41
+ return Le(N, T);
42
42
  }
43
43
  }
44
44
  };
45
45
  }
46
- class Ae {
46
+ class $e {
47
47
  constructor(u) {
48
48
  at(this, "refList", {});
49
49
  u && (this.refList = u);
@@ -64,10 +64,10 @@ class Ae {
64
64
  }
65
65
  function Re(n) {
66
66
  n || (n = {});
67
- const u = new Ae(n), { instance: p } = Ot(), P = (d) => u.getWidgetRef(d == null ? void 0 : d.toString()), I = (d, V, E) => {
68
- var y = [], x = [];
67
+ const u = new $e(n), { instance: p } = Ot(), P = (d) => u.getWidgetRef(d == null ? void 0 : d.toString()), D = (d, V, E) => {
68
+ var C = [], x = [];
69
69
  let r = P(d);
70
- return r && y.push(r), y == null || y.forEach((m) => {
70
+ return r && C.push(r), C == null || C.forEach((m) => {
71
71
  var o = a(m, V, E);
72
72
  o && x.push(o);
73
73
  }), x;
@@ -75,38 +75,38 @@ function Re(n) {
75
75
  var E;
76
76
  return (E = d == null ? void 0 : d.exposed) == null ? void 0 : E[V.toString()];
77
77
  }, a = (d, V, E) => {
78
- var y = F(d, V);
79
- if (y) {
78
+ var C = F(d, V);
79
+ if (C) {
80
80
  var x = [];
81
- return E && (x = Object.values(E)), y(...x);
81
+ return E && (x = Object.values(E)), C(...x);
82
82
  }
83
83
  }, T = (d, V, E) => {
84
- var y = [];
84
+ var C = [];
85
85
  if (d) {
86
- var x = $e(vt(d, !0));
86
+ var x = je(vt(d, !0));
87
87
  x == null || x.forEach((r) => {
88
- var m = I(r, V, E);
89
- gt(m) || y.push(m);
88
+ var m = D(r, V, E);
89
+ gt(m) || C.push(m);
90
90
  });
91
91
  }
92
- return Array.isArray(d) ? y : y == null ? void 0 : y[0];
92
+ return Array.isArray(d) ? C : C == null ? void 0 : C[0];
93
93
  }, N = (d, V) => {
94
94
  let E = Y(n);
95
95
  T(E, d, V);
96
- }, G = (d, V) => {
97
- var o, v, i, f;
98
- const E = (i = (v = (o = V || p) == null ? void 0 : o.exposed) == null ? void 0 : v.getField) == null ? void 0 : i.call(v);
99
- var y = ct(E == null ? void 0 : E.id);
96
+ }, K = (d, V) => {
97
+ var o, v, c, f;
98
+ const E = (c = (v = (o = V || p) == null ? void 0 : o.exposed) == null ? void 0 : v.getField) == null ? void 0 : c.call(v);
99
+ var C = ct(E == null ? void 0 : E.id);
100
100
  const x = (l) => (l == null ? void 0 : l.id) === d, r = (l) => {
101
- var b;
102
- var R = ct(l == null ? void 0 : l.id);
103
- return (y == null ? void 0 : y.groupName) === (R == null ? void 0 : R.groupName) && ((R == null ? void 0 : R.id) === d || ((b = l == null ? void 0 : l._source) == null ? void 0 : b.id) === d);
101
+ var I;
102
+ var b = ct(l == null ? void 0 : l.id);
103
+ return (C == null ? void 0 : C.groupName) === (b == null ? void 0 : b.groupName) && ((b == null ? void 0 : b.id) === d || ((I = l == null ? void 0 : l._source) == null ? void 0 : I.id) === d);
104
104
  }, m = (f = Y(u.refList)) == null ? void 0 : f.find((l) => {
105
- var b, B, j;
105
+ var I, R, q;
106
106
  try {
107
- const K = (j = (B = (b = u.refList[l]) == null ? void 0 : b.exposed) == null ? void 0 : B.getField) == null ? void 0 : j.call(B);
108
- var R = x(K);
109
- return !R && (y != null && y.groupName) && (R = r(K)), R;
107
+ const j = (q = (R = (I = u.refList[l]) == null ? void 0 : I.exposed) == null ? void 0 : R.getField) == null ? void 0 : q.call(R);
108
+ var b = x(j);
109
+ return !b && (C != null && C.groupName) && (b = r(j)), b;
110
110
  } catch {
111
111
  return !1;
112
112
  }
@@ -125,13 +125,13 @@ function Re(n) {
125
125
  }
126
126
  };
127
127
  return {
128
- findWidgetAndCall: I,
128
+ findWidgetAndCall: D,
129
129
  getWidgetRef: P,
130
130
  callWidgetsExposed: T,
131
131
  callRefFunc: a,
132
132
  existRefFunc: F,
133
133
  setAllRefList: N,
134
- findRefById: G,
134
+ findRefById: K,
135
135
  findRefByName: P,
136
136
  changeRegisterToRefList: (d, V) => {
137
137
  d && (g(d), h(V));
@@ -141,94 +141,94 @@ function Re(n) {
141
141
  };
142
142
  }
143
143
  const lr = (n, u, p, P) => {
144
- const I = new Ae(n), { callRefFunc: F } = Re(n), { parseGroupId: a } = pt();
144
+ const D = new $e(n), { callRefFunc: F } = Re(n), { parseGroupId: a } = pt();
145
145
  if (!n || n.length <= 0 || !u)
146
146
  return;
147
147
  const T = () => {
148
148
  var r, m;
149
149
  return (m = (r = Y(n)) == null ? void 0 : r.map((o) => F(n == null ? void 0 : n[o], A.getField))) == null ? void 0 : m.filter((o) => !!o);
150
150
  }, N = (r) => {
151
- var i;
152
- const m = (i = T()) == null ? void 0 : i.find((f) => (f == null ? void 0 : f.id) === r);
151
+ var c;
152
+ const m = (c = T()) == null ? void 0 : c.find((f) => (f == null ? void 0 : f.id) === r);
153
153
  if (!m)
154
154
  return;
155
- const o = J.getName(m), v = I.getWidgetRef(o);
155
+ const o = J.getName(m), v = D.getWidgetRef(o);
156
156
  if (v)
157
157
  return { ref: v, name: o, id: m == null ? void 0 : m.id };
158
- }, G = (r, m) => {
158
+ }, K = (r, m) => {
159
159
  if (!re(m))
160
160
  return;
161
- const o = J.getName(r), v = I.getWidgetRef(o);
161
+ const o = J.getName(r), v = D.getWidgetRef(o);
162
162
  if (v) {
163
- const i = J.getOptions(r, $.defaultValue, !1, !Ee(p == null ? void 0 : p.designState), { ...p, formData: m });
164
- if (re(i))
165
- if (dt(i)) {
166
- let f = ne(() => i.value, (l) => {
163
+ const c = J.getOptions(r, $.defaultValue, !1, !be(p == null ? void 0 : p.designState), { ...p, formData: m });
164
+ if (re(c))
165
+ if (dt(c)) {
166
+ let f = ne(() => c.value, (l) => {
167
167
  f == null || f(), F(v, A.setValue, { newValue: l });
168
168
  });
169
169
  } else
170
- F(v, A.setValue, { newValue: i });
170
+ F(v, A.setValue, { newValue: c });
171
171
  }
172
172
  }, g = (r, m) => {
173
173
  const o = N(r);
174
174
  if (!o)
175
175
  return;
176
- const v = o.name, i = F(o.ref, A.getValue), f = F(o.ref, A.getCheckedItems), l = {};
177
- return l[v] = i, i !== void 0 && !Un(f) && !m && (l[`${v}${be.checkedOptions}`] = f), l;
176
+ const v = o.name, c = F(o.ref, A.getValue), f = F(o.ref, A.getCheckedItems), l = {};
177
+ return l[v] = c, c !== void 0 && !Un(f) && !m && (l[`${v}${ye.checkedOptions}`] = f), l;
178
178
  }, h = (r, m) => {
179
179
  var v;
180
180
  var o = [];
181
- if ((v = T()) == null || v.forEach((i) => {
182
- if (!i)
181
+ if ((v = T()) == null || v.forEach((c) => {
182
+ if (!c)
183
183
  return;
184
- const f = i == null ? void 0 : i.id;
184
+ const f = c == null ? void 0 : c.id;
185
185
  var l = f === r;
186
- const R = a(f), b = (R == null ? void 0 : R.id) === r, B = (R == null ? void 0 : R.groupName) === m;
187
- return l || b && (B || !m) ? (o.push(i), !0) : !1;
186
+ const b = a(f), I = (b == null ? void 0 : b.id) === r, R = (b == null ? void 0 : b.groupName) === m;
187
+ return l || I && (R || !m) ? (o.push(c), !0) : !1;
188
188
  }), !(!o || o.length <= 0))
189
- return o == null ? void 0 : o.map((i) => {
189
+ return o == null ? void 0 : o.map((c) => {
190
190
  var f;
191
191
  return {
192
- id: i == null ? void 0 : i.id,
193
- name: (f = i == null ? void 0 : i._source) == null ? void 0 : f.name,
194
- source: i == null ? void 0 : i._source
192
+ id: c == null ? void 0 : c.id,
193
+ name: (f = c == null ? void 0 : c._source) == null ? void 0 : f.name,
194
+ source: c == null ? void 0 : c._source
195
195
  };
196
196
  });
197
197
  }, S = (r, m) => {
198
198
  var o = [];
199
199
  if (!r || (r == null ? void 0 : r.length) <= 0)
200
200
  return o;
201
- const v = a(u), i = v == null ? void 0 : v.groupName;
202
- return m === ye.Inner2Outer ? r == null || r.forEach((f) => {
201
+ const v = a(u), c = v == null ? void 0 : v.groupName;
202
+ return m === Ce.Inner2Outer ? r == null || r.forEach((f) => {
203
203
  var l = h(f);
204
204
  l && (l == null ? void 0 : l.length) > 0 && o.push(...l);
205
205
  }) : r == null || r.forEach((f) => {
206
- var l = h(f, i);
206
+ var l = h(f, c);
207
207
  l && (l == null ? void 0 : l.length) > 0 && o.push(...l);
208
208
  }), o;
209
209
  }, d = (r, m) => {
210
210
  let o = {};
211
211
  if (!r || r.length <= 0)
212
212
  return o;
213
- if (m === ye.Inner2Outer) {
214
- var v = Kn(r, (i) => {
213
+ if (m === Ce.Inner2Outer) {
214
+ var v = Kn(r, (c) => {
215
215
  var f;
216
- return (f = i.source) == null ? void 0 : f.id;
216
+ return (f = c.source) == null ? void 0 : f.id;
217
217
  });
218
- v == null || v.forEach((i) => {
219
- var R;
220
- const f = i.group[0], l = [];
221
- (R = i == null ? void 0 : i.children) == null || R.forEach((b) => {
222
- const B = g(b == null ? void 0 : b.id, !0);
223
- if (re(B)) {
224
- var j = Object.values($e(B));
225
- l.push(...j);
218
+ v == null || v.forEach((c) => {
219
+ var b;
220
+ const f = c.group[0], l = [];
221
+ (b = c == null ? void 0 : c.children) == null || b.forEach((I) => {
222
+ const R = g(I == null ? void 0 : I.id, !0);
223
+ if (re(R)) {
224
+ var q = Object.values(je(R));
225
+ l.push(...q);
226
226
  }
227
227
  }), f && (o = Object.assign(o, { [f]: l }));
228
228
  });
229
229
  } else
230
- r.forEach((i) => {
231
- const f = g(i == null ? void 0 : i.id);
230
+ r.forEach((c) => {
231
+ const f = g(c == null ? void 0 : c.id);
232
232
  re(f) && (o = Object.assign(o, f));
233
233
  });
234
234
  return o;
@@ -239,66 +239,66 @@ const lr = (n, u, p, P) => {
239
239
  o != null && o.source && (o != null && o.id) && (m[(v = o == null ? void 0 : o.source) == null ? void 0 : v.id] = o == null ? void 0 : o.id);
240
240
  }), m;
241
241
  }, E = (r, m, o) => {
242
- if (o === ye.Inner2Inner) {
243
- const l = qn(m), { updateFomula: R } = yt(), { buildVariable: b } = er();
242
+ if (o === Ce.Inner2Inner) {
243
+ const l = qn(m), { updateFomula: b } = yt(), { buildVariable: I } = er();
244
244
  var v = V(r);
245
245
  if (re(v)) {
246
- var i = J.getOrgOption(m, $.defaultValue), f = R(fe(i), v, (B, j) => {
247
- var K = v[B];
248
- return gt(K) ? b(B) : b(K);
246
+ var c = J.getOrgOption(m, $.defaultValue), f = b(Ee(c), v, (R, q) => {
247
+ var j = v[R];
248
+ return gt(j) ? I(R) : I(j);
249
249
  });
250
250
  return J.setOrgOption(l, $.defaultValue, ht(f)), l;
251
251
  }
252
252
  }
253
253
  return m;
254
- }, y = (r) => {
254
+ }, C = (r) => {
255
255
  const m = r == null ? void 0 : r.id;
256
256
  var o = J.getOrgOption(r, $.defaultValue);
257
257
  if (o == null)
258
258
  return;
259
259
  const v = zn(u, m);
260
- if (v === ye.DiffInner)
260
+ if (v === Ce.DiffInner)
261
261
  return;
262
- var i = Ct.getFormulaRelatedField(o);
263
- if (!i || i.length <= 0)
262
+ var c = Ct.getFormulaRelatedField(o);
263
+ if (!c || c.length <= 0)
264
264
  return;
265
- var f = S(i, v);
266
- if (!(f != null && f.some((R) => R.id === u)))
265
+ var f = S(c, v);
266
+ if (!(f != null && f.some((b) => b.id === u)))
267
267
  return;
268
268
  const l = d(f, v);
269
- G(E(f, r, v), l);
269
+ K(E(f, r, v), l);
270
270
  };
271
271
  (() => {
272
272
  var r;
273
273
  (r = T()) == null || r.forEach((m) => {
274
- y(m);
274
+ C(m);
275
275
  });
276
276
  })();
277
- }, mr = (n, u, p, P, I) => {
277
+ }, mr = (n, u, p, P, D) => {
278
278
  var S;
279
- if (Ee(I) || !re(p))
279
+ if (be(D) || !re(p))
280
280
  return;
281
281
  const { parseGroupId: F } = pt();
282
282
  var a = F(u), T = a == null ? void 0 : a.groupName;
283
- const { callRefFunc: N } = Re(n), G = (d, V) => {
284
- var o, v, i;
285
- const E = (v = (o = Y(n)) == null ? void 0 : o.map((f) => N(n == null ? void 0 : n[f], A.getField))) == null ? void 0 : v.filter((f) => !!f), y = (i = or(E, (f) => {
283
+ const { callRefFunc: N } = Re(n), K = (d, V) => {
284
+ var o, v, c;
285
+ const E = (v = (o = Y(n)) == null ? void 0 : o.map((f) => N(n == null ? void 0 : n[f], A.getField))) == null ? void 0 : v.filter((f) => !!f), C = (c = or(E, (f) => {
286
286
  var l = F(f == null ? void 0 : f.id);
287
287
  return (!T || (l == null ? void 0 : l.groupName) === T) && (l == null ? void 0 : l.id) === d;
288
- })) == null ? void 0 : i[0];
289
- if (!y)
288
+ })) == null ? void 0 : c[0];
289
+ if (!C)
290
290
  return;
291
- const x = J.getName(y), m = new Ae(n).getWidgetRef(x);
291
+ const x = J.getName(C), m = new $e(n).getWidgetRef(x);
292
292
  m && (V == null || V(m));
293
293
  }, g = vt(P == null ? void 0 : P.newValue, !0), h = (S = Y(p)) == null ? void 0 : S.filter((d) => g == null ? void 0 : g.includes(d));
294
294
  !h || h.length <= 0 || h == null || h.forEach((d) => {
295
- var E, y;
295
+ var E, C;
296
296
  const V = (E = p == null ? void 0 : p[d]) == null ? void 0 : E.result;
297
- (y = Y(V)) == null || y.forEach((x) => {
297
+ (C = Y(V)) == null || C.forEach((x) => {
298
298
  var m;
299
299
  const r = V == null ? void 0 : V[x];
300
300
  (m = r == null ? void 0 : r.ids) == null || m.forEach((o) => {
301
- G(o, (v) => {
301
+ K(o, (v) => {
302
302
  N(v, r == null ? void 0 : r.event, r == null ? void 0 : r.args);
303
303
  });
304
304
  });
@@ -330,7 +330,7 @@ function dr() {
330
330
  }, P = (g) => {
331
331
  var h;
332
332
  return (h = n(g)) == null ? void 0 : h.selectionStart;
333
- }, I = (g) => {
333
+ }, D = (g) => {
334
334
  var h;
335
335
  return (h = n(g)) == null ? void 0 : h.selectionEnd;
336
336
  }, F = (g, h) => {
@@ -341,14 +341,14 @@ function dr() {
341
341
  };
342
342
  return {
343
343
  getSelectionStart: P,
344
- getSelectionEnd: I,
344
+ getSelectionEnd: D,
345
345
  setSelectionStart: F,
346
346
  blur: p,
347
347
  focus: u,
348
348
  setMousePos: a,
349
349
  getMousePos: (g) => P(g),
350
350
  insertOnMousePos: (g, h, S) => {
351
- const d = P(g), V = I(g), E = Xn(S, h, d, V);
351
+ const d = P(g), V = D(g), E = Xn(S, h, d, V);
352
352
  return mt(() => {
353
353
  a(g, d + (h == null ? void 0 : h.length));
354
354
  }), E;
@@ -356,58 +356,58 @@ function dr() {
356
356
  deleteOnMousePos: (g, h) => Yn(h, g)
357
357
  };
358
358
  }
359
- const Be = (n) => {
359
+ const vr = (n) => {
360
360
  var p;
361
361
  const { getFormulaFields: u } = yt();
362
- return ((p = u(fe(n))) == null ? void 0 : p.length) > 0;
362
+ return ((p = u(Ee(n))) == null ? void 0 : p.length) > 0;
363
363
  }, X = (n) => {
364
364
  const u = n.type;
365
365
  //![WidgetType.fileUpload, WidgetType.pictureUpload].includes(wtype) &&
366
366
  return n.formItemFlag || [z.form, z.dialog].includes(u);
367
- }, De = (n) => {
367
+ }, Ne = (n) => {
368
368
  const u = n.type;
369
369
  return [z.treeSelect, z.cascader, z.select, z.checkbox, z.radio].includes(u);
370
370
  };
371
- function Mr(n) {
372
- const u = n == null ? void 0 : n.designState, p = (n == null ? void 0 : n.created) != !1, P = n == null ? void 0 : n.exResetField, I = n == null ? void 0 : n.extInitFieldModel, F = n == null ? void 0 : n.exposedWholeInstance, a = n == null ? void 0 : n.widget, T = n == null ? void 0 : n.designer, N = T == null ? void 0 : T.pageConfig, G = ie(!1), { globalFormOptions: g, formRefList: h, globalRefList: S, globalConfig: d, globalFormName: V, globalDataModel: E, rowScope: y } = tr.globalInject();
371
+ function xr(n) {
372
+ const u = n == null ? void 0 : n.designState, p = (n == null ? void 0 : n.created) != !1, P = n == null ? void 0 : n.exResetField, D = n == null ? void 0 : n.extInitFieldModel, F = n == null ? void 0 : n.exposedWholeInstance, a = n == null ? void 0 : n.widget, T = n == null ? void 0 : n.designer, N = T == null ? void 0 : T.pageConfig, K = ie(!1), { globalFormOptions: g, formRefList: h, globalRefList: S, globalConfig: d, globalFormName: V, globalDataModel: E, rowScope: C } = tr.globalInject();
373
373
  let x = An(E || {});
374
- const r = Re(S), m = Re(h), { instance: o } = Ot(), v = () => te(x), i = () => y, f = () => a, l = {
374
+ const r = Re(S), m = Re(h), { instance: o } = Ot(), v = vr(a), c = () => te(x), f = () => C, l = () => a, b = {
375
375
  designState: u,
376
376
  pageConfig: N,
377
- formData: u || !Be(a) ? {} : x,
377
+ formData: u || !v ? {} : x,
378
378
  globalConfig: d
379
- }, R = {
379
+ }, I = {
380
380
  instance: o,
381
- ...l
382
- }, b = ft(R), B = {
381
+ ...b
382
+ }, R = ft(I), q = {
383
383
  exposed: {
384
- getFormData: !u && Be(a) ? v : null,
384
+ getFormData: !u && v ? c : null,
385
385
  findRefByName: r.getWidgetRef,
386
- fieldEditor: () => q.value,
387
- getField: f,
388
- getRowScope: i,
386
+ fieldEditor: () => G.value,
387
+ getField: l,
388
+ getRowScope: f,
389
389
  /**
390
390
  * 此处暴露schemadata方法
391
391
  * 为实现全局变量中能访问到全局数据源ctx.instance.exposed.getOneSchemaData等数据源求值方法
392
392
  */
393
- getOneSchemaData: b == null ? void 0 : b.getOneSchemaData,
394
- getSchemaDataObject: b == null ? void 0 : b.getSchemaDataObject,
395
- getSchemaDatas: b == null ? void 0 : b.getSchemaDatas,
396
- getGlobalParams: b == null ? void 0 : b.getGlobalParams
393
+ getOneSchemaData: R == null ? void 0 : R.getOneSchemaData,
394
+ getSchemaDataObject: R == null ? void 0 : R.getSchemaDataObject,
395
+ getSchemaDatas: R == null ? void 0 : R.getSchemaDatas,
396
+ getGlobalParams: R == null ? void 0 : R.getGlobalParams
397
397
  }
398
398
  }, j = {
399
- instance: F ? o : B,
400
- ...l
401
- }, { on$: K, dispatch: Me, emit$: ke } = Qn(), { onCompErrorCaptured: Et } = ir(), { existFunc: Rt } = fr({ options: a == null ? void 0 : a.options }, j), { isIdClass: Mt, getIdByIdClass: xt } = sr(a), { getOneSchemaData: _t, getSchemaDataObject: Pt, getSchemaDatas: St, getGlobalParams: Wt } = ft(j), Z = dr(), Tt = (n == null ? void 0 : n.shareProp) || { s_attr: !0, s_extendAttr: !0, s_events: !0, s_slots: !0, s_fieldName: !0, s_optionItems: !0 }, { attrs: w, extendAttrs: xe, events: k, slots: He, rules: Ge, fieldName: M, buildRules: Ft, clearRules: It, disableChangeValidate: Nt, enableChangeValidate: Bt, optionItems: le, refreshOptionItems: Dt, filterOptionItems: Lt, getCheckedOptionText: jt, getCheckedOptionValues: $t, getCheckedOptionLabels: At, getCheckedOptionItems: kt, activeOptionItems: Ht, activeOptionItem: Gt, activeOptionItemIndex: Kt, setOptionItems: Ke, isOptionWidget: qt, setWidgetOption: se, getWidgetOption: me, getWidgetOptionByPropValue: Ut, setFieldEnable: Jt, hasFieldOptions: zt, getFieldOptions: ue, setFieldOptions: Qt, computedDefaultValue: de, hasDefaultValue: ve, singleOption: Xt, watchOption: qe, addCssClass: Yt, removeCssClass: Zt } = Vt(a, j, Tt, o, Be(a) ? G : void 0), Ue = pe(() => {
399
+ instance: F ? o : q,
400
+ ...b
401
+ }, { on$: Ae, dispatch: Me, emit$: ke } = Qn(), { onCompErrorCaptured: Et } = ir(), { existFunc: Rt } = fr({ options: a == null ? void 0 : a.options }, j), { isIdClass: Mt, getIdByIdClass: xt } = sr(a), { getOneSchemaData: _t, getSchemaDataObject: Pt, getSchemaDatas: St, getGlobalParams: Wt } = ft(j), Z = dr(), Ft = (n == null ? void 0 : n.shareProp) || { s_attr: !0, s_extendAttr: !0, s_events: !0, s_slots: !0, s_fieldName: !0, s_optionItems: !0 }, { attrs: w, extendAttrs: xe, events: k, slots: He, rules: Ge, fieldName: M, buildRules: Tt, clearRules: Dt, disableChangeValidate: It, enableChangeValidate: Nt, optionItems: fe, refreshOptionItems: Bt, filterOptionItems: Lt, getCheckedOptionText: jt, getCheckedOptionValues: $t, getCheckedOptionLabels: At, getCheckedOptionItems: kt, activeOptionItems: Ht, activeOptionItem: Gt, activeOptionItemIndex: Kt, setOptionItems: Ke, isOptionWidget: qt, setWidgetOption: se, getWidgetOption: le, getWidgetOptionByPropValue: Ut, setFieldEnable: Jt, hasFieldOptions: zt, getFieldOptions: ue, setFieldOptions: Qt, computedDefaultValue: me, hasDefaultValue: de, singleOption: Xt, watchOption: qe, addCssClass: Yt, removeCssClass: Zt } = Vt(a, j, Ft, o), Ue = he(() => {
402
402
  var O;
403
403
  if (![z.wrapper].includes(a.type) && a.category == ar.container)
404
404
  return w.value;
405
405
  var e = Je(W.disabled, w.value), t = Je(W.readonly, w.value);
406
- if (Oe(w.value, W.disabled) && !Oe(w.value, W.readonly)) {
406
+ if (pe(w.value, W.disabled) && !pe(w.value, W.readonly)) {
407
407
  var s = (e == null ? void 0 : e.disabled) === !0;
408
408
  if (!s) {
409
- var c = (O = Ee(g)) == null ? void 0 : O[W.readonly], C = c === !0;
410
- e[W.disabled] = C;
409
+ var i = (O = be(g)) == null ? void 0 : O[W.readonly], y = i === !0;
410
+ e[W.disabled] = y;
411
411
  }
412
412
  }
413
413
  return {
@@ -417,16 +417,16 @@ function Mr(n) {
417
417
  };
418
418
  }), Je = (e, t) => {
419
419
  var s;
420
- return Oe(t, e) ? {
421
- [e]: ((s = Ee(g)) == null ? void 0 : s[e]) || (t == null ? void 0 : t[e])
420
+ return pe(t, e) ? {
421
+ [e]: ((s = be(g)) == null ? void 0 : s[e]) || (t == null ? void 0 : t[e])
422
422
  } : {};
423
423
  };
424
424
  let _e = null, _ = ie();
425
- const q = ie(), wt = () => M.value, ze = () => `${a == null ? void 0 : a.id}-${cr()}`, Pe = ie(ze()), Qe = () => {
425
+ const G = ie(), wt = () => M.value, ze = () => `${a == null ? void 0 : a.id}-${cr()}`, Pe = ie(ze()), Qe = () => {
426
426
  Pe.value = ze();
427
- }, en = pe({
427
+ }, en = he({
428
428
  get: () => {
429
- if (Le(_.value)) {
429
+ if (Be(_.value)) {
430
430
  var e = Number(_.value);
431
431
  return isNaN(e) ? void 0 : (_.value = e, e);
432
432
  }
@@ -435,9 +435,9 @@ function Mr(n) {
435
435
  set: (e) => {
436
436
  _.value = e;
437
437
  }
438
- }), tn = pe({
438
+ }), tn = he({
439
439
  get: () => {
440
- if (Le(_.value)) {
440
+ if (Be(_.value)) {
441
441
  var e = ht(_.value);
442
442
  Jn(e) && (_.value = e);
443
443
  }
@@ -447,55 +447,55 @@ function Mr(n) {
447
447
  _.value = e;
448
448
  }
449
449
  }), nn = (e) => {
450
- var s, c;
451
- var t = (c = (s = r.getWidgetRef(M.value)) == null ? void 0 : s.exposed) == null ? void 0 : c.loadOptionItems;
450
+ var s, i;
451
+ var t = (i = (s = r.getWidgetRef(M.value)) == null ? void 0 : s.exposed) == null ? void 0 : i.loadOptionItems;
452
452
  if (t !== void 0) {
453
453
  t == null || t(e);
454
454
  return;
455
455
  }
456
456
  Ke(e);
457
457
  }, Se = (e) => {
458
- var t, s, c;
459
- return (c = (s = (t = r.getWidgetRef(M.value)) == null ? void 0 : t.exposed) == null ? void 0 : s.getCheckedItems) == null ? void 0 : c.call(s, e);
458
+ var t, s, i;
459
+ return (i = (s = (t = r.getWidgetRef(M.value)) == null ? void 0 : t.exposed) == null ? void 0 : s.getCheckedItems) == null ? void 0 : i.call(s, e);
460
460
  }, Xe = (e) => {
461
- var t, s, c;
462
- return (c = (s = (t = r.getWidgetRef(M.value)) == null ? void 0 : t.exposed) == null ? void 0 : s.getCheckedLabels) == null ? void 0 : c.call(s, e);
461
+ var t, s, i;
462
+ return (i = (s = (t = r.getWidgetRef(M.value)) == null ? void 0 : t.exposed) == null ? void 0 : s.getCheckedLabels) == null ? void 0 : i.call(s, e);
463
463
  }, rn = (e) => {
464
- var t, s, c;
465
- return (c = (s = (t = r.getWidgetRef(M.value)) == null ? void 0 : t.exposed) == null ? void 0 : s.getCheckedText) == null ? void 0 : c.call(s, e);
464
+ var t, s, i;
465
+ return (i = (s = (t = r.getWidgetRef(M.value)) == null ? void 0 : t.exposed) == null ? void 0 : s.getCheckedText) == null ? void 0 : i.call(s, e);
466
466
  }, ee = (e) => {
467
467
  var O;
468
468
  if (!qt())
469
469
  return;
470
470
  const t = (O = xe.value) == null ? void 0 : O.withAttachData;
471
- if (!De(a) || t === !1)
471
+ if (!Ne(a) || t === !1)
472
472
  return;
473
- const s = Xe(e), c = rn(e);
474
- var C = te(Se(e));
475
- Ye(s, C, c);
473
+ const s = Xe(e), i = rn(e);
474
+ var y = te(Se(e));
475
+ Ye(s, y, i);
476
476
  }, Ye = (e, t, s) => {
477
- var c = {};
477
+ var i = {};
478
478
  if (e != null) {
479
- let C = ue("textName");
480
- [`${M.value}${be.optionText}`, C].forEach((O) => {
481
- O && c[O] === void 0 && (c[O] = e);
479
+ let y = ue("textName");
480
+ [`${M.value}${ye.optionText}`, y].forEach((O) => {
481
+ O && i[O] === void 0 && (i[O] = e);
482
482
  });
483
483
  }
484
484
  if (t != null) {
485
- let C = ue("optionName");
486
- [`${M.value}${be.checkedOptions}`, C].forEach((O) => {
487
- O && c[O] === void 0 && (c[O] = t);
485
+ let y = ue("optionName");
486
+ [`${M.value}${ye.checkedOptions}`, y].forEach((O) => {
487
+ O && i[O] === void 0 && (i[O] = t);
488
488
  });
489
489
  }
490
490
  if (s != null) {
491
- let C = ue("labelName");
492
- e !== s && [`${M.value}${be.optionLabelName}`].forEach((O) => {
493
- O && c[O] === void 0 && (c[O] = s);
494
- }), C && [C].forEach((O) => {
495
- O && c[O] === void 0 && (c[O] = s);
491
+ let y = ue("labelName");
492
+ e !== s && [`${M.value}${ye.optionLabelName}`].forEach((O) => {
493
+ O && i[O] === void 0 && (i[O] = s);
494
+ }), y && [y].forEach((O) => {
495
+ O && i[O] === void 0 && (i[O] = s);
496
496
  });
497
497
  }
498
- Ze(te(c));
498
+ Ze(te(i));
499
499
  }, Q = (e) => {
500
500
  if (X(a)) {
501
501
  ee(e);
@@ -503,7 +503,7 @@ function Mr(n) {
503
503
  Ze(t);
504
504
  }
505
505
  }, Ze = (e) => {
506
- Ve(x, e);
506
+ Oe(x, e);
507
507
  }, ae = (e) => {
508
508
  u || Q(e);
509
509
  }, we = (e) => ue(e), et = () => {
@@ -512,116 +512,116 @@ function Mr(n) {
512
512
  }, tt = (e) => {
513
513
  _e = te(e);
514
514
  }, on = (e) => {
515
- u || I && I(e);
515
+ u || D && D(e);
516
516
  }, sn = () => {
517
- ve() && Ce(de()).then((e) => {
517
+ de() && Ve(me()).then((e) => {
518
518
  Q(e), et();
519
519
  });
520
520
  };
521
521
  let nt = {};
522
- const ge = (e, t) => {
522
+ const ve = (e, t) => {
523
523
  if (!X(a))
524
524
  return;
525
525
  var s = { newValue: e, oldValue: t };
526
- if (fe(s) == fe(nt))
526
+ if (Ee(s) == Ee(nt))
527
527
  return;
528
528
  Object.assign(nt, s), ke($.fieldValueChanged, s);
529
- const c = { fieldId: a.id, fieldName: M.value, newValue: e, oldValue: t };
530
- Me(V, $.fieldChange, c, o);
531
- }, un = (e) => Rt(e), We = (e, t) => je(me(e), t), an = (e) => {
529
+ const i = { fieldId: a.id, fieldName: M.value, newValue: e, oldValue: t };
530
+ Me(V, $.fieldChange, i, o);
531
+ }, un = (e) => Rt(e), We = (e, t) => Le(le(e), t), an = (e) => {
532
532
  ae(e), rt(), We($.onInput, { value: e });
533
533
  }, cn = (e, t) => {
534
- var s, c, C;
535
- return (C = (c = (s = r.getWidgetRef(M.value)) == null ? void 0 : s.exposed) == null ? void 0 : c.handleBeforeChange) == null ? void 0 : C.call(c, e, t);
534
+ var s, i, y;
535
+ return (y = (i = (s = r.getWidgetRef(M.value)) == null ? void 0 : s.exposed) == null ? void 0 : i.handleBeforeChange) == null ? void 0 : y.call(i, e, t);
536
536
  }, fn = (...e) => {
537
- var C, O, D;
538
- let s = ((C = e == null ? void 0 : e[0]) == null ? void 0 : C.target) != null ? (D = (O = e == null ? void 0 : e[0]) == null ? void 0 : O.target) == null ? void 0 : D.value : e == null ? void 0 : e[0];
537
+ var y, O, B;
538
+ let s = ((y = e == null ? void 0 : e[0]) == null ? void 0 : y.target) != null ? (B = (O = e == null ? void 0 : e[0]) == null ? void 0 : O.target) == null ? void 0 : B.value : e == null ? void 0 : e[0];
539
539
  s = te(s);
540
- var c = cn(s, _e);
541
- c != null ? ae(c) : ae(s), ge(s, _e), rt(), tt(s);
540
+ var i = cn(s, _e);
541
+ i != null ? ae(i) : ae(s), ve(s, _e), rt(), tt(s);
542
542
  }, ln = (e = !0) => {
543
543
  se(W.readonly, e);
544
544
  }, mn = (e = !0) => {
545
545
  se(W.disabled, e);
546
546
  }, dn = (e = !0) => {
547
- se(W.hidden, e), e ? st() : he();
547
+ se(W.hidden, e), e ? st() : ge();
548
548
  }, vn = (e = !0) => {
549
- Jt(W.required, e), he();
549
+ Jt(W.required, e), ge();
550
550
  }, gn = (e) => {
551
551
  se(W.label, e);
552
- }, U = () => _ == null ? void 0 : _.value, Te = (e) => {
552
+ }, U = () => _ == null ? void 0 : _.value, Fe = (e) => {
553
553
  _.value = e, ee(e);
554
554
  }, ce = (e) => {
555
555
  let t = te(U());
556
- if (Te(e), !X(a))
556
+ if (Fe(e), !X(a))
557
557
  return;
558
558
  const s = U();
559
- t !== s && (ae(s), ge(e, t));
559
+ t !== s && (ae(s), ve(e, t));
560
560
  }, hn = () => {
561
- ve() ? Ce(de()).then((e) => {
561
+ de() ? Ve(me()).then((e) => {
562
562
  Q(e);
563
563
  }) : Q(null), P == null || P();
564
564
  }, pn = (e) => {
565
- const t = U(), s = Z.insertOnMousePos(q.value, e, t);
565
+ const t = U(), s = Z.insertOnMousePos(G.value, e, t);
566
566
  ce(s);
567
567
  }, On = (e) => {
568
568
  const t = U(), s = Z.deleteOnMousePos(e, t);
569
569
  ce(s);
570
570
  }, Vn = (e, t) => {
571
- ne(() => _ == null ? void 0 : _.value, (s, c) => {
572
- e == null || e({ id: a.id, name: M.value, newValue: s, oldValue: c });
571
+ ne(() => _ == null ? void 0 : _.value, (s, i) => {
572
+ e == null || e({ id: a.id, name: M.value, newValue: s, oldValue: i });
573
573
  }, t);
574
574
  }, Cn = (e) => {
575
575
  var O;
576
576
  e.preventDefault();
577
- const t = (D) => {
577
+ const t = (B) => {
578
578
  var H;
579
- const L = (H = Array.from(D.classList)) == null ? void 0 : H.find((Fe) => Mt(Fe));
579
+ const L = (H = Array.from(B.classList)) == null ? void 0 : H.find((Te) => Mt(Te));
580
580
  return L ? xt(L) : "";
581
581
  }, s = document.activeElement;
582
582
  if (!s)
583
583
  return;
584
- const c = document.getElementsByClassName(it.formItemTarget);
585
- for (var C = 0; C < c.length; C++) {
586
- const D = c[C], L = bt(s, it.formItemTarget);
584
+ const i = document.getElementsByClassName(it.formItemTarget);
585
+ for (var y = 0; y < i.length; y++) {
586
+ const B = i[y], L = bt(s, it.formItemTarget);
587
587
  if (!L)
588
588
  continue;
589
- const H = t(D), Fe = t(L);
590
- if (H === Fe) {
591
- if (C === c.length - 1)
589
+ const H = t(B), Te = t(L);
590
+ if (H === Te) {
591
+ if (y === i.length - 1)
592
592
  return;
593
- const In = c[C + 1], Nn = t(In), Ie = r.findRefById(Nn, o);
593
+ const Dn = i[y + 1], In = t(Dn), De = r.findRefById(In, o);
594
594
  try {
595
- (O = Ie == null ? void 0 : Ie.exposed) == null || O.focus();
596
- } catch (Bn) {
597
- oe.error("handleEnter", Bn);
595
+ (O = De == null ? void 0 : De.exposed) == null || O.focus();
596
+ } catch (Nn) {
597
+ oe.error("handleEnter", Nn);
598
598
  }
599
599
  }
600
600
  }
601
601
  };
602
602
  let yn = () => {
603
- var D;
603
+ var B;
604
604
  let e = {
605
605
  componentName: M.value,
606
606
  //用于组件事件emitter发射与接收处理
607
607
  refList: h,
608
608
  allRefList: S,
609
- fieldEditor: () => q.value,
609
+ fieldEditor: () => G.value,
610
610
  changeRegisterToRefList: (L, H) => {
611
611
  r.changeRegisterToRefList(L, H), m.changeRegisterToRefList(L, H);
612
612
  },
613
- getField: f,
614
- getFormData: v,
613
+ getField: l,
614
+ getFormData: c,
615
615
  getValue: U,
616
- setValue: Te,
616
+ setValue: Fe,
617
617
  emit$: ke,
618
618
  findRefByName: r.getWidgetRef,
619
619
  findRefById: r.findRefById,
620
620
  callRefFunc: r.callRefFunc,
621
- getWidgetOption: me,
621
+ getWidgetOption: le,
622
622
  setWidgetOption: se,
623
623
  refreshKey: Qe,
624
- getRowScope: i,
624
+ getRowScope: f,
625
625
  //组件的数据绑定:继承的数据,用于计算组件属性变量
626
626
  getOneSchemaData: _t,
627
627
  getSchemaDatas: St,
@@ -636,71 +636,71 @@ function Mr(n) {
636
636
  refreshDefaultValue: sn,
637
637
  insertOnMousePos: pn,
638
638
  deleteOnMousePos: On,
639
- disableChangeValidate: Nt,
640
- enableChangeValidate: Bt,
639
+ disableChangeValidate: It,
640
+ enableChangeValidate: Nt,
641
641
  focus: () => {
642
- Z.focus(q.value);
642
+ Z.focus(G.value);
643
643
  },
644
644
  blur: () => {
645
- Z.blur(q.value);
645
+ Z.blur(G.value);
646
646
  },
647
647
  getMousePos: () => {
648
- Z.getMousePos(q.value);
648
+ Z.getMousePos(G.value);
649
649
  },
650
650
  setMousePos: (L) => {
651
- Z.setMousePos(q.value, L);
651
+ Z.setMousePos(G.value, L);
652
652
  }
653
653
  }, s = {
654
654
  loadOptionItems: nn,
655
655
  getCheckedItems: Se,
656
656
  getCheckedLabels: Xe
657
- }, c = {
657
+ }, i = {
658
658
  [W.required]: { name: A.setRequired, fn: vn },
659
659
  [W.label]: { name: A.setLabel, fn: gn },
660
660
  [W.hidden]: { name: A.setHidden, fn: dn },
661
661
  [W.disabled]: { name: A.setDisabled, fn: mn },
662
662
  [W.readonly]: { name: A.setReadonly, fn: ln }
663
- }, C = {};
664
- (D = Y(c)) == null || D.forEach((L) => {
665
- if (Ne(a, L)) {
666
- const H = c[L];
667
- C[H.name] = H.fn;
663
+ }, y = {};
664
+ (B = Y(i)) == null || B.forEach((L) => {
665
+ if (Ie(a, L)) {
666
+ const H = i[L];
667
+ y[H.name] = H.fn;
668
668
  }
669
669
  });
670
- var O = Ve(e, C);
671
- return X(a) && (O = Ve(O, t)), De(a) && (O = Ve(O, s)), O;
670
+ var O = Oe(e, y);
671
+ return X(a) && (O = Oe(O, t)), Ne(a) && (O = Oe(O, s)), O;
672
672
  };
673
- const bn = pe(() => ({
673
+ const bn = he(() => ({
674
674
  attrs: Ue.value,
675
675
  extendAttrs: xe.value,
676
676
  events: k.value,
677
677
  slots: He.value,
678
678
  fieldKey: Pe.value,
679
- fieldEditor: q.value,
679
+ fieldEditor: G.value,
680
680
  fieldName: M.value
681
681
  })), En = (e) => {
682
682
  u && n.designer && ne(() => {
683
683
  var t;
684
684
  return (t = n == null ? void 0 : n.widget) == null ? void 0 : t[e];
685
685
  }, (t, s) => {
686
- const { emitHistoryChange: c } = ur(n.designer);
687
- c(`edit ${M.value}.${e},newValue:${t},oldValue:${s}`);
686
+ const { emitHistoryChange: i } = ur(n.designer);
687
+ i(`edit ${M.value}.${e},newValue:${t},oldValue:${s}`);
688
688
  }, {
689
689
  deep: !0
690
690
  });
691
691
  }, Rn = (e, t, s) => {
692
- const c = ie(), C = we(e), O = (D) => {
693
- t && (c.value = t(D || C));
692
+ const i = ie(), y = we(e), O = (B) => {
693
+ t && (i.value = t(B || y));
694
694
  };
695
- return dt(C) ? ne(C, (D) => {
696
- O(D), s && s(D);
697
- }) : O(C), c;
695
+ return dt(y) ? ne(y, (B) => {
696
+ O(B), s && s(B);
697
+ }) : O(y), i;
698
698
  }, Mn = () => {
699
699
  !X(a) || u || Vn((e) => {
700
700
  const t = a == null ? void 0 : a.id;
701
701
  lr(S, t, j), mr(S, t, J.getOptions(a, W.relate), e), ee(e.newValue), setTimeout(() => {
702
702
  ee(e.newValue), on(e == null ? void 0 : e.newValue);
703
- }, 1e3), ge(e.newValue, e.oldValue);
703
+ }, 1e3), ve(e.newValue, e.oldValue);
704
704
  }, { immediate: !0 });
705
705
  }, rt = () => {
706
706
  const e = { propName: M.value };
@@ -708,28 +708,28 @@ function Mr(n) {
708
708
  }, ot = () => {
709
709
  const e = { fieldId: a.id, fieldName: M.value, rules: Ge };
710
710
  Me(V, $.fieldRuleChange, e, o);
711
- }, he = () => {
711
+ }, ge = () => {
712
712
  if (!X(a))
713
713
  return;
714
- const e = Ft();
714
+ const e = Tt();
715
715
  return ot(), e;
716
716
  }, st = () => {
717
- It(), ot();
717
+ Dt(), ot();
718
718
  }, xn = () => {
719
- Ne(a, "change") && (k.value.change = fn), Ne(a, "input") && (k.value.input = an), K(Zn.setFormData, (e) => {
719
+ Ie(a, "change") && (k.value.change = fn), Ie(a, "input") && (k.value.input = an), Ae(Zn.setFormData, (e) => {
720
720
  ce(e[M.value]);
721
- }), K($.fieldValueChanged, (e) => {
721
+ }), Ae($.fieldValueChanged, (e) => {
722
722
  We($.onChange, { value: e == null ? void 0 : e.newValue, oldValue: e == null ? void 0 : e.oldValue });
723
723
  });
724
724
  }, _n = () => {
725
725
  let e = M.value;
726
- X(a) ? ((!Oe(x, e) || x[e] === void 0) && (Q(null), ve() && Ce(de()).then((t) => {
726
+ X(a) ? ((!pe(x, e) || x[e] === void 0) && (Q(null), de() && Ve(me()).then((t) => {
727
727
  t == null ? Q(null) : Q(t);
728
- })), et()) : ve() && Ce(de()).then((t) => {
728
+ })), et()) : de() && Ve(me()).then((t) => {
729
729
  ce(t);
730
730
  }), tt(U());
731
731
  }, Pn = () => {
732
- De(a) && ne(() => le == null ? void 0 : le.value, (e, t) => {
732
+ Ne(a) && ne(() => fe == null ? void 0 : fe.value, (e, t) => {
733
733
  ee(_.value);
734
734
  }, { immediate: !0 });
735
735
  }, Sn = () => {
@@ -737,23 +737,19 @@ function Mr(n) {
737
737
  ut();
738
738
  });
739
739
  }, Wn = () => {
740
- const e = Hn(wn.isRenderComplete), t = () => {
741
- var C;
742
- var c = ((C = fe(T)) == null ? void 0 : C.length) / 100;
743
- return c > 2e3 && (c = 2e3), c < 10 && (c = 10), c;
744
- }, s = () => {
740
+ const e = Hn(wn.isRenderComplete), t = () => 10, s = () => {
745
741
  setTimeout(() => {
746
- G.value = !0, Pn(), Mn(), he();
742
+ K.value = !0, Pn(), Mn(), ge();
747
743
  }, t());
748
744
  };
749
745
  if (e != null && e.value) {
750
746
  s();
751
747
  return;
752
748
  }
753
- e != null && ne(() => e == null ? void 0 : e.value, (c) => {
754
- c && s();
749
+ e != null && ne(() => e == null ? void 0 : e.value, (i) => {
750
+ i && s();
755
751
  }, { immediate: !0 });
756
- }, Tn = () => {
752
+ }, Fn = () => {
757
753
  var e, t;
758
754
  if (p)
759
755
  try {
@@ -761,7 +757,7 @@ function Mr(n) {
761
757
  } catch (s) {
762
758
  oe.error("create", s);
763
759
  }
764
- }, Fn = () => {
760
+ }, Tn = () => {
765
761
  p && (lt(() => {
766
762
  var e, t;
767
763
  try {
@@ -773,17 +769,17 @@ function Mr(n) {
773
769
  r.unregisterFromRefList(M.value), m.unregisterFromRefList(M.value);
774
770
  }));
775
771
  }, ut = () => {
776
- const e = a == null ? void 0 : a.id, t = me(W.css);
772
+ const e = a == null ? void 0 : a.id, t = le(W.css);
777
773
  t && e && nr(t).then((s) => {
778
774
  rr(s, e);
779
775
  });
780
776
  };
781
- return Tn(), Fn(), {
777
+ return Fn(), Tn(), {
782
778
  exposed: yn(),
783
779
  fieldModel: _,
784
780
  objFieldModel: tn,
785
781
  numFieldModel: en,
786
- fieldEditor: q,
782
+ fieldEditor: G,
787
783
  fieldKey: Pe,
788
784
  field: a,
789
785
  instance: o,
@@ -794,16 +790,16 @@ function Mr(n) {
794
790
  rules: Ge,
795
791
  fieldObj: bn,
796
792
  getValue: U,
797
- setValue: Te,
793
+ setValue: Fe,
798
794
  pageConfig: N,
799
795
  formModel: x,
800
796
  fieldName: M,
801
797
  propResultOpt: j,
802
- optionItems: le,
798
+ optionItems: fe,
803
799
  activeOptionItems: Ht,
804
800
  activeOptionItem: Gt,
805
801
  activeOptionItemIndex: Kt,
806
- refreshOptionItems: Dt,
802
+ refreshOptionItems: Bt,
807
803
  refreshOptionField: ee,
808
804
  filterOptionItems: Lt,
809
805
  setOptionItems: Ke,
@@ -819,16 +815,16 @@ function Mr(n) {
819
815
  handleEvent: We,
820
816
  handleEnter: Cn,
821
817
  getPropName: wt,
822
- emitFieldDataChange: ge,
818
+ emitFieldDataChange: ve,
823
819
  syncUpdateFormModel: ae,
824
820
  getWidgetRef: r.getWidgetRef,
825
821
  clearRules: st,
826
- buildRules: he,
822
+ buildRules: ge,
827
823
  getFieldOptionModel: we,
828
824
  getFieldOptions: ue,
829
825
  hasFieldOptions: zt,
830
826
  setFieldOptions: Qt,
831
- getWidgetOption: me,
827
+ getWidgetOption: le,
832
828
  getWidgetOptionByPropValue: Ut,
833
829
  singleOption: Xt,
834
830
  watchOption: qe,
@@ -836,8 +832,8 @@ function Mr(n) {
836
832
  };
837
833
  }
838
834
  export {
839
- Ae as R,
835
+ $e as R,
840
836
  Re as a,
841
- Mr as b,
837
+ xr as b,
842
838
  fr as u
843
839
  };