pixel-react 1.8.0 → 1.8.2
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/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/types.d.ts +4 -0
- package/lib/components/ConditionalDropdown/ConditionalDropdown.d.ts +1 -2
- package/lib/components/ConditionalDropdown/types.d.ts +3 -3
- package/lib/components/LabelEditTextField/types.d.ts +1 -1
- package/lib/components/ScriptSwitchButton/ScriptSwitchButton.d.ts +9 -0
- package/lib/components/ScriptSwitchButton/index.d.ts +1 -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/TableTree copy.d.ts +25 -0
- package/lib/components/TableTree/data.d.ts +48 -8
- package/lib/components/TableTree/types.d.ts +2 -2
- package/lib/index.d.ts +64 -7
- package/lib/index.esm.js +536 -324
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +581 -323
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/validations/regex.d.ts +46 -0
- package/package.json +2 -2
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +5 -0
- package/src/assets/Themes/BaseTheme.scss +1 -1
- package/src/assets/Themes/BlueTheme.scss +1 -1
- package/src/assets/Themes/DarkTheme.scss +1 -1
- package/src/assets/icons/approval_pending.svg +8 -8
- package/src/assets/icons/configuration.svg +3 -3
- package/src/assets/icons/defects.svg +8 -8
- package/src/assets/icons/element.svg +4 -4
- package/src/assets/icons/project_element.svg +4 -4
- 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/Accordion/Accordion.stories.tsx +13 -0
- package/src/components/Accordion/Accordion.tsx +2 -1
- package/src/components/Accordion/types.ts +4 -0
- package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +8 -5
- package/src/components/ConditionalDropdown/ConditionalDropdown.tsx +133 -135
- package/src/components/ConditionalDropdown/types.ts +8 -8
- package/src/components/DatePicker/DatePicker.scss +310 -0
- package/src/components/LabelEditTextField/LabelEditTextField.scss +4 -0
- package/src/components/LabelEditTextField/LabelEditTextField.tsx +14 -7
- package/src/components/LabelEditTextField/types.ts +1 -1
- package/src/components/ScriptSwitchButton/ScriptSwitchButton.scss +33 -0
- package/src/components/ScriptSwitchButton/ScriptSwitchButton.stories.tsx +48 -0
- package/src/components/ScriptSwitchButton/ScriptSwitchButton.tsx +65 -0
- package/src/components/ScriptSwitchButton/index.ts +1 -0
- package/src/components/TableTree/Components/TableBody.tsx +3 -3
- package/src/components/TableTree/Components/TableCell.tsx +7 -7
- package/src/components/TableTree/Components/TableRow.tsx +2 -2
- package/src/components/TableTree/TableTree.scss +2 -3
- package/src/components/TableTree/data.ts +43 -12
- package/src/components/TableTree/types.ts +2 -2
- package/src/index.ts +95 -1
- package/src/validations/regex.stories.tsx +362 -0
- package/src/validations/regex.ts +194 -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/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/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/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/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
|
@@ -4,5 +4,5 @@ import { AccordionProps } from './types';
|
|
4
4
|
/**
|
5
5
|
* Accordion UI component
|
6
6
|
*/
|
7
|
-
declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
|
7
|
+
declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, isExpand, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
|
8
8
|
export default Accordion;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { ConditionalDropdownProps } from './types';
|
2
2
|
import './ConditionalDropdown.scss';
|
3
|
-
|
4
|
-
declare const ConditionalDropdown: React.FC<ConditionalDropdownProps>;
|
3
|
+
declare const ConditionalDropdown: import("react").ForwardRefExoticComponent<ConditionalDropdownProps & import("react").RefAttributes<HTMLInputElement>>;
|
5
4
|
export default ConditionalDropdown;
|
@@ -35,7 +35,7 @@ export interface ConditionalDropdownProps {
|
|
35
35
|
* @param value
|
36
36
|
* @returns
|
37
37
|
*/
|
38
|
-
onChange?: (
|
38
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
39
39
|
/**
|
40
40
|
* Function to handle create variable icon click
|
41
41
|
*/
|
@@ -113,8 +113,8 @@ export interface ConditionalDropdownProps {
|
|
113
113
|
*/
|
114
114
|
isLabelRequired?: boolean;
|
115
115
|
/**
|
116
|
-
|
117
|
-
|
116
|
+
* If true, dropdown opens when '#' is entered at the first position.
|
117
|
+
*/
|
118
118
|
isHash?: boolean;
|
119
119
|
/**
|
120
120
|
* Options for the dropdown when `isHash` is true.
|
@@ -16,7 +16,7 @@ export interface LabelEditTextFieldTypes {
|
|
16
16
|
/** Label text displayed above the input field. */
|
17
17
|
label?: string;
|
18
18
|
/** Initial text displayed in the input field. */
|
19
|
-
text
|
19
|
+
text?: string;
|
20
20
|
/** Text to be highlighted within the displayed text, if provided. */
|
21
21
|
highlightText?: string;
|
22
22
|
/** Custom error message to be displayed, if applicable. */
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import './ScriptSwitchButton.scss';
|
3
|
+
interface ScriptSwitchButtonProps {
|
4
|
+
handleClick: (selected: string) => void;
|
5
|
+
selected: string;
|
6
|
+
tabList: Array<'Automation' | 'Manual'>;
|
7
|
+
}
|
8
|
+
declare const ScriptSwitchButton: React.FC<ScriptSwitchButtonProps>;
|
9
|
+
export default ScriptSwitchButton;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './ScriptSwitchButton';
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { TableCellProps } from '../types';
|
2
2
|
import React from 'react';
|
3
|
-
declare const TableCell: React.MemoExoticComponent<({ col, node, level, selected, select, onCheckBoxChange, onToggleExpand,
|
3
|
+
declare const TableCell: React.MemoExoticComponent<({ col, node, level, selected, select, onCheckBoxChange, onToggleExpand, parentSiblings, isLast, }: 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, level, columnsData, selected, select, onRowClick, onToggleExpand, onCheckBoxChange,
|
3
|
+
declare const TableRow: React.MemoExoticComponent<({ node, level, columnsData, selected, select, onRowClick, onToggleExpand, onCheckBoxChange, parentSiblings, isLast, }: TableRowProps) => import("react/jsx-runtime").JSX.Element>;
|
4
4
|
export default TableRow;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import React, { ReactNode } from 'react';
|
2
|
+
import './TableTree.scss';
|
3
|
+
interface ColumnDataProps {
|
4
|
+
name: string;
|
5
|
+
accessor: string;
|
6
|
+
width: string;
|
7
|
+
isClickable?: boolean;
|
8
|
+
minWidth?: string;
|
9
|
+
cell?: (e: any) => JSX.Element | string | ReactNode;
|
10
|
+
actions?: (e: any) => JSX.Element | string | ReactNode;
|
11
|
+
}
|
12
|
+
interface ObjectProps {
|
13
|
+
[key: string]: any;
|
14
|
+
}
|
15
|
+
interface TableTreeProps {
|
16
|
+
select: 'checkbox' | 'radio' | 'none';
|
17
|
+
columnsData: Array<ColumnDataProps>;
|
18
|
+
treeData: Array<ObjectProps>;
|
19
|
+
onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>, data: any) => void;
|
20
|
+
onChange?: (e: any, node: any) => void;
|
21
|
+
selected: Array<string>;
|
22
|
+
onPagination?: (node: ObjectProps) => void;
|
23
|
+
}
|
24
|
+
declare const TableTree: ({ columnsData, treeData, select, onClick, onChange, selected, onPagination, }: TableTreeProps) => import("react/jsx-runtime").JSX.Element;
|
25
|
+
export default TableTree;
|
@@ -28,8 +28,9 @@ declare const data: ({
|
|
28
28
|
parentName?: undefined;
|
29
29
|
};
|
30
30
|
level: number;
|
31
|
-
lines: number;
|
32
31
|
isLast: boolean;
|
32
|
+
parentSiblings: boolean[];
|
33
|
+
lines?: undefined;
|
33
34
|
} | {
|
34
35
|
node: {
|
35
36
|
subModuleCount: number;
|
@@ -59,8 +60,9 @@ declare const data: ({
|
|
59
60
|
id: string;
|
60
61
|
parentName?: undefined;
|
61
62
|
};
|
62
|
-
|
63
|
+
parentSiblings: boolean[];
|
63
64
|
lines: number;
|
65
|
+
level?: undefined;
|
64
66
|
isLast?: undefined;
|
65
67
|
} | {
|
66
68
|
node: {
|
@@ -92,8 +94,9 @@ declare const data: ({
|
|
92
94
|
parentName?: undefined;
|
93
95
|
};
|
94
96
|
level: number;
|
95
|
-
|
96
|
-
isLast
|
97
|
+
parentSiblings: boolean[];
|
98
|
+
isLast?: undefined;
|
99
|
+
lines?: undefined;
|
97
100
|
} | {
|
98
101
|
node: {
|
99
102
|
ver: number;
|
@@ -124,8 +127,9 @@ declare const data: ({
|
|
124
127
|
id: string;
|
125
128
|
};
|
126
129
|
level: number;
|
127
|
-
|
130
|
+
parentSiblings: boolean[];
|
128
131
|
isLast?: undefined;
|
132
|
+
lines?: undefined;
|
129
133
|
} | {
|
130
134
|
node: {
|
131
135
|
ver: number;
|
@@ -156,8 +160,9 @@ declare const data: ({
|
|
156
160
|
folder?: undefined;
|
157
161
|
};
|
158
162
|
level: number;
|
159
|
-
|
163
|
+
parentSiblings: boolean[];
|
160
164
|
isLast?: undefined;
|
165
|
+
lines?: undefined;
|
161
166
|
} | {
|
162
167
|
node: {
|
163
168
|
ver: number;
|
@@ -188,8 +193,9 @@ declare const data: ({
|
|
188
193
|
folder?: undefined;
|
189
194
|
};
|
190
195
|
level: number;
|
191
|
-
|
196
|
+
parentSiblings: boolean[];
|
192
197
|
isLast: boolean;
|
198
|
+
lines?: undefined;
|
193
199
|
} | {
|
194
200
|
node: {
|
195
201
|
ver: number;
|
@@ -220,7 +226,41 @@ declare const data: ({
|
|
220
226
|
id: string;
|
221
227
|
};
|
222
228
|
level: number;
|
223
|
-
|
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[];
|
224
263
|
isLast: boolean;
|
264
|
+
lines?: undefined;
|
225
265
|
})[];
|
226
266
|
export default data;
|
@@ -14,7 +14,7 @@ export interface TableCellProps {
|
|
14
14
|
select: string | null;
|
15
15
|
onCheckBoxChange: (type: string, node: any) => void;
|
16
16
|
onToggleExpand: (node: any) => void;
|
17
|
-
|
17
|
+
parentSiblings: boolean[];
|
18
18
|
isLast: boolean | undefined;
|
19
19
|
}
|
20
20
|
export interface TableHeadProps {
|
@@ -38,7 +38,7 @@ export interface TableRowProps {
|
|
38
38
|
onRowClick: (e: any, node: any) => void;
|
39
39
|
onToggleExpand: (node: any) => void;
|
40
40
|
onCheckBoxChange: (type: string, node: any) => void;
|
41
|
-
|
41
|
+
parentSiblings: boolean[];
|
42
42
|
isLast: boolean | undefined;
|
43
43
|
}
|
44
44
|
export interface Column {
|
package/lib/index.d.ts
CHANGED
@@ -361,12 +361,16 @@ interface AccordionProps {
|
|
361
361
|
* Accordion collapse and expand Icon height
|
362
362
|
*/
|
363
363
|
AccordionStateIconHeight: number;
|
364
|
+
/**
|
365
|
+
* Optional props for initial state of Accordion
|
366
|
+
*/
|
367
|
+
isExpand?: boolean;
|
364
368
|
}
|
365
369
|
|
366
370
|
/**
|
367
371
|
* Accordion UI component
|
368
372
|
*/
|
369
|
-
declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
373
|
+
declare const Accordion: ({ headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, isExpand, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
370
374
|
|
371
375
|
type OptionValue$1 = any;
|
372
376
|
interface Option$3 {
|
@@ -2386,7 +2390,7 @@ interface LabelEditTextFieldTypes$1 {
|
|
2386
2390
|
/** Label text displayed above the input field. */
|
2387
2391
|
label?: string;
|
2388
2392
|
/** Initial text displayed in the input field. */
|
2389
|
-
text
|
2393
|
+
text?: string;
|
2390
2394
|
/** Text to be highlighted within the displayed text, if provided. */
|
2391
2395
|
highlightText?: string;
|
2392
2396
|
/** Custom error message to be displayed, if applicable. */
|
@@ -2863,6 +2867,13 @@ interface ChooseFileProps {
|
|
2863
2867
|
|
2864
2868
|
declare const _default: React$1.NamedExoticComponent<ChooseFileProps>;
|
2865
2869
|
|
2870
|
+
interface ScriptSwitchButtonProps {
|
2871
|
+
handleClick: (selected: string) => void;
|
2872
|
+
selected: string;
|
2873
|
+
tabList: Array<'Automation' | 'Manual'>;
|
2874
|
+
}
|
2875
|
+
declare const ScriptSwitchButton: React__default.FC<ScriptSwitchButtonProps>;
|
2876
|
+
|
2866
2877
|
type valueType$1 = any;
|
2867
2878
|
declare const checkEmpty: (value: valueType$1) => boolean;
|
2868
2879
|
|
@@ -3097,7 +3108,7 @@ interface ConditionalDropdownProps {
|
|
3097
3108
|
* @param value
|
3098
3109
|
* @returns
|
3099
3110
|
*/
|
3100
|
-
onChange?: (
|
3111
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
3101
3112
|
/**
|
3102
3113
|
* Function to handle create variable icon click
|
3103
3114
|
*/
|
@@ -3175,8 +3186,8 @@ interface ConditionalDropdownProps {
|
|
3175
3186
|
*/
|
3176
3187
|
isLabelRequired?: boolean;
|
3177
3188
|
/**
|
3178
|
-
|
3179
|
-
|
3189
|
+
* If true, dropdown opens when '#' is entered at the first position.
|
3190
|
+
*/
|
3180
3191
|
isHash?: boolean;
|
3181
3192
|
/**
|
3182
3193
|
* Options for the dropdown when `isHash` is true.
|
@@ -3184,7 +3195,7 @@ interface ConditionalDropdownProps {
|
|
3184
3195
|
dataFiles?: dynamicObject[];
|
3185
3196
|
}
|
3186
3197
|
|
3187
|
-
declare const ConditionalDropdown:
|
3198
|
+
declare const ConditionalDropdown: React$1.ForwardRefExoticComponent<ConditionalDropdownProps & React$1.RefAttributes<HTMLInputElement>>;
|
3188
3199
|
|
3189
3200
|
declare const hasDuplicateFile: (array: any[], property: string) => boolean;
|
3190
3201
|
|
@@ -3207,4 +3218,50 @@ interface PhoneInputProps {
|
|
3207
3218
|
|
3208
3219
|
declare const PhoneInputField: React__default.FC<PhoneInputProps>;
|
3209
3220
|
|
3210
|
-
|
3221
|
+
declare const EMAIL_REGEX: RegExp;
|
3222
|
+
declare const URL_REGEX: RegExp;
|
3223
|
+
declare const PHONE_REGEX: RegExp;
|
3224
|
+
declare const POSTAL_CODE_REGEX: RegExp;
|
3225
|
+
declare const IPV4_REGEX: RegExp;
|
3226
|
+
declare const IPV6_REGEX: RegExp;
|
3227
|
+
declare const HEX_COLOR_REGEX: RegExp;
|
3228
|
+
declare const PASSWORD_SIMPLE_REGEX: RegExp;
|
3229
|
+
declare const PASSWORD_COMPLEX_REGEX: RegExp;
|
3230
|
+
declare const ALPHABET_ONLY_REGEX: RegExp;
|
3231
|
+
declare const NUMBERS_ONLY_REGEX: RegExp;
|
3232
|
+
declare const ALPHANUMERIC_REGEX: RegExp;
|
3233
|
+
declare const DATE_REGEX: RegExp;
|
3234
|
+
declare const TIME_REGEX: RegExp;
|
3235
|
+
declare const FILE_EXTENSION_REGEX: RegExp;
|
3236
|
+
declare const MAC_ADDRESS_REGEX: RegExp;
|
3237
|
+
declare const CREDIT_CARD_REGEX: RegExp;
|
3238
|
+
declare const SSN_REGEX: RegExp;
|
3239
|
+
declare const UUID_REGEX: RegExp;
|
3240
|
+
declare const HTML_TAG_REGEX: RegExp;
|
3241
|
+
declare const WHITESPACE_REGEX: RegExp;
|
3242
|
+
declare const US_ZIP_CODE_REGEX: RegExp;
|
3243
|
+
declare const USERNAME_REGEX: RegExp;
|
3244
|
+
declare const INDIAN_PHONE_REGEX: RegExp;
|
3245
|
+
declare const INDIAN_PIN_CODE_REGEX: RegExp;
|
3246
|
+
declare const GSTIN_REGEX: RegExp;
|
3247
|
+
declare const PAN_CARD_REGEX: RegExp;
|
3248
|
+
declare const AADHAAR_REGEX: RegExp;
|
3249
|
+
declare const VEHICLE_REGISTRATION_REGEX: RegExp;
|
3250
|
+
declare const INDIAN_CURRENCY_REGEX: RegExp;
|
3251
|
+
declare const INTERNATIONAL_PHONE_REGEX: RegExp;
|
3252
|
+
declare const INDIAN_PASSPORT_REGEX: RegExp;
|
3253
|
+
declare const DRIVING_LICENSE_REGEX: RegExp;
|
3254
|
+
declare const USERNAME_SPECIAL_REGEX: RegExp;
|
3255
|
+
declare const DECIMAL_NUMBER_REGEX: RegExp;
|
3256
|
+
declare const HTML_ATTRIBUTE_REGEX: RegExp;
|
3257
|
+
declare const RGB_COLOR_REGEX: RegExp;
|
3258
|
+
declare const HSL_COLOR_REGEX: RegExp;
|
3259
|
+
declare const BASE64_REGEX: RegExp;
|
3260
|
+
declare const BINARY_NUMBER_REGEX: RegExp;
|
3261
|
+
declare const HEXADECIMAL_NUMBER_REGEX: RegExp;
|
3262
|
+
declare const ROMAN_NUMERALS_REGEX: RegExp;
|
3263
|
+
declare const CURRENCY_GENERIC_REGEX: RegExp;
|
3264
|
+
declare const LINKEDIN_PROFILE_REGEX: RegExp;
|
3265
|
+
declare const TWITTER_HANDLE_REGEX: RegExp;
|
3266
|
+
|
3267
|
+
export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, _default$2 as Button, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, Checkbox, Chip, _default as ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, EMAIL_REGEX, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_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, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NUMBERS_ONLY_REGEX, PAN_CARD_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, ScriptSwitchButton, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, _default$1 as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, 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, getSequentialPayload, hasDuplicateFile, saveFileFromBlob, throttle, toast, truncateText, useFileDropzone, useTheme };
|