@opentiny/tiny-engine-setting-events 2.6.0-alpha.6 → 2.6.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import "./style.css";
2
- import { ref as Ve, reactive as we, provide as tt, nextTick as ct, resolveComponent as L, createBlock as te, openBlock as B, withCtx as I, createElementVNode as v, resolveDynamicComponent as Ge, createVNode as E, createTextVNode as ke, unref as S, createElementBlock as $, Fragment as Oe, withDirectives as qe, renderList as ze, normalizeClass as Ne, toDisplayString as Y, createCommentVNode as Se, vShow as Ye, computed as Me, watchEffect as nt, watch as Ze, inject as ot } from "vue";
2
+ import { ref as Ve, reactive as we, provide as tt, nextTick as rt, resolveComponent as M, createBlock as te, openBlock as B, withCtx as I, createElementVNode as v, createVNode as b, resolveDynamicComponent as Ge, createTextVNode as ke, unref as S, createElementBlock as J, Fragment as Oe, withDirectives as qe, renderList as ze, normalizeClass as Ne, toDisplayString as Y, createCommentVNode as Se, vShow as Ye, computed as Me, watchEffect as nt, watch as Ze, inject as ot } from "vue";
3
3
  import { callEntry as h, META_APP as C, getMetaApi as k, getOptions as X, useLayout as V, useHistory as K, useCanvas as y, getMergeMeta as P, useBlock as ue, useMaterial as fe, useModal as _e, useMessage as he, useProperties as z } from "@opentiny/tiny-engine-meta-register";
4
- import { DialogBox as it, Button as Te, Form as mt, FormItem as We, Input as Fe, Popover as gt, Tooltip as pt, Collapse as vt, CollapseItem as Qe, Checkbox as ut, Search as ft } from "@opentiny/vue";
4
+ import { TinyAlert as mt, DialogBox as it, Button as Te, Form as gt, FormItem as We, Input as Fe, Popover as pt, Tooltip as vt, Collapse as ut, CollapseItem as Qe, Checkbox as ft, Search as _t } from "@opentiny/vue";
5
5
  import be from "@opentiny/tiny-engine-common/js/i18n";
6
- import { SvgButton as Ee, BlockLinkEvent as ye, PluginPanel as _t, VueMonaco as Ae } from "@opentiny/tiny-engine-common";
6
+ import { SvgButton as Ee, BlockLinkEvent as ye, PluginPanel as ht, VueMonaco as Ae } from "@opentiny/tiny-engine-common";
7
7
  import { iconChevronDown as xe } from "@opentiny/vue-icon";
8
8
  import { string2Ast as R, ast2String as H } from "@opentiny/tiny-engine-common/js/ast";
9
9
  import { CodeConfigurator as ae, InputConfigurator as se, VariableConfigurator as le, SwitchConfigurator as de } from "@opentiny/tiny-engine-configurator";
