@farris/ui-vue 1.6.5-beta.7 → 1.6.5

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/components/accordion/index.esm.js +65 -65
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +360 -361
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +524 -520
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +134 -134
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +192 -192
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/code-editor/index.esm.js +8 -8
  12. package/components/code-editor/index.umd.cjs +3 -3
  13. package/components/collection-property-editor/index.esm.js +72 -72
  14. package/components/collection-property-editor/index.umd.cjs +1 -1
  15. package/components/color-picker/index.esm.js +291 -289
  16. package/components/color-picker/index.umd.cjs +1 -1
  17. package/components/combo-list/index.esm.js +190 -181
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +113 -112
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +3 -1
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +309 -309
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1125 -1124
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +472 -472
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-grid/index.esm.js +99 -99
  30. package/components/data-grid/index.umd.cjs +1 -1
  31. package/components/data-view/index.esm.js +3387 -3321
  32. package/components/data-view/index.umd.cjs +1 -1
  33. package/components/date-picker/index.esm.js +1604 -1601
  34. package/components/date-picker/index.umd.cjs +1 -1
  35. package/components/designer-canvas/index.esm.js +1082 -1079
  36. package/components/designer-canvas/index.umd.cjs +1 -1
  37. package/components/discussion-editor/index.esm.js +973 -1040
  38. package/components/discussion-editor/index.umd.cjs +6 -6
  39. package/components/dropdown/index.esm.js +335 -330
  40. package/components/dropdown/index.umd.cjs +2 -2
  41. package/components/dynamic-form/index.esm.js +177 -177
  42. package/components/dynamic-form/index.umd.cjs +1 -1
  43. package/components/dynamic-resolver/index.esm.js +6 -6
  44. package/components/dynamic-resolver/index.umd.cjs +1 -1
  45. package/components/dynamic-view/index.esm.js +344 -344
  46. package/components/dynamic-view/index.umd.cjs +1 -1
  47. package/components/events-editor/index.esm.js +644 -644
  48. package/components/events-editor/index.umd.cjs +3 -3
  49. package/components/expression-editor/index.esm.js +1773 -1760
  50. package/components/expression-editor/index.umd.cjs +4 -4
  51. package/components/fieldset/index.esm.js +55 -55
  52. package/components/fieldset/index.umd.cjs +1 -1
  53. package/components/filter-bar/index.esm.js +879 -869
  54. package/components/filter-bar/index.umd.cjs +1 -1
  55. package/components/filter-condition-editor/index.esm.js +1091 -1077
  56. package/components/filter-condition-editor/index.umd.cjs +3 -3
  57. package/components/flow-canvas/index.esm.js +215 -215
  58. package/components/flow-canvas/index.umd.cjs +1 -1
  59. package/components/html-template/index.esm.js +164 -164
  60. package/components/html-template/index.umd.cjs +1 -1
  61. package/components/image-cropper/index.esm.js +198 -198
  62. package/components/image-cropper/index.umd.cjs +1 -1
  63. package/components/json-editor/index.esm.js +64 -64
  64. package/components/json-editor/index.umd.cjs +1 -1
  65. package/components/language-textbox/index.esm.js +140 -140
  66. package/components/language-textbox/index.umd.cjs +1 -1
  67. package/components/layout/index.esm.js +111 -111
  68. package/components/layout/index.umd.cjs +1 -1
  69. package/components/list-nav/index.esm.js +90 -90
  70. package/components/list-nav/index.umd.cjs +1 -1
  71. package/components/list-view/index.esm.js +139 -141
  72. package/components/list-view/index.umd.cjs +3 -3
  73. package/components/locale/index.esm.js +833 -901
  74. package/components/locale/index.umd.cjs +6 -6
  75. package/components/lookup/index.esm.js +1352 -1351
  76. package/components/lookup/index.umd.cjs +1 -1
  77. package/components/mapping-editor/index.esm.js +1387 -1383
  78. package/components/mapping-editor/index.umd.cjs +1 -1
  79. package/components/menu-lookup/index.esm.js +1059 -1127
  80. package/components/menu-lookup/index.umd.cjs +6 -6
  81. package/components/message-box/index.esm.js +217 -217
  82. package/components/message-box/index.umd.cjs +1 -1
  83. package/components/modal/index.esm.js +283 -283
  84. package/components/modal/index.umd.cjs +1 -1
  85. package/components/nav/index.esm.js +106 -106
  86. package/components/nav/index.umd.cjs +1 -1
  87. package/components/number-range/index.esm.js +194 -194
  88. package/components/number-range/index.umd.cjs +1 -1
  89. package/components/number-spinner/index.esm.js +463 -462
  90. package/components/number-spinner/index.umd.cjs +1 -1
  91. package/components/order/index.esm.js +883 -876
  92. package/components/order/index.umd.cjs +4 -4
  93. package/components/page-footer/index.esm.js +94 -94
  94. package/components/page-footer/index.umd.cjs +1 -1
  95. package/components/page-header/index.esm.js +942 -939
  96. package/components/page-header/index.umd.cjs +1 -1
  97. package/components/pagination/index.esm.js +82 -82
  98. package/components/pagination/index.umd.cjs +1 -1
  99. package/components/popover/index.esm.js +59 -57
  100. package/components/popover/index.umd.cjs +1 -1
  101. package/components/progress/index.esm.js +113 -113
  102. package/components/progress/index.umd.cjs +2 -2
  103. package/components/property-editor/index.esm.js +151 -150
  104. package/components/property-editor/index.umd.cjs +1 -1
  105. package/components/property-panel/index.esm.js +739 -739
  106. package/components/property-panel/index.umd.cjs +2 -2
  107. package/components/query-solution/index.esm.js +4142 -4190
  108. package/components/query-solution/index.umd.cjs +6 -6
  109. package/components/radio-button/index.esm.js +182 -182
  110. package/components/radio-button/index.umd.cjs +1 -1
  111. package/components/rate/index.esm.js +106 -106
  112. package/components/rate/index.umd.cjs +1 -1
  113. package/components/response-layout/index.esm.js +535 -535
  114. package/components/response-layout/index.umd.cjs +1 -1
  115. package/components/response-layout-editor/index.esm.js +1456 -1443
  116. package/components/response-layout-editor/index.umd.cjs +1 -1
  117. package/components/response-toolbar/index.esm.js +779 -776
  118. package/components/response-toolbar/index.umd.cjs +1 -1
  119. package/components/schema-selector/index.esm.js +1875 -1866
  120. package/components/schema-selector/index.umd.cjs +7 -7
  121. package/components/search-box/index.esm.js +151 -147
  122. package/components/search-box/index.umd.cjs +1 -1
  123. package/components/section/index.esm.js +1236 -1233
  124. package/components/section/index.umd.cjs +1 -1
  125. package/components/smoke-detector/index.esm.js +163 -163
  126. package/components/smoke-detector/index.umd.cjs +1 -1
  127. package/components/sort-condition-editor/index.esm.js +1097 -1083
  128. package/components/sort-condition-editor/index.umd.cjs +3 -3
  129. package/components/splitter/index.esm.js +3 -3
  130. package/components/splitter/index.umd.cjs +1 -1
  131. package/components/step/index.esm.js +133 -133
  132. package/components/step/index.umd.cjs +1 -1
  133. package/components/switch/index.esm.js +103 -98
  134. package/components/switch/index.umd.cjs +1 -1
  135. package/components/tabs/index.esm.js +1596 -1593
  136. package/components/tabs/index.umd.cjs +2 -2
  137. package/components/tags/index.esm.js +93 -93
  138. package/components/tags/index.umd.cjs +1 -1
  139. package/components/text/index.esm.js +138 -138
  140. package/components/text/index.umd.cjs +1 -1
  141. package/components/textarea/index.esm.js +684 -684
  142. package/components/textarea/index.umd.cjs +2 -2
  143. package/components/time-picker/index.esm.js +935 -929
  144. package/components/time-picker/index.umd.cjs +1 -1
  145. package/components/tooltip/index.esm.js +173 -171
  146. package/components/tooltip/index.umd.cjs +1 -1
  147. package/components/transfer/index.esm.js +190 -192
  148. package/components/transfer/index.umd.cjs +4 -4
  149. package/components/tree-grid/index.esm.js +124 -124
  150. package/components/tree-grid/index.umd.cjs +1 -1
  151. package/components/tree-view/index.esm.js +2363 -2278
  152. package/components/tree-view/index.umd.cjs +1 -1
  153. package/components/uploader/index.esm.js +170 -170
  154. package/components/uploader/index.umd.cjs +2 -2
  155. package/components/verify-detail/index.esm.js +196 -196
  156. package/components/verify-detail/index.umd.cjs +1 -1
  157. package/components/video/index.esm.js +227 -227
  158. package/components/video/index.umd.cjs +1 -1
  159. package/components/weather/index.esm.js +9 -9
  160. package/components/weather/index.umd.cjs +2 -2
  161. package/designer/button-edit/index.esm.js +353 -353
  162. package/designer/button-edit/index.umd.cjs +1 -1
  163. package/designer/checkbox/index.esm.js +7 -3
  164. package/designer/checkbox/index.umd.cjs +1 -1
  165. package/designer/checkbox-group/index.esm.js +38 -33
  166. package/designer/checkbox-group/index.umd.cjs +1 -1
  167. package/designer/data-grid/index.esm.js +3562 -3536
  168. package/designer/data-grid/index.umd.cjs +6 -6
  169. package/designer/data-view/index.esm.js +3 -3
  170. package/designer/data-view/index.umd.cjs +3 -3
  171. package/designer/farris-designer.all.esm.js +4203 -4193
  172. package/designer/farris-designer.all.umd.cjs +9 -9
  173. package/designer/input-group/index.esm.js +97 -97
  174. package/designer/input-group/index.umd.cjs +1 -1
  175. package/designer/list-view/index.esm.js +1868 -1854
  176. package/designer/list-view/index.umd.cjs +8 -8
  177. package/designer/radio-group/index.esm.js +954 -949
  178. package/designer/radio-group/index.umd.cjs +1 -1
  179. package/farris.all.esm.js +16195 -16126
  180. package/farris.all.umd.cjs +30 -30
  181. package/locales/data-grid/ui/en.json +2 -2
  182. package/locales/designer/en.json +7 -6
  183. package/locales/designer/zh-CHS.json +2 -1
  184. package/locales/designer/zh-CHT.json +2 -1
  185. package/locales/ui/en.json +7 -6
  186. package/locales/ui/zh-CHS.json +2 -1
  187. package/locales/ui/zh-CHT.json +2 -1
  188. package/package.json +1 -1
  189. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
  190. package/types/data-view/composition/types.d.ts +10 -4
  191. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  192. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
