super-page-runtime 2.3.46-cdnTmp1 → 2.3.46-cdnTmp3

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 (59) hide show
  1. package/dist/es/components/runtime/utils/events/event-util.mjs +117 -112
  2. package/dist/es/components/runtime/utils/events/standard-event.mjs +315 -315
  3. package/dist/es/components/runtime/utils/events/validator-util.mjs +237 -219
  4. package/dist/es/components/runtime/utils/i18n-util.mjs +14 -11
  5. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +1 -1
  6. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +22 -22
  7. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +2 -2
  8. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +88 -87
  9. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +52 -52
  10. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +43 -43
  11. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +32 -32
  12. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +19 -19
  13. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +54 -56
  14. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +1 -1
  15. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +151 -151
  16. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +2 -2
  17. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +33 -33
  18. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +1 -1
  19. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +18 -18
  20. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +2 -2
  21. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +35 -34
  22. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +2 -2
  23. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +18 -17
  24. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +2 -2
  25. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +28 -28
  26. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +9 -8
  27. package/dist/es/i18n/langs/cn.mjs +1 -1
  28. package/dist/es/i18n/langs/en.mjs +1 -1
  29. package/dist/es/style.css +1 -1
  30. package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -1
  31. package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -1
  32. package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -1
  33. package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -1
  34. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -1
  35. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.cjs +1 -1
  36. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -1
  37. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.cjs +1 -1
  38. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.cjs +1 -1
  39. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.cjs +1 -1
  40. package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.cjs +1 -1
  41. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.cjs +1 -1
  42. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.cjs +1 -1
  43. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -1
  44. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.cjs +1 -1
  45. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -1
  46. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime2.vue.cjs +1 -1
  47. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -1
  48. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.cjs +1 -1
  49. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -1
  50. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.cjs +1 -1
  51. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -1
  52. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.cjs +1 -1
  53. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -1
  54. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.cjs +1 -1
  55. package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -1
  56. package/dist/lib/i18n/langs/cn.cjs +1 -1
  57. package/dist/lib/i18n/langs/en.cjs +1 -1
  58. package/dist/lib/style.css +1 -1
  59. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import { isMobileBrowser as U, analysisCondition as q, isPromise as j } from "agilebuilder-ui";
2
2
  import { getAdditionalParamMap as H, standardEvents as D, judgeDataNumber as $, checkAndTipFileUploading as z, dealAfterOperate as G } from "./standard-event.mjs";
3
3
  import { isNotNeedValidateRequired as J, validateDataModelFunc as W } from "./validator-util.mjs";
4
- import { getComponentRef as B, getComponentRefByCode as Q } from "../global-refs.mjs";
4
+ import { getComponentRef as A, getComponentRefByCode as Q } from "../global-refs.mjs";
5
5
  import { ElMessage as E } from "element-plus";
6
6
  import { getListCode as K, deepCopy as X } from "../common-util.mjs";
7
- import A from "../eventBus.mjs";
7
+ import B from "../eventBus.mjs";
8
8
  import { getValueFromSource as Y } from "../page-helper-util.mjs";
9
9
  import { expressJump as Z } from "../table-utils.mjs";
10
10
  const tt = ["downloadTemplate", "exportForm", "exportPDF", "export", "exportCharts"], R = ["import"];
