element-assits 0.0.20 → 0.0.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/README.md +2 -0
- package/lib/index.js +141 -115
- package/lib/style.css +1 -1
- package/lib/style.scss +142 -141
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,6 +59,7 @@ Vue 原型上挂载了 `$asyncLoad` 方法
|
|
|
59
59
|
|
|
60
60
|
> `innerForm` 可以绑定 `{ limit: 'auto', referenceItemWidth: 180, maxItemWidth: 240 }`
|
|
61
61
|
`limit` 限制默认显示的搜索条件数量,`referenceItemWidth` 单项参考宽度,`maxItemWidth` 单项最大宽度。
|
|
62
|
+
`column[].exclusiveDoubleCells` 允许某一项独占两格
|
|
62
63
|
> `innerSelection` 可以绑定 `{ data: selectedRows }` 接收选中的行。
|
|
63
64
|
> `innerOperation` 可以绑定 `{ maxNumOfBtn: 3 }` 设置操作栏最大显示的按钮数,超出将被折叠。
|
|
64
65
|
|
|
@@ -191,6 +192,7 @@ props: {
|
|
|
191
192
|
value: { type: [String, Array, Number], default: undefined },
|
|
192
193
|
label: { type: String, default: undefined },
|
|
193
194
|
data: { type: Array, default: () => [] },
|
|
195
|
+
asyncParams: undefined,
|
|
194
196
|
asyncData: { type: Function, default: undefined },
|
|
195
197
|
props: { type: Object, default: undefined },
|
|
196
198
|
itemMaxWidth: { type: [Number, Array], default: 150 },
|
package/lib/index.js
CHANGED
|
@@ -28,10 +28,10 @@ function S(t) {
|
|
|
28
28
|
return t != null && typeof t == "object";
|
|
29
29
|
}
|
|
30
30
|
var vn = "[object Symbol]";
|
|
31
|
-
function
|
|
31
|
+
function Pe(t) {
|
|
32
32
|
return typeof t == "symbol" || S(t) && I(t) == vn;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Ae(t, e) {
|
|
35
35
|
for (var n = -1, r = t == null ? 0 : t.length, i = Array(r); ++n < r; )
|
|
36
36
|
i[n] = e(t[n], n, t);
|
|
37
37
|
return i;
|
|
@@ -43,8 +43,8 @@ function Et(t) {
|
|
|
43
43
|
if (typeof t == "string")
|
|
44
44
|
return t;
|
|
45
45
|
if (y(t))
|
|
46
|
-
return
|
|
47
|
-
if (
|
|
46
|
+
return Ae(t, Et) + "";
|
|
47
|
+
if (Pe(t))
|
|
48
48
|
return Ze ? Ze.call(t) : "";
|
|
49
49
|
var e = t + "";
|
|
50
50
|
return e == "0" && 1 / t == -wn ? "-0" : e;
|
|
@@ -72,11 +72,11 @@ var Je = function() {
|
|
|
72
72
|
function En(t) {
|
|
73
73
|
return !!Je && Je in t;
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Pn = Function.prototype, An = Pn.toString;
|
|
76
76
|
function N(t) {
|
|
77
77
|
if (t != null) {
|
|
78
78
|
try {
|
|
79
|
-
return
|
|
79
|
+
return An.call(t);
|
|
80
80
|
} catch {
|
|
81
81
|
}
|
|
82
82
|
try {
|
|
@@ -95,15 +95,15 @@ function Dn(t) {
|
|
|
95
95
|
var e = w(t) ? Nn : Rn;
|
|
96
96
|
return e.test(N(t));
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function kn(t, e) {
|
|
99
99
|
return t == null ? void 0 : t[e];
|
|
100
100
|
}
|
|
101
101
|
function D(t, e) {
|
|
102
|
-
var n =
|
|
102
|
+
var n = kn(t, e);
|
|
103
103
|
return Dn(n) ? n : void 0;
|
|
104
104
|
}
|
|
105
|
-
var
|
|
106
|
-
const ve =
|
|
105
|
+
var Bn = D(O, "WeakMap");
|
|
106
|
+
const ve = Bn;
|
|
107
107
|
var Qe = Object.create, Wn = function() {
|
|
108
108
|
function t() {
|
|
109
109
|
}
|
|
@@ -173,7 +173,7 @@ var Jn = re ? function(t, e) {
|
|
|
173
173
|
} : Le;
|
|
174
174
|
const Qn = Jn;
|
|
175
175
|
var Vn = Kn(Qn);
|
|
176
|
-
const
|
|
176
|
+
const Pt = Vn;
|
|
177
177
|
function er(t, e) {
|
|
178
178
|
for (var n = -1, r = t == null ? 0 : t.length; ++n < r && e(t[n], n, t) !== !1; )
|
|
179
179
|
;
|
|
@@ -202,7 +202,7 @@ function sr(t, e) {
|
|
|
202
202
|
return !!n && ir(t, e, 0) > -1;
|
|
203
203
|
}
|
|
204
204
|
var or = 9007199254740991, ar = /^(?:0|[1-9]\d*)$/;
|
|
205
|
-
function
|
|
205
|
+
function At(t, e) {
|
|
206
206
|
var n = typeof t;
|
|
207
207
|
return e = e == null ? or : e, !!e && (n == "number" || n != "symbol" && ar.test(t)) && t > -1 && t % 1 == 0 && t < e;
|
|
208
208
|
}
|
|
@@ -243,7 +243,7 @@ function Ft(t, e, n) {
|
|
|
243
243
|
};
|
|
244
244
|
}
|
|
245
245
|
function cr(t, e) {
|
|
246
|
-
return
|
|
246
|
+
return Pt(Ft(t, e, Le), t + "");
|
|
247
247
|
}
|
|
248
248
|
var dr = 9007199254740991;
|
|
249
249
|
function Fe(t) {
|
|
@@ -277,9 +277,9 @@ function yr() {
|
|
|
277
277
|
}
|
|
278
278
|
var jt = typeof exports == "object" && exports && !exports.nodeType && exports, tt = jt && typeof module == "object" && module && !module.nodeType && module, br = tt && tt.exports === jt, nt = br ? O.Buffer : void 0, vr = nt ? nt.isBuffer : void 0, $r = vr || yr;
|
|
279
279
|
const G = $r;
|
|
280
|
-
var wr = "[object Arguments]", xr = "[object Array]", Tr = "[object Boolean]", Cr = "[object Date]", Sr = "[object Error]", Or = "[object Function]", Er = "[object Map]",
|
|
281
|
-
_[Nr] = _[Dr] = _[
|
|
282
|
-
_[wr] = _[xr] = _[jr] = _[Tr] = _[Ir] = _[Cr] = _[Sr] = _[Or] = _[Er] = _[
|
|
280
|
+
var wr = "[object Arguments]", xr = "[object Array]", Tr = "[object Boolean]", Cr = "[object Date]", Sr = "[object Error]", Or = "[object Function]", Er = "[object Map]", Pr = "[object Number]", Ar = "[object Object]", Lr = "[object RegExp]", Rr = "[object Set]", Fr = "[object String]", Mr = "[object WeakMap]", jr = "[object ArrayBuffer]", Ir = "[object DataView]", Nr = "[object Float32Array]", Dr = "[object Float64Array]", kr = "[object Int8Array]", Br = "[object Int16Array]", Wr = "[object Int32Array]", Hr = "[object Uint8Array]", qr = "[object Uint8ClampedArray]", zr = "[object Uint16Array]", Ur = "[object Uint32Array]", _ = {};
|
|
281
|
+
_[Nr] = _[Dr] = _[kr] = _[Br] = _[Wr] = _[Hr] = _[qr] = _[zr] = _[Ur] = !0;
|
|
282
|
+
_[wr] = _[xr] = _[jr] = _[Tr] = _[Ir] = _[Cr] = _[Sr] = _[Or] = _[Er] = _[Pr] = _[Ar] = _[Lr] = _[Rr] = _[Fr] = _[Mr] = !1;
|
|
283
283
|
function Gr(t) {
|
|
284
284
|
return S(t) && Fe(t.length) && !!_[I(t)];
|
|
285
285
|
}
|
|
@@ -295,14 +295,14 @@ var It = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
295
295
|
} catch {
|
|
296
296
|
}
|
|
297
297
|
}();
|
|
298
|
-
const
|
|
299
|
-
var rt =
|
|
298
|
+
const B = Kr;
|
|
299
|
+
var rt = B && B.isTypedArray, Yr = rt ? ue(rt) : Gr;
|
|
300
300
|
const Me = Yr;
|
|
301
301
|
var Zr = Object.prototype, Jr = Zr.hasOwnProperty;
|
|
302
302
|
function Nt(t, e) {
|
|
303
303
|
var n = y(t), r = !n && le(t), i = !n && !r && G(t), s = !n && !r && !i && Me(t), o = n || r || i || s, a = o ? hr(t.length, String) : [], l = a.length;
|
|
304
304
|
for (var u in t)
|
|
305
|
-
(e || Jr.call(t, u)) && !(o && (u == "length" || i && (u == "offset" || u == "parent") || s && (u == "buffer" || u == "byteLength" || u == "byteOffset") ||
|
|
305
|
+
(e || Jr.call(t, u)) && !(o && (u == "length" || i && (u == "offset" || u == "parent") || s && (u == "buffer" || u == "byteLength" || u == "byteOffset") || At(u, l))) && a.push(u);
|
|
306
306
|
return a;
|
|
307
307
|
}
|
|
308
308
|
function Dt(t, e) {
|
|
@@ -313,7 +313,7 @@ function Dt(t, e) {
|
|
|
313
313
|
var Qr = Dt(Object.keys, Object);
|
|
314
314
|
const Vr = Qr;
|
|
315
315
|
var ei = Object.prototype, ti = ei.hasOwnProperty;
|
|
316
|
-
function
|
|
316
|
+
function kt(t) {
|
|
317
317
|
if (!ae(t))
|
|
318
318
|
return Vr(t);
|
|
319
319
|
var e = [];
|
|
@@ -322,7 +322,7 @@ function Bt(t) {
|
|
|
322
322
|
return e;
|
|
323
323
|
}
|
|
324
324
|
function ce(t) {
|
|
325
|
-
return oe(t) ? Nt(t) :
|
|
325
|
+
return oe(t) ? Nt(t) : kt(t);
|
|
326
326
|
}
|
|
327
327
|
function ni(t) {
|
|
328
328
|
var e = [];
|
|
@@ -348,7 +348,7 @@ function Ie(t, e) {
|
|
|
348
348
|
if (y(t))
|
|
349
349
|
return !1;
|
|
350
350
|
var n = typeof t;
|
|
351
|
-
return n == "number" || n == "symbol" || n == "boolean" || t == null ||
|
|
351
|
+
return n == "number" || n == "symbol" || n == "boolean" || t == null || Pe(t) ? !0 : ai.test(t) || !oi.test(t) || e != null && t in Object(e);
|
|
352
352
|
}
|
|
353
353
|
var li = D(Object, "create");
|
|
354
354
|
const X = li;
|
|
@@ -439,15 +439,15 @@ function Ei() {
|
|
|
439
439
|
string: new j()
|
|
440
440
|
};
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function Pi(t) {
|
|
443
443
|
var e = typeof t;
|
|
444
444
|
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
|
|
445
445
|
}
|
|
446
446
|
function fe(t, e) {
|
|
447
447
|
var n = t.__data__;
|
|
448
|
-
return
|
|
448
|
+
return Pi(e) ? n[typeof e == "string" ? "string" : "hash"] : n.map;
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function Ai(t) {
|
|
451
451
|
var e = fe(this, t).delete(t);
|
|
452
452
|
return this.size -= e ? 1 : 0, e;
|
|
453
453
|
}
|
|
@@ -461,18 +461,18 @@ function Fi(t, e) {
|
|
|
461
461
|
var n = fe(this, t), r = n.size;
|
|
462
462
|
return n.set(t, e), this.size += n.size == r ? 0 : 1, this;
|
|
463
463
|
}
|
|
464
|
-
function
|
|
464
|
+
function P(t) {
|
|
465
465
|
var e = -1, n = t == null ? 0 : t.length;
|
|
466
466
|
for (this.clear(); ++e < n; ) {
|
|
467
467
|
var r = t[e];
|
|
468
468
|
this.set(r[0], r[1]);
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
471
|
+
P.prototype.clear = Ei;
|
|
472
|
+
P.prototype.delete = Ai;
|
|
473
|
+
P.prototype.get = Li;
|
|
474
|
+
P.prototype.has = Ri;
|
|
475
|
+
P.prototype.set = Fi;
|
|
476
476
|
var Mi = "Expected a function";
|
|
477
477
|
function Ne(t, e) {
|
|
478
478
|
if (typeof t != "function" || e != null && typeof e != "function")
|
|
@@ -484,9 +484,9 @@ function Ne(t, e) {
|
|
|
484
484
|
var o = t.apply(this, r);
|
|
485
485
|
return n.cache = s.set(i, o) || s, o;
|
|
486
486
|
};
|
|
487
|
-
return n.cache = new (Ne.Cache ||
|
|
487
|
+
return n.cache = new (Ne.Cache || P)(), n;
|
|
488
488
|
}
|
|
489
|
-
Ne.Cache =
|
|
489
|
+
Ne.Cache = P;
|
|
490
490
|
var ji = 500;
|
|
491
491
|
function Ii(t) {
|
|
492
492
|
var e = Ne(t, function(r) {
|
|
@@ -494,22 +494,22 @@ function Ii(t) {
|
|
|
494
494
|
}), n = e.cache;
|
|
495
495
|
return e;
|
|
496
496
|
}
|
|
497
|
-
var Ni = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Di = /\\(\\)?/g,
|
|
497
|
+
var Ni = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Di = /\\(\\)?/g, ki = Ii(function(t) {
|
|
498
498
|
var e = [];
|
|
499
499
|
return t.charCodeAt(0) === 46 && e.push(""), t.replace(Ni, function(n, r, i, s) {
|
|
500
500
|
e.push(i ? s.replace(Di, "$1") : r || n);
|
|
501
501
|
}), e;
|
|
502
502
|
});
|
|
503
|
-
const
|
|
503
|
+
const Bi = ki;
|
|
504
504
|
function Wi(t) {
|
|
505
505
|
return t == null ? "" : Et(t);
|
|
506
506
|
}
|
|
507
507
|
function he(t, e) {
|
|
508
|
-
return y(t) ? t : Ie(t, e) ? [t] :
|
|
508
|
+
return y(t) ? t : Ie(t, e) ? [t] : Bi(Wi(t));
|
|
509
509
|
}
|
|
510
510
|
var Hi = 1 / 0;
|
|
511
511
|
function Q(t) {
|
|
512
|
-
if (typeof t == "string" ||
|
|
512
|
+
if (typeof t == "string" || Pe(t))
|
|
513
513
|
return t;
|
|
514
514
|
var e = t + "";
|
|
515
515
|
return e == "0" && 1 / t == -Hi ? "-0" : e;
|
|
@@ -524,7 +524,7 @@ function pe(t, e, n) {
|
|
|
524
524
|
var r = t == null ? void 0 : De(t, e);
|
|
525
525
|
return r === void 0 ? n : r;
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function ke(t, e) {
|
|
528
528
|
for (var n = -1, r = e.length, i = t.length; ++n < r; )
|
|
529
529
|
t[i + n] = e[n];
|
|
530
530
|
return t;
|
|
@@ -533,24 +533,24 @@ var it = T ? T.isConcatSpreadable : void 0;
|
|
|
533
533
|
function qi(t) {
|
|
534
534
|
return y(t) || le(t) || !!(it && t && t[it]);
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function Be(t, e, n, r, i) {
|
|
537
537
|
var s = -1, o = t.length;
|
|
538
538
|
for (n || (n = qi), i || (i = []); ++s < o; ) {
|
|
539
539
|
var a = t[s];
|
|
540
|
-
e > 0 && n(a) ? e > 1 ?
|
|
540
|
+
e > 0 && n(a) ? e > 1 ? Be(a, e - 1, n, r, i) : ke(i, a) : r || (i[i.length] = a);
|
|
541
541
|
}
|
|
542
542
|
return i;
|
|
543
543
|
}
|
|
544
544
|
function zi(t) {
|
|
545
545
|
var e = t == null ? 0 : t.length;
|
|
546
|
-
return e ?
|
|
546
|
+
return e ? Be(t, 1) : [];
|
|
547
547
|
}
|
|
548
548
|
function Ui(t) {
|
|
549
|
-
return
|
|
549
|
+
return Pt(Ft(t, void 0, zi), t + "");
|
|
550
550
|
}
|
|
551
551
|
var Gi = Dt(Object.getPrototypeOf, Object);
|
|
552
552
|
const We = Gi;
|
|
553
|
-
var Xi = "[object Object]", Ki = Function.prototype, Yi = Object.prototype,
|
|
553
|
+
var Xi = "[object Object]", Ki = Function.prototype, Yi = Object.prototype, Bt = Ki.toString, Zi = Yi.hasOwnProperty, Ji = Bt.call(Object);
|
|
554
554
|
function Y(t) {
|
|
555
555
|
if (!S(t) || I(t) != Xi)
|
|
556
556
|
return !1;
|
|
@@ -558,7 +558,7 @@ function Y(t) {
|
|
|
558
558
|
if (e === null)
|
|
559
559
|
return !0;
|
|
560
560
|
var n = Zi.call(e, "constructor") && e.constructor;
|
|
561
|
-
return typeof n == "function" && n instanceof n &&
|
|
561
|
+
return typeof n == "function" && n instanceof n && Bt.call(n) == Ji;
|
|
562
562
|
}
|
|
563
563
|
function Qi(t, e, n) {
|
|
564
564
|
var r = -1, i = t.length;
|
|
@@ -587,7 +587,7 @@ function is(t, e) {
|
|
|
587
587
|
var r = n.__data__;
|
|
588
588
|
if (!K || r.length < rs - 1)
|
|
589
589
|
return r.push([t, e]), this.size = ++n.size, this;
|
|
590
|
-
n = this.__data__ = new
|
|
590
|
+
n = this.__data__ = new P(r);
|
|
591
591
|
}
|
|
592
592
|
return n.set(t, e), this.size = n.size, this;
|
|
593
593
|
}
|
|
@@ -634,7 +634,7 @@ function hs(t, e) {
|
|
|
634
634
|
}
|
|
635
635
|
var ps = Object.getOwnPropertySymbols, _s = ps ? function(t) {
|
|
636
636
|
for (var e = []; t; )
|
|
637
|
-
|
|
637
|
+
ke(e, He(t)), t = We(t);
|
|
638
638
|
return e;
|
|
639
639
|
} : Ht;
|
|
640
640
|
const qt = _s;
|
|
@@ -643,7 +643,7 @@ function gs(t, e) {
|
|
|
643
643
|
}
|
|
644
644
|
function zt(t, e, n) {
|
|
645
645
|
var r = e(t);
|
|
646
|
-
return y(t) ? r :
|
|
646
|
+
return y(t) ? r : ke(r, n(t));
|
|
647
647
|
}
|
|
648
648
|
function $e(t) {
|
|
649
649
|
return zt(t, ce, He);
|
|
@@ -681,13 +681,13 @@ function Es(t) {
|
|
|
681
681
|
var e = t.length, n = new t.constructor(e);
|
|
682
682
|
return e && typeof t[0] == "string" && Os.call(t, "index") && (n.index = t.index, n.input = t.input), n;
|
|
683
683
|
}
|
|
684
|
-
var
|
|
685
|
-
const ie =
|
|
684
|
+
var Ps = O.Uint8Array;
|
|
685
|
+
const ie = Ps;
|
|
686
686
|
function qe(t) {
|
|
687
687
|
var e = new t.constructor(t.byteLength);
|
|
688
688
|
return new ie(e).set(new ie(t)), e;
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function As(t, e) {
|
|
691
691
|
var n = e ? qe(t.buffer) : t.buffer;
|
|
692
692
|
return new t.constructor(n, t.byteOffset, t.byteLength);
|
|
693
693
|
}
|
|
@@ -704,7 +704,7 @@ function Ms(t, e) {
|
|
|
704
704
|
var n = e ? qe(t.buffer) : t.buffer;
|
|
705
705
|
return new t.constructor(n, t.byteOffset, t.length);
|
|
706
706
|
}
|
|
707
|
-
var js = "[object Boolean]", Is = "[object Date]", Ns = "[object Map]", Ds = "[object Number]",
|
|
707
|
+
var js = "[object Boolean]", Is = "[object Date]", Ns = "[object Map]", Ds = "[object Number]", ks = "[object RegExp]", Bs = "[object Set]", Ws = "[object String]", Hs = "[object Symbol]", qs = "[object ArrayBuffer]", zs = "[object DataView]", Us = "[object Float32Array]", Gs = "[object Float64Array]", Xs = "[object Int8Array]", Ks = "[object Int16Array]", Ys = "[object Int32Array]", Zs = "[object Uint8Array]", Js = "[object Uint8ClampedArray]", Qs = "[object Uint16Array]", Vs = "[object Uint32Array]";
|
|
708
708
|
function eo(t, e, n) {
|
|
709
709
|
var r = t.constructor;
|
|
710
710
|
switch (e) {
|
|
@@ -714,7 +714,7 @@ function eo(t, e, n) {
|
|
|
714
714
|
case Is:
|
|
715
715
|
return new r(+t);
|
|
716
716
|
case zs:
|
|
717
|
-
return
|
|
717
|
+
return As(t, n);
|
|
718
718
|
case Us:
|
|
719
719
|
case Gs:
|
|
720
720
|
case Xs:
|
|
@@ -730,9 +730,9 @@ function eo(t, e, n) {
|
|
|
730
730
|
case Ds:
|
|
731
731
|
case Ws:
|
|
732
732
|
return new r(t);
|
|
733
|
-
case Bs:
|
|
734
|
-
return Rs(t);
|
|
735
733
|
case ks:
|
|
734
|
+
return Rs(t);
|
|
735
|
+
case Bs:
|
|
736
736
|
return new r();
|
|
737
737
|
case Hs:
|
|
738
738
|
return Fs(t);
|
|
@@ -745,16 +745,16 @@ var no = "[object Map]";
|
|
|
745
745
|
function ro(t) {
|
|
746
746
|
return S(t) && W(t) == no;
|
|
747
747
|
}
|
|
748
|
-
var gt =
|
|
748
|
+
var gt = B && B.isMap, io = gt ? ue(gt) : ro;
|
|
749
749
|
const so = io;
|
|
750
750
|
var oo = "[object Set]";
|
|
751
751
|
function ao(t) {
|
|
752
752
|
return S(t) && W(t) == oo;
|
|
753
753
|
}
|
|
754
|
-
var mt =
|
|
754
|
+
var mt = B && B.isSet, lo = mt ? ue(mt) : ao;
|
|
755
755
|
const uo = lo;
|
|
756
|
-
var co = 1, fo = 2, ho = 4, Gt = "[object Arguments]", po = "[object Array]", _o = "[object Boolean]", go = "[object Date]", mo = "[object Error]", Xt = "[object Function]", yo = "[object GeneratorFunction]", bo = "[object Map]", vo = "[object Number]", Kt = "[object Object]", $o = "[object RegExp]", wo = "[object Set]", xo = "[object String]", To = "[object Symbol]", Co = "[object WeakMap]", So = "[object ArrayBuffer]", Oo = "[object DataView]", Eo = "[object Float32Array]",
|
|
757
|
-
p[Gt] = p[po] = p[So] = p[Oo] = p[_o] = p[go] = p[Eo] = p[
|
|
756
|
+
var co = 1, fo = 2, ho = 4, Gt = "[object Arguments]", po = "[object Array]", _o = "[object Boolean]", go = "[object Date]", mo = "[object Error]", Xt = "[object Function]", yo = "[object GeneratorFunction]", bo = "[object Map]", vo = "[object Number]", Kt = "[object Object]", $o = "[object RegExp]", wo = "[object Set]", xo = "[object String]", To = "[object Symbol]", Co = "[object WeakMap]", So = "[object ArrayBuffer]", Oo = "[object DataView]", Eo = "[object Float32Array]", Po = "[object Float64Array]", Ao = "[object Int8Array]", Lo = "[object Int16Array]", Ro = "[object Int32Array]", Fo = "[object Uint8Array]", Mo = "[object Uint8ClampedArray]", jo = "[object Uint16Array]", Io = "[object Uint32Array]", p = {};
|
|
757
|
+
p[Gt] = p[po] = p[So] = p[Oo] = p[_o] = p[go] = p[Eo] = p[Po] = p[Ao] = p[Lo] = p[Ro] = p[bo] = p[vo] = p[Kt] = p[$o] = p[wo] = p[xo] = p[To] = p[Fo] = p[Mo] = p[jo] = p[Io] = !0;
|
|
758
758
|
p[mo] = p[Xt] = p[Co] = !1;
|
|
759
759
|
function U(t, e, n, r, i, s) {
|
|
760
760
|
var o, a = e & co, l = e & fo, u = e & ho;
|
|
@@ -797,19 +797,19 @@ var No = 1, Do = 4;
|
|
|
797
797
|
function L(t) {
|
|
798
798
|
return U(t, No | Do);
|
|
799
799
|
}
|
|
800
|
-
var
|
|
801
|
-
function
|
|
802
|
-
return this.__data__.set(t,
|
|
800
|
+
var ko = "__lodash_hash_undefined__";
|
|
801
|
+
function Bo(t) {
|
|
802
|
+
return this.__data__.set(t, ko), this;
|
|
803
803
|
}
|
|
804
804
|
function Wo(t) {
|
|
805
805
|
return this.__data__.has(t);
|
|
806
806
|
}
|
|
807
807
|
function Z(t) {
|
|
808
808
|
var e = -1, n = t == null ? 0 : t.length;
|
|
809
|
-
for (this.__data__ = new
|
|
809
|
+
for (this.__data__ = new P(); ++e < n; )
|
|
810
810
|
this.add(t[e]);
|
|
811
811
|
}
|
|
812
|
-
Z.prototype.add = Z.prototype.push =
|
|
812
|
+
Z.prototype.add = Z.prototype.push = Bo;
|
|
813
813
|
Z.prototype.has = Wo;
|
|
814
814
|
function Ho(t, e) {
|
|
815
815
|
for (var n = -1, r = t == null ? 0 : t.length; ++n < r; )
|
|
@@ -1016,7 +1016,7 @@ function va(t, e, n) {
|
|
|
1016
1016
|
break;
|
|
1017
1017
|
t = t[o];
|
|
1018
1018
|
}
|
|
1019
|
-
return s || ++r != i ? s : (i = t == null ? 0 : t.length, !!i && Fe(i) &&
|
|
1019
|
+
return s || ++r != i ? s : (i = t == null ? 0 : t.length, !!i && Fe(i) && At(o, i) && (y(t) || le(t)));
|
|
1020
1020
|
}
|
|
1021
1021
|
function $a(t, e) {
|
|
1022
1022
|
return t != null && va(t, e, ba);
|
|
@@ -1047,18 +1047,18 @@ function Ea(t) {
|
|
|
1047
1047
|
function ye(t) {
|
|
1048
1048
|
return S(t) && oe(t);
|
|
1049
1049
|
}
|
|
1050
|
-
function
|
|
1050
|
+
function Pa(t, e, n) {
|
|
1051
1051
|
for (var r = -1, i = t == null ? 0 : t.length; ++r < i; )
|
|
1052
1052
|
if (n(e, t[r]))
|
|
1053
1053
|
return !0;
|
|
1054
1054
|
return !1;
|
|
1055
1055
|
}
|
|
1056
|
-
var
|
|
1056
|
+
var Aa = 200;
|
|
1057
1057
|
function La(t, e, n, r) {
|
|
1058
1058
|
var i = -1, s = sr, o = !0, a = t.length, l = [], u = e.length;
|
|
1059
1059
|
if (!a)
|
|
1060
1060
|
return l;
|
|
1061
|
-
n && (e =
|
|
1061
|
+
n && (e = Ae(e, ue(n))), r ? (s = Pa, o = !1) : e.length >= Aa && (s = Yt, o = !1, e = new Z(e));
|
|
1062
1062
|
e:
|
|
1063
1063
|
for (; ++i < a; ) {
|
|
1064
1064
|
var f = t[i], c = n == null ? f : n(f);
|
|
@@ -1078,7 +1078,7 @@ function Vt(t) {
|
|
|
1078
1078
|
}
|
|
1079
1079
|
var Ra = cr(function(t, e) {
|
|
1080
1080
|
var n = Vt(e);
|
|
1081
|
-
return ye(n) && (n = void 0), ye(t) ? La(t,
|
|
1081
|
+
return ye(n) && (n = void 0), ye(t) ? La(t, Be(e, 1, ye, !0), Ea(n)) : [];
|
|
1082
1082
|
});
|
|
1083
1083
|
const Fa = Ra;
|
|
1084
1084
|
function Ma(t, e) {
|
|
@@ -1094,7 +1094,7 @@ function Ce(t) {
|
|
|
1094
1094
|
if (e == ja || e == Ia)
|
|
1095
1095
|
return !t.size;
|
|
1096
1096
|
if (ae(t))
|
|
1097
|
-
return !
|
|
1097
|
+
return !kt(t).length;
|
|
1098
1098
|
for (var n in t)
|
|
1099
1099
|
if (Da.call(t, n))
|
|
1100
1100
|
return !1;
|
|
@@ -1103,10 +1103,10 @@ function Ce(t) {
|
|
|
1103
1103
|
function se(t) {
|
|
1104
1104
|
return t == null;
|
|
1105
1105
|
}
|
|
1106
|
-
function
|
|
1106
|
+
function ka(t, e) {
|
|
1107
1107
|
return e = he(e, t), t = Ma(t, e), t == null || delete t[Q(Vt(e))];
|
|
1108
1108
|
}
|
|
1109
|
-
function
|
|
1109
|
+
function Ba(t) {
|
|
1110
1110
|
return Y(t) ? void 0 : t;
|
|
1111
1111
|
}
|
|
1112
1112
|
var Wa = 1, Ha = 2, qa = 4, za = Ui(function(t, e) {
|
|
@@ -1114,11 +1114,11 @@ var Wa = 1, Ha = 2, qa = 4, za = Ui(function(t, e) {
|
|
|
1114
1114
|
if (t == null)
|
|
1115
1115
|
return n;
|
|
1116
1116
|
var r = !1;
|
|
1117
|
-
e =
|
|
1117
|
+
e = Ae(e, function(s) {
|
|
1118
1118
|
return s = he(s, t), r || (r = s.length > 1), s;
|
|
1119
|
-
}), J(t, Ut(t), n), r && (n = U(n, Wa | Ha | qa,
|
|
1119
|
+
}), J(t, Ut(t), n), r && (n = U(n, Wa | Ha | qa, Ba));
|
|
1120
1120
|
for (var i = e.length; i--; )
|
|
1121
|
-
|
|
1121
|
+
ka(n, e[i]);
|
|
1122
1122
|
return n;
|
|
1123
1123
|
});
|
|
1124
1124
|
const Se = za;
|
|
@@ -1224,6 +1224,7 @@ const Ya = {
|
|
|
1224
1224
|
value: { type: [String, Array, Number], default: void 0 },
|
|
1225
1225
|
label: { type: String, default: void 0 },
|
|
1226
1226
|
data: { type: Array, default: () => [] },
|
|
1227
|
+
asyncParams: void 0,
|
|
1227
1228
|
asyncData: { type: Function, default: void 0 },
|
|
1228
1229
|
props: { type: Object, default: void 0 },
|
|
1229
1230
|
itemMaxWidth: { type: [Number, Array], default: 150 },
|
|
@@ -1252,16 +1253,25 @@ const Ya = {
|
|
|
1252
1253
|
handler(t) {
|
|
1253
1254
|
this.options = t, this.originalOptions = L(t);
|
|
1254
1255
|
}
|
|
1256
|
+
},
|
|
1257
|
+
asyncParams: {
|
|
1258
|
+
deep: !0,
|
|
1259
|
+
handler(t, e) {
|
|
1260
|
+
this.init(t, e);
|
|
1261
|
+
}
|
|
1255
1262
|
}
|
|
1256
1263
|
},
|
|
1257
1264
|
mounted() {
|
|
1258
|
-
this.cacheCurrent(),
|
|
1259
|
-
this.options = t, this.originalOptions = L(t);
|
|
1260
|
-
}).finally(() => {
|
|
1261
|
-
this.loading = !1;
|
|
1262
|
-
}));
|
|
1265
|
+
this.cacheCurrent(), this.init();
|
|
1263
1266
|
},
|
|
1264
1267
|
methods: {
|
|
1268
|
+
init(t, e) {
|
|
1269
|
+
w(this.asyncData) && (this.loading = !0, this.asyncData(t, e).then((n) => {
|
|
1270
|
+
this.options = n, this.originalOptions = L(n);
|
|
1271
|
+
}).finally(() => {
|
|
1272
|
+
this.loading = !1;
|
|
1273
|
+
}));
|
|
1274
|
+
},
|
|
1265
1275
|
filterMethod(t) {
|
|
1266
1276
|
this.options = L(this.originalOptions).filter((e) => e.label.indexOf(t) > -1);
|
|
1267
1277
|
},
|
|
@@ -1287,7 +1297,7 @@ var Za = function() {
|
|
|
1287
1297
|
return n("div", { staticClass: "ea-select" }, [n("el-select", e._g(e._b({ ref: "sel", attrs: { value: e.value, loading: e.loading, "filter-method": e.filterMethod, "popper-class": "ea-select-popover" + (e.popperClass ? " " + e.popperClass : "") } }, "el-select", e.$attrs, !1), { ...e.$listeners, input: e.handleInput, "visible-change": e.handleVisibleChange }), [e._l(e.cachedOptions, function(r) {
|
|
1288
1298
|
return n("el-option", { key: r[e.endProps.value], staticStyle: { display: "none" }, attrs: { label: r[e.endProps.label], value: r[e.endProps.value] } });
|
|
1289
1299
|
}), n("VirtualScroll", { ref: "vs", attrs: { options: e.options, "item-size": 34 }, scopedSlots: e._u([{ key: "item", fn: function({ item: r }) {
|
|
1290
|
-
return [n("el-option", { key: r[e.endProps.value], attrs: { label: r[e.endProps.label], value: r[e.endProps.value] } }, [e.endProps.desc ? [n("span", { staticClass: "select-item-value", style: { maxWidth: e.endItemMaxWidth[0] + "px" } }, [e._v(" " + e._s(r[e.endProps.label]) + " ")]), n("span", { staticClass: "select-item-desc", style: { maxWidth: e.endItemMaxWidth[1] + "px" } }, [e._v(" " + e._s(r[e.endProps.desc]) + " ")])] : e._e()], 2)];
|
|
1300
|
+
return [n("el-option", { key: r[e.endProps.value], attrs: { label: r[e.endProps.label], value: r[e.endProps.value] } }, [e.endProps.desc ? [n("span", { staticClass: "select-item-value", style: { maxWidth: e.endItemMaxWidth[0] + "px" }, attrs: { title: r[e.endProps.label] } }, [e._v(" " + e._s(r[e.endProps.label]) + " ")]), n("span", { staticClass: "select-item-desc", style: { maxWidth: e.endItemMaxWidth[1] + "px" }, attrs: { title: r[e.endProps.desc] } }, [e._v(" " + e._s(r[e.endProps.desc]) + " ")])] : e._e()], 2)];
|
|
1291
1301
|
} }]) })], 2), e.loading ? n("i", { staticClass: "el-icon-loading async-loading" }) : e._e()], 1);
|
|
1292
1302
|
}, Ja = [], Qa = /* @__PURE__ */ m(
|
|
1293
1303
|
Ya,
|
|
@@ -1579,11 +1589,14 @@ const en = hl.exports, pl = {
|
|
|
1579
1589
|
};
|
|
1580
1590
|
},
|
|
1581
1591
|
computed: {
|
|
1592
|
+
allLength() {
|
|
1593
|
+
return this.allColumn.reduce((t, e) => t += e.exclusiveDoubleCells ? 2 : 1, 0);
|
|
1594
|
+
},
|
|
1582
1595
|
moreIcon() {
|
|
1583
1596
|
return this.loading ? "el-icon-loading" : this.showAll ? "el-icon-arrow-up" : "el-icon-more";
|
|
1584
1597
|
},
|
|
1585
1598
|
moreTooltip() {
|
|
1586
|
-
return this.limit !== "all" && this.
|
|
1599
|
+
return this.limit !== "all" && this.allLength > this.defaultCount ? this.showAll ? "\u6536\u8D77\u641C\u7D22\u6761\u4EF6" : "\u5C55\u5F00\u66F4\u591A\u641C\u7D22\u6761\u4EF6" : "\u6CA1\u6709\u66F4\u591A\u641C\u7D22\u6761\u4EF6\u4E86";
|
|
1587
1600
|
}
|
|
1588
1601
|
},
|
|
1589
1602
|
watch: {
|
|
@@ -1612,11 +1625,15 @@ const en = hl.exports, pl = {
|
|
|
1612
1625
|
if (!t)
|
|
1613
1626
|
return;
|
|
1614
1627
|
const e = this.getWidth(t), n = this.getWidth(this.$refs.sa.$el) + 10, r = this.getWidth(this.$refs.tm.$el), i = Math.floor(e / this.referenceItemWidth), s = Math.floor((e - n) / this.referenceItemWidth), o = Math.floor((e - n - r) / this.referenceItemWidth);
|
|
1615
|
-
this.defaultCount = this.limit === "all" ? this.
|
|
1616
|
-
const a = this.showAll ? this.
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1628
|
+
this.defaultCount = this.limit === "all" ? this.allLength : typeof this.limit == "number" ? Math.min(this.limit, this.allLength) : o >= 1 ? o : s >= 1 ? s : i;
|
|
1629
|
+
const a = this.showAll ? this.allLength : this.defaultCount, l = a <= o ? (e - n - r) / a - 10 : a <= s ? (e - n) / a - 10 : a < i ? (e - (a - 1) * 10) / a : (e - (i - 1) * 10) / i, u = a > s && a < i ? a : i;
|
|
1630
|
+
let f = 0;
|
|
1631
|
+
for (let c of this.allColumn) {
|
|
1632
|
+
f += c.exclusiveDoubleCells ? 2 : 1;
|
|
1633
|
+
const d = Math.min(l, this.maxItemWidth), h = c.exclusiveDoubleCells ? d * 2 + 10 : d;
|
|
1634
|
+
c.style.width = h + "px", f % u === 0 ? c.style.marginRight = 0 : c.style.marginRight = "10px";
|
|
1635
|
+
}
|
|
1636
|
+
this.resetSearchCount();
|
|
1620
1637
|
},
|
|
1621
1638
|
getWidth(t) {
|
|
1622
1639
|
return t instanceof HTMLElement ? window.getComputedStyle(t).getPropertyValue("width").replace("px", "") - 0 : void 0;
|
|
@@ -1626,7 +1643,16 @@ const en = hl.exports, pl = {
|
|
|
1626
1643
|
this.rawColumn = this.allColumn;
|
|
1627
1644
|
return;
|
|
1628
1645
|
}
|
|
1629
|
-
|
|
1646
|
+
if (this.showAll)
|
|
1647
|
+
this.rawColumn = this.allColumn;
|
|
1648
|
+
else {
|
|
1649
|
+
const t = [];
|
|
1650
|
+
let e = this.defaultCount;
|
|
1651
|
+
for (let n of this.allColumn)
|
|
1652
|
+
if (e -= n.exclusiveDoubleCells ? 2 : 1, t.push(n), e <= 0)
|
|
1653
|
+
break;
|
|
1654
|
+
this.rawColumn = t;
|
|
1655
|
+
}
|
|
1630
1656
|
},
|
|
1631
1657
|
handleSearch() {
|
|
1632
1658
|
this.$emit("search");
|
|
@@ -1637,7 +1663,7 @@ const en = hl.exports, pl = {
|
|
|
1637
1663
|
});
|
|
1638
1664
|
},
|
|
1639
1665
|
handleMore() {
|
|
1640
|
-
this.limit !== "all" && (this.
|
|
1666
|
+
this.limit !== "all" && (this.allLength <= this.defaultCount || (this.showAll = !this.showAll, this.resetSearchCount()));
|
|
1641
1667
|
},
|
|
1642
1668
|
handleRefresh() {
|
|
1643
1669
|
this.$emit("refresh");
|
|
@@ -2074,17 +2100,17 @@ var El = function() {
|
|
|
2074
2100
|
}, { data: e.data }), e._t("footer", function() {
|
|
2075
2101
|
return [n("div", { staticClass: "ea-table__footer" }, [n("div", [e._t("bottom-menu")], 2), e.thePagination.show && e.page.total ? n("el-pagination", e._b({ staticClass: "ea-table__footer-right", attrs: { layout: "total, sizes, prev, pager, next, jumper", "page-size": e.page.pageSize, "current-page": e.page.current, total: e.page.total, "page-sizes": [10, 20, 50, 100], background: "" }, on: { "size-change": e.handleSizeChange, "current-change": e.handleCurrentChange } }, "el-pagination", e.thePagination.attrs, !1)) : e._e()], 1)];
|
|
2076
2102
|
})], 2);
|
|
2077
|
-
},
|
|
2103
|
+
}, Pl = [], Al = /* @__PURE__ */ m(
|
|
2078
2104
|
Ol,
|
|
2079
2105
|
El,
|
|
2080
|
-
|
|
2106
|
+
Pl,
|
|
2081
2107
|
!1,
|
|
2082
2108
|
null,
|
|
2083
2109
|
null,
|
|
2084
2110
|
null,
|
|
2085
2111
|
null
|
|
2086
2112
|
);
|
|
2087
|
-
const Ll =
|
|
2113
|
+
const Ll = Al.exports, Rl = {
|
|
2088
2114
|
inheritAttrs: !1,
|
|
2089
2115
|
props: {
|
|
2090
2116
|
reference: {
|
|
@@ -2149,18 +2175,18 @@ function Il(t) {
|
|
|
2149
2175
|
}
|
|
2150
2176
|
function Nl(t) {
|
|
2151
2177
|
const e = t.querySelector(".el-dialog"), n = [
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2178
|
+
A(e, "left"),
|
|
2179
|
+
A(e, "right"),
|
|
2180
|
+
A(e, "top"),
|
|
2181
|
+
A(e, "bottom"),
|
|
2182
|
+
A(e, "top-left"),
|
|
2183
|
+
A(e, "top-right"),
|
|
2184
|
+
A(e, "bottom-left"),
|
|
2185
|
+
A(e, "bottom-right")
|
|
2160
2186
|
];
|
|
2161
2187
|
return () => n.forEach((r) => r());
|
|
2162
2188
|
}
|
|
2163
|
-
function
|
|
2189
|
+
function A(t, e) {
|
|
2164
2190
|
const n = document.createElement("div");
|
|
2165
2191
|
n.style.position = "absolute", Dl(n, e), t.style.userSelect = "none", t.appendChild(n);
|
|
2166
2192
|
let r = t.offsetLeft, i = t.offsetTop, s = t.offsetWidth, o = t.offsetHeight, a = !1, l, u;
|
|
@@ -2181,7 +2207,7 @@ function P(t, e) {
|
|
|
2181
2207
|
function Dl(t, e) {
|
|
2182
2208
|
e === "left" && (t.style.width = "5px", t.style.height = "calc(100% - 10px)", t.style.left = 0, t.style.top = "5px", t.style.cursor = "e-resize"), e === "right" && (t.style.width = "5px", t.style.height = "calc(100% - 10px)", t.style.right = 0, t.style.top = "5px", t.style.cursor = "e-resize"), e === "top" && (t.style.width = "calc(100% - 10px)", t.style.height = "5px", t.style.left = "5px", t.style.top = 0, t.style.cursor = "n-resize"), e === "bottom" && (t.style.width = "calc(100% - 10px)", t.style.height = "5px", t.style.left = "5px", t.style.bottom = 0, t.style.cursor = "n-resize"), e === "top-left" && (t.style.width = "5px", t.style.height = "5px", t.style.left = 0, t.style.top = 0, t.style.cursor = "nw-resize"), e === "top-right" && (t.style.width = "5px", t.style.height = "5px", t.style.right = 0, t.style.top = 0, t.style.cursor = "ne-resize"), e === "bottom-left" && (t.style.width = "5px", t.style.height = "5px", t.style.left = 0, t.style.bottom = 0, t.style.cursor = "ne-resize"), e === "bottom-right" && (t.style.width = "5px", t.style.height = "5px", t.style.right = 0, t.style.bottom = 0, t.style.cursor = "nw-resize");
|
|
2183
2209
|
}
|
|
2184
|
-
const
|
|
2210
|
+
const kl = {
|
|
2185
2211
|
inheritAttrs: !1,
|
|
2186
2212
|
props: {
|
|
2187
2213
|
customClass: { type: String, default: void 0 },
|
|
@@ -2223,7 +2249,7 @@ const Bl = {
|
|
|
2223
2249
|
}
|
|
2224
2250
|
}
|
|
2225
2251
|
};
|
|
2226
|
-
var
|
|
2252
|
+
var Bl = function() {
|
|
2227
2253
|
var e = this, n = e._self._c;
|
|
2228
2254
|
return n("el-dialog", e._g(e._b({ attrs: { "custom-class": e._customClass }, on: { opened: e.handleOpened, closed: e.handleClosed }, scopedSlots: e._u([e.$listeners.confirm || e.$listeners.cancel ? { key: "footer", fn: function() {
|
|
2229
2255
|
return [e.$listeners.confirm ? n("el-button", { class: e.$listeners.cancel ? "" : "single-btn", attrs: { type: "primary", icon: e.$listeners.cancel ? "el-icon-circle-check" : "", loading: e.confirmLoading }, on: { click: function(r) {
|
|
@@ -2237,8 +2263,8 @@ var kl = function() {
|
|
|
2237
2263
|
}, proxy: !0 };
|
|
2238
2264
|
})], null, !0) }, "el-dialog", { closeOnClickModal: !1, appendToBody: !0, ...e.$attrs }, !1), e.$listeners));
|
|
2239
2265
|
}, Wl = [], Hl = /* @__PURE__ */ m(
|
|
2240
|
-
Bl,
|
|
2241
2266
|
kl,
|
|
2267
|
+
Bl,
|
|
2242
2268
|
Wl,
|
|
2243
2269
|
!1,
|
|
2244
2270
|
null,
|
|
@@ -2323,7 +2349,7 @@ const Kl = {
|
|
|
2323
2349
|
},
|
|
2324
2350
|
mounted() {
|
|
2325
2351
|
const t = this.$refs.sc_container;
|
|
2326
|
-
this.domPageX =
|
|
2352
|
+
this.domPageX = k(t), this.domWidth = Yl(t);
|
|
2327
2353
|
},
|
|
2328
2354
|
methods: {
|
|
2329
2355
|
handleMousedown(t) {
|
|
@@ -2339,11 +2365,11 @@ const Kl = {
|
|
|
2339
2365
|
}
|
|
2340
2366
|
}
|
|
2341
2367
|
};
|
|
2342
|
-
function
|
|
2343
|
-
if (
|
|
2344
|
-
return
|
|
2345
|
-
const e =
|
|
2346
|
-
return
|
|
2368
|
+
function k(t) {
|
|
2369
|
+
if (k.result = (k.result || 0) + t.offsetLeft, t.offsetParent)
|
|
2370
|
+
return k(t.offsetParent);
|
|
2371
|
+
const e = k.result;
|
|
2372
|
+
return k.result = void 0, e;
|
|
2347
2373
|
}
|
|
2348
2374
|
function Yl(t) {
|
|
2349
2375
|
const e = t.getBoundingClientRect();
|
|
@@ -2786,7 +2812,7 @@ var Cu = function() {
|
|
|
2786
2812
|
null,
|
|
2787
2813
|
null
|
|
2788
2814
|
);
|
|
2789
|
-
const Eu = Ou.exports,
|
|
2815
|
+
const Eu = Ou.exports, Pu = {
|
|
2790
2816
|
inheritAttrs: !1,
|
|
2791
2817
|
props: {
|
|
2792
2818
|
data: { type: Array, default: void 0 },
|
|
@@ -2814,14 +2840,14 @@ const Eu = Ou.exports, Au = {
|
|
|
2814
2840
|
},
|
|
2815
2841
|
methods: {}
|
|
2816
2842
|
};
|
|
2817
|
-
var
|
|
2843
|
+
var Au = function() {
|
|
2818
2844
|
var e = this, n = e._self._c;
|
|
2819
2845
|
return n("el-checkbox-group", e._g(e._b({}, "el-checkbox-group", e.$attrs, !1), e.$listeners), e._l(e.options, function(r, i) {
|
|
2820
2846
|
return n("el-checkbox", e._b({ key: i, attrs: { label: r[e.endProps.value] } }, "el-checkbox", e.innerCheckbox, !1), [e._v(" " + e._s(r[e.endProps.label]) + " ")]);
|
|
2821
2847
|
}), 1);
|
|
2822
2848
|
}, Lu = [], Ru = /* @__PURE__ */ m(
|
|
2823
|
-
Au,
|
|
2824
2849
|
Pu,
|
|
2850
|
+
Au,
|
|
2825
2851
|
Lu,
|
|
2826
2852
|
!1,
|
|
2827
2853
|
null,
|
|
@@ -2913,7 +2939,7 @@ var ju = function() {
|
|
|
2913
2939
|
const Du = Nu.exports, Gu = (t) => {
|
|
2914
2940
|
t.component("EaForm", en), t.component("EaTable", Ll), t.component("EaSelect", Va), t.component("EaVirtualScroll", Ue), t.component("EaPopover", rn), t.component("EaModal", on), t.component("EaButton", Xl), t.component("EaSplit", Vl), t.component("EaTree", lu), t.component("EaList", hu), t.component("EaDesc", yu), t.component("EaScrollbar", Ge), t.component("EaNumber", xu), t.component("EaRadio", Eu), t.component("EaCheckbox", Fu), t.component("EaFileUpload", Du), t.prototype.$asyncLoad = M;
|
|
2915
2941
|
};
|
|
2916
|
-
const
|
|
2942
|
+
const ku = {
|
|
2917
2943
|
components: { EaModal: on },
|
|
2918
2944
|
props: {
|
|
2919
2945
|
column: { type: Array, required: !0 },
|
|
@@ -2937,14 +2963,14 @@ const Bu = {
|
|
|
2937
2963
|
}
|
|
2938
2964
|
}
|
|
2939
2965
|
};
|
|
2940
|
-
var
|
|
2966
|
+
var Bu = function() {
|
|
2941
2967
|
var e = this, n = e._self._c;
|
|
2942
2968
|
return n("EaModal", { staticClass: "ea-table-modal", attrs: { visible: e.visible, modal: !1, width: "260px", "append-to-body": "" }, on: { "update:visible": function(r) {
|
|
2943
2969
|
e.visible = r;
|
|
2944
2970
|
} } }, [n("div", { staticClass: "scm-title", class: { [e.size]: 1 }, attrs: { slot: "title" }, slot: "title" }, [e._v("\u9009\u62E9\u5217")]), n("el-tree", { class: { [e.size]: 1 }, attrs: { data: e.treeData, "node-key": "prop", "show-checkbox": "", "default-checked-keys": e.defaultCheckedKeys, "check-on-click-node": !0 }, on: { "check-change": e.handleCheckChange } })], 1);
|
|
2945
2971
|
}, Wu = [], Hu = /* @__PURE__ */ m(
|
|
2946
|
-
Bu,
|
|
2947
2972
|
ku,
|
|
2973
|
+
Bu,
|
|
2948
2974
|
Wu,
|
|
2949
2975
|
!1,
|
|
2950
2976
|
null,
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ea-select{display:inline-block;position:relative}.ea-select .el-select{width:100%}.ea-select .async-loading.el-icon-loading{position:absolute;top:10px;right:28px;color:#999}.ea-select-popover .el-select-dropdown__item{display:flex}.ea-select-popover .el-select-dropdown__item .select-item-value{overflow:hidden;text-overflow:ellipsis}.ea-select-popover .el-select-dropdown__item .select-item-desc{overflow:hidden;text-overflow:ellipsis;color:#8492a6;margin-left:8px}.ea-form .el-form-item__content>.el-input-number,.ea-form .el-form-item__content>.el-input,.ea-form .el-form-item__content>.ea-select,.ea-form .el-form-item__content>.el-select{width:100%}.ea-form .el-form-item.hidden-label>.el-form-item__label{display:none}.ea-form .el-form-item.hidden-label>.el-form-item__content{width:100%}.ea-form .form-group-title{position:relative;height:32px;margin-bottom:22px}.ea-form .form-group-title>span{position:absolute;top:0;left:20%;padding:5px 25px;background-color:#fff;z-index:1;color:#909399}.ea-form .form-group-title:after{content:"";position:absolute;top:50%;left:0;width:100%;height:0;border-bottom:1px dashed #DCDFE6}.ea-select-container{display:flex;justify-content:flex-start;font-size:12px}.ea-select-container.medium{font-size:14px}.ea-select-container.medium .ea-select-panel .ea-select-panel__item{line-height:28px}.ea-select-container .ea-select-panel{padding:0;margin:0;list-style:none;flex-grow:1;min-width:120px}.ea-select-container .ea-select-panel+.ea-select-panel{border-left:1px solid #DDD}.ea-select-container .ea-select-panel__item{width:100%;line-height:24px;cursor:pointer;padding:0 12px;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;font-size:inherit}.ea-select-container .ea-select-panel__item:hover{background-color:#ebeef5}.ea-select-container .ea-select-panel__item.active{color:#409eff;font-weight:700}.ea-table .el-table th{background-color:#f2f6fc;color:#303133}.ea-table .el-table th .cell{min-height:30px;display:flex;justify-content:flex-start;align-items:center}.ea-table .el-table th.is-center .cell{justify-content:center}.ea-table .el-table th.is-right .cell{justify-content:flex-end}.ea-table .el-table td .cell,.ea-table .el-table th .cell{line-height:1.2}.ea-table .el-table.el-table--small td,.ea-table .el-table.el-table--small th{height:48px}.ea-table .el-table.is-dense td,.ea-table .el-table.is-dense th{height:32px;padding:2px 0}.ea-table .el-table.is-dense td .el-button,.ea-table .el-table.is-dense th .el-button{padding-top:0;padding-bottom:0}.ea-table .theader-th-cell .cell-icon-menu{position:absolute;top:50%;right:4px;transform:rotate(90deg) translate(-50%);color:#c0c4cc;cursor:pointer;padding:4px;border-radius:2px}.ea-table .theader-th-cell .cell-icon-menu:hover{color:#303133;background-color:#e4e7ed}.ea-table .ea-table__footer{display:flex;justify-content:space-between}.ea-table .ea-table__footer .ea-table__footer-right{margin-left:auto;padding-right:0}.ea-table .ea-table__footer>*{margin-top:12px}.ea-table .column-transition-active{opacity:.33}.ea-table .el-button>i{min-width:12px}.ea-table .more-btn>i{transform:rotate(-90deg)}.el-popover.ea-popover-no-padding{padding:8px 0;min-width:100px}.el-popover.ea-popover-no-padding.dense{margin-top:0;margin-bottom:0;min-width:70px}.more-btn-panel__item:hover{background-color:#ebeef5}.more-btn-panel__item .el-button{padding:8px 12px;width:100%;text-align:left}.ea-zoom-in-top-enter-active,.ea-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top}.ea-zoom-in-top-enter,.ea-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-dialog.ea-modal.is-closing{margin:0!important}.el-dialog.ea-modal.is-fullscreen{border-radius:0;margin:0}.el-dialog.ea-modal .el-dialog__header{color:#555;font-size:18px}.el-dialog.ea-modal .el-dialog__header .el-dialog__title{color:inherit;font-size:inherit}.ea-button-tooltip+.ea-button-tooltip{margin-left:10px}td .ea-button-tooltip+.ea-button-tooltip{margin-left:4px}td .ea-button-tooltip+.ea-button-tooltip.text{margin-left:10px}td .el-button [class*=el-icon-]+span{margin-left:2px}.el-button.ea-button.mini-rect-btn{padding:7px;border:0}.el-button.ea-button.mini-rect-btn [class^=design-]{margin-right:0}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary{background-color:#409eff26;color:#409eff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:focus{background-color:#409eff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success{background-color:#67c23a26;color:#67c23a}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:focus{background-color:#67c23a}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info{background-color:#90939926;color:#909399}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:focus{background-color:#909399}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning{background-color:#e6a23c26;color:#e6a23c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:focus{background-color:#e6a23c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger{background-color:#f56c6c26;color:#f56c6c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:focus{background-color:#f56c6c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:focus i{color:#fff}.ea-split-container{display:flex}.ea-split-container.is-down{user-select:none}.ea-split-container .sc-left,.ea-split-container .sc-right{flex-grow:1;flex-shrink:1}.ea-split-container .sc-bamboo{flex-grow:0;flex-shrink:0;width:8px;border:1px solid #DCDEE2;border-top:none;border-bottom:none;background-color:#f8f8f9;cursor:col-resize;user-select:none;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 16px}.ea-split-container .sc-bamboo .sc-texture{width:4px;height:1px;background:rgba(23,35,61,.25);margin-top:3px}.ea-tree .ea-tree-real .el-tree-node>.el-tree-node__content{border-radius:4px}.ea-tree .ea-tree-real .el-tree-node.is-current>.el-tree-node__content{color:#409eff;background-color:#409eff1a}.ea-list .loading-text{color:#909399;text-align:center;font-size:inherit}.ea-desc{font-size:14px}.ea-desc__title{font-size:16px;margin-bottom:12px}.ea-desc__list{display:flex;flex-wrap:wrap}.ea-desc .item{line-height:24px;margin-bottom:10px;flex:0 0 auto}.ea-desc .item .item-label{float:left;text-align:right;padding-right:8px;color:#909399}.ea-desc .item .item-value{word-break:break-all}.ea-desc .item .item-value .value-no-wrap{height:48px;overflow:hidden;position:relative}.ea-desc .item .item-value .value-no-wrap .click-see-more{position:absolute;right:0;bottom:0;height:24px;padding-left:30px;padding-right:4px;background-image:linear-gradient(to right,transparent 0%,#fff 20%,#fff 100%);cursor:pointer;color:#409eff;user-select:none}.ea-number .el-input__inner{text-align:left}.file-upload-dialog .el-upload,.file-upload-dialog .el-upload .el-upload-dragger{width:100%}.file-upload-dialog .el-upload-list .el-upload-list__item{border:1px dashed #aaa}.file-upload-dialog .el-upload-list .el-upload-list__item .el-icon-close{display:inline-block}.file-upload-dialog .el-list-enter,.file-upload-dialog .el-list-enter-active,.file-upload-dialog .el-list-enter-to,.file-upload-dialog .el-list-leave,.file-upload-dialog .el-list-leave-active,.file-upload-dialog .el-list-leave-to{-webkit-transition:none!important;transition:none!important}.ea-table-modal{overflow:visible;right:unset;right:initial;bottom:unset;bottom:initial;width:100%;height:0}.ea-table-modal .el-dialog{background:#fdfdfd;box-shadow:0 0 16px #00000026}.ea-table-modal .el-dialog .el-dialog__header{padding:12px 20px;background-color:#f2f6fc;border-bottom:1px solid #EBEEF5}.ea-table-modal .el-dialog .el-dialog__headerbtn{top:12px}.ea-table-modal .el-dialog .el-dialog__close{font-weight:700;color:#909399}.ea-table-modal .el-dialog .el-dialog__body{padding:10px 0;height:calc(100% - 70px);min-height:40px;max-height:800px;overflow:auto}.ea-table-modal .el-dialog .el-dialog__body .scm-title{font-size:12px;font-weight:700;color:#303133}.ea-table-modal .el-dialog .el-dialog__body .scm-title.medium{font-size:14px}.ea-table-modal .el-dialog .el-dialog__body .el-tree{background:transparent;font-size:12px}.ea-table-modal .el-dialog .el-dialog__body .el-tree .el-tree-node__label{font-size:12px}.ea-table-modal .el-dialog .el-dialog__body .el-tree.medium,.ea-table-modal .el-dialog .el-dialog__body .el-tree.medium .el-tree-node__label{font-size:14px}
|
|
1
|
+
.ea-select{display:inline-block;position:relative}.ea-select .el-select{width:100%}.ea-select .async-loading.el-icon-loading{position:absolute;top:10px;right:28px;color:#999}.ea-select-popover .el-select-dropdown__item{display:flex;justify-content:space-between}.ea-select-popover .el-select-dropdown__item .select-item-value{overflow:hidden;text-overflow:ellipsis}.ea-select-popover .el-select-dropdown__item .select-item-desc{overflow:hidden;text-overflow:ellipsis;color:#8492a6;margin-left:8px}.ea-form .el-form-item__content>.el-input-number,.ea-form .el-form-item__content>.el-input,.ea-form .el-form-item__content>.ea-select,.ea-form .el-form-item__content>.el-select{width:100%}.ea-form .el-form-item.hidden-label>.el-form-item__label{display:none}.ea-form .el-form-item.hidden-label>.el-form-item__content{width:100%}.ea-form .form-group-title{position:relative;height:32px;margin-bottom:22px}.ea-form .form-group-title>span{position:absolute;top:0;left:20%;padding:5px 25px;background-color:#fff;z-index:1;color:#909399}.ea-form .form-group-title:after{content:"";position:absolute;top:50%;left:0;width:100%;height:0;border-bottom:1px dashed #DCDFE6}.ea-select-container{display:flex;justify-content:flex-start;font-size:12px}.ea-select-container.medium{font-size:14px}.ea-select-container.medium .ea-select-panel .ea-select-panel__item{line-height:28px}.ea-select-container .ea-select-panel{padding:0;margin:0;list-style:none;flex-grow:1;min-width:120px}.ea-select-container .ea-select-panel+.ea-select-panel{border-left:1px solid #DDD}.ea-select-container .ea-select-panel__item{width:100%;line-height:24px;cursor:pointer;padding:0 12px;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;font-size:inherit}.ea-select-container .ea-select-panel__item:hover{background-color:#ebeef5}.ea-select-container .ea-select-panel__item.active{color:#409eff;font-weight:700}.ea-table .el-table th{background-color:#f2f6fc;color:#303133}.ea-table .el-table th .cell{min-height:30px;display:flex;justify-content:flex-start;align-items:center}.ea-table .el-table th.is-center .cell{justify-content:center}.ea-table .el-table th.is-right .cell{justify-content:flex-end}.ea-table .el-table td .cell,.ea-table .el-table th .cell{line-height:1.2}.ea-table .el-table.el-table--small td,.ea-table .el-table.el-table--small th{height:48px}.ea-table .el-table.is-dense td,.ea-table .el-table.is-dense th{height:32px;padding:2px 0}.ea-table .el-table.is-dense td .el-button,.ea-table .el-table.is-dense th .el-button{padding-top:0;padding-bottom:0}.ea-table .theader-th-cell .cell-icon-menu{position:absolute;top:50%;right:4px;transform:rotate(90deg) translate(-50%);color:#c0c4cc;cursor:pointer;padding:4px;border-radius:2px}.ea-table .theader-th-cell .cell-icon-menu:hover{color:#303133;background-color:#e4e7ed}.ea-table .ea-table__footer{display:flex;justify-content:space-between}.ea-table .ea-table__footer .ea-table__footer-right{margin-left:auto;padding-right:0}.ea-table .ea-table__footer>*{margin-top:12px}.ea-table .column-transition-active{opacity:.33}.ea-table .el-button>i{min-width:12px}.ea-table .more-btn>i{transform:rotate(-90deg)}.el-popover.ea-popover-no-padding{padding:8px 0;min-width:100px}.el-popover.ea-popover-no-padding.dense{margin-top:0;margin-bottom:0;min-width:70px}.more-btn-panel__item:hover{background-color:#ebeef5}.more-btn-panel__item .el-button{padding:8px 12px;width:100%;text-align:left}.ea-zoom-in-top-enter-active,.ea-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top}.ea-zoom-in-top-enter,.ea-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-dialog.ea-modal.is-closing{margin:0!important}.el-dialog.ea-modal.is-fullscreen{border-radius:0;margin:0}.el-dialog.ea-modal .el-dialog__header{color:#555;font-size:18px}.el-dialog.ea-modal .el-dialog__header .el-dialog__title{color:inherit;font-size:inherit}.ea-button-tooltip+.ea-button-tooltip{margin-left:10px}td .ea-button-tooltip+.ea-button-tooltip{margin-left:4px}td .ea-button-tooltip+.ea-button-tooltip.text{margin-left:10px}td .el-button [class*=el-icon-]+span{margin-left:2px}.el-button.ea-button.mini-rect-btn{padding:7px;border:0}.el-button.ea-button.mini-rect-btn [class^=design-]{margin-right:0}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary{background-color:#409eff26;color:#409eff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:focus{background-color:#409eff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).primary:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success{background-color:#67c23a26;color:#67c23a}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:focus{background-color:#67c23a}.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).success:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info{background-color:#90939926;color:#909399}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:focus{background-color:#909399}.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).info:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning{background-color:#e6a23c26;color:#e6a23c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:focus{background-color:#e6a23c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).warning:focus i{color:#fff}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger{background-color:#f56c6c26;color:#f56c6c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:hover,.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:focus{background-color:#f56c6c}.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:hover i,.el-button.ea-button.mini-rect-btn:not(.is-disabled).danger:focus i{color:#fff}.ea-split-container{display:flex}.ea-split-container.is-down{user-select:none}.ea-split-container .sc-left,.ea-split-container .sc-right{flex-grow:1;flex-shrink:1}.ea-split-container .sc-bamboo{flex-grow:0;flex-shrink:0;width:8px;border:1px solid #DCDEE2;border-top:none;border-bottom:none;background-color:#f8f8f9;cursor:col-resize;user-select:none;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 16px}.ea-split-container .sc-bamboo .sc-texture{width:4px;height:1px;background:rgba(23,35,61,.25);margin-top:3px}.ea-tree .ea-tree-real .el-tree-node>.el-tree-node__content{border-radius:4px}.ea-tree .ea-tree-real .el-tree-node.is-current>.el-tree-node__content{color:#409eff;background-color:#409eff1a}.ea-list .loading-text{color:#909399;text-align:center;font-size:inherit}.ea-desc{font-size:14px}.ea-desc__title{font-size:16px;margin-bottom:12px}.ea-desc__list{display:flex;flex-wrap:wrap}.ea-desc .item{line-height:24px;margin-bottom:10px;flex:0 0 auto}.ea-desc .item .item-label{float:left;text-align:right;padding-right:8px;color:#909399}.ea-desc .item .item-value{word-break:break-all}.ea-desc .item .item-value .value-no-wrap{height:48px;overflow:hidden;position:relative}.ea-desc .item .item-value .value-no-wrap .click-see-more{position:absolute;right:0;bottom:0;height:24px;padding-left:30px;padding-right:4px;background-image:linear-gradient(to right,transparent 0%,#fff 20%,#fff 100%);cursor:pointer;color:#409eff;user-select:none}.ea-number .el-input__inner{text-align:left}.file-upload-dialog .el-upload,.file-upload-dialog .el-upload .el-upload-dragger{width:100%}.file-upload-dialog .el-upload-list .el-upload-list__item{border:1px dashed #aaa}.file-upload-dialog .el-upload-list .el-upload-list__item .el-icon-close{display:inline-block}.file-upload-dialog .el-list-enter,.file-upload-dialog .el-list-enter-active,.file-upload-dialog .el-list-enter-to,.file-upload-dialog .el-list-leave,.file-upload-dialog .el-list-leave-active,.file-upload-dialog .el-list-leave-to{-webkit-transition:none!important;transition:none!important}.ea-table-modal{overflow:visible;right:unset;right:initial;bottom:unset;bottom:initial;width:100%;height:0}.ea-table-modal .el-dialog{background:#fdfdfd;box-shadow:0 0 16px #00000026}.ea-table-modal .el-dialog .el-dialog__header{padding:12px 20px;background-color:#f2f6fc;border-bottom:1px solid #EBEEF5}.ea-table-modal .el-dialog .el-dialog__headerbtn{top:12px}.ea-table-modal .el-dialog .el-dialog__close{font-weight:700;color:#909399}.ea-table-modal .el-dialog .el-dialog__body{padding:10px 0;height:calc(100% - 70px);min-height:40px;max-height:800px;overflow:auto}.ea-table-modal .el-dialog .el-dialog__body .scm-title{font-size:12px;font-weight:700;color:#303133}.ea-table-modal .el-dialog .el-dialog__body .scm-title.medium{font-size:14px}.ea-table-modal .el-dialog .el-dialog__body .el-tree{background:transparent;font-size:12px}.ea-table-modal .el-dialog .el-dialog__body .el-tree .el-tree-node__label{font-size:12px}.ea-table-modal .el-dialog .el-dialog__body .el-tree.medium,.ea-table-modal .el-dialog .el-dialog__body .el-tree.medium .el-tree-node__label{font-size:14px}
|
package/lib/style.scss
CHANGED
|
@@ -27,6 +27,7 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
27
27
|
.ea-select-popover {
|
|
28
28
|
.el-select-dropdown__item {
|
|
29
29
|
display: flex;
|
|
30
|
+
justify-content: space-between;
|
|
30
31
|
.select-item-value {
|
|
31
32
|
overflow: hidden;
|
|
32
33
|
text-overflow: ellipsis;
|
|
@@ -40,24 +41,123 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
// table
|
|
45
|
+
.ea-table {
|
|
46
|
+
// 表格头部样式美化
|
|
47
|
+
.el-table {
|
|
48
|
+
th {
|
|
49
|
+
background-color: $--color-border-extralight;
|
|
50
|
+
color: $--color-primary-text;
|
|
51
|
+
.cell {
|
|
52
|
+
min-height: 30px;
|
|
53
|
+
display: flex;
|
|
54
|
+
justify-content: flex-start;
|
|
55
|
+
align-items: center;
|
|
56
|
+
}
|
|
57
|
+
&.is-center .cell { justify-content: center }
|
|
58
|
+
&.is-right .cell { justify-content: flex-end }
|
|
59
|
+
}
|
|
60
|
+
td, th {
|
|
61
|
+
.cell {
|
|
62
|
+
line-height: 1.2;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
&.el-table--small {
|
|
66
|
+
td, th {
|
|
67
|
+
height: 48px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
&.is-dense {
|
|
71
|
+
td, th {
|
|
72
|
+
height: 32px;
|
|
73
|
+
padding: 2px 0;
|
|
74
|
+
.el-button {
|
|
75
|
+
padding-top: 0;
|
|
76
|
+
padding-bottom: 0;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
46
80
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
81
|
+
// 列的更多菜单项
|
|
82
|
+
.theader-th-cell {
|
|
83
|
+
.cell-icon-menu {
|
|
84
|
+
position: absolute;
|
|
85
|
+
top: 50%;
|
|
86
|
+
right: 4px;
|
|
87
|
+
transform: rotate(90deg) translateX(-50%);
|
|
88
|
+
color: $--color-placeholder-text;
|
|
89
|
+
cursor: pointer;
|
|
90
|
+
padding: 4px;
|
|
91
|
+
border-radius: 2px;
|
|
92
|
+
&:hover {
|
|
93
|
+
color: $--color-primary-text;
|
|
94
|
+
background-color: $--color-border-light;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
50
97
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
98
|
+
// 表格底部
|
|
99
|
+
.ea-table__footer {
|
|
100
|
+
display: flex;
|
|
101
|
+
justify-content: space-between;
|
|
102
|
+
.ea-table__footer-right {
|
|
103
|
+
margin-left: auto;
|
|
104
|
+
padding-right: 0;
|
|
57
105
|
}
|
|
106
|
+
> * {
|
|
107
|
+
margin-top: 12px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.column-transition-active {
|
|
112
|
+
opacity: 0.33;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.el-button > i {
|
|
116
|
+
min-width: 12px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.more-btn > i{
|
|
120
|
+
transform: rotate(-90deg);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// table - popover
|
|
125
|
+
.el-popover.ea-popover-no-padding {
|
|
126
|
+
padding: 8px 0;
|
|
127
|
+
min-width: 100px;
|
|
128
|
+
&.dense {
|
|
129
|
+
margin-top: 0px;
|
|
130
|
+
margin-bottom: 0px;
|
|
131
|
+
min-width: 70px;
|
|
58
132
|
}
|
|
59
133
|
}
|
|
60
134
|
|
|
135
|
+
.more-btn-panel {
|
|
136
|
+
&__item {
|
|
137
|
+
&:hover {
|
|
138
|
+
background-color: $--color-border-lighter;
|
|
139
|
+
}
|
|
140
|
+
.el-button {
|
|
141
|
+
padding: 8px 12px;
|
|
142
|
+
width: 100%;
|
|
143
|
+
text-align: left;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.ea-zoom-in-top-enter-active,
|
|
149
|
+
.ea-zoom-in-top-leave-active {
|
|
150
|
+
opacity: 1;
|
|
151
|
+
transform: scaleY(1);
|
|
152
|
+
transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
|
|
153
|
+
transform-origin: center top;
|
|
154
|
+
}
|
|
155
|
+
.ea-zoom-in-top-enter,
|
|
156
|
+
.ea-zoom-in-top-leave-active {
|
|
157
|
+
opacity: 0;
|
|
158
|
+
transform: scaleY(0);
|
|
159
|
+
}
|
|
160
|
+
|
|
61
161
|
.ea-button-tooltip + .ea-button-tooltip {
|
|
62
162
|
margin-left: 10px;
|
|
63
163
|
}
|
|
@@ -123,14 +223,20 @@ td {
|
|
|
123
223
|
}
|
|
124
224
|
}
|
|
125
225
|
|
|
126
|
-
.ea-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
226
|
+
.el-dialog.ea-modal {
|
|
227
|
+
&.is-closing {
|
|
228
|
+
margin: 0 !important;
|
|
229
|
+
}
|
|
230
|
+
&.is-fullscreen {
|
|
231
|
+
border-radius: 0;
|
|
232
|
+
margin: 0;
|
|
233
|
+
}
|
|
234
|
+
.el-dialog__header {
|
|
235
|
+
color: #555;
|
|
236
|
+
font-size: 18px;
|
|
237
|
+
.el-dialog__title {
|
|
238
|
+
color: inherit;
|
|
239
|
+
font-size: inherit;
|
|
134
240
|
}
|
|
135
241
|
}
|
|
136
242
|
}
|
|
@@ -172,10 +278,6 @@ td {
|
|
|
172
278
|
}
|
|
173
279
|
}
|
|
174
280
|
|
|
175
|
-
.ea-number .el-input__inner {
|
|
176
|
-
text-align: left;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
281
|
.ea-list {
|
|
180
282
|
.loading-text {
|
|
181
283
|
color: $--color-secondary-text;
|
|
@@ -184,6 +286,18 @@ td {
|
|
|
184
286
|
}
|
|
185
287
|
}
|
|
186
288
|
|
|
289
|
+
.ea-tree {
|
|
290
|
+
.ea-tree-real {
|
|
291
|
+
.el-tree-node > .el-tree-node__content{
|
|
292
|
+
border-radius: 4px;
|
|
293
|
+
}
|
|
294
|
+
.el-tree-node.is-current > .el-tree-node__content {
|
|
295
|
+
color: $--color-primary;
|
|
296
|
+
background-color: rgba($--color-primary, 0.1);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
187
301
|
.ea-desc {
|
|
188
302
|
font-size: 14px;
|
|
189
303
|
&__title {
|
|
@@ -227,6 +341,10 @@ td {
|
|
|
227
341
|
}
|
|
228
342
|
}
|
|
229
343
|
|
|
344
|
+
.ea-number .el-input__inner {
|
|
345
|
+
text-align: left;
|
|
346
|
+
}
|
|
347
|
+
|
|
230
348
|
.file-upload-dialog {
|
|
231
349
|
// 拖拽区域铺满
|
|
232
350
|
.el-upload,
|
|
@@ -254,123 +372,6 @@ td {
|
|
|
254
372
|
}
|
|
255
373
|
}
|
|
256
374
|
|
|
257
|
-
// table
|
|
258
|
-
.ea-table {
|
|
259
|
-
// 表格头部样式美化
|
|
260
|
-
.el-table {
|
|
261
|
-
th {
|
|
262
|
-
background-color: $--color-border-extralight;
|
|
263
|
-
color: $--color-primary-text;
|
|
264
|
-
.cell {
|
|
265
|
-
min-height: 30px;
|
|
266
|
-
display: flex;
|
|
267
|
-
justify-content: flex-start;
|
|
268
|
-
align-items: center;
|
|
269
|
-
}
|
|
270
|
-
&.is-center .cell { justify-content: center }
|
|
271
|
-
&.is-right .cell { justify-content: flex-end }
|
|
272
|
-
}
|
|
273
|
-
td, th {
|
|
274
|
-
.cell {
|
|
275
|
-
line-height: 1.2;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
&.el-table--small {
|
|
279
|
-
td, th {
|
|
280
|
-
height: 48px;
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
&.is-dense {
|
|
284
|
-
td, th {
|
|
285
|
-
height: 32px;
|
|
286
|
-
padding: 2px 0;
|
|
287
|
-
.el-button {
|
|
288
|
-
padding-top: 0;
|
|
289
|
-
padding-bottom: 0;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
// 列的更多菜单项
|
|
295
|
-
.theader-th-cell {
|
|
296
|
-
.cell-icon-menu {
|
|
297
|
-
position: absolute;
|
|
298
|
-
top: 50%;
|
|
299
|
-
right: 4px;
|
|
300
|
-
transform: rotate(90deg) translateX(-50%);
|
|
301
|
-
color: $--color-placeholder-text;
|
|
302
|
-
cursor: pointer;
|
|
303
|
-
padding: 4px;
|
|
304
|
-
border-radius: 2px;
|
|
305
|
-
&:hover {
|
|
306
|
-
color: $--color-primary-text;
|
|
307
|
-
background-color: $--color-border-light;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
// 表格底部
|
|
312
|
-
.ea-table__footer {
|
|
313
|
-
display: flex;
|
|
314
|
-
justify-content: space-between;
|
|
315
|
-
.ea-table__footer-right {
|
|
316
|
-
margin-left: auto;
|
|
317
|
-
padding-right: 0;
|
|
318
|
-
}
|
|
319
|
-
> * {
|
|
320
|
-
margin-top: 12px;
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.column-transition-active {
|
|
325
|
-
opacity: 0.33;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.el-button > i {
|
|
329
|
-
min-width: 12px;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.more-btn > i{
|
|
333
|
-
transform: rotate(-90deg);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
// table - popover
|
|
338
|
-
.el-popover.ea-popover-no-padding {
|
|
339
|
-
padding: 8px 0;
|
|
340
|
-
min-width: 100px;
|
|
341
|
-
&.dense {
|
|
342
|
-
margin-top: 0px;
|
|
343
|
-
margin-bottom: 0px;
|
|
344
|
-
min-width: 70px;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
.more-btn-panel {
|
|
349
|
-
&__item {
|
|
350
|
-
&:hover {
|
|
351
|
-
background-color: $--color-border-lighter;
|
|
352
|
-
}
|
|
353
|
-
.el-button {
|
|
354
|
-
padding: 8px 12px;
|
|
355
|
-
width: 100%;
|
|
356
|
-
text-align: left;
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.ea-zoom-in-top-enter-active,
|
|
362
|
-
.ea-zoom-in-top-leave-active {
|
|
363
|
-
opacity: 1;
|
|
364
|
-
transform: scaleY(1);
|
|
365
|
-
transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
|
|
366
|
-
transform-origin: center top;
|
|
367
|
-
}
|
|
368
|
-
.ea-zoom-in-top-enter,
|
|
369
|
-
.ea-zoom-in-top-leave-active {
|
|
370
|
-
opacity: 0;
|
|
371
|
-
transform: scaleY(0);
|
|
372
|
-
}
|
|
373
|
-
|
|
374
375
|
.ea-form .form-group-title {
|
|
375
376
|
position: relative;
|
|
376
377
|
height: 32px;
|