vue-2024-ui 0.0.36 → 0.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +701 -682
- package/dist/src/components/db.d.ts +43 -0
- package/dist/src/components/g.config.d.ts +167 -0
- package/dist/src/components/index.d.ts +83 -0
- package/dist/style.css +1 -1
- package/package.json +4 -6
- package/dist/types/index.d.ts +0 -86
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Je, { ElMessage as be, ElMessageBox as He, ElDialog as Ze, ElDrawer as Ke } from "element-plus";
|
|
2
|
-
import { mergeModels as we, useModel as _e, ref as me, onMounted as
|
|
2
|
+
import { mergeModels as we, useModel as _e, ref as me, onMounted as ke, resolveComponent as F, openBlock as C, createElementBlock as le, unref as r, createBlock as I, mergeProps as x, withCtx as c, renderSlot as g, Fragment as ve, renderList as P, createTextVNode as ue, toDisplayString as ee, createSlots as K, normalizeProps as Ce, createVNode as A, createElementVNode as L, useSlots as et, inject as Re, useAttrs as tt, watch as lt, computed as Ve, normalizeStyle as je, withModifiers as ot, createCommentVNode as de, guardReactiveProps as Te, Transition as rt, withDirectives as Oe, vShow as Ae, onBeforeUnmount as at, normalizeClass as We, watchEffect as nt, h as Se, createApp as ut } from "vue";
|
|
3
3
|
import { FullScreen as st, Remove as it } from "@element-plus/icons-vue";
|
|
4
|
-
import
|
|
4
|
+
import Ne from "sortablejs";
|
|
5
5
|
import { Dexie as dt } from "dexie";
|
|
6
6
|
var ct = {
|
|
7
7
|
name: "zh-cn",
|
|
@@ -189,66 +189,66 @@ var Ye = { exports: {} };
|
|
|
189
189
|
(function(l, e) {
|
|
190
190
|
s.exports = e();
|
|
191
191
|
})(ft, function() {
|
|
192
|
-
var l = 1e3, e = 6e4, a = 36e5, i = "millisecond", m = "second", T = "minute", E = "hour", h = "day", p = "week", $ = "month",
|
|
193
|
-
var y = ["th", "st", "nd", "rd"], v =
|
|
194
|
-
return "[" +
|
|
195
|
-
} }, ie = function(
|
|
196
|
-
var
|
|
197
|
-
return !
|
|
198
|
-
},
|
|
199
|
-
var y = -
|
|
200
|
-
return (y <= 0 ? "+" : "-") + ie(
|
|
201
|
-
}, m: function
|
|
202
|
-
if (y.date() < v.date()) return -
|
|
203
|
-
var
|
|
204
|
-
return +(-(
|
|
205
|
-
}, a: function(
|
|
206
|
-
return
|
|
207
|
-
}, p: function(
|
|
208
|
-
return { M: $, y: w, w: p, d: h, D: d, h: E, m: T, s: m, ms: i, Q:
|
|
209
|
-
}, u: function(
|
|
210
|
-
return
|
|
211
|
-
} }, se = "en",
|
|
212
|
-
|
|
213
|
-
var B = "$isDayjsObject",
|
|
214
|
-
return
|
|
215
|
-
}, fe = function
|
|
192
|
+
var l = 1e3, e = 6e4, a = 36e5, i = "millisecond", m = "second", T = "minute", E = "hour", h = "day", p = "week", $ = "month", te = "quarter", w = "year", d = "date", X = "Invalid Date", ce = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, f = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, S = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(k) {
|
|
193
|
+
var y = ["th", "st", "nd", "rd"], v = k % 100;
|
|
194
|
+
return "[" + k + (y[(v - 20) % 10] || y[v] || y[0]) + "]";
|
|
195
|
+
} }, ie = function(k, y, v) {
|
|
196
|
+
var D = String(k);
|
|
197
|
+
return !D || D.length >= y ? k : "" + Array(y + 1 - D.length).join(v) + k;
|
|
198
|
+
}, V = { s: ie, z: function(k) {
|
|
199
|
+
var y = -k.utcOffset(), v = Math.abs(y), D = Math.floor(v / 60), b = v % 60;
|
|
200
|
+
return (y <= 0 ? "+" : "-") + ie(D, 2, "0") + ":" + ie(b, 2, "0");
|
|
201
|
+
}, m: function k(y, v) {
|
|
202
|
+
if (y.date() < v.date()) return -k(v, y);
|
|
203
|
+
var D = 12 * (v.year() - y.year()) + (v.month() - y.month()), b = y.clone().add(D, $), M = v - b < 0, O = y.clone().add(D + (M ? -1 : 1), $);
|
|
204
|
+
return +(-(D + (v - b) / (M ? b - O : O - b)) || 0);
|
|
205
|
+
}, a: function(k) {
|
|
206
|
+
return k < 0 ? Math.ceil(k) || 0 : Math.floor(k);
|
|
207
|
+
}, p: function(k) {
|
|
208
|
+
return { M: $, y: w, w: p, d: h, D: d, h: E, m: T, s: m, ms: i, Q: te }[k] || String(k || "").toLowerCase().replace(/s$/, "");
|
|
209
|
+
}, u: function(k) {
|
|
210
|
+
return k === void 0;
|
|
211
|
+
} }, se = "en", Y = {};
|
|
212
|
+
Y[se] = S;
|
|
213
|
+
var B = "$isDayjsObject", ae = function(k) {
|
|
214
|
+
return k instanceof he || !(!k || !k[B]);
|
|
215
|
+
}, fe = function k(y, v, D) {
|
|
216
216
|
var b;
|
|
217
217
|
if (!y) return se;
|
|
218
218
|
if (typeof y == "string") {
|
|
219
219
|
var M = y.toLowerCase();
|
|
220
|
-
|
|
220
|
+
Y[M] && (b = M), v && (Y[M] = v, b = M);
|
|
221
221
|
var O = y.split("-");
|
|
222
|
-
if (!b && O.length > 1) return
|
|
222
|
+
if (!b && O.length > 1) return k(O[0]);
|
|
223
223
|
} else {
|
|
224
|
-
var
|
|
225
|
-
|
|
224
|
+
var H = y.name;
|
|
225
|
+
Y[H] = y, b = H;
|
|
226
226
|
}
|
|
227
|
-
return !
|
|
228
|
-
},
|
|
229
|
-
if (
|
|
227
|
+
return !D && b && (se = b), b || !D && se;
|
|
228
|
+
}, z = function(k, y) {
|
|
229
|
+
if (ae(k)) return k.clone();
|
|
230
230
|
var v = typeof y == "object" ? y : {};
|
|
231
|
-
return v.date =
|
|
232
|
-
}, U =
|
|
233
|
-
U.l = fe, U.i =
|
|
234
|
-
return
|
|
231
|
+
return v.date = k, v.args = arguments, new he(v);
|
|
232
|
+
}, U = V;
|
|
233
|
+
U.l = fe, U.i = ae, U.w = function(k, y) {
|
|
234
|
+
return z(k, { locale: y.$L, utc: y.$u, x: y.$x, $offset: y.$offset });
|
|
235
235
|
};
|
|
236
|
-
var
|
|
237
|
-
function
|
|
236
|
+
var he = function() {
|
|
237
|
+
function k(v) {
|
|
238
238
|
this.$L = fe(v.locale, null, !0), this.parse(v), this.$x = this.$x || v.x || {}, this[B] = !0;
|
|
239
239
|
}
|
|
240
|
-
var y =
|
|
240
|
+
var y = k.prototype;
|
|
241
241
|
return y.parse = function(v) {
|
|
242
|
-
this.$d = function(
|
|
243
|
-
var b =
|
|
242
|
+
this.$d = function(D) {
|
|
243
|
+
var b = D.date, M = D.utc;
|
|
244
244
|
if (b === null) return /* @__PURE__ */ new Date(NaN);
|
|
245
245
|
if (U.u(b)) return /* @__PURE__ */ new Date();
|
|
246
246
|
if (b instanceof Date) return new Date(b);
|
|
247
247
|
if (typeof b == "string" && !/Z$/i.test(b)) {
|
|
248
248
|
var O = b.match(ce);
|
|
249
249
|
if (O) {
|
|
250
|
-
var
|
|
251
|
-
return M ? new Date(Date.UTC(O[1],
|
|
250
|
+
var H = O[2] - 1 || 0, G = (O[7] || "0").substring(0, 3);
|
|
251
|
+
return M ? new Date(Date.UTC(O[1], H, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, G)) : new Date(O[1], H, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, G);
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
return new Date(b);
|
|
@@ -259,183 +259,183 @@ var Ye = { exports: {} };
|
|
|
259
259
|
}, y.$utils = function() {
|
|
260
260
|
return U;
|
|
261
261
|
}, y.isValid = function() {
|
|
262
|
-
return this.$d.toString() !==
|
|
263
|
-
}, y.isSame = function(v,
|
|
264
|
-
var b =
|
|
265
|
-
return this.startOf(
|
|
266
|
-
}, y.isAfter = function(v,
|
|
267
|
-
return
|
|
268
|
-
}, y.isBefore = function(v,
|
|
269
|
-
return this.endOf(
|
|
270
|
-
}, y.$g = function(v,
|
|
271
|
-
return U.u(v) ? this[
|
|
262
|
+
return this.$d.toString() !== X;
|
|
263
|
+
}, y.isSame = function(v, D) {
|
|
264
|
+
var b = z(v);
|
|
265
|
+
return this.startOf(D) <= b && b <= this.endOf(D);
|
|
266
|
+
}, y.isAfter = function(v, D) {
|
|
267
|
+
return z(v) < this.startOf(D);
|
|
268
|
+
}, y.isBefore = function(v, D) {
|
|
269
|
+
return this.endOf(D) < z(v);
|
|
270
|
+
}, y.$g = function(v, D, b) {
|
|
271
|
+
return U.u(v) ? this[D] : this.set(b, v);
|
|
272
272
|
}, y.unix = function() {
|
|
273
273
|
return Math.floor(this.valueOf() / 1e3);
|
|
274
274
|
}, y.valueOf = function() {
|
|
275
275
|
return this.$d.getTime();
|
|
276
|
-
}, y.startOf = function(v,
|
|
277
|
-
var b = this, M = !!U.u(
|
|
278
|
-
var
|
|
279
|
-
return M ?
|
|
280
|
-
},
|
|
281
|
-
return U.w(b.toDate()[
|
|
282
|
-
}, Q = this.$W,
|
|
276
|
+
}, y.startOf = function(v, D) {
|
|
277
|
+
var b = this, M = !!U.u(D) || D, O = U.p(v), H = function(j, J) {
|
|
278
|
+
var pe = U.w(b.$u ? Date.UTC(b.$y, J, j) : new Date(b.$y, J, j), b);
|
|
279
|
+
return M ? pe : pe.endOf(h);
|
|
280
|
+
}, G = function(j, J) {
|
|
281
|
+
return U.w(b.toDate()[j].apply(b.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(J)), b);
|
|
282
|
+
}, Q = this.$W, o = this.$M, t = this.$D, n = "set" + (this.$u ? "UTC" : "");
|
|
283
283
|
switch (O) {
|
|
284
284
|
case w:
|
|
285
|
-
return M ?
|
|
285
|
+
return M ? H(1, 0) : H(31, 11);
|
|
286
286
|
case $:
|
|
287
|
-
return M ?
|
|
287
|
+
return M ? H(1, o) : H(0, o + 1);
|
|
288
288
|
case p:
|
|
289
|
-
var
|
|
290
|
-
return
|
|
289
|
+
var _ = this.$locale().weekStart || 0, R = (Q < _ ? Q + 7 : Q) - _;
|
|
290
|
+
return H(M ? t - R : t + (6 - R), o);
|
|
291
291
|
case h:
|
|
292
292
|
case d:
|
|
293
|
-
return
|
|
293
|
+
return G(n + "Hours", 0);
|
|
294
294
|
case E:
|
|
295
|
-
return
|
|
295
|
+
return G(n + "Minutes", 1);
|
|
296
296
|
case T:
|
|
297
|
-
return
|
|
297
|
+
return G(n + "Seconds", 2);
|
|
298
298
|
case m:
|
|
299
|
-
return
|
|
299
|
+
return G(n + "Milliseconds", 3);
|
|
300
300
|
default:
|
|
301
301
|
return this.clone();
|
|
302
302
|
}
|
|
303
303
|
}, y.endOf = function(v) {
|
|
304
304
|
return this.startOf(v, !1);
|
|
305
|
-
}, y.$set = function(v,
|
|
306
|
-
var b, M = U.p(v), O = "set" + (this.$u ? "UTC" : ""),
|
|
305
|
+
}, y.$set = function(v, D) {
|
|
306
|
+
var b, M = U.p(v), O = "set" + (this.$u ? "UTC" : ""), H = (b = {}, b[h] = O + "Date", b[d] = O + "Date", b[$] = O + "Month", b[w] = O + "FullYear", b[E] = O + "Hours", b[T] = O + "Minutes", b[m] = O + "Seconds", b[i] = O + "Milliseconds", b)[M], G = M === h ? this.$D + (D - this.$W) : D;
|
|
307
307
|
if (M === $ || M === w) {
|
|
308
308
|
var Q = this.clone().set(d, 1);
|
|
309
|
-
Q.$d[
|
|
310
|
-
} else
|
|
309
|
+
Q.$d[H](G), Q.init(), this.$d = Q.set(d, Math.min(this.$D, Q.daysInMonth())).$d;
|
|
310
|
+
} else H && this.$d[H](G);
|
|
311
311
|
return this.init(), this;
|
|
312
|
-
}, y.set = function(v,
|
|
313
|
-
return this.clone().$set(v,
|
|
312
|
+
}, y.set = function(v, D) {
|
|
313
|
+
return this.clone().$set(v, D);
|
|
314
314
|
}, y.get = function(v) {
|
|
315
315
|
return this[U.p(v)]();
|
|
316
|
-
}, y.add = function(v,
|
|
316
|
+
}, y.add = function(v, D) {
|
|
317
317
|
var b, M = this;
|
|
318
318
|
v = Number(v);
|
|
319
|
-
var O = U.p(
|
|
320
|
-
var t =
|
|
321
|
-
return U.w(t.date(t.date() + Math.round(
|
|
319
|
+
var O = U.p(D), H = function(o) {
|
|
320
|
+
var t = z(M);
|
|
321
|
+
return U.w(t.date(t.date() + Math.round(o * v)), M);
|
|
322
322
|
};
|
|
323
323
|
if (O === $) return this.set($, this.$M + v);
|
|
324
324
|
if (O === w) return this.set(w, this.$y + v);
|
|
325
|
-
if (O === h) return
|
|
326
|
-
if (O === p) return
|
|
327
|
-
var
|
|
325
|
+
if (O === h) return H(1);
|
|
326
|
+
if (O === p) return H(7);
|
|
327
|
+
var G = (b = {}, b[T] = e, b[E] = a, b[m] = l, b)[O] || 1, Q = this.$d.getTime() + v * G;
|
|
328
328
|
return U.w(Q, this);
|
|
329
|
-
}, y.subtract = function(v,
|
|
330
|
-
return this.add(-1 * v,
|
|
329
|
+
}, y.subtract = function(v, D) {
|
|
330
|
+
return this.add(-1 * v, D);
|
|
331
331
|
}, y.format = function(v) {
|
|
332
|
-
var
|
|
333
|
-
if (!this.isValid()) return b.invalidDate ||
|
|
334
|
-
var M = v || "YYYY-MM-DDTHH:mm:ssZ", O = U.z(this),
|
|
335
|
-
return
|
|
336
|
-
},
|
|
337
|
-
return U.s(
|
|
338
|
-
},
|
|
339
|
-
var
|
|
340
|
-
return $e ?
|
|
332
|
+
var D = this, b = this.$locale();
|
|
333
|
+
if (!this.isValid()) return b.invalidDate || X;
|
|
334
|
+
var M = v || "YYYY-MM-DDTHH:mm:ssZ", O = U.z(this), H = this.$H, G = this.$m, Q = this.$M, o = b.weekdays, t = b.months, n = b.meridiem, _ = function(J, pe, $e, q) {
|
|
335
|
+
return J && (J[pe] || J(D, M)) || $e[pe].slice(0, q);
|
|
336
|
+
}, R = function(J) {
|
|
337
|
+
return U.s(H % 12 || 12, J, "0");
|
|
338
|
+
}, j = n || function(J, pe, $e) {
|
|
339
|
+
var q = J < 12 ? "AM" : "PM";
|
|
340
|
+
return $e ? q.toLowerCase() : q;
|
|
341
341
|
};
|
|
342
|
-
return M.replace(f, function(
|
|
343
|
-
return
|
|
342
|
+
return M.replace(f, function(J, pe) {
|
|
343
|
+
return pe || function($e) {
|
|
344
344
|
switch ($e) {
|
|
345
345
|
case "YY":
|
|
346
|
-
return String(
|
|
346
|
+
return String(D.$y).slice(-2);
|
|
347
347
|
case "YYYY":
|
|
348
|
-
return U.s(
|
|
348
|
+
return U.s(D.$y, 4, "0");
|
|
349
349
|
case "M":
|
|
350
350
|
return Q + 1;
|
|
351
351
|
case "MM":
|
|
352
352
|
return U.s(Q + 1, 2, "0");
|
|
353
353
|
case "MMM":
|
|
354
|
-
return
|
|
354
|
+
return _(b.monthsShort, Q, t, 3);
|
|
355
355
|
case "MMMM":
|
|
356
|
-
return
|
|
356
|
+
return _(t, Q);
|
|
357
357
|
case "D":
|
|
358
|
-
return
|
|
358
|
+
return D.$D;
|
|
359
359
|
case "DD":
|
|
360
|
-
return U.s(
|
|
360
|
+
return U.s(D.$D, 2, "0");
|
|
361
361
|
case "d":
|
|
362
|
-
return String(
|
|
362
|
+
return String(D.$W);
|
|
363
363
|
case "dd":
|
|
364
|
-
return
|
|
364
|
+
return _(b.weekdaysMin, D.$W, o, 2);
|
|
365
365
|
case "ddd":
|
|
366
|
-
return
|
|
366
|
+
return _(b.weekdaysShort, D.$W, o, 3);
|
|
367
367
|
case "dddd":
|
|
368
|
-
return
|
|
368
|
+
return o[D.$W];
|
|
369
369
|
case "H":
|
|
370
|
-
return String(
|
|
370
|
+
return String(H);
|
|
371
371
|
case "HH":
|
|
372
|
-
return U.s(
|
|
372
|
+
return U.s(H, 2, "0");
|
|
373
373
|
case "h":
|
|
374
|
-
return
|
|
374
|
+
return R(1);
|
|
375
375
|
case "hh":
|
|
376
|
-
return
|
|
376
|
+
return R(2);
|
|
377
377
|
case "a":
|
|
378
|
-
return
|
|
378
|
+
return j(H, G, !0);
|
|
379
379
|
case "A":
|
|
380
|
-
return
|
|
380
|
+
return j(H, G, !1);
|
|
381
381
|
case "m":
|
|
382
|
-
return String(
|
|
382
|
+
return String(G);
|
|
383
383
|
case "mm":
|
|
384
|
-
return U.s(
|
|
384
|
+
return U.s(G, 2, "0");
|
|
385
385
|
case "s":
|
|
386
|
-
return String(
|
|
386
|
+
return String(D.$s);
|
|
387
387
|
case "ss":
|
|
388
|
-
return U.s(
|
|
388
|
+
return U.s(D.$s, 2, "0");
|
|
389
389
|
case "SSS":
|
|
390
|
-
return U.s(
|
|
390
|
+
return U.s(D.$ms, 3, "0");
|
|
391
391
|
case "Z":
|
|
392
392
|
return O;
|
|
393
393
|
}
|
|
394
394
|
return null;
|
|
395
|
-
}(
|
|
395
|
+
}(J) || O.replace(":", "");
|
|
396
396
|
});
|
|
397
397
|
}, y.utcOffset = function() {
|
|
398
398
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
399
|
-
}, y.diff = function(v,
|
|
400
|
-
var M, O = this,
|
|
401
|
-
return U.m(O,
|
|
399
|
+
}, y.diff = function(v, D, b) {
|
|
400
|
+
var M, O = this, H = U.p(D), G = z(v), Q = (G.utcOffset() - this.utcOffset()) * e, o = this - G, t = function() {
|
|
401
|
+
return U.m(O, G);
|
|
402
402
|
};
|
|
403
|
-
switch (
|
|
403
|
+
switch (H) {
|
|
404
404
|
case w:
|
|
405
405
|
M = t() / 12;
|
|
406
406
|
break;
|
|
407
407
|
case $:
|
|
408
408
|
M = t();
|
|
409
409
|
break;
|
|
410
|
-
case
|
|
410
|
+
case te:
|
|
411
411
|
M = t() / 3;
|
|
412
412
|
break;
|
|
413
413
|
case p:
|
|
414
|
-
M = (
|
|
414
|
+
M = (o - Q) / 6048e5;
|
|
415
415
|
break;
|
|
416
416
|
case h:
|
|
417
|
-
M = (
|
|
417
|
+
M = (o - Q) / 864e5;
|
|
418
418
|
break;
|
|
419
419
|
case E:
|
|
420
|
-
M =
|
|
420
|
+
M = o / a;
|
|
421
421
|
break;
|
|
422
422
|
case T:
|
|
423
|
-
M =
|
|
423
|
+
M = o / e;
|
|
424
424
|
break;
|
|
425
425
|
case m:
|
|
426
|
-
M =
|
|
426
|
+
M = o / l;
|
|
427
427
|
break;
|
|
428
428
|
default:
|
|
429
|
-
M =
|
|
429
|
+
M = o;
|
|
430
430
|
}
|
|
431
431
|
return b ? M : U.a(M);
|
|
432
432
|
}, y.daysInMonth = function() {
|
|
433
433
|
return this.endOf($).$D;
|
|
434
434
|
}, y.$locale = function() {
|
|
435
|
-
return
|
|
436
|
-
}, y.locale = function(v,
|
|
435
|
+
return Y[this.$L];
|
|
436
|
+
}, y.locale = function(v, D) {
|
|
437
437
|
if (!v) return this.$L;
|
|
438
|
-
var b = this.clone(), M = fe(v,
|
|
438
|
+
var b = this.clone(), M = fe(v, D, !0);
|
|
439
439
|
return M && (b.$L = M), b;
|
|
440
440
|
}, y.clone = function() {
|
|
441
441
|
return U.w(this.$d, this);
|
|
@@ -447,17 +447,17 @@ var Ye = { exports: {} };
|
|
|
447
447
|
return this.$d.toISOString();
|
|
448
448
|
}, y.toString = function() {
|
|
449
449
|
return this.$d.toUTCString();
|
|
450
|
-
},
|
|
451
|
-
}(),
|
|
452
|
-
return
|
|
453
|
-
|
|
454
|
-
return this.$g(y,
|
|
450
|
+
}, k;
|
|
451
|
+
}(), oe = he.prototype;
|
|
452
|
+
return z.prototype = oe, [["$ms", i], ["$s", m], ["$m", T], ["$H", E], ["$W", h], ["$M", $], ["$y", w], ["$D", d]].forEach(function(k) {
|
|
453
|
+
oe[k[1]] = function(y) {
|
|
454
|
+
return this.$g(y, k[0], k[1]);
|
|
455
455
|
};
|
|
456
|
-
}),
|
|
457
|
-
return
|
|
458
|
-
},
|
|
459
|
-
return
|
|
460
|
-
},
|
|
456
|
+
}), z.extend = function(k, y) {
|
|
457
|
+
return k.$i || (k(y, he, z), k.$i = !0), z;
|
|
458
|
+
}, z.locale = fe, z.isDayjs = ae, z.unix = function(k) {
|
|
459
|
+
return z(1e3 * k);
|
|
460
|
+
}, z.en = Y[se], z.Ls = Y, z.p = {}, z;
|
|
461
461
|
});
|
|
462
462
|
})(Ye);
|
|
463
463
|
var pt = Ye.exports;
|
|
@@ -483,7 +483,7 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
483
483
|
e["remote-method"](w, (d) => {
|
|
484
484
|
m[a].options = d;
|
|
485
485
|
});
|
|
486
|
-
}, $ = me(!1),
|
|
486
|
+
}, $ = me(!1), te = async (w = "options") => {
|
|
487
487
|
try {
|
|
488
488
|
const d = await (e == null ? void 0 : e.getDicts(m));
|
|
489
489
|
m[a][w] = d, $.value = !0;
|
|
@@ -491,11 +491,11 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
491
491
|
console.error("Failed to fetch options:", d);
|
|
492
492
|
}
|
|
493
493
|
};
|
|
494
|
-
return
|
|
494
|
+
return ke(async () => {
|
|
495
495
|
e && e["remote-method"] && (h["remote-method"] = p);
|
|
496
|
-
const w = (
|
|
497
|
-
typeof e.getDicts == "function" &&
|
|
498
|
-
console.error(`Failed to load ${ce} for ${
|
|
496
|
+
const w = (X, ce = "options", f = m[a]) => {
|
|
497
|
+
typeof e.getDicts == "function" && te(ce).catch((S) => {
|
|
498
|
+
console.error(`Failed to load ${ce} for ${X}:`, S);
|
|
499
499
|
});
|
|
500
500
|
};
|
|
501
501
|
["radio", "radio-button", "checkbox-group", "checkbox-group-button", "select", "cascader"].includes(i) && w(i), i === "tree-select" && await (async () => {
|
|
@@ -506,63 +506,63 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
506
506
|
}
|
|
507
507
|
})();
|
|
508
508
|
}), (w, d) => {
|
|
509
|
-
var Q,
|
|
510
|
-
const
|
|
511
|
-
return
|
|
512
|
-
|
|
509
|
+
var Q, o;
|
|
510
|
+
const X = F("el-radio"), ce = F("el-radio-group"), f = F("el-radio-button"), S = F("el-checkbox"), ie = F("el-checkbox-group"), V = F("el-checkbox-button"), se = F("el-option"), Y = F("el-option-group"), B = F("el-select"), ae = F("el-tree-select"), fe = F("el-time-picker"), z = F("el-time-select"), U = F("el-date-picker"), he = F("el-color-picker"), oe = F("el-rate"), k = F("el-slider"), y = F("el-switch"), v = F("el-transfer"), D = F("el-cascader"), b = F("el-button"), M = F("el-upload"), O = F("el-autocomplete"), H = F("el-input-number"), G = F("el-input");
|
|
511
|
+
return C(), le("div", vt, [
|
|
512
|
+
r(i) == r(Z).RADIO ? (C(), I(ce, x({
|
|
513
513
|
key: 0,
|
|
514
514
|
modelValue: u.value,
|
|
515
515
|
"onUpdate:modelValue": d[0] || (d[0] = (t) => u.value = t)
|
|
516
|
-
},
|
|
516
|
+
}, r(e)), {
|
|
517
517
|
default: c(() => [
|
|
518
|
-
g(w.$slots, `${l.t}-${
|
|
519
|
-
(
|
|
518
|
+
g(w.$slots, `${l.t}-${r(a)}`, { data: r(e) }, () => [
|
|
519
|
+
(C(!0), le(ve, null, P(r(m)[r(a)].options, (t) => (C(), I(X, x({ ref_for: !0 }, t), {
|
|
520
520
|
default: c(() => [
|
|
521
|
-
g(w.$slots, `${l.t}-${
|
|
521
|
+
g(w.$slots, `${l.t}-${r(a)}-options`, { option: t })
|
|
522
522
|
]),
|
|
523
523
|
_: 2
|
|
524
524
|
}, 1040))), 256))
|
|
525
525
|
])
|
|
526
526
|
]),
|
|
527
527
|
_: 3
|
|
528
|
-
}, 16, ["modelValue"])) :
|
|
528
|
+
}, 16, ["modelValue"])) : r(i) == r(Z).RADIOBUTTON ? (C(), I(ce, x({
|
|
529
529
|
key: 1,
|
|
530
530
|
modelValue: u.value,
|
|
531
531
|
"onUpdate:modelValue": d[1] || (d[1] = (t) => u.value = t)
|
|
532
|
-
},
|
|
532
|
+
}, r(e)), {
|
|
533
533
|
default: c(() => [
|
|
534
|
-
g(w.$slots, `${l.t}-${
|
|
535
|
-
(
|
|
534
|
+
g(w.$slots, `${l.t}-${r(a)}`, { data: r(e) }, () => [
|
|
535
|
+
(C(!0), le(ve, null, P(r(m)[r(a)].options, (t) => (C(), I(f, x({ ref_for: !0 }, t), {
|
|
536
536
|
default: c(() => [
|
|
537
|
-
g(w.$slots, `${l.t}-${
|
|
537
|
+
g(w.$slots, `${l.t}-${r(a)}-options`, { option: t })
|
|
538
538
|
]),
|
|
539
539
|
_: 2
|
|
540
540
|
}, 1040))), 256))
|
|
541
541
|
])
|
|
542
542
|
]),
|
|
543
543
|
_: 3
|
|
544
|
-
}, 16, ["modelValue"])) :
|
|
544
|
+
}, 16, ["modelValue"])) : r(i) == r(Z).CHECKBOX ? (C(), I(S, x({
|
|
545
545
|
key: 2,
|
|
546
546
|
modelValue: u.value,
|
|
547
547
|
"onUpdate:modelValue": d[2] || (d[2] = (t) => u.value = t)
|
|
548
|
-
},
|
|
548
|
+
}, r(e)), {
|
|
549
549
|
default: c(() => [
|
|
550
|
-
g(w.$slots, `${l.t}-${
|
|
551
|
-
d[21] || (d[21] = ue(
|
|
550
|
+
g(w.$slots, `${l.t}-${r(a)}`, { data: r(e) }, () => [
|
|
551
|
+
d[21] || (d[21] = ue(ee(" ")))
|
|
552
552
|
])
|
|
553
553
|
]),
|
|
554
554
|
_: 3
|
|
555
|
-
}, 16, ["modelValue"])) :
|
|
555
|
+
}, 16, ["modelValue"])) : r(i) == r(Z).CHECKBOXGROUP ? (C(), I(ie, x({
|
|
556
556
|
key: 3,
|
|
557
557
|
modelValue: u.value,
|
|
558
558
|
"onUpdate:modelValue": d[3] || (d[3] = (t) => u.value = t)
|
|
559
|
-
},
|
|
559
|
+
}, r(e)), {
|
|
560
560
|
default: c(() => [
|
|
561
|
-
g(w.$slots, `${l.t}-${
|
|
562
|
-
(
|
|
561
|
+
g(w.$slots, `${l.t}-${r(a)}`, { data: r(e) }, () => [
|
|
562
|
+
(C(!0), le(ve, null, P(r(m)[r(a)].options, (t) => (C(), I(S, x({ ref_for: !0 }, t), {
|
|
563
563
|
default: c(() => [
|
|
564
|
-
g(w.$slots, `${l.t}-${
|
|
565
|
-
ue(
|
|
564
|
+
g(w.$slots, `${l.t}-${r(a)}-options`, { option: t }, () => [
|
|
565
|
+
ue(ee(t.label), 1)
|
|
566
566
|
])
|
|
567
567
|
]),
|
|
568
568
|
_: 2
|
|
@@ -570,56 +570,56 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
570
570
|
])
|
|
571
571
|
]),
|
|
572
572
|
_: 3
|
|
573
|
-
}, 16, ["modelValue"])) :
|
|
573
|
+
}, 16, ["modelValue"])) : r(i) == r(Z).CHECKBOXGROUPBUTTON ? (C(), I(ie, x({
|
|
574
574
|
key: 4,
|
|
575
575
|
modelValue: u.value,
|
|
576
576
|
"onUpdate:modelValue": d[4] || (d[4] = (t) => u.value = t)
|
|
577
|
-
},
|
|
577
|
+
}, r(e)), {
|
|
578
578
|
default: c(() => [
|
|
579
|
-
g(w.$slots, `${l.t}-${
|
|
580
|
-
(
|
|
579
|
+
g(w.$slots, `${l.t}-${r(a)}`, { data: r(e) }, () => [
|
|
580
|
+
(C(!0), le(ve, null, P(r(m)[r(a)].options, (t) => (C(), I(V, x({ ref_for: !0 }, t), {
|
|
581
581
|
default: c(() => [
|
|
582
|
-
g(w.$slots, `${l.t}-${
|
|
582
|
+
g(w.$slots, `${l.t}-${r(a)}-options`, { option: t })
|
|
583
583
|
]),
|
|
584
584
|
_: 2
|
|
585
585
|
}, 1040))), 256))
|
|
586
586
|
])
|
|
587
587
|
]),
|
|
588
588
|
_: 3
|
|
589
|
-
}, 16, ["modelValue"])) :
|
|
589
|
+
}, 16, ["modelValue"])) : r(i) === r(Z).SELECT ? (C(), I(B, x({
|
|
590
590
|
key: 5,
|
|
591
591
|
modelValue: u.value,
|
|
592
592
|
"onUpdate:modelValue": d[5] || (d[5] = (t) => u.value = t),
|
|
593
|
-
placeholder:
|
|
594
|
-
}, h),
|
|
593
|
+
placeholder: r(m)[r(a)].label
|
|
594
|
+
}, h), K({
|
|
595
595
|
default: c(() => [
|
|
596
|
-
g(w.$slots, `${l.t}-${
|
|
597
|
-
options:
|
|
596
|
+
g(w.$slots, `${l.t}-${r(a)}`, {
|
|
597
|
+
options: r(m)[r(a)].options
|
|
598
598
|
}, () => {
|
|
599
599
|
var t, n;
|
|
600
600
|
return [
|
|
601
|
-
(n = (t =
|
|
602
|
-
key:
|
|
603
|
-
label:
|
|
601
|
+
(n = (t = r(m)[r(a)]) == null ? void 0 : t.options) != null && n.some((_) => _.options) ? (C(!0), le(ve, { key: 0 }, P(r(m)[r(a)].options, (_) => (C(), I(Y, {
|
|
602
|
+
key: _.label,
|
|
603
|
+
label: _.label
|
|
604
604
|
}, {
|
|
605
605
|
default: c(() => [
|
|
606
|
-
(
|
|
607
|
-
key:
|
|
608
|
-
onClick: (
|
|
606
|
+
(C(!0), le(ve, null, P(_.options, (R) => (C(), I(se, x({ ref_for: !0 }, R, {
|
|
607
|
+
key: R.value,
|
|
608
|
+
onClick: (j) => h.change && h.change(R)
|
|
609
609
|
}), {
|
|
610
610
|
default: c(() => [
|
|
611
|
-
g(w.$slots, `${l.t}-${
|
|
611
|
+
g(w.$slots, `${l.t}-${r(a)}-options`, { option: R })
|
|
612
612
|
]),
|
|
613
613
|
_: 2
|
|
614
614
|
}, 1040, ["onClick"]))), 128))
|
|
615
615
|
]),
|
|
616
616
|
_: 2
|
|
617
|
-
}, 1032, ["label"]))), 128)) : (
|
|
618
|
-
key:
|
|
619
|
-
onClick: (
|
|
617
|
+
}, 1032, ["label"]))), 128)) : (C(!0), le(ve, { key: 1 }, P(r(m)[r(a)].options, (_) => (C(), I(se, x({ ref_for: !0 }, _, {
|
|
618
|
+
key: _.value,
|
|
619
|
+
onClick: (R) => h.change && h.change(_)
|
|
620
620
|
}), {
|
|
621
621
|
default: c(() => [
|
|
622
|
-
g(w.$slots, `${l.t}-${
|
|
622
|
+
g(w.$slots, `${l.t}-${r(a)}-options`, { option: _ })
|
|
623
623
|
]),
|
|
624
624
|
_: 2
|
|
625
625
|
}, 1040, ["onClick"]))), 128))
|
|
@@ -628,113 +628,113 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
628
628
|
]),
|
|
629
629
|
_: 2
|
|
630
630
|
}, [
|
|
631
|
-
|
|
631
|
+
P(E(), (t) => ({
|
|
632
632
|
name: t,
|
|
633
633
|
fn: c((n) => [
|
|
634
|
-
g(w.$slots, `${l.t}-${
|
|
634
|
+
g(w.$slots, `${l.t}-${r(a)}-${t}`, { data: n })
|
|
635
635
|
])
|
|
636
636
|
}))
|
|
637
|
-
]), 1040, ["modelValue", "placeholder"])) :
|
|
637
|
+
]), 1040, ["modelValue", "placeholder"])) : r(i) == r(Z).TREESELECT ? (C(), I(ae, x({
|
|
638
638
|
key: 6,
|
|
639
639
|
modelValue: u.value,
|
|
640
640
|
"onUpdate:modelValue": d[6] || (d[6] = (t) => u.value = t),
|
|
641
|
-
placeholder:
|
|
642
|
-
},
|
|
643
|
-
|
|
641
|
+
placeholder: r(m)[r(a)].label
|
|
642
|
+
}, r(e), { data: T.value }), K({ _: 2 }, [
|
|
643
|
+
P(E(), (t) => ({
|
|
644
644
|
name: t,
|
|
645
645
|
fn: c((n) => [
|
|
646
|
-
g(w.$slots, `${l.t}-${
|
|
646
|
+
g(w.$slots, `${l.t}-${r(a)}-${t}`, { data: n })
|
|
647
647
|
])
|
|
648
648
|
}))
|
|
649
|
-
]), 1040, ["modelValue", "placeholder", "data"])) :
|
|
649
|
+
]), 1040, ["modelValue", "placeholder", "data"])) : r(i) == r(Z).TIME ? (C(), I(fe, x({
|
|
650
650
|
key: 7,
|
|
651
651
|
modelValue: u.value,
|
|
652
652
|
"onUpdate:modelValue": d[7] || (d[7] = (t) => u.value = t),
|
|
653
653
|
"arrow-control": ""
|
|
654
|
-
},
|
|
655
|
-
placeholder:
|
|
656
|
-
}), null, 16, ["modelValue", "placeholder"])) :
|
|
654
|
+
}, r(e), {
|
|
655
|
+
placeholder: r(m)[r(a)].label
|
|
656
|
+
}), null, 16, ["modelValue", "placeholder"])) : r(i) == r(Z).TIMESELECT ? (C(), I(z, x({
|
|
657
657
|
key: 8,
|
|
658
658
|
modelValue: u.value,
|
|
659
659
|
"onUpdate:modelValue": d[8] || (d[8] = (t) => u.value = t),
|
|
660
660
|
start: "06:30",
|
|
661
661
|
step: "00:15",
|
|
662
662
|
end: "23:30",
|
|
663
|
-
placeholder:
|
|
664
|
-
},
|
|
663
|
+
placeholder: r(m)[r(a)].label
|
|
664
|
+
}, r(e)), null, 16, ["modelValue", "placeholder"])) : r(i) == r(Z).DATE ? (C(), I(U, x({
|
|
665
665
|
key: 9,
|
|
666
666
|
modelValue: u.value,
|
|
667
667
|
"onUpdate:modelValue": d[9] || (d[9] = (t) => u.value = t),
|
|
668
668
|
type: "date",
|
|
669
|
-
placeholder:
|
|
670
|
-
},
|
|
671
|
-
|
|
669
|
+
placeholder: r(m)[r(a)].label
|
|
670
|
+
}, r(e)), K({ _: 2 }, [
|
|
671
|
+
P(E(), (t) => ({
|
|
672
672
|
name: t,
|
|
673
673
|
fn: c((n) => [
|
|
674
|
-
g(w.$slots, `${l.t}-${
|
|
674
|
+
g(w.$slots, `${l.t}-${r(a)}-${t}`, { data: n })
|
|
675
675
|
])
|
|
676
676
|
}))
|
|
677
|
-
]), 1040, ["modelValue", "placeholder"])) :
|
|
677
|
+
]), 1040, ["modelValue", "placeholder"])) : r(i) == r(Z).DATETIME ? (C(), I(U, x({
|
|
678
678
|
key: 10,
|
|
679
679
|
modelValue: u.value,
|
|
680
680
|
"onUpdate:modelValue": d[10] || (d[10] = (t) => u.value = t),
|
|
681
|
-
type:
|
|
682
|
-
placeholder:
|
|
683
|
-
},
|
|
684
|
-
|
|
681
|
+
type: r(Z).DATETIME,
|
|
682
|
+
placeholder: r(m)[r(a)].label
|
|
683
|
+
}, r(e)), K({ _: 2 }, [
|
|
684
|
+
P(E(), (t) => ({
|
|
685
685
|
name: t,
|
|
686
686
|
fn: c((n) => [
|
|
687
|
-
g(w.$slots, `${l.t}-${
|
|
687
|
+
g(w.$slots, `${l.t}-${r(a)}-${t}`, { data: n })
|
|
688
688
|
])
|
|
689
689
|
}))
|
|
690
|
-
]), 1040, ["modelValue", "type", "placeholder"])) :
|
|
690
|
+
]), 1040, ["modelValue", "type", "placeholder"])) : r(i) == r(Z).COLOR ? (C(), I(he, x({
|
|
691
691
|
key: 11,
|
|
692
692
|
modelValue: u.value,
|
|
693
693
|
"onUpdate:modelValue": d[11] || (d[11] = (t) => u.value = t)
|
|
694
|
-
},
|
|
694
|
+
}, r(e)), null, 16, ["modelValue"])) : r(i) == r(Z).RATE ? (C(), I(oe, x({
|
|
695
695
|
key: 12,
|
|
696
696
|
modelValue: u.value,
|
|
697
697
|
"onUpdate:modelValue": d[12] || (d[12] = (t) => u.value = t)
|
|
698
|
-
},
|
|
698
|
+
}, r(e)), null, 16, ["modelValue"])) : r(i) == r(Z).SLIDER ? (C(), I(k, x({
|
|
699
699
|
key: 13,
|
|
700
700
|
modelValue: u.value,
|
|
701
701
|
"onUpdate:modelValue": d[13] || (d[13] = (t) => u.value = t)
|
|
702
|
-
},
|
|
702
|
+
}, r(e)), null, 16, ["modelValue"])) : r(i) == r(Z).SWITCH ? (C(), I(y, x({
|
|
703
703
|
key: 14,
|
|
704
704
|
modelValue: u.value,
|
|
705
705
|
"onUpdate:modelValue": d[14] || (d[14] = (t) => u.value = t)
|
|
706
|
-
},
|
|
707
|
-
|
|
706
|
+
}, r(e)), K({ _: 2 }, [
|
|
707
|
+
P(E(), (t) => ({
|
|
708
708
|
name: t,
|
|
709
709
|
fn: c((n) => [
|
|
710
|
-
g(w.$slots, `${l.t}-${
|
|
710
|
+
g(w.$slots, `${l.t}-${r(a)}-${t}`, { data: n })
|
|
711
711
|
])
|
|
712
712
|
}))
|
|
713
|
-
]), 1040, ["modelValue"])) :
|
|
713
|
+
]), 1040, ["modelValue"])) : r(i) == r(Z).TRANSFER ? (C(), I(v, x({
|
|
714
714
|
key: 15,
|
|
715
715
|
modelValue: u.value,
|
|
716
716
|
"onUpdate:modelValue": d[15] || (d[15] = (t) => u.value = t)
|
|
717
|
-
},
|
|
718
|
-
|
|
717
|
+
}, r(e)), K({ _: 2 }, [
|
|
718
|
+
P(E(), (t) => ({
|
|
719
719
|
name: t,
|
|
720
720
|
fn: c((n) => [
|
|
721
|
-
g(w.$slots, `${l.t}-${
|
|
721
|
+
g(w.$slots, `${l.t}-${r(a)}-${t}`, { data: n })
|
|
722
722
|
])
|
|
723
723
|
}))
|
|
724
|
-
]), 1040, ["modelValue"])) :
|
|
724
|
+
]), 1040, ["modelValue"])) : r(i) == r(Z).CASCADER ? (C(), I(D, x({
|
|
725
725
|
key: 16,
|
|
726
726
|
modelValue: u.value,
|
|
727
727
|
"onUpdate:modelValue": d[16] || (d[16] = (t) => u.value = t)
|
|
728
|
-
},
|
|
729
|
-
options:
|
|
730
|
-
}),
|
|
731
|
-
|
|
728
|
+
}, r(e), {
|
|
729
|
+
options: r(m)[r(a)].options
|
|
730
|
+
}), K({ _: 2 }, [
|
|
731
|
+
P(E(), (t) => ({
|
|
732
732
|
name: t,
|
|
733
733
|
fn: c((n) => [
|
|
734
|
-
g(w.$slots, `${l.t}-${
|
|
734
|
+
g(w.$slots, `${l.t}-${r(a)}-${t}`, { data: n })
|
|
735
735
|
])
|
|
736
736
|
}))
|
|
737
|
-
]), 1040, ["modelValue", "options"])) :
|
|
737
|
+
]), 1040, ["modelValue", "options"])) : r(i) == r(Z).IMAGE ? (C(), I(M, Ce(x({ key: 17 }, r(e))), K({
|
|
738
738
|
default: c(() => [
|
|
739
739
|
A(b, { type: "primary" }, {
|
|
740
740
|
default: c(() => d[22] || (d[22] = [
|
|
@@ -745,83 +745,83 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
745
745
|
]),
|
|
746
746
|
_: 2
|
|
747
747
|
}, [
|
|
748
|
-
|
|
748
|
+
P(E(), (t, n) => ({
|
|
749
749
|
name: t,
|
|
750
|
-
fn: c((
|
|
751
|
-
g(w.$slots, `${l.t}-${
|
|
750
|
+
fn: c((_) => [
|
|
751
|
+
g(w.$slots, `${l.t}-${r(a)}-${t}`, { data: _ })
|
|
752
752
|
])
|
|
753
753
|
}))
|
|
754
|
-
]), 1040)) :
|
|
754
|
+
]), 1040)) : r(i) == r(Z).AUTOCOMPLETE ? (C(), I(O, x({
|
|
755
755
|
key: 18,
|
|
756
756
|
modelValue: u.value,
|
|
757
757
|
"onUpdate:modelValue": d[17] || (d[17] = (t) => u.value = t)
|
|
758
|
-
},
|
|
759
|
-
placeholder:
|
|
760
|
-
}),
|
|
761
|
-
|
|
758
|
+
}, r(e), {
|
|
759
|
+
placeholder: r(m)[r(a)].label
|
|
760
|
+
}), K({ _: 2 }, [
|
|
761
|
+
P(E(), (t, n) => ({
|
|
762
762
|
name: t,
|
|
763
|
-
fn: c((
|
|
764
|
-
g(w.$slots, `${l.t}-${
|
|
763
|
+
fn: c((_) => [
|
|
764
|
+
g(w.$slots, `${l.t}-${r(a)}-${t}`, { data: _ })
|
|
765
765
|
])
|
|
766
766
|
}))
|
|
767
|
-
]), 1040, ["modelValue", "placeholder"])) :
|
|
767
|
+
]), 1040, ["modelValue", "placeholder"])) : r(i) == r(Z).INPUTNUMBER ? (C(), I(H, x({
|
|
768
768
|
key: 19,
|
|
769
769
|
modelValue: u.value,
|
|
770
770
|
"onUpdate:modelValue": d[18] || (d[18] = (t) => u.value = t),
|
|
771
771
|
min: 0,
|
|
772
772
|
max: 1e8,
|
|
773
|
-
placeholder:
|
|
774
|
-
},
|
|
775
|
-
|
|
773
|
+
placeholder: r(m)[r(a)].label
|
|
774
|
+
}, r(e)), K({ _: 2 }, [
|
|
775
|
+
P(E(), (t, n) => ({
|
|
776
776
|
name: t,
|
|
777
|
-
fn: c((
|
|
778
|
-
g(w.$slots, `${l.t}-${
|
|
777
|
+
fn: c((_) => [
|
|
778
|
+
g(w.$slots, `${l.t}-${r(a)}-${t}`, { data: _ })
|
|
779
779
|
])
|
|
780
780
|
}))
|
|
781
|
-
]), 1040, ["modelValue", "placeholder"])) :
|
|
782
|
-
A(
|
|
781
|
+
]), 1040, ["modelValue", "placeholder"])) : r(i) == r(Z).MONEY ? (C(), le("div", yt, [
|
|
782
|
+
A(G, x({
|
|
783
783
|
modelValue: u.value,
|
|
784
784
|
"onUpdate:modelValue": d[19] || (d[19] = (t) => u.value = t),
|
|
785
|
-
placeholder:
|
|
786
|
-
type:
|
|
787
|
-
maxlength: ((Q =
|
|
788
|
-
}, { ...
|
|
785
|
+
placeholder: r(m)[r(a)].label,
|
|
786
|
+
type: r(Z).NUMBER,
|
|
787
|
+
maxlength: ((Q = r(e)) == null ? void 0 : Q.max) || 25
|
|
788
|
+
}, { ...r(e), type: r(i) }), K({ _: 2 }, [
|
|
789
789
|
u.value ? {
|
|
790
790
|
name: "suffix",
|
|
791
791
|
fn: c(() => [
|
|
792
|
-
|
|
793
|
-
title:
|
|
792
|
+
L("div", {
|
|
793
|
+
title: r(Ie)(u.value),
|
|
794
794
|
style: { "font-size": "10px", display: "block", width: "120px", overflow: "hidden", "text-overflow": "ellipsis" }
|
|
795
|
-
},
|
|
795
|
+
}, ee(r(Ie)(u.value)), 9, ht)
|
|
796
796
|
]),
|
|
797
797
|
key: "0"
|
|
798
798
|
} : void 0,
|
|
799
|
-
|
|
799
|
+
P(E(), (t, n) => ({
|
|
800
800
|
name: t,
|
|
801
|
-
fn: c((
|
|
802
|
-
g(w.$slots, `${l.t}-${
|
|
801
|
+
fn: c((_) => [
|
|
802
|
+
g(w.$slots, `${l.t}-${r(a)}-${t}`, { data: _ })
|
|
803
803
|
])
|
|
804
804
|
}))
|
|
805
805
|
]), 1040, ["modelValue", "placeholder", "type", "maxlength"])
|
|
806
|
-
])) : (
|
|
806
|
+
])) : (C(), I(G, x({
|
|
807
807
|
key: 21,
|
|
808
808
|
modelValue: u.value,
|
|
809
809
|
"onUpdate:modelValue": d[20] || (d[20] = (t) => u.value = t),
|
|
810
|
-
placeholder:
|
|
811
|
-
maxlength: ((
|
|
810
|
+
placeholder: r(m)[r(a)].label,
|
|
811
|
+
maxlength: ((o = r(e)) == null ? void 0 : o.max) || 25,
|
|
812
812
|
clearable: !0
|
|
813
|
-
}, { ...
|
|
814
|
-
|
|
813
|
+
}, { ...r(e), type: r(i) }), K({ _: 2 }, [
|
|
814
|
+
P(E(), (t, n) => ({
|
|
815
815
|
name: t,
|
|
816
|
-
fn: c((
|
|
817
|
-
g(w.$slots, `${l.t}-${
|
|
816
|
+
fn: c((_) => [
|
|
817
|
+
g(w.$slots, `${l.t}-${r(a)}-${t}`, { data: _ })
|
|
818
818
|
])
|
|
819
819
|
}))
|
|
820
820
|
]), 1040, ["modelValue", "placeholder", "maxlength"]))
|
|
821
821
|
]);
|
|
822
822
|
};
|
|
823
823
|
}
|
|
824
|
-
}),
|
|
824
|
+
}), qe = /* @__PURE__ */ Object.assign({
|
|
825
825
|
name: "g-form",
|
|
826
826
|
inheritAttrs: !1
|
|
827
827
|
}, {
|
|
@@ -832,8 +832,8 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
832
832
|
},
|
|
833
833
|
emits: /* @__PURE__ */ we(["submit", "reset"], ["update:modelValue"]),
|
|
834
834
|
setup(s, { emit: u }) {
|
|
835
|
-
var w, d,
|
|
836
|
-
const l = _e(s, "modelValue"), e = u, a = me(null), i =
|
|
835
|
+
var w, d, X, ce;
|
|
836
|
+
const l = _e(s, "modelValue"), e = u, a = me(null), i = Re("options"), m = {
|
|
837
837
|
inline: !0,
|
|
838
838
|
type: "hidden",
|
|
839
839
|
"scroll-to-error": !0,
|
|
@@ -863,9 +863,9 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
863
863
|
label: "提交",
|
|
864
864
|
plain: !0,
|
|
865
865
|
hidden: !1,
|
|
866
|
-
click: async (f,
|
|
867
|
-
a.value && await a.value.validate((ie,
|
|
868
|
-
ie ? e("submit", f,
|
|
866
|
+
click: async (f, S) => {
|
|
867
|
+
a.value && await a.value.validate((ie, V) => {
|
|
868
|
+
ie ? e("submit", f, S) : console.log("表单验证不通过!", V);
|
|
869
869
|
});
|
|
870
870
|
}
|
|
871
871
|
},
|
|
@@ -878,14 +878,14 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
878
878
|
click: () => {
|
|
879
879
|
if (!a.value) return;
|
|
880
880
|
let f = !0;
|
|
881
|
-
e("reset", (
|
|
882
|
-
f =
|
|
881
|
+
e("reset", (S) => {
|
|
882
|
+
f = S;
|
|
883
883
|
}), f && a.value.resetFields();
|
|
884
884
|
}
|
|
885
885
|
},
|
|
886
886
|
slots: {}
|
|
887
887
|
};
|
|
888
|
-
l.value.form =
|
|
888
|
+
l.value.form = ye(
|
|
889
889
|
m,
|
|
890
890
|
i == null ? void 0 : i.form,
|
|
891
891
|
(d = l.value) == null ? void 0 : d.form
|
|
@@ -897,26 +897,26 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
897
897
|
width: "100%"
|
|
898
898
|
}
|
|
899
899
|
};
|
|
900
|
-
l.value.formItems =
|
|
900
|
+
l.value.formItems = ye(
|
|
901
901
|
T,
|
|
902
902
|
i == null ? void 0 : i.formItems,
|
|
903
|
-
(
|
|
903
|
+
(X = l == null ? void 0 : l.value) == null ? void 0 : X.formItems
|
|
904
904
|
);
|
|
905
905
|
const E = {
|
|
906
906
|
span: 12,
|
|
907
907
|
offset: 0
|
|
908
908
|
};
|
|
909
|
-
l.value.form.cols =
|
|
909
|
+
l.value.form.cols = ye(
|
|
910
910
|
E,
|
|
911
911
|
(ce = i == null ? void 0 : i.form) == null ? void 0 : ce.cols,
|
|
912
912
|
l.value.form.cols
|
|
913
913
|
);
|
|
914
914
|
const h = (f) => {
|
|
915
|
-
let
|
|
915
|
+
let S = [];
|
|
916
916
|
if (f.rules)
|
|
917
|
-
|
|
917
|
+
S = f.rules;
|
|
918
918
|
else {
|
|
919
|
-
const
|
|
919
|
+
const V = { ...{
|
|
920
920
|
required: void 0,
|
|
921
921
|
max: void 0,
|
|
922
922
|
min: void 0,
|
|
@@ -925,85 +925,85 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
925
925
|
pattern: void 0,
|
|
926
926
|
validate: void 0
|
|
927
927
|
}, ...f };
|
|
928
|
-
|
|
929
|
-
validator: (se,
|
|
930
|
-
|
|
928
|
+
V.required && S.push({ required: !0, message: `${V.label}不能为空!`, trigger: "blur" }), V.max && V.min && S.push({
|
|
929
|
+
validator: (se, Y, B) => {
|
|
930
|
+
Y && f.type == "number" && (Y < V.min || Y > V.max) ? B(new Error(`${V.label} 必须在 ${V.min} 和 ${V.max} 之间!`)) : Y && f.type !== "number" && (Y.toString().length < V.min || Y.toString().length > V.max) ? B(new Error(`字符长度必须在 ${V.min} 和 ${V.max} 之间!`)) : B();
|
|
931
931
|
}
|
|
932
|
-
}),
|
|
933
|
-
validator: (se,
|
|
934
|
-
|
|
932
|
+
}), V.max && !V.min && f.type == "number" && S.push({
|
|
933
|
+
validator: (se, Y, B) => {
|
|
934
|
+
Y && Y > V.max ? B(new Error(`${V.label}不能大于${V.max}!`)) : B();
|
|
935
935
|
}
|
|
936
|
-
}),
|
|
937
|
-
validator: (se,
|
|
938
|
-
|
|
936
|
+
}), V.min && !V.max && f.type == "number" && S.push({
|
|
937
|
+
validator: (se, Y, B) => {
|
|
938
|
+
Y && Y < V.min ? B(new Error(`${V.label}不能小于${V.min}!`)) : B();
|
|
939
939
|
}
|
|
940
|
-
}),
|
|
941
|
-
validator: (se,
|
|
940
|
+
}), V.type == "email" && S.push({ type: "email", message: "不是一个正确的邮箱地址!" }), V.type == "url" && S.push({ type: "url", message: "不是一个合正确的URL!" }), V.pattern && S.push({ pattern: V == null ? void 0 : V.pattern, message: (V == null ? void 0 : V.message) || "格式不正确!" }), V.validate && S.push({
|
|
941
|
+
validator: (se, Y, B) => V.validate(se, Y, B)
|
|
942
942
|
});
|
|
943
943
|
}
|
|
944
|
-
return
|
|
944
|
+
return S;
|
|
945
945
|
};
|
|
946
|
-
|
|
946
|
+
ke(() => {
|
|
947
947
|
p();
|
|
948
948
|
});
|
|
949
949
|
const p = () => {
|
|
950
|
-
for (const [f,
|
|
951
|
-
l.value[f].formItem = { ...l.value[f].formItem, ...
|
|
950
|
+
for (const [f, S] of Object.entries($.value))
|
|
951
|
+
l.value[f].formItem = { ...l.value[f].formItem, ...S.formItem }, l.value[f].formItem.style = { ...l.value[f].formItem.style, ...S.formItem.style };
|
|
952
952
|
};
|
|
953
953
|
lt(() => l.value.form.inline, () => p());
|
|
954
|
-
const $ =
|
|
955
|
-
return (f,
|
|
956
|
-
const ie = F("el-form-item"),
|
|
957
|
-
return
|
|
954
|
+
const $ = Ve(() => Object.fromEntries(Object.entries(l.value).filter((f) => f[1].type != "hidden").filter((f) => f[1].editor !== !1).filter((f) => f[1].type !== "control").map((f) => [f[0], f[1]]))), te = Ve(() => Object.fromEntries(Object.entries(l.value).filter((f) => f[1].type != "hidden").filter((f) => f[1].type != "control").map((f) => [f[0], f[1].value])));
|
|
955
|
+
return (f, S) => {
|
|
956
|
+
const ie = F("el-form-item"), V = F("el-col"), se = F("el-button"), Y = F("el-form");
|
|
957
|
+
return C(), I(Y, x({
|
|
958
958
|
ref_key: "gform",
|
|
959
959
|
ref: a,
|
|
960
960
|
model: l.value,
|
|
961
961
|
style: { width: "98%", padding: 0, margin: 0, "box-sizing": "border-box" }
|
|
962
|
-
},
|
|
962
|
+
}, r(ge)(l.value.form, (B) => !["footer", "submit", "reset", "slots", "type", "sort"].includes(B)), { class: "g-form-container" }), {
|
|
963
963
|
default: c(() => [
|
|
964
964
|
g(f.$slots, "default", {}, () => [
|
|
965
|
-
(
|
|
966
|
-
key:
|
|
965
|
+
(C(!0), le(ve, null, P($.value, (B, ae) => (C(), I(V, x({ ref_for: !0 }, { ...l.value.form.cols, ...B.col }, {
|
|
966
|
+
key: ae,
|
|
967
967
|
style: { width: "100%" }
|
|
968
968
|
}), {
|
|
969
969
|
default: c(() => {
|
|
970
970
|
var fe;
|
|
971
971
|
return [
|
|
972
|
-
A(ie,
|
|
972
|
+
A(ie, x({
|
|
973
973
|
label: B.label,
|
|
974
|
-
prop: `${
|
|
974
|
+
prop: `${ae}.value`,
|
|
975
975
|
rules: h(B),
|
|
976
976
|
ref_for: !0
|
|
977
977
|
}, { ...(fe = l.value) == null ? void 0 : fe.formItems, ...B == null ? void 0 : B.formItem }, { style: { width: "100%" } }), {
|
|
978
|
-
label: c((
|
|
979
|
-
g(f.$slots, `f-${
|
|
980
|
-
data:
|
|
978
|
+
label: c((z) => [
|
|
979
|
+
g(f.$slots, `f-${ae}-label`, {
|
|
980
|
+
data: z,
|
|
981
981
|
item: B,
|
|
982
982
|
model: l.value
|
|
983
983
|
}, () => [
|
|
984
|
-
ue(
|
|
984
|
+
ue(ee(B.label), 1)
|
|
985
985
|
])
|
|
986
986
|
]),
|
|
987
987
|
default: c(() => [
|
|
988
|
-
g(f.$slots, "f-" +
|
|
988
|
+
g(f.$slots, "f-" + ae, {
|
|
989
989
|
item: B,
|
|
990
990
|
model: l.value
|
|
991
991
|
}, () => [
|
|
992
992
|
A(Ge, {
|
|
993
|
-
modelValue: l.value[
|
|
994
|
-
"onUpdate:modelValue": (
|
|
993
|
+
modelValue: l.value[ae].value,
|
|
994
|
+
"onUpdate:modelValue": (z) => l.value[ae].value = z,
|
|
995
995
|
item: B == null ? void 0 : B.editor,
|
|
996
|
-
ctrlKey:
|
|
996
|
+
ctrlKey: ae,
|
|
997
997
|
ctrlType: B.type,
|
|
998
998
|
model: l.value,
|
|
999
999
|
class: "g-ctrl-container",
|
|
1000
1000
|
t: "f"
|
|
1001
|
-
},
|
|
1002
|
-
|
|
1001
|
+
}, K({ _: 2 }, [
|
|
1002
|
+
P(f.$slots, (z, U, he) => ({
|
|
1003
1003
|
name: U,
|
|
1004
|
-
fn: c((
|
|
1004
|
+
fn: c((oe) => [
|
|
1005
1005
|
g(f.$slots, U, {
|
|
1006
|
-
data:
|
|
1006
|
+
data: oe,
|
|
1007
1007
|
item: B,
|
|
1008
1008
|
model: l.value
|
|
1009
1009
|
})
|
|
@@ -1019,32 +1019,32 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1019
1019
|
_: 2
|
|
1020
1020
|
}, 1040))), 128)),
|
|
1021
1021
|
l.value.form.footer.hidden ? de("", !0) : g(f.$slots, "f-footer", { key: 0 }, () => {
|
|
1022
|
-
var B,
|
|
1022
|
+
var B, ae, fe, z, U, he;
|
|
1023
1023
|
return [
|
|
1024
|
-
|
|
1025
|
-
style:
|
|
1024
|
+
L("div", {
|
|
1025
|
+
style: je(l.value.form.footer.style)
|
|
1026
1026
|
}, [
|
|
1027
1027
|
g(f.$slots, "f-footer-left"),
|
|
1028
|
-
(fe = (
|
|
1028
|
+
(fe = (ae = (B = l.value) == null ? void 0 : B.form) == null ? void 0 : ae.submit) != null && fe.hidden ? de("", !0) : (C(), I(se, x({
|
|
1029
1029
|
key: 0,
|
|
1030
|
-
onClick:
|
|
1031
|
-
},
|
|
1030
|
+
onClick: S[0] || (S[0] = ot((oe) => l.value.form.submit.click(te.value, l.value), ["stop"]))
|
|
1031
|
+
}, r(ge)(l.value.form.submit, (oe) => !["click"].includes(oe))), {
|
|
1032
1032
|
default: c(() => {
|
|
1033
|
-
var
|
|
1033
|
+
var oe, k, y;
|
|
1034
1034
|
return [
|
|
1035
|
-
ue(
|
|
1035
|
+
ue(ee((y = (k = (oe = l.value) == null ? void 0 : oe.form) == null ? void 0 : k.submit) == null ? void 0 : y.label), 1)
|
|
1036
1036
|
];
|
|
1037
1037
|
}),
|
|
1038
1038
|
_: 1
|
|
1039
1039
|
}, 16)),
|
|
1040
|
-
(
|
|
1040
|
+
(he = (U = (z = l.value) == null ? void 0 : z.form) == null ? void 0 : U.reset) != null && he.hidden ? de("", !0) : (C(), I(se, x({
|
|
1041
1041
|
key: 1,
|
|
1042
|
-
onClick:
|
|
1043
|
-
},
|
|
1042
|
+
onClick: S[1] || (S[1] = (oe) => l.value.form.reset.click(l.value))
|
|
1043
|
+
}, r(ge)(l.value.form.reset, (oe) => !["click"].includes(oe))), {
|
|
1044
1044
|
default: c(() => {
|
|
1045
|
-
var
|
|
1045
|
+
var oe, k, y;
|
|
1046
1046
|
return [
|
|
1047
|
-
ue(
|
|
1047
|
+
ue(ee((y = (k = (oe = l.value) == null ? void 0 : oe.form) == null ? void 0 : k.reset) == null ? void 0 : y.label), 1)
|
|
1048
1048
|
];
|
|
1049
1049
|
}),
|
|
1050
1050
|
_: 1
|
|
@@ -1059,7 +1059,7 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1059
1059
|
}, 16, ["model"]);
|
|
1060
1060
|
};
|
|
1061
1061
|
}
|
|
1062
|
-
}),
|
|
1062
|
+
}), xe = {
|
|
1063
1063
|
__name: "g-query-item",
|
|
1064
1064
|
props: /* @__PURE__ */ we(["more"], {
|
|
1065
1065
|
modelValue: { required: !0 },
|
|
@@ -1069,15 +1069,15 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1069
1069
|
}),
|
|
1070
1070
|
emits: ["update:modelValue", "update:info"],
|
|
1071
1071
|
setup(s) {
|
|
1072
|
-
const u = _e(s, "modelValue"), l = s, e = _e(s, "info"), a = (i) =>
|
|
1072
|
+
const u = _e(s, "modelValue"), l = s, e = _e(s, "info"), a = (i) => Ve(() => Object.fromEntries(Object.entries(u.value).filter((m) => m[1].search && m[1].search.more === i).map((m) => [m[0], m[1]]))).value;
|
|
1073
1073
|
return (i, m) => {
|
|
1074
1074
|
const T = F("el-form-item");
|
|
1075
|
-
return
|
|
1075
|
+
return C(!0), le(ve, null, P(a(l.more), (E, h) => g(i.$slots, `q-${h}`, {
|
|
1076
1076
|
key: h,
|
|
1077
1077
|
item: E,
|
|
1078
1078
|
model: u.value
|
|
1079
1079
|
}, () => [
|
|
1080
|
-
A(T,
|
|
1080
|
+
A(T, x({
|
|
1081
1081
|
label: E.label,
|
|
1082
1082
|
ref_for: !0
|
|
1083
1083
|
}, { ...u.value.queryItems, ...E == null ? void 0 : E.search }), {
|
|
@@ -1096,8 +1096,8 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1096
1096
|
ctrlType: E.type,
|
|
1097
1097
|
model: u.value,
|
|
1098
1098
|
t: "q"
|
|
1099
|
-
},
|
|
1100
|
-
|
|
1099
|
+
}, K({ _: 2 }, [
|
|
1100
|
+
P(Object.keys(i.$slots), (p) => ({
|
|
1101
1101
|
name: p,
|
|
1102
1102
|
fn: c(($) => [
|
|
1103
1103
|
g(i.$slots, p, {
|
|
@@ -1133,7 +1133,7 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1133
1133
|
},
|
|
1134
1134
|
emits: /* @__PURE__ */ we(["query", "reset"], ["update:modelValue"]),
|
|
1135
1135
|
setup(s, { emit: u }) {
|
|
1136
|
-
const l = _e(s, "modelValue"), e = u, a =
|
|
1136
|
+
const l = _e(s, "modelValue"), e = u, a = Re("options"), i = me(!1);
|
|
1137
1137
|
let m = Object.fromEntries(Object.entries(l.value).filter((p) => p[1].search).map(([p, $]) => [p, $.value]));
|
|
1138
1138
|
const T = me(m), E = {
|
|
1139
1139
|
hidden: !1,
|
|
@@ -1142,7 +1142,7 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1142
1142
|
inline: !0,
|
|
1143
1143
|
style: { display: "flex", flex: 1, "flex-wrap": "wrap" },
|
|
1144
1144
|
more: {
|
|
1145
|
-
mode:
|
|
1145
|
+
mode: 1,
|
|
1146
1146
|
hidden: !1,
|
|
1147
1147
|
type: "primary",
|
|
1148
1148
|
label: "更多",
|
|
@@ -1172,11 +1172,11 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1172
1172
|
width: "100%",
|
|
1173
1173
|
display: "flex",
|
|
1174
1174
|
flexWrap: "wrap",
|
|
1175
|
-
justifyContent: "flex-
|
|
1175
|
+
justifyContent: "flex-end"
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
1178
|
};
|
|
1179
|
-
l.value.query =
|
|
1179
|
+
l.value.query = ye(E, a == null ? void 0 : a.query, l.value.query), l.value.query.more.dialog = l.value.query.more.mode == 2 ? ye({
|
|
1180
1180
|
title: "更多查询",
|
|
1181
1181
|
showClose: !1,
|
|
1182
1182
|
size: "30%",
|
|
@@ -1185,7 +1185,7 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1185
1185
|
hidden: !1,
|
|
1186
1186
|
style: { textAlign: "center" }
|
|
1187
1187
|
}
|
|
1188
|
-
}, l.value.query.more.dialog) : l.value.query.more.mode == 3 ?
|
|
1188
|
+
}, l.value.query.more.dialog) : l.value.query.more.mode == 3 ? ye({
|
|
1189
1189
|
placement: "top-start",
|
|
1190
1190
|
width: 1200,
|
|
1191
1191
|
trigger: "click"
|
|
@@ -1197,82 +1197,82 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1197
1197
|
width: "280px"
|
|
1198
1198
|
}
|
|
1199
1199
|
};
|
|
1200
|
-
return l.value.queryItems =
|
|
1201
|
-
const
|
|
1202
|
-
return
|
|
1203
|
-
A(
|
|
1200
|
+
return l.value.queryItems = ye(h, a == null ? void 0 : a.queryItems, l.value.queryItems), (p, $) => {
|
|
1201
|
+
const te = F("el-form"), w = F("el-button"), d = F("el-popover"), X = F("el-form-item"), ce = F("el-drawer");
|
|
1202
|
+
return C(), le("div", bt, [
|
|
1203
|
+
A(te, Ce(Te(r(ge)(l.value.query, (f) => !["query", "more", "reset"].includes(f)))), {
|
|
1204
1204
|
default: c(() => [
|
|
1205
|
-
A(
|
|
1205
|
+
A(xe, {
|
|
1206
1206
|
modelValue: l.value,
|
|
1207
1207
|
"onUpdate:modelValue": $[0] || ($[0] = (f) => l.value = f),
|
|
1208
1208
|
info: T.value,
|
|
1209
1209
|
"onUpdate:info": $[1] || ($[1] = (f) => T.value = f),
|
|
1210
1210
|
more: void 0
|
|
1211
|
-
},
|
|
1212
|
-
|
|
1213
|
-
name:
|
|
1214
|
-
fn: c((
|
|
1215
|
-
g(p.$slots,
|
|
1211
|
+
}, K({ _: 2 }, [
|
|
1212
|
+
P(p.$slots, (f, S, ie) => ({
|
|
1213
|
+
name: S,
|
|
1214
|
+
fn: c((V) => [
|
|
1215
|
+
g(p.$slots, S, { model: l.value }, void 0, !0)
|
|
1216
1216
|
])
|
|
1217
1217
|
}))
|
|
1218
1218
|
]), 1032, ["modelValue", "info"])
|
|
1219
1219
|
]),
|
|
1220
1220
|
_: 3
|
|
1221
1221
|
}, 16),
|
|
1222
|
-
A(
|
|
1222
|
+
A(te, { style: { display: "flex" } }, {
|
|
1223
1223
|
default: c(() => [
|
|
1224
|
-
A(
|
|
1224
|
+
A(X, { style: { width: "100%" } }, {
|
|
1225
1225
|
default: c(() => [
|
|
1226
|
-
|
|
1227
|
-
style:
|
|
1226
|
+
L("div", {
|
|
1227
|
+
style: je(l.value.query.btns.style)
|
|
1228
1228
|
}, [
|
|
1229
|
-
A(w,
|
|
1229
|
+
A(w, x(l.value.query.query, {
|
|
1230
1230
|
onClick: $[2] || ($[2] = (f) => l.value.query.query.click())
|
|
1231
1231
|
}), {
|
|
1232
1232
|
default: c(() => [
|
|
1233
|
-
ue(
|
|
1233
|
+
ue(ee(l.value.query.query.label), 1)
|
|
1234
1234
|
]),
|
|
1235
1235
|
_: 1
|
|
1236
1236
|
}, 16),
|
|
1237
|
-
A(w,
|
|
1237
|
+
A(w, x(l.value.query.reset, {
|
|
1238
1238
|
onClick: $[3] || ($[3] = (f) => l.value.query.reset.click())
|
|
1239
1239
|
}), {
|
|
1240
1240
|
default: c(() => [
|
|
1241
|
-
ue(
|
|
1241
|
+
ue(ee(l.value.query.reset.label), 1)
|
|
1242
1242
|
]),
|
|
1243
1243
|
_: 1
|
|
1244
1244
|
}, 16),
|
|
1245
|
-
l.value.query.more.mode !== 3 ? (
|
|
1245
|
+
l.value.query.more.hidden != !0 && l.value.query.more.mode !== 3 ? (C(), I(w, x({ key: 0 }, l.value.query.more, {
|
|
1246
1246
|
onClick: $[4] || ($[4] = (f) => l.value.query.more.click())
|
|
1247
1247
|
}), {
|
|
1248
1248
|
default: c(() => [
|
|
1249
|
-
ue(
|
|
1249
|
+
ue(ee(l.value.query.more.label), 1)
|
|
1250
1250
|
]),
|
|
1251
1251
|
_: 1
|
|
1252
1252
|
}, 16)) : de("", !0),
|
|
1253
|
-
l.value.query.more.mode == 3 ? (
|
|
1253
|
+
l.value.query.more.mode == 3 && l.value.query.more.hidden !== !0 ? (C(), I(d, Ce(x({ key: 1 }, l.value.query.more.dialog)), {
|
|
1254
1254
|
reference: c(() => [
|
|
1255
1255
|
A(w, Ce(Te(l.value.query.more)), {
|
|
1256
1256
|
default: c(() => [
|
|
1257
|
-
ue(
|
|
1257
|
+
ue(ee(l.value.query.more.label), 1)
|
|
1258
1258
|
]),
|
|
1259
1259
|
_: 1
|
|
1260
1260
|
}, 16)
|
|
1261
1261
|
]),
|
|
1262
1262
|
default: c(() => [
|
|
1263
|
-
A(
|
|
1263
|
+
A(te, x({ style: { padding: "20px" } }, r(ge)(l.value.query, (f) => !["query", "more", "reset"].includes(f))), {
|
|
1264
1264
|
default: c(() => [
|
|
1265
|
-
A(
|
|
1265
|
+
A(xe, {
|
|
1266
1266
|
modelValue: l.value,
|
|
1267
1267
|
"onUpdate:modelValue": $[5] || ($[5] = (f) => l.value = f),
|
|
1268
1268
|
info: T.value,
|
|
1269
1269
|
"onUpdate:info": $[6] || ($[6] = (f) => T.value = f),
|
|
1270
1270
|
more: !0
|
|
1271
|
-
},
|
|
1272
|
-
|
|
1273
|
-
name:
|
|
1274
|
-
fn: c((
|
|
1275
|
-
g(p.$slots,
|
|
1271
|
+
}, K({ _: 2 }, [
|
|
1272
|
+
P(p.$slots, (f, S, ie) => ({
|
|
1273
|
+
name: S,
|
|
1274
|
+
fn: c((V) => [
|
|
1275
|
+
g(p.$slots, S, { model: l.value }, void 0, !0)
|
|
1276
1276
|
])
|
|
1277
1277
|
}))
|
|
1278
1278
|
]), 1032, ["modelValue", "info"])
|
|
@@ -1295,21 +1295,21 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1295
1295
|
name: "nested"
|
|
1296
1296
|
}, {
|
|
1297
1297
|
default: c(() => [
|
|
1298
|
-
i.value && !l.value.query.more.hidden && l.value.query.more.mode == 1 ? (
|
|
1299
|
-
|
|
1300
|
-
l.value.query.more.mode == 1 ? Oe((
|
|
1298
|
+
i.value && !l.value.query.more.hidden && l.value.query.more.mode == 1 ? (C(), le("div", gt, [
|
|
1299
|
+
L("div", $t, [
|
|
1300
|
+
l.value.query.more.mode == 1 ? Oe((C(), I(te, Ce(x({ key: 0 }, r(ge)(l.value.query, (f) => !["query", "more", "reset"].includes(f)))), {
|
|
1301
1301
|
default: c(() => [
|
|
1302
|
-
A(
|
|
1302
|
+
A(xe, {
|
|
1303
1303
|
modelValue: l.value,
|
|
1304
1304
|
"onUpdate:modelValue": $[7] || ($[7] = (f) => l.value = f),
|
|
1305
1305
|
info: T.value,
|
|
1306
1306
|
"onUpdate:info": $[8] || ($[8] = (f) => T.value = f),
|
|
1307
1307
|
more: !0
|
|
1308
|
-
},
|
|
1309
|
-
|
|
1310
|
-
name:
|
|
1311
|
-
fn: c((
|
|
1312
|
-
g(p.$slots,
|
|
1308
|
+
}, K({ _: 2 }, [
|
|
1309
|
+
P(p.$slots, (f, S, ie) => ({
|
|
1310
|
+
name: S,
|
|
1311
|
+
fn: c((V) => [
|
|
1312
|
+
g(p.$slots, S, { model: l.value }, void 0, !0)
|
|
1313
1313
|
])
|
|
1314
1314
|
}))
|
|
1315
1315
|
]), 1032, ["modelValue", "info"])
|
|
@@ -1323,27 +1323,27 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1323
1323
|
]),
|
|
1324
1324
|
_: 3
|
|
1325
1325
|
}),
|
|
1326
|
-
i.value && !l.value.query.more.hidden && l.value.query.more.mode == 2 ? (
|
|
1326
|
+
i.value && !l.value.query.more.hidden && l.value.query.more.mode == 2 ? (C(), I(ce, x({
|
|
1327
1327
|
key: 0,
|
|
1328
1328
|
modelValue: i.value,
|
|
1329
1329
|
"onUpdate:modelValue": $[13] || ($[13] = (f) => i.value = f),
|
|
1330
1330
|
title: "更多查询",
|
|
1331
1331
|
"show-close": !1
|
|
1332
|
-
}, l.value.query.more.dialog),
|
|
1332
|
+
}, l.value.query.more.dialog), K({
|
|
1333
1333
|
default: c(() => [
|
|
1334
|
-
A(
|
|
1334
|
+
A(te, x(r(ge)(l.value.query, (f) => !["query", "more", "reset"].includes(f)), { style: { width: "98%" } }), {
|
|
1335
1335
|
default: c(() => [
|
|
1336
|
-
A(
|
|
1336
|
+
A(xe, {
|
|
1337
1337
|
modelValue: l.value,
|
|
1338
1338
|
"onUpdate:modelValue": $[9] || ($[9] = (f) => l.value = f),
|
|
1339
1339
|
info: T.value,
|
|
1340
1340
|
"onUpdate:info": $[10] || ($[10] = (f) => T.value = f),
|
|
1341
1341
|
more: !0
|
|
1342
|
-
},
|
|
1343
|
-
|
|
1344
|
-
name:
|
|
1345
|
-
fn: c((
|
|
1346
|
-
g(p.$slots,
|
|
1342
|
+
}, K({ _: 2 }, [
|
|
1343
|
+
P(p.$slots, (f, S, ie) => ({
|
|
1344
|
+
name: S,
|
|
1345
|
+
fn: c((V) => [
|
|
1346
|
+
g(p.$slots, S, { model: l.value }, void 0, !0)
|
|
1347
1347
|
])
|
|
1348
1348
|
}))
|
|
1349
1349
|
]), 1032, ["modelValue", "info"])
|
|
@@ -1356,20 +1356,20 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1356
1356
|
l.value.query.more.dialog.footer.hidden ? void 0 : {
|
|
1357
1357
|
name: "footer",
|
|
1358
1358
|
fn: c(() => [
|
|
1359
|
-
|
|
1360
|
-
A(w,
|
|
1359
|
+
L("div", Ce(Te(l.value.query.more.dialog.footer)), [
|
|
1360
|
+
A(w, x(l.value.query.query, {
|
|
1361
1361
|
onClick: $[11] || ($[11] = (f) => l.value.query.query.click())
|
|
1362
1362
|
}), {
|
|
1363
1363
|
default: c(() => [
|
|
1364
|
-
ue(
|
|
1364
|
+
ue(ee(l.value.query.query.label), 1)
|
|
1365
1365
|
]),
|
|
1366
1366
|
_: 1
|
|
1367
1367
|
}, 16),
|
|
1368
|
-
A(w,
|
|
1368
|
+
A(w, x(l.value.query.reset, {
|
|
1369
1369
|
onClick: $[12] || ($[12] = (f) => l.value.query.reset.click())
|
|
1370
1370
|
}), {
|
|
1371
1371
|
default: c(() => [
|
|
1372
|
-
ue(
|
|
1372
|
+
ue(ee(l.value.query.reset.label), 1)
|
|
1373
1373
|
]),
|
|
1374
1374
|
_: 1
|
|
1375
1375
|
}, 16)
|
|
@@ -1381,10 +1381,10 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1381
1381
|
]);
|
|
1382
1382
|
};
|
|
1383
1383
|
}
|
|
1384
|
-
}, wt = /* @__PURE__ */ Fe(Et, [["__scopeId", "data-v-
|
|
1384
|
+
}, wt = /* @__PURE__ */ Fe(Et, [["__scopeId", "data-v-a2e3c7de"]]), _t = { style: { padding: "0", margin: "0", "box-sizing": "border-box" } }, Ct = { style: { padding: "10px", "box-sizing": "border-box" } }, Dt = { style: { margin: "10px" } }, kt = {
|
|
1385
1385
|
style: { display: "flex", "flex-wrap": "wrap" },
|
|
1386
1386
|
id: "excelSortEl"
|
|
1387
|
-
},
|
|
1387
|
+
}, xt = ["textContent"], Vt = { style: { width: "100%", display: "flex", padding: "10px", "box-sizing": "border-box", "justify-content": "center", "border-top": "1px solid #dcdfe6" } }, Ft = {
|
|
1388
1388
|
__name: "check-excel-item",
|
|
1389
1389
|
props: {
|
|
1390
1390
|
items: Array,
|
|
@@ -1414,8 +1414,8 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1414
1414
|
}
|
|
1415
1415
|
});
|
|
1416
1416
|
};
|
|
1417
|
-
return
|
|
1418
|
-
const E = new
|
|
1417
|
+
return ke(() => {
|
|
1418
|
+
const E = new Ne(document.getElementById("excelSortEl"), {
|
|
1419
1419
|
animation: 150,
|
|
1420
1420
|
onEnd: () => {
|
|
1421
1421
|
let p = E.toArray();
|
|
@@ -1426,16 +1426,16 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1426
1426
|
h && h.destroy();
|
|
1427
1427
|
});
|
|
1428
1428
|
}), (E, h) => {
|
|
1429
|
-
const p = F("el-divider"), $ = F("el-alert"),
|
|
1430
|
-
return
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1429
|
+
const p = F("el-divider"), $ = F("el-alert"), te = F("el-checkbox"), w = F("el-button");
|
|
1430
|
+
return C(), le("div", _t, [
|
|
1431
|
+
L("div", Ct, [
|
|
1432
|
+
L("div", Dt, [
|
|
1433
|
+
L("a", {
|
|
1434
1434
|
onClick: i,
|
|
1435
1435
|
style: { cursor: "pointer" }
|
|
1436
1436
|
}, "全选"),
|
|
1437
1437
|
A(p, { direction: "vertical" }),
|
|
1438
|
-
|
|
1438
|
+
L("a", {
|
|
1439
1439
|
onClick: m,
|
|
1440
1440
|
style: { cursor: "pointer" }
|
|
1441
1441
|
}, "全不选")
|
|
@@ -1447,35 +1447,35 @@ const Me = /* @__PURE__ */ mt(pt), vt = {
|
|
|
1447
1447
|
closable: !1,
|
|
1448
1448
|
style: { "margin-bottom": "10px" }
|
|
1449
1449
|
}),
|
|
1450
|
-
h[0] || (h[0] =
|
|
1451
|
-
|
|
1452
|
-
(
|
|
1450
|
+
h[0] || (h[0] = L("div", { style: { margin: "1px 0" } }, null, -1)),
|
|
1451
|
+
L("div", kt, [
|
|
1452
|
+
(C(!0), le(ve, null, P(a.value, (d) => (C(), I(te, {
|
|
1453
1453
|
class: "check-box-hover",
|
|
1454
1454
|
style: { width: "120px !important", height: "30px !important", border: "1px solid #dfe6ec", margin: "5px !important", "border-radius": "3px !important", "padding-left": "5px !important", display: "flex !important", "align-items": "center !important" },
|
|
1455
1455
|
"data-id": d.key,
|
|
1456
1456
|
modelValue: d.value,
|
|
1457
|
-
"onUpdate:modelValue": (
|
|
1457
|
+
"onUpdate:modelValue": (X) => d.value = X,
|
|
1458
1458
|
key: d.key,
|
|
1459
1459
|
title: d.label
|
|
1460
1460
|
}, {
|
|
1461
1461
|
default: c(() => [
|
|
1462
|
-
|
|
1463
|
-
textContent:
|
|
1462
|
+
L("span", {
|
|
1463
|
+
textContent: ee(d.label),
|
|
1464
1464
|
style: { display: "block", "text-overflow": "ellipsis", width: "95px", overflow: "hidden" }
|
|
1465
|
-
}, null, 8,
|
|
1465
|
+
}, null, 8, xt)
|
|
1466
1466
|
]),
|
|
1467
1467
|
_: 2
|
|
1468
1468
|
}, 1032, ["data-id", "modelValue", "onUpdate:modelValue", "title"]))), 128))
|
|
1469
1469
|
])
|
|
1470
1470
|
]),
|
|
1471
|
-
|
|
1471
|
+
L("div", Vt, [
|
|
1472
1472
|
A(w, {
|
|
1473
1473
|
type: "primary",
|
|
1474
1474
|
onClick: T,
|
|
1475
1475
|
disabled: a.value.filter((d) => d.value).length < 1
|
|
1476
1476
|
}, {
|
|
1477
1477
|
default: c(() => [
|
|
1478
|
-
ue(
|
|
1478
|
+
ue(ee(l.commitText), 1)
|
|
1479
1479
|
]),
|
|
1480
1480
|
_: 1
|
|
1481
1481
|
}, 8, ["disabled"])
|
|
@@ -1511,10 +1511,10 @@ async function Ot(s, u) {
|
|
|
1511
1511
|
async function At(s) {
|
|
1512
1512
|
return await Ee.tableList.where({ name: s }).first();
|
|
1513
1513
|
}
|
|
1514
|
-
async function
|
|
1514
|
+
async function St(s) {
|
|
1515
1515
|
return typeof s == "string" && (s = { name: s }), await Ee.tableList.add(s), "add success";
|
|
1516
1516
|
}
|
|
1517
|
-
const
|
|
1517
|
+
const qt = {
|
|
1518
1518
|
style: { margin: "10px" },
|
|
1519
1519
|
class: "allcheck"
|
|
1520
1520
|
}, Bt = {
|
|
@@ -1547,20 +1547,20 @@ const St = {
|
|
|
1547
1547
|
}, i = () => {
|
|
1548
1548
|
const h = document.getElementById("cols");
|
|
1549
1549
|
if (h) {
|
|
1550
|
-
let p =
|
|
1550
|
+
let p = Ne.create(h, {
|
|
1551
1551
|
animation: 150,
|
|
1552
1552
|
filter: ".filtered",
|
|
1553
1553
|
//
|
|
1554
1554
|
sort: !0,
|
|
1555
1555
|
onEnd: () => {
|
|
1556
|
-
p.toArray().forEach(async (
|
|
1557
|
-
e.value[
|
|
1558
|
-
let d = e.value[
|
|
1556
|
+
p.toArray().forEach(async (te, w) => {
|
|
1557
|
+
e.value[te].sort = w;
|
|
1558
|
+
let d = e.value[te].width || "auto";
|
|
1559
1559
|
try {
|
|
1560
|
-
const
|
|
1561
|
-
console.log(
|
|
1562
|
-
} catch (
|
|
1563
|
-
console.error("列排序和宽度保存信息时出错:",
|
|
1560
|
+
const X = await De(e.value.table.user, u.name, te, { sort: w, width: d });
|
|
1561
|
+
console.log(X);
|
|
1562
|
+
} catch (X) {
|
|
1563
|
+
console.error("列排序和宽度保存信息时出错:", X), be({
|
|
1564
1564
|
type: "error",
|
|
1565
1565
|
message: "列排序和宽度保存信息失败!"
|
|
1566
1566
|
});
|
|
@@ -1620,7 +1620,7 @@ const St = {
|
|
|
1620
1620
|
});
|
|
1621
1621
|
});
|
|
1622
1622
|
};
|
|
1623
|
-
return
|
|
1623
|
+
return ke(async () => {
|
|
1624
1624
|
l.value = Object.entries(e.value).filter(([, h]) => h.visible !== !1).filter(([, h]) => h.type != "hidden").map(([h, p]) => ({
|
|
1625
1625
|
label: p.label,
|
|
1626
1626
|
value: h,
|
|
@@ -1630,30 +1630,30 @@ const St = {
|
|
|
1630
1630
|
width: p.width || "auto"
|
|
1631
1631
|
})).sort((h, p) => h.sort - p.sort), i();
|
|
1632
1632
|
}), (h, p) => {
|
|
1633
|
-
const $ = F("el-divider"),
|
|
1634
|
-
return
|
|
1635
|
-
|
|
1636
|
-
|
|
1633
|
+
const $ = F("el-divider"), te = F("el-alert"), w = F("el-checkbox");
|
|
1634
|
+
return C(), le("div", null, [
|
|
1635
|
+
L("div", qt, [
|
|
1636
|
+
L("a", { onClick: m }, "全选"),
|
|
1637
1637
|
A($, { direction: "vertical" }),
|
|
1638
|
-
|
|
1638
|
+
L("a", { onClick: T }, "全不选"),
|
|
1639
1639
|
A($, { direction: "vertical" }),
|
|
1640
|
-
|
|
1640
|
+
L("a", { onClick: E }, "复位")
|
|
1641
1641
|
]),
|
|
1642
|
-
A(
|
|
1642
|
+
A(te, {
|
|
1643
1643
|
title: "拖动表格列标题可以改变表格列显示顺序 !",
|
|
1644
1644
|
type: "warning",
|
|
1645
1645
|
"show-icon": "",
|
|
1646
1646
|
closable: !1,
|
|
1647
1647
|
style: { "margin-bottom": "10px" }
|
|
1648
1648
|
}),
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
(
|
|
1649
|
+
L("div", null, [
|
|
1650
|
+
L("div", Bt, [
|
|
1651
|
+
(C(!0), le(ve, null, P(l.value, (d) => (C(), I(w, {
|
|
1652
1652
|
modelValue: d.showCol,
|
|
1653
|
-
"onUpdate:modelValue": (
|
|
1653
|
+
"onUpdate:modelValue": (X) => d.showCol = X,
|
|
1654
1654
|
"data-id": d.value,
|
|
1655
|
-
class:
|
|
1656
|
-
onChange: (
|
|
1655
|
+
class: We(["check-box-hover", d.value == "control" ? "filtered" : ""]),
|
|
1656
|
+
onChange: (X) => a(X, d.value),
|
|
1657
1657
|
style: { width: "125px !important", height: "30px !important", border: "1px solid #dfe6ec", margin: "5px !important", "border-radius": "2px !important", "padding-left": "5px !important", display: "flex !important", "align-items": "center !important" },
|
|
1658
1658
|
value: d.value,
|
|
1659
1659
|
title: d.label,
|
|
@@ -1661,8 +1661,8 @@ const St = {
|
|
|
1661
1661
|
key: d.value
|
|
1662
1662
|
}, {
|
|
1663
1663
|
default: c(() => [
|
|
1664
|
-
|
|
1665
|
-
textContent:
|
|
1664
|
+
L("span", {
|
|
1665
|
+
textContent: ee(d.label),
|
|
1666
1666
|
style: { display: "block", "text-overflow": "ellipsis", width: "95px", overflow: "hidden" }
|
|
1667
1667
|
}, null, 8, Ut)
|
|
1668
1668
|
]),
|
|
@@ -1673,10 +1673,10 @@ const St = {
|
|
|
1673
1673
|
]);
|
|
1674
1674
|
};
|
|
1675
1675
|
}
|
|
1676
|
-
},
|
|
1676
|
+
}, Rt = /* @__PURE__ */ Fe(It, [["__scopeId", "data-v-fe875b13"]]), jt = { class: "table-query-container" }, Lt = { class: "btns" }, Pt = { class: "btns" }, zt = ["innerHTML"], Ht = ["src"], Wt = { style: { display: "flex", "margin-top": "-2px" } }, Nt = { style: { display: "flex", flex: "1" } }, Yt = {
|
|
1677
1677
|
style: { display: "flex", "justify-content": "center", width: "100%", height: "100%" },
|
|
1678
1678
|
id: "table-form"
|
|
1679
|
-
}, Gt = { style: { display: "flex" } },
|
|
1679
|
+
}, Gt = { style: { display: "flex" } }, Xt = { style: { display: "flex", flex: "1" } }, Qt = /* @__PURE__ */ Object.assign({
|
|
1680
1680
|
name: "g-table",
|
|
1681
1681
|
inheritAttrs: !1
|
|
1682
1682
|
}, {
|
|
@@ -1690,8 +1690,8 @@ const St = {
|
|
|
1690
1690
|
}),
|
|
1691
1691
|
emits: /* @__PURE__ */ we(["load", "open", "delete", "submit", "reset", "download"], ["update:modelValue"]),
|
|
1692
1692
|
setup(s, { emit: u }) {
|
|
1693
|
-
var
|
|
1694
|
-
const l = u, e = _e(s, "modelValue"), a =
|
|
1693
|
+
var D, b, M, O, H, G, Q;
|
|
1694
|
+
const l = u, e = _e(s, "modelValue"), a = Re("options"), i = me({}), m = me(!1), T = ["type", "index", "label", "column-key", "prop", "width", "min-width", "fixed", "render-header", "sortable", "sort-method", "sort-by", "sort-orders", "resizable", "formatter", "show-overflow-tooltip", "align", "header-align", "class-name", "label-class-name", "selectable", "reserve-selection", "filters", "filter-placement", "filter-class-name", "filter-multiple", "filter-method", "filtered-value"], E = me(void 0), h = me([]), p = s, $ = {
|
|
1695
1695
|
data: [],
|
|
1696
1696
|
border: !0,
|
|
1697
1697
|
stripe: !0,
|
|
@@ -1699,29 +1699,29 @@ const St = {
|
|
|
1699
1699
|
fit: !1,
|
|
1700
1700
|
type: "hidden",
|
|
1701
1701
|
load: () => {
|
|
1702
|
-
let { currentPage:
|
|
1702
|
+
let { currentPage: o, pageSize: t } = e.value.table.page;
|
|
1703
1703
|
try {
|
|
1704
|
-
l("load", { currentPage:
|
|
1704
|
+
l("load", { currentPage: o, pageSize: t, ...i.value }, (n, _) => {
|
|
1705
1705
|
if (!Array.isArray(n)) {
|
|
1706
1706
|
console.error("从 load 事件回调中接收到的数据不是数组格式。"), be.error("数据加载失败,请检查数据格式。");
|
|
1707
1707
|
return;
|
|
1708
1708
|
}
|
|
1709
|
-
if (typeof
|
|
1709
|
+
if (typeof _ != "number") {
|
|
1710
1710
|
console.error("从 load 事件回调中接收到的 total 不是数字格式。"), be.error("数据加载失败,请检查数据格式。");
|
|
1711
1711
|
return;
|
|
1712
1712
|
}
|
|
1713
|
-
e.value.table.data = n, e.value.table.page.total =
|
|
1713
|
+
e.value.table.data = n, e.value.table.page.total = _, v();
|
|
1714
1714
|
});
|
|
1715
1715
|
} catch (n) {
|
|
1716
1716
|
console.error("触发 load 事件时出现错误:", n), be.error("数据加载时出现错误,请稍后重试。");
|
|
1717
1717
|
}
|
|
1718
1718
|
},
|
|
1719
|
-
onHeaderDragend: (
|
|
1720
|
-
var
|
|
1721
|
-
console.log(
|
|
1719
|
+
onHeaderDragend: (o, t, n) => {
|
|
1720
|
+
var _;
|
|
1721
|
+
console.log(o, t, n), De((_ = e.value.table) == null ? void 0 : _.user, p.name, n.property, { width: o });
|
|
1722
1722
|
},
|
|
1723
|
-
onRowDblclick: (
|
|
1724
|
-
e.value.table.dblclickType == "edit" ? B(
|
|
1723
|
+
onRowDblclick: (o, t, n) => {
|
|
1724
|
+
e.value.table.dblclickType == "edit" ? B(o, t, n, e) : e.value.table.dblclickType == "view" && ae(o, t, n, e);
|
|
1725
1725
|
},
|
|
1726
1726
|
style: { "min-height": "100px" },
|
|
1727
1727
|
page: {
|
|
@@ -1739,18 +1739,18 @@ const St = {
|
|
|
1739
1739
|
},
|
|
1740
1740
|
dblclickType: "edit"
|
|
1741
1741
|
};
|
|
1742
|
-
e.value.table =
|
|
1742
|
+
e.value.table = ye(
|
|
1743
1743
|
$,
|
|
1744
1744
|
a == null ? void 0 : a.table,
|
|
1745
1745
|
e.value.table
|
|
1746
1746
|
);
|
|
1747
|
-
const
|
|
1747
|
+
const te = {
|
|
1748
1748
|
type: "control",
|
|
1749
1749
|
label: "操作",
|
|
1750
1750
|
edit: !1,
|
|
1751
1751
|
width: 250,
|
|
1752
1752
|
fixed: "right",
|
|
1753
|
-
style: { ...(b = (
|
|
1753
|
+
style: { ...(b = (D = e.value) == null ? void 0 : D.control) == null ? void 0 : b.style },
|
|
1754
1754
|
add: {
|
|
1755
1755
|
label: "新增",
|
|
1756
1756
|
text: !1,
|
|
@@ -1766,20 +1766,20 @@ const St = {
|
|
|
1766
1766
|
text: !0,
|
|
1767
1767
|
type: "success",
|
|
1768
1768
|
mode: "dialog",
|
|
1769
|
-
auth: (
|
|
1769
|
+
auth: (o, t, n) => !1
|
|
1770
1770
|
},
|
|
1771
1771
|
edit: {
|
|
1772
1772
|
label: "编辑",
|
|
1773
1773
|
text: !0,
|
|
1774
1774
|
type: "primary",
|
|
1775
1775
|
mode: "dialog",
|
|
1776
|
-
auth: (
|
|
1776
|
+
auth: (o, t, n) => !0
|
|
1777
1777
|
},
|
|
1778
1778
|
delete: {
|
|
1779
1779
|
text: !0,
|
|
1780
1780
|
label: "删除",
|
|
1781
1781
|
type: "danger",
|
|
1782
|
-
auth: (
|
|
1782
|
+
auth: (o, t, n) => !0,
|
|
1783
1783
|
dialog: {
|
|
1784
1784
|
message: "此操作将永久删除该文件, 是否继续?",
|
|
1785
1785
|
title: "提示",
|
|
@@ -1808,8 +1808,8 @@ const St = {
|
|
|
1808
1808
|
auth: () => !0
|
|
1809
1809
|
}
|
|
1810
1810
|
};
|
|
1811
|
-
e.value.control =
|
|
1812
|
-
|
|
1811
|
+
e.value.control = ye(
|
|
1812
|
+
te,
|
|
1813
1813
|
a == null ? void 0 : a.control,
|
|
1814
1814
|
(M = e.value) == null ? void 0 : M.control
|
|
1815
1815
|
);
|
|
@@ -1817,9 +1817,9 @@ const St = {
|
|
|
1817
1817
|
type: "hidden",
|
|
1818
1818
|
minWidth: 120,
|
|
1819
1819
|
align: "center",
|
|
1820
|
-
formatter: (
|
|
1820
|
+
formatter: (o, t, n, _) => n
|
|
1821
1821
|
};
|
|
1822
|
-
e.value.tableColumns =
|
|
1822
|
+
e.value.tableColumns = ye(
|
|
1823
1823
|
w,
|
|
1824
1824
|
a == null ? void 0 : a.tableColumns,
|
|
1825
1825
|
(O = e.value) == null ? void 0 : O.tableColumns
|
|
@@ -1829,22 +1829,22 @@ const St = {
|
|
|
1829
1829
|
disabled: void 0,
|
|
1830
1830
|
footer: { hidden: !1 }
|
|
1831
1831
|
};
|
|
1832
|
-
e.value.form =
|
|
1832
|
+
e.value.form = ye(
|
|
1833
1833
|
d,
|
|
1834
1834
|
a == null ? void 0 : a.form,
|
|
1835
|
-
(
|
|
1835
|
+
(H = e.value) == null ? void 0 : H.form
|
|
1836
1836
|
);
|
|
1837
|
-
const
|
|
1837
|
+
const X = {
|
|
1838
1838
|
type: "hidden",
|
|
1839
1839
|
labelPosition: "right",
|
|
1840
1840
|
style: {
|
|
1841
1841
|
width: "100%"
|
|
1842
1842
|
}
|
|
1843
1843
|
};
|
|
1844
|
-
e.value.formItems =
|
|
1845
|
-
|
|
1844
|
+
e.value.formItems = ye(
|
|
1845
|
+
X,
|
|
1846
1846
|
a == null ? void 0 : a.formItems,
|
|
1847
|
-
(
|
|
1847
|
+
(G = e == null ? void 0 : e.value) == null ? void 0 : G.formItems
|
|
1848
1848
|
);
|
|
1849
1849
|
const ce = {
|
|
1850
1850
|
title: "编辑",
|
|
@@ -1854,125 +1854,139 @@ const St = {
|
|
|
1854
1854
|
size: 700,
|
|
1855
1855
|
fullScreen: !1
|
|
1856
1856
|
};
|
|
1857
|
-
e.value.dialog =
|
|
1857
|
+
e.value.dialog = ye(
|
|
1858
1858
|
ce,
|
|
1859
1859
|
a == null ? void 0 : a.dialog,
|
|
1860
1860
|
(Q = e.value) == null ? void 0 : Q.dialog
|
|
1861
1861
|
);
|
|
1862
|
-
const f = Object.fromEntries(Object.entries(ge(e.value, (
|
|
1862
|
+
const f = Object.fromEntries(Object.entries(ge(e.value, (o, t) => t.type != "control" && t.editor !== !1 && t.type != "hidden")).map(([o, t]) => [o, t.value])), S = (o, t) => {
|
|
1863
1863
|
let n = t;
|
|
1864
|
-
if (
|
|
1865
|
-
const
|
|
1864
|
+
if (o.decimals && !isNaN(t) && (typeof o.decimals == "number" ? n = parseFloat(n).toFixed(o.decimals) : typeof o.decimals == "object" && o.decimals.num && (o.decimals.pad ? n = parseFloat(n).toFixed(o.decimals.num) : n = parseFloat(parseFloat(n).toFixed(o.decimals.num)).toString())), ["date", "datetime", "time", "time-select"].includes(o.type) && Me(t).isValid()) {
|
|
1865
|
+
const R = {
|
|
1866
1866
|
date: "YYYY-MM-DD",
|
|
1867
1867
|
datetime: "YYYY-MM-DD HH:mm:ss",
|
|
1868
1868
|
time: "HH:mm:ss"
|
|
1869
1869
|
};
|
|
1870
|
-
n =
|
|
1870
|
+
n = o.dateFormat ? Me(n).format(o.dateFormat) : Me(n).format(R[o.type]);
|
|
1871
1871
|
}
|
|
1872
|
-
return
|
|
1873
|
-
}, ie = (
|
|
1874
|
-
i.value =
|
|
1875
|
-
},
|
|
1876
|
-
i.value =
|
|
1877
|
-
}, se = (
|
|
1872
|
+
return o.type === "money" && (o.align = o.align || "right", o.width = o.width || 130, n = `<span title="${Ie(parseFloat(n))}">${tl(parseFloat(n))}</span>`), o.prefix && n && (n = `<span>${o.prefix}${n}</span>`), o.suffix && n && (n = `${n}<span>${o.suffix}</span>`), n;
|
|
1873
|
+
}, ie = (o) => {
|
|
1874
|
+
i.value = o.value;
|
|
1875
|
+
}, V = (o) => {
|
|
1876
|
+
i.value = o, e.value.table.load();
|
|
1877
|
+
}, se = (o) => {
|
|
1878
1878
|
var t;
|
|
1879
|
-
E.value = "add", (t = e.value.control.add) != null && t.click ? e.value.control.add.click(
|
|
1879
|
+
E.value = "add", (t = e.value.control.add) != null && t.click ? e.value.control.add.click(o) : (e.value.form.disabled = !1, e.value.dialog.mode = e.value.control.add.mode, e.value.dialog.title = e.value.control.add.label, Object.keys(f).forEach((n) => {
|
|
1880
1880
|
e.value[n] && (e.value[n].value = f[n]);
|
|
1881
|
-
}), m.value = !0, l("open",
|
|
1882
|
-
},
|
|
1883
|
-
var
|
|
1884
|
-
if ((
|
|
1885
|
-
e.value.control.delete.click(
|
|
1881
|
+
}), m.value = !0, l("open", o, "add"));
|
|
1882
|
+
}, Y = (o, t, n, _) => {
|
|
1883
|
+
var R;
|
|
1884
|
+
if ((R = e.value.control.delete) != null && R.click)
|
|
1885
|
+
e.value.control.delete.click(o, t, n, _);
|
|
1886
1886
|
else {
|
|
1887
|
-
let { message:
|
|
1888
|
-
He.confirm(
|
|
1889
|
-
l("delete", { row:
|
|
1887
|
+
let { message: j, title: J, options: pe } = e.value.control.delete.dialog;
|
|
1888
|
+
He.confirm(j, J, pe).then(() => {
|
|
1889
|
+
l("delete", { row: o, column: t, $index: n }, ($e) => {
|
|
1890
1890
|
$e && (e.value.table.data.splice(n, 1), e.value.table.page.total--);
|
|
1891
1891
|
});
|
|
1892
1892
|
}).catch(() => {
|
|
1893
1893
|
});
|
|
1894
1894
|
}
|
|
1895
|
-
}, B = (
|
|
1896
|
-
var
|
|
1897
|
-
E.value = "edit", (
|
|
1898
|
-
e.value[
|
|
1899
|
-
}), m.value = !0, l("open",
|
|
1900
|
-
},
|
|
1901
|
-
var
|
|
1902
|
-
E.value = void 0, (
|
|
1903
|
-
e.value[
|
|
1904
|
-
}), m.value = !0, l("open",
|
|
1905
|
-
}, fe = (
|
|
1906
|
-
l("submit", E.value,
|
|
1895
|
+
}, B = (o, t, n, _) => {
|
|
1896
|
+
var R;
|
|
1897
|
+
E.value = "edit", (R = e.value.control.edit) != null && R.click ? e.value.control.edit.click(o, t, n, _) : (e.value.form.disabled = !1, e.value.dialog.mode = e.value.control.edit.mode, e.value.dialog.title = e.value.control.edit.label, Object.keys(o).forEach((j) => {
|
|
1898
|
+
e.value[j] && (e.value[j].value = o[j]);
|
|
1899
|
+
}), m.value = !0, l("open", _, "edit", o, t, n));
|
|
1900
|
+
}, ae = (o, t, n, _) => {
|
|
1901
|
+
var R;
|
|
1902
|
+
E.value = void 0, (R = e.value.control.view) != null && R.click ? e.value.control.view.click(o, t, n, _) : (e.value.form.disabled = !0, e.value.dialog.mode = e.value.control.view.mode, e.value.dialog.title = e.value.control.view.label, Object.keys(o).forEach((j) => {
|
|
1903
|
+
e.value[j] && (e.value[j].value = o[j]);
|
|
1904
|
+
}), m.value = !0, l("open", _, "view", o, t, n));
|
|
1905
|
+
}, fe = (o, t) => {
|
|
1906
|
+
l("submit", E.value, o, t, (n) => {
|
|
1907
1907
|
n && (m.value = !1, t.table.load());
|
|
1908
1908
|
});
|
|
1909
|
-
},
|
|
1910
|
-
l("reset",
|
|
1911
|
-
}, U = (
|
|
1909
|
+
}, z = (o) => {
|
|
1910
|
+
l("reset", o);
|
|
1911
|
+
}, U = (o, t) => {
|
|
1912
1912
|
var n;
|
|
1913
|
-
if ((n =
|
|
1914
|
-
|
|
1913
|
+
if ((n = o.control.download) != null && n.click)
|
|
1914
|
+
o.control.download.click(o, t);
|
|
1915
1915
|
else {
|
|
1916
|
-
let
|
|
1917
|
-
title:
|
|
1916
|
+
let _ = Ue({
|
|
1917
|
+
title: o.control.download.label,
|
|
1918
1918
|
size: 480,
|
|
1919
1919
|
width: 600,
|
|
1920
1920
|
slots: {
|
|
1921
|
-
default: () =>
|
|
1921
|
+
default: () => Se(Tt, {
|
|
1922
1922
|
items: t,
|
|
1923
|
-
commitText:
|
|
1924
|
-
onExcel: (
|
|
1925
|
-
l("download",
|
|
1923
|
+
commitText: o.control.download.excelLabel,
|
|
1924
|
+
onExcel: (R, j) => {
|
|
1925
|
+
l("download", R, j), _();
|
|
1926
1926
|
}
|
|
1927
1927
|
})
|
|
1928
1928
|
}
|
|
1929
|
-
},
|
|
1929
|
+
}, o.control.download.mode);
|
|
1930
1930
|
}
|
|
1931
|
-
},
|
|
1931
|
+
}, he = (o) => {
|
|
1932
1932
|
var t;
|
|
1933
|
-
(t =
|
|
1934
|
-
title:
|
|
1933
|
+
(t = o.control.setting) != null && t.click ? o.control.setting.click(o) : Ue({
|
|
1934
|
+
title: o.control.setting.label,
|
|
1935
1935
|
size: 470,
|
|
1936
1936
|
width: 600,
|
|
1937
1937
|
slots: {
|
|
1938
|
-
default: () =>
|
|
1939
|
-
modelValue:
|
|
1938
|
+
default: () => Se(Rt, {
|
|
1939
|
+
modelValue: o,
|
|
1940
1940
|
name: p.name
|
|
1941
1941
|
})
|
|
1942
1942
|
}
|
|
1943
|
-
},
|
|
1944
|
-
},
|
|
1945
|
-
Object.entries(e.value).filter(([
|
|
1946
|
-
)),
|
|
1947
|
-
|
|
1948
|
-
const
|
|
1949
|
-
|
|
1950
|
-
|
|
1943
|
+
}, o.control.setting.mode);
|
|
1944
|
+
}, oe = Ve(() => Object.fromEntries(
|
|
1945
|
+
Object.entries(e.value).filter(([o, t]) => t.type !== "hidden").filter(([o, t]) => t.visible !== !1).filter(([o, t]) => t.showCol !== !1).map(([o, t]) => (t.sort = typeof t.sort == "number" ? t.sort : 0, [o, t])).sort((o, t) => o[1].sort - t[1].sort)
|
|
1946
|
+
)), k = me({}), y = (o) => {
|
|
1947
|
+
const t = (n, _) => {
|
|
1948
|
+
for (const R of n) {
|
|
1949
|
+
if (R.value == _) return R.label;
|
|
1950
|
+
if (R.children) {
|
|
1951
|
+
const j = t(R.children, _);
|
|
1952
|
+
if (j) return j;
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
return null;
|
|
1956
|
+
};
|
|
1957
|
+
if (o.getDicts) {
|
|
1958
|
+
const n = o.getDicts.toString();
|
|
1959
|
+
return k.value[n] ? (o.options = k.value[n], o.formatter = (_, R, j, J) => o.options && t(o.options, j) || j, Promise.resolve()) : o.getDicts(o, e.value).then((_) => {
|
|
1960
|
+
k.value[n] = _, o.options = _, o.formatter = (R, j, J, pe) => o.options && t(o.options, J) || J;
|
|
1951
1961
|
});
|
|
1952
1962
|
}
|
|
1953
1963
|
return Promise.resolve();
|
|
1954
1964
|
}, v = () => {
|
|
1955
|
-
const
|
|
1965
|
+
const o = [];
|
|
1956
1966
|
Object.keys(e.value).forEach((t) => {
|
|
1957
1967
|
if (e.value[t].getDicts) {
|
|
1958
1968
|
const n = y(e.value[t]).then(() => {
|
|
1959
|
-
e.value.table.data.forEach((
|
|
1960
|
-
var
|
|
1961
|
-
|
|
1969
|
+
e.value.table.data.forEach((_) => {
|
|
1970
|
+
var R;
|
|
1971
|
+
if (e.value[t].getDicts && ((R = e.value[t]) == null ? void 0 : R.forceString) !== !1) {
|
|
1972
|
+
const j = _[t];
|
|
1973
|
+
_[t] = j != null ? j.toString() : j;
|
|
1974
|
+
}
|
|
1962
1975
|
});
|
|
1963
|
-
}).catch((
|
|
1964
|
-
console.error(`加载字典${t}
|
|
1976
|
+
}).catch((_) => {
|
|
1977
|
+
console.error(`加载字典${t}出错:`, _);
|
|
1965
1978
|
});
|
|
1966
|
-
|
|
1979
|
+
o.push(n);
|
|
1967
1980
|
}
|
|
1968
|
-
}), Promise.all(
|
|
1981
|
+
}), Promise.all(o).catch((t) => {
|
|
1982
|
+
console.error("字典加载过程中发生错误:", t);
|
|
1969
1983
|
});
|
|
1970
1984
|
};
|
|
1971
1985
|
return nt(() => {
|
|
1972
1986
|
e.value.table.load();
|
|
1973
|
-
}),
|
|
1974
|
-
var
|
|
1975
|
-
if (h.value = Object.values(e.value).filter((t) => t.type !== "hidden").filter((t) => t.type !== "control").filter((t) => t.visible !== !1).map((t) => ({ key: t.key || "", label: t.label, value: !0 })), !((
|
|
1987
|
+
}), ke(async () => {
|
|
1988
|
+
var o;
|
|
1989
|
+
if (h.value = Object.values(e.value).filter((t) => t.type !== "hidden").filter((t) => t.type !== "control").filter((t) => t.visible !== !1).map((t) => ({ key: t.key || "", label: t.label, value: !0 })), !((o = e.value.table) != null && o.user)) {
|
|
1976
1990
|
be.error("必须给使用此表格的用户一个名字!");
|
|
1977
1991
|
return;
|
|
1978
1992
|
}
|
|
@@ -1988,7 +2002,7 @@ const St = {
|
|
|
1988
2002
|
return;
|
|
1989
2003
|
}
|
|
1990
2004
|
} else
|
|
1991
|
-
await
|
|
2005
|
+
await St({ name: p.name });
|
|
1992
2006
|
} catch (t) {
|
|
1993
2007
|
console.error("检查表格名称时出现错误:", t), be.error("检查表格名称时出现错误,请稍后重试。");
|
|
1994
2008
|
}
|
|
@@ -2000,50 +2014,50 @@ const St = {
|
|
|
2000
2014
|
} catch (t) {
|
|
2001
2015
|
console.error("Error fetching table column settings:", t);
|
|
2002
2016
|
}
|
|
2003
|
-
}), (
|
|
2004
|
-
const n = F("el-button"),
|
|
2005
|
-
return
|
|
2006
|
-
|
|
2007
|
-
g(
|
|
2017
|
+
}), (o, t) => {
|
|
2018
|
+
const n = F("el-button"), _ = F("el-table-column"), R = F("el-table"), j = F("el-pagination"), J = F("el-icon"), pe = F("el-dialog"), $e = F("el-drawer");
|
|
2019
|
+
return C(), le(ve, null, [
|
|
2020
|
+
L("div", jt, [
|
|
2021
|
+
g(o.$slots, "query", {}, () => [
|
|
2008
2022
|
A(wt, {
|
|
2009
2023
|
modelValue: e.value,
|
|
2010
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
2011
|
-
onQuery:
|
|
2024
|
+
"onUpdate:modelValue": t[3] || (t[3] = (q) => e.value = q),
|
|
2025
|
+
onQuery: V,
|
|
2012
2026
|
onReset: ie
|
|
2013
|
-
},
|
|
2027
|
+
}, K({
|
|
2014
2028
|
"q-btns": c(() => [
|
|
2015
|
-
g(
|
|
2016
|
-
|
|
2017
|
-
g(
|
|
2018
|
-
e.value.control.add.auth() ? g(
|
|
2019
|
-
A(n,
|
|
2020
|
-
onClick: t[0] || (t[0] = (
|
|
2029
|
+
g(o.$slots, "q-btns", {}, () => [
|
|
2030
|
+
L("div", Lt, [
|
|
2031
|
+
g(o.$slots, "control-add-left", {}, void 0, !0),
|
|
2032
|
+
e.value.control.add.auth() ? g(o.$slots, "control-add", { key: 0 }, () => [
|
|
2033
|
+
A(n, x(e.value.control.add, {
|
|
2034
|
+
onClick: t[0] || (t[0] = (q) => se(e.value))
|
|
2021
2035
|
}), {
|
|
2022
2036
|
default: c(() => [
|
|
2023
|
-
ue(
|
|
2037
|
+
ue(ee(e.value.control.add.label), 1)
|
|
2024
2038
|
]),
|
|
2025
2039
|
_: 1
|
|
2026
2040
|
}, 16)
|
|
2027
2041
|
], !0) : de("", !0),
|
|
2028
|
-
g(
|
|
2042
|
+
g(o.$slots, "control-add-right", {}, void 0, !0)
|
|
2029
2043
|
]),
|
|
2030
|
-
|
|
2031
|
-
e.value.control.download.auth() ? g(
|
|
2032
|
-
A(n,
|
|
2033
|
-
onClick: t[1] || (t[1] = (
|
|
2044
|
+
L("div", Pt, [
|
|
2045
|
+
e.value.control.download.auth() ? g(o.$slots, "control-download", { key: 0 }, () => [
|
|
2046
|
+
A(n, x(e.value.control.download, {
|
|
2047
|
+
onClick: t[1] || (t[1] = (q) => U(e.value, h.value))
|
|
2034
2048
|
}), {
|
|
2035
2049
|
default: c(() => [
|
|
2036
|
-
ue(
|
|
2050
|
+
ue(ee(e.value.control.download.label), 1)
|
|
2037
2051
|
]),
|
|
2038
2052
|
_: 1
|
|
2039
2053
|
}, 16)
|
|
2040
2054
|
], !0) : de("", !0),
|
|
2041
|
-
e.value.control.setting.auth() ? g(
|
|
2042
|
-
A(n,
|
|
2043
|
-
onClick: t[2] || (t[2] = (
|
|
2055
|
+
e.value.control.setting.auth() ? g(o.$slots, "control-setting", { key: 1 }, () => [
|
|
2056
|
+
A(n, x(e.value.control.setting, {
|
|
2057
|
+
onClick: t[2] || (t[2] = (q) => he(e.value))
|
|
2044
2058
|
}), {
|
|
2045
2059
|
default: c(() => [
|
|
2046
|
-
ue(
|
|
2060
|
+
ue(ee(e.value.control.setting.label), 1)
|
|
2047
2061
|
]),
|
|
2048
2062
|
_: 1
|
|
2049
2063
|
}, 16)
|
|
@@ -2053,146 +2067,146 @@ const St = {
|
|
|
2053
2067
|
]),
|
|
2054
2068
|
_: 2
|
|
2055
2069
|
}, [
|
|
2056
|
-
|
|
2070
|
+
P(o.$slots, (q, ne, W) => ({
|
|
2057
2071
|
name: ne,
|
|
2058
2072
|
fn: c((N) => [
|
|
2059
|
-
g(
|
|
2073
|
+
g(o.$slots, ne, { model: e.value }, void 0, !0)
|
|
2060
2074
|
])
|
|
2061
2075
|
}))
|
|
2062
2076
|
]), 1032, ["modelValue"])
|
|
2063
2077
|
], !0)
|
|
2064
2078
|
]),
|
|
2065
|
-
A(
|
|
2079
|
+
A(R, x({ class: "g-table-container" }, { ...o.$attrs, ...r(ge)(e.value.table, (q) => !["dblclickType", "page"].includes(q)) }), {
|
|
2066
2080
|
append: c(() => [
|
|
2067
|
-
g(
|
|
2081
|
+
g(o.$slots, "append", {}, void 0, !0)
|
|
2068
2082
|
]),
|
|
2069
2083
|
empty: c(() => [
|
|
2070
|
-
g(
|
|
2084
|
+
g(o.$slots, "empty", {}, void 0, !0)
|
|
2071
2085
|
]),
|
|
2072
2086
|
default: c(() => [
|
|
2073
|
-
g(
|
|
2074
|
-
(
|
|
2087
|
+
g(o.$slots, "default", {}, () => [
|
|
2088
|
+
(C(!0), le(ve, null, P(oe.value, (q, ne) => (C(), I(_, x({
|
|
2075
2089
|
prop: ne,
|
|
2076
2090
|
key: ne,
|
|
2077
2091
|
ref_for: !0
|
|
2078
|
-
}, { ...e.value.tableColumns, ...
|
|
2079
|
-
header: c(({ column:
|
|
2080
|
-
g(
|
|
2081
|
-
column:
|
|
2092
|
+
}, { ...e.value.tableColumns, ...r(ge)(q, (W) => T.includes(W)) }, { "header-align": "center" }), K({
|
|
2093
|
+
header: c(({ column: W, $index: N }) => [
|
|
2094
|
+
g(o.$slots, `${ne}-header`, {
|
|
2095
|
+
column: W,
|
|
2082
2096
|
$index: N
|
|
2083
2097
|
}, void 0, !0)
|
|
2084
2098
|
]),
|
|
2085
|
-
"filter-icon": c((
|
|
2086
|
-
g(
|
|
2099
|
+
"filter-icon": c((W) => [
|
|
2100
|
+
g(o.$slots, `${ne}-filter-icon`, { data: W }, void 0, !0)
|
|
2087
2101
|
]),
|
|
2088
2102
|
_: 2
|
|
2089
2103
|
}, [
|
|
2090
|
-
|
|
2104
|
+
q.type != "selection" && q.type != "index" && q.type != "expand" ? {
|
|
2091
2105
|
name: "default",
|
|
2092
|
-
fn: c(({ row:
|
|
2093
|
-
g(
|
|
2094
|
-
row:
|
|
2106
|
+
fn: c(({ row: W, column: N, $index: re }) => [
|
|
2107
|
+
g(o.$slots, `${ne}`, {
|
|
2108
|
+
row: W,
|
|
2095
2109
|
column: N,
|
|
2096
|
-
$index:
|
|
2110
|
+
$index: re
|
|
2097
2111
|
}, () => [
|
|
2098
|
-
|
|
2099
|
-
innerHTML: q
|
|
2112
|
+
L("div", {
|
|
2113
|
+
innerHTML: S(q, N.formatter(W, N, W[ne], re))
|
|
2100
2114
|
}, null, 8, zt)
|
|
2101
2115
|
], !0)
|
|
2102
2116
|
]),
|
|
2103
2117
|
key: "0"
|
|
2104
2118
|
} : void 0,
|
|
2105
|
-
|
|
2119
|
+
q.type === "image" ? {
|
|
2106
2120
|
name: "default",
|
|
2107
|
-
fn: c(({ row:
|
|
2108
|
-
g(
|
|
2109
|
-
row:
|
|
2121
|
+
fn: c(({ row: W, column: N, $index: re }) => [
|
|
2122
|
+
g(o.$slots, `${ne}`, {
|
|
2123
|
+
row: W,
|
|
2110
2124
|
column: N,
|
|
2111
|
-
$index:
|
|
2125
|
+
$index: re
|
|
2112
2126
|
}, () => [
|
|
2113
|
-
|
|
2127
|
+
L("img", x({
|
|
2114
2128
|
style: { width: "80px", height: "80px", "object-fit": "cover", "border-radius": "3px" },
|
|
2115
|
-
src:
|
|
2129
|
+
src: q.value,
|
|
2116
2130
|
ref_for: !0
|
|
2117
|
-
},
|
|
2131
|
+
}, q), null, 16, Ht)
|
|
2118
2132
|
], !0)
|
|
2119
2133
|
]),
|
|
2120
2134
|
key: "1"
|
|
2121
2135
|
} : void 0,
|
|
2122
|
-
|
|
2136
|
+
q.type == "control" ? {
|
|
2123
2137
|
name: "default",
|
|
2124
|
-
fn: c(({ row:
|
|
2138
|
+
fn: c(({ row: W, column: N, $index: re }) => {
|
|
2125
2139
|
var Le, Pe;
|
|
2126
2140
|
return [
|
|
2127
|
-
|
|
2128
|
-
class:
|
|
2129
|
-
style:
|
|
2141
|
+
L("div", {
|
|
2142
|
+
class: We(["control", (Le = e.value.control) == null ? void 0 : Le.class]),
|
|
2143
|
+
style: je((Pe = e.value.control) == null ? void 0 : Pe.style)
|
|
2130
2144
|
}, [
|
|
2131
|
-
g(
|
|
2132
|
-
g(
|
|
2133
|
-
row:
|
|
2145
|
+
g(o.$slots, "control", {}, () => [
|
|
2146
|
+
g(o.$slots, "control-left", {
|
|
2147
|
+
row: W,
|
|
2134
2148
|
column: N,
|
|
2135
|
-
$index:
|
|
2149
|
+
$index: re
|
|
2136
2150
|
}, void 0, !0),
|
|
2137
|
-
e.value.control.view.auth(
|
|
2151
|
+
e.value.control.view.auth(W, N, re) ? g(o.$slots, "control-view", {
|
|
2138
2152
|
key: 0,
|
|
2139
|
-
row:
|
|
2153
|
+
row: W,
|
|
2140
2154
|
column: N,
|
|
2141
|
-
$index:
|
|
2155
|
+
$index: re
|
|
2142
2156
|
}, () => [
|
|
2143
|
-
A(n,
|
|
2144
|
-
onClick: (ze) =>
|
|
2157
|
+
A(n, x({ ref_for: !0 }, e.value.control.view, {
|
|
2158
|
+
onClick: (ze) => ae(W, N, re, e.value)
|
|
2145
2159
|
}), {
|
|
2146
2160
|
default: c(() => [
|
|
2147
|
-
ue(
|
|
2161
|
+
ue(ee(e.value.control.view.label), 1)
|
|
2148
2162
|
]),
|
|
2149
2163
|
_: 2
|
|
2150
2164
|
}, 1040, ["onClick"])
|
|
2151
2165
|
], !0) : de("", !0),
|
|
2152
|
-
g(
|
|
2153
|
-
row:
|
|
2166
|
+
g(o.$slots, "control-edit-left", {
|
|
2167
|
+
row: W,
|
|
2154
2168
|
column: N,
|
|
2155
|
-
$index:
|
|
2169
|
+
$index: re
|
|
2156
2170
|
}, void 0, !0),
|
|
2157
|
-
e.value.control.edit.auth(
|
|
2171
|
+
e.value.control.edit.auth(W, N, re) ? g(o.$slots, "control-edit", {
|
|
2158
2172
|
key: 1,
|
|
2159
|
-
row:
|
|
2173
|
+
row: W,
|
|
2160
2174
|
column: N,
|
|
2161
|
-
$index:
|
|
2175
|
+
$index: re
|
|
2162
2176
|
}, () => [
|
|
2163
|
-
A(n,
|
|
2164
|
-
onClick: (ze) => B(
|
|
2177
|
+
A(n, x({ ref_for: !0 }, e.value.control.edit, {
|
|
2178
|
+
onClick: (ze) => B(W, N, re, e.value)
|
|
2165
2179
|
}), {
|
|
2166
2180
|
default: c(() => [
|
|
2167
|
-
ue(
|
|
2181
|
+
ue(ee(e.value.control.edit.label), 1)
|
|
2168
2182
|
]),
|
|
2169
2183
|
_: 2
|
|
2170
2184
|
}, 1040, ["onClick"])
|
|
2171
2185
|
], !0) : de("", !0),
|
|
2172
|
-
g(
|
|
2173
|
-
row:
|
|
2186
|
+
g(o.$slots, "control-edit-right", {
|
|
2187
|
+
row: W,
|
|
2174
2188
|
column: N,
|
|
2175
|
-
$index:
|
|
2189
|
+
$index: re
|
|
2176
2190
|
}, void 0, !0),
|
|
2177
|
-
e.value.control.delete.auth(
|
|
2191
|
+
e.value.control.delete.auth(W, N, re) ? g(o.$slots, "control-delete", {
|
|
2178
2192
|
key: 2,
|
|
2179
|
-
row:
|
|
2193
|
+
row: W,
|
|
2180
2194
|
column: N,
|
|
2181
|
-
$index:
|
|
2195
|
+
$index: re
|
|
2182
2196
|
}, () => [
|
|
2183
|
-
A(n,
|
|
2184
|
-
onClick: (ze) => W
|
|
2197
|
+
A(n, x({ ref_for: !0 }, e.value.control.delete, {
|
|
2198
|
+
onClick: (ze) => Y(W, N, re, e.value)
|
|
2185
2199
|
}), {
|
|
2186
2200
|
default: c(() => [
|
|
2187
|
-
ue(
|
|
2201
|
+
ue(ee(e.value.control.delete.label), 1)
|
|
2188
2202
|
]),
|
|
2189
2203
|
_: 2
|
|
2190
2204
|
}, 1040, ["onClick"])
|
|
2191
2205
|
], !0) : de("", !0),
|
|
2192
|
-
g(
|
|
2193
|
-
row:
|
|
2206
|
+
g(o.$slots, "control-right", {
|
|
2207
|
+
row: W,
|
|
2194
2208
|
column: N,
|
|
2195
|
-
$index:
|
|
2209
|
+
$index: re
|
|
2196
2210
|
}, void 0, !0)
|
|
2197
2211
|
], !0)
|
|
2198
2212
|
], 6)
|
|
@@ -2205,60 +2219,60 @@ const St = {
|
|
|
2205
2219
|
]),
|
|
2206
2220
|
_: 3
|
|
2207
2221
|
}, 16),
|
|
2208
|
-
e.value.table.page.hidden ? de("", !0) : g(
|
|
2209
|
-
A(
|
|
2222
|
+
e.value.table.page.hidden ? de("", !0) : g(o.$slots, "page", { key: 0 }, () => [
|
|
2223
|
+
A(j, x({
|
|
2210
2224
|
"page-size": e.value.table.page.pageSize,
|
|
2211
|
-
"onUpdate:pageSize": t[4] || (t[4] = (
|
|
2225
|
+
"onUpdate:pageSize": t[4] || (t[4] = (q) => e.value.table.page.pageSize = q),
|
|
2212
2226
|
"current-page": e.value.table.page.currentPage,
|
|
2213
|
-
"onUpdate:currentPage": t[5] || (t[5] = (
|
|
2227
|
+
"onUpdate:currentPage": t[5] || (t[5] = (q) => e.value.table.page.currentPage = q)
|
|
2214
2228
|
}, e.value.table.page), {
|
|
2215
2229
|
default: c(() => [
|
|
2216
|
-
g(
|
|
2230
|
+
g(o.$slots, "table-page", {}, void 0, !0)
|
|
2217
2231
|
]),
|
|
2218
2232
|
_: 3
|
|
2219
2233
|
}, 16, ["page-size", "current-page"])
|
|
2220
2234
|
], !0),
|
|
2221
|
-
Oe(
|
|
2222
|
-
A(
|
|
2235
|
+
Oe(L("div", null, [
|
|
2236
|
+
A(pe, x({
|
|
2223
2237
|
modelValue: m.value,
|
|
2224
|
-
"onUpdate:modelValue": t[9] || (t[9] = (
|
|
2238
|
+
"onUpdate:modelValue": t[9] || (t[9] = (q) => m.value = q),
|
|
2225
2239
|
fullscreen: e.value.dialog.fullScreen
|
|
2226
|
-
},
|
|
2227
|
-
width:
|
|
2240
|
+
}, r(ge)(e.value.dialog, (q) => !["size"].includes(q)), {
|
|
2241
|
+
width: r(Qe)(e.value.dialog.width) + 35
|
|
2228
2242
|
}), {
|
|
2229
2243
|
header: c(() => {
|
|
2230
|
-
var
|
|
2244
|
+
var q, ne, W, N;
|
|
2231
2245
|
return [
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
g(
|
|
2235
|
-
|
|
2246
|
+
L("div", Wt, [
|
|
2247
|
+
L("div", Nt, [
|
|
2248
|
+
g(o.$slots, "f-header", {}, () => [
|
|
2249
|
+
L("div", null, ee(e.value.dialog.title), 1)
|
|
2236
2250
|
], !0)
|
|
2237
2251
|
]),
|
|
2238
|
-
((ne = (
|
|
2252
|
+
((ne = (q = e.value) == null ? void 0 : q.dialog) == null ? void 0 : ne.fullScreen) === !1 ? (C(), le("div", {
|
|
2239
2253
|
key: 0,
|
|
2240
|
-
onClick: t[6] || (t[6] = (
|
|
2254
|
+
onClick: t[6] || (t[6] = (re) => {
|
|
2241
2255
|
e.value.dialog.fullScreen = !0;
|
|
2242
2256
|
}),
|
|
2243
2257
|
class: "max"
|
|
2244
2258
|
}, [
|
|
2245
|
-
A(
|
|
2259
|
+
A(J, null, {
|
|
2246
2260
|
default: c(() => [
|
|
2247
|
-
A(
|
|
2261
|
+
A(r(st))
|
|
2248
2262
|
]),
|
|
2249
2263
|
_: 1
|
|
2250
2264
|
})
|
|
2251
2265
|
])) : de("", !0),
|
|
2252
|
-
((N = (
|
|
2266
|
+
((N = (W = e.value) == null ? void 0 : W.dialog) == null ? void 0 : N.fullScreen) === !0 ? (C(), le("div", {
|
|
2253
2267
|
key: 1,
|
|
2254
|
-
onClick: t[7] || (t[7] = (
|
|
2268
|
+
onClick: t[7] || (t[7] = (re) => {
|
|
2255
2269
|
e.value.dialog.fullScreen = !1;
|
|
2256
2270
|
}),
|
|
2257
2271
|
class: "max"
|
|
2258
2272
|
}, [
|
|
2259
|
-
A(
|
|
2273
|
+
A(J, null, {
|
|
2260
2274
|
default: c(() => [
|
|
2261
|
-
A(
|
|
2275
|
+
A(r(it))
|
|
2262
2276
|
]),
|
|
2263
2277
|
_: 1
|
|
2264
2278
|
})
|
|
@@ -2267,17 +2281,17 @@ const St = {
|
|
|
2267
2281
|
];
|
|
2268
2282
|
}),
|
|
2269
2283
|
default: c(() => [
|
|
2270
|
-
|
|
2271
|
-
A(
|
|
2284
|
+
L("div", Yt, [
|
|
2285
|
+
A(qe, {
|
|
2272
2286
|
modelValue: e.value,
|
|
2273
|
-
"onUpdate:modelValue": t[8] || (t[8] = (
|
|
2287
|
+
"onUpdate:modelValue": t[8] || (t[8] = (q) => e.value = q),
|
|
2274
2288
|
onSubmit: fe,
|
|
2275
|
-
onReset:
|
|
2276
|
-
},
|
|
2277
|
-
|
|
2289
|
+
onReset: z
|
|
2290
|
+
}, K({ _: 2 }, [
|
|
2291
|
+
P(o.$slots, (q, ne, W) => ({
|
|
2278
2292
|
name: ne,
|
|
2279
2293
|
fn: c((N) => [
|
|
2280
|
-
g(
|
|
2294
|
+
g(o.$slots, ne, { model: N }, void 0, !0)
|
|
2281
2295
|
])
|
|
2282
2296
|
}))
|
|
2283
2297
|
]), 1032, ["modelValue"])
|
|
@@ -2288,31 +2302,31 @@ const St = {
|
|
|
2288
2302
|
], 512), [
|
|
2289
2303
|
[Ae, e.value.dialog.mode == "dialog"]
|
|
2290
2304
|
]),
|
|
2291
|
-
Oe(
|
|
2292
|
-
A($e,
|
|
2305
|
+
Oe(L("div", null, [
|
|
2306
|
+
A($e, x({
|
|
2293
2307
|
modelValue: m.value,
|
|
2294
|
-
"onUpdate:modelValue": t[11] || (t[11] = (
|
|
2295
|
-
},
|
|
2308
|
+
"onUpdate:modelValue": t[11] || (t[11] = (q) => m.value = q)
|
|
2309
|
+
}, r(ge)(e.value.dialog, (q) => !["width"].includes(q))), {
|
|
2296
2310
|
header: c(() => [
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
g(
|
|
2300
|
-
|
|
2311
|
+
L("div", Gt, [
|
|
2312
|
+
L("div", Xt, [
|
|
2313
|
+
g(o.$slots, "f-header", {}, () => [
|
|
2314
|
+
L("div", null, ee(e.value.dialog.title), 1)
|
|
2301
2315
|
], !0)
|
|
2302
2316
|
])
|
|
2303
2317
|
])
|
|
2304
2318
|
]),
|
|
2305
2319
|
default: c(() => [
|
|
2306
|
-
A(
|
|
2320
|
+
A(qe, {
|
|
2307
2321
|
modelValue: e.value,
|
|
2308
|
-
"onUpdate:modelValue": t[10] || (t[10] = (
|
|
2322
|
+
"onUpdate:modelValue": t[10] || (t[10] = (q) => e.value = q),
|
|
2309
2323
|
onSubmit: fe,
|
|
2310
|
-
onReset:
|
|
2311
|
-
},
|
|
2312
|
-
|
|
2324
|
+
onReset: z
|
|
2325
|
+
}, K({ _: 2 }, [
|
|
2326
|
+
P(o.$slots, (q, ne, W) => ({
|
|
2313
2327
|
name: ne,
|
|
2314
2328
|
fn: c((N) => [
|
|
2315
|
-
g(
|
|
2329
|
+
g(o.$slots, ne, { model: N }, void 0, !0)
|
|
2316
2330
|
])
|
|
2317
2331
|
}))
|
|
2318
2332
|
]), 1032, ["modelValue"])
|
|
@@ -2325,14 +2339,14 @@ const St = {
|
|
|
2325
2339
|
], 64);
|
|
2326
2340
|
};
|
|
2327
2341
|
}
|
|
2328
|
-
}), Jt = /* @__PURE__ */ Fe(
|
|
2342
|
+
}), Jt = /* @__PURE__ */ Fe(Qt, [["__scopeId", "data-v-36dd2694"]]), Zt = Object.freeze({}), Xe = [
|
|
2329
2343
|
Jt,
|
|
2330
|
-
|
|
2344
|
+
qe
|
|
2331
2345
|
];
|
|
2332
2346
|
let Be = {};
|
|
2333
2347
|
const ul = {
|
|
2334
2348
|
install: (s, u = {}) => {
|
|
2335
|
-
Be = Object.freeze({ ...Zt, ...u }),
|
|
2349
|
+
Be = Object.freeze({ ...Zt, ...u }), Xe.forEach((l) => {
|
|
2336
2350
|
s.component(l.name, l);
|
|
2337
2351
|
}), s.provide("options", Be), s.config.globalProperties.$openModal = Ue;
|
|
2338
2352
|
}
|
|
@@ -2353,7 +2367,7 @@ const ul = {
|
|
|
2353
2367
|
}, 300);
|
|
2354
2368
|
}, () => {
|
|
2355
2369
|
var T, E, h;
|
|
2356
|
-
return
|
|
2370
|
+
return Se(a, {
|
|
2357
2371
|
modelValue: i.value,
|
|
2358
2372
|
"onUpdate:modelValue": (p) => i.value = p,
|
|
2359
2373
|
...s,
|
|
@@ -2367,11 +2381,11 @@ const ul = {
|
|
|
2367
2381
|
};
|
|
2368
2382
|
}
|
|
2369
2383
|
});
|
|
2370
|
-
return
|
|
2384
|
+
return Xe.forEach((T) => {
|
|
2371
2385
|
m.component(T.name, T);
|
|
2372
2386
|
}), m.provide("options", Be), m.use(Je, { locale: ct }), document.body.appendChild(l), m.mount(l), e;
|
|
2373
2387
|
};
|
|
2374
|
-
function
|
|
2388
|
+
function Qe(s, u = window.innerWidth) {
|
|
2375
2389
|
if (typeof s == "number")
|
|
2376
2390
|
return s;
|
|
2377
2391
|
if (s.endsWith("px"))
|
|
@@ -2393,11 +2407,11 @@ function Xe(s, u = window.innerWidth) {
|
|
|
2393
2407
|
throw new Error("Invalid calc expression");
|
|
2394
2408
|
};
|
|
2395
2409
|
const a = s.slice(5, -1).trim();
|
|
2396
|
-
return i(a.replace(/([0-9.]+)([a-z%]+)/g, (T, E, h) =>
|
|
2410
|
+
return i(a.replace(/([0-9.]+)([a-z%]+)/g, (T, E, h) => Qe(E + h, u)));
|
|
2397
2411
|
}
|
|
2398
2412
|
throw new Error("Unsupported unit in value: " + s);
|
|
2399
2413
|
}
|
|
2400
|
-
const
|
|
2414
|
+
const ye = (...s) => {
|
|
2401
2415
|
const u = {}, l = (e, a) => (Object.keys(a).forEach((i) => {
|
|
2402
2416
|
e[i] = typeof a[i] == "object" && !Array.isArray(a[i]) ? l(e[i] || {}, a[i]) : a[i];
|
|
2403
2417
|
}), e);
|
|
@@ -2445,7 +2459,7 @@ function tl(s) {
|
|
|
2445
2459
|
const u = s.toFixed(2), [l, e] = u.split(".");
|
|
2446
2460
|
return `${l.replace(/\B(?=(\d{3})+(?!\d))/g, ",")}.${e}`;
|
|
2447
2461
|
}
|
|
2448
|
-
const
|
|
2462
|
+
const Z = {
|
|
2449
2463
|
RADIO: "radio",
|
|
2450
2464
|
RADIOBUTTON: "radio-button",
|
|
2451
2465
|
CHECKBOX: "checkbox",
|
|
@@ -2467,16 +2481,21 @@ const J = {
|
|
|
2467
2481
|
AUTOCOMPLETE: "autocomplete",
|
|
2468
2482
|
INPUTNUMBER: "input-number",
|
|
2469
2483
|
MONEY: "money",
|
|
2470
|
-
NUMBER: "number"
|
|
2484
|
+
NUMBER: "number",
|
|
2485
|
+
URL: "url",
|
|
2486
|
+
EMAIL: "email",
|
|
2487
|
+
PASSWORD: "password",
|
|
2488
|
+
TEXTAREA: "textarea",
|
|
2489
|
+
TEL: "tel"
|
|
2471
2490
|
};
|
|
2472
2491
|
export {
|
|
2473
|
-
|
|
2474
|
-
|
|
2492
|
+
Z as CT,
|
|
2493
|
+
Qe as convertToPx,
|
|
2475
2494
|
ul as default,
|
|
2476
2495
|
ge as filterObject,
|
|
2477
2496
|
el as findTreeLabelByValue,
|
|
2478
2497
|
tl as formatAmount,
|
|
2479
|
-
|
|
2498
|
+
ye as mergeObjects,
|
|
2480
2499
|
Ie as moneyToChinese,
|
|
2481
2500
|
Ue as openModal
|
|
2482
2501
|
};
|