super-page-runtime 2.2.19 → 2.2.21

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.
@@ -29,6 +29,7 @@ export declare function handleAfterInitEvent($event: any, pageContext: PageConte
29
29
  export declare function getHandleEvent($event: any, pageContext: PageContext, configure: Component, eventType: string, otherParams?: object): any;
30
30
  export declare function getTableUuid(pageContext: PageContext, configure: Component): any;
31
31
  export declare function handleEventByEventName(pageContext: PageContext, configure: Component, eventName: string, otherParams?: object): any;
32
+ export declare function doSuffixOrPrefixClickEvent($event: any, pageContext: PageContext, configure: Component, eventType: any, otherParams?: object): void;
32
33
  export declare function doBeforeClickEvent(pageContext: PageContext, configure: Component, otherParams?: object): any;
33
34
  /**
34
35
  * TODO: 跳转页面功能
@@ -62,7 +62,7 @@ function x(e2, n2) {
62
62
  return v(n2, e3);
63
63
  };
64
64
  }
65
- function j(e2) {
65
+ function k(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,7 +70,7 @@ function j(e2) {
70
70
  });
71
71
  }
72
72
  }
73
- function k(e2, n2, t2, i2, o2) {
73
+ function j(e2, n2, t2, i2, o2) {
74
74
  return y(e2, n2, t2, i2, true, o2, false);
75
75
  }
76
76
  function O(e2, n2, t2, i2, o2) {
@@ -90,43 +90,35 @@ function h(e2, n2, t2, i2) {
90
90
  function E(e2, n2, t2, i2, o2) {
91
91
  return y(e2, n2, t2, i2, false, o2, false);
92
92
  }
93
- function y(e2, t2, i2, r2, u2, l2, a2) {
94
- const s2 = t2.code, g2 = t2.version, m2 = i2 && i2.runtime && i2.runtime.events ? i2.runtime.events : [];
95
- let p2;
96
- if (a2 || !r2 || "click" !== r2) {
97
- if (p2 = _(t2, m2, r2), u2) {
98
- return I(t2, i2, p2, N(t2, i2, e2, l2));
93
+ function y(e2, t2, i2, r2, u2, c2, l2) {
94
+ const a2 = i2 && i2.runtime && i2.runtime.events ? i2.runtime.events : [];
95
+ let s2;
96
+ if (l2 || !/* @__PURE__ */ function(e3) {
97
+ return e3 && ("click" === e3 || "suffixClick" === e3 || "prefixClick" === e3);
98
+ }(r2)) {
99
+ if (s2 = q(t2, a2, r2), u2) {
100
+ return B(t2, i2, s2, N(t2, i2, e2, c2));
99
101
  }
100
- return p2;
101
- }
102
- {
103
- const r3 = w(t2, i2);
104
- if (r3) {
105
- const e3 = c(t2, r3), n2 = e3 ? e3.getSelections() : null, i3 = e3 ? e3.getSelectionIds() : null;
106
- l2 || (l2 = {}), l2.tableUuid = r3, l2.listCode = f(s2, g2, r3);
107
- T(t2) && (l2.selections = n2, l2.id = i3 && i3.length > 0 ? i3[0] : null, l2.ids = i3);
108
- const o2 = e3 ? e3.getTableConfigure() : null;
109
- l2.tableConfigure = o2;
110
- }
111
- !function(e3, t3, i3) {
112
- const r4 = o(t3, i3.ids);
113
- if (!r4) return;
114
- if (void 0 !== e3.canClick && false === e3.canClick) return;
115
- A(i3).then((o2) => {
116
- if (true === o2.canExecute) {
117
- e3.clickUuid = t3.uuid, e3.canClick = false;
118
- const o3 = t3.runtime && t3.runtime.events ? t3.runtime.events : [], r5 = _(e3, o3, "beforeValidateForm");
119
- let u3;
120
- if (r5 && (u3 = I(e3, t3, r5, i3)), void 0 === u3 && (u3 = true), !u3) return void (e3.canClick = true);
121
- n(u3) ? u3.then((n2) => {
122
- n2 && true === n2 ? S(e3, t3, i3) : e3.canClick = true;
123
- }).catch((n2) => {
124
- e3.canClick = true;
125
- }) : S(e3, t3, i3);
126
- }
127
- });
128
- }(t2, i2, N(t2, i2, e2, l2));
102
+ return s2;
129
103
  }
104
+ !function(e3, t3, i3) {
105
+ const r3 = o(t3, i3.ids);
106
+ if (!r3) return;
107
+ if (void 0 !== e3.canClick && false === e3.canClick) return;
108
+ $(i3).then((o2) => {
109
+ if (true === o2.canExecute) {
110
+ e3.clickUuid = t3.uuid, e3.canClick = false;
111
+ const o3 = t3.runtime && t3.runtime.events ? t3.runtime.events : [], r4 = q(e3, o3, "beforeValidateForm");
112
+ let u3;
113
+ if (r4 && (u3 = B(e3, t3, r4, i3)), void 0 === u3 && (u3 = true), !u3) return void (e3.canClick = true);
114
+ n(u3) ? u3.then((n2) => {
115
+ n2 && true === n2 ? S(e3, t3, i3) : e3.canClick = true;
116
+ }).catch((n2) => {
117
+ e3.canClick = true;
118
+ }) : S(e3, t3, i3);
119
+ }
120
+ });
121
+ }(t2, i2, P(e2, t2, i2, c2));
130
122
  }
