hlrender 0.0.300 → 0.0.301

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 (136) hide show
  1. package/{_pdf-e68e8d5d.js → _pdf-8b160eff.js} +5 -5
  2. package/{_txt-4a27d3ca.js → _txt-f40ce403.js} +5 -5
  3. package/{_unsupport-9485bd43.js → _unsupport-a7ed2aa1.js} +1 -1
  4. package/{affix-widget-b2e913ba.js → affix-widget-f1f7c334.js} +15 -15
  5. package/{alert-widget-559a7fb9.js → alert-widget-dafd0736.js} +15 -15
  6. package/{anchor-widget-72d5be12.js → anchor-widget-efc7f60b.js} +12 -12
  7. package/{auto-complete-widget-17ea317b.js → auto-complete-widget-fc55aeda.js} +15 -15
  8. package/{avatar-widget-46cab21f.js → avatar-widget-4f1c9799.js} +15 -15
  9. package/{backtop-widget-35953616.js → backtop-widget-fd54382e.js} +15 -15
  10. package/{badge-widget-811693e3.js → badge-widget-fa7934d1.js} +15 -15
  11. package/{barcode-widget-6c8b2ec1.js → barcode-widget-bd46e6ca.js} +12 -12
  12. package/{baseCommonField-44b5f000.js → baseCommonField-1576469d.js} +5 -5
  13. package/{breadcrumb-widget-92ff4fbc.js → breadcrumb-widget-1e767dfe.js} +12 -12
  14. package/{button-widget-53b710e0.js → button-widget-219a516b.js} +15 -15
  15. package/{cache-widget-f96244cf.js → cache-widget-886af07e.js} +14 -14
  16. package/{card-widget-d635c367.js → card-widget-f784807f.js} +13 -13
  17. package/{carousel-widget-ca4d6787.js → carousel-widget-b45a4c3a.js} +13 -13
  18. package/{cascader-widget-0c923bf0.js → cascader-widget-0ad522fd.js} +14 -14
  19. package/{chart-widget-29480606.js → chart-widget-2c310d33.js} +12 -12
  20. package/{checkbox-widget-f2f40ad1.js → checkbox-widget-2c8cd56b.js} +14 -14
  21. package/{collapse-widget-7848e0c6.js → collapse-widget-2e84684b.js} +13 -13
  22. package/{color-picker-widget-db161c44.js → color-picker-widget-8c360bd8.js} +14 -14
  23. package/{cont-cell-widget-2dda7993.js → cont-cell-widget-7a694eb0.js} +1 -1
  24. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-9eb0143f.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a879ce0a.js} +5 -5
  25. package/{cont-widget-6226c47f.js → cont-widget-4e372062.js} +5 -5
  26. package/{content-wrapper-48e88737.js → content-wrapper-969b957e.js} +6 -6
  27. package/{content-wrapper.vue_vue_type_script_setup_true_lang-75e0ef9d.js → content-wrapper.vue_vue_type_script_setup_true_lang-689164d8.js} +3 -3
  28. package/{countdown-widget-879d9b43.js → countdown-widget-72309b28.js} +15 -15
  29. package/{cssClass-dc438bc9.js → cssClass-cafeebc1.js} +2 -2
  30. package/{date-picker-range-widget-8d9d2102.js → date-picker-range-widget-51f37d60.js} +14 -14
  31. package/{date-picker-widget-43373db6.js → date-picker-widget-6f138419.js} +14 -14
  32. package/default-slot-widget-6d8e57e2.js +27 -0
  33. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-acc03fa4.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-913b8715.js} +7 -7
  34. package/{descriptions-widget-500c16a2.js → descriptions-widget-b71f5705.js} +13 -13
  35. package/{dialog-34ee2079.js → dialog-43787088.js} +2 -2
  36. package/{dialog-widget-fc7f07d6.js → dialog-widget-61a9ddeb.js} +14 -14
  37. package/{divider-widget-987e4f52.js → divider-widget-2f195eb8.js} +15 -15
  38. package/{drag-wrapper-10604bc7.js → drag-wrapper-cf97651b.js} +6 -6
  39. package/{drawer-widget-567df270.js → drawer-widget-2737f26d.js} +14 -14
  40. package/{dropdown-widget-4cc6010e.js → dropdown-widget-260308ac.js} +13 -13
  41. package/{empty-widget-2f21dbb6.js → empty-widget-c8970a55.js} +15 -15
  42. package/{expression-77bfd092.js → expression-153fa22a.js} +525 -514
  43. package/feedback-widget-4167c2a9.js +27 -0
  44. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-5fd8e4cb.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-87912f31.js} +6 -6
  45. package/{fieldobj-01e27278.js → fieldobj-fd67714d.js} +1 -1
  46. package/{file-upload-widget-508abb18.js → file-upload-widget-b32ee3d1.js} +19 -19
  47. package/{form-item-wrapper-a89bc7f0.js → form-item-wrapper-0e8696a9.js} +10 -10
  48. package/form-widget-e078a28d.js +281 -0
  49. package/{globalProvideInject-a89dc815.js → globalProvideInject-d7642328.js} +4 -4
  50. package/{grid-col-widget-855f21b4.js → grid-col-widget-8d4b7168.js} +1 -1
  51. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c6b8a4d3.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-25426e00.js} +5 -5
  52. package/{grid-widget-e6c505aa.js → grid-widget-dac18949.js} +5 -5
  53. package/{hcard-widget-536cfd3a.js → hcard-widget-c0f56251.js} +13 -13
  54. package/{html-text-widget-6bd9267c.js → html-text-widget-fb156b68.js} +13 -13
  55. package/{icon-0ca24090.js → icon-8f3b4dab.js} +1 -1
  56. package/{icon-widget-babee782.js → icon-widget-16132d4d.js} +12 -12
  57. package/{iframe-widget-759060e3.js → iframe-widget-359b32ab.js} +13 -13
  58. package/{image-widget-f5278dc0.js → image-widget-7886b246.js} +12 -12
  59. package/{index-47aab2c3.js → index-452c3bf8.js} +2 -2
  60. package/{index-94a85019.js → index-5d5e7eda.js} +1 -1
  61. package/{index-d97ef923.js → index-655310ac.js} +3 -3
  62. package/{input-number-widget-a2d5dcfd.js → input-number-widget-6b5ad705.js} +14 -14
  63. package/{input-tag-widget-e4847b69.js → input-tag-widget-048651cb.js} +15 -15
  64. package/{input-widget-f81875ae.js → input-widget-9018b554.js} +15 -15
  65. package/{label-wrapper-c1415e92.js → label-wrapper-f028de58.js} +5 -5
  66. package/{label-wrapper.vue_vue_type_style_index_0_lang-e6ad822f.js → label-wrapper.vue_vue_type_style_index_0_lang-aa299979.js} +3 -3
  67. package/{link-widget-10b7c02a.js → link-widget-830eab00.js} +15 -15
  68. package/{ltable-col-widget-aeab6c52.js → ltable-col-widget-91d3adb5.js} +1 -1
  69. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-ad7d34cb.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-dd26bb29.js} +9 -9
  70. package/{ltable-widget-fc6917b4.js → ltable-widget-9742db38.js} +5 -5
  71. package/{mask-a004d9f4.js → mask-00028472.js} +1 -1
  72. package/{mention-widget-dbd328b0.js → mention-widget-d95f4853.js} +15 -15
  73. package/{menu-widget-32f684ba.js → menu-widget-22dd7147.js} +13 -13
  74. package/{model-widget-d020d042.js → model-widget-58e2dcfe.js} +12 -12
  75. package/{multirow-315fa08a.js → multirow-9367073f.js} +6 -6
  76. package/{multirow-widget-24cd39cb.js → multirow-widget-23d8fe65.js} +14 -14
  77. package/package.json +1 -1
  78. package/{pagination-widget-a8a3a7c6.js → pagination-widget-462f89ed.js} +12 -12
  79. package/{picture-upload-widget-301befe2.js → picture-upload-widget-d00e1f75.js} +15 -15
  80. package/{progress-widget-d7f4d9d0.js → progress-widget-edf2c5f5.js} +13 -13
  81. package/{qrcode-widget-6da199a9.js → qrcode-widget-63e62477.js} +12 -12
  82. package/radio-widget-9afdc4da.js +92 -0
  83. package/{range-widget-b3466cea.js → range-widget-2f7aaf21.js} +15 -15
  84. package/{rate-widget-4853f97e.js → rate-widget-9626709a.js} +14 -14
  85. package/render.es.js +33 -33
  86. package/render.style.css +1 -1
  87. package/render.umd.js +149 -149
  88. package/{result-widget-71742098.js → result-widget-3fbc819c.js} +13 -13
  89. package/{rich-editor-widget-4a4434c7.js → rich-editor-widget-ea50e6d4.js} +14 -14
  90. package/{router-widget-ba47cde0.js → router-widget-04cef16a.js} +12 -12
  91. package/{segmented-widget-1ea3f0b8.js → segmented-widget-c93ab0eb.js} +12 -12
  92. package/{select-widget-6645ee75.js → select-widget-4b3c1c88.js} +14 -14
  93. package/{sfc-8bdf2037.js → sfc-55fda8b7.js} +7 -7
  94. package/{sfcview-502ddc7c.js → sfcview-36ffb71a.js} +6 -6
  95. package/share-field-2a80093b.js +851 -0
  96. package/{share-file-542b5361.js → share-file-4414c163.js} +5 -5
  97. package/{skeleton-widget-bb334695.js → skeleton-widget-a6982db9.js} +15 -15
  98. package/{skeletonItem-widget-c1f22df5.js → skeletonItem-widget-682c51c4.js} +12 -12
  99. package/{slider-widget-cf2393ba.js → slider-widget-831746be.js} +14 -14
  100. package/{slot-2253c2ab.js → slot-ac364a94.js} +3 -3
  101. package/{space-widget-14c8dd5b.js → space-widget-8ebdf633.js} +13 -13
  102. package/{splitter-widget-20b904f0.js → splitter-widget-2cfb1d05.js} +13 -13
  103. package/{static-text-widget-613ef808.js → static-text-widget-c0108a84.js} +13 -13
  104. package/{statistic-widget-a3cd0c00.js → statistic-widget-08de645a.js} +15 -15
  105. package/{steps-widget-fdb4229b.js → steps-widget-99347f03.js} +12 -12
  106. package/{subMenu-widget-109773a2.js → subMenu-widget-e12ca03b.js} +7 -7
  107. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-b5fb8d52.js → subMenu-widget.vue_vue_type_script_setup_true_lang-570cfc6e.js} +3 -3
  108. package/{switch-widget-482aac00.js → switch-widget-224711c3.js} +14 -14
  109. package/{tab-pane-widget-b15a782e.js → tab-pane-widget-e956cafc.js} +1 -1
  110. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-4071539a.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ee14df24.js} +5 -5
  111. package/{table-col-widget-086d5931.js → table-col-widget-a29f251c.js} +10 -10
  112. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-6a481386.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-82fcb967.js} +6 -6
  113. package/table-widget-1609d9a1.js +364 -0
  114. package/{tabs-widget-534f567d.js → tabs-widget-875921c3.js} +7 -7
  115. package/{tag-widget-c686d071.js → tag-widget-70647c39.js} +15 -15
  116. package/{text-widget-e70b631a.js → text-widget-899b644d.js} +15 -15
  117. package/{textarea-widget-4f246003.js → textarea-widget-100a3642.js} +14 -14
  118. package/{time-picker-range-widget-3d2f905f.js → time-picker-range-widget-8d2da050.js} +14 -14
  119. package/{time-picker-widget-9f6a09ab.js → time-picker-widget-b541e3dd.js} +14 -14
  120. package/{time-select-widget-6e19a308.js → time-select-widget-6b8e4115.js} +14 -14
  121. package/{timeline-widget-34b97bbd.js → timeline-widget-c240c187.js} +13 -13
  122. package/{tmpl-widget-46aef2fa.js → tmpl-widget-280909f6.js} +13 -13
  123. package/{tooltip-widget-2de67881.js → tooltip-widget-d77c2230.js} +13 -13
  124. package/{tour-widget-24bd562e.js → tour-widget-99cfeabc.js} +12 -12
  125. package/{transfer-widget-6b3bea6d.js → transfer-widget-5d716c88.js} +15 -15
  126. package/{tree-select-widget-d8dfb45d.js → tree-select-widget-4d9e0970.js} +14 -14
  127. package/{tree-widget-08c88bf9.js → tree-widget-921f1b7e.js} +12 -12
  128. package/{verifycode-widget-d3f00965.js → verifycode-widget-41007731.js} +12 -12
  129. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-e8cd3d59.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-344b382a.js} +6 -6
  130. package/{wrapper-widget-7b3d2099.js → wrapper-widget-48055b9f.js} +7 -7
  131. package/default-slot-widget-e06f8eb1.js +0 -27
  132. package/feedback-widget-f842fdd8.js +0 -27
  133. package/form-widget-82fe1f4c.js +0 -280
  134. package/radio-widget-595fac34.js +0 -88
  135. package/share-field-6706c86f.js +0 -857
  136. package/table-widget-b00e5bdf.js +0 -366
