@odigos/ui-kit 0.0.118 → 0.0.120
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 +14 -0
- package/lib/chunks/{ui-components-41888152.js → ui-components-534fcd21.js} +235 -218
- package/lib/components/index.d.ts +1 -0
- package/lib/components/loading-text/index.d.ts +9 -0
- package/lib/components.js +1 -1
- package/lib/constants/strings/index.d.ts +2 -0
- package/lib/constants.js +1 -1
- package/lib/containers/data-flow/helpers/build-edges.d.ts +2 -1
- package/lib/containers/data-flow/helpers/build-other-nodes.d.ts +8 -0
- package/lib/containers/data-flow/helpers/build-source-nodes.d.ts +2 -1
- package/lib/containers/data-flow/helpers/get-node-positions.d.ts +2 -1
- package/lib/containers/source-drawer/build-card.d.ts +1 -1
- package/lib/containers/source-selection-form/index.d.ts +1 -2
- package/lib/containers/source-selection-form/source-list/index.d.ts +1 -1
- package/lib/containers.js +110 -107
- package/lib/functions.js +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/useConnection.d.ts +4 -0
- package/lib/hooks.js +1 -1
- package/lib/icons.js +1 -1
- package/lib/snippets/react-flow/nodes/odi-logo-node.d.ts +5 -0
- package/lib/snippets.js +1 -1
- package/lib/store/useSelectedStore.d.ts +3 -1
- package/lib/store/useSetupStore.d.ts +2 -0
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/common/index.d.ts +6 -0
- package/lib/types/data-flow/index.d.ts +2 -1
- package/lib/types.js +1 -1
- package/package.json +1 -1
package/lib/snippets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{aT as AddButton,cm as AddNode,cn as BaseNode,bu as CopyText,co as EdgedNode,bq as EditButton,aA as Flow,cp as FrameNode,cq as HeaderNode,cv as LabeledEdge,cr as MapItemNode,cs as NoDataNode,aU as NoteBackToSummary,bw as PodContainer,ct as ScrollNode,cu as SkeletonNode,bA as SourceContainer,al as nodeConfig}from"./chunks/ui-components-534fcd21.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1dea551d.js";import"styled-components";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import type { Source } from '@/types';
|
|
1
|
+
import type { Connection, Source } from '@/types';
|
|
2
2
|
export interface SelectedState {
|
|
3
|
+
selectedConnection: Connection | null;
|
|
3
4
|
selectedSources: {
|
|
4
5
|
[namespace: string]: Source[];
|
|
5
6
|
};
|
|
6
7
|
}
|
|
7
8
|
interface SelectedStateSetters {
|
|
9
|
+
setSelectedConnection: (payload: SelectedState['selectedConnection']) => void;
|
|
8
10
|
setSelectedSources: (payload: SelectedState['selectedSources']) => void;
|
|
9
11
|
resetSelectedState: () => void;
|
|
10
12
|
}
|
|
@@ -18,6 +18,7 @@ export interface NamespaceSelectionFormData {
|
|
|
18
18
|
[namespace: string]: SelectedNamespace;
|
|
19
19
|
}
|
|
20
20
|
export interface ISetupState {
|
|
21
|
+
fetchedAllNamespaces: boolean;
|
|
21
22
|
availableSources: AvailableSourcesByNamespace;
|
|
22
23
|
configuredSources: SourceSelectionFormData;
|
|
23
24
|
configuredFutureApps: NamespaceSelectionFormData;
|
|
@@ -25,6 +26,7 @@ export interface ISetupState {
|
|
|
25
26
|
configuredDestinationsUpdateOnly: Destination[];
|
|
26
27
|
}
|
|
27
28
|
interface ISetupStateSetters {
|
|
29
|
+
setFetchedAllNamespaces: (payload: boolean) => void;
|
|
28
30
|
setAvailableSources: (payload: ISetupState['availableSources']) => void;
|
|
29
31
|
setConfiguredSources: (payload: ISetupState['configuredSources']) => void;
|
|
30
32
|
setConfiguredFutureApps: (payload: ISetupState['configuredFutureApps']) => void;
|
package/lib/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{ck as useActiveNodeStore,bO as useDarkMode,at as useDataStreamStore,p as useDrawerStore,w as useEntityStore,a2 as useFilterStore,au as useInstrumentStore,N as useModalStore,o as useNotificationStore,u as usePendingStore,bl as useSelectedStore,b1 as useSetupStore}from"./chunks/ui-components-534fcd21.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1dea551d.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 +1 @@
|
|
|
1
|
-
export{T as default}from"./chunks/ui-components-
|
|
1
|
+
export{T as default}from"./chunks/ui-components-534fcd21.js";import"styled-components";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1dea551d.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
|
@@ -139,3 +139,9 @@ export type CustomFieldProps<T = Record<string, any>> = {
|
|
|
139
139
|
setValue: (key: keyof T, value: any) => void;
|
|
140
140
|
formErrors: Record<string, string>;
|
|
141
141
|
};
|
|
142
|
+
export interface Connection {
|
|
143
|
+
id: string;
|
|
144
|
+
name: string;
|
|
145
|
+
type: PlatformType;
|
|
146
|
+
status: StatusType;
|
|
147
|
+
}
|
package/lib/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{bT as ActionCategory,c as ActionKeyTypes,A as ActionType,am as AddNodeTypes,bL as AgentEnvVarsInjectionMethod,bW as BooleanOperation,bd as CodeAttributesKeyTypes,J as Crud,bb as CustomInstrumentationsKeyTypes,c0 as DestinationTypes,ak as EdgeTypes,E as EntityTypes,j as FieldTypes,bc as GolangCustomProbe,b9 as HeadersCollectionKeyTypes,d as InputTypes,bN as InstallationMethod,bf as InstrumentationRuleType,b_ as IntrumentationStatus,ba as JavaCustomProbe,bX as JsonOperation,K as K8sAttributesFrom,bB as K8sResourceKind,bK as MountMethod,ai as NodeTypes,bV as NumberOperation,c1 as OdigosHealthStatus,aV as OtherEntityTypes,a0 as OtherStatus,be as PayloadCollectionKeyTypes,bZ as PlatformType,bM as Profile,bC as ProgrammingLanguages,a_ as SignalType,b$ as SortDirection,v as StatusType,bU as StringOperation,bY as Tier}from"./chunks/ui-components-534fcd21.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1dea551d.js";import"styled-components";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|