profinansy-ui-lib 3.2.96 → 3.2.98

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.
@@ -6,6 +6,7 @@ declare const Window: import("styled-components").StyledComponent<"div", import(
6
6
  height: number;
7
7
  top: number;
8
8
  left: number;
9
+ mode: string;
9
10
  }, never>;
10
11
  declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
11
12
  declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,2 +1,2 @@
1
1
  import { ITable } from './Table.typed';
2
- export declare function Table<TItem>({ columns, tCellRenderer, RowWrapper, RowWrapperExpand, data, tableHeight, hints, rowHeight, stickyFirstColumn, stickyLastColumn, stickyHeader, isDraggable, customSort, onScrollEndReach }: ITable<TItem>): JSX.Element;
2
+ export declare function Table<TItem>({ columns, tCellRenderer, RowWrapper, RowWrapperExpand, data, tableHeight, hints, rowHeight, stickyFirstColumn, stickyLastColumn, stickyHeader, isDraggable, customSort, onScrollEndReach, onClickRow }: ITable<TItem>): JSX.Element;
@@ -24,6 +24,8 @@ export interface ITable<TItem> {
24
24
  RowWrapperExpand?: React.ElementType;
25
25
  /** Объект с подсказками. Нужно, чтобы понимать, откуда вообще тянуть подсказки **/
26
26
  hints?: Record<string, string[]>;
27
+ /** Обрабатывает клик по строке **/
28
+ onClickRow?: (val: TItem) => void;
27
29
  /** Добавление своей сортировки таблицы **/
28
30
  customSort?: {
29
31
  onSort: (key: string, method?: string) => void;
@@ -52,6 +54,7 @@ export interface IBody<TItem> {
52
54
  stickyFirstColumn: boolean;
53
55
  stickyLastColumn: boolean;
54
56
  onScrollEndReach: ITable<TItem>['onScrollEndReach'];
57
+ onClickRow: ITable<TItem>['onClickRow'];
55
58
  }
56
59
  export interface IHead {
57
60
  columns: IColumnTable[];
@@ -1,2 +1,2 @@
1
1
  import { IBody } from '../../Table.typed';
2
- export declare function TBody<TItem>({ RowWrapper, RowWrapperExpand, data, columns, isScrolled, isScrolledEnd, rowHeight, tCellRenderer, stickyFirstColumn, stickyLastColumn, onScrollEndReach }: IBody<TItem>): JSX.Element;
2
+ export declare function TBody<TItem>({ RowWrapper, RowWrapperExpand, data, columns, isScrolled, isScrolledEnd, rowHeight, tCellRenderer, stickyFirstColumn, stickyLastColumn, onScrollEndReach, onClickRow }: IBody<TItem>): JSX.Element;
@@ -10,6 +10,8 @@ export declare const TD: import("styled-components").StyledComponent<"td", impor
10
10
  }, never>;
11
11
  export declare const TR: import("styled-components").StyledComponent<"tr", import("styled-components").DefaultTheme, {
12
12
  withoutBorder: boolean;
13
+ isClick: boolean;
14
+ isActive: boolean;
13
15
  }, never>;
14
16
  export declare const ExpandTR: import("styled-components").StyledComponent<"tr", import("styled-components").DefaultTheme, {}, never>;
15
17
  export declare const TDItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {