@starasia/admin 8.23.0 → 8.25.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/dist/components/FilterBar/types.d.ts +12 -0
- package/dist/index.cjs.js +3 -3
- package/dist/index.es.js +383 -383
- package/dist/index.umd.js +1 -1
- package/package.json +2 -2
|
@@ -73,6 +73,18 @@ export interface DateCompactValue {
|
|
|
73
73
|
}
|
|
74
74
|
export interface DateCompactFilterField extends BaseFilterField {
|
|
75
75
|
type: 'date-compact';
|
|
76
|
+
/**
|
|
77
|
+
* Subset of operators offered in the pill's operator dropdown, in display
|
|
78
|
+
* order. Omit to show all operators. An empty array is ignored (falls back
|
|
79
|
+
* to all). If `defaultOp` is not part of this list, the first entry wins.
|
|
80
|
+
*/
|
|
81
|
+
ops?: DateCompactOp[];
|
|
82
|
+
/**
|
|
83
|
+
* Operator shown when the pill is first added (before the user picks one).
|
|
84
|
+
* Default `'is'`. If it isn't allowed by `ops`, the first allowed operator
|
|
85
|
+
* is used instead.
|
|
86
|
+
*/
|
|
87
|
+
defaultOp?: DateCompactOp;
|
|
76
88
|
}
|
|
77
89
|
export type FilterFieldConfig = SelectFilterField | CheckboxMultipleFilterField | DateFilterField | DateCompactFilterField;
|
|
78
90
|
/** A single column entry fed to the Customize Column panel. */
|