hlrender 0.0.265 → 0.0.268

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 (119) hide show
  1. package/{_pdf-6c1f3026.js → _pdf-594c78bc.js} +1 -1
  2. package/{_txt-4542b7e6.js → _txt-e8ca6b7d.js} +1 -1
  3. package/{affix-widget-8994e960.js → affix-widget-89816827.js} +9 -9
  4. package/{alert-widget-e67e628e.js → alert-widget-8cc83973.js} +9 -9
  5. package/{anchor-widget-7b8852ec.js → anchor-widget-c9318b9a.js} +6 -6
  6. package/{auto-complete-widget-e72f8184.js → auto-complete-widget-d9865180.js} +8 -8
  7. package/{avatar-widget-0f6fac3b.js → avatar-widget-f61254e1.js} +9 -9
  8. package/{backtop-widget-be20e686.js → backtop-widget-bc358b4a.js} +9 -9
  9. package/{badge-widget-983b09b9.js → badge-widget-4f3c9b5e.js} +9 -9
  10. package/{barcode-widget-3b2ee09f.js → barcode-widget-84c9d547.js} +6 -6
  11. package/{baseImp-ef5340cf.js → baseImp-1b539054.js} +2835 -2837
  12. package/{breadcrumb-widget-04e62b80.js → breadcrumb-widget-51f17ab5.js} +6 -6
  13. package/{button-widget-53884cd0.js → button-widget-3367df1e.js} +9 -9
  14. package/{cache-widget-8484d356.js → cache-widget-8db7e270.js} +7 -7
  15. package/{card-widget-0d005298.js → card-widget-63c0aff1.js} +7 -7
  16. package/{carousel-widget-2c15470f.js → carousel-widget-e6af6a98.js} +7 -7
  17. package/{cascader-widget-982fe83f.js → cascader-widget-2770b6e5.js} +7 -7
  18. package/{chart-widget-850bab48.js → chart-widget-d3268809.js} +6 -6
  19. package/{checkbox-widget-720ce327.js → checkbox-widget-25b06064.js} +7 -7
  20. package/{collapse-widget-80303423.js → collapse-widget-2c641841.js} +7 -7
  21. package/{color-picker-widget-8f1ae39d.js → color-picker-widget-89b2b921.js} +7 -7
  22. package/{cont-cell-widget-900eea5c.js → cont-cell-widget-2e2a4348.js} +1 -1
  23. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4cd43d0f.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-265fb735.js} +4 -4
  24. package/{cont-widget-21bf1a0f.js → cont-widget-b311b341.js} +4 -4
  25. package/{content-wrapper-5c070023.js → content-wrapper-24d51168.js} +2 -2
  26. package/{content-wrapper.vue_vue_type_script_setup_true_lang-19b828bd.js → content-wrapper.vue_vue_type_script_setup_true_lang-11f71ef0.js} +1 -1
  27. package/{countdown-widget-46b66846.js → countdown-widget-36ed5df7.js} +9 -9
  28. package/{date-picker-range-widget-0d947f0b.js → date-picker-range-widget-a74068eb.js} +7 -7
  29. package/{date-picker-widget-6feb7173.js → date-picker-widget-c4aa31bd.js} +7 -7
  30. package/{default-slot-widget-0272f627.js → default-slot-widget-c21b89a2.js} +7 -7
  31. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-73a0763c.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-cb63af58.js} +4 -4
  32. package/{descriptions-widget-45bea81c.js → descriptions-widget-e87aae0a.js} +7 -7
  33. package/{dialog-widget-33ab582b.js → dialog-widget-c501db89.js} +8 -8
  34. package/{divider-widget-1fb77ca3.js → divider-widget-6f569293.js} +9 -9
  35. package/{drag-wrapper-995c4383.js → drag-wrapper-34808d28.js} +4 -4
  36. package/{drawer-widget-dffbe314.js → drawer-widget-fc27b216.js} +8 -8
  37. package/{dropdown-widget-7a829a96.js → dropdown-widget-86bb575b.js} +7 -7
  38. package/{empty-widget-d91e8e0f.js → empty-widget-f727820c.js} +9 -9
  39. package/{feedback-widget-7ad3a3bf.js → feedback-widget-e53049da.js} +8 -8
  40. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-bc6708a3.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-4051a0d7.js} +4 -4
  41. package/{file-upload-widget-7a99a1d2.js → file-upload-widget-ffa9ad94.js} +11 -11
  42. package/{form-item-wrapper-da5f931c.js → form-item-wrapper-88b51079.js} +3 -3
  43. package/form-widget-93130d72.js +246 -0
  44. package/{grid-col-widget-f2446a39.js → grid-col-widget-1b3159c9.js} +1 -1
  45. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-755536a6.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-26b92457.js} +4 -4
  46. package/{grid-widget-09a52c13.js → grid-widget-ad51ac81.js} +4 -4
  47. package/{hcard-widget-3153ab7b.js → hcard-widget-fb58d77b.js} +7 -7
  48. package/{html-text-widget-8d7a0205.js → html-text-widget-756df9a2.js} +7 -7
  49. package/{icon-widget-087e0cd1.js → icon-widget-d2d6fe37.js} +6 -6
  50. package/{iframe-widget-aac7f05a.js → iframe-widget-62372a2b.js} +6 -6
  51. package/{image-widget-fea57efa.js → image-widget-39b83303.js} +6 -6
  52. package/{index-16b31ca7.js → index-dc309777.js} +1 -1
  53. package/{input-number-widget-3bbfc9e9.js → input-number-widget-f71422af.js} +7 -7
  54. package/{input-tag-widget-8fcdfe2e.js → input-tag-widget-d654e7f4.js} +8 -8
  55. package/{input-widget-76981ea6.js → input-widget-c2d5ffc1.js} +8 -8
  56. package/{link-widget-fd09fd1c.js → link-widget-f9c669df.js} +9 -9
  57. package/{ltable-col-widget-d370c8b9.js → ltable-col-widget-2193812c.js} +1 -1
  58. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7406d3ec.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-2d60bb58.js} +6 -6
  59. package/{ltable-widget-5eb87417.js → ltable-widget-388c45a1.js} +4 -4
  60. package/{mention-widget-8b305f30.js → mention-widget-77373ae8.js} +8 -8
  61. package/{menu-widget-86c8a0d1.js → menu-widget-5719c90f.js} +7 -7
  62. package/{model-widget-59dee29c.js → model-widget-5642e313.js} +6 -6
  63. package/{multirow-0f01fada.js → multirow-7237a6cd.js} +3 -3
  64. package/{multirow-widget-a066f8c6.js → multirow-widget-51ae8e72.js} +7 -7
  65. package/package.json +1 -1
  66. package/{pagination-widget-6e1e60bd.js → pagination-widget-fb521dcf.js} +6 -6
  67. package/{picture-upload-widget-20b7df8c.js → picture-upload-widget-3a282a04.js} +8 -8
  68. package/{progress-widget-35aef99f.js → progress-widget-d24b4057.js} +7 -7
  69. package/{qrcode-widget-3a742bb4.js → qrcode-widget-32de789b.js} +6 -6
  70. package/{radio-widget-572a4c3e.js → radio-widget-e27bed26.js} +7 -7
  71. package/{range-widget-9d20026c.js → range-widget-7cba4e8e.js} +8 -8
  72. package/{rate-widget-f3cceefc.js → rate-widget-87922b5c.js} +7 -7
  73. package/render.es.js +24 -24
  74. package/render.umd.js +349 -349
  75. package/{result-widget-1bfaaf79.js → result-widget-cba7e9a3.js} +7 -7
  76. package/{rich-editor-widget-ae0e7f25.js → rich-editor-widget-f1b8c184.js} +7 -7
  77. package/{router-widget-dfb66e06.js → router-widget-05b01295.js} +6 -6
  78. package/{segmented-widget-bda05a3f.js → segmented-widget-dc5e0c04.js} +6 -6
  79. package/{select-widget-774ae869.js → select-widget-6bc25c73.js} +7 -7
  80. package/{sfc-23323161.js → sfc-6bfa8c45.js} +3 -3
  81. package/{sfcview-2bbf753d.js → sfcview-e65d9e19.js} +2 -2
  82. package/share-field-8ff93bee.js +839 -0
  83. package/{share-file-01a961a2.js → share-file-5e3ac008.js} +2 -2
  84. package/{skeleton-widget-18c5a26d.js → skeleton-widget-a0a7a1ca.js} +9 -9
  85. package/{skeletonItem-widget-e6b55a8b.js → skeletonItem-widget-ab4d9d62.js} +6 -6
  86. package/{slider-widget-a7a19b51.js → slider-widget-e1730786.js} +7 -7
  87. package/{slot-d01152ae.js → slot-c256f990.js} +1 -1
  88. package/{space-widget-e7e228a1.js → space-widget-0a48c722.js} +7 -7
  89. package/{splitter-widget-f8257cbc.js → splitter-widget-c38988ea.js} +7 -7
  90. package/{static-text-widget-2dbf50e2.js → static-text-widget-2de30fa0.js} +7 -7
  91. package/{statistic-widget-163a16e4.js → statistic-widget-a9dc2961.js} +9 -9
  92. package/{steps-widget-ee811e93.js → steps-widget-b4f6083b.js} +6 -6
  93. package/{subMenu-widget-42d33e2e.js → subMenu-widget-2dd5d119.js} +2 -2
  94. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-84edf759.js → subMenu-widget.vue_vue_type_script_setup_true_lang-45b5da3d.js} +1 -1
  95. package/{switch-widget-341a9302.js → switch-widget-30552ea8.js} +7 -7
  96. package/{tab-pane-widget-ffb0be20.js → tab-pane-widget-8b490391.js} +1 -1
  97. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-cf7cdea6.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-3cd5f8c7.js} +4 -4
  98. package/{table-col-widget-ab706207.js → table-col-widget-8e624b55.js} +6 -6
  99. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-17d969cc.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-df623978.js} +4 -4
  100. package/{table-widget-3d4ad066.js → table-widget-d2b031e5.js} +8 -8
  101. package/{tabs-widget-a6852f29.js → tabs-widget-ceb53ffb.js} +5 -5
  102. package/{tag-widget-83f52b18.js → tag-widget-1f275395.js} +9 -9
  103. package/{text-widget-54273cab.js → text-widget-16235daa.js} +9 -9
  104. package/{textarea-widget-e9055d94.js → textarea-widget-e8496337.js} +7 -7
  105. package/{time-picker-range-widget-c947ddc4.js → time-picker-range-widget-782d6685.js} +7 -7
  106. package/{time-picker-widget-0ba1cdde.js → time-picker-widget-16cf6d82.js} +7 -7
  107. package/{time-select-widget-cd1444e6.js → time-select-widget-21274c04.js} +7 -7
  108. package/{timeline-widget-27a8e13f.js → timeline-widget-c8ae14cf.js} +7 -7
  109. package/{tmpl-widget-d85252bc.js → tmpl-widget-82b02103.js} +7 -7
  110. package/{tooltip-widget-790b908c.js → tooltip-widget-6661ad40.js} +7 -7
  111. package/{tour-widget-344ebe98.js → tour-widget-6282c153.js} +6 -6
  112. package/{transfer-widget-94240887.js → transfer-widget-62d705f5.js} +8 -8
  113. package/{tree-select-widget-cafeda0a.js → tree-select-widget-8bf4e227.js} +7 -7
  114. package/{tree-widget-1ba8bae6.js → tree-widget-708473ad.js} +6 -6
  115. package/{verifycode-widget-65c4f30d.js → verifycode-widget-15518d17.js} +6 -6
  116. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-61661fec.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-066cc011.js} +2 -2
  117. package/{wrapper-widget-18997c0f.js → wrapper-widget-7cf8f73c.js} +4 -4
  118. package/form-widget-70ce2941.js +0 -244
  119. package/share-field-12538a84.js +0 -841
