meyi-insight-ui-dev 1.0.30 → 1.0.32
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/features/incidents/dashboard.d.ts +2 -1
- package/dist/features/incidents/index.d.ts +2 -1
- package/dist/hooks/useOpenIncidentCount.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +87 -87
- package/dist/index.mjs +6894 -6840
- package/dist/services/insight.d.ts +9 -2
- package/dist/style.css +1 -1
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export declare function InsightIncidentDashboardPage({ initialView, onViewIncident, onViewList, sourceTypes, }: {
|
|
1
|
+
export declare function InsightIncidentDashboardPage({ initialView, onViewIncident, onViewList, incidentType, sourceTypes, }: {
|
|
2
2
|
initialView?: "overview" | "analytics";
|
|
3
3
|
onViewIncident?: (id: string) => void;
|
|
4
4
|
onViewList?: () => void;
|
|
5
|
+
incidentType?: string;
|
|
5
6
|
sourceTypes?: string[];
|
|
6
7
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
onViewResult: (id: string) => void;
|
|
3
|
+
incidentType?: string;
|
|
3
4
|
sourceTypes?: string[];
|
|
4
5
|
}
|
|
5
|
-
export declare function InsightIncidentsPage({ onViewResult, sourceTypes }: Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function InsightIncidentsPage({ onViewResult, incidentType, sourceTypes }: Props): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function useOpenIncidentCount(intervalMs?: number): number | undefined;
|
|
1
|
+
export declare function useOpenIncidentCount(incidentType?: string, intervalMs?: number): number | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,12 +8,12 @@ export declare function getInsightNavItems(openIncidentCount?: number): ({
|
|
|
8
8
|
url: string;
|
|
9
9
|
icon: string;
|
|
10
10
|
roles: string[];
|
|
11
|
+
badge: string | undefined;
|
|
11
12
|
items: ({
|
|
12
13
|
title: string;
|
|
13
14
|
url: string;
|
|
14
15
|
icon: string;
|
|
15
16
|
roles: string[];
|
|
16
|
-
badge: string | undefined;
|
|
17
17
|
disabled?: undefined;
|
|
18
18
|
} | {
|
|
19
19
|
title: string;
|
|
@@ -21,13 +21,13 @@ export declare function getInsightNavItems(openIncidentCount?: number): ({
|
|
|
21
21
|
icon: string;
|
|
22
22
|
roles: string[];
|
|
23
23
|
disabled: boolean;
|
|
24
|
-
badge?: undefined;
|
|
25
24
|
})[];
|
|
26
25
|
} | {
|
|
27
26
|
title: string;
|
|
28
27
|
url: string;
|
|
29
28
|
icon: string;
|
|
30
29
|
roles: string[];
|
|
30
|
+
badge?: undefined;
|
|
31
31
|
items?: undefined;
|
|
32
32
|
})[];
|
|
33
33
|
export declare const insightNavItems: ({
|
|
@@ -35,12 +35,12 @@ export declare const insightNavItems: ({
|
|
|
35
35
|
url: string;
|
|
36
36
|
icon: string;
|
|
37
37
|
roles: string[];
|
|
38
|
+
badge: string | undefined;
|
|
38
39
|
items: ({
|
|
39
40
|
title: string;
|
|
40
41
|
url: string;
|
|
41
42
|
icon: string;
|
|
42
43
|
roles: string[];
|
|
43
|
-
badge: string | undefined;
|
|
44
44
|
disabled?: undefined;
|
|
45
45
|
} | {
|
|
46
46
|
title: string;
|
|
@@ -48,12 +48,12 @@ export declare const insightNavItems: ({
|
|
|
48
48
|
icon: string;
|
|
49
49
|
roles: string[];
|
|
50
50
|
disabled: boolean;
|
|
51
|
-
badge?: undefined;
|
|
52
51
|
})[];
|
|
53
52
|
} | {
|
|
54
53
|
title: string;
|
|
55
54
|
url: string;
|
|
56
55
|
icon: string;
|
|
57
56
|
roles: string[];
|
|
57
|
+
badge?: undefined;
|
|
58
58
|
items?: undefined;
|
|
59
59
|
})[];
|