@umriss-ui/table 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -22,6 +22,26 @@ is one of the internal numbers from before core's first publication as `0.1.0`
22
22
 
23
23
  ---
24
24
 
25
+ ## 0.2.4 – Core 0.5.0 (Sep. 2026)
26
+
27
+ ### Changed
28
+
29
+ - **The table takes `@umriss-ui/core` 0.5.** Nothing in the table changed; the
30
+ peer range moves to `^0.5.0`, so that it installs beside
31
+ `@umriss-ui/calculation`, which needs core's new wording.
32
+
33
+ ---
34
+
35
+ ## 0.2.3 – Core 0.4.0 (Sep. 2026)
36
+
37
+ ### Changed
38
+
39
+ - **The table takes `@umriss-ui/core` 0.4.** Nothing in the table changed; the
40
+ peer range moves to `^0.4.0`, whose focus is a crisp two-pixel accent edge
41
+ (see core's changelog) - the table's rows and cells show it.
42
+
43
+ ---
44
+
25
45
  ## 0.2.2 – Phones, touch and a review (Sep. 2026)
26
46
 
27
47
  ### Fixed
package/README.md CHANGED
@@ -94,7 +94,7 @@ stylesheets by hand.
94
94
  `src/`.
95
95
  * [`CHANGELOG.md`](CHANGELOG.md) — what changes for a caller.
96
96
  * [`../../docs/design-language.md`](../../docs/design-language.md) — the design
97
- language all four packages share.
97
+ language all five packages share.
98
98
  * [`../core/README.md`](../core/README.md) — the component library underneath.
99
99
 
100
100
  ## Licence
package/dist/table.css CHANGED
@@ -1 +1 @@
1
- @layer umriss.tokens,umriss.base,umriss.components;@layer umriss.base{._text_18b86_23{font-family:var(--u-font-sans);font-size:var(--u-text-md);line-height:var(--u-leading-normal);color:var(--u-color-text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}._field_18b86_34{caret-color:var(--u-color-accent)}._scroll_18b86_40{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--u-color-text) 25%,transparent) transparent}._scroll_18b86_40::-webkit-scrollbar{width:10px;height:10px}._scroll_18b86_40::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--u-color-text) 22%,transparent);border-radius:var(--u-radius-full);border:3px solid transparent;background-clip:content-box}._scroll_18b86_40::-webkit-scrollbar-track{background:transparent}}@layer umriss.components{._ring_18b86_65:focus-visible{outline:none;box-shadow:var(--u-focus-ring)}._field_18b86_34:-webkit-autofill,._field_18b86_34:-webkit-autofill:hover,._field_18b86_34:-webkit-autofill:focus{-webkit-box-shadow:inset 0 0 0 1000px var(--u-color-surface),0 0 0 1px var(--u-edge-color-strong);-webkit-text-fill-color:var(--u-color-text);caret-color:var(--u-color-accent)}}@layer umriss.tokens,umriss.base,umriss.components;@layer umriss.components{._frame_10bwr_11,._frame_10bwr_11:before,._frame_10bwr_11:after{box-sizing:border-box}._children_10bwr_23,._children_10bwr_23:before,._children_10bwr_23:after{box-sizing:border-box}._scroll_10bwr_29,._scroll_10bwr_29:before,._scroll_10bwr_29:after{box-sizing:border-box}._footerTarget_10bwr_36,._footerTarget_10bwr_36:before,._footerTarget_10bwr_36:after{box-sizing:border-box}._table_10bwr_40,._table_10bwr_40:before,._table_10bwr_40:after{box-sizing:border-box}._th_10bwr_48,._th_10bwr_48:before,._th_10bwr_48:after{box-sizing:border-box}._sticky_10bwr_63,._sticky_10bwr_63:before,._sticky_10bwr_63:after{box-sizing:border-box}._td_10bwr_71,._td_10bwr_71:before,._td_10bwr_71:after{box-sizing:border-box}._rowHeader_10bwr_83,._rowHeader_10bwr_83:before,._rowHeader_10bwr_83:after{box-sizing:border-box}._compact_10bwr_99,._compact_10bwr_99:before,._compact_10bwr_99:after{box-sizing:border-box}._numeric_10bwr_114,._numeric_10bwr_114:before,._numeric_10bwr_114:after{box-sizing:border-box}._absent_10bwr_126,._absent_10bwr_126:before,._absent_10bwr_126:after{box-sizing:border-box}._striped_10bwr_130,._striped_10bwr_130:before,._striped_10bwr_130:after{box-sizing:border-box}._stickyCell_10bwr_154,._stickyCell_10bwr_154:before,._stickyCell_10bwr_154:after{box-sizing:border-box}._sortButton_10bwr_166,._sortButton_10bwr_166:before,._sortButton_10bwr_166:after{box-sizing:border-box}._sortIndicator_10bwr_191,._sortIndicator_10bwr_191:before,._sortIndicator_10bwr_191:after{box-sizing:border-box}._sortArrow_10bwr_198,._sortArrow_10bwr_198:before,._sortArrow_10bwr_198:after{box-sizing:border-box}._sortArrowDesc_10bwr_202,._sortArrowDesc_10bwr_202:before,._sortArrowDesc_10bwr_202:after{box-sizing:border-box}._sortActive_10bwr_210,._sortActive_10bwr_210:before,._sortActive_10bwr_210:after{box-sizing:border-box}._sortRank_10bwr_216,._sortRank_10bwr_216:before,._sortRank_10bwr_216:after{box-sizing:border-box}._thFlex_10bwr_224,._thFlex_10bwr_224:before,._thFlex_10bwr_224:after{box-sizing:border-box}._footerKind_10bwr_245,._footerKind_10bwr_245:before,._footerKind_10bwr_245:after{box-sizing:border-box}._emptyCell_10bwr_253,._emptyCell_10bwr_253:before,._emptyCell_10bwr_253:after{box-sizing:border-box}._empty_10bwr_253,._empty_10bwr_253:before,._empty_10bwr_253:after{box-sizing:border-box}._emptyTitle_10bwr_269,._emptyTitle_10bwr_269:before,._emptyTitle_10bwr_269:after{box-sizing:border-box}._skeleton_10bwr_276,._skeleton_10bwr_276:before,._skeleton_10bwr_276:after{box-sizing:border-box}._toolbar_10bwr_304,._toolbar_10bwr_304:before,._toolbar_10bwr_304:after{box-sizing:border-box}._toolbarGroup_10bwr_318,._toolbarGroup_10bwr_318:before,._toolbarGroup_10bwr_318:after{box-sizing:border-box}._toolbarInfo_10bwr_335,._toolbarInfo_10bwr_335:before,._toolbarInfo_10bwr_335:after{box-sizing:border-box}._pagination_10bwr_341,._pagination_10bwr_341:before,._pagination_10bwr_341:after{box-sizing:border-box}._paginationControls_10bwr_354,._paginationControls_10bwr_354:before,._paginationControls_10bwr_354:after{box-sizing:border-box}._pageSize_10bwr_361,._pageSize_10bwr_361:before,._pageSize_10bwr_361:after{box-sizing:border-box}._paginationStatus_10bwr_373,._paginationStatus_10bwr_373:before,._paginationStatus_10bwr_373:after{box-sizing:border-box}._filterButton_10bwr_382,._filterButton_10bwr_382:before,._filterButton_10bwr_382:after{box-sizing:border-box}._filterActive_10bwr_405,._filterActive_10bwr_405:before,._filterActive_10bwr_405:after{box-sizing:border-box}._filterPanel_10bwr_410,._filterPanel_10bwr_410:before,._filterPanel_10bwr_410:after{box-sizing:border-box}._filterContent_10bwr_423,._filterContent_10bwr_423:before,._filterContent_10bwr_423:after{box-sizing:border-box}._filterFooter_10bwr_434,._filterFooter_10bwr_434:before,._filterFooter_10bwr_434:after{box-sizing:border-box}._filterLabel_10bwr_448,._filterLabel_10bwr_448:before,._filterLabel_10bwr_448:after{box-sizing:border-box}._filterValue_10bwr_458,._filterValue_10bwr_458:before,._filterValue_10bwr_458:after{box-sizing:border-box}._filteredCount_10bwr_464,._filteredCount_10bwr_464:before,._filteredCount_10bwr_464:after{box-sizing:border-box}._rangeFields_10bwr_475,._rangeFields_10bwr_475:before,._rangeFields_10bwr_475:after{box-sizing:border-box}._rangePeriod_10bwr_485,._rangePeriod_10bwr_485:before,._rangePeriod_10bwr_485:after{box-sizing:border-box}._conditions_10bwr_491,._conditions_10bwr_491:before,._conditions_10bwr_491:after{box-sizing:border-box}._conditionButton_10bwr_497,._conditionButton_10bwr_497:before,._conditionButton_10bwr_497:after{box-sizing:border-box}._condition_10bwr_491,._condition_10bwr_491:before,._condition_10bwr_491:after{box-sizing:border-box}._columnsPanel_10bwr_521,._columnsPanel_10bwr_521:before,._columnsPanel_10bwr_521:after{box-sizing:border-box}._columnsList_10bwr_529,._columnsList_10bwr_529:before,._columnsList_10bwr_529:after{box-sizing:border-box}._columnsEntry_10bwr_538,._columnsEntry_10bwr_538:before,._columnsEntry_10bwr_538:after{box-sizing:border-box}._move_10bwr_550,._move_10bwr_550:before,._move_10bwr_550:after{box-sizing:border-box}._expander_10bwr_585,._expander_10bwr_585:before,._expander_10bwr_585:after{box-sizing:border-box}._expanderOpen_10bwr_616,._expanderOpen_10bwr_616:before,._expanderOpen_10bwr_616:after{box-sizing:border-box}._detailRow_10bwr_620,._detailRow_10bwr_620:before,._detailRow_10bwr_620:after{box-sizing:border-box}._detailCell_10bwr_620,._detailCell_10bwr_620:before,._detailCell_10bwr_620:after{box-sizing:border-box}._actionsCell_10bwr_628,._actionsCell_10bwr_628:before,._actionsCell_10bwr_628:after{box-sizing:border-box}._actions_10bwr_628,._actions_10bwr_628:before,._actions_10bwr_628:after{box-sizing:border-box}._grip_10bwr_656,._grip_10bwr_656:before,._grip_10bwr_656:after{box-sizing:border-box}._virtualBody_10bwr_697,._virtualBody_10bwr_697:before,._virtualBody_10bwr_697:after{box-sizing:border-box}._virtualRow_10bwr_705,._virtualRow_10bwr_705:before,._virtualRow_10bwr_705:after{box-sizing:border-box}._fillerRow_10bwr_710,._fillerRow_10bwr_710:before,._fillerRow_10bwr_710:after{box-sizing:border-box}._frame_10bwr_11{display:flex;flex-direction:column;min-width:0;border-radius:var(--u-radius-md);corner-shape:squircle;background:var(--u-color-surface);box-shadow:var(--u-edge)}._children_10bwr_23{display:contents}._scroll_10bwr_29{position:relative;overflow:auto;min-width:0}._footerTarget_10bwr_36{display:contents}._table_10bwr_40{width:100%;border-collapse:collapse;font-size:var(--u-text-sm)}._th_10bwr_48{position:relative;padding:var(--u-space-2) var(--u-space-2);background:var(--u-color-surface);border-bottom:1px solid var(--u-hairline-strong);text-align:left;font-size:var(--u-text-xs);font-weight:var(--u-weight-medium);letter-spacing:var(--u-tracking-caps);text-transform:uppercase;color:var(--u-color-text-secondary);white-space:nowrap}._sticky_10bwr_63 ._th_10bwr_48{position:sticky;top:0;z-index:1}._td_10bwr_71{padding:var(--u-space-2) var(--u-space-2);border-bottom:1px solid var(--u-hairline);color:var(--u-color-text);vertical-align:middle;text-align:left;font-weight:var(--u-weight-regular)}._rowHeader_10bwr_83{font-weight:var(--u-weight-medium)}._table_10bwr_40 tbody tr:last-child ._td_10bwr_71{border-bottom:none}._table_10bwr_40 tbody tr{box-sizing:border-box}._table_10bwr_40 tbody tr{transition:background-color var(--u-transition)}._table_10bwr_40 tbody tr:hover ._td_10bwr_71{background:var(--u-color-surface-sunken)}._compact_10bwr_99 ._td_10bwr_71{padding:var(--u-space-1) var(--u-space-2);font-size:var(--u-text-xs)}._th_10bwr_48:first-child,._td_10bwr_71:first-child{padding-left:var(--u-space-3)}._th_10bwr_48:last-child,._td_10bwr_71:last-child{padding-right:var(--u-space-3)}._numeric_10bwr_114{text-align:right}._td_10bwr_71._numeric_10bwr_114{font-family:var(--u-font-mono);font-size:.75rem;letter-spacing:-.01em;font-variant-numeric:tabular-nums}._absent_10bwr_126{color:var(--u-color-text-muted)}._striped_10bwr_130 tbody tr:nth-child(2n) ._td_10bwr_71{background:color-mix(in srgb,var(--u-color-surface-sunken) 55%,var(--u-color-surface))}._control_10bwr_145{width:.1%;min-width:34px;box-sizing:border-box;padding-right:0}._stickyCell_10bwr_154{position:sticky;z-index:2;background:var(--u-color-surface)}._sticky_10bwr_63 ._th_10bwr_48._stickyCell_10bwr_154{z-index:3}._sortButton_10bwr_166{display:inline-flex;align-items:center;gap:var(--u-space-1);margin:calc(-1 * var(--u-space-2)) calc(-1 * var(--u-space-3));padding:var(--u-space-2) var(--u-space-3);border:none;background:none;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;cursor:pointer;transition:color var(--u-transition)}._numeric_10bwr_114 ._sortButton_10bwr_166{flex-direction:row-reverse}._sortButton_10bwr_166:hover{color:var(--u-color-text)}._sortIndicator_10bwr_191{display:inline-flex;align-items:center;opacity:0;transition:opacity var(--u-transition)}._sortArrow_10bwr_198{transition:transform var(--u-transition)}._sortArrowDesc_10bwr_202{transform:rotate(180deg)}._sortButton_10bwr_166:hover ._sortIndicator_10bwr_191{opacity:.45}._sortActive_10bwr_210,._sortButton_10bwr_166:hover ._sortActive_10bwr_210{opacity:1;color:var(--u-color-accent)}._sortRank_10bwr_216{font-family:var(--u-font-mono);font-size:var(--u-text-xs);font-variant-numeric:tabular-nums;line-height:1;color:var(--u-color-accent)}._thFlex_10bwr_224{display:flex;align-items:center;gap:var(--u-space-1)}._numeric_10bwr_114 ._thFlex_10bwr_224{justify-content:flex-end}._table_10bwr_40 tfoot ._td_10bwr_71{border-top:1px solid var(--u-hairline-strong);border-bottom:none;background:var(--u-color-surface);font-weight:var(--u-weight-semibold)}._footerKind_10bwr_245{margin-right:var(--u-space-1);color:var(--u-color-text-muted);font-weight:var(--u-weight-regular)}._emptyCell_10bwr_253{padding:0;border-bottom:none}._empty_10bwr_253{display:flex;flex-direction:column;align-items:center;gap:var(--u-space-2);padding:var(--u-space-8) var(--u-space-4);text-align:center;font-size:var(--u-text-sm);color:var(--u-color-text-muted)}._emptyTitle_10bwr_269{margin:0;font-size:var(--u-text-md);font-weight:var(--u-weight-semibold);color:var(--u-color-text)}._skeleton_10bwr_276{display:block;height:10px;border-radius:var(--u-radius-full);corner-shape:squircle;background:linear-gradient(90deg,color-mix(in srgb,var(--u-color-text) 8%,transparent),color-mix(in srgb,var(--u-color-text) 4%,transparent),color-mix(in srgb,var(--u-color-text) 8%,transparent));background-size:200% 100%;animation:_shimmer_10bwr_1 1.6s ease-in-out infinite}@keyframes _shimmer_10bwr_1{0%{background-position:130% 0}to{background-position:-70% 0}}@media(prefers-reduced-motion:reduce){._skeleton_10bwr_276{animation:none;background:color-mix(in srgb,var(--u-color-text) 8%,transparent)}}._toolbar_10bwr_304{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--u-space-2) var(--u-space-4);padding:var(--u-space-2) var(--u-space-3);border-bottom:1px solid var(--u-hairline)}._toolbarGroup_10bwr_318{display:flex;align-items:center;gap:var(--u-space-2);min-width:0;min-height:var(--u-control-height-sm)}@media(max-width:600px){._toolbarGroup_10bwr_318{flex-wrap:wrap}}._toolbarInfo_10bwr_335{font-size:var(--u-text-xs);color:var(--u-color-text-secondary);font-variant-numeric:tabular-nums}._pagination_10bwr_341{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--u-space-2) var(--u-space-4);padding:var(--u-space-2) var(--u-space-3);border-top:1px solid var(--u-hairline);font-size:var(--u-text-sm);color:var(--u-color-text-secondary)}._paginationControls_10bwr_354{display:flex;flex-wrap:wrap;align-items:center;gap:var(--u-space-2)}._pageSize_10bwr_361{display:flex;align-items:center;gap:var(--u-space-2);margin-right:var(--u-space-3);font-size:var(--u-text-xs)}._pageSize_10bwr_361>*{width:64px}._paginationStatus_10bwr_373{margin-right:var(--u-space-2);font-family:var(--u-font-mono);font-size:var(--u-text-xs);letter-spacing:-.01em}._filterButton_10bwr_382{flex:none;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:none;background:none;border-radius:var(--u-radius-xs);corner-shape:squircle;color:var(--u-color-text-muted);cursor:pointer;transition:background-color var(--u-transition),color var(--u-transition)}._filterButton_10bwr_382:hover{background:var(--u-color-surface-sunken);color:var(--u-color-text)}._filterActive_10bwr_405,._filterActive_10bwr_405:hover{color:var(--u-color-accent)}._filterPanel_10bwr_410{min-width:200px;max-width:280px;background:var(--u-color-surface);border-radius:var(--u-radius-md);corner-shape:squircle;box-shadow:var(--u-shadow-overlay);padding:var(--u-space-3);text-transform:none;letter-spacing:normal;font-weight:var(--u-weight-regular);color:var(--u-color-text)}._filterContent_10bwr_423{display:flex;flex-direction:column;gap:var(--u-space-2);max-height:260px;overflow:auto;padding:2px;margin:-2px}._filterFooter_10bwr_434{display:flex;align-items:center;justify-content:space-between;gap:var(--u-space-2);margin-top:var(--u-space-3);padding-top:var(--u-space-3);border-top:1px solid var(--u-hairline)}._filterLabel_10bwr_448{color:var(--u-color-text-secondary);font-weight:var(--u-weight-regular)}._filterLabel_10bwr_448:after{content:":";margin-right:.25em}._filterValue_10bwr_458{color:var(--u-color-text)}._filteredCount_10bwr_464{flex:none;font-family:var(--u-font-mono);font-size:var(--u-text-xs);font-variant-numeric:tabular-nums;color:var(--u-color-text-muted);white-space:nowrap}._rangeFields_10bwr_475{display:flex;gap:var(--u-space-2)}._rangeFields_10bwr_475>*{flex:1;min-width:0}._rangePeriod_10bwr_485{min-width:240px}._conditions_10bwr_491{min-width:0}._conditionButton_10bwr_497{display:inline-flex;align-items:center;padding:0;border:none;background:none;font:inherit;color:inherit;white-space:nowrap;cursor:pointer}._conditionButton_10bwr_497:focus-visible{outline:none}._condition_10bwr_491:has(._conditionButton_10bwr_497:focus-visible){box-shadow:var(--u-focus-ring)}._columnsPanel_10bwr_521{min-width:240px;background:var(--u-color-surface);border-radius:var(--u-radius-md);corner-shape:squircle;box-shadow:var(--u-shadow-overlay);padding:var(--u-space-2)}._columnsList_10bwr_529{display:flex;flex-direction:column;gap:var(--u-space-1);margin:0;padding:0;list-style:none}._columnsEntry_10bwr_538{display:flex;align-items:center;gap:var(--u-space-2);padding:var(--u-space-1) var(--u-space-1)}._columnsEntry_10bwr_538>:first-child{flex:1;min-width:0}._move_10bwr_550{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;border-radius:var(--u-radius-xs);corner-shape:squircle;background:none;color:var(--u-color-text-secondary);cursor:pointer;transition:background-color var(--u-transition),color var(--u-transition)}._move_10bwr_550:hover:not(:disabled){background:var(--u-color-surface-sunken);color:var(--u-color-text)}._move_10bwr_550:focus-visible{outline:none;box-shadow:var(--u-focus-ring)}._move_10bwr_550:disabled{color:var(--u-color-text-muted);cursor:default;opacity:.5}._expander_10bwr_585{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:none;border-radius:var(--u-radius-xs);corner-shape:squircle;background:none;color:var(--u-color-text-muted);cursor:pointer;transition:color var(--u-transition),background-color var(--u-transition)}._expander_10bwr_585:hover{background:var(--u-color-surface-sunken);color:var(--u-color-text)}._expander_10bwr_585:focus-visible{outline:none;box-shadow:var(--u-focus-ring)}._expander_10bwr_585 svg{box-sizing:border-box}._expander_10bwr_585 svg{transition:transform var(--u-duration-fast) var(--u-ease-out)}._expanderOpen_10bwr_616 svg{box-sizing:border-box}._expanderOpen_10bwr_616 svg{transform:rotate(90deg)}._detailRow_10bwr_620>._detailCell_10bwr_620{padding:var(--u-space-4);background:var(--u-color-surface-sunken);box-shadow:inset 0 -1px 0 var(--u-hairline)}._actionsCell_10bwr_628{width:1%;white-space:nowrap;text-align:right}._actions_10bwr_628{display:inline-flex;align-items:center;gap:var(--u-space-1)}._actions_10bwr_628 button{box-sizing:border-box}._actions_10bwr_628 button{color:var(--u-color-text-secondary);transition:color var(--u-transition)}tbody tr:hover ._actions_10bwr_628 button{box-sizing:border-box}tbody tr:focus-within ._actions_10bwr_628 button{box-sizing:border-box}tbody tr:hover ._actions_10bwr_628 button,tbody tr:focus-within ._actions_10bwr_628 button{color:var(--u-color-accent-text)}._grip_10bwr_656{position:absolute;top:0;right:0;bottom:0;width:9px;z-index:1;cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none}._grip_10bwr_656:after{content:"";position:absolute;top:20%;bottom:20%;right:var(--u-space-1);width:1px;background:var(--u-color-accent);opacity:0;transition:opacity var(--u-transition)}._grip_10bwr_656:hover:after{opacity:1}@media(pointer:coarse){._grip_10bwr_656{width:16px}._grip_10bwr_656:after{opacity:.4}}._striped_10bwr_130 ._virtualBody_10bwr_697 tr:nth-child(2n) ._td_10bwr_71{background:none}._striped_10bwr_130 ._virtualBody_10bwr_697 tr[data-even] ._td_10bwr_71{background:color-mix(in srgb,var(--u-color-surface-sunken) 55%,var(--u-color-surface))}._virtualRow_10bwr_705:focus-visible{outline:2px solid var(--u-color-accent);outline-offset:-2px}._fillerRow_10bwr_710{pointer-events:none}._fillerRow_10bwr_710 td{box-sizing:border-box}._fillerRow_10bwr_710 td{padding:0;border:0}}@layer umriss.tokens,umriss.base,umriss.components;@layer umriss.components{._verdict_a8pbv_6,._verdict_a8pbv_6:before,._verdict_a8pbv_6:after{box-sizing:border-box}._glyph_a8pbv_13,._glyph_a8pbv_13:before,._glyph_a8pbv_13:after{box-sizing:border-box}._value_a8pbv_23,._value_a8pbv_23:before,._value_a8pbv_23:after{box-sizing:border-box}._excess_a8pbv_28,._excess_a8pbv_28:before,._excess_a8pbv_28:after{box-sizing:border-box}._verdict_a8pbv_6{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:var(--u-space-1)}._glyph_a8pbv_13{font-size:.7em;line-height:1}._verdict_a8pbv_6[data-verdict=ok] ._glyph_a8pbv_13,._verdict_a8pbv_6[data-verdict=unknown] ._glyph_a8pbv_13,._verdict_a8pbv_6[data-verdict=unknown] ._value_a8pbv_23{color:var(--u-color-text-muted)}._verdict_a8pbv_6[data-verdict=warning] ._glyph_a8pbv_13,._verdict_a8pbv_6[data-verdict=warning] ._excess_a8pbv_28{color:var(--u-color-warning)}._verdict_a8pbv_6[data-verdict=alarm] ._glyph_a8pbv_13,._verdict_a8pbv_6[data-verdict=alarm] ._excess_a8pbv_28{color:var(--u-color-danger)}._excess_a8pbv_28{font-size:.9em}}@layer umriss.tokens,umriss.base,umriss.components;@layer umriss.base{._text_18b86_23{font-family:var(--u-font-sans);font-size:var(--u-text-md);line-height:var(--u-leading-normal);color:var(--u-color-text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}._field_18b86_34{caret-color:var(--u-color-accent)}._scroll_18b86_40{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--u-color-text) 25%,transparent) transparent}._scroll_18b86_40::-webkit-scrollbar{width:10px;height:10px}._scroll_18b86_40::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--u-color-text) 22%,transparent);border-radius:var(--u-radius-full);border:3px solid transparent;background-clip:content-box}._scroll_18b86_40::-webkit-scrollbar-track{background:transparent}}@layer umriss.components{._ring_18b86_65:focus-visible{outline:none;box-shadow:var(--u-focus-ring)}._field_18b86_34:-webkit-autofill,._field_18b86_34:-webkit-autofill:hover,._field_18b86_34:-webkit-autofill:focus{-webkit-box-shadow:inset 0 0 0 1000px var(--u-color-surface),0 0 0 1px var(--u-edge-color-strong);-webkit-text-fill-color:var(--u-color-text);caret-color:var(--u-color-accent)}}@layer umriss.tokens,umriss.base,umriss.components;@layer umriss.components{._list_alpwk_4,._list_alpwk_4:before,._list_alpwk_4:after{box-sizing:border-box}._bar_alpwk_12,._bar_alpwk_12:before,._bar_alpwk_12:after{box-sizing:border-box}._heading_alpwk_19,._heading_alpwk_19:before,._heading_alpwk_19:after{box-sizing:border-box}._filler_alpwk_25,._filler_alpwk_25:before,._filler_alpwk_25:after{box-sizing:border-box}._asOf_alpwk_29,._asOf_alpwk_29:before,._asOf_alpwk_29:after{box-sizing:border-box}._live_alpwk_46,._live_alpwk_46:before,._live_alpwk_46:after{box-sizing:border-box}._label_alpwk_51,._label_alpwk_51:before,._label_alpwk_51:after{box-sizing:border-box}._counter_alpwk_55,._counter_alpwk_55:before,._counter_alpwk_55:after{box-sizing:border-box}._lifecycle_alpwk_59,._lifecycle_alpwk_59:before,._lifecycle_alpwk_59:after{box-sizing:border-box}._empty_alpwk_63,._empty_alpwk_63:before,._empty_alpwk_63:after{box-sizing:border-box}._row_alpwk_70,._row_alpwk_70:before,._row_alpwk_70:after{box-sizing:border-box}._list_alpwk_4{display:flex;flex-direction:column;gap:var(--u-space-3);min-width:0}._bar_alpwk_12{display:flex;align-items:center;gap:var(--u-space-3);flex-wrap:wrap}._heading_alpwk_19{font-size:var(--u-text-sm);font-weight:var(--u-weight-semibold);color:var(--u-color-text)}._filler_alpwk_25{flex:1 1 auto}._asOf_alpwk_29{font-size:var(--u-text-xs);color:var(--u-color-text-secondary)}._asOf_alpwk_29[data-freshness=stale]{color:var(--u-color-warning)}._asOf_alpwk_29[data-freshness=lost]{color:var(--u-color-danger);font-weight:var(--u-weight-medium)}._live_alpwk_46{font-size:var(--u-text-xs);color:var(--u-color-text-secondary)}._label_alpwk_51{font-weight:var(--u-weight-medium)}._counter_alpwk_55{margin-left:var(--u-space-2)}._lifecycle_alpwk_59{font-size:var(--u-text-xs)}._empty_alpwk_63{color:var(--u-color-text-secondary)}._row_alpwk_70[data-lifecycle=standing-unacknowledged] td:first-child{box-sizing:border-box}._row_alpwk_70[data-lifecycle=standing-unacknowledged] td:first-child{box-shadow:inset 3px 0 0 var(--u-color-danger)}._row_alpwk_70[data-lifecycle=cleared-unacknowledged] td:first-child{box-sizing:border-box}._row_alpwk_70[data-lifecycle=cleared-unacknowledged] td:first-child{box-shadow:inset 3px 0 0 var(--u-color-warning)}._row_alpwk_70[data-lifecycle=cleared-acknowledged]{color:var(--u-color-text-secondary)}}
1
+ @layer umriss.tokens,umriss.base,umriss.components;@layer umriss.base{._text_1hv7a_23{font-family:var(--u-font-sans);font-size:var(--u-text-md);line-height:var(--u-leading-normal);color:var(--u-color-text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}._field_1hv7a_34{caret-color:var(--u-color-accent)}._scroll_1hv7a_40{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--u-color-text) 25%,transparent) transparent}._scroll_1hv7a_40::-webkit-scrollbar{width:10px;height:10px}._scroll_1hv7a_40::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--u-color-text) 22%,transparent);border-radius:var(--u-radius-full);border:3px solid transparent;background-clip:content-box}._scroll_1hv7a_40::-webkit-scrollbar-track{background:transparent}}@layer umriss.components{._ring_1hv7a_65:focus-visible{outline:none;box-shadow:var(--u-focus-ring)}@media(pointer:coarse){._field_1hv7a_34._field_1hv7a_34{font-size:16px}}._field_1hv7a_34:-webkit-autofill,._field_1hv7a_34:-webkit-autofill:hover,._field_1hv7a_34:-webkit-autofill:focus{-webkit-box-shadow:inset 0 0 0 1000px var(--u-color-surface),0 0 0 1px var(--u-edge-color-strong);-webkit-text-fill-color:var(--u-color-text);caret-color:var(--u-color-accent)}}@layer umriss.tokens,umriss.base,umriss.components;@layer umriss.components{._frame_10bwr_11,._frame_10bwr_11:before,._frame_10bwr_11:after{box-sizing:border-box}._children_10bwr_23,._children_10bwr_23:before,._children_10bwr_23:after{box-sizing:border-box}._scroll_10bwr_29,._scroll_10bwr_29:before,._scroll_10bwr_29:after{box-sizing:border-box}._footerTarget_10bwr_36,._footerTarget_10bwr_36:before,._footerTarget_10bwr_36:after{box-sizing:border-box}._table_10bwr_40,._table_10bwr_40:before,._table_10bwr_40:after{box-sizing:border-box}._th_10bwr_48,._th_10bwr_48:before,._th_10bwr_48:after{box-sizing:border-box}._sticky_10bwr_63,._sticky_10bwr_63:before,._sticky_10bwr_63:after{box-sizing:border-box}._td_10bwr_71,._td_10bwr_71:before,._td_10bwr_71:after{box-sizing:border-box}._rowHeader_10bwr_83,._rowHeader_10bwr_83:before,._rowHeader_10bwr_83:after{box-sizing:border-box}._compact_10bwr_99,._compact_10bwr_99:before,._compact_10bwr_99:after{box-sizing:border-box}._numeric_10bwr_114,._numeric_10bwr_114:before,._numeric_10bwr_114:after{box-sizing:border-box}._absent_10bwr_126,._absent_10bwr_126:before,._absent_10bwr_126:after{box-sizing:border-box}._striped_10bwr_130,._striped_10bwr_130:before,._striped_10bwr_130:after{box-sizing:border-box}._stickyCell_10bwr_154,._stickyCell_10bwr_154:before,._stickyCell_10bwr_154:after{box-sizing:border-box}._sortButton_10bwr_166,._sortButton_10bwr_166:before,._sortButton_10bwr_166:after{box-sizing:border-box}._sortIndicator_10bwr_191,._sortIndicator_10bwr_191:before,._sortIndicator_10bwr_191:after{box-sizing:border-box}._sortArrow_10bwr_198,._sortArrow_10bwr_198:before,._sortArrow_10bwr_198:after{box-sizing:border-box}._sortArrowDesc_10bwr_202,._sortArrowDesc_10bwr_202:before,._sortArrowDesc_10bwr_202:after{box-sizing:border-box}._sortActive_10bwr_210,._sortActive_10bwr_210:before,._sortActive_10bwr_210:after{box-sizing:border-box}._sortRank_10bwr_216,._sortRank_10bwr_216:before,._sortRank_10bwr_216:after{box-sizing:border-box}._thFlex_10bwr_224,._thFlex_10bwr_224:before,._thFlex_10bwr_224:after{box-sizing:border-box}._footerKind_10bwr_245,._footerKind_10bwr_245:before,._footerKind_10bwr_245:after{box-sizing:border-box}._emptyCell_10bwr_253,._emptyCell_10bwr_253:before,._emptyCell_10bwr_253:after{box-sizing:border-box}._empty_10bwr_253,._empty_10bwr_253:before,._empty_10bwr_253:after{box-sizing:border-box}._emptyTitle_10bwr_269,._emptyTitle_10bwr_269:before,._emptyTitle_10bwr_269:after{box-sizing:border-box}._skeleton_10bwr_276,._skeleton_10bwr_276:before,._skeleton_10bwr_276:after{box-sizing:border-box}._toolbar_10bwr_304,._toolbar_10bwr_304:before,._toolbar_10bwr_304:after{box-sizing:border-box}._toolbarGroup_10bwr_318,._toolbarGroup_10bwr_318:before,._toolbarGroup_10bwr_318:after{box-sizing:border-box}._toolbarInfo_10bwr_335,._toolbarInfo_10bwr_335:before,._toolbarInfo_10bwr_335:after{box-sizing:border-box}._pagination_10bwr_341,._pagination_10bwr_341:before,._pagination_10bwr_341:after{box-sizing:border-box}._paginationControls_10bwr_354,._paginationControls_10bwr_354:before,._paginationControls_10bwr_354:after{box-sizing:border-box}._pageSize_10bwr_361,._pageSize_10bwr_361:before,._pageSize_10bwr_361:after{box-sizing:border-box}._paginationStatus_10bwr_373,._paginationStatus_10bwr_373:before,._paginationStatus_10bwr_373:after{box-sizing:border-box}._filterButton_10bwr_382,._filterButton_10bwr_382:before,._filterButton_10bwr_382:after{box-sizing:border-box}._filterActive_10bwr_405,._filterActive_10bwr_405:before,._filterActive_10bwr_405:after{box-sizing:border-box}._filterPanel_10bwr_410,._filterPanel_10bwr_410:before,._filterPanel_10bwr_410:after{box-sizing:border-box}._filterContent_10bwr_423,._filterContent_10bwr_423:before,._filterContent_10bwr_423:after{box-sizing:border-box}._filterFooter_10bwr_434,._filterFooter_10bwr_434:before,._filterFooter_10bwr_434:after{box-sizing:border-box}._filterLabel_10bwr_448,._filterLabel_10bwr_448:before,._filterLabel_10bwr_448:after{box-sizing:border-box}._filterValue_10bwr_458,._filterValue_10bwr_458:before,._filterValue_10bwr_458:after{box-sizing:border-box}._filteredCount_10bwr_464,._filteredCount_10bwr_464:before,._filteredCount_10bwr_464:after{box-sizing:border-box}._rangeFields_10bwr_475,._rangeFields_10bwr_475:before,._rangeFields_10bwr_475:after{box-sizing:border-box}._rangePeriod_10bwr_485,._rangePeriod_10bwr_485:before,._rangePeriod_10bwr_485:after{box-sizing:border-box}._conditions_10bwr_491,._conditions_10bwr_491:before,._conditions_10bwr_491:after{box-sizing:border-box}._conditionButton_10bwr_497,._conditionButton_10bwr_497:before,._conditionButton_10bwr_497:after{box-sizing:border-box}._condition_10bwr_491,._condition_10bwr_491:before,._condition_10bwr_491:after{box-sizing:border-box}._columnsPanel_10bwr_521,._columnsPanel_10bwr_521:before,._columnsPanel_10bwr_521:after{box-sizing:border-box}._columnsList_10bwr_529,._columnsList_10bwr_529:before,._columnsList_10bwr_529:after{box-sizing:border-box}._columnsEntry_10bwr_538,._columnsEntry_10bwr_538:before,._columnsEntry_10bwr_538:after{box-sizing:border-box}._move_10bwr_550,._move_10bwr_550:before,._move_10bwr_550:after{box-sizing:border-box}._expander_10bwr_585,._expander_10bwr_585:before,._expander_10bwr_585:after{box-sizing:border-box}._expanderOpen_10bwr_616,._expanderOpen_10bwr_616:before,._expanderOpen_10bwr_616:after{box-sizing:border-box}._detailRow_10bwr_620,._detailRow_10bwr_620:before,._detailRow_10bwr_620:after{box-sizing:border-box}._detailCell_10bwr_620,._detailCell_10bwr_620:before,._detailCell_10bwr_620:after{box-sizing:border-box}._actionsCell_10bwr_628,._actionsCell_10bwr_628:before,._actionsCell_10bwr_628:after{box-sizing:border-box}._actions_10bwr_628,._actions_10bwr_628:before,._actions_10bwr_628:after{box-sizing:border-box}._grip_10bwr_656,._grip_10bwr_656:before,._grip_10bwr_656:after{box-sizing:border-box}._virtualBody_10bwr_697,._virtualBody_10bwr_697:before,._virtualBody_10bwr_697:after{box-sizing:border-box}._virtualRow_10bwr_705,._virtualRow_10bwr_705:before,._virtualRow_10bwr_705:after{box-sizing:border-box}._fillerRow_10bwr_710,._fillerRow_10bwr_710:before,._fillerRow_10bwr_710:after{box-sizing:border-box}._frame_10bwr_11{display:flex;flex-direction:column;min-width:0;border-radius:var(--u-radius-md);corner-shape:squircle;background:var(--u-color-surface);box-shadow:var(--u-edge)}._children_10bwr_23{display:contents}._scroll_10bwr_29{position:relative;overflow:auto;min-width:0}._footerTarget_10bwr_36{display:contents}._table_10bwr_40{width:100%;border-collapse:collapse;font-size:var(--u-text-sm)}._th_10bwr_48{position:relative;padding:var(--u-space-2) var(--u-space-2);background:var(--u-color-surface);border-bottom:1px solid var(--u-hairline-strong);text-align:left;font-size:var(--u-text-xs);font-weight:var(--u-weight-medium);letter-spacing:var(--u-tracking-caps);text-transform:uppercase;color:var(--u-color-text-secondary);white-space:nowrap}._sticky_10bwr_63 ._th_10bwr_48{position:sticky;top:0;z-index:1}._td_10bwr_71{padding:var(--u-space-2) var(--u-space-2);border-bottom:1px solid var(--u-hairline);color:var(--u-color-text);vertical-align:middle;text-align:left;font-weight:var(--u-weight-regular)}._rowHeader_10bwr_83{font-weight:var(--u-weight-medium)}._table_10bwr_40 tbody tr:last-child ._td_10bwr_71{border-bottom:none}._table_10bwr_40 tbody tr{box-sizing:border-box}._table_10bwr_40 tbody tr{transition:background-color var(--u-transition)}._table_10bwr_40 tbody tr:hover ._td_10bwr_71{background:var(--u-color-surface-sunken)}._compact_10bwr_99 ._td_10bwr_71{padding:var(--u-space-1) var(--u-space-2);font-size:var(--u-text-xs)}._th_10bwr_48:first-child,._td_10bwr_71:first-child{padding-left:var(--u-space-3)}._th_10bwr_48:last-child,._td_10bwr_71:last-child{padding-right:var(--u-space-3)}._numeric_10bwr_114{text-align:right}._td_10bwr_71._numeric_10bwr_114{font-family:var(--u-font-mono);font-size:.75rem;letter-spacing:-.01em;font-variant-numeric:tabular-nums}._absent_10bwr_126{color:var(--u-color-text-muted)}._striped_10bwr_130 tbody tr:nth-child(2n) ._td_10bwr_71{background:color-mix(in srgb,var(--u-color-surface-sunken) 55%,var(--u-color-surface))}._control_10bwr_145{width:.1%;min-width:34px;box-sizing:border-box;padding-right:0}._stickyCell_10bwr_154{position:sticky;z-index:2;background:var(--u-color-surface)}._sticky_10bwr_63 ._th_10bwr_48._stickyCell_10bwr_154{z-index:3}._sortButton_10bwr_166{display:inline-flex;align-items:center;gap:var(--u-space-1);margin:calc(-1 * var(--u-space-2)) calc(-1 * var(--u-space-3));padding:var(--u-space-2) var(--u-space-3);border:none;background:none;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;cursor:pointer;transition:color var(--u-transition)}._numeric_10bwr_114 ._sortButton_10bwr_166{flex-direction:row-reverse}._sortButton_10bwr_166:hover{color:var(--u-color-text)}._sortIndicator_10bwr_191{display:inline-flex;align-items:center;opacity:0;transition:opacity var(--u-transition)}._sortArrow_10bwr_198{transition:transform var(--u-transition)}._sortArrowDesc_10bwr_202{transform:rotate(180deg)}._sortButton_10bwr_166:hover ._sortIndicator_10bwr_191{opacity:.45}._sortActive_10bwr_210,._sortButton_10bwr_166:hover ._sortActive_10bwr_210{opacity:1;color:var(--u-color-accent)}._sortRank_10bwr_216{font-family:var(--u-font-mono);font-size:var(--u-text-xs);font-variant-numeric:tabular-nums;line-height:1;color:var(--u-color-accent)}._thFlex_10bwr_224{display:flex;align-items:center;gap:var(--u-space-1)}._numeric_10bwr_114 ._thFlex_10bwr_224{justify-content:flex-end}._table_10bwr_40 tfoot ._td_10bwr_71{border-top:1px solid var(--u-hairline-strong);border-bottom:none;background:var(--u-color-surface);font-weight:var(--u-weight-semibold)}._footerKind_10bwr_245{margin-right:var(--u-space-1);color:var(--u-color-text-muted);font-weight:var(--u-weight-regular)}._emptyCell_10bwr_253{padding:0;border-bottom:none}._empty_10bwr_253{display:flex;flex-direction:column;align-items:center;gap:var(--u-space-2);padding:var(--u-space-8) var(--u-space-4);text-align:center;font-size:var(--u-text-sm);color:var(--u-color-text-muted)}._emptyTitle_10bwr_269{margin:0;font-size:var(--u-text-md);font-weight:var(--u-weight-semibold);color:var(--u-color-text)}._skeleton_10bwr_276{display:block;height:10px;border-radius:var(--u-radius-full);corner-shape:squircle;background:linear-gradient(90deg,color-mix(in srgb,var(--u-color-text) 8%,transparent),color-mix(in srgb,var(--u-color-text) 4%,transparent),color-mix(in srgb,var(--u-color-text) 8%,transparent));background-size:200% 100%;animation:_shimmer_10bwr_1 1.6s ease-in-out infinite}@keyframes _shimmer_10bwr_1{0%{background-position:130% 0}to{background-position:-70% 0}}@media(prefers-reduced-motion:reduce){._skeleton_10bwr_276{animation:none;background:color-mix(in srgb,var(--u-color-text) 8%,transparent)}}._toolbar_10bwr_304{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--u-space-2) var(--u-space-4);padding:var(--u-space-2) var(--u-space-3);border-bottom:1px solid var(--u-hairline)}._toolbarGroup_10bwr_318{display:flex;align-items:center;gap:var(--u-space-2);min-width:0;min-height:var(--u-control-height-sm)}@media(max-width:600px){._toolbarGroup_10bwr_318{flex-wrap:wrap}}._toolbarInfo_10bwr_335{font-size:var(--u-text-xs);color:var(--u-color-text-secondary);font-variant-numeric:tabular-nums}._pagination_10bwr_341{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--u-space-2) var(--u-space-4);padding:var(--u-space-2) var(--u-space-3);border-top:1px solid var(--u-hairline);font-size:var(--u-text-sm);color:var(--u-color-text-secondary)}._paginationControls_10bwr_354{display:flex;flex-wrap:wrap;align-items:center;gap:var(--u-space-2)}._pageSize_10bwr_361{display:flex;align-items:center;gap:var(--u-space-2);margin-right:var(--u-space-3);font-size:var(--u-text-xs)}._pageSize_10bwr_361>*{width:64px}._paginationStatus_10bwr_373{margin-right:var(--u-space-2);font-family:var(--u-font-mono);font-size:var(--u-text-xs);letter-spacing:-.01em}._filterButton_10bwr_382{flex:none;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:none;background:none;border-radius:var(--u-radius-xs);corner-shape:squircle;color:var(--u-color-text-muted);cursor:pointer;transition:background-color var(--u-transition),color var(--u-transition)}._filterButton_10bwr_382:hover{background:var(--u-color-surface-sunken);color:var(--u-color-text)}._filterActive_10bwr_405,._filterActive_10bwr_405:hover{color:var(--u-color-accent)}._filterPanel_10bwr_410{min-width:200px;max-width:280px;background:var(--u-color-surface);border-radius:var(--u-radius-md);corner-shape:squircle;box-shadow:var(--u-shadow-overlay);padding:var(--u-space-3);text-transform:none;letter-spacing:normal;font-weight:var(--u-weight-regular);color:var(--u-color-text)}._filterContent_10bwr_423{display:flex;flex-direction:column;gap:var(--u-space-2);max-height:260px;overflow:auto;padding:2px;margin:-2px}._filterFooter_10bwr_434{display:flex;align-items:center;justify-content:space-between;gap:var(--u-space-2);margin-top:var(--u-space-3);padding-top:var(--u-space-3);border-top:1px solid var(--u-hairline)}._filterLabel_10bwr_448{color:var(--u-color-text-secondary);font-weight:var(--u-weight-regular)}._filterLabel_10bwr_448:after{content:":";margin-right:.25em}._filterValue_10bwr_458{color:var(--u-color-text)}._filteredCount_10bwr_464{flex:none;font-family:var(--u-font-mono);font-size:var(--u-text-xs);font-variant-numeric:tabular-nums;color:var(--u-color-text-muted);white-space:nowrap}._rangeFields_10bwr_475{display:flex;gap:var(--u-space-2)}._rangeFields_10bwr_475>*{flex:1;min-width:0}._rangePeriod_10bwr_485{min-width:240px}._conditions_10bwr_491{min-width:0}._conditionButton_10bwr_497{display:inline-flex;align-items:center;padding:0;border:none;background:none;font:inherit;color:inherit;white-space:nowrap;cursor:pointer}._conditionButton_10bwr_497:focus-visible{outline:none}._condition_10bwr_491:has(._conditionButton_10bwr_497:focus-visible){box-shadow:var(--u-focus-ring)}._columnsPanel_10bwr_521{min-width:240px;background:var(--u-color-surface);border-radius:var(--u-radius-md);corner-shape:squircle;box-shadow:var(--u-shadow-overlay);padding:var(--u-space-2)}._columnsList_10bwr_529{display:flex;flex-direction:column;gap:var(--u-space-1);margin:0;padding:0;list-style:none}._columnsEntry_10bwr_538{display:flex;align-items:center;gap:var(--u-space-2);padding:var(--u-space-1) var(--u-space-1)}._columnsEntry_10bwr_538>:first-child{flex:1;min-width:0}._move_10bwr_550{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;border-radius:var(--u-radius-xs);corner-shape:squircle;background:none;color:var(--u-color-text-secondary);cursor:pointer;transition:background-color var(--u-transition),color var(--u-transition)}._move_10bwr_550:hover:not(:disabled){background:var(--u-color-surface-sunken);color:var(--u-color-text)}._move_10bwr_550:focus-visible{outline:none;box-shadow:var(--u-focus-ring)}._move_10bwr_550:disabled{color:var(--u-color-text-muted);cursor:default;opacity:.5}._expander_10bwr_585{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:none;border-radius:var(--u-radius-xs);corner-shape:squircle;background:none;color:var(--u-color-text-muted);cursor:pointer;transition:color var(--u-transition),background-color var(--u-transition)}._expander_10bwr_585:hover{background:var(--u-color-surface-sunken);color:var(--u-color-text)}._expander_10bwr_585:focus-visible{outline:none;box-shadow:var(--u-focus-ring)}._expander_10bwr_585 svg{box-sizing:border-box}._expander_10bwr_585 svg{transition:transform var(--u-duration-fast) var(--u-ease-out)}._expanderOpen_10bwr_616 svg{box-sizing:border-box}._expanderOpen_10bwr_616 svg{transform:rotate(90deg)}._detailRow_10bwr_620>._detailCell_10bwr_620{padding:var(--u-space-4);background:var(--u-color-surface-sunken);box-shadow:inset 0 -1px 0 var(--u-hairline)}._actionsCell_10bwr_628{width:1%;white-space:nowrap;text-align:right}._actions_10bwr_628{display:inline-flex;align-items:center;gap:var(--u-space-1)}._actions_10bwr_628 button{box-sizing:border-box}._actions_10bwr_628 button{color:var(--u-color-text-secondary);transition:color var(--u-transition)}tbody tr:hover ._actions_10bwr_628 button{box-sizing:border-box}tbody tr:focus-within ._actions_10bwr_628 button{box-sizing:border-box}tbody tr:hover ._actions_10bwr_628 button,tbody tr:focus-within ._actions_10bwr_628 button{color:var(--u-color-accent-text)}._grip_10bwr_656{position:absolute;top:0;right:0;bottom:0;width:9px;z-index:1;cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none}._grip_10bwr_656:after{content:"";position:absolute;top:20%;bottom:20%;right:var(--u-space-1);width:1px;background:var(--u-color-accent);opacity:0;transition:opacity var(--u-transition)}._grip_10bwr_656:hover:after{opacity:1}@media(pointer:coarse){._grip_10bwr_656{width:16px}._grip_10bwr_656:after{opacity:.4}}._striped_10bwr_130 ._virtualBody_10bwr_697 tr:nth-child(2n) ._td_10bwr_71{background:none}._striped_10bwr_130 ._virtualBody_10bwr_697 tr[data-even] ._td_10bwr_71{background:color-mix(in srgb,var(--u-color-surface-sunken) 55%,var(--u-color-surface))}._virtualRow_10bwr_705:focus-visible{outline:2px solid var(--u-color-accent);outline-offset:-2px}._fillerRow_10bwr_710{pointer-events:none}._fillerRow_10bwr_710 td{box-sizing:border-box}._fillerRow_10bwr_710 td{padding:0;border:0}}@layer umriss.tokens,umriss.base,umriss.components;@layer umriss.components{._verdict_a8pbv_6,._verdict_a8pbv_6:before,._verdict_a8pbv_6:after{box-sizing:border-box}._glyph_a8pbv_13,._glyph_a8pbv_13:before,._glyph_a8pbv_13:after{box-sizing:border-box}._value_a8pbv_23,._value_a8pbv_23:before,._value_a8pbv_23:after{box-sizing:border-box}._excess_a8pbv_28,._excess_a8pbv_28:before,._excess_a8pbv_28:after{box-sizing:border-box}._verdict_a8pbv_6{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:var(--u-space-1)}._glyph_a8pbv_13{font-size:.7em;line-height:1}._verdict_a8pbv_6[data-verdict=ok] ._glyph_a8pbv_13,._verdict_a8pbv_6[data-verdict=unknown] ._glyph_a8pbv_13,._verdict_a8pbv_6[data-verdict=unknown] ._value_a8pbv_23{color:var(--u-color-text-muted)}._verdict_a8pbv_6[data-verdict=warning] ._glyph_a8pbv_13,._verdict_a8pbv_6[data-verdict=warning] ._excess_a8pbv_28{color:var(--u-color-warning)}._verdict_a8pbv_6[data-verdict=alarm] ._glyph_a8pbv_13,._verdict_a8pbv_6[data-verdict=alarm] ._excess_a8pbv_28{color:var(--u-color-danger)}._excess_a8pbv_28{font-size:.9em}}@layer umriss.tokens,umriss.base,umriss.components;@layer umriss.base{._text_1hv7a_23{font-family:var(--u-font-sans);font-size:var(--u-text-md);line-height:var(--u-leading-normal);color:var(--u-color-text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}._field_1hv7a_34{caret-color:var(--u-color-accent)}._scroll_1hv7a_40{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--u-color-text) 25%,transparent) transparent}._scroll_1hv7a_40::-webkit-scrollbar{width:10px;height:10px}._scroll_1hv7a_40::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--u-color-text) 22%,transparent);border-radius:var(--u-radius-full);border:3px solid transparent;background-clip:content-box}._scroll_1hv7a_40::-webkit-scrollbar-track{background:transparent}}@layer umriss.components{._ring_1hv7a_65:focus-visible{outline:none;box-shadow:var(--u-focus-ring)}@media(pointer:coarse){._field_1hv7a_34._field_1hv7a_34{font-size:16px}}._field_1hv7a_34:-webkit-autofill,._field_1hv7a_34:-webkit-autofill:hover,._field_1hv7a_34:-webkit-autofill:focus{-webkit-box-shadow:inset 0 0 0 1000px var(--u-color-surface),0 0 0 1px var(--u-edge-color-strong);-webkit-text-fill-color:var(--u-color-text);caret-color:var(--u-color-accent)}}@layer umriss.tokens,umriss.base,umriss.components;@layer umriss.components{._list_alpwk_4,._list_alpwk_4:before,._list_alpwk_4:after{box-sizing:border-box}._bar_alpwk_12,._bar_alpwk_12:before,._bar_alpwk_12:after{box-sizing:border-box}._heading_alpwk_19,._heading_alpwk_19:before,._heading_alpwk_19:after{box-sizing:border-box}._filler_alpwk_25,._filler_alpwk_25:before,._filler_alpwk_25:after{box-sizing:border-box}._asOf_alpwk_29,._asOf_alpwk_29:before,._asOf_alpwk_29:after{box-sizing:border-box}._live_alpwk_46,._live_alpwk_46:before,._live_alpwk_46:after{box-sizing:border-box}._label_alpwk_51,._label_alpwk_51:before,._label_alpwk_51:after{box-sizing:border-box}._counter_alpwk_55,._counter_alpwk_55:before,._counter_alpwk_55:after{box-sizing:border-box}._lifecycle_alpwk_59,._lifecycle_alpwk_59:before,._lifecycle_alpwk_59:after{box-sizing:border-box}._empty_alpwk_63,._empty_alpwk_63:before,._empty_alpwk_63:after{box-sizing:border-box}._row_alpwk_70,._row_alpwk_70:before,._row_alpwk_70:after{box-sizing:border-box}._list_alpwk_4{display:flex;flex-direction:column;gap:var(--u-space-3);min-width:0}._bar_alpwk_12{display:flex;align-items:center;gap:var(--u-space-3);flex-wrap:wrap}._heading_alpwk_19{font-size:var(--u-text-sm);font-weight:var(--u-weight-semibold);color:var(--u-color-text)}._filler_alpwk_25{flex:1 1 auto}._asOf_alpwk_29{font-size:var(--u-text-xs);color:var(--u-color-text-secondary)}._asOf_alpwk_29[data-freshness=stale]{color:var(--u-color-warning)}._asOf_alpwk_29[data-freshness=lost]{color:var(--u-color-danger);font-weight:var(--u-weight-medium)}._live_alpwk_46{font-size:var(--u-text-xs);color:var(--u-color-text-secondary)}._label_alpwk_51{font-weight:var(--u-weight-medium)}._counter_alpwk_55{margin-left:var(--u-space-2)}._lifecycle_alpwk_59{font-size:var(--u-text-xs)}._empty_alpwk_63{color:var(--u-color-text-secondary)}._row_alpwk_70[data-lifecycle=standing-unacknowledged] td:first-child{box-sizing:border-box}._row_alpwk_70[data-lifecycle=standing-unacknowledged] td:first-child{box-shadow:inset 3px 0 0 var(--u-color-danger)}._row_alpwk_70[data-lifecycle=cleared-unacknowledged] td:first-child{box-sizing:border-box}._row_alpwk_70[data-lifecycle=cleared-unacknowledged] td:first-child{box-shadow:inset 3px 0 0 var(--u-color-warning)}._row_alpwk_70[data-lifecycle=cleared-acknowledged]{color:var(--u-color-text-secondary)}}
package/dist/table.js CHANGED
@@ -3,7 +3,7 @@ var wt = Object.defineProperty;
3
3
  var _t = (e, t, n) => t in e ? wt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
