@farris/ui-vue 1.2.5 → 1.2.7

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 (261) hide show
  1. package/components/accordion/index.esm.js +147 -139
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/accordion/package.json +1 -1
  4. package/components/avatar/index.esm.js +122 -131
  5. package/components/avatar/index.umd.cjs +1 -1
  6. package/components/avatar/package.json +1 -1
  7. package/components/border-editor/package.json +1 -1
  8. package/components/button/package.json +1 -1
  9. package/components/button-edit/index.css +1 -0
  10. package/components/button-edit/package.json +1 -1
  11. package/components/button-group/package.json +1 -1
  12. package/components/calculator/package.json +1 -1
  13. package/components/calendar/package.json +1 -1
  14. package/components/capsule/package.json +1 -1
  15. package/components/checkbox/index.esm.js +216 -223
  16. package/components/checkbox/index.umd.cjs +1 -1
  17. package/components/checkbox/package.json +1 -1
  18. package/components/color-picker/package.json +1 -1
  19. package/components/combo-list/index.esm.js +201 -181
  20. package/components/combo-list/index.umd.cjs +1 -1
  21. package/components/combo-list/package.json +1 -1
  22. package/components/combo-tree/index.esm.js +340 -107
  23. package/components/combo-tree/index.umd.cjs +1 -1
  24. package/components/combo-tree/package.json +1 -1
  25. package/components/common/package.json +1 -1
  26. package/components/component/index.esm.js +36 -29
  27. package/components/component/index.umd.cjs +1 -1
  28. package/components/component/package.json +1 -1
  29. package/components/condition/index.esm.js +341 -338
  30. package/components/condition/index.umd.cjs +1 -1
  31. package/components/condition/package.json +1 -1
  32. package/components/content-container/index.esm.js +9 -13
  33. package/components/content-container/index.umd.cjs +1 -1
  34. package/components/content-container/package.json +1 -1
  35. package/components/{tree-grid/style.css → data-grid/index.css} +1 -1
  36. package/components/data-grid/index.esm.js +3415 -3295
  37. package/components/data-grid/index.umd.cjs +1 -1
  38. package/components/data-grid/package.json +1 -1
  39. package/components/data-view/index.esm.js +2719 -2717
  40. package/components/data-view/index.umd.cjs +1 -1
  41. package/components/data-view/package.json +1 -1
  42. package/components/date-picker/index.esm.js +31 -40
  43. package/components/date-picker/index.umd.cjs +1 -1
  44. package/components/date-picker/package.json +1 -1
  45. package/components/designer-canvas/index.esm.js +23 -20
  46. package/components/designer-canvas/index.umd.cjs +1 -1
  47. package/components/designer-canvas/package.json +1 -1
  48. package/components/designer-outline/package.json +1 -1
  49. package/components/designer-toolbox/package.json +1 -1
  50. package/components/discussion-editor/package.json +1 -1
  51. package/components/discussion-list/package.json +1 -1
  52. package/components/drawer/package.json +1 -1
  53. package/components/dropdown/index.esm.js +86 -86
  54. package/components/dropdown/index.umd.cjs +1 -1
  55. package/components/dropdown/package.json +1 -1
  56. package/components/dynamic-form/index.esm.js +578 -584
  57. package/components/dynamic-form/index.umd.cjs +1 -1
  58. package/components/dynamic-form/package.json +1 -1
  59. package/components/dynamic-resolver/index.esm.js +56 -47
  60. package/components/dynamic-resolver/index.umd.cjs +1 -1
  61. package/components/dynamic-resolver/package.json +1 -1
  62. package/components/dynamic-view/index.esm.js +287 -278
  63. package/components/dynamic-view/index.umd.cjs +1 -1
  64. package/components/dynamic-view/package.json +1 -1
  65. package/components/enum-editor/package.json +1 -1
  66. package/components/events-editor/package.json +1 -1
  67. package/components/expression-editor/package.json +1 -1
  68. package/components/external-container/index.css +1 -0
  69. package/components/external-container/index.esm.js +1923 -1908
  70. package/components/external-container/index.umd.cjs +1 -1
  71. package/components/external-container/package.json +1 -1
  72. package/components/field-selector/index.css +1 -0
  73. package/components/field-selector/index.esm.js +3719 -3604
  74. package/components/field-selector/index.umd.cjs +1 -1
  75. package/components/field-selector/package.json +1 -1
  76. package/components/filter-bar/{style.css → index.css} +1 -1
  77. package/components/filter-bar/index.esm.js +483 -470
  78. package/components/filter-bar/index.umd.cjs +1 -1
  79. package/components/filter-bar/package.json +1 -1
  80. package/components/flow-canvas/index.esm.js +37 -34
  81. package/components/flow-canvas/index.umd.cjs +1 -1
  82. package/components/flow-canvas/package.json +1 -1
  83. package/components/image-cropper/package.json +1 -1
  84. package/components/input-group/index.esm.js +258 -267
  85. package/components/input-group/index.umd.cjs +1 -1
  86. package/components/input-group/package.json +1 -1
  87. package/components/layout/package.json +1 -1
  88. package/components/list-nav/package.json +1 -1
  89. package/components/list-view/index.esm.js +1452 -1450
  90. package/components/list-view/index.umd.cjs +1 -1
  91. package/components/list-view/package.json +1 -1
  92. package/components/loading/package.json +1 -1
  93. package/components/locale/package.json +1 -1
  94. package/components/lookup/index.css +1 -0
  95. package/components/lookup/index.esm.js +4860 -4657
  96. package/components/lookup/index.umd.cjs +1 -1
  97. package/components/lookup/package.json +1 -1
  98. package/components/mapping-editor/index.css +1 -0
  99. package/components/mapping-editor/index.esm.js +4411 -4259
  100. package/components/mapping-editor/index.umd.cjs +1 -1
  101. package/components/mapping-editor/package.json +1 -1
  102. package/components/message-box/index.css +1 -0
  103. package/components/message-box/index.esm.js +397 -386
  104. package/components/message-box/index.umd.cjs +1 -1
  105. package/components/message-box/package.json +1 -1
  106. package/components/modal/index.css +1 -0
  107. package/components/modal/index.esm.js +308 -297
  108. package/components/modal/index.umd.cjs +1 -1
  109. package/components/modal/package.json +1 -1
  110. package/components/nav/package.json +1 -1
  111. package/components/notify/package.json +1 -1
  112. package/components/order/index.esm.js +763 -741
  113. package/components/order/index.umd.cjs +1 -1
  114. package/components/order/package.json +1 -1
  115. package/components/page-footer/package.json +1 -1
  116. package/components/page-header/index.esm.js +948 -945
  117. package/components/page-header/index.umd.cjs +1 -1
  118. package/components/page-header/package.json +1 -1
  119. package/components/pagination/package.json +1 -1
  120. package/components/popover/package.json +1 -1
  121. package/components/progress/package.json +1 -1
  122. package/components/property-editor/index.esm.js +485 -466
  123. package/components/property-editor/index.umd.cjs +2 -2
  124. package/components/property-editor/package.json +1 -1
  125. package/components/property-panel/index.esm.js +437 -426
  126. package/components/property-panel/index.umd.cjs +1 -1
  127. package/components/property-panel/package.json +1 -1
  128. package/components/radio-button/package.json +1 -1
  129. package/components/radio-group/index.esm.js +98 -107
  130. package/components/radio-group/index.umd.cjs +1 -1
  131. package/components/radio-group/package.json +1 -1
  132. package/components/rate/package.json +1 -1
  133. package/components/response-layout/package.json +1 -1
  134. package/components/response-layout-editor/{style.css → index.css} +1 -1
  135. package/components/response-layout-editor/index.esm.js +840 -800
  136. package/components/response-layout-editor/index.umd.cjs +1 -1
  137. package/components/response-layout-editor/package.json +1 -1
  138. package/components/response-toolbar/index.esm.js +757 -760
  139. package/components/response-toolbar/index.umd.cjs +1 -1
  140. package/components/response-toolbar/package.json +1 -1
  141. package/components/schema-selector/index.css +1 -0
  142. package/components/schema-selector/index.esm.js +3659 -3432
  143. package/components/schema-selector/index.umd.cjs +8 -1
  144. package/components/schema-selector/package.json +1 -1
  145. package/components/search-box/package.json +1 -1
  146. package/components/section/index.esm.js +21 -14
  147. package/components/section/index.umd.cjs +1 -1
  148. package/components/section/package.json +1 -1
  149. package/components/smoke-detector/package.json +1 -1
  150. package/components/spacing-editor/package.json +1 -1
  151. package/components/splitter/package.json +1 -1
  152. package/components/step/package.json +1 -1
  153. package/components/switch/index.esm.js +126 -135
  154. package/components/switch/index.umd.cjs +1 -1
  155. package/components/switch/package.json +1 -1
  156. package/components/tabs/index.css +1 -0
  157. package/components/tabs/index.esm.js +1400 -1379
  158. package/components/tabs/index.umd.cjs +1 -1
  159. package/components/tabs/package.json +1 -1
  160. package/components/tags/package.json +1 -1
  161. package/components/text/package.json +1 -1
  162. package/components/textarea/index.esm.js +97 -106
  163. package/components/textarea/index.umd.cjs +1 -1
  164. package/components/textarea/package.json +1 -1
  165. package/components/time-picker/index.css +1 -0
  166. package/components/time-picker/index.esm.js +393 -402
  167. package/components/time-picker/index.umd.cjs +1 -1
  168. package/components/time-picker/package.json +1 -1
  169. package/components/tooltip/package.json +1 -1
  170. package/components/transfer/index.esm.js +124 -122
  171. package/components/transfer/index.umd.cjs +1 -1
  172. package/components/transfer/package.json +1 -1
  173. package/components/{data-grid/style.css → tree-grid/index.css} +1 -1
  174. package/components/tree-grid/index.esm.js +3531 -3412
  175. package/components/tree-grid/index.umd.cjs +1 -1
  176. package/components/tree-grid/package.json +1 -1
  177. package/components/tree-view/index.esm.js +2046 -2044
  178. package/components/tree-view/index.umd.cjs +1 -1
  179. package/components/tree-view/package.json +1 -1
  180. package/components/uploader/package.json +1 -1
  181. package/components/verify-detail/package.json +1 -1
  182. package/components/video/package.json +1 -1
  183. package/components/weather/package.json +1 -1
  184. package/farris.all.esm.js +12370 -11917
  185. package/farris.all.umd.cjs +9 -9
  186. package/index.css +1 -0
  187. package/package.json +2 -2
  188. package/types/combo-list/src/components/list-container.component.d.ts +6 -0
  189. package/types/combo-list/src/components/list-container.props.d.ts +9 -1
  190. package/types/combo-tree/src/combo-tree.props.d.ts +4 -0
  191. package/types/combo-tree/src/components/tree-container.component.d.ts +13 -3
  192. package/types/combo-tree/src/components/tree-container.props.d.ts +15 -1
  193. package/types/combo-tree/src/schema/schema-mapper.d.ts +2 -0
  194. package/types/combo-tree/src/schema/schema-resolver.d.ts +2 -0
  195. package/types/components.d.ts +1 -0
  196. package/types/data-grid/index.d.ts +5 -5
  197. package/types/data-grid/src/data-grid.component.d.ts +2 -2
  198. package/types/data-grid/src/data-grid.props.d.ts +1 -0
  199. package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
  200. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +1 -1
  201. package/types/designer-canvas/src/composition/dg-control.d.ts +8 -8
  202. package/types/designer-canvas/src/composition/types.d.ts +1 -0
  203. package/types/dynamic-form/src/types.d.ts +1 -1
  204. package/types/dynamic-resolver/index.d.ts +1 -0
  205. package/types/dynamic-resolver/src/converter/pagination.converter.d.ts +6 -0
  206. package/types/dynamic-resolver/src/visible-prop-resolver.d.ts +3 -0
  207. package/types/lookup/src/designer/use-lookup-rules.d.ts +3 -0
  208. package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +7 -3
  209. package/types/lookup/src/property-config/lookup.property-config.d.ts +31 -27
  210. package/types/mapping-editor/src/mapping-editor.props.d.ts +8 -0
  211. package/types/modal/src/modal.component.d.ts +3 -3
  212. package/types/modal/src/modal.props.d.ts +3 -5
  213. package/types/page-header/src/page-header.props.d.ts +7 -0
  214. package/types/page-header/src/property-config/page-header.property-config.d.ts +1 -1
  215. package/types/property-panel/src/composition/entity/base-property.d.ts +2 -16
  216. package/types/property-panel/src/composition/entity/input-base-property.d.ts +21 -0
  217. package/types/response-toolbar/index.d.ts +9 -3
  218. package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -1
  219. package/types/response-toolbar/src/property-config/response-toolbar.property-config.d.ts +1 -1
  220. package/types/response-toolbar/src/response-toolbar.component.d.ts +4 -2
  221. package/types/response-toolbar/src/response-toolbar.props.d.ts +9 -2
  222. package/types/schema-selector/src/composition/types.d.ts +3 -1
  223. package/types/schema-selector/src/schema-selector-editor.component.d.ts +5 -1
  224. package/types/tabs/src/designer/tab-toolbar.design.component.d.ts +1 -1
  225. package/types/tabs/src/tabs.props.d.ts +8 -0
  226. package/components/button-edit/style.css +0 -1
  227. package/components/external-container/style.css +0 -1
  228. package/components/field-selector/style.css +0 -1
  229. package/components/lookup/style.css +0 -1
  230. package/components/mapping-editor/style.css +0 -1
  231. package/components/message-box/style.css +0 -1
  232. package/components/modal/style.css +0 -1
  233. package/components/schema-selector/style.css +0 -1
  234. package/components/tabs/style.css +0 -1
  235. package/components/time-picker/style.css +0 -1
  236. package/style.css +0 -1
  237. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +0 -19
  238. /package/components/border-editor/{style.css → index.css} +0 -0
  239. /package/components/checkbox/{style.css → index.css} +0 -0
  240. /package/components/date-picker/{style.css → index.css} +0 -0
  241. /package/components/designer-canvas/{style.css → index.css} +0 -0
  242. /package/components/designer-outline/{style.css → index.css} +0 -0
  243. /package/components/designer-toolbox/{style.css → index.css} +0 -0
  244. /package/components/discussion-editor/{style.css → index.css} +0 -0
  245. /package/components/discussion-list/{style.css → index.css} +0 -0
  246. /package/components/drawer/{style.css → index.css} +0 -0
  247. /package/components/events-editor/{style.css → index.css} +0 -0
  248. /package/components/flow-canvas/{style.css → index.css} +0 -0
  249. /package/components/list-view/{style.css → index.css} +0 -0
  250. /package/components/order/{style.css → index.css} +0 -0
  251. /package/components/property-editor/{style.css → index.css} +0 -0
  252. /package/components/property-panel/{style.css → index.css} +0 -0
  253. /package/components/radio-button/{style.css → index.css} +0 -0
  254. /package/components/radio-group/{style.css → index.css} +0 -0
  255. /package/components/smoke-detector/{style.css → index.css} +0 -0
  256. /package/components/spacing-editor/{style.css → index.css} +0 -0
  257. /package/components/splitter/{style.css → index.css} +0 -0
  258. /package/components/switch/{style.css → index.css} +0 -0
  259. /package/components/transfer/{style.css → index.css} +0 -0
  260. /package/components/uploader/{style.css → index.css} +0 -0
  261. /package/components/weather/{style.css → index.css} +0 -0
@@ -1,24 +1,24 @@
1
1
  var Kt = Object.defineProperty;
