@evergis/uilib-gl 1.0.103 → 1.0.104
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.
|
@@ -345,6 +345,7 @@ export declare const iconTypes: {
|
|
|
345
345
|
layer_eye: string;
|
|
346
346
|
ai: string;
|
|
347
347
|
bool: string;
|
|
348
|
+
json: string;
|
|
348
349
|
};
|
|
349
350
|
export declare const Icon: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IIconProps, never>;
|
|
350
351
|
export declare const injectIcon: (icon: IconTypesKeys) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
@@ -4,3 +4,5 @@ export declare const FILTER_OPTIONS_COMMON: FilterTypeOption[];
|
|
|
4
4
|
export declare const FILTER_OPTIONS_NUMBER: FilterTypeOption[];
|
|
5
5
|
export declare const FILTER_OPTIONS_STRING: FilterTypeOption[];
|
|
6
6
|
export declare const FILTER_OPTIONS_DATE: FilterTypeOption[];
|
|
7
|
+
export declare const FILTER_OPTIONS_JSON: FilterTypeOption[];
|
|
8
|
+
export declare const FILTER_OPTIONS_BOOL: FilterTypeOption[];
|
|
@@ -27,31 +27,19 @@ export declare enum ComparisonOperator {
|
|
|
27
27
|
Between = "Between",
|
|
28
28
|
Outside = "Outside"
|
|
29
29
|
}
|
|
30
|
-
export
|
|
31
|
-
filter1: [number, number] | number | null;
|
|
32
|
-
filter2: string;
|
|
33
|
-
filter3: [DatePickerDate, DatePickerDate] | DatePickerDate;
|
|
34
|
-
filter4: [DatePickerDate, DatePickerDate] | DatePickerDate;
|
|
35
|
-
}
|
|
36
|
-
export interface FilterTypes {
|
|
37
|
-
filter1: FilterTypeOption | null;
|
|
38
|
-
filter2: FilterTypeOption | null;
|
|
39
|
-
filter3: FilterTypeOption | null;
|
|
40
|
-
filter4: FilterTypeOption | null;
|
|
41
|
-
}
|
|
42
|
-
export declare type FilterInputType = "number" | "double" | "int64" | "int32" | "string" | "date" | "datetime";
|
|
30
|
+
export declare type FilterInputType = "number" | "double" | "int64" | "int32" | "string" | "date" | "datetime" | "json" | "boolean";
|
|
43
31
|
export declare type FilterTypeOption = IOption & {
|
|
44
32
|
inactive?: boolean;
|
|
45
33
|
autocomplete?: boolean;
|
|
46
34
|
range?: boolean;
|
|
47
35
|
checkboxes?: boolean;
|
|
48
36
|
};
|
|
49
|
-
export declare type FilterValue = [DatePickerDate, DatePickerDate] | Date | [number | undefined, number | undefined] | number | string | string[] | null | undefined;
|
|
37
|
+
export declare type FilterValue = [DatePickerDate, DatePickerDate] | Date | [number | undefined, number | undefined] | number | string | string[] | boolean | null | undefined;
|
|
50
38
|
export interface FilterInputProps {
|
|
51
39
|
label?: string;
|
|
52
40
|
value?: FilterValue;
|
|
53
41
|
type: FilterInputType;
|
|
54
|
-
options
|
|
42
|
+
options?: FilterTypeOption[];
|
|
55
43
|
defaultOption?: string;
|
|
56
44
|
selectedOption?: FilterTypeOption | null;
|
|
57
45
|
onShown?: VoidFunction;
|