@odigos/ui-kit 0.0.118 → 0.0.119
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 +7 -0
- package/lib/chunks/{ui-components-41888152.js → ui-components-62ddbe0d.js} +221 -217
- 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/source-list/index.d.ts +1 -1
- package/lib/containers.js +111 -106
- 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.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,cl as AddNode,cm as BaseNode,bt as CopyText,cn as EdgedNode,bp as EditButton,aA as Flow,co as FrameNode,cp as HeaderNode,cu as LabeledEdge,cq as MapItemNode,cr as NoDataNode,aU as NoteBackToSummary,bv as PodContainer,cs as ScrollNode,ct as SkeletonNode,bz as SourceContainer,al as nodeConfig}from"./chunks/ui-components-62ddbe0d.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
|
}
|
package/lib/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{cj as useActiveNodeStore,bN 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-62ddbe0d.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-62ddbe0d.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{bS as ActionCategory,c as ActionKeyTypes,A as ActionType,am as AddNodeTypes,bK as AgentEnvVarsInjectionMethod,bV as BooleanOperation,bd as CodeAttributesKeyTypes,J as Crud,bb as CustomInstrumentationsKeyTypes,b$ as DestinationTypes,ak as EdgeTypes,E as EntityTypes,j as FieldTypes,bc as GolangCustomProbe,b9 as HeadersCollectionKeyTypes,d as InputTypes,bM as InstallationMethod,bf as InstrumentationRuleType,bZ as IntrumentationStatus,ba as JavaCustomProbe,bW as JsonOperation,K as K8sAttributesFrom,bA as K8sResourceKind,bJ as MountMethod,ai as NodeTypes,bU as NumberOperation,c0 as OdigosHealthStatus,aV as OtherEntityTypes,a0 as OtherStatus,be as PayloadCollectionKeyTypes,bY as PlatformType,bL as Profile,bB as ProgrammingLanguages,a_ as SignalType,b_ as SortDirection,v as StatusType,bT as StringOperation,bX as Tier}from"./chunks/ui-components-62ddbe0d.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";
|