@odigos/ui-kit 0.0.212 → 0.0.214
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 +21 -0
- package/lib/chunks/index-CIjqAfew.js +3 -0
- package/lib/chunks/ui-components-Cu9XlyM0.js +2391 -0
- package/lib/components/_v2/badge/index.d.ts +2 -0
- package/lib/components/_v2/cards/section-card/index.d.ts +1 -0
- package/lib/components/_v2/checkbox/index.d.ts +5 -1
- package/lib/components/_v2/field-message/index.d.ts +1 -0
- package/lib/components/_v2/field-title/index.d.ts +2 -0
- package/lib/components/_v2/input/index.d.ts +4 -3
- package/lib/components/_v2/input-list/index.d.ts +5 -3
- package/lib/components/_v2/input-table/index.d.ts +5 -3
- package/lib/components/_v2/textarea/index.d.ts +4 -3
- package/lib/components/_v2/toggle/index.d.ts +5 -1
- package/lib/components/styled.d.ts +3 -6
- package/lib/components/tooltip/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/_drawers/add-rule-drawer/index.d.ts +1 -1
- package/lib/containers/_v2/_drawers/add-source-drawer/index.d.ts +1 -4
- package/lib/containers/_v2/_drawers/add-source-drawer/namespaces-column/index.d.ts +2 -1
- package/lib/containers/_v2/_drawers/add-source-drawer/types.d.ts +3 -0
- package/lib/containers/_v2/_drawers/add-source-drawer/workloads-column/index.d.ts +2 -1
- package/lib/containers/_v2/_forms/add-action-form/context.d.ts +18 -0
- package/lib/containers/_v2/_forms/add-action-form/index.d.ts +2 -6
- package/lib/containers/_v2/_forms/add-rule-form/context.d.ts +18 -0
- package/lib/containers/_v2/_forms/add-rule-form/index.d.ts +2 -6
- package/lib/containers/_v2/_forms/add-source-form/context.d.ts +21 -0
- package/lib/containers/_v2/_forms/add-source-form/index.d.ts +1 -0
- package/lib/containers/_v2/_forms/index.d.ts +1 -0
- package/lib/containers/service-map/helpers/build-map-nodes.d.ts +2 -0
- package/lib/containers/service-map/index.d.ts +1 -0
- package/lib/containers/v2.js +40 -40
- package/lib/containers.js +116 -116
- package/lib/contexts.js +1 -1
- package/lib/functions/deep-values/index.d.ts +2 -0
- package/lib/functions/get-virtual-service-icon/index.d.ts +2 -0
- package/lib/functions/index.d.ts +2 -0
- package/lib/functions.js +1 -1
- package/lib/hooks/useGenericForm.d.ts +2 -0
- package/lib/hooks.js +1 -1
- package/lib/icons/programming-languages/aws-logo/index.d.ts +2 -0
- package/lib/icons/programming-languages/index.d.ts +1 -0
- package/lib/icons.js +1 -1
- package/lib/snippets/_v2/wide-drawer/column-list-item/index.d.ts +1 -0
- package/lib/snippets/_v2/yaml-section-card/index.d.ts +1 -0
- package/lib/snippets/react-flow/flow.d.ts +1 -0
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/common/index.d.ts +307 -3
- package/lib/types/service-map/index.d.ts +5 -0
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +10 -10
- package/lib/chunks/index-CTFaJvLO.js +0 -3
- package/lib/chunks/ui-components-DQ5eBxQh.js +0 -2387
- package/lib/containers/_v2/_drawers/add-action-drawer/helpers.d.ts +0 -7
- package/lib/containers/_v2/_drawers/add-rule-drawer/helpers.d.ts +0 -7
|
@@ -11,6 +11,7 @@ interface Props {
|
|
|
11
11
|
onEdgeClick?: (event: React.MouseEvent, edge: Edge) => void;
|
|
12
12
|
onNodeMouseEnter?: (event: React.MouseEvent, node: Node) => void;
|
|
13
13
|
onNodeMouseLeave?: (event: React.MouseEvent, node: Node) => void;
|
|
14
|
+
onRefresh?: () => void;
|
|
14
15
|
}
|
|
15
16
|
export declare const Flow: React.FC<Props>;
|
|
16
17
|
export {};
|
package/lib/snippets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b3 as AddButton,
|
|
1
|
+
export{b3 as AddButton,cA as CopyText,cw as EditButton,cv as Flow,dK as MapItemNode,dL as NoDataNode,cb as NoteBackToSummary,cC as PodContainer,cJ as SourceContainer}from"./chunks/ui-components-Cu9XlyM0.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-C150cdxb.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";import"virtua";
|
package/lib/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{as as ProgressKeys,
|
|
1
|
+
export{as as ProgressKeys,cu as useActiveNodeStore,cP as useDarkMode,O as useDataStreamStore,ba as useDrawerStore,ay as useEntityStore,bx as useFilterStore,bl as useModalStore,cm as useNotificationStore,ar as useProgressStore,bN as useSelectedStore,c8 as useSetupStore}from"./chunks/ui-components-Cu9XlyM0.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-C150cdxb.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";import"virtua";
|
package/lib/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{dC as Provider,dD as animations,dE as opacity,dF as palettes}from"./chunks/ui-components-Cu9XlyM0.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-C150cdxb.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";import"virtua";
|
|
@@ -156,13 +156,317 @@ export interface Connection {
|
|
|
156
156
|
connectedAt?: number | null;
|
|
157
157
|
lastSeenAt?: number | null;
|
|
158
158
|
}
|
|
159
|
+
export interface ProvenanceEntry {
|
|
160
|
+
helmPath: string;
|
|
161
|
+
reconciledFrom: string;
|
|
162
|
+
}
|
|
159
163
|
export interface EffectiveConfig {
|
|
164
|
+
configVersion: number;
|
|
165
|
+
telemetryEnabled?: boolean | null;
|
|
166
|
+
openshiftEnabled?: boolean | null;
|
|
167
|
+
ignoredNamespaces?: string[] | null;
|
|
168
|
+
ignoredContainers?: string[] | null;
|
|
169
|
+
ignoreOdigosNamespace?: boolean | null;
|
|
170
|
+
psp?: boolean | null;
|
|
171
|
+
imagePrefix?: string | null;
|
|
172
|
+
skipWebhookIssuerCreation?: boolean | null;
|
|
173
|
+
collectorGateway?: {
|
|
174
|
+
minReplicas?: number | null;
|
|
175
|
+
maxReplicas?: number | null;
|
|
176
|
+
requestMemoryMiB?: number | null;
|
|
177
|
+
limitMemoryMiB?: number | null;
|
|
178
|
+
requestCPUm?: number | null;
|
|
179
|
+
limitCPUm?: number | null;
|
|
180
|
+
memoryLimiterLimitMiB?: number | null;
|
|
181
|
+
memoryLimiterSpikeLimitMiB?: number | null;
|
|
182
|
+
goMemLimitMiB?: number | null;
|
|
183
|
+
serviceGraphDisabled?: boolean | null;
|
|
184
|
+
clusterMetricsEnabled?: boolean | null;
|
|
185
|
+
httpsProxyAddress?: string | null;
|
|
186
|
+
nodeSelector?: string | null;
|
|
187
|
+
} | null;
|
|
188
|
+
collectorNode?: {
|
|
189
|
+
collectorOwnMetricsPort?: number | null;
|
|
190
|
+
requestMemoryMiB?: number | null;
|
|
191
|
+
limitMemoryMiB?: number | null;
|
|
192
|
+
requestCPUm?: number | null;
|
|
193
|
+
limitCPUm?: number | null;
|
|
194
|
+
memoryLimiterLimitMiB?: number | null;
|
|
195
|
+
memoryLimiterSpikeLimitMiB?: number | null;
|
|
196
|
+
goMemLimitMiB?: number | null;
|
|
197
|
+
k8sNodeLogsDirectory?: string | null;
|
|
198
|
+
enableDataCompression?: boolean | null;
|
|
199
|
+
otlpExporterConfiguration?: {
|
|
200
|
+
enableDataCompression?: boolean | null;
|
|
201
|
+
timeout?: string | null;
|
|
202
|
+
retryOnFailure?: {
|
|
203
|
+
enabled?: boolean | null;
|
|
204
|
+
initialInterval?: string | null;
|
|
205
|
+
maxInterval?: string | null;
|
|
206
|
+
maxElapsedTime?: string | null;
|
|
207
|
+
} | null;
|
|
208
|
+
} | null;
|
|
209
|
+
} | null;
|
|
210
|
+
profiles?: string[] | null;
|
|
211
|
+
allowConcurrentAgents?: {
|
|
212
|
+
enabled?: boolean | null;
|
|
213
|
+
} | null;
|
|
214
|
+
uiMode?: string | null;
|
|
215
|
+
uiPaginationLimit?: number | null;
|
|
216
|
+
uiRemoteUrl?: string | null;
|
|
217
|
+
centralBackendURL?: string | null;
|
|
218
|
+
clusterName?: string | null;
|
|
219
|
+
instrumentor?: {
|
|
220
|
+
mountMethod?: string | null;
|
|
221
|
+
agentEnvVarsInjectionMethod?: string | null;
|
|
222
|
+
checkDeviceHealthBeforeInjection?: boolean | null;
|
|
223
|
+
} | null;
|
|
224
|
+
customContainerRuntimeSocketPath?: string | null;
|
|
225
|
+
userInstrumentationEnvs?: {
|
|
226
|
+
languages?: string | null;
|
|
227
|
+
} | null;
|
|
228
|
+
nodeSelector?: string | null;
|
|
229
|
+
karpenter?: {
|
|
230
|
+
enabled?: boolean | null;
|
|
231
|
+
} | null;
|
|
232
|
+
rollout?: {
|
|
233
|
+
automaticRolloutDisabled?: boolean | null;
|
|
234
|
+
} | null;
|
|
235
|
+
autoRollback?: {
|
|
236
|
+
disabled?: boolean | null;
|
|
237
|
+
graceTime?: string | null;
|
|
238
|
+
stabilityWindowTime?: string | null;
|
|
239
|
+
} | null;
|
|
240
|
+
oidc?: {
|
|
241
|
+
tenantUrl?: string | null;
|
|
242
|
+
clientId?: string | null;
|
|
243
|
+
clientSecret?: string | null;
|
|
244
|
+
} | null;
|
|
245
|
+
odigletHealthProbeBindPort?: number | null;
|
|
246
|
+
goAutoOffsetsCron?: string | null;
|
|
247
|
+
goAutoOffsetsMode?: string | null;
|
|
248
|
+
clickhouseJsonTypeEnabled?: boolean | null;
|
|
249
|
+
resourceSizePreset?: string | null;
|
|
250
|
+
wasp?: {
|
|
251
|
+
enabled?: boolean | null;
|
|
252
|
+
} | null;
|
|
253
|
+
metricsSources?: {
|
|
254
|
+
spanMetrics?: {
|
|
255
|
+
disabled?: boolean | null;
|
|
256
|
+
interval?: string | null;
|
|
257
|
+
metricsExpiration?: string | null;
|
|
258
|
+
additionalDimensions?: string[] | null;
|
|
259
|
+
histogramDisabled?: boolean | null;
|
|
260
|
+
histogramBuckets?: string[] | null;
|
|
261
|
+
includedProcessInDimensions?: boolean | null;
|
|
262
|
+
excludedResourceAttributes?: string[] | null;
|
|
263
|
+
resourceMetricsKeyAttributes?: string[] | null;
|
|
264
|
+
} | null;
|
|
265
|
+
hostMetrics?: {
|
|
266
|
+
disabled?: boolean | null;
|
|
267
|
+
interval?: string | null;
|
|
268
|
+
} | null;
|
|
269
|
+
kubeletStats?: {
|
|
270
|
+
disabled?: boolean | null;
|
|
271
|
+
interval?: string | null;
|
|
272
|
+
} | null;
|
|
273
|
+
odigosOwnMetrics?: {
|
|
274
|
+
interval?: string | null;
|
|
275
|
+
} | null;
|
|
276
|
+
agentMetrics?: {
|
|
277
|
+
spanMetrics?: {
|
|
278
|
+
enabled?: boolean | null;
|
|
279
|
+
} | null;
|
|
280
|
+
runtimeMetrics?: {
|
|
281
|
+
java?: {
|
|
282
|
+
disabled?: boolean | null;
|
|
283
|
+
metrics?: {
|
|
284
|
+
name?: string | null;
|
|
285
|
+
disabled?: boolean | null;
|
|
286
|
+
}[] | null;
|
|
287
|
+
} | null;
|
|
288
|
+
} | null;
|
|
289
|
+
} | null;
|
|
290
|
+
} | null;
|
|
291
|
+
agentsInitContainerResources?: {
|
|
292
|
+
requestCPUm?: number | null;
|
|
293
|
+
limitCPUm?: number | null;
|
|
294
|
+
requestMemoryMiB?: number | null;
|
|
295
|
+
limitMemoryMiB?: number | null;
|
|
296
|
+
} | null;
|
|
297
|
+
traceIdSuffix?: string | null;
|
|
298
|
+
allowedTestConnectionHosts?: string[] | null;
|
|
299
|
+
odigosOwnTelemetryStore?: {
|
|
300
|
+
metricsStoreDisabled?: boolean | null;
|
|
301
|
+
} | null;
|
|
302
|
+
imagePullSecrets?: string[] | null;
|
|
303
|
+
componentLogLevels?: {
|
|
304
|
+
default?: string | null;
|
|
305
|
+
autoscaler?: string | null;
|
|
306
|
+
scheduler?: string | null;
|
|
307
|
+
instrumentor?: string | null;
|
|
308
|
+
odiglet?: string | null;
|
|
309
|
+
deviceplugin?: string | null;
|
|
310
|
+
ui?: string | null;
|
|
311
|
+
collector?: string | null;
|
|
312
|
+
} | null;
|
|
313
|
+
provenance?: ProvenanceEntry[] | null;
|
|
314
|
+
manifestYAML?: string | null;
|
|
315
|
+
}
|
|
316
|
+
export interface EffectiveConfigInput {
|
|
317
|
+
configVersion?: number;
|
|
318
|
+
telemetryEnabled?: boolean | null;
|
|
319
|
+
openshiftEnabled?: boolean | null;
|
|
320
|
+
ignoredNamespaces?: string[] | null;
|
|
321
|
+
ignoredContainers?: string[] | null;
|
|
322
|
+
ignoreOdigosNamespace?: boolean | null;
|
|
323
|
+
psp?: boolean | null;
|
|
324
|
+
imagePrefix?: string | null;
|
|
325
|
+
skipWebhookIssuerCreation?: boolean | null;
|
|
326
|
+
collectorGateway?: {
|
|
327
|
+
minReplicas?: number | null;
|
|
328
|
+
maxReplicas?: number | null;
|
|
329
|
+
requestMemoryMiB?: number | null;
|
|
330
|
+
limitMemoryMiB?: number | null;
|
|
331
|
+
requestCPUm?: number | null;
|
|
332
|
+
limitCPUm?: number | null;
|
|
333
|
+
memoryLimiterLimitMiB?: number | null;
|
|
334
|
+
memoryLimiterSpikeLimitMiB?: number | null;
|
|
335
|
+
goMemLimitMiB?: number | null;
|
|
336
|
+
serviceGraphDisabled?: boolean | null;
|
|
337
|
+
clusterMetricsEnabled?: boolean | null;
|
|
338
|
+
httpsProxyAddress?: string | null;
|
|
339
|
+
nodeSelector?: string | null;
|
|
340
|
+
} | null;
|
|
341
|
+
collectorNode?: {
|
|
342
|
+
collectorOwnMetricsPort?: number | null;
|
|
343
|
+
requestMemoryMiB?: number | null;
|
|
344
|
+
limitMemoryMiB?: number | null;
|
|
345
|
+
requestCPUm?: number | null;
|
|
346
|
+
limitCPUm?: number | null;
|
|
347
|
+
memoryLimiterLimitMiB?: number | null;
|
|
348
|
+
memoryLimiterSpikeLimitMiB?: number | null;
|
|
349
|
+
goMemLimitMiB?: number | null;
|
|
350
|
+
k8sNodeLogsDirectory?: string | null;
|
|
351
|
+
enableDataCompression?: boolean | null;
|
|
352
|
+
otlpExporterConfiguration?: {
|
|
353
|
+
enableDataCompression?: boolean | null;
|
|
354
|
+
timeout?: string | null;
|
|
355
|
+
retryOnFailure?: {
|
|
356
|
+
enabled?: boolean | null;
|
|
357
|
+
initialInterval?: string | null;
|
|
358
|
+
maxInterval?: string | null;
|
|
359
|
+
maxElapsedTime?: string | null;
|
|
360
|
+
} | null;
|
|
361
|
+
} | null;
|
|
362
|
+
} | null;
|
|
363
|
+
profiles?: string[] | null;
|
|
364
|
+
allowConcurrentAgents?: {
|
|
365
|
+
enabled?: boolean | null;
|
|
366
|
+
} | null;
|
|
367
|
+
uiMode?: string | null;
|
|
368
|
+
uiPaginationLimit?: number | null;
|
|
369
|
+
uiRemoteUrl?: string | null;
|
|
370
|
+
centralBackendURL?: string | null;
|
|
371
|
+
clusterName?: string | null;
|
|
372
|
+
instrumentor?: {
|
|
373
|
+
mountMethod?: string | null;
|
|
374
|
+
agentEnvVarsInjectionMethod?: string | null;
|
|
375
|
+
checkDeviceHealthBeforeInjection?: boolean | null;
|
|
376
|
+
} | null;
|
|
377
|
+
customContainerRuntimeSocketPath?: string | null;
|
|
378
|
+
userInstrumentationEnvs?: {
|
|
379
|
+
languages?: string | null;
|
|
380
|
+
} | null;
|
|
381
|
+
nodeSelector?: string | null;
|
|
382
|
+
karpenter?: {
|
|
383
|
+
enabled?: boolean | null;
|
|
384
|
+
} | null;
|
|
160
385
|
rollout?: {
|
|
161
|
-
automaticRolloutDisabled?: boolean;
|
|
162
|
-
};
|
|
386
|
+
automaticRolloutDisabled?: boolean | null;
|
|
387
|
+
} | null;
|
|
388
|
+
autoRollback?: {
|
|
389
|
+
disabled?: boolean | null;
|
|
390
|
+
graceTime?: string | null;
|
|
391
|
+
stabilityWindowTime?: string | null;
|
|
392
|
+
} | null;
|
|
393
|
+
oidc?: {
|
|
394
|
+
tenantUrl?: string | null;
|
|
395
|
+
clientId?: string | null;
|
|
396
|
+
clientSecret?: string | null;
|
|
397
|
+
} | null;
|
|
398
|
+
odigletHealthProbeBindPort?: number | null;
|
|
399
|
+
goAutoOffsetsCron?: string | null;
|
|
400
|
+
goAutoOffsetsMode?: string | null;
|
|
401
|
+
clickhouseJsonTypeEnabled?: boolean | null;
|
|
402
|
+
resourceSizePreset?: string | null;
|
|
403
|
+
wasp?: {
|
|
404
|
+
enabled?: boolean | null;
|
|
405
|
+
} | null;
|
|
406
|
+
metricsSources?: {
|
|
407
|
+
spanMetrics?: {
|
|
408
|
+
disabled?: boolean | null;
|
|
409
|
+
interval?: string | null;
|
|
410
|
+
metricsExpiration?: string | null;
|
|
411
|
+
additionalDimensions?: string[] | null;
|
|
412
|
+
histogramDisabled?: boolean | null;
|
|
413
|
+
histogramBuckets?: string[] | null;
|
|
414
|
+
includedProcessInDimensions?: boolean | null;
|
|
415
|
+
excludedResourceAttributes?: string[] | null;
|
|
416
|
+
resourceMetricsKeyAttributes?: string[] | null;
|
|
417
|
+
} | null;
|
|
418
|
+
hostMetrics?: {
|
|
419
|
+
disabled?: boolean | null;
|
|
420
|
+
interval?: string | null;
|
|
421
|
+
} | null;
|
|
422
|
+
kubeletStats?: {
|
|
423
|
+
disabled?: boolean | null;
|
|
424
|
+
interval?: string | null;
|
|
425
|
+
} | null;
|
|
426
|
+
odigosOwnMetrics?: {
|
|
427
|
+
interval?: string | null;
|
|
428
|
+
} | null;
|
|
429
|
+
agentMetrics?: {
|
|
430
|
+
spanMetrics?: {
|
|
431
|
+
enabled?: boolean | null;
|
|
432
|
+
} | null;
|
|
433
|
+
runtimeMetrics?: {
|
|
434
|
+
java?: {
|
|
435
|
+
disabled?: boolean | null;
|
|
436
|
+
metrics?: {
|
|
437
|
+
name?: string | null;
|
|
438
|
+
disabled?: boolean | null;
|
|
439
|
+
}[] | null;
|
|
440
|
+
} | null;
|
|
441
|
+
} | null;
|
|
442
|
+
} | null;
|
|
443
|
+
} | null;
|
|
444
|
+
agentsInitContainerResources?: {
|
|
445
|
+
requestCPUm?: number | null;
|
|
446
|
+
limitCPUm?: number | null;
|
|
447
|
+
requestMemoryMiB?: number | null;
|
|
448
|
+
limitMemoryMiB?: number | null;
|
|
449
|
+
} | null;
|
|
450
|
+
traceIdSuffix?: string | null;
|
|
451
|
+
allowedTestConnectionHosts?: string[] | null;
|
|
452
|
+
odigosOwnTelemetryStore?: {
|
|
453
|
+
metricsStoreDisabled?: boolean | null;
|
|
454
|
+
} | null;
|
|
455
|
+
imagePullSecrets?: string[] | null;
|
|
456
|
+
componentLogLevels?: {
|
|
457
|
+
default?: string | null;
|
|
458
|
+
autoscaler?: string | null;
|
|
459
|
+
scheduler?: string | null;
|
|
460
|
+
instrumentor?: string | null;
|
|
461
|
+
odiglet?: string | null;
|
|
462
|
+
deviceplugin?: string | null;
|
|
463
|
+
ui?: string | null;
|
|
464
|
+
collector?: string | null;
|
|
465
|
+
} | null;
|
|
466
|
+
manifestYAML?: string | null;
|
|
163
467
|
}
|
|
164
468
|
export type GetEffectiveConfigFunc = (id: string) => Promise<EffectiveConfig | undefined>;
|
|
165
|
-
export type ApplyConfigurationsFunc = (formData:
|
|
469
|
+
export type ApplyConfigurationsFunc = (formData: Partial<EffectiveConfigInput>, connectionIds: string[]) => Promise<{
|
|
166
470
|
error?: string;
|
|
167
471
|
} | undefined>;
|
|
168
472
|
export declare enum Profile {
|
|
@@ -9,6 +9,10 @@ export interface ServiceMapToSource {
|
|
|
9
9
|
serviceName: string;
|
|
10
10
|
requests: number;
|
|
11
11
|
dateTime: string;
|
|
12
|
+
nodeAttributes?: {
|
|
13
|
+
key: string;
|
|
14
|
+
value: string;
|
|
15
|
+
}[];
|
|
12
16
|
}
|
|
13
17
|
export type ServiceMapSources = ServiceMapFromSource[];
|
|
14
18
|
export interface PeerSources {
|
|
@@ -32,5 +36,6 @@ export interface AggregatedService {
|
|
|
32
36
|
serviceName: string;
|
|
33
37
|
isVirtual: boolean;
|
|
34
38
|
connections: AggregatedConnection[];
|
|
39
|
+
attributes: Record<string, string>;
|
|
35
40
|
}
|
|
36
41
|
export type AggregatedServiceMap = AggregatedService[];
|
package/lib/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{cV as ActionCategory,A as ActionKeyTypes,w as ActionType,cW as AddNodeTypes,cX as BooleanOperation,Y as CodeAttributesKeyTypes,bk as Crud,a2 as CustomInstrumentationsKeyTypes,bP as DesiredStateProgress,cY as DestinationTypes,cZ as EdgeTypes,ac as EntityTypes,v as FieldTypes,a0 as GolangCustomProbe,_ as HeadersCollectionKeyTypes,m as InputTypes,c_ as InstallationMethod,a3 as InstrumentationRuleType,c$ as IntrumentationStatus,a1 as JavaCustomProbe,d0 as JsonOperation,K as K8sAttributesFrom,cH as K8sResourceKind,d1 as ListDirection,cs as NodeTypes,d2 as NumberOperation,d3 as OtelDistroName,cc as OtherEntityTypes,bu as OtherStatus,an as OtherStatusType,$ as PayloadCollectionKeyTypes,d4 as PlatformType,d5 as PodContainerLifecycleStatus,d6 as PodContainerStatus,d7 as PodPhase,d8 as Profile,cI as ProgrammingLanguages,d9 as SIGNAL_KEY_TO_TYPE,ch as SIGNAL_TYPE_TO_KEY,da as SignalKey,Q as SignalType,db as SortDirection,i as StatusType,dc as StringOperation,T as Tier,aT as WorkloadRolloutStatus}from"./chunks/ui-components-Cu9XlyM0.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-C150cdxb.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";import"virtua";
|
package/lib/visuals.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{dY as VISUAL_ODIGOS_LOGO_HEIGHT,dZ as VISUAL_ODIGOS_LOGO_WIDTH,V as VisualGreenRings,d_ as VisualOdigosLogo}from"./chunks/ui-components-Cu9XlyM0.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-C150cdxb.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";import"virtua";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odigos/ui-kit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.214",
|
|
4
4
|
"author": "Odigos",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"styled-components": "6.3.12"
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
|
-
"@xyflow/react": "^12.10.
|
|
106
|
+
"@xyflow/react": "^12.10.2",
|
|
107
107
|
"elkjs": "^0.11.1",
|
|
108
108
|
"javascript-time-ago": "^2.6.4",
|
|
109
109
|
"lottie-react": "^2.4.1",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"react-dom": "19.2.4",
|
|
113
113
|
"react-error-boundary": "^6.1.1",
|
|
114
114
|
"styled-components": "6.3.12",
|
|
115
|
-
"virtua": "^0.
|
|
115
|
+
"virtua": "^0.49.0",
|
|
116
116
|
"zustand": "^5.0.12"
|
|
117
117
|
},
|
|
118
118
|
"devDependencies": {
|
|
@@ -126,24 +126,24 @@
|
|
|
126
126
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
127
127
|
"@rollup/plugin-terser": "^1.0.0",
|
|
128
128
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
129
|
-
"@storybook/addon-webpack5-compiler-babel": "^4.0.
|
|
130
|
-
"@storybook/react-webpack5": "10.3.
|
|
129
|
+
"@storybook/addon-webpack5-compiler-babel": "^4.0.1",
|
|
130
|
+
"@storybook/react-webpack5": "10.3.3",
|
|
131
131
|
"@types/node": "^25.5.0",
|
|
132
132
|
"@types/react": "^19.2.14",
|
|
133
133
|
"@types/react-dom": "^19.2.3",
|
|
134
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
135
|
-
"@typescript-eslint/parser": "^8.
|
|
134
|
+
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
|
135
|
+
"@typescript-eslint/parser": "^8.58.0",
|
|
136
136
|
"babel-loader": "^10.1.1",
|
|
137
137
|
"babel-plugin-styled-components": "^2.1.4",
|
|
138
138
|
"eslint": "^9.39.4",
|
|
139
139
|
"eslint-plugin-react": "^7.37.5",
|
|
140
|
-
"eslint-plugin-storybook": "10.3.
|
|
140
|
+
"eslint-plugin-storybook": "10.3.3",
|
|
141
141
|
"postcss": "^8.5.8",
|
|
142
|
-
"rollup": "^4.60.
|
|
142
|
+
"rollup": "^4.60.1",
|
|
143
143
|
"rollup-plugin-filesize": "^10.0.0",
|
|
144
144
|
"rollup-plugin-postcss": "^4.0.2",
|
|
145
145
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
146
|
-
"storybook": "10.3.
|
|
146
|
+
"storybook": "10.3.3",
|
|
147
147
|
"typescript": "^5.9.3"
|
|
148
148
|
}
|
|
149
149
|
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import{useState as o,useMemo as e}from"react";import i from"styled-components";import{at as a,h as n,j as r,aF as s,aD as c,ax as l,cT as d,o as p,N as m}from"./ui-components-DQ5eBxQh.js";import{VIcon as u,CopyIcon as f,ChevronUpIcon as h,ChevronDownIcon as y,YamlIcon as b}from"../icons.js";const j=i.div`
|
|
2
|
-
padding: 0 12px;
|
|
3
|
-
`,k=({title:i="YAML",yaml:k,defaultOpen:v})=>{const{clickCopy:x,isCopied:C}=a(),[S,T]=o(v??!1),Y=e(()=>k?[{id:c(),type:s.Button,buttonProps:{variant:r.Secondary,size:n.S,leftIcon:C?u:f,onClick:()=>x(k||""),disabled:C}},{id:c(),type:s.Button,buttonProps:{variant:r.Secondary,size:n.S,leftIcon:S?h:y,onClick:()=>T(t=>!t)}}]:[],[k,C,S]);return t(l,{richTitle:{icon:b,title:i},actions:Y,children:S&&t(j,{children:k?t(d,{code:k,language:"yaml",theme:"duotoneDark"}):t(p,{children:t(m,{title:"YAML not found",subTitle:"The YAML for this resource is not available"})})})})};export{k as Y};
|