@@ -14,25 +14,25 @@ function bt(e, t) {
14
14
  const o = {};
15
15
  return r.forEach((i) => {
16
16
  if (!i.isStandard && i.jsContent) if (i.name === "customFunc") {
17
- let c = null;
17
+ let u = null;
18
18
  try {
19
19
  if (i.funcParam) {
20
- const u = i.funcParam.split(",");
21
- c = new Function(u, i.jsContent);
22
- } else c = new Function(i.jsContent);
23
- o[i.eventName] = c;
24
- } catch (u) {
20
+ const c = i.funcParam.split(",");
21
+ u = new Function(c, i.jsContent);
22
+ } else u = new Function(i.jsContent);
23
+ o[i.eventName] = u;
24
+ } catch (c) {
25
25
  const l = `自定义方法${i.eventName}解析失败,请检查函数体是否正确`;
26
- console.error(l, u), E.error(l);
26
+ console.error(l, c), E.error(l);
27
27
  }
28
28
  } else {
29
- let c = i.componentUuid + "_";
30
- c += i.name;
29
+ let u = i.componentUuid + "_";
30
+ u += i.name;
31
31
  try {
32
- o[c] = new Function("params", i.jsContent);
33
- } catch (u) {
32
+ o[u] = new Function("params", i.jsContent);
33
+ } catch (c) {
34
34
  let l = "";
35
- i.title && (l += i.title + "的"), i.label && (l += i.label), l += "事件解析失败,请检查事件函数体是否正确", E.error(l), console.error(l, u);
35
+ i.title && (l += i.title + "的"), i.label && (l += i.label), l += "事件解析失败,请检查事件函数体是否正确", E.error(l), console.error(l, c);
36
36
  }
37
37
  }
38
38
  }), o;