@@ -15,12 +15,12 @@ const U = {
15
15
  type: "plugins",
16
16
  name: "event",
17
17
  icon: "target"
18
- }, Ie = (l, t) => {
19
- const o = l.__vccOpts || l;
20
- for (const [e, i] of t)
18
+ }, Ie = (d, n) => {
19
+ const o = d.__vccOpts || d;
20
+ for (const [e, i] of n)
21
21
  o[e] = i;
22
22
  return o;
23
- }, j = Ve(!1), w = h(() => {
23
+ }, j = Ve(!1), L = h(() => {
24
24
  j.value = !0;
25
25
  }, {
26
26
  metaData: {
@@ -38,10 +38,10 @@ const U = {
38
38
  META_APP: C,
39
39
  meta: U,
40
40
  dialogVisible: j,
41
- open: w,
42
- close: J
41
+ open: L,
42
+ close: $
43
43
  })
44
- }), J = h(() => {
44
+ }), $ = h(() => {
45
45
  j.value = !1;
46
46
  }, {
47
47
  metaData: {
@@ -59,13 +59,14 @@ const U = {
59
59
  META_APP: C,
60
60
  meta: U,
61
61
  dialogVisible: j,
62
- open: w,
63
- close: J
62
+ open: L,
63
+ close: $
64
64
  })
65
- }), ht = {
65
+ }), bt = {
66
66
  components: {
67
67
  TinyButton: Te,
68
- TinyDialogBox: it
68
+ TinyDialogBox: it,
69
+ TinyAlert: mt
69
70
  },
70
71
  inheritAttrs: !1,
71
72
  props: {
@@ -74,20 +75,20 @@ const U = {
74
75
  default: () => ({})
75
76
  }
76
77
  },
77
- setup(l) {
78
+ setup(d) {
78
79
  const {
79
- BindEventsDialogSidebar: t,
80
+ BindEventsDialogSidebar: n,
80
81
  BindEventsDialogContent: o
81
82
  } = P(U.id).components, {
82
83
  PLUGIN_NAME: e,
83
84
  activePlugin: i
84
85
  } = V(), {
85
- pageState: p
86
+ pageState: g
86
87
  } = y(), {
87
- getMethods: g,
88
- saveMethod: s,
89
- highlightMethod: r
90
- } = k(C.Page), a = we({
88
+ getMethods: p,
89
+ saveMethod: a,
90
+ highlightMethod: l
91
+ } = k(C.Page), s = we({
91
92
  editorContent: "",
92
93
  bindMethodInfo: {},
93
94
  tip: "",
@@ -95,34 +96,34 @@ const U = {
95
96
  enableExtraParams: !1,
96
97
  isValidParams: !0
97
98
  });
98
- tt("context", a);
99
- const u = h((b) => {
100
- a.bindMethodInfo = b;
99
+ tt("context", s);
100
+ const u = h((E) => {
101
+ s.bindMethodInfo = E;
101
102
  }, {
102
103
  metaData: {
103
104
  id: "engine.setting.event.BindEventsDialog.selectMethod"
104
105
  },
105
106
  ctx: () => ({
106
- props: l,
107
- BindEventsDialogSidebar: t,
107
+ props: d,
108
+ BindEventsDialogSidebar: n,
108
109
  BindEventsDialogContent: o,
109
110
  PLUGIN_NAME: e,
110
111
  activePlugin: i,
111
- pageState: p,
112
- getMethods: g,
113
- saveMethod: s,
114
- highlightMethod: r,
115
- state: a,
112
+ pageState: g,
113
+ getMethods: p,
114
+ saveMethod: a,
115
+ highlightMethod: l,
116
+ state: s,
116
117
  selectMethod: u,
117
- bindMethod: n,
118
- resetTipError: c,
119
- getExtraParams: d,
118
+ bindMethod: t,
119
+ resetTipError: r,
120
+ getExtraParams: c,
120
121
  getFormatParams: m,
121
122
  getFunctionBody: f,
122
123
  activePagePlugin: x,
123
124
  confirm: D,
124
125
  openedDialog: N,
125
- closeDialog: M,
126
+ closeDialog: w,
126
127
  ast2String: H,
127
128
  string2Ast: R,
128
129
  getMergeMeta: P,
@@ -134,52 +135,52 @@ const U = {
134
135
  META_APP: C,
135
136
  meta: U,
136
137
  dialogVisible: j,
137
- open: w,
138
- close: J
138
+ open: L,
139
+ close: $
139
140
  })
140
- }), n = h((b) => {
141
+ }), t = h((E) => {
141
142
  var Z, q;
142
- if (!b)
143
+ if (!E)
143
144
  return;
144
- const _ = (Z = l.eventBinding) == null ? void 0 : Z.eventName;
145
+ const _ = (Z = d.eventBinding) == null ? void 0 : Z.eventName;
145
146
  if (!_)
146
147
  return;
147
- const A = (q = p == null ? void 0 : p.currentSchema) == null ? void 0 : q.props;
148
+ const A = (q = g == null ? void 0 : g.currentSchema) == null ? void 0 : q.props;
148
149
  if (!A)
149
150
  return;
150
151
  const {
151
152
  name: O,
152
153
  extra: W
153
- } = b;
154
- l[_] || (A[_] = {
154
+ } = E;
155
+ d[_] || (A[_] = {
155
156
  type: "JSExpression",
156
157
  value: ""
157
- }), W && a.enableExtraParams && (A[_].params = W), A[_].value = `this.${O}`, K().addHistory();
158
+ }), W && s.enableExtraParams && (A[_].params = W), A[_].value = `this.${O}`, K().addHistory();
158
159
  }, {
159
160
  metaData: {
160
161
  id: "engine.setting.event.BindEventsDialog.bindMethod"
161
162
  },
162
163
  ctx: () => ({
163
- props: l,
164
- BindEventsDialogSidebar: t,
164
+ props: d,
165
+ BindEventsDialogSidebar: n,
165
166
  BindEventsDialogContent: o,
166
167
  PLUGIN_NAME: e,
167
168
  activePlugin: i,
168
- pageState: p,
169
- getMethods: g,
170
- saveMethod: s,
171
- highlightMethod: r,
172
- state: a,
169
+ pageState: g,
170
+ getMethods: p,
171
+ saveMethod: a,
172
+ highlightMethod: l,
173
+ state: s,
173
174
  selectMethod: u,
174
- bindMethod: n,
175
- resetTipError: c,
176
- getExtraParams: d,
175
+ bindMethod: t,
176
+ resetTipError: r,
177
+ getExtraParams: c,
177
178
  getFormatParams: m,
178
179
  getFunctionBody: f,
179
180
  activePagePlugin: x,
180
181
  confirm: D,
181
182
  openedDialog: N,
182
- closeDialog: M,
183
+ closeDialog: w,
183
184
  ast2String: H,
184
185
  string2Ast: R,
185
186
  getMergeMeta: P,
@@ -191,36 +192,36 @@ const U = {
191
192
  META_APP: C,
192
193
  meta: U,
193
194
  dialogVisible: j,
194
- open: w,
195
- close: J
195
+ open: L,
196
+ close: $
196
197
  })
197
- }), c = h(() => {
198
- a.tipError = !1, a.tip = "", a.isValidParams = !0;
198
+ }), r = h(() => {
199
+ s.tipError = !1, s.tip = "", s.isValidParams = !0;
199
200
  }, {
200
201
  metaData: {
201
202
  id: "engine.setting.event.BindEventsDialog.resetTipError"
202
203
  },
203
204
  ctx: () => ({
204
- props: l,
205
- BindEventsDialogSidebar: t,
205
+ props: d,
206
+ BindEventsDialogSidebar: n,
206
207
  BindEventsDialogContent: o,
207
208
  PLUGIN_NAME: e,
208
209
  activePlugin: i,
209
- pageState: p,
210
- getMethods: g,
211
- saveMethod: s,
212
- highlightMethod: r,
213
- state: a,
210
+ pageState: g,
211
+ getMethods: p,
212
+ saveMethod: a,
213
+ highlightMethod: l,
214
+ state: s,
214
215
  selectMethod: u,
215
- bindMethod: n,
216
- resetTipError: c,
217
- getExtraParams: d,
216
+ bindMethod: t,
217
+ resetTipError: r,
218
+ getExtraParams: c,
218
219
  getFormatParams: m,
219
220
  getFunctionBody: f,
220
221
  activePagePlugin: x,
221
222
  confirm: D,
222
223
  openedDialog: N,
223
- closeDialog: M,
224
+ closeDialog: w,
224
225
  ast2String: H,
225
226
  string2Ast: R,
226
227
  getMergeMeta: P,
@@ -232,43 +233,43 @@ const U = {
232
233
  META_APP: C,
233
234
  meta: U,
234
235
  dialogVisible: j,
235
- open: w,
236
- close: J
236
+ open: L,
237
+ close: $
237
238
  })
238
- }), d = h(() => {
239
- let b = "";
240
- if (a.enableExtraParams)
239
+ }), c = h(() => {
240
+ let E = "";
241
+ if (s.enableExtraParams)
241
242
  try {
242
- b = JSON.parse(a.editorContent), a.isValidParams = Array.isArray(b);
243
+ E = JSON.parse(s.editorContent), s.isValidParams = Array.isArray(E);
243
244
  } catch {
244
- a.isValidParams = !1;
245
+ s.isValidParams = !1;
245
246
  }
246
- return b;
247
+ return E;
247
248
  }, {
248
249
  metaData: {
249
250
  id: "engine.setting.event.BindEventsDialog.getExtraParams"
250
251
  },
251
252
  ctx: () => ({
252
- props: l,
253
- BindEventsDialogSidebar: t,
253
+ props: d,
254
+ BindEventsDialogSidebar: n,
254
255
  BindEventsDialogContent: o,
255
256
  PLUGIN_NAME: e,
256
257
  activePlugin: i,
257
- pageState: p,
258
- getMethods: g,
259
- saveMethod: s,
260
- highlightMethod: r,
261
- state: a,
258
+ pageState: g,
259
+ getMethods: p,
260
+ saveMethod: a,
261
+ highlightMethod: l,
262
+ state: s,
262
263
  selectMethod: u,
263
- bindMethod: n,
264
- resetTipError: c,
265
- getExtraParams: d,
264
+ bindMethod: t,
265
+ resetTipError: r,
266
+ getExtraParams: c,
266
267
  getFormatParams: m,
267
268
  getFunctionBody: f,
268
269
  activePagePlugin: x,
269
270
  confirm: D,
270
271
  openedDialog: N,
271
- closeDialog: M,
272
+ closeDialog: w,
272
273
  ast2String: H,
273
274
  string2Ast: R,
274
275
  getMergeMeta: P,
@@ -280,36 +281,36 @@ const U = {
280
281
  META_APP: C,
281
282
  meta: U,
282
283
  dialogVisible: j,
283
- open: w,
284
- close: J
284
+ open: L,
285
+ close: $
285
286
  })
286
- }), m = h((b) => Array.from({
287
- length: b.length
287
+ }), m = h((E) => Array.from({
288
+ length: E.length
288
289
  }, (_, A) => `args${A}`).join(","), {
289
290
  metaData: {
290
291
  id: "engine.setting.event.BindEventsDialog.getFormatParams"
291
292
  },
292
293
  ctx: () => ({
293
- props: l,
294
- BindEventsDialogSidebar: t,
294
+ props: d,
295
+ BindEventsDialogSidebar: n,
295
296
  BindEventsDialogContent: o,
296
297
  PLUGIN_NAME: e,
297
298
  activePlugin: i,
298
- pageState: p,
299
- getMethods: g,
300
- saveMethod: s,
301
- highlightMethod: r,
302
- state: a,
299
+ pageState: g,
300
+ getMethods: p,
301
+ saveMethod: a,
302
+ highlightMethod: l,
303
+ state: s,
303
304
  selectMethod: u,
304
- bindMethod: n,
305
- resetTipError: c,
306
- getExtraParams: d,
305
+ bindMethod: t,
306
+ resetTipError: r,
307
+ getExtraParams: c,
307
308
  getFormatParams: m,
308
309
  getFunctionBody: f,
309
310
  activePagePlugin: x,
310
311
  confirm: D,
311
312
  openedDialog: N,
312
- closeDialog: M,
313
+ closeDialog: w,
313
314
  ast2String: H,
314
315
  string2Ast: R,
315
316
  getMergeMeta: P,
@@ -321,18 +322,18 @@ const U = {
321
322
  META_APP: C,
322
323
  meta: U,
323
324
  dialogVisible: j,
324
- open: w,
325
- close: J
325
+ open: L,
326
+ close: $
326
327
  })
327
328
  }), f = h(() => {
328
329
  var W, Z, q, ne, oe, ie, Q, Le;
329
- let b = (Z = (W = g()) == null ? void 0 : W[a.bindMethodInfo.name]) == null ? void 0 : Z.value, _ = "{}", A = !1, O = !1;
330
- if (b) {
330
+ let E = (Z = (W = p()) == null ? void 0 : W[s.bindMethodInfo.name]) == null ? void 0 : Z.value, _ = "{}", A = !1, O = !1;
331
+ if (E) {
331
332
  let T = {};
332
333
  try {
333
- T = R(b);
334
+ T = R(E);
334
335
  } catch {
335
- b = b.replace("function", `function ${a.bindMethodInfo.name}`), T = R(b);
336
+ E = E.replace("function", `function ${s.bindMethodInfo.name}`), T = R(E);
336
337
  }
337
338
  (ne = (q = T == null ? void 0 : T.program) == null ? void 0 : q.body[0]) != null && ne.body && (_ = H(T.program.body[0].body)), (ie = (oe = T == null ? void 0 : T.program) == null ? void 0 : oe.body[0]) != null && ie.async && (A = !0), (Le = (Q = T == null ? void 0 : T.program) == null ? void 0 : Q.body[0]) != null && Le.generator && (O = !0);
338
339
  }
@@ -347,26 +348,26 @@ const U = {
347
348
  id: "engine.setting.event.BindEventsDialog.getFunctionBody"
348
349
  },
349
350
  ctx: () => ({
350
- props: l,
351
- BindEventsDialogSidebar: t,
351
+ props: d,
352
+ BindEventsDialogSidebar: n,
352
353
  BindEventsDialogContent: o,
353
354
  PLUGIN_NAME: e,
354
355
  activePlugin: i,
355
- pageState: p,
356
- getMethods: g,
357
- saveMethod: s,
358
- highlightMethod: r,
359
- state: a,
356
+ pageState: g,
357
+ getMethods: p,
358
+ saveMethod: a,
359
+ highlightMethod: l,
360
+ state: s,
360
361
  selectMethod: u,
361
- bindMethod: n,
362
- resetTipError: c,
363
- getExtraParams: d,
362
+ bindMethod: t,
363
+ resetTipError: r,
364
+ getExtraParams: c,
364
365
  getFormatParams: m,
365
366
  getFunctionBody: f,
366
367
  activePagePlugin: x,
367
368
  confirm: D,
368
369
  openedDialog: N,
369
- closeDialog: M,
370
+ closeDialog: w,
370
371
  ast2String: H,
371
372
  string2Ast: R,
372
373
  getMergeMeta: P,
@@ -378,14 +379,14 @@ const U = {
378
379
  META_APP: C,
379
380
  meta: U,
380
381
  dialogVisible: j,
381
- open: w,
382
- close: J
382
+ open: L,
383
+ close: $
383
384
  })
384
385
  }), x = h(() => {
385
386
  i(e.Page).then(() => {
386
- ct(() => {
387
- var b;
388
- r && r((b = a.bindMethodInfo) == null ? void 0 : b.name);
387
+ rt(() => {
388
+ var E;
389
+ l && l((E = s.bindMethodInfo) == null ? void 0 : E.name);
389
390
  });
390
391
  });
391
392
  }, {
@@ -393,26 +394,26 @@ const U = {
393
394
  id: "engine.setting.event.BindEventsDialog.activePagePlugin"
394
395
  },
395
396
  ctx: () => ({
396
- props: l,
397
- BindEventsDialogSidebar: t,
397
+ props: d,
398
+ BindEventsDialogSidebar: n,
398
399
  BindEventsDialogContent: o,
399
400
  PLUGIN_NAME: e,
400
401
  activePlugin: i,
401
- pageState: p,
402
- getMethods: g,
403
- saveMethod: s,
404
- highlightMethod: r,
405
- state: a,
402
+ pageState: g,
403
+ getMethods: p,
404
+ saveMethod: a,
405
+ highlightMethod: l,
406
+ state: s,
406
407
  selectMethod: u,
407
- bindMethod: n,
408
- resetTipError: c,
409
- getExtraParams: d,
408
+ bindMethod: t,
409
+ resetTipError: r,
410
+ getExtraParams: c,
410
411
  getFormatParams: m,
411
412
  getFunctionBody: f,
412
413
  activePagePlugin: x,
413
414
  confirm: D,
414
415
  openedDialog: N,
415
- closeDialog: M,
416
+ closeDialog: w,
416
417
  ast2String: H,
417
418
  string2Ast: R,
418
419
  getMergeMeta: P,
@@ -424,20 +425,20 @@ const U = {
424
425
  META_APP: C,
425
426
  meta: U,
426
427
  dialogVisible: j,
427
- open: w,
428
- close: J
428
+ open: L,
429
+ close: $
429
430
  })
430
431
  }), D = h(async () => {
431
- if (a.tipError)
432
+ if (s.tipError)
432
433
  return;
433
- let b = "event";
434
- const _ = d();
435
- let A = b;
436
- if (!a.isValidParams)
434
+ let E = "event";
435
+ const _ = c();
436
+ let A = E;
437
+ if (!s.isValidParams)
437
438
  return;
438
- _ && (b = _.join(","), A = m(_)), n({
439
- ...a.bindMethodInfo,
440
- params: b,
439
+ _ && (E = _.join(","), A = m(_)), t({
440
+ ...s.bindMethodInfo,
441
+ params: E,
441
442
  extra: _
442
443
  });
443
444
  const {
@@ -446,38 +447,38 @@ const U = {
446
447
  isGenerator: Z
447
448
  } = f(), {
448
449
  name: q
449
- } = a.bindMethodInfo, ne = `${W ? "async" : ""} function${Z ? "*" : ""} ${q}`, oe = {
450
+ } = s.bindMethodInfo, ne = `${W ? "async" : ""} function${Z ? "*" : ""} ${q}`, oe = {
450
451
  name: q,
451
- content: a.enableExtraParams ? `${ne}(eventArgs,${A}) ${O}` : `${ne}(${A}) ${O}`
452
+ content: s.enableExtraParams ? `${ne}(eventArgs,${A}) ${O}` : `${ne}(${A}) ${O}`
452
453
  }, {
453
454
  beforeSaveMethod: ie
454
455
  } = X(U.id);
455
- typeof ie == "function" && await ie(oe, a.bindMethodInfo), s == null || s(oe), x(), J();
456
+ typeof ie == "function" && await ie(oe, s.bindMethodInfo), a == null || a(oe), x(), $();
456
457
  }, {
457
458
  metaData: {
458
459
  id: "engine.setting.event.BindEventsDialog.confirm"
459
460
  },
460
461
  ctx: () => ({
461
- props: l,
462
- BindEventsDialogSidebar: t,
462
+ props: d,
463
+ BindEventsDialogSidebar: n,
463
464
  BindEventsDialogContent: o,
464
465
  PLUGIN_NAME: e,
465
466
  activePlugin: i,
466
- pageState: p,
467
- getMethods: g,
468
- saveMethod: s,
469
- highlightMethod: r,
470
- state: a,
467
+ pageState: g,
468
+ getMethods: p,
469
+ saveMethod: a,
470
+ highlightMethod: l,
471
+ state: s,
471
472
  selectMethod: u,
472
- bindMethod: n,
473
- resetTipError: c,
474
- getExtraParams: d,
473
+ bindMethod: t,
474
+ resetTipError: r,
475
+ getExtraParams: c,
475
476
  getFormatParams: m,
476
477
  getFunctionBody: f,
477
478
  activePagePlugin: x,
478
479
  confirm: D,
479
480
  openedDialog: N,
480
- closeDialog: M,
481
+ closeDialog: w,
481
482
  ast2String: H,
482
483
  string2Ast: R,
483
484
  getMergeMeta: P,
@@ -489,37 +490,37 @@ const U = {
489
490
  META_APP: C,
490
491
  meta: U,
491
492
  dialogVisible: j,
492
- open: w,
493
- close: J
493
+ open: L,
494
+ close: $
494
495
  })
495
496
  }), N = h(() => {
496
- var b, _, A;
497
- a.enableExtraParams = !!((_ = (b = l.eventBinding) == null ? void 0 : b.params) != null && _.length), a.editorContent = JSON.stringify(((A = l.eventBinding) == null ? void 0 : A.params) || [], null, 2), c();
497
+ var E, _, A;
498
+ s.enableExtraParams = !!((_ = (E = d.eventBinding) == null ? void 0 : E.params) != null && _.length), s.editorContent = JSON.stringify(((A = d.eventBinding) == null ? void 0 : A.params) || [], null, 2), r();
498
499
  }, {
499
500
  metaData: {
500
501
  id: "engine.setting.event.BindEventsDialog.openedDialog"
501
502
  },
502
503
  ctx: () => ({
503
- props: l,
504
- BindEventsDialogSidebar: t,
504
+ props: d,
505
+ BindEventsDialogSidebar: n,
505
506
  BindEventsDialogContent: o,
506
507
  PLUGIN_NAME: e,
507
508
  activePlugin: i,
508
- pageState: p,
509
- getMethods: g,
510
- saveMethod: s,
511
- highlightMethod: r,
512
- state: a,
509
+ pageState: g,
510
+ getMethods: p,
511
+ saveMethod: a,
512
+ highlightMethod: l,
513
+ state: s,
513
514
  selectMethod: u,
514
- bindMethod: n,
515
- resetTipError: c,
516
- getExtraParams: d,
515
+ bindMethod: t,
516
+ resetTipError: r,
517
+ getExtraParams: c,
517
518
  getFormatParams: m,
518
519
  getFunctionBody: f,
519
520
  activePagePlugin: x,
520
521
  confirm: D,
521
522
  openedDialog: N,
522
- closeDialog: M,
523
+ closeDialog: w,
523
524
  ast2String: H,
524
525
  string2Ast: R,
525
526
  getMergeMeta: P,
@@ -531,36 +532,36 @@ const U = {
531
532
  META_APP: C,
532
533
  meta: U,
533
534
  dialogVisible: j,
534
- open: w,
535
- close: J
535
+ open: L,
536
+ close: $
536
537
  })
537
- }), M = h(() => {
538
- c(), J();
538
+ }), w = h(() => {
539
+ r(), $();
539
540
  }, {
540
541
  metaData: {
541
542
  id: "engine.setting.event.BindEventsDialog.closeDialog"
542
543
  },
543
544
  ctx: () => ({
544
- props: l,
545
- BindEventsDialogSidebar: t,
545
+ props: d,
546
+ BindEventsDialogSidebar: n,
546
547
  BindEventsDialogContent: o,
547
548
  PLUGIN_NAME: e,
548
549
  activePlugin: i,
549
- pageState: p,
550
- getMethods: g,
551
- saveMethod: s,
552
- highlightMethod: r,
553
- state: a,
550
+ pageState: g,
551
+ getMethods: p,
552
+ saveMethod: a,
553
+ highlightMethod: l,
554
+ state: s,
554
555
  selectMethod: u,
555
- bindMethod: n,
556
- resetTipError: c,
557
- getExtraParams: d,
556
+ bindMethod: t,
557
+ resetTipError: r,
558
+ getExtraParams: c,
558
559
  getFormatParams: m,
559
560
  getFunctionBody: f,
560
561
  activePagePlugin: x,
561
562
  confirm: D,
562
563
  openedDialog: N,
563
- closeDialog: M,
564
+ closeDialog: w,
564
565
  ast2String: H,
565
566
  string2Ast: R,
566
567
  getMergeMeta: P,
@@ -572,25 +573,25 @@ const U = {
572
573
  META_APP: C,
573
574
  meta: U,
574
575
  dialogVisible: j,
575
- open: w,
576
- close: J
576
+ open: L,
577
+ close: $
577
578
  })
578
579
  });
579
580
  return {
580
- BindEventsDialogSidebar: t,
581
+ BindEventsDialogSidebar: n,
581
582
  BindEventsDialogContent: o,
582
- state: a,
583
+ state: s,
583
584
  dialogVisible: j,
584
585
  confirm: D,
585
- closeDialog: M,
586
+ closeDialog: w,
586
587
  openedDialog: N,
587
588
  selectMethod: u
588
589
  };
589
590
  }
590
- }, bt = { class: "bind-event-dialog-content" }, Et = { class: "bind-dialog-footer" };
591
- function yt(l, t, o, e, i, p) {
592
- const g = L("tiny-button"), s = L("tiny-dialog-box");
593
- return B(), te(s, {
591
+ }, Et = { class: "bind-event-dialog-tip" }, yt = { class: "bind-event-dialog-content" }, xt = { class: "bind-dialog-footer" };
592
+ function Dt(d, n, o, e, i, g) {
593
+ const p = M("tiny-alert"), a = M("tiny-button"), l = M("tiny-dialog-box");
594
+ return B(), te(l, {
594
595
  visible: e.dialogVisible,
595
596
  title: "事件绑定",
596
597
  width: "50%",
@@ -601,19 +602,19 @@ function yt(l, t, o, e, i, p) {
601
602
  onOpened: e.openedDialog
602
603
  }, {
603
604
  footer: I(() => [
604
- v("div", Et, [
605
- E(g, { onClick: e.closeDialog }, {
606
- default: I(() => t[0] || (t[0] = [
605
+ v("div", xt, [
606
+ b(a, { onClick: e.closeDialog }, {
607
+ default: I(() => n[0] || (n[0] = [
607
608
  ke("取 消")
608
609
  ])),
609
610
  _: 1,
610
611
  __: [0]
611
612
  }, 8, ["onClick"]),
612
- E(g, {
613
+ b(a, {
613
614
  type: "info",
614
615
  onClick: e.confirm
615
616
  }, {
616
- default: I(() => t[1] || (t[1] = [
617
+ default: I(() => n[1] || (n[1] = [
617
618
  ke("确 定")
618
619
  ])),
619
620
  _: 1,
@@ -622,8 +623,15 @@ function yt(l, t, o, e, i, p) {
622
623
  ])
623
624
  ]),
624
625
  default: I(() => [
625
- t[2] || (t[2] = v("div", { class: "bind-event-dialog-tip" }, " 选择已有方法或者添加新方法(点击 确定 之后将在JS面板中创建一个该名称的新方法)。 ", -1)),
626
- v("div", bt, [
626
+ v("div", Et, [
627
+ b(p, {
628
+ type: "info",
629
+ description: "选择已有方法或者添加新方法(点击 确定 之后将在JS面板中创建一个该名称的新方法)。",
630
+ class: "header-alert",
631
+ closable: !1
632
+ })
633
+ ]),
634
+ v("div", yt, [
627
635
  (B(), te(Ge(e.BindEventsDialogSidebar), {
628
636
  dialogVisible: e.dialogVisible,
629
637
  eventBinding: o.eventBinding
@@ -631,11 +639,10 @@ function yt(l, t, o, e, i, p) {
631
639
  (B(), te(Ge(e.BindEventsDialogContent), { dialogVisible: e.dialogVisible }, null, 8, ["dialogVisible"]))
632
640
  ])
633
641
  ]),
634
- _: 1,
635
- __: [2]
642
+ _: 1
636
643
  }, 8, ["visible", "onClose", "onOpened"]);
637
644
  }
638
- const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf29014"]]), at = {
645
+ const De = /* @__PURE__ */ Ie(bt, [["render", Dt], ["__scopeId", "data-v-03166656"]]), at = {
639
646
  onClick: {
640
647
  label: {
641
648
  zh_CN: "点击事件"
@@ -692,10 +699,10 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
692
699
  },
693
700
  defaultValue: ""
694
701
  }
695
- }, et = ["onabort", "onafterprint", "onanimationend", "onanimationiteration", "onanimationstart", "onappinstalled", "onauxclick", "onbeforeinstallprompt", "onbeforeprint", "onbeforeunload", "onbeforexrselect", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncontextlost", "oncontextmenu", "oncontextrestored", "oncuechange", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onformdata", "ongotpointercapture", "onhashchange", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onlanguagechange", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onlostpointercapture", "onmessage", "onmessageerror", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onmousewheel", "onoffline", "ononline", "onpagehide", "onpageshow", "onpause", "onplay", "onplaying", "onpointercancel", "onpointerdown", "onpointerenter", "onpointerleave", "onpointermove", "onpointerout", "onpointerover", "onpointerrawupdate", "onpointerup", "onpopstate", "onprogress", "onratechange", "onrejectionhandled", "onreset", "onresize", "onscroll", "onsearch", "onsecuritypolicyviolation", "onseeked", "onseeking", "onselect", "onselectionchange", "onselectstart", "onslotchange", "onstalled", "onstorage", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "ontransitioncancel", "ontransitionend", "ontransitionrun", "ontransitionstart", "onunhandledrejection", "onunload", "onvolumechange", "onwaiting", "onwebkitanimationend", "onwebkitanimationiteration", "onwebkitanimationstart", "onwebkittransitionend", "onwheel"], Pe = h((l) => !!et.map((o) => {
702
+ }, et = ["onabort", "onafterprint", "onanimationend", "onanimationiteration", "onanimationstart", "onappinstalled", "onauxclick", "onbeforeinstallprompt", "onbeforeprint", "onbeforeunload", "onbeforexrselect", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncontextlost", "oncontextmenu", "oncontextrestored", "oncuechange", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onformdata", "ongotpointercapture", "onhashchange", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onlanguagechange", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onlostpointercapture", "onmessage", "onmessageerror", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onmousewheel", "onoffline", "ononline", "onpagehide", "onpageshow", "onpause", "onplay", "onplaying", "onpointercancel", "onpointerdown", "onpointerenter", "onpointerleave", "onpointermove", "onpointerout", "onpointerover", "onpointerrawupdate", "onpointerup", "onpopstate", "onprogress", "onratechange", "onrejectionhandled", "onreset", "onresize", "onscroll", "onsearch", "onsecuritypolicyviolation", "onseeked", "onseeking", "onselect", "onselectionchange", "onselectstart", "onslotchange", "onstalled", "onstorage", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "ontransitioncancel", "ontransitionend", "ontransitionrun", "ontransitionstart", "onunhandledrejection", "onunload", "onvolumechange", "onwaiting", "onwebkitanimationend", "onwebkitanimationiteration", "onwebkitanimationstart", "onwebkittransitionend", "onwheel"], Pe = h((d) => !!et.map((o) => {
696
703
  const e = o[2].toUpperCase();
697
704
  return `${o.substring(0, 2)}${e}${o.substring(3)}`;
698
- }).includes(l), {
705
+ }).includes(d), {
699
706
  metaData: {
700
707
  id: "engine.setting.event.commonjs-events.checkEvent"
701
708
  },
@@ -704,7 +711,7 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
704
711
  allEvents: et,
705
712
  checkEvent: Pe
706
713
  })
707
- }), xt = { class: "footer" }, Dt = {
714
+ }), Ct = { class: "footer" }, kt = {
708
715
  __name: "AddEventsDialog",
709
716
  props: {
710
717
  visible: {
@@ -717,20 +724,20 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
717
724
  }
718
725
  },
719
726
  emits: ["closeDialog", "addEvent"],
720
- setup(l, { emit: t }) {
721
- const o = l, e = t, i = we({
727
+ setup(d, { emit: n }) {
728
+ const o = d, e = n, i = we({
722
729
  eventDescription: "",
723
730
  eventName: ""
724
- }), p = Ve(null), g = h((u, n, c) => {
731
+ }), g = Ve(null), p = h((u, t, r) => {
725
732
  if (o.componentEvents[i.eventName]) {
726
- c(new Error("事件名已存在"));
733
+ r(new Error("事件名已存在"));
727
734
  return;
728
735
  }
729
736
  if (!Pe(i.eventName)) {
730
- c(new Error("请输入正确的浏览器事件名"));
737
+ r(new Error("请输入正确的浏览器事件名"));
731
738
  return;
732
739
  }
733
- c();
740
+ r();
734
741
  }, {
735
742
  metaData: {
736
743
  id: "engine.setting.event.AddEventsDialog.eventNameValidator"
@@ -740,13 +747,13 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
740
747
  props: o,
741
748
  emits: e,
742
749
  formData: i,
743
- ruleForm: p,
744
- eventNameValidator: g,
745
- rules: s,
746
- closeDialog: r,
747
- addMethod: a
750
+ ruleForm: g,
751
+ eventNameValidator: p,
752
+ rules: a,
753
+ closeDialog: l,
754
+ addMethod: s
748
755
  })
749
- }), s = {
756
+ }), a = {
750
757
  eventDescription: [{
751
758
  required: !0,
752
759
  message: "必填"
@@ -755,9 +762,9 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
755
762
  required: !0,
756
763
  message: "必填"
757
764
  }, {
758
- validator: g
765
+ validator: p
759
766
  }]
760
- }, r = h(() => {
767
+ }, l = h(() => {
761
768
  e("closeDialog");
762
769
  }, {
763
770
  metaData: {
@@ -768,23 +775,23 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
768
775
  props: o,
769
776
  emits: e,
770
777
  formData: i,
771
- ruleForm: p,
772
- eventNameValidator: g,
773
- rules: s,
774
- closeDialog: r,
775
- addMethod: a
778
+ ruleForm: g,
779
+ eventNameValidator: p,
780
+ rules: a,
781
+ closeDialog: l,
782
+ addMethod: s
776
783
  })
777
- }), a = h(() => {
778
- p.value && p.value.validate((u) => {
784
+ }), s = h(() => {
785
+ g.value && g.value.validate((u) => {
779
786
  if (!u)
780
787
  return;
781
788
  const {
782
- eventName: n,
783
- eventDescription: c
789
+ eventName: t,
790
+ eventDescription: r
784
791
  } = i;
785
792
  e("addEvent", {
786
- eventName: n,
787
- eventDescription: c
793
+ eventName: t,
794
+ eventDescription: r
788
795
  });
789
796
  });
790
797
  }, {
@@ -796,35 +803,35 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
796
803
  props: o,
797
804
  emits: e,
798
805
  formData: i,
799
- ruleForm: p,
800
- eventNameValidator: g,
801
- rules: s,
802
- closeDialog: r,
803
- addMethod: a
806
+ ruleForm: g,
807
+ eventNameValidator: p,
808
+ rules: a,
809
+ closeDialog: l,
810
+ addMethod: s
804
811
  })
805
812
  });
806
- return (u, n) => (B(), te(S(it), {
807
- visible: l.visible,
813
+ return (u, t) => (B(), te(S(it), {
814
+ visible: d.visible,
808
815
  title: "添加新事件",
809
816
  width: "400px",
810
817
  "append-to-body": !0,
811
818
  "close-on-click-modal": !1,
812
- onClose: S(r)
819
+ onClose: S(l)
813
820
  }, {
814
821
  footer: I(() => [
815
- v("div", xt, [
816
- E(S(Te), { onClick: S(r) }, {
817
- default: I(() => n[2] || (n[2] = [
822
+ v("div", Ct, [
823
+ b(S(Te), { onClick: S(l) }, {
824
+ default: I(() => t[2] || (t[2] = [
818
825
  ke(" 取消")
819
826
  ])),
820
827
  _: 1,
821
828
  __: [2]
822
829
  }, 8, ["onClick"]),
823
- E(S(Te), {
830
+ b(S(Te), {
824
831
  type: "primary",
825
- onClick: S(a)
832
+ onClick: S(s)
826
833
  }, {
827
- default: I(() => n[3] || (n[3] = [
834
+ default: I(() => t[3] || (t[3] = [
828
835
  ke(" 确定")
829
836
  ])),
830
837
  _: 1,
@@ -833,11 +840,11 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
833
840
  ])
834
841
  ]),
835
842
  default: I(() => [
836
- E(S(mt), {
843
+ b(S(gt), {
837
844
  ref_key: "ruleForm",
838
- ref: p,
845
+ ref: g,
839
846
  model: i,
840
- rules: s,
847
+ rules: a,
841
848
  "label-width": "80px",
842
849
  "inline-message": !0,
843
850
  "validate-type": "text",
@@ -845,29 +852,29 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
845
852
  class: "add-custom-event-form"
846
853
  }, {
847
854
  default: I(() => [
848
- E(S(We), {
855
+ b(S(We), {
849
856
  label: "事件函数名",
850
857
  prop: "eventName",
851
858
  required: ""
852
859
  }, {
853
860
  default: I(() => [
854
- E(S(Fe), {
861
+ b(S(Fe), {
855
862
  modelValue: i.eventName,
856
- "onUpdate:modelValue": n[0] || (n[0] = (c) => i.eventName = c),
863
+ "onUpdate:modelValue": t[0] || (t[0] = (r) => i.eventName = r),
857
864
  placeholder: "小驼峰格式,如:onDrag"
858
865
  }, null, 8, ["modelValue"])
859
866
  ]),
860
867
  _: 1
861
868
  }),
862
- E(S(We), {
869
+ b(S(We), {
863
870
  label: "事件描述",
864
871
  prop: "eventDescription",
865
872
  required: ""
866
873
  }, {
867
874
  default: I(() => [
868
- E(S(Fe), {
875
+ b(S(Fe), {
869
876
  modelValue: i.eventDescription,
870
- "onUpdate:modelValue": n[1] || (n[1] = (c) => i.eventDescription = c)
877
+ "onUpdate:modelValue": t[1] || (t[1] = (r) => i.eventDescription = r)
871
878
  }, null, 8, ["modelValue"])
872
879
  ]),
873
880
  _: 1
@@ -879,11 +886,11 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
879
886
  _: 1
880
887
  }, 8, ["visible", "onClose"]));
881
888
  }
882
- }, Ce = /* @__PURE__ */ Ie(Dt, [["__scopeId", "data-v-2ed7fac6"]]), Ct = {
889
+ }, Ce = /* @__PURE__ */ Ie(kt, [["__scopeId", "data-v-2ed7fac6"]]), At = {
883
890
  components: {
884
891
  BlockLinkEvent: ye,
885
892
  BindEventsDialog: De,
886
- TinyPopover: gt,
893
+ TinyPopover: pt,
887
894
  TinyButton: Te,
888
895
  IconChevronDown: xe(),
889
896
  SvgButton: Ee,
@@ -892,23 +899,23 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
892
899
  inheritAttrs: !1,
893
900
  setup() {
894
901
  const {
895
- PLUGIN_NAME: l,
896
- activePlugin: t
902
+ PLUGIN_NAME: d,
903
+ activePlugin: n
897
904
  } = V(), {
898
905
  pageState: o
899
906
  } = y(), {
900
907
  getBlockEvents: e,
901
908
  getCurrentBlock: i,
902
- removeEventLink: p
909
+ removeEventLink: g
903
910
  } = ue(), {
904
- getMaterial: g
911
+ getMaterial: p
905
912
  } = fe(), {
906
- confirm: s
907
- } = _e(), r = be.global.locale.value, {
908
- highlightMethod: a
913
+ confirm: a
914
+ } = _e(), l = be.global.locale.value, {
915
+ highlightMethod: s
909
916
  } = k(C.Page), {
910
917
  commonEvents: u = {}
911
- } = P("engine.setting.event").options, n = we({
918
+ } = P("engine.setting.event").options, t = we({
912
919
  eventName: "",
913
920
  // 事件名称
914
921
  eventBinding: null,
@@ -917,22 +924,22 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
917
924
  customEvents: u,
918
925
  bindActions: {},
919
926
  showBindEventDialog: !1
920
- }), c = Me(() => !!o.isBlock), d = Me(() => Object.keys(n.bindActions).length === 0), m = Me(() => ({
921
- ...n.componentEvent,
922
- ...n.customEvents
927
+ }), r = Me(() => !!o.isBlock), c = Me(() => Object.keys(t.bindActions).length === 0), m = Me(() => ({
928
+ ...t.componentEvent,
929
+ ...t.customEvents
923
930
  }));
924
931
  nt(() => {
925
932
  var Z, q, ne, oe, ie;
926
- const _ = (Z = o == null ? void 0 : o.currentSchema) == null ? void 0 : Z.componentName, A = g(_);
927
- n.componentEvent = ((ne = (q = A == null ? void 0 : A.content) == null ? void 0 : q.schema) == null ? void 0 : ne.events) || ((oe = A == null ? void 0 : A.schema) == null ? void 0 : oe.events) || {};
933
+ const _ = (Z = o == null ? void 0 : o.currentSchema) == null ? void 0 : Z.componentName, A = p(_);
934
+ t.componentEvent = ((ne = (q = A == null ? void 0 : A.content) == null ? void 0 : q.schema) == null ? void 0 : ne.events) || ((oe = A == null ? void 0 : A.schema) == null ? void 0 : oe.events) || {};
928
935
  const O = ((ie = o == null ? void 0 : o.currentSchema) == null ? void 0 : ie.props) || {}, W = Object.keys(O);
929
- n.bindActions = {}, Object.entries(m.value).forEach(([Q, Le]) => {
936
+ t.bindActions = {}, Object.entries(m.value).forEach(([Q, Le]) => {
930
937
  var T, Ue, Re;
931
938
  if (W.indexOf(Q) > -1) {
932
939
  const st = O[Q], {
933
940
  value: lt,
934
- params: Je
935
- } = st, dt = !Je && ((Ue = (T = lt.match(/\((.+)\)$/)) == null ? void 0 : T[1]) == null ? void 0 : Ue.split(",")) || Je, pe = {
941
+ params: $e
942
+ } = st, dt = !$e && ((Ue = (T = lt.match(/\((.+)\)$/)) == null ? void 0 : T[1]) == null ? void 0 : Ue.split(",")) || $e, pe = {
936
943
  eventName: Q,
937
944
  ref: "",
938
945
  event: O[Q],
@@ -940,44 +947,44 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
940
947
  };
941
948
  if (pe.event.type === "JSExpression" && (pe.ref = pe.event.value.replace("this.", "").replace(/\(.*\)$/, "")), o.isBlock) {
942
949
  pe.metaEvent = Le;
943
- const $e = e(i()), Xe = (Re = o == null ? void 0 : o.currentSchema) == null ? void 0 : Re.id;
944
- Xe && $e && Object.entries($e).forEach(([rt, ve]) => {
950
+ const Je = e(i()), Xe = (Re = o == null ? void 0 : o.currentSchema) == null ? void 0 : Re.id;
951
+ Xe && Je && Object.entries(Je).forEach(([ct, ve]) => {
945
952
  var Ke, He;
946
- Xe === ((Ke = ve == null ? void 0 : ve.linked) == null ? void 0 : Ke.id) && Q === ((He = ve == null ? void 0 : ve.linked) == null ? void 0 : He.event) && (pe.linked = ve.linked, pe.linkedEventName = rt);
953
+ Xe === ((Ke = ve == null ? void 0 : ve.linked) == null ? void 0 : Ke.id) && Q === ((He = ve == null ? void 0 : ve.linked) == null ? void 0 : He.event) && (pe.linked = ve.linked, pe.linkedEventName = ct);
947
954
  });
948
955
  }
949
- n.bindActions[Q] = pe;
956
+ t.bindActions[Q] = pe;
950
957
  }
951
958
  });
952
959
  });
953
960
  const f = h((_, A) => {
954
- A && n.bindActions[_.eventName] || (n.eventBinding = _, w());
961
+ A && t.bindActions[_.eventName] || (t.eventBinding = _, L());
955
962
  }, {
956
963
  metaData: {
957
964
  id: "engine.setting.event.BindEvents.openActionDialog"
958
965
  },
959
966
  ctx: () => ({
960
- PLUGIN_NAME: l,
961
- activePlugin: t,
967
+ PLUGIN_NAME: d,
968
+ activePlugin: n,
962
969
  pageState: o,
963
970
  getBlockEvents: e,
964
971
  getCurrentBlock: i,
965
- removeEventLink: p,
966
- getMaterial: g,
967
- confirm: s,
968
- locale: r,
969
- highlightMethod: a,
972
+ removeEventLink: g,
973
+ getMaterial: p,
974
+ confirm: a,
975
+ locale: l,
976
+ highlightMethod: s,
970
977
  commonEvents: u,
971
- state: n,
972
- isBlock: c,
973
- isEmpty: d,
978
+ state: t,
979
+ isBlock: r,
980
+ isEmpty: c,
974
981
  renderEventList: m,
975
982
  openActionDialog: f,
976
983
  deleteAction: x,
977
984
  delEvent: D,
978
985
  openCodePanel: N,
979
- handleToggleAddEventDialog: M,
980
- handleAddEvent: b,
986
+ handleToggleAddEventDialog: w,
987
+ handleAddEvent: E,
981
988
  useModal: _e,
982
989
  getMergeMeta: P,
983
990
  useCanvas: y,
@@ -992,7 +999,7 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
992
999
  SvgButton: Ee,
993
1000
  iconChevronDown: xe,
994
1001
  BindEventsDialog: De,
995
- openDialog: w,
1002
+ openDialog: L,
996
1003
  AddEventsDialog: Ce
997
1004
  })
998
1005
  }), x = h((_) => {
@@ -1008,27 +1015,27 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
1008
1015
  id: "engine.setting.event.BindEvents.deleteAction"
1009
1016
  },
1010
1017
  ctx: () => ({
1011
- PLUGIN_NAME: l,
1012
- activePlugin: t,
1018
+ PLUGIN_NAME: d,
1019
+ activePlugin: n,
1013
1020
  pageState: o,
1014
1021
  getBlockEvents: e,
1015
1022
  getCurrentBlock: i,
1016
- removeEventLink: p,
1017
- getMaterial: g,
1018
- confirm: s,
1019
- locale: r,
1020
- highlightMethod: a,
1023
+ removeEventLink: g,
1024
+ getMaterial: p,
1025
+ confirm: a,
1026
+ locale: l,
1027
+ highlightMethod: s,
1021
1028
  commonEvents: u,
1022
- state: n,
1023
- isBlock: c,
1024
- isEmpty: d,
1029
+ state: t,
1030
+ isBlock: r,
1031
+ isEmpty: c,
1025
1032
  renderEventList: m,
1026
1033
  openActionDialog: f,
1027
1034
  deleteAction: x,
1028
1035
  delEvent: D,
1029
1036
  openCodePanel: N,
1030
- handleToggleAddEventDialog: M,
1031
- handleAddEvent: b,
1037
+ handleToggleAddEventDialog: w,
1038
+ handleAddEvent: E,
1032
1039
  useModal: _e,
1033
1040
  getMergeMeta: P,
1034
1041
  useCanvas: y,
@@ -1043,15 +1050,15 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
1043
1050
  SvgButton: Ee,
1044
1051
  iconChevronDown: xe,
1045
1052
  BindEventsDialog: De,
1046
- openDialog: w,
1053
+ openDialog: L,
1047
1054
  AddEventsDialog: Ce
1048
1055
  })
1049
1056
  }), D = h((_) => {
1050
- s({
1057
+ a({
1051
1058
  title: "提示",
1052
1059
  message: `您确定要删除事件 ${_.eventName} 吗?`,
1053
1060
  exec() {
1054
- o.isBlock && p({
1061
+ o.isBlock && g({
1055
1062
  linked: _.linked
1056
1063
  }), x(_);
1057
1064
  }
@@ -1061,27 +1068,27 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
1061
1068
  id: "engine.setting.event.BindEvents.delEvent"
1062
1069
  },
1063
1070
  ctx: () => ({
1064
- PLUGIN_NAME: l,
1065
- activePlugin: t,
1071
+ PLUGIN_NAME: d,
1072
+ activePlugin: n,
1066
1073
  pageState: o,
1067
1074
  getBlockEvents: e,
1068
1075
  getCurrentBlock: i,
1069
- removeEventLink: p,
1070
- getMaterial: g,
1071
- confirm: s,
1072
- locale: r,
1073
- highlightMethod: a,
1076
+ removeEventLink: g,
1077
+ getMaterial: p,
1078
+ confirm: a,
1079
+ locale: l,
1080
+ highlightMethod: s,
1074
1081
  commonEvents: u,
1075
- state: n,
1076
- isBlock: c,
1077
- isEmpty: d,
1082
+ state: t,
1083
+ isBlock: r,
1084
+ isEmpty: c,
1078
1085
  renderEventList: m,
1079
1086
  openActionDialog: f,
1080
1087
  deleteAction: x,
1081
1088
  delEvent: D,
1082
1089
  openCodePanel: N,
1083
- handleToggleAddEventDialog: M,
1084
- handleAddEvent: b,
1090
+ handleToggleAddEventDialog: w,
1091
+ handleAddEvent: E,
1085
1092
  useModal: _e,
1086
1093
  getMergeMeta: P,
1087
1094
  useCanvas: y,
@@ -1096,39 +1103,39 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
1096
1103
  SvgButton: Ee,
1097
1104
  iconChevronDown: xe,
1098
1105
  BindEventsDialog: De,
1099
- openDialog: w,
1106
+ openDialog: L,
1100
1107
  AddEventsDialog: Ce
1101
1108
  })
1102
1109
  }), N = h((_) => {
1103
- _ && t(l.Page).then(() => {
1104
- a && a(_.ref);
1110
+ _ && n(d.Page).then(() => {
1111
+ s && s(_.ref);
1105
1112
  });
1106
1113
  }, {
1107
1114
  metaData: {
1108
1115
  id: "engine.setting.event.BindEvents.openCodePanel"
1109
1116
  },
1110
1117
  ctx: () => ({
1111
- PLUGIN_NAME: l,
1112
- activePlugin: t,
1118
+ PLUGIN_NAME: d,
1119
+ activePlugin: n,
1113
1120
  pageState: o,
1114
1121
  getBlockEvents: e,
1115
1122
  getCurrentBlock: i,
1116
- removeEventLink: p,
1117
- getMaterial: g,
1118
- confirm: s,
1119
- locale: r,
1120
- highlightMethod: a,
1123
+ removeEventLink: g,
1124
+ getMaterial: p,
1125
+ confirm: a,
1126
+ locale: l,
1127
+ highlightMethod: s,
1121
1128
  commonEvents: u,
1122
- state: n,
1123
- isBlock: c,
1124
- isEmpty: d,
1129
+ state: t,
1130
+ isBlock: r,
1131
+ isEmpty: c,
1125
1132
  renderEventList: m,
1126
1133
  openActionDialog: f,
1127
1134
  deleteAction: x,
1128
1135
  delEvent: D,
1129
1136
  openCodePanel: N,
1130
- handleToggleAddEventDialog: M,
1131
- handleAddEvent: b,
1137
+ handleToggleAddEventDialog: w,
1138
+ handleAddEvent: E,
1132
1139
  useModal: _e,
1133
1140
  getMergeMeta: P,
1134
1141
  useCanvas: y,
@@ -1143,37 +1150,37 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
1143
1150
  SvgButton: Ee,
1144
1151
  iconChevronDown: xe,
1145
1152
  BindEventsDialog: De,
1146
- openDialog: w,
1153
+ openDialog: L,
1147
1154
  AddEventsDialog: Ce
1148
1155
  })
1149
- }), M = h((_) => {
1150
- n.showBindEventDialog = _;
1156
+ }), w = h((_) => {
1157
+ t.showBindEventDialog = _;
1151
1158
  }, {
1152
1159
  metaData: {
1153
1160
  id: "engine.setting.event.BindEvents.handleToggleAddEventDialog"
1154
1161
  },
1155
1162
  ctx: () => ({
1156
- PLUGIN_NAME: l,
1157
- activePlugin: t,
1163
+ PLUGIN_NAME: d,
1164
+ activePlugin: n,
1158
1165
  pageState: o,
1159
1166
  getBlockEvents: e,
1160
1167
  getCurrentBlock: i,
1161
- removeEventLink: p,
1162
- getMaterial: g,
1163
- confirm: s,
1164
- locale: r,
1165
- highlightMethod: a,
1168
+ removeEventLink: g,
1169
+ getMaterial: p,
1170
+ confirm: a,
1171
+ locale: l,
1172
+ highlightMethod: s,
1166
1173
  commonEvents: u,
1167
- state: n,
1168
- isBlock: c,
1169
- isEmpty: d,
1174
+ state: t,
1175
+ isBlock: r,
1176
+ isEmpty: c,
1170
1177
  renderEventList: m,
1171
1178
  openActionDialog: f,
1172
1179
  deleteAction: x,
1173
1180
  delEvent: D,
1174
1181
  openCodePanel: N,
1175
- handleToggleAddEventDialog: M,
1176
- handleAddEvent: b,
1182
+ handleToggleAddEventDialog: w,
1183
+ handleAddEvent: E,
1177
1184
  useModal: _e,
1178
1185
  getMergeMeta: P,
1179
1186
  useCanvas: y,
@@ -1188,15 +1195,15 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
1188
1195
  SvgButton: Ee,
1189
1196
  iconChevronDown: xe,
1190
1197
  BindEventsDialog: De,
1191
- openDialog: w,
1198
+ openDialog: L,
1192
1199
  AddEventsDialog: Ce
1193
1200
  })
1194
- }), b = h((_) => {
1201
+ }), E = h((_) => {
1195
1202
  const {
1196
1203
  eventName: A,
1197
1204
  eventDescription: O
1198
1205
  } = _;
1199
- Object.assign(n.customEvents, {
1206
+ Object.assign(t.customEvents, {
1200
1207
  [A]: {
1201
1208
  label: {
1202
1209
  zh_CN: O
@@ -1211,33 +1218,33 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
1211
1218
  },
1212
1219
  defaultValue: ""
1213
1220
  }
1214
- }), n.showBindEventDialog = !1;
1221
+ }), t.showBindEventDialog = !1;
1215
1222
  }, {
1216
1223
  metaData: {
1217
1224
  id: "engine.setting.event.BindEvents.handleAddEvent"
1218
1225
  },
1219
1226
  ctx: () => ({
1220
- PLUGIN_NAME: l,
1221
- activePlugin: t,
1227
+ PLUGIN_NAME: d,
1228
+ activePlugin: n,
1222
1229
  pageState: o,
1223
1230
  getBlockEvents: e,
1224
1231
  getCurrentBlock: i,
1225
- removeEventLink: p,
1226
- getMaterial: g,
1227
- confirm: s,
1228
- locale: r,
1229
- highlightMethod: a,
1232
+ removeEventLink: g,
1233
+ getMaterial: p,
1234
+ confirm: a,
1235
+ locale: l,
1236
+ highlightMethod: s,
1230
1237
  commonEvents: u,
1231
- state: n,
1232
- isBlock: c,
1233
- isEmpty: d,
1238
+ state: t,
1239
+ isBlock: r,
1240
+ isEmpty: c,
1234
1241
  renderEventList: m,
1235
1242
  openActionDialog: f,
1236
1243
  deleteAction: x,
1237
1244
  delEvent: D,
1238
1245
  openCodePanel: N,
1239
- handleToggleAddEventDialog: M,
1240
- handleAddEvent: b,
1246
+ handleToggleAddEventDialog: w,
1247
+ handleAddEvent: E,
1241
1248
  useModal: _e,
1242
1249
  getMergeMeta: P,
1243
1250
  useCanvas: y,
@@ -1252,30 +1259,30 @@ const De = /* @__PURE__ */ Ie(ht, [["render", yt], ["__scopeId", "data-v-faf2901
1252
1259
  SvgButton: Ee,
1253
1260
  iconChevronDown: xe,
1254
1261
  BindEventsDialog: De,
1255
- openDialog: w,
1262
+ openDialog: L,
1256
1263
  AddEventsDialog: Ce
1257
1264
  })
1258
1265
  });
1259
1266
  return {
1260
- state: n,
1261
- isBlock: c,
1262
- isEmpty: d,
1267
+ state: t,
1268
+ isBlock: r,
1269
+ isEmpty: c,
1263
1270
  delEvent: D,
1264
1271
  openCodePanel: N,
1265
1272
  openActionDialog: f,
1266
- handleAddEvent: b,
1267
- handleToggleAddEventDialog: M,
1273
+ handleAddEvent: E,
1274
+ handleToggleAddEventDialog: w,
1268
1275
  renderEventList: m,
1269
- locale: r
1276
+ locale: l
1270
1277
  };
1271
1278
  }
1272
- }, kt = { class: "bind-action-list" }, At = { class: "popover-head" }, Bt = { class: "bind-event-list" }, Nt = ["onClick"], Vt = { class: "bind-actions" }, It = { class: "action-item bind-action-item" }, Pt = ["onClick"], Mt = { class: "event-bind" }, wt = { class: "action-buttons" }, Lt = { class: "empty-action" }, Ot = { class: "icon" };
1273
- function St(l, t, o, e, i, p) {
1274
- const g = L("icon-chevron-down"), s = L("tiny-button"), r = L("tiny-popover"), a = L("svg-icon"), u = L("block-link-event"), n = L("svg-button"), c = L("bind-events-dialog"), d = L("add-events-dialog");
1275
- return B(), $(Oe, null, [
1276
- v("div", kt, [
1277
- v("div", At, [
1278
- E(r, {
1279
+ }, Bt = { class: "bind-action-list" }, Nt = { class: "popover-head" }, Vt = { class: "bind-event-list" }, It = ["onClick"], Pt = { class: "bind-actions" }, Mt = { class: "action-item bind-action-item" }, wt = ["onClick"], Lt = { class: "event-bind" }, Ot = { class: "action-buttons" }, St = { class: "empty-action" }, Tt = { class: "icon" };
1280
+ function Ut(d, n, o, e, i, g) {
1281
+ const p = M("icon-chevron-down"), a = M("tiny-button"), l = M("tiny-popover"), s = M("svg-icon"), u = M("block-link-event"), t = M("svg-button"), r = M("bind-events-dialog"), c = M("add-events-dialog");
1282
+ return B(), J(Oe, null, [
1283
+ v("div", Bt, [
1284
+ v("div", Nt, [
1285
+ b(l, {
1279
1286
  popperClass: "option-popper setting-advanced-bind-event-list",
1280
1287
  placement: "bottom-start",
1281
1288
  trigger: "hover",
@@ -1284,53 +1291,53 @@ function St(l, t, o, e, i, p) {
1284
1291
  "visible-arrow": !1
1285
1292
  }, {
1286
1293
  reference: I(() => [
1287
- E(s, { class: "bind-event-btn" }, {
1294
+ b(a, { class: "bind-event-btn" }, {
1288
1295
  default: I(() => [
1289
- t[2] || (t[2] = v("span", null, "绑定事件", -1)),
1290
- E(g, { class: "icon-chevron-down bind-event-btn-icon" })
1296
+ n[2] || (n[2] = v("span", null, "绑定事件", -1)),
1297
+ b(p, { class: "icon-chevron-down bind-event-btn-icon" })
1291
1298
  ]),
1292
1299
  _: 1,
1293
1300
  __: [2]
1294
1301
  })
1295
1302
  ]),
1296
1303
  default: I(() => [
1297
- v("ul", Bt, [
1298
- (B(!0), $(Oe, null, ze(e.renderEventList, (m, f) => {
1304
+ v("ul", Vt, [
1305
+ (B(!0), J(Oe, null, ze(e.renderEventList, (m, f) => {
1299
1306
  var x;
1300
- return B(), $("li", {
1307
+ return B(), J("li", {
1301
1308
  key: f,
1302
1309
  class: Ne(["bind-event-list-item", { "bind-event-list-item-notallow": e.state.bindActions[f] }]),
1303
1310
  onClick: (D) => e.openActionDialog({ eventName: f }, !0)
1304
1311
  }, [
1305
1312
  v("div", null, Y(f) + "  |  " + Y(((x = m == null ? void 0 : m.label) == null ? void 0 : x[e.locale]) || f), 1)
1306
- ], 10, Nt);
1313
+ ], 10, It);
1307
1314
  }), 128))
1308
1315
  ])
1309
1316
  ]),
1310
1317
  _: 1
1311
1318
  }),
1312
- E(s, {
1319
+ b(a, {
1313
1320
  class: "title add-custom-event-button bind-action-button-item",
1314
- onClick: t[0] || (t[0] = (m) => e.handleToggleAddEventDialog(!0))
1321
+ onClick: n[0] || (n[0] = (m) => e.handleToggleAddEventDialog(!0))
1315
1322
  }, {
1316
1323
  default: I(() => [
1317
- E(a, {
1324
+ b(s, {
1318
1325
  name: "add",
1319
1326
  class: "custom-event-button-icon"
1320
1327
  }),
1321
- t[3] || (t[3] = v("span", { class: "custom-event-button-text" }, "添加新事件", -1))
1328
+ n[3] || (n[3] = v("span", { class: "custom-event-button-text" }, "添加新事件", -1))
1322
1329
  ]),
1323
1330
  _: 1,
1324
1331
  __: [3]
1325
1332
  })
1326
1333
  ]),
1327
- qe(v("ul", Vt, [
1328
- (B(!0), $(Oe, null, ze(e.state.bindActions, (m) => {
1334
+ qe(v("ul", Pt, [
1335
+ (B(!0), J(Oe, null, ze(e.state.bindActions, (m) => {
1329
1336
  var f, x;
1330
- return B(), $("li", {
1337
+ return B(), J("li", {
1331
1338
  key: m.eventName
1332
1339
  }, [
1333
- v("div", It, [
1340
+ v("div", Mt, [
1334
1341
  v("div", {
1335
1342
  class: "binding-name",
1336
1343
  onClick: (D) => e.openActionDialog(m)
@@ -1342,26 +1349,26 @@ function St(l, t, o, e, i, p) {
1342
1349
  v("div", {
1343
1350
  class: Ne({ linked: m.linked })
1344
1351
  }, Y(m.linkedEventName), 3),
1345
- v("span", Mt, Y(m.ref), 1)
1346
- ], 8, Pt),
1347
- v("div", wt, [
1352
+ v("span", Lt, Y(m.ref), 1)
1353
+ ], 8, wt),
1354
+ v("div", Ot, [
1348
1355
  e.isBlock ? (B(), te(u, {
1349
1356
  key: 0,
1350
1357
  data: m
1351
1358
  }, null, 8, ["data"])) : Se("", !0),
1352
- E(n, {
1359
+ b(t, {
1353
1360
  name: "plugin-icon-page-schema",
1354
1361
  tips: "定位到代码",
1355
1362
  placement: "top",
1356
1363
  hoverBgColor: !1,
1357
1364
  onClick: (D) => e.openCodePanel(m)
1358
1365
  }, null, 8, ["onClick"]),
1359
- E(n, {
1366
+ b(t, {
1360
1367
  name: "setting",
1361
1368
  hoverBgColor: !1,
1362
1369
  onClick: (D) => e.openActionDialog(m, !1)
1363
1370
  }, null, 8, ["onClick"]),
1364
- E(n, {
1371
+ b(t, {
1365
1372
  name: "delete",
1366
1373
  hoverBgColor: !1,
1367
1374
  onClick: (D) => e.delEvent(m)
@@ -1373,37 +1380,37 @@ function St(l, t, o, e, i, p) {
1373
1380
  ], 512), [
1374
1381
  [Ye, !e.isEmpty]
1375
1382
  ]),
1376
- qe(v("div", Lt, [
1377
- v("div", Ot, [
1378
- E(a, {
1383
+ qe(v("div", St, [
1384
+ v("div", Tt, [
1385
+ b(s, {
1379
1386
  name: "empty-action",
1380
1387
  class: "empty-action-icon"
1381
1388
  })
1382
1389
  ]),
1383
- t[4] || (t[4] = v("div", { class: "center" }, "支持添加原生DOM事件,然后点击 绑定事件 为画布所选元素增加事件", -1))
1390
+ n[4] || (n[4] = v("div", { class: "center" }, "支持添加原生DOM事件,然后点击 绑定事件 为画布所选元素增加事件", -1))
1384
1391
  ], 512), [
1385
1392
  [Ye, e.isEmpty]
1386
1393
  ])
1387
1394
  ]),
1388
- E(c, {
1395
+ b(r, {
1389
1396
  eventBinding: e.state.eventBinding
1390
1397
  }, null, 8, ["eventBinding"]),
1391
- E(d, {
1398
+ b(c, {
1392
1399
  visible: e.state.showBindEventDialog,
1393
1400
  componentEvents: e.renderEventList,
1394
- onCloseDialog: t[1] || (t[1] = (m) => e.handleToggleAddEventDialog(!1)),
1401
+ onCloseDialog: n[1] || (n[1] = (m) => e.handleToggleAddEventDialog(!1)),
1395
1402
  onAddEvent: e.handleAddEvent
1396
1403
  }, null, 8, ["visible", "componentEvents", "onAddEvent"])
1397
1404
  ], 64);
1398
1405
  }
1399
- const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b67"]]), {
1406
+ const jt = /* @__PURE__ */ Ie(At, [["render", Ut], ["__scopeId", "data-v-64f96b67"]]), {
1400
1407
  DEFAULT_LOOP_NAME: F
1401
1408
  } = me, {
1402
- string2Obj: re
1403
- } = ge, Ut = {
1409
+ string2Obj: ce
1410
+ } = ge, zt = {
1404
1411
  components: {
1405
1412
  SwitchConfigurator: de,
1406
- TinyTooltip: pt,
1413
+ TinyTooltip: vt,
1407
1414
  VariableConfigurator: le,
1408
1415
  InputConfigurator: se,
1409
1416
  CodeConfigurator: ae
@@ -1411,28 +1418,28 @@ const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b6
1411
1418
  inheritAttrs: !1,
1412
1419
  setup() {
1413
1420
  const {
1414
- pageState: l
1415
- } = y(), t = Ve(!1), o = Me(() => {
1416
- var n;
1417
- return ((n = t.value) == null ? void 0 : n.type) === G.JSEXPRESSION;
1421
+ pageState: d
1422
+ } = y(), n = Ve(!1), o = Me(() => {
1423
+ var t;
1424
+ return ((t = n.value) == null ? void 0 : t.type) === G.JSEXPRESSION;
1418
1425
  }), e = h(() => {
1419
- var n, c;
1420
- return ((c = (n = z().getSchema()) == null ? void 0 : n.loopArgs) == null ? void 0 : c[1]) || F.INDEX;
1426
+ var t, r;
1427
+ return ((r = (t = z().getSchema()) == null ? void 0 : t.loopArgs) == null ? void 0 : r[1]) || F.INDEX;
1421
1428
  }, {
1422
1429
  metaData: {
1423
1430
  id: "engine.setting.event.AdvanceConfig.getIndexName"
1424
1431
  },
1425
1432
  ctx: () => ({
1426
- pageState: l,
1427
- condition: t,
1433
+ pageState: d,
1434
+ condition: n,
1428
1435
  isBind: o,
1429
1436
  getIndexName: e,
1430
1437
  state: i,
1431
- setLoopKey: p,
1432
- openEditor: g,
1433
- setConfig: s,
1434
- setLoopIndex: r,
1435
- setLoop: a,
1438
+ setLoopKey: g,
1439
+ openEditor: p,
1440
+ setConfig: a,
1441
+ setLoopIndex: l,
1442
+ setLoop: s,
1436
1443
  setLoopItem: u,
1437
1444
  CodeConfigurator: ae,
1438
1445
  InputConfigurator: se,
@@ -1444,7 +1451,7 @@ const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b6
1444
1451
  constants: me,
1445
1452
  utils: ge,
1446
1453
  DEFAULT_LOOP_NAME: F,
1447
- string2Obj: re
1454
+ string2Obj: ce
1448
1455
  })
1449
1456
  }), i = we({
1450
1457
  loopData: {
@@ -1454,49 +1461,49 @@ const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b6
1454
1461
  loopItem: "item",
1455
1462
  loopIndex: "index",
1456
1463
  isLoop: Me(() => {
1457
- var n;
1458
- return ((n = i.loopData) == null ? void 0 : n.type) === G.JSEXPRESSION;
1464
+ var t;
1465
+ return ((t = i.loopData) == null ? void 0 : t.type) === G.JSEXPRESSION;
1459
1466
  }),
1460
1467
  loopKey: "",
1461
1468
  shouldUpdate: !1
1462
1469
  });
1463
- Ze(() => [l == null ? void 0 : l.currentSchema, i.shouldUpdate], ([n]) => {
1464
- var c, d, m, f;
1465
- t.value = (n == null ? void 0 : n.condition) === void 0 ? !0 : n == null ? void 0 : n.condition, i.loopData = n == null ? void 0 : n.loop, i.loopItem = ((c = n == null ? void 0 : n.loopArgs) == null ? void 0 : c[0]) || "", i.loopIndex = ((d = n == null ? void 0 : n.loopArgs) == null ? void 0 : d[1]) || "", i.loopKey = ((f = (m = n == null ? void 0 : n.props) == null ? void 0 : m.key) == null ? void 0 : f.value) || "";
1470
+ Ze(() => [d == null ? void 0 : d.currentSchema, i.shouldUpdate], ([t]) => {
1471
+ var r, c, m, f;
1472
+ n.value = (t == null ? void 0 : t.condition) === void 0 ? !0 : t == null ? void 0 : t.condition, i.loopData = t == null ? void 0 : t.loop, i.loopItem = ((r = t == null ? void 0 : t.loopArgs) == null ? void 0 : r[0]) || "", i.loopIndex = ((c = t == null ? void 0 : t.loopArgs) == null ? void 0 : c[1]) || "", i.loopKey = ((f = (m = t == null ? void 0 : t.props) == null ? void 0 : m.key) == null ? void 0 : f.value) || "";
1466
1473
  });
1467
- const p = h((n = "") => {
1474
+ const g = h((t = "") => {
1468
1475
  var D;
1469
- n = n.replace(/\s*/g, "");
1476
+ t = t.replace(/\s*/g, "");
1470
1477
  const {
1471
- getSchema: c,
1472
- setProp: d
1473
- } = z(), m = c();
1478
+ getSchema: r,
1479
+ setProp: c
1480
+ } = z(), m = r();
1474
1481
  if (!m)
1475
1482
  return;
1476
- const f = Number(n).toString() !== "NaN";
1483
+ const f = Number(t).toString() !== "NaN";
1477
1484
  let x = (D = m.props) == null ? void 0 : D.key;
1478
- n && !f && (x = {
1485
+ t && !f && (x = {
1479
1486
  type: G.JSEXPRESSION,
1480
- value: n
1481
- }), n || (i.isLoop ? x = {
1487
+ value: t
1488
+ }), t || (i.isLoop ? x = {
1482
1489
  type: G.JSEXPRESSION,
1483
1490
  value: e()
1484
- } : x = ""), d("key", x);
1491
+ } : x = ""), c("key", x);
1485
1492
  }, {
1486
1493
  metaData: {
1487
1494
  id: "engine.setting.event.AdvanceConfig.setLoopKey"
1488
1495
  },
1489
1496
  ctx: () => ({
1490
- pageState: l,
1491
- condition: t,
1497
+ pageState: d,
1498
+ condition: n,
1492
1499
  isBind: o,
1493
1500
  getIndexName: e,
1494
1501
  state: i,
1495
- setLoopKey: p,
1496
- openEditor: g,
1497
- setConfig: s,
1498
- setLoopIndex: r,
1499
- setLoop: a,
1502
+ setLoopKey: g,
1503
+ openEditor: p,
1504
+ setConfig: a,
1505
+ setLoopIndex: l,
1506
+ setLoop: s,
1500
1507
  setLoopItem: u,
1501
1508
  CodeConfigurator: ae,
1502
1509
  InputConfigurator: se,
@@ -1508,30 +1515,30 @@ const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b6
1508
1515
  constants: me,
1509
1516
  utils: ge,
1510
1517
  DEFAULT_LOOP_NAME: F,
1511
- string2Obj: re
1518
+ string2Obj: ce
1512
1519
  })
1513
1520
  });
1514
1521
  Ze([() => i.isLoop, () => i.loopIndex], () => {
1515
- !i.loopKey && i.isLoop && p(e()), i.isLoop || p("");
1522
+ !i.loopKey && i.isLoop && g(e()), i.isLoop || g("");
1516
1523
  });
1517
- const g = h(() => {
1518
- var n;
1519
- i.loopData = (n = z().getSchema()) == null ? void 0 : n.loop;
1524
+ const p = h(() => {
1525
+ var t;
1526
+ i.loopData = (t = z().getSchema()) == null ? void 0 : t.loop;
1520
1527
  }, {
1521
1528
  metaData: {
1522
1529
  id: "engine.setting.event.AdvanceConfig.openEditor"
1523
1530
  },
1524
1531
  ctx: () => ({
1525
- pageState: l,
1526
- condition: t,
1532
+ pageState: d,
1533
+ condition: n,
1527
1534
  isBind: o,
1528
1535
  getIndexName: e,
1529
1536
  state: i,
1530
- setLoopKey: p,
1531
- openEditor: g,
1532
- setConfig: s,
1533
- setLoopIndex: r,
1534
- setLoop: a,
1537
+ setLoopKey: g,
1538
+ openEditor: p,
1539
+ setConfig: a,
1540
+ setLoopIndex: l,
1541
+ setLoop: s,
1535
1542
  setLoopItem: u,
1536
1543
  CodeConfigurator: ae,
1537
1544
  InputConfigurator: se,
@@ -1543,23 +1550,23 @@ const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b6
1543
1550
  constants: me,
1544
1551
  utils: ge,
1545
1552
  DEFAULT_LOOP_NAME: F,
1546
- string2Obj: re
1553
+ string2Obj: ce
1547
1554
  })
1548
- }), s = h((n) => {
1555
+ }), a = h((t) => {
1549
1556
  const {
1550
- getSchema: c
1551
- } = z(), d = c();
1552
- if (!d)
1557
+ getSchema: r
1558
+ } = z(), c = r();
1559
+ if (!c)
1553
1560
  return;
1554
1561
  const {
1555
1562
  operateNode: m
1556
1563
  } = y();
1557
- if (n === !1 || n != null && n.type)
1564
+ if (t === !1 || t != null && t.type)
1558
1565
  m({
1559
1566
  type: "updateAttributes",
1560
- id: d.id,
1567
+ id: c.id,
1561
1568
  value: {
1562
- condition: n
1569
+ condition: t
1563
1570
  }
1564
1571
  });
1565
1572
  else {
@@ -1567,32 +1574,32 @@ const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b6
1567
1574
  condition: f,
1568
1575
  children: x,
1569
1576
  ...D
1570
- } = d;
1577
+ } = c;
1571
1578
  m({
1572
1579
  type: "updateAttributes",
1573
- id: d.id,
1580
+ id: c.id,
1574
1581
  value: {
1575
1582
  ...D
1576
1583
  },
1577
1584
  overwrite: !0
1578
1585
  });
1579
1586
  }
1580
- y().canvasApi.value.updateRect(), t.value = n;
1587
+ y().canvasApi.value.updateRect(), n.value = t;
1581
1588
  }, {
1582
1589
  metaData: {
1583
1590
  id: "engine.setting.event.AdvanceConfig.setConfig"
1584
1591
  },
1585
1592
  ctx: () => ({
1586
- pageState: l,
1587
- condition: t,
1593
+ pageState: d,
1594
+ condition: n,
1588
1595
  isBind: o,
1589
1596
  getIndexName: e,
1590
1597
  state: i,
1591
- setLoopKey: p,
1592
- openEditor: g,
1593
- setConfig: s,
1594
- setLoopIndex: r,
1595
- setLoop: a,
1598
+ setLoopKey: g,
1599
+ openEditor: p,
1600
+ setConfig: a,
1601
+ setLoopIndex: l,
1602
+ setLoop: s,
1596
1603
  setLoopItem: u,
1597
1604
  CodeConfigurator: ae,
1598
1605
  InputConfigurator: se,
@@ -1604,19 +1611,19 @@ const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b6
1604
1611
  constants: me,
1605
1612
  utils: ge,
1606
1613
  DEFAULT_LOOP_NAME: F,
1607
- string2Obj: re
1614
+ string2Obj: ce
1608
1615
  })
1609
- }), r = h((n) => {
1610
- const c = z().getSchema();
1611
- let d = c.loopArgs;
1616
+ }), l = h((t) => {
1617
+ const r = z().getSchema();
1618
+ let c = r.loopArgs;
1612
1619
  const {
1613
1620
  operateNode: m
1614
1621
  } = y();
1615
- d ? d[1] = n || F.INDEX : d = [F.ITEM, n], m({
1622
+ c ? c[1] = t || F.INDEX : c = [F.ITEM, t], m({
1616
1623
  type: "updateAttributes",
1617
- id: c.id,
1624
+ id: r.id,
1618
1625
  value: {
1619
- loopArgs: d
1626
+ loopArgs: c
1620
1627
  }
1621
1628
  });
1622
1629
  }, {
@@ -1624,16 +1631,16 @@ const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b6
1624
1631
  id: "engine.setting.event.AdvanceConfig.setLoopIndex"
1625
1632
  },
1626
1633
  ctx: () => ({
1627
- pageState: l,
1628
- condition: t,
1634
+ pageState: d,
1635
+ condition: n,
1629
1636
  isBind: o,
1630
1637
  getIndexName: e,
1631
1638
  state: i,
1632
- setLoopKey: p,
1633
- openEditor: g,
1634
- setConfig: s,
1635
- setLoopIndex: r,
1636
- setLoop: a,
1639
+ setLoopKey: g,
1640
+ openEditor: p,
1641
+ setConfig: a,
1642
+ setLoopIndex: l,
1643
+ setLoop: s,
1637
1644
  setLoopItem: u,
1638
1645
  CodeConfigurator: ae,
1639
1646
  InputConfigurator: se,
@@ -1645,32 +1652,32 @@ const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b6
1645
1652
  constants: me,
1646
1653
  utils: ge,
1647
1654
  DEFAULT_LOOP_NAME: F,
1648
- string2Obj: re
1655
+ string2Obj: ce
1649
1656
  })
1650
- }), a = h((n) => {
1657
+ }), s = h((t) => {
1651
1658
  const {
1652
- operateNode: c
1659
+ operateNode: r
1653
1660
  } = y(), {
1654
- getSchema: d
1655
- } = z(), m = d();
1656
- if (n) {
1657
- const f = n != null && n.type ? n : re(n);
1658
- c({
1661
+ getSchema: c
1662
+ } = z(), m = c();
1663
+ if (t) {
1664
+ const f = t != null && t.type ? t : ce(t);
1665
+ r({
1659
1666
  type: "updateAttributes",
1660
1667
  id: m.id,
1661
1668
  value: {
1662
1669
  loop: f
1663
1670
  }
1664
- }), r(F.INDEX);
1671
+ }), l(F.INDEX);
1665
1672
  } else {
1666
- p();
1673
+ g();
1667
1674
  const {
1668
1675
  loop: f,
1669
1676
  loopArgs: x,
1670
1677
  children: D,
1671
1678
  ...N
1672
1679
  } = m;
1673
- c({
1680
+ r({
1674
1681
  type: "updateAttributes",
1675
1682
  id: m.id,
1676
1683
  value: N,
@@ -1683,16 +1690,16 @@ const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b6
1683
1690
  id: "engine.setting.event.AdvanceConfig.setLoop"
1684
1691
  },
1685
1692
  ctx: () => ({
1686
- pageState: l,
1687
- condition: t,
1693
+ pageState: d,
1694
+ condition: n,
1688
1695
  isBind: o,
1689
1696
  getIndexName: e,
1690
1697
  state: i,
1691
- setLoopKey: p,
1692
- openEditor: g,
1693
- setConfig: s,
1694
- setLoopIndex: r,
1695
- setLoop: a,
1698
+ setLoopKey: g,
1699
+ openEditor: p,
1700
+ setConfig: a,
1701
+ setLoopIndex: l,
1702
+ setLoop: s,
1696
1703
  setLoopItem: u,
1697
1704
  CodeConfigurator: ae,
1698
1705
  InputConfigurator: se,
@@ -1704,19 +1711,19 @@ const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b6
1704
1711
  constants: me,
1705
1712
  utils: ge,
1706
1713
  DEFAULT_LOOP_NAME: F,
1707
- string2Obj: re
1714
+ string2Obj: ce
1708
1715
  })
1709
- }), u = h((n) => {
1710
- const c = z().getSchema();
1711
- let d = c.loopArgs;
1716
+ }), u = h((t) => {
1717
+ const r = z().getSchema();
1718
+ let c = r.loopArgs;
1712
1719
  const {
1713
1720
  operateNode: m
1714
1721
  } = y();
1715
- d ? d[0] = n || F.ITEM : d = [n, F.INDEX], m({
1722
+ c ? c[0] = t || F.ITEM : c = [t, F.INDEX], m({
1716
1723
  type: "updateAttributes",
1717
- id: c.id,
1724
+ id: r.id,
1718
1725
  value: {
1719
- loopArgs: d
1726
+ loopArgs: c
1720
1727
  }
1721
1728
  });
1722
1729
  }, {
@@ -1724,16 +1731,16 @@ const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b6
1724
1731
  id: "engine.setting.event.AdvanceConfig.setLoopItem"
1725
1732
  },
1726
1733
  ctx: () => ({
1727
- pageState: l,
1728
- condition: t,
1734
+ pageState: d,
1735
+ condition: n,
1729
1736
  isBind: o,
1730
1737
  getIndexName: e,
1731
1738
  state: i,
1732
- setLoopKey: p,
1733
- openEditor: g,
1734
- setConfig: s,
1735
- setLoopIndex: r,
1736
- setLoop: a,
1739
+ setLoopKey: g,
1740
+ openEditor: p,
1741
+ setConfig: a,
1742
+ setLoopIndex: l,
1743
+ setLoop: s,
1737
1744
  setLoopItem: u,
1738
1745
  CodeConfigurator: ae,
1739
1746
  InputConfigurator: se,
@@ -1745,115 +1752,115 @@ const Tt = /* @__PURE__ */ Ie(Ct, [["render", St], ["__scopeId", "data-v-64f96b6
1745
1752
  constants: me,
1746
1753
  utils: ge,
1747
1754
  DEFAULT_LOOP_NAME: F,
1748
- string2Obj: re
1755
+ string2Obj: ce
1749
1756
  })
1750
1757
  });
1751
1758
  return {
1752
- condition: t,
1753
- setConfig: s,
1759
+ condition: n,
1760
+ setConfig: a,
1754
1761
  isBind: o,
1755
1762
  state: i,
1756
- setLoop: a,
1763
+ setLoop: s,
1757
1764
  setLoopItem: u,
1758
1765
  DEFAULT_LOOP_NAME: F,
1759
- openEditor: g,
1760
- setLoopIndex: r,
1761
- setLoopKey: p,
1766
+ openEditor: p,
1767
+ setLoopIndex: l,
1768
+ setLoopKey: g,
1762
1769
  getIndexName: e
1763
1770
  };
1764
1771
  }
1765
- }, jt = { class: "advanced-config-container" }, zt = { class: "advnce-config" }, Ft = { class: "advanced-config-form-item" }, Rt = ["title"], Jt = { class: "advnce-config loop-data-item" }, $t = { class: "advanced-config-form-item" }, Xt = ["title"], Kt = { class: "advnce-config" }, Ht = { class: "advanced-config-form-item" }, Gt = { class: "advnce-config" }, qt = { class: "advanced-config-form-item" }, Yt = { class: "advnce-config" }, Zt = { class: "advanced-config-form-item" };
1766
- function Wt(l, t, o, e, i, p) {
1767
- var n, c;
1768
- const g = L("switch-configurator"), s = L("variable-configurator"), r = L("code-configurator"), a = L("input-configurator"), u = L("tiny-tooltip");
1769
- return B(), $("div", jt, [
1770
- v("div", zt, [
1771
- t[6] || (t[6] = v("label", { class: "text-ellipsis-multiple" }, "是否渲染", -1)),
1772
- v("div", Ft, [
1773
- e.isBind ? (B(), $("div", {
1772
+ }, Ft = { class: "advanced-config-container" }, Rt = { class: "advnce-config" }, $t = { class: "advanced-config-form-item" }, Jt = ["title"], Xt = { class: "advnce-config loop-data-item" }, Kt = { class: "advanced-config-form-item" }, Ht = ["title"], Gt = { class: "advnce-config" }, qt = { class: "advanced-config-form-item" }, Yt = { class: "advnce-config" }, Zt = { class: "advanced-config-form-item" }, Wt = { class: "advnce-config" }, Qt = { class: "advanced-config-form-item" };
1773
+ function en(d, n, o, e, i, g) {
1774
+ var t, r;
1775
+ const p = M("switch-configurator"), a = M("variable-configurator"), l = M("code-configurator"), s = M("input-configurator"), u = M("tiny-tooltip");
1776
+ return B(), J("div", Ft, [
1777
+ v("div", Rt, [
1778
+ n[6] || (n[6] = v("label", { class: "text-ellipsis-multiple" }, "是否渲染", -1)),
1779
+ v("div", $t, [
1780
+ e.isBind ? (B(), J("div", {
1774
1781
  key: 1,
1775
1782
  class: "binding-state text-ellipsis-multiple",
1776
1783
  title: e.condition.value
1777
- }, " 已绑定:" + Y(e.condition.value), 9, Rt)) : (B(), te(g, {
1784
+ }, " 已绑定:" + Y(e.condition.value), 9, Jt)) : (B(), te(p, {
1778
1785
  key: 0,
1779
1786
  modelValue: e.condition,
1780
1787
  "onUpdate:modelValue": e.setConfig
1781
1788
  }, null, 8, ["modelValue", "onUpdate:modelValue"])),
1782
- E(s, {
1789
+ b(a, {
1783
1790
  modelValue: e.condition,
1784
1791
  "onUpdate:modelValue": [
1785
- t[0] || (t[0] = (d) => e.condition = d),
1792
+ n[0] || (n[0] = (c) => e.condition = c),
1786
1793
  e.setConfig
1787
1794
  ],
1788
1795
  name: "advance"
1789
1796
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1790
1797
  ])
1791
1798
  ]),
1792
- v("div", Jt, [
1793
- t[7] || (t[7] = v("label", { class: "text-ellipsis-multiple" }, "循环数据", -1)),
1794
- v("div", $t, [
1795
- e.state.isLoop ? (B(), $("div", {
1799
+ v("div", Xt, [
1800
+ n[7] || (n[7] = v("label", { class: "text-ellipsis-multiple" }, "循环数据", -1)),
1801
+ v("div", Kt, [
1802
+ e.state.isLoop ? (B(), J("div", {
1796
1803
  key: 1,
1797
1804
  class: "binding-state text-ellipsis-multiple",
1798
- title: (n = e.state.loopData) == null ? void 0 : n.value
1799
- }, " 已绑定:" + Y((c = e.state.loopData) == null ? void 0 : c.value), 9, Xt)) : (B(), te(r, {
1805
+ title: (t = e.state.loopData) == null ? void 0 : t.value
1806
+ }, " 已绑定:" + Y((r = e.state.loopData) == null ? void 0 : r.value), 9, Ht)) : (B(), te(l, {
1800
1807
  key: 0,
1801
1808
  modelValue: e.state.loopData,
1802
1809
  "onUpdate:modelValue": [
1803
- t[1] || (t[1] = (d) => e.state.loopData = d),
1810
+ n[1] || (n[1] = (c) => e.state.loopData = c),
1804
1811
  e.setLoop
1805
1812
  ],
1806
1813
  "data-type": "JSExpression",
1807
1814
  onOpen: e.openEditor
1808
1815
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onOpen"])),
1809
- E(s, {
1816
+ b(a, {
1810
1817
  modelValue: e.state.loopData,
1811
1818
  "onUpdate:modelValue": [
1812
- t[2] || (t[2] = (d) => e.state.loopData = d),
1819
+ n[2] || (n[2] = (c) => e.state.loopData = c),
1813
1820
  e.setLoop
1814
1821
  ],
1815
1822
  name: "advance"
1816
1823
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
1817
1824
  ])
1818
1825
  ]),
1819
- v("div", Kt, [
1820
- t[8] || (t[8] = v("label", { class: "text-ellipsis-multiple" }, "迭代变量名", -1)),
1821
- v("div", Ht, [
1822
- E(a, {
1826
+ v("div", Gt, [
1827
+ n[8] || (n[8] = v("label", { class: "text-ellipsis-multiple" }, "迭代变量名", -1)),
1828
+ v("div", qt, [
1829
+ b(s, {
1823
1830
  modelValue: e.state.loopItem,
1824
1831
  "onUpdate:modelValue": [
1825
- t[3] || (t[3] = (d) => e.state.loopItem = d),
1832
+ n[3] || (n[3] = (c) => e.state.loopItem = c),
1826
1833
  e.setLoopItem
1827
1834
  ],
1828
1835
  placeholder: `默认值为:${e.DEFAULT_LOOP_NAME.ITEM}`
1829
1836
  }, null, 8, ["modelValue", "placeholder", "onUpdate:modelValue"])
1830
1837
  ])
1831
1838
  ]),
1832
- v("div", Gt, [
1833
- t[9] || (t[9] = v("label", { class: "text-ellipsis-multiple" }, "索引变量名", -1)),
1834
- v("div", qt, [
1835
- E(a, {
1839
+ v("div", Yt, [
1840
+ n[9] || (n[9] = v("label", { class: "text-ellipsis-multiple" }, "索引变量名", -1)),
1841
+ v("div", Zt, [
1842
+ b(s, {
1836
1843
  modelValue: e.state.loopIndex,
1837
1844
  "onUpdate:modelValue": [
1838
- t[4] || (t[4] = (d) => e.state.loopIndex = d),
1845
+ n[4] || (n[4] = (c) => e.state.loopIndex = c),
1839
1846
  e.setLoopIndex
1840
1847
  ],
1841
1848
  placeholder: `默认值为:${e.DEFAULT_LOOP_NAME.INDEX}`
1842
1849
  }, null, 8, ["modelValue", "placeholder", "onUpdate:modelValue"])
1843
1850
  ])
1844
1851
  ]),
1845
- v("div", Yt, [
1846
- t[10] || (t[10] = v("label", { class: "text-ellipsis-multiple" }, "key", -1)),
1847
- v("div", Zt, [
1848
- E(u, {
1852
+ v("div", Wt, [
1853
+ n[10] || (n[10] = v("label", { class: "text-ellipsis-multiple" }, "key", -1)),
1854
+ v("div", Qt, [
1855
+ b(u, {
1849
1856
  content: "建议填写循环项中的唯一值(如item.id),如果填写为数字将不保存",
1850
1857
  effect: "light"
1851
1858
  }, {
1852
1859
  default: I(() => [
1853
- E(a, {
1860
+ b(s, {
1854
1861
  modelValue: e.state.loopKey,
1855
1862
  "onUpdate:modelValue": [
1856
- t[5] || (t[5] = (d) => e.state.loopKey = d),
1863
+ n[5] || (n[5] = (c) => e.state.loopKey = c),
1857
1864
  e.setLoopKey
1858
1865
  ],
1859
1866
  placeholder: `默认为索引名:${e.getIndexName()}`
@@ -1865,46 +1872,46 @@ function Wt(l, t, o, e, i, p) {
1865
1872
  ])
1866
1873
  ]);
1867
1874
  }
1868
- const Qt = /* @__PURE__ */ Ie(Ut, [["render", Wt], ["__scopeId", "data-v-17653d06"]]), en = {
1875
+ const tn = /* @__PURE__ */ Ie(zt, [["render", en], ["__scopeId", "data-v-275ffc6c"]]), nn = {
1869
1876
  __name: "Main",
1870
1877
  props: {
1871
1878
  fixedPanels: Array
1872
1879
  },
1873
1880
  emits: [],
1874
- setup(l, { emit: t }) {
1881
+ setup(d, { emit: n }) {
1875
1882
  const o = Ve(["bindEvent", "advancedConfig"]), {
1876
1883
  PLUGIN_NAME: e
1877
- } = V(), p = we({
1878
- emitEvent: t
1884
+ } = V(), g = we({
1885
+ emitEvent: n
1879
1886
  });
1880
- return tt("panelState", p), (g, s) => (B(), te(S(_t), {
1887
+ return tt("panelState", g), (p, a) => (B(), te(S(ht), {
1881
1888
  title: "高级",
1882
- "fixed-panels": l.fixedPanels,
1889
+ "fixed-panels": d.fixedPanels,
1883
1890
  "fixed-name": S(e).Event,
1884
1891
  "header-margin-bottom": 0,
1885
- onClose: s[1] || (s[1] = (r) => g.$emit("close"))
1892
+ onClose: a[1] || (a[1] = (l) => p.$emit("close"))
1886
1893
  }, {
1887
1894
  content: I(() => [
1888
- E(S(vt), {
1895
+ b(S(ut), {
1889
1896
  modelValue: o.value,
1890
- "onUpdate:modelValue": s[0] || (s[0] = (r) => o.value = r)
1897
+ "onUpdate:modelValue": a[0] || (a[0] = (l) => o.value = l)
1891
1898
  }, {
1892
1899
  default: I(() => [
1893
- E(S(Qe), {
1900
+ b(S(Qe), {
1894
1901
  title: "事件绑定",
1895
1902
  name: "bindEvent"
1896
1903
  }, {
1897
1904
  default: I(() => [
1898
- E(Tt)
1905
+ b(jt)
1899
1906
  ]),
1900
1907
  _: 1
1901
1908
  }),
1902
- E(S(Qe), {
1909
+ b(S(Qe), {
1903
1910
  title: "高级配置",
1904
1911
  name: "advancedConfig"
1905
1912
  }, {
1906
1913
  default: I(() => [
1907
- E(Qt)
1914
+ b(tn)
1908
1915
  ]),
1909
1916
  _: 1
1910
1917
  })
@@ -1915,222 +1922,222 @@ const Qt = /* @__PURE__ */ Ie(Ut, [["render", Wt], ["__scopeId", "data-v-17653d0
1915
1922
  _: 1
1916
1923
  }, 8, ["fixed-panels", "fixed-name"]));
1917
1924
  }
1918
- }, ee = "newMethod", je = /[^0-9a-zA-Z_$]/, Be = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/, ce = {
1925
+ }, ee = "newMethod", je = /[^0-9a-zA-Z_$]/, Be = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/, re = {
1919
1926
  default: "选择已有方法或者添加新方法(点击 确定 之后将在JS面板中创建一个该名称的新方法)",
1920
1927
  exist: "方法名称已存在",
1921
1928
  ruleInvalid: "请输入有效的方法名,可以由字母、数字、下划线、$ 符号组成,不能以数字开头",
1922
1929
  empty: "方法名称不能为空"
1923
- }, tn = {
1930
+ }, on = {
1924
1931
  components: {
1925
1932
  MonacoEditor: Ae,
1926
1933
  TinyInput: Fe,
1927
- TinyCheckbox: ut
1934
+ TinyCheckbox: ft
1928
1935
  },
1929
1936
  props: {
1930
1937
  dialogVisible: Boolean
1931
1938
  },
1932
1939
  setup() {
1933
1940
  const {
1934
- getMethodNameList: l
1935
- } = k(C.Page), t = ot("context"), o = {
1941
+ getMethodNameList: d
1942
+ } = k(C.Page), n = ot("context"), o = {
1936
1943
  language: "json",
1937
1944
  lineNumbers: !1,
1938
1945
  minimap: {
1939
1946
  enabled: !1
1940
1947
  }
1941
- }, e = h((r) => {
1942
- t.editorContent = r;
1948
+ }, e = h((l) => {
1949
+ n.editorContent = l;
1943
1950
  }, {
1944
1951
  metaData: {
1945
1952
  id: "engine.setting.event.BindEventsDialogContent.editorContentChange"
1946
1953
  },
1947
1954
  ctx: () => ({
1948
- getMethodNameList: l,
1949
- context: t,
1955
+ getMethodNameList: d,
1956
+ context: n,
1950
1957
  editorOptions: o,
1951
1958
  editorContentChange: e,
1952
1959
  validMethodNameEmpty: i,
1953
- validMethodNameExist: p,
1954
- invalidMethodName: g,
1955
- change: s,
1960
+ validMethodNameExist: g,
1961
+ invalidMethodName: p,
1962
+ change: a,
1956
1963
  VueMonaco: Ae,
1957
1964
  getMetaApi: k,
1958
1965
  META_APP: C,
1959
- METHOD_TIPS_MAP: ce,
1966
+ METHOD_TIPS_MAP: re,
1960
1967
  NEW_METHOD_TYPE: ee,
1961
1968
  VALID_VARNAME_RE: Be
1962
1969
  })
1963
- }), i = h((r) => !r, {
1970
+ }), i = h((l) => !l, {
1964
1971
  metaData: {
1965
1972
  id: "engine.setting.event.BindEventsDialogContent.validMethodNameEmpty"
1966
1973
  },
1967
1974
  ctx: () => ({
1968
- getMethodNameList: l,
1969
- context: t,
1975
+ getMethodNameList: d,
1976
+ context: n,
1970
1977
  editorOptions: o,
1971
1978
  editorContentChange: e,
1972
1979
  validMethodNameEmpty: i,
1973
- validMethodNameExist: p,
1974
- invalidMethodName: g,
1975
- change: s,
1980
+ validMethodNameExist: g,
1981
+ invalidMethodName: p,
1982
+ change: a,
1976
1983
  VueMonaco: Ae,
1977
1984
  getMetaApi: k,
1978
1985
  META_APP: C,
1979
- METHOD_TIPS_MAP: ce,
1986
+ METHOD_TIPS_MAP: re,
1980
1987
  NEW_METHOD_TYPE: ee,
1981
1988
  VALID_VARNAME_RE: Be
1982
1989
  })
1983
- }), p = h((r) => l == null ? void 0 : l().includes(r), {
1990
+ }), g = h((l) => d == null ? void 0 : d().includes(l), {
1984
1991
  metaData: {
1985
1992
  id: "engine.setting.event.BindEventsDialogContent.validMethodNameExist"
1986
1993
  },
1987
1994
  ctx: () => ({
1988
- getMethodNameList: l,
1989
- context: t,
1995
+ getMethodNameList: d,
1996
+ context: n,
1990
1997
  editorOptions: o,
1991
1998
  editorContentChange: e,
1992
1999
  validMethodNameEmpty: i,
1993
- validMethodNameExist: p,
1994
- invalidMethodName: g,
1995
- change: s,
2000
+ validMethodNameExist: g,
2001
+ invalidMethodName: p,
2002
+ change: a,
1996
2003
  VueMonaco: Ae,
1997
2004
  getMetaApi: k,
1998
2005
  META_APP: C,
1999
- METHOD_TIPS_MAP: ce,
2006
+ METHOD_TIPS_MAP: re,
2000
2007
  NEW_METHOD_TYPE: ee,
2001
2008
  VALID_VARNAME_RE: Be
2002
2009
  })
2003
- }), g = h((r) => !Be.test(r), {
2010
+ }), p = h((l) => !Be.test(l), {
2004
2011
  metaData: {
2005
2012
  id: "engine.setting.event.BindEventsDialogContent.invalidMethodName"
2006
2013
  },
2007
2014
  ctx: () => ({
2008
- getMethodNameList: l,
2009
- context: t,
2015
+ getMethodNameList: d,
2016
+ context: n,
2010
2017
  editorOptions: o,
2011
2018
  editorContentChange: e,
2012
2019
  validMethodNameEmpty: i,
2013
- validMethodNameExist: p,
2014
- invalidMethodName: g,
2015
- change: s,
2020
+ validMethodNameExist: g,
2021
+ invalidMethodName: p,
2022
+ change: a,
2016
2023
  VueMonaco: Ae,
2017
2024
  getMetaApi: k,
2018
2025
  META_APP: C,
2019
- METHOD_TIPS_MAP: ce,
2026
+ METHOD_TIPS_MAP: re,
2020
2027
  NEW_METHOD_TYPE: ee,
2021
2028
  VALID_VARNAME_RE: Be
2022
2029
  })
2023
- }), s = h((r) => {
2024
- const a = [{
2030
+ }), a = h((l) => {
2031
+ const s = [{
2025
2032
  validator: i,
2026
- tip: ce.empty
2027
- }, {
2028
- validator: p,
2029
- tip: ce.exist
2033
+ tip: re.empty
2030
2034
  }, {
2031
2035
  validator: g,
2032
- tip: ce.ruleInvalid
2036
+ tip: re.exist
2037
+ }, {
2038
+ validator: p,
2039
+ tip: re.ruleInvalid
2033
2040
  }];
2034
- for (let u = 0; u < a.length; u++) {
2035
- const n = a[u];
2036
- if (n.validator(r)) {
2037
- t.tipError = !0, t.tip = n.tip;
2041
+ for (let u = 0; u < s.length; u++) {
2042
+ const t = s[u];
2043
+ if (t.validator(l)) {
2044
+ n.tipError = !0, n.tip = t.tip;
2038
2045
  return;
2039
2046
  }
2040
2047
  }
2041
- t.tipError = !1, t.tip = "";
2048
+ n.tipError = !1, n.tip = "";
2042
2049
  }, {
2043
2050
  metaData: {
2044
2051
  id: "engine.setting.event.BindEventsDialogContent.change"
2045
2052
  },
2046
2053
  ctx: () => ({
2047
- getMethodNameList: l,
2048
- context: t,
2054
+ getMethodNameList: d,
2055
+ context: n,
2049
2056
  editorOptions: o,
2050
2057
  editorContentChange: e,
2051
2058
  validMethodNameEmpty: i,
2052
- validMethodNameExist: p,
2053
- invalidMethodName: g,
2054
- change: s,
2059
+ validMethodNameExist: g,
2060
+ invalidMethodName: p,
2061
+ change: a,
2055
2062
  VueMonaco: Ae,
2056
2063
  getMetaApi: k,
2057
2064
  META_APP: C,
2058
- METHOD_TIPS_MAP: ce,
2065
+ METHOD_TIPS_MAP: re,
2059
2066
  NEW_METHOD_TYPE: ee,
2060
2067
  VALID_VARNAME_RE: Be
2061
2068
  })
2062
2069
  });
2063
2070
  return {
2064
2071
  NEW_METHOD_TYPE: ee,
2065
- context: t,
2072
+ context: n,
2066
2073
  editorOptions: o,
2067
- change: s,
2074
+ change: a,
2068
2075
  editorContentChange: e
2069
2076
  };
2070
2077
  }
2071
- }, nn = { class: "content-right" }, on = { class: "new-action-tip" }, an = { class: "content-right-title" }, sn = { class: "set-params-tip" }, ln = { class: "content-right-monaco" }, dn = {
2078
+ }, an = { class: "content-right" }, sn = { class: "new-action-tip" }, ln = { class: "content-right-title" }, dn = { class: "set-params-tip" }, cn = { class: "content-right-monaco" }, rn = {
2072
2079
  key: 1,
2073
2080
  class: "mark"
2074
- }, rn = {
2081
+ }, mn = {
2075
2082
  key: 0,
2076
2083
  class: "params-tip"
2077
2084
  };
2078
- function cn(l, t, o, e, i, p) {
2079
- const g = L("tiny-input"), s = L("tiny-checkbox"), r = L("monaco-editor");
2080
- return B(), $("div", nn, [
2085
+ function gn(d, n, o, e, i, g) {
2086
+ const p = M("tiny-input"), a = M("tiny-checkbox"), l = M("monaco-editor");
2087
+ return B(), J("div", an, [
2081
2088
  v("div", {
2082
2089
  class: Ne(["content-right-top", { "tip-error": e.context.tipError }])
2083
2090
  }, [
2084
- t[2] || (t[2] = v("div", { class: "content-right-title" }, "方法名称", -1)),
2085
- E(g, {
2091
+ n[2] || (n[2] = v("div", { class: "content-right-title" }, "方法名称", -1)),
2092
+ b(p, {
2086
2093
  modelValue: e.context.bindMethodInfo.name,
2087
2094
  "onUpdate:modelValue": [
2088
- t[0] || (t[0] = (a) => e.context.bindMethodInfo.name = a),
2095
+ n[0] || (n[0] = (s) => e.context.bindMethodInfo.name = s),
2089
2096
  e.change
2090
2097
  ],
2091
2098
  disabled: e.context.bindMethodInfo.type !== e.NEW_METHOD_TYPE,
2092
2099
  class: Ne([{ "status-error": e.context.tipError }]),
2093
2100
  placeholder: "请从左侧选择一个方法进行绑定,或者选择添加新方法,输入自定义方法名称。"
2094
2101
  }, null, 8, ["modelValue", "disabled", "class", "onUpdate:modelValue"]),
2095
- v("div", on, Y(e.context.tip), 1)
2102
+ v("div", sn, Y(e.context.tip), 1)
2096
2103
  ], 2),
2097
2104
  v("div", {
2098
2105
  class: Ne(["content-right-bottom", { "tip-error": !e.context.isValidParams }])
2099
2106
  }, [
2100
- v("div", an, [
2101
- E(s, {
2107
+ v("div", ln, [
2108
+ b(a, {
2102
2109
  modelValue: e.context.enableExtraParams,
2103
- "onUpdate:modelValue": t[1] || (t[1] = (a) => e.context.enableExtraParams = a),
2110
+ "onUpdate:modelValue": n[1] || (n[1] = (s) => e.context.enableExtraParams = s),
2104
2111
  name: "tiny-checkbox"
2105
2112
  }, {
2106
- default: I(() => t[3] || (t[3] = [
2113
+ default: I(() => n[3] || (n[3] = [
2107
2114
  ke("扩展参数设置")
2108
2115
  ])),
2109
2116
  _: 1,
2110
2117
  __: [3]
2111
2118
  }, 8, ["modelValue"]),
2112
- v("div", sn, [
2113
- t[4] || (t[4] = v("div", null, "扩展参数:调用当前事件传入的真实参数,数组格式,追加在原有事件参数之后", -1)),
2119
+ v("div", dn, [
2120
+ n[4] || (n[4] = v("div", null, "扩展参数:调用当前事件传入的真实参数,数组格式,追加在原有事件参数之后", -1)),
2114
2121
  ke(" 如: " + Y(e.context.bindMethodInfo.name) + "(eventArgs, extParam1, extParam2, ...) ", 1)
2115
2122
  ])
2116
2123
  ]),
2117
- v("div", ln, [
2118
- o.dialogVisible ? (B(), te(r, {
2124
+ v("div", cn, [
2125
+ o.dialogVisible ? (B(), te(l, {
2119
2126
  key: 0,
2120
2127
  value: e.context.editorContent,
2121
2128
  options: e.editorOptions,
2122
2129
  onChange: e.editorContentChange,
2123
2130
  class: "monaco-editor"
2124
2131
  }, null, 8, ["value", "options", "onChange"])) : Se("", !0),
2125
- e.context.enableExtraParams ? Se("", !0) : (B(), $("div", dn))
2132
+ e.context.enableExtraParams ? Se("", !0) : (B(), J("div", rn))
2126
2133
  ]),
2127
- !e.context.isValidParams && e.context.enableExtraParams ? (B(), $("div", rn, ' 请输入数组格式的参数,参数可以为表达式。例如:["extParam1", "item.status", 1, "getNames()"] ')) : Se("", !0)
2134
+ !e.context.isValidParams && e.context.enableExtraParams ? (B(), J("div", mn, ' 请输入数组格式的参数,参数可以为表达式。例如:["extParam1", "item.status", 1, "getNames()"] ')) : Se("", !0)
2128
2135
  ], 2)
2129
2136
  ]);
2130
2137
  }
2131
- const mn = /* @__PURE__ */ Ie(tn, [["render", cn], ["__scopeId", "data-v-fc0b367d"]]), gn = {
2138
+ const pn = /* @__PURE__ */ Ie(on, [["render", gn], ["__scopeId", "data-v-fc0b367d"]]), vn = {
2132
2139
  components: {
2133
- TinySearch: ft
2140
+ TinySearch: _t
2134
2141
  },
2135
2142
  props: {
2136
2143
  eventBinding: {
@@ -2138,47 +2145,47 @@ const mn = /* @__PURE__ */ Ie(tn, [["render", cn], ["__scopeId", "data-v-fc0b367
2138
2145
  default: () => ({})
2139
2146
  }
2140
2147
  },
2141
- setup(l) {
2148
+ setup(d) {
2142
2149
  const {
2143
- getMethodNameList: t
2144
- } = k(C.Page), o = Ve(""), e = Ve([]), i = ot("context"), p = h((s, r) => {
2145
- const a = s.map((c) => {
2146
- var d;
2147
- return Number.parseInt((d = c.match(/\d+$/)) == null ? void 0 : d[0]) || 0;
2148
- }).sort((c, d) => c - d).pop();
2149
- let n = `${(r == null ? void 0 : r.replace(je, "_")) || ""}New`;
2150
- return a > -1 && (n += `${a + 1}`), n;
2150
+ getMethodNameList: n
2151
+ } = k(C.Page), o = Ve(""), e = Ve([]), i = ot("context"), g = h((a, l) => {
2152
+ const s = a.map((r) => {
2153
+ var c;
2154
+ return Number.parseInt((c = r.match(/\d+$/)) == null ? void 0 : c[0]) || 0;
2155
+ }).sort((r, c) => r - c).pop();
2156
+ let t = `${(l == null ? void 0 : l.replace(je, "_")) || ""}New`;
2157
+ return s > -1 && (t += `${s + 1}`), t;
2151
2158
  }, {
2152
2159
  metaData: {
2153
2160
  id: "engine.setting.event.BindEventsDialogSidebar.generateMethodName"
2154
2161
  },
2155
2162
  ctx: () => ({
2156
- props: l,
2157
- getMethodNameList: t,
2163
+ props: d,
2164
+ getMethodNameList: n,
2158
2165
  searchValue: o,
2159
2166
  filteredMethodList: e,
2160
2167
  context: i,
2161
- generateMethodName: p,
2162
- selectMethod: g,
2168
+ generateMethodName: g,
2169
+ selectMethod: p,
2163
2170
  getMetaApi: k,
2164
2171
  META_APP: C,
2165
2172
  INVALID_VARNAME_CHAR_RE: je,
2166
2173
  NEW_METHOD_TYPE: ee
2167
2174
  })
2168
- }), g = h((s) => {
2169
- i.bindMethodInfo = s;
2175
+ }), p = h((a) => {
2176
+ i.bindMethodInfo = a;
2170
2177
  }, {
2171
2178
  metaData: {
2172
2179
  id: "engine.setting.event.BindEventsDialogSidebar.selectMethod"
2173
2180
  },
2174
2181
  ctx: () => ({
2175
- props: l,
2176
- getMethodNameList: t,
2182
+ props: d,
2183
+ getMethodNameList: n,
2177
2184
  searchValue: o,
2178
2185
  filteredMethodList: e,
2179
2186
  context: i,
2180
- generateMethodName: p,
2181
- selectMethod: g,
2187
+ generateMethodName: g,
2188
+ selectMethod: p,
2182
2189
  getMetaApi: k,
2183
2190
  META_APP: C,
2184
2191
  INVALID_VARNAME_CHAR_RE: je,
@@ -2186,62 +2193,62 @@ const mn = /* @__PURE__ */ Ie(tn, [["render", cn], ["__scopeId", "data-v-fc0b367
2186
2193
  })
2187
2194
  });
2188
2195
  return nt(() => {
2189
- var c, d;
2190
- const s = (c = l.eventBinding) == null ? void 0 : c.eventName, r = (t == null ? void 0 : t().filter((m) => m.includes(s))) || [], u = {
2196
+ var r, c;
2197
+ const a = (r = d.eventBinding) == null ? void 0 : r.eventName, l = (n == null ? void 0 : n().filter((m) => m.includes(a))) || [], u = {
2191
2198
  title: "添加新方法",
2192
- name: p(r, s),
2199
+ name: g(l, a),
2193
2200
  type: ee
2194
2201
  };
2195
- (d = l.eventBinding) != null && d.ref ? g({
2196
- name: l.eventBinding.ref
2197
- }) : g(u);
2198
- const n = (t == null ? void 0 : t().filter((m) => m.includes(o.value)).map((m) => ({
2202
+ (c = d.eventBinding) != null && c.ref ? p({
2203
+ name: d.eventBinding.ref
2204
+ }) : p(u);
2205
+ const t = (n == null ? void 0 : n().filter((m) => m.includes(o.value)).map((m) => ({
2199
2206
  name: m
2200
2207
  }))) || [];
2201
- e.value = [u, ...n];
2208
+ e.value = [u, ...t];
2202
2209
  }), {
2203
2210
  context: i,
2204
2211
  searchValue: o,
2205
2212
  filteredMethodList: e,
2206
- selectMethod: g
2213
+ selectMethod: p
2207
2214
  };
2208
2215
  }
2209
- }, pn = { class: "dialog-content-left" }, vn = { class: "left-list-wrap" }, un = { class: "left-action-list" }, fn = { class: "action-list-wrap" }, _n = ["onClick"];
2210
- function hn(l, t, o, e, i, p) {
2211
- const g = L("tiny-search");
2212
- return B(), $("div", pn, [
2213
- t[1] || (t[1] = v("div", { class: "left-title" }, "响应方法", -1)),
2214
- v("div", vn, [
2215
- v("div", un, [
2216
- E(g, {
2216
+ }, un = { class: "dialog-content-left" }, fn = { class: "left-list-wrap" }, _n = { class: "left-action-list" }, hn = { class: "action-list-wrap" }, bn = ["onClick"];
2217
+ function En(d, n, o, e, i, g) {
2218
+ const p = M("tiny-search");
2219
+ return B(), J("div", un, [
2220
+ n[1] || (n[1] = v("div", { class: "left-title" }, "响应方法", -1)),
2221
+ v("div", fn, [
2222
+ v("div", _n, [
2223
+ b(p, {
2217
2224
  modelValue: e.searchValue,
2218
- "onUpdate:modelValue": t[0] || (t[0] = (s) => e.searchValue = s),
2225
+ "onUpdate:modelValue": n[0] || (n[0] = (a) => e.searchValue = a),
2219
2226
  placeholder: "搜索"
2220
2227
  }, null, 8, ["modelValue"]),
2221
- v("ul", fn, [
2222
- (B(!0), $(Oe, null, ze(e.filteredMethodList, (s) => (B(), $("li", {
2223
- key: s.name,
2224
- onClick: (r) => e.selectMethod(s)
2228
+ v("ul", hn, [
2229
+ (B(!0), J(Oe, null, ze(e.filteredMethodList, (a) => (B(), J("li", {
2230
+ key: a.name,
2231
+ onClick: (l) => e.selectMethod(a)
2225
2232
  }, [
2226
2233
  v("div", {
2227
- class: Ne(["action-name", { active: s.name === e.context.bindMethodInfo.name }])
2228
- }, Y(s.title || s.name), 3)
2229
- ], 8, _n))), 128))
2234
+ class: Ne(["action-name", { active: a.name === e.context.bindMethodInfo.name }])
2235
+ }, Y(a.title || a.name), 3)
2236
+ ], 8, bn))), 128))
2230
2237
  ])
2231
2238
  ])
2232
2239
  ])
2233
2240
  ]);
2234
2241
  }
2235
- const bn = /* @__PURE__ */ Ie(gn, [["render", hn], ["__scopeId", "data-v-9bcc2645"]]), Pn = {
2242
+ const yn = /* @__PURE__ */ Ie(vn, [["render", En], ["__scopeId", "data-v-9bcc2645"]]), wn = {
2236
2243
  ...U,
2237
- entry: en,
2244
+ entry: nn,
2238
2245
  options: { commonEvents: at },
2239
2246
  components: {
2240
- BindEventsDialogSidebar: bn,
2241
- BindEventsDialogContent: mn
2247
+ BindEventsDialogSidebar: yn,
2248
+ BindEventsDialogContent: pn
2242
2249
  }
2243
2250
  };
2244
2251
  export {
2245
- Pn as default
2252
+ wn as default
2246
2253
  };
2247
2254
  //# sourceMappingURL=index.js.map