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.
Files changed (130) hide show
  1. package/lib/components/Chip/types.d.ts +1 -1
  2. package/lib/components/ConditionalDropdown/ConditionalDropdown.d.ts +5 -0
  3. package/lib/components/ConditionalDropdown/OptionsDropdown.d.ts +5 -0
  4. package/lib/components/ConditionalDropdown/index.d.ts +1 -0
  5. package/lib/components/ConditionalDropdown/types.d.ts +145 -0
  6. package/lib/components/CreateVariable/types.d.ts +2 -2
  7. package/lib/components/InputWithDropdown/InputWithDropdown.d.ts +1 -1
  8. package/lib/components/LabelEditTextField/types.d.ts +1 -0
  9. package/lib/components/MachineInputField/types.d.ts +1 -0
  10. package/lib/components/MenuOption/MenuOption.d.ts +1 -1
  11. package/lib/components/MenuOption/types.d.ts +2 -1
  12. package/lib/components/MiniModal/types.d.ts +1 -0
  13. package/lib/components/Modal/types.d.ts +1 -1
  14. package/lib/components/NLPInput/NlpInput.d.ts +2 -2
  15. package/lib/components/NLPInput/components/NlpDropDown/NlpDropDownType.d.ts +6 -3
  16. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.d.ts +1 -1
  17. package/lib/components/NLPInput/sampleData.d.ts +104 -0
  18. package/lib/components/NLPInput/types.d.ts +80 -0
  19. package/lib/components/PopUpModal/types.d.ts +2 -1
  20. package/lib/components/ProgressBar/ProgressBar.d.ts +5 -0
  21. package/lib/components/ProgressBar/index.d.ts +1 -0
  22. package/lib/components/ProgressBar/types.d.ts +12 -0
  23. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +1 -1
  24. package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +1 -0
  25. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +1 -1
  26. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +1 -0
  27. package/lib/components/SequentialConnectingBranch/types.d.ts +1 -1
  28. package/lib/components/TableTree/TableTree.d.ts +2 -2
  29. package/lib/components/TableTree/Utils/getAllChildIds.d.ts +1 -0
  30. package/lib/components/TableTree/types.d.ts +1 -1
  31. package/lib/hooks/useIntersectionObserver.d.ts +9 -0
  32. package/lib/index.d.ts +154 -37
  33. package/lib/index.esm.js +817 -516
  34. package/lib/index.esm.js.map +1 -1
  35. package/lib/index.js +818 -516
  36. package/lib/index.js.map +1 -1
  37. package/lib/tsconfig.tsbuildinfo +1 -1
  38. package/lib/utils/functionCheck/functionCheck.d.ts +2 -0
  39. package/package.json +1 -1
  40. package/src/StyleGuide/ColorPalette/colorPaletteList.ts +5 -0
  41. package/src/assets/Themes/BaseTheme.scss +18 -3
  42. package/src/assets/Themes/DarkTheme.scss +15 -2
  43. package/src/assets/icons/ai_search.svg +9 -0
  44. package/src/assets/icons/help_icon.svg +10 -0
  45. package/src/assets/icons/import_icon.svg +4 -0
  46. package/src/assets/icons/ios_icon.svg +11 -0
  47. package/src/assets/icons/plus_round_icon.svg +38 -0
  48. package/src/assets/icons/tick_icon.svg +2 -2
  49. package/src/assets/styles/_colors.scss +1 -1
  50. package/src/components/AttachmentButton/AttachmentButton.tsx +1 -1
  51. package/src/components/Checkbox/Checkbox.scss +3 -1
  52. package/src/components/Checkbox/Checkbox.stories.tsx +32 -77
  53. package/src/components/Checkbox/Checkbox.tsx +3 -4
  54. package/src/components/Chip/Chip.scss +15 -5
  55. package/src/components/Chip/Chip.stories.tsx +10 -1
  56. package/src/components/Chip/Chip.tsx +5 -1
  57. package/src/components/Chip/types.ts +1 -1
  58. package/src/components/{AddVariables/AddVariables.scss → ConditionalDropdown/ConditionalDropdown.scss} +4 -0
  59. package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +147 -0
  60. package/src/components/ConditionalDropdown/ConditionalDropdown.tsx +159 -0
  61. package/src/components/ConditionalDropdown/OptionsDropdown.tsx +44 -0
  62. package/src/components/ConditionalDropdown/index.ts +1 -0
  63. package/src/components/ConditionalDropdown/types.ts +160 -0
  64. package/src/components/CreateVariable/CreateVariableSlider.tsx +2 -2
  65. package/src/components/CreateVariable/types.ts +2 -2
  66. package/src/components/EditTextField/EditTextField.scss +1 -1
  67. package/src/components/EditTextField/EditTextField.tsx +14 -20
  68. package/src/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.tsx +9 -26
  69. package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +4 -2
  70. package/src/components/Excel/ExcelFile.stories.tsx +1 -1
  71. package/src/components/Form/Forms.tsx +0 -2
  72. package/src/components/Icon/iconList.ts +12 -0
  73. package/src/components/InputWithDropdown/InputWithDropdown.tsx +102 -95
  74. package/src/components/LabelEditTextField/LabelEditTextField.scss +1 -1
  75. package/src/components/LabelEditTextField/LabelEditTextField.tsx +29 -36
  76. package/src/components/LabelEditTextField/types.ts +1 -0
  77. package/src/components/MachineInputField/MachineInputField.scss +1 -5
  78. package/src/components/MachineInputField/MachineInputField.stories.tsx +4 -4
  79. package/src/components/MachineInputField/MachineInputField.tsx +4 -1
  80. package/src/components/MachineInputField/types.ts +1 -0
  81. package/src/components/MenuOption/MenuOption.scss +7 -7
  82. package/src/components/MenuOption/MenuOption.stories.tsx +83 -28
  83. package/src/components/MenuOption/MenuOption.tsx +9 -13
  84. package/src/components/MenuOption/types.ts +3 -2
  85. package/src/components/MiniModal/MiniModal.scss +0 -1
  86. package/src/components/MiniModal/MiniModal.stories.tsx +6 -1
  87. package/src/components/MiniModal/MiniModal.tsx +3 -1
  88. package/src/components/MiniModal/types.ts +1 -0
  89. package/src/components/Modal/types.ts +1 -1
  90. package/src/components/MultiSelect/Dropdown.scss +3 -4
  91. package/src/components/MultiSelect/Dropdown.tsx +4 -3
  92. package/src/components/MultiSelect/MultiSelect.scss +1 -0
  93. package/src/components/MultiSelect/MultiSelect.tsx +1 -0
  94. package/src/components/NLPInput/NLPInput.scss +77 -21
  95. package/src/components/NLPInput/NlpInput.stories.tsx +43 -109
  96. package/src/components/NLPInput/NlpInput.tsx +95 -59
  97. package/src/components/NLPInput/components/NlpDropDown/NlpDropDownType.ts +6 -4
  98. package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +86 -35
  99. package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.tsx +220 -80
  100. package/src/components/NLPInput/sampleData.ts +162 -0
  101. package/src/components/NLPInput/{type.tsx → types.tsx} +23 -11
  102. package/src/components/PopUpModal/PopUpModal.stories.tsx +15 -10
  103. package/src/components/PopUpModal/PopUpModal.tsx +5 -4
  104. package/src/components/PopUpModal/types.ts +2 -1
  105. package/src/components/ProgressBar/ProgressBar.scss +46 -0
  106. package/src/components/ProgressBar/ProgressBar.stories.tsx +22 -0
  107. package/src/components/ProgressBar/ProgressBar.tsx +61 -0
  108. package/src/components/ProgressBar/index.ts +1 -0
  109. package/src/components/ProgressBar/types.ts +12 -0
  110. package/src/components/Search/Search.tsx +9 -1
  111. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +2 -0
  112. package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +8 -0
  113. package/src/components/SequentialConnectingBranch/components/Branches/types.ts +1 -0
  114. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +2 -0
  115. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +1 -0
  116. package/src/components/SequentialConnectingBranch/types.ts +1 -1
  117. package/src/components/Table/Table.scss +1 -0
  118. package/src/components/TableTree/Components/TableBody.tsx +3 -1
  119. package/src/components/TableTree/TableTree.stories.tsx +4 -7
  120. package/src/components/TableTree/TableTree.tsx +29 -181
  121. package/src/components/TableTree/Utils/getAllChildIds.ts +2 -0
  122. package/src/components/TableTree/data.ts +45 -0
  123. package/src/components/TableTree/types.ts +1 -1
  124. package/src/hooks/useIntersectionObserver.tsx +56 -0
  125. package/src/index.ts +4 -3
  126. package/src/utils/functionCheck/functionCheck.ts +8 -0
  127. package/src/components/AddVariables/AddVariables.stories.tsx +0 -44
  128. package/src/components/AddVariables/AddVariables.tsx +0 -113
  129. package/src/components/AddVariables/index.ts +0 -1
  130. package/src/components/AddVariables/types.ts +0 -36
