@umriss-ui/table 0.46.0 → 0.47.0

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/docs/llms-full.md CHANGED
@@ -1,4 +1,4 @@
1
- # @umriss-ui/table 0.46.0
1
+ # @umriss-ui/table 0.47.0
2
2
 
3
3
  > React data table for data-dense applications - sorting, filtering, grouping, aggregates, virtualisation. Declared the way it reads: columns as JSX, typed against their rows.
4
4
 
@@ -1557,10 +1557,10 @@ type Absent = null | undefined;
1557
1557
 
1558
1558
  #### Known limits
1559
1559
 
1560
- - No cell range selection and no undo: an edit is reported, never applied, and the application owns the rows ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md)).
1561
- - No pivot: compute the pivoted rows and map one computed column per key from the data, as in [a matrix with row and column totals](#aggregate) ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md)).
1560
+ - No cell range selection and no undo: an edit is reported, never applied, and the application owns the rows ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md)).
1561
+ - No pivot: compute the pivoted rows and map one computed column per key from the data, as in [a matrix with row and column totals](#aggregate) ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md)).
1562
1562
 
1563
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
1563
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
1564
1564
 
1565
1565
  ### Provider
1566
1566
 
@@ -1663,7 +1663,7 @@ From `FieldColumn` — the full table stands on [Column](#column).
1663
1663
  | Prop | Type | Default | Description |
1664
1664
  |---|---|---|---|
1665
1665
  | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
1666
- | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
1666
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"`, `"dateTime"`, `"timeWithSeconds"` or `"dateTimeWithSeconds"` for points in time. Alignment, sorting, export and footer stay with the value. |
1667
1667
 
1668
1668
  From `ColumnBase` — the full table stands on [Column](#column).
1669
1669
 
@@ -1874,7 +1874,7 @@ The `label` is the column header's text, and so what a screen reader says for ev
1874
1874
  |---|---|---|---|
1875
1875
  | `value` *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time.<br>Shown in: [Read a value from a field](#column), [Compute a value from the row](#column), [Let the value type decide](#column) and 132 more |
1876
1876
  | `id` | `string` | — | An id of one's own instead of the field name – for two columns over the same field.<br>Shown in: [Pick a standard format (Formats)](#formats), [Share a column between tables (Presets)](#presets) |
1877
- | `format` | `FormatFor``<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value.<br>Shown in: [Compute a value from the row](#column), [Set wording and formats once (Provider)](#provider), [Pick a standard format (Formats)](#formats) and 38 more |
1877
+ | `format` | `FormatFor``<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"`, `"dateTime"`, `"timeWithSeconds"` or `"dateTimeWithSeconds"` for points in time. Alignment, sorting, export and footer stay with the value.<br>Shown in: [Compute a value from the row](#column), [Set wording and formats once (Provider)](#provider), [Pick a standard format (Formats)](#formats) and 38 more |
1878
1878
  | `filter` | `FilterFor``<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar.<br>Shown in: [A label wider than its column (Width and pinning)](#width-and-pinning), [Share a column between tables (Presets)](#presets), [Choose from the values that occur (Filter)](#filter) and 12 more |
1879
1879
  | `group` | `GroupFor``<Z[K]>` | — | Groups points in time by `"day"`, `"week"`, `"month"` or `"year"`.<br>Shown in: [Share a column between tables (Presets)](#presets), [Group dates by month (Grouping)](#grouping-1) |
1880
1880
  | `edit` | `EditFor``<Z[K], Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`. From `EditOptions`.<br>Shown in: [Share a column between tables (Presets)](#presets), [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Edit a comments column (Edits)](#edits) and 6 more |
@@ -2001,10 +2001,17 @@ type NumberFormat = "percent" | "count" | NumberOptions;
2001
2001
 
2002
2002
  ###### `DateFormat`
2003
2003
 
2004
- The names of the standard presentations of a point in time.
2004
+ The names of the standard presentations of a point in time, with the English
2005
+ text of 17 March 2026 at 09:05:03 for each:
2006
+ - `"date"`: "17/03/2026"
2007
+ - `"time"`: "09:05"
2008
+ - `"dateTime"`: "17/03/2026, 09:05"
2009
+ - `"timeWithSeconds"`: "09:05:03"
2010
+ - `"dateTimeWithSeconds"`: "17/03/2026, 09:05:03"
2011
+ German formats write the same with "17.03.2026".
2005
2012
 
2006
2013
  ```ts
2007
- type DateFormat = "date" | "time" | "dateTime";
2014
+ type DateFormat = (typeof DATE_FORMATS)[number];
2008
2015
  ```
2009
2016
 
2010
2017
  ###### `IsDisplayable<W>`
@@ -2099,9 +2106,9 @@ interface Service {
2099
2106
  }
2100
2107
 
2101
2108
  const SERVICES: Service[] = [
2102
- { name: "Checkout", availability: 0.99921, requests: 1_284_310, p95: 412.37, since: 2019, monthly: 18400.5, deployed: new Date(2026, 2, 17, 9, 5) },
2103
- { name: "Billing", availability: 0.99958, requests: 402_118, p95: 238.9, since: 2021, monthly: 9250, deployed: new Date(2026, 2, 16, 16, 40) },
2104
- { name: "Search", availability: 0.99803, requests: 2_910_455, p95: 186.02, since: 2024, monthly: 31200.75, deployed: new Date(2026, 2, 12, 11, 15) },
2109
+ { name: "Checkout", availability: 0.99921, requests: 1_284_310, p95: 412.37, since: 2019, monthly: 18400.5, deployed: new Date(2026, 2, 17, 9, 5, 3) },
2110
+ { name: "Billing", availability: 0.99958, requests: 402_118, p95: 238.9, since: 2021, monthly: 9250, deployed: new Date(2026, 2, 16, 16, 40, 27) },
2111
+ { name: "Search", availability: 0.99803, requests: 2_910_455, p95: 186.02, since: 2024, monthly: 31200.75, deployed: new Date(2026, 2, 12, 11, 15, 48) },
2105
2112
  ];
2106
2113
 
2107
2114
  export default function Format() {
@@ -2118,6 +2125,8 @@ export default function Format() {
2118
2125
  <Column value="deployed" label="Deployed" format="date" />
2119
2126
  {/* A second column over the same field names its own id. */}
2120
2127
  <Column id="deployedAt" value="deployed" label="At" format="time" />
2128
+ {/* The two names with seconds: the seconds are shown, the export keeps the timestamp. */}
2129
+ <Column id="deployedSeconds" value="deployed" label="Deployed, to the second" format="dateTimeWithSeconds" />
2121
2130
  </Table>
2122
2131
  );
2123
2132
  }
@@ -2319,7 +2328,7 @@ From `FieldColumn` — the full table stands on [Column](#column).
2319
2328
  |---|---|---|---|
2320
2329
  | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
2321
2330
  | [`id`](#column) | `string` | — | An id of one's own instead of the field name – for two columns over the same field. |
2322
- | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
2331
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"`, `"dateTime"`, `"timeWithSeconds"` or `"dateTimeWithSeconds"` for points in time. Alignment, sorting, export and footer stay with the value. |
2323
2332
  | [`children`](#column) | [`Presentation`](#column)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form. |
2324
2333
 
2325
2334
  From `ColumnBase` — the full table stands on [Column](#column).
@@ -3084,7 +3093,7 @@ From `FieldColumn` — the full table stands on [Column](#column).
3084
3093
  |---|---|---|---|
3085
3094
  | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
3086
3095
  | [`id`](#column) | `string` | — | An id of one's own instead of the field name – for two columns over the same field. |
3087
- | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
3096
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"`, `"dateTime"`, `"timeWithSeconds"` or `"dateTimeWithSeconds"` for points in time. Alignment, sorting, export and footer stay with the value. |
3088
3097
  | [`filter`](#column) | [`FilterFor`](#column)`<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar. |
3089
3098
  | [`group`](#column) | [`GroupFor`](#column)`<Z[K]>` | — | Groups points in time by `"day"`, `"week"`, `"month"` or `"year"`. |
3090
3099
  | [`edit`](#column) | [`EditFor`](#column)`<Z[K], Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`. From `EditOptions`. |
@@ -3257,7 +3266,7 @@ From `FieldColumn` — the full table stands on [Column](#column).
3257
3266
  | Prop | Type | Default | Description |
3258
3267
  |---|---|---|---|
3259
3268
  | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
3260
- | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
3269
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"`, `"dateTime"`, `"timeWithSeconds"` or `"dateTimeWithSeconds"` for points in time. Alignment, sorting, export and footer stay with the value. |
3261
3270
  | [`children`](#column) | [`Presentation`](#column)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form. |
3262
3271
 
3263
3272
  From `ColumnBase` — the full table stands on [Column](#column).
@@ -3292,7 +3301,7 @@ From `ExportProps` — the full table stands on [Export](#export).
3292
3301
 
3293
3302
  - In [server mode](#server-mode) the table sorts nothing itself; the sort goes to the server in the request.
3294
3303
 
3295
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
3304
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
3296
3305
 
3297
3306
  ### Search
3298
3307
 
@@ -3516,7 +3525,7 @@ type TableRef = Omit<TableSnapshot<unknown>, "setFilter" | "conditionOf"> & {
3516
3525
 
3517
3526
  - In [server mode](#server-mode) the table searches nothing itself; the term goes to the server in the request.
3518
3527
 
3519
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
3528
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
3520
3529
 
3521
3530
  ### Filter
3522
3531
 
@@ -4543,7 +4552,7 @@ type Absent = null | undefined;
4543
4552
  - No text filter per column: the search covers text.
4544
4553
  - In [server mode](#server-mode) a list filter offers what the application names; the table cannot count values it does not hold.
4545
4554
 
4546
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
4555
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
4547
4556
 
4548
4557
  ### Pre-filter
4549
4558
 
@@ -5825,11 +5834,11 @@ export default function GroupAndFoldFromControls() {
5825
5834
 
5826
5835
  #### Known limits
5827
5836
 
5828
- - No pivot and no more than three levels ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md)).
5837
+ - No pivot and no more than three levels ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md)).
5829
5838
  - No bar to drag headers onto: grouping is chosen in the column menu.
5830
5839
  - No groups in [server mode](#server-mode): they would be made of one page.
5831
5840
 
5832
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
5841
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
5833
5842
 
5834
5843
  ### Tree rows
5835
5844
 
@@ -6427,7 +6436,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
6427
6436
  - Not in [server mode](#server-mode), and no branches loaded on demand yet.
6428
6437
  - One column set for every level; a level without a value shows it as absent.
6429
6438
 
6430
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
6439
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
6431
6440
 
6432
6441
  ### Aggregate
6433
6442
 
@@ -6969,7 +6978,7 @@ type Displayable = string | number | boolean | Date;
6969
6978
 
6970
6979
  - In [server mode](#server-mode) the footer shows the sums the server hands in as `totals`, and nothing without them: a sum over one page would misstate the server's set.
6971
6980
 
6972
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
6981
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
6973
6982
 
6974
6983
  ## Rows
6975
6984
 
@@ -7202,7 +7211,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
7202
7211
 
7203
7212
  - In [server mode](#server-mode) “select all” selects the page, and with the page ticked the table offers all that match: a state that a bulk action receives as `{ request, except }`, since the table holds no rows for it.
7204
7213
 
7205
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
7214
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
7206
7215
 
7207
7216
  ### Row appearance
7208
7217
 
@@ -7453,7 +7462,7 @@ From `FieldColumn` — the full table stands on [Column](#column).
7453
7462
  | Prop | Type | Default | Description |
7454
7463
  |---|---|---|---|
7455
7464
  | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
7456
- | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
7465
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"`, `"dateTime"`, `"timeWithSeconds"` or `"dateTimeWithSeconds"` for points in time. Alignment, sorting, export and footer stay with the value. |
7457
7466
 
7458
7467
  From `ColumnBase` — the full table stands on [Column](#column).
7459
7468
 
@@ -9577,6 +9586,7 @@ Everything the library puts out as text.
9577
9586
  | `filterColumn` *required* | `(column: string) => string` | — | The filter button of a column: "Filter Region". |
9578
9587
  | `filterHint` *required* | `string` | — | The tooltip over that button. |
9579
9588
  | `selectRow` *required* | `(row: string) => string` | — | The selection of one row, named after its row header. |
9589
+ | `tableSelectedCount` *required* | `(count: number) => string` | — | Said after the user changes the selection of a table in grid mode: the count. |
9580
9590
  | `selectAllRows` *required* | `string` | — | The selection of every row in the filtered set. |
9581
9591
  | `selectAllOnPage` *required* | `string` | — | The same checkbox in server mode, where the table holds one page of a server's. |
9582
9592
  | `expandRowNamed` *required* | `(row: string) => string` | — | The expand button, named after the row header. |
@@ -9788,12 +9798,63 @@ Everything the library puts out as text.
9788
9798
  | `calculationHideDerivation` *required* | `(label: string) => string` | — | |
9789
9799
  | `calculationOperandCount` *required* | `(count: number) => string` | — | On a folded line whose operator has more operands than are written out beneath it ([ADR-0028](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0028-a-calculation-is-a-tree-or-a-chain.md)): how many there are. |
9790
9800
  | `calculationNoOperands` *required* | `string` | — | On the line of a sum with no operands, where its formula would stand ([ADR-0049](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0049-a-sum-takes-rows-from-data.md)). |
9801
+ | `alarmList` *required* | `string` | — | |
9802
+ | `alarmNone` *required* | `string` | — | |
9803
+ | `alarmNoneDisconnected` *required* | `string` | — | Empty, but the line is down - that is something other than quiet. |
9804
+ | `alarmAcknowledge` *required* | `string` | — | |
9805
+ | `alarmAcknowledgeMany` *required* | `(count: number) => string` | — | Bulk acknowledgement; the number stands in the text on purpose. |
9806
+ | `alarmAcknowledgeInView` *required* | `(count: number) => string` | — | The question of the acknowledge-all dialog: what the list sees (umriss's own rule - the rows in its visible area) or what is selected, and its two buttons. |
9807
+ | `alarmAcknowledgeSelected` *required* | `(count: number) => string` | — | |
9808
+ | `alarmAcknowledgeConfirm` *required* | `string` | — | |
9809
+ | `alarmAcknowledgeCancel` *required* | `string` | — | |
9810
+ | `alarmSnooze` *required* | `string` | — | The alarm list's snooze menu, beside "Acknowledge": the word on its button, and the sentence with the number of alarms it acts on. |
9811
+ | `alarmSnoozeMany` *required* | `(count: number) => string` | — | |
9812
+ | `alarmSnoozeDuration` *required* | `string` | — | The labels in the panel that opens with `snoozeReason`: the duration to choose and the reason to give. The panel's own button is `snoozeAlarm`. |
9813
+ | `alarmSnoozeReason` *required* | `string` | — | |
9814
+ | `alarmSnoozeOtherReason` *required* | `string` | — | The free-text field beside the application's reasons: a reason not on the list. |
9815
+ | `alarmUnsnooze` *required* | `string` | — | Ends the snooze of the ticked alarms before its time. |
9816
+ | `alarmUnsnoozeMany` *required* | `(count: number) => string` | — | |
9817
+ | `alarmPriorityCritical` *required* | `string` | — | |
9818
+ | `alarmPriorityHigh` *required* | `string` | — | |
9819
+ | `alarmPriorityMedium` *required* | `string` | — | |
9820
+ | `alarmPriorityLow` *required* | `string` | — | |
9821
+ | `alarmPriorityName` *required* | `(level: number, word: string) => string` | — | The name of a priority mark: its number, 1 for the most urgent, and its word. |
9822
+ | `alarmLifecycleActiveUnacknowledged` *required* | `string` | — | The four lifecycle states, written out. |
9823
+ | `alarmLifecycleActiveAcknowledged` *required* | `string` | — | |
9824
+ | `alarmLifecycleResolvedUnacknowledged` *required* | `string` | — | |
9825
+ | `alarmLifecycleResolvedAcknowledged` *required* | `string` | — | |
9826
+ | `alarmFloodHint` *required* | `(count: number, minutes: number) => string` | — | "Alarm flood: 40 in 10 min" - a flood is marked, never suppressed. |
9827
+ | `alarmFirstOut` *required* | `string` | — | The badge on the first alarm of a group or trip (ISA-18.2 first-out), and the badge on the first alarm of a flood - umriss's own mark, worded apart. |
9828
+ | `alarmFirstInFlood` *required* | `string` | — | |
9829
+ | `alarmChatterHint` *required* | `(count: number) => string` | — | "40×" on a chattering alarm type. |
9830
+ | `alarmActiveUnacknowledged` *required* | `(count: number) => string` | — | The text of the live region: the number of active unacknowledged alarms. |
9831
+ | `alarmBanner` *required* | `string` | — | The banner's name as a landmark, its sentence for no unacknowledged alarm and for a lost source, the "n more" after the worst alarm, the button that opens the list, and the text of its alert: the new alarm's priority and label. |
9832
+ | `alarmBannerNone` *required* | `string` | — | |
9833
+ | `alarmBannerDisconnected` *required* | `string` | — | |
9834
+ | `alarmBannerMore` *required* | `(count: number) => string` | — | |
9835
+ | `alarmBannerOpen` *required* | `string` | — | |
9836
+ | `alarmBannerAlert` *required* | `(priority: string, label: string) => string` | — | |
9837
+ | `alarmColumnAlarm` *required* | `string` | — | |
9838
+ | `alarmColumnLifecycleState` *required* | `string` | — | |
9839
+ | `alarmColumnPriority` *required* | `string` | — | |
9840
+ | `alarmColumnRaised` *required* | `string` | — | |
9841
+ | `alarmColumnDuration` *required* | `string` | — | |
9842
+ | `alarmColumnFrequency` *required* | `string` | — | |
9843
+ | `alarmColumnAcknowledgement` *required* | `string` | — | The two columns of the alarm model the list does not show, but which do land in the column menu and the CSV header (`alarmColumns`). |
9844
+ | `alarmColumnAge` *required* | `string` | — | |
9845
+ | `alarmAvailabilitySnoozed` *required* | `(until: string, by: string, reason?: string) => string` | — | The availability of an alarm (ISA-18.2's special states), written out. A snooze names its end and who snoozed it - a snooze is tracked, not anonymous; the time comes from the formats. The reason, when the snooze has one, comes last and is optional: a wording of two parameters fits. |
9846
+ | `alarmAvailabilitySnoozedShort` *required* | `string` | — | A snooze as one word - the alarm list's badge; the sentence above stands in its tooltip and in what is spoken. |
9847
+ | `alarmAvailabilitySnoozedUntil` *required* | `(until: string) => string` | — | The shelve badge of an alarm still in alarm: the word and its return time. |
9848
+ | `alarmAvailabilitySuppressed` *required* | `string` | — | |
9849
+ | `alarmAvailabilityDisabled` *required* | `string` | — | |
9850
+ | `alarmHidden` *required* | `(count: number) => string` | — | "Hidden: 3" - the count of the view of snoozed, suppressed and disabled alarms, and its name where the list offers the view as a switch. |
9851
+ | `alarmColumnAvailability` *required* | `string` | — | The availability column of the alarm model: the column menu and the CSV header, like the two above. |
9791
9852
 
9792
9853
  #### Known limits
9793
9854
 
9794
9855
  - Two formats: CSV, and the Excel workbook from `@umriss-ui/table/xlsx` - one sheet, no styling, no formulas, no group rows, no compression; no PDF or print layout.
9795
9856
 
9796
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
9857
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
9797
9858
 
9798
9859
  ### View
9799
9860
 
@@ -10002,7 +10063,7 @@ From `FieldColumn` — the full table stands on [Column](#column).
10002
10063
  | Prop | Type | Default | Description |
10003
10064
  |---|---|---|---|
10004
10065
  | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
10005
- | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
10066
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"`, `"dateTime"`, `"timeWithSeconds"` or `"dateTimeWithSeconds"` for points in time. Alignment, sorting, export and footer stay with the value. |
10006
10067
  | [`filter`](#column) | [`FilterFor`](#column)`<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar. |
10007
10068
 
10008
10069
  From `ColumnBase` — the full table stands on [Column](#column).
@@ -10291,7 +10352,7 @@ type TableRef = Omit<TableSnapshot<unknown>, "setFilter" | "conditionOf"> & {
10291
10352
 
10292
10353
  - In [server mode](#server-mode) the page goes to the server in the request, and `rowCount` decides how many pages there are.
10293
10354
 
10294
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
10355
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
10295
10356
 
10296
10357
  ### Virtualisation
10297
10358
 
@@ -10574,7 +10635,7 @@ From `FieldColumn` — the full table stands on [Column](#column).
10574
10635
  | Prop | Type | Default | Description |
10575
10636
  |---|---|---|---|
10576
10637
  | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
10577
- | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
10638
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"`, `"dateTime"`, `"timeWithSeconds"` or `"dateTimeWithSeconds"` for points in time. Alignment, sorting, export and footer stay with the value. |
10578
10639
  | [`children`](#column) | [`Presentation`](#column)`<Z[K], Z>` | — | How the value appears: `(value, row)`. Never called for an absent value. Required where the value has no text form. |
10579
10640
 
10580
10641
  From `ColumnBase` — the full table stands on [Column](#column).
@@ -10602,7 +10663,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
10602
10663
  - Paging and virtualisation do not combine; one table does one or the other.
10603
10664
  - No loading more rows while scrolling: a table on a server pages ([Server mode](#server-mode)).
10604
10665
 
10605
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
10666
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
10606
10667
 
10607
10668
  ### Benchmark
10608
10669
 
@@ -12198,7 +12259,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
12198
12259
  - A list filter offers what `filterOptions` names; the table cannot count values it does not hold.
12199
12260
  - No loading more rows while scrolling: paging and virtualisation do not combine.
12200
12261
 
12201
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
12262
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
12202
12263
 
12203
12264
  ## Editing
12204
12265
 
@@ -12376,7 +12437,7 @@ From `FieldColumn` — the full table stands on [Column](#column).
12376
12437
  | Prop | Type | Default | Description |
12377
12438
  |---|---|---|---|
12378
12439
  | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
12379
- | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
12440
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"`, `"dateTime"`, `"timeWithSeconds"` or `"dateTimeWithSeconds"` for points in time. Alignment, sorting, export and footer stay with the value. |
12380
12441
  | [`edit`](#column) | [`EditFor`](#column)`<Z[K], Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`. From `EditOptions`. |
12381
12442
  | [`validate`](#column) | `(value: Z[K] \| null, row: Z) => string \| null \| undefined` | — | Checks a draft before it is reported: a message keeps the editor open and stands beneath the field, as in a `FormField`; nothing lets it through. From `EditOptions`. |
12382
12443
 
@@ -12765,7 +12826,7 @@ From `FieldColumn` — the full table stands on [Column](#column).
12765
12826
  | Prop | Type | Default | Description |
12766
12827
  |---|---|---|---|
12767
12828
  | [`value`](#column) *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time. |
12768
- | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"` or `"dateTime"` for points in time. Alignment, sorting, export and footer stay with the value. |
12829
+ | [`format`](#column) | [`FormatFor`](#column)`<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"`, `"dateTime"`, `"timeWithSeconds"` or `"dateTimeWithSeconds"` for points in time. Alignment, sorting, export and footer stay with the value. |
12769
12830
  | [`edit`](#column) | [`EditFor`](#column)`<Z[K], Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`. From `EditOptions`. |
12770
12831
  | [`editOptions`](#column) | `readonly `[`Present`](#column)`<Z[K]>[]` | the values that occur | What `edit="select"` offers. From `EditOptions`. |
12771
12832
  | [`validate`](#column) | `(value: Z[K] \| null, row: Z) => string \| null \| undefined` | — | Checks a draft before it is reported: a message keeps the editor open and stands beneath the field, as in a `FormField`; nothing lets it through. From `EditOptions`. |
@@ -12786,9 +12847,9 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
12786
12847
 
12787
12848
  #### Known limits
12788
12849
 
12789
- - No cell range selection and no undo ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md)).
12850
+ - No cell range selection and no undo ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md)).
12790
12851
 
12791
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
12852
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
12792
12853
 
12793
12854
  ## Limits and alarms
12794
12855
 
@@ -13130,7 +13191,7 @@ type Severity = "warning" | "alarm";
13130
13191
  - No list filter: four verdicts are sorted, not filtered.
13131
13192
  - It does not judge whether a value is stale; a stale value keeps its verdict ([ADR-0010](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0010-a-stale-value-keeps-its-verdict.md)).
13132
13193
 
13133
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.46.0/docs/adr/0032-what-umriss-is-not.md).
13194
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.47.0/docs/adr/0032-what-umriss-is-not.md).
13134
13195
 
13135
13196
  ## API index
13136
13197
 
@@ -13245,6 +13306,14 @@ function rowFilter<Z, B>(definition: RowFilter<Z, B>): RowFilter<Z, B>;
13245
13306
 
13246
13307
  Used on [Filter](#filter) and [Toolbar controls](#toolbar-controls).
13247
13308
 
13309
+ ##### `tableModel`
13310
+
13311
+ The table's pipeline as a pure function - filter, sort, page over rows and model columns.
13312
+
13313
+ ```ts
13314
+ function tableModel<Z, K extends string = string>(rows: readonly Z[], columns: readonly ModelColumn<Z, K>[], input: TableInput<Z, K>): TableProjection<Z, K>;
13315
+ ```
13316
+
13248
13317
  #### Constants
13249
13318
 
13250
13319
  ##### `csv`
@@ -13478,10 +13547,17 @@ type Computed<Z, W> = ColumnBase &
13478
13547
 
13479
13548
  ##### `DateFormat`
13480
13549
 
13481
- The names of the standard presentations of a point in time.
13550
+ The names of the standard presentations of a point in time, with the English
13551
+ text of 17 March 2026 at 09:05:03 for each:
13552
+ - `"date"`: "17/03/2026"
13553
+ - `"time"`: "09:05"
13554
+ - `"dateTime"`: "17/03/2026, 09:05"
13555
+ - `"timeWithSeconds"`: "09:05:03"
13556
+ - `"dateTimeWithSeconds"`: "17/03/2026, 09:05:03"
13557
+ German formats write the same with "17.03.2026".
13482
13558
 
13483
13559
  ```ts
13484
- type DateFormat = "date" | "time" | "dateTime";
13560
+ type DateFormat = (typeof DATE_FORMATS)[number];
13485
13561
  ```
13486
13562
 
13487
13563
  ##### `DatePeriod`
@@ -13700,6 +13776,39 @@ type IsDisplayable<W> = [Present<W>] extends [never]
13700
13776
  : false;
13701
13777
  ```
13702
13778
 
13779
+ ##### `Line<Z>`
13780
+
13781
+ One line of a grouped table. A header heads a group of an outer level; a row
13782
+ of the innermost level stands in its span; a folded span is one line.
13783
+
13784
+ ```ts
13785
+ type Line<Z> =
13786
+ | {
13787
+ kind: "header";
13788
+ group: RowGroup<Z>;
13789
+ /** The headers around it. */
13790
+ parents: readonly RowGroup<Z>[];
13791
+ /** Repeated at the top of a page that begins inside the group. */
13792
+ continued: boolean;
13793
+ }
13794
+ | {
13795
+ kind: "row";
13796
+ row: Z;
13797
+ parents: readonly RowGroup<Z>[];
13798
+ /** The span the row stands in - the innermost group, when there are
13799
+ several levels; a single level has no span, its rows stand under
13800
+ their group header. */
13801
+ span: RowGroup<Z> | undefined;
13802
+ /** The span shows its value on this line: the group's first row, or the
13803
+ first of a page that begins inside it. */
13804
+ first: boolean;
13805
+ continued: boolean;
13806
+ }
13807
+ | { kind: "folded"; group: RowGroup<Z>; parents: readonly RowGroup<Z>[] };
13808
+ ```
13809
+
13810
+ Used on [Column](#column), [Tree rows](#tree-rows), [Aggregate](#aggregate) and [Selection](#selection).
13811
+
13703
13812
  ##### `ListCondition<W>`
13704
13813
 
13705
13814
  The condition of a list filter: the chosen values, an absent one as `null`.
@@ -13980,6 +14089,27 @@ columns: search, filter, sort, page, hidden columns, order, grouping, tree.
13980
14089
 
13981
14090
  Its table stands on [First table](#first-table).
13982
14091
 
14092
+ ##### `TableProjection<Z, K extends string = string>`
14093
+
14094
+ The table's pipeline as a pure function - filter, sort, page over rows and model columns.
14095
+
14096
+ | Prop | Type | Default | Description |
14097
+ |---|---|---|---|
14098
+ | `columns` *required* | `readonly ``ModelColumn``<Z, K>[]` | — | The visible columns in their order – the basis for the header row, the column menu and the CSV export. |
14099
+ | `filtered` *required* | `Z[]` | — | Everything the filter leaves – the basis for figures and the selection. |
14100
+ | `visible` *required* | `Z[]` | — | Only the current page - with a grouping, the rows among its lines. |
14101
+ | `groups` | `RowGroup``<Z>[]` | — | With a grouping: the groups, outermost first. |
14102
+ | `lines` | `Line``<Z>[]` | — | With a grouping: every line of the filtered set. |
14103
+ | `visibleLines` | `Line``<Z>[]` | — | With a grouping: the lines of the current page, with what it repeats. |
14104
+ | `entries` | `readonly ``FlatteningEntry``<Z>[]` | — | Tree rows: the flattening - the rows shown, in reading order, with their level and state. `visible` holds their rows. |
14105
+ | `shown` | `Z[]` | — | Tree rows: every row the flattening shows, before a virtual window. |
14106
+ | `roots` | `Z[]` | — | Tree rows: the roots that match or lead to a match - what a footer sums, since a parent already holds its children. |
14107
+ | `exported` | `readonly ``FlatteningEntry``<Z>[]` | — | Tree rows: every row of the filtered tree in reading order, open or not, path rows included - what the export writes. |
14108
+ | `total` | `number` | — | Tree rows: how many rows the tree has on every level - what "of 1,204" counts, as the rows the pre-filter admits do for a flat table. |
14109
+ | `page` *required* | `number` | — | The clamped page actually shown. |
14110
+ | `pageCount` *required* | `number` | — | |
14111
+ | `columnCount` *required* | `number` | — | |
14112
+
13983
14113
  ##### `TableProps`
13984
14114
 
13985
14115
  Its table stands on [First table](#first-table).
@@ -14275,6 +14405,7 @@ Everything the library puts out as text.
14275
14405
  | `filterColumn` *required* | `(column: string) => string` | — | The filter button of a column: "Filter Region". |
14276
14406
  | `filterHint` *required* | `string` | — | The tooltip over that button. |
14277
14407
  | `selectRow` *required* | `(row: string) => string` | — | The selection of one row, named after its row header. |
14408
+ | `tableSelectedCount` *required* | `(count: number) => string` | — | Said after the user changes the selection of a table in grid mode: the count. |
14278
14409
  | `selectAllRows` *required* | `string` | — | The selection of every row in the filtered set. |
14279
14410
  | `selectAllOnPage` *required* | `string` | — | The same checkbox in server mode, where the table holds one page of a server's. |
14280
14411
  | `expandRowNamed` *required* | `(row: string) => string` | — | The expand button, named after the row header. |
@@ -14486,6 +14617,57 @@ Everything the library puts out as text.
14486
14617
  | `calculationHideDerivation` *required* | `(label: string) => string` | — | |
14487
14618
  | `calculationOperandCount` *required* | `(count: number) => string` | — | On a folded line whose operator has more operands than are written out beneath it ([ADR-0028](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0028-a-calculation-is-a-tree-or-a-chain.md)): how many there are. |
14488
14619
  | `calculationNoOperands` *required* | `string` | — | On the line of a sum with no operands, where its formula would stand ([ADR-0049](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0049-a-sum-takes-rows-from-data.md)). |
14620
+ | `alarmList` *required* | `string` | — | |
14621
+ | `alarmNone` *required* | `string` | — | |
14622
+ | `alarmNoneDisconnected` *required* | `string` | — | Empty, but the line is down - that is something other than quiet. |
14623
+ | `alarmAcknowledge` *required* | `string` | — | |
14624
+ | `alarmAcknowledgeMany` *required* | `(count: number) => string` | — | Bulk acknowledgement; the number stands in the text on purpose. |
14625
+ | `alarmAcknowledgeInView` *required* | `(count: number) => string` | — | The question of the acknowledge-all dialog: what the list sees (umriss's own rule - the rows in its visible area) or what is selected, and its two buttons. |
14626
+ | `alarmAcknowledgeSelected` *required* | `(count: number) => string` | — | |
14627
+ | `alarmAcknowledgeConfirm` *required* | `string` | — | |
14628
+ | `alarmAcknowledgeCancel` *required* | `string` | — | |
14629
+ | `alarmSnooze` *required* | `string` | — | The alarm list's snooze menu, beside "Acknowledge": the word on its button, and the sentence with the number of alarms it acts on. |
14630
+ | `alarmSnoozeMany` *required* | `(count: number) => string` | — | |
14631
+ | `alarmSnoozeDuration` *required* | `string` | — | The labels in the panel that opens with `snoozeReason`: the duration to choose and the reason to give. The panel's own button is `snoozeAlarm`. |
14632
+ | `alarmSnoozeReason` *required* | `string` | — | |
14633
+ | `alarmSnoozeOtherReason` *required* | `string` | — | The free-text field beside the application's reasons: a reason not on the list. |
14634
+ | `alarmUnsnooze` *required* | `string` | — | Ends the snooze of the ticked alarms before its time. |
14635
+ | `alarmUnsnoozeMany` *required* | `(count: number) => string` | — | |
14636
+ | `alarmPriorityCritical` *required* | `string` | — | |
14637
+ | `alarmPriorityHigh` *required* | `string` | — | |
14638
+ | `alarmPriorityMedium` *required* | `string` | — | |
14639
+ | `alarmPriorityLow` *required* | `string` | — | |
14640
+ | `alarmPriorityName` *required* | `(level: number, word: string) => string` | — | The name of a priority mark: its number, 1 for the most urgent, and its word. |
14641
+ | `alarmLifecycleActiveUnacknowledged` *required* | `string` | — | The four lifecycle states, written out. |
14642
+ | `alarmLifecycleActiveAcknowledged` *required* | `string` | — | |
14643
+ | `alarmLifecycleResolvedUnacknowledged` *required* | `string` | — | |
14644
+ | `alarmLifecycleResolvedAcknowledged` *required* | `string` | — | |
14645
+ | `alarmFloodHint` *required* | `(count: number, minutes: number) => string` | — | "Alarm flood: 40 in 10 min" - a flood is marked, never suppressed. |
14646
+ | `alarmFirstOut` *required* | `string` | — | The badge on the first alarm of a group or trip (ISA-18.2 first-out), and the badge on the first alarm of a flood - umriss's own mark, worded apart. |
14647
+ | `alarmFirstInFlood` *required* | `string` | — | |
14648
+ | `alarmChatterHint` *required* | `(count: number) => string` | — | "40×" on a chattering alarm type. |
14649
+ | `alarmActiveUnacknowledged` *required* | `(count: number) => string` | — | The text of the live region: the number of active unacknowledged alarms. |
14650
+ | `alarmBanner` *required* | `string` | — | The banner's name as a landmark, its sentence for no unacknowledged alarm and for a lost source, the "n more" after the worst alarm, the button that opens the list, and the text of its alert: the new alarm's priority and label. |
14651
+ | `alarmBannerNone` *required* | `string` | — | |
14652
+ | `alarmBannerDisconnected` *required* | `string` | — | |
14653
+ | `alarmBannerMore` *required* | `(count: number) => string` | — | |
14654
+ | `alarmBannerOpen` *required* | `string` | — | |
14655
+ | `alarmBannerAlert` *required* | `(priority: string, label: string) => string` | — | |
14656
+ | `alarmColumnAlarm` *required* | `string` | — | |
14657
+ | `alarmColumnLifecycleState` *required* | `string` | — | |
14658
+ | `alarmColumnPriority` *required* | `string` | — | |
14659
+ | `alarmColumnRaised` *required* | `string` | — | |
14660
+ | `alarmColumnDuration` *required* | `string` | — | |
14661
+ | `alarmColumnFrequency` *required* | `string` | — | |
14662
+ | `alarmColumnAcknowledgement` *required* | `string` | — | The two columns of the alarm model the list does not show, but which do land in the column menu and the CSV header (`alarmColumns`). |
14663
+ | `alarmColumnAge` *required* | `string` | — | |
14664
+ | `alarmAvailabilitySnoozed` *required* | `(until: string, by: string, reason?: string) => string` | — | The availability of an alarm (ISA-18.2's special states), written out. A snooze names its end and who snoozed it - a snooze is tracked, not anonymous; the time comes from the formats. The reason, when the snooze has one, comes last and is optional: a wording of two parameters fits. |
14665
+ | `alarmAvailabilitySnoozedShort` *required* | `string` | — | A snooze as one word - the alarm list's badge; the sentence above stands in its tooltip and in what is spoken. |
14666
+ | `alarmAvailabilitySnoozedUntil` *required* | `(until: string) => string` | — | The shelve badge of an alarm still in alarm: the word and its return time. |
14667
+ | `alarmAvailabilitySuppressed` *required* | `string` | — | |
14668
+ | `alarmAvailabilityDisabled` *required* | `string` | — | |
14669
+ | `alarmHidden` *required* | `(count: number) => string` | — | "Hidden: 3" - the count of the view of snoozed, suppressed and disabled alarms, and its name where the list offers the view as a switch. |
14670
+ | `alarmColumnAvailability` *required* | `string` | — | The availability column of the alarm model: the column menu and the CSV header, like the two above. |
14489
14671
 
14490
14672
  ##### `NumberOptions`
14491
14673
 
@@ -14497,3 +14679,30 @@ maximum fraction digits. An Intl digit option given beside it wins.
14497
14679
  ```ts
14498
14680
  type NumberOptions = Intl.NumberFormatOptions & { decimals?: number };
14499
14681
  ```
14682
+
14683
+ ##### `FlatteningEntry<K, S extends Key = string>`
14684
+
14685
+ From `@umriss-ui/core`.
14686
+
14687
+ One visible node of a tree, with everything a row needs to be drawn and
14688
+ read out: level, branch or leaf, check state, search state and position
14689
+ among its siblings.
14690
+
14691
+ | Prop | Type | Default | Description |
14692
+ |---|---|---|---|
14693
+ | `node` *required* | `K` | — | |
14694
+ | `key` *required* | `S` | — | |
14695
+ | `level` *required* | `number` | — | Roots stand at 0. Drives the indentation and what is read out. |
14696
+ | `label` *required* | `string` | — | The node's text; here, so that typeahead can be a pure function over the flattening and needs no reader. |
14697
+ | `branch` *required* | `boolean` | — | |
14698
+ | `empty` *required* | `boolean` | — | Branch without content: expanding it showed nothing. An unloaded branch is not empty - it could have children. |
14699
+ | `disabled` *required* | `boolean` | — | May not be checked ([ADR-0005](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0005-what-cannot-be-checked.md)). It stays navigable. |
14700
+ | `unloaded` *required* | `boolean` | — | Could have children that are not present. For checking exactly the same as disabled: whatever has to reach its descendants may not act on it. |
14701
+ | `expanded` *required* | `boolean` | — | |
14702
+ | `checked` *required* | `boolean` | — | |
14703
+ | `indeterminate` *required* | `boolean` | — | Derived: not checked itself, but at least one descendant is. |
14704
+ | `active` *required* | `boolean` | — | |
14705
+ | `matches` *required* | `boolean` | — | Matched the search itself. Without a search text every entry matches, so that the surface needs no special case. |
14706
+ | `pathOnly` *required* | `boolean` | — | Stands there only because a descendant matches - a signpost. The surface dims these and only these. A child under a matching branch is neither a match nor a signpost but context: it stays normal. |
14707
+ | `position` *required* | `number` | — | 1-based, among the siblings that survive the filter. |
14708
+ | `siblings` *required* | `number` | — | |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umriss-ui/table",
3
- "version": "0.46.0",
3
+ "version": "0.47.0",
4
4
  "description": "React data table for data-dense applications - sorting, filtering, grouping, aggregates, virtualisation. Declared the way it reads: columns as JSX, typed against their rows.",
5
5
  "license": "MIT",
6
6
  "author": "Roman Händler",
@@ -68,7 +68,7 @@
68
68
  }
69
69
  },
70
70
  "peerDependencies": {
71
- "@umriss-ui/core": "^0.46.0",
71
+ "@umriss-ui/core": "^0.47.0",
72
72
  "react": ">=19",
73
73
  "react-dom": ">=19"
74
74
  },
@@ -85,7 +85,7 @@
85
85
  "typescript": "^5.6.3",
86
86
  "vite": "^6.0.0",
87
87
  "vite-plugin-dts": "^4.3.0",
88
- "@umriss-ui/core": "0.46.0",
88
+ "@umriss-ui/core": "0.47.0",
89
89
  "@umriss-ui/demo": "0.0.0"
90
90
  },
91
91
  "scripts": {