@farris/ui-vue 1.2.6 → 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 (210) hide show
  1. package/components/accordion/index.esm.js +150 -142
  2. package/components/avatar/index.esm.js +393 -457
  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 +491 -554
  10. package/components/color-picker/index.esm.js +1 -1
  11. package/components/combo-list/index.esm.js +479 -513
  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 +857 -743
  15. package/components/content-container/index.esm.js +61 -61
  16. package/components/data-grid/index.esm.js +4883 -5182
  17. package/components/data-view/index.esm.js +3072 -2949
  18. package/components/date-picker/index.esm.js +2626 -2689
  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 +940 -998
  29. package/components/dynamic-resolver/index.esm.js +67 -35
  30. package/components/dynamic-view/index.esm.js +307 -293
  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 +1747 -1627
  35. package/components/field-selector/index.css +1 -1
  36. package/components/field-selector/index.esm.js +5877 -6176
  37. package/components/filter-bar/index.css +1 -1
  38. package/components/filter-bar/index.esm.js +1454 -1524
  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 +659 -722
  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 +1643 -1524
  45. package/components/lookup/index.css +1 -1
  46. package/components/lookup/index.esm.js +6502 -6770
  47. package/components/mapping-editor/index.esm.js +5639 -5939
  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 +1098 -1130
  58. package/components/page-footer/index.esm.js +106 -106
  59. package/components/page-header/index.esm.js +1088 -1317
  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 +1479 -1513
  63. package/components/property-panel/index.css +1 -1
  64. package/components/property-panel/index.esm.js +706 -778
  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 +453 -516
  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 +555 -526
  74. package/components/response-toolbar/index.esm.js +1009 -1247
  75. package/components/schema-selector/index.esm.js +3261 -3373
  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 +441 -504
  83. package/components/tabs/index.esm.js +1849 -2039
  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 +445 -493
  87. package/components/time-picker/index.esm.js +1350 -1414
  88. package/components/transfer/index.esm.js +146 -144
  89. package/components/tree-grid/index.css +1 -1
  90. package/components/tree-grid/index.esm.js +5948 -6237
  91. package/components/tree-view/index.esm.js +2381 -2255
  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 +27221 -26804
  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/combo-list/src/components/list-container.component.d.ts +6 -0
  102. package/types/combo-list/src/components/list-container.props.d.ts +9 -1
  103. package/types/data-grid/src/data-grid.props.d.ts +1 -0
  104. package/types/data-grid/src/designer/column-header.design.component.d.ts +1 -1
  105. package/types/data-grid/src/designer/data-grid-column.props.d.ts +1 -0
  106. package/types/data-view/composition/types.d.ts +1 -1
  107. package/types/designer-canvas/src/composition/dg-control.d.ts +16 -350
  108. package/types/designer-canvas/src/types.d.ts +1 -1
  109. package/types/dynamic-form/index.d.ts +1 -0
  110. package/types/dynamic-form/src/types.d.ts +1 -1
  111. package/types/dynamic-resolver/index.d.ts +1 -0
  112. package/types/dynamic-resolver/src/binding-resolver.d.ts +1 -0
  113. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  114. package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +0 -4
  115. package/types/lookup/src/property-config/lookup.property-config.d.ts +4 -3
  116. package/types/modal/src/modal.props.d.ts +1 -4
  117. package/types/property-panel/src/composition/entity/base-property.d.ts +0 -28
  118. package/types/property-panel/src/composition/entity/input-base-property.d.ts +11 -5
  119. package/types/property-panel/src/composition/entity/schema-dom-mapping.d.ts +10 -8
  120. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +19 -0
  121. package/types/tabs/src/property-config/tabs.property-config.d.ts +6 -6
  122. package/types/tree-grid/src/designer/use-designer-rules.d.ts +3 -0
  123. package/types/tree-grid/src/property-config/tree-grid.property-config.d.ts +11 -0
  124. package/types/tree-grid/src/schema/column-resolver.d.ts +1 -1
  125. package/types/tree-grid/src/tree-grid.props.d.ts +8 -0
  126. package/components/accordion/index.umd.cjs +0 -1
  127. package/components/avatar/index.umd.cjs +0 -1
  128. package/components/border-editor/index.umd.cjs +0 -1
  129. package/components/button/index.umd.cjs +0 -1
  130. package/components/button-edit/index.umd.cjs +0 -1
  131. package/components/button-group/index.umd.cjs +0 -1
  132. package/components/calculator/index.umd.cjs +0 -1
  133. package/components/calendar/index.umd.cjs +0 -1
  134. package/components/capsule/index.umd.cjs +0 -1
  135. package/components/checkbox/index.umd.cjs +0 -1
  136. package/components/color-picker/index.umd.cjs +0 -3
  137. package/components/combo-list/index.umd.cjs +0 -1
  138. package/components/combo-tree/index.umd.cjs +0 -1
  139. package/components/common/index.umd.cjs +0 -1
  140. package/components/component/index.umd.cjs +0 -1
  141. package/components/condition/index.umd.cjs +0 -1
  142. package/components/content-container/index.umd.cjs +0 -1
  143. package/components/data-grid/index.umd.cjs +0 -1
  144. package/components/data-view/index.umd.cjs +0 -1
  145. package/components/date-picker/index.umd.cjs +0 -1
  146. package/components/designer-canvas/index.umd.cjs +0 -1
  147. package/components/designer-outline/index.umd.cjs +0 -1
  148. package/components/designer-toolbox/index.umd.cjs +0 -1
  149. package/components/discussion-editor/index.umd.cjs +0 -3
  150. package/components/discussion-list/index.umd.cjs +0 -1
  151. package/components/drawer/index.umd.cjs +0 -1
  152. package/components/dropdown/index.umd.cjs +0 -2
  153. package/components/dynamic-form/index.umd.cjs +0 -1
  154. package/components/dynamic-resolver/index.umd.cjs +0 -1
  155. package/components/dynamic-view/index.umd.cjs +0 -1
  156. package/components/enum-editor/index.umd.cjs +0 -1
  157. package/components/events-editor/index.umd.cjs +0 -1
  158. package/components/expression-editor/index.umd.cjs +0 -1
  159. package/components/external-container/index.umd.cjs +0 -1
  160. package/components/field-selector/index.umd.cjs +0 -1
  161. package/components/filter-bar/index.umd.cjs +0 -1
  162. package/components/flow-canvas/index.umd.cjs +0 -1
  163. package/components/image-cropper/index.umd.cjs +0 -1
  164. package/components/input-group/index.umd.cjs +0 -1
  165. package/components/layout/index.umd.cjs +0 -1
  166. package/components/list-nav/index.umd.cjs +0 -1
  167. package/components/list-view/index.umd.cjs +0 -1
  168. package/components/loading/index.umd.cjs +0 -8
  169. package/components/locale/index.umd.cjs +0 -1
  170. package/components/lookup/index.umd.cjs +0 -1
  171. package/components/mapping-editor/index.umd.cjs +0 -1
  172. package/components/message-box/index.umd.cjs +0 -1
  173. package/components/modal/index.umd.cjs +0 -1
  174. package/components/nav/index.umd.cjs +0 -3
  175. package/components/notify/index.umd.cjs +0 -1
  176. package/components/order/index.umd.cjs +0 -1
  177. package/components/page-footer/index.umd.cjs +0 -1
  178. package/components/page-header/index.umd.cjs +0 -1
  179. package/components/pagination/index.umd.cjs +0 -1
  180. package/components/popover/index.umd.cjs +0 -1
  181. package/components/progress/index.umd.cjs +0 -3
  182. package/components/property-editor/index.umd.cjs +0 -3
  183. package/components/property-panel/index.umd.cjs +0 -1
  184. package/components/radio-button/index.umd.cjs +0 -1
  185. package/components/radio-group/index.umd.cjs +0 -1
  186. package/components/rate/index.umd.cjs +0 -1
  187. package/components/response-layout/index.umd.cjs +0 -1
  188. package/components/response-layout-editor/index.umd.cjs +0 -1
  189. package/components/response-toolbar/index.umd.cjs +0 -1
  190. package/components/schema-selector/index.umd.cjs +0 -8
  191. package/components/search-box/index.umd.cjs +0 -1
  192. package/components/section/index.umd.cjs +0 -1
  193. package/components/smoke-detector/index.umd.cjs +0 -1
  194. package/components/spacing-editor/index.umd.cjs +0 -1
  195. package/components/splitter/index.umd.cjs +0 -1
  196. package/components/step/index.umd.cjs +0 -1
  197. package/components/switch/index.umd.cjs +0 -1
  198. package/components/tabs/index.umd.cjs +0 -1
  199. package/components/tags/index.umd.cjs +0 -1
  200. package/components/text/index.umd.cjs +0 -1
  201. package/components/textarea/index.umd.cjs +0 -1
  202. package/components/time-picker/index.umd.cjs +0 -1
  203. package/components/tooltip/index.umd.cjs +0 -1
  204. package/components/transfer/index.umd.cjs +0 -1
  205. package/components/tree-grid/index.umd.cjs +0 -1
  206. package/components/tree-view/index.umd.cjs +0 -1
  207. package/components/uploader/index.umd.cjs +0 -2
  208. package/components/verify-detail/index.umd.cjs +0 -1
  209. package/components/video/index.umd.cjs +0 -1
  210. package/components/weather/index.umd.cjs +0 -16
