@v1nt1248/3nclient-lib 0.1.39 → 0.1.40
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.
|
@@ -49,18 +49,20 @@ export type Ui3nTableBodyRowSlotScope<T extends Ui3nTableBodyBaseItem> = {
|
|
|
49
49
|
row: T;
|
|
50
50
|
rowStyle?: Record<string, string>;
|
|
51
51
|
rowIndex: number;
|
|
52
|
+
isRowSelected?: boolean;
|
|
52
53
|
events?: Record<string, (value: unknown) => unknown>;
|
|
53
54
|
};
|
|
54
55
|
export type Ui3nTableBodyRowSlot<T extends Ui3nTableBodyBaseItem> = {
|
|
55
|
-
|
|
56
|
+
row: (scope: Ui3nTableBodyRowSlotScope<T>) => VNode;
|
|
56
57
|
};
|
|
57
58
|
export type Ui3nTableBodyRowCellSlotScope<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = {
|
|
58
59
|
row: T;
|
|
59
60
|
rowIndex: number;
|
|
61
|
+
isRowSelected?: boolean;
|
|
60
62
|
cell: T[K];
|
|
61
63
|
};
|
|
62
64
|
export type Ui3nTableBodyRowCellSlot<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = {
|
|
63
|
-
[p in `
|
|
65
|
+
[p in `row-cell-${K}`]: (scope: Ui3nTableBodyRowCellSlotScope<T, K>) => VNode;
|
|
64
66
|
};
|
|
65
67
|
export type Ui3nTableSlots<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = Ui3nTableGroupActionsSlot & Ui3nTableHeaderCellSlot<T, K> & Ui3nTableBodyRowSlot<T> & Ui3nTableBodyRowCellSlot<T, K>;
|
|
66
68
|
export interface Ui3nTableSortIconProps {
|
package/dist/ui3n-components.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var ql = Object.defineProperty;
|
|
2
2
|
var Vl = (B, g, I) => g in B ? ql(B, g, { enumerable: !0, configurable: !0, writable: !0, value: I }) : B[g] = I;
|
|
3
3
|
var pI = (B, g, I) => Vl(B, typeof g != "symbol" ? g + "" : g, I);
|
|
4
|
-
import { defineComponent as Eg, useCssVars as iQ, computed as sA, openBlock as eA, createElementBlock as DA, normalizeClass as EA, normalizeStyle as mI, useCssModule as NQ, ref as lA, watch as tg, onMounted as jg, withDirectives as pn, withKeys as eI, createBlock as EI, createCommentVNode as WA, renderSlot as eg, unref as
|
|
4
|
+
import { defineComponent as Eg, useCssVars as iQ, computed as sA, openBlock as eA, createElementBlock as DA, normalizeClass as EA, normalizeStyle as mI, useCssModule as NQ, ref as lA, watch as tg, onMounted as jg, withDirectives as pn, withKeys as eI, createBlock as EI, createCommentVNode as WA, renderSlot as eg, unref as KA, useSlots as eE, createElementVNode as RA, toDisplayString as ng, mergeProps as BQ, toHandlers as eB, onBeforeMount as at, createVNode as IB, Transition as Hn, withCtx as OB, createTextVNode as _C, Fragment as AB, renderList as gB, nextTick as bn, withModifiers as zQ, resolveDynamicComponent as Tl, shallowRef as Ol, getCurrentScope as Zl, onScopeDispose as Wl, shallowReadonly as mB, getCurrentInstance as qo, onBeforeUnmount as Pl, inject as jl, provide as Xl } from "vue";
|
|
5
5
|
var hA = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
6
6
|
function mn(B) {
|
|
7
7
|
return B && B.__esModule && Object.prototype.hasOwnProperty.call(B, "default") ? B.default : B;
|
|
@@ -5836,7 +5836,7 @@ Qe.exports;
|
|
|
5836
5836
|
}
|
|
5837
5837
|
}(), v0 = Z.clearTimeout !== wg.clearTimeout && Z.clearTimeout, q0 = rA && rA.now !== wg.Date.now && rA.now, V0 = Z.setTimeout !== wg.setTimeout && Z.setTimeout, Qi = hg.ceil, Bi = hg.floor, me = Cg.getOwnPropertySymbols, T0 = zE ? zE.isBuffer : I, Is = Z.isFinite, O0 = PE.join, Z0 = jt(Cg.keys, Cg), lg = hg.max, Mg = hg.min, W0 = rA.now, P0 = Z.parseInt, Qs = hg.random, j0 = PE.reverse, xe = jQ(Z, "DataView"), kC = jQ(Z, "Map"), ve = jQ(Z, "Promise"), dB = jQ(Z, "Set"), JC = jQ(Z, "WeakMap"), KC = jQ(Cg, "create"), Ci = JC && new JC(), kB = {}, X0 = XQ(xe), _0 = XQ(kC), z0 = XQ(ve), $0 = XQ(dB), AD = XQ(JC), Ei = wQ ? wQ.prototype : I, YC = Ei ? Ei.valueOf : I, Bs = Ei ? Ei.toString : I;
|
|
5838
5838
|
function l(A) {
|
|
5839
|
-
if (rg(A) && !
|
|
5839
|
+
if (rg(A) && !YA(A) && !(A instanceof VA)) {
|
|
5840
5840
|
if (A instanceof nI)
|
|
5841
5841
|
return A;
|
|
5842
5842
|
if (zA.call(A, "__wrapped__"))
|
|
@@ -5923,7 +5923,7 @@ Qe.exports;
|
|
|
5923
5923
|
return A;
|
|
5924
5924
|
}
|
|
5925
5925
|
function QD() {
|
|
5926
|
-
var A = this.__wrapped__.value(), Q = this.__dir__, E =
|
|
5926
|
+
var A = this.__wrapped__.value(), Q = this.__dir__, E = YA(A), t = Q < 0, c = E ? A.length : 0, y = Du(0, c, this.__views__), G = y.start, L = y.end, H = L - G, j = t ? L : G - 1, z = this.__iteratees__, BA = z.length, nA = 0, wA = Mg(H, this.__takeCount__);
|
|
5927
5927
|
if (!E || !t && c == H && wA == H)
|
|
5928
5928
|
return Ms(A, this.__actions__);
|
|
5929
5929
|
var NA = [];
|
|
@@ -6075,7 +6075,7 @@ Qe.exports;
|
|
|
6075
6075
|
}
|
|
6076
6076
|
FI.prototype.clear = yD, FI.prototype.delete = FD, FI.prototype.get = RD, FI.prototype.has = GD, FI.prototype.set = UD;
|
|
6077
6077
|
function Cs(A, Q) {
|
|
6078
|
-
var E =
|
|
6078
|
+
var E = YA(A), t = !E && _Q(A), c = !E && !t && RQ(A), y = !E && !t && !c && HB(A), G = E || t || c || y, L = G ? lI(A.length, Y0) : [], H = L.length;
|
|
6079
6079
|
for (var j in A)
|
|
6080
6080
|
(Q || zA.call(A, j)) && !(G && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6081
6081
|
(j == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -6140,7 +6140,7 @@ Qe.exports;
|
|
|
6140
6140
|
return G;
|
|
6141
6141
|
if (!ag(A))
|
|
6142
6142
|
return A;
|
|
6143
|
-
var z =
|
|
6143
|
+
var z = YA(A);
|
|
6144
6144
|
if (z) {
|
|
6145
6145
|
if (G = cu(A), !L)
|
|
6146
6146
|
return qg(A, G);
|
|
@@ -6267,7 +6267,7 @@ Qe.exports;
|
|
|
6267
6267
|
}
|
|
6268
6268
|
function ns(A, Q, E) {
|
|
6269
6269
|
var t = Q(A);
|
|
6270
|
-
return
|
|
6270
|
+
return YA(A) ? t : hI(t, E(A));
|
|
6271
6271
|
}
|
|
6272
6272
|
function Yg(A) {
|
|
6273
6273
|
return A == null ? A === I ? aB : BC : TQ && TQ in Cg(A) ? ru(A) : Nu(A);
|
|
@@ -6328,7 +6328,7 @@ Qe.exports;
|
|
|
6328
6328
|
return A === Q ? !0 : A == null || Q == null || !rg(A) && !rg(Q) ? A !== A && Q !== Q : mD(A, Q, E, t, mC, c);
|
|
6329
6329
|
}
|
|
6330
6330
|
function mD(A, Q, E, t, c, y) {
|
|
6331
|
-
var G =
|
|
6331
|
+
var G = YA(A), L = YA(Q), H = G ? Ig : Sg(A), j = L ? Ig : Sg(Q);
|
|
6332
6332
|
H = H == UA ? cg : H, j = j == UA ? cg : j;
|
|
6333
6333
|
var z = H == cg, BA = j == cg, nA = H == j;
|
|
6334
6334
|
if (nA && RQ(A)) {
|
|
@@ -6391,7 +6391,7 @@ Qe.exports;
|
|
|
6391
6391
|
return rg(A) && Ni(A.length) && !!cA[Yg(A)];
|
|
6392
6392
|
}
|
|
6393
6393
|
function us(A) {
|
|
6394
|
-
return typeof A == "function" ? A : A == null ? Og : typeof A == "object" ?
|
|
6394
|
+
return typeof A == "function" ? A : A == null ? Og : typeof A == "object" ? YA(A) ? hs(A[0], A[1]) : ws(A) : ba(A);
|
|
6395
6395
|
}
|
|
6396
6396
|
function je(A) {
|
|
6397
6397
|
if (!qC(A))
|
|
@@ -6448,8 +6448,8 @@ Qe.exports;
|
|
|
6448
6448
|
}
|
|
6449
6449
|
var z = y ? y(L, H, E + "", A, Q, G) : I, BA = z === I;
|
|
6450
6450
|
if (BA) {
|
|
6451
|
-
var nA =
|
|
6452
|
-
z = H, nA || wA || NA ?
|
|
6451
|
+
var nA = YA(H), wA = !nA && RQ(H), NA = !nA && !wA && HB(H);
|
|
6452
|
+
z = H, nA || wA || NA ? YA(L) ? z = L : Dg(L) ? z = qg(L) : wA ? (BA = !1, z = ds(H, !0)) : NA ? (BA = !1, z = ks(H, !0)) : z = [] : TC(H) || _Q(H) ? (z = L, _Q(L) ? z = Ma(L) : (!ag(L) || $I(L)) && (z = Xs(H))) : BA = !1;
|
|
6453
6453
|
}
|
|
6454
6454
|
BA && (G.set(H, z), c(z, H, t, y, G), G.delete(H)), qe(A, E, z);
|
|
6455
6455
|
}
|
|
@@ -6460,7 +6460,7 @@ Qe.exports;
|
|
|
6460
6460
|
}
|
|
6461
6461
|
function ys(A, Q, E) {
|
|
6462
6462
|
Q.length ? Q = ig(Q, function(y) {
|
|
6463
|
-
return
|
|
6463
|
+
return YA(y) ? function(G) {
|
|
6464
6464
|
return PQ(G, y.length === 1 ? y[0] : y);
|
|
6465
6465
|
} : y;
|
|
6466
6466
|
}) : Q = [Og];
|
|
@@ -6620,7 +6620,7 @@ Qe.exports;
|
|
|
6620
6620
|
function $g(A) {
|
|
6621
6621
|
if (typeof A == "string")
|
|
6622
6622
|
return A;
|
|
6623
|
-
if (
|
|
6623
|
+
if (YA(A))
|
|
6624
6624
|
return ig(A, $g) + "";
|
|
6625
6625
|
if (AI(A))
|
|
6626
6626
|
return Bs ? Bs.call(A) : "";
|
|
@@ -6690,7 +6690,7 @@ Qe.exports;
|
|
|
6690
6690
|
return typeof A == "function" ? A : Og;
|
|
6691
6691
|
}
|
|
6692
6692
|
function yQ(A, Q) {
|
|
6693
|
-
return
|
|
6693
|
+
return YA(A) ? A : no(A, Q) ? [A] : Ba(_A(A));
|
|
6694
6694
|
}
|
|
6695
6695
|
var Au = xA;
|
|
6696
6696
|
function FQ(A, Q, E) {
|
|
@@ -6788,7 +6788,7 @@ Qe.exports;
|
|
|
6788
6788
|
}
|
|
6789
6789
|
function ri(A, Q) {
|
|
6790
6790
|
return function(E, t) {
|
|
6791
|
-
var c =
|
|
6791
|
+
var c = YA(E) ? de : MD, y = Q ? Q() : {};
|
|
6792
6792
|
return c(E, A, fA(t, 2), y);
|
|
6793
6793
|
};
|
|
6794
6794
|
}
|
|
@@ -6922,7 +6922,7 @@ Qe.exports;
|
|
|
6922
6922
|
}
|
|
6923
6923
|
return function() {
|
|
6924
6924
|
var j = arguments, z = j[0];
|
|
6925
|
-
if (G && j.length == 1 &&
|
|
6925
|
+
if (G && j.length == 1 && YA(z))
|
|
6926
6926
|
return G.plant(z).value();
|
|
6927
6927
|
for (var BA = 0, nA = E ? Q[BA].apply(this, j) : z; ++BA < E; )
|
|
6928
6928
|
nA = Q[BA].call(this, nA);
|
|
@@ -7296,7 +7296,7 @@ Qe.exports;
|
|
|
7296
7296
|
break;
|
|
7297
7297
|
A = A[G];
|
|
7298
7298
|
}
|
|
7299
|
-
return y || ++t != c ? y : (c = A == null ? 0 : A.length, !!c && Ni(c) && zI(G, c) && (
|
|
7299
|
+
return y || ++t != c ? y : (c = A == null ? 0 : A.length, !!c && Ni(c) && zI(G, c) && (YA(A) || _Q(A)));
|
|
7300
7300
|
}
|
|
7301
7301
|
function cu(A) {
|
|
7302
7302
|
var Q = A.length, E = new A.constructor(Q);
|
|
@@ -7348,7 +7348,7 @@ Qe.exports;
|
|
|
7348
7348
|
`);
|
|
7349
7349
|
}
|
|
7350
7350
|
function lu(A) {
|
|
7351
|
-
return
|
|
7351
|
+
return YA(A) || _Q(A) || !!(gs && A && A[gs]);
|
|
7352
7352
|
}
|
|
7353
7353
|
function zI(A, Q) {
|
|
7354
7354
|
var E = typeof A;
|
|
@@ -7361,7 +7361,7 @@ Qe.exports;
|
|
|
7361
7361
|
return (t == "number" ? Vg(E) && zI(Q, E.length) : t == "string" && Q in E) ? RI(E[Q], A) : !1;
|
|
7362
7362
|
}
|
|
7363
7363
|
function no(A, Q) {
|
|
7364
|
-
if (
|
|
7364
|
+
if (YA(A))
|
|
7365
7365
|
return !1;
|
|
7366
7366
|
var E = typeof A;
|
|
7367
7367
|
return E == "number" || E == "symbol" || E == "boolean" || A == null || AI(A) ? !0 : yE.test(A) || !rQ.test(A) || Q != null && A in Cg(Q);
|
|
@@ -7533,7 +7533,7 @@ Qe.exports;
|
|
|
7533
7533
|
return [];
|
|
7534
7534
|
for (var Q = q(A - 1), E = arguments[0], t = A; t--; )
|
|
7535
7535
|
Q[t - 1] = arguments[t];
|
|
7536
|
-
return hI(
|
|
7536
|
+
return hI(YA(E) ? qg(E) : [E], fg(Q, 1));
|
|
7537
7537
|
}
|
|
7538
7538
|
var Ju = xA(function(A, Q) {
|
|
7539
7539
|
return Dg(A) ? HC(A, fg(Q, 1, Dg, !0)) : [];
|
|
@@ -7845,11 +7845,11 @@ Qe.exports;
|
|
|
7845
7845
|
zA.call(A, E) ? ++A[E] : jI(A, E, 1);
|
|
7846
7846
|
});
|
|
7847
7847
|
function vc(A, Q, E) {
|
|
7848
|
-
var t =
|
|
7848
|
+
var t = YA(A) ? OE : dD;
|
|
7849
7849
|
return E && pg(A, Q, E) && (Q = I), t(A, fA(Q, 3));
|
|
7850
7850
|
}
|
|
7851
7851
|
function qc(A, Q) {
|
|
7852
|
-
var E =
|
|
7852
|
+
var E = YA(A) ? kI : ss;
|
|
7853
7853
|
return E(A, fA(Q, 3));
|
|
7854
7854
|
}
|
|
7855
7855
|
var Vc = ms(Ea), Tc = ms(ia);
|
|
@@ -7863,11 +7863,11 @@ Qe.exports;
|
|
|
7863
7863
|
return E = E === I ? 1 : HA(E), fg(Ri(A, Q), E);
|
|
7864
7864
|
}
|
|
7865
7865
|
function na(A, Q) {
|
|
7866
|
-
var E =
|
|
7866
|
+
var E = YA(A) ? Jg : hQ;
|
|
7867
7867
|
return E(A, fA(Q, 3));
|
|
7868
7868
|
}
|
|
7869
7869
|
function ra(A, Q) {
|
|
7870
|
-
var E =
|
|
7870
|
+
var E = YA(A) ? ke : ts;
|
|
7871
7871
|
return E(A, fA(Q, 3));
|
|
7872
7872
|
}
|
|
7873
7873
|
var Pc = ri(function(A, Q, E) {
|
|
@@ -7887,11 +7887,11 @@ Qe.exports;
|
|
|
7887
7887
|
jI(A, E, Q);
|
|
7888
7888
|
});
|
|
7889
7889
|
function Ri(A, Q) {
|
|
7890
|
-
var E =
|
|
7890
|
+
var E = YA(A) ? ig : cs;
|
|
7891
7891
|
return E(A, fA(Q, 3));
|
|
7892
7892
|
}
|
|
7893
7893
|
function zc(A, Q, E, t) {
|
|
7894
|
-
return A == null ? [] : (
|
|
7894
|
+
return A == null ? [] : (YA(Q) || (Q = Q == null ? [] : [Q]), E = t ? I : E, YA(E) || (E = E == null ? [] : [E]), ys(A, Q, E));
|
|
7895
7895
|
}
|
|
7896
7896
|
var $c = ri(function(A, Q, E) {
|
|
7897
7897
|
A[E ? 0 : 1].push(Q);
|
|
@@ -7899,28 +7899,28 @@ Qe.exports;
|
|
|
7899
7899
|
return [[], []];
|
|
7900
7900
|
});
|
|
7901
7901
|
function Aw(A, Q, E) {
|
|
7902
|
-
var t =
|
|
7902
|
+
var t = YA(A) ? MC : Kg, c = arguments.length < 3;
|
|
7903
7903
|
return t(A, fA(Q, 4), E, c, hQ);
|
|
7904
7904
|
}
|
|
7905
7905
|
function gw(A, Q, E) {
|
|
7906
|
-
var t =
|
|
7906
|
+
var t = YA(A) ? Je : Kg, c = arguments.length < 3;
|
|
7907
7907
|
return t(A, fA(Q, 4), E, c, ts);
|
|
7908
7908
|
}
|
|
7909
7909
|
function Iw(A, Q) {
|
|
7910
|
-
var E =
|
|
7910
|
+
var E = YA(A) ? kI : ss;
|
|
7911
7911
|
return E(A, fi(fA(Q, 3)));
|
|
7912
7912
|
}
|
|
7913
7913
|
function Qw(A) {
|
|
7914
|
-
var Q =
|
|
7914
|
+
var Q = YA(A) ? Es : jD;
|
|
7915
7915
|
return Q(A);
|
|
7916
7916
|
}
|
|
7917
7917
|
function Bw(A, Q, E) {
|
|
7918
7918
|
(E ? pg(A, Q, E) : Q === I) ? Q = 1 : Q = HA(Q);
|
|
7919
|
-
var t =
|
|
7919
|
+
var t = YA(A) ? fD : XD;
|
|
7920
7920
|
return t(A, Q);
|
|
7921
7921
|
}
|
|
7922
7922
|
function Cw(A) {
|
|
7923
|
-
var Q =
|
|
7923
|
+
var Q = YA(A) ? ND : zD;
|
|
7924
7924
|
return Q(A);
|
|
7925
7925
|
}
|
|
7926
7926
|
function Ew(A) {
|
|
@@ -7932,7 +7932,7 @@ Qe.exports;
|
|
|
7932
7932
|
return Q == FA || Q == _g ? A.size : je(A).length;
|
|
7933
7933
|
}
|
|
7934
7934
|
function iw(A, Q, E) {
|
|
7935
|
-
var t =
|
|
7935
|
+
var t = YA(A) ? SC : $D;
|
|
7936
7936
|
return E && pg(A, Q, E) && (Q = I), t(A, fA(Q, 3));
|
|
7937
7937
|
}
|
|
7938
7938
|
var ew = xA(function(A, Q) {
|
|
@@ -8077,7 +8077,7 @@ Qe.exports;
|
|
|
8077
8077
|
return ua(2, A);
|
|
8078
8078
|
}
|
|
8079
8079
|
var rw = Au(function(A, Q) {
|
|
8080
|
-
Q = Q.length == 1 &&
|
|
8080
|
+
Q = Q.length == 1 && YA(Q[0]) ? ig(Q[0], zg(fA())) : ig(fg(Q, 1), zg(fA()));
|
|
8081
8081
|
var E = Q.length;
|
|
8082
8082
|
return xA(function(t) {
|
|
8083
8083
|
for (var c = -1, y = Mg(t.length, E); ++c < y; )
|
|
@@ -8126,7 +8126,7 @@ Qe.exports;
|
|
|
8126
8126
|
if (!arguments.length)
|
|
8127
8127
|
return [];
|
|
8128
8128
|
var A = arguments[0];
|
|
8129
|
-
return
|
|
8129
|
+
return YA(A) ? A : [A];
|
|
8130
8130
|
}
|
|
8131
8131
|
function Fw(A) {
|
|
8132
8132
|
return rI(A, r);
|
|
@@ -8152,7 +8152,7 @@ Qe.exports;
|
|
|
8152
8152
|
return arguments;
|
|
8153
8153
|
}()) ? rs : function(A) {
|
|
8154
8154
|
return rg(A) && zA.call(A, "callee") && !As.call(A, "callee");
|
|
8155
|
-
},
|
|
8155
|
+
}, YA = q.isArray, Sw = fC ? zg(fC) : HD;
|
|
8156
8156
|
function Vg(A) {
|
|
8157
8157
|
return A != null && Ni(A.length) && !$I(A);
|
|
8158
8158
|
}
|
|
@@ -8169,7 +8169,7 @@ Qe.exports;
|
|
|
8169
8169
|
function Jw(A) {
|
|
8170
8170
|
if (A == null)
|
|
8171
8171
|
return !0;
|
|
8172
|
-
if (Vg(A) && (
|
|
8172
|
+
if (Vg(A) && (YA(A) || typeof A == "string" || typeof A.splice == "function" || RQ(A) || HB(A) || _Q(A)))
|
|
8173
8173
|
return !A.length;
|
|
8174
8174
|
var Q = Sg(A);
|
|
8175
8175
|
if (Q == FA || Q == _g)
|
|
@@ -8256,7 +8256,7 @@ Qe.exports;
|
|
|
8256
8256
|
}
|
|
8257
8257
|
var Ua = VE ? zg(VE) : qD;
|
|
8258
8258
|
function Mi(A) {
|
|
8259
|
-
return typeof A == "string" || !
|
|
8259
|
+
return typeof A == "string" || !YA(A) && rg(A) && Yg(A) == MI;
|
|
8260
8260
|
}
|
|
8261
8261
|
function AI(A) {
|
|
8262
8262
|
return typeof A == "symbol" || rg(A) && Yg(A) == sB;
|
|
@@ -8460,7 +8460,7 @@ Qe.exports;
|
|
|
8460
8460
|
}
|
|
8461
8461
|
var ka = Ts(Rg), Ja = Ts(Tg);
|
|
8462
8462
|
function Rh(A, Q, E) {
|
|
8463
|
-
var t =
|
|
8463
|
+
var t = YA(A), c = t || RQ(A) || HB(A);
|
|
8464
8464
|
if (Q = fA(Q, 4), E == null) {
|
|
8465
8465
|
var y = A && A.constructor;
|
|
8466
8466
|
c ? E = t ? new y() : [] : ag(A) ? E = $I(y) ? JB(Ai(A)) : {} : E = {};
|
|
@@ -8799,7 +8799,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8799
8799
|
return c;
|
|
8800
8800
|
}
|
|
8801
8801
|
function Ul(A) {
|
|
8802
|
-
return
|
|
8802
|
+
return YA(A) ? ig(A, YI) : AI(A) ? [A] : qg(Ba(_A(A)));
|
|
8803
8803
|
}
|
|
8804
8804
|
function fl(A) {
|
|
8805
8805
|
var Q = ++H0;
|
|
@@ -8839,7 +8839,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8839
8839
|
function vl(A, Q) {
|
|
8840
8840
|
return A && A.length ? ZI(A, fA(Q, 2)) : 0;
|
|
8841
8841
|
}
|
|
8842
|
-
return l.after = ow, l.ary = Da, l.assign = Xw, l.assignIn = Sa, l.assignInWith = Si, l.assignWith = _w, l.at = zw, l.before = ua, l.bind = ho, l.bindAll = Ql, l.bindKey = ca, l.castArray = yw, l.chain = aa, l.chunk = Lu, l.compact = du, l.concat = ku, l.cond = Bl, l.conforms = Cl, l.constant = fo, l.countBy = xc, l.create = $w, l.curry = wa, l.curryRight = ha, l.debounce = la, l.defaults = Ah, l.defaultsDeep = gh, l.defer = tw, l.delay = sw, l.difference = Ju, l.differenceBy = Ku, l.differenceWith = Yu, l.drop = pu, l.dropRight = Hu, l.dropRightWhile = bu, l.dropWhile = mu, l.fill = xu, l.filter = qc, l.flatMap = Oc, l.flatMapDeep = Zc, l.flatMapDepth = Wc, l.flatten = ea, l.flattenDeep = vu, l.flattenDepth = qu, l.flip = aw, l.flow = il, l.flowRight = el, l.fromPairs = Vu, l.functions = eh, l.functionsIn = oh, l.groupBy = Pc, l.initial = Ou, l.intersection = Zu, l.intersectionBy = Wu, l.intersectionWith = Pu, l.invert = sh, l.invertBy = ah, l.invokeMap = Xc, l.iteratee = No, l.keyBy = _c, l.keys = Rg, l.keysIn = Tg, l.map = Ri, l.mapKeys = rh, l.mapValues = Dh, l.matches = ol, l.matchesProperty = tl, l.memoize = Ui, l.merge = uh, l.mergeWith = La, l.method = sl, l.methodOf = al, l.mixin = Mo, l.negate = fi, l.nthArg = rl, l.omit = ch, l.omitBy = wh, l.once = nw, l.orderBy = zc, l.over = Dl, l.overArgs = rw, l.overEvery = ul, l.overSome = cl, l.partial = lo, l.partialRight = ya, l.partition = $c, l.pick = hh, l.pickBy = da, l.property = ba, l.propertyOf = wl, l.pull = zu, l.pullAll = ta, l.pullAllBy = $u, l.pullAllWith = Ac, l.pullAt = gc, l.range = hl, l.rangeRight = ll, l.rearg = Dw, l.reject = Iw, l.remove = Ic, l.rest = uw, l.reverse = co, l.sampleSize = Bw, l.set = yh, l.setWith = Fh, l.shuffle = Cw, l.slice = Qc, l.sortBy = ew, l.sortedUniq = tc, l.sortedUniqBy = sc, l.split = Oh, l.spread = cw, l.tail = ac, l.take = nc, l.takeRight = rc, l.takeRightWhile = Dc, l.takeWhile = uc, l.tap = dc, l.throttle = ww, l.thru = Fi, l.toArray = fa, l.toPairs = ka, l.toPairsIn = Ja, l.toPath = Ul, l.toPlainObject = Ma, l.transform = Rh, l.unary = hw, l.union = cc, l.unionBy = wc, l.unionWith = hc, l.uniq = lc, l.uniqBy = yc, l.uniqWith = Fc, l.unset = Gh, l.unzip = wo, l.unzipWith = sa, l.update = Uh, l.updateWith = fh, l.values = bB, l.valuesIn = Nh, l.without = Rc, l.words = pa, l.wrap = lw, l.xor = Gc, l.xorBy = Uc, l.xorWith = fc, l.zip = Nc, l.zipObject = Mc, l.zipObjectDeep = Sc, l.zipWith = Lc, l.entries = ka, l.entriesIn = Ja, l.extend = Sa, l.extendWith = Si, Mo(l, l), l.add = Nl, l.attempt = Ha, l.camelCase = dh, l.capitalize = Ka, l.ceil = Ml, l.clamp = Mh, l.clone = Fw, l.cloneDeep = Gw, l.cloneDeepWith = Uw, l.cloneWith = Rw, l.conformsTo = fw, l.deburr = Ya, l.defaultTo = El, l.divide = Sl, l.endsWith = kh, l.eq = RI, l.escape = Jh, l.escapeRegExp = Kh, l.every = vc, l.find = Vc, l.findIndex = Ea, l.findKey = Ih, l.findLast = Tc, l.findLastIndex = ia, l.findLastKey = Qh, l.floor = Ll, l.forEach = na, l.forEachRight = ra, l.forIn = Bh, l.forInRight = Ch, l.forOwn = Eh, l.forOwnRight = ih, l.get = Ro, l.gt = Nw, l.gte = Mw, l.has = th, l.hasIn = Go, l.head = oa, l.identity = Og, l.includes = jc, l.indexOf = Tu, l.inRange = Sh, l.invoke = nh, l.isArguments = _Q, l.isArray =
|
|
8842
|
+
return l.after = ow, l.ary = Da, l.assign = Xw, l.assignIn = Sa, l.assignInWith = Si, l.assignWith = _w, l.at = zw, l.before = ua, l.bind = ho, l.bindAll = Ql, l.bindKey = ca, l.castArray = yw, l.chain = aa, l.chunk = Lu, l.compact = du, l.concat = ku, l.cond = Bl, l.conforms = Cl, l.constant = fo, l.countBy = xc, l.create = $w, l.curry = wa, l.curryRight = ha, l.debounce = la, l.defaults = Ah, l.defaultsDeep = gh, l.defer = tw, l.delay = sw, l.difference = Ju, l.differenceBy = Ku, l.differenceWith = Yu, l.drop = pu, l.dropRight = Hu, l.dropRightWhile = bu, l.dropWhile = mu, l.fill = xu, l.filter = qc, l.flatMap = Oc, l.flatMapDeep = Zc, l.flatMapDepth = Wc, l.flatten = ea, l.flattenDeep = vu, l.flattenDepth = qu, l.flip = aw, l.flow = il, l.flowRight = el, l.fromPairs = Vu, l.functions = eh, l.functionsIn = oh, l.groupBy = Pc, l.initial = Ou, l.intersection = Zu, l.intersectionBy = Wu, l.intersectionWith = Pu, l.invert = sh, l.invertBy = ah, l.invokeMap = Xc, l.iteratee = No, l.keyBy = _c, l.keys = Rg, l.keysIn = Tg, l.map = Ri, l.mapKeys = rh, l.mapValues = Dh, l.matches = ol, l.matchesProperty = tl, l.memoize = Ui, l.merge = uh, l.mergeWith = La, l.method = sl, l.methodOf = al, l.mixin = Mo, l.negate = fi, l.nthArg = rl, l.omit = ch, l.omitBy = wh, l.once = nw, l.orderBy = zc, l.over = Dl, l.overArgs = rw, l.overEvery = ul, l.overSome = cl, l.partial = lo, l.partialRight = ya, l.partition = $c, l.pick = hh, l.pickBy = da, l.property = ba, l.propertyOf = wl, l.pull = zu, l.pullAll = ta, l.pullAllBy = $u, l.pullAllWith = Ac, l.pullAt = gc, l.range = hl, l.rangeRight = ll, l.rearg = Dw, l.reject = Iw, l.remove = Ic, l.rest = uw, l.reverse = co, l.sampleSize = Bw, l.set = yh, l.setWith = Fh, l.shuffle = Cw, l.slice = Qc, l.sortBy = ew, l.sortedUniq = tc, l.sortedUniqBy = sc, l.split = Oh, l.spread = cw, l.tail = ac, l.take = nc, l.takeRight = rc, l.takeRightWhile = Dc, l.takeWhile = uc, l.tap = dc, l.throttle = ww, l.thru = Fi, l.toArray = fa, l.toPairs = ka, l.toPairsIn = Ja, l.toPath = Ul, l.toPlainObject = Ma, l.transform = Rh, l.unary = hw, l.union = cc, l.unionBy = wc, l.unionWith = hc, l.uniq = lc, l.uniqBy = yc, l.uniqWith = Fc, l.unset = Gh, l.unzip = wo, l.unzipWith = sa, l.update = Uh, l.updateWith = fh, l.values = bB, l.valuesIn = Nh, l.without = Rc, l.words = pa, l.wrap = lw, l.xor = Gc, l.xorBy = Uc, l.xorWith = fc, l.zip = Nc, l.zipObject = Mc, l.zipObjectDeep = Sc, l.zipWith = Lc, l.entries = ka, l.entriesIn = Ja, l.extend = Sa, l.extendWith = Si, Mo(l, l), l.add = Nl, l.attempt = Ha, l.camelCase = dh, l.capitalize = Ka, l.ceil = Ml, l.clamp = Mh, l.clone = Fw, l.cloneDeep = Gw, l.cloneDeepWith = Uw, l.cloneWith = Rw, l.conformsTo = fw, l.deburr = Ya, l.defaultTo = El, l.divide = Sl, l.endsWith = kh, l.eq = RI, l.escape = Jh, l.escapeRegExp = Kh, l.every = vc, l.find = Vc, l.findIndex = Ea, l.findKey = Ih, l.findLast = Tc, l.findLastIndex = ia, l.findLastKey = Qh, l.floor = Ll, l.forEach = na, l.forEachRight = ra, l.forIn = Bh, l.forInRight = Ch, l.forOwn = Eh, l.forOwnRight = ih, l.get = Ro, l.gt = Nw, l.gte = Mw, l.has = th, l.hasIn = Go, l.head = oa, l.identity = Og, l.includes = jc, l.indexOf = Tu, l.inRange = Sh, l.invoke = nh, l.isArguments = _Q, l.isArray = YA, l.isArrayBuffer = Sw, l.isArrayLike = Vg, l.isArrayLikeObject = Dg, l.isBoolean = Lw, l.isBuffer = RQ, l.isDate = dw, l.isElement = kw, l.isEmpty = Jw, l.isEqual = Kw, l.isEqualWith = Yw, l.isError = yo, l.isFinite = pw, l.isFunction = $I, l.isInteger = Fa, l.isLength = Ni, l.isMap = Ra, l.isMatch = Hw, l.isMatchWith = bw, l.isNaN = mw, l.isNative = xw, l.isNil = qw, l.isNull = vw, l.isNumber = Ga, l.isObject = ag, l.isObjectLike = rg, l.isPlainObject = TC, l.isRegExp = Fo, l.isSafeInteger = Vw, l.isSet = Ua, l.isString = Mi, l.isSymbol = AI, l.isTypedArray = HB, l.isUndefined = Tw, l.isWeakMap = Ow, l.isWeakSet = Zw, l.join = ju, l.kebabCase = Yh, l.last = uI, l.lastIndexOf = Xu, l.lowerCase = ph, l.lowerFirst = Hh, l.lt = Ww, l.lte = Pw, l.max = dl, l.maxBy = kl, l.mean = Jl, l.meanBy = Kl, l.min = Yl, l.minBy = pl, l.stubArray = Lo, l.stubFalse = ko, l.stubObject = yl, l.stubString = Fl, l.stubTrue = Rl, l.multiply = Hl, l.nth = _u, l.noConflict = nl, l.noop = So, l.now = Gi, l.pad = bh, l.padEnd = mh, l.padStart = xh, l.parseInt = vh, l.random = Lh, l.reduce = Aw, l.reduceRight = gw, l.repeat = qh, l.replace = Vh, l.result = lh, l.round = bl, l.runInContext = p, l.sample = Qw, l.size = Ew, l.snakeCase = Th, l.some = iw, l.sortedIndex = Bc, l.sortedIndexBy = Cc, l.sortedIndexOf = Ec, l.sortedLastIndex = ic, l.sortedLastIndexBy = ec, l.sortedLastIndexOf = oc, l.startCase = Zh, l.startsWith = Wh, l.subtract = ml, l.sum = xl, l.sumBy = vl, l.template = Ph, l.times = Gl, l.toFinite = AQ, l.toInteger = HA, l.toLength = Na, l.toLower = jh, l.toNumber = cI, l.toSafeInteger = jw, l.toString = _A, l.toUpper = Xh, l.trim = _h, l.trimEnd = zh, l.trimStart = $h, l.truncate = Al, l.unescape = gl, l.uniqueId = fl, l.upperCase = Il, l.upperFirst = Uo, l.each = na, l.eachRight = ra, l.first = oa, Mo(l, function() {
|
|
8843
8843
|
var A = {};
|
|
8844
8844
|
return JI(l, function(Q, E) {
|
|
8845
8845
|
zA.call(l.prototype, E) || (A[E] = Q);
|
|
@@ -8899,7 +8899,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8899
8899
|
}, JI(VA.prototype, function(A, Q) {
|
|
8900
8900
|
var E = /^(?:filter|find|map|reject)|While$/.test(Q), t = /^(?:head|last)$/.test(Q), c = l[t ? "take" + (Q == "last" ? "Right" : "") : Q], y = t || /^find/.test(Q);
|
|
8901
8901
|
c && (l.prototype[Q] = function() {
|
|
8902
|
-
var G = this.__wrapped__, L = t ? [1] : arguments, H = G instanceof VA, j = L[0], z = H ||
|
|
8902
|
+
var G = this.__wrapped__, L = t ? [1] : arguments, H = G instanceof VA, j = L[0], z = H || YA(G), BA = function(vA) {
|
|
8903
8903
|
var TA = c.apply(l, hI([vA], L));
|
|
8904
8904
|
return t && nA ? TA[0] : TA;
|
|
8905
8905
|
};
|
|
@@ -8918,10 +8918,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8918
8918
|
var c = arguments;
|
|
8919
8919
|
if (t && !this.__chain__) {
|
|
8920
8920
|
var y = this.value();
|
|
8921
|
-
return Q.apply(
|
|
8921
|
+
return Q.apply(YA(y) ? y : [], c);
|
|
8922
8922
|
}
|
|
8923
8923
|
return this[E](function(G) {
|
|
8924
|
-
return Q.apply(
|
|
8924
|
+
return Q.apply(YA(G) ? G : [], c);
|
|
8925
8925
|
});
|
|
8926
8926
|
};
|
|
8927
8927
|
}), JI(VA.prototype, function(A, Q) {
|
|
@@ -9102,7 +9102,7 @@ const RG = {
|
|
|
9102
9102
|
eg(w.$slots, "default")
|
|
9103
9103
|
], 2)) : WA("", !0)
|
|
9104
9104
|
], 42, UG)), [
|
|
9105
|
-
[
|
|
9105
|
+
[KA(I)]
|
|
9106
9106
|
]);
|
|
9107
9107
|
}
|
|
9108
9108
|
}), NG = "_ui3nButton_16z5q_1", MG = "_regular_16z5q_25", SG = "_small_16z5q_36", LG = "_block_16z5q_47", dG = "_primary_16z5q_51", kG = "_secondary_16z5q_68", JG = "_tertiary_16z5q_85", KG = "_icon_16z5q_105", YG = "_custom_16z5q_132", pG = "_buttonIcon_16z5q_156", HG = "_text_16z5q_157", bG = "_elevation_16z5q_161", mG = {
|
|
@@ -12899,30 +12899,30 @@ const mf = /* @__PURE__ */ Eg({
|
|
|
12899
12899
|
class: EA(x.$style.ui3nTable)
|
|
12900
12900
|
}, [
|
|
12901
12901
|
RA("div", {
|
|
12902
|
-
class: EA([x.$style.header,
|
|
12902
|
+
class: EA([x.$style.header, KA(D) && x.$style.withGroupActions])
|
|
12903
12903
|
}, [
|
|
12904
|
-
|
|
12904
|
+
KA(D) ? (eA(), DA("div", {
|
|
12905
12905
|
key: 0,
|
|
12906
12906
|
class: EA(x.$style.groupActions)
|
|
12907
12907
|
}, [
|
|
12908
12908
|
IB(hn, {
|
|
12909
|
-
indeterminate:
|
|
12910
|
-
"model-value":
|
|
12911
|
-
onChange:
|
|
12909
|
+
indeterminate: KA(w) < x.body.content.length && KA(w) !== 0,
|
|
12910
|
+
"model-value": KA(w) === x.body.content.length,
|
|
12911
|
+
onChange: KA(k)
|
|
12912
12912
|
}, {
|
|
12913
12913
|
default: OB(() => [
|
|
12914
|
-
_C(" Selected: " + ng(
|
|
12914
|
+
_C(" Selected: " + ng(KA(w)), 1)
|
|
12915
12915
|
]),
|
|
12916
12916
|
_: 1
|
|
12917
12917
|
}, 8, ["indeterminate", "model-value", "onChange"]),
|
|
12918
12918
|
RA("div", {
|
|
12919
12919
|
class: EA(x.$style.groupActionsBody)
|
|
12920
12920
|
}, [
|
|
12921
|
-
eg(x.$slots, "group-actions", { selectedRows:
|
|
12921
|
+
eg(x.$slots, "group-actions", { selectedRows: KA(n) })
|
|
12922
12922
|
], 2),
|
|
12923
12923
|
IB(QB, {
|
|
12924
12924
|
type: "secondary",
|
|
12925
|
-
onClick:
|
|
12925
|
+
onClick: KA(R)
|
|
12926
12926
|
}, {
|
|
12927
12927
|
default: OB(() => $[0] || ($[0] = [
|
|
12928
12928
|
_C(" Cancel ")
|
|
@@ -12930,29 +12930,29 @@ const mf = /* @__PURE__ */ Eg({
|
|
|
12930
12930
|
_: 1
|
|
12931
12931
|
}, 8, ["onClick"])
|
|
12932
12932
|
], 2)) : WA("", !0),
|
|
12933
|
-
(eA(!0), DA(AB, null, gB(
|
|
12933
|
+
(eA(!0), DA(AB, null, gB(KA(s), (O) => {
|
|
12934
12934
|
var CA, W, X;
|
|
12935
12935
|
return eA(), DA("div", {
|
|
12936
12936
|
key: O.key,
|
|
12937
12937
|
class: EA([
|
|
12938
12938
|
x.$style.headerItemWrapper,
|
|
12939
12939
|
O.sortable && x.$style.sortable,
|
|
12940
|
-
O.sortable && ((CA =
|
|
12940
|
+
O.sortable && ((CA = KA(e).sortOrder) == null ? void 0 : CA.field) === O.key && x.$style.sortableActive
|
|
12941
12941
|
]),
|
|
12942
12942
|
style: mI(O.headCellStyle)
|
|
12943
12943
|
}, [
|
|
12944
12944
|
RA("div", BQ({
|
|
12945
12945
|
class: x.$style.headerItem,
|
|
12946
12946
|
style: O.headCellStyle
|
|
12947
|
-
}, eB(O.sortable ? { click: () =>
|
|
12947
|
+
}, eB(O.sortable ? { click: () => KA(d)(O.key) } : {}, !0)), [
|
|
12948
12948
|
eg(x.$slots, `header-cell-${O.key}`, {}, () => [
|
|
12949
12949
|
RA("span", {
|
|
12950
12950
|
class: EA(x.$style.headerText)
|
|
12951
12951
|
}, ng(O.text), 3)
|
|
12952
12952
|
]),
|
|
12953
|
-
O.sortable && ((W =
|
|
12953
|
+
O.sortable && ((W = KA(e).sortOrder) == null ? void 0 : W.field) === O.key ? (eA(), EI(Hf, {
|
|
12954
12954
|
key: 0,
|
|
12955
|
-
value: (X =
|
|
12955
|
+
value: (X = KA(e).sortOrder) == null ? void 0 : X.direction,
|
|
12956
12956
|
size: "16"
|
|
12957
12957
|
}, null, 8, ["value"])) : WA("", !0)
|
|
12958
12958
|
], 16)
|
|
@@ -12963,44 +12963,38 @@ const mf = /* @__PURE__ */ Eg({
|
|
|
12963
12963
|
class: EA(x.$style.body)
|
|
12964
12964
|
}, [
|
|
12965
12965
|
x.$slots.row ? (eA(!0), DA(AB, { key: 0 }, gB(x.body.content, (O, CA) => (eA(), DA("div", {
|
|
12966
|
-
|
|
12967
|
-
|
|
12968
|
-
YA(h)(O) && x.$style.selected,
|
|
12969
|
-
x.config.selectable && x.$style.selectable
|
|
12970
|
-
]),
|
|
12971
|
-
key: YA(U)(O, CA)
|
|
12966
|
+
key: KA(U)(O, CA),
|
|
12967
|
+
class: EA([x.$style.row, KA(h)(O) && x.$style.selected, x.config.selectable && x.$style.selectable])
|
|
12972
12968
|
}, [
|
|
12973
|
-
eg(x.$slots, "
|
|
12969
|
+
eg(x.$slots, "row", {
|
|
12974
12970
|
row: O,
|
|
12975
|
-
rowStyle:
|
|
12971
|
+
rowStyle: KA(r)(O),
|
|
12976
12972
|
rowIndex: CA,
|
|
12973
|
+
isRowSelected: KA(h)(O),
|
|
12977
12974
|
events: J
|
|
12978
12975
|
})
|
|
12979
12976
|
], 2))), 128)) : (eA(!0), DA(AB, { key: 1 }, gB(x.body.content, (O, CA) => (eA(), DA("div", {
|
|
12980
|
-
|
|
12981
|
-
|
|
12982
|
-
|
|
12983
|
-
x.config.selectable && x.$style.selectable
|
|
12984
|
-
]),
|
|
12985
|
-
key: YA(U)(O, CA),
|
|
12986
|
-
style: mI(YA(r)(O))
|
|
12977
|
+
key: KA(U)(O, CA),
|
|
12978
|
+
class: EA([x.$style.row, KA(h)(O) && x.$style.selected, x.config.selectable && x.$style.selectable]),
|
|
12979
|
+
style: mI(KA(r)(O))
|
|
12987
12980
|
}, [
|
|
12988
12981
|
x.config.selectable ? (eA(), DA("div", {
|
|
12989
12982
|
key: 0,
|
|
12990
12983
|
class: EA(x.$style.rowCheckbox)
|
|
12991
12984
|
}, [
|
|
12992
12985
|
IB(hn, {
|
|
12993
|
-
"model-value":
|
|
12994
|
-
onChange: (W) =>
|
|
12986
|
+
"model-value": KA(h)(O),
|
|
12987
|
+
onChange: (W) => KA(S)(O)
|
|
12995
12988
|
}, null, 8, ["model-value", "onChange"])
|
|
12996
12989
|
], 2)) : WA("", !0),
|
|
12997
|
-
(eA(!0), DA(AB, null, gB(
|
|
12990
|
+
(eA(!0), DA(AB, null, gB(KA(s), (W, X) => (eA(), DA("div", {
|
|
12998
12991
|
key: W.key,
|
|
12999
12992
|
class: EA([x.$style.bodyItem, X === 0 && x.$style.bodyItemFirst])
|
|
13000
12993
|
}, [
|
|
13001
|
-
eg(x.$slots, `
|
|
12994
|
+
eg(x.$slots, `row-cell-${W.key}`, {
|
|
13002
12995
|
row: O,
|
|
13003
12996
|
rowIndex: CA,
|
|
12997
|
+
isRowSelected: KA(h)(O),
|
|
13004
12998
|
cell: O[W.key]
|
|
13005
12999
|
}, () => [
|
|
13006
13000
|
RA("span", {
|
|
@@ -14201,7 +14195,7 @@ function st(B) {
|
|
|
14201
14195
|
return B;
|
|
14202
14196
|
}
|
|
14203
14197
|
function qB(B) {
|
|
14204
|
-
return typeof B == "function" ? B() :
|
|
14198
|
+
return typeof B == "function" ? B() : KA(B);
|
|
14205
14199
|
}
|
|
14206
14200
|
function AM(B) {
|
|
14207
14201
|
return {
|
|
@@ -14368,12 +14362,12 @@ const gM = /* @__PURE__ */ Eg({
|
|
|
14368
14362
|
key: 0,
|
|
14369
14363
|
ref_key: "menuContentElement",
|
|
14370
14364
|
ref: s,
|
|
14371
|
-
style:
|
|
14365
|
+
style: KA(n),
|
|
14372
14366
|
class: r.$style.ui3nMenuContent
|
|
14373
14367
|
}, eB(r.closeOnClick ? { click: U } : {}, !0)), [
|
|
14374
14368
|
eg(r.$slots, "menu")
|
|
14375
14369
|
], 16)), [
|
|
14376
|
-
[
|
|
14370
|
+
[KA(yG), h]
|
|
14377
14371
|
]) : WA("", !0)
|
|
14378
14372
|
], 2));
|
|
14379
14373
|
}
|
|
@@ -14539,7 +14533,7 @@ const gM = /* @__PURE__ */ Eg({
|
|
|
14539
14533
|
return (k, d) => (eA(), DA("div", BQ({
|
|
14540
14534
|
ref_key: "tabs",
|
|
14541
14535
|
ref: e,
|
|
14542
|
-
class: [
|
|
14536
|
+
class: [KA(i).ui3nTabs, k.itemDirection === "vertical" && KA(i).vertical]
|
|
14543
14537
|
}, eB(s.value ? { click: S } : {}, !0)), [
|
|
14544
14538
|
eg(k.$slots, "default")
|
|
14545
14539
|
], 16));
|
|
@@ -15028,7 +15022,7 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
|
|
|
15028
15022
|
return (n, w) => (eA(), DA("div", {
|
|
15029
15023
|
ref_key: "switchEl",
|
|
15030
15024
|
ref: e,
|
|
15031
|
-
class: EA([n.$style.ui3nSwitch, s.value && n.$style.checked, !
|
|
15025
|
+
class: EA([n.$style.ui3nSwitch, s.value && n.$style.checked, !KA(i).default && n.$style.noLabel, n.disabled && n.$style.disabled])
|
|
15032
15026
|
}, [
|
|
15033
15027
|
IB(Hn, null, {
|
|
15034
15028
|
default: OB(() => [
|
|
@@ -15194,22 +15188,22 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
|
|
|
15194
15188
|
}), (x, $) => (eA(), DA("div", {
|
|
15195
15189
|
ref_key: "element",
|
|
15196
15190
|
ref: i,
|
|
15197
|
-
class: EA([
|
|
15191
|
+
class: EA([KA(C).ui3nProgressCircular, x.indeterminate && KA(C).indeterminate])
|
|
15198
15192
|
}, [
|
|
15199
15193
|
(eA(), DA("svg", {
|
|
15200
15194
|
height: s.value,
|
|
15201
15195
|
width: s.value,
|
|
15202
|
-
class: EA(
|
|
15196
|
+
class: EA(KA(C).pie),
|
|
15203
15197
|
xmlns: "http://www.w3.org/2000/svg"
|
|
15204
15198
|
}, [
|
|
15205
15199
|
RA("circle", {
|
|
15206
|
-
class: EA(
|
|
15200
|
+
class: EA(KA(C).background),
|
|
15207
15201
|
r: h.value,
|
|
15208
15202
|
cx: "50%",
|
|
15209
15203
|
cy: "50%"
|
|
15210
15204
|
}, null, 10, sJ),
|
|
15211
15205
|
RA("circle", {
|
|
15212
|
-
class: EA(
|
|
15206
|
+
class: EA(KA(C).chart),
|
|
15213
15207
|
r: h.value,
|
|
15214
15208
|
cx: "50%",
|
|
15215
15209
|
cy: "50%",
|
|
@@ -15218,7 +15212,7 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
|
|
|
15218
15212
|
], 10, tJ)),
|
|
15219
15213
|
e.value ? (eA(), DA("div", {
|
|
15220
15214
|
key: 0,
|
|
15221
|
-
class: EA(
|
|
15215
|
+
class: EA(KA(C).text)
|
|
15222
15216
|
}, ng(R.value) + "% ", 3)) : WA("", !0)
|
|
15223
15217
|
], 2));
|
|
15224
15218
|
}
|
|
@@ -15317,7 +15311,7 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
|
|
|
15317
15311
|
ref_key: "floatingEl",
|
|
15318
15312
|
ref: D,
|
|
15319
15313
|
class: EA(J.$style.floating),
|
|
15320
|
-
style: mI(
|
|
15314
|
+
style: mI(KA(r))
|
|
15321
15315
|
}, [
|
|
15322
15316
|
eg(J.$slots, "content", {}, () => {
|
|
15323
15317
|
var $, O, CA, W;
|
|
@@ -15331,8 +15325,8 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
|
|
|
15331
15325
|
ref: n,
|
|
15332
15326
|
class: EA([J.$style.arrow, J.$style[`arrow-${U.value}`]]),
|
|
15333
15327
|
style: mI({
|
|
15334
|
-
left: (($ =
|
|
15335
|
-
top: ((CA =
|
|
15328
|
+
left: (($ = KA(k).arrow) == null ? void 0 : $.x) != null ? `${(O = KA(k).arrow) == null ? void 0 : O.x}px` : "",
|
|
15329
|
+
top: ((CA = KA(k).arrow) == null ? void 0 : CA.y) != null ? `${(W = KA(k).arrow) == null ? void 0 : W.y}px` : ""
|
|
15336
15330
|
})
|
|
15337
15331
|
}, null, 6)
|
|
15338
15332
|
], 2)
|
|
@@ -15411,7 +15405,7 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
|
|
|
15411
15405
|
class: EA([
|
|
15412
15406
|
J.$style.ui3nRadio,
|
|
15413
15407
|
J.disabled && J.$style.disabled,
|
|
15414
|
-
!
|
|
15408
|
+
!KA(i).default && J.$style.noLabel
|
|
15415
15409
|
])
|
|
15416
15410
|
}, [
|
|
15417
15411
|
RA("div", {
|
package/package.json
CHANGED
|
@@ -57,21 +57,23 @@ export type Ui3nTableBodyRowSlotScope<T extends Ui3nTableBodyBaseItem> = {
|
|
|
57
57
|
row: T;
|
|
58
58
|
rowStyle?: Record<string, string>;
|
|
59
59
|
rowIndex: number;
|
|
60
|
+
isRowSelected?: boolean;
|
|
60
61
|
events?: Record<string, (value: unknown) => unknown>;
|
|
61
62
|
};
|
|
62
63
|
|
|
63
64
|
export type Ui3nTableBodyRowSlot<T extends Ui3nTableBodyBaseItem> = {
|
|
64
|
-
|
|
65
|
+
row: (scope: Ui3nTableBodyRowSlotScope<T>) => VNode;
|
|
65
66
|
};
|
|
66
67
|
|
|
67
68
|
export type Ui3nTableBodyRowCellSlotScope<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = {
|
|
68
69
|
row: T;
|
|
69
70
|
rowIndex: number;
|
|
71
|
+
isRowSelected?: boolean;
|
|
70
72
|
cell: T[K];
|
|
71
73
|
};
|
|
72
74
|
|
|
73
75
|
export type Ui3nTableBodyRowCellSlot<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = {
|
|
74
|
-
[p in `
|
|
76
|
+
[p in `row-cell-${K}`]: (scope: Ui3nTableBodyRowCellSlotScope<T, K>) => VNode;
|
|
75
77
|
};
|
|
76
78
|
|
|
77
79
|
export type Ui3nTableSlots<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = Ui3nTableGroupActionsSlot &
|
|
@@ -1,45 +1,46 @@
|
|
|
1
1
|
<script setup lang="ts" generic="T extends Ui3nTableBodyBaseItem">
|
|
2
|
-
import { useTable } from './composables/useTable';
|
|
3
|
-
import type {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Ui3nTableSlots,
|
|
8
|
-
} from './types';
|
|
9
|
-
import Ui3nButton from '../ui3n-button/ui3n-button.vue';
|
|
10
|
-
import Ui3nCheckbox from '../ui3n-checkbox/ui3n-checkbox.vue';
|
|
11
|
-
import Ui3nTableSortIcon from './ui3n-table-sort-icon.vue';
|
|
2
|
+
import { useTable } from './composables/useTable';
|
|
3
|
+
import type { Ui3nTableBodyBaseItem, Ui3nTableEmits, Ui3nTableProps, Ui3nTableSlots } from './types';
|
|
4
|
+
import Ui3nButton from '../ui3n-button/ui3n-button.vue';
|
|
5
|
+
import Ui3nCheckbox from '../ui3n-checkbox/ui3n-checkbox.vue';
|
|
6
|
+
import Ui3nTableSortIcon from './ui3n-table-sort-icon.vue';
|
|
12
7
|
|
|
13
|
-
const props = defineProps<Ui3nTableProps<T>>();
|
|
14
|
-
const emits = defineEmits<Ui3nTableEmits<T>>();
|
|
15
|
-
defineSlots<Ui3nTableSlots<T, string & keyof T>>();
|
|
8
|
+
const props = defineProps<Ui3nTableProps<T>>();
|
|
9
|
+
const emits = defineEmits<Ui3nTableEmits<T>>();
|
|
10
|
+
defineSlots<Ui3nTableSlots<T, string & keyof T>>();
|
|
16
11
|
|
|
17
|
-
const {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} = useTable(props, emits);
|
|
12
|
+
const {
|
|
13
|
+
tableEl,
|
|
14
|
+
currentConfig,
|
|
15
|
+
visibleColumns,
|
|
16
|
+
showGroupActionsRow,
|
|
17
|
+
selectedRowsArray,
|
|
18
|
+
selectedRowsSize,
|
|
19
|
+
closeGroupActionsRow,
|
|
20
|
+
getRowKey,
|
|
21
|
+
isRowSelected,
|
|
22
|
+
getRowStyle,
|
|
23
|
+
processSelection,
|
|
24
|
+
toggleSelectedRows,
|
|
25
|
+
changeSortOrder,
|
|
26
|
+
} = useTable(props, emits);
|
|
32
27
|
|
|
33
|
-
const eventsHandlers = {
|
|
34
|
-
|
|
35
|
-
};
|
|
28
|
+
const eventsHandlers = {
|
|
29
|
+
select: processSelection,
|
|
30
|
+
};
|
|
36
31
|
</script>
|
|
37
32
|
|
|
38
33
|
<template>
|
|
39
|
-
<div
|
|
34
|
+
<div
|
|
35
|
+
ref="tableEl"
|
|
36
|
+
:class="$style.ui3nTable"
|
|
37
|
+
>
|
|
40
38
|
<div :class="[$style.header, showGroupActionsRow && $style.withGroupActions]">
|
|
41
39
|
<!-- group actions -->
|
|
42
|
-
<div
|
|
40
|
+
<div
|
|
41
|
+
v-if="showGroupActionsRow"
|
|
42
|
+
:class="$style.groupActions"
|
|
43
|
+
>
|
|
43
44
|
<ui3n-checkbox
|
|
44
45
|
:indeterminate="selectedRowsSize < body.content.length && selectedRowsSize !== 0"
|
|
45
46
|
:model-value="selectedRowsSize === body.content.length"
|
|
@@ -49,7 +50,10 @@ const eventsHandlers = {
|
|
|
49
50
|
</ui3n-checkbox>
|
|
50
51
|
|
|
51
52
|
<div :class="$style.groupActionsBody">
|
|
52
|
-
<slot
|
|
53
|
+
<slot
|
|
54
|
+
name="group-actions"
|
|
55
|
+
:selected-rows="selectedRowsArray"
|
|
56
|
+
/>
|
|
53
57
|
</div>
|
|
54
58
|
|
|
55
59
|
<ui3n-button
|
|
@@ -60,10 +64,7 @@ const eventsHandlers = {
|
|
|
60
64
|
</ui3n-button>
|
|
61
65
|
</div>
|
|
62
66
|
<!-- table header -->
|
|
63
|
-
<template
|
|
64
|
-
v-for="h in visibleColumns"
|
|
65
|
-
:key="h.key"
|
|
66
|
-
>
|
|
67
|
+
<template v-for="h in visibleColumns" :key="h.key">
|
|
67
68
|
<div
|
|
68
69
|
:class="[
|
|
69
70
|
$style.headerItemWrapper,
|
|
@@ -75,7 +76,7 @@ const eventsHandlers = {
|
|
|
75
76
|
<div
|
|
76
77
|
:class="$style.headerItem"
|
|
77
78
|
:style="h.headCellStyle"
|
|
78
|
-
v-on="h.sortable ? { click: () => changeSortOrder(h.key) }: {}"
|
|
79
|
+
v-on="h.sortable ? { click: () => changeSortOrder(h.key) } : {}"
|
|
79
80
|
>
|
|
80
81
|
<slot :name="`header-cell-${h.key as string & keyof T}`">
|
|
81
82
|
<span :class="$style.headerText">
|
|
@@ -97,18 +98,15 @@ const eventsHandlers = {
|
|
|
97
98
|
<template v-if="$slots['row']">
|
|
98
99
|
<div
|
|
99
100
|
v-for="(row, rowIndex) in body.content"
|
|
100
|
-
:class="[
|
|
101
|
-
$style.row,
|
|
102
|
-
isRowSelected(row) && $style.selected,
|
|
103
|
-
config.selectable && $style.selectable,
|
|
104
|
-
]"
|
|
105
101
|
:key="getRowKey(row, rowIndex)"
|
|
102
|
+
:class="[$style.row, isRowSelected(row) && $style.selected, config.selectable && $style.selectable]"
|
|
106
103
|
>
|
|
107
104
|
<slot
|
|
108
|
-
name="
|
|
105
|
+
name="row"
|
|
109
106
|
:row="row"
|
|
110
107
|
:row-style="getRowStyle(row)"
|
|
111
108
|
:row-index="rowIndex"
|
|
109
|
+
:is-row-selected="isRowSelected(row)"
|
|
112
110
|
:events="eventsHandlers"
|
|
113
111
|
/>
|
|
114
112
|
</div>
|
|
@@ -117,12 +115,8 @@ const eventsHandlers = {
|
|
|
117
115
|
<template v-else>
|
|
118
116
|
<div
|
|
119
117
|
v-for="(row, rowIndex) in body.content"
|
|
120
|
-
:class="[
|
|
121
|
-
$style.row,
|
|
122
|
-
isRowSelected(row) && $style.selected,
|
|
123
|
-
config.selectable && $style.selectable,
|
|
124
|
-
]"
|
|
125
118
|
:key="getRowKey(row, rowIndex)"
|
|
119
|
+
:class="[$style.row, isRowSelected(row) && $style.selected, config.selectable && $style.selectable]"
|
|
126
120
|
:style="getRowStyle(row)"
|
|
127
121
|
>
|
|
128
122
|
<div
|
|
@@ -141,9 +135,10 @@ const eventsHandlers = {
|
|
|
141
135
|
>
|
|
142
136
|
<div :class="[$style.bodyItem, colIndex === 0 && $style.bodyItemFirst]">
|
|
143
137
|
<slot
|
|
144
|
-
:name="`
|
|
138
|
+
:name="`row-cell-${col.key as string & keyof T}`"
|
|
145
139
|
:row="row"
|
|
146
140
|
:row-index="rowIndex"
|
|
141
|
+
:is-row-selected="isRowSelected(row)"
|
|
147
142
|
:cell="row[col.key]"
|
|
148
143
|
>
|
|
149
144
|
<span :class="$style.cell">
|
|
@@ -159,161 +154,161 @@ const eventsHandlers = {
|
|
|
159
154
|
</template>
|
|
160
155
|
|
|
161
156
|
<style lang="scss" module>
|
|
162
|
-
@use '../../assets/styles/mixins' as mixins;
|
|
157
|
+
@use '../../assets/styles/mixins' as mixins;
|
|
163
158
|
|
|
164
|
-
.ui3nTable {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
159
|
+
.ui3nTable {
|
|
160
|
+
--ui3n-table-columns-width: auto;
|
|
161
|
+
--ui3n-table-base-head-height: 36px;
|
|
162
|
+
--ui3n-table-group-actions-height: 48px;
|
|
163
|
+
--ui3n-table-body-row-height: 28px;
|
|
164
|
+
--ui3n-table-group-actions-bg-color: var(--color-bg-block-primary-default);
|
|
170
165
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
}
|
|
166
|
+
position: relative;
|
|
167
|
+
width: 100%;
|
|
168
|
+
height: 100%;
|
|
169
|
+
background-color: transparent;
|
|
170
|
+
overflow-y: auto;
|
|
171
|
+
}
|
|
177
172
|
|
|
178
|
-
.header {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
173
|
+
.header {
|
|
174
|
+
position: sticky;
|
|
175
|
+
top: 0;
|
|
176
|
+
width: 100%;
|
|
177
|
+
min-height: var(--ui3n-table-header-height);
|
|
178
|
+
height: var(--ui3n-table-base-head-height);
|
|
179
|
+
display: grid;
|
|
180
|
+
grid-template-columns: var(--ui3n-table-columns-width);
|
|
181
|
+
background-color: var(--color-bg-table-header-default);
|
|
182
|
+
padding-left: var(--spacing-m);
|
|
183
|
+
z-index: 5;
|
|
189
184
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
185
|
+
&.withGroupActions {
|
|
186
|
+
height: calc(var(--ui3n-table-base-head-height) + var(--ui3n-table-group-actions-height));
|
|
187
|
+
padding-top: var(--ui3n-table-group-actions-height);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.headerItemWrapper:not(:first-child) {
|
|
191
|
+
padding: 0 var(--spacing-xs);
|
|
192
|
+
}
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
.headerItemWrapper
|
|
196
|
-
|
|
195
|
+
.headerItemWrapper {
|
|
196
|
+
position: relative;
|
|
197
|
+
display: flex;
|
|
198
|
+
justify-content: flex-start;
|
|
199
|
+
align-items: center;
|
|
197
200
|
}
|
|
198
|
-
}
|
|
199
201
|
|
|
200
|
-
.
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
202
|
+
.headerItem {
|
|
203
|
+
position: relative;
|
|
204
|
+
display: flex;
|
|
205
|
+
justify-content: flex-start;
|
|
206
|
+
align-items: center;
|
|
207
|
+
width: fit-content;
|
|
208
|
+
max-width: 100%;
|
|
209
|
+
user-select: none;
|
|
210
|
+
}
|
|
206
211
|
|
|
207
|
-
.
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
width: fit-content;
|
|
213
|
-
max-width: 100%;
|
|
214
|
-
user-select: none;
|
|
215
|
-
}
|
|
212
|
+
.sortable {
|
|
213
|
+
.headerItem {
|
|
214
|
+
cursor: pointer;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
216
217
|
|
|
217
|
-
.
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
.headerText {
|
|
219
|
+
display: block;
|
|
220
|
+
font-size: var(--font-14);
|
|
221
|
+
font-weight: 500;
|
|
222
|
+
color: var(--color-text-table-primary-default);
|
|
223
|
+
@include mixins.text-overflow-ellipsis();
|
|
220
224
|
}
|
|
221
|
-
}
|
|
222
225
|
|
|
223
|
-
.
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
@include mixins.text-overflow-ellipsis();
|
|
229
|
-
}
|
|
226
|
+
.sortableActive {
|
|
227
|
+
.headerItem {
|
|
228
|
+
gap: var(--spacing-s);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
230
231
|
|
|
231
|
-
.
|
|
232
|
-
|
|
233
|
-
|
|
232
|
+
.groupActions {
|
|
233
|
+
position: absolute;
|
|
234
|
+
top: 0;
|
|
235
|
+
left: 0;
|
|
236
|
+
display: flex;
|
|
237
|
+
width: 100%;
|
|
238
|
+
height: var(--ui3n-table-group-actions-height);
|
|
239
|
+
padding: 0 var(--spacing-m);
|
|
240
|
+
justify-content: space-between;
|
|
241
|
+
align-items: center;
|
|
242
|
+
background-color: var(--ui3n-table-group-actions-bg-color);
|
|
243
|
+
border-left: 1px solid var(--color-border-block-primary-default);
|
|
244
|
+
border-top: 1px solid var(--color-border-block-primary-default);
|
|
245
|
+
border-right: 1px solid var(--color-border-block-primary-default);
|
|
234
246
|
}
|
|
235
|
-
}
|
|
236
247
|
|
|
237
|
-
.
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
height: var(--ui3n-table-group-actions-height);
|
|
244
|
-
padding: 0 var(--spacing-m);
|
|
245
|
-
justify-content: space-between;
|
|
246
|
-
align-items: center;
|
|
247
|
-
background-color: var(--ui3n-table-group-actions-bg-color);
|
|
248
|
-
border-left: 1px solid var(--color-border-block-primary-default);
|
|
249
|
-
border-top: 1px solid var(--color-border-block-primary-default);
|
|
250
|
-
border-right: 1px solid var(--color-border-block-primary-default);
|
|
251
|
-
}
|
|
248
|
+
.groupActionsBody {
|
|
249
|
+
display: flex;
|
|
250
|
+
height: 100%;
|
|
251
|
+
padding: 0 var(--spacing-s);
|
|
252
|
+
flex-grow: 1;
|
|
253
|
+
}
|
|
252
254
|
|
|
253
|
-
.
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
flex-grow: 1;
|
|
258
|
-
}
|
|
255
|
+
.body {
|
|
256
|
+
position: relative;
|
|
257
|
+
width: 100%;
|
|
258
|
+
}
|
|
259
259
|
|
|
260
|
-
.
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
260
|
+
.row {
|
|
261
|
+
position: relative;
|
|
262
|
+
width: 100%;
|
|
263
|
+
min-height: var(--ui3n-table-body-row-height);
|
|
264
|
+
display: grid;
|
|
265
|
+
grid-template-columns: var(--ui3n-table-columns-width);
|
|
266
|
+
padding-left: var(--spacing-m);
|
|
267
|
+
border-left: 1px solid var(--color-border-table-primary-default);
|
|
268
|
+
border-right: 1px solid var(--color-border-table-primary-default);
|
|
269
|
+
border-bottom: 1px solid var(--color-border-block-primary-default);
|
|
270
|
+
background-color: transparent;
|
|
264
271
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
min-height: var(--ui3n-table-body-row-height);
|
|
269
|
-
display: grid;
|
|
270
|
-
grid-template-columns: var(--ui3n-table-columns-width);
|
|
271
|
-
padding-left: var(--spacing-m);
|
|
272
|
-
border-left: 1px solid var(--color-border-table-primary-default);
|
|
273
|
-
border-right: 1px solid var(--color-border-table-primary-default);
|
|
274
|
-
border-bottom: 1px solid var(--color-border-block-primary-default);
|
|
275
|
-
background-color: transparent;
|
|
272
|
+
&.selectable {
|
|
273
|
+
cursor: pointer;
|
|
274
|
+
}
|
|
276
275
|
|
|
277
|
-
|
|
278
|
-
|
|
276
|
+
&:hover {
|
|
277
|
+
background-color: var(--color-bg-control-primary-hover);
|
|
278
|
+
}
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
-
|
|
281
|
+
.selected {
|
|
282
282
|
background-color: var(--color-bg-control-primary-hover);
|
|
283
283
|
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.selected {
|
|
287
|
-
background-color: var(--color-bg-control-primary-hover);
|
|
288
|
-
}
|
|
289
284
|
|
|
290
|
-
.rowCheckbox {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
}
|
|
285
|
+
.rowCheckbox {
|
|
286
|
+
position: absolute;
|
|
287
|
+
top: 0;
|
|
288
|
+
left: 16px;
|
|
289
|
+
width: var(--spacing-m);
|
|
290
|
+
height: 100%;
|
|
291
|
+
display: flex;
|
|
292
|
+
justify-content: flex-start;
|
|
293
|
+
align-items: center;
|
|
294
|
+
z-index: 1;
|
|
295
|
+
}
|
|
301
296
|
|
|
302
|
-
.bodyItem {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
297
|
+
.bodyItem {
|
|
298
|
+
position: relative;
|
|
299
|
+
height: 100%;
|
|
300
|
+
display: flex;
|
|
301
|
+
justify-content: flex-start;
|
|
302
|
+
align-items: center;
|
|
308
303
|
|
|
309
|
-
|
|
310
|
-
|
|
304
|
+
&.bodyItemFirst {
|
|
305
|
+
padding-left: var(--spacing-ml);
|
|
306
|
+
}
|
|
311
307
|
}
|
|
312
|
-
}
|
|
313
308
|
|
|
314
|
-
.cell {
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
}
|
|
309
|
+
.cell {
|
|
310
|
+
font-size: var(--font-12);
|
|
311
|
+
font-weight: 400;
|
|
312
|
+
color: var(--color-text-table-primary-default);
|
|
313
|
+
}
|
|
319
314
|
</style>
|