@odigos/ui-kit 0.0.134 → 0.0.136
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/CHANGELOG.md +23 -0
- package/lib/chunks/ui-components-d05b354a.js +2050 -0
- package/lib/components/_v2/cards/data-card/index.d.ts +1 -0
- package/lib/components/_v2/cards/section-card/index.d.ts +1 -0
- package/lib/components/_v2/cli-command/index.d.ts +7 -0
- package/lib/components/_v2/icon-button/index.d.ts +2 -2
- package/lib/components/_v2/index.d.ts +1 -0
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/pipeline-collectors/pods-info/index.d.ts +1 -1
- package/lib/containers/v2.js +9 -5
- package/lib/containers.js +65 -65
- package/lib/functions/get-status-from-pod-status/index.d.ts +3 -2
- package/lib/functions.js +1 -1
- package/lib/hooks/useCopy.d.ts +10 -1
- package/lib/hooks.js +1 -1
- package/lib/icons.js +1 -1
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/pipeline-collectors/index.d.ts +46 -34
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +1 -1
- package/lib/chunks/ui-components-c87427ab.js +0 -2024
package/lib/snippets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{bh as AddButton,bQ as CopyText,bM as EditButton,bL as Flow,cN as MapItemNode,cO as NoDataNode,bi as NoteBackToSummary,bS as PodContainer,bW as SourceContainer}from"./chunks/ui-components-d05b354a.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"styled-components";import"@xyflow/react";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{cK as useActiveNodeStore,c4 as useDarkMode,aW as useDataStreamStore,a1 as useDrawerStore,a8 as useEntityStore,at as useFilterStore,aL as useInstrumentStore,af as useModalStore,a0 as useNotificationStore,$ as usePendingStore,aK as useSelectedStore,bd as useSetupStore}from"./chunks/ui-components-d05b354a.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"styled-components";import"@xyflow/react";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{T as default}from"./chunks/ui-components-
|
|
1
|
+
export{T as default}from"./chunks/ui-components-d05b354a.js";import"styled-components";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
|
@@ -14,6 +14,25 @@ export declare enum PodPhase {
|
|
|
14
14
|
Failed = "Failed",
|
|
15
15
|
Unknown = "Unknown"
|
|
16
16
|
}
|
|
17
|
+
export declare enum PodContainerStatus {
|
|
18
|
+
ContainerCreating = "ContainerCreating",
|
|
19
|
+
CrashLoopBackOff = "CrashLoopBackOff",
|
|
20
|
+
CreateContainerError = "CreateContainerError",
|
|
21
|
+
CreateContainerConfigError = "CreateContainerConfigError",
|
|
22
|
+
ErrImagePull = "ErrImagePull",
|
|
23
|
+
ErrImageNeverPull = "ErrImageNeverPull",
|
|
24
|
+
ImagePullBackOff = "ImagePullBackOff",
|
|
25
|
+
InvalidImageName = "InvalidImageName",
|
|
26
|
+
RegistryUnavailable = "RegistryUnavailable",
|
|
27
|
+
NetworkNotReady = "NetworkNotReady",
|
|
28
|
+
Running = "Running",
|
|
29
|
+
Completed = "Completed",
|
|
30
|
+
Error = "Error",
|
|
31
|
+
OOMKilled = "OOMKilled",
|
|
32
|
+
ContainerCannotRun = "ContainerCannotRun",
|
|
33
|
+
DeadlineExceeded = "DeadlineExceeded",
|
|
34
|
+
StartError = "StartError"
|
|
35
|
+
}
|
|
17
36
|
export declare enum PodContainerLifecycleStatus {
|
|
18
37
|
Running = "Running",
|
|
19
38
|
Waiting = "Waiting",
|
|
@@ -29,47 +48,41 @@ interface Resources {
|
|
|
29
48
|
memory: string;
|
|
30
49
|
};
|
|
31
50
|
}
|
|
51
|
+
interface HPA {
|
|
52
|
+
min: number;
|
|
53
|
+
max: number;
|
|
54
|
+
current: number;
|
|
55
|
+
desired: number;
|
|
56
|
+
conditions: Condition[];
|
|
57
|
+
}
|
|
58
|
+
interface Nodes {
|
|
59
|
+
desired: number;
|
|
60
|
+
ready: number;
|
|
61
|
+
}
|
|
32
62
|
export interface GatewayInfo {
|
|
33
63
|
status: WorkloadRolloutStatus;
|
|
34
|
-
hpa
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
desired: number;
|
|
39
|
-
conditions: Condition[];
|
|
40
|
-
};
|
|
41
|
-
resources: Resources;
|
|
42
|
-
imageVersion: string;
|
|
43
|
-
lastRolloutAt: string;
|
|
64
|
+
hpa?: HPA | null;
|
|
65
|
+
resources?: Resources | null;
|
|
66
|
+
imageVersion?: string | null;
|
|
67
|
+
lastRolloutAt?: string | null;
|
|
44
68
|
rolloutInProgress: boolean;
|
|
45
69
|
manifestYAML: string;
|
|
46
70
|
}
|
|
47
71
|
export interface NodeCollectoInfo {
|
|
48
72
|
status: WorkloadRolloutStatus;
|
|
49
|
-
nodes
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
resources: {
|
|
54
|
-
requests: {
|
|
55
|
-
cpu: string;
|
|
56
|
-
memory: string;
|
|
57
|
-
};
|
|
58
|
-
limits: {
|
|
59
|
-
cpu: string;
|
|
60
|
-
memory: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
imageVersion: string;
|
|
64
|
-
lastRolloutAt: string;
|
|
73
|
+
nodes?: Nodes | null;
|
|
74
|
+
resources?: Resources | null;
|
|
75
|
+
imageVersion?: string | null;
|
|
76
|
+
lastRolloutAt?: string | null;
|
|
65
77
|
rolloutInProgress: boolean;
|
|
66
78
|
manifestYAML: string;
|
|
67
79
|
}
|
|
68
80
|
export interface PodInfo {
|
|
69
81
|
namespace: string;
|
|
70
82
|
name: string;
|
|
71
|
-
ready:
|
|
72
|
-
|
|
83
|
+
ready: boolean;
|
|
84
|
+
started: boolean;
|
|
85
|
+
status: PodContainerStatus;
|
|
73
86
|
restartsCount: number;
|
|
74
87
|
nodeName: string;
|
|
75
88
|
creationTimestamp: string;
|
|
@@ -81,21 +94,20 @@ export type GetNodeCollectorInfo = () => Promise<NodeCollectoInfo | undefined>;
|
|
|
81
94
|
export type GetNodeCollectorPods = () => Promise<PodInfo[] | undefined>;
|
|
82
95
|
interface PodContainer {
|
|
83
96
|
name: string;
|
|
84
|
-
image
|
|
97
|
+
image?: string | null;
|
|
85
98
|
status: PodContainerLifecycleStatus;
|
|
86
|
-
stateReason
|
|
99
|
+
stateReason?: string | null;
|
|
87
100
|
ready: boolean;
|
|
88
101
|
restarts: number;
|
|
89
|
-
startedAt
|
|
102
|
+
startedAt?: string | null;
|
|
90
103
|
resources: Resources;
|
|
91
104
|
}
|
|
92
105
|
export interface ExtendedPodInfo {
|
|
93
106
|
namespace: string;
|
|
94
107
|
name: string;
|
|
108
|
+
node?: string | null;
|
|
95
109
|
status: PodPhase;
|
|
96
|
-
|
|
97
|
-
role: string | null;
|
|
98
|
-
containers: PodContainer[] | null;
|
|
110
|
+
containers: PodContainer[];
|
|
99
111
|
manifestYAML: string;
|
|
100
112
|
}
|
|
101
113
|
export type GetExtendedPodInfo = (namespace: string, name: string) => Promise<ExtendedPodInfo | undefined>;
|
package/lib/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{c9 as ActionCategory,E as ActionKeyTypes,A as ActionType,cl as AddNodeTypes,cc as BooleanOperation,bA as CodeAttributesKeyTypes,ae as Crud,by as CustomInstrumentationsKeyTypes,cm as DestinationTypes,ck as EdgeTypes,a7 as EntityTypes,R as FieldTypes,bz as GolangCustomProbe,bw as HeadersCollectionKeyTypes,H as InputTypes,cg as InstallationMethod,bC as InstrumentationRuleType,ch as IntrumentationStatus,bx as JavaCustomProbe,cd as JsonOperation,K as K8sAttributesFrom,bX as K8sResourceKind,bK as NodeTypes,cb as NumberOperation,cq as OdigosHealthStatus,bj as OtherEntityTypes,ar as OtherStatus,O as OtherStatusType,bB as PayloadCollectionKeyTypes,cf as PlatformType,cp as PodContainerLifecycleStatus,co as PodContainerStatus,cn as PodPhase,cj as Profile,bY as ProgrammingLanguages,bn as SignalType,ci as SortDirection,m as StatusType,ca as StringOperation,ce as Tier,W as WorkloadRolloutStatus}from"./chunks/ui-components-d05b354a.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"styled-components";import"@xyflow/react";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/visuals.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import o from"react";import t from"styled-components";import{OdigosLogo as s}from"./icons.js";import"./chunks/ui-components-
|
|
1
|
+
import o from"react";import t from"styled-components";import{OdigosLogo as s}from"./icons.js";import"./chunks/ui-components-d05b354a.js";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";const p=434,i=635,r=t.div`
|
|
2
2
|
width: ${434}px;
|
|
3
3
|
height: ${635}px;
|
|
4
4
|
display: flex;
|