pixel-react 1.21.19 → 1.21.20
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/lib/StyleGuide/ColorPalette/ColorPalette.d.ts +1 -1
- package/lib/StyleGuide/Typography/Typography.d.ts +1 -1
- package/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/AddResourceButton/AddResourceButton.d.ts +1 -1
- package/lib/components/AddResourceButton/ArrowsButton/ArrowsButton.d.ts +1 -1
- package/lib/components/AllProjectsDropdown/AllProjectsDropdown.d.ts +1 -1
- package/lib/components/AutoTruncateText/AutoTruncateText.d.ts +1 -1
- package/lib/components/BrowserTabs/BrowserTabs.d.ts +1 -1
- package/lib/components/Chip/Chip.d.ts +1 -1
- package/lib/components/Comments/Comments.d.ts +2 -1
- package/lib/components/Comments/childComment/ChildComment.d.ts +1 -1
- package/lib/components/DragAndDrop/DragAndDropList.d.ts +2 -2
- package/lib/components/EditLabel/EditLabel.d.ts +1 -1
- package/lib/components/Editor/DynamicWidthToolTip.d.ts +1 -1
- package/lib/components/HOC/LayoutWithDrawer/LayoutWithDrawer.d.ts +1 -1
- package/lib/components/HistoryCard/HistoryCard.d.ts +1 -1
- package/lib/components/LazyLoad/LazyLoading.d.ts +2 -1
- package/lib/components/Loader/Loader.d.ts +1 -1
- package/lib/components/MachineInputField/MachineInputField.d.ts +1 -1
- package/lib/components/MenuOption/MenuOption.d.ts +1 -1
- package/lib/components/MultiSelect/MultiSelect.d.ts +2 -1
- package/lib/components/NLPInput/NlpInput.d.ts +1 -1
- package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.d.ts +1 -1
- package/lib/components/Paper/Paper.d.ts +1 -1
- package/lib/components/Search/Search.d.ts +1 -1
- package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +1 -1
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +1 -1
- package/lib/components/StateDropdown/StateDropdown.d.ts +1 -1
- package/lib/components/StatusBadge/StatusBadge.d.ts +1 -1
- package/lib/components/StatusButton/StatusButton.d.ts +1 -1
- package/lib/components/StepsLandingTable/Components/EditComponent.d.ts +1 -1
- package/lib/components/StepsLandingTable/Components/RenderNlpInput.d.ts +1 -1
- package/lib/components/StepsLandingTable/Components/StepInnerTable.d.ts +1 -1
- package/lib/components/StepsLandingTable/Components/StepsTitle.d.ts +1 -1
- package/lib/components/StepsLandingTable/StepLandingTable.js +1 -1
- package/lib/components/StepsLandingTable/constant.d.ts +1 -1
- package/lib/components/Table/EditComponent.d.ts +1 -1
- package/lib/components/Table/EditComponent.js +6 -6
- package/lib/components/Table/EditComponent.js.map +1 -1
- package/lib/components/Table/NoDataContent.js +1 -1
- package/lib/components/Table/NoDataContent.js.map +1 -1
- package/lib/components/Table/Table.js +155 -78
- package/lib/components/Table/Table.js.map +1 -1
- package/lib/components/Table/Types.d.ts +11 -6
- package/lib/components/Table/components/SortableRow.d.ts +1 -1
- package/lib/components/Table/components/SortableRow.js +60 -69
- package/lib/components/Table/components/SortableRow.js.map +1 -1
- package/lib/components/Table/components/TableHeader.d.ts +1 -1
- package/lib/components/Table/components/TableHeader.js +20 -15
- package/lib/components/Table/components/TableHeader.js.map +1 -1
- package/lib/components/Table/components/VirtualizedRows.d.ts +1 -1
- package/lib/components/Table/components/VirtualizedRows.js +32 -17
- package/lib/components/Table/components/VirtualizedRows.js.map +1 -1
- package/lib/components/Table/utils/TableCell.d.ts +2 -0
- package/lib/components/Table/utils/TableCell.js +27 -0
- package/lib/components/Table/utils/TableCell.js.map +1 -0
- package/lib/components/Table/utils/virtualization.d.ts +10 -3
- package/lib/components/Table/utils/virtualization.js +40 -13
- package/lib/components/Table/utils/virtualization.js.map +1 -1
- package/lib/components/TableTree/Components/TableBody.d.ts +1 -1
- package/lib/components/TableTree/Components/TableCell.d.ts +1 -1
- package/lib/components/TableTree/Components/TableHead.d.ts +1 -1
- package/lib/components/TableTree/Components/TableRow.d.ts +1 -1
- package/lib/components/TableTreeFn/Components/TableBody.d.ts +1 -1
- package/lib/components/TableTreeFn/Components/TableCell.d.ts +1 -1
- package/lib/components/TableTreeFn/Components/TableHead.d.ts +1 -1
- package/lib/components/TableTreeFn/Components/TableRow.d.ts +1 -1
- package/lib/components/TableWithAccordion/TableWithAccordion.d.ts +1 -1
- package/lib/components/TableWithAccordion/TableWithAccordion.js +38 -13
- package/lib/components/TableWithAccordion/TableWithAccordion.js.map +1 -1
- package/lib/components/TableWithAccordion/types.d.ts +2 -2
- package/lib/components/Tabs/Tabs.d.ts +1 -1
- package/lib/components/TabsWithSilder/TabsWithSilder.d.ts +1 -1
- package/lib/components/TextArea/Textarea.d.ts +1 -1
- package/lib/components/Toastify/Toastify.d.ts +1 -1
- package/lib/components/VariableInput/VariableInput.d.ts +2 -1
- package/lib/index.d.ts +32 -31
- package/lib/index.js +9 -17
- package/lib/styles.css +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/TreeNavigateUtils/getNavigateToKey.d.ts +1 -1
- package/lib/utils/getTopVisibleNodeKey/getTopVisibleNodeKey.d.ts +1 -1
- package/lib/utils/getTreeDetails/getTreeDetails.d.ts +1 -1
- package/lib/utils/handleTreeExpandAllCollapseAll/handleTreeExpandAllCollapseAll.d.ts +1 -1
- package/lib/utils/handleTreeNodeExpandCollapse/handleTreeNodeExpandCollapse.d.ts +1 -1
- package/lib/utils/handleTreeNodeSelect/handleTreeNodeSelect.d.ts +1 -1
- package/lib/utils/toggleShowHideEntity/toggleShowHideEntity.d.ts +1 -1
- package/package.json +2 -2
|
@@ -9,11 +9,37 @@ import '../../../index.scss';
|
|
|
9
9
|
import Typography from '../Typography';
|
|
10
10
|
import HighlightText from '../HighlightText';
|
|
11
11
|
import { isTextTruncated, truncateText, } from '../../utils/truncateText/truncateText';
|
|
12
|
+
import { checkEmpty } from '../../utils/checkEmpty/checkEmpty';
|
|
13
|
+
const getColumnWidthStyle = (width) => {
|
|
14
|
+
if (width === undefined || width === null || width === '') {
|
|
15
|
+
return {};
|
|
16
|
+
}
|
|
17
|
+
const widthValue = typeof width === 'number' ? `${width}px` : width;
|
|
18
|
+
return {
|
|
19
|
+
width,
|
|
20
|
+
flex: `0 0 ${widthValue}`,
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
const COLUMN_LABEL_LEFT_PADDING = 8;
|
|
12
24
|
const TableWithAccordion = ({ highlightText = '', tableMeta = [], tableData = [], accordionType = 'row', noDataContent, height = '100%', withFixedHeader = false, headerType, TableAccordionStateIconWidth = 4, TableAccordionStateIconHeight = 8, }) => {
|
|
13
25
|
const [expandedRowIndex, setExpandedRowIndex] = useState(-1);
|
|
26
|
+
const firstColumnPixelWidth = typeof tableMeta[0]?.width === 'number'
|
|
27
|
+
? Math.max(tableMeta[0]?.width - COLUMN_LABEL_LEFT_PADDING, 0)
|
|
28
|
+
: undefined;
|
|
14
29
|
const onAccordionClick = (index) => {
|
|
15
30
|
setExpandedRowIndex(index === expandedRowIndex ? -1 : index);
|
|
16
31
|
};
|
|
32
|
+
const isColumnTitleTruncated = (title) => typeof title === 'string' &&
|
|
33
|
+
firstColumnPixelWidth !== undefined &&
|
|
34
|
+
isTextTruncated(title, firstColumnPixelWidth, 'pixel');
|
|
35
|
+
const getColumnTitle = (title) => {
|
|
36
|
+
if (typeof title !== 'string') {
|
|
37
|
+
return '';
|
|
38
|
+
}
|
|
39
|
+
return firstColumnPixelWidth !== undefined
|
|
40
|
+
? truncateText(title, firstColumnPixelWidth, 'pixel')
|
|
41
|
+
: title;
|
|
42
|
+
};
|
|
17
43
|
const getAccordionTableCellContent = (dataObj, columnObj) => {
|
|
18
44
|
let cellData = dataObj[columnObj.accessor];
|
|
19
45
|
if (columnObj.cell) {
|
|
@@ -35,28 +61,27 @@ const TableWithAccordion = ({ highlightText = '', tableMeta = [], tableData = []
|
|
|
35
61
|
};
|
|
36
62
|
const getAccordionTableContent = (dataArray) => {
|
|
37
63
|
const accordionSubTable = dataArray.map((rowData, index) => {
|
|
38
|
-
return (_jsx("table", { className: "ff-
|
|
39
|
-
return (_jsx("td", { className: "ff-table-cell", style:
|
|
64
|
+
return (_jsx("table", { className: "ff-table-accordion__table", cellSpacing: 0, children: _jsx("tbody", { className: "ff-table-accordion__tbody", children: _jsx("tr", { className: "ff-table-accordion__body-row", children: tableMeta.map((column, i) => {
|
|
65
|
+
return (_jsx("td", { className: "ff-table-accordion__body-cell", style: getColumnWidthStyle(column.width), children: accordionType === 'column' && i === 0 ? ('') : (_jsx(Typography, { children: getAccordionTableCellContent(rowData, column) })) }, column.accessor + i));
|
|
40
66
|
}) }, rowData.id || index) }) }, `accordion-table-${index}`));
|
|
41
67
|
});
|
|
42
68
|
return accordionSubTable;
|
|
43
69
|
};
|
|
44
|
-
return (_jsxs("div", { style: { height: height }, className: classNames('ff-
|
|
45
|
-
'ff-accordion
|
|
46
|
-
}), children: [_jsx("table", { cellSpacing: 0, className: classNames('ff-
|
|
47
|
-
'ff-
|
|
48
|
-
}), children: _jsx("thead", { children: _jsx("tr", { className: "ff-table-row", children: tableMeta.map((column) => (_jsx("th", { style:
|
|
49
|
-
tableData.map((row, rowIndex) => (_jsx(Accordion, { highlightText: highlightText, headerTitle: row.title, color: "var(--text-color)", accordionContent: getAccordionTableContent(row.data), disable: row.disable, disableInfoMessage: row.disableInfoMessage, accordionStateIconName: "arrows_down_icon", AccordionStateIconWidth: TableAccordionStateIconWidth, AccordionStateIconHeight: TableAccordionStateIconHeight }, `accordion-row-${rowIndex}`))), accordionType === 'column' &&
|
|
50
|
-
tableData.map((row, index) => (_jsxs("div", { className: "
|
|
70
|
+
return (_jsxs("div", { style: { height: height }, className: classNames('ff-table-accordion', {
|
|
71
|
+
'ff-table-accordion--fixed-header': withFixedHeader,
|
|
72
|
+
}), children: [_jsx("table", { cellSpacing: 0, className: classNames('ff-table-accordion__table', {
|
|
73
|
+
'ff-table-accordion__table--fixed-header': withFixedHeader,
|
|
74
|
+
}), children: _jsx("thead", { children: _jsx("tr", { className: "ff-table-accordion__header-row", children: tableMeta.map((column) => (_jsx("th", { style: getColumnWidthStyle(column.width), className: classNames('ff-table-accordion__header-cell', headerType && `ff-table-accordion__header-cell--${headerType}`), children: _jsx("div", { children: _jsx(Typography, { fontWeight: "semi-bold", fontSize: 12, children: column.header }) }) }, `header-${column.header}`))) }) }) }), accordionType === 'row' &&
|
|
75
|
+
tableData.map((row, rowIndex) => (_jsx(Accordion, { highlightText: highlightText, headerTitle: row.title, color: "var(--text-color)", accordionContent: getAccordionTableContent(row.data), disable: row.disable, disableInfoMessage: row.disableInfoMessage, accordionStateIconName: "arrows_down_icon", AccordionStateIconWidth: TableAccordionStateIconWidth, AccordionStateIconHeight: TableAccordionStateIconHeight, className: "ff-table-accordion__row-accordion" }, `accordion-row-${rowIndex}`))), accordionType === 'column' &&
|
|
76
|
+
tableData.map((row, index) => (_jsxs("div", { className: "ff-table-accordion__column-group", children: [_jsx("div", { className: "ff-display-flex", children: _jsx(Tooltip, { title: row.disable
|
|
51
77
|
? row?.disableInfoMessage
|
|
52
|
-
:
|
|
53
|
-
isTextTruncated(row.title, tableMeta[0]?.width, 'pixel')
|
|
78
|
+
: isColumnTitleTruncated(row.title)
|
|
54
79
|
? row.title
|
|
55
|
-
: '', placement: "bottom-start", children: _jsxs("div", { className: `
|
|
80
|
+
: '', placement: "bottom-start", children: _jsxs("div", { className: `ff-table-accordion__column-header ${row.disable && 'ff-table-accordion__column-header--disabled'}`, children: [_jsx("div", { className: "ff-table-accordion__column-label", children: _jsx("span", { children: _jsx(Typography, { children: _jsx(HighlightText, { text: getColumnTitle(row.title), highlight: highlightText }) }) }) }), _jsx("div", { className: "ff-table-accordion__column-toggle", onClick: () => {
|
|
56
81
|
!row.disable && onAccordionClick(index);
|
|
57
82
|
}, children: _jsx(Icon, { name: expandedRowIndex === index
|
|
58
83
|
? 'arrows_down_icon'
|
|
59
|
-
: 'arrows_right_icon', color: "var(--table-with-accordion-icon-color)", width: TableAccordionStateIconWidth, height: TableAccordionStateIconHeight, hoverEffect: false }) })] }) }) }), expandedRowIndex === index && (_jsx("div", { children: getAccordionTableContent(row.data) }))] }, `column-accordion-${index}`))), tableData
|
|
84
|
+
: 'arrows_right_icon', color: "var(--table-with-accordion-icon-color)", width: TableAccordionStateIconWidth, height: TableAccordionStateIconHeight, hoverEffect: false }) })] }) }) }), expandedRowIndex === index && (_jsx("div", { children: getAccordionTableContent(row.data) }))] }, `column-accordion-${index}`))), checkEmpty(tableData) && (_jsx("div", { className: "ff-table-accordion__empty-state", style: { height: `calc(${height} - 50px)` }, children: noDataContent }))] }));
|
|
60
85
|
};
|
|
61
86
|
export default TableWithAccordion;
|
|
62
87
|
//# sourceMappingURL=TableWithAccordion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableWithAccordion.js","sourceRoot":"","sources":["../../../src/components/TableWithAccordion/TableWithAccordion.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TableWithAccordion.js","sourceRoot":"","sources":["../../../src/components/TableWithAccordion/TableWithAccordion.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,2BAA2B,CAAC;AACnC,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,OAAO,MAAM,YAAY,CAAC;AACjC,OAAO,qBAAqB,CAAC;AAC7B,OAAO,UAAU,MAAM,eAAe,CAAC;AAEvC,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACL,eAAe,EACf,YAAY,GACb,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,MAAM,mBAAmB,GAAG,CAAC,KAA4B,EAAiB,EAAE;IAC1E,IAAI,KAAK,KA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CAAC,KAAK,CAAC,CAAC;4CAC1C,CAAC,YAED,KAAC,IAAI,IACH,IAAI,EACF,gBAAgB,KAAK,KAAK;oDACxB,CAAC,CAAC,kBAAkB;oDACpB,CAAC,CAAC,mBAAmB,EAEzB,KAAK,EAAC,wCAAwC,EAC9C,KAAK,EAAE,4BAA4B,EACnC,MAAM,EAAE,6BAA6B,EACrC,WAAW,EAAE,KAAK,GAClB,GACE,IACF,GACE,GACN,EACL,gBAAgB,KAAK,KAAK,IAAI,CAC7B,wBAAM,wBAAwB,CAAC,GAAG,CAAC,IAAI,CAAC,GAAO,CAChD,KArDI,oBAAoB,KAAK,EAAE,CAsD5B,CACP,CAAC,EACH,UAAU,CAAC,SAAS,CAAC,IAAI,CACxB,cACE,SAAS,EAAC,iCAAiC,EAC3C,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,MAAM,UAAU,EAAE,YAE1C,aAAa,GACV,CACP,IACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
1
|
+
import type { CSSProperties, ReactNode } from "react";
|
|
2
2
|
export interface ColumnProps {
|
|
3
3
|
/**
|
|
4
4
|
* column name
|
|
@@ -15,7 +15,7 @@ export interface ColumnProps {
|
|
|
15
15
|
/**
|
|
16
16
|
* width of a column
|
|
17
17
|
*/
|
|
18
|
-
width?:
|
|
18
|
+
width?: CSSProperties['width'];
|
|
19
19
|
/**
|
|
20
20
|
* data for the column
|
|
21
21
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TabsProps } from './types';
|
|
2
2
|
import './Tabs.scss';
|
|
3
3
|
import '../../assets/styles/_colors.scss';
|
|
4
|
-
declare const Tabs: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, isBorderBottomLine, isHoverBackground, isBorderRadius, tabFlexSpacing, }: TabsProps) => import("react
|
|
4
|
+
declare const Tabs: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, isBorderBottomLine, isHoverBackground, isBorderRadius, tabFlexSpacing, }: TabsProps) => import("react").JSX.Element;
|
|
5
5
|
export default Tabs;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TabsProps } from './types';
|
|
2
2
|
import './TabsWithSilder.scss';
|
|
3
3
|
import '../../assets/styles/_colors.scss';
|
|
4
|
-
declare const TabsWithSilder: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, }: TabsProps) => import("react
|
|
4
|
+
declare const TabsWithSilder: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, }: TabsProps) => import("react").JSX.Element;
|
|
5
5
|
export default TabsWithSilder;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import './Textarea.scss';
|
|
2
2
|
import { TextareaProps } from './Types';
|
|
3
|
-
declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, onPaste, rows, cols, resize, errorText, readOnly, displayCapacity, isLabelRequired, ...props }: TextareaProps) => import("react
|
|
3
|
+
declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, onPaste, rows, cols, resize, errorText, readOnly, displayCapacity, isLabelRequired, ...props }: TextareaProps) => import("react").JSX.Element;
|
|
4
4
|
export default Textarea;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AcceptedType } from './types';
|
|
2
|
-
export declare const Toastify: () => import("react
|
|
2
|
+
export declare const Toastify: () => import("react").JSX.Element;
|
|
3
3
|
export default Toastify;
|
|
4
4
|
export declare const toast: {
|
|
5
5
|
success: (arg1: AcceptedType, arg2?: AcceptedType) => void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import './VariableInput.scss';
|
|
2
3
|
import { VariableInputProps } from './types';
|
|
3
|
-
declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) =>
|
|
4
|
+
declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) => React.JSX.Element;
|
|
4
5
|
export default VariableInput;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, FC, RefObject, LegacyRef, CSSProperties, ReactElement, Ref, ComponentProps, Component, ErrorInfo, Dispatch } from 'react';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
3
|
import * as LazyLoad from 'react-window';
|
|
5
4
|
export { LazyLoad };
|
|
6
5
|
import * as Form from 'react-hook-form';
|
|
@@ -473,7 +472,7 @@ interface AccordionProps {
|
|
|
473
472
|
/**
|
|
474
473
|
* Accordion UI component
|
|
475
474
|
*/
|
|
476
|
-
declare const Accordion: ({ highlightText, headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, isExpand, onClick, className, iconColor, accordionContentStyle, }: AccordionProps) =>
|
|
475
|
+
declare const Accordion: ({ highlightText, headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, isExpand, onClick, className, iconColor, accordionContentStyle, }: AccordionProps) => React$1.JSX.Element;
|
|
477
476
|
|
|
478
477
|
type OptionValue$4 = any;
|
|
479
478
|
interface Option$6 {
|
|
@@ -523,7 +522,7 @@ interface MultiSelectProps {
|
|
|
523
522
|
isCloseIconToolTip?: boolean;
|
|
524
523
|
}
|
|
525
524
|
|
|
526
|
-
declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, displayCount: initialDisplayCount, isAllSelected, onToggleAllSelect, displayAllSelectedAsText, isAllSelect, placeholderForSearching, variant, onLabelPlusIconClick, className, onSelectButtonClick, labelAccessor, valueAccessor, searchAccessor, withSelectButton, loadMoreOptions, onEnter, maxVisibleChips, onBlur, maxDropdownHeight, dropdownContainerRef, noResultsMessage, chipAccessor, isCloseIconToolTip, }: MultiSelectProps) =>
|
|
525
|
+
declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, displayCount: initialDisplayCount, isAllSelected, onToggleAllSelect, displayAllSelectedAsText, isAllSelect, placeholderForSearching, variant, onLabelPlusIconClick, className, onSelectButtonClick, labelAccessor, valueAccessor, searchAccessor, withSelectButton, loadMoreOptions, onEnter, maxVisibleChips, onBlur, maxDropdownHeight, dropdownContainerRef, noResultsMessage, chipAccessor, isCloseIconToolTip, }: MultiSelectProps) => React__default.JSX.Element;
|
|
527
526
|
|
|
528
527
|
interface ToasterProps {
|
|
529
528
|
/**Boolean value to handle state of toaster. */
|
|
@@ -700,7 +699,7 @@ interface ChipsProps {
|
|
|
700
699
|
onClick?: () => void;
|
|
701
700
|
}
|
|
702
701
|
|
|
703
|
-
declare const Chip: ({ label, fullText, variant, labelWidth, fullTextWidth, onClick, }: ChipsProps) =>
|
|
702
|
+
declare const Chip: ({ label, fullText, variant, labelWidth, fullTextWidth, onClick, }: ChipsProps) => React$1.JSX.Element;
|
|
704
703
|
|
|
705
704
|
interface TooltipProps {
|
|
706
705
|
/**
|
|
@@ -1169,7 +1168,7 @@ interface TextareaProps {
|
|
|
1169
1168
|
isLabelRequired?: boolean;
|
|
1170
1169
|
}
|
|
1171
1170
|
|
|
1172
|
-
declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, onPaste, rows, cols, resize, errorText, readOnly, displayCapacity, isLabelRequired, ...props }: TextareaProps) =>
|
|
1171
|
+
declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, onPaste, rows, cols, resize, errorText, readOnly, displayCapacity, isLabelRequired, ...props }: TextareaProps) => React$1.JSX.Element;
|
|
1173
1172
|
|
|
1174
1173
|
interface StatusButtonProps {
|
|
1175
1174
|
/**
|
|
@@ -1208,7 +1207,7 @@ interface StatusButtonProps {
|
|
|
1208
1207
|
displayTooltip?: boolean;
|
|
1209
1208
|
}
|
|
1210
1209
|
|
|
1211
|
-
declare const StatusButton: ({ status, label, onClick, className, style, disabled, useDefaultCursor, displayTooltip, ...props }: StatusButtonProps) =>
|
|
1210
|
+
declare const StatusButton: ({ status, label, onClick, className, style, disabled, useDefaultCursor, displayTooltip, ...props }: StatusButtonProps) => React$1.JSX.Element;
|
|
1212
1211
|
|
|
1213
1212
|
interface OptionClick {
|
|
1214
1213
|
/**
|
|
@@ -1353,7 +1352,7 @@ interface MenuOptionProps {
|
|
|
1353
1352
|
selectedValue?: string;
|
|
1354
1353
|
}
|
|
1355
1354
|
|
|
1356
|
-
declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, zIndex, dropdownPlacement, optionCardVariant, targetRef, treeRowRef, isAddResourceButton, disabled, alignOption, displayCard, didMouseEntered, tableMenu, dropdownHeight, selectedValue, }: MenuOptionProps) =>
|
|
1355
|
+
declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, zIndex, dropdownPlacement, optionCardVariant, targetRef, treeRowRef, isAddResourceButton, disabled, alignOption, displayCard, didMouseEntered, tableMenu, dropdownHeight, selectedValue, }: MenuOptionProps) => React$1.JSX.Element;
|
|
1357
1356
|
|
|
1358
1357
|
interface DataProps$3 {
|
|
1359
1358
|
/**
|
|
@@ -1367,6 +1366,7 @@ interface SelectedItemProps$1 {
|
|
|
1367
1366
|
*/
|
|
1368
1367
|
[key: string]: string | number | boolean;
|
|
1369
1368
|
}
|
|
1369
|
+
type TableRef = LegacyRef<HTMLTableSectionElement> | React__default.RefObject<HTMLTableSectionElement> | LegacyRef<HTMLDivElement> | React__default.RefObject<HTMLDivElement> | null;
|
|
1370
1370
|
interface TableProps$2 {
|
|
1371
1371
|
/**
|
|
1372
1372
|
* Data for table
|
|
@@ -1476,7 +1476,7 @@ interface TableProps$2 {
|
|
|
1476
1476
|
/**
|
|
1477
1477
|
* enable editMode by setting state row id
|
|
1478
1478
|
*/
|
|
1479
|
-
editMode?: string | null;
|
|
1479
|
+
editMode?: string | number | null;
|
|
1480
1480
|
/**
|
|
1481
1481
|
* The content that to be displayed if editComponent
|
|
1482
1482
|
*/
|
|
@@ -1484,7 +1484,7 @@ interface TableProps$2 {
|
|
|
1484
1484
|
/**
|
|
1485
1485
|
* tableRef to get the scroll position & to pass control of table to parent component
|
|
1486
1486
|
*/
|
|
1487
|
-
tableRef?:
|
|
1487
|
+
tableRef?: TableRef;
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Explicitly handling the checkbox disability for the row.
|
|
1490
1490
|
*/
|
|
@@ -1501,9 +1501,10 @@ interface TableProps$2 {
|
|
|
1501
1501
|
displayCard?: boolean;
|
|
1502
1502
|
selectedNode?: {
|
|
1503
1503
|
key: string;
|
|
1504
|
-
selected: string;
|
|
1504
|
+
selected: string | number;
|
|
1505
1505
|
};
|
|
1506
1506
|
uniqueRowIdForAccordion?: string | number;
|
|
1507
|
+
openAccordionId?: string | number | null;
|
|
1507
1508
|
}
|
|
1508
1509
|
|
|
1509
1510
|
declare const Table: React$1.ForwardRefExoticComponent<TableProps$2 & React$1.RefAttributes<any>>;
|
|
@@ -1543,7 +1544,7 @@ interface AddResourceButtonProps {
|
|
|
1543
1544
|
isFromTree?: boolean;
|
|
1544
1545
|
}
|
|
1545
1546
|
|
|
1546
|
-
declare const AddResourceButton: ({ id, variant, directionalArrow, zIndex, menuOptionZIndex, treeRowRef, onMenuOptionClick, isFromTree, }: AddResourceButtonProps) =>
|
|
1547
|
+
declare const AddResourceButton: ({ id, variant, directionalArrow, zIndex, menuOptionZIndex, treeRowRef, onMenuOptionClick, isFromTree, }: AddResourceButtonProps) => React$1.JSX.Element;
|
|
1547
1548
|
|
|
1548
1549
|
type BaseStatus = 'Passed' | 'Failed' | 'Warning' | 'Skipped' | 'On Hold' | 'Descoped' | 'To be Validated' | 'To be Tested' | 'Terminated';
|
|
1549
1550
|
type CaseFlexible<StatusType extends string> = StatusType | Lowercase<StatusType> | Uppercase<StatusType> | Capitalize<Lowercase<StatusType>>;
|
|
@@ -2444,7 +2445,7 @@ interface TabsProps$1 {
|
|
|
2444
2445
|
tabFlexSpacing?: 'space-between' | 'space-around' | 'flex-start' | 'flex-end' | 'center';
|
|
2445
2446
|
}
|
|
2446
2447
|
|
|
2447
|
-
declare const Tabs: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, isBorderBottomLine, isHoverBackground, isBorderRadius, tabFlexSpacing, }: TabsProps$1) =>
|
|
2448
|
+
declare const Tabs: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, isBorderBottomLine, isHoverBackground, isBorderRadius, tabFlexSpacing, }: TabsProps$1) => React$1.JSX.Element;
|
|
2448
2449
|
|
|
2449
2450
|
/**
|
|
2450
2451
|
* Represents a single tab in the BrowserTabs component.
|
|
@@ -2522,7 +2523,7 @@ interface BrowserTabsProps {
|
|
|
2522
2523
|
maxTabs?: number;
|
|
2523
2524
|
}
|
|
2524
2525
|
|
|
2525
|
-
declare const BrowserTabs: ({ tabsData, activeTabId, onTabClick, onTabClose, onTabAdd, maxTabWidth, showCloseOnActive, maxTabs, enableOverflowTooltip, onTabMouseEnter, onTabMouseLeave, }: BrowserTabsProps) =>
|
|
2526
|
+
declare const BrowserTabs: ({ tabsData, activeTabId, onTabClick, onTabClose, onTabAdd, maxTabWidth, showCloseOnActive, maxTabs, enableOverflowTooltip, onTabMouseEnter, onTabMouseLeave, }: BrowserTabsProps) => React$1.JSX.Element;
|
|
2526
2527
|
|
|
2527
2528
|
interface HighlightTextProps {
|
|
2528
2529
|
text?: string;
|
|
@@ -2609,7 +2610,7 @@ interface SearchProps {
|
|
|
2609
2610
|
handleBlur?: () => void;
|
|
2610
2611
|
}
|
|
2611
2612
|
|
|
2612
|
-
declare const Search: ({ placeholder, onSearch, disabled, width, value, isExpand, onClose, onExpand, showClose, helperText, showToaster, minLength, isAISearch, isAISearchClicked, handleActiveAiSearch, isClear, handleIsClear, style, handleFocus, handleBlur, }: SearchProps) =>
|
|
2613
|
+
declare const Search: ({ placeholder, onSearch, disabled, width, value, isExpand, onClose, onExpand, showClose, helperText, showToaster, minLength, isAISearch, isAISearchClicked, handleActiveAiSearch, isClear, handleIsClear, style, handleFocus, handleBlur, }: SearchProps) => React$1.JSX.Element;
|
|
2613
2614
|
|
|
2614
2615
|
interface DatePickerProps {
|
|
2615
2616
|
/**
|
|
@@ -2699,7 +2700,7 @@ interface StateDropdownProps {
|
|
|
2699
2700
|
zIndex?: number;
|
|
2700
2701
|
}
|
|
2701
2702
|
|
|
2702
|
-
declare const StateDropdown: ({ value, isReviewer, isApprovePage, handleStateValueClick, handleDropdownOptionsClick, disabled, isOnlyReviewer, showBorder, zIndex, }: StateDropdownProps) =>
|
|
2703
|
+
declare const StateDropdown: ({ value, isReviewer, isApprovePage, handleStateValueClick, handleDropdownOptionsClick, disabled, isOnlyReviewer, showBorder, zIndex, }: StateDropdownProps) => React$1.JSX.Element;
|
|
2703
2704
|
|
|
2704
2705
|
interface IconButtonProps {
|
|
2705
2706
|
label: string;
|
|
@@ -2811,7 +2812,7 @@ interface VariableInputProps {
|
|
|
2811
2812
|
list?: string[];
|
|
2812
2813
|
}
|
|
2813
2814
|
|
|
2814
|
-
declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) =>
|
|
2815
|
+
declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) => React__default.JSX.Element;
|
|
2815
2816
|
|
|
2816
2817
|
interface optionsType$1 {
|
|
2817
2818
|
label: string;
|
|
@@ -2830,7 +2831,7 @@ interface AllProjectsDropdownProps {
|
|
|
2830
2831
|
disabled?: boolean;
|
|
2831
2832
|
}
|
|
2832
2833
|
|
|
2833
|
-
declare const AllProjectsDropdown: ({ onClick, onMenuClick, options, selectedOption, selected, placeholder, disabled, }: AllProjectsDropdownProps) =>
|
|
2834
|
+
declare const AllProjectsDropdown: ({ onClick, onMenuClick, options, selectedOption, selected, placeholder, disabled, }: AllProjectsDropdownProps) => React$1.JSX.Element;
|
|
2834
2835
|
|
|
2835
2836
|
interface PieChartProps {
|
|
2836
2837
|
radius: number;
|
|
@@ -2941,7 +2942,7 @@ interface PaperProps {
|
|
|
2941
2942
|
rounded?: boolean;
|
|
2942
2943
|
}
|
|
2943
2944
|
|
|
2944
|
-
declare const Paper: ({ children, className, rounded }: PaperProps) =>
|
|
2945
|
+
declare const Paper: ({ children, className, rounded }: PaperProps) => React$1.JSX.Element;
|
|
2945
2946
|
|
|
2946
2947
|
type ChartItem = {
|
|
2947
2948
|
key: string;
|
|
@@ -3067,7 +3068,7 @@ interface NlpRenderOption {
|
|
|
3067
3068
|
name?: string;
|
|
3068
3069
|
}
|
|
3069
3070
|
|
|
3070
|
-
declare const NlpInput: ({ label, leftIcon, rightIcon, rightIconColor, showLabel, onHelpIconClick, aiIconClick, webServiceClick, containerWidth, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, value, onSelect, chipOptionList, selectedChips, loadMoreOptions, isWebservice, closeInputOnOutsideClick, tooltipText, ChipsAccordionWidth, dropDownMessage, }: SelectProps) =>
|
|
3071
|
+
declare const NlpInput: ({ label, leftIcon, rightIcon, rightIconColor, showLabel, onHelpIconClick, aiIconClick, webServiceClick, containerWidth, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, value, onSelect, chipOptionList, selectedChips, loadMoreOptions, isWebservice, closeInputOnOutsideClick, tooltipText, ChipsAccordionWidth, dropDownMessage, }: SelectProps) => React$1.JSX.Element;
|
|
3071
3072
|
|
|
3072
3073
|
interface IconRadioItem {
|
|
3073
3074
|
/**
|
|
@@ -3133,7 +3134,7 @@ interface MachineInputFieldProps {
|
|
|
3133
3134
|
}
|
|
3134
3135
|
|
|
3135
3136
|
declare const MachineInputField: {
|
|
3136
|
-
({ width, options, runCount, className, contentReverse, onClick, modalId, scriptType, readOnly, isMissing, }: MachineInputFieldProps):
|
|
3137
|
+
({ width, options, runCount, className, contentReverse, onClick, modalId, scriptType, readOnly, isMissing, }: MachineInputFieldProps): React$1.JSX.Element;
|
|
3137
3138
|
displayName: string;
|
|
3138
3139
|
};
|
|
3139
3140
|
|
|
@@ -3246,7 +3247,7 @@ declare const AttachmentButton: React__default.FC<AttachmentUploaderProps>;
|
|
|
3246
3247
|
|
|
3247
3248
|
type AcceptedType = string | (() => void) | Record<string, unknown> | unknown[];
|
|
3248
3249
|
|
|
3249
|
-
declare const Toastify: () =>
|
|
3250
|
+
declare const Toastify: () => React$1.JSX.Element;
|
|
3250
3251
|
|
|
3251
3252
|
declare const toast: {
|
|
3252
3253
|
success: (arg1: AcceptedType, arg2?: AcceptedType) => void;
|
|
@@ -3841,7 +3842,7 @@ interface ColumnProps$1 {
|
|
|
3841
3842
|
/**
|
|
3842
3843
|
* width of a column
|
|
3843
3844
|
*/
|
|
3844
|
-
width?:
|
|
3845
|
+
width?: CSSProperties['width'];
|
|
3845
3846
|
/**
|
|
3846
3847
|
* data for the column
|
|
3847
3848
|
*/
|
|
@@ -3893,7 +3894,7 @@ interface TableProps$1 {
|
|
|
3893
3894
|
highlightText?: string;
|
|
3894
3895
|
}
|
|
3895
3896
|
|
|
3896
|
-
declare const TableWithAccordion: ({ highlightText, tableMeta, tableData, accordionType, noDataContent, height, withFixedHeader, headerType, TableAccordionStateIconWidth, TableAccordionStateIconHeight, }: TableProps$1) =>
|
|
3897
|
+
declare const TableWithAccordion: ({ highlightText, tableMeta, tableData, accordionType, noDataContent, height, withFixedHeader, headerType, TableAccordionStateIconWidth, TableAccordionStateIconHeight, }: TableProps$1) => React$1.JSX.Element;
|
|
3897
3898
|
|
|
3898
3899
|
interface ProgressBarProps {
|
|
3899
3900
|
progressPercentage?: number;
|
|
@@ -4207,7 +4208,7 @@ interface HistoryCardProps {
|
|
|
4207
4208
|
*/
|
|
4208
4209
|
profileShortName: string;
|
|
4209
4210
|
}
|
|
4210
|
-
declare const HistoryCard: ({ variant, title, tabTitle, comment, profileShortName, }: HistoryCardProps) =>
|
|
4211
|
+
declare const HistoryCard: ({ variant, title, tabTitle, comment, profileShortName, }: HistoryCardProps) => React$1.JSX.Element;
|
|
4211
4212
|
|
|
4212
4213
|
interface ToggleAiIconProps {
|
|
4213
4214
|
onChange?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
@@ -4413,7 +4414,7 @@ interface Option$2 {
|
|
|
4413
4414
|
[key: string]: OptionValue$1;
|
|
4414
4415
|
}
|
|
4415
4416
|
|
|
4416
|
-
declare const EditLabel: ({ id, onConfirm, onCancel, handleCustomError, value, label, optionsList, selectedOption, withDropdown, inputFieldWidth, selectFieldWidth, textColor, tooltip, required, isDisable, onClick, highlightText, isEditable, setIsEditable, cursor, isOnBlurTrue, handleOnChange, handleTriggerDoubleClick, truncatedTextCount, truncatedType, confirmIconTooltip, cancelIconTooltip, inlineValidationError, onChangeValidationError, isTableTree, isAutoTruncate, }: EditLabelProps) =>
|
|
4417
|
+
declare const EditLabel: ({ id, onConfirm, onCancel, handleCustomError, value, label, optionsList, selectedOption, withDropdown, inputFieldWidth, selectFieldWidth, textColor, tooltip, required, isDisable, onClick, highlightText, isEditable, setIsEditable, cursor, isOnBlurTrue, handleOnChange, handleTriggerDoubleClick, truncatedTextCount, truncatedType, confirmIconTooltip, cancelIconTooltip, inlineValidationError, onChangeValidationError, isTableTree, isAutoTruncate, }: EditLabelProps) => React$1.JSX.Element;
|
|
4417
4418
|
|
|
4418
4419
|
interface ErrorBoundaryProps {
|
|
4419
4420
|
fallback: ReactNode;
|
|
@@ -4479,7 +4480,7 @@ interface TabsProps {
|
|
|
4479
4480
|
titleSize?: number | string;
|
|
4480
4481
|
}
|
|
4481
4482
|
|
|
4482
|
-
declare const TabsWithSilder: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, }: TabsProps) =>
|
|
4483
|
+
declare const TabsWithSilder: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, }: TabsProps) => React$1.JSX.Element;
|
|
4483
4484
|
|
|
4484
4485
|
interface StatusIndicatorProps {
|
|
4485
4486
|
label: string;
|
|
@@ -4689,7 +4690,7 @@ declare const TableTreeFn: React__default.ForwardRefExoticComponent<TreeTablePro
|
|
|
4689
4690
|
declare const Loader: (details: {
|
|
4690
4691
|
name: string;
|
|
4691
4692
|
loaderName: string;
|
|
4692
|
-
}) =>
|
|
4693
|
+
}) => React$1.JSX.Element;
|
|
4693
4694
|
|
|
4694
4695
|
interface NoDataMessageProps {
|
|
4695
4696
|
isVisible: boolean;
|
|
@@ -4717,7 +4718,7 @@ type LayoutWithDrawerProps = {
|
|
|
4717
4718
|
top?: string;
|
|
4718
4719
|
children?: React__default.ReactNode;
|
|
4719
4720
|
};
|
|
4720
|
-
declare const LayoutWithDrawer: ({ drawerProps, showDrawer, children, zIndex, top, }: LayoutWithDrawerProps) =>
|
|
4721
|
+
declare const LayoutWithDrawer: ({ drawerProps, showDrawer, children, zIndex, top, }: LayoutWithDrawerProps) => React__default.JSX.Element;
|
|
4721
4722
|
|
|
4722
4723
|
interface NetworkErrorBoundaryProps {
|
|
4723
4724
|
children: ReactNode;
|
|
@@ -5031,7 +5032,7 @@ interface CommentsProps {
|
|
|
5031
5032
|
autoFocus?: boolean;
|
|
5032
5033
|
}
|
|
5033
5034
|
|
|
5034
|
-
declare const Comments: ({ commentsData, handleAddComment, handleEditComment, handleDeleteComment, onCommentsDataChange, currentUser, isDisable, userDetails, createdByID, rowBreakCharCount, isVewMode, deleteEnable, showTextarea, autoFocus, }: CommentsProps) =>
|
|
5035
|
+
declare const Comments: ({ commentsData, handleAddComment, handleEditComment, handleDeleteComment, onCommentsDataChange, currentUser, isDisable, userDetails, createdByID, rowBreakCharCount, isVewMode, deleteEnable, showTextarea, autoFocus, }: CommentsProps) => React__default.JSX.Element;
|
|
5035
5036
|
|
|
5036
5037
|
declare const useFileDropzone: (options: DropzoneOptions) => DropzoneState;
|
|
5037
5038
|
|
|
@@ -5853,7 +5854,7 @@ declare const StatusBadge: ({ gap, fontSize, entityType, statusValues, }: {
|
|
|
5853
5854
|
value: number;
|
|
5854
5855
|
tooltipValue?: number;
|
|
5855
5856
|
}[];
|
|
5856
|
-
}) =>
|
|
5857
|
+
}) => React$1.JSX.Element;
|
|
5857
5858
|
|
|
5858
5859
|
interface ToggleOption {
|
|
5859
5860
|
label: string;
|
|
@@ -5892,7 +5893,7 @@ interface AutoTruncateTextComponentProps {
|
|
|
5892
5893
|
placement?: Props['placement'];
|
|
5893
5894
|
}
|
|
5894
5895
|
|
|
5895
|
-
declare const AutoTruncateText: React$1.MemoExoticComponent<({ children, className, lines, interactive, placement, }: AutoTruncateTextComponentProps) =>
|
|
5896
|
+
declare const AutoTruncateText: React$1.MemoExoticComponent<({ children, className, lines, interactive, placement, }: AutoTruncateTextComponentProps) => React$1.JSX.Element>;
|
|
5896
5897
|
|
|
5897
5898
|
declare const cleanAllTooltips: () => void;
|
|
5898
5899
|
|