4
  var z = (e, t, n) => _t(e, typeof t != "symbol" ? t + "" : t, n);
5
5
  import { useState as P, useCallback as B, useMemo as V, useRef as oe, useId as Z, useContext as xe, useSyncExternalStore as pe, createContext as Ge, useLayoutEffect as J } from "react";
6
- import { DEFAULT_FORMATS as vt, useVirtual as kt, useFormats as te, useWording as $, Checkbox as be, DateRangePicker as yt, FormField as Ee, NumberInput as Pe, Popover as Ue, Button as G, TagGroup as Ct, Tag as St, useDensityFor as qe, VisuallyHidden as ge, Menu as Nt, MenuItem as At, assess as xt, verdictWeight as Tt, Select as Ot, Input as Rt, DEFAULT_WORDING as It, Badge as Ce, useFreshness as Ft } from "@umriss-ui/core";
6
+ import { DEFAULT_FORMATS as vt, useVirtual as kt, useFormats as te, useWording as $, Checkbox as ge, DateRangePicker as yt, FormField as Ee, NumberInput as Pe, Popover as Ue, Button as G, TagGroup as Ct, Tag as St, useDensityFor as qe, VisuallyHidden as be, Menu as Nt, MenuItem as At, assess as xt, verdictWeight as Tt, Select as Ot, Input as Rt, DEFAULT_WORDING as It, Badge as Ce, useFreshness as Ft } from "@umriss-ui/core";
7
7
  import { jsx as c, jsxs as x, Fragment as Q } from "react/jsx-runtime";
