@farris/ui-vue 1.2.7 → 1.2.8

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 (206) hide show
  1. package/components/accordion/index.esm.js +79 -79
  2. package/components/avatar/index.esm.js +393 -440
  3. package/components/border-editor/index.esm.js +4 -4
  4. package/components/button/index.esm.js +1 -1
  5. package/components/button-edit/index.esm.js +353 -444
  6. package/components/button-group/index.esm.js +5 -5
  7. package/components/calendar/index.esm.js +176 -176
  8. package/components/capsule/index.esm.js +93 -93
  9. package/components/checkbox/index.esm.js +496 -542
  10. package/components/color-picker/index.esm.js +1 -1
  11. package/components/combo-list/index.esm.js +437 -483
  12. package/components/combo-tree/index.esm.js +8 -8
  13. package/components/component/index.esm.js +89 -89
  14. package/components/condition/index.esm.js +839 -726
  15. package/components/content-container/index.esm.js +61 -61
  16. package/components/data-grid/index.esm.js +4702 -4972
  17. package/components/data-view/index.esm.js +2999 -2875
  18. package/components/date-picker/index.esm.js +2626 -2672
  19. package/components/dependent-base/style.js +1 -0
  20. package/components/dependent-fluid/style.js +1 -0
  21. package/components/dependent-icon/style.js +1 -0
  22. package/components/dependent-input/style.js +1 -0
  23. package/components/dependent-table/style.js +1 -0
  24. package/components/designer-canvas/index.esm.js +478 -475
  25. package/components/designer-outline/index.esm.js +173 -131
  26. package/components/discussion-editor/index.esm.js +1 -1
  27. package/components/dropdown/index.esm.js +73 -73
  28. package/components/dynamic-form/index.esm.js +934 -976
  29. package/components/dynamic-resolver/index.esm.js +67 -35
  30. package/components/dynamic-view/index.esm.js +258 -249
  31. package/components/enum-editor/index.esm.js +3 -3
  32. package/components/events-editor/index.esm.js +178 -178
  33. package/components/expression-editor/index.esm.js +105 -105
  34. package/components/external-container/index.esm.js +1892 -1775
  35. package/components/field-selector/index.css +1 -1
  36. package/components/field-selector/index.esm.js +5245 -5514
  37. package/components/filter-bar/index.css +1 -1
  38. package/components/filter-bar/index.esm.js +1483 -1556
  39. package/components/flow-canvas/index.esm.js +678 -675
  40. package/components/image-cropper/index.esm.js +266 -266
  41. package/components/input-group/index.esm.js +668 -714
  42. package/components/layout/index.esm.js +148 -148
  43. package/components/list-nav/index.esm.js +109 -109
  44. package/components/list-view/index.esm.js +1679 -1563
  45. package/components/lookup/index.css +1 -1
  46. package/components/lookup/index.esm.js +6596 -6865
  47. package/components/mapping-editor/index.esm.js +5592 -5862
  48. package/components/message-box/index.esm.js +1 -1
  49. package/components/modal/index.esm.js +1 -1
  50. package/components/nav/index.esm.js +86 -86
  51. package/components/number-range/index.esm.js +1120 -0
  52. package/components/number-range/package.json +8 -0
  53. package/components/number-range/style.js +6 -0
  54. package/components/number-spinner/index.esm.js +1146 -0
  55. package/components/number-spinner/package.json +8 -0
  56. package/components/number-spinner/style.js +4 -0
  57. package/components/order/index.esm.js +988 -1034
  58. package/components/page-footer/index.esm.js +106 -106
  59. package/components/page-header/index.esm.js +1088 -1296
  60. package/components/pagination/index.esm.js +252 -252
  61. package/components/progress/index.esm.js +37 -37
  62. package/components/property-editor/index.esm.js +1416 -1462
  63. package/components/property-panel/index.css +1 -1
  64. package/components/property-panel/index.esm.js +757 -830
  65. package/components/query-solution/index.css +1 -0
  66. package/components/query-solution/index.esm.js +6935 -0
  67. package/components/query-solution/package.json +8 -0
  68. package/components/query-solution/style.js +2 -0
  69. package/components/radio-button/index.esm.js +64 -64
  70. package/components/radio-group/index.esm.js +452 -498
  71. package/components/rate/index.esm.js +92 -92
  72. package/components/response-layout/index.esm.js +33 -33
  73. package/components/response-layout-editor/index.esm.js +117 -117
  74. package/components/response-toolbar/index.esm.js +1021 -1238
  75. package/components/schema-selector/index.esm.js +3215 -3308
  76. package/components/search-box/index.esm.js +143 -143
  77. package/components/section/index.esm.js +209 -209
  78. package/components/smoke-detector/index.esm.js +22 -22
  79. package/components/spacing-editor/index.esm.js +2 -2
  80. package/components/splitter/index.esm.js +1097 -394
  81. package/components/step/index.esm.js +153 -153
  82. package/components/switch/index.esm.js +442 -488
  83. package/components/tabs/index.esm.js +1835 -2004
  84. package/components/tags/index.esm.js +215 -215
  85. package/components/text/index.esm.js +53 -53
  86. package/components/textarea/index.esm.js +451 -482
  87. package/components/time-picker/index.esm.js +1345 -1392
  88. package/components/transfer/index.esm.js +135 -135
  89. package/components/tree-grid/index.css +1 -1
  90. package/components/tree-grid/index.esm.js +5761 -6020
  91. package/components/tree-view/index.esm.js +2380 -2253
  92. package/components/uploader/index.esm.js +1 -1
  93. package/components/verify-detail/index.esm.js +232 -232
  94. package/components/video/index.esm.js +136 -136
  95. package/components/weather/index.esm.js +2 -2
  96. package/farris.all.esm.js +31630 -31224
  97. package/farris.all.umd.cjs +9 -9
  98. package/index.css +1 -1
  99. package/package.json +1 -1
  100. package/types/checkbox/index.d.ts +1 -0
  101. package/types/data-grid/src/designer/column-header.design.component.d.ts +1 -1
  102. package/types/data-grid/src/designer/data-grid-column.props.d.ts +1 -0
  103. package/types/data-view/composition/types.d.ts +1 -1
  104. package/types/designer-canvas/src/composition/dg-control.d.ts +16 -350
  105. package/types/designer-canvas/src/types.d.ts +1 -1
  106. package/types/dynamic-form/index.d.ts +1 -0
  107. package/types/dynamic-form/src/types.d.ts +1 -1
  108. package/types/dynamic-resolver/index.d.ts +1 -0
  109. package/types/dynamic-resolver/src/binding-resolver.d.ts +1 -0
  110. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  111. package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -1
  112. package/types/modal/src/modal.props.d.ts +1 -4
  113. package/types/property-panel/src/composition/entity/base-property.d.ts +0 -12
  114. package/types/property-panel/src/composition/entity/input-base-property.d.ts +11 -26
  115. package/types/property-panel/src/composition/entity/schema-dom-mapping.d.ts +10 -8
  116. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +19 -0
  117. package/types/tabs/src/property-config/tabs.property-config.d.ts +6 -6
  118. package/types/tree-grid/src/designer/use-designer-rules.d.ts +3 -0
  119. package/types/tree-grid/src/property-config/tree-grid.property-config.d.ts +11 -0
  120. package/types/tree-grid/src/schema/column-resolver.d.ts +1 -1
  121. package/types/tree-grid/src/tree-grid.props.d.ts +8 -0
  122. package/components/accordion/index.umd.cjs +0 -1
  123. package/components/avatar/index.umd.cjs +0 -1
  124. package/components/border-editor/index.umd.cjs +0 -1
  125. package/components/button/index.umd.cjs +0 -1
  126. package/components/button-edit/index.umd.cjs +0 -1
  127. package/components/button-group/index.umd.cjs +0 -1
  128. package/components/calculator/index.umd.cjs +0 -1
  129. package/components/calendar/index.umd.cjs +0 -1
  130. package/components/capsule/index.umd.cjs +0 -1
  131. package/components/checkbox/index.umd.cjs +0 -1
  132. package/components/color-picker/index.umd.cjs +0 -3
  133. package/components/combo-list/index.umd.cjs +0 -1
  134. package/components/combo-tree/index.umd.cjs +0 -1
  135. package/components/common/index.umd.cjs +0 -1
  136. package/components/component/index.umd.cjs +0 -1
  137. package/components/condition/index.umd.cjs +0 -1
  138. package/components/content-container/index.umd.cjs +0 -1
  139. package/components/data-grid/index.umd.cjs +0 -1
  140. package/components/data-view/index.umd.cjs +0 -1
  141. package/components/date-picker/index.umd.cjs +0 -1
  142. package/components/designer-canvas/index.umd.cjs +0 -1
  143. package/components/designer-outline/index.umd.cjs +0 -1
  144. package/components/designer-toolbox/index.umd.cjs +0 -1
  145. package/components/discussion-editor/index.umd.cjs +0 -3
  146. package/components/discussion-list/index.umd.cjs +0 -1
  147. package/components/drawer/index.umd.cjs +0 -1
  148. package/components/dropdown/index.umd.cjs +0 -2
  149. package/components/dynamic-form/index.umd.cjs +0 -1
  150. package/components/dynamic-resolver/index.umd.cjs +0 -1
  151. package/components/dynamic-view/index.umd.cjs +0 -1
  152. package/components/enum-editor/index.umd.cjs +0 -1
  153. package/components/events-editor/index.umd.cjs +0 -1
  154. package/components/expression-editor/index.umd.cjs +0 -1
  155. package/components/external-container/index.umd.cjs +0 -1
  156. package/components/field-selector/index.umd.cjs +0 -1
  157. package/components/filter-bar/index.umd.cjs +0 -1
  158. package/components/flow-canvas/index.umd.cjs +0 -1
  159. package/components/image-cropper/index.umd.cjs +0 -1
  160. package/components/input-group/index.umd.cjs +0 -1
  161. package/components/layout/index.umd.cjs +0 -1
  162. package/components/list-nav/index.umd.cjs +0 -1
  163. package/components/list-view/index.umd.cjs +0 -1
  164. package/components/loading/index.umd.cjs +0 -8
  165. package/components/locale/index.umd.cjs +0 -1
  166. package/components/lookup/index.umd.cjs +0 -1
  167. package/components/mapping-editor/index.umd.cjs +0 -1
  168. package/components/message-box/index.umd.cjs +0 -1
  169. package/components/modal/index.umd.cjs +0 -1
  170. package/components/nav/index.umd.cjs +0 -3
  171. package/components/notify/index.umd.cjs +0 -1
  172. package/components/order/index.umd.cjs +0 -1
  173. package/components/page-footer/index.umd.cjs +0 -1
  174. package/components/page-header/index.umd.cjs +0 -1
  175. package/components/pagination/index.umd.cjs +0 -1
  176. package/components/popover/index.umd.cjs +0 -1
  177. package/components/progress/index.umd.cjs +0 -3
  178. package/components/property-editor/index.umd.cjs +0 -3
  179. package/components/property-panel/index.umd.cjs +0 -1
  180. package/components/radio-button/index.umd.cjs +0 -1
  181. package/components/radio-group/index.umd.cjs +0 -1
  182. package/components/rate/index.umd.cjs +0 -1
  183. package/components/response-layout/index.umd.cjs +0 -1
  184. package/components/response-layout-editor/index.umd.cjs +0 -1
  185. package/components/response-toolbar/index.umd.cjs +0 -1
  186. package/components/schema-selector/index.umd.cjs +0 -8
  187. package/components/search-box/index.umd.cjs +0 -1
  188. package/components/section/index.umd.cjs +0 -1
  189. package/components/smoke-detector/index.umd.cjs +0 -1
  190. package/components/spacing-editor/index.umd.cjs +0 -1
  191. package/components/splitter/index.umd.cjs +0 -1
  192. package/components/step/index.umd.cjs +0 -1
  193. package/components/switch/index.umd.cjs +0 -1
  194. package/components/tabs/index.umd.cjs +0 -1
  195. package/components/tags/index.umd.cjs +0 -1
  196. package/components/text/index.umd.cjs +0 -1
  197. package/components/textarea/index.umd.cjs +0 -1
  198. package/components/time-picker/index.umd.cjs +0 -1
  199. package/components/tooltip/index.umd.cjs +0 -1
  200. package/components/transfer/index.umd.cjs +0 -1
  201. package/components/tree-grid/index.umd.cjs +0 -1
  202. package/components/tree-view/index.umd.cjs +0 -1
  203. package/components/uploader/index.umd.cjs +0 -2
  204. package/components/verify-detail/index.umd.cjs +0 -1
  205. package/components/video/index.umd.cjs +0 -1
  206. package/components/weather/index.umd.cjs +0 -16
