@odigos/ui-kit 0.0.118-dev.383 → 0.0.118-dev.384
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/lib/chunks/{ui-components-41888152.js → ui-components-1b9ade2a.js} +221 -217
- package/lib/components.js +1 -1
- 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/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{V as AutocompleteInput,ag as Badge,
|
|
1
|
+
export{V as AutocompleteInput,ag as Badge,aM as Button,t as CancelWarning,ad as CenterThis,C as Checkbox,cv as Code,G as ConditionDetails,H as DataCard,a as DataCardFieldTypes,b7 as DataCardFields,cw as DataFinger,b3 as DataTab,s as DeleteWarning,bu as DescribeRow,W as Divider,m as DocsButton,r as Drawer,cy as DrawerFooter,cx as DrawerHeader,aJ as Dropdown,cz as ErrorBoundary,aS as ExtendArrow,aZ as FadeLoader,b as FieldError,F as FieldLabel,L as FlexColumn,Z as FlexRow,cA as Header,aR as IconButton,bD as IconGroup,a9 as IconTitleBadge,a4 as IconWrapped,bq as IconsNav,cB as ImageControlled,I as Input,h as InputList,e as InputTable,ac as InteractiveTable,g as KeyValueInputsList,O as Modal,Q as ModalBody,M as MonitorsCheckboxes,a6 as MonitorsIcons,P as NavigationButtons,ae as NoDataFound,R as NotificationNote,cI as Overlay,aD as Popup,bI as PopupForm,bR as ScrollX,l as SectionTitle,S as Segment,aE as SelectionButton,cC as SkeletonLoader,Y as Status,b6 as Stepper,cD as TabList,a7 as TableContainer,a8 as TableTitleWrap,ab as TableWrap,bg as Tag,k as Text,n as TextArea,f as Toggle,bP as ToggleCodeComponent,$ as Tooltip,af as TraceLoader,aF as VerticalScroll,cH as WarningModal,cE as getLinksFromText,cF as getStrongsFromText,cG as renderText}from"./chunks/ui-components-1b9ade2a.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/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{y as ACTION_OPTIONS,B as BUTTON_TEXTS,
|
|
1
|
+
export{y as ACTION_OPTIONS,B as BUTTON_TEXTS,aQ as DEFAULT_DATA_STREAM_NAME,b4 as DESTINATION_CATEGORIES,aK as DISPLAY_LANGUAGES,D as DISPLAY_TITLES,U as FORM_ALERTS,bj as INSTRUMENTATION_RULE_OPTIONS,ch as LANGUAGE_OPTIONS,aL as MONITORS_OPTIONS,aN as STORAGE_KEYS,ci as TOKEN_ABOUT_TO_EXPIRE}from"./chunks/ui-components-1b9ade2a.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";
|
|
@@ -3,9 +3,10 @@ import { DefaultTheme } from 'styled-components';
|
|
|
3
3
|
import { type Metrics } from '@/types';
|
|
4
4
|
interface Params {
|
|
5
5
|
theme: DefaultTheme;
|
|
6
|
+
isVm: boolean;
|
|
6
7
|
nodes: Node[];
|
|
7
8
|
metrics?: Metrics;
|
|
8
9
|
containerHeight: number;
|
|
9
10
|
}
|
|
10
|
-
export declare const buildEdges: ({ theme, nodes, metrics, containerHeight }: Params) => Edge[];
|
|
11
|
+
export declare const buildEdges: ({ theme, isVm, nodes, metrics, containerHeight }: Params) => Edge[];
|
|
11
12
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Node } from '@xyflow/react';
|
|
2
|
+
import type { NodePositions } from './get-node-positions';
|
|
3
|
+
interface Params {
|
|
4
|
+
isVm: boolean;
|
|
5
|
+
positions: NodePositions;
|
|
6
|
+
}
|
|
7
|
+
export declare const buildOtherNodes: ({ isVm, positions }: Params) => Node[];
|
|
8
|
+
export {};
|
|
@@ -2,6 +2,7 @@ import type { Node } from '@xyflow/react';
|
|
|
2
2
|
import type { NodePositions } from './get-node-positions';
|
|
3
3
|
import { type Source } from '@/types';
|
|
4
4
|
interface Params {
|
|
5
|
+
isVm: boolean;
|
|
5
6
|
loading: boolean;
|
|
6
7
|
entities: Source[];
|
|
7
8
|
positions: NodePositions;
|
|
@@ -13,5 +14,5 @@ interface Params {
|
|
|
13
14
|
scrollTop: number;
|
|
14
15
|
}) => void;
|
|
15
16
|
}
|
|
16
|
-
export declare const buildSourceNodes: ({ loading, entities, positions, unfilteredCount, containerHeight, onScroll }: Params) => Node[];
|
|
17
|
+
export declare const buildSourceNodes: ({ isVm, loading, entities, positions, unfilteredCount, containerHeight, onScroll }: Params) => Node[];
|
|
17
18
|
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { EntityTypes } from '@/types';
|
|
2
2
|
interface Params {
|
|
3
|
+
isVm: boolean;
|
|
3
4
|
containerWidth: number;
|
|
4
5
|
}
|
|
5
6
|
export type NodePositions = Record<EntityTypes, {
|
|
6
7
|
x: number;
|
|
7
8
|
y: (idx?: number) => number;
|
|
8
9
|
}>;
|
|
9
|
-
export declare const getNodePositions: ({ containerWidth }: Params) => NodePositions;
|
|
10
|
+
export declare const getNodePositions: ({ isVm, containerWidth }: Params) => NodePositions;
|
|
10
11
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Source } from '@/types';
|
|
2
|
-
declare const buildCard: (source: Source) => import("../../components/data-card/data-card-fields").DataCardField[];
|
|
2
|
+
declare const buildCard: (source: Source, isVm: boolean) => import("../../components/data-card/data-card-fields").DataCardField[];
|
|
3
3
|
export { buildCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { type UseSourceSelectionFormData } from '@/hooks';
|
|
3
3
|
interface SourceListProps extends Partial<UseSourceSelectionFormData> {
|
|
4
4
|
isModal?: boolean;
|
|
5
5
|
withInstances?: boolean;
|