2
2
  var Jt = (e, n, t) => n in e ? Kt(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
- var L = (e, n, t) => Jt(e, typeof n != "symbol" ? n + "" : n, t);
4
- import { ref as y, defineComponent as q, watch as N, computed as V, createVNode as S, inject as Z, onMounted as G, nextTick as Ie, reactive as en, withDirectives as ve, resolveDirective as tn, Fragment as me, vModelText as Oe } from "vue";
3
+ var j = (e, n, t) => Jt(e, typeof n != "symbol" ? n + "" : n, t);
4
+ import { ref as y, defineComponent as q, watch as N, computed as V, createVNode as S, inject as Z, onMounted as G, nextTick as Ie, reactive as en, withDirectives as ve, resolveDirective as tn, Fragment as ye, vModelText as Oe } from "vue";
5
5
  import { cloneDeep as F } from "lodash-es";
6
6
  import nn from "@farris/ui-vue/components/list-view";
7
7
  import _e from "@farris/ui-vue/components/button-edit";
8
8
  import { useDesignerComponent as on } from "@farris/ui-vue/components/designer-canvas/src/composition/function/use-designer-component";
9
- import j from "bignumber.js";
9
+ import L from "bignumber.js";
10
10
  import { useNumber as rn, useFormat as an, useSpinner as ln, useTextBox as un } from "@farris/ui-vue/components/number-spinner";
11
11
  const He = {}, Ge = {};
12
12
  function ge(e) {
13
13
  const { properties: n, title: t } = e, o = Object.keys(n).reduce((r, a) => (r[a] = n[a].type === "object" && n[a].properties ? ge(n[a]) : F(n[a].default), r), {});
14
14
  return o.id = `${t}-${Date.now()}`, o;
15
15
  }
16
- function ye(e, n = {}) {
16
+ function me(e, n = {}) {
17
17
  const t = He[e];
18
18
  if (t) {
19
19
  let o = ge(t);
20
20
  const r = Ge[e];
21
- return o = r ? r({ getSchemaByType: ye }, o, n) : o, o;
21
+ return o = r ? r({ getSchemaByType: me }, o, n) : o, o;
22
22
  }
23
23
  return null;
24
24
  }
@@ -46,65 +46,65 @@ function dn(e, n, t = /* @__PURE__ */ new Map()) {
46
46
  return cn(o, t);
47
47
  }
48
48
  function pn(e = {}) {
49
- function n(i, c, s, f) {
50
- if (typeof s == "number")
51
- return f[i].length === s;
52
- if (typeof s == "object") {
53
- const p = Object.keys(s)[0], v = s[p];
54
- if (p === "not")
49
+ function n(i, d, c, f) {
50
+ if (typeof c == "number")
51
+ return f[i].length === c;
52
+ if (typeof c == "object") {
53
+ const s = Object.keys(c)[0], v = c[s];
54
+ if (s === "not")
55
55
  return Number(f[i].length) !== Number(v);
56
- if (p === "moreThan")
56
+ if (s === "moreThan")
57
57
  return Number(f[i].length) >= Number(v);
58
- if (p === "lessThan")
58
+ if (s === "lessThan")
59
59
  return Number(f[i].length) <= Number(v);
60
60
  }
61
61
  return !1;
62
62
  }
63
- function t(i, c, s, f) {
64
- return f[i] && f[i].propertyValue && String(f[i].propertyValue.value) === String(s);
63
+ function t(i, d, c, f) {
64
+ return f[i] && f[i].propertyValue && String(f[i].propertyValue.value) === String(c);
65
65
  }
66
66
  const o = /* @__PURE__ */ new Map([
67
67
  ["length", n],
68
68
  ["getProperty", t]
69
69
  ]);
70
- Object.keys(e).reduce((i, c) => (i.set(c, e[c]), i), o);
71
- function r(i, c) {
72
- const s = i;
73
- return typeof c == "number" ? [{ target: s, operator: "length", param: null, value: Number(c) }] : typeof c == "boolean" ? [{ target: s, operator: "getProperty", param: i, value: !!c }] : typeof c == "object" ? Object.keys(c).map((f) => {
70
+ Object.keys(e).reduce((i, d) => (i.set(d, e[d]), i), o);
71
+ function r(i, d) {
72
+ const c = i;
73
+ return typeof d == "number" ? [{ target: c, operator: "length", param: null, value: Number(d) }] : typeof d == "boolean" ? [{ target: c, operator: "getProperty", param: i, value: !!d }] : typeof d == "object" ? Object.keys(d).map((f) => {
74
74
  if (f === "length")
75
- return { target: s, operator: "length", param: null, value: c[f] };
76
- const p = f, v = c[f];
77
- return { target: s, operator: "getProperty", param: p, value: v };
75
+ return { target: c, operator: "length", param: null, value: d[f] };
76
+ const s = f, v = d[f];
77
+ return { target: c, operator: "getProperty", param: s, value: v };
78
78
  }) : [];
79
79
  }
80
80
  function a(i) {
81
- return Object.keys(i).reduce((s, f) => {
82
- const p = r(f, i[f]);
83
- return s.push(...p), s;
81
+ return Object.keys(i).reduce((c, f) => {
82
+ const s = r(f, i[f]);
83
+ return c.push(...s), c;
84
84
  }, []);
85
85
  }
86
- function l(i, c) {
86
+ function l(i, d) {
87
87
  if (o.has(i.operator)) {
88
- const s = o.get(i.operator);
89
- return s && s(i.target, i.param, i.value, c) || !1;
88
+ const c = o.get(i.operator);
89
+ return c && c(i.target, i.param, i.value, d) || !1;
90
90
  }
91
91
  return !1;
92
92
  }
93
- function u(i, c) {
94
- return a(i).reduce((p, v) => p && l(v, c), !0);
93
+ function u(i, d) {
94
+ return a(i).reduce((s, v) => s && l(v, d), !0);
95
95
  }
96
- function d(i, c) {
97
- const s = Object.keys(i), f = s.includes("allOf"), p = s.includes("anyOf"), v = f || p, x = (v ? i[v ? f ? "allOf" : "anyOf" : "allOf"] : [i]).map((E) => u(E, c));
96
+ function p(i, d) {
97
+ const c = Object.keys(i), f = c.includes("allOf"), s = c.includes("anyOf"), v = f || s, x = (v ? i[v ? f ? "allOf" : "anyOf" : "allOf"] : [i]).map((E) => u(E, d));
98
98
  return f ? !x.includes(!1) : x.includes(!0);
99
99
  }
100
- return { parseValueSchema: d };
100
+ return { parseValueSchema: p };
101
101
  }
102
102
  const g = {
103
103
  Button: { type: "Button", name: "按钮", icon: "Button" },
104
104
  ButtonGroup: { type: "ButtonGroup", name: "按钮组", icon: "ButtonGroup" },
105
- ToolBar: { type: "ToolBar", name: "工具栏", icon: "ButtonGroup" },
106
- ToolBarItem: { type: "ToolBarItem", name: "工具栏项", icon: "Button" },
107
- ContentContainer: { type: "ContentContainer", name: "容器", icon: "ContentContainer" },
105
+ "response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
106
+ "response-toolbar-item": { type: "response-toolbar-item", name: "工具栏项", icon: "Button" },
107
+ "content-container": { type: "content-container", name: "容器", icon: "ContentContainer" },
108
108
  DisplayField: { type: "DisplayField", name: "标签", icon: "DisplayField" },
109
109
  "input-group": { type: "input-group", name: "文本", icon: "TextBox" },
110
110
  textarea: { type: "textarea", name: "多行文本", icon: "MultiTextBox" },
@@ -131,15 +131,15 @@ const g = {
131
131
  "data-grid-column": { type: "data-grid-column", name: "表格列" },
132
132
  Panel: { type: "Panel", name: "面板", icon: "ContentContainer" },
133
133
  Module: { type: "Module", name: "模块", icon: "Module" },
134
- Component: { type: "Component", name: "组件", icon: "Component" },
134
+ component: { type: "component", name: "组件", icon: "Component" },
135
135
  ExternalContainer: { type: "ExternalContainer", name: "外部容器", icon: "ContentContainer" },
136
136
  Image: { type: "Image", name: "图像", icon: "Image" },
137
137
  ImageUpload: { type: "ImageUpload", name: "图片上传", icon: "imageupload" },
138
138
  HiddenContainer: { type: "HiddenContainer", name: "隐藏区域", icon: "ContentContainer" },
139
139
  ModalContainer: { type: "ModalContainer", name: "弹窗容器", icon: "ContentContainer" },
140
140
  RouteContainer: { type: "RouteContainer", name: "路由区域", icon: "ContentContainer" },
141
- Tab: { type: "Tab", name: "标签页", icon: "Tab" },
142
- TabPage: { type: "TabPage", name: "标签页项", dependentParentControl: "Tab" },
141
+ tabs: { type: "tabs", name: "标签页", icon: "Tab" },
142
+ "tab-page": { type: "tab-page", name: "标签页项", dependentParentControl: "Tab" },
143
143
  "tab-toolbar-item": { type: "tab-toolbar-item", name: "标签页工具栏按钮", icon: "Button" },
144
144
  Tag: { type: "Tag", name: "Tag", icon: "Tag" },
145
145
  Sidebar: { type: "Sidebar", name: "侧边栏", icon: "Sidebar" },
@@ -148,7 +148,7 @@ const g = {
148
148
  RichTextBox: { type: "RichTextBox", name: "富文本", icon: "RichTextBox" },
149
149
  TimeSpinner: { type: "TimeSpinner", name: "时间调节器", icon: "TimePicker" },
150
150
  TimePicker: { type: "TimePicker", name: "时间选择", icon: "TimePicker" },
151
- Section: { type: "Section", name: "分组面板", icon: "Section" },
151
+ section: { type: "section", name: "分组面板", icon: "Section" },
152
152
  SectionToolbar: { type: "SectionToolbar", name: "分组面板工具栏" },
153
153
  SectionToolbarItem: { type: "SectionToolbarItem", name: "分组面板按钮" },
154
154
  QueryScheme: { type: "QueryScheme", name: "筛选方案", icon: "QueryScheme" },
@@ -178,7 +178,7 @@ const g = {
178
178
  NavTab: { type: "NavTab", name: "标签类导航", icon: "NavTab" },
179
179
  Tags: { type: "Tags", name: "标记组", icon: "Tags" },
180
180
  Portlet: { type: "Portlet", name: "小部件", icon: "dingzhi" },
181
- Header: { type: "Header", name: "页头", icon: "Header" },
181
+ "page-header": { type: "page-header", name: "页头", icon: "Header" },
182
182
  ModalFooter: { type: "ModalFooter", name: "弹窗页脚", icon: "ModalFooter" },
183
183
  ScrollCollapsibleArea: { type: "ScrollCollapsibleArea", name: "滚动收折区域", icon: "ScrollCollapsibleArea" },
184
184
  PersonnelSelector: { type: "PersonnelSelector", name: "人员选择", icon: "PersonnelSelector" },
@@ -212,19 +212,19 @@ const g = {
212
212
  /** 审批类 end */
213
213
  }, fn = {}, vn = {};
214
214
  pn();
215
- function ue(e, n, t = /* @__PURE__ */ new Map(), o = (l, u, d) => u, r = {}, a = (l) => l) {
215
+ function ue(e, n, t = /* @__PURE__ */ new Map(), o = (l, u, p) => u, r = {}, a = (l) => l) {
216
216
  return He[n.title] = n, Ge[n.title] = o, fn[n.title] = r, vn[n.title] = a, (l = {}) => {
217
- const u = dn(l, n, t), d = Object.keys(e).reduce((i, c) => (i[c] = e[c].default, i), {});
218
- return Object.assign(d, u);
217
+ const u = dn(l, n, t), p = Object.keys(e).reduce((i, d) => (i[d] = e[d].default, i), {});
218
+ return Object.assign(p, u);
219
219
  };
220
220
  }
221
221
  function se(e, n) {
222
222
  return { customClass: n.class, customStyle: n.style };
223
223
  }
224
- const mn = /* @__PURE__ */ new Map([
224
+ const yn = /* @__PURE__ */ new Map([
225
225
  ["appearance", se]
226
226
  ]);
227
- function yn(e, n, t) {
227
+ function mn(e, n, t) {
228
228
  return n;
229
229
  }
230
230
  const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-design.gitee.io/property-editor.schema.json", gn = "property-editor", Sn = "A Farris Component", Cn = "object", wn = {
@@ -327,7 +327,7 @@ const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-
327
327
  description: Bn,
328
328
  type: Fn,
329
329
  categories: Mn
330
- }, qe = {}, En = ue(qe, Vn, mn, yn, Pn), k = y({
330
+ }, qe = {}, En = ue(qe, Vn, yn, mn, Pn), k = y({
331
331
  /** 常量值 */
332
332
  constValue: {
333
333
  /** 值类型:常量(const), 变量(variable), 状态机(state), 自定义(custom) */
@@ -517,7 +517,7 @@ const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-
517
517
  hasPrefix: 2
518
518
  }, Nn = /* @__PURE__ */ new Map([
519
519
  ["appearance", se]
520
- ]), In = "https://json-schema.org/draft/2020-12/schema", On = "https://farris-design.gitee.io/combo-list.schema.json", Dn = "combo-list", Ln = "A Farris Input Component", jn = "object", $n = {
520
+ ]), In = "https://json-schema.org/draft/2020-12/schema", On = "https://farris-design.gitee.io/combo-list.schema.json", Dn = "combo-list", jn = "A Farris Input Component", Ln = "object", $n = {
521
521
  id: {
522
522
  description: "The unique identifier for a combo list",
523
523
  type: "string"
@@ -572,7 +572,7 @@ const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-
572
572
  valueField: {
573
573
  description: "",
574
574
  type: "string",
575
- default: "id"
575
+ default: "value"
576
576
  },
577
577
  titleField: {
578
578
  description: "",
@@ -635,8 +635,8 @@ const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-
635
635
  $schema: In,
636
636
  $id: On,
637
637
  title: Dn,
638
- description: Ln,
639
- type: jn,
638
+ description: jn,
639
+ type: Ln,
640
640
  properties: $n,
641
641
  required: Un
642
642
  };
@@ -802,7 +802,13 @@ const Se = {
802
802
  /**
803
803
  * 打开前
804
804
  */
805
- beforeOpen: { type: Function, default: null }
805
+ beforeOpen: { type: Function, default: null },
806
+ searchOption: {
807
+ type: Object,
808
+ default: !1
809
+ },
810
+ // 搜索启用高亮
811
+ enableHighlightSearch: { type: Boolean, default: !0 }
806
812
  }, ze = ue(Se, Rn, Nn, _n), Hn = {
807
813
  dataSource: { type: Array, default: [] },
808
814
  enableSearch: { type: Boolean, default: !1 },
@@ -817,71 +823,93 @@ const Se = {
817
823
  valueField: { type: String, default: "id" },
818
824
  /** 值变化事件 */
819
825
  onSelectionChange: { type: Function, default: () => {
820
- } }
826
+ } },
827
+ searchOption: {
828
+ type: Object,
829
+ default: !1
830
+ },
831
+ // 搜索启用高亮
832
+ enableHighlightSearch: { type: Boolean, default: !0 }
821
833
  }, Gn = /* @__PURE__ */ q({
822
834
  name: "FComboListContainer",
823
835
  props: Hn,
824
836
  emits: ["selectionChange"],
825
837
  setup(e, n) {
826
- const t = y(e.dataSource), o = y([]), r = y(e.separator), a = y(e.width), l = y(e.maxHeight), u = y(String(e.selectedValues).split(r.value));
838
+ const t = y(), o = y(e.dataSource), r = y([]), a = y(e.separator), l = y(e.width), u = y(e.maxHeight), p = y(String(e.selectedValues).split(a.value));
827
839
  N(e.dataSource, () => {
828
- t.value = e.dataSource;
840
+ o.value = e.dataSource;
829
841
  });
830
- const d = V(() => e.enableSearch ? "SearchBar" : "ContentHeader"), i = V(() => {
842
+ const i = V(() => e.enableSearch ? "SearchBar" : "ContentHeader"), d = V(() => {
831
843
  const s = {};
832
- return a.value !== void 0 && (s.width = `${a.value}px`), l.value !== void 0 && l.value > 0 && (s.maxHeight = `${l.value}px`), s;
844
+ return l.value !== void 0 && (s.width = `${l.value}px`), u.value !== void 0 && u.value > 0 && (s.maxHeight = `${u.value}px`), s;
833
845
  });
834
846
  function c(s) {
835
- o.value = s.map((f) => Object.assign({}, f)), u.value = s.map((f) => f[e.idField]), n.emit("selectionChange", o.value);
847
+ r.value = s.map((v) => Object.assign({}, v)), p.value = s.map((v) => v[e.idField]), n.emit("selectionChange", r.value);
848
+ }
849
+ function f(s) {
850
+ if (e.enableHighlightSearch)
851
+ return;
852
+ let v = [];
853
+ typeof e.searchOption == "function" ? v = o.value.filter((h) => e.searchOption(s, h)) : v = o.value.filter((h) => h[e.valueField].indexOf(s) > -1 || h[e.textField].indexOf(s) > -1), t.value.updateDataSource(v);
836
854
  }
837
855
  return N([() => e.selectedValues], ([s]) => {
838
- u.value = s.split(r.value);
856
+ p.value = s.split(a.value);
839
857
  }), () => S("div", {
840
858
  class: "f-combo-list-container pl-3",
841
- style: i.value
859
+ style: d.value
842
860
  }, [S(nn, {
861
+ ref: t,
843
862
  size: "small",
844
863
  itemClass: "f-combo-list-item",
845
- header: d.value,
864
+ header: i.value,
846
865
  headerClass: "f-combo-list-search-box",
847
- data: t.value,
866
+ data: o.value,
848
867
  idField: e.idField,
849
868
  textField: e.textField,
850
869
  titleField: e.titleField,
851
870
  multiSelect: e.multiSelect,
852
- multiSelectMode: "OnCheckAndClick",
853
- selectionValues: u.value,
854
- onSelectionChange: c
871
+ selection: {
872
+ enableSelectRow: !0,
873
+ multiSelect: !0,
874
+ multiSelectMode: "OnCheckAndClick",
875
+ showCheckbox: !0,
876
+ showSelectAll: !1,
877
+ showSelection: !0
878
+ },
879
+ enableHighlightSearch: e.enableHighlightSearch,
880
+ selectionValues: p.value,
881
+ onSelectionChange: c,
882
+ onAfterSearch: f
855
883
  }, null)]);
856
884
  }
857
885
  });
858
886
  function qn(e) {
859
887
  const n = y(""), t = y(e.modelValue), o = y(e.data || []), r = y(e.editable);
860
- function a(s) {
861
- const f = String(s).split(e.separator).map((v) => [v, !0]), p = new Map(f);
862
- return o.value.filter((v) => p.has(String(v[e.valueField])));
888
+ function a(c) {
889
+ const f = String(c).split(e.separator).map((v) => [v, !0]), s = new Map(f);
890
+ return o.value.filter((v) => s.has(String(v[e.valueField])));
863
891
  }
864
- function l(s) {
865
- const f = a(s).map((p) => p[e.textField]).join(e.separator);
866
- n.value = r.value ? f || s : f;
892
+ function l(c) {
893
+ const f = a(c).map((s) => s[e.textField]).join(e.separator);
894
+ n.value = r.value ? f || c : f;
867
895
  }
868
- function u(s) {
869
- const f = s.split(e.separator).map((v) => [v, !0]), p = new Map(f);
870
- return o.value.filter((v) => p.has(v[e.textField]));
896
+ function u(c) {
897
+ const f = c.split(e.separator).map((v) => [v, !0]), s = new Map(f);
898
+ return o.value.filter((v) => s.has(v[e.textField]));
871
899
  }
872
- function d(s) {
900
+ function p(c) {
873
901
  const f = {};
874
- return f[e.idField] = s, f[e.textField] = s, [f];
902
+ return f[e.idField] = c, f[e.textField] = c, [f];
875
903
  }
876
- function i(s) {
877
- let f = u(s);
878
- const p = f && f.length > 0;
879
- return r.value && !p && (f = d(s)), f;
904
+ function i(c) {
905
+ let f = u(c);
906
+ const s = f && f.length > 0;
907
+ return r.value && !s && (f = p(c)), f;
880
908
  }
881
- function c() {
882
- const { url: s, method: f = "GET", headers: p = {}, body: v = null } = e.remote, h = f.toLowerCase() == "get" ? { method: f, headers: p } : { method: f, headers: p, body: v };
909
+ function d() {
910
+ const { url: c, method: f = "GET", headers: s = {}, body: v = null } = e.remote, h = f.toLowerCase() == "get" ? { method: f, headers: s } : { method: f, headers: s, body: v };
883
911
  let C = !1;
884
- fetch(s, h).then((x) => {
912
+ fetch(c, h).then((x) => {
885
913
  var E, w;
886
914
  if (x.status === 200)
887
915
  return C = !!((w = (E = x.headers) == null ? void 0 : E.get("content-type")) != null && w.includes("application/json")), C ? x.text() : x.json();
@@ -892,15 +920,15 @@ function qn(e) {
892
920
  console.error(x);
893
921
  });
894
922
  }
895
- return e.remote && c(), N(() => e.data, () => {
923
+ return e.remote && d(), N(() => e.data, () => {
896
924
  o.value = e.data;
897
- }), N([o], ([s]) => {
925
+ }), N([o], ([c]) => {
898
926
  if (e.modelValue) {
899
- const f = s.find((p) => p[e.valueField] === e.modelValue);
927
+ const f = c.find((s) => s[e.valueField] === e.modelValue);
900
928
  f && (n.value = f[e.textField]);
901
929
  }
902
- }), N(() => e.modelValue, (s) => {
903
- t.value = s, l(s);
930
+ }), N(() => e.modelValue, (c) => {
931
+ t.value = c, l(c);
904
932
  }), l(e.modelValue), { dataSource: o, displayText: n, editable: r, modelValue: t, getItemsByDisplayText: u, getItemsByValue: a, getSelectedItemsByDisplayText: i };
905
933
  }
906
934
  const H = /* @__PURE__ */ q({
@@ -910,29 +938,29 @@ const H = /* @__PURE__ */ q({
910
938
  setup(e, n) {
911
939
  const t = y(), o = y(e.disabled), r = y(e.enableClear), a = y(e.enableSearch), l = y(e.readonly), {
912
940
  dataSource: u,
913
- displayText: d,
941
+ displayText: p,
914
942
  editable: i,
915
- modelValue: c,
916
- getSelectedItemsByDisplayText: s
917
- } = qn(e), f = V(() => e.multiSelect), p = V(() => t.value ? t.value.elementRef.getBoundingClientRect().width : 0);
943
+ modelValue: d,
944
+ getSelectedItemsByDisplayText: c
945
+ } = qn(e), f = V(() => e.multiSelect), s = V(() => t.value ? t.value.elementRef.getBoundingClientRect().width : 0);
918
946
  function v() {
919
947
  !f.value && t.value && t.value.hidePopup();
920
948
  }
921
949
  function h(B) {
922
- d.value = B.map((b) => b[e.textField]).join(e.separator), B.length === 1 ? c.value = B[0][e.valueField] : c.value = B.map((b) => b[e.valueField]).join(e.separator), n.emit("update:modelValue", c.value), n.emit("change", B, c.value), v();
950
+ p.value = B.map((b) => b[e.textField]).join(e.separator), B.length === 1 ? d.value = B[0][e.valueField] : d.value = B.map((b) => b[e.valueField]).join(e.separator), n.emit("update:modelValue", d.value), n.emit("change", B, d.value), v();
923
951
  }
924
952
  function C() {
925
953
  l.value || t.value.togglePopup();
926
954
  }
927
955
  function x(B) {
928
- c.value = "", n.emit("update:modelValue", ""), n.emit("clear");
956
+ d.value = "", n.emit("update:modelValue", ""), n.emit("clear");
929
957
  }
930
958
  function A(B) {
931
- const b = s(B);
959
+ const b = c(B);
932
960
  h(b);
933
961
  }
934
962
  function E() {
935
- return d.value;
963
+ return p.value;
936
964
  }
937
965
  function w(B) {
938
966
  n.emit("input", B);
@@ -956,8 +984,8 @@ const H = /* @__PURE__ */ q({
956
984
  enableTitle: e.enableTitle,
957
985
  multiSelect: e.multiSelect,
958
986
  inputType: e.multiSelect ? e.viewType : "text",
959
- modelValue: d.value,
960
- "onUpdate:modelValue": (B) => d.value = B,
987
+ modelValue: p.value,
988
+ "onUpdate:modelValue": (B) => p.value = B,
961
989
  focusOnCreated: e.focusOnCreated,
962
990
  selectOnCreated: e.selectOnCreated,
963
991
  onClear: x,
@@ -972,11 +1000,12 @@ const H = /* @__PURE__ */ q({
972
1000
  textField: e.textField,
973
1001
  titleField: e.titleField,
974
1002
  dataSource: u.value,
975
- selectedValues: c.value,
1003
+ selectedValues: d.value,
976
1004
  multiSelect: e.multiSelect,
977
1005
  enableSearch: a.value,
978
1006
  maxHeight: e.maxHeight,
979
- width: e.fitEditor ? p.value : void 0,
1007
+ enableHighlightSearch: e.enableHighlightSearch,
1008
+ width: e.fitEditor ? s.value : void 0,
980
1009
  onSelectionChange: h
981
1010
  }, null)]
982
1011
  });
@@ -985,7 +1014,7 @@ const H = /* @__PURE__ */ q({
985
1014
  function Ce(e, n) {
986
1015
  e.schema;
987
1016
  const t = y(!0), o = y(!0);
988
- function r(s) {
1017
+ function r(c) {
989
1018
  return !1;
990
1019
  }
991
1020
  function a() {
@@ -997,11 +1026,11 @@ function Ce(e, n) {
997
1026
  function u() {
998
1027
  return !0;
999
1028
  }
1000
- function d(s) {
1029
+ function p(c) {
1001
1030
  }
1002
1031
  function i() {
1003
1032
  }
1004
- function c(s) {
1033
+ function d(c) {
1005
1034
  return null;
1006
1035
  }
1007
1036
  return {
@@ -1009,22 +1038,23 @@ function Ce(e, n) {
1009
1038
  checkCanDeleteComponent: a,
1010
1039
  checkCanMoveComponent: l,
1011
1040
  hideNestedPaddingInDesginerView: u,
1012
- onAcceptMovedChildElement: d,
1041
+ onAcceptMovedChildElement: p,
1013
1042
  resolveComponentContext: i,
1014
1043
  triggerBelongedComponentToMoveWhenMoved: t,
1015
1044
  triggerBelongedComponentToDeleteWhenDeleted: o,
1016
- getPropsConfig: c
1045
+ getPropsConfig: d
1017
1046
  };
1018
1047
  }
1019
1048
  class We {
1020
1049
  static getEditorTypesByMDataType(n) {
1021
- return this.fieldControlTypeMapping[n];
1050
+ const t = this.fieldControlTypeMapping[n];
1051
+ return t || [{ key: "", value: "" }];
1022
1052
  }
1023
1053
  }
1024
1054
  /**
1025
1055
  * <字段类型,可配置的控件类型列表>的映射
1026
1056
  */
1027
- L(We, "fieldControlTypeMapping", {
1057
+ j(We, "fieldControlTypeMapping", {
1028
1058
  String: [
1029
1059
  { key: g["input-group"].type, value: g["input-group"].name },
1030
1060
  { key: g.lookup.type, value: g.lookup.name },
@@ -1081,22 +1111,27 @@ L(We, "fieldControlTypeMapping", {
1081
1111
  });
1082
1112
  class zn {
1083
1113
  constructor(n, t) {
1084
- L(this, "componentId");
1085
- L(this, "viewModelId");
1086
- L(this, "eventsEditorUtils");
1087
- L(this, "formSchemaUtils");
1088
- L(this, "formMetadataConverter");
1089
- L(this, "designViewModelUtils");
1090
- L(this, "designViewModelField");
1091
- L(this, "controlCreatorUtils");
1092
- L(this, "designerHostService");
1093
- L(this, "metadataService", null);
1094
- L(this, "propertyConfig", {
1114
+ j(this, "componentId");
1115
+ j(this, "viewModelId");
1116
+ j(this, "eventsEditorUtils");
1117
+ j(this, "formSchemaUtils");
1118
+ j(this, "formMetadataConverter");
1119
+ j(this, "designViewModelUtils");
1120
+ j(this, "designViewModelField");
1121
+ j(this, "controlCreatorUtils");
1122
+ j(this, "designerHostService");
1123
+ j(this, "schemaService", null);
1124
+ j(this, "metadataService", null);
1125
+ j(this, "propertyConfig", {
1095
1126
  type: "object",
1096
1127
  categories: {}
1097
1128
  });
1098
1129
  var o;
1099
- this.componentId = n, this.designerHostService = t, this.eventsEditorUtils = t.eventsEditorUtils, this.formSchemaUtils = t.formSchemaUtils, this.formMetadataConverter = t.formMetadataConverter, this.viewModelId = ((o = this.formSchemaUtils) == null ? void 0 : o.getViewModelIdByComponentId(n)) || "", this.designViewModelUtils = t.designViewModelUtils, this.controlCreatorUtils = t.controlCreatorUtils, this.metadataService = t.metadataService;
1130
+ this.componentId = n, this.designerHostService = t, this.eventsEditorUtils = t.eventsEditorUtils, this.formSchemaUtils = t.formSchemaUtils, this.formMetadataConverter = t.formMetadataConverter, this.viewModelId = ((o = this.formSchemaUtils) == null ? void 0 : o.getViewModelIdByComponentId(n)) || "", this.designViewModelUtils = t.designViewModelUtils, this.controlCreatorUtils = t.controlCreatorUtils, this.metadataService = t.metadataService, this.schemaService = t.schemaService;
1131
+ }
1132
+ getTableInfo() {
1133
+ var n;
1134
+ return (n = this.schemaService) == null ? void 0 : n.getTableInfoByViewModelId(this.viewModelId);
1100
1135
  }
1101
1136
  setDesignViewModelField(n) {
1102
1137
  const t = n.binding && n.binding.type === "Form" && n.binding.field;
@@ -1111,6 +1146,7 @@ class zn {
1111
1146
  changeFieldEditorType(n, t) {
1112
1147
  }
1113
1148
  getBasicPropConfig(n) {
1149
+ var o, r;
1114
1150
  var t = this;
1115
1151
  return this.setDesignViewModelField(n), {
1116
1152
  description: "Basic Information",
@@ -1132,7 +1168,8 @@ class zn {
1132
1168
  type: "combo-list",
1133
1169
  textField: "value",
1134
1170
  valueField: "key",
1135
- data: We.getEditorTypesByMDataType(t.designViewModelField.type.name)
1171
+ data: We.getEditorTypesByMDataType(((r = (o = t.designViewModelField) == null ? void 0 : o.type) == null ? void 0 : r.name) || ""),
1172
+ editable: !1
1136
1173
  }
1137
1174
  },
1138
1175
  label: {
@@ -1141,11 +1178,11 @@ class zn {
1141
1178
  $converter: "/converter/form-group-label.converter"
1142
1179
  }
1143
1180
  },
1144
- setPropertyRelates(o, r) {
1145
- if (o)
1146
- switch (o && o.propertyID) {
1181
+ setPropertyRelates(a, l) {
1182
+ if (a)
1183
+ switch (a && a.propertyID) {
1147
1184
  case "type": {
1148
- t.changeControlType(n, o);
1185
+ t.changeControlType(n, a);
1149
1186
  break;
1150
1187
  }
1151
1188
  }
@@ -1158,13 +1195,13 @@ class zn {
1158
1195
  * @param newControlType 新控件类型
1159
1196
  */
1160
1197
  changeControlType(n, t) {
1161
- var i, c, s, f, p;
1198
+ var i, d, c, f, s;
1162
1199
  const o = t.propertyValue, r = this.formSchemaUtils.getComponentById(this.componentId);
1163
1200
  let a = this.getControlParentContainer(n.id, r);
1164
1201
  if (!a)
1165
1202
  return;
1166
1203
  const l = a.contents.findIndex((v) => v.id === n.id), u = a.contents[l];
1167
- let d;
1204
+ let p;
1168
1205
  this.designViewModelField && (this.designViewModelUtils.getDgViewModel(this.viewModelId).changeField(this.designViewModelField.id, {
1169
1206
  editor: {
1170
1207
  $type: o
@@ -1172,20 +1209,20 @@ class zn {
1172
1209
  name: this.designViewModelField.name,
1173
1210
  require: this.designViewModelField.require,
1174
1211
  readonly: this.designViewModelField.readonly
1175
- }, !1), d = this.controlCreatorUtils.setFormFieldProperty("Form", this.designViewModelField, null, o)), Object.assign(d, {
1212
+ }, !1), p = this.controlCreatorUtils.setFormFieldProperty("Form", this.designViewModelField, null, o)), Object.assign(p, {
1176
1213
  id: u.id,
1177
1214
  appearance: u.appearance,
1178
1215
  size: u.size,
1179
1216
  label: u.label
1180
- }), Object.assign(d.editor, {
1181
- isTextArea: d.isTextArea && u.isTextArea,
1217
+ }), Object.assign(p.editor, {
1218
+ isTextArea: p.isTextArea && u.isTextArea,
1182
1219
  type: o || "",
1183
1220
  placeHolder: (i = u.editor) == null ? void 0 : i.placeHolder,
1184
- holdPlace: (c = u.editor) == null ? void 0 : c.holdPlace,
1185
- readonly: (s = u.editor) == null ? void 0 : s.readonly,
1221
+ holdPlace: (d = u.editor) == null ? void 0 : d.holdPlace,
1222
+ readonly: (c = u.editor) == null ? void 0 : c.readonly,
1186
1223
  require: (f = u.editor) == null ? void 0 : f.require,
1187
- visible: (p = u.editor) == null ? void 0 : p.visible
1188
- }), a.contents.splice(l, 1, d);
1224
+ visible: (s = u.editor) == null ? void 0 : s.visible
1225
+ }), a.contents.splice(l, 1, p);
1189
1226
  }
1190
1227
  getAppearanceConfig(n = null) {
1191
1228
  return {
@@ -1233,27 +1270,6 @@ class zn {
1233
1270
  return o;
1234
1271
  }
1235
1272
  }
1236
- getBindingFieldEditorOptions(n) {
1237
- const t = this.formSchemaUtils.getFormMetadataBasicInfo();
1238
- return {
1239
- type: "field-selector",
1240
- bindingType: { enable: !1 },
1241
- editorParams: {
1242
- propertyData: n,
1243
- formBasicInfo: t
1244
- },
1245
- columns: [
1246
- { field: "name", title: "字段名称" },
1247
- { field: "bindingField", title: "绑定字段" },
1248
- { field: "fieldType", title: "字段类型" }
1249
- ],
1250
- beforeOpenDialog: (o) => {
1251
- const r = this.designViewModelUtils.getAllFields2TreeByVMId(this.viewModelId);
1252
- o.instance.loadData(r);
1253
- },
1254
- textField: "bindingField"
1255
- };
1256
- }
1257
1273
  }
1258
1274
  class we extends zn {
1259
1275
  constructor(n, t) {
@@ -1290,10 +1306,14 @@ class we extends zn {
1290
1306
  { field: "bindingField", title: "绑定字段" },
1291
1307
  { field: "fieldType", title: "字段类型" }
1292
1308
  ],
1309
+ textField: "bindingField",
1293
1310
  data: o
1294
1311
  }
1295
1312
  };
1296
1313
  }
1314
+ getBindingOtions(n) {
1315
+ return this.getFieldSelectorOptions(n);
1316
+ }
1297
1317
  getComponentConfig(n, t = {}, o = {}) {
1298
1318
  const r = Object.assign({
1299
1319
  description: "组件信息",
@@ -1357,11 +1377,11 @@ function Qn(e, n) {
1357
1377
  hideNestedPaddingInDesginerView: a,
1358
1378
  onAcceptMovedChildElement: l,
1359
1379
  resolveComponentContext: u,
1360
- triggerBelongedComponentToMoveWhenMoved: d,
1380
+ triggerBelongedComponentToMoveWhenMoved: p,
1361
1381
  triggerBelongedComponentToDeleteWhenDeleted: i
1362
- } = Ce(e), c = e.schema;
1363
- function s(f) {
1364
- return new Wn(f, n).getPropertyConfig(c);
1382
+ } = Ce(e), d = e.schema;
1383
+ function c(f) {
1384
+ return new Wn(f, n).getPropertyConfig(d);
1365
1385
  }
1366
1386
  return {
1367
1387
  canAccepts: t,
@@ -1370,9 +1390,9 @@ function Qn(e, n) {
1370
1390
  hideNestedPaddingInDesginerView: a,
1371
1391
  onAcceptMovedChildElement: l,
1372
1392
  resolveComponentContext: u,
1373
- triggerBelongedComponentToMoveWhenMoved: d,
1393
+ triggerBelongedComponentToMoveWhenMoved: p,
1374
1394
  triggerBelongedComponentToDeleteWhenDeleted: i,
1375
- getPropsConfig: s
1395
+ getPropsConfig: c
1376
1396
  };
1377
1397
  }
1378
1398
  const Yn = /* @__PURE__ */ q({
@@ -1700,18 +1720,18 @@ const Kn = "https://json-schema.org/draft/2020-12/schema", Jn = "https://farris-
1700
1720
  updateOn: { type: String, default: "blur" }
1701
1721
  }, Qe = ue(Ve, ao, Zn, Xn);
1702
1722
  function io(e, n, t, o) {
1703
- const r = y(e.disabled), a = y(!1), l = y("text"), u = y(e.showBorder), d = y(e.textAlign), i = y(e.updateOn), c = V(() => e.editable || !e.readonly), s = V(() => e.editable && !e.disabled && !e.readonly), f = V(() => !e.disabled && a.value), p = V(() => t.value === "" || t.value === null || t.value === void 0), v = V(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), h = V(() => e.readonly || !e.editable), C = V(() => e.enableTitle ? t.value : ""), x = V(() => ({
1723
+ const r = y(e.disabled), a = y(!1), l = y("text"), u = y(e.showBorder), p = y(e.textAlign), i = y(e.updateOn), d = V(() => e.editable || !e.readonly), c = V(() => e.editable && !e.disabled && !e.readonly), f = V(() => !e.disabled && a.value), s = V(() => t.value === "" || t.value === null || t.value === void 0), v = V(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), h = V(() => e.readonly || !e.editable), C = V(() => e.enableTitle ? t.value : ""), x = V(() => ({
1704
1724
  "form-control": !0,
1705
1725
  "f-utils-fill": !0,
1706
- "text-left": d.value === "left",
1707
- "text-center": d.value === "center",
1708
- "text-right": d.value === "right"
1726
+ "text-left": p.value === "left",
1727
+ "text-center": p.value === "center",
1728
+ "text-right": p.value === "right"
1709
1729
  })), A = V(() => {
1710
1730
  const M = {
1711
1731
  "f-cmp-inputgroup": !0,
1712
1732
  "input-group": !0,
1713
1733
  "f-state-disable": r.value,
1714
- "f-state-editable": s.value,
1734
+ "f-state-editable": c.value,
1715
1735
  "f-state-readonly": h.value,
1716
1736
  "f-state-focus": f.value
1717
1737
  };
@@ -1735,7 +1755,7 @@ function io(e, n, t, o) {
1735
1755
  n.emit("click", M);
1736
1756
  }
1737
1757
  function T(M) {
1738
- e.disabled || (u.value && (a.value = !0), c.value && n.emit("focus", M));
1758
+ e.disabled || (u.value && (a.value = !0), d.value && n.emit("focus", M));
1739
1759
  }
1740
1760
  function P(M) {
1741
1761
  n.emit("input", M.target.value);
@@ -1761,11 +1781,11 @@ function io(e, n, t, o) {
1761
1781
  changeTextBoxValue: w,
1762
1782
  disabled: r,
1763
1783
  displayText: o,
1764
- editable: s,
1784
+ editable: c,
1765
1785
  hasFocused: f,
1766
1786
  inputGroupClass: A,
1767
1787
  inputType: l,
1768
- isEmpty: p,
1788
+ isEmpty: s,
1769
1789
  modelValue: t,
1770
1790
  readonly: h,
1771
1791
  onBlur: B,
@@ -1783,14 +1803,14 @@ function io(e, n, t, o) {
1783
1803
  };
1784
1804
  }
1785
1805
  function lo(e, n, t, o) {
1786
- const r = y(e.disabled), a = y(!1), l = y("text"), u = y(e.showBorder), d = y(e.textAlign);
1806
+ const r = y(e.disabled), a = y(!1), l = y("text"), u = y(e.showBorder), p = y(e.textAlign);
1787
1807
  V(() => e.editable || !e.readonly);
1788
- const i = V(() => e.editable && !e.disabled && !e.readonly), c = V(() => !e.disabled && a.value), s = V(() => t.value === "" || t.value === null || t.value === void 0), f = V(() => e.placeholder), p = V(() => e.readonly || !e.editable), v = V(() => e.enableTitle ? t.value : ""), h = V(() => ({
1808
+ const i = V(() => e.editable && !e.disabled && !e.readonly), d = V(() => !e.disabled && a.value), c = V(() => t.value === "" || t.value === null || t.value === void 0), f = V(() => e.placeholder), s = V(() => e.readonly || !e.editable), v = V(() => e.enableTitle ? t.value : ""), h = V(() => ({
1789
1809
  "form-control": !0,
1790
1810
  // 'f-utils-fill': true,
1791
- "text-left": d.value === "left",
1792
- "text-center": d.value === "center",
1793
- "text-right": d.value === "right"
1811
+ "text-left": p.value === "left",
1812
+ "text-center": p.value === "center",
1813
+ "text-right": p.value === "right"
1794
1814
  })), C = V(() => ({
1795
1815
  "f-cmp-inputgroup": !0,
1796
1816
  "input-group": !0,
@@ -1804,12 +1824,12 @@ function lo(e, n, t, o) {
1804
1824
  disabled: r,
1805
1825
  displayText: o,
1806
1826
  editable: i,
1807
- hasFocused: c,
1827
+ hasFocused: d,
1808
1828
  inputGroupClass: C,
1809
1829
  inputType: l,
1810
- isEmpty: s,
1830
+ isEmpty: c,
1811
1831
  modelValue: t,
1812
- readonly: p,
1832
+ readonly: s,
1813
1833
  // onBlur,
1814
1834
  // onClick,
1815
1835
  // onFocus,
@@ -1825,30 +1845,30 @@ function lo(e, n, t, o) {
1825
1845
  };
1826
1846
  }
1827
1847
  function Ye(e, n, t) {
1828
- const o = y(!1), r = V(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: a, displayText: l, hasFocused: u, isEmpty: d } = t;
1848
+ const o = y(!1), r = V(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: a, displayText: l, hasFocused: u, isEmpty: p } = t;
1829
1849
  function i(h) {
1830
1850
  o.value = h;
1831
1851
  }
1832
1852
  N(l, () => {
1833
1853
  u != null && u.value ? i(!!(l != null && l.value)) : i(!1);
1834
1854
  });
1835
- const c = V(() => ({
1855
+ const d = V(() => ({
1836
1856
  "input-group-text": !0,
1837
1857
  "input-group-clear": !0
1838
- })), s = V(() => ({
1858
+ })), c = V(() => ({
1839
1859
  width: "24px",
1840
1860
  display: o.value ? "flex" : "none"
1841
1861
  }));
1842
1862
  function f(h) {
1843
1863
  h.stopPropagation(), r.value && (a("", !0), i(!o.value), n.emit("clear"));
1844
1864
  }
1845
- function p(h) {
1846
- r.value && !d.value && i(!0);
1865
+ function s(h) {
1866
+ r.value && !p.value && i(!0);
1847
1867
  }
1848
1868
  function v(h) {
1849
1869
  r.value && i(!1);
1850
1870
  }
1851
- return { clearButtonClass: c, clearButtonStyle: s, hasShownClearButton: o, onClearValue: f, onMouseEnter: p, onMouseLeave: v, shouldShowClearButton: r };
1871
+ return { clearButtonClass: d, clearButtonStyle: c, hasShownClearButton: o, onClearValue: f, onMouseEnter: s, onMouseLeave: v, shouldShowClearButton: r };
1852
1872
  }
1853
1873
  const uo = ["moz", "ms", "webkit"];
1854
1874
  function so() {
@@ -1877,17 +1897,17 @@ function Ze(e, n) {
1877
1897
  })), appendedContent: t, shouldShowAppendedButton: r };
1878
1898
  }
1879
1899
  function Xe(e, n, t, o) {
1880
- const { appendedContent: r } = o, a = y(e.enableViewPassword), l = V(() => e.type === "password"), u = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', d = '<span class="f-icon f-icon-eye"></span>', i = y(!1);
1881
- N(() => [e.readonly, e.disabled], ([f, p]) => {
1882
- l.value && (t.value = f || p ? "password" : t.value, r.value = f || p ? d : r.value);
1900
+ const { appendedContent: r } = o, a = y(e.enableViewPassword), l = V(() => e.type === "password"), u = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', p = '<span class="f-icon f-icon-eye"></span>', i = y(!1);
1901
+ N(() => [e.readonly, e.disabled], ([f, s]) => {
1902
+ l.value && (t.value = f || s ? "password" : t.value, r.value = f || s ? p : r.value);
1883
1903
  });
1884
- function c() {
1885
- return i.value = !i.value, t.value = i.value ? "text" : "password", r.value = i.value ? u : d, !1;
1904
+ function d() {
1905
+ return i.value = !i.value, t.value = i.value ? "text" : "password", r.value = i.value ? u : p, !1;
1886
1906
  }
1887
- function s() {
1888
- t.value = l.value ? "password" : "text", r.value = l.value ? a.value ? d : "" : r.value;
1907
+ function c() {
1908
+ t.value = l.value ? "password" : "text", r.value = l.value ? a.value ? p : "" : r.value;
1889
1909
  }
1890
- return s(), { isPassword: l, onClickAppendedButton: c };
1910
+ return c(), { isPassword: l, onClickAppendedButton: d };
1891
1911
  }
1892
1912
  function Ke(e, n, t) {
1893
1913
  const o = y(), {
@@ -1895,30 +1915,30 @@ function Ke(e, n, t) {
1895
1915
  onFocusTextBox: a,
1896
1916
  onInput: l,
1897
1917
  onKeyDown: u,
1898
- textBoxValue: d
1899
- } = t, i = V(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), c = V(() => ({
1918
+ textBoxValue: p
1919
+ } = t, i = V(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), d = V(() => ({
1900
1920
  "form-control": !0,
1901
1921
  "f-utils-fill": !0
1902
- })), s = V(() => ({
1922
+ })), c = V(() => ({
1903
1923
  "text-align": e.textAlign
1904
1924
  }));
1905
1925
  function f(h) {
1906
1926
  h.stopPropagation();
1907
1927
  }
1908
- function p() {
1928
+ function s() {
1909
1929
  e.selectOnCreated, e.focusOnCreated;
1910
1930
  }
1911
1931
  async function v(h) {
1912
- a(h), await Ie, p();
1932
+ a(h), await Ie, s();
1913
1933
  }
1914
1934
  return G(async () => {
1915
- await Ie, p();
1935
+ await Ie, s();
1916
1936
  }), () => S("input", {
1917
1937
  ref: o,
1918
- class: c.value,
1919
- style: s.value,
1938
+ class: d.value,
1939
+ style: c.value,
1920
1940
  type: "text",
1921
- value: d.value,
1941
+ value: p.value,
1922
1942
  disabled: e.disabled,
1923
1943
  readonly: e.readonly || !e.editable,
1924
1944
  placeholder: i.value,
@@ -1939,14 +1959,14 @@ function Te(e, n, t) {
1939
1959
  "input-group-append": !0,
1940
1960
  "btn-group": !0,
1941
1961
  "btn-group-number": !0
1942
- })), d = V(() => ({
1962
+ })), p = V(() => ({
1943
1963
  btn: !0,
1944
1964
  "btn-secondary": !0,
1945
1965
  "btn-number-flag": !0
1946
1966
  })), i = V(() => ({
1947
1967
  cursor: r() ? "pointer" : "not-allowed",
1948
1968
  "margin-left": 0
1949
- })), c = V(() => ({
1969
+ })), d = V(() => ({
1950
1970
  cursor: o() ? "pointer" : "not-allowed",
1951
1971
  "margin-left": 0
1952
1972
  }));
@@ -1954,7 +1974,7 @@ function Te(e, n, t) {
1954
1974
  class: u.value
1955
1975
  }, [S("button", {
1956
1976
  title: "upButton",
1957
- class: d.value,
1977
+ class: p.value,
1958
1978
  style: i.value,
1959
1979
  onClick: l,
1960
1980
  disabled: !r()
@@ -1962,8 +1982,8 @@ function Te(e, n, t) {
1962
1982
  class: "f-icon f-icon-arrow-chevron-up number-arrow-chevron"
1963
1983
  }, null)]), S("button", {
1964
1984
  title: "downButton",
1965
- class: d.value,
1966
- style: c.value,
1985
+ class: p.value,
1986
+ style: d.value,
1967
1987
  onClick: a,
1968
1988
  disabled: !o()
1969
1989
  }, [S("span", {
@@ -1973,34 +1993,34 @@ function Te(e, n, t) {
1973
1993
  function po(e, n) {
1974
1994
  const t = rn(e, n), o = an(e, n, t), r = ln(e, n, o, t), a = un(e, n, o, t, r), l = Te(e, n, r), {
1975
1995
  displayValue: u,
1976
- modelValue: d,
1996
+ modelValue: p,
1977
1997
  getRealValue: i
1978
- } = t, c = Ke(e, n, a), {
1979
- format: s
1998
+ } = t, d = Ke(e, n, a), {
1999
+ format: c
1980
2000
  } = o, {
1981
2001
  isFocus: f
1982
- } = a, p = V(() => !e.disabled && !e.readonly);
2002
+ } = a, s = V(() => !e.disabled && !e.readonly);
1983
2003
  return G(() => {
1984
2004
  const v = i(e.modelValue);
1985
- u.value = s(v);
2005
+ u.value = c(v);
1986
2006
  }), N(() => [e.value], ([v]) => {
1987
2007
  const h = i(v);
1988
- d.value = h, u.value = s(h);
2008
+ p.value = h, u.value = c(h);
1989
2009
  }), N(() => [e.modelValue], ([v]) => {
1990
- v !== d.value && (d.value = v, !f.value && (u.value = s(i(v))));
2010
+ v !== p.value && (p.value = v, !f.value && (u.value = c(i(v))));
1991
2011
  }), N(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
1992
- u.value = s(d.value);
2012
+ u.value = c(p.value);
1993
2013
  }), () => S("div", {
1994
2014
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
1995
- }, [c(), p.value && l()]);
2015
+ }, [d(), s.value && l()]);
1996
2016
  }
1997
2017
  function fo(e, n, t, o) {
1998
2018
  const r = y(), a = y(e.autocomplete), l = y(e.enableTitle), {
1999
2019
  isPassword: u
2000
- } = t, d = y(e.minLength), i = y(e.maxLength), c = y(e.tabIndex), {
2001
- disabled: s,
2020
+ } = t, p = y(e.minLength), i = y(e.maxLength), d = y(e.tabIndex), {
2021
+ disabled: c,
2002
2022
  displayText: f,
2003
- inputType: p,
2023
+ inputType: s,
2004
2024
  onBlur: v,
2005
2025
  onFocus: h,
2006
2026
  onInput: C,
@@ -2021,14 +2041,14 @@ function fo(e, n, t, o) {
2021
2041
  name: "input-group-value",
2022
2042
  autocomplete: a.value,
2023
2043
  class: P.value,
2024
- disabled: s == null ? void 0 : s.value,
2044
+ disabled: c == null ? void 0 : c.value,
2025
2045
  maxlength: i.value,
2026
- minlength: d.value,
2046
+ minlength: p.value,
2027
2047
  placeholder: T.value,
2028
2048
  readonly: b == null ? void 0 : b.value,
2029
- tabindex: c.value,
2049
+ tabindex: d.value,
2030
2050
  title: l.value && !u.value ? $.value : "",
2031
- type: p.value,
2051
+ type: s.value,
2032
2052
  value: f == null ? void 0 : f.value,
2033
2053
  onBlur: v,
2034
2054
  onClick: x,
@@ -2060,17 +2080,17 @@ function Je(e, n, t, o, r) {
2060
2080
  const {
2061
2081
  appendedButtonClass: a,
2062
2082
  appendedContent: l
2063
- } = t, u = V(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), d = V(() => l.value && !n.slots.groupTextTemplate), i = V(() => !!n.slots.groupTextTemplate), {
2064
- clearButtonClass: c,
2065
- clearButtonStyle: s,
2083
+ } = t, u = V(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), p = V(() => l.value && !n.slots.groupTextTemplate), i = V(() => !!n.slots.groupTextTemplate), {
2084
+ clearButtonClass: d,
2085
+ clearButtonStyle: c,
2066
2086
  onClearValue: f,
2067
- shouldShowClearButton: p
2087
+ shouldShowClearButton: s
2068
2088
  } = o;
2069
2089
  function v() {
2070
2090
  return S("span", {
2071
2091
  id: "clearIcon",
2072
- class: c.value,
2073
- style: s.value,
2092
+ class: d.value,
2093
+ style: c.value,
2074
2094
  onClick: (T) => f(T)
2075
2095
  }, [S("i", {
2076
2096
  class: "f-icon modal_close"
@@ -2101,12 +2121,12 @@ function Je(e, n, t, o, r) {
2101
2121
  return n.slots.groupTextTemplate && n.slots.groupTextTemplate();
2102
2122
  }
2103
2123
  function B() {
2104
- return d.value ? E : i.value ? w : "";
2124
+ return p.value ? E : i.value ? w : "";
2105
2125
  }
2106
2126
  const b = B();
2107
2127
  return () => S("div", {
2108
2128
  class: a.value
2109
- }, [p.value && v(), b && b()]);
2129
+ }, [s.value && v(), b && b()]);
2110
2130
  }
2111
2131
  const J = /* @__PURE__ */ q({
2112
2132
  name: "FInputGroup",
@@ -2117,12 +2137,12 @@ const J = /* @__PURE__ */ q({
2117
2137
  inputGroupClass: a,
2118
2138
  inputType: l,
2119
2139
  inputGroupStyle: u
2120
- } = r, d = Ze(e), {
2140
+ } = r, p = Ze(e), {
2121
2141
  shouldShowAppendedButton: i
2122
- } = d, c = Ye(e, n, r), {
2123
- onMouseEnter: s,
2142
+ } = p, d = Ye(e, n, r), {
2143
+ onMouseEnter: c,
2124
2144
  onMouseLeave: f
2125
- } = c, p = Xe(e, n, l, d), v = po(e, n), h = fo(e, n, p, r), C = Je(e, n, d, c, p), x = vo(e, n), A = V(() => e.type === "number");
2145
+ } = d, s = Xe(e, n, l, p), v = po(e, n), h = fo(e, n, s, r), C = Je(e, n, p, d, s), x = vo(e, n), A = V(() => e.type === "number");
2126
2146
  N(() => [e.value], ([w]) => {
2127
2147
  t.value = w, o.value = w;
2128
2148
  }), N(() => [e.modelValue], ([w]) => {
@@ -2130,22 +2150,22 @@ const J = /* @__PURE__ */ q({
2130
2150
  }), G(() => {
2131
2151
  e.value && (t.value = e.value, o.value = e.value);
2132
2152
  });
2133
- const E = () => S(me, null, [S("div", {
2153
+ const E = () => S(ye, null, [S("div", {
2134
2154
  id: "inputGroup",
2135
2155
  class: a.value,
2136
2156
  style: u.value,
2137
- onMouseenter: s,
2157
+ onMouseenter: c,
2138
2158
  onMouseleave: f
2139
- }, [A.value ? v() : S(me, null, [x(), h(), i.value && C()])])]);
2159
+ }, [A.value ? v() : S(ye, null, [x(), h(), i.value && C()])])]);
2140
2160
  return () => E();
2141
2161
  }
2142
2162
  });
2143
- class mo extends we {
2163
+ class yo extends we {
2144
2164
  constructor(n, t) {
2145
2165
  super(n, t);
2146
2166
  }
2147
2167
  }
2148
- function yo(e, n) {
2168
+ function mo(e, n) {
2149
2169
  const {
2150
2170
  canAccepts: t,
2151
2171
  checkCanDeleteComponent: o,
@@ -2153,11 +2173,11 @@ function yo(e, n) {
2153
2173
  hideNestedPaddingInDesginerView: a,
2154
2174
  onAcceptMovedChildElement: l,
2155
2175
  resolveComponentContext: u,
2156
- triggerBelongedComponentToMoveWhenMoved: d,
2176
+ triggerBelongedComponentToMoveWhenMoved: p,
2157
2177
  triggerBelongedComponentToDeleteWhenDeleted: i
2158
- } = Ce(e), c = e.schema;
2159
- function s(f) {
2160
- return new mo(f, n).getPropertyConfig(c);
2178
+ } = Ce(e), d = e.schema;
2179
+ function c(f) {
2180
+ return new yo(f, n).getPropertyConfig(d);
2161
2181
  }
2162
2182
  return {
2163
2183
  canAccepts: t,
@@ -2166,9 +2186,9 @@ function yo(e, n) {
2166
2186
  hideNestedPaddingInDesginerView: a,
2167
2187
  onAcceptMovedChildElement: l,
2168
2188
  resolveComponentContext: u,
2169
- triggerBelongedComponentToMoveWhenMoved: d,
2189
+ triggerBelongedComponentToMoveWhenMoved: p,
2170
2190
  triggerBelongedComponentToDeleteWhenDeleted: i,
2171
- getPropsConfig: s
2191
+ getPropsConfig: c
2172
2192
  };
2173
2193
  }
2174
2194
  function et(e, n, t) {
@@ -2181,28 +2201,28 @@ function et(e, n, t) {
2181
2201
  function u() {
2182
2202
  return (n == null ? void 0 : n.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
2183
2203
  }
2184
- function d() {
2204
+ function p() {
2185
2205
  return !1;
2186
2206
  }
2187
2207
  function i() {
2188
2208
  return (n == null ? void 0 : n.schema.componentType) === "frame" ? !1 : t && t.checkCanDeleteComponent ? t.checkCanDeleteComponent() : !0;
2189
2209
  }
2190
- function c() {
2210
+ function d() {
2191
2211
  return (n == null ? void 0 : n.schema.componentType) === "frame" ? !0 : t && t.hideNestedPaddingInDesginerView ? t.hideNestedPaddingInDesginerView() : !1;
2192
2212
  }
2193
- function s(b) {
2213
+ function c(b) {
2194
2214
  if (!b || !b.value)
2195
2215
  return null;
2196
2216
  if (b.value.schema && b.value.schema.type === "component")
2197
2217
  return b.value;
2198
- const T = y(b == null ? void 0 : b.value.parent), P = s(T);
2218
+ const T = y(b == null ? void 0 : b.value.parent), P = c(T);
2199
2219
  return P || null;
2200
2220
  }
2201
2221
  function f(b = n) {
2202
2222
  const { componentInstance: T, designerItemElementRef: P } = b;
2203
2223
  return !T || !T.value ? null : T.value.canMove ? P : f(b.parent);
2204
2224
  }
2205
- function p(b) {
2225
+ function s(b) {
2206
2226
  return !!t && t.canAccepts(b);
2207
2227
  }
2208
2228
  function v() {
@@ -2215,7 +2235,7 @@ function et(e, n, t) {
2215
2235
  }
2216
2236
  function x(b) {
2217
2237
  const { componentType: T } = b;
2218
- let P = ye(T, b);
2238
+ let P = me(T, b);
2219
2239
  t && t.onResolveNewComponentSchema && (P = t.onResolveNewComponentSchema(b, P));
2220
2240
  const $ = T.toLowerCase().replace("-", "_");
2221
2241
  return P && !P.id && P.type === T && (P.id = `${$}_${Math.random().toString().slice(2, 6)}`), P;
@@ -2223,7 +2243,7 @@ function et(e, n, t) {
2223
2243
  function A(b, T) {
2224
2244
  const P = String(b.getAttribute("data-controltype")), $ = b.getAttribute("data-feature"), Q = $ ? JSON.parse($) : {};
2225
2245
  Q.parentComponentInstance = l.value;
2226
- let R = ye(P, Q);
2246
+ let R = me(P, Q);
2227
2247
  t && t.onAcceptNewChildElement && (R = t.onAcceptNewChildElement(b, T, R));
2228
2248
  const K = P.toLowerCase().replace("-", "_");
2229
2249
  return R && !R.id && R.type === P && (R.id = `${K}_${Math.random().toString().slice(2, 6)}`), R;
@@ -2236,17 +2256,17 @@ function et(e, n, t) {
2236
2256
  }
2237
2257
  return l.value = {
2238
2258
  canMove: u(),
2239
- canSelectParent: d(),
2259
+ canSelectParent: p(),
2240
2260
  canDelete: i(),
2241
- canNested: !c(),
2261
+ canNested: !d(),
2242
2262
  contents: n == null ? void 0 : n.schema.contents,
2243
2263
  elementRef: e,
2244
2264
  parent: (B = n == null ? void 0 : n.parent) == null ? void 0 : B.componentInstance,
2245
2265
  schema: n == null ? void 0 : n.schema,
2246
2266
  styles: r,
2247
2267
  designerClass: a,
2248
- canAccepts: p,
2249
- getBelongedComponentInstance: s,
2268
+ canAccepts: s,
2269
+ getBelongedComponentInstance: c,
2250
2270
  getDraggableDesignItemElement: f,
2251
2271
  getDraggingDisplayText: v,
2252
2272
  getPropConfig: w,
@@ -2269,22 +2289,22 @@ const ho = /* @__PURE__ */ q({
2269
2289
  inputGroupClass: a,
2270
2290
  inputType: l,
2271
2291
  inputGroupStyle: u
2272
- } = r, d = Ze(e), {
2292
+ } = r, p = Ze(e), {
2273
2293
  shouldShowAppendedButton: i
2274
- } = d, c = Ye(e, n, r), {
2275
- onMouseEnter: s,
2294
+ } = p, d = Ye(e, n, r), {
2295
+ onMouseEnter: c,
2276
2296
  onMouseLeave: f
2277
- } = c, p = Xe(e, n, l, d), v = y(), h = Z("designer-host-service"), C = Z("design-item-context"), x = yo(C, h), A = et(v, C, x);
2297
+ } = d, s = Xe(e, n, l, p), v = y(), h = Z("designer-host-service"), C = Z("design-item-context"), x = mo(C, h), A = et(v, C, x);
2278
2298
  G(() => {
2279
2299
  v.value.componentInstance = A;
2280
2300
  }), n.expose(A.value);
2281
- const E = Je(e, n, d, c, p), w = y();
2301
+ const E = Je(e, n, p, d, s), w = y();
2282
2302
  return () => S("div", {
2283
2303
  id: "inputGroup",
2284
2304
  ref: v,
2285
2305
  class: a.value,
2286
2306
  style: u.value,
2287
- onMouseenter: s,
2307
+ onMouseenter: c,
2288
2308
  onMouseleave: f
2289
2309
  }, [S("input", {
2290
2310
  ref: w,
@@ -2392,8 +2412,7 @@ const bo = /* @__PURE__ */ new Map([
2392
2412
  },
2393
2413
  max: {
2394
2414
  description: "",
2395
- type: "number",
2396
- default: 0
2415
+ type: "number"
2397
2416
  },
2398
2417
  onBlur: {
2399
2418
  description: "",
@@ -2526,37 +2545,37 @@ const Be = {
2526
2545
  selectOnCreated: { type: Boolean, default: !1 }
2527
2546
  }, tt = ue(Be, Bo, bo, Fo);
2528
2547
  function nt(e, n, t, o) {
2529
- const { format: r } = t, { displayValue: a, getRealValue: l, modelValue: u, onNumberValueChanged: d } = o;
2548
+ const { format: r } = t, { displayValue: a, getRealValue: l, modelValue: u, onNumberValueChanged: p } = o;
2530
2549
  function i() {
2531
- const C = new j(u.value || 0);
2532
- return !(e.max && !new j(e.max).isNaN() && C.gte(new j(e.max)));
2550
+ const C = new L(u.value || 0);
2551
+ return !(e.max && !new L(e.max).isNaN() && C.gte(new L(e.max)));
2533
2552
  }
2534
- function c() {
2535
- const C = new j(u.value || 0);
2536
- return !(e.min && !new j(e.min).isNaN() && C.lte(new j(e.min)));
2553
+ function d() {
2554
+ const C = new L(u.value || 0);
2555
+ return !(e.min && !new L(e.min).isNaN() && C.lte(new L(e.min)));
2537
2556
  }
2538
- function s(C) {
2557
+ function c(C) {
2539
2558
  if (e.readonly || e.disabled)
2540
2559
  return;
2541
- const x = C === "up" ? i : c, A = C === "up" ? "plus" : "minus";
2560
+ const x = C === "up" ? i : d, A = C === "up" ? "plus" : "minus";
2542
2561
  if (x()) {
2543
- const w = new j(u.value || 0)[A](Number(e.step)), B = w.toFixed();
2544
- a.value = r(B), d(l(w));
2562
+ const w = new L(u.value || 0)[A](Number(e.step)), B = w.toFixed();
2563
+ a.value = r(B), p(l(w));
2545
2564
  }
2546
2565
  }
2547
2566
  function f() {
2548
- s("up");
2567
+ c("up");
2549
2568
  }
2550
- function p() {
2551
- s("down");
2569
+ function s() {
2570
+ c("down");
2552
2571
  }
2553
2572
  function v(C) {
2554
2573
  f(), C.stopPropagation();
2555
2574
  }
2556
2575
  function h(C) {
2557
- p(), C.stopPropagation();
2576
+ s(), C.stopPropagation();
2558
2577
  }
2559
- return { canDownward: c, canUpward: i, downward: p, onClickDownButton: h, onClickUpButton: v, upward: f };
2578
+ return { canDownward: d, canUpward: i, downward: s, onClickDownButton: h, onClickUpButton: v, upward: f };
2560
2579
  }
2561
2580
  function ot(e, n, t) {
2562
2581
  const o = V(() => ({
@@ -2569,52 +2588,52 @@ function ot(e, n, t) {
2569
2588
  function l(i) {
2570
2589
  return i = i == null || i === "" ? "" : String(i), i = i.replace(new RegExp(e.prefix, "g"), "").replace(new RegExp(e.suffix, "g"), "").replace(/,/g, ""), e.groupSeparator && e.groupSeparator !== "," && (i = i.replace(new RegExp(`\\${e.groupSeparator}`, "g"), "")), e.decimalSeparator && e.decimalSeparator !== "." && (i = i.replace(new RegExp(`\\${e.decimalSeparator}`, "g"), ".")), i;
2571
2590
  }
2572
- function u(i, c) {
2573
- return e.precision !== null && e.precision !== void 0 ? i.toFormat(a.value, c) : i.toFormat(c);
2591
+ function u(i, d) {
2592
+ return e.precision !== null && e.precision !== void 0 ? i.toFormat(a.value, d) : i.toFormat(d);
2574
2593
  }
2575
- function d(i) {
2576
- const c = l(i), s = new j(c, 10), f = r(s);
2594
+ function p(i) {
2595
+ const d = l(i), c = new L(d, 10), f = r(c);
2577
2596
  return f.valueOf() === "0" && !e.showZero || f.isNaN() ? "" : e.formatter ? e.formatter(f.toNumber()) : u(f, o.value);
2578
2597
  }
2579
- return { cleanFormat: l, format: d };
2598
+ return { cleanFormat: l, format: p };
2580
2599
  }
2581
2600
  function rt(e, n) {
2582
2601
  const t = y(""), o = y(e.modelValue), r = V(() => Number(e.precision) || 0);
2583
- function a(c) {
2584
- return c.toFixed(r.value);
2602
+ function a(d) {
2603
+ return d.toFixed(r.value);
2585
2604
  }
2586
- function l(c) {
2587
- return isNaN(c) || c === null || c === void 0 || c === "";
2605
+ function l(d) {
2606
+ return isNaN(d) || d === null || d === void 0 || d === "";
2588
2607
  }
2589
- function u(c) {
2590
- const s = l(e.max) ? null : new j(String(e.max), 10), f = l(e.min) ? null : new j(String(e.min), 10);
2591
- return s && c.gt(s) ? s : f && c.lt(f) ? f : c;
2608
+ function u(d) {
2609
+ const c = l(e.max) ? null : new L(String(e.max), 10), f = l(e.min) ? null : new L(String(e.min), 10);
2610
+ return c && d.gt(c) ? c : f && d.lt(f) ? f : d;
2592
2611
  }
2593
- function d(c) {
2612
+ function p(d) {
2594
2613
  if (e.parser)
2595
- return isNaN(Number(c)) ? e.parser(c) : c;
2596
- let s = u(new j(c, 10));
2597
- if (s.isNaN()) {
2614
+ return isNaN(Number(d)) ? e.parser(d) : d;
2615
+ let c = u(new L(d, 10));
2616
+ if (c.isNaN()) {
2598
2617
  if (e.canNull)
2599
2618
  return null;
2600
- const p = new j("" + e.min, 10), v = new j("" + e.max, 10);
2601
- if (!p.isNaN())
2602
- s = p;
2619
+ const s = new L("" + e.min, 10), v = new L("" + e.max, 10);
2620
+ if (!s.isNaN())
2621
+ c = s;
2603
2622
  else if (!v.isNaN())
2604
- s = v;
2623
+ c = v;
2605
2624
  else
2606
2625
  return 0;
2607
2626
  }
2608
- return a(s);
2627
+ return a(c);
2609
2628
  }
2610
- function i(c) {
2611
- const s = Number(c);
2612
- o.value = s, n.emit("update:modelValue", s), n.emit("valueChange", s), n.emit("change", s);
2629
+ function i(d) {
2630
+ const c = Number(d);
2631
+ o.value = c, n.emit("update:modelValue", c), n.emit("valueChange", c), n.emit("change", c);
2613
2632
  }
2614
- return { displayValue: t, getRealValue: d, modelValue: o, isEmpty: l, onNumberValueChanged: i, precision: r, getValidNumberObject: u };
2633
+ return { displayValue: t, getRealValue: p, modelValue: o, isEmpty: l, onNumberValueChanged: i, precision: r, getValidNumberObject: u };
2615
2634
  }
2616
2635
  function Mo(e, n, t, o, r) {
2617
- const { cleanFormat: a, format: l } = t, { displayValue: u, getRealValue: d, modelValue: i, isEmpty: c, onNumberValueChanged: s } = o, { downward: f, upward: p } = r, v = y(!1), h = V(() => u.value);
2636
+ const { cleanFormat: a, format: l } = t, { displayValue: u, getRealValue: p, modelValue: i, isEmpty: d, onNumberValueChanged: c } = o, { downward: f, upward: s } = r, v = y(!1), h = V(() => u.value);
2618
2637
  function C(w) {
2619
2638
  var T;
2620
2639
  if (w.stopPropagation(), v.value = !1, e.readonly || e.disabled)
@@ -2622,10 +2641,10 @@ function Mo(e, n, t, o, r) {
2622
2641
  let B = (T = w.target) == null ? void 0 : T.value;
2623
2642
  e.canNull || (B = B || 0);
2624
2643
  const b = a(B);
2625
- u.value = l(b), s(d(b)), n.emit("blur", { event: w, formatted: u.value, value: i.value });
2644
+ u.value = l(b), c(p(b)), n.emit("blur", { event: w, formatted: u.value, value: i.value });
2626
2645
  }
2627
2646
  function x(w) {
2628
- w.stopPropagation(), v.value = !0, !(e.readonly || e.disabled) && (u.value = c(i.value) || !e.showZero && i.value === "0" ? "" : String(i.value), n.emit("focus", { event: w, formatted: u.value, value: i.value }));
2647
+ w.stopPropagation(), v.value = !0, !(e.readonly || e.disabled) && (u.value = d(i.value) || !e.showZero && i.value === "0" ? "" : String(i.value), n.emit("focus", { event: w, formatted: u.value, value: i.value }));
2629
2648
  }
2630
2649
  function A(w) {
2631
2650
  var T;
@@ -2633,10 +2652,10 @@ function Mo(e, n, t, o, r) {
2633
2652
  let B = (T = w.target) == null ? void 0 : T.value;
2634
2653
  e.canNull || (B = B || 0);
2635
2654
  const b = a(B);
2636
- u.value = b, s(d(b));
2655
+ u.value = b, c(p(b));
2637
2656
  }
2638
2657
  function E(w) {
2639
- w.key === "ArrowDown" && (w.preventDefault(), f()), w.key === "ArrowUp" && (w.preventDefault(), p()), w.stopPropagation();
2658
+ w.key === "ArrowDown" && (w.preventDefault(), f()), w.key === "ArrowUp" && (w.preventDefault(), s()), w.stopPropagation();
2640
2659
  }
2641
2660
  return { textBoxValue: h, onBlurTextBox: C, onFocusTextBox: x, onInput: A, onKeyDown: E, isFocus: v };
2642
2661
  }
@@ -2647,26 +2666,26 @@ const ee = /* @__PURE__ */ q({
2647
2666
  setup(e, n) {
2648
2667
  const t = rt(e, n), o = ot(e, n, t), r = nt(e, n, o, t), a = Mo(e, n, o, t, r), l = Te(e, n, r), {
2649
2668
  displayValue: u,
2650
- modelValue: d,
2669
+ modelValue: p,
2651
2670
  getRealValue: i
2652
- } = t, c = Ke(e, n, a), {
2653
- format: s
2671
+ } = t, d = Ke(e, n, a), {
2672
+ format: c
2654
2673
  } = o, {
2655
2674
  isFocus: f
2656
- } = a, p = V(() => !e.disabled && !e.readonly && e.showButton);
2675
+ } = a, s = V(() => !e.disabled && !e.readonly && e.showButton);
2657
2676
  return G(() => {
2658
2677
  const v = i(e.modelValue);
2659
- u.value = s(v);
2678
+ u.value = c(v);
2660
2679
  }), N(() => [e.value], ([v]) => {
2661
2680
  const h = i(v);
2662
- d.value = h, u.value = s(h);
2681
+ p.value = h, u.value = c(h);
2663
2682
  }), N(() => [e.modelValue], ([v]) => {
2664
- v !== d.value && (d.value = v, !f.value && (u.value = s(i(v))));
2683
+ v !== p.value && (p.value = v, !f.value && (u.value = c(i(v))));
2665
2684
  }), N(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
2666
- u.value = s(d.value);
2685
+ u.value = c(p.value);
2667
2686
  }), () => S("div", {
2668
2687
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
2669
- }, [c(), p.value && l()]);
2688
+ }, [d(), s.value && l()]);
2670
2689
  }
2671
2690
  });
2672
2691
  class Po extends we {
@@ -2710,11 +2729,11 @@ function Eo(e, n) {
2710
2729
  hideNestedPaddingInDesginerView: a,
2711
2730
  onAcceptMovedChildElement: l,
2712
2731
  resolveComponentContext: u,
2713
- triggerBelongedComponentToMoveWhenMoved: d,
2732
+ triggerBelongedComponentToMoveWhenMoved: p,
2714
2733
  triggerBelongedComponentToDeleteWhenDeleted: i
2715
- } = Ce(e), c = e.schema;
2716
- function s(f) {
2717
- return new Po(f, n).getPropertyConfig(c);
2734
+ } = Ce(e), d = e.schema;
2735
+ function c(f) {
2736
+ return new Po(f, n).getPropertyConfig(d);
2718
2737
  }
2719
2738
  return {
2720
2739
  canAccepts: t,
@@ -2723,9 +2742,9 @@ function Eo(e, n) {
2723
2742
  hideNestedPaddingInDesginerView: a,
2724
2743
  onAcceptMovedChildElement: l,
2725
2744
  resolveComponentContext: u,
2726
- triggerBelongedComponentToMoveWhenMoved: d,
2745
+ triggerBelongedComponentToMoveWhenMoved: p,
2727
2746
  triggerBelongedComponentToDeleteWhenDeleted: i,
2728
- getPropsConfig: s
2747
+ getPropsConfig: c
2729
2748
  };
2730
2749
  }
2731
2750
  const Ao = /* @__PURE__ */ q({
@@ -2733,16 +2752,16 @@ const Ao = /* @__PURE__ */ q({
2733
2752
  props: Be,
2734
2753
  emits: ["update:modelValue", "valueChange", "change", "blur", "focus", "click", "input"],
2735
2754
  setup(e, n) {
2736
- const t = rt(e, n), o = ot(e, n, t), r = nt(e, n, o, t), a = Te(e, n, r), l = y(), u = Z("designer-host-service"), d = Z("design-item-context"), i = Eo(d, u), c = et(l, d, i);
2755
+ const t = rt(e, n), o = ot(e, n, t), r = nt(e, n, o, t), a = Te(e, n, r), l = y(), u = Z("designer-host-service"), p = Z("design-item-context"), i = Eo(p, u), d = et(l, p, i);
2737
2756
  G(() => {
2738
- l.value.componentInstance = c, e.readonly = !0;
2739
- }), n.expose(c.value);
2740
- const s = y();
2757
+ l.value.componentInstance = d, e.readonly = !0;
2758
+ }), n.expose(d.value);
2759
+ const c = y();
2741
2760
  return () => S("div", {
2742
2761
  ref: l,
2743
2762
  class: "input-group f-state-hover flex-row f-cmp-number-spinner test"
2744
2763
  }, [S("input", {
2745
- ref: s,
2764
+ ref: c,
2746
2765
  class: "form-control",
2747
2766
  readonly: !0,
2748
2767
  placeholder: e.placeholder
@@ -2757,11 +2776,11 @@ ee.registerDesigner = (e, n, t) => {
2757
2776
  };
2758
2777
  xe(ee);
2759
2778
  function ko(e, n, t, o, r, a, l) {
2760
- const u = y(0), d = y(""), i = y([]), c = y(""), s = y("");
2779
+ const u = y(0), p = y(""), i = y([]), d = y(""), c = y("");
2761
2780
  function f() {
2762
- e.value.propertyType === "enum" && e.value.propertyValue.type === "const" && (c.value = F(e.value.propertyValue.value), n.value = F(e.value.editorOptions.enums));
2781
+ e.value.propertyType === "enum" && e.value.propertyValue.type === "const" && (d.value = F(e.value.propertyValue.value), n.value = F(e.value.editorOptions.enums));
2763
2782
  }
2764
- function p() {
2783
+ function s() {
2765
2784
  e.value.propertyType === "number" && (u.value = e.value.propertyValue.value);
2766
2785
  }
2767
2786
  function v() {
@@ -2770,11 +2789,11 @@ function ko(e, n, t, o, r, a, l) {
2770
2789
  function h() {
2771
2790
  if (t.value.id === "dataStates" && (i.value = F(e.value.editorOptions.dataStates), e.value.propertyValue.value)) {
2772
2791
  const w = e.value.propertyValue.value, B = i.value.filter((b) => w.includes(b.value)).map((b) => b.value).join(",");
2773
- d.value = F(B);
2792
+ p.value = F(B);
2774
2793
  }
2775
2794
  }
2776
2795
  function C() {
2777
- t.value.id === "variable" && (s.value = e.value.propertyValue.value.path);
2796
+ t.value.id === "variable" && (c.value = e.value.propertyValue.value.path);
2778
2797
  }
2779
2798
  function x() {
2780
2799
  if (t.value.id === "expression") {
@@ -2787,19 +2806,19 @@ function ko(e, n, t, o, r, a, l) {
2787
2806
  t.value.id;
2788
2807
  }
2789
2808
  function E() {
2790
- f(), p(), C(), v(), h(), x(), A();
2809
+ f(), s(), C(), v(), h(), x(), A();
2791
2810
  }
2792
2811
  return {
2793
2812
  numberConstValue: u,
2794
- bindVariableValue: s,
2795
- dataStatesBindValue: d,
2813
+ bindVariableValue: c,
2814
+ dataStatesBindValue: p,
2796
2815
  dataStatesValueArray: i,
2797
- constEnumBindValue: c,
2816
+ constEnumBindValue: d,
2798
2817
  setValue: E
2799
2818
  };
2800
2819
  }
2801
- function No(e, n, t, o, r, a, l, u, d, i, c, s) {
2802
- const f = y(!1), p = y({
2820
+ function No(e, n, t, o, r, a, l, u, p, i, d, c) {
2821
+ const f = y(!1), s = y({
2803
2822
  propertyName: "",
2804
2823
  /** 属性类型:boolean, string, number, enum */
2805
2824
  propertyType: "",
@@ -2821,53 +2840,53 @@ function No(e, n, t, o, r, a, l, u, d, i, c, s) {
2821
2840
  }, u.value = "否"));
2822
2841
  }
2823
2842
  function C() {
2824
- n.value.propertyValue.type === "dataStates" && (n.value.propertyValue.value = F(r.value.dataStatesValue.value), d.value = F(n.value.editorOptions.dataStates));
2843
+ n.value.propertyValue.type === "dataStates" && (n.value.propertyValue.value = F(r.value.dataStatesValue.value), p.value = F(n.value.editorOptions.dataStates));
2825
2844
  }
2826
2845
  function x() {
2827
2846
  i.value = "", r.value.expressionValue && (r.value.expressionValue.value = "");
2828
2847
  }
2829
2848
  function A() {
2830
- c.value || (u.value = u.value === "否" ? "是" : "否", n.value.propertyValue.value.exist = u, r.value.stateMachineValue.value.exist = u, B());
2849
+ d.value || (u.value = u.value === "否" ? "是" : "否", n.value.propertyValue.value.exist = u, r.value.stateMachineValue.value.exist = u, B());
2831
2850
  }
2832
2851
  function E() {
2833
- p.value.propertyValue.value && p.value.propertyValue.value.includes("viewModel.stateMachine") && (r.value.customValue.value = "");
2852
+ s.value.propertyValue.value && s.value.propertyValue.value.includes("viewModel.stateMachine") && (r.value.customValue.value = "");
2834
2853
  }
2835
2854
  function w() {
2836
- p.value.propertyName = F(n.value.propertyName), p.value.propertyType = F(n.value.propertyType), p.value.propertyValue = F(n.value.propertyValue), p.value.hasPrefix = F(f);
2855
+ s.value.propertyName = F(n.value.propertyName), s.value.propertyType = F(n.value.propertyType), s.value.propertyValue = F(n.value.propertyValue), s.value.hasPrefix = F(f);
2837
2856
  }
2838
2857
  function B() {
2839
- if (!c.value)
2840
- switch (w(), p.value.propertyValue.type) {
2858
+ if (!d.value)
2859
+ switch (w(), s.value.propertyValue.type) {
2841
2860
  case "const":
2842
- (p.value.propertyType === "enum" && p.value.propertyValue.value !== "" || p.value.propertyType === "number" && p.value.propertyValue.value != null || p.value.propertyType === "string") && (x(), e.emit("propertyEditorValueChanged", p));
2861
+ (s.value.propertyType === "enum" && s.value.propertyValue.value !== "" || s.value.propertyType === "number" && s.value.propertyValue.value != null || s.value.propertyType === "string") && (x(), e.emit("propertyEditorValueChanged", s));
2843
2862
  break;
2844
2863
  case "variable":
2845
- p.value.propertyValue.value.path !== "" && (x(), e.emit("propertyEditorValueChanged", p));
2864
+ s.value.propertyValue.value.path !== "" && (x(), e.emit("propertyEditorValueChanged", s));
2846
2865
  break;
2847
2866
  case "custom":
2848
- x(), E(), e.emit("propertyEditorValueChanged", p);
2867
+ x(), E(), e.emit("propertyEditorValueChanged", s);
2849
2868
  break;
2850
2869
  case "expression":
2851
- i.value && e.emit("propertyEditorValueChanged", p);
2870
+ i.value && e.emit("propertyEditorValueChanged", s);
2852
2871
  break;
2853
2872
  case "stateMachine":
2854
- p.value.propertyValue.value.id && (x(), e.emit("propertyEditorValueChanged", p));
2873
+ s.value.propertyValue.value.id && (x(), e.emit("propertyEditorValueChanged", s));
2855
2874
  break;
2856
2875
  case "dataStates":
2857
- if (p.value.propertyValue.value !== "") {
2858
- x(), e.emit("propertyEditorValueChanged", p);
2876
+ if (s.value.propertyValue.value !== "") {
2877
+ x(), e.emit("propertyEditorValueChanged", s);
2859
2878
  break;
2860
2879
  }
2861
2880
  }
2862
2881
  }
2863
2882
  function b() {
2864
- n.value.propertyValue = r.value[`${s.value.id}Value`], v(), h(), C(), B(), p.value.isNewVariable = !1;
2883
+ n.value.propertyValue = r.value[`${c.value.id}Value`], v(), h(), C(), B(), s.value.isNewVariable = !1;
2865
2884
  }
2866
2885
  return {
2867
2886
  updateData: b,
2868
2887
  changeState: A,
2869
2888
  prefix: f,
2870
- propertyEditorValueChange: p
2889
+ propertyEditorValueChange: s
2871
2890
  };
2872
2891
  }
2873
2892
  var he = function(e, n) {
@@ -2893,22 +2912,22 @@ function Io(e, n, t, o) {
2893
2912
  });
2894
2913
  }
2895
2914
  return new (t || (t = Promise))(function(a, l) {
2896
- function u(c) {
2915
+ function u(d) {
2897
2916
  try {
2898
- i(o.next(c));
2899
- } catch (s) {
2900
- l(s);
2917
+ i(o.next(d));
2918
+ } catch (c) {
2919
+ l(c);
2901
2920
  }
2902
2921
  }
2903
- function d(c) {
2922
+ function p(d) {
2904
2923
  try {
2905
- i(o.throw(c));
2906
- } catch (s) {
2907
- l(s);
2924
+ i(o.throw(d));
2925
+ } catch (c) {
2926
+ l(c);
2908
2927
  }
2909
2928
  }
2910
- function i(c) {
2911
- c.done ? a(c.value) : r(c.value).then(u, d);
2929
+ function i(d) {
2930
+ d.done ? a(d.value) : r(d.value).then(u, p);
2912
2931
  }
2913
2932
  i((o = o.apply(e, n || [])).next());
2914
2933
  });
@@ -2922,11 +2941,11 @@ function at(e, n) {
2922
2941
  return this;
2923
2942
  }), l;
2924
2943
  function u(i) {
2925
- return function(c) {
2926
- return d([i, c]);
2944
+ return function(d) {
2945
+ return p([i, d]);
2927
2946
  };
2928
2947
  }
2929
- function d(i) {
2948
+ function p(i) {
2930
2949
  if (o) throw new TypeError("Generator is already executing.");
2931
2950
  for (; l && (l = 0, i[0] && (t = 0)), t; ) try {
2932
2951
  if (o = 1, r && (a = i[0] & 2 ? r.return : i[0] ? r.throw || ((a = r.return) && a.call(r), 0) : r.next) && !(a = a.call(r, i[1])).done) return a;
@@ -2964,8 +2983,8 @@ function at(e, n) {
2964
2983
  continue;
2965
2984
  }
2966
2985
  i = n.call(e, t);
2967
- } catch (c) {
2968
- i = [6, c], r = 0;
2986
+ } catch (d) {
2987
+ i = [6, d], r = 0;
2969
2988
  } finally {
2970
2989
  o = a = 0;
2971
2990
  }
@@ -3014,36 +3033,36 @@ function Oo(e, n, t) {
3014
3033
  return r = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), u("next"), u("throw"), u("return", l), r[Symbol.asyncIterator] = function() {
3015
3034
  return this;
3016
3035
  }, r;
3017
- function l(p) {
3036
+ function l(s) {
3018
3037
  return function(v) {
3019
- return Promise.resolve(v).then(p, s);
3038
+ return Promise.resolve(v).then(s, c);
3020
3039
  };
3021
3040
  }
3022
- function u(p, v) {
3023
- o[p] && (r[p] = function(h) {
3041
+ function u(s, v) {
3042
+ o[s] && (r[s] = function(h) {
3024
3043
  return new Promise(function(C, x) {
3025
- a.push([p, h, C, x]) > 1 || d(p, h);
3044
+ a.push([s, h, C, x]) > 1 || p(s, h);
3026
3045
  });
3027
- }, v && (r[p] = v(r[p])));
3046
+ }, v && (r[s] = v(r[s])));
3028
3047
  }
3029
- function d(p, v) {
3048
+ function p(s, v) {
3030
3049
  try {
3031
- i(o[p](v));
3050
+ i(o[s](v));
3032
3051
  } catch (h) {
3033
3052
  f(a[0][3], h);
3034
3053
  }
3035
3054
  }
3036
- function i(p) {
3037
- p.value instanceof Y ? Promise.resolve(p.value.v).then(c, s) : f(a[0][2], p);
3055
+ function i(s) {
3056
+ s.value instanceof Y ? Promise.resolve(s.value.v).then(d, c) : f(a[0][2], s);
3038
3057
  }
3039
- function c(p) {
3040
- d("next", p);
3058
+ function d(s) {
3059
+ p("next", s);
3041
3060
  }
3042
- function s(p) {
3043
- d("throw", p);
3061
+ function c(s) {
3062
+ p("throw", s);
3044
3063
  }
3045
- function f(p, v) {
3046
- p(v), a.shift(), a.length && d(a[0][0], a[0][1]);
3064
+ function f(s, v) {
3065
+ s(v), a.shift(), a.length && p(a[0][0], a[0][1]);
3047
3066
  }
3048
3067
  }
3049
3068
  function Do(e) {
@@ -3054,13 +3073,13 @@ function Do(e) {
3054
3073
  }, t);
3055
3074
  function o(a) {
3056
3075
  t[a] = e[a] && function(l) {
3057
- return new Promise(function(u, d) {
3058
- l = e[a](l), r(u, d, l.done, l.value);
3076
+ return new Promise(function(u, p) {
3077
+ l = e[a](l), r(u, p, l.done, l.value);
3059
3078
  });
3060
3079
  };
3061
3080
  }
3062
- function r(a, l, u, d) {
3063
- Promise.resolve(d).then(function(i) {
3081
+ function r(a, l, u, p) {
3082
+ Promise.resolve(p).then(function(i) {
3064
3083
  a({ value: i, done: u });
3065
3084
  }, l);
3066
3085
  }
@@ -3101,34 +3120,34 @@ var te = function() {
3101
3120
  if (l)
3102
3121
  if (this._parentage = null, Array.isArray(l))
3103
3122
  try {
3104
- for (var u = X(l), d = u.next(); !d.done; d = u.next()) {
3105
- var i = d.value;
3123
+ for (var u = X(l), p = u.next(); !p.done; p = u.next()) {
3124
+ var i = p.value;
3106
3125
  i.remove(this);
3107
3126
  }
3108
3127
  } catch (h) {
3109
3128
  n = { error: h };
3110
3129
  } finally {
3111
3130
  try {
3112
- d && !d.done && (t = u.return) && t.call(u);
3131
+ p && !p.done && (t = u.return) && t.call(u);
3113
3132
  } finally {
3114
3133
  if (n) throw n.error;
3115
3134
  }
3116
3135
  }
3117
3136
  else
3118
3137
  l.remove(this);
3119
- var c = this.initialTeardown;
3120
- if (I(c))
3138
+ var d = this.initialTeardown;
3139
+ if (I(d))
3121
3140
  try {
3122
- c();
3141
+ d();
3123
3142
  } catch (h) {
3124
3143
  a = h instanceof de ? h.errors : [h];
3125
3144
  }
3126
- var s = this._finalizers;
3127
- if (s) {
3145
+ var c = this._finalizers;
3146
+ if (c) {
3128
3147
  this._finalizers = null;
3129
3148
  try {
3130
- for (var f = X(s), p = f.next(); !p.done; p = f.next()) {
3131
- var v = p.value;
3149
+ for (var f = X(c), s = f.next(); !s.done; s = f.next()) {
3150
+ var v = s.value;
3132
3151
  try {
3133
3152
  De(v);
3134
3153
  } catch (h) {
@@ -3139,7 +3158,7 @@ var te = function() {
3139
3158
  o = { error: h };
3140
3159
  } finally {
3141
3160
  try {
3142
- p && !p.done && (r = f.return) && r.call(f);
3161
+ s && !s.done && (r = f.return) && r.call(f);
3143
3162
  } finally {
3144
3163
  if (o) throw o.error;
3145
3164
  }
@@ -3190,7 +3209,7 @@ var st = {
3190
3209
  Promise: void 0,
3191
3210
  useDeprecatedSynchronousErrorHandling: !1,
3192
3211
  useDeprecatedNextContext: !1
3193
- }, Lo = {
3212
+ }, jo = {
3194
3213
  setTimeout: function(e, n) {
3195
3214
  for (var t = [], o = 2; o < arguments.length; o++)
3196
3215
  t[o - 2] = arguments[o];
@@ -3202,11 +3221,11 @@ var st = {
3202
3221
  delegate: void 0
3203
3222
  };
3204
3223
  function ct(e) {
3205
- Lo.setTimeout(function() {
3224
+ jo.setTimeout(function() {
3206
3225
  throw e;
3207
3226
  });
3208
3227
  }
3209
- function Le() {
3228
+ function je() {
3210
3229
  }
3211
3230
  function re(e) {
3212
3231
  e();
@@ -3242,9 +3261,9 @@ var Fe = function(e) {
3242
3261
  this.unsubscribe();
3243
3262
  }
3244
3263
  }, n;
3245
- }(te), jo = Function.prototype.bind;
3264
+ }(te), Lo = Function.prototype.bind;
3246
3265
  function pe(e, n) {
3247
- return jo.call(e, n);
3266
+ return Lo.call(e, n);
3248
3267
  }
3249
3268
  var $o = function() {
3250
3269
  function e(n) {
@@ -3309,9 +3328,9 @@ function Uo(e) {
3309
3328
  }
3310
3329
  var Ro = {
3311
3330
  closed: !0,
3312
- next: Le,
3331
+ next: je,
3313
3332
  error: Uo,
3314
- complete: Le
3333
+ complete: je
3315
3334
  }, Me = function() {
3316
3335
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
3317
3336
  }();
@@ -3335,8 +3354,8 @@ var _ = function() {
3335
3354
  }, e.prototype.subscribe = function(n, t, o) {
3336
3355
  var r = this, a = qo(n) ? n : new be(n, t, o);
3337
3356
  return re(function() {
3338
- var l = r, u = l.operator, d = l.source;
3339
- a.add(u ? u.call(a, d) : d ? r._subscribe(a) : r._trySubscribe(a));
3357
+ var l = r, u = l.operator, p = l.source;
3358
+ a.add(u ? u.call(a, p) : p ? r._subscribe(a) : r._trySubscribe(a));
3340
3359
  }), a;
3341
3360
  }, e.prototype._trySubscribe = function(n) {
3342
3361
  try {
@@ -3346,13 +3365,13 @@ var _ = function() {
3346
3365
  }
3347
3366
  }, e.prototype.forEach = function(n, t) {
3348
3367
  var o = this;
3349
- return t = je(t), new t(function(r, a) {
3368
+ return t = Le(t), new t(function(r, a) {
3350
3369
  var l = new be({
3351
3370
  next: function(u) {
3352
3371
  try {
3353
3372
  n(u);
3354
- } catch (d) {
3355
- a(d), l.unsubscribe();
3373
+ } catch (p) {
3374
+ a(p), l.unsubscribe();
3356
3375
  }
3357
3376
  },
3358
3377
  error: a,
@@ -3371,7 +3390,7 @@ var _ = function() {
3371
3390
  return Ho(n)(this);
3372
3391
  }, e.prototype.toPromise = function(n) {
3373
3392
  var t = this;
3374
- return n = je(n), new n(function(o, r) {
3393
+ return n = Le(n), new n(function(o, r) {
3375
3394
  var a;
3376
3395
  t.subscribe(function(l) {
3377
3396
  return a = l;
@@ -3385,7 +3404,7 @@ var _ = function() {
3385
3404
  return new e(n);
3386
3405
  }, e;
3387
3406
  }();
3388
- function je(e) {
3407
+ function Le(e) {
3389
3408
  var n;
3390
3409
  return (n = e ?? st.Promise) !== null && n !== void 0 ? n : Promise;
3391
3410
  }
@@ -3417,22 +3436,22 @@ function dt(e, n, t, o, r) {
3417
3436
  var Wo = function(e) {
3418
3437
  z(n, e);
3419
3438
  function n(t, o, r, a, l, u) {
3420
- var d = e.call(this, t) || this;
3421
- return d.onFinalize = l, d.shouldUnsubscribe = u, d._next = o ? function(i) {
3439
+ var p = e.call(this, t) || this;
3440
+ return p.onFinalize = l, p.shouldUnsubscribe = u, p._next = o ? function(i) {
3422
3441
  try {
3423
3442
  o(i);
3424
- } catch (c) {
3425
- t.error(c);
3443
+ } catch (d) {
3444
+ t.error(d);
3426
3445
  }
3427
- } : e.prototype._next, d._error = a ? function(i) {
3446
+ } : e.prototype._next, p._error = a ? function(i) {
3428
3447
  try {
3429
3448
  a(i);
3430
- } catch (c) {
3431
- t.error(c);
3449
+ } catch (d) {
3450
+ t.error(d);
3432
3451
  } finally {
3433
3452
  this.unsubscribe();
3434
3453
  }
3435
- } : e.prototype._error, d._complete = r ? function() {
3454
+ } : e.prototype._error, p._complete = r ? function() {
3436
3455
  try {
3437
3456
  r();
3438
3457
  } catch (i) {
@@ -3440,7 +3459,7 @@ var Wo = function(e) {
3440
3459
  } finally {
3441
3460
  this.unsubscribe();
3442
3461
  }
3443
- } : e.prototype._complete, d;
3462
+ } : e.prototype._complete, p;
3444
3463
  }
3445
3464
  return n.prototype.unsubscribe = function() {
3446
3465
  var t;
@@ -3473,8 +3492,8 @@ var Wo = function(e) {
3473
3492
  o.currentObservers || (o.currentObservers = Array.from(o.observers));
3474
3493
  try {
3475
3494
  for (var l = X(o.currentObservers), u = l.next(); !u.done; u = l.next()) {
3476
- var d = u.value;
3477
- d.next(t);
3495
+ var p = u.value;
3496
+ p.next(t);
3478
3497
  }
3479
3498
  } catch (i) {
3480
3499
  r = { error: i };
@@ -3664,10 +3683,10 @@ var ft = function(e) {
3664
3683
  function vt(e) {
3665
3684
  return I(e == null ? void 0 : e.then);
3666
3685
  }
3667
- function mt(e) {
3686
+ function yt(e) {
3668
3687
  return I(e[Me]);
3669
3688
  }
3670
- function yt(e) {
3689
+ function mt(e) {
3671
3690
  return Symbol.asyncIterator && I(e == null ? void 0 : e[Symbol.asyncIterator]);
3672
3691
  }
3673
3692
  function ht(e) {
@@ -3718,13 +3737,13 @@ function Ee(e) {
3718
3737
  if (e instanceof _)
3719
3738
  return e;
3720
3739
  if (e != null) {
3721
- if (mt(e))
3740
+ if (yt(e))
3722
3741
  return rr(e);
3723
3742
  if (ft(e))
3724
3743
  return ar(e);
3725
3744
  if (vt(e))
3726
3745
  return ir(e);
3727
- if (yt(e))
3746
+ if (mt(e))
3728
3747
  return wt(e);
3729
3748
  if (gt(e))
3730
3749
  return lr(e);
@@ -3792,27 +3811,27 @@ function sr(e, n) {
3792
3811
  var t, o, r, a;
3793
3812
  return Io(this, void 0, void 0, function() {
3794
3813
  var l, u;
3795
- return at(this, function(d) {
3796
- switch (d.label) {
3814
+ return at(this, function(p) {
3815
+ switch (p.label) {
3797
3816
  case 0:
3798
- d.trys.push([0, 5, 6, 11]), t = Do(e), d.label = 1;
3817
+ p.trys.push([0, 5, 6, 11]), t = Do(e), p.label = 1;
3799
3818
  case 1:
3800
3819
  return [4, t.next()];
3801
3820
  case 2:
3802
- if (o = d.sent(), !!o.done) return [3, 4];
3821
+ if (o = p.sent(), !!o.done) return [3, 4];
3803
3822
  if (l = o.value, n.next(l), n.closed)
3804
3823
  return [2];
3805
- d.label = 3;
3824
+ p.label = 3;
3806
3825
  case 3:
3807
3826
  return [3, 1];
3808
3827
  case 4:
3809
3828
  return [3, 11];
3810
3829
  case 5:
3811
- return u = d.sent(), r = { error: u }, [3, 11];
3830
+ return u = p.sent(), r = { error: u }, [3, 11];
3812
3831
  case 6:
3813
- return d.trys.push([6, , 9, 10]), o && !o.done && (a = t.return) ? [4, a.call(t)] : [3, 8];
3832
+ return p.trys.push([6, , 9, 10]), o && !o.done && (a = t.return) ? [4, a.call(t)] : [3, 8];
3814
3833
  case 7:
3815
- d.sent(), d.label = 8;
3834
+ p.sent(), p.label = 8;
3816
3835
  case 8:
3817
3836
  return [3, 10];
3818
3837
  case 9:
@@ -3908,15 +3927,15 @@ function Tt(e, n) {
3908
3927
  function vr(e, n) {
3909
3928
  return Tt(St(e), n);
3910
3929
  }
3911
- function mr(e, n) {
3930
+ function yr(e, n) {
3912
3931
  if (e != null) {
3913
- if (mt(e))
3932
+ if (yt(e))
3914
3933
  return cr(e, n);
3915
3934
  if (ft(e))
3916
3935
  return pr(e, n);
3917
3936
  if (vt(e))
3918
3937
  return dr(e, n);
3919
- if (yt(e))
3938
+ if (mt(e))
3920
3939
  return Tt(e, n);
3921
3940
  if (gt(e))
3922
3941
  return fr(e, n);
@@ -3925,14 +3944,14 @@ function mr(e, n) {
3925
3944
  }
3926
3945
  throw ht(e);
3927
3946
  }
3928
- function yr(e, n) {
3929
- return n ? mr(e, n) : Ee(e);
3947
+ function mr(e, n) {
3948
+ return n ? yr(e, n) : Ee(e);
3930
3949
  }
3931
3950
  function hr() {
3932
3951
  for (var e = [], n = 0; n < arguments.length; n++)
3933
3952
  e[n] = arguments[n];
3934
3953
  var t = nr(e);
3935
- return yr(e, t);
3954
+ return mr(e, t);
3936
3955
  }
3937
3956
  function br(e, n) {
3938
3957
  return n === void 0 && (n = Jo), Pe(function(t, o) {
@@ -3943,16 +3962,16 @@ function br(e, n) {
3943
3962
  a = null, o.next(i);
3944
3963
  }
3945
3964
  };
3946
- function d() {
3947
- var i = l + e, c = n.now();
3948
- if (c < i) {
3949
- r = this.schedule(void 0, i - c), o.add(r);
3965
+ function p() {
3966
+ var i = l + e, d = n.now();
3967
+ if (d < i) {
3968
+ r = this.schedule(void 0, i - d), o.add(r);
3950
3969
  return;
3951
3970
  }
3952
3971
  u();
3953
3972
  }
3954
3973
  t.subscribe(dt(o, function(i) {
3955
- a = i, l = n.now(), r || (r = n.schedule(d, e), o.add(r));
3974
+ a = i, l = n.now(), r || (r = n.schedule(p, e), o.add(r));
3956
3975
  }, function() {
3957
3976
  u(), o.complete();
3958
3977
  }, void 0, function() {
@@ -3967,9 +3986,9 @@ const fe = /* @__PURE__ */ q({
3967
3986
  setup(e, n) {
3968
3987
  const t = y(kn), o = y(""), r = y("const"), a = y([]), l = y(!1);
3969
3988
  let u;
3970
- const d = y(""), i = y(""), c = y([]);
3971
- let s;
3972
- const f = y([]), p = y("是");
3989
+ const p = y(""), i = y(""), d = y([]);
3990
+ let c;
3991
+ const f = y([]), s = y("是");
3973
3992
  y("");
3974
3993
  const v = y(!1), h = y("<span class='f-icon f-icon-more-horizontal'></span>"), C = y(!1), x = y([]), {
3975
3994
  numberConstValue: A,
@@ -3978,12 +3997,12 @@ const fe = /* @__PURE__ */ q({
3978
3997
  dataStatesValueArray: B,
3979
3998
  constEnumBindValue: b,
3980
3999
  setValue: T
3981
- } = ko(t, a, r, s, p, o, v), {
4000
+ } = ko(t, a, r, c, s, o, v), {
3982
4001
  updateData: P,
3983
4002
  changeState: $,
3984
4003
  prefix: Q,
3985
4004
  propertyEditorValueChange: R
3986
- } = No(n, t, b, a, k, f, s, p, B, o, C, r);
4005
+ } = No(n, t, b, a, k, f, c, s, B, o, C, r);
3987
4006
  function K() {
3988
4007
  x.value = An.value.filter((m) => t.value.editorOptions.types.includes(m.id));
3989
4008
  }
@@ -3994,7 +4013,7 @@ const fe = /* @__PURE__ */ q({
3994
4013
  M(), r.value.id === "variable" && t.value.propertyValue.value === void 0 && (t.value.propertyValue = F(k.value.variableValue)), k.value[`${r.value.id}Value`] = F(t.value.propertyValue), T();
3995
4014
  }
3996
4015
  function ne(m) {
3997
- r.value = F(x.value.find((O) => O.label === m[0].label)), r.value.id === "expression" && (k.value.expressionValue.value && (o.value = k.value.expressionValue.value.value), v.value = !0), r.value.id === "custom" && Lt(), P();
4016
+ r.value = F(x.value.find((O) => O.label === m[0].label)), r.value.id === "expression" && (k.value.expressionValue.value && (o.value = k.value.expressionValue.value.value), v.value = !0), r.value.id === "custom" && jt(), P();
3998
4017
  }
3999
4018
  function ce(m) {
4000
4019
  b.value = F(m.value), t.value.propertyValue.value = F(m.value), k.value.constValue.value = F(m.value), P();
@@ -4021,7 +4040,7 @@ const fe = /* @__PURE__ */ q({
4021
4040
  }
4022
4041
  function At(m) {
4023
4042
  var O;
4024
- m === ((O = t.value.editorOptions.variables) == null ? void 0 : O.length) && (t.value.propertyValue.value.category = "local", t.value.propertyValue.value.path = u, t.value.propertyValue.value.field = d, t.value.propertyValue.value.fullPath = u, t.value.propertyValue.value.newVariableType = t.value.editorOptions.newVariableType, R.value.isNewVariable = !0, t.value.editorOptions.variables.push(F(t.value.propertyValue.value)), k.value.variableValue.value = F(t.value.propertyValue.value));
4043
+ m === ((O = t.value.editorOptions.variables) == null ? void 0 : O.length) && (t.value.propertyValue.value.category = "local", t.value.propertyValue.value.path = u, t.value.propertyValue.value.field = p, t.value.propertyValue.value.fullPath = u, t.value.propertyValue.value.newVariableType = t.value.editorOptions.newVariableType, R.value.isNewVariable = !0, t.value.editorOptions.variables.push(F(t.value.propertyValue.value)), k.value.variableValue.value = F(t.value.propertyValue.value));
4025
4044
  }
4026
4045
  function kt(m) {
4027
4046
  !m || !m.selections || m.selections.length < 1 || (k.value.variableValue.value.category = F(m.selections[0].category), k.value.variableValue.value.path = F(m.selections[0].path), k.value.variableValue.value.fullPath = F(m.selections[0].fullPath), k.value.variableValue.value.field = F(m.selections[0].field), E.value = F(m.value), P());
@@ -4030,13 +4049,13 @@ const fe = /* @__PURE__ */ q({
4030
4049
  t.value.propertyValue.value.category = "", t.value.propertyValue.value.path = "", t.value.propertyValue.value.field = "", t.value.propertyValue.value.fullPath = "", r.value.id === "variable" && (E.value = t.value.propertyValue.value.path), P();
4031
4050
  }
4032
4051
  function Ae() {
4033
- c.value = F(t.value.editorOptions.variables);
4052
+ d.value = F(t.value.editorOptions.variables);
4034
4053
  }
4035
4054
  const It = (m) => {
4036
4055
  const O = t.value.editorOptions.getVariables, U = {
4037
4056
  showDialog: !0
4038
4057
  };
4039
- return O && (c.value = O(), m && (m.data = c)), hr(U);
4058
+ return O && (d.value = O(), m && (m.data = d)), hr(U);
4040
4059
  };
4041
4060
  function Ot(m) {
4042
4061
  const O = {
@@ -4044,18 +4063,18 @@ const fe = /* @__PURE__ */ q({
4044
4063
  name: m[0].exist,
4045
4064
  exist: m[0].name
4046
4065
  };
4047
- k.value.stateMachineValue.value = F(O), p.value = t.value.propertyValue.value.exist === "是" ? "是" : "否", s = F(O.id), P();
4066
+ k.value.stateMachineValue.value = F(O), s.value = t.value.propertyValue.value.exist === "是" ? "是" : "否", c = F(O.id), P();
4048
4067
  }
4049
4068
  function Dt() {
4050
- f.value = F(t.value.editorOptions.stateMachine), p.value = k.value.stateMachineValue.value.exist === "是" ? "是" : "否";
4069
+ f.value = F(t.value.editorOptions.stateMachine), s.value = k.value.stateMachineValue.value.exist === "是" ? "是" : "否";
4051
4070
  }
4052
4071
  const ke = new pt();
4053
- function Lt() {
4072
+ function jt() {
4054
4073
  ke.pipe(br(700)).subscribe((m) => {
4055
4074
  k.value.customValue.value = m, P();
4056
4075
  });
4057
4076
  }
4058
- function jt(m) {
4077
+ function Lt(m) {
4059
4078
  ke.next(m);
4060
4079
  }
4061
4080
  function $t() {
@@ -4081,7 +4100,7 @@ const fe = /* @__PURE__ */ q({
4081
4100
  enableClear: !0,
4082
4101
  valueField: "path",
4083
4102
  textField: "fullPath",
4084
- data: c.value,
4103
+ data: d.value,
4085
4104
  beforeShow: It,
4086
4105
  readonly: C.value,
4087
4106
  editable: !1,
@@ -4105,7 +4124,7 @@ const fe = /* @__PURE__ */ q({
4105
4124
  class: "form-control",
4106
4125
  placeholder: "输入自定义内容",
4107
4126
  "onUpdate:modelValue": (m) => k.value.customValue.value = m,
4108
- onChange: (m) => jt(m.target.value),
4127
+ onChange: (m) => Lt(m.target.value),
4109
4128
  disabled: C.value
4110
4129
  }, null), [[Oe, k.value.customValue.value]])]);
4111
4130
  }
@@ -4128,12 +4147,12 @@ const fe = /* @__PURE__ */ q({
4128
4147
  }, [S("div", {
4129
4148
  class: "f-stateMachine-exist",
4130
4149
  onClick: $
4131
- }, [p.value]), S("div", {
4150
+ }, [s.value]), S("div", {
4132
4151
  class: "f-stateMachine-combo",
4133
4152
  style: "border:unset"
4134
4153
  }, [S(H, {
4135
- modelValue: s,
4136
- "onUpdate:modelValue": (m) => s = m,
4154
+ modelValue: c,
4155
+ "onUpdate:modelValue": (m) => c = m,
4137
4156
  placeholder: "",
4138
4157
  viewType: "text",
4139
4158
  enableClear: !1,
@@ -4230,7 +4249,7 @@ const fe = /* @__PURE__ */ q({
4230
4249
  }
4231
4250
  return G(() => {
4232
4251
  K(), D(), Ae(), Dt(), t.value.hasPrefix && t.value.hasPrefix === 2 && (Q.value = !0), t.value.controlName !== void 0 && (l.value = !0);
4233
- }), () => S(me, null, [S("div", {
4252
+ }), () => S(ye, null, [S("div", {
4234
4253
  class: "f-page-single-property-editor-component clearfix"
4235
4254
  }, [Yt(), Zt()])]);
4236
4255
  }