@odigos/ui-kit 0.0.17 → 0.0.19
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 +15 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/scroll-x/index.d.ts +10 -0
- package/lib/components.js +13 -44
- package/lib/constants.js +5 -9
- package/lib/containers/data-flow/nodes/scroll-node.d.ts +3 -14
- package/lib/containers.js +42 -94
- package/lib/functions.js +9 -15
- package/lib/hooks.js +10 -10
- package/lib/icons.js +3 -4
- package/lib/{index-Hz7AAE0t.js → index-7-KCQK-x.js} +1 -1
- package/lib/{index-G4WmxXds.js → index-BFRz3l_w.js} +21 -4
- package/lib/index-BazfJyRh.js +687 -0
- package/lib/{index-C3nz3TIx.js → index-CD_BQJCD.js} +5 -3
- package/lib/{index-BiNX-Cge.js → index-CvuVOtkr.js} +154 -119
- package/lib/{index-CIXQeSHu.js → index-DGel4E-Z.js} +8 -1
- package/lib/{index-BQW5EUgp.js → index-DSzybApb.js} +6 -4
- package/lib/{index-BxQTUOME.js → index-WSle42rz.js} +5 -3
- package/lib/store.js +3 -6
- package/lib/theme.js +3 -86
- package/lib/types.js +215 -6
- package/lib/useSourceSelectionFormData-_2PggiXn.js +563 -0
- package/lib/{useTimeAgo-weEj7br6.js → useTransition-bXMKBfST.js} +113 -544
- package/package.json +1 -2
- package/lib/index-B72aw6tI.js +0 -23
- package/lib/index-BQs4sULy.js +0 -32
- package/lib/index-BVVVevuY.js +0 -100
- package/lib/index-BWqrekK4.js +0 -11
- package/lib/index-C1PCuZgw.js +0 -18
- package/lib/index-CIgHU72d.js +0 -52
- package/lib/index-DbfrGXPH.js +0 -8
- package/lib/index-RBS1MqCQ.js +0 -37
- package/lib/react-CjImwkhV.js +0 -44
- package/lib/useDarkMode-DxhIuVNi.js +0 -201
- package/lib/useSelectedStore-93bIo1kE.js +0 -97
- package/lib/useSetupStore-CoYx1UQw.js +0 -211
- package/lib/useTransition-D0wUpPGk.js +0 -128
package/lib/store.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export { u as useDarkMode } from './
|
|
2
|
-
|
|
3
|
-
export { u as useFilterStore, a as useInstrumentStore, b as usePendingStore, c as useSelectedStore } from './useSelectedStore-93bIo1kE.js';
|
|
4
|
-
import './react-CjImwkhV.js';
|
|
1
|
+
export { u as useDarkMode, a as useDrawerStore, b as useEntityStore, c as useFilterStore, d as useInstrumentStore, e as useModalStore, f as useNotificationStore, g as usePendingStore, h as useSelectedStore, i as useSetupStore } from './index-BazfJyRh.js';
|
|
2
|
+
import './types.js';
|
|
5
3
|
import 'react';
|
|
6
|
-
import '
|
|
7
|
-
import './index-BVVVevuY.js';
|
|
4
|
+
import 'styled-components';
|
package/lib/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import './
|
|
2
|
+
import { u as useDarkMode, l as animations } from './index-BazfJyRh.js';
|
|
3
|
+
import { ThemeProvider, useTheme } from 'styled-components';
|
|
4
|
+
import './types.js';
|
|
5
5
|
|
|
6
6
|
const baseTheme = {
|
|
7
7
|
colors: {
|
|
@@ -229,89 +229,6 @@ var opacity = /*#__PURE__*/Object.freeze({
|
|
|
229
229
|
hex: hex
|
|
230
230
|
});
|
|
231
231
|
|
|
232
|
-
const slide = {
|
|
233
|
-
in: {
|
|
234
|
-
left: keyframes `
|
|
235
|
-
from { transform: translateX(-100%); }
|
|
236
|
-
to { transform: translateX(0); }
|
|
237
|
-
`,
|
|
238
|
-
right: keyframes `
|
|
239
|
-
from { transform: translateX(100%); }
|
|
240
|
-
to { transform: translateX(0); }
|
|
241
|
-
`,
|
|
242
|
-
top: keyframes `
|
|
243
|
-
from { transform: translateY(-100%); }
|
|
244
|
-
to { transform: translateY(0); }
|
|
245
|
-
`,
|
|
246
|
-
bottom: keyframes `
|
|
247
|
-
from { transform: translateY(100%); }
|
|
248
|
-
to { transform: translateY(0); }
|
|
249
|
-
`,
|
|
250
|
-
center: keyframes `
|
|
251
|
-
from { transform: translate(-50%, 100%); }
|
|
252
|
-
to { transform: translate(-50%, -50%); }
|
|
253
|
-
`,
|
|
254
|
-
},
|
|
255
|
-
out: {
|
|
256
|
-
left: keyframes `
|
|
257
|
-
from { transform: translateX(0); }
|
|
258
|
-
to { transform: translateX(-100%); }
|
|
259
|
-
`,
|
|
260
|
-
right: keyframes `
|
|
261
|
-
from { transform: translateX(0); }
|
|
262
|
-
to { transform: translateX(100%); }
|
|
263
|
-
`,
|
|
264
|
-
top: keyframes `
|
|
265
|
-
from { transform: translateY(0); }
|
|
266
|
-
to { transform: translateY(-100%); }
|
|
267
|
-
`,
|
|
268
|
-
bottom: keyframes `
|
|
269
|
-
from { transform: translateY(0); }
|
|
270
|
-
to { transform: translateY(100%); }
|
|
271
|
-
`,
|
|
272
|
-
center: keyframes `
|
|
273
|
-
from { transform: translate(-50%, -50%); }
|
|
274
|
-
to { transform: translate(-50%, 100%); }
|
|
275
|
-
`,
|
|
276
|
-
},
|
|
277
|
-
};
|
|
278
|
-
const progress = {
|
|
279
|
-
in: keyframes `
|
|
280
|
-
from { width: 0%; }
|
|
281
|
-
to { width: 100%; }
|
|
282
|
-
`,
|
|
283
|
-
out: keyframes `
|
|
284
|
-
from { width: 100%; }
|
|
285
|
-
to { width: 0%; }
|
|
286
|
-
`,
|
|
287
|
-
};
|
|
288
|
-
const ping = keyframes `
|
|
289
|
-
0% {
|
|
290
|
-
transform: scale(1);
|
|
291
|
-
opacity: 1;
|
|
292
|
-
}
|
|
293
|
-
75%, 100% {
|
|
294
|
-
transform: scale(2);
|
|
295
|
-
opacity: 0;
|
|
296
|
-
}
|
|
297
|
-
`;
|
|
298
|
-
const shimmer = keyframes `
|
|
299
|
-
0% {
|
|
300
|
-
background-position: -500px 0;
|
|
301
|
-
}
|
|
302
|
-
100% {
|
|
303
|
-
background-position: 500px 0;
|
|
304
|
-
}
|
|
305
|
-
`;
|
|
306
|
-
|
|
307
|
-
var animations = /*#__PURE__*/Object.freeze({
|
|
308
|
-
__proto__: null,
|
|
309
|
-
ping: ping,
|
|
310
|
-
progress: progress,
|
|
311
|
-
shimmer: shimmer,
|
|
312
|
-
slide: slide
|
|
313
|
-
});
|
|
314
|
-
|
|
315
232
|
const Theme = {
|
|
316
233
|
Provider,
|
|
317
234
|
useTheme: useTheme,
|
package/lib/types.js
CHANGED
|
@@ -1,8 +1,217 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
var ActionType;
|
|
2
|
+
(function (ActionType) {
|
|
3
|
+
ActionType["K8sAttributes"] = "K8sAttributesResolver";
|
|
4
|
+
ActionType["AddClusterInfo"] = "AddClusterInfo";
|
|
5
|
+
ActionType["DeleteAttributes"] = "DeleteAttribute";
|
|
6
|
+
ActionType["RenameAttributes"] = "RenameAttribute";
|
|
7
|
+
ActionType["ErrorSampler"] = "ErrorSampler";
|
|
8
|
+
ActionType["ProbabilisticSampler"] = "ProbabilisticSampler";
|
|
9
|
+
ActionType["LatencySampler"] = "LatencySampler";
|
|
10
|
+
ActionType["PiiMasking"] = "PiiMasking";
|
|
11
|
+
})(ActionType || (ActionType = {}));
|
|
12
|
+
|
|
13
|
+
var Tier;
|
|
14
|
+
(function (Tier) {
|
|
15
|
+
Tier["Community"] = "community";
|
|
16
|
+
Tier["Cloud"] = "cloud";
|
|
17
|
+
Tier["Onprem"] = "onprem";
|
|
18
|
+
})(Tier || (Tier = {}));
|
|
19
|
+
var PlatformType;
|
|
20
|
+
(function (PlatformType) {
|
|
21
|
+
PlatformType["K8s"] = "k8s";
|
|
22
|
+
PlatformType["Vm"] = "vm";
|
|
23
|
+
})(PlatformType || (PlatformType = {}));
|
|
24
|
+
var ProgrammingLanguages;
|
|
25
|
+
(function (ProgrammingLanguages) {
|
|
26
|
+
ProgrammingLanguages["Go"] = "go";
|
|
27
|
+
ProgrammingLanguages["JavaScript"] = "javascript";
|
|
28
|
+
ProgrammingLanguages["Python"] = "python";
|
|
29
|
+
ProgrammingLanguages["Java"] = "java";
|
|
30
|
+
ProgrammingLanguages["DotNet"] = "dotnet";
|
|
31
|
+
ProgrammingLanguages["CSharp"] = "csharp";
|
|
32
|
+
ProgrammingLanguages["CPlusPlus"] = "cplusplus";
|
|
33
|
+
ProgrammingLanguages["Php"] = "php";
|
|
34
|
+
ProgrammingLanguages["Ruby"] = "ruby";
|
|
35
|
+
ProgrammingLanguages["Rust"] = "rust";
|
|
36
|
+
ProgrammingLanguages["Swift"] = "swift";
|
|
37
|
+
ProgrammingLanguages["Elixir"] = "elixir";
|
|
38
|
+
ProgrammingLanguages["MySql"] = "mysql";
|
|
39
|
+
ProgrammingLanguages["Nginx"] = "nginx";
|
|
40
|
+
ProgrammingLanguages["Postgres"] = "postgres";
|
|
41
|
+
ProgrammingLanguages["Redis"] = "redis";
|
|
42
|
+
ProgrammingLanguages["Kafka"] = "kafka";
|
|
43
|
+
ProgrammingLanguages["Ignored"] = "ignored";
|
|
44
|
+
ProgrammingLanguages["Unknown"] = "unknown";
|
|
45
|
+
ProgrammingLanguages["Processing"] = "processing";
|
|
46
|
+
ProgrammingLanguages["NoContainers"] = "no containers";
|
|
47
|
+
ProgrammingLanguages["NoRunningPods"] = "no running pods";
|
|
48
|
+
})(ProgrammingLanguages || (ProgrammingLanguages = {}));
|
|
49
|
+
var Crud;
|
|
50
|
+
(function (Crud) {
|
|
51
|
+
Crud["Create"] = "Create";
|
|
52
|
+
Crud["Read"] = "Read";
|
|
53
|
+
Crud["Update"] = "Update";
|
|
54
|
+
Crud["Delete"] = "Delete";
|
|
55
|
+
})(Crud || (Crud = {}));
|
|
56
|
+
var EntityTypes;
|
|
57
|
+
(function (EntityTypes) {
|
|
58
|
+
EntityTypes["Namespace"] = "Namespace";
|
|
59
|
+
EntityTypes["Source"] = "Source";
|
|
60
|
+
EntityTypes["Destination"] = "Destination";
|
|
61
|
+
EntityTypes["Action"] = "Action";
|
|
62
|
+
EntityTypes["InstrumentationRule"] = "InstrumentationRule";
|
|
63
|
+
})(EntityTypes || (EntityTypes = {}));
|
|
64
|
+
var FieldTypes;
|
|
65
|
+
(function (FieldTypes) {
|
|
66
|
+
FieldTypes["Input"] = "input";
|
|
67
|
+
FieldTypes["MultiInput"] = "multiInput";
|
|
68
|
+
FieldTypes["MultiTabledInput"] = "multiTabledInput";
|
|
69
|
+
FieldTypes["KeyValuePair"] = "keyValuePairs";
|
|
70
|
+
FieldTypes["TextArea"] = "textarea";
|
|
71
|
+
FieldTypes["Dropdown"] = "dropdown";
|
|
72
|
+
FieldTypes["Checkbox"] = "checkbox";
|
|
73
|
+
FieldTypes["Toggle"] = "toggle";
|
|
74
|
+
})(FieldTypes || (FieldTypes = {}));
|
|
75
|
+
var CrdTypes;
|
|
76
|
+
(function (CrdTypes) {
|
|
77
|
+
CrdTypes["OdigosConfig"] = "OdigosConfiguration";
|
|
78
|
+
CrdTypes["CollectorsGroup"] = "CollectorsGroup";
|
|
79
|
+
CrdTypes["Source"] = "Source";
|
|
80
|
+
CrdTypes["InstrumentationConfig"] = "InstrumentationConfig";
|
|
81
|
+
CrdTypes["InstrumentationInstance"] = "InstrumentationInstance";
|
|
82
|
+
CrdTypes["Destination"] = "Destination";
|
|
83
|
+
CrdTypes["InstrumentationRule"] = "InstrumentationRule";
|
|
84
|
+
CrdTypes["Processor"] = "Processor";
|
|
85
|
+
CrdTypes["AddClusterInfo"] = "AddClusterInfo";
|
|
86
|
+
CrdTypes["DeleteAttributes"] = "DeleteAttribute";
|
|
87
|
+
CrdTypes["RenameAttributes"] = "RenameAttribute";
|
|
88
|
+
CrdTypes["PiiMasking"] = "PiiMasking";
|
|
89
|
+
CrdTypes["ErrorSampler"] = "ErrorSampler";
|
|
90
|
+
CrdTypes["LatencySampler"] = "LatencySampler";
|
|
91
|
+
CrdTypes["ProbabilisticSampler"] = "ProbabilisticSampler";
|
|
92
|
+
})(CrdTypes || (CrdTypes = {}));
|
|
93
|
+
var StatusType;
|
|
94
|
+
(function (StatusType) {
|
|
95
|
+
StatusType["Warning"] = "warning";
|
|
96
|
+
StatusType["Error"] = "error";
|
|
97
|
+
StatusType["Success"] = "success";
|
|
98
|
+
StatusType["Info"] = "info";
|
|
99
|
+
StatusType["Default"] = "default";
|
|
100
|
+
})(StatusType || (StatusType = {}));
|
|
101
|
+
var OtherStatus;
|
|
102
|
+
(function (OtherStatus) {
|
|
103
|
+
OtherStatus["Loading"] = "loading";
|
|
104
|
+
OtherStatus["Disabled"] = "disabled";
|
|
105
|
+
})(OtherStatus || (OtherStatus = {}));
|
|
106
|
+
var SortDirection;
|
|
107
|
+
(function (SortDirection) {
|
|
108
|
+
SortDirection["Ascending"] = "asc";
|
|
109
|
+
SortDirection["Descending"] = "desc";
|
|
110
|
+
})(SortDirection || (SortDirection = {}));
|
|
111
|
+
|
|
112
|
+
var NodeTypes;
|
|
113
|
+
(function (NodeTypes) {
|
|
114
|
+
NodeTypes["Header"] = "header";
|
|
115
|
+
NodeTypes["Add"] = "add";
|
|
116
|
+
NodeTypes["Base"] = "base";
|
|
117
|
+
NodeTypes["Edged"] = "edged";
|
|
118
|
+
NodeTypes["Frame"] = "frame";
|
|
119
|
+
NodeTypes["Scroll"] = "scroll";
|
|
120
|
+
NodeTypes["Skeleton"] = "skeleton";
|
|
121
|
+
})(NodeTypes || (NodeTypes = {}));
|
|
122
|
+
var EdgeTypes;
|
|
123
|
+
(function (EdgeTypes) {
|
|
124
|
+
EdgeTypes["Labeled"] = "labeled";
|
|
125
|
+
})(EdgeTypes || (EdgeTypes = {}));
|
|
126
|
+
var AddNodeTypes;
|
|
127
|
+
(function (AddNodeTypes) {
|
|
128
|
+
AddNodeTypes["AddRule"] = "addRule";
|
|
129
|
+
AddNodeTypes["AddSource"] = "addSource";
|
|
130
|
+
AddNodeTypes["AddAction"] = "addAction";
|
|
131
|
+
AddNodeTypes["AddDestination"] = "addDestination";
|
|
132
|
+
})(AddNodeTypes || (AddNodeTypes = {}));
|
|
133
|
+
|
|
134
|
+
var DestinationTypes;
|
|
135
|
+
(function (DestinationTypes) {
|
|
136
|
+
DestinationTypes["AppDynamics"] = "appdynamics";
|
|
137
|
+
DestinationTypes["Axiom"] = "axiom";
|
|
138
|
+
DestinationTypes["AzureBlob"] = "azureblob";
|
|
139
|
+
DestinationTypes["BetterStack"] = "betterstack";
|
|
140
|
+
DestinationTypes["Causely"] = "causely";
|
|
141
|
+
DestinationTypes["Chronosphere"] = "chronosphere";
|
|
142
|
+
DestinationTypes["ClickHouse"] = "clickhouse";
|
|
143
|
+
DestinationTypes["CloudWatch"] = "cloudwatch";
|
|
144
|
+
DestinationTypes["Coralogix"] = "coralogix";
|
|
145
|
+
DestinationTypes["Dash0"] = "dash0";
|
|
146
|
+
DestinationTypes["Datadog"] = "datadog";
|
|
147
|
+
DestinationTypes["Dynatrace"] = "dynatrace";
|
|
148
|
+
DestinationTypes["ElasticApm"] = "elasticapm";
|
|
149
|
+
DestinationTypes["ElasticSearch"] = "elasticsearch";
|
|
150
|
+
DestinationTypes["GoogleCloud"] = "googlecloud";
|
|
151
|
+
DestinationTypes["GrafanaCloudLoki"] = "grafanacloudloki";
|
|
152
|
+
DestinationTypes["GrafanaCloudPrometheus"] = "grafanacloudprometheus";
|
|
153
|
+
DestinationTypes["GrafanaCloudTempo"] = "grafanacloudtempo";
|
|
154
|
+
DestinationTypes["Groundcover"] = "groundcover";
|
|
155
|
+
DestinationTypes["Honeycomb"] = "honeycomb";
|
|
156
|
+
DestinationTypes["HyperDX"] = "hyperdx";
|
|
157
|
+
DestinationTypes["Instana"] = "instana";
|
|
158
|
+
DestinationTypes["Jaeger"] = "jaeger";
|
|
159
|
+
DestinationTypes["Kafka"] = "kafka";
|
|
160
|
+
DestinationTypes["Kloudmate"] = "kloudmate";
|
|
161
|
+
DestinationTypes["Last9"] = "last9";
|
|
162
|
+
DestinationTypes["Lightstep"] = "lightstep";
|
|
163
|
+
DestinationTypes["LogzIo"] = "logzio";
|
|
164
|
+
DestinationTypes["Loki"] = "loki";
|
|
165
|
+
DestinationTypes["Lumigo"] = "lumigo";
|
|
166
|
+
DestinationTypes["Middleware"] = "middleware";
|
|
167
|
+
DestinationTypes["NewRelic"] = "newrelic";
|
|
168
|
+
DestinationTypes["Opsverse"] = "opsverse";
|
|
169
|
+
DestinationTypes["OTLP"] = "otlp";
|
|
170
|
+
DestinationTypes["OTLPHttp"] = "otlphttp";
|
|
171
|
+
DestinationTypes["Prometheus"] = "prometheus";
|
|
172
|
+
DestinationTypes["Qryn"] = "qryn";
|
|
173
|
+
DestinationTypes["QrynOss"] = "qryn-oss";
|
|
174
|
+
DestinationTypes["Quickwit"] = "quickwit";
|
|
175
|
+
DestinationTypes["S3"] = "s3";
|
|
176
|
+
DestinationTypes["Signoz"] = "signoz";
|
|
177
|
+
DestinationTypes["Splunk"] = "splunk";
|
|
178
|
+
DestinationTypes["SumoLogic"] = "sumologic";
|
|
179
|
+
DestinationTypes["Tempo"] = "tempo";
|
|
180
|
+
DestinationTypes["Traceloop"] = "traceloop";
|
|
181
|
+
DestinationTypes["Uptrace"] = "uptrace";
|
|
182
|
+
DestinationTypes["XRay"] = "xray";
|
|
183
|
+
})(DestinationTypes || (DestinationTypes = {}));
|
|
184
|
+
|
|
185
|
+
var InstrumentationRuleType;
|
|
186
|
+
(function (InstrumentationRuleType) {
|
|
187
|
+
InstrumentationRuleType["PayloadCollection"] = "PayloadCollection";
|
|
188
|
+
InstrumentationRuleType["CodeAttributes"] = "CodeAttributes";
|
|
189
|
+
InstrumentationRuleType["UnknownType"] = "UnknownType";
|
|
190
|
+
})(InstrumentationRuleType || (InstrumentationRuleType = {}));
|
|
191
|
+
var PayloadCollectionKeyTypes;
|
|
192
|
+
(function (PayloadCollectionKeyTypes) {
|
|
193
|
+
PayloadCollectionKeyTypes["HttpRequest"] = "httpRequest";
|
|
194
|
+
PayloadCollectionKeyTypes["HttpResponse"] = "httpResponse";
|
|
195
|
+
PayloadCollectionKeyTypes["DbQuery"] = "dbQuery";
|
|
196
|
+
PayloadCollectionKeyTypes["Messaging"] = "messaging";
|
|
197
|
+
})(PayloadCollectionKeyTypes || (PayloadCollectionKeyTypes = {}));
|
|
198
|
+
// Code Attributes for Instrumentation Rules
|
|
199
|
+
var CodeAttributesKeyTypes;
|
|
200
|
+
(function (CodeAttributesKeyTypes) {
|
|
201
|
+
CodeAttributesKeyTypes["Column"] = "column";
|
|
202
|
+
CodeAttributesKeyTypes["FilePath"] = "filePath";
|
|
203
|
+
CodeAttributesKeyTypes["Function"] = "function";
|
|
204
|
+
CodeAttributesKeyTypes["LineNumber"] = "lineNumber";
|
|
205
|
+
CodeAttributesKeyTypes["Namespace"] = "namespace";
|
|
206
|
+
CodeAttributesKeyTypes["StackTrace"] = "stacktrace";
|
|
207
|
+
})(CodeAttributesKeyTypes || (CodeAttributesKeyTypes = {}));
|
|
208
|
+
|
|
209
|
+
var SignalType;
|
|
210
|
+
(function (SignalType) {
|
|
211
|
+
SignalType["Logs"] = "logs";
|
|
212
|
+
SignalType["Metrics"] = "metrics";
|
|
213
|
+
SignalType["Traces"] = "traces";
|
|
214
|
+
})(SignalType || (SignalType = {}));
|
|
6
215
|
|
|
7
216
|
var K8sResourceKind;
|
|
8
217
|
(function (K8sResourceKind) {
|
|
@@ -11,4 +220,4 @@ var K8sResourceKind;
|
|
|
11
220
|
K8sResourceKind["StatefulSet"] = "StatefulSet";
|
|
12
221
|
})(K8sResourceKind || (K8sResourceKind = {}));
|
|
13
222
|
|
|
14
|
-
export { K8sResourceKind };
|
|
223
|
+
export { ActionType, AddNodeTypes, CodeAttributesKeyTypes, CrdTypes, Crud, DestinationTypes, EdgeTypes, EntityTypes, FieldTypes, InstrumentationRuleType, K8sResourceKind, NodeTypes, OtherStatus, PayloadCollectionKeyTypes, PlatformType, ProgrammingLanguages, SignalType, SortDirection, StatusType, Tier };
|