hlrender 0.0.219 → 0.0.221

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 (122) hide show
  1. package/{_pdf-0c974cbe.js → _pdf-2615d97f.js} +6 -6
  2. package/{_txt-fb5b2545.js → _txt-fefad837.js} +6 -6
  3. package/{_unsupport-dc6b3049.js → _unsupport-05d8e7f5.js} +1 -1
  4. package/{affix-widget-fb8e3747.js → affix-widget-7ee62ad0.js} +16 -16
  5. package/{alert-widget-fef87e5d.js → alert-widget-e49cf21a.js} +16 -16
  6. package/{anchor-widget-097b103d.js → anchor-widget-2ee58e27.js} +13 -13
  7. package/{auto-complete-widget-bd98e8a4.js → auto-complete-widget-0ca8ea1b.js} +16 -16
  8. package/{avatar-widget-29044b19.js → avatar-widget-41693c37.js} +16 -16
  9. package/{backtop-widget-e21f9ed5.js → backtop-widget-25aecb13.js} +16 -16
  10. package/{badge-widget-94c4f222.js → badge-widget-67b8d37b.js} +16 -16
  11. package/{barcode-widget-dbc9f8ef.js → barcode-widget-9e091ba9.js} +13 -13
  12. package/{baseImp-c00e8adf.js → baseImp-e8c9b2a6.js} +1849 -1844
  13. package/{breadcrumb-widget-cf2b61e4.js → breadcrumb-widget-08733d3e.js} +13 -13
  14. package/{button-widget-668ba6fd.js → button-widget-57b0d6a1.js} +16 -16
  15. package/{cache-widget-81e301c2.js → cache-widget-311cfc52.js} +15 -15
  16. package/{card-widget-7b583092.js → card-widget-add6804a.js} +14 -14
  17. package/{carousel-widget-4d1a3239.js → carousel-widget-ea7d87b1.js} +14 -14
  18. package/{cascader-widget-fea57791.js → cascader-widget-0b81eec8.js} +15 -15
  19. package/{chart-widget-9dc25f9a.js → chart-widget-8373404e.js} +13 -13
  20. package/{checkbox-widget-cdab1671.js → checkbox-widget-66a7e1cb.js} +15 -15
  21. package/{collapse-widget-fd10b5fa.js → collapse-widget-7ee41c5c.js} +14 -14
  22. package/{color-picker-widget-c887f50b.js → color-picker-widget-3f9717a1.js} +15 -15
  23. package/{cont-cell-widget-71e77c48.js → cont-cell-widget-4b79347c.js} +1 -1
  24. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-7f3fb38b.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-83f8cacc.js} +5 -5
  25. package/{cont-widget-cbdc6662.js → cont-widget-547c6110.js} +5 -5
  26. package/{content-wrapper-7b2872cf.js → content-wrapper-5726b7f5.js} +7 -7
  27. package/{content-wrapper.vue_vue_type_script_setup_true_lang-db0bce35.js → content-wrapper.vue_vue_type_script_setup_true_lang-baea5e7e.js} +3 -3
  28. package/{date-picker-range-widget-c03bc378.js → date-picker-range-widget-11e82e2a.js} +15 -15
  29. package/{date-picker-widget-a4788e49.js → date-picker-widget-6fc6de52.js} +15 -15
  30. package/default-slot-widget-8d762171.js +26 -0
  31. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fd9018b4.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c459220b.js} +7 -7
  32. package/{descriptions-widget-99727453.js → descriptions-widget-c5fecb39.js} +14 -14
  33. package/{dialog-3c8bd967.js → dialog-4a3f5772.js} +24 -21
  34. package/{dialog-widget-83d060df.js → dialog-widget-6e8df434.js} +15 -15
  35. package/{divider-widget-d9a1397c.js → divider-widget-f9ed187b.js} +16 -16
  36. package/{drag-wrapper-e9462729.js → drag-wrapper-e9a12534.js} +6 -6
  37. package/{drawer-widget-3dde4140.js → drawer-widget-1d494753.js} +15 -15
  38. package/{dropdown-widget-80aa9f87.js → dropdown-widget-330a3cdc.js} +14 -14
  39. package/{empty-widget-b01b034e.js → empty-widget-6967f161.js} +16 -16
  40. package/{enum-type-3eee09cf.js → enum-type-7a728829.js} +57 -54
  41. package/{enum-type-af9f5bba.js → enum-type-829c8462.js} +48 -37
  42. package/{expression-f9adb9b4.js → expression-f3b962d3.js} +2 -2
  43. package/feedback-widget-7a6ac9ed.js +26 -0
  44. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-06094233.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-06683f41.js} +5 -5
  45. package/{fieldobj-0d6a0693.js → fieldobj-f28634ba.js} +1 -1
  46. package/{file-upload-widget-81081a10.js → file-upload-widget-b1b14ffa.js} +20 -20
  47. package/{form-item-wrapper-b755a7ab.js → form-item-wrapper-d0a9ff6c.js} +11 -11
  48. package/{form-widget-a19d1d5e.js → form-widget-1a27e9b4.js} +27 -27
  49. package/{grid-col-widget-c0aa72e3.js → grid-col-widget-f9ee0ab1.js} +1 -1
  50. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-940f7fb8.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ff4d1b7c.js} +5 -5
  51. package/{grid-widget-7ff1f824.js → grid-widget-7ecb5c19.js} +5 -5
  52. package/{html-text-widget-687720a1.js → html-text-widget-30f07d9a.js} +14 -14
  53. package/{icon-widget-49fb6d23.js → icon-widget-d565d050.js} +13 -13
  54. package/{iframe-widget-6b3134ec.js → iframe-widget-086f4098.js} +13 -13
  55. package/{image-widget-614de330.js → image-widget-630ebd35.js} +13 -13
  56. package/{index-d0ed190f.js → index-198e6bfc.js} +1 -1
  57. package/{index-89915d03.js → index-4f56cada.js} +9 -9
  58. package/index-697c9c4d.js +241 -0
  59. package/{input-number-widget-2e3cb800.js → input-number-widget-740bc531.js} +15 -15
  60. package/{input-widget-74572ab8.js → input-widget-c172fb57.js} +16 -16
  61. package/{label-wrapper-714b1ffc.js → label-wrapper-63276661.js} +5 -5
  62. package/{label-wrapper.vue_vue_type_style_index_0_lang-9bf010c8.js → label-wrapper.vue_vue_type_style_index_0_lang-e7f67615.js} +3 -3
  63. package/{link-widget-a7ffc17b.js → link-widget-931d6131.js} +16 -16
  64. package/{ltable-col-widget-ca0db2f7.js → ltable-col-widget-bf4521f9.js} +1 -1
  65. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-fd7b8b5b.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-426f2b4c.js} +9 -9
  66. package/{ltable-widget-1ef2e0cb.js → ltable-widget-a7acf843.js} +5 -5
  67. package/{menu-widget-f654b2e2.js → menu-widget-24785732.js} +32 -32
  68. package/{model-widget-250ae819.js → model-widget-9280f81f.js} +13 -13
  69. package/multirow-cf88c15f.js +230 -0
  70. package/multirow-widget-8abae879.js +722 -0
  71. package/package.json +1 -1
  72. package/{pagination-widget-df2f379b.js → pagination-widget-21b9734a.js} +13 -13
  73. package/{picture-upload-widget-25603bd3.js → picture-upload-widget-2d6f5166.js} +16 -16
  74. package/{progress-widget-ef1fbe38.js → progress-widget-7acbcbd2.js} +37 -37
  75. package/{qrcode-widget-422ba971.js → qrcode-widget-ef7c0554.js} +13 -13
  76. package/{radio-widget-fb75bc5e.js → radio-widget-309621c0.js} +15 -15
  77. package/{range-widget-6dc8a81a.js → range-widget-0eab72e0.js} +16 -16
  78. package/{rate-widget-6395f645.js → rate-widget-b9cfc2cf.js} +15 -15
  79. package/render.es.js +32 -32
  80. package/render.style.css +1 -1
  81. package/render.umd.js +359 -355
  82. package/{result-widget-230edb57.js → result-widget-2b5456a9.js} +14 -14
  83. package/{rich-editor-widget-7281e7fc.js → rich-editor-widget-c203861c.js} +26 -26
  84. package/{router-widget-aab48273.js → router-widget-04b9a98b.js} +13 -13
  85. package/{select-widget-3fabec4c.js → select-widget-2bf2ef62.js} +15 -15
  86. package/{sfc-607e4077.js → sfc-2bf2df56.js} +8 -8
  87. package/{sfcview-5d26e89f.js → sfcview-1361c175.js} +7 -7
  88. package/{share-field-35b67886.js → share-field-addc6ef5.js} +278 -276
  89. package/{share-file-77daa671.js → share-file-f342058d.js} +14 -14
  90. package/{slider-widget-d6bfad96.js → slider-widget-33b99e50.js} +15 -15
  91. package/{slot-272abb65.js → slot-56adbbb3.js} +3 -3
  92. package/{static-text-widget-9c22019b.js → static-text-widget-108edde9.js} +14 -14
  93. package/{steps-widget-5cdb799d.js → steps-widget-9ca1809f.js} +13 -13
  94. package/{subMenu-widget-4f1581f9.js → subMenu-widget-7027f7e1.js} +8 -8
  95. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-bc537be5.js → subMenu-widget.vue_vue_type_script_setup_true_lang-acaf3bc5.js} +6 -6
  96. package/{switch-widget-857f4664.js → switch-widget-c8f119c0.js} +15 -15
  97. package/{tab-pane-widget-00680892.js → tab-pane-widget-3706cee1.js} +1 -1
  98. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-45512f0f.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0bdade93.js} +5 -5
  99. package/table-col-widget-23084965.js +22 -0
  100. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-292b6fec.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-a3c724ca.js} +6 -6
  101. package/{table-widget-57890751.js → table-widget-c469cd7e.js} +15 -15
  102. package/{tabs-widget-a8268ebc.js → tabs-widget-8b8bf0e5.js} +7 -7
  103. package/{tag-widget-b1bde14f.js → tag-widget-f9cc80b9.js} +16 -16
  104. package/{text-widget-8e4b909d.js → text-widget-ef976b4a.js} +16 -16
  105. package/{textarea-widget-4c156f4a.js → textarea-widget-c2943bad.js} +15 -15
  106. package/{time-picker-range-widget-af2e8d96.js → time-picker-range-widget-e97ab6b0.js} +15 -15
  107. package/{time-picker-widget-6997e5ff.js → time-picker-widget-ad75fba4.js} +15 -15
  108. package/{time-select-widget-645a26ba.js → time-select-widget-7f3d955a.js} +15 -15
  109. package/{tmpl-widget-fdb68779.js → tmpl-widget-f116a203.js} +14 -14
  110. package/{tree-select-widget-ab0476a9.js → tree-select-widget-62c48877.js} +15 -15
  111. package/{tree-widget-e57ceed7.js → tree-widget-1fa2535b.js} +13 -13
  112. package/{uuid-59b631d4.js → uuid-92282a79.js} +1 -1
  113. package/{verifycode-widget-264bfa9d.js → verifycode-widget-71283784.js} +13 -13
  114. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b9780aad.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ce22cece.js} +7 -7
  115. package/wrapper-widget-669e9a3b.js +84 -0
  116. package/default-slot-widget-02517799.js +0 -26
  117. package/feedback-widget-2098cac5.js +0 -26
  118. package/index-696a9346.js +0 -120
  119. package/multirow-b54f3d83.js +0 -229
  120. package/multirow-widget-5d488d4a.js +0 -703
  121. package/table-col-widget-5fc4ff5a.js +0 -22
  122. package/wrapper-widget-e9bb70ba.js +0 -84
