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.
- package/dist/es/components/runtime/utils/events/event-util.mjs +117 -112
- package/dist/es/components/runtime/utils/events/standard-event.mjs +315 -315
- package/dist/es/components/runtime/utils/events/validator-util.mjs +237 -219
- package/dist/es/components/runtime/utils/i18n-util.mjs +14 -11
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +22 -22
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +88 -87
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +52 -52
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +43 -43
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +32 -32
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +19 -19
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +54 -56
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +1 -1
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +151 -151
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +33 -33
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +1 -1
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +18 -18
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +35 -34
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +18 -17
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +28 -28
- package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +9 -8
- package/dist/es/i18n/langs/cn.mjs +1 -1
- package/dist/es/i18n/langs/en.mjs +1 -1
- package/dist/es/style.css +1 -1
- package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -1
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -1
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -1
- package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.cjs +1 -1
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -1
- package/dist/lib/i18n/langs/cn.cjs +1 -1
- package/dist/lib/i18n/langs/en.cjs +1 -1
- package/dist/lib/style.css +1 -1
- 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
|
|
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
|
|
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
|
|
17
|
+
let u = null;
|
|
18
18
|
try {
|
|
19
19
|
if (i.funcParam) {
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
} else
|
|
23
|
-
o[i.eventName] =
|
|
24
|
-
} catch (
|
|
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,
|
|
26
|
+
console.error(l, c), E.error(l);
|
|
27
27
|
}
|
|
28
28
|
} else {
|
|
29
|
-
let
|
|
30
|
-
|
|
29
|
+
let u = i.componentUuid + "_";
|
|
30
|
+
u += i.name;
|
|
31
31
|
try {
|
|
32
|
-
o[
|
|
33
|
-
} catch (
|
|
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,
|
|
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 ?
|
|
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,
|
|
86
|
+
var i, u;
|
|
87
87
|
if (r && r === "change") {
|
|
88
|
-
const
|
|
89
|
-
if (
|
|
90
|
-
const a =
|
|
91
|
-
a && a.indexOf(s) >= 0 &&
|
|
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
|
|
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,
|
|
103
|
-
const
|
|
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 (
|
|
105
|
+
if (u || !function(a) {
|
|
106
106
|
return a && rt.indexOf(a) >= 0;
|
|
107
107
|
}(r))
|
|
108
|
-
return l = O(t,
|
|
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 =
|
|
138
|
+
const i = S(e, r, "click");
|
|
139
139
|
if (i) {
|
|
140
|
-
const
|
|
141
|
-
J(
|
|
140
|
+
const u = i.isStandard, c = i.event;
|
|
141
|
+
J(u, c) && (o = !1);
|
|
142
142
|
}
|
|
143
|
-
W(e, t, i, o).then((
|
|
144
|
-
if (!
|
|
145
|
-
const
|
|
146
|
-
|
|
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((
|
|
152
|
-
console.error(
|
|
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,
|
|
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,
|
|
161
|
-
if (
|
|
162
|
-
const
|
|
163
|
-
r || (r = {}), r.tableUuid =
|
|
164
|
-
const s =
|
|
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
|
|
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
|
|
179
|
+
function ct(e, t, n) {
|
|
175
180
|
const r = e.code + "_";
|
|
176
|
-
|
|
181
|
+
B.$emit(r + "open-dialog", { pageContext: e, configureObj: t, eventParams: n });
|
|
177
182
|
}
|
|
178
|
-
function
|
|
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
|
|
193
|
-
|
|
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
|
|
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),
|
|
206
|
+
}(r), c = Z(e, t, i, u);
|
|
202
207
|
let l, a = !1;
|
|
203
|
-
|
|
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,
|
|
206
|
-
const s = l, d =
|
|
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(
|
|
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 (
|
|
216
|
+
}(v, k)) return void (u.canClick = !0);
|
|
212
217
|
j(x) ? x.then((g) => {
|
|
213
|
-
g ? y(
|
|
218
|
+
g ? y(u, c, a, v, g, d) : u.canClick = !0;
|
|
214
219
|
}).catch((g) => {
|
|
215
|
-
console.error(g),
|
|
216
|
-
}) : y(
|
|
217
|
-
} else y(
|
|
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
|
|
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(
|
|
263
|
+
throw function(u, c) {
|
|
259
264
|
var d, b, v, k;
|
|
260
265
|
let l = "";
|
|
261
|
-
const a = (
|
|
262
|
-
a && (l += a + "的"), s && (l += s), l += "事件执行失败,请检查事件函数体是否正确", E.error(l), console.error(l,
|
|
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 =
|
|
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
|
|
273
|
-
o.push(
|
|
277
|
+
const u = t.entity.data;
|
|
278
|
+
o.push(u);
|
|
274
279
|
}
|
|
275
280
|
const i = n.props.base.condition;
|
|
276
|
-
return new Promise((
|
|
277
|
-
if (i == null || i === "" || o == null || o.length === 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 ?
|
|
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 && (
|
|
298
|
-
return
|
|
299
|
-
}({ pageContext: n, configureObj: r }), e),
|
|
300
|
-
return
|
|
301
|
-
}({ pageContext: n, configureObj: r }), e),
|
|
302
|
-
return
|
|
303
|
-
}({ pageContext: n, configureObj: r }), e),
|
|
304
|
-
return
|
|
305
|
-
}({ pageContext: n, configureObj: r }), e),
|
|
306
|
-
return
|
|
307
|
-
}({ pageContext: n, configureObj: r }), e), e.lineEditOptions || (e.lineEditOptions = {}),
|
|
308
|
-
return
|
|
309
|
-
}({ pageContext: n, configureObj: r }), e.lineEditOptions),
|
|
310
|
-
return
|
|
311
|
-
}({ pageContext: n, configureObj: r }), e.lineEditOptions),
|
|
312
|
-
return
|
|
313
|
-
}({ pageContext: n, configureObj: r }), e.lineEditOptions),
|
|
314
|
-
return
|
|
315
|
-
}({ pageContext: n, configureObj: r }), e.lineEditOptions),
|
|
316
|
-
return
|
|
317
|
-
}({ pageContext: n, configureObj: r }), e.lineEditOptions),
|
|
318
|
-
return
|
|
319
|
-
}({ pageContext: n, configureObj: r }), e.lineEditOptions),
|
|
320
|
-
return
|
|
321
|
-
}({ pageContext: n, configureObj: r }), e.lineEditOptions), function(i,
|
|
322
|
-
|
|
323
|
-
}("filterDataEvent",
|
|
324
|
-
}
|
|
325
|
-
function
|
|
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
|
|
342
|
+
function Pt(e, t, n) {
|
|
338
343
|
return C(null, e, t, "cell-click", n);
|
|
339
344
|
}
|
|
340
|
-
function
|
|
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
|
|
363
|
+
function At(e, t, n) {
|
|
359
364
|
return C(null, e, t, "before-delete", n);
|
|
360
365
|
}
|
|
361
|
-
function
|
|
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 =
|
|
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,
|
|
384
|
-
o &&
|
|
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
|
-
|
|
393
|
-
|
|
397
|
+
Pt as cellClick,
|
|
398
|
+
St as cellDblClick,
|
|
394
399
|
Ot as doAfterClickEvent,
|
|
395
|
-
|
|
396
|
-
|
|
400
|
+
ut as doBeforeClickEvent,
|
|
401
|
+
ct as doClickJumpPageEvent,
|
|
397
402
|
ht as doSuffixOrPrefixClickEvent,
|
|
398
|
-
|
|
403
|
+
At as fileUploadBeforeDelete,
|
|
399
404
|
Ut as fileUploadBeforeUpload,
|
|
400
|
-
|
|
405
|
+
Bt as fileUploadDeleted,
|
|
401
406
|
Dt as fileUploadUploaded,
|
|
402
|
-
|
|
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
|
-
|
|
412
|
+
p as getHandleEvent,
|
|
408
413
|
ot as getTableUuid,
|
|
409
414
|
Nt as gridSelectAllRecords,
|
|
410
415
|
yt as gridSelectRecord,
|