pixel-react-excel-sheet 1.0.31 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Charts/DashboardDonutChart/types.d.ts +1 -0
- package/lib/components/ConditionalDropdown/types.d.ts +1 -1
- package/lib/components/ConnectingBranch/ConnectingBranch.d.ts +2 -1
- package/lib/components/ConnectingBranch/data.d.ts +19 -33
- package/lib/components/ConnectingBranch/types.d.ts +10 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +7 -1
- package/lib/components/FileDropzone/types.d.ts +12 -4
- package/lib/components/MachineInputField/MachineInputField.d.ts +4 -1
- package/lib/components/Select/types.d.ts +1 -1
- package/lib/components/TextArea/Textarea.d.ts +1 -1
- package/lib/components/TextArea/Types.d.ts +1 -0
- package/lib/components/ThemeProvider/types.d.ts +1 -1
- package/lib/index.d.ts +88 -66
- package/lib/index.esm.js +175 -103
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +175 -103
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/validateFile/validateFile.d.ts +2 -0
- package/package.json +2 -2
- package/src/assets/Themes/BaseTheme.scss +1 -0
- package/src/assets/Themes/BlueTheme.scss +279 -0
- package/src/assets/Themes/DarkTheme.scss +1 -0
- package/src/assets/Themes/Theme.scss +5 -0
- package/src/components/AppHeader/AppHeader.tsx +4 -2
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +1 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +3 -1
- package/src/components/Charts/DashboardDonutChart/types.ts +1 -0
- package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +1 -1
- package/src/components/ConditionalDropdown/types.ts +1 -1
- package/src/components/ConnectingBranch/BranchComponents/MachineInstances.tsx +94 -79
- package/src/components/ConnectingBranch/ConnectingBranch.scss +31 -45
- package/src/components/ConnectingBranch/ConnectingBranch.stories.tsx +33 -1
- package/src/components/ConnectingBranch/ConnectingBranch.tsx +36 -23
- package/src/components/ConnectingBranch/{data.ts → data.tsx} +106 -17
- package/src/components/ConnectingBranch/types.ts +21 -0
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +1 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +7 -5
- package/src/components/Excel/ExcelFile/ExcelFileComponents/FloatingRect.tsx +6 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +30 -11
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +65 -19
- package/src/components/Excel/ExcelFile/ExcelFileComponents/actions.ts +14 -0
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducer.ts +16 -0
- package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +6 -5
- package/src/components/FileDropzone/Dropzone.tsx +3 -0
- package/src/components/FileDropzone/FileDropzone.scss +18 -0
- package/src/components/FileDropzone/FileDropzone.stories.tsx +75 -7
- package/src/components/FileDropzone/FileDropzone.tsx +2 -0
- package/src/components/FileDropzone/RadioFilePreview.tsx +7 -3
- package/src/components/FileDropzone/types.ts +13 -4
- package/src/components/Icon/iconList.ts +2 -2
- package/src/components/InputWithDropdown/InputWithDropdown.tsx +1 -1
- package/src/components/MachineInputField/MachineInputField.tsx +67 -70
- package/src/components/Search/Search.tsx +3 -1
- package/src/components/Select/types.ts +1 -1
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.scss +1 -0
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +2 -8
- package/src/components/TextArea/Textarea.tsx +2 -0
- package/src/components/TextArea/Types.ts +3 -0
- package/src/components/ThemeProvider/types.ts +1 -1
- package/src/utils/validateFile/validateFile.stories.tsx +49 -0
- package/src/utils/validateFile/validateFile.ts +39 -0
- package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.scss +0 -51
- package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.tsx +0 -107
- package/src/components/SequentialConnectingBranch/components/AddBrowserModal/types.ts +0 -5
- package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.scss +0 -31
- package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.tsx +0 -85
- package/src/components/SequentialConnectingBranch/components/DatasetListModal/types.ts +0 -4
- /package/src/assets/icons/{impactList.svg → impact_list.svg} +0 -0
|
@@ -21,7 +21,7 @@ export interface ConditionalDropdownProps {
|
|
|
21
21
|
/**
|
|
22
22
|
* Function storing and updating the inputValue state
|
|
23
23
|
*/
|
|
24
|
-
setHashInputValue?: (value: dynamicObject |
|
|
24
|
+
setHashInputValue?: (value: File | dynamicObject | null) => void;
|
|
25
25
|
/**
|
|
26
26
|
* List of variables
|
|
27
27
|
*/
|
|
@@ -3,7 +3,7 @@ declare const machineData: {
|
|
|
3
3
|
machines: {
|
|
4
4
|
multiple: boolean;
|
|
5
5
|
totalNoScript: number;
|
|
6
|
-
selectedMachines:
|
|
6
|
+
selectedMachines: {
|
|
7
7
|
clientId: string;
|
|
8
8
|
executionDataSet: {
|
|
9
9
|
peVariableSetId: string;
|
|
@@ -22,13 +22,20 @@ declare const machineData: {
|
|
|
22
22
|
osVersion: string;
|
|
23
23
|
hostName: string;
|
|
24
24
|
};
|
|
25
|
-
deviceInfo:
|
|
25
|
+
deviceInfo: {
|
|
26
|
+
version: string;
|
|
27
|
+
name: string;
|
|
28
|
+
type: string;
|
|
29
|
+
subType: string;
|
|
30
|
+
platform: string;
|
|
31
|
+
}[];
|
|
26
32
|
headless: boolean;
|
|
27
33
|
runLevelExecutionDataSets: {
|
|
28
34
|
peVariableSetId: string;
|
|
29
35
|
globalVariableSetId: string;
|
|
30
36
|
testDataSetId: string;
|
|
31
37
|
runScriptCount: number;
|
|
38
|
+
browserRenderer: string;
|
|
32
39
|
}[];
|
|
33
40
|
} | {
|
|
34
41
|
clientId: string;
|
|
@@ -42,44 +49,23 @@ declare const machineData: {
|
|
|
42
49
|
osVersion: string;
|
|
43
50
|
hostName: string;
|
|
44
51
|
};
|
|
45
|
-
deviceInfo:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
52
|
+
deviceInfo: {
|
|
53
|
+
version: string;
|
|
54
|
+
name: string;
|
|
55
|
+
type: string;
|
|
56
|
+
subType: string;
|
|
57
|
+
platform: string;
|
|
51
58
|
}[];
|
|
52
|
-
})[];
|
|
53
|
-
totalScript?: undefined;
|
|
54
|
-
} | {
|
|
55
|
-
clientId: string;
|
|
56
|
-
executionDataSet: {
|
|
57
|
-
peVariableSetId: string;
|
|
58
|
-
globalVariableSetId: string;
|
|
59
|
-
testDataSetId: string;
|
|
60
|
-
};
|
|
61
|
-
totalScript: number;
|
|
62
|
-
machineInstances: {
|
|
63
|
-
clientId: string;
|
|
64
|
-
numberOfRuns: string;
|
|
65
|
-
executionEnv: string;
|
|
66
|
-
browserName: string;
|
|
67
|
-
browserVersion: string;
|
|
68
|
-
systemUrl: string;
|
|
69
|
-
machineInfo: {
|
|
70
|
-
osName: string;
|
|
71
|
-
osVersion: string;
|
|
72
|
-
hostName: string;
|
|
73
|
-
};
|
|
74
|
-
deviceInfo: never[];
|
|
75
59
|
headless: boolean;
|
|
76
60
|
runLevelExecutionDataSets: {
|
|
77
61
|
peVariableSetId: string;
|
|
78
62
|
globalVariableSetId: string;
|
|
79
63
|
testDataSetId: string;
|
|
64
|
+
runScriptCount: number;
|
|
65
|
+
executionDataSetId: string;
|
|
80
66
|
}[];
|
|
81
|
-
}[];
|
|
82
|
-
}
|
|
67
|
+
})[];
|
|
68
|
+
}[];
|
|
83
69
|
executionType: string;
|
|
84
70
|
};
|
|
85
71
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
1
2
|
type MachineInstanceData = any;
|
|
2
3
|
export interface MachineInstance {
|
|
3
4
|
[key: string]: MachineInstanceData;
|
|
@@ -7,13 +8,22 @@ export interface MachineData {
|
|
|
7
8
|
[key: string]: machineDataObj;
|
|
8
9
|
}
|
|
9
10
|
export interface MachineInstancesProps {
|
|
11
|
+
parentNode: number;
|
|
10
12
|
data: MachineData;
|
|
11
13
|
verticalLineHeight: number;
|
|
12
14
|
datasetHeight: number;
|
|
13
15
|
curveHeights: number[];
|
|
14
16
|
itemRefs: React.MutableRefObject<(HTMLDivElement | null)[]>;
|
|
15
17
|
datasetRef: React.RefObject<HTMLDivElement>;
|
|
18
|
+
getChildNodeComponent: (isButton: boolean, ...args: any[]) => ReactElement<any, any>;
|
|
16
19
|
}
|
|
17
20
|
export type indexType = number;
|
|
18
21
|
export type rowType = number;
|
|
22
|
+
export interface ConnectBranchProps {
|
|
23
|
+
data: MachineData;
|
|
24
|
+
childNodeCurveHeight?: number;
|
|
25
|
+
getParentNodeComponent: (isMultiSelect: boolean, ...args: any[]) => ReactElement<any, any>;
|
|
26
|
+
getParentNodeComponentActionItems: (...args: any[]) => ReactElement<any, any>;
|
|
27
|
+
getChildNodeComponent: (isButton: boolean, ...args: any[]) => ReactElement<any, any>;
|
|
28
|
+
}
|
|
19
29
|
export {};
|
|
@@ -162,6 +162,12 @@ export type SetDataAction = BaseAction<typeof SET_DATA> & {
|
|
|
162
162
|
data: Matrix<CellBase>;
|
|
163
163
|
};
|
|
164
164
|
};
|
|
165
|
+
export type KeyPressAction = BaseAction<typeof KEY_PRESS> & {
|
|
166
|
+
payload: {
|
|
167
|
+
event: React.KeyboardEvent;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
export declare function keyPress(event: React.KeyboardEvent): KeyPressAction;
|
|
165
171
|
export declare function setData(data: Matrix<CellBase>): SetDataAction;
|
|
166
172
|
export type SetCreateFormulaParserAction = BaseAction<typeof SET_CREATE_FORMULA_PARSER> & {
|
|
167
173
|
payload: {
|
|
@@ -251,4 +257,4 @@ export type ClearAction = BaseAction<typeof CLEAR>;
|
|
|
251
257
|
export declare function clear(): ClearAction;
|
|
252
258
|
export type BlurAction = BaseAction<typeof BLUR>;
|
|
253
259
|
export declare function blur(): BlurAction;
|
|
254
|
-
export type Action = SetDataAction | SetCreateFormulaParserAction | SelectEntireRowAction | SelectEntireColumnAction | SelectEntireWorksheetAction | SetSelectionAction | SelectAction | ActivateAction | SetCellDataAction | SetCellDimensionsAction | PasteAction | KeyDownAction | DragStartAction | DragEndAction | CommitAction | CopyAction | CutAction | EditAction | ViewAction | ClearAction | UnderlineTypeStyle | FontSize | FontFamily | TextAlignType | BorderType | ItalicStyle | BoldStyle | ColorStyle | BackgroundStyle | FormatePainterStyle | AddRowTop | AddColumnLeft | DeleteRow | DeleteColumn | SetRowHeight | SetColumnPosition | SetAutoFill | BlurAction;
|
|
260
|
+
export type Action = SetDataAction | SetCreateFormulaParserAction | SelectEntireRowAction | SelectEntireColumnAction | SelectEntireWorksheetAction | SetSelectionAction | SelectAction | ActivateAction | SetCellDataAction | SetCellDimensionsAction | PasteAction | KeyDownAction | DragStartAction | DragEndAction | CommitAction | CopyAction | CutAction | EditAction | ViewAction | ClearAction | UnderlineTypeStyle | FontSize | FontFamily | KeyPressAction | TextAlignType | BorderType | ItalicStyle | BoldStyle | ColorStyle | BackgroundStyle | FormatePainterStyle | AddRowTop | AddColumnLeft | DeleteRow | DeleteColumn | SetRowHeight | SetColumnPosition | SetAutoFill | BlurAction;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { DynamicObj } from '../CreateVariable/types';
|
|
2
3
|
export interface RadioOption {
|
|
3
4
|
label: string;
|
|
4
5
|
value: string;
|
|
@@ -85,11 +86,11 @@ export interface FileDropzoneProps {
|
|
|
85
86
|
/**
|
|
86
87
|
* Its the File Name of File Selected from Local File.
|
|
87
88
|
**/
|
|
88
|
-
setSelectedFile?: (file: File | null) => void;
|
|
89
|
+
setSelectedFile?: (file: File | DynamicObj | null) => void;
|
|
89
90
|
/**
|
|
90
91
|
* Its the File Name of File Selected from Local File.
|
|
91
92
|
**/
|
|
92
|
-
selectedFile?: File | null;
|
|
93
|
+
selectedFile?: File | DynamicObj | null;
|
|
93
94
|
/**
|
|
94
95
|
* Its the function which updates the Selected file from Local Directory.
|
|
95
96
|
**/
|
|
@@ -106,6 +107,10 @@ export interface FileDropzoneProps {
|
|
|
106
107
|
* If isDisable is true not able to access the FileDropzone
|
|
107
108
|
**/
|
|
108
109
|
isDisable?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Its the boolean value setted when the replace is clicked for TestData radio option .
|
|
112
|
+
**/
|
|
113
|
+
setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
|
|
109
114
|
}
|
|
110
115
|
export interface FileState {
|
|
111
116
|
accepted: File[];
|
|
@@ -154,11 +159,12 @@ export interface DroppableProps {
|
|
|
154
159
|
selectedRadioOption?: Option;
|
|
155
160
|
radioOptions?: RadioOption[];
|
|
156
161
|
handleOptionChange?: (option: RadioOption) => void;
|
|
157
|
-
selectedFile?: File | null;
|
|
158
|
-
setSelectedFile?: (file: File | null) => void;
|
|
162
|
+
selectedFile?: File | DynamicObj | null;
|
|
163
|
+
setSelectedFile?: (file: File | DynamicObj | null) => void;
|
|
159
164
|
handleFileChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
160
165
|
handleRemoveFile?: () => void;
|
|
161
166
|
isDisable?: boolean;
|
|
167
|
+
setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
|
|
162
168
|
}
|
|
163
169
|
export interface FilePreviewProps {
|
|
164
170
|
file: File;
|
|
@@ -172,4 +178,6 @@ export interface RadioFilePreviewProps {
|
|
|
172
178
|
onFileRemoveClick?: () => void;
|
|
173
179
|
onFileReplaceClick?: (file: File | null) => void;
|
|
174
180
|
setSelectedFile?: (file: File | null) => void;
|
|
181
|
+
selectedRadioOption?: Option;
|
|
182
|
+
setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
|
|
175
183
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import './MachineInputField.scss';
|
|
2
2
|
import { MachineInputFieldProps } from './types';
|
|
3
|
-
declare const MachineInputField:
|
|
3
|
+
declare const MachineInputField: {
|
|
4
|
+
({ width, options, runCount, className, contentReverse, onClick, modalId, }: MachineInputFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
4
7
|
export default MachineInputField;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import './Textarea.scss';
|
|
2
2
|
import { TextareaProps } from './Types';
|
|
3
|
-
declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, rows, cols, resize, ...props }: TextareaProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, onPaste, rows, cols, resize, ...props }: TextareaProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default Textarea;
|
|
@@ -46,6 +46,7 @@ export interface TextareaProps {
|
|
|
46
46
|
onKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;
|
|
47
47
|
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
48
48
|
onFocus?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
49
|
+
onPaste?: (event: React.ClipboardEvent<HTMLTextAreaElement>) => void;
|
|
49
50
|
/**
|
|
50
51
|
* id to select the textarea field uniquely
|
|
51
52
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
export type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme';
|
|
2
|
+
export type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme' | 'ff-blue-theme';
|
|
3
3
|
export interface ThemeContextType {
|
|
4
4
|
currentTheme: Theme;
|
|
5
5
|
setCurrentTheme: React.Dispatch<React.SetStateAction<Theme>>;
|
package/lib/index.d.ts
CHANGED
|
@@ -684,7 +684,7 @@ interface SelectProps$1 {
|
|
|
684
684
|
label?: string;
|
|
685
685
|
showLabel?: boolean;
|
|
686
686
|
optionsList: Option$2[];
|
|
687
|
-
selectedOption
|
|
687
|
+
selectedOption: Option$2;
|
|
688
688
|
onChange: (option: Option$2) => void;
|
|
689
689
|
errorMsg?: string;
|
|
690
690
|
className?: string;
|
|
@@ -762,6 +762,7 @@ interface TextareaProps {
|
|
|
762
762
|
onKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;
|
|
763
763
|
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
764
764
|
onFocus?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
765
|
+
onPaste?: (event: React.ClipboardEvent<HTMLTextAreaElement>) => void;
|
|
765
766
|
/**
|
|
766
767
|
* id to select the textarea field uniquely
|
|
767
768
|
*/
|
|
@@ -793,7 +794,7 @@ interface TextareaProps {
|
|
|
793
794
|
resize?: boolean;
|
|
794
795
|
}
|
|
795
796
|
|
|
796
|
-
declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, rows, cols, resize, ...props }: TextareaProps) => react_jsx_runtime.JSX.Element;
|
|
797
|
+
declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, onPaste, rows, cols, resize, ...props }: TextareaProps) => react_jsx_runtime.JSX.Element;
|
|
797
798
|
|
|
798
799
|
interface StatusButtonProps {
|
|
799
800
|
/**
|
|
@@ -1099,6 +1100,62 @@ type DonutChartProps = {
|
|
|
1099
1100
|
|
|
1100
1101
|
declare const DonutChart: React__default.FC<DonutChartProps>;
|
|
1101
1102
|
|
|
1103
|
+
type DynamicObj = {
|
|
1104
|
+
[key: string]: any;
|
|
1105
|
+
};
|
|
1106
|
+
interface CreateVariableProps {
|
|
1107
|
+
/**
|
|
1108
|
+
* Open Create variable Slider
|
|
1109
|
+
*/
|
|
1110
|
+
isOpen: boolean;
|
|
1111
|
+
/**
|
|
1112
|
+
* Value for the variable name
|
|
1113
|
+
*/
|
|
1114
|
+
variableName: string;
|
|
1115
|
+
/**
|
|
1116
|
+
* Value for the variable to be created
|
|
1117
|
+
*/
|
|
1118
|
+
value: string;
|
|
1119
|
+
/**
|
|
1120
|
+
* List for the variable types
|
|
1121
|
+
*/
|
|
1122
|
+
variableTypesList: DynamicObj[];
|
|
1123
|
+
/**
|
|
1124
|
+
* Selected variable type
|
|
1125
|
+
*/
|
|
1126
|
+
selectedVariableType: DynamicObj;
|
|
1127
|
+
/**
|
|
1128
|
+
* Function to handle variable type change
|
|
1129
|
+
* @param option
|
|
1130
|
+
* @returns
|
|
1131
|
+
*/
|
|
1132
|
+
onVariableTypeChange: (option: DynamicObj) => void;
|
|
1133
|
+
/**
|
|
1134
|
+
* Function to handle close
|
|
1135
|
+
*/
|
|
1136
|
+
onClose?: () => void;
|
|
1137
|
+
/**
|
|
1138
|
+
* onChange of name
|
|
1139
|
+
*/
|
|
1140
|
+
onNameChange: (value: string) => void;
|
|
1141
|
+
/**
|
|
1142
|
+
* onChange of value
|
|
1143
|
+
*/
|
|
1144
|
+
onValueChange: (value: string) => void;
|
|
1145
|
+
/**
|
|
1146
|
+
* Hide value
|
|
1147
|
+
*/
|
|
1148
|
+
hideValue: boolean;
|
|
1149
|
+
/**
|
|
1150
|
+
* onChange for hide value
|
|
1151
|
+
*/
|
|
1152
|
+
onHideChange: (value: boolean) => void;
|
|
1153
|
+
/**
|
|
1154
|
+
* Function to handle submit
|
|
1155
|
+
*/
|
|
1156
|
+
handleSubmit: () => void;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1102
1159
|
interface RadioOption {
|
|
1103
1160
|
label: string;
|
|
1104
1161
|
value: string;
|
|
@@ -1185,11 +1242,11 @@ interface FileDropzoneProps {
|
|
|
1185
1242
|
/**
|
|
1186
1243
|
* Its the File Name of File Selected from Local File.
|
|
1187
1244
|
**/
|
|
1188
|
-
setSelectedFile?: (file: File | null) => void;
|
|
1245
|
+
setSelectedFile?: (file: File | DynamicObj | null) => void;
|
|
1189
1246
|
/**
|
|
1190
1247
|
* Its the File Name of File Selected from Local File.
|
|
1191
1248
|
**/
|
|
1192
|
-
selectedFile?: File | null;
|
|
1249
|
+
selectedFile?: File | DynamicObj | null;
|
|
1193
1250
|
/**
|
|
1194
1251
|
* Its the function which updates the Selected file from Local Directory.
|
|
1195
1252
|
**/
|
|
@@ -1206,6 +1263,10 @@ interface FileDropzoneProps {
|
|
|
1206
1263
|
* If isDisable is true not able to access the FileDropzone
|
|
1207
1264
|
**/
|
|
1208
1265
|
isDisable?: boolean;
|
|
1266
|
+
/**
|
|
1267
|
+
* Its the boolean value setted when the replace is clicked for TestData radio option .
|
|
1268
|
+
**/
|
|
1269
|
+
setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
|
|
1209
1270
|
}
|
|
1210
1271
|
interface FileError {
|
|
1211
1272
|
message: string;
|
|
@@ -1250,11 +1311,12 @@ interface DroppableProps {
|
|
|
1250
1311
|
selectedRadioOption?: Option;
|
|
1251
1312
|
radioOptions?: RadioOption[];
|
|
1252
1313
|
handleOptionChange?: (option: RadioOption) => void;
|
|
1253
|
-
selectedFile?: File | null;
|
|
1254
|
-
setSelectedFile?: (file: File | null) => void;
|
|
1314
|
+
selectedFile?: File | DynamicObj | null;
|
|
1315
|
+
setSelectedFile?: (file: File | DynamicObj | null) => void;
|
|
1255
1316
|
handleFileChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
1256
1317
|
handleRemoveFile?: () => void;
|
|
1257
1318
|
isDisable?: boolean;
|
|
1319
|
+
setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void;
|
|
1258
1320
|
}
|
|
1259
1321
|
interface FilePreviewProps {
|
|
1260
1322
|
file: File;
|
|
@@ -1269,7 +1331,7 @@ declare const Dropzone: FC<DroppableProps>;
|
|
|
1269
1331
|
|
|
1270
1332
|
declare const FilePreview: React.FC<FilePreviewProps>;
|
|
1271
1333
|
|
|
1272
|
-
type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme';
|
|
1334
|
+
type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme' | 'ff-blue-theme';
|
|
1273
1335
|
interface ThemeContextType {
|
|
1274
1336
|
currentTheme: Theme;
|
|
1275
1337
|
setCurrentTheme: React.Dispatch<React.SetStateAction<Theme>>;
|
|
@@ -2036,6 +2098,7 @@ type DashboardDonutChartProps = {
|
|
|
2036
2098
|
chartGap?: number;
|
|
2037
2099
|
legendGap?: number;
|
|
2038
2100
|
tableWidth?: number;
|
|
2101
|
+
tableHeight?: number;
|
|
2039
2102
|
legendValueFontSize?: number;
|
|
2040
2103
|
legendKeyFontSize?: number;
|
|
2041
2104
|
labelYoffSet?: number;
|
|
@@ -2157,7 +2220,10 @@ interface MachineInputFieldProps {
|
|
|
2157
2220
|
modalId?: string;
|
|
2158
2221
|
}
|
|
2159
2222
|
|
|
2160
|
-
declare const MachineInputField:
|
|
2223
|
+
declare const MachineInputField: {
|
|
2224
|
+
({ width, options, runCount, className, contentReverse, onClick, modalId, }: MachineInputFieldProps): react_jsx_runtime.JSX.Element;
|
|
2225
|
+
displayName: string;
|
|
2226
|
+
};
|
|
2161
2227
|
|
|
2162
2228
|
interface SequentialConnectingBranchProps {
|
|
2163
2229
|
machineInstances?: ExecutionContext[] | {}[];
|
|
@@ -2618,62 +2684,6 @@ interface fieldSetProps {
|
|
|
2618
2684
|
|
|
2619
2685
|
declare const FieldSet: FC<fieldSetProps>;
|
|
2620
2686
|
|
|
2621
|
-
type DynamicObj = {
|
|
2622
|
-
[key: string]: any;
|
|
2623
|
-
};
|
|
2624
|
-
interface CreateVariableProps {
|
|
2625
|
-
/**
|
|
2626
|
-
* Open Create variable Slider
|
|
2627
|
-
*/
|
|
2628
|
-
isOpen: boolean;
|
|
2629
|
-
/**
|
|
2630
|
-
* Value for the variable name
|
|
2631
|
-
*/
|
|
2632
|
-
variableName: string;
|
|
2633
|
-
/**
|
|
2634
|
-
* Value for the variable to be created
|
|
2635
|
-
*/
|
|
2636
|
-
value: string;
|
|
2637
|
-
/**
|
|
2638
|
-
* List for the variable types
|
|
2639
|
-
*/
|
|
2640
|
-
variableTypesList: DynamicObj[];
|
|
2641
|
-
/**
|
|
2642
|
-
* Selected variable type
|
|
2643
|
-
*/
|
|
2644
|
-
selectedVariableType: DynamicObj;
|
|
2645
|
-
/**
|
|
2646
|
-
* Function to handle variable type change
|
|
2647
|
-
* @param option
|
|
2648
|
-
* @returns
|
|
2649
|
-
*/
|
|
2650
|
-
onVariableTypeChange: (option: DynamicObj) => void;
|
|
2651
|
-
/**
|
|
2652
|
-
* Function to handle close
|
|
2653
|
-
*/
|
|
2654
|
-
onClose?: () => void;
|
|
2655
|
-
/**
|
|
2656
|
-
* onChange of name
|
|
2657
|
-
*/
|
|
2658
|
-
onNameChange: (value: string) => void;
|
|
2659
|
-
/**
|
|
2660
|
-
* onChange of value
|
|
2661
|
-
*/
|
|
2662
|
-
onValueChange: (value: string) => void;
|
|
2663
|
-
/**
|
|
2664
|
-
* Hide value
|
|
2665
|
-
*/
|
|
2666
|
-
hideValue: boolean;
|
|
2667
|
-
/**
|
|
2668
|
-
* onChange for hide value
|
|
2669
|
-
*/
|
|
2670
|
-
onHideChange: (value: boolean) => void;
|
|
2671
|
-
/**
|
|
2672
|
-
* Function to handle submit
|
|
2673
|
-
*/
|
|
2674
|
-
handleSubmit: () => void;
|
|
2675
|
-
}
|
|
2676
|
-
|
|
2677
2687
|
declare const CreateVariableSlider: FC<CreateVariableProps>;
|
|
2678
2688
|
|
|
2679
2689
|
interface ColumnProps {
|
|
@@ -2886,7 +2896,19 @@ interface SequentialMachineInstance extends Omit<MachineExecutionInstance, 'runL
|
|
|
2886
2896
|
|
|
2887
2897
|
declare const getSequentialPayload: (data: MachineExecutionInstance[]) => SequentialMachineInstance[];
|
|
2888
2898
|
|
|
2889
|
-
|
|
2899
|
+
type machineDataObj = any;
|
|
2900
|
+
interface MachineData {
|
|
2901
|
+
[key: string]: machineDataObj;
|
|
2902
|
+
}
|
|
2903
|
+
interface ConnectBranchProps {
|
|
2904
|
+
data: MachineData;
|
|
2905
|
+
childNodeCurveHeight?: number;
|
|
2906
|
+
getParentNodeComponent: (isMultiSelect: boolean, ...args: any[]) => ReactElement<any, any>;
|
|
2907
|
+
getParentNodeComponentActionItems: (...args: any[]) => ReactElement<any, any>;
|
|
2908
|
+
getChildNodeComponent: (isButton: boolean, ...args: any[]) => ReactElement<any, any>;
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
declare const ConnectingBranch: React__default.FC<ConnectBranchProps>;
|
|
2890
2912
|
|
|
2891
2913
|
declare const saveFileFromBlob: (blob: Blob, filename: string) => void;
|
|
2892
2914
|
|
|
@@ -2965,7 +2987,7 @@ interface ConditionalDropdownProps {
|
|
|
2965
2987
|
/**
|
|
2966
2988
|
* Function storing and updating the inputValue state
|
|
2967
2989
|
*/
|
|
2968
|
-
setHashInputValue?: (value: dynamicObject |
|
|
2990
|
+
setHashInputValue?: (value: File | dynamicObject | null) => void;
|
|
2969
2991
|
/**
|
|
2970
2992
|
* List of variables
|
|
2971
2993
|
*/
|