@dev-blinq/ui-systems 1.0.94 → 1.0.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/common/Steps/DataPanel/DataPanel.d.ts +22 -0
- package/dist/components/common/Steps/DataPanel/ExampleSection.d.ts +12 -0
- package/dist/components/common/Steps/DataPanel/JsonViewerTestData.d.ts +16 -0
- package/dist/components/common/Steps/DataPanel/TestData.d.ts +9 -0
- package/dist/components/common/Steps/DataPanel/index.style.d.ts +30 -0
- package/dist/components/common/Steps/Header.d.ts +5 -0
- package/dist/components/common/Steps/Step.d.ts +15 -0
- package/dist/components/common/Steps/StepIcon.d.ts +7 -0
- package/dist/components/common/Steps/StepKeyword.d.ts +20 -0
- package/dist/components/common/Steps/StepTitle.d.ts +9 -0
- package/dist/components/common/Steps/StepTitleEditInput.d.ts +7 -0
- package/dist/components/common/Steps/index.d.ts +7 -0
- package/dist/components/common/Steps/index.style.d.ts +178 -0
- package/dist/components/common/Steps/util.d.ts +34 -0
- package/dist/components/common/index.d.ts +1 -0
- package/dist/components/generic/Accordion/Accordion.d.ts +8 -0
- package/dist/components/generic/index.d.ts +1 -0
- package/dist/icons/index.d.ts +13 -3
- package/dist/index.js +92 -47
- package/dist/index.mjs +1823 -1700
- package/package.json +6 -3
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface DataPanelSectionProps {
|
|
3
|
+
isRunScenarioLoading?: boolean;
|
|
4
|
+
parameters: any[];
|
|
5
|
+
addNewParameter: (index: number, mask: boolean) => void;
|
|
6
|
+
removeParameter: (index: number) => void;
|
|
7
|
+
handleUpdateParam: (index: number, value1: string, value2: string, mask?: boolean) => void;
|
|
8
|
+
ParamErrors?: (props: {
|
|
9
|
+
index: number;
|
|
10
|
+
}) => ReactNode;
|
|
11
|
+
project_id: string;
|
|
12
|
+
handleCopied?: (key: string) => void;
|
|
13
|
+
handleTestData?: (otp: any) => void;
|
|
14
|
+
testData?: any;
|
|
15
|
+
step_index?: string;
|
|
16
|
+
dataSet?: any;
|
|
17
|
+
allExamples?: any;
|
|
18
|
+
isMainApp?: boolean;
|
|
19
|
+
disabledEdit?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare function DataPanelSection(props: DataPanelSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export declare const ExamplesSection: ({ onClick, params, handleUpdateParam, ParamErrors, removeParameter, dataSet, disabledEdit, }: {
|
|
3
|
+
onClick: () => void;
|
|
4
|
+
params: any[];
|
|
5
|
+
handleUpdateParam: (index: number, value1: string, value2: string, mask?: boolean) => void;
|
|
6
|
+
ParamErrors?: (props: {
|
|
7
|
+
index: number;
|
|
8
|
+
}) => ReactNode;
|
|
9
|
+
removeParameter: (index: number) => void;
|
|
10
|
+
dataSet?: any;
|
|
11
|
+
disabledEdit?: boolean;
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface JsonViewerTestDataProps {
|
|
3
|
+
data: object;
|
|
4
|
+
action?: {
|
|
5
|
+
title: string;
|
|
6
|
+
};
|
|
7
|
+
maxHeight?: string;
|
|
8
|
+
project_id: string;
|
|
9
|
+
handleCopied?: (key: string) => void;
|
|
10
|
+
handleTestData?: (otp: any) => void;
|
|
11
|
+
testData?: any;
|
|
12
|
+
step_index?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const JsonViewerTestData: React.FC<JsonViewerTestDataProps>;
|
|
15
|
+
export declare function wrapDottedKeys(keyPath: string[]): string[];
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface TestDataProps {
|
|
2
|
+
project_id: string;
|
|
3
|
+
handleCopied?: (key: string) => void;
|
|
4
|
+
handleTestData?: (otp: any) => void;
|
|
5
|
+
testData?: any;
|
|
6
|
+
step_index?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const TestData: (props: TestDataProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const StyledDataContainer: import('@emotion/styled').StyledComponent<{
|
|
2
|
+
theme?: import('@emotion/react').Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
} & {
|
|
5
|
+
isMainApp?: boolean;
|
|
6
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
+
export declare const StyledContent: import('@emotion/styled').StyledComponent<{
|
|
8
|
+
theme?: import('@emotion/react').Theme;
|
|
9
|
+
as?: React.ElementType;
|
|
10
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
|
+
export declare const StyledParamList: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
12
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
13
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
14
|
+
theme?: import('@emotion/react').Theme;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export declare const StyledJsonContainer: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
17
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
18
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
19
|
+
theme?: import('@emotion/react').Theme;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
export declare const StyledValueWrap: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
22
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
23
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
24
|
+
theme?: import('@emotion/react').Theme;
|
|
25
|
+
}, {}, {}>;
|
|
26
|
+
export declare const StyledCopyButtonWrap: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
27
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
28
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
29
|
+
theme?: import('@emotion/react').Theme;
|
|
30
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export declare const Step: ({ wrapperProps, iconProps, dndProps, openCollapse, KeywordComponent, isEditing, SplitTextComponent, EditingTextViewComponent, ActionComponent, warning, CollapseContent, }: {
|
|
3
|
+
wrapperProps?: any;
|
|
4
|
+
iconProps?: any;
|
|
5
|
+
dndProps?: any;
|
|
6
|
+
openCollapse: boolean;
|
|
7
|
+
isEditing: boolean;
|
|
8
|
+
warning?: any;
|
|
9
|
+
KeywordComponent: ReactNode;
|
|
10
|
+
SplitTextComponent: ReactNode;
|
|
11
|
+
EditingTextViewComponent: ReactNode;
|
|
12
|
+
ActionComponent: ReactNode;
|
|
13
|
+
CollapseContent?: ReactNode;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default Step;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface StepPanelHeaderProps {
|
|
2
|
+
stepType: string;
|
|
3
|
+
showInfoIcon?: boolean;
|
|
4
|
+
isActive?: boolean;
|
|
5
|
+
color?: string;
|
|
6
|
+
handleTextClick?: (e: any) => void;
|
|
7
|
+
anchorEl?: HTMLElement | null;
|
|
8
|
+
handleMenuClick?: (e: React.MouseEvent<HTMLLIElement, MouseEvent>, value: any) => void;
|
|
9
|
+
handleMenuClose?: () => void;
|
|
10
|
+
menuItems?: {
|
|
11
|
+
title: React.ReactNode | string;
|
|
12
|
+
value: any;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
divider?: boolean;
|
|
15
|
+
onClickItem?: (e: React.MouseEvent<HTMLLIElement, MouseEvent>, value: any) => void;
|
|
16
|
+
}[];
|
|
17
|
+
hasInterceptRouteItems?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const StepKeyoword: ({ showInfoIcon, stepType, isActive, color, handleTextClick, anchorEl, handleMenuClick, handleMenuClose, menuItems, hasInterceptRouteItems, }: StepPanelHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const StepTitle: ({ splits, text, setIsVisible, showCursor, }: {
|
|
2
|
+
splits: {
|
|
3
|
+
isVariable?: boolean;
|
|
4
|
+
text?: string;
|
|
5
|
+
}[];
|
|
6
|
+
text: string;
|
|
7
|
+
setIsVisible?: React.Dispatch<React.SetStateAction<boolean[]>>;
|
|
8
|
+
showCursor?: boolean;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const StepTitleEditInput: ({ onCancel, value, preventedKeys, onSave, setValue, }: {
|
|
2
|
+
onSave: (v: string) => void;
|
|
3
|
+
onCancel: () => void;
|
|
4
|
+
preventedKeys?: string[];
|
|
5
|
+
value: string;
|
|
6
|
+
setValue: React.Dispatch<React.SetStateAction<string>>;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
export declare const StyledDroppableContainer: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
4
|
+
theme?: import('@emotion/react').Theme;
|
|
5
|
+
}, {}, {}>;
|
|
6
|
+
export declare const StyledStepContainer: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
8
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
9
|
+
theme?: import('@emotion/react').Theme;
|
|
10
|
+
}, {}, {}>;
|
|
11
|
+
export declare const StyledMainPage: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
12
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
13
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
14
|
+
theme?: import('@emotion/react').Theme;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export declare const StyledStepPanelContainer: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
17
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
18
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
19
|
+
theme?: import('@emotion/react').Theme;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
export declare const StyledStepPanelHeader: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
22
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
23
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
24
|
+
theme?: import('@emotion/react').Theme;
|
|
25
|
+
} & {
|
|
26
|
+
isMainApp?: boolean;
|
|
27
|
+
}, {}, {}>;
|
|
28
|
+
export declare const StyledStepPanelListWrap: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
29
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
30
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
31
|
+
theme?: import('@emotion/react').Theme;
|
|
32
|
+
}, {}, {}>;
|
|
33
|
+
export declare const StyledStepWrap: import('@emotion/styled').StyledComponent<{
|
|
34
|
+
theme?: import('@emotion/react').Theme;
|
|
35
|
+
as?: React.ElementType;
|
|
36
|
+
} & {
|
|
37
|
+
transform?: any;
|
|
38
|
+
transition?: any;
|
|
39
|
+
isDragging?: boolean;
|
|
40
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
41
|
+
export declare const StyledStepIconContainer: import('@emotion/styled').StyledComponent<{
|
|
42
|
+
theme?: import('@emotion/react').Theme;
|
|
43
|
+
as?: React.ElementType;
|
|
44
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
45
|
+
export declare const StyledStepIcon: import('@emotion/styled').StyledComponent<{
|
|
46
|
+
theme?: import('@emotion/react').Theme;
|
|
47
|
+
as?: React.ElementType;
|
|
48
|
+
} & {
|
|
49
|
+
isStepExecFailed?: boolean;
|
|
50
|
+
activeProp?: boolean;
|
|
51
|
+
bgColor?: string;
|
|
52
|
+
strokeColor?: string;
|
|
53
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
54
|
+
export declare const StyledStepTitle: import('@emotion/styled').StyledComponent<{
|
|
55
|
+
theme?: import('@emotion/react').Theme;
|
|
56
|
+
as?: React.ElementType;
|
|
57
|
+
} & {
|
|
58
|
+
isDraggingNeighbouring?: boolean;
|
|
59
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
60
|
+
export declare const StyledCommandList: import('@emotion/styled').StyledComponent<{
|
|
61
|
+
theme?: import('@emotion/react').Theme;
|
|
62
|
+
as?: React.ElementType;
|
|
63
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
|
|
64
|
+
export declare const StyledCommandListItem: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
65
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
66
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
67
|
+
theme?: import('@emotion/react').Theme;
|
|
68
|
+
} & {
|
|
69
|
+
isDragging?: boolean;
|
|
70
|
+
implementedInternalStep?: boolean;
|
|
71
|
+
}, {}, {}>;
|
|
72
|
+
export declare const StyledCommandListParent: import('@emotion/styled').StyledComponent<{
|
|
73
|
+
theme?: import('@emotion/react').Theme;
|
|
74
|
+
as?: React.ElementType;
|
|
75
|
+
} & {
|
|
76
|
+
execution?: boolean;
|
|
77
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
78
|
+
export declare const StyledDragIconWrap: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
79
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
80
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
81
|
+
theme?: import('@emotion/react').Theme;
|
|
82
|
+
}, {}, {}>;
|
|
83
|
+
export declare const StyledCommandTextWrap: import('@emotion/styled').StyledComponent<{
|
|
84
|
+
theme?: import('@emotion/react').Theme;
|
|
85
|
+
as?: React.ElementType;
|
|
86
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
87
|
+
export declare const StyledKeyWorkdContent: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
88
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
89
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
90
|
+
theme?: import('@emotion/react').Theme;
|
|
91
|
+
}, {}, {}>;
|
|
92
|
+
export declare const StyledMainHeaderSummary: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
93
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
94
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
95
|
+
theme?: import('@emotion/react').Theme;
|
|
96
|
+
} & {
|
|
97
|
+
openCollapse?: boolean;
|
|
98
|
+
}, {}, {}>;
|
|
99
|
+
export declare const StyledSingleLineHeading: import('@emotion/styled').StyledComponent<{
|
|
100
|
+
theme?: import('@emotion/react').Theme;
|
|
101
|
+
as?: React.ElementType;
|
|
102
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
103
|
+
export declare const StyledSingleEditInput: import('@emotion/styled').StyledComponent<{
|
|
104
|
+
theme?: import('@emotion/react').Theme;
|
|
105
|
+
as?: React.ElementType;
|
|
106
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
107
|
+
export declare const StyledCommandMenuIconSection: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
108
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
109
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
110
|
+
theme?: import('@emotion/react').Theme;
|
|
111
|
+
}, {}, {}>;
|
|
112
|
+
export declare const StyledOverlayBox: import('@emotion/styled').StyledComponent<{
|
|
113
|
+
theme?: import('@emotion/react').Theme;
|
|
114
|
+
as?: React.ElementType;
|
|
115
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
116
|
+
export declare const StyledRecoderFooter: import('@emotion/styled').StyledComponent<{
|
|
117
|
+
theme?: import('@emotion/react').Theme;
|
|
118
|
+
as?: React.ElementType;
|
|
119
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
120
|
+
export declare const StyledDragDotsIcon: import('@emotion/styled').StyledComponent<{
|
|
121
|
+
theme?: import('@emotion/react').Theme;
|
|
122
|
+
as?: React.ElementType;
|
|
123
|
+
} & {
|
|
124
|
+
isDragging?: boolean;
|
|
125
|
+
disabled?: boolean;
|
|
126
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
127
|
+
export declare const StyledInfo: import('@emotion/styled').StyledComponent<import('@mui/material').AlertProps & {
|
|
128
|
+
theme?: import('@emotion/react').Theme;
|
|
129
|
+
} & {
|
|
130
|
+
isTopWarning?: boolean;
|
|
131
|
+
}, {}, {}>;
|
|
132
|
+
export declare const StyledCommandIcon: import('@emotion/styled').StyledComponent<{
|
|
133
|
+
theme?: import('@emotion/react').Theme;
|
|
134
|
+
as?: React.ElementType;
|
|
135
|
+
} & {
|
|
136
|
+
hasCmdError?: boolean;
|
|
137
|
+
strokeColor?: string;
|
|
138
|
+
background?: string;
|
|
139
|
+
backgroundImage?: string;
|
|
140
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
141
|
+
export declare const StyledCommandIconImage: import('@emotion/styled').StyledComponent<{
|
|
142
|
+
theme?: import('@emotion/react').Theme;
|
|
143
|
+
as?: React.ElementType;
|
|
144
|
+
} & {
|
|
145
|
+
hasCmdError?: boolean;
|
|
146
|
+
strokeColor?: string;
|
|
147
|
+
maskImage?: any;
|
|
148
|
+
backgroundImage?: string;
|
|
149
|
+
}, import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
150
|
+
export declare const StyledEditParamContainer: import('@emotion/styled').StyledComponent<{
|
|
151
|
+
theme?: import('@emotion/react').Theme;
|
|
152
|
+
as?: React.ElementType;
|
|
153
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
154
|
+
export declare const StyledEditActionWrap: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
155
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
156
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
157
|
+
theme?: import('@emotion/react').Theme;
|
|
158
|
+
}, {}, {}>;
|
|
159
|
+
export declare const StyledParamListDropdown: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
160
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
161
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
162
|
+
theme?: import('@emotion/react').Theme;
|
|
163
|
+
}, {}, {}>;
|
|
164
|
+
export declare const StyledParamListItem: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
165
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
166
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
167
|
+
theme?: import('@emotion/react').Theme;
|
|
168
|
+
}, {}, {}>;
|
|
169
|
+
export declare const StyledIndicatorLine: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
170
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
171
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
172
|
+
theme?: import('@emotion/react').Theme;
|
|
173
|
+
}, {}, {}>;
|
|
174
|
+
export declare const StyledStepTitleWrap: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
175
|
+
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
176
|
+
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & {
|
|
177
|
+
theme?: import('@emotion/react').Theme;
|
|
178
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare function extractAndSplitQuotedParts(input: string): {
|
|
2
|
+
text: string;
|
|
3
|
+
startIndex: number;
|
|
4
|
+
endIndex: number;
|
|
5
|
+
isVariable: boolean;
|
|
6
|
+
}[];
|
|
7
|
+
export declare const isParam: (text: string) => boolean;
|
|
8
|
+
export declare const preventedKeys: string[];
|
|
9
|
+
export declare const stepKeywords: readonly ["Given", "When", "Then"];
|
|
10
|
+
export declare const fullStepKeywords: readonly ["Given", "When", "Then", "And", "But"];
|
|
11
|
+
export interface Step {
|
|
12
|
+
keyword: string;
|
|
13
|
+
text: string;
|
|
14
|
+
type: "step" | "comment";
|
|
15
|
+
stepId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ParamEntry {
|
|
18
|
+
key: string;
|
|
19
|
+
value: string;
|
|
20
|
+
allowDeletion: boolean;
|
|
21
|
+
mask: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface ParamDataset {
|
|
24
|
+
datasetId: number;
|
|
25
|
+
data: ParamEntry[];
|
|
26
|
+
}
|
|
27
|
+
export interface GherkinObject {
|
|
28
|
+
featureName: string;
|
|
29
|
+
scenarioName: string;
|
|
30
|
+
steps: Step[];
|
|
31
|
+
params: ParamDataset[];
|
|
32
|
+
}
|
|
33
|
+
export declare function parseGherkin(gherkinString: string): GherkinObject;
|
|
34
|
+
export declare function stringifyGherkin(obj: GherkinObject): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Steps';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface MUIAccordionProps {
|
|
2
|
+
expanded: boolean;
|
|
3
|
+
title: React.ReactNode;
|
|
4
|
+
onChange: (event: React.SyntheticEvent, isExpanded: boolean) => void;
|
|
5
|
+
details: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function MUIAccordion({ expanded, title, onChange, details }: MUIAccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { LucideProps } from 'lucide-react';
|
|
2
2
|
import { default as MailIcon } from './mail.svg?react';
|
|
3
3
|
import { default as TextAreaNotchIcon } from './text-area-notch.svg?react';
|
|
4
|
-
declare const SaveIcon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare const XIcon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export
|
|
4
|
+
export declare const SaveIcon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const XIcon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const AlertCircleIcon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const ChevronDownIcon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const InformationIcon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const CheckIcon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const EyeIcon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const EyeOffIcon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const PlusIcon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const Trash2Icon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const CopyIcon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const ChevronRightIcon: (props: LucideProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export { MailIcon, TextAreaNotchIcon };
|