react-semaphor 0.0.56 → 0.0.57
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/react-semaphor.d.ts +4 -1
- package/dist/react-semaphor.js +1687 -1669
- package/dist/react-semaphor.umd.cjs +44 -44
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/react-semaphor.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ declare type Actions = {
|
|
|
37
37
|
addFilter: (filter: TFilter) => void;
|
|
38
38
|
removeFilter: (filterId: string) => void;
|
|
39
39
|
updateFilter: (filter: TFilter) => void;
|
|
40
|
+
setFilterValues: (filterValues: TFilterValue[] | undefined) => void;
|
|
40
41
|
addOrUpdateFilterValue: (filterValue: TFilterValue) => void;
|
|
41
42
|
removeFilterValue: (filterId: string) => void;
|
|
42
43
|
setStyle: (style: TStyle) => void;
|
|
@@ -70,6 +71,7 @@ export declare type Bookmark = {
|
|
|
70
71
|
name: string;
|
|
71
72
|
default: boolean;
|
|
72
73
|
template: TDashboard;
|
|
74
|
+
filterValues?: TFilterValue[];
|
|
73
75
|
};
|
|
74
76
|
|
|
75
77
|
export declare function cleanCard(card: TCard): TCard;
|
|
@@ -236,7 +238,7 @@ export declare type TDashboard = {
|
|
|
236
238
|
};
|
|
237
239
|
|
|
238
240
|
export declare type TEvent = {
|
|
239
|
-
type:
|
|
241
|
+
type: 'success' | 'error' | 'info' | 'warning';
|
|
240
242
|
message: any;
|
|
241
243
|
};
|
|
242
244
|
|
|
@@ -519,6 +521,7 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
519
521
|
addFilter: (filter: TFilter) => void;
|
|
520
522
|
removeFilter: (filterId: string) => void;
|
|
521
523
|
updateFilter: (filter: TFilter) => void;
|
|
524
|
+
setFilterValues: (filterValues: TFilterValue[] | undefined) => void;
|
|
522
525
|
addOrUpdateFilterValue: (filterValue: TFilterValue) => void;
|
|
523
526
|
removeFilterValue: (filterId: string) => void;
|
|
524
527
|
setStyle: (style: TStyle) => void;
|