@@ -1,17 +1,17 @@
1
- var xn = Object.defineProperty;
2
- var Mn = (t, u, p) => u in t ? xn(t, u, { enumerable: !0, configurable: !0, writable: !0, value: p }) : t[u] = p;
3
- var tt = (t, u, p) => (Mn(t, typeof u != "symbol" ? u + "" : u, p), p);
4
- import { onMounted as ut, nextTick as at, onActivated as _n, onErrorCaptured as Sn, isRef as ct, watch as Z, reactive as Wn, ref as de, computed as We, onBeforeUnmount as Pn, inject as Nn, toRefs as Dn } from "vue";
5
- import { m as ue, a as De, c as Be, t as it, i as ft, o as X, g as w, w as Tn, K as Bn, h as Ve, f as lt, k as Fn, n as In, E as Y, d as ge, z as Ln, H as he } from "./enum-type-af9f5bba.js";
6
- import { p as nt, b as mt, g as jn, f as pe, a as $n } from "./multirow-b54f3d83.js";
1
+ var Mn = Object.defineProperty;
2
+ var _n = (t, u, p) => u in t ? Mn(t, u, { enumerable: !0, configurable: !0, writable: !0, value: p }) : t[u] = p;
3
+ var tt = (t, u, p) => (_n(t, typeof u != "symbol" ? u + "" : u, p), p);
4
+ import { onMounted as ut, nextTick as at, onActivated as Sn, onErrorCaptured as Pn, isRef as ct, watch as Z, reactive as Wn, ref as de, computed as Pe, onBeforeUnmount as Nn, inject as Fn, toRefs as Tn } from "vue";
5
+ import { m as ue, a as Fe, c as Be, t as it, i as ft, o as X, g as w, w as Bn, K as In, h as Ve, f as lt, k as Dn, n as Ln, F as Y, d as ge, A as jn, I as he } from "./enum-type-829c8462.js";
6
+ import { p as nt, b as mt, g as $n, f as pe, a as An } from "./multirow-cf88c15f.js";
7
7
  import { u as vt } from "./icon-a0e0cdb0.js";
8
- import { f as $, j as Oe, k as kn, l as ot, b as j, a as An, d as Hn } from "./expression-f9adb9b4.js";
9
- import { b as dt, d as Te, B as q, P as gt, c as ht, e as Kn, a as rt } from "./baseImp-c00e8adf.js";
10
- import { F as qn, b as Gn, a as Un } from "./slot-272abb65.js";
11
- import { f as Jn, d as zn, h as Pe, e as Qn } from "./index-89915d03.js";
12
- import { W as k, c as Q } from "./enum-type-3eee09cf.js";
13
- import { m as Xn } from "./uuid-59b631d4.js";
14
- function Yn() {
8
+ import { f as $, j as Oe, k as kn, l as ot, b as j, a as Hn, d as Kn } from "./expression-f3b962d3.js";
9
+ import { b as dt, d as Te, B as G, P as gt, c as ht, e as Gn, a as rt } from "./baseImp-e8c9b2a6.js";
10
+ import { F as qn, b as Un, a as Jn } from "./slot-56adbbb3.js";
11
+ import { f as zn, d as Qn, h as We, e as Xn } from "./index-4f56cada.js";
12
+ import { W as A, c as Q } from "./enum-type-7a728829.js";
13
+ import { m as Yn } from "./uuid-92282a79.js";
14
+ function Zn() {
15
15
  return {
16
16
  onMountedOrActivated: (p) => {
17
17
  let M = !1;
@@ -19,31 +19,31 @@ function Yn() {
19
19
  p(), at(() => {
20
20
  M = !0;
21
21
  });
22
- }), _n(() => {
22
+ }), Sn(() => {
23
23
  M && p();
24
24
  });
25
25
  },
26
26
  onCompErrorCaptured: () => {
27
- Sn((p) => (ue.error("onCompErrorCaptured", p), !1));
27
+ Pn((p) => (ue.error("onCompErrorCaptured", p), !1));
28
28
  }
29
29
  };
30
30
  }
