pixel-react 1.20.52 → 1.20.54
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/README.md +75 -75
- package/lib/StyleGuide/ColorPalette/index.d.ts +1 -0
- package/lib/StyleGuide/ColorPalette/index.js +2 -0
- package/lib/StyleGuide/ColorPalette/index.js.map +1 -0
- package/lib/StyleGuide/Typography/TypographyList.d.ts +5 -0
- package/lib/StyleGuide/Typography/TypographyList.js +4 -0
- package/lib/StyleGuide/Typography/TypographyList.js.map +1 -0
- package/lib/StyleGuide/Typography/types.d.ts +8 -0
- package/lib/StyleGuide/Typography/types.js +2 -0
- package/lib/StyleGuide/Typography/types.js.map +1 -0
- package/lib/components/AddContentButton/index.d.ts +1 -0
- package/lib/components/AddContentButton/index.js +2 -0
- package/lib/components/AddContentButton/index.js.map +1 -0
- package/lib/components/Carousel/index.d.ts +1 -0
- package/lib/components/Carousel/index.js +2 -0
- package/lib/components/Carousel/index.js.map +1 -0
- package/lib/components/Charts/BarChart/BarChart.js +8 -8
- package/lib/components/Charts/BarChart/types.d.ts +18 -0
- package/lib/components/Charts/BarChart/types.js +2 -0
- package/lib/components/Charts/BarChart/types.js.map +1 -0
- package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js +6 -6
- package/lib/components/Charts/IconRadialChart/IconRadialChart.js +4 -4
- package/lib/components/Charts/PieChart/PieChart.js +5 -5
- package/lib/components/ChatModalAi/ChatModalAi.js +3 -1
- package/lib/components/ChatModalAi/ChatModalAi.js.map +1 -1
- package/lib/components/ChipWithCount/index.d.ts +1 -0
- package/lib/components/ChipWithCount/index.js +2 -0
- package/lib/components/ChipWithCount/index.js.map +1 -0
- package/lib/components/Comments/Comments.js +14 -14
- package/lib/components/Comments/childComment/ChildComment.js +14 -14
- package/lib/components/Comments/index.d.ts +1 -0
- package/lib/components/Comments/index.js +2 -0
- package/lib/components/Comments/index.js.map +1 -0
- package/lib/components/ConditionalDropdown/index.d.ts +1 -0
- package/lib/components/ConditionalDropdown/index.js +2 -0
- package/lib/components/ConditionalDropdown/index.js.map +1 -0
- package/lib/components/ConnectingBranch/index.d.ts +1 -0
- package/lib/components/ConnectingBranch/index.js +2 -0
- package/lib/components/ConnectingBranch/index.js.map +1 -0
- package/lib/components/CreateVariable/index.d.ts +1 -0
- package/lib/components/CreateVariable/index.js +2 -0
- package/lib/components/CreateVariable/index.js.map +1 -0
- package/lib/components/DownloadClient/index.d.ts +1 -0
- package/lib/components/DownloadClient/index.js +2 -0
- package/lib/components/DownloadClient/index.js.map +1 -0
- package/lib/components/DragAndDrop/index.d.ts +1 -0
- package/lib/components/DragAndDrop/index.js +2 -0
- package/lib/components/DragAndDrop/index.js.map +1 -0
- package/lib/components/Drawer/Drawer.js +1 -1
- package/lib/components/Drawer/Drawer.js.map +1 -1
- package/lib/components/EditTextField/EditTextField.js +2 -2
- package/lib/components/Editor/Editor.js +1 -21
- package/lib/components/Editor/Editor.js.map +1 -1
- package/lib/components/Editor/index.d.ts +1 -0
- package/lib/components/Editor/index.js +2 -0
- package/lib/components/Editor/index.js.map +1 -0
- package/lib/components/Excel/Data.d.ts +10 -60
- package/lib/components/Excel/Data.js +67 -33
- package/lib/components/Excel/Data.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFile.js +2 -2
- package/lib/components/Excel/ExcelFile/ExcelFile.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js +4 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Cell.js +5 -3
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Cell.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js +8 -8
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.js +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js +5 -4
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +37 -3
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +9 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.js +7 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/areModelsEqual.d.ts +1 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/areModelsEqual.js +18 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/areModelsEqual.js.map +1 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js +106 -18
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js.map +1 -1
- package/lib/components/Excel/Types.d.ts +2 -0
- package/lib/components/Excel/dataConversion.d.ts +2 -2
- package/lib/components/Excel/dataConversion.js +6 -2
- package/lib/components/Excel/dataConversion.js.map +1 -1
- package/lib/components/ExpandableTable/ExpandableTable.d.ts +12 -0
- package/lib/components/ExpandableTable/ExpandableTable.js +19 -0
- package/lib/components/ExpandableTable/ExpandableTable.js.map +1 -0
- package/lib/components/FF_Captcha/index.d.ts +0 -0
- package/lib/components/FF_Captcha/index.js +2 -0
- package/lib/components/FF_Captcha/index.js.map +1 -0
- package/lib/components/Form/index.d.ts +1 -0
- package/lib/components/Form/index.js +2 -0
- package/lib/components/Form/index.js.map +1 -0
- package/lib/components/Form/types.d.ts +1 -0
- package/lib/components/Form/types.js +2 -0
- package/lib/components/Form/types.js.map +1 -0
- package/lib/components/GridLayout/index.d.ts +2 -0
- package/lib/components/GridLayout/index.js +2 -0
- package/lib/components/GridLayout/index.js.map +1 -0
- package/lib/components/Icon/iconList.js +2 -0
- package/lib/components/Icon/iconList.js.map +1 -1
- package/lib/components/LabelEditTextField/LabelEditTextField.js +4 -4
- package/lib/components/LazyLoad/index.d.ts +1 -0
- package/lib/components/LazyLoad/index.js +2 -0
- package/lib/components/LazyLoad/index.js.map +1 -0
- package/lib/components/Link/index.d.ts +1 -0
- package/lib/components/Link/index.js +2 -0
- package/lib/components/Link/index.js.map +1 -0
- package/lib/components/MediaPreview/index.d.ts +1 -0
- package/lib/components/MediaPreview/index.js +2 -0
- package/lib/components/MediaPreview/index.js.map +1 -0
- package/lib/components/MobileSkin/types.d.ts +37 -0
- package/lib/components/MobileSkin/types.js +2 -0
- package/lib/components/MobileSkin/types.js.map +1 -0
- package/lib/components/ModulesChip/index.d.ts +1 -0
- package/lib/components/ModulesChip/index.js +2 -0
- package/lib/components/ModulesChip/index.js.map +1 -0
- package/lib/components/NetworkErrorBoundary/NetworkErrorBoundary.d.ts +5 -0
- package/lib/components/NetworkErrorBoundary/NetworkErrorBoundary.js +19 -0
- package/lib/components/NetworkErrorBoundary/NetworkErrorBoundary.js.map +1 -0
- package/lib/components/NetworkErrorBoundary/index.d.ts +1 -0
- package/lib/components/NetworkErrorBoundary/index.js +2 -0
- package/lib/components/NetworkErrorBoundary/index.js.map +1 -0
- package/lib/components/NetworkErrorBoundary/types.d.ts +33 -0
- package/lib/components/NetworkErrorBoundary/types.js +2 -0
- package/lib/components/NetworkErrorBoundary/types.js.map +1 -0
- package/lib/components/PrePostTable/index.d.ts +1 -0
- package/lib/components/PrePostTable/index.js +2 -0
- package/lib/components/PrePostTable/index.js.map +1 -0
- package/lib/components/ScriptGenerationLoader/index.d.ts +1 -0
- package/lib/components/ScriptGenerationLoader/index.js +2 -0
- package/lib/components/ScriptGenerationLoader/index.js.map +1 -0
- package/lib/components/StatusIndicator/StatusIndicator.js +5 -5
- package/lib/components/StepsLandingTable/index.d.ts +1 -0
- package/lib/components/StepsLandingTable/index.js +2 -0
- package/lib/components/StepsLandingTable/index.js.map +1 -0
- package/lib/components/Table/NoDataContent.d.ts +4 -0
- package/lib/components/Table/NoDataContent.js +9 -0
- package/lib/components/Table/NoDataContent.js.map +1 -0
- package/lib/components/Table/index.d.ts +1 -0
- package/lib/components/Table/index.js +2 -0
- package/lib/components/Table/index.js.map +1 -0
- package/lib/components/TableTree/Utils/getAllChildIds.d.ts +2 -0
- package/lib/components/TableTree/Utils/getAllChildIds.js +12 -0
- package/lib/components/TableTree/Utils/getAllChildIds.js.map +1 -0
- package/lib/components/TableTree/Utils/renderSpaces.d.ts +0 -0
- package/lib/components/TableTree/Utils/renderSpaces.js +2 -0
- package/lib/components/TableTree/Utils/renderSpaces.js.map +1 -0
- package/lib/components/TableTreeFn/Utils/addNewRow.d.ts +14 -0
- package/lib/components/TableTreeFn/Utils/addNewRow.js +80 -0
- package/lib/components/TableTreeFn/Utils/addNewRow.js.map +1 -0
- package/lib/components/TableTreeFn/Utils/getAllChildIds.d.ts +2 -0
- package/lib/components/TableTreeFn/Utils/getAllChildIds.js +12 -0
- package/lib/components/TableTreeFn/Utils/getAllChildIds.js.map +1 -0
- package/lib/components/TableTreeFn/Utils/renderSpaces.d.ts +0 -0
- package/lib/components/TableTreeFn/Utils/renderSpaces.js +2 -0
- package/lib/components/TableTreeFn/Utils/renderSpaces.js.map +1 -0
- package/lib/components/TableTreeFn/Utils/updateParentSibling.d.ts +3 -0
- package/lib/components/TableTreeFn/Utils/updateParentSibling.js +65 -0
- package/lib/components/TableTreeFn/Utils/updateParentSibling.js.map +1 -0
- package/lib/components/TableWithAccordion/index.d.ts +1 -0
- package/lib/components/TableWithAccordion/index.js +2 -0
- package/lib/components/TableWithAccordion/index.js.map +1 -0
- package/lib/components/TabsWithSilder/index.d.ts +1 -0
- package/lib/components/TabsWithSilder/index.js +2 -0
- package/lib/components/TabsWithSilder/index.js.map +1 -0
- package/lib/components/TextEditor/index.d.ts +1 -0
- package/lib/components/TextEditor/index.js +2 -0
- package/lib/components/TextEditor/index.js.map +1 -0
- package/lib/components/ToggleSwitch/index.d.ts +1 -0
- package/lib/components/ToggleSwitch/index.js +2 -0
- package/lib/components/ToggleSwitch/index.js.map +1 -0
- package/lib/hooks/useClickOutside.d.ts +4 -1
- package/lib/hooks/useClickOutside.js +7 -5
- package/lib/hooks/useClickOutside.js.map +1 -1
- package/lib/index.d.ts +40 -2
- package/lib/index.js +7 -7
- package/lib/index.js.map +1 -1
- package/lib/styles.css +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/OnlineStatus/useOnlineStatus.d.ts +1 -0
- package/lib/utils/OnlineStatus/useOnlineStatus.js +20 -0
- package/lib/utils/OnlineStatus/useOnlineStatus.js.map +1 -0
- package/lib/utils/functionCheck/functionCheck.d.ts +2 -0
- package/lib/utils/functionCheck/functionCheck.js +6 -0
- package/lib/utils/functionCheck/functionCheck.js.map +1 -0
- package/lib/utils/indexDBStore/indexDB copy.d.ts +4 -0
- package/lib/utils/indexDBStore/indexDB copy.js +142 -0
- package/lib/utils/indexDBStore/indexDB copy.js.map +1 -0
- package/lib/utils/toTitleCase/toTitleCase.d.ts +1 -0
- package/lib/utils/toTitleCase/toTitleCase.js +7 -0
- package/lib/utils/toTitleCase/toTitleCase.js.map +1 -0
- package/package.json +118 -109
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const getAllChildIds = (nodeId, data) => {
|
|
2
|
+
let result = [nodeId];
|
|
3
|
+
// Traverse the tree and find children based on parentId
|
|
4
|
+
data.forEach(({ node }) => {
|
|
5
|
+
if (node.parentId === nodeId) {
|
|
6
|
+
result = result.concat(getAllChildIds(node.id, data)); // Add children recursively
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
return result;
|
|
10
|
+
};
|
|
11
|
+
export default getAllChildIds;
|
|
12
|
+
//# sourceMappingURL=getAllChildIds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllChildIds.js","sourceRoot":"","sources":["../../../../src/components/TableTree/Utils/getAllChildIds.ts"],"names":[],"mappings":"AAAA,MAAM,cAAc,GAAG,CAAC,MAAc,EAAE,IAAW,EAAY,EAAE;IAC/D,IAAI,MAAM,GAAG,CAAC,MAAM,CAAC,CAAC;IAEtB,wDAAwD;IACxD,IAAI,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;QACxB,IAAI,IAAI,CAAC,QAAQ,KAAK,MAAM,EAAE,CAAC;YAC7B,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,2BAA2B;QACpF,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderSpaces.js","sourceRoot":"","sources":["../../../../src/components/TableTree/Utils/renderSpaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TreeNodeProps } from '../../../ComponentProps/TreeNodeProps';
|
|
2
|
+
export declare const addNewRow: (treeData: TreeNodeProps[], newNode: {
|
|
3
|
+
action?: "addAbove" | "addBelow" | "addInside";
|
|
4
|
+
sourceId?: string;
|
|
5
|
+
payloadSourceId?: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
options?: [];
|
|
10
|
+
selectedOption?: string;
|
|
11
|
+
type?: "input" | "inputWithDropdown";
|
|
12
|
+
confirmIconTooltip?: string;
|
|
13
|
+
cancelIconTooltip?: string;
|
|
14
|
+
}, rootNode: TreeNodeProps) => TreeNodeProps[];
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { addLastChild } from './addLastChild';
|
|
2
|
+
import { calculateParentSiblings } from './updateParentSibling';
|
|
3
|
+
export const addNewRow = (treeData, newNode, rootNode) => {
|
|
4
|
+
const { sourceId, action, value = '', error = '', label, type, options, selectedOption, confirmIconTooltip, cancelIconTooltip, payloadSourceId, } = newNode;
|
|
5
|
+
if (!sourceId || !action)
|
|
6
|
+
return treeData;
|
|
7
|
+
const convertedOptions = options?.map(option => ({
|
|
8
|
+
label: option,
|
|
9
|
+
value: option,
|
|
10
|
+
}));
|
|
11
|
+
const convertedSelectedOption = selectedOption
|
|
12
|
+
? { label: selectedOption, value: selectedOption }
|
|
13
|
+
: undefined;
|
|
14
|
+
const nodeMap = new Map(treeData.map(node => [node.key, node]));
|
|
15
|
+
if (rootNode) {
|
|
16
|
+
nodeMap.set(rootNode.key, rootNode);
|
|
17
|
+
}
|
|
18
|
+
const sourceNode = nodeMap.get(sourceId);
|
|
19
|
+
if (!sourceNode)
|
|
20
|
+
return treeData;
|
|
21
|
+
let payloadSourceNode;
|
|
22
|
+
if (payloadSourceId) {
|
|
23
|
+
payloadSourceNode = nodeMap.get(payloadSourceId);
|
|
24
|
+
}
|
|
25
|
+
const updatedTreeData = [...treeData];
|
|
26
|
+
const sourceIndex = treeData.findIndex(node => node.key === sourceId);
|
|
27
|
+
// Create new node with proper parentId and hierarchy
|
|
28
|
+
let newNodeParentId = null;
|
|
29
|
+
let newNodeHierarchy = 0;
|
|
30
|
+
switch (action) {
|
|
31
|
+
case 'addAbove':
|
|
32
|
+
newNodeParentId = sourceNode.parentId;
|
|
33
|
+
newNodeHierarchy = sourceNode.hierarchy;
|
|
34
|
+
break;
|
|
35
|
+
case 'addBelow':
|
|
36
|
+
newNodeParentId = payloadSourceNode?.parentId ?? sourceNode.parentId;
|
|
37
|
+
newNodeHierarchy = payloadSourceNode?.hierarchy ?? sourceNode.hierarchy;
|
|
38
|
+
break;
|
|
39
|
+
case 'addInside':
|
|
40
|
+
newNodeParentId = payloadSourceNode?.key ?? sourceNode.key;
|
|
41
|
+
newNodeHierarchy =
|
|
42
|
+
(payloadSourceNode?.hierarchy ?? sourceNode.hierarchy) + 1;
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
const newNodeBase = {
|
|
46
|
+
hierarchy: newNodeHierarchy,
|
|
47
|
+
parentId: newNodeParentId,
|
|
48
|
+
sourceId: sourceNode.key,
|
|
49
|
+
isNewNode: true,
|
|
50
|
+
key: 'new-node',
|
|
51
|
+
value,
|
|
52
|
+
error,
|
|
53
|
+
label,
|
|
54
|
+
type,
|
|
55
|
+
options: convertedOptions,
|
|
56
|
+
selectedOption: convertedSelectedOption,
|
|
57
|
+
confirmIconTooltip,
|
|
58
|
+
cancelIconTooltip,
|
|
59
|
+
};
|
|
60
|
+
switch (action) {
|
|
61
|
+
case 'addAbove':
|
|
62
|
+
updatedTreeData.splice(sourceIndex, 0, newNodeBase);
|
|
63
|
+
break;
|
|
64
|
+
case 'addBelow':
|
|
65
|
+
updatedTreeData.splice(sourceIndex + 1, 0, newNodeBase);
|
|
66
|
+
break;
|
|
67
|
+
case 'addInside':
|
|
68
|
+
updatedTreeData.splice(sourceIndex + 1, 0, newNodeBase);
|
|
69
|
+
break;
|
|
70
|
+
}
|
|
71
|
+
// Apply lastChild updates
|
|
72
|
+
const treeWithLastChild = addLastChild(updatedTreeData);
|
|
73
|
+
// Calculate parentSiblings for all nodes
|
|
74
|
+
const treeWithParentSiblings = treeWithLastChild.map(node => ({
|
|
75
|
+
...node,
|
|
76
|
+
parentSiblings: calculateParentSiblings(node, treeWithLastChild),
|
|
77
|
+
}));
|
|
78
|
+
return treeWithParentSiblings;
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=addNewRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addNewRow.js","sourceRoot":"","sources":["../../../../src/components/TableTreeFn/Utils/addNewRow.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,MAAM,CAAC,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AK,WAAW;YACd,eAAe,CAAC,MAAM,CAAC,WAAW,GAAG,CAAC,EAAE,CAAC,EAAE,WAAW,CAAC,CAAC;YACxD,MAAM;IACV,CAAC;IAED,0BAA0B;IAC1B,MAAM,iBAAiB,GAAG,YAAY,CAAC,eAAe,CAAC,CAAC;IAExD,yCAAyC;IACzC,MAAM,sBAAsB,GAAG,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAC5D,GAAG,IAAI;QACP,cAAc,EAAE,uBAAuB,CAAC,IAAI,EAAE,iBAAiB,CAAC;KACjE,CAAC,CAAC,CAAC;IAEJ,OAAO,sBAAsB,CAAC;AAChC,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const getAllChildIds = (nodeId, data) => {
|
|
2
|
+
let result = [nodeId];
|
|
3
|
+
// Traverse the tree and find children based on parentId
|
|
4
|
+
data.forEach(({ node }) => {
|
|
5
|
+
if (node.parentId === nodeId) {
|
|
6
|
+
result = result.concat(getAllChildIds(node.id, data)); // Add children recursively
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
return result;
|
|
10
|
+
};
|
|
11
|
+
export default getAllChildIds;
|
|
12
|
+
//# sourceMappingURL=getAllChildIds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllChildIds.js","sourceRoot":"","sources":["../../../../src/components/TableTreeFn/Utils/getAllChildIds.ts"],"names":[],"mappings":"AAAA,MAAM,cAAc,GAAG,CAAC,MAAc,EAAE,IAAW,EAAY,EAAE;IAC/D,IAAI,MAAM,GAAG,CAAC,MAAM,CAAC,CAAC;IAEtB,wDAAwD;IACxD,IAAI,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;QACxB,IAAI,IAAI,CAAC,QAAQ,KAAK,MAAM,EAAE,CAAC;YAC7B,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,2BAA2B;QACpF,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderSpaces.js","sourceRoot":"","sources":["../../../../src/components/TableTreeFn/Utils/renderSpaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { TreeNodeProps } from "../../../ComponentProps/TreeNodeProps";
|
|
2
|
+
export declare const calculateParentSiblings: (node: TreeNodeProps, allNodes: TreeNodeProps[]) => boolean[];
|
|
3
|
+
export declare const updateAllParentSiblings: (treeData: TreeNodeProps[]) => TreeNodeProps[];
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export const calculateParentSiblings = (node, allNodes) => {
|
|
2
|
+
const hierarchy = node.hierarchy || 0;
|
|
3
|
+
if (hierarchy === 0) {
|
|
4
|
+
return []; // Root nodes have no parent connecting lines
|
|
5
|
+
}
|
|
6
|
+
const parentSiblings = [];
|
|
7
|
+
const currentNodeIndex = allNodes.findIndex(n => n.key === node.key);
|
|
8
|
+
if (currentNodeIndex === -1) {
|
|
9
|
+
return new Array(hierarchy).fill(false);
|
|
10
|
+
}
|
|
11
|
+
// Build path from root to current node
|
|
12
|
+
const path = getPathToNode(node, allNodes);
|
|
13
|
+
// For each hierarchy level from 0 to hierarchy-1
|
|
14
|
+
for (let level = 0; level < hierarchy; level++) {
|
|
15
|
+
if (level === 0) {
|
|
16
|
+
// Special case for level 0: check for more root children after this node
|
|
17
|
+
const rootChildrenAfter = allNodes
|
|
18
|
+
.slice(currentNodeIndex + 1)
|
|
19
|
+
.filter(n => (n.hierarchy || 0) === 1); // Root children have hierarchy 1
|
|
20
|
+
parentSiblings.push(rootChildrenAfter.length > 0);
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
// For other levels: find ancestor and check for siblings after
|
|
24
|
+
const ancestor = path.find(n => (n.hierarchy || 0) === level);
|
|
25
|
+
if (!ancestor) {
|
|
26
|
+
parentSiblings.push(false);
|
|
27
|
+
continue;
|
|
28
|
+
}
|
|
29
|
+
// Find children of this ancestor
|
|
30
|
+
const ancestorChildren = allNodes.filter(n => n.parentId === ancestor.key);
|
|
31
|
+
// Check if any child appears after the current node
|
|
32
|
+
let hasChildrenAfter = false;
|
|
33
|
+
for (const child of ancestorChildren) {
|
|
34
|
+
const childIndex = allNodes.findIndex(n => n.key === child.key);
|
|
35
|
+
if (childIndex > currentNodeIndex) {
|
|
36
|
+
hasChildrenAfter = true;
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
parentSiblings.push(hasChildrenAfter);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return parentSiblings;
|
|
44
|
+
};
|
|
45
|
+
const getPathToNode = (node, allNodes) => {
|
|
46
|
+
const path = [];
|
|
47
|
+
let current = node;
|
|
48
|
+
while (current) {
|
|
49
|
+
path.unshift(current);
|
|
50
|
+
if (!current.parentId)
|
|
51
|
+
break;
|
|
52
|
+
const found = allNodes.find(n => n.key === current.parentId);
|
|
53
|
+
if (!found)
|
|
54
|
+
break;
|
|
55
|
+
current = found;
|
|
56
|
+
}
|
|
57
|
+
return path;
|
|
58
|
+
};
|
|
59
|
+
export const updateAllParentSiblings = (treeData) => {
|
|
60
|
+
return treeData.map(node => ({
|
|
61
|
+
...node,
|
|
62
|
+
parentSiblings: calculateParentSiblings(node, treeData),
|
|
63
|
+
}));
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=updateParentSibling.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateParentSibling.js","sourceRoot":"","sources":["../../../../src/components/TableTreeFn/Utils/updateParentSibling.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACrC,IAAmB,EACnB,QAAy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R,EAAE;IACnB,OAAO,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAC3B,GAAG,IAAI;QACP,cAAc,EAAE,uBAAuB,CAAC,IAAI,EAAE,QAAQ,CAAC;KACxD,CAAC,CAAC,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './TableWithAccordion';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/TableWithAccordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './TabsWithSilder';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/TabsWithSilder/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TextEditor';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/TextEditor/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ToggleSwitch';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ToggleSwitch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAA"}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
type ClickOutsideOptions = {
|
|
2
|
+
ignoreSelectors?: string[];
|
|
3
|
+
};
|
|
4
|
+
declare const useClickOutside: (ref: React.RefObject<HTMLElement>, callback: () => void, ignoreRefs?: Array<React.RefObject<HTMLElement> | undefined>, options?: ClickOutsideOptions) => void;
|
|
2
5
|
export default useClickOutside;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
|
-
const useClickOutside = (ref, callback, ignoreRefs = []) => {
|
|
2
|
+
const useClickOutside = (ref, callback, ignoreRefs = [], options) => {
|
|
3
3
|
useEffect(() => {
|
|
4
4
|
const handleClickOutside = (event) => {
|
|
5
|
+
const target = event.target;
|
|
6
|
+
const isIgnoredSelector = options?.ignoreSelectors?.some((selector) => target instanceof Element && target.closest(selector));
|
|
5
7
|
if (ref.current &&
|
|
6
|
-
!ref.current.contains(
|
|
7
|
-
!ignoreRefs.some((ignoreRef) => ignoreRef?.current &&
|
|
8
|
-
|
|
8
|
+
!ref.current.contains(target) &&
|
|
9
|
+
!ignoreRefs.some((ignoreRef) => ignoreRef?.current && ignoreRef.current.contains(target)) &&
|
|
10
|
+
!isIgnoredSelector) {
|
|
9
11
|
callback();
|
|
10
12
|
}
|
|
11
13
|
};
|
|
@@ -13,7 +15,7 @@ const useClickOutside = (ref, callback, ignoreRefs = []) => {
|
|
|
13
15
|
return () => {
|
|
14
16
|
document.removeEventListener('mousedown', handleClickOutside);
|
|
15
17
|
};
|
|
16
|
-
}, [ref, callback, ignoreRefs]);
|
|
18
|
+
}, [ref, callback, ignoreRefs, options]);
|
|
17
19
|
};
|
|
18
20
|
export default useClickOutside;
|
|
19
21
|
//# sourceMappingURL=useClickOutside.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useClickOutside.js","sourceRoot":"","sources":["../../src/hooks/useClickOutside.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useClickOutside.js","sourceRoot":"","sources":["../../src/hooks/useClickOutside.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMlC,MAAM,eAAe,GAAG,CACtB,GAAiC,EACjC,QAAoB,EACpB,aAA8D,EAAE,EAChE,OAA6B,EAC7B,EAAE;IACF,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,kBAAkB,GAAG,CAAC,KAAiB,EAAE,EAAE;YAC/C,MAAM,MAAM,GAAG,KAAK,CAAC,MAAc,CAAC;YACpC,MAAM,iBAAiB,GAAG,OAAO,EAAE,eAAe,EAAE,IAAI,CACtD,CAAC,QAAQ,EAAE,EAAE,CAAC,MAAM,YAAY,OAAO,IAAI,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CACpE,CAAC;YAEF,IACE,GAAG,CAAC,OAAO;gBACX,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;gBAC7B,CAAC,UAAU,CAAC,IAAI,CACd,CAAC,SAAS,EAAE,EAAE,CACZ,SAAS,EAAE,OAAO,IAAI,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAC3D;gBACD,CAAC,iBAAiB,EAClB,CAAC;gBACD,QAAQ,EAAE,CAAC;YACb,CAAC;QACH,CAAC,CAAC;QAEF,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC;QAC3D,OAAO,GAAG,EAAE;YACV,QAAQ,CAAC,mBAAmB,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC;QAChE,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,GAAG,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC;AAC3C,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -4698,6 +4698,41 @@ type LayoutWithDrawerProps = {
|
|
|
4698
4698
|
};
|
|
4699
4699
|
declare const LayoutWithDrawer: ({ drawerProps, showDrawer, children, zIndex, top, }: LayoutWithDrawerProps) => react_jsx_runtime.JSX.Element;
|
|
4700
4700
|
|
|
4701
|
+
interface NetworkErrorBoundaryProps {
|
|
4702
|
+
children: ReactNode;
|
|
4703
|
+
/**
|
|
4704
|
+
* Optional custom offline content to display
|
|
4705
|
+
* If not provided, uses default offline SVG
|
|
4706
|
+
*/
|
|
4707
|
+
offlineContent?: ReactNode;
|
|
4708
|
+
/**
|
|
4709
|
+
* Optional callback when network status changes
|
|
4710
|
+
*/
|
|
4711
|
+
hasError?: boolean;
|
|
4712
|
+
/**
|
|
4713
|
+
* When set to `true`, the component will render the error/overlay UI
|
|
4714
|
+
*/
|
|
4715
|
+
onNetworkStatusChange?: (isOnline: boolean) => void;
|
|
4716
|
+
/**
|
|
4717
|
+
* Optional custom CSS class for the overlay
|
|
4718
|
+
*/
|
|
4719
|
+
overlayClassName?: string;
|
|
4720
|
+
/**
|
|
4721
|
+
* Optional z-index override for the overlay
|
|
4722
|
+
*/
|
|
4723
|
+
overlayZIndex?: number;
|
|
4724
|
+
/**
|
|
4725
|
+
* Width of the fallback icon (default: 300)
|
|
4726
|
+
*/
|
|
4727
|
+
iconWidth?: number;
|
|
4728
|
+
/**
|
|
4729
|
+
* Height of the fallback icon (default: 300)
|
|
4730
|
+
*/
|
|
4731
|
+
iconHeight?: number;
|
|
4732
|
+
}
|
|
4733
|
+
|
|
4734
|
+
declare const NetworkErrorBoundary: FC<NetworkErrorBoundaryProps>;
|
|
4735
|
+
|
|
4701
4736
|
type valueType$1 = any;
|
|
4702
4737
|
declare const checkEmpty: (value: valueType$1) => boolean;
|
|
4703
4738
|
|
|
@@ -4940,7 +4975,10 @@ declare const Comments: ({ commentsData, handleAddComment, handleEditComment, ha
|
|
|
4940
4975
|
|
|
4941
4976
|
declare const useFileDropzone: (options: DropzoneOptions) => DropzoneState;
|
|
4942
4977
|
|
|
4943
|
-
|
|
4978
|
+
type ClickOutsideOptions = {
|
|
4979
|
+
ignoreSelectors?: string[];
|
|
4980
|
+
};
|
|
4981
|
+
declare const useClickOutside: (ref: React.RefObject<HTMLElement>, callback: () => void, ignoreRefs?: Array<React.RefObject<HTMLElement> | undefined>, options?: ClickOutsideOptions) => void;
|
|
4944
4982
|
|
|
4945
4983
|
type TriggerControl = {
|
|
4946
4984
|
canTrigger: () => boolean;
|
|
@@ -5937,5 +5975,5 @@ interface StorageUsageBarProps {
|
|
|
5937
5975
|
|
|
5938
5976
|
declare const StorageUsageBar: React.FC<StorageUsageBarProps>;
|
|
5939
5977
|
|
|
5940
|
-
export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHABET_WITH_SPACES_ONLY_REGEX, ALPHANUMERIC_PARENTHESIS_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_DOT_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, ALPHA_NUM_EXTENDED_REGEX, ALPHA_NUM_REGEX, Accordion, AddContentButton, AddResourceButton, AiToggle, AllProjectsDropdown, AnimatedSetting, AppHeader, AttachMedia, AttachmentButton, AutoTruncateText, Avatar, BASE64_REGEX, BIG_END_WHITESPACE, BINARY_NUMBER_REGEX, BODY_TAG_TYPE_VALIDATION, BarChart, Card as Box, BrowserTabs, Button, CAMEL_CASE_REGEX, CERTIFICATES_NAME_REGEX, CHECK_CAMEL_CASE, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, ChatModal, ChatModalAi, Checkbox, Chip, ChipWithCount, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, ContentCard, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DYNAMIC_VALUE_PATTERN_REGEX, DYNAMIC_VALUE_TYPE_REGEX, DYNAMIC_VALUE_WITH_VALID_BRACKETS_REGEX, DYNAMIC_VALUE__PLACEHOLDER_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DebugToolsPanel, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_FORMAT_REGEX, EMAIL_REGEX, EMAIL_VALIDATION_REGEX, EXCEL_SPACING_REGEX, EditLabel, EditTextField, Editor, ErrorBoundary, ExcelFile as Excel, ExpandableMenu, FILENAME_VALIDATION_REGEX, 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_FILE_TYPE_VALIDATION, HTML_TAG_REGEX, HighlightText, HistoryCard, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, INVALID_EMAIL_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, JAVASCRIPT_FILE_TYPE_VALIDATION, LINKEDIN_PROFILE_REGEX, LINK_VALIDATION_REGEX, LabelEditTextField, LayoutWithDrawer, LineChart, LineLoader, Link, Loader, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MediaPreview, MediaViewerModal as MediaViewerModel, MenuOption, MessageBox, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NO_LEADING_TRAILING_SPACE_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, NoDataAvailable, NoDataContent, NoResultFound, OsTree, OtpVerification, OverviewModal, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, PrePostTable, ProgressBar, Prompt, PromptContainer, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, SCRIPT_REGEX, SERVER_HOST_REGEX, SSN_REGEX, START_END_WHITESPACE_REGEX, STEP_GROUP_NAME_REGEX, ScriptGenerationLoader, ScriptSwitchButton, Search, Select, SelectionSwitcher, SequentialConnectingBranch, SessionDropdown, SessionManager, StateDropdown, StatusBadge, StatusButton, StatusCard, StatusIndicator, StepLandingTable, StepResultStats, StorageUsageBar, SwitchButton, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, TreeTable as TableTree, TableTreeFn, TableWithAccordion, Tabs, TabsWithSilder, Textarea as TextArea, TextEditor, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, TooltipService, TruncatedTooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, VariableSuggestionInputDropDown, WHITESPACE_REGEX, XML_FILE_TYPE_VALIDATION, ZoomControl, addPrePostStepGroup, addStepGroup, autoScrollToTableLastRow, capitalize, checkEmpty, checkMicrophoneAccess, cleanAllTooltips, clearStore, compareArrays, compareObjects, convertFormDataToObject, convertToBytes, convertToGB, convertToISO, copyToClipboard, debounce, deleteStoreValue, ffid, findAndInsert, formatDate, formatResponseDate, getEncryptedData, getExtension, getExtensionWithPeriod, getNavigateToKey, getSequentialPayload, getStoreValue, getTopVisibleNodeKey, getTreeDetails, handleTimeZoneChange, handleTreeExpandAllCollapseAll, handleTreeNodeExpandCollapse, handleTreeNodeSect, handleUnCheckAllTreeNodesWithUpdates, hasDuplicateFile, isEmptyObject, isTextTruncated, nlpInputDelay, rearrangeDragItem, saveFileFromBlob, scrollToView, setStoreValue, throttle, toCamelCase, toast, toggleShowHideEntity, truncateText, updateTreeState, useBeforeUnload, useClickOutside, useDeviceType, useFileDropzone, useKeyboardActions, useTheme, useTriggerControl };
|
|
5978
|
+
export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHABET_WITH_SPACES_ONLY_REGEX, ALPHANUMERIC_PARENTHESIS_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_DOT_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, ALPHA_NUM_EXTENDED_REGEX, ALPHA_NUM_REGEX, Accordion, AddContentButton, AddResourceButton, AiToggle, AllProjectsDropdown, AnimatedSetting, AppHeader, AttachMedia, AttachmentButton, AutoTruncateText, Avatar, BASE64_REGEX, BIG_END_WHITESPACE, BINARY_NUMBER_REGEX, BODY_TAG_TYPE_VALIDATION, BarChart, Card as Box, BrowserTabs, Button, CAMEL_CASE_REGEX, CERTIFICATES_NAME_REGEX, CHECK_CAMEL_CASE, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, ChatModal, ChatModalAi, Checkbox, Chip, ChipWithCount, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, ContentCard, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DYNAMIC_VALUE_PATTERN_REGEX, DYNAMIC_VALUE_TYPE_REGEX, DYNAMIC_VALUE_WITH_VALID_BRACKETS_REGEX, DYNAMIC_VALUE__PLACEHOLDER_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DebugToolsPanel, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_FORMAT_REGEX, EMAIL_REGEX, EMAIL_VALIDATION_REGEX, EXCEL_SPACING_REGEX, EditLabel, EditTextField, Editor, ErrorBoundary, ExcelFile as Excel, ExpandableMenu, FILENAME_VALIDATION_REGEX, 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_FILE_TYPE_VALIDATION, HTML_TAG_REGEX, HighlightText, HistoryCard, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, INVALID_EMAIL_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, JAVASCRIPT_FILE_TYPE_VALIDATION, LINKEDIN_PROFILE_REGEX, LINK_VALIDATION_REGEX, LabelEditTextField, LayoutWithDrawer, LineChart, LineLoader, Link, Loader, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MediaPreview, MediaViewerModal as MediaViewerModel, MenuOption, MessageBox, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NO_LEADING_TRAILING_SPACE_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, NetworkErrorBoundary, NoDataAvailable, NoDataContent, NoResultFound, OsTree, OtpVerification, OverviewModal, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, PrePostTable, ProgressBar, Prompt, PromptContainer, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, SCRIPT_REGEX, SERVER_HOST_REGEX, SSN_REGEX, START_END_WHITESPACE_REGEX, STEP_GROUP_NAME_REGEX, ScriptGenerationLoader, ScriptSwitchButton, Search, Select, SelectionSwitcher, SequentialConnectingBranch, SessionDropdown, SessionManager, StateDropdown, StatusBadge, StatusButton, StatusCard, StatusIndicator, StepLandingTable, StepResultStats, StorageUsageBar, SwitchButton, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, TreeTable as TableTree, TableTreeFn, TableWithAccordion, Tabs, TabsWithSilder, Textarea as TextArea, TextEditor, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, TooltipService, TruncatedTooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, VariableSuggestionInputDropDown, WHITESPACE_REGEX, XML_FILE_TYPE_VALIDATION, ZoomControl, addPrePostStepGroup, addStepGroup, autoScrollToTableLastRow, capitalize, checkEmpty, checkMicrophoneAccess, cleanAllTooltips, clearStore, compareArrays, compareObjects, convertFormDataToObject, convertToBytes, convertToGB, convertToISO, copyToClipboard, debounce, deleteStoreValue, ffid, findAndInsert, formatDate, formatResponseDate, getEncryptedData, getExtension, getExtensionWithPeriod, getNavigateToKey, getSequentialPayload, getStoreValue, getTopVisibleNodeKey, getTreeDetails, handleTimeZoneChange, handleTreeExpandAllCollapseAll, handleTreeNodeExpandCollapse, handleTreeNodeSect, handleUnCheckAllTreeNodesWithUpdates, hasDuplicateFile, isEmptyObject, isTextTruncated, nlpInputDelay, rearrangeDragItem, saveFileFromBlob, scrollToView, setStoreValue, throttle, toCamelCase, toast, toggleShowHideEntity, truncateText, updateTreeState, useBeforeUnload, useClickOutside, useDeviceType, useFileDropzone, useKeyboardActions, useTheme, useTriggerControl };
|
|
5941
5979
|
export type { RootNode$1 as RootNode, TreeNodeProps };
|