@odigos/ui-kit 0.0.98 → 0.0.99
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 +13 -0
- package/bundle-analysis.html +4949 -0
- package/lib/chunks/ui-components-675457f7.js +1604 -0
- package/lib/chunks/vendor-56978108.js +1 -0
- package/lib/components.js +1 -163
- package/lib/constants.js +1 -9
- package/lib/containers.js +163 -5141
- package/lib/functions.js +1 -141
- package/lib/hooks.js +1 -649
- package/lib/icons.js +1 -187
- package/lib/snippets.js +1 -28
- package/lib/store/useDarkMode.d.ts +5 -3
- package/lib/store.js +1 -4
- package/lib/theme.js +1 -4
- package/lib/types.js +1 -369
- package/package.json +19 -13
- package/lib/index-0a77c1be.js +0 -11
- package/lib/index-195415d4.js +0 -676
- package/lib/index-1cb4f9e2.js +0 -20
- package/lib/index-5e5f7bda.js +0 -39
- package/lib/index-6a6bea6e.js +0 -37
- package/lib/index-77cf7846.js +0 -124
- package/lib/index-89edd01d.js +0 -1968
- package/lib/index-9475009f.js +0 -225
- package/lib/index-a3c0cecd.js +0 -36
- package/lib/index-c823fbfb.js +0 -342
- package/lib/index-c8b542d8.js +0 -38528
- package/lib/index-d8fb5fed.js +0 -138
- package/lib/index-f18c8530.js +0 -64
- package/lib/useTransition-159c9af8.js +0 -3598
package/lib/snippets.js
CHANGED
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { al as AddButton, aq as AddNode, ar as BaseNode, an as CopyText, as as EdgedNode, aj as Flow, at as FrameNode, au as HeaderNode, az as LabeledEdge, av as MapItemNode, aw as NoDataNode, ao as PodContainer, ax as ScrollNode, ay as SkeletonNode, ap as SourceContainer, ag as nodeConfig } from './index-c8b542d8.js';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { T as Theme, B as BUTTON_TEXTS, b as DISPLAY_TITLES } from './index-89edd01d.js';
|
|
5
|
-
import { E as EditIcon } from './index-d8fb5fed.js';
|
|
6
|
-
import { StatusType } from './types.js';
|
|
7
|
-
import 'styled-components';
|
|
8
|
-
import { I as InfoIcon } from './index-f18c8530.js';
|
|
9
|
-
import './index-5e5f7bda.js';
|
|
10
|
-
import './index-9475009f.js';
|
|
11
|
-
import 'react-dom';
|
|
12
|
-
import './useTransition-159c9af8.js';
|
|
13
|
-
|
|
14
|
-
const EditButton = ({ label, onClick, variant = 'tertiary', ...props }) => {
|
|
15
|
-
const theme = Theme.useTheme();
|
|
16
|
-
return (React.createElement(Button, { onClick: onClick, variant: variant, ...props },
|
|
17
|
-
React.createElement(EditIcon, { fill: variant === 'primary' ? theme.text.primary : theme.text.info }),
|
|
18
|
-
React.createElement(Text, { size: 14, family: 'secondary', decoration: 'underline', color: variant === 'primary' ? theme.text.primary : undefined }, label || BUTTON_TEXTS.EDIT)));
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
const NoteBackToSummary = ({ onClick }) => {
|
|
22
|
-
return (React.createElement(NotificationNote, { type: StatusType.Default, icon: InfoIcon, message: DISPLAY_TITLES.QUICK_BACK_TO_SUMMARY, action: {
|
|
23
|
-
label: DISPLAY_TITLES.GO_TO_SUMMARY,
|
|
24
|
-
onClick: onClick,
|
|
25
|
-
} }));
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export { EditButton, NoteBackToSummary };
|
|
1
|
+
export{aR as AddButton,ce as AddNode,cf as BaseNode,bn as CopyText,cg as EdgedNode,bk as EditButton,ay as Flow,ch as FrameNode,ci as HeaderNode,cn as LabeledEdge,cj as MapItemNode,ck as NoDataNode,aS as NoteBackToSummary,bp as PodContainer,cl as ScrollNode,cm as SkeletonNode,bt as SourceContainer,ak as nodeConfig}from"./chunks/ui-components-675457f7.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-56978108.js";import"styled-components";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
|
@@ -4,14 +4,16 @@ export interface DarkModeState {
|
|
|
4
4
|
export interface DarkModeStateSetters {
|
|
5
5
|
setDarkMode: (bool: boolean) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const useDarkMode: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<DarkModeState & DarkModeStateSetters>, "persist"> & {
|
|
7
|
+
export declare const useDarkMode: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<DarkModeState & DarkModeStateSetters>, "setState" | "persist"> & {
|
|
8
|
+
setState(partial: (DarkModeState & DarkModeStateSetters) | Partial<DarkModeState & DarkModeStateSetters> | ((state: DarkModeState & DarkModeStateSetters) => (DarkModeState & DarkModeStateSetters) | Partial<DarkModeState & DarkModeStateSetters>), replace?: false | undefined): unknown;
|
|
9
|
+
setState(state: (DarkModeState & DarkModeStateSetters) | ((state: DarkModeState & DarkModeStateSetters) => DarkModeState & DarkModeStateSetters), replace: true): unknown;
|
|
8
10
|
persist: {
|
|
9
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<DarkModeState & DarkModeStateSetters, unknown>>) => void;
|
|
11
|
+
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<DarkModeState & DarkModeStateSetters, unknown, unknown>>) => void;
|
|
10
12
|
clearStorage: () => void;
|
|
11
13
|
rehydrate: () => Promise<void> | void;
|
|
12
14
|
hasHydrated: () => boolean;
|
|
13
15
|
onHydrate: (fn: (state: DarkModeState & DarkModeStateSetters) => void) => () => void;
|
|
14
16
|
onFinishHydration: (fn: (state: DarkModeState & DarkModeStateSetters) => void) => () => void;
|
|
15
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<DarkModeState & DarkModeStateSetters, unknown>>;
|
|
17
|
+
getOptions: () => Partial<import("zustand/middleware").PersistOptions<DarkModeState & DarkModeStateSetters, unknown, unknown>>;
|
|
16
18
|
};
|
|
17
19
|
}>;
|
package/lib/store.js
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
import 'react';
|
|
3
|
-
import './types.js';
|
|
4
|
-
import 'styled-components';
|
|
1
|
+
export{cd as useActiveNodeStore,bH as useDarkMode,ar as useDataStreamStore,o as useDrawerStore,v as useEntityStore,a1 as useFilterStore,as as useInstrumentStore,L as useModalStore,n as useNotificationStore,u as usePendingStore,bg as useSelectedStore,a_ as useSetupStore}from"./chunks/ui-components-675457f7.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-56978108.js";import"styled-components";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/theme.js
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
import 'styled-components';
|
|
3
|
-
import 'react';
|
|
4
|
-
import './types.js';
|
|
1
|
+
export{T as default}from"./chunks/ui-components-675457f7.js";import"styled-components";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-56978108.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/types.js
CHANGED
|
@@ -1,369 +1 @@
|
|
|
1
|
-
|
|
2
|
-
(function (ActionCategory) {
|
|
3
|
-
ActionCategory["Attributes"] = "attributes";
|
|
4
|
-
ActionCategory["Samplers"] = "samplers";
|
|
5
|
-
})(ActionCategory || (ActionCategory = {}));
|
|
6
|
-
var ActionType;
|
|
7
|
-
(function (ActionType) {
|
|
8
|
-
ActionType["K8sAttributes"] = "K8sAttributesResolver";
|
|
9
|
-
ActionType["AddClusterInfo"] = "AddClusterInfo";
|
|
10
|
-
ActionType["DeleteAttributes"] = "DeleteAttribute";
|
|
11
|
-
ActionType["RenameAttributes"] = "RenameAttribute";
|
|
12
|
-
ActionType["PiiMasking"] = "PiiMasking";
|
|
13
|
-
ActionType["ErrorSampler"] = "ErrorSampler";
|
|
14
|
-
ActionType["ProbabilisticSampler"] = "ProbabilisticSampler";
|
|
15
|
-
ActionType["LatencySampler"] = "LatencySampler";
|
|
16
|
-
ActionType["ServiceNameSampler"] = "ServiceNameSampler";
|
|
17
|
-
ActionType["SpanAttributeSampler"] = "SpanAttributeSampler";
|
|
18
|
-
})(ActionType || (ActionType = {}));
|
|
19
|
-
var ActionKeyTypes;
|
|
20
|
-
(function (ActionKeyTypes) {
|
|
21
|
-
// K8sAttributes
|
|
22
|
-
ActionKeyTypes["CollectContainerAttributes"] = "collectContainerAttributes";
|
|
23
|
-
ActionKeyTypes["CollectReplicaSetAttributes"] = "collectReplicaSetAttributes";
|
|
24
|
-
ActionKeyTypes["CollectWorkloadId"] = "collectWorkloadId";
|
|
25
|
-
ActionKeyTypes["CollectClusterId"] = "collectClusterId";
|
|
26
|
-
ActionKeyTypes["LabelsAttributes"] = "labelsAttributes";
|
|
27
|
-
ActionKeyTypes["AnnotationsAttributes"] = "annotationsAttributes";
|
|
28
|
-
// AddClusterInfo
|
|
29
|
-
ActionKeyTypes["ClusterAttributes"] = "clusterAttributes";
|
|
30
|
-
ActionKeyTypes["OverwriteExistingValues"] = "overwriteExistingValues";
|
|
31
|
-
// DeleteAttributes
|
|
32
|
-
ActionKeyTypes["AttributeNamesToDelete"] = "attributeNamesToDelete";
|
|
33
|
-
// RenameAttributes
|
|
34
|
-
ActionKeyTypes["Renames"] = "renames";
|
|
35
|
-
// PiiMasking
|
|
36
|
-
ActionKeyTypes["PiiCategories"] = "piiCategories";
|
|
37
|
-
// ErrorSampler
|
|
38
|
-
ActionKeyTypes["FallbackSamplingRatio"] = "fallbackSamplingRatio";
|
|
39
|
-
// ProbabilisticSampler
|
|
40
|
-
ActionKeyTypes["SamplingPercentage"] = "samplingPercentage";
|
|
41
|
-
// LatencySampler
|
|
42
|
-
ActionKeyTypes["EndpointsFilters"] = "endpointsFilters";
|
|
43
|
-
// ServiceNameSampler
|
|
44
|
-
ActionKeyTypes["ServicesNameFilters"] = "servicesNameFilters";
|
|
45
|
-
// SpanAttributeSampler
|
|
46
|
-
ActionKeyTypes["AttributeFilters"] = "attributeFilters";
|
|
47
|
-
})(ActionKeyTypes || (ActionKeyTypes = {}));
|
|
48
|
-
var StringOperation;
|
|
49
|
-
(function (StringOperation) {
|
|
50
|
-
StringOperation["EXISTS"] = "exists";
|
|
51
|
-
StringOperation["EQUALS"] = "equals";
|
|
52
|
-
StringOperation["NOT_EQUALS"] = "not_equals";
|
|
53
|
-
StringOperation["CONTAINS"] = "contains";
|
|
54
|
-
StringOperation["NOT_CONTAINS"] = "not_contains";
|
|
55
|
-
StringOperation["REGEX"] = "regex";
|
|
56
|
-
})(StringOperation || (StringOperation = {}));
|
|
57
|
-
var NumberOperation;
|
|
58
|
-
(function (NumberOperation) {
|
|
59
|
-
NumberOperation["EXISTS"] = "exists";
|
|
60
|
-
NumberOperation["EQUALS"] = "equals";
|
|
61
|
-
NumberOperation["NOT_EQUALS"] = "not_equals";
|
|
62
|
-
NumberOperation["GREATER_THAN"] = "greater_than";
|
|
63
|
-
NumberOperation["LESS_THAN"] = "less_than";
|
|
64
|
-
NumberOperation["GREATER_THAN_OR_EQUAL"] = "greater_than_or_equal";
|
|
65
|
-
NumberOperation["LESS_THAN_OR_EQUAL"] = "less_than_or_equal";
|
|
66
|
-
})(NumberOperation || (NumberOperation = {}));
|
|
67
|
-
var BooleanOperation;
|
|
68
|
-
(function (BooleanOperation) {
|
|
69
|
-
BooleanOperation["EXISTS"] = "exists";
|
|
70
|
-
BooleanOperation["EQUALS"] = "equals";
|
|
71
|
-
})(BooleanOperation || (BooleanOperation = {}));
|
|
72
|
-
var JsonOperation;
|
|
73
|
-
(function (JsonOperation) {
|
|
74
|
-
JsonOperation["EXISTS"] = "exists";
|
|
75
|
-
JsonOperation["EQUALS"] = "equals";
|
|
76
|
-
JsonOperation["NOT_EQUALS"] = "not_equals";
|
|
77
|
-
JsonOperation["IS_VALID_JSON"] = "is_valid_json";
|
|
78
|
-
JsonOperation["IS_INVALID_JSON"] = "is_invalid_json";
|
|
79
|
-
JsonOperation["JSONPATH_EXISTS"] = "jsonpath_exists";
|
|
80
|
-
JsonOperation["KEY_EQUALS"] = "key_equals";
|
|
81
|
-
JsonOperation["KEY_NOT_EQUALS"] = "key_not_equals";
|
|
82
|
-
})(JsonOperation || (JsonOperation = {}));
|
|
83
|
-
|
|
84
|
-
var Tier;
|
|
85
|
-
(function (Tier) {
|
|
86
|
-
Tier["Community"] = "community";
|
|
87
|
-
Tier["Cloud"] = "cloud";
|
|
88
|
-
Tier["Onprem"] = "onprem";
|
|
89
|
-
})(Tier || (Tier = {}));
|
|
90
|
-
var PlatformType;
|
|
91
|
-
(function (PlatformType) {
|
|
92
|
-
PlatformType["K8s"] = "k8s";
|
|
93
|
-
PlatformType["Vm"] = "vm";
|
|
94
|
-
})(PlatformType || (PlatformType = {}));
|
|
95
|
-
var InstallationMethod;
|
|
96
|
-
(function (InstallationMethod) {
|
|
97
|
-
InstallationMethod["Cli"] = "odigos-cli";
|
|
98
|
-
InstallationMethod["Helm"] = "helm";
|
|
99
|
-
InstallationMethod["Operator"] = "odigos-operator";
|
|
100
|
-
})(InstallationMethod || (InstallationMethod = {}));
|
|
101
|
-
var ProgrammingLanguages;
|
|
102
|
-
(function (ProgrammingLanguages) {
|
|
103
|
-
ProgrammingLanguages["Go"] = "go";
|
|
104
|
-
ProgrammingLanguages["JavaScript"] = "javascript";
|
|
105
|
-
ProgrammingLanguages["Python"] = "python";
|
|
106
|
-
ProgrammingLanguages["Java"] = "java";
|
|
107
|
-
ProgrammingLanguages["DotNet"] = "dotnet";
|
|
108
|
-
ProgrammingLanguages["CSharp"] = "csharp";
|
|
109
|
-
ProgrammingLanguages["CPlusPlus"] = "cplusplus";
|
|
110
|
-
ProgrammingLanguages["Php"] = "php";
|
|
111
|
-
ProgrammingLanguages["Ruby"] = "ruby";
|
|
112
|
-
ProgrammingLanguages["Rust"] = "rust";
|
|
113
|
-
ProgrammingLanguages["Swift"] = "swift";
|
|
114
|
-
ProgrammingLanguages["Elixir"] = "elixir";
|
|
115
|
-
ProgrammingLanguages["MySql"] = "mysql";
|
|
116
|
-
ProgrammingLanguages["Nginx"] = "nginx";
|
|
117
|
-
ProgrammingLanguages["Postgres"] = "postgres";
|
|
118
|
-
ProgrammingLanguages["Redis"] = "redis";
|
|
119
|
-
ProgrammingLanguages["Kafka"] = "kafka";
|
|
120
|
-
ProgrammingLanguages["Ignored"] = "ignored";
|
|
121
|
-
ProgrammingLanguages["Unknown"] = "unknown";
|
|
122
|
-
ProgrammingLanguages["Processing"] = "processing";
|
|
123
|
-
ProgrammingLanguages["NoContainers"] = "no containers";
|
|
124
|
-
ProgrammingLanguages["NoRunningPods"] = "no running pods";
|
|
125
|
-
})(ProgrammingLanguages || (ProgrammingLanguages = {}));
|
|
126
|
-
var Crud;
|
|
127
|
-
(function (Crud) {
|
|
128
|
-
Crud["Create"] = "Create";
|
|
129
|
-
Crud["Read"] = "Read";
|
|
130
|
-
Crud["Update"] = "Update";
|
|
131
|
-
Crud["Delete"] = "Delete";
|
|
132
|
-
})(Crud || (Crud = {}));
|
|
133
|
-
var EntityTypes;
|
|
134
|
-
(function (EntityTypes) {
|
|
135
|
-
EntityTypes["Namespace"] = "Namespace";
|
|
136
|
-
EntityTypes["Source"] = "Source";
|
|
137
|
-
EntityTypes["Destination"] = "Destination";
|
|
138
|
-
EntityTypes["Action"] = "Action";
|
|
139
|
-
EntityTypes["InstrumentationRule"] = "InstrumentationRule";
|
|
140
|
-
})(EntityTypes || (EntityTypes = {}));
|
|
141
|
-
var OtherEntityTypes;
|
|
142
|
-
(function (OtherEntityTypes) {
|
|
143
|
-
OtherEntityTypes["DataStream"] = "DataStream";
|
|
144
|
-
})(OtherEntityTypes || (OtherEntityTypes = {}));
|
|
145
|
-
var FieldTypes;
|
|
146
|
-
(function (FieldTypes) {
|
|
147
|
-
FieldTypes["Input"] = "input";
|
|
148
|
-
FieldTypes["MultiInput"] = "multiInput";
|
|
149
|
-
FieldTypes["MultiTabledInput"] = "multiTabledInput";
|
|
150
|
-
FieldTypes["KeyValuePair"] = "keyValuePairs";
|
|
151
|
-
FieldTypes["TextArea"] = "textarea";
|
|
152
|
-
FieldTypes["Dropdown"] = "dropdown";
|
|
153
|
-
FieldTypes["Checkbox"] = "checkbox";
|
|
154
|
-
FieldTypes["Toggle"] = "toggle";
|
|
155
|
-
})(FieldTypes || (FieldTypes = {}));
|
|
156
|
-
var InputTypes;
|
|
157
|
-
(function (InputTypes) {
|
|
158
|
-
InputTypes["Text"] = "text";
|
|
159
|
-
InputTypes["Password"] = "password";
|
|
160
|
-
InputTypes["Number"] = "number";
|
|
161
|
-
})(InputTypes || (InputTypes = {}));
|
|
162
|
-
var StatusType;
|
|
163
|
-
(function (StatusType) {
|
|
164
|
-
StatusType["Warning"] = "warning";
|
|
165
|
-
StatusType["Error"] = "error";
|
|
166
|
-
StatusType["Success"] = "success";
|
|
167
|
-
StatusType["Info"] = "info";
|
|
168
|
-
StatusType["Default"] = "default";
|
|
169
|
-
})(StatusType || (StatusType = {}));
|
|
170
|
-
var IntrumentationStatus;
|
|
171
|
-
(function (IntrumentationStatus) {
|
|
172
|
-
IntrumentationStatus["INSTRUMENTED"] = "Instrumented";
|
|
173
|
-
IntrumentationStatus["INSTRUMENTING"] = "Instrumenting";
|
|
174
|
-
IntrumentationStatus["UNINSTRUMENTED"] = "Uninstrumented";
|
|
175
|
-
IntrumentationStatus["NOT_INSTRUMENTED"] = "Not Instrumented";
|
|
176
|
-
})(IntrumentationStatus || (IntrumentationStatus = {}));
|
|
177
|
-
var OtherStatus;
|
|
178
|
-
(function (OtherStatus) {
|
|
179
|
-
OtherStatus["Loading"] = "loading";
|
|
180
|
-
OtherStatus["Disabled"] = "disabled";
|
|
181
|
-
})(OtherStatus || (OtherStatus = {}));
|
|
182
|
-
var SortDirection;
|
|
183
|
-
(function (SortDirection) {
|
|
184
|
-
SortDirection["Ascending"] = "asc";
|
|
185
|
-
SortDirection["Descending"] = "desc";
|
|
186
|
-
})(SortDirection || (SortDirection = {}));
|
|
187
|
-
|
|
188
|
-
var Profile;
|
|
189
|
-
(function (Profile) {
|
|
190
|
-
// CategoryAttributes = 'category-attributes',
|
|
191
|
-
Profile["CodeAttributes"] = "code-attributes";
|
|
192
|
-
// CopyScope = 'copy-scope',
|
|
193
|
-
// HostnameAsPodname = 'hostname-as-podname',
|
|
194
|
-
Profile["FullPayloadCollection"] = "full-payload-collection";
|
|
195
|
-
Profile["DbPayloadCollection"] = "db-payload-collection";
|
|
196
|
-
Profile["QueryOperationDetector"] = "query-operation-detector";
|
|
197
|
-
// Semconv = 'semconv',
|
|
198
|
-
// ReduceSpanNameCardinality = 'reduce-span-name-cardinality',
|
|
199
|
-
Profile["AllowConcurrentAgents"] = "allow_concurrent_agents";
|
|
200
|
-
Profile["JavaEbpfInstrumentations"] = "java-ebpf-instrumentations";
|
|
201
|
-
Profile["JavaNativeInstrumentations"] = "java-native-instrumentations";
|
|
202
|
-
// LegacyDotnetInstrumentation = 'legacy-dotnet-instrumentation',
|
|
203
|
-
// MountMethodK8sHostPath = 'mount-method-k8s-host-path',
|
|
204
|
-
// MountMethodK8sVirtualDevice = 'mount-method-k8s-virtual-device',
|
|
205
|
-
// PodManifestEnvVarInjection = 'pod-manifest-env-var-injection',
|
|
206
|
-
// DisableGin = 'disable-gin',
|
|
207
|
-
// SmallBatches = 'small-batches',
|
|
208
|
-
Profile["SizeS"] = "size_s";
|
|
209
|
-
Profile["SizeM"] = "size_m";
|
|
210
|
-
Profile["SizeL"] = "size_l";
|
|
211
|
-
})(Profile || (Profile = {}));
|
|
212
|
-
var MountMethod;
|
|
213
|
-
(function (MountMethod) {
|
|
214
|
-
MountMethod["VirtualDevice"] = "VirtualDevice";
|
|
215
|
-
MountMethod["HostPath"] = "HostPath";
|
|
216
|
-
MountMethod["InitContainer"] = "InitContainer";
|
|
217
|
-
})(MountMethod || (MountMethod = {}));
|
|
218
|
-
var AgentEnvVarsInjectionMethod;
|
|
219
|
-
(function (AgentEnvVarsInjectionMethod) {
|
|
220
|
-
AgentEnvVarsInjectionMethod["Loader"] = "loader";
|
|
221
|
-
AgentEnvVarsInjectionMethod["PodManifest"] = "pod-manifest";
|
|
222
|
-
AgentEnvVarsInjectionMethod["LoaderFallbackToPodManifest"] = "loader-fallback-to-pod-manifest";
|
|
223
|
-
})(AgentEnvVarsInjectionMethod || (AgentEnvVarsInjectionMethod = {}));
|
|
224
|
-
|
|
225
|
-
var NodeTypes;
|
|
226
|
-
(function (NodeTypes) {
|
|
227
|
-
NodeTypes["Header"] = "header";
|
|
228
|
-
NodeTypes["Add"] = "add";
|
|
229
|
-
NodeTypes["Base"] = "base";
|
|
230
|
-
NodeTypes["Edged"] = "edged";
|
|
231
|
-
NodeTypes["Frame"] = "frame";
|
|
232
|
-
NodeTypes["Scroll"] = "scroll";
|
|
233
|
-
NodeTypes["Skeleton"] = "skeleton";
|
|
234
|
-
NodeTypes["MapItem"] = "map-item";
|
|
235
|
-
NodeTypes["NoData"] = "no-data";
|
|
236
|
-
})(NodeTypes || (NodeTypes = {}));
|
|
237
|
-
var EdgeTypes;
|
|
238
|
-
(function (EdgeTypes) {
|
|
239
|
-
EdgeTypes["Labeled"] = "labeled";
|
|
240
|
-
})(EdgeTypes || (EdgeTypes = {}));
|
|
241
|
-
var AddNodeTypes;
|
|
242
|
-
(function (AddNodeTypes) {
|
|
243
|
-
AddNodeTypes["AddRule"] = "addRule";
|
|
244
|
-
AddNodeTypes["AddSource"] = "addSource";
|
|
245
|
-
AddNodeTypes["AddAction"] = "addAction";
|
|
246
|
-
AddNodeTypes["AddDestination"] = "addDestination";
|
|
247
|
-
})(AddNodeTypes || (AddNodeTypes = {}));
|
|
248
|
-
|
|
249
|
-
var DestinationTypes;
|
|
250
|
-
(function (DestinationTypes) {
|
|
251
|
-
DestinationTypes["Alauda"] = "alauda";
|
|
252
|
-
DestinationTypes["AlibabaCloud"] = "alibabacloud";
|
|
253
|
-
DestinationTypes["AppDynamics"] = "appdynamics";
|
|
254
|
-
DestinationTypes["Axiom"] = "axiom";
|
|
255
|
-
DestinationTypes["AzureBlob"] = "azureblob";
|
|
256
|
-
DestinationTypes["BetterStack"] = "betterstack";
|
|
257
|
-
DestinationTypes["Bonree"] = "bonree";
|
|
258
|
-
DestinationTypes["Causely"] = "causely";
|
|
259
|
-
DestinationTypes["Checkly"] = "checkly";
|
|
260
|
-
DestinationTypes["Chronosphere"] = "chronosphere";
|
|
261
|
-
DestinationTypes["ClickHouse"] = "clickhouse";
|
|
262
|
-
DestinationTypes["CloudWatch"] = "cloudwatch";
|
|
263
|
-
DestinationTypes["Coralogix"] = "coralogix";
|
|
264
|
-
DestinationTypes["Dash0"] = "dash0";
|
|
265
|
-
DestinationTypes["Datadog"] = "datadog";
|
|
266
|
-
DestinationTypes["Dynamic"] = "dynamic";
|
|
267
|
-
DestinationTypes["Dynatrace"] = "dynatrace";
|
|
268
|
-
DestinationTypes["ElasticApm"] = "elasticapm";
|
|
269
|
-
DestinationTypes["ElasticSearch"] = "elasticsearch";
|
|
270
|
-
DestinationTypes["GoogleCloud"] = "googlecloud";
|
|
271
|
-
DestinationTypes["GrafanaCloudLoki"] = "grafanacloudloki";
|
|
272
|
-
DestinationTypes["GrafanaCloudPrometheus"] = "grafanacloudprometheus";
|
|
273
|
-
DestinationTypes["GrafanaCloudTempo"] = "grafanacloudtempo";
|
|
274
|
-
DestinationTypes["Greptime"] = "greptime";
|
|
275
|
-
DestinationTypes["Groundcover"] = "groundcover";
|
|
276
|
-
DestinationTypes["Honeycomb"] = "honeycomb";
|
|
277
|
-
DestinationTypes["HyperDX"] = "hyperdx";
|
|
278
|
-
DestinationTypes["Instana"] = "instana";
|
|
279
|
-
DestinationTypes["Jaeger"] = "jaeger";
|
|
280
|
-
DestinationTypes["Kafka"] = "kafka";
|
|
281
|
-
DestinationTypes["Kloudmate"] = "kloudmate";
|
|
282
|
-
DestinationTypes["Last9"] = "last9";
|
|
283
|
-
DestinationTypes["Lightstep"] = "lightstep";
|
|
284
|
-
DestinationTypes["LogzIo"] = "logzio";
|
|
285
|
-
DestinationTypes["Loki"] = "loki";
|
|
286
|
-
DestinationTypes["Lumigo"] = "lumigo";
|
|
287
|
-
DestinationTypes["Middleware"] = "middleware";
|
|
288
|
-
DestinationTypes["NewRelic"] = "newrelic";
|
|
289
|
-
DestinationTypes["Observe"] = "observe";
|
|
290
|
-
DestinationTypes["Odigos"] = "odigos";
|
|
291
|
-
DestinationTypes["OneUptime"] = "oneuptime";
|
|
292
|
-
DestinationTypes["OpenObserve"] = "openobserve";
|
|
293
|
-
DestinationTypes["Opsverse"] = "opsverse";
|
|
294
|
-
DestinationTypes["Oracle"] = "oracle";
|
|
295
|
-
DestinationTypes["OTLP"] = "otlp";
|
|
296
|
-
DestinationTypes["OTLPHttp"] = "otlphttp";
|
|
297
|
-
DestinationTypes["Prometheus"] = "prometheus";
|
|
298
|
-
DestinationTypes["Qryn"] = "qryn";
|
|
299
|
-
DestinationTypes["QrynOss"] = "qryn-oss";
|
|
300
|
-
DestinationTypes["Quickwit"] = "quickwit";
|
|
301
|
-
DestinationTypes["S3"] = "s3";
|
|
302
|
-
DestinationTypes["Seq"] = "seq";
|
|
303
|
-
DestinationTypes["Signoz"] = "signoz";
|
|
304
|
-
DestinationTypes["Splunk"] = "splunk";
|
|
305
|
-
DestinationTypes["SplunkSapm"] = "splunksapm";
|
|
306
|
-
DestinationTypes["SplunkOtlp"] = "splunkotlp";
|
|
307
|
-
DestinationTypes["SumoLogic"] = "sumologic";
|
|
308
|
-
DestinationTypes["TelemetryHub"] = "telemetryhub";
|
|
309
|
-
DestinationTypes["Tempo"] = "tempo";
|
|
310
|
-
DestinationTypes["Tingyun"] = "tingyun";
|
|
311
|
-
DestinationTypes["Traceloop"] = "traceloop";
|
|
312
|
-
DestinationTypes["Uptrace"] = "uptrace";
|
|
313
|
-
DestinationTypes["VictoriaMetrics"] = "victoriametrics";
|
|
314
|
-
DestinationTypes["VictoriaMetricsCloud"] = "victoriametricscloud";
|
|
315
|
-
DestinationTypes["XRay"] = "xray";
|
|
316
|
-
})(DestinationTypes || (DestinationTypes = {}));
|
|
317
|
-
|
|
318
|
-
var InstrumentationRuleType;
|
|
319
|
-
(function (InstrumentationRuleType) {
|
|
320
|
-
InstrumentationRuleType["CodeAttributes"] = "CodeAttributes";
|
|
321
|
-
InstrumentationRuleType["HeadersCollection"] = "HeadersCollection";
|
|
322
|
-
InstrumentationRuleType["PayloadCollection"] = "PayloadCollection";
|
|
323
|
-
InstrumentationRuleType["CustomInstrumentation"] = "CustomInstrumentation";
|
|
324
|
-
InstrumentationRuleType["UnknownType"] = "UnknownType";
|
|
325
|
-
})(InstrumentationRuleType || (InstrumentationRuleType = {}));
|
|
326
|
-
// Code Attributes for Instrumentation Rules
|
|
327
|
-
var CodeAttributesKeyTypes;
|
|
328
|
-
(function (CodeAttributesKeyTypes) {
|
|
329
|
-
CodeAttributesKeyTypes["Column"] = "column";
|
|
330
|
-
CodeAttributesKeyTypes["FilePath"] = "filePath";
|
|
331
|
-
CodeAttributesKeyTypes["Function"] = "function";
|
|
332
|
-
CodeAttributesKeyTypes["LineNumber"] = "lineNumber";
|
|
333
|
-
CodeAttributesKeyTypes["Namespace"] = "namespace";
|
|
334
|
-
CodeAttributesKeyTypes["StackTrace"] = "stacktrace";
|
|
335
|
-
})(CodeAttributesKeyTypes || (CodeAttributesKeyTypes = {}));
|
|
336
|
-
// Headers Collection for Instrumentation Rules
|
|
337
|
-
var HeadersCollectionKeyTypes;
|
|
338
|
-
(function (HeadersCollectionKeyTypes) {
|
|
339
|
-
HeadersCollectionKeyTypes["HeaderKeys"] = "headerKeys";
|
|
340
|
-
})(HeadersCollectionKeyTypes || (HeadersCollectionKeyTypes = {}));
|
|
341
|
-
// Custom Instrumentations for Instrumentation Rules
|
|
342
|
-
var CustomInstrumentationsKeyTypes;
|
|
343
|
-
(function (CustomInstrumentationsKeyTypes) {
|
|
344
|
-
CustomInstrumentationsKeyTypes["Probes"] = "probes";
|
|
345
|
-
})(CustomInstrumentationsKeyTypes || (CustomInstrumentationsKeyTypes = {}));
|
|
346
|
-
var PayloadCollectionKeyTypes;
|
|
347
|
-
(function (PayloadCollectionKeyTypes) {
|
|
348
|
-
PayloadCollectionKeyTypes["HttpRequest"] = "httpRequest";
|
|
349
|
-
PayloadCollectionKeyTypes["HttpResponse"] = "httpResponse";
|
|
350
|
-
PayloadCollectionKeyTypes["DbQuery"] = "dbQuery";
|
|
351
|
-
PayloadCollectionKeyTypes["Messaging"] = "messaging";
|
|
352
|
-
})(PayloadCollectionKeyTypes || (PayloadCollectionKeyTypes = {}));
|
|
353
|
-
|
|
354
|
-
var SignalType;
|
|
355
|
-
(function (SignalType) {
|
|
356
|
-
SignalType["Logs"] = "logs";
|
|
357
|
-
SignalType["Metrics"] = "metrics";
|
|
358
|
-
SignalType["Traces"] = "traces";
|
|
359
|
-
})(SignalType || (SignalType = {}));
|
|
360
|
-
|
|
361
|
-
var K8sResourceKind;
|
|
362
|
-
(function (K8sResourceKind) {
|
|
363
|
-
K8sResourceKind["Deployment"] = "Deployment";
|
|
364
|
-
K8sResourceKind["DaemonSet"] = "DaemonSet";
|
|
365
|
-
K8sResourceKind["StatefulSet"] = "StatefulSet";
|
|
366
|
-
K8sResourceKind["CronJob"] = "CronJob";
|
|
367
|
-
})(K8sResourceKind || (K8sResourceKind = {}));
|
|
368
|
-
|
|
369
|
-
export { ActionCategory, ActionKeyTypes, ActionType, AddNodeTypes, AgentEnvVarsInjectionMethod, BooleanOperation, CodeAttributesKeyTypes, Crud, CustomInstrumentationsKeyTypes, DestinationTypes, EdgeTypes, EntityTypes, FieldTypes, HeadersCollectionKeyTypes, InputTypes, InstallationMethod, InstrumentationRuleType, IntrumentationStatus, JsonOperation, K8sResourceKind, MountMethod, NodeTypes, NumberOperation, OtherEntityTypes, OtherStatus, PayloadCollectionKeyTypes, PlatformType, Profile, ProgrammingLanguages, SignalType, SortDirection, StatusType, StringOperation, Tier };
|
|
1
|
+
export{bM as ActionCategory,c as ActionKeyTypes,A as ActionType,al as AddNodeTypes,bE as AgentEnvVarsInjectionMethod,bP as BooleanOperation,b8 as CodeAttributesKeyTypes,H as Crud,b7 as CustomInstrumentationsKeyTypes,bW as DestinationTypes,aj as EdgeTypes,E as EntityTypes,h as FieldTypes,b6 as HeadersCollectionKeyTypes,d as InputTypes,bG as InstallationMethod,ba as InstrumentationRuleType,bU as IntrumentationStatus,bQ as JsonOperation,bu as K8sResourceKind,bD as MountMethod,ah as NodeTypes,bO as NumberOperation,bT as OtherEntityTypes,$ as OtherStatus,b9 as PayloadCollectionKeyTypes,bS as PlatformType,bF as Profile,bv as ProgrammingLanguages,aX as SignalType,bV as SortDirection,t as StatusType,bN as StringOperation,bR as Tier}from"./chunks/ui-components-675457f7.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-56978108.js";import"styled-components";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odigos/ui-kit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.99",
|
|
4
4
|
"author": "Odigos",
|
|
5
|
+
"license": "MIT",
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
7
8
|
"url": "git+https://github.com/odigos-io/ui-kit.git"
|
|
@@ -9,8 +10,10 @@
|
|
|
9
10
|
"scripts": {
|
|
10
11
|
"dev": "storybook dev -p 6006",
|
|
11
12
|
"prebuild": "rm -rf lib",
|
|
12
|
-
"build": "rollup -c --bundleConfigAsCjs",
|
|
13
|
+
"build": "NODE_ENV=production rollup -c --bundleConfigAsCjs",
|
|
14
|
+
"build:analyze": "NODE_ENV=production rollup -c --bundleConfigAsCjs && open bundle-analysis.html",
|
|
13
15
|
"watch": "rollup -c --bundleConfigAsCjs -w",
|
|
16
|
+
"size": "NODE_ENV=production rollup -c --bundleConfigAsCjs --silent",
|
|
14
17
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --ignore-pattern ./lib --ignore-pattern ./node_modules"
|
|
15
18
|
},
|
|
16
19
|
"release": {
|
|
@@ -85,7 +88,7 @@
|
|
|
85
88
|
"zustand": "^5.0.6"
|
|
86
89
|
},
|
|
87
90
|
"dependencies": {
|
|
88
|
-
"@xyflow/react": "^12.8.
|
|
91
|
+
"@xyflow/react": "^12.8.4",
|
|
89
92
|
"javascript-time-ago": "^2.5.11",
|
|
90
93
|
"lottie-react": "^2.4.1",
|
|
91
94
|
"prism-react-renderer": "^2.4.1",
|
|
@@ -93,7 +96,7 @@
|
|
|
93
96
|
"react-dom": "^19.1.1",
|
|
94
97
|
"react-error-boundary": "^6.0.0",
|
|
95
98
|
"styled-components": "^6.1.19",
|
|
96
|
-
"zustand": "^5.0.
|
|
99
|
+
"zustand": "^5.0.8"
|
|
97
100
|
},
|
|
98
101
|
"devDependencies": {
|
|
99
102
|
"@babel/core": "^7.28.3",
|
|
@@ -104,23 +107,26 @@
|
|
|
104
107
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
105
108
|
"@rollup/plugin-json": "^6.1.0",
|
|
106
109
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
110
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
107
111
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
108
|
-
"@storybook/addon-docs": "^9.1.
|
|
112
|
+
"@storybook/addon-docs": "^9.1.3",
|
|
109
113
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.6",
|
|
110
|
-
"@storybook/react-webpack5": "9.1.
|
|
114
|
+
"@storybook/react-webpack5": "9.1.3",
|
|
111
115
|
"@types/node": "^24.3.0",
|
|
112
|
-
"@types/react": "^19.1.
|
|
113
|
-
"@types/react-dom": "^19.1.
|
|
116
|
+
"@types/react": "^19.1.12",
|
|
117
|
+
"@types/react-dom": "^19.1.8",
|
|
114
118
|
"babel-loader": "^10.0.0",
|
|
115
119
|
"babel-plugin-styled-components": "^2.1.4",
|
|
116
|
-
"eslint": "^9.
|
|
117
|
-
"eslint-config-next": "^15.
|
|
118
|
-
"eslint-plugin-storybook": "9.1.
|
|
119
|
-
"next": "^15.
|
|
120
|
+
"eslint": "^9.34.0",
|
|
121
|
+
"eslint-config-next": "^15.5.2",
|
|
122
|
+
"eslint-plugin-storybook": "9.1.3",
|
|
123
|
+
"next": "^15.5.2",
|
|
120
124
|
"postcss": "^8.5.6",
|
|
121
125
|
"rollup": "^3.29.4",
|
|
126
|
+
"rollup-plugin-filesize": "^10.0.0",
|
|
122
127
|
"rollup-plugin-postcss": "^4.0.2",
|
|
123
|
-
"
|
|
128
|
+
"rollup-plugin-visualizer": "^6.0.3",
|
|
129
|
+
"storybook": "9.1.3",
|
|
124
130
|
"typescript": "^5.9.2"
|
|
125
131
|
}
|
|
126
132
|
}
|
package/lib/index-0a77c1be.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { T as Theme } from './index-89edd01d.js';
|
|
3
|
-
|
|
4
|
-
const VmLogo = ({ size = 16, fill: f, rotate = 0, onClick, strokeWidth = 1 }) => {
|
|
5
|
-
const theme = Theme.useTheme();
|
|
6
|
-
const fill = f || theme.text.secondary;
|
|
7
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 14 14', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
8
|
-
React.createElement("path", { stroke: fill, strokeWidth: strokeWidth, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M7 7.00016V12.5418M7 7.00016L1.94814 4.30969M7 7.00016L12.0519 4.30969M7 12.5418C7.12674 12.5418 7.25347 12.5291 7.37812 12.5037C7.65987 12.4463 7.92489 12.2996 8.45492 12.0063L10.7951 10.7111C11.3251 10.4177 11.5901 10.2711 11.7829 10.0659C11.9534 9.8843 12.0822 9.6704 12.161 9.43804C12.25 9.17542 12.25 8.88207 12.25 8.29536V5.70497C12.25 5.11826 12.25 4.82491 12.161 4.56229C12.1315 4.47526 12.095 4.39081 12.0519 4.30969M7 12.5418C6.87326 12.5418 6.74653 12.5291 6.62188 12.5037C6.34013 12.4463 6.07511 12.2996 5.54508 12.0063L3.20492 10.7111C2.67489 10.4177 2.40987 10.2711 2.21713 10.0659C2.04659 9.8843 1.91777 9.6704 1.83901 9.43804C1.75 9.17542 1.75 8.88207 1.75 8.29536V5.70497C1.75 5.11826 1.75 4.82491 1.83901 4.56229C1.86851 4.47526 1.90503 4.39081 1.94814 4.30969M12.0519 4.30969C11.9799 4.17423 11.8895 4.04802 11.7829 3.93447C11.5901 3.72926 11.3251 3.58258 10.7951 3.28923L8.45492 1.99404C7.92489 1.70068 7.65987 1.554 7.37812 1.49659C7.12882 1.4458 6.87117 1.4458 6.62188 1.49659C6.34013 1.554 6.07511 1.70068 5.54508 1.99404L3.20492 3.28923C2.67489 3.58258 2.40987 3.72926 2.21713 3.93447C2.11047 4.04802 2.02013 4.17423 1.94814 4.30969' })));
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { VmLogo as V };
|