@@ -1,857 +0,0 @@
1
- var An = Object.defineProperty;
2
- var kn = (r, c, g) => c in r ? An(r, c, { enumerable: !0, configurable: !0, writable: !0, value: g }) : r[c] = g;
3
- var ft = (r, c, g) => (kn(r, typeof c != "symbol" ? c + "" : c, g), g);
4
- import { onMounted as ht, nextTick as gt, onActivated as $n, onErrorCaptured as Gn, toRaw as Ot, isRef as Ct, watch as ne, reactive as ge, inject as Ae, computed as Oe, ref as Ce, onBeforeUnmount as Kn, toRefs as Hn } from "vue";
5
- import { l as oe, c as Vt, t as yt, i as bt, o as re, x as Me, g as z, C as qn, h as Ge, f as Et, k as Un, y as q, H as Jn, d as w, G as lt, u as Ve, a as mt, n as zn, A as ye } from "./index-94a85019.js";
6
- import { p as xe, g as Qn, f as be, b as Xn, a as Yn } from "./multirow-315fa08a.js";
7
- import { u as Rt, W as U, C as Zn } from "./icon-0ca24090.js";
8
- import { a as K, v as Re, x as wn, y as eo, g as T, d as ke, z as dt, w as to, f as vt } from "./expression-77bfd092.js";
9
- import { P as We, m as no, B as Se, k as Ke, n as oo, W as Q, a as pt, h as ro, C as so, c as ao, i as uo } from "./baseCommonField-44b5f000.js";
10
- import { F as co, c as io, h as $e } from "./globalProvideInject-a89dc815.js";
11
- import { b as fo, a as lo } from "./slot-2253c2ab.js";
12
- function mo() {
13
- return {
14
- onMountedOrActivated: (g) => {
15
- let b = !1;
16
- ht(() => {
17
- g(), gt(() => {
18
- b = !0;
19
- });
20
- }), $n(() => {
21
- b && g();
22
- });
23
- },
24
- onCompErrorCaptured: () => {
25
- Gn((g) => (oe.error("onCompErrorCaptured", g), !1));
26
- }
27
- };
28
- }
29
- class He {
30
- constructor(c) {
31
- ft(this, "refList", {});
32
- c && (this.refList = c);
33
- }
34
- initRefList() {
35
- this.refList || (this.refList = {});
36
- }
37
- getWidgetRef(c) {
38
- if (c)
39
- return this.initRefList(), this.refList[c];
40
- }
41
- setWidgetRef(c, g) {
42
- c && (this.initRefList(), this.refList[c] = g);
43
- }
44
- removeWidgetRef(c) {
45
- c && this.refList && delete this.refList[c.toString()];
46
- }
47
- }
48
- function Pe(r) {
49
- r || (r = {});
50
- const c = new He(r), { instance: g } = Rt(), b = (d) => c.getWidgetRef(d == null ? void 0 : d.toString()), D = (d, S, O) => {
51
- var V = [], E = [];
52
- let L = b(d);
53
- return L && V.push(L), V == null || V.forEach((s) => {
54
- var p = W(s, S, O);
55
- p && E.push(p);
56
- }), E;
57
- }, u = (d, S) => {
58
- var O;
59
- return (O = d == null ? void 0 : d.exposed) == null ? void 0 : O[S.toString()];
60
- }, W = (d, S, O) => {
61
- var V = u(d, S);
62
- if (V) {
63
- var E = [];
64
- return O && (E = Object.values(O)), V(...E);
65
- }
66
- }, F = (d, S, O) => {
67
- var V = [];
68
- if (d) {
69
- var E = Vt(yt(d, !0));
70
- E == null || E.forEach((L) => {
71
- var s = D(L, S, O);
72
- bt(s) || V.push(s);
73
- });
74
- }
75
- return Array.isArray(d) ? V : V == null ? void 0 : V[0];
76
- }, x = (d, S) => {
77
- let O = re(r);
78
- F(O, d, S);
79
- }, B = (d, S) => {
80
- var p, o, a, f;
81
- const O = (a = (o = (p = S || g) == null ? void 0 : p.exposed) == null ? void 0 : o.getField) == null ? void 0 : a.call(o);
82
- var V = xe(O == null ? void 0 : O.id);
83
- const E = (l) => (l == null ? void 0 : l.id) === d, L = (l) => {
84
- var N;
85
- var m = xe(l == null ? void 0 : l.id);
86
- return (V == null ? void 0 : V.groupName) === (m == null ? void 0 : m.groupName) && ((m == null ? void 0 : m.id) === d || ((N = l == null ? void 0 : l._source) == null ? void 0 : N.id) === d);
87
- }, s = (f = re(c.refList)) == null ? void 0 : f.find((l) => {
88
- var N, R, k;
89
- try {
90
- const A = (k = (R = (N = c.refList[l]) == null ? void 0 : N.exposed) == null ? void 0 : R.getField) == null ? void 0 : k.call(R);
91
- var m = E(A);
92
- return !m && (V != null && V.groupName) && (m = L(A)), m;
93
- } catch {
94
- return !1;
95
- }
96
- });
97
- if (s)
98
- return b(s);
99
- }, v = (d) => {
100
- if (d) {
101
- let S = d;
102
- c == null || c.setWidgetRef(S, g);
103
- }
104
- }, h = (d) => {
105
- if (d) {
106
- let S = d;
107
- c == null || c.removeWidgetRef(S);
108
- }
109
- };
110
- return {
111
- findWidgetAndCall: D,
112
- getWidgetRef: b,
113
- callWidgetsExposed: F,
114
- callRefFunc: W,
115
- existRefFunc: u,
116
- setAllRefList: x,
117
- findRefById: B,
118
- findRefByName: b,
119
- changeRegisterToRefList: (d, S) => {
120
- d && (v(d), h(S));
121
- },
122
- registerToRefList: v,
123
- unregisterFromRefList: h
124
- };
125
- }
126
- const vo = (r, c, g, b, D) => {
127
- const u = new He(r), { callRefFunc: W } = Pe(r), { parseGroupId: F } = Xn();
128
- if (!r || r.length <= 0 || !g)
129
- return;
130
- const x = c, B = (s) => {
131
- const p = x == null ? void 0 : x.find((f) => (f == null ? void 0 : f.id) === s);
132
- if (!p)
133
- return;
134
- const o = p == null ? void 0 : p.name, a = u.getWidgetRef(o);
135
- if (a)
136
- return { ref: a, name: o, id: p == null ? void 0 : p.id };
137
- }, v = (s, p) => {
138
- var f;
139
- if (!z(p))
140
- return;
141
- const o = s == null ? void 0 : s.name, a = u.getWidgetRef(o);
142
- if (a) {
143
- const l = We.getValue((f = s == null ? void 0 : s.options) == null ? void 0 : f.defaultValue, !1, !Me(b == null ? void 0 : b.designState), { ...b, formData: p });
144
- if (z(l))
145
- if (Ct(l)) {
146
- let m = ne(() => l.value, (N) => {
147
- m == null || m(), W(a, U.setValue, { newValue: N });
148
- });
149
- } else
150
- W(a, U.setValue, { newValue: l });
151
- }
152
- }, h = (s, p) => {
153
- const o = B(s);
154
- if (!o)
155
- return;
156
- const a = o.name, f = W(o.ref, U.getValue), l = W(o.ref, U.getCheckedItems), m = {};
157
- return m[a] = f, f !== void 0 && !Un(l) && !p && (m[`${a}${Re.checkedOptions}`] = l), m;
158
- }, _ = (s, p) => {
159
- var o = [];
160
- if (x == null || x.forEach((a) => {
161
- if (!a)
162
- return;
163
- const f = a == null ? void 0 : a.id;
164
- var l = f === s;
165
- const m = F(f), N = (m == null ? void 0 : m.id) === s, R = (m == null ? void 0 : m.groupName) === p;
166
- return l || N && (R || !p) ? (o.push(a), !0) : !1;
167
- }), !(!o || o.length <= 0))
168
- return o == null ? void 0 : o.map((a) => {
169
- var f;
170
- return {
171
- id: a == null ? void 0 : a.id,
172
- name: (f = a == null ? void 0 : a._source) == null ? void 0 : f.name,
173
- source: a == null ? void 0 : a._source
174
- };
175
- });
176
- }, d = (s, p) => {
177
- var o = [];
178
- if (!s || (s == null ? void 0 : s.length) <= 0)
179
- return o;
180
- const a = F(g), f = a == null ? void 0 : a.groupName;
181
- return p === be.Inner2Outer ? s == null || s.forEach((l) => {
182
- var m = _(l);
183
- m && (m == null ? void 0 : m.length) > 0 && o.push(...m);
184
- }) : s == null || s.forEach((l) => {
185
- var m = _(l, f);
186
- m && (m == null ? void 0 : m.length) > 0 && o.push(...m);
187
- }), o;
188
- }, S = (s, p) => {
189
- let o = {};
190
- if (!s || s.length <= 0)
191
- return o;
192
- if (p === be.Inner2Outer) {
193
- var a = no(s, (f) => {
194
- var l;
195
- return (l = f.source) == null ? void 0 : l.id;
196
- });
197
- a == null || a.forEach((f) => {
198
- var N;
199
- const l = f.group[0], m = [];
200
- (N = f == null ? void 0 : f.children) == null || N.forEach((R) => {
201
- const k = h(R == null ? void 0 : R.id, !0);
202
- if (z(k)) {
203
- var A = Object.values(Vt(k));
204
- m.push(...A);
205
- }
206
- }), l && (o = Object.assign(o, { [l]: m }));
207
- });
208
- } else
209
- s.forEach((f) => {
210
- const l = h(f == null ? void 0 : f.id);
211
- z(l) && (o = Object.assign(o, l));
212
- });
213
- return o;
214
- }, O = (s) => {
215
- var p = {};
216
- return s == null || s.forEach((o) => {
217
- var a;
218
- o != null && o.source && (o != null && o.id) && (p[(a = o == null ? void 0 : o.source) == null ? void 0 : a.id] = o == null ? void 0 : o.id);
219
- }), p;
220
- }, V = (s, p, o) => {
221
- if (o === be.Inner2Inner) {
222
- const m = qn(p), { updateFomula: N } = Ke(), { buildVariable: R } = oo();
223
- var a = O(s);
224
- if (z(a)) {
225
- var f = Se.getOrgOption(p, K.defaultValue), l = N(Ge(f), a, (k, A) => {
226
- var se = a[k];
227
- return bt(se) ? R(k) : R(se);
228
- });
229
- return Se.setOrgOption(m, K.defaultValue, Et(l)), m;
230
- }
231
- }
232
- return p;
233
- }, E = (s) => {
234
- var N;
235
- const p = s == null ? void 0 : s.id;
236
- var o = (N = s == null ? void 0 : s.options) == null ? void 0 : N.defaultValue;
237
- if (o == null)
238
- return;
239
- const a = Qn(g, p);
240
- if (a === be.DiffInner)
241
- return;
242
- var f = We.getFormulaRelatedField(o);
243
- if (!f || f.length <= 0)
244
- return;
245
- var l = d(f, a);
246
- if (!(l != null && l.some((R) => R.id === g)))
247
- return;
248
- const m = S(l, a);
249
- v(V(l, s, a), m);
250
- };
251
- (() => {
252
- x == null || x.forEach((s) => {
253
- E(s);
254
- });
255
- })();
256
- }, po = (r, c, g, b, D, u) => {
257
- var O;
258
- if (Me(u))
259
- return;
260
- const W = Ot(b);
261
- if (!z(W))
262
- return;
263
- const F = yt(D == null ? void 0 : D.newValue, !0), x = new Set(F), B = (O = re(W)) == null ? void 0 : O.filter((V) => x == null ? void 0 : x.has(V));
264
- if (!B || B.length <= 0)
265
- return;
266
- const { callRefFunc: v } = Pe(r);
267
- var h = xe(g), _ = h == null ? void 0 : h.groupName;
268
- const d = c, S = (V, E) => {
269
- const L = d == null ? void 0 : d.find((a) => {
270
- if ((a == null ? void 0 : a.id) === V)
271
- return !0;
272
- var f = xe(a == null ? void 0 : a.id);
273
- return (!_ || (f == null ? void 0 : f.groupName) === _) && (f == null ? void 0 : f.id) === V;
274
- });
275
- if (!L)
276
- return;
277
- const s = L == null ? void 0 : L.name, o = new He(r).getWidgetRef(s);
278
- o && (E == null || E(o));
279
- };
280
- B == null || B.forEach((V) => {
281
- var L, s;
282
- const E = (L = W == null ? void 0 : W[V]) == null ? void 0 : L.result;
283
- (s = re(E)) == null || s.forEach((p) => {
284
- var a;
285
- const o = E == null ? void 0 : E[p];
286
- (a = o == null ? void 0 : o.ids) == null || a.forEach((f) => {
287
- S(f, (l) => {
288
- v(l, o == null ? void 0 : o.event, o == null ? void 0 : o.args);
289
- });
290
- });
291
- });
292
- });
293
- };
294
- function Mt(r, c) {
295
- var g;
296
- return (g = r == null ? void 0 : r.classList) != null && g.contains(c) ? r : r != null && r.parentElement ? Mt(r == null ? void 0 : r.parentElement, c) : null;
297
- }
298
- function ho() {
299
- const r = (v) => {
300
- if (v)
301
- return v != null && v.ref ? v == null ? void 0 : v.ref : v;
302
- }, c = (v) => {
303
- var h, _;
304
- try {
305
- (_ = (h = r(v)) == null ? void 0 : h.focus) == null || _.call(h);
306
- } catch (d) {
307
- oe.error("focus", d, v);
308
- }
309
- }, g = (v) => {
310
- var h, _;
311
- try {
312
- (_ = (h = r(v)) == null ? void 0 : h.blur) == null || _.call(h);
313
- } catch (d) {
314
- oe.error("blur", d, v);
315
- }
316
- }, b = (v) => {
317
- var h;
318
- return (h = r(v)) == null ? void 0 : h.selectionStart;
319
- }, D = (v) => {
320
- var h;
321
- return (h = r(v)) == null ? void 0 : h.selectionEnd;
322
- }, u = (v, h) => {
323
- var _;
324
- return (_ = r(v)) == null ? void 0 : _.setSelectionRange(h, h);
325
- }, W = (v, h) => {
326
- c(v), u(v, h);
327
- };
328
- return {
329
- getSelectionStart: b,
330
- getSelectionEnd: D,
331
- setSelectionStart: u,
332
- blur: g,
333
- focus: c,
334
- setMousePos: W,
335
- getMousePos: (v) => b(v),
336
- insertOnMousePos: (v, h, _) => {
337
- const d = b(v), S = D(v), O = wn(_, h, d, S);
338
- return gt(() => {
339
- W(v, d + (h == null ? void 0 : h.length));
340
- }), O;
341
- },
342
- deleteOnMousePos: (v, h) => eo(h, v)
343
- };
344
- }
345
- const go = (r) => {
346
- var g;
347
- const { getFormulaFields: c } = Ke();
348
- return ((g = c(Ge(r))) == null ? void 0 : g.length) > 0;
349
- }, Z = (r) => {
350
- const c = r.type;
351
- //![WidgetType.fileUpload, WidgetType.pictureUpload].includes(wtype) &&
352
- return r.formItemFlag || [Q.form, Q.dialog].includes(c);
353
- }, Ee = (r) => {
354
- const c = r.type;
355
- return [Q.treeSelect, Q.cascader, Q.select, Q.checkbox, Q.radio].includes(c);
356
- };
357
- function Oo(r) {
358
- const { getFormulaFields: c } = Ke(), g = q(r == null ? void 0 : r.options), b = Jn(g, (u, W) => We.isComplexType(W, Zn.slot) || u === T.widgetList);
359
- var D = c(Ge(b));
360
- return D;
361
- }
362
- function Co(r, c, g) {
363
- var W;
364
- const b = {};
365
- let D = [];
366
- if (!r || r.length <= 0)
367
- return b;
368
- Object.entries(g).forEach(([F, x]) => {
369
- r.some((B) => B === (x == null ? void 0 : x.id)) && D.push(x == null ? void 0 : x.name);
370
- });
371
- const u = q(c);
372
- return (W = re(u)) == null || W.forEach((F) => {
373
- D.includes(F) && w(b, { [F]: u[F] });
374
- }), z(b) ? b : {};
375
- }
376
- function Po(r) {
377
- const {
378
- designState: c,
379
- created: g = !0,
380
- exResetField: b,
381
- extInitFieldModel: D
382
- } = r, u = r == null ? void 0 : r.widget, W = r == null ? void 0 : r.designer, F = W == null ? void 0 : W.pageConfig, { globalWrapperOptions: x, formRefList: B, globalRefList: v, globalConfig: h, globalFormName: _, globalDataModel: d, rowScope: S } = co.globalInject(), O = Pe(v), V = Pe(B);
383
- let E = ge(d || {}), L = ge(Ae(ke.linerModel, {})), s = ge(Ae(ke.linerWidgetMap, []));
384
- const p = ge({}), { instance: o } = Rt(), a = () => Ot(E), f = () => S, l = () => u, m = () => !c && go(u);
385
- if (m()) {
386
- const e = Oo(u);
387
- z(e) && ne(L, (t) => {
388
- const n = Co(e, t, s);
389
- lt(q(n), q(p)) || w(p, n);
390
- }, { immediate: !0 });
391
- }
392
- const R = pt({
393
- instance: o,
394
- designState: c,
395
- pageConfig: F,
396
- globalConfig: h
397
- }), A = {
398
- instance: {
399
- exposed: {
400
- findRefByName: O.getWidgetRef,
401
- fieldEditor: () => H.value,
402
- getField: l,
403
- getRowScope: f,
404
- getFormData: a,
405
- /**
406
- * 此处暴露schemadata方法
407
- * 为实现全局变量中能访问到全局数据源ctx.instance.exposed.getOneSchemaData等数据源求值方法
408
- */
409
- getOneSchemaData: R == null ? void 0 : R.getOneSchemaData,
410
- getSchemaDataObject: R == null ? void 0 : R.getSchemaDataObject,
411
- getSchemaDatas: R == null ? void 0 : R.getSchemaDatas,
412
- getGlobalParams: R == null ? void 0 : R.getGlobalParams
413
- }
414
- },
415
- designState: c,
416
- pageConfig: F,
417
- formData: m() ? p : {},
418
- globalConfig: h
419
- }, { on$: se, dispatch: _e, emit$: qe, broadcast: xt } = Yn(), { onCompErrorCaptured: Wt } = mo(), { isIdClass: St, getIdByIdClass: Pt } = io(u), { getOneSchemaData: _t, getSchemaDataObject: Tt, getSchemaDatas: Dt, getGlobalParams: Lt } = pt(A), ee = ho(), Nt = (r == null ? void 0 : r.shareProp) || { s_attr: !0, s_extendAttr: !0, s_events: !0, s_slots: !0, s_fieldName: !0, s_optionItems: !0 }, { attrs: te, extendAttrs: Te, events: $, slots: Ue, rules: Je, fieldName: M, buildRules: Ft, clearRules: Bt, disableChangeValidate: It, enableChangeValidate: jt, optionItems: me, refreshOptionItems: At, filterOptionItems: kt, getCheckedOptionText: $t, getCheckedOptionValues: Gt, getCheckedOptionLabels: Kt, getCheckedOptionItems: Ht, activeOptionItems: qt, activeOptionItem: Ut, activeOptionItemIndex: Jt, setOptionItems: ze, isOptionWidget: zt, setWidgetOption: ae, getWidgetOption: ue, getWidgetOptionByPropValue: Qt, setFieldEnable: Xt, hasFieldOptions: Yt, getFieldOptions: ce, setFieldOptions: Zt, computedDefaultValue: de, hasDefaultValue: ve, watchOption: Qe, addCssClass: wt, removeCssClass: en } = ro(u, A, Nt, o), Xe = Oe(() => {
420
- var C;
421
- if (![Q.wrapper].includes(u.type) && u.category == so.container)
422
- return te.value;
423
- var e = Ye(T.disabled, te.value), t = Ye(T.readonly, te.value);
424
- if (Ve(te.value, T.disabled) && !Ve(te.value, T.readonly)) {
425
- var n = (e == null ? void 0 : e.disabled) === !0;
426
- if (!n) {
427
- var i = (C = Me(x)) == null ? void 0 : C[T.readonly], y = i === !0;
428
- e[T.disabled] = y;
429
- }
430
- }
431
- return {
432
- ...te.value,
433
- ...e,
434
- ...t
435
- };
436
- }), Ye = (e, t) => {
437
- var n;
438
- return Ve(t, e) ? {
439
- [e]: ((n = Me(x)) == null ? void 0 : n[e]) || (t == null ? void 0 : t[e])
440
- } : {};
441
- };
442
- let De = null, P = Ce();
443
- const H = Ce(), tn = () => M.value, nn = () => H.value, Ze = () => `${u == null ? void 0 : u.id}-${ao()}`, Le = Ce(Ze()), we = () => {
444
- Le.value = Ze();
445
- }, on = Oe({
446
- get: () => {
447
- if (mt(P.value)) {
448
- var e = Number(P.value);
449
- return isNaN(e) ? void 0 : (P.value = e, e);
450
- }
451
- return P.value;
452
- },
453
- set: (e) => {
454
- P.value = e;
455
- }
456
- }), rn = Oe({
457
- get: () => {
458
- if (mt(P.value)) {
459
- var e = Et(P.value);
460
- zn(e) && (P.value = e);
461
- }
462
- return P.value;
463
- },
464
- set: (e) => {
465
- P.value = e;
466
- }
467
- }), sn = (e) => {
468
- var n, i;
469
- var t = (i = (n = O.getWidgetRef(M.value)) == null ? void 0 : n.exposed) == null ? void 0 : i.loadOptionItems;
470
- if (t !== void 0) {
471
- t == null || t(e);
472
- return;
473
- }
474
- ze(e);
475
- }, Ne = (e) => {
476
- var t, n, i;
477
- return (i = (n = (t = O.getWidgetRef(M.value)) == null ? void 0 : t.exposed) == null ? void 0 : n.getCheckedItems) == null ? void 0 : i.call(n, e);
478
- }, et = (e) => {
479
- var t, n, i;
480
- return (i = (n = (t = O.getWidgetRef(M.value)) == null ? void 0 : t.exposed) == null ? void 0 : n.getCheckedLabels) == null ? void 0 : i.call(n, e);
481
- }, an = (e) => {
482
- var t, n, i;
483
- return (i = (n = (t = O.getWidgetRef(M.value)) == null ? void 0 : t.exposed) == null ? void 0 : n.getCheckedText) == null ? void 0 : i.call(n, e);
484
- }, ie = (e) => {
485
- var C;
486
- if (!zt())
487
- return;
488
- const t = (C = Te.value) == null ? void 0 : C.withAttachData;
489
- if (!Ee(u) || t === !1)
490
- return;
491
- const n = et(e), i = an(e);
492
- var y = q(Ne(e));
493
- tt(n, y, i);
494
- }, tt = (e, t, n) => {
495
- var i = {};
496
- if (e != null) {
497
- let y = ce("textName");
498
- [`${M.value}${Re.optionText}`, y].forEach((C) => {
499
- C && i[C] === void 0 && (i[C] = e);
500
- });
501
- }
502
- if (t != null) {
503
- let y = ce("optionName");
504
- [`${M.value}${Re.checkedOptions}`, y].forEach((C) => {
505
- C && i[C] === void 0 && (i[C] = t);
506
- });
507
- }
508
- if (n != null) {
509
- let y = ce("labelName");
510
- e !== n && [`${M.value}${Re.optionLabelName}`].forEach((C) => {
511
- C && i[C] === void 0 && (i[C] = n);
512
- }), y && [y].forEach((C) => {
513
- C && i[C] === void 0 && (i[C] = n);
514
- });
515
- }
516
- nt(q(i));
517
- }, X = (e) => {
518
- if (Z(u)) {
519
- ie(e);
520
- var t = { [M.value]: e };
521
- nt(t);
522
- }
523
- }, nt = (e) => {
524
- w(E, e);
525
- }, fe = (e) => {
526
- c || X(e);
527
- }, ot = (e) => ce(e), rt = () => {
528
- var e = Hn(E);
529
- P = We.get(e, M.value);
530
- }, st = (e) => {
531
- De = q(e);
532
- }, un = (e) => {
533
- c || D && D(e);
534
- }, cn = () => {
535
- ve(!0) && ye(de()).then((e) => {
536
- X(e), rt();
537
- });
538
- };
539
- let at = {};
540
- const pe = (e, t) => {
541
- if (!Z(u))
542
- return;
543
- var n = { newValue: e, oldValue: t };
544
- if (lt(n, at))
545
- return;
546
- w(L, { [M.value]: e }), Object.assign(at, n), qe(K.fieldValueChanged, n);
547
- const i = { fieldId: u.id, fieldName: M.value, newValue: e, oldValue: t };
548
- _e(_, K.fieldChange, i, o);
549
- }, fn = (e) => !!ue(e), Fe = (e, t) => uo(ue(e), t), ln = (e) => {
550
- fe(e), ut(), Fe(K.onInput, { value: e });
551
- }, mn = (e, t) => {
552
- var n, i, y;
553
- return (y = (i = (n = O.getWidgetRef(M.value)) == null ? void 0 : n.exposed) == null ? void 0 : i.handleBeforeChange) == null ? void 0 : y.call(i, e, t);
554
- }, dn = (...e) => {
555
- var y, C, I;
556
- let n = ((y = e == null ? void 0 : e[0]) == null ? void 0 : y.target) != null ? (I = (C = e == null ? void 0 : e[0]) == null ? void 0 : C.target) == null ? void 0 : I.value : e == null ? void 0 : e[0];
557
- n = q(n);
558
- var i = mn(n, De);
559
- i != null ? fe(i) : fe(n), pe(n, De), ut(), st(n);
560
- }, vn = (e = !0) => {
561
- ae(T.readonly, e);
562
- }, pn = (e = !0) => {
563
- ae(T.disabled, e);
564
- }, hn = (e = !0) => {
565
- ae(T.hidden, e), e ? it() : he();
566
- }, gn = (e = !0) => {
567
- Xt(T.required, e), he();
568
- }, On = (e) => {
569
- ae(T.label, e);
570
- }, J = () => P == null ? void 0 : P.value, Be = (e) => {
571
- P.value = e, ie(e);
572
- }, le = (e) => {
573
- let t = q(J());
574
- if (Be(e), !Z(u))
575
- return;
576
- const n = J();
577
- t !== n && (fe(n), pe(e, t));
578
- }, Cn = () => {
579
- ve() ? ye(de()).then((e) => {
580
- X(e);
581
- }) : X(null), b == null || b();
582
- }, Vn = (e) => {
583
- const t = J(), n = ee.insertOnMousePos(H.value, e, t);
584
- le(n);
585
- }, yn = (e) => {
586
- const t = J(), n = ee.deleteOnMousePos(e, t);
587
- le(n);
588
- }, bn = (e, t) => {
589
- ne(() => P == null ? void 0 : P.value, (n, i) => {
590
- e == null || e({ id: u.id, name: M.value, newValue: n, oldValue: i });
591
- }, t);
592
- }, En = (e) => {
593
- var C;
594
- e.preventDefault();
595
- const t = (I) => {
596
- var G;
597
- const j = (G = Array.from(I.classList)) == null ? void 0 : G.find((Ie) => St(Ie));
598
- return j ? Pt(j) : "";
599
- }, n = document.activeElement;
600
- if (!n)
601
- return;
602
- const i = document.getElementsByClassName(dt.formItemTarget);
603
- for (var y = 0; y < i.length; y++) {
604
- const I = i[y], j = Mt(n, dt.formItemTarget);
605
- if (!j)
606
- continue;
607
- const G = t(I), Ie = t(j);
608
- if (G === Ie) {
609
- if (y === i.length - 1)
610
- return;
611
- const Bn = i[y + 1], In = t(Bn), je = O.findRefById(In, o);
612
- try {
613
- (C = je == null ? void 0 : je.exposed) == null || C.focus();
614
- } catch (jn) {
615
- oe.error("handleEnter", jn);
616
- }
617
- }
618
- }
619
- };
620
- let Rn = () => {
621
- var I;
622
- let e = {
623
- componentName: M.value,
624
- //用于组件事件emitter发射与接收处理
625
- refList: B,
626
- allRefList: v,
627
- fieldEditor: nn,
628
- changeRegisterToRefList: (j, G) => {
629
- O.changeRegisterToRefList(j, G), V.changeRegisterToRefList(j, G);
630
- },
631
- getField: l,
632
- getFormData: a,
633
- getValue: J,
634
- setValue: Be,
635
- emit$: qe,
636
- findRefByName: O.getWidgetRef,
637
- findRefById: O.findRefById,
638
- callRefFunc: O.callRefFunc,
639
- getWidgetOption: ue,
640
- setWidgetOption: ae,
641
- refreshKey: we,
642
- getRowScope: f,
643
- //组件的数据绑定:继承的数据,用于计算组件属性变量
644
- getOneSchemaData: _t,
645
- getSchemaDatas: Dt,
646
- getSchemaDataObject: Tt,
647
- getGlobalParams: Lt,
648
- addCssClass: wt,
649
- removeCssClass: en
650
- }, t = {
651
- resetField: Cn,
652
- getValue: J,
653
- setValue: le,
654
- refreshDefaultValue: cn,
655
- insertOnMousePos: Vn,
656
- deleteOnMousePos: yn,
657
- disableChangeValidate: It,
658
- enableChangeValidate: jt,
659
- focus: () => {
660
- ee.focus(H.value);
661
- },
662
- blur: () => {
663
- ee.blur(H.value);
664
- },
665
- getMousePos: () => {
666
- ee.getMousePos(H.value);
667
- },
668
- setMousePos: (j) => {
669
- ee.setMousePos(H.value, j);
670
- }
671
- }, n = {
672
- loadOptionItems: sn,
673
- getCheckedItems: Ne,
674
- getCheckedLabels: et
675
- }, i = {
676
- [T.required]: { name: U.setRequired, fn: gn },
677
- [T.label]: { name: U.setLabel, fn: On },
678
- [T.hidden]: { name: U.setHidden, fn: hn },
679
- [T.disabled]: { name: U.setDisabled, fn: pn },
680
- [T.readonly]: { name: U.setReadonly, fn: vn }
681
- }, y = {};
682
- (I = re(i)) == null || I.forEach((j) => {
683
- if ($e(u, j)) {
684
- const G = i[j];
685
- y[G.name] = G.fn;
686
- }
687
- });
688
- var C = w(e, y);
689
- return Z(u) && (C = w(C, t)), Ee(u) && (C = w(C, n)), C;
690
- };
691
- const Mn = Oe(() => ({
692
- attrs: Xe.value,
693
- extendAttrs: Te.value,
694
- events: $.value,
695
- slots: Ue.value,
696
- fieldKey: Le.value,
697
- fieldEditor: H.value,
698
- fieldName: M.value
699
- })), xn = (e, t, n) => {
700
- const i = Ce(), y = ot(e), C = (I) => {
701
- t && (i.value = t(I || y));
702
- };
703
- return Ct(y) ? ne(y, (I) => {
704
- C(I), n && n(I);
705
- }) : C(y), i;
706
- }, Wn = () => {
707
- !Z(u) || c || bn((e) => {
708
- const t = u == null ? void 0 : u.id;
709
- vo(v, s, t, A);
710
- const n = Se.getOptions(u, T.relate);
711
- po(v, s, t, n, e), (Ee(u) || D) && setTimeout(() => {
712
- ie(e.newValue), un(e == null ? void 0 : e.newValue);
713
- }, 1e3), pe(e.newValue, e.oldValue);
714
- }, { immediate: !0 });
715
- }, ut = () => {
716
- const e = { propName: M.value };
717
- _e(_, K.fieldValidation, e, o);
718
- }, ct = () => {
719
- const e = { fieldId: u.id, fieldName: M.value, rules: Je };
720
- _e(_, K.fieldRuleChange, e, o);
721
- }, he = () => {
722
- if (!Z(u))
723
- return;
724
- const e = Ft();
725
- return ct(), e;
726
- }, it = () => {
727
- Bt(), ct();
728
- }, Sn = () => {
729
- $e(u, "change") && ($.value.change = dn), $e(u, "input") && ($.value.input = ln), se(vt.setFormData, (e) => {
730
- le(e[M.value]);
731
- }), se(K.fieldValueChanged, (e) => {
732
- Fe(K.onChange, { value: e == null ? void 0 : e.newValue, oldValue: e == null ? void 0 : e.oldValue });
733
- });
734
- }, Pn = () => {
735
- let e = M.value;
736
- Z(u) ? ((!Ve(E, e) || E[e] === void 0) && (X(null), ve() && ye(de()).then((t) => {
737
- t == null ? X(null) : X(t);
738
- })), rt()) : ve() && ye(de()).then((t) => {
739
- le(t);
740
- }), st(J());
741
- }, _n = () => {
742
- Ee(u) && ne(() => me == null ? void 0 : me.value, (e, t) => {
743
- ie(P.value);
744
- }, { immediate: !0 });
745
- }, Tn = () => {
746
- Qe(T.css, void 0, (e) => {
747
- Fn();
748
- });
749
- }, Y = Ae(ke.isRenderComplete), Dn = () => {
750
- const e = () => 100, t = () => {
751
- setTimeout(() => {
752
- _n(), Wn(), he();
753
- }, e());
754
- };
755
- if (Y != null && Y.value) {
756
- t();
757
- return;
758
- }
759
- if (Y != null) {
760
- const n = ne(() => Y == null ? void 0 : Y.value, (i) => {
761
- i && (t(), n());
762
- }, { immediate: !0 });
763
- }
764
- }, Ln = () => {
765
- var e, t;
766
- if (g)
767
- try {
768
- O.registerToRefList(M.value), V.registerToRefList(M.value), s.push({
769
- id: u.id,
770
- name: M.value,
771
- _source: u == null ? void 0 : u._source,
772
- options: {
773
- defaultValue: Se.getOrgOption(u, K.defaultValue)
774
- }
775
- }), Pn(), Sn(), (t = (e = $ == null ? void 0 : $.value) == null ? void 0 : e.created) == null || t.call(e), Wt();
776
- } catch (n) {
777
- oe.error("create", n);
778
- }
779
- }, Nn = () => {
780
- g && (ht(() => {
781
- var e, t;
782
- try {
783
- Tn(), Dn(), (t = (e = $ == null ? void 0 : $.value) == null ? void 0 : e.mounted) == null || t.call(e), xt(to.VFormRender, vt.registerRef, { fieldName: M.value, fieldId: u == null ? void 0 : u.id }, [v]);
784
- } catch (n) {
785
- oe.error("mounted", n, u);
786
- }
787
- }), Kn(() => {
788
- O.unregisterFromRefList(M.value), V.unregisterFromRefList(M.value);
789
- }));
790
- }, Fn = (e) => {
791
- const t = u == null ? void 0 : u.id, n = ue(T.css);
792
- n && t && fo(n).then((i) => {
793
- lo(i, t);
794
- });
795
- };
796
- return Ln(), Nn(), {
797
- exposed: Rn(),
798
- fieldModel: P,
799
- objFieldModel: rn,
800
- numFieldModel: on,
801
- fieldEditor: H,
802
- fieldKey: Le,
803
- field: u,
804
- instance: o,
805
- attrs: Xe,
806
- extendAttrs: Te,
807
- slots: Ue,
808
- events: $,
809
- rules: Je,
810
- fieldObj: Mn,
811
- getValue: J,
812
- setValue: Be,
813
- pageConfig: F,
814
- formModel: E,
815
- fieldName: M,
816
- propResultOpt: A,
817
- optionItems: me,
818
- activeOptionItems: qt,
819
- activeOptionItem: Ut,
820
- activeOptionItemIndex: Jt,
821
- refreshOptionItems: At,
822
- refreshOptionField: ie,
823
- filterOptionItems: kt,
824
- setOptionItems: ze,
825
- getCheckedItems: Ne,
826
- getCheckedOptionItems: (e, t) => Ht(e || P.value, t),
827
- getCheckedOptionLabels: (e, t) => Kt(e || P.value, t),
828
- getCheckedOptionValues: (e, t) => Gt(e || P.value, t),
829
- getCheckedOptionText: (e, t) => $t(e || P.value, t),
830
- refreshKey: we,
831
- watchKeyValue: xn,
832
- // watchPropAndSaveHistoryStep,
833
- existEvent: fn,
834
- handleEvent: Fe,
835
- handleEnter: En,
836
- getPropName: tn,
837
- emitFieldDataChange: pe,
838
- syncUpdateFormModel: fe,
839
- getWidgetRef: O.getWidgetRef,
840
- clearRules: it,
841
- buildRules: he,
842
- getFieldOptionModel: ot,
843
- getFieldOptions: ce,
844
- hasFieldOptions: Yt,
845
- setFieldOptions: Zt,
846
- getWidgetOption: ue,
847
- getWidgetOptionByPropValue: Qt,
848
- // singleOption,
849
- watchOption: Qe,
850
- mergeOptionToFormModel: tt
851
- };
852
- }
853
- export {
854
- He as R,
855
- Po as a,
856
- Pe as u
857
- };