@@ -51,7 +51,7 @@ function nt(e, t) {
51
51
  e.get = function(n) {
52
52
  return n ? Q(t, n) : void 0;
53
53
  }, e.getByUuid = function(n) {
54
- return n ? B(t, n) : void 0;
54
+ return n ? A(t, n) : void 0;
55
55
  }, e.getPageContext = function() {
56
56
  return t;
57
57
  }, e.getContextValue = function(n) {
@@ -83,12 +83,12 @@ function C(e, t, n, r, o) {
83
83
  return w(e, t, n, r, !0, o, !1);
84
84
  }
85
85
  function it(e, t, n, r, o) {
86
- var i, c;
86
+ var i, u;
87
87
  if (r && r === "change") {
88
- const u = t.subTableWatchProps;
89
- if (u) for (const l in u) {
90
- const a = u[l], s = (c = (i = n.props) == null ? void 0 : i.base) == null ? void 0 : c.prop;
91
- a && a.indexOf(s) >= 0 && A.$emit("_refreshSubTable_" + l, { propName: s });
88
+ const c = t.subTableWatchProps;
89
+ if (c) for (const l in c) {
90
+ const a = c[l], s = (u = (i = n.props) == null ? void 0 : i.base) == null ? void 0 : u.prop;
91
+ a && a.indexOf(s) >= 0 && B.$emit("_refreshSubTable_" + l, { propName: s });
92
92
  }
93
93
  }
94
94
  return w(e, t, n, r, !0, o, !0);
@@ -96,16 +96,16 @@ function it(e, t, n, r, o) {
96
96
  function kt(e, t, n, r) {
97
97
  return it(e, t, n, "afterInit", r);
98
98
  }
99
- function m(e, t, n, r, o) {
99
+ function p(e, t, n, r, o) {
100
100
  return w(e, t, n, r, !1, o, !1);
101
101
  }
102
- function w(e, t, n, r, o, i, c) {
103
- const u = n && n.runtime && n.runtime.events ? n.runtime.events : [];
102
+ function w(e, t, n, r, o, i, u) {
103
+ const c = n && n.runtime && n.runtime.events ? n.runtime.events : [];
104
104
  let l;
105
- if (c || !function(a) {
105
+ if (u || !function(a) {
106
106
  return a && rt.indexOf(a) >= 0;
107
107
  }(r))
108
- return l = O(t, u, r), o ? h(t, n, l, L(t, n, e, i)) : l;
108
+ return l = O(t, c, r), o ? h(t, n, l, L(t, n, e, i)) : l;
109
109
  (function(a, s, d) {
110
110
  $(s, d.ids) && (a.canClick !== void 0 && a.canClick === !1 || z(a) || at(d).then((v) => {
111
111
  if (v.canExecute === !0) {
@@ -135,47 +135,52 @@ function T(e, t, n) {
135
135
  const r = t.runtime && t.runtime.events ? t.runtime.events : [];
136
136
  let o = !0;
137
137
  n != null && n.skipValidate && (o = !1);
138
- const i = P(e, r, "click");
138
+ const i = S(e, r, "click");
139
139
  if (i) {
140
- const c = i.isStandard, u = i.event;
141
- J(c, u) && (o = !1);
140
+ const u = i.isStandard, c = i.event;
141
+ J(u, c) && (o = !1);
142
142
  }
143
- W(e, t, i, o).then((c) => {
144
- if (!c) return void (e.canClick = !0);
145
- const u = ct(e, t, n);
146
- u ? j(u) ? u.then((l) => {
143
+ W(e, t, i, o).then((u) => {
144
+ if (!u) return void (e.canClick = !0);
145
+ const c = ut(e, t, n);
146
+ c ? j(c) ? c.then((l) => {
147
147
  l ? N(e, t, i, n) : e.canClick = !0;
148
148
  }).catch((l) => {
149
149
  console.error(l), e.canClick = !0;
150
150
  }) : N(e, t, i, n) : e.canClick = !0;
151
- }).catch((c) => {
152
- console.error(c), e.canClick = !0;
151
+ }).catch((u) => {
152
+ console.error(u), e.canClick = !0;
153
153
  });
154
154
  }
155
155
  function ht(e, t, n, r, o) {
156
- const i = I(e, t, n, o);
157
- N(t, n, P(t, n.runtime && n.runtime.events ? n.runtime.events : [], r), i);
156
+ const i = I(e, t, n, o), u = S(t, n.runtime && n.runtime.events ? n.runtime.events : [], r);
157
+ N(t, function(c) {
158
+ const l = c && c.props ? c.props.suffixLinkPage : null;
159
+ return function(a) {
160
+ return a ? Array.isArray(a) ? a.length > 0 : !!a.jumpPageUrl : !1;
161
+ }(l) ? { ...c, props: { ...c.props, linkPage: l } } : c;
162
+ }(n), u, i);
158
163
  }
159
164
  function I(e, t, n, r) {
160
- const o = t.code, i = t.version, c = ot(t, n);
161
- if (c) {
162
- const u = B(t, c), l = u ? u.getSelections() : null, a = u ? u.getSelectionIds() : null;
163
- r || (r = {}), r.tableUuid = c, r.listCode = K(o, i, c), S(t) && (r.selections = l, r.id = a && a.length > 0 ? a[0] : null, r.ids = a);
164
- const s = u ? u.getTableConfigure() : null;
165
+ const o = t.code, i = t.version, u = ot(t, n);
166
+ if (u) {
167
+ const c = A(t, u), l = c ? c.getSelections() : null, a = c ? c.getSelectionIds() : null;
168
+ r || (r = {}), r.tableUuid = u, r.listCode = K(o, i, u), P(t) && (r.selections = l, r.id = a && a.length > 0 ? a[0] : null, r.ids = a);
169
+ const s = c ? c.getTableConfigure() : null;
165
170
  r.tableConfigure = s;
166
171
  }
167
172
  return L(t, n, e, r);
168
173
  }
169
- function ct(e, t, n) {
174
+ function ut(e, t, n) {
170
175
  const r = O(e, t.runtime && t.runtime.events ? t.runtime.events : [], "beforeClick");
171
176
  let o;
172
177
  return r && (o = h(e, t, r, null, n)), o === void 0 || o;
173
178
  }
174
- function ut(e, t, n) {
179
+ function ct(e, t, n) {
175
180
  const r = e.code + "_";
176
- A.$emit(r + "open-dialog", { pageContext: e, configureObj: t, eventParams: n });
181
+ B.$emit(r + "open-dialog", { pageContext: e, configureObj: t, eventParams: n });
177
182
  }
178
- function S(e, t) {
183
+ function P(e, t) {
179
184
  return !(!e.pageType || e.pageType !== "list");
180
185
  }
181
186
  function Ot(e, t, n) {
@@ -189,32 +194,32 @@ function Ot(e, t, n) {
189
194
  }
190
195
  function y(e, t, n, r, o, i) {
191
196
  r ? (e.result = o, e.canClick = !0) : G(e, t, o, "", i);
192
- const c = O(e, t.runtime && t.runtime.events ? t.runtime.events : [], "afterClick");
193
- c && h(e, t, c, n);
197
+ const u = O(e, t.runtime && t.runtime.events ? t.runtime.events : [], "afterClick");
198
+ u && h(e, t, u, n);
194
199
  }
195
200
  function N(e, t, n, r) {
196
201
  let o = t, i = t.props.linkPage;
197
202
  if (i && i instanceof Array) {
198
- const c = function(s) {
203
+ const u = function(s) {
199
204
  let d = s ? s.row : null;
200
205
  return d || (d = s && s.selections && s.selections.length > 0 ? s.selections[0] : null), d;
201
- }(r), u = Z(e, t, i, c);
206
+ }(r), c = Z(e, t, i, u);
202
207
  let l, a = !1;
203
- u && (a = u.show, l = a ? u.toPage : null), i = l ? l.linkPage : null, i && (o = X(t), o.props.linkPage = i);
208
+ c && (a = c.show, l = a ? c.toPage : null), i = l ? l.linkPage : null, i && (o = X(t), o.props.linkPage = i);
204
209
  }
205
- i && i.jumpPageUrl ? (e.canClick = !0, ut(e, o, r)) : function(c, u, l, a) {
206
- const s = l, d = S(c);
210
+ i && i.jumpPageUrl ? (e.canClick = !0, ct(e, o, r)) : function(u, c, l, a) {
211
+ const s = l, d = P(u);
207
212
  if (s) {
208
- const b = s.func, v = s.isStandard, k = s.event, x = h(c, u, b, a);
213
+ const b = s.func, v = s.isStandard, k = s.event, x = h(u, c, b, a);
209
214
  if (function(g, f) {
210
215
  return g && (f.eventName === "exportForm" || f.eventName === "exportPDF" || f.eventName === "import" || f.eventName === "assign" || f.eventName === "copyTask" || f.eventName === "addSigner" || f.eventName === "returnTaskTo" || f.eventName === "removeSigner" || f.eventName === "saveQueryCharts" || f.eventName === "addTransactor" || f.eventName === "removeTransactor");
211
- }(v, k)) return void (c.canClick = !0);
216
+ }(v, k)) return void (u.canClick = !0);
212
217
  j(x) ? x.then((g) => {
213
- g ? y(c, u, a, v, g, d) : c.canClick = !0;
218
+ g ? y(u, c, a, v, g, d) : u.canClick = !0;
214
219
  }).catch((g) => {
215
- console.error(g), c.canClick = !0;
216
- }) : y(c, u, a, v, x, d);
217
- } else y(c, u, a, !1, null, d);
220
+ console.error(g), u.canClick = !0;
221
+ }) : y(u, c, a, v, x, d);
222
+ } else y(u, c, a, !1, null, d);
218
223
  }(e, t, n, r);
219
224
  }
220
225
  function V(e, t) {
@@ -240,7 +245,7 @@ function Et(e, t) {
240
245
  return n[0].eventName;
241
246
  }
242
247
  }
243
- function P(e, t, n) {
248
+ function S(e, t, n) {
244
249
  if (t && n) {
245
250
  const r = t.filter((o) => o.name === n);
246
251
  if (r && r.length > 0) {
@@ -255,26 +260,26 @@ function h(e, t, n, r, o) {
255
260
  try {
256
261
  return n.apply(n, [r]);
257
262
  } catch (i) {
258
- throw function(c, u) {
263
+ throw function(u, c) {
259
264
  var d, b, v, k;
260
265
  let l = "";
261
- const a = (c == null ? void 0 : c.title) || ((b = (d = c == null ? void 0 : c.props) == null ? void 0 : d.base) == null ? void 0 : b.title), s = (c == null ? void 0 : c.label) || ((k = (v = c == null ? void 0 : c.props) == null ? void 0 : v.base) == null ? void 0 : k.label);
262
- a && (l += a + "的"), s && (l += s), l += "事件执行失败,请检查事件函数体是否正确", E.error(l), console.error(l, u);
266
+ const a = (u == null ? void 0 : u.title) || ((b = (d = u == null ? void 0 : u.props) == null ? void 0 : d.base) == null ? void 0 : b.title), s = (u == null ? void 0 : u.label) || ((k = (v = u == null ? void 0 : u.props) == null ? void 0 : v.base) == null ? void 0 : k.label);
267
+ a && (l += a + "的"), s && (l += s), l += "事件执行失败,请检查事件函数体是否正确", E.error(l), console.error(l, c);
263
268
  }(t, i), i;
264
269
  }
265
270
  }
266
271
  }
267
272
  function at(e) {
268
- const t = e.pageContext, n = e.configureObj, r = S(t);
273
+ const t = e.pageContext, n = e.configureObj, r = P(t);
269
274
  let o = [];
270
275
  if (r) t.editData ? o.push(t.editData) : o = e.selections;
271
276
  else {
272
- const c = t.entity.data;
273
- o.push(c);
277
+ const u = t.entity.data;
278
+ o.push(u);
274
279
  }
275
280
  const i = n.props.base.condition;
276
- return new Promise((c, u) => {
277
- if (i == null || i === "" || o == null || o.length === 0) c({ canExecute: !0 });
281
+ return new Promise((u, c) => {
282
+ if (i == null || i === "" || o == null || o.length === 0) u({ canExecute: !0 });
278
283
  else {
279
284
  const l = t.entity.context, a = H(t), s = !0, d = t.tableName;
280
285
  let b, v, k = !0;
@@ -288,41 +293,41 @@ function at(e) {
288
293
  }
289
294
  }
290
295
  }
291
- k ? c({ canExecute: !0 }) : (b && E({ showClose: !0, type: "warning", message: b }), c({ canExecute: !1, message: b, failEntity: v }));
296
+ k ? u({ canExecute: !0 }) : (b && E({ showClose: !0, type: "warning", message: b }), u({ canExecute: !1, message: b, failEntity: v }));
292
297
  }
293
298
  });
294
299
  }
295
300
  function jt(e, t, n, r) {
296
301
  var o;
297
- t && (p("afterGridConfigInit", m(null, (o = { pageContext: n, configureObj: r }).pageContext, o.configureObj, "afterGridConfigInit", o), e), p("loadBeforeSend", function(i) {
298
- return m(null, i.pageContext, i.configureObj, "beforeListLoad", i);
299
- }({ pageContext: n, configureObj: r }), e), p("beforeRequest", function(i) {
300
- return m(null, i.pageContext, i.configureObj, "beforeRequest", i);
301
- }({ pageContext: n, configureObj: r }), e), p("gridDataLoaded", function(i) {
302
- return m(null, i.pageContext, i.configureObj, "onListLoad", i);
303
- }({ pageContext: n, configureObj: r }), e), p("gridComplete", function(i) {
304
- return m(null, i.pageContext, i.configureObj, "afterListLoad", i);
305
- }({ pageContext: n, configureObj: r }), e), p("resizeHeight", function(i) {
306
- return m(null, i.pageContext, i.configureObj, "resizeTableHeight", i);
307
- }({ pageContext: n, configureObj: r }), e), e.lineEditOptions || (e.lineEditOptions = {}), p("beforeInsertRow", function(i) {
308
- return m(null, i.pageContext, i.configureObj, "beforeAddRow", i);
309
- }({ pageContext: n, configureObj: r }), e.lineEditOptions), p("afterInsertRow", function(i) {
310
- return m(null, i.pageContext, i.configureObj, "afterAddRow", i);
311
- }({ pageContext: n, configureObj: r }), e.lineEditOptions), p("beforeDelete", function(i) {
312
- return m(null, i.pageContext, i.configureObj, "beforeRemoveRow", i);
313
- }({ pageContext: n, configureObj: r }), e.lineEditOptions), p("afterDelete", function(i) {
314
- return m(null, i.pageContext, i.configureObj, "afterRemoveRow", i);
315
- }({ pageContext: n, configureObj: r }), e.lineEditOptions), p("beforeEdit", function(i) {
316
- return m(null, i.pageContext, i.configureObj, "beforeEdit", i);
317
- }({ pageContext: n, configureObj: r }), e.lineEditOptions), p("beforeRestore", function(i) {
318
- return m(null, i.pageContext, i.configureObj, "beforeRestore", i);
319
- }({ pageContext: n, configureObj: r }), e.lineEditOptions), p("beforeRestoreValidate", function(i) {
320
- return m(null, i.pageContext, i.configureObj, "beforeRestoreValidate", i);
321
- }({ pageContext: n, configureObj: r }), e.lineEditOptions), function(i, c, u) {
322
- c && (u[i] = c);
323
- }("filterDataEvent", m(null, n, r, "filter-data", { pageContext: n, configureObj: r }), e));
324
- }
325
- function p(e, t, n) {
302
+ t && (m("afterGridConfigInit", p(null, (o = { pageContext: n, configureObj: r }).pageContext, o.configureObj, "afterGridConfigInit", o), e), m("loadBeforeSend", function(i) {
303
+ return p(null, i.pageContext, i.configureObj, "beforeListLoad", i);
304
+ }({ pageContext: n, configureObj: r }), e), m("beforeRequest", function(i) {
305
+ return p(null, i.pageContext, i.configureObj, "beforeRequest", i);
306
+ }({ pageContext: n, configureObj: r }), e), m("gridDataLoaded", function(i) {
307
+ return p(null, i.pageContext, i.configureObj, "onListLoad", i);
308
+ }({ pageContext: n, configureObj: r }), e), m("gridComplete", function(i) {
309
+ return p(null, i.pageContext, i.configureObj, "afterListLoad", i);
310
+ }({ pageContext: n, configureObj: r }), e), m("resizeHeight", function(i) {
311
+ return p(null, i.pageContext, i.configureObj, "resizeTableHeight", i);
312
+ }({ pageContext: n, configureObj: r }), e), e.lineEditOptions || (e.lineEditOptions = {}), m("beforeInsertRow", function(i) {
313
+ return p(null, i.pageContext, i.configureObj, "beforeAddRow", i);
314
+ }({ pageContext: n, configureObj: r }), e.lineEditOptions), m("afterInsertRow", function(i) {
315
+ return p(null, i.pageContext, i.configureObj, "afterAddRow", i);
316
+ }({ pageContext: n, configureObj: r }), e.lineEditOptions), m("beforeDelete", function(i) {
317
+ return p(null, i.pageContext, i.configureObj, "beforeRemoveRow", i);
318
+ }({ pageContext: n, configureObj: r }), e.lineEditOptions), m("afterDelete", function(i) {
319
+ return p(null, i.pageContext, i.configureObj, "afterRemoveRow", i);
320
+ }({ pageContext: n, configureObj: r }), e.lineEditOptions), m("beforeEdit", function(i) {
321
+ return p(null, i.pageContext, i.configureObj, "beforeEdit", i);
322
+ }({ pageContext: n, configureObj: r }), e.lineEditOptions), m("beforeRestore", function(i) {
323
+ return p(null, i.pageContext, i.configureObj, "beforeRestore", i);
324
+ }({ pageContext: n, configureObj: r }), e.lineEditOptions), m("beforeRestoreValidate", function(i) {
325
+ return p(null, i.pageContext, i.configureObj, "beforeRestoreValidate", i);
326
+ }({ pageContext: n, configureObj: r }), e.lineEditOptions), function(i, u, c) {
327
+ u && (c[i] = u);
328
+ }("filterDataEvent", p(null, n, r, "filter-data", { pageContext: n, configureObj: r }), e));
329
+ }
330
+ function m(e, t, n) {
326
331
  t && (n[e] = t);
327
332
  }
328
333
  function yt(e, t, n) {
@@ -334,10 +339,10 @@ function Nt(e, t, n) {
334
339
  function wt(e, t, n) {
335
340
  return C(null, e, t, "selection-change", n);
336
341
  }
337
- function St(e, t, n) {
342
+ function Pt(e, t, n) {
338
343
  return C(null, e, t, "cell-click", n);
339
344
  }
340
- function Pt(e, t, n) {
345
+ function St(e, t, n) {
341
346
  return C(null, e, t, "cell-dblclick", n);
342
347
  }
343
348
  function Ft(e, t, n) {
@@ -355,10 +360,10 @@ function Ut(e) {
355
360
  function Dt(e, t, n) {
356
361
  return C(null, e, t, "uploaded", n);
357
362
  }
358
- function Bt(e, t, n) {
363
+ function At(e, t, n) {
359
364
  return C(null, e, t, "before-delete", n);
360
365
  }
361
- function At(e, t, n) {
366
+ function Bt(e, t, n) {
362
367
  return C(null, e, t, "deleted", n);
363
368
  }
364
369
  function Lt(e) {
@@ -378,10 +383,10 @@ function It(e, t, n, r, o) {
378
383
  function Vt(e, t) {
379
384
  let n = !0;
380
385
  if (U()) {
381
- const r = P(e, t && t.runtime && t.runtime.events ? t.runtime.events : [], "click");
386
+ const r = S(e, t && t.runtime && t.runtime.events ? t.runtime.events : [], "click");
382
387
  if (r) {
383
- const o = r.isStandard, i = r.event, c = navigator ? navigator.userAgent : null;
384
- o && c && (c.indexOf("Html5Plus") > 0 ? (tt.includes(i.eventName) || R.includes(i.eventName)) && (n = !1) : R.includes(i.eventName) && (n = !1));
388
+ const o = r.isStandard, i = r.event, u = navigator ? navigator.userAgent : null;
389
+ o && u && (u.indexOf("Html5Plus") > 0 ? (tt.includes(i.eventName) || R.includes(i.eventName)) && (n = !1) : R.includes(i.eventName) && (n = !1));
385
390
  }
386
391
  }
387
392
  return n;
@@ -389,22 +394,22 @@ function Vt(e, t) {
389
394
  export {
390
395
  nt as appendDefaultMethods,
391
396
  at as canExecuteButton,
392
- St as cellClick,
393
- Pt as cellDblClick,
397
+ Pt as cellClick,
398
+ St as cellDblClick,
394
399
  Ot as doAfterClickEvent,
395
- ct as doBeforeClickEvent,
396
- ut as doClickJumpPageEvent,
400
+ ut as doBeforeClickEvent,
401
+ ct as doClickJumpPageEvent,
397
402
  ht as doSuffixOrPrefixClickEvent,
398
- Bt as fileUploadBeforeDelete,
403
+ At as fileUploadBeforeDelete,
399
404
  Ut as fileUploadBeforeUpload,
400
- At as fileUploadDeleted,
405
+ Bt as fileUploadDeleted,
401
406
  Dt as fileUploadUploaded,
402
- P as getClickEventFuncByType,
407
+ S as getClickEventFuncByType,
403
408
  et as getCustomFunc,
404
409
  I as getDefaultEventParams,
405
410
  O as getEventFuncByType,
406
411
  Et as getEventNameByType,
407
- m as getHandleEvent,
412
+ p as getHandleEvent,
408
413
  ot as getTableUuid,
409
414
  Nt as gridSelectAllRecords,
410
415
  yt as gridSelectRecord,