profinansy-ui-lib 3.8.21 → 3.8.23

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.
@@ -4,7 +4,7 @@ export declare const Wrapper: import("styled-components/dist/types").IStyledComp
4
4
  $isOverflowAuto: boolean;
5
5
  }>> & string;
6
6
  export declare const Layout: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
- export declare const ContentWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
+ export declare const CenterBlock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
8
  export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
9
9
  $open: boolean;
10
10
  $showCloseButton: boolean;
@@ -1,2 +1,2 @@
1
1
  import { ITable } from './Table.typed';
2
- export declare function Table<TItem>({ columns, tCellRenderer, columnRenderer, RowWrapper, RowWrapperExpand, data, tableHeight, isLoading, loadingAmountRow, hints, rowHeight, stickyFirstColumn, stickyLastColumn, stickyHeader, stickyPageHeader, isDraggable, customSort, onScrollEndReach, fixedHeaderOffset, isScrollWithButton, onClickRow, onDoubleClickRow, onHoverRow, onColumnsReorder }: ITable<TItem>): import("react/jsx-runtime").JSX.Element;
2
+ export declare function Table<TItem>({ columns, tCellRenderer, columnRenderer, RowWrapper, RowWrapperExpand, data, tableHeight, isLoading, loadingAmountRow, hints, rowHeight, stickyFirstColumn, stickyLastColumn, stickyHeader, stickyPageHeader, isDraggable, customSort, onScrollEndReach, fixedHeaderOffset, isScrollWithButton, onClickRow, onDoubleClickRow, onHoverRow, onColumnsReorder, pagination }: ITable<TItem>): import("react/jsx-runtime").JSX.Element;
@@ -64,6 +64,11 @@ export interface ITable<TItem> {
64
64
  }) => JSX.Element;
65
65
  /** Функция, которая вызывается при drag'n drop'e колонок. (Должна менять пропс columns) **/
66
66
  onColumnsReorder?: (newColumnsOrder: IColumnTable[]) => void;
67
+ /** Если вдруг есть наружная пагинация, но поступает весь массив данных внутрь таблицы, то данными свойствами, таблица обрежет данные **/
68
+ pagination?: {
69
+ amount: number;
70
+ currentPage: number;
71
+ };
67
72
  }
68
73
  export interface IBody<TItem> {
69
74
  columns: IColumnTable[];