@v1nt1248/3nclient-lib 0.1.39 → 0.1.41

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.
@@ -45,22 +45,30 @@ export type Ui3nTableGroupActionsSlot = {
45
45
  export type Ui3nTableHeaderCellSlot<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = {
46
46
  [p in `header-cell-${K}`]: () => VNode;
47
47
  };
48
- export type Ui3nTableBodyRowSlotScope<T extends Ui3nTableBodyBaseItem> = {
48
+ export type Ui3nTableBodyRowSlotScope<T extends Ui3nTableBodyBaseItem, K extends keyof T = keyof T> = {
49
49
  row: T;
50
50
  rowStyle?: Record<string, string>;
51
51
  rowIndex: number;
52
+ isRowSelected?: boolean;
53
+ columnStyle?: {
54
+ [P in Omit<K, 'id'> as string | number]: Record<string, string>;
55
+ };
52
56
  events?: Record<string, (value: unknown) => unknown>;
53
57
  };
54
58
  export type Ui3nTableBodyRowSlot<T extends Ui3nTableBodyBaseItem> = {
55
- 'body-row': (scope: Ui3nTableBodyRowSlotScope<T>) => VNode;
59
+ row: (scope: Ui3nTableBodyRowSlotScope<T>) => VNode;
56
60
  };
57
61
  export type Ui3nTableBodyRowCellSlotScope<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = {
58
62
  row: T;
59
63
  rowIndex: number;
64
+ isRowSelected?: boolean;
65
+ columnStyle?: {
66
+ [P in Omit<K, 'id'> as string | number]: Record<string, string>;
67
+ };
60
68
  cell: T[K];
61
69
  };
62
70
  export type Ui3nTableBodyRowCellSlot<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = {
63
- [p in `body-row-cell-${K}`]: (scope: Ui3nTableBodyRowCellSlotScope<T, K>) => VNode;
71
+ [p in `row-cell-${K}`]: (scope: Ui3nTableBodyRowCellSlotScope<T, K>) => VNode;
64
72
  };
65
73
  export type Ui3nTableSlots<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = Ui3nTableGroupActionsSlot & Ui3nTableHeaderCellSlot<T, K> & Ui3nTableBodyRowSlot<T> & Ui3nTableBodyRowCellSlot<T, K>;
66
74
  export interface Ui3nTableSortIconProps {
@@ -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 YA, 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";
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) && !KA(A) && !(A instanceof VA)) {
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 = KA(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__);
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 = KA(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;
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 = KA(A);
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 KA(A) ? t : hI(t, E(A));
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 = KA(A), L = KA(Q), H = G ? Ig : Sg(A), j = L ? Ig : Sg(Q);
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" ? KA(A) ? hs(A[0], A[1]) : ws(A) : ba(A);
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 = KA(H), wA = !nA && RQ(H), NA = !nA && !wA && HB(H);
6452
- z = H, nA || wA || NA ? KA(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;
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 KA(y) ? function(G) {
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 (KA(A))
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 KA(A) ? A : no(A, Q) ? [A] : Ba(_A(A));
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 = KA(E) ? de : MD, y = Q ? Q() : {};
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 && KA(z))
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) && (KA(A) || _Q(A)));
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 KA(A) || _Q(A) || !!(gs && A && A[gs]);
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 (KA(A))
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(KA(E) ? qg(E) : [E], fg(Q, 1));
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 = KA(A) ? OE : dD;
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 = KA(A) ? kI : ss;
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 = KA(A) ? Jg : hQ;
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 = KA(A) ? ke : ts;
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 = KA(A) ? ig : cs;
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 ? [] : (KA(Q) || (Q = Q == null ? [] : [Q]), E = t ? I : E, KA(E) || (E = E == null ? [] : [E]), ys(A, Q, E));
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 = KA(A) ? MC : Kg, c = arguments.length < 3;
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 = KA(A) ? Je : Kg, c = arguments.length < 3;
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 = KA(A) ? kI : ss;
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 = KA(A) ? Es : jD;
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 = KA(A) ? fD : XD;
7919
+ var t = YA(A) ? fD : XD;
7920
7920
  return t(A, Q);
7921
7921
  }
7922
7922
  function Cw(A) {
7923
- var Q = KA(A) ? ND : zD;
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 = KA(A) ? SC : $D;
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 && KA(Q[0]) ? ig(Q[0], zg(fA())) : ig(fg(Q, 1), zg(fA()));
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 KA(A) ? A : [A];
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
- }, KA = q.isArray, Sw = fC ? zg(fC) : HD;
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) && (KA(A) || typeof A == "string" || typeof A.splice == "function" || RQ(A) || HB(A) || _Q(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" || !KA(A) && rg(A) && Yg(A) == MI;
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 = KA(A), c = t || RQ(A) || HB(A);
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 KA(A) ? ig(A, YI) : AI(A) ? [A] : qg(Ba(_A(A)));
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 = KA, 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() {
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 || KA(G), BA = function(vA) {
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(KA(y) ? y : [], c);
8921
+ return Q.apply(YA(y) ? y : [], c);
8922
8922
  }
8923
8923
  return this[E](function(G) {
8924
- return Q.apply(KA(G) ? G : [], c);
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
- [YA(I)]
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, YA(D) && x.$style.withGroupActions])
12902
+ class: EA([x.$style.header, KA(D) && x.$style.withGroupActions])
12903
12903
  }, [
12904
- YA(D) ? (eA(), DA("div", {
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: YA(w) < x.body.content.length && YA(w) !== 0,
12910
- "model-value": YA(w) === x.body.content.length,
12911
- onChange: YA(k)
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(YA(w)), 1)
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: YA(n) })
12921
+ eg(x.$slots, "group-actions", { selectedRows: KA(n) })
12922
12922
  ], 2),
12923
12923
  IB(QB, {
12924
12924
  type: "secondary",
12925
- onClick: YA(R)
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(YA(s), (O) => {
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 = YA(e).sortOrder) == null ? void 0 : CA.field) === O.key && x.$style.sortableActive
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: () => YA(d)(O.key) } : {}, !0)), [
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 = YA(e).sortOrder) == null ? void 0 : W.field) === O.key ? (eA(), EI(Hf, {
12953
+ O.sortable && ((W = KA(e).sortOrder) == null ? void 0 : W.field) === O.key ? (eA(), EI(Hf, {
12954
12954
  key: 0,
12955
- value: (X = YA(e).sortOrder) == null ? void 0 : X.direction,
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)
@@ -12962,52 +12962,54 @@ const mf = /* @__PURE__ */ Eg({
12962
12962
  RA("div", {
12963
12963
  class: EA(x.$style.body)
12964
12964
  }, [
12965
- x.$slots.row ? (eA(!0), DA(AB, { key: 0 }, gB(x.body.content, (O, CA) => (eA(), DA("div", {
12966
- class: EA([
12967
- x.$style.row,
12968
- YA(h)(O) && x.$style.selected,
12969
- x.config.selectable && x.$style.selectable
12970
- ]),
12971
- key: YA(U)(O, CA)
12972
- }, [
12973
- eg(x.$slots, "body-row", {
12974
- row: O,
12975
- rowStyle: YA(r)(O),
12976
- rowIndex: CA,
12977
- events: J
12978
- })
12979
- ], 2))), 128)) : (eA(!0), DA(AB, { key: 1 }, gB(x.body.content, (O, CA) => (eA(), DA("div", {
12980
- class: EA([
12981
- x.$style.row,
12982
- YA(h)(O) && x.$style.selected,
12983
- x.config.selectable && x.$style.selectable
12984
- ]),
12985
- key: YA(U)(O, CA),
12986
- style: mI(YA(r)(O))
12965
+ x.$slots.row ? (eA(!0), DA(AB, { key: 0 }, gB(x.body.content, (O, CA) => {
12966
+ var W;
12967
+ return eA(), DA("div", {
12968
+ key: KA(U)(O, CA),
12969
+ class: EA([x.$style.row, KA(h)(O) && x.$style.selected, x.config.selectable && x.$style.selectable])
12970
+ }, [
12971
+ eg(x.$slots, "row", {
12972
+ row: O,
12973
+ rowStyle: KA(r)(O),
12974
+ rowIndex: CA,
12975
+ isRowSelected: KA(h)(O),
12976
+ columnStyle: (W = x.config) == null ? void 0 : W.columnStyle,
12977
+ events: J
12978
+ })
12979
+ ], 2);
12980
+ }), 128)) : (eA(!0), DA(AB, { key: 1 }, gB(x.body.content, (O, CA) => (eA(), DA("div", {
12981
+ key: KA(U)(O, CA),
12982
+ class: EA([x.$style.row, KA(h)(O) && x.$style.selected, x.config.selectable && x.$style.selectable]),
12983
+ style: mI(KA(r)(O))
12987
12984
  }, [
12988
12985
  x.config.selectable ? (eA(), DA("div", {
12989
12986
  key: 0,
12990
12987
  class: EA(x.$style.rowCheckbox)
12991
12988
  }, [
12992
12989
  IB(hn, {
12993
- "model-value": YA(h)(O),
12994
- onChange: (W) => YA(S)(O)
12990
+ "model-value": KA(h)(O),
12991
+ onChange: (W) => KA(S)(O)
12995
12992
  }, null, 8, ["model-value", "onChange"])
12996
12993
  ], 2)) : WA("", !0),
12997
- (eA(!0), DA(AB, null, gB(YA(s), (W, X) => (eA(), DA("div", {
12998
- key: W.key,
12999
- class: EA([x.$style.bodyItem, X === 0 && x.$style.bodyItemFirst])
13000
- }, [
13001
- eg(x.$slots, `body-row-cell-${W.key}`, {
13002
- row: O,
13003
- rowIndex: CA,
13004
- cell: O[W.key]
13005
- }, () => [
13006
- RA("span", {
13007
- class: EA(x.$style.cell)
13008
- }, ng(O[W.key]), 3)
13009
- ])
13010
- ], 2))), 128))
12994
+ (eA(!0), DA(AB, null, gB(KA(s), (W, X) => {
12995
+ var b;
12996
+ return eA(), DA("div", {
12997
+ key: W.key,
12998
+ class: EA([x.$style.bodyItem, X === 0 && x.$style.bodyItemFirst])
12999
+ }, [
13000
+ eg(x.$slots, `row-cell-${W.key}`, {
13001
+ row: O,
13002
+ rowIndex: CA,
13003
+ isRowSelected: KA(h)(O),
13004
+ columnStyle: (b = x.config) == null ? void 0 : b.columnStyle,
13005
+ cell: O[W.key]
13006
+ }, () => [
13007
+ RA("span", {
13008
+ class: EA(x.$style.cell)
13009
+ }, ng(O[W.key]), 3)
13010
+ ])
13011
+ ], 2);
13012
+ }), 128))
13011
13013
  ], 6))), 128))
13012
13014
  ], 2)
13013
13015
  ], 2));
@@ -14201,7 +14203,7 @@ function st(B) {
14201
14203
  return B;
14202
14204
  }
14203
14205
  function qB(B) {
14204
- return typeof B == "function" ? B() : YA(B);
14206
+ return typeof B == "function" ? B() : KA(B);
14205
14207
  }
14206
14208
  function AM(B) {
14207
14209
  return {
@@ -14368,12 +14370,12 @@ const gM = /* @__PURE__ */ Eg({
14368
14370
  key: 0,
14369
14371
  ref_key: "menuContentElement",
14370
14372
  ref: s,
14371
- style: YA(n),
14373
+ style: KA(n),
14372
14374
  class: r.$style.ui3nMenuContent
14373
14375
  }, eB(r.closeOnClick ? { click: U } : {}, !0)), [
14374
14376
  eg(r.$slots, "menu")
14375
14377
  ], 16)), [
14376
- [YA(yG), h]
14378
+ [KA(yG), h]
14377
14379
  ]) : WA("", !0)
14378
14380
  ], 2));
14379
14381
  }
@@ -14539,7 +14541,7 @@ const gM = /* @__PURE__ */ Eg({
14539
14541
  return (k, d) => (eA(), DA("div", BQ({
14540
14542
  ref_key: "tabs",
14541
14543
  ref: e,
14542
- class: [YA(i).ui3nTabs, k.itemDirection === "vertical" && YA(i).vertical]
14544
+ class: [KA(i).ui3nTabs, k.itemDirection === "vertical" && KA(i).vertical]
14543
14545
  }, eB(s.value ? { click: S } : {}, !0)), [
14544
14546
  eg(k.$slots, "default")
14545
14547
  ], 16));
@@ -15028,7 +15030,7 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
15028
15030
  return (n, w) => (eA(), DA("div", {
15029
15031
  ref_key: "switchEl",
15030
15032
  ref: e,
15031
- class: EA([n.$style.ui3nSwitch, s.value && n.$style.checked, !YA(i).default && n.$style.noLabel, n.disabled && n.$style.disabled])
15033
+ class: EA([n.$style.ui3nSwitch, s.value && n.$style.checked, !KA(i).default && n.$style.noLabel, n.disabled && n.$style.disabled])
15032
15034
  }, [
15033
15035
  IB(Hn, null, {
15034
15036
  default: OB(() => [
@@ -15194,22 +15196,22 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
15194
15196
  }), (x, $) => (eA(), DA("div", {
15195
15197
  ref_key: "element",
15196
15198
  ref: i,
15197
- class: EA([YA(C).ui3nProgressCircular, x.indeterminate && YA(C).indeterminate])
15199
+ class: EA([KA(C).ui3nProgressCircular, x.indeterminate && KA(C).indeterminate])
15198
15200
  }, [
15199
15201
  (eA(), DA("svg", {
15200
15202
  height: s.value,
15201
15203
  width: s.value,
15202
- class: EA(YA(C).pie),
15204
+ class: EA(KA(C).pie),
15203
15205
  xmlns: "http://www.w3.org/2000/svg"
15204
15206
  }, [
15205
15207
  RA("circle", {
15206
- class: EA(YA(C).background),
15208
+ class: EA(KA(C).background),
15207
15209
  r: h.value,
15208
15210
  cx: "50%",
15209
15211
  cy: "50%"
15210
15212
  }, null, 10, sJ),
15211
15213
  RA("circle", {
15212
- class: EA(YA(C).chart),
15214
+ class: EA(KA(C).chart),
15213
15215
  r: h.value,
15214
15216
  cx: "50%",
15215
15217
  cy: "50%",
@@ -15218,7 +15220,7 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
15218
15220
  ], 10, tJ)),
15219
15221
  e.value ? (eA(), DA("div", {
15220
15222
  key: 0,
15221
- class: EA(YA(C).text)
15223
+ class: EA(KA(C).text)
15222
15224
  }, ng(R.value) + "% ", 3)) : WA("", !0)
15223
15225
  ], 2));
15224
15226
  }
@@ -15317,7 +15319,7 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
15317
15319
  ref_key: "floatingEl",
15318
15320
  ref: D,
15319
15321
  class: EA(J.$style.floating),
15320
- style: mI(YA(r))
15322
+ style: mI(KA(r))
15321
15323
  }, [
15322
15324
  eg(J.$slots, "content", {}, () => {
15323
15325
  var $, O, CA, W;
@@ -15331,8 +15333,8 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
15331
15333
  ref: n,
15332
15334
  class: EA([J.$style.arrow, J.$style[`arrow-${U.value}`]]),
15333
15335
  style: mI({
15334
- left: (($ = YA(k).arrow) == null ? void 0 : $.x) != null ? `${(O = YA(k).arrow) == null ? void 0 : O.x}px` : "",
15335
- top: ((CA = YA(k).arrow) == null ? void 0 : CA.y) != null ? `${(W = YA(k).arrow) == null ? void 0 : W.y}px` : ""
15336
+ left: (($ = KA(k).arrow) == null ? void 0 : $.x) != null ? `${(O = KA(k).arrow) == null ? void 0 : O.x}px` : "",
15337
+ top: ((CA = KA(k).arrow) == null ? void 0 : CA.y) != null ? `${(W = KA(k).arrow) == null ? void 0 : W.y}px` : ""
15336
15338
  })
15337
15339
  }, null, 6)
15338
15340
  ], 2)
@@ -15411,7 +15413,7 @@ const Ti = /* @__PURE__ */ mn(ik), ek = /* @__PURE__ */ Eg({
15411
15413
  class: EA([
15412
15414
  J.$style.ui3nRadio,
15413
15415
  J.disabled && J.$style.disabled,
15414
- !YA(i).default && J.$style.noLabel
15416
+ !KA(i).default && J.$style.noLabel
15415
15417
  ])
15416
15418
  }, [
15417
15419
  RA("div", {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@v1nt1248/3nclient-lib",
3
3
  "license": "AGPL-3.0-or-later",
4
4
  "author": "v1nt1248",
5
- "version": "0.1.39",
5
+ "version": "0.1.41",
6
6
  "description": "Library for 3NWeb clients",
7
7
  "type": "module",
8
8
  "files": [
@@ -53,25 +53,29 @@ export type Ui3nTableHeaderCellSlot<T extends Ui3nTableBodyBaseItem, K extends s
53
53
  [p in `header-cell-${K}`]: () => VNode;
54
54
  };
55
55
 
56
- export type Ui3nTableBodyRowSlotScope<T extends Ui3nTableBodyBaseItem> = {
56
+ export type Ui3nTableBodyRowSlotScope<T extends Ui3nTableBodyBaseItem, K extends keyof T = keyof T> = {
57
57
  row: T;
58
58
  rowStyle?: Record<string, string>;
59
59
  rowIndex: number;
60
+ isRowSelected?: boolean;
61
+ columnStyle?: { [P in Omit<K, 'id'> as string | number]: Record<string, string> };
60
62
  events?: Record<string, (value: unknown) => unknown>;
61
63
  };
62
64
 
63
65
  export type Ui3nTableBodyRowSlot<T extends Ui3nTableBodyBaseItem> = {
64
- 'body-row': (scope: Ui3nTableBodyRowSlotScope<T>) => VNode;
66
+ row: (scope: Ui3nTableBodyRowSlotScope<T>) => VNode;
65
67
  };
66
68
 
67
69
  export type Ui3nTableBodyRowCellSlotScope<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = {
68
70
  row: T;
69
71
  rowIndex: number;
72
+ isRowSelected?: boolean;
73
+ columnStyle?: { [P in Omit<K, 'id'> as string | number]: Record<string, string> };
70
74
  cell: T[K];
71
75
  };
72
76
 
73
77
  export type Ui3nTableBodyRowCellSlot<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = {
74
- [p in `body-row-cell-${K}`]: (scope: Ui3nTableBodyRowCellSlotScope<T, K>) => VNode;
78
+ [p in `row-cell-${K}`]: (scope: Ui3nTableBodyRowCellSlotScope<T, K>) => VNode;
75
79
  };
76
80
 
77
81
  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
- Ui3nTableBodyBaseItem,
5
- Ui3nTableEmits,
6
- Ui3nTableProps,
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
- tableEl,
19
- currentConfig,
20
- visibleColumns,
21
- showGroupActionsRow,
22
- selectedRowsArray,
23
- selectedRowsSize,
24
- closeGroupActionsRow,
25
- getRowKey,
26
- isRowSelected,
27
- getRowStyle,
28
- processSelection,
29
- toggleSelectedRows,
30
- changeSortOrder,
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
- select: processSelection,
35
- };
28
+ const eventsHandlers = {
29
+ select: processSelection,
30
+ };
36
31
  </script>
37
32
 
38
33
  <template>
39
- <div ref="tableEl" :class="$style.ui3nTable">
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 v-if="showGroupActionsRow" :class="$style.groupActions">
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 name="group-actions" :selected-rows="selectedRowsArray" />
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,16 @@ 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="body-row"
105
+ name="row"
109
106
  :row="row"
110
107
  :row-style="getRowStyle(row)"
111
108
  :row-index="rowIndex"
109
+ :is-row-selected="isRowSelected(row)"
110
+ :column-style="config?.columnStyle"
112
111
  :events="eventsHandlers"
113
112
  />
114
113
  </div>
@@ -117,12 +116,8 @@ const eventsHandlers = {
117
116
  <template v-else>
118
117
  <div
119
118
  v-for="(row, rowIndex) in body.content"
120
- :class="[
121
- $style.row,
122
- isRowSelected(row) && $style.selected,
123
- config.selectable && $style.selectable,
124
- ]"
125
119
  :key="getRowKey(row, rowIndex)"
120
+ :class="[$style.row, isRowSelected(row) && $style.selected, config.selectable && $style.selectable]"
126
121
  :style="getRowStyle(row)"
127
122
  >
128
123
  <div
@@ -141,9 +136,11 @@ const eventsHandlers = {
141
136
  >
142
137
  <div :class="[$style.bodyItem, colIndex === 0 && $style.bodyItemFirst]">
143
138
  <slot
144
- :name="`body-row-cell-${(col.key as string & keyof T)}`"
139
+ :name="`row-cell-${col.key as string & keyof T}`"
145
140
  :row="row"
146
141
  :row-index="rowIndex"
142
+ :is-row-selected="isRowSelected(row)"
143
+ :column-style="config?.columnStyle"
147
144
  :cell="row[col.key]"
148
145
  >
149
146
  <span :class="$style.cell">
@@ -159,161 +156,161 @@ const eventsHandlers = {
159
156
  </template>
160
157
 
161
158
  <style lang="scss" module>
162
- @use '../../assets/styles/mixins' as mixins;
159
+ @use '../../assets/styles/mixins' as mixins;
163
160
 
164
- .ui3nTable {
165
- --ui3n-table-columns-width: auto;
166
- --ui3n-table-base-head-height: 36px;
167
- --ui3n-table-group-actions-height: 48px;
168
- --ui3n-table-body-row-height: 28px;
169
- --ui3n-table-group-actions-bg-color: var(--color-bg-block-primary-default);
161
+ .ui3nTable {
162
+ --ui3n-table-columns-width: auto;
163
+ --ui3n-table-base-head-height: 36px;
164
+ --ui3n-table-group-actions-height: 48px;
165
+ --ui3n-table-body-row-height: 28px;
166
+ --ui3n-table-group-actions-bg-color: var(--color-bg-block-primary-default);
170
167
 
171
- position: relative;
172
- width: 100%;
173
- height: 100%;
174
- background-color: transparent;
175
- overflow-y: auto;
176
- }
168
+ position: relative;
169
+ width: 100%;
170
+ height: 100%;
171
+ background-color: transparent;
172
+ overflow-y: auto;
173
+ }
177
174
 
178
- .header {
179
- position: sticky;
180
- top: 0;
181
- width: 100%;
182
- min-height: var(--ui3n-table-header-height);
183
- height: var(--ui3n-table-base-head-height);
184
- display: grid;
185
- grid-template-columns: var(--ui3n-table-columns-width);
186
- background-color: var(--color-bg-table-header-default);
187
- padding-left: var(--spacing-m);
188
- z-index: 5;
175
+ .header {
176
+ position: sticky;
177
+ top: 0;
178
+ width: 100%;
179
+ min-height: var(--ui3n-table-header-height);
180
+ height: var(--ui3n-table-base-head-height);
181
+ display: grid;
182
+ grid-template-columns: var(--ui3n-table-columns-width);
183
+ background-color: var(--color-bg-table-header-default);
184
+ padding-left: var(--spacing-m);
185
+ z-index: 5;
189
186
 
190
- &.withGroupActions {
191
- height: calc(var(--ui3n-table-base-head-height) + var(--ui3n-table-group-actions-height));
192
- padding-top: var(--ui3n-table-group-actions-height);
187
+ &.withGroupActions {
188
+ height: calc(var(--ui3n-table-base-head-height) + var(--ui3n-table-group-actions-height));
189
+ padding-top: var(--ui3n-table-group-actions-height);
190
+ }
191
+
192
+ .headerItemWrapper:not(:first-child) {
193
+ padding: 0 var(--spacing-xs);
194
+ }
193
195
  }
194
196
 
195
- .headerItemWrapper:not(:first-child) {
196
- padding: 0 var(--spacing-xs);
197
+ .headerItemWrapper {
198
+ position: relative;
199
+ display: flex;
200
+ justify-content: flex-start;
201
+ align-items: center;
197
202
  }
198
- }
199
203
 
200
- .headerItemWrapper {
201
- position: relative;
202
- display: flex;
203
- justify-content: flex-start;
204
- align-items: center;
205
- }
204
+ .headerItem {
205
+ position: relative;
206
+ display: flex;
207
+ justify-content: flex-start;
208
+ align-items: center;
209
+ width: fit-content;
210
+ max-width: 100%;
211
+ user-select: none;
212
+ }
206
213
 
207
- .headerItem {
208
- position: relative;
209
- display: flex;
210
- justify-content: flex-start;
211
- align-items: center;
212
- width: fit-content;
213
- max-width: 100%;
214
- user-select: none;
215
- }
214
+ .sortable {
215
+ .headerItem {
216
+ cursor: pointer;
217
+ }
218
+ }
216
219
 
217
- .sortable {
218
- .headerItem {
219
- cursor: pointer;
220
+ .headerText {
221
+ display: block;
222
+ font-size: var(--font-14);
223
+ font-weight: 500;
224
+ color: var(--color-text-table-primary-default);
225
+ @include mixins.text-overflow-ellipsis();
220
226
  }
221
- }
222
227
 
223
- .headerText {
224
- display: block;
225
- font-size: var(--font-14);
226
- font-weight: 500;
227
- color: var(--color-text-table-primary-default);
228
- @include mixins.text-overflow-ellipsis();
229
- }
228
+ .sortableActive {
229
+ .headerItem {
230
+ gap: var(--spacing-s);
231
+ }
232
+ }
230
233
 
231
- .sortableActive {
232
- .headerItem {
233
- gap: var(--spacing-s);
234
+ .groupActions {
235
+ position: absolute;
236
+ top: 0;
237
+ left: 0;
238
+ display: flex;
239
+ width: 100%;
240
+ height: var(--ui3n-table-group-actions-height);
241
+ padding: 0 var(--spacing-m);
242
+ justify-content: space-between;
243
+ align-items: center;
244
+ background-color: var(--ui3n-table-group-actions-bg-color);
245
+ border-left: 1px solid var(--color-border-block-primary-default);
246
+ border-top: 1px solid var(--color-border-block-primary-default);
247
+ border-right: 1px solid var(--color-border-block-primary-default);
234
248
  }
235
- }
236
249
 
237
- .groupActions {
238
- position: absolute;
239
- top: 0;
240
- left: 0;
241
- display: flex;
242
- width: 100%;
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
- }
250
+ .groupActionsBody {
251
+ display: flex;
252
+ height: 100%;
253
+ padding: 0 var(--spacing-s);
254
+ flex-grow: 1;
255
+ }
252
256
 
253
- .groupActionsBody {
254
- display: flex;
255
- height: 100%;
256
- padding: 0 var(--spacing-s);
257
- flex-grow: 1;
258
- }
257
+ .body {
258
+ position: relative;
259
+ width: 100%;
260
+ }
259
261
 
260
- .body {
261
- position: relative;
262
- width: 100%;
263
- }
262
+ .row {
263
+ position: relative;
264
+ width: 100%;
265
+ min-height: var(--ui3n-table-body-row-height);
266
+ display: grid;
267
+ grid-template-columns: var(--ui3n-table-columns-width);
268
+ padding-left: var(--spacing-m);
269
+ border-left: 1px solid var(--color-border-table-primary-default);
270
+ border-right: 1px solid var(--color-border-table-primary-default);
271
+ border-bottom: 1px solid var(--color-border-block-primary-default);
272
+ background-color: transparent;
264
273
 
265
- .row {
266
- position: relative;
267
- width: 100%;
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;
274
+ &.selectable {
275
+ cursor: pointer;
276
+ }
276
277
 
277
- &.selectable {
278
- cursor: pointer;
278
+ &:hover {
279
+ background-color: var(--color-bg-control-primary-hover);
280
+ }
279
281
  }
280
282
 
281
- &:hover {
283
+ .selected {
282
284
  background-color: var(--color-bg-control-primary-hover);
283
285
  }
284
- }
285
-
286
- .selected {
287
- background-color: var(--color-bg-control-primary-hover);
288
- }
289
286
 
290
- .rowCheckbox {
291
- position: absolute;
292
- top: 0;
293
- left: 16px;
294
- width: var(--spacing-m);
295
- height: 100%;
296
- display: flex;
297
- justify-content: flex-start;
298
- align-items: center;
299
- z-index: 1;
300
- }
287
+ .rowCheckbox {
288
+ position: absolute;
289
+ top: 0;
290
+ left: 16px;
291
+ width: var(--spacing-m);
292
+ height: 100%;
293
+ display: flex;
294
+ justify-content: flex-start;
295
+ align-items: center;
296
+ z-index: 1;
297
+ }
301
298
 
302
- .bodyItem {
303
- position: relative;
304
- height: 100%;
305
- display: flex;
306
- justify-content: flex-start;
307
- align-items: center;
299
+ .bodyItem {
300
+ position: relative;
301
+ height: 100%;
302
+ display: flex;
303
+ justify-content: flex-start;
304
+ align-items: center;
308
305
 
309
- &.bodyItemFirst {
310
- padding-left: var(--spacing-ml);
306
+ &.bodyItemFirst {
307
+ padding-left: var(--spacing-ml);
308
+ }
311
309
  }
312
- }
313
310
 
314
- .cell {
315
- font-size: var(--font-12);
316
- font-weight: 400;
317
- color: var(--color-text-table-primary-default);
318
- }
311
+ .cell {
312
+ font-size: var(--font-12);
313
+ font-weight: 400;
314
+ color: var(--color-text-table-primary-default);
315
+ }
319
316
  </style>