@dolusoft/query-table 3.9.0 → 3.10.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.
@@ -1,3 +1,11 @@
1
+ interface MeasureOptions {
2
+ /**
3
+ * The filter row counts as a floor (C-100): laid out at the width it
4
+ * needs, its controls side by side and six characters of text in each
5
+ * input, so a column is never drawn narrower than its filter.
6
+ */
7
+ filters?: boolean;
8
+ }
1
9
  /**
2
10
  * Sets inline declarations for one read and puts every `style` attribute
3
11
  * back exactly as it was, absent included, so the markup after the call is
@@ -21,4 +29,5 @@ export declare const styleSwap: () => {
21
29
  * (C-101): it is laid out the same way, its `col` widths left out, and a
22
30
  * column takes the wider of its header cell and its body cells.
23
31
  */
24
- export declare const measureColumnWidths: (table: HTMLTableElement | null | undefined, fields?: readonly string[], body?: HTMLTableElement | null) => Record<string, number>;
32
+ export declare const measureColumnWidths: (table: HTMLTableElement | null | undefined, fields?: readonly string[], body?: HTMLTableElement | null, options?: MeasureOptions) => Record<string, number>;
33
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dolusoft/query-table",
3
- "version": "3.9.0",
3
+ "version": "3.10.0",
4
4
  "description": "A thin Vue 3 table for server-side data: it renders rows and emits sort, filter, search and paging changes. Built on TanStack Table.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -45,8 +45,8 @@
45
45
  ],
46
46
  "license": "MIT",
47
47
  "dependencies": {
48
- "@dolusoft/query-protocol": "3.9.0",
49
- "@dolusoft/query-table-core": "3.9.0",
48
+ "@dolusoft/query-protocol": "3.10.0",
49
+ "@dolusoft/query-table-core": "3.10.0",
50
50
  "@tanstack/vue-table": "9.2.6"
51
51
  },
52
52
  "devDependencies": {