pixel-react-excel-sheet 1.0.11 → 1.0.13
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/.yarn/install-state.gz +0 -0
- package/lib/1fb4472b34e4fe07.css +1 -0
- package/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/types.d.ts +12 -0
- package/lib/components/AddVariables/AddVariables.d.ts +5 -0
- package/lib/components/AddVariables/index.d.ts +1 -0
- package/lib/components/AddVariables/types.d.ts +35 -0
- package/lib/components/AppHeader/types.d.ts +2 -0
- package/lib/components/AttachImage/AttachImage.d.ts +1 -6
- package/lib/components/AttachImage/types.d.ts +8 -0
- package/lib/components/Avatar/types.d.ts +9 -1
- package/lib/components/Charts/BarChart/BarChart.d.ts +1 -0
- package/lib/components/Charts/DashboardDonutChart/types.d.ts +6 -0
- package/lib/components/Checkbox/types.d.ts +4 -0
- package/lib/components/Comment/Comments.d.ts +4 -0
- package/lib/components/Comment/comment/Comment.d.ts +11 -0
- package/lib/components/Comment/comment/useNode.d.ts +7 -0
- package/lib/components/Comment/index.d.ts +1 -0
- package/lib/components/Comment/type.d.ts +25 -0
- package/lib/components/CreateVariable/CreateVariableSlider.d.ts +5 -0
- package/lib/components/CreateVariable/index.d.ts +1 -0
- package/lib/components/CreateVariable/types.d.ts +56 -0
- package/lib/components/Drawer/Types.d.ts +13 -0
- package/lib/components/Editor/constants.d.ts +1 -1
- package/lib/components/Editor/types.d.ts +10 -2
- 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/FileDropzone/RadioFilePreview.d.ts +4 -0
- package/lib/components/FileDropzone/types.d.ts +61 -0
- package/lib/components/IconButton/IconButton.d.ts +1 -2
- package/lib/components/IconButton/types.d.ts +1 -0
- package/lib/components/Input/Input.d.ts +1 -1
- package/lib/components/MenuOption/types.d.ts +3 -2
- package/lib/components/MiniModal/types.d.ts +7 -0
- package/lib/components/MultiSelect/MultiSelect.d.ts +1 -1
- package/lib/components/PhoneInput/PhoneInput.d.ts +6 -0
- package/lib/components/PhoneInput/index.d.ts +1 -0
- package/lib/components/PhoneInput/types.d.ts +10 -0
- package/lib/components/PopUpModal/types.d.ts +1 -0
- package/lib/components/Search/Search.d.ts +1 -1
- package/lib/components/Search/types.d.ts +4 -0
- package/lib/components/Select/components/types.d.ts +1 -0
- package/lib/components/Select/types.d.ts +2 -0
- package/lib/components/Table/Types.d.ts +1 -1
- package/lib/components/TableTree/Components/TableBody.d.ts +4 -0
- package/lib/components/TableTree/Components/TableCell.d.ts +4 -0
- package/lib/components/TableTree/Components/TableHead.d.ts +4 -0
- package/lib/components/TableTree/Components/TableRow.d.ts +4 -0
- package/lib/components/TableTree/Utils/getAllChildIds.d.ts +1 -0
- package/lib/components/TableTree/types.d.ts +38 -5
- package/lib/components/TableWithAccordion/TableWithAccordion.d.ts +5 -0
- package/lib/components/TableWithAccordion/data.d.ts +8 -0
- package/lib/components/TableWithAccordion/index.d.ts +1 -0
- package/lib/components/TableWithAccordion/types.d.ts +67 -0
- package/lib/components/Tabs/types.d.ts +1 -0
- package/lib/index.d.ts +395 -39
- package/lib/index.esm.js +3859 -1017
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +3866 -1016
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/FormatString/FormatString.d.ts +1 -0
- package/lib/utils/checkDuplicates/checkDuplicates.d.ts +1 -0
- package/package.json +2 -1
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +15 -0
- package/src/assets/Themes/BaseTheme.scss +16 -0
- package/src/assets/Themes/DarkTheme.scss +71 -42
- package/src/assets/icons/add_file.svg +4 -17
- package/src/assets/icons/add_variable.svg +11 -0
- package/src/assets/icons/authorization.svg +4 -0
- package/src/assets/icons/authorization_icon.svg +1 -0
- package/src/assets/icons/backward.svg +10 -0
- package/src/assets/icons/capture_icon.svg +3 -0
- package/src/assets/icons/depends_on_script.svg +7 -0
- package/src/assets/icons/download_file_icon.svg +2 -9
- package/src/assets/icons/email_group.svg +3 -0
- package/src/assets/icons/executions_icon.svg +3 -0
- package/src/assets/icons/forward.svg +3 -0
- package/src/assets/icons/labels.svg +8 -0
- package/src/assets/icons/machine_disable_icon.svg +18 -0
- package/src/assets/icons/machine_enable_icon.svg +10 -0
- package/src/assets/icons/parameters.svg +3 -0
- package/src/assets/icons/pre_post_condition.svg +8 -0
- package/src/assets/icons/program_element.svg +8 -0
- package/src/assets/icons/project_status_icon.svg +10 -0
- package/src/assets/icons/refresh_icon.svg +4 -0
- package/src/assets/icons/rotate_icon.svg +10 -0
- package/src/assets/icons/suites_icon.svg +3 -0
- package/src/assets/icons/swipe_icon.svg +9 -0
- package/src/assets/icons/tap_icon.svg +4 -0
- package/src/assets/icons/test_data.svg +5 -0
- package/src/assets/icons/test_data_set.svg +7 -0
- package/src/assets/icons/variable_set.svg +5 -0
- package/src/assets/icons/window_maximize.svg +1 -2
- package/src/assets/icons/window_restore.svg +4 -0
- package/src/assets/styles/_colors.scss +0 -1
- package/src/components/Accordion/Accordion.stories.tsx +4 -0
- package/src/components/Accordion/Accordion.tsx +7 -1
- package/src/components/Accordion/types.ts +12 -0
- package/src/components/AddVariables/AddVariables.scss +14 -0
- package/src/components/AddVariables/AddVariables.stories.tsx +44 -0
- package/src/components/AddVariables/AddVariables.tsx +113 -0
- package/src/components/AddVariables/index.ts +1 -0
- package/src/components/AddVariables/types.ts +36 -0
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.scss +1 -1
- package/src/components/AppHeader/AppHeader.scss +40 -1
- package/src/components/AppHeader/AppHeader.stories.tsx +133 -5
- package/src/components/AppHeader/AppHeader.tsx +111 -112
- package/src/components/AppHeader/types.ts +10 -9
- package/src/components/AttachImage/AttachImage.stories.tsx +2 -0
- package/src/components/AttachImage/AttachImage.tsx +5 -9
- package/src/components/AttachImage/types.ts +25 -18
- package/src/components/Avatar/Avatar.scss +4 -0
- package/src/components/Avatar/Avatar.stories.tsx +38 -18
- package/src/components/Avatar/Avatar.tsx +19 -3
- package/src/components/Avatar/types.ts +9 -1
- 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/DonutChart/DonutChart.tsx +8 -3
- package/src/components/Charts/LineChart/LineChart.scss +13 -9
- package/src/components/Charts/LineChart/LineChart.tsx +6 -2
- package/src/components/Charts/RadialChart/RadialChart.scss +4 -0
- package/src/components/Charts/RadialChart/RadialChart.tsx +51 -45
- package/src/components/Checkbox/Checkbox.scss +57 -0
- package/src/components/Checkbox/Checkbox.stories.tsx +91 -15
- package/src/components/Checkbox/Checkbox.tsx +4 -1
- package/src/components/Checkbox/types.ts +4 -0
- package/src/components/Comment/Comments.scss +166 -0
- package/src/components/Comment/Comments.stories.tsx +212 -0
- package/src/components/Comment/Comments.tsx +51 -0
- package/src/components/Comment/comment/Comment.tsx +206 -0
- package/src/components/Comment/comment/useNode.ts +51 -0
- package/src/components/Comment/index.ts +1 -0
- package/src/components/Comment/type.ts +36 -0
- package/src/components/CreateVariable/CreateVariableSlider.scss +18 -0
- package/src/components/CreateVariable/CreateVariableSlider.stories.tsx +66 -0
- package/src/components/CreateVariable/CreateVariableSlider.tsx +95 -0
- package/src/components/CreateVariable/index.ts +1 -0
- package/src/components/CreateVariable/types.ts +58 -0
- 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/Drawer/Drawer.scss +3 -2
- package/src/components/Drawer/Drawer.stories.tsx +0 -1
- package/src/components/Drawer/Drawer.tsx +4 -1
- package/src/components/Drawer/Types.ts +13 -0
- package/src/components/Editor/Editor.stories.tsx +2 -2
- package/src/components/Editor/Editor.tsx +4 -2
- package/src/components/Editor/VariableDropdown.scss +8 -2
- package/src/components/Editor/VariableDropdown.tsx +15 -7
- package/src/components/Editor/constants.ts +1 -1
- package/src/components/Editor/types.ts +12 -2
- package/src/components/Excel/ExcelFile/ExcelFile.scss +0 -1
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +41 -25
- 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 +24 -22
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +1 -3
- 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/FieldSet/FieldSet.scss +2 -1
- package/src/components/FieldSet/FieldSet.stories.tsx +2 -1
- package/src/components/FileDropzone/Dropzone.tsx +76 -28
- package/src/components/FileDropzone/FileDropzone.scss +30 -3
- 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 +47 -2
- package/src/components/IconButton/IconButton.scss +11 -11
- package/src/components/IconButton/IconButton.stories.tsx +1 -0
- package/src/components/IconButton/IconButton.tsx +6 -8
- package/src/components/IconButton/types.ts +2 -1
- package/src/components/IconRadioGroup/IconRadioGroup.scss +2 -1
- package/src/components/Input/Input.scss +137 -125
- package/src/components/Input/Input.tsx +110 -93
- package/src/components/InputWithDropdown/InputWithDropdown.scss +9 -2
- package/src/components/InputWithDropdown/types.ts +3 -3
- package/src/components/LabelEditTextField/LabelEditTextField.tsx +1 -1
- 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/MiniModal/MiniModal.scss +0 -4
- package/src/components/MiniModal/MiniModal.stories.tsx +3 -2
- package/src/components/MiniModal/MiniModal.tsx +28 -10
- package/src/components/MiniModal/types.ts +7 -0
- package/src/components/Modal/Modal.stories.tsx +2 -1
- 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.scss +29 -0
- package/src/components/MultiSelect/MultiSelect.stories.tsx +31 -14
- package/src/components/MultiSelect/MultiSelect.tsx +32 -21
- package/src/components/PhoneInput/PhoneInput.d.ts +3 -0
- package/src/components/PhoneInput/PhoneInput.stories.tsx +95 -0
- package/src/components/PhoneInput/PhoneInput.tsx +90 -0
- package/src/components/PhoneInput/index.ts +1 -0
- package/src/components/PhoneInput/phoneInput.scss +3 -0
- package/src/components/PhoneInput/types.ts +10 -0
- package/src/components/PopUpModal/PopUpModal.stories.tsx +14 -13
- package/src/components/PopUpModal/PopUpModal.tsx +2 -1
- package/src/components/PopUpModal/types.ts +14 -13
- 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/Select/Select.scss +20 -0
- package/src/components/Select/Select.stories.tsx +50 -1
- package/src/components/Select/Select.tsx +34 -7
- package/src/components/Select/components/Dropdown.scss +9 -0
- package/src/components/Select/components/Dropdown.tsx +20 -6
- package/src/components/Select/components/types.ts +1 -0
- package/src/components/Select/types.ts +12 -2
- package/src/components/Table/Table.scss +6 -5
- package/src/components/Table/Types.ts +1 -1
- package/src/components/TableTree/Components/TableBody.tsx +35 -0
- package/src/components/TableTree/Components/TableCell.tsx +59 -0
- package/src/components/TableTree/Components/TableHead.tsx +39 -0
- package/src/components/TableTree/Components/TableRow.tsx +37 -0
- package/src/components/TableTree/TableTree.scss +8 -5
- package/src/components/TableTree/TableTree.tsx +16 -46
- package/src/components/TableTree/Utils/getAllChildIds.ts +12 -0
- package/src/components/TableTree/Utils/renderSpaces.ts +0 -0
- package/src/components/TableTree/types.ts +43 -5
- package/src/components/TableWithAccordion/TableWithAccordion.scss +54 -0
- package/src/components/TableWithAccordion/TableWithAccordion.stories.tsx +94 -0
- package/src/components/TableWithAccordion/TableWithAccordion.tsx +174 -0
- package/src/components/TableWithAccordion/data.ts +37 -0
- package/src/components/TableWithAccordion/index.ts +1 -0
- package/src/components/TableWithAccordion/types.ts +70 -0
- package/src/components/Tabs/Tabs.scss +58 -5
- 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 +18 -1
- package/src/utils/FormatString/FormatString.stories.tsx +58 -0
- package/src/utils/FormatString/FormatString.tsx +41 -0
- package/src/utils/checkDuplicates/CheckDuplicates.stories.tsx +40 -0
- package/src/utils/checkDuplicates/checkDuplicates.ts +13 -0
package/lib/index.d.ts
CHANGED
|
@@ -214,6 +214,19 @@ interface DrawerProps {
|
|
|
214
214
|
* Custom top for the drawer
|
|
215
215
|
*/
|
|
216
216
|
top?: string;
|
|
217
|
+
/**
|
|
218
|
+
* Height of the drawer
|
|
219
|
+
*/
|
|
220
|
+
height?: string;
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* width of the drawer
|
|
224
|
+
*/
|
|
225
|
+
width?: string;
|
|
226
|
+
/**
|
|
227
|
+
* Position from right
|
|
228
|
+
*/
|
|
229
|
+
right?: string | number;
|
|
217
230
|
}
|
|
218
231
|
|
|
219
232
|
declare const Drawer: FC<DrawerProps>;
|
|
@@ -260,31 +273,43 @@ interface AccordionProps {
|
|
|
260
273
|
* Info message to user for disabling accordion
|
|
261
274
|
*/
|
|
262
275
|
disableInfoMessage?: string;
|
|
276
|
+
/**
|
|
277
|
+
* Icon name for the Accordion state like expand and collapse
|
|
278
|
+
*/
|
|
279
|
+
accordionStateIconName?: string;
|
|
280
|
+
/**
|
|
281
|
+
* Accordion collapse and expand Icon width
|
|
282
|
+
*/
|
|
283
|
+
AccordionStateIconWidth: number;
|
|
284
|
+
/**
|
|
285
|
+
* Accordion collapse and expand Icon height
|
|
286
|
+
*/
|
|
287
|
+
AccordionStateIconHeight: number;
|
|
263
288
|
}
|
|
264
289
|
|
|
265
290
|
/**
|
|
266
291
|
* Accordion UI component
|
|
267
292
|
*/
|
|
268
|
-
declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
|
293
|
+
declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
|
269
294
|
|
|
270
295
|
type OptionValue$1 = any;
|
|
271
|
-
interface Option$
|
|
296
|
+
interface Option$4 {
|
|
272
297
|
[key: string]: OptionValue$1;
|
|
273
298
|
}
|
|
274
299
|
interface MultiSelectProps {
|
|
275
|
-
options: Option$
|
|
300
|
+
options: Option$4[];
|
|
276
301
|
type?: 'email' | 'text';
|
|
277
302
|
label: string;
|
|
278
|
-
selectedOptions?: Option$
|
|
303
|
+
selectedOptions?: Option$4[];
|
|
279
304
|
disabled?: boolean;
|
|
280
305
|
onSearch?: (searchedKeyword: string) => void;
|
|
281
|
-
onChange?: (selectedOptions: Option$
|
|
306
|
+
onChange?: (selectedOptions: Option$4[]) => void;
|
|
282
307
|
acceptNewOption?: boolean;
|
|
283
308
|
zIndex?: number;
|
|
284
309
|
required?: boolean;
|
|
285
310
|
errorMessage?: string;
|
|
286
311
|
withSelectButton?: boolean;
|
|
287
|
-
onSelectButtonClick?: (selectedOptions: Option$
|
|
312
|
+
onSelectButtonClick?: (selectedOptions: Option$4[]) => void;
|
|
288
313
|
displayCount?: boolean;
|
|
289
314
|
placeholderForSearching?: string;
|
|
290
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 */
|
|
@@ -302,7 +327,7 @@ interface MultiSelectProps {
|
|
|
302
327
|
onEnter?: (newOption: string) => void;
|
|
303
328
|
}
|
|
304
329
|
|
|
305
|
-
declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, displayCount, placeholderForSearching, variant, onLabelPlusIconClick, onManageLabelsClick, className, highlightedMachine, onSelectButtonClick, labelAccessor, valueAccessor, withSelectButton, onEnter }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
|
|
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;
|
|
306
331
|
|
|
307
332
|
interface ToasterProps {
|
|
308
333
|
/**Boolean value to handle state of toaster. */
|
|
@@ -597,7 +622,7 @@ interface InputProps {
|
|
|
597
622
|
isLabelRequired?: boolean;
|
|
598
623
|
}
|
|
599
624
|
|
|
600
|
-
declare const Input:
|
|
625
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
601
626
|
|
|
602
627
|
type Status$1 = {
|
|
603
628
|
status: 'Passed' | 'Failed' | 'Warning' | 'Skipped' | 'passed' | 'failed' | 'warning' | 'skipped';
|
|
@@ -653,9 +678,9 @@ declare const ExpandableMenu: React.FC<ExpandableMenuProps>;
|
|
|
653
678
|
interface SelectProps$1 {
|
|
654
679
|
label?: string;
|
|
655
680
|
showLabel?: boolean;
|
|
656
|
-
optionsList: Option$
|
|
657
|
-
selectedOption?: Option$
|
|
658
|
-
onChange: (option: Option$
|
|
681
|
+
optionsList: Option$3[];
|
|
682
|
+
selectedOption?: Option$3;
|
|
683
|
+
onChange: (option: Option$3) => void;
|
|
659
684
|
errorMsg?: string;
|
|
660
685
|
className?: string;
|
|
661
686
|
optionZIndex?: number;
|
|
@@ -674,9 +699,11 @@ interface SelectProps$1 {
|
|
|
674
699
|
width?: number | string;
|
|
675
700
|
onBlur?: () => void;
|
|
676
701
|
disableInput?: boolean;
|
|
702
|
+
showIcon?: boolean;
|
|
703
|
+
iconName?: string;
|
|
677
704
|
}
|
|
678
705
|
type OptionValue = any;
|
|
679
|
-
interface Option$
|
|
706
|
+
interface Option$3 {
|
|
680
707
|
[key: string]: OptionValue;
|
|
681
708
|
}
|
|
682
709
|
|
|
@@ -806,7 +833,7 @@ interface OptionClick {
|
|
|
806
833
|
* @type {string}
|
|
807
834
|
* @required
|
|
808
835
|
*/
|
|
809
|
-
label: string;
|
|
836
|
+
label: string | ReactNode;
|
|
810
837
|
/**
|
|
811
838
|
* The value(s) associated with the option, which can be a single string or an array of strings.
|
|
812
839
|
* @type {Array<string> | string}
|
|
@@ -822,7 +849,7 @@ interface OptionType extends OptionClick {
|
|
|
822
849
|
*/
|
|
823
850
|
icon?: string;
|
|
824
851
|
iconColor?: string;
|
|
825
|
-
name?: string;
|
|
852
|
+
name?: string | ReactNode;
|
|
826
853
|
/**
|
|
827
854
|
* Indicates whether the option is disabled.
|
|
828
855
|
* @type {boolean}
|
|
@@ -921,7 +948,7 @@ interface MenuOptionProps {
|
|
|
921
948
|
|
|
922
949
|
declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, zIndex, dropdownPlacement, optionCardVariant }: MenuOptionProps) => react_jsx_runtime.JSX.Element;
|
|
923
950
|
|
|
924
|
-
interface DataProps {
|
|
951
|
+
interface DataProps$1 {
|
|
925
952
|
/**
|
|
926
953
|
* data for each row
|
|
927
954
|
*/
|
|
@@ -933,11 +960,11 @@ interface SelectedItemProps {
|
|
|
933
960
|
*/
|
|
934
961
|
[key: string]: string | number | boolean;
|
|
935
962
|
}
|
|
936
|
-
interface TableProps {
|
|
963
|
+
interface TableProps$1 {
|
|
937
964
|
/**
|
|
938
965
|
* Data for table
|
|
939
966
|
*/
|
|
940
|
-
data: Array<number | string | DataProps>;
|
|
967
|
+
data: Array<number | string | DataProps$1>;
|
|
941
968
|
/**
|
|
942
969
|
* Column details for table
|
|
943
970
|
*/
|
|
@@ -945,7 +972,7 @@ interface TableProps {
|
|
|
945
972
|
/**
|
|
946
973
|
* Header type to have different background color
|
|
947
974
|
*/
|
|
948
|
-
headerType: 'default' | 'primary' | 'secondary';
|
|
975
|
+
headerType: 'default' | 'primary' | 'secondary' | 'tertiary';
|
|
949
976
|
/**
|
|
950
977
|
* withFixedHeader prop to have non-scrollable fixed table header
|
|
951
978
|
*/
|
|
@@ -1020,7 +1047,7 @@ interface TableProps {
|
|
|
1020
1047
|
headerIconOnClick?: () => void;
|
|
1021
1048
|
}
|
|
1022
1049
|
|
|
1023
|
-
declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, noDataContent, height, className, tableHeadClass, tableBodyRowClass, headerTextColor, tableDataTextColor, headerIconName, headerIconOnClick, }: TableProps) => react_jsx_runtime.JSX.Element;
|
|
1050
|
+
declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, noDataContent, height, className, tableHeadClass, tableBodyRowClass, headerTextColor, tableDataTextColor, headerIconName, headerIconOnClick, }: TableProps$1) => react_jsx_runtime.JSX.Element;
|
|
1024
1051
|
|
|
1025
1052
|
/**
|
|
1026
1053
|
* Props for the Add Resource Button component.
|
|
@@ -1066,6 +1093,10 @@ type DonutChartProps = {
|
|
|
1066
1093
|
|
|
1067
1094
|
declare const DonutChart: React__default.FC<DonutChartProps>;
|
|
1068
1095
|
|
|
1096
|
+
interface RadioOption {
|
|
1097
|
+
label: string;
|
|
1098
|
+
value: string;
|
|
1099
|
+
}
|
|
1069
1100
|
interface FileDropzoneProps {
|
|
1070
1101
|
/**
|
|
1071
1102
|
* Icon to be displayed in the dropzone.
|
|
@@ -1129,6 +1160,46 @@ interface FileDropzoneProps {
|
|
|
1129
1160
|
* Returns the rejected files in the state
|
|
1130
1161
|
**/
|
|
1131
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;
|
|
1132
1203
|
}
|
|
1133
1204
|
interface FileError {
|
|
1134
1205
|
message: string;
|
|
@@ -1149,6 +1220,7 @@ interface DropzoneOptions {
|
|
|
1149
1220
|
invalidFileMessage?: string;
|
|
1150
1221
|
fileExistMessage?: string;
|
|
1151
1222
|
validateMIMEType?: boolean;
|
|
1223
|
+
isApiResponseError?: boolean;
|
|
1152
1224
|
}
|
|
1153
1225
|
interface DropzoneState {
|
|
1154
1226
|
getRootProps: () => React.HTMLAttributes<HTMLElement>;
|
|
@@ -1168,6 +1240,15 @@ interface DroppableProps {
|
|
|
1168
1240
|
getInputProps: () => any;
|
|
1169
1241
|
isDragActive: boolean;
|
|
1170
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;
|
|
1171
1252
|
}
|
|
1172
1253
|
interface FilePreviewProps {
|
|
1173
1254
|
file: File;
|
|
@@ -1258,7 +1339,7 @@ declare const ForwardedForms: <T extends Form.FieldValues>(props: FormProps<T> &
|
|
|
1258
1339
|
ref?: React__default.Ref<any>;
|
|
1259
1340
|
}) => JSX.Element;
|
|
1260
1341
|
|
|
1261
|
-
interface Option$
|
|
1342
|
+
interface Option$2 {
|
|
1262
1343
|
label: string | ReactNode;
|
|
1263
1344
|
value: string;
|
|
1264
1345
|
}
|
|
@@ -1307,11 +1388,11 @@ interface InputWithDropdownProps {
|
|
|
1307
1388
|
/**
|
|
1308
1389
|
* Options for the select dropdown
|
|
1309
1390
|
*/
|
|
1310
|
-
optionsList: Option$
|
|
1391
|
+
optionsList: Option$2[];
|
|
1311
1392
|
/**
|
|
1312
1393
|
* Selected option for the select dropdown
|
|
1313
1394
|
*/
|
|
1314
|
-
selectedOption?: Option$
|
|
1395
|
+
selectedOption?: Option$2;
|
|
1315
1396
|
/**
|
|
1316
1397
|
* onChange handler for input changes
|
|
1317
1398
|
*/
|
|
@@ -1411,6 +1492,8 @@ interface ModalDimensions {
|
|
|
1411
1492
|
borderRadius?: number;
|
|
1412
1493
|
zIndex?: number;
|
|
1413
1494
|
boxShadow?: string;
|
|
1495
|
+
left?: number;
|
|
1496
|
+
top?: number;
|
|
1414
1497
|
}
|
|
1415
1498
|
interface MiniEditModalProps {
|
|
1416
1499
|
/**
|
|
@@ -1500,6 +1583,11 @@ interface MiniEditModalProps {
|
|
|
1500
1583
|
boxShadow?: string;
|
|
1501
1584
|
};
|
|
1502
1585
|
arrowZIndex?: number;
|
|
1586
|
+
arrowProperties?: {
|
|
1587
|
+
left?: number;
|
|
1588
|
+
top?: number;
|
|
1589
|
+
size?: number;
|
|
1590
|
+
};
|
|
1503
1591
|
overlay?: {
|
|
1504
1592
|
isOverlay?: boolean;
|
|
1505
1593
|
zIndexOverlay?: number;
|
|
@@ -1516,25 +1604,25 @@ interface TreeNode {
|
|
|
1516
1604
|
children?: TreeNode[];
|
|
1517
1605
|
expanded?: boolean;
|
|
1518
1606
|
}
|
|
1607
|
+
declare type JSX$1 = ReactNode | JSX$1.Element[] | string | null;
|
|
1519
1608
|
interface Column {
|
|
1520
1609
|
name: string;
|
|
1521
1610
|
accessor: string;
|
|
1522
1611
|
width: string;
|
|
1523
1612
|
isClickable?: boolean;
|
|
1524
|
-
cell?: (row: any) => JSX
|
|
1525
|
-
actions?: (row: any) => JSX
|
|
1613
|
+
cell?: (row: any) => JSX$1;
|
|
1614
|
+
actions?: (row: any) => JSX$1;
|
|
1526
1615
|
isTree?: boolean;
|
|
1527
1616
|
defaultValue?: string;
|
|
1528
|
-
defaultActions?: () => JSX
|
|
1617
|
+
defaultActions?: () => JSX$1;
|
|
1529
1618
|
}
|
|
1530
1619
|
interface TreeTableProps {
|
|
1531
1620
|
treeData: any;
|
|
1532
1621
|
columnsData: Column[];
|
|
1533
1622
|
selected?: string[];
|
|
1534
1623
|
select?: 'radio' | 'checkbox' | 'none';
|
|
1535
|
-
onChange?: (
|
|
1624
|
+
onChange?: (e: any, node: string[]) => void;
|
|
1536
1625
|
onClick?: (e: React.MouseEvent<HTMLDivElement>, row: TreeNode) => void;
|
|
1537
|
-
expandedNodes: string[];
|
|
1538
1626
|
onExpand?: (_isExpanded: boolean, node: string) => void;
|
|
1539
1627
|
onPagination?: (_direction: string) => void;
|
|
1540
1628
|
}
|
|
@@ -1550,6 +1638,7 @@ interface TabsProps {
|
|
|
1550
1638
|
label: string;
|
|
1551
1639
|
component?: JSX.Element;
|
|
1552
1640
|
disabled?: boolean;
|
|
1641
|
+
count?: number | string;
|
|
1553
1642
|
}[];
|
|
1554
1643
|
/**
|
|
1555
1644
|
* Defines the styling variant of the tabs.
|
|
@@ -1607,6 +1696,10 @@ interface CheckboxProps {
|
|
|
1607
1696
|
* For partially checked checkbox
|
|
1608
1697
|
*/
|
|
1609
1698
|
partial?: boolean;
|
|
1699
|
+
/**
|
|
1700
|
+
* For variant color
|
|
1701
|
+
*/
|
|
1702
|
+
variant?: 'passed' | 'failed' | 'warning' | 'skipped' | 'flaky';
|
|
1610
1703
|
}
|
|
1611
1704
|
|
|
1612
1705
|
declare const Checkbox: React__default.FC<CheckboxProps>;
|
|
@@ -1625,9 +1718,13 @@ interface SearchProps {
|
|
|
1625
1718
|
*/
|
|
1626
1719
|
disabled?: boolean;
|
|
1627
1720
|
width?: number;
|
|
1721
|
+
value: string;
|
|
1722
|
+
isExpand: boolean;
|
|
1723
|
+
onClose: () => void;
|
|
1724
|
+
onExpand: (isExpand: boolean) => void;
|
|
1628
1725
|
}
|
|
1629
1726
|
|
|
1630
|
-
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;
|
|
1631
1728
|
|
|
1632
1729
|
interface DatePickerProps {
|
|
1633
1730
|
/**
|
|
@@ -1708,9 +1805,10 @@ interface IconButtonProps {
|
|
|
1708
1805
|
label: string;
|
|
1709
1806
|
iconName: string;
|
|
1710
1807
|
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
1808
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
1711
1809
|
}
|
|
1712
1810
|
|
|
1713
|
-
declare const IconButton:
|
|
1811
|
+
declare const IconButton: React$1.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1714
1812
|
|
|
1715
1813
|
interface ModalProps {
|
|
1716
1814
|
isOpen: boolean;
|
|
@@ -1836,11 +1934,13 @@ interface PieChartProps {
|
|
|
1836
1934
|
declare const PieChart: React__default.FC<PieChartProps>;
|
|
1837
1935
|
|
|
1838
1936
|
interface AppHeaderProps {
|
|
1937
|
+
width?: string;
|
|
1839
1938
|
logoIconName: string;
|
|
1840
1939
|
leftContent?: ReactNode;
|
|
1841
1940
|
rightContent?: ReactNode;
|
|
1842
1941
|
projectsList?: optionsType[];
|
|
1843
1942
|
appHeaderMenuItems: appHeaderMenuItemProps[];
|
|
1943
|
+
appHeaderHiddenMenuItems?: appHeaderHiddenMenuItemProps[];
|
|
1844
1944
|
selectedMenu: string;
|
|
1845
1945
|
selectedSubMenu?: string;
|
|
1846
1946
|
selectedQuickMenu?: string;
|
|
@@ -1926,7 +2026,13 @@ type DashboardDonutChartProps = {
|
|
|
1926
2026
|
labelFontSize?: number;
|
|
1927
2027
|
subLabelFontSize?: number;
|
|
1928
2028
|
legendPosition?: 'bottom' | 'right' | 'left';
|
|
2029
|
+
chartGap?: number;
|
|
1929
2030
|
legendGap?: number;
|
|
2031
|
+
tableWidth?: number;
|
|
2032
|
+
legendValueFontSize?: number;
|
|
2033
|
+
legendKeyFontSize?: number;
|
|
2034
|
+
labelYoffSet?: number;
|
|
2035
|
+
subLabelYoffSet?: number;
|
|
1930
2036
|
};
|
|
1931
2037
|
|
|
1932
2038
|
declare const DashboardDonutChart: React__default.FC<DashboardDonutChartProps>;
|
|
@@ -1956,8 +2062,8 @@ interface SelectProps {
|
|
|
1956
2062
|
label?: string;
|
|
1957
2063
|
showLabel?: boolean;
|
|
1958
2064
|
optionsList: any[];
|
|
1959
|
-
selectedOption?: Option;
|
|
1960
|
-
onChange: (option: Option) => void;
|
|
2065
|
+
selectedOption?: Option$1;
|
|
2066
|
+
onChange: (option: Option$1) => void;
|
|
1961
2067
|
errorMsg?: string;
|
|
1962
2068
|
className?: string;
|
|
1963
2069
|
optionZIndex?: number;
|
|
@@ -1966,7 +2072,7 @@ interface SelectProps {
|
|
|
1966
2072
|
showBorder?: boolean;
|
|
1967
2073
|
required?: boolean;
|
|
1968
2074
|
}
|
|
1969
|
-
interface Option {
|
|
2075
|
+
interface Option$1 {
|
|
1970
2076
|
displayName: string | ReactNode;
|
|
1971
2077
|
projectId: string;
|
|
1972
2078
|
nlpType: string;
|
|
@@ -2039,9 +2145,9 @@ interface SequentialConnectingBranchProps {
|
|
|
2039
2145
|
machineInstances?: ExecutionContext[] | {}[];
|
|
2040
2146
|
machineColumnWidth?: number;
|
|
2041
2147
|
machineColumnCount?: number;
|
|
2042
|
-
selectedMachine?: Option$
|
|
2043
|
-
machineOptionsList?: Option$
|
|
2044
|
-
onHandleSelect?: (option: Option$
|
|
2148
|
+
selectedMachine?: Option$3;
|
|
2149
|
+
machineOptionsList?: Option$3[];
|
|
2150
|
+
onHandleSelect?: (option: Option$3) => void;
|
|
2045
2151
|
onAddBrowserInstance?: (modalId: string) => void;
|
|
2046
2152
|
onUpdateAddBrowserInstance?: () => void;
|
|
2047
2153
|
onDeleteBrowserInstance?: (id: string, runCount: number) => void;
|
|
@@ -2128,7 +2234,7 @@ interface AvatarProps {
|
|
|
2128
2234
|
/**
|
|
2129
2235
|
* This property specifies the name of the icon to be displayed within the avatar.
|
|
2130
2236
|
*/
|
|
2131
|
-
iconName
|
|
2237
|
+
iconName?: string;
|
|
2132
2238
|
/**
|
|
2133
2239
|
* This property allows you to customize the color of the icon within the avatar.
|
|
2134
2240
|
*/
|
|
@@ -2141,6 +2247,14 @@ interface AvatarProps {
|
|
|
2141
2247
|
* This property allows you to set a custom size for the icon within the avatar.
|
|
2142
2248
|
*/
|
|
2143
2249
|
customIconSize?: number;
|
|
2250
|
+
/**
|
|
2251
|
+
* This property specifies the label to display inside the avatar, used as an alternative to the icon.
|
|
2252
|
+
*/
|
|
2253
|
+
label?: string;
|
|
2254
|
+
/**
|
|
2255
|
+
* This property allows you to customize the font size of the label inside the avatar.
|
|
2256
|
+
*/
|
|
2257
|
+
labelFontSize?: string;
|
|
2144
2258
|
}
|
|
2145
2259
|
|
|
2146
2260
|
declare const Avatar: React__default.FC<AvatarProps>;
|
|
@@ -2298,11 +2412,32 @@ interface IconRadialChartProps {
|
|
|
2298
2412
|
declare const IconRadialChart: React__default.FC<IconRadialChartProps>;
|
|
2299
2413
|
|
|
2300
2414
|
interface AttachImageProps {
|
|
2415
|
+
/**
|
|
2416
|
+
* The image source to display.
|
|
2417
|
+
*/
|
|
2301
2418
|
imageSrc: string;
|
|
2419
|
+
/**
|
|
2420
|
+
* Function triggered when the expand icon is clicked.
|
|
2421
|
+
*/
|
|
2302
2422
|
onExpandClick: () => void;
|
|
2423
|
+
/**
|
|
2424
|
+
* Function triggered when the delete icon is clicked.
|
|
2425
|
+
*/
|
|
2303
2426
|
onDeleteClick: () => void;
|
|
2427
|
+
/**
|
|
2428
|
+
* Function triggered when the download icon is clicked.
|
|
2429
|
+
*/
|
|
2304
2430
|
onDownloadClick: () => void;
|
|
2431
|
+
/**
|
|
2432
|
+
* Custom height for the component.
|
|
2433
|
+
*/
|
|
2434
|
+
height?: string;
|
|
2435
|
+
/**
|
|
2436
|
+
* Custom width for the component.
|
|
2437
|
+
*/
|
|
2438
|
+
width?: string;
|
|
2305
2439
|
}
|
|
2440
|
+
|
|
2306
2441
|
declare const AttachImage: React__default.FC<AttachImageProps>;
|
|
2307
2442
|
|
|
2308
2443
|
interface CardProps {
|
|
@@ -2366,10 +2501,18 @@ interface dropdownPositionType {
|
|
|
2366
2501
|
left: number;
|
|
2367
2502
|
}
|
|
2368
2503
|
interface VariableDropdownProps {
|
|
2504
|
+
/**
|
|
2505
|
+
* Position whether absoloute or relative
|
|
2506
|
+
*/
|
|
2507
|
+
position: 'absolute' | 'relative';
|
|
2508
|
+
/**
|
|
2509
|
+
* Dropdown width
|
|
2510
|
+
*/
|
|
2511
|
+
width: string;
|
|
2369
2512
|
/**
|
|
2370
2513
|
* List of variables
|
|
2371
2514
|
*/
|
|
2372
|
-
optionsList:
|
|
2515
|
+
optionsList: DyanamicObj[];
|
|
2373
2516
|
/**
|
|
2374
2517
|
* Function to handle click on variable
|
|
2375
2518
|
*/
|
|
@@ -2377,7 +2520,7 @@ interface VariableDropdownProps {
|
|
|
2377
2520
|
/**
|
|
2378
2521
|
* Dropdown postion used for dropdown placement
|
|
2379
2522
|
*/
|
|
2380
|
-
dropdownPosition
|
|
2523
|
+
dropdownPosition?: dropdownPositionType;
|
|
2381
2524
|
}
|
|
2382
2525
|
|
|
2383
2526
|
declare const VariableDropdown: FC<VariableDropdownProps>;
|
|
@@ -2449,6 +2592,133 @@ interface fieldSetProps {
|
|
|
2449
2592
|
|
|
2450
2593
|
declare const FieldSet: FC<fieldSetProps>;
|
|
2451
2594
|
|
|
2595
|
+
type DynamicObj = {
|
|
2596
|
+
[key: string]: any;
|
|
2597
|
+
};
|
|
2598
|
+
interface CreateVariableProps {
|
|
2599
|
+
/**
|
|
2600
|
+
* Open Create variable Slider
|
|
2601
|
+
*/
|
|
2602
|
+
isOpen: boolean;
|
|
2603
|
+
/**
|
|
2604
|
+
* Value for the variable name
|
|
2605
|
+
*/
|
|
2606
|
+
variableName: string;
|
|
2607
|
+
/**
|
|
2608
|
+
* Value for the variable to be created
|
|
2609
|
+
*/
|
|
2610
|
+
value: string;
|
|
2611
|
+
/**
|
|
2612
|
+
* List for the variable types
|
|
2613
|
+
*/
|
|
2614
|
+
variableTypesList: DynamicObj[];
|
|
2615
|
+
/**
|
|
2616
|
+
* Selected variable type
|
|
2617
|
+
*/
|
|
2618
|
+
selectedVariableType: DynamicObj;
|
|
2619
|
+
/**
|
|
2620
|
+
* Function to handle variable type change
|
|
2621
|
+
* @param option
|
|
2622
|
+
* @returns
|
|
2623
|
+
*/
|
|
2624
|
+
onVariableTypeChange: (option: DynamicObj) => void;
|
|
2625
|
+
/**
|
|
2626
|
+
* Function to handle close
|
|
2627
|
+
*/
|
|
2628
|
+
onClose?: () => void;
|
|
2629
|
+
/**
|
|
2630
|
+
* onChange of name
|
|
2631
|
+
*/
|
|
2632
|
+
onNameChange: (value: string | boolean) => void;
|
|
2633
|
+
/**
|
|
2634
|
+
* onChange of value
|
|
2635
|
+
*/
|
|
2636
|
+
onValueChange: (value: string | boolean) => void;
|
|
2637
|
+
/**
|
|
2638
|
+
* Hide value
|
|
2639
|
+
*/
|
|
2640
|
+
hideValue: boolean;
|
|
2641
|
+
/**
|
|
2642
|
+
* onChange for hide value
|
|
2643
|
+
*/
|
|
2644
|
+
onHideChange: (value: boolean) => void;
|
|
2645
|
+
/**
|
|
2646
|
+
* Function to handle submit
|
|
2647
|
+
*/
|
|
2648
|
+
handleSubmit: () => void;
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2651
|
+
declare const CreateVariableSlider: FC<CreateVariableProps>;
|
|
2652
|
+
|
|
2653
|
+
interface ColumnProps {
|
|
2654
|
+
/**
|
|
2655
|
+
* column name
|
|
2656
|
+
*/
|
|
2657
|
+
header: string;
|
|
2658
|
+
/**
|
|
2659
|
+
* data key for particular column
|
|
2660
|
+
*/
|
|
2661
|
+
accessor: string;
|
|
2662
|
+
/**
|
|
2663
|
+
* className for a column
|
|
2664
|
+
*/
|
|
2665
|
+
className?: string;
|
|
2666
|
+
/**
|
|
2667
|
+
* width of a column
|
|
2668
|
+
*/
|
|
2669
|
+
width?: number;
|
|
2670
|
+
/**
|
|
2671
|
+
* data for the column
|
|
2672
|
+
*/
|
|
2673
|
+
cell?: (e: any) => JSX.Element | string | ReactNode;
|
|
2674
|
+
}
|
|
2675
|
+
interface DataProps {
|
|
2676
|
+
/**
|
|
2677
|
+
* data for each row
|
|
2678
|
+
*/
|
|
2679
|
+
[key: string]: any;
|
|
2680
|
+
}
|
|
2681
|
+
interface TableProps {
|
|
2682
|
+
/**
|
|
2683
|
+
* Column details for table
|
|
2684
|
+
*/
|
|
2685
|
+
tableMeta: Array<ColumnProps>;
|
|
2686
|
+
/**
|
|
2687
|
+
* Data for table
|
|
2688
|
+
*/
|
|
2689
|
+
tableData: Array<DataProps>;
|
|
2690
|
+
/**
|
|
2691
|
+
* Table type
|
|
2692
|
+
*/
|
|
2693
|
+
accordionType: 'row' | 'column';
|
|
2694
|
+
/**
|
|
2695
|
+
* Specific sentence to be displayed data not found
|
|
2696
|
+
*/
|
|
2697
|
+
noDataContent?: string | ReactNode;
|
|
2698
|
+
/**
|
|
2699
|
+
* withFixedHeader prop to have non-scrollable fixed accordion table header
|
|
2700
|
+
*/
|
|
2701
|
+
withFixedHeader?: boolean;
|
|
2702
|
+
/**
|
|
2703
|
+
* Height of the table in string
|
|
2704
|
+
*/
|
|
2705
|
+
height?: string;
|
|
2706
|
+
/**
|
|
2707
|
+
* Header type to have different background color
|
|
2708
|
+
*/
|
|
2709
|
+
headerType: 'default' | 'primary' | 'secondary';
|
|
2710
|
+
/**
|
|
2711
|
+
* Accordion collapse and expand Icon width
|
|
2712
|
+
*/
|
|
2713
|
+
TableAccordionStateIconWidth: number;
|
|
2714
|
+
/**
|
|
2715
|
+
* Accordion collapse and expand Icon height
|
|
2716
|
+
*/
|
|
2717
|
+
TableAccordionStateIconHeight: number;
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
declare const TableWithAccordion: ({ tableMeta, tableData, accordionType, noDataContent, height, withFixedHeader, headerType, TableAccordionStateIconWidth, TableAccordionStateIconHeight, }: TableProps) => react_jsx_runtime.JSX.Element;
|
|
2721
|
+
|
|
2452
2722
|
type valueType$1 = any;
|
|
2453
2723
|
declare const checkEmpty: (value: valueType$1) => boolean;
|
|
2454
2724
|
|
|
@@ -2516,6 +2786,7 @@ type BarChartProps = {
|
|
|
2516
2786
|
iconSize?: number;
|
|
2517
2787
|
backgroundColor?: string;
|
|
2518
2788
|
legendPosition?: 'top' | 'bottom';
|
|
2789
|
+
legendGap?: number;
|
|
2519
2790
|
};
|
|
2520
2791
|
declare const BarChart: React__default.FC<BarChartProps>;
|
|
2521
2792
|
|
|
@@ -2576,6 +2847,35 @@ declare const ConnectingBranch: React__default.FC;
|
|
|
2576
2847
|
|
|
2577
2848
|
declare const saveFileFromBlob: (blob: Blob, filename: string) => void;
|
|
2578
2849
|
|
|
2850
|
+
declare const capitalize: (text: string) => string;
|
|
2851
|
+
|
|
2852
|
+
interface CommentType {
|
|
2853
|
+
id?: string | number;
|
|
2854
|
+
description?: string;
|
|
2855
|
+
createdBy?: string;
|
|
2856
|
+
modifiedBy?: string;
|
|
2857
|
+
createdByUname?: string;
|
|
2858
|
+
modifiedByUname?: string;
|
|
2859
|
+
createdOn?: string;
|
|
2860
|
+
modifiedOn?: string;
|
|
2861
|
+
name?: string;
|
|
2862
|
+
emailId?: string[];
|
|
2863
|
+
commentParentId?: string;
|
|
2864
|
+
comments: CommentType[];
|
|
2865
|
+
}
|
|
2866
|
+
type HandleAddComment = (newComment: CommentType, parentCommentId?: string) => void;
|
|
2867
|
+
type HandleEditComment = (commentId: string, updatedDescription: string) => void;
|
|
2868
|
+
type HandleDeleteComment = (commentId: string) => void;
|
|
2869
|
+
interface CommentsProps {
|
|
2870
|
+
commentsData: any;
|
|
2871
|
+
handleAddComment: HandleAddComment;
|
|
2872
|
+
handleEditComment: HandleEditComment;
|
|
2873
|
+
handleDeleteComment: HandleDeleteComment;
|
|
2874
|
+
onCommentsDataChange: (data: any) => void;
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2877
|
+
declare const Comments: ({ commentsData, onCommentsDataChange, }: CommentsProps) => react_jsx_runtime.JSX.Element;
|
|
2878
|
+
|
|
2579
2879
|
declare const useFileDropzone: (options: DropzoneOptions) => DropzoneState;
|
|
2580
2880
|
|
|
2581
2881
|
interface PopUpModalProps {
|
|
@@ -2591,8 +2891,64 @@ interface PopUpModalProps {
|
|
|
2591
2891
|
secondButtonLabel: string;
|
|
2592
2892
|
buttonVariant: any;
|
|
2593
2893
|
border: string;
|
|
2894
|
+
colorForTitleMessage?: string;
|
|
2594
2895
|
}
|
|
2595
2896
|
|
|
2596
2897
|
declare const PopUpModal: FC<PopUpModalProps>;
|
|
2597
2898
|
|
|
2598
|
-
|
|
2899
|
+
declare function formatString(input: string, removeSections?: string[]): string;
|
|
2900
|
+
|
|
2901
|
+
type dynamicObject = {
|
|
2902
|
+
[key: string]: any;
|
|
2903
|
+
};
|
|
2904
|
+
interface AddVariableProps {
|
|
2905
|
+
/**
|
|
2906
|
+
* Label for the field
|
|
2907
|
+
*/
|
|
2908
|
+
label?: string;
|
|
2909
|
+
/**
|
|
2910
|
+
* List of variables
|
|
2911
|
+
*/
|
|
2912
|
+
variableList?: dynamicObject[];
|
|
2913
|
+
/**
|
|
2914
|
+
* Place holder for the input field
|
|
2915
|
+
*/
|
|
2916
|
+
placeholder?: string;
|
|
2917
|
+
/**
|
|
2918
|
+
* Function to handle input change
|
|
2919
|
+
* @param value
|
|
2920
|
+
* @returns
|
|
2921
|
+
*/
|
|
2922
|
+
onChange: (value: string) => void;
|
|
2923
|
+
/**
|
|
2924
|
+
* Function to handle create variable icon click
|
|
2925
|
+
*/
|
|
2926
|
+
onCreateVariableClick?: () => void;
|
|
2927
|
+
/**
|
|
2928
|
+
* Value of the input field
|
|
2929
|
+
*/
|
|
2930
|
+
value: string;
|
|
2931
|
+
/**
|
|
2932
|
+
* Width of the dropdown
|
|
2933
|
+
*/
|
|
2934
|
+
dropdownWidth?: string;
|
|
2935
|
+
}
|
|
2936
|
+
|
|
2937
|
+
declare const AddVariables: React__default.FC<AddVariableProps>;
|
|
2938
|
+
|
|
2939
|
+
declare const hasDuplicateFile: (array: any[], property: string) => boolean;
|
|
2940
|
+
|
|
2941
|
+
interface PhoneInputProps {
|
|
2942
|
+
country: string;
|
|
2943
|
+
value: string;
|
|
2944
|
+
onChange: (phone: string) => void;
|
|
2945
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
2946
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
2947
|
+
width?: string;
|
|
2948
|
+
placeholder?: string;
|
|
2949
|
+
isValid: any;
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
declare const PhoneInputField: React__default.FC<PhoneInputProps>;
|
|
2953
|
+
|
|
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 };
|