hldesigner 0.0.162 → 0.0.164

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 (177) hide show
  1. package/{_pdf-cdb08d43.js → _pdf-42dba7e3.js} +16 -15
  2. package/{_share_image-985b0946.js → _share_image-e51b1785.js} +2 -2
  3. package/{_share_size.vue_vue_type_script_setup_true_lang-d96c4d68.js → _share_size.vue_vue_type_script_setup_true_lang-506d843e.js} +3 -3
  4. package/{_txt-1c69f889.js → _txt-cab8e068.js} +20 -19
  5. package/{_unsupport-299c117d.js → _unsupport-f270b61a.js} +1 -1
  6. package/{affix-widget-f9405d38.js → affix-widget-d1b3e19a.js} +21 -20
  7. package/{alert-widget-b7443637.js → alert-widget-78b44b39.js} +21 -20
  8. package/{anchor-widget-90452b17.js → anchor-widget-9a8fb488.js} +18 -17
  9. package/{auto-complete-widget-4c3b14b5.js → auto-complete-widget-994b3029.js} +21 -20
  10. package/{avatar-widget-442792d2.js → avatar-widget-0486e185.js} +21 -20
  11. package/{backtop-widget-1012f9b2.js → backtop-widget-b4e33d6a.js} +21 -20
  12. package/badge-widget-67c0fe20.js +49 -0
  13. package/{barcode-widget-a7a53ef9.js → barcode-widget-04635110.js} +18 -17
  14. package/{baseImp-44073145.js → baseImp-f2c449da.js} +7 -6
  15. package/{breadcrumb-widget-a6c31c98.js → breadcrumb-widget-aa6fcbc7.js} +18 -17
  16. package/{button-widget-3cfdcee8.js → button-widget-624a8c67.js} +21 -20
  17. package/{cache-widget-0e3d6210.js → cache-widget-10118327.js} +20 -19
  18. package/{card-widget-953472d7.js → card-widget-5c7ddf2d.js} +31 -30
  19. package/{carousel-widget-3a7be237.js → carousel-widget-713b2329.js} +19 -18
  20. package/{cascader-widget-f281a626.js → cascader-widget-fb521249.js} +46 -45
  21. package/{chart-widget-642674c0.js → chart-widget-4633d2e6.js} +18 -17
  22. package/{checkbox-widget-09f3d479.js → checkbox-widget-76fcefac.js} +20 -19
  23. package/{collapse-widget-e6449623.js → collapse-widget-6eaca153.js} +19 -18
  24. package/{color-picker-widget-e7529e5d.js → color-picker-widget-ed188fae.js} +20 -19
  25. package/common-editor-1646bfed.js +26 -0
  26. package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-286d5cc6.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-35b219c3.js} +2 -2
  27. package/{configItem-f1948cd8.js → configItem-4e9af586.js} +35 -35
  28. package/{cont-cell-widget-a8b2fe71.js → cont-cell-widget-f8d3d4b0.js} +1 -1
  29. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b7c50e89.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-cd562e08.js} +5 -5
  30. package/{cont-widget-a88e9e3b.js → cont-widget-091970ae.js} +5 -5
  31. package/{content-wrapper-9c59e9fa.js → content-wrapper-09c25104.js} +6 -6
  32. package/{content-wrapper.vue_vue_type_script_setup_true_lang-825b18de.js → content-wrapper.vue_vue_type_script_setup_true_lang-7a91eea8.js} +3 -3
  33. package/{css-editor-216cf15d.js → css-editor-07e1665c.js} +17 -17
  34. package/{customClass-editor-3eb03cee.js → customClass-editor-351d620e.js} +15 -15
  35. package/{date-picker-range-widget-1b0ed1f6.js → date-picker-range-widget-6f427d01.js} +20 -19
  36. package/{date-picker-widget-e1ba65d3.js → date-picker-widget-8f9dafc5.js} +20 -19
  37. package/default-slot-widget-519cc0fb.js +29 -0
  38. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-490f7664.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-639bb916.js} +27 -26
  39. package/{descriptions-widget-d3d78d43.js → descriptions-widget-6f50af87.js} +19 -18
  40. package/designer.es.js +34 -33
  41. package/designer.style.css +1 -1
  42. package/designer.umd.js +442 -439
  43. package/{dialog-909ff181.js → dialog-49d0d685.js} +2 -2
  44. package/{dialog-widget-45a39a78.js → dialog-widget-a7b724bb.js} +20 -19
  45. package/divider-widget-6ae50828.js +43 -0
  46. package/drag-wrapper-9b94e774.js +256 -0
  47. package/{drawer-widget-1e0e01ba.js → drawer-widget-e66ac08e.js} +20 -19
  48. package/{dropdown-widget-0ce1693a.js → dropdown-widget-b737c753.js} +19 -18
  49. package/{editor-wrapper-3638b03f.js → editor-wrapper-c1531c62.js} +11 -11
  50. package/{emitter-5e4b8b68.js → emitter-0678e48a.js} +1 -1
  51. package/{empty-widget-2401331e.js → empty-widget-9424c7fd.js} +21 -20
  52. package/{enum-type-8bcc66d1.js → enum-type-4298f4a7.js} +1 -1
  53. package/{enum-type-0b82c86c.js → enum-type-479210de.js} +119 -112
  54. package/{expression-0474b710.js → expression-cacdcf66.js} +3 -3
  55. package/feedback-widget-b46e809f.js +30 -0
  56. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-187e9544.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-f46a56ec.js} +5 -5
  57. package/{field-editor-c4a63faa.js → field-editor-8a2a5d82.js} +14 -14
  58. package/{fieldobj-3f12e0a2.js → fieldobj-3ee1f89b.js} +1 -1
  59. package/{file-upload-widget-b1ff4cfc.js → file-upload-widget-67ea3918.js} +25 -24
  60. package/{form-item-wrapper-f830099e.js → form-item-wrapper-faf8dd4c.js} +12 -12
  61. package/{form-widget-61380759.js → form-widget-4eff9c9b.js} +11 -11
  62. package/{grid-col-widget-2302839f.js → grid-col-widget-7b10a111.js} +1 -1
  63. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c4ddd378.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-3fc75614.js} +5 -5
  64. package/{grid-widget-1b8930e7.js → grid-widget-1b93a7cd.js} +5 -5
  65. package/html-text-widget-441b8a13.js +54 -0
  66. package/{icon-widget-b5df5c26.js → icon-widget-cc2ec940.js} +20 -19
  67. package/{iframe-widget-fe3e3e1a.js → iframe-widget-0b068a35.js} +18 -17
  68. package/{image-editor-81ecb711.js → image-editor-9d01cc48.js} +15 -15
  69. package/{image-widget-e4b7a7ce.js → image-widget-f2ba7497.js} +18 -17
  70. package/{index-f914f2e5.js → index-00ceb7ce.js} +7 -7
  71. package/{index-b6125972.js → index-07b0c5da.js} +89 -88
  72. package/{index-59a67e81.js → index-0e694780.js} +10 -10
  73. package/{index-5574a250.js → index-12379f6d.js} +8 -8
  74. package/{index-eacbdb0e.js → index-1a5d347d.js} +8 -8
  75. package/{index-86c61f56.js → index-29089695.js} +11 -11
  76. package/{index-8f1e6fb9.js → index-3270d728.js} +36 -36
  77. package/{index-cebf27e6.js → index-3ccbbab4.js} +16 -16
  78. package/{index-20033da7.js → index-3db66882.js} +1 -1
  79. package/{index-56b9d1e0.js → index-4a7137b4.js} +10 -10
  80. package/{index-317d8417.js → index-528e605a.js} +24 -23
  81. package/{index-6e3a5c3e.js → index-75e76843.js} +9 -9
  82. package/{index-ac9179f3.js → index-79e25d43.js} +2 -2
  83. package/{index-a4132798.js → index-829a9fc4.js} +5 -5
  84. package/{index-5eb31f49.js → index-9c8efcd8.js} +5 -5
  85. package/{index-60c4843c.js → index-a9298b21.js} +7 -7
  86. package/{index-4cfed3f7.js → index-aaa2b72d.js} +1 -1
  87. package/{index-dbe1e741.js → index-c4cf8f45.js} +3 -3
  88. package/{index-bbc95db8.js → index-c9b85e73.js} +5 -5
  89. package/{index-45a992de.js → index-cbb4670d.js} +36 -36
  90. package/{index-f84afce5.js → index-db4f066a.js} +259 -243
  91. package/{index-a2a68353.js → index-e2a45f69.js} +6 -6
  92. package/{index-7bcb328d.js → index-f4c0a5f7.js} +5 -5
  93. package/{index-4546e12b.js → index-f835a124.js} +7 -7
  94. package/{input-number-widget-6a34092c.js → input-number-widget-faa4638e.js} +20 -19
  95. package/{input-widget-bbd157fe.js → input-widget-e15ea03b.js} +21 -20
  96. package/{install-designer-5469847d.js → install-designer-99277e5d.js} +28 -28
  97. package/{item-bf01aa9f.js → item-59a7c917.js} +2 -2
  98. package/{itemDetail-59054641.js → itemDetail-6356e601.js} +2 -2
  99. package/{label-wrapper-8d8e29ea.js → label-wrapper-c08eba3f.js} +5 -5
  100. package/{label-wrapper.vue_vue_type_style_index_0_lang-e5db56f1.js → label-wrapper.vue_vue_type_style_index_0_lang-03b314df.js} +3 -3
  101. package/link-widget-040eca66.js +61 -0
  102. package/{ltable-col-widget-a00228ea.js → ltable-col-widget-d0c722b9.js} +1 -1
  103. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-61222d5c.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-fb660b58.js} +9 -9
  104. package/{ltable-widget-7249f772.js → ltable-widget-30e2a4af.js} +5 -5
  105. package/{menu-widget-de98aaef.js → menu-widget-8b4d62a2.js} +19 -18
  106. package/{model-widget-56cb9ce1.js → model-widget-ba1a9dbf.js} +40 -39
  107. package/{multirow-dd089014.js → multirow-6aedad45.js} +6 -6
  108. package/{multirow-widget-e71d2db9.js → multirow-widget-5a745504.js} +20 -19
  109. package/{name-editor-20f953c1.js → name-editor-733b2c45.js} +14 -14
  110. package/{optionItem-60b0a14b.js → optionItem-e9580742.js} +40 -31
  111. package/package.json +1 -1
  112. package/{pagination-widget-e59203c6.js → pagination-widget-a84775e4.js} +18 -17
  113. package/{picture-upload-widget-baa57c5a.js → picture-upload-widget-62aacd12.js} +21 -20
  114. package/{progress-widget-ed416f6a.js → progress-widget-e8ac0e1e.js} +30 -29
  115. package/{property-base-7beaef78.js → property-base-c7813fa2.js} +17 -17
  116. package/{propresult-e8a9265e.js → propresult-795c68eb.js} +1 -1
  117. package/{qrcode-widget-fc50c30c.js → qrcode-widget-f960fc24.js} +18 -17
  118. package/{radio-widget-abdf6ad3.js → radio-widget-d1c45195.js} +20 -19
  119. package/{range-widget-b31d62d7.js → range-widget-54df9b35.js} +21 -20
  120. package/{rate-widget-bec75959.js → rate-widget-830bfa9a.js} +20 -19
  121. package/{reg-editor.vue_vue_type_script_setup_true_lang-81107506.js → reg-editor.vue_vue_type_script_setup_true_lang-28ed63ab.js} +3 -3
  122. package/{result-widget-94c36cf3.js → result-widget-c5e8a2fb.js} +19 -18
  123. package/{rich-editor-widget-3306c50f.js → rich-editor-widget-5926efcc.js} +25 -24
  124. package/{router-widget-b8373d54.js → router-widget-833491c8.js} +18 -17
  125. package/{schemaData-38ba2570.js → schemaData-f5ca2090.js} +4 -4
  126. package/{select-widget-8db784aa.js → select-widget-168b90a1.js} +20 -19
  127. package/{sfc-9b6cdbdc.js → sfc-90410c62.js} +12 -11
  128. package/{sfcview-94b905d8.js → sfcview-db5a46d9.js} +8 -8
  129. package/{share-editor-ced2e1e8.js → share-editor-00ba99e4.js} +4 -4
  130. package/{share-event-793826e6.js → share-event-ea388fe2.js} +2 -2
  131. package/{share-field-586418d1.js → share-field-a1d58c06.js} +193 -195
  132. package/{share-file-009740b0.js → share-file-f803a240.js} +20 -21
  133. package/{size-editor-08f2ff5b.js → size-editor-e0db0990.js} +16 -16
  134. package/{slider-widget-1dc294fb.js → slider-widget-134f44bb.js} +25 -24
  135. package/slot-e90d51a9.js +176 -0
  136. package/static-text-widget-7c166fec.js +52 -0
  137. package/{steps-widget-3c0ed988.js → steps-widget-394201df.js} +18 -17
  138. package/{subMenu-widget-a451456b.js → subMenu-widget-142a6464.js} +7 -7
  139. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-143dfa20.js → subMenu-widget.vue_vue_type_script_setup_true_lang-4e77aef0.js} +3 -3
  140. package/{switch-widget-cd146a55.js → switch-widget-f19b78dc.js} +27 -26
  141. package/{tab-pane-widget-418c6c17.js → tab-pane-widget-5a09e8fb.js} +1 -1
  142. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-19d6c174.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-d0da5838.js} +5 -5
  143. package/table-col-widget-68a518cf.js +26 -0
  144. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-663afac1.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-457a79c3.js} +5 -5
  145. package/{table-widget-bccfb59d.js → table-widget-e01f40d4.js} +20 -19
  146. package/{tabs-widget-b6152e7e.js → tabs-widget-91bb9826.js} +7 -7
  147. package/{tag-widget-7a1e07a7.js → tag-widget-9488c18e.js} +21 -20
  148. package/{target-code-2dfd7356.js → target-code-285554db.js} +7 -7
  149. package/{target-datasource-b6607425.js → target-datasource-260e0093.js} +37 -37
  150. package/{target-link-4f576d92.js → target-link-46e6db5a.js} +36 -36
  151. package/{target-saveForm-7aad8d86.js → target-saveForm-b5ebb6e2.js} +36 -36
  152. package/{target-widget-ea618c46.js → target-widget-31d5d5b2.js} +1 -1
  153. package/{target-window-7aacf99a.js → target-window-1605466b.js} +8 -8
  154. package/{text-widget-1f70a747.js → text-widget-61825c4f.js} +21 -20
  155. package/{textarea-widget-63d41742.js → textarea-widget-e334a3c7.js} +20 -19
  156. package/{time-picker-range-widget-177edb24.js → time-picker-range-widget-2bf3eaa4.js} +20 -19
  157. package/{time-picker-widget-26687354.js → time-picker-widget-1c93cf40.js} +20 -19
  158. package/{time-select-widget-e24a46d9.js → time-select-widget-fe02fd47.js} +20 -19
  159. package/{tmpl-widget-0124e6a9.js → tmpl-widget-58e293e4.js} +31 -30
  160. package/{tree-select-widget-3c669052.js → tree-select-widget-cdd81f68.js} +32 -31
  161. package/{tree-widget-6887ee9c.js → tree-widget-1d55c229.js} +18 -17
  162. package/{value-editor-aa2c8385.js → value-editor-d0cf4765.js} +14 -14
  163. package/{verifycode-widget-a72f5cdb.js → verifycode-widget-b56488eb.js} +18 -17
  164. package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-548e5124.js +282 -0
  165. package/{wrapper-widget-cc1c6fa3.js → wrapper-widget-75d5d13f.js} +13 -13
  166. package/badge-widget-d61ee4ab.js +0 -48
  167. package/common-editor-378b1ae7.js +0 -26
  168. package/default-slot-widget-99bc4a4e.js +0 -28
  169. package/divider-widget-ca805031.js +0 -42
  170. package/drag-wrapper-be17e580.js +0 -245
  171. package/feedback-widget-a7dfa231.js +0 -29
  172. package/html-text-widget-7e03f4da.js +0 -53
  173. package/link-widget-1e7ae684.js +0 -60
  174. package/slot-a9012bd4.js +0 -126
  175. package/static-text-widget-6cb88e2a.js +0 -54
  176. package/table-col-widget-dc65785c.js +0 -25
  177. package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-70569389.js +0 -277
