element-assits 0.0.21 → 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 +1 -0
- package/lib/index.js +70 -60
- package/lib/style.css +1 -1
- package/lib/style.scss +90 -89
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -192,6 +192,7 @@ props: {
|
|
|
192
192
|
value: { type: [String, Array, Number], default: undefined },
|
|
193
193
|
label: { type: String, default: undefined },
|
|
194
194
|
data: { type: Array, default: () => [] },
|
|
195
|
+
asyncParams: undefined,
|
|
195
196
|
asyncData: { type: Function, default: undefined },
|
|
196
197
|
props: { type: Object, default: undefined },
|
|
197
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 {
|
|
@@ -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]",
|
|
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
281
|
_[Nr] = _[Dr] = _[kr] = _[Br] = _[Wr] = _[Hr] = _[qr] = _[zr] = _[Ur] = !0;
|
|
282
|
-
_[wr] = _[xr] = _[jr] = _[Tr] = _[Ir] = _[Cr] = _[Sr] = _[Or] = _[Er] = _[
|
|
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
|
}
|
|
@@ -302,7 +302,7 @@ 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) {
|
|
@@ -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) {
|
|
@@ -509,7 +509,7 @@ function he(t, e) {
|
|
|
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;
|
|
@@ -546,7 +546,7 @@ function zi(t) {
|
|
|
546
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;
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
|
@@ -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:
|
|
@@ -753,8 +753,8 @@ function ao(t) {
|
|
|
753
753
|
}
|
|
754
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;
|
|
@@ -806,7 +806,7 @@ function Wo(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
812
|
Z.prototype.add = Z.prototype.push = Bo;
|
|
@@ -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);
|
|
@@ -1114,7 +1114,7 @@ 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
1119
|
}), J(t, Ut(t), n), r && (n = U(n, Wa | Ha | qa, Ba));
|
|
1120
1120
|
for (var i = e.length; i--; )
|
|
@@ -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,
|
|
@@ -2090,17 +2100,17 @@ var El = function() {
|
|
|
2090
2100
|
}, { data: e.data }), e._t("footer", function() {
|
|
2091
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)];
|
|
2092
2102
|
})], 2);
|
|
2093
|
-
},
|
|
2103
|
+
}, Pl = [], Al = /* @__PURE__ */ m(
|
|
2094
2104
|
Ol,
|
|
2095
2105
|
El,
|
|
2096
|
-
|
|
2106
|
+
Pl,
|
|
2097
2107
|
!1,
|
|
2098
2108
|
null,
|
|
2099
2109
|
null,
|
|
2100
2110
|
null,
|
|
2101
2111
|
null
|
|
2102
2112
|
);
|
|
2103
|
-
const Ll =
|
|
2113
|
+
const Ll = Al.exports, Rl = {
|
|
2104
2114
|
inheritAttrs: !1,
|
|
2105
2115
|
props: {
|
|
2106
2116
|
reference: {
|
|
@@ -2165,18 +2175,18 @@ function Il(t) {
|
|
|
2165
2175
|
}
|
|
2166
2176
|
function Nl(t) {
|
|
2167
2177
|
const e = t.querySelector(".el-dialog"), n = [
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
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")
|
|
2176
2186
|
];
|
|
2177
2187
|
return () => n.forEach((r) => r());
|
|
2178
2188
|
}
|
|
2179
|
-
function
|
|
2189
|
+
function A(t, e) {
|
|
2180
2190
|
const n = document.createElement("div");
|
|
2181
2191
|
n.style.position = "absolute", Dl(n, e), t.style.userSelect = "none", t.appendChild(n);
|
|
2182
2192
|
let r = t.offsetLeft, i = t.offsetTop, s = t.offsetWidth, o = t.offsetHeight, a = !1, l, u;
|
|
@@ -2802,7 +2812,7 @@ var Cu = function() {
|
|
|
2802
2812
|
null,
|
|
2803
2813
|
null
|
|
2804
2814
|
);
|
|
2805
|
-
const Eu = Ou.exports,
|
|
2815
|
+
const Eu = Ou.exports, Pu = {
|
|
2806
2816
|
inheritAttrs: !1,
|
|
2807
2817
|
props: {
|
|
2808
2818
|
data: { type: Array, default: void 0 },
|
|
@@ -2830,14 +2840,14 @@ const Eu = Ou.exports, Au = {
|
|
|
2830
2840
|
},
|
|
2831
2841
|
methods: {}
|
|
2832
2842
|
};
|
|
2833
|
-
var
|
|
2843
|
+
var Au = function() {
|
|
2834
2844
|
var e = this, n = e._self._c;
|
|
2835
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) {
|
|
2836
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]) + " ")]);
|
|
2837
2847
|
}), 1);
|
|
2838
2848
|
}, Lu = [], Ru = /* @__PURE__ */ m(
|
|
2839
|
-
Au,
|
|
2840
2849
|
Pu,
|
|
2850
|
+
Au,
|
|
2841
2851
|
Lu,
|
|
2842
2852
|
!1,
|
|
2843
2853
|
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
|
@@ -11,6 +11,36 @@ $--color-border-base: #DCDFE6 !default;
|
|
|
11
11
|
$--color-border-light: #E4E7ED !default;
|
|
12
12
|
$--color-border-lighter: #EBEEF5 !default;
|
|
13
13
|
$--color-border-extralight: #F2F6FC !default;
|
|
14
|
+
.ea-select {
|
|
15
|
+
display: inline-block;
|
|
16
|
+
position: relative;
|
|
17
|
+
.el-select {
|
|
18
|
+
width: 100%;
|
|
19
|
+
}
|
|
20
|
+
.async-loading.el-icon-loading {
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 10px;
|
|
23
|
+
right: 28px;
|
|
24
|
+
color: #999;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.ea-select-popover {
|
|
28
|
+
.el-select-dropdown__item {
|
|
29
|
+
display: flex;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
.select-item-value {
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
text-overflow: ellipsis;
|
|
34
|
+
}
|
|
35
|
+
.select-item-desc {
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
text-overflow: ellipsis;
|
|
38
|
+
color: #8492a6;
|
|
39
|
+
margin-left: 8px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
14
44
|
// table
|
|
15
45
|
.ea-table {
|
|
16
46
|
// 表格头部样式美化
|
|
@@ -128,35 +158,6 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
128
158
|
transform: scaleY(0);
|
|
129
159
|
}
|
|
130
160
|
|
|
131
|
-
.ea-select {
|
|
132
|
-
display: inline-block;
|
|
133
|
-
position: relative;
|
|
134
|
-
.el-select {
|
|
135
|
-
width: 100%;
|
|
136
|
-
}
|
|
137
|
-
.async-loading.el-icon-loading {
|
|
138
|
-
position: absolute;
|
|
139
|
-
top: 10px;
|
|
140
|
-
right: 28px;
|
|
141
|
-
color: #999;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
.ea-select-popover {
|
|
145
|
-
.el-select-dropdown__item {
|
|
146
|
-
display: flex;
|
|
147
|
-
.select-item-value {
|
|
148
|
-
overflow: hidden;
|
|
149
|
-
text-overflow: ellipsis;
|
|
150
|
-
}
|
|
151
|
-
.select-item-desc {
|
|
152
|
-
overflow: hidden;
|
|
153
|
-
text-overflow: ellipsis;
|
|
154
|
-
color: #8492a6;
|
|
155
|
-
margin-left: 8px;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
161
|
.ea-button-tooltip + .ea-button-tooltip {
|
|
161
162
|
margin-left: 10px;
|
|
162
163
|
}
|
|
@@ -222,18 +223,6 @@ td {
|
|
|
222
223
|
}
|
|
223
224
|
}
|
|
224
225
|
|
|
225
|
-
.ea-list {
|
|
226
|
-
.loading-text {
|
|
227
|
-
color: $--color-secondary-text;
|
|
228
|
-
text-align: center;
|
|
229
|
-
font-size: inherit;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.ea-number .el-input__inner {
|
|
234
|
-
text-align: left;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
226
|
.el-dialog.ea-modal {
|
|
238
227
|
&.is-closing {
|
|
239
228
|
margin: 0 !important;
|
|
@@ -252,18 +241,6 @@ td {
|
|
|
252
241
|
}
|
|
253
242
|
}
|
|
254
243
|
|
|
255
|
-
.ea-tree {
|
|
256
|
-
.ea-tree-real {
|
|
257
|
-
.el-tree-node > .el-tree-node__content{
|
|
258
|
-
border-radius: 4px;
|
|
259
|
-
}
|
|
260
|
-
.el-tree-node.is-current > .el-tree-node__content {
|
|
261
|
-
color: $--color-primary;
|
|
262
|
-
background-color: rgba($--color-primary, 0.1);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
244
|
.ea-split-container {
|
|
268
245
|
display: flex;
|
|
269
246
|
&.is-down {
|
|
@@ -301,6 +278,26 @@ td {
|
|
|
301
278
|
}
|
|
302
279
|
}
|
|
303
280
|
|
|
281
|
+
.ea-list {
|
|
282
|
+
.loading-text {
|
|
283
|
+
color: $--color-secondary-text;
|
|
284
|
+
text-align: center;
|
|
285
|
+
font-size: inherit;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
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
|
+
|
|
304
301
|
.ea-desc {
|
|
305
302
|
font-size: 14px;
|
|
306
303
|
&__title {
|
|
@@ -344,6 +341,10 @@ td {
|
|
|
344
341
|
}
|
|
345
342
|
}
|
|
346
343
|
|
|
344
|
+
.ea-number .el-input__inner {
|
|
345
|
+
text-align: left;
|
|
346
|
+
}
|
|
347
|
+
|
|
347
348
|
.file-upload-dialog {
|
|
348
349
|
// 拖拽区域铺满
|
|
349
350
|
.el-upload,
|
|
@@ -371,6 +372,30 @@ td {
|
|
|
371
372
|
}
|
|
372
373
|
}
|
|
373
374
|
|
|
375
|
+
.ea-form .form-group-title {
|
|
376
|
+
position: relative;
|
|
377
|
+
height: 32px;
|
|
378
|
+
margin-bottom: 22px;
|
|
379
|
+
> span {
|
|
380
|
+
position: absolute;
|
|
381
|
+
top: 0;
|
|
382
|
+
left: 20%;
|
|
383
|
+
padding: 5px 25px;
|
|
384
|
+
background-color: #fff;
|
|
385
|
+
z-index: 1;
|
|
386
|
+
color: $--color-secondary-text;
|
|
387
|
+
}
|
|
388
|
+
&::after {
|
|
389
|
+
content: '';
|
|
390
|
+
position: absolute;
|
|
391
|
+
top: 50%;
|
|
392
|
+
left: 0;
|
|
393
|
+
width: 100%;
|
|
394
|
+
height: 0;
|
|
395
|
+
border-bottom: 1px dashed $--color-border-base;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
374
399
|
.ea-table-modal {
|
|
375
400
|
overflow: visible;
|
|
376
401
|
right: unset;
|
|
@@ -425,27 +450,20 @@ td {
|
|
|
425
450
|
}
|
|
426
451
|
}
|
|
427
452
|
|
|
428
|
-
.ea-form .form-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
>
|
|
433
|
-
|
|
434
|
-
top: 0;
|
|
435
|
-
left: 20%;
|
|
436
|
-
padding: 5px 25px;
|
|
437
|
-
background-color: #fff;
|
|
438
|
-
z-index: 1;
|
|
439
|
-
color: $--color-secondary-text;
|
|
453
|
+
.ea-form .el-form-item__content {
|
|
454
|
+
& > .el-input-number,
|
|
455
|
+
& > .el-input,
|
|
456
|
+
& > .ea-select,
|
|
457
|
+
& > .el-select {
|
|
458
|
+
width: 100%;
|
|
440
459
|
}
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
460
|
+
}
|
|
461
|
+
.ea-form .el-form-item.hidden-label {
|
|
462
|
+
> .el-form-item__label {
|
|
463
|
+
display: none;
|
|
464
|
+
}
|
|
465
|
+
> .el-form-item__content {
|
|
446
466
|
width: 100%;
|
|
447
|
-
height: 0;
|
|
448
|
-
border-bottom: 1px dashed $--color-border-base;
|
|
449
467
|
}
|
|
450
468
|
}
|
|
451
469
|
|
|
@@ -488,20 +506,3 @@ td {
|
|
|
488
506
|
}
|
|
489
507
|
}
|
|
490
508
|
}
|
|
491
|
-
|
|
492
|
-
.ea-form .el-form-item__content {
|
|
493
|
-
& > .el-input-number,
|
|
494
|
-
& > .el-input,
|
|
495
|
-
& > .ea-select,
|
|
496
|
-
& > .el-select {
|
|
497
|
-
width: 100%;
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
.ea-form .el-form-item.hidden-label {
|
|
501
|
-
> .el-form-item__label {
|
|
502
|
-
display: none;
|
|
503
|
-
}
|
|
504
|
-
> .el-form-item__content {
|
|
505
|
-
width: 100%;
|
|
506
|
-
}
|
|
507
|
-
}
|