pixel-react 1.9.1 → 1.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/install-state.gz +0 -0
- package/lib/components/Charts/BarChart/BarChart.d.ts +1 -0
- package/lib/components/Charts/MultiRadialChart/types.d.ts +2 -0
- package/lib/components/Excel/ExcelFile/ExcelFile.d.ts +1 -3
- package/lib/components/Excel/Types.d.ts +1 -1
- package/lib/components/Table/Table.d.ts +1 -1
- package/lib/components/Table/Types.d.ts +8 -0
- package/lib/components/TableTree/Components/TableCell.d.ts +1 -1
- package/lib/components/TableTree/Components/TableRow.d.ts +1 -1
- package/lib/components/TableTree/data.d.ts +54 -262
- package/lib/components/TableTree/types.d.ts +0 -6
- package/lib/index.d.ts +18 -7
- package/lib/index.esm.js +21547 -21727
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +21554 -21733
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/indexDBStore/indexDB.d.ts +2 -2
- package/lib/utils/swapArrayItem/dragAndDropUtils.d.ts +1 -0
- package/package.json +1 -2
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +55 -0
- package/src/assets/Themes/BaseTheme.scss +17 -6
- package/src/assets/Themes/BlueTheme.scss +12 -0
- package/src/assets/Themes/DarkTheme.scss +20 -6
- package/src/assets/icons/approval_pending.svg +8 -8
- package/src/assets/icons/azure.svg +9 -0
- package/src/assets/icons/bitbucket.svg +9 -0
- package/src/assets/icons/clear_history.svg +6 -0
- package/src/assets/icons/code.svg +4 -0
- package/src/assets/icons/code_colored.svg +4 -0
- package/src/assets/icons/configuration.svg +3 -3
- package/src/assets/icons/csharp.svg +9 -0
- package/src/assets/icons/cypress.svg +9 -0
- package/src/assets/icons/defects.svg +8 -8
- package/src/assets/icons/delete_filled.svg +12 -0
- package/src/assets/icons/design_link.svg +7 -0
- package/src/assets/icons/disable_icon.svg +3 -0
- package/src/assets/icons/element.svg +4 -4
- package/src/assets/icons/enable_icon.svg +3 -0
- package/src/assets/icons/file_colored.svg +5 -0
- package/src/assets/icons/github.svg +9 -0
- package/src/assets/icons/gitlab.svg +9 -0
- package/src/assets/icons/java.svg +4 -0
- package/src/assets/icons/javascript.svg +11 -0
- package/src/assets/icons/jenkins.svg +9 -0
- package/src/assets/icons/jira_colored.svg +15 -0
- package/src/assets/icons/jira_logo.svg +9 -0
- package/src/assets/icons/mic.svg +4 -0
- package/src/assets/icons/mic_filled.svg +28 -0
- package/src/assets/icons/playwright.svg +9 -0
- package/src/assets/icons/primary_calendar_icon.svg +3 -0
- package/src/assets/icons/project_element.svg +4 -4
- package/src/assets/icons/python.svg +19 -0
- package/src/assets/icons/regenerate.svg +4 -0
- package/src/assets/icons/right_arrow_filled_icon.svg +5 -0
- package/src/assets/icons/screenshot.svg +7 -0
- package/src/assets/icons/slack.svg +9 -0
- package/src/assets/icons/step_group.svg +10 -10
- package/src/assets/icons/variable.svg +3 -3
- package/src/assets/icons/web_service_icon.svg +3 -3
- package/src/components/Button/Button.tsx +2 -0
- package/src/components/Charts/BarChart/BarChart.stories.tsx +2 -1
- package/src/components/Charts/BarChart/BarChart.tsx +6 -2
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.scss +0 -2
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.stories.tsx +7 -1
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.tsx +5 -2
- package/src/components/Charts/MultiRadialChart/types.ts +2 -0
- package/src/components/DatePicker/DatePicker.scss +379 -632
- package/src/components/DatePicker/DatePicker.tsx +130 -98
- package/src/components/DatePicker/Timepicker.tsx +1 -13
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +48 -42
- package/src/components/Excel/ExcelFile.stories.tsx +98 -96
- package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +65 -28
- package/src/components/Excel/Types.ts +1 -1
- package/src/components/Excel/dataConversion.ts +8 -10
- package/src/components/Icon/iconList.ts +60 -3
- package/src/components/Table/Table.scss +44 -11
- package/src/components/Table/Table.stories.tsx +60 -1
- package/src/components/Table/Table.tsx +190 -123
- package/src/components/Table/Types.ts +8 -0
- package/src/components/TableTree/Components/TableBody.tsx +18 -20
- package/src/components/TableTree/Components/TableCell.tsx +28 -16
- package/src/components/TableTree/Components/TableRow.tsx +4 -7
- package/src/components/TableTree/TableTree.stories.tsx +10 -10
- package/src/components/TableTree/TableTree.tsx +19 -16
- package/src/components/TableTree/data.ts +53 -362
- package/src/components/TableTree/types.ts +0 -6
- package/src/components/TextArea/Textarea.scss +24 -6
- package/src/index.ts +3 -1
- package/src/utils/indexDBStore/indexDB.ts +63 -33
- package/src/utils/swapArrayItem/dragAndDropUtils.ts +11 -0
- package/lib/1fb4472b34e4fe07.css +0 -1
- package/lib/StyleGuide/ColorPalette/ColorPalette.stories.d.ts +0 -6
- package/lib/StyleGuide/Typography/Typography.stories.d.ts +0 -6
- package/lib/assets/fonts/Poppins-Bold.ttf +0 -0
- package/lib/assets/fonts/Poppins-Medium.ttf +0 -0
- package/lib/assets/fonts/Poppins-Regular.ttf +0 -0
- package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
- package/lib/components/Accordion/Accordion.stories.d.ts +0 -6
- package/lib/components/AddButton/AddButton.d.ts +0 -5
- package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
- package/lib/components/AddButton/index.d.ts +0 -1
- package/lib/components/AddButton/types.d.ts +0 -4
- package/lib/components/AddResourceButton/AddButton.stories.d.ts +0 -8
- package/lib/components/AddVariables/AddVariables.d.ts +0 -5
- package/lib/components/AddVariables/index.d.ts +0 -1
- package/lib/components/AddVariables/types.d.ts +0 -35
- package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +0 -7
- package/lib/components/AppHeader/AppHeader.stories.d.ts +0 -7
- package/lib/components/AttachImage/AttachImage.stories.d.ts +0 -7
- package/lib/components/AttachmentButton/AttachmentButton.stories.d.ts +0 -9
- package/lib/components/Avatar/Avatar.stories.d.ts +0 -10
- package/lib/components/Button/Button.stories.d.ts +0 -13
- package/lib/components/Charts/BarChart/BarChart.stories.d.ts +0 -6
- package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +0 -7
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +0 -6
- package/lib/components/Charts/IconRadialChart/IconRadialChart.stories.d.ts +0 -8
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts +0 -7
- package/lib/components/Charts/MultiRadialChart/MultiRadialChart.stories.d.ts +0 -8
- package/lib/components/Charts/PieChart/PieChart.stories.d.ts +0 -7
- package/lib/components/Charts/RadialChart/RadialChart.stories.d.ts +0 -6
- package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -8
- package/lib/components/Chip/Chip.stories.d.ts +0 -14
- package/lib/components/ConnectingBranch/ConnectingBranch.stories.d.ts +0 -6
- package/lib/components/DatePicker/DatePicker.stories.d.ts +0 -9
- package/lib/components/DragAndDrop/DragAndDrop.stories.d.ts +0 -6
- package/lib/components/Drawer/Drawer.stories.d.ts +0 -12
- package/lib/components/EditTextField/EditTextField.stories.d.ts +0 -10
- package/lib/components/Editor/Editor.stories.d.ts +0 -6
- package/lib/components/Excel/ContextMenu/ContextMenu.d.ts +0 -4
- package/lib/components/Excel/ExcelFile.stories.d.ts +0 -6
- package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +0 -14
- package/lib/components/ExcelFile/ColorBarSelector/ColorBarSelector.d.ts +0 -8
- package/lib/components/ExcelFile/ContextMenu/ContextMenu.d.ts +0 -4
- package/lib/components/ExcelFile/ExcelFile/Excel/ActiveCell.d.ts +0 -7
- package/lib/components/ExcelFile/ExcelFile/Excel/Cell.d.ts +0 -4
- package/lib/components/ExcelFile/ExcelFile/Excel/ColumnIndicator.d.ts +0 -5
- package/lib/components/ExcelFile/ExcelFile/Excel/Copied.d.ts +0 -3
- package/lib/components/ExcelFile/ExcelFile/Excel/CornerIndicator.d.ts +0 -5
- package/lib/components/ExcelFile/ExcelFile/Excel/DataEditor.d.ts +0 -5
- package/lib/components/ExcelFile/ExcelFile/Excel/DataViewer.d.ts +0 -8
- package/lib/components/ExcelFile/ExcelFile/Excel/FloatingRect.d.ts +0 -10
- package/lib/components/ExcelFile/ExcelFile/Excel/HeaderRow.d.ts +0 -3
- package/lib/components/ExcelFile/ExcelFile/Excel/Row.d.ts +0 -3
- package/lib/components/ExcelFile/ExcelFile/Excel/RowIndicator.d.ts +0 -5
- package/lib/components/ExcelFile/ExcelFile/Excel/Selected.d.ts +0 -3
- package/lib/components/ExcelFile/ExcelFile/Excel/Spreadsheet.d.ts +0 -80
- package/lib/components/ExcelFile/ExcelFile/Excel/Table.d.ts +0 -3
- package/lib/components/ExcelFile/ExcelFile/Excel/actions.d.ts +0 -174
- package/lib/components/ExcelFile/ExcelFile/Excel/areModelsEqual.d.ts +0 -1
- package/lib/components/ExcelFile/ExcelFile/Excel/context.d.ts +0 -8
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/engine.d.ts +0 -22
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/formula.d.ts +0 -17
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/index.d.ts +0 -2
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-graph.d.ts +0 -21
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-hash.d.ts +0 -3
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-set.d.ts +0 -24
- package/lib/components/ExcelFile/ExcelFile/Excel/index.d.ts +0 -13
- package/lib/components/ExcelFile/ExcelFile/Excel/matrix.d.ts +0 -67
- package/lib/components/ExcelFile/ExcelFile/Excel/point-range.d.ts +0 -22
- package/lib/components/ExcelFile/ExcelFile/Excel/point.d.ts +0 -11
- package/lib/components/ExcelFile/ExcelFile/Excel/reducer.d.ts +0 -27
- package/lib/components/ExcelFile/ExcelFile/Excel/selection.d.ts +0 -95
- package/lib/components/ExcelFile/ExcelFile/Excel/types.d.ts +0 -178
- package/lib/components/ExcelFile/ExcelFile/Excel/use-dispatch.d.ts +0 -3
- package/lib/components/ExcelFile/ExcelFile/Excel/use-selector.d.ts +0 -3
- package/lib/components/ExcelFile/ExcelFile/Excel/util.d.ts +0 -44
- package/lib/components/ExcelFile/ExcelFile/ExcelFile.d.ts +0 -19
- package/lib/components/ExcelFile/ExcelFile.stories.d.ts +0 -6
- package/lib/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.d.ts +0 -12
- package/lib/components/ExcelFile/ExcelToolBar/ExcelToolBar.d.ts +0 -15
- package/lib/components/ExcelFile/ImportExcelStyles.d.ts +0 -24
- package/lib/components/ExcelFile/Types.d.ts +0 -129
- package/lib/components/ExcelFile/index.d.ts +0 -1
- package/lib/components/ExpandableMenu/ExpandableMenu.stories.d.ts +0 -7
- package/lib/components/FF_Captcha/captcha.stories.d.ts +0 -8
- package/lib/components/FileDropzone/FileDropzone.stories.d.ts +0 -8
- package/lib/components/Form/Form.stories.d.ts +0 -7
- package/lib/components/GridLayout/GridLayout.stories.d.ts +0 -8
- package/lib/components/HighlightText/HighlightText.stories.d.ts +0 -6
- package/lib/components/Icon/Icon.stories.d.ts +0 -8
- package/lib/components/IconButton/IconButton.stories.d.ts +0 -7
- package/lib/components/IconRadioGroup/IconRadioGroup.stories.d.ts +0 -7
- package/lib/components/Input/Input.stories.d.ts +0 -9
- package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +0 -9
- package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +0 -13
- package/lib/components/LazyLoad/LazyLoad.stories.d.ts +0 -6
- package/lib/components/MachineInputField/MachineInputField.stories.d.ts +0 -6
- package/lib/components/MenuOption/MenuOption.stories.d.ts +0 -16
- package/lib/components/MiniModal/MiniModal.stories.d.ts +0 -10
- package/lib/components/Modal/Modal.stories.d.ts +0 -7
- package/lib/components/ModulesChip/ModuleChip.stories.d.ts +0 -6
- package/lib/components/MultiSelect/MultiSelect.stories.d.ts +0 -11
- package/lib/components/NLPInput/NlpInput.stories.d.ts +0 -7
- package/lib/components/NLPInput/type.d.ts +0 -70
- package/lib/components/Paper/Paper.stories.d.ts +0 -11
- package/lib/components/RadioButton/RadioButton.stories.d.ts +0 -10
- package/lib/components/RadioGroup/RadioGroup.stories.d.ts +0 -9
- package/lib/components/Search/Search.stories.d.ts +0 -6
- package/lib/components/Select/Select.stories.d.ts +0 -14
- package/lib/components/Select/components/Dropdown/Dropdown.d.ts +0 -4
- package/lib/components/Select/components/Dropdown/dropdownTypes.d.ts +0 -17
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +0 -6
- package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.d.ts +0 -4
- package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/types.d.ts +0 -3
- package/lib/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.d.ts +0 -4
- package/lib/components/SequentialConnectingBranch/components/DatasetListModal/types.d.ts +0 -3
- package/lib/components/StateDropdown/StateDropdown.stories.d.ts +0 -10
- package/lib/components/StatusButton/StatusButton.stories.d.ts +0 -14
- package/lib/components/StatusCard/StatusCard.stories.d.ts +0 -11
- package/lib/components/Table/Table.stories.d.ts +0 -13
- package/lib/components/TableTree/TableTree.stories.d.ts +0 -7
- package/lib/components/Tabs/Tabs.stories.d.ts +0 -9
- package/lib/components/TextArea/Textarea.stories.d.ts +0 -9
- package/lib/components/Toast/Toast.stories.d.ts +0 -6
- package/lib/components/Toastify/Toastify.stories.d.ts +0 -6
- package/lib/components/Toggle/Toggle.stories.d.ts +0 -12
- package/lib/components/Tooltip/Tooltip.stories.d.ts +0 -15
- package/lib/components/Typography/Typography.stories.d.ts +0 -10
- package/lib/components/VariableInput/VariableInput.stories.d.ts +0 -6
- package/lib/utils/checkEmpty/checkEmpty.stories.d.ts +0 -6
- package/lib/utils/compareArrays/compareArrays.stories.d.ts +0 -6
- package/lib/utils/compareObjects/compareObjects.stories.d.ts +0 -6
- package/lib/utils/debounce/debounce.stories.d.ts +0 -6
- package/lib/utils/ffID/ffID.stories.d.ts +0 -6
- package/lib/utils/find/findAndInsert.d.ts +0 -7
- package/lib/utils/find/findAndInsert.stories.d.ts +0 -7
- package/lib/utils/findAndInsert/findAndInsert.stories.d.ts +0 -7
- package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +0 -6
- package/lib/utils/getExtension/getExtension.stories.d.ts +0 -6
- package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +0 -10
- package/lib/utils/throttle/throttle.stories.d.ts +0 -6
- package/lib/utils/truncateText/truncateText.stories.d.ts +0 -6
package/.yarn/install-state.gz
CHANGED
Binary file
|
@@ -17,6 +17,8 @@ export interface MultiRadialChartProps {
|
|
17
17
|
labelFontSize?: number;
|
18
18
|
subLabelFontSize?: number;
|
19
19
|
gapAngle?: number;
|
20
|
+
chartToPillGap: number | string;
|
21
|
+
pillLegendGap: number | string;
|
20
22
|
}
|
21
23
|
export interface ChartItem extends BarValue {
|
22
24
|
label: string;
|
@@ -2,9 +2,7 @@ import React from 'react';
|
|
2
2
|
import './ExcelFile.scss';
|
3
3
|
interface ExcelFileProps {
|
4
4
|
/** The Excel data containing sheets and their content */
|
5
|
-
excelData:
|
6
|
-
sheets: WorkSheet[];
|
7
|
-
};
|
5
|
+
excelData: WorkSheet[];
|
8
6
|
/** Optional: Provide context menu options for actions like right-click */
|
9
7
|
contextOption?: {
|
10
8
|
open: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import './Table.scss';
|
2
2
|
import { TableProps } from './Types';
|
3
|
-
declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, noDataContent, height, className, tableHeadClass, tableBodyRowClass, headerTextColor, tableDataTextColor, headerIconName, headerIconOnClick, }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
3
|
+
declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, noDataContent, height, className, tableHeadClass, tableBodyRowClass, headerTextColor, tableDataTextColor, headerIconName, headerIconOnClick, draggable, onDragEnd, }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
4
4
|
export default Table;
|
@@ -119,4 +119,12 @@ export interface TableProps {
|
|
119
119
|
* handle function for the table header icon
|
120
120
|
*/
|
121
121
|
headerIconOnClick?: () => void;
|
122
|
+
/**
|
123
|
+
* Drag and Drop pass true to enable
|
124
|
+
*/
|
125
|
+
draggable?: boolean;
|
126
|
+
/**
|
127
|
+
* Drag and Drop indexes
|
128
|
+
*/
|
129
|
+
onDragEnd?: (startIndex: number, endIndex: number) => void | undefined;
|
122
130
|
}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { TableCellProps } from '../types';
|
2
2
|
import React from 'react';
|
3
|
-
declare const TableCell: React.MemoExoticComponent<({ col, node,
|
3
|
+
declare const TableCell: React.MemoExoticComponent<({ col, node, selected, select, onCheckBoxChange, onToggleExpand, }: TableCellProps) => import("react/jsx-runtime").JSX.Element>;
|
4
4
|
export default TableCell;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TableRowProps } from '../types';
|
3
|
-
declare const TableRow: React.MemoExoticComponent<({ node,
|
3
|
+
declare const TableRow: React.MemoExoticComponent<({ node, columnsData, selected, select, onRowClick, onToggleExpand, onCheckBoxChange, }: TableRowProps) => import("react/jsx-runtime").JSX.Element>;
|
4
4
|
export default TableRow;
|
@@ -1,266 +1,58 @@
|
|
1
1
|
declare const data: ({
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
};
|
30
|
-
level: number;
|
31
|
-
isLast: boolean;
|
32
|
-
parentSiblings: boolean[];
|
33
|
-
lines?: undefined;
|
2
|
+
createdBy: string;
|
3
|
+
modifiedBy: string;
|
4
|
+
createdByUname: string;
|
5
|
+
modifiedByUname: string;
|
6
|
+
createdOn: string;
|
7
|
+
modifiedOn: string;
|
8
|
+
state: string;
|
9
|
+
path: string;
|
10
|
+
searchKey: string;
|
11
|
+
key: string;
|
12
|
+
name: string;
|
13
|
+
projectId: string;
|
14
|
+
hierarchy: number;
|
15
|
+
executionOrder: number;
|
16
|
+
subContainerCount: number;
|
17
|
+
resourceCount: number;
|
18
|
+
totalSubContainerCount: number;
|
19
|
+
totalResourceCount: number;
|
20
|
+
totalProjectElementCount: number;
|
21
|
+
totalSharedElementCount: number;
|
22
|
+
container: boolean;
|
23
|
+
localDelete: boolean;
|
24
|
+
defaultEntity: boolean;
|
25
|
+
lastResource: boolean;
|
26
|
+
platform: string;
|
27
|
+
parentId?: undefined;
|
28
|
+
parentName?: undefined;
|
34
29
|
} | {
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
};
|
63
|
-
parentSiblings: boolean[];
|
64
|
-
lines: number;
|
65
|
-
level?: undefined;
|
66
|
-
isLast?: undefined;
|
67
|
-
} | {
|
68
|
-
node: {
|
69
|
-
subModuleCount: number;
|
70
|
-
title: string;
|
71
|
-
scriptCount: number;
|
72
|
-
path: string;
|
73
|
-
expanded: boolean;
|
74
|
-
modifiedOn: string;
|
75
|
-
folder: boolean;
|
76
|
-
children: boolean;
|
77
|
-
parentId: string;
|
78
|
-
id: string;
|
79
|
-
lastExecutionOrder?: undefined;
|
80
|
-
imported?: undefined;
|
81
|
-
modifiedBy?: undefined;
|
82
|
-
moduleCountWithScript?: undefined;
|
83
|
-
state?: undefined;
|
84
|
-
key?: undefined;
|
85
|
-
ver?: undefined;
|
86
|
-
hierarchy?: undefined;
|
87
|
-
assigneeCount?: undefined;
|
88
|
-
searchKey?: undefined;
|
89
|
-
modifiedByUname?: undefined;
|
90
|
-
executionOrder?: undefined;
|
91
|
-
createdByUname?: undefined;
|
92
|
-
moduleLevelScriptCount?: undefined;
|
93
|
-
name?: undefined;
|
94
|
-
parentName?: undefined;
|
95
|
-
};
|
96
|
-
level: number;
|
97
|
-
parentSiblings: boolean[];
|
98
|
-
isLast?: undefined;
|
99
|
-
lines?: undefined;
|
100
|
-
} | {
|
101
|
-
node: {
|
102
|
-
ver: number;
|
103
|
-
hierarchy: number;
|
104
|
-
subModuleCount: number;
|
105
|
-
assigneeCount: number;
|
106
|
-
searchKey: string;
|
107
|
-
modifiedByUname: string;
|
108
|
-
title: string;
|
109
|
-
scriptCount: number;
|
110
|
-
executionOrder: number;
|
111
|
-
createdByUname: string;
|
112
|
-
parentId: string;
|
113
|
-
path: string;
|
114
|
-
expanded: boolean;
|
115
|
-
modifiedOn: string;
|
116
|
-
parentName: string;
|
117
|
-
moduleLevelScriptCount: number;
|
118
|
-
lastExecutionOrder: number;
|
119
|
-
imported: boolean;
|
120
|
-
name: string;
|
121
|
-
modifiedBy: string;
|
122
|
-
moduleCountWithScript: number;
|
123
|
-
state: string;
|
124
|
-
key: string;
|
125
|
-
folder: boolean;
|
126
|
-
children: boolean;
|
127
|
-
id: string;
|
128
|
-
};
|
129
|
-
level: number;
|
130
|
-
parentSiblings: boolean[];
|
131
|
-
isLast?: undefined;
|
132
|
-
lines?: undefined;
|
133
|
-
} | {
|
134
|
-
node: {
|
135
|
-
ver: number;
|
136
|
-
hierarchy: number;
|
137
|
-
subModuleCount: number;
|
138
|
-
assigneeCount: number;
|
139
|
-
searchKey: string;
|
140
|
-
modifiedByUname: string;
|
141
|
-
title: string;
|
142
|
-
scriptCount: number;
|
143
|
-
executionOrder: number;
|
144
|
-
createdByUname: string;
|
145
|
-
parentId: string;
|
146
|
-
path: string;
|
147
|
-
expanded: boolean;
|
148
|
-
modifiedOn: string;
|
149
|
-
parentName: string;
|
150
|
-
moduleLevelScriptCount: number;
|
151
|
-
lastExecutionOrder: number;
|
152
|
-
imported: boolean;
|
153
|
-
name: string;
|
154
|
-
modifiedBy: string;
|
155
|
-
moduleCountWithScript: number;
|
156
|
-
state: string;
|
157
|
-
key: string;
|
158
|
-
children: boolean;
|
159
|
-
id: string;
|
160
|
-
folder?: undefined;
|
161
|
-
};
|
162
|
-
level: number;
|
163
|
-
parentSiblings: boolean[];
|
164
|
-
isLast?: undefined;
|
165
|
-
lines?: undefined;
|
166
|
-
} | {
|
167
|
-
node: {
|
168
|
-
ver: number;
|
169
|
-
hierarchy: number;
|
170
|
-
subModuleCount: number;
|
171
|
-
assigneeCount: number;
|
172
|
-
searchKey: string;
|
173
|
-
modifiedByUname: string;
|
174
|
-
title: string;
|
175
|
-
scriptCount: number;
|
176
|
-
executionOrder: number;
|
177
|
-
createdByUname: string;
|
178
|
-
parentId: string;
|
179
|
-
path: string;
|
180
|
-
expanded: boolean;
|
181
|
-
modifiedOn: string;
|
182
|
-
parentName: string;
|
183
|
-
moduleLevelScriptCount: number;
|
184
|
-
lastExecutionOrder: number;
|
185
|
-
imported: boolean;
|
186
|
-
name: string;
|
187
|
-
modifiedBy: string;
|
188
|
-
moduleCountWithScript: number;
|
189
|
-
state: string;
|
190
|
-
key: string;
|
191
|
-
children: boolean;
|
192
|
-
id: string;
|
193
|
-
folder?: undefined;
|
194
|
-
};
|
195
|
-
level: number;
|
196
|
-
parentSiblings: boolean[];
|
197
|
-
isLast: boolean;
|
198
|
-
lines?: undefined;
|
199
|
-
} | {
|
200
|
-
node: {
|
201
|
-
ver: number;
|
202
|
-
hierarchy: number;
|
203
|
-
subModuleCount: number;
|
204
|
-
assigneeCount: number;
|
205
|
-
searchKey: string;
|
206
|
-
modifiedByUname: string;
|
207
|
-
title: string;
|
208
|
-
scriptCount: number;
|
209
|
-
executionOrder: number;
|
210
|
-
createdByUname: string;
|
211
|
-
parentId: string;
|
212
|
-
path: string;
|
213
|
-
expanded: boolean;
|
214
|
-
modifiedOn: string;
|
215
|
-
parentName: string;
|
216
|
-
moduleLevelScriptCount: number;
|
217
|
-
lastExecutionOrder: number;
|
218
|
-
imported: boolean;
|
219
|
-
name: string;
|
220
|
-
modifiedBy: string;
|
221
|
-
moduleCountWithScript: number;
|
222
|
-
state: string;
|
223
|
-
key: string;
|
224
|
-
folder: boolean;
|
225
|
-
children: boolean;
|
226
|
-
id: string;
|
227
|
-
};
|
228
|
-
level: number;
|
229
|
-
parentSiblings: boolean[];
|
230
|
-
isLast: boolean;
|
231
|
-
lines?: undefined;
|
232
|
-
} | {
|
233
|
-
node: {
|
234
|
-
subModuleCount: number;
|
235
|
-
title: string;
|
236
|
-
scriptCount: number;
|
237
|
-
path: string;
|
238
|
-
expanded: boolean;
|
239
|
-
modifiedOn: string;
|
240
|
-
children: boolean;
|
241
|
-
lastExecutionOrder: number;
|
242
|
-
imported: boolean;
|
243
|
-
modifiedBy: string;
|
244
|
-
moduleCountWithScript: number;
|
245
|
-
state: string;
|
246
|
-
key: string;
|
247
|
-
ver: number;
|
248
|
-
hierarchy: number;
|
249
|
-
assigneeCount: number;
|
250
|
-
searchKey: string;
|
251
|
-
modifiedByUname: string;
|
252
|
-
executionOrder: number;
|
253
|
-
createdByUname: string;
|
254
|
-
folder: boolean;
|
255
|
-
moduleLevelScriptCount: number;
|
256
|
-
name: string;
|
257
|
-
parentId: string;
|
258
|
-
id: string;
|
259
|
-
parentName?: undefined;
|
260
|
-
};
|
261
|
-
level: number;
|
262
|
-
parentSiblings: boolean[];
|
263
|
-
isLast: boolean;
|
264
|
-
lines?: undefined;
|
30
|
+
createdBy: string;
|
31
|
+
modifiedBy: string;
|
32
|
+
createdByUname: string;
|
33
|
+
modifiedByUname: string;
|
34
|
+
createdOn: string;
|
35
|
+
modifiedOn: string;
|
36
|
+
state: string;
|
37
|
+
path: string;
|
38
|
+
searchKey: string;
|
39
|
+
parentId: string;
|
40
|
+
parentName: string;
|
41
|
+
key: string;
|
42
|
+
name: string;
|
43
|
+
projectId: string;
|
44
|
+
hierarchy: number;
|
45
|
+
executionOrder: number;
|
46
|
+
subContainerCount: number;
|
47
|
+
resourceCount: number;
|
48
|
+
totalSubContainerCount: number;
|
49
|
+
totalResourceCount: number;
|
50
|
+
totalProjectElementCount: number;
|
51
|
+
totalSharedElementCount: number;
|
52
|
+
container: boolean;
|
53
|
+
localDelete: boolean;
|
54
|
+
defaultEntity: boolean;
|
55
|
+
lastResource: boolean;
|
56
|
+
platform?: undefined;
|
265
57
|
})[];
|
266
58
|
export default data;
|
@@ -9,13 +9,10 @@ declare type JSX = ReactNode | JSX.Element[] | string | null;
|
|
9
9
|
export interface TableCellProps {
|
10
10
|
col: any;
|
11
11
|
node: any;
|
12
|
-
level: number;
|
13
12
|
selected: string[];
|
14
13
|
select: string | null;
|
15
14
|
onCheckBoxChange: (e: any, node: string[] | any) => void;
|
16
15
|
onToggleExpand: (node: any) => void;
|
17
|
-
parentSiblings: boolean[];
|
18
|
-
isLast: boolean | undefined;
|
19
16
|
}
|
20
17
|
export interface TableHeadProps {
|
21
18
|
columnsData: any[];
|
@@ -31,15 +28,12 @@ export interface TableBodyProps {
|
|
31
28
|
}
|
32
29
|
export interface TableRowProps {
|
33
30
|
node: any;
|
34
|
-
level: number;
|
35
31
|
columnsData: any[];
|
36
32
|
selected: string[];
|
37
33
|
select: string | null;
|
38
34
|
onRowClick: (e: any, node: any) => void;
|
39
35
|
onToggleExpand: (node: any) => void;
|
40
36
|
onCheckBoxChange: (e: any, node: string[] | any) => void;
|
41
|
-
parentSiblings: boolean[];
|
42
|
-
isLast: boolean | undefined;
|
43
37
|
}
|
44
38
|
export interface Column {
|
45
39
|
name: string;
|
package/lib/index.d.ts
CHANGED
@@ -1144,9 +1144,17 @@ interface TableProps$1 {
|
|
1144
1144
|
* handle function for the table header icon
|
1145
1145
|
*/
|
1146
1146
|
headerIconOnClick?: () => void;
|
1147
|
+
/**
|
1148
|
+
* Drag and Drop pass true to enable
|
1149
|
+
*/
|
1150
|
+
draggable?: boolean;
|
1151
|
+
/**
|
1152
|
+
* Drag and Drop indexes
|
1153
|
+
*/
|
1154
|
+
onDragEnd?: (startIndex: number, endIndex: number) => void | undefined;
|
1147
1155
|
}
|
1148
1156
|
|
1149
|
-
declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, noDataContent, height, className, tableHeadClass, tableBodyRowClass, headerTextColor, tableDataTextColor, headerIconName, headerIconOnClick, }: TableProps$1) => react_jsx_runtime.JSX.Element;
|
1157
|
+
declare const Table: ({ data, columns, headerType, withCheckbox, onSelect, allSelected, partialSelected, withFixedHeader, borderWithRadius, headerCheckboxDisabled, noDataContent, height, className, tableHeadClass, tableBodyRowClass, headerTextColor, tableDataTextColor, headerIconName, headerIconOnClick, draggable, onDragEnd, }: TableProps$1) => react_jsx_runtime.JSX.Element;
|
1150
1158
|
|
1151
1159
|
/**
|
1152
1160
|
* Props for the Add Resource Button component.
|
@@ -2515,9 +2523,7 @@ declare const EditTextField: FC<LabelEditTextFieldTypes>;
|
|
2515
2523
|
|
2516
2524
|
interface ExcelFileProps {
|
2517
2525
|
/** The Excel data containing sheets and their content */
|
2518
|
-
excelData:
|
2519
|
-
sheets: WorkSheet[];
|
2520
|
-
};
|
2526
|
+
excelData: WorkSheet[];
|
2521
2527
|
/** Optional: Provide context menu options for actions like right-click */
|
2522
2528
|
contextOption?: {
|
2523
2529
|
open: boolean;
|
@@ -2987,6 +2993,7 @@ type BarChartProps = {
|
|
2987
2993
|
barGap?: number;
|
2988
2994
|
colors?: string[][];
|
2989
2995
|
xAxisLabel?: string;
|
2996
|
+
isTruncateText?: boolean;
|
2990
2997
|
yAxisLabel?: string;
|
2991
2998
|
padding?: number;
|
2992
2999
|
yAxisDivisions?: number;
|
@@ -3021,6 +3028,8 @@ interface MultiRadialChartProps {
|
|
3021
3028
|
labelFontSize?: number;
|
3022
3029
|
subLabelFontSize?: number;
|
3023
3030
|
gapAngle?: number;
|
3031
|
+
chartToPillGap: number | string;
|
3032
|
+
pillLegendGap: number | string;
|
3024
3033
|
}
|
3025
3034
|
|
3026
3035
|
declare const MultiRadialChart: React__default.FC<MultiRadialChartProps>;
|
@@ -3270,6 +3279,8 @@ type KeyboardAction = {
|
|
3270
3279
|
|
3271
3280
|
declare const useKeyboardActions: (actions: KeyboardAction[]) => void;
|
3272
3281
|
|
3282
|
+
declare const rearrangeDragItem: (initialArray: any[], oldIndex: number, newIndex: number) => any[];
|
3283
|
+
|
3273
3284
|
declare const EMAIL_REGEX: RegExp;
|
3274
3285
|
declare const URL_REGEX: RegExp;
|
3275
3286
|
declare const PHONE_REGEX: RegExp;
|
@@ -3326,7 +3337,7 @@ declare const ELEMENTS_TRAILING_SPACE_REGEX: RegExp;
|
|
3326
3337
|
declare const ELEMENTS_WHITE_SPACE_REGEX: RegExp;
|
3327
3338
|
declare const PARAMETER_ALPHANUMERIC_REGEX: RegExp;
|
3328
3339
|
|
3329
|
-
declare
|
3330
|
-
declare
|
3340
|
+
declare function saveToIndexedDB(key: string, value: string): Promise<void>;
|
3341
|
+
declare function getFromIndexedDB(key: string): Promise<string | null>;
|
3331
3342
|
|
3332
|
-
export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, Button, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, Checkbox, Chip, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_REGEX, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_TAG_REGEX, HighlightText, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LINKEDIN_PROFILE_REGEX, LabelEditTextField, LineChart, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MenuOption, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, ProgressBar, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, SSN_REGEX, STEP_GROUP_NAME_REGEX, ScriptSwitchButton, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, _default as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, WHITESPACE_REGEX, capitalize, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getFromIndexedDB, getSequentialPayload, hasDuplicateFile, saveFileFromBlob, saveToIndexedDB, throttle, toast, truncateText, useClickOutside, useFileDropzone, useKeyboardActions, useTheme };
|
3343
|
+
export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, Button, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, Checkbox, Chip, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_REGEX, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_TAG_REGEX, HighlightText, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LINKEDIN_PROFILE_REGEX, LabelEditTextField, LineChart, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MenuOption, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, ProgressBar, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, SSN_REGEX, STEP_GROUP_NAME_REGEX, ScriptSwitchButton, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, _default as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, WHITESPACE_REGEX, capitalize, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getFromIndexedDB, getSequentialPayload, hasDuplicateFile, rearrangeDragItem, saveFileFromBlob, saveToIndexedDB, throttle, toast, truncateText, useClickOutside, useFileDropzone, useKeyboardActions, useTheme };
|