@nivaro/react 0.1.267 → 0.1.269
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/dist/full.css +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +17701 -17289
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1519,7 +1519,7 @@ export declare interface FilterDef {
|
|
|
1519
1519
|
key: string;
|
|
1520
1520
|
placeholder: string;
|
|
1521
1521
|
/** Defaults to 'select' — every existing FilterDef without this field keeps its current dropdown behavior unchanged. */
|
|
1522
|
-
type?: 'select' | 'text' | 'range' | 'combobox';
|
|
1522
|
+
type?: 'select' | 'text' | 'range' | 'combobox' | 'date' | 'number';
|
|
1523
1523
|
/** Required when type is 'select' or omitted; static options for 'combobox'; ignored for 'text'/'range'. */
|
|
1524
1524
|
options?: {
|
|
1525
1525
|
label: string;
|
|
@@ -1535,6 +1535,8 @@ export declare interface FilterDef {
|
|
|
1535
1535
|
multi?: boolean;
|
|
1536
1536
|
/** Options are narrowed to the viewer's restricted scope — renders an amber badge. */
|
|
1537
1537
|
restricted?: boolean;
|
|
1538
|
+
/** 'range' only: suffix shown in the summary ("38d", "12h"). */
|
|
1539
|
+
range_unit?: string;
|
|
1538
1540
|
}
|
|
1539
1541
|
|
|
1540
1542
|
export declare function filterDefLabel(def: FilterDef): string;
|
|
@@ -4280,6 +4282,14 @@ declare interface ReviewListConfig {
|
|
|
4280
4282
|
aggregate_sum?: string | null;
|
|
4281
4283
|
aggregate_sum_format?: ReviewListColumnFormat | null;
|
|
4282
4284
|
group_meta?: Array<string | ReviewListColumnSpec>;
|
|
4285
|
+
/** Order groups by a field instead of by key — the most pressing first
|
|
4286
|
+
* (`{field: 'due_date', direction: 'asc'}` puts the soonest due on top).
|
|
4287
|
+
* A group sorts on its EARLIEST value, since one late line makes the
|
|
4288
|
+
* whole invoice late. Groups missing the field keep the key order, last. */
|
|
4289
|
+
group_sort?: {
|
|
4290
|
+
field: string;
|
|
4291
|
+
direction?: 'asc' | 'desc';
|
|
4292
|
+
};
|
|
4283
4293
|
line_columns?: Array<string | ReviewListColumnSpec>;
|
|
4284
4294
|
status: {
|
|
4285
4295
|
field: string;
|