@mkt-loitd/react-table-grid-custom 1.1.9 → 1.2.1

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/dist/index.d.mts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { Key, Dispatch, SetStateAction, ReactNode, JSX } from 'react';
3
3
  import { ColumnOrColumnGroup, DataGridProps } from 'react-data-grid';
4
+ export { Column, ColumnOrColumnGroup, DataGridProps } from 'react-data-grid';
4
5
  import { PaginationRootProps } from '@mantine/core';
5
6
  import { TFunction } from 'i18next';
6
7
  import { UseMutateFunction } from '@tanstack/react-query';
@@ -138,7 +139,7 @@ interface IPayloadService {
138
139
  type IDispatchState<T> = Dispatch<SetStateAction<T>>;
139
140
 
140
141
  interface IExpandValue extends IPayloadService {
141
- t?: TFunction<any, any> | undefined;
142
+ t?: TFunction<any, any> | undefined | any;
142
143
  setConfigSearch?: IDispatchState<ISetConfigPagination>;
143
144
  setSelectedRecords?: Dispatch<ReadonlySet<string>>;
144
145
  setIsShowEdit?: Dispatch<SetStateAction<boolean>>;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { Key, Dispatch, SetStateAction, ReactNode, JSX } from 'react';
3
3
  import { ColumnOrColumnGroup, DataGridProps } from 'react-data-grid';
4
+ export { Column, ColumnOrColumnGroup, DataGridProps } from 'react-data-grid';
4
5
  import { PaginationRootProps } from '@mantine/core';
5
6
  import { TFunction } from 'i18next';
6
7
  import { UseMutateFunction } from '@tanstack/react-query';
@@ -138,7 +139,7 @@ interface IPayloadService {
138
139
  type IDispatchState<T> = Dispatch<SetStateAction<T>>;
139
140
 
140
141
  interface IExpandValue extends IPayloadService {
141
- t?: TFunction<any, any> | undefined;
142
+ t?: TFunction<any, any> | undefined | any;
142
143
  setConfigSearch?: IDispatchState<ISetConfigPagination>;
143
144
  setSelectedRecords?: Dispatch<ReadonlySet<string>>;
144
145
  setIsShowEdit?: Dispatch<SetStateAction<boolean>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkt-loitd/react-table-grid-custom",
3
- "version": "1.1.9",
3
+ "version": "1.2.1",
4
4
  "description": "React Table Grid Custom component",
5
5
  "license": "ISC",
6
6
  "private": false,