@@ -1,5 +1,5 @@
1
1
  import { ref as Q, computed as fe, defineComponent as pe, watch as Z, reactive as K, createVNode as ee } from "vue";
2
- import { isPlainObject as te, cloneDeep as Y, merge as re, mergeWith as ne } from "lodash-es";
2
+ import { cloneDeep as Y, isPlainObject as te, merge as re, mergeWith as ne } from "lodash-es";
3
3
  import me from "../accordion/index.esm.js";
4
4
  import de from "../avatar/index.esm.js";
5
5
  import ge from "../../designer/button-edit/index.esm.js";
@@ -10,33 +10,33 @@ import oe from "../../designer/checkbox/index.esm.js";
10
10
  import ie from "../../designer/checkbox-group/index.esm.js";
11
11
  import Fe from "../combo-list/index.esm.js";
12
12
  import Ce from "../combo-tree/index.esm.js";
13
- import Ee from "../component/index.esm.js";
14
- import Pe from "../color-picker/index.esm.js";
13
+ import Pe from "../component/index.esm.js";
14
+ import Ee from "../color-picker/index.esm.js";
15
15
  import Te from "../content-container/index.esm.js";
16
16
  import Oe from "../date-picker/index.esm.js";
17
17
  import ke from "../../designer/data-grid/index.esm.js";
18
- import Re from "../dropdown/index.esm.js";
19
- import xe from "../dynamic-form/index.esm.js";
18
+ import xe from "../dropdown/index.esm.js";
19
+ import Re from "../dynamic-form/index.esm.js";
20
20
  import je from "../events-editor/index.esm.js";
21
- import Me from "../filter-bar/index.esm.js";
22
- import De from "../field-selector/index.esm.js";
23
- import Ne from "../binding-selector/index.esm.js";
24
- import Se from "../image-cropper/index.esm.js";
25
- import Ae from "../../designer/input-group/index.esm.js";
26
- import $e from "../layout/index.esm.js";
21
+ import De from "../filter-bar/index.esm.js";
22
+ import Me from "../field-selector/index.esm.js";
23
+ import Se from "../binding-selector/index.esm.js";
24
+ import Ne from "../image-cropper/index.esm.js";
25
+ import $e from "../../designer/input-group/index.esm.js";
26
+ import Ae from "../layout/index.esm.js";
27
27
  import Be from "../list-nav/index.esm.js";
28
28
  import Le from "../../designer/list-view/index.esm.js";
29
29
  import Ve from "../lookup/index.esm.js";
30
30
  import Ie from "../mapping-editor/index.esm.js";
31
- import we from "../nav/index.esm.js";
32
- import Ge from "../number-range/index.esm.js";
33
- import ze from "../number-spinner/index.esm.js";
34
- import qe from "../order/index.esm.js";
35
- import Ue from "../page-header/index.esm.js";
36
- import We from "../page-footer/index.esm.js";
37
- import _e from "../pagination/index.esm.js";
38
- import He from "../progress/index.esm.js";
39
- import he from "../query-solution/index.esm.js";
31
+ import he from "../nav/index.esm.js";
32
+ import we from "../number-range/index.esm.js";
33
+ import Ge from "../number-spinner/index.esm.js";
34
+ import ze from "../order/index.esm.js";
35
+ import qe from "../page-header/index.esm.js";
36
+ import Ue from "../page-footer/index.esm.js";
37
+ import We from "../pagination/index.esm.js";
38
+ import _e from "../progress/index.esm.js";
39
+ import He from "../query-solution/index.esm.js";
40
40
  import Je from "../../designer/radio-group/index.esm.js";
41
41
  import Qe from "../rate/index.esm.js";
42
42
  import Xe from "../response-toolbar/index.esm.js";
@@ -51,9 +51,9 @@ import ot from "../switch/index.esm.js";
51
51
  import it from "../tabs/index.esm.js";
52
52
  import st from "../tags/index.esm.js";
53
53
  import ct from "../text/index.esm.js";
54
- import ut from "../time-picker/index.esm.js";
54
+ import at from "../time-picker/index.esm.js";
55
55
  import lt from "../transfer/index.esm.js";
56
- import at from "../tree-view/index.esm.js";
56
+ import ut from "../tree-view/index.esm.js";
57
57
  import ft from "../uploader/index.esm.js";
58
58
  import pt from "../verify-detail/index.esm.js";
59
59
  import mt from "../video/index.esm.js";
@@ -64,18 +64,18 @@ import bt from "../event-parameter/index.esm.js";
64
64
  import yt from "../filter-condition-editor/index.esm.js";
65
65
  import Ft from "../fieldset/index.esm.js";
66
66
  import Ct from "../sort-condition-editor/index.esm.js";
67
- import Et from "../menu-lookup/index.esm.js";
68
- import Pt from "../../designer/drawer/index.esm.js";
67
+ import Pt from "../menu-lookup/index.esm.js";
68
+ import Et from "../../designer/drawer/index.esm.js";
69
69
  import Tt from "../json-editor/index.esm.js";
70
70
  import Ot from "../property-editor/index.esm.js";
71
71
  import kt from "../expression-editor/index.esm.js";
72
- import Rt from "../code-editor/index.esm.js";
73
- import xt from "../html-template/index.esm.js";
72
+ import xt from "../code-editor/index.esm.js";
73
+ import Rt from "../html-template/index.esm.js";
74
74
  import jt from "../collection-property-editor/index.esm.js";
