@kapiuara/ui 0.15.2 → 0.15.3
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.
|
@@ -34,20 +34,24 @@ var d = (e, t) => {
|
|
|
34
34
|
insetInlineStart: t.lefts[e],
|
|
35
35
|
insetInlineEnd: t.rights[e]
|
|
36
36
|
}), _ = (e) => `kapi-actcol${e.firstRight >= 0 ? " is-joined" : ""}`, v = (e, n, r, o) => {
|
|
37
|
-
let s = e.render ? e.render(n) : t(n, e.key)
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
let s = e.render ? e.render(n) : t(n, e.key), c = e.clamp === void 0 ? s : /* @__PURE__ */ i("span", {
|
|
38
|
+
className: "kapi-cell-clamp",
|
|
39
|
+
style: { "--kapi-cell-lines": String(e.clamp) },
|
|
40
|
+
children: s
|
|
41
|
+
});
|
|
42
|
+
if (!e.copyable) return c;
|
|
43
|
+
let u = e.copyValue ? e.copyValue(n) : t(n, e.key);
|
|
40
44
|
return /* @__PURE__ */ a("span", {
|
|
41
45
|
className: "kapi-cell",
|
|
42
46
|
children: [/* @__PURE__ */ i("span", {
|
|
43
47
|
className: "kapi-cell__v",
|
|
44
|
-
children:
|
|
48
|
+
children: c
|
|
45
49
|
}), /* @__PURE__ */ i("button", {
|
|
46
50
|
type: "button",
|
|
47
51
|
className: "kapi-cell__copy",
|
|
48
52
|
"aria-label": r.copy,
|
|
49
53
|
onClick: (e) => {
|
|
50
|
-
e.stopPropagation(), d(
|
|
54
|
+
e.stopPropagation(), d(u, o);
|
|
51
55
|
},
|
|
52
56
|
children: /* @__PURE__ */ i(l, {
|
|
53
57
|
size: 13,
|
|
@@ -42,6 +42,18 @@ type KapiTableColumnBase<T> = {
|
|
|
42
42
|
resizable?: boolean | undefined;
|
|
43
43
|
/** Ancho mínimo (px) al redimensionar. Default 60. */
|
|
44
44
|
minWidth?: number | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Acota la celda a N líneas y recorta con elipsis lo que sobra. Sin esto, una celda larga estira
|
|
47
|
+
* su fila sin límite (con `flex`) o empuja la tabla a lo ancho (sin él).
|
|
48
|
+
*
|
|
49
|
+
* Un listado es para RECORRER: una fila que crece sola rompe el recorrido, y lo rompe de forma
|
|
50
|
+
* impredecible porque el alto pasa a depender de qué le tocó a esa página. Medido en una app
|
|
51
|
+
* real: una fila de 296px al lado de otras de 62.
|
|
52
|
+
*
|
|
53
|
+
* `2` suele ser el número: con UNA sola línea, dos valores que comparten prefijo se cortan en el
|
|
54
|
+
* mismo punto y se leen idénticos, así que la columna deja de distinguir.
|
|
55
|
+
*/
|
|
56
|
+
clamp?: number | undefined;
|
|
45
57
|
/** Entra en el filtro de la tabla (en "Todas" y en el selector de columna). Default `true`. */
|
|
46
58
|
filterable?: boolean | undefined;
|
|
47
59
|
/** Texto con el que compara el filtro, p. ej. para celdas que muestran un badge (default: `row[key]`). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.kapi-check--block{display:flex}.kapi-table2 .kapi-table-pad,.kapi-table2 thead th.is-sortable{padding:0}.kapi-thsort{align-items:center;gap:var(--kapi-space-3);width:100%;padding:13px var(--kapi-space-9);font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;text-align:inherit;cursor:pointer;white-space:inherit;background:0 0;border:none;display:inline-flex}.kapi-thsort svg{opacity:.45;transition:opacity var(--kapi-dur-fast);flex:none}.kapi-thsort:hover{color:var(--kapi-primary-ink)}.kapi-thsort:hover svg{opacity:1}.kapi-thsort.is-active{color:var(--kapi-primary-ink)}.kapi-thsort.is-active svg{opacity:1}.kapi-thsort:focus-visible{outline:2px solid var(--kapi-primary);outline-offset:-2px;border-radius:var(--kapi-radius-xs)}.kapi-table2 thead th.is-align-end .kapi-thsort{justify-content:flex-end}.kapi-table2 thead th.is-align-center .kapi-thsort{justify-content:center}.kapi-table-shell{flex-direction:column;display:flex}.kapi .kapi-tablewrap{scrollbar-gutter:stable}.kapi .kapi-table-shell--fill{height:100%;min-height:0}.kapi .kapi-tablewrap.is-corta-derecha{-webkit-mask-image:linear-gradient(270deg,#0000 0,#000 24px);mask-image:linear-gradient(270deg,#0000 0,#000 24px)}.kapi[dir=rtl] .kapi-tablewrap.is-corta-derecha,.kapi [dir=rtl] .kapi-tablewrap.is-corta-derecha{-webkit-mask-image:linear-gradient(90deg,#0000 0,#000 24px);mask-image:linear-gradient(90deg,#0000 0,#000 24px)}.kapi[dir=rtl] .kapi-table2 :is(td,th).is-sticky-last:after,.kapi [dir=rtl] .kapi-table2 :is(td,th).is-sticky-last:after{background:linear-gradient(270deg, var(--kapi-edge-shade), transparent)}.kapi[dir=rtl] .kapi-table2 :is(td,th).is-sticky-first-right:after,.kapi [dir=rtl] .kapi-table2 :is(td,th).is-sticky-first-right:after,.kapi[dir=rtl] .kapi-actcol:after,.kapi [dir=rtl] .kapi-actcol:after{background:linear-gradient(90deg, var(--kapi-edge-shade), transparent)}.kapi .kapi-table-shell--fill>.kapi-tablewrap{flex:1 1 0;min-height:0;overflow:auto}.kapi .kapi-table-shell--fill>.kapi-tablefoot,.kapi .kapi-table-shell--fill>.kapi-tabletools{flex:none}.kapi-table2 .kapi-table-state{padding:var(--kapi-space-18) var(--kapi-space-9);text-align:center;color:var(--kapi-muted);white-space:normal;vertical-align:middle}.kapi-table2:has(.kapi-table-staterow){height:100%}.kapi-table-state>span{vertical-align:middle}.kapi-table-spin{vertical-align:middle;margin-inline-end:var(--kapi-space-4);animation:.8s linear infinite kapi-spin;display:inline-block}.kapi-table2 .kapi-expandcol{text-align:center;width:44px;min-width:44px;max-width:44px;padding-inline:0}.kapi-table2 tbody td.kapi-expandcol{position:relative}.kapi-table2 tbody td.kapi-expandcol>.kapi-expandcol__btn{margin:auto;position:absolute;inset:0}.kapi-expandcol__btn{border-radius:var(--kapi-radius-sm);width:32px;height:32px;color:var(--kapi-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;display:inline-flex}.kapi-expandcol__btn:hover{background:var(--kapi-surface);color:var(--kapi-primary-ink)}.kapi-expandcol__btn:focus-visible{outline:2px solid var(--kapi-primary);outline-offset:-2px}.kapi-table2 .kapi-subrow>td{padding:var(--kapi-space-7) var(--kapi-space-9) var(--kapi-space-9);background:var(--kapi-surface);white-space:normal}.kapi-tablefoot{justify-content:space-between;align-items:center;gap:var(--kapi-space-6);padding:var(--kapi-space-5) var(--kapi-space-3) 0;font-size:var(--kapi-fs-base);color:var(--kapi-muted);flex-wrap:wrap;display:flex}.kapi-tablefoot__l{align-items:center;gap:var(--kapi-space-7);display:flex}.kapi-tablefoot__r{align-items:center;gap:0;display:flex}.kapi-tablefoot__page{margin:0 var(--kapi-space-4);padding:0 var(--kapi-space-5);border-inline:1px solid var(--kapi-divider);white-space:nowrap;align-items:center;min-height:20px;display:inline-flex}.kapi-tablefoot__size{align-items:center;gap:var(--kapi-space-4);display:inline-flex}.kapi-tablefoot__size .kapisel{width:auto;min-width:68px}.kapi-tablefoot__btn{border-radius:var(--kapi-radius-sm);width:28px;height:28px;color:var(--kapi-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.kapi-tablefoot__btn:hover:not(:disabled,[aria-disabled=true]){background:var(--kapi-surface);color:var(--kapi-primary-ink)}.kapi-tablefoot__btn:disabled,.kapi-tablefoot__btn[aria-disabled=true]{opacity:.4;cursor:not-allowed}.kapi-tablefoot__btn:focus-visible{outline:2px solid var(--kapi-primary);outline-offset:-2px}.kapi .kapi-table2--card{--card-gap:8px;--card-radius:var(--kapi-radius-xl)}.kapi .kapi-table2--card thead th{padding:var(--kapi-space-5) var(--kapi-space-9) var(--kapi-space-6);font-size:var(--kapi-fs-3xs);letter-spacing:.06em;color:var(--kapi-muted);border-bottom:none;font-weight:600}.kapi .kapi-table2--card td{padding:var(--kapi-space-7) var(--kapi-space-9);border-bottom:var(--card-gap) solid var(--kapi-card);background:var(--kapi-surface);transition:background-color var(--kapi-dur-fast);background-clip:padding-box}.kapi .kapi-table2--card tbody tr:nth-child(2n) td{background:var(--kapi-surface)}.kapi .kapi-table2--card.kapi-table2--hover tbody tr:hover td,.kapi .kapi-table2--card tbody tr.is-selected td{background:var(--kapi-primary-soft)}.kapi .kapi-table2--card tbody tr td:first-child{border-start-start-radius:var(--card-radius);border-end-start-radius:var(--card-radius)}.kapi .kapi-table2--card tbody tr td:last-child{border-start-end-radius:var(--card-radius);border-end-end-radius:var(--card-radius)}.kapi .kapi-table2--card .kapi-subrow>td{border-radius:var(--card-radius);background:var(--kapi-surface)}.kapi .kapi-table2--card td.is-sticky:after{border-radius:0}.kapi .kapi-table2--card.is-virtual td{padding-top:0;padding-bottom:0}.kapi .kapi-table2--card .kapi-table-staterow td{background:0 0;border-bottom:none}.kapi .kapi-table-shell:has(.kapi-table2--card) .kapi-tablefoot{padding:var(--kapi-space-6) var(--kapi-space-7) 0}.kapi .kapi-table-shell--card{background:var(--kapi-card);border-radius:var(--kapi-radius);box-shadow:var(--kapi-shadow-card);padding:var(--kapi-space-4) var(--kapi-space-4) 0;overflow:hidden}.kapi .kapi-table-shell--card:not(:has(.kapi-tablefoot)){padding-bottom:var(--kapi-space-4)}.kapi .kapi-table-shell.kapi-table-shell--card .kapi-tablefoot{margin-top:var(--kapi-space-4);padding:var(--kapi-space-6) var(--kapi-space-5);border-top:1px solid var(--kapi-divider)}.kapi .kapi-table-skrow td{pointer-events:none}.kapi-tabletools{padding:0 0 var(--kapi-space-4);justify-content:flex-end;display:flex}.kapi .kapi-table-shell--card .kapi-tabletools{padding:var(--kapi-space-2) var(--kapi-space-3) var(--kapi-space-4)}.kapi .kapi-tabletools .kapi-tabletools__menu{min-width:190px;inset-inline:auto 0}.kapi .kapi-tabletools .kapi-tabletools__columns{gap:var(--kapi-space-3);--kapi-checklist-max-h:180px;flex-direction:column;min-width:240px;display:flex}.kapi .kapi-tabletools__columns>*{flex-shrink:0}.kapi .kapi-tabletools__columns .kapi-checklist+.kapi-checklist{border-top:1px solid var(--kapi-line);padding-top:var(--kapi-space-2)}.kapi-colresize{top:0;inset-inline-end:0;cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none;z-index:1;width:9px;position:absolute;bottom:0}.kapi-colresize:after{content:"";top:25%;bottom:25%;background:var(--kapi-line);width:2px;transition:background-color var(--kapi-dur-fast);border-radius:2px;position:absolute;inset-inline-end:3px}.kapi-colresize:hover:after,.kapi-colresize:active:after{background:var(--kapi-primary)}.kapi-colresize:focus-visible{outline:2px solid var(--kapi-primary);outline-offset:-2px;border-radius:4px}.kapi-tabletools{align-items:center;gap:var(--kapi-space-4);flex-wrap:wrap}.kapi-tabletools>.kapi-tablefilter{flex:280px;max-width:520px;margin-inline-end:auto}.kapi .kapi-tabletools{container:kapi-tabletools/inline-size}@container kapi-tabletools (width<=520px){.kapi .kapi-tabletools>.kapi-tablefilter{flex-basis:100%;max-width:none}.kapi .kapi-tabletools__chip--icon{min-width:var(--kapi-tap);justify-content:center}.kapi .kapi-tabletools__chip--icon .kapi-tabletools__label{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.kapi .kapi-tabletools__chevron{display:none}}.kapi-table-shell--cards{container:kapi-table/inline-size}@container kapi-table (width<=599px){.kapi .kapi-table-shell--cards .kapi-table2,.kapi .kapi-table-shell--cards .kapi-table2 tbody,.kapi .kapi-table-shell--cards .kapi-table2 thead{display:block}.kapi .kapi-table-shell--cards .kapi-table2 thead tr{align-items:center;gap:var(--kapi-space-2);padding:0 0 var(--kapi-space-4);flex-wrap:wrap;display:flex}.kapi .kapi-table-shell--cards .kapi-table2 thead th{background:0 0;border-bottom:none;display:none;position:static}.kapi .kapi-table-shell--cards .kapi-table2 thead th.kapi-cbcol,.kapi .kapi-table-shell--cards .kapi-table2 thead th.is-sortable{display:block;width:auto!important;min-width:0!important;max-width:none!important}.kapi .kapi-table-shell--cards .kapi-table2 thead th.kapi-cbcol--presets{align-items:center;gap:var(--kapi-space-1);display:flex}.kapi .kapi-table-shell--cards .kapi-table2 thead th.kapi-cbcol--presets .kapi-check--block{width:auto}.kapi .kapi-table-shell--cards .kapi-table2 thead th.kapi-cbcol--presets .kapi-menubtn{position:static;transform:none}.kapi .kapi-table-shell--cards .kapi-table2 thead th.is-sortable .kapi-thsort{padding:var(--kapi-space-4) var(--kapi-space-5);border-radius:var(--kapi-radius-sm);background:var(--kapi-surface)}.kapi .kapi-table-shell--cards .kapi-table2 thead .kapi-colresize{display:none}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr{margin-bottom:var(--kapi-space-4);padding:var(--kapi-space-3) 0;border:1px solid var(--kapi-divider);border-radius:var(--kapi-radius-lg);background:var(--kapi-card);flex-wrap:wrap;align-items:center;display:flex;height:auto!important}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.is-selected{background:var(--kapi-primary-soft);border-color:var(--kapi-primary-ink)}.kapi .kapi-table-shell--cards .kapi-table2 tbody td,.kapi .kapi-table-shell--cards .kapi-table2 tbody tr:nth-child(2n) td,.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.is-selected td{justify-content:space-between;align-items:center;gap:var(--kapi-space-6);padding:var(--kapi-space-3) var(--kapi-space-7);white-space:normal;overflow-wrap:anywhere;background:0 0;border:none;border-radius:0;flex:100%;display:flex;text-align:end!important;width:auto!important;min-width:0!important;max-width:none!important;position:static!important}.kapi .kapi-table-shell--cards .kapi-table2 tbody td[data-label]:before{content:attr(data-label);text-align:start;max-width:45%;font-size:var(--kapi-fs-3xs);letter-spacing:.04em;text-transform:uppercase;color:var(--kapi-muted-2);flex:none;font-weight:700}.kapi .kapi-table-shell--cards .kapi-table2 td.is-sticky-last:after,.kapi .kapi-table-shell--cards .kapi-table2 td.is-sticky-first-right:after,.kapi .kapi-table-shell--cards .kapi-table2 .kapi-actcol:after{content:none}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr td.kapi-cbcol,.kapi .kapi-table-shell--cards .kapi-table2 tbody tr td.kapi-expandcol,.kapi .kapi-table-shell--cards .kapi-table2 tbody tr td.kapi-actcol{flex:none;order:-1;padding-top:0;padding-bottom:0}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr td.kapi-actcol{margin-inline-start:auto}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr td.kapi-expandcol>.kapi-expandcol__btn{margin:0;position:relative;inset:auto}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.kapi-subrow,.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.kapi-table-staterow{display:block}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.kapi-subrow>td,.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.kapi-table-staterow>td{display:block;text-align:start!important}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.kapi-table-staterow>td{text-align:center!important}}.kapi-table__dataset{justify-content:center;align-items:center;gap:var(--kapi-space-2) var(--kapi-space-4);padding:var(--kapi-space-3) var(--kapi-space-6);margin:0 0 var(--kapi-space-4);background:var(--kapi-primary-soft);border:1px solid var(--kapi-primary-border);border-radius:var(--kapi-radius-sm);color:var(--kapi-primary-ink);font-size:var(--kapi-fs-sm);flex-wrap:wrap;display:flex}.kapi .kapi-table__dataset .kapi-link{font-size:inherit;cursor:pointer;padding:0;text-decoration:underline}.kapi-table2 tbody tr.is-clickable{cursor:pointer}.kapi-table2 tbody tr.is-clickable:focus-visible{outline-offset:-2px}.kapi-tablewrap.is-virtual-auto{overflow-anchor:none}:where(.kapi .kapi-content>.kapi-table-shell--card:not(.kapi-table-shell--fill)){flex-shrink:0}
|
|
1
|
+
.kapi-check--block{display:flex}.kapi-table2 .kapi-table-pad,.kapi-table2 thead th.is-sortable{padding:0}.kapi-thsort{align-items:center;gap:var(--kapi-space-3);width:100%;padding:13px var(--kapi-space-9);font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;text-align:inherit;cursor:pointer;white-space:inherit;background:0 0;border:none;display:inline-flex}.kapi-thsort svg{opacity:.45;transition:opacity var(--kapi-dur-fast);flex:none}.kapi-thsort:hover{color:var(--kapi-primary-ink)}.kapi-thsort:hover svg{opacity:1}.kapi-thsort.is-active{color:var(--kapi-primary-ink)}.kapi-thsort.is-active svg{opacity:1}.kapi-thsort:focus-visible{outline:2px solid var(--kapi-primary);outline-offset:-2px;border-radius:var(--kapi-radius-xs)}.kapi-table2 thead th.is-align-end .kapi-thsort{justify-content:flex-end}.kapi-table2 thead th.is-align-center .kapi-thsort{justify-content:center}.kapi-table-shell{flex-direction:column;display:flex}.kapi .kapi-tablewrap{scrollbar-gutter:stable}.kapi .kapi-table-shell--fill{height:100%;min-height:0}.kapi .kapi-tablewrap.is-corta-derecha{-webkit-mask-image:linear-gradient(270deg,#0000 0,#000 24px);mask-image:linear-gradient(270deg,#0000 0,#000 24px)}.kapi[dir=rtl] .kapi-tablewrap.is-corta-derecha,.kapi [dir=rtl] .kapi-tablewrap.is-corta-derecha{-webkit-mask-image:linear-gradient(90deg,#0000 0,#000 24px);mask-image:linear-gradient(90deg,#0000 0,#000 24px)}.kapi[dir=rtl] .kapi-table2 :is(td,th).is-sticky-last:after,.kapi [dir=rtl] .kapi-table2 :is(td,th).is-sticky-last:after{background:linear-gradient(270deg, var(--kapi-edge-shade), transparent)}.kapi[dir=rtl] .kapi-table2 :is(td,th).is-sticky-first-right:after,.kapi [dir=rtl] .kapi-table2 :is(td,th).is-sticky-first-right:after,.kapi[dir=rtl] .kapi-actcol:after,.kapi [dir=rtl] .kapi-actcol:after{background:linear-gradient(90deg, var(--kapi-edge-shade), transparent)}.kapi .kapi-table-shell--fill>.kapi-tablewrap{flex:1 1 0;min-height:0;overflow:auto}.kapi .kapi-table-shell--fill>.kapi-tablefoot,.kapi .kapi-table-shell--fill>.kapi-tabletools{flex:none}.kapi-table2 .kapi-table-state{padding:var(--kapi-space-18) var(--kapi-space-9);text-align:center;color:var(--kapi-muted);white-space:normal;vertical-align:middle}.kapi-table2:has(.kapi-table-staterow){height:100%}.kapi-table-state>span{vertical-align:middle}.kapi-cell-clamp{-webkit-line-clamp:var(--kapi-cell-lines,2);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.kapi-table-spin{vertical-align:middle;margin-inline-end:var(--kapi-space-4);animation:.8s linear infinite kapi-spin;display:inline-block}.kapi-table2 .kapi-expandcol{text-align:center;width:44px;min-width:44px;max-width:44px;padding-inline:0}.kapi-table2 tbody td.kapi-expandcol{position:relative}.kapi-table2 tbody td.kapi-expandcol>.kapi-expandcol__btn{margin:auto;position:absolute;inset:0}.kapi-expandcol__btn{border-radius:var(--kapi-radius-sm);width:32px;height:32px;color:var(--kapi-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;display:inline-flex}.kapi-expandcol__btn:hover{background:var(--kapi-surface);color:var(--kapi-primary-ink)}.kapi-expandcol__btn:focus-visible{outline:2px solid var(--kapi-primary);outline-offset:-2px}.kapi-table2 .kapi-subrow>td{padding:var(--kapi-space-7) var(--kapi-space-9) var(--kapi-space-9);background:var(--kapi-surface);white-space:normal}.kapi-tablefoot{justify-content:space-between;align-items:center;gap:var(--kapi-space-6);padding:var(--kapi-space-5) var(--kapi-space-3) 0;font-size:var(--kapi-fs-base);color:var(--kapi-muted);flex-wrap:wrap;display:flex}.kapi-tablefoot__l{align-items:center;gap:var(--kapi-space-7);display:flex}.kapi-tablefoot__r{align-items:center;gap:0;display:flex}.kapi-tablefoot__page{margin:0 var(--kapi-space-4);padding:0 var(--kapi-space-5);border-inline:1px solid var(--kapi-divider);white-space:nowrap;align-items:center;min-height:20px;display:inline-flex}.kapi-tablefoot__size{align-items:center;gap:var(--kapi-space-4);display:inline-flex}.kapi-tablefoot__size .kapisel{width:auto;min-width:68px}.kapi-tablefoot__btn{border-radius:var(--kapi-radius-sm);width:28px;height:28px;color:var(--kapi-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.kapi-tablefoot__btn:hover:not(:disabled,[aria-disabled=true]){background:var(--kapi-surface);color:var(--kapi-primary-ink)}.kapi-tablefoot__btn:disabled,.kapi-tablefoot__btn[aria-disabled=true]{opacity:.4;cursor:not-allowed}.kapi-tablefoot__btn:focus-visible{outline:2px solid var(--kapi-primary);outline-offset:-2px}.kapi .kapi-table2--card{--card-gap:8px;--card-radius:var(--kapi-radius-xl)}.kapi .kapi-table2--card thead th{padding:var(--kapi-space-5) var(--kapi-space-9) var(--kapi-space-6);font-size:var(--kapi-fs-3xs);letter-spacing:.06em;color:var(--kapi-muted);border-bottom:none;font-weight:600}.kapi .kapi-table2--card td{padding:var(--kapi-space-7) var(--kapi-space-9);border-bottom:var(--card-gap) solid var(--kapi-card);background:var(--kapi-surface);transition:background-color var(--kapi-dur-fast);background-clip:padding-box}.kapi .kapi-table2--card tbody tr:nth-child(2n) td{background:var(--kapi-surface)}.kapi .kapi-table2--card.kapi-table2--hover tbody tr:hover td,.kapi .kapi-table2--card tbody tr.is-selected td{background:var(--kapi-primary-soft)}.kapi .kapi-table2--card tbody tr td:first-child{border-start-start-radius:var(--card-radius);border-end-start-radius:var(--card-radius)}.kapi .kapi-table2--card tbody tr td:last-child{border-start-end-radius:var(--card-radius);border-end-end-radius:var(--card-radius)}.kapi .kapi-table2--card .kapi-subrow>td{border-radius:var(--card-radius);background:var(--kapi-surface)}.kapi .kapi-table2--card td.is-sticky:after{border-radius:0}.kapi .kapi-table2--card.is-virtual td{padding-top:0;padding-bottom:0}.kapi .kapi-table2--card .kapi-table-staterow td{background:0 0;border-bottom:none}.kapi .kapi-table-shell:has(.kapi-table2--card) .kapi-tablefoot{padding:var(--kapi-space-6) var(--kapi-space-7) 0}.kapi .kapi-table-shell--card{background:var(--kapi-card);border-radius:var(--kapi-radius);box-shadow:var(--kapi-shadow-card);padding:var(--kapi-space-4) var(--kapi-space-4) 0;overflow:hidden}.kapi .kapi-table-shell--card:not(:has(.kapi-tablefoot)){padding-bottom:var(--kapi-space-4)}.kapi .kapi-table-shell.kapi-table-shell--card .kapi-tablefoot{margin-top:var(--kapi-space-4);padding:var(--kapi-space-6) var(--kapi-space-5);border-top:1px solid var(--kapi-divider)}.kapi .kapi-table-skrow td{pointer-events:none}.kapi-tabletools{padding:0 0 var(--kapi-space-4);justify-content:flex-end;display:flex}.kapi .kapi-table-shell--card .kapi-tabletools{padding:var(--kapi-space-2) var(--kapi-space-3) var(--kapi-space-4)}.kapi .kapi-tabletools .kapi-tabletools__menu{min-width:190px;inset-inline:auto 0}.kapi .kapi-tabletools .kapi-tabletools__columns{gap:var(--kapi-space-3);--kapi-checklist-max-h:180px;flex-direction:column;min-width:240px;display:flex}.kapi .kapi-tabletools__columns>*{flex-shrink:0}.kapi .kapi-tabletools__columns .kapi-checklist+.kapi-checklist{border-top:1px solid var(--kapi-line);padding-top:var(--kapi-space-2)}.kapi-colresize{top:0;inset-inline-end:0;cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none;z-index:1;width:9px;position:absolute;bottom:0}.kapi-colresize:after{content:"";top:25%;bottom:25%;background:var(--kapi-line);width:2px;transition:background-color var(--kapi-dur-fast);border-radius:2px;position:absolute;inset-inline-end:3px}.kapi-colresize:hover:after,.kapi-colresize:active:after{background:var(--kapi-primary)}.kapi-colresize:focus-visible{outline:2px solid var(--kapi-primary);outline-offset:-2px;border-radius:4px}.kapi-tabletools{align-items:center;gap:var(--kapi-space-4);flex-wrap:wrap}.kapi-tabletools>.kapi-tablefilter{flex:280px;max-width:520px;margin-inline-end:auto}.kapi .kapi-tabletools{container:kapi-tabletools/inline-size}@container kapi-tabletools (width<=520px){.kapi .kapi-tabletools>.kapi-tablefilter{flex-basis:100%;max-width:none}.kapi .kapi-tabletools__chip--icon{min-width:var(--kapi-tap);justify-content:center}.kapi .kapi-tabletools__chip--icon .kapi-tabletools__label{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.kapi .kapi-tabletools__chevron{display:none}}.kapi-table-shell--cards{container:kapi-table/inline-size}@container kapi-table (width<=599px){.kapi .kapi-table-shell--cards .kapi-table2,.kapi .kapi-table-shell--cards .kapi-table2 tbody,.kapi .kapi-table-shell--cards .kapi-table2 thead{display:block}.kapi .kapi-table-shell--cards .kapi-table2 thead tr{align-items:center;gap:var(--kapi-space-2);padding:0 0 var(--kapi-space-4);flex-wrap:wrap;display:flex}.kapi .kapi-table-shell--cards .kapi-table2 thead th{background:0 0;border-bottom:none;display:none;position:static}.kapi .kapi-table-shell--cards .kapi-table2 thead th.kapi-cbcol,.kapi .kapi-table-shell--cards .kapi-table2 thead th.is-sortable{display:block;width:auto!important;min-width:0!important;max-width:none!important}.kapi .kapi-table-shell--cards .kapi-table2 thead th.kapi-cbcol--presets{align-items:center;gap:var(--kapi-space-1);display:flex}.kapi .kapi-table-shell--cards .kapi-table2 thead th.kapi-cbcol--presets .kapi-check--block{width:auto}.kapi .kapi-table-shell--cards .kapi-table2 thead th.kapi-cbcol--presets .kapi-menubtn{position:static;transform:none}.kapi .kapi-table-shell--cards .kapi-table2 thead th.is-sortable .kapi-thsort{padding:var(--kapi-space-4) var(--kapi-space-5);border-radius:var(--kapi-radius-sm);background:var(--kapi-surface)}.kapi .kapi-table-shell--cards .kapi-table2 thead .kapi-colresize{display:none}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr{margin-bottom:var(--kapi-space-4);padding:var(--kapi-space-3) 0;border:1px solid var(--kapi-divider);border-radius:var(--kapi-radius-lg);background:var(--kapi-card);flex-wrap:wrap;align-items:center;display:flex;height:auto!important}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.is-selected{background:var(--kapi-primary-soft);border-color:var(--kapi-primary-ink)}.kapi .kapi-table-shell--cards .kapi-table2 tbody td,.kapi .kapi-table-shell--cards .kapi-table2 tbody tr:nth-child(2n) td,.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.is-selected td{justify-content:space-between;align-items:center;gap:var(--kapi-space-6);padding:var(--kapi-space-3) var(--kapi-space-7);white-space:normal;overflow-wrap:anywhere;background:0 0;border:none;border-radius:0;flex:100%;display:flex;text-align:end!important;width:auto!important;min-width:0!important;max-width:none!important;position:static!important}.kapi .kapi-table-shell--cards .kapi-table2 tbody td[data-label]:before{content:attr(data-label);text-align:start;max-width:45%;font-size:var(--kapi-fs-3xs);letter-spacing:.04em;text-transform:uppercase;color:var(--kapi-muted-2);flex:none;font-weight:700}.kapi .kapi-table-shell--cards .kapi-table2 td.is-sticky-last:after,.kapi .kapi-table-shell--cards .kapi-table2 td.is-sticky-first-right:after,.kapi .kapi-table-shell--cards .kapi-table2 .kapi-actcol:after{content:none}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr td.kapi-cbcol,.kapi .kapi-table-shell--cards .kapi-table2 tbody tr td.kapi-expandcol,.kapi .kapi-table-shell--cards .kapi-table2 tbody tr td.kapi-actcol{flex:none;order:-1;padding-top:0;padding-bottom:0}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr td.kapi-actcol{margin-inline-start:auto}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr td.kapi-expandcol>.kapi-expandcol__btn{margin:0;position:relative;inset:auto}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.kapi-subrow,.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.kapi-table-staterow{display:block}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.kapi-subrow>td,.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.kapi-table-staterow>td{display:block;text-align:start!important}.kapi .kapi-table-shell--cards .kapi-table2 tbody tr.kapi-table-staterow>td{text-align:center!important}}.kapi-table__dataset{justify-content:center;align-items:center;gap:var(--kapi-space-2) var(--kapi-space-4);padding:var(--kapi-space-3) var(--kapi-space-6);margin:0 0 var(--kapi-space-4);background:var(--kapi-primary-soft);border:1px solid var(--kapi-primary-border);border-radius:var(--kapi-radius-sm);color:var(--kapi-primary-ink);font-size:var(--kapi-fs-sm);flex-wrap:wrap;display:flex}.kapi .kapi-table__dataset .kapi-link{font-size:inherit;cursor:pointer;padding:0;text-decoration:underline}.kapi-table2 tbody tr.is-clickable{cursor:pointer}.kapi-table2 tbody tr.is-clickable:focus-visible{outline-offset:-2px}.kapi-tablewrap.is-virtual-auto{overflow-anchor:none}:where(.kapi .kapi-content>.kapi-table-shell--card:not(.kapi-table-shell--fill)){flex-shrink:0}
|