hldesigner 0.0.199 → 0.0.203

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 (192) hide show
  1. package/{_pdf-4c706e60.js → _pdf-3f9ca974.js} +12 -11
  2. package/{_share_image-dc17ebf1.js → _share_image-30a7e940.js} +2 -2
  3. package/{_share_size.vue_vue_type_script_setup_true_lang-112b73cf.js → _share_size.vue_vue_type_script_setup_true_lang-baa111b4.js} +3 -3
  4. package/{_txt-e4b11c88.js → _txt-b0f0ebb7.js} +15 -14
  5. package/{_unsupport-1bab2565.js → _unsupport-fd2af812.js} +10 -9
  6. package/affix-widget-5b31aef3.js +44 -0
  7. package/{alert-widget-8578fbe7.js → alert-widget-023ad236.js} +23 -22
  8. package/{anchor-widget-ceeabf3f.js → anchor-widget-4cb83acd.js} +20 -19
  9. package/{auto-complete-widget-64f54cd6.js → auto-complete-widget-a40381f8.js} +23 -22
  10. package/avatar-widget-32b58d84.js +44 -0
  11. package/{backtop-widget-9de51b39.js → backtop-widget-e9867933.js} +23 -22
  12. package/badge-widget-1f3ce07a.js +50 -0
  13. package/{barcode-widget-9c8b37b8.js → barcode-widget-ef49bf1a.js} +20 -19
  14. package/{baseImp-e49d2773.js → baseImp-d6a218bb.js} +692 -695
  15. package/{breadcrumb-widget-792bcaf6.js → breadcrumb-widget-02835287.js} +20 -19
  16. package/{button-widget-f1c5236f.js → button-widget-21c3a1d5.js} +23 -22
  17. package/{cache-widget-5fa60ec6.js → cache-widget-4104da94.js} +22 -21
  18. package/{card-widget-e512515a.js → card-widget-94540bcb.js} +21 -20
  19. package/{carousel-widget-3696c44d.js → carousel-widget-4c42a9b5.js} +21 -20
  20. package/{cascader-widget-e5c5f825.js → cascader-widget-3b351e93.js} +22 -21
  21. package/{chart-widget-3e54a5bb.js → chart-widget-fea7b4eb.js} +25 -24
  22. package/{checkbox-widget-564de2c7.js → checkbox-widget-703a8743.js} +22 -21
  23. package/{collapse-widget-51d7cf71.js → collapse-widget-82c9f052.js} +29 -28
  24. package/{color-picker-widget-fc1cbd99.js → color-picker-widget-366c7b6a.js} +22 -21
  25. package/common-editor-7fbb76d2.js +27 -0
  26. package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-e83ab29f.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-1f8ca7a0.js} +2 -2
  27. package/{configItem-022c3a03.js → configItem-9beab327.js} +44 -42
  28. package/{cont-cell-widget-a130b8db.js → cont-cell-widget-a6d7799b.js} +1 -1
  29. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-22b878c0.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-792388b7.js} +5 -5
  30. package/{cont-widget-7f0e150f.js → cont-widget-978dce4e.js} +5 -5
  31. package/{content-wrapper-9f6222f3.js → content-wrapper-ef2cf36b.js} +8 -7
  32. package/{content-wrapper.vue_vue_type_script_setup_true_lang-bc24e53b.js → content-wrapper.vue_vue_type_script_setup_true_lang-ef54a554.js} +3 -3
  33. package/{css-editor-78e6dc8c.js → css-editor-2f6dbde3.js} +43 -42
  34. package/{cssIndex-8e8522e2.js → cssIndex-cf6e26c2.js} +61 -60
  35. package/customClass-editor-df52cc90.js +46 -0
  36. package/{date-picker-range-widget-3c7a0942.js → date-picker-range-widget-181f33cb.js} +22 -21
  37. package/{date-picker-widget-037ceb37.js → date-picker-widget-a5bd4bf3.js} +22 -21
  38. package/default-slot-widget-56a353d7.js +30 -0
  39. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-800037db.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8b0fcd83.js} +10 -9
  40. package/{descriptions-widget-4d59d506.js → descriptions-widget-ba2c798d.js} +28 -27
  41. package/designer.es.js +37 -35
  42. package/designer.style.css +1 -1
  43. package/designer.umd.js +806 -802
  44. package/{dialog-fd389629.js → dialog-24d066bb.js} +2 -2
  45. package/dialog-widget-c9f8b45b.js +38 -0
  46. package/{divider-widget-352dabc2.js → divider-widget-e2cd731e.js} +23 -22
  47. package/{drag-wrapper-c5f36a3f.js → drag-wrapper-be4fc6c6.js} +25 -24
  48. package/drawer-widget-c15da4c7.js +38 -0
  49. package/{dropdown-widget-e6f407a3.js → dropdown-widget-42a47ad3.js} +21 -20
  50. package/{editor-wrapper-037968c2.js → editor-wrapper-8027ed75.js} +218 -217
  51. package/{emitter-fd99ee94.js → emitter-22bcad26.js} +1 -1
  52. package/empty-widget-6ac74681.js +44 -0
  53. package/{enum-type-25ce26d4.js → enum-type-339a584b.js} +125 -437
  54. package/{enum-type-a9f5e75a.js → enum-type-50a08ddf.js} +1 -1
  55. package/{expression-c0206176.js → expression-cf83c895.js} +95 -94
  56. package/feedback-widget-56db531b.js +31 -0
  57. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-0f7a4c77.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-cf9de69d.js} +5 -5
  58. package/{field-editor-a074e424.js → field-editor-ab704a01.js} +26 -25
  59. package/{fieldobj-e53244c0.js → fieldobj-fe7d8eae.js} +1 -1
  60. package/{file-upload-widget-7c1c900b.js → file-upload-widget-2b05d62c.js} +27 -26
  61. package/{form-item-wrapper-75976438.js → form-item-wrapper-f8359511.js} +16 -15
  62. package/form-widget-35b12f17.js +232 -0
  63. package/{grid-col-widget-1f1a8714.js → grid-col-widget-6cad3503.js} +1 -1
  64. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-2ae49464.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-082d895b.js} +5 -5
  65. package/{grid-widget-d9c98e1e.js → grid-widget-075a1abe.js} +5 -5
  66. package/{html-text-widget-ead52952.js → html-text-widget-0c89effe.js} +24 -23
  67. package/{icon-widget-0d09fa31.js → icon-widget-efa0dbb7.js} +20 -19
  68. package/iframe-widget-d293f152.js +112 -0
  69. package/{image-editor-87c1fa97.js → image-editor-0b28e384.js} +21 -20
  70. package/{image-widget-5304b99a.js → image-widget-bc9c59ac.js} +20 -19
  71. package/index-1521518c.js +44 -0
  72. package/{index-471b1b77.js → index-1844520a.js} +181 -179
  73. package/{index-8faf4a86.js → index-2aa1f947.js} +19 -18
  74. package/{index-5df9e1e9.js → index-2cc63818.js} +58 -57
  75. package/{index-afcc0cb2.js → index-30fe2727.js} +31 -30
  76. package/{index-29a9d260.js → index-4121f492.js} +28 -27
  77. package/{index-ddb14013.js → index-47333282.js} +32 -31
  78. package/{index-37761d29.js → index-57266e1d.js} +25 -24
  79. package/{index-ea246120.js → index-57ba032d.js} +32 -31
  80. package/index-57de1e93.js +200 -0
  81. package/index-67e02ed1.js +48 -0
  82. package/{index-1652c0d1.js → index-6d72c605.js} +1 -1
  83. package/{index-4bba6308.js → index-7dcb0846.js} +45 -44
  84. package/{index-4ef04f4f.js → index-9b16b876.js} +9 -8
  85. package/{index-8411963a.js → index-9bf39185.js} +1 -1
  86. package/{index-b3585536.js → index-9c8ab628.js} +18 -17
  87. package/{index-d9faf252.js → index-9d594e77.js} +48 -46
  88. package/{index-4768c271.js → index-a9b325de.js} +31 -30
  89. package/{index-132e54f6.js → index-ad62fe68.js} +41 -39
  90. package/{index-5663497c.js → index-b07f673f.js} +28 -27
  91. package/{index-972b5e7d.js → index-b6dd9f73.js} +12 -11
  92. package/{index-fd5e4e75.js → index-cb040833.js} +30 -29
  93. package/index-df1e4d1c.js +138 -0
  94. package/{index-edba8ac2.js → index-e6f28811.js} +9 -8
  95. package/index-f02a72ab.js +287 -0
  96. package/{index-c0ac6679.js → index-f328b549.js} +1 -1
  97. package/{input-number-widget-5b91814d.js → input-number-widget-8c11c9f1.js} +22 -21
  98. package/{input-widget-9f9f1e86.js → input-widget-c493df61.js} +23 -22
  99. package/{install-designer-092182cc.js → install-designer-2b98bf6a.js} +946 -928
  100. package/{item-4a07c2c6.js → item-a6a9abce.js} +8 -7
  101. package/{itemDetail-107667d0.js → itemDetail-2061e03c.js} +12 -11
  102. package/{label-wrapper-fcfc49bb.js → label-wrapper-1f60e363.js} +6 -5
  103. package/{label-wrapper.vue_vue_type_style_index_0_lang-32dd0eb6.js → label-wrapper.vue_vue_type_style_index_0_lang-0926028b.js} +3 -3
  104. package/{link-widget-f1bc9ed1.js → link-widget-aeb07c45.js} +23 -22
  105. package/{ltable-col-widget-7198f180.js → ltable-col-widget-7b73596b.js} +1 -1
  106. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-9659c585.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-76360bb0.js} +9 -9
  107. package/{ltable-widget-8e240c9e.js → ltable-widget-2748c11d.js} +5 -5
  108. package/{menu-widget-b30f1aa4.js → menu-widget-f030ec3f.js} +43 -42
  109. package/{model-widget-e8b3f795.js → model-widget-324ee8d8.js} +29 -28
  110. package/{multirow-70766faf.js → multirow-60333a37.js} +50 -49
  111. package/{multirow-widget-b7d121ce.js → multirow-widget-b9f113dc.js} +80 -79
  112. package/{name-editor-f2e09a2a.js → name-editor-9e584829.js} +39 -38
  113. package/obj-469b8636.js +344 -0
  114. package/{optionItem-658ef248.js → optionItem-94e8e557.js} +5 -5
  115. package/package.json +1 -1
  116. package/{pagination-widget-8d56529f.js → pagination-widget-5fc3a123.js} +27 -26
  117. package/{picture-upload-widget-3c439623.js → picture-upload-widget-074d5dfa.js} +23 -22
  118. package/{progress-widget-3deb6d65.js → progress-widget-ab7645f4.js} +21 -20
  119. package/{property-base-585ae99f.js → property-base-847bea01.js} +6 -5
  120. package/{propresult-7ff730e7.js → propresult-80ff10b0.js} +1 -1
  121. package/{qrcode-widget-58b296c9.js → qrcode-widget-d3332db8.js} +28 -27
  122. package/{radio-widget-b37f2efa.js → radio-widget-30fbcfa8.js} +22 -21
  123. package/{range-widget-9e9d1d91.js → range-widget-501ac45f.js} +26 -25
  124. package/{rate-widget-f2df42ca.js → rate-widget-0efc5a30.js} +22 -21
  125. package/{reg-editor.vue_vue_type_script_setup_true_lang-552964b4.js → reg-editor.vue_vue_type_script_setup_true_lang-303c53c7.js} +3 -3
  126. package/{result-widget-064d580f.js → result-widget-c7ba3598.js} +26 -25
  127. package/{rich-editor-widget-f8c3a359.js → rich-editor-widget-68065124.js} +29 -28
  128. package/{router-widget-c3c1dcbe.js → router-widget-87f54e9c.js} +26 -25
  129. package/{schemaData-4b6c8f93.js → schemaData-4017f436.js} +117 -113
  130. package/{select-widget-115c19eb.js → select-widget-b603a045.js} +75 -74
  131. package/{sfc-8e1699a5.js → sfc-c084412d.js} +38 -37
  132. package/{sfcview-e35d2a6c.js → sfcview-35444e54.js} +27 -26
  133. package/{share-editor-0b81d40d.js → share-editor-2b290a2a.js} +110 -108
  134. package/{share-event-00871445.js → share-event-2000a2e4.js} +2 -2
  135. package/{share-field-6d22dc0f.js → share-field-081900cb.js} +229 -227
  136. package/{share-file-c09f38d7.js → share-file-a4a4269a.js} +15 -14
  137. package/{size-editor-19b9771a.js → size-editor-60515ca3.js} +22 -21
  138. package/{slider-widget-8ffc9a9e.js → slider-widget-0e5c6ea8.js} +22 -21
  139. package/slot-ad34bf62.js +292 -0
  140. package/{static-text-widget-bfd431fd.js → static-text-widget-e96741ad.js} +23 -22
  141. package/{steps-widget-62708fc5.js → steps-widget-f4f7a59d.js} +20 -19
  142. package/{subMenu-widget-bc8720e3.js → subMenu-widget-6e151b95.js} +9 -8
  143. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-292af0db.js → subMenu-widget.vue_vue_type_script_setup_true_lang-5c3a8a82.js} +3 -3
  144. package/{switch-widget-45c43819.js → switch-widget-be4a4f29.js} +22 -21
  145. package/{tab-pane-widget-4f6477b7.js → tab-pane-widget-f257d01a.js} +1 -1
  146. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-6c931b97.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7102e80f.js} +5 -5
  147. package/table-col-widget-44257f41.js +27 -0
  148. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-51a501b6.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-fda5176e.js} +6 -6
  149. package/{table-widget-48472910.js → table-widget-6e69243d.js} +29 -28
  150. package/{tabs-widget-223c7b43.js → tabs-widget-3789cc71.js} +33 -32
  151. package/tag-widget-30ed85f5.js +44 -0
  152. package/{target-code-faf94048.js → target-code-c9b01d8e.js} +13 -12
  153. package/{target-datasource-ce8ef09f.js → target-datasource-358d46d3.js} +91 -89
  154. package/{target-link-365f24d0.js → target-link-63b8c8b7.js} +59 -57
  155. package/{target-saveForm-96b58000.js → target-saveForm-32d63f35.js} +41 -39
  156. package/{target-widget-1d501f28.js → target-widget-9263d60f.js} +11 -10
  157. package/{target-window-846ee9c9.js → target-window-e79c6e2e.js} +12 -11
  158. package/text-widget-9d91dbb9.js +44 -0
  159. package/textarea-widget-abc44051.js +61 -0
  160. package/{time-picker-range-widget-181b8b60.js → time-picker-range-widget-1daba17f.js} +24 -23
  161. package/{time-picker-widget-9f410605.js → time-picker-widget-0e493b7e.js} +22 -21
  162. package/{time-select-widget-28d4139e.js → time-select-widget-52b79d07.js} +22 -21
  163. package/{tmpl-widget-43e82eef.js → tmpl-widget-87950870.js} +21 -20
  164. package/{tree-select-widget-6f671e54.js → tree-select-widget-90e24dbc.js} +35 -34
  165. package/{tree-widget-a0eee231.js → tree-widget-27d9f388.js} +27 -26
  166. package/{uuid-ff3b37ed.js → uuid-d9f857bf.js} +1 -1
  167. package/{value-editor-2b6e96e5.js → value-editor-1c0315d8.js} +29 -28
  168. package/{verifycode-widget-c09fbb3c.js → verifycode-widget-5df2dcdc.js} +34 -33
  169. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1fca8a90.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-7ea2dd77.js} +27 -26
  170. package/{wrapper-widget-21408a77.js → wrapper-widget-a70d939f.js} +6 -6
  171. package/affix-widget-1c84ecfb.js +0 -43
  172. package/avatar-widget-3b71e7a1.js +0 -43
  173. package/badge-widget-72b34510.js +0 -49
  174. package/common-editor-fba47b00.js +0 -26
  175. package/customClass-editor-5f3c0118.js +0 -45
  176. package/default-slot-widget-0dcac6f6.js +0 -29
  177. package/dialog-widget-a1705f21.js +0 -37
  178. package/drawer-widget-8a4cf015.js +0 -37
  179. package/empty-widget-f99a3baf.js +0 -43
  180. package/feedback-widget-08332c4f.js +0 -30
  181. package/form-widget-10dd2246.js +0 -230
  182. package/iframe-widget-2834e921.js +0 -111
  183. package/index-004c3e5a.js +0 -135
  184. package/index-1a4ba0e3.js +0 -132
  185. package/index-6ae0e7db.js +0 -121
  186. package/index-8c63f468.js +0 -47
  187. package/index-979a4dfc.js +0 -43
  188. package/slot-62b1ff9b.js +0 -287
  189. package/table-col-widget-a0233d24.js +0 -26
  190. package/tag-widget-7bce1464.js +0 -43
  191. package/text-widget-d5907fd1.js +0 -43
  192. package/textarea-widget-ba555132.js +0 -60
