pixel-react 1.6.8 → 1.7.0
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/LineChart/types.d.ts +1 -0
- package/lib/components/Chip/types.d.ts +1 -1
- package/lib/components/ConditionalDropdown/ConditionalDropdown.d.ts +5 -0
- package/lib/components/ConditionalDropdown/OptionsDropdown.d.ts +5 -0
- package/lib/components/ConditionalDropdown/index.d.ts +1 -0
- package/lib/components/ConditionalDropdown/types.d.ts +145 -0
- package/lib/components/CreateVariable/types.d.ts +2 -2
- package/lib/components/DownloadClient/type.d.ts +19 -27
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +8 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.d.ts +2 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +13 -6
- package/lib/components/InputWithDropdown/InputWithDropdown.d.ts +1 -1
- package/lib/components/LabelEditTextField/types.d.ts +1 -0
- package/lib/components/MachineInputField/types.d.ts +1 -0
- package/lib/components/MenuOption/MenuOption.d.ts +1 -1
- package/lib/components/MenuOption/types.d.ts +2 -1
- package/lib/components/MiniModal/types.d.ts +1 -0
- package/lib/components/Modal/types.d.ts +1 -1
- package/lib/components/MultiSelect/MultiSelect.d.ts +1 -1
- package/lib/components/MultiSelect/MultiSelectTypes.d.ts +1 -0
- package/lib/components/MultiSelect/dropdownTypes.d.ts +1 -0
- package/lib/components/NLPInput/NlpInput.d.ts +2 -2
- package/lib/components/NLPInput/components/NlpDropDown/NlpDropDownType.d.ts +6 -3
- package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.d.ts +1 -1
- package/lib/components/NLPInput/sampleData.d.ts +104 -0
- package/lib/components/NLPInput/types.d.ts +80 -0
- package/lib/components/PopUpModal/types.d.ts +2 -1
- package/lib/components/ProgressBar/ProgressBar.d.ts +5 -0
- package/lib/components/ProgressBar/index.d.ts +1 -0
- package/lib/components/ProgressBar/types.d.ts +12 -0
- package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +1 -1
- package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +4 -0
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +1 -1
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +4 -0
- package/lib/components/SequentialConnectingBranch/types.d.ts +7 -1
- package/lib/components/TableTree/TableTree.d.ts +2 -2
- package/lib/components/TableTree/Utils/getAllChildIds.d.ts +1 -0
- package/lib/components/TableTree/types.d.ts +1 -1
- package/lib/hooks/useIntersectionObserver.d.ts +9 -0
- package/lib/index.d.ts +183 -65
- package/lib/index.esm.js +1281 -674
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1282 -674
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/functionCheck/functionCheck.d.ts +2 -0
- package/lib/utils/getSequentialPayload/types.d.ts +1 -0
- package/package.json +1 -1
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +5 -0
- package/src/assets/Themes/BaseTheme.scss +20 -2
- package/src/assets/Themes/DarkTheme.scss +19 -2
- package/src/assets/icons/add_file.svg +4 -4
- package/src/assets/icons/ai_search.svg +9 -0
- package/src/assets/icons/authorization.svg +4 -4
- package/src/assets/icons/depends_on_script.svg +7 -7
- package/src/assets/icons/email_group.svg +3 -3
- package/src/assets/icons/help_icon.svg +10 -0
- package/src/assets/icons/import_icon.svg +4 -0
- package/src/assets/icons/ios_icon.svg +11 -0
- package/src/assets/icons/labels.svg +8 -8
- package/src/assets/icons/parameters.svg +3 -3
- package/src/assets/icons/plus_round_icon.svg +38 -0
- package/src/assets/icons/pre_post_condition.svg +8 -8
- package/src/assets/icons/program_element.svg +8 -8
- package/src/assets/icons/test_data.svg +5 -5
- package/src/assets/icons/test_data_set.svg +7 -7
- package/src/assets/icons/tick_icon.svg +2 -2
- package/src/assets/icons/variable_set.svg +5 -5
- package/src/assets/styles/_colors.scss +1 -1
- package/src/components/AttachmentButton/AttachmentButton.tsx +1 -1
- package/src/components/Charts/LineChart/LineChart.stories.tsx +7 -3
- package/src/components/Charts/LineChart/LineChart.tsx +10 -1
- package/src/components/Charts/LineChart/types.ts +1 -0
- package/src/components/Checkbox/Checkbox.scss +3 -1
- package/src/components/Checkbox/Checkbox.stories.tsx +32 -77
- package/src/components/Checkbox/Checkbox.tsx +3 -4
- package/src/components/Chip/Chip.scss +15 -5
- package/src/components/Chip/Chip.stories.tsx +10 -1
- package/src/components/Chip/Chip.tsx +5 -1
- package/src/components/Chip/types.ts +1 -1
- package/src/components/{AddVariables/AddVariables.scss → ConditionalDropdown/ConditionalDropdown.scss} +4 -0
- package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +147 -0
- package/src/components/ConditionalDropdown/ConditionalDropdown.tsx +159 -0
- package/src/components/ConditionalDropdown/OptionsDropdown.tsx +44 -0
- package/src/components/ConditionalDropdown/index.ts +1 -0
- package/src/components/ConditionalDropdown/types.ts +160 -0
- package/src/components/CreateVariable/CreateVariableSlider.tsx +2 -2
- package/src/components/CreateVariable/types.ts +2 -2
- package/src/components/DownloadClient/DownloadClient.scss +51 -64
- package/src/components/DownloadClient/DownloadClient.stories.tsx +6 -6
- package/src/components/DownloadClient/DownloadClient.tsx +60 -51
- package/src/components/DownloadClient/type.ts +32 -40
- package/src/components/EditTextField/EditTextField.scss +1 -1
- package/src/components/EditTextField/EditTextField.tsx +14 -20
- package/src/components/Excel/ExcelFile/ExcelFile.scss +3 -2
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +37 -21
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +12 -0
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Cell.tsx +2 -34
- package/src/components/Excel/ExcelFile/ExcelFileComponents/FloatingRect.tsx +26 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +7 -7
- package/src/components/Excel/ExcelFile/ExcelFileComponents/actions.ts +13 -0
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducer.ts +53 -26
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +81 -14
- package/src/components/Excel/ExcelFile/ExcelFileComponents/types.ts +17 -6
- package/src/components/Excel/ExcelFile.stories.tsx +4 -4
- package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +36 -19
- package/src/components/Excel/dataConversion.ts +43 -20
- package/src/components/FileDropzone/FileDropzone.stories.tsx +5 -19
- package/src/components/FileDropzone/FileDropzone.tsx +24 -4
- package/src/components/Form/Forms.tsx +0 -2
- package/src/components/Icon/iconList.ts +12 -0
- package/src/components/InputWithDropdown/InputWithDropdown.tsx +102 -95
- package/src/components/LabelEditTextField/LabelEditTextField.scss +1 -1
- package/src/components/LabelEditTextField/LabelEditTextField.tsx +29 -36
- package/src/components/LabelEditTextField/types.ts +1 -0
- package/src/components/MachineInputField/MachineInputField.scss +1 -5
- package/src/components/MachineInputField/MachineInputField.stories.tsx +6 -5
- package/src/components/MachineInputField/MachineInputField.tsx +14 -14
- package/src/components/MachineInputField/types.ts +2 -0
- package/src/components/MenuOption/MenuOption.scss +7 -7
- package/src/components/MenuOption/MenuOption.stories.tsx +83 -28
- package/src/components/MenuOption/MenuOption.tsx +9 -13
- package/src/components/MenuOption/types.ts +3 -2
- package/src/components/MiniModal/MiniModal.scss +0 -1
- package/src/components/MiniModal/MiniModal.stories.tsx +6 -1
- package/src/components/MiniModal/MiniModal.tsx +3 -1
- package/src/components/MiniModal/types.ts +1 -0
- package/src/components/Modal/types.ts +1 -1
- package/src/components/MultiSelect/Dropdown.scss +3 -4
- package/src/components/MultiSelect/Dropdown.tsx +34 -7
- package/src/components/MultiSelect/MultiSelect.scss +1 -0
- package/src/components/MultiSelect/MultiSelect.tsx +3 -0
- package/src/components/MultiSelect/MultiSelectTypes.ts +3 -1
- package/src/components/MultiSelect/dropdownTypes.ts +2 -0
- package/src/components/NLPInput/NLPInput.scss +77 -21
- package/src/components/NLPInput/NlpInput.stories.tsx +43 -109
- package/src/components/NLPInput/NlpInput.tsx +95 -59
- package/src/components/NLPInput/components/NlpDropDown/NlpDropDownType.ts +6 -4
- package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +86 -35
- package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.tsx +220 -80
- package/src/components/NLPInput/sampleData.ts +162 -0
- package/src/components/NLPInput/{type.tsx → types.tsx} +23 -11
- package/src/components/PopUpModal/PopUpModal.stories.tsx +15 -10
- package/src/components/PopUpModal/PopUpModal.tsx +5 -4
- package/src/components/PopUpModal/types.ts +2 -1
- package/src/components/ProgressBar/ProgressBar.scss +46 -0
- package/src/components/ProgressBar/ProgressBar.stories.tsx +22 -0
- package/src/components/ProgressBar/ProgressBar.tsx +61 -0
- package/src/components/ProgressBar/index.ts +1 -0
- package/src/components/ProgressBar/types.ts +12 -0
- package/src/components/Search/Search.tsx +9 -1
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.tsx +13 -2
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +36 -19
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +120 -32
- package/src/components/SequentialConnectingBranch/components/Branches/types.ts +7 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +8 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +7 -0
- package/src/components/SequentialConnectingBranch/types.ts +7 -5
- package/src/components/Table/Table.scss +1 -0
- package/src/components/TableTree/Components/TableBody.tsx +3 -1
- package/src/components/TableTree/TableTree.stories.tsx +4 -7
- package/src/components/TableTree/TableTree.tsx +27 -181
- package/src/components/TableTree/Utils/getAllChildIds.ts +2 -0
- package/src/components/TableTree/data.ts +45 -0
- package/src/components/TableTree/types.ts +4 -4
- package/src/hooks/useIntersectionObserver.tsx +56 -0
- package/src/index.ts +4 -3
- package/src/utils/functionCheck/functionCheck.ts +8 -0
- package/src/utils/getSequentialPayload/types.ts +1 -0
- package/src/components/AddVariables/AddVariables.stories.tsx +0 -44
- package/src/components/AddVariables/AddVariables.tsx +0 -113
- package/src/components/AddVariables/index.ts +0 -1
- package/src/components/AddVariables/types.ts +0 -36
@@ -1,4 +1,4 @@
|
|
1
1
|
import { BranchesProps } from './types';
|
2
2
|
import './Branches.scss';
|
3
|
-
declare const Branches: ({ machineInstances, rowIndex, machineColumnCount, machineColumnWidth, nextRowMachineInstance, previousRowMachineInstance, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, }: BranchesProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const Branches: ({ machineInstances, rowIndex, machineColumnCount, machineColumnWidth, nextRowMachineInstance, previousRowMachineInstance, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, onUpdateAddBrowserInstance, addInstanceLabel, scriptType, projectType, }: BranchesProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default Branches;
|
@@ -10,6 +10,10 @@ export interface BranchesProps {
|
|
10
10
|
onDeleteBrowser: (id: string, runCount: number) => void;
|
11
11
|
onAddRunBrowser: (id: string) => void;
|
12
12
|
onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
|
13
|
+
addInstanceLabel?: string;
|
14
|
+
scriptType?: string;
|
15
|
+
onUpdateAddBrowserInstance: (modalId: string, machineInstance: ExecutionContext) => void;
|
16
|
+
projectType?: string;
|
13
17
|
}
|
14
18
|
export interface branchTypeProps {
|
15
19
|
currentBranch: ExecutionContext | undefined | {};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { ConnectingBranchesProps } from './types';
|
2
2
|
import './ConnectingBranches.scss';
|
3
|
-
declare const ConnectingBranches: ({ machineBranchInstances, machineColumnCount, machineColumnWidth, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, }: ConnectingBranchesProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const ConnectingBranches: ({ machineBranchInstances, machineColumnCount, machineColumnWidth, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, onUpdateAddBrowserInstance, addInstanceLabel, scriptType, projectType, }: ConnectingBranchesProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default ConnectingBranches;
|
@@ -7,4 +7,8 @@ export interface ConnectingBranchesProps {
|
|
7
7
|
onDeleteBrowser: (id: string, runCount: number) => void;
|
8
8
|
onAddRunBrowser: (id: string) => void;
|
9
9
|
onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
|
10
|
+
addInstanceLabel?: string;
|
11
|
+
scriptType?: string;
|
12
|
+
projectType?: string;
|
13
|
+
onUpdateAddBrowserInstance: (modalId: string, machineInstance: ExecutionContext) => void;
|
10
14
|
}
|
@@ -7,19 +7,25 @@ export interface SequentialConnectingBranchProps {
|
|
7
7
|
machineOptionsList?: Option[];
|
8
8
|
onHandleSelect?: (option: Option) => void;
|
9
9
|
onAddBrowserInstance?: (modalId: string) => void;
|
10
|
-
onUpdateAddBrowserInstance
|
10
|
+
onUpdateAddBrowserInstance: (modalId: string, machineInstance: ExecutionContext) => void;
|
11
11
|
onDeleteBrowserInstance?: (id: string, runCount: number) => void;
|
12
12
|
onAddRunBrowserInstance?: (machineInstanceId: string) => void;
|
13
13
|
onDeleteMachineInstance?: () => void;
|
14
14
|
onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
|
15
15
|
dataSetValues: dataSetValues;
|
16
|
+
addInstanceLabel?: string;
|
17
|
+
scriptType?: string;
|
18
|
+
projectType?: string;
|
16
19
|
}
|
17
20
|
export interface MachineInfo {
|
18
21
|
osName: string;
|
19
22
|
osVersion: string;
|
20
23
|
hostName: string;
|
24
|
+
iconName: string;
|
21
25
|
}
|
22
26
|
export interface DeviceInfo {
|
27
|
+
name: string;
|
28
|
+
platform: string;
|
23
29
|
}
|
24
30
|
export interface ExecutionContext {
|
25
31
|
machineInstanceId: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import './TableTree.scss';
|
3
3
|
import { TreeTableProps } from './types';
|
4
|
-
declare const
|
5
|
-
export default
|
4
|
+
declare const _default: React.NamedExoticComponent<TreeTableProps>;
|
5
|
+
export default _default;
|
@@ -56,6 +56,6 @@ export interface TreeTableProps {
|
|
56
56
|
onChange?: (e: any, node: string[]) => void;
|
57
57
|
onClick?: (e: React.MouseEvent<HTMLDivElement>, row: TreeNode) => void;
|
58
58
|
onExpand?: (_isExpanded: boolean, node: string) => void;
|
59
|
-
|
59
|
+
loadMore?: (_direction?: string) => void;
|
60
60
|
}
|
61
61
|
export {};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
interface UseIntersectionObserverOptions {
|
2
|
+
root?: Element | null;
|
3
|
+
rootMargin?: string;
|
4
|
+
threshold?: number | number[];
|
5
|
+
onIntersect: (entry: IntersectionObserverEntry, observer: IntersectionObserver) => void;
|
6
|
+
}
|
7
|
+
export declare function useIntersectionObserver(elements: (Element | string)[] | null, // Accepts Element or id strings
|
8
|
+
options: UseIntersectionObserverOptions): void;
|
9
|
+
export {};
|
package/lib/index.d.ts
CHANGED
@@ -293,23 +293,23 @@ interface AccordionProps {
|
|
293
293
|
declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
294
294
|
|
295
295
|
type OptionValue$1 = any;
|
296
|
-
interface Option$
|
296
|
+
interface Option$3 {
|
297
297
|
[key: string]: OptionValue$1;
|
298
298
|
}
|
299
299
|
interface MultiSelectProps {
|
300
|
-
options: Option$
|
300
|
+
options: Option$3[];
|
301
301
|
type?: 'email' | 'text';
|
302
302
|
label: string;
|
303
|
-
selectedOptions?: Option$
|
303
|
+
selectedOptions?: Option$3[];
|
304
304
|
disabled?: boolean;
|
305
305
|
onSearch?: (searchedKeyword: string) => void;
|
306
|
-
onChange?: (selectedOptions: Option$
|
306
|
+
onChange?: (selectedOptions: Option$3[]) => void;
|
307
307
|
acceptNewOption?: boolean;
|
308
308
|
zIndex?: number;
|
309
309
|
required?: boolean;
|
310
310
|
errorMessage?: string;
|
311
311
|
withSelectButton?: boolean;
|
312
|
-
onSelectButtonClick?: (selectedOptions: Option$
|
312
|
+
onSelectButtonClick?: (selectedOptions: Option$3[]) => void;
|
313
313
|
displayCount?: boolean;
|
314
314
|
placeholderForSearching?: string;
|
315
315
|
/** Default is default. choose labels variant if you are using this component for labels dropdown or choose machines if you are using this component in parallel */
|
@@ -325,9 +325,10 @@ interface MultiSelectProps {
|
|
325
325
|
labelAccessor?: string;
|
326
326
|
valueAccessor?: string;
|
327
327
|
onEnter?: (newOption: string) => void;
|
328
|
+
loadMoreOptions?: () => void;
|
328
329
|
}
|
329
330
|
|
330
|
-
declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, displayCount: initialDisplayCount, placeholderForSearching, variant, onLabelPlusIconClick, onManageLabelsClick, className, highlightedMachine, onSelectButtonClick, labelAccessor, valueAccessor, withSelectButton, onEnter, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
|
331
|
+
declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, displayCount: initialDisplayCount, placeholderForSearching, variant, onLabelPlusIconClick, onManageLabelsClick, className, highlightedMachine, onSelectButtonClick, labelAccessor, valueAccessor, withSelectButton, loadMoreOptions, onEnter, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
|
331
332
|
|
332
333
|
interface ToasterProps {
|
333
334
|
/**Boolean value to handle state of toaster. */
|
@@ -495,7 +496,7 @@ interface ChipsProps {
|
|
495
496
|
/**
|
496
497
|
* The variant of the Chip.
|
497
498
|
*/
|
498
|
-
variant?: 'primary' | 'success' | 'error' | 'warning' | 'custom' | 'public' | 'partial-public' | 'private' | 'disabled';
|
499
|
+
variant?: 'primary' | 'success' | 'error' | 'warning' | 'custom' | 'public' | 'partial-public' | 'private' | 'disabled' | 'count';
|
499
500
|
/**
|
500
501
|
* The callback function to be executed when the Chip is clicked.
|
501
502
|
*/
|
@@ -678,9 +679,9 @@ declare const ExpandableMenu: React.FC<ExpandableMenuProps>;
|
|
678
679
|
interface SelectProps$1 {
|
679
680
|
label?: string;
|
680
681
|
showLabel?: boolean;
|
681
|
-
optionsList: Option$
|
682
|
-
selectedOption?: Option$
|
683
|
-
onChange: (option: Option$
|
682
|
+
optionsList: Option$2[];
|
683
|
+
selectedOption?: Option$2;
|
684
|
+
onChange: (option: Option$2) => void;
|
684
685
|
errorMsg?: string;
|
685
686
|
className?: string;
|
686
687
|
optionZIndex?: number;
|
@@ -703,7 +704,7 @@ interface SelectProps$1 {
|
|
703
704
|
iconName?: string;
|
704
705
|
}
|
705
706
|
type OptionValue = any;
|
706
|
-
interface Option$
|
707
|
+
interface Option$2 {
|
707
708
|
[key: string]: OptionValue;
|
708
709
|
}
|
709
710
|
|
@@ -944,9 +945,10 @@ interface MenuOptionProps {
|
|
944
945
|
* @optional
|
945
946
|
*/
|
946
947
|
optionCardVariant?: 'primary';
|
948
|
+
targetRef?: React.RefObject<HTMLElement>;
|
947
949
|
}
|
948
950
|
|
949
|
-
declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, zIndex, dropdownPlacement, optionCardVariant }: MenuOptionProps) => react_jsx_runtime.JSX.Element;
|
951
|
+
declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, zIndex, dropdownPlacement, optionCardVariant, targetRef, }: MenuOptionProps) => react_jsx_runtime.JSX.Element;
|
950
952
|
|
951
953
|
interface DataProps$1 {
|
952
954
|
/**
|
@@ -1339,7 +1341,7 @@ declare const ForwardedForms: <T extends Form.FieldValues>(props: FormProps<T> &
|
|
1339
1341
|
ref?: React__default.Ref<any>;
|
1340
1342
|
}) => JSX.Element;
|
1341
1343
|
|
1342
|
-
interface Option$
|
1344
|
+
interface Option$1 {
|
1343
1345
|
label: string | ReactNode;
|
1344
1346
|
value: string;
|
1345
1347
|
}
|
@@ -1388,11 +1390,11 @@ interface InputWithDropdownProps {
|
|
1388
1390
|
/**
|
1389
1391
|
* Options for the select dropdown
|
1390
1392
|
*/
|
1391
|
-
optionsList: Option$
|
1393
|
+
optionsList: Option$1[];
|
1392
1394
|
/**
|
1393
1395
|
* Selected option for the select dropdown
|
1394
1396
|
*/
|
1395
|
-
selectedOption?: Option$
|
1397
|
+
selectedOption?: Option$1;
|
1396
1398
|
/**
|
1397
1399
|
* onChange handler for input changes
|
1398
1400
|
*/
|
@@ -1429,7 +1431,7 @@ interface InputWithDropdownProps {
|
|
1429
1431
|
dropdownPosition?: 'left' | 'right';
|
1430
1432
|
}
|
1431
1433
|
|
1432
|
-
declare const InputWithDropdown:
|
1434
|
+
declare const InputWithDropdown: React$1.ForwardRefExoticComponent<InputWithDropdownProps & React$1.RefAttributes<HTMLInputElement>>;
|
1433
1435
|
|
1434
1436
|
/**
|
1435
1437
|
* Props for the RadioButton component.
|
@@ -1494,6 +1496,7 @@ interface ModalDimensions {
|
|
1494
1496
|
boxShadow?: string;
|
1495
1497
|
left?: number;
|
1496
1498
|
top?: number;
|
1499
|
+
padding?: number;
|
1497
1500
|
}
|
1498
1501
|
interface MiniEditModalProps {
|
1499
1502
|
/**
|
@@ -1624,10 +1627,10 @@ interface TreeTableProps {
|
|
1624
1627
|
onChange?: (e: any, node: string[]) => void;
|
1625
1628
|
onClick?: (e: React.MouseEvent<HTMLDivElement>, row: TreeNode) => void;
|
1626
1629
|
onExpand?: (_isExpanded: boolean, node: string) => void;
|
1627
|
-
|
1630
|
+
loadMore?: (_direction?: string) => void;
|
1628
1631
|
}
|
1629
1632
|
|
1630
|
-
declare const
|
1633
|
+
declare const _default: React__default.NamedExoticComponent<TreeTableProps>;
|
1631
1634
|
|
1632
1635
|
interface TabsProps {
|
1633
1636
|
/**
|
@@ -1834,7 +1837,7 @@ interface ModalProps {
|
|
1834
1837
|
/***Content to be displayed inside the modal */
|
1835
1838
|
children: ReactNode;
|
1836
1839
|
isFooterDisplayed: boolean;
|
1837
|
-
customWidth
|
1840
|
+
customWidth?: string;
|
1838
1841
|
customHeight?: string;
|
1839
1842
|
zIndex?: number;
|
1840
1843
|
boxShadow?: string;
|
@@ -2060,10 +2063,17 @@ declare const Recaptcha: React$1.ForwardRefExoticComponent<RecaptchaProps & Reac
|
|
2060
2063
|
|
2061
2064
|
interface SelectProps {
|
2062
2065
|
label?: string;
|
2066
|
+
rightIcon?: string;
|
2067
|
+
leftIcon?: string;
|
2063
2068
|
showLabel?: boolean;
|
2069
|
+
onHelpIconClick?: () => void;
|
2070
|
+
webServiceClick?: () => void;
|
2071
|
+
aiIconClick?: () => void;
|
2072
|
+
rightIconColor: string;
|
2064
2073
|
optionsList: any[];
|
2065
|
-
selectedOption?:
|
2066
|
-
|
2074
|
+
selectedOption?: NlpRenderOption;
|
2075
|
+
containerWidth?: string | number;
|
2076
|
+
onChange: (option: NlpRenderOption) => void;
|
2067
2077
|
errorMsg?: string;
|
2068
2078
|
className?: string;
|
2069
2079
|
optionZIndex?: number;
|
@@ -2071,16 +2081,19 @@ interface SelectProps {
|
|
2071
2081
|
borderRadius?: boolean;
|
2072
2082
|
showBorder?: boolean;
|
2073
2083
|
required?: boolean;
|
2084
|
+
value: string;
|
2085
|
+
onSelect: (e: any) => void;
|
2074
2086
|
}
|
2075
|
-
interface
|
2087
|
+
interface NlpRenderOption {
|
2076
2088
|
displayName: string | ReactNode;
|
2077
2089
|
projectId: string;
|
2078
2090
|
nlpType: string;
|
2079
2091
|
platform: string;
|
2080
2092
|
disabled?: boolean;
|
2093
|
+
videoSrc?: string;
|
2081
2094
|
}
|
2082
2095
|
|
2083
|
-
declare const NlpInput: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
2096
|
+
declare const NlpInput: ({ label, leftIcon, rightIcon, rightIconColor, showLabel, onHelpIconClick, aiIconClick, webServiceClick, containerWidth, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, value, onSelect, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
2084
2097
|
|
2085
2098
|
interface IconRadioItem {
|
2086
2099
|
/**
|
@@ -2137,6 +2150,7 @@ interface MachineInputFieldProps {
|
|
2137
2150
|
className?: string;
|
2138
2151
|
contentReverse?: boolean;
|
2139
2152
|
onClick?: () => void;
|
2153
|
+
modalId?: string;
|
2140
2154
|
}
|
2141
2155
|
|
2142
2156
|
declare const MachineInputField: React$1.ForwardRefExoticComponent<MachineInputFieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
@@ -2145,23 +2159,29 @@ interface SequentialConnectingBranchProps {
|
|
2145
2159
|
machineInstances?: ExecutionContext[] | {}[];
|
2146
2160
|
machineColumnWidth?: number;
|
2147
2161
|
machineColumnCount?: number;
|
2148
|
-
selectedMachine?: Option$
|
2149
|
-
machineOptionsList?: Option$
|
2150
|
-
onHandleSelect?: (option: Option$
|
2162
|
+
selectedMachine?: Option$2;
|
2163
|
+
machineOptionsList?: Option$2[];
|
2164
|
+
onHandleSelect?: (option: Option$2) => void;
|
2151
2165
|
onAddBrowserInstance?: (modalId: string) => void;
|
2152
|
-
onUpdateAddBrowserInstance
|
2166
|
+
onUpdateAddBrowserInstance: (modalId: string, machineInstance: ExecutionContext) => void;
|
2153
2167
|
onDeleteBrowserInstance?: (id: string, runCount: number) => void;
|
2154
2168
|
onAddRunBrowserInstance?: (machineInstanceId: string) => void;
|
2155
2169
|
onDeleteMachineInstance?: () => void;
|
2156
2170
|
onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
|
2157
2171
|
dataSetValues: dataSetValues;
|
2172
|
+
addInstanceLabel?: string;
|
2173
|
+
scriptType?: string;
|
2174
|
+
projectType?: string;
|
2158
2175
|
}
|
2159
2176
|
interface MachineInfo {
|
2160
2177
|
osName: string;
|
2161
2178
|
osVersion: string;
|
2162
2179
|
hostName: string;
|
2180
|
+
iconName: string;
|
2163
2181
|
}
|
2164
2182
|
interface DeviceInfo {
|
2183
|
+
name: string;
|
2184
|
+
platform: string;
|
2165
2185
|
}
|
2166
2186
|
interface ExecutionContext {
|
2167
2187
|
machineInstanceId: string;
|
@@ -2299,6 +2319,7 @@ interface LabelEditTextFieldTypes$1 {
|
|
2299
2319
|
isOpen?: boolean;
|
2300
2320
|
/**for conditionally handle custom error */
|
2301
2321
|
customErrorCondition?: boolean;
|
2322
|
+
placeholder?: string;
|
2302
2323
|
onClick?: () => void;
|
2303
2324
|
tooltip?: {
|
2304
2325
|
tooltipTitle?: string;
|
@@ -2541,44 +2562,37 @@ interface LineChartProps {
|
|
2541
2562
|
textSize?: string | number;
|
2542
2563
|
fontWeight?: string | number;
|
2543
2564
|
numberSize?: string | number;
|
2565
|
+
proportionalSpacing?: boolean;
|
2544
2566
|
}
|
2545
2567
|
|
2546
2568
|
declare const LineChart: React__default.FC<LineChartProps>;
|
2547
2569
|
|
2548
2570
|
interface DownloadClientProps {
|
2549
2571
|
/**
|
2550
|
-
*
|
2551
|
-
|
2552
|
-
|
2572
|
+
* Close dialog function to close the modal dialog
|
2573
|
+
**/
|
2574
|
+
onClose: () => void;
|
2553
2575
|
/**
|
2554
|
-
*
|
2555
|
-
|
2556
|
-
|
2576
|
+
* distance between modal dialog and parent from top
|
2577
|
+
**/
|
2578
|
+
top?: string;
|
2557
2579
|
/**
|
2558
|
-
*
|
2559
|
-
|
2560
|
-
|
2580
|
+
* distance between modal dialog and parent from left
|
2581
|
+
**/
|
2582
|
+
left?: string;
|
2561
2583
|
/**
|
2562
|
-
*
|
2563
|
-
|
2564
|
-
|
2584
|
+
* To be used custom properties for the modal dialog through className
|
2585
|
+
**/
|
2586
|
+
className?: string;
|
2565
2587
|
/**
|
2566
|
-
*
|
2567
|
-
|
2568
|
-
|
2588
|
+
* Description of the dialog box
|
2589
|
+
**/
|
2590
|
+
description?: string;
|
2569
2591
|
/**
|
2570
|
-
*
|
2571
|
-
|
2572
|
-
|
2573
|
-
|
2574
|
-
}
|
2575
|
-
interface DownloadClientProps {
|
2576
|
-
onClose?: () => void;
|
2577
|
-
onClickWindows: () => void;
|
2578
|
-
onClickLinux: () => void;
|
2579
|
-
onClickMac: () => void;
|
2580
|
-
top?: string;
|
2581
|
-
left?: string;
|
2592
|
+
* Download button function
|
2593
|
+
**/
|
2594
|
+
onClick?: (os: string) => void;
|
2595
|
+
optionZIndex?: number;
|
2582
2596
|
}
|
2583
2597
|
|
2584
2598
|
declare const DownloadClient: React.FC<DownloadClientProps>;
|
@@ -2629,11 +2643,11 @@ interface CreateVariableProps {
|
|
2629
2643
|
/**
|
2630
2644
|
* onChange of name
|
2631
2645
|
*/
|
2632
|
-
onNameChange: (value: string
|
2646
|
+
onNameChange: (value: string) => void;
|
2633
2647
|
/**
|
2634
2648
|
* onChange of value
|
2635
2649
|
*/
|
2636
|
-
onValueChange: (value: string
|
2650
|
+
onValueChange: (value: string) => void;
|
2637
2651
|
/**
|
2638
2652
|
* Hide value
|
2639
2653
|
*/
|
@@ -2719,6 +2733,21 @@ interface TableProps {
|
|
2719
2733
|
|
2720
2734
|
declare const TableWithAccordion: ({ tableMeta, tableData, accordionType, noDataContent, height, withFixedHeader, headerType, TableAccordionStateIconWidth, TableAccordionStateIconHeight, }: TableProps) => react_jsx_runtime.JSX.Element;
|
2721
2735
|
|
2736
|
+
interface ProgressBarProps {
|
2737
|
+
progressPercentage: number;
|
2738
|
+
color?: string;
|
2739
|
+
trackColor?: string;
|
2740
|
+
height?: number;
|
2741
|
+
label?: string;
|
2742
|
+
showPercentage?: boolean;
|
2743
|
+
percentageFontSize?: number;
|
2744
|
+
percentageTextColor?: string;
|
2745
|
+
labelFontSize?: number;
|
2746
|
+
labelTextColor?: string;
|
2747
|
+
}
|
2748
|
+
|
2749
|
+
declare const ProgressBar: React__default.FC<ProgressBarProps>;
|
2750
|
+
|
2722
2751
|
type valueType$1 = any;
|
2723
2752
|
declare const checkEmpty: (value: valueType$1) => boolean;
|
2724
2753
|
|
@@ -2816,6 +2845,7 @@ interface OperatingSystemInfo {
|
|
2816
2845
|
osName: string;
|
2817
2846
|
osVersion: string;
|
2818
2847
|
hostName: string;
|
2848
|
+
iconName: string;
|
2819
2849
|
}
|
2820
2850
|
interface RunLevelExecutionDataSet {
|
2821
2851
|
peVariableSetId: string;
|
@@ -2886,12 +2916,13 @@ interface PopUpModalProps {
|
|
2886
2916
|
subTitleMessage?: string;
|
2887
2917
|
iconName: string;
|
2888
2918
|
modalMessage: string;
|
2889
|
-
footerMessage: string;
|
2890
2919
|
firstButtonLabel?: string;
|
2891
2920
|
secondButtonLabel: string;
|
2892
2921
|
buttonVariant: any;
|
2893
2922
|
border: string;
|
2923
|
+
popupWidth?: string;
|
2894
2924
|
colorForTitleMessage?: string;
|
2925
|
+
footerContent?: React.ReactNode;
|
2895
2926
|
}
|
2896
2927
|
|
2897
2928
|
declare const PopUpModal: FC<PopUpModalProps>;
|
@@ -2901,11 +2932,26 @@ declare function formatString(input: string, removeSections?: string[]): string;
|
|
2901
2932
|
type dynamicObject = {
|
2902
2933
|
[key: string]: any;
|
2903
2934
|
};
|
2904
|
-
|
2935
|
+
type TestDataObject = {
|
2936
|
+
_id: string;
|
2937
|
+
name: string;
|
2938
|
+
actualPath: string;
|
2939
|
+
searchKey: string;
|
2940
|
+
parentId: string;
|
2941
|
+
};
|
2942
|
+
interface ConditionalDropdownProps {
|
2905
2943
|
/**
|
2906
2944
|
* Label for the field
|
2907
2945
|
*/
|
2908
2946
|
label?: string;
|
2947
|
+
/**
|
2948
|
+
* Value in the input should stored in this state
|
2949
|
+
*/
|
2950
|
+
hashInputValue?: TestDataObject | dynamicObject;
|
2951
|
+
/**
|
2952
|
+
* Function storing and updating the inputValue state
|
2953
|
+
*/
|
2954
|
+
setHashInputValue?: (value: dynamicObject | undefined) => void;
|
2909
2955
|
/**
|
2910
2956
|
* List of variables
|
2911
2957
|
*/
|
@@ -2919,22 +2965,94 @@ interface AddVariableProps {
|
|
2919
2965
|
* @param value
|
2920
2966
|
* @returns
|
2921
2967
|
*/
|
2922
|
-
onChange
|
2968
|
+
onChange?: (value: string) => void;
|
2923
2969
|
/**
|
2924
2970
|
* Function to handle create variable icon click
|
2925
2971
|
*/
|
2926
2972
|
onCreateVariableClick?: () => void;
|
2927
|
-
/**
|
2928
|
-
* Value of the input field
|
2929
|
-
*/
|
2930
|
-
value: string;
|
2931
2973
|
/**
|
2932
2974
|
* Width of the dropdown
|
2933
2975
|
*/
|
2934
2976
|
dropdownWidth?: string;
|
2977
|
+
/**
|
2978
|
+
* Name | name of the input field
|
2979
|
+
*/
|
2980
|
+
name?: string;
|
2981
|
+
/**
|
2982
|
+
* value | input field value
|
2983
|
+
*/
|
2984
|
+
value?: string;
|
2985
|
+
/**
|
2986
|
+
* variants to set color/style of the input field
|
2987
|
+
*/
|
2988
|
+
variant?: 'default' | 'primary';
|
2989
|
+
/**
|
2990
|
+
* type to set color/style of the input field
|
2991
|
+
*/
|
2992
|
+
type?: 'text' | 'password' | 'number' | 'email' | 'url' | 'time';
|
2993
|
+
/**
|
2994
|
+
* error | If true, error message will be displayed
|
2995
|
+
*/
|
2996
|
+
error?: boolean;
|
2997
|
+
/**
|
2998
|
+
* helperText | error, success, warning message to be shown
|
2999
|
+
*/
|
3000
|
+
helperText?: string;
|
3001
|
+
/**
|
3002
|
+
* to disable the input field
|
3003
|
+
*/
|
3004
|
+
disabled?: boolean;
|
3005
|
+
/**
|
3006
|
+
* if true, input field will be mandatory
|
3007
|
+
*/
|
3008
|
+
required?: boolean;
|
3009
|
+
/**
|
3010
|
+
* classnames to style the input field
|
3011
|
+
*/
|
3012
|
+
className?: string;
|
3013
|
+
/**
|
3014
|
+
* noBorder prop 'true' removes border of input
|
3015
|
+
*/
|
3016
|
+
noBorder?: boolean;
|
3017
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
3018
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
3019
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
3020
|
+
/**
|
3021
|
+
* id to select the input field uniquely
|
3022
|
+
*/
|
3023
|
+
id?: string;
|
3024
|
+
/**
|
3025
|
+
* if on, suggestion popup will be displayed
|
3026
|
+
*/
|
3027
|
+
autoComplete?: 'on' | 'off';
|
3028
|
+
/**
|
3029
|
+
* minimum and maximum values for the number type input field and their functions
|
3030
|
+
*/
|
3031
|
+
minValue?: number;
|
3032
|
+
maxValue?: number;
|
3033
|
+
/**
|
3034
|
+
* background of the input field prop
|
3035
|
+
*/
|
3036
|
+
transparentBackground?: boolean;
|
3037
|
+
/**
|
3038
|
+
* size for the input field
|
3039
|
+
*/
|
3040
|
+
size?: 'small' | 'medium';
|
3041
|
+
/**
|
3042
|
+
* isLabelRequired for the input field without label,showing placeholder
|
3043
|
+
*/
|
3044
|
+
isLabelRequired?: boolean;
|
3045
|
+
/**
|
3046
|
+
* If true, dropdown opens when '#' is entered at the first position.
|
3047
|
+
*/
|
3048
|
+
isHash?: boolean;
|
3049
|
+
/**
|
3050
|
+
* Options for the dropdown when `isHash` is true.
|
3051
|
+
*/
|
3052
|
+
dataFiles?: dynamicObject[];
|
2935
3053
|
}
|
2936
3054
|
|
2937
|
-
declare const
|
3055
|
+
declare const ConditionalDropdown: React__default.FC<ConditionalDropdownProps>;
|
2938
3056
|
|
2939
3057
|
declare const hasDuplicateFile: (array: any[], property: string) => boolean;
|
2940
3058
|
|
@@ -2951,4 +3069,4 @@ interface PhoneInputProps {
|
|
2951
3069
|
|
2952
3070
|
declare const PhoneInputField: React__default.FC<PhoneInputProps>;
|
2953
3071
|
|
2954
|
-
export { Accordion, AddButton as AddResourceButton,
|
3072
|
+
export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BarChart, Button, Checkbox, Chip, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, HighlightText, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LabelEditTextField, LineChart, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, Paper, PhoneInputField, PieChart, PopUpModal, ProgressBar, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, Table, _default as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, VariableDropdown, VariableInput, capitalize, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, hasDuplicateFile, saveFileFromBlob, throttle, toast, truncateText, useFileDropzone, useTheme };
|