31
- function Zn(t, u) {
32
- const { getWidgetOption: p, getWidgetOptionByPropValue: M } = dt(t, u), D = (a) => p(a);
31
+ function wn(t, u) {
32
+ const { getWidgetOption: p, getWidgetOptionByPropValue: M } = dt(t, u), F = (a) => p(a);
33
33
  return {
34
- existFunc: D,
35
- handleFunc: (a, P) => {
36
- if (De(a)) {
37
- var B = D(String(a));
38
- return Te(B, P);
34
+ existFunc: F,
35
+ handleFunc: (a, W) => {
36
+ if (Fe(a)) {
37
+ var B = F(String(a));
38
+ return Te(B, W);
39
39
  } else {
40
40
  var B = M(Be(a));
41
- return Te(B, P);
41
+ return Te(B, W);
42
42
  }
43
43
  }
44
44
  };
45
45
  }
46
- class Fe {
46
+ class Ie {
47
47
  constructor(u) {
48
48
  tt(this, "refList", {});
49
49
  u && (this.refList = u);
@@ -64,49 +64,49 @@ class Fe {
64
64
  }
65
65
  function Ce(t) {
66
66
  t || (t = {});
67
- const u = new Fe(t), { instance: p } = vt(), M = (g) => u.getWidgetRef(g == null ? void 0 : g.toString()), D = (g, V, C) => {
67
+ const u = new Ie(t), { instance: p } = vt(), M = (g) => u.getWidgetRef(g == null ? void 0 : g.toString()), F = (g, V, C) => {
68
68
  var v = [], S = [];
69
69
  let o = M(g);
70
70
  return o && v.push(o), v == null || v.forEach((l) => {
71
71
  var r = a(l, V, C);
72
72
  r && S.push(r);
73
73
  }), S;
74
- }, W = (g, V) => {
74
+ }, P = (g, V) => {
75
75
  var C;
76
76
  return (C = g == null ? void 0 : g.exposed) == null ? void 0 : C[V.toString()];
77
77
  }, a = (g, V, C) => {
78
- var v = W(g, V);
78
+ var v = P(g, V);
79
79
  if (v) {
80
80
  var S = [];
81
81
  return C && (S = Object.values(C)), v(...S);
82
82
  }
83
- }, P = (g, V, C) => {
83
+ }, W = (g, V, C) => {
84
84
  var v = [];
85
85
  if (g) {
86
86
  var S = Be(it(g, !0));
87
87
  S == null || S.forEach((o) => {
88
- var l = D(o, V, C);
88
+ var l = F(o, V, C);
89
89
  ft(l) || v.push(l);
90
90
  });
91
91
  }
92
92
  return Array.isArray(g) ? v : v == null ? void 0 : v[0];
93
93
  }, B = (g, V) => {
94
94
  let C = X(t);
95
- P(C, g, V);
95
+ W(C, g, V);
96
96
  }, O = (g, V) => {
97
97
  var r, d, f;
98
98
  const C = (d = (r = V || p) == null ? void 0 : r.exposed) == null ? void 0 : d.getField();
99
99
  var v = nt(C == null ? void 0 : C.id);
100
100
  const S = (s) => (s == null ? void 0 : s.id) === g, o = (s) => {
101
101
  var _;
102
- var i = nt(s == null ? void 0 : s.id);
103
- return (v == null ? void 0 : v.groupName) === (i == null ? void 0 : i.groupName) && ((i == null ? void 0 : i.id) === g || ((_ = s == null ? void 0 : s._source) == null ? void 0 : _.id) === g);
102
+ var c = nt(s == null ? void 0 : s.id);
103
+ return (v == null ? void 0 : v.groupName) === (c == null ? void 0 : c.groupName) && ((c == null ? void 0 : c.id) === g || ((_ = s == null ? void 0 : s._source) == null ? void 0 : _.id) === g);
104
104
  }, l = (f = X(u.refList)) == null ? void 0 : f.find((s) => {
105
105
  var _, N;
106
106
  try {
107
- const F = (N = (_ = u.refList[s]) == null ? void 0 : _.exposed) == null ? void 0 : N.getField();
108
- var i = S(F);
109
- return !i && (v != null && v.groupName) && (i = o(F)), i;
107
+ const I = (N = (_ = u.refList[s]) == null ? void 0 : _.exposed) == null ? void 0 : N.getField();
108
+ var c = S(I);
109
+ return !c && (v != null && v.groupName) && (c = o(I)), c;
110
110
  } catch {
111
111
  return !1;
112
112
  }
@@ -125,11 +125,11 @@ function Ce(t) {
125
125
  }
126
126
  };
127
127
  return {
128
- findWidgetAndCall: D,
128
+ findWidgetAndCall: F,
129
129
  getWidgetRef: M,
130
- callWidgetsExposed: P,
130
+ callWidgetsExposed: W,
131
131
  callRefFunc: a,
132
- existRefFunc: W,
132
+ existRefFunc: P,
133
133
  setAllRefList: B,
134
134
  findRefById: O,
135
135
  findRefByName: M,
@@ -140,51 +140,51 @@ function Ce(t) {
140
140
  unregisterFromRefList: x
141
141
  };
142
142
  }
143
- const wn = (t, u, p, M) => {
144
- const D = new Fe(t), { callRefFunc: W } = Ce(t), { parseGroupId: a } = mt();
143
+ const eo = (t, u, p, M) => {
144
+ const F = new Ie(t), { callRefFunc: P } = Ce(t), { parseGroupId: a } = mt();
145
145
  if (!t || t.length <= 0 || !u)
146
146
  return;
147
- const P = () => {
147
+ const W = () => {
148
148
  var o, l;
149
- return (l = (o = X(t)) == null ? void 0 : o.map((r) => W(t == null ? void 0 : t[r], k.getField))) == null ? void 0 : l.filter((r) => !!r);
149
+ return (l = (o = X(t)) == null ? void 0 : o.map((r) => P(t == null ? void 0 : t[r], A.getField))) == null ? void 0 : l.filter((r) => !!r);
150
150
  }, B = (o) => {
151
151
  var f;
152
- const l = (f = P()) == null ? void 0 : f.find((s) => (s == null ? void 0 : s.id) === o);
152
+ const l = (f = W()) == null ? void 0 : f.find((s) => (s == null ? void 0 : s.id) === o);
153
153
  if (!l)
154
154
  return;
155
- const r = q.getName(l), d = D.getWidgetRef(r);
155
+ const r = G.getName(l), d = F.getWidgetRef(r);
156
156
  if (d)
157
157
  return { ref: d, name: r, id: l == null ? void 0 : l.id };
158
158
  }, O = (o, l) => {
159
159
  if (!w(l))
160
160
  return;
161
- const r = q.getName(o), d = D.getWidgetRef(r);
161
+ const r = G.getName(o), d = F.getWidgetRef(r);
162
162
  if (d) {
163
- const f = q.getOptions(o, $.defaultValue, !1, !(p != null && p.designState), { ...p, formData: l });
163
+ const f = G.getOptions(o, $.defaultValue, !1, !(p != null && p.designState), { ...p, formData: l });
164
164
  if (w(f))
165
165
  if (ct(f)) {
166
- let s = Z(() => f.value, (i) => {
167
- s == null || s(), W(d, k.setValue, { newValue: i });
166
+ let s = Z(() => f.value, (c) => {
167
+ s == null || s(), P(d, A.setValue, { newValue: c });
168
168
  });
169
169
  } else
170
- W(d, k.setValue, { newValue: f });
170
+ P(d, A.setValue, { newValue: f });
171
171
  }
172
172
  }, h = (o, l) => {
173
173
  const r = B(o);
174
174
  if (!r)
175
175
  return;
176
- const d = r.name, f = W(r.ref, k.getValue), s = W(r.ref, k.getCheckedItems), i = {};
177
- return i[d] = f, f !== void 0 && !Fn(s) && !l && (i[`${d}${Oe.checkedOptions}`] = s), i;
176
+ const d = r.name, f = P(r.ref, A.getValue), s = P(r.ref, A.getCheckedItems), c = {};
177
+ return c[d] = f, f !== void 0 && !Dn(s) && !l && (c[`${d}${Oe.checkedOptions}`] = s), c;
178
178
  }, x = (o, l) => {
179
179
  var d;
180
180
  var r = [];
181
- if ((d = P()) == null || d.forEach((f) => {
181
+ if ((d = W()) == null || d.forEach((f) => {
182
182
  if (!f)
183
183
  return;
184
184
  const s = f == null ? void 0 : f.id;
185
- var i = s === o;
186
- const _ = a(s), N = (_ == null ? void 0 : _.id) === o, F = (_ == null ? void 0 : _.groupName) === l;
187
- return i || N && (F || !l) ? (r.push(f), !0) : !1;
185
+ var c = s === o;
186
+ const _ = a(s), N = (_ == null ? void 0 : _.id) === o, I = (_ == null ? void 0 : _.groupName) === l;
187
+ return c || N && (I || !l) ? (r.push(f), !0) : !1;
188
188
  }), !(!r || r.length <= 0))
189
189
  return r == null ? void 0 : r.map((f) => {
190
190
  var s;
@@ -200,31 +200,31 @@ const wn = (t, u, p, M) => {
200
200
  return r;
201
201
  const d = a(u), f = d == null ? void 0 : d.groupName;
202
202
  return l === pe.Inner2Outer ? o == null || o.forEach((s) => {
203
- var i = x(s);
204
- i && (i == null ? void 0 : i.length) > 0 && r.push(...i);
203
+ var c = x(s);
204
+ c && (c == null ? void 0 : c.length) > 0 && r.push(...c);
205
205
  }) : o == null || o.forEach((s) => {
206
- var i = x(s, f);
207
- i && (i == null ? void 0 : i.length) > 0 && r.push(...i);
206
+ var c = x(s, f);
207
+ c && (c == null ? void 0 : c.length) > 0 && r.push(...c);
208
208
  }), r;
209
209
  }, g = (o, l) => {
210
210
  let r = {};
211
211
  if (!o || o.length <= 0)
212
212
  return r;
213
213
  if (l === pe.Inner2Outer) {
214
- var d = Tn(o, (f) => {
214
+ var d = Bn(o, (f) => {
215
215
  var s;
216
216
  return (s = f.source) == null ? void 0 : s.id;
217
217
  });
218
218
  d == null || d.forEach((f) => {
219
219
  var _;
220
- const s = f.group[0], i = [];
220
+ const s = f.group[0], c = [];
221
221
  (_ = f == null ? void 0 : f.children) == null || _.forEach((N) => {
222
- const F = h(N == null ? void 0 : N.id, !0);
223
- if (w(F)) {
224
- var G = Object.values(Be(F));
225
- i.push(...G);
222
+ const I = h(N == null ? void 0 : N.id, !0);
223
+ if (w(I)) {
224
+ var q = Object.values(Be(I));
225
+ c.push(...q);
226
226
  }
227
- }), s && (r = Object.assign(r, { [s]: i }));
227
+ }), s && (r = Object.assign(r, { [s]: c }));
228
228
  });
229
229
  } else
230
230
  o.forEach((f) => {
@@ -240,23 +240,23 @@ const wn = (t, u, p, M) => {
240
240
  }), l;
241
241
  }, C = (o, l, r) => {
242
242
  if (r === pe.Inner2Inner) {
243
- const i = Bn(l), { updateFomula: _ } = ht(), { buildVariable: N } = Kn();
243
+ const c = In(l), { updateFomula: _ } = ht(), { buildVariable: N } = Gn();
244
244
  var d = V(o);
245
245
  if (w(d)) {
246
- var f = q.getOrgOption(l, $.defaultValue), s = _(Ve(f), d, (F, G) => {
247
- var ee = d[F];
248
- return ft(ee) ? N(F) : N(ee);
246
+ var f = G.getOrgOption(l, $.defaultValue), s = _(Ve(f), d, (I, q) => {
247
+ var ee = d[I];
248
+ return ft(ee) ? N(I) : N(ee);
249
249
  });
250
- return q.setOrgOption(i, $.defaultValue, lt(s)), i;
250
+ return G.setOrgOption(c, $.defaultValue, lt(s)), c;
251
251
  }
252
252
  }
253
253
  return l;
254
254
  }, v = (o) => {
255
255
  const l = o == null ? void 0 : o.id;
256
- var r = q.getOrgOption(o, $.defaultValue);
256
+ var r = G.getOrgOption(o, $.defaultValue);
257
257
  if (r == null)
258
258
  return;
259
- const d = jn(u, l);
259
+ const d = $n(u, l);
260
260
  if (d === pe.DiffInner)
261
261
  return;
262
262
  var f = gt.getFormulaRelatedField(r);
@@ -265,30 +265,30 @@ const wn = (t, u, p, M) => {
265
265
  var s = T(f, d);
266
266
  if (!(s != null && s.some((_) => _.id === u)))
267
267
  return;
268
- const i = g(s, d);
269
- O(C(s, o, d), i);
268
+ const c = g(s, d);
269
+ O(C(s, o, d), c);
270
270
  };
271
271
  (() => {
272
272
  var o;
273
- (o = P()) == null || o.forEach((l) => {
273
+ (o = W()) == null || o.forEach((l) => {
274
274
  v(l);
275
275
  });
276
276
  })();
277
- }, eo = (t, u, p, M, D) => {
277
+ }, to = (t, u, p, M, F) => {
278
278
  var T;
279
- if (D || !w(p))
279
+ if (F || !w(p))
280
280
  return;
281
- const { parseGroupId: W } = mt();
282
- var a = W(u), P = a == null ? void 0 : a.groupName;
281
+ const { parseGroupId: P } = mt();
282
+ var a = P(u), W = a == null ? void 0 : a.groupName;
283
283
  const { callRefFunc: B } = Ce(t), O = (g, V) => {
284
284
  var r, d, f;
285
- const C = (d = (r = X(t)) == null ? void 0 : r.map((s) => B(t == null ? void 0 : t[s], k.getField))) == null ? void 0 : d.filter((s) => !!s), v = (f = Jn(C, (s) => {
286
- var i = W(s == null ? void 0 : s.id);
287
- return (!P || (i == null ? void 0 : i.groupName) === P) && (i == null ? void 0 : i.id) === g;
285
+ const C = (d = (r = X(t)) == null ? void 0 : r.map((s) => B(t == null ? void 0 : t[s], A.getField))) == null ? void 0 : d.filter((s) => !!s), v = (f = zn(C, (s) => {
286
+ var c = P(s == null ? void 0 : s.id);
287
+ return (!W || (c == null ? void 0 : c.groupName) === W) && (c == null ? void 0 : c.id) === g;
288
288
  })) == null ? void 0 : f[0];
289
289
  if (!v)
290
290
  return;
291
- const S = q.getName(v), l = new Fe(t).getWidgetRef(S);
291
+ const S = G.getName(v), l = new Ie(t).getWidgetRef(S);
292
292
  l && (V == null || V(l));
293
293
  }, h = it(M == null ? void 0 : M.newValue, !0), x = (T = X(p)) == null ? void 0 : T.filter((g) => h == null ? void 0 : h.includes(g));
294
294
  !x || x.length <= 0 || x == null || x.forEach((g) => {
@@ -309,7 +309,7 @@ function pt(t, u) {
309
309
  var p;
310
310
  return (p = t == null ? void 0 : t.classList) != null && p.contains(u) ? t : t != null && t.parentElement ? pt(t == null ? void 0 : t.parentElement, u) : null;
311
311
  }
312
- function to() {
312
+ function no() {
313
313
  const t = (O) => {
314
314
  if (O)
315
315
  return O != null && O.ref ? O == null ? void 0 : O.ref : O;
@@ -330,25 +330,25 @@ function to() {
330
330
  }, M = (O) => {
331
331
  var h;
332
332
  return (h = t(O)) == null ? void 0 : h.selectionStart;
333
- }, D = (O) => {
333
+ }, F = (O) => {
334
334
  var h;
335
335
  return (h = t(O)) == null ? void 0 : h.selectionEnd;
336
- }, W = (O, h) => {
336
+ }, P = (O, h) => {
337
337
  var x;
338
338
  return (x = t(O)) == null ? void 0 : x.setSelectionRange(h, h);
339
339
  }, a = (O, h) => {
340
- u(O), W(O, h);
340
+ u(O), P(O, h);
341
341
  };
342
342
  return {
343
343
  getSelectionStart: M,
344
- getSelectionEnd: D,
345
- setSelectionStart: W,
344
+ getSelectionEnd: F,
345
+ setSelectionStart: P,
346
346
  blur: p,
347
347
  focus: u,
348
348
  setMousePos: a,
349
349
  getMousePos: (O) => M(O),
350
350
  insertOnMousePos: (O, h, x) => {
351
- const T = M(O), g = D(O), V = kn(x, h, T, g);
351
+ const T = M(O), g = F(O), V = kn(x, h, T, g);
352
352
  return at(() => {
353
353
  a(O, T + (h == null ? void 0 : h.length));
354
354
  }), V;
@@ -367,8 +367,8 @@ const st = (t) => {
367
367
  const u = t.type;
368
368
  return [Q.treeSelect, Q.cascader, Q.select, Q.checkbox, Q.radio].includes(u);
369
369
  };
370
- function vo(t) {
371
- const u = t == null ? void 0 : t.designState, p = (t == null ? void 0 : t.created) != !1, M = t == null ? void 0 : t.exResetField, D = t == null ? void 0 : t.extInitFieldModel, W = t == null ? void 0 : t.exposedWholeInstance, a = t == null ? void 0 : t.widget, P = t == null ? void 0 : t.designer, B = P == null ? void 0 : P.pageConfig, { formRefList: O, globalRefList: h, globalConfig: x, globalFormName: T, globalDataModel: g, rowScope: V } = qn.globalInject();
370
+ function go(t) {
371
+ const u = t == null ? void 0 : t.designState, p = (t == null ? void 0 : t.created) != !1, M = t == null ? void 0 : t.exResetField, F = t == null ? void 0 : t.extInitFieldModel, P = t == null ? void 0 : t.exposedWholeInstance, a = t == null ? void 0 : t.widget, W = t == null ? void 0 : t.designer, B = W == null ? void 0 : W.pageConfig, { formRefList: O, globalRefList: h, globalConfig: x, globalFormName: T, globalDataModel: g, rowScope: V } = qn.globalInject();
372
372
  let C = Wn(g || {});
373
373
  const v = Ce(h), S = Ce(O), { instance: o } = vt(), l = () => Y(C), r = () => V, d = () => a, f = {
374
374
  designState: u,
@@ -378,7 +378,7 @@ function vo(t) {
378
378
  }, s = {
379
379
  instance: o,
380
380
  ...f
381
- }, i = rt(s), _ = {
381
+ }, c = rt(s), _ = {
382
382
  exposed: {
383
383
  getFormData: !u && st(a) ? l : null,
384
384
  findRefByName: v.getWidgetRef,
@@ -389,20 +389,21 @@ function vo(t) {
389
389
  * 此处暴露schemadata方法
390
390
  * 为实现全局变量中能访问到全局数据源ctx.instance.exposed.getOneSchemaData等数据源求值方法
391
391
  */
392
- getOneSchemaData: i == null ? void 0 : i.getOneSchemaData,
393
- getSchemaDataObject: i == null ? void 0 : i.getSchemaDataObject,
394
- getSchemaDatas: i == null ? void 0 : i.getSchemaDatas
392
+ getOneSchemaData: c == null ? void 0 : c.getOneSchemaData,
393
+ getSchemaDataObject: c == null ? void 0 : c.getSchemaDataObject,
394
+ getSchemaDatas: c == null ? void 0 : c.getSchemaDatas,
395
+ getGlobalParams: c == null ? void 0 : c.getGlobalParams
395
396
  }
396
397
  }, N = {
397
- instance: W ? o : _,
398
+ instance: P ? o : _,
398
399
  ...f
399
- }, { on$: F, dispatch: G, emit$: ee } = $n(), { onCompErrorCaptured: Ot } = Yn(), { existFunc: Vt } = Zn({ options: a == null ? void 0 : a.options }, N), { isIdClass: Ct, getIdByIdClass: Et } = zn(a), { getOneSchemaData: yt, getSchemaDataObject: bt, getSchemaDatas: Rt } = rt(N), te = to(), xt = (t == null ? void 0 : t.shareProp) || { s_attr: !0, s_extendAttr: !0, s_events: !0, s_slots: !0, s_fieldName: !0, s_optionItems: !0 }, { attrs: Ie, extendAttrs: Ee, events: A, slots: Le, rules: je, fieldName: b, buildRules: Mt, clearRules: _t, disableChangeValidate: St, enableChangeValidate: Wt, optionItems: ae, filterOptionItems: Pt, getCheckedOptionText: Nt, getCheckedOptionValues: Dt, getCheckedOptionLabels: Tt, getCheckedOptionItems: Bt, activeOptionItems: Ft, activeOptionItem: It, activeOptionItemIndex: Lt, setOptionItems: $e, isOptionWidget: jt, setWidgetOption: ne, getWidgetOption: ce, setFieldEnable: $t, hasFieldOptions: kt, getFieldOptions: oe, setFieldOptions: At, computedDefaultValue: ie, hasDefaultValue: fe, singleOption: Ht, watchOption: ke, addCssClass: Kt, removeCssClass: qt } = dt(a, N, xt, o);
400
+ }, { on$: I, dispatch: q, emit$: ee } = An(), { onCompErrorCaptured: Ot } = Zn(), { existFunc: Vt } = wn({ options: a == null ? void 0 : a.options }, N), { isIdClass: Ct, getIdByIdClass: bt } = Qn(a), { getOneSchemaData: yt, getSchemaDataObject: Et, getSchemaDatas: Rt, getGlobalParams: xt } = rt(N), te = no(), Mt = (t == null ? void 0 : t.shareProp) || { s_attr: !0, s_extendAttr: !0, s_events: !0, s_slots: !0, s_fieldName: !0, s_optionItems: !0 }, { attrs: De, extendAttrs: be, events: k, slots: Le, rules: je, fieldName: E, buildRules: _t, clearRules: St, disableChangeValidate: Pt, enableChangeValidate: Wt, optionItems: ae, filterOptionItems: Nt, getCheckedOptionText: Ft, getCheckedOptionValues: Tt, getCheckedOptionLabels: Bt, getCheckedOptionItems: It, activeOptionItems: Dt, activeOptionItem: Lt, activeOptionItemIndex: jt, setOptionItems: $e, isOptionWidget: $t, setWidgetOption: ne, getWidgetOption: ce, setFieldEnable: At, hasFieldOptions: kt, getFieldOptions: oe, setFieldOptions: Ht, computedDefaultValue: ie, hasDefaultValue: fe, singleOption: Kt, watchOption: Ae, addCssClass: Gt, removeCssClass: qt } = dt(a, N, Mt, o);
400
401
  let ye = null, R = de();
401
- const K = de(), Gt = () => b.value, Ae = () => `${a == null ? void 0 : a.id}-${Xn()}`, be = de(Ae()), He = () => {
402
- be.value = Ae();
403
- }, Ut = We({
402
+ const K = de(), Ut = () => E.value, ke = () => `${a == null ? void 0 : a.id}-${Yn()}`, Ee = de(ke()), He = () => {
403
+ Ee.value = ke();
404
+ }, Jt = Pe({
404
405
  get: () => {
405
- if (De(R.value)) {
406
+ if (Fe(R.value)) {
406
407
  var e = Number(R.value);
407
408
  return isNaN(e) ? void 0 : (R.value = e, e);
408
409
  }
@@ -411,83 +412,83 @@ function vo(t) {
411
412
  set: (e) => {
412
413
  R.value = e;
413
414
  }
414
- }), Jt = We({
415
+ }), zt = Pe({
415
416
  get: () => {
416
- if (De(R.value)) {
417
+ if (Fe(R.value)) {
417
418
  var e = lt(R.value);
418
- In(e) && (R.value = e);
419
+ Ln(e) && (R.value = e);
419
420
  }
420
421
  return R.value;
421
422
  },
422
423
  set: (e) => {
423
424
  R.value = e;
424
425
  }
425
- }), zt = (e) => {
426
- var c, m;
427
- var n = (m = (c = v.getWidgetRef(b.value)) == null ? void 0 : c.exposed) == null ? void 0 : m.loadOptionItems;
426
+ }), Qt = (e) => {
427
+ var i, m;
428
+ var n = (m = (i = v.getWidgetRef(E.value)) == null ? void 0 : i.exposed) == null ? void 0 : m.loadOptionItems;
428
429
  if (n !== void 0) {
429
430
  n == null || n(e);
430
431
  return;
431
432
  }
432
433
  $e(e);
433
434
  }, Re = (e) => {
434
- var n, c, m;
435
- return (m = (c = (n = v.getWidgetRef(b.value)) == null ? void 0 : n.exposed) == null ? void 0 : c.getCheckedItems) == null ? void 0 : m.call(c, e);
435
+ var n, i, m;
436
+ return (m = (i = (n = v.getWidgetRef(E.value)) == null ? void 0 : n.exposed) == null ? void 0 : i.getCheckedItems) == null ? void 0 : m.call(i, e);
436
437
  }, Ke = (e) => {
437
- var n, c, m;
438
- return (m = (c = (n = v.getWidgetRef(b.value)) == null ? void 0 : n.exposed) == null ? void 0 : c.getCheckedLabels) == null ? void 0 : m.call(c, e);
439
- }, Qt = (e) => {
440
- var n, c, m;
441
- return (m = (c = (n = v.getWidgetRef(b.value)) == null ? void 0 : n.exposed) == null ? void 0 : c.getCheckedText) == null ? void 0 : m.call(c, e);
438
+ var n, i, m;
439
+ return (m = (i = (n = v.getWidgetRef(E.value)) == null ? void 0 : n.exposed) == null ? void 0 : i.getCheckedLabels) == null ? void 0 : m.call(i, e);
440
+ }, Xt = (e) => {
441
+ var n, i, m;
442
+ return (m = (i = (n = v.getWidgetRef(E.value)) == null ? void 0 : n.exposed) == null ? void 0 : i.getCheckedText) == null ? void 0 : m.call(i, e);
442
443
  }, re = (e) => {
443
- var E;
444
- if (!jt())
444
+ var b;
445
+ if (!$t())
445
446
  return;
446
- const n = (E = Ee.value) == null ? void 0 : E.withAttachData;
447
+ const n = (b = be.value) == null ? void 0 : b.withAttachData;
447
448
  if (!Ne(a) || n === !1)
448
449
  return;
449
- const c = Ke(e), m = Qt(e);
450
+ const i = Ke(e), m = Xt(e);
450
451
  var y = Y(Re(e));
451
- qe(c, y, m);
452
- }, qe = (e, n, c) => {
452
+ Ge(i, y, m);
453
+ }, Ge = (e, n, i) => {
453
454
  var m = {};
454
455
  if (e != null) {
455
456
  let y = oe("textName", !1);
456
- [`${b.value}${Oe.optionText}`, y].forEach((E) => {
457
- E && m[E] === void 0 && (m[E] = e);
457
+ [`${E.value}${Oe.optionText}`, y].forEach((b) => {
458
+ b && m[b] === void 0 && (m[b] = e);
458
459
  });
459
460
  }
460
461
  if (n != null && Ve(n) !== Ve(R.value)) {
461
462
  let y = oe("optionName", !1);
462
- [`${b.value}${Oe.checkedOptions}`, y].forEach((E) => {
463
- E && m[E] === void 0 && (m[E] = n);
463
+ [`${E.value}${Oe.checkedOptions}`, y].forEach((b) => {
464
+ b && m[b] === void 0 && (m[b] = n);
464
465
  });
465
466
  }
466
- if (c != null) {
467
+ if (i != null) {
467
468
  let y = oe("labelName", !1);
468
- e !== c && [`${b.value}${Oe.optionLabelName}`, y].forEach((E) => {
469
- E && m[E] === void 0 && (m[E] = c);
469
+ e !== i && [`${E.value}${Oe.optionLabelName}`, y].forEach((b) => {
470
+ b && m[b] === void 0 && (m[b] = i);
470
471
  });
471
472
  }
472
- Ge(Y(m));
473
+ qe(Y(m));
473
474
  }, U = (e) => {
474
475
  if (z(a)) {
475
476
  re(e);
476
- var n = { [b.value]: e };
477
- Ge(n);
477
+ var n = { [E.value]: e };
478
+ qe(n);
478
479
  }
479
- }, Ge = (e) => {
480
+ }, qe = (e) => {
480
481
  ge(C, e);
481
482
  }, se = (e) => {
482
483
  u || U(e);
483
484
  }, Ue = (e) => oe(e, !1), Je = () => {
484
- var e = Dn(C);
485
- R = gt.get(e, b.value);
485
+ var e = Tn(C);
486
+ R = gt.get(e, E.value);
486
487
  }, ze = (e) => {
487
488
  ye = Y(e);
488
- }, Xt = (e) => {
489
- u || D && D(e);
490
- }, Yt = () => {
489
+ }, Yt = (e) => {
490
+ u || F && F(e);
491
+ }, Zt = () => {
491
492
  fe() && he(ie()).then((e) => {
492
493
  U(e), Je();
493
494
  });
@@ -495,28 +496,28 @@ function vo(t) {
495
496
  if (!z(a))
496
497
  return;
497
498
  ee($.fieldValueChanged, { newValue: e, oldValue: n });
498
- const c = { fieldId: a.id, fieldName: b.value, newValue: e, oldValue: n };
499
- G(T, $.fieldChange, c, o);
500
- }, Zt = (e) => Vt(e), xe = (e, n) => Te(ce(e), n), wt = (e) => {
499
+ const i = { fieldId: a.id, fieldName: E.value, newValue: e, oldValue: n };
500
+ q(T, $.fieldChange, i, o);
501
+ }, wt = (e) => Vt(e), xe = (e, n) => Te(ce(e), n), en = (e) => {
501
502
  se(e), Xe(), xe($.onInput, { value: e });
502
- }, en = (e, n) => {
503
- var c, m, y;
504
- return (y = (m = (c = v.getWidgetRef(b.value)) == null ? void 0 : c.exposed) == null ? void 0 : m.handleBeforeChange) == null ? void 0 : y.call(m, e, n);
505
- }, tn = (...e) => {
506
- var y, E, I;
507
- let c = ((y = e == null ? void 0 : e[0]) == null ? void 0 : y.target) != null ? (I = (E = e == null ? void 0 : e[0]) == null ? void 0 : E.target) == null ? void 0 : I.value : e == null ? void 0 : e[0];
508
- c = Y(c);
509
- var m = en(c, ye);
510
- m != null ? se(m) : se(c), le(c, ye), Xe(), ze(c);
511
- }, nn = (e = !0) => {
512
- ne(j.readonly, e);
503
+ }, tn = (e, n) => {
504
+ var i, m, y;
505
+ return (y = (m = (i = v.getWidgetRef(E.value)) == null ? void 0 : i.exposed) == null ? void 0 : m.handleBeforeChange) == null ? void 0 : y.call(m, e, n);
506
+ }, nn = (...e) => {
507
+ var y, b, D;
508
+ let i = ((y = e == null ? void 0 : e[0]) == null ? void 0 : y.target) != null ? (D = (b = e == null ? void 0 : e[0]) == null ? void 0 : b.target) == null ? void 0 : D.value : e == null ? void 0 : e[0];
509
+ i = Y(i);
510
+ var m = tn(i, ye);
511
+ m != null ? se(m) : se(i), le(i, ye), Xe(), ze(i);
513
512
  }, on = (e = !0) => {
514
- ne(j.disabled, e);
513
+ ne(j.readonly, e);
515
514
  }, rn = (e = !0) => {
516
- ne(j.hidden, e), e ? Ze() : ve();
515
+ ne(j.disabled, e);
517
516
  }, sn = (e = !0) => {
518
- $t(j.required, e), ve();
519
- }, un = (e) => {
517
+ ne(j.hidden, e), e ? Ze() : ve();
518
+ }, un = (e = !0) => {
519
+ At(j.required, e), ve();
520
+ }, an = (e) => {
520
521
  ne(j.label, e);
521
522
  }, J = () => R == null ? void 0 : R.value, Me = (e) => {
522
523
  R.value = e;
@@ -524,51 +525,51 @@ function vo(t) {
524
525
  let n = Y(J());
525
526
  if (Me(e), !z(a))
526
527
  return;
527
- const c = J();
528
- n !== c && (se(c), le(e, n));
529
- }, an = () => {
528
+ const i = J();
529
+ n !== i && (se(i), le(e, n));
530
+ }, cn = () => {
530
531
  fe() ? he(ie()).then((e) => {
531
532
  U(e);
532
533
  }) : U(null), M == null || M();
533
- }, cn = (e) => {
534
- const n = J(), c = te.insertOnMousePos(K.value, e, n);
535
- me(c);
536
- }, fn = (e, n) => {
537
- Z(() => R == null ? void 0 : R.value, (c, m) => {
538
- e == null || e({ id: a.id, name: b.value, newValue: c, oldValue: m });
534
+ }, fn = (e) => {
535
+ const n = J(), i = te.insertOnMousePos(K.value, e, n);
536
+ me(i);
537
+ }, ln = (e, n) => {
538
+ Z(() => R == null ? void 0 : R.value, (i, m) => {
539
+ e == null || e({ id: a.id, name: E.value, newValue: i, oldValue: m });
539
540
  }, n);
540
- }, ln = (e) => {
541
- var E;
541
+ }, mn = (e) => {
542
+ var b;
542
543
  e.preventDefault();
543
- const n = (I) => {
544
+ const n = (D) => {
544
545
  var H;
545
- const L = (H = Array.from(I.classList)) == null ? void 0 : H.find((_e) => Ct(_e));
546
- return L ? Et(L) : "";
547
- }, c = document.activeElement;
548
- if (!c)
546
+ const L = (H = Array.from(D.classList)) == null ? void 0 : H.find((_e) => Ct(_e));
547
+ return L ? bt(L) : "";
548
+ }, i = document.activeElement;
549
+ if (!i)
549
550
  return;
550
551
  const m = document.getElementsByClassName(ot.formItemTarget);
551
552
  for (var y = 0; y < m.length; y++) {
552
- const I = m[y], L = pt(c, ot.formItemTarget);
553
+ const D = m[y], L = pt(i, ot.formItemTarget);
553
554
  if (!L)
554
555
  continue;
555
- const H = n(I), _e = n(L);
556
+ const H = n(D), _e = n(L);
556
557
  if (H === _e) {
557
558
  if (y === m.length - 1)
558
559
  return;
559
- const yn = m[y + 1], bn = n(yn), Se = v.findRefById(bn, o);
560
+ const En = m[y + 1], Rn = n(En), Se = v.findRefById(Rn, o);
560
561
  try {
561
- (E = Se == null ? void 0 : Se.exposed) == null || E.focus();
562
- } catch (Rn) {
563
- ue.error("handleEnter", Rn);
562
+ (b = Se == null ? void 0 : Se.exposed) == null || b.focus();
563
+ } catch (xn) {
564
+ ue.error("handleEnter", xn);
564
565
  }
565
566
  }
566
567
  }
567
568
  };
568
- let mn = () => {
569
- var I;
569
+ let vn = () => {
570
+ var D;
570
571
  let e = {
571
- componentName: b.value,
572
+ componentName: E.value,
572
573
  //用于组件事件emitter发射与接收处理
573
574
  refList: O,
574
575
  allRefList: h,
@@ -591,16 +592,17 @@ function vo(t) {
591
592
  //组件的数据绑定:继承的数据,用于计算组件属性变量
592
593
  getOneSchemaData: yt,
593
594
  getSchemaDatas: Rt,
594
- getSchemaDataObject: bt,
595
- addCssClass: Kt,
595
+ getSchemaDataObject: Et,
596
+ getGlobalParams: xt,
597
+ addCssClass: Gt,
596
598
  removeCssClass: qt
597
599
  }, n = {
598
- resetField: an,
600
+ resetField: cn,
599
601
  getValue: J,
600
602
  setValue: me,
601
- refreshDefaultValue: Yt,
602
- insertOnMousePos: cn,
603
- disableChangeValidate: St,
603
+ refreshDefaultValue: Zt,
604
+ insertOnMousePos: fn,
605
+ disableChangeValidate: Pt,
604
606
  enableChangeValidate: Wt,
605
607
  focus: () => {
606
608
  te.focus(K.value);
@@ -614,79 +616,79 @@ function vo(t) {
614
616
  setMousePos: (L) => {
615
617
  te.setMousePos(K.value, L);
616
618
  }
617
- }, c = {
618
- loadOptionItems: zt,
619
+ }, i = {
620
+ loadOptionItems: Qt,
619
621
  getCheckedItems: Re,
620
622
  getCheckedLabels: Ke
621
623
  }, m = {
622
- [j.required]: { name: k.setRequired, fn: sn },
623
- [j.label]: { name: k.setLabel, fn: un },
624
- [j.hidden]: { name: k.setHidden, fn: rn },
625
- [j.disabled]: { name: k.setDisabled, fn: on },
626
- [j.readonly]: { name: k.setReadonly, fn: nn }
624
+ [j.required]: { name: A.setRequired, fn: un },
625
+ [j.label]: { name: A.setLabel, fn: an },
626
+ [j.hidden]: { name: A.setHidden, fn: sn },
627
+ [j.disabled]: { name: A.setDisabled, fn: rn },
628
+ [j.readonly]: { name: A.setReadonly, fn: on }
627
629
  }, y = {};
628
- (I = X(m)) == null || I.forEach((L) => {
629
- if (Pe(a, L)) {
630
+ (D = X(m)) == null || D.forEach((L) => {
631
+ if (We(a, L)) {
630
632
  const H = m[L];
631
633
  y[H.name] = H.fn;
632
634
  }
633
635
  });
634
- var E = ge(e, y);
635
- return z(a) && (E = ge(E, n)), Ne(a) && (E = ge(E, c)), E;
636
+ var b = ge(e, y);
637
+ return z(a) && (b = ge(b, n)), Ne(a) && (b = ge(b, i)), b;
636
638
  };
637
- const vn = We(() => ({
638
- attrs: Ie.value,
639
- extendAttrs: Ee.value,
640
- events: A.value,
639
+ const dn = Pe(() => ({
640
+ attrs: De.value,
641
+ extendAttrs: be.value,
642
+ events: k.value,
641
643
  slots: Le.value,
642
- fieldKey: be.value,
644
+ fieldKey: Ee.value,
643
645
  fieldEditor: K.value,
644
- fieldName: b.value
645
- })), dn = (e) => {
646
+ fieldName: E.value
647
+ })), gn = (e) => {
646
648
  t.designState && t.designer && Z(() => {
647
649
  var n;
648
650
  return (n = t == null ? void 0 : t.widget) == null ? void 0 : n[e];
649
- }, (n, c) => {
650
- const { emitHistoryChange: m } = Qn(t.designer);
651
- m(`edit ${b.value}.${e},newValue:${n},oldValue:${c}`);
651
+ }, (n, i) => {
652
+ const { emitHistoryChange: m } = Xn(t.designer);
653
+ m(`edit ${E.value}.${e},newValue:${n},oldValue:${i}`);
652
654
  }, {
653
655
  deep: !0
654
656
  });
655
- }, gn = (e, n, c) => {
656
- const m = de(), y = Ue(e), E = (I) => {
657
- n && (m.value = n(I || y));
657
+ }, hn = (e, n, i) => {
658
+ const m = de(), y = Ue(e), b = (D) => {
659
+ n && (m.value = n(D || y));
658
660
  };
659
- return ct(y) ? Z(y, (I) => {
660
- E(I), c && c(I);
661
- }) : E(y), m;
661
+ return ct(y) ? Z(y, (D) => {
662
+ b(D), i && i(D);
663
+ }) : b(y), m;
662
664
  }, Qe = () => {
663
- !z(a) || u || fn((e) => {
664
- wn(h, a == null ? void 0 : a.id, N), eo(h, a == null ? void 0 : a.id, q.getOptions(a, j.relate), e), re(e.newValue), setTimeout(() => {
665
- re(e.newValue), Xt(e == null ? void 0 : e.newValue);
665
+ !z(a) || u || ln((e) => {
666
+ eo(h, a == null ? void 0 : a.id, N), to(h, a == null ? void 0 : a.id, G.getOptions(a, j.relate), e), re(e.newValue), setTimeout(() => {
667
+ re(e.newValue), Yt(e == null ? void 0 : e.newValue);
666
668
  }, 1e3), le(e.newValue, e.oldValue);
667
669
  }, { immediate: !0 });
668
670
  }, Xe = () => {
669
- const e = { propName: b.value };
670
- G(T, $.fieldValidation, e, o);
671
+ const e = { propName: E.value };
672
+ q(T, $.fieldValidation, e, o);
671
673
  }, Ye = () => {
672
- const e = { fieldId: a.id, fieldName: b.value, rules: je };
673
- G(T, $.fieldRuleChange, e, o);
674
+ const e = { fieldId: a.id, fieldName: E.value, rules: je };
675
+ q(T, $.fieldRuleChange, e, o);
674
676
  }, ve = () => {
675
677
  if (!z(a))
676
678
  return;
677
- const e = Mt();
679
+ const e = _t();
678
680
  return Ye(), e;
679
681
  }, Ze = () => {
680
- _t(), Ye();
681
- }, hn = () => {
682
- Pe(a, "change") && (A.value.change = tn), Pe(a, "input") && (A.value.input = wt), F(An.setFormData, (e) => {
683
- me(e[b.value]);
684
- }), F($.fieldValueChanged, (e) => {
682
+ St(), Ye();
683
+ }, pn = () => {
684
+ We(a, "change") && (k.value.change = nn), We(a, "input") && (k.value.input = en), I(Hn.setFormData, (e) => {
685
+ me(e[E.value]);
686
+ }), I($.fieldValueChanged, (e) => {
685
687
  xe($.onChange, { value: e == null ? void 0 : e.newValue, oldValue: e == null ? void 0 : e.oldValue });
686
688
  });
687
- }, pn = () => {
688
- let e = b.value;
689
- z(a) ? ((!Ln(C, e) || C[e] === void 0) && (U(null), fe() && he(ie()).then((n) => {
689
+ }, On = () => {
690
+ let e = E.value;
691
+ z(a) ? ((!jn(C, e) || C[e] === void 0) && (U(null), fe() && he(ie()).then((n) => {
690
692
  n == null ? U(null) : U(n);
691
693
  })), Je()) : fe() && he(ie()).then((n) => {
692
694
  me(n);
@@ -695,12 +697,12 @@ function vo(t) {
695
697
  Ne(a) && Z(() => ae == null ? void 0 : ae.value, (e, n) => {
696
698
  re(R.value);
697
699
  }, { immediate: !0 });
698
- }, On = () => {
699
- ke(!0, j.css, void 0, (e) => {
700
+ }, Vn = () => {
701
+ Ae(!0, j.css, void 0, (e) => {
700
702
  et();
701
703
  });
702
- }, Vn = () => {
703
- const e = Nn(Hn.isRenderComplete);
704
+ }, Cn = () => {
705
+ const e = Fn(Kn.isRenderComplete);
704
706
  if (e != null && e.value) {
705
707
  we(), Qe();
706
708
  return;
@@ -708,71 +710,71 @@ function vo(t) {
708
710
  e != null && Z(() => e == null ? void 0 : e.value, (n) => {
709
711
  n && (we(), Qe());
710
712
  }, { immediate: !0 });
711
- }, Cn = () => {
713
+ }, bn = () => {
712
714
  var e, n;
713
715
  if (p)
714
716
  try {
715
- pn(), ve(), hn(), v.registerToRefList(b.value), S.registerToRefList(b.value), (n = (e = A == null ? void 0 : A.value) == null ? void 0 : e.created) == null || n.call(e), Ot();
716
- } catch (c) {
717
- ue.error("create", c);
717
+ On(), ve(), pn(), v.registerToRefList(E.value), S.registerToRefList(E.value), (n = (e = k == null ? void 0 : k.value) == null ? void 0 : e.created) == null || n.call(e), Ot();
718
+ } catch (i) {
719
+ ue.error("create", i);
718
720
  }
719
- }, En = () => {
721
+ }, yn = () => {
720
722
  p && (ut(() => {
721
723
  var e, n;
722
724
  try {
723
- et(), On(), Vn(), (n = (e = A == null ? void 0 : A.value) == null ? void 0 : e.mounted) == null || n.call(e);
724
- } catch (c) {
725
- console.log("mounted", a, c);
725
+ et(), Vn(), Cn(), (n = (e = k == null ? void 0 : k.value) == null ? void 0 : e.mounted) == null || n.call(e);
726
+ } catch (i) {
727
+ console.log("mounted", a, i);
726
728
  }
727
- }), Pn(() => {
728
- v.unregisterFromRefList(b.value), S.unregisterFromRefList(b.value);
729
+ }), Nn(() => {
730
+ v.unregisterFromRefList(E.value), S.unregisterFromRefList(E.value);
729
731
  }));
730
732
  }, et = () => {
731
733
  const e = a == null ? void 0 : a.id, n = ce(j.css);
732
- n && e && Gn(n).then((c) => {
733
- Un(c, e);
734
+ n && e && Un(n).then((i) => {
735
+ Jn(i, e);
734
736
  });
735
737
  };
736
- return Cn(), En(), {
737
- exposed: mn(),
738
+ return bn(), yn(), {
739
+ exposed: vn(),
738
740
  fieldModel: R,
739
- objFieldModel: Jt,
740
- numFieldModel: Ut,
741
+ objFieldModel: zt,
742
+ numFieldModel: Jt,
741
743
  fieldEditor: K,
742
- fieldKey: be,
744
+ fieldKey: Ee,
743
745
  field: a,
744
746
  instance: o,
745
- attrs: Ie,
746
- extendAttrs: Ee,
747
+ attrs: De,
748
+ extendAttrs: be,
747
749
  slots: Le,
748
- events: A,
750
+ events: k,
749
751
  rules: je,
750
- fieldObj: vn,
752
+ fieldObj: dn,
751
753
  getValue: J,
752
754
  setValue: Me,
753
755
  pageConfig: B,
754
756
  formModel: C,
755
- fieldName: b,
757
+ fieldName: E,
756
758
  propResultOpt: N,
757
759
  optionItems: ae,
758
- activeOptionItems: Ft,
759
- activeOptionItem: It,
760
- activeOptionItemIndex: Lt,
760
+ activeOptionItems: Dt,
761
+ activeOptionItem: Lt,
762
+ activeOptionItemIndex: jt,
761
763
  refreshOptionField: re,
762
- filterOptionItems: Pt,
764
+ filterOptionItems: Nt,
763
765
  setOptionItems: $e,
764
766
  getCheckedItems: Re,
765
- getCheckedOptionItems: (e, n) => Bt(e || R.value, n),
766
- getCheckedOptionLabels: (e, n) => Tt(e || R.value, n),
767
- getCheckedOptionValues: (e, n) => Dt(e || R.value, n),
768
- getCheckedOptionText: (e, n) => Nt(e || R.value, n),
767
+ getCheckedOptionItems: (e, n) => It(e || R.value, n),
768
+ getCheckedOptionLabels: (e, n) => Bt(e || R.value, n),
769
+ getCheckedOptionValues: (e, n) => Tt(e || R.value, n),
770
+ getCheckedOptionText: (e, n) => Ft(e || R.value, n),
769
771
  refreshKey: He,
770
- watchKeyValue: gn,
771
- watchPropAndSaveHistoryStep: dn,
772
- existEvent: Zt,
772
+ watchKeyValue: hn,
773
+ watchPropAndSaveHistoryStep: gn,
774
+ existEvent: wt,
773
775
  handleEvent: xe,
774
- handleEnter: ln,
775
- getPropName: Gt,
776
+ handleEnter: mn,
777
+ getPropName: Ut,
776
778
  emitFieldDataChange: le,
777
779
  syncUpdateFormModel: se,
778
780
  getWidgetRef: v.getWidgetRef,
@@ -781,16 +783,16 @@ function vo(t) {
781
783
  getFieldOptionModel: Ue,
782
784
  getFieldOptions: oe,
783
785
  hasFieldOptions: kt,
784
- setFieldOptions: At,
786
+ setFieldOptions: Ht,
785
787
  getWidgetOption: ce,
786
- singleOption: Ht,
787
- watchOption: ke,
788
- mergeOptionToFormModel: qe
788
+ singleOption: Kt,
789
+ watchOption: Ae,
790
+ mergeOptionToFormModel: Ge
789
791
  };
790
792
  }
791
793
  export {
792
- Fe as R,
794
+ Ie as R,
793
795
  Ce as a,
794
- vo as b,
795
- Zn as u
796
+ go as b,
797
+ wn as u
796
798
  };