semaphor 0.0.83 → 0.0.84
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/chunks/index--M3YafQu.js +245 -0
- package/dist/chunks/{index-Ua4j6zM4.js → index-BDqPrh8h.js} +11480 -11341
- package/dist/chunks/{index-CXcv9meF.js → index-DBlG6tXU.js} +823 -815
- package/dist/chunks/{index-CqZqAVTy.js → index-DhrEMJA7.js} +100 -85
- package/dist/chunks/{lucide-react-BGARrakO.js → lucide-react-C4xsvjey.js} +722 -737
- package/dist/chunks/{lucide-react-BsoLm7gj.js → lucide-react-ihYr7LJ1.js} +6246 -6288
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +19 -19
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/dashboard.d.ts +21 -0
- package/dist/types/main.d.ts +21 -0
- package/dist/types/surfboard.d.ts +21 -0
- package/dist/types/types.d.ts +21 -0
- package/package.json +1 -1
- package/dist/chunks/index-BVCB1Ukm.js +0 -245
package/dist/types/types.d.ts
CHANGED
|
@@ -69,7 +69,13 @@ export declare type CustomCard = CardWithContent | CardWithFooter;
|
|
|
69
69
|
|
|
70
70
|
export declare type DashboardProps = {
|
|
71
71
|
id?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Auth token for the dashboard. Auth token grants access to the dashboard.
|
|
74
|
+
*/
|
|
72
75
|
authToken: AuthToken | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* Default filter values for the dashboard. The dashboard will be filtered by these values when the user loads the dashboard.
|
|
78
|
+
*/
|
|
73
79
|
defaultFilterValues?: {
|
|
74
80
|
filterId: string;
|
|
75
81
|
values: string[] | number[];
|
|
@@ -85,6 +91,10 @@ export declare type DashboardProps = {
|
|
|
85
91
|
onFilterValuesChange?: (filterValues: TFilterValue[]) => void;
|
|
86
92
|
LoadingComponent?: (props: LoadingProps) => React.ReactNode;
|
|
87
93
|
ErrorComponent?: (props: ErrorProps) => React.ReactNode;
|
|
94
|
+
/**
|
|
95
|
+
* Placeholders for the dashboard.
|
|
96
|
+
*/
|
|
97
|
+
placeholders?: Placeholders;
|
|
88
98
|
};
|
|
89
99
|
|
|
90
100
|
export declare type DateOptions = {
|
|
@@ -189,6 +199,17 @@ declare type Params = {
|
|
|
189
199
|
[key: string]: string | number | string[] | number[];
|
|
190
200
|
};
|
|
191
201
|
|
|
202
|
+
export declare type Placeholders = {
|
|
203
|
+
/**
|
|
204
|
+
* Placeholder for the card when there are no records to display.
|
|
205
|
+
*/
|
|
206
|
+
NoRecords?: React.ReactNode;
|
|
207
|
+
/**
|
|
208
|
+
* Placeholder for session expired. This is shown when the session has expired.
|
|
209
|
+
*/
|
|
210
|
+
SessionExpired?: React.ReactNode;
|
|
211
|
+
};
|
|
212
|
+
|
|
192
213
|
export declare type SqlGen = {
|
|
193
214
|
measures?: {
|
|
194
215
|
name: string;
|