@@ -1,38 +1,38 @@
1
- import { ref as C, defineComponent as F, createVNode as r, inject as j, Fragment as Z, createTextVNode as D, computed as N, provide as O, onMounted as W } from "vue";
1
+ import { ref as C, defineComponent as F, createVNode as r, inject as O, Fragment as Z, createTextVNode as D, computed as N, provide as j, onMounted as W } from "vue";
2
2
  import { cloneDeep as M } from "lodash-es";
3
- import { FSchemaSelector as x } from "@farris/ui-vue/components/schema-selector";
4
- import { FModalService as K } from "@farris/ui-vue/components/modal";
5
- import "@farris/ui-vue/components/combo-list";
3
+ import { FSchemaSelector as x } from "../schema-selector/index.esm.js";
4
+ import { FModalService as K } from "../modal/index.esm.js";
5
+ import "../combo-list/index.esm.js";
6
6
  const J = {}, U = {};
7
7
  function $(n) {
8
- const { properties: e, title: s } = n, o = Object.keys(e).reduce((d, m) => (d[m] = e[m].type === "object" && e[m].properties ? $(e[m]) : M(e[m].default), d), {});
8
+ const { properties: e, title: s } = n, o = Object.keys(e).reduce((i, m) => (i[m] = e[m].type === "object" && e[m].properties ? $(e[m]) : M(e[m].default), i), {});
9
9
  return o.id = `${s}-${Date.now()}`, o;
10
10
  }
11
11
  function I(n, e = {}) {
12
12
  const s = J[n];
13
13
  if (s) {
14
14
  let o = $(s);
15
- const d = U[n];
16
- return o = d ? d({ getSchemaByType: I }, o, e) : o, o;
15
+ const i = U[n];
16
+ return o = i ? i({ getSchemaByType: I }, o, e) : o, o;
17
17
  }
18
18
  return null;
19
19
  }
20
20
  function ee(n, e) {
21
21
  const s = $(e);
22
- return Object.keys(n).reduce((o, d) => (o[d] = n[d], o), s), s;
22
+ return Object.keys(n).reduce((o, i) => (o[i] && typeof o[i] == "object" ? Object.assign(o[i], n[i]) : o[i] = n[i], o), s), s;
23
23
  }