75
- import Mt from "../modal/index.esm.js";
76
- import Dt from "../external-container/index.esm.js";
77
- import Nt from "../language-textbox/index.esm.js";
78
- const St = {
75
+ import Dt from "../modal/index.esm.js";
76
+ import Mt from "../external-container/index.esm.js";
77
+ import St from "../language-textbox/index.esm.js";
78
+ const Nt = {
79
79
  /**
80
80
  * schema
81
81
  */
@@ -95,27 +95,27 @@ const St = {
95
95
  customComponentRenders: { type: Object, default: null }
96
96
  }, i = {}, s = {}, c = {}, o = {};
97
97
  let se = !1;
98
- function At() {
99
- se || (se = !0, de.register(i, s, c, o), me.register(i, s, c, o), ge.register(i, s, c, o), ve.register(i, s, c, o), be.register(i, s, c, o), ye.register(i, s, c, o), oe.register(i, s, c, o), ie.register(i, s, c, o), oe.register(i, s, c, o), ie.register(i, s, c, o), Fe.register(i, s, c, o), Ce.register(i, s, c, o), Ee.register(i, s, c, o), Te.register(i, s, c, o), Pe.register(i, s, c, o), Oe.register(i, s, c, o), ke.register(i, s, c, o), Re.register(i, s, c, o), xe.register(i, s, c, o), je.register(i, s, c, o), kt.register(i, s, c, o), Me.register(i, s, c, o), De.register(i, s, c, o), yt.register(i, s, c, o), Se.register(i, s, c, o), Ae.register(i, s, c, o), $e.register(i, s, c, o), Le.register(i, s, c, o), Be.register(i, s, c, o), Ve.register(i, s, c, o), Ie.register(i, s, c, o), we.register(i, s, c, o), Ge.register(i, s, c, o), ze.register(i, s, c, o), qe.register(i, s, c, o), Ue.register(i, s, c, o), We.register(i, s, c, o), _e.register(i, s, c, o), He.register(i, s, c, o), he.register(i, s, c, o), Je.register(i, s, c, o), Qe.register(i, s, c, o), Ye.register(i, s, c, o), Ze.register(i, s, c, o), Xe.register(i, s, c, o), gt.register(i, s, c), Ke.register(i, s, c, o), et.register(i, s, c, o), tt.register(i, s, c, o), rt.register(i, s, c, o), nt.register(i, s, c, o), ot.register(i, s, c, o), Ct.register(i, s, c, o), it.register(i, s, c, o), st.register(i, s, c, o), ct.register(i, s, c, o), ut.register(i, s, c, o), lt.register(i, s, c, o), at.register(i, s, c, o), pt.register(i, s, c, o), ft.register(i, s, c, o), mt.register(i, s, c, o), dt.register(i, s, c, o), vt.register(i, s, c, o), Ne.register(i, s, c, o), bt.register(i, s, c, o), Ft.register(i, s, c, o), Et.register(i, s, c, o), Pt.register(i, s, c, o), Tt.register(i, s, c, o), Ot.register(i, s, c, o), Rt.register(i, s, c, o), xt.register(i, s, c, o), jt.register(i, s, c, o), Mt.register(i, s, c, o), Dt.register(i, s, c, o), Nt.register(i, s, c, o));
98
+ function $t() {
99
+ se || (se = !0, de.register(i, s, c, o), me.register(i, s, c, o), ge.register(i, s, c, o), ve.register(i, s, c, o), be.register(i, s, c, o), ye.register(i, s, c, o), oe.register(i, s, c, o), ie.register(i, s, c, o), oe.register(i, s, c, o), ie.register(i, s, c, o), Fe.register(i, s, c, o), Ce.register(i, s, c, o), Pe.register(i, s, c, o), Te.register(i, s, c, o), Ee.register(i, s, c, o), Oe.register(i, s, c, o), ke.register(i, s, c, o), xe.register(i, s, c, o), Re.register(i, s, c, o), je.register(i, s, c, o), kt.register(i, s, c, o), De.register(i, s, c, o), Me.register(i, s, c, o), yt.register(i, s, c, o), Ne.register(i, s, c, o), $e.register(i, s, c, o), Ae.register(i, s, c, o), Le.register(i, s, c, o), Be.register(i, s, c, o), Ve.register(i, s, c, o), Ie.register(i, s, c, o), he.register(i, s, c, o), we.register(i, s, c, o), Ge.register(i, s, c, o), ze.register(i, s, c, o), qe.register(i, s, c, o), Ue.register(i, s, c, o), We.register(i, s, c, o), _e.register(i, s, c, o), He.register(i, s, c, o), Je.register(i, s, c, o), Qe.register(i, s, c, o), Ye.register(i, s, c, o), Ze.register(i, s, c, o), Xe.register(i, s, c, o), gt.register(i, s, c), Ke.register(i, s, c, o), et.register(i, s, c, o), tt.register(i, s, c, o), rt.register(i, s, c, o), nt.register(i, s, c, o), ot.register(i, s, c, o), Ct.register(i, s, c, o), it.register(i, s, c, o), st.register(i, s, c, o), ct.register(i, s, c, o), at.register(i, s, c, o), lt.register(i, s, c, o), ut.register(i, s, c, o), pt.register(i, s, c, o), ft.register(i, s, c, o), mt.register(i, s, c, o), dt.register(i, s, c, o), vt.register(i, s, c, o), Se.register(i, s, c, o), bt.register(i, s, c, o), Ft.register(i, s, c, o), Pt.register(i, s, c, o), Et.register(i, s, c, o), Tt.register(i, s, c, o), Ot.register(i, s, c, o), xt.register(i, s, c, o), Rt.register(i, s, c, o), jt.register(i, s, c, o), Dt.register(i, s, c, o), Mt.register(i, s, c, o), St.register(i, s, c, o));
100
100
  }
101
- function _n(e) {
101
+ function Wn(e) {
102
102
  e && typeof e.register == "function" && e.register(i, s, c, o);
103
103
  }
104
- function ue(e, t) {
104
+ function ae(e, t) {
105
105
  let n;
106
- function u(l) {
107
- const { properties: d, title: O, ignore: a } = l, f = a && Array.isArray(a), b = Object.keys(d).reduce((x, M) => ((!f || !a.find((L) => L === M)) && (x[M] = d[M].type === "object" && d[M].properties ? u(d[M]) : Y(d[M].default)), x), {});
108
- if (O && (!f || !a.find((x) => x === "id"))) {
109
- const x = O.toLowerCase().replace(/-/g, "_");
110
- b.id = `${x}_${Math.random().toString().slice(2, 6)}`;
106
+ function a(l) {
107
+ const { properties: d, title: O, ignore: u } = l, f = u && Array.isArray(u), b = Object.keys(d).reduce((R, D) => ((!f || !u.find((L) => L === D)) && (R[D] = d[D].type === "object" && d[D].properties ? a(d[D]) : Y(d[D].default)), R), {});
108
+ if (O && (!f || !u.find((R) => R === "id"))) {
109
+ const R = O.toLowerCase().replace(/-/g, "_");
110
+ b.id = `${R}_${Math.random().toString().slice(2, 6)}`;
111
111
  }
112
112
  return b;
113
113
  }
114
114
  function T(l) {
115
- const { properties: d, title: O, required: a } = l;
116
- if (a && Array.isArray(a)) {
117
- const f = a.reduce((b, x) => (b[x] = d[x].type === "object" && d[x].properties ? u(d[x]) : Y(d[x].default), b), {});
118
- if (O && a.find((b) => b === "id")) {
115
+ const { properties: d, title: O, required: u } = l;
116
+ if (u && Array.isArray(u)) {
117
+ const f = u.reduce((b, R) => (b[R] = d[R].type === "object" && d[R].properties ? a(d[R]) : Y(d[R].default), b), {});
118
+ if (O && u.find((b) => b === "id")) {
119
119
  const b = O.toLowerCase().replace(/-/g, "_");
120
120
  f.id = `${b}_${Math.random().toString().slice(2, 6)}`;
121
121
  }
@@ -126,89 +126,89 @@ function ue(e, t) {
126
126
  };
127
127
  }
128
128
  function C(l, d = {}, O) {
129
- const a = e[l];
130
- if (a) {
131
- let f = T(a);
129
+ const u = e[l];
130
+ if (u) {
131
+ let f = T(u);
132
132
  const b = t[l];
133
133
  return f = b ? b({ getSchemaByType: C }, f, d, O) : f, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(f), f;
134
134
  }
135
135
  return null;
136
136
  }
137
- function E(l, d) {
138
- const O = u(d);
139
- return Object.keys(O).reduce((a, f) => (Object.prototype.hasOwnProperty.call(l, f) && (a[f] && te(a[f]) && te(l[f] || !l[f]) ? Object.assign(a[f], l[f] || {}) : a[f] = l[f]), a), O), O;
137
+ function P(l, d) {
138
+ const O = a(d);
139
+ return Object.keys(O).reduce((u, f) => (Object.prototype.hasOwnProperty.call(l, f) && (u[f] && te(u[f]) && te(l[f] || !l[f]) ? Object.assign(u[f], l[f] || {}) : u[f] = l[f]), u), O), O;
140
140
  }
141
- function N(l, d) {
142
- return Object.keys(l).filter((a) => l[a] != null).reduce((a, f) => {
141
+ function S(l, d) {
142
+ return Object.keys(l).filter((u) => l[u] != null).reduce((u, f) => {
143
143
  if (d.has(f)) {
144
144
  const b = d.get(f);
145
145
  if (typeof b == "string")
146
- a[b] = l[f];
146
+ u[b] = l[f];
147
147
  else {
148
- const x = b(f, l[f], l);
149
- Object.assign(a, x);
148
+ const R = b(f, l[f], l);
149
+ Object.assign(u, R);
150
150
  }
151
151
  } else
152
- a[f] = l[f];
153
- return a;
152
+ u[f] = l[f];
153
+ return u;
154
154
  }, {});
155
155
  }
156
- function R(l, d, O = /* @__PURE__ */ new Map()) {
157
- const a = E(l, d);
158
- return N(a, O);
156
+ function x(l, d, O = /* @__PURE__ */ new Map()) {
157
+ const u = P(l, d);
158
+ return S(u, O);
159
159
  }
160
160
  function g(l) {
161
161
  var O;
162
162
  const d = l.type;
163
163
  if (d) {
164
- const a = e[d];
165
- if (!a)
164
+ const u = e[d];
165
+ if (!u)
166
166
  return l;
167
- const f = E(l, a), b = ((O = l.editor) == null ? void 0 : O.type) || "";
167
+ const f = P(l, u), b = ((O = l.editor) == null ? void 0 : O.type) || "";
168
168
  if (b) {
169
- const x = e[b], M = E(l.editor, x);
170
- f.editor = M;
169
+ const R = e[b], D = P(l.editor, R);
170
+ f.editor = D;
171
171
  }
172
172
  return f;
173
173
  }
174
174
  return l;
175
175
  }
176
- function P(l) {
176
+ function E(l) {
177
177
  n = l;
178
178
  }
179
- return { getSchemaByType: C, resolveSchemaWithDefaultValue: g, resolveSchemaToProps: R, mappingSchemaToProps: N, setDesignerContext: P };
179
+ return { getSchemaByType: C, resolveSchemaWithDefaultValue: g, resolveSchemaToProps: x, mappingSchemaToProps: S, setDesignerContext: E };
180
180
  }
181
- const $t = {}, Bt = {}, { resolveSchemaWithDefaultValue: Lt } = ue($t, Bt);
181
+ const At = {}, Bt = {}, { getSchemaByType: _n, resolveSchemaWithDefaultValue: Lt, resolveSchemaToProps: Hn, mappingSchemaToProps: Jn, setDesignerContext: Qn } = ae(At, Bt);
182
182
  function Vt(e = {}) {
183
- function t(g, P, l, d) {
183
+ function t(g, E, l, d) {
184
184
  if (typeof l == "number")
185
185
  return d[g].length === l;
186
186
  if (typeof l == "object") {
187
- const O = Object.keys(l)[0], a = l[O];
187
+ const O = Object.keys(l)[0], u = l[O];
188
188
  if (O === "not")
189
- return Number(d[g].length) !== Number(a);
189
+ return Number(d[g].length) !== Number(u);
190
190
  if (O === "moreThan")
191
- return Number(d[g].length) >= Number(a);
191
+ return Number(d[g].length) >= Number(u);
192
192
  if (O === "lessThan")
193
- return Number(d[g].length) <= Number(a);
193
+ return Number(d[g].length) <= Number(u);
194
194
  }
195
195
  return !1;
196
196
  }
197
- function n(g, P, l, d) {
197
+ function n(g, E, l, d) {
198
198
  return d[g] && d[g].propertyValue && String(d[g].propertyValue.value) === String(l);
199
199
  }
200
- const u = /* @__PURE__ */ new Map([
200
+ const a = /* @__PURE__ */ new Map([
201
201
  ["length", t],
202
202
  ["getProperty", n]
203
203
  ]);
204
- Object.keys(e).reduce((g, P) => (g.set(P, e[P]), g), u);
205
- function T(g, P) {
204
+ Object.keys(e).reduce((g, E) => (g.set(E, e[E]), g), a);
205
+ function T(g, E) {
206
206
  const l = g;
207
- return typeof P == "number" ? [{ target: l, operator: "length", param: null, value: Number(P) }] : typeof P == "boolean" ? [{ target: l, operator: "getProperty", param: g, value: !!P }] : typeof P == "object" ? Object.keys(P).map((d) => {
207
+ return typeof E == "number" ? [{ target: l, operator: "length", param: null, value: Number(E) }] : typeof E == "boolean" ? [{ target: l, operator: "getProperty", param: g, value: !!E }] : typeof E == "object" ? Object.keys(E).map((d) => {
208
208
  if (d === "length")
209
- return { target: l, operator: "length", param: null, value: P[d] };
210
- const O = d, a = P[d];
211
- return { target: l, operator: "getProperty", param: O, value: a };
209
+ return { target: l, operator: "length", param: null, value: E[d] };
210
+ const O = d, u = E[d];
211
+ return { target: l, operator: "getProperty", param: O, value: u };
212
212
  }) : [];
213
213
  }
214
214
  function C(g) {
@@ -217,35 +217,35 @@ function Vt(e = {}) {
217
217
  return l.push(...O), l;
218
218
  }, []);
219
219
  }
220
- function E(g, P) {
221
- if (u.has(g.operator)) {
222
- const l = u.get(g.operator);
223
- return l && l(g.target, g.param, g.value, P) || !1;
220
+ function P(g, E) {
221
+ if (a.has(g.operator)) {
222
+ const l = a.get(g.operator);
223
+ return l && l(g.target, g.param, g.value, E) || !1;
224
224
  }
225
225
  return !1;
226
226
  }
227
- function N(g, P) {
228
- return C(g).reduce((O, a) => O && E(a, P), !0);
227
+ function S(g, E) {
228
+ return C(g).reduce((O, u) => O && P(u, E), !0);
229
229
  }
230
- function R(g, P) {
231
- const l = Object.keys(g), d = l.includes("allOf"), O = l.includes("anyOf"), a = d || O, x = (a ? g[a ? d ? "allOf" : "anyOf" : "allOf"] : [g]).map((L) => N(L, P));
232
- return d ? !x.includes(!1) : x.includes(!0);
230
+ function x(g, E) {
231
+ const l = Object.keys(g), d = l.includes("allOf"), O = l.includes("anyOf"), u = d || O, R = (u ? g[u ? d ? "allOf" : "anyOf" : "allOf"] : [g]).map((L) => S(L, E));
232
+ return d ? !R.includes(!1) : R.includes(!0);
233
233
  }
234
- return { parseValueSchema: R };
234
+ return { parseValueSchema: x };
235
235
  }
236
236
  const It = {
237
- convertTo: (e, t, n, u) => {
237
+ convertTo: (e, t, n, a) => {
238
238
  e.appearance || (e.appearance = {}), e.appearance[t] = n;
239
239
  },
240
240
  convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
241
- }, wt = {
241
+ }, ht = {
242
242
  convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
243
- }, Gt = {
244
- convertTo: (e, t, n, u) => {
243
+ }, wt = {
244
+ convertTo: (e, t, n, a) => {
245
245
  e.editor && (e.editor[t] = n);
246
246
  },
247
247
  convertFrom: (e, t, n) => e.editor && Object.prototype.hasOwnProperty.call(e.editor, t) ? e.editor[t] : e[t]
248
- }, zt = {
248
+ }, Gt = {
249
249
  button: { type: "button", name: "按钮" },
250
250
  "response-toolbar": { type: "response-toolbar", name: "工具栏" },
251
251
  "response-toolbar-item": { type: "response-toolbar-item", name: "按钮" },
@@ -292,19 +292,19 @@ const It = {
292
292
  "list-view": { type: "list-view", name: "列表" },
293
293
  "filter-bar": { type: "filter-bar", name: "筛选条" },
294
294
  "language-textbox": { type: "language-textbox", name: "多语输入框" }
295
- }, qt = {
295
+ }, zt = {
296
296
  convertFrom: (e, t, n) => {
297
297
  var T;
298
- const u = e.editor && e.editor[t] ? e.editor[t] : e[t];
299
- return ((T = zt[u]) == null ? void 0 : T.name) || u;
298
+ const a = e.editor && e.editor[t] ? e.editor[t] : e[t];
299
+ return ((T = Gt[a]) == null ? void 0 : T.name) || a;
300
300
  }
301
- }, Ut = {
302
- convertTo: (e, t, n, u) => {
301
+ }, qt = {
302
+ convertTo: (e, t, n, a) => {
303
303
  e[t] = e[t];
304
304
  },
305
305
  convertFrom: (e, t, n) => e.editor ? n.getRealEditorType(e.editor.type) : ""
306
- }, Wt = {
307
- convertTo: (e, t, n, u) => {
306
+ }, Ut = {
307
+ convertTo: (e, t, n, a) => {
308
308
  (e.type === "data-grid-column" || e.type === "tree-grid-column") && (e.formatter ? e.formatter[t] = n : e.formatter = {
309
309
  [t]: n
310
310
  });
@@ -334,8 +334,8 @@ const It = {
334
334
  }
335
335
  return "none";
336
336
  }
337
- }, _t = {
338
- convertTo: (e, t, n, u) => {
337
+ }, Wt = {
338
+ convertTo: (e, t, n, a) => {
339
339
  e.command ? e.command[t] = n : e.command = {
340
340
  [t]: n
341
341
  }, t === "enable" && n && (e.command.commands || (e.command.commands = [
@@ -352,8 +352,8 @@ const It = {
352
352
  ]));
353
353
  },
354
354
  convertFrom: (e, t, n) => e.command && t === "enable" ? e.command.enable : ""
355
- }, Ht = {
356
- convertTo: (e, t, n, u) => {
355
+ }, _t = {
356
+ convertTo: (e, t, n, a) => {
357
357
  e.column ? e.column[t] = n : e.column = {
358
358
  [t]: n
359
359
  }, t === "fitColumns" && n && (e.column.fitMode || (e.column.fitMode = "average"));
@@ -367,8 +367,8 @@ const It = {
367
367
  }
368
368
  return "";
369
369
  }
370
- }, ht = {
371
- convertTo: (e, t, n, u) => {
370
+ }, Ht = {
371
+ convertTo: (e, t, n, a) => {
372
372
  e.summary ? e.summary[t] = n : e.summary = {
373
373
  [t]: n
374
374
  }, t === "enable" && n && (e.summary ? e.summary.groupFields || (e.summary.groupFields = []) : e.summary = {
@@ -378,7 +378,7 @@ const It = {
378
378
  },
379
379
  convertFrom: (e, t, n) => e.summary && t === "enable" ? e.summary.enable : e.type === "data-grid-column" ? e.enableSummary === void 0 ? !1 : e.enableSummary : ""
380
380
  }, Jt = {
381
- convertTo: (e, t, n, u) => {
381
+ convertTo: (e, t, n, a) => {
382
382
  e.group ? e.group[t] = n : e.group = {
383
383
  [t]: n
384
384
  }, t === "enable" && n && (e.group ? e.group.groupFields || (e.group.groupFields = []) : e.group = {
@@ -399,27 +399,27 @@ const It = {
399
399
  convertFrom: (e, t) => e.binding ? e.binding.path : "",
400
400
  convertTo: (e, t, n) => {
401
401
  if (n && n.length > 0) {
402
- const u = n[0];
403
- e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = u.bindingField, e.binding.field = u.id, e.binding.fullPath = u.path, e.path = u.bindingPath;
402
+ const a = n[0];
403
+ e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = a.bindingField, e.binding.field = a.id, e.binding.fullPath = a.path, e.path = a.bindingPath;
404
404
  }
405
405
  }
406
406
  }, Xt = {
407
- convertTo: (e, t, n, u) => {
407
+ convertTo: (e, t, n, a) => {
408
408
  e.pagination || (e.pagination = {}), e.pagination[t] = n;
409
409
  },
410
410
  convertFrom: (e, t, n) => e.pagination ? e.pagination[t] : e[t]
411
411
  }, Yt = {
412
- convertTo: (e, t, n, u) => {
412
+ convertTo: (e, t, n, a) => {
413
413
  e.rowNumber || (e.rowNumber = {}), e.rowNumber[t] = n;
414
414
  },
415
415
  convertFrom: (e, t, n) => e.rowNumber ? e.rowNumber[t] : e[t]
416
416
  }, Zt = {
417
- convertTo: (e, t, n, u) => {
417
+ convertTo: (e, t, n, a) => {
418
418
  e.selection || (e.selection = {}), e.selection[t] = n;
419
419
  },
420
420
  convertFrom: (e, t, n) => {
421
- var u, T;
422
- return t === "showCheckbox" ? (u = e.selection) != null && u.multiSelect ? !0 : (T = e.selection) == null ? void 0 : T.showCheckbox : e.selection ? e.selection[t] : e[t];
421
+ var a, T;
422
+ return t === "showCheckbox" ? (a = e.selection) != null && a.multiSelect ? !0 : (T = e.selection) == null ? void 0 : T.showCheckbox : e.selection ? e.selection[t] : e[t];
423
423
  }
424
424
  }, Kt = {
425
425
  convertFrom: (e, t, n) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
@@ -429,37 +429,37 @@ const It = {
429
429
  e[t] = n;
430
430
  }
431
431
  }, tr = {
432
- convertTo: (e, t, n, u) => {
432
+ convertTo: (e, t, n, a) => {
433
433
  e.size || (e.size = {}), e.size[t] = n;
434
434
  },
435
435
  convertFrom: (e, t, n) => e.size ? e.size[t] : e[t]
436
436
  }, rr = {
437
437
  convertFrom: (e, t, n) => {
438
- var u, T;
439
- return (u = e.formatter) != null && u.data && t === "formatterEnumData" && !e.formatterEnumData ? (T = e.formatter) == null ? void 0 : T.data : e.formatterEnumData;
438
+ var a, T;
439
+ return (a = e.formatter) != null && a.data && t === "formatterEnumData" && !e.formatterEnumData ? (T = e.formatter) == null ? void 0 : T.data : e.formatterEnumData;
440
440
  }
441
441
  }, nr = {
442
- convertTo: (e, t, n, u) => {
442
+ convertTo: (e, t, n, a) => {
443
443
  e.sort || (e.sort = {}), e.sort[t] = n;
444
444
  },
445
445
  convertFrom: (e, t, n) => {
446
- var u, T;
446
+ var a, T;
447
447
  if (t === "mode")
448
- return ((u = e.sort) == null ? void 0 : u.mode) || "client";
448
+ return ((a = e.sort) == null ? void 0 : a.mode) || "client";
449
449
  if (t === "multiSort")
450
450
  return !!((T = e.sort) != null && T.multiSort);
451
451
  }
452
452
  }, or = {
453
- convertTo: (e, t, n, u) => {
453
+ convertTo: (e, t, n, a) => {
454
454
  e.filter || (e.filter = {}), e.filter[t] = n;
455
455
  },
456
456
  convertFrom: (e, t, n) => {
457
- var u;
457
+ var a;
458
458
  if (t === "mode")
459
- return ((u = e.filter) == null ? void 0 : u.mode) || "client";
459
+ return ((a = e.filter) == null ? void 0 : a.mode) || "client";
460
460
  }
461
461
  }, ir = {
462
- convertTo: (e, t, n, u) => {
462
+ convertTo: (e, t, n, a) => {
463
463
  e.rowOption ? e.rowOption[t] = n : e.rowOption = {
464
464
  [t]: n
465
465
  };
@@ -475,17 +475,17 @@ const It = {
475
475
  }
476
476
  };
477
477
  function le(e, t, n) {
478
- const u = /* @__PURE__ */ new Map([
478
+ const a = /* @__PURE__ */ new Map([
479
479
  ["/converter/appearance.converter", It],
480
- ["/converter/buttons.converter", wt],
481
- ["/converter/property-editor.converter", Gt],
480
+ ["/converter/buttons.converter", ht],
481
+ ["/converter/property-editor.converter", wt],
482
482
  ["/converter/items-count.converter", Kt],
483
- ["/converter/type.converter", qt],
484
- ["/converter/change-editor.converter", Ut],
485
- ["/converter/change-formatter.converter", Wt],
486
- ["/converter/column-command.converter", _t],
487
- ["/converter/column-option.converter", Ht],
488
- ["/converter/summary.converter", ht],
483
+ ["/converter/type.converter", zt],
484
+ ["/converter/change-editor.converter", qt],
485
+ ["/converter/change-formatter.converter", Ut],
486
+ ["/converter/column-command.converter", Wt],
487
+ ["/converter/column-option.converter", _t],
488
+ ["/converter/summary.converter", Ht],
489
489
  ["/converter/group.converter", Jt],
490
490
  ["/converter/form-group-label.converter", er],
491
491
  ["/converter/field-selector.converter", Qt],
@@ -522,100 +522,100 @@ function le(e, t, n) {
522
522
  ["number", { type: "number-spinner", placeholder: "" }],
523
523
  ["events-editor", { type: "events-editor", hide: !0 }]
524
524
  ]), C = Vt();
525
- function E(a, f) {
526
- return () => C.parseValueSchema(a, f);
525
+ function P(u, f) {
526
+ return () => C.parseValueSchema(u, f);
527
527
  }
528
- function N(a, f, b) {
529
- return a.includes("visible") && f.visible !== void 0 ? typeof f.visible == "boolean" ? () => !!f.visible : f.visible === void 0 ? !0 : E(f.visible, b) : () => !0;
528
+ function S(u, f, b) {
529
+ return u.includes("visible") && f.visible !== void 0 ? typeof f.visible == "boolean" ? () => !!f.visible : f.visible === void 0 ? !0 : P(f.visible, b) : () => !0;
530
530
  }
531
- function R(a, f, b) {
532
- return a.includes("readonly") && f.readonly !== void 0 ? typeof f.readonly == "boolean" ? () => !!f.readonly : E(f.readonly, b) : () => !1;
531
+ function x(u, f, b) {
532
+ return u.includes("readonly") && f.readonly !== void 0 ? typeof f.readonly == "boolean" ? () => !!f.readonly : P(f.readonly, b) : () => !1;
533
533
  }
534
- function g(a, f) {
535
- const b = a.$converter || f;
536
- return typeof b == "string" && b && u.has(b) ? u.get(b) || null : b || null;
534
+ function g(u, f) {
535
+ const b = u.$converter || f;
536
+ return typeof b == "string" && b && a.has(b) ? a.get(b) || null : b || null;
537
537
  }
538
- function P(a, f, b, x, M, L = "", w = "") {
539
- return Object.keys(a).map((A) => {
540
- const G = Q(1), z = A, F = a[A], V = Object.keys(F), W = F.title, _ = F.type, U = T.get(_) || { type: "input-group", enableClear: !1 }, q = F.editor ? Object.assign({}, U, F.editor) : Object.assign({}, U), h = N(V, F, f), H = R(V, F, f);
541
- q.readonly = q.readonly === void 0 ? H() : q.readonly;
542
- const r = F.type === "cascade" ? P(F.properties, f, b, x, M, L, w) : [], m = !0;
543
- let p = g(F, w);
538
+ function E(u, f, b, R, D, L = "", h = "") {
539
+ return Object.keys(u).map(($) => {
540
+ const w = Q(1), G = $, F = u[$], V = Object.keys(F), U = F.title, W = F.type, q = T.get(W) || { type: "input-group", enableClear: !1 }, z = F.editor ? Object.assign({}, q, F.editor) : Object.assign({}, q), H = S(V, F, f), _ = x(V, F, f);
541
+ z.readonly = z.readonly === void 0 ? _() : z.readonly;
542
+ const r = F.type === "cascade" ? E(F.properties, f, b, R, D, L, h) : [], m = !0;
543
+ let p = g(F, h);
544
544
  const y = fe({
545
545
  get() {
546
- if (G.value) {
547
- if (["class", "style"].find((S) => S === z) && !p && (p = u.get("/converter/appearance.converter") || null), p && p.convertFrom)
548
- return p.convertFrom(b, A, M, L);
549
- const D = b[A];
550
- return Object.prototype.hasOwnProperty.call(F, "defaultValue") && (D === void 0 || typeof D == "string" && D === "") ? F.type === "boolean" ? F.defaultValue : F.defaultValue || "" : D;
546
+ if (w.value) {
547
+ if (["class", "style"].find((N) => N === G) && !p && (p = a.get("/converter/appearance.converter") || null), p && p.convertFrom)
548
+ return p.convertFrom(b, $, D, L);
549
+ const M = b[$];
550
+ return Object.prototype.hasOwnProperty.call(F, "defaultValue") && (M === void 0 || typeof M == "string" && M === "") ? F.type === "boolean" ? F.defaultValue : F.defaultValue || "" : M;
551
551
  }
552
552
  return null;
553
553
  },
554
- set(D) {
555
- G.value += 1, p && p.convertTo ? (p.convertTo(x, A, D, M, L), p.convertTo(b, A, D, M, L)) : (x[A] = D, b[A] = D);
554
+ set(M) {
555
+ w.value += 1, p && p.convertTo ? (p.convertTo(R, $, M, D, L), p.convertTo(b, $, M, D, L)) : (R[$] = M, b[$] = M);
556
556
  }
557
- }), { refreshPanelAfterChanged: v, description: j, isExpand: k, parentPropertyID: $ } = F, B = { propertyID: z, propertyName: W, propertyType: _, propertyValue: y, editor: q, visible: h, readonly: H, cascadeConfig: r, hideCascadeTitle: m, refreshPanelAfterChanged: v, description: j, isExpand: k, parentPropertyID: $ };
558
- return f[z] = B, B;
557
+ }), { refreshPanelAfterChanged: v, description: j, isExpand: k, parentPropertyID: A } = F, B = { propertyID: G, propertyName: U, propertyType: W, propertyValue: y, editor: z, visible: H, readonly: _, cascadeConfig: r, hideCascadeTitle: m, refreshPanelAfterChanged: v, description: j, isExpand: k, parentPropertyID: A };
558
+ return f[G] = B, B;
559
559
  });
560
560
  }
561
- function l(a, f, b = {}) {
562
- const x = {}, M = e[a];
563
- return M && M.categories ? Object.keys(M.categories).map((w) => {
564
- const I = M.categories[w], A = I == null ? void 0 : I.title, G = P(I.properties || {}, x, {}, b, f);
565
- return { categoryId: w, categoryName: A, properties: G };
561
+ function l(u, f, b = {}) {
562
+ const R = {}, D = e[u];
563
+ return D && D.categories ? Object.keys(D.categories).map((h) => {
564
+ const I = D.categories[h], $ = I == null ? void 0 : I.title, w = E(I.properties || {}, R, {}, b, f);
565
+ return { categoryId: h, categoryName: $, properties: w };
566
566
  }) : [];
567
567
  }
568
- function d(a, f, b, x, M = "") {
569
- const L = f.$ref.schema, w = f.$ref.converter, I = b[L], A = I.type, G = n(I), z = {}, F = e[A];
568
+ function d(u, f, b, R, D = "") {
569
+ const L = f.$ref.schema, h = f.$ref.converter, I = b[L], $ = I.type, w = n(I), G = {}, F = e[$];
570
570
  if (F && F.categories) {
571
- const V = F.categories[a], W = V == null ? void 0 : V.title;
572
- w && Object.keys(V.properties).forEach((q) => {
573
- V.properties[q].$converter = w;
571
+ const V = F.categories[u], U = V == null ? void 0 : V.title;
572
+ h && Object.keys(V.properties).forEach((z) => {
573
+ V.properties[z].$converter = h;
574
574
  });
575
- const _ = (V == null ? void 0 : V.properties) || {}, U = P(_, z, G, I, x, M);
576
- return { categoryId: a, categoryName: W, properties: U };
575
+ const W = (V == null ? void 0 : V.properties) || {}, q = E(W, G, w, I, R, D);
576
+ return { categoryId: u, categoryName: U, properties: q };
577
577
  }
578
- return { categoryId: a, categoryName: "", properties: [] };
578
+ return { categoryId: u, categoryName: "", properties: [] };
579
579
  }
580
- function O(a, f, b, x, M) {
581
- const L = a.type, w = n(a), I = {};
582
- let A = M || e[L];
583
- if (A && Object.keys(A).length === 0 && b && b.getPropConfig && (A = b.getPropConfig(x)), A && A.categories) {
584
- const G = [];
585
- return Object.keys(A.categories).map((z) => {
586
- const F = A.categories[z];
580
+ function O(u, f, b, R, D) {
581
+ const L = u.type, h = n(u), I = {};
582
+ let $ = D || e[L];
583
+ if ($ && Object.keys($).length === 0 && b && b.getPropConfig && ($ = b.getPropConfig(R)), $ && $.categories) {
584
+ const w = [];
585
+ return Object.keys($.categories).map((G) => {
586
+ const F = $.categories[G];
587
587
  if (F.$ref) {
588
- G.push(d(z, F, a, f, x));
588
+ w.push(d(G, F, u, f, R));
589
589
  return;
590
590
  }
591
- const V = F == null ? void 0 : F.title, W = F == null ? void 0 : F.tabId, _ = F == null ? void 0 : F.tabName, U = F == null ? void 0 : F.hide, q = F == null ? void 0 : F.hideTitle, h = P(F.properties || {}, I, w, a, f, x, F.$converter), { setPropertyRelates: H } = F, r = F == null ? void 0 : F.parentPropertyID;
592
- G.push({ categoryId: z, categoryName: V, tabId: W, tabName: _, hide: U, properties: h, hideTitle: q, setPropertyRelates: H, parentPropertyID: r });
593
- }), G;
591
+ const V = F == null ? void 0 : F.title, U = F == null ? void 0 : F.tabId, W = F == null ? void 0 : F.tabName, q = F == null ? void 0 : F.hide, z = F == null ? void 0 : F.hideTitle, H = E(F.properties || {}, I, h, u, f, R, F.$converter), { setPropertyRelates: _ } = F, r = F == null ? void 0 : F.parentPropertyID;
592
+ w.push({ categoryId: G, categoryName: V, tabId: U, tabName: W, hide: q, properties: H, hideTitle: z, setPropertyRelates: _, parentPropertyID: r });
593
+ }), w;
594
594
  }
595
595
  return [];
596
596
  }
597
597
  return {
598
598
  getPropertyConfigBySchema: O,
599
599
  getPropertyConfigByType: l,
600
- propertyConverterMap: u
600
+ propertyConverterMap: a
601
601
  };
602
602
  }
603
603
  const sr = {}, cr = {};
604
604
  le(sr, cr, Lt);
605
- const ur = {}, lr = {}, { resolveSchemaWithDefaultValue: ar } = ue(ur, lr), fr = {}, pr = {};
606
- le(fr, pr, ar);
605
+ const ar = {}, lr = {}, { getSchemaByType: Xn, resolveSchemaWithDefaultValue: ur, resolveSchemaToProps: Yn, mappingSchemaToProps: Zn, setDesignerContext: Kn } = ae(ar, lr), fr = {}, pr = {};
606
+ le(fr, pr, ur);
607
607
  function mr() {
608
608
  function e(t, n) {
609
- const { id: u } = t || {};
609
+ const { id: a } = t || {};
610
610
  if (t.binding === void 0)
611
611
  return {};
612
612
  if (t.binding && Object.keys(t.binding).length < 1)
613
613
  return {};
614
614
  const { field: T } = t.binding || {};
615
615
  return {
616
- modelValue: n.getValue(u),
616
+ modelValue: n.getValue(a),
617
617
  "onUpdate:modelValue": (C) => {
618
- n.setValue(u, T, C);
618
+ n.setValue(a, T, C);
619
619
  }
620
620
  };
621
621
  }
@@ -625,18 +625,18 @@ function mr() {
625
625
  }
626
626
  function dr() {
627
627
  return (e, t, n) => {
628
- const u = t.id, { type: T } = t, C = e.emits;
629
- return C ? C.filter((E) => E !== "update:modelValue").reduce((E, N) => {
630
- const R = `on${N.charAt(0).toUpperCase()}${N.slice(1)}`;
631
- return E[R] = (...g) => {
632
- n.dispatch(u, N, T, g);
633
- }, E;
628
+ const a = t.id, { type: T } = t, C = e.emits;
629
+ return C ? C.filter((P) => P !== "update:modelValue").reduce((P, S) => {
630
+ const x = `on${S.charAt(0).toUpperCase()}${S.slice(1)}`;
631
+ return P[x] = (...g) => {
632
+ n.dispatch(a, S, T, g);
633
+ }, P;
634
634
  }, {}) : {};
635
635
  };
636
636
  }
637
637
  function gr(e, t) {
638
- function n(u, T, C, E) {
639
- e.emit("event", { token: u, name: T, type: C, payloads: E, schema: t });
638
+ function n(a, T, C, P) {
639
+ e.emit("event", { token: a, name: T, type: C, payloads: P, schema: t });
640
640
  }
641
641
  return {
642
642
  dispatch: n
@@ -644,106 +644,106 @@ function gr(e, t) {
644
644
  }
645
645
  function vr() {
646
646
  const e = /* @__PURE__ */ new Map();
647
- function t(R, g) {
648
- e.set(R, g);
647
+ function t(x, g) {
648
+ e.set(x, g);
649
649
  }
650
- function n(R) {
651
- const g = e.get(R);
652
- return g || (console.warn(`Instance with id ${R} not found`), null);
650
+ function n(x) {
651
+ const g = e.get(x);
652
+ return g || (console.warn(`Instance with id ${x} not found`), null);
653
653
  }
654
- function u(R) {
655
- e.delete(R);
654
+ function a(x) {
655
+ e.delete(x);
656
656
  }
657
- function T(R, g) {
658
- if (!e.has(R)) {
659
- console.warn(`Instance with id ${R} not found`);
657
+ function T(x, g) {
658
+ if (!e.has(x)) {
659
+ console.warn(`Instance with id ${x} not found`);
660
660
  return;
661
661
  }
662
- e.set(R, g);
662
+ e.set(x, g);
663
663
  }
664
- function C(R) {
665
- return e.has(R);
664
+ function C(x) {
665
+ return e.has(x);
666
666
  }
667
- function E() {
667
+ function P() {
668
668
  return new Map(e);
669
669
  }
670
- function N() {
670
+ function S() {
671
671
  e.clear();
672
672
  }
673
673
  return {
674
674
  register: t,
675
675
  get: n,
676
- remove: u,
676
+ remove: a,
677
677
  update: T,
678
678
  has: C,
679
- getAll: E,
680
- clear: N
679
+ getAll: P,
680
+ clear: S
681
681
  };
682
682
  }
683
683
  function br(e, t) {
684
684
  function n(T) {
685
685
  return e.value && e.value[T];
686
686
  }
687
- function u(T, C, E) {
688
- e.value && (e.value[T] = E), C && t.emit("update:modelValue", { elementId: T, field: C, value: E, modelValue: e.value });
687
+ function a(T, C, P) {
688
+ e.value && (e.value[T] = P), C && t.emit("update:modelValue", { elementId: T, field: C, value: P, modelValue: e.value });
689
689
  }
690
690
  return {
691
691
  getValue: n,
692
- setValue: u
692
+ setValue: a
693
693
  };
694
694
  }
695
- function ae(e) {
695
+ function ue(e) {
696
696
  function t() {
697
- var n, u;
698
- return ((u = (n = e == null ? void 0 : e.module) == null ? void 0 : n.entity[0]) == null ? void 0 : u.entities[0]) || {};
697
+ var n, a;
698
+ return ((a = (n = e == null ? void 0 : e.module) == null ? void 0 : n.entity[0]) == null ? void 0 : a.entities[0]) || {};
699
699
  }
700
700
  return {
701
701
  getSchemaEntity: t
702
702
  };
703
703
  }
704
704
  function yr(e) {
705
- const { getSchemaEntity: t } = ae(e);
705
+ const { getSchemaEntity: t } = ue(e);
706
706
  function n(C) {
707
- const E = t();
708
- return T(E, C);
707
+ const P = t();
708
+ return T(P, C);
709
709
  }
710
- function u(C) {
711
- var P, l;
712
- const E = [];
713
- function N(d, O) {
710
+ function a(C) {
711
+ var E, l;
712
+ const P = [];
713
+ function S(d, O) {
714
714
  var b;
715
- const a = [...O, d.label];
716
- (((b = C == null ? void 0 : C.type) == null ? void 0 : b.primary) || null) && E.push({
717
- bindingPaths: a,
715
+ const u = [...O, d.label];
716
+ (((b = C == null ? void 0 : C.type) == null ? void 0 : b.primary) || null) && P.push({
717
+ bindingPaths: u,
718
718
  primaryKey: d.type.primary,
719
719
  label: d.label
720
- }), d.type.entities.forEach((x) => {
721
- N(x, a);
720
+ }), d.type.entities.forEach((R) => {
721
+ S(R, u);
722
722
  });
723
723
  }
724
- return (((P = C == null ? void 0 : C.type) == null ? void 0 : P.primary) || null) && (E.push({
724
+ return (((E = C == null ? void 0 : C.type) == null ? void 0 : E.primary) || null) && (P.push({
725
725
  bindingPaths: [],
726
726
  primaryKey: C.type.primary,
727
727
  label: C.label
728
728
  }), (((l = C == null ? void 0 : C.type) == null ? void 0 : l.entities) || []).forEach((d) => {
729
- N(d, []);
730
- })), E;
729
+ S(d, []);
730
+ })), P;
731
731
  }
732
- function T(C, E, N = !0) {
733
- const R = N ? [] : [C.label];
734
- if (C.label === E)
732
+ function T(C, P, S = !0) {
733
+ const x = S ? [] : [C.label];
734
+ if (C.label === P)
735
735
  return {
736
- bindingPaths: R,
736
+ bindingPaths: x,
737
737
  primaryKey: C.type.primary,
738
738
  label: C.label
739
739
  };
740
740
  for (const g of C.type.entities) {
741
- const P = T(g, E, !1);
742
- if (P)
741
+ const E = T(g, P, !1);
742
+ if (E)
743
743
  return {
744
- bindingPaths: [...R, ...P.bindingPaths],
745
- primaryKey: P.primaryKey,
746
- label: P.label
744
+ bindingPaths: [...x, ...E.bindingPaths],
745
+ primaryKey: E.primaryKey,
746
+ label: E.label
747
747
  };
748
748
  }
749
749
  return null;
@@ -751,20 +751,20 @@ function yr(e) {
751
751
  return {
752
752
  resolveEntityByDataSource: n,
753
753
  resolveEntity: T,
754
- resolveEntities: u
754
+ resolveEntities: a
755
755
  };
756
756
  }
757
757
  function Fr(e) {
758
- const t = {}, { getSchemaEntity: n } = ae(e), { resolveEntities: u } = yr(e);
758
+ const t = {}, { getSchemaEntity: n } = ue(e), { resolveEntities: a } = yr(e);
759
759
  function T() {
760
- const E = n();
761
- u(E).forEach((R) => {
762
- const g = "/" + R.bindingPaths.join("/"), { primaryKey: P } = R, l = { primaryKey: P, bindingPath: g, label: R.label, currentId: null };
760
+ const P = n();
761
+ a(P).forEach((x) => {
762
+ const g = "/" + x.bindingPaths.join("/"), { primaryKey: E } = x, l = { primaryKey: E, bindingPath: g, label: x.label, currentId: null };
763
763
  t[g] = l;
764
764
  });
765
765
  }
766
- function C(E) {
767
- return Array.isArray(E) ? E = "/" + E.join("/") : E = "/" + E.split("/").filter((N) => N).join("/"), t[E];
766
+ function C(P) {
767
+ return Array.isArray(P) ? P = "/" + P.join("/") : P = "/" + P.split("/").filter((S) => S).join("/"), t[P];
768
768
  }
769
769
  return {
770
770
  setup: T,
@@ -772,8 +772,8 @@ function Fr(e) {
772
772
  };
773
773
  }
774
774
  function Cr(e) {
775
- function t(n, u) {
776
- return e(n, u);
775
+ function t(n, a) {
776
+ return e(n, a);
777
777
  }
778
778
  return {
779
779
  call: t
@@ -781,15 +781,15 @@ function Cr(e) {
781
781
  }
782
782
  const ce = /* @__PURE__ */ pe({
783
783
  name: "FDynamicView",
784
- props: St,
784
+ props: Nt,
785
785
  emits: ["update:modelValue", "event", "componentReady"],
786
786
  setup(e, t) {
787
- const n = Q(e.schema), u = Q(e.modelValue), T = Q(e.callback), {
787
+ const n = Q(e.schema), a = Q(e.modelValue), T = Q(e.callback), {
788
788
  customComponentRenders: C
789
- } = e, E = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map();
790
- At();
791
- const R = vr(), g = br(u, t), P = Fr(n.value);
792
- P.setup();
789
+ } = e, P = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map();
790
+ $t();
791
+ const x = vr(), g = br(a, t), E = Fr(n.value);
792
+ E.setup();
793
793
  const l = /* @__PURE__ */ new Map();
794
794
  function d(r) {
795
795
  const m = r.type, {
@@ -798,17 +798,17 @@ const ce = /* @__PURE__ */ pe({
798
798
  } = r;
799
799
  if (!p && y === void 0)
800
800
  return {};
801
- p && N.set(p, r);
801
+ p && S.set(p, r);
802
802
  const v = o[m];
803
803
  return (v && v.bindingResolver ? v.bindingResolver : mr()).resolve(r, g);
804
804
  }
805
805
  function O(r) {
806
806
  const m = {};
807
807
  return r && Object.entries(r).forEach(([p, y]) => {
808
- m[p] = () => Array.isArray(y) ? y.map((v) => M(v)) : M(y);
808
+ m[p] = () => Array.isArray(y) ? y.map((v) => D(v)) : D(y);
809
809
  }), m;
810
810
  }
811
- function a(r) {
811
+ function u(r) {
812
812
  const m = r.type, p = o[m];
813
813
  if (!p || Object.keys(p).length < 1)
814
814
  return {};
@@ -817,42 +817,42 @@ const ce = /* @__PURE__ */ pe({
817
817
  editorResolver: v
818
818
  } = p, j = Cr(T.value);
819
819
  if (v) {
820
- const $ = v.resolve(r).type, B = o[$], {
821
- callbackResolver: D
820
+ const A = v.resolve(r).type, B = o[A], {
821
+ callbackResolver: M
822
822
  } = B || {};
823
- return D ? D.resolve(r, j) : {};
823
+ return M ? M.resolve(r, j) : {};
824
824
  }
825
825
  return y ? y.resolve(r, j) : {};
826
826
  }
827
827
  function f(r) {
828
828
  const m = r.type, p = gr(t, r), y = i[m], v = dr(), j = o[m], k = j ? j.editorResolver : null;
829
829
  if (k) {
830
- const D = k.resolve(r).type, S = i[D];
831
- return v ? v(S, r, p) : {};
830
+ const M = k.resolve(r).type, N = i[M];
831
+ return v ? v(N, r, p) : {};
832
832
  }
833
833
  return v ? v(y, r, p) : {};
834
834
  }
835
835
  function b(r) {
836
836
  return {};
837
837
  }
838
- function x(r) {
839
- var B, D;
838
+ function R(r) {
839
+ var B, M;
840
840
  const m = r.type, p = s[m], y = p ? p(r) : {}, v = {
841
841
  ...f(r)
842
842
  }, j = {
843
- ...a(r)
843
+ ...u(r)
844
844
  }, k = {
845
845
  ...y,
846
846
  ...d(r),
847
847
  ...b()
848
848
  };
849
- return m === "component" && (k.code = (D = (B = n.value) == null ? void 0 : B.module) == null ? void 0 : D.code), {
849
+ return m === "component" && (k.code = (M = (B = n.value) == null ? void 0 : B.module) == null ? void 0 : M.code), {
850
850
  props: {
851
851
  ...k,
852
852
  key: r.id,
853
- ref: (S) => {
854
- S && r.id && !R.has(r.id) && (R.register(r.id, S), t.emit("componentReady", {
855
- ref: Q(S),
853
+ ref: (N) => {
854
+ N && r.id && !x.has(r.id) && (x.register(r.id, N), t.emit("componentReady", {
855
+ ref: Q(N),
856
856
  id: r.id,
857
857
  type: r.type
858
858
  }));
@@ -862,24 +862,24 @@ const ce = /* @__PURE__ */ pe({
862
862
  callbackProps: j
863
863
  };
864
864
  }
865
- function M(r) {
866
- var k, $, B;
865
+ function D(r) {
866
+ var k, A, B;
867
867
  const m = r.type, p = i[m];
868
868
  if (C && C[m])
869
869
  return C[m](r, p);
870
870
  if (m === "component-ref") {
871
- const D = ($ = (k = n.value) == null ? void 0 : k.module) == null ? void 0 : $.components.find((S) => S.id === r.component);
872
- if (D)
873
- return M(D);
871
+ const M = (A = (k = n.value) == null ? void 0 : k.module) == null ? void 0 : A.components.find((N) => N.id === r.component);
872
+ if (M)
873
+ return D(M);
874
874
  }
875
- if (r.id && E.set(r.id, r), !p)
875
+ if (r.id && P.set(r.id, r), !p)
876
876
  return null;
877
- const y = () => r.contents ? typeof r.contents == "string" ? r.contents : r.contents.map((D) => M(D)) : null, v = (D, S, J) => {
877
+ const y = () => r.contents ? typeof r.contents == "string" ? r.contents : r.contents.map((M) => D(M)) : null, v = (M, N, J) => {
878
878
  let X;
879
- return J && J.length > 0 ? X = ee(D, {
880
- ...S
881
- }, J) : X = ee(D, {
882
- ...S
879
+ return J && J.length > 0 ? X = ee(M, {
880
+ ...N
881
+ }, J) : X = ee(M, {
882
+ ...N
883
883
  }, null), X;
884
884
  }, j = ((B = l.get(r.id)) == null ? void 0 : B.props) || {};
885
885
  return r.contents && r.contents.length > 0 ? v(p, j, [y()]) : r.slots ? v(p, j, [...Object.values(O(r.slots))]) : v(p, j);
@@ -887,33 +887,33 @@ const ce = /* @__PURE__ */ pe({
887
887
  function L(r) {
888
888
  r.$forceUpdate && r.$forceUpdate();
889
889
  }
890
- function w(r) {
890
+ function h(r) {
891
891
  return g.getValue(r);
892
892
  }
893
893
  function I(r) {
894
- return E.get(r);
894
+ return P.get(r);
895
895
  }
896
- function A(r, m) {
897
- const p = E.get(r);
896
+ function $(r, m) {
897
+ const p = P.get(r);
898
898
  if (!p)
899
899
  return;
900
- const y = R.get(r);
900
+ const y = x.get(r);
901
901
  if (!y)
902
902
  return;
903
903
  re(p, m);
904
904
  const v = p.type, j = o[v], k = j ? j.updateColumnsResolver : null;
905
905
  k && k.updateColumns(y, p), L(y);
906
906
  }
907
- function G(r) {
907
+ function w(r) {
908
908
  var m;
909
909
  return (m = l.get(r)) == null ? void 0 : m.props;
910
910
  }
911
- function z(r, m) {
911
+ function G(r, m) {
912
912
  const p = l.get(r);
913
- ne(p == null ? void 0 : p.props, m, h);
913
+ ne(p == null ? void 0 : p.props, m, H);
914
914
  }
915
915
  function F(r, m, ...p) {
916
- const y = R.get(r);
916
+ const y = x.get(r);
917
917
  if (y) {
918
918
  if (!y || typeof y[m] != "function")
919
919
  throw new Error(`Method ${m} not found on instance ${r}`);
@@ -921,25 +921,25 @@ const ce = /* @__PURE__ */ pe({
921
921
  }
922
922
  }
923
923
  function V(r, m) {
924
- const p = P.get(r);
924
+ const p = E.get(r);
925
925
  if (!p)
926
926
  return;
927
- const y = p.label, v = N.get(y);
927
+ const y = p.label, v = S.get(y);
928
928
  if (!v)
929
929
  return;
930
- const j = v.type, k = o[j], $ = k ? k.selectionItemResolver : null;
931
- if ($) {
932
- const B = R.get(v.id);
933
- $.selectItemById(B, m);
930
+ const j = v.type, k = o[j], A = k ? k.selectionItemResolver : null;
931
+ if (A) {
932
+ const B = x.get(v.id);
933
+ A.selectItemById(B, m);
934
934
  }
935
935
  }
936
- function W(r) {
937
- var B, D;
936
+ function U(r) {
937
+ var B, M;
938
938
  const m = r.type;
939
939
  if (m === "component-ref") {
940
- const S = (D = (B = n.value) == null ? void 0 : B.module) == null ? void 0 : D.components.find((J) => J.id === r.component);
941
- if (S)
942
- return W(S);
940
+ const N = (M = (B = n.value) == null ? void 0 : B.module) == null ? void 0 : M.components.find((J) => J.id === r.component);
941
+ if (N)
942
+ return U(N);
943
943
  }
944
944
  if (!i[m])
945
945
  return;
@@ -947,31 +947,31 @@ const ce = /* @__PURE__ */ pe({
947
947
  props: y,
948
948
  eventProps: v,
949
949
  callbackProps: j
950
- } = x(r), k = o[m], $ = k ? k.editorResolver : null;
951
- if ($) {
952
- const S = $.resolve(r);
953
- Object.assign(S, v, j);
950
+ } = R(r), k = o[m], A = k ? k.editorResolver : null;
951
+ if (A) {
952
+ const N = A.resolve(r);
953
+ Object.assign(N, v, j);
954
954
  } else
955
955
  Object.assign(y, v, j);
956
956
  if (y && Object.keys(y).length > 0) {
957
- const S = l.get(r.id);
958
- S ? re(S == null ? void 0 : S.props, y) : l.set(r.id, K({
957
+ const N = l.get(r.id);
958
+ N ? re(N == null ? void 0 : N.props, y) : l.set(r.id, K({
959
959
  props: y
960
960
  }));
961
961
  }
962
- !r.contents || !Array.isArray(r.contents) || r.contents.forEach((S) => W(S));
962
+ !r.contents || !Array.isArray(r.contents) || r.contents.forEach((N) => U(N));
963
963
  }
964
- function _(r, m) {
964
+ function W(r, m) {
965
965
  const p = s[r];
966
966
  return p ? p(m, !1) : {};
967
967
  }
968
- function U(r) {
968
+ function q(r) {
969
969
  var v, j;
970
970
  const m = r.type;
971
971
  if (m === "component-ref") {
972
- const k = (j = (v = n.value) == null ? void 0 : v.module) == null ? void 0 : j.components.find(($) => $.id === r.component);
972
+ const k = (j = (v = n.value) == null ? void 0 : v.module) == null ? void 0 : j.components.find((A) => A.id === r.component);
973
973
  if (k)
974
- return U(k);
974
+ return q(k);
975
975
  }
976
976
  if (!i[m])
977
977
  return;
@@ -983,17 +983,17 @@ const ce = /* @__PURE__ */ pe({
983
983
  props: y
984
984
  }));
985
985
  else {
986
- const $ = {
986
+ const A = {
987
987
  ...k == null ? void 0 : k.props
988
988
  };
989
989
  Object.keys(y).forEach((B) => {
990
- $[B] = y[B];
991
- }), Object.assign(k == null ? void 0 : k.props, $);
990
+ A[B] = y[B];
991
+ }), Object.assign(k == null ? void 0 : k.props, A);
992
992
  }
993
993
  }
994
- !r.contents || !Array.isArray(r.contents) || r.contents.forEach((k) => U(k));
994
+ !r.contents || !Array.isArray(r.contents) || r.contents.forEach((k) => q(k));
995
995
  }
996
- function q() {
996
+ function z() {
997
997
  var p, y, v, j;
998
998
  const r = (y = (p = n.value) == null ? void 0 : p.module) == null ? void 0 : y.components;
999
999
  if (!r || r.length < 1)
@@ -1001,7 +1001,7 @@ const ce = /* @__PURE__ */ pe({
1001
1001
  const m = r.find((k) => k.componentType && k.componentType.toLowerCase() === "frame");
1002
1002
  return m ? (m.formCode = (j = (v = n.value) == null ? void 0 : v.module) == null ? void 0 : j.code, m) : null;
1003
1003
  }
1004
- function h(r, m) {
1004
+ function H(r, m) {
1005
1005
  if (Array.isArray(r) && Array.isArray(m)) {
1006
1006
  const p = /* @__PURE__ */ new Map();
1007
1007
  return r.forEach((v) => {
@@ -1009,48 +1009,48 @@ const ce = /* @__PURE__ */ pe({
1009
1009
  }), m.forEach((v) => {
1010
1010
  if (v.id != null) {
1011
1011
  const j = p.get(v.id);
1012
- j ? p.set(v.id, ne(j, v, h)) : p.set(v.id, Y(v));
1012
+ j ? p.set(v.id, ne(j, v, H)) : p.set(v.id, Y(v));
1013
1013
  }
1014
1014
  }), Array.from(p.values());
1015
1015
  }
1016
1016
  }
1017
1017
  Z(() => e.modelValue, (r) => {
1018
- u.value = r;
1019
- const m = q();
1020
- m && U(m);
1018
+ a.value = r;
1019
+ const m = z();
1020
+ m && q(m);
1021
1021
  });
1022
- function H(r) {
1022
+ function _(r) {
1023
1023
  if (r) {
1024
1024
  n.value = r;
1025
- const m = q();
1025
+ const m = z();
1026
1026
  if (!m)
1027
1027
  return;
1028
- W(m);
1028
+ U(m);
1029
1029
  }
1030
1030
  }
1031
1031
  return Z(() => e.schema, (r) => {
1032
- H(r);
1033
- }), H(e.schema), t.expose({
1034
- componentManager: R,
1032
+ _(r);
1033
+ }), _(e.schema), t.expose({
1034
+ componentManager: x,
1035
1035
  rerender: L,
1036
- getProps: G,
1036
+ getProps: w,
1037
1037
  invoke: F,
1038
- setProps: z,
1038
+ setProps: G,
1039
1039
  selectItemById: V,
1040
1040
  getSchema: I,
1041
- setSchema: A,
1042
- convertPartialSchemaToProps: _,
1043
- getControlValue: w
1041
+ setSchema: $,
1042
+ convertPartialSchemaToProps: W,
1043
+ getControlValue: h
1044
1044
  }), () => {
1045
1045
  var p, y;
1046
1046
  const r = (y = (p = n.value) == null ? void 0 : p.module) == null ? void 0 : y.components;
1047
1047
  if (!r || r.length < 1)
1048
1048
  return null;
1049
1049
  const m = r.find((v) => v.componentType && v.componentType.toLowerCase() === "frame");
1050
- return m ? M(m) : null;
1050
+ return m ? D(m) : null;
1051
1051
  };
1052
1052
  }
1053
- }), Hn = {
1053
+ }), eo = {
1054
1054
  install(e) {
1055
1055
  e.component(ce.name, ce);
1056
1056
  }
@@ -1059,9 +1059,9 @@ export {
1059
1059
  ce as FDynamicView,
1060
1060
  i as componentMap,
1061
1061
  s as componentPropsConverter,
1062
- Hn as default,
1063
- St as dynamicViewProps,
1064
- At as loadRegister,
1065
- _n as registerComponent,
1062
+ eo as default,
1063
+ Nt as dynamicViewProps,
1064
+ $t as loadRegister,
1065
+ Wn as registerComponent,
1066
1066
  o as resolverMap
1067
1067
  };