element-assits 0.0.14 → 0.0.16
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 +4 -2
- package/lib/index.js +66 -55
- package/lib/style.css +1 -1
- package/lib/style.scss +70 -56
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,8 +57,10 @@ Vue 原型上挂载了 `$asyncLoad` 方法
|
|
|
57
57
|
| innerPagination | 内部 - 分页 | Boolean \| Object | undefined
|
|
58
58
|
| innerOperation | 内部 - 操作栏(尾列)| Boolean \| Object | undefined
|
|
59
59
|
|
|
60
|
-
> `
|
|
61
|
-
|
|
60
|
+
> `innerForm` 可以绑定 `{ limit: 'auto', referenceItemWidth: 180, maxItemWidth: 240 }`
|
|
61
|
+
`limit` 限制默认显示的搜索条件数量,`referenceItemWidth` 单项参考宽度,`maxItemWidth` 单项最大宽度。
|
|
62
|
+
> `innerSelection` 可以绑定 `{ data: selectedRows }` 接收选中的行。
|
|
63
|
+
> `innerOperation` 可以绑定 `{ maxNumOfBtn: 3 }` 设置操作栏最大显示的按钮数,超出将被折叠。
|
|
62
64
|
|
|
63
65
|
## methods
|
|
64
66
|
|
package/lib/index.js
CHANGED
|
@@ -49,7 +49,7 @@ function Et(t) {
|
|
|
49
49
|
var e = t + "";
|
|
50
50
|
return e == "0" && 1 / t == -wn ? "-0" : e;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function H(t) {
|
|
53
53
|
var e = typeof t;
|
|
54
54
|
return t != null && (e == "object" || e == "function");
|
|
55
55
|
}
|
|
@@ -58,7 +58,7 @@ function Le(t) {
|
|
|
58
58
|
}
|
|
59
59
|
var xn = "[object AsyncFunction]", Tn = "[object Function]", Cn = "[object GeneratorFunction]", Sn = "[object Proxy]";
|
|
60
60
|
function w(t) {
|
|
61
|
-
if (!
|
|
61
|
+
if (!H(t))
|
|
62
62
|
return !1;
|
|
63
63
|
var e = I(t);
|
|
64
64
|
return e == Tn || e == Cn || e == xn || e == Sn;
|
|
@@ -90,7 +90,7 @@ var Ln = /[\\^$.*+?()[\]{}|]/g, Rn = /^\[object .+?Constructor\]$/, Fn = Functio
|
|
|
90
90
|
"^" + jn.call(In).replace(Ln, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
91
91
|
);
|
|
92
92
|
function Dn(t) {
|
|
93
|
-
if (!
|
|
93
|
+
if (!H(t) || En(t))
|
|
94
94
|
return !1;
|
|
95
95
|
var e = w(t) ? Nn : Rn;
|
|
96
96
|
return e.test(N(t));
|
|
@@ -104,11 +104,11 @@ function D(t, e) {
|
|
|
104
104
|
}
|
|
105
105
|
var kn = D(O, "WeakMap");
|
|
106
106
|
const ve = kn;
|
|
107
|
-
var Qe = Object.create,
|
|
107
|
+
var Qe = Object.create, Wn = function() {
|
|
108
108
|
function t() {
|
|
109
109
|
}
|
|
110
110
|
return function(e) {
|
|
111
|
-
if (!
|
|
111
|
+
if (!H(e))
|
|
112
112
|
return {};
|
|
113
113
|
if (Qe)
|
|
114
114
|
return Qe(e);
|
|
@@ -117,7 +117,7 @@ var Qe = Object.create, Hn = function() {
|
|
|
117
117
|
return t.prototype = void 0, n;
|
|
118
118
|
};
|
|
119
119
|
}();
|
|
120
|
-
const
|
|
120
|
+
const Hn = Wn;
|
|
121
121
|
function qn(t, e, n) {
|
|
122
122
|
switch (n.length) {
|
|
123
123
|
case 0:
|
|
@@ -277,8 +277,8 @@ 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]", Ar = "[object Number]", Pr = "[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]", Br = "[object Int8Array]", kr = "[object Int16Array]",
|
|
281
|
-
_[Nr] = _[Dr] = _[Br] = _[kr] = _[
|
|
280
|
+
var wr = "[object Arguments]", xr = "[object Array]", Tr = "[object Boolean]", Cr = "[object Date]", Sr = "[object Error]", Or = "[object Function]", Er = "[object Map]", Ar = "[object Number]", Pr = "[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]", Br = "[object Int8Array]", kr = "[object Int16Array]", Wr = "[object Int32Array]", Hr = "[object Uint8Array]", qr = "[object Uint8ClampedArray]", zr = "[object Uint16Array]", Ur = "[object Uint32Array]", _ = {};
|
|
281
|
+
_[Nr] = _[Dr] = _[Br] = _[kr] = _[Wr] = _[Hr] = _[qr] = _[zr] = _[Ur] = !0;
|
|
282
282
|
_[wr] = _[xr] = _[jr] = _[Tr] = _[Ir] = _[Cr] = _[Sr] = _[Or] = _[Er] = _[Ar] = _[Pr] = _[Lr] = _[Rr] = _[Fr] = _[Mr] = !1;
|
|
283
283
|
function Gr(t) {
|
|
284
284
|
return S(t) && Fe(t.length) && !!_[I(t)];
|
|
@@ -333,7 +333,7 @@ function ni(t) {
|
|
|
333
333
|
}
|
|
334
334
|
var ri = Object.prototype, ii = ri.hasOwnProperty;
|
|
335
335
|
function si(t) {
|
|
336
|
-
if (!
|
|
336
|
+
if (!H(t))
|
|
337
337
|
return ni(t);
|
|
338
338
|
var e = ae(t), n = [];
|
|
339
339
|
for (var r in t)
|
|
@@ -501,18 +501,18 @@ var Ni = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
|
|
|
501
501
|
}), e;
|
|
502
502
|
});
|
|
503
503
|
const ki = Bi;
|
|
504
|
-
function
|
|
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] : ki(
|
|
508
|
+
return y(t) ? t : Ie(t, e) ? [t] : ki(Wi(t));
|
|
509
509
|
}
|
|
510
|
-
var
|
|
510
|
+
var Hi = 1 / 0;
|
|
511
511
|
function Q(t) {
|
|
512
512
|
if (typeof t == "string" || Ae(t))
|
|
513
513
|
return t;
|
|
514
514
|
var e = t + "";
|
|
515
|
-
return e == "0" && 1 / t == -
|
|
515
|
+
return e == "0" && 1 / t == -Hi ? "-0" : e;
|
|
516
516
|
}
|
|
517
517
|
function De(t, e) {
|
|
518
518
|
e = he(e, t);
|
|
@@ -549,12 +549,12 @@ function Ui(t) {
|
|
|
549
549
|
return At(Ft(t, void 0, zi), t + "");
|
|
550
550
|
}
|
|
551
551
|
var Gi = Dt(Object.getPrototypeOf, Object);
|
|
552
|
-
const
|
|
552
|
+
const We = Gi;
|
|
553
553
|
var Xi = "[object Object]", Ki = Function.prototype, Yi = Object.prototype, kt = Ki.toString, Zi = Yi.hasOwnProperty, Ji = kt.call(Object);
|
|
554
554
|
function Y(t) {
|
|
555
555
|
if (!S(t) || I(t) != Xi)
|
|
556
556
|
return !1;
|
|
557
|
-
var e =
|
|
557
|
+
var e = We(t);
|
|
558
558
|
if (e === null)
|
|
559
559
|
return !0;
|
|
560
560
|
var n = Zi.call(e, "constructor") && e.constructor;
|
|
@@ -606,7 +606,7 @@ function ss(t, e) {
|
|
|
606
606
|
function os(t, e) {
|
|
607
607
|
return t && J(e, je(e), t);
|
|
608
608
|
}
|
|
609
|
-
var
|
|
609
|
+
var Wt = typeof exports == "object" && exports && !exports.nodeType && exports, st = Wt && typeof module == "object" && module && !module.nodeType && module, as = st && st.exports === Wt, ot = as ? O.Buffer : void 0, at = ot ? ot.allocUnsafe : void 0;
|
|
610
610
|
function ls(t, e) {
|
|
611
611
|
if (e)
|
|
612
612
|
return t.slice();
|
|
@@ -620,23 +620,23 @@ function us(t, e) {
|
|
|
620
620
|
}
|
|
621
621
|
return s;
|
|
622
622
|
}
|
|
623
|
-
function
|
|
623
|
+
function Ht() {
|
|
624
624
|
return [];
|
|
625
625
|
}
|
|
626
626
|
var cs = Object.prototype, ds = cs.propertyIsEnumerable, lt = Object.getOwnPropertySymbols, fs = lt ? function(t) {
|
|
627
627
|
return t == null ? [] : (t = Object(t), us(lt(t), function(e) {
|
|
628
628
|
return ds.call(t, e);
|
|
629
629
|
}));
|
|
630
|
-
} :
|
|
631
|
-
const
|
|
630
|
+
} : Ht;
|
|
631
|
+
const He = fs;
|
|
632
632
|
function hs(t, e) {
|
|
633
|
-
return J(t,
|
|
633
|
+
return J(t, He(t), e);
|
|
634
634
|
}
|
|
635
635
|
var ps = Object.getOwnPropertySymbols, _s = ps ? function(t) {
|
|
636
636
|
for (var e = []; t; )
|
|
637
|
-
Be(e,
|
|
637
|
+
Be(e, He(t)), t = We(t);
|
|
638
638
|
return e;
|
|
639
|
-
} :
|
|
639
|
+
} : Ht;
|
|
640
640
|
const qt = _s;
|
|
641
641
|
function gs(t, e) {
|
|
642
642
|
return J(t, qt(t), e);
|
|
@@ -646,7 +646,7 @@ function zt(t, e, n) {
|
|
|
646
646
|
return y(t) ? r : Be(r, n(t));
|
|
647
647
|
}
|
|
648
648
|
function $e(t) {
|
|
649
|
-
return zt(t, ce,
|
|
649
|
+
return zt(t, ce, He);
|
|
650
650
|
}
|
|
651
651
|
function Ut(t) {
|
|
652
652
|
return zt(t, je, qt);
|
|
@@ -675,7 +675,7 @@ var ut = "[object Map]", vs = "[object Object]", ct = "[object Promise]", dt = "
|
|
|
675
675
|
}
|
|
676
676
|
return e;
|
|
677
677
|
});
|
|
678
|
-
const
|
|
678
|
+
const W = F;
|
|
679
679
|
var Ss = Object.prototype, Os = Ss.hasOwnProperty;
|
|
680
680
|
function Es(t) {
|
|
681
681
|
var e = t.length, n = new t.constructor(e);
|
|
@@ -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]", Bs = "[object RegExp]", ks = "[object Set]",
|
|
707
|
+
var js = "[object Boolean]", Is = "[object Date]", Ns = "[object Map]", Ds = "[object Number]", Bs = "[object RegExp]", ks = "[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) {
|
|
@@ -728,28 +728,28 @@ function eo(t, e, n) {
|
|
|
728
728
|
case Ns:
|
|
729
729
|
return new r();
|
|
730
730
|
case Ds:
|
|
731
|
-
case
|
|
731
|
+
case Ws:
|
|
732
732
|
return new r(t);
|
|
733
733
|
case Bs:
|
|
734
734
|
return Rs(t);
|
|
735
735
|
case ks:
|
|
736
736
|
return new r();
|
|
737
|
-
case
|
|
737
|
+
case Hs:
|
|
738
738
|
return Fs(t);
|
|
739
739
|
}
|
|
740
740
|
}
|
|
741
741
|
function to(t) {
|
|
742
|
-
return typeof t.constructor == "function" && !ae(t) ?
|
|
742
|
+
return typeof t.constructor == "function" && !ae(t) ? Hn(We(t)) : {};
|
|
743
743
|
}
|
|
744
744
|
var no = "[object Map]";
|
|
745
745
|
function ro(t) {
|
|
746
|
-
return S(t) &&
|
|
746
|
+
return S(t) && W(t) == no;
|
|
747
747
|
}
|
|
748
748
|
var gt = k && k.isMap, io = gt ? ue(gt) : ro;
|
|
749
749
|
const so = io;
|
|
750
750
|
var oo = "[object Set]";
|
|
751
751
|
function ao(t) {
|
|
752
|
-
return S(t) &&
|
|
752
|
+
return S(t) && W(t) == oo;
|
|
753
753
|
}
|
|
754
754
|
var mt = k && k.isSet, lo = mt ? ue(mt) : ao;
|
|
755
755
|
const uo = lo;
|
|
@@ -760,14 +760,14 @@ function U(t, e, n, r, i, s) {
|
|
|
760
760
|
var o, a = e & co, l = e & fo, u = e & ho;
|
|
761
761
|
if (n && (o = i ? n(t, r, i, s) : n(t)), o !== void 0)
|
|
762
762
|
return o;
|
|
763
|
-
if (!
|
|
763
|
+
if (!H(t))
|
|
764
764
|
return t;
|
|
765
765
|
var f = y(t);
|
|
766
766
|
if (f) {
|
|
767
767
|
if (o = Es(t), !a)
|
|
768
768
|
return zn(t, o);
|
|
769
769
|
} else {
|
|
770
|
-
var c =
|
|
770
|
+
var c = W(t), d = c == Xt || c == yo;
|
|
771
771
|
if (G(t))
|
|
772
772
|
return ls(t, a);
|
|
773
773
|
if (c == Kt || c == Gt || d && !i) {
|
|
@@ -801,7 +801,7 @@ var Bo = "__lodash_hash_undefined__";
|
|
|
801
801
|
function ko(t) {
|
|
802
802
|
return this.__data__.set(t, Bo), this;
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function Wo(t) {
|
|
805
805
|
return this.__data__.has(t);
|
|
806
806
|
}
|
|
807
807
|
function Z(t) {
|
|
@@ -810,8 +810,8 @@ function Z(t) {
|
|
|
810
810
|
this.add(t[e]);
|
|
811
811
|
}
|
|
812
812
|
Z.prototype.add = Z.prototype.push = ko;
|
|
813
|
-
Z.prototype.has =
|
|
814
|
-
function
|
|
813
|
+
Z.prototype.has = Wo;
|
|
814
|
+
function Ho(t, e) {
|
|
815
815
|
for (var n = -1, r = t == null ? 0 : t.length; ++n < r; )
|
|
816
816
|
if (e(t[n], n, t))
|
|
817
817
|
return !0;
|
|
@@ -840,7 +840,7 @@ function Zt(t, e, n, r, i, s) {
|
|
|
840
840
|
break;
|
|
841
841
|
}
|
|
842
842
|
if (h) {
|
|
843
|
-
if (!
|
|
843
|
+
if (!Ho(e, function(v, R) {
|
|
844
844
|
if (!Yt(h, R) && (g === v || i(g, v, n, r, s)))
|
|
845
845
|
return h.push(R);
|
|
846
846
|
})) {
|
|
@@ -936,7 +936,7 @@ function ca(t, e, n, r, i, s) {
|
|
|
936
936
|
}
|
|
937
937
|
var da = 1, bt = "[object Arguments]", vt = "[object Array]", te = "[object Object]", fa = Object.prototype, $t = fa.hasOwnProperty;
|
|
938
938
|
function ha(t, e, n, r, i, s) {
|
|
939
|
-
var o = y(t), a = y(e), l = o ? vt :
|
|
939
|
+
var o = y(t), a = y(e), l = o ? vt : W(t), u = a ? vt : W(e);
|
|
940
940
|
l = l == bt ? te : l, u = u == bt ? te : u;
|
|
941
941
|
var f = l == te, c = u == te, d = l == u;
|
|
942
942
|
if (d && G(t)) {
|
|
@@ -985,7 +985,7 @@ function ga(t, e, n, r) {
|
|
|
985
985
|
return !0;
|
|
986
986
|
}
|
|
987
987
|
function Jt(t) {
|
|
988
|
-
return t === t && !
|
|
988
|
+
return t === t && !H(t);
|
|
989
989
|
}
|
|
990
990
|
function ma(t) {
|
|
991
991
|
for (var e = ce(t), n = e.length; n--; ) {
|
|
@@ -1090,7 +1090,7 @@ function Ce(t) {
|
|
|
1090
1090
|
return !0;
|
|
1091
1091
|
if (oe(t) && (y(t) || typeof t == "string" || typeof t.splice == "function" || G(t) || Me(t) || le(t)))
|
|
1092
1092
|
return !t.length;
|
|
1093
|
-
var e =
|
|
1093
|
+
var e = W(t);
|
|
1094
1094
|
if (e == ja || e == Ia)
|
|
1095
1095
|
return !t.size;
|
|
1096
1096
|
if (ae(t))
|
|
@@ -1109,14 +1109,14 @@ function Ba(t, e) {
|
|
|
1109
1109
|
function ka(t) {
|
|
1110
1110
|
return Y(t) ? void 0 : t;
|
|
1111
1111
|
}
|
|
1112
|
-
var
|
|
1112
|
+
var Wa = 1, Ha = 2, qa = 4, za = Ui(function(t, e) {
|
|
1113
1113
|
var n = {};
|
|
1114
1114
|
if (t == null)
|
|
1115
1115
|
return n;
|
|
1116
1116
|
var r = !1;
|
|
1117
1117
|
e = Pe(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,
|
|
1119
|
+
}), J(t, Ut(t), n), r && (n = U(n, Wa | Ha | qa, ka));
|
|
1120
1120
|
for (var i = e.length; i--; )
|
|
1121
1121
|
Ba(n, e[i]);
|
|
1122
1122
|
return n;
|
|
@@ -1559,6 +1559,14 @@ const en = hl.exports, pl = {
|
|
|
1559
1559
|
limit: {
|
|
1560
1560
|
type: [Number, String],
|
|
1561
1561
|
default: "auto"
|
|
1562
|
+
},
|
|
1563
|
+
referenceItemWidth: {
|
|
1564
|
+
type: Number,
|
|
1565
|
+
default: 180
|
|
1566
|
+
},
|
|
1567
|
+
maxItemWidth: {
|
|
1568
|
+
type: Number,
|
|
1569
|
+
default: 240
|
|
1562
1570
|
}
|
|
1563
1571
|
},
|
|
1564
1572
|
data() {
|
|
@@ -1603,13 +1611,11 @@ const en = hl.exports, pl = {
|
|
|
1603
1611
|
const t = this.$refs.eform && this.$refs.eform.$el;
|
|
1604
1612
|
if (!t)
|
|
1605
1613
|
return;
|
|
1606
|
-
const e = this.getWidth(t), n = this.getWidth(this.$refs.sa.$el) + 10, r = this.getWidth(this.$refs.tm.$el), i = Math.floor(e /
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
this.allColumn.forEach((o, a) => {
|
|
1612
|
-
o.style.width = s + "px", (a + 1) % i === 0 ? o.style.marginRight = 0 : o.style.marginRight = "10px";
|
|
1614
|
+
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.allColumn.length : typeof this.limit == "number" ? Math.min(this.limit, this.allColumn.length) : o >= 1 ? o : s >= 1 ? s : i;
|
|
1616
|
+
const a = this.showAll ? this.allColumn.length : 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;
|
|
1617
|
+
this.allColumn.forEach((f, c) => {
|
|
1618
|
+
f.style.width = Math.min(l, this.maxItemWidth) + "px", (c + 1) % u === 0 ? f.style.marginRight = 0 : f.style.marginRight = "10px";
|
|
1613
1619
|
}), this.resetSearchCount();
|
|
1614
1620
|
},
|
|
1615
1621
|
getWidth(t) {
|
|
@@ -1817,7 +1823,11 @@ function Sl(t, e, n) {
|
|
|
1817
1823
|
clearTimeout(Tt), Tt = setTimeout(() => {
|
|
1818
1824
|
this.$asyncLoad(() => Promise.resolve().then(() => sn), {
|
|
1819
1825
|
class: "ea-select-container",
|
|
1820
|
-
attrs: {
|
|
1826
|
+
attrs: {
|
|
1827
|
+
popperClass: "ea-popover-no-padding dense",
|
|
1828
|
+
placement: "bottom",
|
|
1829
|
+
transition: "ea-zoom-in-top"
|
|
1830
|
+
},
|
|
1821
1831
|
props: {
|
|
1822
1832
|
reference: t.target,
|
|
1823
1833
|
offset: -20,
|
|
@@ -1986,6 +1996,7 @@ const Ol = {
|
|
|
1986
1996
|
column: e,
|
|
1987
1997
|
value: t[e.prop],
|
|
1988
1998
|
_column: n,
|
|
1999
|
+
that: this,
|
|
1989
2000
|
hideRefresh: () => this.hideRefresh()
|
|
1990
2001
|
}
|
|
1991
2002
|
)
|
|
@@ -2224,17 +2235,17 @@ var kl = function() {
|
|
|
2224
2235
|
return [e._t(i)];
|
|
2225
2236
|
}, proxy: !0 };
|
|
2226
2237
|
})], null, !0) }, "el-dialog", { closeOnClickModal: !1, appendToBody: !0, ...e.$attrs }, !1), e.$listeners));
|
|
2227
|
-
},
|
|
2238
|
+
}, Wl = [], Hl = /* @__PURE__ */ m(
|
|
2228
2239
|
Bl,
|
|
2229
2240
|
kl,
|
|
2230
|
-
|
|
2241
|
+
Wl,
|
|
2231
2242
|
!1,
|
|
2232
2243
|
null,
|
|
2233
2244
|
null,
|
|
2234
2245
|
null,
|
|
2235
2246
|
null
|
|
2236
2247
|
);
|
|
2237
|
-
const on =
|
|
2248
|
+
const on = Hl.exports;
|
|
2238
2249
|
const ql = {
|
|
2239
2250
|
props: {
|
|
2240
2251
|
customType: { type: String, default: void 0 },
|
|
@@ -2930,17 +2941,17 @@ var ku = function() {
|
|
|
2930
2941
|
return n("EaModal", { staticClass: "ea-table-modal", attrs: { visible: e.visible, modal: !1, width: "260px", "append-to-body": "" }, on: { "update:visible": function(r) {
|
|
2931
2942
|
e.visible = r;
|
|
2932
2943
|
} } }, [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);
|
|
2933
|
-
},
|
|
2944
|
+
}, Wu = [], Hu = /* @__PURE__ */ m(
|
|
2934
2945
|
Bu,
|
|
2935
2946
|
ku,
|
|
2936
|
-
|
|
2947
|
+
Wu,
|
|
2937
2948
|
!1,
|
|
2938
2949
|
null,
|
|
2939
2950
|
null,
|
|
2940
2951
|
null,
|
|
2941
2952
|
null
|
|
2942
2953
|
);
|
|
2943
|
-
const qu =
|
|
2954
|
+
const qu = Hu.exports, zu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2944
2955
|
__proto__: null,
|
|
2945
2956
|
default: qu
|
|
2946
2957
|
}, Symbol.toStringTag, { value: "Module" }));
|
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;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}.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}.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
|
@@ -126,6 +126,7 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
126
126
|
min-width: 100px;
|
|
127
127
|
&.dense {
|
|
128
128
|
margin-top: 0px;
|
|
129
|
+
margin-bottom: 0px;
|
|
129
130
|
min-width: 70px;
|
|
130
131
|
}
|
|
131
132
|
}
|
|
@@ -143,22 +144,17 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
143
144
|
}
|
|
144
145
|
}
|
|
145
146
|
|
|
146
|
-
.
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
.el-dialog__title {
|
|
158
|
-
color: inherit;
|
|
159
|
-
font-size: inherit;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
147
|
+
.ea-zoom-in-top-enter-active,
|
|
148
|
+
.ea-zoom-in-top-leave-active {
|
|
149
|
+
opacity: 1;
|
|
150
|
+
transform: scaleY(1);
|
|
151
|
+
transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
|
|
152
|
+
transform-origin: center top;
|
|
153
|
+
}
|
|
154
|
+
.ea-zoom-in-top-enter,
|
|
155
|
+
.ea-zoom-in-top-leave-active {
|
|
156
|
+
opacity: 0;
|
|
157
|
+
transform: scaleY(0);
|
|
162
158
|
}
|
|
163
159
|
|
|
164
160
|
.ea-button-tooltip + .ea-button-tooltip {
|
|
@@ -263,6 +259,24 @@ td {
|
|
|
263
259
|
}
|
|
264
260
|
}
|
|
265
261
|
|
|
262
|
+
.el-dialog.ea-modal {
|
|
263
|
+
&.is-closing {
|
|
264
|
+
margin: 0 !important;
|
|
265
|
+
}
|
|
266
|
+
&.is-fullscreen {
|
|
267
|
+
border-radius: 0;
|
|
268
|
+
margin: 0;
|
|
269
|
+
}
|
|
270
|
+
.el-dialog__header {
|
|
271
|
+
color: #555;
|
|
272
|
+
font-size: 18px;
|
|
273
|
+
.el-dialog__title {
|
|
274
|
+
color: inherit;
|
|
275
|
+
font-size: inherit;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
266
280
|
.ea-list {
|
|
267
281
|
.loading-text {
|
|
268
282
|
color: $--color-secondary-text;
|
|
@@ -271,6 +285,22 @@ td {
|
|
|
271
285
|
}
|
|
272
286
|
}
|
|
273
287
|
|
|
288
|
+
.ea-number .el-input__inner {
|
|
289
|
+
text-align: left;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.ea-tree {
|
|
293
|
+
.ea-tree-real {
|
|
294
|
+
.el-tree-node > .el-tree-node__content{
|
|
295
|
+
border-radius: 4px;
|
|
296
|
+
}
|
|
297
|
+
.el-tree-node.is-current > .el-tree-node__content {
|
|
298
|
+
color: $--color-primary;
|
|
299
|
+
background-color: rgba($--color-primary, 0.1);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
274
304
|
.ea-desc {
|
|
275
305
|
font-size: 14px;
|
|
276
306
|
&__title {
|
|
@@ -314,22 +344,6 @@ td {
|
|
|
314
344
|
}
|
|
315
345
|
}
|
|
316
346
|
|
|
317
|
-
.ea-tree {
|
|
318
|
-
.ea-tree-real {
|
|
319
|
-
.el-tree-node > .el-tree-node__content{
|
|
320
|
-
border-radius: 4px;
|
|
321
|
-
}
|
|
322
|
-
.el-tree-node.is-current > .el-tree-node__content {
|
|
323
|
-
color: $--color-primary;
|
|
324
|
-
background-color: rgba($--color-primary, 0.1);
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.ea-number .el-input__inner {
|
|
330
|
-
text-align: left;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
347
|
.file-upload-dialog {
|
|
334
348
|
// 拖拽区域铺满
|
|
335
349
|
.el-upload,
|
|
@@ -357,6 +371,30 @@ td {
|
|
|
357
371
|
}
|
|
358
372
|
}
|
|
359
373
|
|
|
374
|
+
.ea-form .form-group-title {
|
|
375
|
+
position: relative;
|
|
376
|
+
height: 32px;
|
|
377
|
+
margin-bottom: 22px;
|
|
378
|
+
> span {
|
|
379
|
+
position: absolute;
|
|
380
|
+
top: 0;
|
|
381
|
+
left: 20%;
|
|
382
|
+
padding: 5px 25px;
|
|
383
|
+
background-color: #fff;
|
|
384
|
+
z-index: 1;
|
|
385
|
+
color: $--color-secondary-text;
|
|
386
|
+
}
|
|
387
|
+
&::after {
|
|
388
|
+
content: '';
|
|
389
|
+
position: absolute;
|
|
390
|
+
top: 50%;
|
|
391
|
+
left: 0;
|
|
392
|
+
width: 100%;
|
|
393
|
+
height: 0;
|
|
394
|
+
border-bottom: 1px dashed $--color-border-base;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
360
398
|
.ea-table-modal {
|
|
361
399
|
overflow: visible;
|
|
362
400
|
right: unset;
|
|
@@ -411,30 +449,6 @@ td {
|
|
|
411
449
|
}
|
|
412
450
|
}
|
|
413
451
|
|
|
414
|
-
.ea-form .form-group-title {
|
|
415
|
-
position: relative;
|
|
416
|
-
height: 32px;
|
|
417
|
-
margin-bottom: 22px;
|
|
418
|
-
> span {
|
|
419
|
-
position: absolute;
|
|
420
|
-
top: 0;
|
|
421
|
-
left: 20%;
|
|
422
|
-
padding: 5px 25px;
|
|
423
|
-
background-color: #fff;
|
|
424
|
-
z-index: 1;
|
|
425
|
-
color: $--color-secondary-text;
|
|
426
|
-
}
|
|
427
|
-
&::after {
|
|
428
|
-
content: '';
|
|
429
|
-
position: absolute;
|
|
430
|
-
top: 50%;
|
|
431
|
-
left: 0;
|
|
432
|
-
width: 100%;
|
|
433
|
-
height: 0;
|
|
434
|
-
border-bottom: 1px dashed $--color-border-base;
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
|
|
438
452
|
.ea-select-container {
|
|
439
453
|
display: flex;
|
|
440
454
|
justify-content: flex-start;
|