super-page-runtime 2.2.23 → 2.2.29
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.d.ts +1 -0
- package/dist/es/components/runtime/utils/events/event-util.js +147 -135
- package/dist/es/components/runtime/utils/events/standard-event.js +35 -35
- package/dist/es/components/runtime/utils/page-helper-util.js +56 -55
- package/dist/es/components/runtime/utils/page-init-util.js +61 -54
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +39 -37
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +72 -71
- package/dist/es/components/runtime/views/home-chart.vue.js +3 -2
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +6 -6
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/package.json +2 -2
|
@@ -89,3 +89,4 @@ export declare function fileUploadDeleted(pageContext: any, configureObj: any, p
|
|
|
89
89
|
*/
|
|
90
90
|
export declare function isShowComponent(configure: Component): boolean;
|
|
91
91
|
export declare function handleChartEvent(pageContext: PageContext, configure: Component, eventType: string, chartOption: object, otherParams?: object): any;
|
|
92
|
+
export declare function isShowMobileEvent(pageContext: PageContext, configure: Component): any;
|
|
@@ -8,8 +8,8 @@ import { getListCode as f, deepCopy as g } from "../common-util.js";
|
|
|
8
8
|
import m from "../eventBus.js";
|
|
9
9
|
import { getValueFromSource as p } from "../page-helper-util.js";
|
|
10
10
|
import { expressJump as d } from "../table-utils.js";
|
|
11
|
-
const
|
|
12
|
-
function
|
|
11
|
+
const v = ["downloadTemplate", "back", "exportForm", "exportPDF", "lineEditCreate", "workflowSave"], b = ["downloadTemplate", "exportForm", "exportPDF", "export", "exportCharts"], C = ["import"];
|
|
12
|
+
function x(e2, n2) {
|
|
13
13
|
if (e2 && e2.customEvents) {
|
|
14
14
|
const t2 = function(e3) {
|
|
15
15
|
const n3 = {};
|
|
@@ -30,15 +30,15 @@ function C(e2, n2) {
|
|
|
30
30
|
!function(e3, n3) {
|
|
31
31
|
if (!n3) return;
|
|
32
32
|
for (const t3 in n3) {
|
|
33
|
-
|
|
33
|
+
j(n3[t3], e3);
|
|
34
34
|
}
|
|
35
35
|
}(n2, t2), n2.customEvents = t2;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function k(e2, n2) {
|
|
39
39
|
if (e2.customEvents) return e2.customEvents[n2];
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function j(e2, n2) {
|
|
42
42
|
e2.get = function(e3) {
|
|
43
43
|
return e3 ? l(n2, e3) : void 0;
|
|
44
44
|
}, e2.getByUuid = function(e3) {
|
|
@@ -59,10 +59,10 @@ function x(e2, n2) {
|
|
|
59
59
|
}, e2.getPage = function() {
|
|
60
60
|
return n2 && n2.entity ? n2.entity.page : {};
|
|
61
61
|
}, e2.getCustomFunc = function(e3) {
|
|
62
|
-
return
|
|
62
|
+
return k(n2, e3);
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function O(e2) {
|
|
66
66
|
if (e2 && e2.customEvents) {
|
|
67
67
|
const n2 = e2.customEvents.filter((e3) => "customFunc" === e3.name && e3.jsContent);
|
|
68
68
|
n2 && n2.length > 0 && n2.forEach((e3) => {
|
|
@@ -70,10 +70,10 @@ function k(e2) {
|
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
return
|
|
73
|
+
function h(e2, n2, t2, i2, o2) {
|
|
74
|
+
return N(e2, n2, t2, i2, true, o2, false);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function E(e2, n2, t2, i2, o2) {
|
|
77
77
|
var _a, _b;
|
|
78
78
|
if (i2 && "change" === i2) {
|
|
79
79
|
const e3 = n2.subTableWatchProps;
|
|
@@ -82,22 +82,22 @@ function O(e2, n2, t2, i2, o2) {
|
|
|
82
82
|
i3 && i3.indexOf(o3) >= 0 && m.$emit("_refreshSubTable_" + n3, { propName: o3 });
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
return
|
|
85
|
+
return N(e2, n2, t2, i2, true, o2, true);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
return
|
|
87
|
+
function y(e2, n2, t2, i2) {
|
|
88
|
+
return E(e2, n2, t2, "afterInit", i2);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
91
|
-
return
|
|
90
|
+
function w(e2, n2, t2, i2, o2) {
|
|
91
|
+
return N(e2, n2, t2, i2, false, o2, false);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function N(e2, t2, i2, r2, u2, c2, l2) {
|
|
94
94
|
const a2 = i2 && i2.runtime && i2.runtime.events ? i2.runtime.events : [];
|
|
95
95
|
let s2;
|
|
96
96
|
if (l2 || !/* @__PURE__ */ function(e3) {
|
|
97
97
|
return e3 && ("click" === e3 || "suffixClick" === e3 || "prefixClick" === e3);
|
|
98
98
|
}(r2)) {
|
|
99
|
-
if (s2 =
|
|
100
|
-
return
|
|
99
|
+
if (s2 = I(t2, a2, r2), u2) {
|
|
100
|
+
return z(t2, i2, s2, P(t2, i2, e2, c2));
|
|
101
101
|
}
|
|
102
102
|
return s2;
|
|
103
103
|
}
|
|
@@ -105,94 +105,94 @@ function y(e2, t2, i2, r2, u2, c2, l2) {
|
|
|
105
105
|
const r3 = o(t3, i3.ids);
|
|
106
106
|
if (!r3) return;
|
|
107
107
|
if (void 0 !== e3.canClick && false === e3.canClick) return;
|
|
108
|
-
|
|
108
|
+
H(i3).then((o2) => {
|
|
109
109
|
if (true === o2.canExecute) {
|
|
110
110
|
e3.clickUuid = t3.uuid, e3.canClick = false;
|
|
111
|
-
const o3 = t3.runtime && t3.runtime.events ? t3.runtime.events : [], r4 =
|
|
111
|
+
const o3 = t3.runtime && t3.runtime.events ? t3.runtime.events : [], r4 = I(e3, o3, "beforeValidateForm");
|
|
112
112
|
let u3;
|
|
113
|
-
if (r4 && (u3 =
|
|
113
|
+
if (r4 && (u3 = z(e3, t3, r4, i3)), void 0 === u3 && (u3 = true), !u3) return void (e3.canClick = true);
|
|
114
114
|
n(u3) ? u3.then((n2) => {
|
|
115
|
-
n2 && true === n2 ?
|
|
115
|
+
n2 && true === n2 ? R(e3, t3, i3) : e3.canClick = true;
|
|
116
116
|
}).catch((n2) => {
|
|
117
117
|
e3.canClick = true;
|
|
118
|
-
}) :
|
|
118
|
+
}) : R(e3, t3, i3);
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
|
-
}(t2, i2,
|
|
121
|
+
}(t2, i2, T(e2, t2, i2, c2));
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function S(e2, n2) {
|
|
124
124
|
return n2.props.base.tableUuid ? n2.props.base.tableUuid : e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null;
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function P(e2, n2, t2, i2) {
|
|
127
127
|
const o2 = {};
|
|
128
128
|
if (i2) for (const e3 in i2) o2[e3] = i2[e3];
|
|
129
129
|
return null != t2 && (o2._value = t2), e2 && (o2.pageContext = e2), n2 && (o2.configureObj = n2), o2;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function R(e2, t2, i2) {
|
|
132
132
|
const o2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [];
|
|
133
133
|
let r2 = true;
|
|
134
134
|
(i2 == null ? void 0 : i2.skipValidate) && (r2 = false);
|
|
135
|
-
const c2 =
|
|
135
|
+
const c2 = $(e2, o2, "click");
|
|
136
136
|
if (c2) {
|
|
137
137
|
const e3 = function(e4, n2) {
|
|
138
|
-
return e4 &&
|
|
138
|
+
return e4 && v.includes(n2.eventName);
|
|
139
139
|
}(c2.isStandard, c2.event);
|
|
140
140
|
e3 && (r2 = false);
|
|
141
141
|
}
|
|
142
142
|
u(e2, t2, r2).then((o3) => {
|
|
143
143
|
if (!o3) return void (e2.canClick = true);
|
|
144
|
-
const r3 =
|
|
144
|
+
const r3 = U(e2, t2, i2);
|
|
145
145
|
r3 ? n(r3) ? r3.then((n2) => {
|
|
146
|
-
n2 ?
|
|
146
|
+
n2 ? q(e2, t2, c2, i2) : e2.canClick = true;
|
|
147
147
|
}).catch((n2) => {
|
|
148
148
|
e2.canClick = true;
|
|
149
|
-
}) :
|
|
149
|
+
}) : q(e2, t2, c2, i2) : e2.canClick = true;
|
|
150
150
|
}).catch((n2) => {
|
|
151
151
|
e2.canClick = true;
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
const r2 =
|
|
156
|
-
|
|
154
|
+
function F(e2, n2, t2, i2, o2) {
|
|
155
|
+
const r2 = T(e2, n2, t2, o2);
|
|
156
|
+
q(n2, t2, $(n2, t2.runtime && t2.runtime.events ? t2.runtime.events : [], i2), r2);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
const o2 = n2.code, r2 = n2.version, u2 =
|
|
158
|
+
function T(e2, n2, t2, i2) {
|
|
159
|
+
const o2 = n2.code, r2 = n2.version, u2 = S(n2, t2);
|
|
160
160
|
if (u2) {
|
|
161
161
|
const e3 = c(n2, u2), t3 = e3 ? e3.getSelections() : null, l2 = e3 ? e3.getSelectionIds() : null;
|
|
162
162
|
i2 || (i2 = {}), i2.tableUuid = u2, i2.listCode = f(o2, r2, u2);
|
|
163
|
-
|
|
163
|
+
L(n2) && (i2.selections = t3, i2.id = l2 && l2.length > 0 ? l2[0] : null, i2.ids = l2);
|
|
164
164
|
const a2 = e3 ? e3.getTableConfigure() : null;
|
|
165
165
|
i2.tableConfigure = a2;
|
|
166
166
|
}
|
|
167
|
-
return
|
|
167
|
+
return P(n2, t2, e2, i2);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
const i2 =
|
|
169
|
+
function U(e2, n2, t2) {
|
|
170
|
+
const i2 = I(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "beforeClick");
|
|
171
171
|
let o2;
|
|
172
|
-
return i2 && (o2 =
|
|
172
|
+
return i2 && (o2 = z(e2, n2, i2, null, t2)), void 0 === o2 || o2;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function D(e2, n2, t2) {
|
|
175
175
|
const i2 = e2.code + "_";
|
|
176
176
|
m.$emit(i2 + "open-dialog", { pageContext: e2, configureObj: n2, eventParams: t2 });
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function L(e2, n2) {
|
|
179
179
|
return !(!e2.pageType || "list" !== e2.pageType);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
const o2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [], r2 =
|
|
181
|
+
function _(e2, t2, i2) {
|
|
182
|
+
const o2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [], r2 = I(e2, o2, "afterClick");
|
|
183
183
|
if (r2) {
|
|
184
|
-
const o3 =
|
|
184
|
+
const o3 = z(e2, t2, r2, null, i2);
|
|
185
185
|
n(o3) ? o3.finally(() => {
|
|
186
186
|
e2.canClick = true;
|
|
187
187
|
}) : e2.canClick = true;
|
|
188
188
|
} else e2.canClick = true;
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function V(e2, n2, t2, i2, o2, u2) {
|
|
191
191
|
i2 ? (e2.result = o2, e2.canClick = true) : r(e2, n2, o2, "", u2);
|
|
192
|
-
const c2 =
|
|
193
|
-
c2 &&
|
|
192
|
+
const c2 = I(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "afterClick");
|
|
193
|
+
c2 && z(e2, n2, c2, t2);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function q(e2, t2, i2, o2) {
|
|
196
196
|
let r2 = t2, u2 = t2.props.linkPage;
|
|
197
197
|
if (u2 && u2 instanceof Array) {
|
|
198
198
|
const n2 = function(e3) {
|
|
@@ -203,38 +203,38 @@ function _(e2, t2, i2, o2) {
|
|
|
203
203
|
let c2, l2 = false;
|
|
204
204
|
i3 && (l2 = i3.show, c2 = l2 ? i3.toPage : null), u2 = c2 ? c2.linkPage : null, u2 && (r2 = g(t2), r2.props.linkPage = u2);
|
|
205
205
|
}
|
|
206
|
-
u2 && u2.jumpPageUrl ? (e2.canClick = true,
|
|
206
|
+
u2 && u2.jumpPageUrl ? (e2.canClick = true, D(e2, r2, o2)) : function(e3, t3, i3, o3) {
|
|
207
207
|
const r3 = i3;
|
|
208
208
|
if (r3) {
|
|
209
|
-
const i4 = r3.func, u3 = r3.isStandard, c2 = r3.event, l2 =
|
|
209
|
+
const i4 = r3.func, u3 = r3.isStandard, c2 = r3.event, l2 = z(e3, t3, i4, o3), a2 = L(e3);
|
|
210
210
|
if (function(e4, n2) {
|
|
211
211
|
return e4 && ("exportForm" === n2.eventName || "exportPDF" === n2.eventName || "import" === n2.eventName || "assign" === n2.eventName || "copyTask" === n2.eventName || "addSigner" === n2.eventName || "returnTaskTo" === n2.eventName || "removeSigner" === n2.eventName);
|
|
212
212
|
}(u3, c2)) return void (e3.canClick = true);
|
|
213
213
|
n(l2) ? l2.then((n2) => {
|
|
214
|
-
n2 ?
|
|
214
|
+
n2 ? V(e3, t3, o3, u3, n2, a2) : e3.canClick = true;
|
|
215
215
|
}).catch((n2) => {
|
|
216
216
|
e3.canClick = true;
|
|
217
|
-
}) :
|
|
217
|
+
}) : V(e3, t3, o3, u3, l2, a2);
|
|
218
218
|
} else e3.canClick = true;
|
|
219
219
|
}(e2, t2, i2, o2);
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function A(e2, n2) {
|
|
222
222
|
const t2 = e2.customEvents;
|
|
223
223
|
if (t2 && n2) {
|
|
224
224
|
let e3 = "";
|
|
225
225
|
return e3 = "object" == typeof n2 ? n2.componentUuid + "_" + n2.name : n2, t2[e3];
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function I(e2, n2, t2) {
|
|
229
229
|
if (n2 && t2) {
|
|
230
230
|
const o2 = n2.filter((e3) => e3.name === t2);
|
|
231
231
|
if (o2 && o2.length > 0) {
|
|
232
232
|
const n3 = o2[0];
|
|
233
|
-
return n3.isStandard ? i[n3.eventName] :
|
|
233
|
+
return n3.isStandard ? i[n3.eventName] : A(e2, n3);
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function B(e2, n2) {
|
|
238
238
|
if (e2 && n2) {
|
|
239
239
|
const t2 = e2.filter((e3) => e3.name === n2);
|
|
240
240
|
if (t2 && t2.length > 0) {
|
|
@@ -242,23 +242,23 @@ function I(e2, n2) {
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function $(e2, n2, t2) {
|
|
246
246
|
if (n2 && t2) {
|
|
247
247
|
const o2 = n2.filter((e3) => e3.name === t2);
|
|
248
248
|
if (o2 && o2.length > 0) {
|
|
249
249
|
const n3 = o2[0];
|
|
250
|
-
return n3.isStandard ? { func: i[n3.eventName], isStandard: true, event: n3 } : { func:
|
|
250
|
+
return n3.isStandard ? { func: i[n3.eventName], isStandard: true, event: n3 } : { func: A(e2, n3), isStandard: false, event: n3 };
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function z(e2, n2, t2, i2, o2) {
|
|
255
255
|
if (t2) {
|
|
256
256
|
if (i2 || (i2 = { pageContext: e2, configureObj: n2 }), o2 && i2) for (const e3 in o2) i2[e3] = o2[e3];
|
|
257
257
|
return t2.apply(t2, [i2]);
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
function
|
|
261
|
-
const n2 = e2.pageContext, i2 = e2.configureObj, o2 =
|
|
260
|
+
function H(e2) {
|
|
261
|
+
const n2 = e2.pageContext, i2 = e2.configureObj, o2 = L(n2);
|
|
262
262
|
let r2 = [];
|
|
263
263
|
if (o2) n2.editData ? r2.push(n2.editData) : r2 = e2.selections;
|
|
264
264
|
else {
|
|
@@ -285,65 +285,65 @@ function $(e2) {
|
|
|
285
285
|
}
|
|
286
286
|
});
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function W(e2, n2, t2, i2) {
|
|
289
289
|
var o2;
|
|
290
|
-
n2 && (
|
|
291
|
-
return
|
|
292
|
-
}({ pageContext: t2, configureObj: i2 }), e2),
|
|
293
|
-
return
|
|
294
|
-
}({ pageContext: t2, configureObj: i2 }), e2),
|
|
295
|
-
return
|
|
296
|
-
}({ pageContext: t2, configureObj: i2 }), e2),
|
|
297
|
-
return
|
|
298
|
-
}({ pageContext: t2, configureObj: i2 }), e2), e2.lineEditOptions || (e2.lineEditOptions = {}),
|
|
299
|
-
return
|
|
300
|
-
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions),
|
|
301
|
-
return
|
|
302
|
-
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions),
|
|
303
|
-
return
|
|
304
|
-
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions),
|
|
305
|
-
return
|
|
306
|
-
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions),
|
|
307
|
-
return
|
|
308
|
-
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions),
|
|
309
|
-
return
|
|
310
|
-
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions),
|
|
311
|
-
return
|
|
290
|
+
n2 && (G("loadBeforeSend", w(null, (o2 = { pageContext: t2, configureObj: i2 }).pageContext, o2.configureObj, "beforeListLoad", o2), e2), G("beforeRequest", function(e3) {
|
|
291
|
+
return w(null, e3.pageContext, e3.configureObj, "beforeRequest", e3);
|
|
292
|
+
}({ pageContext: t2, configureObj: i2 }), e2), G("gridDataLoaded", function(e3) {
|
|
293
|
+
return w(null, e3.pageContext, e3.configureObj, "onListLoad", e3);
|
|
294
|
+
}({ pageContext: t2, configureObj: i2 }), e2), G("gridComplete", function(e3) {
|
|
295
|
+
return w(null, e3.pageContext, e3.configureObj, "afterListLoad", e3);
|
|
296
|
+
}({ pageContext: t2, configureObj: i2 }), e2), G("resizeHeight", function(e3) {
|
|
297
|
+
return w(null, e3.pageContext, e3.configureObj, "resizeTableHeight", e3);
|
|
298
|
+
}({ pageContext: t2, configureObj: i2 }), e2), e2.lineEditOptions || (e2.lineEditOptions = {}), G("beforeInsertRow", function(e3) {
|
|
299
|
+
return w(null, e3.pageContext, e3.configureObj, "beforeAddRow", e3);
|
|
300
|
+
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("afterInsertRow", function(e3) {
|
|
301
|
+
return w(null, e3.pageContext, e3.configureObj, "afterAddRow", e3);
|
|
302
|
+
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("beforeDelete", function(e3) {
|
|
303
|
+
return w(null, e3.pageContext, e3.configureObj, "beforeRemoveRow", e3);
|
|
304
|
+
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("afterDelete", function(e3) {
|
|
305
|
+
return w(null, e3.pageContext, e3.configureObj, "afterRemoveRow", e3);
|
|
306
|
+
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("beforeEdit", function(e3) {
|
|
307
|
+
return w(null, e3.pageContext, e3.configureObj, "beforeEdit", e3);
|
|
308
|
+
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("beforeRestore", function(e3) {
|
|
309
|
+
return w(null, e3.pageContext, e3.configureObj, "beforeRestore", e3);
|
|
310
|
+
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), G("beforeRestoreValidate", function(e3) {
|
|
311
|
+
return w(null, e3.pageContext, e3.configureObj, "beforeRestoreValidate", e3);
|
|
312
312
|
}({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), function(e3, n3, t3) {
|
|
313
313
|
n3 && (t3[e3] = n3);
|
|
314
|
-
}("filterDataEvent",
|
|
315
|
-
}
|
|
316
|
-
function H(e2, n2, t2) {
|
|
317
|
-
n2 && (t2[e2] = n2);
|
|
318
|
-
}
|
|
319
|
-
function W(e2, n2, t2) {
|
|
320
|
-
return j(null, e2, n2, "select", t2);
|
|
314
|
+
}("filterDataEvent", w(null, t2, i2, "filter-data", { pageContext: t2, configureObj: i2 }), e2));
|
|
321
315
|
}
|
|
322
316
|
function G(e2, n2, t2) {
|
|
323
|
-
|
|
317
|
+
n2 && (t2[e2] = n2);
|
|
324
318
|
}
|
|
325
319
|
function J(e2, n2, t2) {
|
|
326
|
-
return
|
|
320
|
+
return h(null, e2, n2, "select", t2);
|
|
327
321
|
}
|
|
328
322
|
function K(e2, n2, t2) {
|
|
329
|
-
return
|
|
323
|
+
return h(null, e2, n2, "select-all", t2);
|
|
330
324
|
}
|
|
331
325
|
function M(e2, n2, t2) {
|
|
332
|
-
return
|
|
326
|
+
return h(null, e2, n2, "selection-change", t2);
|
|
333
327
|
}
|
|
334
328
|
function Q(e2, n2, t2) {
|
|
335
|
-
return
|
|
329
|
+
return h(null, e2, n2, "cell-click", t2);
|
|
336
330
|
}
|
|
337
331
|
function X(e2, n2, t2) {
|
|
338
|
-
return
|
|
332
|
+
return h(null, e2, n2, "cell-dblclick", t2);
|
|
339
333
|
}
|
|
340
334
|
function Y(e2, n2, t2) {
|
|
341
|
-
return
|
|
335
|
+
return h(null, e2, n2, "row-click", t2);
|
|
336
|
+
}
|
|
337
|
+
function Z(e2, n2, t2) {
|
|
338
|
+
return h(null, e2, n2, "row-dblclick", t2);
|
|
339
|
+
}
|
|
340
|
+
function ee(e2, n2, t2) {
|
|
341
|
+
return h(null, e2, n2, "header-click", t2);
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
return
|
|
343
|
+
function ne(e2) {
|
|
344
|
+
return w(null, e2.pageContext, e2.configureObj, "before-upload", e2);
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function te(n2) {
|
|
347
347
|
let t2 = true;
|
|
348
348
|
if (!e()) {
|
|
349
349
|
const e2 = n2 && n2.events ? n2.events : [];
|
|
@@ -354,37 +354,49 @@ function ee(n2) {
|
|
|
354
354
|
}
|
|
355
355
|
return t2;
|
|
356
356
|
}
|
|
357
|
-
function
|
|
358
|
-
return
|
|
357
|
+
function ie(e2, n2, t2, i2, o2) {
|
|
358
|
+
return z(e2, n2, I(e2, n2 && n2.runtime && n2.runtime.events ? n2.runtime.events : [], t2), { configure: n2, pageContext: e2, chartOption: i2, ...o2 });
|
|
359
|
+
}
|
|
360
|
+
function oe(n2, t2) {
|
|
361
|
+
let i2 = true;
|
|
362
|
+
if (e()) {
|
|
363
|
+
const e2 = $(n2, t2 && t2.runtime && t2.runtime.events ? t2.runtime.events : [], "click");
|
|
364
|
+
if (e2) {
|
|
365
|
+
const n3 = e2.isStandard, t3 = e2.event, o2 = navigator ? navigator.userAgent : null;
|
|
366
|
+
n3 && o2 && (o2.indexOf(" uni-app ") > 0 ? (b.includes(t3.eventName) || C.includes(t3.eventName)) && (i2 = false) : C.includes(t3.eventName) && (i2 = false));
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
return i2;
|
|
359
370
|
}
|
|
360
371
|
export {
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
372
|
+
j as appendDefaultMethods,
|
|
373
|
+
H as canExecuteButton,
|
|
374
|
+
Q as cellClick,
|
|
375
|
+
X as cellDblClick,
|
|
376
|
+
_ as doAfterClickEvent,
|
|
377
|
+
U as doBeforeClickEvent,
|
|
378
|
+
D as doClickJumpPageEvent,
|
|
379
|
+
F as doSuffixOrPrefixClickEvent,
|
|
380
|
+
ne as fileUploadBeforeUpload,
|
|
381
|
+
$ as getClickEventFuncByType,
|
|
382
|
+
k as getCustomFunc,
|
|
383
|
+
I as getEventFuncByType,
|
|
384
|
+
B as getEventNameByType,
|
|
385
|
+
w as getHandleEvent,
|
|
386
|
+
S as getTableUuid,
|
|
387
|
+
K as gridSelectAllRecords,
|
|
388
|
+
J as gridSelectRecord,
|
|
389
|
+
M as gridSelectionChange,
|
|
390
|
+
y as handleAfterInitEvent,
|
|
391
|
+
ie as handleChartEvent,
|
|
392
|
+
h as handleEvent,
|
|
393
|
+
E as handleFormEvent,
|
|
394
|
+
ee as headerClick,
|
|
395
|
+
x as initPageEvents,
|
|
396
|
+
te as isShowComponent,
|
|
397
|
+
oe as isShowMobileEvent,
|
|
398
|
+
O as removeCustomFuncFromWindow,
|
|
399
|
+
Y as rowClick,
|
|
400
|
+
Z as rowDblClick,
|
|
401
|
+
W as setTableEvents
|
|
390
402
|
};
|