@@ -1,50 +1,51 @@
1
- var Mn = Object.defineProperty;
2
- var xn = (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) => (xn(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 ve, computed as We, onBeforeUnmount as Dn, inject as Pn, toRefs as Nn } from "vue";
5
- import { q as se, a as Ne, c as Te, t as it, i as ft, o as X, p as w, F as Fn, P as Tn, w as Oe, f as lt, h as Bn, v as In, k as Y, d as de, n as Ln, M as ge } from "./enum-type-25ce26d4.js";
6
- import { u as jn } from "./emitter-fd99ee94.js";
7
- import { u as mt } from "./icon-6342f929.js";
8
- import { f as $, j as pe, k as $n, l as nt, b as j, a as kn, d as An } from "./expression-c0206176.js";
9
- import { b as vt, c as Fe, B as q, P as dt, d as gt, e as Hn, a as ot } from "./baseImp-e49d2773.js";
10
- import { F as Kn, d as qn, b as Gn } from "./slot-62b1ff9b.js";
11
- import { f as Un, b as Jn, h as De, d as zn } from "./index-5df9e1e9.js";
12
- import { W as k, d as Q } from "./enum-type-a9f5e75a.js";
13
- import { p as rt, a as ht, g as Qn, f as he } from "./multirow-70766faf.js";
14
- import { m as Xn } from "./uuid-ff3b37ed.js";
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 { a as De, i as it, o as X, j as w, r as Tn, b as Bn, m as Fn, e as Y, d as ge, h as In } from "./obj-469b8636.js";
6
+ import { u as Ln } from "./emitter-22bcad26.js";
7
+ import { u as ft } from "./icon-6342f929.js";
8
+ import { f as $, j as Oe, k as jn, l as nt, b as j, a as $n, d as An } from "./expression-cf83c895.js";
9
+ import { l as ue, c as Be, t as lt, j as kn, d as Ve, f as mt, w as he } from "./enum-type-339a584b.js";
10
+ import { b as vt, c as Te, B as q, P as dt, d as gt, e as Hn, a as ot } from "./baseImp-d6a218bb.js";
11
+ import { F as Kn, d as qn, b as Gn } from "./slot-ad34bf62.js";
12
+ import { f as Un, b as Jn, h as Pe, d as zn } from "./index-2cc63818.js";
13
+ import { W as A, d as Q } from "./enum-type-50a08ddf.js";
14
+ import { p as rt, a as ht, g as Qn, f as pe } from "./multirow-60333a37.js";
15
+ import { m as Xn } from "./uuid-d9f857bf.js";
15
16
  function Yn() {
16
17
  return {
17
18
  onMountedOrActivated: (p) => {
18
- let x = !1;
19
+ let M = !1;
19
20
  ut(() => {
20
21
  p(), at(() => {
21
- x = !0;
22
+ M = !0;
22
23
  });
23
24
  }), _n(() => {
24
- x && p();
25
+ M && p();
25
26
  });
26
27
  },
27
28
  onCompErrorCaptured: () => {
28
- Sn((p) => (se.error("onCompErrorCaptured", p), !1));
29
+ Sn((p) => (ue.error("onCompErrorCaptured", p), !1));
29
30
  }
30
31
  };
31
32
  }
32
33
  function Zn(t, u) {
33
- const { getWidgetOption: p, getWidgetOptionByPropValue: x } = vt(t, u), N = (a) => p(a);
34
+ const { getWidgetOption: p, getWidgetOptionByPropValue: M } = vt(t, u), D = (a) => p(a);
34
35
  return {
35
- existFunc: N,
36
- handleFunc: (a, D) => {
37
- if (Ne(a)) {
38
- var T = N(String(a));
39
- return Fe(T, D);
36
+ existFunc: D,
37
+ handleFunc: (a, P) => {
38
+ if (De(a)) {
39
+ var B = D(String(a));
40
+ return Te(B, P);
40
41
  } else {
41
- var T = x(Te(a));
42
- return Fe(T, D);
42
+ var B = M(Be(a));
43
+ return Te(B, P);
43
44
  }
44
45
  }
45
46
  };
46
47
  }
47
- class Be {
48
+ class Fe {
48
49
  constructor(u) {
49
50
  tt(this, "refList", {});
50
51
  u && (this.refList = u);
@@ -63,11 +64,11 @@ class Be {
63
64
  u && this.refList && delete this.refList[u.toString()];
64
65
  }
65
66
  }
66
- function Ve(t) {
67
+ function Ce(t) {
67
68
  t || (t = {});
68
- const u = new Be(t), { instance: p } = mt(), x = (g) => u.getWidgetRef(g == null ? void 0 : g.toString()), N = (g, V, C) => {
69
+ const u = new Fe(t), { instance: p } = ft(), M = (g) => u.getWidgetRef(g == null ? void 0 : g.toString()), D = (g, V, C) => {
69
70
  var v = [], S = [];
70
- let o = x(g);
71
+ let o = M(g);
71
72
  return o && v.push(o), v == null || v.forEach((l) => {
72
73
  var r = a(l, V, C);
73
74
  r && S.push(r);
@@ -81,19 +82,19 @@ function Ve(t) {
81
82
  var S = [];
82
83
  return C && (S = Object.values(C)), v(...S);
83
84
  }
84
- }, D = (g, V, C) => {
85
+ }, P = (g, V, C) => {
85
86
  var v = [];
86
87
  if (g) {
87
- var S = Te(it(g, !0));
88
+ var S = Be(lt(g, !0));
88
89
  S == null || S.forEach((o) => {
89
- var l = N(o, V, C);
90
- ft(l) || v.push(l);
90
+ var l = D(o, V, C);
91
+ it(l) || v.push(l);
91
92
  });
92
93
  }
93
94
  return Array.isArray(g) ? v : v == null ? void 0 : v[0];
94
- }, T = (g, V) => {
95
+ }, B = (g, V) => {
95
96
  let C = X(t);
96
- D(C, g, V);
97
+ P(C, g, V);
97
98
  }, O = (g, V) => {
98
99
  var r, d, f;
99
100
  const C = (d = (r = V || p) == null ? void 0 : r.exposed) == null ? void 0 : d.getField();
@@ -103,89 +104,89 @@ function Ve(t) {
103
104
  var i = rt(s == null ? void 0 : s.id);
104
105
  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);
105
106
  }, l = (f = X(u.refList)) == null ? void 0 : f.find((s) => {
106
- var _, P;
107
+ var _, N;
107
108
  try {
108
- const B = (P = (_ = u.refList[s]) == null ? void 0 : _.exposed) == null ? void 0 : P.getField();
109
- var i = S(B);
110
- return !i && (v != null && v.groupName) && (i = o(B)), i;
109
+ const F = (N = (_ = u.refList[s]) == null ? void 0 : _.exposed) == null ? void 0 : N.getField();
110
+ var i = S(F);
111
+ return !i && (v != null && v.groupName) && (i = o(F)), i;
111
112
  } catch {
112
113
  return !1;
113
114
  }
114
115
  });
115
116
  if (l)
116
- return x(l);
117
+ return M(l);
117
118
  }, h = (g) => {
118
119
  if (g) {
119
120
  let V = g;
120
121
  u == null || u.setWidgetRef(V, p);
121
122
  }
122
- }, M = (g) => {
123
+ }, x = (g) => {
123
124
  if (g) {
124
125
  let V = g;
125
126
  u == null || u.removeWidgetRef(V);
126
127
  }
127
128
  };
128
129
  return {
129
- findWidgetAndCall: N,
130
- getWidgetRef: x,
131
- callWidgetsExposed: D,
130
+ findWidgetAndCall: D,
131
+ getWidgetRef: M,
132
+ callWidgetsExposed: P,
132
133
  callRefFunc: a,
133
134
  existRefFunc: W,
134
- setAllRefList: T,
135
+ setAllRefList: B,
135
136
  findRefById: O,
136
- findRefByName: x,
137
+ findRefByName: M,
137
138
  changeRegisterToRefList: (g, V) => {
138
- g && (h(g), M(V));
139
+ g && (h(g), x(V));
139
140
  },
140
141
  registerToRefList: h,
141
- unregisterFromRefList: M
142
+ unregisterFromRefList: x
142
143
  };
143
144
  }
144
- const wn = (t, u, p, x) => {
145
- const N = new Be(t), { callRefFunc: W } = Ve(t), { parseGroupId: a } = ht();
145
+ const wn = (t, u, p, M) => {
146
+ const D = new Fe(t), { callRefFunc: W } = Ce(t), { parseGroupId: a } = ht();
146
147
  if (!t || t.length <= 0 || !u)
147
148
  return;
148
- const D = () => {
149
+ const P = () => {
149
150
  var o, l;
150
- 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);
151
- }, T = (o) => {
151
+ return (l = (o = X(t)) == null ? void 0 : o.map((r) => W(t == null ? void 0 : t[r], A.getField))) == null ? void 0 : l.filter((r) => !!r);
152
+ }, B = (o) => {
152
153
  var f;
153
- const l = (f = D()) == null ? void 0 : f.find((s) => (s == null ? void 0 : s.id) === o);
154
+ const l = (f = P()) == null ? void 0 : f.find((s) => (s == null ? void 0 : s.id) === o);
154
155
  if (!l)
155
156
  return;
156
- const r = q.getName(l), d = N.getWidgetRef(r);
157
+ const r = q.getName(l), d = D.getWidgetRef(r);
157
158
  if (d)
158
159
  return { ref: d, name: r, id: l == null ? void 0 : l.id };
159
160
  }, O = (o, l) => {
160
161
  if (!w(l))
161
162
  return;
162
- const r = q.getName(o), d = N.getWidgetRef(r);
163
+ const r = q.getName(o), d = D.getWidgetRef(r);
163
164
  if (d) {
164
165
  const f = q.getOptions(o, $.defaultValue, !1, !(p != null && p.designState), { ...p, formData: l });
165
166
  if (w(f))
166
167
  if (ct(f)) {
167
168
  let s = Z(() => f.value, (i) => {
168
- s == null || s(), W(d, k.setValue, { newValue: i });
169
+ s == null || s(), W(d, A.setValue, { newValue: i });
169
170
  });
170
171
  } else
171
- W(d, k.setValue, { newValue: f });
172
+ W(d, A.setValue, { newValue: f });
172
173
  }
173
174
  }, h = (o, l) => {
174
- const r = T(o);
175
+ const r = B(o);
175
176
  if (!r)
176
177
  return;
177
- const d = r.name, f = W(r.ref, k.getValue), s = W(r.ref, k.getCheckedItems), i = {};
178
- return i[d] = f, f !== void 0 && !Bn(s) && !l && (i[`${d}${pe.checkedOptions}`] = s), i;
179
- }, M = (o, l) => {
178
+ const d = r.name, f = W(r.ref, A.getValue), s = W(r.ref, A.getCheckedItems), i = {};
179
+ return i[d] = f, f !== void 0 && !Bn(s) && !l && (i[`${d}${Oe.checkedOptions}`] = s), i;
180
+ }, x = (o, l) => {
180
181
  var d;
181
182
  var r = [];
182
- if ((d = D()) == null || d.forEach((f) => {
183
+ if ((d = P()) == null || d.forEach((f) => {
183
184
  if (!f)
184
185
  return;
185
186
  const s = f == null ? void 0 : f.id;
186
187
  var i = s === o;
187
- const _ = a(s), P = (_ == null ? void 0 : _.id) === o, B = (_ == null ? void 0 : _.groupName) === l;
188
- return i || P && (B || !l) ? (r.push(f), !0) : !1;
188
+ const _ = a(s), N = (_ == null ? void 0 : _.id) === o, F = (_ == null ? void 0 : _.groupName) === l;
189
+ return i || N && (F || !l) ? (r.push(f), !0) : !1;
189
190
  }), !(!r || r.length <= 0))
190
191
  return r == null ? void 0 : r.map((f) => {
191
192
  var s;
@@ -195,34 +196,34 @@ const wn = (t, u, p, x) => {
195
196
  source: f == null ? void 0 : f._source
196
197
  };
197
198
  });
198
- }, F = (o, l) => {
199
+ }, T = (o, l) => {
199
200
  var r = [];
200
201
  if (!o || (o == null ? void 0 : o.length) <= 0)
201
202
  return r;
202
203
  const d = a(u), f = d == null ? void 0 : d.groupName;
203
- return l === he.Inner2Outer ? o == null || o.forEach((s) => {
204
- var i = M(s);
204
+ return l === pe.Inner2Outer ? o == null || o.forEach((s) => {
205
+ var i = x(s);
205
206
  i && (i == null ? void 0 : i.length) > 0 && r.push(...i);
206
207
  }) : o == null || o.forEach((s) => {
207
- var i = M(s, f);
208
+ var i = x(s, f);
208
209
  i && (i == null ? void 0 : i.length) > 0 && r.push(...i);
209
210
  }), r;
210
211
  }, g = (o, l) => {
211
212
  let r = {};
212
213
  if (!o || o.length <= 0)
213
214
  return r;
214
- if (l === he.Inner2Outer) {
215
- var d = Fn(o, (f) => {
215
+ if (l === pe.Inner2Outer) {
216
+ var d = Tn(o, (f) => {
216
217
  var s;
217
218
  return (s = f.source) == null ? void 0 : s.id;
218
219
  });
219
220
  d == null || d.forEach((f) => {
220
221
  var _;
221
222
  const s = f.group[0], i = [];
222
- (_ = f == null ? void 0 : f.children) == null || _.forEach((P) => {
223
- const B = h(P == null ? void 0 : P.id, !0);
224
- if (w(B)) {
225
- var G = Object.values(Te(B));
223
+ (_ = f == null ? void 0 : f.children) == null || _.forEach((N) => {
224
+ const F = h(N == null ? void 0 : N.id, !0);
225
+ if (w(F)) {
226
+ var G = Object.values(Be(F));
226
227
  i.push(...G);
227
228
  }
228
229
  }), s && (r = Object.assign(r, { [s]: i }));
@@ -240,15 +241,15 @@ const wn = (t, u, p, x) => {
240
241
  r != null && r.source && (r != null && r.id) && (l[(d = r == null ? void 0 : r.source) == null ? void 0 : d.id] = r == null ? void 0 : r.id);
241
242
  }), l;
242
243
  }, C = (o, l, r) => {
243
- if (r === he.Inner2Inner) {
244
- const i = Tn(l), { updateFomula: _ } = gt(), { buildVariable: P } = Hn();
244
+ if (r === pe.Inner2Inner) {
245
+ const i = kn(l), { updateFomula: _ } = gt(), { buildVariable: N } = Hn();
245
246
  var d = V(o);
246
247
  if (w(d)) {
247
- var f = q.getOrgOption(l, $.defaultValue), s = _(Oe(f), d, (B, G) => {
248
- var ee = d[B];
249
- return ft(ee) ? P(B) : P(ee);
248
+ var f = q.getOrgOption(l, $.defaultValue), s = _(Ve(f), d, (F, G) => {
249
+ var ee = d[F];
250
+ return it(ee) ? N(F) : N(ee);
250
251
  });
251
- return q.setOrgOption(i, $.defaultValue, lt(s)), i;
252
+ return q.setOrgOption(i, $.defaultValue, mt(s)), i;
252
253
  }
253
254
  }
254
255
  return l;
@@ -258,12 +259,12 @@ const wn = (t, u, p, x) => {
258
259
  if (r == null)
259
260
  return;
260
261
  const d = Qn(u, l);
261
- if (d === he.DiffInner)
262
+ if (d === pe.DiffInner)
262
263
  return;
263
264
  var f = dt.getFormulaRelatedField(r);
264
265
  if (!f || f.length <= 0)
265
266
  return;
266
- var s = F(f, d);
267
+ var s = T(f, d);
267
268
  if (!(s != null && s.some((_) => _.id === u)))
268
269
  return;
269
270
  const i = g(s, d);
@@ -271,28 +272,28 @@ const wn = (t, u, p, x) => {
271
272
  };
272
273
  (() => {
273
274
  var o;
274
- (o = D()) == null || o.forEach((l) => {
275
+ (o = P()) == null || o.forEach((l) => {
275
276
  v(l);
276
277
  });
277
278
  })();
278
- }, eo = (t, u, p, x, N) => {
279
- var F;
280
- if (N || !w(p))
279
+ }, eo = (t, u, p, M, D) => {
280
+ var T;
281
+ if (D || !w(p))
281
282
  return;
282
283
  const { parseGroupId: W } = ht();
283
- var a = W(u), D = a == null ? void 0 : a.groupName;
284
- const { callRefFunc: T } = Ve(t), O = (g, V) => {
284
+ var a = W(u), P = a == null ? void 0 : a.groupName;
285
+ const { callRefFunc: B } = Ce(t), O = (g, V) => {
285
286
  var r, d, f;
286
- const C = (d = (r = X(t)) == null ? void 0 : r.map((s) => T(t == null ? void 0 : t[s], k.getField))) == null ? void 0 : d.filter((s) => !!s), v = (f = Un(C, (s) => {
287
+ 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 = Un(C, (s) => {
287
288
  var i = W(s == null ? void 0 : s.id);
288
- return (!D || (i == null ? void 0 : i.groupName) === D) && (i == null ? void 0 : i.id) === g;
289
+ return (!P || (i == null ? void 0 : i.groupName) === P) && (i == null ? void 0 : i.id) === g;
289
290
  })) == null ? void 0 : f[0];
290
291
  if (!v)
291
292
  return;
292
- const S = q.getName(v), l = new Be(t).getWidgetRef(S);
293
+ const S = q.getName(v), l = new Fe(t).getWidgetRef(S);
293
294
  l && (V == null || V(l));
294
- }, h = it(x == null ? void 0 : x.newValue, !0), M = (F = X(p)) == null ? void 0 : F.filter((g) => h == null ? void 0 : h.includes(g));
295
- !M || M.length <= 0 || M == null || M.forEach((g) => {
295
+ }, h = lt(M == null ? void 0 : M.newValue, !0), x = (T = X(p)) == null ? void 0 : T.filter((g) => h == null ? void 0 : h.includes(g));
296
+ !x || x.length <= 0 || x == null || x.forEach((g) => {
296
297
  var C, v;
297
298
  const V = (C = p == null ? void 0 : p[g]) == null ? void 0 : C.result;
298
299
  (v = X(V)) == null || v.forEach((S) => {
@@ -300,7 +301,7 @@ const wn = (t, u, p, x) => {
300
301
  const o = V == null ? void 0 : V[S];
301
302
  (l = o == null ? void 0 : o.ids) == null || l.forEach((r) => {
302
303
  O(r, (d) => {
303
- T(d, o == null ? void 0 : o.event, o == null ? void 0 : o.args);
304
+ B(d, o == null ? void 0 : o.event, o == null ? void 0 : o.args);
304
305
  });
305
306
  });
306
307
  });
@@ -315,43 +316,43 @@ function to() {
315
316
  if (O)
316
317
  return O != null && O.ref ? O == null ? void 0 : O.ref : O;
317
318
  }, u = (O) => {
318
- var h, M;
319
+ var h, x;
319
320
  try {
320
- (M = (h = t(O)) == null ? void 0 : h.focus) == null || M.call(h);
321
- } catch (F) {
322
- se.error("focus", F, O);
321
+ (x = (h = t(O)) == null ? void 0 : h.focus) == null || x.call(h);
322
+ } catch (T) {
323
+ ue.error("focus", T, O);
323
324
  }
324
325
  }, p = (O) => {
325
- var h, M;
326
+ var h, x;
326
327
  try {
327
- (M = (h = t(O)) == null ? void 0 : h.blur) == null || M.call(h);
328
- } catch (F) {
329
- se.error("blur", F, O);
328
+ (x = (h = t(O)) == null ? void 0 : h.blur) == null || x.call(h);
329
+ } catch (T) {
330
+ ue.error("blur", T, O);
330
331
  }
331
- }, x = (O) => {
332
+ }, M = (O) => {
332
333
  var h;
333
334
  return (h = t(O)) == null ? void 0 : h.selectionStart;
334
- }, N = (O) => {
335
+ }, D = (O) => {
335
336
  var h;
336
337
  return (h = t(O)) == null ? void 0 : h.selectionEnd;
337
338
  }, W = (O, h) => {
338
- var M;
339
- return (M = t(O)) == null ? void 0 : M.setSelectionRange(h, h);
339
+ var x;
340
+ return (x = t(O)) == null ? void 0 : x.setSelectionRange(h, h);
340
341
  }, a = (O, h) => {
341
342
  u(O), W(O, h);
342
343
  };
343
344
  return {
344
- getSelectionStart: x,
345
- getSelectionEnd: N,
345
+ getSelectionStart: M,
346
+ getSelectionEnd: D,
346
347
  setSelectionStart: W,
347
348
  blur: p,
348
349
  focus: u,
349
350
  setMousePos: a,
350
- getMousePos: (O) => x(O),
351
- insertOnMousePos: (O, h, M) => {
352
- const F = x(O), g = N(O), V = $n(M, h, F, g);
351
+ getMousePos: (O) => M(O),
352
+ insertOnMousePos: (O, h, x) => {
353
+ const T = M(O), g = D(O), V = jn(x, h, T, g);
353
354
  return at(() => {
354
- a(O, F + (h == null ? void 0 : h.length));
355
+ a(O, T + (h == null ? void 0 : h.length));
355
356
  }), V;
356
357
  }
357
358
  };
@@ -359,23 +360,23 @@ function to() {
359
360
  const st = (t) => {
360
361
  var p;
361
362
  const { getFormulaFields: u } = gt();
362
- return ((p = u(Oe(t))) == null ? void 0 : p.length) > 0;
363
+ return ((p = u(Ve(t))) == null ? void 0 : p.length) > 0;
363
364
  }, z = (t) => {
364
365
  const u = t.type;
365
366
  //![WidgetType.fileUpload, WidgetType.pictureUpload].includes(wtype) &&
366
367
  return t.formItemFlag || [Q.form, Q.dialog].includes(u);
367
- }, Pe = (t) => {
368
+ }, Ne = (t) => {
368
369
  const u = t.type;
369
370
  return [Q.treeSelect, Q.cascader, Q.select, Q.checkbox, Q.radio].includes(u);
370
371
  };
371
- function go(t) {
372
- const u = t == null ? void 0 : t.designState, p = (t == null ? void 0 : t.created) != !1, x = t == null ? void 0 : t.exResetField, N = t == null ? void 0 : t.extInitFieldModel, W = t == null ? void 0 : t.exposedWholeInstance, a = t == null ? void 0 : t.widget, D = t == null ? void 0 : t.designer, T = D == null ? void 0 : D.pageConfig, { formRefList: O, globalRefList: h, globalConfig: M, globalFormName: F, globalDataModel: g, rowScope: V } = Kn.globalInject();
372
+ function ho(t) {
373
+ 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 } = Kn.globalInject();
373
374
  let C = Wn(g || {});
374
- const v = Ve(h), S = Ve(O), { instance: o } = mt(), l = () => Y(C), r = () => V, d = () => a, f = {
375
+ const v = Ce(h), S = Ce(O), { instance: o } = ft(), l = () => Y(C), r = () => V, d = () => a, f = {
375
376
  designState: u,
376
- pageConfig: T,
377
+ pageConfig: B,
377
378
  formData: !u && st(a) ? C : {},
378
- globalConfig: M
379
+ globalConfig: x
379
380
  }, s = {
380
381
  instance: o,
381
382
  ...f
@@ -394,16 +395,16 @@ function go(t) {
394
395
  getSchemaDataObject: i == null ? void 0 : i.getSchemaDataObject,
395
396
  getSchemaDatas: i == null ? void 0 : i.getSchemaDatas
396
397
  }
397
- }, P = {
398
+ }, N = {
398
399
  instance: W ? o : _,
399
400
  ...f
400
- }, { on$: B, dispatch: G, emit$: ee } = jn(), { onCompErrorCaptured: Ot } = Yn(), { existFunc: Vt } = Zn({ options: a == null ? void 0 : a.options }, P), { isIdClass: Ct, getIdByIdClass: yt } = Jn(a), { getOneSchemaData: Et, getSchemaDataObject: bt, getSchemaDatas: Rt } = ot(P), te = to(), 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: Ie, extendAttrs: Ce, events: A, slots: Le, rules: je, fieldName: b, buildRules: xt, clearRules: _t, disableChangeValidate: St, enableChangeValidate: Wt, optionItems: ue, filterOptionItems: Dt, getCheckedOptionText: Pt, getCheckedOptionValues: Nt, getCheckedOptionLabels: Ft, getCheckedOptionItems: Tt, activeOptionItems: Bt, activeOptionItem: It, activeOptionItemIndex: Lt, setOptionItems: $e, isOptionWidget: jt, setWidgetOption: ne, getWidgetOption: ae, setFieldEnable: $t, hasFieldOptions: kt, getFieldOptions: oe, setFieldOptions: At, computedDefaultValue: ce, hasDefaultValue: ie, singleOption: Ht, watchOption: ke, addCssClass: Kt, removeCssClass: qt } = vt(a, P, Mt, o);
401
- let ye = null, R = ve();
402
- const K = ve(), Gt = () => b.value, Ae = () => `${a == null ? void 0 : a.id}-${Xn()}`, Ee = ve(Ae()), He = () => {
403
- Ee.value = Ae();
401
+ }, { on$: F, dispatch: G, emit$: ee } = Ln(), { onCompErrorCaptured: Ot } = Yn(), { existFunc: Vt } = Zn({ options: a == null ? void 0 : a.options }, N), { isIdClass: Ct, getIdByIdClass: yt } = Jn(a), { getOneSchemaData: Et, getSchemaDataObject: bt, getSchemaDatas: Rt } = ot(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: ye, events: k, 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: At, getFieldOptions: oe, setFieldOptions: kt, computedDefaultValue: ie, hasDefaultValue: fe, singleOption: Ht, watchOption: Ae, addCssClass: Kt, removeCssClass: qt } = vt(a, N, xt, o);
402
+ let Ee = null, R = de();
403
+ const K = de(), Gt = () => b.value, ke = () => `${a == null ? void 0 : a.id}-${Xn()}`, be = de(ke()), He = () => {
404
+ be.value = ke();
404
405
  }, Ut = We({
405
406
  get: () => {
406
- if (Ne(R.value)) {
407
+ if (De(R.value)) {
407
408
  var e = Number(R.value);
408
409
  return isNaN(e) ? void 0 : (R.value = e, e);
409
410
  }
@@ -414,9 +415,9 @@ function go(t) {
414
415
  }
415
416
  }), Jt = We({
416
417
  get: () => {
417
- if (Ne(R.value)) {
418
- var e = lt(R.value);
419
- In(e) && (R.value = e);
418
+ if (De(R.value)) {
419
+ var e = mt(R.value);
420
+ Fn(e) && (R.value = e);
420
421
  }
421
422
  return R.value;
422
423
  },
@@ -431,7 +432,7 @@ function go(t) {
431
432
  return;
432
433
  }
433
434
  $e(e);
434
- }, be = (e) => {
435
+ }, Re = (e) => {
435
436
  var n, c, m;
436
437
  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);
437
438
  }, Ke = (e) => {
@@ -440,65 +441,66 @@ function go(t) {
440
441
  }, Qt = (e) => {
441
442
  var n, c, m;
442
443
  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);
443
- }, fe = () => {
444
+ }, re = (e) => {
444
445
  var y;
445
446
  if (!jt())
446
447
  return;
447
- const e = (y = Ce.value) == null ? void 0 : y.withAttachData;
448
- if (!Pe(a) || e === !1)
448
+ const n = (y = ye.value) == null ? void 0 : y.withAttachData;
449
+ if (!Ne(a) || n === !1)
449
450
  return;
450
- const n = R.value, c = Ke(n), m = Qt(n);
451
- var E = Y(be(n));
451
+ const c = Ke(e), m = Qt(e);
452
+ var E = Y(Re(e));
452
453
  qe(c, E, m);
453
454
  }, qe = (e, n, c) => {
454
455
  var m = {};
455
456
  if (e != null) {
456
457
  let E = oe("textName", !1);
457
- [`${b.value}${pe.optionText}`, E].forEach((y) => {
458
+ [`${b.value}${Oe.optionText}`, E].forEach((y) => {
458
459
  y && m[y] === void 0 && (m[y] = e);
459
460
  });
460
461
  }
461
- if (n != null && Oe(n) !== Oe(R.value)) {
462
+ if (n != null && Ve(n) !== Ve(R.value)) {
462
463
  let E = oe("optionName", !1);
463
- [`${b.value}${pe.checkedOptions}`, E].forEach((y) => {
464
+ [`${b.value}${Oe.checkedOptions}`, E].forEach((y) => {
464
465
  y && m[y] === void 0 && (m[y] = n);
465
466
  });
466
467
  }
467
468
  if (c != null) {
468
469
  let E = oe("labelName", !1);
469
- e !== c && [`${b.value}${pe.optionLabelName}`, E].forEach((y) => {
470
+ e !== c && [`${b.value}${Oe.optionLabelName}`, E].forEach((y) => {
470
471
  y && m[y] === void 0 && (m[y] = c);
471
472
  });
472
473
  }
473
474
  Ge(Y(m));
474
475
  }, U = (e) => {
475
476
  if (z(a)) {
477
+ re(e);
476
478
  var n = { [b.value]: e };
477
479
  Ge(n);
478
480
  }
479
481
  }, Ge = (e) => {
480
- de(C, e);
481
- }, re = (e) => {
482
+ ge(C, e);
483
+ }, se = (e) => {
482
484
  u || U(e);
483
485
  }, Ue = (e) => oe(e, !1), Je = () => {
484
- var e = Nn(C);
486
+ var e = Dn(C);
485
487
  R = dt.get(e, b.value);
486
488
  }, ze = (e) => {
487
- ye = Y(e);
489
+ Ee = Y(e);
488
490
  }, Xt = (e) => {
489
- u || N && N(e);
491
+ u || D && D(e);
490
492
  }, Yt = () => {
491
- ie() && ge(ce()).then((e) => {
493
+ fe() && he(ie()).then((e) => {
492
494
  U(e), Je();
493
495
  });
494
- }, Re = (e, n) => {
496
+ }, le = (e, n) => {
495
497
  if (!z(a))
496
498
  return;
497
499
  ee($.fieldValueChanged, { newValue: e, oldValue: n });
498
500
  const c = { fieldId: a.id, fieldName: b.value, newValue: e, oldValue: n };
499
- G(F, $.fieldChange, c, o);
500
- }, Zt = (e) => Vt(e), Me = (e, n) => Fe(ae(e), n), wt = (e) => {
501
- re(e), Xe(), Me($.onInput, { value: e });
501
+ G(T, $.fieldChange, c, o);
502
+ }, Zt = (e) => Vt(e), xe = (e, n) => Te(ce(e), n), wt = (e) => {
503
+ se(e), Xe(), xe($.onInput, { value: e });
502
504
  }, en = (e, n) => {
503
505
  var c, m, E;
504
506
  return (E = (m = (c = v.getWidgetRef(b.value)) == null ? void 0 : c.exposed) == null ? void 0 : m.handleBeforeChange) == null ? void 0 : E.call(m, e, n);
@@ -506,33 +508,33 @@ function go(t) {
506
508
  var E, y, I;
507
509
  let c = ((E = e == null ? void 0 : e[0]) == null ? void 0 : E.target) != null ? (I = (y = e == null ? void 0 : e[0]) == null ? void 0 : y.target) == null ? void 0 : I.value : e == null ? void 0 : e[0];
508
510
  c = Y(c);
509
- var m = en(c, ye);
510
- m != null ? re(m) : re(c), Re(c, ye), Xe(), ze(c);
511
+ var m = en(c, Ee);
512
+ m != null ? se(m) : se(c), le(c, Ee), Xe(), ze(c);
511
513
  }, nn = (e = !0) => {
512
514
  ne(j.readonly, e);
513
515
  }, on = (e = !0) => {
514
516
  ne(j.disabled, e);
515
517
  }, rn = (e = !0) => {
516
- ne(j.hidden, e), e ? Ze() : me();
518
+ ne(j.hidden, e), e ? Ze() : ve();
517
519
  }, sn = (e = !0) => {
518
- $t(j.required, e), me();
520
+ $t(j.required, e), ve();
519
521
  }, un = (e) => {
520
522
  ne(j.label, e);
521
- }, J = () => R == null ? void 0 : R.value, xe = (e) => {
523
+ }, J = () => R == null ? void 0 : R.value, Me = (e) => {
522
524
  R.value = e;
523
- }, le = (e) => {
525
+ }, me = (e) => {
524
526
  let n = Y(J());
525
- if (xe(e), !z(a))
527
+ if (Me(e), !z(a))
526
528
  return;
527
529
  const c = J();
528
- n !== c && (re(c), Re(e, n));
530
+ n !== c && (se(c), le(e, n));
529
531
  }, an = () => {
530
- ie() ? ge(ce()).then((e) => {
532
+ fe() ? he(ie()).then((e) => {
531
533
  U(e);
532
- }) : U(null), x == null || x();
534
+ }) : U(null), M == null || M();
533
535
  }, cn = (e) => {
534
536
  const n = J(), c = te.insertOnMousePos(K.value, e, n);
535
- le(c);
537
+ me(c);
536
538
  }, fn = (e, n) => {
537
539
  Z(() => R == null ? void 0 : R.value, (c, m) => {
538
540
  e == null || e({ id: a.id, name: b.value, newValue: c, oldValue: m });
@@ -560,7 +562,7 @@ function go(t) {
560
562
  try {
561
563
  (y = Se == null ? void 0 : Se.exposed) == null || y.focus();
562
564
  } catch (Rn) {
563
- se.error("handleEnter", Rn);
565
+ ue.error("handleEnter", Rn);
564
566
  }
565
567
  }
566
568
  }
@@ -579,12 +581,12 @@ function go(t) {
579
581
  getField: d,
580
582
  getFormData: l,
581
583
  getValue: J,
582
- setValue: xe,
584
+ setValue: Me,
583
585
  emit$: ee,
584
586
  findRefByName: v.getWidgetRef,
585
587
  findRefById: v.findRefById,
586
588
  callRefFunc: v.callRefFunc,
587
- getWidgetOption: ae,
589
+ getWidgetOption: ce,
588
590
  setWidgetOption: ne,
589
591
  refreshKey: He,
590
592
  getRowScope: r,
@@ -597,7 +599,7 @@ function go(t) {
597
599
  }, n = {
598
600
  resetField: an,
599
601
  getValue: J,
600
- setValue: le,
602
+ setValue: me,
601
603
  refreshDefaultValue: Yt,
602
604
  insertOnMousePos: cn,
603
605
  disableChangeValidate: St,
@@ -616,30 +618,30 @@ function go(t) {
616
618
  }
617
619
  }, c = {
618
620
  loadOptionItems: zt,
619
- getCheckedItems: be,
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: sn },
625
+ [j.label]: { name: A.setLabel, fn: un },
626
+ [j.hidden]: { name: A.setHidden, fn: rn },
627
+ [j.disabled]: { name: A.setDisabled, fn: on },
628
+ [j.readonly]: { name: A.setReadonly, fn: nn }
627
629
  }, E = {};
628
630
  (I = X(m)) == null || I.forEach((L) => {
629
- if (De(a, L)) {
631
+ if (Pe(a, L)) {
630
632
  const H = m[L];
631
633
  E[H.name] = H.fn;
632
634
  }
633
635
  });
634
- var y = de(e, E);
635
- return z(a) && (y = de(y, n)), Pe(a) && (y = de(y, c)), y;
636
+ var y = ge(e, E);
637
+ return z(a) && (y = ge(y, n)), Ne(a) && (y = ge(y, c)), y;
636
638
  };
637
639
  const vn = We(() => ({
638
640
  attrs: Ie.value,
639
- extendAttrs: Ce.value,
640
- events: A.value,
641
+ extendAttrs: ye.value,
642
+ events: k.value,
641
643
  slots: Le.value,
642
- fieldKey: Ee.value,
644
+ fieldKey: be.value,
643
645
  fieldEditor: K.value,
644
646
  fieldName: b.value
645
647
  })), dn = (e) => {
@@ -653,7 +655,7 @@ function go(t) {
653
655
  deep: !0
654
656
  });
655
657
  }, gn = (e, n, c) => {
656
- const m = ve(), E = Ue(e), y = (I) => {
658
+ const m = de(), E = Ue(e), y = (I) => {
657
659
  n && (m.value = n(I || E));
658
660
  };
659
661
  return ct(E) ? Z(E, (I) => {
@@ -661,46 +663,46 @@ function go(t) {
661
663
  }) : y(E), m;
662
664
  }, Qe = () => {
663
665
  !z(a) || u || fn((e) => {
664
- wn(h, a == null ? void 0 : a.id, P), eo(h, a == null ? void 0 : a.id, q.getOptions(a, j.relate), e), fe(), setTimeout(() => {
665
- fe(), Xt(e == null ? void 0 : e.newValue);
666
- }, 1e3);
666
+ 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(() => {
667
+ re(e.newValue), Xt(e == null ? void 0 : e.newValue);
668
+ }, 1e3), le(e.newValue, e.oldValue);
667
669
  }, { immediate: !0 });
668
670
  }, Xe = () => {
669
671
  const e = { propName: b.value };
670
- G(F, $.fieldValidation, e, o);
672
+ G(T, $.fieldValidation, e, o);
671
673
  }, Ye = () => {
672
674
  const e = { fieldId: a.id, fieldName: b.value, rules: je };
673
- G(F, $.fieldRuleChange, e, o);
674
- }, me = () => {
675
+ G(T, $.fieldRuleChange, e, o);
676
+ }, ve = () => {
675
677
  if (!z(a))
676
678
  return;
677
- const e = xt();
679
+ const e = Mt();
678
680
  return Ye(), e;
679
681
  }, Ze = () => {
680
682
  _t(), Ye();
681
683
  }, hn = () => {
682
- De(a, "change") && (A.value.change = tn), De(a, "input") && (A.value.input = wt), B(kn.setFormData, (e) => {
683
- le(e[b.value]);
684
- }), B($.fieldValueChanged, (e) => {
685
- Me($.onChange, { value: e == null ? void 0 : e.newValue, oldValue: e == null ? void 0 : e.oldValue });
684
+ Pe(a, "change") && (k.value.change = tn), Pe(a, "input") && (k.value.input = wt), F($n.setFormData, (e) => {
685
+ me(e[b.value]);
686
+ }), F($.fieldValueChanged, (e) => {
687
+ xe($.onChange, { value: e == null ? void 0 : e.newValue, oldValue: e == null ? void 0 : e.oldValue });
686
688
  });
687
689
  }, pn = () => {
688
690
  let e = b.value;
689
- z(a) ? ((!Ln(C, e) || C[e] === void 0) && (U(null), ie() && ge(ce()).then((n) => {
691
+ z(a) ? ((!In(C, e) || C[e] === void 0) && (U(null), fe() && he(ie()).then((n) => {
690
692
  n == null ? U(null) : U(n);
691
- })), Je()) : ie() && ge(ce()).then((n) => {
692
- le(n);
693
+ })), Je()) : fe() && he(ie()).then((n) => {
694
+ me(n);
693
695
  }), ze(J());
694
696
  }, we = () => {
695
- Pe(a) && Z(() => ue == null ? void 0 : ue.value, (e, n) => {
696
- fe();
697
+ Ne(a) && Z(() => ae == null ? void 0 : ae.value, (e, n) => {
698
+ re(R.value);
697
699
  }, { immediate: !0 });
698
700
  }, On = () => {
699
- ke(!0, j.css, void 0, (e) => {
701
+ Ae(!0, j.css, void 0, (e) => {
700
702
  et();
701
703
  });
702
704
  }, Vn = () => {
703
- const e = Pn(An.isRenderComplete);
705
+ const e = Nn(An.isRenderComplete);
704
706
  if (e != null && e.value) {
705
707
  we(), Qe();
706
708
  return;
@@ -712,23 +714,23 @@ function go(t) {
712
714
  var e, n;
713
715
  if (p)
714
716
  try {
715
- pn(), me(), 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();
717
+ pn(), ve(), hn(), v.registerToRefList(b.value), S.registerToRefList(b.value), (n = (e = k == null ? void 0 : k.value) == null ? void 0 : e.created) == null || n.call(e), Ot();
716
718
  } catch (c) {
717
- se.error("create", c);
719
+ ue.error("create", c);
718
720
  }
719
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);
725
+ et(), On(), Vn(), (n = (e = k == null ? void 0 : k.value) == null ? void 0 : e.mounted) == null || n.call(e);
724
726
  } catch (c) {
725
727
  console.log("mounted", a, c);
726
728
  }
727
- }), Dn(() => {
729
+ }), Pn(() => {
728
730
  v.unregisterFromRefList(b.value), S.unregisterFromRefList(b.value);
729
731
  }));
730
732
  }, et = () => {
731
- const e = a == null ? void 0 : a.id, n = ae(j.css);
733
+ const e = a == null ? void 0 : a.id, n = ce(j.css);
732
734
  n && e && qn(n).then((c) => {
733
735
  Gn(c, e);
734
736
  });
@@ -739,59 +741,59 @@ function go(t) {
739
741
  objFieldModel: Jt,
740
742
  numFieldModel: Ut,
741
743
  fieldEditor: K,
742
- fieldKey: Ee,
744
+ fieldKey: be,
743
745
  field: a,
744
746
  instance: o,
745
747
  attrs: Ie,
746
- extendAttrs: Ce,
748
+ extendAttrs: ye,
747
749
  slots: Le,
748
- events: A,
750
+ events: k,
749
751
  rules: je,
750
752
  fieldObj: vn,
751
753
  getValue: J,
752
- setValue: xe,
753
- pageConfig: T,
754
+ setValue: Me,
755
+ pageConfig: B,
754
756
  formModel: C,
755
757
  fieldName: b,
756
- propResultOpt: P,
757
- optionItems: ue,
758
- activeOptionItems: Bt,
758
+ propResultOpt: N,
759
+ optionItems: ae,
760
+ activeOptionItems: Ft,
759
761
  activeOptionItem: It,
760
762
  activeOptionItemIndex: Lt,
761
- refreshOptionField: fe,
762
- filterOptionItems: Dt,
763
+ refreshOptionField: re,
764
+ filterOptionItems: Pt,
763
765
  setOptionItems: $e,
764
- getCheckedItems: be,
765
- getCheckedOptionItems: (e, n) => Tt(e || R.value, n),
766
- getCheckedOptionLabels: (e, n) => Ft(e || R.value, n),
767
- getCheckedOptionValues: (e, n) => Nt(e || R.value, n),
768
- getCheckedOptionText: (e, n) => Pt(e || R.value, n),
766
+ getCheckedItems: Re,
767
+ getCheckedOptionItems: (e, n) => Bt(e || R.value, n),
768
+ getCheckedOptionLabels: (e, n) => Tt(e || R.value, n),
769
+ getCheckedOptionValues: (e, n) => Dt(e || R.value, n),
770
+ getCheckedOptionText: (e, n) => Nt(e || R.value, n),
769
771
  refreshKey: He,
770
772
  watchKeyValue: gn,
771
773
  watchPropAndSaveHistoryStep: dn,
772
774
  existEvent: Zt,
773
- handleEvent: Me,
775
+ handleEvent: xe,
774
776
  handleEnter: ln,
775
777
  getPropName: Gt,
776
- emitFieldDataChange: Re,
777
- syncUpdateFormModel: re,
778
+ emitFieldDataChange: le,
779
+ syncUpdateFormModel: se,
778
780
  getWidgetRef: v.getWidgetRef,
779
781
  clearRules: Ze,
780
- buildRules: me,
782
+ buildRules: ve,
781
783
  getFieldOptionModel: Ue,
782
784
  getFieldOptions: oe,
783
- hasFieldOptions: kt,
784
- setFieldOptions: At,
785
- getWidgetOption: ae,
785
+ hasFieldOptions: At,
786
+ setFieldOptions: kt,
787
+ getWidgetOption: ce,
786
788
  singleOption: Ht,
787
- watchOption: ke,
789
+ watchOption: Ae,
788
790
  mergeOptionToFormModel: qe
789
791
  };
790
792
  }
791
793
  export {
792
- Be as R,
793
- Ve as a,
794
+ Fe as R,
795
+ Ce as a,
794
796
  Yn as b,
795
- go as c,
797
+ ho as c,
796
798
  Zn as u
797
799
  };