@farris/ui-vue 1.3.0 → 1.3.1

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 (201) hide show
  1. package/components/accordion/index.esm.js +1 -1
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +472 -366
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +1 -1
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +472 -480
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +225 -233
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/checkbox/index.esm.js +615 -517
  12. package/components/checkbox/index.umd.cjs +1 -1
  13. package/components/color-picker/index.esm.js +325 -333
  14. package/components/color-picker/index.umd.cjs +2 -2
  15. package/components/combo-list/index.esm.js +578 -472
  16. package/components/combo-list/index.umd.cjs +1 -1
  17. package/components/combo-tree/index.esm.js +49 -49
  18. package/components/combo-tree/index.umd.cjs +1 -1
  19. package/components/common/index.esm.js +832 -722
  20. package/components/common/index.umd.cjs +1 -1
  21. package/components/component/index.esm.js +303 -981
  22. package/components/component/index.umd.cjs +1 -1
  23. package/components/condition/index.esm.js +8 -8
  24. package/components/condition/index.umd.cjs +1 -1
  25. package/components/content-container/index.esm.js +335 -1002
  26. package/components/content-container/index.umd.cjs +1 -1
  27. package/components/data-grid/index.esm.js +4429 -4312
  28. package/components/data-grid/index.umd.cjs +1 -1
  29. package/components/data-view/index.esm.js +3037 -3020
  30. package/components/data-view/index.umd.cjs +1 -1
  31. package/components/date-picker/index.esm.js +2216 -2119
  32. package/components/date-picker/index.umd.cjs +1 -1
  33. package/components/designer-canvas/index.css +1 -1
  34. package/components/designer-canvas/index.esm.js +914 -883
  35. package/components/designer-canvas/index.umd.cjs +1 -1
  36. package/components/dropdown/index.esm.js +223 -231
  37. package/components/dropdown/index.umd.cjs +2 -2
  38. package/components/dynamic-form/index.esm.js +1691 -2187
  39. package/components/dynamic-form/index.umd.cjs +1 -1
  40. package/components/dynamic-resolver/index.esm.js +143 -136
  41. package/components/dynamic-resolver/index.umd.cjs +1 -1
  42. package/components/events-editor/index.esm.js +250 -258
  43. package/components/events-editor/index.umd.cjs +1 -1
  44. package/components/expression-editor/index.esm.js +1 -1
  45. package/components/expression-editor/index.umd.cjs +1 -1
  46. package/components/external-container/index.esm.js +2672 -3438
  47. package/components/external-container/index.umd.cjs +1 -1
  48. package/components/field-selector/index.esm.js +2965 -2970
  49. package/components/field-selector/index.umd.cjs +1 -1
  50. package/components/filter-bar/index.esm.js +1650 -1602
  51. package/components/filter-bar/index.umd.cjs +1 -1
  52. package/components/flow-canvas/index.css +1 -1
  53. package/components/flow-canvas/index.esm.js +684 -675
  54. package/components/flow-canvas/index.umd.cjs +1 -1
  55. package/components/image-cropper/index.esm.js +453 -461
  56. package/components/image-cropper/index.umd.cjs +1 -1
  57. package/components/input-group/index.esm.js +604 -507
  58. package/components/input-group/index.umd.cjs +1 -1
  59. package/components/layout/index.esm.js +402 -378
  60. package/components/layout/index.umd.cjs +1 -1
  61. package/components/list-nav/index.esm.js +348 -1019
  62. package/components/list-nav/index.umd.cjs +1 -1
  63. package/components/list-view/index.esm.js +1658 -1666
  64. package/components/list-view/index.umd.cjs +1 -1
  65. package/components/lookup/index.esm.js +5209 -5088
  66. package/components/lookup/index.umd.cjs +1 -1
  67. package/components/mapping-editor/index.esm.js +4329 -4213
  68. package/components/mapping-editor/index.umd.cjs +1 -1
  69. package/components/nav/index.esm.js +905 -1357
  70. package/components/nav/index.umd.cjs +3 -3
  71. package/components/number-range/index.esm.js +517 -420
  72. package/components/number-range/index.umd.cjs +1 -1
  73. package/components/number-spinner/index.esm.js +588 -491
  74. package/components/number-spinner/index.umd.cjs +1 -1
  75. package/components/order/index.esm.js +1376 -1965
  76. package/components/order/index.umd.cjs +1 -1
  77. package/components/page-footer/index.esm.js +1 -1
  78. package/components/page-footer/index.umd.cjs +1 -1
  79. package/components/page-header/index.esm.js +1073 -1905
  80. package/components/page-header/index.umd.cjs +1 -1
  81. package/components/pagination/index.esm.js +809 -1237
  82. package/components/pagination/index.umd.cjs +1 -1
  83. package/components/progress/index.esm.js +198 -206
  84. package/components/progress/index.umd.cjs +3 -3
  85. package/components/property-editor/index.esm.js +1297 -1200
  86. package/components/property-editor/index.umd.cjs +2 -2
  87. package/components/property-panel/index.esm.js +609 -507
  88. package/components/property-panel/index.umd.cjs +1 -1
  89. package/components/query-solution/index.esm.js +3391 -3758
  90. package/components/query-solution/index.umd.cjs +1 -1
  91. package/components/radio-button/index.esm.js +1 -1
  92. package/components/radio-button/index.umd.cjs +1 -1
  93. package/components/radio-group/index.esm.js +544 -447
  94. package/components/radio-group/index.umd.cjs +1 -1
  95. package/components/rate/index.esm.js +247 -255
  96. package/components/rate/index.umd.cjs +1 -1
  97. package/components/response-layout/index.esm.js +146 -154
  98. package/components/response-layout/index.umd.cjs +1 -1
  99. package/components/response-layout-editor/index.esm.js +700 -675
  100. package/components/response-layout-editor/index.umd.cjs +1 -1
  101. package/components/response-toolbar/index.esm.js +956 -1786
  102. package/components/response-toolbar/index.umd.cjs +1 -1
  103. package/components/schema-selector/index.esm.js +4963 -5617
  104. package/components/schema-selector/index.umd.cjs +2 -2
  105. package/components/search-box/index.esm.js +158 -161
  106. package/components/search-box/index.umd.cjs +1 -1
  107. package/components/section/index.esm.js +436 -1124
  108. package/components/section/index.umd.cjs +1 -1
  109. package/components/smoke-detector/index.esm.js +92 -100
  110. package/components/smoke-detector/index.umd.cjs +1 -1
  111. package/components/splitter/index.esm.js +571 -1210
  112. package/components/splitter/index.umd.cjs +1 -1
  113. package/components/splitter/style.js +2 -0
  114. package/components/step/index.esm.js +239 -247
  115. package/components/step/index.umd.cjs +1 -1
  116. package/components/switch/index.esm.js +445 -348
  117. package/components/switch/index.umd.cjs +1 -1
  118. package/components/tabs/index.esm.js +2278 -3031
  119. package/components/tabs/index.umd.cjs +1 -1
  120. package/components/tags/index.esm.js +311 -319
  121. package/components/tags/index.umd.cjs +1 -1
  122. package/components/text/index.esm.js +215 -223
  123. package/components/text/index.umd.cjs +1 -1
  124. package/components/textarea/index.esm.js +468 -371
  125. package/components/textarea/index.umd.cjs +1 -1
  126. package/components/time-picker/index.esm.js +1271 -1174
  127. package/components/time-picker/index.umd.cjs +1 -1
  128. package/components/transfer/index.esm.js +469 -477
  129. package/components/transfer/index.umd.cjs +1 -1
  130. package/components/tree-grid/index.esm.js +3060 -3065
  131. package/components/tree-grid/index.umd.cjs +1 -1
  132. package/components/tree-view/index.esm.js +2476 -2481
  133. package/components/tree-view/index.umd.cjs +1 -1
  134. package/components/uploader/index.esm.js +374 -382
  135. package/components/uploader/index.umd.cjs +2 -2
  136. package/components/verify-detail/index.esm.js +248 -256
  137. package/components/verify-detail/index.umd.cjs +1 -1
  138. package/components/video/index.esm.js +414 -1093
  139. package/components/video/index.umd.cjs +1 -1
  140. package/components/weather/index.esm.js +498 -506
  141. package/components/weather/index.umd.cjs +5 -5
  142. package/farris.all.esm.js +20216 -21844
  143. package/farris.all.umd.cjs +9 -9
  144. package/index.css +1 -1
  145. package/package.json +1 -1
  146. package/types/common/directive/area-response.d.ts +10 -0
  147. package/types/common/index.d.ts +8 -0
  148. package/types/common/radio-checkbox/radio-checkbox.props.d.ts +1 -0
  149. package/types/common/utils/resolve-field.d.ts +2 -0
  150. package/types/common/utils/use-class.d.ts +7 -0
  151. package/types/component/src/designer/use-designer-rules.d.ts +2 -2
  152. package/types/condition/src/types.d.ts +2 -1
  153. package/types/content-container/src/designer/use-designer-rules.d.ts +3 -3
  154. package/types/data-grid/index.d.ts +8 -5
  155. package/types/data-grid/src/data-grid.component.d.ts +3 -2
  156. package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
  157. package/types/data-grid/src/designer/use-designer-rules.d.ts +2 -2
  158. package/types/data-view/components/row/hierarchy-row.component.d.ts +2 -2
  159. package/types/data-view/composition/data/use-tree-data.d.ts +1 -1
  160. package/types/data-view/composition/types.d.ts +7 -9
  161. package/types/designer-canvas/index.d.ts +2 -1
  162. package/types/designer-canvas/src/composition/rule/use-dragula-common-rule.d.ts +4 -0
  163. package/types/designer-canvas/src/composition/rule/use-template-rule.d.ts +30 -0
  164. package/types/designer-canvas/src/composition/types.d.ts +1 -2
  165. package/types/designer-canvas/src/types.d.ts +2 -1
  166. package/types/dynamic-form/src/designer/response-form.design.component.d.ts +7 -1
  167. package/types/dynamic-form/src/designer/use-designer-rules.d.ts +2 -2
  168. package/types/dynamic-form/src/property-config/form.property-config.d.ts +1 -1
  169. package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +1 -1
  170. package/types/external-container/src/designer/use-designer-rules.d.ts +3 -3
  171. package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +3 -3
  172. package/types/list-nav/src/designer/use-designer-rules.d.ts +3 -0
  173. package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +2 -2
  174. package/types/pagination/src/components/buttons/next-buttons.component.d.ts +2 -2
  175. package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +2 -2
  176. package/types/pagination/src/components/pages/page-list.component.d.ts +2 -2
  177. package/types/pagination/src/components/pages/page-number.component.d.ts +2 -2
  178. package/types/property-panel/index.d.ts +2 -1
  179. package/types/property-panel/src/composition/entity/input-base-property.d.ts +1 -1
  180. package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +34 -27
  181. package/types/query-solution/src/designer/query-solution-config/composition/use-panel.d.ts +2 -16
  182. package/types/query-solution/src/designer/query-solution-config/composition/use-property.d.ts +19 -0
  183. package/types/query-solution/src/designer/query-solution-config/composition/use-querysolution-rules.d.ts +3 -0
  184. package/types/query-solution/src/designer/query-solution-config/composition/use-transfer.d.ts +1 -1
  185. package/types/query-solution/src/property-config/query-solution.property-config.d.ts +60 -0
  186. package/types/query-solution/src/solutions.d.ts +108 -509
  187. package/types/response-layout-editor/index.d.ts +3 -1
  188. package/types/response-toolbar/src/designer/use-designer-rules.d.ts +3 -3
  189. package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -0
  190. package/types/section/src/designer/use-designer-rules.d.ts +3 -3
  191. package/types/splitter/src/components/splitter-pane.component.d.ts +1 -1
  192. package/types/splitter/src/designer/splitter-pane-use-designer-rules.d.ts +3 -3
  193. package/types/splitter/src/designer/splitter-use-designer-rules.d.ts +3 -3
  194. package/types/tabs/src/designer/tab-page-use-designer-rules.d.ts +3 -3
  195. package/types/tabs/src/designer/tab-use-designer-rules.d.ts +3 -3
  196. package/types/tree-grid/index.d.ts +3 -3
  197. package/types/tree-grid/src/tree-grid.component.d.ts +1 -1
  198. package/types/designer-canvas/src/composition/rule/use-drag-drop-rules.d.ts +0 -19
  199. package/types/designer-canvas/src/composition/use-dragula-common-rule.d.ts +0 -4
  200. package/types/list-nav/src/composition/use-designer-rules.d.ts +0 -3
  201. package/types/query-solution/src/designer/query-solution-config/composition/mock-data.d.ts +0 -6
@@ -1,34 +1,33 @@
1
1
  var on = Object.defineProperty;