@@ -1,56 +1,57 @@
1
- var Kt = Object.defineProperty;
2
- var Jt = (e, n, t) => n in e ? Kt(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
- var j = (e, n, t) => Jt(e, typeof n != "symbol" ? n + "" : n, t);
4
- import { ref as y, defineComponent as q, watch as N, computed as V, createVNode as S, inject as Z, onMounted as G, nextTick as Ie, reactive as en, withDirectives as ve, resolveDirective as tn, Fragment as ye, vModelText as Oe } from "vue";
1
+ var en = Object.defineProperty;
2
+ var tn = (e, n, t) => n in e ? en(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
+ var D = (e, n, t) => tn(e, typeof n != "symbol" ? n + "" : n, t);
4
+ import { ref as y, defineComponent as q, watch as N, computed as x, createVNode as g, inject as Q, onMounted as H, nextTick as je, reactive as nn, withDirectives as me, resolveDirective as rn, Fragment as he, vModelText as De } from "vue";
5
5
  import { cloneDeep as F } from "lodash-es";
6
- import nn from "@farris/ui-vue/components/list-view";
7
- import _e from "@farris/ui-vue/components/button-edit";
8
- import { useDesignerComponent as on } from "@farris/ui-vue/components/designer-canvas/src/composition/function/use-designer-component";
9
- import L from "bignumber.js";
10
- import { useNumber as rn, useFormat as an, useSpinner as ln, useTextBox as un } from "@farris/ui-vue/components/number-spinner";
11
- const He = {}, Ge = {};
12
- function ge(e) {
13
- const { properties: n, title: t } = e, o = Object.keys(n).reduce((r, a) => (r[a] = n[a].type === "object" && n[a].properties ? ge(n[a]) : F(n[a].default), r), {});
14
- return o.id = `${t}-${Date.now()}`, o;
6
+ import on from "../list-view/index.esm.js";
7
+ import qe from "../button-edit/index.esm.js";
8
+ import { getSchemaByType as $e } from "../dynamic-resolver/index.esm.js";
9
+ import { useDesignerComponent as an } from "../designer-canvas/index.esm.js";
10
+ import $ from "bignumber.js";
11
+ import { useNumber as ln, useFormat as un, useSpinner as sn, useTextBox as cn } from "../number-spinner/index.esm.js";
12
+ const We = {}, ze = {};
13
+ function we(e) {
14
+ const { properties: n, title: t } = e, r = Object.keys(n).reduce((o, a) => (o[a] = n[a].type === "object" && n[a].properties ? we(n[a]) : F(n[a].default), o), {});
15
+ return r.id = `${t}-${Date.now()}`, r;
15
16
  }
16
- function me(e, n = {}) {
17
- const t = He[e];
17
+ function be(e, n = {}) {
18
+ const t = We[e];
18
19
  if (t) {
19
- let o = ge(t);
20
- const r = Ge[e];
21
- return o = r ? r({ getSchemaByType: me }, o, n) : o, o;
20
+ let r = we(t);
21
+ const o = ze[e];
22
+ return r = o ? o({ getSchemaByType: be }, r, n) : r, r;
22
23
  }
23
24
  return null;
24
25
  }
25
- function sn(e, n) {
26
- const t = ge(n);
27
- return Object.keys(e).reduce((o, r) => (o[r] = e[r], o), t), t;
26
+ function dn(e, n) {
27
+ const t = we(n);
28
+ return Object.keys(e).reduce((r, o) => (r[o] && typeof r[o] == "object" ? Object.assign(r[o], e[o]) : r[o] = e[o], r), t), t;
28
29
  }
29
- function cn(e, n) {
30
- return Object.keys(e).filter((o) => e[o] != null).reduce((o, r) => {
31
- if (n.has(r)) {
32
- const a = n.get(r);
30
+ function pn(e, n) {
31
+ return Object.keys(e).filter((r) => e[r] != null).reduce((r, o) => {
32
+ if (n.has(o)) {
33
+ const a = n.get(o);
33
34
  if (typeof a == "string")
34
- o[a] = e[r];
35
+ r[a] = e[o];
35
36
  else {
36
- const l = a(r, e[r], e);
37
- Object.assign(o, l);
37
+ const l = a(o, e[o], e);
38
+ Object.assign(r, l);
38
39
  }
39
40
  } else
40
- o[r] = e[r];
41
- return o;
41
+ r[o] = e[o];
42
+ return r;
42
43
  }, {});
43
44
  }
44
- function dn(e, n, t = /* @__PURE__ */ new Map()) {
45
- const o = sn(e, n);
46
- return cn(o, t);
45
+ function fn(e, n, t = /* @__PURE__ */ new Map()) {
46
+ const r = dn(e, n);
47
+ return pn(r, t);
47
48
  }
48
- function pn(e = {}) {
49
- function n(i, d, c, f) {
50
- if (typeof c == "number")
51
- return f[i].length === c;
52
- if (typeof c == "object") {
53
- const s = Object.keys(c)[0], v = c[s];
49
+ function vn(e = {}) {
50
+ function n(i, p, d, f) {
51
+ if (typeof d == "number")
52
+ return f[i].length === d;
53
+ if (typeof d == "object") {
54
+ const s = Object.keys(d)[0], v = d[s];
54
55
  if (s === "not")
55
56
  return Number(f[i].length) !== Number(v);
56
57
  if (s === "moreThan")
@@ -60,52 +61,50 @@ function pn(e = {}) {
60
61
  }
61
62
  return !1;
62
63
  }
63
- function t(i, d, c, f) {
64
- return f[i] && f[i].propertyValue && String(f[i].propertyValue.value) === String(c);
64
+ function t(i, p, d, f) {
65
+ return f[i] && f[i].propertyValue && String(f[i].propertyValue.value) === String(d);
65
66
  }
66
- const o = /* @__PURE__ */ new Map([
67
+ const r = /* @__PURE__ */ new Map([
67
68
  ["length", n],
68
69
  ["getProperty", t]
69
70
  ]);
70
- Object.keys(e).reduce((i, d) => (i.set(d, e[d]), i), o);
71
- function r(i, d) {
72
- const c = i;
73
- return typeof d == "number" ? [{ target: c, operator: "length", param: null, value: Number(d) }] : typeof d == "boolean" ? [{ target: c, operator: "getProperty", param: i, value: !!d }] : typeof d == "object" ? Object.keys(d).map((f) => {
71
+ Object.keys(e).reduce((i, p) => (i.set(p, e[p]), i), r);
72
+ function o(i, p) {
73
+ const d = i;
74
+ return typeof p == "number" ? [{ target: d, operator: "length", param: null, value: Number(p) }] : typeof p == "boolean" ? [{ target: d, operator: "getProperty", param: i, value: !!p }] : typeof p == "object" ? Object.keys(p).map((f) => {
74
75
  if (f === "length")
75
- return { target: c, operator: "length", param: null, value: d[f] };
76
- const s = f, v = d[f];
77
- return { target: c, operator: "getProperty", param: s, value: v };
76
+ return { target: d, operator: "length", param: null, value: p[f] };
77
+ const s = f, v = p[f];
78
+ return { target: d, operator: "getProperty", param: s, value: v };
78
79
  }) : [];
79
80
  }
80
81
  function a(i) {
81
- return Object.keys(i).reduce((c, f) => {
82
- const s = r(f, i[f]);
83
- return c.push(...s), c;
82
+ return Object.keys(i).reduce((d, f) => {
83
+ const s = o(f, i[f]);
84
+ return d.push(...s), d;
84
85
  }, []);
85
86
  }
86
- function l(i, d) {
87
- if (o.has(i.operator)) {
88
- const c = o.get(i.operator);
89
- return c && c(i.target, i.param, i.value, d) || !1;
87
+ function l(i, p) {
88
+ if (r.has(i.operator)) {
89
+ const d = r.get(i.operator);
90
+ return d && d(i.target, i.param, i.value, p) || !1;
90
91
  }
91
92
  return !1;
92
93
  }
93
- function u(i, d) {
94
- return a(i).reduce((s, v) => s && l(v, d), !0);
94
+ function u(i, p) {
95
+ return a(i).reduce((s, v) => s && l(v, p), !0);
95
96
  }
96
- function p(i, d) {
97
- const c = Object.keys(i), f = c.includes("allOf"), s = c.includes("anyOf"), v = f || s, x = (v ? i[v ? f ? "allOf" : "anyOf" : "allOf"] : [i]).map((E) => u(E, d));
98
- return f ? !x.includes(!1) : x.includes(!0);
97
+ function c(i, p) {
98
+ const d = Object.keys(i), f = d.includes("allOf"), s = d.includes("anyOf"), v = f || s, C = (v ? i[v ? f ? "allOf" : "anyOf" : "allOf"] : [i]).map((E) => u(E, p));
99
+ return f ? !C.includes(!1) : C.includes(!0);
99
100
  }
100
- return { parseValueSchema: p };
101
+ return { parseValueSchema: c };
101
102
  }
102
- const g = {
103
- Button: { type: "Button", name: "按钮", icon: "Button" },
104
- ButtonGroup: { type: "ButtonGroup", name: "按钮组", icon: "ButtonGroup" },
103
+ const V = {
104
+ button: { type: "button", name: "按钮", icon: "Button" },
105
105
  "response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
106
- "response-toolbar-item": { type: "response-toolbar-item", name: "工具栏项", icon: "Button" },
106
+ "response-toolbar-item": { type: "response-toolbar-item", name: "按钮", icon: "Button" },
107
107
  "content-container": { type: "content-container", name: "容器", icon: "ContentContainer" },
108
- DisplayField: { type: "DisplayField", name: "标签", icon: "DisplayField" },
109
108
  "input-group": { type: "input-group", name: "文本", icon: "TextBox" },
110
109
  textarea: { type: "textarea", name: "多行文本", icon: "MultiTextBox" },
111
110
  lookup: { type: "lookup", name: "帮助", icon: "LookupEdit" },
@@ -116,118 +115,47 @@ const g = {
116
115
  "check-box": { type: "check-box", name: "复选框", icon: "CheckBox" },
117
116
  "check-group": { type: "check-group", name: "复选框组", icon: "CheckGroup" },
118
117
  "combo-list": { type: "combo-list", name: "下拉列表", icon: "EnumField" },
119
- /** 暂时没用 */
120
- FlexLayout: { type: "FlexLayout", name: "弹性布局" },
121
- /** 暂时没用 */
122
- FlowLayout: { type: "FlowLayout", name: "流布局" },
123
- ResponseLayout: { type: "ResponseLayout", name: "布局容器", icon: "ResponseLayout3" },
124
- ResponseLayoutItem: { type: "ResponseLayoutItem", name: "布局", icon: "ResponseLayout1" },
118
+ "response-form": { type: "response-form", name: "卡片面板", icon: "Form" },
119
+ "response-layout": { type: "response-layout", name: "布局容器", icon: "ResponseLayout3" },
120
+ "response-layout-item": { type: "response-layout-item", name: "布局", icon: "ResponseLayout1" },
125
121
  "tree-grid": { type: "tree-grid", name: "树表格", icon: "TreeGrid" },
126
- TreeGridField: { type: "TreeGridField", name: "树表格列" },
127
- FieldSet: { type: "FieldSet", name: "分组", icon: "FieldSet" },
128
- Form: { type: "Form", name: "卡片面板", icon: "Form" },
129
- QueryForm: { type: "QueryForm", name: "查询面板", icon: "Form" },
122
+ "tree-grid-column": { type: "tree-grid-column", name: "树表格列" },
130
123
  "data-grid": { type: "data-grid", name: "表格", icon: "DataGrid" },
131
124
  "data-grid-column": { type: "data-grid-column", name: "表格列" },
132
- Panel: { type: "Panel", name: "面板", icon: "ContentContainer" },
133
- Module: { type: "Module", name: "模块", icon: "Module" },
125
+ module: { type: "Module", name: "模块", icon: "Module" },
134
126
  component: { type: "component", name: "组件", icon: "Component" },
135
- ExternalContainer: { type: "ExternalContainer", name: "外部容器", icon: "ContentContainer" },
136
- Image: { type: "Image", name: "图像", icon: "Image" },
137
- ImageUpload: { type: "ImageUpload", name: "图片上传", icon: "imageupload" },
138
- HiddenContainer: { type: "HiddenContainer", name: "隐藏区域", icon: "ContentContainer" },
139
- ModalContainer: { type: "ModalContainer", name: "弹窗容器", icon: "ContentContainer" },
140
- RouteContainer: { type: "RouteContainer", name: "路由区域", icon: "ContentContainer" },
141
127
  tabs: { type: "tabs", name: "标签页", icon: "Tab" },
142
128
  "tab-page": { type: "tab-page", name: "标签页项", dependentParentControl: "Tab" },
143
129
  "tab-toolbar-item": { type: "tab-toolbar-item", name: "标签页工具栏按钮", icon: "Button" },
144
- Tag: { type: "Tag", name: "Tag", icon: "Tag" },
145
- Sidebar: { type: "Sidebar", name: "侧边栏", icon: "Sidebar" },
146
- HtmlTemplate: { type: "HtmlTemplate", name: "模版容器", icon: "HtmlTemplate" },
147
- ListView: { type: "ListView", name: "列表", icon: "ListView" },
148
- RichTextBox: { type: "RichTextBox", name: "富文本", icon: "RichTextBox" },
149
- TimeSpinner: { type: "TimeSpinner", name: "时间调节器", icon: "TimePicker" },
150
- TimePicker: { type: "TimePicker", name: "时间选择", icon: "TimePicker" },
130
+ "time-picker": { type: "time-picker", name: "时间选择", icon: "TimePicker" },
151
131
  section: { type: "section", name: "分组面板", icon: "Section" },
152
- SectionToolbar: { type: "SectionToolbar", name: "分组面板工具栏" },
153
- SectionToolbarItem: { type: "SectionToolbarItem", name: "分组面板按钮" },
154
- QueryScheme: { type: "QueryScheme", name: "筛选方案", icon: "QueryScheme" },
155
- FormHeader: { type: "FormHeader", name: "翻页" },
156
- Splitter: { type: "Splitter", name: "分栏面板", icon: "Splitter" },
157
- SplitterPane: { type: "SplitterPane", name: "分栏面板项", dependentParentControl: "Splitter" },
158
- WizardDetail: { type: "WizardDetail", name: "向导详情页" },
159
- WizardDetailContainer: { type: "WizardDetailContainer", name: "向导详情容器" },
160
- Wizard: { type: "Wizard", name: "向导", icon: "Wizard" },
161
- MultiSelect: { type: "MultiSelect", name: "数据分配", icon: "MultiSelect" },
162
- Steps: { type: "Steps", name: "步骤条", icon: "Steps" },
163
- avatar: { type: "avatar", name: "头像", icon: "Avatar" },
164
- ListFilter: { type: "ListFilter", name: "筛选条", icon: "ListFilter" },
165
- ListNav: { type: "ListNav", name: "列表导航", icon: "ListNav" },
166
- NumberRange: { type: "NumberRange", name: "数字区间选择", icon: "NumericBox" },
167
- Scrollspy: { type: "Scrollspy", name: "滚动监听", icon: "Scrollspy" },
168
- LanguageTextBox: { type: "LanguageTextBox", name: "多语言输入框", icon: "LanguageTextBox" },
169
- ComponentRef: { type: "ComponentRef", name: "组件引用节点" },
170
- FileUpload: { type: "FileUpload", name: "附件上传", icon: "FileUpload" },
171
- FilePreview: { type: "FilePreview", name: "附件预览", icon: "FilePreview" },
172
- ViewChange: { type: "ViewChange", name: "多视图切换", icon: "Button" },
173
- MultiViewContainer: { type: "MultiViewContainer", name: "多视图", icon: "MultiViewContainer" },
174
- MultiViewItem: { type: "MultiViewItem", name: "多视图项", dependentParentControl: "MultiViewContainer" },
175
- Footer: { type: "Footer", name: "页脚" },
176
- DiscussionEditor: { type: "DiscussionEditor", name: "评论编辑区", icon: "DiscussionEditor" },
177
- DiscussionList: { type: "DiscussionList", name: "评论列表", icon: "DiscussionList" },
178
- NavTab: { type: "NavTab", name: "标签类导航", icon: "NavTab" },
179
- Tags: { type: "Tags", name: "标记组", icon: "Tags" },
180
- Portlet: { type: "Portlet", name: "小部件", icon: "dingzhi" },
132
+ "section-toolbar": { type: "section-toolbar", name: "分组面板工具栏" },
133
+ "section-toolbar-item": { type: "section-toolbar-item", name: "分组面板按钮" },
134
+ splitter: { type: "splitter", name: "分栏面板", icon: "Splitter" },
135
+ "splitter-pane": { type: "splitter-pane", name: "分栏面板项", dependentParentControl: "Splitter" },
136
+ "component-ref": { type: "component-ref", name: "组件引用节点" },
137
+ uploader: { type: "uploader", name: "附件上传", icon: "FileUpload" },
181
138
  "page-header": { type: "page-header", name: "页头", icon: "Header" },
182
- ModalFooter: { type: "ModalFooter", name: "弹窗页脚", icon: "ModalFooter" },
183
- ScrollCollapsibleArea: { type: "ScrollCollapsibleArea", name: "滚动收折区域", icon: "ScrollCollapsibleArea" },
184
- PersonnelSelector: { type: "PersonnelSelector", name: "人员选择", icon: "PersonnelSelector" },
185
- Table: { type: "Table", name: "表格", icon: "DataGrid" },
186
- LoopContainer: { type: "LoopContainer", name: "循环容器", icon: "ContentContainer" },
187
- FileUploadPreview: { type: "FileUploadPreview", name: "附件上传预览", icon: "FileUpload" },
188
- DynamicArea: { type: "DynamicArea", name: "动态区域", icon: "ContentContainer" },
189
- DynamicAreaItem: { type: "DynamicAreaItem", name: "动态区域项", icon: "ContentContainer" },
190
- TabToolbar: { type: "TabToolbar", name: "标签页工具栏", icon: "TabToolbar" },
191
- HeaderToolBar: { type: "HeaderToolBar", name: "头部组件工具栏", icon: "HeaderToolBar" },
192
- ModalFooterToolBar: { type: "ModalFooterToolBar", name: "底部组件工具栏", icon: "ModalFooterToolBar" },
193
- HeaderToolBarItem: { type: "HeaderToolBarItem", name: "头部组件工具栏按钮", icon: "HeaderToolBarItem" },
194
- ModalFooterToolBarItem: { type: "ModalFooterToolBarItem", name: "底部组件工具栏按钮", icon: "ModalFooterToolBarItem" },
195
- OrganizationSelector: { type: "OrganizationSelector", name: "组织选择", icon: "OrganizationSelector" },
196
- AdminOrganizationSelector: { type: "AdminOrganizationSelector", name: "组织选择", icon: "OrganizationSelector" },
197
- EmployeeSelector: { type: "EmployeeSelector", name: "人员选择", icon: "PersonnelSelector" },
198
- OaRelation: { type: "OaRelation", name: "关联行政审批", icon: "TextBox" },
199
- CitySelector: { type: "CitySelector", name: "城市选择", icon: "CitySelector" },
200
- ExtIntergration: { type: "ExtIntergration", name: "外部服务集成", icon: "ViewModel" },
201
- AppointmentCalendar: { type: "AppointmentCalendar", name: "预约日历", icon: "DateBox" },
202
- /** 查询类 start */
203
- Charts: { type: "Charts", name: "图表", icon: "Charts" },
204
- QdpFramework: { type: "QdpFramework", name: "查询结果工具栏", icon: "QdpFramework" },
205
- SpreadSheet: { type: "SpreadSheet", name: "查询表格控件", icon: "Charts" },
206
- QdpConditionDialog: { type: "QdpConditionDialog", name: "查询筛选对话框", icon: "ContentContainer" },
207
- QdpConditionDialogTab: { type: "QdpConditionDialogTab", name: "查询筛选标签页", icon: "Tab" },
208
- /** 查询类 end */
209
- /** 审批类 start */
210
- ApprovalLogs: { type: "ApprovalLogs", name: "审批记录", icon: "ApprovalLogs" },
211
- ApprovalComments: { type: "ApprovalComments", name: "审批意见", icon: "shenpiyijian" }
212
- /** 审批类 end */
213
- }, fn = {}, vn = {};
214
- pn();
215
- function ue(e, n, t = /* @__PURE__ */ new Map(), o = (l, u, p) => u, r = {}, a = (l) => l) {
216
- return He[n.title] = n, Ge[n.title] = o, fn[n.title] = r, vn[n.title] = a, (l = {}) => {
217
- const u = dn(l, n, t), p = Object.keys(e).reduce((i, d) => (i[d] = e[d].default, i), {});
218
- return Object.assign(p, u);
139
+ "page-footer": { type: "page-footer", name: "页脚", icon: "ModalFooter" },
140
+ "tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏", icon: "TabToolbar" }
141
+ }, yn = {}, mn = {};
142
+ vn();
143
+ function ce(e, n, t = /* @__PURE__ */ new Map(), r = (l, u, c) => u, o = {}, a = (l) => l) {
144
+ return We[n.title] = n, ze[n.title] = r, yn[n.title] = o, mn[n.title] = a, (l = {}) => {
145
+ const u = fn(l, n, t), c = Object.keys(e).reduce((i, p) => (i[p] = e[p].default, i), {});
146
+ return Object.assign(c, u);
219
147
  };
220
148
  }
221
- function se(e, n) {
149
+ function de(e, n) {
222
150
  return { customClass: n.class, customStyle: n.style };
223
151
  }
224
- const yn = /* @__PURE__ */ new Map([
225
- ["appearance", se]
152
+ const hn = /* @__PURE__ */ new Map([
153
+ ["appearance", de]
226
154
  ]);
227
- function mn(e, n, t) {
155
+ function bn(e, n, t) {
228
156
  return n;
229
157
  }
230
- const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-design.gitee.io/property-editor.schema.json", gn = "property-editor", Sn = "A Farris Component", Cn = "object", wn = {
158
+ const gn = "https://json-schema.org/draft/2020-12/schema", Sn = "https://farris-design.gitee.io/property-editor.schema.json", wn = "property-editor", Cn = "A Farris Component", xn = "object", Vn = {
231
159
  id: {
232
160
  description: "The unique identifier for property-editor",
233
161
  type: "string"
@@ -289,18 +217,18 @@ const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-
289
217
  type: "boolean",
290
218
  default: !0
291
219
  }
292
- }, xn = [
220
+ }, Tn = [
293
221
  "id",
294
222
  "type"
295
- ], Vn = {
296
- $schema: hn,
297
- $id: bn,
298
- title: gn,
299
- description: Sn,
300
- type: Cn,
301
- properties: wn,
302
- required: xn
303
- }, Tn = "property-editor", Bn = "A Farris Component", Fn = "object", Mn = {
223
+ ], Bn = {
224
+ $schema: gn,
225
+ $id: Sn,
226
+ title: wn,
227
+ description: Cn,
228
+ type: xn,
229
+ properties: Vn,
230
+ required: Tn
231
+ }, Fn = "property-editor", Mn = "A Farris Component", kn = "object", En = {
304
232
  basic: {
305
233
  description: "Basic Infomation",
306
234
  title: "基本信息",
@@ -322,12 +250,12 @@ const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-
322
250
  }
323
251
  }
324
252
  }
325
- }, Pn = {
326
- title: Tn,
327
- description: Bn,
328
- type: Fn,
329
- categories: Mn
330
- }, qe = {}, En = ue(qe, Vn, yn, mn, Pn), k = y({
253
+ }, An = {
254
+ title: Fn,
255
+ description: Mn,
256
+ type: kn,
257
+ categories: En
258
+ }, Ye = {}, Pn = ce(Ye, Bn, hn, bn, An), P = y({
331
259
  /** 常量值 */
332
260
  constValue: {
333
261
  /** 值类型:常量(const), 变量(variable), 状态机(state), 自定义(custom) */
@@ -365,7 +293,7 @@ const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-
365
293
  type: "dataStates",
366
294
  value: ""
367
295
  }
368
- }), An = y([
296
+ }), Nn = y([
369
297
  {
370
298
  id: "const",
371
299
  label: "常量"
@@ -390,7 +318,7 @@ const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-
390
318
  id: "dataStates",
391
319
  label: "数据状态"
392
320
  }
393
- ]), kn = {
321
+ ]), On = {
394
322
  controlName: "userName",
395
323
  propertyName: "readonly",
396
324
  propertyType: "enum",
@@ -515,9 +443,9 @@ const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-
515
443
  },
516
444
  /** 状态机是否有前缀viewModel.stateMachine && */
517
445
  hasPrefix: 2
518
- }, Nn = /* @__PURE__ */ new Map([
519
- ["appearance", se]
520
- ]), In = "https://json-schema.org/draft/2020-12/schema", On = "https://farris-design.gitee.io/combo-list.schema.json", Dn = "combo-list", jn = "A Farris Input Component", Ln = "object", $n = {
446
+ }, In = /* @__PURE__ */ new Map([
447
+ ["appearance", de]
448
+ ]), jn = "https://json-schema.org/draft/2020-12/schema", Dn = "https://farris-design.gitee.io/combo-list.schema.json", $n = "combo-list", Ln = "A Farris Input Component", Un = "object", _n = {
521
449
  id: {
522
450
  description: "The unique identifier for a combo list",
523
451
  type: "string"
@@ -628,22 +556,22 @@ const hn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-
628
556
  type: "sting",
629
557
  default: ""
630
558
  }
631
- }, Un = [
559
+ }, Rn = [
632
560
  "id",
633
561
  "type"
634
- ], Rn = {
635
- $schema: In,
636
- $id: On,
637
- title: Dn,
638
- description: jn,
639
- type: Ln,
640
- properties: $n,
641
- required: Un
562
+ ], Gn = {
563
+ $schema: jn,
564
+ $id: Dn,
565
+ title: $n,
566
+ description: Ln,
567
+ type: Un,
568
+ properties: _n,
569
+ required: Rn
642
570
  };
643
- function _n(e, n, t) {
571
+ function Hn(e, n, t) {
644
572
  return n;
645
573
  }
646
- const Se = {
574
+ const Ce = {
647
575
  /**
648
576
  * 组件标识
649
577
  */
@@ -809,7 +737,7 @@ const Se = {
809
737
  },
810
738
  // 搜索启用高亮
811
739
  enableHighlightSearch: { type: Boolean, default: !0 }
812
- }, ze = ue(Se, Rn, Nn, _n), Hn = {
740
+ }, Ze = ce(Ce, Gn, In, Hn), qn = {
813
741
  dataSource: { type: Array, default: [] },
814
742
  enableSearch: { type: Boolean, default: !1 },
815
743
  idField: { type: String, default: "id" },
@@ -830,40 +758,40 @@ const Se = {
830
758
  },
831
759
  // 搜索启用高亮
832
760
  enableHighlightSearch: { type: Boolean, default: !0 }
833
- }, Gn = /* @__PURE__ */ q({
761
+ }, Wn = /* @__PURE__ */ q({
834
762
  name: "FComboListContainer",
835
- props: Hn,
763
+ props: qn,
836
764
  emits: ["selectionChange"],
837
765
  setup(e, n) {
838
- const t = y(), o = y(e.dataSource), r = y([]), a = y(e.separator), l = y(e.width), u = y(e.maxHeight), p = y(String(e.selectedValues).split(a.value));
766
+ const t = y(), r = y(e.dataSource), o = y([]), a = y(e.separator), l = y(e.width), u = y(e.maxHeight), c = y(String(e.selectedValues).split(a.value));
839
767
  N(e.dataSource, () => {
840
- o.value = e.dataSource;
768
+ r.value = e.dataSource;
841
769
  });
842
- const i = V(() => e.enableSearch ? "SearchBar" : "ContentHeader"), d = V(() => {
770
+ const i = x(() => e.enableSearch ? "SearchBar" : "ContentHeader"), p = x(() => {
843
771
  const s = {};
844
772
  return l.value !== void 0 && (s.width = `${l.value}px`), u.value !== void 0 && u.value > 0 && (s.maxHeight = `${u.value}px`), s;
845
773
  });
846
- function c(s) {
847
- r.value = s.map((v) => Object.assign({}, v)), p.value = s.map((v) => v[e.idField]), n.emit("selectionChange", r.value);
774
+ function d(s) {
775
+ o.value = s.map((v) => Object.assign({}, v)), c.value = s.map((v) => v[e.idField]), n.emit("selectionChange", o.value);
848
776
  }
849
777
  function f(s) {
850
778
  if (e.enableHighlightSearch)
851
779
  return;
852
780
  let v = [];
853
- typeof e.searchOption == "function" ? v = o.value.filter((h) => e.searchOption(s, h)) : v = o.value.filter((h) => h[e.valueField].indexOf(s) > -1 || h[e.textField].indexOf(s) > -1), t.value.updateDataSource(v);
781
+ typeof e.searchOption == "function" ? v = r.value.filter((h) => e.searchOption(s, h)) : v = r.value.filter((h) => h[e.valueField].indexOf(s) > -1 || h[e.textField].indexOf(s) > -1), t.value.updateDataSource(v);
854
782
  }
855
783
  return N([() => e.selectedValues], ([s]) => {
856
- p.value = s.split(a.value);
857
- }), () => S("div", {
784
+ c.value = s.split(a.value);
785
+ }), () => g("div", {
858
786
  class: "f-combo-list-container pl-3",
859
- style: d.value
860
- }, [S(nn, {
787
+ style: p.value
788
+ }, [g(on, {
861
789
  ref: t,
862
790
  size: "small",
863
791
  itemClass: "f-combo-list-item",
864
792
  header: i.value,
865
793
  headerClass: "f-combo-list-search-box",
866
- data: o.value,
794
+ data: r.value,
867
795
  idField: e.idField,
868
796
  textField: e.textField,
869
797
  titleField: e.titleField,
@@ -877,130 +805,130 @@ const Se = {
877
805
  showSelection: !0
878
806
  },
879
807
  enableHighlightSearch: e.enableHighlightSearch,
880
- selectionValues: p.value,
881
- onSelectionChange: c,
808
+ selectionValues: c.value,
809
+ onSelectionChange: d,
882
810
  onAfterSearch: f
883
811
  }, null)]);
884
812
  }
885
813
  });
886
- function qn(e) {
887
- const n = y(""), t = y(e.modelValue), o = y(e.data || []), r = y(e.editable);
888
- function a(c) {
889
- const f = String(c).split(e.separator).map((v) => [v, !0]), s = new Map(f);
890
- return o.value.filter((v) => s.has(String(v[e.valueField])));
814
+ function zn(e) {
815
+ const n = y(""), t = y(e.modelValue), r = y(e.data || []), o = y(e.editable);
816
+ function a(d) {
817
+ const f = String(d).split(e.separator).map((v) => [v, !0]), s = new Map(f);
818
+ return r.value.filter((v) => s.has(String(v[e.valueField])));
891
819
  }
892
- function l(c) {
893
- const f = a(c).map((s) => s[e.textField]).join(e.separator);
894
- n.value = r.value ? f || c : f;
820
+ function l(d) {
821
+ const f = a(d).map((s) => s[e.textField]).join(e.separator);
822
+ n.value = o.value ? f || d : f;
895
823
  }
896
- function u(c) {
897
- const f = c.split(e.separator).map((v) => [v, !0]), s = new Map(f);
898
- return o.value.filter((v) => s.has(v[e.textField]));
824
+ function u(d) {
825
+ const f = d.split(e.separator).map((v) => [v, !0]), s = new Map(f);
826
+ return r.value.filter((v) => s.has(v[e.textField]));
899
827
  }
900
- function p(c) {
828
+ function c(d) {
901
829
  const f = {};
902
- return f[e.idField] = c, f[e.textField] = c, [f];
830
+ return f[e.idField] = d, f[e.textField] = d, [f];
903
831
  }
904
- function i(c) {
905
- let f = u(c);
832
+ function i(d) {
833
+ let f = u(d);
906
834
  const s = f && f.length > 0;
907
- return r.value && !s && (f = p(c)), f;
835
+ return o.value && !s && (f = c(d)), f;
908
836
  }
909
- function d() {
910
- const { url: c, method: f = "GET", headers: s = {}, body: v = null } = e.remote, h = f.toLowerCase() == "get" ? { method: f, headers: s } : { method: f, headers: s, body: v };
911
- let C = !1;
912
- fetch(c, h).then((x) => {
837
+ function p() {
838
+ const { url: d, method: f = "GET", headers: s = {}, body: v = null } = e.remote, h = f.toLowerCase() == "get" ? { method: f, headers: s } : { method: f, headers: s, body: v };
839
+ let S = !1;
840
+ fetch(d, h).then((C) => {
913
841
  var E, w;
914
- if (x.status === 200)
915
- return C = !!((w = (E = x.headers) == null ? void 0 : E.get("content-type")) != null && w.includes("application/json")), C ? x.text() : x.json();
916
- throw new Error(x.statusText);
917
- }).then((x) => {
918
- o.value = C ? JSON.parse(x) : x;
919
- }).catch((x) => {
920
- console.error(x);
842
+ if (C.status === 200)
843
+ return S = !!((w = (E = C.headers) == null ? void 0 : E.get("content-type")) != null && w.includes("application/json")), S ? C.text() : C.json();
844
+ throw new Error(C.statusText);
845
+ }).then((C) => {
846
+ r.value = S ? JSON.parse(C) : C;
847
+ }).catch((C) => {
848
+ console.error(C);
921
849
  });
922
850
  }
923
- return e.remote && d(), N(() => e.data, () => {
924
- o.value = e.data;
925
- }), N([o], ([c]) => {
851
+ return e.remote && p(), N(() => e.data, () => {
852
+ r.value = e.data;
853
+ }), N([r], ([d]) => {
926
854
  if (e.modelValue) {
927
- const f = c.find((s) => s[e.valueField] === e.modelValue);
855
+ const f = d.find((s) => s[e.valueField] === e.modelValue);
928
856
  f && (n.value = f[e.textField]);
929
857
  }
930
- }), N(() => e.modelValue, (c) => {
931
- t.value = c, l(c);
932
- }), l(e.modelValue), { dataSource: o, displayText: n, editable: r, modelValue: t, getItemsByDisplayText: u, getItemsByValue: a, getSelectedItemsByDisplayText: i };
858
+ }), N(() => e.modelValue, (d) => {
859
+ t.value = d, l(d);
860
+ }), l(e.modelValue), { dataSource: r, displayText: n, editable: o, modelValue: t, getItemsByDisplayText: u, getItemsByValue: a, getSelectedItemsByDisplayText: i };
933
861
  }
934
- const H = /* @__PURE__ */ q({
862
+ const G = /* @__PURE__ */ q({
935
863
  name: "FComboList",
936
- props: Se,
864
+ props: Ce,
937
865
  emits: ["clear", "update:modelValue", "change", "input"],
938
866
  setup(e, n) {
939
- const t = y(), o = y(e.disabled), r = y(e.enableClear), a = y(e.enableSearch), l = y(e.readonly), {
867
+ const t = y(), r = y(e.disabled), o = y(e.enableClear), a = y(e.enableSearch), l = y(e.readonly), {
940
868
  dataSource: u,
941
- displayText: p,
869
+ displayText: c,
942
870
  editable: i,
943
- modelValue: d,
944
- getSelectedItemsByDisplayText: c
945
- } = qn(e), f = V(() => e.multiSelect), s = V(() => t.value ? t.value.elementRef.getBoundingClientRect().width : 0);
871
+ modelValue: p,
872
+ getSelectedItemsByDisplayText: d
873
+ } = zn(e), f = x(() => e.multiSelect), s = x(() => t.value ? t.value.elementRef.getBoundingClientRect().width : 0);
946
874
  function v() {
947
875
  !f.value && t.value && t.value.hidePopup();
948
876
  }
949
877
  function h(B) {
950
- p.value = B.map((b) => b[e.textField]).join(e.separator), B.length === 1 ? d.value = B[0][e.valueField] : d.value = B.map((b) => b[e.valueField]).join(e.separator), n.emit("update:modelValue", d.value), n.emit("change", B, d.value), v();
878
+ c.value = B.map((b) => b[e.textField]).join(e.separator), B.length === 1 ? p.value = B[0][e.valueField] : p.value = B.map((b) => b[e.valueField]).join(e.separator), n.emit("update:modelValue", p.value), n.emit("change", B, p.value), v();
951
879
  }
952
- function C() {
880
+ function S() {
953
881
  l.value || t.value.togglePopup();
954
882
  }
955
- function x(B) {
956
- d.value = "", n.emit("update:modelValue", ""), n.emit("clear");
883
+ function C(B) {
884
+ p.value = "", n.emit("update:modelValue", ""), n.emit("clear");
957
885
  }
958
886
  function A(B) {
959
- const b = c(B);
887
+ const b = d(B);
960
888
  h(b);
961
889
  }
962
890
  function E() {
963
- return p.value;
891
+ return c.value;
964
892
  }
965
893
  function w(B) {
966
894
  n.emit("input", B);
967
895
  }
968
896
  return n.expose({
969
897
  getDisplayText: E
970
- }), N([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([B, b, T, P, $]) => {
971
- o.value = B, i.value = b, r.value = T, a.value = P, l.value = $;
972
- }), () => S(_e, {
898
+ }), N([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([B, b, T, k, L]) => {
899
+ r.value = B, i.value = b, o.value = T, a.value = k, l.value = L;
900
+ }), () => g(qe, {
973
901
  ref: t,
974
902
  id: e.id,
975
- disable: o.value,
903
+ disable: r.value,
976
904
  readonly: l.value,
977
905
  forcePlaceholder: e.forcePlaceholder,
978
906
  editable: i.value,
979
907
  buttonContent: e.dropDownIcon,
980
908
  placeholder: e.placeholder,
981
- enableClear: r.value,
909
+ enableClear: o.value,
982
910
  maxLength: e.maxLength,
983
911
  tabIndex: e.tabIndex,
984
912
  enableTitle: e.enableTitle,
985
913
  multiSelect: e.multiSelect,
986
914
  inputType: e.multiSelect ? e.viewType : "text",
987
- modelValue: p.value,
988
- "onUpdate:modelValue": (B) => p.value = B,
915
+ modelValue: c.value,
916
+ "onUpdate:modelValue": (B) => c.value = B,
989
917
  focusOnCreated: e.focusOnCreated,
990
918
  selectOnCreated: e.selectOnCreated,
991
- onClear: x,
992
- onClick: C,
919
+ onClear: C,
920
+ onClick: S,
993
921
  onChange: A,
994
922
  onInput: w,
995
923
  beforeOpen: e.beforeOpen
996
924
  }, {
997
- default: () => [S(Gn, {
925
+ default: () => [g(Wn, {
998
926
  idField: e.idField,
999
927
  valueField: e.valueField,
1000
928
  textField: e.textField,
1001
929
  titleField: e.titleField,
1002
930
  dataSource: u.value,
1003
- selectedValues: d.value,
931
+ selectedValues: p.value,
1004
932
  multiSelect: e.multiSelect,
1005
933
  enableSearch: a.value,
1006
934
  maxHeight: e.maxHeight,
@@ -1011,10 +939,10 @@ const H = /* @__PURE__ */ q({
1011
939
  });
1012
940
  }
1013
941
  });
1014
- function Ce(e, n) {
942
+ function xe(e, n) {
1015
943
  e.schema;
1016
- const t = y(!0), o = y(!0);
1017
- function r(c) {
944
+ const t = y(!0), r = y(!0);
945
+ function o(d) {
1018
946
  return !1;
1019
947
  }
1020
948
  function a() {
@@ -1026,129 +954,191 @@ function Ce(e, n) {
1026
954
  function u() {
1027
955
  return !0;
1028
956
  }
1029
- function p(c) {
957
+ function c(d) {
1030
958
  }
1031
959
  function i() {
1032
960
  }
1033
- function d(c) {
961
+ function p(d) {
1034
962
  return null;
1035
963
  }
1036
964
  return {
1037
- canAccepts: r,
965
+ canAccepts: o,
1038
966
  checkCanDeleteComponent: a,
1039
967
  checkCanMoveComponent: l,
1040
968
  hideNestedPaddingInDesginerView: u,
1041
- onAcceptMovedChildElement: p,
969
+ onAcceptMovedChildElement: c,
1042
970
  resolveComponentContext: i,
1043
971
  triggerBelongedComponentToMoveWhenMoved: t,
1044
- triggerBelongedComponentToDeleteWhenDeleted: o,
1045
- getPropsConfig: d
972
+ triggerBelongedComponentToDeleteWhenDeleted: r,
973
+ getPropsConfig: p
1046
974
  };
1047
975
  }
1048
- class We {
976
+ class Yn {
977
+ constructor(n, t) {
978
+ D(this, "componentId");
979
+ D(this, "viewModelId");
980
+ D(this, "eventsEditorUtils");
981
+ D(this, "formSchemaUtils");
982
+ D(this, "formMetadataConverter");
983
+ D(this, "designViewModelUtils");
984
+ D(this, "designViewModelField");
985
+ D(this, "controlCreatorUtils");
986
+ D(this, "designerHostService");
987
+ D(this, "schemaService", null);
988
+ D(this, "metadataService", null);
989
+ D(this, "propertyConfig", {
990
+ type: "object",
991
+ categories: {}
992
+ });
993
+ var r;
994
+ this.componentId = n, this.designerHostService = t, this.eventsEditorUtils = t.eventsEditorUtils, this.formSchemaUtils = t.formSchemaUtils, this.formMetadataConverter = t.formMetadataConverter, this.viewModelId = ((r = this.formSchemaUtils) == null ? void 0 : r.getViewModelIdByComponentId(n)) || "", this.designViewModelUtils = t.designViewModelUtils, this.controlCreatorUtils = t.controlCreatorUtils, this.metadataService = t.metadataService, this.schemaService = t.schemaService;
995
+ }
996
+ getTableInfo() {
997
+ var n;
998
+ return (n = this.schemaService) == null ? void 0 : n.getTableInfoByViewModelId(this.viewModelId);
999
+ }
1000
+ setDesignViewModelField(n) {
1001
+ const t = n.binding && n.binding.type === "Form" && n.binding.field;
1002
+ if (t) {
1003
+ if (!this.designViewModelField) {
1004
+ const r = this.designViewModelUtils.getDgViewModel(this.viewModelId);
1005
+ this.designViewModelField = r.fields.find((o) => o.id === t);
1006
+ }
1007
+ n.updateOn = this.designViewModelField.updateOn;
1008
+ }
1009
+ }
1010
+ changeFieldEditorType(n, t) {
1011
+ }
1012
+ getBasicPropConfig(n) {
1013
+ return {
1014
+ description: "Basic Information",
1015
+ title: "基本信息",
1016
+ properties: {
1017
+ id: {
1018
+ description: "组件标识",
1019
+ title: "标识",
1020
+ type: "string",
1021
+ readonly: !0
1022
+ },
1023
+ type: {
1024
+ description: "组件类型",
1025
+ title: "控件类型",
1026
+ type: "select",
1027
+ editor: {
1028
+ type: "combo-list",
1029
+ textField: "name",
1030
+ valueField: "value",
1031
+ data: [{ value: n.type, name: V[n.type].name }]
1032
+ }
1033
+ }
1034
+ }
1035
+ };
1036
+ }
1037
+ getAppearanceConfig(n = null) {
1038
+ return {
1039
+ title: "样式",
1040
+ description: "Appearance",
1041
+ properties: {
1042
+ class: {
1043
+ title: "class样式",
1044
+ type: "string",
1045
+ description: "组件的CSS样式",
1046
+ $converter: "/converter/appearance.converter"
1047
+ },
1048
+ style: {
1049
+ title: "style样式",
1050
+ type: "string",
1051
+ description: "组件的样式",
1052
+ $converter: "/converter/appearance.converter"
1053
+ }
1054
+ }
1055
+ };
1056
+ }
1057
+ }
1058
+ const Z = class Z {
1059
+ /**
1060
+ * 根据绑定字段类型获取可用的输入类控件
1061
+ */
1049
1062
  static getEditorTypesByMDataType(n) {
1050
- const t = this.fieldControlTypeMapping[n];
1063
+ const t = Z.fieldControlTypeMapping[n];
1051
1064
  return t || [{ key: "", value: "" }];
1052
1065
  }
1053
- }
1066
+ /**
1067
+ * 获取所有输入类控件
1068
+ */
1069
+ static getAllInputTypes() {
1070
+ const n = [];
1071
+ for (let t in Z.fieldControlTypeMapping)
1072
+ Z.fieldControlTypeMapping[t].forEach((r) => {
1073
+ n.find((o) => o.key === r.key && o.value === r.value) || n.push({ key: r.key, value: r.value });
1074
+ });
1075
+ return n;
1076
+ }
1077
+ };
1054
1078
  /**
1055
1079
  * <字段类型,可配置的控件类型列表>的映射
1056
1080
  */
1057
- j(We, "fieldControlTypeMapping", {
1081
+ D(Z, "fieldControlTypeMapping", {
1058
1082
  String: [
1059
- { key: g["input-group"].type, value: g["input-group"].name },
1060
- { key: g.lookup.type, value: g.lookup.name },
1061
- { key: g.Image.type, value: g.Image.name },
1062
- { key: g["date-picker"].type, value: g["date-picker"].name },
1063
- { key: g["check-box"].type, value: g["check-box"].name },
1064
- { key: g["radio-group"].type, value: g["radio-group"].name },
1065
- { key: g["combo-list"].type, value: g["combo-list"].name },
1066
- { key: g.textarea.type, value: g.textarea.name }
1067
- // { key: DgControl.Tags.type, value: DgControl.Tags.name },
1083
+ { key: V["input-group"].type, value: V["input-group"].name },
1084
+ { key: V.lookup.type, value: V.lookup.name },
1085
+ { key: V["date-picker"].type, value: V["date-picker"].name },
1086
+ { key: V["check-box"].type, value: V["check-box"].name },
1087
+ { key: V["radio-group"].type, value: V["radio-group"].name },
1088
+ { key: V["combo-list"].type, value: V["combo-list"].name },
1089
+ { key: V.textarea.type, value: V.textarea.name }
1068
1090
  ],
1069
1091
  Text: [
1070
- { key: g.textarea.type, value: g.textarea.name },
1071
- { key: g.avatar.type, value: g.avatar.name },
1072
- { key: g.lookup.type, value: g.lookup.name }
1092
+ { key: V.textarea.type, value: V.textarea.name },
1093
+ { key: V.lookup.type, value: V.lookup.name }
1073
1094
  ],
1074
1095
  Decimal: [
1075
- { key: g["number-spinner"].type, value: g["number-spinner"].name }
1096
+ { key: V["number-spinner"].type, value: V["number-spinner"].name }
1076
1097
  ],
1077
1098
  Integer: [
1078
- { key: g["number-spinner"].type, value: g["number-spinner"].name }
1099
+ { key: V["number-spinner"].type, value: V["number-spinner"].name }
1079
1100
  ],
1080
1101
  Number: [
1081
- { key: g["number-spinner"].type, value: g["number-spinner"].name }
1102
+ { key: V["number-spinner"].type, value: V["number-spinner"].name }
1082
1103
  ],
1083
1104
  BigNumber: [
1084
- { key: g["number-spinner"].type, value: g["number-spinner"].name }
1105
+ { key: V["number-spinner"].type, value: V["number-spinner"].name }
1085
1106
  ],
1086
1107
  Date: [
1087
- { key: g["date-picker"].type, value: g["date-picker"].name }
1108
+ { key: V["date-picker"].type, value: V["date-picker"].name }
1088
1109
  ],
1089
1110
  DateTime: [
1090
- { key: g["date-picker"].type, value: g["date-picker"].name }
1111
+ { key: V["date-picker"].type, value: V["date-picker"].name }
1091
1112
  ],
1092
1113
  Boolean: [
1093
- { key: g.switch.type, value: g.switch.name },
1094
- { key: g["check-box"].type, value: g["check-box"].name }
1114
+ { key: V.switch.type, value: V.switch.name },
1115
+ { key: V["check-box"].type, value: V["check-box"].name }
1095
1116
  ],
1096
1117
  Enum: [
1097
- { key: g["combo-list"].type, value: g["combo-list"].name },
1098
- { key: g["radio-group"].type, value: g["radio-group"].name }
1118
+ { key: V["combo-list"].type, value: V["combo-list"].name },
1119
+ { key: V["radio-group"].type, value: V["radio-group"].name }
1099
1120
  ],
1100
1121
  Object: [
1101
- { key: g.lookup.type, value: g.lookup.name },
1102
- { key: g["combo-list"].type, value: g["combo-list"].name },
1103
- { key: g["radio-group"].type, value: g["radio-group"].name }
1104
- ],
1105
- EmployeeSelector: [
1106
- { key: g.EmployeeSelector.type, value: g.EmployeeSelector.name }
1107
- ],
1108
- AdminOrganizationSelector: [
1109
- { key: g.AdminOrganizationSelector.type, value: g.AdminOrganizationSelector.name }
1122
+ { key: V.lookup.type, value: V.lookup.name },
1123
+ { key: V["combo-list"].type, value: V["combo-list"].name },
1124
+ { key: V["radio-group"].type, value: V["radio-group"].name }
1110
1125
  ]
1111
1126
  });
1112
- class zn {
1127
+ let ie = Z;
1128
+ const Zn = y(0);
1129
+ class Ve extends Yn {
1113
1130
  constructor(n, t) {
1114
- j(this, "componentId");
1115
- j(this, "viewModelId");
1116
- j(this, "eventsEditorUtils");
1117
- j(this, "formSchemaUtils");
1118
- j(this, "formMetadataConverter");
1119
- j(this, "designViewModelUtils");
1120
- j(this, "designViewModelField");
1121
- j(this, "controlCreatorUtils");
1122
- j(this, "designerHostService");
1123
- j(this, "schemaService", null);
1124
- j(this, "metadataService", null);
1125
- j(this, "propertyConfig", {
1126
- type: "object",
1127
- categories: {}
1128
- });
1129
- var o;
1130
- this.componentId = n, this.designerHostService = t, this.eventsEditorUtils = t.eventsEditorUtils, this.formSchemaUtils = t.formSchemaUtils, this.formMetadataConverter = t.formMetadataConverter, this.viewModelId = ((o = this.formSchemaUtils) == null ? void 0 : o.getViewModelIdByComponentId(n)) || "", this.designViewModelUtils = t.designViewModelUtils, this.controlCreatorUtils = t.controlCreatorUtils, this.metadataService = t.metadataService, this.schemaService = t.schemaService;
1131
- }
1132
- getTableInfo() {
1133
- var n;
1134
- return (n = this.schemaService) == null ? void 0 : n.getTableInfoByViewModelId(this.viewModelId);
1135
- }
1136
- setDesignViewModelField(n) {
1137
- const t = n.binding && n.binding.type === "Form" && n.binding.field;
1138
- if (t) {
1139
- if (!this.designViewModelField) {
1140
- const o = this.designViewModelUtils.getDgViewModel(this.viewModelId);
1141
- this.designViewModelField = o.fields.find((r) => r.id === t);
1142
- }
1143
- n.updateOn = this.designViewModelField.updateOn;
1144
- }
1131
+ super(n, t);
1145
1132
  }
1146
- changeFieldEditorType(n, t) {
1133
+ getPropertyConfig(n, t) {
1134
+ return this.propertyConfig.categories.basic = this.getBasicProperties(n, t), this.propertyConfig.categories.appearance = this.getAppearanceProperties(n), this.propertyConfig.categories.editor = this.getEditorProperties(n), this.propertyConfig;
1147
1135
  }
1148
- getBasicPropConfig(n) {
1149
- var o, r;
1150
- var t = this;
1151
- return this.setDesignViewModelField(n), {
1136
+ getBasicProperties(n, t) {
1137
+ var l;
1138
+ var r = this;
1139
+ this.setDesignViewModelField(n);
1140
+ const o = this.formSchemaUtils.getFormMetadataBasicInfo(), a = this.designViewModelUtils.getAllFields2TreeByVMId(this.viewModelId);
1141
+ return {
1152
1142
  description: "Basic Information",
1153
1143
  title: "基本信息",
1154
1144
  properties: {
@@ -1168,63 +1158,48 @@ class zn {
1168
1158
  type: "combo-list",
1169
1159
  textField: "value",
1170
1160
  valueField: "key",
1171
- data: We.getEditorTypesByMDataType(((r = (o = t.designViewModelField) == null ? void 0 : o.type) == null ? void 0 : r.name) || ""),
1172
- editable: !1
1161
+ editable: !1,
1162
+ data: r.designViewModelField ? ie.getEditorTypesByMDataType((l = r.designViewModelField.type) == null ? void 0 : l.name) : ie.getAllInputTypes()
1173
1163
  }
1174
1164
  },
1175
1165
  label: {
1176
1166
  title: "标签",
1177
1167
  type: "string",
1178
1168
  $converter: "/converter/form-group-label.converter"
1169
+ },
1170
+ binding: {
1171
+ description: "绑定的表单字段",
1172
+ title: "绑定",
1173
+ $converter: "/converter/field-selector.converter",
1174
+ editor: {
1175
+ type: "field-selector",
1176
+ bindingType: { enable: !1 },
1177
+ editorParams: {
1178
+ propertyData: n,
1179
+ formBasicInfo: o
1180
+ },
1181
+ columns: [
1182
+ { field: "name", title: "字段名称" },
1183
+ { field: "bindingField", title: "绑定字段" },
1184
+ { field: "fieldType", title: "字段类型" }
1185
+ ],
1186
+ textField: "bindingField",
1187
+ data: a
1188
+ }
1179
1189
  }
1180
1190
  },
1181
- setPropertyRelates(a, l) {
1182
- if (a)
1183
- switch (a && a.propertyID) {
1191
+ setPropertyRelates(u, c) {
1192
+ if (u)
1193
+ switch (u && u.propertyID) {
1184
1194
  case "type": {
1185
- t.changeControlType(n, a);
1195
+ r.changeControlType(n, u, t);
1186
1196
  break;
1187
1197
  }
1188
1198
  }
1189
1199
  }
1190
1200
  };
1191
1201
  }
1192
- /**
1193
- * 卡片控件:切换控件类型后事件
1194
- * @param propertyData 控件DOM属性
1195
- * @param newControlType 新控件类型
1196
- */
1197
- changeControlType(n, t) {
1198
- var i, d, c, f, s;
1199
- const o = t.propertyValue, r = this.formSchemaUtils.getComponentById(this.componentId);
1200
- let a = this.getControlParentContainer(n.id, r);
1201
- if (!a)
1202
- return;
1203
- const l = a.contents.findIndex((v) => v.id === n.id), u = a.contents[l];
1204
- let p;
1205
- this.designViewModelField && (this.designViewModelUtils.getDgViewModel(this.viewModelId).changeField(this.designViewModelField.id, {
1206
- editor: {
1207
- $type: o
1208
- },
1209
- name: this.designViewModelField.name,
1210
- require: this.designViewModelField.require,
1211
- readonly: this.designViewModelField.readonly
1212
- }, !1), p = this.controlCreatorUtils.setFormFieldProperty("Form", this.designViewModelField, null, o)), Object.assign(p, {
1213
- id: u.id,
1214
- appearance: u.appearance,
1215
- size: u.size,
1216
- label: u.label
1217
- }), Object.assign(p.editor, {
1218
- isTextArea: p.isTextArea && u.isTextArea,
1219
- type: o || "",
1220
- placeHolder: (i = u.editor) == null ? void 0 : i.placeHolder,
1221
- holdPlace: (d = u.editor) == null ? void 0 : d.holdPlace,
1222
- readonly: (c = u.editor) == null ? void 0 : c.readonly,
1223
- require: (f = u.editor) == null ? void 0 : f.require,
1224
- visible: (s = u.editor) == null ? void 0 : s.visible
1225
- }), a.contents.splice(l, 1, p);
1226
- }
1227
- getAppearanceConfig(n = null) {
1202
+ getAppearanceProperties(n) {
1228
1203
  return {
1229
1204
  title: "样式",
1230
1205
  description: "Appearance",
@@ -1254,68 +1229,47 @@ class zn {
1254
1229
  }
1255
1230
  };
1256
1231
  }
1257
- /**
1258
- * 获取控件:以contents为节点进行定位
1259
- * @param controlId 控件ID
1260
- * @param domJson 容器
1261
- */
1262
- getControlParentContainer(n, t) {
1263
- let o;
1264
- if (!t || !t.contents || t.contents.length === 0)
1265
- return null;
1266
- for (const r of t.contents) {
1267
- if (r.id === n)
1268
- return o = t, t;
1269
- if (o = this.getControlParentContainer(n, r), o)
1270
- return o;
1271
- }
1272
- }
1273
- }
1274
- class we extends zn {
1275
- constructor(n, t) {
1276
- super(n, t);
1277
- }
1278
- getBasicProperties(n) {
1279
- let t = this.getBasicPropConfig(n);
1280
- return t.properties.binding = this.getFieldSelectorOptions(n), t;
1281
- }
1282
- getAppearanceProperties(n) {
1283
- return this.getAppearanceConfig(n);
1284
- }
1285
1232
  getEditorProperties(n) {
1286
1233
  return this.getComponentConfig(n);
1287
1234
  }
1288
- getPropertyConfig(n) {
1289
- return this.propertyConfig.categories.basic = this.getBasicProperties(n), this.propertyConfig.categories.appearance = this.getAppearanceProperties(n), this.propertyConfig.categories.editor = this.getEditorProperties(n), this.propertyConfig;
1290
- }
1291
- getFieldSelectorOptions(n) {
1292
- const t = this.formSchemaUtils.getFormMetadataBasicInfo(), o = this.designViewModelUtils.getAllFields2TreeByVMId(this.viewModelId);
1293
- return {
1294
- description: "绑定的表单字段",
1295
- title: "绑定",
1296
- $converter: "/converter/field-selector.converter",
1235
+ /**
1236
+ * 卡片控件:切换控件类型后事件
1237
+ * @param propertyData 控件DOM属性
1238
+ * @param newControlType 新控件类型
1239
+ */
1240
+ changeControlType(n, t, r) {
1241
+ var i, p, d, f;
1242
+ const o = t.propertyValue, a = r && r.parent && r.parent.schema;
1243
+ if (!a)
1244
+ return;
1245
+ const l = a.contents.findIndex((s) => s.id === n.id), u = a.contents[l];
1246
+ let c;
1247
+ this.designViewModelField && (this.designViewModelUtils.getDgViewModel(this.viewModelId).changeField(this.designViewModelField.id, {
1297
1248
  editor: {
1298
- type: "field-selector",
1299
- bindingType: { enable: !1 },
1300
- editorParams: {
1301
- propertyData: n,
1302
- formBasicInfo: t
1303
- },
1304
- columns: [
1305
- { field: "name", title: "字段名称" },
1306
- { field: "bindingField", title: "绑定字段" },
1307
- { field: "fieldType", title: "字段类型" }
1308
- ],
1309
- textField: "bindingField",
1310
- data: o
1311
- }
1312
- };
1313
- }
1314
- getBindingOtions(n) {
1315
- return this.getFieldSelectorOptions(n);
1316
- }
1317
- getComponentConfig(n, t = {}, o = {}) {
1318
- const r = Object.assign({
1249
+ $type: o
1250
+ },
1251
+ name: this.designViewModelField.name,
1252
+ require: this.designViewModelField.require,
1253
+ readonly: this.designViewModelField.readonly
1254
+ }, !1), c = this.controlCreatorUtils.setFormFieldProperty(this.designViewModelField, o)), c || (c = $e("form-group") || {}, c.editor = $e(o) || {}, delete c.editor.id, delete c.editor.binding, delete c.editor.appearance), Object.assign(c, {
1255
+ id: u.id,
1256
+ appearance: u.appearance,
1257
+ size: u.size,
1258
+ label: u.label,
1259
+ binding: u.binding,
1260
+ visible: u.visible
1261
+ }), Object.assign(c.editor, {
1262
+ isTextArea: c.isTextArea && u.isTextArea,
1263
+ placeholder: (i = u.editor) == null ? void 0 : i.placeholder,
1264
+ holdPlace: (p = u.editor) == null ? void 0 : p.holdPlace,
1265
+ readonly: (d = u.editor) == null ? void 0 : d.readonly,
1266
+ require: (f = u.editor) == null ? void 0 : f.require
1267
+ }), a.contents.splice(l, 1), a.contents.splice(l, 0, c), r.schema = Object.assign(u, c), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach(
1268
+ (s) => s.classList.remove("dgComponentSelected")
1269
+ ), Zn.value++;
1270
+ }
1271
+ getComponentConfig(n, t = {}, r = {}) {
1272
+ const o = Object.assign({
1319
1273
  description: "组件信息",
1320
1274
  title: "组件信息",
1321
1275
  type: "input-group",
@@ -1341,11 +1295,11 @@ class we extends zn {
1341
1295
  title: "提示文本",
1342
1296
  type: "string"
1343
1297
  }
1344
- }, o);
1345
- return { ...r, properties: { ...a } };
1298
+ }, r);
1299
+ return { ...o, properties: { ...a } };
1346
1300
  }
1347
1301
  }
1348
- class Wn extends we {
1302
+ class Jn extends Ve {
1349
1303
  constructor(n, t) {
1350
1304
  super(n, t);
1351
1305
  }
@@ -1372,38 +1326,38 @@ class Wn extends we {
1372
1326
  function Qn(e, n) {
1373
1327
  const {
1374
1328
  canAccepts: t,
1375
- checkCanDeleteComponent: o,
1376
- checkCanMoveComponent: r,
1329
+ checkCanDeleteComponent: r,
1330
+ checkCanMoveComponent: o,
1377
1331
  hideNestedPaddingInDesginerView: a,
1378
1332
  onAcceptMovedChildElement: l,
1379
1333
  resolveComponentContext: u,
1380
- triggerBelongedComponentToMoveWhenMoved: p,
1334
+ triggerBelongedComponentToMoveWhenMoved: c,
1381
1335
  triggerBelongedComponentToDeleteWhenDeleted: i
1382
- } = Ce(e), d = e.schema;
1383
- function c(f) {
1384
- return new Wn(f, n).getPropertyConfig(d);
1336
+ } = xe(e), p = e.schema;
1337
+ function d(f, s) {
1338
+ return new Jn(f, n).getPropertyConfig(p, s);
1385
1339
  }
1386
1340
  return {
1387
1341
  canAccepts: t,
1388
- checkCanDeleteComponent: o,
1389
- checkCanMoveComponent: r,
1342
+ checkCanDeleteComponent: r,
1343
+ checkCanMoveComponent: o,
1390
1344
  hideNestedPaddingInDesginerView: a,
1391
1345
  onAcceptMovedChildElement: l,
1392
1346
  resolveComponentContext: u,
1393
- triggerBelongedComponentToMoveWhenMoved: p,
1347
+ triggerBelongedComponentToMoveWhenMoved: c,
1394
1348
  triggerBelongedComponentToDeleteWhenDeleted: i,
1395
- getPropsConfig: c
1349
+ getPropsConfig: d
1396
1350
  };
1397
1351
  }
1398
- const Yn = /* @__PURE__ */ q({
1352
+ const Xn = /* @__PURE__ */ q({
1399
1353
  name: "FComboListDesign",
1400
- props: Se,
1354
+ props: Ce,
1401
1355
  emits: ["clear", "update:modelValue", "change"],
1402
1356
  setup(e, n) {
1403
- const t = y(), o = Z("designer-host-service"), r = Z("design-item-context"), a = Qn(r, o), l = on(t, r, a);
1404
- return G(() => {
1357
+ const t = y(), r = Q("designer-host-service"), o = Q("design-item-context"), a = Qn(o, r), l = an(t, o, a);
1358
+ return H(() => {
1405
1359
  t.value.componentInstance = l;
1406
- }), n.expose(l.value), () => S(_e, {
1360
+ }), n.expose(l.value), () => g(qe, {
1407
1361
  ref: t,
1408
1362
  id: e.id,
1409
1363
  disable: e.disabled,
@@ -1420,26 +1374,26 @@ const Yn = /* @__PURE__ */ q({
1420
1374
  inputType: e.multiSelect ? "tag" : "text"
1421
1375
  }, null);
1422
1376
  }
1423
- }), xe = (e) => {
1377
+ }), Te = (e) => {
1424
1378
  const n = e;
1425
1379
  return n.install = function(t) {
1426
1380
  t.component(n.name, e);
1427
1381
  }, e;
1428
1382
  };
1429
- H.register = (e, n, t, o) => {
1430
- e["combo-list"] = H, n["combo-list"] = ze;
1383
+ G.register = (e, n, t, r) => {
1384
+ e["combo-list"] = G, n["combo-list"] = Ze;
1431
1385
  };
1432
- H.registerDesigner = (e, n, t) => {
1433
- e["combo-list"] = Yn, n["combo-list"] = ze;
1386
+ G.registerDesigner = (e, n, t) => {
1387
+ e["combo-list"] = Xn, n["combo-list"] = Ze;
1434
1388
  };
1435
- xe(H);
1436
- const Zn = /* @__PURE__ */ new Map([
1437
- ["appearance", se]
1389
+ Te(G);
1390
+ const Kn = /* @__PURE__ */ new Map([
1391
+ ["appearance", de]
1438
1392
  ]);
1439
- function Xn(e, n, t) {
1393
+ function er(e, n, t) {
1440
1394
  return n;
1441
1395
  }
1442
- const Kn = "https://json-schema.org/draft/2020-12/schema", Jn = "https://farris-design.gitee.io/input-group.schema.json", eo = "input-group", to = "A Farris Input Component", no = "object", oo = {
1396
+ const tr = "https://json-schema.org/draft/2020-12/schema", nr = "https://farris-design.gitee.io/input-group.schema.json", rr = "input-group", or = "A Farris Input Component", ar = "object", ir = {
1443
1397
  id: {
1444
1398
  description: "The unique identifier for a Input Group",
1445
1399
  type: "string"
@@ -1641,18 +1595,18 @@ const Kn = "https://json-schema.org/draft/2020-12/schema", Jn = "https://farris-
1641
1595
  type: "string",
1642
1596
  default: ""
1643
1597
  }
1644
- }, ro = [
1598
+ }, lr = [
1645
1599
  "id",
1646
1600
  "type"
1647
- ], ao = {
1648
- $schema: Kn,
1649
- $id: Jn,
1650
- title: eo,
1651
- description: to,
1652
- type: no,
1653
- properties: oo,
1654
- required: ro
1655
- }, Ve = {
1601
+ ], ur = {
1602
+ $schema: tr,
1603
+ $id: nr,
1604
+ title: rr,
1605
+ description: or,
1606
+ type: ar,
1607
+ properties: ir,
1608
+ required: lr
1609
+ }, Be = {
1656
1610
  /** 是否自动完成 */
1657
1611
  autocomplete: { Type: String, default: "off" },
1658
1612
  /** 自定义CLASS */
@@ -1718,35 +1672,35 @@ const Kn = "https://json-schema.org/draft/2020-12/schema", Jn = "https://farris-
1718
1672
  * - input: 输入时更新
1719
1673
  */
1720
1674
  updateOn: { type: String, default: "blur" }
1721
- }, Qe = ue(Ve, ao, Zn, Xn);
1722
- function io(e, n, t, o) {
1723
- const r = y(e.disabled), a = y(!1), l = y("text"), u = y(e.showBorder), p = y(e.textAlign), i = y(e.updateOn), d = V(() => e.editable || !e.readonly), c = V(() => e.editable && !e.disabled && !e.readonly), f = V(() => !e.disabled && a.value), s = V(() => t.value === "" || t.value === null || t.value === void 0), v = V(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), h = V(() => e.readonly || !e.editable), C = V(() => e.enableTitle ? t.value : ""), x = V(() => ({
1675
+ }, Je = ce(Be, ur, Kn, er);
1676
+ function sr(e, n, t, r) {
1677
+ const o = y(e.disabled), a = y(!1), l = y("text"), u = y(e.showBorder), c = y(e.textAlign), i = y(e.updateOn), p = x(() => e.editable || !e.readonly), d = x(() => e.editable && !e.disabled && !e.readonly), f = x(() => !e.disabled && a.value), s = x(() => t.value === "" || t.value === null || t.value === void 0), v = x(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), h = x(() => e.readonly || !e.editable), S = x(() => e.enableTitle ? t.value : ""), C = x(() => ({
1724
1678
  "form-control": !0,
1725
1679
  "f-utils-fill": !0,
1726
- "text-left": p.value === "left",
1727
- "text-center": p.value === "center",
1728
- "text-right": p.value === "right"
1729
- })), A = V(() => {
1680
+ "text-left": c.value === "left",
1681
+ "text-center": c.value === "center",
1682
+ "text-right": c.value === "right"
1683
+ })), A = x(() => {
1730
1684
  const M = {
1731
1685
  "f-cmp-inputgroup": !0,
1732
1686
  "input-group": !0,
1733
- "f-state-disable": r.value,
1734
- "f-state-editable": c.value,
1687
+ "f-state-disable": o.value,
1688
+ "f-state-editable": d.value,
1735
1689
  "f-state-readonly": h.value,
1736
1690
  "f-state-focus": f.value
1737
1691
  };
1738
- return (e.customClass || "").split(" ").reduce((ne, ce) => (ne[ce] = !0, ne), M), M;
1739
- }), E = V(() => u.value ? "" : "border-width : 0 ");
1740
- function w(M, D = !0) {
1741
- t.value = M, o.value !== M && (o.value = M), D && n.emit("change", M), n.emit("update:modelValue", M), n.emit("update:value", M);
1692
+ return (e.customClass || "").split(" ").reduce((re, pe) => (re[pe] = !0, re), M), M;
1693
+ }), E = x(() => u.value ? "" : "border-width : 0 ");
1694
+ function w(M, j = !0) {
1695
+ t.value = M, r.value !== M && (r.value = M), j && n.emit("change", M), n.emit("update:modelValue", M), n.emit("update:value", M);
1742
1696
  }
1743
1697
  N(
1744
1698
  () => e.modelValue,
1745
- (M, D) => {
1746
- M !== D && (t.value = M, o.value = M);
1699
+ (M, j) => {
1700
+ M !== j && (t.value = M, r.value = M);
1747
1701
  }
1748
- ), N(() => e.disabled, (M, D) => {
1749
- M !== D && (r.value = M);
1702
+ ), N(() => e.disabled, (M, j) => {
1703
+ M !== j && (o.value = M);
1750
1704
  });
1751
1705
  function B(M) {
1752
1706
  return a.value = !1, n.emit("blur", M), M.stopPropagation(), !1;
@@ -1755,33 +1709,33 @@ function io(e, n, t, o) {
1755
1709
  n.emit("click", M);
1756
1710
  }
1757
1711
  function T(M) {
1758
- e.disabled || (u.value && (a.value = !0), d.value && n.emit("focus", M));
1712
+ e.disabled || (u.value && (a.value = !0), p.value && n.emit("focus", M));
1759
1713
  }
1760
- function P(M) {
1714
+ function k(M) {
1761
1715
  n.emit("input", M.target.value);
1762
- const D = M.target.value;
1763
- o.value = D, i.value === "input" && (n.emit("update:modelValue", D), n.emit("update:value", D));
1716
+ const j = M.target.value;
1717
+ r.value = j, i.value === "input" && (n.emit("update:modelValue", j), n.emit("update:value", j));
1764
1718
  }
1765
- function $(M) {
1719
+ function L(M) {
1766
1720
  n.emit("keydown", M);
1767
1721
  }
1768
- function Q(M) {
1722
+ function Y(M) {
1769
1723
  n.emit("keyup", M);
1770
1724
  }
1771
- function R(M) {
1725
+ function _(M) {
1772
1726
  M.target.tagName !== "INPUT" && M.preventDefault(), M.stopPropagation();
1773
1727
  }
1774
1728
  function K(M) {
1775
1729
  if (i.value === "blur") {
1776
- const D = M.target.value;
1777
- M.stopPropagation(), w(D);
1730
+ const j = M.target.value;
1731
+ M.stopPropagation(), w(j);
1778
1732
  }
1779
1733
  }
1780
1734
  return {
1781
1735
  changeTextBoxValue: w,
1782
- disabled: r,
1783
- displayText: o,
1784
- editable: c,
1736
+ disabled: o,
1737
+ displayText: r,
1738
+ editable: d,
1785
1739
  hasFocused: f,
1786
1740
  inputGroupClass: A,
1787
1741
  inputType: l,
@@ -1791,43 +1745,43 @@ function io(e, n, t, o) {
1791
1745
  onBlur: B,
1792
1746
  onClick: b,
1793
1747
  onFocus: T,
1794
- onInput: P,
1795
- onKeydown: $,
1796
- onKeyup: Q,
1797
- onMousedown: R,
1748
+ onInput: k,
1749
+ onKeydown: L,
1750
+ onKeyup: Y,
1751
+ onMousedown: _,
1798
1752
  onTextBoxValueChange: K,
1799
1753
  placeholder: v,
1800
- textBoxClass: x,
1801
- textBoxTitle: C,
1754
+ textBoxClass: C,
1755
+ textBoxTitle: S,
1802
1756
  inputGroupStyle: E
1803
1757
  };
1804
1758
  }
1805
- function lo(e, n, t, o) {
1806
- const r = y(e.disabled), a = y(!1), l = y("text"), u = y(e.showBorder), p = y(e.textAlign);
1807
- V(() => e.editable || !e.readonly);
1808
- const i = V(() => e.editable && !e.disabled && !e.readonly), d = V(() => !e.disabled && a.value), c = V(() => t.value === "" || t.value === null || t.value === void 0), f = V(() => e.placeholder), s = V(() => e.readonly || !e.editable), v = V(() => e.enableTitle ? t.value : ""), h = V(() => ({
1759
+ function cr(e, n, t, r) {
1760
+ const o = y(e.disabled), a = y(!1), l = y("text"), u = y(e.showBorder), c = y(e.textAlign);
1761
+ x(() => e.editable || !e.readonly);
1762
+ const i = x(() => e.editable && !e.disabled && !e.readonly), p = x(() => !e.disabled && a.value), d = x(() => t.value === "" || t.value === null || t.value === void 0), f = x(() => e.placeholder), s = x(() => e.readonly || !e.editable), v = x(() => e.enableTitle ? t.value : ""), h = x(() => ({
1809
1763
  "form-control": !0,
1810
1764
  // 'f-utils-fill': true,
1811
- "text-left": p.value === "left",
1812
- "text-center": p.value === "center",
1813
- "text-right": p.value === "right"
1814
- })), C = V(() => ({
1765
+ "text-left": c.value === "left",
1766
+ "text-center": c.value === "center",
1767
+ "text-right": c.value === "right"
1768
+ })), S = x(() => ({
1815
1769
  "f-cmp-inputgroup": !0,
1816
1770
  "input-group": !0,
1817
1771
  "f-state-disable": !0,
1818
1772
  "f-state-editable": !1,
1819
1773
  "f-state-readonly": !0
1820
1774
  // 'f-state-focus': hasFocused.value
1821
- })), x = V(() => u.value ? "" : "border-width : 0 ");
1775
+ })), C = x(() => u.value ? "" : "border-width : 0 ");
1822
1776
  return {
1823
1777
  // changeTextBoxValue,
1824
- disabled: r,
1825
- displayText: o,
1778
+ disabled: o,
1779
+ displayText: r,
1826
1780
  editable: i,
1827
- hasFocused: d,
1828
- inputGroupClass: C,
1781
+ hasFocused: p,
1782
+ inputGroupClass: S,
1829
1783
  inputType: l,
1830
- isEmpty: c,
1784
+ isEmpty: d,
1831
1785
  modelValue: t,
1832
1786
  readonly: s,
1833
1787
  // onBlur,
@@ -1841,85 +1795,85 @@ function lo(e, n, t, o) {
1841
1795
  placeholder: f,
1842
1796
  textBoxClass: h,
1843
1797
  textBoxTitle: v,
1844
- inputGroupStyle: x
1798
+ inputGroupStyle: C
1845
1799
  };
1846
1800
  }
1847
- function Ye(e, n, t) {
1848
- const o = y(!1), r = V(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: a, displayText: l, hasFocused: u, isEmpty: p } = t;
1801
+ function Qe(e, n, t) {
1802
+ const r = y(!1), o = x(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: a, displayText: l, hasFocused: u, isEmpty: c } = t;
1849
1803
  function i(h) {
1850
- o.value = h;
1804
+ r.value = h;
1851
1805
  }
1852
1806
  N(l, () => {
1853
1807
  u != null && u.value ? i(!!(l != null && l.value)) : i(!1);
1854
1808
  });
1855
- const d = V(() => ({
1809
+ const p = x(() => ({
1856
1810
  "input-group-text": !0,
1857
1811
  "input-group-clear": !0
1858
- })), c = V(() => ({
1812
+ })), d = x(() => ({
1859
1813
  width: "24px",
1860
- display: o.value ? "flex" : "none"
1814
+ display: r.value ? "flex" : "none"
1861
1815
  }));
1862
1816
  function f(h) {
1863
- h.stopPropagation(), r.value && (a("", !0), i(!o.value), n.emit("clear"));
1817
+ h.stopPropagation(), o.value && (a("", !0), i(!r.value), n.emit("clear"));
1864
1818
  }
1865
1819
  function s(h) {
1866
- r.value && !p.value && i(!0);
1820
+ o.value && !c.value && i(!0);
1867
1821
  }
1868
1822
  function v(h) {
1869
- r.value && i(!1);
1823
+ o.value && i(!1);
1870
1824
  }
1871
- return { clearButtonClass: d, clearButtonStyle: c, hasShownClearButton: o, onClearValue: f, onMouseEnter: s, onMouseLeave: v, shouldShowClearButton: r };
1825
+ return { clearButtonClass: p, clearButtonStyle: d, hasShownClearButton: r, onClearValue: f, onMouseEnter: s, onMouseLeave: v, shouldShowClearButton: o };
1872
1826
  }
1873
- const uo = ["moz", "ms", "webkit"];
1874
- function so() {
1827
+ const dr = ["moz", "ms", "webkit"];
1828
+ function pr() {
1875
1829
  let e = 0;
1876
1830
  return (n) => {
1877
- const t = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (t - e)), r = setTimeout(() => {
1878
- n(t + o);
1879
- }, o);
1880
- return e = t + o, r;
1831
+ const t = (/* @__PURE__ */ new Date()).getTime(), r = Math.max(0, 16 - (t - e)), o = setTimeout(() => {
1832
+ n(t + r);
1833
+ }, r);
1834
+ return e = t + r, o;
1881
1835
  };
1882
1836
  }
1883
- function co() {
1837
+ function fr() {
1884
1838
  if (typeof window > "u")
1885
1839
  return () => 0;
1886
1840
  if (window.requestAnimationFrame)
1887
1841
  return window.requestAnimationFrame.bind(window);
1888
- const e = uo.filter((n) => `${n}RequestAnimationFrame` in window)[0];
1889
- return e ? window[`${e}RequestAnimationFrame`] : so();
1842
+ const e = dr.filter((n) => `${n}RequestAnimationFrame` in window)[0];
1843
+ return e ? window[`${e}RequestAnimationFrame`] : pr();
1890
1844
  }
1891
- co();
1892
- function Ze(e, n) {
1893
- const t = y(e.groupText), o = V(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), r = V(() => e.enableClear || !!e.groupText);
1894
- return { appendedButtonClass: V(() => ({
1845
+ fr();
1846
+ function Xe(e, n) {
1847
+ const t = y(e.groupText), r = x(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), o = x(() => e.enableClear || !!e.groupText);
1848
+ return { appendedButtonClass: x(() => ({
1895
1849
  "input-group-append": !0,
1896
- "append-force-show": o.value
1897
- })), appendedContent: t, shouldShowAppendedButton: r };
1850
+ "append-force-show": r.value
1851
+ })), appendedContent: t, shouldShowAppendedButton: o };
1898
1852
  }
1899
- function Xe(e, n, t, o) {
1900
- const { appendedContent: r } = o, a = y(e.enableViewPassword), l = V(() => e.type === "password"), u = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', p = '<span class="f-icon f-icon-eye"></span>', i = y(!1);
1853
+ function Ke(e, n, t, r) {
1854
+ const { appendedContent: o } = r, a = y(e.enableViewPassword), l = x(() => e.type === "password"), u = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', c = '<span class="f-icon f-icon-eye"></span>', i = y(!1);
1901
1855
  N(() => [e.readonly, e.disabled], ([f, s]) => {
1902
- l.value && (t.value = f || s ? "password" : t.value, r.value = f || s ? p : r.value);
1856
+ l.value && (t.value = f || s ? "password" : t.value, o.value = f || s ? c : o.value);
1903
1857
  });
1904
- function d() {
1905
- return i.value = !i.value, t.value = i.value ? "text" : "password", r.value = i.value ? u : p, !1;
1858
+ function p() {
1859
+ return i.value = !i.value, t.value = i.value ? "text" : "password", o.value = i.value ? u : c, !1;
1906
1860
  }
1907
- function c() {
1908
- t.value = l.value ? "password" : "text", r.value = l.value ? a.value ? p : "" : r.value;
1861
+ function d() {
1862
+ t.value = l.value ? "password" : "text", o.value = l.value ? a.value ? c : "" : o.value;
1909
1863
  }
1910
- return c(), { isPassword: l, onClickAppendedButton: d };
1864
+ return d(), { isPassword: l, onClickAppendedButton: p };
1911
1865
  }
1912
- function Ke(e, n, t) {
1913
- const o = y(), {
1914
- onBlurTextBox: r,
1866
+ function et(e, n, t) {
1867
+ const r = y(), {
1868
+ onBlurTextBox: o,
1915
1869
  onFocusTextBox: a,
1916
1870
  onInput: l,
1917
1871
  onKeyDown: u,
1918
- textBoxValue: p
1919
- } = t, i = V(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), d = V(() => ({
1872
+ textBoxValue: c
1873
+ } = t, i = x(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), p = x(() => ({
1920
1874
  "form-control": !0,
1921
1875
  "f-utils-fill": !0
1922
- })), c = V(() => ({
1876
+ })), d = x(() => ({
1923
1877
  "text-align": e.textAlign
1924
1878
  }));
1925
1879
  function f(h) {
@@ -1929,190 +1883,190 @@ function Ke(e, n, t) {
1929
1883
  e.selectOnCreated, e.focusOnCreated;
1930
1884
  }
1931
1885
  async function v(h) {
1932
- a(h), await Ie, s();
1886
+ a(h), await je, s();
1933
1887
  }
1934
- return G(async () => {
1935
- await Ie, s();
1936
- }), () => S("input", {
1937
- ref: o,
1938
- class: d.value,
1939
- style: c.value,
1888
+ return H(async () => {
1889
+ await je, s();
1890
+ }), () => g("input", {
1891
+ ref: r,
1892
+ class: p.value,
1893
+ style: d.value,
1940
1894
  type: "text",
1941
- value: p.value,
1895
+ value: c.value,
1942
1896
  disabled: e.disabled,
1943
1897
  readonly: e.readonly || !e.editable,
1944
1898
  placeholder: i.value,
1945
- onBlur: r,
1899
+ onBlur: o,
1946
1900
  onChange: f,
1947
1901
  onFocus: v,
1948
1902
  onInput: l,
1949
1903
  onKeydown: u
1950
1904
  }, null);
1951
1905
  }
1952
- function Te(e, n, t) {
1906
+ function Fe(e, n, t) {
1953
1907
  const {
1954
- canDownward: o,
1955
- canUpward: r,
1908
+ canDownward: r,
1909
+ canUpward: o,
1956
1910
  onClickDownButton: a,
1957
1911
  onClickUpButton: l
1958
- } = t, u = V(() => ({
1912
+ } = t, u = x(() => ({
1959
1913
  "input-group-append": !0,
1960
1914
  "btn-group": !0,
1961
1915
  "btn-group-number": !0
1962
- })), p = V(() => ({
1916
+ })), c = x(() => ({
1963
1917
  btn: !0,
1964
1918
  "btn-secondary": !0,
1965
1919
  "btn-number-flag": !0
1966
- })), i = V(() => ({
1967
- cursor: r() ? "pointer" : "not-allowed",
1968
- "margin-left": 0
1969
- })), d = V(() => ({
1920
+ })), i = x(() => ({
1970
1921
  cursor: o() ? "pointer" : "not-allowed",
1971
1922
  "margin-left": 0
1923
+ })), p = x(() => ({
1924
+ cursor: r() ? "pointer" : "not-allowed",
1925
+ "margin-left": 0
1972
1926
  }));
1973
- return () => S("div", {
1927
+ return () => g("div", {
1974
1928
  class: u.value
1975
- }, [S("button", {
1929
+ }, [g("button", {
1976
1930
  title: "upButton",
1977
- class: p.value,
1931
+ class: c.value,
1978
1932
  style: i.value,
1979
1933
  onClick: l,
1980
- disabled: !r()
1981
- }, [S("span", {
1934
+ disabled: !o()
1935
+ }, [g("span", {
1982
1936
  class: "f-icon f-icon-arrow-chevron-up number-arrow-chevron"
1983
- }, null)]), S("button", {
1937
+ }, null)]), g("button", {
1984
1938
  title: "downButton",
1985
- class: p.value,
1986
- style: d.value,
1939
+ class: c.value,
1940
+ style: p.value,
1987
1941
  onClick: a,
1988
- disabled: !o()
1989
- }, [S("span", {
1942
+ disabled: !r()
1943
+ }, [g("span", {
1990
1944
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
1991
1945
  }, null)])]);
1992
1946
  }
1993
- function po(e, n) {
1994
- const t = rn(e, n), o = an(e, n, t), r = ln(e, n, o, t), a = un(e, n, o, t, r), l = Te(e, n, r), {
1947
+ function vr(e, n) {
1948
+ const t = ln(e, n), r = un(e, n, t), o = sn(e, n, r, t), a = cn(e, n, r, t, o), l = Fe(e, n, o), {
1995
1949
  displayValue: u,
1996
- modelValue: p,
1950
+ modelValue: c,
1997
1951
  getRealValue: i
1998
- } = t, d = Ke(e, n, a), {
1999
- format: c
2000
- } = o, {
1952
+ } = t, p = et(e, n, a), {
1953
+ format: d
1954
+ } = r, {
2001
1955
  isFocus: f
2002
- } = a, s = V(() => !e.disabled && !e.readonly);
2003
- return G(() => {
1956
+ } = a, s = x(() => !e.disabled && !e.readonly);
1957
+ return H(() => {
2004
1958
  const v = i(e.modelValue);
2005
- u.value = c(v);
1959
+ u.value = d(v);
2006
1960
  }), N(() => [e.value], ([v]) => {
2007
1961
  const h = i(v);
2008
- p.value = h, u.value = c(h);
1962
+ c.value = h, u.value = d(h);
2009
1963
  }), N(() => [e.modelValue], ([v]) => {
2010
- v !== p.value && (p.value = v, !f.value && (u.value = c(i(v))));
1964
+ v !== c.value && (c.value = v, !f.value && (u.value = d(i(v))));
2011
1965
  }), N(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
2012
- u.value = c(p.value);
2013
- }), () => S("div", {
1966
+ u.value = d(c.value);
1967
+ }), () => g("div", {
2014
1968
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
2015
- }, [d(), s.value && l()]);
1969
+ }, [p(), s.value && l()]);
2016
1970
  }
2017
- function fo(e, n, t, o) {
2018
- const r = y(), a = y(e.autocomplete), l = y(e.enableTitle), {
1971
+ function yr(e, n, t, r) {
1972
+ const o = y(), a = y(e.autocomplete), l = y(e.enableTitle), {
2019
1973
  isPassword: u
2020
- } = t, p = y(e.minLength), i = y(e.maxLength), d = y(e.tabIndex), {
2021
- disabled: c,
1974
+ } = t, c = y(e.minLength), i = y(e.maxLength), p = y(e.tabIndex), {
1975
+ disabled: d,
2022
1976
  displayText: f,
2023
1977
  inputType: s,
2024
1978
  onBlur: v,
2025
1979
  onFocus: h,
2026
- onInput: C,
2027
- onClick: x,
1980
+ onInput: S,
1981
+ onClick: C,
2028
1982
  onKeydown: A,
2029
1983
  onKeyup: E,
2030
1984
  onMousedown: w,
2031
1985
  onTextBoxValueChange: B,
2032
1986
  readonly: b,
2033
1987
  placeholder: T,
2034
- textBoxClass: P,
2035
- textBoxTitle: $
2036
- } = o;
2037
- return G(() => {
1988
+ textBoxClass: k,
1989
+ textBoxTitle: L
1990
+ } = r;
1991
+ return H(() => {
2038
1992
  e.selectOnCreated, e.focusOnCreated;
2039
- }), () => S("input", {
2040
- ref: r,
1993
+ }), () => g("input", {
1994
+ ref: o,
2041
1995
  name: "input-group-value",
2042
1996
  autocomplete: a.value,
2043
- class: P.value,
2044
- disabled: c == null ? void 0 : c.value,
1997
+ class: k.value,
1998
+ disabled: d == null ? void 0 : d.value,
2045
1999
  maxlength: i.value,
2046
- minlength: p.value,
2000
+ minlength: c.value,
2047
2001
  placeholder: T.value,
2048
2002
  readonly: b == null ? void 0 : b.value,
2049
- tabindex: d.value,
2050
- title: l.value && !u.value ? $.value : "",
2003
+ tabindex: p.value,
2004
+ title: l.value && !u.value ? L.value : "",
2051
2005
  type: s.value,
2052
2006
  value: f == null ? void 0 : f.value,
2053
2007
  onBlur: v,
2054
- onClick: x,
2008
+ onClick: C,
2055
2009
  onChange: B,
2056
2010
  onFocus: h,
2057
- onInput: C,
2011
+ onInput: S,
2058
2012
  onKeydown: A,
2059
2013
  onKeyup: E,
2060
2014
  onMousedown: w
2061
2015
  }, null);
2062
2016
  }
2063
- function vo(e, n) {
2064
- const t = V(() => e.useExtendInfo && !!e.extendInfo), o = en({
2017
+ function mr(e, n) {
2018
+ const t = x(() => e.useExtendInfo && !!e.extendInfo), r = nn({
2065
2019
  content: e.extendInfo
2066
2020
  });
2067
- function r() {
2021
+ function o() {
2068
2022
  n.emit("updateExtendInfo");
2069
2023
  }
2070
- return () => t.value && ve(S("span", {
2024
+ return () => t.value && me(g("span", {
2071
2025
  class: "input-group-before-tips",
2072
- onMouseenter: r
2073
- }, [S("i", {
2026
+ onMouseenter: o
2027
+ }, [g("i", {
2074
2028
  class: "f-icon f-icon-info-circle"
2075
- }, null), S("b", {
2029
+ }, null), g("b", {
2076
2030
  class: "tips-arrow"
2077
- }, null)]), [[tn("tooltip"), o]]);
2031
+ }, null)]), [[rn("tooltip"), r]]);
2078
2032
  }
2079
- function Je(e, n, t, o, r) {
2033
+ function tt(e, n, t, r, o) {
2080
2034
  const {
2081
2035
  appendedButtonClass: a,
2082
2036
  appendedContent: l
2083
- } = t, u = V(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), p = V(() => l.value && !n.slots.groupTextTemplate), i = V(() => !!n.slots.groupTextTemplate), {
2084
- clearButtonClass: d,
2085
- clearButtonStyle: c,
2037
+ } = t, u = x(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), c = x(() => l.value && !n.slots.groupTextTemplate), i = x(() => !!n.slots.groupTextTemplate), {
2038
+ clearButtonClass: p,
2039
+ clearButtonStyle: d,
2086
2040
  onClearValue: f,
2087
2041
  shouldShowClearButton: s
2088
- } = o;
2042
+ } = r;
2089
2043
  function v() {
2090
- return S("span", {
2044
+ return g("span", {
2091
2045
  id: "clearIcon",
2092
- class: d.value,
2093
- style: c.value,
2046
+ class: p.value,
2047
+ style: d.value,
2094
2048
  onClick: (T) => f(T)
2095
- }, [S("i", {
2049
+ }, [g("i", {
2096
2050
  class: "f-icon modal_close"
2097
2051
  }, null)]);
2098
2052
  }
2099
2053
  function h(T) {
2100
2054
  n.emit("iconMouseEnter", T);
2101
2055
  }
2102
- function C(T) {
2056
+ function S(T) {
2103
2057
  n.emit("iconMouseLeave", T);
2104
2058
  }
2105
- function x(T) {
2059
+ function C(T) {
2106
2060
  u.value && n.emit("clickHandle", {
2107
2061
  originalEvent: T
2108
2062
  }), T.stopPropagation();
2109
2063
  }
2110
- const A = e.type === "password" ? r.onClickAppendedButton : x;
2064
+ const A = e.type === "password" ? o.onClickAppendedButton : C;
2111
2065
  function E() {
2112
- return S("span", {
2066
+ return g("span", {
2113
2067
  class: "input-group-text",
2114
2068
  onMouseenter: (T) => h(T),
2115
- onMouseleave: (T) => C(T),
2069
+ onMouseleave: (T) => S(T),
2116
2070
  innerHTML: l.value,
2117
2071
  onClick: (T) => A(T)
2118
2072
  }, null);
@@ -2121,106 +2075,106 @@ function Je(e, n, t, o, r) {
2121
2075
  return n.slots.groupTextTemplate && n.slots.groupTextTemplate();
2122
2076
  }
2123
2077
  function B() {
2124
- return p.value ? E : i.value ? w : "";
2078
+ return c.value ? E : i.value ? w : "";
2125
2079
  }
2126
2080
  const b = B();
2127
- return () => S("div", {
2081
+ return () => g("div", {
2128
2082
  class: a.value
2129
2083
  }, [s.value && v(), b && b()]);
2130
2084
  }
2131
- const J = /* @__PURE__ */ q({
2085
+ const ee = /* @__PURE__ */ q({
2132
2086
  name: "FInputGroup",
2133
- props: Ve,
2087
+ props: Be,
2134
2088
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
2135
2089
  setup(e, n) {
2136
- const t = y(e.modelValue), o = y(e.modelValue), r = io(e, n, t, o), {
2090
+ const t = y(e.modelValue), r = y(e.modelValue), o = sr(e, n, t, r), {
2137
2091
  inputGroupClass: a,
2138
2092
  inputType: l,
2139
2093
  inputGroupStyle: u
2140
- } = r, p = Ze(e), {
2094
+ } = o, c = Xe(e), {
2141
2095
  shouldShowAppendedButton: i
2142
- } = p, d = Ye(e, n, r), {
2143
- onMouseEnter: c,
2096
+ } = c, p = Qe(e, n, o), {
2097
+ onMouseEnter: d,
2144
2098
  onMouseLeave: f
2145
- } = d, s = Xe(e, n, l, p), v = po(e, n), h = fo(e, n, s, r), C = Je(e, n, p, d, s), x = vo(e, n), A = V(() => e.type === "number");
2099
+ } = p, s = Ke(e, n, l, c), v = vr(e, n), h = yr(e, n, s, o), S = tt(e, n, c, p, s), C = mr(e, n), A = x(() => e.type === "number");
2146
2100
  N(() => [e.value], ([w]) => {
2147
- t.value = w, o.value = w;
2101
+ t.value = w, r.value = w;
2148
2102
  }), N(() => [e.modelValue], ([w]) => {
2149
- t.value = w, o.value = w;
2150
- }), G(() => {
2151
- e.value && (t.value = e.value, o.value = e.value);
2103
+ t.value = w, r.value = w;
2104
+ }), H(() => {
2105
+ e.value && (t.value = e.value, r.value = e.value);
2152
2106
  });
2153
- const E = () => S(ye, null, [S("div", {
2107
+ const E = () => g(he, null, [g("div", {
2154
2108
  id: "inputGroup",
2155
2109
  class: a.value,
2156
2110
  style: u.value,
2157
- onMouseenter: c,
2111
+ onMouseenter: d,
2158
2112
  onMouseleave: f
2159
- }, [A.value ? v() : S(ye, null, [x(), h(), i.value && C()])])]);
2113
+ }, [A.value ? v() : g(he, null, [C(), h(), i.value && S()])])]);
2160
2114
  return () => E();
2161
2115
  }
2162
2116
  });
2163
- class yo extends we {
2117
+ class hr extends Ve {
2164
2118
  constructor(n, t) {
2165
2119
  super(n, t);
2166
2120
  }
2167
2121
  }
2168
- function mo(e, n) {
2122
+ function br(e, n) {
2169
2123
  const {
2170
2124
  canAccepts: t,
2171
- checkCanDeleteComponent: o,
2172
- checkCanMoveComponent: r,
2125
+ checkCanDeleteComponent: r,
2126
+ checkCanMoveComponent: o,
2173
2127
  hideNestedPaddingInDesginerView: a,
2174
2128
  onAcceptMovedChildElement: l,
2175
2129
  resolveComponentContext: u,
2176
- triggerBelongedComponentToMoveWhenMoved: p,
2130
+ triggerBelongedComponentToMoveWhenMoved: c,
2177
2131
  triggerBelongedComponentToDeleteWhenDeleted: i
2178
- } = Ce(e), d = e.schema;
2179
- function c(f) {
2180
- return new yo(f, n).getPropertyConfig(d);
2132
+ } = xe(e), p = e.schema;
2133
+ function d(f, s) {
2134
+ return new hr(f, n).getPropertyConfig(p, s);
2181
2135
  }
2182
2136
  return {
2183
2137
  canAccepts: t,
2184
- checkCanDeleteComponent: o,
2185
- checkCanMoveComponent: r,
2138
+ checkCanDeleteComponent: r,
2139
+ checkCanMoveComponent: o,
2186
2140
  hideNestedPaddingInDesginerView: a,
2187
2141
  onAcceptMovedChildElement: l,
2188
2142
  resolveComponentContext: u,
2189
- triggerBelongedComponentToMoveWhenMoved: p,
2143
+ triggerBelongedComponentToMoveWhenMoved: c,
2190
2144
  triggerBelongedComponentToDeleteWhenDeleted: i,
2191
- getPropsConfig: c
2145
+ getPropsConfig: d
2192
2146
  };
2193
2147
  }
2194
- function et(e, n, t) {
2148
+ function nt(e, n, t) {
2195
2149
  var B;
2196
- function o() {
2150
+ function r() {
2197
2151
  t != null && t.resolveComponentContext && t.resolveComponentContext();
2198
2152
  }
2199
- o();
2200
- const r = t && t.getStyles && t.getStyles() || "", a = t && t.getDesignerClass && t.getDesignerClass() || "", l = y();
2153
+ r();
2154
+ const o = t && t.getStyles && t.getStyles() || "", a = t && t.getDesignerClass && t.getDesignerClass() || "", l = y();
2201
2155
  function u() {
2202
2156
  return (n == null ? void 0 : n.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
2203
2157
  }
2204
- function p() {
2158
+ function c() {
2205
2159
  return !1;
2206
2160
  }
2207
2161
  function i() {
2208
2162
  return (n == null ? void 0 : n.schema.componentType) === "frame" ? !1 : t && t.checkCanDeleteComponent ? t.checkCanDeleteComponent() : !0;
2209
2163
  }
2210
- function d() {
2164
+ function p() {
2211
2165
  return (n == null ? void 0 : n.schema.componentType) === "frame" ? !0 : t && t.hideNestedPaddingInDesginerView ? t.hideNestedPaddingInDesginerView() : !1;
2212
2166
  }
2213
- function c(b) {
2167
+ function d(b) {
2214
2168
  if (!b || !b.value)
2215
2169
  return null;
2216
2170
  if (b.value.schema && b.value.schema.type === "component")
2217
2171
  return b.value;
2218
- const T = y(b == null ? void 0 : b.value.parent), P = c(T);
2219
- return P || null;
2172
+ const T = y(b == null ? void 0 : b.value.parent), k = d(T);
2173
+ return k || null;
2220
2174
  }
2221
2175
  function f(b = n) {
2222
- const { componentInstance: T, designerItemElementRef: P } = b;
2223
- return !T || !T.value ? null : T.value.canMove ? P : f(b.parent);
2176
+ const { componentInstance: T, designerItemElementRef: k } = b;
2177
+ return !T || !T.value ? null : T.value.canMove ? k : f(b.parent);
2224
2178
  }
2225
2179
  function s(b) {
2226
2180
  return !!t && t.canAccepts(b);
@@ -2230,23 +2184,23 @@ function et(e, n, t) {
2230
2184
  }
2231
2185
  function h() {
2232
2186
  }
2233
- function C(b, T) {
2187
+ function S(b, T) {
2234
2188
  T && t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(T);
2235
2189
  }
2236
- function x(b) {
2190
+ function C(b) {
2237
2191
  const { componentType: T } = b;
2238
- let P = me(T, b);
2239
- t && t.onResolveNewComponentSchema && (P = t.onResolveNewComponentSchema(b, P));
2240
- const $ = T.toLowerCase().replace("-", "_");
2241
- return P && !P.id && P.type === T && (P.id = `${$}_${Math.random().toString().slice(2, 6)}`), P;
2192
+ let k = be(T, b);
2193
+ t && t.onResolveNewComponentSchema && (k = t.onResolveNewComponentSchema(b, k));
2194
+ const L = T.toLowerCase().replace("-", "_");
2195
+ return k && !k.id && k.type === T && (k.id = `${L}_${Math.random().toString().slice(2, 6)}`), k;
2242
2196
  }
2243
2197
  function A(b, T) {
2244
- const P = String(b.getAttribute("data-controltype")), $ = b.getAttribute("data-feature"), Q = $ ? JSON.parse($) : {};
2245
- Q.parentComponentInstance = l.value;
2246
- let R = me(P, Q);
2247
- t && t.onAcceptNewChildElement && (R = t.onAcceptNewChildElement(b, T, R));
2248
- const K = P.toLowerCase().replace("-", "_");
2249
- return R && !R.id && R.type === P && (R.id = `${K}_${Math.random().toString().slice(2, 6)}`), R;
2198
+ const k = String(b.getAttribute("data-controltype")), L = b.getAttribute("data-feature"), Y = L ? JSON.parse(L) : {};
2199
+ Y.parentComponentInstance = l.value;
2200
+ let _ = be(k, Y);
2201
+ t && t.onAcceptNewChildElement && (_ = t.onAcceptNewChildElement(b, T, _));
2202
+ const K = k.toLowerCase().replace("-", "_");
2203
+ return _ && !_.id && _.type === k && (_.id = `${K}_${Math.random().toString().slice(2, 6)}`), _;
2250
2204
  }
2251
2205
  function E(b) {
2252
2206
  }
@@ -2256,57 +2210,57 @@ function et(e, n, t) {
2256
2210
  }
2257
2211
  return l.value = {
2258
2212
  canMove: u(),
2259
- canSelectParent: p(),
2213
+ canSelectParent: c(),
2260
2214
  canDelete: i(),
2261
- canNested: !d(),
2215
+ canNested: !p(),
2262
2216
  contents: n == null ? void 0 : n.schema.contents,
2263
2217
  elementRef: e,
2264
2218
  parent: (B = n == null ? void 0 : n.parent) == null ? void 0 : B.componentInstance,
2265
2219
  schema: n == null ? void 0 : n.schema,
2266
- styles: r,
2220
+ styles: o,
2267
2221
  designerClass: a,
2268
2222
  canAccepts: s,
2269
- getBelongedComponentInstance: c,
2223
+ getBelongedComponentInstance: d,
2270
2224
  getDraggableDesignItemElement: f,
2271
2225
  getDraggingDisplayText: v,
2272
2226
  getPropConfig: w,
2273
2227
  getDragScopeElement: h,
2274
- onAcceptMovedChildElement: C,
2228
+ onAcceptMovedChildElement: S,
2275
2229
  onAcceptNewChildElement: A,
2276
2230
  onChildElementMovedOut: E,
2277
- addNewChildComponentSchema: x,
2278
- updateDragAndDropRules: o,
2231
+ addNewChildComponentSchema: C,
2232
+ updateDragAndDropRules: r,
2279
2233
  triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || y(!1),
2280
2234
  triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || y(!1)
2281
2235
  }, l;
2282
2236
  }
2283
- const ho = /* @__PURE__ */ q({
2237
+ const gr = /* @__PURE__ */ q({
2284
2238
  name: "FInputGroupDesign",
2285
- props: Ve,
2239
+ props: Be,
2286
2240
  emits: ["updateExtendInfo", "clear", "valueChange", "clickHandle", "blurHandle", "focusHandle", "enterHandle", "iconMouseEnter", "iconMouseLeave", "keyupHandle", "keydownHandle", "inputClick"],
2287
2241
  setup(e, n) {
2288
- const t = y(e.modelValue), o = y(e.modelValue), r = lo(e, n, t, o), {
2242
+ const t = y(e.modelValue), r = y(e.modelValue), o = cr(e, n, t, r), {
2289
2243
  inputGroupClass: a,
2290
2244
  inputType: l,
2291
2245
  inputGroupStyle: u
2292
- } = r, p = Ze(e), {
2246
+ } = o, c = Xe(e), {
2293
2247
  shouldShowAppendedButton: i
2294
- } = p, d = Ye(e, n, r), {
2295
- onMouseEnter: c,
2248
+ } = c, p = Qe(e, n, o), {
2249
+ onMouseEnter: d,
2296
2250
  onMouseLeave: f
2297
- } = d, s = Xe(e, n, l, p), v = y(), h = Z("designer-host-service"), C = Z("design-item-context"), x = mo(C, h), A = et(v, C, x);
2298
- G(() => {
2251
+ } = p, s = Ke(e, n, l, c), v = y(), h = Q("designer-host-service"), S = Q("design-item-context"), C = br(S, h), A = nt(v, S, C);
2252
+ H(() => {
2299
2253
  v.value.componentInstance = A;
2300
2254
  }), n.expose(A.value);
2301
- const E = Je(e, n, p, d, s), w = y();
2302
- return () => S("div", {
2255
+ const E = tt(e, n, c, p, s), w = y();
2256
+ return () => g("div", {
2303
2257
  id: "inputGroup",
2304
2258
  ref: v,
2305
2259
  class: a.value,
2306
2260
  style: u.value,
2307
- onMouseenter: c,
2261
+ onMouseenter: d,
2308
2262
  onMouseleave: f
2309
- }, [S("input", {
2263
+ }, [g("input", {
2310
2264
  ref: w,
2311
2265
  class: "form-control",
2312
2266
  readonly: !0,
@@ -2314,16 +2268,16 @@ const ho = /* @__PURE__ */ q({
2314
2268
  }, null), i.value && E()]);
2315
2269
  }
2316
2270
  });
2317
- J.register = (e, n, t, o) => {
2318
- e["input-group"] = J, n["input-group"] = Qe;
2271
+ ee.register = (e, n, t, r) => {
2272
+ e["input-group"] = ee, n["input-group"] = Je;
2319
2273
  };
2320
- J.registerDesigner = (e, n, t) => {
2321
- e["input-group"] = ho, n["input-group"] = Qe;
2274
+ ee.registerDesigner = (e, n, t) => {
2275
+ e["input-group"] = gr, n["input-group"] = Je;
2322
2276
  };
2323
- xe(J);
2324
- const bo = /* @__PURE__ */ new Map([
2325
- ["appearance", se]
2326
- ]), go = "https://json-schema.org/draft/2020-12/schema", So = "https://farris-design.gitee.io/number-spinner.schema.json", Co = "number-spinner", wo = "A Farris Input Component", xo = "object", Vo = {
2277
+ Te(ee);
2278
+ const Sr = /* @__PURE__ */ new Map([
2279
+ ["appearance", de]
2280
+ ]), wr = "https://json-schema.org/draft/2020-12/schema", Cr = "https://farris-design.gitee.io/number-spinner.schema.json", xr = "number-spinner", Vr = "A Farris Input Component", Tr = "object", Br = {
2327
2281
  id: {
2328
2282
  description: "The unique identifier for a number spinner",
2329
2283
  type: "string"
@@ -2424,22 +2378,22 @@ const bo = /* @__PURE__ */ new Map([
2424
2378
  type: "sting",
2425
2379
  default: ""
2426
2380
  }
2427
- }, To = [
2381
+ }, Fr = [
2428
2382
  "id",
2429
2383
  "type"
2430
- ], Bo = {
2431
- $schema: go,
2432
- $id: So,
2433
- title: Co,
2434
- description: wo,
2435
- type: xo,
2436
- properties: Vo,
2437
- required: To
2384
+ ], Mr = {
2385
+ $schema: wr,
2386
+ $id: Cr,
2387
+ title: xr,
2388
+ description: Vr,
2389
+ type: Tr,
2390
+ properties: Br,
2391
+ required: Fr
2438
2392
  };
2439
- function Fo(e, n, t) {
2393
+ function kr(e, n, t) {
2440
2394
  return n;
2441
2395
  }
2442
- const Be = {
2396
+ const Me = {
2443
2397
  /**
2444
2398
  * 组件标识
2445
2399
  */
@@ -2543,108 +2497,108 @@ const Be = {
2543
2497
  * 作为内嵌编辑器被创建后默认选中文本
2544
2498
  */
2545
2499
  selectOnCreated: { type: Boolean, default: !1 }
2546
- }, tt = ue(Be, Bo, bo, Fo);
2547
- function nt(e, n, t, o) {
2548
- const { format: r } = t, { displayValue: a, getRealValue: l, modelValue: u, onNumberValueChanged: p } = o;
2500
+ }, rt = ce(Me, Mr, Sr, kr);
2501
+ function ot(e, n, t, r) {
2502
+ const { format: o } = t, { displayValue: a, getRealValue: l, modelValue: u, onNumberValueChanged: c } = r;
2549
2503
  function i() {
2550
- const C = new L(u.value || 0);
2551
- return !(e.max && !new L(e.max).isNaN() && C.gte(new L(e.max)));
2504
+ const S = new $(u.value || 0);
2505
+ return !(e.max && !new $(e.max).isNaN() && S.gte(new $(e.max)));
2552
2506
  }
2553
- function d() {
2554
- const C = new L(u.value || 0);
2555
- return !(e.min && !new L(e.min).isNaN() && C.lte(new L(e.min)));
2507
+ function p() {
2508
+ const S = new $(u.value || 0);
2509
+ return !(e.min && !new $(e.min).isNaN() && S.lte(new $(e.min)));
2556
2510
  }
2557
- function c(C) {
2511
+ function d(S) {
2558
2512
  if (e.readonly || e.disabled)
2559
2513
  return;
2560
- const x = C === "up" ? i : d, A = C === "up" ? "plus" : "minus";
2561
- if (x()) {
2562
- const w = new L(u.value || 0)[A](Number(e.step)), B = w.toFixed();
2563
- a.value = r(B), p(l(w));
2514
+ const C = S === "up" ? i : p, A = S === "up" ? "plus" : "minus";
2515
+ if (C()) {
2516
+ const w = new $(u.value || 0)[A](Number(e.step)), B = w.toFixed();
2517
+ a.value = o(B), c(l(w));
2564
2518
  }
2565
2519
  }
2566
2520
  function f() {
2567
- c("up");
2521
+ d("up");
2568
2522
  }
2569
2523
  function s() {
2570
- c("down");
2524
+ d("down");
2571
2525
  }
2572
- function v(C) {
2573
- f(), C.stopPropagation();
2526
+ function v(S) {
2527
+ f(), S.stopPropagation();
2574
2528
  }
2575
- function h(C) {
2576
- s(), C.stopPropagation();
2529
+ function h(S) {
2530
+ s(), S.stopPropagation();
2577
2531
  }
2578
- return { canDownward: d, canUpward: i, downward: s, onClickDownButton: h, onClickUpButton: v, upward: f };
2532
+ return { canDownward: p, canUpward: i, downward: s, onClickDownButton: h, onClickUpButton: v, upward: f };
2579
2533
  }
2580
- function ot(e, n, t) {
2581
- const o = V(() => ({
2534
+ function at(e, n, t) {
2535
+ const r = x(() => ({
2582
2536
  prefix: e.prefix,
2583
2537
  suffix: e.suffix,
2584
2538
  decimalSeparator: e.decimalSeparator,
2585
2539
  groupSeparator: e.useThousands ? e.groupSeparator : "",
2586
2540
  groupSize: e.groupSize
2587
- })), { getValidNumberObject: r, precision: a } = t;
2541
+ })), { getValidNumberObject: o, precision: a } = t;
2588
2542
  function l(i) {
2589
2543
  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;
2590
2544
  }
2591
- function u(i, d) {
2592
- return e.precision !== null && e.precision !== void 0 ? i.toFormat(a.value, d) : i.toFormat(d);
2545
+ function u(i, p) {
2546
+ return e.precision !== null && e.precision !== void 0 ? i.toFormat(a.value, p) : i.toFormat(p);
2593
2547
  }
2594
- function p(i) {
2595
- const d = l(i), c = new L(d, 10), f = r(c);
2596
- return f.valueOf() === "0" && !e.showZero || f.isNaN() ? "" : e.formatter ? e.formatter(f.toNumber()) : u(f, o.value);
2548
+ function c(i) {
2549
+ const p = l(i), d = new $(p, 10), f = o(d);
2550
+ return f.valueOf() === "0" && !e.showZero || f.isNaN() ? "" : e.formatter ? e.formatter(f.toNumber()) : u(f, r.value);
2597
2551
  }
2598
- return { cleanFormat: l, format: p };
2552
+ return { cleanFormat: l, format: c };
2599
2553
  }
2600
- function rt(e, n) {
2601
- const t = y(""), o = y(e.modelValue), r = V(() => Number(e.precision) || 0);
2602
- function a(d) {
2603
- return d.toFixed(r.value);
2554
+ function it(e, n) {
2555
+ const t = y(""), r = y(e.modelValue), o = x(() => Number(e.precision) || 0);
2556
+ function a(p) {
2557
+ return p.toFixed(o.value);
2604
2558
  }
2605
- function l(d) {
2606
- return isNaN(d) || d === null || d === void 0 || d === "";
2559
+ function l(p) {
2560
+ return isNaN(p) || p === null || p === void 0 || p === "";
2607
2561
  }
2608
- function u(d) {
2609
- const c = l(e.max) ? null : new L(String(e.max), 10), f = l(e.min) ? null : new L(String(e.min), 10);
2610
- return c && d.gt(c) ? c : f && d.lt(f) ? f : d;
2562
+ function u(p) {
2563
+ const d = l(e.max) ? null : new $(String(e.max), 10), f = l(e.min) ? null : new $(String(e.min), 10);
2564
+ return d && p.gt(d) ? d : f && p.lt(f) ? f : p;
2611
2565
  }
2612
- function p(d) {
2566
+ function c(p) {
2613
2567
  if (e.parser)
2614
- return isNaN(Number(d)) ? e.parser(d) : d;
2615
- let c = u(new L(d, 10));
2616
- if (c.isNaN()) {
2568
+ return isNaN(Number(p)) ? e.parser(p) : p;
2569
+ let d = u(new $(p, 10));
2570
+ if (d.isNaN()) {
2617
2571
  if (e.canNull)
2618
2572
  return null;
2619
- const s = new L("" + e.min, 10), v = new L("" + e.max, 10);
2573
+ const s = new $("" + e.min, 10), v = new $("" + e.max, 10);
2620
2574
  if (!s.isNaN())
2621
- c = s;
2575
+ d = s;
2622
2576
  else if (!v.isNaN())
2623
- c = v;
2577
+ d = v;
2624
2578
  else
2625
2579
  return 0;
2626
2580
  }
2627
- return a(c);
2581
+ return a(d);
2628
2582
  }
2629
- function i(d) {
2630
- const c = Number(d);
2631
- o.value = c, n.emit("update:modelValue", c), n.emit("valueChange", c), n.emit("change", c);
2583
+ function i(p) {
2584
+ const d = Number(p);
2585
+ r.value = d, n.emit("update:modelValue", d), n.emit("valueChange", d), n.emit("change", d);
2632
2586
  }
2633
- return { displayValue: t, getRealValue: p, modelValue: o, isEmpty: l, onNumberValueChanged: i, precision: r, getValidNumberObject: u };
2587
+ return { displayValue: t, getRealValue: c, modelValue: r, isEmpty: l, onNumberValueChanged: i, precision: o, getValidNumberObject: u };
2634
2588
  }
2635
- function Mo(e, n, t, o, r) {
2636
- const { cleanFormat: a, format: l } = t, { displayValue: u, getRealValue: p, modelValue: i, isEmpty: d, onNumberValueChanged: c } = o, { downward: f, upward: s } = r, v = y(!1), h = V(() => u.value);
2637
- function C(w) {
2589
+ function Er(e, n, t, r, o) {
2590
+ const { cleanFormat: a, format: l } = t, { displayValue: u, getRealValue: c, modelValue: i, isEmpty: p, onNumberValueChanged: d } = r, { downward: f, upward: s } = o, v = y(!1), h = x(() => u.value);
2591
+ function S(w) {
2638
2592
  var T;
2639
2593
  if (w.stopPropagation(), v.value = !1, e.readonly || e.disabled)
2640
2594
  return;
2641
2595
  let B = (T = w.target) == null ? void 0 : T.value;
2642
2596
  e.canNull || (B = B || 0);
2643
2597
  const b = a(B);
2644
- u.value = l(b), c(p(b)), n.emit("blur", { event: w, formatted: u.value, value: i.value });
2598
+ u.value = l(b), d(c(b)), n.emit("blur", { event: w, formatted: u.value, value: i.value });
2645
2599
  }
2646
- function x(w) {
2647
- w.stopPropagation(), v.value = !0, !(e.readonly || e.disabled) && (u.value = d(i.value) || !e.showZero && i.value === "0" ? "" : String(i.value), n.emit("focus", { event: w, formatted: u.value, value: i.value }));
2600
+ function C(w) {
2601
+ w.stopPropagation(), v.value = !0, !(e.readonly || e.disabled) && (u.value = p(i.value) || !e.showZero && i.value === "0" ? "" : String(i.value), n.emit("focus", { event: w, formatted: u.value, value: i.value }));
2648
2602
  }
2649
2603
  function A(w) {
2650
2604
  var T;
@@ -2652,43 +2606,43 @@ function Mo(e, n, t, o, r) {
2652
2606
  let B = (T = w.target) == null ? void 0 : T.value;
2653
2607
  e.canNull || (B = B || 0);
2654
2608
  const b = a(B);
2655
- u.value = b, c(p(b));
2609
+ u.value = b, d(c(b));
2656
2610
  }
2657
2611
  function E(w) {
2658
2612
  w.key === "ArrowDown" && (w.preventDefault(), f()), w.key === "ArrowUp" && (w.preventDefault(), s()), w.stopPropagation();
2659
2613
  }
2660
- return { textBoxValue: h, onBlurTextBox: C, onFocusTextBox: x, onInput: A, onKeyDown: E, isFocus: v };
2614
+ return { textBoxValue: h, onBlurTextBox: S, onFocusTextBox: C, onInput: A, onKeyDown: E, isFocus: v };
2661
2615
  }
2662
- const ee = /* @__PURE__ */ q({
2616
+ const te = /* @__PURE__ */ q({
2663
2617
  name: "FNumberSpinner",
2664
- props: Be,
2618
+ props: Me,
2665
2619
  emits: ["update:modelValue", "valueChange", "change", "blur", "focus", "click", "input"],
2666
2620
  setup(e, n) {
2667
- const t = rt(e, n), o = ot(e, n, t), r = nt(e, n, o, t), a = Mo(e, n, o, t, r), l = Te(e, n, r), {
2621
+ const t = it(e, n), r = at(e, n, t), o = ot(e, n, r, t), a = Er(e, n, r, t, o), l = Fe(e, n, o), {
2668
2622
  displayValue: u,
2669
- modelValue: p,
2623
+ modelValue: c,
2670
2624
  getRealValue: i
2671
- } = t, d = Ke(e, n, a), {
2672
- format: c
2673
- } = o, {
2625
+ } = t, p = et(e, n, a), {
2626
+ format: d
2627
+ } = r, {
2674
2628
  isFocus: f
2675
- } = a, s = V(() => !e.disabled && !e.readonly && e.showButton);
2676
- return G(() => {
2629
+ } = a, s = x(() => !e.disabled && !e.readonly && e.showButton);
2630
+ return H(() => {
2677
2631
  const v = i(e.modelValue);
2678
- u.value = c(v);
2632
+ u.value = d(v);
2679
2633
  }), N(() => [e.value], ([v]) => {
2680
2634
  const h = i(v);
2681
- p.value = h, u.value = c(h);
2635
+ c.value = h, u.value = d(h);
2682
2636
  }), N(() => [e.modelValue], ([v]) => {
2683
- v !== p.value && (p.value = v, !f.value && (u.value = c(i(v))));
2637
+ v !== c.value && (c.value = v, !f.value && (u.value = d(i(v))));
2684
2638
  }), N(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
2685
- u.value = c(p.value);
2686
- }), () => S("div", {
2639
+ u.value = d(c.value);
2640
+ }), () => g("div", {
2687
2641
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
2688
- }, [d(), s.value && l()]);
2642
+ }, [p(), s.value && l()]);
2689
2643
  }
2690
2644
  });
2691
- class Po extends we {
2645
+ class Ar extends Ve {
2692
2646
  constructor(n, t) {
2693
2647
  super(n, t);
2694
2648
  }
@@ -2721,81 +2675,81 @@ class Po extends we {
2721
2675
  });
2722
2676
  }
2723
2677
  }
2724
- function Eo(e, n) {
2678
+ function Pr(e, n) {
2725
2679
  const {
2726
2680
  canAccepts: t,
2727
- checkCanDeleteComponent: o,
2728
- checkCanMoveComponent: r,
2681
+ checkCanDeleteComponent: r,
2682
+ checkCanMoveComponent: o,
2729
2683
  hideNestedPaddingInDesginerView: a,
2730
2684
  onAcceptMovedChildElement: l,
2731
2685
  resolveComponentContext: u,
2732
- triggerBelongedComponentToMoveWhenMoved: p,
2686
+ triggerBelongedComponentToMoveWhenMoved: c,
2733
2687
  triggerBelongedComponentToDeleteWhenDeleted: i
2734
- } = Ce(e), d = e.schema;
2735
- function c(f) {
2736
- return new Po(f, n).getPropertyConfig(d);
2688
+ } = xe(e), p = e.schema;
2689
+ function d(f, s) {
2690
+ return new Ar(f, n).getPropertyConfig(p, s);
2737
2691
  }
2738
2692
  return {
2739
2693
  canAccepts: t,
2740
- checkCanDeleteComponent: o,
2741
- checkCanMoveComponent: r,
2694
+ checkCanDeleteComponent: r,
2695
+ checkCanMoveComponent: o,
2742
2696
  hideNestedPaddingInDesginerView: a,
2743
2697
  onAcceptMovedChildElement: l,
2744
2698
  resolveComponentContext: u,
2745
- triggerBelongedComponentToMoveWhenMoved: p,
2699
+ triggerBelongedComponentToMoveWhenMoved: c,
2746
2700
  triggerBelongedComponentToDeleteWhenDeleted: i,
2747
- getPropsConfig: c
2701
+ getPropsConfig: d
2748
2702
  };
2749
2703
  }
2750
- const Ao = /* @__PURE__ */ q({
2704
+ const Nr = /* @__PURE__ */ q({
2751
2705
  name: "FNumberSpinnerDesign",
2752
- props: Be,
2706
+ props: Me,
2753
2707
  emits: ["update:modelValue", "valueChange", "change", "blur", "focus", "click", "input"],
2754
2708
  setup(e, n) {
2755
- const t = rt(e, n), o = ot(e, n, t), r = nt(e, n, o, t), a = Te(e, n, r), l = y(), u = Z("designer-host-service"), p = Z("design-item-context"), i = Eo(p, u), d = et(l, p, i);
2756
- G(() => {
2757
- l.value.componentInstance = d, e.readonly = !0;
2758
- }), n.expose(d.value);
2759
- const c = y();
2760
- return () => S("div", {
2709
+ const t = it(e, n), r = at(e, n, t), o = ot(e, n, r, t), a = Fe(e, n, o), l = y(), u = Q("designer-host-service"), c = Q("design-item-context"), i = Pr(c, u), p = nt(l, c, i);
2710
+ H(() => {
2711
+ l.value.componentInstance = p, e.readonly = !0;
2712
+ }), n.expose(p.value);
2713
+ const d = y();
2714
+ return () => g("div", {
2761
2715
  ref: l,
2762
2716
  class: "input-group f-state-hover flex-row f-cmp-number-spinner test"
2763
- }, [S("input", {
2764
- ref: c,
2717
+ }, [g("input", {
2718
+ ref: d,
2765
2719
  class: "form-control",
2766
2720
  readonly: !0,
2767
2721
  placeholder: e.placeholder
2768
2722
  }, null), a()]);
2769
2723
  }
2770
2724
  });
2771
- ee.register = (e, n, t, o) => {
2772
- e["number-spinner"] = ee, n["number-spinner"] = tt;
2725
+ te.register = (e, n, t, r) => {
2726
+ e["number-spinner"] = te, n["number-spinner"] = rt;
2773
2727
  };
2774
- ee.registerDesigner = (e, n, t) => {
2775
- e["number-spinner"] = Ao, n["number-spinner"] = tt;
2728
+ te.registerDesigner = (e, n, t) => {
2729
+ e["number-spinner"] = Nr, n["number-spinner"] = rt;
2776
2730
  };
2777
- xe(ee);
2778
- function ko(e, n, t, o, r, a, l) {
2779
- const u = y(0), p = y(""), i = y([]), d = y(""), c = y("");
2731
+ Te(te);
2732
+ function Or(e, n, t, r, o, a, l) {
2733
+ const u = y(0), c = y(""), i = y([]), p = y(""), d = y("");
2780
2734
  function f() {
2781
- e.value.propertyType === "enum" && e.value.propertyValue.type === "const" && (d.value = F(e.value.propertyValue.value), n.value = F(e.value.editorOptions.enums));
2735
+ e.value.propertyType === "enum" && e.value.propertyValue.type === "const" && (p.value = F(e.value.propertyValue.value), n.value = F(e.value.editorOptions.enums));
2782
2736
  }
2783
2737
  function s() {
2784
2738
  e.value.propertyType === "number" && (u.value = e.value.propertyValue.value);
2785
2739
  }
2786
2740
  function v() {
2787
- t.value.id === "stateMachine" && (o = F(e.value.propertyValue.value.id), o ? r.value = F(e.value.propertyValue.value.exist) : r.value = "否");
2741
+ t.value.id === "stateMachine" && (r = F(e.value.propertyValue.value.id), r ? o.value = F(e.value.propertyValue.value.exist) : o.value = "否");
2788
2742
  }
2789
2743
  function h() {
2790
2744
  if (t.value.id === "dataStates" && (i.value = F(e.value.editorOptions.dataStates), e.value.propertyValue.value)) {
2791
2745
  const w = e.value.propertyValue.value, B = i.value.filter((b) => w.includes(b.value)).map((b) => b.value).join(",");
2792
- p.value = F(B);
2746
+ c.value = F(B);
2793
2747
  }
2794
2748
  }
2795
- function C() {
2796
- t.value.id === "variable" && (c.value = e.value.propertyValue.value.path);
2749
+ function S() {
2750
+ t.value.id === "variable" && (d.value = e.value.propertyValue.value.path);
2797
2751
  }
2798
- function x() {
2752
+ function C() {
2799
2753
  if (t.value.id === "expression") {
2800
2754
  l.value = !0;
2801
2755
  const { handleExpressionValue: w } = e.value.editorOptions.expressionConfig;
@@ -2806,18 +2760,18 @@ function ko(e, n, t, o, r, a, l) {
2806
2760
  t.value.id;
2807
2761
  }
2808
2762
  function E() {
2809
- f(), s(), C(), v(), h(), x(), A();
2763
+ f(), s(), S(), v(), h(), C(), A();
2810
2764
  }
2811
2765
  return {
2812
2766
  numberConstValue: u,
2813
- bindVariableValue: c,
2814
- dataStatesBindValue: p,
2767
+ bindVariableValue: d,
2768
+ dataStatesBindValue: c,
2815
2769
  dataStatesValueArray: i,
2816
- constEnumBindValue: d,
2770
+ constEnumBindValue: p,
2817
2771
  setValue: E
2818
2772
  };
2819
2773
  }
2820
- function No(e, n, t, o, r, a, l, u, p, i, d, c) {
2774
+ function Ir(e, n, t, r, o, a, l, u, c, i, p, d) {
2821
2775
  const f = y(!1), s = y({
2822
2776
  propertyName: "",
2823
2777
  /** 属性类型:boolean, string, number, enum */
@@ -2830,57 +2784,57 @@ function No(e, n, t, o, r, a, l, u, p, i, d, c) {
2830
2784
  hasPrefix: !1
2831
2785
  });
2832
2786
  function v() {
2833
- 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));
2787
+ n.value.propertyValue.type === "const" && (n.value.propertyValue.value = F(o.value.constValue.value), t.value = F(o.value.constValue.value), r.value = F(n.value.editorOptions.enums));
2834
2788
  }
2835
2789
  function h() {
2836
- 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 = {
2790
+ n.value.propertyValue.type === "stateMachine" && (n.value.propertyValue.value = F(o.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 = {
2837
2791
  id: "",
2838
2792
  name: "",
2839
2793
  exist: ""
2840
2794
  }, u.value = "否"));
2841
2795
  }
2842
- function C() {
2843
- n.value.propertyValue.type === "dataStates" && (n.value.propertyValue.value = F(r.value.dataStatesValue.value), p.value = F(n.value.editorOptions.dataStates));
2796
+ function S() {
2797
+ n.value.propertyValue.type === "dataStates" && (n.value.propertyValue.value = F(o.value.dataStatesValue.value), c.value = F(n.value.editorOptions.dataStates));
2844
2798
  }
2845
- function x() {
2846
- i.value = "", r.value.expressionValue && (r.value.expressionValue.value = "");
2799
+ function C() {
2800
+ i.value = "", o.value.expressionValue && (o.value.expressionValue.value = "");
2847
2801
  }
2848
2802
  function A() {
2849
- d.value || (u.value = u.value === "否" ? "是" : "否", n.value.propertyValue.value.exist = u, r.value.stateMachineValue.value.exist = u, B());
2803
+ p.value || (u.value = u.value === "否" ? "是" : "否", n.value.propertyValue.value.exist = u, o.value.stateMachineValue.value.exist = u, B());
2850
2804
  }
2851
2805
  function E() {
2852
- s.value.propertyValue.value && s.value.propertyValue.value.includes("viewModel.stateMachine") && (r.value.customValue.value = "");
2806
+ s.value.propertyValue.value && s.value.propertyValue.value.includes("viewModel.stateMachine") && (o.value.customValue.value = "");
2853
2807
  }
2854
2808
  function w() {
2855
2809
  s.value.propertyName = F(n.value.propertyName), s.value.propertyType = F(n.value.propertyType), s.value.propertyValue = F(n.value.propertyValue), s.value.hasPrefix = F(f);
2856
2810
  }
2857
2811
  function B() {
2858
- if (!d.value)
2812
+ if (!p.value)
2859
2813
  switch (w(), s.value.propertyValue.type) {
2860
2814
  case "const":
2861
- (s.value.propertyType === "enum" && s.value.propertyValue.value !== "" || s.value.propertyType === "number" && s.value.propertyValue.value != null || s.value.propertyType === "string") && (x(), e.emit("propertyEditorValueChanged", s));
2815
+ (s.value.propertyType === "enum" && s.value.propertyValue.value !== "" || s.value.propertyType === "number" && s.value.propertyValue.value != null || s.value.propertyType === "string") && (C(), e.emit("propertyEditorValueChanged", s));
2862
2816
  break;
2863
2817
  case "variable":
2864
- s.value.propertyValue.value.path !== "" && (x(), e.emit("propertyEditorValueChanged", s));
2818
+ s.value.propertyValue.value.path !== "" && (C(), e.emit("propertyEditorValueChanged", s));
2865
2819
  break;
2866
2820
  case "custom":
2867
- x(), E(), e.emit("propertyEditorValueChanged", s);
2821
+ C(), E(), e.emit("propertyEditorValueChanged", s);
2868
2822
  break;
2869
2823
  case "expression":
2870
2824
  i.value && e.emit("propertyEditorValueChanged", s);
2871
2825
  break;
2872
2826
  case "stateMachine":
2873
- s.value.propertyValue.value.id && (x(), e.emit("propertyEditorValueChanged", s));
2827
+ s.value.propertyValue.value.id && (C(), e.emit("propertyEditorValueChanged", s));
2874
2828
  break;
2875
2829
  case "dataStates":
2876
2830
  if (s.value.propertyValue.value !== "") {
2877
- x(), e.emit("propertyEditorValueChanged", s);
2831
+ C(), e.emit("propertyEditorValueChanged", s);
2878
2832
  break;
2879
2833
  }
2880
2834
  }
2881
2835
  }
2882
2836
  function b() {
2883
- n.value.propertyValue = r.value[`${c.value.id}Value`], v(), h(), C(), B(), s.value.isNewVariable = !1;
2837
+ n.value.propertyValue = o.value[`${d.value.id}Value`], v(), h(), S(), B(), s.value.isNewVariable = !1;
2884
2838
  }
2885
2839
  return {
2886
2840
  updateData: b,
@@ -2889,67 +2843,67 @@ function No(e, n, t, o, r, a, l, u, p, i, d, c) {
2889
2843
  propertyEditorValueChange: s
2890
2844
  };
2891
2845
  }
2892
- var he = function(e, n) {
2893
- return he = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, o) {
2894
- t.__proto__ = o;
2895
- } || function(t, o) {
2896
- for (var r in o) Object.prototype.hasOwnProperty.call(o, r) && (t[r] = o[r]);
2897
- }, he(e, n);
2846
+ var ge = function(e, n) {
2847
+ return ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, r) {
2848
+ t.__proto__ = r;
2849
+ } || function(t, r) {
2850
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
2851
+ }, ge(e, n);
2898
2852
  };
2899
- function z(e, n) {
2853
+ function W(e, n) {
2900
2854
  if (typeof n != "function" && n !== null)
2901
2855
  throw new TypeError("Class extends value " + String(n) + " is not a constructor or null");
2902
- he(e, n);
2856
+ ge(e, n);
2903
2857
  function t() {
2904
2858
  this.constructor = e;
2905
2859
  }
2906
2860
  e.prototype = n === null ? Object.create(n) : (t.prototype = n.prototype, new t());
2907
2861
  }
2908
- function Io(e, n, t, o) {
2909
- function r(a) {
2862
+ function jr(e, n, t, r) {
2863
+ function o(a) {
2910
2864
  return a instanceof t ? a : new t(function(l) {
2911
2865
  l(a);
2912
2866
  });
2913
2867
  }
2914
2868
  return new (t || (t = Promise))(function(a, l) {
2915
- function u(d) {
2869
+ function u(p) {
2916
2870
  try {
2917
- i(o.next(d));
2918
- } catch (c) {
2919
- l(c);
2871
+ i(r.next(p));
2872
+ } catch (d) {
2873
+ l(d);
2920
2874
  }
2921
2875
  }
2922
- function p(d) {
2876
+ function c(p) {
2923
2877
  try {
2924
- i(o.throw(d));
2925
- } catch (c) {
2926
- l(c);
2878
+ i(r.throw(p));
2879
+ } catch (d) {
2880
+ l(d);
2927
2881
  }
2928
2882
  }
2929
- function i(d) {
2930
- d.done ? a(d.value) : r(d.value).then(u, p);
2883
+ function i(p) {
2884
+ p.done ? a(p.value) : o(p.value).then(u, c);
2931
2885
  }
2932
- i((o = o.apply(e, n || [])).next());
2886
+ i((r = r.apply(e, n || [])).next());
2933
2887
  });
2934
2888
  }
2935
- function at(e, n) {
2889
+ function lt(e, n) {
2936
2890
  var t = { label: 0, sent: function() {
2937
2891
  if (a[0] & 1) throw a[1];
2938
2892
  return a[1];
2939
- }, trys: [], ops: [] }, o, r, a, l = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
2893
+ }, trys: [], ops: [] }, r, o, a, l = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
2940
2894
  return l.next = u(0), l.throw = u(1), l.return = u(2), typeof Symbol == "function" && (l[Symbol.iterator] = function() {
2941
2895
  return this;
2942
2896
  }), l;
2943
2897
  function u(i) {
2944
- return function(d) {
2945
- return p([i, d]);
2898
+ return function(p) {
2899
+ return c([i, p]);
2946
2900
  };
2947
2901
  }
2948
- function p(i) {
2949
- if (o) throw new TypeError("Generator is already executing.");
2902
+ function c(i) {
2903
+ if (r) throw new TypeError("Generator is already executing.");
2950
2904
  for (; l && (l = 0, i[0] && (t = 0)), t; ) try {
2951
- if (o = 1, r && (a = i[0] & 2 ? r.return : i[0] ? r.throw || ((a = r.return) && a.call(r), 0) : r.next) && !(a = a.call(r, i[1])).done) return a;
2952
- switch (r = 0, a && (i = [i[0] & 2, a.value]), i[0]) {
2905
+ if (r = 1, o && (a = i[0] & 2 ? o.return : i[0] ? o.throw || ((a = o.return) && a.call(o), 0) : o.next) && !(a = a.call(o, i[1])).done) return a;
2906
+ switch (o = 0, a && (i = [i[0] & 2, a.value]), i[0]) {
2953
2907
  case 0:
2954
2908
  case 1:
2955
2909
  a = i;
@@ -2957,7 +2911,7 @@ function at(e, n) {
2957
2911
  case 4:
2958
2912
  return t.label++, { value: i[1], done: !1 };
2959
2913
  case 5:
2960
- t.label++, r = i[1], i = [0];
2914
+ t.label++, o = i[1], i = [0];
2961
2915
  continue;
2962
2916
  case 7:
2963
2917
  i = t.ops.pop(), t.trys.pop();
@@ -2983,195 +2937,195 @@ function at(e, n) {
2983
2937
  continue;
2984
2938
  }
2985
2939
  i = n.call(e, t);
2986
- } catch (d) {
2987
- i = [6, d], r = 0;
2940
+ } catch (p) {
2941
+ i = [6, p], o = 0;
2988
2942
  } finally {
2989
- o = a = 0;
2943
+ r = a = 0;
2990
2944
  }
2991
2945
  if (i[0] & 5) throw i[1];
2992
2946
  return { value: i[0] ? i[1] : void 0, done: !0 };
2993
2947
  }
2994
2948
  }
2995
2949
  function X(e) {
2996
- var n = typeof Symbol == "function" && Symbol.iterator, t = n && e[n], o = 0;
2950
+ var n = typeof Symbol == "function" && Symbol.iterator, t = n && e[n], r = 0;
2997
2951
  if (t) return t.call(e);
2998
2952
  if (e && typeof e.length == "number") return {
2999
2953
  next: function() {
3000
- return e && o >= e.length && (e = void 0), { value: e && e[o++], done: !e };
2954
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
3001
2955
  }
3002
2956
  };
3003
2957
  throw new TypeError(n ? "Object is not iterable." : "Symbol.iterator is not defined.");
3004
2958
  }
3005
- function ae(e, n) {
2959
+ function le(e, n) {
3006
2960
  var t = typeof Symbol == "function" && e[Symbol.iterator];
3007
2961
  if (!t) return e;
3008
- var o = t.call(e), r, a = [], l;
2962
+ var r = t.call(e), o, a = [], l;
3009
2963
  try {
3010
- for (; (n === void 0 || n-- > 0) && !(r = o.next()).done; ) a.push(r.value);
2964
+ for (; (n === void 0 || n-- > 0) && !(o = r.next()).done; ) a.push(o.value);
3011
2965
  } catch (u) {
3012
2966
  l = { error: u };
3013
2967
  } finally {
3014
2968
  try {
3015
- r && !r.done && (t = o.return) && t.call(o);
2969
+ o && !o.done && (t = r.return) && t.call(r);
3016
2970
  } finally {
3017
2971
  if (l) throw l.error;
3018
2972
  }
3019
2973
  }
3020
2974
  return a;
3021
2975
  }
3022
- function ie(e, n, t) {
3023
- if (t || arguments.length === 2) for (var o = 0, r = n.length, a; o < r; o++)
3024
- (a || !(o in n)) && (a || (a = Array.prototype.slice.call(n, 0, o)), a[o] = n[o]);
2976
+ function ue(e, n, t) {
2977
+ if (t || arguments.length === 2) for (var r = 0, o = n.length, a; r < o; r++)
2978
+ (a || !(r in n)) && (a || (a = Array.prototype.slice.call(n, 0, r)), a[r] = n[r]);
3025
2979
  return e.concat(a || Array.prototype.slice.call(n));
3026
2980
  }
3027
- function Y(e) {
3028
- return this instanceof Y ? (this.v = e, this) : new Y(e);
2981
+ function J(e) {
2982
+ return this instanceof J ? (this.v = e, this) : new J(e);
3029
2983
  }
3030
- function Oo(e, n, t) {
2984
+ function Dr(e, n, t) {
3031
2985
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
3032
- var o = t.apply(e, n || []), r, a = [];
3033
- return r = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), u("next"), u("throw"), u("return", l), r[Symbol.asyncIterator] = function() {
2986
+ var r = t.apply(e, n || []), o, a = [];
2987
+ return o = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), u("next"), u("throw"), u("return", l), o[Symbol.asyncIterator] = function() {
3034
2988
  return this;
3035
- }, r;
2989
+ }, o;
3036
2990
  function l(s) {
3037
2991
  return function(v) {
3038
- return Promise.resolve(v).then(s, c);
2992
+ return Promise.resolve(v).then(s, d);
3039
2993
  };
3040
2994
  }
3041
2995
  function u(s, v) {
3042
- o[s] && (r[s] = function(h) {
3043
- return new Promise(function(C, x) {
3044
- a.push([s, h, C, x]) > 1 || p(s, h);
2996
+ r[s] && (o[s] = function(h) {
2997
+ return new Promise(function(S, C) {
2998
+ a.push([s, h, S, C]) > 1 || c(s, h);
3045
2999
  });
3046
- }, v && (r[s] = v(r[s])));
3000
+ }, v && (o[s] = v(o[s])));
3047
3001
  }
3048
- function p(s, v) {
3002
+ function c(s, v) {
3049
3003
  try {
3050
- i(o[s](v));
3004
+ i(r[s](v));
3051
3005
  } catch (h) {
3052
3006
  f(a[0][3], h);
3053
3007
  }
3054
3008
  }
3055
3009
  function i(s) {
3056
- s.value instanceof Y ? Promise.resolve(s.value.v).then(d, c) : f(a[0][2], s);
3010
+ s.value instanceof J ? Promise.resolve(s.value.v).then(p, d) : f(a[0][2], s);
3057
3011
  }
3058
- function d(s) {
3059
- p("next", s);
3012
+ function p(s) {
3013
+ c("next", s);
3060
3014
  }
3061
- function c(s) {
3062
- p("throw", s);
3015
+ function d(s) {
3016
+ c("throw", s);
3063
3017
  }
3064
3018
  function f(s, v) {
3065
- s(v), a.shift(), a.length && p(a[0][0], a[0][1]);
3019
+ s(v), a.shift(), a.length && c(a[0][0], a[0][1]);
3066
3020
  }
3067
3021
  }
3068
- function Do(e) {
3022
+ function $r(e) {
3069
3023
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
3070
3024
  var n = e[Symbol.asyncIterator], t;
3071
- 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() {
3025
+ return n ? n.call(e) : (e = typeof X == "function" ? X(e) : e[Symbol.iterator](), t = {}, r("next"), r("throw"), r("return"), t[Symbol.asyncIterator] = function() {
3072
3026
  return this;
3073
3027
  }, t);
3074
- function o(a) {
3028
+ function r(a) {
3075
3029
  t[a] = e[a] && function(l) {
3076
- return new Promise(function(u, p) {
3077
- l = e[a](l), r(u, p, l.done, l.value);
3030
+ return new Promise(function(u, c) {
3031
+ l = e[a](l), o(u, c, l.done, l.value);
3078
3032
  });
3079
3033
  };
3080
3034
  }
3081
- function r(a, l, u, p) {
3082
- Promise.resolve(p).then(function(i) {
3035
+ function o(a, l, u, c) {
3036
+ Promise.resolve(c).then(function(i) {
3083
3037
  a({ value: i, done: u });
3084
3038
  }, l);
3085
3039
  }
3086
3040
  }
3087
- function I(e) {
3041
+ function O(e) {
3088
3042
  return typeof e == "function";
3089
3043
  }
3090
- function it(e) {
3091
- var n = function(o) {
3092
- Error.call(o), o.stack = new Error().stack;
3044
+ function ut(e) {
3045
+ var n = function(r) {
3046
+ Error.call(r), r.stack = new Error().stack;
3093
3047
  }, t = e(n);
3094
3048
  return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
3095
3049
  }
3096
- var de = it(function(e) {
3050
+ var fe = ut(function(e) {
3097
3051
  return function(t) {
3098
3052
  e(this), this.message = t ? t.length + ` errors occurred during unsubscription:
3099
- ` + t.map(function(o, r) {
3100
- return r + 1 + ") " + o.toString();
3053
+ ` + t.map(function(r, o) {
3054
+ return o + 1 + ") " + r.toString();
3101
3055
  }).join(`
3102
3056
  `) : "", this.name = "UnsubscriptionError", this.errors = t;
3103
3057
  };
3104
3058
  });
3105
- function le(e, n) {
3059
+ function se(e, n) {
3106
3060
  if (e) {
3107
3061
  var t = e.indexOf(n);
3108
3062
  0 <= t && e.splice(t, 1);
3109
3063
  }
3110
3064
  }
3111
- var te = function() {
3065
+ var ne = function() {
3112
3066
  function e(n) {
3113
3067
  this.initialTeardown = n, this.closed = !1, this._parentage = null, this._finalizers = null;
3114
3068
  }
3115
3069
  return e.prototype.unsubscribe = function() {
3116
- var n, t, o, r, a;
3070
+ var n, t, r, o, a;
3117
3071
  if (!this.closed) {
3118
3072
  this.closed = !0;
3119
3073
  var l = this._parentage;
3120
3074
  if (l)
3121
3075
  if (this._parentage = null, Array.isArray(l))
3122
3076
  try {
3123
- for (var u = X(l), p = u.next(); !p.done; p = u.next()) {
3124
- var i = p.value;
3077
+ for (var u = X(l), c = u.next(); !c.done; c = u.next()) {
3078
+ var i = c.value;
3125
3079
  i.remove(this);
3126
3080
  }
3127
3081
  } catch (h) {
3128
3082
  n = { error: h };
3129
3083
  } finally {
3130
3084
  try {
3131
- p && !p.done && (t = u.return) && t.call(u);
3085
+ c && !c.done && (t = u.return) && t.call(u);
3132
3086
  } finally {
3133
3087
  if (n) throw n.error;
3134
3088
  }
3135
3089
  }
3136
3090
  else
3137
3091
  l.remove(this);
3138
- var d = this.initialTeardown;
3139
- if (I(d))
3092
+ var p = this.initialTeardown;
3093
+ if (O(p))
3140
3094
  try {
3141
- d();
3095
+ p();
3142
3096
  } catch (h) {
3143
- a = h instanceof de ? h.errors : [h];
3097
+ a = h instanceof fe ? h.errors : [h];
3144
3098
  }
3145
- var c = this._finalizers;
3146
- if (c) {
3099
+ var d = this._finalizers;
3100
+ if (d) {
3147
3101
  this._finalizers = null;
3148
3102
  try {
3149
- for (var f = X(c), s = f.next(); !s.done; s = f.next()) {
3103
+ for (var f = X(d), s = f.next(); !s.done; s = f.next()) {
3150
3104
  var v = s.value;
3151
3105
  try {
3152
- De(v);
3106
+ Le(v);
3153
3107
  } catch (h) {
3154
- a = a ?? [], h instanceof de ? a = ie(ie([], ae(a)), ae(h.errors)) : a.push(h);
3108
+ a = a ?? [], h instanceof fe ? a = ue(ue([], le(a)), le(h.errors)) : a.push(h);
3155
3109
  }
3156
3110
  }
3157
3111
  } catch (h) {
3158
- o = { error: h };
3112
+ r = { error: h };
3159
3113
  } finally {
3160
3114
  try {
3161
- s && !s.done && (r = f.return) && r.call(f);
3115
+ s && !s.done && (o = f.return) && o.call(f);
3162
3116
  } finally {
3163
- if (o) throw o.error;
3117
+ if (r) throw r.error;
3164
3118
  }
3165
3119
  }
3166
3120
  }
3167
3121
  if (a)
3168
- throw new de(a);
3122
+ throw new fe(a);
3169
3123
  }
3170
3124
  }, e.prototype.add = function(n) {
3171
3125
  var t;
3172
3126
  if (n && n !== this)
3173
3127
  if (this.closed)
3174
- De(n);
3128
+ Le(n);
3175
3129
  else {
3176
3130
  if (n instanceof e) {
3177
3131
  if (n.closed || n._hasParent(this))
@@ -3188,56 +3142,56 @@ var te = function() {
3188
3142
  this._parentage = Array.isArray(t) ? (t.push(n), t) : t ? [t, n] : n;
3189
3143
  }, e.prototype._removeParent = function(n) {
3190
3144
  var t = this._parentage;
3191
- t === n ? this._parentage = null : Array.isArray(t) && le(t, n);
3145
+ t === n ? this._parentage = null : Array.isArray(t) && se(t, n);
3192
3146
  }, e.prototype.remove = function(n) {
3193
3147
  var t = this._finalizers;
3194
- t && le(t, n), n instanceof e && n._removeParent(this);
3148
+ t && se(t, n), n instanceof e && n._removeParent(this);
3195
3149
  }, e.EMPTY = function() {
3196
3150
  var n = new e();
3197
3151
  return n.closed = !0, n;
3198
3152
  }(), e;
3199
- }(), lt = te.EMPTY;
3200
- function ut(e) {
3201
- return e instanceof te || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
3153
+ }(), st = ne.EMPTY;
3154
+ function ct(e) {
3155
+ return e instanceof ne || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
3202
3156
  }
3203
- function De(e) {
3204
- I(e) ? e() : e.unsubscribe();
3157
+ function Le(e) {
3158
+ O(e) ? e() : e.unsubscribe();
3205
3159
  }
3206
- var st = {
3160
+ var dt = {
3207
3161
  onUnhandledError: null,
3208
3162
  onStoppedNotification: null,
3209
3163
  Promise: void 0,
3210
3164
  useDeprecatedSynchronousErrorHandling: !1,
3211
3165
  useDeprecatedNextContext: !1
3212
- }, jo = {
3166
+ }, Lr = {
3213
3167
  setTimeout: function(e, n) {
3214
- for (var t = [], o = 2; o < arguments.length; o++)
3215
- t[o - 2] = arguments[o];
3216
- return setTimeout.apply(void 0, ie([e, n], ae(t)));
3168
+ for (var t = [], r = 2; r < arguments.length; r++)
3169
+ t[r - 2] = arguments[r];
3170
+ return setTimeout.apply(void 0, ue([e, n], le(t)));
3217
3171
  },
3218
3172
  clearTimeout: function(e) {
3219
3173
  return clearTimeout(e);
3220
3174
  },
3221
3175
  delegate: void 0
3222
3176
  };
3223
- function ct(e) {
3224
- jo.setTimeout(function() {
3177
+ function pt(e) {
3178
+ Lr.setTimeout(function() {
3225
3179
  throw e;
3226
3180
  });
3227
3181
  }
3228
- function je() {
3182
+ function Ue() {
3229
3183
  }
3230
- function re(e) {
3184
+ function ae(e) {
3231
3185
  e();
3232
3186
  }
3233
- var Fe = function(e) {
3234
- z(n, e);
3187
+ var ke = function(e) {
3188
+ W(n, e);
3235
3189
  function n(t) {
3236
- var o = e.call(this) || this;
3237
- return o.isStopped = !1, t ? (o.destination = t, ut(t) && t.add(o)) : o.destination = Ro, o;
3190
+ var r = e.call(this) || this;
3191
+ return r.isStopped = !1, t ? (r.destination = t, ct(t) && t.add(r)) : r.destination = Gr, r;
3238
3192
  }
3239
- return n.create = function(t, o, r) {
3240
- return new be(t, o, r);
3193
+ return n.create = function(t, r, o) {
3194
+ return new Se(t, r, o);
3241
3195
  }, n.prototype.next = function(t) {
3242
3196
  this.isStopped || this._next(t);
3243
3197
  }, n.prototype.error = function(t) {
@@ -3261,11 +3215,11 @@ var Fe = function(e) {
3261
3215
  this.unsubscribe();
3262
3216
  }
3263
3217
  }, n;
3264
- }(te), Lo = Function.prototype.bind;
3265
- function pe(e, n) {
3266
- return Lo.call(e, n);
3218
+ }(ne), Ur = Function.prototype.bind;
3219
+ function ve(e, n) {
3220
+ return Ur.call(e, n);
3267
3221
  }
3268
- var $o = function() {
3222
+ var _r = function() {
3269
3223
  function e(n) {
3270
3224
  this.partialObserver = n;
3271
3225
  }
@@ -3274,16 +3228,16 @@ var $o = function() {
3274
3228
  if (t.next)
3275
3229
  try {
3276
3230
  t.next(n);
3277
- } catch (o) {
3278
- oe(o);
3231
+ } catch (r) {
3232
+ oe(r);
3279
3233
  }
3280
3234
  }, e.prototype.error = function(n) {
3281
3235
  var t = this.partialObserver;
3282
3236
  if (t.error)
3283
3237
  try {
3284
3238
  t.error(n);
3285
- } catch (o) {
3286
- oe(o);
3239
+ } catch (r) {
3240
+ oe(r);
3287
3241
  }
3288
3242
  else
3289
3243
  oe(n);
@@ -3296,66 +3250,66 @@ var $o = function() {
3296
3250
  oe(t);
3297
3251
  }
3298
3252
  }, e;
3299
- }(), be = function(e) {
3300
- z(n, e);
3301
- function n(t, o, r) {
3253
+ }(), Se = function(e) {
3254
+ W(n, e);
3255
+ function n(t, r, o) {
3302
3256
  var a = e.call(this) || this, l;
3303
- if (I(t) || !t)
3257
+ if (O(t) || !t)
3304
3258
  l = {
3305
3259
  next: t ?? void 0,
3306
- error: o ?? void 0,
3307
- complete: r ?? void 0
3260
+ error: r ?? void 0,
3261
+ complete: o ?? void 0
3308
3262
  };
3309
3263
  else {
3310
3264
  var u;
3311
- a && st.useDeprecatedNextContext ? (u = Object.create(t), u.unsubscribe = function() {
3265
+ a && dt.useDeprecatedNextContext ? (u = Object.create(t), u.unsubscribe = function() {
3312
3266
  return a.unsubscribe();
3313
3267
  }, l = {
3314
- next: t.next && pe(t.next, u),
3315
- error: t.error && pe(t.error, u),
3316
- complete: t.complete && pe(t.complete, u)
3268
+ next: t.next && ve(t.next, u),
3269
+ error: t.error && ve(t.error, u),
3270
+ complete: t.complete && ve(t.complete, u)
3317
3271
  }) : l = t;
3318
3272
  }
3319
- return a.destination = new $o(l), a;
3273
+ return a.destination = new _r(l), a;
3320
3274
  }
3321
3275
  return n;
3322
- }(Fe);
3276
+ }(ke);
3323
3277
  function oe(e) {
3324
- ct(e);
3278
+ pt(e);
3325
3279
  }
3326
- function Uo(e) {
3280
+ function Rr(e) {
3327
3281
  throw e;
3328
3282
  }
3329
- var Ro = {
3283
+ var Gr = {
3330
3284
  closed: !0,
3331
- next: je,
3332
- error: Uo,
3333
- complete: je
3334
- }, Me = function() {
3285
+ next: Ue,
3286
+ error: Rr,
3287
+ complete: Ue
3288
+ }, Ee = function() {
3335
3289
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
3336
3290
  }();
3337
- function _o(e) {
3291
+ function Hr(e) {
3338
3292
  return e;
3339
3293
  }
3340
- function Ho(e) {
3341
- return e.length === 0 ? _o : e.length === 1 ? e[0] : function(t) {
3342
- return e.reduce(function(o, r) {
3343
- return r(o);
3294
+ function qr(e) {
3295
+ return e.length === 0 ? Hr : e.length === 1 ? e[0] : function(t) {
3296
+ return e.reduce(function(r, o) {
3297
+ return o(r);
3344
3298
  }, t);
3345
3299
  };
3346
3300
  }
3347
- var _ = function() {
3301
+ var R = function() {
3348
3302
  function e(n) {
3349
3303
  n && (this._subscribe = n);
3350
3304
  }
3351
3305
  return e.prototype.lift = function(n) {
3352
3306
  var t = new e();
3353
3307
  return t.source = this, t.operator = n, t;
3354
- }, e.prototype.subscribe = function(n, t, o) {
3355
- var r = this, a = qo(n) ? n : new be(n, t, o);
3356
- return re(function() {
3357
- var l = r, u = l.operator, p = l.source;
3358
- a.add(u ? u.call(a, p) : p ? r._subscribe(a) : r._trySubscribe(a));
3308
+ }, e.prototype.subscribe = function(n, t, r) {
3309
+ var o = this, a = zr(n) ? n : new Se(n, t, r);
3310
+ return ae(function() {
3311
+ var l = o, u = l.operator, c = l.source;
3312
+ a.add(u ? u.call(a, c) : c ? o._subscribe(a) : o._trySubscribe(a));
3359
3313
  }), a;
3360
3314
  }, e.prototype._trySubscribe = function(n) {
3361
3315
  try {
@@ -3364,164 +3318,164 @@ var _ = function() {
3364
3318
  n.error(t);
3365
3319
  }
3366
3320
  }, e.prototype.forEach = function(n, t) {
3367
- var o = this;
3368
- return t = Le(t), new t(function(r, a) {
3369
- var l = new be({
3321
+ var r = this;
3322
+ return t = _e(t), new t(function(o, a) {
3323
+ var l = new Se({
3370
3324
  next: function(u) {
3371
3325
  try {
3372
3326
  n(u);
3373
- } catch (p) {
3374
- a(p), l.unsubscribe();
3327
+ } catch (c) {
3328
+ a(c), l.unsubscribe();
3375
3329
  }
3376
3330
  },
3377
3331
  error: a,
3378
- complete: r
3332
+ complete: o
3379
3333
  });
3380
- o.subscribe(l);
3334
+ r.subscribe(l);
3381
3335
  });
3382
3336
  }, e.prototype._subscribe = function(n) {
3383
3337
  var t;
3384
3338
  return (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(n);
3385
- }, e.prototype[Me] = function() {
3339
+ }, e.prototype[Ee] = function() {
3386
3340
  return this;
3387
3341
  }, e.prototype.pipe = function() {
3388
3342
  for (var n = [], t = 0; t < arguments.length; t++)
3389
3343
  n[t] = arguments[t];
3390
- return Ho(n)(this);
3344
+ return qr(n)(this);
3391
3345
  }, e.prototype.toPromise = function(n) {
3392
3346
  var t = this;
3393
- return n = Le(n), new n(function(o, r) {
3347
+ return n = _e(n), new n(function(r, o) {
3394
3348
  var a;
3395
3349
  t.subscribe(function(l) {
3396
3350
  return a = l;
3397
3351
  }, function(l) {
3398
- return r(l);
3352
+ return o(l);
3399
3353
  }, function() {
3400
- return o(a);
3354
+ return r(a);
3401
3355
  });
3402
3356
  });
3403
3357
  }, e.create = function(n) {
3404
3358
  return new e(n);
3405
3359
  }, e;
3406
3360
  }();
3407
- function Le(e) {
3361
+ function _e(e) {
3408
3362
  var n;
3409
- return (n = e ?? st.Promise) !== null && n !== void 0 ? n : Promise;
3363
+ return (n = e ?? dt.Promise) !== null && n !== void 0 ? n : Promise;
3410
3364
  }
3411
- function Go(e) {
3412
- return e && I(e.next) && I(e.error) && I(e.complete);
3365
+ function Wr(e) {
3366
+ return e && O(e.next) && O(e.error) && O(e.complete);
3413
3367
  }
3414
- function qo(e) {
3415
- return e && e instanceof Fe || Go(e) && ut(e);
3368
+ function zr(e) {
3369
+ return e && e instanceof ke || Wr(e) && ct(e);
3416
3370
  }
3417
- function zo(e) {
3418
- return I(e == null ? void 0 : e.lift);
3371
+ function Yr(e) {
3372
+ return O(e == null ? void 0 : e.lift);
3419
3373
  }
3420
- function Pe(e) {
3374
+ function Ae(e) {
3421
3375
  return function(n) {
3422
- if (zo(n))
3376
+ if (Yr(n))
3423
3377
  return n.lift(function(t) {
3424
3378
  try {
3425
3379
  return e(t, this);
3426
- } catch (o) {
3427
- this.error(o);
3380
+ } catch (r) {
3381
+ this.error(r);
3428
3382
  }
3429
3383
  });
3430
3384
  throw new TypeError("Unable to lift unknown Observable type");
3431
3385
  };
3432
3386
  }
3433
- function dt(e, n, t, o, r) {
3434
- return new Wo(e, n, t, o, r);
3387
+ function ft(e, n, t, r, o) {
3388
+ return new Zr(e, n, t, r, o);
3435
3389
  }
3436
- var Wo = function(e) {
3437
- z(n, e);
3438
- function n(t, o, r, a, l, u) {
3439
- var p = e.call(this, t) || this;
3440
- return p.onFinalize = l, p.shouldUnsubscribe = u, p._next = o ? function(i) {
3390
+ var Zr = function(e) {
3391
+ W(n, e);
3392
+ function n(t, r, o, a, l, u) {
3393
+ var c = e.call(this, t) || this;
3394
+ return c.onFinalize = l, c.shouldUnsubscribe = u, c._next = r ? function(i) {
3441
3395
  try {
3442
- o(i);
3443
- } catch (d) {
3444
- t.error(d);
3396
+ r(i);
3397
+ } catch (p) {
3398
+ t.error(p);
3445
3399
  }
3446
- } : e.prototype._next, p._error = a ? function(i) {
3400
+ } : e.prototype._next, c._error = a ? function(i) {
3447
3401
  try {
3448
3402
  a(i);
3449
- } catch (d) {
3450
- t.error(d);
3403
+ } catch (p) {
3404
+ t.error(p);
3451
3405
  } finally {
3452
3406
  this.unsubscribe();
3453
3407
  }
3454
- } : e.prototype._error, p._complete = r ? function() {
3408
+ } : e.prototype._error, c._complete = o ? function() {
3455
3409
  try {
3456
- r();
3410
+ o();
3457
3411
  } catch (i) {
3458
3412
  t.error(i);
3459
3413
  } finally {
3460
3414
  this.unsubscribe();
3461
3415
  }
3462
- } : e.prototype._complete, p;
3416
+ } : e.prototype._complete, c;
3463
3417
  }
3464
3418
  return n.prototype.unsubscribe = function() {
3465
3419
  var t;
3466
3420
  if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
3467
- var o = this.closed;
3468
- e.prototype.unsubscribe.call(this), !o && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
3421
+ var r = this.closed;
3422
+ e.prototype.unsubscribe.call(this), !r && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
3469
3423
  }
3470
3424
  }, n;
3471
- }(Fe), Qo = it(function(e) {
3425
+ }(ke), Jr = ut(function(e) {
3472
3426
  return function() {
3473
3427
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
3474
3428
  };
3475
- }), pt = function(e) {
3476
- z(n, e);
3429
+ }), vt = function(e) {
3430
+ W(n, e);
3477
3431
  function n() {
3478
3432
  var t = e.call(this) || this;
3479
3433
  return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
3480
3434
  }
3481
3435
  return n.prototype.lift = function(t) {
3482
- var o = new $e(this, this);
3483
- return o.operator = t, o;
3436
+ var r = new Re(this, this);
3437
+ return r.operator = t, r;
3484
3438
  }, n.prototype._throwIfClosed = function() {
3485
3439
  if (this.closed)
3486
- throw new Qo();
3440
+ throw new Jr();
3487
3441
  }, n.prototype.next = function(t) {
3488
- var o = this;
3489
- re(function() {
3490
- var r, a;
3491
- if (o._throwIfClosed(), !o.isStopped) {
3492
- o.currentObservers || (o.currentObservers = Array.from(o.observers));
3442
+ var r = this;
3443
+ ae(function() {
3444
+ var o, a;
3445
+ if (r._throwIfClosed(), !r.isStopped) {
3446
+ r.currentObservers || (r.currentObservers = Array.from(r.observers));
3493
3447
  try {
3494
- for (var l = X(o.currentObservers), u = l.next(); !u.done; u = l.next()) {
3495
- var p = u.value;
3496
- p.next(t);
3448
+ for (var l = X(r.currentObservers), u = l.next(); !u.done; u = l.next()) {
3449
+ var c = u.value;
3450
+ c.next(t);
3497
3451
  }
3498
3452
  } catch (i) {
3499
- r = { error: i };
3453
+ o = { error: i };
3500
3454
  } finally {
3501
3455
  try {
3502
3456
  u && !u.done && (a = l.return) && a.call(l);
3503
3457
  } finally {
3504
- if (r) throw r.error;
3458
+ if (o) throw o.error;
3505
3459
  }
3506
3460
  }
3507
3461
  }
3508
3462
  });
3509
3463
  }, n.prototype.error = function(t) {
3510
- var o = this;
3511
- re(function() {
3512
- if (o._throwIfClosed(), !o.isStopped) {
3513
- o.hasError = o.isStopped = !0, o.thrownError = t;
3514
- for (var r = o.observers; r.length; )
3515
- r.shift().error(t);
3464
+ var r = this;
3465
+ ae(function() {
3466
+ if (r._throwIfClosed(), !r.isStopped) {
3467
+ r.hasError = r.isStopped = !0, r.thrownError = t;
3468
+ for (var o = r.observers; o.length; )
3469
+ o.shift().error(t);
3516
3470
  }
3517
3471
  });
3518
3472
  }, n.prototype.complete = function() {
3519
3473
  var t = this;
3520
- re(function() {
3474
+ ae(function() {
3521
3475
  if (t._throwIfClosed(), !t.isStopped) {
3522
3476
  t.isStopped = !0;
3523
- for (var o = t.observers; o.length; )
3524
- o.shift().complete();
3477
+ for (var r = t.observers; r.length; )
3478
+ r.shift().complete();
3525
3479
  }
3526
3480
  });
3527
3481
  }, n.prototype.unsubscribe = function() {
@@ -3538,184 +3492,184 @@ var Wo = function(e) {
3538
3492
  }, n.prototype._subscribe = function(t) {
3539
3493
  return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
3540
3494
  }, n.prototype._innerSubscribe = function(t) {
3541
- var o = this, r = this, a = r.hasError, l = r.isStopped, u = r.observers;
3542
- return a || l ? lt : (this.currentObservers = null, u.push(t), new te(function() {
3543
- o.currentObservers = null, le(u, t);
3495
+ var r = this, o = this, a = o.hasError, l = o.isStopped, u = o.observers;
3496
+ return a || l ? st : (this.currentObservers = null, u.push(t), new ne(function() {
3497
+ r.currentObservers = null, se(u, t);
3544
3498
  }));
3545
3499
  }, n.prototype._checkFinalizedStatuses = function(t) {
3546
- var o = this, r = o.hasError, a = o.thrownError, l = o.isStopped;
3547
- r ? t.error(a) : l && t.complete();
3500
+ var r = this, o = r.hasError, a = r.thrownError, l = r.isStopped;
3501
+ o ? t.error(a) : l && t.complete();
3548
3502
  }, n.prototype.asObservable = function() {
3549
- var t = new _();
3503
+ var t = new R();
3550
3504
  return t.source = this, t;
3551
- }, n.create = function(t, o) {
3552
- return new $e(t, o);
3505
+ }, n.create = function(t, r) {
3506
+ return new Re(t, r);
3553
3507
  }, n;
3554
- }(_), $e = function(e) {
3555
- z(n, e);
3556
- function n(t, o) {
3557
- var r = e.call(this) || this;
3558
- return r.destination = t, r.source = o, r;
3508
+ }(R), Re = function(e) {
3509
+ W(n, e);
3510
+ function n(t, r) {
3511
+ var o = e.call(this) || this;
3512
+ return o.destination = t, o.source = r, o;
3559
3513
  }
3560
3514
  return n.prototype.next = function(t) {
3561
- var o, r;
3562
- (r = (o = this.destination) === null || o === void 0 ? void 0 : o.next) === null || r === void 0 || r.call(o, t);
3515
+ var r, o;
3516
+ (o = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || o === void 0 || o.call(r, t);
3563
3517
  }, n.prototype.error = function(t) {
3564
- var o, r;
3565
- (r = (o = this.destination) === null || o === void 0 ? void 0 : o.error) === null || r === void 0 || r.call(o, t);
3518
+ var r, o;
3519
+ (o = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || o === void 0 || o.call(r, t);
3566
3520
  }, n.prototype.complete = function() {
3567
- var t, o;
3568
- (o = (t = this.destination) === null || t === void 0 ? void 0 : t.complete) === null || o === void 0 || o.call(t);
3521
+ var t, r;
3522
+ (r = (t = this.destination) === null || t === void 0 ? void 0 : t.complete) === null || r === void 0 || r.call(t);
3569
3523
  }, n.prototype._subscribe = function(t) {
3570
- var o, r;
3571
- return (r = (o = this.source) === null || o === void 0 ? void 0 : o.subscribe(t)) !== null && r !== void 0 ? r : lt;
3524
+ var r, o;
3525
+ return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t)) !== null && o !== void 0 ? o : st;
3572
3526
  }, n;
3573
- }(pt), Yo = {
3527
+ }(vt), Qr = {
3574
3528
  now: function() {
3575
3529
  return Date.now();
3576
3530
  },
3577
3531
  delegate: void 0
3578
- }, Zo = function(e) {
3579
- z(n, e);
3580
- function n(t, o) {
3532
+ }, Xr = function(e) {
3533
+ W(n, e);
3534
+ function n(t, r) {
3581
3535
  return e.call(this) || this;
3582
3536
  }
3583
- return n.prototype.schedule = function(t, o) {
3537
+ return n.prototype.schedule = function(t, r) {
3584
3538
  return this;
3585
3539
  }, n;
3586
- }(te), Ue = {
3540
+ }(ne), Ge = {
3587
3541
  setInterval: function(e, n) {
3588
- for (var t = [], o = 2; o < arguments.length; o++)
3589
- t[o - 2] = arguments[o];
3590
- return setInterval.apply(void 0, ie([e, n], ae(t)));
3542
+ for (var t = [], r = 2; r < arguments.length; r++)
3543
+ t[r - 2] = arguments[r];
3544
+ return setInterval.apply(void 0, ue([e, n], le(t)));
3591
3545
  },
3592
3546
  clearInterval: function(e) {
3593
3547
  return clearInterval(e);
3594
3548
  },
3595
3549
  delegate: void 0
3596
- }, Xo = function(e) {
3597
- z(n, e);
3598
- function n(t, o) {
3599
- var r = e.call(this, t, o) || this;
3600
- return r.scheduler = t, r.work = o, r.pending = !1, r;
3550
+ }, Kr = function(e) {
3551
+ W(n, e);
3552
+ function n(t, r) {
3553
+ var o = e.call(this, t, r) || this;
3554
+ return o.scheduler = t, o.work = r, o.pending = !1, o;
3601
3555
  }
3602
- return n.prototype.schedule = function(t, o) {
3603
- var r;
3604
- if (o === void 0 && (o = 0), this.closed)
3556
+ return n.prototype.schedule = function(t, r) {
3557
+ var o;
3558
+ if (r === void 0 && (r = 0), this.closed)
3605
3559
  return this;
3606
3560
  this.state = t;
3607
3561
  var a = this.id, l = this.scheduler;
3608
- 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;
3609
- }, n.prototype.requestAsyncId = function(t, o, r) {
3610
- return r === void 0 && (r = 0), Ue.setInterval(t.flush.bind(t, this), r);
3611
- }, n.prototype.recycleAsyncId = function(t, o, r) {
3612
- if (r === void 0 && (r = 0), r != null && this.delay === r && this.pending === !1)
3613
- return o;
3614
- o != null && Ue.clearInterval(o);
3615
- }, n.prototype.execute = function(t, o) {
3562
+ return a != null && (this.id = this.recycleAsyncId(l, a, r)), this.pending = !0, this.delay = r, this.id = (o = this.id) !== null && o !== void 0 ? o : this.requestAsyncId(l, this.id, r), this;
3563
+ }, n.prototype.requestAsyncId = function(t, r, o) {
3564
+ return o === void 0 && (o = 0), Ge.setInterval(t.flush.bind(t, this), o);
3565
+ }, n.prototype.recycleAsyncId = function(t, r, o) {
3566
+ if (o === void 0 && (o = 0), o != null && this.delay === o && this.pending === !1)
3567
+ return r;
3568
+ r != null && Ge.clearInterval(r);
3569
+ }, n.prototype.execute = function(t, r) {
3616
3570
  if (this.closed)
3617
3571
  return new Error("executing a cancelled action");
3618
3572
  this.pending = !1;
3619
- var r = this._execute(t, o);
3620
- if (r)
3621
- return r;
3573
+ var o = this._execute(t, r);
3574
+ if (o)
3575
+ return o;
3622
3576
  this.pending === !1 && this.id != null && (this.id = this.recycleAsyncId(this.scheduler, this.id, null));
3623
- }, n.prototype._execute = function(t, o) {
3624
- var r = !1, a;
3577
+ }, n.prototype._execute = function(t, r) {
3578
+ var o = !1, a;
3625
3579
  try {
3626
3580
  this.work(t);
3627
3581
  } catch (l) {
3628
- r = !0, a = l || new Error("Scheduled action threw falsy error");
3582
+ o = !0, a = l || new Error("Scheduled action threw falsy error");
3629
3583
  }
3630
- if (r)
3584
+ if (o)
3631
3585
  return this.unsubscribe(), a;
3632
3586
  }, n.prototype.unsubscribe = function() {
3633
3587
  if (!this.closed) {
3634
- var t = this, o = t.id, r = t.scheduler, a = r.actions;
3635
- this.work = this.state = this.scheduler = null, this.pending = !1, le(a, this), o != null && (this.id = this.recycleAsyncId(r, o, null)), this.delay = null, e.prototype.unsubscribe.call(this);
3588
+ var t = this, r = t.id, o = t.scheduler, a = o.actions;
3589
+ this.work = this.state = this.scheduler = null, this.pending = !1, se(a, this), r != null && (this.id = this.recycleAsyncId(o, r, null)), this.delay = null, e.prototype.unsubscribe.call(this);
3636
3590
  }
3637
3591
  }, n;
3638
- }(Zo), Re = function() {
3592
+ }(Xr), He = function() {
3639
3593
  function e(n, t) {
3640
3594
  t === void 0 && (t = e.now), this.schedulerActionCtor = n, this.now = t;
3641
3595
  }
3642
- return e.prototype.schedule = function(n, t, o) {
3643
- return t === void 0 && (t = 0), new this.schedulerActionCtor(this, n).schedule(o, t);
3644
- }, e.now = Yo.now, e;
3645
- }(), Ko = function(e) {
3646
- z(n, e);
3647
- function n(t, o) {
3648
- o === void 0 && (o = Re.now);
3649
- var r = e.call(this, t, o) || this;
3650
- return r.actions = [], r._active = !1, r;
3596
+ return e.prototype.schedule = function(n, t, r) {
3597
+ return t === void 0 && (t = 0), new this.schedulerActionCtor(this, n).schedule(r, t);
3598
+ }, e.now = Qr.now, e;
3599
+ }(), eo = function(e) {
3600
+ W(n, e);
3601
+ function n(t, r) {
3602
+ r === void 0 && (r = He.now);
3603
+ var o = e.call(this, t, r) || this;
3604
+ return o.actions = [], o._active = !1, o;
3651
3605
  }
3652
3606
  return n.prototype.flush = function(t) {
3653
- var o = this.actions;
3607
+ var r = this.actions;
3654
3608
  if (this._active) {
3655
- o.push(t);
3609
+ r.push(t);
3656
3610
  return;
3657
3611
  }
3658
- var r;
3612
+ var o;
3659
3613
  this._active = !0;
3660
3614
  do
3661
- if (r = t.execute(t.state, t.delay))
3615
+ if (o = t.execute(t.state, t.delay))
3662
3616
  break;
3663
- while (t = o.shift());
3664
- if (this._active = !1, r) {
3665
- for (; t = o.shift(); )
3617
+ while (t = r.shift());
3618
+ if (this._active = !1, o) {
3619
+ for (; t = r.shift(); )
3666
3620
  t.unsubscribe();
3667
- throw r;
3621
+ throw o;
3668
3622
  }
3669
3623
  }, n;
3670
- }(Re), Jo = new Ko(Xo);
3671
- function er(e) {
3672
- return e && I(e.schedule);
3624
+ }(He), to = new eo(Kr);
3625
+ function no(e) {
3626
+ return e && O(e.schedule);
3673
3627
  }
3674
- function tr(e) {
3628
+ function ro(e) {
3675
3629
  return e[e.length - 1];
3676
3630
  }
3677
- function nr(e) {
3678
- return er(tr(e)) ? e.pop() : void 0;
3631
+ function oo(e) {
3632
+ return no(ro(e)) ? e.pop() : void 0;
3679
3633
  }
3680
- var ft = function(e) {
3634
+ var yt = function(e) {
3681
3635
  return e && typeof e.length == "number" && typeof e != "function";
3682
3636
  };
3683
- function vt(e) {
3684
- return I(e == null ? void 0 : e.then);
3685
- }
3686
- function yt(e) {
3687
- return I(e[Me]);
3688
- }
3689
3637
  function mt(e) {
3690
- return Symbol.asyncIterator && I(e == null ? void 0 : e[Symbol.asyncIterator]);
3638
+ return O(e == null ? void 0 : e.then);
3691
3639
  }
3692
3640
  function ht(e) {
3641
+ return O(e[Ee]);
3642
+ }
3643
+ function bt(e) {
3644
+ return Symbol.asyncIterator && O(e == null ? void 0 : e[Symbol.asyncIterator]);
3645
+ }
3646
+ function gt(e) {
3693
3647
  return new TypeError("You provided " + (e !== null && typeof e == "object" ? "an invalid object" : "'" + e + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
3694
3648
  }
3695
- function or() {
3649
+ function ao() {
3696
3650
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
3697
3651
  }
3698
- var bt = or();
3699
- function gt(e) {
3700
- return I(e == null ? void 0 : e[bt]);
3652
+ var St = ao();
3653
+ function wt(e) {
3654
+ return O(e == null ? void 0 : e[St]);
3701
3655
  }
3702
- function St(e) {
3703
- return Oo(this, arguments, function() {
3704
- var t, o, r, a;
3705
- return at(this, function(l) {
3656
+ function Ct(e) {
3657
+ return Dr(this, arguments, function() {
3658
+ var t, r, o, a;
3659
+ return lt(this, function(l) {
3706
3660
  switch (l.label) {
3707
3661
  case 0:
3708
3662
  t = e.getReader(), l.label = 1;
3709
3663
  case 1:
3710
3664
  l.trys.push([1, , 9, 10]), l.label = 2;
3711
3665
  case 2:
3712
- return [4, Y(t.read())];
3666
+ return [4, J(t.read())];
3713
3667
  case 3:
3714
- return o = l.sent(), r = o.value, a = o.done, a ? [4, Y(void 0)] : [3, 5];
3668
+ return r = l.sent(), o = r.value, a = r.done, a ? [4, J(void 0)] : [3, 5];
3715
3669
  case 4:
3716
3670
  return [2, l.sent()];
3717
3671
  case 5:
3718
- return [4, Y(r)];
3672
+ return [4, J(o)];
3719
3673
  case 6:
3720
3674
  return [4, l.sent()];
3721
3675
  case 7:
@@ -3730,57 +3684,57 @@ function St(e) {
3730
3684
  });
3731
3685
  });
3732
3686
  }
3733
- function Ct(e) {
3734
- return I(e == null ? void 0 : e.getReader);
3687
+ function xt(e) {
3688
+ return O(e == null ? void 0 : e.getReader);
3735
3689
  }
3736
- function Ee(e) {
3737
- if (e instanceof _)
3690
+ function Pe(e) {
3691
+ if (e instanceof R)
3738
3692
  return e;
3739
3693
  if (e != null) {
3694
+ if (ht(e))
3695
+ return io(e);
3740
3696
  if (yt(e))
3741
- return rr(e);
3742
- if (ft(e))
3743
- return ar(e);
3744
- if (vt(e))
3745
- return ir(e);
3697
+ return lo(e);
3746
3698
  if (mt(e))
3747
- return wt(e);
3748
- if (gt(e))
3749
- return lr(e);
3750
- if (Ct(e))
3751
- return ur(e);
3752
- }
3753
- throw ht(e);
3699
+ return uo(e);
3700
+ if (bt(e))
3701
+ return Vt(e);
3702
+ if (wt(e))
3703
+ return so(e);
3704
+ if (xt(e))
3705
+ return co(e);
3706
+ }
3707
+ throw gt(e);
3754
3708
  }
3755
- function rr(e) {
3756
- return new _(function(n) {
3757
- var t = e[Me]();
3758
- if (I(t.subscribe))
3709
+ function io(e) {
3710
+ return new R(function(n) {
3711
+ var t = e[Ee]();
3712
+ if (O(t.subscribe))
3759
3713
  return t.subscribe(n);
3760
3714
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
3761
3715
  });
3762
3716
  }
3763
- function ar(e) {
3764
- return new _(function(n) {
3717
+ function lo(e) {
3718
+ return new R(function(n) {
3765
3719
  for (var t = 0; t < e.length && !n.closed; t++)
3766
3720
  n.next(e[t]);
3767
3721
  n.complete();
3768
3722
  });
3769
3723
  }
3770
- function ir(e) {
3771
- return new _(function(n) {
3724
+ function uo(e) {
3725
+ return new R(function(n) {
3772
3726
  e.then(function(t) {
3773
3727
  n.closed || (n.next(t), n.complete());
3774
3728
  }, function(t) {
3775
3729
  return n.error(t);
3776
- }).then(null, ct);
3730
+ }).then(null, pt);
3777
3731
  });
3778
3732
  }
3779
- function lr(e) {
3780
- return new _(function(n) {
3781
- var t, o;
3733
+ function so(e) {
3734
+ return new R(function(n) {
3735
+ var t, r;
3782
3736
  try {
3783
- for (var r = X(e), a = r.next(); !a.done; a = r.next()) {
3737
+ for (var o = X(e), a = o.next(); !a.done; a = o.next()) {
3784
3738
  var l = a.value;
3785
3739
  if (n.next(l), n.closed)
3786
3740
  return;
@@ -3789,7 +3743,7 @@ function lr(e) {
3789
3743
  t = { error: u };
3790
3744
  } finally {
3791
3745
  try {
3792
- a && !a.done && (o = r.return) && o.call(r);
3746
+ a && !a.done && (r = o.return) && r.call(o);
3793
3747
  } finally {
3794
3748
  if (t) throw t.error;
3795
3749
  }
@@ -3797,45 +3751,45 @@ function lr(e) {
3797
3751
  n.complete();
3798
3752
  });
3799
3753
  }
3800
- function wt(e) {
3801
- return new _(function(n) {
3802
- sr(e, n).catch(function(t) {
3754
+ function Vt(e) {
3755
+ return new R(function(n) {
3756
+ po(e, n).catch(function(t) {
3803
3757
  return n.error(t);
3804
3758
  });
3805
3759
  });
3806
3760
  }
3807
- function ur(e) {
3808
- return wt(St(e));
3761
+ function co(e) {
3762
+ return Vt(Ct(e));
3809
3763
  }
3810
- function sr(e, n) {
3811
- var t, o, r, a;
3812
- return Io(this, void 0, void 0, function() {
3764
+ function po(e, n) {
3765
+ var t, r, o, a;
3766
+ return jr(this, void 0, void 0, function() {
3813
3767
  var l, u;
3814
- return at(this, function(p) {
3815
- switch (p.label) {
3768
+ return lt(this, function(c) {
3769
+ switch (c.label) {
3816
3770
  case 0:
3817
- p.trys.push([0, 5, 6, 11]), t = Do(e), p.label = 1;
3771
+ c.trys.push([0, 5, 6, 11]), t = $r(e), c.label = 1;
3818
3772
  case 1:
3819
3773
  return [4, t.next()];
3820
3774
  case 2:
3821
- if (o = p.sent(), !!o.done) return [3, 4];
3822
- if (l = o.value, n.next(l), n.closed)
3775
+ if (r = c.sent(), !!r.done) return [3, 4];
3776
+ if (l = r.value, n.next(l), n.closed)
3823
3777
  return [2];
3824
- p.label = 3;
3778
+ c.label = 3;
3825
3779
  case 3:
3826
3780
  return [3, 1];
3827
3781
  case 4:
3828
3782
  return [3, 11];
3829
3783
  case 5:
3830
- return u = p.sent(), r = { error: u }, [3, 11];
3784
+ return u = c.sent(), o = { error: u }, [3, 11];
3831
3785
  case 6:
3832
- return p.trys.push([6, , 9, 10]), o && !o.done && (a = t.return) ? [4, a.call(t)] : [3, 8];
3786
+ return c.trys.push([6, , 9, 10]), r && !r.done && (a = t.return) ? [4, a.call(t)] : [3, 8];
3833
3787
  case 7:
3834
- p.sent(), p.label = 8;
3788
+ c.sent(), c.label = 8;
3835
3789
  case 8:
3836
3790
  return [3, 10];
3837
3791
  case 9:
3838
- if (r) throw r.error;
3792
+ if (o) throw o.error;
3839
3793
  return [7];
3840
3794
  case 10:
3841
3795
  return [7];
@@ -3845,60 +3799,60 @@ function sr(e, n) {
3845
3799
  });
3846
3800
  });
3847
3801
  }
3848
- function W(e, n, t, o, r) {
3849
- o === void 0 && (o = 0), r === void 0 && (r = !1);
3802
+ function z(e, n, t, r, o) {
3803
+ r === void 0 && (r = 0), o === void 0 && (o = !1);
3850
3804
  var a = n.schedule(function() {
3851
- t(), r ? e.add(this.schedule(null, o)) : this.unsubscribe();
3852
- }, o);
3853
- if (e.add(a), !r)
3805
+ t(), o ? e.add(this.schedule(null, r)) : this.unsubscribe();
3806
+ }, r);
3807
+ if (e.add(a), !o)
3854
3808
  return a;
3855
3809
  }
3856
- function xt(e, n) {
3857
- return n === void 0 && (n = 0), Pe(function(t, o) {
3858
- t.subscribe(dt(o, function(r) {
3859
- return W(o, e, function() {
3860
- return o.next(r);
3810
+ function Tt(e, n) {
3811
+ return n === void 0 && (n = 0), Ae(function(t, r) {
3812
+ t.subscribe(ft(r, function(o) {
3813
+ return z(r, e, function() {
3814
+ return r.next(o);
3861
3815
  }, n);
3862
3816
  }, function() {
3863
- return W(o, e, function() {
3864
- return o.complete();
3817
+ return z(r, e, function() {
3818
+ return r.complete();
3865
3819
  }, n);
3866
- }, function(r) {
3867
- return W(o, e, function() {
3868
- return o.error(r);
3820
+ }, function(o) {
3821
+ return z(r, e, function() {
3822
+ return r.error(o);
3869
3823
  }, n);
3870
3824
  }));
3871
3825
  });
3872
3826
  }
3873
- function Vt(e, n) {
3874
- return n === void 0 && (n = 0), Pe(function(t, o) {
3875
- o.add(e.schedule(function() {
3876
- return t.subscribe(o);
3827
+ function Bt(e, n) {
3828
+ return n === void 0 && (n = 0), Ae(function(t, r) {
3829
+ r.add(e.schedule(function() {
3830
+ return t.subscribe(r);
3877
3831
  }, n));
3878
3832
  });
3879
3833
  }
3880
- function cr(e, n) {
3881
- return Ee(e).pipe(Vt(n), xt(n));
3834
+ function fo(e, n) {
3835
+ return Pe(e).pipe(Bt(n), Tt(n));
3882
3836
  }
3883
- function dr(e, n) {
3884
- return Ee(e).pipe(Vt(n), xt(n));
3837
+ function vo(e, n) {
3838
+ return Pe(e).pipe(Bt(n), Tt(n));
3885
3839
  }
3886
- function pr(e, n) {
3887
- return new _(function(t) {
3888
- var o = 0;
3840
+ function yo(e, n) {
3841
+ return new R(function(t) {
3842
+ var r = 0;
3889
3843
  return n.schedule(function() {
3890
- o === e.length ? t.complete() : (t.next(e[o++]), t.closed || this.schedule());
3844
+ r === e.length ? t.complete() : (t.next(e[r++]), t.closed || this.schedule());
3891
3845
  });
3892
3846
  });
3893
3847
  }
3894
- function fr(e, n) {
3895
- return new _(function(t) {
3896
- var o;
3897
- return W(t, n, function() {
3898
- o = e[bt](), W(t, n, function() {
3899
- var r, a, l;
3848
+ function mo(e, n) {
3849
+ return new R(function(t) {
3850
+ var r;
3851
+ return z(t, n, function() {
3852
+ r = e[St](), z(t, n, function() {
3853
+ var o, a, l;
3900
3854
  try {
3901
- r = o.next(), a = r.value, l = r.done;
3855
+ o = r.next(), a = o.value, l = o.done;
3902
3856
  } catch (u) {
3903
3857
  t.error(u);
3904
3858
  return;
@@ -3906,188 +3860,188 @@ function fr(e, n) {
3906
3860
  l ? t.complete() : t.next(a);
3907
3861
  }, 0, !0);
3908
3862
  }), function() {
3909
- return I(o == null ? void 0 : o.return) && o.return();
3863
+ return O(r == null ? void 0 : r.return) && r.return();
3910
3864
  };
3911
3865
  });
3912
3866
  }
3913
- function Tt(e, n) {
3867
+ function Ft(e, n) {
3914
3868
  if (!e)
3915
3869
  throw new Error("Iterable cannot be null");
3916
- return new _(function(t) {
3917
- W(t, n, function() {
3918
- var o = e[Symbol.asyncIterator]();
3919
- W(t, n, function() {
3920
- o.next().then(function(r) {
3921
- r.done ? t.complete() : t.next(r.value);
3870
+ return new R(function(t) {
3871
+ z(t, n, function() {
3872
+ var r = e[Symbol.asyncIterator]();
3873
+ z(t, n, function() {
3874
+ r.next().then(function(o) {
3875
+ o.done ? t.complete() : t.next(o.value);
3922
3876
  });
3923
3877
  }, 0, !0);
3924
3878
  });
3925
3879
  });
3926
3880
  }
3927
- function vr(e, n) {
3928
- return Tt(St(e), n);
3881
+ function ho(e, n) {
3882
+ return Ft(Ct(e), n);
3929
3883
  }
3930
- function yr(e, n) {
3884
+ function bo(e, n) {
3931
3885
  if (e != null) {
3886
+ if (ht(e))
3887
+ return fo(e, n);
3932
3888
  if (yt(e))
3933
- return cr(e, n);
3934
- if (ft(e))
3935
- return pr(e, n);
3936
- if (vt(e))
3937
- return dr(e, n);
3889
+ return yo(e, n);
3938
3890
  if (mt(e))
3939
- return Tt(e, n);
3940
- if (gt(e))
3941
- return fr(e, n);
3942
- if (Ct(e))
3943
- return vr(e, n);
3944
- }
3945
- throw ht(e);
3891
+ return vo(e, n);
3892
+ if (bt(e))
3893
+ return Ft(e, n);
3894
+ if (wt(e))
3895
+ return mo(e, n);
3896
+ if (xt(e))
3897
+ return ho(e, n);
3898
+ }
3899
+ throw gt(e);
3946
3900
  }
3947
- function mr(e, n) {
3948
- return n ? yr(e, n) : Ee(e);
3901
+ function go(e, n) {
3902
+ return n ? bo(e, n) : Pe(e);
3949
3903
  }
3950
- function hr() {
3904
+ function So() {
3951
3905
  for (var e = [], n = 0; n < arguments.length; n++)
3952
3906
  e[n] = arguments[n];
3953
- var t = nr(e);
3954
- return mr(e, t);
3907
+ var t = oo(e);
3908
+ return go(e, t);
3955
3909
  }
3956
- function br(e, n) {
3957
- return n === void 0 && (n = Jo), Pe(function(t, o) {
3958
- var r = null, a = null, l = null, u = function() {
3959
- if (r) {
3960
- r.unsubscribe(), r = null;
3910
+ function wo(e, n) {
3911
+ return n === void 0 && (n = to), Ae(function(t, r) {
3912
+ var o = null, a = null, l = null, u = function() {
3913
+ if (o) {
3914
+ o.unsubscribe(), o = null;
3961
3915
  var i = a;
3962
- a = null, o.next(i);
3916
+ a = null, r.next(i);
3963
3917
  }
3964
3918
  };
3965
- function p() {
3966
- var i = l + e, d = n.now();
3967
- if (d < i) {
3968
- r = this.schedule(void 0, i - d), o.add(r);
3919
+ function c() {
3920
+ var i = l + e, p = n.now();
3921
+ if (p < i) {
3922
+ o = this.schedule(void 0, i - p), r.add(o);
3969
3923
  return;
3970
3924
  }
3971
3925
  u();
3972
3926
  }
3973
- t.subscribe(dt(o, function(i) {
3974
- a = i, l = n.now(), r || (r = n.schedule(p, e), o.add(r));
3927
+ t.subscribe(ft(r, function(i) {
3928
+ a = i, l = n.now(), o || (o = n.schedule(c, e), r.add(o));
3975
3929
  }, function() {
3976
- u(), o.complete();
3930
+ u(), r.complete();
3977
3931
  }, void 0, function() {
3978
- a = r = null;
3932
+ a = o = null;
3979
3933
  }));
3980
3934
  });
3981
3935
  }
3982
- const fe = /* @__PURE__ */ q({
3936
+ const ye = /* @__PURE__ */ q({
3983
3937
  name: "FPropertyEditor",
3984
- props: qe,
3938
+ props: Ye,
3985
3939
  emits: ["propertyEditorValueChanged"],
3986
3940
  setup(e, n) {
3987
- const t = y(kn), o = y(""), r = y("const"), a = y([]), l = y(!1);
3941
+ const t = y(On), r = y(""), o = y("const"), a = y([]), l = y(!1);
3988
3942
  let u;
3989
- const p = y(""), i = y(""), d = y([]);
3990
- let c;
3943
+ const c = y(""), i = y(""), p = y([]);
3944
+ let d;
3991
3945
  const f = y([]), s = y("是");
3992
3946
  y("");
3993
- const v = y(!1), h = y("<span class='f-icon f-icon-more-horizontal'></span>"), C = y(!1), x = y([]), {
3947
+ const v = y(!1), h = y("<span class='f-icon f-icon-more-horizontal'></span>"), S = y(!1), C = y([]), {
3994
3948
  numberConstValue: A,
3995
3949
  bindVariableValue: E,
3996
3950
  dataStatesBindValue: w,
3997
3951
  dataStatesValueArray: B,
3998
3952
  constEnumBindValue: b,
3999
3953
  setValue: T
4000
- } = ko(t, a, r, c, s, o, v), {
4001
- updateData: P,
4002
- changeState: $,
4003
- prefix: Q,
4004
- propertyEditorValueChange: R
4005
- } = No(n, t, b, a, k, f, c, s, B, o, C, r);
3954
+ } = Or(t, a, o, d, s, r, v), {
3955
+ updateData: k,
3956
+ changeState: L,
3957
+ prefix: Y,
3958
+ propertyEditorValueChange: _
3959
+ } = Ir(n, t, b, a, P, f, d, s, B, r, S, o);
4006
3960
  function K() {
4007
- x.value = An.value.filter((m) => t.value.editorOptions.types.includes(m.id));
3961
+ C.value = Nn.value.filter((m) => t.value.editorOptions.types.includes(m.id));
4008
3962
  }
4009
3963
  function M() {
4010
- r.value = F(x.value.find((m) => m.id === t.value.propertyValue.type));
3964
+ o.value = F(C.value.find((m) => m.id === t.value.propertyValue.type));
3965
+ }
3966
+ function j() {
3967
+ M(), o.value.id === "variable" && t.value.propertyValue.value === void 0 && (t.value.propertyValue = F(P.value.variableValue)), P.value[`${o.value.id}Value`] = F(t.value.propertyValue), T();
4011
3968
  }
4012
- function D() {
4013
- M(), r.value.id === "variable" && t.value.propertyValue.value === void 0 && (t.value.propertyValue = F(k.value.variableValue)), k.value[`${r.value.id}Value`] = F(t.value.propertyValue), T();
3969
+ function re(m) {
3970
+ o.value = F(C.value.find((I) => I.label === m[0].label)), o.value.id === "expression" && (P.value.expressionValue.value && (r.value = P.value.expressionValue.value.value), v.value = !0), o.value.id === "custom" && Lt(), k();
4014
3971
  }
4015
- function ne(m) {
4016
- r.value = F(x.value.find((O) => O.label === m[0].label)), r.value.id === "expression" && (k.value.expressionValue.value && (o.value = k.value.expressionValue.value.value), v.value = !0), r.value.id === "custom" && jt(), P();
3972
+ function pe(m) {
3973
+ b.value = F(m.value), t.value.propertyValue.value = F(m.value), P.value.constValue.value = F(m.value), k();
4017
3974
  }
4018
- function ce(m) {
4019
- b.value = F(m.value), t.value.propertyValue.value = F(m.value), k.value.constValue.value = F(m.value), P();
3975
+ function Mt(m) {
3976
+ P.value.constValue.value = m, k();
4020
3977
  }
4021
- function Bt(m) {
4022
- k.value.constValue.value = m, P();
3978
+ function kt(m) {
3979
+ P.value.constValue.value = m, k();
4023
3980
  }
4024
- function Ft(m) {
4025
- k.value.constValue.value = m, P();
3981
+ function Et() {
3982
+ const m = t.value.propertyName, I = m[0].toUpperCase() + m.substr(1), U = t.value.controlName, Ie = t.value.editorOptions.newVariablePrefix || "", Kt = Ie ? U[0].toUpperCase() + U.substr(1) : U[0].toLowerCase() + U.substr(1);
3983
+ u = `${Ie}${Kt}${I}`, At();
4026
3984
  }
4027
- function Mt() {
4028
- const m = t.value.propertyName, O = m[0].toUpperCase() + m.substr(1), U = t.value.controlName, Ne = t.value.editorOptions.newVariablePrefix || "", Xt = Ne ? U[0].toUpperCase() + U.substr(1) : U[0].toLowerCase() + U.substr(1);
4029
- u = `${Ne}${Xt}${O}`, Pt();
3985
+ function At() {
3986
+ Pt(), o.value.id === "variable" && (E.value = t.value.propertyValue.value.path), Ne(), i.value !== t.value.propertyValue.value.path && k();
4030
3987
  }
4031
3988
  function Pt() {
4032
- Et(), r.value.id === "variable" && (E.value = t.value.propertyValue.value.path), Ae(), i.value !== t.value.propertyValue.value.path && P();
4033
- }
4034
- function Et() {
4035
- var O;
3989
+ var I;
4036
3990
  let m = 0;
4037
- (O = t.value.editorOptions.variables) == null || O.forEach((U) => {
4038
- U.path !== u ? m += 1 : (i.value = t.value.propertyValue.value.path, t.value.propertyValue.value = F(U), k.value.variableValue.value = F(U));
4039
- }), At(m);
3991
+ (I = t.value.editorOptions.variables) == null || I.forEach((U) => {
3992
+ U.path !== u ? m += 1 : (i.value = t.value.propertyValue.value.path, t.value.propertyValue.value = F(U), P.value.variableValue.value = F(U));
3993
+ }), Nt(m);
4040
3994
  }
4041
- function At(m) {
4042
- var O;
4043
- m === ((O = t.value.editorOptions.variables) == null ? void 0 : O.length) && (t.value.propertyValue.value.category = "local", t.value.propertyValue.value.path = u, t.value.propertyValue.value.field = p, t.value.propertyValue.value.fullPath = u, t.value.propertyValue.value.newVariableType = t.value.editorOptions.newVariableType, R.value.isNewVariable = !0, t.value.editorOptions.variables.push(F(t.value.propertyValue.value)), k.value.variableValue.value = F(t.value.propertyValue.value));
3995
+ function Nt(m) {
3996
+ var I;
3997
+ m === ((I = t.value.editorOptions.variables) == null ? void 0 : I.length) && (t.value.propertyValue.value.category = "local", t.value.propertyValue.value.path = u, t.value.propertyValue.value.field = c, t.value.propertyValue.value.fullPath = u, t.value.propertyValue.value.newVariableType = t.value.editorOptions.newVariableType, _.value.isNewVariable = !0, t.value.editorOptions.variables.push(F(t.value.propertyValue.value)), P.value.variableValue.value = F(t.value.propertyValue.value));
4044
3998
  }
4045
- function kt(m) {
4046
- !m || !m.selections || m.selections.length < 1 || (k.value.variableValue.value.category = F(m.selections[0].category), k.value.variableValue.value.path = F(m.selections[0].path), k.value.variableValue.value.fullPath = F(m.selections[0].fullPath), k.value.variableValue.value.field = F(m.selections[0].field), E.value = F(m.value), P());
3999
+ function Ot(m) {
4000
+ !m || !m.selections || m.selections.length < 1 || (P.value.variableValue.value.category = F(m.selections[0].category), P.value.variableValue.value.path = F(m.selections[0].path), P.value.variableValue.value.fullPath = F(m.selections[0].fullPath), P.value.variableValue.value.field = F(m.selections[0].field), E.value = F(m.value), k());
4047
4001
  }
4048
- function Nt() {
4049
- t.value.propertyValue.value.category = "", t.value.propertyValue.value.path = "", t.value.propertyValue.value.field = "", t.value.propertyValue.value.fullPath = "", r.value.id === "variable" && (E.value = t.value.propertyValue.value.path), P();
4002
+ function It() {
4003
+ t.value.propertyValue.value.category = "", t.value.propertyValue.value.path = "", t.value.propertyValue.value.field = "", t.value.propertyValue.value.fullPath = "", o.value.id === "variable" && (E.value = t.value.propertyValue.value.path), k();
4050
4004
  }
4051
- function Ae() {
4052
- d.value = F(t.value.editorOptions.variables);
4005
+ function Ne() {
4006
+ p.value = F(t.value.editorOptions.variables);
4053
4007
  }
4054
- const It = (m) => {
4055
- const O = t.value.editorOptions.getVariables, U = {
4008
+ const jt = (m) => {
4009
+ const I = t.value.editorOptions.getVariables, U = {
4056
4010
  showDialog: !0
4057
4011
  };
4058
- return O && (d.value = O(), m && (m.data = d)), hr(U);
4012
+ return I && (p.value = I(), m && (m.data = p)), So(U);
4059
4013
  };
4060
- function Ot(m) {
4061
- const O = {
4014
+ function Dt(m) {
4015
+ const I = {
4062
4016
  id: m[0].id,
4063
4017
  name: m[0].exist,
4064
4018
  exist: m[0].name
4065
4019
  };
4066
- k.value.stateMachineValue.value = F(O), s.value = t.value.propertyValue.value.exist === "是" ? "是" : "否", c = F(O.id), P();
4020
+ P.value.stateMachineValue.value = F(I), s.value = t.value.propertyValue.value.exist === "是" ? "是" : "否", d = F(I.id), k();
4067
4021
  }
4068
- function Dt() {
4069
- f.value = F(t.value.editorOptions.stateMachine), s.value = k.value.stateMachineValue.value.exist === "是" ? "是" : "否";
4022
+ function $t() {
4023
+ f.value = F(t.value.editorOptions.stateMachine), s.value = P.value.stateMachineValue.value.exist === "是" ? "是" : "否";
4070
4024
  }
4071
- const ke = new pt();
4072
- function jt() {
4073
- ke.pipe(br(700)).subscribe((m) => {
4074
- k.value.customValue.value = m, P();
4025
+ const Oe = new vt();
4026
+ function Lt() {
4027
+ Oe.pipe(wo(700)).subscribe((m) => {
4028
+ P.value.customValue.value = m, k();
4075
4029
  });
4076
4030
  }
4077
- function Lt(m) {
4078
- ke.next(m);
4031
+ function Ut(m) {
4032
+ Oe.next(m);
4079
4033
  }
4080
- function $t() {
4034
+ function _t() {
4081
4035
  }
4082
- function Ut(m) {
4083
- t.value.propertyValue.value = F(m), k.value.dataStatesValue.value = F(m);
4084
- const O = m.map((U) => U.valueField).join(",");
4085
- w.value = F(O), P();
4036
+ function Rt(m) {
4037
+ t.value.propertyValue.value = F(m), P.value.dataStatesValue.value = F(m);
4038
+ const I = m.map((U) => U.valueField).join(",");
4039
+ w.value = F(I), k();
4086
4040
  }
4087
- function Rt() {
4088
- return S("div", {
4041
+ function Gt() {
4042
+ return g("div", {
4089
4043
  class: "f-page-single-property-editor-component-right-variable"
4090
- }, [S(H, {
4044
+ }, [g(G, {
4091
4045
  class: [{
4092
4046
  "form-control-select-show": l.value
4093
4047
  }, {
@@ -4100,59 +4054,59 @@ const fe = /* @__PURE__ */ q({
4100
4054
  enableClear: !0,
4101
4055
  valueField: "path",
4102
4056
  textField: "fullPath",
4103
- data: d.value,
4104
- beforeShow: It,
4105
- readonly: C.value,
4057
+ data: p.value,
4058
+ beforeShow: jt,
4059
+ readonly: S.value,
4106
4060
  editable: !1,
4107
- onValueChange: (m) => kt(m),
4108
- onClear: Nt
4109
- }, null), l.value ? S("div", {
4061
+ onValueChange: (m) => Ot(m),
4062
+ onClear: It
4063
+ }, null), l.value ? g("div", {
4110
4064
  class: "f-page-single-property-editor-component-variable-button"
4111
- }, [S("button", {
4065
+ }, [g("button", {
4112
4066
  title: "variable-button",
4113
4067
  class: "f-variable-button",
4114
- onClick: Mt
4115
- }, [S("span", {
4068
+ onClick: Et
4069
+ }, [g("span", {
4116
4070
  class: "f-icon f-icon-add",
4117
4071
  style: "margin:unset;"
4118
4072
  }, null)])]) : ""]);
4119
4073
  }
4120
- function _t() {
4121
- return S("div", {
4074
+ function Ht() {
4075
+ return g("div", {
4122
4076
  class: "f-page-single-property-editor-component-right-customize"
4123
- }, [ve(S("input", {
4077
+ }, [me(g("input", {
4124
4078
  class: "form-control",
4125
4079
  placeholder: "输入自定义内容",
4126
- "onUpdate:modelValue": (m) => k.value.customValue.value = m,
4127
- onChange: (m) => Lt(m.target.value),
4128
- disabled: C.value
4129
- }, null), [[Oe, k.value.customValue.value]])]);
4080
+ "onUpdate:modelValue": (m) => P.value.customValue.value = m,
4081
+ onChange: (m) => Ut(m.target.value),
4082
+ disabled: S.value
4083
+ }, null), [[De, P.value.customValue.value]])]);
4130
4084
  }
4131
- function Ht() {
4132
- return S("div", {
4085
+ function qt() {
4086
+ return g("div", {
4133
4087
  class: "f-page-single-property-editor-component-right-expression"
4134
- }, [S(J, {
4088
+ }, [g(ee, {
4135
4089
  editable: !1,
4136
4090
  enableClear: !1,
4137
- readonly: C.value,
4091
+ readonly: S.value,
4138
4092
  groupText: h.value,
4139
- modelValue: o.value,
4140
- "onUpdate:modelValue": (m) => o.value = m,
4141
- onClickHandle: $t
4093
+ modelValue: r.value,
4094
+ "onUpdate:modelValue": (m) => r.value = m,
4095
+ onClickHandle: _t
4142
4096
  }, null)]);
4143
4097
  }
4144
- function Gt() {
4145
- return S("div", {
4098
+ function Wt() {
4099
+ return g("div", {
4146
4100
  class: "f-page-single-property-editor-component-right-stateMachine"
4147
- }, [S("div", {
4101
+ }, [g("div", {
4148
4102
  class: "f-stateMachine-exist",
4149
- onClick: $
4150
- }, [s.value]), S("div", {
4103
+ onClick: L
4104
+ }, [s.value]), g("div", {
4151
4105
  class: "f-stateMachine-combo",
4152
4106
  style: "border:unset"
4153
- }, [S(H, {
4154
- modelValue: c,
4155
- "onUpdate:modelValue": (m) => c = m,
4107
+ }, [g(G, {
4108
+ modelValue: d,
4109
+ "onUpdate:modelValue": (m) => d = m,
4156
4110
  placeholder: "",
4157
4111
  viewType: "text",
4158
4112
  enableClear: !1,
@@ -4160,16 +4114,16 @@ const fe = /* @__PURE__ */ q({
4160
4114
  textField: "name",
4161
4115
  data: f.value,
4162
4116
  editable: !1,
4163
- readonly: C.value,
4117
+ readonly: S.value,
4164
4118
  onChange: (m) => {
4165
- Ot(m);
4119
+ Dt(m);
4166
4120
  }
4167
4121
  }, null)])]);
4168
4122
  }
4169
- function qt() {
4170
- return S("div", {
4123
+ function zt() {
4124
+ return g("div", {
4171
4125
  class: "f-page-single-property-editor-component-right-dataStates"
4172
- }, [S(H, {
4126
+ }, [g(G, {
4173
4127
  modelValue: w.value,
4174
4128
  "onUpdate:modelValue": (m) => w.value = m,
4175
4129
  placeholder: "",
@@ -4182,23 +4136,23 @@ const fe = /* @__PURE__ */ q({
4182
4136
  titleField: "titleField",
4183
4137
  data: B.value,
4184
4138
  editable: !1,
4185
- readonly: C.value,
4186
- onChange: (m) => Ut(m)
4139
+ readonly: S.value,
4140
+ onChange: (m) => Rt(m)
4187
4141
  }, null)]);
4188
4142
  }
4189
- function zt() {
4190
- return ve(S("input", {
4143
+ function Yt() {
4144
+ return me(g("input", {
4191
4145
  class: "form-control",
4192
- "onUpdate:modelValue": (m) => k.value.constValue.value = m,
4146
+ "onUpdate:modelValue": (m) => P.value.constValue.value = m,
4193
4147
  onChange: (m) => {
4194
- Ft(m);
4148
+ kt(m);
4195
4149
  },
4196
- disabled: C.value,
4150
+ disabled: S.value,
4197
4151
  placeholder: "输入自定义内容"
4198
- }, null), [[Oe, k.value.constValue.value]]);
4152
+ }, null), [[De, P.value.constValue.value]]);
4199
4153
  }
4200
- function Wt() {
4201
- return S(H, {
4154
+ function Zt() {
4155
+ return g(G, {
4202
4156
  modelValue: b.value,
4203
4157
  "onUpdate:modelValue": (m) => b.value = m,
4204
4158
  placeholder: "",
@@ -4208,62 +4162,62 @@ const fe = /* @__PURE__ */ q({
4208
4162
  textField: "value",
4209
4163
  data: a.value,
4210
4164
  editable: !1,
4211
- readonly: C.value,
4212
- onValueChange: (m) => ce(m)
4165
+ readonly: S.value,
4166
+ onValueChange: (m) => pe(m)
4213
4167
  }, null);
4214
4168
  }
4215
- function Qt() {
4216
- return S(ee, {
4169
+ function Jt() {
4170
+ return g(te, {
4217
4171
  canNull: !0,
4218
- readonly: C.value,
4172
+ readonly: S.value,
4219
4173
  modelValue: A.value,
4220
4174
  "onUpdate:modelValue": (m) => A.value = m,
4221
4175
  onValueChange: (m) => {
4222
- Bt(m);
4176
+ Mt(m);
4223
4177
  },
4224
4178
  class: "f-page-single-property-editor-component-const-number"
4225
4179
  }, null);
4226
4180
  }
4227
- function Yt() {
4228
- return S("div", {
4181
+ function Qt() {
4182
+ return g("div", {
4229
4183
  class: "f-page-single-property-editor-component-left-controller"
4230
- }, [S(H, {
4231
- modelValue: r.value.id,
4232
- "onUpdate:modelValue": (m) => r.value.id = m,
4184
+ }, [g(G, {
4185
+ modelValue: o.value.id,
4186
+ "onUpdate:modelValue": (m) => o.value.id = m,
4233
4187
  placeholder: "",
4234
4188
  enableClear: !1,
4235
4189
  valueField: "id",
4236
4190
  textField: "label",
4237
- data: x.value,
4191
+ data: C.value,
4238
4192
  editable: !1,
4239
- readonly: C.value,
4240
- onChange: (m) => ne(m)
4193
+ readonly: S.value,
4194
+ onChange: (m) => re(m)
4241
4195
  }, null)]);
4242
4196
  }
4243
- function Zt() {
4244
- return S("div", {
4197
+ function Xt() {
4198
+ return g("div", {
4245
4199
  class: "f-page-single-property-editor-component-right-controller"
4246
- }, [r.value.id === "const" ? S("div", {
4200
+ }, [o.value.id === "const" ? g("div", {
4247
4201
  class: "f-page-single-property-editor-component-right-const"
4248
- }, [t.value.propertyType === "string" ? zt() : "", t.value.propertyType === "enum" ? Wt() : "", t.value.propertyType === "number" ? Qt() : ""]) : "", r.value.id === "variable" ? Rt() : "", r.value.id === "custom" ? _t() : "", r.value.id === "expression" && v.value ? Ht() : "", r.value.id === "stateMachine" ? Gt() : "", r.value.id === "dataStates" ? qt() : ""]);
4202
+ }, [t.value.propertyType === "string" ? Yt() : "", t.value.propertyType === "enum" ? Zt() : "", t.value.propertyType === "number" ? Jt() : ""]) : "", o.value.id === "variable" ? Gt() : "", o.value.id === "custom" ? Ht() : "", o.value.id === "expression" && v.value ? qt() : "", o.value.id === "stateMachine" ? Wt() : "", o.value.id === "dataStates" ? zt() : ""]);
4249
4203
  }
4250
- return G(() => {
4251
- K(), D(), Ae(), Dt(), t.value.hasPrefix && t.value.hasPrefix === 2 && (Q.value = !0), t.value.controlName !== void 0 && (l.value = !0);
4252
- }), () => S(ye, null, [S("div", {
4204
+ return H(() => {
4205
+ K(), j(), Ne(), $t(), t.value.hasPrefix && t.value.hasPrefix === 2 && (Y.value = !0), t.value.controlName !== void 0 && (l.value = !0);
4206
+ }), () => g(he, null, [g("div", {
4253
4207
  class: "f-page-single-property-editor-component clearfix"
4254
- }, [Yt(), Zt()])]);
4208
+ }, [Qt(), Xt()])]);
4255
4209
  }
4256
- }), Fr = {
4210
+ }), Ao = {
4257
4211
  install(e) {
4258
- e.component(fe.name, fe);
4212
+ e.component(ye.name, ye);
4259
4213
  },
4260
- register(e, n, t, o) {
4261
- e["property-editor"] = fe, n["property-editor"] = En;
4214
+ register(e, n, t, r) {
4215
+ e["property-editor"] = ye, n["property-editor"] = Pn;
4262
4216
  }
4263
4217
  };
4264
4218
  export {
4265
- Fr as default,
4266
- fe as propertyEditor,
4267
- qe as propertyEditorProps,
4268
- En as propsResolver
4219
+ Ao as default,
4220
+ ye as propertyEditor,
4221
+ Ye as propertyEditorProps,
4222
+ Pn as propsResolver
4269
4223
  };