131
123
  function w(e2, n2) {
132
124
  return n2.props.base.tableUuid ? n2.props.base.tableUuid : e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null;
@@ -140,7 +132,7 @@ function S(e2, t2, i2) {
140
132
  const o2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [];
141
133
  let r2 = true;
142
134
  (i2 == null ? void 0 : i2.skipValidate) && (r2 = false);
143
- const c2 = q(e2, o2, "click");
135
+ const c2 = A(e2, o2, "click");
144
136
  if (c2) {
145
137
  const e3 = function(e4, n2) {
146
138
  return e4 && b.includes(n2.eventName);
@@ -149,43 +141,58 @@ function S(e2, t2, i2) {
149
141
  }
150
142
  u(e2, t2, r2).then((o3) => {
151
143
  if (!o3) return void (e2.canClick = true);
152
- const r3 = R(e2, t2, i2);
144
+ const r3 = T(e2, t2, i2);
153
145
  r3 ? n(r3) ? r3.then((n2) => {
154
- n2 ? D(e2, t2, c2, i2) : e2.canClick = true;
146
+ n2 ? _(e2, t2, c2, i2) : e2.canClick = true;
155
147
  }).catch((n2) => {
156
148
  e2.canClick = true;
157
- }) : D(e2, t2, c2, i2) : e2.canClick = true;
149
+ }) : _(e2, t2, c2, i2) : e2.canClick = true;
158
150
  }).catch((n2) => {
159
151
  e2.canClick = true;
160
152
  });
161
153
  }
162
- function R(e2, n2, t2) {
163
- const i2 = _(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "beforeClick");
154
+ function R(e2, n2, t2, i2, o2) {
155
+ const r2 = P(e2, n2, t2, o2);
156
+ _(n2, t2, A(n2, t2.runtime && t2.runtime.events ? t2.runtime.events : [], i2), r2);
157
+ }
158
+ function P(e2, n2, t2, i2) {
159
+ const o2 = n2.code, r2 = n2.version, u2 = w(n2, t2);
160
+ if (u2) {
161
+ const e3 = c(n2, u2), t3 = e3 ? e3.getSelections() : null, l2 = e3 ? e3.getSelectionIds() : null;
162
+ i2 || (i2 = {}), i2.tableUuid = u2, i2.listCode = f(o2, r2, u2);
163
+ U(n2) && (i2.selections = t3, i2.id = l2 && l2.length > 0 ? l2[0] : null, i2.ids = l2);
164
+ const a2 = e3 ? e3.getTableConfigure() : null;
165
+ i2.tableConfigure = a2;
166
+ }
167
+ return N(n2, t2, e2, i2);
168
+ }
169
+ function T(e2, n2, t2) {
170
+ const i2 = q(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "beforeClick");
164
171
  let o2;
165
- return i2 && (o2 = I(e2, n2, i2, null, t2)), void 0 === o2 || o2;
172
+ return i2 && (o2 = B(e2, n2, i2, null, t2)), void 0 === o2 || o2;
166
173
  }
167
- function P(e2, n2, t2) {
174
+ function F(e2, n2, t2) {
168
175
  const i2 = e2.code + "_";
169
176
  m.$emit(i2 + "open-dialog", { pageContext: e2, configureObj: n2, eventParams: t2 });
170
177
  }
171
- function T(e2, n2) {
178
+ function U(e2, n2) {
172
179
  return !(!e2.pageType || "list" !== e2.pageType);
173
180
  }
174
- function F(e2, t2, i2) {
175
- const o2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [], r2 = _(e2, o2, "afterClick");
181
+ function D(e2, t2, i2) {
182
+ const o2 = t2.runtime && t2.runtime.events ? t2.runtime.events : [], r2 = q(e2, o2, "afterClick");
176
183
  if (r2) {
177
- const o3 = I(e2, t2, r2, null, i2);
184
+ const o3 = B(e2, t2, r2, null, i2);
178
185
  n(o3) ? o3.finally(() => {
179
186
  e2.canClick = true;
180
187
  }) : e2.canClick = true;
181
188
  } else e2.canClick = true;
182
189
  }
183
- function U(e2, n2, t2, i2, o2, u2) {
190
+ function L(e2, n2, t2, i2, o2, u2) {
184
191
  i2 ? (e2.result = o2, e2.canClick = true) : r(e2, n2, o2, "", u2);
185
- const c2 = _(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "afterClick");
186
- c2 && I(e2, n2, c2, t2);
192
+ const c2 = q(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "afterClick");
193
+ c2 && B(e2, n2, c2, t2);
187
194
  }
188
- function D(e2, t2, i2, o2) {
195
+ function _(e2, t2, i2, o2) {
189
196
  let r2 = t2, u2 = t2.props.linkPage;
190
197
  if (u2 && u2 instanceof Array) {
191
198
  const n2 = function(e3) {
@@ -196,38 +203,38 @@ function D(e2, t2, i2, o2) {
196
203
  let c2, l2 = false;
197
204
  i3 && (l2 = i3.show, c2 = l2 ? i3.toPage : null), u2 = c2 ? c2.linkPage : null, u2 && (r2 = g(t2), r2.props.linkPage = u2);
198
205
  }
199
- u2 && u2.jumpPageUrl ? (e2.canClick = true, P(e2, r2, o2)) : function(e3, t3, i3, o3) {
206
+ u2 && u2.jumpPageUrl ? (e2.canClick = true, F(e2, r2, o2)) : function(e3, t3, i3, o3) {
200
207
  const r3 = i3;
201
208
  if (r3) {
202
- const i4 = r3.func, u3 = r3.isStandard, c2 = r3.event, l2 = I(e3, t3, i4, o3), a2 = T(e3);
209
+ const i4 = r3.func, u3 = r3.isStandard, c2 = r3.event, l2 = B(e3, t3, i4, o3), a2 = U(e3);
203
210
  if (function(e4, n2) {
204
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);
205
212
  }(u3, c2)) return void (e3.canClick = true);
206
213
  n(l2) ? l2.then((n2) => {
207
- n2 ? U(e3, t3, o3, u3, n2, a2) : e3.canClick = true;
214
+ n2 ? L(e3, t3, o3, u3, n2, a2) : e3.canClick = true;
208
215
  }).catch((n2) => {
209
216
  e3.canClick = true;
210
- }) : U(e3, t3, o3, u3, l2, a2);
217
+ }) : L(e3, t3, o3, u3, l2, a2);
211
218
  } else e3.canClick = true;
212
219
  }(e2, t2, i2, o2);
213
220
  }
214
- function L(e2, n2) {
221
+ function V(e2, n2) {
215
222
  const t2 = e2.customEvents;
216
223
  if (t2 && n2) {
217
224
  let e3 = "";
218
225
  return e3 = "object" == typeof n2 ? n2.componentUuid + "_" + n2.name : n2, t2[e3];
219
226
  }
220
227
  }
221
- function _(e2, n2, t2) {
228
+ function q(e2, n2, t2) {
222
229
  if (n2 && t2) {
223
230
  const o2 = n2.filter((e3) => e3.name === t2);
224
231
  if (o2 && o2.length > 0) {
225
232
  const n3 = o2[0];
226
- return n3.isStandard ? i[n3.eventName] : L(e2, n3);
233
+ return n3.isStandard ? i[n3.eventName] : V(e2, n3);
227
234
  }
228
235
  }
229
236
  }
230
- function V(e2, n2) {
237
+ function I(e2, n2) {
231
238
  if (e2 && n2) {
232
239
  const t2 = e2.filter((e3) => e3.name === n2);
233
240
  if (t2 && t2.length > 0) {
@@ -235,23 +242,23 @@ function V(e2, n2) {
235
242
  }
236
243
  }
237
244
  }
238
- function q(e2, n2, t2) {
245
+ function A(e2, n2, t2) {
239
246
  if (n2 && t2) {
240
247
  const o2 = n2.filter((e3) => e3.name === t2);
241
248
  if (o2 && o2.length > 0) {
242
249
  const n3 = o2[0];
243
- return n3.isStandard ? { func: i[n3.eventName], isStandard: true, event: n3 } : { func: L(e2, n3), isStandard: false, event: n3 };
250
+ return n3.isStandard ? { func: i[n3.eventName], isStandard: true, event: n3 } : { func: V(e2, n3), isStandard: false, event: n3 };
244
251
  }
245
252
  }
246
253
  }
247
- function I(e2, n2, t2, i2, o2) {
254
+ function B(e2, n2, t2, i2, o2) {
248
255
  if (t2) {
249
256
  if (i2 || (i2 = { pageContext: e2, configureObj: n2 }), o2 && i2) for (const e3 in o2) i2[e3] = o2[e3];
250
257
  return t2.apply(t2, [i2]);
251
258
  }
252
259
  }
253
- function A(e2) {
254
- const n2 = e2.pageContext, i2 = e2.configureObj, o2 = T(n2);
260
+ function $(e2) {
261
+ const n2 = e2.pageContext, i2 = e2.configureObj, o2 = U(n2);
255
262
  let r2 = [];
256
263
  if (o2) n2.editData ? r2.push(n2.editData) : r2 = e2.selections;
257
264
  else {
@@ -278,65 +285,65 @@ function A(e2) {
278
285
  }
279
286
  });
280
287
  }
281
- function B(e2, n2, t2, i2) {
288
+ function z(e2, n2, t2, i2) {
282
289
  var o2;
283
- n2 && ($("loadBeforeSend", E(null, (o2 = { pageContext: t2, configureObj: i2 }).pageContext, o2.configureObj, "beforeListLoad", o2), e2), $("beforeRequest", function(e3) {
290
+ n2 && (H("loadBeforeSend", E(null, (o2 = { pageContext: t2, configureObj: i2 }).pageContext, o2.configureObj, "beforeListLoad", o2), e2), H("beforeRequest", function(e3) {
284
291
  return E(null, e3.pageContext, e3.configureObj, "beforeRequest", e3);
285
- }({ pageContext: t2, configureObj: i2 }), e2), $("gridDataLoaded", function(e3) {
292
+ }({ pageContext: t2, configureObj: i2 }), e2), H("gridDataLoaded", function(e3) {
286
293
  return E(null, e3.pageContext, e3.configureObj, "onListLoad", e3);
287
- }({ pageContext: t2, configureObj: i2 }), e2), $("gridComplete", function(e3) {
294
+ }({ pageContext: t2, configureObj: i2 }), e2), H("gridComplete", function(e3) {
288
295
  return E(null, e3.pageContext, e3.configureObj, "afterListLoad", e3);
289
- }({ pageContext: t2, configureObj: i2 }), e2), $("resizeHeight", function(e3) {
296
+ }({ pageContext: t2, configureObj: i2 }), e2), H("resizeHeight", function(e3) {
290
297
  return E(null, e3.pageContext, e3.configureObj, "resizeTableHeight", e3);
291
- }({ pageContext: t2, configureObj: i2 }), e2), e2.lineEditOptions || (e2.lineEditOptions = {}), $("beforeInsertRow", function(e3) {
298
+ }({ pageContext: t2, configureObj: i2 }), e2), e2.lineEditOptions || (e2.lineEditOptions = {}), H("beforeInsertRow", function(e3) {
292
299
  return E(null, e3.pageContext, e3.configureObj, "beforeAddRow", e3);
293
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), $("afterInsertRow", function(e3) {
300
+ }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), H("afterInsertRow", function(e3) {
294
301
  return E(null, e3.pageContext, e3.configureObj, "afterAddRow", e3);
295
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), $("beforeDelete", function(e3) {
302
+ }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), H("beforeDelete", function(e3) {
296
303
  return E(null, e3.pageContext, e3.configureObj, "beforeRemoveRow", e3);
297
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), $("afterDelete", function(e3) {
304
+ }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), H("afterDelete", function(e3) {
298
305
  return E(null, e3.pageContext, e3.configureObj, "afterRemoveRow", e3);
299
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), $("beforeEdit", function(e3) {
306
+ }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), H("beforeEdit", function(e3) {
300
307
  return E(null, e3.pageContext, e3.configureObj, "beforeEdit", e3);
301
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), $("beforeRestore", function(e3) {
308
+ }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), H("beforeRestore", function(e3) {
302
309
  return E(null, e3.pageContext, e3.configureObj, "beforeRestore", e3);
303
- }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), $("beforeRestoreValidate", function(e3) {
310
+ }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), H("beforeRestoreValidate", function(e3) {
304
311
  return E(null, e3.pageContext, e3.configureObj, "beforeRestoreValidate", e3);
305
312
  }({ pageContext: t2, configureObj: i2 }), e2.lineEditOptions), function(e3, n3, t3) {
306
313
  n3 && (t3[e3] = n3);
307
314
  }("filterDataEvent", E(null, t2, i2, "filter-data", { pageContext: t2, configureObj: i2 }), e2));
308
315
  }
309
- function $(e2, n2, t2) {
310
- n2 && (t2[e2] = n2);
311
- }
312
- function z(e2, n2, t2) {
313
- return k(null, e2, n2, "select", t2);
314
- }
315
316
  function H(e2, n2, t2) {
316
- return k(null, e2, n2, "select-all", t2);
317
+ n2 && (t2[e2] = n2);
317
318
  }
318
319
  function W(e2, n2, t2) {
319
- return k(null, e2, n2, "selection-change", t2);
320
+ return j(null, e2, n2, "select", t2);
320
321
  }
321
322
  function G(e2, n2, t2) {
322
- return k(null, e2, n2, "cell-click", t2);
323
+ return j(null, e2, n2, "select-all", t2);
323
324
  }
324
325
  function J(e2, n2, t2) {
325
- return k(null, e2, n2, "cell-dblclick", t2);
326
+ return j(null, e2, n2, "selection-change", t2);
326
327
  }
327
328
  function K(e2, n2, t2) {
328
- return k(null, e2, n2, "row-click", t2);
329
+ return j(null, e2, n2, "cell-click", t2);
329
330
  }
330
331
  function M(e2, n2, t2) {
331
- return k(null, e2, n2, "row-dblclick", t2);
332
+ return j(null, e2, n2, "cell-dblclick", t2);
332
333
  }
333
334
  function Q(e2, n2, t2) {
334
- return k(null, e2, n2, "header-click", t2);
335
+ return j(null, e2, n2, "row-click", t2);
336
+ }
337
+ function X(e2, n2, t2) {
338
+ return j(null, e2, n2, "row-dblclick", t2);
339
+ }
340
+ function Y(e2, n2, t2) {
341
+ return j(null, e2, n2, "header-click", t2);
335
342
  }
336
- function X(e2) {
343
+ function Z(e2) {
337
344
  return E(null, e2.pageContext, e2.configureObj, "before-upload", e2);
338
345
  }
339
- function Y(n2) {
346
+ function ee(n2) {
340
347
  let t2 = true;
341
348
  if (!e()) {
342
349
  const e2 = n2 && n2.events ? n2.events : [];
@@ -347,36 +354,37 @@ function Y(n2) {
347
354
  }
348
355
  return t2;
349
356
  }
350
- function Z(e2, n2, t2, i2, o2) {
351
- return I(e2, n2, _(e2, n2 && n2.runtime && n2.runtime.events ? n2.runtime.events : [], t2), { configure: n2, pageContext: e2, chartOption: i2, ...o2 });
357
+ function ne(e2, n2, t2, i2, o2) {
358
+ return B(e2, n2, q(e2, n2 && n2.runtime && n2.runtime.events ? n2.runtime.events : [], t2), { configure: n2, pageContext: e2, chartOption: i2, ...o2 });
352
359
  }
353
360
  export {
354
361
  x as appendDefaultMethods,
355
- A as canExecuteButton,
356
- G as cellClick,
357
- J as cellDblClick,
358
- F as doAfterClickEvent,
359
- R as doBeforeClickEvent,
360
- P as doClickJumpPageEvent,
361
- X as fileUploadBeforeUpload,
362
- q as getClickEventFuncByType,
362
+ $ as canExecuteButton,
363
+ K as cellClick,
364
+ M as cellDblClick,
365
+ D as doAfterClickEvent,
366
+ T as doBeforeClickEvent,
367
+ F as doClickJumpPageEvent,
368
+ R as doSuffixOrPrefixClickEvent,
369
+ Z as fileUploadBeforeUpload,
370
+ A as getClickEventFuncByType,
363
371
  v as getCustomFunc,
364
- _ as getEventFuncByType,
365
- V as getEventNameByType,
372
+ q as getEventFuncByType,
373
+ I as getEventNameByType,
366
374
  E as getHandleEvent,
367
375
  w as getTableUuid,
368
- H as gridSelectAllRecords,
369
- z as gridSelectRecord,
370
- W as gridSelectionChange,
376
+ G as gridSelectAllRecords,
377
+ W as gridSelectRecord,
378
+ J as gridSelectionChange,
371
379
  h as handleAfterInitEvent,
372
- Z as handleChartEvent,
373
- k as handleEvent,
380
+ ne as handleChartEvent,
381
+ j as handleEvent,
374
382
  O as handleFormEvent,
375
- Q as headerClick,
383
+ Y as headerClick,
376
384
  C as initPageEvents,
377
- Y as isShowComponent,
378
- j as removeCustomFuncFromWindow,
379
- K as rowClick,
380
- M as rowDblClick,
381
- B as setTableEvents
385
+ ee as isShowComponent,
386
+ k as removeCustomFuncFromWindow,
387
+ Q as rowClick,
388
+ X as rowDblClick,
389
+ z as setTableEvents
382
390
  };
@@ -56,7 +56,7 @@ export declare function getSaveFormRequest(pageContext: PageContext, configureOb
56
56
  * @param isListButton
57
57
  */
58
58
  export declare function dealAfterOperate(pageContext: any, configureObj: any, data: any, successTip: any, isListButton?: boolean): void;
59
- export declare function updateValuesWhenCloseDialog(parentPageContext: any, parentConfigureObj: any, sourceModel: any, sourceTableName: any): void;
59
+ export declare function updateValuesWhenCloseDialog(parentPageContext: any, parentConfigureObj: any, sourceModel: any, sourceTableName: any, valueMappings?: any): void;
60
60
  export declare function refreshFormOrListPage(pageContext: any, configureObj: any, isRefreshWhenClosePopup: any, mySuccessOperation: any): void;
61
61
  export declare function doImportFinally(params: any, fileObj: any): void;
62
62
  export declare function judgeDataNumber(buttonConfigureObj: any, ids: any): boolean;
@@ -402,10 +402,9 @@ function H(e2, t2, s2) {
402
402
  b.$emit(a2 + "close-dialog", { isNeedValueMapping: i2, dataModel: t2, sourceTableName: o2, jumpMode: n2 });
403
403
  }
404
404
  }
405
- function $(e2, t2, s2, n2) {
405
+ function $(e2, t2, s2, n2, o2) {
406
406
  var _a;
407
- let o2 = t2.runtime && t2.runtime.linkPage && t2.runtime.linkPage.valueMappings ? t2.runtime.linkPage.valueMappings : null;
408
- o2 || (o2 = (_a = t2.props.linkPage) == null ? void 0 : _a.valueMappings);
407
+ o2 || (o2 = t2.runtime && t2.runtime.linkPage && t2.runtime.linkPage.valueMappings ? t2.runtime.linkPage.valueMappings : null) || (o2 = (_a = t2.props.linkPage) == null ? void 0 : _a.valueMappings);
409
408
  const i2 = e2.tableName;
410
409
  !function(e3, t3, s3) {
411
410
  if (e3 && null !== e3 && t3) {
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as n, openBlock as a, normalizeClass as i, normalizeStyle as u, unref as s, withDirectives as l, createVNode as c, vShow as p } from "vue";
2
2
  import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable as m, clearChartSelected as h, exportCommonChart as d } from "../../../../utils/charts/chart-util.js";
3
- import { getChartDatasFromPage as v, updateChartDatasources as x, monitorFieldChange as C } from "../../../../utils/page-helper-util.js";
3
+ import { getChartDatasFromPage as x, updateChartDatasources as v, monitorFieldChange as C } from "../../../../utils/page-helper-util.js";
4
4
  import { updateChartOption as I } from "../../../../utils/charts/chart-columnline-util.js";
5
5
  import { doClickJumpPageEvent as k } from "../../../../utils/events/event-util.js";
6
6
  import R from "../common/common-chart-header.vue.js";
7
7
  import { use as j } from "echarts/core";
8
8
  import { CanvasRenderer as y } from "echarts/renderers";
9
9
  import { LineChart as D, BarChart as V } from "echarts/charts";
10
- import { GridComponent as P, LegendComponent as _, TitleComponent as b, TooltipComponent as T, ToolboxComponent as w, DataZoomComponent as E } from "echarts/components";
10
+ import { GridComponent as P, LegendComponent as b, TitleComponent as _, TooltipComponent as w, ToolboxComponent as T, DataZoomComponent as E } from "echarts/components";
11
11
  import O from "vue-echarts";
12
12
  const H = e({ __name: "column-line-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: H2 }) {
13
- j([y, D, P, _, b, T, V, w, E]);
13
+ j([y, D, P, b, _, w, V, T, E]);
14
14
  const N = e2, S = r(null), U = r(), z = r(null), F = N.configure.props ? N.configure.props.enableDrill : null, q = N.configure.props ? N.configure.props.drillEndTrigger : null, A = N.configure.props ? N.configure.props.linkPage : null, B = {};
15
15
  if (N.configure.items) for (const e3 of N.configure.items) e3.props && e3.props.linkPage && e3.props.linkPage.jumpPageUrl ? B[e3.uuid] = e3 : A && A.jumpPageUrl && (B[e3.uuid] = N.configure);
16
16
  const G = N.configure.runtime ? N.configure.runtime : {}, J = G.style, K = G.class, L = G.dataConfig, M = G.headerInfo ? G.headerInfo : {}, Q = G.chartOption, W = N.configure.props ? N.configure.props : {}, X = f(W.customTheme);
@@ -25,14 +25,14 @@ const H = e({ __name: "column-line-runtime", props: { pageContext: {}, configure
25
25
  k(N.pageContext, o2, t2);
26
26
  }
27
27
  g(N.configure, Q), o(() => {
28
- const e3 = v(N.pageContext, N.configure);
28
+ const e3 = x(N.pageContext, N.configure);
29
29
  e3 && oe(e3), U.value && (F || Object.keys(B).length > 0) && U.value.chart.on("click", function(e4) {
30
30
  F ? z.value && z.value.drill && z.value.drill(e4, N.configure.cacheDatas) : Z(e4);
31
31
  }), !F && N.configure.clickSet && U.value && m(N.pageContext, N.configure, U.value.chart);
32
32
  });
33
33
  let $ = M.groupValue;
34
34
  function ee(e3) {
35
- L && (true !== e3 && (L.autoRefresh = true), x(N.pageContext, [L], M.drillParams));
35
+ L && (true !== e3 && (L.autoRefresh = true), v(N.pageContext, [L], M.drillParams));
36
36
  }
37
37
  t(M, () => {
38
38
  $ != M.groupValue && ($ = M.groupValue, L && (L.services[0].groupValue = M.groupValue), ee(false));
@@ -46,7 +46,7 @@ const H = e({ __name: "column-line-runtime", props: { pageContext: {}, configure
46
46
  ee(true);
47
47
  }), H2({ updateChartDatas: oe, exportChart: function() {
48
48
  return d(U.value);
49
- }, chartOption: Q }), (e3, r2) => (a(), n("div", { style: u(s(J)), class: i([s(K), "amb-widget-chart"]), ref_key: "thisRef", ref: S }, [l(c(R, { ref_key: "headerRef", ref: z, headerInfo: s(M), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Y }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, s(M).showHeader || e3.pageContext.showHomepageSearch]]), c(s(O), { ref_key: "chartRef", ref: U, theme: s(X), option: s(Q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
49
+ }, chartOption: Q }), (e3, r2) => (a(), n("div", { style: u(s(J)), class: i([s(K), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: S }, [l(c(R, { ref_key: "headerRef", ref: z, headerInfo: s(M), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Y }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, s(M).showHeader || e3.pageContext.showHomepageSearch]]), c(s(O), { ref_key: "chartRef", ref: U, theme: s(X), option: s(Q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
50
50
  } });
51
51
  export {
52
52
  H as default
@@ -1,7 +1,7 @@
1
1
  import e from "./common-homepage-search.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = o(e, [["__scopeId", "data-v-ec2b8a28"]]);
4
+ const m = o(e, [["__scopeId", "data-v-3e28ae4f"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as e, ref as t, onMounted as i, resolveComponent as o, createBlock as l, openBlock as r, withCtx as a, createCommentVNode as n, createElementBlock as s, Fragment as u, renderList as p, createElementVNode as c, createVNode as g, createTextVNode as m } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as o, resolveComponent as i, createBlock as l, openBlock as a, withCtx as r, createElementVNode as n, createVNode as s, createTextVNode as u, createCommentVNode as p, createElementBlock as c, Fragment as g, renderList as m } from "vue";
2
2
  import d from "../../object-render.vue.js";
3
3
  import { updateChartDatasources as f, getValueFromVariable as v } from "../../../../utils/page-helper-util.js";
4
- import { ElLoading as C, ElMessage as h } from "element-plus";
5
- import y from "agilebuilder-ui/src/utils/request";
4
+ import { ElLoading as h, ElMessage as y } from "element-plus";
5
+ import C from "agilebuilder-ui/src/utils/request";
6
6
  import "agilebuilder-ui/src/utils/common-util";
7
7
  import "agilebuilder-ui/src/utils/util";
8
8
  import "agilebuilder-ui/src/utils/auth";
@@ -14,45 +14,45 @@ import "../../../../utils/page-store.js";
14
14
  import "agilebuilder-ui/src/utils/i18n-util";
15
15
  import "vue-i18n";
16
16
  import "../../../../utils/events/print-label.js";
17
- const S = { class: "dialog-footer" }, O = e({ __name: "common-homepage-search", props: { configure: { type: Object, required: true }, pageContext: { type: Object, default: () => {
17
+ const S = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "dialogBody" }, b = { class: "dialog-footer" }, O = e({ __name: "common-homepage-search", props: { configure: { type: Object, required: true }, pageContext: { type: Object, default: () => {
18
18
  } } }, setup(e2, { expose: O2 }) {
19
- const b = e2, x = t(false), N = t({}), _ = t(0);
20
- i(() => {
19
+ const x = e2, N = t(false), _ = t({}), J = t(0);
20
+ o(() => {
21
21
  setTimeout(() => {
22
- N.value = JSON.parse(JSON.stringify(b.pageContext.entity));
22
+ _.value = JSON.parse(JSON.stringify(x.pageContext.entity));
23
23
  }, 200);
24
24
  });
25
- const J = t([]), j = () => {
26
- x.value = false;
27
- }, I = () => {
28
- const e3 = C.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
29
- f(b.pageContext, b.pageContext.initChartServiceConfigs, null, false).then(() => {
30
- x.value = false;
25
+ const j = t([]), I = () => {
26
+ N.value = false;
27
+ }, k = () => {
28
+ const e3 = h.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
29
+ f(x.pageContext, x.pageContext.initChartServiceConfigs, null, false).then(() => {
30
+ N.value = false;
31
31
  }).finally(() => {
32
- x.value = false, e3.close();
32
+ N.value = false, e3.close();
33
33
  });
34
34
  };
35
- function k() {
36
- b.pageContext.entity = JSON.parse(JSON.stringify(N.value)), _.value++;
37
- }
38
35
  function w() {
36
+ x.pageContext.entity = JSON.parse(JSON.stringify(_.value)), J.value++;
37
+ }
38
+ function H() {
39
39
  const e3 = {};
40
- b.pageContext.variables.forEach((t3) => {
41
- const i3 = "${page." + t3.name + "}";
42
- e3[i3] = v(b.pageContext.entity, i3, null);
40
+ x.pageContext.variables.forEach((t3) => {
41
+ const o3 = "${page." + t3.name + "}";
42
+ e3[o3] = v(x.pageContext.entity, o3, null);
43
43
  });
44
- let t2 = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS"), i2 = {};
45
- t2 && (i2 = JSON.parse(t2)), i2[b.configure.homeChartSettingUserId] = e3;
46
- const o2 = JSON.stringify(e3);
47
- window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(i2)), N.value = JSON.parse(JSON.stringify(b.pageContext.entity)), y.post(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-settings/search-conditions", { id: b.configure.homeChartSettingUserId, searchConditionsJson: o2 }).then((e4) => {
48
- h.success("保存成功");
44
+ let t2 = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS"), o2 = {};
45
+ t2 && (o2 = JSON.parse(t2)), o2[x.configure.homeChartSettingUserId] = e3;
46
+ const i2 = JSON.stringify(e3);
47
+ window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(o2)), _.value = JSON.parse(JSON.stringify(x.pageContext.entity)), C.post(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-settings/search-conditions", { id: x.configure.homeChartSettingUserId, searchConditionsJson: i2 }).then((e4) => {
48
+ y.success("保存成功"), k();
49
49
  });
50
50
  }
51
51
  return O2({ openSearch: () => {
52
- x.value = true, J.value = b.configure.pushHomepage.searchConditions;
53
- } }), (t2, i2) => {
54
- const f2 = o("el-empty"), v2 = o("el-form"), C2 = o("el-button"), h2 = o("el-dialog");
55
- return r(), l(h2, { modelValue: x.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => x.value = e3), title: "筛选", width: "100%", close: j, top: "0vh", fullscreen: true }, { footer: a(() => [c("div", S, [g(C2, { type: "primary", onClick: I }, { default: a(() => i2[1] || (i2[1] = [m(" 确定 ")])), _: 1 }), g(C2, { onClick: k }, { default: a(() => i2[2] || (i2[2] = [m("重置")])), _: 1 }), g(C2, { type: "primary", onClick: w }, { default: a(() => i2[3] || (i2[3] = [m(" 保存为默认条件 ")])), _: 1 })])]), default: a(() => [J.value && 0 !== J.value.length ? n("", true) : (r(), l(f2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (r(), l(v2, { key: _.value }, { default: a(() => [(r(true), s(u, null, p(J.value, (t3) => (r(), l(d, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))]), _: 1 }, 8, ["modelValue"]);
52
+ N.value = true, j.value = x.configure.pushHomepage.searchConditions;
53
+ } }), (t2, o2) => {
54
+ const f2 = i("el-empty"), v2 = i("el-form"), h2 = i("el-button"), y2 = i("el-dialog");
55
+ return a(), l(y2, { modelValue: N.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => N.value = e3), title: "筛选", close: I, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: r(() => [n("div", S, [j.value && 0 !== j.value.length ? p("", true) : (a(), l(f2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (a(), l(v2, { key: J.value }, { default: r(() => [(a(true), c(g, null, m(j.value, (t3) => (a(), l(d, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: r(() => [n("div", b, [s(h2, { type: "primary", onClick: k }, { default: r(() => o2[1] || (o2[1] = [u(" 确定 ")])), _: 1 }), s(h2, { onClick: w }, { default: r(() => o2[2] || (o2[2] = [u("重置")])), _: 1 }), s(h2, { type: "primary", onClick: H }, { default: r(() => o2[3] || (o2[3] = [u(" 保存为默认条件 ")])), _: 1 })])]), _: 1 }, 8, ["modelValue"]);
56
56
  };
57
57
  } });
58
58
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as s, unref as i, withDirectives as p, createVNode as c, vShow as f } from "vue";
1
+ import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as i, unref as s, withDirectives as p, createVNode as c, vShow as f } from "vue";
2
2
  import { getCustomTheme as m, initChartOption as g, exportCommonChart as h } from "../../../../utils/charts/chart-util.js";
3
3
  import { getChartDatasFromPage as l, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
4
4
  import { updateChartOption as C } from "../../../../utils/charts/chart-gauge-util.js";
@@ -6,30 +6,30 @@ import v from "../common/common-chart-header.vue.js";
6
6
  import { use as R } from "echarts/core";
7
7
  import { CanvasRenderer as y } from "echarts/renderers";
8
8
  import { GaugeChart as V } from "echarts/charts";
9
- import { GridComponent as _, TitleComponent as j, TooltipComponent as I, ToolboxComponent as k } from "echarts/components";
10
- import w from "vue-echarts";
11
- const H = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: H2 }) {
12
- R([y, V, _, j, I, k]);
13
- const b = e2, z = r(null), D = r(null), F = r(null), O = b.configure.runtime ? b.configure.runtime : {}, P = O.style, S = O.class, T = O.dataConfig, q = O.headerInfo ? O.headerInfo : {}, A = O.chartOption, B = b.configure.props ? b.configure.props : {}, E = m(B.customTheme);
14
- g(b.configure, A), t(() => {
15
- const e3 = l(b.pageContext, b.configure);
9
+ import { GridComponent as _, TitleComponent as j, TooltipComponent as w, ToolboxComponent as I } from "echarts/components";
10
+ import k from "vue-echarts";
11
+ const b = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: b2 }) {
12
+ R([y, V, _, j, w, I]);
13
+ const H = e2, z = r(null), D = r(null), F = r(null), O = H.configure.runtime ? H.configure.runtime : {}, P = O.style, S = O.class, T = O.dataConfig, q = O.headerInfo ? O.headerInfo : {}, A = O.chartOption, B = H.configure.props ? H.configure.props : {}, E = m(B.customTheme);
14
+ g(H.configure, A), t(() => {
15
+ const e3 = l(H.pageContext, H.configure);
16
16
  e3 && L(e3);
17
17
  });
18
18
  let G = q.groupValue;
19
19
  function J() {
20
- T && d(b.pageContext, [T], q.drillParams);
20
+ T && d(H.pageContext, [T], q.drillParams);
21
21
  }
22
22
  o(q, () => {
23
23
  G != q.groupValue && (G = q.groupValue, T && (T.services[0].groupValue = q.groupValue), J());
24
24
  });
25
25
  const K = q.monitorFields;
26
26
  function L(e3) {
27
- e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(b.pageContext, b.configure, A, e3));
27
+ e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(H.pageContext, H.configure, A, e3));
28
28
  }
29
- return x(b.pageContext, K, J), H2({ updateChartDatas: L, exportChart: function() {
29
+ return x(H.pageContext, K, J), b2({ updateChartDatas: L, exportChart: function() {
30
30
  return h(D.value);
31
- } }), (e3, r2) => (n(), a("div", { style: s(i(P)), class: u([i(S), "amb-widget-chart"]), ref_key: "thisRef", ref: z }, [p(c(v, { ref_key: "headerRef", ref: F, headerInfo: i(q), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, i(q).showHeader || e3.pageContext.showHomepageSearch]]), c(i(w), { ref_key: "chartRef", ref: D, theme: i(E), option: i(A), autoresize: "" }, null, 8, ["theme", "option"])], 6));
31
+ } }), (e3, r2) => (n(), a("div", { style: i(s(P)), class: u([s(S), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: z }, [p(c(v, { ref_key: "headerRef", ref: F, headerInfo: s(q), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, s(q).showHeader || e3.pageContext.showHomepageSearch]]), c(s(k), { ref_key: "chartRef", ref: D, theme: s(E), option: s(A), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
34
- H as default
34
+ b as default
35
35
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as n, openBlock as u, normalizeClass as a, normalizeStyle as l, unref as i, withDirectives as c, createVNode as p, vShow as s } from "vue";
1
+ import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as n, openBlock as a, normalizeClass as u, normalizeStyle as l, unref as i, withDirectives as c, createVNode as p, vShow as s } from "vue";
2
2
  import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable as h, clearChartSelected as m, exportCommonChart as d } from "../../../../utils/charts/chart-util.js";
3
3
  import { updateChartOption as v } from "../../../../utils/charts/chart-pie-util.js";
4
4
  import { doClickJumpPageEvent as x } from "../../../../utils/events/event-util.js";
@@ -7,10 +7,10 @@ import k from "../common/common-chart-header.vue.js";
7
7
  import { use as D } from "echarts/core";
8
8
  import { CanvasRenderer as V } from "echarts/renderers";
9
9
  import { PieChart as y } from "echarts/charts";
10
- import { GridComponent as _, LegendComponent as I, TitleComponent as P, TooltipComponent as b, ToolboxComponent as w } from "echarts/components";
10
+ import { GridComponent as _, LegendComponent as b, TitleComponent as w, TooltipComponent as I, ToolboxComponent as P } from "echarts/components";
11
11
  import E from "vue-echarts";
12
12
  const H = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: H2 }) {
13
- D([V, y, _, I, P, b, w]);
13
+ D([V, y, _, b, w, I, P]);
14
14
  const S = e2, T = r(null), U = r(null), z = r(null), F = S.configure.props ? S.configure.props.enableDrill : null, O = S.configure.props ? S.configure.props.drillEndTrigger : null, q = S.configure.props ? S.configure.props.linkPage : null, A = S.configure.runtime ? S.configure.runtime : {}, B = A.style, G = A.class, J = A.dataConfig, K = A.headerInfo ? A.headerInfo : {}, L = A.chartOption, M = S.configure.props ? S.configure.props : {}, N = f(M.customTheme);
15
15
  function Q(e3) {
16
16
  "clearDrill" == O ? z.value && z.value.closeDrill && z.value.closeDrill(0) : "clickEvent" == O && W();
@@ -39,7 +39,7 @@ const H = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} },
39
39
  Y(true);
40
40
  }), H2({ updateChartDatas: $, exportChart: function() {
41
41
  return d(U.value);
42
- } }), (e3, r2) => (u(), n("div", { style: l(i(B)), class: a([i(G), "amb-widget-chart"]), ref_key: "thisRef", ref: T }, [c(p(k, { ref_key: "headerRef", ref: z, headerInfo: i(K), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Q }, null, 8, ["headerInfo", "configure", "pageContext"]), [[s, i(K).showHeader || e3.pageContext.showHomepageSearch]]), p(i(E), { ref_key: "chartRef", ref: U, theme: i(N), option: i(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
42
+ } }), (e3, r2) => (a(), n("div", { style: l(i(B)), class: u([i(G), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: T }, [c(p(k, { ref_key: "headerRef", ref: z, headerInfo: i(K), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Q }, null, 8, ["headerInfo", "configure", "pageContext"]), [[s, i(K).showHeader || e3.pageContext.showHomepageSearch]]), p(i(E), { ref_key: "chartRef", ref: U, theme: i(N), option: i(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
43
43
  } });
44
44
  export {
45
45
  H as default
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as s, unref as i, withDirectives as p, createVNode as c, vShow as f } from "vue";
1
+ import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as i, unref as s, withDirectives as p, createVNode as c, vShow as f } from "vue";
2
2
  import { getCustomTheme as m, initChartOption as h, exportCommonChart as l } from "../../../../utils/charts/chart-util.js";
3
3
  import { getChartDatasFromPage as g, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
4
4
  import { updateChartOption as C } from "../../../../utils/charts/chart-radar-util.js";
@@ -6,10 +6,10 @@ import v from "../common/common-chart-header.vue.js";
6
6
  import { use as R } from "echarts/core";
7
7
  import { CanvasRenderer as y } from "echarts/renderers";
8
8
  import { RadarChart as V } from "echarts/charts";
9
- import { GridComponent as _, TitleComponent as j, TooltipComponent as I, ToolboxComponent as k, LegendComponent as w } from "echarts/components";
10
- import H from "vue-echarts";
11
- const b = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: b2 }) {
12
- R([y, V, _, j, I, k, w]);
9
+ import { GridComponent as _, TitleComponent as j, TooltipComponent as w, ToolboxComponent as I, LegendComponent as k } from "echarts/components";
10
+ import b from "vue-echarts";
11
+ const H = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: H2 }) {
12
+ R([y, V, _, j, w, I, k]);
13
13
  const z = e2, D = r(null), F = r(null), O = r(null), P = z.configure.runtime ? z.configure.runtime : {}, S = P.style, T = P.class, q = P.dataConfig, A = P.headerInfo ? P.headerInfo : {}, B = P.chartOption, E = z.configure.props ? z.configure.props : {}, G = m(E.customTheme);
14
14
  h(z.configure, B), t(() => {
15
15
  const e3 = g(z.pageContext, z.configure);
@@ -26,10 +26,10 @@ const b = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }
26
26
  function M(e3) {
27
27
  e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(z.pageContext, z.configure, B, e3));
28
28
  }
29
- return x(z.pageContext, L, K), b2({ updateChartDatas: M, exportChart: function() {
29
+ return x(z.pageContext, L, K), H2({ updateChartDatas: M, exportChart: function() {
30
30
  return l(F.value);
31
- } }), (e3, r2) => (n(), a("div", { style: s(i(S)), class: u([i(T), "amb-widget-chart"]), ref_key: "thisRef", ref: D }, [p(c(v, { ref_key: "headerRef", ref: O, headerInfo: i(A), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, i(A).showHeader || e3.pageContext.showHomepageSearch]]), c(i(H), { ref_key: "chartRef", ref: F, theme: i(G), option: i(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
31
+ } }), (e3, r2) => (n(), a("div", { style: i(s(S)), class: u([s(T), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: D }, [p(c(v, { ref_key: "headerRef", ref: O, headerInfo: s(A), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, s(A).showHeader || e3.pageContext.showHomepageSearch]]), c(s(b), { ref_key: "chartRef", ref: F, theme: s(G), option: s(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
34
- b as default
34
+ H as default
35
35
  };
@@ -6,10 +6,10 @@ import v from "../common/common-chart-header.vue.js";
6
6
  import { use as R } from "echarts/core";
7
7
  import { CanvasRenderer as y } from "echarts/renderers";
8
8
  import { ScatterChart as V } from "echarts/charts";
9
- import { GridComponent as _, LegendComponent as j, TitleComponent as I, TooltipComponent as k, ToolboxComponent as w, DataZoomComponent as H } from "echarts/components";
10
- import b from "vue-echarts";
9
+ import { GridComponent as _, LegendComponent as j, TitleComponent as w, TooltipComponent as I, ToolboxComponent as k, DataZoomComponent as b } from "echarts/components";
10
+ import H from "vue-echarts";
11
11
  const z = e({ __name: "scatter-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: z2 }) {
12
- R([y, V, _, j, I, k, w, H]);
12
+ R([y, V, _, j, w, I, k, b]);
13
13
  const D = e2, F = r(null), O = r(null), P = r(null), S = D.configure.runtime ? D.configure.runtime : {}, T = S.style, q = S.class, A = S.dataConfig, B = S.headerInfo ? S.headerInfo : {}, E = S.chartOption, G = D.configure.props ? D.configure.props : {}, J = m(G.customTheme);
14
14
  h(D.configure, E), t(() => {
15
15
  const e3 = g(D.pageContext, D.configure);
@@ -28,7 +28,7 @@ const z = e({ __name: "scatter-runtime", props: { pageContext: {}, configure: {}
28
28
  }
29
29
  return x(D.pageContext, M, L), z2({ updateChartDatas: N, exportChart: function() {
30
30
  return l(O.value);
31
- } }), (e3, r2) => (n(), a("div", { style: s(i(T)), class: u([i(q), "amb-widget-chart"]), ref_key: "thisRef", ref: F }, [c(p(v, { ref_key: "headerRef", ref: P, headerInfo: i(B), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, i(B).showHeader || e3.pageContext.showHomepageSearch]]), p(i(b), { ref_key: "chartRef", ref: O, theme: i(J), option: i(E), autoresize: "" }, null, 8, ["theme", "option"])], 6));
31
+ } }), (e3, r2) => (n(), a("div", { style: s(i(T)), class: u([i(q), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: F }, [c(p(v, { ref_key: "headerRef", ref: P, headerInfo: i(B), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, i(B).showHeader || e3.pageContext.showHomepageSearch]]), p(i(H), { ref_key: "chartRef", ref: O, theme: i(J), option: i(E), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
34
34
  z as default
@@ -10,7 +10,7 @@ import { deepCopy as A } from "../../../../utils/common-util.js";
10
10
  const q = e({ __name: "table-runtime", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) } }, setup(e2, { expose: q2 }) {
11
11
  var _a;
12
12
  const B = e2, M = B.configure.runtime ? B.configure.runtime : {}, Q = M.style, W = M.class, X = M.dataConfig, Y = M.headerInfo ? M.headerInfo : {}, Z = o(null), ee = o(M.props.isEnableGroupHeader), oe = o([]), ne = o([]), re = o([]), te = o({}), ie = o(false), ae = o({}), ue = o({}), pe = o({}), le = [], se = o({}), ce = o({}), ge = o(null), fe = o(0);
13
- let de, me = [];
13
+ let de = [];
14
14
  if (!B.configure.props.modelCustom) {
15
15
  if (ee.value) {
16
16
  const e3 = [];
@@ -29,7 +29,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
29
29
  });
30
30
  }
31
31
  ie.value = B.configure.props.base.showSummary, (ie.value || B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0) && (ae.value = R(B.configure), ie.value && (ue.value = H(B.configure, "table")), B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0 && (pe.value = H(B.configure, "group")));
32
- let he = x(B.pageContext, B.configure);
32
+ let me = 300, he = x(B.pageContext, B.configure);
33
33
  function ve() {
34
34
  const e3 = B.configure.props.dataOrigin.variable.match(/\${(.*?)}/), o2 = e3 ? e3[1].split(".") : [];
35
35
  r(() => o2.reduce((e4, o3) => e4[o3], B.pageContext.entity), (e4) => {
@@ -38,8 +38,8 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
38
38
  }
39
39
  function ye(e3) {
40
40
  e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (!function(e4) {
41
- Re(e4), "service" === B.configure.props.dataOrigin.dataSource && e4.result ? me = e4.result[B.configure.props.dataOrigin.service.serviceDataField] : "variable" === B.configure.props.dataOrigin.dataSource && (ve(), me = O(B.pageContext.entity, B.configure.props.dataOrigin.variable));
42
- me && Ce(me, e4);
41
+ Re(e4), "service" === B.configure.props.dataOrigin.dataSource && e4.result ? de = e4.result[B.configure.props.dataOrigin.service.serviceDataField] : "variable" === B.configure.props.dataOrigin.dataSource && (ve(), de = O(B.pageContext.entity, B.configure.props.dataOrigin.variable));
42
+ de && Ce(de, e4);
43
43
  }(e3), e3.hasRender = true, X && (X.autoRefresh = false));
44
44
  }
45
45
  function Ce(e3, o2) {
@@ -86,7 +86,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
86
86
  }
87
87
  }
88
88
  if (Object.keys(ce.value).length > 0 && e3 && e3.length > 0 && D(ce.value, e3, B.pageContext.entity), ((_a2 = B.configure.pageination) == null ? void 0 : _a2.enable) ? function(e4) {
89
- "frontend" === B.configure.pageination.type ? (fe.value = me.length, ke(1, B.configure.pageination.pageSize)) : "backend" === B.configure.pageination.type && (oe.value = me, B.configure.pageination.totalFrom && (fe.value = e4.result[B.configure.pageination.totalFrom]));
89
+ "frontend" === B.configure.pageination.type ? (fe.value = de.length, ke(1, B.configure.pageination.pageSize)) : "backend" === B.configure.pageination.type && (oe.value = de, B.configure.pageination.totalFrom && (fe.value = e4.result[B.configure.pageination.totalFrom]));
90
90
  }(o2) : oe.value = e3, B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0) {
91
91
  const e4 = B.configure.props.highOrder.groupField;
92
92
  oe.value = function(e5, o3) {
@@ -132,7 +132,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
132
132
  const o2 = se.value[e3.column.property] ? se.value[e3.column.property].cellStyle : null;
133
133
  return L(e3, o2, B);
134
134
  }
135
- he && he.maxHeight && (de = he.maxHeight), !de && he && he.fixHeight && (de = he.fixHeight), de && (de = Number(de + "")), n(() => {
135
+ he && he.maxHeight && (me = he.maxHeight), !me && he && he.fixHeight && (me = he.fixHeight), me && (me = Number(me + "")), n(() => {
136
136
  const e3 = b(B.pageContext, B.configure);
137
137
  if (e3) ye(e3);
138
138
  else if ("variable" === B.configure.props.dataOrigin.dataSource) {
@@ -170,7 +170,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
170
170
  "frontend" === B.configure.pageination.type ? ke(e3, o2) : Fe(e3, o2);
171
171
  }
172
172
  function ke(e3, o2) {
173
- me && (oe.value = me.slice((e3 - 1) * o2, e3 * o2));
173
+ de && (oe.value = de.slice((e3 - 1) * o2, e3 * o2));
174
174
  }
175
175
  function Fe(e3, o2) {
176
176
  B.configure.pageination.currentPageSet && S(B.pageContext.entity, B.configure.pageination.currentPageSet, e3), B.configure.pageination.pageSizeSet && S(B.pageContext.entity, B.configure.pageination.pageSizeSet, o2), j(B.pageContext, B.configure.uuid);
@@ -214,7 +214,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
214
214
  }(n2), columns: e3 };
215
215
  } }), (o2, n2) => {
216
216
  const r2 = t("el-table");
217
- return a(), i("div", { style: p(l(Q)), class: u([l(W), "amb-widget-chart"]), ref: "thisRef" }, [s(c(C, { ref_key: "headerRef", ref: Z, headerInfo: l(Y), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[d, l(Y).showHeader || e2.pageContext.showHomepageSearch]]), c(r2, { ref_key: "gridRef", ref: ge, data: oe.value, style: { width: "100%" }, "max-height": l(de), "header-cell-style": be, "row-style": Oe, "cell-style": we, "show-summary": ie.value, stripe: e2.configure.props.base.stripe, "summary-method": Se, "span-method": je }, { default: m(() => [ee.value ? (a(true), i(h, { key: 0 }, v(re.value, (o3, n3) => (a(), i(h, { key: n3 }, [o3.isLeaf ? Ie(te.value[o3.columnUuid]) ? (a(), g(F, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: te.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : f("", true) : (a(), g(k, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: te.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (a(true), i(h, { key: 1 }, v(ne.value, (o3, n3) => (a(), i(h, { key: n3 }, [Ie(o3) ? (a(), g(F, { key: 0, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"])) : f("", true)], 64))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (a(), g(I, { key: 0, configure: e2.configure, "table-data": oe.value, total: fe.value, onPageChange: Ee, onPageSizeChange: $e }, null, 8, ["configure", "table-data", "total"])) : f("", true)], 6);
217
+ return a(), i("div", { style: p([l(Q), { display: "flex", "flex-direction": "column" }]), class: u([l(W), "amb-widget-chart amb-widget-flex"]), ref: "thisRef" }, [s(c(C, { ref_key: "headerRef", ref: Z, headerInfo: l(Y), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[d, l(Y).showHeader || e2.pageContext.showHomepageSearch]]), c(r2, { ref_key: "gridRef", ref: ge, data: oe.value, style: { width: "100%" }, "max-height": l(me), "header-cell-style": be, "row-style": Oe, "cell-style": we, "show-summary": ie.value, stripe: e2.configure.props.base.stripe, "summary-method": Se, "span-method": je }, { default: m(() => [ee.value ? (a(true), i(h, { key: 0 }, v(re.value, (o3, n3) => (a(), i(h, { key: n3 }, [o3.isLeaf ? Ie(te.value[o3.columnUuid]) ? (a(), g(F, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: te.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : f("", true) : (a(), g(k, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: te.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (a(true), i(h, { key: 1 }, v(ne.value, (o3, n3) => (a(), i(h, { key: n3 }, [Ie(o3) ? (a(), g(F, { key: 0, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"])) : f("", true)], 64))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (a(), g(I, { key: 0, configure: e2.configure, "table-data": oe.value, total: fe.value, onPageChange: Ee, onPageSizeChange: $e }, null, 8, ["configure", "table-data", "total"])) : f("", true)], 6);
218
218
  };
219
219
  } });
220
220
  export {
@@ -2,60 +2,60 @@ import { defineComponent as e, ref as l, computed as n, onMounted as o, nextTick
2
2
  import { SuperIcon as T } from "agilebuilder-ui";
3
3
  import { getFormModelFields as k } from "../../../../utils/page-init-util.js";
4
4
  import { setVariableValue as V, getVariableValue as h } from "../../../../utils/page-helper-util.js";
5
- import { handleAfterInitEvent as b, handleFormEvent as w } from "../../../../utils/events/event-util.js";
6
- import { formatScanRuleSets as _, analysisScanValue as j, setScanAnalysisValue as R } from "../../../../utils/form/scan-util.js";
7
- import S from "../common/title-suffix-element.vue.js";
8
- import { isMobileBrowser as P } from "agilebuilder-ui/src/utils/common-util";
9
- import q from "../../../../utils/eventBus.js";
10
- import { $t as z } from "../../../../utils/i18n-util.js";
11
- const D = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: D2 }) {
5
+ import { handleAfterInitEvent as b, handleFormEvent as w, doSuffixOrPrefixClickEvent as _ } from "../../../../utils/events/event-util.js";
6
+ import { formatScanRuleSets as j, analysisScanValue as R, setScanAnalysisValue as S } from "../../../../utils/form/scan-util.js";
7
+ import P from "../common/title-suffix-element.vue.js";
8
+ import { isMobileBrowser as q } from "agilebuilder-ui/src/utils/common-util";
9
+ import z from "../../../../utils/eventBus.js";
10
+ import { $t as D } from "../../../../utils/i18n-util.js";
11
+ const L = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: L2 }) {
12
12
  var _a, _b, _c;
13
- const L = e2, B = L.pageContext.entity ? L.pageContext.entity : {};
14
- let N = k(L.pageContext, L.configure);
15
- const O = l(P()), $ = L.pageContext.code, A = l(N && N.length > 0 ? $ + "__" + N.join("__") : null), E = n({ get: () => h(B, N), set(e3) {
16
- e3 = e3.trim(), V(B, N, e3);
17
- } }), F = l(null), J = l(null), M = l(null);
13
+ const B = e2, N = B.pageContext.entity ? B.pageContext.entity : {};
14
+ let O = k(B.pageContext, B.configure);
15
+ const $ = l(q()), A = B.pageContext.code, E = l(O && O.length > 0 ? A + "__" + O.join("__") : null), F = n({ get: () => h(N, O), set(e3) {
16
+ e3 = e3.trim(), V(N, O, e3);
17
+ } }), J = l(null), M = l(null), U = l(null);
18
18
  o(() => {
19
- q.$on(A.value + "-scanDone", (e3) => {
20
- ne(e3.result);
19
+ z.$on(E.value + "-scanDone", (e3) => {
20
+ oe(e3.result);
21
21
  }), u(() => {
22
- const e3 = E.value;
23
- b(e3, L.pageContext, L.configure, { formItemRef: F.value, componentRef: J.value, titleRef: M.value, value: e3, entity: L.pageContext.entity.data, pageData: L.pageContext.entity.page });
22
+ const e3 = F.value;
23
+ b(e3, B.pageContext, B.configure, { formItemRef: J.value, componentRef: M.value, titleRef: U.value, value: e3, entity: B.pageContext.entity.data, pageData: B.pageContext.entity.page });
24
24
  });
25
25
  }), t(() => {
26
- q.$off(A.value + "-scanDone");
26
+ z.$off(E.value + "-scanDone");
27
27
  });
28
- const U = L.configure.runtime ? L.configure.runtime : {}, W = l(U.props ? U.props : {}), G = l(!!((_a = W.value.scan) == null ? void 0 : _a.enable));
29
- let H;
30
- H = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
31
- const K = !(!O.value || !H || "app" !== H), Q = l(!!(K && G.value || O.value && G.value && "https:" === window.location.protocol));
32
- let X = {};
33
- ((_b = W.value.scan) == null ? void 0 : _b.enable) && ((_c = W.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (_(W.value.scan.ruleList).then((e3) => {
34
- X = e3;
35
- }), a(() => E.value, (e3) => {
36
- const l2 = j(e3, X);
37
- l2 && R(L.pageContext, l2.scanSet, l2.params);
28
+ const W = B.configure.runtime ? B.configure.runtime : {}, G = l(W.props ? W.props : {}), H = l(!!((_a = G.value.scan) == null ? void 0 : _a.enable));
29
+ let K;
30
+ K = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
31
+ const Q = !(!$.value || !K || "app" !== K), X = l(!!(Q && H.value || $.value && H.value && "https:" === window.location.protocol));
32
+ let Y = {};
33
+ ((_b = G.value.scan) == null ? void 0 : _b.enable) && ((_c = G.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (j(G.value.scan.ruleList).then((e3) => {
34
+ Y = e3;
35
+ }), a(() => F.value, (e3) => {
36
+ const l2 = R(e3, Y);
37
+ l2 && S(B.pageContext, l2.scanSet, l2.params);
38
38
  }));
39
- const Y = U.style, Z = U.class, ee = U.headerStyle, le = U.titleExceedStyle;
40
- function ne(e3) {
41
- return V(B, N, e3);
39
+ const Z = W.style, ee = W.class, le = W.headerStyle, ne = W.titleExceedStyle;
40
+ function oe(e3) {
41
+ return V(N, O, e3);
42
42
  }
43
- const oe = l(false);
44
- function ue(e3) {
45
- oe.value = false, ne(e3);
43
+ const ue = l(false);
44
+ function te(e3) {
45
+ ue.value = false, oe(e3);
46
46
  }
47
- return D2({ getValue: function() {
48
- return h(B, N);
49
- }, setValue: ne }), (e3, l2) => {
47
+ return L2({ getValue: function() {
48
+ return h(N, O);
49
+ }, setValue: oe }), (e3, l2) => {
50
50
  const n2 = i("el-input"), o2 = i("scan-code-input-browser"), u2 = i("el-form-item");
51
- return c(), r(u2, { ref_key: "formItemRef", ref: F, required: !!W.value.required, class: s(v(Z)), "label-width": W.value.labelWidth, style: p(v(Y)) }, { label: f(() => [W.value.tittleShow ? (c(), C("div", { key: 0, ref_key: "titleRef", ref: M, style: p({ ...v(ee), ...v(le) }) }, [W.value.prefixType ? (c(), r(S, { key: 0, pageContext: e3.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (c(), C(I, { key: 1 }, [d(x(v(z)(W.value.title)), 1)], 64))], 4)) : m("", true)]), default: f(() => [y(n2, { ref_key: "componentRef", ref: J, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, size: W.value.size, clearable: W.value.clearable, placeholder: W.value.placeholder, maxlength: W.value.maxLength, "show-word-limit": W.value.showInputNum, modelValue: E.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => E.value = e4), onInput: l2[6] || (l2[6] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "input")), onChange: l2[7] || (l2[7] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "change")), onBlur: l2[8] || (l2[8] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "blur")), onFocus: l2[9] || (l2[9] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "focus")), onClick: l2[10] || (l2[10] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "click")) }, g({ _: 2 }, ["outer" != W.value.iconPosition && (W.value.preIconType && W.value.preIconValue || W.value.preText) ? { name: "prefix", fn: f(() => [W.value.preIconType && W.value.preIconValue ? (c(), r(v(T), { key: 0, iconType: W.value.preIconType, iconValue: W.value.preIconValue, onClick: l2[0] || (l2[0] = (l3) => v(w)(E.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(W.value.preText)), 1)]), key: "0" } : void 0, "outer" == W.value.iconPosition && (W.value.preIconType && W.value.preIconValue || W.value.preText) ? { name: "prepend", fn: f(() => [W.value.preIconType && W.value.preIconValue ? (c(), r(v(T), { key: 0, iconType: W.value.preIconType, iconValue: W.value.preIconValue, onClick: l2[1] || (l2[1] = (l3) => v(w)(E.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(W.value.preText)), 1)]), key: "1" } : void 0, "outer" != W.value.iconPosition && (W.value.sufIconType && W.value.sufIconValue || W.value.sufText) ? { name: "suffix", fn: f(() => [W.value.sufIconType && W.value.sufIconValue ? (c(), r(v(T), { key: 0, iconType: W.value.sufIconType, iconValue: W.value.sufIconValue, onClick: l2[2] || (l2[2] = (l3) => v(w)(E.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(W.value.sufText)), 1)]), key: "2" } : void 0, Q.value || "outer" == W.value.iconPosition && (W.value.sufIconType && W.value.sufIconValue || W.value.sufText) ? { name: "append", fn: f(() => [Q.value ? (c(), r(v(T), { key: 0, iconValue: "fa-barcode", onClick: l2[3] || (l2[3] = (e4) => function() {
52
- if (K) {
53
- const e5 = { type: "scan", componentId: A.value, systemCode: L.pageContext.systemCode };
51
+ return c(), r(u2, { ref_key: "formItemRef", ref: J, required: !!G.value.required, class: s(v(ee)), "label-width": G.value.labelWidth, style: p(v(Z)) }, { label: f(() => [G.value.tittleShow ? (c(), C("div", { key: 0, ref_key: "titleRef", ref: U, style: p({ ...v(le), ...v(ne) }) }, [G.value.prefixType ? (c(), r(P, { key: 0, pageContext: e3.pageContext, property: G.value }, null, 8, ["pageContext", "property"])) : (c(), C(I, { key: 1 }, [d(x(v(D)(G.value.title)), 1)], 64))], 4)) : m("", true)]), default: f(() => [y(n2, { ref_key: "componentRef", ref: M, disabled: "disabled" === G.value.state, readonly: "readonly" === G.value.state, size: G.value.size, clearable: G.value.clearable, placeholder: G.value.placeholder, maxlength: G.value.maxLength, "show-word-limit": G.value.showInputNum, modelValue: F.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => F.value = e4), onInput: l2[6] || (l2[6] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "input")), onChange: l2[7] || (l2[7] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "change")), onBlur: l2[8] || (l2[8] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "blur")), onFocus: l2[9] || (l2[9] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "focus")), onClick: l2[10] || (l2[10] = (l3) => v(w)(l3, e3.pageContext, e3.configure, "click")) }, g({ _: 2 }, ["outer" != G.value.iconPosition && (G.value.preIconType && G.value.preIconValue || G.value.preText) ? { name: "prefix", fn: f(() => [G.value.preIconType && G.value.preIconValue ? (c(), r(v(T), { key: 0, iconType: G.value.preIconType, iconValue: G.value.preIconValue, onClick: l2[0] || (l2[0] = (l3) => v(_)(F.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(D)(G.value.preText)), 1)]), key: "0" } : void 0, "outer" == G.value.iconPosition && (G.value.preIconType && G.value.preIconValue || G.value.preText) ? { name: "prepend", fn: f(() => [G.value.preIconType && G.value.preIconValue ? (c(), r(v(T), { key: 0, iconType: G.value.preIconType, iconValue: G.value.preIconValue, onClick: l2[1] || (l2[1] = (l3) => v(_)(F.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(D)(G.value.preText)), 1)]), key: "1" } : void 0, "outer" != G.value.iconPosition && (G.value.sufIconType && G.value.sufIconValue || G.value.sufText) ? { name: "suffix", fn: f(() => [G.value.sufIconType && G.value.sufIconValue ? (c(), r(v(T), { key: 0, iconType: G.value.sufIconType, iconValue: G.value.sufIconValue, onClick: l2[2] || (l2[2] = (l3) => v(_)(F.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(D)(G.value.sufText)), 1)]), key: "2" } : void 0, X.value || "outer" == G.value.iconPosition && (G.value.sufIconType && G.value.sufIconValue || G.value.sufText) ? { name: "append", fn: f(() => [X.value ? (c(), r(v(T), { key: 0, iconValue: "fa-barcode", onClick: l2[3] || (l2[3] = (e4) => function() {
52
+ if (Q) {
53
+ const e5 = { type: "scan", componentId: E.value, systemCode: B.pageContext.systemCode };
54
54
  window.parent.postMessage(JSON.stringify(e5), "*");
55
- } else oe.value = true;
56
- }()) })) : m("", true), W.value.sufIconType && W.value.sufIconValue ? (c(), r(v(T), { key: 1, iconType: W.value.sufIconType, iconValue: W.value.sufIconValue, onClick: l2[4] || (l2[4] = (l3) => v(w)(E.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(W.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"]), oe.value ? (c(), r(o2, { key: 0, onClose: ue })) : m("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
55
+ } else ue.value = true;
56
+ }()) })) : m("", true), G.value.sufIconType && G.value.sufIconValue ? (c(), r(v(T), { key: 1, iconType: G.value.sufIconType, iconValue: G.value.sufIconValue, onClick: l2[4] || (l2[4] = (l3) => v(_)(F.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(D)(G.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"]), ue.value ? (c(), r(o2, { key: 0, onClose: te })) : m("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
57
57
  };
58
58
  } });
59
59
  export {
60
- D as default
60
+ L as default
61
61
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as l, onMounted as t, onUpdated as a, nextTick as u, onUnmounted as n, createElementBlock as o, openBlock as i, createCommentVNode as s, normalizeStyle as r, normalizeClass as v, createBlock as p, createElementVNode as m, Fragment as g, renderList as f, unref as c, watch as d } from "vue";
1
+ import { defineComponent as e, ref as l, onMounted as a, onUpdated as t, nextTick as u, onUnmounted as n, createElementBlock as o, openBlock as i, createCommentVNode as s, normalizeStyle as r, normalizeClass as v, createBlock as p, createElementVNode as m, Fragment as g, renderList as f, unref as c, watch as d } from "vue";
2
2
  import y from "./assemblys/object-render.vue.js";
3
3
  import { updateOptionDatasources as h, updateChartDatasources as C } from "../utils/page-helper-util.js";
4
4
  import { queryPageSuperGrids as b, queryPageDesignByCode as P, convertToPageContext as j, packageAdditionalMapWithLocationSearch as k, packageAdditionalMapWithRoute as $, packageAdditionalMapWithPageRequest as x } from "../utils/page-init-util.js";
@@ -15,8 +15,8 @@ import { useI18n as X } from "vue-i18n";
15
15
  import { DepartmentUserTree as Y } from "agilebuilder-ui";
16
16
  import { i18nValidateRulesMessage as Z } from "../utils/events/validator-util.js";
17
17
  import ee from "./super-page-dialog.vue.js";
18
- import { useRoute as le, useRouter as te } from "vue-router";
19
- import { jumpToPage as ae } from "agilebuilder-ui/src/utils/jump-page-utils";
18
+ import { useRoute as le, useRouter as ae } from "vue-router";
19
+ import { jumpToPage as te } from "agilebuilder-ui/src/utils/jump-page-utils";
20
20
  import { setSessionCache as ue, getUsername as ne } from "agilebuilder-ui/src/utils/auth";
21
21
  import { deepCopy as oe, isNumber as ie, refreshMobileDialogType as se } from "../utils/common-util.js";
22
22
  import { isMobileBrowser as re } from "agilebuilder-ui/src/utils/common-util";
@@ -33,8 +33,8 @@ const me = { class: "app-container" }, ge = e({ __name: "super-page", props: { p
33
33
  setTimeout(() => {
34
34
  !function(e4, l3) {
35
35
  if (!l3 || 0 == l3.length) return;
36
- const t3 = l3.filter((e5) => "remote" != e5.filterType);
37
- t3 && t3.length > 0 && h(e4, t3, void 0);
36
+ const a3 = l3.filter((e5) => "remote" != e5.filterType);
37
+ a3 && a3.length > 0 && h(e4, a3, void 0);
38
38
  }(Be.value, e3.initOptionConfigs);
39
39
  }, 0), setTimeout(() => {
40
40
  !function(e4, l3) {
@@ -42,10 +42,10 @@ const me = { class: "app-container" }, ge = e({ __name: "super-page", props: { p
42
42
  e4.initChartData = {}, e4.initChartData.data = oe(e4.entity.data), e4.initChartData.page = oe(e4.entity.page), l3 && l3.length > 0 && C(e4, l3, null, true);
43
43
  }(Be.value, e3.initChartServiceConfigs);
44
44
  }, 200), Be.value.initDataSources = [], N(Be.value), Ce.value = Be.value.items ? Be.value.items : [];
45
- const t2 = Be.value.runtime ? Be.value.runtime : {};
46
- be.value = t2.class, Pe.value = t2.style, S(e3, Be.value), Z(Be.value.rules), I(null, Be.value, e3, "beforeload");
47
- const a2 = Be.value.code;
48
- return ce.setPageContext(Be.value), qe.value = a2 + "_", F.$on(qe.value + "export-form-report", (e4) => {
45
+ const a2 = Be.value.runtime ? Be.value.runtime : {};
46
+ be.value = a2.class, Pe.value = a2.style, S(e3, Be.value), Z(Be.value.rules), I(null, Be.value, e3, "beforeload");
47
+ const t2 = Be.value.code;
48
+ return ce.setPageContext(Be.value), qe.value = t2 + "_", F.$on(qe.value + "export-form-report", (e4) => {
49
49
  ke.value = e4, He.value = e4.configureObj, Je.value = e4.pageContext, $e.value = true;
50
50
  }), F.$on(qe.value + "export-pdf-report", (e4) => {
51
51
  ke.value = e4, He.value = e4.configureObj, Je.value = e4.pageContext, $e.value = true;
@@ -71,15 +71,15 @@ const me = { class: "app-container" }, ge = e({ __name: "super-page", props: { p
71
71
  });
72
72
  }), F.$on(qe.value + "prohibit-edit", (e4) => {
73
73
  }), F.$on(qe.value + "open-dialog", (e4) => {
74
- var l3, t3, a3;
75
- Ve.value = e4.pageContext, Ee.value = e4.configureObj, We.value = e4.eventParams, l3 = Ee.value, t3 = We.value, a3 = e4.jumpPageSetting, function(e5, l4, t4) {
76
- return new Promise((a4, u2) => {
74
+ var l3, a3, t3;
75
+ Ve.value = e4.pageContext, Ee.value = e4.configureObj, We.value = e4.eventParams, l3 = Ee.value, a3 = We.value, t3 = e4.jumpPageSetting, function(e5, l4, a4) {
76
+ return new Promise((t4, u2) => {
77
77
  var _a2;
78
- if (t4) a4(t4);
78
+ if (a4) t4(a4);
79
79
  else {
80
- const t5 = e5 && e5.props && e5.props.linkPage ? e5.props.linkPage : null;
81
- if (t5 && t5.jumpPageUrl) {
82
- false !== t5.isNewPage && true !== t5.isNewPage && (t5.isNewPage = true);
80
+ const a5 = e5 && e5.props && e5.props.linkPage ? e5.props.linkPage : null;
81
+ if (a5 && a5.jumpPageUrl) {
82
+ false !== a5.isNewPage && true !== a5.isNewPage && (a5.isNewPage = true);
83
83
  const e6 = K(Be), u3 = !!((_a2 = Ee.value.props.linkPage) == null ? void 0 : _a2.isNeedId);
84
84
  let n2 = u3 && l4 ? l4.id : null, o2 = u3 && l4 ? l4.ids : null, i2 = l4 ? l4.selections : [], s2 = l4 ? l4.row : null;
85
85
  if (!s2) if (s2 = {}, i2 && i2.length > 0) s2 = i2[0];
@@ -88,39 +88,39 @@ const me = { class: "app-container" }, ge = e({ __name: "super-page", props: { p
88
88
  l5 && Object.assign(s2, l5), e7 && Object.assign(s2, e7);
89
89
  }
90
90
  const r2 = oe(Ve.value.entity.page);
91
- t5._pageData = r2, ae(t5, null, n2, s2, e6, o2).then((e7) => {
92
- e7.isNeedId = u3, a4(e7);
91
+ a5._pageData = r2, te(a5, null, n2, s2, e6, o2).then((e7) => {
92
+ e7.isNeedId = u3, t4(e7);
93
93
  });
94
- } else a4(false);
94
+ } else t4(false);
95
95
  }
96
96
  });
97
- }(l3, t3, a3).then((e5) => {
97
+ }(l3, a3, t3).then((e5) => {
98
98
  if (e5) {
99
- const t4 = l3 && l3.props && l3.props.linkPage ? l3.props.linkPage : null;
100
- t4 && Object.assign(e5, oe(t4)), se(e5, Le);
101
- const a4 = e5.jumpMode, u2 = e5;
102
- if (We.value || (We.value = {}), We.value.paramStoreId = e5.paramStoreId, u2.parentPageCode = Ve.value.code, u2.parentPageVersion = Ve.value.version, u2.isNewPage = true, "popup" === a4 || "refresh" === a4) {
99
+ const a4 = l3 && l3.props && l3.props.linkPage ? l3.props.linkPage : null;
100
+ a4 && Object.assign(e5, oe(a4)), se(e5, Le);
101
+ const t4 = e5.jumpMode, u2 = e5;
102
+ if (We.value || (We.value = {}), We.value.paramStoreId = e5.paramStoreId, u2.parentPageCode = Ve.value.code, u2.parentPageVersion = Ve.value.version, u2.isNewPage = true, "popup" === t4 || "refresh" === t4) {
103
103
  const e6 = u2.linkType;
104
104
  (function(e7, l4) {
105
- const t5 = ne();
106
- return new Promise((a5, u3) => {
107
- if (t5) if ("popup" !== l4 && !Le || Ve.value.systemCode === e7.customSystem) a5(true);
105
+ const a5 = ne();
106
+ return new Promise((t5, u3) => {
107
+ if (a5) if ("popup" !== l4 && !Le || Ve.value.systemCode === e7.customSystem) t5(true);
108
108
  else {
109
109
  const l5 = e7.customSystem;
110
- pe.dispatch("getCurrentUserPermissions", { loginName: t5, systemCode: l5 }).then(() => {
111
- a5(true);
110
+ pe.dispatch("getCurrentUserPermissions", { loginName: a5, systemCode: l5 }).then(() => {
111
+ t5(true);
112
112
  }).catch(() => {
113
- a5(true);
113
+ t5(true);
114
114
  });
115
115
  }
116
- else a5(true);
116
+ else t5(true);
117
117
  });
118
- })(u2, a4).then(() => {
119
- Le && (Ve.value.systemCode !== u2.customSystem || e6 && "url" === e6) ? (u2._isIframe = true, "refresh" === a4 && (u2.dialogType = "drawer", u2.jumpPageWidth = "100%"), Me.value = u2, Fe.value = true) : (u2._isIframe = false, "popup" === a4 || Le && "refresh" === a4 ? ("refresh" === a4 && (u2.dialogType = "drawer", u2.jumpPageWidth = "100%"), Me.value = u2, Fe.value = true) : "refresh" === a4 && tl.push({ path: "/dsc/page", query: u2 }));
118
+ })(u2, t4).then(() => {
119
+ Le && (Ve.value.systemCode !== u2.customSystem || e6 && "url" === e6) ? (u2._isIframe = true, "refresh" === t4 && (u2.dialogType = "drawer", u2.jumpPageWidth = "100%"), Me.value = u2, Fe.value = true) : (u2._isIframe = false, "popup" === t4 || Le && "refresh" === t4 ? ("refresh" === t4 && (u2.dialogType = "drawer", u2.jumpPageWidth = "100%"), Me.value = u2, Fe.value = true) : "refresh" === t4 && al.push({ path: "/dsc/page", query: u2 }));
120
120
  }), F.$on(qe.value + "close-dialog", (e7) => {
121
121
  !function(e8) {
122
122
  const l4 = e8.jumpMode;
123
- l4 && "popup" === l4 || Le && "refresh" === l4 ? al(e8) : tl.go(-1);
123
+ l4 && "popup" === l4 || Le && "refresh" === l4 ? tl(e8) : al.go(-1);
124
124
  }(e7);
125
125
  });
126
126
  }
@@ -138,11 +138,11 @@ const me = { class: "app-container" }, ge = e({ __name: "super-page", props: { p
138
138
  const e3 = he.value.parentNode ? he.value.parentNode : he.value;
139
139
  let l2 = ye.contentHeight;
140
140
  if (!l2) {
141
- const t3 = e3.getBoundingClientRect();
142
- l2 = Le ? window.innerHeight - 78 : window.innerHeight - t3.y - 40;
141
+ const a3 = e3.getBoundingClientRect();
142
+ l2 = Le ? window.innerHeight - 78 : window.innerHeight - a3.y - 40;
143
143
  }
144
- let t2 = l2;
145
- ie(l2) && (t2 = l2 + "px"), e3.style.height = t2, e3.style["overflow-y"] = "auto";
144
+ let a2 = l2;
145
+ ie(l2) && (a2 = l2 + "px"), e3.style.height = a2, e3.style["overflow-y"] = "auto";
146
146
  });
147
147
  }
148
148
  function Ke() {
@@ -153,10 +153,10 @@ const me = { class: "app-container" }, ge = e({ __name: "super-page", props: { p
153
153
  $e.value = false, ke.value = null;
154
154
  }
155
155
  function Xe(e3, l2) {
156
- let t2 = false;
157
- "export-pdf" === e3.name && (t2 = true), W(ke.value.pageContext, ke.value.configureObj, l2, t2);
156
+ let a2 = false;
157
+ "export-pdf" === e3.name && (a2 = true), W(ke.value.pageContext, ke.value.configureObj, l2, a2);
158
158
  }
159
- t(() => {
159
+ a(() => {
160
160
  null != ye.pageDesign ? (je.value = ye.pageDesign, setTimeout(() => {
161
161
  ze(ye.pageDesign).then(() => {
162
162
  ye.pageDesign.tableRuntimes && Object.keys(ye.pageDesign.tableRuntimes).length > 0 ? b(ye.pageDesign, Be.value, ye.publishVersion).then((e3) => {
@@ -168,13 +168,13 @@ const me = { class: "app-container" }, ge = e({ __name: "super-page", props: { p
168
168
  });
169
169
  }, 0)) : ye.pageCode && P(ye.pageCode).then((e3) => {
170
170
  if (e3 && e3.designJson) {
171
- const l2 = e3.designJson, t2 = JSON.parse(l2);
172
- je.value = t2, ze(t2).then(() => {
171
+ const l2 = e3.designJson, a2 = JSON.parse(l2);
172
+ je.value = a2, ze(a2).then(() => {
173
173
  Ke(), Re.value = true, Ae();
174
174
  });
175
175
  }
176
176
  });
177
- }), a(() => {
177
+ }), t(() => {
178
178
  u(() => {
179
179
  Be.value && he.value && D(Be.value, "-1", he);
180
180
  });
@@ -191,15 +191,11 @@ const me = { class: "app-container" }, ge = e({ __name: "super-page", props: { p
191
191
  function ll(e3) {
192
192
  Te.value = [], _e.value = false, L(ke.value, e3);
193
193
  }
194
- const tl = te();
195
- function al(e3) {
194
+ const al = ae();
195
+ function tl(e3) {
196
196
  var _a, _b;
197
- const l2 = Me.value.closeEvent, t2 = Me.value.isRefreshWhenClosePopup;
198
- let a2, u2;
199
- if (e3) {
200
- const l3 = e3.isNeedValueMapping;
201
- a2 = e3.dataModel, u2 = e3.sourceTableName, l3 && z(Ve.value, Ee.value, a2, u2);
202
- }
197
+ const l2 = Me.value.closeEvent, a2 = Me.value.isRefreshWhenClosePopup;
198
+ let t2, u2;
203
199
  const n2 = Ve.value.tableName;
204
200
  let o2;
205
201
  const i2 = We.value.columnProp ? We.value.columnProp : null;
@@ -210,22 +206,26 @@ const me = { class: "app-container" }, ge = e({ __name: "super-page", props: { p
210
206
  });
211
207
  o2 = e4 && e4.length > 0 ? e4[0] : null;
212
208
  } else o2 = Ee.value;
213
- I(null, Ve.value, o2, "closePopup", { sourceModel: a2, sourceTableName: u2, jumpPageSetting: Me, entity: Ve.value.entity.data, targetTableName: n2, pageContext: Be.value, parentPageContext: Ve.value, parentConfigureObj: o2, columnProp: i2 }), function(e4, l3, t3) {
209
+ if (e3) {
210
+ const l3 = e3.isNeedValueMapping;
211
+ t2 = e3.dataModel, u2 = e3.sourceTableName, l3 && z(Ve.value, o2, t2, u2, Me.value ? Me.value.valueMappings : null);
212
+ }
213
+ I(null, Ve.value, o2, "closePopup", { sourceModel: t2, sourceTableName: u2, jumpPageSetting: Me.value, entity: Ve.value.entity.data, targetTableName: n2, pageContext: Be.value, parentPageContext: Ve.value, parentConfigureObj: o2, columnProp: i2 }), function(e4, l3, a3) {
214
214
  if (e4) {
215
- const a3 = T(Ve.value, e4);
216
- a3 && a3.apply(a3, [{ pageContext: Be.value, parentPageContext: Ve.value, parentConfigureObj: t3, jumpPageSetting: Me, columnProp: l3 }]);
215
+ const t3 = T(Ve.value, e4);
216
+ t3 && t3.apply(t3, [{ pageContext: Be.value, parentPageContext: Ve.value, parentConfigureObj: a3, jumpPageSetting: Me.value, columnProp: l3 }]);
217
217
  }
218
- }(l2, i2, o2), A(Ve.value, Ee.value, t2, void 0 !== t2 && false === t2 ? "noOperation" : null), Ve.value = null, Ee.value = null, We.value = null, F.$off(qe.value + "close-dialog"), Fe.value = false;
218
+ }(l2, i2, o2), A(Ve.value, Ee.value, a2, void 0 !== a2 && false === a2 ? "noOperation" : null), Ve.value = null, Ee.value = null, We.value = null, F.$off(qe.value + "close-dialog"), Fe.value = false;
219
219
  }
220
220
  return ge2({ pickFileDone: function(e3) {
221
- let l2 = e3.componentId, t2 = e3.listCode;
222
- (l2 || t2) && (t2 ? F.$emit(t2 + "-pickFileDone", e3) : F.$emit(l2 + "-pickFileDone", e3));
221
+ let l2 = e3.componentId, a2 = e3.listCode;
222
+ (l2 || a2) && (a2 ? F.$emit(a2 + "-pickFileDone", e3) : F.$emit(l2 + "-pickFileDone", e3));
223
223
  }, uploadFileDone: function(e3) {
224
- let l2 = e3.componentId, t2 = e3.listCode;
225
- (l2 || t2) && (t2 ? F.$emit(t2 + "-uploadFileDone", e3) : F.$emit(l2 + "-uploadFileDone", e3));
224
+ let l2 = e3.componentId, a2 = e3.listCode;
225
+ (l2 || a2) && (a2 ? F.$emit(a2 + "-uploadFileDone", e3) : F.$emit(l2 + "-uploadFileDone", e3));
226
226
  }, scanDone: function(e3) {
227
- let l2 = e3.componentId, t2 = e3.listCode;
228
- (l2 || t2) && (t2 ? F.$emit(t2 + "-scanDone", e3) : F.$emit(l2 + "-scanDone", e3));
227
+ let l2 = e3.componentId, a2 = e3.listCode;
228
+ (l2 || a2) && (a2 ? F.$emit(a2 + "-scanDone", e3) : F.$emit(l2 + "-scanDone", e3));
229
229
  } }), (e3, l2) => (i(), o("div", me, [Re.value ? (i(), o("div", { ref_key: "thisRef", ref: he, key: Ge.value, class: v(be.value), style: r(Pe.value) }, [(i(true), o(g, null, f(Ce.value, (e4, l3) => (i(), p(y, { key: e4.uuid, configure: e4, pageContext: c(Be) }, null, 8, ["configure", "pageContext"]))), 128)), $e.value ? (i(), p(_, { key: 0, configure: He.value, pageContext: Je.value, onClose: Qe, onExport: Xe }, null, 8, ["configure", "pageContext"])) : s("", true), m("input", { ref_key: "_selectFile_", ref: Ye, type: "file", name: "_selectFile_", style: { display: "none" }, onChange: l2[0] || (l2[0] = (e4) => function() {
230
230
  if (ke.value) {
231
231
  if (!Ye.value) return;
@@ -233,7 +233,7 @@ const me = { class: "app-container" }, ge = e({ __name: "super-page", props: { p
233
233
  const e5 = Ye.value.files[0];
234
234
  e5 ? (Ye.value.value = null, B(ke.value, e5)) : Q({ showClose: true, type: "warning", message: de("superPageRuntimeMessage.noFileSelected") });
235
235
  }
236
- }()) }, null, 544), xe.value || De.value || we.value ? (i(), p(c(Y), { key: 1, width: "60%", multiple: Ne.value, onClose: Ze }, null, 8, ["multiple"])) : s("", true), Ie.value ? (i(), p(O, { key: 2, "task-informitions": Se.value, onClose: l2[1] || (l2[1] = (e4) => Ie.value = false), onResult: el }, null, 8, ["task-informitions"])) : s("", true), _e.value ? (i(), p(R, { key: 3, "task-id": Oe.value, "active-tasks": Te.value, onClose: l2[2] || (l2[2] = (e4) => _e.value = false), onResult: ll }, null, 8, ["task-id", "active-tasks"])) : s("", true), Fe.value ? (i(), p(ee, { key: 4, parentPageContext: Ve.value, parentPageEventParams: We.value, jumpPageSetting: Me.value, onClose: l2[3] || (l2[3] = (e4) => al()) }, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) : s("", true)], 6)) : s("", true)]));
236
+ }()) }, null, 544), xe.value || De.value || we.value ? (i(), p(c(Y), { key: 1, width: "60%", multiple: Ne.value, onClose: Ze }, null, 8, ["multiple"])) : s("", true), Ie.value ? (i(), p(O, { key: 2, "task-informitions": Se.value, onClose: l2[1] || (l2[1] = (e4) => Ie.value = false), onResult: el }, null, 8, ["task-informitions"])) : s("", true), _e.value ? (i(), p(R, { key: 3, "task-id": Oe.value, "active-tasks": Te.value, onClose: l2[2] || (l2[2] = (e4) => _e.value = false), onResult: ll }, null, 8, ["task-id", "active-tasks"])) : s("", true), Fe.value ? (i(), p(ee, { key: 4, parentPageContext: Ve.value, parentPageEventParams: We.value, jumpPageSetting: Me.value, onClose: l2[3] || (l2[3] = (e4) => tl()) }, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) : s("", true)], 6)) : s("", true)]));
237
237
  } });
238
238
  export {
239
239
  ge as default
package/dist/es/style.css CHANGED
@@ -1,6 +1,8 @@
1
1
  .el-form-item[data-v-96fc65d8] {
2
2
  margin-bottom: 0px;
3
3
  }
4
- [data-v-ec2b8a28] .el-empty {
4
+ [data-v-3e28ae4f] .el-empty {
5
5
  padding: 0;
6
6
  }
7
+
8
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-runtime",
3
- "version": "2.2.19",
3
+ "version": "2.2.21",
4
4
  "description": "AgileBuilder super page runtime",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -48,7 +48,7 @@
48
48
  "@vitejs/plugin-vue-jsx": "^3.1.0",
49
49
  "@vue/eslint-config-prettier": "^8.0.0",
50
50
  "@vue/test-utils": "^2.4.4",
51
- "agilebuilder-ui": "1.1.8",
51
+ "agilebuilder-ui": "1.1.9",
52
52
  "axios": "^1.6.8",
53
53
  "cypress": "^13.6.6",
54
54
  "element-plus": "^2.6.1",