24
24
  function ne(n, e) {
25
- return Object.keys(n).filter((o) => n[o] != null).reduce((o, d) => {
26
- if (e.has(d)) {
27
- const m = e.get(d);
25
+ return Object.keys(n).filter((o) => n[o] != null).reduce((o, i) => {
26
+ if (e.has(i)) {
27
+ const m = e.get(i);
28
28
  if (typeof m == "string")
29
- o[m] = n[d];
29
+ o[m] = n[i];
30
30
  else {
31
- const i = m(d, n[d], n);
32
- Object.assign(o, i);
31
+ const u = m(i, n[i], n);
32
+ Object.assign(o, u);
33
33
  }
34
34
  } else
35
- o[d] = n[d];
35
+ o[i] = n[i];
36
36
  return o;
37
37
  }, {});
38
38
  }
@@ -41,7 +41,7 @@ function te(n, e, s = /* @__PURE__ */ new Map()) {
41
41
  return ne(o, s);
42
42
  }
43
43
  function oe(n = {}) {
44
- function e(a, u, t, l) {
44
+ function e(a, d, t, l) {
45
45
  if (typeof t == "number")
46
46
  return l[a].length === t;
47
47
  if (typeof t == "object") {
@@ -55,50 +55,50 @@ function oe(n = {}) {
55
55
  }
56
56
  return !1;
57
57
  }
58
- function s(a, u, t, l) {
58
+ function s(a, d, t, l) {
59
59
  return l[a] && l[a].propertyValue && String(l[a].propertyValue.value) === String(t);
60
60
  }
61
61
  const o = /* @__PURE__ */ new Map([
62
62
  ["length", e],
63
63
  ["getProperty", s]
64
64
  ]);
65
- Object.keys(n).reduce((a, u) => (a.set(u, n[u]), a), o);
66
- function d(a, u) {
65
+ Object.keys(n).reduce((a, d) => (a.set(d, n[d]), a), o);
66
+ function i(a, d) {
67
67
  const t = a;
68
- return typeof u == "number" ? [{ target: t, operator: "length", param: null, value: Number(u) }] : typeof u == "boolean" ? [{ target: t, operator: "getProperty", param: a, value: !!u }] : typeof u == "object" ? Object.keys(u).map((l) => {
68
+ return typeof d == "number" ? [{ target: t, operator: "length", param: null, value: Number(d) }] : typeof d == "boolean" ? [{ target: t, operator: "getProperty", param: a, value: !!d }] : typeof d == "object" ? Object.keys(d).map((l) => {
69
69
  if (l === "length")
70
- return { target: t, operator: "length", param: null, value: u[l] };
71
- const p = l, c = u[l];
70
+ return { target: t, operator: "length", param: null, value: d[l] };
71
+ const p = l, c = d[l];
72
72
  return { target: t, operator: "getProperty", param: p, value: c };
73
73
  }) : [];
74
74
  }
75
75
  function m(a) {
76
76
  return Object.keys(a).reduce((t, l) => {
77
- const p = d(l, a[l]);
77
+ const p = i(l, a[l]);
78
78
  return t.push(...p), t;
79
79
  }, []);
80
80
  }
81
- function i(a, u) {
81
+ function u(a, d) {
82
82
  if (o.has(a.operator)) {
83
83
  const t = o.get(a.operator);
84
- return t && t(a.target, a.param, a.value, u) || !1;
84
+ return t && t(a.target, a.param, a.value, d) || !1;
85
85
  }
86
86
  return !1;
87
87
  }
88
- function h(a, u) {
89
- return m(a).reduce((p, c) => p && i(c, u), !0);
88
+ function h(a, d) {
89
+ return m(a).reduce((p, c) => p && u(c, d), !0);
90
90
  }
91
- function f(a, u) {
92
- const t = Object.keys(a), l = t.includes("allOf"), p = t.includes("anyOf"), c = l || p, g = (c ? a[c ? l ? "allOf" : "anyOf" : "allOf"] : [a]).map((b) => h(b, u));
91
+ function f(a, d) {
92
+ const t = Object.keys(a), l = t.includes("allOf"), p = t.includes("anyOf"), c = l || p, g = (c ? a[c ? l ? "allOf" : "anyOf" : "allOf"] : [a]).map((b) => h(b, d));
93
93
  return l ? !g.includes(!1) : g.includes(!0);
94
94
  }
95
95
  return { parseValueSchema: f };
96
96
  }
97
97
  const se = {}, re = {};
98
98
  oe();
99
- function ae(n, e, s = /* @__PURE__ */ new Map(), o = (i, h, f) => h, d = {}, m = (i) => i) {
100
- return J[e.title] = e, U[e.title] = o, se[e.title] = d, re[e.title] = m, (i = {}) => {
101
- const h = te(i, e, s), f = Object.keys(n).reduce((a, u) => (a[u] = n[u].default, a), {});
99
+ function ae(n, e, s = /* @__PURE__ */ new Map(), o = (u, h, f) => h, i = {}, m = (u) => u) {
100
+ return J[e.title] = e, U[e.title] = o, se[e.title] = i, re[e.title] = m, (u = {}) => {
101
+ const h = te(u, e, s), f = Object.keys(n).reduce((a, d) => (a[d] = n[d].default, a), {});
102
102
  return Object.assign(f, h);
103
103
  };
104
104
  }
@@ -184,11 +184,11 @@ const ue = "https://json-schema.org/draft/2020-12/schema", de = "https://farris-
184
184
  type: pe,
185
185
  properties: ve,
186
186
  required: he
187
- }, ge = "events-editor", be = "A Farris Component", Ce = "object", Se = {}, ye = {
187
+ }, ge = "events-editor", be = "A Farris Component", Ce = "object", Ee = {}, Se = {
188
188
  title: ge,
189
189
  description: be,
190
190
  type: Ce,
191
- categories: Se
191
+ categories: Ee
192
192
  }, _ = [
193
193
  {
194
194
  label: "pageChange",
@@ -210,7 +210,7 @@ const ue = "https://json-schema.org/draft/2020-12/schema", de = "https://farris-
210
210
  label: "onDeleteClicked",
211
211
  name: "Mock操作列点击删除"
212
212
  }
213
- ], Ee = {
213
+ ], ye = {
214
214
  propertyID: "data-grid-component-viewmodel",
215
215
  propertyType: "events",
216
216
  /** 内置构件显示的命令列表 */
@@ -294,16 +294,16 @@ const ue = "https://json-schema.org/draft/2020-12/schema", de = "https://farris-
294
294
  isAddControllerMethod: !1,
295
295
  getEventList: () => ({ events: _, boundEventsList: [] })
296
296
  }, z = {
297
- initialData: { type: Object, default: Ee }
297
+ initialData: { type: Object, default: ye }
298
298
  }, q = ae(
299
299
  z,
300
300
  we,
301
301
  ce,
302
302
  ie,
303
- ye
303
+ Se
304
304
  );
305
305
  function Y(n, e) {
306
- const s = C([]), { boundEvents: o, unBoundEvent: d } = e;
306
+ const s = C([]), { boundEvents: o, unBoundEvent: i } = e;
307
307
  function m(t) {
308
308
  return {
309
309
  /** 当前事件名称及label */
@@ -329,7 +329,7 @@ function Y(n, e) {
329
329
  controller: M(t.controller)
330
330
  };
331
331
  }
332
- function i() {
332
+ function u() {
333
333
  var t;
334
334
  s.value = (t = o.value) == null ? void 0 : t.map((l) => m(l));
335
335
  }
@@ -354,48 +354,48 @@ function Y(n, e) {
354
354
  l.showSection[2][3] = !l.showSection[2][3];
355
355
  });
356
356
  }
357
- function u(t) {
357
+ function d(t) {
358
358
  if (t >= 0 && t <= s.value.length - 1) {
359
359
  const l = s.value[t];
360
- d(l.event), s.value.splice(t, 1);
360
+ i(l.event), s.value.splice(t, 1);
361
361
  }
362
362
  }
363
363
  return {
364
364
  addNewInteraction: h,
365
365
  collapseInteractions: f,
366
- deleteInteracton: u,
366
+ deleteInteracton: d,
367
367
  toggleMethodInInteraction: a,
368
368
  interactions: s,
369
- loadInteractions: i
369
+ loadInteractions: u
370
370
  };
371
371
  }
372
372
  function G(n) {
373
373
  const e = C([]), s = C([]), o = C([]);
374
- function d() {
375
- const u = s.value.reduce(
374
+ function i() {
375
+ const d = s.value.reduce(
376
376
  (l, p) => (l.set(p.boundEvents.label, !0), l),
377
377
  /* @__PURE__ */ new Map()
378
378
  );
379
- return e.value.filter((l) => !u.has(l.label));
379
+ return e.value.filter((l) => !d.has(l.label));
380
380
  }
381
381
  function m() {
382
382
  var t;
383
- const u = ((t = s.value) == null ? void 0 : t.length) > 0;
384
- o.value = u ? d() : e.value;
383
+ const d = ((t = s.value) == null ? void 0 : t.length) > 0;
384
+ o.value = d ? i() : e.value;
385
385
  }
386
- function i() {
386
+ function u() {
387
387
  e.value = n.value.events, s.value = n.value.boundEventsList, m();
388
388
  }
389
- function h(u) {
390
- o.value = o.value.filter((t) => t.label !== u.label);
389
+ function h(d) {
390
+ o.value = o.value.filter((t) => t.label !== d.label);
391
391
  }
392
- function f(u) {
393
- s.value = s.value.filter((t) => t.boundEvents.label !== u.label), m();
392
+ function f(d) {
393
+ s.value = s.value.filter((t) => t.boundEvents.label !== d.label), m();
394
394
  }
395
395
  function a() {
396
396
  var l;
397
- const u = (l = n.value) == null ? void 0 : l.getEventList(), { events: t } = u;
398
- u && (n.value.events = M(t), n.value.boundEventsList = u.boundEventsList), n.value.boundEventsList && (n.value.boundEventsList = n.value.boundEventsList.filter(function(p) {
397
+ const d = (l = n.value) == null ? void 0 : l.getEventList(), { events: t } = d;
398
+ d && (n.value.events = M(t), n.value.boundEventsList = d.boundEventsList), n.value.boundEventsList && (n.value.boundEventsList = n.value.boundEventsList.filter(function(p) {
399
399
  return t.find((c) => c.label == p.boundEvents.label);
400
400
  }));
401
401
  }
@@ -404,7 +404,7 @@ function G(n) {
404
404
  boundEvents: s,
405
405
  candidateEvents: o,
406
406
  excludeFromCandidates: h,
407
- loadEvents: i,
407
+ loadEvents: u,
408
408
  resetBoundEvents: a,
409
409
  unBoundEvent: f
410
410
  };
@@ -420,7 +420,7 @@ const Me = {}, Be = {
420
420
  function o(m) {
421
421
  e.emit("click", m);
422
422
  }
423
- function d(m) {
423
+ function i(m) {
424
424
  return r("div", {
425
425
  class: "f-page-events-editor-first-bound-event"
426
426
  }, [r("div", {
@@ -430,32 +430,32 @@ const Me = {}, Be = {
430
430
  }
431
431
  return () => r("div", {
432
432
  class: "f-page-events-editor-events"
433
- }, [s.value.map((m) => d(m))]);
433
+ }, [s.value.map((m) => i(m))]);
434
434
  }
435
435
  }), H = /* @__PURE__ */ F({
436
436
  name: "FInteractionButton",
437
437
  props: Me,
438
438
  emits: ["click"],
439
439
  setup(n, e) {
440
- const s = j("useEventsComposition"), o = j("useInteractionCompostion"), {
441
- candidateEvents: d
440
+ const s = O("useEventsComposition"), o = O("useInteractionCompostion"), {
441
+ candidateEvents: i
442
442
  } = s, {
443
443
  collapseInteractions: m
444
- } = o, i = C(!1);
444
+ } = o, u = C(!1);
445
445
  function h(p) {
446
- d.value = d.value.filter((c) => c.label !== p.label);
446
+ i.value = i.value.filter((c) => c.label !== p.label);
447
447
  }
448
448
  function f() {
449
- i.value = !1;
449
+ u.value = !1;
450
450
  }
451
451
  function a() {
452
- i.value = !0;
452
+ u.value = !0;
453
453
  }
454
- function u(p) {
454
+ function d(p) {
455
455
  f(), h(p), e.emit("click", p);
456
456
  }
457
457
  function t() {
458
- i.value ? f() : a();
458
+ u.value ? f() : a();
459
459
  }
460
460
  function l() {
461
461
  m(), t();
@@ -467,9 +467,9 @@ const Me = {}, Be = {
467
467
  onClick: l
468
468
  }, [r("span", {
469
469
  class: "f-page-events-editor-text"
470
- }, [D("新建交互事件")])])]), i.value && r(Le, {
471
- events: d.value,
472
- onClick: u
470
+ }, [D("新建交互事件")])])]), u.value && r(Le, {
471
+ events: i.value,
472
+ onClick: d
473
473
  }, null)]);
474
474
  }
475
475
  }), ke = {
@@ -503,7 +503,7 @@ const Me = {}, Be = {
503
503
  function o(f) {
504
504
  return f.controllerList.length !== 0;
505
505
  }
506
- function d(f) {
506
+ function i(f) {
507
507
  return o(f) && r("div", {
508
508
  class: "f-page-internals-controller"
509
509
  }, [r("div", {
@@ -517,7 +517,7 @@ const Me = {}, Be = {
517
517
  controller: a
518
518
  });
519
519
  }
520
- function i(f) {
520
+ function u(f) {
521
521
  return f.controllerList.map((a) => r("div", {
522
522
  class: "f-page-internals-command",
523
523
  onClick: () => m(a, f)
@@ -527,7 +527,7 @@ const Me = {}, Be = {
527
527
  }, [a.name])]));
528
528
  }
529
529
  function h(f) {
530
- return r("div", null, [d(f), i(f)]);
530
+ return r("div", null, [i(f), u(f)]);
531
531
  }
532
532
  return () => r("div", {
533
533
  class: "f-page-internals"
@@ -538,15 +538,15 @@ const Me = {}, Be = {
538
538
  props: Ne,
539
539
  emits: ["addInternalCommandListChanged", "newImportChanged", "currentCommandChanged", "originalDataChanged", "click", "existChanged", "newFucChanged", "close", "selectMethod"],
540
540
  setup(n, e) {
541
- const s = j("useMethodsComposition"), {
541
+ const s = O("useMethodsComposition"), {
542
542
  controllers: o
543
- } = s, d = C(!1), m = C(n.canAddNewMethod), i = N(() => !m.value), h = N(() => d.value), f = N(() => ({
543
+ } = s, i = C(!1), m = C(n.canAddNewMethod), u = N(() => !m.value), h = N(() => i.value), f = N(() => ({
544
544
  "font-size": "15px",
545
545
  margin: "5px",
546
546
  color: "#226eff",
547
547
  flex: 1
548
548
  })), a = Symbol("controller schema repository inject token");
549
- function u() {
549
+ function d() {
550
550
  return r(x, {
551
551
  injectSymbolToken: a,
552
552
  "view-type": "NavList"
@@ -556,7 +556,7 @@ const Me = {}, Be = {
556
556
  K.show({
557
557
  title: "选择控制器",
558
558
  width: 950,
559
- render: u
559
+ render: d
560
560
  });
561
561
  }
562
562
  function l() {
@@ -565,10 +565,10 @@ const Me = {}, Be = {
565
565
  }
566
566
  function c() {
567
567
  }
568
- function y() {
568
+ function S() {
569
569
  e.emit("close", null);
570
570
  }
571
- function E() {
571
+ function y() {
572
572
  return r("div", {
573
573
  class: "f-command-breakline"
574
574
  }, [D("------------------------------------------------------------")]);
@@ -584,7 +584,7 @@ const Me = {}, Be = {
584
584
  }, null), r("div", {
585
585
  class: "f-function-class",
586
586
  onClick: () => t()
587
- }, [D("引入控制器")])]), i.value && r("div", {
587
+ }, [D("引入控制器")])]), u.value && r("div", {
588
588
  class: "f-page-internals-new-command-func2"
589
589
  }, [r("div", {
590
590
  class: "f-icon f-icon-new-edit",
@@ -602,8 +602,8 @@ const Me = {}, Be = {
602
602
  onClick: () => void 0
603
603
  }, [D("已有方法")])])]);
604
604
  }
605
- function v(S) {
606
- e.emit("selectMethod", S);
605
+ function v(E) {
606
+ e.emit("selectMethod", E);
607
607
  }
608
608
  function b() {
609
609
  return r("div", {
@@ -615,9 +615,9 @@ const Me = {}, Be = {
615
615
  }
616
616
  return () => r("div", {
617
617
  class: "f-page-events-editor-command-source"
618
- }, [b(), E(), g(), E(), r("div", null, [r("div", {
618
+ }, [b(), y(), g(), y(), r("div", null, [r("div", {
619
619
  class: "f-page-internals-close",
620
- onClick: y
620
+ onClick: S
621
621
  }, [D("取消")])])]);
622
622
  }
623
623
  }), Te = {
@@ -627,10 +627,10 @@ const Me = {}, Be = {
627
627
  props: Te,
628
628
  emits: [],
629
629
  setup(n, e) {
630
- const s = C(n.command), o = C(0), d = C(!1), m = C(!1);
630
+ const s = C(n.command), o = C(0), i = C(!1), m = C(!1);
631
631
  C(""), C([]);
632
- const i = N(() => s.value !== null), h = N(() => d.value), f = N(() => m.value), a = N(() => !d.value && !m.value);
633
- function u() {
632
+ const u = N(() => s.value !== null), h = N(() => i.value), f = N(() => m.value), a = N(() => !i.value && !m.value);
633
+ function d() {
634
634
  }
635
635
  function t() {
636
636
  return r("div", null, [r("div", {
@@ -652,14 +652,14 @@ const Me = {}, Be = {
652
652
  }
653
653
  function c(g) {
654
654
  }
655
- function y() {
655
+ function S() {
656
656
  return r("div", null, [r("div", {
657
657
  class: "f-icon f-icon-edit-button",
658
658
  style: "font-size: 13px;margin-right:10px;",
659
659
  onClick: () => (o.value, void 0)
660
660
  }, null)]);
661
661
  }
662
- function E() {
662
+ function y() {
663
663
  return r("div", null, [r("div", {
664
664
  class: "f-page-parameter-editor-first-row"
665
665
  }, [r("span", {
@@ -667,27 +667,27 @@ const Me = {}, Be = {
667
667
  title: s.value.label
668
668
  }, [s.value.name]), r("div", {
669
669
  class: "f-page-parameter-editor-first-row-icon"
670
- }, [h.value && t(), f.value && p(), a.value && y()])])]);
670
+ }, [h.value && t(), f.value && p(), a.value && S()])])]);
671
671
  }
672
672
  return () => r("div", {
673
673
  class: "f-page-parameter-editor"
674
- }, [i.value && E()]);
674
+ }, [u.value && y()]);
675
675
  }
676
676
  }), Q = /* @__PURE__ */ F({
677
677
  name: "FInteractionItem",
678
678
  props: ke,
679
679
  emits: ["addAction", "delete", "toggle"],
680
680
  setup(n, e) {
681
- const s = j("useMethodsComposition"), {
681
+ const s = O("useMethodsComposition"), {
682
682
  toggleSelectingMethod: o,
683
- emitFinalState: d
684
- } = s, m = C(n.controllers), i = C(n.interaction), h = C(n.displayOrder), f = N(() => {
685
- const v = i.value.showSwitch[0];
683
+ emitFinalState: i
684
+ } = s, m = C(n.controllers), u = C(n.interaction), h = C(n.displayOrder), f = N(() => {
685
+ const v = u.value.showSwitch[0];
686
686
  return v.showSection[v.showSwitchNumber][2];
687
687
  }), a = N(() => {
688
- const v = !!i.value.command, b = i.value.showSwitch[0], S = b.showSection[b.showSwitchNumber][3];
689
- return v && S;
690
- }), u = N(() => ({
688
+ const v = !!u.value.command, b = u.value.showSwitch[0], E = b.showSection[b.showSwitchNumber][3];
689
+ return v && E;
690
+ }), d = N(() => ({
691
691
  "f-icon": !0,
692
692
  "f-icon-arrow-chevron-down": a.value,
693
693
  "f-icon-arrow-chevron-left": !a.value
@@ -696,24 +696,24 @@ const Me = {}, Be = {
696
696
  e.emit("delete", h.value);
697
697
  }
698
698
  function l() {
699
- const v = i.value.showSwitch[0];
699
+ const v = u.value.showSwitch[0];
700
700
  v.showSection[v.showSwitchNumber][3] = !v.showSection[v.showSwitchNumber][3], e.emit("toggle", h.value);
701
701
  }
702
702
  function p() {
703
- if (i.value.command !== null) {
704
- const b = i.value.showSwitch[0];
703
+ if (u.value.command !== null) {
704
+ const b = u.value.showSwitch[0];
705
705
  o(b), e.emit("addAction", h.value);
706
706
  }
707
707
  }
708
708
  function c(v) {
709
- v === null && i.value.command === null && e.emit("delete", h.value);
710
- const b = i.value.showSwitch[0];
709
+ v === null && u.value.command === null && e.emit("delete", h.value);
710
+ const b = u.value.showSwitch[0];
711
711
  o(b);
712
712
  }
713
- function y(v) {
713
+ function S(v) {
714
714
  const {
715
715
  method: b,
716
- controller: S
716
+ controller: E
717
717
  } = v, {
718
718
  id: k,
719
719
  label: w,
@@ -721,32 +721,32 @@ const Me = {}, Be = {
721
721
  handlerName: L
722
722
  } = b, {
723
723
  controllerName: A
724
- } = S, R = !1, P = A.id;
725
- i.value.command = {
724
+ } = E, R = !1, P = A.id;
725
+ u.value.command = {
726
726
  id: k,
727
727
  label: w,
728
728
  name: B,
729
729
  handlerName: L,
730
730
  hasPath: R,
731
731
  cmpId: P
732
- }, i.value.controller = {
732
+ }, u.value.controller = {
733
733
  id: A.id,
734
734
  label: A.label,
735
735
  name: A.name
736
736
  };
737
- const T = i.value.showSwitch[0];
738
- T.showSwitchNumber = 2, T.showSection[T.showSwitchNumber][2] = !1, T.showSection[T.showSwitchNumber][3] = !0, d();
737
+ const T = u.value.showSwitch[0];
738
+ T.showSwitchNumber = 2, T.showSection[T.showSwitchNumber][2] = !1, T.showSection[T.showSwitchNumber][3] = !0, i();
739
739
  }
740
- function E() {
740
+ function y() {
741
741
  return r(Pe, {
742
742
  controllers: m.value,
743
743
  onClose: c,
744
- onSelectMethod: y
744
+ onSelectMethod: S
745
745
  }, null);
746
746
  }
747
747
  function g() {
748
748
  return r(De, {
749
- command: i.value.command
749
+ command: u.value.command
750
750
  }, null);
751
751
  }
752
752
  return () => r("div", {
@@ -755,11 +755,11 @@ const Me = {}, Be = {
755
755
  class: "f-page-events-editor-bound-event"
756
756
  }, [r("div", {
757
757
  class: "f-page-events-editor-bound-event-name",
758
- title: i.value.event.label
759
- }, [i.value.event.name]), r("div", {
758
+ title: u.value.event.label
759
+ }, [u.value.event.name]), r("div", {
760
760
  style: "float:right;margin:5px;"
761
761
  }, [r("div", {
762
- class: u.value,
762
+ class: d.value,
763
763
  style: "font-size: 10px;",
764
764
  onClick: l
765
765
  }, null)]), r("div", {
@@ -770,11 +770,11 @@ const Me = {}, Be = {
770
770
  class: "f-icon f-icon-home-add",
771
771
  style: "float:right; font-size: 10px; margin:8px;",
772
772
  onClick: p
773
- }, null)]), f.value && E(), a.value && g()]);
773
+ }, null)]), f.value && y(), a.value && g()]);
774
774
  }
775
775
  });
776
776
  function X(n, e, s) {
777
- const { interactions: o } = e, d = C(n.value.internalCommandList);
777
+ const { interactions: o } = e, i = C(n.value.internalCommandList);
778
778
  function m(c) {
779
779
  o.value[c].showSwitch = [], o.value[c].showSwitch.push(M({
780
780
  // 存储所有的展示设定
@@ -783,26 +783,26 @@ function X(n, e, s) {
783
783
  showSwitchNumber: 2
784
784
  })), o.value = M(o.value);
785
785
  }
786
- function i(c, y, E) {
786
+ function u(c, S, y) {
787
787
  }
788
788
  function h(c) {
789
- var E;
790
- const y = [];
791
- return (E = n.value.newController) == null || E.forEach((g) => {
789
+ var y;
790
+ const S = [];
791
+ return (y = n.value.newController) == null || y.forEach((g) => {
792
792
  c.forEach((v) => {
793
- g.Code === v.controller.label && y.push(M(g));
793
+ g.Code === v.controller.label && S.push(M(g));
794
794
  });
795
- }), y;
795
+ }), S;
796
796
  }
797
797
  function f() {
798
798
  var v;
799
799
  n.value.isAddControllerMethod = !!n.value.newFuncEvents;
800
- const c = [], y = M(n.value.internalCommandList);
800
+ const c = [], S = M(n.value.internalCommandList);
801
801
  o.value.map((b) => {
802
- const S = M(b.controller), k = M(b.command), w = M(b.event), B = { controller: S, command: k, boundEvents: w };
802
+ const E = M(b.controller), k = M(b.command), w = M(b.event), B = { controller: E, command: k, boundEvents: w };
803
803
  c.push(M(B));
804
804
  });
805
- const E = (v = n.value.newController) != null && v.length && c.length ? M(h(c)) : [], g = {
805
+ const y = (v = n.value.newController) != null && v.length && c.length ? M(h(c)) : [], g = {
806
806
  /** 拼接名称时的前缀 */
807
807
  viewModelId: n.value.viewModelId,
808
808
  /** 视图模型绑定的事件下的方法列表 */
@@ -812,7 +812,7 @@ function X(n, e, s) {
812
812
  /** 可选择的绑定事件列表 */
813
813
  events: M(n.value.events),
814
814
  /** 内置构件列表; */
815
- internalCommandList: M(y),
815
+ internalCommandList: M(S),
816
816
  /** 所有可选的组件 */
817
817
  componentLists: [],
818
818
  /** 接收formBasicService.formMetaBasicInfo.relativePath */
@@ -820,7 +820,7 @@ function X(n, e, s) {
820
820
  /** 接收formBasicService.envType */
821
821
  envType: n.value.envType,
822
822
  /** 初始为空,用于存储用户点击「导入新方法」的控制器值 */
823
- newController: M(E),
823
+ newController: M(y),
824
824
  /** 切换到代码视图标识 */
825
825
  isAddControllerMethod: n.value.isAddControllerMethod,
826
826
  /** 用户选择「已有方法」 */
@@ -835,7 +835,7 @@ function X(n, e, s) {
835
835
  function a(c) {
836
836
  c.showSection[c.showSwitchNumber][2] = !0;
837
837
  }
838
- function u(c) {
838
+ function d(c) {
839
839
  c.showSection[c.showSwitchNumber][2] = !1;
840
840
  }
841
841
  function t(c) {
@@ -845,13 +845,13 @@ function X(n, e, s) {
845
845
  c.showSection[c.showSwitchNumber][3] = !1;
846
846
  }
847
847
  function p(c) {
848
- c.showSection[c.showSwitchNumber][2] ? (u(c), t(c)) : (a(c), l(c));
848
+ c.showSection[c.showSwitchNumber][2] ? (d(c), t(c)) : (a(c), l(c));
849
849
  }
850
850
  return {
851
- controllers: d,
851
+ controllers: i,
852
852
  onClosed: m,
853
853
  emitFinalState: f,
854
- onCurrentCommandChanged: i,
854
+ onCurrentCommandChanged: u,
855
855
  toggleSelectingMethod: p
856
856
  };
857
857
  }
@@ -861,41 +861,41 @@ const V = /* @__PURE__ */ F({
861
861
  emits: ["savedCommandListChanged"],
862
862
  setup(n, e) {
863
863
  const s = C(n.initialData), o = G(s), {
864
- loadEvents: d,
864
+ loadEvents: i,
865
865
  resetBoundEvents: m
866
- } = o, i = Y(s, o), {
866
+ } = o, u = Y(s, o), {
867
867
  addNewInteraction: h,
868
868
  deleteInteracton: f,
869
869
  interactions: a,
870
- loadInteractions: u
871
- } = i, t = X(s, i, e);
872
- O("useEventsComposition", o), O("useInteractionCompostion", i), O("useMethodsComposition", t);
870
+ loadInteractions: d
871
+ } = u, t = X(s, u, e);
872
+ j("useEventsComposition", o), j("useInteractionCompostion", u), j("useMethodsComposition", t);
873
873
  function l() {
874
874
  s.value.isAddControllerMethod = !1;
875
875
  }
876
876
  W(() => {
877
- l(), m(), d(), u();
877
+ l(), m(), i(), d();
878
878
  });
879
879
  function p(g) {
880
880
  f(g);
881
881
  }
882
882
  function c(g, v) {
883
- const b = g.showSwitch[0], S = b.showSection[b.showSwitchNumber][3];
883
+ const b = g.showSwitch[0], E = b.showSection[b.showSwitchNumber][3];
884
884
  return r(Q, {
885
885
  interaction: g,
886
886
  displayOrder: v,
887
- collapsed: S,
887
+ collapsed: E,
888
888
  onDelete: p
889
889
  }, null);
890
890
  }
891
- function y() {
891
+ function S() {
892
892
  var g;
893
893
  return (g = a.value) == null ? void 0 : g.map((v, b) => r("div", {
894
894
  class: "events-display-order",
895
895
  key: v.event.label
896
896
  }, [c(v, b)]));
897
897
  }
898
- function E(g) {
898
+ function y(g) {
899
899
  h(g);
900
900
  }
901
901
  return () => r("div", {
@@ -903,15 +903,15 @@ const V = /* @__PURE__ */ F({
903
903
  }, [r("div", {
904
904
  class: "f-page-events-editor-content"
905
905
  }, [r(H, {
906
- onClick: E
907
- }, null), y()])]);
906
+ onClick: y
907
+ }, null), S()])]);
908
908
  }
909
909
  });
910
- function Oe(n, e, s) {
910
+ function je(n, e, s) {
911
911
  var k;
912
912
  function o() {
913
913
  }
914
- const d = "", m = "", i = C();
914
+ const i = "", m = "", u = C();
915
915
  function h() {
916
916
  return (e == null ? void 0 : e.schema.componentType) !== "frame";
917
917
  }
@@ -921,7 +921,7 @@ function Oe(n, e, s) {
921
921
  function a() {
922
922
  return (e == null ? void 0 : e.schema.componentType) !== "frame";
923
923
  }
924
- function u() {
924
+ function d() {
925
925
  return (e == null ? void 0 : e.schema.componentType) === "frame";
926
926
  }
927
927
  function t(w) {
@@ -942,9 +942,9 @@ function Oe(n, e, s) {
942
942
  function c() {
943
943
  return (e == null ? void 0 : e.schema.label) || (e == null ? void 0 : e.schema.title) || (e == null ? void 0 : e.schema.name);
944
944
  }
945
- function y() {
945
+ function S() {
946
946
  }
947
- function E(w, B) {
947
+ function y(w, B) {
948
948
  }
949
949
  function g(w) {
950
950
  const { componentType: B } = w;
@@ -954,84 +954,84 @@ function Oe(n, e, s) {
954
954
  }
955
955
  function v(w, B) {
956
956
  const L = String(w.getAttribute("data-controltype")), A = w.getAttribute("data-feature"), R = A ? JSON.parse(A) : {};
957
- R.parentComponentInstance = i.value;
957
+ R.parentComponentInstance = u.value;
958
958
  let P = I(L, R);
959
959
  const T = L.toLowerCase().replace("-", "_");
960
960
  return P && !P.id && P.type === L && (P.id = `${T}_${Math.random().toString().slice(2, 6)}`), P;
961
961
  }
962
962
  function b(w) {
963
963
  }
964
- function S(...w) {
964
+ function E(...w) {
965
965
  }
966
- return i.value = {
966
+ return u.value = {
967
967
  canMove: h(),
968
968
  canSelectParent: f(),
969
969
  canDelete: a(),
970
- canNested: !u(),
970
+ canNested: !d(),
971
971
  contents: e == null ? void 0 : e.schema.contents,
972
972
  elementRef: n,
973
973
  parent: (k = e == null ? void 0 : e.parent) == null ? void 0 : k.componentInstance,
974
974
  schema: e == null ? void 0 : e.schema,
975
- styles: d,
975
+ styles: i,
976
976
  designerClass: m,
977
977
  canAccepts: p,
978
978
  getBelongedComponentInstance: t,
979
979
  getDraggableDesignItemElement: l,
980
980
  getDraggingDisplayText: c,
981
- getPropConfig: S,
982
- getDragScopeElement: y,
983
- onAcceptMovedChildElement: E,
981
+ getPropConfig: E,
982
+ getDragScopeElement: S,
983
+ onAcceptMovedChildElement: y,
984
984
  onAcceptNewChildElement: v,
985
985
  onChildElementMovedOut: b,
986
986
  addNewChildComponentSchema: g,
987
987
  updateDragAndDropRules: o,
988
988
  triggerBelongedComponentToMoveWhenMoved: C(!1),
989
989
  triggerBelongedComponentToDeleteWhenDeleted: C(!1)
990
- }, i;
990
+ }, u;
991
991
  }
992
- const je = /* @__PURE__ */ F({
992
+ const Oe = /* @__PURE__ */ F({
993
993
  name: "FEventsEditorDesign",
994
994
  props: z,
995
995
  emits: ["savedCommandListChanged"],
996
996
  setup(n, e) {
997
997
  const s = C(n.initialData), o = G(s), {
998
- loadEvents: d,
998
+ loadEvents: i,
999
999
  resetBoundEvents: m
1000
- } = o, i = Y(s, o), {
1000
+ } = o, u = Y(s, o), {
1001
1001
  addNewInteraction: h,
1002
1002
  deleteInteracton: f,
1003
1003
  interactions: a,
1004
- loadInteractions: u
1005
- } = i, t = X(s, i, e);
1006
- O("useEventsComposition", o), O("useInteractionCompostion", i), O("useMethodsComposition", t);
1007
- const l = C(), p = j("design-item-context"), c = Oe(l, p);
1004
+ loadInteractions: d
1005
+ } = u, t = X(s, u, e);
1006
+ j("useEventsComposition", o), j("useInteractionCompostion", u), j("useMethodsComposition", t);
1007
+ const l = C(), p = O("design-item-context"), c = je(l, p);
1008
1008
  W(() => {
1009
- l.value.componentInstance = c, y(), m(), d(), u();
1009
+ l.value.componentInstance = c, S(), m(), i(), d();
1010
1010
  }), e.expose(c.value);
1011
- function y() {
1011
+ function S() {
1012
1012
  s.value.isAddControllerMethod = !1;
1013
1013
  }
1014
- function E(S) {
1015
- f(S);
1014
+ function y(E) {
1015
+ f(E);
1016
1016
  }
1017
- function g(S, k) {
1018
- const w = S.showSwitch[0], B = w.showSection[w.showSwitchNumber][3];
1017
+ function g(E, k) {
1018
+ const w = E.showSwitch[0], B = w.showSection[w.showSwitchNumber][3];
1019
1019
  return r(Q, {
1020
- interaction: S,
1020
+ interaction: E,
1021
1021
  displayOrder: k,
1022
1022
  collapsed: B,
1023
- onDelete: E
1023
+ onDelete: y
1024
1024
  }, null);
1025
1025
  }
1026
1026
  function v() {
1027
- var S;
1028
- return (S = a.value) == null ? void 0 : S.map((k, w) => r("div", {
1027
+ var E;
1028
+ return (E = a.value) == null ? void 0 : E.map((k, w) => r("div", {
1029
1029
  class: "events-display-order",
1030
1030
  key: k.event.label
1031
1031
  }, [g(k, w)]));
1032
1032
  }
1033
- function b(S) {
1034
- h(S);
1033
+ function b(E) {
1034
+ h(E);
1035
1035
  }
1036
1036
  return () => r("div", {
1037
1037
  ref: l,
@@ -1050,7 +1050,7 @@ const je = /* @__PURE__ */ F({
1050
1050
  n["events-editor"] = V, e["events-editor"] = q;
1051
1051
  },
1052
1052
  registerDesigner(n, e, s) {
1053
- n["events-editor"] = je, e["events-editor"] = q;
1053
+ n["events-editor"] = Oe, e["events-editor"] = q;
1054
1054
  }
1055
1055
  };
1056
1056
  export {