@das-fed/ui 6.4.0-dev.21 → 6.4.0-dev.22
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/package.json +5 -5
- package/packages/business-components/import-button/index.js +62 -62
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +1161 -1021
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/hooks/useForm.d.ts +1 -1
- package/packages/business-components/process-form/src/utils/encryption/index.d.ts +7 -0
- package/packages/business-components/process-form/src/widgets/base/attachment.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/autocomplete.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/checkbox.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/date.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/dropdown.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/imageViewer.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/input.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/number.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/radio.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/select.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/selector.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/soundRecording.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/switch.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/text.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/textarea.vue.d.ts +0 -1
- package/packages/business-components/process-form/src/widgets/base/time.vue.d.ts +0 -1
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-table/index.js +90 -89
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/components/autocomplete/src/index.vue.d.ts +4 -1
- package/packages/components/form/index.js +51 -60
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form/style.css +1 -1
- package/packages/components/form-item/index.js +463 -468
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/input/index.d.ts +3 -0
- package/packages/components/input/index.js +44 -43
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +1 -0
- package/packages/components/input/src/type.d.ts +2 -0
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/search-form/index.js +676 -670
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select-input/index.js +11 -10
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-input/style.css +1 -1
- package/packages/components/select-input/style.css.gz +0 -0
- package/packages/components/form/src/utils/flat-form-item.d.ts +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/process-table/style.css';
|
|
2
2
|
import { withInstall as Nt } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { ref as T, watch as
|
|
4
|
-
import { DasTable as Le, DasTableColumn as
|
|
3
|
+
import { ref as T, watch as oe, defineComponent as Mt, onMounted as Bt, openBlock as W, createElementBlock as be, normalizeClass as Lt, unref as o, createVNode as P, mergeProps as zt, isRef as he, withCtx as D, createCommentVNode as ye, renderSlot as Ne, Fragment as Ut, renderList as Rt, createBlock as Me, createTextVNode as ve, toDisplayString as Be, createElementVNode as U } from "vue";
|
|
4
|
+
import { DasTable as Le, DasTableColumn as ae } from "@das-fed/ui/packages/components/table/index";
|
|
5
5
|
import { DasDialog as Vt } from "@das-fed/ui/packages/components/dialog/index";
|
|
6
6
|
import { DasButton as ze } from "@das-fed/ui/packages/components/button/index";
|
|
7
7
|
import { DasSwitch as Gt } from "@das-fed/ui/packages/components/switch/index";
|
|
@@ -14,38 +14,38 @@ qt.post("/value/report/page");
|
|
|
14
14
|
const Qt = Jt.get(""), kt = (e, t) => ({
|
|
15
15
|
reportTableList: we(e)[t]("")
|
|
16
16
|
});
|
|
17
|
-
var pt = typeof global == "object" && global && global.Object === Object && global, Wt = typeof self == "object" && self && self.Object === Object && self, x = pt || Wt || Function("return this")(), R = x.Symbol, dt = Object.prototype, Yt = dt.hasOwnProperty, Xt = dt.toString,
|
|
17
|
+
var pt = typeof global == "object" && global && global.Object === Object && global, Wt = typeof self == "object" && self && self.Object === Object && self, x = pt || Wt || Function("return this")(), R = x.Symbol, dt = Object.prototype, Yt = dt.hasOwnProperty, Xt = dt.toString, Y = R ? R.toStringTag : void 0;
|
|
18
18
|
function Zt(e) {
|
|
19
|
-
var t = Yt.call(e,
|
|
19
|
+
var t = Yt.call(e, Y), r = e[Y];
|
|
20
20
|
try {
|
|
21
|
-
e[
|
|
21
|
+
e[Y] = void 0;
|
|
22
22
|
var n = !0;
|
|
23
23
|
} catch {
|
|
24
24
|
}
|
|
25
25
|
var c = Xt.call(e);
|
|
26
|
-
return n && (t ? e[
|
|
26
|
+
return n && (t ? e[Y] = r : delete e[Y]), c;
|
|
27
27
|
}
|
|
28
28
|
var er = Object.prototype, tr = er.toString;
|
|
29
29
|
function rr(e) {
|
|
30
30
|
return tr.call(e);
|
|
31
31
|
}
|
|
32
32
|
var nr = "[object Null]", ar = "[object Undefined]", Re = R ? R.toStringTag : void 0;
|
|
33
|
-
function
|
|
33
|
+
function te(e) {
|
|
34
34
|
return e == null ? e === void 0 ? ar : nr : Re && Re in Object(e) ? Zt(e) : rr(e);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function re(e) {
|
|
37
37
|
return e != null && typeof e == "object";
|
|
38
38
|
}
|
|
39
39
|
var $e = Array.isArray;
|
|
40
|
-
function
|
|
40
|
+
function ne(e) {
|
|
41
41
|
var t = typeof e;
|
|
42
42
|
return e != null && (t == "object" || t == "function");
|
|
43
43
|
}
|
|
44
44
|
var or = "[object AsyncFunction]", sr = "[object Function]", ir = "[object GeneratorFunction]", cr = "[object Proxy]";
|
|
45
45
|
function gt(e) {
|
|
46
|
-
if (!
|
|
46
|
+
if (!ne(e))
|
|
47
47
|
return !1;
|
|
48
|
-
var t =
|
|
48
|
+
var t = te(e);
|
|
49
49
|
return t == sr || t == ir || t == or || t == cr;
|
|
50
50
|
}
|
|
51
51
|
var me = x["__core-js_shared__"], Ve = function() {
|
|
@@ -73,7 +73,7 @@ var pr = /[\\^$.*+?()[\]{}|]/g, dr = /^\[object .+?Constructor\]$/, gr = Functio
|
|
|
73
73
|
"^" + hr.call(yr).replace(pr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
74
74
|
);
|
|
75
75
|
function mr(e) {
|
|
76
|
-
if (!
|
|
76
|
+
if (!ne(e) || lr(e))
|
|
77
77
|
return !1;
|
|
78
78
|
var t = gt(e) ? vr : dr;
|
|
79
79
|
return t.test(L(e));
|
|
@@ -89,7 +89,7 @@ var _e = z(x, "WeakMap"), Ge = Object.create, _r = /* @__PURE__ */ function() {
|
|
|
89
89
|
function e() {
|
|
90
90
|
}
|
|
91
91
|
return function(t) {
|
|
92
|
-
if (!
|
|
92
|
+
if (!ne(t))
|
|
93
93
|
return {};
|
|
94
94
|
if (Ge)
|
|
95
95
|
return Ge(t);
|
|
@@ -137,7 +137,7 @@ function yt(e, t, r) {
|
|
|
137
137
|
var n = e[t];
|
|
138
138
|
(!(Cr.call(e, t) && ht(n, r)) || r === void 0 && !(t in e)) && bt(e, t, r);
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function le(e, t, r, n) {
|
|
141
141
|
var c = !r;
|
|
142
142
|
r || (r = {});
|
|
143
143
|
for (var s = -1, a = t.length; ++s < a; ) {
|
|
@@ -165,12 +165,12 @@ function Dr(e, t) {
|
|
|
165
165
|
}
|
|
166
166
|
var Er = "[object Arguments]";
|
|
167
167
|
function Ke(e) {
|
|
168
|
-
return
|
|
168
|
+
return re(e) && te(e) == Er;
|
|
169
169
|
}
|
|
170
170
|
var Tt = Object.prototype, Fr = Tt.hasOwnProperty, Ir = Tt.propertyIsEnumerable, Nr = Ke(/* @__PURE__ */ function() {
|
|
171
171
|
return arguments;
|
|
172
172
|
}()) ? Ke : function(e) {
|
|
173
|
-
return
|
|
173
|
+
return re(e) && Fr.call(e, "callee") && !Ir.call(e, "callee");
|
|
174
174
|
};
|
|
175
175
|
function Mr() {
|
|
176
176
|
return !1;
|
|
@@ -179,16 +179,16 @@ var _t = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
179
179
|
p[en] = p[tn] = p[rn] = p[nn] = p[an] = p[on] = p[sn] = p[cn] = p[ln] = !0;
|
|
180
180
|
p[zr] = p[Ur] = p[Xr] = p[Rr] = p[Zr] = p[Vr] = p[Gr] = p[Hr] = p[Kr] = p[qr] = p[Jr] = p[Qr] = p[kr] = p[Wr] = p[Yr] = !1;
|
|
181
181
|
function un(e) {
|
|
182
|
-
return
|
|
182
|
+
return re(e) && vt(e.length) && !!p[te(e)];
|
|
183
183
|
}
|
|
184
184
|
function Ce(e) {
|
|
185
185
|
return function(t) {
|
|
186
186
|
return e(t);
|
|
187
187
|
};
|
|
188
188
|
}
|
|
189
|
-
var jt = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
189
|
+
var jt = typeof exports == "object" && exports && !exports.nodeType && exports, X = jt && typeof module == "object" && module && !module.nodeType && module, fn = X && X.exports === jt, Te = fn && pt.process, V = function() {
|
|
190
190
|
try {
|
|
191
|
-
var e =
|
|
191
|
+
var e = X && X.require && X.require("util").types;
|
|
192
192
|
return e || Te && Te.binding && Te.binding("util");
|
|
193
193
|
} catch {
|
|
194
194
|
}
|
|
@@ -229,7 +229,7 @@ function mn(e) {
|
|
|
229
229
|
}
|
|
230
230
|
var Tn = Object.prototype, _n = Tn.hasOwnProperty;
|
|
231
231
|
function Sn(e) {
|
|
232
|
-
if (!
|
|
232
|
+
if (!ne(e))
|
|
233
233
|
return mn(e);
|
|
234
234
|
var t = Ae(e), r = [];
|
|
235
235
|
for (var n in e)
|
|
@@ -239,9 +239,9 @@ function Sn(e) {
|
|
|
239
239
|
function Pe(e) {
|
|
240
240
|
return mt(e) ? Ot(e, !0) : Sn(e);
|
|
241
241
|
}
|
|
242
|
-
var
|
|
242
|
+
var Z = z(Object, "create");
|
|
243
243
|
function jn() {
|
|
244
|
-
this.__data__ =
|
|
244
|
+
this.__data__ = Z ? Z(null) : {}, this.size = 0;
|
|
245
245
|
}
|
|
246
246
|
function On(e) {
|
|
247
247
|
var t = this.has(e) && delete this.__data__[e];
|
|
@@ -250,7 +250,7 @@ function On(e) {
|
|
|
250
250
|
var wn = "__lodash_hash_undefined__", $n = Object.prototype, An = $n.hasOwnProperty;
|
|
251
251
|
function Cn(e) {
|
|
252
252
|
var t = this.__data__;
|
|
253
|
-
if (
|
|
253
|
+
if (Z) {
|
|
254
254
|
var r = t[e];
|
|
255
255
|
return r === wn ? void 0 : r;
|
|
256
256
|
}
|
|
@@ -259,12 +259,12 @@ function Cn(e) {
|
|
|
259
259
|
var xn = Object.prototype, Pn = xn.hasOwnProperty;
|
|
260
260
|
function Dn(e) {
|
|
261
261
|
var t = this.__data__;
|
|
262
|
-
return
|
|
262
|
+
return Z ? t[e] !== void 0 : Pn.call(t, e);
|
|
263
263
|
}
|
|
264
264
|
var En = "__lodash_hash_undefined__";
|
|
265
265
|
function Fn(e, t) {
|
|
266
266
|
var r = this.__data__;
|
|
267
|
-
return this.size += this.has(e) ? 0 : 1, r[e] =
|
|
267
|
+
return this.size += this.has(e) ? 0 : 1, r[e] = Z && t === void 0 ? En : t, this;
|
|
268
268
|
}
|
|
269
269
|
function B(e) {
|
|
270
270
|
var t = -1, r = e == null ? 0 : e.length;
|
|
@@ -281,7 +281,7 @@ B.prototype.set = Fn;
|
|
|
281
281
|
function In() {
|
|
282
282
|
this.__data__ = [], this.size = 0;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function ue(e, t) {
|
|
285
285
|
for (var r = e.length; r--; )
|
|
286
286
|
if (ht(e[r][0], t))
|
|
287
287
|
return r;
|
|
@@ -289,21 +289,21 @@ function le(e, t) {
|
|
|
289
289
|
}
|
|
290
290
|
var Nn = Array.prototype, Mn = Nn.splice;
|
|
291
291
|
function Bn(e) {
|
|
292
|
-
var t = this.__data__, r =
|
|
292
|
+
var t = this.__data__, r = ue(t, e);
|
|
293
293
|
if (r < 0)
|
|
294
294
|
return !1;
|
|
295
295
|
var n = t.length - 1;
|
|
296
296
|
return r == n ? t.pop() : Mn.call(t, r, 1), --this.size, !0;
|
|
297
297
|
}
|
|
298
298
|
function Ln(e) {
|
|
299
|
-
var t = this.__data__, r =
|
|
299
|
+
var t = this.__data__, r = ue(t, e);
|
|
300
300
|
return r < 0 ? void 0 : t[r][1];
|
|
301
301
|
}
|
|
302
302
|
function zn(e) {
|
|
303
|
-
return
|
|
303
|
+
return ue(this.__data__, e) > -1;
|
|
304
304
|
}
|
|
305
305
|
function Un(e, t) {
|
|
306
|
-
var r = this.__data__, n =
|
|
306
|
+
var r = this.__data__, n = ue(r, e);
|
|
307
307
|
return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
|
|
308
308
|
}
|
|
309
309
|
function F(e) {
|
|
@@ -318,11 +318,11 @@ F.prototype.delete = Bn;
|
|
|
318
318
|
F.prototype.get = Ln;
|
|
319
319
|
F.prototype.has = zn;
|
|
320
320
|
F.prototype.set = Un;
|
|
321
|
-
var
|
|
321
|
+
var ee = z(x, "Map");
|
|
322
322
|
function Rn() {
|
|
323
323
|
this.size = 0, this.__data__ = {
|
|
324
324
|
hash: new B(),
|
|
325
|
-
map: new (
|
|
325
|
+
map: new (ee || F)(),
|
|
326
326
|
string: new B()
|
|
327
327
|
};
|
|
328
328
|
}
|
|
@@ -330,22 +330,22 @@ function Vn(e) {
|
|
|
330
330
|
var t = typeof e;
|
|
331
331
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function fe(e, t) {
|
|
334
334
|
var r = e.__data__;
|
|
335
335
|
return Vn(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
336
336
|
}
|
|
337
337
|
function Gn(e) {
|
|
338
|
-
var t =
|
|
338
|
+
var t = fe(this, e).delete(e);
|
|
339
339
|
return this.size -= t ? 1 : 0, t;
|
|
340
340
|
}
|
|
341
341
|
function Hn(e) {
|
|
342
|
-
return
|
|
342
|
+
return fe(this, e).get(e);
|
|
343
343
|
}
|
|
344
344
|
function Kn(e) {
|
|
345
|
-
return
|
|
345
|
+
return fe(this, e).has(e);
|
|
346
346
|
}
|
|
347
347
|
function qn(e, t) {
|
|
348
|
-
var r =
|
|
348
|
+
var r = fe(this, e), n = r.size;
|
|
349
349
|
return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
|
|
350
350
|
}
|
|
351
351
|
function G(e) {
|
|
@@ -384,7 +384,7 @@ function Xn(e, t) {
|
|
|
384
384
|
var r = this.__data__;
|
|
385
385
|
if (r instanceof F) {
|
|
386
386
|
var n = r.__data__;
|
|
387
|
-
if (!
|
|
387
|
+
if (!ee || n.length < Yn - 1)
|
|
388
388
|
return n.push([e, t]), this.size = ++r.size, this;
|
|
389
389
|
r = this.__data__ = new G(n);
|
|
390
390
|
}
|
|
@@ -400,10 +400,10 @@ H.prototype.get = kn;
|
|
|
400
400
|
H.prototype.has = Wn;
|
|
401
401
|
H.prototype.set = Xn;
|
|
402
402
|
function Zn(e, t) {
|
|
403
|
-
return e &&
|
|
403
|
+
return e && le(t, xe(t), e);
|
|
404
404
|
}
|
|
405
405
|
function ea(e, t) {
|
|
406
|
-
return e &&
|
|
406
|
+
return e && le(t, Pe(t), e);
|
|
407
407
|
}
|
|
408
408
|
var Ct = typeof exports == "object" && exports && !exports.nodeType && exports, ke = Ct && typeof module == "object" && module && !module.nodeType && module, ta = ke && ke.exports === Ct, We = ta ? x.Buffer : void 0, Ye = We ? We.allocUnsafe : void 0;
|
|
409
409
|
function ra(e, t) {
|
|
@@ -428,7 +428,7 @@ var aa = Object.prototype, oa = aa.propertyIsEnumerable, Xe = Object.getOwnPrope
|
|
|
428
428
|
}));
|
|
429
429
|
} : xt;
|
|
430
430
|
function sa(e, t) {
|
|
431
|
-
return
|
|
431
|
+
return le(e, De(e), t);
|
|
432
432
|
}
|
|
433
433
|
var ia = Object.getOwnPropertySymbols, Pt = ia ? function(e) {
|
|
434
434
|
for (var t = []; e; )
|
|
@@ -436,7 +436,7 @@ var ia = Object.getOwnPropertySymbols, Pt = ia ? function(e) {
|
|
|
436
436
|
return t;
|
|
437
437
|
} : xt;
|
|
438
438
|
function ca(e, t) {
|
|
439
|
-
return
|
|
439
|
+
return le(e, Pt(e), t);
|
|
440
440
|
}
|
|
441
441
|
function Dt(e, t, r) {
|
|
442
442
|
var n = t(e);
|
|
@@ -448,9 +448,9 @@ function la(e) {
|
|
|
448
448
|
function ua(e) {
|
|
449
449
|
return Dt(e, Pe, Pt);
|
|
450
450
|
}
|
|
451
|
-
var Se = z(x, "DataView"), je = z(x, "Promise"), Oe = z(x, "Set"), Ze = "[object Map]", fa = "[object Object]", et = "[object Promise]", tt = "[object Set]", rt = "[object WeakMap]", nt = "[object DataView]", pa = L(Se), da = L(
|
|
452
|
-
(Se && E(new Se(new ArrayBuffer(1))) != nt ||
|
|
453
|
-
var t =
|
|
451
|
+
var Se = z(x, "DataView"), je = z(x, "Promise"), Oe = z(x, "Set"), Ze = "[object Map]", fa = "[object Object]", et = "[object Promise]", tt = "[object Set]", rt = "[object WeakMap]", nt = "[object DataView]", pa = L(Se), da = L(ee), ga = L(je), ba = L(Oe), ha = L(_e), E = te;
|
|
452
|
+
(Se && E(new Se(new ArrayBuffer(1))) != nt || ee && E(new ee()) != Ze || je && E(je.resolve()) != et || Oe && E(new Oe()) != tt || _e && E(new _e()) != rt) && (E = function(e) {
|
|
453
|
+
var t = te(e), r = t == fa ? e.constructor : void 0, n = r ? L(r) : "";
|
|
454
454
|
if (n)
|
|
455
455
|
switch (n) {
|
|
456
456
|
case pa:
|
|
@@ -532,20 +532,20 @@ function Ka(e) {
|
|
|
532
532
|
}
|
|
533
533
|
var qa = "[object Map]";
|
|
534
534
|
function Ja(e) {
|
|
535
|
-
return
|
|
535
|
+
return re(e) && E(e) == qa;
|
|
536
536
|
}
|
|
537
537
|
var it = V && V.isMap, Qa = it ? Ce(it) : Ja, ka = "[object Set]";
|
|
538
538
|
function Wa(e) {
|
|
539
|
-
return
|
|
539
|
+
return re(e) && E(e) == ka;
|
|
540
540
|
}
|
|
541
541
|
var ct = V && V.isSet, Ya = ct ? Ce(ct) : Wa, Xa = 1, Za = 2, eo = 4, Et = "[object Arguments]", to = "[object Array]", ro = "[object Boolean]", no = "[object Date]", ao = "[object Error]", Ft = "[object Function]", oo = "[object GeneratorFunction]", so = "[object Map]", io = "[object Number]", It = "[object Object]", co = "[object RegExp]", lo = "[object Set]", uo = "[object String]", fo = "[object Symbol]", po = "[object WeakMap]", go = "[object ArrayBuffer]", bo = "[object DataView]", ho = "[object Float32Array]", yo = "[object Float64Array]", vo = "[object Int8Array]", mo = "[object Int16Array]", To = "[object Int32Array]", _o = "[object Uint8Array]", So = "[object Uint8ClampedArray]", jo = "[object Uint16Array]", Oo = "[object Uint32Array]", u = {};
|
|
542
542
|
u[Et] = u[to] = u[go] = u[bo] = u[ro] = u[no] = u[ho] = u[yo] = u[vo] = u[mo] = u[To] = u[so] = u[io] = u[It] = u[co] = u[lo] = u[uo] = u[fo] = u[_o] = u[So] = u[jo] = u[Oo] = !0;
|
|
543
543
|
u[ao] = u[Ft] = u[po] = !1;
|
|
544
|
-
function
|
|
544
|
+
function se(e, t, r, n, c, s) {
|
|
545
545
|
var a, y = t & Xa, l = t & Za, g = t & eo;
|
|
546
546
|
if (a !== void 0)
|
|
547
547
|
return a;
|
|
548
|
-
if (!
|
|
548
|
+
if (!ne(e))
|
|
549
549
|
return e;
|
|
550
550
|
var v = $e(e);
|
|
551
551
|
if (v) {
|
|
@@ -569,18 +569,18 @@ function oe(e, t, r, n, c, s) {
|
|
|
569
569
|
if (j)
|
|
570
570
|
return j;
|
|
571
571
|
s.set(e, a), Ya(e) ? e.forEach(function(w) {
|
|
572
|
-
a.add(
|
|
572
|
+
a.add(se(w, t, r, w, e, s));
|
|
573
573
|
}) : Qa(e) && e.forEach(function(w, A) {
|
|
574
|
-
a.set(A,
|
|
574
|
+
a.set(A, se(w, t, r, A, e, s));
|
|
575
575
|
});
|
|
576
576
|
var m = g ? l ? ua : la : l ? Pe : xe, O = v ? void 0 : m(e);
|
|
577
577
|
return jr(O || e, function(w, A) {
|
|
578
|
-
O && (A = w, w = e[A]), yt(a, A,
|
|
578
|
+
O && (A = w, w = e[A]), yt(a, A, se(w, t, r, A, e, s));
|
|
579
579
|
}), a;
|
|
580
580
|
}
|
|
581
581
|
var wo = 1, $o = 4;
|
|
582
|
-
function
|
|
583
|
-
return
|
|
582
|
+
function ie(e) {
|
|
583
|
+
return se(e, wo | $o);
|
|
584
584
|
}
|
|
585
585
|
const Ao = (e, t) => {
|
|
586
586
|
var q, J;
|
|
@@ -601,7 +601,7 @@ const Ao = (e, t) => {
|
|
|
601
601
|
],
|
|
602
602
|
querys: e.searchQuerys
|
|
603
603
|
});
|
|
604
|
-
|
|
604
|
+
oe(
|
|
605
605
|
() => e.searchQuerys,
|
|
606
606
|
(f) => {
|
|
607
607
|
m.value.querys = f, t("getSearchQuery", m.value);
|
|
@@ -610,7 +610,7 @@ const Ao = (e, t) => {
|
|
|
610
610
|
deep: !0,
|
|
611
611
|
immediate: !0
|
|
612
612
|
}
|
|
613
|
-
),
|
|
613
|
+
), oe(
|
|
614
614
|
() => e.permissionQuery,
|
|
615
615
|
(f) => {
|
|
616
616
|
m.value.permissionFilterTypes = f, t("getSearchQuery", m.value);
|
|
@@ -649,8 +649,8 @@ const Ao = (e, t) => {
|
|
|
649
649
|
};
|
|
650
650
|
}), ((I = l.value) == null ? void 0 : I.length) > 0 ? m.value.sorter = [l.value[0]] : m.value.sorter = [], t("getSearchQuery", m.value), i = l.value.map((_) => _.property)), h.displayField) {
|
|
651
651
|
n.value = JSON.parse(h.displayField).map(($) => {
|
|
652
|
-
const
|
|
653
|
-
return $.encryption =
|
|
652
|
+
const Q = d[$.name];
|
|
653
|
+
return $.encryption = (Q == null ? void 0 : Q.encryption) ?? "", i.includes($.name) ? $.sort = "custom" : $.sort = !1, $;
|
|
654
654
|
}), s.value = JSON.parse(h.displayField).map(($) => ({
|
|
655
655
|
name: $.name,
|
|
656
656
|
desc: $.desc,
|
|
@@ -658,27 +658,27 @@ const Ao = (e, t) => {
|
|
|
658
658
|
}));
|
|
659
659
|
const _ = window.localStorage.getItem(e.columnSettingName);
|
|
660
660
|
if (_ && _ !== "undefined") {
|
|
661
|
-
const $ = s.value.map((
|
|
662
|
-
$ ===
|
|
661
|
+
const $ = s.value.map((k) => k.name).join(","), Q = JSON.parse(_).map((k) => k.name).join(",");
|
|
662
|
+
$ === Q ? a.value = JSON.parse(_) : a.value = ie(s.value), c.value = n.value.filter((k) => {
|
|
663
663
|
let Fe = !1;
|
|
664
664
|
return a.value.map((Ie) => {
|
|
665
|
-
Ie.name ===
|
|
665
|
+
Ie.name === k.name && Ie.switch && (Fe = !0);
|
|
666
666
|
}), Fe;
|
|
667
667
|
});
|
|
668
668
|
} else
|
|
669
|
-
c.value =
|
|
669
|
+
c.value = ie(n.value), a.value = ie(s.value);
|
|
670
670
|
}
|
|
671
671
|
}, A = (f) => {
|
|
672
672
|
j.value = f, m.value.pageBean.page = f, O();
|
|
673
|
-
}, fe = (f) => {
|
|
674
|
-
b.value = f, m.value.pageBean.pageSize = f, O();
|
|
675
673
|
}, pe = (f) => {
|
|
674
|
+
b.value = f, m.value.pageBean.pageSize = f, O();
|
|
675
|
+
}, de = (f) => {
|
|
676
676
|
const C = f.order === "ascending" ? "ASC" : "DESC", M = l.value.find((h) => {
|
|
677
677
|
if (h.property === f.prop)
|
|
678
678
|
return h.direction = C, h;
|
|
679
679
|
});
|
|
680
680
|
m.value.sorter = [M], t("getSearchQuery", m.value), O();
|
|
681
|
-
}, K = T(!0),
|
|
681
|
+
}, K = T(!0), ge = (f, C, M) => {
|
|
682
682
|
const h = f.button_list ? JSON.parse(f.button_list) : [], d = T([]);
|
|
683
683
|
if (h && h.length > 0 ? d.value = h.map((i) => ({
|
|
684
684
|
label: i.name,
|
|
@@ -689,7 +689,7 @@ const Ao = (e, t) => {
|
|
|
689
689
|
}
|
|
690
690
|
return d.value;
|
|
691
691
|
}, N = T(!0);
|
|
692
|
-
return
|
|
692
|
+
return oe(
|
|
693
693
|
() => c.value,
|
|
694
694
|
(f) => {
|
|
695
695
|
f.length > 0 ? (K.value = !0, N.value = e.selection) : (K.value = !1, N.value = !1);
|
|
@@ -703,7 +703,7 @@ const Ao = (e, t) => {
|
|
|
703
703
|
defaultFilterSetting: g,
|
|
704
704
|
copySettingHeaderData: c,
|
|
705
705
|
copyDialogHeaderData: a,
|
|
706
|
-
operation:
|
|
706
|
+
operation: ge,
|
|
707
707
|
reqTableList: O,
|
|
708
708
|
tableData: v,
|
|
709
709
|
reqSearchSetting: w,
|
|
@@ -713,8 +713,8 @@ const Ao = (e, t) => {
|
|
|
713
713
|
pageIndex: j,
|
|
714
714
|
pageSize: b,
|
|
715
715
|
handleCurrentPageChange: A,
|
|
716
|
-
handlePageSizeChange:
|
|
717
|
-
sortChange:
|
|
716
|
+
handlePageSizeChange: pe,
|
|
717
|
+
sortChange: de,
|
|
718
718
|
customSelectionOptions: N,
|
|
719
719
|
showOperationColumn: K
|
|
720
720
|
};
|
|
@@ -732,9 +732,9 @@ const Ao = (e, t) => {
|
|
|
732
732
|
}, v = () => {
|
|
733
733
|
a.value = !0;
|
|
734
734
|
}, S = () => {
|
|
735
|
-
s.value =
|
|
735
|
+
s.value = ie(n.value), window.localStorage.setItem(e.columnSettingName, JSON.stringify(s.value)), a.value = !1;
|
|
736
736
|
};
|
|
737
|
-
return
|
|
737
|
+
return oe(
|
|
738
738
|
() => s.value,
|
|
739
739
|
(b) => {
|
|
740
740
|
c.value = r.value.filter((j) => {
|
|
@@ -791,15 +791,15 @@ const Ao = (e, t) => {
|
|
|
791
791
|
}, Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
792
792
|
__proto__: null,
|
|
793
793
|
default: xo
|
|
794
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
794
|
+
}, Symbol.toStringTag, { value: "Module" })), ce = {}, Do = /^\.\/(.+)\/index\.ts$/, lt = /* @__PURE__ */ Object.assign({ "./phone/index.ts": Po });
|
|
795
795
|
var ft;
|
|
796
796
|
for (const e in lt) {
|
|
797
797
|
const t = lt[e], r = (ft = e.match(Do)) == null ? void 0 : ft[1];
|
|
798
|
-
|
|
798
|
+
ce[r] = t.default;
|
|
799
799
|
}
|
|
800
800
|
const Eo = (e, t) => {
|
|
801
801
|
var n;
|
|
802
|
-
return t ? ((n =
|
|
802
|
+
return t ? ((n = ce[e]) == null ? void 0 : n.call(ce, t)) ?? t : "-";
|
|
803
803
|
}, Fo = (e, t) => e && t ? Kt(e).format(t) : "-", Io = (e, t) => {
|
|
804
804
|
const r = String(e);
|
|
805
805
|
if (r && t && t.length > 0) {
|
|
@@ -808,8 +808,9 @@ const Eo = (e, t) => {
|
|
|
808
808
|
} else
|
|
809
809
|
return "-";
|
|
810
810
|
}, ut = (e, t) => {
|
|
811
|
+
var n;
|
|
811
812
|
const r = e[t.name];
|
|
812
|
-
return t.encryption ? Eo(t.encryption, r) : t.dateFormatter ? Fo(e[t.name], t.dateFormatter) : t.formatterData.length > 0 ? Io(e[t.name], t.formatterData) : e[t.name];
|
|
813
|
+
return t.encryption ? Eo(t.encryption, r) : t.dateFormatter ? Fo(e[t.name], t.dateFormatter) : ((n = t.formatterData) == null ? void 0 : n.length) > 0 ? Io(e[t.name], t.formatterData) : e[t.name];
|
|
813
814
|
}, No = { key: 1 }, Mo = { class: "operate" }, Bo = /* @__PURE__ */ Mt({
|
|
814
815
|
__name: "App",
|
|
815
816
|
props: {
|
|
@@ -840,10 +841,10 @@ const Eo = (e, t) => {
|
|
|
840
841
|
pageIndex: O,
|
|
841
842
|
pageSize: w,
|
|
842
843
|
handleCurrentPageChange: A,
|
|
843
|
-
handlePageSizeChange:
|
|
844
|
-
sortChange:
|
|
844
|
+
handlePageSizeChange: pe,
|
|
845
|
+
sortChange: de,
|
|
845
846
|
customSelectionOptions: K,
|
|
846
|
-
showOperationColumn:
|
|
847
|
+
showOperationColumn: ge
|
|
847
848
|
} = Ao(n, c), { showSettingDialog: N, cancelTabel: q, resetDefault: J, showAll: f, setTable: C, tableSetting: M } = Co(
|
|
848
849
|
n,
|
|
849
850
|
v,
|
|
@@ -855,7 +856,7 @@ const Eo = (e, t) => {
|
|
|
855
856
|
await b(), await g();
|
|
856
857
|
}), t({
|
|
857
858
|
reqTableList: g
|
|
858
|
-
}), (h, d) => (
|
|
859
|
+
}), (h, d) => (W(), be(
|
|
859
860
|
"div",
|
|
860
861
|
{
|
|
861
862
|
class: Lt(["das-process-table", { "no-header-column": o(s).length === 0 }])
|
|
@@ -866,23 +867,23 @@ const Eo = (e, t) => {
|
|
|
866
867
|
total: o(m),
|
|
867
868
|
selection: o(K),
|
|
868
869
|
"default-sort": o(y)[0],
|
|
869
|
-
showOperationColumn: o(
|
|
870
|
+
showOperationColumn: o(ge),
|
|
870
871
|
"current-page": o(O),
|
|
871
872
|
"onUpdate:currentPage": d[0] || (d[0] = (i) => he(O) ? O.value = i : null),
|
|
872
873
|
"page-size": o(w),
|
|
873
874
|
"onUpdate:pageSize": d[1] || (d[1] = (i) => he(w) ? w.value = i : null),
|
|
874
875
|
onCurrentPageChange: o(A),
|
|
875
|
-
onSizeChange: o(
|
|
876
|
+
onSizeChange: o(pe),
|
|
876
877
|
onTableSetting: o(M),
|
|
877
|
-
onSortChange: o(
|
|
878
|
+
onSortChange: o(de)
|
|
878
879
|
}), {
|
|
879
880
|
default: D(() => [
|
|
880
881
|
ye(" 此处用来处理业务固定联动字段,前置插槽,插入DasTableColumn"),
|
|
881
882
|
Ne(h.$slots, "prepend", {}, void 0, !0),
|
|
882
|
-
(
|
|
883
|
+
(W(!0), be(
|
|
883
884
|
Ut,
|
|
884
885
|
null,
|
|
885
|
-
Rt(o(s), (i) => (
|
|
886
|
+
Rt(o(s), (i) => (W(), Me(o(ae), {
|
|
886
887
|
sortable: i.sort,
|
|
887
888
|
key: i.name,
|
|
888
889
|
label: i.desc,
|
|
@@ -890,7 +891,7 @@ const Eo = (e, t) => {
|
|
|
890
891
|
"show-overflow-tooltip": !i.encryption
|
|
891
892
|
}, {
|
|
892
893
|
default: D(({ row: I, column: _, $index: $ }) => [
|
|
893
|
-
i.encryption ? (
|
|
894
|
+
i.encryption ? (W(), Me(o(Ht), {
|
|
894
895
|
key: 0,
|
|
895
896
|
placement: "top",
|
|
896
897
|
content: I[i.name]
|
|
@@ -904,7 +905,7 @@ const Eo = (e, t) => {
|
|
|
904
905
|
]),
|
|
905
906
|
_: 2
|
|
906
907
|
/* DYNAMIC */
|
|
907
|
-
}, 1032, ["content"])) : (
|
|
908
|
+
}, 1032, ["content"])) : (W(), be(
|
|
908
909
|
"span",
|
|
909
910
|
No,
|
|
910
911
|
Be(o(ut)(I, i)),
|
|
@@ -986,15 +987,15 @@ const Eo = (e, t) => {
|
|
|
986
987
|
"max-height": "377px"
|
|
987
988
|
}, {
|
|
988
989
|
default: D(() => [
|
|
989
|
-
P(o(
|
|
990
|
+
P(o(ae), {
|
|
990
991
|
type: "index",
|
|
991
992
|
width: "56"
|
|
992
993
|
}),
|
|
993
|
-
P(o(
|
|
994
|
+
P(o(ae), {
|
|
994
995
|
label: "列名",
|
|
995
996
|
prop: "desc"
|
|
996
997
|
}),
|
|
997
|
-
P(o(
|
|
998
|
+
P(o(ae), {
|
|
998
999
|
label: "显示列",
|
|
999
1000
|
prop: "switch"
|
|
1000
1001
|
}, {
|
|
Binary file
|
|
@@ -3535,6 +3535,7 @@ declare function __VLS_template(): {
|
|
|
3535
3535
|
readonly showTextWordLimit?: boolean | undefined;
|
|
3536
3536
|
readonly maxlength?: (number | string) | undefined;
|
|
3537
3537
|
readonly maxLength?: (number | string) | undefined;
|
|
3538
|
+
readonly filterSpace?: boolean | undefined;
|
|
3538
3539
|
readonly "onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
3539
3540
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("../../input/src/type").Props> & Readonly<{
|
|
3540
3541
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
@@ -3586,6 +3587,7 @@ declare function __VLS_template(): {
|
|
|
3586
3587
|
showTextWordLimit: boolean;
|
|
3587
3588
|
maxlength: number | string;
|
|
3588
3589
|
maxLength: number | string;
|
|
3590
|
+
filterSpace: boolean;
|
|
3589
3591
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
3590
3592
|
beforeCreate?: (() => void) | (() => void)[];
|
|
3591
3593
|
created?: (() => void) | (() => void)[];
|
|
@@ -3633,9 +3635,10 @@ declare function __VLS_template(): {
|
|
|
3633
3635
|
showTextWordLimit: boolean;
|
|
3634
3636
|
maxlength: number | string;
|
|
3635
3637
|
maxLength: number | string;
|
|
3638
|
+
filterSpace: boolean;
|
|
3636
3639
|
}> & Omit<Readonly<import("../../input/src/type").Props> & Readonly<{
|
|
3637
3640
|
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
3638
|
-
}>, "$refInput" | ("size" | "error" | "type" | "success" | "disabled" | "width" | "modelValue" | "teleported" | "borderType" | "placeholder" | "isView" | "successLabel" | "errorLabel" | "isErrorTitle" | "isTitle" | "errorMode" | "errorModelZIndex" | "noSetDefaultVal" | "autosize" | "showWordLimit" | "showTextWordLimit" | "maxlength" | "maxLength")> & import("vue").ShallowUnwrapRef<{
|
|
3641
|
+
}>, "$refInput" | ("size" | "error" | "type" | "success" | "disabled" | "width" | "modelValue" | "teleported" | "borderType" | "placeholder" | "isView" | "successLabel" | "errorLabel" | "isErrorTitle" | "isTitle" | "errorMode" | "errorModelZIndex" | "noSetDefaultVal" | "autosize" | "showWordLimit" | "showTextWordLimit" | "maxlength" | "maxLength" | "filterSpace")> & import("vue").ShallowUnwrapRef<{
|
|
3639
3642
|
$refInput: import("vue").Ref<any, any>;
|
|
3640
3643
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
3641
3644
|
$slots: {
|