pixel-react-excel-sheet 1.0.19 → 1.0.21
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/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/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/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 +1 -0
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +1 -1
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +1 -0
- package/lib/components/SequentialConnectingBranch/types.d.ts +1 -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 +154 -37
- package/lib/index.esm.js +817 -516
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +818 -516
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/functionCheck/functionCheck.d.ts +2 -0
- package/package.json +1 -1
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +5 -0
- package/src/assets/Themes/BaseTheme.scss +18 -3
- package/src/assets/Themes/DarkTheme.scss +15 -2
- package/src/assets/icons/ai_search.svg +9 -0
- 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/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/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/EditTextField/EditTextField.scss +1 -1
- package/src/components/EditTextField/EditTextField.tsx +14 -20
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.tsx +9 -26
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +4 -2
- package/src/components/Excel/ExcelFile.stories.tsx +1 -1
- 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 +4 -4
- package/src/components/MachineInputField/MachineInputField.tsx +4 -1
- package/src/components/MachineInputField/types.ts +1 -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 +4 -3
- package/src/components/MultiSelect/MultiSelect.scss +1 -0
- package/src/components/MultiSelect/MultiSelect.tsx +1 -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.tsx +2 -0
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +8 -0
- package/src/components/SequentialConnectingBranch/components/Branches/types.ts +1 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +2 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +1 -0
- package/src/components/SequentialConnectingBranch/types.ts +1 -1
- 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 +29 -181
- package/src/components/TableTree/Utils/getAllChildIds.ts +2 -0
- package/src/components/TableTree/data.ts +45 -0
- package/src/components/TableTree/types.ts +1 -1
- package/src/hooks/useIntersectionObserver.tsx +56 -0
- package/src/index.ts +4 -3
- package/src/utils/functionCheck/functionCheck.ts +8 -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
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 */
|
|
@@ -495,7 +495,7 @@ interface ChipsProps {
|
|
|
495
495
|
/**
|
|
496
496
|
* The variant of the Chip.
|
|
497
497
|
*/
|
|
498
|
-
variant?: 'primary' | 'success' | 'error' | 'warning' | 'custom' | 'public' | 'partial-public' | 'private' | 'disabled';
|
|
498
|
+
variant?: 'primary' | 'success' | 'error' | 'warning' | 'custom' | 'public' | 'partial-public' | 'private' | 'disabled' | 'count';
|
|
499
499
|
/**
|
|
500
500
|
* The callback function to be executed when the Chip is clicked.
|
|
501
501
|
*/
|
|
@@ -678,9 +678,9 @@ declare const ExpandableMenu: React.FC<ExpandableMenuProps>;
|
|
|
678
678
|
interface SelectProps$1 {
|
|
679
679
|
label?: string;
|
|
680
680
|
showLabel?: boolean;
|
|
681
|
-
optionsList: Option$
|
|
682
|
-
selectedOption?: Option$
|
|
683
|
-
onChange: (option: Option$
|
|
681
|
+
optionsList: Option$2[];
|
|
682
|
+
selectedOption?: Option$2;
|
|
683
|
+
onChange: (option: Option$2) => void;
|
|
684
684
|
errorMsg?: string;
|
|
685
685
|
className?: string;
|
|
686
686
|
optionZIndex?: number;
|
|
@@ -703,7 +703,7 @@ interface SelectProps$1 {
|
|
|
703
703
|
iconName?: string;
|
|
704
704
|
}
|
|
705
705
|
type OptionValue = any;
|
|
706
|
-
interface Option$
|
|
706
|
+
interface Option$2 {
|
|
707
707
|
[key: string]: OptionValue;
|
|
708
708
|
}
|
|
709
709
|
|
|
@@ -944,9 +944,10 @@ interface MenuOptionProps {
|
|
|
944
944
|
* @optional
|
|
945
945
|
*/
|
|
946
946
|
optionCardVariant?: 'primary';
|
|
947
|
+
targetRef?: React.RefObject<HTMLElement>;
|
|
947
948
|
}
|
|
948
949
|
|
|
949
|
-
declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, zIndex, dropdownPlacement, optionCardVariant }: MenuOptionProps) => react_jsx_runtime.JSX.Element;
|
|
950
|
+
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
951
|
|
|
951
952
|
interface DataProps$1 {
|
|
952
953
|
/**
|
|
@@ -1339,7 +1340,7 @@ declare const ForwardedForms: <T extends Form.FieldValues>(props: FormProps<T> &
|
|
|
1339
1340
|
ref?: React__default.Ref<any>;
|
|
1340
1341
|
}) => JSX.Element;
|
|
1341
1342
|
|
|
1342
|
-
interface Option$
|
|
1343
|
+
interface Option$1 {
|
|
1343
1344
|
label: string | ReactNode;
|
|
1344
1345
|
value: string;
|
|
1345
1346
|
}
|
|
@@ -1388,11 +1389,11 @@ interface InputWithDropdownProps {
|
|
|
1388
1389
|
/**
|
|
1389
1390
|
* Options for the select dropdown
|
|
1390
1391
|
*/
|
|
1391
|
-
optionsList: Option$
|
|
1392
|
+
optionsList: Option$1[];
|
|
1392
1393
|
/**
|
|
1393
1394
|
* Selected option for the select dropdown
|
|
1394
1395
|
*/
|
|
1395
|
-
selectedOption?: Option$
|
|
1396
|
+
selectedOption?: Option$1;
|
|
1396
1397
|
/**
|
|
1397
1398
|
* onChange handler for input changes
|
|
1398
1399
|
*/
|
|
@@ -1429,7 +1430,7 @@ interface InputWithDropdownProps {
|
|
|
1429
1430
|
dropdownPosition?: 'left' | 'right';
|
|
1430
1431
|
}
|
|
1431
1432
|
|
|
1432
|
-
declare const InputWithDropdown:
|
|
1433
|
+
declare const InputWithDropdown: React$1.ForwardRefExoticComponent<InputWithDropdownProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
1433
1434
|
|
|
1434
1435
|
/**
|
|
1435
1436
|
* Props for the RadioButton component.
|
|
@@ -1494,6 +1495,7 @@ interface ModalDimensions {
|
|
|
1494
1495
|
boxShadow?: string;
|
|
1495
1496
|
left?: number;
|
|
1496
1497
|
top?: number;
|
|
1498
|
+
padding?: number;
|
|
1497
1499
|
}
|
|
1498
1500
|
interface MiniEditModalProps {
|
|
1499
1501
|
/**
|
|
@@ -1624,10 +1626,10 @@ interface TreeTableProps {
|
|
|
1624
1626
|
onChange?: (e: any, node: string[]) => void;
|
|
1625
1627
|
onClick?: (e: React.MouseEvent<HTMLDivElement>, row: TreeNode) => void;
|
|
1626
1628
|
onExpand?: (_isExpanded: boolean, node: string) => void;
|
|
1627
|
-
|
|
1629
|
+
loadMore?: (_direction?: string) => void;
|
|
1628
1630
|
}
|
|
1629
1631
|
|
|
1630
|
-
declare const
|
|
1632
|
+
declare const _default: React__default.NamedExoticComponent<TreeTableProps>;
|
|
1631
1633
|
|
|
1632
1634
|
interface TabsProps {
|
|
1633
1635
|
/**
|
|
@@ -1834,7 +1836,7 @@ interface ModalProps {
|
|
|
1834
1836
|
/***Content to be displayed inside the modal */
|
|
1835
1837
|
children: ReactNode;
|
|
1836
1838
|
isFooterDisplayed: boolean;
|
|
1837
|
-
customWidth
|
|
1839
|
+
customWidth?: string;
|
|
1838
1840
|
customHeight?: string;
|
|
1839
1841
|
zIndex?: number;
|
|
1840
1842
|
boxShadow?: string;
|
|
@@ -2060,10 +2062,17 @@ declare const Recaptcha: React$1.ForwardRefExoticComponent<RecaptchaProps & Reac
|
|
|
2060
2062
|
|
|
2061
2063
|
interface SelectProps {
|
|
2062
2064
|
label?: string;
|
|
2065
|
+
rightIcon?: string;
|
|
2066
|
+
leftIcon?: string;
|
|
2063
2067
|
showLabel?: boolean;
|
|
2068
|
+
onHelpIconClick?: () => void;
|
|
2069
|
+
webServiceClick?: () => void;
|
|
2070
|
+
aiIconClick?: () => void;
|
|
2071
|
+
rightIconColor: string;
|
|
2064
2072
|
optionsList: any[];
|
|
2065
|
-
selectedOption?:
|
|
2066
|
-
|
|
2073
|
+
selectedOption?: NlpRenderOption;
|
|
2074
|
+
containerWidth?: string | number;
|
|
2075
|
+
onChange: (option: NlpRenderOption) => void;
|
|
2067
2076
|
errorMsg?: string;
|
|
2068
2077
|
className?: string;
|
|
2069
2078
|
optionZIndex?: number;
|
|
@@ -2071,16 +2080,19 @@ interface SelectProps {
|
|
|
2071
2080
|
borderRadius?: boolean;
|
|
2072
2081
|
showBorder?: boolean;
|
|
2073
2082
|
required?: boolean;
|
|
2083
|
+
value: string;
|
|
2084
|
+
onSelect: (e: any) => void;
|
|
2074
2085
|
}
|
|
2075
|
-
interface
|
|
2086
|
+
interface NlpRenderOption {
|
|
2076
2087
|
displayName: string | ReactNode;
|
|
2077
2088
|
projectId: string;
|
|
2078
2089
|
nlpType: string;
|
|
2079
2090
|
platform: string;
|
|
2080
2091
|
disabled?: boolean;
|
|
2092
|
+
videoSrc?: string;
|
|
2081
2093
|
}
|
|
2082
2094
|
|
|
2083
|
-
declare const NlpInput: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
|
2095
|
+
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
2096
|
|
|
2085
2097
|
interface IconRadioItem {
|
|
2086
2098
|
/**
|
|
@@ -2137,6 +2149,7 @@ interface MachineInputFieldProps {
|
|
|
2137
2149
|
className?: string;
|
|
2138
2150
|
contentReverse?: boolean;
|
|
2139
2151
|
onClick?: () => void;
|
|
2152
|
+
modalId?: string;
|
|
2140
2153
|
}
|
|
2141
2154
|
|
|
2142
2155
|
declare const MachineInputField: React$1.ForwardRefExoticComponent<MachineInputFieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -2145,11 +2158,11 @@ interface SequentialConnectingBranchProps {
|
|
|
2145
2158
|
machineInstances?: ExecutionContext[] | {}[];
|
|
2146
2159
|
machineColumnWidth?: number;
|
|
2147
2160
|
machineColumnCount?: number;
|
|
2148
|
-
selectedMachine?: Option$
|
|
2149
|
-
machineOptionsList?: Option$
|
|
2150
|
-
onHandleSelect?: (option: Option$
|
|
2161
|
+
selectedMachine?: Option$2;
|
|
2162
|
+
machineOptionsList?: Option$2[];
|
|
2163
|
+
onHandleSelect?: (option: Option$2) => void;
|
|
2151
2164
|
onAddBrowserInstance?: (modalId: string) => void;
|
|
2152
|
-
onUpdateAddBrowserInstance
|
|
2165
|
+
onUpdateAddBrowserInstance: (id: string, machineInstanceId: string) => void;
|
|
2153
2166
|
onDeleteBrowserInstance?: (id: string, runCount: number) => void;
|
|
2154
2167
|
onAddRunBrowserInstance?: (machineInstanceId: string) => void;
|
|
2155
2168
|
onDeleteMachineInstance?: () => void;
|
|
@@ -2299,6 +2312,7 @@ interface LabelEditTextFieldTypes$1 {
|
|
|
2299
2312
|
isOpen?: boolean;
|
|
2300
2313
|
/**for conditionally handle custom error */
|
|
2301
2314
|
customErrorCondition?: boolean;
|
|
2315
|
+
placeholder?: string;
|
|
2302
2316
|
onClick?: () => void;
|
|
2303
2317
|
tooltip?: {
|
|
2304
2318
|
tooltipTitle?: string;
|
|
@@ -2631,11 +2645,11 @@ interface CreateVariableProps {
|
|
|
2631
2645
|
/**
|
|
2632
2646
|
* onChange of name
|
|
2633
2647
|
*/
|
|
2634
|
-
onNameChange: (value: string
|
|
2648
|
+
onNameChange: (value: string) => void;
|
|
2635
2649
|
/**
|
|
2636
2650
|
* onChange of value
|
|
2637
2651
|
*/
|
|
2638
|
-
onValueChange: (value: string
|
|
2652
|
+
onValueChange: (value: string) => void;
|
|
2639
2653
|
/**
|
|
2640
2654
|
* Hide value
|
|
2641
2655
|
*/
|
|
@@ -2721,6 +2735,21 @@ interface TableProps {
|
|
|
2721
2735
|
|
|
2722
2736
|
declare const TableWithAccordion: ({ tableMeta, tableData, accordionType, noDataContent, height, withFixedHeader, headerType, TableAccordionStateIconWidth, TableAccordionStateIconHeight, }: TableProps) => react_jsx_runtime.JSX.Element;
|
|
2723
2737
|
|
|
2738
|
+
interface ProgressBarProps {
|
|
2739
|
+
progressPercentage: number;
|
|
2740
|
+
color?: string;
|
|
2741
|
+
trackColor?: string;
|
|
2742
|
+
height?: number;
|
|
2743
|
+
label?: string;
|
|
2744
|
+
showPercentage?: boolean;
|
|
2745
|
+
percentageFontSize?: number;
|
|
2746
|
+
percentageTextColor?: string;
|
|
2747
|
+
labelFontSize?: number;
|
|
2748
|
+
labelTextColor?: string;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
declare const ProgressBar: React__default.FC<ProgressBarProps>;
|
|
2752
|
+
|
|
2724
2753
|
type valueType$1 = any;
|
|
2725
2754
|
declare const checkEmpty: (value: valueType$1) => boolean;
|
|
2726
2755
|
|
|
@@ -2888,12 +2917,13 @@ interface PopUpModalProps {
|
|
|
2888
2917
|
subTitleMessage?: string;
|
|
2889
2918
|
iconName: string;
|
|
2890
2919
|
modalMessage: string;
|
|
2891
|
-
footerMessage: string;
|
|
2892
2920
|
firstButtonLabel?: string;
|
|
2893
2921
|
secondButtonLabel: string;
|
|
2894
2922
|
buttonVariant: any;
|
|
2895
2923
|
border: string;
|
|
2924
|
+
popupWidth?: string;
|
|
2896
2925
|
colorForTitleMessage?: string;
|
|
2926
|
+
footerContent?: React.ReactNode;
|
|
2897
2927
|
}
|
|
2898
2928
|
|
|
2899
2929
|
declare const PopUpModal: FC<PopUpModalProps>;
|
|
@@ -2903,11 +2933,26 @@ declare function formatString(input: string, removeSections?: string[]): string;
|
|
|
2903
2933
|
type dynamicObject = {
|
|
2904
2934
|
[key: string]: any;
|
|
2905
2935
|
};
|
|
2906
|
-
|
|
2936
|
+
type TestDataObject = {
|
|
2937
|
+
_id: string;
|
|
2938
|
+
name: string;
|
|
2939
|
+
actualPath: string;
|
|
2940
|
+
searchKey: string;
|
|
2941
|
+
parentId: string;
|
|
2942
|
+
};
|
|
2943
|
+
interface ConditionalDropdownProps {
|
|
2907
2944
|
/**
|
|
2908
2945
|
* Label for the field
|
|
2909
2946
|
*/
|
|
2910
2947
|
label?: string;
|
|
2948
|
+
/**
|
|
2949
|
+
* Value in the input should stored in this state
|
|
2950
|
+
*/
|
|
2951
|
+
hashInputValue?: TestDataObject | dynamicObject;
|
|
2952
|
+
/**
|
|
2953
|
+
* Function storing and updating the inputValue state
|
|
2954
|
+
*/
|
|
2955
|
+
setHashInputValue?: (value: dynamicObject | undefined) => void;
|
|
2911
2956
|
/**
|
|
2912
2957
|
* List of variables
|
|
2913
2958
|
*/
|
|
@@ -2921,22 +2966,94 @@ interface AddVariableProps {
|
|
|
2921
2966
|
* @param value
|
|
2922
2967
|
* @returns
|
|
2923
2968
|
*/
|
|
2924
|
-
onChange
|
|
2969
|
+
onChange?: (value: string) => void;
|
|
2925
2970
|
/**
|
|
2926
2971
|
* Function to handle create variable icon click
|
|
2927
2972
|
*/
|
|
2928
2973
|
onCreateVariableClick?: () => void;
|
|
2929
|
-
/**
|
|
2930
|
-
* Value of the input field
|
|
2931
|
-
*/
|
|
2932
|
-
value: string;
|
|
2933
2974
|
/**
|
|
2934
2975
|
* Width of the dropdown
|
|
2935
2976
|
*/
|
|
2936
2977
|
dropdownWidth?: string;
|
|
2978
|
+
/**
|
|
2979
|
+
* Name | name of the input field
|
|
2980
|
+
*/
|
|
2981
|
+
name?: string;
|
|
2982
|
+
/**
|
|
2983
|
+
* value | input field value
|
|
2984
|
+
*/
|
|
2985
|
+
value?: string;
|
|
2986
|
+
/**
|
|
2987
|
+
* variants to set color/style of the input field
|
|
2988
|
+
*/
|
|
2989
|
+
variant?: 'default' | 'primary';
|
|
2990
|
+
/**
|
|
2991
|
+
* type to set color/style of the input field
|
|
2992
|
+
*/
|
|
2993
|
+
type?: 'text' | 'password' | 'number' | 'email' | 'url' | 'time';
|
|
2994
|
+
/**
|
|
2995
|
+
* error | If true, error message will be displayed
|
|
2996
|
+
*/
|
|
2997
|
+
error?: boolean;
|
|
2998
|
+
/**
|
|
2999
|
+
* helperText | error, success, warning message to be shown
|
|
3000
|
+
*/
|
|
3001
|
+
helperText?: string;
|
|
3002
|
+
/**
|
|
3003
|
+
* to disable the input field
|
|
3004
|
+
*/
|
|
3005
|
+
disabled?: boolean;
|
|
3006
|
+
/**
|
|
3007
|
+
* if true, input field will be mandatory
|
|
3008
|
+
*/
|
|
3009
|
+
required?: boolean;
|
|
3010
|
+
/**
|
|
3011
|
+
* classnames to style the input field
|
|
3012
|
+
*/
|
|
3013
|
+
className?: string;
|
|
3014
|
+
/**
|
|
3015
|
+
* noBorder prop 'true' removes border of input
|
|
3016
|
+
*/
|
|
3017
|
+
noBorder?: boolean;
|
|
3018
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
3019
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
3020
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
3021
|
+
/**
|
|
3022
|
+
* id to select the input field uniquely
|
|
3023
|
+
*/
|
|
3024
|
+
id?: string;
|
|
3025
|
+
/**
|
|
3026
|
+
* if on, suggestion popup will be displayed
|
|
3027
|
+
*/
|
|
3028
|
+
autoComplete?: 'on' | 'off';
|
|
3029
|
+
/**
|
|
3030
|
+
* minimum and maximum values for the number type input field and their functions
|
|
3031
|
+
*/
|
|
3032
|
+
minValue?: number;
|
|
3033
|
+
maxValue?: number;
|
|
3034
|
+
/**
|
|
3035
|
+
* background of the input field prop
|
|
3036
|
+
*/
|
|
3037
|
+
transparentBackground?: boolean;
|
|
3038
|
+
/**
|
|
3039
|
+
* size for the input field
|
|
3040
|
+
*/
|
|
3041
|
+
size?: 'small' | 'medium';
|
|
3042
|
+
/**
|
|
3043
|
+
* isLabelRequired for the input field without label,showing placeholder
|
|
3044
|
+
*/
|
|
3045
|
+
isLabelRequired?: boolean;
|
|
3046
|
+
/**
|
|
3047
|
+
* If true, dropdown opens when '#' is entered at the first position.
|
|
3048
|
+
*/
|
|
3049
|
+
isHash?: boolean;
|
|
3050
|
+
/**
|
|
3051
|
+
* Options for the dropdown when `isHash` is true.
|
|
3052
|
+
*/
|
|
3053
|
+
dataFiles?: dynamicObject[];
|
|
2937
3054
|
}
|
|
2938
3055
|
|
|
2939
|
-
declare const
|
|
3056
|
+
declare const ConditionalDropdown: React__default.FC<ConditionalDropdownProps>;
|
|
2940
3057
|
|
|
2941
3058
|
declare const hasDuplicateFile: (array: any[], property: string) => boolean;
|
|
2942
3059
|
|
|
@@ -2953,4 +3070,4 @@ interface PhoneInputProps {
|
|
|
2953
3070
|
|
|
2954
3071
|
declare const PhoneInputField: React__default.FC<PhoneInputProps>;
|
|
2955
3072
|
|
|
2956
|
-
export { Accordion, AddButton as AddResourceButton,
|
|
3073
|
+
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 };
|