@odigos/ui-kit 0.0.211 → 0.0.213
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 +22 -0
- package/lib/chunks/index-Bh2gKc3b.js +3 -0
- package/lib/chunks/ui-components-BliHHDta.js +2388 -0
- package/lib/chunks/vendor-C150cdxb.js +1 -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/index.d.ts +1 -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/stepper/index.d.ts +11 -0
- 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/destinations/index.d.ts +5 -0
- package/lib/constants/strings/index.d.ts +12 -0
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/_drawers/add-action-drawer/index.d.ts +2 -2
- package/lib/containers/_v2/_drawers/add-destination-drawer/form-column/index.d.ts +4 -7
- package/lib/containers/_v2/_drawers/add-destination-drawer/helpers.d.ts +1 -9
- package/lib/containers/_v2/_drawers/add-destination-drawer/index.d.ts +10 -5
- package/lib/containers/_v2/_drawers/add-destination-drawer/lists-column/index.d.ts +3 -5
- package/lib/containers/_v2/_drawers/add-destination-drawer/types.d.ts +1 -6
- package/lib/containers/_v2/_drawers/add-rule-drawer/index.d.ts +3 -3
- package/lib/containers/_v2/_drawers/add-source-drawer/index.d.ts +7 -5
- package/lib/containers/_v2/_drawers/add-source-drawer/namespaces-column/index.d.ts +2 -1
- package/lib/containers/_v2/_drawers/add-source-drawer/namespaces-column/list/index.d.ts +1 -0
- 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-destination-form/context.d.ts +36 -0
- package/lib/containers/_v2/_forms/add-destination-form/dynamic-fields/index.d.ts +1 -0
- package/lib/containers/_v2/_forms/add-destination-form/index.d.ts +4 -5
- 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/_v2/central-connections/index.d.ts +2 -1
- package/lib/containers/_v2/index.d.ts +1 -0
- package/lib/containers/_v2/onboarding/background/index.d.ts +7 -0
- package/lib/containers/_v2/onboarding/get-started/index.d.ts +5 -0
- package/lib/containers/_v2/onboarding/index.d.ts +14 -0
- package/lib/containers/_v2/onboarding/summary/index.d.ts +12 -0
- package/lib/containers/_v2/pipeline-collectors/general-info/yaml-drawer/index.d.ts +1 -1
- package/lib/containers/v2.js +91 -30
- package/lib/containers.js +131 -131
- package/lib/contexts.js +1 -1
- package/lib/functions/deep-values/index.d.ts +2 -0
- package/lib/functions/index.d.ts +1 -0
- package/lib/functions.js +1 -1
- package/lib/hooks/useGenericForm.d.ts +2 -0
- package/lib/hooks.js +1 -1
- package/lib/icons.js +1 -1
- package/lib/snippets/_v2/index.d.ts +1 -0
- package/lib/snippets/_v2/odigos-logo-text-by-tier/index.d.ts +5 -0
- 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.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/destinations/index.d.ts +9 -8
- package/lib/types/snapshot/index.d.ts +4 -4
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +28 -28
- package/lib/chunks/index-BURQQLWb.js +0 -3
- package/lib/chunks/ui-components-B5U474B5.js +0 -2387
- package/lib/chunks/vendor-D99eCWta.js +0 -1
- 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
package/lib/snippets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{b3 as AddButton,cz as CopyText,cv as EditButton,cu as Flow,dJ as MapItemNode,dK as NoDataNode,cb as NoteBackToSummary,cB as PodContainer,cI as SourceContainer}from"./chunks/ui-components-BliHHDta.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{
|
|
1
|
+
export{as as ProgressKeys,ct as useActiveNodeStore,cO 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-BliHHDta.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{dB as Provider,dC as animations,dD as opacity,dE as palettes}from"./chunks/ui-components-BliHHDta.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 {
|
|
@@ -143,12 +143,6 @@ export interface DestinationDynamicField {
|
|
|
143
143
|
placeholder?: string;
|
|
144
144
|
options?: DropdownProps['options'];
|
|
145
145
|
}
|
|
146
|
-
export interface TestConnectionResponse {
|
|
147
|
-
succeeded: boolean;
|
|
148
|
-
message: string;
|
|
149
|
-
reason: string;
|
|
150
|
-
destinationType?: DestinationTypes;
|
|
151
|
-
}
|
|
152
146
|
export interface GetDestinationCategoriesResult {
|
|
153
147
|
destinationCategories: {
|
|
154
148
|
categories: DestinationCategories;
|
|
@@ -166,14 +160,21 @@ export interface DestinationFormData {
|
|
|
166
160
|
type: Destination['destinationType']['type'];
|
|
167
161
|
name: Destination['destinationType']['displayName'];
|
|
168
162
|
currentStreamName: string;
|
|
163
|
+
disabled: Destination['disabled'];
|
|
169
164
|
exportedSignals: Destination['exportedSignals'];
|
|
170
165
|
fields: {
|
|
171
166
|
key: string;
|
|
172
167
|
value: string;
|
|
173
168
|
}[];
|
|
174
|
-
disabled: Destination['disabled'];
|
|
175
169
|
}
|
|
176
|
-
export type TestConnectionFunc = (payload: DestinationFormData) => Promise<TestConnectionResponse | undefined>;
|
|
177
170
|
export type CreateDestinationFunc = (payload: DestinationFormData, connectionIds?: string[]) => Promise<{
|
|
178
171
|
error?: string;
|
|
179
172
|
} | undefined>;
|
|
173
|
+
export interface TestConnectionResponse {
|
|
174
|
+
destinationType: DestinationTypes;
|
|
175
|
+
statusCode: number;
|
|
176
|
+
succeeded: boolean;
|
|
177
|
+
message?: string | null;
|
|
178
|
+
reason?: string | null;
|
|
179
|
+
}
|
|
180
|
+
export type TestConnectionFunc = (payload: DestinationFormData, connectionIds?: string[]) => Promise<TestConnectionResponse | undefined>;
|
|
@@ -16,13 +16,13 @@ export interface ClusterSnapshot {
|
|
|
16
16
|
clusterId: string;
|
|
17
17
|
clusterName: string;
|
|
18
18
|
namespaces: NamespaceSnapshot[];
|
|
19
|
-
timestamp
|
|
19
|
+
timestamp?: number;
|
|
20
20
|
}
|
|
21
21
|
export interface AllClusterSnapshots {
|
|
22
22
|
clusters: ClusterSnapshot[];
|
|
23
|
-
totalWorkloads
|
|
24
|
-
totalNamespaces
|
|
25
|
-
lastUpdated
|
|
23
|
+
totalWorkloads?: number;
|
|
24
|
+
totalNamespaces?: number;
|
|
25
|
+
lastUpdated?: number;
|
|
26
26
|
}
|
|
27
27
|
export type GetAllClusterSnapshots = () => Promise<AllClusterSnapshots | undefined>;
|
|
28
28
|
export type GetClusterSnapshot = (clusterId: string) => Promise<ClusterSnapshot | undefined>;
|
package/lib/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{cU as ActionCategory,A as ActionKeyTypes,w as ActionType,cV as AddNodeTypes,cW as BooleanOperation,Y as CodeAttributesKeyTypes,bk as Crud,a2 as CustomInstrumentationsKeyTypes,bP as DesiredStateProgress,cX as DestinationTypes,cY as EdgeTypes,ac as EntityTypes,v as FieldTypes,a0 as GolangCustomProbe,_ as HeadersCollectionKeyTypes,m as InputTypes,cZ as InstallationMethod,a3 as InstrumentationRuleType,c_ as IntrumentationStatus,a1 as JavaCustomProbe,c$ as JsonOperation,K as K8sAttributesFrom,cG as K8sResourceKind,d0 as ListDirection,cs as NodeTypes,d1 as NumberOperation,d2 as OtelDistroName,cc as OtherEntityTypes,bu as OtherStatus,an as OtherStatusType,$ as PayloadCollectionKeyTypes,d3 as PlatformType,d4 as PodContainerLifecycleStatus,d5 as PodContainerStatus,d6 as PodPhase,d7 as Profile,cH as ProgrammingLanguages,d8 as SIGNAL_KEY_TO_TYPE,ch as SIGNAL_TYPE_TO_KEY,d9 as SignalKey,Q as SignalType,da as SortDirection,i as StatusType,db as StringOperation,T as Tier,aT as WorkloadRolloutStatus}from"./chunks/ui-components-BliHHDta.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{dX as VISUAL_ODIGOS_LOGO_HEIGHT,dY as VISUAL_ODIGOS_LOGO_WIDTH,V as VisualGreenRings,dZ as VisualOdigosLogo}from"./chunks/ui-components-BliHHDta.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.213",
|
|
4
4
|
"author": "Odigos",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"scripts": {
|
|
11
11
|
"dev": "storybook dev -p 6006",
|
|
12
12
|
"prebuild": "rm -rf lib",
|
|
13
|
-
"build": "NODE_ENV=production rollup -c
|
|
14
|
-
"build:analyze": "NODE_ENV=production rollup -c
|
|
13
|
+
"build": "NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 rollup -c",
|
|
14
|
+
"build:analyze": "ANALYZE=true NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 rollup -c && open bundle-analysis.html",
|
|
15
15
|
"build-storybook": "storybook build",
|
|
16
|
-
"watch": "rollup -c
|
|
17
|
-
"size": "NODE_ENV=production rollup -c --
|
|
18
|
-
"lint": "eslint
|
|
16
|
+
"watch": "rollup -c -w",
|
|
17
|
+
"size": "NODE_ENV=production rollup -c --silent",
|
|
18
|
+
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx"
|
|
19
19
|
},
|
|
20
20
|
"release": {
|
|
21
21
|
"branches": [
|
|
@@ -100,50 +100,50 @@
|
|
|
100
100
|
"peerDependencies": {
|
|
101
101
|
"react": "19.2.4",
|
|
102
102
|
"react-dom": "19.2.4",
|
|
103
|
-
"styled-components": "6.
|
|
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
|
-
"javascript-time-ago": "^2.6.
|
|
108
|
+
"javascript-time-ago": "^2.6.4",
|
|
109
109
|
"lottie-react": "^2.4.1",
|
|
110
110
|
"prism-react-renderer": "^2.4.1",
|
|
111
111
|
"react": "19.2.4",
|
|
112
112
|
"react-dom": "19.2.4",
|
|
113
113
|
"react-error-boundary": "^6.1.1",
|
|
114
|
-
"styled-components": "6.
|
|
115
|
-
"virtua": "^0.
|
|
116
|
-
"zustand": "^5.0.
|
|
114
|
+
"styled-components": "6.3.12",
|
|
115
|
+
"virtua": "^0.49.0",
|
|
116
|
+
"zustand": "^5.0.12"
|
|
117
117
|
},
|
|
118
118
|
"devDependencies": {
|
|
119
119
|
"@babel/core": "^7.29.0",
|
|
120
|
-
"@babel/preset-env": "^7.29.
|
|
120
|
+
"@babel/preset-env": "^7.29.2",
|
|
121
121
|
"@babel/preset-react": "^7.28.5",
|
|
122
122
|
"@babel/preset-typescript": "^7.28.5",
|
|
123
|
-
"@eslint/eslintrc": "^3.3.
|
|
124
|
-
"@rollup/plugin-commonjs": "^29.0.
|
|
123
|
+
"@eslint/eslintrc": "^3.3.5",
|
|
124
|
+
"@rollup/plugin-commonjs": "^29.0.2",
|
|
125
125
|
"@rollup/plugin-json": "^6.1.0",
|
|
126
126
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
127
|
-
"@rollup/plugin-terser": "^0.
|
|
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.
|
|
131
|
-
"@types/node": "^25.
|
|
129
|
+
"@storybook/addon-webpack5-compiler-babel": "^4.0.1",
|
|
130
|
+
"@storybook/react-webpack5": "10.3.3",
|
|
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.
|
|
136
|
-
"babel-loader": "^10.
|
|
134
|
+
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
|
135
|
+
"@typescript-eslint/parser": "^8.58.0",
|
|
136
|
+
"babel-loader": "^10.1.1",
|
|
137
137
|
"babel-plugin-styled-components": "^2.1.4",
|
|
138
|
-
"eslint": "^9.39.
|
|
138
|
+
"eslint": "^9.39.4",
|
|
139
139
|
"eslint-plugin-react": "^7.37.5",
|
|
140
|
-
"eslint-plugin-storybook": "10.
|
|
141
|
-
"postcss": "^8.5.
|
|
142
|
-
"rollup": "^4.
|
|
140
|
+
"eslint-plugin-storybook": "10.3.3",
|
|
141
|
+
"postcss": "^8.5.8",
|
|
142
|
+
"rollup": "^4.60.1",
|
|
143
143
|
"rollup-plugin-filesize": "^10.0.0",
|
|
144
144
|
"rollup-plugin-postcss": "^4.0.2",
|
|
145
|
-
"rollup-plugin-visualizer": "^
|
|
146
|
-
"storybook": "10.
|
|
145
|
+
"rollup-plugin-visualizer": "^7.0.1",
|
|
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{as as a,h as s,j as n,aE as r,aC as c,aw as l,cQ as p,n as m,N as d}from"./ui-components-B5U474B5.js";import{VIcon as u,CopyIcon as f,ChevronUpIcon as h,ChevronDownIcon as y,YamlIcon as b}from"../icons.js";const C=i.div`
|
|
2
|
-
padding: 0 12px;
|
|
3
|
-
`,j=({title:i="YAML",yaml:j,defaultOpen:k})=>{const{clickCopy:Y,isCopied:g}=a(),[v,x]=o(k??!1),A=e(()=>j?[{id:c(),type:r.Button,buttonProps:{variant:n.Secondary,size:s.S,leftIcon:g?u:f,onClick:()=>Y(j||""),disabled:g}},{id:c(),type:r.Button,buttonProps:{variant:n.Secondary,size:s.S,leftIcon:v?h:y,onClick:()=>x(t=>!t)}}]:[],[j,g,v]);return t(l,{richTitle:{icon:b,title:i},actions:A,children:v&&t(C,{children:j?t(p,{code:j,language:"yaml",theme:"duotoneDark"}):t(m,{children:t(d,{title:"YAML not found",subTitle:"The YAML for this resource is not available"})})})})};export{j as Y};
|