@@ -1,36 +1,36 @@
1
- var xn = Object.defineProperty;
2
- var _n = (t, u, p) => u in t ? xn(t, u, { enumerable: !0, configurable: !0, writable: !0, value: p }) : t[u] = p;
3
- var nt = (t, u, p) => (_n(t, typeof u != "symbol" ? u + "" : u, p), p);
4
- import { onMounted as at, nextTick as ct, onActivated as Sn, onErrorCaptured as Wn, isRef as it, watch as Z, reactive as Dn, ref as ve, computed as We, onBeforeUnmount as Pn, inject as Nn, toRefs as Fn } from "vue";
5
- import { p as se, a as Ne, c as Te, t as ft, i as lt, o as X, n as w, F as Tn, P as Bn, w as Oe, f as mt, h as In, u as Ln, j as Y, d as de, m as jn, M as ge } from "./enum-type-0b82c86c.js";
6
- import { u as $n } from "./emitter-5e4b8b68.js";
7
- import { u as vt } from "./icon-6342f929.js";
8
- import { f as $, m as pe, n as An, o as ot, e as j, r as kn, i as Hn, b as Kn, d as qn } from "./expression-0474b710.js";
9
- import { b as dt, c as Fe, B as q, P as gt, d as ht, e as Gn, a as rt } from "./baseImp-44073145.js";
10
- import { F as Un } from "./slot-a9012bd4.js";
11
- import { f as Jn, b as zn, h as De, d as Qn } from "./index-a2a68353.js";
12
- import { W as A, d as Q } from "./enum-type-8bcc66d1.js";
13
- import { p as st, a as pt, g as Xn, f as he } from "./multirow-dd089014.js";
14
- import { m as Yn } from "./uuid-009aae31.js";
15
- function Zn() {
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 { p as se, a as Ne, c as Te, t as it, i as ft, o as X, n as w, F as Fn, P as Tn, w as Oe, f as lt, h as Bn, u as In, j as Y, d as de, m as Ln, M as ge } from "./enum-type-479210de.js";
6
+ import { u as jn } from "./emitter-0678e48a.js";
7
+ import { u as mt } from "./icon-6342f929.js";
8
+ import { f as $, m as pe, n as $n, o as nt, e as j, b as An, d as kn } from "./expression-cacdcf66.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-f2c449da.js";
10
+ import { F as Kn, b as qn, a as Gn } from "./slot-e90d51a9.js";
11
+ import { f as Un, b as Jn, h as De, d as zn } from "./index-e2a45f69.js";
12
+ import { W as A, d as Q } from "./enum-type-4298f4a7.js";
13
+ import { p as rt, a as ht, g as Qn, f as he } from "./multirow-6aedad45.js";
14
+ import { m as Xn } from "./uuid-009aae31.js";
15
+ function Yn() {
16
16
  return {
17
17
  onMountedOrActivated: (p) => {
18
18
  let x = !1;
19
- at(() => {
20
- p(), ct(() => {
19
+ ut(() => {
20
+ p(), at(() => {
21
21
  x = !0;
22
22
  });
23
- }), Sn(() => {
23
+ }), _n(() => {
24
24
  x && p();
25
25
  });
26
26
  },
27
27
  onCompErrorCaptured: () => {
28
- Wn((p) => (se.error("onCompErrorCaptured", p), !1));
28
+ Sn((p) => (se.error("onCompErrorCaptured", p), !1));
29
29
  }
30
30
  };
31
31
  }
32
- function wn(t, u) {
33
- const { getWidgetOption: p, getWidgetOptionByPropValue: x } = dt(t, u), N = (a) => p(a);
32
+ function Zn(t, u) {
33
+ const { getWidgetOption: p, getWidgetOptionByPropValue: x } = vt(t, u), N = (a) => p(a);
34
34
  return {
35
35
  existFunc: N,
36
36
  handleFunc: (a, D) => {
@@ -46,7 +46,7 @@ function wn(t, u) {
46
46
  }
47
47
  class Be {
48
48
  constructor(u) {
49
- nt(this, "refList", {});
49
+ tt(this, "refList", {});
50
50
  u && (this.refList = u);
51
51
  }
52
52
  initRefList() {
@@ -65,7 +65,7 @@ class Be {
65
65
  }
66
66
  function Ve(t) {
67
67
  t || (t = {});
68
- const u = new Be(t), { instance: p } = vt(), x = (g) => u.getWidgetRef(g == null ? void 0 : g.toString()), N = (g, V, C) => {
68
+ const u = new Be(t), { instance: p } = mt(), x = (g) => u.getWidgetRef(g == null ? void 0 : g.toString()), N = (g, V, C) => {
69
69
  var v = [], S = [];
70
70
  let o = x(g);
71
71
  return o && v.push(o), v == null || v.forEach((l) => {
@@ -84,10 +84,10 @@ function Ve(t) {
84
84
  }, D = (g, V, C) => {
85
85
  var v = [];
86
86
  if (g) {
87
- var S = Te(ft(g, !0));
87
+ var S = Te(it(g, !0));
88
88
  S == null || S.forEach((o) => {
89
89
  var l = N(o, V, C);
90
- lt(l) || v.push(l);
90
+ ft(l) || v.push(l);
91
91
  });
92
92
  }
93
93
  return Array.isArray(g) ? v : v == null ? void 0 : v[0];
@@ -97,10 +97,10 @@ function Ve(t) {
97
97
  }, O = (g, V) => {
98
98
  var r, d, f;
99
99
  const C = (d = (r = V || p) == null ? void 0 : r.exposed) == null ? void 0 : d.getField();
100
- var v = st(C == null ? void 0 : C.id);
100
+ var v = rt(C == null ? void 0 : C.id);
101
101
  const S = (s) => (s == null ? void 0 : s.id) === g, o = (s) => {
102
102
  var _;
103
- var i = st(s == null ? void 0 : s.id);
103
+ var i = rt(s == null ? void 0 : s.id);
104
104
  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
105
  }, l = (f = X(u.refList)) == null ? void 0 : f.find((s) => {
106
106
  var _, P;
@@ -141,8 +141,8 @@ function Ve(t) {
141
141
  unregisterFromRefList: M
142
142
  };
143
143
  }
144
- const eo = (t, u, p, x) => {
145
- const N = new Be(t), { callRefFunc: W } = Ve(t), { parseGroupId: a } = pt();
144
+ const wn = (t, u, p, x) => {
145
+ const N = new Be(t), { callRefFunc: W } = Ve(t), { parseGroupId: a } = ht();
146
146
  if (!t || t.length <= 0 || !u)
147
147
  return;
148
148
  const D = () => {
@@ -163,7 +163,7 @@ const eo = (t, u, p, x) => {
163
163
  if (d) {
164
164
  const f = q.getOptions(o, $.defaultValue, !1, !(p != null && p.designState), { ...p, formData: l });
165
165
  if (w(f))
166
- if (it(f)) {
166
+ if (ct(f)) {
167
167
  let s = Z(() => f.value, (i) => {
168
168
  s == null || s(), W(d, A.setValue, { newValue: i });
169
169
  });
@@ -175,7 +175,7 @@ const eo = (t, u, p, x) => {
175
175
  if (!r)
176
176
  return;
177
177
  const d = r.name, f = W(r.ref, A.getValue), s = W(r.ref, A.getCheckedItems), i = {};
178
- return i[d] = f, f !== void 0 && !In(s) && !l && (i[`${d}${pe.checkedOptions}`] = s), i;
178
+ return i[d] = f, f !== void 0 && !Bn(s) && !l && (i[`${d}${pe.checkedOptions}`] = s), i;
179
179
  }, M = (o, l) => {
180
180
  var d;
181
181
  var r = [];
@@ -212,7 +212,7 @@ const eo = (t, u, p, x) => {
212
212
  if (!o || o.length <= 0)
213
213
  return r;
214
214
  if (l === he.Inner2Outer) {
215
- var d = Tn(o, (f) => {
215
+ var d = Fn(o, (f) => {
216
216
  var s;
217
217
  return (s = f.source) == null ? void 0 : s.id;
218
218
  });
@@ -241,14 +241,14 @@ const eo = (t, u, p, x) => {
241
241
  }), l;
242
242
  }, C = (o, l, r) => {
243
243
  if (r === he.Inner2Inner) {
244
- const i = Bn(l), { updateFomula: _ } = ht(), { buildVariable: P } = Gn();
244
+ const i = Tn(l), { updateFomula: _ } = gt(), { buildVariable: P } = Hn();
245
245
  var d = V(o);
246
246
  if (w(d)) {
247
247
  var f = q.getOrgOption(l, $.defaultValue), s = _(Oe(f), d, (B, G) => {
248
248
  var ee = d[B];
249
- return lt(ee) ? P(B) : P(ee);
249
+ return ft(ee) ? P(B) : P(ee);
250
250
  });
251
- return q.setOrgOption(i, $.defaultValue, mt(s)), i;
251
+ return q.setOrgOption(i, $.defaultValue, lt(s)), i;
252
252
  }
253
253
  }
254
254
  return l;
@@ -257,10 +257,10 @@ const eo = (t, u, p, x) => {
257
257
  var r = q.getOrgOption(o, $.defaultValue);
258
258
  if (r == null)
259
259
  return;
260
- const d = Xn(u, l);
260
+ const d = Qn(u, l);
261
261
  if (d === he.DiffInner)
262
262
  return;
263
- var f = gt.getFormulaRelatedField(r);
263
+ var f = dt.getFormulaRelatedField(r);
264
264
  if (!f || f.length <= 0)
265
265
  return;
266
266
  var s = F(f, d);
@@ -275,15 +275,15 @@ const eo = (t, u, p, x) => {
275
275
  v(l);
276
276
  });
277
277
  })();
278
- }, to = (t, u, p, x, N) => {
278
+ }, eo = (t, u, p, x, N) => {
279
279
  var F;
280
280
  if (N || !w(p))
281
281
  return;
282
- const { parseGroupId: W } = pt();
282
+ const { parseGroupId: W } = ht();
283
283
  var a = W(u), D = a == null ? void 0 : a.groupName;
284
284
  const { callRefFunc: T } = Ve(t), O = (g, V) => {
285
285
  var r, d, f;
286
- const C = (d = (r = X(t)) == null ? void 0 : r.map((s) => T(t == null ? void 0 : t[s], A.getField))) == null ? void 0 : d.filter((s) => !!s), v = (f = Jn(C, (s) => {
286
+ const C = (d = (r = X(t)) == null ? void 0 : r.map((s) => T(t == null ? void 0 : t[s], A.getField))) == null ? void 0 : d.filter((s) => !!s), v = (f = Un(C, (s) => {
287
287
  var i = W(s == null ? void 0 : s.id);
288
288
  return (!D || (i == null ? void 0 : i.groupName) === D) && (i == null ? void 0 : i.id) === g;
289
289
  })) == null ? void 0 : f[0];
@@ -291,7 +291,7 @@ const eo = (t, u, p, x) => {
291
291
  return;
292
292
  const S = q.getName(v), l = new Be(t).getWidgetRef(S);
293
293
  l && (V == null || V(l));
294
- }, h = ft(x == null ? void 0 : x.newValue, !0), M = (F = X(p)) == null ? void 0 : F.filter((g) => h == null ? void 0 : h.includes(g));
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
295
  !M || M.length <= 0 || M == null || M.forEach((g) => {
296
296
  var C, v;
297
297
  const V = (C = p == null ? void 0 : p[g]) == null ? void 0 : C.result;
@@ -306,11 +306,11 @@ const eo = (t, u, p, x) => {
306
306
  });
307
307
  });
308
308
  };
309
- function Ot(t, u) {
309
+ function pt(t, u) {
310
310
  var p;
311
- return (p = t == null ? void 0 : t.classList) != null && p.contains(u) ? t : t != null && t.parentElement ? Ot(t == null ? void 0 : t.parentElement, u) : null;
311
+ return (p = t == null ? void 0 : t.classList) != null && p.contains(u) ? t : t != null && t.parentElement ? pt(t == null ? void 0 : t.parentElement, u) : null;
312
312
  }
313
- function no() {
313
+ function to() {
314
314
  const t = (O) => {
315
315
  if (O)
316
316
  return O != null && O.ref ? O == null ? void 0 : O.ref : O;
@@ -349,16 +349,16 @@ function no() {
349
349
  setMousePos: a,
350
350
  getMousePos: (O) => x(O),
351
351
  insertOnMousePos: (O, h, M) => {
352
- const F = x(O), g = N(O), V = An(M, h, F, g);
353
- return ct(() => {
352
+ const F = x(O), g = N(O), V = $n(M, h, F, g);
353
+ return at(() => {
354
354
  a(O, F + (h == null ? void 0 : h.length));
355
355
  }), V;
356
356
  }
357
357
  };
358
358
  }
359
- const ut = (t) => {
359
+ const st = (t) => {
360
360
  var p;
361
- const { getFormulaFields: u } = ht();
361
+ const { getFormulaFields: u } = gt();
362
362
  return ((p = u(Oe(t))) == null ? void 0 : p.length) > 0;
363
363
  }, z = (t) => {
364
364
  const u = t.type;
@@ -368,20 +368,20 @@ const ut = (t) => {
368
368
  const u = t.type;
369
369
  return [Q.treeSelect, Q.cascader, Q.select, Q.checkbox, Q.radio].includes(u);
370
370
  };
371
- function ho(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 } = Un.globalInject();
373
- let C = Dn(g || {});
374
- const v = Ve(h), S = Ve(O), { instance: o } = vt(), l = () => Y(C), r = () => V, d = () => a, f = {
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();
373
+ let C = Wn(g || {});
374
+ const v = Ve(h), S = Ve(O), { instance: o } = mt(), l = () => Y(C), r = () => V, d = () => a, f = {
375
375
  designState: u,
376
376
  pageConfig: T,
377
- formData: !u && ut(a) ? C : {},
377
+ formData: !u && st(a) ? C : {},
378
378
  globalConfig: M
379
379
  }, s = {
380
380
  instance: o,
381
381
  ...f
382
- }, i = rt(s), _ = {
382
+ }, i = ot(s), _ = {
383
383
  exposed: {
384
- getFormData: !u && ut(a) ? l : null,
384
+ getFormData: !u && st(a) ? l : null,
385
385
  findRefByName: v.getWidgetRef,
386
386
  fieldEditor: () => K.value,
387
387
  getField: d,
@@ -397,11 +397,11 @@ function ho(t) {
397
397
  }, P = {
398
398
  instance: W ? o : _,
399
399
  ...f
400
- }, { on$: B, dispatch: G, emit$: ee } = $n(), { onCompErrorCaptured: Vt } = Zn(), { existFunc: Ct } = wn({ options: a == null ? void 0 : a.options }, P), { isIdClass: Et, getIdByIdClass: yt } = zn(a), { getOneSchemaData: bt, getSchemaDataObject: Rt, getSchemaDatas: Mt } = rt(P), te = no(), 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: Ce, events: k, slots: Le, rules: je, fieldName: b, buildRules: _t, clearRules: St, disableChangeValidate: Wt, enableChangeValidate: Dt, optionItems: ue, filterOptionItems: Pt, getCheckedOptionText: Nt, getCheckedOptionValues: Ft, getCheckedOptionLabels: Tt, getCheckedOptionItems: Bt, activeOptionItems: It, activeOptionItem: Lt, activeOptionItemIndex: jt, setOptionItems: $e, isOptionWidget: $t, setWidgetOption: ne, getWidgetOption: ae, setFieldEnable: At, hasFieldOptions: kt, getFieldOptions: oe, setFieldOptions: Ht, computedDefaultValue: ce, hasDefaultValue: ie, singleOption: Kt, watchOption: Ae, addCssClass: qt, removeCssClass: Gt } = dt(a, P, xt, o);
401
- let Ee = null, R = ve();
402
- const K = ve(), Ut = () => b.value, ke = () => `${a == null ? void 0 : a.id}-${Yn()}`, ye = ve(ke()), He = () => {
403
- ye.value = ke();
404
- }, Jt = We({
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: k, 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: At, getFieldOptions: oe, setFieldOptions: kt, computedDefaultValue: ce, hasDefaultValue: ie, singleOption: Ht, watchOption: Ae, addCssClass: Kt, removeCssClass: qt } = vt(a, P, Mt, o);
401
+ let ye = null, R = ve();
402
+ const K = ve(), Gt = () => b.value, ke = () => `${a == null ? void 0 : a.id}-${Xn()}`, Ee = ve(ke()), He = () => {
403
+ Ee.value = ke();
404
+ }, Ut = We({
405
405
  get: () => {
406
406
  if (Ne(R.value)) {
407
407
  var e = Number(R.value);
@@ -412,18 +412,18 @@ function ho(t) {
412
412
  set: (e) => {
413
413
  R.value = e;
414
414
  }
415
- }), zt = We({
415
+ }), Jt = We({
416
416
  get: () => {
417
417
  if (Ne(R.value)) {
418
- var e = mt(R.value);
419
- Ln(e) && (R.value = e);
418
+ var e = lt(R.value);
419
+ In(e) && (R.value = e);
420
420
  }
421
421
  return R.value;
422
422
  },
423
423
  set: (e) => {
424
424
  R.value = e;
425
425
  }
426
- }), Qt = (e) => {
426
+ }), zt = (e) => {
427
427
  var c, m;
428
428
  var n = (m = (c = v.getWidgetRef(b.value)) == null ? void 0 : c.exposed) == null ? void 0 : m.loadOptionItems;
429
429
  if (n !== void 0) {
@@ -437,37 +437,37 @@ function ho(t) {
437
437
  }, Ke = (e) => {
438
438
  var n, c, m;
439
439
  return (m = (c = (n = v.getWidgetRef(b.value)) == null ? void 0 : n.exposed) == null ? void 0 : c.getCheckedLabels) == null ? void 0 : m.call(c, e);
440
- }, Xt = (e) => {
440
+ }, Qt = (e) => {
441
441
  var n, c, m;
442
442
  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
443
  }, fe = () => {
444
- var E;
445
- if (!$t())
444
+ var y;
445
+ if (!jt())
446
446
  return;
447
- const e = (E = Ce.value) == null ? void 0 : E.withAttachData;
447
+ const e = (y = Ce.value) == null ? void 0 : y.withAttachData;
448
448
  if (!Pe(a) || e === !1)
449
449
  return;
450
- const n = R.value, c = Ke(n), m = Xt(n);
451
- var y = Y(be(n));
452
- qe(c, y, m);
450
+ const n = R.value, c = Ke(n), m = Qt(n);
451
+ var E = Y(be(n));
452
+ qe(c, E, m);
453
453
  }, qe = (e, n, c) => {
454
454
  var m = {};
455
455
  if (e != null) {
456
- let y = oe("textName", !1);
457
- [`${b.value}${pe.optionText}`, y].forEach((E) => {
458
- E && m[E] === void 0 && (m[E] = e);
456
+ let E = oe("textName", !1);
457
+ [`${b.value}${pe.optionText}`, E].forEach((y) => {
458
+ y && m[y] === void 0 && (m[y] = e);
459
459
  });
460
460
  }
461
461
  if (n != null && Oe(n) !== Oe(R.value)) {
462
- let y = oe("optionName", !1);
463
- [`${b.value}${pe.checkedOptions}`, y].forEach((E) => {
464
- E && m[E] === void 0 && (m[E] = n);
462
+ let E = oe("optionName", !1);
463
+ [`${b.value}${pe.checkedOptions}`, E].forEach((y) => {
464
+ y && m[y] === void 0 && (m[y] = n);
465
465
  });
466
466
  }
467
467
  if (c != null) {
468
- let y = oe("labelName", !1);
469
- e != c && [`${b.value}${pe.optionLabelName}`, y].forEach((E) => {
470
- E && m[E] === void 0 && (m[E] = c);
468
+ let E = oe("labelName", !1);
469
+ e != c && [`${b.value}${pe.optionLabelName}`, E].forEach((y) => {
470
+ y && m[y] === void 0 && (m[y] = c);
471
471
  });
472
472
  }
473
473
  Ge(Y(m));
@@ -481,13 +481,13 @@ function ho(t) {
481
481
  }, re = (e) => {
482
482
  u || U(e);
483
483
  }, Ue = (e) => oe(e, !1), Je = () => {
484
- var e = Fn(C);
485
- R = gt.get(e, b.value);
484
+ var e = Nn(C);
485
+ R = dt.get(e, b.value);
486
486
  }, ze = (e) => {
487
- Ee = Y(e);
488
- }, Yt = (e) => {
487
+ ye = Y(e);
488
+ }, Xt = (e) => {
489
489
  u || N && N(e);
490
- }, Zt = () => {
490
+ }, Yt = () => {
491
491
  ie() && ge(ce()).then((e) => {
492
492
  U(e), Je();
493
493
  });
@@ -497,26 +497,26 @@ function ho(t) {
497
497
  ee($.fieldValueChanged, { newValue: e, oldValue: n });
498
498
  const c = { fieldId: a.id, fieldName: b.value, newValue: e, oldValue: n };
499
499
  G(F, $.fieldChange, c, o);
500
- }, wt = (e) => Ct(e), Me = (e, n) => Fe(ae(e), n), en = (e) => {
500
+ }, Zt = (e) => Vt(e), Me = (e, n) => Fe(ae(e), n), wt = (e) => {
501
501
  re(e), Xe(), Me($.onInput, { value: e });
502
- }, tn = (e, n) => {
503
- var c, m, y;
504
- return (y = (m = (c = v.getWidgetRef(b.value)) == null ? void 0 : c.exposed) == null ? void 0 : m.handleBeforeChange) == null ? void 0 : y.call(m, e, n);
505
- }, nn = (...e) => {
506
- var y, E, I;
507
- let c = ((y = e == null ? void 0 : e[0]) == null ? void 0 : y.target) != null ? (I = (E = e == null ? void 0 : e[0]) == null ? void 0 : E.target) == null ? void 0 : I.value : e == null ? void 0 : e[0];
502
+ }, en = (e, n) => {
503
+ var c, m, E;
504
+ 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);
505
+ }, tn = (...e) => {
506
+ var E, y, I;
507
+ 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
508
  c = Y(c);
509
- var m = tn(c, Ee);
510
- m != null ? re(m) : re(c), Re(c, Ee), Xe(), ze(c);
511
- }, on = (e = !0) => {
509
+ var m = en(c, ye);
510
+ m != null ? re(m) : re(c), Re(c, ye), Xe(), ze(c);
511
+ }, nn = (e = !0) => {
512
512
  ne(j.readonly, e);
513
- }, rn = (e = !0) => {
513
+ }, on = (e = !0) => {
514
514
  ne(j.disabled, e);
515
- }, sn = (e = !0) => {
515
+ }, rn = (e = !0) => {
516
516
  ne(j.hidden, e), e ? Ze() : me();
517
- }, un = (e = !0) => {
518
- At(j.required, e), me();
519
- }, an = (e) => {
517
+ }, sn = (e = !0) => {
518
+ $t(j.required, e), me();
519
+ }, un = (e) => {
520
520
  ne(j.label, e);
521
521
  }, J = () => R == null ? void 0 : R.value, xe = (e) => {
522
522
  R.value = e;
@@ -526,46 +526,46 @@ function ho(t) {
526
526
  return;
527
527
  const c = J();
528
528
  n !== c && (re(c), Re(e, n));
529
- }, cn = () => {
529
+ }, an = () => {
530
530
  ie() ? ge(ce()).then((e) => {
531
531
  U(e);
532
532
  }) : U(null), x == null || x();
533
- }, fn = (e) => {
533
+ }, cn = (e) => {
534
534
  const n = J(), c = te.insertOnMousePos(K.value, e, n);
535
535
  le(c);
536
- }, ln = (e, n) => {
536
+ }, fn = (e, n) => {
537
537
  Z(() => R == null ? void 0 : R.value, (c, m) => {
538
538
  e == null || e({ id: a.id, name: b.value, newValue: c, oldValue: m });
539
539
  }, n);
540
- }, mn = (e) => {
541
- var E;
540
+ }, ln = (e) => {
541
+ var y;
542
542
  e.preventDefault();
543
543
  const n = (I) => {
544
544
  var H;
545
- const L = (H = Array.from(I.classList)) == null ? void 0 : H.find((_e) => Et(_e));
545
+ const L = (H = Array.from(I.classList)) == null ? void 0 : H.find((_e) => Ct(_e));
546
546
  return L ? yt(L) : "";
547
547
  }, c = document.activeElement;
548
548
  if (!c)
549
549
  return;
550
- const m = document.getElementsByClassName(ot.formItemTarget);
551
- for (var y = 0; y < m.length; y++) {
552
- const I = m[y], L = Ot(c, ot.formItemTarget);
550
+ const m = document.getElementsByClassName(nt.formItemTarget);
551
+ for (var E = 0; E < m.length; E++) {
552
+ const I = m[E], L = pt(c, nt.formItemTarget);
553
553
  if (!L)
554
554
  continue;
555
555
  const H = n(I), _e = n(L);
556
556
  if (H === _e) {
557
- if (y === m.length - 1)
557
+ if (E === m.length - 1)
558
558
  return;
559
- const bn = m[y + 1], Rn = n(bn), Se = v.findRefById(Rn, o);
559
+ const En = m[E + 1], bn = n(En), Se = v.findRefById(bn, o);
560
560
  try {
561
- (E = Se == null ? void 0 : Se.exposed) == null || E.focus();
562
- } catch (Mn) {
563
- se.error("handleEnter", Mn);
561
+ (y = Se == null ? void 0 : Se.exposed) == null || y.focus();
562
+ } catch (Rn) {
563
+ se.error("handleEnter", Rn);
564
564
  }
565
565
  }
566
566
  }
567
567
  };
568
- let vn = () => {
568
+ let mn = () => {
569
569
  var I;
570
570
  let e = {
571
571
  componentName: b.value,
@@ -589,19 +589,19 @@ function ho(t) {
589
589
  refreshKey: He,
590
590
  getRowScope: r,
591
591
  //组件的数据绑定:继承的数据,用于计算组件属性变量
592
- getOneSchemaData: bt,
593
- getSchemaDatas: Mt,
594
- getSchemaDataObject: Rt,
595
- addCssClass: qt,
596
- removeCssClass: Gt
592
+ getOneSchemaData: Et,
593
+ getSchemaDatas: Rt,
594
+ getSchemaDataObject: bt,
595
+ addCssClass: Kt,
596
+ removeCssClass: qt
597
597
  }, n = {
598
- resetField: cn,
598
+ resetField: an,
599
599
  getValue: J,
600
600
  setValue: le,
601
- refreshDefaultValue: Zt,
602
- insertOnMousePos: fn,
603
- disableChangeValidate: Wt,
604
- enableChangeValidate: Dt,
601
+ refreshDefaultValue: Yt,
602
+ insertOnMousePos: cn,
603
+ disableChangeValidate: St,
604
+ enableChangeValidate: Wt,
605
605
  focus: () => {
606
606
  te.focus(K.value);
607
607
  },
@@ -615,54 +615,54 @@ function ho(t) {
615
615
  te.setMousePos(K.value, L);
616
616
  }
617
617
  }, c = {
618
- loadOptionItems: Qt,
618
+ loadOptionItems: zt,
619
619
  getCheckedItems: be,
620
620
  getCheckedLabels: Ke
621
621
  }, m = {
622
- [j.required]: { name: A.setRequired, fn: un },
623
- [j.label]: { name: A.setLabel, fn: an },
624
- [j.hidden]: { name: A.setHidden, fn: sn },
625
- [j.disabled]: { name: A.setDisabled, fn: rn },
626
- [j.readonly]: { name: A.setReadonly, fn: on }
627
- }, y = {};
622
+ [j.required]: { name: A.setRequired, fn: sn },
623
+ [j.label]: { name: A.setLabel, fn: un },
624
+ [j.hidden]: { name: A.setHidden, fn: rn },
625
+ [j.disabled]: { name: A.setDisabled, fn: on },
626
+ [j.readonly]: { name: A.setReadonly, fn: nn }
627
+ }, E = {};
628
628
  (I = X(m)) == null || I.forEach((L) => {
629
629
  if (De(a, L)) {
630
630
  const H = m[L];
631
- y[H.name] = H.fn;
631
+ E[H.name] = H.fn;
632
632
  }
633
633
  });
634
- var E = de(e, y);
635
- return z(a) && (E = de(E, n)), Pe(a) && (E = de(E, c)), E;
634
+ var y = de(e, E);
635
+ return z(a) && (y = de(y, n)), Pe(a) && (y = de(y, c)), y;
636
636
  };
637
- const dn = We(() => ({
637
+ const vn = We(() => ({
638
638
  attrs: Ie.value,
639
639
  extendAttrs: Ce.value,
640
640
  events: k.value,
641
641
  slots: Le.value,
642
- fieldKey: ye.value,
642
+ fieldKey: Ee.value,
643
643
  fieldEditor: K.value,
644
644
  fieldName: b.value
645
- })), gn = (e) => {
645
+ })), dn = (e) => {
646
646
  t.designState && t.designer && Z(() => {
647
647
  var n;
648
648
  return (n = t == null ? void 0 : t.widget) == null ? void 0 : n[e];
649
649
  }, (n, c) => {
650
- const { emitHistoryChange: m } = Qn(t.designer);
650
+ const { emitHistoryChange: m } = zn(t.designer);
651
651
  m(`edit ${b.value}.${e},newValue:${n},oldValue:${c}`);
652
652
  }, {
653
653
  deep: !0
654
654
  });
655
- }, hn = (e, n, c) => {
656
- const m = ve(), y = Ue(e), E = (I) => {
657
- n && (m.value = n(I || y));
655
+ }, gn = (e, n, c) => {
656
+ const m = ve(), E = Ue(e), y = (I) => {
657
+ n && (m.value = n(I || E));
658
658
  };
659
- return it(y) ? Z(y, (I) => {
660
- E(I), c && c(I);
661
- }) : E(y), m;
659
+ return ct(E) ? Z(E, (I) => {
660
+ y(I), c && c(I);
661
+ }) : y(E), m;
662
662
  }, Qe = () => {
663
- !z(a) || u || ln((e) => {
664
- eo(h, a == null ? void 0 : a.id, P), to(h, a == null ? void 0 : a.id, q.getOptions(a, j.relate), e), fe(), setTimeout(() => {
665
- fe(), Yt(e == null ? void 0 : e.newValue);
663
+ !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
666
  }, 1e3);
667
667
  }, { immediate: !0 });
668
668
  }, Xe = () => {
@@ -674,19 +674,19 @@ function ho(t) {
674
674
  }, me = () => {
675
675
  if (!z(a))
676
676
  return;
677
- const e = _t();
677
+ const e = xt();
678
678
  return Ye(), e;
679
679
  }, Ze = () => {
680
- St(), Ye();
681
- }, pn = () => {
682
- De(a, "change") && (k.value.change = nn), De(a, "input") && (k.value.input = en), B(Kn.setFormData, (e) => {
680
+ _t(), Ye();
681
+ }, hn = () => {
682
+ De(a, "change") && (k.value.change = tn), De(a, "input") && (k.value.input = wt), B(An.setFormData, (e) => {
683
683
  le(e[b.value]);
684
684
  }), B($.fieldValueChanged, (e) => {
685
685
  Me($.onChange, { value: e == null ? void 0 : e.newValue, oldValue: e == null ? void 0 : e.oldValue });
686
686
  });
687
- }, On = () => {
687
+ }, pn = () => {
688
688
  let e = b.value;
689
- z(a) ? ((!jn(C, e) || C[e] === void 0) && (U(null), ie() && ge(ce()).then((n) => {
689
+ z(a) ? ((!Ln(C, e) || C[e] === void 0) && (U(null), ie() && ge(ce()).then((n) => {
690
690
  n == null ? U(null) : U(n);
691
691
  })), Je()) : ie() && ge(ce()).then((n) => {
692
692
  le(n);
@@ -695,12 +695,12 @@ function ho(t) {
695
695
  Pe(a) && Z(() => ue == null ? void 0 : ue.value, (e, n) => {
696
696
  fe();
697
697
  }, { immediate: !0 });
698
- }, Vn = () => {
698
+ }, On = () => {
699
699
  Ae(!0, j.css, void 0, (e) => {
700
- tt();
700
+ et();
701
701
  });
702
- }, Cn = () => {
703
- const e = Nn(qn.isRenderComplete);
702
+ }, Vn = () => {
703
+ const e = Pn(kn.isRenderComplete);
704
704
  if (e != null && e.value) {
705
705
  we(), Qe();
706
706
  return;
@@ -708,39 +708,38 @@ function ho(t) {
708
708
  e != null && Z(() => e == null ? void 0 : e.value, (n) => {
709
709
  n && (we(), Qe());
710
710
  }, { immediate: !0 });
711
- }, En = () => {
711
+ }, Cn = () => {
712
712
  var e, n;
713
713
  if (p)
714
714
  try {
715
- On(), me(), pn(), 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), Vt();
715
+ pn(), me(), 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
716
  } catch (c) {
717
717
  se.error("create", c);
718
718
  }
719
719
  }, yn = () => {
720
- p && (at(() => {
720
+ p && (ut(() => {
721
721
  var e, n;
722
722
  try {
723
- tt(), Vn(), Cn(), (n = (e = k == null ? void 0 : k.value) == null ? void 0 : e.mounted) == null || n.call(e);
723
+ et(), On(), Vn(), (n = (e = k == null ? void 0 : k.value) == null ? void 0 : e.mounted) == null || n.call(e);
724
724
  } catch (c) {
725
725
  console.log("mounted", a, c);
726
726
  }
727
- }), Pn(() => {
727
+ }), Dn(() => {
728
728
  v.unregisterFromRefList(b.value), S.unregisterFromRefList(b.value);
729
729
  }));
730
- }, et = () => a == null ? void 0 : a.id, tt = () => {
731
- const e = et(), n = ae(j.css);
732
- if (n) {
733
- const c = kn(n, ":root", `.${e}`);
734
- Hn(c, void 0, e);
735
- }
730
+ }, et = () => {
731
+ const e = a == null ? void 0 : a.id, n = ae(j.css);
732
+ n && e && qn(n).then((c) => {
733
+ Gn(c, e);
734
+ });
736
735
  };
737
- return En(), yn(), {
738
- exposed: vn(),
736
+ return Cn(), yn(), {
737
+ exposed: mn(),
739
738
  fieldModel: R,
740
- objFieldModel: zt,
741
- numFieldModel: Jt,
739
+ objFieldModel: Jt,
740
+ numFieldModel: Ut,
742
741
  fieldEditor: K,
743
- fieldKey: ye,
742
+ fieldKey: Ee,
744
743
  field: a,
745
744
  instance: o,
746
745
  attrs: Ie,
@@ -748,33 +747,32 @@ function ho(t) {
748
747
  slots: Le,
749
748
  events: k,
750
749
  rules: je,
751
- fieldObj: dn,
750
+ fieldObj: vn,
752
751
  getValue: J,
753
752
  setValue: xe,
754
- cssClassName: et,
755
753
  pageConfig: T,
756
754
  formModel: C,
757
755
  fieldName: b,
758
756
  propResultOpt: P,
759
757
  optionItems: ue,
760
- activeOptionItems: It,
761
- activeOptionItem: Lt,
762
- activeOptionItemIndex: jt,
758
+ activeOptionItems: Bt,
759
+ activeOptionItem: It,
760
+ activeOptionItemIndex: Lt,
763
761
  refreshOptionField: fe,
764
- filterOptionItems: Pt,
762
+ filterOptionItems: Dt,
765
763
  setOptionItems: $e,
766
764
  getCheckedItems: be,
767
- getCheckedOptionItems: (e, n) => Bt(e || R.value, n),
768
- getCheckedOptionLabels: (e, n) => Tt(e || R.value, n),
769
- getCheckedOptionValues: (e, n) => Ft(e || R.value, n),
770
- getCheckedOptionText: (e, n) => Nt(e || R.value, n),
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),
771
769
  refreshKey: He,
772
- watchKeyValue: hn,
773
- watchPropAndSaveHistoryStep: gn,
774
- existEvent: wt,
770
+ watchKeyValue: gn,
771
+ watchPropAndSaveHistoryStep: dn,
772
+ existEvent: Zt,
775
773
  handleEvent: Me,
776
- handleEnter: mn,
777
- getPropName: Ut,
774
+ handleEnter: ln,
775
+ getPropName: Gt,
778
776
  emitFieldDataChange: Re,
779
777
  syncUpdateFormModel: re,
780
778
  getWidgetRef: v.getWidgetRef,
@@ -782,10 +780,10 @@ function ho(t) {
782
780
  buildRules: me,
783
781
  getFieldOptionModel: Ue,
784
782
  getFieldOptions: oe,
785
- hasFieldOptions: kt,
786
- setFieldOptions: Ht,
783
+ hasFieldOptions: At,
784
+ setFieldOptions: kt,
787
785
  getWidgetOption: ae,
788
- singleOption: Kt,
786
+ singleOption: Ht,
789
787
  watchOption: Ae,
790
788
  mergeOptionToFormModel: qe
791
789
  };
@@ -793,7 +791,7 @@ function ho(t) {
793
791
  export {
794
792
  Be as R,
795
793
  Ve as a,
796
- Zn as b,
797
- ho as c,
798
- wn as u
794
+ Yn as b,
795
+ go as c,
796
+ Zn as u
799
797
  };