@@ -0,0 +1,839 @@
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
+ 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 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-480f80f2.js";
6
+ import { p as ct, b as pt, g as zn, f as Ce, a as Qn } from "./multirow-7237a6cd.js";
7
+ import { u as Ot } from "./icon-1fc5d00d.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-1bc46129.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-1b539054.js";
10
+ import { F as tr, b as nr, a as rr } from "./slot-c256f990.js";
11
+ import { f as or, d as sr, h as Ie, e as ur } from "./index-dc309777.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";
14
+ function ir() {
15
+ return {
16
+ onMountedOrActivated: (p) => {
17
+ let P = !1;
18
+ lt(() => {
19
+ p(), mt(() => {
20
+ P = !0;
21
+ });
22
+ }), jn(() => {
23
+ P && p();
24
+ });
25
+ },
26
+ onCompErrorCaptured: () => {
27
+ $n((p) => (oe.error("onCompErrorCaptured", p), !1));
28
+ }
29
+ };
30
+ }
31
+ function fr(n, u) {
32
+ const { getWidgetOption: p, getWidgetOptionByPropValue: P } = Vt(n, u), D = (a) => p(a);
33
+ return {
34
+ existFunc: D,
35
+ handleFunc: (a, T) => {
36
+ if (Be(a)) {
37
+ var N = D(String(a));
38
+ return Le(N, T);
39
+ } else {
40
+ var N = P(je(a));
41
+ return Le(N, T);
42
+ }
43
+ }
44
+ };
45
+ }
46
+ class $e {
47
+ constructor(u) {
48
+ at(this, "refList", {});
49
+ u && (this.refList = u);
50
+ }
51
+ initRefList() {
52
+ this.refList || (this.refList = {});
53
+ }
54
+ getWidgetRef(u) {
55
+ if (u)
56
+ return this.initRefList(), this.refList[u];
57
+ }
58
+ setWidgetRef(u, p) {
59
+ u && (this.initRefList(), this.refList[u] = p);
60
+ }
61
+ removeWidgetRef(u) {
62
+ u && this.refList && delete this.refList[u.toString()];
63
+ }
64
+ }
65
+ function Re(n) {
66
+ n || (n = {});
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
+ let r = P(d);
70
+ return r && C.push(r), C == null || C.forEach((m) => {
71
+ var o = a(m, V, E);
72
+ o && x.push(o);
73
+ }), x;
74
+ }, F = (d, V) => {
75
+ var E;
76
+ return (E = d == null ? void 0 : d.exposed) == null ? void 0 : E[V.toString()];
77
+ }, a = (d, V, E) => {
78
+ var C = F(d, V);
79
+ if (C) {
80
+ var x = [];
81
+ return E && (x = Object.values(E)), C(...x);
82
+ }
83
+ }, T = (d, V, E) => {
84
+ var C = [];
85
+ if (d) {
86
+ var x = je(vt(d, !0));
87
+ x == null || x.forEach((r) => {
88
+ var m = D(r, V, E);
89
+ gt(m) || C.push(m);
90
+ });
91
+ }
92
+ return Array.isArray(d) ? C : C == null ? void 0 : C[0];
93
+ }, N = (d, V) => {
94
+ let E = Y(n);
95
+ T(E, d, V);
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
+ const x = (l) => (l == null ? void 0 : l.id) === d, r = (l) => {
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
+ }, m = (f = Y(u.refList)) == null ? void 0 : f.find((l) => {
105
+ var I, R, q;
106
+ try {
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
+ } catch {
111
+ return !1;
112
+ }
113
+ });
114
+ if (m)
115
+ return P(m);
116
+ }, g = (d) => {
117
+ if (d) {
118
+ let V = d;
119
+ u == null || u.setWidgetRef(V, p);
120
+ }
121
+ }, h = (d) => {
122
+ if (d) {
123
+ let V = d;
124
+ u == null || u.removeWidgetRef(V);
125
+ }
126
+ };
127
+ return {
128
+ findWidgetAndCall: D,
129
+ getWidgetRef: P,
130
+ callWidgetsExposed: T,
131
+ callRefFunc: a,
132
+ existRefFunc: F,
133
+ setAllRefList: N,
134
+ findRefById: K,
135
+ findRefByName: P,
136
+ changeRegisterToRefList: (d, V) => {
137
+ d && (g(d), h(V));
138
+ },
139
+ registerToRefList: g,
140
+ unregisterFromRefList: h
141
+ };
142
+ }
143
+ const lr = (n, u, p, P) => {
144
+ const D = new $e(n), { callRefFunc: F } = Re(n), { parseGroupId: a } = pt();
145
+ if (!n || n.length <= 0 || !u)
146
+ return;
147
+ const T = () => {
148
+ var r, m;
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
+ }, N = (r) => {
151
+ var c;
152
+ const m = (c = T()) == null ? void 0 : c.find((f) => (f == null ? void 0 : f.id) === r);
153
+ if (!m)
154
+ return;
155
+ const o = J.getName(m), v = D.getWidgetRef(o);
156
+ if (v)
157
+ return { ref: v, name: o, id: m == null ? void 0 : m.id };
158
+ }, K = (r, m) => {
159
+ if (!re(m))
160
+ return;
161
+ const o = J.getName(r), v = D.getWidgetRef(o);
162
+ if (v) {
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
+ f == null || f(), F(v, A.setValue, { newValue: l });
168
+ });
169
+ } else
170
+ F(v, A.setValue, { newValue: c });
171
+ }
172
+ }, g = (r, m) => {
173
+ const o = N(r);
174
+ if (!o)
175
+ return;
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
+ }, h = (r, m) => {
179
+ var v;
180
+ var o = [];
181
+ if ((v = T()) == null || v.forEach((c) => {
182
+ if (!c)
183
+ return;
184
+ const f = c == null ? void 0 : c.id;
185
+ var l = f === r;
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
+ }), !(!o || o.length <= 0))
189
+ return o == null ? void 0 : o.map((c) => {
190
+ var f;
191
+ return {
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
+ };
196
+ });
197
+ }, S = (r, m) => {
198
+ var o = [];
199
+ if (!r || (r == null ? void 0 : r.length) <= 0)
200
+ return o;
201
+ const v = a(u), c = v == null ? void 0 : v.groupName;
202
+ return m === Ce.Inner2Outer ? r == null || r.forEach((f) => {
203
+ var l = h(f);
204
+ l && (l == null ? void 0 : l.length) > 0 && o.push(...l);
205
+ }) : r == null || r.forEach((f) => {
206
+ var l = h(f, c);
207
+ l && (l == null ? void 0 : l.length) > 0 && o.push(...l);
208
+ }), o;
209
+ }, d = (r, m) => {
210
+ let o = {};
211
+ if (!r || r.length <= 0)
212
+ return o;
213
+ if (m === Ce.Inner2Outer) {
214
+ var v = Kn(r, (c) => {
215
+ var f;
216
+ return (f = c.source) == null ? void 0 : f.id;
217
+ });
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
+ }
227
+ }), f && (o = Object.assign(o, { [f]: l }));
228
+ });
229
+ } else
230
+ r.forEach((c) => {
231
+ const f = g(c == null ? void 0 : c.id);
232
+ re(f) && (o = Object.assign(o, f));
233
+ });
234
+ return o;
235
+ }, V = (r) => {
236
+ var m = {};
237
+ return r == null || r.forEach((o) => {
238
+ var v;
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
+ }), m;
241
+ }, E = (r, m, o) => {
242
+ if (o === Ce.Inner2Inner) {
243
+ const l = qn(m), { updateFomula: b } = yt(), { buildVariable: I } = er();
244
+ var v = V(r);
245
+ if (re(v)) {
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
+ });
250
+ return J.setOrgOption(l, $.defaultValue, ht(f)), l;
251
+ }
252
+ }
253
+ return m;
254
+ }, C = (r) => {
255
+ const m = r == null ? void 0 : r.id;
256
+ var o = J.getOrgOption(r, $.defaultValue);
257
+ if (o == null)
258
+ return;
259
+ const v = zn(u, m);
260
+ if (v === Ce.DiffInner)
261
+ return;
262
+ var c = Ct.getFormulaRelatedField(o);
263
+ if (!c || c.length <= 0)
264
+ return;
265
+ var f = S(c, v);
266
+ if (!(f != null && f.some((b) => b.id === u)))
267
+ return;
268
+ const l = d(f, v);
269
+ K(E(f, r, v), l);
270
+ };
271
+ (() => {
272
+ var r;
273
+ (r = T()) == null || r.forEach((m) => {
274
+ C(m);
275
+ });
276
+ })();
277
+ }, mr = (n, u, p, P, D) => {
278
+ var S;
279
+ if (be(D) || !re(p))
280
+ return;
281
+ const { parseGroupId: F } = pt();
282
+ var a = F(u), T = a == null ? void 0 : a.groupName;
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
+ var l = F(f == null ? void 0 : f.id);
287
+ return (!T || (l == null ? void 0 : l.groupName) === T) && (l == null ? void 0 : l.id) === d;
288
+ })) == null ? void 0 : c[0];
289
+ if (!C)
290
+ return;
291
+ const x = J.getName(C), m = new $e(n).getWidgetRef(x);
292
+ m && (V == null || V(m));
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
+ !h || h.length <= 0 || h == null || h.forEach((d) => {
295
+ var E, C;
296
+ const V = (E = p == null ? void 0 : p[d]) == null ? void 0 : E.result;
297
+ (C = Y(V)) == null || C.forEach((x) => {
298
+ var m;
299
+ const r = V == null ? void 0 : V[x];
300
+ (m = r == null ? void 0 : r.ids) == null || m.forEach((o) => {
301
+ K(o, (v) => {
302
+ N(v, r == null ? void 0 : r.event, r == null ? void 0 : r.args);
303
+ });
304
+ });
305
+ });
306
+ });
307
+ };
308
+ function bt(n, u) {
309
+ var p;
310
+ return (p = n == null ? void 0 : n.classList) != null && p.contains(u) ? n : n != null && n.parentElement ? bt(n == null ? void 0 : n.parentElement, u) : null;
311
+ }
312
+ function dr() {
313
+ const n = (g) => {
314
+ if (g)
315
+ return g != null && g.ref ? g == null ? void 0 : g.ref : g;
316
+ }, u = (g) => {
317
+ var h, S;
318
+ try {
319
+ (S = (h = n(g)) == null ? void 0 : h.focus) == null || S.call(h);
320
+ } catch (d) {
321
+ oe.error("focus", d, g);
322
+ }
323
+ }, p = (g) => {
324
+ var h, S;
325
+ try {
326
+ (S = (h = n(g)) == null ? void 0 : h.blur) == null || S.call(h);
327
+ } catch (d) {
328
+ oe.error("blur", d, g);
329
+ }
330
+ }, P = (g) => {
331
+ var h;
332
+ return (h = n(g)) == null ? void 0 : h.selectionStart;
333
+ }, D = (g) => {
334
+ var h;
335
+ return (h = n(g)) == null ? void 0 : h.selectionEnd;
336
+ }, F = (g, h) => {
337
+ var S;
338
+ return (S = n(g)) == null ? void 0 : S.setSelectionRange(h, h);
339
+ }, a = (g, h) => {
340
+ u(g), F(g, h);
341
+ };
342
+ return {
343
+ getSelectionStart: P,
344
+ getSelectionEnd: D,
345
+ setSelectionStart: F,
346
+ blur: p,
347
+ focus: u,
348
+ setMousePos: a,
349
+ getMousePos: (g) => P(g),
350
+ insertOnMousePos: (g, h, S) => {
351
+ const d = P(g), V = D(g), E = Xn(S, h, d, V);
352
+ return mt(() => {
353
+ a(g, d + (h == null ? void 0 : h.length));
354
+ }), E;
355
+ },
356
+ deleteOnMousePos: (g, h) => Yn(h, g)
357
+ };
358
+ }
359
+ const vr = (n) => {
360
+ var p;
361
+ const { getFormulaFields: u } = yt();
362
+ return ((p = u(Ee(n))) == null ? void 0 : p.length) > 0;
363
+ }, X = (n) => {
364
+ const u = n.type;
365
+ //![WidgetType.fileUpload, WidgetType.pictureUpload].includes(wtype) &&
366
+ return n.formItemFlag || [z.form, z.dialog].includes(u);
367
+ }, Ne = (n) => {
368
+ const u = n.type;
369
+ return [z.treeSelect, z.cascader, z.select, z.checkbox, z.radio].includes(u);
370
+ };
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
+ let x = An(E || {});
374
+ const r = Re(S), m = Re(h), { instance: o } = Ot(), v = vr(a), c = () => te(x), f = () => C, l = () => a, b = {
375
+ designState: u,
376
+ pageConfig: N,
377
+ formData: u || !v ? {} : x,
378
+ globalConfig: d
379
+ }, I = {
380
+ instance: o,
381
+ ...b
382
+ }, R = ft(I), q = {
383
+ exposed: {
384
+ getFormData: !u && v ? c : null,
385
+ findRefByName: r.getWidgetRef,
386
+ fieldEditor: () => G.value,
387
+ getField: l,
388
+ getRowScope: f,
389
+ /**
390
+ * 此处暴露schemadata方法
391
+ * 为实现全局变量中能访问到全局数据源ctx.instance.exposed.getOneSchemaData等数据源求值方法
392
+ */
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
+ }
398
+ }, j = {
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
+ var O;
403
+ if (![z.wrapper].includes(a.type) && a.category == ar.container)
404
+ return w.value;
405
+ var e = Je(W.disabled, w.value), t = Je(W.readonly, w.value);
406
+ if (pe(w.value, W.disabled) && !pe(w.value, W.readonly)) {
407
+ var s = (e == null ? void 0 : e.disabled) === !0;
408
+ if (!s) {
409
+ var i = (O = be(g)) == null ? void 0 : O[W.readonly], y = i === !0;
410
+ e[W.disabled] = y;
411
+ }
412
+ }
413
+ return {
414
+ ...w.value,
415
+ ...e,
416
+ ...t
417
+ };
418
+ }), Je = (e, t) => {
419
+ var s;
420
+ return pe(t, e) ? {
421
+ [e]: ((s = be(g)) == null ? void 0 : s[e]) || (t == null ? void 0 : t[e])
422
+ } : {};
423
+ };
424
+ let _e = null, _ = ie();
425
+ const G = ie(), wt = () => M.value, ze = () => `${a == null ? void 0 : a.id}-${cr()}`, Pe = ie(ze()), Qe = () => {
426
+ Pe.value = ze();
427
+ }, en = he({
428
+ get: () => {
429
+ if (Be(_.value)) {
430
+ var e = Number(_.value);
431
+ return isNaN(e) ? void 0 : (_.value = e, e);
432
+ }
433
+ return _.value;
434
+ },
435
+ set: (e) => {
436
+ _.value = e;
437
+ }
438
+ }), tn = he({
439
+ get: () => {
440
+ if (Be(_.value)) {
441
+ var e = ht(_.value);
442
+ Jn(e) && (_.value = e);
443
+ }
444
+ return _.value;
445
+ },
446
+ set: (e) => {
447
+ _.value = e;
448
+ }
449
+ }), nn = (e) => {
450
+ var s, i;
451
+ var t = (i = (s = r.getWidgetRef(M.value)) == null ? void 0 : s.exposed) == null ? void 0 : i.loadOptionItems;
452
+ if (t !== void 0) {
453
+ t == null || t(e);
454
+ return;
455
+ }
456
+ Ke(e);
457
+ }, Se = (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
+ }, Xe = (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
+ }, rn = (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
+ }, ee = (e) => {
467
+ var O;
468
+ if (!qt())
469
+ return;
470
+ const t = (O = xe.value) == null ? void 0 : O.withAttachData;
471
+ if (!Ne(a) || t === !1)
472
+ return;
473
+ const s = Xe(e), i = rn(e);
474
+ var y = te(Se(e));
475
+ Ye(s, y, i);
476
+ }, Ye = (e, t, s) => {
477
+ var i = {};
478
+ if (e != null) {
479
+ let y = ue("textName");
480
+ [`${M.value}${ye.optionText}`, y].forEach((O) => {
481
+ O && i[O] === void 0 && (i[O] = e);
482
+ });
483
+ }
484
+ if (t != null) {
485
+ let y = ue("optionName");
486
+ [`${M.value}${ye.checkedOptions}`, y].forEach((O) => {
487
+ O && i[O] === void 0 && (i[O] = t);
488
+ });
489
+ }
490
+ if (s != null) {
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
+ });
497
+ }
498
+ Ze(te(i));
499
+ }, Q = (e) => {
500
+ if (X(a)) {
501
+ ee(e);
502
+ var t = { [M.value]: e };
503
+ Ze(t);
504
+ }
505
+ }, Ze = (e) => {
506
+ Oe(x, e);
507
+ }, ae = (e) => {
508
+ u || Q(e);
509
+ }, we = (e) => ue(e), et = () => {
510
+ var e = Gn(x);
511
+ _ = Ct.get(e, M.value);
512
+ }, tt = (e) => {
513
+ _e = te(e);
514
+ }, on = (e) => {
515
+ u || D && D(e);
516
+ }, sn = () => {
517
+ de() && Ve(me()).then((e) => {
518
+ Q(e), et();
519
+ });
520
+ };
521
+ let nt = {};
522
+ const ve = (e, t) => {
523
+ if (!X(a))
524
+ return;
525
+ var s = { newValue: e, oldValue: t };
526
+ if (Ee(s) == Ee(nt))
527
+ return;
528
+ Object.assign(nt, s), ke($.fieldValueChanged, s);
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
+ ae(e), rt(), We($.onInput, { value: e });
533
+ }, cn = (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
+ }, fn = (...e) => {
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
+ s = te(s);
540
+ var i = cn(s, _e);
541
+ i != null ? ae(i) : ae(s), ve(s, _e), rt(), tt(s);
542
+ }, ln = (e = !0) => {
543
+ se(W.readonly, e);
544
+ }, mn = (e = !0) => {
545
+ se(W.disabled, e);
546
+ }, dn = (e = !0) => {
547
+ se(W.hidden, e), e ? st() : ge();
548
+ }, vn = (e = !0) => {
549
+ Jt(W.required, e), ge();
550
+ }, gn = (e) => {
551
+ se(W.label, e);
552
+ }, U = () => _ == null ? void 0 : _.value, Fe = (e) => {
553
+ _.value = e, ee(e);
554
+ }, ce = (e) => {
555
+ let t = te(U());
556
+ if (Fe(e), !X(a))
557
+ return;
558
+ const s = U();
559
+ t !== s && (ae(s), ve(e, t));
560
+ }, hn = () => {
561
+ de() ? Ve(me()).then((e) => {
562
+ Q(e);
563
+ }) : Q(null), P == null || P();
564
+ }, pn = (e) => {
565
+ const t = U(), s = Z.insertOnMousePos(G.value, e, t);
566
+ ce(s);
567
+ }, On = (e) => {
568
+ const t = U(), s = Z.deleteOnMousePos(e, t);
569
+ ce(s);
570
+ }, Vn = (e, t) => {
571
+ ne(() => _ == null ? void 0 : _.value, (s, i) => {
572
+ e == null || e({ id: a.id, name: M.value, newValue: s, oldValue: i });
573
+ }, t);
574
+ }, Cn = (e) => {
575
+ var O;
576
+ e.preventDefault();
577
+ const t = (B) => {
578
+ var H;
579
+ const L = (H = Array.from(B.classList)) == null ? void 0 : H.find((Te) => Mt(Te));
580
+ return L ? xt(L) : "";
581
+ }, s = document.activeElement;
582
+ if (!s)
583
+ return;
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
+ if (!L)
588
+ continue;
589
+ const H = t(B), Te = t(L);
590
+ if (H === Te) {
591
+ if (y === i.length - 1)
592
+ return;
593
+ const Dn = i[y + 1], In = t(Dn), De = r.findRefById(In, o);
594
+ try {
595
+ (O = De == null ? void 0 : De.exposed) == null || O.focus();
596
+ } catch (Nn) {
597
+ oe.error("handleEnter", Nn);
598
+ }
599
+ }
600
+ }
601
+ };
602
+ let yn = () => {
603
+ var B;
604
+ let e = {
605
+ componentName: M.value,
606
+ //用于组件事件emitter发射与接收处理
607
+ refList: h,
608
+ allRefList: S,
609
+ fieldEditor: () => G.value,
610
+ changeRegisterToRefList: (L, H) => {
611
+ r.changeRegisterToRefList(L, H), m.changeRegisterToRefList(L, H);
612
+ },
613
+ getField: l,
614
+ getFormData: c,
615
+ getValue: U,
616
+ setValue: Fe,
617
+ emit$: ke,
618
+ findRefByName: r.getWidgetRef,
619
+ findRefById: r.findRefById,
620
+ callRefFunc: r.callRefFunc,
621
+ getWidgetOption: le,
622
+ setWidgetOption: se,
623
+ refreshKey: Qe,
624
+ getRowScope: f,
625
+ //组件的数据绑定:继承的数据,用于计算组件属性变量
626
+ getOneSchemaData: _t,
627
+ getSchemaDatas: St,
628
+ getSchemaDataObject: Pt,
629
+ getGlobalParams: Wt,
630
+ addCssClass: Yt,
631
+ removeCssClass: Zt
632
+ }, t = {
633
+ resetField: hn,
634
+ getValue: U,
635
+ setValue: ce,
636
+ refreshDefaultValue: sn,
637
+ insertOnMousePos: pn,
638
+ deleteOnMousePos: On,
639
+ disableChangeValidate: It,
640
+ enableChangeValidate: Nt,
641
+ focus: () => {
642
+ Z.focus(G.value);
643
+ },
644
+ blur: () => {
645
+ Z.blur(G.value);
646
+ },
647
+ getMousePos: () => {
648
+ Z.getMousePos(G.value);
649
+ },
650
+ setMousePos: (L) => {
651
+ Z.setMousePos(G.value, L);
652
+ }
653
+ }, s = {
654
+ loadOptionItems: nn,
655
+ getCheckedItems: Se,
656
+ getCheckedLabels: Xe
657
+ }, i = {
658
+ [W.required]: { name: A.setRequired, fn: vn },
659
+ [W.label]: { name: A.setLabel, fn: gn },
660
+ [W.hidden]: { name: A.setHidden, fn: dn },
661
+ [W.disabled]: { name: A.setDisabled, fn: mn },
662
+ [W.readonly]: { name: A.setReadonly, fn: ln }
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
+ }
669
+ });
670
+ var O = Oe(e, y);
671
+ return X(a) && (O = Oe(O, t)), Ne(a) && (O = Oe(O, s)), O;
672
+ };
673
+ const bn = he(() => ({
674
+ attrs: Ue.value,
675
+ extendAttrs: xe.value,
676
+ events: k.value,
677
+ slots: He.value,
678
+ fieldKey: Pe.value,
679
+ fieldEditor: G.value,
680
+ fieldName: M.value
681
+ })), En = (e) => {
682
+ u && n.designer && ne(() => {
683
+ var t;
684
+ return (t = n == null ? void 0 : n.widget) == null ? void 0 : t[e];
685
+ }, (t, s) => {
686
+ const { emitHistoryChange: i } = ur(n.designer);
687
+ i(`edit ${M.value}.${e},newValue:${t},oldValue:${s}`);
688
+ }, {
689
+ deep: !0
690
+ });
691
+ }, Rn = (e, t, s) => {
692
+ const i = ie(), y = we(e), O = (B) => {
693
+ t && (i.value = t(B || y));
694
+ };
695
+ return dt(y) ? ne(y, (B) => {
696
+ O(B), s && s(B);
697
+ }) : O(y), i;
698
+ }, Mn = () => {
699
+ !X(a) || u || Vn((e) => {
700
+ const t = a == null ? void 0 : a.id;
701
+ lr(S, t, j), mr(S, t, J.getOptions(a, W.relate), e), ee(e.newValue), setTimeout(() => {
702
+ ee(e.newValue), on(e == null ? void 0 : e.newValue);
703
+ }, 1e3), ve(e.newValue, e.oldValue);
704
+ }, { immediate: !0 });
705
+ }, rt = () => {
706
+ const e = { propName: M.value };
707
+ Me(V, $.fieldValidation, e, o);
708
+ }, ot = () => {
709
+ const e = { fieldId: a.id, fieldName: M.value, rules: Ge };
710
+ Me(V, $.fieldRuleChange, e, o);
711
+ }, ge = () => {
712
+ if (!X(a))
713
+ return;
714
+ const e = Tt();
715
+ return ot(), e;
716
+ }, st = () => {
717
+ Dt(), ot();
718
+ }, xn = () => {
719
+ Ie(a, "change") && (k.value.change = fn), Ie(a, "input") && (k.value.input = an), Ae(Zn.setFormData, (e) => {
720
+ ce(e[M.value]);
721
+ }), Ae($.fieldValueChanged, (e) => {
722
+ We($.onChange, { value: e == null ? void 0 : e.newValue, oldValue: e == null ? void 0 : e.oldValue });
723
+ });
724
+ }, _n = () => {
725
+ let e = M.value;
726
+ X(a) ? ((!pe(x, e) || x[e] === void 0) && (Q(null), de() && Ve(me()).then((t) => {
727
+ t == null ? Q(null) : Q(t);
728
+ })), et()) : de() && Ve(me()).then((t) => {
729
+ ce(t);
730
+ }), tt(U());
731
+ }, Pn = () => {
732
+ Ne(a) && ne(() => fe == null ? void 0 : fe.value, (e, t) => {
733
+ ee(_.value);
734
+ }, { immediate: !0 });
735
+ }, Sn = () => {
736
+ qe(W.css).then((e) => {
737
+ ut();
738
+ });
739
+ }, Wn = () => {
740
+ const e = Hn(wn.isRenderComplete), t = () => 10, s = () => {
741
+ setTimeout(() => {
742
+ K.value = !0, Pn(), Mn(), ge();
743
+ }, t());
744
+ };
745
+ if (e != null && e.value) {
746
+ s();
747
+ return;
748
+ }
749
+ e != null && ne(() => e == null ? void 0 : e.value, (i) => {
750
+ i && s();
751
+ }, { immediate: !0 });
752
+ }, Fn = () => {
753
+ var e, t;
754
+ if (p)
755
+ try {
756
+ _n(), xn(), r.registerToRefList(M.value), m.registerToRefList(M.value), (t = (e = k == null ? void 0 : k.value) == null ? void 0 : e.created) == null || t.call(e), Et();
757
+ } catch (s) {
758
+ oe.error("create", s);
759
+ }
760
+ }, Tn = () => {
761
+ p && (lt(() => {
762
+ var e, t;
763
+ try {
764
+ ut(), Sn(), Wn(), (t = (e = k == null ? void 0 : k.value) == null ? void 0 : e.mounted) == null || t.call(e);
765
+ } catch (s) {
766
+ oe.error("mounted", s, a);
767
+ }
768
+ }), kn(() => {
769
+ r.unregisterFromRefList(M.value), m.unregisterFromRefList(M.value);
770
+ }));
771
+ }, ut = () => {
772
+ const e = a == null ? void 0 : a.id, t = le(W.css);
773
+ t && e && nr(t).then((s) => {
774
+ rr(s, e);
775
+ });
776
+ };
777
+ return Fn(), Tn(), {
778
+ exposed: yn(),
779
+ fieldModel: _,
780
+ objFieldModel: tn,
781
+ numFieldModel: en,
782
+ fieldEditor: G,
783
+ fieldKey: Pe,
784
+ field: a,
785
+ instance: o,
786
+ attrs: Ue,
787
+ extendAttrs: xe,
788
+ slots: He,
789
+ events: k,
790
+ rules: Ge,
791
+ fieldObj: bn,
792
+ getValue: U,
793
+ setValue: Fe,
794
+ pageConfig: N,
795
+ formModel: x,
796
+ fieldName: M,
797
+ propResultOpt: j,
798
+ optionItems: fe,
799
+ activeOptionItems: Ht,
800
+ activeOptionItem: Gt,
801
+ activeOptionItemIndex: Kt,
802
+ refreshOptionItems: Bt,
803
+ refreshOptionField: ee,
804
+ filterOptionItems: Lt,
805
+ setOptionItems: Ke,
806
+ getCheckedItems: Se,
807
+ getCheckedOptionItems: (e, t) => kt(e || _.value, t),
808
+ getCheckedOptionLabels: (e, t) => At(e || _.value, t),
809
+ getCheckedOptionValues: (e, t) => $t(e || _.value, t),
810
+ getCheckedOptionText: (e, t) => jt(e || _.value, t),
811
+ refreshKey: Qe,
812
+ watchKeyValue: Rn,
813
+ watchPropAndSaveHistoryStep: En,
814
+ existEvent: un,
815
+ handleEvent: We,
816
+ handleEnter: Cn,
817
+ getPropName: wt,
818
+ emitFieldDataChange: ve,
819
+ syncUpdateFormModel: ae,
820
+ getWidgetRef: r.getWidgetRef,
821
+ clearRules: st,
822
+ buildRules: ge,
823
+ getFieldOptionModel: we,
824
+ getFieldOptions: ue,
825
+ hasFieldOptions: zt,
826
+ setFieldOptions: Qt,
827
+ getWidgetOption: le,
828
+ getWidgetOptionByPropValue: Ut,
829
+ singleOption: Xt,
830
+ watchOption: qe,
831
+ mergeOptionToFormModel: Ye
832
+ };
833
+ }
834
+ export {
835
+ $e as R,
836
+ Re as a,
837
+ xr as b,
838
+ fr as u
839
+ };