pixel-react 1.6.9 → 1.7.1
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/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/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/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/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 +112 -59
- package/lib/index.esm.js +1251 -662
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1252 -662
- 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/ai_search.svg +9 -0
- package/src/assets/icons/help_icon.svg +10 -0
- package/src/assets/icons/ios_icon.svg +11 -0
- package/src/assets/icons/plus_round_icon.svg +38 -0
- package/src/assets/icons/tick_icon.svg +2 -2
- 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/{AddVariables/AddVariables.stories.tsx → ConditionalDropdown/ConditionalDropdown.stories.tsx} +75 -10
- package/src/components/{AddVariables/AddVariables.tsx → ConditionalDropdown/ConditionalDropdown.tsx} +63 -33
- package/src/components/ConditionalDropdown/OptionsDropdown.tsx +44 -0
- package/src/components/ConditionalDropdown/index.ts +1 -0
- package/src/components/{AddVariables → ConditionalDropdown}/types.ts +62 -5
- 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 +9 -0
- 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/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/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 -2
- package/src/utils/functionCheck/functionCheck.ts +8 -0
- package/src/utils/getSequentialPayload/types.ts +1 -0
- package/src/components/AddVariables/index.ts +0 -1
@@ -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
|
*/
|
@@ -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
|
/**
|
@@ -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>;
|
@@ -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;
|
@@ -2902,11 +2932,26 @@ declare function formatString(input: string, removeSections?: string[]): string;
|
|
2902
2932
|
type dynamicObject = {
|
2903
2933
|
[key: string]: any;
|
2904
2934
|
};
|
2905
|
-
|
2935
|
+
type TestDataObject = {
|
2936
|
+
_id: string;
|
2937
|
+
name: string;
|
2938
|
+
actualPath: string;
|
2939
|
+
searchKey: string;
|
2940
|
+
parentId: string;
|
2941
|
+
};
|
2942
|
+
interface ConditionalDropdownProps {
|
2906
2943
|
/**
|
2907
2944
|
* Label for the field
|
2908
2945
|
*/
|
2909
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;
|
2910
2955
|
/**
|
2911
2956
|
* List of variables
|
2912
2957
|
*/
|
@@ -2920,7 +2965,7 @@ interface AddVariableProps {
|
|
2920
2965
|
* @param value
|
2921
2966
|
* @returns
|
2922
2967
|
*/
|
2923
|
-
onChange
|
2968
|
+
onChange?: (value: string) => void;
|
2924
2969
|
/**
|
2925
2970
|
* Function to handle create variable icon click
|
2926
2971
|
*/
|
@@ -2932,11 +2977,11 @@ interface AddVariableProps {
|
|
2932
2977
|
/**
|
2933
2978
|
* Name | name of the input field
|
2934
2979
|
*/
|
2935
|
-
name
|
2980
|
+
name?: string;
|
2936
2981
|
/**
|
2937
2982
|
* value | input field value
|
2938
2983
|
*/
|
2939
|
-
value
|
2984
|
+
value?: string;
|
2940
2985
|
/**
|
2941
2986
|
* variants to set color/style of the input field
|
2942
2987
|
*/
|
@@ -2944,7 +2989,7 @@ interface AddVariableProps {
|
|
2944
2989
|
/**
|
2945
2990
|
* type to set color/style of the input field
|
2946
2991
|
*/
|
2947
|
-
type
|
2992
|
+
type?: 'text' | 'password' | 'number' | 'email' | 'url' | 'time';
|
2948
2993
|
/**
|
2949
2994
|
* error | If true, error message will be displayed
|
2950
2995
|
*/
|
@@ -2997,9 +3042,17 @@ interface AddVariableProps {
|
|
2997
3042
|
* isLabelRequired for the input field without label,showing placeholder
|
2998
3043
|
*/
|
2999
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[];
|
3000
3053
|
}
|
3001
3054
|
|
3002
|
-
declare const
|
3055
|
+
declare const ConditionalDropdown: React__default.FC<ConditionalDropdownProps>;
|
3003
3056
|
|
3004
3057
|
declare const hasDuplicateFile: (array: any[], property: string) => boolean;
|
3005
3058
|
|
@@ -3016,4 +3069,4 @@ interface PhoneInputProps {
|
|
3016
3069
|
|
3017
3070
|
declare const PhoneInputField: React__default.FC<PhoneInputProps>;
|
3018
3071
|
|
3019
|
-
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 };
|