pixel-react-excel-sheet 1.2.0
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/.prettierrc.js +13 -0
- package/.storybook/main.ts +26 -0
- package/.storybook/preview.ts +26 -0
- package/.yarn/install-state.gz +0 -0
- package/.yarnrc.yml +1 -0
- package/README.md +75 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/index.scss +0 -0
- package/lib/StyleGuide/ColorPalette/ColorPalette.d.ts +3 -0
- package/lib/StyleGuide/ColorPalette/ColorPalette.stories.d.ts +6 -0
- package/lib/StyleGuide/ColorPalette/colorPaletteList.d.ts +3 -0
- package/lib/StyleGuide/ColorPalette/index.d.ts +1 -0
- package/lib/StyleGuide/ColorPalette/types.d.ts +17 -0
- package/lib/StyleGuide/Typography/Typography.d.ts +3 -0
- package/lib/StyleGuide/Typography/Typography.stories.d.ts +6 -0
- package/lib/StyleGuide/Typography/TypographyList.d.ts +5 -0
- package/lib/StyleGuide/Typography/types.d.ts +8 -0
- package/lib/assets/utils/functionUtils.d.ts +4 -0
- package/lib/components/Accordion/Accordion.d.ts +8 -0
- package/lib/components/Accordion/Accordion.stories.d.ts +6 -0
- package/lib/components/Accordion/index.d.ts +1 -0
- package/lib/components/Accordion/types.d.ts +27 -0
- package/lib/components/AddResourceButton/AddButton.d.ts +4 -0
- package/lib/components/AddResourceButton/AddButton.stories.d.ts +8 -0
- package/lib/components/AddResourceButton/ArrowsButton/ArrowsButton.d.ts +6 -0
- package/lib/components/AddResourceButton/index.d.ts +1 -0
- package/lib/components/AddResourceButton/type.d.ts +68 -0
- package/lib/components/AllProjectsDropdown/AllProjectsDropdown.d.ts +4 -0
- package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +7 -0
- package/lib/components/AllProjectsDropdown/index.d.ts +1 -0
- package/lib/components/AllProjectsDropdown/types.d.ts +10 -0
- package/lib/components/AppHeader/AppHeader.d.ts +4 -0
- package/lib/components/AppHeader/AppHeader.stories.d.ts +7 -0
- package/lib/components/AppHeader/index.d.ts +1 -0
- package/lib/components/AppHeader/types.d.ts +30 -0
- package/lib/components/AttachmentButton/AttachmentButton.d.ts +5 -0
- package/lib/components/AttachmentButton/AttachmentButton.stories.d.ts +9 -0
- package/lib/components/AttachmentButton/index.d.ts +1 -0
- package/lib/components/AttachmentButton/types.d.ts +8 -0
- package/lib/components/Button/Button.d.ts +5 -0
- package/lib/components/Button/Button.stories.d.ts +13 -0
- package/lib/components/Button/index.d.ts +1 -0
- package/lib/components/Button/types.d.ts +61 -0
- package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.d.ts +5 -0
- package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +7 -0
- package/lib/components/Charts/DashboardDonutChart/index.d.ts +1 -0
- package/lib/components/Charts/DashboardDonutChart/types.d.ts +21 -0
- package/lib/components/Charts/DonutChart/DonutChart.d.ts +5 -0
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +6 -0
- package/lib/components/Charts/DonutChart/index.d.ts +1 -0
- package/lib/components/Charts/DonutChart/type.d.ts +13 -0
- package/lib/components/Charts/PieChart/PieChart.d.ts +5 -0
- package/lib/components/Charts/PieChart/PieChart.stories.d.ts +7 -0
- package/lib/components/Charts/PieChart/index.d.ts +1 -0
- package/lib/components/Charts/PieChart/types.d.ts +27 -0
- package/lib/components/Charts/RadialChart/RadialChart.d.ts +5 -0
- package/lib/components/Charts/RadialChart/RadialChart.stories.d.ts +6 -0
- package/lib/components/Charts/RadialChart/index.d.ts +1 -0
- package/lib/components/Charts/RadialChart/types.d.ts +25 -0
- package/lib/components/Checkbox/Checkbox.d.ts +6 -0
- package/lib/components/Checkbox/Checkbox.stories.d.ts +8 -0
- package/lib/components/Checkbox/index.d.ts +1 -0
- package/lib/components/Checkbox/types.d.ts +30 -0
- package/lib/components/Chip/Chip.d.ts +4 -0
- package/lib/components/Chip/Chip.stories.d.ts +14 -0
- package/lib/components/Chip/index.d.ts +1 -0
- package/lib/components/Chip/types.d.ts +18 -0
- package/lib/components/DatePicker/DatePicker.d.ts +5 -0
- package/lib/components/DatePicker/DatePicker.stories.d.ts +9 -0
- package/lib/components/DatePicker/Timepicker.d.ts +4 -0
- package/lib/components/DatePicker/index.d.ts +1 -0
- package/lib/components/DatePicker/types.d.ts +81 -0
- package/lib/components/DragAndDrop/DragAndDrop.d.ts +9 -0
- package/lib/components/DragAndDrop/DragAndDrop.stories.d.ts +6 -0
- package/lib/components/DragAndDrop/DragAndDropList.d.ts +20 -0
- package/lib/components/DragAndDrop/index.d.ts +1 -0
- package/lib/components/Drawer/Drawer.d.ts +5 -0
- package/lib/components/Drawer/Drawer.stories.d.ts +10 -0
- package/lib/components/Drawer/Types.d.ts +109 -0
- package/lib/components/Drawer/index.d.ts +1 -0
- package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +14 -0
- package/lib/components/ExcelFile/ColorBarSelector/ColorBarSelector.d.ts +8 -0
- package/lib/components/ExcelFile/ContextMenu/ContextMenu.d.ts +4 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/ActiveCell.d.ts +7 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Cell.d.ts +4 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/ColumnIndicator.d.ts +5 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Copied.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/CornerIndicator.d.ts +5 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/DataEditor.d.ts +5 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/DataViewer.d.ts +8 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/FloatingRect.d.ts +10 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/HeaderRow.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Row.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/RowIndicator.d.ts +5 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Selected.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Spreadsheet.d.ts +80 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Table.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/actions.d.ts +130 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/areModelsEqual.d.ts +1 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/context.d.ts +8 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/engine.d.ts +22 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/formula.d.ts +17 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/index.d.ts +2 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-graph.d.ts +21 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-hash.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-set.d.ts +24 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/index.d.ts +13 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/matrix.d.ts +67 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/point-range.d.ts +22 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/point.d.ts +11 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/reducer.d.ts +27 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/selection.d.ts +95 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/types.d.ts +178 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/use-dispatch.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/use-selector.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/util.d.ts +45 -0
- package/lib/components/ExcelFile/ExcelFile/ExcelFile.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile.stories.d.ts +6 -0
- package/lib/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.d.ts +15 -0
- package/lib/components/ExcelFile/ExcelToolBar/ExcelToolBar.d.ts +3 -0
- package/lib/components/ExcelFile/ImportExcelStyles.d.ts +24 -0
- package/lib/components/ExcelFile/Types.d.ts +137 -0
- package/lib/components/ExcelFile/index.d.ts +1 -0
- package/lib/components/ExpandableMenu/ExpandableMenu.d.ts +5 -0
- package/lib/components/ExpandableMenu/ExpandableMenu.stories.d.ts +7 -0
- package/lib/components/ExpandableMenu/index.d.ts +1 -0
- package/lib/components/ExpandableMenu/types.d.ts +34 -0
- package/lib/components/FF_Captcha/Recaptcha.d.ts +5 -0
- package/lib/components/FF_Captcha/captcha.stories.d.ts +8 -0
- package/lib/components/FF_Captcha/types.d.ts +20 -0
- package/lib/components/FileDropzone/Dropzone.d.ts +5 -0
- package/lib/components/FileDropzone/FileDropzone.d.ts +4 -0
- package/lib/components/FileDropzone/FileDropzone.stories.d.ts +8 -0
- package/lib/components/FileDropzone/FilePreview.d.ts +4 -0
- package/lib/components/FileDropzone/index.d.ts +1 -0
- package/lib/components/FileDropzone/types.d.ts +103 -0
- package/lib/components/Form/Form.d.ts +16 -0
- package/lib/components/Form/Form.stories.d.ts +6 -0
- package/lib/components/Form/index.d.ts +1 -0
- package/lib/components/Form/types.d.ts +1 -0
- package/lib/components/GridLayout/GridLayout.d.ts +6 -0
- package/lib/components/GridLayout/GridLayout.stories.d.ts +8 -0
- package/lib/components/GridLayout/index.d.ts +2 -0
- package/lib/components/GridLayout/types.d.ts +74 -0
- package/lib/components/HighlightText/HighlightText.d.ts +4 -0
- package/lib/components/HighlightText/HighlightText.stories.d.ts +6 -0
- package/lib/components/HighlightText/index.d.ts +1 -0
- package/lib/components/HighlightText/types.d.ts +4 -0
- package/lib/components/Icon/Icon.d.ts +4 -0
- package/lib/components/Icon/Icon.stories.d.ts +7 -0
- package/lib/components/Icon/iconList.d.ts +2 -0
- package/lib/components/Icon/index.d.ts +1 -0
- package/lib/components/Icon/types.d.ts +10 -0
- package/lib/components/IconButton/IconButton.d.ts +5 -0
- package/lib/components/IconButton/IconButton.stories.d.ts +7 -0
- package/lib/components/IconButton/index.d.ts +1 -0
- package/lib/components/IconButton/types.d.ts +5 -0
- package/lib/components/IconRadioGroup/IconRadioGroup.d.ts +5 -0
- package/lib/components/IconRadioGroup/IconRadioGroup.stories.d.ts +7 -0
- package/lib/components/IconRadioGroup/index.d.ts +1 -0
- package/lib/components/IconRadioGroup/type.d.ts +41 -0
- package/lib/components/Input/Input.d.ts +4 -0
- package/lib/components/Input/Input.stories.d.ts +9 -0
- package/lib/components/Input/index.d.ts +1 -0
- package/lib/components/Input/types.d.ts +78 -0
- package/lib/components/InputWithDropdown/InputWithDropdown.d.ts +4 -0
- package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +9 -0
- package/lib/components/InputWithDropdown/index.d.ts +1 -0
- package/lib/components/InputWithDropdown/types.d.ts +88 -0
- package/lib/components/LazyLoad/LazyLoad.d.ts +2 -0
- package/lib/components/LazyLoad/LazyLoad.stories.d.ts +6 -0
- package/lib/components/LazyLoad/LazyLoading.d.ts +2 -0
- package/lib/components/LazyLoad/index.d.ts +1 -0
- package/lib/components/MachineInputField/MachineInputField.d.ts +4 -0
- package/lib/components/MachineInputField/MachineInputField.stories.d.ts +6 -0
- package/lib/components/MachineInputField/index.d.ts +1 -0
- package/lib/components/MachineInputField/types.d.ts +11 -0
- package/lib/components/MenuOption/MenuOption.d.ts +4 -0
- package/lib/components/MenuOption/MenuOption.stories.d.ts +16 -0
- package/lib/components/MenuOption/index.d.ts +1 -0
- package/lib/components/MenuOption/types.d.ts +141 -0
- package/lib/components/MiniModal/MiniModal.d.ts +4 -0
- package/lib/components/MiniModal/MiniModal.stories.d.ts +9 -0
- package/lib/components/MiniModal/index.d.ts +1 -0
- package/lib/components/MiniModal/types.d.ts +101 -0
- package/lib/components/Modal/Modal.d.ts +5 -0
- package/lib/components/Modal/Modal.stories.d.ts +7 -0
- package/lib/components/Modal/index.d.ts +1 -0
- package/lib/components/Modal/types.d.ts +29 -0
- package/lib/components/MultiSelect/Dropdown.d.ts +4 -0
- package/lib/components/MultiSelect/MultiSelect.d.ts +4 -0
- package/lib/components/MultiSelect/MultiSelect.stories.d.ts +10 -0
- package/lib/components/MultiSelect/MultiSelectTypes.d.ts +23 -0
- package/lib/components/MultiSelect/dropdownTypes.d.ts +17 -0
- package/lib/components/MultiSelect/index.d.ts +1 -0
- package/lib/components/NLPInput/NlpInput.d.ts +4 -0
- package/lib/components/NLPInput/NlpInput.stories.d.ts +7 -0
- package/lib/components/NLPInput/components/NlpDropDown/NlpDropDownType.d.ts +19 -0
- package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.d.ts +4 -0
- package/lib/components/NLPInput/index.d.ts +1 -0
- package/lib/components/NLPInput/type.d.ts +70 -0
- package/lib/components/Paper/Paper.d.ts +4 -0
- package/lib/components/Paper/Paper.stories.d.ts +11 -0
- package/lib/components/Paper/index.d.ts +1 -0
- package/lib/components/Paper/types.d.ts +15 -0
- package/lib/components/RadioButton/RadioButton.d.ts +4 -0
- package/lib/components/RadioButton/RadioButton.stories.d.ts +10 -0
- package/lib/components/RadioButton/index.d.ts +1 -0
- package/lib/components/RadioButton/radioButtonTypes.d.ts +50 -0
- package/lib/components/RadioGroup/RadioGroup.d.ts +4 -0
- package/lib/components/RadioGroup/RadioGroup.stories.d.ts +9 -0
- package/lib/components/RadioGroup/index.d.ts +1 -0
- package/lib/components/RadioGroup/radioGroupTypes.d.ts +62 -0
- package/lib/components/Search/Search.d.ts +4 -0
- package/lib/components/Search/Search.stories.d.ts +6 -0
- package/lib/components/Search/index.d.ts +1 -0
- package/lib/components/Search/types.d.ts +15 -0
- package/lib/components/Select/Select.d.ts +4 -0
- package/lib/components/Select/Select.stories.d.ts +13 -0
- package/lib/components/Select/components/Dropdown/Dropdown.d.ts +4 -0
- package/lib/components/Select/components/Dropdown/dropdownTypes.d.ts +15 -0
- package/lib/components/Select/index.d.ts +1 -0
- package/lib/components/Select/types.d.ts +76 -0
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.d.ts +4 -0
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +6 -0
- package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.d.ts +4 -0
- package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/types.d.ts +3 -0
- package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +4 -0
- package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +16 -0
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +4 -0
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +9 -0
- package/lib/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.d.ts +4 -0
- package/lib/components/SequentialConnectingBranch/components/DatasetListModal/types.d.ts +3 -0
- package/lib/components/SequentialConnectingBranch/index.d.ts +1 -0
- package/lib/components/SequentialConnectingBranch/types.d.ts +32 -0
- package/lib/components/StateDropdown/StateDropdown.d.ts +3 -0
- package/lib/components/StateDropdown/StateDropdown.stories.d.ts +10 -0
- package/lib/components/StateDropdown/StateDropdownTypes.d.ts +11 -0
- package/lib/components/StateDropdown/index.d.ts +1 -0
- package/lib/components/StatusButton/StatusButton.d.ts +4 -0
- package/lib/components/StatusButton/StatusButton.stories.d.ts +14 -0
- package/lib/components/StatusButton/index.d.ts +1 -0
- package/lib/components/StatusButton/types.d.ts +35 -0
- package/lib/components/Table/Table.d.ts +4 -0
- package/lib/components/Table/Table.stories.d.ts +11 -0
- package/lib/components/Table/Types.d.ts +106 -0
- package/lib/components/Table/index.d.ts +1 -0
- package/lib/components/TableTree/TableTree.d.ts +24 -0
- package/lib/components/TableTree/TableTree.stories.d.ts +7 -0
- package/lib/components/TableTree/data.d.ts +313 -0
- package/lib/components/TableTree/index.d.ts +1 -0
- package/lib/components/Tabs/Tabs.d.ts +5 -0
- package/lib/components/Tabs/Tabs.stories.d.ts +9 -0
- package/lib/components/Tabs/index.d.ts +1 -0
- package/lib/components/Tabs/types.d.ts +45 -0
- package/lib/components/TextArea/Textarea.d.ts +4 -0
- package/lib/components/TextArea/Textarea.stories.d.ts +9 -0
- package/lib/components/TextArea/Types.d.ts +78 -0
- package/lib/components/TextArea/index.d.ts +1 -0
- package/lib/components/ThemeProvider/ThemeProvider.d.ts +7 -0
- package/lib/components/ThemeProvider/index.d.ts +1 -0
- package/lib/components/ThemeProvider/types.d.ts +11 -0
- package/lib/components/Toast/Toast.d.ts +5 -0
- package/lib/components/Toast/Toast.stories.d.ts +6 -0
- package/lib/components/Toast/index.d.ts +1 -0
- package/lib/components/Toast/types.d.ts +20 -0
- package/lib/components/Toggle/Toggle.d.ts +5 -0
- package/lib/components/Toggle/Toggle.stories.d.ts +12 -0
- package/lib/components/Toggle/index.d.ts +1 -0
- package/lib/components/Toggle/types.d.ts +50 -0
- package/lib/components/Tooltip/Tooltip.d.ts +5 -0
- package/lib/components/Tooltip/Tooltip.stories.d.ts +15 -0
- package/lib/components/Tooltip/index.d.ts +1 -0
- package/lib/components/Tooltip/types.d.ts +37 -0
- package/lib/components/Typography/Typography.d.ts +5 -0
- package/lib/components/Typography/Typography.stories.d.ts +10 -0
- package/lib/components/Typography/index.d.ts +1 -0
- package/lib/components/Typography/types.d.ts +47 -0
- package/lib/components/VariableInput/VariableInput.d.ts +4 -0
- package/lib/components/VariableInput/VariableInput.stories.d.ts +6 -0
- package/lib/components/VariableInput/index.d.ts +1 -0
- package/lib/components/VariableInput/types.d.ts +53 -0
- package/lib/hooks/keyboardevents/useEscKeyEvent.d.ts +2 -0
- package/lib/hooks/useClickOutside.d.ts +2 -0
- package/lib/hooks/useFileDropzone.d.ts +3 -0
- package/lib/hooks/usePortalPosition.d.ts +9 -0
- package/lib/hooks/useTheme.d.ts +3 -0
- package/lib/index.d.ts +1864 -0
- package/lib/index.esm.js +55755 -0
- package/lib/index.esm.js.map +1 -0
- package/lib/index.js +55840 -0
- package/lib/index.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/lib/utils/TableCell/TableCell.d.ts +1 -0
- package/lib/utils/checkEmpty/checkEmpty.d.ts +3 -0
- package/lib/utils/checkEmpty/checkEmpty.stories.d.ts +6 -0
- package/lib/utils/compareArrays/compareArrays.d.ts +11 -0
- package/lib/utils/compareArrays/compareArrays.stories.d.ts +6 -0
- package/lib/utils/compareObjects/compareObjects.d.ts +2 -0
- package/lib/utils/compareObjects/compareObjects.stories.d.ts +6 -0
- package/lib/utils/debounce/debounce.d.ts +6 -0
- package/lib/utils/debounce/debounce.stories.d.ts +6 -0
- package/lib/utils/ffID/ffID.stories.d.ts +6 -0
- package/lib/utils/ffID/ffid.d.ts +1 -0
- package/lib/utils/findAndInsert/findAndInsert.d.ts +7 -0
- package/lib/utils/findAndInsert/findAndInsert.stories.d.ts +7 -0
- package/lib/utils/getEncryptedData/getEncryptedData.d.ts +1 -0
- package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +6 -0
- package/lib/utils/getExtension/getExtension.d.ts +4 -0
- package/lib/utils/getExtension/getExtension.stories.d.ts +6 -0
- package/lib/utils/throttle/throttle.d.ts +6 -0
- package/lib/utils/throttle/throttle.stories.d.ts +6 -0
- package/lib/utils/truncateText/truncateText.d.ts +1 -0
- package/lib/utils/truncateText/truncateText.stories.d.ts +6 -0
- package/package.json +75 -0
- package/rollup.config.mjs +63 -0
- package/src/StyleGuide/ColorPalette/ColorPalette.scss +62 -0
- package/src/StyleGuide/ColorPalette/ColorPalette.stories.tsx +16 -0
- package/src/StyleGuide/ColorPalette/ColorPalette.tsx +68 -0
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +172 -0
- package/src/StyleGuide/ColorPalette/index.ts +1 -0
- package/src/StyleGuide/ColorPalette/types.ts +19 -0
- package/src/StyleGuide/Typography/Typography.scss +99 -0
- package/src/StyleGuide/Typography/Typography.stories.tsx +16 -0
- package/src/StyleGuide/Typography/Typography.tsx +60 -0
- package/src/StyleGuide/Typography/TypographyList.ts +3 -0
- package/src/StyleGuide/Typography/types.ts +9 -0
- package/src/assets/Themes/BaseTheme.scss +207 -0
- package/src/assets/Themes/DarkTheme.scss +207 -0
- package/src/assets/Themes/Theme.scss +16 -0
- package/src/assets/icons/Arrow.svg +5 -0
- package/src/assets/icons/accordion_header_icon.svg +10 -0
- package/src/assets/icons/active_license_icon.svg +3 -0
- package/src/assets/icons/add_file.svg +14 -0
- package/src/assets/icons/add_locator.svg +5 -0
- package/src/assets/icons/add_variable_icon.svg +5 -0
- package/src/assets/icons/all_borders.svg +3 -0
- package/src/assets/icons/all_projects.svg +3 -0
- package/src/assets/icons/android.svg +9 -0
- package/src/assets/icons/android_icon.svg +6 -0
- package/src/assets/icons/app_switch.svg +11 -0
- package/src/assets/icons/arrow_down.svg +3 -0
- package/src/assets/icons/arrow_right.svg +5 -0
- package/src/assets/icons/arrow_up.svg +3 -0
- package/src/assets/icons/arrows_down_icon.svg +3 -0
- package/src/assets/icons/arrows_right_icon.svg +10 -0
- package/src/assets/icons/arrows_top_icon.svg +3 -0
- package/src/assets/icons/backward_icon.svg +3 -0
- package/src/assets/icons/bold.svg +3 -0
- package/src/assets/icons/border_bottom.svg +3 -0
- package/src/assets/icons/border_left.svg +3 -0
- package/src/assets/icons/border_right.svg +3 -0
- package/src/assets/icons/border_top.svg +3 -0
- package/src/assets/icons/browser_stack.svg +9 -0
- package/src/assets/icons/calendar_icon.svg +9 -0
- package/src/assets/icons/check_mark.svg +3 -0
- package/src/assets/icons/chrome.svg +12 -0
- package/src/assets/icons/clock_icon.svg +11 -0
- package/src/assets/icons/clone_icon.svg +3 -0
- package/src/assets/icons/close_pill.svg +3 -0
- package/src/assets/icons/cloud_server_host_icon.svg +3 -0
- package/src/assets/icons/collapse-icon.svg +6 -0
- package/src/assets/icons/continue_without_sign.svg +3 -0
- package/src/assets/icons/copy-icon.svg +3 -0
- package/src/assets/icons/dataset_list.svg +3 -0
- package/src/assets/icons/delete.svg +3 -0
- package/src/assets/icons/delete_info.svg +17 -0
- package/src/assets/icons/details.svg +3 -0
- package/src/assets/icons/double_underline.svg +5 -0
- package/src/assets/icons/download-icon.svg +3 -0
- package/src/assets/icons/download_icon.svg +4 -0
- package/src/assets/icons/drag_icon.svg +5 -0
- package/src/assets/icons/dropzone_icon.svg +18 -0
- package/src/assets/icons/edit_icon.svg +5 -0
- package/src/assets/icons/error.svg +17 -0
- package/src/assets/icons/expand-icon.svg +6 -0
- package/src/assets/icons/export_collection_icon.svg +13 -0
- package/src/assets/icons/file.svg +12 -0
- package/src/assets/icons/fill_color.svg +7 -0
- package/src/assets/icons/filter.svg +5 -0
- package/src/assets/icons/fireflink_icon.svg +4 -0
- package/src/assets/icons/fireflink_logo.svg +13 -0
- package/src/assets/icons/formate_painter.svg +5 -0
- package/src/assets/icons/forward_icon.svg +3 -0
- package/src/assets/icons/full_access_icon.svg +4 -0
- package/src/assets/icons/hamburger_menu.svg +3 -0
- package/src/assets/icons/hide_icon.svg +9 -0
- package/src/assets/icons/history_icon.svg +19 -0
- package/src/assets/icons/impactList.svg +6 -0
- package/src/assets/icons/info.svg +17 -0
- package/src/assets/icons/info_icon.svg +4 -0
- package/src/assets/icons/italic.svg +3 -0
- package/src/assets/icons/jira.svg +3 -0
- package/src/assets/icons/label_plus.svg +3 -0
- package/src/assets/icons/left_arrow_icon.svg +3 -0
- package/src/assets/icons/license_info.svg +28 -0
- package/src/assets/icons/license_warning.svg +10 -0
- package/src/assets/icons/linked_defects.svg +11 -0
- package/src/assets/icons/logo.svg +18 -0
- package/src/assets/icons/mac.svg +9 -0
- package/src/assets/icons/manage_apps.svg +3 -0
- package/src/assets/icons/manual_locator.svg +8 -0
- package/src/assets/icons/mobile_icon.svg +3 -0
- package/src/assets/icons/moon_stars.svg +10 -0
- package/src/assets/icons/more.svg +11 -0
- package/src/assets/icons/move_icon.svg +5 -0
- package/src/assets/icons/ms_dynamic.svg +4 -0
- package/src/assets/icons/nlp_help_icon.svg +3 -0
- package/src/assets/icons/no_access_icon.svg +4 -0
- package/src/assets/icons/no_border.svg +3 -0
- package/src/assets/icons/notification_icon.svg +3 -0
- package/src/assets/icons/plus_icon.svg +11 -0
- package/src/assets/icons/plus_user_icon.svg +3 -0
- package/src/assets/icons/refresh-icon.svg +4 -0
- package/src/assets/icons/reload.svg +3 -0
- package/src/assets/icons/remove.svg +12 -0
- package/src/assets/icons/replace.svg +12 -0
- package/src/assets/icons/right_arrow_icon.svg +4 -0
- package/src/assets/icons/run_icon.svg +26 -0
- package/src/assets/icons/sales_force.svg +7 -0
- package/src/assets/icons/search.svg +3 -0
- package/src/assets/icons/strike_through.svg +3 -0
- package/src/assets/icons/success.svg +13 -0
- package/src/assets/icons/sun_icon.svg +10 -0
- package/src/assets/icons/switch_license_icon.svg +123 -0
- package/src/assets/icons/text_align_center.svg +3 -0
- package/src/assets/icons/text_align_left.svg +3 -0
- package/src/assets/icons/text_align_right.svg +3 -0
- package/src/assets/icons/text_color.svg +3 -0
- package/src/assets/icons/tick_icon.svg +5 -0
- package/src/assets/icons/toast_close.svg +3 -0
- package/src/assets/icons/underline.svg +4 -0
- package/src/assets/icons/update_icon.svg +3 -0
- package/src/assets/icons/user_profile.svg +3 -0
- package/src/assets/icons/vertical_separator.svg +3 -0
- package/src/assets/icons/view_access_icon.svg +4 -0
- package/src/assets/icons/view_icon.svg +3 -0
- package/src/assets/icons/warning.svg +17 -0
- package/src/assets/icons/web&mobile_icon.svg +3 -0
- package/src/assets/icons/web_icon.svg +3 -0
- package/src/assets/icons/window_maximize.svg +4 -0
- package/src/assets/icons/window_minimize.svg +3 -0
- package/src/assets/icons/windows.svg +6 -0
- package/src/assets/icons/wrong_mark.svg +3 -0
- package/src/assets/icons/wswb_delete_icon.svg +4 -0
- package/src/assets/icons/wswb_plus_icon.svg +5 -0
- package/src/assets/styles/_colors.scss +148 -0
- package/src/assets/styles/_fonts.scss +68 -0
- package/src/assets/styles/_mixins.scss +21 -0
- package/src/assets/utils/functionUtils.ts +42 -0
- package/src/components/Accordion/Accordion.scss +44 -0
- package/src/components/Accordion/Accordion.stories.tsx +31 -0
- package/src/components/Accordion/Accordion.tsx +62 -0
- package/src/components/Accordion/index.ts +1 -0
- package/src/components/Accordion/types.ts +28 -0
- package/src/components/AddResourceButton/AddButton.scss +36 -0
- package/src/components/AddResourceButton/AddButton.stories.tsx +126 -0
- package/src/components/AddResourceButton/AddButton.tsx +121 -0
- package/src/components/AddResourceButton/ArrowsButton/ArrowsButton.scss +160 -0
- package/src/components/AddResourceButton/ArrowsButton/ArrowsButton.tsx +38 -0
- package/src/components/AddResourceButton/index.ts +1 -0
- package/src/components/AddResourceButton/type.ts +92 -0
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.scss +70 -0
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.stories.tsx +119 -0
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.tsx +122 -0
- package/src/components/AllProjectsDropdown/index.ts +1 -0
- package/src/components/AllProjectsDropdown/types.ts +10 -0
- package/src/components/AppHeader/AppHeader.scss +129 -0
- package/src/components/AppHeader/AppHeader.stories.tsx +167 -0
- package/src/components/AppHeader/AppHeader.tsx +133 -0
- package/src/components/AppHeader/index.ts +1 -0
- package/src/components/AppHeader/types.ts +31 -0
- package/src/components/AttachmentButton/AttachmentButton.scss +9 -0
- package/src/components/AttachmentButton/AttachmentButton.stories.tsx +76 -0
- package/src/components/AttachmentButton/AttachmentButton.tsx +113 -0
- package/src/components/AttachmentButton/index.ts +1 -0
- package/src/components/AttachmentButton/types.ts +8 -0
- package/src/components/Button/Button.scss +152 -0
- package/src/components/Button/Button.stories.tsx +81 -0
- package/src/components/Button/Button.tsx +66 -0
- package/src/components/Button/index.ts +1 -0
- package/src/components/Button/types.ts +65 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +145 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +52 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +335 -0
- package/src/components/Charts/DashboardDonutChart/index.ts +1 -0
- package/src/components/Charts/DashboardDonutChart/types.ts +33 -0
- package/src/components/Charts/DonutChart/DonutChart.scss +76 -0
- package/src/components/Charts/DonutChart/DonutChart.stories.tsx +30 -0
- package/src/components/Charts/DonutChart/DonutChart.tsx +241 -0
- package/src/components/Charts/DonutChart/index.ts +1 -0
- package/src/components/Charts/DonutChart/type.ts +23 -0
- package/src/components/Charts/PieChart/PieChart.scss +39 -0
- package/src/components/Charts/PieChart/PieChart.stories.tsx +46 -0
- package/src/components/Charts/PieChart/PieChart.tsx +193 -0
- package/src/components/Charts/PieChart/index.ts +1 -0
- package/src/components/Charts/PieChart/types.ts +28 -0
- package/src/components/Charts/RadialChart/RadialChart.scss +12 -0
- package/src/components/Charts/RadialChart/RadialChart.stories.tsx +36 -0
- package/src/components/Charts/RadialChart/RadialChart.tsx +174 -0
- package/src/components/Charts/RadialChart/index.ts +1 -0
- package/src/components/Charts/RadialChart/types.ts +32 -0
- package/src/components/Checkbox/Checkbox.scss +89 -0
- package/src/components/Checkbox/Checkbox.stories.tsx +47 -0
- package/src/components/Checkbox/Checkbox.tsx +61 -0
- package/src/components/Checkbox/index.ts +1 -0
- package/src/components/Checkbox/types.ts +30 -0
- package/src/components/Chip/Chip.scss +71 -0
- package/src/components/Chip/Chip.stories.tsx +88 -0
- package/src/components/Chip/Chip.tsx +35 -0
- package/src/components/Chip/index.ts +1 -0
- package/src/components/Chip/types.ts +19 -0
- package/src/components/DatePicker/DatePicker.scss +387 -0
- package/src/components/DatePicker/DatePicker.stories.tsx +161 -0
- package/src/components/DatePicker/DatePicker.tsx +438 -0
- package/src/components/DatePicker/Timepicker.tsx +372 -0
- package/src/components/DatePicker/index.ts +1 -0
- package/src/components/DatePicker/types.ts +100 -0
- package/src/components/DragAndDrop/DragAndDrop.d.ts +5 -0
- package/src/components/DragAndDrop/DragAndDrop.stories.tsx +25 -0
- package/src/components/DragAndDrop/DragAndDrop.ts +7 -0
- package/src/components/DragAndDrop/DragAndDropList.scss +69 -0
- package/src/components/DragAndDrop/DragAndDropList.tsx +150 -0
- package/src/components/DragAndDrop/index.ts +1 -0
- package/src/components/Drawer/Drawer.scss +129 -0
- package/src/components/Drawer/Drawer.stories.tsx +129 -0
- package/src/components/Drawer/Drawer.tsx +198 -0
- package/src/components/Drawer/Types.ts +112 -0
- package/src/components/Drawer/index.ts +1 -0
- package/src/components/ExcelFile/ChangeExcelStyles.tsx +66 -0
- package/src/components/ExcelFile/ColorBarSelector/ColorBarSelector.scss +13 -0
- package/src/components/ExcelFile/ColorBarSelector/ColorBarSelector.tsx +43 -0
- package/src/components/ExcelFile/ContextMenu/ContextMenu.scss +102 -0
- package/src/components/ExcelFile/ContextMenu/ContextMenu.tsx +104 -0
- package/src/components/ExcelFile/ExcelFile/Excel/ActiveCell.tsx +131 -0
- package/src/components/ExcelFile/ExcelFile/Excel/Cell.tsx +201 -0
- package/src/components/ExcelFile/ExcelFile/Excel/ColumnIndicator.tsx +123 -0
- package/src/components/ExcelFile/ExcelFile/Excel/Copied.tsx +25 -0
- package/src/components/ExcelFile/ExcelFile/Excel/CornerIndicator.tsx +49 -0
- package/src/components/ExcelFile/ExcelFile/Excel/DataEditor.tsx +37 -0
- package/src/components/ExcelFile/ExcelFile/Excel/DataViewer.tsx +46 -0
- package/src/components/ExcelFile/ExcelFile/Excel/FloatingRect.tsx +31 -0
- package/src/components/ExcelFile/ExcelFile/Excel/HeaderRow.tsx +5 -0
- package/src/components/ExcelFile/ExcelFile/Excel/Row.tsx +5 -0
- package/src/components/ExcelFile/ExcelFile/Excel/RowIndicator.tsx +102 -0
- package/src/components/ExcelFile/ExcelFile/Excel/Selected.tsx +32 -0
- package/src/components/ExcelFile/ExcelFile/Excel/Spreadsheet.css +144 -0
- package/src/components/ExcelFile/ExcelFile/Excel/Spreadsheet.tsx +494 -0
- package/src/components/ExcelFile/ExcelFile/Excel/Table.tsx +19 -0
- package/src/components/ExcelFile/ExcelFile/Excel/actions.ts +302 -0
- package/src/components/ExcelFile/ExcelFile/Excel/areModelsEqual.ts +18 -0
- package/src/components/ExcelFile/ExcelFile/Excel/context.ts +12 -0
- package/src/components/ExcelFile/ExcelFile/Excel/engine/engine.ts +200 -0
- package/src/components/ExcelFile/ExcelFile/Excel/engine/formula.ts +137 -0
- package/src/components/ExcelFile/ExcelFile/Excel/engine/index.ts +2 -0
- package/src/components/ExcelFile/ExcelFile/Excel/engine/point-graph.ts +154 -0
- package/src/components/ExcelFile/ExcelFile/Excel/engine/point-hash.ts +10 -0
- package/src/components/ExcelFile/ExcelFile/Excel/engine/point-set.ts +69 -0
- package/src/components/ExcelFile/ExcelFile/Excel/index.ts +48 -0
- package/src/components/ExcelFile/ExcelFile/Excel/matrix.ts +388 -0
- package/src/components/ExcelFile/ExcelFile/Excel/point-range.ts +82 -0
- package/src/components/ExcelFile/ExcelFile/Excel/point.ts +15 -0
- package/src/components/ExcelFile/ExcelFile/Excel/reducer.ts +682 -0
- package/src/components/ExcelFile/ExcelFile/Excel/selection.ts +257 -0
- package/src/components/ExcelFile/ExcelFile/Excel/types.ts +217 -0
- package/src/components/ExcelFile/ExcelFile/Excel/typings/fast-formula-parser.d.ts +58 -0
- package/src/components/ExcelFile/ExcelFile/Excel/use-dispatch.ts +8 -0
- package/src/components/ExcelFile/ExcelFile/Excel/use-selector.ts +9 -0
- package/src/components/ExcelFile/ExcelFile/Excel/util.ts +173 -0
- package/src/components/ExcelFile/ExcelFile/ExcelFile.scss +27 -0
- package/src/components/ExcelFile/ExcelFile/ExcelFile.tsx +501 -0
- package/src/components/ExcelFile/ExcelFile.stories.tsx +112 -0
- package/src/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.scss +16 -0
- package/src/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.tsx +79 -0
- package/src/components/ExcelFile/ExcelToolBar/ExcelToolBar.scss +22 -0
- package/src/components/ExcelFile/ExcelToolBar/ExcelToolBar.tsx +271 -0
- package/src/components/ExcelFile/Types.ts +185 -0
- package/src/components/ExcelFile/index.ts +1 -0
- package/src/components/ExpandableMenu/ExpandableMenu.scss +110 -0
- package/src/components/ExpandableMenu/ExpandableMenu.stories.tsx +67 -0
- package/src/components/ExpandableMenu/ExpandableMenu.tsx +101 -0
- package/src/components/ExpandableMenu/index.ts +1 -0
- package/src/components/ExpandableMenu/types.ts +34 -0
- package/src/components/FF_Captcha/Recaptcha.scss +11 -0
- package/src/components/FF_Captcha/Recaptcha.tsx +41 -0
- package/src/components/FF_Captcha/captcha.stories.tsx +40 -0
- package/src/components/FF_Captcha/index.ts +0 -0
- package/src/components/FF_Captcha/types.ts +22 -0
- package/src/components/FileDropzone/Dropzone.tsx +55 -0
- package/src/components/FileDropzone/FileDropzone.scss +134 -0
- package/src/components/FileDropzone/FileDropzone.stories.tsx +83 -0
- package/src/components/FileDropzone/FileDropzone.tsx +98 -0
- package/src/components/FileDropzone/FilePreview.tsx +75 -0
- package/src/components/FileDropzone/index.ts +1 -0
- package/src/components/FileDropzone/types.ts +113 -0
- package/src/components/Form/Form.scss +98 -0
- package/src/components/Form/Form.stories.tsx +177 -0
- package/src/components/Form/Form.tsx +57 -0
- package/src/components/Form/index.ts +1 -0
- package/src/components/Form/types.ts +1 -0
- package/src/components/Form/validation.json +29 -0
- package/src/components/GridLayout/GridLayout.scss +69 -0
- package/src/components/GridLayout/GridLayout.stories.tsx +90 -0
- package/src/components/GridLayout/GridLayout.tsx +39 -0
- package/src/components/GridLayout/GridLayoutStory.scss +25 -0
- package/src/components/GridLayout/index.ts +1 -0
- package/src/components/GridLayout/types.ts +84 -0
- package/src/components/HighlightText/HighlightText.scss +3 -0
- package/src/components/HighlightText/HighlightText.stories.tsx +22 -0
- package/src/components/HighlightText/HighlightText.tsx +33 -0
- package/src/components/HighlightText/index.ts +1 -0
- package/src/components/HighlightText/types.ts +4 -0
- package/src/components/Icon/Icon.stories.tsx +37 -0
- package/src/components/Icon/Icon.tsx +49 -0
- package/src/components/Icon/Icons.scss +32 -0
- package/src/components/Icon/iconList.ts +240 -0
- package/src/components/Icon/index.ts +1 -0
- package/src/components/Icon/types.ts +10 -0
- package/src/components/IconButton/IconButton.scss +54 -0
- package/src/components/IconButton/IconButton.stories.tsx +33 -0
- package/src/components/IconButton/IconButton.tsx +30 -0
- package/src/components/IconButton/index.ts +1 -0
- package/src/components/IconButton/types.ts +5 -0
- package/src/components/IconRadioGroup/IconRadioGroup.scss +60 -0
- package/src/components/IconRadioGroup/IconRadioGroup.stories.tsx +108 -0
- package/src/components/IconRadioGroup/IconRadioGroup.tsx +72 -0
- package/src/components/IconRadioGroup/index.ts +1 -0
- package/src/components/IconRadioGroup/type.ts +50 -0
- package/src/components/Input/Input.scss +155 -0
- package/src/components/Input/Input.stories.tsx +96 -0
- package/src/components/Input/Input.tsx +97 -0
- package/src/components/Input/index.ts +1 -0
- package/src/components/Input/types.ts +81 -0
- package/src/components/InputWithDropdown/InputWithDropdown.scss +185 -0
- package/src/components/InputWithDropdown/InputWithDropdown.stories.tsx +168 -0
- package/src/components/InputWithDropdown/InputWithDropdown.tsx +90 -0
- package/src/components/InputWithDropdown/index.ts +1 -0
- package/src/components/InputWithDropdown/types.ts +109 -0
- package/src/components/LazyLoad/LazyLoad.d.ts +3 -0
- package/src/components/LazyLoad/LazyLoad.stories.tsx +33 -0
- package/src/components/LazyLoad/LazyLoad.ts +2 -0
- package/src/components/LazyLoad/LazyLoading.tsx +19 -0
- package/src/components/LazyLoad/index.ts +1 -0
- package/src/components/MachineInputField/MachineInputField.scss +44 -0
- package/src/components/MachineInputField/MachineInputField.stories.tsx +32 -0
- package/src/components/MachineInputField/MachineInputField.tsx +71 -0
- package/src/components/MachineInputField/index.ts +1 -0
- package/src/components/MachineInputField/types.ts +12 -0
- package/src/components/MenuOption/MenuOption.scss +83 -0
- package/src/components/MenuOption/MenuOption.stories.tsx +280 -0
- package/src/components/MenuOption/MenuOption.tsx +128 -0
- package/src/components/MenuOption/index.ts +1 -0
- package/src/components/MenuOption/types.ts +170 -0
- package/src/components/MiniModal/MiniModal.scss +170 -0
- package/src/components/MiniModal/MiniModal.stories.tsx +599 -0
- package/src/components/MiniModal/MiniModal.tsx +262 -0
- package/src/components/MiniModal/index.ts +1 -0
- package/src/components/MiniModal/types.ts +101 -0
- package/src/components/Modal/Modal.stories.tsx +67 -0
- package/src/components/Modal/Modal.tsx +77 -0
- package/src/components/Modal/index.tsx +1 -0
- package/src/components/Modal/modal.scss +39 -0
- package/src/components/Modal/types.ts +40 -0
- package/src/components/MultiSelect/Dropdown.scss +77 -0
- package/src/components/MultiSelect/Dropdown.tsx +100 -0
- package/src/components/MultiSelect/MultiSelect.scss +197 -0
- package/src/components/MultiSelect/MultiSelect.stories.tsx +114 -0
- package/src/components/MultiSelect/MultiSelect.tsx +332 -0
- package/src/components/MultiSelect/MultiSelectTypes.ts +24 -0
- package/src/components/MultiSelect/dropdownTypes.ts +17 -0
- package/src/components/MultiSelect/index.ts +1 -0
- package/src/components/NLPInput/NLPInput.scss +246 -0
- package/src/components/NLPInput/NlpInput.stories.tsx +136 -0
- package/src/components/NLPInput/NlpInput.tsx +374 -0
- package/src/components/NLPInput/components/NlpDropDown/NlpDropDownType.ts +60 -0
- package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +83 -0
- package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.tsx +180 -0
- package/src/components/NLPInput/index.ts +1 -0
- package/src/components/NLPInput/type.tsx +124 -0
- package/src/components/Paper/Paper.scss +13 -0
- package/src/components/Paper/Paper.stories.tsx +77 -0
- package/src/components/Paper/Paper.tsx +14 -0
- package/src/components/Paper/index.ts +1 -0
- package/src/components/Paper/types.ts +19 -0
- package/src/components/RadioButton/RadioButton.scss +104 -0
- package/src/components/RadioButton/RadioButton.stories.tsx +43 -0
- package/src/components/RadioButton/RadioButton.tsx +39 -0
- package/src/components/RadioButton/index.ts +1 -0
- package/src/components/RadioButton/radioButtonTypes.tsx +58 -0
- package/src/components/RadioGroup/RadioGroup.scss +5 -0
- package/src/components/RadioGroup/RadioGroup.stories.tsx +122 -0
- package/src/components/RadioGroup/RadioGroup.tsx +33 -0
- package/src/components/RadioGroup/index.ts +1 -0
- package/src/components/RadioGroup/radioGroupTypes.tsx +72 -0
- package/src/components/Search/Search.scss +85 -0
- package/src/components/Search/Search.stories.tsx +26 -0
- package/src/components/Search/Search.tsx +103 -0
- package/src/components/Search/index.ts +1 -0
- package/src/components/Search/types.ts +15 -0
- package/src/components/Select/Select.scss +246 -0
- package/src/components/Select/Select.stories.tsx +156 -0
- package/src/components/Select/Select.tsx +373 -0
- package/src/components/Select/components/Dropdown/Dropdown.scss +70 -0
- package/src/components/Select/components/Dropdown/Dropdown.tsx +93 -0
- package/src/components/Select/components/Dropdown/dropdownTypes.ts +19 -0
- package/src/components/Select/index.ts +1 -0
- package/src/components/Select/types.ts +131 -0
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.scss +117 -0
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.tsx +62 -0
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +210 -0
- package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.scss +51 -0
- package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.tsx +107 -0
- package/src/components/SequentialConnectingBranch/components/AddBrowserModal/types.ts +5 -0
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.scss +184 -0
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +203 -0
- package/src/components/SequentialConnectingBranch/components/Branches/types.ts +18 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.scss +3 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +66 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +10 -0
- package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.scss +31 -0
- package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.tsx +85 -0
- package/src/components/SequentialConnectingBranch/components/DatasetListModal/types.ts +4 -0
- package/src/components/SequentialConnectingBranch/index.ts +1 -0
- package/src/components/SequentialConnectingBranch/types.ts +42 -0
- package/src/components/StateDropdown/StateDropdown.stories.tsx +99 -0
- package/src/components/StateDropdown/StateDropdown.tsx +218 -0
- package/src/components/StateDropdown/StateDropdownTypes.tsx +21 -0
- package/src/components/StateDropdown/index.ts +1 -0
- package/src/components/StatusButton/StatusButton.scss +90 -0
- package/src/components/StatusButton/StatusButton.stories.tsx +91 -0
- package/src/components/StatusButton/StatusButton.tsx +40 -0
- package/src/components/StatusButton/index.ts +1 -0
- package/src/components/StatusButton/types.ts +45 -0
- package/src/components/Table/Table.scss +107 -0
- package/src/components/Table/Table.stories.tsx +357 -0
- package/src/components/Table/Table.tsx +154 -0
- package/src/components/Table/Types.ts +108 -0
- package/src/components/Table/index.ts +1 -0
- package/src/components/TableTree/TableTree.scss +158 -0
- package/src/components/TableTree/TableTree.stories.tsx +86 -0
- package/src/components/TableTree/TableTree.tsx +255 -0
- package/src/components/TableTree/TableTreeStories.scss +22 -0
- package/src/components/TableTree/data.ts +573 -0
- package/src/components/TableTree/index.ts +1 -0
- package/src/components/Tabs/Tabs.scss +79 -0
- package/src/components/Tabs/Tabs.stories.tsx +134 -0
- package/src/components/Tabs/Tabs.tsx +62 -0
- package/src/components/Tabs/index.ts +1 -0
- package/src/components/Tabs/types.ts +48 -0
- package/src/components/TextArea/Textarea.scss +144 -0
- package/src/components/TextArea/Textarea.stories.tsx +92 -0
- package/src/components/TextArea/Textarea.tsx +84 -0
- package/src/components/TextArea/Types.ts +82 -0
- package/src/components/TextArea/index.tsx +1 -0
- package/src/components/ThemeProvider/ThemeProvider.tsx +27 -0
- package/src/components/ThemeProvider/index.ts +1 -0
- package/src/components/ThemeProvider/types.ts +14 -0
- package/src/components/Toast/Toast.scss +121 -0
- package/src/components/Toast/Toast.stories.tsx +180 -0
- package/src/components/Toast/Toast.tsx +116 -0
- package/src/components/Toast/index.ts +1 -0
- package/src/components/Toast/types.ts +27 -0
- package/src/components/Toggle/Toggle.scss +133 -0
- package/src/components/Toggle/Toggle.stories.tsx +132 -0
- package/src/components/Toggle/Toggle.tsx +96 -0
- package/src/components/Toggle/index.ts +1 -0
- package/src/components/Toggle/types.ts +43 -0
- package/src/components/Tooltip/Tooltip.scss +26 -0
- package/src/components/Tooltip/Tooltip.stories.tsx +97 -0
- package/src/components/Tooltip/Tooltip.tsx +194 -0
- package/src/components/Tooltip/index.ts +1 -0
- package/src/components/Tooltip/types.ts +60 -0
- package/src/components/Typography/Typography.scss +49 -0
- package/src/components/Typography/Typography.stories.tsx +57 -0
- package/src/components/Typography/Typography.tsx +39 -0
- package/src/components/Typography/index.ts +1 -0
- package/src/components/Typography/types.ts +56 -0
- package/src/components/VariableInput/VariableInput.scss +128 -0
- package/src/components/VariableInput/VariableInput.stories.tsx +32 -0
- package/src/components/VariableInput/VariableInput.tsx +352 -0
- package/src/components/VariableInput/index.ts +1 -0
- package/src/components/VariableInput/types.ts +56 -0
- package/src/fonts/Montserrat/Montserrat-Medium.ttf +0 -0
- package/src/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
- package/src/fonts/Montserrat/Montserrat-SemiBold.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Black.ttf +0 -0
- package/src/fonts/Poppins/Poppins-BlackItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Bold.ttf +0 -0
- package/src/fonts/Poppins/Poppins-BoldItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ExtraBold.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ExtraBoldItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ExtraLight.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ExtraLightItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Italic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Light.ttf +0 -0
- package/src/fonts/Poppins/Poppins-LightItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Medium.ttf +0 -0
- package/src/fonts/Poppins/Poppins-MediumItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Regular.ttf +0 -0
- package/src/fonts/Poppins/Poppins-SemiBold.ttf +0 -0
- package/src/fonts/Poppins/Poppins-SemiBoldItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Thin.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ThinItalic.ttf +0 -0
- package/src/hooks/keyboardevents/useEscKeyEvent.tsx +31 -0
- package/src/hooks/useClickOutside.tsx +30 -0
- package/src/hooks/useFileDropzone.tsx +273 -0
- package/src/hooks/usePortalPosition.tsx +53 -0
- package/src/hooks/useTheme.tsx +13 -0
- package/src/index.ts +139 -0
- package/src/utils/TableCell/TableCell.ts +16 -0
- package/src/utils/checkEmpty/checkEmpty.stories.tsx +34 -0
- package/src/utils/checkEmpty/checkEmpty.ts +24 -0
- package/src/utils/compareArrays/compareArrays.stories.tsx +62 -0
- package/src/utils/compareArrays/compareArrays.ts +31 -0
- package/src/utils/compareObjects/compareObjects.stories.tsx +51 -0
- package/src/utils/compareObjects/compareObjects.ts +53 -0
- package/src/utils/debounce/debounce.stories.tsx +81 -0
- package/src/utils/debounce/debounce.ts +28 -0
- package/src/utils/ffID/ffID.stories.tsx +35 -0
- package/src/utils/ffID/ffid.ts +7 -0
- package/src/utils/findAndInsert/findAndInsert.stories.tsx +119 -0
- package/src/utils/findAndInsert/findAndInsert.ts +49 -0
- package/src/utils/getEncryptedData/getEncryptedData.stories.tsx +55 -0
- package/src/utils/getEncryptedData/getEncryptedData.ts +8 -0
- package/src/utils/getExtension/getExtension.stories.tsx +23 -0
- package/src/utils/getExtension/getExtension.ts +28 -0
- package/src/utils/throttle/throttle.stories.tsx +100 -0
- package/src/utils/throttle/throttle.ts +33 -0
- package/src/utils/truncateText/truncateText.stories.tsx +37 -0
- package/src/utils/truncateText/truncateText.ts +4 -0
- package/tsconfig.json +55 -0
- package/vite.config.js +14 -0
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,1864 @@
|
|
|
1
|
+
import * as LazyLoad from 'react-window';
|
|
2
|
+
export { LazyLoad };
|
|
3
|
+
import * as React$1 from 'react';
|
|
4
|
+
import React__default, { ReactNode, FC, RefObject, ComponentProps } from 'react';
|
|
5
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
+
import { FieldValues, UseFormProps, SubmitHandler, FieldPath, FieldErrors } from 'react-hook-form';
|
|
7
|
+
import * as DNDCore from '@dnd-kit/core';
|
|
8
|
+
import * as DNDSortable from '@dnd-kit/sortable';
|
|
9
|
+
import * as DNDUtilities from '@dnd-kit/utilities';
|
|
10
|
+
import ReCAPTCHA from 'react-google-recaptcha';
|
|
11
|
+
|
|
12
|
+
interface ButtonProps$1 {
|
|
13
|
+
/**
|
|
14
|
+
* Variant of the button
|
|
15
|
+
*/
|
|
16
|
+
variant: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning';
|
|
17
|
+
/**
|
|
18
|
+
* What background color to use
|
|
19
|
+
*/
|
|
20
|
+
backgroundColor?: string;
|
|
21
|
+
/**
|
|
22
|
+
* How large should the button be?
|
|
23
|
+
*/
|
|
24
|
+
size?: 'small' | 'medium' | 'large';
|
|
25
|
+
/**
|
|
26
|
+
* Button contents
|
|
27
|
+
*/
|
|
28
|
+
label?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Type of the button
|
|
31
|
+
*/
|
|
32
|
+
type?: 'button' | 'submit';
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Optional click handler
|
|
36
|
+
*/
|
|
37
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
38
|
+
/**
|
|
39
|
+
* Button content
|
|
40
|
+
*/
|
|
41
|
+
children?: ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* Button id
|
|
44
|
+
*/
|
|
45
|
+
id?: string;
|
|
46
|
+
/**
|
|
47
|
+
* onSubmit function handler
|
|
48
|
+
*/
|
|
49
|
+
onSubmit?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
50
|
+
/**
|
|
51
|
+
* react ref for the button
|
|
52
|
+
*/
|
|
53
|
+
ref?: any;
|
|
54
|
+
/**
|
|
55
|
+
* Classname for the button
|
|
56
|
+
*/
|
|
57
|
+
className?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Additional styles for the button
|
|
60
|
+
*/
|
|
61
|
+
style?: React.CSSProperties;
|
|
62
|
+
/**
|
|
63
|
+
* Give icon name availble in storybook that to be on left side of button
|
|
64
|
+
*/
|
|
65
|
+
iconName?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Give icon name availble in storybook that to be on left side of button
|
|
68
|
+
*/
|
|
69
|
+
iconPosition?: 'left' | 'right';
|
|
70
|
+
transparentBackground?: boolean;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps$1, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
74
|
+
|
|
75
|
+
interface BtnPropsCommon {
|
|
76
|
+
/**
|
|
77
|
+
* Label for the button
|
|
78
|
+
*/
|
|
79
|
+
label?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Boolean value to disable the button
|
|
82
|
+
*/
|
|
83
|
+
disabled?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Onclick function for button
|
|
86
|
+
*/
|
|
87
|
+
onClick?: () => void;
|
|
88
|
+
}
|
|
89
|
+
interface DrawerProps {
|
|
90
|
+
/**
|
|
91
|
+
* To Open the Drawer
|
|
92
|
+
*/
|
|
93
|
+
isOpen: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* To Expand the Drawer
|
|
96
|
+
*/
|
|
97
|
+
_isExpanded?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* To show and hide the back button of the Drawer
|
|
100
|
+
*/
|
|
101
|
+
isBackButtonVisible?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* To show and hide the close button of the Drawer
|
|
104
|
+
*/
|
|
105
|
+
_isCloseModalButtonVisible?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Function to close the drawer
|
|
108
|
+
*/
|
|
109
|
+
onClose?: () => void;
|
|
110
|
+
/**
|
|
111
|
+
* Size of the drawer medium = 550px large = 850px
|
|
112
|
+
*/
|
|
113
|
+
size?: 'small' | 'medium' | 'large' | 'x-large';
|
|
114
|
+
/**
|
|
115
|
+
* Body Content of the drawer
|
|
116
|
+
*/
|
|
117
|
+
children: ReactNode;
|
|
118
|
+
/**
|
|
119
|
+
* Header title for the drawer
|
|
120
|
+
*/
|
|
121
|
+
title?: string | ReactNode;
|
|
122
|
+
/**
|
|
123
|
+
* To show the edit button on the header
|
|
124
|
+
*/
|
|
125
|
+
showEditButton?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Primary | Success button props
|
|
128
|
+
*/
|
|
129
|
+
primaryButtonProps?: BtnPropsCommon;
|
|
130
|
+
/**
|
|
131
|
+
* Secondary | Cancel button props
|
|
132
|
+
*/
|
|
133
|
+
secondaryButtonProps?: BtnPropsCommon;
|
|
134
|
+
/**
|
|
135
|
+
* Left side Primary Button | Cancel button props
|
|
136
|
+
*/
|
|
137
|
+
leftPrimaryButtonProps?: BtnPropsCommon;
|
|
138
|
+
/**
|
|
139
|
+
* Left side Secondary | Cancel button props
|
|
140
|
+
*/
|
|
141
|
+
leftSecondaryButtonProps?: BtnPropsCommon;
|
|
142
|
+
/**
|
|
143
|
+
* Onclick function for edit button
|
|
144
|
+
*/
|
|
145
|
+
onEdit?: () => void;
|
|
146
|
+
/**
|
|
147
|
+
* Background overlay for the drawer
|
|
148
|
+
*/
|
|
149
|
+
overlay?: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* displays footer if its true, default true
|
|
152
|
+
*/
|
|
153
|
+
isFooterRequired?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* footer Content
|
|
156
|
+
*/
|
|
157
|
+
footerContent?: ReactNode;
|
|
158
|
+
/**
|
|
159
|
+
* To show or hide the header
|
|
160
|
+
*/
|
|
161
|
+
showHeader?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Custom back button icon
|
|
164
|
+
* The icon to display for the back button.
|
|
165
|
+
* If not provided, a default icon will be used.
|
|
166
|
+
*/
|
|
167
|
+
backButtonIcon?: ReactNode;
|
|
168
|
+
/**
|
|
169
|
+
* Callback function when the close icon is clicked
|
|
170
|
+
*/
|
|
171
|
+
onCloseIconClick?: () => void;
|
|
172
|
+
/**
|
|
173
|
+
* Custom header for the drawer, replacing the default header.
|
|
174
|
+
* If provided, this will render in place of the default header.
|
|
175
|
+
*/
|
|
176
|
+
customHeader?: ReactNode;
|
|
177
|
+
/**
|
|
178
|
+
* Custom footer for the drawer, replacing the default footer.
|
|
179
|
+
* If provided, this will render in place of the default footer.
|
|
180
|
+
*/
|
|
181
|
+
customFooter?: ReactNode;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
declare const Drawer: FC<DrawerProps>;
|
|
185
|
+
|
|
186
|
+
interface IconProps {
|
|
187
|
+
name: string;
|
|
188
|
+
className?: string;
|
|
189
|
+
height?: number;
|
|
190
|
+
width?: number;
|
|
191
|
+
color?: string;
|
|
192
|
+
onClick?: (data?: any) => void;
|
|
193
|
+
hoverEffect?: boolean;
|
|
194
|
+
disabled?: boolean;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
declare const Icon: React$1.ForwardRefExoticComponent<IconProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
198
|
+
|
|
199
|
+
interface AccordionProps {
|
|
200
|
+
/**
|
|
201
|
+
* Accordion Header Title
|
|
202
|
+
*/
|
|
203
|
+
headerTitle: string | JSX.Element;
|
|
204
|
+
/**
|
|
205
|
+
* Content that to be shown while Accordion is expanded
|
|
206
|
+
*/
|
|
207
|
+
accordionContent: ReactNode;
|
|
208
|
+
/**
|
|
209
|
+
* Custom color for the Accordion header
|
|
210
|
+
*/
|
|
211
|
+
color?: string;
|
|
212
|
+
/**
|
|
213
|
+
* Minimum height for the Accordion
|
|
214
|
+
*/
|
|
215
|
+
minHeight?: string;
|
|
216
|
+
/**
|
|
217
|
+
* Property to disable accordion
|
|
218
|
+
*/
|
|
219
|
+
disable?: boolean;
|
|
220
|
+
/**
|
|
221
|
+
* Info message to user for disabling accordion
|
|
222
|
+
*/
|
|
223
|
+
disableInfoMessage?: string;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Accordion UI component
|
|
228
|
+
*/
|
|
229
|
+
declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
|
230
|
+
|
|
231
|
+
interface Option$3 {
|
|
232
|
+
label?: string;
|
|
233
|
+
value?: string;
|
|
234
|
+
accessor?: string;
|
|
235
|
+
isChecked?: boolean;
|
|
236
|
+
}
|
|
237
|
+
interface MultiSelectProps {
|
|
238
|
+
options: Option$3[];
|
|
239
|
+
type?: 'email' | 'text';
|
|
240
|
+
label: string;
|
|
241
|
+
selectedOptions?: Option$3[];
|
|
242
|
+
disabled?: boolean;
|
|
243
|
+
onSearch?: (searchedKeyword: string, resultsLength: number) => void;
|
|
244
|
+
onChange?: (selectedOptions: Option$3[]) => void;
|
|
245
|
+
acceptNewOption?: boolean;
|
|
246
|
+
zIndex?: number;
|
|
247
|
+
required?: boolean;
|
|
248
|
+
errorMessage?: string;
|
|
249
|
+
withSelectButton?: boolean;
|
|
250
|
+
onSelect?: () => void;
|
|
251
|
+
displayCount?: boolean;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, withSelectButton, onSelect, displayCount, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
|
|
255
|
+
|
|
256
|
+
interface ToasterProps {
|
|
257
|
+
/**Boolean value to handle state of toaster. */
|
|
258
|
+
isOpen: boolean;
|
|
259
|
+
/**Variant for different type of toast message. */
|
|
260
|
+
variant: 'success' | 'warning' | 'danger' | 'info' | 'confirm';
|
|
261
|
+
/**Title of the toaster */
|
|
262
|
+
toastTitle: string;
|
|
263
|
+
/**Message for the toaster. */
|
|
264
|
+
toastMessage?: string;
|
|
265
|
+
/**Function to call upon clicking the close icon or cancel button. */
|
|
266
|
+
onCancelClick?: () => void;
|
|
267
|
+
/**Function to call when confirmation the prompt. */
|
|
268
|
+
onConfirmation?: () => void;
|
|
269
|
+
/**Duration in ms for which toaster will stay on the screen */
|
|
270
|
+
displayDuration?: number;
|
|
271
|
+
/**Confirmation text for variant confirm. */
|
|
272
|
+
confirmationText?: string;
|
|
273
|
+
/**z-index value */
|
|
274
|
+
zIndex?: number;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
declare const Toaster: React__default.FC<ToasterProps>;
|
|
278
|
+
|
|
279
|
+
interface ContainerProps {
|
|
280
|
+
/**
|
|
281
|
+
* The content to be displayed inside the container.
|
|
282
|
+
* Typically consists of rows and columns.
|
|
283
|
+
*
|
|
284
|
+
* @type {ReactNode}
|
|
285
|
+
*/
|
|
286
|
+
children: ReactNode;
|
|
287
|
+
/**
|
|
288
|
+
* Determines if the container should be fluid (expand to 100% width) or fixed width.
|
|
289
|
+
*
|
|
290
|
+
* @default false
|
|
291
|
+
* @type {boolean}
|
|
292
|
+
*/
|
|
293
|
+
fluid?: boolean;
|
|
294
|
+
/**
|
|
295
|
+
* Defines the gap (spacing) between the rows and columns inside the container.
|
|
296
|
+
* Accepts any valid CSS size value (e.g., '10px', '1rem', etc.).
|
|
297
|
+
*
|
|
298
|
+
* @default '0px'
|
|
299
|
+
* @type {string}
|
|
300
|
+
*/
|
|
301
|
+
gap?: string;
|
|
302
|
+
/**
|
|
303
|
+
* Classname for Container
|
|
304
|
+
* @default ''
|
|
305
|
+
* @type {string}
|
|
306
|
+
*/
|
|
307
|
+
className?: string;
|
|
308
|
+
}
|
|
309
|
+
interface RowProps {
|
|
310
|
+
/**
|
|
311
|
+
* The content to be displayed inside the row, usually consisting of columns (`<Col />`).
|
|
312
|
+
*
|
|
313
|
+
* @type {ReactNode}
|
|
314
|
+
*/
|
|
315
|
+
children: ReactNode;
|
|
316
|
+
/**
|
|
317
|
+
* The gap (spacing) between columns within the row.
|
|
318
|
+
* Accepts any valid CSS size value.
|
|
319
|
+
*
|
|
320
|
+
* @default '0px'
|
|
321
|
+
* @type {string}
|
|
322
|
+
*/
|
|
323
|
+
gap?: string;
|
|
324
|
+
/**
|
|
325
|
+
* @default ''
|
|
326
|
+
* @type string
|
|
327
|
+
*/
|
|
328
|
+
className?: string;
|
|
329
|
+
}
|
|
330
|
+
interface ColProps {
|
|
331
|
+
/**
|
|
332
|
+
* The content to be displayed inside the column.
|
|
333
|
+
*
|
|
334
|
+
* @type {ReactNode}
|
|
335
|
+
*/
|
|
336
|
+
children: ReactNode;
|
|
337
|
+
/**
|
|
338
|
+
* Defines the width of the column as a fraction of 12 (for a 12-column grid system).
|
|
339
|
+
* For example, `size={6}` would make the column take up half the width of the row.
|
|
340
|
+
*
|
|
341
|
+
* @default 12
|
|
342
|
+
* @type {number}
|
|
343
|
+
*/
|
|
344
|
+
size?: number;
|
|
345
|
+
/**
|
|
346
|
+
* @default ''
|
|
347
|
+
* @type string
|
|
348
|
+
*
|
|
349
|
+
*/
|
|
350
|
+
className?: string;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
declare const Container: React__default.FC<ContainerProps>;
|
|
354
|
+
declare const Row: React__default.FC<RowProps>;
|
|
355
|
+
declare const Col: React__default.FC<ColProps>;
|
|
356
|
+
|
|
357
|
+
interface ToggleProps {
|
|
358
|
+
/**
|
|
359
|
+
* Optional onChange handler
|
|
360
|
+
*/
|
|
361
|
+
onChange?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
362
|
+
/**
|
|
363
|
+
* Optional disabled state
|
|
364
|
+
*/
|
|
365
|
+
disabled?: boolean;
|
|
366
|
+
/**
|
|
367
|
+
* Optional checked state
|
|
368
|
+
*/
|
|
369
|
+
checked?: boolean;
|
|
370
|
+
/**
|
|
371
|
+
* Optional id
|
|
372
|
+
*/
|
|
373
|
+
id?: string;
|
|
374
|
+
/**
|
|
375
|
+
* What background color to occur upon toggled
|
|
376
|
+
*/
|
|
377
|
+
variant?: 'primary' | 'secondary';
|
|
378
|
+
/**
|
|
379
|
+
* Defines the size of the toggle
|
|
380
|
+
*/
|
|
381
|
+
size?: 'small' | 'medium' | 'large';
|
|
382
|
+
/**
|
|
383
|
+
* Optional icon configuration for the toggle. This allows for custom icons to be used for both the checked and unchecked states.
|
|
384
|
+
*
|
|
385
|
+
* @property checked - Icon configuration for the checked state.
|
|
386
|
+
* @property unchecked - Icon configuration for the unchecked state.
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* {
|
|
390
|
+
* checked: { name: 'checked-icon', width: 24, height: 24 },
|
|
391
|
+
* unchecked: { name: 'unchecked-icon', width: 24, height: 24 }
|
|
392
|
+
* }
|
|
393
|
+
*/
|
|
394
|
+
icon?: {
|
|
395
|
+
checked?: {
|
|
396
|
+
name: string;
|
|
397
|
+
width: number;
|
|
398
|
+
height: number;
|
|
399
|
+
};
|
|
400
|
+
unchecked?: {
|
|
401
|
+
name: string;
|
|
402
|
+
width: number;
|
|
403
|
+
height: number;
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
declare const Toggle: React__default.FC<ToggleProps>;
|
|
409
|
+
|
|
410
|
+
interface ChipsProps {
|
|
411
|
+
/**
|
|
412
|
+
* The text to be displayed on the Chip.
|
|
413
|
+
*/
|
|
414
|
+
label: string;
|
|
415
|
+
/**
|
|
416
|
+
* The text to be displayed on hover.
|
|
417
|
+
*/
|
|
418
|
+
fullText?: string;
|
|
419
|
+
/**
|
|
420
|
+
* The variant of the Chip.
|
|
421
|
+
*/
|
|
422
|
+
variant?: 'primary' | 'success' | 'error' | 'warning' | 'custom';
|
|
423
|
+
/**
|
|
424
|
+
* The callback function to be executed when the Chip is clicked.
|
|
425
|
+
*/
|
|
426
|
+
onClick?: () => void;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
declare const Chip: ({ label, fullText, variant, onClick, }: ChipsProps) => react_jsx_runtime.JSX.Element;
|
|
430
|
+
|
|
431
|
+
interface TooltipProps {
|
|
432
|
+
/**
|
|
433
|
+
* The text or content to be displayed inside the tooltip.
|
|
434
|
+
* This can be a string or any React node.
|
|
435
|
+
*/
|
|
436
|
+
title?: string | React.ReactNode;
|
|
437
|
+
/**
|
|
438
|
+
* The children over which the tooltip will be displayed.
|
|
439
|
+
* Typically a button or any other interactive element.
|
|
440
|
+
*/
|
|
441
|
+
children: React.ReactNode;
|
|
442
|
+
/**
|
|
443
|
+
* The placement of the tooltip relative to the children.
|
|
444
|
+
* Defines where the tooltip appears: top, bottom, left, right, etc.
|
|
445
|
+
*
|
|
446
|
+
* @default 'bottom'
|
|
447
|
+
*/
|
|
448
|
+
placement?: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
|
|
449
|
+
/**
|
|
450
|
+
* Whether the tooltip is disabled.
|
|
451
|
+
* If true, the tooltip will not be displayed.
|
|
452
|
+
*
|
|
453
|
+
* @default false
|
|
454
|
+
*/
|
|
455
|
+
disabled?: boolean;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
declare const Tooltip: React__default.FC<TooltipProps>;
|
|
459
|
+
|
|
460
|
+
interface InputProps {
|
|
461
|
+
/**
|
|
462
|
+
* Name | name of the input field
|
|
463
|
+
*/
|
|
464
|
+
name: string;
|
|
465
|
+
/**
|
|
466
|
+
* Label | field label to be displayed
|
|
467
|
+
*/
|
|
468
|
+
label?: string;
|
|
469
|
+
/**
|
|
470
|
+
* value | input field value
|
|
471
|
+
*/
|
|
472
|
+
value: string | number;
|
|
473
|
+
/**
|
|
474
|
+
* variants to set color/style of the input field
|
|
475
|
+
*/
|
|
476
|
+
variant?: 'default' | 'primary';
|
|
477
|
+
/**
|
|
478
|
+
* type to set color/style of the input field
|
|
479
|
+
*/
|
|
480
|
+
type: 'text' | 'password' | 'number' | 'email' | 'url' | 'time';
|
|
481
|
+
/**
|
|
482
|
+
* error | If true, error message will be displayed
|
|
483
|
+
*/
|
|
484
|
+
error?: boolean;
|
|
485
|
+
/**
|
|
486
|
+
* helperText | error, success, warning message to be shown
|
|
487
|
+
*/
|
|
488
|
+
helperText?: string;
|
|
489
|
+
/**
|
|
490
|
+
* to disable the input field
|
|
491
|
+
*/
|
|
492
|
+
disabled?: boolean;
|
|
493
|
+
/**
|
|
494
|
+
* if true, input field will be mandatory
|
|
495
|
+
*/
|
|
496
|
+
required?: boolean;
|
|
497
|
+
/**
|
|
498
|
+
* placeholder for the input field
|
|
499
|
+
*/
|
|
500
|
+
placeholder?: string;
|
|
501
|
+
/**
|
|
502
|
+
* classnames to style the input field
|
|
503
|
+
*/
|
|
504
|
+
className?: string;
|
|
505
|
+
/**
|
|
506
|
+
* noBorder prop 'true' removes border of input
|
|
507
|
+
*/
|
|
508
|
+
noBorder?: boolean;
|
|
509
|
+
/**
|
|
510
|
+
* onChange, onKeyDown, onBlur, onFocus actions
|
|
511
|
+
*/
|
|
512
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
513
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
514
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
515
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
516
|
+
/**
|
|
517
|
+
* id to select the input field uniquely
|
|
518
|
+
*/
|
|
519
|
+
id?: string;
|
|
520
|
+
/**
|
|
521
|
+
* if on, suggestion popup will be displayed
|
|
522
|
+
*/
|
|
523
|
+
autoComplete?: 'on' | 'off';
|
|
524
|
+
/**
|
|
525
|
+
* minimum and maximum values for the number type input field and their functions
|
|
526
|
+
*/
|
|
527
|
+
minValue?: number;
|
|
528
|
+
maxValue?: number;
|
|
529
|
+
/**
|
|
530
|
+
* background of the input field prop
|
|
531
|
+
*/
|
|
532
|
+
transparentBackground?: boolean;
|
|
533
|
+
/**
|
|
534
|
+
* size for the input field
|
|
535
|
+
*/
|
|
536
|
+
size?: 'small' | 'medium';
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
declare const Input: ({ type, variant, name, label, disabled, required, placeholder, value, helperText, error, noBorder, className, onChange, onBlur, onFocus, autoComplete, minValue, maxValue, transparentBackground, size, ...props }: InputProps) => react_jsx_runtime.JSX.Element;
|
|
540
|
+
|
|
541
|
+
type Status$1 = {
|
|
542
|
+
status: 'Passed' | 'Failed' | 'Warning' | 'Skipped' | 'passed' | 'failed' | 'warning' | 'skipped';
|
|
543
|
+
value: number;
|
|
544
|
+
};
|
|
545
|
+
interface RadialChartProps {
|
|
546
|
+
radius: number;
|
|
547
|
+
lineWidth: number;
|
|
548
|
+
statusValues: Status$1[];
|
|
549
|
+
onClick?: (status: Status$1) => void;
|
|
550
|
+
fontSize: number;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
declare const RadialChart: React__default.FC<RadialChartProps>;
|
|
554
|
+
|
|
555
|
+
interface ExpandableMenuProps {
|
|
556
|
+
/**
|
|
557
|
+
* mandatory | label for the expandable menu
|
|
558
|
+
*/
|
|
559
|
+
label: string;
|
|
560
|
+
/**
|
|
561
|
+
* optional | Icon to describe direction of expansion
|
|
562
|
+
*/
|
|
563
|
+
icon?: React.ReactNode;
|
|
564
|
+
/**
|
|
565
|
+
* optional | variant of the menu
|
|
566
|
+
*/
|
|
567
|
+
variant?: 'primary';
|
|
568
|
+
/**
|
|
569
|
+
* optional | size of the expandable menu
|
|
570
|
+
*/
|
|
571
|
+
size?: 'medium';
|
|
572
|
+
/**
|
|
573
|
+
* optional | disable to disable the menu and prevent click events but not hover event
|
|
574
|
+
*/
|
|
575
|
+
disable?: boolean;
|
|
576
|
+
/**
|
|
577
|
+
* Mandatory | sub menus to be shown inside expandable menu
|
|
578
|
+
*/
|
|
579
|
+
subMenus: string[];
|
|
580
|
+
/**
|
|
581
|
+
* optional | selected sub menu of the expandable menu
|
|
582
|
+
*/
|
|
583
|
+
selectedMenu?: string;
|
|
584
|
+
/**
|
|
585
|
+
* optional | onSubMenuClick event to perform action on click of sub menu
|
|
586
|
+
*/
|
|
587
|
+
onSubMenuClick?: (subChip: any) => void;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
declare const ExpandableMenu: React.FC<ExpandableMenuProps>;
|
|
591
|
+
|
|
592
|
+
interface SelectProps$1 {
|
|
593
|
+
label?: string;
|
|
594
|
+
showLabel?: boolean;
|
|
595
|
+
optionsList: Option$2[];
|
|
596
|
+
selectedOption?: Option$2;
|
|
597
|
+
onChange: (option: Option$2) => void;
|
|
598
|
+
errorMsg?: string;
|
|
599
|
+
className?: string;
|
|
600
|
+
optionZIndex?: number;
|
|
601
|
+
disabled?: boolean;
|
|
602
|
+
borderRadius?: boolean;
|
|
603
|
+
showBorder?: boolean;
|
|
604
|
+
required?: boolean;
|
|
605
|
+
/**
|
|
606
|
+
* optionsRequired:false prop removes options from dropdown & shows static label only
|
|
607
|
+
*/
|
|
608
|
+
optionsRequired?: boolean;
|
|
609
|
+
/**
|
|
610
|
+
* selectedOptionColor prop provides the custom color for the selected option
|
|
611
|
+
*/
|
|
612
|
+
selectedOptionColor?: string;
|
|
613
|
+
}
|
|
614
|
+
interface Option$2 {
|
|
615
|
+
label: string | ReactNode;
|
|
616
|
+
value: string;
|
|
617
|
+
disabled?: boolean;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
declare const Select: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, optionsRequired, selectedOptionColor, }: SelectProps$1) => react_jsx_runtime.JSX.Element;
|
|
621
|
+
|
|
622
|
+
interface TextareaProps {
|
|
623
|
+
/**
|
|
624
|
+
* Name | name of the textarea field
|
|
625
|
+
*/
|
|
626
|
+
name: string;
|
|
627
|
+
/**
|
|
628
|
+
* Label | field label to be displayed
|
|
629
|
+
*/
|
|
630
|
+
label: string;
|
|
631
|
+
/**
|
|
632
|
+
* value | textarea field value
|
|
633
|
+
*/
|
|
634
|
+
value: string;
|
|
635
|
+
/**
|
|
636
|
+
* variants to set color/style of the textarea field
|
|
637
|
+
*/
|
|
638
|
+
variant?: 'default' | 'primary';
|
|
639
|
+
/**
|
|
640
|
+
* error | If true, error message will be displayed
|
|
641
|
+
*/
|
|
642
|
+
error?: boolean;
|
|
643
|
+
/**
|
|
644
|
+
* helperText | error, success, warning message to be shown
|
|
645
|
+
*/
|
|
646
|
+
helperText?: string;
|
|
647
|
+
/**
|
|
648
|
+
* to disable the textarea field
|
|
649
|
+
*/
|
|
650
|
+
disabled?: boolean;
|
|
651
|
+
/**
|
|
652
|
+
* if true, textarea field will be mandatory
|
|
653
|
+
*/
|
|
654
|
+
required?: boolean;
|
|
655
|
+
/**
|
|
656
|
+
* placeholder for the textarea field
|
|
657
|
+
*/
|
|
658
|
+
placeholder?: string;
|
|
659
|
+
/**
|
|
660
|
+
* classnames to style the textarea field
|
|
661
|
+
*/
|
|
662
|
+
className?: string;
|
|
663
|
+
/**
|
|
664
|
+
* onChange, onKeyDown, onBlur, onFocus actions
|
|
665
|
+
*/
|
|
666
|
+
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
667
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLTextAreaElement>) => void;
|
|
668
|
+
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
669
|
+
onFocus?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
670
|
+
/**
|
|
671
|
+
* id to select the textarea field uniquely
|
|
672
|
+
*/
|
|
673
|
+
id?: string;
|
|
674
|
+
/**
|
|
675
|
+
* if on, suggestion popup will be displayed
|
|
676
|
+
*/
|
|
677
|
+
autoComplete?: 'on' | 'off';
|
|
678
|
+
/**
|
|
679
|
+
* background of the textarea field prop
|
|
680
|
+
*/
|
|
681
|
+
/**
|
|
682
|
+
* capacity | Maximum number of characters allowed in the textarea.
|
|
683
|
+
*/
|
|
684
|
+
capacity?: number;
|
|
685
|
+
/**
|
|
686
|
+
* rows | Number of visible text lines in the textarea.
|
|
687
|
+
* Used to control the height of the textarea.
|
|
688
|
+
*/
|
|
689
|
+
rows?: number;
|
|
690
|
+
/**
|
|
691
|
+
* cols | Number of visible character widths in the textarea.
|
|
692
|
+
* Used to control the width of the textarea.
|
|
693
|
+
*/
|
|
694
|
+
cols?: number;
|
|
695
|
+
/**
|
|
696
|
+
* for resizing purpose
|
|
697
|
+
*/
|
|
698
|
+
resize?: boolean;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, rows, cols, resize, ...props }: TextareaProps) => react_jsx_runtime.JSX.Element;
|
|
702
|
+
|
|
703
|
+
interface StatusButtonProps {
|
|
704
|
+
/**
|
|
705
|
+
* Status of the button
|
|
706
|
+
*/
|
|
707
|
+
status: 'passed' | 'failed' | 'running' | 'skipped' | 'warning' | 'terminated' | 'partially-executed' | 'aborted' | 'not-executed';
|
|
708
|
+
/**
|
|
709
|
+
* Button label (status text)
|
|
710
|
+
*/
|
|
711
|
+
label?: string;
|
|
712
|
+
/**
|
|
713
|
+
* Optional click handler
|
|
714
|
+
*/
|
|
715
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
716
|
+
/**
|
|
717
|
+
* Button content
|
|
718
|
+
*/
|
|
719
|
+
children?: ReactNode;
|
|
720
|
+
/**
|
|
721
|
+
* Button id
|
|
722
|
+
*/
|
|
723
|
+
id?: string;
|
|
724
|
+
/**
|
|
725
|
+
* Disabled state
|
|
726
|
+
*/
|
|
727
|
+
disabled?: boolean;
|
|
728
|
+
/**
|
|
729
|
+
* Classname for the button
|
|
730
|
+
*/
|
|
731
|
+
className?: string;
|
|
732
|
+
/**
|
|
733
|
+
* Additional styles for the button
|
|
734
|
+
*/
|
|
735
|
+
style?: React.CSSProperties;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
declare const StatusButton: ({ status, label, onClick, className, style, disabled, ...props }: StatusButtonProps) => react_jsx_runtime.JSX.Element;
|
|
739
|
+
|
|
740
|
+
interface OptionClick {
|
|
741
|
+
/**
|
|
742
|
+
* The label displayed for the option.
|
|
743
|
+
* @type {string}
|
|
744
|
+
* @required
|
|
745
|
+
*/
|
|
746
|
+
label: string;
|
|
747
|
+
/**
|
|
748
|
+
* The value(s) associated with the option, which can be a single string or an array of strings.
|
|
749
|
+
* @type {Array<string> | string}
|
|
750
|
+
* @required
|
|
751
|
+
*/
|
|
752
|
+
value: Array<string> | string;
|
|
753
|
+
}
|
|
754
|
+
interface OptionType extends OptionClick {
|
|
755
|
+
/**
|
|
756
|
+
* The name of the icon associated with the option.
|
|
757
|
+
* @type {string}
|
|
758
|
+
* @required
|
|
759
|
+
*/
|
|
760
|
+
icon: string;
|
|
761
|
+
/**
|
|
762
|
+
* Indicates whether the option is disabled.
|
|
763
|
+
* @type {boolean}
|
|
764
|
+
* @optional
|
|
765
|
+
*/
|
|
766
|
+
disable?: boolean;
|
|
767
|
+
}
|
|
768
|
+
interface MenuOptionProps {
|
|
769
|
+
/**
|
|
770
|
+
* The name of the label displayed next to the icon.
|
|
771
|
+
* @type {string}
|
|
772
|
+
* @optional
|
|
773
|
+
*/
|
|
774
|
+
labelName?: string;
|
|
775
|
+
/**
|
|
776
|
+
* The name of the icon to be displayed.
|
|
777
|
+
* @type {string}
|
|
778
|
+
* @required
|
|
779
|
+
*/
|
|
780
|
+
iconName: string;
|
|
781
|
+
/**
|
|
782
|
+
* The list of options available in the dropdown.
|
|
783
|
+
* @type {Array<OptionType>}
|
|
784
|
+
* @required
|
|
785
|
+
*/
|
|
786
|
+
options: Array<OptionType>;
|
|
787
|
+
/**
|
|
788
|
+
* The title displayed in the tooltip when hovering over the icon.
|
|
789
|
+
* @type {string}
|
|
790
|
+
* @optional
|
|
791
|
+
*/
|
|
792
|
+
tooltipTitle?: string;
|
|
793
|
+
/**
|
|
794
|
+
* The placement of the tooltip relative to the icon.
|
|
795
|
+
* @type {'bottom' | 'left' | 'right' | 'top' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'}
|
|
796
|
+
* @optional
|
|
797
|
+
*/
|
|
798
|
+
tooltipPlacement?: 'bottom' | 'left' | 'right' | 'top' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
|
|
799
|
+
/**
|
|
800
|
+
* The placement of the dropdown menu relative to the icon.
|
|
801
|
+
* @type {'top' | 'left' | 'right' | 'bottom'}
|
|
802
|
+
* @optional
|
|
803
|
+
*/
|
|
804
|
+
dropdownPlacement?: string | 'top' | 'left' | 'right' | 'down';
|
|
805
|
+
/**
|
|
806
|
+
* Callback function triggered when the icon is clicked.
|
|
807
|
+
* @type {function}
|
|
808
|
+
* @optional
|
|
809
|
+
*/
|
|
810
|
+
variant?: 'dark' | 'light';
|
|
811
|
+
/**
|
|
812
|
+
* The variant of the menu option, either 'dark' or 'light'.
|
|
813
|
+
* @type {'dark' | 'light'}
|
|
814
|
+
* @default 'light'
|
|
815
|
+
* @optional
|
|
816
|
+
*/
|
|
817
|
+
onClick?: () => void;
|
|
818
|
+
/**
|
|
819
|
+
* Callback function triggered when an option is clicked.
|
|
820
|
+
* @param {OptionClick} option - The option that was clicked.
|
|
821
|
+
* @type {function}
|
|
822
|
+
* @optional
|
|
823
|
+
*/
|
|
824
|
+
onOptionClick?: (option: OptionClick) => void;
|
|
825
|
+
/**
|
|
826
|
+
* The size of the icon button.
|
|
827
|
+
* @type {number}
|
|
828
|
+
* @default 20
|
|
829
|
+
*/
|
|
830
|
+
iconButtonSize?: number;
|
|
831
|
+
/**
|
|
832
|
+
* The size of the icon.
|
|
833
|
+
* @type {number}
|
|
834
|
+
* @default 16
|
|
835
|
+
*/
|
|
836
|
+
iconSize?: number;
|
|
837
|
+
/**
|
|
838
|
+
* The border radius of the icon.
|
|
839
|
+
* @type {number}
|
|
840
|
+
* @default 7
|
|
841
|
+
*/
|
|
842
|
+
iconButtonBorderRadius?: number;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, dropdownPlacement, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, }: MenuOptionProps) => react_jsx_runtime.JSX.Element;
|
|
846
|
+
|
|
847
|
+
interface DataProps {
|
|
848
|
+
/**
|
|
849
|
+
* data for each row
|
|
850
|
+
*/
|
|
851
|
+
[key: string]: any;
|
|
852
|
+
}
|
|
853
|
+
interface SelectedItemProps {
|
|
854
|
+
/**
|
|
855
|
+
* selected row object | All selected flag
|
|
856
|
+
*/
|
|
857
|
+
[key: string]: string | number | boolean;
|
|
858
|
+
}
|
|
859
|
+
interface TableProps {
|
|
860
|
+
/**
|
|
861
|
+
* Data for table
|
|
862
|
+
*/
|
|
863
|
+
data: Array<number | string | DataProps>;
|
|
864
|
+
/**
|
|
865
|
+
* Column details for table
|
|
866
|
+
*/
|
|
867
|
+
columns: Array<any>;
|
|
868
|
+
/**
|
|
869
|
+
* Header type to have different background color
|
|
870
|
+
*/
|
|
871
|
+
headerType: 'default' | 'primary' | 'secondary';
|
|
872
|
+
/**
|
|
873
|
+
* withFixedHeader prop to have non-scrollable fixed table header
|
|
874
|
+
*/
|
|
875
|
+
withFixedHeader?: boolean;
|
|
876
|
+
/**
|
|
877
|
+
* borderWithRadius prop to have table with border 1px and borderRadius 5px
|
|
878
|
+
*/
|
|
879
|
+
borderWithRadius?: boolean;
|
|
880
|
+
/**
|
|
881
|
+
* Check box feature to select the row
|
|
882
|
+
*/
|
|
883
|
+
withCheckbox?: boolean;
|
|
884
|
+
/**
|
|
885
|
+
* Event for checkbox onClick
|
|
886
|
+
*/
|
|
887
|
+
onSelect?: (e: object, arg: SelectedItemProps) => void;
|
|
888
|
+
/**
|
|
889
|
+
* Check box feature to select the row
|
|
890
|
+
*/
|
|
891
|
+
allSelected?: boolean;
|
|
892
|
+
/**
|
|
893
|
+
* send true to show partial checkbox in the header
|
|
894
|
+
*/
|
|
895
|
+
partialSelected?: boolean;
|
|
896
|
+
/**
|
|
897
|
+
* send true to disable the checkbox in the header
|
|
898
|
+
*/
|
|
899
|
+
headerCheckboxDisabled?: boolean;
|
|
900
|
+
/**
|
|
901
|
+
* The content that to be displayed if no data not found
|
|
902
|
+
*/
|
|
903
|
+
noDataContent: string | ReactNode;
|
|
904
|
+
/**
|
|
905
|
+
* Image that to be displayed if you don't have data
|
|
906
|
+
*/
|
|
907
|
+
noDataImage?: string;
|
|
908
|
+
/**
|
|
909
|
+
* Size of the image that to be displayed if you don't have data
|
|
910
|
+
*/
|
|
911
|
+
noDataImageSize?: 'x-large' | 'large' | 'medium' | 'small' | 'x-small';
|
|
912
|
+
/**
|
|
913
|
+
* Height of the table in string
|
|
914
|
+
*/
|
|
915
|
+
height?: string;
|
|
916
|
+
/**
|
|
917
|
+
* classNames for the table container
|
|
918
|
+
*/
|
|
919
|
+
className?: string;
|
|
920
|
+
/**
|
|
921
|
+
* classNames for the table Header container
|
|
922
|
+
*/
|
|
923
|
+
tableHeadClass?: string;
|
|
924
|
+
/**
|
|
925
|
+
* classNames for the table Row container
|
|
926
|
+
*/
|
|
927
|
+
tableBodyRowClass?: string;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, height, className, tableHeadClass, tableBodyRowClass, }: TableProps) => react_jsx_runtime.JSX.Element | null;
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* Props for the Add Resource Button component.
|
|
934
|
+
*
|
|
935
|
+
* @property {string} [id] - An optional unique identifier for the Add Resource Button.
|
|
936
|
+
* @property {('primary' | 'secondary')} [variant] - Optional button style variant.
|
|
937
|
+
* @property {DirectionalArrow[]} directionalArrow - An array of directional arrows, each specifying the direction and associated menu options. Default values will be provided if not passed.
|
|
938
|
+
* @property {number} [zIndex] - An optional z-index value for positioning, defaults to 99.
|
|
939
|
+
*/
|
|
940
|
+
interface AddResourceButtonProps {
|
|
941
|
+
id?: string;
|
|
942
|
+
variant?: 'primary' | 'secondary';
|
|
943
|
+
directionalArrow: {
|
|
944
|
+
/**
|
|
945
|
+
* direction option: 'top' | 'right' | 'down'
|
|
946
|
+
*/
|
|
947
|
+
direction: string;
|
|
948
|
+
menuOptions: {
|
|
949
|
+
label: string;
|
|
950
|
+
value: string | string[];
|
|
951
|
+
icon: string;
|
|
952
|
+
disable?: boolean;
|
|
953
|
+
}[];
|
|
954
|
+
}[];
|
|
955
|
+
zIndex?: number;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
declare const AddButton: ({ id, variant, directionalArrow, zIndex, }: AddResourceButtonProps) => react_jsx_runtime.JSX.Element;
|
|
959
|
+
|
|
960
|
+
type Status = 'passed' | 'failed' | 'warning' | 'skipped' | 'Passed' | 'Failed' | 'Skipped' | 'Warning';
|
|
961
|
+
type StatusValue = {
|
|
962
|
+
status: Status;
|
|
963
|
+
value: number;
|
|
964
|
+
};
|
|
965
|
+
type DonutChartProps = {
|
|
966
|
+
radius: number;
|
|
967
|
+
lineWidth: number;
|
|
968
|
+
statusValues: StatusValue[];
|
|
969
|
+
legendDetailsType: string;
|
|
970
|
+
isLegendDetails: boolean;
|
|
971
|
+
gapAngle?: number;
|
|
972
|
+
};
|
|
973
|
+
|
|
974
|
+
declare const DonutChart: React__default.FC<DonutChartProps>;
|
|
975
|
+
|
|
976
|
+
interface FileDropzoneProps {
|
|
977
|
+
/**
|
|
978
|
+
* Icon to be displayed in the dropzone.
|
|
979
|
+
**/
|
|
980
|
+
icon?: ReactNode;
|
|
981
|
+
/**
|
|
982
|
+
* Primary label to be shown in dropzone area
|
|
983
|
+
**/
|
|
984
|
+
primaryLabel?: string;
|
|
985
|
+
/**
|
|
986
|
+
* Secondary label to be shown
|
|
987
|
+
**/
|
|
988
|
+
secondaryLabel?: string;
|
|
989
|
+
/**
|
|
990
|
+
* Label to be shown in choose file/input button.
|
|
991
|
+
**/
|
|
992
|
+
buttonLabel?: string;
|
|
993
|
+
/**
|
|
994
|
+
* . extension needs to be passed to allow the type of file to add or MIME type to be validate MIME type
|
|
995
|
+
**/
|
|
996
|
+
accept: string[];
|
|
997
|
+
/**
|
|
998
|
+
* To allow multiple selection or drop of files.
|
|
999
|
+
**/
|
|
1000
|
+
multiple?: boolean;
|
|
1001
|
+
/**
|
|
1002
|
+
* Maximum files to be dropped or selected at once.
|
|
1003
|
+
**/
|
|
1004
|
+
maxFiles?: number;
|
|
1005
|
+
/**
|
|
1006
|
+
* Maximum size of the file in numbers.
|
|
1007
|
+
**/
|
|
1008
|
+
maxSize?: number;
|
|
1009
|
+
/**
|
|
1010
|
+
* Function with state to get the boolean value when the maxFiles is less than dropped files.
|
|
1011
|
+
**/
|
|
1012
|
+
onMaxFilesError?: () => void;
|
|
1013
|
+
/**
|
|
1014
|
+
* To show error message if file size exceeds the max size
|
|
1015
|
+
**/
|
|
1016
|
+
maxSizeErrorMessage?: string;
|
|
1017
|
+
/**
|
|
1018
|
+
* To show error message if file is not of accepted file type
|
|
1019
|
+
**/
|
|
1020
|
+
invalidFileMessage?: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* To show error message if file already exist with same name and type
|
|
1023
|
+
**/
|
|
1024
|
+
fileExistMessage?: string;
|
|
1025
|
+
/**
|
|
1026
|
+
* To validate file type based on MIME type but mandatorily need to pass MIME type in accept props
|
|
1027
|
+
**/
|
|
1028
|
+
validateMIMEType?: boolean;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
declare const FileDropzone: React.FC<FileDropzoneProps>;
|
|
1032
|
+
|
|
1033
|
+
type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme';
|
|
1034
|
+
interface ThemeContextType {
|
|
1035
|
+
currentTheme: Theme;
|
|
1036
|
+
setCurrentTheme: React.Dispatch<React.SetStateAction<Theme>>;
|
|
1037
|
+
applyTheme: (newTheme: Theme) => void;
|
|
1038
|
+
}
|
|
1039
|
+
interface ThemeProviderProps {
|
|
1040
|
+
children?: ReactNode;
|
|
1041
|
+
theme?: Theme;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
declare const ThemeProvider: React__default.FC<ThemeProviderProps>;
|
|
1045
|
+
|
|
1046
|
+
interface TypographyProps {
|
|
1047
|
+
/**
|
|
1048
|
+
* Font Weight
|
|
1049
|
+
*/
|
|
1050
|
+
fontWeight?: 'regular' | 'medium' | 'semi-bold' | 'bold';
|
|
1051
|
+
/**
|
|
1052
|
+
* Font Size
|
|
1053
|
+
*/
|
|
1054
|
+
fontSize?: number | string;
|
|
1055
|
+
/**
|
|
1056
|
+
* Line height
|
|
1057
|
+
*/
|
|
1058
|
+
lineHeight?: string;
|
|
1059
|
+
/**
|
|
1060
|
+
* Color
|
|
1061
|
+
*/
|
|
1062
|
+
color?: string;
|
|
1063
|
+
/**
|
|
1064
|
+
* Text alignment
|
|
1065
|
+
*/
|
|
1066
|
+
textAlign?: 'left' | 'right' | 'center' | 'justify';
|
|
1067
|
+
/**
|
|
1068
|
+
* For JSX elements
|
|
1069
|
+
*/
|
|
1070
|
+
as?: keyof JSX.IntrinsicElements;
|
|
1071
|
+
/**
|
|
1072
|
+
* htmlFor attribute for element=label,
|
|
1073
|
+
*/
|
|
1074
|
+
htmlFor?: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* The content to display within the Typography component
|
|
1077
|
+
*/
|
|
1078
|
+
children: React__default.ReactNode;
|
|
1079
|
+
/**
|
|
1080
|
+
* To add styles in Typography
|
|
1081
|
+
*/
|
|
1082
|
+
className?: string;
|
|
1083
|
+
/**
|
|
1084
|
+
* To add letter spacing in Typography
|
|
1085
|
+
*/
|
|
1086
|
+
letterSpacing?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* To add onClick function
|
|
1089
|
+
*/
|
|
1090
|
+
onClick?: () => void;
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
declare const Typography: React__default.FC<TypographyProps>;
|
|
1094
|
+
|
|
1095
|
+
declare const useTheme: () => ThemeContextType;
|
|
1096
|
+
|
|
1097
|
+
interface FormProps<T extends FieldValues> extends UseFormProps<T> {
|
|
1098
|
+
onSubmit: SubmitHandler<T>;
|
|
1099
|
+
children: (props: {
|
|
1100
|
+
register: (name: FieldPath<T>, options?: any) => any;
|
|
1101
|
+
errors: FieldErrors<T>;
|
|
1102
|
+
handleBlur: (field: FieldPath<T>) => void;
|
|
1103
|
+
getValues: () => T;
|
|
1104
|
+
watch: (field?: FieldPath<T>) => any;
|
|
1105
|
+
setValue: (field: FieldPath<T>, value: any, options?: object) => void;
|
|
1106
|
+
}) => React__default.ReactNode;
|
|
1107
|
+
}
|
|
1108
|
+
declare const Form: <T extends FieldValues>({ onSubmit, children, ...rest }: FormProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1109
|
+
|
|
1110
|
+
interface Option$1 {
|
|
1111
|
+
label: string | ReactNode;
|
|
1112
|
+
value: string;
|
|
1113
|
+
}
|
|
1114
|
+
interface InputWithDropdownProps {
|
|
1115
|
+
/**
|
|
1116
|
+
* Name | name of the input field
|
|
1117
|
+
*/
|
|
1118
|
+
name: string;
|
|
1119
|
+
/**
|
|
1120
|
+
* Label | field label to be displayed
|
|
1121
|
+
*/
|
|
1122
|
+
label?: string;
|
|
1123
|
+
/**
|
|
1124
|
+
* value | input field value
|
|
1125
|
+
*/
|
|
1126
|
+
value?: number;
|
|
1127
|
+
/**
|
|
1128
|
+
* variants to set color/style of the input field
|
|
1129
|
+
*/
|
|
1130
|
+
variant?: 'default' | 'primary';
|
|
1131
|
+
/**
|
|
1132
|
+
* error | If true, error message will be displayed
|
|
1133
|
+
*/
|
|
1134
|
+
error?: boolean;
|
|
1135
|
+
/**
|
|
1136
|
+
* helperText | error, success, warning message to be shown
|
|
1137
|
+
*/
|
|
1138
|
+
helperText?: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* to disable the input field
|
|
1141
|
+
*/
|
|
1142
|
+
disabled?: boolean;
|
|
1143
|
+
/**
|
|
1144
|
+
* if true, input field will be mandatory
|
|
1145
|
+
*/
|
|
1146
|
+
required?: boolean;
|
|
1147
|
+
/**
|
|
1148
|
+
* placeholder for the input field
|
|
1149
|
+
*/
|
|
1150
|
+
placeholder?: string;
|
|
1151
|
+
/**
|
|
1152
|
+
* classnames to style the input field
|
|
1153
|
+
*/
|
|
1154
|
+
className?: string;
|
|
1155
|
+
/**
|
|
1156
|
+
* Options for the select dropdown
|
|
1157
|
+
*/
|
|
1158
|
+
optionsList: Option$1[];
|
|
1159
|
+
/**
|
|
1160
|
+
* Selected option for the select dropdown
|
|
1161
|
+
*/
|
|
1162
|
+
selectedOption?: Option$1;
|
|
1163
|
+
/**
|
|
1164
|
+
* onChange handler for input changes
|
|
1165
|
+
*/
|
|
1166
|
+
onInputChangeHandler?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
1167
|
+
/**
|
|
1168
|
+
* onChange handler for dropdown changes
|
|
1169
|
+
*/
|
|
1170
|
+
onDropdownChangeHandler?: (option: Option$1) => void;
|
|
1171
|
+
/**
|
|
1172
|
+
* onInputBlurHandler action for input field
|
|
1173
|
+
*/
|
|
1174
|
+
onInputBlurHandler?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
1175
|
+
/**
|
|
1176
|
+
* id to select the input field uniquely
|
|
1177
|
+
*/
|
|
1178
|
+
id?: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* if on, suggestion popup will be displayed
|
|
1181
|
+
*/
|
|
1182
|
+
autoComplete?: 'on' | 'off';
|
|
1183
|
+
/**
|
|
1184
|
+
* minimum and maximum values for the number type input field
|
|
1185
|
+
*/
|
|
1186
|
+
minValue?: number;
|
|
1187
|
+
maxValue?: number;
|
|
1188
|
+
/**
|
|
1189
|
+
* background of the input field prop
|
|
1190
|
+
*/
|
|
1191
|
+
isBackgroundTransparent?: boolean;
|
|
1192
|
+
/**
|
|
1193
|
+
* optionsRequired:false prop removes options from dropdown & shows static label only
|
|
1194
|
+
*/
|
|
1195
|
+
optionsRequired?: boolean;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
declare const InputWithDropdown: ({ name, label, value, disabled, required, placeholder, error, helperText, optionsList, selectedOption, onDropdownChangeHandler, onInputChangeHandler, onInputBlurHandler, optionsRequired, }: InputWithDropdownProps) => react_jsx_runtime.JSX.Element;
|
|
1199
|
+
|
|
1200
|
+
declare const RadioButton: React__default.FC<RadioButtonProps>;
|
|
1201
|
+
|
|
1202
|
+
declare const RadioGroup: React__default.FC<RadioGroupProps>;
|
|
1203
|
+
|
|
1204
|
+
interface ButtonProps {
|
|
1205
|
+
text: string;
|
|
1206
|
+
onClick: () => void;
|
|
1207
|
+
}
|
|
1208
|
+
interface ModalDimensions {
|
|
1209
|
+
width?: number;
|
|
1210
|
+
height?: number;
|
|
1211
|
+
}
|
|
1212
|
+
interface MiniEditModalProps {
|
|
1213
|
+
/**
|
|
1214
|
+
* A reference to the button element that triggers the modal.
|
|
1215
|
+
*/
|
|
1216
|
+
anchorRef: RefObject<HTMLButtonElement>;
|
|
1217
|
+
/**
|
|
1218
|
+
* Optional properties for configuring the modal header.
|
|
1219
|
+
*/
|
|
1220
|
+
headerProps?: ReactNode;
|
|
1221
|
+
/**
|
|
1222
|
+
* The main content to be displayed inside the modal
|
|
1223
|
+
*/
|
|
1224
|
+
childContent: ReactNode;
|
|
1225
|
+
/**
|
|
1226
|
+
* Props for the cancel button inside the modal
|
|
1227
|
+
*/
|
|
1228
|
+
cancelButtonProps: ButtonProps;
|
|
1229
|
+
/**
|
|
1230
|
+
* Props for the proceed button inside the modal.
|
|
1231
|
+
*/
|
|
1232
|
+
proceedButtonProps: ButtonProps;
|
|
1233
|
+
/**
|
|
1234
|
+
* Optional content for the footer of the modal.
|
|
1235
|
+
*/
|
|
1236
|
+
footerContent?: ReactNode;
|
|
1237
|
+
/**
|
|
1238
|
+
* Determines if the modal should be wrapped inside a container element.
|
|
1239
|
+
*/
|
|
1240
|
+
isWrapped?: boolean;
|
|
1241
|
+
/**
|
|
1242
|
+
* Determines if the modal should have an animation when displayed.
|
|
1243
|
+
*/
|
|
1244
|
+
isAnimated?: boolean;
|
|
1245
|
+
/**
|
|
1246
|
+
* Specifies if the modal should behave as a popover with an arrow.
|
|
1247
|
+
*/
|
|
1248
|
+
isPopOver?: boolean;
|
|
1249
|
+
/**
|
|
1250
|
+
* Sets the position of the modal relative to its anchor.
|
|
1251
|
+
* bottom: The modal appears below the anchor.
|
|
1252
|
+
* right: The modal appears to the right of the anchor.
|
|
1253
|
+
*/
|
|
1254
|
+
modalPosition?: 'bottom' | 'right' | 'top' | 'left';
|
|
1255
|
+
/**
|
|
1256
|
+
* Adds a top-left aligned arrow to the modal when its position is set to `'right'`.
|
|
1257
|
+
*/
|
|
1258
|
+
leftTopArrow?: boolean;
|
|
1259
|
+
/**
|
|
1260
|
+
* A reference to an additional anchor element for positioning the modal.
|
|
1261
|
+
*/
|
|
1262
|
+
firstAnchorRef?: RefObject<HTMLButtonElement>;
|
|
1263
|
+
/**
|
|
1264
|
+
* A numeric value representing the left position of the anchor element, used to calculate the modal's left position.
|
|
1265
|
+
*/
|
|
1266
|
+
anchorRefLeftNum?: number;
|
|
1267
|
+
/**
|
|
1268
|
+
* Optional properties for configuring the modal's dimensions.
|
|
1269
|
+
* width: The width of the modal.
|
|
1270
|
+
* height: The height of the modal.
|
|
1271
|
+
*/
|
|
1272
|
+
modalProperties?: ModalDimensions;
|
|
1273
|
+
/**distance for the wrapper model from align alignments */
|
|
1274
|
+
anchorLeftDistanceForWrapper?: number;
|
|
1275
|
+
/**extra top space added from anchor */
|
|
1276
|
+
extraTopSpace?: {
|
|
1277
|
+
wrappedModal?: number;
|
|
1278
|
+
normalModal?: number;
|
|
1279
|
+
};
|
|
1280
|
+
/**extra right space added from anchor */
|
|
1281
|
+
extraRightSpace?: {
|
|
1282
|
+
leftTopArrow?: number;
|
|
1283
|
+
middleLeftArrow?: number;
|
|
1284
|
+
};
|
|
1285
|
+
/**extra left space added from anchor */
|
|
1286
|
+
extraLeftSpace?: {
|
|
1287
|
+
normal?: number;
|
|
1288
|
+
rightAlignModal?: number;
|
|
1289
|
+
};
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
declare const MiniModal: React$1.ForwardRefExoticComponent<MiniEditModalProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1293
|
+
|
|
1294
|
+
interface ColumnDataProps {
|
|
1295
|
+
name: string;
|
|
1296
|
+
accessor: string;
|
|
1297
|
+
width: string;
|
|
1298
|
+
isClickable?: boolean;
|
|
1299
|
+
minWidth?: string;
|
|
1300
|
+
cell?: (e: any) => JSX.Element | string | ReactNode;
|
|
1301
|
+
actions?: (e: any) => JSX.Element | string | ReactNode;
|
|
1302
|
+
}
|
|
1303
|
+
interface ObjectProps {
|
|
1304
|
+
[key: string]: any;
|
|
1305
|
+
}
|
|
1306
|
+
interface TableTreeProps {
|
|
1307
|
+
select: 'checkbox' | 'radio' | 'none';
|
|
1308
|
+
columnsData: Array<ColumnDataProps>;
|
|
1309
|
+
treeData: Array<ObjectProps>;
|
|
1310
|
+
onClick?: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>, data: any) => void;
|
|
1311
|
+
onChange?: (e: any, node: any) => void;
|
|
1312
|
+
selected: Array<string>;
|
|
1313
|
+
}
|
|
1314
|
+
declare const TableTree: ({ columnsData, treeData, select, onClick, onChange, selected, }: TableTreeProps) => react_jsx_runtime.JSX.Element;
|
|
1315
|
+
|
|
1316
|
+
interface TabsProps {
|
|
1317
|
+
/**
|
|
1318
|
+
* An array of tab objects containing label, component, and optional disabled status.
|
|
1319
|
+
*/
|
|
1320
|
+
tabsData: {
|
|
1321
|
+
id: string;
|
|
1322
|
+
label: string;
|
|
1323
|
+
component?: JSX.Element;
|
|
1324
|
+
disabled?: boolean;
|
|
1325
|
+
}[];
|
|
1326
|
+
/**
|
|
1327
|
+
* Defines the styling variant of the tabs.
|
|
1328
|
+
*/
|
|
1329
|
+
variant?: 'default' | 'capsule';
|
|
1330
|
+
/**
|
|
1331
|
+
* activeTabId : The ID of the currently active tab.
|
|
1332
|
+
*/
|
|
1333
|
+
activeTabId: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* onTabClick : function updates the active tab state when a user interacts with the tabs,
|
|
1336
|
+
*/
|
|
1337
|
+
onTabClick: (id: string) => void;
|
|
1338
|
+
/**
|
|
1339
|
+
* noBorder:true , removes the outer border from tabs
|
|
1340
|
+
*/
|
|
1341
|
+
noBorder?: boolean;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
declare const Tabs: ({ variant, tabsData, activeTabId, onTabClick, noBorder, }: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
1345
|
+
|
|
1346
|
+
interface HighlightTextProps {
|
|
1347
|
+
text?: string;
|
|
1348
|
+
highlight?: String;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
declare const HighlightText: React.FC<HighlightTextProps>;
|
|
1352
|
+
|
|
1353
|
+
interface CheckboxProps {
|
|
1354
|
+
/**
|
|
1355
|
+
* Unique ID for the checkbox input
|
|
1356
|
+
*/
|
|
1357
|
+
id?: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* Name attribute for the checkbox input
|
|
1360
|
+
*/
|
|
1361
|
+
name?: string;
|
|
1362
|
+
/**
|
|
1363
|
+
* Optional side label
|
|
1364
|
+
*/
|
|
1365
|
+
label?: string;
|
|
1366
|
+
/**
|
|
1367
|
+
* Optional disable attribute
|
|
1368
|
+
*/
|
|
1369
|
+
disabled?: boolean;
|
|
1370
|
+
/**
|
|
1371
|
+
* Optional checked attribute to prefill
|
|
1372
|
+
*/
|
|
1373
|
+
checked?: boolean;
|
|
1374
|
+
/**
|
|
1375
|
+
* Optional onChange function
|
|
1376
|
+
*/
|
|
1377
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
1378
|
+
/**
|
|
1379
|
+
* For partially checked checkbox
|
|
1380
|
+
*/
|
|
1381
|
+
partial?: boolean;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
declare const Checkbox: React__default.FC<CheckboxProps>;
|
|
1385
|
+
|
|
1386
|
+
interface SearchProps {
|
|
1387
|
+
/**
|
|
1388
|
+
* Placeholder for the input field
|
|
1389
|
+
*/
|
|
1390
|
+
placeholder?: string;
|
|
1391
|
+
/**
|
|
1392
|
+
* Callback function to be called when the search button is clicked or enter key is pressed
|
|
1393
|
+
*/
|
|
1394
|
+
onSearch: (query: string) => void;
|
|
1395
|
+
/**
|
|
1396
|
+
* Additional styles for the button
|
|
1397
|
+
*/
|
|
1398
|
+
disabled?: boolean;
|
|
1399
|
+
width?: number;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
declare const Search: ({ placeholder, onSearch, disabled, width, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
|
1403
|
+
|
|
1404
|
+
interface DatePickerProps {
|
|
1405
|
+
/**
|
|
1406
|
+
* The minimum selectable date.
|
|
1407
|
+
*/
|
|
1408
|
+
minDate?: DateValue;
|
|
1409
|
+
/**
|
|
1410
|
+
* The maximum selectable date.
|
|
1411
|
+
*/
|
|
1412
|
+
maxDate?: DateValue;
|
|
1413
|
+
/**
|
|
1414
|
+
* Selected date value.
|
|
1415
|
+
*/
|
|
1416
|
+
value?: DateValue;
|
|
1417
|
+
/**
|
|
1418
|
+
* Function to handle date selection.
|
|
1419
|
+
*/
|
|
1420
|
+
onChange: (value: DateValue) => void;
|
|
1421
|
+
/**
|
|
1422
|
+
* Placeholder text for the input field.
|
|
1423
|
+
*/
|
|
1424
|
+
placeholder?: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* Disables the date picker.
|
|
1427
|
+
*/
|
|
1428
|
+
disabled?: boolean;
|
|
1429
|
+
/**
|
|
1430
|
+
* Format for displaying the selected date. Default is 'EEEE, dd MMM yyyy'.
|
|
1431
|
+
*/
|
|
1432
|
+
dateFormat?: string;
|
|
1433
|
+
/**
|
|
1434
|
+
* Format for displaying the selected time. Default is 'hh:mm a'.
|
|
1435
|
+
*/
|
|
1436
|
+
timeFormat?: string;
|
|
1437
|
+
/**
|
|
1438
|
+
* Timezone for the date picker.
|
|
1439
|
+
*/
|
|
1440
|
+
timezone?: string;
|
|
1441
|
+
/**
|
|
1442
|
+
* Custom width for the calendar. This will override the default width of the calendar.
|
|
1443
|
+
*/
|
|
1444
|
+
calendarWidth?: number;
|
|
1445
|
+
/**
|
|
1446
|
+
* When true, displays the input field error.
|
|
1447
|
+
*/
|
|
1448
|
+
error?: boolean;
|
|
1449
|
+
/**
|
|
1450
|
+
* Helper text to display below the input field, used for error messages or instructions.
|
|
1451
|
+
*/
|
|
1452
|
+
helperText?: string | undefined;
|
|
1453
|
+
}
|
|
1454
|
+
type DateValue = Date | undefined;
|
|
1455
|
+
|
|
1456
|
+
declare const CustomDatePicker: React__default.FC<DatePickerProps>;
|
|
1457
|
+
|
|
1458
|
+
interface StateDropdownProps {
|
|
1459
|
+
value: string;
|
|
1460
|
+
nodeObj: {};
|
|
1461
|
+
isReviewer: boolean;
|
|
1462
|
+
isApprovePage: boolean;
|
|
1463
|
+
handleDropdownOptionsClick: () => void;
|
|
1464
|
+
disabled: boolean;
|
|
1465
|
+
isOnlyReviewer: boolean;
|
|
1466
|
+
userHasOnlyViewAccess: boolean;
|
|
1467
|
+
handleStateValueClick: () => void;
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
declare const StateDropdown: ({ value, nodeObj, isReviewer, isApprovePage, handleStateValueClick, handleDropdownOptionsClick, disabled, isOnlyReviewer, userHasOnlyViewAccess, }: StateDropdownProps) => react_jsx_runtime.JSX.Element;
|
|
1471
|
+
|
|
1472
|
+
interface IconButtonProps {
|
|
1473
|
+
label: string;
|
|
1474
|
+
iconName: string;
|
|
1475
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
declare const IconButton: React__default.FC<IconButtonProps>;
|
|
1479
|
+
|
|
1480
|
+
interface ModalProps {
|
|
1481
|
+
isOpen: boolean;
|
|
1482
|
+
onClose: () => void;
|
|
1483
|
+
/*** label value for aria-label */
|
|
1484
|
+
contentLabel?: string;
|
|
1485
|
+
/*** default header will be provided with title and close icon. */
|
|
1486
|
+
isHeaderDisplayed: boolean;
|
|
1487
|
+
/*** Title to be displayed in the header when defaultHeader is true*/
|
|
1488
|
+
headerTitle?: string;
|
|
1489
|
+
/*** Custom class names for the modal content */
|
|
1490
|
+
contentClassName?: string;
|
|
1491
|
+
/*** Custom class name for the overlay */
|
|
1492
|
+
overlayClassName?: string;
|
|
1493
|
+
/*** Whether the modal should close when the 'Escape' key is pressed */
|
|
1494
|
+
shouldCloseOnEsc?: boolean;
|
|
1495
|
+
/*** Whether to hide the app from screen readers when the modal is open */
|
|
1496
|
+
ariaHideApp?: boolean;
|
|
1497
|
+
/*** Whether the modal should close when clicking outside of it (on the overlay) */
|
|
1498
|
+
shouldCloseOnOverlayClick?: boolean;
|
|
1499
|
+
headerContent?: string | ReactNode;
|
|
1500
|
+
footerContent?: ReactNode;
|
|
1501
|
+
/***Content to be displayed inside the modal */
|
|
1502
|
+
children: ReactNode;
|
|
1503
|
+
isFooterDisplayed: boolean;
|
|
1504
|
+
customWidth: string;
|
|
1505
|
+
customHeight?: string;
|
|
1506
|
+
zIndex?: number;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
declare const Modal: React__default.FC<ModalProps>;
|
|
1510
|
+
|
|
1511
|
+
declare const DragAndDrop: {
|
|
1512
|
+
DNDCore: typeof DNDCore;
|
|
1513
|
+
DNDSortable: typeof DNDSortable;
|
|
1514
|
+
DNDUtilities: typeof DNDUtilities;
|
|
1515
|
+
};
|
|
1516
|
+
|
|
1517
|
+
interface VariableInputProps {
|
|
1518
|
+
/**
|
|
1519
|
+
* Name | name of the input field
|
|
1520
|
+
*/
|
|
1521
|
+
name: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* Label | field label to be displayed
|
|
1524
|
+
*/
|
|
1525
|
+
label: string;
|
|
1526
|
+
/**
|
|
1527
|
+
* value | input field value
|
|
1528
|
+
*/
|
|
1529
|
+
value: string | null;
|
|
1530
|
+
/**
|
|
1531
|
+
* type to set color/style of the input field
|
|
1532
|
+
*/
|
|
1533
|
+
type: 'text' | 'password' | 'number' | 'email' | 'url' | 'time';
|
|
1534
|
+
/**
|
|
1535
|
+
* error | If true, error message will be displayed
|
|
1536
|
+
*/
|
|
1537
|
+
error?: boolean;
|
|
1538
|
+
/**
|
|
1539
|
+
* to disable the input field
|
|
1540
|
+
*/
|
|
1541
|
+
disabled?: boolean;
|
|
1542
|
+
/**
|
|
1543
|
+
* if true, input field will be mandatory
|
|
1544
|
+
*/
|
|
1545
|
+
required?: boolean;
|
|
1546
|
+
/**
|
|
1547
|
+
* placeholder for the input field
|
|
1548
|
+
*/
|
|
1549
|
+
placeholder?: string;
|
|
1550
|
+
/**
|
|
1551
|
+
* classnames to style the input field
|
|
1552
|
+
*/
|
|
1553
|
+
className?: string;
|
|
1554
|
+
/**
|
|
1555
|
+
* onChange, onKeyDown, onBlur, onFocus actions
|
|
1556
|
+
*/
|
|
1557
|
+
onChange?: (value: string) => void | undefined;
|
|
1558
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
1559
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
1560
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
1561
|
+
/**
|
|
1562
|
+
* id to select the input field uniquely
|
|
1563
|
+
*/
|
|
1564
|
+
id?: string;
|
|
1565
|
+
/**
|
|
1566
|
+
* list of variables
|
|
1567
|
+
*/
|
|
1568
|
+
list?: string[];
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) => react_jsx_runtime.JSX.Element;
|
|
1572
|
+
|
|
1573
|
+
interface optionsType {
|
|
1574
|
+
label: string;
|
|
1575
|
+
value: string;
|
|
1576
|
+
iconName: string;
|
|
1577
|
+
}
|
|
1578
|
+
interface AllProjectsDropdownProps {
|
|
1579
|
+
options: optionsType[];
|
|
1580
|
+
onClick: (option: optionsType) => void;
|
|
1581
|
+
selectedOption: optionsType;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
declare const AllProjectsDropdown: ({ onClick, options, selectedOption, }: AllProjectsDropdownProps) => react_jsx_runtime.JSX.Element;
|
|
1585
|
+
|
|
1586
|
+
interface PieChartProps {
|
|
1587
|
+
radius: number;
|
|
1588
|
+
data: Array<{
|
|
1589
|
+
label: string;
|
|
1590
|
+
value: number;
|
|
1591
|
+
}>;
|
|
1592
|
+
colors: string[];
|
|
1593
|
+
chartBorder: boolean;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
declare const PieChart: React__default.FC<PieChartProps>;
|
|
1597
|
+
|
|
1598
|
+
interface AppHeaderProps {
|
|
1599
|
+
logoIconName: string;
|
|
1600
|
+
leftContent?: ReactNode;
|
|
1601
|
+
rightContent?: ReactNode;
|
|
1602
|
+
projectsList?: string[];
|
|
1603
|
+
appHeaderMenuItems: appHeaderMenuItemProps[];
|
|
1604
|
+
appHeaderHiddenMenuItems?: string[];
|
|
1605
|
+
selectedMenu: string;
|
|
1606
|
+
selectedSubMenu?: string;
|
|
1607
|
+
selectedQuickMenu?: string;
|
|
1608
|
+
onMenuClick?: (text: any) => void;
|
|
1609
|
+
onSubMenuClick?: (text: any) => void;
|
|
1610
|
+
onQuickMenuClick?: (text: any) => void;
|
|
1611
|
+
}
|
|
1612
|
+
interface appHeaderMenuItemProps {
|
|
1613
|
+
menuLabel: string;
|
|
1614
|
+
menuName?: string;
|
|
1615
|
+
subMenuItems?: appHeaderSubMenuItemProps[];
|
|
1616
|
+
}
|
|
1617
|
+
interface appHeaderSubMenuItemProps {
|
|
1618
|
+
subMenuLabel: string;
|
|
1619
|
+
subMenuName?: string;
|
|
1620
|
+
quickMenuItems?: appHeaderQuickMenuItemProps[];
|
|
1621
|
+
}
|
|
1622
|
+
interface appHeaderQuickMenuItemProps {
|
|
1623
|
+
quickMenuLabel?: string;
|
|
1624
|
+
quickMenuName?: string;
|
|
1625
|
+
quickMenuIconName: string;
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
declare const AppHeader: React.FC<AppHeaderProps>;
|
|
1629
|
+
|
|
1630
|
+
interface PaperProps {
|
|
1631
|
+
/**
|
|
1632
|
+
* The content of the component.
|
|
1633
|
+
*/
|
|
1634
|
+
children?: React.ReactNode;
|
|
1635
|
+
/**
|
|
1636
|
+
* Override or extend the styles applied to the component.
|
|
1637
|
+
*/
|
|
1638
|
+
className?: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* If `true`, rounded corners are Enabled.
|
|
1641
|
+
* @default false
|
|
1642
|
+
*/
|
|
1643
|
+
rounded?: boolean;
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
declare const Paper: ({ children, className, rounded }: PaperProps) => react_jsx_runtime.JSX.Element;
|
|
1647
|
+
|
|
1648
|
+
type ChartItem = {
|
|
1649
|
+
key: string;
|
|
1650
|
+
value: number;
|
|
1651
|
+
color?: string;
|
|
1652
|
+
};
|
|
1653
|
+
type LegendType = 'numberLegend' | 'pillLegend' | 'memoryLegend' | 'tableLegend';
|
|
1654
|
+
type DashboardDonutChartProps = {
|
|
1655
|
+
radius: number;
|
|
1656
|
+
lineWidth: number;
|
|
1657
|
+
statusValues: ChartItem[];
|
|
1658
|
+
legendDetailsType: string;
|
|
1659
|
+
isLegendDetails: boolean;
|
|
1660
|
+
gapAngle?: number;
|
|
1661
|
+
legendType: LegendType;
|
|
1662
|
+
showOnlyLabel: boolean;
|
|
1663
|
+
};
|
|
1664
|
+
|
|
1665
|
+
declare const DashboardDonutChart: React__default.FC<DashboardDonutChartProps>;
|
|
1666
|
+
|
|
1667
|
+
interface RecaptchaProps extends Omit<ComponentProps<typeof ReCAPTCHA>, 'onChange'> {
|
|
1668
|
+
/**
|
|
1669
|
+
* Callback function that receives the verification token
|
|
1670
|
+
*/
|
|
1671
|
+
onVerify: (token: string | null) => void;
|
|
1672
|
+
/**
|
|
1673
|
+
* Optional CSS class name
|
|
1674
|
+
*/
|
|
1675
|
+
className?: string;
|
|
1676
|
+
/**
|
|
1677
|
+
* Optional error message to display
|
|
1678
|
+
*/
|
|
1679
|
+
error?: string | null;
|
|
1680
|
+
/**
|
|
1681
|
+
* reCAPTCHA site key
|
|
1682
|
+
*/
|
|
1683
|
+
sitekey: string;
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
declare const Recaptcha: React$1.ForwardRefExoticComponent<RecaptchaProps & React$1.RefAttributes<ReCAPTCHA>>;
|
|
1687
|
+
|
|
1688
|
+
interface SelectProps {
|
|
1689
|
+
label?: string;
|
|
1690
|
+
showLabel?: boolean;
|
|
1691
|
+
optionsList: any[];
|
|
1692
|
+
selectedOption?: Option;
|
|
1693
|
+
onChange: (option: Option) => void;
|
|
1694
|
+
errorMsg?: string;
|
|
1695
|
+
className?: string;
|
|
1696
|
+
optionZIndex?: number;
|
|
1697
|
+
disabled?: boolean;
|
|
1698
|
+
borderRadius?: boolean;
|
|
1699
|
+
showBorder?: boolean;
|
|
1700
|
+
required?: boolean;
|
|
1701
|
+
}
|
|
1702
|
+
interface Option {
|
|
1703
|
+
displayName: string | ReactNode;
|
|
1704
|
+
projectId: string;
|
|
1705
|
+
nlpType: string;
|
|
1706
|
+
platform: string;
|
|
1707
|
+
disabled?: boolean;
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
declare const NlpInput: ({ label, showLabel, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
|
1711
|
+
|
|
1712
|
+
interface IconRadioItem {
|
|
1713
|
+
/**
|
|
1714
|
+
* The unique name for the icon, used to load the corresponding icon.
|
|
1715
|
+
*/
|
|
1716
|
+
iconName: string;
|
|
1717
|
+
/**
|
|
1718
|
+
* The display label for the icon. This can be used for accessibility purposes.
|
|
1719
|
+
*/
|
|
1720
|
+
iconLabel: string;
|
|
1721
|
+
/**
|
|
1722
|
+
* Flag to determine if the icon option is disabled.
|
|
1723
|
+
*/
|
|
1724
|
+
disabled?: boolean;
|
|
1725
|
+
/**
|
|
1726
|
+
* Message to display when the option is disabled.
|
|
1727
|
+
*/
|
|
1728
|
+
disableMessage?: string;
|
|
1729
|
+
}
|
|
1730
|
+
interface IconRadioGroupProps {
|
|
1731
|
+
/**
|
|
1732
|
+
* Array of icon items that make up the radio button group.
|
|
1733
|
+
*/
|
|
1734
|
+
items: IconRadioItem[];
|
|
1735
|
+
/**
|
|
1736
|
+
* Callback function called when a button/icon is clicked.
|
|
1737
|
+
* It returns the selected item.
|
|
1738
|
+
*/
|
|
1739
|
+
onButtonClick: (selectedItem: IconRadioItem) => void;
|
|
1740
|
+
/**
|
|
1741
|
+
* The currently selected icon value
|
|
1742
|
+
*/
|
|
1743
|
+
selectedValue?: string | null;
|
|
1744
|
+
/**
|
|
1745
|
+
* Callback function to notify parent of selection change.
|
|
1746
|
+
*/
|
|
1747
|
+
onChange?: (selected: string | null) => void;
|
|
1748
|
+
/**
|
|
1749
|
+
* Optional className for custom styling
|
|
1750
|
+
*/
|
|
1751
|
+
className?: string;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
declare const IconRadioGroup: React__default.FC<IconRadioGroupProps>;
|
|
1755
|
+
|
|
1756
|
+
interface MachineType {
|
|
1757
|
+
type: 'Local' | 'mac' | 'android' | 'Google Chrome';
|
|
1758
|
+
label: string;
|
|
1759
|
+
}
|
|
1760
|
+
interface MachineInputFieldProps {
|
|
1761
|
+
width: string;
|
|
1762
|
+
options: MachineType[];
|
|
1763
|
+
runCount: number;
|
|
1764
|
+
className?: string;
|
|
1765
|
+
contentReverse?: boolean;
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
declare const MachineInputField: React$1.ForwardRefExoticComponent<MachineInputFieldProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1769
|
+
|
|
1770
|
+
interface SequentialConnectingBranchProps {
|
|
1771
|
+
machineInstances?: ExecutionContext[] | {}[];
|
|
1772
|
+
machineColumnWidth?: number;
|
|
1773
|
+
machineColumnCount?: number;
|
|
1774
|
+
machineInstance: ExecutionContext;
|
|
1775
|
+
selectedMachine?: string;
|
|
1776
|
+
onMachineSelectionChange?: (selectedMachine: Option$2) => void;
|
|
1777
|
+
machineOptionsList?: Option$2[];
|
|
1778
|
+
}
|
|
1779
|
+
interface MachineInfo {
|
|
1780
|
+
osName: string;
|
|
1781
|
+
osVersion: string;
|
|
1782
|
+
hostName: string;
|
|
1783
|
+
}
|
|
1784
|
+
interface DeviceInfo {
|
|
1785
|
+
}
|
|
1786
|
+
interface ExecutionContext {
|
|
1787
|
+
id: string;
|
|
1788
|
+
clientId: string;
|
|
1789
|
+
runCount: number;
|
|
1790
|
+
executionEnv?: 'Local';
|
|
1791
|
+
browserName?: 'Local' | 'mac' | 'android' | 'Google Chrome';
|
|
1792
|
+
browserVersion: string;
|
|
1793
|
+
systemUrl: string;
|
|
1794
|
+
machineInfo: MachineInfo;
|
|
1795
|
+
deviceInfo: DeviceInfo[];
|
|
1796
|
+
headless: boolean;
|
|
1797
|
+
peVariableSetId: string;
|
|
1798
|
+
globalVariableSetId: string;
|
|
1799
|
+
testDataSetId: string;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
declare const SequentialConnectingBranch: ({ machineInstances, machineColumnWidth, machineColumnCount, machineInstance, selectedMachine, machineOptionsList, onMachineSelectionChange, }: SequentialConnectingBranchProps) => react_jsx_runtime.JSX.Element;
|
|
1803
|
+
|
|
1804
|
+
interface AttachmentUploaderProps {
|
|
1805
|
+
label: string;
|
|
1806
|
+
selectedFiles: File[];
|
|
1807
|
+
onFilesChange: (files: File[]) => void;
|
|
1808
|
+
disabled?: boolean;
|
|
1809
|
+
maxFileSizeMB?: number;
|
|
1810
|
+
maxFiles?: number;
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
declare const AttachmentButton: React__default.FC<AttachmentUploaderProps>;
|
|
1814
|
+
|
|
1815
|
+
declare const ExcelFile: React__default.FC<ExcelFileProps>;
|
|
1816
|
+
|
|
1817
|
+
type valueType$1 = any;
|
|
1818
|
+
declare const checkEmpty: (value: valueType$1) => boolean;
|
|
1819
|
+
|
|
1820
|
+
type valueType = File | string;
|
|
1821
|
+
declare const getExtension: (value: valueType) => string | undefined;
|
|
1822
|
+
declare const getExtensionWithPeriod: (value: valueType) => string;
|
|
1823
|
+
|
|
1824
|
+
type AnyObject$1 = {
|
|
1825
|
+
id: number;
|
|
1826
|
+
[key: string]: any;
|
|
1827
|
+
};
|
|
1828
|
+
declare function findAndInsert<T extends AnyObject$1>(data: T[], key: keyof T, targetId: number, newEntry: T, insertPosition: 'above' | 'below' | 'replace', childrenKey?: string): {
|
|
1829
|
+
updatedArray: T[];
|
|
1830
|
+
} | null;
|
|
1831
|
+
|
|
1832
|
+
declare const ffid: () => string;
|
|
1833
|
+
|
|
1834
|
+
type Callback$1 = (...args: any[]) => void;
|
|
1835
|
+
interface DebouncedFunction extends Function {
|
|
1836
|
+
cancel: () => void;
|
|
1837
|
+
}
|
|
1838
|
+
declare const debounce: (func: Callback$1, delay: number) => DebouncedFunction;
|
|
1839
|
+
|
|
1840
|
+
/**
|
|
1841
|
+
* Compare two arrays for equality.
|
|
1842
|
+
* This function checks if both arrays contain the same elements in the same order,
|
|
1843
|
+
* including nested structures.
|
|
1844
|
+
*
|
|
1845
|
+
* @param arr1 - The first array to compare.
|
|
1846
|
+
* @param arr2 - The second array to compare.
|
|
1847
|
+
* @returns - A boolean indicating if the arrays are equal.
|
|
1848
|
+
*/
|
|
1849
|
+
declare const compareArrays: (arr1: unknown[], arr2: unknown[]) => boolean;
|
|
1850
|
+
|
|
1851
|
+
type AnyObject = Record<string, unknown>;
|
|
1852
|
+
declare const compareObjects: (obj1: AnyObject | null, obj2: AnyObject | null) => boolean;
|
|
1853
|
+
|
|
1854
|
+
declare const getEncryptedData: (data: string, publicKey: string) => string | false;
|
|
1855
|
+
|
|
1856
|
+
type Callback = (...args: any[]) => void;
|
|
1857
|
+
interface ThrottledFunction extends Function {
|
|
1858
|
+
cancel: () => void;
|
|
1859
|
+
}
|
|
1860
|
+
declare const throttle: (func: Callback, limit: number) => ThrottledFunction;
|
|
1861
|
+
|
|
1862
|
+
declare const truncateText: (text: string, maxLength: number) => string;
|
|
1863
|
+
|
|
1864
|
+
export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachmentButton, Button, Checkbox, Chip, Col, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, ExcelFile, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, IconButton, IconRadioGroup, Input, InputWithDropdown, MachineInputField, MenuOption, MiniModal, Modal, MultiSelect, NlpInput as NLPInput, Paper, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, throttle, truncateText, useTheme };
|