pixel-react 1.6.7 → 1.6.8
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/AppHeader/types.d.ts +2 -0
- package/lib/components/Charts/BarChart/BarChart.d.ts +1 -0
- package/lib/components/Charts/DashboardDonutChart/types.d.ts +6 -0
- package/lib/components/FileDropzone/RadioFilePreview.d.ts +4 -0
- package/lib/components/FileDropzone/types.d.ts +61 -0
- package/lib/components/MenuOption/types.d.ts +3 -2
- package/lib/components/Search/Search.d.ts +1 -1
- package/lib/components/Search/types.d.ts +4 -0
- package/lib/components/Table/Types.d.ts +1 -1
- package/lib/components/Tabs/types.d.ts +1 -0
- package/lib/index.d.ts +95 -23
- package/lib/index.esm.js +513 -294
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +514 -293
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/FormatString/FormatString.d.ts +1 -0
- package/package.json +1 -1
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +15 -0
- package/src/assets/Themes/BaseTheme.scss +5 -3
- package/src/assets/Themes/DarkTheme.scss +5 -3
- package/src/assets/icons/window_maximize.svg +1 -2
- package/src/assets/icons/window_restore.svg +4 -0
- package/src/components/AppHeader/AppHeader.scss +33 -0
- package/src/components/AppHeader/AppHeader.stories.tsx +133 -5
- package/src/components/AppHeader/AppHeader.tsx +111 -112
- package/src/components/AppHeader/types.ts +2 -0
- package/src/components/Charts/BarChart/BarChart.scss +4 -1
- package/src/components/Charts/BarChart/BarChart.tsx +23 -9
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +10 -3
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +2 -1
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +54 -25
- package/src/components/Charts/DashboardDonutChart/types.ts +7 -1
- package/src/components/Charts/LineChart/LineChart.scss +13 -9
- package/src/components/Charts/LineChart/LineChart.tsx +6 -2
- package/src/components/DatePicker/DatePicker.scss +11 -0
- package/src/components/DatePicker/DatePicker.stories.tsx +19 -0
- package/src/components/DatePicker/DatePicker.tsx +73 -22
- package/src/components/FileDropzone/Dropzone.tsx +76 -28
- package/src/components/FileDropzone/FileDropzone.scss +30 -2
- package/src/components/FileDropzone/FileDropzone.stories.tsx +125 -4
- package/src/components/FileDropzone/FileDropzone.tsx +46 -13
- package/src/components/FileDropzone/RadioFilePreview.tsx +76 -0
- package/src/components/FileDropzone/types.ts +73 -0
- package/src/components/Icon/iconList.ts +2 -0
- package/src/components/Input/Input.scss +137 -125
- package/src/components/Input/Input.tsx +69 -63
- package/src/components/InputWithDropdown/InputWithDropdown.scss +9 -2
- package/src/components/InputWithDropdown/types.ts +3 -3
- package/src/components/MenuOption/MenuOption.stories.tsx +4 -3
- package/src/components/MenuOption/MenuOption.tsx +1 -1
- package/src/components/MenuOption/types.ts +4 -2
- package/src/components/ModulesChip/ModuleChip.scss +21 -8
- package/src/components/ModulesChip/ModuleChip.stories.tsx +2 -2
- package/src/components/ModulesChip/ModuleChip.tsx +6 -9
- package/src/components/MultiSelect/Dropdown.tsx +12 -5
- package/src/components/MultiSelect/MultiSelect.stories.tsx +12 -9
- package/src/components/MultiSelect/MultiSelect.tsx +10 -9
- package/src/components/PopUpModal/PopUpModal.stories.tsx +1 -1
- package/src/components/Search/Search.stories.tsx +28 -9
- package/src/components/Search/Search.tsx +32 -29
- package/src/components/Search/types.ts +4 -0
- package/src/components/Table/Table.scss +6 -5
- package/src/components/Table/Types.ts +1 -1
- package/src/components/Tabs/Tabs.scss +58 -4
- package/src/components/Tabs/Tabs.stories.tsx +31 -12
- package/src/components/Tabs/Tabs.tsx +27 -18
- package/src/components/Tabs/types.ts +1 -1
- package/src/components/TextArea/Textarea.stories.tsx +1 -1
- package/src/hooks/useFileDropzone.tsx +2 -1
- package/src/index.ts +4 -0
- package/src/utils/FormatString/FormatString.stories.tsx +58 -0
- package/src/utils/FormatString/FormatString.tsx +41 -0
@@ -1,11 +1,13 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
2
|
import { optionsType } from '../AllProjectsDropdown/types';
|
3
3
|
export interface AppHeaderProps {
|
4
|
+
width?: string;
|
4
5
|
logoIconName: string;
|
5
6
|
leftContent?: ReactNode;
|
6
7
|
rightContent?: ReactNode;
|
7
8
|
projectsList?: optionsType[];
|
8
9
|
appHeaderMenuItems: appHeaderMenuItemProps[];
|
10
|
+
appHeaderHiddenMenuItems?: appHeaderHiddenMenuItemProps[];
|
9
11
|
selectedMenu: string;
|
10
12
|
selectedSubMenu?: string;
|
11
13
|
selectedQuickMenu?: string;
|
@@ -31,5 +31,11 @@ export type DashboardDonutChartProps = {
|
|
31
31
|
labelFontSize?: number;
|
32
32
|
subLabelFontSize?: number;
|
33
33
|
legendPosition?: 'bottom' | 'right' | 'left';
|
34
|
+
chartGap?: number;
|
34
35
|
legendGap?: number;
|
36
|
+
tableWidth?: number;
|
37
|
+
legendValueFontSize?: number;
|
38
|
+
legendKeyFontSize?: number;
|
39
|
+
labelYoffSet?: number;
|
40
|
+
subLabelYoffSet?: number;
|
35
41
|
};
|
@@ -1,4 +1,8 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
|
+
export interface RadioOption {
|
3
|
+
label: string;
|
4
|
+
value: string;
|
5
|
+
}
|
2
6
|
export interface FileDropzoneProps {
|
3
7
|
/**
|
4
8
|
* Icon to be displayed in the dropzone.
|
@@ -62,6 +66,46 @@ export interface FileDropzoneProps {
|
|
62
66
|
* Returns the rejected files in the state
|
63
67
|
**/
|
64
68
|
getRejectedFiles?: (files: FileRejection[]) => void;
|
69
|
+
/**
|
70
|
+
* If its used in WebService has some other functionality so need to pass boolean value.
|
71
|
+
**/
|
72
|
+
isWebServiceFileDropZone?: boolean;
|
73
|
+
/**
|
74
|
+
* Its the selected radio option as a string.
|
75
|
+
**/
|
76
|
+
selectedRadioOption?: RadioOption;
|
77
|
+
/**
|
78
|
+
* Its the array of radio options in pattern of : { label: string; value: string; }.
|
79
|
+
**/
|
80
|
+
radioOptions?: RadioOption[];
|
81
|
+
/**
|
82
|
+
* Its the function which updates the selected radio option.
|
83
|
+
**/
|
84
|
+
handleOptionChange?: (option: RadioOption) => void;
|
85
|
+
/**
|
86
|
+
* Its the File Name of File Selected from Local File.
|
87
|
+
**/
|
88
|
+
setSelectedFile?: (file: File | null) => void;
|
89
|
+
/**
|
90
|
+
* Its the File Name of File Selected from Local File.
|
91
|
+
**/
|
92
|
+
selectedFile?: File | null;
|
93
|
+
/**
|
94
|
+
* Its the function which updates the Selected file from Local Directory.
|
95
|
+
**/
|
96
|
+
handleFileChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
97
|
+
/**
|
98
|
+
* Its the function which makes the selected File empty state.
|
99
|
+
**/
|
100
|
+
handleRemoveFile?: () => void;
|
101
|
+
/**
|
102
|
+
* When The Api for the response fails need to show error message.
|
103
|
+
**/
|
104
|
+
isApiResponseError?: boolean;
|
105
|
+
/**
|
106
|
+
* If isDisable is true not able to access the FileDropzone
|
107
|
+
**/
|
108
|
+
isDisable?: boolean;
|
65
109
|
}
|
66
110
|
export interface FileState {
|
67
111
|
accepted: File[];
|
@@ -86,6 +130,7 @@ export interface DropzoneOptions {
|
|
86
130
|
invalidFileMessage?: string;
|
87
131
|
fileExistMessage?: string;
|
88
132
|
validateMIMEType?: boolean;
|
133
|
+
isApiResponseError?: boolean;
|
89
134
|
}
|
90
135
|
export interface DropzoneState {
|
91
136
|
getRootProps: () => React.HTMLAttributes<HTMLElement>;
|
@@ -105,6 +150,15 @@ export interface DroppableProps {
|
|
105
150
|
getInputProps: () => any;
|
106
151
|
isDragActive: boolean;
|
107
152
|
height: number | string;
|
153
|
+
isWebServiceFileDropZone?: boolean;
|
154
|
+
selectedRadioOption?: Option;
|
155
|
+
radioOptions?: RadioOption[];
|
156
|
+
handleOptionChange?: (option: RadioOption) => void;
|
157
|
+
selectedFile?: File | null;
|
158
|
+
setSelectedFile?: (file: File | null) => void;
|
159
|
+
handleFileChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
160
|
+
handleRemoveFile?: () => void;
|
161
|
+
isDisable?: boolean;
|
108
162
|
}
|
109
163
|
export interface FilePreviewProps {
|
110
164
|
file: File;
|
@@ -112,3 +166,10 @@ export interface FilePreviewProps {
|
|
112
166
|
onRemoveClick: (file: File) => void;
|
113
167
|
onReplaceClick: (file: File) => void;
|
114
168
|
}
|
169
|
+
export interface RadioFilePreviewProps {
|
170
|
+
selectedFile: string;
|
171
|
+
error?: string;
|
172
|
+
onFileRemoveClick?: () => void;
|
173
|
+
onFileReplaceClick?: (file: File | null) => void;
|
174
|
+
setSelectedFile?: (file: File | null) => void;
|
175
|
+
}
|
@@ -1,10 +1,11 @@
|
|
1
|
+
import { ReactNode } from "react";
|
1
2
|
interface OptionClick {
|
2
3
|
/**
|
3
4
|
* The label displayed for the option.
|
4
5
|
* @type {string}
|
5
6
|
* @required
|
6
7
|
*/
|
7
|
-
label: string;
|
8
|
+
label: string | ReactNode;
|
8
9
|
/**
|
9
10
|
* The value(s) associated with the option, which can be a single string or an array of strings.
|
10
11
|
* @type {Array<string> | string}
|
@@ -20,7 +21,7 @@ interface OptionType extends OptionClick {
|
|
20
21
|
*/
|
21
22
|
icon?: string;
|
22
23
|
iconColor?: string;
|
23
|
-
name?: string;
|
24
|
+
name?: string | ReactNode;
|
24
25
|
/**
|
25
26
|
* Indicates whether the option is disabled.
|
26
27
|
* @type {boolean}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import './Search.scss';
|
2
2
|
import { SearchProps } from './types';
|
3
|
-
declare const Search: ({ placeholder, onSearch, disabled, width, }: SearchProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const Search: ({ placeholder, onSearch, disabled, width, value, isExpand, onClose, onExpand, }: SearchProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default Search;
|
@@ -46,7 +46,7 @@ export interface TableProps {
|
|
46
46
|
/**
|
47
47
|
* Header type to have different background color
|
48
48
|
*/
|
49
|
-
headerType: 'default' | 'primary' | 'secondary';
|
49
|
+
headerType: 'default' | 'primary' | 'secondary' | 'tertiary';
|
50
50
|
/**
|
51
51
|
* withFixedHeader prop to have non-scrollable fixed table header
|
52
52
|
*/
|
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$4 {
|
297
297
|
[key: string]: OptionValue$1;
|
298
298
|
}
|
299
299
|
interface MultiSelectProps {
|
300
|
-
options: Option$
|
300
|
+
options: Option$4[];
|
301
301
|
type?: 'email' | 'text';
|
302
302
|
label: string;
|
303
|
-
selectedOptions?: Option$
|
303
|
+
selectedOptions?: Option$4[];
|
304
304
|
disabled?: boolean;
|
305
305
|
onSearch?: (searchedKeyword: string) => void;
|
306
|
-
onChange?: (selectedOptions: Option$
|
306
|
+
onChange?: (selectedOptions: Option$4[]) => 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$4[]) => 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 */
|
@@ -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$3[];
|
682
|
+
selectedOption?: Option$3;
|
683
|
+
onChange: (option: Option$3) => 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$3 {
|
707
707
|
[key: string]: OptionValue;
|
708
708
|
}
|
709
709
|
|
@@ -833,7 +833,7 @@ interface OptionClick {
|
|
833
833
|
* @type {string}
|
834
834
|
* @required
|
835
835
|
*/
|
836
|
-
label: string;
|
836
|
+
label: string | ReactNode;
|
837
837
|
/**
|
838
838
|
* The value(s) associated with the option, which can be a single string or an array of strings.
|
839
839
|
* @type {Array<string> | string}
|
@@ -849,7 +849,7 @@ interface OptionType extends OptionClick {
|
|
849
849
|
*/
|
850
850
|
icon?: string;
|
851
851
|
iconColor?: string;
|
852
|
-
name?: string;
|
852
|
+
name?: string | ReactNode;
|
853
853
|
/**
|
854
854
|
* Indicates whether the option is disabled.
|
855
855
|
* @type {boolean}
|
@@ -972,7 +972,7 @@ interface TableProps$1 {
|
|
972
972
|
/**
|
973
973
|
* Header type to have different background color
|
974
974
|
*/
|
975
|
-
headerType: 'default' | 'primary' | 'secondary';
|
975
|
+
headerType: 'default' | 'primary' | 'secondary' | 'tertiary';
|
976
976
|
/**
|
977
977
|
* withFixedHeader prop to have non-scrollable fixed table header
|
978
978
|
*/
|
@@ -1093,6 +1093,10 @@ type DonutChartProps = {
|
|
1093
1093
|
|
1094
1094
|
declare const DonutChart: React__default.FC<DonutChartProps>;
|
1095
1095
|
|
1096
|
+
interface RadioOption {
|
1097
|
+
label: string;
|
1098
|
+
value: string;
|
1099
|
+
}
|
1096
1100
|
interface FileDropzoneProps {
|
1097
1101
|
/**
|
1098
1102
|
* Icon to be displayed in the dropzone.
|
@@ -1156,6 +1160,46 @@ interface FileDropzoneProps {
|
|
1156
1160
|
* Returns the rejected files in the state
|
1157
1161
|
**/
|
1158
1162
|
getRejectedFiles?: (files: FileRejection[]) => void;
|
1163
|
+
/**
|
1164
|
+
* If its used in WebService has some other functionality so need to pass boolean value.
|
1165
|
+
**/
|
1166
|
+
isWebServiceFileDropZone?: boolean;
|
1167
|
+
/**
|
1168
|
+
* Its the selected radio option as a string.
|
1169
|
+
**/
|
1170
|
+
selectedRadioOption?: RadioOption;
|
1171
|
+
/**
|
1172
|
+
* Its the array of radio options in pattern of : { label: string; value: string; }.
|
1173
|
+
**/
|
1174
|
+
radioOptions?: RadioOption[];
|
1175
|
+
/**
|
1176
|
+
* Its the function which updates the selected radio option.
|
1177
|
+
**/
|
1178
|
+
handleOptionChange?: (option: RadioOption) => void;
|
1179
|
+
/**
|
1180
|
+
* Its the File Name of File Selected from Local File.
|
1181
|
+
**/
|
1182
|
+
setSelectedFile?: (file: File | null) => void;
|
1183
|
+
/**
|
1184
|
+
* Its the File Name of File Selected from Local File.
|
1185
|
+
**/
|
1186
|
+
selectedFile?: File | null;
|
1187
|
+
/**
|
1188
|
+
* Its the function which updates the Selected file from Local Directory.
|
1189
|
+
**/
|
1190
|
+
handleFileChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
1191
|
+
/**
|
1192
|
+
* Its the function which makes the selected File empty state.
|
1193
|
+
**/
|
1194
|
+
handleRemoveFile?: () => void;
|
1195
|
+
/**
|
1196
|
+
* When The Api for the response fails need to show error message.
|
1197
|
+
**/
|
1198
|
+
isApiResponseError?: boolean;
|
1199
|
+
/**
|
1200
|
+
* If isDisable is true not able to access the FileDropzone
|
1201
|
+
**/
|
1202
|
+
isDisable?: boolean;
|
1159
1203
|
}
|
1160
1204
|
interface FileError {
|
1161
1205
|
message: string;
|
@@ -1176,6 +1220,7 @@ interface DropzoneOptions {
|
|
1176
1220
|
invalidFileMessage?: string;
|
1177
1221
|
fileExistMessage?: string;
|
1178
1222
|
validateMIMEType?: boolean;
|
1223
|
+
isApiResponseError?: boolean;
|
1179
1224
|
}
|
1180
1225
|
interface DropzoneState {
|
1181
1226
|
getRootProps: () => React.HTMLAttributes<HTMLElement>;
|
@@ -1195,6 +1240,15 @@ interface DroppableProps {
|
|
1195
1240
|
getInputProps: () => any;
|
1196
1241
|
isDragActive: boolean;
|
1197
1242
|
height: number | string;
|
1243
|
+
isWebServiceFileDropZone?: boolean;
|
1244
|
+
selectedRadioOption?: Option;
|
1245
|
+
radioOptions?: RadioOption[];
|
1246
|
+
handleOptionChange?: (option: RadioOption) => void;
|
1247
|
+
selectedFile?: File | null;
|
1248
|
+
setSelectedFile?: (file: File | null) => void;
|
1249
|
+
handleFileChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
1250
|
+
handleRemoveFile?: () => void;
|
1251
|
+
isDisable?: boolean;
|
1198
1252
|
}
|
1199
1253
|
interface FilePreviewProps {
|
1200
1254
|
file: File;
|
@@ -1285,7 +1339,7 @@ declare const ForwardedForms: <T extends Form.FieldValues>(props: FormProps<T> &
|
|
1285
1339
|
ref?: React__default.Ref<any>;
|
1286
1340
|
}) => JSX.Element;
|
1287
1341
|
|
1288
|
-
interface Option$
|
1342
|
+
interface Option$2 {
|
1289
1343
|
label: string | ReactNode;
|
1290
1344
|
value: string;
|
1291
1345
|
}
|
@@ -1334,11 +1388,11 @@ interface InputWithDropdownProps {
|
|
1334
1388
|
/**
|
1335
1389
|
* Options for the select dropdown
|
1336
1390
|
*/
|
1337
|
-
optionsList: Option$
|
1391
|
+
optionsList: Option$2[];
|
1338
1392
|
/**
|
1339
1393
|
* Selected option for the select dropdown
|
1340
1394
|
*/
|
1341
|
-
selectedOption?: Option$
|
1395
|
+
selectedOption?: Option$2;
|
1342
1396
|
/**
|
1343
1397
|
* onChange handler for input changes
|
1344
1398
|
*/
|
@@ -1584,6 +1638,7 @@ interface TabsProps {
|
|
1584
1638
|
label: string;
|
1585
1639
|
component?: JSX.Element;
|
1586
1640
|
disabled?: boolean;
|
1641
|
+
count?: number | string;
|
1587
1642
|
}[];
|
1588
1643
|
/**
|
1589
1644
|
* Defines the styling variant of the tabs.
|
@@ -1663,9 +1718,13 @@ interface SearchProps {
|
|
1663
1718
|
*/
|
1664
1719
|
disabled?: boolean;
|
1665
1720
|
width?: number;
|
1721
|
+
value: string;
|
1722
|
+
isExpand: boolean;
|
1723
|
+
onClose: () => void;
|
1724
|
+
onExpand: (isExpand: boolean) => void;
|
1666
1725
|
}
|
1667
1726
|
|
1668
|
-
declare const Search: ({ placeholder, onSearch, disabled, width, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
1727
|
+
declare const Search: ({ placeholder, onSearch, disabled, width, value, isExpand, onClose, onExpand, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
1669
1728
|
|
1670
1729
|
interface DatePickerProps {
|
1671
1730
|
/**
|
@@ -1875,11 +1934,13 @@ interface PieChartProps {
|
|
1875
1934
|
declare const PieChart: React__default.FC<PieChartProps>;
|
1876
1935
|
|
1877
1936
|
interface AppHeaderProps {
|
1937
|
+
width?: string;
|
1878
1938
|
logoIconName: string;
|
1879
1939
|
leftContent?: ReactNode;
|
1880
1940
|
rightContent?: ReactNode;
|
1881
1941
|
projectsList?: optionsType[];
|
1882
1942
|
appHeaderMenuItems: appHeaderMenuItemProps[];
|
1943
|
+
appHeaderHiddenMenuItems?: appHeaderHiddenMenuItemProps[];
|
1883
1944
|
selectedMenu: string;
|
1884
1945
|
selectedSubMenu?: string;
|
1885
1946
|
selectedQuickMenu?: string;
|
@@ -1965,7 +2026,13 @@ type DashboardDonutChartProps = {
|
|
1965
2026
|
labelFontSize?: number;
|
1966
2027
|
subLabelFontSize?: number;
|
1967
2028
|
legendPosition?: 'bottom' | 'right' | 'left';
|
2029
|
+
chartGap?: number;
|
1968
2030
|
legendGap?: number;
|
2031
|
+
tableWidth?: number;
|
2032
|
+
legendValueFontSize?: number;
|
2033
|
+
legendKeyFontSize?: number;
|
2034
|
+
labelYoffSet?: number;
|
2035
|
+
subLabelYoffSet?: number;
|
1969
2036
|
};
|
1970
2037
|
|
1971
2038
|
declare const DashboardDonutChart: React__default.FC<DashboardDonutChartProps>;
|
@@ -1995,8 +2062,8 @@ interface SelectProps {
|
|
1995
2062
|
label?: string;
|
1996
2063
|
showLabel?: boolean;
|
1997
2064
|
optionsList: any[];
|
1998
|
-
selectedOption?: Option;
|
1999
|
-
onChange: (option: Option) => void;
|
2065
|
+
selectedOption?: Option$1;
|
2066
|
+
onChange: (option: Option$1) => void;
|
2000
2067
|
errorMsg?: string;
|
2001
2068
|
className?: string;
|
2002
2069
|
optionZIndex?: number;
|
@@ -2005,7 +2072,7 @@ interface SelectProps {
|
|
2005
2072
|
showBorder?: boolean;
|
2006
2073
|
required?: boolean;
|
2007
2074
|
}
|
2008
|
-
interface Option {
|
2075
|
+
interface Option$1 {
|
2009
2076
|
displayName: string | ReactNode;
|
2010
2077
|
projectId: string;
|
2011
2078
|
nlpType: string;
|
@@ -2078,9 +2145,9 @@ interface SequentialConnectingBranchProps {
|
|
2078
2145
|
machineInstances?: ExecutionContext[] | {}[];
|
2079
2146
|
machineColumnWidth?: number;
|
2080
2147
|
machineColumnCount?: number;
|
2081
|
-
selectedMachine?: Option$
|
2082
|
-
machineOptionsList?: Option$
|
2083
|
-
onHandleSelect?: (option: Option$
|
2148
|
+
selectedMachine?: Option$3;
|
2149
|
+
machineOptionsList?: Option$3[];
|
2150
|
+
onHandleSelect?: (option: Option$3) => void;
|
2084
2151
|
onAddBrowserInstance?: (modalId: string) => void;
|
2085
2152
|
onUpdateAddBrowserInstance?: () => void;
|
2086
2153
|
onDeleteBrowserInstance?: (id: string, runCount: number) => void;
|
@@ -2719,6 +2786,7 @@ type BarChartProps = {
|
|
2719
2786
|
iconSize?: number;
|
2720
2787
|
backgroundColor?: string;
|
2721
2788
|
legendPosition?: 'top' | 'bottom';
|
2789
|
+
legendGap?: number;
|
2722
2790
|
};
|
2723
2791
|
declare const BarChart: React__default.FC<BarChartProps>;
|
2724
2792
|
|
@@ -2779,6 +2847,8 @@ declare const ConnectingBranch: React__default.FC;
|
|
2779
2847
|
|
2780
2848
|
declare const saveFileFromBlob: (blob: Blob, filename: string) => void;
|
2781
2849
|
|
2850
|
+
declare const capitalize: (text: string) => string;
|
2851
|
+
|
2782
2852
|
interface CommentType {
|
2783
2853
|
id?: string | number;
|
2784
2854
|
description?: string;
|
@@ -2826,6 +2896,8 @@ interface PopUpModalProps {
|
|
2826
2896
|
|
2827
2897
|
declare const PopUpModal: FC<PopUpModalProps>;
|
2828
2898
|
|
2899
|
+
declare function formatString(input: string, removeSections?: string[]): string;
|
2900
|
+
|
2829
2901
|
type dynamicObject = {
|
2830
2902
|
[key: string]: any;
|
2831
2903
|
};
|
@@ -2879,4 +2951,4 @@ interface PhoneInputProps {
|
|
2879
2951
|
|
2880
2952
|
declare const PhoneInputField: React__default.FC<PhoneInputProps>;
|
2881
2953
|
|
2882
|
-
export { Accordion, AddButton as AddResourceButton, AddVariables, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BarChart, Button, Checkbox, Chip, Col, Comments, ConnectingBranch, Container, CreateVariableSlider, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, HighlightText, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LabelEditTextField, LineChart, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, Paper, PhoneInputField, PieChart, PopUpModal, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, Table, TreeTable as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, VariableDropdown, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, hasDuplicateFile, saveFileFromBlob, throttle, toast, truncateText, useFileDropzone, useTheme };
|
2954
|
+
export { Accordion, AddButton as AddResourceButton, AddVariables, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BarChart, Button, Checkbox, Chip, Col, Comments, 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, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, Table, TreeTable 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 };
|