2
2
  var rn = (e, n, t) => n in e ? on(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
- var $ = (e, n, t) => rn(e, typeof n != "symbol" ? n + "" : n, t);
4
- import { ref as v, defineComponent as G, computed as w, watch as O, createVNode as g, Teleport as an, createApp as ln, onUnmounted as un, inject as z, nextTick as le, onMounted as q, mergeProps as sn, reactive as cn, withDirectives as he, resolveDirective as dn, Fragment as be, vModelText as Le } from "vue";
5
- import { isPlainObject as $e, cloneDeep as B } from "lodash-es";
3
+ var I = (e, n, t) => rn(e, typeof n != "symbol" ? n + "" : n, t);
4
+ import { ref as m, defineComponent as R, computed as x, watch as O, createVNode as S, Teleport as an, createApp as ln, onUnmounted as un, inject as W, nextTick as ae, onMounted as _, mergeProps as sn, reactive as cn, withDirectives as he, resolveDirective as dn, Fragment as be, vModelText as je } from "vue";
5
+ import { isPlainObject as Le, cloneDeep as F } from "lodash-es";
6
6
  import pn from "../list-view/index.esm.js";
7
7
  import fn from "../button-edit/index.esm.js";
8
- import { resolveAppearance as yn, getSchemaByType as De } from "../dynamic-resolver/index.esm.js";
9
- import { useDesignerComponent as We } from "../designer-canvas/index.esm.js";
10
- import { useResponseLayoutEditorSetting as vn } from "../response-layout-editor/index.esm.js/src/composition/converter/use-response-layout-editor-setting";
8
+ import { resolveAppearance as yn } from "../dynamic-resolver/index.esm.js";
9
+ import { useDesignerComponent as We, DgControl as De } from "../designer-canvas/index.esm.js";
11
10
  import D from "bignumber.js";
12
- import { useNumber as mn, useFormat as hn, useSpinner as bn, useTextBox as gn } from "../number-spinner/index.esm.js";
13
- const ze = {}, Ye = {};
14
- function we(e) {
15
- const { properties: n, title: t, ignore: o } = e, r = o && Array.isArray(o), a = Object.keys(n).reduce((l, u) => ((!r || !o.find((s) => s == u)) && (l[u] = n[u].type === "object" && n[u].properties ? we(n[u]) : B(n[u].default)), l), {});
16
- return (!r || !o.find((l) => l == "id")) && (a.id = `${t}-${Date.now()}`), a;
11
+ import { useNumber as vn, useFormat as mn, useSpinner as hn, useTextBox as bn } from "../number-spinner/index.esm.js";
12
+ const He = {}, ze = {};
13
+ function Se(e) {
14
+ const { properties: n, title: t, ignore: o } = e, r = o && Array.isArray(o), a = Object.keys(n).reduce((l, s) => ((!r || !o.find((c) => c == s)) && (l[s] = n[s].type === "object" && n[s].properties ? Se(n[s]) : F(n[s].default)), l), {});
15
+ return t && (!r || !o.find((l) => l == "id")) && (a.id = `${t}-${Date.now()}`), a;
17
16
  }
18
- function ge(e, n = {}, t) {
19
- const o = ze[e];
17
+ function Ye(e, n = {}, t) {
18
+ const o = He[e];
20
19
  if (o) {
21
- let r = we(o);
22
- const a = Ye[e];
23
- return r = a ? a({ getSchemaByType: ge }, r, n, t) : r, r;
20
+ let r = Se(o);
21
+ const a = ze[e];
22
+ return r = a ? a({ getSchemaByType: Ye }, r, n, t) : r, r;
24
23
  }
25
24
  return null;
26
25
  }
27
- function Cn(e, n) {
28
- const t = we(n);
29
- return Object.keys(e).reduce((o, r) => (o[r] && $e(o[r]) && $e(e[r]) ? Object.assign(o[r], e[r]) : o[r] = e[r], o), t), t;
26
+ function gn(e, n) {
27
+ const t = Se(n);
28
+ return Object.keys(e).reduce((o, r) => (o[r] && Le(o[r]) && Le(e[r]) ? Object.assign(o[r], e[r]) : o[r] = e[r], o), t), t;
30
29
  }
31
- function Sn(e, n) {
30
+ function Cn(e, n) {
32
31
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, r) => {
33
32
  if (n.has(r)) {
34
33
  const a = n.get(r);
@@ -43,16 +42,16 @@ function Sn(e, n) {
43
42
  return o;
44
43
  }, {});
45
44
  }
46
- function wn(e, n, t = /* @__PURE__ */ new Map()) {
47
- const o = Cn(e, n);
48
- return Sn(o, t);
45
+ function Sn(e, n, t = /* @__PURE__ */ new Map()) {
46
+ const o = gn(e, n);
47
+ return Cn(o, t);
49
48
  }
50
- function xn(e = {}) {
51
- function n(i, d, c, f) {
52
- if (typeof c == "number")
53
- return f[i].length === c;
54
- if (typeof c == "object") {
55
- const p = Object.keys(c)[0], y = c[p];
49
+ function wn(e = {}) {
50
+ function n(i, d, u, f) {
51
+ if (typeof u == "number")
52
+ return f[i].length === u;
53
+ if (typeof u == "object") {
54
+ const p = Object.keys(u)[0], y = u[p];
56
55
  if (p === "not")
57
56
  return Number(f[i].length) !== Number(y);
58
57
  if (p === "moreThan")
@@ -62,8 +61,8 @@ function xn(e = {}) {
62
61
  }
63
62
  return !1;
64
63
  }
65
- function t(i, d, c, f) {
66
- return f[i] && f[i].propertyValue && String(f[i].propertyValue.value) === String(c);
64
+ function t(i, d, u, f) {
65
+ return f[i] && f[i].propertyValue && String(f[i].propertyValue.value) === String(u);
67
66
  }
68
67
  const o = /* @__PURE__ */ new Map([
69
68
  ["length", n],
@@ -71,37 +70,37 @@ function xn(e = {}) {
71
70
  ]);
72
71
  Object.keys(e).reduce((i, d) => (i.set(d, e[d]), i), o);
73
72
  function r(i, d) {
74
- const c = i;
75
- 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) => {
73
+ const u = i;
74
+ return typeof d == "number" ? [{ target: u, operator: "length", param: null, value: Number(d) }] : typeof d == "boolean" ? [{ target: u, operator: "getProperty", param: i, value: !!d }] : typeof d == "object" ? Object.keys(d).map((f) => {
76
75
  if (f === "length")
77
- return { target: c, operator: "length", param: null, value: d[f] };
76
+ return { target: u, operator: "length", param: null, value: d[f] };
78
77
  const p = f, y = d[f];
79
- return { target: c, operator: "getProperty", param: p, value: y };
78
+ return { target: u, operator: "getProperty", param: p, value: y };
80
79
  }) : [];
81
80
  }
82
81
  function a(i) {
83
- return Object.keys(i).reduce((c, f) => {
82
+ return Object.keys(i).reduce((u, f) => {
84
83
  const p = r(f, i[f]);
85
- return c.push(...p), c;
84
+ return u.push(...p), u;
86
85
  }, []);
87
86
  }
88
87
  function l(i, d) {
89
88
  if (o.has(i.operator)) {
90
- const c = o.get(i.operator);
91
- return c && c(i.target, i.param, i.value, d) || !1;
89
+ const u = o.get(i.operator);
90
+ return u && u(i.target, i.param, i.value, d) || !1;
92
91
  }
93
92
  return !1;
94
93
  }
95
- function u(i, d) {
94
+ function s(i, d) {
96
95
  return a(i).reduce((p, y) => p && l(y, d), !0);
97
96
  }
98
- function s(i, d) {
99
- const c = Object.keys(i), f = c.includes("allOf"), p = c.includes("anyOf"), y = f || p, S = (y ? i[y ? f ? "allOf" : "anyOf" : "allOf"] : [i]).map((M) => u(M, d));
100
- return f ? !S.includes(!1) : S.includes(!0);
97
+ function c(i, d) {
98
+ const u = Object.keys(i), f = u.includes("allOf"), p = u.includes("anyOf"), y = f || p, g = (y ? i[y ? f ? "allOf" : "anyOf" : "allOf"] : [i]).map((E) => s(E, d));
99
+ return f ? !g.includes(!1) : g.includes(!0);
101
100
  }
102
- return { parseValueSchema: s };
101
+ return { parseValueSchema: c };
103
102
  }
104
- const V = {
103
+ const B = {
105
104
  button: { type: "button", name: "按钮", icon: "Button" },
106
105
  "response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
107
106
  "response-toolbar-item": { type: "response-toolbar-item", name: "按钮", icon: "Button" },
@@ -140,24 +139,24 @@ const V = {
140
139
  "page-footer": { type: "page-footer", name: "页脚", icon: "ModalFooter" },
141
140
  "tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏", icon: "TabToolbar" },
142
141
  fieldset: { type: "fieldset", name: "分组", icon: "fieldset" }
143
- }, Vn = {}, Bn = {};
144
- xn();
145
- function ne(e, n, t = /* @__PURE__ */ new Map(), o = (l, u, s) => u, r = {}, a = (l) => l) {
146
- return ze[n.title] = n, Ye[n.title] = o, Vn[n.title] = r, Bn[n.title] = a, (l = {}) => {
147
- const u = wn(l, n, t), s = Object.keys(e).reduce((i, d) => (i[d] = e[d].default, i), {});
148
- return Object.assign(s, u);
142
+ }, xn = {}, Vn = {};
143
+ wn();
144
+ function ee(e, n, t = /* @__PURE__ */ new Map(), o = (l, s, c) => s, r = {}, a = (l) => l) {
145
+ return He[n.title] = n, ze[n.title] = o, xn[n.title] = r, Vn[n.title] = a, (l = {}) => {
146
+ const s = Sn(l, n, t), c = Object.keys(e).reduce((i, d) => (i[d] = e[d].default, i), {});
147
+ return Object.assign(c, s);
149
148
  };
150
149
  }
151
- function pe(e, n) {
150
+ function ce(e, n) {
152
151
  return { customClass: n.class, customStyle: n.style };
153
152
  }
154
- const Tn = /* @__PURE__ */ new Map([
155
- ["appearance", pe]
153
+ const Bn = /* @__PURE__ */ new Map([
154
+ ["appearance", ce]
156
155
  ]);
157
- function Fn(e, n, t) {
156
+ function Tn(e, n, t) {
158
157
  return n;
159
158
  }
160
- const kn = "https://json-schema.org/draft/2020-12/schema", En = "https://farris-design.gitee.io/property-editor.schema.json", Mn = "property-editor", An = "A Farris Component", Pn = "object", In = {
159
+ const Fn = "https://json-schema.org/draft/2020-12/schema", kn = "https://farris-design.gitee.io/property-editor.schema.json", Mn = "property-editor", En = "A Farris Component", In = "object", Pn = {
161
160
  id: {
162
161
  description: "The unique identifier for property-editor",
163
162
  type: "string"
@@ -219,18 +218,18 @@ const kn = "https://json-schema.org/draft/2020-12/schema", En = "https://farris-
219
218
  type: "boolean",
220
219
  default: !0
221
220
  }
222
- }, On = [
221
+ }, An = [
223
222
  "id",
224
223
  "type"
225
- ], Nn = {
226
- $schema: kn,
227
- $id: En,
224
+ ], On = {
225
+ $schema: Fn,
226
+ $id: kn,
228
227
  title: Mn,
229
- description: An,
230
- type: Pn,
231
- properties: In,
232
- required: On
233
- }, jn = "property-editor", Ln = "A Farris Component", $n = "object", Dn = {
228
+ description: En,
229
+ type: In,
230
+ properties: Pn,
231
+ required: An
232
+ }, Nn = "property-editor", jn = "A Farris Component", Ln = "object", Dn = {
234
233
  basic: {
235
234
  description: "Basic Infomation",
236
235
  title: "基本信息",
@@ -252,12 +251,12 @@ const kn = "https://json-schema.org/draft/2020-12/schema", En = "https://farris-
252
251
  }
253
252
  }
254
253
  }
255
- }, Rn = {
256
- title: jn,
257
- description: Ln,
258
- type: $n,
254
+ }, $n = {
255
+ title: Nn,
256
+ description: jn,
257
+ type: Ln,
259
258
  categories: Dn
260
- }, Ze = {}, Un = ne(Ze, Nn, Tn, Fn, Rn), P = v({
259
+ }, Ze = {}, Un = ee(Ze, On, Bn, Tn, $n), A = m({
261
260
  /** 常量值 */
262
261
  constValue: {
263
262
  /** 值类型:常量(const), 变量(variable), 状态机(state), 自定义(custom) */
@@ -295,7 +294,7 @@ const kn = "https://json-schema.org/draft/2020-12/schema", En = "https://farris-
295
294
  type: "dataStates",
296
295
  value: ""
297
296
  }
298
- }), _n = v([
297
+ }), Gn = m([
299
298
  {
300
299
  id: "const",
301
300
  label: "常量"
@@ -320,7 +319,7 @@ const kn = "https://json-schema.org/draft/2020-12/schema", En = "https://farris-
320
319
  id: "dataStates",
321
320
  label: "数据状态"
322
321
  }
323
- ]), Gn = {
322
+ ]), Rn = {
324
323
  controlName: "userName",
325
324
  propertyName: "readonly",
326
325
  propertyType: "enum",
@@ -445,9 +444,9 @@ const kn = "https://json-schema.org/draft/2020-12/schema", En = "https://farris-
445
444
  },
446
445
  /** 状态机是否有前缀viewModel.stateMachine && */
447
446
  hasPrefix: 2
448
- }, qn = /* @__PURE__ */ new Map([
449
- ["appearance", pe]
450
- ]), Hn = "https://json-schema.org/draft/2020-12/schema", Wn = "https://farris-design.gitee.io/combo-list.schema.json", zn = "combo-list", Yn = "A Farris Input Component", Zn = "object", Jn = {
447
+ }, _n = /* @__PURE__ */ new Map([
448
+ ["appearance", ce]
449
+ ]), qn = "https://json-schema.org/draft/2020-12/schema", Wn = "https://farris-design.gitee.io/combo-list.schema.json", Hn = "combo-list", zn = "A Farris Input Component", Yn = "object", Zn = {
451
450
  id: {
452
451
  description: "The unique identifier for a combo list",
453
452
  type: "string"
@@ -566,24 +565,24 @@ const kn = "https://json-schema.org/draft/2020-12/schema", En = "https://farris-
566
565
  }, Xn = [
567
566
  "id",
568
567
  "type"
569
- ], Qn = [
568
+ ], Jn = [
570
569
  "id",
571
570
  "appearance",
572
571
  "binding"
573
- ], Kn = {
574
- $schema: Hn,
572
+ ], Qn = {
573
+ $schema: qn,
575
574
  $id: Wn,
576
- title: zn,
577
- description: Yn,
578
- type: Zn,
579
- properties: Jn,
575
+ title: Hn,
576
+ description: zn,
577
+ type: Yn,
578
+ properties: Zn,
580
579
  required: Xn,
581
- ignore: Qn
580
+ ignore: Jn
582
581
  };
583
- function eo(e, n, t) {
582
+ function Kn(e, n, t) {
584
583
  return n;
585
584
  }
586
- const xe = {
585
+ const we = {
587
586
  /**
588
587
  * 组件标识
589
588
  */
@@ -749,7 +748,7 @@ const xe = {
749
748
  },
750
749
  // 搜索启用高亮
751
750
  enableHighlightSearch: { type: Boolean, default: !0 }
752
- }, Je = ne(xe, Kn, qn, eo), to = {
751
+ }, Xe = ee(we, Qn, _n, Kn), eo = {
753
752
  dataSource: { type: Array, default: [] },
754
753
  enableSearch: { type: Boolean, default: !1 },
755
754
  idField: { type: String, default: "id" },
@@ -770,12 +769,12 @@ const xe = {
770
769
  },
771
770
  // 搜索启用高亮
772
771
  enableHighlightSearch: { type: Boolean, default: !0 }
773
- }, no = /* @__PURE__ */ G({
772
+ }, to = /* @__PURE__ */ R({
774
773
  name: "FComboListContainer",
775
- props: to,
774
+ props: eo,
776
775
  emits: ["selectionChange"],
777
776
  setup(e, n) {
778
- const t = v(), o = v(e.dataSource), r = v([]), a = v(e.separator), l = v(e.width), u = v(e.maxHeight), s = v(String(e.selectedValues).split(a.value)), i = w(() => e.multiSelect), d = w(() => ({
777
+ const t = m(), o = m(e.dataSource), r = m([]), a = m(e.separator), l = m(e.width), s = m(e.maxHeight), c = m(String(e.selectedValues).split(a.value)), i = x(() => e.multiSelect), d = x(() => ({
779
778
  enableSelectRow: !0,
780
779
  multiSelect: e.multiSelect,
781
780
  multiSelectMode: "OnCheckAndClick",
@@ -786,29 +785,29 @@ const xe = {
786
785
  O(e.dataSource, () => {
787
786
  o.value = e.dataSource;
788
787
  });
789
- const c = w(() => e.enableSearch ? "SearchBar" : "ContentHeader"), f = w(() => {
790
- const m = {};
791
- return l.value !== void 0 && (m.width = `${l.value}px`), u.value !== void 0 && u.value > 0 && (m.maxHeight = `${u.value}px`), m;
788
+ const u = x(() => e.enableSearch ? "SearchBar" : "ContentHeader"), f = x(() => {
789
+ const v = {};
790
+ return l.value !== void 0 && (v.width = `${l.value}px`), s.value !== void 0 && s.value > 0 && (v.maxHeight = `${s.value}px`), v;
792
791
  });
793
- function p(m) {
794
- r.value = m.map((b) => Object.assign({}, b)), s.value = m.map((b) => b[e.idField]), n.emit("selectionChange", r.value);
792
+ function p(v) {
793
+ r.value = v.map((h) => Object.assign({}, h)), c.value = v.map((h) => h[e.idField]), n.emit("selectionChange", r.value);
795
794
  }
796
- function y(m) {
795
+ function y(v) {
797
796
  if (e.enableHighlightSearch)
798
797
  return;
799
- let b = [];
800
- typeof e.searchOption == "function" ? b = o.value.filter((S) => e.searchOption(m, S)) : b = o.value.filter((S) => S[e.valueField].indexOf(m) > -1 || S[e.textField].indexOf(m) > -1), t.value.updateDataSource(b);
798
+ let h = [];
799
+ typeof e.searchOption == "function" ? h = o.value.filter((g) => e.searchOption(v, g)) : h = o.value.filter((g) => g[e.valueField].indexOf(v) > -1 || g[e.textField].indexOf(v) > -1), t.value.updateDataSource(h);
801
800
  }
802
- return O([() => e.selectedValues], ([m]) => {
803
- s.value = m.split(a.value);
804
- }), () => g("div", {
801
+ return O([() => e.selectedValues], ([v]) => {
802
+ c.value = v.split(a.value);
803
+ }), () => S("div", {
805
804
  class: "f-combo-list-container pl-1",
806
805
  style: f.value
807
- }, [g(pn, {
806
+ }, [S(pn, {
808
807
  ref: t,
809
808
  size: "small",
810
809
  itemClass: "f-combo-list-item",
811
- header: c.value,
810
+ header: u.value,
812
811
  headerClass: "f-combo-list-search-box",
813
812
  data: o.value,
814
813
  idField: e.idField,
@@ -817,102 +816,102 @@ const xe = {
817
816
  multiSelect: e.multiSelect,
818
817
  selection: d.value,
819
818
  enableHighlightSearch: e.enableHighlightSearch,
820
- selectionValues: s.value,
819
+ selectionValues: c.value,
821
820
  onSelectionChange: p,
822
821
  onAfterSearch: y
823
822
  }, null)]);
824
823
  }
825
824
  });
826
- function oo(e) {
827
- const n = v(""), t = v(e.modelValue), o = v(e.data || []), r = v(e.editable);
828
- function a(c) {
829
- const f = String(c).split(e.separator), p = f.map((b) => [b, !0]), y = new Map(p);
830
- return o.value.filter((b) => y.has(String(b[e.valueField]))).sort((b, S) => {
831
- const E = f.indexOf(b[e.valueField]), M = f.indexOf(S[e.valueField]);
832
- return E - M;
825
+ function no(e) {
826
+ const n = m(""), t = m(e.modelValue), o = m(e.data || []), r = m(e.editable);
827
+ function a(u) {
828
+ const f = String(u).split(e.separator), p = f.map((h) => [h, !0]), y = new Map(p);
829
+ return o.value.filter((h) => y.has(String(h[e.valueField]))).sort((h, g) => {
830
+ const V = f.indexOf(h[e.valueField]), E = f.indexOf(g[e.valueField]);
831
+ return V - E;
833
832
  });
834
833
  }
835
- function l(c) {
836
- const f = a(c).map((p) => p[e.textField]).join(e.separator);
837
- n.value = r.value ? f || c : f;
834
+ function l(u) {
835
+ const f = a(u).map((p) => p[e.textField]).join(e.separator);
836
+ n.value = r.value ? f || u : f;
838
837
  }
839
- function u(c) {
840
- const f = c.split(e.separator).map((y) => [y, !0]), p = new Map(f);
838
+ function s(u) {
839
+ const f = u.split(e.separator).map((y) => [y, !0]), p = new Map(f);
841
840
  return o.value.filter((y) => p.has(y[e.textField]));
842
841
  }
843
- function s(c) {
842
+ function c(u) {
844
843
  const f = {};
845
- return f[e.idField] = c, f[e.textField] = c, [f];
844
+ return f[e.idField] = u, f[e.textField] = u, [f];
846
845
  }
847
- function i(c) {
848
- let f = u(c);
846
+ function i(u) {
847
+ let f = s(u);
849
848
  const p = f && f.length > 0;
850
- return r.value && !p && (f = s(c)), f;
849
+ return r.value && !p && (f = c(u)), f;
851
850
  }
852
851
  function d() {
853
- const { url: c, method: f = "GET", headers: p = {}, body: y = null } = e.remote, m = f.toLowerCase() == "get" ? { method: f, headers: p } : { method: f, headers: p, body: y };
854
- let b = !1;
855
- fetch(c, m).then((S) => {
856
- var M, x;
857
- if (S.status === 200)
858
- return b = !!((x = (M = S.headers) == null ? void 0 : M.get("content-type")) != null && x.includes("application/json")), b ? S.text() : S.json();
859
- throw new Error(S.statusText);
860
- }).then((S) => {
861
- o.value = b ? JSON.parse(S) : S;
862
- }).catch((S) => {
863
- console.error(S);
852
+ const { url: u, method: f = "GET", headers: p = {}, body: y = null } = e.remote, v = f.toLowerCase() == "get" ? { method: f, headers: p } : { method: f, headers: p, body: y };
853
+ let h = !1;
854
+ fetch(u, v).then((g) => {
855
+ var E, w;
856
+ if (g.status === 200)
857
+ return h = !!((w = (E = g.headers) == null ? void 0 : E.get("content-type")) != null && w.includes("application/json")), h ? g.text() : g.json();
858
+ throw new Error(g.statusText);
859
+ }).then((g) => {
860
+ o.value = h ? JSON.parse(g) : g;
861
+ }).catch((g) => {
862
+ console.error(g);
864
863
  });
865
864
  }
866
865
  return e.remote && d(), O(() => e.data, () => {
867
866
  o.value = e.data;
868
- }), O([o], ([c]) => {
867
+ }), O([o], ([u]) => {
869
868
  if (e.modelValue != null) {
870
- const f = c.find((p) => p[e.valueField] === e.modelValue);
869
+ const f = u.find((p) => p[e.valueField] === e.modelValue);
871
870
  f && (n.value = f[e.textField]);
872
871
  }
873
- }), O(() => e.modelValue, (c) => {
874
- t.value = c, l(c);
875
- }), l(e.modelValue), { dataSource: o, displayText: n, editable: r, modelValue: t, getItemsByDisplayText: u, getItemsByValue: a, getSelectedItemsByDisplayText: i };
872
+ }), O(() => e.modelValue, (u) => {
873
+ t.value = u, l(u);
874
+ }), l(e.modelValue), { dataSource: o, displayText: n, editable: r, modelValue: t, getItemsByDisplayText: s, getItemsByValue: a, getSelectedItemsByDisplayText: i };
876
875
  }
877
- const H = /* @__PURE__ */ G({
876
+ const q = /* @__PURE__ */ R({
878
877
  name: "FComboList",
879
- props: xe,
878
+ props: we,
880
879
  emits: ["clear", "update:modelValue", "change", "input"],
881
880
  setup(e, n) {
882
- const t = v(), o = v(e.disabled), r = v(e.enableClear), a = v(e.enableSearch), l = v(e.readonly), {
883
- dataSource: u,
884
- displayText: s,
881
+ const t = m(), o = m(e.disabled), r = m(e.enableClear), a = m(e.enableSearch), l = m(e.readonly), {
882
+ dataSource: s,
883
+ displayText: c,
885
884
  editable: i,
886
885
  modelValue: d,
887
- getSelectedItemsByDisplayText: c
888
- } = oo(e), f = w(() => e.multiSelect), p = w(() => t.value ? t.value.elementRef.getBoundingClientRect().width : 0);
886
+ getSelectedItemsByDisplayText: u
887
+ } = no(e), f = x(() => e.multiSelect), p = x(() => t.value ? t.value.elementRef.getBoundingClientRect().width : 0);
889
888
  function y() {
890
889
  !f.value && t.value && t.value.hidePopup();
891
890
  }
892
- function m(T) {
893
- s.value = T.map((C) => C[e.textField]).join(e.separator), T.length === 1 ? d.value = T[0][e.valueField] : d.value = T.map((C) => C[e.valueField]).join(e.separator), n.emit("update:modelValue", d.value), n.emit("change", T, d.value), y();
891
+ function v(C) {
892
+ c.value = C.map((T) => T[e.textField]).join(e.separator), C.length === 1 ? d.value = C[0][e.valueField] : d.value = C.map((T) => T[e.valueField]).join(e.separator), n.emit("update:modelValue", d.value), n.emit("change", C, d.value), y();
894
893
  }
895
- function b() {
894
+ function h() {
896
895
  l.value || t.value.togglePopup();
897
896
  }
898
- function S(T) {
897
+ function g(C) {
899
898
  d.value = "", n.emit("update:modelValue", ""), n.emit("clear");
900
899
  }
901
- function E(T) {
902
- const C = c(T);
903
- m(C);
900
+ function V(C) {
901
+ const T = u(C);
902
+ v(T);
904
903
  }
905
- function M() {
906
- return s.value;
904
+ function E() {
905
+ return c.value;
907
906
  }
908
- function x(T) {
909
- n.emit("input", T);
907
+ function w(C) {
908
+ n.emit("input", C);
910
909
  }
911
910
  return n.expose({
912
- getDisplayText: M
913
- }), O([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([T, C, F, A, I]) => {
914
- o.value = T, i.value = C, r.value = F, a.value = A, l.value = I;
915
- }), () => g(fn, {
911
+ getDisplayText: E
912
+ }), O([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([C, T, k, P, U]) => {
913
+ o.value = C, i.value = T, r.value = k, a.value = P, l.value = U;
914
+ }), () => S(fn, {
916
915
  ref: t,
917
916
  id: e.id,
918
917
  disable: o.value,
@@ -927,39 +926,39 @@ const H = /* @__PURE__ */ G({
927
926
  enableTitle: e.enableTitle,
928
927
  multiSelect: e.multiSelect,
929
928
  inputType: e.multiSelect ? e.viewType : "text",
930
- modelValue: s.value,
931
- "onUpdate:modelValue": (T) => s.value = T,
929
+ modelValue: c.value,
930
+ "onUpdate:modelValue": (C) => c.value = C,
932
931
  focusOnCreated: e.focusOnCreated,
933
932
  selectOnCreated: e.selectOnCreated,
934
- onClear: S,
935
- onClick: b,
936
- onChange: E,
937
- onInput: x,
933
+ onClear: g,
934
+ onClick: h,
935
+ onChange: V,
936
+ onInput: w,
938
937
  beforeOpen: e.beforeOpen
939
938
  }, {
940
- default: () => [g(no, {
939
+ default: () => [S(to, {
941
940
  idField: e.idField,
942
941
  valueField: e.valueField,
943
942
  textField: e.textField,
944
943
  titleField: e.titleField,
945
- dataSource: u.value,
944
+ dataSource: s.value,
946
945
  selectedValues: d.value,
947
946
  multiSelect: e.multiSelect,
948
947
  enableSearch: a.value,
949
948
  maxHeight: e.maxHeight,
950
949
  enableHighlightSearch: e.enableHighlightSearch,
951
950
  width: e.fitEditor ? p.value : void 0,
952
- onSelectionChange: m
951
+ onSelectionChange: v
953
952
  }, null)]
954
953
  });
955
954
  }
956
- }), ro = /* @__PURE__ */ new Map([
955
+ }), oo = /* @__PURE__ */ new Map([
957
956
  ["appearance", yn]
958
957
  ]);
959
- function ao(e, n, t) {
958
+ function ro(e, n, t) {
960
959
  return n;
961
960
  }
962
- const io = "https://json-schema.org/draft/2020-12/schema", lo = "https://farris-design.gitee.io/button-edit.schema.json", uo = "button-edit", so = "A Farris Input Component", co = "object", po = {
961
+ const ao = "https://json-schema.org/draft/2020-12/schema", lo = "https://farris-design.gitee.io/button-edit.schema.json", io = "button-edit", uo = "A Farris Input Component", so = "object", co = {
963
962
  id: {
964
963
  description: "The unique identifier for a Input Group",
965
964
  type: "string"
@@ -1143,18 +1142,18 @@ const io = "https://json-schema.org/draft/2020-12/schema", lo = "https://farris-
1143
1142
  type: "string",
1144
1143
  default: ""
1145
1144
  }
1146
- }, fo = [
1145
+ }, po = [
1147
1146
  "id",
1148
1147
  "type"
1149
- ], yo = {
1150
- $schema: io,
1148
+ ], fo = {
1149
+ $schema: ao,
1151
1150
  $id: lo,
1152
- title: uo,
1153
- description: so,
1154
- type: co,
1155
- properties: po,
1156
- required: fo
1157
- }, vo = "buttonEdit", mo = "A Farris Component", ho = "object", bo = {
1151
+ title: io,
1152
+ description: uo,
1153
+ type: so,
1154
+ properties: co,
1155
+ required: po
1156
+ }, yo = "buttonEdit", vo = "A Farris Component", mo = "object", ho = {
1158
1157
  basic: {
1159
1158
  description: "Basic Infomation",
1160
1159
  title: "基本信息",
@@ -1236,12 +1235,12 @@ const io = "https://json-schema.org/draft/2020-12/schema", lo = "https://farris-
1236
1235
  }
1237
1236
  }
1238
1237
  }
1239
- }, go = {
1240
- title: vo,
1241
- description: mo,
1242
- type: ho,
1243
- categories: bo
1244
- }, Xe = {
1238
+ }, bo = {
1239
+ title: yo,
1240
+ description: vo,
1241
+ type: mo,
1242
+ categories: ho
1243
+ }, Je = {
1245
1244
  /**
1246
1245
  * 组件标识
1247
1246
  */
@@ -1350,66 +1349,66 @@ const io = "https://json-schema.org/draft/2020-12/schema", lo = "https://farris-
1350
1349
  /** 更新方式 blur | change */
1351
1350
  updateOn: { type: String, default: "change" }
1352
1351
  };
1353
- ne(Xe, yo, ro, ao, go);
1354
- const Co = {
1352
+ ee(Je, fo, oo, ro, bo);
1353
+ const go = {
1355
1354
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
1356
1355
  host: { type: Object },
1357
1356
  backgroundColor: { type: String, default: "" }
1358
- }, So = /* @__PURE__ */ G({
1357
+ }, Co = /* @__PURE__ */ R({
1359
1358
  name: "FOverlay",
1360
- props: Co,
1359
+ props: go,
1361
1360
  emits: ["click"],
1362
1361
  setup(e, n) {
1363
- const t = v(e.popupContentPosition), o = v(e.host), r = w(() => ({
1362
+ const t = m(e.popupContentPosition), o = m(e.host), r = x(() => ({
1364
1363
  backgroundColor: e.backgroundColor || "",
1365
1364
  pointerEvents: "auto"
1366
1365
  }));
1367
- function a(u) {
1368
- n.emit("click"), u.preventDefault(), u.stopPropagation();
1366
+ function a(s) {
1367
+ n.emit("click"), s.preventDefault(), s.stopPropagation();
1369
1368
  }
1370
- w(() => {
1371
- const u = o.value;
1372
- if (u) {
1373
- const s = u.getBoundingClientRect(), {
1369
+ x(() => {
1370
+ const s = o.value;
1371
+ if (s) {
1372
+ const c = s.getBoundingClientRect(), {
1374
1373
  left: i,
1375
1374
  top: d,
1376
- height: c
1377
- } = s;
1375
+ height: u
1376
+ } = c;
1378
1377
  return {
1379
1378
  left: i,
1380
- top: d + c
1379
+ top: d + u
1381
1380
  };
1382
1381
  }
1383
1382
  return t.value;
1384
1383
  });
1385
- const l = w(() => ({
1384
+ const l = x(() => ({
1386
1385
  // position: 'relative',
1387
1386
  // left: `${position.value.left}px`,
1388
1387
  // top: `${position.value.top}px`
1389
1388
  }));
1390
- return () => g(an, {
1389
+ return () => S(an, {
1391
1390
  to: "body"
1392
1391
  }, {
1393
1392
  default: () => {
1394
- var u, s;
1395
- return [g("div", {
1393
+ var s, c;
1394
+ return [S("div", {
1396
1395
  class: "overlay-container",
1397
1396
  onClick: (i) => a(i),
1398
1397
  style: r.value
1399
- }, [g("div", {
1398
+ }, [S("div", {
1400
1399
  style: l.value
1401
- }, [(s = (u = n.slots).default) == null ? void 0 : s.call(u)])])];
1400
+ }, [(c = (s = n.slots).default) == null ? void 0 : c.call(s)])])];
1402
1401
  }
1403
1402
  });
1404
1403
  }
1405
1404
  });
1406
- function wo(e) {
1405
+ function So(e) {
1407
1406
  if (e.content && e.content.render)
1408
1407
  return e.content.render;
1409
1408
  if (e.render && typeof e.render == "function")
1410
1409
  return e.render;
1411
1410
  }
1412
- function xo(e) {
1411
+ function wo(e) {
1413
1412
  const n = document.createElement("div");
1414
1413
  n.style.display = "contents";
1415
1414
  let t;
@@ -1422,8 +1421,8 @@ function xo(e) {
1422
1421
  un(() => {
1423
1422
  document.body.removeChild(n);
1424
1423
  });
1425
- const a = wo(e);
1426
- return () => g(So, {
1424
+ const a = So(e);
1425
+ return () => S(Co, {
1427
1426
  "popup-content-position": e.popupPosition,
1428
1427
  host: e.host,
1429
1428
  onClick: r,
@@ -1434,12 +1433,12 @@ function xo(e) {
1434
1433
  }
1435
1434
  }), document.body.appendChild(n), t.mount(n), t;
1436
1435
  }
1437
- class Vo {
1436
+ class xo {
1438
1437
  static show(n) {
1439
- return xo(n);
1438
+ return wo(n);
1440
1439
  }
1441
1440
  }
1442
- const Bo = Symbol("FModalService");
1441
+ const Vo = Symbol("FModalService");
1443
1442
  function Qe(e, n) {
1444
1443
  function t() {
1445
1444
  const o = e.beforeOpen || e.beforeClickButton || null;
@@ -1454,79 +1453,79 @@ function Qe(e, n) {
1454
1453
  }
1455
1454
  return { judgeCanOpen: t };
1456
1455
  }
1457
- function To(e, n, t, o, r) {
1458
- const a = v(e.buttonBehavior), l = v(e.popupOnInput), u = w(() => ({
1456
+ function Bo(e, n, t, o, r) {
1457
+ const a = m(e.buttonBehavior), l = m(e.popupOnInput), s = x(() => ({
1459
1458
  "input-group-append": !0,
1460
1459
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
1461
- })), { judgeCanOpen: s } = Qe(e, r), i = w(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d = z(Bo, null), c = v();
1462
- async function f(m) {
1463
- if (await s() && i.value) {
1464
- const b = !!n.slots.default;
1460
+ })), { judgeCanOpen: c } = Qe(e, r), i = x(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d = W(Vo, null), u = m();
1461
+ async function f(v) {
1462
+ if (await c() && i.value) {
1463
+ const h = !!n.slots.default;
1465
1464
  if (a.value === "Modal") {
1466
- const S = e.modalOptions, E = d == null ? void 0 : d.open({
1467
- ...S,
1465
+ const g = e.modalOptions, V = d == null ? void 0 : d.open({
1466
+ ...g,
1468
1467
  render: () => n.slots.default && n.slots.default()
1469
1468
  });
1470
- c.value = E == null ? void 0 : E.modalRef;
1469
+ u.value = V == null ? void 0 : V.modalRef;
1471
1470
  }
1472
- a.value === "Overlay" && Vo.show({
1471
+ a.value === "Overlay" && xo.show({
1473
1472
  // host: buttonEditRef.value,
1474
1473
  host: document.body,
1475
1474
  backgroundColor: "rgba(0,0,0,.15)",
1476
1475
  render: () => n.slots.default && n.slots.default()
1477
- }), b && a.value === "Popup" && o.togglePopup(!0), b && l.value && o.hidePopup(), n.emit("clickButton", { origin: m, value: e.modelValue });
1476
+ }), h && a.value === "Popup" && o.togglePopup(!0), h && l.value && o.hidePopup(), n.emit("clickButton", { origin: v, value: e.modelValue });
1478
1477
  }
1479
1478
  }
1480
- function p(m) {
1481
- n.emit("mouseEnterIcon", m);
1479
+ function p(v) {
1480
+ n.emit("mouseEnterIcon", v);
1482
1481
  }
1483
- function y(m) {
1484
- n.emit("mouseLeaveIcon", m);
1482
+ function y(v) {
1483
+ n.emit("mouseLeaveIcon", v);
1485
1484
  }
1486
1485
  return {
1487
- buttonGroupClass: u,
1486
+ buttonGroupClass: s,
1488
1487
  onClickButton: f,
1489
1488
  onMouseEnterButton: p,
1490
1489
  onMouseLeaveButton: y,
1491
- modalRef: c
1490
+ modalRef: u
1492
1491
  };
1493
1492
  }
1494
- function Fo(e, n, t, o) {
1495
- const r = v(), a = v(!1), { judgeCanOpen: l } = Qe(e, o);
1496
- function u() {
1497
- const c = r.value;
1498
- c && c.show(t.value);
1493
+ function To(e, n, t, o) {
1494
+ const r = m(), a = m(!1), { judgeCanOpen: l } = Qe(e, o);
1495
+ function s() {
1496
+ const u = r.value;
1497
+ u && u.show(t.value);
1499
1498
  }
1500
- async function s(c = !1) {
1499
+ async function c(u = !1) {
1501
1500
  if (!!n.slots.default) {
1502
- if (!c && !a.value && !await l())
1501
+ if (!u && !a.value && !await l())
1503
1502
  return;
1504
- a.value = !a.value, await le(), u();
1503
+ a.value = !a.value, await ae(), s();
1505
1504
  }
1506
1505
  }
1507
- async function i(c = !1) {
1506
+ async function i(u = !1) {
1508
1507
  if (!!n.slots.default) {
1509
- if (!c && !await l())
1508
+ if (!u && !await l())
1510
1509
  return;
1511
- a.value = !0, await le(), u();
1510
+ a.value = !0, await ae(), s();
1512
1511
  }
1513
1512
  }
1514
1513
  function d() {
1515
1514
  a.value = !1;
1516
1515
  }
1517
- return { hidePopup: d, popup: i, shouldPopupContent: a, togglePopup: s, popoverRef: r };
1516
+ return { hidePopup: d, popup: i, shouldPopupContent: a, togglePopup: c, popoverRef: r };
1518
1517
  }
1519
- function ko(e, n, t) {
1518
+ function Fo(e, n, t) {
1520
1519
  const {
1521
1520
  buttonGroupClass: o
1522
- } = t, r = v();
1521
+ } = t, r = m();
1523
1522
  return {
1524
- renderButtonGroup: () => g("div", {
1523
+ renderButtonGroup: () => S("div", {
1525
1524
  id: `${e.id}-button-group`,
1526
1525
  class: o.value
1527
- }, [n.slots.buttonContent ? g("span", {
1526
+ }, [n.slots.buttonContent ? S("span", {
1528
1527
  class: "input-group-text input-group-append-button"
1529
- }, [n.slots.buttonContent()]) : e.buttonContent ? g("span", {
1528
+ }, [n.slots.buttonContent()]) : e.buttonContent ? S("span", {
1530
1529
  class: "input-group-text input-group-append-button",
1531
1530
  innerHTML: e.buttonContent,
1532
1531
  ref: r
@@ -1534,38 +1533,38 @@ function ko(e, n, t) {
1534
1533
  buttonHandleElement: r
1535
1534
  };
1536
1535
  }
1537
- const Eo = /* @__PURE__ */ G({
1536
+ const ko = /* @__PURE__ */ R({
1538
1537
  name: "FButtonEdit",
1539
- props: Xe,
1538
+ props: Je,
1540
1539
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
1541
1540
  setup(e, n) {
1542
- const t = v(), o = z("design-item-context"), r = We(t, o), a = v(e.customClass), l = v(e.modelValue), u = Fo(e, n, t, l), s = To(e, n, t, u, l), i = v(), d = w(() => ({
1541
+ const t = m(), o = W("design-item-context"), r = We(t, o), a = m(e.customClass), l = m(e.modelValue), s = To(e, n, t, l), c = Bo(e, n, t, s, l), i = m(), d = x(() => ({
1543
1542
  "f-cmp-inputgroup": !0,
1544
1543
  "input-group": !0,
1545
1544
  "f-state-disable": !0,
1546
1545
  "f-state-editable": !1,
1547
1546
  "f-state-readonly": !0
1548
1547
  }));
1549
- q(() => {
1548
+ _(() => {
1550
1549
  t.value.componentInstance = r;
1551
1550
  }), n.expose(r.value);
1552
- const c = w(() => {
1551
+ const u = x(() => {
1553
1552
  const p = {
1554
1553
  "f-button-edit": !0,
1555
1554
  "f-cmp-inputgroup": !0,
1556
1555
  "f-button-edit-nowrap": !e.wrapText
1557
1556
  };
1558
- return a.value && a.value.split(" ").reduce((y, m) => (y[m] = !0, y), p), p;
1557
+ return a.value && a.value.split(" ").reduce((y, v) => (y[v] = !0, y), p), p;
1559
1558
  }), {
1560
1559
  renderButtonGroup: f
1561
- } = ko(e, n, s);
1562
- return () => g("div", sn(n.attrs, {
1560
+ } = Fo(e, n, c);
1561
+ return () => S("div", sn(n.attrs, {
1563
1562
  ref: t,
1564
- class: c.value,
1563
+ class: u.value,
1565
1564
  id: e.id
1566
- }), [g("div", {
1565
+ }), [S("div", {
1567
1566
  class: d.value
1568
- }, [g("input", {
1567
+ }, [S("input", {
1569
1568
  ref: i,
1570
1569
  class: "form-control",
1571
1570
  readonly: !0,
@@ -1573,10 +1572,10 @@ const Eo = /* @__PURE__ */ G({
1573
1572
  }, null), f()])]);
1574
1573
  }
1575
1574
  });
1576
- function Ve(e, n) {
1575
+ function xe(e, n) {
1577
1576
  e.schema;
1578
- const t = v(!0), o = v(!0);
1579
- function r(c) {
1577
+ const t = m(!0), o = m(!0);
1578
+ function r(u) {
1580
1579
  return !1;
1581
1580
  }
1582
1581
  function a() {
@@ -1585,22 +1584,22 @@ function Ve(e, n) {
1585
1584
  function l() {
1586
1585
  return !1;
1587
1586
  }
1588
- function u() {
1587
+ function s() {
1589
1588
  return !0;
1590
1589
  }
1591
- function s(c) {
1590
+ function c(u) {
1592
1591
  }
1593
1592
  function i() {
1594
1593
  }
1595
- function d(c) {
1594
+ function d(u) {
1596
1595
  return null;
1597
1596
  }
1598
1597
  return {
1599
1598
  canAccepts: r,
1600
1599
  checkCanDeleteComponent: a,
1601
1600
  checkCanMoveComponent: l,
1602
- hideNestedPaddingInDesginerView: u,
1603
- onAcceptMovedChildElement: s,
1601
+ hideNestedPaddingInDesginerView: s,
1602
+ onAcceptMovedChildElement: c,
1604
1603
  resolveComponentContext: i,
1605
1604
  triggerBelongedComponentToMoveWhenMoved: t,
1606
1605
  triggerBelongedComponentToDeleteWhenDeleted: o,
@@ -1609,18 +1608,18 @@ function Ve(e, n) {
1609
1608
  }
1610
1609
  class Mo {
1611
1610
  constructor(n, t) {
1612
- $(this, "componentId");
1613
- $(this, "viewModelId");
1614
- $(this, "eventsEditorUtils");
1615
- $(this, "formSchemaUtils");
1616
- $(this, "formMetadataConverter");
1617
- $(this, "designViewModelUtils");
1618
- $(this, "designViewModelField");
1619
- $(this, "controlCreatorUtils");
1620
- $(this, "designerHostService");
1621
- $(this, "schemaService", null);
1622
- $(this, "metadataService", null);
1623
- $(this, "propertyConfig", {
1611
+ I(this, "componentId");
1612
+ I(this, "viewModelId");
1613
+ I(this, "eventsEditorUtils");
1614
+ I(this, "formSchemaUtils");
1615
+ I(this, "formMetadataConverter");
1616
+ I(this, "designViewModelUtils");
1617
+ I(this, "designViewModelField");
1618
+ I(this, "controlCreatorUtils");
1619
+ I(this, "designerHostService");
1620
+ I(this, "schemaService", null);
1621
+ I(this, "metadataService", null);
1622
+ I(this, "propertyConfig", {
1624
1623
  type: "object",
1625
1624
  categories: {}
1626
1625
  });
@@ -1662,7 +1661,7 @@ class Mo {
1662
1661
  type: "combo-list",
1663
1662
  textField: "name",
1664
1663
  valueField: "value",
1665
- data: [{ value: n.type, name: V[n.type].name }]
1664
+ data: [{ value: n.type, name: B[n.type].name }]
1666
1665
  }
1667
1666
  }
1668
1667
  }
@@ -1698,16 +1697,16 @@ class Mo {
1698
1697
  const o = t && t.parent && t.parent.schema;
1699
1698
  if (!o)
1700
1699
  return;
1701
- const r = o.contents.findIndex((l) => l.id === n), a = B(o.contents[r]);
1700
+ const r = o.contents.findIndex((l) => l.id === n), a = F(o.contents[r]);
1702
1701
  o.contents.splice(r, 1), o.contents.splice(r, 0, a);
1703
1702
  }
1704
1703
  }
1705
- const J = class J {
1704
+ const Y = class Y {
1706
1705
  /**
1707
1706
  * 根据绑定字段类型获取可用的输入类控件
1708
1707
  */
1709
1708
  static getEditorTypesByMDataType(n) {
1710
- const t = J.fieldControlTypeMapping[n];
1709
+ const t = Y.fieldControlTypeMapping[n];
1711
1710
  return t || [{ key: "", value: "" }];
1712
1711
  }
1713
1712
  /**
@@ -1715,8 +1714,8 @@ const J = class J {
1715
1714
  */
1716
1715
  static getAllInputTypes() {
1717
1716
  const n = [];
1718
- for (let t in J.fieldControlTypeMapping)
1719
- J.fieldControlTypeMapping[t].forEach((o) => {
1717
+ for (let t in Y.fieldControlTypeMapping)
1718
+ Y.fieldControlTypeMapping[t].forEach((o) => {
1720
1719
  n.find((r) => r.key === o.key && r.value === o.value) || n.push({ key: o.key, value: o.value });
1721
1720
  });
1722
1721
  return n;
@@ -1725,65 +1724,172 @@ const J = class J {
1725
1724
  /**
1726
1725
  * <字段类型,可配置的控件类型列表>的映射
1727
1726
  */
1728
- $(J, "fieldControlTypeMapping", {
1727
+ I(Y, "fieldControlTypeMapping", {
1729
1728
  String: [
1730
- { key: V["input-group"].type, value: V["input-group"].name },
1731
- { key: V.lookup.type, value: V.lookup.name },
1732
- { key: V["date-picker"].type, value: V["date-picker"].name },
1733
- { key: V["check-box"].type, value: V["check-box"].name },
1734
- { key: V["radio-group"].type, value: V["radio-group"].name },
1735
- { key: V["combo-list"].type, value: V["combo-list"].name },
1736
- { key: V.textarea.type, value: V.textarea.name }
1729
+ { key: B["input-group"].type, value: B["input-group"].name },
1730
+ { key: B.lookup.type, value: B.lookup.name },
1731
+ { key: B["date-picker"].type, value: B["date-picker"].name },
1732
+ { key: B["check-box"].type, value: B["check-box"].name },
1733
+ { key: B["check-group"].type, value: B["check-group"].name },
1734
+ { key: B["radio-group"].type, value: B["radio-group"].name },
1735
+ { key: B["combo-list"].type, value: B["combo-list"].name },
1736
+ { key: B.textarea.type, value: B.textarea.name }
1737
1737
  ],
1738
1738
  Text: [
1739
- { key: V.textarea.type, value: V.textarea.name },
1740
- { key: V.lookup.type, value: V.lookup.name }
1739
+ { key: B.textarea.type, value: B.textarea.name },
1740
+ { key: B.lookup.type, value: B.lookup.name }
1741
1741
  ],
1742
1742
  Decimal: [
1743
- { key: V["number-spinner"].type, value: V["number-spinner"].name }
1743
+ { key: B["number-spinner"].type, value: B["number-spinner"].name }
1744
1744
  ],
1745
1745
  Integer: [
1746
- { key: V["number-spinner"].type, value: V["number-spinner"].name }
1746
+ { key: B["number-spinner"].type, value: B["number-spinner"].name }
1747
1747
  ],
1748
1748
  Number: [
1749
- { key: V["number-spinner"].type, value: V["number-spinner"].name }
1749
+ { key: B["number-spinner"].type, value: B["number-spinner"].name }
1750
1750
  ],
1751
1751
  BigNumber: [
1752
- { key: V["number-spinner"].type, value: V["number-spinner"].name }
1752
+ { key: B["number-spinner"].type, value: B["number-spinner"].name }
1753
1753
  ],
1754
1754
  Date: [
1755
- { key: V["date-picker"].type, value: V["date-picker"].name }
1755
+ { key: B["date-picker"].type, value: B["date-picker"].name }
1756
1756
  ],
1757
1757
  DateTime: [
1758
- { key: V["date-picker"].type, value: V["date-picker"].name }
1758
+ { key: B["date-picker"].type, value: B["date-picker"].name }
1759
1759
  ],
1760
1760
  Boolean: [
1761
- { key: V.switch.type, value: V.switch.name },
1762
- { key: V["check-box"].type, value: V["check-box"].name }
1761
+ { key: B.switch.type, value: B.switch.name },
1762
+ { key: B["check-box"].type, value: B["check-box"].name }
1763
1763
  ],
1764
1764
  Enum: [
1765
- { key: V["combo-list"].type, value: V["combo-list"].name },
1766
- { key: V["radio-group"].type, value: V["radio-group"].name }
1765
+ { key: B["combo-list"].type, value: B["combo-list"].name },
1766
+ { key: B["radio-group"].type, value: B["radio-group"].name }
1767
1767
  ],
1768
1768
  Object: [
1769
- { key: V.lookup.type, value: V.lookup.name },
1770
- { key: V["combo-list"].type, value: V["combo-list"].name },
1771
- { key: V["radio-group"].type, value: V["radio-group"].name }
1769
+ { key: B.lookup.type, value: B.lookup.name },
1770
+ { key: B["combo-list"].type, value: B["combo-list"].name },
1771
+ { key: B["radio-group"].type, value: B["radio-group"].name }
1772
1772
  ]
1773
1773
  });
1774
- let ue = J;
1775
- const Ao = v(0);
1776
- class Be extends Mo {
1774
+ let le = Y;
1775
+ const Eo = m(0);
1776
+ class Io {
1777
+ constructor() {
1778
+ /** 控件标题 */
1779
+ I(this, "label", "");
1780
+ /** 控件id */
1781
+ I(this, "id", "");
1782
+ /** 每个控件占用的栅格数 */
1783
+ I(this, "columnInSM", 12);
1784
+ I(this, "columnInMD", 6);
1785
+ I(this, "columnInLG", 3);
1786
+ I(this, "columnInEL", 2);
1787
+ /** 每个控件占用的列数 */
1788
+ I(this, "displayWidthInSM", 1);
1789
+ I(this, "displayWidthInMD", 1);
1790
+ I(this, "displayWidthInLG", 1);
1791
+ I(this, "displayWidthInEL", 1);
1792
+ /** 编辑器内部默认显示的屏幕大小-----可以去掉 */
1793
+ I(this, "displayColumnCountAtBreakPoint", "md");
1794
+ /** 控件所在行,传0即可-----编辑器内部使用 */
1795
+ I(this, "tagRow", 0);
1796
+ /** 控件是否显示上方空白:传0即可-----编辑器内部使用 */
1797
+ I(this, "showTopBorder", 0);
1798
+ /** 区域,从1开始。卡片内的控件从上往下,从左往右划分区域,遇到分组fieldSet时group+1,分组结束后group+1 */
1799
+ I(this, "group", 1);
1800
+ /** 控件是否符合标准的class配置(设计器用的) */
1801
+ I(this, "isSupportedClass", !0);
1802
+ /** 控件所在分组id(设计器用的) */
1803
+ I(this, "fieldSetId", "");
1804
+ }
1805
+ }
1806
+ function Po(e) {
1807
+ let n, t;
1808
+ const o = /* @__PURE__ */ new Map();
1809
+ let r = [];
1810
+ function a(d, u) {
1811
+ const p = d.split(" ").filter((V) => V.startsWith("col-"));
1812
+ if (p.length === 0) {
1813
+ u.isSupportedClass = !1;
1814
+ return;
1815
+ }
1816
+ let y = p.find((V) => /^col-([1-9]|10|11|12)$/.test(V)), v = p.find((V) => /^col-md-([1-9]|10|11|12)$/.test(V)), h = p.find((V) => /^col-xl-([1-9]|10|11|12)$/.test(V)), g = p.find((V) => /^col-el-([1-9]|10|11|12)$/.test(V));
1817
+ y = y || "col-12", u.columnInSM = parseInt(y.replace("col-", ""), 10), u.displayWidthInSM = u.columnInSM / 12, u.displayWidthInSM !== 1 && (u.isSupportedClass = !1), v = v || "col-md-" + u.columnInSM, u.columnInMD = parseInt(v.replace("col-md-", ""), 10), u.displayWidthInMD = u.columnInMD / 6, [1, 2].includes(u.displayWidthInMD) || (u.isSupportedClass = !1), h = h || "col-xl-" + u.columnInMD, u.columnInLG = parseInt(h.replace("col-xl-", ""), 10), u.displayWidthInLG = u.columnInLG / 3, [1, 2, 3, 4].includes(u.displayWidthInLG) || (u.isSupportedClass = !1), g = g || "col-el-" + u.columnInLG, u.columnInEL = parseInt(g.replace("col-el-", ""), 10), u.displayWidthInEL = u.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(u.displayWidthInEL) || (u.isSupportedClass = !1);
1818
+ }
1819
+ function l(d, u, f, p = !1) {
1820
+ let y = !1;
1821
+ d.contents.forEach((v) => {
1822
+ if (v.type === "fieldset") {
1823
+ f += 1, l(v, u, f, !0), y = !0;
1824
+ return;
1825
+ }
1826
+ y && (f += 1, y = !1);
1827
+ const h = v.appearance && v.appearance.class, g = new Io();
1828
+ h ? a(h, g) : g.isSupportedClass = !1, g.label = v.label || v.id, g.id = v.id, g.group = f, p && (g.fieldSetId = d.id), t === v.id && (n = f), o.set(v.id, v), u.push(g);
1829
+ });
1830
+ }
1831
+ function s(d) {
1832
+ const u = e.getComponentById(d);
1833
+ if (!u || !u.componentType || !u.componentType.startsWith("form"))
1834
+ return { result: !1, message: "只可以在响应式表单组件中调整响应式布局配置" };
1835
+ const f = e.selectNode(u, (p) => p.type === De["response-form"].type);
1836
+ return !f || !f.contents || f.contents.length === 0 ? { result: !1, message: "Form区域内没有控件,请先添加控件" } : { result: !0, message: "", formNode: f };
1837
+ }
1838
+ function c(d, u) {
1839
+ u = u || d.id;
1840
+ const { result: f, message: p, formNode: y } = s(u);
1841
+ if (!f)
1842
+ return { result: f, message: p };
1843
+ t = d.id, r = [], o.clear();
1844
+ const v = y.contents[0].type === De.fieldset.type ? 0 : 1;
1845
+ l(y, r, v);
1846
+ const h = r.find((V) => !V.isSupportedClass);
1847
+ return {
1848
+ defaultState: {
1849
+ defaultGroupNumber: n || 1,
1850
+ model: h ? "customize" : "standard"
1851
+ },
1852
+ importData: r
1853
+ };
1854
+ }
1855
+ function i(d, u) {
1856
+ u = u;
1857
+ const { result: f, formNode: p } = s(u);
1858
+ if (!f)
1859
+ return "";
1860
+ const y = [];
1861
+ return d.forEach((v) => {
1862
+ var V;
1863
+ const h = o.get(v.id), g = h.appearance && h.appearance.class;
1864
+ if (g) {
1865
+ const w = g.split(" ").filter((J) => !J.startsWith("col-")), C = "col-" + v.columnInSM, T = "col-md-" + v.columnInMD, k = "col-xl-" + v.columnInLG, P = "col-el-" + v.columnInEL, U = [C, T, k, P].concat(w);
1866
+ h.appearance.class = U.join(" ");
1867
+ }
1868
+ if (v.fieldSetId) {
1869
+ const E = p.contents.find((C) => C.id === v.fieldSetId), w = y.find((C) => C.id === v.fieldSetId);
1870
+ w ? (V = w.contents) == null || V.push(h) : (y.push(E), E.contents = [h]);
1871
+ } else
1872
+ y.push(h);
1873
+ }), p.contents = y, p.id;
1874
+ }
1875
+ return {
1876
+ checkCanFindFormNode: s,
1877
+ checkCanOpenLayoutEditor: c,
1878
+ changeFormControlsByResponseLayoutConfig: i,
1879
+ getResonseFormLayoutConfig: l
1880
+ };
1881
+ }
1882
+ class Ve extends Mo {
1777
1883
  constructor(t, o) {
1778
1884
  super(t, o);
1779
- $(this, "responseLayoutEditorFunction");
1780
- this.responseLayoutEditorFunction = vn(this.formSchemaUtils);
1885
+ I(this, "responseLayoutEditorFunction");
1886
+ this.responseLayoutEditorFunction = Po(this.formSchemaUtils);
1781
1887
  }
1782
1888
  getPropertyConfig(t, o) {
1783
1889
  return this.propertyConfig.categories.basic = this.getBasicProperties(t, o), this.propertyConfig.categories.appearance = this.getAppearanceProperties(t, o), this.propertyConfig.categories.editor = this.getEditorProperties(t), this.propertyConfig;
1784
1890
  }
1785
1891
  getBasicProperties(t, o) {
1786
- var u;
1892
+ var s;
1787
1893
  var r = this;
1788
1894
  this.setDesignViewModelField(t);
1789
1895
  const a = this.formSchemaUtils.getFormMetadataBasicInfo(), l = this.designViewModelUtils.getAllFields2TreeByVMId(this.viewModelId);
@@ -1808,7 +1914,7 @@ class Be extends Mo {
1808
1914
  textField: "value",
1809
1915
  valueField: "key",
1810
1916
  editable: !1,
1811
- data: r.designViewModelField ? ue.getEditorTypesByMDataType((u = r.designViewModelField.type) == null ? void 0 : u.name) : ue.getAllInputTypes()
1917
+ data: r.designViewModelField ? le.getEditorTypesByMDataType((s = r.designViewModelField.type) == null ? void 0 : s.name) : le.getAllInputTypes()
1812
1918
  }
1813
1919
  },
1814
1920
  label: {
@@ -1837,15 +1943,15 @@ class Be extends Mo {
1837
1943
  }
1838
1944
  }
1839
1945
  },
1840
- setPropertyRelates(s, i) {
1841
- if (s)
1842
- switch (s && s.propertyID) {
1946
+ setPropertyRelates(c, i) {
1947
+ if (c)
1948
+ switch (c && c.propertyID) {
1843
1949
  case "type": {
1844
- r.changeControlType(t, s, o);
1950
+ r.changeControlType(t, c, o);
1845
1951
  break;
1846
1952
  }
1847
1953
  case "label": {
1848
- s.needRefreshControlTree = !0;
1954
+ c.needRefreshControlTree = !0;
1849
1955
  break;
1850
1956
  }
1851
1957
  }
@@ -1905,11 +2011,11 @@ class Be extends Mo {
1905
2011
  * @param newControlType 新控件类型
1906
2012
  */
1907
2013
  changeControlType(t, o, r) {
1908
- var d, c, f, p;
2014
+ var d, u, f, p;
1909
2015
  const a = o.propertyValue, l = r && r.parent && r.parent.schema;
1910
2016
  if (!l)
1911
2017
  return;
1912
- const u = l.contents.findIndex((y) => y.id === t.id), s = l.contents[u];
2018
+ const s = l.contents.findIndex((y) => y.id === t.id), c = l.contents[s];
1913
2019
  let i;
1914
2020
  this.designViewModelField && (this.designViewModelUtils.getDgViewModel(this.viewModelId).changeField(this.designViewModelField.id, {
1915
2021
  editor: {
@@ -1918,22 +2024,22 @@ class Be extends Mo {
1918
2024
  name: this.designViewModelField.name,
1919
2025
  require: this.designViewModelField.require,
1920
2026
  readonly: this.designViewModelField.readonly
1921
- }, !1), i = this.controlCreatorUtils.setFormFieldProperty(this.designViewModelField, a)), i || (i = De("form-group") || {}, i.editor = De(a) || {}, delete i.editor.id, delete i.editor.binding, delete i.editor.appearance), Object.assign(i, {
1922
- id: s.id,
1923
- appearance: s.appearance,
1924
- size: s.size,
1925
- label: s.label,
1926
- binding: s.binding,
1927
- visible: s.visible
2027
+ }, !1), i = this.controlCreatorUtils.setFormFieldProperty(this.designViewModelField, a)), i || (i = this.controlCreatorUtils.createFormGroupWithoutField(a)), Object.assign(i, {
2028
+ id: c.id,
2029
+ appearance: c.appearance,
2030
+ size: c.size,
2031
+ label: c.label,
2032
+ binding: c.binding,
2033
+ visible: c.visible
1928
2034
  }), Object.assign(i.editor, {
1929
- isTextArea: i.isTextArea && s.isTextArea,
1930
- placeholder: (d = s.editor) == null ? void 0 : d.placeholder,
1931
- holdPlace: (c = s.editor) == null ? void 0 : c.holdPlace,
1932
- readonly: (f = s.editor) == null ? void 0 : f.readonly,
1933
- require: (p = s.editor) == null ? void 0 : p.require
1934
- }), l.contents.splice(u, 1), l.contents.splice(u, 0, i), r.schema = Object.assign(s, i), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach(
2035
+ isTextArea: i.isTextArea && c.isTextArea,
2036
+ placeholder: (d = c.editor) == null ? void 0 : d.placeholder,
2037
+ holdPlace: (u = c.editor) == null ? void 0 : u.holdPlace,
2038
+ readonly: (f = c.editor) == null ? void 0 : f.readonly,
2039
+ require: (p = c.editor) == null ? void 0 : p.require
2040
+ }), l.contents.splice(s, 1), l.contents.splice(s, 0, i), r.schema = Object.assign(c, i), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach(
1935
2041
  (y) => y.classList.remove("dgComponentSelected")
1936
- ), Ao.value++;
2042
+ ), Eo.value++;
1937
2043
  }
1938
2044
  getComponentConfig(t, o = {}, r = {}) {
1939
2045
  const a = Object.assign({
@@ -1973,13 +2079,13 @@ class Be extends Mo {
1973
2079
  */
1974
2080
  updateUnifiedLayoutAfterControlChanged(t, o, r) {
1975
2081
  const a = t.split(" ");
1976
- let l = a.find((c) => /^col-([1-9]|10|11|12)$/.test(c)), u = a.find((c) => /^col-md-([1-9]|10|11|12)$/.test(c)), s = a.find((c) => /^col-xl-([1-9]|10|11|12)$/.test(c)), i = a.find((c) => /^col-el-([1-9]|10|11|12)$/.test(c));
1977
- l = l || "col-12", u = u || "col-md-" + l.replace("col-", ""), s = s || "col-xl-" + u.replace("col-md-", ""), i = i || "col-el-" + s.replace("col-xl-", "");
2082
+ let l = a.find((u) => /^col-([1-9]|10|11|12)$/.test(u)), s = a.find((u) => /^col-md-([1-9]|10|11|12)$/.test(u)), c = a.find((u) => /^col-xl-([1-9]|10|11|12)$/.test(u)), i = a.find((u) => /^col-el-([1-9]|10|11|12)$/.test(u));
2083
+ l = l || "col-12", s = s || "col-md-" + l.replace("col-", ""), c = c || "col-xl-" + s.replace("col-md-", ""), i = i || "col-el-" + c.replace("col-xl-", "");
1978
2084
  const d = {
1979
2085
  id: o,
1980
2086
  columnInSM: parseInt(l.replace("col-", ""), 10),
1981
- columnInMD: parseInt(u.replace("col-md-", ""), 10),
1982
- columnInLG: parseInt(s.replace("col-xl-", ""), 10),
2087
+ columnInMD: parseInt(s.replace("col-md-", ""), 10),
2088
+ columnInLG: parseInt(c.replace("col-xl-", ""), 10),
1983
2089
  columnInEL: parseInt(i.replace("col-el-", ""), 10)
1984
2090
  };
1985
2091
  this.updateUnifiedLayoutAfterResponseLayoutChanged(r, d);
@@ -1995,13 +2101,13 @@ class Be extends Mo {
1995
2101
  return;
1996
2102
  const a = [];
1997
2103
  if (this.responseLayoutEditorFunction.getResonseFormLayoutConfig(r, a, 1), o) {
1998
- const y = a.find((m) => m.id === o.id);
2104
+ const y = a.find((v) => v.id === o.id);
1999
2105
  Object.assign(y || {}, o);
2000
2106
  }
2001
- const l = a.map((y) => y.columnInSM), u = a.map((y) => y.columnInMD), s = a.map((y) => y.columnInLG), i = a.map((y) => y.columnInEL), d = this.checkIsUniqueColumn(l) ? l[0] : null, c = this.checkIsUniqueColumn(u) ? u[0] : null, f = this.checkIsUniqueColumn(s) ? s[0] : null, p = this.checkIsUniqueColumn(i) ? i[0] : null;
2107
+ const l = a.map((y) => y.columnInSM), s = a.map((y) => y.columnInMD), c = a.map((y) => y.columnInLG), i = a.map((y) => y.columnInEL), d = this.checkIsUniqueColumn(l) ? l[0] : null, u = this.checkIsUniqueColumn(s) ? s[0] : null, f = this.checkIsUniqueColumn(c) ? c[0] : null, p = this.checkIsUniqueColumn(i) ? i[0] : null;
2002
2108
  Object.assign(r.unifiedLayout, {
2003
2109
  uniqueColClassInSM: d,
2004
- uniqueColClassInMD: c,
2110
+ uniqueColClassInMD: u,
2005
2111
  uniqueColClassInLG: f,
2006
2112
  uniqueColClassInEL: p
2007
2113
  });
@@ -2014,7 +2120,7 @@ class Be extends Mo {
2014
2120
  return Array.from(o).length === 1;
2015
2121
  }
2016
2122
  }
2017
- class Po extends Be {
2123
+ class Ao extends Ve {
2018
2124
  constructor(n, t) {
2019
2125
  super(n, t);
2020
2126
  }
@@ -2038,19 +2144,19 @@ class Po extends Be {
2038
2144
  });
2039
2145
  }
2040
2146
  }
2041
- function Io(e, n) {
2147
+ function Oo(e, n) {
2042
2148
  const {
2043
2149
  canAccepts: t,
2044
2150
  checkCanDeleteComponent: o,
2045
2151
  checkCanMoveComponent: r,
2046
2152
  hideNestedPaddingInDesginerView: a,
2047
2153
  onAcceptMovedChildElement: l,
2048
- resolveComponentContext: u,
2049
- triggerBelongedComponentToMoveWhenMoved: s,
2154
+ resolveComponentContext: s,
2155
+ triggerBelongedComponentToMoveWhenMoved: c,
2050
2156
  triggerBelongedComponentToDeleteWhenDeleted: i
2051
- } = Ve(e), d = e.schema;
2052
- function c(f, p) {
2053
- return new Po(f, n).getPropertyConfig(d, p);
2157
+ } = xe(e), d = e.schema;
2158
+ function u(f, p) {
2159
+ return new Ao(f, n).getPropertyConfig(d, p);
2054
2160
  }
2055
2161
  return {
2056
2162
  canAccepts: t,
@@ -2058,21 +2164,21 @@ function Io(e, n) {
2058
2164
  checkCanMoveComponent: r,
2059
2165
  hideNestedPaddingInDesginerView: a,
2060
2166
  onAcceptMovedChildElement: l,
2061
- resolveComponentContext: u,
2062
- triggerBelongedComponentToMoveWhenMoved: s,
2167
+ resolveComponentContext: s,
2168
+ triggerBelongedComponentToMoveWhenMoved: c,
2063
2169
  triggerBelongedComponentToDeleteWhenDeleted: i,
2064
- getPropsConfig: c
2170
+ getPropsConfig: u
2065
2171
  };
2066
2172
  }
2067
- const Oo = /* @__PURE__ */ G({
2173
+ const No = /* @__PURE__ */ R({
2068
2174
  name: "FComboListDesign",
2069
- props: xe,
2175
+ props: we,
2070
2176
  emits: ["clear", "update:modelValue", "change"],
2071
2177
  setup(e, n) {
2072
- const t = v(), o = z("designer-host-service"), r = z("design-item-context"), a = Io(r, o), l = We(t, r, a);
2073
- return q(() => {
2178
+ const t = m(), o = W("designer-host-service"), r = W("design-item-context"), a = Oo(r, o), l = We(t, r, a);
2179
+ return _(() => {
2074
2180
  t.value.componentInstance = l;
2075
- }), n.expose(l.value), () => g(Eo, {
2181
+ }), n.expose(l.value), () => S(ko, {
2076
2182
  ref: t,
2077
2183
  buttonContent: e.dropDownIcon,
2078
2184
  readonly: !0,
@@ -2082,26 +2188,26 @@ const Oo = /* @__PURE__ */ G({
2082
2188
  enableClear: !0
2083
2189
  }, null);
2084
2190
  }
2085
- }), Te = (e) => {
2191
+ }), Be = (e) => {
2086
2192
  const n = e;
2087
2193
  return n.install = function(t) {
2088
2194
  t.component(n.name, e);
2089
2195
  }, e;
2090
2196
  };
2091
- H.register = (e, n, t, o) => {
2092
- e["combo-list"] = H, n["combo-list"] = Je;
2197
+ q.register = (e, n, t, o) => {
2198
+ e["combo-list"] = q, n["combo-list"] = Xe;
2093
2199
  };
2094
- H.registerDesigner = (e, n, t) => {
2095
- e["combo-list"] = Oo, n["combo-list"] = Je;
2200
+ q.registerDesigner = (e, n, t) => {
2201
+ e["combo-list"] = No, n["combo-list"] = Xe;
2096
2202
  };
2097
- Te(H);
2098
- const No = /* @__PURE__ */ new Map([
2099
- ["appearance", pe]
2203
+ Be(q);
2204
+ const jo = /* @__PURE__ */ new Map([
2205
+ ["appearance", ce]
2100
2206
  ]);
2101
- function jo(e, n, t) {
2207
+ function Lo(e, n, t) {
2102
2208
  return n;
2103
2209
  }
2104
- const Lo = "https://json-schema.org/draft/2020-12/schema", $o = "https://farris-design.gitee.io/input-group.schema.json", Do = "input-group", Ro = "A Farris Input Component", Uo = "object", _o = {
2210
+ const Do = "https://json-schema.org/draft/2020-12/schema", $o = "https://farris-design.gitee.io/input-group.schema.json", Uo = "input-group", Go = "A Farris Input Component", Ro = "object", _o = {
2105
2211
  id: {
2106
2212
  description: "The unique identifier for a Input Group",
2107
2213
  type: "string"
@@ -2303,18 +2409,18 @@ const Lo = "https://json-schema.org/draft/2020-12/schema", $o = "https://farris-
2303
2409
  type: "string",
2304
2410
  default: ""
2305
2411
  }
2306
- }, Go = [
2412
+ }, qo = [
2307
2413
  "id",
2308
2414
  "type"
2309
- ], qo = {
2310
- $schema: Lo,
2415
+ ], Wo = {
2416
+ $schema: Do,
2311
2417
  $id: $o,
2312
- title: Do,
2313
- description: Ro,
2314
- type: Uo,
2418
+ title: Uo,
2419
+ description: Go,
2420
+ type: Ro,
2315
2421
  properties: _o,
2316
- required: Go
2317
- }, Fe = {
2422
+ required: qo
2423
+ }, Te = {
2318
2424
  id: { Type: String, default: "" },
2319
2425
  /** 是否自动完成 */
2320
2426
  autocomplete: { Type: String, default: "off" },
@@ -2381,116 +2487,116 @@ const Lo = "https://json-schema.org/draft/2020-12/schema", $o = "https://farris-
2381
2487
  * - input: 输入时更新
2382
2488
  */
2383
2489
  updateOn: { type: String, default: "blur" }
2384
- }, Ke = ne(Fe, qo, No, jo);
2490
+ }, Ke = ee(Te, Wo, jo, Lo);
2385
2491
  function Ho(e, n, t, o) {
2386
- const r = v(e.disabled), a = v(!1), l = v("text"), u = v(e.showBorder), s = v(e.textAlign), i = v(e.updateOn), d = w(() => e.editable || !e.readonly), c = w(() => e.editable && !e.disabled && !e.readonly), f = w(() => !e.disabled && a.value), p = w(() => t.value === "" || t.value === null || t.value === void 0), y = w(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), m = w(() => e.readonly || !e.editable), b = w(() => e.enableTitle ? t.value : ""), S = w(() => ({
2492
+ const r = m(e.disabled), a = m(!1), l = m("text"), s = m(e.showBorder), c = m(e.textAlign), i = m(e.updateOn), d = x(() => e.editable || !e.readonly), u = x(() => e.editable && !e.disabled && !e.readonly), f = x(() => !e.disabled && a.value), p = x(() => t.value === "" || t.value === null || t.value === void 0), y = x(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), v = x(() => e.readonly || !e.editable), h = x(() => e.enableTitle ? t.value : ""), g = x(() => ({
2387
2493
  "form-control": !0,
2388
2494
  "f-utils-fill": !0,
2389
- "text-left": s.value === "left",
2390
- "text-center": s.value === "center",
2391
- "text-right": s.value === "right"
2392
- })), E = w(() => {
2393
- const k = {
2495
+ "text-left": c.value === "left",
2496
+ "text-center": c.value === "center",
2497
+ "text-right": c.value === "right"
2498
+ })), V = x(() => {
2499
+ const M = {
2394
2500
  "f-cmp-inputgroup": !0,
2395
2501
  "input-group": !0,
2396
2502
  "f-state-disable": r.value,
2397
- "f-state-editable": c.value,
2398
- "f-state-readonly": m.value,
2503
+ "f-state-editable": u.value,
2504
+ "f-state-readonly": v.value,
2399
2505
  "f-state-focus": f.value
2400
2506
  };
2401
- return (e.customClass || "").split(" ").reduce((re, fe) => (re[fe] = !0, re), k), k;
2402
- }), M = w(() => u.value ? "" : "border-width : 0 ");
2403
- function x(k, L = !0) {
2404
- t.value = k, o.value !== k && (o.value = k), L && n.emit("change", k), n.emit("update:modelValue", k), n.emit("update:value", k);
2507
+ return (e.customClass || "").split(" ").reduce((ne, fe) => (ne[fe] = !0, ne), M), M;
2508
+ }), E = x(() => s.value ? "" : "border-width : 0 ");
2509
+ function w(M, L = !0) {
2510
+ t.value = M, o.value !== M && (o.value = M), L && n.emit("change", M), n.emit("update:modelValue", M), n.emit("update:value", M);
2405
2511
  }
2406
2512
  O(
2407
2513
  () => e.modelValue,
2408
- (k, L) => {
2409
- k !== L && (t.value = k, o.value = k);
2514
+ (M, L) => {
2515
+ M !== L && (t.value = M, o.value = M);
2410
2516
  }
2411
- ), O(() => e.disabled, (k, L) => {
2412
- k !== L && (r.value = k);
2517
+ ), O(() => e.disabled, (M, L) => {
2518
+ M !== L && (r.value = M);
2413
2519
  });
2414
- function T(k) {
2415
- return a.value = !1, n.emit("blur", k), k.stopPropagation(), !1;
2520
+ function C(M) {
2521
+ return a.value = !1, n.emit("blur", M), M.stopPropagation(), !1;
2416
2522
  }
2417
- function C(k) {
2418
- n.emit("click", k);
2523
+ function T(M) {
2524
+ n.emit("click", M);
2419
2525
  }
2420
- function F(k) {
2421
- e.disabled || (u.value && (a.value = !0), d.value && n.emit("focus", k));
2526
+ function k(M) {
2527
+ e.disabled || (s.value && (a.value = !0), d.value && n.emit("focus", M));
2422
2528
  }
2423
- function A(k) {
2424
- n.emit("input", k.target.value);
2425
- const L = k.target.value;
2529
+ function P(M) {
2530
+ n.emit("input", M.target.value);
2531
+ const L = M.target.value;
2426
2532
  o.value = L, i.value === "change" && (n.emit("update:modelValue", L), n.emit("update:value", L));
2427
2533
  }
2428
- function I(k) {
2429
- n.emit("keydown", k);
2534
+ function U(M) {
2535
+ n.emit("keydown", M);
2430
2536
  }
2431
- function W(k) {
2432
- n.emit("keyup", k);
2537
+ function J(M) {
2538
+ n.emit("keyup", M);
2433
2539
  }
2434
- function U(k) {
2435
- k.target.tagName !== "INPUT" && k.preventDefault(), k.stopPropagation();
2540
+ function de(M) {
2541
+ M.target.tagName !== "INPUT" && M.preventDefault(), M.stopPropagation();
2436
2542
  }
2437
- function K(k) {
2543
+ function pe(M) {
2438
2544
  if (i.value === "blur") {
2439
- const L = k.target.value;
2440
- k.stopPropagation(), x(L);
2545
+ const L = M.target.value;
2546
+ M.stopPropagation(), w(L);
2441
2547
  }
2442
2548
  }
2443
2549
  return {
2444
- changeTextBoxValue: x,
2550
+ changeTextBoxValue: w,
2445
2551
  disabled: r,
2446
2552
  displayText: o,
2447
- editable: c,
2553
+ editable: u,
2448
2554
  hasFocused: f,
2449
- inputGroupClass: E,
2555
+ inputGroupClass: V,
2450
2556
  inputType: l,
2451
2557
  isEmpty: p,
2452
2558
  modelValue: t,
2453
- readonly: m,
2454
- onBlur: T,
2455
- onClick: C,
2456
- onFocus: F,
2457
- onInput: A,
2458
- onKeydown: I,
2459
- onKeyup: W,
2460
- onMousedown: U,
2461
- onTextBoxValueChange: K,
2559
+ readonly: v,
2560
+ onBlur: C,
2561
+ onClick: T,
2562
+ onFocus: k,
2563
+ onInput: P,
2564
+ onKeydown: U,
2565
+ onKeyup: J,
2566
+ onMousedown: de,
2567
+ onTextBoxValueChange: pe,
2462
2568
  placeholder: y,
2463
- textBoxClass: S,
2464
- textBoxTitle: b,
2465
- inputGroupStyle: M
2569
+ textBoxClass: g,
2570
+ textBoxTitle: h,
2571
+ inputGroupStyle: E
2466
2572
  };
2467
2573
  }
2468
- function Wo(e, n, t, o) {
2469
- const r = v(e.disabled), a = v(!1), l = v("text"), u = v(e.showBorder), s = v(e.textAlign);
2470
- w(() => e.editable || !e.readonly);
2471
- const i = w(() => e.editable && !e.disabled && !e.readonly), d = w(() => !e.disabled && a.value), c = w(() => t.value === "" || t.value === null || t.value === void 0), f = w(() => e.placeholder), p = w(() => e.readonly || !e.editable), y = w(() => e.enableTitle ? t.value : ""), m = w(() => ({
2574
+ function zo(e, n, t, o) {
2575
+ const r = m(e.disabled), a = m(!1), l = m("text"), s = m(e.showBorder), c = m(e.textAlign);
2576
+ x(() => e.editable || !e.readonly);
2577
+ const i = x(() => e.editable && !e.disabled && !e.readonly), d = x(() => !e.disabled && a.value), u = x(() => t.value === "" || t.value === null || t.value === void 0), f = x(() => e.placeholder), p = x(() => e.readonly || !e.editable), y = x(() => e.enableTitle ? t.value : ""), v = x(() => ({
2472
2578
  "form-control": !0,
2473
2579
  // 'f-utils-fill': true,
2474
- "text-left": s.value === "left",
2475
- "text-center": s.value === "center",
2476
- "text-right": s.value === "right"
2477
- })), b = w(() => ({
2580
+ "text-left": c.value === "left",
2581
+ "text-center": c.value === "center",
2582
+ "text-right": c.value === "right"
2583
+ })), h = x(() => ({
2478
2584
  "f-cmp-inputgroup": !0,
2479
2585
  "input-group": !0,
2480
2586
  "f-state-disable": !0,
2481
2587
  "f-state-editable": !1,
2482
2588
  "f-state-readonly": !0
2483
2589
  // 'f-state-focus': hasFocused.value
2484
- })), S = w(() => u.value ? "" : "border-width : 0 ");
2590
+ })), g = x(() => s.value ? "" : "border-width : 0 ");
2485
2591
  return {
2486
2592
  // changeTextBoxValue,
2487
2593
  disabled: r,
2488
2594
  displayText: o,
2489
2595
  editable: i,
2490
2596
  hasFocused: d,
2491
- inputGroupClass: b,
2597
+ inputGroupClass: h,
2492
2598
  inputType: l,
2493
- isEmpty: c,
2599
+ isEmpty: u,
2494
2600
  modelValue: t,
2495
2601
  readonly: p,
2496
2602
  // onBlur,
@@ -2502,39 +2608,39 @@ function Wo(e, n, t, o) {
2502
2608
  // onMousedown,
2503
2609
  // onTextBoxValueChange,
2504
2610
  placeholder: f,
2505
- textBoxClass: m,
2611
+ textBoxClass: v,
2506
2612
  textBoxTitle: y,
2507
- inputGroupStyle: S
2613
+ inputGroupStyle: g
2508
2614
  };
2509
2615
  }
2510
2616
  function et(e, n, t) {
2511
- const o = v(!1), r = w(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: a, displayText: l, hasFocused: u, isEmpty: s } = t;
2512
- function i(m) {
2513
- o.value = m;
2617
+ const o = m(!1), r = x(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: a, displayText: l, hasFocused: s, isEmpty: c } = t;
2618
+ function i(v) {
2619
+ o.value = v;
2514
2620
  }
2515
2621
  O(l, () => {
2516
- u != null && u.value ? i(!!(l != null && l.value)) : i(!1);
2622
+ s != null && s.value ? i(!!(l != null && l.value)) : i(!1);
2517
2623
  });
2518
- const d = w(() => ({
2624
+ const d = x(() => ({
2519
2625
  "input-group-text": !0,
2520
2626
  "input-group-clear": !0
2521
- })), c = w(() => ({
2627
+ })), u = x(() => ({
2522
2628
  width: "24px",
2523
2629
  display: o.value ? "flex" : "none"
2524
2630
  }));
2525
- function f(m) {
2526
- m.stopPropagation(), r.value && (a("", !0), i(!o.value), n.emit("clear"));
2631
+ function f(v) {
2632
+ v.stopPropagation(), r.value && (a("", !0), i(!o.value), n.emit("clear"));
2527
2633
  }
2528
- function p(m) {
2529
- r.value && !s.value && i(!0);
2634
+ function p(v) {
2635
+ r.value && !c.value && i(!0);
2530
2636
  }
2531
- function y(m) {
2637
+ function y(v) {
2532
2638
  r.value && i(!1);
2533
2639
  }
2534
- return { clearButtonClass: d, clearButtonStyle: c, hasShownClearButton: o, onClearValue: f, onMouseEnter: p, onMouseLeave: y, shouldShowClearButton: r };
2640
+ return { clearButtonClass: d, clearButtonStyle: u, hasShownClearButton: o, onClearValue: f, onMouseEnter: p, onMouseLeave: y, shouldShowClearButton: r };
2535
2641
  }
2536
- const zo = ["moz", "ms", "webkit"];
2537
- function Yo() {
2642
+ const Yo = ["moz", "ms", "webkit"];
2643
+ function Zo() {
2538
2644
  let e = 0;
2539
2645
  return (n) => {
2540
2646
  const t = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (t - e)), r = setTimeout(() => {
@@ -2543,65 +2649,65 @@ function Yo() {
2543
2649
  return e = t + o, r;
2544
2650
  };
2545
2651
  }
2546
- function Zo() {
2652
+ function Xo() {
2547
2653
  if (typeof window > "u")
2548
2654
  return () => 0;
2549
2655
  if (window.requestAnimationFrame)
2550
2656
  return window.requestAnimationFrame.bind(window);
2551
- const e = zo.filter((n) => `${n}RequestAnimationFrame` in window)[0];
2552
- return e ? window[`${e}RequestAnimationFrame`] : Yo();
2657
+ const e = Yo.filter((n) => `${n}RequestAnimationFrame` in window)[0];
2658
+ return e ? window[`${e}RequestAnimationFrame`] : Zo();
2553
2659
  }
2554
- Zo();
2660
+ Xo();
2555
2661
  function tt(e, n) {
2556
- const t = v(e.groupText), o = w(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), r = w(() => e.enableClear || !!e.groupText);
2557
- return { appendedButtonClass: w(() => ({
2662
+ const t = m(e.groupText), o = x(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), r = x(() => e.enableClear || !!e.groupText);
2663
+ return { appendedButtonClass: x(() => ({
2558
2664
  "input-group-append": !0,
2559
2665
  "append-force-show": o.value
2560
2666
  })), appendedContent: t, shouldShowAppendedButton: r };
2561
2667
  }
2562
2668
  function nt(e, n, t, o) {
2563
- const { appendedContent: r } = o, a = v(e.enableViewPassword), l = w(() => e.type === "password"), u = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', s = '<span class="f-icon f-icon-eye"></span>', i = v(!1);
2669
+ const { appendedContent: r } = o, a = m(e.enableViewPassword), l = x(() => e.type === "password"), s = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', c = '<span class="f-icon f-icon-eye"></span>', i = m(!1);
2564
2670
  O(() => [e.readonly, e.disabled], ([f, p]) => {
2565
- l.value && (t.value = f || p ? "password" : t.value, r.value = f || p ? s : r.value);
2671
+ l.value && (t.value = f || p ? "password" : t.value, r.value = f || p ? c : r.value);
2566
2672
  });
2567
2673
  function d() {
2568
- return i.value = !i.value, t.value = i.value ? "text" : "password", r.value = i.value ? u : s, !1;
2674
+ return i.value = !i.value, t.value = i.value ? "text" : "password", r.value = i.value ? s : c, !1;
2569
2675
  }
2570
- function c() {
2571
- t.value = l.value ? "password" : "text", r.value = l.value ? a.value ? s : "" : r.value;
2676
+ function u() {
2677
+ t.value = l.value ? "password" : "text", r.value = l.value ? a.value ? c : "" : r.value;
2572
2678
  }
2573
- return c(), { isPassword: l, onClickAppendedButton: d };
2679
+ return u(), { isPassword: l, onClickAppendedButton: d };
2574
2680
  }
2575
2681
  function ot(e, n, t) {
2576
- const o = v(), {
2682
+ const o = m(), {
2577
2683
  onBlurTextBox: r,
2578
2684
  onFocusTextBox: a,
2579
2685
  onInput: l,
2580
- onKeyDown: u,
2581
- textBoxValue: s
2582
- } = t, i = w(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), d = w(() => ({
2686
+ onKeyDown: s,
2687
+ textBoxValue: c
2688
+ } = t, i = x(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), d = x(() => ({
2583
2689
  "form-control": !0,
2584
2690
  "f-utils-fill": !0
2585
- })), c = w(() => ({
2691
+ })), u = x(() => ({
2586
2692
  "text-align": e.textAlign
2587
2693
  }));
2588
- function f(m) {
2589
- m.stopPropagation();
2694
+ function f(v) {
2695
+ v.stopPropagation();
2590
2696
  }
2591
2697
  function p() {
2592
2698
  e.selectOnCreated, e.focusOnCreated;
2593
2699
  }
2594
- async function y(m) {
2595
- a(m), await le, p();
2700
+ async function y(v) {
2701
+ a(v), await ae, p();
2596
2702
  }
2597
- return q(async () => {
2598
- await le, p();
2599
- }), () => g("input", {
2703
+ return _(async () => {
2704
+ await ae, p();
2705
+ }), () => S("input", {
2600
2706
  ref: o,
2601
2707
  class: d.value,
2602
- style: c.value,
2708
+ style: u.value,
2603
2709
  type: "text",
2604
- value: s.value,
2710
+ value: c.value,
2605
2711
  disabled: e.disabled,
2606
2712
  readonly: e.readonly || !e.editable,
2607
2713
  placeholder: i.value,
@@ -2609,133 +2715,133 @@ function ot(e, n, t) {
2609
2715
  onChange: f,
2610
2716
  onFocus: y,
2611
2717
  onInput: l,
2612
- onKeydown: u
2718
+ onKeydown: s
2613
2719
  }, null);
2614
2720
  }
2615
- function ke(e, n, t) {
2721
+ function Fe(e, n, t) {
2616
2722
  const {
2617
2723
  canDownward: o,
2618
2724
  canUpward: r,
2619
2725
  onClickDownButton: a,
2620
2726
  onClickUpButton: l
2621
- } = t, u = w(() => ({
2727
+ } = t, s = x(() => ({
2622
2728
  "input-group-append": !0,
2623
2729
  "btn-group": !0,
2624
2730
  "btn-group-number": !0
2625
- })), s = w(() => ({
2731
+ })), c = x(() => ({
2626
2732
  btn: !0,
2627
2733
  "btn-secondary": !0,
2628
2734
  "btn-number-flag": !0
2629
- })), i = w(() => ({
2735
+ })), i = x(() => ({
2630
2736
  cursor: r() ? "pointer" : "not-allowed",
2631
2737
  "margin-left": 0
2632
- })), d = w(() => ({
2738
+ })), d = x(() => ({
2633
2739
  cursor: o() ? "pointer" : "not-allowed",
2634
2740
  "margin-left": 0
2635
2741
  }));
2636
- return () => g("div", {
2637
- class: u.value
2638
- }, [g("button", {
2742
+ return () => S("div", {
2743
+ class: s.value
2744
+ }, [S("button", {
2639
2745
  title: "upButton",
2640
- class: s.value,
2746
+ class: c.value,
2641
2747
  style: i.value,
2642
2748
  onClick: l,
2643
2749
  disabled: !r()
2644
- }, [g("span", {
2750
+ }, [S("span", {
2645
2751
  class: "f-icon f-icon-arrow-chevron-up number-arrow-chevron"
2646
- }, null)]), g("button", {
2752
+ }, null)]), S("button", {
2647
2753
  title: "downButton",
2648
- class: s.value,
2754
+ class: c.value,
2649
2755
  style: d.value,
2650
2756
  onClick: a,
2651
2757
  disabled: !o()
2652
- }, [g("span", {
2758
+ }, [S("span", {
2653
2759
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
2654
2760
  }, null)])]);
2655
2761
  }
2656
2762
  function Jo(e, n) {
2657
- const t = mn(e, n), o = hn(e, n, t), r = bn(e, n, o, t), a = gn(e, n, o, t, r), l = ke(e, n, r), {
2658
- displayValue: u,
2659
- modelValue: s,
2763
+ const t = vn(e, n), o = mn(e, n, t), r = hn(e, n, o, t), a = bn(e, n, o, t, r), l = Fe(e, n, r), {
2764
+ displayValue: s,
2765
+ modelValue: c,
2660
2766
  getRealValue: i
2661
2767
  } = t, d = ot(e, n, a), {
2662
- format: c
2768
+ format: u
2663
2769
  } = o, {
2664
2770
  isFocus: f
2665
- } = a, p = w(() => !e.disabled && !e.readonly);
2666
- return q(() => {
2771
+ } = a, p = x(() => !e.disabled && !e.readonly);
2772
+ return _(() => {
2667
2773
  const y = i(e.modelValue);
2668
- u.value = c(y);
2774
+ s.value = u(y);
2669
2775
  }), O(() => [e.value], ([y]) => {
2670
- const m = i(y);
2671
- s.value = m, u.value = c(m);
2776
+ const v = i(y);
2777
+ c.value = v, s.value = u(v);
2672
2778
  }), O(() => [e.modelValue], ([y]) => {
2673
- y !== s.value && (s.value = y, !f.value && (u.value = c(i(y))));
2779
+ y !== c.value && (c.value = y, !f.value && (s.value = u(i(y))));
2674
2780
  }), O(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
2675
- u.value = c(s.value);
2676
- }), () => g("div", {
2781
+ s.value = u(c.value);
2782
+ }), () => S("div", {
2677
2783
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
2678
2784
  }, [d(), p.value && l()]);
2679
2785
  }
2680
- function Xo(e, n, t, o) {
2681
- const r = v(), a = v(e.autocomplete), l = v(e.enableTitle), {
2682
- isPassword: u
2683
- } = t, s = v(e.minLength), i = v(e.maxLength), d = v(e.tabIndex), {
2684
- disabled: c,
2786
+ function Qo(e, n, t, o) {
2787
+ const r = m(), a = m(e.autocomplete), l = m(e.enableTitle), {
2788
+ isPassword: s
2789
+ } = t, c = m(e.minLength), i = m(e.maxLength), d = m(e.tabIndex), {
2790
+ disabled: u,
2685
2791
  displayText: f,
2686
2792
  inputType: p,
2687
2793
  onBlur: y,
2688
- onFocus: m,
2689
- onInput: b,
2690
- onClick: S,
2691
- onKeydown: E,
2692
- onKeyup: M,
2693
- onMousedown: x,
2694
- onTextBoxValueChange: T,
2695
- readonly: C,
2696
- placeholder: F,
2697
- textBoxClass: A,
2698
- textBoxTitle: I
2794
+ onFocus: v,
2795
+ onInput: h,
2796
+ onClick: g,
2797
+ onKeydown: V,
2798
+ onKeyup: E,
2799
+ onMousedown: w,
2800
+ onTextBoxValueChange: C,
2801
+ readonly: T,
2802
+ placeholder: k,
2803
+ textBoxClass: P,
2804
+ textBoxTitle: U
2699
2805
  } = o;
2700
- return q(() => {
2806
+ return _(() => {
2701
2807
  e.selectOnCreated, e.focusOnCreated;
2702
- }), () => g("input", {
2808
+ }), () => S("input", {
2703
2809
  ref: r,
2704
2810
  name: "input-group-value",
2705
2811
  autocomplete: a.value,
2706
- class: A.value,
2707
- disabled: c == null ? void 0 : c.value,
2812
+ class: P.value,
2813
+ disabled: u == null ? void 0 : u.value,
2708
2814
  maxlength: i.value,
2709
- minlength: s.value,
2710
- placeholder: F.value,
2711
- readonly: C == null ? void 0 : C.value,
2815
+ minlength: c.value,
2816
+ placeholder: k.value,
2817
+ readonly: T == null ? void 0 : T.value,
2712
2818
  tabindex: d.value,
2713
- title: l.value && !u.value ? I.value : "",
2819
+ title: l.value && !s.value ? U.value : "",
2714
2820
  type: p.value,
2715
2821
  value: f == null ? void 0 : f.value,
2716
2822
  onBlur: y,
2717
- onClick: S,
2718
- onChange: T,
2719
- onFocus: m,
2720
- onInput: b,
2721
- onKeydown: E,
2722
- onKeyup: M,
2723
- onMousedown: x
2823
+ onClick: g,
2824
+ onChange: C,
2825
+ onFocus: v,
2826
+ onInput: h,
2827
+ onKeydown: V,
2828
+ onKeyup: E,
2829
+ onMousedown: w
2724
2830
  }, null);
2725
2831
  }
2726
- function Qo(e, n) {
2727
- const t = w(() => e.useExtendInfo && !!e.extendInfo), o = cn({
2832
+ function Ko(e, n) {
2833
+ const t = x(() => e.useExtendInfo && !!e.extendInfo), o = cn({
2728
2834
  content: e.extendInfo
2729
2835
  });
2730
2836
  function r() {
2731
2837
  n.emit("updateExtendInfo");
2732
2838
  }
2733
- return () => t.value && he(g("span", {
2839
+ return () => t.value && he(S("span", {
2734
2840
  class: "input-group-before-tips",
2735
2841
  onMouseenter: r
2736
- }, [g("i", {
2842
+ }, [S("i", {
2737
2843
  class: "f-icon f-icon-info-circle"
2738
- }, null), g("b", {
2844
+ }, null), S("b", {
2739
2845
  class: "tips-arrow"
2740
2846
  }, null)]), [[dn("tooltip"), o]]);
2741
2847
  }
@@ -2743,104 +2849,104 @@ function rt(e, n, t, o, r) {
2743
2849
  const {
2744
2850
  appendedButtonClass: a,
2745
2851
  appendedContent: l
2746
- } = t, u = w(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), s = w(() => l.value && !n.slots.groupTextTemplate), i = w(() => !!n.slots.groupTextTemplate), {
2852
+ } = t, s = x(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), c = x(() => l.value && !n.slots.groupTextTemplate), i = x(() => !!n.slots.groupTextTemplate), {
2747
2853
  clearButtonClass: d,
2748
- clearButtonStyle: c,
2854
+ clearButtonStyle: u,
2749
2855
  onClearValue: f,
2750
2856
  shouldShowClearButton: p
2751
2857
  } = o;
2752
2858
  function y() {
2753
- return g("span", {
2859
+ return S("span", {
2754
2860
  id: "clearIcon",
2755
2861
  class: d.value,
2756
- style: c.value,
2757
- onClick: (F) => f(F)
2758
- }, [g("i", {
2862
+ style: u.value,
2863
+ onClick: (k) => f(k)
2864
+ }, [S("i", {
2759
2865
  class: "f-icon modal_close"
2760
2866
  }, null)]);
2761
2867
  }
2762
- function m(F) {
2763
- n.emit("iconMouseEnter", F);
2868
+ function v(k) {
2869
+ n.emit("iconMouseEnter", k);
2764
2870
  }
2765
- function b(F) {
2766
- n.emit("iconMouseLeave", F);
2871
+ function h(k) {
2872
+ n.emit("iconMouseLeave", k);
2767
2873
  }
2768
- function S(F) {
2769
- u.value && n.emit("clickHandle", {
2770
- originalEvent: F
2771
- }), F.stopPropagation();
2874
+ function g(k) {
2875
+ s.value && n.emit("clickHandle", {
2876
+ originalEvent: k
2877
+ }), k.stopPropagation();
2772
2878
  }
2773
- const E = e.type === "password" ? r.onClickAppendedButton : S;
2774
- function M() {
2775
- return g("span", {
2879
+ const V = e.type === "password" ? r.onClickAppendedButton : g;
2880
+ function E() {
2881
+ return S("span", {
2776
2882
  class: "input-group-text",
2777
- onMouseenter: (F) => m(F),
2778
- onMouseleave: (F) => b(F),
2883
+ onMouseenter: (k) => v(k),
2884
+ onMouseleave: (k) => h(k),
2779
2885
  innerHTML: l.value,
2780
- onClick: (F) => E(F)
2886
+ onClick: (k) => V(k)
2781
2887
  }, null);
2782
2888
  }
2783
- function x() {
2889
+ function w() {
2784
2890
  return n.slots.groupTextTemplate && n.slots.groupTextTemplate();
2785
2891
  }
2786
- function T() {
2787
- return s.value ? M : i.value ? x : "";
2892
+ function C() {
2893
+ return c.value ? E : i.value ? w : "";
2788
2894
  }
2789
- const C = T();
2790
- return () => g("div", {
2895
+ const T = C();
2896
+ return () => S("div", {
2791
2897
  class: a.value
2792
- }, [p.value && y(), C && C()]);
2898
+ }, [p.value && y(), T && T()]);
2793
2899
  }
2794
- const ee = /* @__PURE__ */ G({
2900
+ const Q = /* @__PURE__ */ R({
2795
2901
  name: "FInputGroup",
2796
- props: Fe,
2902
+ props: Te,
2797
2903
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
2798
2904
  setup(e, n) {
2799
- const t = v(e.modelValue), o = v(e.modelValue), r = Ho(e, n, t, o), {
2905
+ const t = m(e.modelValue), o = m(e.modelValue), r = Ho(e, n, t, o), {
2800
2906
  inputGroupClass: a,
2801
2907
  inputType: l,
2802
- inputGroupStyle: u
2803
- } = r, s = tt(e), {
2908
+ inputGroupStyle: s
2909
+ } = r, c = tt(e), {
2804
2910
  shouldShowAppendedButton: i
2805
- } = s, d = et(e, n, r), {
2806
- onMouseEnter: c,
2911
+ } = c, d = et(e, n, r), {
2912
+ onMouseEnter: u,
2807
2913
  onMouseLeave: f
2808
- } = d, p = nt(e, n, l, s), y = Jo(e, n), m = Xo(e, n, p, r), b = rt(e, n, s, d, p), S = Qo(e, n), E = w(() => e.type === "number");
2809
- O(() => [e.value], ([x]) => {
2810
- t.value = x, o.value = x;
2811
- }), O(() => [e.modelValue], ([x]) => {
2812
- t.value = x, o.value = x;
2813
- }), q(() => {
2914
+ } = d, p = nt(e, n, l, c), y = Jo(e, n), v = Qo(e, n, p, r), h = rt(e, n, c, d, p), g = Ko(e, n), V = x(() => e.type === "number");
2915
+ O(() => [e.value], ([w]) => {
2916
+ t.value = w, o.value = w;
2917
+ }), O(() => [e.modelValue], ([w]) => {
2918
+ t.value = w, o.value = w;
2919
+ }), _(() => {
2814
2920
  e.value && (t.value = e.value, o.value = e.value);
2815
2921
  });
2816
- const M = () => g(be, null, [g("div", {
2922
+ const E = () => S(be, null, [S("div", {
2817
2923
  id: e.id,
2818
2924
  class: a.value,
2819
- style: u.value,
2820
- onMouseenter: c,
2925
+ style: s.value,
2926
+ onMouseenter: u,
2821
2927
  onMouseleave: f
2822
- }, [E.value ? y() : g(be, null, [S(), m(), i.value && b()])])]);
2823
- return () => M();
2928
+ }, [V.value ? y() : S(be, null, [g(), v(), i.value && h()])])]);
2929
+ return () => E();
2824
2930
  }
2825
2931
  });
2826
- class Ko extends Be {
2932
+ class er extends Ve {
2827
2933
  constructor(n, t) {
2828
2934
  super(n, t);
2829
2935
  }
2830
2936
  }
2831
- function er(e, n) {
2937
+ function tr(e, n) {
2832
2938
  const {
2833
2939
  canAccepts: t,
2834
2940
  checkCanDeleteComponent: o,
2835
2941
  checkCanMoveComponent: r,
2836
2942
  hideNestedPaddingInDesginerView: a,
2837
2943
  onAcceptMovedChildElement: l,
2838
- resolveComponentContext: u,
2839
- triggerBelongedComponentToMoveWhenMoved: s,
2944
+ resolveComponentContext: s,
2945
+ triggerBelongedComponentToMoveWhenMoved: c,
2840
2946
  triggerBelongedComponentToDeleteWhenDeleted: i
2841
- } = Ve(e), d = e.schema;
2842
- function c(f, p) {
2843
- return new Ko(f, n).getPropertyConfig(d, p);
2947
+ } = xe(e), d = e.schema;
2948
+ function u(f, p) {
2949
+ return new er(f, n).getPropertyConfig(d, p);
2844
2950
  }
2845
2951
  return {
2846
2952
  canAccepts: t,
@@ -2848,23 +2954,23 @@ function er(e, n) {
2848
2954
  checkCanMoveComponent: r,
2849
2955
  hideNestedPaddingInDesginerView: a,
2850
2956
  onAcceptMovedChildElement: l,
2851
- resolveComponentContext: u,
2852
- triggerBelongedComponentToMoveWhenMoved: s,
2957
+ resolveComponentContext: s,
2958
+ triggerBelongedComponentToMoveWhenMoved: c,
2853
2959
  triggerBelongedComponentToDeleteWhenDeleted: i,
2854
- getPropsConfig: c
2960
+ getPropsConfig: u
2855
2961
  };
2856
2962
  }
2857
2963
  function at(e, n, t) {
2858
- var T;
2964
+ var w;
2859
2965
  function o() {
2860
2966
  t != null && t.resolveComponentContext && t.resolveComponentContext();
2861
2967
  }
2862
2968
  o();
2863
- const r = t && t.getStyles && t.getStyles() || "", a = t && t.getDesignerClass && t.getDesignerClass() || "", l = v();
2864
- function u() {
2969
+ const r = t && t.getStyles && t.getStyles() || "", a = t && t.getDesignerClass && t.getDesignerClass() || "", l = m();
2970
+ function s() {
2865
2971
  return (n == null ? void 0 : n.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
2866
2972
  }
2867
- function s() {
2973
+ function c() {
2868
2974
  return !1;
2869
2975
  }
2870
2976
  function i() {
@@ -2873,17 +2979,17 @@ function at(e, n, t) {
2873
2979
  function d() {
2874
2980
  return (n == null ? void 0 : n.schema.componentType) === "frame" ? !0 : t && t.hideNestedPaddingInDesginerView ? t.hideNestedPaddingInDesginerView() : !1;
2875
2981
  }
2876
- function c(C) {
2982
+ function u(C) {
2877
2983
  if (!C || !C.value)
2878
2984
  return null;
2879
2985
  if (C.value.schema && C.value.schema.type === "component")
2880
2986
  return C.value;
2881
- const F = v(C == null ? void 0 : C.value.parent), A = c(F);
2882
- return A || null;
2987
+ const T = m(C == null ? void 0 : C.value.parent), k = u(T);
2988
+ return k || null;
2883
2989
  }
2884
2990
  function f(C = n) {
2885
- const { componentInstance: F, designerItemElementRef: A } = C;
2886
- return !F || !F.value ? null : F.value.canMove ? A : f(C.parent);
2991
+ const { componentInstance: T, designerItemElementRef: k } = C;
2992
+ return !T || !T.value ? null : T.value.canMove ? k : f(C.parent);
2887
2993
  }
2888
2994
  function p(C) {
2889
2995
  return !!t && t.canAccepts(C);
@@ -2891,102 +2997,93 @@ function at(e, n, t) {
2891
2997
  function y() {
2892
2998
  return (n == null ? void 0 : n.schema.label) || (n == null ? void 0 : n.schema.title) || (n == null ? void 0 : n.schema.name);
2893
2999
  }
2894
- function m() {
2895
- }
2896
- function b(C, F) {
2897
- F && t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(F);
3000
+ function v() {
2898
3001
  }
2899
- function S(C, F) {
2900
- const { componentType: A } = C;
2901
- let I = ge(A, C, F);
2902
- t && t.onResolveNewComponentSchema && (I = t.onResolveNewComponentSchema(C, I));
2903
- const W = A.toLowerCase().replace("-", "_");
2904
- return I && !I.id && I.type === A && (I.id = `${W}_${Math.random().toString().slice(2, 6)}`), I;
3002
+ function h(C, T) {
3003
+ T && t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(T);
2905
3004
  }
2906
- function E(C, F) {
2907
- const A = String(C.getAttribute("data-controltype")), I = C.getAttribute("data-feature"), W = I ? JSON.parse(I) : {};
2908
- W.parentComponentInstance = l.value;
2909
- let U = ge(A, W);
2910
- t && t.onAcceptNewChildElement && (U = t.onAcceptNewChildElement(C, F, U));
2911
- const K = A.toLowerCase().replace("-", "_");
2912
- return U && !U.id && U.type === A && (U.id = `${K}_${Math.random().toString().slice(2, 6)}`), U;
3005
+ function g(C, T) {
3006
+ const { componentType: k } = C;
3007
+ let P = Ye(k, C, T);
3008
+ t && t.onResolveNewComponentSchema && (P = t.onResolveNewComponentSchema(C, P));
3009
+ const U = k.toLowerCase().replace("-", "_");
3010
+ return P && !P.id && P.type === k && (P.id = `${U}_${Math.random().toString().slice(2, 6)}`), P;
2913
3011
  }
2914
- function M(C) {
3012
+ function V(C) {
2915
3013
  }
2916
- function x(...C) {
3014
+ function E(...C) {
2917
3015
  if (t && t.getPropsConfig)
2918
3016
  return t.getPropsConfig(...C);
2919
3017
  }
2920
3018
  return l.value = {
2921
- canMove: u(),
2922
- canSelectParent: s(),
3019
+ canMove: s(),
3020
+ canSelectParent: c(),
2923
3021
  canDelete: i(),
2924
3022
  canNested: !d(),
2925
3023
  contents: n == null ? void 0 : n.schema.contents,
2926
3024
  elementRef: e,
2927
- parent: (T = n == null ? void 0 : n.parent) == null ? void 0 : T.componentInstance,
3025
+ parent: (w = n == null ? void 0 : n.parent) == null ? void 0 : w.componentInstance,
2928
3026
  schema: n == null ? void 0 : n.schema,
2929
3027
  styles: r,
2930
3028
  designerClass: a,
2931
3029
  canAccepts: p,
2932
- getBelongedComponentInstance: c,
3030
+ getBelongedComponentInstance: u,
2933
3031
  getDraggableDesignItemElement: f,
2934
3032
  getDraggingDisplayText: y,
2935
- getPropConfig: x,
2936
- getDragScopeElement: m,
2937
- onAcceptMovedChildElement: b,
2938
- onAcceptNewChildElement: E,
2939
- onChildElementMovedOut: M,
2940
- addNewChildComponentSchema: S,
3033
+ getPropConfig: E,
3034
+ getDragScopeElement: v,
3035
+ onAcceptMovedChildElement: h,
3036
+ onChildElementMovedOut: V,
3037
+ addNewChildComponentSchema: g,
2941
3038
  updateDragAndDropRules: o,
2942
- triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || v(!1),
2943
- triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || v(!1)
3039
+ triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || m(!1),
3040
+ triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || m(!1)
2944
3041
  }, l;
2945
3042
  }
2946
- const tr = /* @__PURE__ */ G({
3043
+ const nr = /* @__PURE__ */ R({
2947
3044
  name: "FInputGroupDesign",
2948
- props: Fe,
3045
+ props: Te,
2949
3046
  emits: ["updateExtendInfo", "clear", "valueChange", "clickHandle", "blurHandle", "focusHandle", "enterHandle", "iconMouseEnter", "iconMouseLeave", "keyupHandle", "keydownHandle", "inputClick"],
2950
3047
  setup(e, n) {
2951
- const t = v(e.modelValue), o = v(e.modelValue), r = Wo(e, n, t, o), {
3048
+ const t = m(e.modelValue), o = m(e.modelValue), r = zo(e, n, t, o), {
2952
3049
  inputGroupClass: a,
2953
3050
  inputType: l,
2954
- inputGroupStyle: u
2955
- } = r, s = tt(e), {
3051
+ inputGroupStyle: s
3052
+ } = r, c = tt(e), {
2956
3053
  shouldShowAppendedButton: i
2957
- } = s, d = et(e, n, r), {
2958
- onMouseEnter: c,
3054
+ } = c, d = et(e, n, r), {
3055
+ onMouseEnter: u,
2959
3056
  onMouseLeave: f
2960
- } = d, p = nt(e, n, l, s), y = v(), m = z("designer-host-service"), b = z("design-item-context"), S = er(b, m), E = at(y, b, S);
2961
- q(() => {
2962
- y.value.componentInstance = E;
2963
- }), n.expose(E.value);
2964
- const M = rt(e, n, s, d, p), x = v();
2965
- return () => g("div", {
3057
+ } = d, p = nt(e, n, l, c), y = m(), v = W("designer-host-service"), h = W("design-item-context"), g = tr(h, v), V = at(y, h, g);
3058
+ _(() => {
3059
+ y.value.componentInstance = V;
3060
+ }), n.expose(V.value);
3061
+ const E = rt(e, n, c, d, p), w = m();
3062
+ return () => S("div", {
2966
3063
  id: "inputGroup",
2967
3064
  ref: y,
2968
3065
  class: a.value,
2969
- style: u.value,
2970
- onMouseenter: c,
3066
+ style: s.value,
3067
+ onMouseenter: u,
2971
3068
  onMouseleave: f
2972
- }, [g("input", {
2973
- ref: x,
3069
+ }, [S("input", {
3070
+ ref: w,
2974
3071
  class: "form-control",
2975
3072
  readonly: !0,
2976
3073
  placeholder: e.placeholder
2977
- }, null), i.value && M()]);
3074
+ }, null), i.value && E()]);
2978
3075
  }
2979
3076
  });
2980
- ee.register = (e, n, t, o) => {
2981
- e["input-group"] = ee, n["input-group"] = Ke;
3077
+ Q.register = (e, n, t, o) => {
3078
+ e["input-group"] = Q, n["input-group"] = Ke;
2982
3079
  };
2983
- ee.registerDesigner = (e, n, t) => {
2984
- e["input-group"] = tr, n["input-group"] = Ke;
3080
+ Q.registerDesigner = (e, n, t) => {
3081
+ e["input-group"] = nr, n["input-group"] = Ke;
2985
3082
  };
2986
- Te(ee);
2987
- const nr = /* @__PURE__ */ new Map([
2988
- ["appearance", pe]
2989
- ]), or = "https://json-schema.org/draft/2020-12/schema", rr = "https://farris-design.gitee.io/number-spinner.schema.json", ar = "number-spinner", ir = "A Farris Input Component", lr = "object", ur = {
3083
+ Be(Q);
3084
+ const or = /* @__PURE__ */ new Map([
3085
+ ["appearance", ce]
3086
+ ]), rr = "https://json-schema.org/draft/2020-12/schema", ar = "https://farris-design.gitee.io/number-spinner.schema.json", lr = "number-spinner", ir = "A Farris Input Component", ur = "object", sr = {
2990
3087
  id: {
2991
3088
  description: "The unique identifier for a number spinner",
2992
3089
  type: "string"
@@ -3087,27 +3184,27 @@ const nr = /* @__PURE__ */ new Map([
3087
3184
  type: "sting",
3088
3185
  default: ""
3089
3186
  }
3090
- }, sr = [
3187
+ }, cr = [
3091
3188
  "id",
3092
3189
  "type"
3093
- ], cr = [
3190
+ ], dr = [
3094
3191
  "id",
3095
3192
  "appearance",
3096
3193
  "binding"
3097
- ], dr = {
3098
- $schema: or,
3099
- $id: rr,
3100
- title: ar,
3194
+ ], pr = {
3195
+ $schema: rr,
3196
+ $id: ar,
3197
+ title: lr,
3101
3198
  description: ir,
3102
- type: lr,
3103
- properties: ur,
3104
- required: sr,
3105
- ignore: cr
3199
+ type: ur,
3200
+ properties: sr,
3201
+ required: cr,
3202
+ ignore: dr
3106
3203
  };
3107
- function pr(e, n, t) {
3204
+ function fr(e, n, t) {
3108
3205
  return n;
3109
3206
  }
3110
- const Ee = {
3207
+ const ke = {
3111
3208
  /**
3112
3209
  * 组件标识
3113
3210
  */
@@ -3211,42 +3308,42 @@ const Ee = {
3211
3308
  * 作为内嵌编辑器被创建后默认选中文本
3212
3309
  */
3213
3310
  selectOnCreated: { type: Boolean, default: !1 }
3214
- }, it = ne(Ee, dr, nr, pr);
3215
- function lt(e, n, t, o) {
3216
- const { format: r } = t, { displayValue: a, getRealValue: l, modelValue: u, onNumberValueChanged: s } = o;
3311
+ }, lt = ee(ke, pr, or, fr);
3312
+ function it(e, n, t, o) {
3313
+ const { format: r } = t, { displayValue: a, getRealValue: l, modelValue: s, onNumberValueChanged: c } = o;
3217
3314
  function i() {
3218
- const b = new D(u.value || 0);
3219
- return !(e.max && !new D(e.max).isNaN() && b.gte(new D(e.max)));
3315
+ const h = new D(s.value || 0);
3316
+ return !(e.max && !new D(e.max).isNaN() && h.gte(new D(e.max)));
3220
3317
  }
3221
3318
  function d() {
3222
- const b = new D(u.value || 0);
3223
- return !(e.min && !new D(e.min).isNaN() && b.lte(new D(e.min)));
3319
+ const h = new D(s.value || 0);
3320
+ return !(e.min && !new D(e.min).isNaN() && h.lte(new D(e.min)));
3224
3321
  }
3225
- function c(b) {
3322
+ function u(h) {
3226
3323
  if (e.readonly || e.disabled)
3227
3324
  return;
3228
- const S = b === "up" ? i : d, E = b === "up" ? "plus" : "minus";
3229
- if (S()) {
3230
- const x = new D(u.value || 0)[E](Number(e.step)), T = x.toFixed();
3231
- a.value = r(T), s(l(x));
3325
+ const g = h === "up" ? i : d, V = h === "up" ? "plus" : "minus";
3326
+ if (g()) {
3327
+ const w = new D(s.value || 0)[V](Number(e.step)), C = w.toFixed();
3328
+ a.value = r(C), c(l(w));
3232
3329
  }
3233
3330
  }
3234
3331
  function f() {
3235
- c("up");
3332
+ u("up");
3236
3333
  }
3237
3334
  function p() {
3238
- c("down");
3335
+ u("down");
3239
3336
  }
3240
- function y(b) {
3241
- f(), b.stopPropagation();
3337
+ function y(h) {
3338
+ f(), h.stopPropagation();
3242
3339
  }
3243
- function m(b) {
3244
- p(), b.stopPropagation();
3340
+ function v(h) {
3341
+ p(), h.stopPropagation();
3245
3342
  }
3246
- return { canDownward: d, canUpward: i, downward: p, onClickDownButton: m, onClickUpButton: y, upward: f };
3343
+ return { canDownward: d, canUpward: i, downward: p, onClickDownButton: v, onClickUpButton: y, upward: f };
3247
3344
  }
3248
3345
  function ut(e, n, t) {
3249
- const o = w(() => ({
3346
+ const o = x(() => ({
3250
3347
  prefix: e.prefix,
3251
3348
  suffix: e.suffix,
3252
3349
  decimalSeparator: e.decimalSeparator,
@@ -3256,107 +3353,107 @@ function ut(e, n, t) {
3256
3353
  function l(i) {
3257
3354
  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;
3258
3355
  }
3259
- function u(i, d) {
3356
+ function s(i, d) {
3260
3357
  return e.precision !== null && e.precision !== void 0 ? i.toFormat(a.value, d) : i.toFormat(d);
3261
3358
  }
3262
- function s(i) {
3263
- const d = l(i), c = new D(d, 10), f = r(c);
3264
- return f.valueOf() === "0" && !e.showZero || f.isNaN() ? "" : e.formatter ? e.formatter(f.toNumber()) : u(f, o.value);
3359
+ function c(i) {
3360
+ const d = l(i), u = new D(d, 10), f = r(u);
3361
+ return f.valueOf() === "0" && !e.showZero || f.isNaN() ? "" : e.formatter ? e.formatter(f.toNumber()) : s(f, o.value);
3265
3362
  }
3266
- return { cleanFormat: l, format: s };
3363
+ return { cleanFormat: l, format: c };
3267
3364
  }
3268
3365
  function st(e, n) {
3269
- const t = v(""), o = v(e.modelValue), r = w(() => Number(e.precision) || 0);
3366
+ const t = m(""), o = m(e.modelValue), r = x(() => Number(e.precision) || 0);
3270
3367
  function a(d) {
3271
3368
  return d.toFixed(r.value);
3272
3369
  }
3273
3370
  function l(d) {
3274
3371
  return isNaN(d) || d === null || d === void 0 || d === "";
3275
3372
  }
3276
- function u(d) {
3277
- const c = l(e.max) ? null : new D(String(e.max), 10), f = l(e.min) ? null : new D(String(e.min), 10);
3278
- return c && d.gt(c) ? c : f && d.lt(f) ? f : d;
3279
- }
3280
3373
  function s(d) {
3374
+ const u = l(e.max) ? null : new D(String(e.max), 10), f = l(e.min) ? null : new D(String(e.min), 10);
3375
+ return u && d.gt(u) ? u : f && d.lt(f) ? f : d;
3376
+ }
3377
+ function c(d) {
3281
3378
  if (e.parser)
3282
3379
  return isNaN(Number(d)) ? e.parser(d) : d;
3283
- let c = u(new D(d, 10));
3284
- if (c.isNaN()) {
3380
+ let u = s(new D(d, 10));
3381
+ if (u.isNaN()) {
3285
3382
  if (e.canNull)
3286
3383
  return null;
3287
3384
  const p = new D("" + e.min, 10), y = new D("" + e.max, 10);
3288
3385
  if (!p.isNaN())
3289
- c = p;
3386
+ u = p;
3290
3387
  else if (!y.isNaN())
3291
- c = y;
3388
+ u = y;
3292
3389
  else
3293
3390
  return 0;
3294
3391
  }
3295
- return a(c);
3392
+ return a(u);
3296
3393
  }
3297
3394
  function i(d) {
3298
- const c = Number(d);
3299
- o.value = c, n.emit("update:modelValue", c), n.emit("valueChange", c), n.emit("change", c);
3395
+ const u = Number(d);
3396
+ o.value = u, n.emit("update:modelValue", u), n.emit("valueChange", u), n.emit("change", u);
3300
3397
  }
3301
- return { displayValue: t, getRealValue: s, modelValue: o, isEmpty: l, onNumberValueChanged: i, precision: r, getValidNumberObject: u };
3398
+ return { displayValue: t, getRealValue: c, modelValue: o, isEmpty: l, onNumberValueChanged: i, precision: r, getValidNumberObject: s };
3302
3399
  }
3303
- function fr(e, n, t, o, r) {
3304
- const { cleanFormat: a, format: l } = t, { displayValue: u, getRealValue: s, modelValue: i, isEmpty: d, onNumberValueChanged: c } = o, { downward: f, upward: p } = r, y = v(!1), m = w(() => u.value);
3305
- function b(x) {
3306
- var F;
3307
- if (x.stopPropagation(), y.value = !1, e.readonly || e.disabled)
3400
+ function yr(e, n, t, o, r) {
3401
+ const { cleanFormat: a, format: l } = t, { displayValue: s, getRealValue: c, modelValue: i, isEmpty: d, onNumberValueChanged: u } = o, { downward: f, upward: p } = r, y = m(!1), v = x(() => s.value);
3402
+ function h(w) {
3403
+ var k;
3404
+ if (w.stopPropagation(), y.value = !1, e.readonly || e.disabled)
3308
3405
  return;
3309
- let T = (F = x.target) == null ? void 0 : F.value;
3310
- e.canNull || (T = T || 0);
3311
- const C = a(T);
3312
- u.value = l(C), c(s(C)), n.emit("blur", { event: x, formatted: u.value, value: i.value });
3313
- }
3314
- function S(x) {
3315
- x.stopPropagation(), y.value = !0, !(e.readonly || e.disabled) && (u.value = d(i.value) || !e.showZero && i.value === "0" ? "" : String(i.value), n.emit("focus", { event: x, formatted: u.value, value: i.value }));
3316
- }
3317
- function E(x) {
3318
- var F;
3319
- x.stopPropagation();
3320
- let T = (F = x.target) == null ? void 0 : F.value;
3321
- e.canNull || (T = T || 0);
3322
- const C = a(T);
3323
- u.value = C, c(s(C));
3324
- }
3325
- function M(x) {
3326
- x.key === "ArrowDown" && (x.preventDefault(), f()), x.key === "ArrowUp" && (x.preventDefault(), p()), x.stopPropagation();
3327
- }
3328
- return { textBoxValue: m, onBlurTextBox: b, onFocusTextBox: S, onInput: E, onKeyDown: M, isFocus: y };
3406
+ let C = (k = w.target) == null ? void 0 : k.value;
3407
+ e.canNull || (C = C || 0);
3408
+ const T = a(C);
3409
+ s.value = l(T), u(c(T)), n.emit("blur", { event: w, formatted: s.value, value: i.value });
3410
+ }
3411
+ function g(w) {
3412
+ w.stopPropagation(), y.value = !0, !(e.readonly || e.disabled) && (s.value = d(i.value) || !e.showZero && i.value === "0" ? "" : String(i.value), n.emit("focus", { event: w, formatted: s.value, value: i.value }));
3413
+ }
3414
+ function V(w) {
3415
+ var k;
3416
+ w.stopPropagation();
3417
+ let C = (k = w.target) == null ? void 0 : k.value;
3418
+ e.canNull || (C = C || 0);
3419
+ const T = a(C);
3420
+ s.value = T, u(c(T));
3421
+ }
3422
+ function E(w) {
3423
+ w.key === "ArrowDown" && (w.preventDefault(), f()), w.key === "ArrowUp" && (w.preventDefault(), p()), w.stopPropagation();
3424
+ }
3425
+ return { textBoxValue: v, onBlurTextBox: h, onFocusTextBox: g, onInput: V, onKeyDown: E, isFocus: y };
3329
3426
  }
3330
- const te = /* @__PURE__ */ G({
3427
+ const K = /* @__PURE__ */ R({
3331
3428
  name: "FNumberSpinner",
3332
- props: Ee,
3429
+ props: ke,
3333
3430
  emits: ["update:modelValue", "valueChange", "change", "blur", "focus", "click", "input"],
3334
3431
  setup(e, n) {
3335
- const t = st(e, n), o = ut(e, n, t), r = lt(e, n, o, t), a = fr(e, n, o, t, r), l = ke(e, n, r), {
3336
- displayValue: u,
3337
- modelValue: s,
3432
+ const t = st(e, n), o = ut(e, n, t), r = it(e, n, o, t), a = yr(e, n, o, t, r), l = Fe(e, n, r), {
3433
+ displayValue: s,
3434
+ modelValue: c,
3338
3435
  getRealValue: i
3339
3436
  } = t, d = ot(e, n, a), {
3340
- format: c
3437
+ format: u
3341
3438
  } = o, {
3342
3439
  isFocus: f
3343
- } = a, p = w(() => !e.disabled && !e.readonly && e.showButton);
3344
- return q(() => {
3440
+ } = a, p = x(() => !e.disabled && !e.readonly && e.showButton);
3441
+ return _(() => {
3345
3442
  const y = i(e.modelValue);
3346
- u.value = c(y);
3443
+ s.value = u(y);
3347
3444
  }), O(() => [e.value], ([y]) => {
3348
- const m = i(y);
3349
- s.value = m, u.value = c(m);
3445
+ const v = i(y);
3446
+ c.value = v, s.value = u(v);
3350
3447
  }), O(() => [e.modelValue], ([y]) => {
3351
- y !== s.value && (s.value = y, !f.value && (u.value = c(i(y))));
3448
+ y !== c.value && (c.value = y, !f.value && (s.value = u(i(y))));
3352
3449
  }), O(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
3353
- u.value = c(s.value);
3354
- }), () => g("div", {
3450
+ s.value = u(c.value);
3451
+ }), () => S("div", {
3355
3452
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
3356
3453
  }, [d(), p.value && l()]);
3357
3454
  }
3358
3455
  });
3359
- class yr extends Be {
3456
+ class vr extends Ve {
3360
3457
  constructor(n, t) {
3361
3458
  super(n, t);
3362
3459
  }
@@ -3389,19 +3486,19 @@ class yr extends Be {
3389
3486
  });
3390
3487
  }
3391
3488
  }
3392
- function vr(e, n) {
3489
+ function mr(e, n) {
3393
3490
  const {
3394
3491
  canAccepts: t,
3395
3492
  checkCanDeleteComponent: o,
3396
3493
  checkCanMoveComponent: r,
3397
3494
  hideNestedPaddingInDesginerView: a,
3398
3495
  onAcceptMovedChildElement: l,
3399
- resolveComponentContext: u,
3400
- triggerBelongedComponentToMoveWhenMoved: s,
3496
+ resolveComponentContext: s,
3497
+ triggerBelongedComponentToMoveWhenMoved: c,
3401
3498
  triggerBelongedComponentToDeleteWhenDeleted: i
3402
- } = Ve(e), d = e.schema;
3403
- function c(f, p) {
3404
- return new yr(f, n).getPropertyConfig(d, p);
3499
+ } = xe(e), d = e.schema;
3500
+ function u(f, p) {
3501
+ return new vr(f, n).getPropertyConfig(d, p);
3405
3502
  }
3406
3503
  return {
3407
3504
  canAccepts: t,
@@ -3409,84 +3506,84 @@ function vr(e, n) {
3409
3506
  checkCanMoveComponent: r,
3410
3507
  hideNestedPaddingInDesginerView: a,
3411
3508
  onAcceptMovedChildElement: l,
3412
- resolveComponentContext: u,
3413
- triggerBelongedComponentToMoveWhenMoved: s,
3509
+ resolveComponentContext: s,
3510
+ triggerBelongedComponentToMoveWhenMoved: c,
3414
3511
  triggerBelongedComponentToDeleteWhenDeleted: i,
3415
- getPropsConfig: c
3512
+ getPropsConfig: u
3416
3513
  };
3417
3514
  }
3418
- const mr = /* @__PURE__ */ G({
3515
+ const hr = /* @__PURE__ */ R({
3419
3516
  name: "FNumberSpinnerDesign",
3420
- props: Ee,
3517
+ props: ke,
3421
3518
  emits: ["update:modelValue", "valueChange", "change", "blur", "focus", "click", "input"],
3422
3519
  setup(e, n) {
3423
- const t = st(e, n), o = ut(e, n, t), r = lt(e, n, o, t), a = ke(e, n, r), l = v(), u = z("designer-host-service"), s = z("design-item-context"), i = vr(s, u), d = at(l, s, i);
3424
- q(() => {
3520
+ const t = st(e, n), o = ut(e, n, t), r = it(e, n, o, t), a = Fe(e, n, r), l = m(), s = W("designer-host-service"), c = W("design-item-context"), i = mr(c, s), d = at(l, c, i);
3521
+ _(() => {
3425
3522
  l.value.componentInstance = d, e.readonly = !0;
3426
3523
  }), n.expose(d.value);
3427
- const c = v();
3428
- return () => g("div", {
3524
+ const u = m();
3525
+ return () => S("div", {
3429
3526
  ref: l,
3430
3527
  class: "input-group f-state-hover flex-row f-cmp-number-spinner test"
3431
- }, [g("input", {
3432
- ref: c,
3528
+ }, [S("input", {
3529
+ ref: u,
3433
3530
  class: "form-control",
3434
3531
  readonly: !0,
3435
3532
  placeholder: e.placeholder
3436
3533
  }, null), a()]);
3437
3534
  }
3438
3535
  });
3439
- te.register = (e, n, t, o) => {
3440
- e["number-spinner"] = te, n["number-spinner"] = it;
3536
+ K.register = (e, n, t, o) => {
3537
+ e["number-spinner"] = K, n["number-spinner"] = lt;
3441
3538
  };
3442
- te.registerDesigner = (e, n, t) => {
3443
- e["number-spinner"] = mr, n["number-spinner"] = it;
3539
+ K.registerDesigner = (e, n, t) => {
3540
+ e["number-spinner"] = hr, n["number-spinner"] = lt;
3444
3541
  };
3445
- Te(te);
3446
- function hr(e, n, t, o, r, a, l) {
3447
- const u = v(0), s = v(""), i = v([]), d = v(""), c = v("");
3542
+ Be(K);
3543
+ function br(e, n, t, o, r, a, l) {
3544
+ const s = m(0), c = m(""), i = m([]), d = m(""), u = m("");
3448
3545
  function f() {
3449
- e.value.propertyType === "enum" && e.value.propertyValue.type === "const" && (d.value = B(e.value.propertyValue.value), n.value = B(e.value.editorOptions.enums));
3546
+ e.value.propertyType === "enum" && e.value.propertyValue.type === "const" && (d.value = F(e.value.propertyValue.value), n.value = F(e.value.editorOptions.enums));
3450
3547
  }
3451
3548
  function p() {
3452
- e.value.propertyType === "number" && (u.value = e.value.propertyValue.value);
3549
+ e.value.propertyType === "number" && (s.value = e.value.propertyValue.value);
3453
3550
  }
3454
3551
  function y() {
3455
- t.value.id === "stateMachine" && (o = B(e.value.propertyValue.value.id), o ? r.value = B(e.value.propertyValue.value.exist) : r.value = "否");
3552
+ t.value.id === "stateMachine" && (o = F(e.value.propertyValue.value.id), o ? r.value = F(e.value.propertyValue.value.exist) : r.value = "否");
3456
3553
  }
3457
- function m() {
3458
- if (t.value.id === "dataStates" && (i.value = B(e.value.editorOptions.dataStates), e.value.propertyValue.value)) {
3459
- const x = e.value.propertyValue.value, T = i.value.filter((C) => x.includes(C.value)).map((C) => C.value).join(",");
3460
- s.value = B(T);
3554
+ function v() {
3555
+ if (t.value.id === "dataStates" && (i.value = F(e.value.editorOptions.dataStates), e.value.propertyValue.value)) {
3556
+ const w = e.value.propertyValue.value, C = i.value.filter((T) => w.includes(T.value)).map((T) => T.value).join(",");
3557
+ c.value = F(C);
3461
3558
  }
3462
3559
  }
3463
- function b() {
3464
- t.value.id === "variable" && (c.value = e.value.propertyValue.value.path);
3560
+ function h() {
3561
+ t.value.id === "variable" && (u.value = e.value.propertyValue.value.path);
3465
3562
  }
3466
- function S() {
3563
+ function g() {
3467
3564
  if (t.value.id === "expression") {
3468
3565
  l.value = !0;
3469
- const { handleExpressionValue: x } = e.value.editorOptions.expressionConfig;
3470
- x ? a.value = x().value.value : a.value = e.value.editorOptions.expressionConfig.expressionValue.value.value;
3566
+ const { handleExpressionValue: w } = e.value.editorOptions.expressionConfig;
3567
+ w ? a.value = w().value.value : a.value = e.value.editorOptions.expressionConfig.expressionValue.value.value;
3471
3568
  }
3472
3569
  }
3473
- function E() {
3570
+ function V() {
3474
3571
  t.value.id;
3475
3572
  }
3476
- function M() {
3477
- f(), p(), b(), y(), m(), S(), E();
3573
+ function E() {
3574
+ f(), p(), h(), y(), v(), g(), V();
3478
3575
  }
3479
3576
  return {
3480
- numberConstValue: u,
3481
- bindVariableValue: c,
3482
- dataStatesBindValue: s,
3577
+ numberConstValue: s,
3578
+ bindVariableValue: u,
3579
+ dataStatesBindValue: c,
3483
3580
  dataStatesValueArray: i,
3484
3581
  constEnumBindValue: d,
3485
- setValue: M
3582
+ setValue: E
3486
3583
  };
3487
3584
  }
3488
- function br(e, n, t, o, r, a, l, u, s, i, d, c) {
3489
- const f = v(!1), p = v({
3585
+ function gr(e, n, t, o, r, a, l, s, c, i, d, u) {
3586
+ const f = m(!1), p = m({
3490
3587
  propertyName: "",
3491
3588
  /** 属性类型:boolean, string, number, enum */
3492
3589
  propertyType: "",
@@ -3498,104 +3595,104 @@ function br(e, n, t, o, r, a, l, u, s, i, d, c) {
3498
3595
  hasPrefix: !1
3499
3596
  });
3500
3597
  function y() {
3501
- n.value.propertyValue.type === "const" && (n.value.propertyValue.value = B(r.value.constValue.value), t.value = B(r.value.constValue.value), o.value = B(n.value.editorOptions.enums));
3598
+ n.value.propertyValue.type === "const" && (n.value.propertyValue.value = F(r.value.constValue.value), t.value = F(r.value.constValue.value), o.value = F(n.value.editorOptions.enums));
3502
3599
  }
3503
- function m() {
3504
- n.value.propertyValue.type === "stateMachine" && (n.value.propertyValue.value = B(r.value.stateMachineValue.value), a.value = B(n.value.editorOptions.stateMachine), n.value.propertyValue.value.name ? B(n.value.propertyValue.value.id) : (n.value.propertyValue.value = {
3600
+ function v() {
3601
+ n.value.propertyValue.type === "stateMachine" && (n.value.propertyValue.value = F(r.value.stateMachineValue.value), a.value = F(n.value.editorOptions.stateMachine), n.value.propertyValue.value.name ? F(n.value.propertyValue.value.id) : (n.value.propertyValue.value = {
3505
3602
  id: "",
3506
3603
  name: "",
3507
3604
  exist: ""
3508
- }, u.value = "否"));
3605
+ }, s.value = "否"));
3509
3606
  }
3510
- function b() {
3511
- n.value.propertyValue.type === "dataStates" && (n.value.propertyValue.value = B(r.value.dataStatesValue.value), s.value = B(n.value.editorOptions.dataStates));
3607
+ function h() {
3608
+ n.value.propertyValue.type === "dataStates" && (n.value.propertyValue.value = F(r.value.dataStatesValue.value), c.value = F(n.value.editorOptions.dataStates));
3512
3609
  }
3513
- function S() {
3610
+ function g() {
3514
3611
  i.value = "", r.value.expressionValue && (r.value.expressionValue.value = "");
3515
3612
  }
3516
- function E() {
3517
- d.value || (u.value = u.value === "否" ? "是" : "否", n.value.propertyValue.value.exist = u, r.value.stateMachineValue.value.exist = u, T());
3613
+ function V() {
3614
+ d.value || (s.value = s.value === "否" ? "是" : "否", n.value.propertyValue.value.exist = s, r.value.stateMachineValue.value.exist = s, C());
3518
3615
  }
3519
- function M() {
3616
+ function E() {
3520
3617
  p.value.propertyValue.value && p.value.propertyValue.value.includes("viewModel.stateMachine") && (r.value.customValue.value = "");
3521
3618
  }
3522
- function x() {
3523
- p.value.propertyName = B(n.value.propertyName), p.value.propertyType = B(n.value.propertyType), p.value.propertyValue = B(n.value.propertyValue), p.value.hasPrefix = B(f);
3619
+ function w() {
3620
+ 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);
3524
3621
  }
3525
- function T() {
3622
+ function C() {
3526
3623
  if (!d.value)
3527
- switch (x(), p.value.propertyValue.type) {
3624
+ switch (w(), p.value.propertyValue.type) {
3528
3625
  case "const":
3529
- (p.value.propertyType === "enum" && p.value.propertyValue.value !== "" || p.value.propertyType === "number" && p.value.propertyValue.value != null || p.value.propertyType === "string") && (S(), e.emit("propertyEditorValueChanged", p));
3626
+ (p.value.propertyType === "enum" && p.value.propertyValue.value !== "" || p.value.propertyType === "number" && p.value.propertyValue.value != null || p.value.propertyType === "string") && (g(), e.emit("propertyEditorValueChanged", p));
3530
3627
  break;
3531
3628
  case "variable":
3532
- p.value.propertyValue.value.path !== "" && (S(), e.emit("propertyEditorValueChanged", p));
3629
+ p.value.propertyValue.value.path !== "" && (g(), e.emit("propertyEditorValueChanged", p));
3533
3630
  break;
3534
3631
  case "custom":
3535
- S(), M(), e.emit("propertyEditorValueChanged", p);
3632
+ g(), E(), e.emit("propertyEditorValueChanged", p);
3536
3633
  break;
3537
3634
  case "expression":
3538
3635
  i.value && e.emit("propertyEditorValueChanged", p);
3539
3636
  break;
3540
3637
  case "stateMachine":
3541
- p.value.propertyValue.value.id && (S(), e.emit("propertyEditorValueChanged", p));
3638
+ p.value.propertyValue.value.id && (g(), e.emit("propertyEditorValueChanged", p));
3542
3639
  break;
3543
3640
  case "dataStates":
3544
3641
  if (p.value.propertyValue.value !== "") {
3545
- S(), e.emit("propertyEditorValueChanged", p);
3642
+ g(), e.emit("propertyEditorValueChanged", p);
3546
3643
  break;
3547
3644
  }
3548
3645
  }
3549
3646
  }
3550
- function C() {
3551
- n.value.propertyValue = r.value[`${c.value.id}Value`], y(), m(), b(), T(), p.value.isNewVariable = !1;
3647
+ function T() {
3648
+ n.value.propertyValue = r.value[`${u.value.id}Value`], y(), v(), h(), C(), p.value.isNewVariable = !1;
3552
3649
  }
3553
3650
  return {
3554
- updateData: C,
3555
- changeState: E,
3651
+ updateData: T,
3652
+ changeState: V,
3556
3653
  prefix: f,
3557
3654
  propertyEditorValueChange: p
3558
3655
  };
3559
3656
  }
3560
- var Ce = function(e, n) {
3561
- return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, o) {
3657
+ var ge = function(e, n) {
3658
+ return ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, o) {
3562
3659
  t.__proto__ = o;
3563
3660
  } || function(t, o) {
3564
3661
  for (var r in o) Object.prototype.hasOwnProperty.call(o, r) && (t[r] = o[r]);
3565
- }, Ce(e, n);
3662
+ }, ge(e, n);
3566
3663
  };
3567
- function Y(e, n) {
3664
+ function H(e, n) {
3568
3665
  if (typeof n != "function" && n !== null)
3569
3666
  throw new TypeError("Class extends value " + String(n) + " is not a constructor or null");
3570
- Ce(e, n);
3667
+ ge(e, n);
3571
3668
  function t() {
3572
3669
  this.constructor = e;
3573
3670
  }
3574
3671
  e.prototype = n === null ? Object.create(n) : (t.prototype = n.prototype, new t());
3575
3672
  }
3576
- function gr(e, n, t, o) {
3673
+ function Cr(e, n, t, o) {
3577
3674
  function r(a) {
3578
3675
  return a instanceof t ? a : new t(function(l) {
3579
3676
  l(a);
3580
3677
  });
3581
3678
  }
3582
3679
  return new (t || (t = Promise))(function(a, l) {
3583
- function u(d) {
3680
+ function s(d) {
3584
3681
  try {
3585
3682
  i(o.next(d));
3586
- } catch (c) {
3587
- l(c);
3683
+ } catch (u) {
3684
+ l(u);
3588
3685
  }
3589
3686
  }
3590
- function s(d) {
3687
+ function c(d) {
3591
3688
  try {
3592
3689
  i(o.throw(d));
3593
- } catch (c) {
3594
- l(c);
3690
+ } catch (u) {
3691
+ l(u);
3595
3692
  }
3596
3693
  }
3597
3694
  function i(d) {
3598
- d.done ? a(d.value) : r(d.value).then(u, s);
3695
+ d.done ? a(d.value) : r(d.value).then(s, c);
3599
3696
  }
3600
3697
  i((o = o.apply(e, n || [])).next());
3601
3698
  });
@@ -3605,15 +3702,15 @@ function ct(e, n) {
3605
3702
  if (a[0] & 1) throw a[1];
3606
3703
  return a[1];
3607
3704
  }, trys: [], ops: [] }, o, r, a, l = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
3608
- return l.next = u(0), l.throw = u(1), l.return = u(2), typeof Symbol == "function" && (l[Symbol.iterator] = function() {
3705
+ return l.next = s(0), l.throw = s(1), l.return = s(2), typeof Symbol == "function" && (l[Symbol.iterator] = function() {
3609
3706
  return this;
3610
3707
  }), l;
3611
- function u(i) {
3708
+ function s(i) {
3612
3709
  return function(d) {
3613
- return s([i, d]);
3710
+ return c([i, d]);
3614
3711
  };
3615
3712
  }
3616
- function s(i) {
3713
+ function c(i) {
3617
3714
  if (o) throw new TypeError("Generator is already executing.");
3618
3715
  for (; l && (l = 0, i[0] && (t = 0)), t; ) try {
3619
3716
  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;
@@ -3660,7 +3757,7 @@ function ct(e, n) {
3660
3757
  return { value: i[0] ? i[1] : void 0, done: !0 };
3661
3758
  }
3662
3759
  }
3663
- function Q(e) {
3760
+ function X(e) {
3664
3761
  var n = typeof Symbol == "function" && Symbol.iterator, t = n && e[n], o = 0;
3665
3762
  if (t) return t.call(e);
3666
3763
  if (e && typeof e.length == "number") return {
@@ -3670,14 +3767,14 @@ function Q(e) {
3670
3767
  };
3671
3768
  throw new TypeError(n ? "Object is not iterable." : "Symbol.iterator is not defined.");
3672
3769
  }
3673
- function se(e, n) {
3770
+ function ie(e, n) {
3674
3771
  var t = typeof Symbol == "function" && e[Symbol.iterator];
3675
3772
  if (!t) return e;
3676
3773
  var o = t.call(e), r, a = [], l;
3677
3774
  try {
3678
3775
  for (; (n === void 0 || n-- > 0) && !(r = o.next()).done; ) a.push(r.value);
3679
- } catch (u) {
3680
- l = { error: u };
3776
+ } catch (s) {
3777
+ l = { error: s };
3681
3778
  } finally {
3682
3779
  try {
3683
3780
  r && !r.done && (t = o.return) && t.call(o);
@@ -3687,68 +3784,68 @@ function se(e, n) {
3687
3784
  }
3688
3785
  return a;
3689
3786
  }
3690
- function ce(e, n, t) {
3787
+ function ue(e, n, t) {
3691
3788
  if (t || arguments.length === 2) for (var o = 0, r = n.length, a; o < r; o++)
3692
3789
  (a || !(o in n)) && (a || (a = Array.prototype.slice.call(n, 0, o)), a[o] = n[o]);
3693
3790
  return e.concat(a || Array.prototype.slice.call(n));
3694
3791
  }
3695
- function X(e) {
3696
- return this instanceof X ? (this.v = e, this) : new X(e);
3792
+ function Z(e) {
3793
+ return this instanceof Z ? (this.v = e, this) : new Z(e);
3697
3794
  }
3698
- function Cr(e, n, t) {
3795
+ function Sr(e, n, t) {
3699
3796
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
3700
3797
  var o = t.apply(e, n || []), r, a = [];
3701
- return r = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), u("next"), u("throw"), u("return", l), r[Symbol.asyncIterator] = function() {
3798
+ return r = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), s("next"), s("throw"), s("return", l), r[Symbol.asyncIterator] = function() {
3702
3799
  return this;
3703
3800
  }, r;
3704
3801
  function l(p) {
3705
3802
  return function(y) {
3706
- return Promise.resolve(y).then(p, c);
3803
+ return Promise.resolve(y).then(p, u);
3707
3804
  };
3708
3805
  }
3709
- function u(p, y) {
3710
- o[p] && (r[p] = function(m) {
3711
- return new Promise(function(b, S) {
3712
- a.push([p, m, b, S]) > 1 || s(p, m);
3806
+ function s(p, y) {
3807
+ o[p] && (r[p] = function(v) {
3808
+ return new Promise(function(h, g) {
3809
+ a.push([p, v, h, g]) > 1 || c(p, v);
3713
3810
  });
3714
3811
  }, y && (r[p] = y(r[p])));
3715
3812
  }
3716
- function s(p, y) {
3813
+ function c(p, y) {
3717
3814
  try {
3718
3815
  i(o[p](y));
3719
- } catch (m) {
3720
- f(a[0][3], m);
3816
+ } catch (v) {
3817
+ f(a[0][3], v);
3721
3818
  }
3722
3819
  }
3723
3820
  function i(p) {
3724
- p.value instanceof X ? Promise.resolve(p.value.v).then(d, c) : f(a[0][2], p);
3821
+ p.value instanceof Z ? Promise.resolve(p.value.v).then(d, u) : f(a[0][2], p);
3725
3822
  }
3726
3823
  function d(p) {
3727
- s("next", p);
3824
+ c("next", p);
3728
3825
  }
3729
- function c(p) {
3730
- s("throw", p);
3826
+ function u(p) {
3827
+ c("throw", p);
3731
3828
  }
3732
3829
  function f(p, y) {
3733
- p(y), a.shift(), a.length && s(a[0][0], a[0][1]);
3830
+ p(y), a.shift(), a.length && c(a[0][0], a[0][1]);
3734
3831
  }
3735
3832
  }
3736
- function Sr(e) {
3833
+ function wr(e) {
3737
3834
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
3738
3835
  var n = e[Symbol.asyncIterator], t;
3739
- return n ? n.call(e) : (e = typeof Q == "function" ? Q(e) : e[Symbol.iterator](), t = {}, o("next"), o("throw"), o("return"), t[Symbol.asyncIterator] = function() {
3836
+ return n ? n.call(e) : (e = typeof X == "function" ? X(e) : e[Symbol.iterator](), t = {}, o("next"), o("throw"), o("return"), t[Symbol.asyncIterator] = function() {
3740
3837
  return this;
3741
3838
  }, t);
3742
3839
  function o(a) {
3743
3840
  t[a] = e[a] && function(l) {
3744
- return new Promise(function(u, s) {
3745
- l = e[a](l), r(u, s, l.done, l.value);
3841
+ return new Promise(function(s, c) {
3842
+ l = e[a](l), r(s, c, l.done, l.value);
3746
3843
  });
3747
3844
  };
3748
3845
  }
3749
- function r(a, l, u, s) {
3750
- Promise.resolve(s).then(function(i) {
3751
- a({ value: i, done: u });
3846
+ function r(a, l, s, c) {
3847
+ Promise.resolve(c).then(function(i) {
3848
+ a({ value: i, done: s });
3752
3849
  }, l);
3753
3850
  }
3754
3851
  }
@@ -3770,13 +3867,13 @@ var ye = dt(function(e) {
3770
3867
  `) : "", this.name = "UnsubscriptionError", this.errors = t;
3771
3868
  };
3772
3869
  });
3773
- function de(e, n) {
3870
+ function se(e, n) {
3774
3871
  if (e) {
3775
3872
  var t = e.indexOf(n);
3776
3873
  0 <= t && e.splice(t, 1);
3777
3874
  }
3778
3875
  }
3779
- var oe = function() {
3876
+ var te = function() {
3780
3877
  function e(n) {
3781
3878
  this.initialTeardown = n, this.closed = !1, this._parentage = null, this._finalizers = null;
3782
3879
  }
@@ -3788,15 +3885,15 @@ var oe = function() {
3788
3885
  if (l)
3789
3886
  if (this._parentage = null, Array.isArray(l))
3790
3887
  try {
3791
- for (var u = Q(l), s = u.next(); !s.done; s = u.next()) {
3792
- var i = s.value;
3888
+ for (var s = X(l), c = s.next(); !c.done; c = s.next()) {
3889
+ var i = c.value;
3793
3890
  i.remove(this);
3794
3891
  }
3795
- } catch (m) {
3796
- n = { error: m };
3892
+ } catch (v) {
3893
+ n = { error: v };
3797
3894
  } finally {
3798
3895
  try {
3799
- s && !s.done && (t = u.return) && t.call(u);
3896
+ c && !c.done && (t = s.return) && t.call(s);
3800
3897
  } finally {
3801
3898
  if (n) throw n.error;
3802
3899
  }
@@ -3807,23 +3904,23 @@ var oe = function() {
3807
3904
  if (N(d))
3808
3905
  try {
3809
3906
  d();
3810
- } catch (m) {
3811
- a = m instanceof ye ? m.errors : [m];
3907
+ } catch (v) {
3908
+ a = v instanceof ye ? v.errors : [v];
3812
3909
  }
3813
- var c = this._finalizers;
3814
- if (c) {
3910
+ var u = this._finalizers;
3911
+ if (u) {
3815
3912
  this._finalizers = null;
3816
3913
  try {
3817
- for (var f = Q(c), p = f.next(); !p.done; p = f.next()) {
3914
+ for (var f = X(u), p = f.next(); !p.done; p = f.next()) {
3818
3915
  var y = p.value;
3819
3916
  try {
3820
- Re(y);
3821
- } catch (m) {
3822
- a = a ?? [], m instanceof ye ? a = ce(ce([], se(a)), se(m.errors)) : a.push(m);
3917
+ $e(y);
3918
+ } catch (v) {
3919
+ a = a ?? [], v instanceof ye ? a = ue(ue([], ie(a)), ie(v.errors)) : a.push(v);
3823
3920
  }
3824
3921
  }
3825
- } catch (m) {
3826
- o = { error: m };
3922
+ } catch (v) {
3923
+ o = { error: v };
3827
3924
  } finally {
3828
3925
  try {
3829
3926
  p && !p.done && (r = f.return) && r.call(f);
@@ -3839,7 +3936,7 @@ var oe = function() {
3839
3936
  var t;
3840
3937
  if (n && n !== this)
3841
3938
  if (this.closed)
3842
- Re(n);
3939
+ $e(n);
3843
3940
  else {
3844
3941
  if (n instanceof e) {
3845
3942
  if (n.closed || n._hasParent(this))
@@ -3856,19 +3953,19 @@ var oe = function() {
3856
3953
  this._parentage = Array.isArray(t) ? (t.push(n), t) : t ? [t, n] : n;
3857
3954
  }, e.prototype._removeParent = function(n) {
3858
3955
  var t = this._parentage;
3859
- t === n ? this._parentage = null : Array.isArray(t) && de(t, n);
3956
+ t === n ? this._parentage = null : Array.isArray(t) && se(t, n);
3860
3957
  }, e.prototype.remove = function(n) {
3861
3958
  var t = this._finalizers;
3862
- t && de(t, n), n instanceof e && n._removeParent(this);
3959
+ t && se(t, n), n instanceof e && n._removeParent(this);
3863
3960
  }, e.EMPTY = function() {
3864
3961
  var n = new e();
3865
3962
  return n.closed = !0, n;
3866
3963
  }(), e;
3867
- }(), pt = oe.EMPTY;
3964
+ }(), pt = te.EMPTY;
3868
3965
  function ft(e) {
3869
- return e instanceof oe || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
3966
+ return e instanceof te || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
3870
3967
  }
3871
- function Re(e) {
3968
+ function $e(e) {
3872
3969
  N(e) ? e() : e.unsubscribe();
3873
3970
  }
3874
3971
  var yt = {
@@ -3877,11 +3974,11 @@ var yt = {
3877
3974
  Promise: void 0,
3878
3975
  useDeprecatedSynchronousErrorHandling: !1,
3879
3976
  useDeprecatedNextContext: !1
3880
- }, wr = {
3977
+ }, xr = {
3881
3978
  setTimeout: function(e, n) {
3882
3979
  for (var t = [], o = 2; o < arguments.length; o++)
3883
3980
  t[o - 2] = arguments[o];
3884
- return setTimeout.apply(void 0, ce([e, n], se(t)));
3981
+ return setTimeout.apply(void 0, ue([e, n], ie(t)));
3885
3982
  },
3886
3983
  clearTimeout: function(e) {
3887
3984
  return clearTimeout(e);
@@ -3889,23 +3986,23 @@ var yt = {
3889
3986
  delegate: void 0
3890
3987
  };
3891
3988
  function vt(e) {
3892
- wr.setTimeout(function() {
3989
+ xr.setTimeout(function() {
3893
3990
  throw e;
3894
3991
  });
3895
3992
  }
3896
3993
  function Ue() {
3897
3994
  }
3898
- function ie(e) {
3995
+ function re(e) {
3899
3996
  e();
3900
3997
  }
3901
3998
  var Me = function(e) {
3902
- Y(n, e);
3999
+ H(n, e);
3903
4000
  function n(t) {
3904
4001
  var o = e.call(this) || this;
3905
- return o.isStopped = !1, t ? (o.destination = t, ft(t) && t.add(o)) : o.destination = Tr, o;
4002
+ return o.isStopped = !1, t ? (o.destination = t, ft(t) && t.add(o)) : o.destination = Fr, o;
3906
4003
  }
3907
4004
  return n.create = function(t, o, r) {
3908
- return new Se(t, o, r);
4005
+ return new Ce(t, o, r);
3909
4006
  }, n.prototype.next = function(t) {
3910
4007
  this.isStopped || this._next(t);
3911
4008
  }, n.prototype.error = function(t) {
@@ -3929,11 +4026,11 @@ var Me = function(e) {
3929
4026
  this.unsubscribe();
3930
4027
  }
3931
4028
  }, n;
3932
- }(oe), xr = Function.prototype.bind;
4029
+ }(te), Vr = Function.prototype.bind;
3933
4030
  function ve(e, n) {
3934
- return xr.call(e, n);
4031
+ return Vr.call(e, n);
3935
4032
  }
3936
- var Vr = function() {
4033
+ var Br = function() {
3937
4034
  function e(n) {
3938
4035
  this.partialObserver = n;
3939
4036
  }
@@ -3943,7 +4040,7 @@ var Vr = function() {
3943
4040
  try {
3944
4041
  t.next(n);
3945
4042
  } catch (o) {
3946
- ae(o);
4043
+ oe(o);
3947
4044
  }
3948
4045
  }, e.prototype.error = function(n) {
3949
4046
  var t = this.partialObserver;
@@ -3951,21 +4048,21 @@ var Vr = function() {
3951
4048
  try {
3952
4049
  t.error(n);
3953
4050
  } catch (o) {
3954
- ae(o);
4051
+ oe(o);
3955
4052
  }
3956
4053
  else
3957
- ae(n);
4054
+ oe(n);
3958
4055
  }, e.prototype.complete = function() {
3959
4056
  var n = this.partialObserver;
3960
4057
  if (n.complete)
3961
4058
  try {
3962
4059
  n.complete();
3963
4060
  } catch (t) {
3964
- ae(t);
4061
+ oe(t);
3965
4062
  }
3966
4063
  }, e;
3967
- }(), Se = function(e) {
3968
- Y(n, e);
4064
+ }(), Ce = function(e) {
4065
+ H(n, e);
3969
4066
  function n(t, o, r) {
3970
4067
  var a = e.call(this) || this, l;
3971
4068
  if (N(t) || !t)
@@ -3975,44 +4072,44 @@ var Vr = function() {
3975
4072
  complete: r ?? void 0
3976
4073
  };
3977
4074
  else {
3978
- var u;
3979
- a && yt.useDeprecatedNextContext ? (u = Object.create(t), u.unsubscribe = function() {
4075
+ var s;
4076
+ a && yt.useDeprecatedNextContext ? (s = Object.create(t), s.unsubscribe = function() {
3980
4077
  return a.unsubscribe();
3981
4078
  }, l = {
3982
- next: t.next && ve(t.next, u),
3983
- error: t.error && ve(t.error, u),
3984
- complete: t.complete && ve(t.complete, u)
4079
+ next: t.next && ve(t.next, s),
4080
+ error: t.error && ve(t.error, s),
4081
+ complete: t.complete && ve(t.complete, s)
3985
4082
  }) : l = t;
3986
4083
  }
3987
- return a.destination = new Vr(l), a;
4084
+ return a.destination = new Br(l), a;
3988
4085
  }
3989
4086
  return n;
3990
4087
  }(Me);
3991
- function ae(e) {
4088
+ function oe(e) {
3992
4089
  vt(e);
3993
4090
  }
3994
- function Br(e) {
4091
+ function Tr(e) {
3995
4092
  throw e;
3996
4093
  }
3997
- var Tr = {
4094
+ var Fr = {
3998
4095
  closed: !0,
3999
4096
  next: Ue,
4000
- error: Br,
4097
+ error: Tr,
4001
4098
  complete: Ue
4002
- }, Ae = function() {
4099
+ }, Ee = function() {
4003
4100
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4004
4101
  }();
4005
- function Fr(e) {
4102
+ function kr(e) {
4006
4103
  return e;
4007
4104
  }
4008
- function kr(e) {
4009
- return e.length === 0 ? Fr : e.length === 1 ? e[0] : function(t) {
4105
+ function Mr(e) {
4106
+ return e.length === 0 ? kr : e.length === 1 ? e[0] : function(t) {
4010
4107
  return e.reduce(function(o, r) {
4011
4108
  return r(o);
4012
4109
  }, t);
4013
4110
  };
4014
4111
  }
4015
- var _ = function() {
4112
+ var G = function() {
4016
4113
  function e(n) {
4017
4114
  n && (this._subscribe = n);
4018
4115
  }
@@ -4020,10 +4117,10 @@ var _ = function() {
4020
4117
  var t = new e();
4021
4118
  return t.source = this, t.operator = n, t;
4022
4119
  }, e.prototype.subscribe = function(n, t, o) {
4023
- var r = this, a = Mr(n) ? n : new Se(n, t, o);
4024
- return ie(function() {
4025
- var l = r, u = l.operator, s = l.source;
4026
- a.add(u ? u.call(a, s) : s ? r._subscribe(a) : r._trySubscribe(a));
4120
+ var r = this, a = Ir(n) ? n : new Ce(n, t, o);
4121
+ return re(function() {
4122
+ var l = r, s = l.operator, c = l.source;
4123
+ a.add(s ? s.call(a, c) : c ? r._subscribe(a) : r._trySubscribe(a));
4027
4124
  }), a;
4028
4125
  }, e.prototype._trySubscribe = function(n) {
4029
4126
  try {
@@ -4033,13 +4130,13 @@ var _ = function() {
4033
4130
  }
4034
4131
  }, e.prototype.forEach = function(n, t) {
4035
4132
  var o = this;
4036
- return t = _e(t), new t(function(r, a) {
4037
- var l = new Se({
4038
- next: function(u) {
4133
+ return t = Ge(t), new t(function(r, a) {
4134
+ var l = new Ce({
4135
+ next: function(s) {
4039
4136
  try {
4040
- n(u);
4041
- } catch (s) {
4042
- a(s), l.unsubscribe();
4137
+ n(s);
4138
+ } catch (c) {
4139
+ a(c), l.unsubscribe();
4043
4140
  }
4044
4141
  },
4045
4142
  error: a,
@@ -4050,15 +4147,15 @@ var _ = function() {
4050
4147
  }, e.prototype._subscribe = function(n) {
4051
4148
  var t;
4052
4149
  return (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(n);
4053
- }, e.prototype[Ae] = function() {
4150
+ }, e.prototype[Ee] = function() {
4054
4151
  return this;
4055
4152
  }, e.prototype.pipe = function() {
4056
4153
  for (var n = [], t = 0; t < arguments.length; t++)
4057
4154
  n[t] = arguments[t];
4058
- return kr(n)(this);
4155
+ return Mr(n)(this);
4059
4156
  }, e.prototype.toPromise = function(n) {
4060
4157
  var t = this;
4061
- return n = _e(n), new n(function(o, r) {
4158
+ return n = Ge(n), new n(function(o, r) {
4062
4159
  var a;
4063
4160
  t.subscribe(function(l) {
4064
4161
  return a = l;
@@ -4072,22 +4169,22 @@ var _ = function() {
4072
4169
  return new e(n);
4073
4170
  }, e;
4074
4171
  }();
4075
- function _e(e) {
4172
+ function Ge(e) {
4076
4173
  var n;
4077
4174
  return (n = e ?? yt.Promise) !== null && n !== void 0 ? n : Promise;
4078
4175
  }
4079
4176
  function Er(e) {
4080
4177
  return e && N(e.next) && N(e.error) && N(e.complete);
4081
4178
  }
4082
- function Mr(e) {
4179
+ function Ir(e) {
4083
4180
  return e && e instanceof Me || Er(e) && ft(e);
4084
4181
  }
4085
- function Ar(e) {
4182
+ function Pr(e) {
4086
4183
  return N(e == null ? void 0 : e.lift);
4087
4184
  }
4088
- function Pe(e) {
4185
+ function Ie(e) {
4089
4186
  return function(n) {
4090
- if (Ar(n))
4187
+ if (Pr(n))
4091
4188
  return n.lift(function(t) {
4092
4189
  try {
4093
4190
  return e(t, this);
@@ -4099,19 +4196,19 @@ function Pe(e) {
4099
4196
  };
4100
4197
  }
4101
4198
  function mt(e, n, t, o, r) {
4102
- return new Pr(e, n, t, o, r);
4199
+ return new Ar(e, n, t, o, r);
4103
4200
  }
4104
- var Pr = function(e) {
4105
- Y(n, e);
4106
- function n(t, o, r, a, l, u) {
4107
- var s = e.call(this, t) || this;
4108
- return s.onFinalize = l, s.shouldUnsubscribe = u, s._next = o ? function(i) {
4201
+ var Ar = function(e) {
4202
+ H(n, e);
4203
+ function n(t, o, r, a, l, s) {
4204
+ var c = e.call(this, t) || this;
4205
+ return c.onFinalize = l, c.shouldUnsubscribe = s, c._next = o ? function(i) {
4109
4206
  try {
4110
4207
  o(i);
4111
4208
  } catch (d) {
4112
4209
  t.error(d);
4113
4210
  }
4114
- } : e.prototype._next, s._error = a ? function(i) {
4211
+ } : e.prototype._next, c._error = a ? function(i) {
4115
4212
  try {
4116
4213
  a(i);
4117
4214
  } catch (d) {
@@ -4119,7 +4216,7 @@ var Pr = function(e) {
4119
4216
  } finally {
4120
4217
  this.unsubscribe();
4121
4218
  }
4122
- } : e.prototype._error, s._complete = r ? function() {
4219
+ } : e.prototype._error, c._complete = r ? function() {
4123
4220
  try {
4124
4221
  r();
4125
4222
  } catch (i) {
@@ -4127,7 +4224,7 @@ var Pr = function(e) {
4127
4224
  } finally {
4128
4225
  this.unsubscribe();
4129
4226
  }
4130
- } : e.prototype._complete, s;
4227
+ } : e.prototype._complete, c;
4131
4228
  }
4132
4229
  return n.prototype.unsubscribe = function() {
4133
4230
  var t;
@@ -4136,38 +4233,38 @@ var Pr = function(e) {
4136
4233
  e.prototype.unsubscribe.call(this), !o && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
4137
4234
  }
4138
4235
  }, n;
4139
- }(Me), Ir = dt(function(e) {
4236
+ }(Me), Or = dt(function(e) {
4140
4237
  return function() {
4141
4238
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4142
4239
  };
4143
4240
  }), ht = function(e) {
4144
- Y(n, e);
4241
+ H(n, e);
4145
4242
  function n() {
4146
4243
  var t = e.call(this) || this;
4147
4244
  return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
4148
4245
  }
4149
4246
  return n.prototype.lift = function(t) {
4150
- var o = new Ge(this, this);
4247
+ var o = new Re(this, this);
4151
4248
  return o.operator = t, o;
4152
4249
  }, n.prototype._throwIfClosed = function() {
4153
4250
  if (this.closed)
4154
- throw new Ir();
4251
+ throw new Or();
4155
4252
  }, n.prototype.next = function(t) {
4156
4253
  var o = this;
4157
- ie(function() {
4254
+ re(function() {
4158
4255
  var r, a;
4159
4256
  if (o._throwIfClosed(), !o.isStopped) {
4160
4257
  o.currentObservers || (o.currentObservers = Array.from(o.observers));
4161
4258
  try {
4162
- for (var l = Q(o.currentObservers), u = l.next(); !u.done; u = l.next()) {
4163
- var s = u.value;
4164
- s.next(t);
4259
+ for (var l = X(o.currentObservers), s = l.next(); !s.done; s = l.next()) {
4260
+ var c = s.value;
4261
+ c.next(t);
4165
4262
  }
4166
4263
  } catch (i) {
4167
4264
  r = { error: i };
4168
4265
  } finally {
4169
4266
  try {
4170
- u && !u.done && (a = l.return) && a.call(l);
4267
+ s && !s.done && (a = l.return) && a.call(l);
4171
4268
  } finally {
4172
4269
  if (r) throw r.error;
4173
4270
  }
@@ -4176,7 +4273,7 @@ var Pr = function(e) {
4176
4273
  });
4177
4274
  }, n.prototype.error = function(t) {
4178
4275
  var o = this;
4179
- ie(function() {
4276
+ re(function() {
4180
4277
  if (o._throwIfClosed(), !o.isStopped) {
4181
4278
  o.hasError = o.isStopped = !0, o.thrownError = t;
4182
4279
  for (var r = o.observers; r.length; )
@@ -4185,7 +4282,7 @@ var Pr = function(e) {
4185
4282
  });
4186
4283
  }, n.prototype.complete = function() {
4187
4284
  var t = this;
4188
- ie(function() {
4285
+ re(function() {
4189
4286
  if (t._throwIfClosed(), !t.isStopped) {
4190
4287
  t.isStopped = !0;
4191
4288
  for (var o = t.observers; o.length; )
@@ -4206,21 +4303,21 @@ var Pr = function(e) {
4206
4303
  }, n.prototype._subscribe = function(t) {
4207
4304
  return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
4208
4305
  }, n.prototype._innerSubscribe = function(t) {
4209
- var o = this, r = this, a = r.hasError, l = r.isStopped, u = r.observers;
4210
- return a || l ? pt : (this.currentObservers = null, u.push(t), new oe(function() {
4211
- o.currentObservers = null, de(u, t);
4306
+ var o = this, r = this, a = r.hasError, l = r.isStopped, s = r.observers;
4307
+ return a || l ? pt : (this.currentObservers = null, s.push(t), new te(function() {
4308
+ o.currentObservers = null, se(s, t);
4212
4309
  }));
4213
4310
  }, n.prototype._checkFinalizedStatuses = function(t) {
4214
4311
  var o = this, r = o.hasError, a = o.thrownError, l = o.isStopped;
4215
4312
  r ? t.error(a) : l && t.complete();
4216
4313
  }, n.prototype.asObservable = function() {
4217
- var t = new _();
4314
+ var t = new G();
4218
4315
  return t.source = this, t;
4219
4316
  }, n.create = function(t, o) {
4220
- return new Ge(t, o);
4317
+ return new Re(t, o);
4221
4318
  }, n;
4222
- }(_), Ge = function(e) {
4223
- Y(n, e);
4319
+ }(G), Re = function(e) {
4320
+ H(n, e);
4224
4321
  function n(t, o) {
4225
4322
  var r = e.call(this) || this;
4226
4323
  return r.destination = t, r.source = o, r;
@@ -4238,31 +4335,31 @@ var Pr = function(e) {
4238
4335
  var o, r;
4239
4336
  return (r = (o = this.source) === null || o === void 0 ? void 0 : o.subscribe(t)) !== null && r !== void 0 ? r : pt;
4240
4337
  }, n;
4241
- }(ht), Or = {
4338
+ }(ht), Nr = {
4242
4339
  now: function() {
4243
4340
  return Date.now();
4244
4341
  },
4245
4342
  delegate: void 0
4246
- }, Nr = function(e) {
4247
- Y(n, e);
4343
+ }, jr = function(e) {
4344
+ H(n, e);
4248
4345
  function n(t, o) {
4249
4346
  return e.call(this) || this;
4250
4347
  }
4251
4348
  return n.prototype.schedule = function(t, o) {
4252
4349
  return this;
4253
4350
  }, n;
4254
- }(oe), qe = {
4351
+ }(te), _e = {
4255
4352
  setInterval: function(e, n) {
4256
4353
  for (var t = [], o = 2; o < arguments.length; o++)
4257
4354
  t[o - 2] = arguments[o];
4258
- return setInterval.apply(void 0, ce([e, n], se(t)));
4355
+ return setInterval.apply(void 0, ue([e, n], ie(t)));
4259
4356
  },
4260
4357
  clearInterval: function(e) {
4261
4358
  return clearInterval(e);
4262
4359
  },
4263
4360
  delegate: void 0
4264
- }, jr = function(e) {
4265
- Y(n, e);
4361
+ }, Lr = function(e) {
4362
+ H(n, e);
4266
4363
  function n(t, o) {
4267
4364
  var r = e.call(this, t, o) || this;
4268
4365
  return r.scheduler = t, r.work = o, r.pending = !1, r;
@@ -4275,11 +4372,11 @@ var Pr = function(e) {
4275
4372
  var a = this.id, l = this.scheduler;
4276
4373
  return a != null && (this.id = this.recycleAsyncId(l, a, o)), this.pending = !0, this.delay = o, this.id = (r = this.id) !== null && r !== void 0 ? r : this.requestAsyncId(l, this.id, o), this;
4277
4374
  }, n.prototype.requestAsyncId = function(t, o, r) {
4278
- return r === void 0 && (r = 0), qe.setInterval(t.flush.bind(t, this), r);
4375
+ return r === void 0 && (r = 0), _e.setInterval(t.flush.bind(t, this), r);
4279
4376
  }, n.prototype.recycleAsyncId = function(t, o, r) {
4280
4377
  if (r === void 0 && (r = 0), r != null && this.delay === r && this.pending === !1)
4281
4378
  return o;
4282
- o != null && qe.clearInterval(o);
4379
+ o != null && _e.clearInterval(o);
4283
4380
  }, n.prototype.execute = function(t, o) {
4284
4381
  if (this.closed)
4285
4382
  return new Error("executing a cancelled action");
@@ -4300,20 +4397,20 @@ var Pr = function(e) {
4300
4397
  }, n.prototype.unsubscribe = function() {
4301
4398
  if (!this.closed) {
4302
4399
  var t = this, o = t.id, r = t.scheduler, a = r.actions;
4303
- this.work = this.state = this.scheduler = null, this.pending = !1, de(a, this), o != null && (this.id = this.recycleAsyncId(r, o, null)), this.delay = null, e.prototype.unsubscribe.call(this);
4400
+ this.work = this.state = this.scheduler = null, this.pending = !1, se(a, this), o != null && (this.id = this.recycleAsyncId(r, o, null)), this.delay = null, e.prototype.unsubscribe.call(this);
4304
4401
  }
4305
4402
  }, n;
4306
- }(Nr), He = function() {
4403
+ }(jr), qe = function() {
4307
4404
  function e(n, t) {
4308
4405
  t === void 0 && (t = e.now), this.schedulerActionCtor = n, this.now = t;
4309
4406
  }
4310
4407
  return e.prototype.schedule = function(n, t, o) {
4311
4408
  return t === void 0 && (t = 0), new this.schedulerActionCtor(this, n).schedule(o, t);
4312
- }, e.now = Or.now, e;
4313
- }(), Lr = function(e) {
4314
- Y(n, e);
4409
+ }, e.now = Nr.now, e;
4410
+ }(), Dr = function(e) {
4411
+ H(n, e);
4315
4412
  function n(t, o) {
4316
- o === void 0 && (o = He.now);
4413
+ o === void 0 && (o = qe.now);
4317
4414
  var r = e.call(this, t, o) || this;
4318
4415
  return r.actions = [], r._active = !1, r;
4319
4416
  }
@@ -4335,15 +4432,15 @@ var Pr = function(e) {
4335
4432
  throw r;
4336
4433
  }
4337
4434
  }, n;
4338
- }(He), $r = new Lr(jr);
4339
- function Dr(e) {
4435
+ }(qe), $r = new Dr(Lr);
4436
+ function Ur(e) {
4340
4437
  return e && N(e.schedule);
4341
4438
  }
4342
- function Rr(e) {
4439
+ function Gr(e) {
4343
4440
  return e[e.length - 1];
4344
4441
  }
4345
- function Ur(e) {
4346
- return Dr(Rr(e)) ? e.pop() : void 0;
4442
+ function Rr(e) {
4443
+ return Ur(Gr(e)) ? e.pop() : void 0;
4347
4444
  }
4348
4445
  var bt = function(e) {
4349
4446
  return e && typeof e.length == "number" && typeof e != "function";
@@ -4352,7 +4449,7 @@ function gt(e) {
4352
4449
  return N(e == null ? void 0 : e.then);
4353
4450
  }
4354
4451
  function Ct(e) {
4355
- return N(e[Ae]);
4452
+ return N(e[Ee]);
4356
4453
  }
4357
4454
  function St(e) {
4358
4455
  return Symbol.asyncIterator && N(e == null ? void 0 : e[Symbol.asyncIterator]);
@@ -4368,7 +4465,7 @@ function Vt(e) {
4368
4465
  return N(e == null ? void 0 : e[xt]);
4369
4466
  }
4370
4467
  function Bt(e) {
4371
- return Cr(this, arguments, function() {
4468
+ return Sr(this, arguments, function() {
4372
4469
  var t, o, r, a;
4373
4470
  return ct(this, function(l) {
4374
4471
  switch (l.label) {
@@ -4377,13 +4474,13 @@ function Bt(e) {
4377
4474
  case 1:
4378
4475
  l.trys.push([1, , 9, 10]), l.label = 2;
4379
4476
  case 2:
4380
- return [4, X(t.read())];
4477
+ return [4, Z(t.read())];
4381
4478
  case 3:
4382
- return o = l.sent(), r = o.value, a = o.done, a ? [4, X(void 0)] : [3, 5];
4479
+ return o = l.sent(), r = o.value, a = o.done, a ? [4, Z(void 0)] : [3, 5];
4383
4480
  case 4:
4384
4481
  return [2, l.sent()];
4385
4482
  case 5:
4386
- return [4, X(r)];
4483
+ return [4, Z(r)];
4387
4484
  case 6:
4388
4485
  return [4, l.sent()];
4389
4486
  case 7:
@@ -4401,42 +4498,42 @@ function Bt(e) {
4401
4498
  function Tt(e) {
4402
4499
  return N(e == null ? void 0 : e.getReader);
4403
4500
  }
4404
- function Ie(e) {
4405
- if (e instanceof _)
4501
+ function Pe(e) {
4502
+ if (e instanceof G)
4406
4503
  return e;
4407
4504
  if (e != null) {
4408
4505
  if (Ct(e))
4409
- return Gr(e);
4410
- if (bt(e))
4411
4506
  return qr(e);
4507
+ if (bt(e))
4508
+ return Wr(e);
4412
4509
  if (gt(e))
4413
4510
  return Hr(e);
4414
4511
  if (St(e))
4415
4512
  return Ft(e);
4416
4513
  if (Vt(e))
4417
- return Wr(e);
4418
- if (Tt(e))
4419
4514
  return zr(e);
4515
+ if (Tt(e))
4516
+ return Yr(e);
4420
4517
  }
4421
4518
  throw wt(e);
4422
4519
  }
4423
- function Gr(e) {
4424
- return new _(function(n) {
4425
- var t = e[Ae]();
4520
+ function qr(e) {
4521
+ return new G(function(n) {
4522
+ var t = e[Ee]();
4426
4523
  if (N(t.subscribe))
4427
4524
  return t.subscribe(n);
4428
4525
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
4429
4526
  });
4430
4527
  }
4431
- function qr(e) {
4432
- return new _(function(n) {
4528
+ function Wr(e) {
4529
+ return new G(function(n) {
4433
4530
  for (var t = 0; t < e.length && !n.closed; t++)
4434
4531
  n.next(e[t]);
4435
4532
  n.complete();
4436
4533
  });
4437
4534
  }
4438
4535
  function Hr(e) {
4439
- return new _(function(n) {
4536
+ return new G(function(n) {
4440
4537
  e.then(function(t) {
4441
4538
  n.closed || (n.next(t), n.complete());
4442
4539
  }, function(t) {
@@ -4444,17 +4541,17 @@ function Hr(e) {
4444
4541
  }).then(null, vt);
4445
4542
  });
4446
4543
  }
4447
- function Wr(e) {
4448
- return new _(function(n) {
4544
+ function zr(e) {
4545
+ return new G(function(n) {
4449
4546
  var t, o;
4450
4547
  try {
4451
- for (var r = Q(e), a = r.next(); !a.done; a = r.next()) {
4548
+ for (var r = X(e), a = r.next(); !a.done; a = r.next()) {
4452
4549
  var l = a.value;
4453
4550
  if (n.next(l), n.closed)
4454
4551
  return;
4455
4552
  }
4456
- } catch (u) {
4457
- t = { error: u };
4553
+ } catch (s) {
4554
+ t = { error: s };
4458
4555
  } finally {
4459
4556
  try {
4460
4557
  a && !a.done && (o = r.return) && o.call(r);
@@ -4466,40 +4563,40 @@ function Wr(e) {
4466
4563
  });
4467
4564
  }
4468
4565
  function Ft(e) {
4469
- return new _(function(n) {
4470
- Yr(e, n).catch(function(t) {
4566
+ return new G(function(n) {
4567
+ Zr(e, n).catch(function(t) {
4471
4568
  return n.error(t);
4472
4569
  });
4473
4570
  });
4474
4571
  }
4475
- function zr(e) {
4572
+ function Yr(e) {
4476
4573
  return Ft(Bt(e));
4477
4574
  }
4478
- function Yr(e, n) {
4575
+ function Zr(e, n) {
4479
4576
  var t, o, r, a;
4480
- return gr(this, void 0, void 0, function() {
4481
- var l, u;
4482
- return ct(this, function(s) {
4483
- switch (s.label) {
4577
+ return Cr(this, void 0, void 0, function() {
4578
+ var l, s;
4579
+ return ct(this, function(c) {
4580
+ switch (c.label) {
4484
4581
  case 0:
4485
- s.trys.push([0, 5, 6, 11]), t = Sr(e), s.label = 1;
4582
+ c.trys.push([0, 5, 6, 11]), t = wr(e), c.label = 1;
4486
4583
  case 1:
4487
4584
  return [4, t.next()];
4488
4585
  case 2:
4489
- if (o = s.sent(), !!o.done) return [3, 4];
4586
+ if (o = c.sent(), !!o.done) return [3, 4];
4490
4587
  if (l = o.value, n.next(l), n.closed)
4491
4588
  return [2];
4492
- s.label = 3;
4589
+ c.label = 3;
4493
4590
  case 3:
4494
4591
  return [3, 1];
4495
4592
  case 4:
4496
4593
  return [3, 11];
4497
4594
  case 5:
4498
- return u = s.sent(), r = { error: u }, [3, 11];
4595
+ return s = c.sent(), r = { error: s }, [3, 11];
4499
4596
  case 6:
4500
- return s.trys.push([6, , 9, 10]), o && !o.done && (a = t.return) ? [4, a.call(t)] : [3, 8];
4597
+ return c.trys.push([6, , 9, 10]), o && !o.done && (a = t.return) ? [4, a.call(t)] : [3, 8];
4501
4598
  case 7:
4502
- s.sent(), s.label = 8;
4599
+ c.sent(), c.label = 8;
4503
4600
  case 8:
4504
4601
  return [3, 10];
4505
4602
  case 9:
@@ -4513,7 +4610,7 @@ function Yr(e, n) {
4513
4610
  });
4514
4611
  });
4515
4612
  }
4516
- function Z(e, n, t, o, r) {
4613
+ function z(e, n, t, o, r) {
4517
4614
  o === void 0 && (o = 0), r === void 0 && (r = !1);
4518
4615
  var a = n.schedule(function() {
4519
4616
  t(), r ? e.add(this.schedule(null, o)) : this.unsubscribe();
@@ -4522,53 +4619,53 @@ function Z(e, n, t, o, r) {
4522
4619
  return a;
4523
4620
  }
4524
4621
  function kt(e, n) {
4525
- return n === void 0 && (n = 0), Pe(function(t, o) {
4622
+ return n === void 0 && (n = 0), Ie(function(t, o) {
4526
4623
  t.subscribe(mt(o, function(r) {
4527
- return Z(o, e, function() {
4624
+ return z(o, e, function() {
4528
4625
  return o.next(r);
4529
4626
  }, n);
4530
4627
  }, function() {
4531
- return Z(o, e, function() {
4628
+ return z(o, e, function() {
4532
4629
  return o.complete();
4533
4630
  }, n);
4534
4631
  }, function(r) {
4535
- return Z(o, e, function() {
4632
+ return z(o, e, function() {
4536
4633
  return o.error(r);
4537
4634
  }, n);
4538
4635
  }));
4539
4636
  });
4540
4637
  }
4541
- function Et(e, n) {
4542
- return n === void 0 && (n = 0), Pe(function(t, o) {
4638
+ function Mt(e, n) {
4639
+ return n === void 0 && (n = 0), Ie(function(t, o) {
4543
4640
  o.add(e.schedule(function() {
4544
4641
  return t.subscribe(o);
4545
4642
  }, n));
4546
4643
  });
4547
4644
  }
4548
- function Zr(e, n) {
4549
- return Ie(e).pipe(Et(n), kt(n));
4645
+ function Xr(e, n) {
4646
+ return Pe(e).pipe(Mt(n), kt(n));
4550
4647
  }
4551
4648
  function Jr(e, n) {
4552
- return Ie(e).pipe(Et(n), kt(n));
4649
+ return Pe(e).pipe(Mt(n), kt(n));
4553
4650
  }
4554
- function Xr(e, n) {
4555
- return new _(function(t) {
4651
+ function Qr(e, n) {
4652
+ return new G(function(t) {
4556
4653
  var o = 0;
4557
4654
  return n.schedule(function() {
4558
4655
  o === e.length ? t.complete() : (t.next(e[o++]), t.closed || this.schedule());
4559
4656
  });
4560
4657
  });
4561
4658
  }
4562
- function Qr(e, n) {
4563
- return new _(function(t) {
4659
+ function Kr(e, n) {
4660
+ return new G(function(t) {
4564
4661
  var o;
4565
- return Z(t, n, function() {
4566
- o = e[xt](), Z(t, n, function() {
4662
+ return z(t, n, function() {
4663
+ o = e[xt](), z(t, n, function() {
4567
4664
  var r, a, l;
4568
4665
  try {
4569
4666
  r = o.next(), a = r.value, l = r.done;
4570
- } catch (u) {
4571
- t.error(u);
4667
+ } catch (s) {
4668
+ t.error(s);
4572
4669
  return;
4573
4670
  }
4574
4671
  l ? t.complete() : t.next(a);
@@ -4578,13 +4675,13 @@ function Qr(e, n) {
4578
4675
  };
4579
4676
  });
4580
4677
  }
4581
- function Mt(e, n) {
4678
+ function Et(e, n) {
4582
4679
  if (!e)
4583
4680
  throw new Error("Iterable cannot be null");
4584
- return new _(function(t) {
4585
- Z(t, n, function() {
4681
+ return new G(function(t) {
4682
+ z(t, n, function() {
4586
4683
  var o = e[Symbol.asyncIterator]();
4587
- Z(t, n, function() {
4684
+ z(t, n, function() {
4588
4685
  o.next().then(function(r) {
4589
4686
  r.done ? t.complete() : t.next(r.value);
4590
4687
  });
@@ -4592,235 +4689,235 @@ function Mt(e, n) {
4592
4689
  });
4593
4690
  });
4594
4691
  }
4595
- function Kr(e, n) {
4596
- return Mt(Bt(e), n);
4597
- }
4598
4692
  function ea(e, n) {
4693
+ return Et(Bt(e), n);
4694
+ }
4695
+ function ta(e, n) {
4599
4696
  if (e != null) {
4600
4697
  if (Ct(e))
4601
- return Zr(e, n);
4602
- if (bt(e))
4603
4698
  return Xr(e, n);
4699
+ if (bt(e))
4700
+ return Qr(e, n);
4604
4701
  if (gt(e))
4605
4702
  return Jr(e, n);
4606
4703
  if (St(e))
4607
- return Mt(e, n);
4704
+ return Et(e, n);
4608
4705
  if (Vt(e))
4609
- return Qr(e, n);
4610
- if (Tt(e))
4611
4706
  return Kr(e, n);
4707
+ if (Tt(e))
4708
+ return ea(e, n);
4612
4709
  }
4613
4710
  throw wt(e);
4614
4711
  }
4615
- function ta(e, n) {
4616
- return n ? ea(e, n) : Ie(e);
4712
+ function na(e, n) {
4713
+ return n ? ta(e, n) : Pe(e);
4617
4714
  }
4618
- function na() {
4715
+ function oa() {
4619
4716
  for (var e = [], n = 0; n < arguments.length; n++)
4620
4717
  e[n] = arguments[n];
4621
- var t = Ur(e);
4622
- return ta(e, t);
4718
+ var t = Rr(e);
4719
+ return na(e, t);
4623
4720
  }
4624
- function oa(e, n) {
4625
- return n === void 0 && (n = $r), Pe(function(t, o) {
4626
- var r = null, a = null, l = null, u = function() {
4721
+ function ra(e, n) {
4722
+ return n === void 0 && (n = $r), Ie(function(t, o) {
4723
+ var r = null, a = null, l = null, s = function() {
4627
4724
  if (r) {
4628
4725
  r.unsubscribe(), r = null;
4629
4726
  var i = a;
4630
4727
  a = null, o.next(i);
4631
4728
  }
4632
4729
  };
4633
- function s() {
4730
+ function c() {
4634
4731
  var i = l + e, d = n.now();
4635
4732
  if (d < i) {
4636
4733
  r = this.schedule(void 0, i - d), o.add(r);
4637
4734
  return;
4638
4735
  }
4639
- u();
4736
+ s();
4640
4737
  }
4641
4738
  t.subscribe(mt(o, function(i) {
4642
- a = i, l = n.now(), r || (r = n.schedule(s, e), o.add(r));
4739
+ a = i, l = n.now(), r || (r = n.schedule(c, e), o.add(r));
4643
4740
  }, function() {
4644
- u(), o.complete();
4741
+ s(), o.complete();
4645
4742
  }, void 0, function() {
4646
4743
  a = r = null;
4647
4744
  }));
4648
4745
  });
4649
4746
  }
4650
- const me = /* @__PURE__ */ G({
4747
+ const me = /* @__PURE__ */ R({
4651
4748
  name: "FPropertyEditor",
4652
4749
  props: Ze,
4653
4750
  emits: ["propertyEditorValueChanged"],
4654
4751
  setup(e, n) {
4655
- const t = v(Gn), o = v(""), r = v("const"), a = v([]), l = v(!1);
4752
+ const t = m(Rn), o = m(""), r = m("const"), a = m([]), l = m(!1);
4753
+ let s;
4754
+ const c = m(""), i = m(""), d = m([]);
4656
4755
  let u;
4657
- const s = v(""), i = v(""), d = v([]);
4658
- let c;
4659
- const f = v([]), p = v("");
4660
- v("");
4661
- const y = v(!1), m = v("<span class='f-icon f-icon-more-horizontal'></span>"), b = v(!1), S = v([]), {
4662
- numberConstValue: E,
4663
- bindVariableValue: M,
4664
- dataStatesBindValue: x,
4665
- dataStatesValueArray: T,
4666
- constEnumBindValue: C,
4667
- setValue: F
4668
- } = hr(t, a, r, c, p, o, y), {
4669
- updateData: A,
4670
- changeState: I,
4671
- prefix: W,
4672
- propertyEditorValueChange: U
4673
- } = br(n, t, C, a, P, f, c, p, T, o, b, r);
4674
- function K() {
4675
- S.value = _n.value.filter((h) => t.value.editorOptions.types.includes(h.id));
4756
+ const f = m([]), p = m("");
4757
+ m("");
4758
+ const y = m(!1), v = m("<span class='f-icon f-icon-more-horizontal'></span>"), h = m(!1), g = m([]), {
4759
+ numberConstValue: V,
4760
+ bindVariableValue: E,
4761
+ dataStatesBindValue: w,
4762
+ dataStatesValueArray: C,
4763
+ constEnumBindValue: T,
4764
+ setValue: k
4765
+ } = br(t, a, r, u, p, o, y), {
4766
+ updateData: P,
4767
+ changeState: U,
4768
+ prefix: J,
4769
+ propertyEditorValueChange: de
4770
+ } = gr(n, t, T, a, A, f, u, p, C, o, h, r);
4771
+ function pe() {
4772
+ g.value = Gn.value.filter((b) => t.value.editorOptions.types.includes(b.id));
4676
4773
  }
4677
- function k() {
4678
- r.value = B(S.value.find((h) => h.id === t.value.propertyValue.type));
4774
+ function M() {
4775
+ r.value = F(g.value.find((b) => b.id === t.value.propertyValue.type));
4679
4776
  }
4680
4777
  function L() {
4681
- k(), r.value.id === "variable" && t.value.propertyValue.value === void 0 && (t.value.propertyValue = B(P.value.variableValue)), P.value[`${r.value.id}Value`] = B(t.value.propertyValue), F();
4778
+ M(), r.value.id === "variable" && t.value.propertyValue.value === void 0 && (t.value.propertyValue = F(A.value.variableValue)), A.value[`${r.value.id}Value`] = F(t.value.propertyValue), k();
4682
4779
  }
4683
- function re(h) {
4684
- r.value = B(S.value.find((j) => j.label === h[0].label)), r.value.id === "expression" && (P.value.expressionValue.value && (o.value = P.value.expressionValue.value.value), y.value = !0), r.value.id === "custom" && _t(), A();
4780
+ function ne(b) {
4781
+ r.value = F(g.value.find((j) => j.label === b[0].label)), r.value.id === "expression" && (A.value.expressionValue.value && (o.value = A.value.expressionValue.value.value), y.value = !0), r.value.id === "custom" && Rt(), P();
4685
4782
  }
4686
- function fe(h) {
4687
- C.value = B(h.value), t.value.propertyValue.value = B(h.value), P.value.constValue.value = B(h.value), A();
4783
+ function fe(b) {
4784
+ T.value = F(b.value), t.value.propertyValue.value = F(b.value), A.value.constValue.value = F(b.value), P();
4688
4785
  }
4689
- function At(h) {
4690
- P.value.constValue.value = h, A();
4786
+ function It(b) {
4787
+ A.value.constValue.value = b, P();
4691
4788
  }
4692
- function Pt(h) {
4693
- P.value.constValue.value = h, A();
4789
+ function Pt(b) {
4790
+ A.value.constValue.value = b, P();
4694
4791
  }
4695
- function It() {
4696
- const h = t.value.propertyName, j = h[0].toUpperCase() + h.substr(1), R = t.value.controlName, je = t.value.editorOptions.newVariablePrefix || "", nn = je ? R[0].toUpperCase() + R.substr(1) : R[0].toLowerCase() + R.substr(1);
4697
- u = `${je}${nn}${j}`, Ot();
4792
+ function At() {
4793
+ const b = t.value.propertyName, j = b[0].toUpperCase() + b.substr(1), $ = t.value.controlName, Ne = t.value.editorOptions.newVariablePrefix || "", nn = Ne ? $[0].toUpperCase() + $.substr(1) : $[0].toLowerCase() + $.substr(1);
4794
+ s = `${Ne}${nn}${j}`, Ot();
4698
4795
  }
4699
4796
  function Ot() {
4700
- Nt(), r.value.id === "variable" && (M.value = t.value.propertyValue.value.path), Oe(), i.value !== t.value.propertyValue.value.path && A();
4797
+ Nt(), r.value.id === "variable" && (E.value = t.value.propertyValue.value.path), Ae(), i.value !== t.value.propertyValue.value.path && P();
4701
4798
  }
4702
4799
  function Nt() {
4703
4800
  var j;
4704
- let h = 0;
4705
- (j = t.value.editorOptions.variables) == null || j.forEach((R) => {
4706
- R.path !== u ? h += 1 : (i.value = t.value.propertyValue.value.path, t.value.propertyValue.value = B(R), P.value.variableValue.value = B(R));
4707
- }), jt(h);
4801
+ let b = 0;
4802
+ (j = t.value.editorOptions.variables) == null || j.forEach(($) => {
4803
+ $.path !== s ? b += 1 : (i.value = t.value.propertyValue.value.path, t.value.propertyValue.value = F($), A.value.variableValue.value = F($));
4804
+ }), jt(b);
4708
4805
  }
4709
- function jt(h) {
4806
+ function jt(b) {
4710
4807
  var j;
4711
- h === ((j = t.value.editorOptions.variables) == null ? void 0 : j.length) && (t.value.propertyValue.value.category = "local", t.value.propertyValue.value.path = u, t.value.propertyValue.value.field = s, t.value.propertyValue.value.fullPath = u, t.value.propertyValue.value.newVariableType = t.value.editorOptions.newVariableType, U.value.isNewVariable = !0, t.value.editorOptions.variables.push(B(t.value.propertyValue.value)), P.value.variableValue.value = B(t.value.propertyValue.value));
4808
+ b === ((j = t.value.editorOptions.variables) == null ? void 0 : j.length) && (t.value.propertyValue.value.category = "local", t.value.propertyValue.value.path = s, t.value.propertyValue.value.field = c, t.value.propertyValue.value.fullPath = s, t.value.propertyValue.value.newVariableType = t.value.editorOptions.newVariableType, de.value.isNewVariable = !0, t.value.editorOptions.variables.push(F(t.value.propertyValue.value)), A.value.variableValue.value = F(t.value.propertyValue.value));
4712
4809
  }
4713
- function Lt(h) {
4714
- !h || !h.selections || h.selections.length < 1 || (P.value.variableValue.value.category = B(h.selections[0].category), P.value.variableValue.value.path = B(h.selections[0].path), P.value.variableValue.value.fullPath = B(h.selections[0].fullPath), P.value.variableValue.value.field = B(h.selections[0].field), M.value = B(h.value), A());
4810
+ function Lt(b) {
4811
+ !b || !b.selections || b.selections.length < 1 || (A.value.variableValue.value.category = F(b.selections[0].category), A.value.variableValue.value.path = F(b.selections[0].path), A.value.variableValue.value.fullPath = F(b.selections[0].fullPath), A.value.variableValue.value.field = F(b.selections[0].field), E.value = F(b.value), P());
4715
4812
  }
4716
- function $t() {
4717
- t.value.propertyValue.value.category = "", t.value.propertyValue.value.path = "", t.value.propertyValue.value.field = "", t.value.propertyValue.value.fullPath = "", r.value.id === "variable" && (M.value = t.value.propertyValue.value.path), A();
4813
+ function Dt() {
4814
+ 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();
4718
4815
  }
4719
- function Oe() {
4720
- d.value = B(t.value.editorOptions.variables);
4816
+ function Ae() {
4817
+ d.value = F(t.value.editorOptions.variables);
4721
4818
  }
4722
- const Dt = (h) => {
4723
- const j = t.value.editorOptions.getVariables, R = {
4819
+ const $t = (b) => {
4820
+ const j = t.value.editorOptions.getVariables, $ = {
4724
4821
  showDialog: !0
4725
4822
  };
4726
- return j && (d.value = j(), h && (h.data = d)), na(R);
4823
+ return j && (d.value = j(), b && (b.data = d)), oa($);
4727
4824
  };
4728
- function Rt(h) {
4825
+ function Ut(b) {
4729
4826
  const j = {
4730
- id: h[0].id,
4731
- name: h[0].exist,
4732
- exist: h[0].name
4827
+ id: b[0].id,
4828
+ name: b[0].exist,
4829
+ exist: b[0].name
4733
4830
  };
4734
- P.value.stateMachineValue.value = B(j), p.value = t.value.propertyValue.value.exist === "是" ? "是" : "否", c = B(j.id), A();
4831
+ A.value.stateMachineValue.value = F(j), p.value = t.value.propertyValue.value.exist === "是" ? "是" : "否", u = F(j.id), P();
4735
4832
  }
4736
- function Ut() {
4737
- f.value = B(t.value.editorOptions.stateMachine), p.value = P.value.stateMachineValue.value.exist === "是" ? "是" : "否";
4833
+ function Gt() {
4834
+ f.value = F(t.value.editorOptions.stateMachine), p.value = A.value.stateMachineValue.value.exist === "是" ? "是" : "否";
4738
4835
  }
4739
- const Ne = new ht();
4740
- function _t() {
4741
- Ne.pipe(oa(700)).subscribe((h) => {
4742
- P.value.customValue.value = h, A();
4836
+ const Oe = new ht();
4837
+ function Rt() {
4838
+ Oe.pipe(ra(700)).subscribe((b) => {
4839
+ A.value.customValue.value = b, P();
4743
4840
  });
4744
4841
  }
4745
- function Gt(h) {
4746
- Ne.next(h);
4842
+ function _t(b) {
4843
+ Oe.next(b);
4747
4844
  }
4748
4845
  function qt() {
4749
4846
  }
4750
- function Ht(h) {
4751
- t.value.propertyValue.value = B(h), P.value.dataStatesValue.value = B(h);
4752
- const j = h.map((R) => R.valueField).join(",");
4753
- x.value = B(j), A();
4847
+ function Wt(b) {
4848
+ t.value.propertyValue.value = F(b), A.value.dataStatesValue.value = F(b);
4849
+ const j = b.map(($) => $.valueField).join(",");
4850
+ w.value = F(j), P();
4754
4851
  }
4755
- function Wt() {
4756
- return g("div", {
4852
+ function Ht() {
4853
+ return S("div", {
4757
4854
  class: "f-page-single-property-editor-component-right-variable"
4758
- }, [g(H, {
4855
+ }, [S(q, {
4759
4856
  class: [{
4760
4857
  "form-control-select-show": l.value
4761
4858
  }, {
4762
4859
  "form-control-select-hide": !l.value
4763
4860
  }],
4764
- modelValue: M.value,
4765
- "onUpdate:modelValue": (h) => M.value = h,
4861
+ modelValue: E.value,
4862
+ "onUpdate:modelValue": (b) => E.value = b,
4766
4863
  placeholder: "",
4767
4864
  viewType: "text",
4768
4865
  enableClear: !0,
4769
4866
  valueField: "path",
4770
4867
  textField: "fullPath",
4771
4868
  data: d.value,
4772
- beforeShow: Dt,
4773
- readonly: b.value,
4869
+ beforeShow: $t,
4870
+ readonly: h.value,
4774
4871
  editable: !1,
4775
- onValueChange: (h) => Lt(h),
4776
- onClear: $t
4777
- }, null), l.value ? g("div", {
4872
+ onValueChange: (b) => Lt(b),
4873
+ onClear: Dt
4874
+ }, null), l.value ? S("div", {
4778
4875
  class: "f-page-single-property-editor-component-variable-button"
4779
- }, [g("button", {
4876
+ }, [S("button", {
4780
4877
  title: "variable-button",
4781
4878
  class: "f-variable-button",
4782
- onClick: It
4783
- }, [g("span", {
4879
+ onClick: At
4880
+ }, [S("span", {
4784
4881
  class: "f-icon f-icon-add",
4785
4882
  style: "margin:unset;"
4786
4883
  }, null)])]) : ""]);
4787
4884
  }
4788
4885
  function zt() {
4789
- return g("div", {
4886
+ return S("div", {
4790
4887
  class: "f-page-single-property-editor-component-right-customize"
4791
- }, [he(g("input", {
4888
+ }, [he(S("input", {
4792
4889
  class: "form-control",
4793
4890
  placeholder: "输入自定义内容",
4794
- "onUpdate:modelValue": (h) => P.value.customValue.value = h,
4795
- onChange: (h) => Gt(h.target.value),
4796
- disabled: b.value
4797
- }, null), [[Le, P.value.customValue.value]])]);
4891
+ "onUpdate:modelValue": (b) => A.value.customValue.value = b,
4892
+ onChange: (b) => _t(b.target.value),
4893
+ disabled: h.value
4894
+ }, null), [[je, A.value.customValue.value]])]);
4798
4895
  }
4799
4896
  function Yt() {
4800
- return g("div", {
4897
+ return S("div", {
4801
4898
  class: "f-page-single-property-editor-component-right-expression"
4802
- }, [g(ee, {
4899
+ }, [S(Q, {
4803
4900
  editable: !1,
4804
4901
  enableClear: !1,
4805
- readonly: b.value,
4806
- groupText: m.value,
4902
+ readonly: h.value,
4903
+ groupText: v.value,
4807
4904
  modelValue: o.value,
4808
- "onUpdate:modelValue": (h) => o.value = h,
4905
+ "onUpdate:modelValue": (b) => o.value = b,
4809
4906
  onClickHandle: qt
4810
4907
  }, null)]);
4811
4908
  }
4812
4909
  function Zt() {
4813
- return g("div", {
4910
+ return S("div", {
4814
4911
  class: "f-page-single-property-editor-component-right-stateMachine"
4815
- }, [g("div", {
4912
+ }, [S("div", {
4816
4913
  class: "f-stateMachine-exist",
4817
- onClick: I
4818
- }, [p.value]), g("div", {
4914
+ onClick: U
4915
+ }, [p.value]), S("div", {
4819
4916
  class: "f-stateMachine-combo",
4820
4917
  style: "border:unset"
4821
- }, [g(H, {
4822
- modelValue: c,
4823
- "onUpdate:modelValue": (h) => c = h,
4918
+ }, [S(q, {
4919
+ modelValue: u,
4920
+ "onUpdate:modelValue": (b) => u = b,
4824
4921
  placeholder: "",
4825
4922
  viewType: "text",
4826
4923
  enableClear: !1,
@@ -4828,18 +4925,18 @@ const me = /* @__PURE__ */ G({
4828
4925
  textField: "name",
4829
4926
  data: f.value,
4830
4927
  editable: !1,
4831
- readonly: b.value,
4832
- onChange: (h) => {
4833
- Rt(h);
4928
+ readonly: h.value,
4929
+ onChange: (b) => {
4930
+ Ut(b);
4834
4931
  }
4835
4932
  }, null)])]);
4836
4933
  }
4837
- function Jt() {
4838
- return g("div", {
4934
+ function Xt() {
4935
+ return S("div", {
4839
4936
  class: "f-page-single-property-editor-component-right-dataStates"
4840
- }, [g(H, {
4841
- modelValue: x.value,
4842
- "onUpdate:modelValue": (h) => x.value = h,
4937
+ }, [S(q, {
4938
+ modelValue: w.value,
4939
+ "onUpdate:modelValue": (b) => w.value = b,
4843
4940
  placeholder: "",
4844
4941
  viewType: "text",
4845
4942
  enableClear: !1,
@@ -4848,27 +4945,27 @@ const me = /* @__PURE__ */ G({
4848
4945
  valueField: "valueField",
4849
4946
  textField: "textField",
4850
4947
  titleField: "titleField",
4851
- data: T.value,
4948
+ data: C.value,
4852
4949
  editable: !1,
4853
- readonly: b.value,
4854
- onChange: (h) => Ht(h)
4950
+ readonly: h.value,
4951
+ onChange: (b) => Wt(b)
4855
4952
  }, null)]);
4856
4953
  }
4857
- function Xt() {
4858
- return he(g("input", {
4954
+ function Jt() {
4955
+ return he(S("input", {
4859
4956
  class: "form-control",
4860
- "onUpdate:modelValue": (h) => P.value.constValue.value = h,
4861
- onChange: (h) => {
4862
- Pt(h);
4957
+ "onUpdate:modelValue": (b) => A.value.constValue.value = b,
4958
+ onChange: (b) => {
4959
+ Pt(b);
4863
4960
  },
4864
- disabled: b.value,
4961
+ disabled: h.value,
4865
4962
  placeholder: "输入自定义内容"
4866
- }, null), [[Le, P.value.constValue.value]]);
4963
+ }, null), [[je, A.value.constValue.value]]);
4867
4964
  }
4868
4965
  function Qt() {
4869
- return g(H, {
4870
- modelValue: C.value,
4871
- "onUpdate:modelValue": (h) => C.value = h,
4966
+ return S(q, {
4967
+ modelValue: T.value,
4968
+ "onUpdate:modelValue": (b) => T.value = b,
4872
4969
  placeholder: "",
4873
4970
  viewType: "text",
4874
4971
  enableClear: !1,
@@ -4876,48 +4973,48 @@ const me = /* @__PURE__ */ G({
4876
4973
  textField: "value",
4877
4974
  data: a.value,
4878
4975
  editable: !1,
4879
- readonly: b.value,
4880
- onValueChange: (h) => fe(h)
4976
+ readonly: h.value,
4977
+ onValueChange: (b) => fe(b)
4881
4978
  }, null);
4882
4979
  }
4883
4980
  function Kt() {
4884
- return g(te, {
4981
+ return S(K, {
4885
4982
  canNull: !0,
4886
- readonly: b.value,
4887
- modelValue: E.value,
4888
- "onUpdate:modelValue": (h) => E.value = h,
4889
- onValueChange: (h) => {
4890
- At(h);
4983
+ readonly: h.value,
4984
+ modelValue: V.value,
4985
+ "onUpdate:modelValue": (b) => V.value = b,
4986
+ onValueChange: (b) => {
4987
+ It(b);
4891
4988
  },
4892
4989
  class: "f-page-single-property-editor-component-const-number"
4893
4990
  }, null);
4894
4991
  }
4895
4992
  function en() {
4896
- return g("div", {
4993
+ return S("div", {
4897
4994
  class: "f-page-single-property-editor-component-left-controller"
4898
- }, [g(H, {
4995
+ }, [S(q, {
4899
4996
  modelValue: r.value.id,
4900
- "onUpdate:modelValue": (h) => r.value.id = h,
4997
+ "onUpdate:modelValue": (b) => r.value.id = b,
4901
4998
  placeholder: "",
4902
4999
  enableClear: !1,
4903
5000
  valueField: "id",
4904
5001
  textField: "label",
4905
- data: S.value,
5002
+ data: g.value,
4906
5003
  editable: !1,
4907
- readonly: b.value,
4908
- onChange: (h) => re(h)
5004
+ readonly: h.value,
5005
+ onChange: (b) => ne(b)
4909
5006
  }, null)]);
4910
5007
  }
4911
5008
  function tn() {
4912
- return g("div", {
5009
+ return S("div", {
4913
5010
  class: "f-page-single-property-editor-component-right-controller"
4914
- }, [r.value.id === "const" ? g("div", {
5011
+ }, [r.value.id === "const" ? S("div", {
4915
5012
  class: "f-page-single-property-editor-component-right-const"
4916
- }, [t.value.propertyType === "string" ? Xt() : "", t.value.propertyType === "enum" ? Qt() : "", t.value.propertyType === "number" ? Kt() : ""]) : "", r.value.id === "variable" ? Wt() : "", r.value.id === "custom" ? zt() : "", r.value.id === "expression" && y.value ? Yt() : "", r.value.id === "stateMachine" ? Zt() : "", r.value.id === "dataStates" ? Jt() : ""]);
5013
+ }, [t.value.propertyType === "string" ? Jt() : "", t.value.propertyType === "enum" ? Qt() : "", t.value.propertyType === "number" ? Kt() : ""]) : "", r.value.id === "variable" ? Ht() : "", r.value.id === "custom" ? zt() : "", r.value.id === "expression" && y.value ? Yt() : "", r.value.id === "stateMachine" ? Zt() : "", r.value.id === "dataStates" ? Xt() : ""]);
4917
5014
  }
4918
- return q(() => {
4919
- K(), L(), Oe(), Ut(), t.value.hasPrefix && t.value.hasPrefix === 2 && (W.value = !0), t.value.controlName !== void 0 && (l.value = !0);
4920
- }), () => g(be, null, [g("div", {
5015
+ return _(() => {
5016
+ pe(), L(), Ae(), Gt(), t.value.hasPrefix && t.value.hasPrefix === 2 && (J.value = !0), t.value.controlName !== void 0 && (l.value = !0);
5017
+ }), () => S(be, null, [S("div", {
4921
5018
  class: "f-page-single-property-editor-component clearfix"
4922
5019
  }, [en(), tn()])]);
4923
5020
  }