8
8
  import { createPortal as Lt } from "react-dom";
9
9
  function zt(e) {
@@ -42,10 +42,10 @@ function Oe(e, t, n) {
42
42
  pageSize: l,
43
43
  hidden: a,
44
44
  order: u
45
- } = n, d = Te(t, u), h = a != null && a.length ? d.filter((w) => w.hideable === !1 || !a.includes(w.id)) : d, _ = o.trim().toLowerCase(), b = t.filter((w) => w.searchable && w.value), p = (w) => !_ || b.some((C) => {
45
+ } = n, d = Te(t, u), h = a != null && a.length ? d.filter((w) => w.hideable === !1 || !a.includes(w.id)) : d, _ = o.trim().toLowerCase(), g = t.filter((w) => w.searchable && w.value), p = (w) => !_ || g.some((C) => {
46
46
  const I = C.value(w);
47
47
  return !ie(I) && String(I).toLowerCase().includes(_);
48
- }), g = e.filter((w) => p(w) && (r ? r(w) : !0)), m = (Array.isArray(i) ? i : i ? [i] : []).map((w) => {
48
+ }), b = e.filter((w) => p(w) && (r ? r(w) : !0)), m = (Array.isArray(i) ? i : i ? [i] : []).map((w) => {
49
49
  const C = t.find((T) => T.id === w.column);
50
50
  if (!C || !C.compare && !C.value) return null;
51
51
  const I = w.direction === "asc" ? 1 : -1, A = C.compare, S = C.value;
@@ -54,17 +54,17 @@ function Oe(e, t, n) {
54
54
  return ie(F) || ie(E) ? ie(F) === ie(E) ? 0 : ie(F) ? 1 : -1 : (A ? A(T, L) : jt(F, E)) * I;
55
55
  } : (T, L) => A(T, L) * I;
56
56
  }).filter((w) => w !== null);
57
- m.length > 0 && g.sort((w, C) => {
57
+ m.length > 0 && b.sort((w, C) => {
58
58
  for (const I of m) {
59
59
  const A = I(w, C);
60
60
  if (A !== 0) return A;
61
61
  }
62
62
  return 0;
63
63
  });
64
- const y = l && l > 0 ? l : g.length || 1, O = Math.max(1, Math.ceil(g.length / y)), N = Math.min(Math.max(1, s), O), M = g.slice((N - 1) * y, N * y);
64
+ const y = l && l > 0 ? l : b.length || 1, O = Math.max(1, Math.ceil(b.length / y)), N = Math.min(Math.max(1, s), O), M = b.slice((N - 1) * y, N * y);
65
65
  return {
66
66
  columns: h,
67
- filtered: g,
67
+ filtered: b,
68
68
  visible: M,
69
69
  page: N,
70
70
  pageCount: O,
@@ -75,7 +75,7 @@ function Et(e, t, n) {
75
75
  const { rowKey: o, filter: r, defaultSort: i = null, initialView: s, virtual: l } = n, [a, u] = P((s == null ? void 0 : s.search) ?? ""), [d, h] = P(() => {
76
76
  var k;
77
77
  return (k = s == null ? void 0 : s.sort) != null && k.length ? [...s.sort] : i ? Array.isArray(i) ? [...i] : [i] : [];
78
- }), [_, b] = P((s == null ? void 0 : s.page) ?? 1), [p, g] = P(
78
+ }), [_, g] = P((s == null ? void 0 : s.page) ?? 1), [p, b] = P(
79
79
  (s == null ? void 0 : s.pageSize) ?? n.pageSize ?? 10
80
80
  ), [v, m] = P([]), [y, O] = P((s == null ? void 0 : s.hidden) ?? []), [N, M] = P((s == null ? void 0 : s.order) ?? []), [w, C] = P(() => {
81
81
  if (s != null && s.widths) return { ...s.widths };
@@ -101,9 +101,9 @@ function Et(e, t, n) {
101
101
  () => l ? A.filtered.slice(S.from, S.to) : A.visible,
102
102
  [l, A.filtered, A.visible, S.from, S.to]
103
103
  ), L = V(() => A.filtered.map(o), [A.filtered, o]), F = zt(L), E = B((k) => {
104
- u(k), b(1);
104
+ u(k), g(1);
105
105
  }, []), W = B((k) => {
106
- g(k), b(1);
106
+ b(k), g(1);
107
107
  }, []), q = B((k, R = !1) => {
108
108
  h((j) => {
109
109
  const Y = j.find((ne) => ne.column === k);
@@ -114,7 +114,7 @@ function Et(e, t, n) {
114
114
  return Y ? Y.direction === "asc" ? j.map(
115
115
  (ne) => ne.column === k ? { column: k, direction: "desc" } : ne
116
116
  ) : j.filter((ne) => ne.column !== k) : [...j, { column: k, direction: "asc" }];
117
- }), b(1);
117
+ }), g(1);
118
118
  }, []), D = B((k) => {
119
119
  m(
120
120
  (R) => R.includes(k) ? R.filter((j) => j !== k) : [...R, k]
@@ -148,7 +148,7 @@ function Et(e, t, n) {
148
148
  return R === -1 ? void 0 : R + 1;
149
149
  },
150
150
  [d]
151
- ), bt = V(
151
+ ), gt = V(
152
152
  () => Te(t, N).filter((k) => k.label !== void 0 && k.hideable !== !1).map((k) => ({ id: k.id, label: k.label, visible: !y.includes(k.id) })),
153
153
  [t, N, y]
154
154
  ), Le = n.pageSize ?? 10, ze = V(() => {
@@ -169,7 +169,7 @@ function Et(e, t, n) {
169
169
  var j, Y;
170
170
  return k.column === ((j = ye[R]) == null ? void 0 : j.column) && k.direction === ((Y = ye[R]) == null ? void 0 : Y.direction);
171
171
  }
172
- ), gt = V(
172
+ ), bt = V(
173
173
  () => ({
174
174
  ...a ? { search: a } : {},
175
175
  ...d.length && !je ? { sort: d } : {},
@@ -199,14 +199,14 @@ function Et(e, t, n) {
199
199
  ...A,
200
200
  visible: T,
201
201
  virtual: l ? S : void 0,
202
- view: gt,
202
+ view: bt,
203
203
  search: a,
204
204
  setSearch: E,
205
205
  sort: d,
206
206
  toggleSort: q,
207
207
  sortDirectionOf: mt,
208
208
  sortRankOf: pt,
209
- setPage: b,
209
+ setPage: g,
210
210
  pageSize: p,
211
211
  setPageSize: W,
212
212
  expanded: v,
@@ -214,7 +214,7 @@ function Et(e, t, n) {
214
214
  isExpanded: K,
215
215
  hidden: y,
216
216
  toggleColumn: ve,
217
- columnChoices: bt,
217
+ columnChoices: gt,
218
218
  order: N,
219
219
  setOrder: M,
220
220
  widths: w,
@@ -305,7 +305,7 @@ function Ht(e, t, n) {
305
305
  if (r !== 0)
306
306
  return n === "sum" ? o : o / r;
307
307
  }
308
- const Re = "absent", le = (e) => U(e) ? Re : e instanceof Date ? `value:${e.getTime()}` : `value:${String(e)}`, Bt = "_frame_10bwr_11 _text_18b86_23", $t = "_children_10bwr_23", Wt = "_scroll_10bwr_29 _scroll_18b86_40", Kt = "_footerTarget_10bwr_36", Gt = "_table_10bwr_40", Ut = "_th_10bwr_48 _ring_18b86_65", qt = "_sticky_10bwr_63", Yt = "_td_10bwr_71", Xt = "_rowHeader_10bwr_83", Jt = "_compact_10bwr_99", Qt = "_numeric_10bwr_114", Zt = "_absent_10bwr_126", en = "_striped_10bwr_130", tn = "_stickyCell_10bwr_154", nn = "_sortButton_10bwr_166 _ring_18b86_65", on = "_sortIndicator_10bwr_191", rn = "_sortArrow_10bwr_198", sn = "_sortArrowDesc_10bwr_202", ln = "_sortActive_10bwr_210", cn = "_sortRank_10bwr_216", an = "_thFlex_10bwr_224", dn = "_footerKind_10bwr_245", un = "_emptyCell_10bwr_253", fn = "_empty_10bwr_253", hn = "_emptyTitle_10bwr_269", mn = "_skeleton_10bwr_276", pn = "_toolbar_10bwr_304 _text_18b86_23", bn = "_toolbarGroup_10bwr_318", gn = "_toolbarInfo_10bwr_335", wn = "_pagination_10bwr_341 _text_18b86_23", _n = "_paginationControls_10bwr_354", vn = "_pageSize_10bwr_361", kn = "_paginationStatus_10bwr_373", yn = "_filterButton_10bwr_382 _ring_18b86_65", Cn = "_filterActive_10bwr_405", Sn = "_filterPanel_10bwr_410", Nn = "_filterContent_10bwr_423 _scroll_18b86_40", An = "_filterFooter_10bwr_434", xn = "_filterLabel_10bwr_448", Tn = "_filterValue_10bwr_458", On = "_filteredCount_10bwr_464", Rn = "_rangeFields_10bwr_475", In = "_rangePeriod_10bwr_485", Fn = "_conditions_10bwr_491", Ln = "_conditionButton_10bwr_497", zn = "_condition_10bwr_491", jn = "_columnsPanel_10bwr_521", En = "_columnsList_10bwr_529", Pn = "_columnsEntry_10bwr_538", Mn = "_move_10bwr_550", Dn = "_expander_10bwr_585", Vn = "_expanderOpen_10bwr_616", Hn = "_detailRow_10bwr_620", Bn = "_detailCell_10bwr_620", $n = "_actionsCell_10bwr_628", Wn = "_actions_10bwr_628", Kn = "_grip_10bwr_656", Gn = "_virtualBody_10bwr_697", Un = "_virtualRow_10bwr_705", qn = "_fillerRow_10bwr_710", Yn = "_control_10bwr_145", f = {
308
+ const Re = "absent", le = (e) => U(e) ? Re : e instanceof Date ? `value:${e.getTime()}` : `value:${String(e)}`, Bt = "_frame_10bwr_11 _text_1hv7a_23", $t = "_children_10bwr_23", Wt = "_scroll_10bwr_29 _scroll_1hv7a_40", Kt = "_footerTarget_10bwr_36", Gt = "_table_10bwr_40", Ut = "_th_10bwr_48 _ring_1hv7a_65", qt = "_sticky_10bwr_63", Yt = "_td_10bwr_71", Xt = "_rowHeader_10bwr_83", Jt = "_compact_10bwr_99", Qt = "_numeric_10bwr_114", Zt = "_absent_10bwr_126", en = "_striped_10bwr_130", tn = "_stickyCell_10bwr_154", nn = "_sortButton_10bwr_166 _ring_1hv7a_65", on = "_sortIndicator_10bwr_191", rn = "_sortArrow_10bwr_198", sn = "_sortArrowDesc_10bwr_202", ln = "_sortActive_10bwr_210", cn = "_sortRank_10bwr_216", an = "_thFlex_10bwr_224", dn = "_footerKind_10bwr_245", un = "_emptyCell_10bwr_253", fn = "_empty_10bwr_253", hn = "_emptyTitle_10bwr_269", mn = "_skeleton_10bwr_276", pn = "_toolbar_10bwr_304 _text_1hv7a_23", gn = "_toolbarGroup_10bwr_318", bn = "_toolbarInfo_10bwr_335", wn = "_pagination_10bwr_341 _text_1hv7a_23", _n = "_paginationControls_10bwr_354", vn = "_pageSize_10bwr_361", kn = "_paginationStatus_10bwr_373", yn = "_filterButton_10bwr_382 _ring_1hv7a_65", Cn = "_filterActive_10bwr_405", Sn = "_filterPanel_10bwr_410", Nn = "_filterContent_10bwr_423 _scroll_1hv7a_40", An = "_filterFooter_10bwr_434", xn = "_filterLabel_10bwr_448", Tn = "_filterValue_10bwr_458", On = "_filteredCount_10bwr_464", Rn = "_rangeFields_10bwr_475", In = "_rangePeriod_10bwr_485", Fn = "_conditions_10bwr_491", Ln = "_conditionButton_10bwr_497", zn = "_condition_10bwr_491", jn = "_columnsPanel_10bwr_521", En = "_columnsList_10bwr_529", Pn = "_columnsEntry_10bwr_538", Mn = "_move_10bwr_550", Dn = "_expander_10bwr_585", Vn = "_expanderOpen_10bwr_616", Hn = "_detailRow_10bwr_620", Bn = "_detailCell_10bwr_620", $n = "_actionsCell_10bwr_628", Wn = "_actions_10bwr_628", Kn = "_grip_10bwr_656", Gn = "_virtualBody_10bwr_697", Un = "_virtualRow_10bwr_705", qn = "_fillerRow_10bwr_710", Yn = "_control_10bwr_145", f = {
309
309
  frame: Bt,
310
310
  children: $t,
311
311
  scroll: Wt,
@@ -333,8 +333,8 @@ const Re = "absent", le = (e) => U(e) ? Re : e instanceof Date ? `value:${e.getT
333
333
  emptyTitle: hn,
334
334
  skeleton: mn,
335
335
  toolbar: pn,
336
- toolbarGroup: bn,
337
- toolbarInfo: gn,
336
+ toolbarGroup: gn,
337
+ toolbarInfo: bn,
338
338
  pagination: wn,
339
339
  paginationControls: _n,
340
340
  pageSize: vn,
@@ -426,14 +426,14 @@ function eo({
426
426
  const i = te(), s = $(), l = V(() => e ?? [], [e]), a = V(() => {
427
427
  const h = { formats: i, wording: s, format: r }, _ = n.map((v) => ({ key: le(v), text: Ne(v, h), value: v }));
428
428
  _.sort(tt(i));
429
- const b = new Set(_.map((v) => v.key)), p = l.filter((v) => !U(v) && !b.has(le(v))).map((v) => ({ key: le(v), text: Ne(v, h), value: v })), g = o || l.some(U) ? [{ key: Re, text: s.cellAbsentValue, value: null }] : [];
430
- return [..._, ...p, ...g];
429
+ const g = new Set(_.map((v) => v.key)), p = l.filter((v) => !U(v) && !g.has(le(v))).map((v) => ({ key: le(v), text: Ne(v, h), value: v })), b = o || l.some(U) ? [{ key: Re, text: s.cellAbsentValue, value: null }] : [];
430
+ return [..._, ...p, ...b];
431
431
  }, [n, l, o, r, i, s]), u = Se(l), d = (h) => {
432
- const _ = u.has(h.key) ? l.filter((b) => le(b) !== h.key) : [...l, h.value];
432
+ const _ = u.has(h.key) ? l.filter((g) => le(g) !== h.key) : [...l, h.value];
433
433
  t(_.length > 0 ? _ : null);
434
434
  };
435
435
  return /* @__PURE__ */ c("div", { className: f.filterContent, children: a.map((h) => /* @__PURE__ */ c(
436
- be,
436
+ ge,
437
437
  {
438
438
  label: h.text,
439
439
  checked: u.has(h.key),
@@ -719,14 +719,14 @@ class ho {
719
719
  if (((s = this.modelCache) == null ? void 0 : s.key) === r && this.modelCache.rows === t && this.modelCache.formats === n)
720
720
  return this.modelCache.columns;
721
721
  const i = o.map((l) => {
722
- const { spec: a } = l, u = this.kindOf(l, t), d = this.isSortable(l, t), h = a.searchable ?? u === "text", _ = (b) => Je(l.read(b), a.ownSortValue);
722
+ const { spec: a } = l, u = this.kindOf(l, t), d = this.isSortable(l, t), h = a.searchable ?? u === "text", _ = (g) => Je(l.read(g), a.ownSortValue);
723
723
  return {
724
724
  id: a.id,
725
725
  label: a.label,
726
726
  value: d || h ? _ : void 0,
727
727
  /* Text sorts with the provider's comparison, not with the built-in
728
728
  German one (spec, the table of defaults). */
729
- compare: u === "text" && !a.ownSortValue ? (b, p) => n.compareText(String(_(b)), String(_(p))) : void 0,
729
+ compare: u === "text" && !a.ownSortValue ? (g, p) => n.compareText(String(_(g)), String(_(p))) : void 0,
730
730
  searchable: h,
731
731
  hideable: !a.rowHeader,
732
732
  resizable: a.resizable,
@@ -840,9 +840,9 @@ function ot({
840
840
  setOpen: s,
841
841
  panelId: l
842
842
  }) {
843
- const a = $(), u = te(), { id: d, label: h, format: _ } = e.spec, { values: b, absent: p } = V(() => Zn(n.admitted, e.read, u), [n.admitted, e, u]), g = se(e.spec.filter);
844
- if (!g) return null;
845
- const v = n.publicSnapshot, m = g.Input, y = Xn(g) ? { absentOccurs: p, format: _, kind: t.kindOf(e, n.rows) } : {}, O = () => {
843
+ const a = $(), u = te(), { id: d, label: h, format: _ } = e.spec, { values: g, absent: p } = V(() => Zn(n.admitted, e.read, u), [n.admitted, e, u]), b = se(e.spec.filter);
844
+ if (!b) return null;
845
+ const v = n.publicSnapshot, m = b.Input, y = Xn(b) ? { absentOccurs: p, format: _, kind: t.kindOf(e, n.rows) } : {}, O = () => {
846
846
  var N;
847
847
  s(!1), (N = (r ?? o).current) == null || N.focus();
848
848
  };
@@ -863,7 +863,7 @@ function ot({
863
863
  {
864
864
  condition: v.filter[d] ?? null,
865
865
  setCondition: (N) => v.setFilter(d, N),
866
- values: b,
866
+ values: g,
867
867
  column: { id: d, label: h },
868
868
  ...y
869
869
  }
@@ -876,7 +876,7 @@ function ot({
876
876
  }
877
877
  );
878
878
  }
879
- function bo({
879
+ function go({
880
880
  entry: e,
881
881
  registry: t,
882
882
  hook: n
@@ -921,7 +921,7 @@ function bo({
921
921
  )
922
922
  ] });
923
923
  }
924
- function go({ registry: e, hook: t }) {
924
+ function bo({ registry: e, hook: t }) {
925
925
  const n = $(), o = te(), r = Object.entries(t.publicSnapshot.filter).flatMap(([i, s]) => {
926
926
  const l = e.columnById(i), a = l ? se(l.spec.filter) : void 0;
927
927
  if (!l || !a) return [];
@@ -1018,13 +1018,13 @@ function lt({
1018
1018
  const r = $(), i = te(), s = (e == null ? void 0 : e.hook) ?? null;
1019
1019
  let l = null, a = null;
1020
1020
  if (e && s) {
1021
- const u = s.publicSnapshot, d = u.search !== "" || Object.keys(u.filter).length > 0, h = o ? [] : u.filtered.filter((b) => u.selection.isSelected(s.rowKey(b))), _ = e.hasRowActions() ? e.actions.ordered().filter((b) => b.spec.bulk) : [];
1022
- l = /* @__PURE__ */ c(go, { registry: e, hook: s }), a = /* @__PURE__ */ x("div", { className: f.toolbarGroup, children: [
1021
+ const u = s.publicSnapshot, d = u.search !== "" || Object.keys(u.filter).length > 0, h = o ? [] : u.filtered.filter((g) => u.selection.isSelected(s.rowKey(g))), _ = e.hasRowActions() ? e.actions.ordered().filter((g) => g.spec.bulk) : [];
1022
+ l = /* @__PURE__ */ c(bo, { registry: e, hook: s }), a = /* @__PURE__ */ x("div", { className: f.toolbarGroup, children: [
1023
1023
  /* @__PURE__ */ c("span", { role: "status", className: f.filteredCount, children: d ? r.filteredOfTotal(i.count(u.filtered.length), i.count(s.admitted.length)) : "" }),
1024
1024
  d && /* @__PURE__ */ c(G, { size: "sm", variant: "ghost", onClick: () => it(u), children: r.resetAll }),
1025
1025
  h.length > 0 && /* @__PURE__ */ x(Q, { children: [
1026
1026
  /* @__PURE__ */ c("span", { className: f.toolbarInfo, children: r.selectedCount(h.length, i.count(h.length)) }),
1027
- _.map(({ key: b, spec: p }) => /* @__PURE__ */ c(
1027
+ _.map(({ key: g, spec: p }) => /* @__PURE__ */ c(
1028
1028
  G,
1029
1029
  {
1030
1030
  size: "sm",
@@ -1032,7 +1032,7 @@ function lt({
1032
1032
  onClick: () => p.onSelect(h),
1033
1033
  children: p.label
1034
1034
  },
1035
- b
1035
+ g
1036
1036
  ))
1037
1037
  ] })
1038
1038
  ] });
@@ -1082,7 +1082,7 @@ function Ao(e) {
1082
1082
  function ct({ wording: e }) {
1083
1083
  return /* @__PURE__ */ x(Q, { children: [
1084
1084
  /* @__PURE__ */ c("span", { "aria-hidden": "true", className: f.absent, children: "—" }),
1085
- /* @__PURE__ */ c(ge, { children: e.cellAbsentValue })
1085
+ /* @__PURE__ */ c(be, { children: e.cellAbsentValue })
1086
1086
  ] });
1087
1087
  }
1088
1088
  function xo(e, t, n, o, r) {
@@ -1178,7 +1178,7 @@ function Ro({ registry: e, props: t }) {
1178
1178
  ariaLabel: h
1179
1179
  } = t;
1180
1180
  pe(e.subscribe, e.bodyVersion, e.bodyVersion);
1181
- const _ = $(), b = te(), p = qe(s, "regular"), g = Z(), v = e.hook;
1181
+ const _ = $(), g = te(), p = qe(s, "regular"), b = Z(), v = e.hook;
1182
1182
  if (!v) return null;
1183
1183
  const m = v.publicSnapshot, y = e.projection(), O = e.rowHeader(), N = st(e), M = e.detail, w = e.hasRowActions() ? e.actions.ordered() : [], C = v.companion.virtual, I = (n ? 1 : 0) + (M ? 1 : 0), A = I + N.length + (w.length > 0 ? 1 : 0), S = I * me, T = (D) => r && D === O, L = y.visible, F = !u && N.some((D) => D.spec.footer), E = m.search !== "" || Object.keys(m.filter).length > 0, W = (D, K, ve) => /* @__PURE__ */ c(
1184
1184
  Fo,
@@ -1196,8 +1196,8 @@ function Ro({ registry: e, props: t }) {
1196
1196
  rowHeaderLeft: S,
1197
1197
  columnCount: A,
1198
1198
  rowProps: d,
1199
- baseId: g,
1200
- formats: b,
1199
+ baseId: b,
1200
+ formats: g,
1201
1201
  wording: _
1202
1202
  },
1203
1203
  v.rowKey(D)
@@ -1234,7 +1234,7 @@ function Ro({ registry: e, props: t }) {
1234
1234
  className: H(f.th, f.control, r && f.stickyCell),
1235
1235
  style: r ? { left: 0 } : void 0,
1236
1236
  children: /* @__PURE__ */ c(
1237
- be,
1237
+ ge,
1238
1238
  {
1239
1239
  "aria-label": _.selectAllRows,
1240
1240
  checked: m.selection.allSelected,
@@ -1262,7 +1262,7 @@ function Ro({ registry: e, props: t }) {
1262
1262
  },
1263
1263
  D.key
1264
1264
  )),
1265
- w.length > 0 && /* @__PURE__ */ c("th", { scope: "col", className: H(f.th, f.actionsCell), children: /* @__PURE__ */ c(ge, { children: _.rowActions }) })
1265
+ w.length > 0 && /* @__PURE__ */ c("th", { scope: "col", className: H(f.th, f.actionsCell), children: /* @__PURE__ */ c(be, { children: _.rowActions }) })
1266
1266
  ] }) }),
1267
1267
  q,
1268
1268
  F && /* @__PURE__ */ c("tfoot", { children: /* @__PURE__ */ x("tr", { "aria-rowindex": C ? y.filtered.length + 2 : void 0, children: [
@@ -1279,7 +1279,7 @@ function Ro({ registry: e, props: t }) {
1279
1279
  {
1280
1280
  entry: D,
1281
1281
  rows: y.filtered,
1282
- formats: b,
1282
+ formats: g,
1283
1283
  wording: _,
1284
1284
  sticky: T(D),
1285
1285
  left: S
@@ -1301,14 +1301,14 @@ function Io({
1301
1301
  sticky: o,
1302
1302
  left: r
1303
1303
  }) {
1304
- const { spec: i } = e, s = n.publicSnapshot, l = t.kindOf(e, n.rows), a = Xe(l, i.rightAligned), u = t.isSortable(e, n.rows), d = i.id, h = s.sort.findIndex((w) => w.column === d), _ = h === -1 ? void 0 : s.sort[h].direction, b = s.sort.length > 1 && h !== -1 ? h + 1 : void 0, p = s.widths[d], g = 48, v = (w) => {
1304
+ const { spec: i } = e, s = n.publicSnapshot, l = t.kindOf(e, n.rows), a = Xe(l, i.rightAligned), u = t.isSortable(e, n.rows), d = i.id, h = s.sort.findIndex((w) => w.column === d), _ = h === -1 ? void 0 : s.sort[h].direction, g = s.sort.length > 1 && h !== -1 ? h + 1 : void 0, p = s.widths[d], b = 48, v = (w) => {
1305
1305
  w.stopPropagation(), w.preventDefault();
1306
1306
  const C = w.currentTarget, I = C.closest("th");
1307
1307
  if (!I) return;
1308
1308
  const A = w.clientX, S = I.getBoundingClientRect().width, T = w.pointerId;
1309
1309
  C.setPointerCapture(T);
1310
1310
  const L = (E) => {
1311
- E.pointerId === T && s.setWidth(d, Math.max(g, S + (E.clientX - A)));
1311
+ E.pointerId === T && s.setWidth(d, Math.max(b, S + (E.clientX - A)));
1312
1312
  }, F = (E) => {
1313
1313
  E.pointerId === T && (C.removeEventListener("pointermove", L), C.removeEventListener("pointerup", F), C.removeEventListener("pointercancel", F), C.hasPointerCapture(T) && C.releasePointerCapture(T));
1314
1314
  };
@@ -1324,7 +1324,7 @@ function Io({
1324
1324
  const E = F.cells[A];
1325
1325
  E && (L = Math.max(L, E.scrollWidth));
1326
1326
  }
1327
- w.style.width = T.cell, I.style.width = T.table, L > 0 && s.setWidth(d, Math.max(g, L + 1));
1327
+ w.style.width = T.cell, I.style.width = T.table, L > 0 && s.setWidth(d, Math.max(b, L + 1));
1328
1328
  }, y = (w) => {
1329
1329
  if (!i.resizable || !w.altKey) return;
1330
1330
  const C = w.key === "ArrowRight", I = w.key === "ArrowLeft", A = w.key === "Home";
@@ -1336,7 +1336,7 @@ function Io({
1336
1336
  return;
1337
1337
  }
1338
1338
  const T = S.getBoundingClientRect().width, L = w.shiftKey ? 32 : 8;
1339
- s.setWidth(d, Math.max(g, T + (C ? L : -L)));
1339
+ s.setWidth(d, Math.max(b, T + (C ? L : -L)));
1340
1340
  }, O = u ? /* @__PURE__ */ x(
1341
1341
  "button",
1342
1342
  {
@@ -1345,7 +1345,7 @@ function Io({
1345
1345
  onClick: (w) => s.toggleSort(d, w.shiftKey || w.metaKey),
1346
1346
  children: [
1347
1347
  /* @__PURE__ */ c("span", { children: i.label }),
1348
- b !== void 0 && /* @__PURE__ */ c("span", { className: f.sortRank, "aria-hidden": "true", children: b }),
1348
+ g !== void 0 && /* @__PURE__ */ c("span", { className: f.sortRank, "aria-hidden": "true", children: g }),
1349
1349
  /* @__PURE__ */ c("span", { className: H(f.sortIndicator, _ && f.sortActive), "aria-hidden": "true", children: _ ? /* @__PURE__ */ c("svg", { viewBox: "0 0 10 10", width: "10", height: "10", className: H(f.sortArrow, _ === "desc" && f.sortArrowDesc), children: /* @__PURE__ */ c("path", { d: "M2.2 6.2 5 3.4l2.8 2.8", fill: "none", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round", strokeLinejoin: "round" }) }) : /* @__PURE__ */ x("svg", { viewBox: "0 0 10 12", width: "10", height: "12", children: [
1350
1350
  /* @__PURE__ */ c("path", { d: "M2.4 4.4 5 1.8l2.6 2.6", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
1351
1351
  /* @__PURE__ */ c("path", { d: "M2.4 7.6 5 10.2l2.6-2.6", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
@@ -1369,7 +1369,7 @@ function Io({
1369
1369
  children: [
1370
1370
  M ? /* @__PURE__ */ x("span", { className: f.thFlex, children: [
1371
1371
  O,
1372
- /* @__PURE__ */ c(bo, { entry: e, registry: t, hook: n })
1372
+ /* @__PURE__ */ c(go, { entry: e, registry: t, hook: n })
1373
1373
  ] }) : O,
1374
1374
  i.resizable && /* @__PURE__ */ c(
1375
1375
  "span",
@@ -1401,11 +1401,11 @@ function Fo({
1401
1401
  rowHeaderLeft: d,
1402
1402
  columnCount: h,
1403
1403
  rowProps: _,
1404
- baseId: b,
1404
+ baseId: g,
1405
1405
  formats: p,
1406
- wording: g
1406
+ wording: b
1407
1407
  }) {
1408
- const v = xe(at), m = r.publicSnapshot, y = r.rowKey(e), O = xo(e, s, r, p, g), N = o.detail, M = N !== null && m.expanded.includes(y), w = `${b}-detail-${t}`, { className: C, ...I } = (_ == null ? void 0 : _(e)) ?? {}, A = n !== void 0;
1408
+ const v = xe(at), m = r.publicSnapshot, y = r.rowKey(e), O = xo(e, s, r, p, b), N = o.detail, M = N !== null && m.expanded.includes(y), w = `${g}-detail-${t}`, { className: C, ...I } = (_ == null ? void 0 : _(e)) ?? {}, A = n !== void 0;
1409
1409
  return /* @__PURE__ */ x(Q, { children: [
1410
1410
  /* @__PURE__ */ x(
1411
1411
  "tr",
@@ -1423,9 +1423,9 @@ function Fo({
1423
1423
  className: H(f.td, f.control, u && f.stickyCell),
1424
1424
  style: u ? { left: 0 } : void 0,
1425
1425
  children: /* @__PURE__ */ c(
1426
- be,
1426
+ ge,
1427
1427
  {
1428
- "aria-label": g.selectRow(O),
1428
+ "aria-label": b.selectRow(O),
1429
1429
  checked: m.selection.isSelected(y),
1430
1430
  onChange: () => m.selection.toggle(y)
1431
1431
  }
@@ -1443,7 +1443,7 @@ function Fo({
1443
1443
  type: "button",
1444
1444
  "aria-expanded": M,
1445
1445
  "aria-controls": M ? w : void 0,
1446
- "aria-label": M ? g.collapseRowNamed(O) : g.expandRowNamed(O),
1446
+ "aria-label": M ? b.collapseRowNamed(O) : b.expandRowNamed(O),
1447
1447
  className: H(f.expander, M && f.expanderOpen),
1448
1448
  onClick: () => m.toggleRow(y),
1449
1449
  children: /* @__PURE__ */ c("svg", { viewBox: "0 0 10 10", width: "10", height: "10", "aria-hidden": "true", children: /* @__PURE__ */ c("path", { d: "M3.5 1.5 7 5l-3.5 3.5", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })
@@ -1460,11 +1460,11 @@ function Fo({
1460
1460
  sticky: u && S === s,
1461
1461
  left: d,
1462
1462
  formats: p,
1463
- wording: g
1463
+ wording: b
1464
1464
  },
1465
1465
  S.key
1466
1466
  )),
1467
- a.length > 0 && /* @__PURE__ */ c("td", { className: H(f.td, f.actionsCell), children: /* @__PURE__ */ c(Eo, { actions: a, row: e, name: O, wording: g }) })
1467
+ a.length > 0 && /* @__PURE__ */ c("td", { className: H(f.td, f.actionsCell), children: /* @__PURE__ */ c(Eo, { actions: a, row: e, name: O, wording: b }) })
1468
1468
  ]
1469
1469
  }
1470
1470
  ),
@@ -1507,7 +1507,7 @@ function zo({
1507
1507
  const d = Ht(t, e.read, s);
1508
1508
  return /* @__PURE__ */ x("td", { className: a, style: u, "data-footer": s, children: [
1509
1509
  /* @__PURE__ */ c("span", { "aria-hidden": "true", className: f.footerKind, children: s === "sum" ? "Σ" : "⌀" }),
1510
- /* @__PURE__ */ x(ge, { children: [
1510
+ /* @__PURE__ */ x(be, { children: [
1511
1511
  s === "sum" ? o.footerSum : o.footerAverage,
1512
1512
  " "
1513
1513
  ] }),
@@ -1557,26 +1557,26 @@ function Mo({
1557
1557
  colSpan: t,
1558
1558
  children: n
1559
1559
  }) {
1560
- const { count: o, fillerBefore: r, fillerAfter: i, showRow: s } = e, l = oe(null), [a, u] = P(0), d = (b, p) => {
1560
+ const { count: o, fillerBefore: r, fillerAfter: i, showRow: s } = e, l = oe(null), [a, u] = P(0), d = (g, p) => {
1561
1561
  l.current = p, u(p), s(p), requestAnimationFrame(() => {
1562
- var g;
1563
- (g = b.querySelector(`[data-row="${p}"]`)) == null || g.focus();
1562
+ var b;
1563
+ (b = g.querySelector(`[data-row="${p}"]`)) == null || b.focus();
1564
1564
  });
1565
- }, h = a >= e.from && a < e.to ? a : e.from, _ = (b) => {
1566
- if (b.defaultPrevented || o === 0) return;
1567
- const p = b.target, g = p.closest("[data-row]");
1568
- if (g && p !== g) return;
1569
- const v = g ? Number(g.dataset.row) : l.current ?? -1;
1565
+ }, h = a >= e.from && a < e.to ? a : e.from, _ = (g) => {
1566
+ if (g.defaultPrevented || o === 0) return;
1567
+ const p = g.target, b = p.closest("[data-row]");
1568
+ if (b && p !== b) return;
1569
+ const v = b ? Number(b.dataset.row) : l.current ?? -1;
1570
1570
  let m = null;
1571
- b.key === "ArrowDown" ? m = Math.min(o - 1, v + 1) : b.key === "ArrowUp" ? m = Math.max(0, v - 1) : b.key === "Home" ? m = 0 : b.key === "End" && (m = o - 1), !(m === null || m === v) && (b.preventDefault(), d(b.currentTarget, m));
1571
+ g.key === "ArrowDown" ? m = Math.min(o - 1, v + 1) : g.key === "ArrowUp" ? m = Math.max(0, v - 1) : g.key === "Home" ? m = 0 : g.key === "End" && (m = o - 1), !(m === null || m === v) && (g.preventDefault(), d(g.currentTarget, m));
1572
1572
  };
1573
1573
  return /* @__PURE__ */ c(
1574
1574
  "tbody",
1575
1575
  {
1576
1576
  className: f.virtualBody,
1577
1577
  onKeyDown: _,
1578
- onFocus: (b) => {
1579
- const p = b.target.closest("[data-row]");
1578
+ onFocus: (g) => {
1579
+ const p = g.target.closest("[data-row]");
1580
1580
  p && u(Number(p.dataset.row));
1581
1581
  },
1582
1582
  children: /* @__PURE__ */ x(at.Provider, { value: h, children: [
@@ -1607,23 +1607,23 @@ function Ko({ reading: e, format: t }) {
1607
1607
  "+",
1608
1608
  Ke(i.excess, t, n)
1609
1609
  ] }),
1610
- /* @__PURE__ */ c(ge, { children: s })
1610
+ /* @__PURE__ */ c(be, { children: s })
1611
1611
  ] });
1612
1612
  }
1613
1613
  const Go = (e) => e.measured;
1614
1614
  function Uo(e) {
1615
1615
  return function({ id: n, value: o, label: r, limits: i, format: s, sortBy: l = "verdict", width: a, resizable: u }) {
1616
1616
  const d = JSON.stringify(i), h = V(() => {
1617
- const b = JSON.parse(d);
1617
+ const g = JSON.parse(d);
1618
1618
  return (p) => {
1619
- const g = typeof o == "string" ? p == null ? void 0 : p[o] : o(p);
1619
+ const b = typeof o == "string" ? p == null ? void 0 : p[o] : o(p);
1620
1620
  return {
1621
- measured: typeof g == "number" && Number.isFinite(g) ? g : null,
1622
- assessment: xt(g, b)
1621
+ measured: typeof b == "number" && Number.isFinite(b) ? b : null,
1622
+ assessment: xt(b, g)
1623
1623
  };
1624
1624
  };
1625
1625
  }, [o, d]), _ = B(
1626
- (b) => l === "value" ? b.measured : Tt(b.assessment.verdict),
1626
+ (g) => l === "value" ? g.measured : Tt(g.assessment.verdict),
1627
1627
  [l]
1628
1628
  );
1629
1629
  return /* @__PURE__ */ c(
@@ -1637,7 +1637,7 @@ function Uo(e) {
1637
1637
  value: h,
1638
1638
  sortValue: _,
1639
1639
  exportValue: Go,
1640
- children: (b) => /* @__PURE__ */ c(Ko, { reading: b, format: s })
1640
+ children: (g) => /* @__PURE__ */ c(Ko, { reading: g, format: s })
1641
1641
  }
1642
1642
  );
1643
1643
  };
@@ -1678,7 +1678,7 @@ function Yo(e, t) {
1678
1678
  function Xo(e, t) {
1679
1679
  var l, a, u, d, h, _;
1680
1680
  if (t.size === 0) return e;
1681
- const n = (l = e.sort) == null ? void 0 : l.filter((b) => t.has(b.column)), o = (a = e.hidden) == null ? void 0 : a.filter((b) => t.has(b)), r = (u = e.order) == null ? void 0 : u.filter((b) => t.has(b)), i = e.widths ? Object.fromEntries(Object.entries(e.widths).filter(([b]) => t.has(b))) : void 0;
1681
+ const n = (l = e.sort) == null ? void 0 : l.filter((g) => t.has(g.column)), o = (a = e.hidden) == null ? void 0 : a.filter((g) => t.has(g)), r = (u = e.order) == null ? void 0 : u.filter((g) => t.has(g)), i = e.widths ? Object.fromEntries(Object.entries(e.widths).filter(([g]) => t.has(g))) : void 0;
1682
1682
  return (n == null ? void 0 : n.length) === ((d = e.sort) == null ? void 0 : d.length) && (o == null ? void 0 : o.length) === ((h = e.hidden) == null ? void 0 : h.length) && (r == null ? void 0 : r.length) === ((_ = e.order) == null ? void 0 : _.length) && Object.keys(i ?? {}).length === Object.keys(e.widths ?? {}).length ? e : {
1683
1683
  ...e.search ? { search: e.search } : {},
1684
1684
  ...e.page ? { page: e.page } : {},
@@ -1701,14 +1701,14 @@ function Zo(e, t) {
1701
1701
  return { ...S, VerdictColumn: Uo(S.Column) };
1702
1702
  });
1703
1703
  pe(n.subscribe, n.structureVersion, n.structureVersion);
1704
- const r = te(), i = e, s = n.modelColumns(i, r), [l] = P(() => t.initialView), [a, u] = P(() => Object.entries((l == null ? void 0 : l.conditions) ?? {})), d = V(() => qo(a, n), [a, n]), h = t.preFilter ?? t.filter, _ = Yo(i, h), b = t.rowKey, p = Et(_, s, {
1705
- rowKey: b,
1704
+ const r = te(), i = e, s = n.modelColumns(i, r), [l] = P(() => t.initialView), [a, u] = P(() => Object.entries((l == null ? void 0 : l.conditions) ?? {})), d = V(() => qo(a, n), [a, n]), h = t.preFilter ?? t.filter, _ = Yo(i, h), g = t.rowKey, p = Et(_, s, {
1705
+ rowKey: g,
1706
1706
  pageSize: t.pageSize,
1707
1707
  defaultSort: t.defaultSort,
1708
1708
  filter: d,
1709
1709
  initialView: l,
1710
1710
  virtual: t.virtual
1711
- }), { setPage: g } = p, v = B(
1711
+ }), { setPage: b } = p, v = B(
1712
1712
  (S, T) => {
1713
1713
  let L = T == null;
1714
1714
  if (!L && n.orderedColumns().length > 0) {
@@ -1730,9 +1730,9 @@ function Zo(e, t) {
1730
1730
  u((F) => {
1731
1731
  const E = F.findIndex(([W]) => W === S);
1732
1732
  return L ? E === -1 ? F : F.filter((W, q) => q !== E) : E === -1 ? [...F, [S, T]] : F.map((W, q) => q === E ? [S, T] : W);
1733
- }), g(1);
1733
+ }), b(1);
1734
1734
  },
1735
- [n, g]
1735
+ [n, b]
1736
1736
  ), m = new Set(n.orderedColumns().map((S) => S.spec.id)), [y, O] = P(() => /* @__PURE__ */ new Set());
1737
1737
  if (!Jo(y, m)) {
1738
1738
  const S = new Set([...y].filter((T) => !m.has(T)));
@@ -1773,7 +1773,7 @@ function Zo(e, t) {
1773
1773
  companion: p,
1774
1774
  filter: d,
1775
1775
  publicSnapshot: A,
1776
- rowKey: b,
1776
+ rowKey: g,
1777
1777
  formats: r
1778
1778
  }), { ...A, ...o };
1779
1779
  }
@@ -1827,11 +1827,11 @@ function Dr({ of: e }) {
1827
1827
  );
1828
1828
  (N = y && !y.disabled ? y : O) == null || N.focus();
1829
1829
  }, [a]), !t) return null;
1830
- const { registry: d, snapshot: h } = t, _ = d.hook, b = d.withStickyHeaderFirst(
1830
+ const { registry: d, snapshot: h } = t, _ = d.hook, g = d.withStickyHeaderFirst(
1831
1831
  Te(d.modelColumns(_.rows, _.formats), h.order)
1832
- ), p = d.stickyRowHeader ? ((v = b[0]) == null ? void 0 : v.hideable) === !1 : !1, g = (m, y) => {
1833
- const O = b.map((M) => M.id), N = m + y;
1834
- N < 0 || N >= O.length || ([O[m], O[N]] = [O[N], O[m]], h.setOrder(O), u({ id: b[m].id, direction: y < 0 ? "forward" : "backward" }));
1832
+ ), p = d.stickyRowHeader ? ((v = g[0]) == null ? void 0 : v.hideable) === !1 : !1, b = (m, y) => {
1833
+ const O = g.map((M) => M.id), N = m + y;
1834
+ N < 0 || N >= O.length || ([O[m], O[N]] = [O[N], O[m]], h.setOrder(O), u({ id: g[m].id, direction: y < 0 ? "forward" : "backward" }));
1835
1835
  };
1836
1836
  return /* @__PURE__ */ x(Q, { children: [
1837
1837
  /* @__PURE__ */ c(
@@ -1857,11 +1857,11 @@ function Dr({ of: e }) {
1857
1857
  ariaLabel: n.arrangeColumns,
1858
1858
  id: l,
1859
1859
  className: f.columnsPanel,
1860
- children: /* @__PURE__ */ c("ul", { ref: s, className: f.columnsList, "aria-label": n.arrangeColumns, children: b.map((m, y) => {
1860
+ children: /* @__PURE__ */ c("ul", { ref: s, className: f.columnsList, "aria-label": n.arrangeColumns, children: g.map((m, y) => {
1861
1861
  const O = m.label ?? m.id;
1862
1862
  return /* @__PURE__ */ x("li", { className: f.columnsEntry, "data-column": m.id, children: [
1863
1863
  /* @__PURE__ */ c(
1864
- be,
1864
+ ge,
1865
1865
  {
1866
1866
  label: O,
1867
1867
  checked: !h.hidden.includes(m.id),
@@ -1877,7 +1877,7 @@ function Dr({ of: e }) {
1877
1877
  "data-direction": "forward",
1878
1878
  "aria-label": n.columnForward(O),
1879
1879
  disabled: y === 0 || p && y <= 1,
1880
- onClick: () => g(y, -1),
1880
+ onClick: () => b(y, -1),
1881
1881
  children: /* @__PURE__ */ c("svg", { viewBox: "0 0 10 10", width: "10", height: "10", "aria-hidden": "true", children: /* @__PURE__ */ c("path", { d: "M2 6.5 5 3.5l3 3", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })
1882
1882
  }
1883
1883
  ),
@@ -1888,8 +1888,8 @@ function Dr({ of: e }) {
1888
1888
  className: f.move,
1889
1889
  "data-direction": "backward",
1890
1890
  "aria-label": n.columnBackward(O),
1891
- disabled: y === b.length - 1 || p && y === 0,
1892
- onClick: () => g(y, 1),
1891
+ disabled: y === g.length - 1 || p && y === 0,
1892
+ onClick: () => b(y, 1),
1893
1893
  children: /* @__PURE__ */ c("svg", { viewBox: "0 0 10 10", width: "10", height: "10", "aria-hidden": "true", children: /* @__PURE__ */ c("path", { d: "M2 3.5 5 6.5l3-3", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) })
1894
1894
  }
1895
1895
  )
@@ -2028,22 +2028,22 @@ function Kr(e, t = {}) {
2028
2028
  flood: s,
2029
2029
  keepDone: l = !1,
2030
2030
  columns: a = ur
2031
- } = e, u = new Map(o.map((g) => [g.id, g])), d = sr(n, (i == null ? void 0 : i.windowMs) ?? 1 / 0, r), h = s ? cr(n, s, r) : null, _ = new Set((h == null ? void 0 : h.alarms) ?? []), b = n.filter((g) => l || !or(g.lifecycle)).map((g) => {
2032
- const v = u.get(g.type) ?? hr(g.type), m = d.get(g.type) ?? 0;
2031
+ } = e, u = new Map(o.map((b) => [b.id, b])), d = sr(n, (i == null ? void 0 : i.windowMs) ?? 1 / 0, r), h = s ? cr(n, s, r) : null, _ = new Set((h == null ? void 0 : h.alarms) ?? []), g = n.filter((b) => l || !or(b.lifecycle)).map((b) => {
2032
+ const v = u.get(b.type) ?? hr(b.type), m = d.get(b.type) ?? 0;
2033
2033
  return {
2034
- id: g.id,
2035
- alarm: g,
2034
+ id: b.id,
2035
+ alarm: b,
2036
2036
  type: v,
2037
- lifecycle: g.lifecycle,
2037
+ lifecycle: b.lifecycle,
2038
2038
  priority: v.priority,
2039
2039
  rank: tr(v.priority),
2040
- age: r - g.raised,
2041
- duration: (g.cleared ?? r) - g.raised,
2040
+ age: r - b.raised,
2041
+ duration: (b.cleared ?? r) - b.raised,
2042
2042
  frequency: m,
2043
2043
  chatters: i !== void 0 && m >= i.atLeast,
2044
- inFlood: _.has(g.id)
2044
+ inFlood: _.has(b.id)
2045
2045
  };
2046
- }), p = Oe(b, a, {
2046
+ }), p = Oe(g, a, {
2047
2047
  ...t,
2048
2048
  sort: t.sort === void 0 ? fr : t.sort
2049
2049
  });
@@ -2051,16 +2051,16 @@ function Kr(e, t = {}) {
2051
2051
  ...p,
2052
2052
  flood: h,
2053
2053
  standingUnacknowledged: p.filtered.reduce(
2054
- (g, v) => g + (v.lifecycle === "standing-unacknowledged" ? 1 : 0),
2054
+ (b, v) => b + (v.lifecycle === "standing-unacknowledged" ? 1 : 0),
2055
2055
  0
2056
2056
  )
2057
2057
  };
2058
2058
  }
2059
- const mr = "_list_alpwk_4 _text_18b86_23", pr = "_bar_alpwk_12", br = "_heading_alpwk_19", gr = "_filler_alpwk_25", wr = "_asOf_alpwk_29", _r = "_live_alpwk_46", vr = "_label_alpwk_51", kr = "_counter_alpwk_55", yr = "_lifecycle_alpwk_59", Cr = "_empty_alpwk_63", Sr = "_row_alpwk_70", X = {
2059
+ const mr = "_list_alpwk_4 _text_1hv7a_23", pr = "_bar_alpwk_12", gr = "_heading_alpwk_19", br = "_filler_alpwk_25", wr = "_asOf_alpwk_29", _r = "_live_alpwk_46", vr = "_label_alpwk_51", kr = "_counter_alpwk_55", yr = "_lifecycle_alpwk_59", Cr = "_empty_alpwk_63", Sr = "_row_alpwk_70", X = {
2060
2060
  list: mr,
2061
2061
  bar: pr,
2062
- heading: br,
2063
- filler: gr,
2062
+ heading: gr,
2063
+ filler: br,
2064
2064
  asOf: wr,
2065
2065
  live: _r,
2066
2066
  label: vr,
@@ -2112,7 +2112,7 @@ function ft({
2112
2112
  freshness: i,
2113
2113
  ...s
2114
2114
  }) {
2115
- const l = $(), a = te(), u = i !== null, d = (i == null ? void 0 : i.freshness) === "lost", { Table: h, Column: _ } = Zo(e.visible, { rowKey: (m) => m.id, selection: t }), b = V(() => e.filtered.map((m) => m.alarm), [e.filtered]), p = V(() => t === void 0 ? [] : e.filtered.map((m) => m.id).filter((m) => t.selected.has(m)), [e.filtered, t]), g = V(() => ar(b, p), [b, p]), v = qe(o, "compact");
2115
+ const l = $(), a = te(), u = i !== null, d = (i == null ? void 0 : i.freshness) === "lost", { Table: h, Column: _ } = Zo(e.visible, { rowKey: (m) => m.id, selection: t }), g = V(() => e.filtered.map((m) => m.alarm), [e.filtered]), p = V(() => t === void 0 ? [] : e.filtered.map((m) => m.id).filter((m) => t.selected.has(m)), [e.filtered, t]), b = V(() => ar(g, p), [g, p]), v = qe(o, "compact");
2116
2116
  return /* @__PURE__ */ x("div", { className: [X.list, r].filter(Boolean).join(" "), ...s, children: [
2117
2117
  /* @__PURE__ */ x("div", { className: X.bar, children: [
2118
2118
  /* @__PURE__ */ c("span", { className: X.heading, children: l.alarms }),
@@ -2122,7 +2122,7 @@ function ft({
2122
2122
  i.age !== null && ` · ${a.relative(i.age)}`
2123
2123
  ] }),
2124
2124
  /* @__PURE__ */ c("span", { className: X.filler }),
2125
- t !== void 0 && n !== void 0 && /* @__PURE__ */ c(G, { variant: "primary", size: "sm", disabled: g === 0, onClick: () => n(p), children: g === 0 ? l.acknowledgeAlarm : l.acknowledgeAlarms(g) })
2125
+ t !== void 0 && n !== void 0 && /* @__PURE__ */ c(G, { variant: "primary", size: "sm", disabled: b === 0, onClick: () => n(p), children: b === 0 ? l.acknowledgeAlarm : l.acknowledgeAlarms(b) })
2126
2126
  ] }),
2127
2127
  /* @__PURE__ */ c("div", { "aria-live": "polite", "aria-atomic": "true", className: X.live, children: l.standingUnacknowledged(e.standingUnacknowledged) }),
2128
2128
  /* @__PURE__ */ x(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umriss-ui/table",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "The umriss table - declared the way it reads: columns as JSX, typed against their rows.",
5
5
  "license": "MIT",
6
6
  "author": "Roman Händler",
@@ -44,7 +44,7 @@
44
44
  "peerDependencies": {
45
45
  "react": ">=18",
46
46
  "react-dom": ">=18",
47
- "@umriss-ui/core": "^0.3.2"
47
+ "@umriss-ui/core": "^0.5.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@fontsource/geist-mono": "^5.3.0",
@@ -59,7 +59,7 @@
59
59
  "vite": "^6.0.0",
60
60
  "vite-plugin-dts": "^4.3.0",
61
61
  "@umriss-ui/demo": "0.0.0",
62
- "@umriss-ui/core": "0.3.2"
62
+ "@umriss-ui/core": "0.5.0"
63
63
  },
64
64
  "scripts": {
65
65
  "props": "node --disable-warning=ExperimentalWarning --experimental-strip-types demo/props.ts",