@@ -10,7 +10,7 @@ export interface ChipsProps {
10
10
  /**
11
11
  * The variant of the Chip.
12
12
  */
13
- variant?: 'primary' | 'success' | 'error' | 'warning' | 'custom' | 'public' | 'partial-public' | 'private' | 'disabled';
13
+ variant?: 'primary' | 'success' | 'error' | 'warning' | 'custom' | 'public' | 'partial-public' | 'private' | 'disabled' | 'count';
14
14
  /**
15
15
  * The callback function to be executed when the Chip is clicked.
16
16
  */
@@ -0,0 +1,5 @@
1
+ import { ConditionalDropdownProps } from './types';
2
+ import './ConditionalDropdown.scss';
3
+ import React from 'react';
4
+ declare const ConditionalDropdown: React.FC<ConditionalDropdownProps>;
5
+ export default ConditionalDropdown;
@@ -0,0 +1,5 @@
1
+ import type { FC } from 'react';
2
+ import { OptionsDropdownProps } from './types';
3
+ import './ConditionalDropdown.scss';
4
+ declare const OptionsDropdown: FC<OptionsDropdownProps>;
5
+ export default OptionsDropdown;
@@ -0,0 +1 @@
1
+ export { default } from './ConditionalDropdown';
@@ -0,0 +1,145 @@
1
+ import { dropdownPositionType } from "../Editor/types";
2
+ export type dynamicObject = {
3
+ [key: string]: any;
4
+ };
5
+ export type TestDataObject = {
6
+ _id: string;
7
+ name: string;
8
+ actualPath: string;
9
+ searchKey: string;
10
+ parentId: string;
11
+ };
12
+ export interface ConditionalDropdownProps {
13
+ /**
14
+ * Label for the field
15
+ */
16
+ label?: string;
17
+ /**
18
+ * Value in the input should stored in this state
19
+ */
20
+ hashInputValue?: TestDataObject | dynamicObject;
21
+ /**
22
+ * Function storing and updating the inputValue state
23
+ */
24
+ setHashInputValue?: (value: dynamicObject | undefined) => void;
25
+ /**
26
+ * List of variables
27
+ */
28
+ variableList?: dynamicObject[];
29
+ /**
30
+ * Place holder for the input field
31
+ */
32
+ placeholder?: string;
33
+ /**
34
+ * Function to handle input change
35
+ * @param value
36
+ * @returns
37
+ */
38
+ onChange?: (value: string) => void;
39
+ /**
40
+ * Function to handle create variable icon click
41
+ */
42
+ onCreateVariableClick?: () => void;
43
+ /**
44
+ * Width of the dropdown
45
+ */
46
+ dropdownWidth?: string;
47
+ /**
48
+ * Name | name of the input field
49
+ */
50
+ name?: string;
51
+ /**
52
+ * value | input field value
53
+ */
54
+ value?: string;
55
+ /**
56
+ * variants to set color/style of the input field
57
+ */
58
+ variant?: 'default' | 'primary';
59
+ /**
60
+ * type to set color/style of the input field
61
+ */
62
+ type?: 'text' | 'password' | 'number' | 'email' | 'url' | 'time';
63
+ /**
64
+ * error | If true, error message will be displayed
65
+ */
66
+ error?: boolean;
67
+ /**
68
+ * helperText | error, success, warning message to be shown
69
+ */
70
+ helperText?: string;
71
+ /**
72
+ * to disable the input field
73
+ */
74
+ disabled?: boolean;
75
+ /**
76
+ * if true, input field will be mandatory
77
+ */
78
+ required?: boolean;
79
+ /**
80
+ * classnames to style the input field
81
+ */
82
+ className?: string;
83
+ /**
84
+ * noBorder prop 'true' removes border of input
85
+ */
86
+ noBorder?: boolean;
87
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
88
+ onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
89
+ onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
90
+ /**
91
+ * id to select the input field uniquely
92
+ */
93
+ id?: string;
94
+ /**
95
+ * if on, suggestion popup will be displayed
96
+ */
97
+ autoComplete?: 'on' | 'off';
98
+ /**
99
+ * minimum and maximum values for the number type input field and their functions
100
+ */
101
+ minValue?: number;
102
+ maxValue?: number;
103
+ /**
104
+ * background of the input field prop
105
+ */
106
+ transparentBackground?: boolean;
107
+ /**
108
+ * size for the input field
109
+ */
110
+ size?: 'small' | 'medium';
111
+ /**
112
+ * isLabelRequired for the input field without label,showing placeholder
113
+ */
114
+ isLabelRequired?: boolean;
115
+ /**
116
+ * If true, dropdown opens when '#' is entered at the first position.
117
+ */
118
+ isHash?: boolean;
119
+ /**
120
+ * Options for the dropdown when `isHash` is true.
121
+ */
122
+ dataFiles?: dynamicObject[];
123
+ }
124
+ export interface OptionsDropdownProps {
125
+ /**
126
+ * Position whether absoloute or relative
127
+ */
128
+ position: 'absolute' | 'relative';
129
+ /**
130
+ * Dropdown width
131
+ */
132
+ width: string;
133
+ /**
134
+ * chars entered to search in Input :
135
+ */
136
+ filteredOptions?: dynamicObject[];
137
+ /**
138
+ * Function to handle click on variable
139
+ */
140
+ onSelectVariable: (variable: object) => void;
141
+ /**
142
+ * Dropdown postion used for dropdown placement
143
+ */
144
+ dropdownPosition?: dropdownPositionType;
145
+ }
@@ -36,11 +36,11 @@ export interface CreateVariableProps {
36
36
  /**
37
37
  * onChange of name
38
38
  */
39
- onNameChange: (value: string | boolean) => void;
39
+ onNameChange: (value: string) => void;
40
40
  /**
41
41
  * onChange of value
42
42
  */
43
- onValueChange: (value: string | boolean) => void;
43
+ onValueChange: (value: string) => void;
44
44
  /**
45
45
  * Hide value
46
46
  */
@@ -1,4 +1,4 @@
1
1
  import './InputWithDropdown.scss';
2
2
  import { InputWithDropdownProps } from './types';
3
- declare const InputWithDropdown: ({ name, label, value, disabled, required, placeholder, error, helperText, optionsList, selectedOption, autoComplete, onDropdownChangeHandler, onInputChangeHandler, onInputBlurHandler, optionsRequired, dropdownPosition, type, }: InputWithDropdownProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const InputWithDropdown: import("react").ForwardRefExoticComponent<InputWithDropdownProps & import("react").RefAttributes<HTMLInputElement>>;
4
4
  export default InputWithDropdown;
@@ -38,6 +38,7 @@ export interface LabelEditTextFieldTypes {
38
38
  isOpen?: boolean;
39
39
  /**for conditionally handle custom error */
40
40
  customErrorCondition?: boolean;
41
+ placeholder?: string;
41
42
  onClick?: () => void;
42
43
  tooltip?: {
43
44
  tooltipTitle?: string;
@@ -9,4 +9,5 @@ export interface MachineInputFieldProps {
9
9
  className?: string;
10
10
  contentReverse?: boolean;
11
11
  onClick?: () => void;
12
+ modalId?: string;
12
13
  }
@@ -1,4 +1,4 @@
1
1
  import './MenuOption.scss';
2
2
  import { MenuOptionProps } from './types';
3
- declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, zIndex, dropdownPlacement, optionCardVariant }: MenuOptionProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, zIndex, dropdownPlacement, optionCardVariant, targetRef, }: MenuOptionProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default MenuOption;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ import { ReactNode } from 'react';
2
2
  interface OptionClick {
3
3
  /**
4
4
  * The label displayed for the option.
@@ -173,6 +173,7 @@ interface MenuOptionProps {
173
173
  * @optional
174
174
  */
175
175
  optionCardVariant?: 'primary';
176
+ targetRef?: React.RefObject<HTMLElement>;
176
177
  }
177
178
  interface OptionProps {
178
179
  /**
@@ -7,6 +7,7 @@ interface ModalDimensions {
7
7
  boxShadow?: string;
8
8
  left?: number;
9
9
  top?: number;
10
+ padding?: number;
10
11
  }
11
12
  export interface MiniEditModalProps {
12
13
  /**
@@ -23,7 +23,7 @@ export interface ModalProps {
23
23
  /***Content to be displayed inside the modal */
24
24
  children: ReactNode;
25
25
  isFooterDisplayed: boolean;
26
- customWidth: string;
26
+ customWidth?: string;
27
27
  customHeight?: string;
28
28
  zIndex?: number;
29
29
  boxShadow?: string;
@@ -1,4 +1,4 @@
1
- import { SelectProps } from './type';
1
+ import { SelectProps } from './types';
2
2
  import './NlpInput.scss';
3
- declare const NlpInput: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => import("react/jsx-runtime").JSX.Element;
3
+ 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) => import("react/jsx-runtime").JSX.Element;
4
4
  export default NlpInput;
@@ -1,9 +1,12 @@
1
- import { DrowdownPosition, Option } from '../../type';
1
+ import { DrowdownPosition, NlpRenderOption } from '../../types';
2
2
  export interface NlpDropDownListProps {
3
3
  onSelectBlur: () => void;
4
- onSelectOptionSelector: (option: Option) => void;
4
+ leftIcon?: string;
5
+ webServiceClick?: () => void;
6
+ containerWidth?: string | number;
7
+ onSelectOptionSelector: (option: NlpRenderOption) => void;
5
8
  dropdownPosition: DrowdownPosition;
6
- options?: Option[];
9
+ options?: NlpRenderOption[];
7
10
  optionZIndex?: number;
8
11
  inputRef?: React.RefObject<HTMLInputElement>;
9
12
  label?: string;
@@ -1,4 +1,4 @@
1
1
  import { NlpDropDownListProps } from './NlpDropDownType';
2
2
  import './NlpDropdown.scss';
3
- declare const NlpDropdown: ({ onSelectBlur, onSelectOptionSelector, dropdownPosition, options, optionZIndex, inputRef, }: NlpDropDownListProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const NlpDropdown: ({ onSelectBlur, onSelectOptionSelector, dropdownPosition, options, optionZIndex, inputRef, webServiceClick, containerWidth, }: NlpDropDownListProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default NlpDropdown;
@@ -0,0 +1,104 @@
1
+ export declare const nlpList: ({
2
+ desc: string;
3
+ displayName: string;
4
+ failMessage: string;
5
+ isNonPE: boolean;
6
+ platform: string;
7
+ name: string;
8
+ nlpName: string;
9
+ videoSrc: string;
10
+ nlpType: string;
11
+ packageName: string;
12
+ parentId: string;
13
+ passMessage: string;
14
+ programElementId: string;
15
+ projectId: string;
16
+ returnType: string;
17
+ searchName: string;
18
+ stepInputs: {}[];
19
+ toolTip: string;
20
+ _class: string;
21
+ _id: string;
22
+ description?: undefined;
23
+ imported?: undefined;
24
+ libraryId?: undefined;
25
+ path?: undefined;
26
+ } | {
27
+ desc: string;
28
+ displayName: string;
29
+ platform: string;
30
+ failMessage: string;
31
+ isNonPE: boolean;
32
+ name: string;
33
+ nlpName: string;
34
+ nlpType: string;
35
+ packageName: string;
36
+ parentId: string;
37
+ passMessage: string;
38
+ programElementId: string;
39
+ projectId: string;
40
+ returnType: string;
41
+ searchName: string;
42
+ stepInputs: {}[];
43
+ toolTip: string;
44
+ _class: string;
45
+ _id: string;
46
+ videoSrc?: undefined;
47
+ description?: undefined;
48
+ imported?: undefined;
49
+ libraryId?: undefined;
50
+ path?: undefined;
51
+ } | {
52
+ desc: string;
53
+ displayName: string;
54
+ failMessage: string;
55
+ isNonPE: boolean;
56
+ platform: string;
57
+ name: string;
58
+ nlpName: string;
59
+ nlpType: string;
60
+ packageName: string;
61
+ parentId: string;
62
+ passMessage: string;
63
+ programElementId: string;
64
+ projectId: string;
65
+ returnType: string;
66
+ searchName: string;
67
+ stepInputs: {
68
+ name: string;
69
+ type: string;
70
+ }[];
71
+ toolTip: string;
72
+ _class: string;
73
+ _id: string;
74
+ videoSrc?: undefined;
75
+ description?: undefined;
76
+ imported?: undefined;
77
+ libraryId?: undefined;
78
+ path?: undefined;
79
+ } | {
80
+ description: string;
81
+ displayName: string;
82
+ failMessage: string;
83
+ imported: boolean;
84
+ libraryId: string;
85
+ name: string;
86
+ nlpName: string;
87
+ nlpType: string;
88
+ parentId: string;
89
+ passMessage: string;
90
+ path: string;
91
+ platform: string;
92
+ projectId: string;
93
+ returnType: string;
94
+ searchName: string;
95
+ stepInputs: never[];
96
+ toolTip: string;
97
+ _class: string;
98
+ _id: string;
99
+ desc?: undefined;
100
+ isNonPE?: undefined;
101
+ videoSrc?: undefined;
102
+ packageName?: undefined;
103
+ programElementId?: undefined;
104
+ })[];
@@ -0,0 +1,80 @@
1
+ import { ReactNode } from 'react';
2
+ export interface SelectProps {
3
+ label?: string;
4
+ rightIcon?: string;
5
+ leftIcon?: string;
6
+ showLabel?: boolean;
7
+ onHelpIconClick?: () => void;
8
+ webServiceClick?: () => void;
9
+ aiIconClick?: () => void;
10
+ rightIconColor: string;
11
+ optionsList: any[];
12
+ selectedOption?: NlpRenderOption;
13
+ containerWidth?: string | number;
14
+ onChange: (option: NlpRenderOption) => void;
15
+ errorMsg?: string;
16
+ className?: string;
17
+ optionZIndex?: number;
18
+ disabled?: boolean;
19
+ borderRadius?: boolean;
20
+ showBorder?: boolean;
21
+ required?: boolean;
22
+ value: string;
23
+ onSelect: (e: any) => void;
24
+ }
25
+ export interface DrowdownPosition {
26
+ positionX: number;
27
+ positionY: number;
28
+ width: number;
29
+ fromBottom: number;
30
+ }
31
+ export interface SelectState {
32
+ isInputFocused: boolean;
33
+ iconColor: string;
34
+ isIconClick: boolean;
35
+ showOptions: boolean;
36
+ options: any[];
37
+ option: string;
38
+ dropdownPosition: DrowdownPosition;
39
+ }
40
+ export type SelectAction = {
41
+ type: 'FOCUS_INPUT';
42
+ } | {
43
+ type: 'BLUR_INPUT';
44
+ payload: {
45
+ optionsList: NlpRenderOption[];
46
+ option: NlpRenderOption['projectId'];
47
+ };
48
+ } | {
49
+ type: 'MOUSE_ENTER';
50
+ } | {
51
+ type: 'MOUSE_LEAVE';
52
+ } | {
53
+ type: 'UPDATE_DROPDOWN_POSITION';
54
+ payload: {
55
+ positionX: number;
56
+ positionY: number;
57
+ width: number;
58
+ fromBottom: number;
59
+ };
60
+ } | {
61
+ type: 'UPDATE_OPTION';
62
+ payload: string;
63
+ } | {
64
+ type: 'UPDATE_OPTION_LIST';
65
+ payload: any[];
66
+ } | {
67
+ type: 'SHOW_ERROR';
68
+ payload: {
69
+ optionsList: any[];
70
+ option: NlpRenderOption['projectId'];
71
+ };
72
+ };
73
+ export interface NlpRenderOption {
74
+ displayName: string | ReactNode;
75
+ projectId: string;
76
+ nlpType: string;
77
+ platform: string;
78
+ disabled?: boolean;
79
+ videoSrc?: string;
80
+ }
@@ -6,10 +6,11 @@ export interface PopUpModalProps {
6
6
  subTitleMessage?: string;
7
7
  iconName: string;
8
8
  modalMessage: string;
9
- footerMessage: string;
10
9
  firstButtonLabel?: string;
11
10
  secondButtonLabel: string;
12
11
  buttonVariant: any;
13
12
  border: string;
13
+ popupWidth?: string;
14
14
  colorForTitleMessage?: string;
15
+ footerContent?: React.ReactNode;
15
16
  }
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { ProgressBarProps } from './types';
3
+ import './ProgressBar.scss';
4
+ declare const ProgressBar: React.FC<ProgressBarProps>;
5
+ export default ProgressBar;
@@ -0,0 +1 @@
1
+ export { default } from './ProgressBar';
@@ -0,0 +1,12 @@
1
+ export interface ProgressBarProps {
2
+ progressPercentage: number;
3
+ color?: string;
4
+ trackColor?: string;
5
+ height?: number;
6
+ label?: string;
7
+ showPercentage?: boolean;
8
+ percentageFontSize?: number;
9
+ percentageTextColor?: string;
10
+ labelFontSize?: number;
11
+ labelTextColor?: string;
12
+ }
@@ -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, }: BranchesProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Branches;
@@ -9,6 +9,7 @@ export interface BranchesProps {
9
9
  onAddBrowser: (modalId: string) => void;
10
10
  onDeleteBrowser: (id: string, runCount: number) => void;
11
11
  onAddRunBrowser: (id: string) => void;
12
+ onUpdateAddBrowserInstance: (id: string, machineInstanceId: string) => void;
12
13
  onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
13
14
  }
14
15
  export interface branchTypeProps {
@@ -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, }: ConnectingBranchesProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default ConnectingBranches;
@@ -6,5 +6,6 @@ export interface ConnectingBranchesProps {
6
6
  onAddBrowser: (modalId: string) => void;
7
7
  onDeleteBrowser: (id: string, runCount: number) => void;
8
8
  onAddRunBrowser: (id: string) => void;
9
+ onUpdateAddBrowserInstance: (id: string, machineInstanceId: string) => void;
9
10
  onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
10
11
  }
@@ -7,7 +7,7 @@ export interface SequentialConnectingBranchProps {
7
7
  machineOptionsList?: Option[];
8
8
  onHandleSelect?: (option: Option) => void;
9
9
  onAddBrowserInstance?: (modalId: string) => void;
10
- onUpdateAddBrowserInstance?: () => void;
10
+ onUpdateAddBrowserInstance: (id: string, machineInstanceId: string) => void;
11
11
  onDeleteBrowserInstance?: (id: string, runCount: number) => void;
12
12
  onAddRunBrowserInstance?: (machineInstanceId: string) => void;
13
13
  onDeleteMachineInstance?: () => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import './TableTree.scss';
3
3
  import { TreeTableProps } from './types';
4
- declare const TreeTable: React.FC<TreeTableProps>;
5
- export default TreeTable;
4
+ declare const _default: React.NamedExoticComponent<TreeTableProps>;
5
+ export default _default;
@@ -1 +1,2 @@
1
1
  declare const getAllChildIds: (nodeId: string, data: any[]) => string[];
2
+ export default getAllChildIds;
@@ -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
- onPagination?: (_direction: string) => void;
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 {};