pixel-react 1.21.18 → 1.21.19
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 +1 -2
- 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 +1 -2
- 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 +1 -2
- package/lib/components/NLPInput/NlpInput.d.ts +1 -1
- package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.d.ts +1 -1
- package/lib/components/OverviewModal/overviewModal.js +46 -11
- package/lib/components/OverviewModal/overviewModal.js.map +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/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 +78 -155
- package/lib/components/Table/Table.js.map +1 -1
- package/lib/components/Table/Types.d.ts +6 -11
- package/lib/components/Table/components/SortableRow.d.ts +1 -1
- package/lib/components/Table/components/SortableRow.js +69 -60
- 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 +15 -20
- 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 +17 -32
- package/lib/components/Table/components/VirtualizedRows.js.map +1 -1
- package/lib/components/Table/utils/virtualization.d.ts +3 -10
- package/lib/components/Table/utils/virtualization.js +13 -40
- 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 +13 -38
- 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 +1 -2
- package/lib/index.d.ts +31 -32
- package/lib/index.js +17 -9
- 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
- package/lib/components/Table/utils/TableCell.d.ts +0 -2
- package/lib/components/Table/utils/TableCell.js +0 -27
- package/lib/components/Table/utils/TableCell.js.map +0 -1
|
@@ -9,37 +9,11 @@ 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;
|
|
24
12
|
const TableWithAccordion = ({ highlightText = '', tableMeta = [], tableData = [], accordionType = 'row', noDataContent, height = '100%', withFixedHeader = false, headerType, TableAccordionStateIconWidth = 4, TableAccordionStateIconHeight = 8, }) => {
|
|
25
13
|
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;
|
|
29
14
|
const onAccordionClick = (index) => {
|
|
30
15
|
setExpandedRowIndex(index === expandedRowIndex ? -1 : index);
|
|
31
16
|
};
|
|
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
|
-
};
|
|
43
17
|
const getAccordionTableCellContent = (dataObj, columnObj) => {
|
|
44
18
|
let cellData = dataObj[columnObj.accessor];
|
|
45
19
|
if (columnObj.cell) {
|
|
@@ -61,27 +35,28 @@ const TableWithAccordion = ({ highlightText = '', tableMeta = [], tableData = []
|
|
|
61
35
|
};
|
|
62
36
|
const getAccordionTableContent = (dataArray) => {
|
|
63
37
|
const accordionSubTable = dataArray.map((rowData, index) => {
|
|
64
|
-
return (_jsx("table", { className: "ff-table
|
|
65
|
-
return (_jsx("td", { className: "ff-table-
|
|
38
|
+
return (_jsx("table", { className: "ff-accordion-table", cellSpacing: 0, children: _jsx("tbody", { className: "ff-table-body", children: _jsx("tr", { className: "ff-table-row", children: tableMeta.map((column, i) => {
|
|
39
|
+
return (_jsx("td", { className: "ff-table-cell", style: { width: column.width }, children: accordionType === 'column' && i === 0 ? ('') : (_jsx(Typography, { children: getAccordionTableCellContent(rowData, column) })) }, column.accessor + i));
|
|
66
40
|
}) }, rowData.id || index) }) }, `accordion-table-${index}`));
|
|
67
41
|
});
|
|
68
42
|
return accordionSubTable;
|
|
69
43
|
};
|
|
70
|
-
return (_jsxs("div", { style: { height: height }, className: classNames('ff-table-
|
|
71
|
-
'ff-
|
|
72
|
-
}), children: [_jsx("table", { cellSpacing: 0, className: classNames('ff-table
|
|
73
|
-
'ff-
|
|
74
|
-
}), children: _jsx("thead", { children: _jsx("tr", { className: "ff-table-
|
|
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
|
|
76
|
-
tableData.map((row, index) => (_jsxs("div", { className: "
|
|
44
|
+
return (_jsxs("div", { style: { height: height }, className: classNames('ff-accordion-table-container', {
|
|
45
|
+
'ff-accordion-fixed-header-table': withFixedHeader,
|
|
46
|
+
}), children: [_jsx("table", { cellSpacing: 0, className: classNames('ff-accordion-table', {
|
|
47
|
+
'ff-accordion-fixed-header': withFixedHeader,
|
|
48
|
+
}), children: _jsx("thead", { children: _jsx("tr", { className: "ff-table-row", children: tableMeta.map((column) => (_jsx("th", { style: { width: column.width }, className: classNames('ff-table-header', headerType && `ff-accordion-table--${headerType}-bg`), children: _jsx("div", { children: _jsx(Typography, { fontWeight: "semi-bold", fontSize: 12, children: column.header }) }) }, `header-${column.header}`))) }) }) }), accordionType === 'row' &&
|
|
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: "column-table-accordion", children: [_jsx("div", { className: "ff-display-flex", children: _jsx(Tooltip, { title: row.disable
|
|
77
51
|
? row?.disableInfoMessage
|
|
78
|
-
:
|
|
52
|
+
: typeof row.title === 'string' &&
|
|
53
|
+
isTextTruncated(row.title, tableMeta[0]?.width, 'pixel')
|
|
79
54
|
? row.title
|
|
80
|
-
: '', placement: "bottom-start", children: _jsxs("div", { className: `
|
|
55
|
+
: '', placement: "bottom-start", children: _jsxs("div", { className: `accordion-header ${row.disable && 'accordion-header--disabled'}`, children: [_jsx("div", { className: "header-title", children: _jsx("span", { children: _jsx(Typography, { children: _jsx(HighlightText, { text: truncateText(row.title, tableMeta[0]?.width, 'pixel'), highlight: highlightText }) }) }) }), _jsx("div", { className: "accordion-arrow", onClick: () => {
|
|
81
56
|
!row.disable && onAccordionClick(index);
|
|
82
57
|
}, children: _jsx(Icon, { name: expandedRowIndex === index
|
|
83
58
|
? 'arrows_down_icon'
|
|
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}`))),
|
|
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.length <= 0 && (_jsx("div", { className: "no-data-content", style: { height: `calc(${height} - 50px)` }, children: noDataContent }))] }));
|
|
85
60
|
};
|
|
86
61
|
export default TableWithAccordion;
|
|
87
62
|
//# 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;AACjC,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;AAE/C,MAAM,kBAAkB,GAAG,CAAC,EAC1B,aAAa,GAAG,EAAE,EAClB,SAAS,GAAG,EAAE,EACd,SAAS,GAAG,EAAE,EACd,aAAa,GAAG,KAAK,EACrB,aAAa,EACb,MAAM,GAAG,MAAM,EACf,eAAe,GAAG,KAAK,EACvB,UAAU,EACV,4BAA4B,GAAG,CAAC,EAChC,6BAA6B,GAAG,CAAC,GACtB,EAAE,EAAE;IACf,MAAM,CAAC,gBAAgB,EAA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AO,IAAI,gBAAgB,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,KA1DI,oBAAoB,KAAK,EAAE,CA2D5B,CACP,CAAC,EACH,SAAS,CAAC,MAAM,IAAI,CAAC,IAAI,CACxB,cACE,SAAS,EAAC,iBAAiB,EAC3B,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
|
|
1
|
+
import { 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?: number;
|
|
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").JSX.Element;
|
|
4
|
+
declare const Tabs: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, isBorderBottomLine, isHoverBackground, isBorderRadius, tabFlexSpacing, }: TabsProps) => import("react/jsx-runtime").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").JSX.Element;
|
|
4
|
+
declare const TabsWithSilder: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, }: TabsProps) => import("react/jsx-runtime").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").JSX.Element;
|
|
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-runtime").JSX.Element;
|
|
4
4
|
export default Textarea;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AcceptedType } from './types';
|
|
2
|
-
export declare const Toastify: () => import("react").JSX.Element;
|
|
2
|
+
export declare const Toastify: () => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Toastify;
|
|
4
4
|
export declare const toast: {
|
|
5
5
|
success: (arg1: AcceptedType, arg2?: AcceptedType) => void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import './VariableInput.scss';
|
|
3
2
|
import { VariableInputProps } from './types';
|
|
4
|
-
declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) =>
|
|
3
|
+
declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default VariableInput;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
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';
|
|
3
4
|
import * as LazyLoad from 'react-window';
|
|
4
5
|
export { LazyLoad };
|
|
5
6
|
import * as Form from 'react-hook-form';
|
|
@@ -472,7 +473,7 @@ interface AccordionProps {
|
|
|
472
473
|
/**
|
|
473
474
|
* Accordion UI component
|
|
474
475
|
*/
|
|
475
|
-
declare const Accordion: ({ highlightText, headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, isExpand, onClick, className, iconColor, accordionContentStyle, }: AccordionProps) =>
|
|
476
|
+
declare const Accordion: ({ highlightText, headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, isExpand, onClick, className, iconColor, accordionContentStyle, }: AccordionProps) => react_jsx_runtime.JSX.Element;
|
|
476
477
|
|
|
477
478
|
type OptionValue$4 = any;
|
|
478
479
|
interface Option$6 {
|
|
@@ -522,7 +523,7 @@ interface MultiSelectProps {
|
|
|
522
523
|
isCloseIconToolTip?: boolean;
|
|
523
524
|
}
|
|
524
525
|
|
|
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) =>
|
|
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) => react_jsx_runtime.JSX.Element;
|
|
526
527
|
|
|
527
528
|
interface ToasterProps {
|
|
528
529
|
/**Boolean value to handle state of toaster. */
|
|
@@ -699,7 +700,7 @@ interface ChipsProps {
|
|
|
699
700
|
onClick?: () => void;
|
|
700
701
|
}
|
|
701
702
|
|
|
702
|
-
declare const Chip: ({ label, fullText, variant, labelWidth, fullTextWidth, onClick, }: ChipsProps) =>
|
|
703
|
+
declare const Chip: ({ label, fullText, variant, labelWidth, fullTextWidth, onClick, }: ChipsProps) => react_jsx_runtime.JSX.Element;
|
|
703
704
|
|
|
704
705
|
interface TooltipProps {
|
|
705
706
|
/**
|
|
@@ -1168,7 +1169,7 @@ interface TextareaProps {
|
|
|
1168
1169
|
isLabelRequired?: boolean;
|
|
1169
1170
|
}
|
|
1170
1171
|
|
|
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) =>
|
|
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) => react_jsx_runtime.JSX.Element;
|
|
1172
1173
|
|
|
1173
1174
|
interface StatusButtonProps {
|
|
1174
1175
|
/**
|
|
@@ -1207,7 +1208,7 @@ interface StatusButtonProps {
|
|
|
1207
1208
|
displayTooltip?: boolean;
|
|
1208
1209
|
}
|
|
1209
1210
|
|
|
1210
|
-
declare const StatusButton: ({ status, label, onClick, className, style, disabled, useDefaultCursor, displayTooltip, ...props }: StatusButtonProps) =>
|
|
1211
|
+
declare const StatusButton: ({ status, label, onClick, className, style, disabled, useDefaultCursor, displayTooltip, ...props }: StatusButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1211
1212
|
|
|
1212
1213
|
interface OptionClick {
|
|
1213
1214
|
/**
|
|
@@ -1352,7 +1353,7 @@ interface MenuOptionProps {
|
|
|
1352
1353
|
selectedValue?: string;
|
|
1353
1354
|
}
|
|
1354
1355
|
|
|
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) =>
|
|
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) => react_jsx_runtime.JSX.Element;
|
|
1356
1357
|
|
|
1357
1358
|
interface DataProps$3 {
|
|
1358
1359
|
/**
|
|
@@ -1366,7 +1367,6 @@ interface SelectedItemProps$1 {
|
|
|
1366
1367
|
*/
|
|
1367
1368
|
[key: string]: string | number | boolean;
|
|
1368
1369
|
}
|
|
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 |
|
|
1479
|
+
editMode?: string | 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?: LegacyRef<HTMLTableSectionElement> | React__default.RefObject<HTMLTableSectionElement> | null;
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Explicitly handling the checkbox disability for the row.
|
|
1490
1490
|
*/
|
|
@@ -1501,10 +1501,9 @@ interface TableProps$2 {
|
|
|
1501
1501
|
displayCard?: boolean;
|
|
1502
1502
|
selectedNode?: {
|
|
1503
1503
|
key: string;
|
|
1504
|
-
selected: string
|
|
1504
|
+
selected: string;
|
|
1505
1505
|
};
|
|
1506
1506
|
uniqueRowIdForAccordion?: string | number;
|
|
1507
|
-
openAccordionId?: string | number | null;
|
|
1508
1507
|
}
|
|
1509
1508
|
|
|
1510
1509
|
declare const Table: React$1.ForwardRefExoticComponent<TableProps$2 & React$1.RefAttributes<any>>;
|
|
@@ -1544,7 +1543,7 @@ interface AddResourceButtonProps {
|
|
|
1544
1543
|
isFromTree?: boolean;
|
|
1545
1544
|
}
|
|
1546
1545
|
|
|
1547
|
-
declare const AddResourceButton: ({ id, variant, directionalArrow, zIndex, menuOptionZIndex, treeRowRef, onMenuOptionClick, isFromTree, }: AddResourceButtonProps) =>
|
|
1546
|
+
declare const AddResourceButton: ({ id, variant, directionalArrow, zIndex, menuOptionZIndex, treeRowRef, onMenuOptionClick, isFromTree, }: AddResourceButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1548
1547
|
|
|
1549
1548
|
type BaseStatus = 'Passed' | 'Failed' | 'Warning' | 'Skipped' | 'On Hold' | 'Descoped' | 'To be Validated' | 'To be Tested' | 'Terminated';
|
|
1550
1549
|
type CaseFlexible<StatusType extends string> = StatusType | Lowercase<StatusType> | Uppercase<StatusType> | Capitalize<Lowercase<StatusType>>;
|
|
@@ -2445,7 +2444,7 @@ interface TabsProps$1 {
|
|
|
2445
2444
|
tabFlexSpacing?: 'space-between' | 'space-around' | 'flex-start' | 'flex-end' | 'center';
|
|
2446
2445
|
}
|
|
2447
2446
|
|
|
2448
|
-
declare const Tabs: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, isBorderBottomLine, isHoverBackground, isBorderRadius, tabFlexSpacing, }: TabsProps$1) =>
|
|
2447
|
+
declare const Tabs: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, isBorderBottomLine, isHoverBackground, isBorderRadius, tabFlexSpacing, }: TabsProps$1) => react_jsx_runtime.JSX.Element;
|
|
2449
2448
|
|
|
2450
2449
|
/**
|
|
2451
2450
|
* Represents a single tab in the BrowserTabs component.
|
|
@@ -2523,7 +2522,7 @@ interface BrowserTabsProps {
|
|
|
2523
2522
|
maxTabs?: number;
|
|
2524
2523
|
}
|
|
2525
2524
|
|
|
2526
|
-
declare const BrowserTabs: ({ tabsData, activeTabId, onTabClick, onTabClose, onTabAdd, maxTabWidth, showCloseOnActive, maxTabs, enableOverflowTooltip, onTabMouseEnter, onTabMouseLeave, }: BrowserTabsProps) =>
|
|
2525
|
+
declare const BrowserTabs: ({ tabsData, activeTabId, onTabClick, onTabClose, onTabAdd, maxTabWidth, showCloseOnActive, maxTabs, enableOverflowTooltip, onTabMouseEnter, onTabMouseLeave, }: BrowserTabsProps) => react_jsx_runtime.JSX.Element;
|
|
2527
2526
|
|
|
2528
2527
|
interface HighlightTextProps {
|
|
2529
2528
|
text?: string;
|
|
@@ -2610,7 +2609,7 @@ interface SearchProps {
|
|
|
2610
2609
|
handleBlur?: () => void;
|
|
2611
2610
|
}
|
|
2612
2611
|
|
|
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) =>
|
|
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) => react_jsx_runtime.JSX.Element;
|
|
2614
2613
|
|
|
2615
2614
|
interface DatePickerProps {
|
|
2616
2615
|
/**
|
|
@@ -2700,7 +2699,7 @@ interface StateDropdownProps {
|
|
|
2700
2699
|
zIndex?: number;
|
|
2701
2700
|
}
|
|
2702
2701
|
|
|
2703
|
-
declare const StateDropdown: ({ value, isReviewer, isApprovePage, handleStateValueClick, handleDropdownOptionsClick, disabled, isOnlyReviewer, showBorder, zIndex, }: StateDropdownProps) =>
|
|
2702
|
+
declare const StateDropdown: ({ value, isReviewer, isApprovePage, handleStateValueClick, handleDropdownOptionsClick, disabled, isOnlyReviewer, showBorder, zIndex, }: StateDropdownProps) => react_jsx_runtime.JSX.Element;
|
|
2704
2703
|
|
|
2705
2704
|
interface IconButtonProps {
|
|
2706
2705
|
label: string;
|
|
@@ -2812,7 +2811,7 @@ interface VariableInputProps {
|
|
|
2812
2811
|
list?: string[];
|
|
2813
2812
|
}
|
|
2814
2813
|
|
|
2815
|
-
declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) =>
|
|
2814
|
+
declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) => react_jsx_runtime.JSX.Element;
|
|
2816
2815
|
|
|
2817
2816
|
interface optionsType$1 {
|
|
2818
2817
|
label: string;
|
|
@@ -2831,7 +2830,7 @@ interface AllProjectsDropdownProps {
|
|
|
2831
2830
|
disabled?: boolean;
|
|
2832
2831
|
}
|
|
2833
2832
|
|
|
2834
|
-
declare const AllProjectsDropdown: ({ onClick, onMenuClick, options, selectedOption, selected, placeholder, disabled, }: AllProjectsDropdownProps) =>
|
|
2833
|
+
declare const AllProjectsDropdown: ({ onClick, onMenuClick, options, selectedOption, selected, placeholder, disabled, }: AllProjectsDropdownProps) => react_jsx_runtime.JSX.Element;
|
|
2835
2834
|
|
|
2836
2835
|
interface PieChartProps {
|
|
2837
2836
|
radius: number;
|
|
@@ -2942,7 +2941,7 @@ interface PaperProps {
|
|
|
2942
2941
|
rounded?: boolean;
|
|
2943
2942
|
}
|
|
2944
2943
|
|
|
2945
|
-
declare const Paper: ({ children, className, rounded }: PaperProps) =>
|
|
2944
|
+
declare const Paper: ({ children, className, rounded }: PaperProps) => react_jsx_runtime.JSX.Element;
|
|
2946
2945
|
|
|
2947
2946
|
type ChartItem = {
|
|
2948
2947
|
key: string;
|
|
@@ -3068,7 +3067,7 @@ interface NlpRenderOption {
|
|
|
3068
3067
|
name?: string;
|
|
3069
3068
|
}
|
|
3070
3069
|
|
|
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) =>
|
|
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) => react_jsx_runtime.JSX.Element;
|
|
3072
3071
|
|
|
3073
3072
|
interface IconRadioItem {
|
|
3074
3073
|
/**
|
|
@@ -3134,7 +3133,7 @@ interface MachineInputFieldProps {
|
|
|
3134
3133
|
}
|
|
3135
3134
|
|
|
3136
3135
|
declare const MachineInputField: {
|
|
3137
|
-
({ width, options, runCount, className, contentReverse, onClick, modalId, scriptType, readOnly, isMissing, }: MachineInputFieldProps):
|
|
3136
|
+
({ width, options, runCount, className, contentReverse, onClick, modalId, scriptType, readOnly, isMissing, }: MachineInputFieldProps): react_jsx_runtime.JSX.Element;
|
|
3138
3137
|
displayName: string;
|
|
3139
3138
|
};
|
|
3140
3139
|
|
|
@@ -3247,7 +3246,7 @@ declare const AttachmentButton: React__default.FC<AttachmentUploaderProps>;
|
|
|
3247
3246
|
|
|
3248
3247
|
type AcceptedType = string | (() => void) | Record<string, unknown> | unknown[];
|
|
3249
3248
|
|
|
3250
|
-
declare const Toastify: () =>
|
|
3249
|
+
declare const Toastify: () => react_jsx_runtime.JSX.Element;
|
|
3251
3250
|
|
|
3252
3251
|
declare const toast: {
|
|
3253
3252
|
success: (arg1: AcceptedType, arg2?: AcceptedType) => void;
|
|
@@ -3842,7 +3841,7 @@ interface ColumnProps$1 {
|
|
|
3842
3841
|
/**
|
|
3843
3842
|
* width of a column
|
|
3844
3843
|
*/
|
|
3845
|
-
width?:
|
|
3844
|
+
width?: number;
|
|
3846
3845
|
/**
|
|
3847
3846
|
* data for the column
|
|
3848
3847
|
*/
|
|
@@ -3894,7 +3893,7 @@ interface TableProps$1 {
|
|
|
3894
3893
|
highlightText?: string;
|
|
3895
3894
|
}
|
|
3896
3895
|
|
|
3897
|
-
declare const TableWithAccordion: ({ highlightText, tableMeta, tableData, accordionType, noDataContent, height, withFixedHeader, headerType, TableAccordionStateIconWidth, TableAccordionStateIconHeight, }: TableProps$1) =>
|
|
3896
|
+
declare const TableWithAccordion: ({ highlightText, tableMeta, tableData, accordionType, noDataContent, height, withFixedHeader, headerType, TableAccordionStateIconWidth, TableAccordionStateIconHeight, }: TableProps$1) => react_jsx_runtime.JSX.Element;
|
|
3898
3897
|
|
|
3899
3898
|
interface ProgressBarProps {
|
|
3900
3899
|
progressPercentage?: number;
|
|
@@ -4208,7 +4207,7 @@ interface HistoryCardProps {
|
|
|
4208
4207
|
*/
|
|
4209
4208
|
profileShortName: string;
|
|
4210
4209
|
}
|
|
4211
|
-
declare const HistoryCard: ({ variant, title, tabTitle, comment, profileShortName, }: HistoryCardProps) =>
|
|
4210
|
+
declare const HistoryCard: ({ variant, title, tabTitle, comment, profileShortName, }: HistoryCardProps) => react_jsx_runtime.JSX.Element;
|
|
4212
4211
|
|
|
4213
4212
|
interface ToggleAiIconProps {
|
|
4214
4213
|
onChange?: (event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void;
|
|
@@ -4414,7 +4413,7 @@ interface Option$2 {
|
|
|
4414
4413
|
[key: string]: OptionValue$1;
|
|
4415
4414
|
}
|
|
4416
4415
|
|
|
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) =>
|
|
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) => react_jsx_runtime.JSX.Element;
|
|
4418
4417
|
|
|
4419
4418
|
interface ErrorBoundaryProps {
|
|
4420
4419
|
fallback: ReactNode;
|
|
@@ -4480,7 +4479,7 @@ interface TabsProps {
|
|
|
4480
4479
|
titleSize?: number | string;
|
|
4481
4480
|
}
|
|
4482
4481
|
|
|
4483
|
-
declare const TabsWithSilder: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, }: TabsProps) =>
|
|
4482
|
+
declare const TabsWithSilder: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, }: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
4484
4483
|
|
|
4485
4484
|
interface StatusIndicatorProps {
|
|
4486
4485
|
label: string;
|
|
@@ -4690,7 +4689,7 @@ declare const TableTreeFn: React__default.ForwardRefExoticComponent<TreeTablePro
|
|
|
4690
4689
|
declare const Loader: (details: {
|
|
4691
4690
|
name: string;
|
|
4692
4691
|
loaderName: string;
|
|
4693
|
-
}) =>
|
|
4692
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
4694
4693
|
|
|
4695
4694
|
interface NoDataMessageProps {
|
|
4696
4695
|
isVisible: boolean;
|
|
@@ -4718,7 +4717,7 @@ type LayoutWithDrawerProps = {
|
|
|
4718
4717
|
top?: string;
|
|
4719
4718
|
children?: React__default.ReactNode;
|
|
4720
4719
|
};
|
|
4721
|
-
declare const LayoutWithDrawer: ({ drawerProps, showDrawer, children, zIndex, top, }: LayoutWithDrawerProps) =>
|
|
4720
|
+
declare const LayoutWithDrawer: ({ drawerProps, showDrawer, children, zIndex, top, }: LayoutWithDrawerProps) => react_jsx_runtime.JSX.Element;
|
|
4722
4721
|
|
|
4723
4722
|
interface NetworkErrorBoundaryProps {
|
|
4724
4723
|
children: ReactNode;
|
|
@@ -5032,7 +5031,7 @@ interface CommentsProps {
|
|
|
5032
5031
|
autoFocus?: boolean;
|
|
5033
5032
|
}
|
|
5034
5033
|
|
|
5035
|
-
declare const Comments: ({ commentsData, handleAddComment, handleEditComment, handleDeleteComment, onCommentsDataChange, currentUser, isDisable, userDetails, createdByID, rowBreakCharCount, isVewMode, deleteEnable, showTextarea, autoFocus, }: CommentsProps) =>
|
|
5034
|
+
declare const Comments: ({ commentsData, handleAddComment, handleEditComment, handleDeleteComment, onCommentsDataChange, currentUser, isDisable, userDetails, createdByID, rowBreakCharCount, isVewMode, deleteEnable, showTextarea, autoFocus, }: CommentsProps) => react_jsx_runtime.JSX.Element;
|
|
5036
5035
|
|
|
5037
5036
|
declare const useFileDropzone: (options: DropzoneOptions) => DropzoneState;
|
|
5038
5037
|
|
|
@@ -5854,7 +5853,7 @@ declare const StatusBadge: ({ gap, fontSize, entityType, statusValues, }: {
|
|
|
5854
5853
|
value: number;
|
|
5855
5854
|
tooltipValue?: number;
|
|
5856
5855
|
}[];
|
|
5857
|
-
}) =>
|
|
5856
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
5858
5857
|
|
|
5859
5858
|
interface ToggleOption {
|
|
5860
5859
|
label: string;
|
|
@@ -5893,7 +5892,7 @@ interface AutoTruncateTextComponentProps {
|
|
|
5893
5892
|
placement?: Props['placement'];
|
|
5894
5893
|
}
|
|
5895
5894
|
|
|
5896
|
-
declare const AutoTruncateText: React$1.MemoExoticComponent<({ children, className, lines, interactive, placement, }: AutoTruncateTextComponentProps) =>
|
|
5895
|
+
declare const AutoTruncateText: React$1.MemoExoticComponent<({ children, className, lines, interactive, placement, }: AutoTruncateTextComponentProps) => react_jsx_runtime.JSX.Element>;
|
|
5897
5896
|
|
|
5898
5897
|
declare const cleanAllTooltips: () => void;
|
|
5899
5898
|
|