diff --git a/dist/index.d.mts b/dist/index.d.mts
index 3a496ba..174a893 100644
--- a/dist/index.d.mts
+++ b/dist/index.d.mts
@@ -396,6 +396,12 @@ interface Source {
name: string;
kind: string;
namespace: string;
+ conditions?: {
+ type: string;
+ status: string;
+ message: string;
+ lastTransitionTime: string;
+ }[];
languages: Array<{
container_name: string;
language: string;
@@ -411,6 +417,12 @@ interface Destination {
logs: boolean;
};
fields: Record;
+ conditions?: {
+ type: string;
+ status: string;
+ message: string;
+ lastTransitionTime: string;
+ }[];
destination_type: {
type: string;
display_name: string;
diff --git a/dist/index.d.ts b/dist/index.d.ts
index 3a496ba..174a893 100644
--- a/dist/index.d.ts
+++ b/dist/index.d.ts
@@ -396,6 +396,12 @@ interface Source {
name: string;
kind: string;
namespace: string;
+ conditions?: {
+ type: string;
+ status: string;
+ message: string;
+ lastTransitionTime: string;
+ }[];
languages: Array<{
container_name: string;
language: string;
@@ -411,6 +417,12 @@ interface Destination {
logs: boolean;
};
fields: Record;
+ conditions?: {
+ type: string;
+ status: string;
+ message: string;
+ lastTransitionTime: string;
+ }[];
destination_type: {
type: string;
display_name: string;
diff --git a/dist/index.js b/dist/index.js
index 8df97cd..d0803c9 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -4964,7 +4964,13 @@ var buildFlowNodesAndEdges = function(sources2, destinations2, actions) {
}
});
sources2.forEach(function(source, index) {
- var _actions;
+ var _source, _actions;
+ var hasError = false;
+ if ((_source = source) === null || _source === void 0 ? void 0 : _source.conditions) {
+ hasError = source.conditions.some(function(condition) {
+ return condition.status === "False";
+ });
+ }
var namespaceNodeId = "namespace-".concat(index);
nodes2.push({
id: namespaceNodeId,
@@ -4981,12 +4987,19 @@ var buildFlowNodesAndEdges = function(sources2, destinations2, actions) {
target: ((_actions = actions) === null || _actions === void 0 ? void 0 : _actions.length) > 0 ? "action-0" : centerNodeId,
animated: true,
style: {
- stroke: "#96f3ff8e"
+ stroke: hasError ? "#ff0000" : "#96f3ff8e"
},
data: null
});
});
destinations2.forEach(function(destination, index) {
+ var _destination;
+ var isErrored = false;
+ if ((_destination = destination) === null || _destination === void 0 ? void 0 : _destination.conditions) {
+ isErrored = destination.conditions.some(function(condition) {
+ return condition.status === "False";
+ });
+ }
var destinationNodeId = "destination-".concat(index);
nodes2.push({
id: destinationNodeId,
@@ -5003,7 +5016,7 @@ var buildFlowNodesAndEdges = function(sources2, destinations2, actions) {
target: destinationNodeId,
animated: true,
style: {
- stroke: "#96f3ff8e"
+ stroke: isErrored ? "#ff0000" : "#96f3ff8e"
},
data: null
});
diff --git a/dist/index.js.map b/dist/index.js.map
index 9f84d44..587ce2f 100644
--- a/dist/index.js.map
+++ b/dist/index.js.map
@@ -1 +1 @@
-{"version":3,"sources":["../src/index.tsx","../src/design.system/radio/radio.tsx","../src/design.system/radio/radio.styled.tsx","../src/design.system/text/text.tsx","../src/design.system/text/text.styled.tsx","../src/assets/icons/checked-radio.svg","../src/design.system/button/button.tsx","../src/design.system/button/button.styled.tsx","../src/design.system/float.box/float.box.tsx","../src/design.system/code.block/code.block.tsx","../src/assets/icons/copy.svg","../src/assets/icons/copied.svg","../src/assets/icons/folders.svg","../src/assets/icons/trash.svg","../src/assets/icons/check.svg","../src/assets/icons/expand-arrow.svg","../src/assets/icons/actions/cluster-attr.svg","../src/assets/icons/actions/delete-attr.svg","../src/assets/icons/actions/rename-attr.svg","../src/assets/icons/actions/index.ts","../src/assets/icons/languages/index.ts","../src/hooks/useOnClickOutside.tsx","../src/hooks/useCopyToClipboard.tsx","../src/styles/palette.tsx","../src/design.system/card/card.tsx","../src/design.system/card/card.styled.tsx","../src/design.system/tag/tag.tsx","../src/design.system/tap/tap.tsx","../src/design.system/drop.down/drop.down.tsx","../src/design.system/drop.down/drop.down.styled.tsx","../src/design.system/search.input/search.input.tsx","../src/design.system/search.input/search.input.styled.tsx","../src/assets/icons/glass.svg","../src/assets/icons/X.svg","../src/assets/icons/question.svg","../src/design.system/tooltip/index.tsx","../src/design.system/switch/switch.tsx","../src/design.system/switch/switch.styled.tsx","../src/design.system/checkbox/checkbox.tsx","../src/design.system/checkbox/checkbox.styled.tsx","../src/assets/icons/checkbox-rect.svg","../src/design.system/selected.counter/selected.counter.tsx","../src/design.system/selected.counter/selected.counter.styled.tsx","../src/design.system/link/link.tsx","../src/design.system/image/image.tsx","../src/design.system/input/input.tsx","../src/design.system/input/input.styled.tsx","../src/assets/icons/eye-open.svg","../src/assets/icons/eye-close.svg","../src/design.system/input/action.input.tsx","../src/design.system/video/video.tsx","../src/assets/icons/close.svg","../src/assets/icons/player.svg","../src/design.system/video/video.styled.tsx","../src/design.system/loader/loader.tsx","../src/design.system/loader/loader.styled.tsx","../src/design.system/notification/notification.tsx","../src/design.system/notification/notification.styled.tsx","../src/assets/icons/X-blue.svg","../src/assets/icons/success-notification.svg","../src/assets/icons/error-notification.svg","../src/design.system/data.flow/index.tsx","../src/design.system/data.flow/action.node.tsx","../src/design.system/data.flow/keyval.middleware.tsx","../src/design.system/data.flow/namespace.node.tsx","../src/assets/icons/overview/middleware.svg","../src/assets/icons/overview/folder.svg","../src/design.system/data.flow/destination.node.tsx","../src/assets/icons/logs-grey.svg","../src/assets/icons/logs-blue.svg","../src/assets/icons/chart-line-grey.svg","../src/assets/icons/chart-line-blue.svg","../src/assets/icons/tree-structure-grey.svg","../src/assets/icons/tree-structure-blue.svg","../src/design.system/data.flow/monitors.tsx","../src/design.system/data.flow/source.node.tsx","../src/design.system/data.flow/data.flow.styled.tsx","../src/design.system/data.flow/control.panel.tsx","../src/design.system/danger.zone/danger.zone.tsx","../src/design.system/modal/modal.tsx","../src/design.system/modal/portal.modal.tsx","../src/design.system/modal/modal.styled.tsx","../src/assets/icons/close-modal.svg","../src/design.system/theme.provider/theme.provider.tsx","../src/design.system/theme.provider/registry.tsx","../src/design.system/steps/steps.tsx","../src/design.system/steps/step.item.tsx","../src/design.system/steps/steps.styled.tsx","../src/assets/icons/checked.svg","../src/design.system/divider/divider.tsx","../src/design.system/note/note.tsx","../src/design.system/segmented-controls/index.tsx","../src/design.system/multi-input/index.tsx","../src/design.system/key-value-input/index.tsx","../src/design.system/text.area/index.tsx","../src/design.system/multi-input/multi.input.table.tsx","../src/design.system/action.group/index.tsx","../src/design.system/action.item/index.tsx","../src/design.system/pagination/index.tsx","../src/design.system/table/index.tsx","../src/design.system/yml.editor/index.tsx","../src/design.system/data.flow/builder.ts"],"names":["Table","import_react","styled","theme","import_styled_components","React","text","TextWrapper","Image","LabelWrapper","import_reactflow","backgroundColor","IMAGE_STYLE","IconWrapper","NamespaceContainer","import_style","MONITORS","nodes","edges","ReactFlow","TitleWrapper","Input","Button","Container","Th","Td","AddRowButton","CopyIconWrapper","YamlEditor","sources","destinations","action"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eAAAA;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAAC,gBAAiD;;;ACAjD,+BAAmB;AAEZ,IAAM,uBAAuB,yBAAAC,QAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcpC,IAAM,oBAAoB,yBAAAA,QAAO;AAAA;AAAA;AAAA;AAAA,YAI5B,CAAC,EAAE,OAAAC,OAAM,MAAM,aAAaA,OAAM,OAAO,UAAU,EAAE;AAAA;AAAA;AAAA;AAAA;;;ACpBjE,mBAAkB;;;ACAlB,IAAAC,4BAAmB;AAEZ,IAAM,cAAc,0BAAAF,QAAO;AAAA,WACvB,CAAC,EAAE,OAAAC,OAAM,MAAMA,OAAM,KAAK,KAAK;AAAA;AAAA,iBAEzB,CAAC,EAAE,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CAAC;AAAA,EACH,CAAC;AAED,SAAO,EAAE,OAAAD,QAAO,OAAAC,OAAM;AACxB;AAGO,IAAM,EAAE,OAAO,MAAM,IAAI;AAAA,EAC9B;AAAA,EACA;AAAA,EACA;AACF","sourcesContent":["export * from '../src/design.system';\n","import React, { useState, FC, ChangeEvent } from 'react';\nimport { RadioButtonContainer, RadioButtonBorder } from './radio.styled';\nimport { Text } from '@/design.system/text/text';\nimport Checked from '../../assets/icons/checked-radio.svg';\ninterface RadioButtonProps {\n label?: string;\n value?: string | boolean;\n size?: number;\n textStyles?: React.CSSProperties;\n onChange?: (event: ChangeEvent) => void;\n}\n\nexport const RadioButton: FC = ({\n label = '',\n onChange,\n value,\n size = 25,\n textStyles = {},\n}) => {\n function handleChange() {\n onChange && onChange({} as ChangeEvent);\n }\n\n return (\n \n \n {value ? (\n \n ) : (\n \n )}\n
\n {label}\n \n );\n};\n","import styled from 'styled-components';\n\nexport const RadioButtonContainer = styled.label`\n height: 24px;\n color: #303030;\n font-size: 14px;\n font-weight: 400;\n margin-right: 7px;\n -webkit-tap-highlight-color: transparent;\n display: flex;\n align-items: center;\n\n gap: 10px;\n cursor: pointer;\n`;\n\nexport const RadioButtonBorder = styled.span`\n cursor: pointer;\n width: 23px;\n height: 23px;\n border: ${({ theme }) => `solid 2px ${theme.colors.light_grey}`};\n border-radius: 50%;\n display: inline-block;\n position: relative;\n`;\n","import React from 'react';\nimport { TextWrapper } from './text.styled';\n\ntype TextProps = {\n type?: string | any;\n value?: string;\n style?: object;\n children?: string | any;\n weight?: string | number;\n color?: string;\n size?: number;\n};\n\nexport function Text({ children, color, style, weight, size }: TextProps) {\n return (\n \n {children}\n \n );\n}\n","import styled from \"styled-components\";\n\nexport const TextWrapper = styled.p`\n color: ${({ theme }) => theme.text.white};\n margin: 0;\n font-family: ${({ theme }) => theme.font_family.primary}, sans-serif;\n font-size: 16px;\n font-weight: 400;\n`;\n","import * as React from \"react\";\nconst SvgCheckedRadio = props => ;\nexport default SvgCheckedRadio;","import React, { ButtonHTMLAttributes, FC } from 'react';\nimport { StyledButton, ButtonContainer } from './button.styled';\n\ninterface ButtonProps extends ButtonHTMLAttributes {\n // Additional custom props if needed\n variant?: string;\n style?: object;\n}\n\nexport const Button: FC = ({\n variant = 'primary',\n children,\n style,\n disabled,\n type = 'button',\n ...rest\n}) => {\n return (\n \n \n {children}\n \n \n );\n};\n","import styled from 'styled-components';\n\ninterface ButtonProps {\n variant?: string;\n disabled?: boolean;\n}\n\nexport const ButtonContainer = styled.div`\n :hover {\n background: ${({ theme, disabled, variant }) =>\n disabled\n ? theme.colors.blue_grey\n : variant === 'primary'\n ? theme.colors.torquiz_light\n : 'transparent'};\n }\n p {\n cursor: ${({ disabled }) =>\n disabled ? 'not-allowed !important' : 'pointer !important'};\n }\n`;\n\nexport const StyledButton = styled.button`\n display: flex;\n padding: 8px 16px;\n align-items: center;\n border-radius: 8px;\n border: none;\n width: 100%;\n height: 100%;\n border: 1px solid\n ${({ theme, variant }) =>\n variant === 'primary' ? 'transparent' : theme.colors.secondary};\n cursor: ${({ disabled }) =>\n disabled ? 'not-allowed !important' : 'pointer !important'};\n background: ${({ theme, disabled, variant }) =>\n disabled\n ? variant === 'primary'\n ? theme.colors.blue_grey\n : 'transparent'\n : variant === 'primary'\n ? theme.colors.secondary\n : 'transparent'};\n justify-content: center;\n align-items: center;\n opacity: ${({ disabled, variant }) =>\n variant !== 'primary' && disabled ? 0.5 : 1};\n`;\n","import React from \"react\";\nimport styled from \"styled-components\";\n\ntype FloatBoxProps = {\n style?: object;\n children: any;\n};\n\nconst FloatBoxBorder = styled.div`\n background: radial-gradient(\n circle at 100% 100%,\n #ffffff 0,\n #ffffff 3px,\n transparent 3px\n )\n 0% 0%/8px 8px no-repeat,\n radial-gradient(circle at 0 100%, #ffffff 0, #ffffff 3px, transparent 3px)\n 100% 0%/8px 8px no-repeat,\n radial-gradient(circle at 100% 0, #ffffff 0, #ffffff 3px, transparent 3px)\n 0% 100%/8px 8px no-repeat,\n radial-gradient(circle at 0 0, #ffffff 0, #ffffff 3px, transparent 3px) 100%\n 100%/8px 8px no-repeat,\n linear-gradient(#ffffff, #ffffff) 50% 50% / calc(100% - 10px)\n calc(100% - 16px) no-repeat,\n linear-gradient(#ffffff, #ffffff) 50% 50% / calc(100% - 16px)\n calc(100% - 10px) no-repeat,\n linear-gradient(0deg, transparent 0%, #0ee6f3 100%),\n radial-gradient(\n 78.09% 72.18% at 100% -0%,\n rgba(150, 242, 255, 0.4) 0%,\n rgba(150, 242, 255, 0) 61.91%\n ),\n linear-gradient(180deg, #2e4c55 0%, #303355 100%);\n border-radius: 8px;\n padding: 1px;\n width: 32px;\n height: 32px;\n`;\n\nconst FloatBoxWrapper = styled.div`\n width: 32px;\n height: 32px;\n border-radius: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n background: radial-gradient(\n 78.09% 72.18% at 100% -0%,\n rgba(150, 242, 255, 0.4) 0%,\n rgba(150, 242, 255, 0) 61.91%\n ),\n linear-gradient(180deg, #2e4c55 0%, #303355 100%);\n`;\n\nexport function FloatBox({ children, style = {} }: FloatBoxProps) {\n return (\n \n {children}\n \n );\n}\n","import React, { useEffect, useState } from 'react';\nimport { Copied, Copy } from '@/assets/icons';\nimport { styled } from 'styled-components';\nimport { Text } from '..';\nimport { useCopyToClipboard } from '@/hooks';\nimport theme from '@/styles/palette';\n\ninterface CodeProps {\n text: string;\n title?: string;\n highlightedWord?: {\n primary: {\n words: string[];\n color: string;\n };\n secondary?: {\n words: string[];\n color: string;\n };\n };\n onCopy?: () => void;\n}\n\nconst CodeBlockContainer = styled.div`\n border-radius: 12px;\n width: 100%;\n border: ${({ theme }) => `1px solid ${theme.colors.dark_blue}`};\n background: ${({ theme }) => theme.colors.dark};\n padding: 16px;\n text-align: start;\n gap: 10px;\n position: relative;\n`;\n\nconst TextWrapper = styled.p`\n font-family: 'IBM Plex Mono', monospace;\n width: 90%;\n`;\n\nconst CopyIconWrapper = styled.span`\n position: absolute;\n right: 16px;\n top: 16px;\n cursor: pointer;\n`;\n\nconst ComponentWrapper = styled.div`\n display: flex;\n flex-direction: column;\n text-align: start;\n gap: 6px;\n width: 100%;\n`;\n\nexport function Code({ text, highlightedWord, title, onCopy }: CodeProps) {\n const [primaryWords, setPrimaryWords] = useState
`,\n }}\n >\n );\n }\n\n return (\n \n {buildNote()}\n \n );\n}\n","'use client';\n\nimport React from 'react';\nimport styled from 'styled-components';\nimport { Text } from '..';\nimport { Folders } from '@/assets/icons';\n\nconst SegmentedControlsWrapper = styled.div`\n display: inline-flex;\n justify-content: space-between;\n border-radius: 10px;\n margin: auto;\n overflow: hidden;\n position: relative;\n`;\nconst SegmentedControlsOption = styled.div`\n color: ${({ theme }) => theme.colors.white};\n padding: 8px 12px;\n position: relative;\n text-align: center;\n display: flex;\n gap: 8px;\n align-items: center;\n justify-content: center;\n z-index: 1;\n border: ${({ theme }) => `1px solid ${theme.colors.secondary}`};\n background-color: ${({ theme }) => theme.colors.dark};\n filter: brightness(50%);\n &.active {\n filter: brightness(100%);\n }\n &:first-child {\n border-top-left-radius: 10px;\n border-bottom-left-radius: 10px;\n padding-left: 16px;\n }\n &:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n padding-right: 16px;\n }\n label {\n font-family: ${({ theme }) => theme.font_family.primary};\n }\n`;\n\nconst SegmentedControlsInput = styled.input`\n opacity: 0;\n margin: 0;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n position: absolute;\n width: 100%;\n cursor: pointer;\n height: 100%;\n`;\n\nexport function SegmentedControls({\n options,\n selected,\n onChange,\n title,\n}: {\n options: { label: string; id: string }[];\n selected: string;\n onChange: (selected: string) => void;\n title?: string;\n}) {\n return (\n \n {title && (\n \n {title}\n \n )}\n \n {options?.map((option) => (\n \n \n onChange(option.id)}\n checked={option.id === selected}\n />\n {option.label}\n \n ))}\n \n
\n );\n}\n","import React, { useState, KeyboardEvent } from 'react';\nimport { Text } from '../text/text';\nimport theme from '@/styles/palette';\nimport styled from 'styled-components';\nimport { Input as BaseInput } from '../input/input';\nimport { Button as BaseButton } from '../button/button';\nimport { Tooltip } from '../tooltip';\n\ninterface MultiInputProps {\n initialList?: string[];\n onListChange?: (list: string[]) => void;\n placeholder?: string;\n limit?: number;\n title?: string;\n tooltip?: string;\n}\n\nexport const MultiInput: React.FC = ({\n initialList = [],\n onListChange,\n placeholder = 'Add item to list',\n title,\n tooltip,\n}) => {\n const [inputValue, setInputValue] = useState('');\n const [list, setList] = useState(initialList);\n\n const handleInputChange = (e: string) => {\n setInputValue(e);\n };\n\n const handleAddToList = () => {\n if (inputValue.trim() !== '') {\n const newList = [...list, inputValue];\n setList(newList);\n setInputValue('');\n onListChange && onListChange(newList);\n }\n };\n\n const handleRemoveFromList = (indexToRemove: number) => {\n const newList = list.filter((_, index) => index !== indexToRemove);\n setList(newList);\n onListChange && onListChange(newList);\n };\n\n return (\n <>\n {title && (\n \n \n \n {title}\n \n \n \n )}\n \n \n {list.map((item, index) => (\n handleRemoveFromList(index)}>\n \n {item}\n \n \n \n ))}\n \n \n handleInputChange(e)}\n />\n \n \n \n >\n );\n};\n\n// Styled components\nconst Container = styled.div`\n width: 100%;\n`;\n\nconst ListContainer = styled.div`\n display: flex;\n width: 110%;\n flex-wrap: wrap;\n`;\n\nconst ListItem = styled.div`\n cursor: pointer;\n padding: 2px 8px;\n margin: 3px;\n border-radius: 5px;\n background: ${theme.colors.light_grey};\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 5px;\n min-height: 30px;\n`;\n\nconst InputContainer = styled.div`\n display: flex;\n gap: 10px;\n width: 100%;\n height: 37px;\n`;\n\nconst Input = styled(BaseInput)`\n width: 100%;\n`;\n\nconst Button = styled(BaseButton)`\n margin-left: 10px;\n`;\n\nconst TitleWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n`;\n","import React, { useState } from 'react';\nimport styled from 'styled-components';\nimport theme from '@/styles/palette';\nimport { Tooltip } from '../tooltip';\nimport { Text } from '../text/text';\nimport { Trash } from '@/assets/icons';\n\nexport interface KeyValue {\n id: number;\n key: string;\n value: string;\n}\n\nexport const Container = styled.div`\n width: 100%;\n`;\n\nexport const TitleWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n`;\n\nconst Table = styled.table`\n border: solid 1px ${theme.text.grey};\n text-align: center;\n border-spacing: 0;\n border-radius: 8px;\n width: 100%;\n`;\n\nexport const Th = styled.th`\n padding: 4px;\n`;\n\nexport const Td = styled.td<{ right?: boolean; left?: boolean }>`\n padding: 8px 0;\n\n border-top: solid 1px ${theme.text.grey};\n border-right: ${({ right }) =>\n right ? `solid 1px ${theme.text.grey}` : 'none'};\n border-left: ${({ left }) =>\n left ? `solid 1px ${theme.text.grey}` : 'none'};\n`;\n\nexport const Input = styled.input`\n background: transparent;\n border: none;\n width: 94%;\n\n outline: none;\n color: ${theme.text.white};\n`;\n\nexport const AddRowButton = styled.td`\n text-align: center;\n border-top: solid 1px ${theme.text.grey};\n padding: 4px;\n cursor: pointer;\n`;\n\nexport interface KeyValueTableProps {\n keyValues: KeyValue[];\n setKeyValues: (keyValues: KeyValue[]) => void;\n title?: string;\n titleKey?: string;\n titleValue?: string;\n tooltip?: string;\n titleButton?: string;\n required?: boolean;\n}\n\nexport const KeyValueTable: React.FC = ({\n keyValues,\n setKeyValues,\n title,\n titleKey,\n titleValue,\n titleButton,\n tooltip,\n required,\n}: KeyValueTableProps) => {\n const [nextId, setNextId] = useState(1);\n\n const addRow = () => {\n const newKeyValue: KeyValue = {\n id: nextId,\n key: '',\n value: '',\n };\n setKeyValues([...keyValues, newKeyValue]);\n setNextId(nextId + 1);\n };\n\n const deleteRow = (id: number) => {\n const value = keyValues.filter((kv) => kv.id !== id);\n setKeyValues(value);\n };\n\n const updateKey = (id: number, newKey: string) => {\n const updatedKeyValues = keyValues.map((kv) =>\n kv.id === id ? { ...kv, key: newKey } : kv\n );\n setKeyValues(updatedKeyValues);\n };\n\n const updateValue = (id: number, newValue: string) => {\n const updatedKeyValues = keyValues.map((kv) =>\n kv.id === id ? { ...kv, value: newValue } : kv\n );\n setKeyValues(updatedKeyValues);\n };\n\n return (\n \n {title && (\n \n \n \n \n {title}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n \n );\n};\n","import React from 'react';\nimport styled from 'styled-components';\nimport { Text } from '../text/text';\nimport { Tooltip } from '../tooltip';\nimport theme from '@/styles/palette';\n// Define the props for the TextArea component\nexport interface TextAreaProps {\n placeholder?: string;\n value?: string;\n onChange: (e: React.ChangeEvent) => void;\n rows?: number;\n cols?: number;\n label?: string;\n tooltip?: string;\n required?: boolean;\n}\n\n// Styled textarea\nconst StyledTextArea = styled.textarea<{ active?: boolean }>`\n width: 100%;\n padding: 8px 12px;\n border-radius: 8px;\n box-sizing: border-box;\n resize: vertical;\n\n outline: none;\n color: ${({ theme }) => theme.text.white};\n font-family: ${theme.font_family.primary};\n background-color: ${({ theme }) => theme.colors.light_dark};\n border: ${({ theme, active }) =>\n `1px solid ${active ? theme.text.grey : theme.colors.blue_grey}`};\n &:hover {\n border: ${({ theme }) => `solid 1px ${theme.text.grey}`};\n }\n`;\nconst LabelWrapper = styled.div`\n margin-bottom: 8px;\n text-align: start;\n`;\n\nexport const TextArea: React.FC = ({\n placeholder,\n value,\n onChange,\n rows = 4,\n cols = 50,\n tooltip,\n label,\n required,\n}) => {\n return (\n <>\n {label && (\n \n \n \n \n {label}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n >\n );\n};\n","import React, { useEffect, useRef, useState } from 'react';\nimport styled from 'styled-components';\nimport theme from '@/styles/palette';\nimport { Tooltip } from '../tooltip';\nimport { Text } from '../text/text';\nimport { Trash } from '@/assets/icons';\n\nexport const Container = styled.div`\n width: 100%;\n`;\n\nexport const TitleWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n`;\n\nexport const Table = styled.table`\n border: solid 1px ${theme.text.grey};\n text-align: center;\n border-spacing: 0;\n border-radius: 8px;\n width: 100%;\n`;\n\nexport const Th = styled.th`\n padding: 4px;\n`;\n\nexport const Td = styled.td<{ right?: boolean; left?: boolean }>`\n padding: 8px 0;\n\n border-bottom: solid 1px ${theme.text.grey};\n border-right: ${({ right }) =>\n right ? `solid 1px ${theme.text.grey}` : 'none'};\n border-left: ${({ left }) =>\n left ? `solid 1px ${theme.text.grey}` : 'none'};\n`;\n\nexport const Input = styled.input`\n background: transparent;\n border: none;\n width: 94%;\n\n outline: none;\n color: ${theme.text.white};\n`;\n\nexport const AddRowButton = styled.td`\n text-align: center;\n padding: 4px;\n cursor: pointer;\n`;\n\nexport interface MultiInputTableProps {\n values: string[];\n title?: string;\n tooltip?: string;\n onValuesChange: (newValues: string[]) => void;\n required?: boolean;\n placeholder?: string;\n}\n\nexport const MultiInputTable: React.FC = ({\n values,\n title,\n tooltip,\n onValuesChange,\n required,\n placeholder,\n}) => {\n const addRow = () => {\n onValuesChange([...values, '']);\n };\n\n const deleteRow = (index: number) => {\n const updatedValues = values.filter((_, i) => i !== index);\n onValuesChange(updatedValues);\n };\n\n const updateValue = (index: number, newValue: string) => {\n const updatedValues = values.map((value, i) =>\n i === index ? newValue : value\n );\n onValuesChange(updatedValues);\n };\n\n return (\n \n {title && (\n \n \n \n \n {title}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n \n );\n};\n","import React from 'react';\nimport { ActionItem } from '../action.item';\n\n// Define the type for individual action items\ninterface ActionItem {\n label: string;\n onClick: () => void;\n id: string;\n selected?: boolean;\n disabled?: boolean;\n}\n\n// Define the type for the groups of action items, including any conditional rendering logic\ninterface ActionGroup {\n label: string;\n subTitle: string;\n items: ActionItem[];\n condition?: boolean; // Optional condition to determine if the group should be rendered\n}\n\n// Props for the container component that will render the list of action groups\ninterface ActionsListProps {\n actionGroups: ActionGroup[];\n}\n\nexport const ActionsGroup: React.FC = ({ actionGroups }) => {\n return (\n <>\n {actionGroups.map(\n (group, index) =>\n group.condition && \n )}\n >\n );\n};\n","import { useOnClickOutside } from '@/hooks';\nimport React, { useRef, useState } from 'react';\nimport styled from 'styled-components';\nimport { Text } from '../text/text';\nimport { Check, Expand } from '@/assets';\n\n// Styled components\nconst Label = styled.label`\n cursor: pointer;\n display: flex;\n gap: 4px;\n p {\n color: ${({ theme }) => theme.colors.light_grey};\n &:hover {\n color: ${({ theme }) => theme.colors.white};\n }\n }\n`;\n\nconst Popup = styled.div<{ isOpen: boolean }>`\n display: ${(props: { isOpen: boolean }) => (props.isOpen ? 'block' : 'none')};\n position: absolute;\n right: 0px;\n box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);\n z-index: 9999;\n flex-direction: column;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n margin-top: 5px;\n`;\n\nconst PopupItem = styled.div<{ disabled: boolean }>`\n display: flex;\n padding: 7px 12px;\n gap: 4px;\n border-top: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n align-items: center;\n opacity: ${({ disabled }) => (disabled ? 0.5 : 1)};\n pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};\n cursor: pointer;\n p {\n cursor: pointer !important;\n }\n\n &:hover {\n background: ${({ theme }) => theme.colors.light_dark};\n }\n`;\n\ninterface Item {\n label: string;\n onClick: () => void;\n id: string;\n selected?: boolean;\n disabled?: boolean;\n}\n\ninterface ActionItemProps {\n label: string;\n subTitle: string;\n items: Item[];\n}\n\nexport const ActionItem: React.FC = ({\n label,\n items,\n subTitle,\n}) => {\n const [isOpen, setIsOpen] = useState(false);\n const ref = useRef(null);\n useOnClickOutside(ref, () => setIsOpen(false));\n\n return (\n \n
\n
\n \n \n {subTitle}\n \n
\n {items.map((item, index) => (\n \n {item.selected ? : }\n \n {item.label}\n \n \n ))}\n \n
\n );\n};\n","import React from 'react';\nimport styled from 'styled-components';\n\nimport theme from '@/styles/palette';\nimport { Expand } from '@/assets';\n\ntype PaginationProps = {\n total: number;\n itemsPerPage: number;\n currentPage: number;\n onPageChange: (page: number) => void;\n};\n\nconst PaginationContainer = styled.div`\n display: flex;\n justify-content: center;\n padding: 20px;\n gap: 2px;\n`;\n\nconst PageButton = styled.button<{\n isCurrentPage?: boolean;\n isDisabled?: boolean;\n}>`\n background-color: ${(props) =>\n props.isCurrentPage ? theme.colors.blue_grey : 'transparent'};\n color: ${(props) => (props.isDisabled ? theme.text.grey : theme.text.white)};\n border: none;\n border-radius: 4px;\n padding: 4px 8px;\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 4px;\n\n &:disabled {\n cursor: default;\n }\n\n &:hover {\n background-color: ${theme.colors.blue_grey};\n }\n`;\n\nexport const Pagination: React.FC = ({\n total,\n itemsPerPage,\n currentPage,\n onPageChange,\n}) => {\n const pageCount = Math.ceil(total / itemsPerPage);\n\n return (\n \n onPageChange(currentPage - 1)}\n disabled={currentPage === 1}\n isDisabled={currentPage === 1}\n >\n \n Previous\n \n {new Array(pageCount).fill(0).map((_, index) => (\n onPageChange(index + 1)}\n isCurrentPage={currentPage === index + 1}\n >\n {index + 1}\n \n ))}\n onPageChange(currentPage + 1)}\n disabled={currentPage === pageCount}\n isDisabled={currentPage === pageCount}\n >\n Next\n \n \n \n );\n};\n","import theme from '@/styles/palette';\nimport styled from 'styled-components';\nimport React, { useState } from 'react';\nimport { Pagination } from '../pagination';\n\n// Updated TableProps to be generic\ntype TableProps = {\n data: T[];\n renderTableHeader: () => JSX.Element;\n renderTableRows: (item: T, index: number) => JSX.Element;\n renderEmptyResult: () => JSX.Element;\n onPaginate?: (pageNumber: number) => void;\n};\n\nconst StyledTable = styled.table`\n width: 100%;\n background-color: ${theme.colors.dark};\n border: 1px solid ${theme.colors.blue_grey};\n border-radius: 6px;\n border-collapse: separate;\n border-spacing: 0;\n`;\n\nconst StyledTbody = styled.tbody``;\n\n// Applying generic type T to the Table component\nexport const Table = ({\n data,\n onPaginate,\n renderTableRows,\n renderTableHeader,\n renderEmptyResult,\n}: TableProps) => {\n const [currentPage, setCurrentPage] = useState(1);\n const [itemsPerPage, setItemsPerPage] = useState(10);\n\n const indexOfLastItem = currentPage * itemsPerPage;\n const indexOfFirstItem = indexOfLastItem - itemsPerPage;\n const currentItems = data.slice(indexOfFirstItem, indexOfLastItem);\n\n const handlePageChange = (pageNumber: number) => {\n setCurrentPage(pageNumber);\n if (onPaginate) {\n onPaginate(pageNumber);\n }\n };\n\n return (\n <>\n \n {renderTableHeader()}\n \n {currentItems.map((item, index) => renderTableRows(item, index))}\n \n \n\n {data.length === 0 ? (\n renderEmptyResult()\n ) : data.length > 10 ? (\n \n ) : null}\n >\n );\n};\n","import React, { useState } from 'react';\nimport YamlEditor from '@focus-reactive/react-yaml';\nimport styled from 'styled-components';\nimport theme from '@/styles/palette';\nimport { Copied, Copy } from '@/assets';\n\nconst Container = styled.div`\n position: relative;\n background-color: ${theme.colors.blue_grey};\n border-radius: 8px;\n padding: 4px;\n\n div {\n color: #f5b175;\n }\n .ͼb {\n color: #64a8fd;\n }\n .ͼm {\n color: ${theme.colors.white};\n }\n .ͼd {\n color: #f5b175;\n }\n .ͼc {\n color: #f5b175;\n }\n .cm-gutters {\n display: none;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n }\n`;\n\nconst EditorOverlay = styled.div`\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 10; // Ensure this is higher than the editor's z-index\n`;\n\nconst CopyIconWrapper = styled.div`\n background-color: ${theme.colors.dark};\n z-index: 999;\n border-radius: 4px;\n padding: 4px;\n position: absolute;\n top: 5px;\n right: 5px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n pointer-events: all;\n`;\n\nexport const YMLEditor = ({ data }: { data: any }) => {\n const [isCopied, setIsCopied] = useState(false);\n\n const handleChange = () => {};\n\n const handleCopy = () => {\n navigator.clipboard\n .writeText(JSON.stringify(data, null, 2))\n .then(() => {\n setIsCopied(true);\n setTimeout(() => {\n setIsCopied(false);\n }, 3000);\n })\n .catch((err) => console.error('Error copying YAML to clipboard: ', err));\n };\n return (\n <>\n \n \n {isCopied ? (\n \n ) : (\n \n )}\n \n\n \n \n \n
\n \n >\n );\n};\n","const sources = [\n {\n name: 'adservice',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'server',\n language: 'java',\n },\n ],\n },\n {\n name: 'cartservice',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'server',\n language: 'dotnet',\n },\n ],\n },\n {\n name: 'checkoutservice',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'server',\n language: 'go',\n },\n ],\n },\n {\n name: 'coupon',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'coupon',\n language: 'javascript',\n },\n ],\n },\n];\n\nconst destinations = [\n {\n id: 'odigos.io.dest.elasticsearch-6qklw',\n name: 'Elasticsearch',\n type: 'elasticsearch',\n signals: {\n traces: true,\n metrics: false,\n logs: true,\n },\n fields: {\n ELASTICSEARCH_CA_PEM:\n '-----BEGIN CERTIFICATE-----\\nMIIDIjCCAgqgAwIBAgIRANR/chGx5YexmqgwbVphZR8wDQYJKoZIhvcNAQELBQAw\\nGzEZMBcGA1UEAxMQZWxhc3RpY3NlYXJjaC1jYTAeFw0yNDAzMDYxMjUwNTFaFw0y\\nNTAzMDYxMjUwNTFaMBsxGTAXBgNVBAMTEGVsYXN0aWNzZWFyY2gtY2EwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQClNK8WB2C2aRC1xPkT9Vx3t2I8D8vE\\nz4/XKi5djhqZx56VclUmnTGwwJSB6t+9eODVGM8HUBeZTw5r5VU3wz5KO34LfX/X\\nDgeZf7jRE4JvNti+ufhYeXhX6yWt2y1lisTy89BMZA1/4r6UBamhDZ9zjC7++hNy\\n21S+mgul4zrjC1fBfjz8O42jjkamNcq3SoQHn9puWPhsOBOc4SowJMFN6YIRf3Vy\\nPvOuG8wP5uCU14dICW7X5M1JqHpcOTW0W7S5JLcVkozrqEQhQ3lc5f4OE0/GYQ5S\\np5sesAUyv9Koiipx3gGvip2+E2Rf2nlLNNMYeFDKyRVmbxkOmIy6PVQdAgMBAAGj\\nYTBfMA4GA1UdDwEB/wQEAwICpDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUH\\nAwIwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUUh7RgBmgPOCGeP3hFqoVC689\\nm4kwDQYJKoZIhvcNAQELBQADggEBAJCpewxuRV0s6EftuHI7Q1PJDYImDv54D1GI\\n57nJwdhCZbvJ69m5hjtOAb7ZCerzJQKvN4sEcvcWPMJs15nBNXW+9fF0zN5RjBqU\\nV8HA22bw8h+00lGUiozgG4DmFkd0GG35qjhPe9PyirOumiaSi2aGMUiWtkOgAFE2\\nDKGLleYFdjDbfQjva/ViUJTo6I7b283foWEqkbaa58ju5QOtjpo09GOmyBXeXHoU\\nbLnUqBAALo7FDSdKyMjWRLKSo2rc7jRn98jXzPqRaVuYhEGn+77GnkA5d3ea3fHP\\nIrj44yKh8na1xqPEHEvryj9LnKL+yCpQILj5L+jIHVopTmQWyLQ=\\n-----END CERTIFICATE-----',\n ELASTICSEARCH_PASSWORD: 'Elasticsearch',\n ELASTICSEARCH_URL: 'Elasticsearch',\n ELASTICSEARCH_USERNAME: 'Elasticsearch',\n ES_LOGS_INDEX: 'Elasticsearch',\n ES_TRACES_INDEX: 'Elasticsearch',\n },\n destination_type: {\n type: 'elasticsearch',\n display_name: 'Elasticsearch',\n image_url: 'https:/d15jtxgb40qetw.cloudfront.net/elasticsearch.svg',\n supported_signals: {\n traces: {\n supported: true,\n },\n metrics: {\n supported: false,\n },\n logs: {\n supported: true,\n },\n },\n },\n },\n {\n id: 'odigos.io.dest.grafanacloudprometheus-2mcbr',\n name: 'Prometheus',\n type: 'grafanacloudprometheus',\n signals: {\n traces: false,\n metrics: true,\n logs: false,\n },\n fields: {\n GRAFANA_CLOUD_PROMETHEUS_PASSWORD: 'Prometheus',\n GRAFANA_CLOUD_PROMETHEUS_RW_ENDPOINT: 'Prometheus',\n GRAFANA_CLOUD_PROMETHEUS_USERNAME: 'Prometheus',\n PROMETHEUS_RESOURCE_ATTRIBUTES_LABELS:\n '[\"k8s.container.name\",\"k8s.pod.name\",\"k8s.namespace.name\",\"Prometheus\"]',\n PROMETHEUS_RESOURCE_EXTERNAL_LABELS: '{\"dsfd\":\"fdsfs\"}',\n },\n destination_type: {\n type: 'grafanacloudprometheus',\n display_name: 'Grafana Cloud Prometheus',\n image_url: 'https:/d15jtxgb40qetw.cloudfront.net/grafana.svg',\n supported_signals: {\n traces: {\n supported: false,\n },\n metrics: {\n supported: true,\n },\n logs: {\n supported: false,\n },\n },\n },\n },\n {\n id: 'odigos.io.dest.s3-gk7bn',\n name: 'aws',\n type: 's3',\n signals: {\n traces: true,\n metrics: true,\n logs: true,\n },\n fields: {\n S3_BUCKET: 'aws',\n S3_MARSHALER: 'otlp_proto',\n S3_PARTITION: 'minute',\n S3_REGION: 'aws',\n },\n destination_type: {\n type: 's3',\n display_name: 'AWS S3',\n image_url: 'https:/d15jtxgb40qetw.cloudfront.net/s3.svg',\n supported_signals: {\n traces: {\n supported: true,\n },\n metrics: {\n supported: true,\n },\n logs: {\n supported: true,\n },\n },\n },\n },\n];\n\nconst action = [\n {\n id: 'aci-f6c9f',\n type: 'AddClusterInfo',\n spec: {\n actionName: 'This is tetst test Cluster Attributes',\n notes:\n 'Actions are a way to modify the OpenTelemetry data recorded by Odigos Sources, before it is exported to your Odigos Destinations.',\n signals: ['METRICS', 'TRACES'],\n clusterAttributes: [\n {\n attributeName: 'Attributes',\n attributeStringValue: 'Attributes',\n },\n ],\n },\n },\n {\n id: 'aci-hfgcb',\n type: 'DeleteAttribute',\n spec: {\n actionName: 'Link',\n notes: 'Link to docs',\n signals: ['LOGS', 'METRICS', 'TRACES'],\n clusterAttributes: [\n {\n attributeName: 'sadsad',\n attributeStringValue: 'sadsa',\n },\n {\n attributeName: 'asdsa',\n attributeStringValue: 'asdasd',\n },\n ],\n },\n },\n {\n id: 'aci-r67mp',\n type: 'RenameAttribute',\n spec: {\n actionName: 'Initialize Initialize',\n notes: 'This is the initialization phase of the cluster.',\n signals: ['LOGS', 'METRICS', 'TRACES'],\n clusterAttributes: [\n {\n attributeName: 'region',\n attributeStringValue: 'us-east-1',\n },\n {\n attributeName: 'instanceType',\n attributeStringValue: 't2.micro',\n },\n {\n attributeName: 'availabilityZones',\n attributeStringValue: '3',\n },\n ],\n },\n },\n];\n\ninterface Source {\n name: string;\n kind: string;\n namespace: string;\n languages: Array<{\n container_name: string;\n language: string;\n }>;\n}\n\ninterface Destination {\n id: string;\n name: string;\n type: string;\n signals: {\n traces: boolean;\n metrics: boolean;\n logs: boolean;\n };\n fields: Record;\n destination_type: {\n type: string;\n display_name: string;\n image_url: string;\n supported_signals: {\n traces: {\n supported: boolean;\n };\n metrics: {\n supported: boolean;\n };\n logs: {\n supported: boolean;\n };\n };\n };\n}\n\ninterface Action {\n id: string;\n type: string;\n spec: {\n actionName: string;\n notes: string;\n signals: string[];\n };\n}\n\ninterface FlowNode {\n id: string;\n type: string;\n position: { x: number; y: number };\n data: any;\n}\n\ninterface FlowEdge {\n id: string;\n source: string;\n target: string;\n animated: boolean;\n label?: string;\n style?: Record;\n data?: any;\n}\n\nexport const buildFlowNodesAndEdges = (\n sources: Source[],\n destinations: Destination[],\n actions: Action[]\n): { nodes: FlowNode[]; edges: FlowEdge[] } => {\n let nodes: FlowNode[] = [],\n edges: FlowEdge[] = [];\n const centerNodeId = 'center-1';\n const xOffsetNamespace = 100;\n\n const destinations_length = destinations.length;\n let middle_index;\n\n if (destinations_length % 2 == 1) {\n middle_index = Math.floor(destinations_length / 2);\n } else {\n middle_index = destinations_length / 2 - 1;\n }\n\n // Desired y position for the middle node\n const desired_y_position = 248;\n\n // Calculate destinationyOffset\n const destinationyOffset = desired_y_position - middle_index * 100;\n\n const sources_length = sources.length;\n let middle_index_sources;\n\n if (sources_length % 2 == 1) {\n middle_index_sources = Math.floor(sources_length / 2);\n } else {\n middle_index_sources = sources_length / 2 - 1;\n }\n\n const sourceyOffset = desired_y_position - middle_index_sources * 100;\n\n // Create the center node\n const centerXPossition =\n actions?.length > 0 ? actions?.length * 150 + 400 : 450;\n nodes.push({\n id: centerNodeId,\n type: 'custom',\n position: { x: centerXPossition, y: 248 },\n data: { label: 'Center Node' },\n });\n\n // Create namespace nodes from sources and edges to the center\n sources.forEach((source, index) => {\n const namespaceNodeId = `namespace-${index}`;\n nodes.push({\n id: namespaceNodeId,\n type: 'source',\n position: { x: xOffsetNamespace, y: sourceyOffset + index * 100 },\n data: source,\n });\n edges.push({\n id: `e${namespaceNodeId}-${centerNodeId}`,\n source: namespaceNodeId,\n target: actions?.length > 0 ? `action-0` : centerNodeId,\n animated: true,\n style: { stroke: '#96f3ff8e' },\n data: null,\n });\n });\n\n // Create destination nodes and edges from the center\n destinations.forEach((destination, index) => {\n const destinationNodeId = `destination-${index}`;\n nodes.push({\n id: destinationNodeId,\n type: 'destination',\n position: {\n x: centerXPossition + 400,\n y: destinationyOffset + index * 100,\n },\n data: destination,\n });\n edges.push({\n id: `e${centerNodeId}-${destinationNodeId}`,\n source: centerNodeId,\n target: destinationNodeId,\n animated: true,\n style: { stroke: '#96f3ff8e' },\n data: null,\n });\n });\n\n // Create action nodes and edges from the center\n actions.forEach((action, index) => {\n const actionNodeId = `action-${index}`;\n const nextActionNodeId = `action-${index + 1}`;\n nodes.push({\n id: actionNodeId,\n type: 'action',\n position: { x: 420 + index * 125, y: 250 },\n data: action,\n });\n edges.push({\n id: `e${centerNodeId}-${actionNodeId}`,\n source: actionNodeId,\n target: index + 1 === actions.length ? centerNodeId : nextActionNodeId,\n animated: true,\n style: { stroke: '#96f3ff8e' },\n data: null,\n });\n });\n\n return { nodes, edges };\n};\n\n// Example usage with typed data\nexport const { nodes, edges } = buildFlowNodesAndEdges(\n sources,\n destinations,\n action\n);\n"]}
\ No newline at end of file
+{"version":3,"sources":["../src/index.tsx","../src/design.system/radio/radio.tsx","../src/design.system/radio/radio.styled.tsx","../src/design.system/text/text.tsx","../src/design.system/text/text.styled.tsx","../src/assets/icons/checked-radio.svg","../src/design.system/button/button.tsx","../src/design.system/button/button.styled.tsx","../src/design.system/float.box/float.box.tsx","../src/design.system/code.block/code.block.tsx","../src/assets/icons/copy.svg","../src/assets/icons/copied.svg","../src/assets/icons/folders.svg","../src/assets/icons/trash.svg","../src/assets/icons/check.svg","../src/assets/icons/expand-arrow.svg","../src/assets/icons/actions/cluster-attr.svg","../src/assets/icons/actions/delete-attr.svg","../src/assets/icons/actions/rename-attr.svg","../src/assets/icons/actions/index.ts","../src/assets/icons/languages/index.ts","../src/hooks/useOnClickOutside.tsx","../src/hooks/useCopyToClipboard.tsx","../src/styles/palette.tsx","../src/design.system/card/card.tsx","../src/design.system/card/card.styled.tsx","../src/design.system/tag/tag.tsx","../src/design.system/tap/tap.tsx","../src/design.system/drop.down/drop.down.tsx","../src/design.system/drop.down/drop.down.styled.tsx","../src/design.system/search.input/search.input.tsx","../src/design.system/search.input/search.input.styled.tsx","../src/assets/icons/glass.svg","../src/assets/icons/X.svg","../src/assets/icons/question.svg","../src/design.system/tooltip/index.tsx","../src/design.system/switch/switch.tsx","../src/design.system/switch/switch.styled.tsx","../src/design.system/checkbox/checkbox.tsx","../src/design.system/checkbox/checkbox.styled.tsx","../src/assets/icons/checkbox-rect.svg","../src/design.system/selected.counter/selected.counter.tsx","../src/design.system/selected.counter/selected.counter.styled.tsx","../src/design.system/link/link.tsx","../src/design.system/image/image.tsx","../src/design.system/input/input.tsx","../src/design.system/input/input.styled.tsx","../src/assets/icons/eye-open.svg","../src/assets/icons/eye-close.svg","../src/design.system/input/action.input.tsx","../src/design.system/video/video.tsx","../src/assets/icons/close.svg","../src/assets/icons/player.svg","../src/design.system/video/video.styled.tsx","../src/design.system/loader/loader.tsx","../src/design.system/loader/loader.styled.tsx","../src/design.system/notification/notification.tsx","../src/design.system/notification/notification.styled.tsx","../src/assets/icons/X-blue.svg","../src/assets/icons/success-notification.svg","../src/assets/icons/error-notification.svg","../src/design.system/data.flow/index.tsx","../src/design.system/data.flow/action.node.tsx","../src/design.system/data.flow/keyval.middleware.tsx","../src/design.system/data.flow/namespace.node.tsx","../src/assets/icons/overview/middleware.svg","../src/assets/icons/overview/folder.svg","../src/design.system/data.flow/destination.node.tsx","../src/assets/icons/logs-grey.svg","../src/assets/icons/logs-blue.svg","../src/assets/icons/chart-line-grey.svg","../src/assets/icons/chart-line-blue.svg","../src/assets/icons/tree-structure-grey.svg","../src/assets/icons/tree-structure-blue.svg","../src/design.system/data.flow/monitors.tsx","../src/design.system/data.flow/source.node.tsx","../src/design.system/data.flow/data.flow.styled.tsx","../src/design.system/data.flow/control.panel.tsx","../src/design.system/danger.zone/danger.zone.tsx","../src/design.system/modal/modal.tsx","../src/design.system/modal/portal.modal.tsx","../src/design.system/modal/modal.styled.tsx","../src/assets/icons/close-modal.svg","../src/design.system/theme.provider/theme.provider.tsx","../src/design.system/theme.provider/registry.tsx","../src/design.system/steps/steps.tsx","../src/design.system/steps/step.item.tsx","../src/design.system/steps/steps.styled.tsx","../src/assets/icons/checked.svg","../src/design.system/divider/divider.tsx","../src/design.system/note/note.tsx","../src/design.system/segmented-controls/index.tsx","../src/design.system/multi-input/index.tsx","../src/design.system/key-value-input/index.tsx","../src/design.system/text.area/index.tsx","../src/design.system/multi-input/multi.input.table.tsx","../src/design.system/action.group/index.tsx","../src/design.system/action.item/index.tsx","../src/design.system/pagination/index.tsx","../src/design.system/table/index.tsx","../src/design.system/yml.editor/index.tsx","../src/design.system/data.flow/builder.ts"],"names":["Table","import_react","styled","theme","import_styled_components","React","text","TextWrapper","Image","LabelWrapper","import_reactflow","backgroundColor","IMAGE_STYLE","IconWrapper","NamespaceContainer","import_style","MONITORS","nodes","edges","ReactFlow","TitleWrapper","Input","Button","Container","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B;AAAA,EACA;AAAA,EACA;AACF","sourcesContent":["export * from '../src/design.system';\n","import React, { useState, FC, ChangeEvent } from 'react';\nimport { RadioButtonContainer, RadioButtonBorder } from './radio.styled';\nimport { Text } from '@/design.system/text/text';\nimport Checked from '../../assets/icons/checked-radio.svg';\ninterface RadioButtonProps {\n label?: string;\n value?: string | boolean;\n size?: number;\n textStyles?: React.CSSProperties;\n onChange?: (event: ChangeEvent) => void;\n}\n\nexport const RadioButton: FC = ({\n label = '',\n onChange,\n value,\n size = 25,\n textStyles = {},\n}) => {\n function handleChange() {\n onChange && onChange({} as ChangeEvent);\n }\n\n return (\n \n \n {value ? (\n \n ) : (\n \n )}\n
\n {label}\n \n );\n};\n","import styled from 'styled-components';\n\nexport const RadioButtonContainer = styled.label`\n height: 24px;\n color: #303030;\n font-size: 14px;\n font-weight: 400;\n margin-right: 7px;\n -webkit-tap-highlight-color: transparent;\n display: flex;\n align-items: center;\n\n gap: 10px;\n cursor: pointer;\n`;\n\nexport const RadioButtonBorder = styled.span`\n cursor: pointer;\n width: 23px;\n height: 23px;\n border: ${({ theme }) => `solid 2px ${theme.colors.light_grey}`};\n border-radius: 50%;\n display: inline-block;\n position: relative;\n`;\n","import React from 'react';\nimport { TextWrapper } from './text.styled';\n\ntype TextProps = {\n type?: string | any;\n value?: string;\n style?: object;\n children?: string | any;\n weight?: string | number;\n color?: string;\n size?: number;\n};\n\nexport function Text({ children, color, style, weight, size }: TextProps) {\n return (\n \n {children}\n \n );\n}\n","import styled from \"styled-components\";\n\nexport const TextWrapper = styled.p`\n color: ${({ theme }) => theme.text.white};\n margin: 0;\n font-family: ${({ theme }) => theme.font_family.primary}, sans-serif;\n font-size: 16px;\n font-weight: 400;\n`;\n","import * as React from \"react\";\nconst SvgCheckedRadio = props => ;\nexport default SvgCheckedRadio;","import React, { ButtonHTMLAttributes, FC } from 'react';\nimport { StyledButton, ButtonContainer } from './button.styled';\n\ninterface ButtonProps extends ButtonHTMLAttributes {\n // Additional custom props if needed\n variant?: string;\n style?: object;\n}\n\nexport const Button: FC = ({\n variant = 'primary',\n children,\n style,\n disabled,\n type = 'button',\n ...rest\n}) => {\n return (\n \n \n {children}\n \n \n );\n};\n","import styled from 'styled-components';\n\ninterface ButtonProps {\n variant?: string;\n disabled?: boolean;\n}\n\nexport const ButtonContainer = styled.div`\n :hover {\n background: ${({ theme, disabled, variant }) =>\n disabled\n ? theme.colors.blue_grey\n : variant === 'primary'\n ? theme.colors.torquiz_light\n : 'transparent'};\n }\n p {\n cursor: ${({ disabled }) =>\n disabled ? 'not-allowed !important' : 'pointer !important'};\n }\n`;\n\nexport const StyledButton = styled.button`\n display: flex;\n padding: 8px 16px;\n align-items: center;\n border-radius: 8px;\n border: none;\n width: 100%;\n height: 100%;\n border: 1px solid\n ${({ theme, variant }) =>\n variant === 'primary' ? 'transparent' : theme.colors.secondary};\n cursor: ${({ disabled }) =>\n disabled ? 'not-allowed !important' : 'pointer !important'};\n background: ${({ theme, disabled, variant }) =>\n disabled\n ? variant === 'primary'\n ? theme.colors.blue_grey\n : 'transparent'\n : variant === 'primary'\n ? theme.colors.secondary\n : 'transparent'};\n justify-content: center;\n align-items: center;\n opacity: ${({ disabled, variant }) =>\n variant !== 'primary' && disabled ? 0.5 : 1};\n`;\n","import React from \"react\";\nimport styled from \"styled-components\";\n\ntype FloatBoxProps = {\n style?: object;\n children: any;\n};\n\nconst FloatBoxBorder = styled.div`\n background: radial-gradient(\n circle at 100% 100%,\n #ffffff 0,\n #ffffff 3px,\n transparent 3px\n )\n 0% 0%/8px 8px no-repeat,\n radial-gradient(circle at 0 100%, #ffffff 0, #ffffff 3px, transparent 3px)\n 100% 0%/8px 8px no-repeat,\n radial-gradient(circle at 100% 0, #ffffff 0, #ffffff 3px, transparent 3px)\n 0% 100%/8px 8px no-repeat,\n radial-gradient(circle at 0 0, #ffffff 0, #ffffff 3px, transparent 3px) 100%\n 100%/8px 8px no-repeat,\n linear-gradient(#ffffff, #ffffff) 50% 50% / calc(100% - 10px)\n calc(100% - 16px) no-repeat,\n linear-gradient(#ffffff, #ffffff) 50% 50% / calc(100% - 16px)\n calc(100% - 10px) no-repeat,\n linear-gradient(0deg, transparent 0%, #0ee6f3 100%),\n radial-gradient(\n 78.09% 72.18% at 100% -0%,\n rgba(150, 242, 255, 0.4) 0%,\n rgba(150, 242, 255, 0) 61.91%\n ),\n linear-gradient(180deg, #2e4c55 0%, #303355 100%);\n border-radius: 8px;\n padding: 1px;\n width: 32px;\n height: 32px;\n`;\n\nconst FloatBoxWrapper = styled.div`\n width: 32px;\n height: 32px;\n border-radius: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n background: radial-gradient(\n 78.09% 72.18% at 100% -0%,\n rgba(150, 242, 255, 0.4) 0%,\n rgba(150, 242, 255, 0) 61.91%\n ),\n linear-gradient(180deg, #2e4c55 0%, #303355 100%);\n`;\n\nexport function FloatBox({ children, style = {} }: FloatBoxProps) {\n return (\n \n {children}\n \n );\n}\n","import React, { useEffect, useState } from 'react';\nimport { Copied, Copy } from '@/assets/icons';\nimport { styled } from 'styled-components';\nimport { Text } from '..';\nimport { useCopyToClipboard } from '@/hooks';\nimport theme from '@/styles/palette';\n\ninterface CodeProps {\n text: string;\n title?: string;\n highlightedWord?: {\n primary: {\n words: string[];\n color: string;\n };\n secondary?: {\n words: string[];\n color: string;\n };\n };\n onCopy?: () => void;\n}\n\nconst CodeBlockContainer = styled.div`\n border-radius: 12px;\n width: 100%;\n border: ${({ theme }) => `1px solid ${theme.colors.dark_blue}`};\n background: ${({ theme }) => theme.colors.dark};\n padding: 16px;\n text-align: start;\n gap: 10px;\n position: relative;\n`;\n\nconst TextWrapper = styled.p`\n font-family: 'IBM Plex Mono', monospace;\n width: 90%;\n`;\n\nconst CopyIconWrapper = styled.span`\n position: absolute;\n right: 16px;\n top: 16px;\n cursor: pointer;\n`;\n\nconst ComponentWrapper = styled.div`\n display: flex;\n flex-direction: column;\n text-align: start;\n gap: 6px;\n width: 100%;\n`;\n\nexport function Code({ text, highlightedWord, title, onCopy }: CodeProps) {\n const [primaryWords, setPrimaryWords] = useState>(\n new Map()\n );\n const [secondaryWords, setSecondaryWords] = useState>(\n new Map()\n );\n\n const { copyToClipboard, clipboardState } = useCopyToClipboard();\n\n useEffect(onload, [highlightedWord]);\n\n function onload() {\n if (highlightedWord) {\n highlightedWord.primary && handleSetPrimaryWords();\n highlightedWord.secondary && handleSetSecondaryWords();\n }\n }\n\n function handleSetPrimaryWords() {\n const primaryWordsMap = new Map();\n highlightedWord?.primary.words.forEach((word) => {\n primaryWordsMap.set(word, word);\n });\n setPrimaryWords(primaryWordsMap);\n }\n\n function handleSetSecondaryWords() {\n const secondaryWordsMap = new Map();\n highlightedWord?.secondary?.words.forEach((word) => {\n secondaryWordsMap.set(word, word);\n });\n setSecondaryWords(secondaryWordsMap);\n }\n\n function getWordColor(word: string) {\n if (primaryWords.has(word)) {\n return highlightedWord?.primary.color;\n }\n if (secondaryWords.has(word)) {\n return highlightedWord?.secondary?.color;\n }\n return theme.colors.white;\n }\n\n function handleCopy() {\n copyToClipboard(text);\n onCopy && onCopy();\n }\n\n return (\n \n {title && {title}}\n \n \n {!clipboardState ? (\n \n ) : (\n \n )}\n \n \n {text.split(' ').map((part, index) => (\n \n {`${part} `}\n \n ))}\n \n \n \n );\n}\n","import * as React from \"react\";\nconst SvgCopy = props => ;\nexport default SvgCopy;","import * as React from \"react\";\nconst SvgCopied = props => ;\nexport default SvgCopied;","import * as React from \"react\";\nconst SvgFolders = props => ;\nexport default SvgFolders;","import * as React from \"react\";\nconst SvgTrash = props => ;\nexport default SvgTrash;","import * as React from \"react\";\nconst SvgCheck = props => ;\nexport default SvgCheck;","import * as React from \"react\";\nconst SvgExpandArrow = props => ;\nexport default SvgExpandArrow;","import * as React from \"react\";\nconst SvgClusterAttr = props => ;\nexport default SvgClusterAttr;","import * as React from \"react\";\nconst SvgDeleteAttr = props => ;\nexport default SvgDeleteAttr;","import * as React from \"react\";\nconst SvgRenameAttr = props => ;\nexport default SvgRenameAttr;","import AddClusterInfo from './cluster-attr.svg';\nimport DeleteAttribute from './delete-attr.svg';\nimport RenameAttribute from './rename-attr.svg';\n// Define the type for the ACTION_ICONS object\ninterface ActionIcons {\n [key: string]: any;\n}\n\n// Define the ACTION_ICONS with explicit types\nexport const ACTION_ICONS: ActionIcons = {\n AddClusterInfo: AddClusterInfo,\n RenameAttribute: RenameAttribute,\n DeleteAttribute: DeleteAttribute,\n};\n","const BASE_URL = 'https://d1n7d4xz7fr8b4.cloudfront.net/';\n\nexport const LANGUAGES_LOGOS = {\n java: `${BASE_URL}java.png`,\n go: `${BASE_URL}go.png`,\n javascript: `${BASE_URL}nodejs.png`,\n python: `${BASE_URL}python.png`,\n dotnet: `${BASE_URL}dotnet.png`,\n default: `${BASE_URL}default.png`,\n mysql: `${BASE_URL}mysql.png`,\n unknown: `${BASE_URL}default.svg`, // TODO: good icon\n processing: `${BASE_URL}default.svg`, // TODO: good icon\n 'no containers': `${BASE_URL}default.svg`, // TODO: good icon\n};\n\nexport const LANGUAGES_COLORS = {\n java: '#B07219',\n go: '#00ADD8',\n javascript: '#F7DF1E',\n python: '#306998',\n dotnet: '#512BD4',\n mysql: '#00758F',\n};\n","import { useEffect, RefObject } from \"react\";\n\ntype Event = MouseEvent | TouchEvent;\n\nexport function useOnClickOutside(\n ref: RefObject,\n handler: (event: Event) => void\n) {\n useEffect(() => {\n const listener = (event: Event) => {\n const el = ref?.current;\n if (el?.contains(event?.target as Node)) return null;\n\n // Call the handler only if the click is outside of the element passed.\n handler(event);\n };\n\n document.addEventListener(\"mousedown\", listener);\n document.addEventListener(\"touchstart\", listener);\n\n return () => {\n document.removeEventListener(\"mousedown\", listener);\n document.removeEventListener(\"touchstart\", listener);\n };\n }, [ref, handler]);\n}\n","import { useEffect, useState } from 'react';\n\nexport function useCopyToClipboard() {\n const [clipboardState, setClipboardState] = useState(false);\n\n async function copyToClipboard(text: string) {\n if (navigator.clipboard) {\n try {\n await navigator.clipboard.writeText(text);\n setClipboardState(true);\n } catch (error) {\n setClipboardState(false);\n }\n } else {\n setClipboardState(false);\n }\n }\n\n return { clipboardState, copyToClipboard };\n}\n","import { DefaultTheme } from 'styled-components';\n\n// Define your color palette\nconst colors = {\n primary: '#07111A',\n secondary: '#0EE6F3',\n torquiz_light: '#96F2FF',\n dark: '#07111A',\n data_flow_bg: '#0E1C28',\n light_dark: '#132330',\n dark_blue: '#203548',\n light_grey: '#CCD0D2',\n blue_grey: '#374A5B',\n white: '#fff',\n error: '#FD3F3F',\n traces: '#4CAF50',\n logs: '#8B4513',\n metrics: '#FFD700',\n};\n\nconst text = {\n primary: '#07111A',\n secondary: '#0EE6F3',\n white: '#fff',\n light_grey: '#CCD0D2',\n grey: '#8b92a5',\n dark_button: '#0A1824',\n};\n\nconst font_family = {\n primary: 'Inter',\n};\n\n// Define the theme interface\ninterface ThemeInterface extends DefaultTheme {\n colors: typeof colors;\n text: typeof text;\n font_family: typeof font_family;\n}\n\n// Create your theme object\nconst theme: ThemeInterface = {\n colors,\n text,\n font_family,\n};\n\n// Export the theme\nexport default theme;\n","'use client';\nimport React from 'react';\nimport { CardContainer, CardHeader } from './card.styled';\nimport { Text } from '../text/text';\n\ninterface CardProps {\n children?: JSX.Element | JSX.Element[];\n focus?: any;\n type?: string;\n header?: {\n title?: string;\n subtitle?: string;\n body?: () => JSX.Element | JSX.Element[];\n };\n}\n\nexport function Card({\n children,\n focus = false,\n type = 'primary',\n header,\n}: CardProps) {\n function renderHeader() {\n if (header?.body) {\n return header?.body();\n }\n return (\n <>\n \n {header?.title}\n \n \n {header?.subtitle}\n \n >\n );\n }\n\n return (\n \n {header && {renderHeader()}}\n {children}\n \n );\n}\n","import styled from 'styled-components';\n\ninterface CardContainerProps {\n selected?: any;\n type?: string;\n}\n\nexport const CardContainer = styled.div`\n display: inline-flex;\n position: relative;\n height: fit-content;\n flex-direction: column;\n border-radius: 24px;\n height: 100%;\n border: ${({ selected, theme, type }) =>\n `1px solid ${\n selected\n ? theme.colors.secondary\n : type === 'primary'\n ? theme.colors.dark_blue\n : '#374a5b'\n }`};\n background: ${({ theme, type }) =>\n type === 'primary' ? theme.colors.dark : '#0E1C28'};\n box-shadow: ${({ type }) =>\n type === 'primary'\n ? 'none'\n : '0px -6px 16px 0px rgba(0, 0, 0, 0.25),4px 4px 16px 0px rgba(71, 231, 241, 0.05),-4px 4px 16px 0px rgba(71, 231, 241, 0.05)'};\n`;\n\nexport const CardHeader = styled(CardContainer)`\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: fit-content;\n gap: 16px;\n padding: 24px 0px;\n box-shadow: none;\n`;\n","import { Text } from '@/design.system/text/text';\nimport React from 'react';\nimport styled from 'styled-components';\n\ninterface TagProps {\n title: string;\n color?: string;\n}\n\nconst TagWrapper = styled.div`\n display: flex;\n padding: 4px 8px;\n align-items: flex-start;\n gap: 10px;\n border-radius: 10px;\n width: fit-content;\n`;\n\nexport function Tag({ title = '', color = '#033869' }: TagProps) {\n return (\n \n \n {title}\n \n \n );\n}\n","import { Text } from '@/design.system/text/text';\nimport React from 'react';\nimport styled from 'styled-components';\n\ninterface TapProps {\n icons: object;\n title?: string;\n tapped?: boolean;\n onClick?: any;\n children?: React.ReactNode;\n style?: React.CSSProperties;\n}\n\ninterface TapWrapperProps {\n selected?: any;\n}\n\nconst TapWrapper = styled.div`\n display: flex;\n padding: 8px 14px;\n align-items: flex-end;\n gap: 10px;\n border-radius: 16px;\n border: ${({ theme, selected }) =>\n `1px solid ${selected ? 'transparent' : theme.colors.dark_blue}`};\n background: ${({ theme, selected }) =>\n selected ? theme.colors.dark_blue : 'transparent'};\n`;\n\nexport function Tap({\n title = '',\n tapped,\n children,\n style,\n onClick,\n}: TapProps) {\n return (\n \n {children}\n \n {title}\n \n \n );\n}\n","import React, { useEffect, useRef, useState } from 'react';\nimport Open from '@/assets/icons/expand-arrow.svg';\nimport {\n DropdownHeader,\n DropdownWrapper,\n DropdownBody,\n DropdownItem,\n DropdownListWrapper,\n LabelWrapper,\n} from './drop.down.styled';\nimport { Text } from '../text/text';\nimport { SearchInput } from '../search.input/search.input';\nimport { useOnClickOutside } from '@/hooks';\nimport { Tooltip } from '../tooltip';\nimport theme from '@/styles/palette';\n\ninterface DropDownItem {\n id: number | string;\n label: string;\n}\ninterface DropDownProps {\n data: DropDownItem[];\n onChange: (item: DropDownItem) => void;\n width?: number;\n value?: DropDownItem | null;\n label?: string;\n tooltip?: string;\n required?: boolean;\n}\n\nconst SELECTED_ITEM = 'Select item';\nconst CONTAINER_STYLE = {\n width: '90%',\n border: 'none',\n background: 'transparent',\n};\nconst SEARCH_INPUT_STYLE = { background: 'transparent' };\n\nexport function DropDown({\n data = [],\n onChange,\n width = 260,\n value,\n label,\n tooltip,\n required,\n}: DropDownProps) {\n const [isOpen, setOpen] = useState(false);\n const [selectedItem, setSelectedItem] = useState(value || null);\n const [isHover, setHover] = useState(false);\n const [searchFilter, setSearchFilter] = useState('');\n\n const containerRef = useRef(null);\n\n useEffect(() => {\n value && setSelectedItem(value);\n }, [value]);\n\n useOnClickOutside(containerRef, () => setOpen(false));\n\n const toggleDropdown = () => setOpen(!isOpen);\n\n const handleItemClick = (item: DropDownItem) => {\n onChange(item);\n setSelectedItem(item);\n setSearchFilter('');\n setOpen(false);\n };\n\n function getDropdownList() {\n return searchFilter\n ? data?.filter((item: any) =>\n item?.label.toLowerCase().includes(searchFilter.toLowerCase())\n )\n : data;\n }\n\n return (\n <>\n {label && (\n \n \n \n \n {label}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n setHover(true)}\n onMouseLeave={() => setHover(false)}\n onClick={toggleDropdown}\n >\n \n {selectedItem ? selectedItem.label : SELECTED_ITEM}\n \n \n \n {isOpen && (\n \n setSearchFilter(e.target.value)}\n placeholder=\"Search\"\n containerStyle={CONTAINER_STYLE}\n inputStyle={SEARCH_INPUT_STYLE}\n showClear={false}\n />\n \n {getDropdownList().map((item) => (\n handleItemClick(item)}\n >\n {item.label}\n \n ))}\n \n \n )}\n
\n >\n );\n}\n","import styled from 'styled-components';\n\ninterface DropdownWrapperProps {\n selected?: any;\n}\n\nexport const DropdownWrapper = styled.div`\n position: relative;\n z-index: 999;\n width: 100%;\n padding: 11px 4px;\n border-radius: 8px;\n cursor: pointer;\n border: ${({ selected, theme }) =>\n `1px solid ${selected ? theme.colors.white : theme.colors.blue_grey}`};\n /* background: ${({ theme }) => theme.colors.dark}; */\n\n .dropdown-arrow {\n transform: rotate(0deg);\n transition: all 0.2s ease-in-out;\n }\n\n .dropdown-arrow.open {\n transform: rotate(180deg);\n }\n`;\n\nexport const DropdownHeader = styled.div`\n padding: 0 12px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n color: ${({ theme }) => theme.text.white};\n font-size: 14px;\n font-family: ${({ theme }) => theme.font_family.primary}, sans-serif;\n font-weight: 400;\n`;\n\nexport const DropdownBody = styled.div`\n position: relative;\n z-index: 1000;\n display: flex;\n width: 100%;\n padding: 11px 4px;\n flex-direction: column;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n margin-top: 5px;\n`;\n\nexport const DropdownListWrapper = styled.div`\n position: relative;\n\n z-index: 1000;\n width: 100%;\n max-height: 270px;\n overflow-y: scroll;\n scrollbar-width: none;\n :hover {\n background: ${({ theme }) => theme.colors.dark_blue};\n }\n`;\n\nexport const DropdownItem = styled.div`\n display: flex;\n padding: 7px 12px;\n justify-content: space-between;\n align-items: center;\n border-radius: 8px;\n cursor: pointer;\n p {\n cursor: pointer !important;\n }\n`;\nexport const LabelWrapper = styled.div`\n margin-bottom: 8px;\n text-align: start;\n`;\n","import React from 'react';\nimport { SearchInputWrapper, StyledSearchInput } from './search.input.styled';\nimport Glass from '@/assets/icons/glass.svg';\nimport X from '@/assets/icons/X.svg';\n\ninterface SearchInputProps {\n placeholder?: string;\n value?: string;\n onChange?: (e: any) => void;\n loading?: boolean;\n containerStyle?: any;\n inputStyle?: any;\n showClear?: boolean;\n}\n\nexport function SearchInput({\n placeholder = 'Search',\n value = '',\n onChange = () => {},\n loading = false,\n containerStyle = {},\n inputStyle = {},\n showClear = true,\n}: SearchInputProps) {\n const clear = value\n ? () =>\n onChange({\n target: {\n value: '',\n },\n })\n : () => {};\n\n return (\n \n \n \n\n {showClear && (\n \n {' '}\n \n
\n )}\n \n );\n}\n","import styled from \"styled-components\";\n\ninterface ActiveProps {\n active?: any;\n}\n\nexport const SearchInputWrapper = styled.div`\n position: relative;\n display: flex;\n width: 340px;\n padding: 9px 13px;\n gap: 10px;\n border-radius: 8px;\n border: ${({ active, theme }) =>\n `1px solid ${active ? theme.colors.white : theme.colors.blue_grey}`};\n background: ${({ active, theme }) =>\n `${active ? theme.colors.dark : theme.colors.light_dark}`};\n &:hover {\n border: ${({ theme }) => `solid 1px ${theme.colors.white}`};\n }\n`;\n\nexport const StyledSearchInput = styled.input`\n width: 85%;\n background: ${({ active, theme }) =>\n `${active ? theme.colors.dark : \"transparent\"}`};\n border: none;\n outline: none;\n color: ${({ active, theme }) =>\n `${active ? theme.colors.white : theme.text.grey}`};\n font-size: 14px;\n font-family: ${({ theme }) => theme.font_family.primary}, sans-serif;\n font-weight: 400;\n &:focus {\n color: ${({ theme }) => `solid 1px ${theme.colors.white}`};\n }\n`;\n","import * as React from \"react\";\nconst SvgGlass = props => ;\nexport default SvgGlass;","import * as React from \"react\";\nconst SvgX = props => ;\nexport default SvgX;","import * as React from \"react\";\nconst SvgQuestion = props => ;\nexport default SvgQuestion;","import Question from '@/assets/icons/question.svg';\nimport React, { useState, ReactNode } from 'react';\nimport styled from 'styled-components';\nimport { Text } from '../text/text';\n\n// Styled tooltip container\nconst TooltipContainer = styled.div`\n display: inline-flex;\n align-items: center; // Align children and icon vertically\n position: relative;\n`;\n\n// Styled icon (using a simple div here, but you can replace it with an actual icon component)\nconst Icon = styled.div`\n margin-left: 8px;\n display: flex;\n align-items: center;\n`;\n\n// Styled tooltip text\nconst TooltipText = styled.div<{ isVisible: boolean }>`\n visibility: ${({ isVisible }) => (isVisible ? 'visible' : 'hidden')};\n background-color: black;\n color: white;\n text-align: center;\n border-radius: 6px;\n padding: 5px 10px;\n max-width: 300px;\n width: 100%;\n text-align: left;\n /* Position the tooltip above the icon */\n position: absolute;\n z-index: 1;\n bottom: 100%;\n left: 50%;\n transform: translateX(-0%);\n margin-bottom: 5px; // Space between the tooltip and the icon\n\n /* Fade in animation */\n opacity: ${({ isVisible }) => (isVisible ? 1 : 0)};\n transition: opacity 0.3s;\n`;\n\ninterface TooltipProps {\n children: ReactNode;\n text: string;\n icon?: ReactNode;\n showIcon?: boolean;\n}\n\nexport const Tooltip: React.FC = ({\n children,\n text,\n icon = '?',\n showIcon = true,\n}) => {\n const [isVisible, setIsVisible] = useState(false);\n\n const showTooltip = () => setIsVisible(true);\n const hideTooltip = () => setIsVisible(false);\n\n if (!text) return <>{children}>;\n\n return (\n \n {children}\n \n \n {text}\n \n \n {showIcon && (\n \n \n \n )}\n \n );\n};\n","import React from \"react\";\nimport { Text } from \"../text/text\";\nimport {\n SwitchButtonWrapper,\n SwitchInputWrapper,\n SwitchToggleWrapper,\n} from \"./switch.styled\";\n\ninterface SwitchProps {\n toggle: boolean;\n handleToggleChange: () => void;\n style?: object;\n label?: string;\n}\n\nexport function Switch({\n toggle,\n handleToggleChange,\n style,\n label = \"Select All\",\n}: SwitchProps) {\n return (\n \n \n \n \n {label && {label}}\n \n );\n}\n","import styled from \"styled-components\";\n\ninterface SwitchToggleWrapperProps {\n active?: any;\n}\n\ninterface SwitchToggleBtnProps {\n disabled: boolean | undefined;\n}\n\nexport const SwitchInputWrapper = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nexport const SwitchToggleWrapper = styled.div`\n position: relative;\n width: 30px;\n height: 16px;\n background-color: ${({ active, theme }) =>\n active ? theme.colors.secondary : theme.text.grey};\n cursor: pointer;\n user-select: none;\n border-radius: 20px;\n padding: 2px;\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nexport const SwitchButtonWrapper = styled.span`\n display: flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n width: 14px;\n height: 14px;\n cursor: pointer;\n color: #fff;\n background-color: ${({ disabled, theme }) =>\n !disabled ? theme.text.light_grey : theme.text.white};\n box-shadow: 0 2px 4px rgb(0, 0, 0, 0.25);\n border-radius: 100%;\n position: absolute;\n transition: all 0.2s ease;\n left: ${({ disabled }) => (!disabled ? 2 : 18)}px;\n`;\n","import React from 'react';\nimport { Text } from '../text/text';\nimport { CheckboxWrapper, CheckboxItem } from './checkbox.styled';\nimport Checked from '../../assets/icons/checkbox-rect.svg';\n\ninterface CheckboxProps {\n value: boolean;\n onChange: () => void;\n label?: string;\n disabled?: boolean;\n}\n\nexport function Checkbox({\n onChange,\n value,\n label = '',\n disabled = false,\n}: CheckboxProps) {\n return (\n \n {value ? : }\n {label}\n \n );\n}\n","import { styled } from \"styled-components\";\n\ninterface CheckboxWrapperProps {\n disabled?: boolean;\n}\n\nexport const CheckboxWrapper = styled.div`\n display: flex;\n gap: 8px;\n align-items: center;\n cursor: ${({ disabled }) => (disabled ? \"not-allowed\" : \"pointer\")};\n pointer-events: ${({ disabled }) => (disabled ? \"none\" : \"auto\")};\n opacity: ${({ disabled }) => (disabled ? \"0.5\" : \"1\")};\n`;\n\nexport const CheckboxItem = styled.span`\n width: 16px;\n height: 16px;\n border: ${({ theme }) => `solid 1px ${theme.colors.light_grey}`};\n border-radius: 4px;\n`;\n","import * as React from \"react\";\nconst SvgCheckboxRect = props => ;\nexport default SvgCheckboxRect;","import React from \"react\";\nimport { SelectedCounterWrapper } from \"./selected.counter.styled\";\nimport Checked from \"@/assets/icons/check.svg\";\nimport { Text } from \"../text/text\";\n\ninterface SelectedCounterProps {\n total: number;\n selected: number;\n}\n\nexport function SelectedCounter({ total, selected }: SelectedCounterProps) {\n return (\n \n {selected !== 0 && }\n {`${selected} / ${total}`}\n \n );\n}\n","import styled from \"styled-components\";\n\nexport const SelectedCounterWrapper = styled.div`\n display: flex;\n padding: 4px;\n align-items: center;\n gap: 4px;\n border-radius: 14px;\n background: ${({ theme }) => theme.colors.dark_blue};\n`;\n","import React from 'react';\nimport { Text } from '../text/text';\nimport { styled } from 'styled-components';\nimport theme from '@/styles/palette';\n\ninterface LinkProps {\n value: string;\n onClick?: () => void;\n fontSize?: number;\n color?: string;\n}\n\nconst LinkContainer = styled.div`\n cursor: pointer;\n .p {\n cursor: pointer !important;\n }\n`;\n\nexport function Link({\n value,\n onClick,\n fontSize = 16,\n color = theme.colors.secondary,\n}: LinkProps) {\n return (\n \n \n {value}\n \n \n );\n}\n","import Image from \"next/image\";\nimport React from \"react\";\n\ninterface ImageProps {\n src: string;\n alt?: string;\n width?: number;\n height?: number;\n style?: React.CSSProperties;\n}\n\nconst IMAGE_STYLE: React.CSSProperties = {\n borderRadius: 10,\n};\n\nexport function ImageComponent({\n src,\n alt = \"\",\n width = 56,\n height = 56,\n style = {},\n}: ImageProps) {\n return (\n \n );\n}\n","import React, { ChangeEvent, InputHTMLAttributes, useState } from 'react';\nimport {\n StyledInputContainer,\n StyledInput,\n ErrorWrapper,\n LabelWrapper,\n DisplayIconsWrapper,\n} from './input.styled';\nimport { Text } from '../text/text';\nimport EyeOpenIcon from '@/assets/icons/eye-open.svg';\nimport EyeCloseIcon from '@/assets/icons/eye-close.svg';\nimport { Tooltip } from '../tooltip';\nimport theme from '@/styles/palette';\n\ninterface InputProps extends Omit, 'onChange'> {\n label?: string;\n onChange: (value: string) => void;\n error?: string;\n style?: React.CSSProperties;\n tooltip?: string;\n}\n\nexport function Input({\n label,\n value,\n onChange,\n type = 'text',\n error = '',\n style = {},\n onKeyDown,\n tooltip,\n required,\n autoComplete = \"off\",\n ...rest\n}: InputProps): JSX.Element {\n const [showPassword, setShowPassword] = useState(false);\n\n function handleChange(event: ChangeEvent): void {\n onChange(event.target.value);\n }\n\n return (\n \n {label && (\n
\n \n \n \n {label}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n
\n \n {type === 'password' && (\n setShowPassword(!showPassword)}>\n {!showPassword ? (\n \n ) : (\n \n )}\n \n )}\n \n {error && (\n
\n \n {error}\n \n \n )}\n
\n );\n}\n","import { styled } from 'styled-components';\n\ninterface ActiveProps {\n active?: any;\n error: boolean | undefined;\n}\n\nexport const StyledInputContainer = styled.div`\n position: relative;\n display: flex;\n width: 100%;\n padding-left: 13px;\n height: 100%;\n min-height: 37px;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 10px;\n border-radius: 8px;\n border: ${({ theme, error, active }) =>\n `1px solid ${\n error\n ? theme.colors.error\n : active\n ? theme.text.grey\n : theme.colors.blue_grey\n }`};\n background: ${({ theme }) => theme.colors.light_dark};\n\n &:hover {\n border: ${({ theme }) => `solid 1px ${theme.text.grey}`};\n }\n`;\n\nexport const StyledActionInputContainer = styled.div`\n position: relative;\n display: flex;\n width: 100%;\n padding: 0px 12px;\n height: 100%;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n border-radius: 4px;\n border: ${({ theme }) => `1px solid ${theme.colors.secondary}`};\n`;\n\nexport const StyledInput = styled.input`\n background: transparent;\n border: none;\n outline: none;\n width: 96%;\n color: ${({ theme }) => theme.text.white};\n`;\n\nexport const StyledActionInput = styled(StyledInput)`\n color: var(--dark-mode-white, #fff);\n font-family: Inter, sans-serif;\n font-size: 24px;\n`;\n\nexport const LabelWrapper = styled.div`\n margin-bottom: 8px;\n text-align: start;\n`;\n\nexport const ErrorWrapper = styled.div`\n margin-top: 4px;\n`;\n\nexport const DisplayIconsWrapper = styled.div`\n position: absolute;\n right: 10px;\n cursor: pointer;\n`;\n","import * as React from \"react\";\nconst SvgEyeOpen = props => ;\nexport default SvgEyeOpen;","import * as React from \"react\";\nconst SvgEyeClose = props => ;\nexport default SvgEyeClose;","import React, { ChangeEvent } from 'react';\nimport { StyledActionInputContainer, StyledActionInput } from './input.styled';\nimport { Button } from '../button/button';\nimport { Text } from '../text/text';\nimport theme from '@/styles/palette';\n\ninterface InputProps {\n value: string;\n onAction: () => void;\n onChange: (value: string) => void;\n type?: string;\n style?: React.CSSProperties;\n}\n\nexport function ActionInput({\n value,\n onChange,\n style = {},\n onAction,\n}: InputProps): JSX.Element {\n function handleChange(event: ChangeEvent): void {\n onChange(event.target.value);\n }\n\n return (\n <>\n \n \n\n \n \n >\n );\n}\n","import React, { useState } from \"react\";\nimport CloseIcon from \"@/assets/icons/close.svg\";\nimport PlayerIcon from \"@/assets/icons/player.svg\";\nimport { Text } from \"../text/text\";\nimport {\n ImagePreviewWrapper,\n PlayerIconWrapper,\n LargePlayerIconWrapper,\n StyledLargeVideo,\n LargeVideoHeader,\n LargeVideoContainer,\n} from \"./video.styled\";\n\ntype VideoComponentProps = {\n videoSrc: string;\n title?: string;\n thumbnail?: string | undefined;\n};\n\nexport function Video({ videoSrc, title, thumbnail }: VideoComponentProps) {\n const [isLarge, setIsLarge] = useState(false);\n const [pause, setPause] = useState(true);\n\n const handleClick = (): void => {\n setIsLarge(true);\n };\n\n const handleClose = (): void => {\n setIsLarge(false);\n setPause(true);\n };\n\n const renderSmallView = (): JSX.Element => (\n <>\n \n {title}\n \n \n \n \n \n \n >\n );\n\n const renderLargeView = (): JSX.Element => (\n \n \n \n {title}\n \n \n \n {!pause ? (\n \n ) : (\n setPause(false)}\n >\n \n \n \n \n )}\n \n );\n\n return {isLarge ? renderLargeView() : renderSmallView()}
;\n}\n","import * as React from \"react\";\nconst SvgClose = props => ;\nexport default SvgClose;","import * as React from \"react\";\nconst SvgPlayer = props => ;\nexport default SvgPlayer;","import { styled } from \"styled-components\";\n\ninterface ImagePreviewWrapperProps {\n url: string | undefined;\n}\n\nexport const ImagePreviewWrapper = styled.div`\n position: relative;\n margin-top: 8px;\n border-radius: 8px;\n width: 240px;\n height: 140px;\n cursor: pointer;\n background: ${({ url }) => `linear-gradient(\n 0deg,\n rgba(2, 20, 30, 0.2) 0%,\n rgba(2, 20, 30, 0.2) 100%\n ),\n url(${url}),\n lightgray 50%`};\n background-size: cover;\n background-position: center;\n background-repeat: no-repeat;\n`;\n\nexport const PlayerIconWrapper = styled.div`\n position: absolute;\n margin-left: auto;\n margin-right: auto;\n left: 0;\n right: 0;\n top: 30px;\n text-align: center;\n`;\nexport const LargePlayerIconWrapper = styled(PlayerIconWrapper)`\n top: 40%;\n`;\n\nexport const StyledLargeVideo = styled.video`\n width: 980px;\n border-radius: 8px;\n`;\n\nexport const LargeVideoHeader = styled.div`\n width: 980px;\n\n display: flex;\n justify-content: space-between;\n margin-bottom: 21px;\n`;\n\nexport const LargeVideoContainer = styled.div`\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n background: rgba(0, 0, 0, 0.65);\n z-index: 9999;\n`;\n","import React from 'react';\nimport { StyledLoader, LoaderWrapper } from './loader.styled';\n\ninterface LoaderProps {\n width?: number;\n height?: number;\n}\n\nexport function Loader({ width, height }: LoaderProps) {\n return (\n \n \n \n );\n}\n","import styled from 'styled-components';\n\nexport const LoaderWrapper = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n`;\n\nexport const StyledLoader = styled.div<{\n width?: number | undefined;\n height?: number | undefined;\n}>`\n width: ${({ width }) => width || 48}px;\n height: ${({ height }) => height || 48}px;\n border: 4px solid;\n border-color: ${({ theme }) =>\n `${theme.colors.secondary} ${theme.colors.secondary} ${theme.colors.secondary} transparent`};\n border-radius: 50%;\n animation: spin-anim 1.2s linear infinite;\n\n @keyframes spin-anim {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n`;\n","import React, { useEffect } from \"react\";\nimport {\n NotificationContainer,\n StyledNotification,\n} from \"./notification.styled\";\nimport { Text } from \"../text/text\";\nimport CloseIcon from \"@/assets/icons/X-blue.svg\";\nimport SuccessIcon from \"@/assets/icons/success-notification.svg\";\nimport ErrorIcon from \"@/assets/icons/error-notification.svg\";\n\ninterface NotificationProps {\n type: \"success\" | \"error\" | \"warning\" | \"info\";\n message: string;\n onClose?: () => void;\n}\n\nexport function Notification({ type, message, onClose }: NotificationProps) {\n useEffect(() => {\n const id = setTimeout(() => {\n onClose && onClose();\n }, 5000);\n\n return () => {\n clearTimeout(id);\n };\n }, []);\n\n function getIcon() {\n switch (type) {\n case \"success\":\n return ;\n case \"error\":\n return ;\n }\n }\n\n function getNotificationStyle() {\n switch (type) {\n case \"error\":\n return { border: \"1px solid #FD3F3F\" };\n default:\n return {};\n }\n }\n\n return (\n \n \n {getIcon()}\n \n {message}\n \n \n \n \n );\n}\n","import styled from 'styled-components';\n\nexport const NotificationContainer = styled.div`\n position: fixed;\n top: 3%;\n right: 3%;\n`;\n\nexport const StyledNotification = styled.div`\n display: flex;\n padding: 6px 16px 6px 8px;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.secondary}`};\n background: ${({ theme }) => theme.colors.dark_blue};\n svg {\n cursor: pointer;\n }\n`;\n","import * as React from \"react\";\nconst SvgXBlue = props => ;\nexport default SvgXBlue;","import * as React from \"react\";\nconst SvgSuccessNotification = props => ;\nexport default SvgSuccessNotification;","import * as React from \"react\";\nconst SvgErrorNotification = props => ;\nexport default SvgErrorNotification;","'use client';\nimport React, { useEffect } from 'react';\nimport ReactFlow, {\n Background,\n useReactFlow,\n ReactFlowProvider,\n} from 'reactflow';\nimport { IDataFlow } from './types';\nimport theme from '@/styles/palette';\nimport ActionNode from './action.node.tsx';\nimport CenterNode from './keyval.middleware';\nimport NamespaceNode from './namespace.node.tsx';\nimport DestinationNode from './destination.node.tsx';\nimport SourceNode from './source.node.tsx';\nimport { DataFlowContainer } from './data.flow.styled';\nimport 'reactflow/dist/style.css';\nimport { DataFlowControlPanel } from './control.panel.tsx';\n\nconst backgroundColor = theme.colors.data_flow_bg;\n\nconst nodeTypes = {\n custom: CenterNode,\n namespace: NamespaceNode,\n destination: DestinationNode,\n action: ActionNode,\n source: SourceNode,\n};\n\nfunction DataFlow({ nodes, edges, ...rest }: IDataFlow) {\n const { fitView } = useReactFlow();\n\n useEffect(() => {\n setTimeout(() => {\n fitView();\n }, 100);\n }, [fitView, nodes, edges]);\n\n return (\n \n \n \n \n \n \n );\n}\n\nexport function KeyvalDataFlow(props: IDataFlow) {\n return (\n \n \n \n );\n}\n","import React, { memo } from 'react';\nimport { Handle, Position } from 'reactflow';\nimport styled from 'styled-components';\nimport { Text } from '@/design.system';\nimport { ACTION_ICONS } from '@/assets';\nimport theme from '@/styles/palette';\n\nconst ActionContainer = styled.div`\n display: flex;\n flex-direction: column;\n padding: 8px;\n border-radius: 12px;\n border: ${({ theme }) => `solid 1px ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n align-items: center;\n gap: 4px;\n min-width: 80px;\n`;\n\nconst TextWrapper = styled.div`\n max-width: 72px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst SignalIndicator = styled.span<{ backgroundColor: string }>`\n background-color: ${({ backgroundColor }) => backgroundColor};\n width: 8px;\n height: 8px;\n border-radius: 8px;\n`;\n\nconst IconWrapper = styled.div`\n width: 24px;\n height: 24px;\n`;\n\ninterface ActionNodeProps {\n data: {\n type: string;\n spec?: {\n actionName?: string;\n signals: string[];\n };\n };\n isConnectable: boolean;\n}\n\nexport default memo(({ data, isConnectable }: ActionNodeProps) => {\n const ActionIcon = ACTION_ICONS[data.type] ? ACTION_ICONS[data.type] : null;\n\n return (\n \n \n {ActionIcon && (\n \n \n \n )}\n \n \n {data?.spec?.actionName || 'Action'}\n \n \n \n {data.spec?.signals.map((monitor: string) => (\n \n ))}\n
\n \n \n );\n});\n","import React from 'react';\nimport { Handle, Position } from 'reactflow';\nimport styled, { keyframes } from 'styled-components';\nconst flickerAnimation = keyframes`\n 0% {\n opacity: 1;\n\n }\n 100% {\n opacity: 0.5;\n }\n`;\n\nconst FlickerWrapper = styled.div`\n width: 120px;\n height: 120px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 60px;\n position: relative;\n z-index: 90;\n\n &::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border-radius: 60px;\n background: #110c1f55;\n z-index: -1;\n animation: ${flickerAnimation} 1s infinite alternate;\n }\n`;\n\nconst InnerWrapper = styled.div`\n width: 100px;\n height: 100px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n border: solid 1px #3a3a3a76;\n background: #110c1f7d;\n`;\n\nconst LogoContainer = styled.div`\n width: 80px;\n height: 80px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 40px;\n border: solid 1px #3a3a3aa9;\n background: #110c1f;\n position: relative;\n z-index: 99;\n`;\n\n// TypeScript Props Interface\ninterface OdigosCenterNodeProps {\n isConnectable: boolean;\n}\n\nconst OdigosCenterNode: React.FC = ({\n isConnectable,\n}) => {\n return (\n \n \n \n {/* */}\n \n \n \n \n \n \n );\n};\n\nexport default OdigosCenterNode;\n","import React, { memo } from 'react';\nimport { Handle, Position } from 'reactflow';\nimport { styled } from 'styled-components';\nimport { Text } from '@/design.system';\nimport { Folder } from '@/assets/icons/overview';\n\nconst NamespaceContainer = styled.div`\n display: flex;\n padding: 16px;\n border-radius: 12px;\n border: ${({ theme }) => `solid 1px ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n align-items: center;\n width: 272px;\n gap: 8px;\n`;\n\nconst TextWrapper = styled.div`\n gap: 10px;\n`;\n\nexport default memo(({ data, isConnectable }: any) => {\n return (\n \n \n \n \n {data?.name}\n \n {data?.totalAppsInstrumented && (\n {`${data.totalAppsInstrumented} Apps Instrumented`}\n )}\n \n \n \n );\n});\n","import * as React from \"react\";\nconst SvgMiddleware = props => ;\nexport default SvgMiddleware;","import * as React from \"react\";\nconst SvgFolder = props => ;\nexport default SvgFolder;","import React from 'react';\nimport theme from '@/styles/palette';\nimport { Text } from '@/design.system';\nimport { styled } from 'styled-components';\nimport { Handle, Position } from 'reactflow';\nimport { MONITORING_OPTIONS } from './monitors';\n\ninterface IconWrapperProps {\n tapped?: boolean | undefined | string;\n}\n\nconst DestinationNodeContainer = styled.div`\n padding: 16px 24px;\n display: flex;\n border-radius: 12px;\n gap: 8px;\n border: ${({ theme }) => `solid 1px ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n align-items: center;\n justify-content: space-between;\n width: 430px;\n`;\n\nexport const NodeDataWrapper = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nconst TextWrapper = styled.div`\n gap: 8px;\n display: flex;\n flex-direction: column;\n width: 100%;\n`;\n\nconst IMAGE_STYLE: React.CSSProperties = {\n backgroundColor: '#fff',\n padding: 4,\n borderRadius: 10,\n};\n\nconst IconWrapper = styled.div`\n padding: 4px;\n width: 24px;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 100%;\n opacity: ${({ tapped }) => (tapped ? 1 : 0.4)};\n`;\n\nconst MonitorsListWrapper = styled.div`\n display: flex;\n gap: 8px;\n`;\n\nexport default function DestinationNode({ data, isConnectable }: any) {\n function renderMonitors() {\n return MONITORING_OPTIONS.map((monitor) => (\n \n {data?.signals?.[monitor?.type]\n ? monitor.icons.focus()\n : monitor.icons.notFocus()}\n \n ));\n }\n\n return (\n \n \n \n \n {data?.name}\n \n {data?.destination_type?.display_name}\n \n \n \n {renderMonitors()}\n \n \n );\n}\n","import * as React from \"react\";\nconst SvgLogsGrey = props => ;\nexport default SvgLogsGrey;","import * as React from \"react\";\nconst SvgLogsBlue = props => ;\nexport default SvgLogsBlue;","import * as React from \"react\";\nconst SvgChartLineGrey = props => ;\nexport default SvgChartLineGrey;","import * as React from \"react\";\nconst SvgChartLineBlue = props => ;\nexport default SvgChartLineBlue;","import * as React from \"react\";\nconst SvgTreeStructureGrey = props => ;\nexport default SvgTreeStructureGrey;","import * as React from \"react\";\nconst SvgTreeStructureBlue = props => ;\nexport default SvgTreeStructureBlue;","import Logs from '@/assets/icons/logs-grey.svg';\nimport LogsFocus from '@/assets/icons/logs-blue.svg';\nimport Metrics from '@/assets/icons/chart-line-grey.svg';\nimport MetricsFocus from '@/assets/icons/chart-line-blue.svg';\nimport Traces from '@/assets/icons/tree-structure-grey.svg';\nimport TracesFocus from '@/assets/icons/tree-structure-blue.svg';\n\nconst MONITORS = {\n LOGS: 'Logs',\n METRICS: 'Metrics',\n TRACES: 'Traces',\n};\n\nexport type MonitoringOption = {\n title: string;\n tapped: boolean;\n icons: object;\n id: number;\n};\n\nexport const MONITORING_OPTIONS = [\n {\n id: 1,\n icons: {\n notFocus: () => Logs(),\n focus: () => LogsFocus(),\n },\n title: MONITORS.LOGS,\n type: 'logs',\n tapped: true,\n },\n {\n id: 2,\n icons: {\n notFocus: () => Metrics(),\n focus: () => MetricsFocus(),\n },\n title: MONITORS.METRICS,\n type: 'metrics',\n tapped: true,\n },\n {\n id: 3,\n icons: {\n notFocus: () => Traces(),\n focus: () => TracesFocus(),\n },\n title: MONITORS.TRACES,\n type: 'traces',\n tapped: true,\n },\n];\n","import React, { memo } from 'react';\nimport Image from 'next/image';\nimport styled from 'styled-components';\nimport { Text } from '@/design.system';\nimport { LANGUAGES_LOGOS } from '@/assets';\nimport { Handle, Position } from 'reactflow';\n\nconst NamespaceContainer = styled.div`\n display: flex;\n padding: 16px;\n border-radius: 12px;\n border: ${({ theme }) => `solid 1px ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n align-items: center;\n width: 272px;\n gap: 8px;\n`;\n\nconst TextWrapper = styled.div`\n gap: 4px;\n display: flex;\n flex-direction: column;\n`;\n\nconst ImageWrapper = styled.div`\n padding: 4px;\n background-color: #fff;\n border-radius: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\ninterface NamespaceNodeProps {\n data: {\n namespace?: string;\n name?: string;\n languages?: { language: keyof typeof LANGUAGES_LOGOS }[];\n };\n isConnectable: boolean;\n}\n\nexport default memo(({ data, isConnectable }: NamespaceNodeProps) => {\n const languageKey = data?.languages?.[0]?.language || 'default';\n const lan = LANGUAGES_LOGOS[languageKey];\n\n return (\n \n \n \n \n \n {data.namespace}\n \n {data?.name}\n \n \n \n \n );\n});\n","import styled from 'styled-components';\n\nexport const DataFlowContainer = styled.div`\n width: 100%;\n height: 100%;\n`;\n\nexport const ControllerWrapper = styled.div`\n button {\n display: flex;\n padding: 8px;\n align-items: center;\n gap: 10px;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n background: #0e1c28 !important;\n margin-bottom: 8px;\n }\n\n .react-flow__controls button path {\n fill: #fff;\n }\n`;\n","// Import React and necessary components\nimport React, { useEffect, useState } from 'react';\nimport 'reactflow/dist/style.css';\nimport { Controls } from 'reactflow';\nimport theme from '@/styles/palette';\nimport styled from 'styled-components';\nimport { Text } from '../text/text.tsx';\nimport Open from '@/assets/icons/expand-arrow.svg';\nimport { ControllerWrapper } from './data.flow.styled.tsx';\n// Define styled components\nconst ControllerPanelWrapper = styled.div`\n position: absolute;\n z-index: 999;\n top: 15px;\n left: 60px;\n display: flex;\n flex-direction: column;\n gap: 14px;\n background-color: ${theme.colors.dark};\n padding: 10px;\n border-radius: 8px;\n border: 1px solid ${theme.colors.blue_grey};\n button {\n display: flex;\n padding: 8px;\n align-items: center;\n gap: 10px;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n background: #0e1c28 !important;\n margin-bottom: 8px;\n }\n\n .react-flow__controls button path {\n fill: #fff;\n }\n`;\n\nconst MonitorItem = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 14px;\n`;\n\nconst MonitorIndicator = styled.span<{ color: string }>`\n background-color: ${({ color }) => color};\n width: 10px;\n height: 10px;\n border-radius: 8px;\n margin-right: 6px;\n`;\n\nconst TitleWrapper = styled.div`\n display: flex;\n gap: 10px;\n cursor: pointer;\n`;\n\n// TypeScript type for monitor items\ninterface MonitorItem {\n name: string;\n color: string;\n}\n\nexport function DataFlowControlPanel() {\n const [isOpen, setOpen] = useState(true);\n\n useEffect(() => {\n setTimeout(() => {\n setOpen(false);\n }, 7000);\n }, []);\n\n const MONITORS: MonitorItem[] = [\n {\n name: 'Traces',\n color: theme.colors.traces,\n },\n {\n name: 'Logs',\n color: theme.colors.logs,\n },\n {\n name: 'Metrics',\n color: theme.colors.metrics,\n },\n ];\n\n return (\n <>\n \n setOpen(!isOpen)}>\n \n Supported Signals\n \n \n \n {isOpen && (\n \n {MONITORS.map((monitor) => (\n \n \n \n {monitor.name}\n \n
\n ))}\n \n )}\n \n \n \n \n >\n );\n}\n","import React from \"react\";\nimport { styled } from \"styled-components\";\nimport { Text } from \"../text/text\";\nimport theme from \"@/styles/palette\";\n\nconst DangerZoneWrapper = styled.div`\n padding: 10px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n border-radius: 8px;\n width: fit-content;\n width: 344px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n`;\n\nconst DangerButtonWrapper = styled.div`\n width: 100%;\n display: flex;\n justify-content: flex-end;\n :hover {\n background: ${({ theme }) => theme.colors.error};\n p {\n color: #fff !important;\n }\n }\n`;\n\nconst DangerButton = styled.button`\n padding: 8px 12px;\n border-radius: 4px;\n background: transparent;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n cursor: pointer !important;\n`;\n\ninterface DangerZoneProps {\n title: string;\n subTitle: string;\n btnText: string;\n onClick: () => void;\n}\n\nexport function DangerZone({\n title,\n subTitle,\n btnText,\n onClick,\n}: DangerZoneProps) {\n return (\n <>\n \n \n {title}\n \n {subTitle}\n \n \n \n {btnText}\n \n \n \n \n >\n );\n}\n","import React, { useCallback, useEffect, useRef } from 'react';\nimport PortalModal from './portal.modal';\nimport * as S from './modal.styled';\nimport { Props } from './types';\nimport { Text } from '../text/text';\nimport theme from '@/styles/palette';\nimport { useOnClickOutside } from '@/hooks';\nimport CloseIcon from '@/assets/icons/close-modal.svg';\nimport { Button } from '../button/button';\nimport { Link } from '../link/link';\nexport function Modal({ children, closeModal, config }: Props) {\n const modalRef = useRef(null);\n\n // handle what happens on click outside of modal\n const handleClickOutside = () => closeModal();\n\n // handle what happens on key press\n const handleKeyPress = useCallback((event: KeyboardEvent) => {\n if (event.key === 'Escape') closeModal();\n }, []);\n\n useOnClickOutside(modalRef, handleClickOutside);\n\n useEffect(() => {\n // attach the event listener if the modal is shown\n document.addEventListener('keydown', handleKeyPress);\n // remove the event listener\n return () => {\n document.removeEventListener('keydown', handleKeyPress);\n };\n }, [handleKeyPress]);\n\n return (\n <>\n \n \n \n {config.showHeader && (\n \n \n {config.title}\n \n \n )}\n\n \n \n \n\n {children}\n {config?.footer && (\n \n {config.footer.link && (\n \n )}\n {config.footer.secondaryBtnText && (\n \n )}\n \n \n )}\n \n \n \n >\n );\n}\n","import { useState, useLayoutEffect } from \"react\";\nimport { createPortal } from \"react-dom\";\n\ninterface Props {\n children: JSX.Element;\n wrapperId: string;\n}\n\nconst PortalModal = ({ children, wrapperId }: Props) => {\n const [portalElement, setPortalElement] = useState(null);\n\n useLayoutEffect(() => {\n let element = document.getElementById(wrapperId) as HTMLElement;\n let portalCreated = false;\n // if element is not found with wrapperId or wrapperId is not provided,\n // create and append to body\n if (!element) {\n element = createWrapperAndAppendToBody(wrapperId);\n portalCreated = true;\n }\n\n setPortalElement(element);\n\n // cleaning up the portal element\n return () => {\n // delete the programatically created element\n if (portalCreated && element.parentNode) {\n element.parentNode.removeChild(element);\n }\n };\n }, [wrapperId]);\n\n const createWrapperAndAppendToBody = (elementId: string) => {\n const element = document.createElement(\"div\");\n element.setAttribute(\"id\", elementId);\n document.body.appendChild(element);\n return element;\n };\n\n // portalElement state will be null on the very first render.\n if (!portalElement) return null;\n\n return createPortal(children, portalElement);\n};\n\nexport default PortalModal;\n","import styled, { keyframes } from 'styled-components';\nimport { ModalPositionX, ModalPositionY } from './types';\n\ninterface PropsOverlay {\n showOverlay: boolean;\n positionX: ModalPositionX;\n positionY: ModalPositionY;\n}\ninterface PropsModalContainer {\n padding: string;\n}\n\nconst fadeIn = keyframes`\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n`;\n\nexport const ModalButtonsContainer = styled.div`\n padding: 40px;\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n gap: 20px;\n`;\nexport const ModalButtonPrimary = styled.button`\n display: block;\n padding: 10px 30px;\n border-radius: 3px;\n color: ${({ theme }) => theme.colors.btnText};\n border: 1px solid ${({ theme }) => theme.colors.main};\n background-color: ${({ theme }) => theme.colors.main};\n font-family: 'Robot', sans-serif;\n font-weight: 500;\n transition: 0.3s ease all;\n\n &:hover {\n background-color: ${({ theme }) => theme.colors.shadowMain};\n }\n`;\nexport const ModalButtonSecondary = styled.button`\n display: block;\n padding: 10px 30px;\n border-radius: 3px;\n color: ${({ theme }) => theme.colors.main};\n border: 1px solid ${({ theme }) => theme.colors.main};\n background-color: transparent;\n font-family: 'Robot', sans-serif;\n font-weight: 500;\n transition: 0.3s ease all;\n\n &:hover {\n background-color: ${({ theme }) => theme.colors.shadowMain};\n color: ${({ theme }) => theme.colors.btnText};\n }\n`;\n\nexport const Overlay = styled.div`\n width: 100vw;\n height: 100vh;\n z-index: 9999;\n position: fixed;\n top: 0;\n left: 0;\n background-color: ${(props) =>\n props.showOverlay\n ? 'rgba(255, 255, 255, 0.1)'\n : 'rgba(255, 255, 255, 0.1)'};\n display: flex;\n align-items: center;\n justify-content: ${(props) => (props.positionX ? props.positionX : 'center')};\n align-items: ${(props) => (props.positionY ? props.positionY : 'center')};\n padding: 40px;\n\n @media (prefers-reduced-motion: no-preference) {\n animation-name: ${fadeIn};\n animation-fill-mode: backwards;\n }\n`;\nexport const ModalContainer = styled.div`\n min-width: 500px;\n min-height: 50px;\n /* background-color: #ffffff; */\n position: relative;\n /* border-radius: 8px; */\n border-radius: 12px;\n border: 0.95px solid var(--dark-mode-dark-3, #203548);\n background: var(--dark-mode-dark-2, #0e1c28);\n\n padding: ${(props) => (props.padding ? props.padding : '20px')};\n`;\nexport const ModalHeader = styled.header`\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-bottom: 20px;\n`;\n\nexport const Close = styled.div`\n position: absolute;\n top: 20px;\n right: 15px;\n border: none;\n background-color: transparent;\n transition: 0.3s ease all;\n border-radius: 3px;\n color: '#d1345b';\n cursor: pointer;\n\n svg {\n width: 24px;\n height: 24px;\n fill: #fff;\n }\n`;\n\nexport const PrimaryButton = styled.button`\n background-color: #ededed8b;\n border: 1px solid #d4d2d2;\n width: 100%;\n height: 36px;\n border-radius: 8px;\n cursor: pointer;\n\n &:hover {\n background-color: #ededed;\n }\n`;\n\nexport const Content = styled.div`\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n color: ${({ theme }) => theme.text};\n`;\nexport const ModalFooter = styled.footer`\n width: 100%;\n display: flex;\n gap: 1rem;\n align-items: center;\n justify-content: flex-end;\n margin-top: 20px;\n padding-top: 20px;\n`;\n","import * as React from \"react\";\nconst SvgCloseModal = props => ;\nexport default SvgCloseModal;","import theme from '@/styles/palette';\nimport React, { ReactNode } from 'react';\nimport StyledComponentsRegistry from './registry';\nimport { ThemeProvider } from 'styled-components';\ninterface ThemeProviderWrapperProps {\n children: ReactNode; // Add children prop with ReactNode type\n}\n\nexport const ThemeProviderWrapper: React.FC = ({\n children,\n}) => {\n return (\n \n {children}\n \n );\n};\n","'use client';\n\nimport React, { useState } from 'react';\nimport { useServerInsertedHTML } from 'next/navigation';\nimport { ServerStyleSheet, StyleSheetManager } from 'styled-components';\n\nexport default function StyledComponentsRegistry({\n children,\n}: {\n children: React.ReactNode;\n}) {\n // Only create stylesheet once with lazy initial state\n // x-ref: https://reactjs.org/docs/hooks-reference.html#lazy-initial-state\n const [styledComponentsStyleSheet] = useState(() => new ServerStyleSheet());\n\n useServerInsertedHTML(() => {\n const styles = styledComponentsStyleSheet.getStyleElement();\n styledComponentsStyleSheet.instance.clearTag();\n return <>{styles}>;\n });\n\n if (typeof window !== 'undefined') return <>{children}>;\n\n return (\n \n {children}\n \n );\n}\n","import React from \"react\";\nimport StepItem from \"./step.item\";\nimport { StepsContainer } from \"./steps.styled\";\n\ntype StepListProps = {\n data?: Array | null;\n};\n\nexport function Steps({ data }: StepListProps) {\n function renderSteps() {\n return data?.map(({ title, status }: any, index) => (\n \n ));\n }\n\n return {renderSteps()};\n}\n","import { FloatBox } from \"@/design.system/float.box/float.box\";\nimport { Text } from \"@/design.system/text/text\";\nimport React from \"react\";\nimport {\n StepItemTextWrapper,\n StepItemBorder,\n StepItemWrapper,\n FloatingBoxTextWrapper,\n} from \"./steps.styled\";\nimport Done from \"@/assets/icons/checked.svg\";\n\ntype StepItemProps = {\n title: string;\n index: number;\n status: string;\n isLast: boolean;\n};\n\nenum Status {\n Done = \"done\",\n Active = \"active\",\n Disabled = \"disabled\",\n}\n\nexport default function StepItem({\n title,\n index,\n status,\n isLast,\n}: StepItemProps) {\n return (\n \n \n {status === Status.Done ? (\n \n ) : (\n \n {index}\n \n )}\n \n \n {title}\n \n {!isLast && }\n \n );\n}\n","import styled from \"styled-components\";\n\ninterface DisabledProp {\n disabled: boolean;\n}\nexport const StepsContainer = styled.div`\n display: flex;\n`;\n\nexport const StepItemWrapper = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const FloatingBoxTextWrapper = styled.div`\n opacity: ${({ disabled }) => (disabled ? \"0.4\" : \"1\")};\n`;\n\nexport const StepItemTextWrapper = styled(FloatingBoxTextWrapper)`\n margin: 0 8px;\n`;\n\nexport const StepItemBorder = styled.div`\n width: 54px;\n height: 1px;\n background-color: #8b92a5;\n margin-top: 2px;\n margin-right: 8px;\n`;\n","import * as React from \"react\";\nconst SvgChecked = props => ;\nexport default SvgChecked;","import React from 'react';\nimport styled from 'styled-components';\nimport { Text } from '..';\n\nconst DividerContainer = styled.div<{ margin: string }>`\n width: 100%;\n display: flex;\n align-items: center;\n gap: 23px;\n margin: ${({ margin }) => margin};\n`;\n\nconst DividerLine = styled.div`\n width: 100%;\n border-top: 1px solid #8b92a5;\n`;\n\nexport function Divider({\n margin = '32px 0',\n label = 'or',\n}: {\n margin?: string;\n label?: string;\n}) {\n return (\n \n \n {label}\n \n \n );\n}\n","import React, { useEffect } from 'react';\nimport styled from 'styled-components';\nimport { Text } from '..';\n\nconst NoteContainer = styled.div`\n padding: 16px;\n display: flex;\n justify-content: flex-start !important;\n border: 1px solid ${({ theme }) => theme.colors.dark_blue};\n border-radius: 12px;\n`;\n\nconst TextContainer = styled.div`\n line-height: 1.6;\n code {\n background-color: ${({ theme }) => theme.colors.dark_blue};\n padding: 2px 4px;\n border-radius: 6px;\n }\n`;\n\nexport function Note({ text, code }: { text: string; code?: string[] }) {\n useEffect(() => {\n buildNote();\n }, []);\n\n function buildNote() {\n let value = text;\n if (code) {\n code.forEach((c, index) => {\n value = value.replace(`$code${index}`, `${c}
`);\n });\n }\n\n return (\n Note: ${value}`,\n }}\n >\n );\n }\n\n return (\n \n {buildNote()}\n \n );\n}\n","'use client';\n\nimport React from 'react';\nimport styled from 'styled-components';\nimport { Text } from '..';\nimport { Folders } from '@/assets/icons';\n\nconst SegmentedControlsWrapper = styled.div`\n display: inline-flex;\n justify-content: space-between;\n border-radius: 10px;\n margin: auto;\n overflow: hidden;\n position: relative;\n`;\nconst SegmentedControlsOption = styled.div`\n color: ${({ theme }) => theme.colors.white};\n padding: 8px 12px;\n position: relative;\n text-align: center;\n display: flex;\n gap: 8px;\n align-items: center;\n justify-content: center;\n z-index: 1;\n border: ${({ theme }) => `1px solid ${theme.colors.secondary}`};\n background-color: ${({ theme }) => theme.colors.dark};\n filter: brightness(50%);\n &.active {\n filter: brightness(100%);\n }\n &:first-child {\n border-top-left-radius: 10px;\n border-bottom-left-radius: 10px;\n padding-left: 16px;\n }\n &:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n padding-right: 16px;\n }\n label {\n font-family: ${({ theme }) => theme.font_family.primary};\n }\n`;\n\nconst SegmentedControlsInput = styled.input`\n opacity: 0;\n margin: 0;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n position: absolute;\n width: 100%;\n cursor: pointer;\n height: 100%;\n`;\n\nexport function SegmentedControls({\n options,\n selected,\n onChange,\n title,\n}: {\n options: { label: string; id: string }[];\n selected: string;\n onChange: (selected: string) => void;\n title?: string;\n}) {\n return (\n \n {title && (\n \n {title}\n \n )}\n \n {options?.map((option) => (\n \n \n onChange(option.id)}\n checked={option.id === selected}\n />\n {option.label}\n \n ))}\n \n
\n );\n}\n","import React, { useState, KeyboardEvent } from 'react';\nimport { Text } from '../text/text';\nimport theme from '@/styles/palette';\nimport styled from 'styled-components';\nimport { Input as BaseInput } from '../input/input';\nimport { Button as BaseButton } from '../button/button';\nimport { Tooltip } from '../tooltip';\n\ninterface MultiInputProps {\n initialList?: string[];\n onListChange?: (list: string[]) => void;\n placeholder?: string;\n limit?: number;\n title?: string;\n tooltip?: string;\n}\n\nexport const MultiInput: React.FC = ({\n initialList = [],\n onListChange,\n placeholder = 'Add item to list',\n title,\n tooltip,\n}) => {\n const [inputValue, setInputValue] = useState('');\n const [list, setList] = useState(initialList);\n\n const handleInputChange = (e: string) => {\n setInputValue(e);\n };\n\n const handleAddToList = () => {\n if (inputValue.trim() !== '') {\n const newList = [...list, inputValue];\n setList(newList);\n setInputValue('');\n onListChange && onListChange(newList);\n }\n };\n\n const handleRemoveFromList = (indexToRemove: number) => {\n const newList = list.filter((_, index) => index !== indexToRemove);\n setList(newList);\n onListChange && onListChange(newList);\n };\n\n return (\n <>\n {title && (\n \n \n \n {title}\n \n \n \n )}\n \n \n {list.map((item, index) => (\n handleRemoveFromList(index)}>\n \n {item}\n \n \n \n ))}\n \n \n handleInputChange(e)}\n />\n \n \n \n >\n );\n};\n\n// Styled components\nconst Container = styled.div`\n width: 100%;\n`;\n\nconst ListContainer = styled.div`\n display: flex;\n width: 110%;\n flex-wrap: wrap;\n`;\n\nconst ListItem = styled.div`\n cursor: pointer;\n padding: 2px 8px;\n margin: 3px;\n border-radius: 5px;\n background: ${theme.colors.light_grey};\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 5px;\n min-height: 30px;\n`;\n\nconst InputContainer = styled.div`\n display: flex;\n gap: 10px;\n width: 100%;\n height: 37px;\n`;\n\nconst Input = styled(BaseInput)`\n width: 100%;\n`;\n\nconst Button = styled(BaseButton)`\n margin-left: 10px;\n`;\n\nconst TitleWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n`;\n","import React, { useState } from 'react';\nimport styled from 'styled-components';\nimport theme from '@/styles/palette';\nimport { Tooltip } from '../tooltip';\nimport { Text } from '../text/text';\nimport { Trash } from '@/assets/icons';\n\nexport interface KeyValue {\n id: number;\n key: string;\n value: string;\n}\n\nexport const Container = styled.div`\n width: 100%;\n`;\n\nexport const TitleWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n`;\n\nconst Table = styled.table`\n border: solid 1px ${theme.text.grey};\n text-align: center;\n border-spacing: 0;\n border-radius: 8px;\n width: 100%;\n`;\n\nexport const Th = styled.th`\n padding: 4px;\n`;\n\nexport const Td = styled.td<{ right?: boolean; left?: boolean }>`\n padding: 8px 0;\n\n border-top: solid 1px ${theme.text.grey};\n border-right: ${({ right }) =>\n right ? `solid 1px ${theme.text.grey}` : 'none'};\n border-left: ${({ left }) =>\n left ? `solid 1px ${theme.text.grey}` : 'none'};\n`;\n\nexport const Input = styled.input`\n background: transparent;\n border: none;\n width: 94%;\n\n outline: none;\n color: ${theme.text.white};\n`;\n\nexport const AddRowButton = styled.td`\n text-align: center;\n border-top: solid 1px ${theme.text.grey};\n padding: 4px;\n cursor: pointer;\n`;\n\nexport interface KeyValueTableProps {\n keyValues: KeyValue[];\n setKeyValues: (keyValues: KeyValue[]) => void;\n title?: string;\n titleKey?: string;\n titleValue?: string;\n tooltip?: string;\n titleButton?: string;\n required?: boolean;\n}\n\nexport const KeyValueTable: React.FC = ({\n keyValues,\n setKeyValues,\n title,\n titleKey,\n titleValue,\n titleButton,\n tooltip,\n required,\n}: KeyValueTableProps) => {\n const [nextId, setNextId] = useState(1);\n\n const addRow = () => {\n const newKeyValue: KeyValue = {\n id: nextId,\n key: '',\n value: '',\n };\n setKeyValues([...keyValues, newKeyValue]);\n setNextId(nextId + 1);\n };\n\n const deleteRow = (id: number) => {\n const value = keyValues.filter((kv) => kv.id !== id);\n setKeyValues(value);\n };\n\n const updateKey = (id: number, newKey: string) => {\n const updatedKeyValues = keyValues.map((kv) =>\n kv.id === id ? { ...kv, key: newKey } : kv\n );\n setKeyValues(updatedKeyValues);\n };\n\n const updateValue = (id: number, newValue: string) => {\n const updatedKeyValues = keyValues.map((kv) =>\n kv.id === id ? { ...kv, value: newValue } : kv\n );\n setKeyValues(updatedKeyValues);\n };\n\n return (\n \n {title && (\n \n \n \n \n {title}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n \n );\n};\n","import React from 'react';\nimport styled from 'styled-components';\nimport { Text } from '../text/text';\nimport { Tooltip } from '../tooltip';\nimport theme from '@/styles/palette';\n// Define the props for the TextArea component\nexport interface TextAreaProps {\n placeholder?: string;\n value?: string;\n onChange: (e: React.ChangeEvent) => void;\n rows?: number;\n cols?: number;\n label?: string;\n tooltip?: string;\n required?: boolean;\n}\n\n// Styled textarea\nconst StyledTextArea = styled.textarea<{ active?: boolean }>`\n width: 100%;\n padding: 8px 12px;\n border-radius: 8px;\n box-sizing: border-box;\n resize: vertical;\n\n outline: none;\n color: ${({ theme }) => theme.text.white};\n font-family: ${theme.font_family.primary};\n background-color: ${({ theme }) => theme.colors.light_dark};\n border: ${({ theme, active }) =>\n `1px solid ${active ? theme.text.grey : theme.colors.blue_grey}`};\n &:hover {\n border: ${({ theme }) => `solid 1px ${theme.text.grey}`};\n }\n`;\nconst LabelWrapper = styled.div`\n margin-bottom: 8px;\n text-align: start;\n`;\n\nexport const TextArea: React.FC = ({\n placeholder,\n value,\n onChange,\n rows = 4,\n cols = 50,\n tooltip,\n label,\n required,\n}) => {\n return (\n <>\n {label && (\n \n \n \n \n {label}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n >\n );\n};\n","import React, { useEffect, useRef, useState } from 'react';\nimport styled from 'styled-components';\nimport theme from '@/styles/palette';\nimport { Tooltip } from '../tooltip';\nimport { Text } from '../text/text';\nimport { Trash } from '@/assets/icons';\n\nexport const Container = styled.div`\n width: 100%;\n`;\n\nexport const TitleWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n`;\n\nexport const Table = styled.table`\n border: solid 1px ${theme.text.grey};\n text-align: center;\n border-spacing: 0;\n border-radius: 8px;\n width: 100%;\n`;\n\nexport const Th = styled.th`\n padding: 4px;\n`;\n\nexport const Td = styled.td<{ right?: boolean; left?: boolean }>`\n padding: 8px 0;\n\n border-bottom: solid 1px ${theme.text.grey};\n border-right: ${({ right }) =>\n right ? `solid 1px ${theme.text.grey}` : 'none'};\n border-left: ${({ left }) =>\n left ? `solid 1px ${theme.text.grey}` : 'none'};\n`;\n\nexport const Input = styled.input`\n background: transparent;\n border: none;\n width: 94%;\n\n outline: none;\n color: ${theme.text.white};\n`;\n\nexport const AddRowButton = styled.td`\n text-align: center;\n padding: 4px;\n cursor: pointer;\n`;\n\nexport interface MultiInputTableProps {\n values: string[];\n title?: string;\n tooltip?: string;\n onValuesChange: (newValues: string[]) => void;\n required?: boolean;\n placeholder?: string;\n}\n\nexport const MultiInputTable: React.FC = ({\n values,\n title,\n tooltip,\n onValuesChange,\n required,\n placeholder,\n}) => {\n const addRow = () => {\n onValuesChange([...values, '']);\n };\n\n const deleteRow = (index: number) => {\n const updatedValues = values.filter((_, i) => i !== index);\n onValuesChange(updatedValues);\n };\n\n const updateValue = (index: number, newValue: string) => {\n const updatedValues = values.map((value, i) =>\n i === index ? newValue : value\n );\n onValuesChange(updatedValues);\n };\n\n return (\n \n {title && (\n \n \n \n \n {title}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n \n );\n};\n","import React from 'react';\nimport { ActionItem } from '../action.item';\n\n// Define the type for individual action items\ninterface ActionItem {\n label: string;\n onClick: () => void;\n id: string;\n selected?: boolean;\n disabled?: boolean;\n}\n\n// Define the type for the groups of action items, including any conditional rendering logic\ninterface ActionGroup {\n label: string;\n subTitle: string;\n items: ActionItem[];\n condition?: boolean; // Optional condition to determine if the group should be rendered\n}\n\n// Props for the container component that will render the list of action groups\ninterface ActionsListProps {\n actionGroups: ActionGroup[];\n}\n\nexport const ActionsGroup: React.FC = ({ actionGroups }) => {\n return (\n <>\n {actionGroups.map(\n (group, index) =>\n group.condition && \n )}\n >\n );\n};\n","import { useOnClickOutside } from '@/hooks';\nimport React, { useRef, useState } from 'react';\nimport styled from 'styled-components';\nimport { Text } from '../text/text';\nimport { Check, Expand } from '@/assets';\n\n// Styled components\nconst Label = styled.label`\n cursor: pointer;\n display: flex;\n gap: 4px;\n p {\n color: ${({ theme }) => theme.colors.light_grey};\n &:hover {\n color: ${({ theme }) => theme.colors.white};\n }\n }\n`;\n\nconst Popup = styled.div<{ isOpen: boolean }>`\n display: ${(props: { isOpen: boolean }) => (props.isOpen ? 'block' : 'none')};\n position: absolute;\n right: 0px;\n box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);\n z-index: 9999;\n flex-direction: column;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n margin-top: 5px;\n`;\n\nconst PopupItem = styled.div<{ disabled: boolean }>`\n display: flex;\n padding: 7px 12px;\n gap: 4px;\n border-top: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n align-items: center;\n opacity: ${({ disabled }) => (disabled ? 0.5 : 1)};\n pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};\n cursor: pointer;\n p {\n cursor: pointer !important;\n }\n\n &:hover {\n background: ${({ theme }) => theme.colors.light_dark};\n }\n`;\n\ninterface Item {\n label: string;\n onClick: () => void;\n id: string;\n selected?: boolean;\n disabled?: boolean;\n}\n\ninterface ActionItemProps {\n label: string;\n subTitle: string;\n items: Item[];\n}\n\nexport const ActionItem: React.FC = ({\n label,\n items,\n subTitle,\n}) => {\n const [isOpen, setIsOpen] = useState(false);\n const ref = useRef(null);\n useOnClickOutside(ref, () => setIsOpen(false));\n\n return (\n \n
\n
\n \n \n {subTitle}\n \n
\n {items.map((item, index) => (\n \n {item.selected ? : }\n \n {item.label}\n \n \n ))}\n \n
\n );\n};\n","import React from 'react';\nimport styled from 'styled-components';\n\nimport theme from '@/styles/palette';\nimport { Expand } from '@/assets';\n\ntype PaginationProps = {\n total: number;\n itemsPerPage: number;\n currentPage: number;\n onPageChange: (page: number) => void;\n};\n\nconst PaginationContainer = styled.div`\n display: flex;\n justify-content: center;\n padding: 20px;\n gap: 2px;\n`;\n\nconst PageButton = styled.button<{\n isCurrentPage?: boolean;\n isDisabled?: boolean;\n}>`\n background-color: ${(props) =>\n props.isCurrentPage ? theme.colors.blue_grey : 'transparent'};\n color: ${(props) => (props.isDisabled ? theme.text.grey : theme.text.white)};\n border: none;\n border-radius: 4px;\n padding: 4px 8px;\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 4px;\n\n &:disabled {\n cursor: default;\n }\n\n &:hover {\n background-color: ${theme.colors.blue_grey};\n }\n`;\n\nexport const Pagination: React.FC = ({\n total,\n itemsPerPage,\n currentPage,\n onPageChange,\n}) => {\n const pageCount = Math.ceil(total / itemsPerPage);\n\n return (\n \n onPageChange(currentPage - 1)}\n disabled={currentPage === 1}\n isDisabled={currentPage === 1}\n >\n \n Previous\n \n {new Array(pageCount).fill(0).map((_, index) => (\n onPageChange(index + 1)}\n isCurrentPage={currentPage === index + 1}\n >\n {index + 1}\n \n ))}\n onPageChange(currentPage + 1)}\n disabled={currentPage === pageCount}\n isDisabled={currentPage === pageCount}\n >\n Next\n \n \n \n );\n};\n","import theme from '@/styles/palette';\nimport styled from 'styled-components';\nimport React, { useState } from 'react';\nimport { Pagination } from '../pagination';\n\n// Updated TableProps to be generic\ntype TableProps = {\n data: T[];\n renderTableHeader: () => JSX.Element;\n renderTableRows: (item: T, index: number) => JSX.Element;\n renderEmptyResult: () => JSX.Element;\n onPaginate?: (pageNumber: number) => void;\n};\n\nconst StyledTable = styled.table`\n width: 100%;\n background-color: ${theme.colors.dark};\n border: 1px solid ${theme.colors.blue_grey};\n border-radius: 6px;\n border-collapse: separate;\n border-spacing: 0;\n`;\n\nconst StyledTbody = styled.tbody``;\n\n// Applying generic type T to the Table component\nexport const Table = ({\n data,\n onPaginate,\n renderTableRows,\n renderTableHeader,\n renderEmptyResult,\n}: TableProps) => {\n const [currentPage, setCurrentPage] = useState(1);\n const [itemsPerPage, setItemsPerPage] = useState(10);\n\n const indexOfLastItem = currentPage * itemsPerPage;\n const indexOfFirstItem = indexOfLastItem - itemsPerPage;\n const currentItems = data.slice(indexOfFirstItem, indexOfLastItem);\n\n const handlePageChange = (pageNumber: number) => {\n setCurrentPage(pageNumber);\n if (onPaginate) {\n onPaginate(pageNumber);\n }\n };\n\n return (\n <>\n \n {renderTableHeader()}\n \n {currentItems.map((item, index) => renderTableRows(item, index))}\n \n \n\n {data.length === 0 ? (\n renderEmptyResult()\n ) : data.length > 10 ? (\n \n ) : null}\n >\n );\n};\n","import React, { useState } from 'react';\nimport YamlEditor from '@focus-reactive/react-yaml';\nimport styled from 'styled-components';\nimport theme from '@/styles/palette';\nimport { Copied, Copy } from '@/assets';\n\nconst Container = styled.div`\n position: relative;\n background-color: ${theme.colors.blue_grey};\n border-radius: 8px;\n padding: 4px;\n\n div {\n color: #f5b175;\n }\n .ͼb {\n color: #64a8fd;\n }\n .ͼm {\n color: ${theme.colors.white};\n }\n .ͼd {\n color: #f5b175;\n }\n .ͼc {\n color: #f5b175;\n }\n .cm-gutters {\n display: none;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n }\n`;\n\nconst EditorOverlay = styled.div`\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 10; // Ensure this is higher than the editor's z-index\n`;\n\nconst CopyIconWrapper = styled.div`\n background-color: ${theme.colors.dark};\n z-index: 999;\n border-radius: 4px;\n padding: 4px;\n position: absolute;\n top: 5px;\n right: 5px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n pointer-events: all;\n`;\n\nexport const YMLEditor = ({ data }: { data: any }) => {\n const [isCopied, setIsCopied] = useState(false);\n\n const handleChange = () => {};\n\n const handleCopy = () => {\n navigator.clipboard\n .writeText(JSON.stringify(data, null, 2))\n .then(() => {\n setIsCopied(true);\n setTimeout(() => {\n setIsCopied(false);\n }, 3000);\n })\n .catch((err) => console.error('Error copying YAML to clipboard: ', err));\n };\n return (\n <>\n \n \n {isCopied ? (\n \n ) : (\n \n )}\n \n\n \n \n \n
\n \n >\n );\n};\n","const sources = [\n {\n name: 'adservice',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'server',\n language: 'java',\n },\n ],\n },\n {\n name: 'cartservice',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'server',\n language: 'dotnet',\n },\n ],\n },\n {\n name: 'checkoutservice',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'server',\n language: 'go',\n },\n ],\n },\n {\n name: 'coupon',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'coupon',\n language: 'javascript',\n },\n ],\n },\n];\n\nconst destinations = [\n {\n id: 'odigos.io.dest.elasticsearch-6qklw',\n name: 'Elasticsearch',\n type: 'elasticsearch',\n signals: {\n traces: true,\n metrics: false,\n logs: true,\n },\n fields: {\n ELASTICSEARCH_CA_PEM:\n '-----BEGIN CERTIFICATE-----\\nMIIDIjCCAgqgAwIBAgIRANR/chGx5YexmqgwbVphZR8wDQYJKoZIhvcNAQELBQAw\\nGzEZMBcGA1UEAxMQZWxhc3RpY3NlYXJjaC1jYTAeF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_URL: 'Elasticsearch',\n ELASTICSEARCH_USERNAME: 'Elasticsearch',\n ES_LOGS_INDEX: 'Elasticsearch',\n ES_TRACES_INDEX: 'Elasticsearch',\n },\n destination_type: {\n type: 'elasticsearch',\n display_name: 'Elasticsearch',\n image_url: 'https:/d15jtxgb40qetw.cloudfront.net/elasticsearch.svg',\n supported_signals: {\n traces: {\n supported: true,\n },\n metrics: {\n supported: false,\n },\n logs: {\n supported: true,\n },\n },\n },\n },\n {\n id: 'odigos.io.dest.grafanacloudprometheus-2mcbr',\n name: 'Prometheus',\n type: 'grafanacloudprometheus',\n signals: {\n traces: false,\n metrics: true,\n logs: false,\n },\n fields: {\n GRAFANA_CLOUD_PROMETHEUS_PASSWORD: 'Prometheus',\n GRAFANA_CLOUD_PROMETHEUS_RW_ENDPOINT: 'Prometheus',\n GRAFANA_CLOUD_PROMETHEUS_USERNAME: 'Prometheus',\n PROMETHEUS_RESOURCE_ATTRIBUTES_LABELS:\n '[\"k8s.container.name\",\"k8s.pod.name\",\"k8s.namespace.name\",\"Prometheus\"]',\n PROMETHEUS_RESOURCE_EXTERNAL_LABELS: '{\"dsfd\":\"fdsfs\"}',\n },\n destination_type: {\n type: 'grafanacloudprometheus',\n display_name: 'Grafana Cloud Prometheus',\n image_url: 'https:/d15jtxgb40qetw.cloudfront.net/grafana.svg',\n supported_signals: {\n traces: {\n supported: false,\n },\n metrics: {\n supported: true,\n },\n logs: {\n supported: false,\n },\n },\n },\n },\n {\n id: 'odigos.io.dest.s3-gk7bn',\n name: 'aws',\n type: 's3',\n signals: {\n traces: true,\n metrics: true,\n logs: true,\n },\n fields: {\n S3_BUCKET: 'aws',\n S3_MARSHALER: 'otlp_proto',\n S3_PARTITION: 'minute',\n S3_REGION: 'aws',\n },\n destination_type: {\n type: 's3',\n display_name: 'AWS S3',\n image_url: 'https:/d15jtxgb40qetw.cloudfront.net/s3.svg',\n supported_signals: {\n traces: {\n supported: true,\n },\n metrics: {\n supported: true,\n },\n logs: {\n supported: true,\n },\n },\n },\n },\n];\n\nconst action = [\n {\n id: 'aci-f6c9f',\n type: 'AddClusterInfo',\n spec: {\n actionName: 'This is tetst test Cluster Attributes',\n notes:\n 'Actions are a way to modify the OpenTelemetry data recorded by Odigos Sources, before it is exported to your Odigos Destinations.',\n signals: ['METRICS', 'TRACES'],\n clusterAttributes: [\n {\n attributeName: 'Attributes',\n attributeStringValue: 'Attributes',\n },\n ],\n },\n },\n {\n id: 'aci-hfgcb',\n type: 'DeleteAttribute',\n spec: {\n actionName: 'Link',\n notes: 'Link to docs',\n signals: ['LOGS', 'METRICS', 'TRACES'],\n clusterAttributes: [\n {\n attributeName: 'sadsad',\n attributeStringValue: 'sadsa',\n },\n {\n attributeName: 'asdsa',\n attributeStringValue: 'asdasd',\n },\n ],\n },\n },\n {\n id: 'aci-r67mp',\n type: 'RenameAttribute',\n spec: {\n actionName: 'Initialize Initialize',\n notes: 'This is the initialization phase of the cluster.',\n signals: ['LOGS', 'METRICS', 'TRACES'],\n clusterAttributes: [\n {\n attributeName: 'region',\n attributeStringValue: 'us-east-1',\n },\n {\n attributeName: 'instanceType',\n attributeStringValue: 't2.micro',\n },\n {\n attributeName: 'availabilityZones',\n attributeStringValue: '3',\n },\n ],\n },\n },\n];\n\ninterface Source {\n name: string;\n kind: string;\n namespace: string;\n conditions?: {\n type: string;\n status: string;\n message: string;\n lastTransitionTime: string;\n }[];\n languages: Array<{\n container_name: string;\n language: string;\n }>;\n}\n\ninterface Destination {\n id: string;\n name: string;\n type: string;\n signals: {\n traces: boolean;\n metrics: boolean;\n logs: boolean;\n };\n fields: Record;\n conditions?: {\n type: string;\n status: string;\n message: string;\n lastTransitionTime: string;\n }[];\n destination_type: {\n type: string;\n display_name: string;\n image_url: string;\n supported_signals: {\n traces: {\n supported: boolean;\n };\n metrics: {\n supported: boolean;\n };\n logs: {\n supported: boolean;\n };\n };\n };\n}\n\ninterface Action {\n id: string;\n type: string;\n spec: {\n actionName: string;\n notes: string;\n signals: string[];\n };\n}\n\ninterface FlowNode {\n id: string;\n type: string;\n position: { x: number; y: number };\n data: any;\n}\n\ninterface FlowEdge {\n id: string;\n source: string;\n target: string;\n animated: boolean;\n label?: string;\n style?: Record;\n data?: any;\n}\n\nexport const buildFlowNodesAndEdges = (\n sources: Source[],\n destinations: Destination[],\n actions: Action[]\n): { nodes: FlowNode[]; edges: FlowEdge[] } => {\n let nodes: FlowNode[] = [],\n edges: FlowEdge[] = [];\n const centerNodeId = 'center-1';\n const xOffsetNamespace = 100;\n\n const destinations_length = destinations.length;\n let middle_index;\n\n if (destinations_length % 2 == 1) {\n middle_index = Math.floor(destinations_length / 2);\n } else {\n middle_index = destinations_length / 2 - 1;\n }\n\n // Desired y position for the middle node\n const desired_y_position = 248;\n\n // Calculate destinationyOffset\n const destinationyOffset = desired_y_position - middle_index * 100;\n\n const sources_length = sources.length;\n let middle_index_sources;\n\n if (sources_length % 2 == 1) {\n middle_index_sources = Math.floor(sources_length / 2);\n } else {\n middle_index_sources = sources_length / 2 - 1;\n }\n\n const sourceyOffset = desired_y_position - middle_index_sources * 100;\n\n // Create the center node\n const centerXPossition =\n actions?.length > 0 ? actions?.length * 150 + 400 : 450;\n nodes.push({\n id: centerNodeId,\n type: 'custom',\n position: { x: centerXPossition, y: 248 },\n data: { label: 'Center Node' },\n });\n\n // Create namespace nodes from sources and edges to the center\n sources.forEach((source, index) => {\n let hasError = false;\n if (source?.conditions) {\n hasError = source.conditions.some(\n (condition) => condition.status === 'False'\n );\n }\n const namespaceNodeId = `namespace-${index}`;\n nodes.push({\n id: namespaceNodeId,\n type: 'source',\n position: { x: xOffsetNamespace, y: sourceyOffset + index * 100 },\n data: source,\n });\n edges.push({\n id: `e${namespaceNodeId}-${centerNodeId}`,\n source: namespaceNodeId,\n target: actions?.length > 0 ? `action-0` : centerNodeId,\n animated: true,\n style: { stroke: hasError ? '#ff0000' : '#96f3ff8e' },\n data: null,\n });\n });\n\n // Create destination nodes and edges from the center\n destinations.forEach((destination, index) => {\n let isErrored = false;\n if (destination?.conditions) {\n isErrored = destination.conditions.some(\n (condition) => condition.status === 'False'\n );\n }\n const destinationNodeId = `destination-${index}`;\n nodes.push({\n id: destinationNodeId,\n type: 'destination',\n position: {\n x: centerXPossition + 400,\n y: destinationyOffset + index * 100,\n },\n data: destination,\n });\n edges.push({\n id: `e${centerNodeId}-${destinationNodeId}`,\n source: centerNodeId,\n target: destinationNodeId,\n animated: true,\n style: { stroke: isErrored ? '#ff0000' : '#96f3ff8e' },\n data: null,\n });\n });\n\n // Create action nodes and edges from the center\n actions.forEach((action, index) => {\n const actionNodeId = `action-${index}`;\n const nextActionNodeId = `action-${index + 1}`;\n nodes.push({\n id: actionNodeId,\n type: 'action',\n position: { x: 420 + index * 125, y: 250 },\n data: action,\n });\n edges.push({\n id: `e${centerNodeId}-${actionNodeId}`,\n source: actionNodeId,\n target: index + 1 === actions.length ? centerNodeId : nextActionNodeId,\n animated: true,\n style: { stroke: '#96f3ff8e' },\n data: null,\n });\n });\n\n return { nodes, edges };\n};\n\n// Example usage with typed data\nexport const { nodes, edges } = buildFlowNodesAndEdges(\n sources,\n destinations,\n action\n);\n"]}
\ No newline at end of file
diff --git a/dist/index.mjs b/dist/index.mjs
index 69dac81..77a1639 100644
--- a/dist/index.mjs
+++ b/dist/index.mjs
@@ -3138,6 +3138,12 @@ var buildFlowNodesAndEdges = (sources2, destinations2, actions) => {
data: { label: "Center Node" }
});
sources2.forEach((source, index) => {
+ let hasError = false;
+ if (source?.conditions) {
+ hasError = source.conditions.some(
+ (condition) => condition.status === "False"
+ );
+ }
const namespaceNodeId = `namespace-${index}`;
nodes2.push({
id: namespaceNodeId,
@@ -3150,11 +3156,17 @@ var buildFlowNodesAndEdges = (sources2, destinations2, actions) => {
source: namespaceNodeId,
target: actions?.length > 0 ? `action-0` : centerNodeId,
animated: true,
- style: { stroke: "#96f3ff8e" },
+ style: { stroke: hasError ? "#ff0000" : "#96f3ff8e" },
data: null
});
});
destinations2.forEach((destination, index) => {
+ let isErrored = false;
+ if (destination?.conditions) {
+ isErrored = destination.conditions.some(
+ (condition) => condition.status === "False"
+ );
+ }
const destinationNodeId = `destination-${index}`;
nodes2.push({
id: destinationNodeId,
@@ -3170,7 +3182,7 @@ var buildFlowNodesAndEdges = (sources2, destinations2, actions) => {
source: centerNodeId,
target: destinationNodeId,
animated: true,
- style: { stroke: "#96f3ff8e" },
+ style: { stroke: isErrored ? "#ff0000" : "#96f3ff8e" },
data: null
});
});
diff --git a/dist/index.mjs.map b/dist/index.mjs.map
index d4675e7..3588261 100644
--- a/dist/index.mjs.map
+++ b/dist/index.mjs.map
@@ -1 +1 @@
-{"version":3,"sources":["../src/design.system/radio/radio.tsx","../src/design.system/radio/radio.styled.tsx","../src/design.system/text/text.tsx","../src/design.system/text/text.styled.tsx","../src/assets/icons/checked-radio.svg","../src/design.system/button/button.tsx","../src/design.system/button/button.styled.tsx","../src/design.system/float.box/float.box.tsx","../src/design.system/code.block/code.block.tsx","../src/assets/icons/copy.svg","../src/assets/icons/copied.svg","../src/assets/icons/folders.svg","../src/assets/icons/trash.svg","../src/assets/icons/check.svg","../src/assets/icons/expand-arrow.svg","../src/assets/icons/actions/cluster-attr.svg","../src/assets/icons/actions/delete-attr.svg","../src/assets/icons/actions/rename-attr.svg","../src/assets/icons/actions/index.ts","../src/assets/icons/languages/index.ts","../src/hooks/useOnClickOutside.tsx","../src/hooks/useCopyToClipboard.tsx","../src/styles/palette.tsx","../src/design.system/card/card.tsx","../src/design.system/card/card.styled.tsx","../src/design.system/tag/tag.tsx","../src/design.system/tap/tap.tsx","../src/design.system/drop.down/drop.down.tsx","../src/design.system/drop.down/drop.down.styled.tsx","../src/design.system/search.input/search.input.tsx","../src/design.system/search.input/search.input.styled.tsx","../src/assets/icons/glass.svg","../src/assets/icons/X.svg","../src/assets/icons/question.svg","../src/design.system/tooltip/index.tsx","../src/design.system/switch/switch.tsx","../src/design.system/switch/switch.styled.tsx","../src/design.system/checkbox/checkbox.tsx","../src/design.system/checkbox/checkbox.styled.tsx","../src/assets/icons/checkbox-rect.svg","../src/design.system/selected.counter/selected.counter.tsx","../src/design.system/selected.counter/selected.counter.styled.tsx","../src/design.system/link/link.tsx","../src/design.system/image/image.tsx","../src/design.system/input/input.tsx","../src/design.system/input/input.styled.tsx","../src/assets/icons/eye-open.svg","../src/assets/icons/eye-close.svg","../src/design.system/input/action.input.tsx","../src/design.system/video/video.tsx","../src/assets/icons/close.svg","../src/assets/icons/player.svg","../src/design.system/video/video.styled.tsx","../src/design.system/loader/loader.tsx","../src/design.system/loader/loader.styled.tsx","../src/design.system/notification/notification.tsx","../src/design.system/notification/notification.styled.tsx","../src/assets/icons/X-blue.svg","../src/assets/icons/success-notification.svg","../src/assets/icons/error-notification.svg","../src/design.system/data.flow/index.tsx","../src/design.system/data.flow/action.node.tsx","../src/design.system/data.flow/keyval.middleware.tsx","../src/design.system/data.flow/namespace.node.tsx","../src/assets/icons/overview/middleware.svg","../src/assets/icons/overview/folder.svg","../src/design.system/data.flow/destination.node.tsx","../src/assets/icons/logs-grey.svg","../src/assets/icons/logs-blue.svg","../src/assets/icons/chart-line-grey.svg","../src/assets/icons/chart-line-blue.svg","../src/assets/icons/tree-structure-grey.svg","../src/assets/icons/tree-structure-blue.svg","../src/design.system/data.flow/monitors.tsx","../src/design.system/data.flow/source.node.tsx","../src/design.system/data.flow/data.flow.styled.tsx","../src/design.system/data.flow/control.panel.tsx","../src/design.system/danger.zone/danger.zone.tsx","../src/design.system/modal/modal.tsx","../src/design.system/modal/portal.modal.tsx","../src/design.system/modal/modal.styled.tsx","../src/assets/icons/close-modal.svg","../src/design.system/theme.provider/theme.provider.tsx","../src/design.system/theme.provider/registry.tsx","../src/design.system/steps/steps.tsx","../src/design.system/steps/step.item.tsx","../src/design.system/steps/steps.styled.tsx","../src/assets/icons/checked.svg","../src/design.system/divider/divider.tsx","../src/design.system/note/note.tsx","../src/design.system/segmented-controls/index.tsx","../src/design.system/multi-input/index.tsx","../src/design.system/key-value-input/index.tsx","../src/design.system/text.area/index.tsx","../src/design.system/multi-input/multi.input.table.tsx","../src/design.system/action.group/index.tsx","../src/design.system/action.item/index.tsx","../src/design.system/pagination/index.tsx","../src/design.system/table/index.tsx","../src/design.system/yml.editor/index.tsx","../src/design.system/data.flow/builder.ts"],"sourcesContent":["import React, { useState, FC, ChangeEvent } from 'react';\nimport { RadioButtonContainer, RadioButtonBorder } from './radio.styled';\nimport { Text } from '@/design.system/text/text';\nimport Checked from '../../assets/icons/checked-radio.svg';\ninterface RadioButtonProps {\n label?: string;\n value?: string | boolean;\n size?: number;\n textStyles?: React.CSSProperties;\n onChange?: (event: ChangeEvent) => void;\n}\n\nexport const RadioButton: FC = ({\n label = '',\n onChange,\n value,\n size = 25,\n textStyles = {},\n}) => {\n function handleChange() {\n onChange && onChange({} as ChangeEvent);\n }\n\n return (\n \n \n {value ? (\n \n ) : (\n \n )}\n
\n {label}\n \n );\n};\n","import styled from 'styled-components';\n\nexport const RadioButtonContainer = styled.label`\n height: 24px;\n color: #303030;\n font-size: 14px;\n font-weight: 400;\n margin-right: 7px;\n -webkit-tap-highlight-color: transparent;\n display: flex;\n align-items: center;\n\n gap: 10px;\n cursor: pointer;\n`;\n\nexport const RadioButtonBorder = styled.span`\n cursor: pointer;\n width: 23px;\n height: 23px;\n border: ${({ theme }) => `solid 2px ${theme.colors.light_grey}`};\n border-radius: 50%;\n display: inline-block;\n position: relative;\n`;\n","import React from 'react';\nimport { TextWrapper } from './text.styled';\n\ntype TextProps = {\n type?: string | any;\n value?: string;\n style?: object;\n children?: string | any;\n weight?: string | number;\n color?: string;\n size?: number;\n};\n\nexport function Text({ children, color, style, weight, size }: TextProps) {\n return (\n \n {children}\n \n );\n}\n","import styled from \"styled-components\";\n\nexport const TextWrapper = styled.p`\n color: ${({ theme }) => theme.text.white};\n margin: 0;\n font-family: ${({ theme }) => theme.font_family.primary}, sans-serif;\n font-size: 16px;\n font-weight: 400;\n`;\n","import * as React from \"react\";\nconst SvgCheckedRadio = props => ;\nexport default SvgCheckedRadio;","import React, { ButtonHTMLAttributes, FC } from 'react';\nimport { StyledButton, ButtonContainer } from './button.styled';\n\ninterface ButtonProps extends ButtonHTMLAttributes {\n // Additional custom props if needed\n variant?: string;\n style?: object;\n}\n\nexport const Button: FC = ({\n variant = 'primary',\n children,\n style,\n disabled,\n type = 'button',\n ...rest\n}) => {\n return (\n \n \n {children}\n \n \n );\n};\n","import styled from 'styled-components';\n\ninterface ButtonProps {\n variant?: string;\n disabled?: boolean;\n}\n\nexport const ButtonContainer = styled.div`\n :hover {\n background: ${({ theme, disabled, variant }) =>\n disabled\n ? theme.colors.blue_grey\n : variant === 'primary'\n ? theme.colors.torquiz_light\n : 'transparent'};\n }\n p {\n cursor: ${({ disabled }) =>\n disabled ? 'not-allowed !important' : 'pointer !important'};\n }\n`;\n\nexport const StyledButton = styled.button`\n display: flex;\n padding: 8px 16px;\n align-items: center;\n border-radius: 8px;\n border: none;\n width: 100%;\n height: 100%;\n border: 1px solid\n ${({ theme, variant }) =>\n variant === 'primary' ? 'transparent' : theme.colors.secondary};\n cursor: ${({ disabled }) =>\n disabled ? 'not-allowed !important' : 'pointer !important'};\n background: ${({ theme, disabled, variant }) =>\n disabled\n ? variant === 'primary'\n ? theme.colors.blue_grey\n : 'transparent'\n : variant === 'primary'\n ? theme.colors.secondary\n : 'transparent'};\n justify-content: center;\n align-items: center;\n opacity: ${({ disabled, variant }) =>\n variant !== 'primary' && disabled ? 0.5 : 1};\n`;\n","import React from \"react\";\nimport styled from \"styled-components\";\n\ntype FloatBoxProps = {\n style?: object;\n children: any;\n};\n\nconst FloatBoxBorder = styled.div`\n background: radial-gradient(\n circle at 100% 100%,\n #ffffff 0,\n #ffffff 3px,\n transparent 3px\n )\n 0% 0%/8px 8px no-repeat,\n radial-gradient(circle at 0 100%, #ffffff 0, #ffffff 3px, transparent 3px)\n 100% 0%/8px 8px no-repeat,\n radial-gradient(circle at 100% 0, #ffffff 0, #ffffff 3px, transparent 3px)\n 0% 100%/8px 8px no-repeat,\n radial-gradient(circle at 0 0, #ffffff 0, #ffffff 3px, transparent 3px) 100%\n 100%/8px 8px no-repeat,\n linear-gradient(#ffffff, #ffffff) 50% 50% / calc(100% - 10px)\n calc(100% - 16px) no-repeat,\n linear-gradient(#ffffff, #ffffff) 50% 50% / calc(100% - 16px)\n calc(100% - 10px) no-repeat,\n linear-gradient(0deg, transparent 0%, #0ee6f3 100%),\n radial-gradient(\n 78.09% 72.18% at 100% -0%,\n rgba(150, 242, 255, 0.4) 0%,\n rgba(150, 242, 255, 0) 61.91%\n ),\n linear-gradient(180deg, #2e4c55 0%, #303355 100%);\n border-radius: 8px;\n padding: 1px;\n width: 32px;\n height: 32px;\n`;\n\nconst FloatBoxWrapper = styled.div`\n width: 32px;\n height: 32px;\n border-radius: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n background: radial-gradient(\n 78.09% 72.18% at 100% -0%,\n rgba(150, 242, 255, 0.4) 0%,\n rgba(150, 242, 255, 0) 61.91%\n ),\n linear-gradient(180deg, #2e4c55 0%, #303355 100%);\n`;\n\nexport function FloatBox({ children, style = {} }: FloatBoxProps) {\n return (\n \n {children}\n \n );\n}\n","import React, { useEffect, useState } from 'react';\nimport { Copied, Copy } from '@/assets/icons';\nimport { styled } from 'styled-components';\nimport { Text } from '..';\nimport { useCopyToClipboard } from '@/hooks';\nimport theme from '@/styles/palette';\n\ninterface CodeProps {\n text: string;\n title?: string;\n highlightedWord?: {\n primary: {\n words: string[];\n color: string;\n };\n secondary?: {\n words: string[];\n color: string;\n };\n };\n onCopy?: () => void;\n}\n\nconst CodeBlockContainer = styled.div`\n border-radius: 12px;\n width: 100%;\n border: ${({ theme }) => `1px solid ${theme.colors.dark_blue}`};\n background: ${({ theme }) => theme.colors.dark};\n padding: 16px;\n text-align: start;\n gap: 10px;\n position: relative;\n`;\n\nconst TextWrapper = styled.p`\n font-family: 'IBM Plex Mono', monospace;\n width: 90%;\n`;\n\nconst CopyIconWrapper = styled.span`\n position: absolute;\n right: 16px;\n top: 16px;\n cursor: pointer;\n`;\n\nconst ComponentWrapper = styled.div`\n display: flex;\n flex-direction: column;\n text-align: start;\n gap: 6px;\n width: 100%;\n`;\n\nexport function Code({ text, highlightedWord, title, onCopy }: CodeProps) {\n const [primaryWords, setPrimaryWords] = useState>(\n new Map()\n );\n const [secondaryWords, setSecondaryWords] = useState>(\n new Map()\n );\n\n const { copyToClipboard, clipboardState } = useCopyToClipboard();\n\n useEffect(onload, [highlightedWord]);\n\n function onload() {\n if (highlightedWord) {\n highlightedWord.primary && handleSetPrimaryWords();\n highlightedWord.secondary && handleSetSecondaryWords();\n }\n }\n\n function handleSetPrimaryWords() {\n const primaryWordsMap = new Map();\n highlightedWord?.primary.words.forEach((word) => {\n primaryWordsMap.set(word, word);\n });\n setPrimaryWords(primaryWordsMap);\n }\n\n function handleSetSecondaryWords() {\n const secondaryWordsMap = new Map();\n highlightedWord?.secondary?.words.forEach((word) => {\n secondaryWordsMap.set(word, word);\n });\n setSecondaryWords(secondaryWordsMap);\n }\n\n function getWordColor(word: string) {\n if (primaryWords.has(word)) {\n return highlightedWord?.primary.color;\n }\n if (secondaryWords.has(word)) {\n return highlightedWord?.secondary?.color;\n }\n return theme.colors.white;\n }\n\n function handleCopy() {\n copyToClipboard(text);\n onCopy && onCopy();\n }\n\n return (\n \n {title && {title}}\n \n \n {!clipboardState ? (\n \n ) : (\n \n )}\n \n \n {text.split(' ').map((part, index) => (\n \n {`${part} `}\n \n ))}\n \n \n \n );\n}\n","import * as React from \"react\";\nconst SvgCopy = props => ;\nexport default SvgCopy;","import * as React from \"react\";\nconst SvgCopied = props => ;\nexport default SvgCopied;","import * as React from \"react\";\nconst SvgFolders = props => ;\nexport default SvgFolders;","import * as React from \"react\";\nconst SvgTrash = props => ;\nexport default SvgTrash;","import * as React from \"react\";\nconst SvgCheck = props => ;\nexport default SvgCheck;","import * as React from \"react\";\nconst SvgExpandArrow = props => ;\nexport default SvgExpandArrow;","import * as React from \"react\";\nconst SvgClusterAttr = props => ;\nexport default SvgClusterAttr;","import * as React from \"react\";\nconst SvgDeleteAttr = props => ;\nexport default SvgDeleteAttr;","import * as React from \"react\";\nconst SvgRenameAttr = props => ;\nexport default SvgRenameAttr;","import AddClusterInfo from './cluster-attr.svg';\nimport DeleteAttribute from './delete-attr.svg';\nimport RenameAttribute from './rename-attr.svg';\n// Define the type for the ACTION_ICONS object\ninterface ActionIcons {\n [key: string]: any;\n}\n\n// Define the ACTION_ICONS with explicit types\nexport const ACTION_ICONS: ActionIcons = {\n AddClusterInfo: AddClusterInfo,\n RenameAttribute: RenameAttribute,\n DeleteAttribute: DeleteAttribute,\n};\n","const BASE_URL = 'https://d1n7d4xz7fr8b4.cloudfront.net/';\n\nexport const LANGUAGES_LOGOS = {\n java: `${BASE_URL}java.png`,\n go: `${BASE_URL}go.png`,\n javascript: `${BASE_URL}nodejs.png`,\n python: `${BASE_URL}python.png`,\n dotnet: `${BASE_URL}dotnet.png`,\n default: `${BASE_URL}default.png`,\n mysql: `${BASE_URL}mysql.png`,\n unknown: `${BASE_URL}default.svg`, // TODO: good icon\n processing: `${BASE_URL}default.svg`, // TODO: good icon\n 'no containers': `${BASE_URL}default.svg`, // TODO: good icon\n};\n\nexport const LANGUAGES_COLORS = {\n java: '#B07219',\n go: '#00ADD8',\n javascript: '#F7DF1E',\n python: '#306998',\n dotnet: '#512BD4',\n mysql: '#00758F',\n};\n","import { useEffect, RefObject } from \"react\";\n\ntype Event = MouseEvent | TouchEvent;\n\nexport function useOnClickOutside(\n ref: RefObject,\n handler: (event: Event) => void\n) {\n useEffect(() => {\n const listener = (event: Event) => {\n const el = ref?.current;\n if (el?.contains(event?.target as Node)) return null;\n\n // Call the handler only if the click is outside of the element passed.\n handler(event);\n };\n\n document.addEventListener(\"mousedown\", listener);\n document.addEventListener(\"touchstart\", listener);\n\n return () => {\n document.removeEventListener(\"mousedown\", listener);\n document.removeEventListener(\"touchstart\", listener);\n };\n }, [ref, handler]);\n}\n","import { useEffect, useState } from 'react';\n\nexport function useCopyToClipboard() {\n const [clipboardState, setClipboardState] = useState(false);\n\n async function copyToClipboard(text: string) {\n if (navigator.clipboard) {\n try {\n await navigator.clipboard.writeText(text);\n setClipboardState(true);\n } catch (error) {\n setClipboardState(false);\n }\n } else {\n setClipboardState(false);\n }\n }\n\n return { clipboardState, copyToClipboard };\n}\n","import { DefaultTheme } from 'styled-components';\n\n// Define your color palette\nconst colors = {\n primary: '#07111A',\n secondary: '#0EE6F3',\n torquiz_light: '#96F2FF',\n dark: '#07111A',\n data_flow_bg: '#0E1C28',\n light_dark: '#132330',\n dark_blue: '#203548',\n light_grey: '#CCD0D2',\n blue_grey: '#374A5B',\n white: '#fff',\n error: '#FD3F3F',\n traces: '#4CAF50',\n logs: '#8B4513',\n metrics: '#FFD700',\n};\n\nconst text = {\n primary: '#07111A',\n secondary: '#0EE6F3',\n white: '#fff',\n light_grey: '#CCD0D2',\n grey: '#8b92a5',\n dark_button: '#0A1824',\n};\n\nconst font_family = {\n primary: 'Inter',\n};\n\n// Define the theme interface\ninterface ThemeInterface extends DefaultTheme {\n colors: typeof colors;\n text: typeof text;\n font_family: typeof font_family;\n}\n\n// Create your theme object\nconst theme: ThemeInterface = {\n colors,\n text,\n font_family,\n};\n\n// Export the theme\nexport default theme;\n","'use client';\nimport React from 'react';\nimport { CardContainer, CardHeader } from './card.styled';\nimport { Text } from '../text/text';\n\ninterface CardProps {\n children?: JSX.Element | JSX.Element[];\n focus?: any;\n type?: string;\n header?: {\n title?: string;\n subtitle?: string;\n body?: () => JSX.Element | JSX.Element[];\n };\n}\n\nexport function Card({\n children,\n focus = false,\n type = 'primary',\n header,\n}: CardProps) {\n function renderHeader() {\n if (header?.body) {\n return header?.body();\n }\n return (\n <>\n \n {header?.title}\n \n \n {header?.subtitle}\n \n >\n );\n }\n\n return (\n \n {header && {renderHeader()}}\n {children}\n \n );\n}\n","import styled from 'styled-components';\n\ninterface CardContainerProps {\n selected?: any;\n type?: string;\n}\n\nexport const CardContainer = styled.div`\n display: inline-flex;\n position: relative;\n height: fit-content;\n flex-direction: column;\n border-radius: 24px;\n height: 100%;\n border: ${({ selected, theme, type }) =>\n `1px solid ${\n selected\n ? theme.colors.secondary\n : type === 'primary'\n ? theme.colors.dark_blue\n : '#374a5b'\n }`};\n background: ${({ theme, type }) =>\n type === 'primary' ? theme.colors.dark : '#0E1C28'};\n box-shadow: ${({ type }) =>\n type === 'primary'\n ? 'none'\n : '0px -6px 16px 0px rgba(0, 0, 0, 0.25),4px 4px 16px 0px rgba(71, 231, 241, 0.05),-4px 4px 16px 0px rgba(71, 231, 241, 0.05)'};\n`;\n\nexport const CardHeader = styled(CardContainer)`\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: fit-content;\n gap: 16px;\n padding: 24px 0px;\n box-shadow: none;\n`;\n","import { Text } from '@/design.system/text/text';\nimport React from 'react';\nimport styled from 'styled-components';\n\ninterface TagProps {\n title: string;\n color?: string;\n}\n\nconst TagWrapper = styled.div`\n display: flex;\n padding: 4px 8px;\n align-items: flex-start;\n gap: 10px;\n border-radius: 10px;\n width: fit-content;\n`;\n\nexport function Tag({ title = '', color = '#033869' }: TagProps) {\n return (\n \n \n {title}\n \n \n );\n}\n","import { Text } from '@/design.system/text/text';\nimport React from 'react';\nimport styled from 'styled-components';\n\ninterface TapProps {\n icons: object;\n title?: string;\n tapped?: boolean;\n onClick?: any;\n children?: React.ReactNode;\n style?: React.CSSProperties;\n}\n\ninterface TapWrapperProps {\n selected?: any;\n}\n\nconst TapWrapper = styled.div`\n display: flex;\n padding: 8px 14px;\n align-items: flex-end;\n gap: 10px;\n border-radius: 16px;\n border: ${({ theme, selected }) =>\n `1px solid ${selected ? 'transparent' : theme.colors.dark_blue}`};\n background: ${({ theme, selected }) =>\n selected ? theme.colors.dark_blue : 'transparent'};\n`;\n\nexport function Tap({\n title = '',\n tapped,\n children,\n style,\n onClick,\n}: TapProps) {\n return (\n \n {children}\n \n {title}\n \n \n );\n}\n","import React, { useEffect, useRef, useState } from 'react';\nimport Open from '@/assets/icons/expand-arrow.svg';\nimport {\n DropdownHeader,\n DropdownWrapper,\n DropdownBody,\n DropdownItem,\n DropdownListWrapper,\n LabelWrapper,\n} from './drop.down.styled';\nimport { Text } from '../text/text';\nimport { SearchInput } from '../search.input/search.input';\nimport { useOnClickOutside } from '@/hooks';\nimport { Tooltip } from '../tooltip';\nimport theme from '@/styles/palette';\n\ninterface DropDownItem {\n id: number | string;\n label: string;\n}\ninterface DropDownProps {\n data: DropDownItem[];\n onChange: (item: DropDownItem) => void;\n width?: number;\n value?: DropDownItem | null;\n label?: string;\n tooltip?: string;\n required?: boolean;\n}\n\nconst SELECTED_ITEM = 'Select item';\nconst CONTAINER_STYLE = {\n width: '90%',\n border: 'none',\n background: 'transparent',\n};\nconst SEARCH_INPUT_STYLE = { background: 'transparent' };\n\nexport function DropDown({\n data = [],\n onChange,\n width = 260,\n value,\n label,\n tooltip,\n required,\n}: DropDownProps) {\n const [isOpen, setOpen] = useState(false);\n const [selectedItem, setSelectedItem] = useState(value || null);\n const [isHover, setHover] = useState(false);\n const [searchFilter, setSearchFilter] = useState('');\n\n const containerRef = useRef(null);\n\n useEffect(() => {\n value && setSelectedItem(value);\n }, [value]);\n\n useOnClickOutside(containerRef, () => setOpen(false));\n\n const toggleDropdown = () => setOpen(!isOpen);\n\n const handleItemClick = (item: DropDownItem) => {\n onChange(item);\n setSelectedItem(item);\n setSearchFilter('');\n setOpen(false);\n };\n\n function getDropdownList() {\n return searchFilter\n ? data?.filter((item: any) =>\n item?.label.toLowerCase().includes(searchFilter.toLowerCase())\n )\n : data;\n }\n\n return (\n <>\n {label && (\n \n \n \n \n {label}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n setHover(true)}\n onMouseLeave={() => setHover(false)}\n onClick={toggleDropdown}\n >\n \n {selectedItem ? selectedItem.label : SELECTED_ITEM}\n \n \n \n {isOpen && (\n \n setSearchFilter(e.target.value)}\n placeholder=\"Search\"\n containerStyle={CONTAINER_STYLE}\n inputStyle={SEARCH_INPUT_STYLE}\n showClear={false}\n />\n \n {getDropdownList().map((item) => (\n handleItemClick(item)}\n >\n {item.label}\n \n ))}\n \n \n )}\n
\n >\n );\n}\n","import styled from 'styled-components';\n\ninterface DropdownWrapperProps {\n selected?: any;\n}\n\nexport const DropdownWrapper = styled.div`\n position: relative;\n z-index: 999;\n width: 100%;\n padding: 11px 4px;\n border-radius: 8px;\n cursor: pointer;\n border: ${({ selected, theme }) =>\n `1px solid ${selected ? theme.colors.white : theme.colors.blue_grey}`};\n /* background: ${({ theme }) => theme.colors.dark}; */\n\n .dropdown-arrow {\n transform: rotate(0deg);\n transition: all 0.2s ease-in-out;\n }\n\n .dropdown-arrow.open {\n transform: rotate(180deg);\n }\n`;\n\nexport const DropdownHeader = styled.div`\n padding: 0 12px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n color: ${({ theme }) => theme.text.white};\n font-size: 14px;\n font-family: ${({ theme }) => theme.font_family.primary}, sans-serif;\n font-weight: 400;\n`;\n\nexport const DropdownBody = styled.div`\n position: relative;\n z-index: 1000;\n display: flex;\n width: 100%;\n padding: 11px 4px;\n flex-direction: column;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n margin-top: 5px;\n`;\n\nexport const DropdownListWrapper = styled.div`\n position: relative;\n\n z-index: 1000;\n width: 100%;\n max-height: 270px;\n overflow-y: scroll;\n scrollbar-width: none;\n :hover {\n background: ${({ theme }) => theme.colors.dark_blue};\n }\n`;\n\nexport const DropdownItem = styled.div`\n display: flex;\n padding: 7px 12px;\n justify-content: space-between;\n align-items: center;\n border-radius: 8px;\n cursor: pointer;\n p {\n cursor: pointer !important;\n }\n`;\nexport const LabelWrapper = styled.div`\n margin-bottom: 8px;\n text-align: start;\n`;\n","import React from 'react';\nimport { SearchInputWrapper, StyledSearchInput } from './search.input.styled';\nimport Glass from '@/assets/icons/glass.svg';\nimport X from '@/assets/icons/X.svg';\n\ninterface SearchInputProps {\n placeholder?: string;\n value?: string;\n onChange?: (e: any) => void;\n loading?: boolean;\n containerStyle?: any;\n inputStyle?: any;\n showClear?: boolean;\n}\n\nexport function SearchInput({\n placeholder = 'Search',\n value = '',\n onChange = () => {},\n loading = false,\n containerStyle = {},\n inputStyle = {},\n showClear = true,\n}: SearchInputProps) {\n const clear = value\n ? () =>\n onChange({\n target: {\n value: '',\n },\n })\n : () => {};\n\n return (\n \n \n \n\n {showClear && (\n \n {' '}\n \n
\n )}\n \n );\n}\n","import styled from \"styled-components\";\n\ninterface ActiveProps {\n active?: any;\n}\n\nexport const SearchInputWrapper = styled.div`\n position: relative;\n display: flex;\n width: 340px;\n padding: 9px 13px;\n gap: 10px;\n border-radius: 8px;\n border: ${({ active, theme }) =>\n `1px solid ${active ? theme.colors.white : theme.colors.blue_grey}`};\n background: ${({ active, theme }) =>\n `${active ? theme.colors.dark : theme.colors.light_dark}`};\n &:hover {\n border: ${({ theme }) => `solid 1px ${theme.colors.white}`};\n }\n`;\n\nexport const StyledSearchInput = styled.input`\n width: 85%;\n background: ${({ active, theme }) =>\n `${active ? theme.colors.dark : \"transparent\"}`};\n border: none;\n outline: none;\n color: ${({ active, theme }) =>\n `${active ? theme.colors.white : theme.text.grey}`};\n font-size: 14px;\n font-family: ${({ theme }) => theme.font_family.primary}, sans-serif;\n font-weight: 400;\n &:focus {\n color: ${({ theme }) => `solid 1px ${theme.colors.white}`};\n }\n`;\n","import * as React from \"react\";\nconst SvgGlass = props => ;\nexport default SvgGlass;","import * as React from \"react\";\nconst SvgX = props => ;\nexport default SvgX;","import * as React from \"react\";\nconst SvgQuestion = props => ;\nexport default SvgQuestion;","import Question from '@/assets/icons/question.svg';\nimport React, { useState, ReactNode } from 'react';\nimport styled from 'styled-components';\nimport { Text } from '../text/text';\n\n// Styled tooltip container\nconst TooltipContainer = styled.div`\n display: inline-flex;\n align-items: center; // Align children and icon vertically\n position: relative;\n`;\n\n// Styled icon (using a simple div here, but you can replace it with an actual icon component)\nconst Icon = styled.div`\n margin-left: 8px;\n display: flex;\n align-items: center;\n`;\n\n// Styled tooltip text\nconst TooltipText = styled.div<{ isVisible: boolean }>`\n visibility: ${({ isVisible }) => (isVisible ? 'visible' : 'hidden')};\n background-color: black;\n color: white;\n text-align: center;\n border-radius: 6px;\n padding: 5px 10px;\n max-width: 300px;\n width: 100%;\n text-align: left;\n /* Position the tooltip above the icon */\n position: absolute;\n z-index: 1;\n bottom: 100%;\n left: 50%;\n transform: translateX(-0%);\n margin-bottom: 5px; // Space between the tooltip and the icon\n\n /* Fade in animation */\n opacity: ${({ isVisible }) => (isVisible ? 1 : 0)};\n transition: opacity 0.3s;\n`;\n\ninterface TooltipProps {\n children: ReactNode;\n text: string;\n icon?: ReactNode;\n showIcon?: boolean;\n}\n\nexport const Tooltip: React.FC = ({\n children,\n text,\n icon = '?',\n showIcon = true,\n}) => {\n const [isVisible, setIsVisible] = useState(false);\n\n const showTooltip = () => setIsVisible(true);\n const hideTooltip = () => setIsVisible(false);\n\n if (!text) return <>{children}>;\n\n return (\n \n {children}\n \n \n {text}\n \n \n {showIcon && (\n \n \n \n )}\n \n );\n};\n","import React from \"react\";\nimport { Text } from \"../text/text\";\nimport {\n SwitchButtonWrapper,\n SwitchInputWrapper,\n SwitchToggleWrapper,\n} from \"./switch.styled\";\n\ninterface SwitchProps {\n toggle: boolean;\n handleToggleChange: () => void;\n style?: object;\n label?: string;\n}\n\nexport function Switch({\n toggle,\n handleToggleChange,\n style,\n label = \"Select All\",\n}: SwitchProps) {\n return (\n \n \n \n \n {label && {label}}\n \n );\n}\n","import styled from \"styled-components\";\n\ninterface SwitchToggleWrapperProps {\n active?: any;\n}\n\ninterface SwitchToggleBtnProps {\n disabled: boolean | undefined;\n}\n\nexport const SwitchInputWrapper = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nexport const SwitchToggleWrapper = styled.div`\n position: relative;\n width: 30px;\n height: 16px;\n background-color: ${({ active, theme }) =>\n active ? theme.colors.secondary : theme.text.grey};\n cursor: pointer;\n user-select: none;\n border-radius: 20px;\n padding: 2px;\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nexport const SwitchButtonWrapper = styled.span`\n display: flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n width: 14px;\n height: 14px;\n cursor: pointer;\n color: #fff;\n background-color: ${({ disabled, theme }) =>\n !disabled ? theme.text.light_grey : theme.text.white};\n box-shadow: 0 2px 4px rgb(0, 0, 0, 0.25);\n border-radius: 100%;\n position: absolute;\n transition: all 0.2s ease;\n left: ${({ disabled }) => (!disabled ? 2 : 18)}px;\n`;\n","import React from 'react';\nimport { Text } from '../text/text';\nimport { CheckboxWrapper, CheckboxItem } from './checkbox.styled';\nimport Checked from '../../assets/icons/checkbox-rect.svg';\n\ninterface CheckboxProps {\n value: boolean;\n onChange: () => void;\n label?: string;\n disabled?: boolean;\n}\n\nexport function Checkbox({\n onChange,\n value,\n label = '',\n disabled = false,\n}: CheckboxProps) {\n return (\n \n {value ? : }\n {label}\n \n );\n}\n","import { styled } from \"styled-components\";\n\ninterface CheckboxWrapperProps {\n disabled?: boolean;\n}\n\nexport const CheckboxWrapper = styled.div`\n display: flex;\n gap: 8px;\n align-items: center;\n cursor: ${({ disabled }) => (disabled ? \"not-allowed\" : \"pointer\")};\n pointer-events: ${({ disabled }) => (disabled ? \"none\" : \"auto\")};\n opacity: ${({ disabled }) => (disabled ? \"0.5\" : \"1\")};\n`;\n\nexport const CheckboxItem = styled.span`\n width: 16px;\n height: 16px;\n border: ${({ theme }) => `solid 1px ${theme.colors.light_grey}`};\n border-radius: 4px;\n`;\n","import * as React from \"react\";\nconst SvgCheckboxRect = props => ;\nexport default SvgCheckboxRect;","import React from \"react\";\nimport { SelectedCounterWrapper } from \"./selected.counter.styled\";\nimport Checked from \"@/assets/icons/check.svg\";\nimport { Text } from \"../text/text\";\n\ninterface SelectedCounterProps {\n total: number;\n selected: number;\n}\n\nexport function SelectedCounter({ total, selected }: SelectedCounterProps) {\n return (\n \n {selected !== 0 && }\n {`${selected} / ${total}`}\n \n );\n}\n","import styled from \"styled-components\";\n\nexport const SelectedCounterWrapper = styled.div`\n display: flex;\n padding: 4px;\n align-items: center;\n gap: 4px;\n border-radius: 14px;\n background: ${({ theme }) => theme.colors.dark_blue};\n`;\n","import React from 'react';\nimport { Text } from '../text/text';\nimport { styled } from 'styled-components';\nimport theme from '@/styles/palette';\n\ninterface LinkProps {\n value: string;\n onClick?: () => void;\n fontSize?: number;\n color?: string;\n}\n\nconst LinkContainer = styled.div`\n cursor: pointer;\n .p {\n cursor: pointer !important;\n }\n`;\n\nexport function Link({\n value,\n onClick,\n fontSize = 16,\n color = theme.colors.secondary,\n}: LinkProps) {\n return (\n \n \n {value}\n \n \n );\n}\n","import Image from \"next/image\";\nimport React from \"react\";\n\ninterface ImageProps {\n src: string;\n alt?: string;\n width?: number;\n height?: number;\n style?: React.CSSProperties;\n}\n\nconst IMAGE_STYLE: React.CSSProperties = {\n borderRadius: 10,\n};\n\nexport function ImageComponent({\n src,\n alt = \"\",\n width = 56,\n height = 56,\n style = {},\n}: ImageProps) {\n return (\n \n );\n}\n","import React, { ChangeEvent, InputHTMLAttributes, useState } from 'react';\nimport {\n StyledInputContainer,\n StyledInput,\n ErrorWrapper,\n LabelWrapper,\n DisplayIconsWrapper,\n} from './input.styled';\nimport { Text } from '../text/text';\nimport EyeOpenIcon from '@/assets/icons/eye-open.svg';\nimport EyeCloseIcon from '@/assets/icons/eye-close.svg';\nimport { Tooltip } from '../tooltip';\nimport theme from '@/styles/palette';\n\ninterface InputProps extends Omit, 'onChange'> {\n label?: string;\n onChange: (value: string) => void;\n error?: string;\n style?: React.CSSProperties;\n tooltip?: string;\n}\n\nexport function Input({\n label,\n value,\n onChange,\n type = 'text',\n error = '',\n style = {},\n onKeyDown,\n tooltip,\n required,\n autoComplete = \"off\",\n ...rest\n}: InputProps): JSX.Element {\n const [showPassword, setShowPassword] = useState(false);\n\n function handleChange(event: ChangeEvent): void {\n onChange(event.target.value);\n }\n\n return (\n \n {label && (\n
\n \n \n \n {label}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n
\n \n {type === 'password' && (\n setShowPassword(!showPassword)}>\n {!showPassword ? (\n \n ) : (\n \n )}\n \n )}\n \n {error && (\n
\n \n {error}\n \n \n )}\n
\n );\n}\n","import { styled } from 'styled-components';\n\ninterface ActiveProps {\n active?: any;\n error: boolean | undefined;\n}\n\nexport const StyledInputContainer = styled.div`\n position: relative;\n display: flex;\n width: 100%;\n padding-left: 13px;\n height: 100%;\n min-height: 37px;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 10px;\n border-radius: 8px;\n border: ${({ theme, error, active }) =>\n `1px solid ${\n error\n ? theme.colors.error\n : active\n ? theme.text.grey\n : theme.colors.blue_grey\n }`};\n background: ${({ theme }) => theme.colors.light_dark};\n\n &:hover {\n border: ${({ theme }) => `solid 1px ${theme.text.grey}`};\n }\n`;\n\nexport const StyledActionInputContainer = styled.div`\n position: relative;\n display: flex;\n width: 100%;\n padding: 0px 12px;\n height: 100%;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n border-radius: 4px;\n border: ${({ theme }) => `1px solid ${theme.colors.secondary}`};\n`;\n\nexport const StyledInput = styled.input`\n background: transparent;\n border: none;\n outline: none;\n width: 96%;\n color: ${({ theme }) => theme.text.white};\n`;\n\nexport const StyledActionInput = styled(StyledInput)`\n color: var(--dark-mode-white, #fff);\n font-family: Inter, sans-serif;\n font-size: 24px;\n`;\n\nexport const LabelWrapper = styled.div`\n margin-bottom: 8px;\n text-align: start;\n`;\n\nexport const ErrorWrapper = styled.div`\n margin-top: 4px;\n`;\n\nexport const DisplayIconsWrapper = styled.div`\n position: absolute;\n right: 10px;\n cursor: pointer;\n`;\n","import * as React from \"react\";\nconst SvgEyeOpen = props => ;\nexport default SvgEyeOpen;","import * as React from \"react\";\nconst SvgEyeClose = props => ;\nexport default SvgEyeClose;","import React, { ChangeEvent } from 'react';\nimport { StyledActionInputContainer, StyledActionInput } from './input.styled';\nimport { Button } from '../button/button';\nimport { Text } from '../text/text';\nimport theme from '@/styles/palette';\n\ninterface InputProps {\n value: string;\n onAction: () => void;\n onChange: (value: string) => void;\n type?: string;\n style?: React.CSSProperties;\n}\n\nexport function ActionInput({\n value,\n onChange,\n style = {},\n onAction,\n}: InputProps): JSX.Element {\n function handleChange(event: ChangeEvent): void {\n onChange(event.target.value);\n }\n\n return (\n <>\n \n \n\n \n \n >\n );\n}\n","import React, { useState } from \"react\";\nimport CloseIcon from \"@/assets/icons/close.svg\";\nimport PlayerIcon from \"@/assets/icons/player.svg\";\nimport { Text } from \"../text/text\";\nimport {\n ImagePreviewWrapper,\n PlayerIconWrapper,\n LargePlayerIconWrapper,\n StyledLargeVideo,\n LargeVideoHeader,\n LargeVideoContainer,\n} from \"./video.styled\";\n\ntype VideoComponentProps = {\n videoSrc: string;\n title?: string;\n thumbnail?: string | undefined;\n};\n\nexport function Video({ videoSrc, title, thumbnail }: VideoComponentProps) {\n const [isLarge, setIsLarge] = useState(false);\n const [pause, setPause] = useState(true);\n\n const handleClick = (): void => {\n setIsLarge(true);\n };\n\n const handleClose = (): void => {\n setIsLarge(false);\n setPause(true);\n };\n\n const renderSmallView = (): JSX.Element => (\n <>\n \n {title}\n \n \n \n \n \n \n >\n );\n\n const renderLargeView = (): JSX.Element => (\n \n \n \n {title}\n \n \n \n {!pause ? (\n \n ) : (\n setPause(false)}\n >\n \n \n \n \n )}\n \n );\n\n return {isLarge ? renderLargeView() : renderSmallView()}
;\n}\n","import * as React from \"react\";\nconst SvgClose = props => ;\nexport default SvgClose;","import * as React from \"react\";\nconst SvgPlayer = props => ;\nexport default SvgPlayer;","import { styled } from \"styled-components\";\n\ninterface ImagePreviewWrapperProps {\n url: string | undefined;\n}\n\nexport const ImagePreviewWrapper = styled.div`\n position: relative;\n margin-top: 8px;\n border-radius: 8px;\n width: 240px;\n height: 140px;\n cursor: pointer;\n background: ${({ url }) => `linear-gradient(\n 0deg,\n rgba(2, 20, 30, 0.2) 0%,\n rgba(2, 20, 30, 0.2) 100%\n ),\n url(${url}),\n lightgray 50%`};\n background-size: cover;\n background-position: center;\n background-repeat: no-repeat;\n`;\n\nexport const PlayerIconWrapper = styled.div`\n position: absolute;\n margin-left: auto;\n margin-right: auto;\n left: 0;\n right: 0;\n top: 30px;\n text-align: center;\n`;\nexport const LargePlayerIconWrapper = styled(PlayerIconWrapper)`\n top: 40%;\n`;\n\nexport const StyledLargeVideo = styled.video`\n width: 980px;\n border-radius: 8px;\n`;\n\nexport const LargeVideoHeader = styled.div`\n width: 980px;\n\n display: flex;\n justify-content: space-between;\n margin-bottom: 21px;\n`;\n\nexport const LargeVideoContainer = styled.div`\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n background: rgba(0, 0, 0, 0.65);\n z-index: 9999;\n`;\n","import React from 'react';\nimport { StyledLoader, LoaderWrapper } from './loader.styled';\n\ninterface LoaderProps {\n width?: number;\n height?: number;\n}\n\nexport function Loader({ width, height }: LoaderProps) {\n return (\n \n \n \n );\n}\n","import styled from 'styled-components';\n\nexport const LoaderWrapper = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n`;\n\nexport const StyledLoader = styled.div<{\n width?: number | undefined;\n height?: number | undefined;\n}>`\n width: ${({ width }) => width || 48}px;\n height: ${({ height }) => height || 48}px;\n border: 4px solid;\n border-color: ${({ theme }) =>\n `${theme.colors.secondary} ${theme.colors.secondary} ${theme.colors.secondary} transparent`};\n border-radius: 50%;\n animation: spin-anim 1.2s linear infinite;\n\n @keyframes spin-anim {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n`;\n","import React, { useEffect } from \"react\";\nimport {\n NotificationContainer,\n StyledNotification,\n} from \"./notification.styled\";\nimport { Text } from \"../text/text\";\nimport CloseIcon from \"@/assets/icons/X-blue.svg\";\nimport SuccessIcon from \"@/assets/icons/success-notification.svg\";\nimport ErrorIcon from \"@/assets/icons/error-notification.svg\";\n\ninterface NotificationProps {\n type: \"success\" | \"error\" | \"warning\" | \"info\";\n message: string;\n onClose?: () => void;\n}\n\nexport function Notification({ type, message, onClose }: NotificationProps) {\n useEffect(() => {\n const id = setTimeout(() => {\n onClose && onClose();\n }, 5000);\n\n return () => {\n clearTimeout(id);\n };\n }, []);\n\n function getIcon() {\n switch (type) {\n case \"success\":\n return ;\n case \"error\":\n return ;\n }\n }\n\n function getNotificationStyle() {\n switch (type) {\n case \"error\":\n return { border: \"1px solid #FD3F3F\" };\n default:\n return {};\n }\n }\n\n return (\n \n \n {getIcon()}\n \n {message}\n \n \n \n \n );\n}\n","import styled from 'styled-components';\n\nexport const NotificationContainer = styled.div`\n position: fixed;\n top: 3%;\n right: 3%;\n`;\n\nexport const StyledNotification = styled.div`\n display: flex;\n padding: 6px 16px 6px 8px;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.secondary}`};\n background: ${({ theme }) => theme.colors.dark_blue};\n svg {\n cursor: pointer;\n }\n`;\n","import * as React from \"react\";\nconst SvgXBlue = props => ;\nexport default SvgXBlue;","import * as React from \"react\";\nconst SvgSuccessNotification = props => ;\nexport default SvgSuccessNotification;","import * as React from \"react\";\nconst SvgErrorNotification = props => ;\nexport default SvgErrorNotification;","'use client';\nimport React, { useEffect } from 'react';\nimport ReactFlow, {\n Background,\n useReactFlow,\n ReactFlowProvider,\n} from 'reactflow';\nimport { IDataFlow } from './types';\nimport theme from '@/styles/palette';\nimport ActionNode from './action.node.tsx';\nimport CenterNode from './keyval.middleware';\nimport NamespaceNode from './namespace.node.tsx';\nimport DestinationNode from './destination.node.tsx';\nimport SourceNode from './source.node.tsx';\nimport { DataFlowContainer } from './data.flow.styled';\nimport 'reactflow/dist/style.css';\nimport { DataFlowControlPanel } from './control.panel.tsx';\n\nconst backgroundColor = theme.colors.data_flow_bg;\n\nconst nodeTypes = {\n custom: CenterNode,\n namespace: NamespaceNode,\n destination: DestinationNode,\n action: ActionNode,\n source: SourceNode,\n};\n\nfunction DataFlow({ nodes, edges, ...rest }: IDataFlow) {\n const { fitView } = useReactFlow();\n\n useEffect(() => {\n setTimeout(() => {\n fitView();\n }, 100);\n }, [fitView, nodes, edges]);\n\n return (\n \n \n \n \n \n \n );\n}\n\nexport function KeyvalDataFlow(props: IDataFlow) {\n return (\n \n \n \n );\n}\n","import React, { memo } from 'react';\nimport { Handle, Position } from 'reactflow';\nimport styled from 'styled-components';\nimport { Text } from '@/design.system';\nimport { ACTION_ICONS } from '@/assets';\nimport theme from '@/styles/palette';\n\nconst ActionContainer = styled.div`\n display: flex;\n flex-direction: column;\n padding: 8px;\n border-radius: 12px;\n border: ${({ theme }) => `solid 1px ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n align-items: center;\n gap: 4px;\n min-width: 80px;\n`;\n\nconst TextWrapper = styled.div`\n max-width: 72px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst SignalIndicator = styled.span<{ backgroundColor: string }>`\n background-color: ${({ backgroundColor }) => backgroundColor};\n width: 8px;\n height: 8px;\n border-radius: 8px;\n`;\n\nconst IconWrapper = styled.div`\n width: 24px;\n height: 24px;\n`;\n\ninterface ActionNodeProps {\n data: {\n type: string;\n spec?: {\n actionName?: string;\n signals: string[];\n };\n };\n isConnectable: boolean;\n}\n\nexport default memo(({ data, isConnectable }: ActionNodeProps) => {\n const ActionIcon = ACTION_ICONS[data.type] ? ACTION_ICONS[data.type] : null;\n\n return (\n \n \n {ActionIcon && (\n \n \n \n )}\n \n \n {data?.spec?.actionName || 'Action'}\n \n \n \n {data.spec?.signals.map((monitor: string) => (\n \n ))}\n
\n \n \n );\n});\n","import React from 'react';\nimport { Handle, Position } from 'reactflow';\nimport styled, { keyframes } from 'styled-components';\nconst flickerAnimation = keyframes`\n 0% {\n opacity: 1;\n\n }\n 100% {\n opacity: 0.5;\n }\n`;\n\nconst FlickerWrapper = styled.div`\n width: 120px;\n height: 120px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 60px;\n position: relative;\n z-index: 90;\n\n &::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border-radius: 60px;\n background: #110c1f55;\n z-index: -1;\n animation: ${flickerAnimation} 1s infinite alternate;\n }\n`;\n\nconst InnerWrapper = styled.div`\n width: 100px;\n height: 100px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n border: solid 1px #3a3a3a76;\n background: #110c1f7d;\n`;\n\nconst LogoContainer = styled.div`\n width: 80px;\n height: 80px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 40px;\n border: solid 1px #3a3a3aa9;\n background: #110c1f;\n position: relative;\n z-index: 99;\n`;\n\n// TypeScript Props Interface\ninterface OdigosCenterNodeProps {\n isConnectable: boolean;\n}\n\nconst OdigosCenterNode: React.FC = ({\n isConnectable,\n}) => {\n return (\n \n \n \n {/* */}\n \n \n \n \n \n \n );\n};\n\nexport default OdigosCenterNode;\n","import React, { memo } from 'react';\nimport { Handle, Position } from 'reactflow';\nimport { styled } from 'styled-components';\nimport { Text } from '@/design.system';\nimport { Folder } from '@/assets/icons/overview';\n\nconst NamespaceContainer = styled.div`\n display: flex;\n padding: 16px;\n border-radius: 12px;\n border: ${({ theme }) => `solid 1px ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n align-items: center;\n width: 272px;\n gap: 8px;\n`;\n\nconst TextWrapper = styled.div`\n gap: 10px;\n`;\n\nexport default memo(({ data, isConnectable }: any) => {\n return (\n \n \n \n \n {data?.name}\n \n {data?.totalAppsInstrumented && (\n {`${data.totalAppsInstrumented} Apps Instrumented`}\n )}\n \n \n \n );\n});\n","import * as React from \"react\";\nconst SvgMiddleware = props => ;\nexport default SvgMiddleware;","import * as React from \"react\";\nconst SvgFolder = props => ;\nexport default SvgFolder;","import React from 'react';\nimport theme from '@/styles/palette';\nimport { Text } from '@/design.system';\nimport { styled } from 'styled-components';\nimport { Handle, Position } from 'reactflow';\nimport { MONITORING_OPTIONS } from './monitors';\n\ninterface IconWrapperProps {\n tapped?: boolean | undefined | string;\n}\n\nconst DestinationNodeContainer = styled.div`\n padding: 16px 24px;\n display: flex;\n border-radius: 12px;\n gap: 8px;\n border: ${({ theme }) => `solid 1px ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n align-items: center;\n justify-content: space-between;\n width: 430px;\n`;\n\nexport const NodeDataWrapper = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nconst TextWrapper = styled.div`\n gap: 8px;\n display: flex;\n flex-direction: column;\n width: 100%;\n`;\n\nconst IMAGE_STYLE: React.CSSProperties = {\n backgroundColor: '#fff',\n padding: 4,\n borderRadius: 10,\n};\n\nconst IconWrapper = styled.div`\n padding: 4px;\n width: 24px;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 100%;\n opacity: ${({ tapped }) => (tapped ? 1 : 0.4)};\n`;\n\nconst MonitorsListWrapper = styled.div`\n display: flex;\n gap: 8px;\n`;\n\nexport default function DestinationNode({ data, isConnectable }: any) {\n function renderMonitors() {\n return MONITORING_OPTIONS.map((monitor) => (\n \n {data?.signals?.[monitor?.type]\n ? monitor.icons.focus()\n : monitor.icons.notFocus()}\n \n ));\n }\n\n return (\n \n \n \n \n {data?.name}\n \n {data?.destination_type?.display_name}\n \n \n \n {renderMonitors()}\n \n \n );\n}\n","import * as React from \"react\";\nconst SvgLogsGrey = props => ;\nexport default SvgLogsGrey;","import * as React from \"react\";\nconst SvgLogsBlue = props => ;\nexport default SvgLogsBlue;","import * as React from \"react\";\nconst SvgChartLineGrey = props => ;\nexport default SvgChartLineGrey;","import * as React from \"react\";\nconst SvgChartLineBlue = props => ;\nexport default SvgChartLineBlue;","import * as React from \"react\";\nconst SvgTreeStructureGrey = props => ;\nexport default SvgTreeStructureGrey;","import * as React from \"react\";\nconst SvgTreeStructureBlue = props => ;\nexport default SvgTreeStructureBlue;","import Logs from '@/assets/icons/logs-grey.svg';\nimport LogsFocus from '@/assets/icons/logs-blue.svg';\nimport Metrics from '@/assets/icons/chart-line-grey.svg';\nimport MetricsFocus from '@/assets/icons/chart-line-blue.svg';\nimport Traces from '@/assets/icons/tree-structure-grey.svg';\nimport TracesFocus from '@/assets/icons/tree-structure-blue.svg';\n\nconst MONITORS = {\n LOGS: 'Logs',\n METRICS: 'Metrics',\n TRACES: 'Traces',\n};\n\nexport type MonitoringOption = {\n title: string;\n tapped: boolean;\n icons: object;\n id: number;\n};\n\nexport const MONITORING_OPTIONS = [\n {\n id: 1,\n icons: {\n notFocus: () => Logs(),\n focus: () => LogsFocus(),\n },\n title: MONITORS.LOGS,\n type: 'logs',\n tapped: true,\n },\n {\n id: 2,\n icons: {\n notFocus: () => Metrics(),\n focus: () => MetricsFocus(),\n },\n title: MONITORS.METRICS,\n type: 'metrics',\n tapped: true,\n },\n {\n id: 3,\n icons: {\n notFocus: () => Traces(),\n focus: () => TracesFocus(),\n },\n title: MONITORS.TRACES,\n type: 'traces',\n tapped: true,\n },\n];\n","import React, { memo } from 'react';\nimport Image from 'next/image';\nimport styled from 'styled-components';\nimport { Text } from '@/design.system';\nimport { LANGUAGES_LOGOS } from '@/assets';\nimport { Handle, Position } from 'reactflow';\n\nconst NamespaceContainer = styled.div`\n display: flex;\n padding: 16px;\n border-radius: 12px;\n border: ${({ theme }) => `solid 1px ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n align-items: center;\n width: 272px;\n gap: 8px;\n`;\n\nconst TextWrapper = styled.div`\n gap: 4px;\n display: flex;\n flex-direction: column;\n`;\n\nconst ImageWrapper = styled.div`\n padding: 4px;\n background-color: #fff;\n border-radius: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\ninterface NamespaceNodeProps {\n data: {\n namespace?: string;\n name?: string;\n languages?: { language: keyof typeof LANGUAGES_LOGOS }[];\n };\n isConnectable: boolean;\n}\n\nexport default memo(({ data, isConnectable }: NamespaceNodeProps) => {\n const languageKey = data?.languages?.[0]?.language || 'default';\n const lan = LANGUAGES_LOGOS[languageKey];\n\n return (\n \n \n \n \n \n {data.namespace}\n \n {data?.name}\n \n \n \n \n );\n});\n","import styled from 'styled-components';\n\nexport const DataFlowContainer = styled.div`\n width: 100%;\n height: 100%;\n`;\n\nexport const ControllerWrapper = styled.div`\n button {\n display: flex;\n padding: 8px;\n align-items: center;\n gap: 10px;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n background: #0e1c28 !important;\n margin-bottom: 8px;\n }\n\n .react-flow__controls button path {\n fill: #fff;\n }\n`;\n","// Import React and necessary components\nimport React, { useEffect, useState } from 'react';\nimport 'reactflow/dist/style.css';\nimport { Controls } from 'reactflow';\nimport theme from '@/styles/palette';\nimport styled from 'styled-components';\nimport { Text } from '../text/text.tsx';\nimport Open from '@/assets/icons/expand-arrow.svg';\nimport { ControllerWrapper } from './data.flow.styled.tsx';\n// Define styled components\nconst ControllerPanelWrapper = styled.div`\n position: absolute;\n z-index: 999;\n top: 15px;\n left: 60px;\n display: flex;\n flex-direction: column;\n gap: 14px;\n background-color: ${theme.colors.dark};\n padding: 10px;\n border-radius: 8px;\n border: 1px solid ${theme.colors.blue_grey};\n button {\n display: flex;\n padding: 8px;\n align-items: center;\n gap: 10px;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n background: #0e1c28 !important;\n margin-bottom: 8px;\n }\n\n .react-flow__controls button path {\n fill: #fff;\n }\n`;\n\nconst MonitorItem = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 14px;\n`;\n\nconst MonitorIndicator = styled.span<{ color: string }>`\n background-color: ${({ color }) => color};\n width: 10px;\n height: 10px;\n border-radius: 8px;\n margin-right: 6px;\n`;\n\nconst TitleWrapper = styled.div`\n display: flex;\n gap: 10px;\n cursor: pointer;\n`;\n\n// TypeScript type for monitor items\ninterface MonitorItem {\n name: string;\n color: string;\n}\n\nexport function DataFlowControlPanel() {\n const [isOpen, setOpen] = useState(true);\n\n useEffect(() => {\n setTimeout(() => {\n setOpen(false);\n }, 7000);\n }, []);\n\n const MONITORS: MonitorItem[] = [\n {\n name: 'Traces',\n color: theme.colors.traces,\n },\n {\n name: 'Logs',\n color: theme.colors.logs,\n },\n {\n name: 'Metrics',\n color: theme.colors.metrics,\n },\n ];\n\n return (\n <>\n \n setOpen(!isOpen)}>\n \n Supported Signals\n \n \n \n {isOpen && (\n \n {MONITORS.map((monitor) => (\n \n \n \n {monitor.name}\n \n
\n ))}\n \n )}\n \n \n \n \n >\n );\n}\n","import React from \"react\";\nimport { styled } from \"styled-components\";\nimport { Text } from \"../text/text\";\nimport theme from \"@/styles/palette\";\n\nconst DangerZoneWrapper = styled.div`\n padding: 10px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n border-radius: 8px;\n width: fit-content;\n width: 344px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n`;\n\nconst DangerButtonWrapper = styled.div`\n width: 100%;\n display: flex;\n justify-content: flex-end;\n :hover {\n background: ${({ theme }) => theme.colors.error};\n p {\n color: #fff !important;\n }\n }\n`;\n\nconst DangerButton = styled.button`\n padding: 8px 12px;\n border-radius: 4px;\n background: transparent;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n cursor: pointer !important;\n`;\n\ninterface DangerZoneProps {\n title: string;\n subTitle: string;\n btnText: string;\n onClick: () => void;\n}\n\nexport function DangerZone({\n title,\n subTitle,\n btnText,\n onClick,\n}: DangerZoneProps) {\n return (\n <>\n \n \n {title}\n \n {subTitle}\n \n \n \n {btnText}\n \n \n \n \n >\n );\n}\n","import React, { useCallback, useEffect, useRef } from 'react';\nimport PortalModal from './portal.modal';\nimport * as S from './modal.styled';\nimport { Props } from './types';\nimport { Text } from '../text/text';\nimport theme from '@/styles/palette';\nimport { useOnClickOutside } from '@/hooks';\nimport CloseIcon from '@/assets/icons/close-modal.svg';\nimport { Button } from '../button/button';\nimport { Link } from '../link/link';\nexport function Modal({ children, closeModal, config }: Props) {\n const modalRef = useRef(null);\n\n // handle what happens on click outside of modal\n const handleClickOutside = () => closeModal();\n\n // handle what happens on key press\n const handleKeyPress = useCallback((event: KeyboardEvent) => {\n if (event.key === 'Escape') closeModal();\n }, []);\n\n useOnClickOutside(modalRef, handleClickOutside);\n\n useEffect(() => {\n // attach the event listener if the modal is shown\n document.addEventListener('keydown', handleKeyPress);\n // remove the event listener\n return () => {\n document.removeEventListener('keydown', handleKeyPress);\n };\n }, [handleKeyPress]);\n\n return (\n <>\n \n \n \n {config.showHeader && (\n \n \n {config.title}\n \n \n )}\n\n \n \n \n\n {children}\n {config?.footer && (\n \n {config.footer.link && (\n \n )}\n {config.footer.secondaryBtnText && (\n \n )}\n \n \n )}\n \n \n \n >\n );\n}\n","import { useState, useLayoutEffect } from \"react\";\nimport { createPortal } from \"react-dom\";\n\ninterface Props {\n children: JSX.Element;\n wrapperId: string;\n}\n\nconst PortalModal = ({ children, wrapperId }: Props) => {\n const [portalElement, setPortalElement] = useState(null);\n\n useLayoutEffect(() => {\n let element = document.getElementById(wrapperId) as HTMLElement;\n let portalCreated = false;\n // if element is not found with wrapperId or wrapperId is not provided,\n // create and append to body\n if (!element) {\n element = createWrapperAndAppendToBody(wrapperId);\n portalCreated = true;\n }\n\n setPortalElement(element);\n\n // cleaning up the portal element\n return () => {\n // delete the programatically created element\n if (portalCreated && element.parentNode) {\n element.parentNode.removeChild(element);\n }\n };\n }, [wrapperId]);\n\n const createWrapperAndAppendToBody = (elementId: string) => {\n const element = document.createElement(\"div\");\n element.setAttribute(\"id\", elementId);\n document.body.appendChild(element);\n return element;\n };\n\n // portalElement state will be null on the very first render.\n if (!portalElement) return null;\n\n return createPortal(children, portalElement);\n};\n\nexport default PortalModal;\n","import styled, { keyframes } from 'styled-components';\nimport { ModalPositionX, ModalPositionY } from './types';\n\ninterface PropsOverlay {\n showOverlay: boolean;\n positionX: ModalPositionX;\n positionY: ModalPositionY;\n}\ninterface PropsModalContainer {\n padding: string;\n}\n\nconst fadeIn = keyframes`\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n`;\n\nexport const ModalButtonsContainer = styled.div`\n padding: 40px;\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n gap: 20px;\n`;\nexport const ModalButtonPrimary = styled.button`\n display: block;\n padding: 10px 30px;\n border-radius: 3px;\n color: ${({ theme }) => theme.colors.btnText};\n border: 1px solid ${({ theme }) => theme.colors.main};\n background-color: ${({ theme }) => theme.colors.main};\n font-family: 'Robot', sans-serif;\n font-weight: 500;\n transition: 0.3s ease all;\n\n &:hover {\n background-color: ${({ theme }) => theme.colors.shadowMain};\n }\n`;\nexport const ModalButtonSecondary = styled.button`\n display: block;\n padding: 10px 30px;\n border-radius: 3px;\n color: ${({ theme }) => theme.colors.main};\n border: 1px solid ${({ theme }) => theme.colors.main};\n background-color: transparent;\n font-family: 'Robot', sans-serif;\n font-weight: 500;\n transition: 0.3s ease all;\n\n &:hover {\n background-color: ${({ theme }) => theme.colors.shadowMain};\n color: ${({ theme }) => theme.colors.btnText};\n }\n`;\n\nexport const Overlay = styled.div`\n width: 100vw;\n height: 100vh;\n z-index: 9999;\n position: fixed;\n top: 0;\n left: 0;\n background-color: ${(props) =>\n props.showOverlay\n ? 'rgba(255, 255, 255, 0.1)'\n : 'rgba(255, 255, 255, 0.1)'};\n display: flex;\n align-items: center;\n justify-content: ${(props) => (props.positionX ? props.positionX : 'center')};\n align-items: ${(props) => (props.positionY ? props.positionY : 'center')};\n padding: 40px;\n\n @media (prefers-reduced-motion: no-preference) {\n animation-name: ${fadeIn};\n animation-fill-mode: backwards;\n }\n`;\nexport const ModalContainer = styled.div`\n min-width: 500px;\n min-height: 50px;\n /* background-color: #ffffff; */\n position: relative;\n /* border-radius: 8px; */\n border-radius: 12px;\n border: 0.95px solid var(--dark-mode-dark-3, #203548);\n background: var(--dark-mode-dark-2, #0e1c28);\n\n padding: ${(props) => (props.padding ? props.padding : '20px')};\n`;\nexport const ModalHeader = styled.header`\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-bottom: 20px;\n`;\n\nexport const Close = styled.div`\n position: absolute;\n top: 20px;\n right: 15px;\n border: none;\n background-color: transparent;\n transition: 0.3s ease all;\n border-radius: 3px;\n color: '#d1345b';\n cursor: pointer;\n\n svg {\n width: 24px;\n height: 24px;\n fill: #fff;\n }\n`;\n\nexport const PrimaryButton = styled.button`\n background-color: #ededed8b;\n border: 1px solid #d4d2d2;\n width: 100%;\n height: 36px;\n border-radius: 8px;\n cursor: pointer;\n\n &:hover {\n background-color: #ededed;\n }\n`;\n\nexport const Content = styled.div`\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n color: ${({ theme }) => theme.text};\n`;\nexport const ModalFooter = styled.footer`\n width: 100%;\n display: flex;\n gap: 1rem;\n align-items: center;\n justify-content: flex-end;\n margin-top: 20px;\n padding-top: 20px;\n`;\n","import * as React from \"react\";\nconst SvgCloseModal = props => ;\nexport default SvgCloseModal;","import theme from '@/styles/palette';\nimport React, { ReactNode } from 'react';\nimport StyledComponentsRegistry from './registry';\nimport { ThemeProvider } from 'styled-components';\ninterface ThemeProviderWrapperProps {\n children: ReactNode; // Add children prop with ReactNode type\n}\n\nexport const ThemeProviderWrapper: React.FC = ({\n children,\n}) => {\n return (\n \n {children}\n \n );\n};\n","'use client';\n\nimport React, { useState } from 'react';\nimport { useServerInsertedHTML } from 'next/navigation';\nimport { ServerStyleSheet, StyleSheetManager } from 'styled-components';\n\nexport default function StyledComponentsRegistry({\n children,\n}: {\n children: React.ReactNode;\n}) {\n // Only create stylesheet once with lazy initial state\n // x-ref: https://reactjs.org/docs/hooks-reference.html#lazy-initial-state\n const [styledComponentsStyleSheet] = useState(() => new ServerStyleSheet());\n\n useServerInsertedHTML(() => {\n const styles = styledComponentsStyleSheet.getStyleElement();\n styledComponentsStyleSheet.instance.clearTag();\n return <>{styles}>;\n });\n\n if (typeof window !== 'undefined') return <>{children}>;\n\n return (\n \n {children}\n \n );\n}\n","import React from \"react\";\nimport StepItem from \"./step.item\";\nimport { StepsContainer } from \"./steps.styled\";\n\ntype StepListProps = {\n data?: Array | null;\n};\n\nexport function Steps({ data }: StepListProps) {\n function renderSteps() {\n return data?.map(({ title, status }: any, index) => (\n \n ));\n }\n\n return {renderSteps()};\n}\n","import { FloatBox } from \"@/design.system/float.box/float.box\";\nimport { Text } from \"@/design.system/text/text\";\nimport React from \"react\";\nimport {\n StepItemTextWrapper,\n StepItemBorder,\n StepItemWrapper,\n FloatingBoxTextWrapper,\n} from \"./steps.styled\";\nimport Done from \"@/assets/icons/checked.svg\";\n\ntype StepItemProps = {\n title: string;\n index: number;\n status: string;\n isLast: boolean;\n};\n\nenum Status {\n Done = \"done\",\n Active = \"active\",\n Disabled = \"disabled\",\n}\n\nexport default function StepItem({\n title,\n index,\n status,\n isLast,\n}: StepItemProps) {\n return (\n \n \n {status === Status.Done ? (\n \n ) : (\n \n {index}\n \n )}\n \n \n {title}\n \n {!isLast && }\n \n );\n}\n","import styled from \"styled-components\";\n\ninterface DisabledProp {\n disabled: boolean;\n}\nexport const StepsContainer = styled.div`\n display: flex;\n`;\n\nexport const StepItemWrapper = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const FloatingBoxTextWrapper = styled.div`\n opacity: ${({ disabled }) => (disabled ? \"0.4\" : \"1\")};\n`;\n\nexport const StepItemTextWrapper = styled(FloatingBoxTextWrapper)`\n margin: 0 8px;\n`;\n\nexport const StepItemBorder = styled.div`\n width: 54px;\n height: 1px;\n background-color: #8b92a5;\n margin-top: 2px;\n margin-right: 8px;\n`;\n","import * as React from \"react\";\nconst SvgChecked = props => ;\nexport default SvgChecked;","import React from 'react';\nimport styled from 'styled-components';\nimport { Text } from '..';\n\nconst DividerContainer = styled.div<{ margin: string }>`\n width: 100%;\n display: flex;\n align-items: center;\n gap: 23px;\n margin: ${({ margin }) => margin};\n`;\n\nconst DividerLine = styled.div`\n width: 100%;\n border-top: 1px solid #8b92a5;\n`;\n\nexport function Divider({\n margin = '32px 0',\n label = 'or',\n}: {\n margin?: string;\n label?: string;\n}) {\n return (\n \n \n {label}\n \n \n );\n}\n","import React, { useEffect } from 'react';\nimport styled from 'styled-components';\nimport { Text } from '..';\n\nconst NoteContainer = styled.div`\n padding: 16px;\n display: flex;\n justify-content: flex-start !important;\n border: 1px solid ${({ theme }) => theme.colors.dark_blue};\n border-radius: 12px;\n`;\n\nconst TextContainer = styled.div`\n line-height: 1.6;\n code {\n background-color: ${({ theme }) => theme.colors.dark_blue};\n padding: 2px 4px;\n border-radius: 6px;\n }\n`;\n\nexport function Note({ text, code }: { text: string; code?: string[] }) {\n useEffect(() => {\n buildNote();\n }, []);\n\n function buildNote() {\n let value = text;\n if (code) {\n code.forEach((c, index) => {\n value = value.replace(`$code${index}`, `${c}
`);\n });\n }\n\n return (\n Note: ${value}`,\n }}\n >\n );\n }\n\n return (\n \n {buildNote()}\n \n );\n}\n","'use client';\n\nimport React from 'react';\nimport styled from 'styled-components';\nimport { Text } from '..';\nimport { Folders } from '@/assets/icons';\n\nconst SegmentedControlsWrapper = styled.div`\n display: inline-flex;\n justify-content: space-between;\n border-radius: 10px;\n margin: auto;\n overflow: hidden;\n position: relative;\n`;\nconst SegmentedControlsOption = styled.div`\n color: ${({ theme }) => theme.colors.white};\n padding: 8px 12px;\n position: relative;\n text-align: center;\n display: flex;\n gap: 8px;\n align-items: center;\n justify-content: center;\n z-index: 1;\n border: ${({ theme }) => `1px solid ${theme.colors.secondary}`};\n background-color: ${({ theme }) => theme.colors.dark};\n filter: brightness(50%);\n &.active {\n filter: brightness(100%);\n }\n &:first-child {\n border-top-left-radius: 10px;\n border-bottom-left-radius: 10px;\n padding-left: 16px;\n }\n &:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n padding-right: 16px;\n }\n label {\n font-family: ${({ theme }) => theme.font_family.primary};\n }\n`;\n\nconst SegmentedControlsInput = styled.input`\n opacity: 0;\n margin: 0;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n position: absolute;\n width: 100%;\n cursor: pointer;\n height: 100%;\n`;\n\nexport function SegmentedControls({\n options,\n selected,\n onChange,\n title,\n}: {\n options: { label: string; id: string }[];\n selected: string;\n onChange: (selected: string) => void;\n title?: string;\n}) {\n return (\n \n {title && (\n \n {title}\n \n )}\n \n {options?.map((option) => (\n \n \n onChange(option.id)}\n checked={option.id === selected}\n />\n {option.label}\n \n ))}\n \n
\n );\n}\n","import React, { useState, KeyboardEvent } from 'react';\nimport { Text } from '../text/text';\nimport theme from '@/styles/palette';\nimport styled from 'styled-components';\nimport { Input as BaseInput } from '../input/input';\nimport { Button as BaseButton } from '../button/button';\nimport { Tooltip } from '../tooltip';\n\ninterface MultiInputProps {\n initialList?: string[];\n onListChange?: (list: string[]) => void;\n placeholder?: string;\n limit?: number;\n title?: string;\n tooltip?: string;\n}\n\nexport const MultiInput: React.FC = ({\n initialList = [],\n onListChange,\n placeholder = 'Add item to list',\n title,\n tooltip,\n}) => {\n const [inputValue, setInputValue] = useState('');\n const [list, setList] = useState(initialList);\n\n const handleInputChange = (e: string) => {\n setInputValue(e);\n };\n\n const handleAddToList = () => {\n if (inputValue.trim() !== '') {\n const newList = [...list, inputValue];\n setList(newList);\n setInputValue('');\n onListChange && onListChange(newList);\n }\n };\n\n const handleRemoveFromList = (indexToRemove: number) => {\n const newList = list.filter((_, index) => index !== indexToRemove);\n setList(newList);\n onListChange && onListChange(newList);\n };\n\n return (\n <>\n {title && (\n \n \n \n {title}\n \n \n \n )}\n \n \n {list.map((item, index) => (\n handleRemoveFromList(index)}>\n \n {item}\n \n \n \n ))}\n \n \n handleInputChange(e)}\n />\n \n \n \n >\n );\n};\n\n// Styled components\nconst Container = styled.div`\n width: 100%;\n`;\n\nconst ListContainer = styled.div`\n display: flex;\n width: 110%;\n flex-wrap: wrap;\n`;\n\nconst ListItem = styled.div`\n cursor: pointer;\n padding: 2px 8px;\n margin: 3px;\n border-radius: 5px;\n background: ${theme.colors.light_grey};\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 5px;\n min-height: 30px;\n`;\n\nconst InputContainer = styled.div`\n display: flex;\n gap: 10px;\n width: 100%;\n height: 37px;\n`;\n\nconst Input = styled(BaseInput)`\n width: 100%;\n`;\n\nconst Button = styled(BaseButton)`\n margin-left: 10px;\n`;\n\nconst TitleWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n`;\n","import React, { useState } from 'react';\nimport styled from 'styled-components';\nimport theme from '@/styles/palette';\nimport { Tooltip } from '../tooltip';\nimport { Text } from '../text/text';\nimport { Trash } from '@/assets/icons';\n\nexport interface KeyValue {\n id: number;\n key: string;\n value: string;\n}\n\nexport const Container = styled.div`\n width: 100%;\n`;\n\nexport const TitleWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n`;\n\nconst Table = styled.table`\n border: solid 1px ${theme.text.grey};\n text-align: center;\n border-spacing: 0;\n border-radius: 8px;\n width: 100%;\n`;\n\nexport const Th = styled.th`\n padding: 4px;\n`;\n\nexport const Td = styled.td<{ right?: boolean; left?: boolean }>`\n padding: 8px 0;\n\n border-top: solid 1px ${theme.text.grey};\n border-right: ${({ right }) =>\n right ? `solid 1px ${theme.text.grey}` : 'none'};\n border-left: ${({ left }) =>\n left ? `solid 1px ${theme.text.grey}` : 'none'};\n`;\n\nexport const Input = styled.input`\n background: transparent;\n border: none;\n width: 94%;\n\n outline: none;\n color: ${theme.text.white};\n`;\n\nexport const AddRowButton = styled.td`\n text-align: center;\n border-top: solid 1px ${theme.text.grey};\n padding: 4px;\n cursor: pointer;\n`;\n\nexport interface KeyValueTableProps {\n keyValues: KeyValue[];\n setKeyValues: (keyValues: KeyValue[]) => void;\n title?: string;\n titleKey?: string;\n titleValue?: string;\n tooltip?: string;\n titleButton?: string;\n required?: boolean;\n}\n\nexport const KeyValueTable: React.FC = ({\n keyValues,\n setKeyValues,\n title,\n titleKey,\n titleValue,\n titleButton,\n tooltip,\n required,\n}: KeyValueTableProps) => {\n const [nextId, setNextId] = useState(1);\n\n const addRow = () => {\n const newKeyValue: KeyValue = {\n id: nextId,\n key: '',\n value: '',\n };\n setKeyValues([...keyValues, newKeyValue]);\n setNextId(nextId + 1);\n };\n\n const deleteRow = (id: number) => {\n const value = keyValues.filter((kv) => kv.id !== id);\n setKeyValues(value);\n };\n\n const updateKey = (id: number, newKey: string) => {\n const updatedKeyValues = keyValues.map((kv) =>\n kv.id === id ? { ...kv, key: newKey } : kv\n );\n setKeyValues(updatedKeyValues);\n };\n\n const updateValue = (id: number, newValue: string) => {\n const updatedKeyValues = keyValues.map((kv) =>\n kv.id === id ? { ...kv, value: newValue } : kv\n );\n setKeyValues(updatedKeyValues);\n };\n\n return (\n \n {title && (\n \n \n \n \n {title}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n \n );\n};\n","import React from 'react';\nimport styled from 'styled-components';\nimport { Text } from '../text/text';\nimport { Tooltip } from '../tooltip';\nimport theme from '@/styles/palette';\n// Define the props for the TextArea component\nexport interface TextAreaProps {\n placeholder?: string;\n value?: string;\n onChange: (e: React.ChangeEvent) => void;\n rows?: number;\n cols?: number;\n label?: string;\n tooltip?: string;\n required?: boolean;\n}\n\n// Styled textarea\nconst StyledTextArea = styled.textarea<{ active?: boolean }>`\n width: 100%;\n padding: 8px 12px;\n border-radius: 8px;\n box-sizing: border-box;\n resize: vertical;\n\n outline: none;\n color: ${({ theme }) => theme.text.white};\n font-family: ${theme.font_family.primary};\n background-color: ${({ theme }) => theme.colors.light_dark};\n border: ${({ theme, active }) =>\n `1px solid ${active ? theme.text.grey : theme.colors.blue_grey}`};\n &:hover {\n border: ${({ theme }) => `solid 1px ${theme.text.grey}`};\n }\n`;\nconst LabelWrapper = styled.div`\n margin-bottom: 8px;\n text-align: start;\n`;\n\nexport const TextArea: React.FC = ({\n placeholder,\n value,\n onChange,\n rows = 4,\n cols = 50,\n tooltip,\n label,\n required,\n}) => {\n return (\n <>\n {label && (\n \n \n \n \n {label}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n >\n );\n};\n","import React, { useEffect, useRef, useState } from 'react';\nimport styled from 'styled-components';\nimport theme from '@/styles/palette';\nimport { Tooltip } from '../tooltip';\nimport { Text } from '../text/text';\nimport { Trash } from '@/assets/icons';\n\nexport const Container = styled.div`\n width: 100%;\n`;\n\nexport const TitleWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n`;\n\nexport const Table = styled.table`\n border: solid 1px ${theme.text.grey};\n text-align: center;\n border-spacing: 0;\n border-radius: 8px;\n width: 100%;\n`;\n\nexport const Th = styled.th`\n padding: 4px;\n`;\n\nexport const Td = styled.td<{ right?: boolean; left?: boolean }>`\n padding: 8px 0;\n\n border-bottom: solid 1px ${theme.text.grey};\n border-right: ${({ right }) =>\n right ? `solid 1px ${theme.text.grey}` : 'none'};\n border-left: ${({ left }) =>\n left ? `solid 1px ${theme.text.grey}` : 'none'};\n`;\n\nexport const Input = styled.input`\n background: transparent;\n border: none;\n width: 94%;\n\n outline: none;\n color: ${theme.text.white};\n`;\n\nexport const AddRowButton = styled.td`\n text-align: center;\n padding: 4px;\n cursor: pointer;\n`;\n\nexport interface MultiInputTableProps {\n values: string[];\n title?: string;\n tooltip?: string;\n onValuesChange: (newValues: string[]) => void;\n required?: boolean;\n placeholder?: string;\n}\n\nexport const MultiInputTable: React.FC = ({\n values,\n title,\n tooltip,\n onValuesChange,\n required,\n placeholder,\n}) => {\n const addRow = () => {\n onValuesChange([...values, '']);\n };\n\n const deleteRow = (index: number) => {\n const updatedValues = values.filter((_, i) => i !== index);\n onValuesChange(updatedValues);\n };\n\n const updateValue = (index: number, newValue: string) => {\n const updatedValues = values.map((value, i) =>\n i === index ? newValue : value\n );\n onValuesChange(updatedValues);\n };\n\n return (\n \n {title && (\n \n \n \n \n {title}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n \n );\n};\n","import React from 'react';\nimport { ActionItem } from '../action.item';\n\n// Define the type for individual action items\ninterface ActionItem {\n label: string;\n onClick: () => void;\n id: string;\n selected?: boolean;\n disabled?: boolean;\n}\n\n// Define the type for the groups of action items, including any conditional rendering logic\ninterface ActionGroup {\n label: string;\n subTitle: string;\n items: ActionItem[];\n condition?: boolean; // Optional condition to determine if the group should be rendered\n}\n\n// Props for the container component that will render the list of action groups\ninterface ActionsListProps {\n actionGroups: ActionGroup[];\n}\n\nexport const ActionsGroup: React.FC = ({ actionGroups }) => {\n return (\n <>\n {actionGroups.map(\n (group, index) =>\n group.condition && \n )}\n >\n );\n};\n","import { useOnClickOutside } from '@/hooks';\nimport React, { useRef, useState } from 'react';\nimport styled from 'styled-components';\nimport { Text } from '../text/text';\nimport { Check, Expand } from '@/assets';\n\n// Styled components\nconst Label = styled.label`\n cursor: pointer;\n display: flex;\n gap: 4px;\n p {\n color: ${({ theme }) => theme.colors.light_grey};\n &:hover {\n color: ${({ theme }) => theme.colors.white};\n }\n }\n`;\n\nconst Popup = styled.div<{ isOpen: boolean }>`\n display: ${(props: { isOpen: boolean }) => (props.isOpen ? 'block' : 'none')};\n position: absolute;\n right: 0px;\n box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);\n z-index: 9999;\n flex-direction: column;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n margin-top: 5px;\n`;\n\nconst PopupItem = styled.div<{ disabled: boolean }>`\n display: flex;\n padding: 7px 12px;\n gap: 4px;\n border-top: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n align-items: center;\n opacity: ${({ disabled }) => (disabled ? 0.5 : 1)};\n pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};\n cursor: pointer;\n p {\n cursor: pointer !important;\n }\n\n &:hover {\n background: ${({ theme }) => theme.colors.light_dark};\n }\n`;\n\ninterface Item {\n label: string;\n onClick: () => void;\n id: string;\n selected?: boolean;\n disabled?: boolean;\n}\n\ninterface ActionItemProps {\n label: string;\n subTitle: string;\n items: Item[];\n}\n\nexport const ActionItem: React.FC = ({\n label,\n items,\n subTitle,\n}) => {\n const [isOpen, setIsOpen] = useState(false);\n const ref = useRef(null);\n useOnClickOutside(ref, () => setIsOpen(false));\n\n return (\n \n
\n
\n \n \n {subTitle}\n \n
\n {items.map((item, index) => (\n \n {item.selected ? : }\n \n {item.label}\n \n \n ))}\n \n
\n );\n};\n","import React from 'react';\nimport styled from 'styled-components';\n\nimport theme from '@/styles/palette';\nimport { Expand } from '@/assets';\n\ntype PaginationProps = {\n total: number;\n itemsPerPage: number;\n currentPage: number;\n onPageChange: (page: number) => void;\n};\n\nconst PaginationContainer = styled.div`\n display: flex;\n justify-content: center;\n padding: 20px;\n gap: 2px;\n`;\n\nconst PageButton = styled.button<{\n isCurrentPage?: boolean;\n isDisabled?: boolean;\n}>`\n background-color: ${(props) =>\n props.isCurrentPage ? theme.colors.blue_grey : 'transparent'};\n color: ${(props) => (props.isDisabled ? theme.text.grey : theme.text.white)};\n border: none;\n border-radius: 4px;\n padding: 4px 8px;\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 4px;\n\n &:disabled {\n cursor: default;\n }\n\n &:hover {\n background-color: ${theme.colors.blue_grey};\n }\n`;\n\nexport const Pagination: React.FC = ({\n total,\n itemsPerPage,\n currentPage,\n onPageChange,\n}) => {\n const pageCount = Math.ceil(total / itemsPerPage);\n\n return (\n \n onPageChange(currentPage - 1)}\n disabled={currentPage === 1}\n isDisabled={currentPage === 1}\n >\n \n Previous\n \n {new Array(pageCount).fill(0).map((_, index) => (\n onPageChange(index + 1)}\n isCurrentPage={currentPage === index + 1}\n >\n {index + 1}\n \n ))}\n onPageChange(currentPage + 1)}\n disabled={currentPage === pageCount}\n isDisabled={currentPage === pageCount}\n >\n Next\n \n \n \n );\n};\n","import theme from '@/styles/palette';\nimport styled from 'styled-components';\nimport React, { useState } from 'react';\nimport { Pagination } from '../pagination';\n\n// Updated TableProps to be generic\ntype TableProps = {\n data: T[];\n renderTableHeader: () => JSX.Element;\n renderTableRows: (item: T, index: number) => JSX.Element;\n renderEmptyResult: () => JSX.Element;\n onPaginate?: (pageNumber: number) => void;\n};\n\nconst StyledTable = styled.table`\n width: 100%;\n background-color: ${theme.colors.dark};\n border: 1px solid ${theme.colors.blue_grey};\n border-radius: 6px;\n border-collapse: separate;\n border-spacing: 0;\n`;\n\nconst StyledTbody = styled.tbody``;\n\n// Applying generic type T to the Table component\nexport const Table = ({\n data,\n onPaginate,\n renderTableRows,\n renderTableHeader,\n renderEmptyResult,\n}: TableProps) => {\n const [currentPage, setCurrentPage] = useState(1);\n const [itemsPerPage, setItemsPerPage] = useState(10);\n\n const indexOfLastItem = currentPage * itemsPerPage;\n const indexOfFirstItem = indexOfLastItem - itemsPerPage;\n const currentItems = data.slice(indexOfFirstItem, indexOfLastItem);\n\n const handlePageChange = (pageNumber: number) => {\n setCurrentPage(pageNumber);\n if (onPaginate) {\n onPaginate(pageNumber);\n }\n };\n\n return (\n <>\n \n {renderTableHeader()}\n \n {currentItems.map((item, index) => renderTableRows(item, index))}\n \n \n\n {data.length === 0 ? (\n renderEmptyResult()\n ) : data.length > 10 ? (\n \n ) : null}\n >\n );\n};\n","import React, { useState } from 'react';\nimport YamlEditor from '@focus-reactive/react-yaml';\nimport styled from 'styled-components';\nimport theme from '@/styles/palette';\nimport { Copied, Copy } from '@/assets';\n\nconst Container = styled.div`\n position: relative;\n background-color: ${theme.colors.blue_grey};\n border-radius: 8px;\n padding: 4px;\n\n div {\n color: #f5b175;\n }\n .ͼb {\n color: #64a8fd;\n }\n .ͼm {\n color: ${theme.colors.white};\n }\n .ͼd {\n color: #f5b175;\n }\n .ͼc {\n color: #f5b175;\n }\n .cm-gutters {\n display: none;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n }\n`;\n\nconst EditorOverlay = styled.div`\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 10; // Ensure this is higher than the editor's z-index\n`;\n\nconst CopyIconWrapper = styled.div`\n background-color: ${theme.colors.dark};\n z-index: 999;\n border-radius: 4px;\n padding: 4px;\n position: absolute;\n top: 5px;\n right: 5px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n pointer-events: all;\n`;\n\nexport const YMLEditor = ({ data }: { data: any }) => {\n const [isCopied, setIsCopied] = useState(false);\n\n const handleChange = () => {};\n\n const handleCopy = () => {\n navigator.clipboard\n .writeText(JSON.stringify(data, null, 2))\n .then(() => {\n setIsCopied(true);\n setTimeout(() => {\n setIsCopied(false);\n }, 3000);\n })\n .catch((err) => console.error('Error copying YAML to clipboard: ', err));\n };\n return (\n <>\n \n \n {isCopied ? (\n \n ) : (\n \n )}\n \n\n \n \n \n
\n \n >\n );\n};\n","const sources = [\n {\n name: 'adservice',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'server',\n language: 'java',\n },\n ],\n },\n {\n name: 'cartservice',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'server',\n language: 'dotnet',\n },\n ],\n },\n {\n name: 'checkoutservice',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'server',\n language: 'go',\n },\n ],\n },\n {\n name: 'coupon',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'coupon',\n language: 'javascript',\n },\n ],\n },\n];\n\nconst destinations = [\n {\n id: 'odigos.io.dest.elasticsearch-6qklw',\n name: 'Elasticsearch',\n type: 'elasticsearch',\n signals: {\n traces: true,\n metrics: false,\n logs: true,\n },\n fields: {\n ELASTICSEARCH_CA_PEM:\n '-----BEGIN CERTIF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P\\nIrj44yKh8na1xqPEHEvryj9LnKL+yCpQILj5L+jIHVopTmQWyLQ=\\n-----END CERTIFICATE-----',\n ELASTICSEARCH_PASSWORD: 'Elasticsearch',\n ELASTICSEARCH_URL: 'Elasticsearch',\n ELASTICSEARCH_USERNAME: 'Elasticsearch',\n ES_LOGS_INDEX: 'Elasticsearch',\n ES_TRACES_INDEX: 'Elasticsearch',\n },\n destination_type: {\n type: 'elasticsearch',\n display_name: 'Elasticsearch',\n image_url: 'https:/d15jtxgb40qetw.cloudfront.net/elasticsearch.svg',\n supported_signals: {\n traces: {\n supported: true,\n },\n metrics: {\n supported: false,\n },\n logs: {\n supported: true,\n },\n },\n },\n },\n {\n id: 'odigos.io.dest.grafanacloudprometheus-2mcbr',\n name: 'Prometheus',\n type: 'grafanacloudprometheus',\n signals: {\n traces: false,\n metrics: true,\n logs: false,\n },\n fields: {\n GRAFANA_CLOUD_PROMETHEUS_PASSWORD: 'Prometheus',\n GRAFANA_CLOUD_PROMETHEUS_RW_ENDPOINT: 'Prometheus',\n GRAFANA_CLOUD_PROMETHEUS_USERNAME: 'Prometheus',\n PROMETHEUS_RESOURCE_ATTRIBUTES_LABELS:\n '[\"k8s.container.name\",\"k8s.pod.name\",\"k8s.namespace.name\",\"Prometheus\"]',\n PROMETHEUS_RESOURCE_EXTERNAL_LABELS: '{\"dsfd\":\"fdsfs\"}',\n },\n destination_type: {\n type: 'grafanacloudprometheus',\n display_name: 'Grafana Cloud Prometheus',\n image_url: 'https:/d15jtxgb40qetw.cloudfront.net/grafana.svg',\n supported_signals: {\n traces: {\n supported: false,\n },\n metrics: {\n supported: true,\n },\n logs: {\n supported: false,\n },\n },\n },\n },\n {\n id: 'odigos.io.dest.s3-gk7bn',\n name: 'aws',\n type: 's3',\n signals: {\n traces: true,\n metrics: true,\n logs: true,\n },\n fields: {\n S3_BUCKET: 'aws',\n S3_MARSHALER: 'otlp_proto',\n S3_PARTITION: 'minute',\n S3_REGION: 'aws',\n },\n destination_type: {\n type: 's3',\n display_name: 'AWS S3',\n image_url: 'https:/d15jtxgb40qetw.cloudfront.net/s3.svg',\n supported_signals: {\n traces: {\n supported: true,\n },\n metrics: {\n supported: true,\n },\n logs: {\n supported: true,\n },\n },\n },\n },\n];\n\nconst action = [\n {\n id: 'aci-f6c9f',\n type: 'AddClusterInfo',\n spec: {\n actionName: 'This is tetst test Cluster Attributes',\n notes:\n 'Actions are a way to modify the OpenTelemetry data recorded by Odigos Sources, before it is exported to your Odigos Destinations.',\n signals: ['METRICS', 'TRACES'],\n clusterAttributes: [\n {\n attributeName: 'Attributes',\n attributeStringValue: 'Attributes',\n },\n ],\n },\n },\n {\n id: 'aci-hfgcb',\n type: 'DeleteAttribute',\n spec: {\n actionName: 'Link',\n notes: 'Link to docs',\n signals: ['LOGS', 'METRICS', 'TRACES'],\n clusterAttributes: [\n {\n attributeName: 'sadsad',\n attributeStringValue: 'sadsa',\n },\n {\n attributeName: 'asdsa',\n attributeStringValue: 'asdasd',\n },\n ],\n },\n },\n {\n id: 'aci-r67mp',\n type: 'RenameAttribute',\n spec: {\n actionName: 'Initialize Initialize',\n notes: 'This is the initialization phase of the cluster.',\n signals: ['LOGS', 'METRICS', 'TRACES'],\n clusterAttributes: [\n {\n attributeName: 'region',\n attributeStringValue: 'us-east-1',\n },\n {\n attributeName: 'instanceType',\n attributeStringValue: 't2.micro',\n },\n {\n attributeName: 'availabilityZones',\n attributeStringValue: '3',\n },\n ],\n },\n },\n];\n\ninterface Source {\n name: string;\n kind: string;\n namespace: string;\n languages: Array<{\n container_name: string;\n language: string;\n }>;\n}\n\ninterface Destination {\n id: string;\n name: string;\n type: string;\n signals: {\n traces: boolean;\n metrics: boolean;\n logs: boolean;\n };\n fields: Record;\n destination_type: {\n type: string;\n display_name: string;\n image_url: string;\n supported_signals: {\n traces: {\n supported: boolean;\n };\n metrics: {\n supported: boolean;\n };\n logs: {\n supported: boolean;\n };\n };\n };\n}\n\ninterface Action {\n id: string;\n type: string;\n spec: {\n actionName: string;\n notes: string;\n signals: string[];\n };\n}\n\ninterface FlowNode {\n id: string;\n type: string;\n position: { x: number; y: number };\n data: any;\n}\n\ninterface FlowEdge {\n id: string;\n source: string;\n target: string;\n animated: boolean;\n label?: string;\n style?: Record;\n data?: any;\n}\n\nexport const buildFlowNodesAndEdges = (\n sources: Source[],\n destinations: Destination[],\n actions: Action[]\n): { nodes: FlowNode[]; edges: FlowEdge[] } => {\n let nodes: FlowNode[] = [],\n edges: FlowEdge[] = [];\n const centerNodeId = 'center-1';\n const xOffsetNamespace = 100;\n\n const destinations_length = destinations.length;\n let middle_index;\n\n if (destinations_length % 2 == 1) {\n middle_index = Math.floor(destinations_length / 2);\n } else {\n middle_index = destinations_length / 2 - 1;\n }\n\n // Desired y position for the middle node\n const desired_y_position = 248;\n\n // Calculate destinationyOffset\n const destinationyOffset = desired_y_position - middle_index * 100;\n\n const sources_length = sources.length;\n let middle_index_sources;\n\n if (sources_length % 2 == 1) {\n middle_index_sources = Math.floor(sources_length / 2);\n } else {\n middle_index_sources = sources_length / 2 - 1;\n }\n\n const sourceyOffset = desired_y_position - middle_index_sources * 100;\n\n // Create the center node\n const centerXPossition =\n actions?.length > 0 ? actions?.length * 150 + 400 : 450;\n nodes.push({\n id: centerNodeId,\n type: 'custom',\n position: { x: centerXPossition, y: 248 },\n data: { label: 'Center Node' },\n });\n\n // Create namespace nodes from sources and edges to the center\n sources.forEach((source, index) => {\n const namespaceNodeId = `namespace-${index}`;\n nodes.push({\n id: namespaceNodeId,\n type: 'source',\n position: { x: xOffsetNamespace, y: sourceyOffset + index * 100 },\n data: source,\n });\n edges.push({\n id: `e${namespaceNodeId}-${centerNodeId}`,\n source: namespaceNodeId,\n target: actions?.length > 0 ? `action-0` : centerNodeId,\n animated: true,\n style: { stroke: '#96f3ff8e' },\n data: null,\n });\n });\n\n // Create destination nodes and edges from the center\n destinations.forEach((destination, index) => {\n const destinationNodeId = `destination-${index}`;\n nodes.push({\n id: destinationNodeId,\n type: 'destination',\n position: {\n x: centerXPossition + 400,\n y: destinationyOffset + index * 100,\n },\n data: destination,\n });\n edges.push({\n id: `e${centerNodeId}-${destinationNodeId}`,\n source: centerNodeId,\n target: destinationNodeId,\n animated: true,\n style: { stroke: '#96f3ff8e' },\n data: null,\n });\n });\n\n // Create action nodes and edges from the center\n actions.forEach((action, index) => {\n const actionNodeId = `action-${index}`;\n const nextActionNodeId = `action-${index + 1}`;\n nodes.push({\n id: actionNodeId,\n type: 'action',\n position: { x: 420 + index * 125, y: 250 },\n data: action,\n });\n edges.push({\n id: `e${centerNodeId}-${actionNodeId}`,\n source: actionNodeId,\n target: index + 1 === actions.length ? centerNodeId : nextActionNodeId,\n animated: true,\n style: { stroke: '#96f3ff8e' },\n data: null,\n });\n });\n\n return { nodes, edges };\n};\n\n// Example usage with typed data\nexport const { nodes, edges } = buildFlowNodesAndEdges(\n sources,\n destinations,\n action\n);\n"],"mappings":";AAAA,OAAOA,YAA0C;;;ACAjD,OAAO,YAAY;AAEZ,IAAM,uBAAuB,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcpC,IAAM,oBAAoB,OAAO;AAAA;AAAA;AAAA;AAAA,YAI5B,CAAC,EAAE,OAAAC,OAAM,MAAM,aAAaA,OAAM,OAAO,UAAU,EAAE;AAAA;AAAA;AAAA;AAAA;;;ACpBjE,OAAO,WAAW;;;ACAlB,OAAOC,aAAY;AAEZ,IAAM,cAAcA,QAAO;AAAA,WACvB,CAAC,EAAE,OAAAC,OAAM,MAAMA,OAAM,KAAK,KAAK;AAAA;AAAA,iBAEzB,CAAC,EAAE,OAAAA,OAAM,MAAMA,OAAM,YAAY,OAAO;AAAA;AAAA;AAAA;;;ADQlD,SAAS,KAAK,EAAE,UAAU,OAAO,OAAO,QAAQ,KAAK,GAAc;AACxE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAO;AAAA,QACL,YAAY;AAAA,QACZ;AAAA,QACA,UA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EAAE,QAAQ,YAAY;AAAA,MAC7B,MAAM;AAAA,IACR,CAAC;AAAA,EACH,CAAC;AAGD,UAAQ,QAAQ,CAACC,SAAQ,UAAU;AACjC,UAAM,eAAe,UAAU,KAAK;AACpC,UAAM,mBAAmB,UAAU,QAAQ,CAAC;AAC5C,IAAAF,OAAM,KAAK;AAAA,MACT,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,UAAU,EAAE,GAAG,MAAM,QAAQ,KAAK,GAAG,IAAI;AAAA,MACzC,MAAME;AAAA,IACR,CAAC;AACD,IAAAD,OAAM,KAAK;AAAA,MACT,IAAI,IAAI,YAAY,IAAI,YAAY;AAAA,MACpC,QAAQ;AAAA,MACR,QAAQ,QAAQ,MAAM,QAAQ,SAAS,eAAe;AAAA,MACtD,UAAU;AAAA,MACV,OAAO,EAAE,QAAQ,YAAY;AAAA,MAC7B,MAAM;AAAA,IACR,CAAC;AAAA,EACH,CAAC;AAED,SAAO,EAAE,OAAAD,QAAO,OAAAC,OAAM;AACxB;AAGO,IAAM,EAAE,OAAO,MAAM,IAAI;AAAA,EAC9B;AAAA,EACA;AAAA,EACA;AACF;","names":["React","theme","styled","theme","React","React","React","styled","theme","React","React","styled","React","useEffect","useState","React","React","React","React","React","React","React","React","React","styled","useState","text","styled","theme","TextWrapper","text","useState","useEffect","React","React","styled","theme","React","React","styled","React","styled","theme","React","useEffect","useState","styled","theme","React","styled","theme","React","React","React","React","React","useState","styled","styled","text","useState","React","useState","useEffect","React","React","styled","theme","React","React","styled","theme","React","React","React","styled","theme","React","React","styled","styled","React","React","React","useState","styled","theme","LabelWrapper","React","React","useState","React","LabelWrapper","React","React","React","useState","React","React","styled","useState","React","React","styled","theme","React","React","useEffect","styled","theme","React","React","React","useEffect","React","React","useEffect","React","styled","styled","theme","TextWrapper","backgroundColor","React","React","Handle","Position","styled","React","memo","Handle","Position","styled","React","React","styled","theme","TextWrapper","memo","React","Handle","Position","React","styled","Handle","Position","React","React","React","React","React","React","styled","theme","TextWrapper","IMAGE_STYLE","IconWrapper","React","Handle","Position","React","memo","styled","Handle","Position","NamespaceContainer","styled","theme","TextWrapper","memo","React","styled","theme","React","useEffect","useState","styled","styled","theme","useState","useEffect","MONITORS","React","nodes","edges","useEffect","React","React","styled","styled","theme","React","React","useEffect","useRef","useState","styled","keyframes","theme","React","useRef","useEffect","React","React","React","useState","React","React","React","styled","React","React","React","React","styled","styled","React","React","useEffect","styled","styled","theme","text","useEffect","React","React","styled","styled","theme","React","React","useState","styled","useState","React","TitleWrapper","Input","Button","styled","React","useState","styled","Container","styled","TitleWrapper","Input","useState","React","React","styled","styled","theme","LabelWrapper","React","React","styled","Container","styled","TitleWrapper","Table","Th","Td","Input","AddRowButton","React","React","React","useRef","useState","styled","styled","theme","useState","useRef","React","React","React","styled","styled","React","styled","React","useState","styled","Table","useState","React","React","useState","styled","Container","styled","CopyIconWrapper","useState","React","sources","destinations","nodes","edges","action"]}
\ No newline at end of file
+{"version":3,"sources":["../src/design.system/radio/radio.tsx","../src/design.system/radio/radio.styled.tsx","../src/design.system/text/text.tsx","../src/design.system/text/text.styled.tsx","../src/assets/icons/checked-radio.svg","../src/design.system/button/button.tsx","../src/design.system/button/button.styled.tsx","../src/design.system/float.box/float.box.tsx","../src/design.system/code.block/code.block.tsx","../src/assets/icons/copy.svg","../src/assets/icons/copied.svg","../src/assets/icons/folders.svg","../src/assets/icons/trash.svg","../src/assets/icons/check.svg","../src/assets/icons/expand-arrow.svg","../src/assets/icons/actions/cluster-attr.svg","../src/assets/icons/actions/delete-attr.svg","../src/assets/icons/actions/rename-attr.svg","../src/assets/icons/actions/index.ts","../src/assets/icons/languages/index.ts","../src/hooks/useOnClickOutside.tsx","../src/hooks/useCopyToClipboard.tsx","../src/styles/palette.tsx","../src/design.system/card/card.tsx","../src/design.system/card/card.styled.tsx","../src/design.system/tag/tag.tsx","../src/design.system/tap/tap.tsx","../src/design.system/drop.down/drop.down.tsx","../src/design.system/drop.down/drop.down.styled.tsx","../src/design.system/search.input/search.input.tsx","../src/design.system/search.input/search.input.styled.tsx","../src/assets/icons/glass.svg","../src/assets/icons/X.svg","../src/assets/icons/question.svg","../src/design.system/tooltip/index.tsx","../src/design.system/switch/switch.tsx","../src/design.system/switch/switch.styled.tsx","../src/design.system/checkbox/checkbox.tsx","../src/design.system/checkbox/checkbox.styled.tsx","../src/assets/icons/checkbox-rect.svg","../src/design.system/selected.counter/selected.counter.tsx","../src/design.system/selected.counter/selected.counter.styled.tsx","../src/design.system/link/link.tsx","../src/design.system/image/image.tsx","../src/design.system/input/input.tsx","../src/design.system/input/input.styled.tsx","../src/assets/icons/eye-open.svg","../src/assets/icons/eye-close.svg","../src/design.system/input/action.input.tsx","../src/design.system/video/video.tsx","../src/assets/icons/close.svg","../src/assets/icons/player.svg","../src/design.system/video/video.styled.tsx","../src/design.system/loader/loader.tsx","../src/design.system/loader/loader.styled.tsx","../src/design.system/notification/notification.tsx","../src/design.system/notification/notification.styled.tsx","../src/assets/icons/X-blue.svg","../src/assets/icons/success-notification.svg","../src/assets/icons/error-notification.svg","../src/design.system/data.flow/index.tsx","../src/design.system/data.flow/action.node.tsx","../src/design.system/data.flow/keyval.middleware.tsx","../src/design.system/data.flow/namespace.node.tsx","../src/assets/icons/overview/middleware.svg","../src/assets/icons/overview/folder.svg","../src/design.system/data.flow/destination.node.tsx","../src/assets/icons/logs-grey.svg","../src/assets/icons/logs-blue.svg","../src/assets/icons/chart-line-grey.svg","../src/assets/icons/chart-line-blue.svg","../src/assets/icons/tree-structure-grey.svg","../src/assets/icons/tree-structure-blue.svg","../src/design.system/data.flow/monitors.tsx","../src/design.system/data.flow/source.node.tsx","../src/design.system/data.flow/data.flow.styled.tsx","../src/design.system/data.flow/control.panel.tsx","../src/design.system/danger.zone/danger.zone.tsx","../src/design.system/modal/modal.tsx","../src/design.system/modal/portal.modal.tsx","../src/design.system/modal/modal.styled.tsx","../src/assets/icons/close-modal.svg","../src/design.system/theme.provider/theme.provider.tsx","../src/design.system/theme.provider/registry.tsx","../src/design.system/steps/steps.tsx","../src/design.system/steps/step.item.tsx","../src/design.system/steps/steps.styled.tsx","../src/assets/icons/checked.svg","../src/design.system/divider/divider.tsx","../src/design.system/note/note.tsx","../src/design.system/segmented-controls/index.tsx","../src/design.system/multi-input/index.tsx","../src/design.system/key-value-input/index.tsx","../src/design.system/text.area/index.tsx","../src/design.system/multi-input/multi.input.table.tsx","../src/design.system/action.group/index.tsx","../src/design.system/action.item/index.tsx","../src/design.system/pagination/index.tsx","../src/design.system/table/index.tsx","../src/design.system/yml.editor/index.tsx","../src/design.system/data.flow/builder.ts"],"sourcesContent":["import React, { useState, FC, ChangeEvent } from 'react';\nimport { RadioButtonContainer, RadioButtonBorder } from './radio.styled';\nimport { Text } from '@/design.system/text/text';\nimport Checked from '../../assets/icons/checked-radio.svg';\ninterface RadioButtonProps {\n label?: string;\n value?: string | boolean;\n size?: number;\n textStyles?: React.CSSProperties;\n onChange?: (event: ChangeEvent) => void;\n}\n\nexport const RadioButton: FC = ({\n label = '',\n onChange,\n value,\n size = 25,\n textStyles = {},\n}) => {\n function handleChange() {\n onChange && onChange({} as ChangeEvent);\n }\n\n return (\n \n \n {value ? (\n \n ) : (\n \n )}\n
\n {label}\n \n );\n};\n","import styled from 'styled-components';\n\nexport const RadioButtonContainer = styled.label`\n height: 24px;\n color: #303030;\n font-size: 14px;\n font-weight: 400;\n margin-right: 7px;\n -webkit-tap-highlight-color: transparent;\n display: flex;\n align-items: center;\n\n gap: 10px;\n cursor: pointer;\n`;\n\nexport const RadioButtonBorder = styled.span`\n cursor: pointer;\n width: 23px;\n height: 23px;\n border: ${({ theme }) => `solid 2px ${theme.colors.light_grey}`};\n border-radius: 50%;\n display: inline-block;\n position: relative;\n`;\n","import React from 'react';\nimport { TextWrapper } from './text.styled';\n\ntype TextProps = {\n type?: string | any;\n value?: string;\n style?: object;\n children?: string | any;\n weight?: string | number;\n color?: string;\n size?: number;\n};\n\nexport function Text({ children, color, style, weight, size }: TextProps) {\n return (\n \n {children}\n \n );\n}\n","import styled from \"styled-components\";\n\nexport const TextWrapper = styled.p`\n color: ${({ theme }) => theme.text.white};\n margin: 0;\n font-family: ${({ theme }) => theme.font_family.primary}, sans-serif;\n font-size: 16px;\n font-weight: 400;\n`;\n","import * as React from \"react\";\nconst SvgCheckedRadio = props => ;\nexport default SvgCheckedRadio;","import React, { ButtonHTMLAttributes, FC } from 'react';\nimport { StyledButton, ButtonContainer } from './button.styled';\n\ninterface ButtonProps extends ButtonHTMLAttributes {\n // Additional custom props if needed\n variant?: string;\n style?: object;\n}\n\nexport const Button: FC = ({\n variant = 'primary',\n children,\n style,\n disabled,\n type = 'button',\n ...rest\n}) => {\n return (\n \n \n {children}\n \n \n );\n};\n","import styled from 'styled-components';\n\ninterface ButtonProps {\n variant?: string;\n disabled?: boolean;\n}\n\nexport const ButtonContainer = styled.div`\n :hover {\n background: ${({ theme, disabled, variant }) =>\n disabled\n ? theme.colors.blue_grey\n : variant === 'primary'\n ? theme.colors.torquiz_light\n : 'transparent'};\n }\n p {\n cursor: ${({ disabled }) =>\n disabled ? 'not-allowed !important' : 'pointer !important'};\n }\n`;\n\nexport const StyledButton = styled.button`\n display: flex;\n padding: 8px 16px;\n align-items: center;\n border-radius: 8px;\n border: none;\n width: 100%;\n height: 100%;\n border: 1px solid\n ${({ theme, variant }) =>\n variant === 'primary' ? 'transparent' : theme.colors.secondary};\n cursor: ${({ disabled }) =>\n disabled ? 'not-allowed !important' : 'pointer !important'};\n background: ${({ theme, disabled, variant }) =>\n disabled\n ? variant === 'primary'\n ? theme.colors.blue_grey\n : 'transparent'\n : variant === 'primary'\n ? theme.colors.secondary\n : 'transparent'};\n justify-content: center;\n align-items: center;\n opacity: ${({ disabled, variant }) =>\n variant !== 'primary' && disabled ? 0.5 : 1};\n`;\n","import React from \"react\";\nimport styled from \"styled-components\";\n\ntype FloatBoxProps = {\n style?: object;\n children: any;\n};\n\nconst FloatBoxBorder = styled.div`\n background: radial-gradient(\n circle at 100% 100%,\n #ffffff 0,\n #ffffff 3px,\n transparent 3px\n )\n 0% 0%/8px 8px no-repeat,\n radial-gradient(circle at 0 100%, #ffffff 0, #ffffff 3px, transparent 3px)\n 100% 0%/8px 8px no-repeat,\n radial-gradient(circle at 100% 0, #ffffff 0, #ffffff 3px, transparent 3px)\n 0% 100%/8px 8px no-repeat,\n radial-gradient(circle at 0 0, #ffffff 0, #ffffff 3px, transparent 3px) 100%\n 100%/8px 8px no-repeat,\n linear-gradient(#ffffff, #ffffff) 50% 50% / calc(100% - 10px)\n calc(100% - 16px) no-repeat,\n linear-gradient(#ffffff, #ffffff) 50% 50% / calc(100% - 16px)\n calc(100% - 10px) no-repeat,\n linear-gradient(0deg, transparent 0%, #0ee6f3 100%),\n radial-gradient(\n 78.09% 72.18% at 100% -0%,\n rgba(150, 242, 255, 0.4) 0%,\n rgba(150, 242, 255, 0) 61.91%\n ),\n linear-gradient(180deg, #2e4c55 0%, #303355 100%);\n border-radius: 8px;\n padding: 1px;\n width: 32px;\n height: 32px;\n`;\n\nconst FloatBoxWrapper = styled.div`\n width: 32px;\n height: 32px;\n border-radius: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n background: radial-gradient(\n 78.09% 72.18% at 100% -0%,\n rgba(150, 242, 255, 0.4) 0%,\n rgba(150, 242, 255, 0) 61.91%\n ),\n linear-gradient(180deg, #2e4c55 0%, #303355 100%);\n`;\n\nexport function FloatBox({ children, style = {} }: FloatBoxProps) {\n return (\n \n {children}\n \n );\n}\n","import React, { useEffect, useState } from 'react';\nimport { Copied, Copy } from '@/assets/icons';\nimport { styled } from 'styled-components';\nimport { Text } from '..';\nimport { useCopyToClipboard } from '@/hooks';\nimport theme from '@/styles/palette';\n\ninterface CodeProps {\n text: string;\n title?: string;\n highlightedWord?: {\n primary: {\n words: string[];\n color: string;\n };\n secondary?: {\n words: string[];\n color: string;\n };\n };\n onCopy?: () => void;\n}\n\nconst CodeBlockContainer = styled.div`\n border-radius: 12px;\n width: 100%;\n border: ${({ theme }) => `1px solid ${theme.colors.dark_blue}`};\n background: ${({ theme }) => theme.colors.dark};\n padding: 16px;\n text-align: start;\n gap: 10px;\n position: relative;\n`;\n\nconst TextWrapper = styled.p`\n font-family: 'IBM Plex Mono', monospace;\n width: 90%;\n`;\n\nconst CopyIconWrapper = styled.span`\n position: absolute;\n right: 16px;\n top: 16px;\n cursor: pointer;\n`;\n\nconst ComponentWrapper = styled.div`\n display: flex;\n flex-direction: column;\n text-align: start;\n gap: 6px;\n width: 100%;\n`;\n\nexport function Code({ text, highlightedWord, title, onCopy }: CodeProps) {\n const [primaryWords, setPrimaryWords] = useState>(\n new Map()\n );\n const [secondaryWords, setSecondaryWords] = useState>(\n new Map()\n );\n\n const { copyToClipboard, clipboardState } = useCopyToClipboard();\n\n useEffect(onload, [highlightedWord]);\n\n function onload() {\n if (highlightedWord) {\n highlightedWord.primary && handleSetPrimaryWords();\n highlightedWord.secondary && handleSetSecondaryWords();\n }\n }\n\n function handleSetPrimaryWords() {\n const primaryWordsMap = new Map();\n highlightedWord?.primary.words.forEach((word) => {\n primaryWordsMap.set(word, word);\n });\n setPrimaryWords(primaryWordsMap);\n }\n\n function handleSetSecondaryWords() {\n const secondaryWordsMap = new Map();\n highlightedWord?.secondary?.words.forEach((word) => {\n secondaryWordsMap.set(word, word);\n });\n setSecondaryWords(secondaryWordsMap);\n }\n\n function getWordColor(word: string) {\n if (primaryWords.has(word)) {\n return highlightedWord?.primary.color;\n }\n if (secondaryWords.has(word)) {\n return highlightedWord?.secondary?.color;\n }\n return theme.colors.white;\n }\n\n function handleCopy() {\n copyToClipboard(text);\n onCopy && onCopy();\n }\n\n return (\n \n {title && {title}}\n \n \n {!clipboardState ? (\n \n ) : (\n \n )}\n \n \n {text.split(' ').map((part, index) => (\n \n {`${part} `}\n \n ))}\n \n \n \n );\n}\n","import * as React from \"react\";\nconst SvgCopy = props => ;\nexport default SvgCopy;","import * as React from \"react\";\nconst SvgCopied = props => ;\nexport default SvgCopied;","import * as React from \"react\";\nconst SvgFolders = props => ;\nexport default SvgFolders;","import * as React from \"react\";\nconst SvgTrash = props => ;\nexport default SvgTrash;","import * as React from \"react\";\nconst SvgCheck = props => ;\nexport default SvgCheck;","import * as React from \"react\";\nconst SvgExpandArrow = props => ;\nexport default SvgExpandArrow;","import * as React from \"react\";\nconst SvgClusterAttr = props => ;\nexport default SvgClusterAttr;","import * as React from \"react\";\nconst SvgDeleteAttr = props => ;\nexport default SvgDeleteAttr;","import * as React from \"react\";\nconst SvgRenameAttr = props => ;\nexport default SvgRenameAttr;","import AddClusterInfo from './cluster-attr.svg';\nimport DeleteAttribute from './delete-attr.svg';\nimport RenameAttribute from './rename-attr.svg';\n// Define the type for the ACTION_ICONS object\ninterface ActionIcons {\n [key: string]: any;\n}\n\n// Define the ACTION_ICONS with explicit types\nexport const ACTION_ICONS: ActionIcons = {\n AddClusterInfo: AddClusterInfo,\n RenameAttribute: RenameAttribute,\n DeleteAttribute: DeleteAttribute,\n};\n","const BASE_URL = 'https://d1n7d4xz7fr8b4.cloudfront.net/';\n\nexport const LANGUAGES_LOGOS = {\n java: `${BASE_URL}java.png`,\n go: `${BASE_URL}go.png`,\n javascript: `${BASE_URL}nodejs.png`,\n python: `${BASE_URL}python.png`,\n dotnet: `${BASE_URL}dotnet.png`,\n default: `${BASE_URL}default.png`,\n mysql: `${BASE_URL}mysql.png`,\n unknown: `${BASE_URL}default.svg`, // TODO: good icon\n processing: `${BASE_URL}default.svg`, // TODO: good icon\n 'no containers': `${BASE_URL}default.svg`, // TODO: good icon\n};\n\nexport const LANGUAGES_COLORS = {\n java: '#B07219',\n go: '#00ADD8',\n javascript: '#F7DF1E',\n python: '#306998',\n dotnet: '#512BD4',\n mysql: '#00758F',\n};\n","import { useEffect, RefObject } from \"react\";\n\ntype Event = MouseEvent | TouchEvent;\n\nexport function useOnClickOutside(\n ref: RefObject,\n handler: (event: Event) => void\n) {\n useEffect(() => {\n const listener = (event: Event) => {\n const el = ref?.current;\n if (el?.contains(event?.target as Node)) return null;\n\n // Call the handler only if the click is outside of the element passed.\n handler(event);\n };\n\n document.addEventListener(\"mousedown\", listener);\n document.addEventListener(\"touchstart\", listener);\n\n return () => {\n document.removeEventListener(\"mousedown\", listener);\n document.removeEventListener(\"touchstart\", listener);\n };\n }, [ref, handler]);\n}\n","import { useEffect, useState } from 'react';\n\nexport function useCopyToClipboard() {\n const [clipboardState, setClipboardState] = useState(false);\n\n async function copyToClipboard(text: string) {\n if (navigator.clipboard) {\n try {\n await navigator.clipboard.writeText(text);\n setClipboardState(true);\n } catch (error) {\n setClipboardState(false);\n }\n } else {\n setClipboardState(false);\n }\n }\n\n return { clipboardState, copyToClipboard };\n}\n","import { DefaultTheme } from 'styled-components';\n\n// Define your color palette\nconst colors = {\n primary: '#07111A',\n secondary: '#0EE6F3',\n torquiz_light: '#96F2FF',\n dark: '#07111A',\n data_flow_bg: '#0E1C28',\n light_dark: '#132330',\n dark_blue: '#203548',\n light_grey: '#CCD0D2',\n blue_grey: '#374A5B',\n white: '#fff',\n error: '#FD3F3F',\n traces: '#4CAF50',\n logs: '#8B4513',\n metrics: '#FFD700',\n};\n\nconst text = {\n primary: '#07111A',\n secondary: '#0EE6F3',\n white: '#fff',\n light_grey: '#CCD0D2',\n grey: '#8b92a5',\n dark_button: '#0A1824',\n};\n\nconst font_family = {\n primary: 'Inter',\n};\n\n// Define the theme interface\ninterface ThemeInterface extends DefaultTheme {\n colors: typeof colors;\n text: typeof text;\n font_family: typeof font_family;\n}\n\n// Create your theme object\nconst theme: ThemeInterface = {\n colors,\n text,\n font_family,\n};\n\n// Export the theme\nexport default theme;\n","'use client';\nimport React from 'react';\nimport { CardContainer, CardHeader } from './card.styled';\nimport { Text } from '../text/text';\n\ninterface CardProps {\n children?: JSX.Element | JSX.Element[];\n focus?: any;\n type?: string;\n header?: {\n title?: string;\n subtitle?: string;\n body?: () => JSX.Element | JSX.Element[];\n };\n}\n\nexport function Card({\n children,\n focus = false,\n type = 'primary',\n header,\n}: CardProps) {\n function renderHeader() {\n if (header?.body) {\n return header?.body();\n }\n return (\n <>\n \n {header?.title}\n \n \n {header?.subtitle}\n \n >\n );\n }\n\n return (\n \n {header && {renderHeader()}}\n {children}\n \n );\n}\n","import styled from 'styled-components';\n\ninterface CardContainerProps {\n selected?: any;\n type?: string;\n}\n\nexport const CardContainer = styled.div`\n display: inline-flex;\n position: relative;\n height: fit-content;\n flex-direction: column;\n border-radius: 24px;\n height: 100%;\n border: ${({ selected, theme, type }) =>\n `1px solid ${\n selected\n ? theme.colors.secondary\n : type === 'primary'\n ? theme.colors.dark_blue\n : '#374a5b'\n }`};\n background: ${({ theme, type }) =>\n type === 'primary' ? theme.colors.dark : '#0E1C28'};\n box-shadow: ${({ type }) =>\n type === 'primary'\n ? 'none'\n : '0px -6px 16px 0px rgba(0, 0, 0, 0.25),4px 4px 16px 0px rgba(71, 231, 241, 0.05),-4px 4px 16px 0px rgba(71, 231, 241, 0.05)'};\n`;\n\nexport const CardHeader = styled(CardContainer)`\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: fit-content;\n gap: 16px;\n padding: 24px 0px;\n box-shadow: none;\n`;\n","import { Text } from '@/design.system/text/text';\nimport React from 'react';\nimport styled from 'styled-components';\n\ninterface TagProps {\n title: string;\n color?: string;\n}\n\nconst TagWrapper = styled.div`\n display: flex;\n padding: 4px 8px;\n align-items: flex-start;\n gap: 10px;\n border-radius: 10px;\n width: fit-content;\n`;\n\nexport function Tag({ title = '', color = '#033869' }: TagProps) {\n return (\n \n \n {title}\n \n \n );\n}\n","import { Text } from '@/design.system/text/text';\nimport React from 'react';\nimport styled from 'styled-components';\n\ninterface TapProps {\n icons: object;\n title?: string;\n tapped?: boolean;\n onClick?: any;\n children?: React.ReactNode;\n style?: React.CSSProperties;\n}\n\ninterface TapWrapperProps {\n selected?: any;\n}\n\nconst TapWrapper = styled.div`\n display: flex;\n padding: 8px 14px;\n align-items: flex-end;\n gap: 10px;\n border-radius: 16px;\n border: ${({ theme, selected }) =>\n `1px solid ${selected ? 'transparent' : theme.colors.dark_blue}`};\n background: ${({ theme, selected }) =>\n selected ? theme.colors.dark_blue : 'transparent'};\n`;\n\nexport function Tap({\n title = '',\n tapped,\n children,\n style,\n onClick,\n}: TapProps) {\n return (\n \n {children}\n \n {title}\n \n \n );\n}\n","import React, { useEffect, useRef, useState } from 'react';\nimport Open from '@/assets/icons/expand-arrow.svg';\nimport {\n DropdownHeader,\n DropdownWrapper,\n DropdownBody,\n DropdownItem,\n DropdownListWrapper,\n LabelWrapper,\n} from './drop.down.styled';\nimport { Text } from '../text/text';\nimport { SearchInput } from '../search.input/search.input';\nimport { useOnClickOutside } from '@/hooks';\nimport { Tooltip } from '../tooltip';\nimport theme from '@/styles/palette';\n\ninterface DropDownItem {\n id: number | string;\n label: string;\n}\ninterface DropDownProps {\n data: DropDownItem[];\n onChange: (item: DropDownItem) => void;\n width?: number;\n value?: DropDownItem | null;\n label?: string;\n tooltip?: string;\n required?: boolean;\n}\n\nconst SELECTED_ITEM = 'Select item';\nconst CONTAINER_STYLE = {\n width: '90%',\n border: 'none',\n background: 'transparent',\n};\nconst SEARCH_INPUT_STYLE = { background: 'transparent' };\n\nexport function DropDown({\n data = [],\n onChange,\n width = 260,\n value,\n label,\n tooltip,\n required,\n}: DropDownProps) {\n const [isOpen, setOpen] = useState(false);\n const [selectedItem, setSelectedItem] = useState(value || null);\n const [isHover, setHover] = useState(false);\n const [searchFilter, setSearchFilter] = useState('');\n\n const containerRef = useRef(null);\n\n useEffect(() => {\n value && setSelectedItem(value);\n }, [value]);\n\n useOnClickOutside(containerRef, () => setOpen(false));\n\n const toggleDropdown = () => setOpen(!isOpen);\n\n const handleItemClick = (item: DropDownItem) => {\n onChange(item);\n setSelectedItem(item);\n setSearchFilter('');\n setOpen(false);\n };\n\n function getDropdownList() {\n return searchFilter\n ? data?.filter((item: any) =>\n item?.label.toLowerCase().includes(searchFilter.toLowerCase())\n )\n : data;\n }\n\n return (\n <>\n {label && (\n \n \n \n \n {label}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n setHover(true)}\n onMouseLeave={() => setHover(false)}\n onClick={toggleDropdown}\n >\n \n {selectedItem ? selectedItem.label : SELECTED_ITEM}\n \n \n \n {isOpen && (\n \n setSearchFilter(e.target.value)}\n placeholder=\"Search\"\n containerStyle={CONTAINER_STYLE}\n inputStyle={SEARCH_INPUT_STYLE}\n showClear={false}\n />\n \n {getDropdownList().map((item) => (\n handleItemClick(item)}\n >\n {item.label}\n \n ))}\n \n \n )}\n
\n >\n );\n}\n","import styled from 'styled-components';\n\ninterface DropdownWrapperProps {\n selected?: any;\n}\n\nexport const DropdownWrapper = styled.div`\n position: relative;\n z-index: 999;\n width: 100%;\n padding: 11px 4px;\n border-radius: 8px;\n cursor: pointer;\n border: ${({ selected, theme }) =>\n `1px solid ${selected ? theme.colors.white : theme.colors.blue_grey}`};\n /* background: ${({ theme }) => theme.colors.dark}; */\n\n .dropdown-arrow {\n transform: rotate(0deg);\n transition: all 0.2s ease-in-out;\n }\n\n .dropdown-arrow.open {\n transform: rotate(180deg);\n }\n`;\n\nexport const DropdownHeader = styled.div`\n padding: 0 12px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n color: ${({ theme }) => theme.text.white};\n font-size: 14px;\n font-family: ${({ theme }) => theme.font_family.primary}, sans-serif;\n font-weight: 400;\n`;\n\nexport const DropdownBody = styled.div`\n position: relative;\n z-index: 1000;\n display: flex;\n width: 100%;\n padding: 11px 4px;\n flex-direction: column;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n margin-top: 5px;\n`;\n\nexport const DropdownListWrapper = styled.div`\n position: relative;\n\n z-index: 1000;\n width: 100%;\n max-height: 270px;\n overflow-y: scroll;\n scrollbar-width: none;\n :hover {\n background: ${({ theme }) => theme.colors.dark_blue};\n }\n`;\n\nexport const DropdownItem = styled.div`\n display: flex;\n padding: 7px 12px;\n justify-content: space-between;\n align-items: center;\n border-radius: 8px;\n cursor: pointer;\n p {\n cursor: pointer !important;\n }\n`;\nexport const LabelWrapper = styled.div`\n margin-bottom: 8px;\n text-align: start;\n`;\n","import React from 'react';\nimport { SearchInputWrapper, StyledSearchInput } from './search.input.styled';\nimport Glass from '@/assets/icons/glass.svg';\nimport X from '@/assets/icons/X.svg';\n\ninterface SearchInputProps {\n placeholder?: string;\n value?: string;\n onChange?: (e: any) => void;\n loading?: boolean;\n containerStyle?: any;\n inputStyle?: any;\n showClear?: boolean;\n}\n\nexport function SearchInput({\n placeholder = 'Search',\n value = '',\n onChange = () => {},\n loading = false,\n containerStyle = {},\n inputStyle = {},\n showClear = true,\n}: SearchInputProps) {\n const clear = value\n ? () =>\n onChange({\n target: {\n value: '',\n },\n })\n : () => {};\n\n return (\n \n \n \n\n {showClear && (\n \n {' '}\n \n
\n )}\n \n );\n}\n","import styled from \"styled-components\";\n\ninterface ActiveProps {\n active?: any;\n}\n\nexport const SearchInputWrapper = styled.div`\n position: relative;\n display: flex;\n width: 340px;\n padding: 9px 13px;\n gap: 10px;\n border-radius: 8px;\n border: ${({ active, theme }) =>\n `1px solid ${active ? theme.colors.white : theme.colors.blue_grey}`};\n background: ${({ active, theme }) =>\n `${active ? theme.colors.dark : theme.colors.light_dark}`};\n &:hover {\n border: ${({ theme }) => `solid 1px ${theme.colors.white}`};\n }\n`;\n\nexport const StyledSearchInput = styled.input`\n width: 85%;\n background: ${({ active, theme }) =>\n `${active ? theme.colors.dark : \"transparent\"}`};\n border: none;\n outline: none;\n color: ${({ active, theme }) =>\n `${active ? theme.colors.white : theme.text.grey}`};\n font-size: 14px;\n font-family: ${({ theme }) => theme.font_family.primary}, sans-serif;\n font-weight: 400;\n &:focus {\n color: ${({ theme }) => `solid 1px ${theme.colors.white}`};\n }\n`;\n","import * as React from \"react\";\nconst SvgGlass = props => ;\nexport default SvgGlass;","import * as React from \"react\";\nconst SvgX = props => ;\nexport default SvgX;","import * as React from \"react\";\nconst SvgQuestion = props => ;\nexport default SvgQuestion;","import Question from '@/assets/icons/question.svg';\nimport React, { useState, ReactNode } from 'react';\nimport styled from 'styled-components';\nimport { Text } from '../text/text';\n\n// Styled tooltip container\nconst TooltipContainer = styled.div`\n display: inline-flex;\n align-items: center; // Align children and icon vertically\n position: relative;\n`;\n\n// Styled icon (using a simple div here, but you can replace it with an actual icon component)\nconst Icon = styled.div`\n margin-left: 8px;\n display: flex;\n align-items: center;\n`;\n\n// Styled tooltip text\nconst TooltipText = styled.div<{ isVisible: boolean }>`\n visibility: ${({ isVisible }) => (isVisible ? 'visible' : 'hidden')};\n background-color: black;\n color: white;\n text-align: center;\n border-radius: 6px;\n padding: 5px 10px;\n max-width: 300px;\n width: 100%;\n text-align: left;\n /* Position the tooltip above the icon */\n position: absolute;\n z-index: 1;\n bottom: 100%;\n left: 50%;\n transform: translateX(-0%);\n margin-bottom: 5px; // Space between the tooltip and the icon\n\n /* Fade in animation */\n opacity: ${({ isVisible }) => (isVisible ? 1 : 0)};\n transition: opacity 0.3s;\n`;\n\ninterface TooltipProps {\n children: ReactNode;\n text: string;\n icon?: ReactNode;\n showIcon?: boolean;\n}\n\nexport const Tooltip: React.FC = ({\n children,\n text,\n icon = '?',\n showIcon = true,\n}) => {\n const [isVisible, setIsVisible] = useState(false);\n\n const showTooltip = () => setIsVisible(true);\n const hideTooltip = () => setIsVisible(false);\n\n if (!text) return <>{children}>;\n\n return (\n \n {children}\n \n \n {text}\n \n \n {showIcon && (\n \n \n \n )}\n \n );\n};\n","import React from \"react\";\nimport { Text } from \"../text/text\";\nimport {\n SwitchButtonWrapper,\n SwitchInputWrapper,\n SwitchToggleWrapper,\n} from \"./switch.styled\";\n\ninterface SwitchProps {\n toggle: boolean;\n handleToggleChange: () => void;\n style?: object;\n label?: string;\n}\n\nexport function Switch({\n toggle,\n handleToggleChange,\n style,\n label = \"Select All\",\n}: SwitchProps) {\n return (\n \n \n \n \n {label && {label}}\n \n );\n}\n","import styled from \"styled-components\";\n\ninterface SwitchToggleWrapperProps {\n active?: any;\n}\n\ninterface SwitchToggleBtnProps {\n disabled: boolean | undefined;\n}\n\nexport const SwitchInputWrapper = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nexport const SwitchToggleWrapper = styled.div`\n position: relative;\n width: 30px;\n height: 16px;\n background-color: ${({ active, theme }) =>\n active ? theme.colors.secondary : theme.text.grey};\n cursor: pointer;\n user-select: none;\n border-radius: 20px;\n padding: 2px;\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nexport const SwitchButtonWrapper = styled.span`\n display: flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n width: 14px;\n height: 14px;\n cursor: pointer;\n color: #fff;\n background-color: ${({ disabled, theme }) =>\n !disabled ? theme.text.light_grey : theme.text.white};\n box-shadow: 0 2px 4px rgb(0, 0, 0, 0.25);\n border-radius: 100%;\n position: absolute;\n transition: all 0.2s ease;\n left: ${({ disabled }) => (!disabled ? 2 : 18)}px;\n`;\n","import React from 'react';\nimport { Text } from '../text/text';\nimport { CheckboxWrapper, CheckboxItem } from './checkbox.styled';\nimport Checked from '../../assets/icons/checkbox-rect.svg';\n\ninterface CheckboxProps {\n value: boolean;\n onChange: () => void;\n label?: string;\n disabled?: boolean;\n}\n\nexport function Checkbox({\n onChange,\n value,\n label = '',\n disabled = false,\n}: CheckboxProps) {\n return (\n \n {value ? : }\n {label}\n \n );\n}\n","import { styled } from \"styled-components\";\n\ninterface CheckboxWrapperProps {\n disabled?: boolean;\n}\n\nexport const CheckboxWrapper = styled.div`\n display: flex;\n gap: 8px;\n align-items: center;\n cursor: ${({ disabled }) => (disabled ? \"not-allowed\" : \"pointer\")};\n pointer-events: ${({ disabled }) => (disabled ? \"none\" : \"auto\")};\n opacity: ${({ disabled }) => (disabled ? \"0.5\" : \"1\")};\n`;\n\nexport const CheckboxItem = styled.span`\n width: 16px;\n height: 16px;\n border: ${({ theme }) => `solid 1px ${theme.colors.light_grey}`};\n border-radius: 4px;\n`;\n","import * as React from \"react\";\nconst SvgCheckboxRect = props => ;\nexport default SvgCheckboxRect;","import React from \"react\";\nimport { SelectedCounterWrapper } from \"./selected.counter.styled\";\nimport Checked from \"@/assets/icons/check.svg\";\nimport { Text } from \"../text/text\";\n\ninterface SelectedCounterProps {\n total: number;\n selected: number;\n}\n\nexport function SelectedCounter({ total, selected }: SelectedCounterProps) {\n return (\n \n {selected !== 0 && }\n {`${selected} / ${total}`}\n \n );\n}\n","import styled from \"styled-components\";\n\nexport const SelectedCounterWrapper = styled.div`\n display: flex;\n padding: 4px;\n align-items: center;\n gap: 4px;\n border-radius: 14px;\n background: ${({ theme }) => theme.colors.dark_blue};\n`;\n","import React from 'react';\nimport { Text } from '../text/text';\nimport { styled } from 'styled-components';\nimport theme from '@/styles/palette';\n\ninterface LinkProps {\n value: string;\n onClick?: () => void;\n fontSize?: number;\n color?: string;\n}\n\nconst LinkContainer = styled.div`\n cursor: pointer;\n .p {\n cursor: pointer !important;\n }\n`;\n\nexport function Link({\n value,\n onClick,\n fontSize = 16,\n color = theme.colors.secondary,\n}: LinkProps) {\n return (\n \n \n {value}\n \n \n );\n}\n","import Image from \"next/image\";\nimport React from \"react\";\n\ninterface ImageProps {\n src: string;\n alt?: string;\n width?: number;\n height?: number;\n style?: React.CSSProperties;\n}\n\nconst IMAGE_STYLE: React.CSSProperties = {\n borderRadius: 10,\n};\n\nexport function ImageComponent({\n src,\n alt = \"\",\n width = 56,\n height = 56,\n style = {},\n}: ImageProps) {\n return (\n \n );\n}\n","import React, { ChangeEvent, InputHTMLAttributes, useState } from 'react';\nimport {\n StyledInputContainer,\n StyledInput,\n ErrorWrapper,\n LabelWrapper,\n DisplayIconsWrapper,\n} from './input.styled';\nimport { Text } from '../text/text';\nimport EyeOpenIcon from '@/assets/icons/eye-open.svg';\nimport EyeCloseIcon from '@/assets/icons/eye-close.svg';\nimport { Tooltip } from '../tooltip';\nimport theme from '@/styles/palette';\n\ninterface InputProps extends Omit, 'onChange'> {\n label?: string;\n onChange: (value: string) => void;\n error?: string;\n style?: React.CSSProperties;\n tooltip?: string;\n}\n\nexport function Input({\n label,\n value,\n onChange,\n type = 'text',\n error = '',\n style = {},\n onKeyDown,\n tooltip,\n required,\n autoComplete = \"off\",\n ...rest\n}: InputProps): JSX.Element {\n const [showPassword, setShowPassword] = useState(false);\n\n function handleChange(event: ChangeEvent): void {\n onChange(event.target.value);\n }\n\n return (\n \n {label && (\n
\n \n \n \n {label}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n
\n \n {type === 'password' && (\n setShowPassword(!showPassword)}>\n {!showPassword ? (\n \n ) : (\n \n )}\n \n )}\n \n {error && (\n
\n \n {error}\n \n \n )}\n
\n );\n}\n","import { styled } from 'styled-components';\n\ninterface ActiveProps {\n active?: any;\n error: boolean | undefined;\n}\n\nexport const StyledInputContainer = styled.div`\n position: relative;\n display: flex;\n width: 100%;\n padding-left: 13px;\n height: 100%;\n min-height: 37px;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n gap: 10px;\n border-radius: 8px;\n border: ${({ theme, error, active }) =>\n `1px solid ${\n error\n ? theme.colors.error\n : active\n ? theme.text.grey\n : theme.colors.blue_grey\n }`};\n background: ${({ theme }) => theme.colors.light_dark};\n\n &:hover {\n border: ${({ theme }) => `solid 1px ${theme.text.grey}`};\n }\n`;\n\nexport const StyledActionInputContainer = styled.div`\n position: relative;\n display: flex;\n width: 100%;\n padding: 0px 12px;\n height: 100%;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n border-radius: 4px;\n border: ${({ theme }) => `1px solid ${theme.colors.secondary}`};\n`;\n\nexport const StyledInput = styled.input`\n background: transparent;\n border: none;\n outline: none;\n width: 96%;\n color: ${({ theme }) => theme.text.white};\n`;\n\nexport const StyledActionInput = styled(StyledInput)`\n color: var(--dark-mode-white, #fff);\n font-family: Inter, sans-serif;\n font-size: 24px;\n`;\n\nexport const LabelWrapper = styled.div`\n margin-bottom: 8px;\n text-align: start;\n`;\n\nexport const ErrorWrapper = styled.div`\n margin-top: 4px;\n`;\n\nexport const DisplayIconsWrapper = styled.div`\n position: absolute;\n right: 10px;\n cursor: pointer;\n`;\n","import * as React from \"react\";\nconst SvgEyeOpen = props => ;\nexport default SvgEyeOpen;","import * as React from \"react\";\nconst SvgEyeClose = props => ;\nexport default SvgEyeClose;","import React, { ChangeEvent } from 'react';\nimport { StyledActionInputContainer, StyledActionInput } from './input.styled';\nimport { Button } from '../button/button';\nimport { Text } from '../text/text';\nimport theme from '@/styles/palette';\n\ninterface InputProps {\n value: string;\n onAction: () => void;\n onChange: (value: string) => void;\n type?: string;\n style?: React.CSSProperties;\n}\n\nexport function ActionInput({\n value,\n onChange,\n style = {},\n onAction,\n}: InputProps): JSX.Element {\n function handleChange(event: ChangeEvent): void {\n onChange(event.target.value);\n }\n\n return (\n <>\n \n \n\n \n \n >\n );\n}\n","import React, { useState } from \"react\";\nimport CloseIcon from \"@/assets/icons/close.svg\";\nimport PlayerIcon from \"@/assets/icons/player.svg\";\nimport { Text } from \"../text/text\";\nimport {\n ImagePreviewWrapper,\n PlayerIconWrapper,\n LargePlayerIconWrapper,\n StyledLargeVideo,\n LargeVideoHeader,\n LargeVideoContainer,\n} from \"./video.styled\";\n\ntype VideoComponentProps = {\n videoSrc: string;\n title?: string;\n thumbnail?: string | undefined;\n};\n\nexport function Video({ videoSrc, title, thumbnail }: VideoComponentProps) {\n const [isLarge, setIsLarge] = useState(false);\n const [pause, setPause] = useState(true);\n\n const handleClick = (): void => {\n setIsLarge(true);\n };\n\n const handleClose = (): void => {\n setIsLarge(false);\n setPause(true);\n };\n\n const renderSmallView = (): JSX.Element => (\n <>\n \n {title}\n \n \n \n \n \n \n >\n );\n\n const renderLargeView = (): JSX.Element => (\n \n \n \n {title}\n \n \n \n {!pause ? (\n \n ) : (\n setPause(false)}\n >\n \n \n \n \n )}\n \n );\n\n return {isLarge ? renderLargeView() : renderSmallView()}
;\n}\n","import * as React from \"react\";\nconst SvgClose = props => ;\nexport default SvgClose;","import * as React from \"react\";\nconst SvgPlayer = props => ;\nexport default SvgPlayer;","import { styled } from \"styled-components\";\n\ninterface ImagePreviewWrapperProps {\n url: string | undefined;\n}\n\nexport const ImagePreviewWrapper = styled.div`\n position: relative;\n margin-top: 8px;\n border-radius: 8px;\n width: 240px;\n height: 140px;\n cursor: pointer;\n background: ${({ url }) => `linear-gradient(\n 0deg,\n rgba(2, 20, 30, 0.2) 0%,\n rgba(2, 20, 30, 0.2) 100%\n ),\n url(${url}),\n lightgray 50%`};\n background-size: cover;\n background-position: center;\n background-repeat: no-repeat;\n`;\n\nexport const PlayerIconWrapper = styled.div`\n position: absolute;\n margin-left: auto;\n margin-right: auto;\n left: 0;\n right: 0;\n top: 30px;\n text-align: center;\n`;\nexport const LargePlayerIconWrapper = styled(PlayerIconWrapper)`\n top: 40%;\n`;\n\nexport const StyledLargeVideo = styled.video`\n width: 980px;\n border-radius: 8px;\n`;\n\nexport const LargeVideoHeader = styled.div`\n width: 980px;\n\n display: flex;\n justify-content: space-between;\n margin-bottom: 21px;\n`;\n\nexport const LargeVideoContainer = styled.div`\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n background: rgba(0, 0, 0, 0.65);\n z-index: 9999;\n`;\n","import React from 'react';\nimport { StyledLoader, LoaderWrapper } from './loader.styled';\n\ninterface LoaderProps {\n width?: number;\n height?: number;\n}\n\nexport function Loader({ width, height }: LoaderProps) {\n return (\n \n \n \n );\n}\n","import styled from 'styled-components';\n\nexport const LoaderWrapper = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n`;\n\nexport const StyledLoader = styled.div<{\n width?: number | undefined;\n height?: number | undefined;\n}>`\n width: ${({ width }) => width || 48}px;\n height: ${({ height }) => height || 48}px;\n border: 4px solid;\n border-color: ${({ theme }) =>\n `${theme.colors.secondary} ${theme.colors.secondary} ${theme.colors.secondary} transparent`};\n border-radius: 50%;\n animation: spin-anim 1.2s linear infinite;\n\n @keyframes spin-anim {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n`;\n","import React, { useEffect } from \"react\";\nimport {\n NotificationContainer,\n StyledNotification,\n} from \"./notification.styled\";\nimport { Text } from \"../text/text\";\nimport CloseIcon from \"@/assets/icons/X-blue.svg\";\nimport SuccessIcon from \"@/assets/icons/success-notification.svg\";\nimport ErrorIcon from \"@/assets/icons/error-notification.svg\";\n\ninterface NotificationProps {\n type: \"success\" | \"error\" | \"warning\" | \"info\";\n message: string;\n onClose?: () => void;\n}\n\nexport function Notification({ type, message, onClose }: NotificationProps) {\n useEffect(() => {\n const id = setTimeout(() => {\n onClose && onClose();\n }, 5000);\n\n return () => {\n clearTimeout(id);\n };\n }, []);\n\n function getIcon() {\n switch (type) {\n case \"success\":\n return ;\n case \"error\":\n return ;\n }\n }\n\n function getNotificationStyle() {\n switch (type) {\n case \"error\":\n return { border: \"1px solid #FD3F3F\" };\n default:\n return {};\n }\n }\n\n return (\n \n \n {getIcon()}\n \n {message}\n \n \n \n \n );\n}\n","import styled from 'styled-components';\n\nexport const NotificationContainer = styled.div`\n position: fixed;\n top: 3%;\n right: 3%;\n`;\n\nexport const StyledNotification = styled.div`\n display: flex;\n padding: 6px 16px 6px 8px;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.secondary}`};\n background: ${({ theme }) => theme.colors.dark_blue};\n svg {\n cursor: pointer;\n }\n`;\n","import * as React from \"react\";\nconst SvgXBlue = props => ;\nexport default SvgXBlue;","import * as React from \"react\";\nconst SvgSuccessNotification = props => ;\nexport default SvgSuccessNotification;","import * as React from \"react\";\nconst SvgErrorNotification = props => ;\nexport default SvgErrorNotification;","'use client';\nimport React, { useEffect } from 'react';\nimport ReactFlow, {\n Background,\n useReactFlow,\n ReactFlowProvider,\n} from 'reactflow';\nimport { IDataFlow } from './types';\nimport theme from '@/styles/palette';\nimport ActionNode from './action.node.tsx';\nimport CenterNode from './keyval.middleware';\nimport NamespaceNode from './namespace.node.tsx';\nimport DestinationNode from './destination.node.tsx';\nimport SourceNode from './source.node.tsx';\nimport { DataFlowContainer } from './data.flow.styled';\nimport 'reactflow/dist/style.css';\nimport { DataFlowControlPanel } from './control.panel.tsx';\n\nconst backgroundColor = theme.colors.data_flow_bg;\n\nconst nodeTypes = {\n custom: CenterNode,\n namespace: NamespaceNode,\n destination: DestinationNode,\n action: ActionNode,\n source: SourceNode,\n};\n\nfunction DataFlow({ nodes, edges, ...rest }: IDataFlow) {\n const { fitView } = useReactFlow();\n\n useEffect(() => {\n setTimeout(() => {\n fitView();\n }, 100);\n }, [fitView, nodes, edges]);\n\n return (\n \n \n \n \n \n \n );\n}\n\nexport function KeyvalDataFlow(props: IDataFlow) {\n return (\n \n \n \n );\n}\n","import React, { memo } from 'react';\nimport { Handle, Position } from 'reactflow';\nimport styled from 'styled-components';\nimport { Text } from '@/design.system';\nimport { ACTION_ICONS } from '@/assets';\nimport theme from '@/styles/palette';\n\nconst ActionContainer = styled.div`\n display: flex;\n flex-direction: column;\n padding: 8px;\n border-radius: 12px;\n border: ${({ theme }) => `solid 1px ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n align-items: center;\n gap: 4px;\n min-width: 80px;\n`;\n\nconst TextWrapper = styled.div`\n max-width: 72px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst SignalIndicator = styled.span<{ backgroundColor: string }>`\n background-color: ${({ backgroundColor }) => backgroundColor};\n width: 8px;\n height: 8px;\n border-radius: 8px;\n`;\n\nconst IconWrapper = styled.div`\n width: 24px;\n height: 24px;\n`;\n\ninterface ActionNodeProps {\n data: {\n type: string;\n spec?: {\n actionName?: string;\n signals: string[];\n };\n };\n isConnectable: boolean;\n}\n\nexport default memo(({ data, isConnectable }: ActionNodeProps) => {\n const ActionIcon = ACTION_ICONS[data.type] ? ACTION_ICONS[data.type] : null;\n\n return (\n \n \n {ActionIcon && (\n \n \n \n )}\n \n \n {data?.spec?.actionName || 'Action'}\n \n \n \n {data.spec?.signals.map((monitor: string) => (\n \n ))}\n
\n \n \n );\n});\n","import React from 'react';\nimport { Handle, Position } from 'reactflow';\nimport styled, { keyframes } from 'styled-components';\nconst flickerAnimation = keyframes`\n 0% {\n opacity: 1;\n\n }\n 100% {\n opacity: 0.5;\n }\n`;\n\nconst FlickerWrapper = styled.div`\n width: 120px;\n height: 120px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 60px;\n position: relative;\n z-index: 90;\n\n &::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border-radius: 60px;\n background: #110c1f55;\n z-index: -1;\n animation: ${flickerAnimation} 1s infinite alternate;\n }\n`;\n\nconst InnerWrapper = styled.div`\n width: 100px;\n height: 100px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n border: solid 1px #3a3a3a76;\n background: #110c1f7d;\n`;\n\nconst LogoContainer = styled.div`\n width: 80px;\n height: 80px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 40px;\n border: solid 1px #3a3a3aa9;\n background: #110c1f;\n position: relative;\n z-index: 99;\n`;\n\n// TypeScript Props Interface\ninterface OdigosCenterNodeProps {\n isConnectable: boolean;\n}\n\nconst OdigosCenterNode: React.FC = ({\n isConnectable,\n}) => {\n return (\n \n \n \n {/* */}\n \n \n \n \n \n \n );\n};\n\nexport default OdigosCenterNode;\n","import React, { memo } from 'react';\nimport { Handle, Position } from 'reactflow';\nimport { styled } from 'styled-components';\nimport { Text } from '@/design.system';\nimport { Folder } from '@/assets/icons/overview';\n\nconst NamespaceContainer = styled.div`\n display: flex;\n padding: 16px;\n border-radius: 12px;\n border: ${({ theme }) => `solid 1px ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n align-items: center;\n width: 272px;\n gap: 8px;\n`;\n\nconst TextWrapper = styled.div`\n gap: 10px;\n`;\n\nexport default memo(({ data, isConnectable }: any) => {\n return (\n \n \n \n \n {data?.name}\n \n {data?.totalAppsInstrumented && (\n {`${data.totalAppsInstrumented} Apps Instrumented`}\n )}\n \n \n \n );\n});\n","import * as React from \"react\";\nconst SvgMiddleware = props => ;\nexport default SvgMiddleware;","import * as React from \"react\";\nconst SvgFolder = props => ;\nexport default SvgFolder;","import React from 'react';\nimport theme from '@/styles/palette';\nimport { Text } from '@/design.system';\nimport { styled } from 'styled-components';\nimport { Handle, Position } from 'reactflow';\nimport { MONITORING_OPTIONS } from './monitors';\n\ninterface IconWrapperProps {\n tapped?: boolean | undefined | string;\n}\n\nconst DestinationNodeContainer = styled.div`\n padding: 16px 24px;\n display: flex;\n border-radius: 12px;\n gap: 8px;\n border: ${({ theme }) => `solid 1px ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n align-items: center;\n justify-content: space-between;\n width: 430px;\n`;\n\nexport const NodeDataWrapper = styled.div`\n display: flex;\n align-items: center;\n gap: 8px;\n`;\n\nconst TextWrapper = styled.div`\n gap: 8px;\n display: flex;\n flex-direction: column;\n width: 100%;\n`;\n\nconst IMAGE_STYLE: React.CSSProperties = {\n backgroundColor: '#fff',\n padding: 4,\n borderRadius: 10,\n};\n\nconst IconWrapper = styled.div`\n padding: 4px;\n width: 24px;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 100%;\n opacity: ${({ tapped }) => (tapped ? 1 : 0.4)};\n`;\n\nconst MonitorsListWrapper = styled.div`\n display: flex;\n gap: 8px;\n`;\n\nexport default function DestinationNode({ data, isConnectable }: any) {\n function renderMonitors() {\n return MONITORING_OPTIONS.map((monitor) => (\n \n {data?.signals?.[monitor?.type]\n ? monitor.icons.focus()\n : monitor.icons.notFocus()}\n \n ));\n }\n\n return (\n \n \n \n \n {data?.name}\n \n {data?.destination_type?.display_name}\n \n \n \n {renderMonitors()}\n \n \n );\n}\n","import * as React from \"react\";\nconst SvgLogsGrey = props => ;\nexport default SvgLogsGrey;","import * as React from \"react\";\nconst SvgLogsBlue = props => ;\nexport default SvgLogsBlue;","import * as React from \"react\";\nconst SvgChartLineGrey = props => ;\nexport default SvgChartLineGrey;","import * as React from \"react\";\nconst SvgChartLineBlue = props => ;\nexport default SvgChartLineBlue;","import * as React from \"react\";\nconst SvgTreeStructureGrey = props => ;\nexport default SvgTreeStructureGrey;","import * as React from \"react\";\nconst SvgTreeStructureBlue = props => ;\nexport default SvgTreeStructureBlue;","import Logs from '@/assets/icons/logs-grey.svg';\nimport LogsFocus from '@/assets/icons/logs-blue.svg';\nimport Metrics from '@/assets/icons/chart-line-grey.svg';\nimport MetricsFocus from '@/assets/icons/chart-line-blue.svg';\nimport Traces from '@/assets/icons/tree-structure-grey.svg';\nimport TracesFocus from '@/assets/icons/tree-structure-blue.svg';\n\nconst MONITORS = {\n LOGS: 'Logs',\n METRICS: 'Metrics',\n TRACES: 'Traces',\n};\n\nexport type MonitoringOption = {\n title: string;\n tapped: boolean;\n icons: object;\n id: number;\n};\n\nexport const MONITORING_OPTIONS = [\n {\n id: 1,\n icons: {\n notFocus: () => Logs(),\n focus: () => LogsFocus(),\n },\n title: MONITORS.LOGS,\n type: 'logs',\n tapped: true,\n },\n {\n id: 2,\n icons: {\n notFocus: () => Metrics(),\n focus: () => MetricsFocus(),\n },\n title: MONITORS.METRICS,\n type: 'metrics',\n tapped: true,\n },\n {\n id: 3,\n icons: {\n notFocus: () => Traces(),\n focus: () => TracesFocus(),\n },\n title: MONITORS.TRACES,\n type: 'traces',\n tapped: true,\n },\n];\n","import React, { memo } from 'react';\nimport Image from 'next/image';\nimport styled from 'styled-components';\nimport { Text } from '@/design.system';\nimport { LANGUAGES_LOGOS } from '@/assets';\nimport { Handle, Position } from 'reactflow';\n\nconst NamespaceContainer = styled.div`\n display: flex;\n padding: 16px;\n border-radius: 12px;\n border: ${({ theme }) => `solid 1px ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n align-items: center;\n width: 272px;\n gap: 8px;\n`;\n\nconst TextWrapper = styled.div`\n gap: 4px;\n display: flex;\n flex-direction: column;\n`;\n\nconst ImageWrapper = styled.div`\n padding: 4px;\n background-color: #fff;\n border-radius: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\ninterface NamespaceNodeProps {\n data: {\n namespace?: string;\n name?: string;\n languages?: { language: keyof typeof LANGUAGES_LOGOS }[];\n };\n isConnectable: boolean;\n}\n\nexport default memo(({ data, isConnectable }: NamespaceNodeProps) => {\n const languageKey = data?.languages?.[0]?.language || 'default';\n const lan = LANGUAGES_LOGOS[languageKey];\n\n return (\n \n \n \n \n \n {data.namespace}\n \n {data?.name}\n \n \n \n \n );\n});\n","import styled from 'styled-components';\n\nexport const DataFlowContainer = styled.div`\n width: 100%;\n height: 100%;\n`;\n\nexport const ControllerWrapper = styled.div`\n button {\n display: flex;\n padding: 8px;\n align-items: center;\n gap: 10px;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n background: #0e1c28 !important;\n margin-bottom: 8px;\n }\n\n .react-flow__controls button path {\n fill: #fff;\n }\n`;\n","// Import React and necessary components\nimport React, { useEffect, useState } from 'react';\nimport 'reactflow/dist/style.css';\nimport { Controls } from 'reactflow';\nimport theme from '@/styles/palette';\nimport styled from 'styled-components';\nimport { Text } from '../text/text.tsx';\nimport Open from '@/assets/icons/expand-arrow.svg';\nimport { ControllerWrapper } from './data.flow.styled.tsx';\n// Define styled components\nconst ControllerPanelWrapper = styled.div`\n position: absolute;\n z-index: 999;\n top: 15px;\n left: 60px;\n display: flex;\n flex-direction: column;\n gap: 14px;\n background-color: ${theme.colors.dark};\n padding: 10px;\n border-radius: 8px;\n border: 1px solid ${theme.colors.blue_grey};\n button {\n display: flex;\n padding: 8px;\n align-items: center;\n gap: 10px;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n background: #0e1c28 !important;\n margin-bottom: 8px;\n }\n\n .react-flow__controls button path {\n fill: #fff;\n }\n`;\n\nconst MonitorItem = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 14px;\n`;\n\nconst MonitorIndicator = styled.span<{ color: string }>`\n background-color: ${({ color }) => color};\n width: 10px;\n height: 10px;\n border-radius: 8px;\n margin-right: 6px;\n`;\n\nconst TitleWrapper = styled.div`\n display: flex;\n gap: 10px;\n cursor: pointer;\n`;\n\n// TypeScript type for monitor items\ninterface MonitorItem {\n name: string;\n color: string;\n}\n\nexport function DataFlowControlPanel() {\n const [isOpen, setOpen] = useState(true);\n\n useEffect(() => {\n setTimeout(() => {\n setOpen(false);\n }, 7000);\n }, []);\n\n const MONITORS: MonitorItem[] = [\n {\n name: 'Traces',\n color: theme.colors.traces,\n },\n {\n name: 'Logs',\n color: theme.colors.logs,\n },\n {\n name: 'Metrics',\n color: theme.colors.metrics,\n },\n ];\n\n return (\n <>\n \n setOpen(!isOpen)}>\n \n Supported Signals\n \n \n \n {isOpen && (\n \n {MONITORS.map((monitor) => (\n \n \n \n {monitor.name}\n \n
\n ))}\n \n )}\n \n \n \n \n >\n );\n}\n","import React from \"react\";\nimport { styled } from \"styled-components\";\nimport { Text } from \"../text/text\";\nimport theme from \"@/styles/palette\";\n\nconst DangerZoneWrapper = styled.div`\n padding: 10px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n border-radius: 8px;\n width: fit-content;\n width: 344px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n`;\n\nconst DangerButtonWrapper = styled.div`\n width: 100%;\n display: flex;\n justify-content: flex-end;\n :hover {\n background: ${({ theme }) => theme.colors.error};\n p {\n color: #fff !important;\n }\n }\n`;\n\nconst DangerButton = styled.button`\n padding: 8px 12px;\n border-radius: 4px;\n background: transparent;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n cursor: pointer !important;\n`;\n\ninterface DangerZoneProps {\n title: string;\n subTitle: string;\n btnText: string;\n onClick: () => void;\n}\n\nexport function DangerZone({\n title,\n subTitle,\n btnText,\n onClick,\n}: DangerZoneProps) {\n return (\n <>\n \n \n {title}\n \n {subTitle}\n \n \n \n {btnText}\n \n \n \n \n >\n );\n}\n","import React, { useCallback, useEffect, useRef } from 'react';\nimport PortalModal from './portal.modal';\nimport * as S from './modal.styled';\nimport { Props } from './types';\nimport { Text } from '../text/text';\nimport theme from '@/styles/palette';\nimport { useOnClickOutside } from '@/hooks';\nimport CloseIcon from '@/assets/icons/close-modal.svg';\nimport { Button } from '../button/button';\nimport { Link } from '../link/link';\nexport function Modal({ children, closeModal, config }: Props) {\n const modalRef = useRef(null);\n\n // handle what happens on click outside of modal\n const handleClickOutside = () => closeModal();\n\n // handle what happens on key press\n const handleKeyPress = useCallback((event: KeyboardEvent) => {\n if (event.key === 'Escape') closeModal();\n }, []);\n\n useOnClickOutside(modalRef, handleClickOutside);\n\n useEffect(() => {\n // attach the event listener if the modal is shown\n document.addEventListener('keydown', handleKeyPress);\n // remove the event listener\n return () => {\n document.removeEventListener('keydown', handleKeyPress);\n };\n }, [handleKeyPress]);\n\n return (\n <>\n \n \n \n {config.showHeader && (\n \n \n {config.title}\n \n \n )}\n\n \n \n \n\n {children}\n {config?.footer && (\n \n {config.footer.link && (\n \n )}\n {config.footer.secondaryBtnText && (\n \n )}\n \n \n )}\n \n \n \n >\n );\n}\n","import { useState, useLayoutEffect } from \"react\";\nimport { createPortal } from \"react-dom\";\n\ninterface Props {\n children: JSX.Element;\n wrapperId: string;\n}\n\nconst PortalModal = ({ children, wrapperId }: Props) => {\n const [portalElement, setPortalElement] = useState(null);\n\n useLayoutEffect(() => {\n let element = document.getElementById(wrapperId) as HTMLElement;\n let portalCreated = false;\n // if element is not found with wrapperId or wrapperId is not provided,\n // create and append to body\n if (!element) {\n element = createWrapperAndAppendToBody(wrapperId);\n portalCreated = true;\n }\n\n setPortalElement(element);\n\n // cleaning up the portal element\n return () => {\n // delete the programatically created element\n if (portalCreated && element.parentNode) {\n element.parentNode.removeChild(element);\n }\n };\n }, [wrapperId]);\n\n const createWrapperAndAppendToBody = (elementId: string) => {\n const element = document.createElement(\"div\");\n element.setAttribute(\"id\", elementId);\n document.body.appendChild(element);\n return element;\n };\n\n // portalElement state will be null on the very first render.\n if (!portalElement) return null;\n\n return createPortal(children, portalElement);\n};\n\nexport default PortalModal;\n","import styled, { keyframes } from 'styled-components';\nimport { ModalPositionX, ModalPositionY } from './types';\n\ninterface PropsOverlay {\n showOverlay: boolean;\n positionX: ModalPositionX;\n positionY: ModalPositionY;\n}\ninterface PropsModalContainer {\n padding: string;\n}\n\nconst fadeIn = keyframes`\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n`;\n\nexport const ModalButtonsContainer = styled.div`\n padding: 40px;\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n gap: 20px;\n`;\nexport const ModalButtonPrimary = styled.button`\n display: block;\n padding: 10px 30px;\n border-radius: 3px;\n color: ${({ theme }) => theme.colors.btnText};\n border: 1px solid ${({ theme }) => theme.colors.main};\n background-color: ${({ theme }) => theme.colors.main};\n font-family: 'Robot', sans-serif;\n font-weight: 500;\n transition: 0.3s ease all;\n\n &:hover {\n background-color: ${({ theme }) => theme.colors.shadowMain};\n }\n`;\nexport const ModalButtonSecondary = styled.button`\n display: block;\n padding: 10px 30px;\n border-radius: 3px;\n color: ${({ theme }) => theme.colors.main};\n border: 1px solid ${({ theme }) => theme.colors.main};\n background-color: transparent;\n font-family: 'Robot', sans-serif;\n font-weight: 500;\n transition: 0.3s ease all;\n\n &:hover {\n background-color: ${({ theme }) => theme.colors.shadowMain};\n color: ${({ theme }) => theme.colors.btnText};\n }\n`;\n\nexport const Overlay = styled.div`\n width: 100vw;\n height: 100vh;\n z-index: 9999;\n position: fixed;\n top: 0;\n left: 0;\n background-color: ${(props) =>\n props.showOverlay\n ? 'rgba(255, 255, 255, 0.1)'\n : 'rgba(255, 255, 255, 0.1)'};\n display: flex;\n align-items: center;\n justify-content: ${(props) => (props.positionX ? props.positionX : 'center')};\n align-items: ${(props) => (props.positionY ? props.positionY : 'center')};\n padding: 40px;\n\n @media (prefers-reduced-motion: no-preference) {\n animation-name: ${fadeIn};\n animation-fill-mode: backwards;\n }\n`;\nexport const ModalContainer = styled.div`\n min-width: 500px;\n min-height: 50px;\n /* background-color: #ffffff; */\n position: relative;\n /* border-radius: 8px; */\n border-radius: 12px;\n border: 0.95px solid var(--dark-mode-dark-3, #203548);\n background: var(--dark-mode-dark-2, #0e1c28);\n\n padding: ${(props) => (props.padding ? props.padding : '20px')};\n`;\nexport const ModalHeader = styled.header`\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-bottom: 20px;\n`;\n\nexport const Close = styled.div`\n position: absolute;\n top: 20px;\n right: 15px;\n border: none;\n background-color: transparent;\n transition: 0.3s ease all;\n border-radius: 3px;\n color: '#d1345b';\n cursor: pointer;\n\n svg {\n width: 24px;\n height: 24px;\n fill: #fff;\n }\n`;\n\nexport const PrimaryButton = styled.button`\n background-color: #ededed8b;\n border: 1px solid #d4d2d2;\n width: 100%;\n height: 36px;\n border-radius: 8px;\n cursor: pointer;\n\n &:hover {\n background-color: #ededed;\n }\n`;\n\nexport const Content = styled.div`\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n color: ${({ theme }) => theme.text};\n`;\nexport const ModalFooter = styled.footer`\n width: 100%;\n display: flex;\n gap: 1rem;\n align-items: center;\n justify-content: flex-end;\n margin-top: 20px;\n padding-top: 20px;\n`;\n","import * as React from \"react\";\nconst SvgCloseModal = props => ;\nexport default SvgCloseModal;","import theme from '@/styles/palette';\nimport React, { ReactNode } from 'react';\nimport StyledComponentsRegistry from './registry';\nimport { ThemeProvider } from 'styled-components';\ninterface ThemeProviderWrapperProps {\n children: ReactNode; // Add children prop with ReactNode type\n}\n\nexport const ThemeProviderWrapper: React.FC = ({\n children,\n}) => {\n return (\n \n {children}\n \n );\n};\n","'use client';\n\nimport React, { useState } from 'react';\nimport { useServerInsertedHTML } from 'next/navigation';\nimport { ServerStyleSheet, StyleSheetManager } from 'styled-components';\n\nexport default function StyledComponentsRegistry({\n children,\n}: {\n children: React.ReactNode;\n}) {\n // Only create stylesheet once with lazy initial state\n // x-ref: https://reactjs.org/docs/hooks-reference.html#lazy-initial-state\n const [styledComponentsStyleSheet] = useState(() => new ServerStyleSheet());\n\n useServerInsertedHTML(() => {\n const styles = styledComponentsStyleSheet.getStyleElement();\n styledComponentsStyleSheet.instance.clearTag();\n return <>{styles}>;\n });\n\n if (typeof window !== 'undefined') return <>{children}>;\n\n return (\n \n {children}\n \n );\n}\n","import React from \"react\";\nimport StepItem from \"./step.item\";\nimport { StepsContainer } from \"./steps.styled\";\n\ntype StepListProps = {\n data?: Array | null;\n};\n\nexport function Steps({ data }: StepListProps) {\n function renderSteps() {\n return data?.map(({ title, status }: any, index) => (\n \n ));\n }\n\n return {renderSteps()};\n}\n","import { FloatBox } from \"@/design.system/float.box/float.box\";\nimport { Text } from \"@/design.system/text/text\";\nimport React from \"react\";\nimport {\n StepItemTextWrapper,\n StepItemBorder,\n StepItemWrapper,\n FloatingBoxTextWrapper,\n} from \"./steps.styled\";\nimport Done from \"@/assets/icons/checked.svg\";\n\ntype StepItemProps = {\n title: string;\n index: number;\n status: string;\n isLast: boolean;\n};\n\nenum Status {\n Done = \"done\",\n Active = \"active\",\n Disabled = \"disabled\",\n}\n\nexport default function StepItem({\n title,\n index,\n status,\n isLast,\n}: StepItemProps) {\n return (\n \n \n {status === Status.Done ? (\n \n ) : (\n \n {index}\n \n )}\n \n \n {title}\n \n {!isLast && }\n \n );\n}\n","import styled from \"styled-components\";\n\ninterface DisabledProp {\n disabled: boolean;\n}\nexport const StepsContainer = styled.div`\n display: flex;\n`;\n\nexport const StepItemWrapper = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const FloatingBoxTextWrapper = styled.div`\n opacity: ${({ disabled }) => (disabled ? \"0.4\" : \"1\")};\n`;\n\nexport const StepItemTextWrapper = styled(FloatingBoxTextWrapper)`\n margin: 0 8px;\n`;\n\nexport const StepItemBorder = styled.div`\n width: 54px;\n height: 1px;\n background-color: #8b92a5;\n margin-top: 2px;\n margin-right: 8px;\n`;\n","import * as React from \"react\";\nconst SvgChecked = props => ;\nexport default SvgChecked;","import React from 'react';\nimport styled from 'styled-components';\nimport { Text } from '..';\n\nconst DividerContainer = styled.div<{ margin: string }>`\n width: 100%;\n display: flex;\n align-items: center;\n gap: 23px;\n margin: ${({ margin }) => margin};\n`;\n\nconst DividerLine = styled.div`\n width: 100%;\n border-top: 1px solid #8b92a5;\n`;\n\nexport function Divider({\n margin = '32px 0',\n label = 'or',\n}: {\n margin?: string;\n label?: string;\n}) {\n return (\n \n \n {label}\n \n \n );\n}\n","import React, { useEffect } from 'react';\nimport styled from 'styled-components';\nimport { Text } from '..';\n\nconst NoteContainer = styled.div`\n padding: 16px;\n display: flex;\n justify-content: flex-start !important;\n border: 1px solid ${({ theme }) => theme.colors.dark_blue};\n border-radius: 12px;\n`;\n\nconst TextContainer = styled.div`\n line-height: 1.6;\n code {\n background-color: ${({ theme }) => theme.colors.dark_blue};\n padding: 2px 4px;\n border-radius: 6px;\n }\n`;\n\nexport function Note({ text, code }: { text: string; code?: string[] }) {\n useEffect(() => {\n buildNote();\n }, []);\n\n function buildNote() {\n let value = text;\n if (code) {\n code.forEach((c, index) => {\n value = value.replace(`$code${index}`, `${c}
`);\n });\n }\n\n return (\n Note: ${value}`,\n }}\n >\n );\n }\n\n return (\n \n {buildNote()}\n \n );\n}\n","'use client';\n\nimport React from 'react';\nimport styled from 'styled-components';\nimport { Text } from '..';\nimport { Folders } from '@/assets/icons';\n\nconst SegmentedControlsWrapper = styled.div`\n display: inline-flex;\n justify-content: space-between;\n border-radius: 10px;\n margin: auto;\n overflow: hidden;\n position: relative;\n`;\nconst SegmentedControlsOption = styled.div`\n color: ${({ theme }) => theme.colors.white};\n padding: 8px 12px;\n position: relative;\n text-align: center;\n display: flex;\n gap: 8px;\n align-items: center;\n justify-content: center;\n z-index: 1;\n border: ${({ theme }) => `1px solid ${theme.colors.secondary}`};\n background-color: ${({ theme }) => theme.colors.dark};\n filter: brightness(50%);\n &.active {\n filter: brightness(100%);\n }\n &:first-child {\n border-top-left-radius: 10px;\n border-bottom-left-radius: 10px;\n padding-left: 16px;\n }\n &:last-child {\n border-top-right-radius: 10px;\n border-bottom-right-radius: 10px;\n padding-right: 16px;\n }\n label {\n font-family: ${({ theme }) => theme.font_family.primary};\n }\n`;\n\nconst SegmentedControlsInput = styled.input`\n opacity: 0;\n margin: 0;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n position: absolute;\n width: 100%;\n cursor: pointer;\n height: 100%;\n`;\n\nexport function SegmentedControls({\n options,\n selected,\n onChange,\n title,\n}: {\n options: { label: string; id: string }[];\n selected: string;\n onChange: (selected: string) => void;\n title?: string;\n}) {\n return (\n \n {title && (\n \n {title}\n \n )}\n \n {options?.map((option) => (\n \n \n onChange(option.id)}\n checked={option.id === selected}\n />\n {option.label}\n \n ))}\n \n
\n );\n}\n","import React, { useState, KeyboardEvent } from 'react';\nimport { Text } from '../text/text';\nimport theme from '@/styles/palette';\nimport styled from 'styled-components';\nimport { Input as BaseInput } from '../input/input';\nimport { Button as BaseButton } from '../button/button';\nimport { Tooltip } from '../tooltip';\n\ninterface MultiInputProps {\n initialList?: string[];\n onListChange?: (list: string[]) => void;\n placeholder?: string;\n limit?: number;\n title?: string;\n tooltip?: string;\n}\n\nexport const MultiInput: React.FC = ({\n initialList = [],\n onListChange,\n placeholder = 'Add item to list',\n title,\n tooltip,\n}) => {\n const [inputValue, setInputValue] = useState('');\n const [list, setList] = useState(initialList);\n\n const handleInputChange = (e: string) => {\n setInputValue(e);\n };\n\n const handleAddToList = () => {\n if (inputValue.trim() !== '') {\n const newList = [...list, inputValue];\n setList(newList);\n setInputValue('');\n onListChange && onListChange(newList);\n }\n };\n\n const handleRemoveFromList = (indexToRemove: number) => {\n const newList = list.filter((_, index) => index !== indexToRemove);\n setList(newList);\n onListChange && onListChange(newList);\n };\n\n return (\n <>\n {title && (\n \n \n \n {title}\n \n \n \n )}\n \n \n {list.map((item, index) => (\n handleRemoveFromList(index)}>\n \n {item}\n \n \n \n ))}\n \n \n handleInputChange(e)}\n />\n \n \n \n >\n );\n};\n\n// Styled components\nconst Container = styled.div`\n width: 100%;\n`;\n\nconst ListContainer = styled.div`\n display: flex;\n width: 110%;\n flex-wrap: wrap;\n`;\n\nconst ListItem = styled.div`\n cursor: pointer;\n padding: 2px 8px;\n margin: 3px;\n border-radius: 5px;\n background: ${theme.colors.light_grey};\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 5px;\n min-height: 30px;\n`;\n\nconst InputContainer = styled.div`\n display: flex;\n gap: 10px;\n width: 100%;\n height: 37px;\n`;\n\nconst Input = styled(BaseInput)`\n width: 100%;\n`;\n\nconst Button = styled(BaseButton)`\n margin-left: 10px;\n`;\n\nconst TitleWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n`;\n","import React, { useState } from 'react';\nimport styled from 'styled-components';\nimport theme from '@/styles/palette';\nimport { Tooltip } from '../tooltip';\nimport { Text } from '../text/text';\nimport { Trash } from '@/assets/icons';\n\nexport interface KeyValue {\n id: number;\n key: string;\n value: string;\n}\n\nexport const Container = styled.div`\n width: 100%;\n`;\n\nexport const TitleWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n`;\n\nconst Table = styled.table`\n border: solid 1px ${theme.text.grey};\n text-align: center;\n border-spacing: 0;\n border-radius: 8px;\n width: 100%;\n`;\n\nexport const Th = styled.th`\n padding: 4px;\n`;\n\nexport const Td = styled.td<{ right?: boolean; left?: boolean }>`\n padding: 8px 0;\n\n border-top: solid 1px ${theme.text.grey};\n border-right: ${({ right }) =>\n right ? `solid 1px ${theme.text.grey}` : 'none'};\n border-left: ${({ left }) =>\n left ? `solid 1px ${theme.text.grey}` : 'none'};\n`;\n\nexport const Input = styled.input`\n background: transparent;\n border: none;\n width: 94%;\n\n outline: none;\n color: ${theme.text.white};\n`;\n\nexport const AddRowButton = styled.td`\n text-align: center;\n border-top: solid 1px ${theme.text.grey};\n padding: 4px;\n cursor: pointer;\n`;\n\nexport interface KeyValueTableProps {\n keyValues: KeyValue[];\n setKeyValues: (keyValues: KeyValue[]) => void;\n title?: string;\n titleKey?: string;\n titleValue?: string;\n tooltip?: string;\n titleButton?: string;\n required?: boolean;\n}\n\nexport const KeyValueTable: React.FC = ({\n keyValues,\n setKeyValues,\n title,\n titleKey,\n titleValue,\n titleButton,\n tooltip,\n required,\n}: KeyValueTableProps) => {\n const [nextId, setNextId] = useState(1);\n\n const addRow = () => {\n const newKeyValue: KeyValue = {\n id: nextId,\n key: '',\n value: '',\n };\n setKeyValues([...keyValues, newKeyValue]);\n setNextId(nextId + 1);\n };\n\n const deleteRow = (id: number) => {\n const value = keyValues.filter((kv) => kv.id !== id);\n setKeyValues(value);\n };\n\n const updateKey = (id: number, newKey: string) => {\n const updatedKeyValues = keyValues.map((kv) =>\n kv.id === id ? { ...kv, key: newKey } : kv\n );\n setKeyValues(updatedKeyValues);\n };\n\n const updateValue = (id: number, newValue: string) => {\n const updatedKeyValues = keyValues.map((kv) =>\n kv.id === id ? { ...kv, value: newValue } : kv\n );\n setKeyValues(updatedKeyValues);\n };\n\n return (\n \n {title && (\n \n \n \n \n {title}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n \n );\n};\n","import React from 'react';\nimport styled from 'styled-components';\nimport { Text } from '../text/text';\nimport { Tooltip } from '../tooltip';\nimport theme from '@/styles/palette';\n// Define the props for the TextArea component\nexport interface TextAreaProps {\n placeholder?: string;\n value?: string;\n onChange: (e: React.ChangeEvent) => void;\n rows?: number;\n cols?: number;\n label?: string;\n tooltip?: string;\n required?: boolean;\n}\n\n// Styled textarea\nconst StyledTextArea = styled.textarea<{ active?: boolean }>`\n width: 100%;\n padding: 8px 12px;\n border-radius: 8px;\n box-sizing: border-box;\n resize: vertical;\n\n outline: none;\n color: ${({ theme }) => theme.text.white};\n font-family: ${theme.font_family.primary};\n background-color: ${({ theme }) => theme.colors.light_dark};\n border: ${({ theme, active }) =>\n `1px solid ${active ? theme.text.grey : theme.colors.blue_grey}`};\n &:hover {\n border: ${({ theme }) => `solid 1px ${theme.text.grey}`};\n }\n`;\nconst LabelWrapper = styled.div`\n margin-bottom: 8px;\n text-align: start;\n`;\n\nexport const TextArea: React.FC = ({\n placeholder,\n value,\n onChange,\n rows = 4,\n cols = 50,\n tooltip,\n label,\n required,\n}) => {\n return (\n <>\n {label && (\n \n \n \n \n {label}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n >\n );\n};\n","import React, { useEffect, useRef, useState } from 'react';\nimport styled from 'styled-components';\nimport theme from '@/styles/palette';\nimport { Tooltip } from '../tooltip';\nimport { Text } from '../text/text';\nimport { Trash } from '@/assets/icons';\n\nexport const Container = styled.div`\n width: 100%;\n`;\n\nexport const TitleWrapper = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 8px;\n`;\n\nexport const Table = styled.table`\n border: solid 1px ${theme.text.grey};\n text-align: center;\n border-spacing: 0;\n border-radius: 8px;\n width: 100%;\n`;\n\nexport const Th = styled.th`\n padding: 4px;\n`;\n\nexport const Td = styled.td<{ right?: boolean; left?: boolean }>`\n padding: 8px 0;\n\n border-bottom: solid 1px ${theme.text.grey};\n border-right: ${({ right }) =>\n right ? `solid 1px ${theme.text.grey}` : 'none'};\n border-left: ${({ left }) =>\n left ? `solid 1px ${theme.text.grey}` : 'none'};\n`;\n\nexport const Input = styled.input`\n background: transparent;\n border: none;\n width: 94%;\n\n outline: none;\n color: ${theme.text.white};\n`;\n\nexport const AddRowButton = styled.td`\n text-align: center;\n padding: 4px;\n cursor: pointer;\n`;\n\nexport interface MultiInputTableProps {\n values: string[];\n title?: string;\n tooltip?: string;\n onValuesChange: (newValues: string[]) => void;\n required?: boolean;\n placeholder?: string;\n}\n\nexport const MultiInputTable: React.FC = ({\n values,\n title,\n tooltip,\n onValuesChange,\n required,\n placeholder,\n}) => {\n const addRow = () => {\n onValuesChange([...values, '']);\n };\n\n const deleteRow = (index: number) => {\n const updatedValues = values.filter((_, i) => i !== index);\n onValuesChange(updatedValues);\n };\n\n const updateValue = (index: number, newValue: string) => {\n const updatedValues = values.map((value, i) =>\n i === index ? newValue : value\n );\n onValuesChange(updatedValues);\n };\n\n return (\n \n {title && (\n \n \n \n \n {title}\n \n {required && (\n \n {'*'}\n \n )}\n
\n \n \n )}\n \n \n );\n};\n","import React from 'react';\nimport { ActionItem } from '../action.item';\n\n// Define the type for individual action items\ninterface ActionItem {\n label: string;\n onClick: () => void;\n id: string;\n selected?: boolean;\n disabled?: boolean;\n}\n\n// Define the type for the groups of action items, including any conditional rendering logic\ninterface ActionGroup {\n label: string;\n subTitle: string;\n items: ActionItem[];\n condition?: boolean; // Optional condition to determine if the group should be rendered\n}\n\n// Props for the container component that will render the list of action groups\ninterface ActionsListProps {\n actionGroups: ActionGroup[];\n}\n\nexport const ActionsGroup: React.FC = ({ actionGroups }) => {\n return (\n <>\n {actionGroups.map(\n (group, index) =>\n group.condition && \n )}\n >\n );\n};\n","import { useOnClickOutside } from '@/hooks';\nimport React, { useRef, useState } from 'react';\nimport styled from 'styled-components';\nimport { Text } from '../text/text';\nimport { Check, Expand } from '@/assets';\n\n// Styled components\nconst Label = styled.label`\n cursor: pointer;\n display: flex;\n gap: 4px;\n p {\n color: ${({ theme }) => theme.colors.light_grey};\n &:hover {\n color: ${({ theme }) => theme.colors.white};\n }\n }\n`;\n\nconst Popup = styled.div<{ isOpen: boolean }>`\n display: ${(props: { isOpen: boolean }) => (props.isOpen ? 'block' : 'none')};\n position: absolute;\n right: 0px;\n box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);\n z-index: 9999;\n flex-direction: column;\n border-radius: 8px;\n border: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n background: ${({ theme }) => theme.colors.dark};\n margin-top: 5px;\n`;\n\nconst PopupItem = styled.div<{ disabled: boolean }>`\n display: flex;\n padding: 7px 12px;\n gap: 4px;\n border-top: ${({ theme }) => `1px solid ${theme.colors.blue_grey}`};\n align-items: center;\n opacity: ${({ disabled }) => (disabled ? 0.5 : 1)};\n pointer-events: ${({ disabled }) => (disabled ? 'none' : 'auto')};\n cursor: pointer;\n p {\n cursor: pointer !important;\n }\n\n &:hover {\n background: ${({ theme }) => theme.colors.light_dark};\n }\n`;\n\ninterface Item {\n label: string;\n onClick: () => void;\n id: string;\n selected?: boolean;\n disabled?: boolean;\n}\n\ninterface ActionItemProps {\n label: string;\n subTitle: string;\n items: Item[];\n}\n\nexport const ActionItem: React.FC = ({\n label,\n items,\n subTitle,\n}) => {\n const [isOpen, setIsOpen] = useState(false);\n const ref = useRef(null);\n useOnClickOutside(ref, () => setIsOpen(false));\n\n return (\n \n
\n
\n \n \n {subTitle}\n \n
\n {items.map((item, index) => (\n \n {item.selected ? : }\n \n {item.label}\n \n \n ))}\n \n
\n );\n};\n","import React from 'react';\nimport styled from 'styled-components';\n\nimport theme from '@/styles/palette';\nimport { Expand } from '@/assets';\n\ntype PaginationProps = {\n total: number;\n itemsPerPage: number;\n currentPage: number;\n onPageChange: (page: number) => void;\n};\n\nconst PaginationContainer = styled.div`\n display: flex;\n justify-content: center;\n padding: 20px;\n gap: 2px;\n`;\n\nconst PageButton = styled.button<{\n isCurrentPage?: boolean;\n isDisabled?: boolean;\n}>`\n background-color: ${(props) =>\n props.isCurrentPage ? theme.colors.blue_grey : 'transparent'};\n color: ${(props) => (props.isDisabled ? theme.text.grey : theme.text.white)};\n border: none;\n border-radius: 4px;\n padding: 4px 8px;\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 4px;\n\n &:disabled {\n cursor: default;\n }\n\n &:hover {\n background-color: ${theme.colors.blue_grey};\n }\n`;\n\nexport const Pagination: React.FC = ({\n total,\n itemsPerPage,\n currentPage,\n onPageChange,\n}) => {\n const pageCount = Math.ceil(total / itemsPerPage);\n\n return (\n \n onPageChange(currentPage - 1)}\n disabled={currentPage === 1}\n isDisabled={currentPage === 1}\n >\n \n Previous\n \n {new Array(pageCount).fill(0).map((_, index) => (\n onPageChange(index + 1)}\n isCurrentPage={currentPage === index + 1}\n >\n {index + 1}\n \n ))}\n onPageChange(currentPage + 1)}\n disabled={currentPage === pageCount}\n isDisabled={currentPage === pageCount}\n >\n Next\n \n \n \n );\n};\n","import theme from '@/styles/palette';\nimport styled from 'styled-components';\nimport React, { useState } from 'react';\nimport { Pagination } from '../pagination';\n\n// Updated TableProps to be generic\ntype TableProps = {\n data: T[];\n renderTableHeader: () => JSX.Element;\n renderTableRows: (item: T, index: number) => JSX.Element;\n renderEmptyResult: () => JSX.Element;\n onPaginate?: (pageNumber: number) => void;\n};\n\nconst StyledTable = styled.table`\n width: 100%;\n background-color: ${theme.colors.dark};\n border: 1px solid ${theme.colors.blue_grey};\n border-radius: 6px;\n border-collapse: separate;\n border-spacing: 0;\n`;\n\nconst StyledTbody = styled.tbody``;\n\n// Applying generic type T to the Table component\nexport const Table = ({\n data,\n onPaginate,\n renderTableRows,\n renderTableHeader,\n renderEmptyResult,\n}: TableProps) => {\n const [currentPage, setCurrentPage] = useState(1);\n const [itemsPerPage, setItemsPerPage] = useState(10);\n\n const indexOfLastItem = currentPage * itemsPerPage;\n const indexOfFirstItem = indexOfLastItem - itemsPerPage;\n const currentItems = data.slice(indexOfFirstItem, indexOfLastItem);\n\n const handlePageChange = (pageNumber: number) => {\n setCurrentPage(pageNumber);\n if (onPaginate) {\n onPaginate(pageNumber);\n }\n };\n\n return (\n <>\n \n {renderTableHeader()}\n \n {currentItems.map((item, index) => renderTableRows(item, index))}\n \n \n\n {data.length === 0 ? (\n renderEmptyResult()\n ) : data.length > 10 ? (\n \n ) : null}\n >\n );\n};\n","import React, { useState } from 'react';\nimport YamlEditor from '@focus-reactive/react-yaml';\nimport styled from 'styled-components';\nimport theme from '@/styles/palette';\nimport { Copied, Copy } from '@/assets';\n\nconst Container = styled.div`\n position: relative;\n background-color: ${theme.colors.blue_grey};\n border-radius: 8px;\n padding: 4px;\n\n div {\n color: #f5b175;\n }\n .ͼb {\n color: #64a8fd;\n }\n .ͼm {\n color: ${theme.colors.white};\n }\n .ͼd {\n color: #f5b175;\n }\n .ͼc {\n color: #f5b175;\n }\n .cm-gutters {\n display: none;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n }\n`;\n\nconst EditorOverlay = styled.div`\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 10; // Ensure this is higher than the editor's z-index\n`;\n\nconst CopyIconWrapper = styled.div`\n background-color: ${theme.colors.dark};\n z-index: 999;\n border-radius: 4px;\n padding: 4px;\n position: absolute;\n top: 5px;\n right: 5px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n pointer-events: all;\n`;\n\nexport const YMLEditor = ({ data }: { data: any }) => {\n const [isCopied, setIsCopied] = useState(false);\n\n const handleChange = () => {};\n\n const handleCopy = () => {\n navigator.clipboard\n .writeText(JSON.stringify(data, null, 2))\n .then(() => {\n setIsCopied(true);\n setTimeout(() => {\n setIsCopied(false);\n }, 3000);\n })\n .catch((err) => console.error('Error copying YAML to clipboard: ', err));\n };\n return (\n <>\n \n \n {isCopied ? (\n \n ) : (\n \n )}\n \n\n \n \n \n
\n \n >\n );\n};\n","const sources = [\n {\n name: 'adservice',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'server',\n language: 'java',\n },\n ],\n },\n {\n name: 'cartservice',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'server',\n language: 'dotnet',\n },\n ],\n },\n {\n name: 'checkoutservice',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'server',\n language: 'go',\n },\n ],\n },\n {\n name: 'coupon',\n kind: 'Deployment',\n namespace: 'default',\n languages: [\n {\n container_name: 'coupon',\n language: 'javascript',\n },\n ],\n },\n];\n\nconst destinations = [\n {\n id: 'odigos.io.dest.elasticsearch-6qklw',\n name: 'Elasticsearch',\n type: 'elasticsearch',\n signals: {\n traces: true,\n metrics: false,\n logs: true,\n },\n fields: {\n ELASTICSEARCH_CA_PEM:\n '-----BEGIN CERTIFICATE-----\\nMIIDIjCCAgqgAwIBAgIRANR/chGx5YexmqgwbVphZR8wDQYJKoZIhvcNAQELBQAw\\nGzEZMBcGA1UEAxMQZWxhc3RpY3NlYXJjaC1jYTAeFw0yNDAzMDYxMjUwNTFaFw0y\\nNTAzMDYxMjUwNTFaMBsxGTAXBgNVBAMTEGVsYXN0aWNzZWFyY2gtY2EwggEiMA0G\\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQClNK8WB2C2aRC1xPkT9Vx3t2I8D8vE\\nz4/XKi5djhqZx56VclUmnTGwwJSB6t+9eODVGM8HUBeZTw5r5VU3wz5KO34LfX/X\\nDgeZf7jRE4JvNti+ufhYeXhX6yWt2y1lisTy89BMZA1/4r6UBamhDZ9zjC7++hNy\\n21S+mgul4zrjC1fBfjz8O42jjkamNcq3SoQHn9puWPhsOBOc4SowJMFN6YIRf3Vy\\nPvOuG8wP5uCU14dICW7X5M1JqHpcOTW0W7S5JLcVkozrqEQhQ3lc5f4OE0/GYQ5S\\np5sesAUyv9Koiipx3gGvip2+E2Rf2nlLNNMYeFDKyRVmbxkOmIy6PVQdAgMBAAGj\\nYTBfMA4GA1UdDwEB/wQEAwICpDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUH\\nAwIwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUUh7RgBmgPOCGeP3hFqoVC689\\nm4kwDQYJKoZIhvcNAQELBQADggEBAJCpewxuRV0s6EftuHI7Q1PJDYImDv54D1GI\\n57nJwdhCZbvJ69m5hjtOAb7ZCerzJQKvN4sEcvcWPMJs15nBNXW+9fF0zN5RjBqU\\nV8HA22bw8h+00lGUiozgG4DmFkd0GG35qjhPe9PyirOumiaSi2aGMUiWtkOgAFE2\\nDKGLleYFdjDbfQjva/ViUJTo6I7b283foWEqkbaa58ju5QOtjpo09GOmyBXeXHoU\\nbLnUqBAALo7FDSdKyMjWRLKSo2rc7jRn98jXzPqRaVuYhEGn+77GnkA5d3ea3fHP\\nIrj44yKh8na1xqPEHEvryj9LnKL+yCpQILj5L+jIHVopTmQWyLQ=\\n-----END CERTIFICATE-----',\n ELASTICSEARCH_PASSWORD: 'Elasticsearch',\n ELASTICSEARCH_URL: 'Elasticsearch',\n ELASTICSEARCH_USERNAME: 'Elasticsearch',\n ES_LOGS_INDEX: 'Elasticsearch',\n ES_TRACES_INDEX: 'Elasticsearch',\n },\n destination_type: {\n type: 'elasticsearch',\n display_name: 'Elasticsearch',\n image_url: 'https:/d15jtxgb40qetw.cloudfront.net/elasticsearch.svg',\n supported_signals: {\n traces: {\n supported: true,\n },\n metrics: {\n supported: false,\n },\n logs: {\n supported: true,\n },\n },\n },\n },\n {\n id: 'odigos.io.dest.grafanacloudprometheus-2mcbr',\n name: 'Prometheus',\n type: 'grafanacloudprometheus',\n signals: {\n traces: false,\n metrics: true,\n logs: false,\n },\n fields: {\n GRAFANA_CLOUD_PROMETHEUS_PASSWORD: 'Prometheus',\n GRAFANA_CLOUD_PROMETHEUS_RW_ENDPOINT: 'Prometheus',\n GRAFANA_CLOUD_PROMETHEUS_USERNAME: 'Prometheus',\n PROMETHEUS_RESOURCE_ATTRIBUTES_LABELS:\n '[\"k8s.container.name\",\"k8s.pod.name\",\"k8s.namespace.name\",\"Prometheus\"]',\n PROMETHEUS_RESOURCE_EXTERNAL_LABELS: '{\"dsfd\":\"fdsfs\"}',\n },\n destination_type: {\n type: 'grafanacloudprometheus',\n display_name: 'Grafana Cloud Prometheus',\n image_url: 'https:/d15jtxgb40qetw.cloudfront.net/grafana.svg',\n supported_signals: {\n traces: {\n supported: false,\n },\n metrics: {\n supported: true,\n },\n logs: {\n supported: false,\n },\n },\n },\n },\n {\n id: 'odigos.io.dest.s3-gk7bn',\n name: 'aws',\n type: 's3',\n signals: {\n traces: true,\n metrics: true,\n logs: true,\n },\n fields: {\n S3_BUCKET: 'aws',\n S3_MARSHALER: 'otlp_proto',\n S3_PARTITION: 'minute',\n S3_REGION: 'aws',\n },\n destination_type: {\n type: 's3',\n display_name: 'AWS S3',\n image_url: 'https:/d15jtxgb40qetw.cloudfront.net/s3.svg',\n supported_signals: {\n traces: {\n supported: true,\n },\n metrics: {\n supported: true,\n },\n logs: {\n supported: true,\n },\n },\n },\n },\n];\n\nconst action = [\n {\n id: 'aci-f6c9f',\n type: 'AddClusterInfo',\n spec: {\n actionName: 'This is tetst test Cluster Attributes',\n notes:\n 'Actions are a way to modify the OpenTelemetry data recorded by Odigos Sources, before it is exported to your Odigos Destinations.',\n signals: ['METRICS', 'TRACES'],\n clusterAttributes: [\n {\n attributeName: 'Attributes',\n attributeStringValue: 'Attributes',\n },\n ],\n },\n },\n {\n id: 'aci-hfgcb',\n type: 'DeleteAttribute',\n spec: {\n actionName: 'Link',\n notes: 'Link to docs',\n signals: ['LOGS', 'METRICS', 'TRACES'],\n clusterAttributes: [\n {\n attributeName: 'sadsad',\n attributeStringValue: 'sadsa',\n },\n {\n attributeName: 'asdsa',\n attributeStringValue: 'asdasd',\n },\n ],\n },\n },\n {\n id: 'aci-r67mp',\n type: 'RenameAttribute',\n spec: {\n actionName: 'Initialize Initialize',\n notes: 'This is the initialization phase of the cluster.',\n signals: ['LOGS', 'METRICS', 'TRACES'],\n clusterAttributes: [\n {\n attributeName: 'region',\n attributeStringValue: 'us-east-1',\n },\n {\n attributeName: 'instanceType',\n attributeStringValue: 't2.micro',\n },\n {\n attributeName: 'availabilityZones',\n attributeStringValue: '3',\n },\n ],\n },\n },\n];\n\ninterface Source {\n name: string;\n kind: string;\n namespace: string;\n conditions?: {\n type: string;\n status: string;\n message: string;\n lastTransitionTime: string;\n }[];\n languages: Array<{\n container_name: string;\n language: string;\n }>;\n}\n\ninterface Destination {\n id: string;\n name: string;\n type: string;\n signals: {\n traces: boolean;\n metrics: boolean;\n logs: boolean;\n };\n fields: Record;\n conditions?: {\n type: string;\n status: string;\n message: string;\n lastTransitionTime: string;\n }[];\n destination_type: {\n type: string;\n display_name: string;\n image_url: string;\n supported_signals: {\n traces: {\n supported: boolean;\n };\n metrics: {\n supported: boolean;\n };\n logs: {\n supported: boolean;\n };\n };\n };\n}\n\ninterface Action {\n id: string;\n type: string;\n spec: {\n actionName: string;\n notes: string;\n signals: string[];\n };\n}\n\ninterface FlowNode {\n id: string;\n type: string;\n position: { x: number; y: number };\n data: any;\n}\n\ninterface FlowEdge {\n id: string;\n source: string;\n target: string;\n animated: boolean;\n label?: string;\n style?: Record;\n data?: any;\n}\n\nexport const buildFlowNodesAndEdges = (\n sources: Source[],\n destinations: Destination[],\n actions: Action[]\n): { nodes: FlowNode[]; edges: FlowEdge[] } => {\n let nodes: FlowNode[] = [],\n edges: FlowEdge[] = [];\n const centerNodeId = 'center-1';\n const xOffsetNamespace = 100;\n\n const destinations_length = destinations.length;\n let middle_index;\n\n if (destinations_length % 2 == 1) {\n middle_index = Math.floor(destinations_length / 2);\n } else {\n middle_index = destinations_length / 2 - 1;\n }\n\n // Desired y position for the middle node\n const desired_y_position = 248;\n\n // Calculate destinationyOffset\n const destinationyOffset = desired_y_position - middle_index * 100;\n\n const sources_length = sources.length;\n let middle_index_sources;\n\n if (sources_length % 2 == 1) {\n middle_index_sources = Math.floor(sources_length / 2);\n } else {\n middle_index_sources = sources_length / 2 - 1;\n }\n\n const sourceyOffset = desired_y_position - middle_index_sources * 100;\n\n // Create the center node\n const centerXPossition =\n actions?.length > 0 ? actions?.length * 150 + 400 : 450;\n nodes.push({\n id: centerNodeId,\n type: 'custom',\n position: { x: centerXPossition, y: 248 },\n data: { label: 'Center Node' },\n });\n\n // Create namespace nodes from sources and edges to the center\n sources.forEach((source, index) => {\n let hasError = false;\n if (source?.conditions) {\n hasError = source.conditions.some(\n (condition) => condition.status === 'False'\n );\n }\n const namespaceNodeId = `namespace-${index}`;\n nodes.push({\n id: namespaceNodeId,\n type: 'source',\n position: { x: xOffsetNamespace, y: sourceyOffset + index * 100 },\n data: source,\n });\n edges.push({\n id: `e${namespaceNodeId}-${centerNodeId}`,\n source: namespaceNodeId,\n target: actions?.length > 0 ? `action-0` : centerNodeId,\n animated: true,\n style: { stroke: hasError ? '#ff0000' : '#96f3ff8e' },\n data: null,\n });\n });\n\n // Create destination nodes and edges from the center\n destinations.forEach((destination, index) => {\n let isErrored = false;\n if (destination?.conditions) {\n isErrored = destination.conditions.some(\n (condition) => condition.status === 'False'\n );\n }\n const destinationNodeId = `destination-${index}`;\n nodes.push({\n id: destinationNodeId,\n type: 'destination',\n position: {\n x: centerXPossition + 400,\n y: destinationyOffset + index * 100,\n },\n data: destination,\n });\n edges.push({\n id: `e${centerNodeId}-${destinationNodeId}`,\n source: centerNodeId,\n target: destinationNodeId,\n animated: true,\n style: { stroke: isErrored ? '#ff0000' : '#96f3ff8e' },\n data: null,\n });\n });\n\n // Create action nodes and edges from the center\n actions.forEach((action, index) => {\n const actionNodeId = `action-${index}`;\n const nextActionNodeId = `action-${index + 1}`;\n nodes.push({\n id: actionNodeId,\n type: 'action',\n position: { x: 420 + index * 125, y: 250 },\n data: action,\n });\n edges.push({\n id: `e${centerNodeId}-${actionNodeId}`,\n source: actionNodeId,\n target: index + 1 === actions.length ? centerNodeId : nextActionNodeId,\n animated: true,\n style: { stroke: '#96f3ff8e' },\n data: null,\n });\n });\n\n return { nodes, edges };\n};\n\n// Example usage with typed data\nexport const { nodes, edges } = buildFlowNodesAndEdges(\n sources,\n destinations,\n action\n);\n"],"mappings":";AAAA,OAAOA,YAA0C;;;ACAjD,OAAO,YAAY;AAEZ,IAAM,uBAAuB,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcpC,IAAM,oBAAoB,OAAO;AAAA;AAAA;AAAA;AA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,UAAU;AAAA,MACV,OAAO,EAAE,QAAQ,YAAY;AAAA,MAC7B,MAAM;AAAA,IACR,CAAC;AAAA,EACH,CAAC;AAED,SAAO,EAAE,OAAAD,QAAO,OAAAC,OAAM;AACxB;AAGO,IAAM,EAAE,OAAO,MAAM,IAAI;AAAA,EAC9B;AAAA,EACA;AAAA,EACA;AACF;","names":["React","theme","styled","theme","React","React","React","styled","theme","React","React","styled","React","useEffect","useState","React","React","React","React","React","React","React","React","React","styled","useState","text","styled","theme","TextWrapper","text","useState","useEffect","React","React","styled","theme","React","React","styled","React","styled","theme","React","useEffect","useState","styled","theme","React","styled","theme","React","React","React","React","React","useState","styled","styled","text","useState","React","useState","useEffect","React","React","styled","theme","React","React","styled","theme","React","React","React","styled","theme","React","React","styled","styled","React","React","React","useState","styled","theme","LabelWrapper","React","React","useState","React","LabelWrapper","React","React","React","useState","React","React","styled","useState","React","React","styled","theme","React","React","useEffect","styled","theme","React","React","React","useEffect","React","React","useEffect","React","styled","styled","theme","TextWrapper","backgroundColor","React","React","Handle","Position","styled","React","memo","Handle","Position","styled","React","React","styled","theme","TextWrapper","memo","React","Handle","Position","React","styled","Handle","Position","React","React","React","React","React","React","styled","theme","TextWrapper","IMAGE_STYLE","IconWrapper","React","Handle","Position","React","memo","styled","Handle","Position","NamespaceContainer","styled","theme","TextWrapper","memo","React","styled","theme","React","useEffect","useState","styled","styled","theme","useState","useEffect","MONITORS","React","nodes","edges","useEffect","React","React","styled","styled","theme","React","React","useEffect","useRef","useState","styled","keyframes","theme","React","useRef","useEffect","React","React","React","useState","React","React","React","styled","React","React","React","React","styled","styled","React","React","useEffect","styled","styled","theme","text","useEffect","React","React","styled","styled","theme","React","React","useState","styled","useState","React","TitleWrapper","Input","Button","styled","React","useState","styled","Container","styled","TitleWrapper","Input","useState","React","React","styled","styled","theme","LabelWrapper","React","React","styled","Container","styled","TitleWrapper","Table","Th","Td","Input","AddRowButton","React","React","React","useRef","useState","styled","styled","theme","useState","useRef","React","React","React","styled","styled","React","styled","React","useState","styled","Table","useState","React","React","useState","styled","Container","styled","CopyIconWrapper","useState","React","sources","destinations","nodes","edges","action"]}
\ No newline at end of file
diff --git a/package.json b/package.json
index a3201c4..bbee04a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@keyval-dev/design-system",
- "version": "1.8.4",
+ "version": "1.8.7",
"private": false,
"scripts": {
"dev": "next dev",
diff --git a/src/design.system/data.flow/builder.ts b/src/design.system/data.flow/builder.ts
index 1501b7e..f91389b 100644
--- a/src/design.system/data.flow/builder.ts
+++ b/src/design.system/data.flow/builder.ts
@@ -214,6 +214,12 @@ interface Source {
name: string;
kind: string;
namespace: string;
+ conditions?: {
+ type: string;
+ status: string;
+ message: string;
+ lastTransitionTime: string;
+ }[];
languages: Array<{
container_name: string;
language: string;
@@ -230,6 +236,12 @@ interface Destination {
logs: boolean;
};
fields: Record;
+ conditions?: {
+ type: string;
+ status: string;
+ message: string;
+ lastTransitionTime: string;
+ }[];
destination_type: {
type: string;
display_name: string;
@@ -323,6 +335,12 @@ export const buildFlowNodesAndEdges = (
// Create namespace nodes from sources and edges to the center
sources.forEach((source, index) => {
+ let hasError = false;
+ if (source?.conditions) {
+ hasError = source.conditions.some(
+ (condition) => condition.status === 'False'
+ );
+ }
const namespaceNodeId = `namespace-${index}`;
nodes.push({
id: namespaceNodeId,
@@ -335,13 +353,19 @@ export const buildFlowNodesAndEdges = (
source: namespaceNodeId,
target: actions?.length > 0 ? `action-0` : centerNodeId,
animated: true,
- style: { stroke: '#96f3ff8e' },
+ style: { stroke: hasError ? '#ff0000' : '#96f3ff8e' },
data: null,
});
});
// Create destination nodes and edges from the center
destinations.forEach((destination, index) => {
+ let isErrored = false;
+ if (destination?.conditions) {
+ isErrored = destination.conditions.some(
+ (condition) => condition.status === 'False'
+ );
+ }
const destinationNodeId = `destination-${index}`;
nodes.push({
id: destinationNodeId,
@@ -357,7 +381,7 @@ export const buildFlowNodesAndEdges = (
source: centerNodeId,
target: destinationNodeId,
animated: true,
- style: { stroke: '#96f3ff8e' },
+ style: { stroke: isErrored ? '#ff0000' : '#96f3ff8e' },
data: null,
});
});