es-grid-template 1.9.31 → 1.9.33

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.
Files changed (204) hide show
  1. package/assets/index.css +3 -3
  2. package/es/ali-table/InternalTable.d.ts +2 -2
  3. package/es/ali-table/base-table/colgroup.d.ts +2 -2
  4. package/es/ali-table/base-table/empty.d.ts +1 -1
  5. package/es/ali-table/base-table/header.d.ts +2 -2
  6. package/es/ali-table/base-table/html-table.d.ts +2 -2
  7. package/es/ali-table/base-table/loading.d.ts +1 -1
  8. package/es/ali-table/base-table/renderFilter.d.ts +2 -2
  9. package/es/ali-table/base-table/table.d.ts +1 -1
  10. package/es/ali-table/common-views.d.ts +5 -5
  11. package/es/ali-table/pipeline/features/ColumnsChoose.d.ts +2 -2
  12. package/es/ali-table/utils/convertColumnsChoose.d.ts +2 -2
  13. package/es/global.d.ts +3 -0
  14. package/es/grid-component/LoadingSpinner.d.ts +2 -2
  15. package/es/grid-component/TempTable.d.ts +2 -2
  16. package/es/grid-component/control/InputControl/InputControl.d.ts +1 -2
  17. package/es/group-component/ColumnsChoose.d.ts +2 -2
  18. package/es/group-component/ColumnsGroup/ColumnsGroup.d.ts +2 -2
  19. package/es/group-component/InternalTable.d.ts +2 -2
  20. package/es/group-component/TableContainer.d.ts +1 -2
  21. package/es/group-component/TableContainerEdit.d.ts +1 -2
  22. package/es/group-component/body/EditableCell.d.ts +1 -1
  23. package/es/group-component/body/TableBody.d.ts +2 -2
  24. package/es/group-component/body/TableBody.js +2 -0
  25. package/es/group-component/body/TableBodyCell.d.ts +2 -2
  26. package/es/group-component/body/TableBodyCellEdit.d.ts +2 -2
  27. package/es/group-component/body/TableBodyCellEmpty.d.ts +2 -2
  28. package/es/group-component/body/TableBodyCellEmpty.js +16 -9
  29. package/es/group-component/body/TableBodyRow.d.ts +3 -3
  30. package/es/group-component/body/TableBodyRowGroupCell.d.ts +2 -2
  31. package/es/group-component/components/ControlCheckbox.d.ts +2 -2
  32. package/es/group-component/components/EditForm/EditForm.d.ts +1 -1
  33. package/es/group-component/components/InputControl/InputControl.d.ts +1 -2
  34. package/es/group-component/components/async-select/index.d.ts +2 -2
  35. package/es/group-component/components/async-table-select/index.d.ts +2 -2
  36. package/es/group-component/components/checkbox-control/index.d.ts +2 -2
  37. package/es/group-component/components/checkbox-filter/CheckboxFilter.d.ts +2 -2
  38. package/es/group-component/components/checkbox-filter/FilterSearch.d.ts +1 -1
  39. package/es/group-component/components/command/Command.d.ts +2 -2
  40. package/es/group-component/components/number/index.d.ts +1 -2
  41. package/es/group-component/components/number-range/index.d.ts +1 -2
  42. package/es/group-component/footer/TableFooter.d.ts +2 -2
  43. package/es/group-component/footer/TableFooterCell.d.ts +2 -2
  44. package/es/group-component/footer/TableFooterRow.d.ts +2 -2
  45. package/es/group-component/header/TableHead.d.ts +3 -3
  46. package/es/group-component/header/TableHeadCell.d.ts +3 -3
  47. package/es/group-component/header/TableHeadCell2.d.ts +3 -3
  48. package/es/group-component/header/TableHeadGroupCell.d.ts +3 -3
  49. package/es/group-component/header/TableHeadRow.d.ts +3 -3
  50. package/es/group-component/header/renderFilter.d.ts +2 -2
  51. package/es/group-component/hook/utils.d.ts +5 -5
  52. package/es/group-component/table/Grid.d.ts +1 -2
  53. package/es/group-component/table/TableWrapper.d.ts +2 -2
  54. package/es/table-component/ColumnsChoose.d.ts +2 -2
  55. package/es/table-component/ContextMenu.d.ts +2 -2
  56. package/es/table-component/InternalTable.d.ts +2 -2
  57. package/es/table-component/InternalTable.js +6 -0
  58. package/es/table-component/TableContainer.d.ts +1 -2
  59. package/es/table-component/TableContainerEdit.d.ts +1 -2
  60. package/es/table-component/body/EditableCell.d.ts +1 -1
  61. package/es/table-component/body/EditableCell.js +2 -2
  62. package/es/table-component/body/TableBody.d.ts +2 -2
  63. package/es/table-component/body/TableBody.js +0 -2
  64. package/es/table-component/body/TableBodyCell.d.ts +2 -2
  65. package/es/table-component/body/TableBodyCellEdit.d.ts +2 -2
  66. package/es/table-component/body/TableBodyRow.d.ts +3 -3
  67. package/es/table-component/components/ControlCheckbox.d.ts +2 -2
  68. package/es/table-component/components/EditForm/EditForm.d.ts +1 -1
  69. package/es/table-component/components/InputControl/InputControl.d.ts +1 -2
  70. package/es/table-component/components/async-select/index.d.ts +2 -2
  71. package/es/table-component/components/async-table-select/index.d.ts +2 -2
  72. package/es/table-component/components/checkbox-control/index.d.ts +2 -2
  73. package/es/table-component/components/checkbox-filter/CheckboxFilter.d.ts +2 -2
  74. package/es/table-component/components/checkbox-filter/FilterSearch.d.ts +1 -1
  75. package/es/table-component/components/command/Command.d.ts +2 -2
  76. package/es/table-component/components/number/index.d.ts +1 -2
  77. package/es/table-component/components/number-range/index.d.ts +1 -2
  78. package/es/table-component/footer/TableFooter.d.ts +2 -2
  79. package/es/table-component/footer/TableFooterCell.d.ts +2 -2
  80. package/es/table-component/footer/TableFooterRow.d.ts +2 -2
  81. package/es/table-component/header/TableHead.d.ts +3 -3
  82. package/es/table-component/header/TableHeadCell.d.ts +3 -3
  83. package/es/table-component/header/TableHeadCell2.d.ts +3 -3
  84. package/es/table-component/header/TableHeadGroupCell.d.ts +3 -3
  85. package/es/table-component/header/TableHeadRow.d.ts +3 -3
  86. package/es/table-component/header/renderFilter.d.ts +2 -2
  87. package/es/table-component/hook/utils.d.ts +2 -2
  88. package/es/table-component/style.scss +8 -0
  89. package/es/table-component/table/Grid.d.ts +1 -2
  90. package/es/table-component/table/TableWrapper.d.ts +2 -2
  91. package/es/table-virtuoso/ColumnsGroup/ColumnsGroup.d.ts +2 -2
  92. package/es/table-virtuoso/InternalTable.d.ts +2 -2
  93. package/es/table-virtuoso/body/TableBodyCell.d.ts +2 -2
  94. package/es/table-virtuoso/body/TableBodyCellRowGroup.d.ts +2 -2
  95. package/es/table-virtuoso/body/TableBodyRow.d.ts +3 -3
  96. package/es/table-virtuoso/footer/TableFooterCell.d.ts +2 -2
  97. package/es/table-virtuoso/header/TableHeadCell.d.ts +3 -3
  98. package/es/table-virtuoso/header/renderFilter.d.ts +2 -2
  99. package/es/table-virtuoso/hook/utils.d.ts +2 -2
  100. package/es/table-virtuoso/table/Grid.d.ts +1 -2
  101. package/es/table-virtuoso/table/TableContainer.d.ts +1 -2
  102. package/es/table-virtuoso/table/TableWrapper.d.ts +1 -1
  103. package/lib/ali-table/InternalTable.d.ts +2 -2
  104. package/lib/ali-table/base-table/colgroup.d.ts +2 -2
  105. package/lib/ali-table/base-table/empty.d.ts +1 -1
  106. package/lib/ali-table/base-table/header.d.ts +2 -2
  107. package/lib/ali-table/base-table/html-table.d.ts +2 -2
  108. package/lib/ali-table/base-table/loading.d.ts +1 -1
  109. package/lib/ali-table/base-table/renderFilter.d.ts +2 -2
  110. package/lib/ali-table/base-table/table.d.ts +1 -1
  111. package/lib/ali-table/common-views.d.ts +5 -5
  112. package/lib/ali-table/pipeline/features/ColumnsChoose.d.ts +2 -2
  113. package/lib/ali-table/utils/convertColumnsChoose.d.ts +2 -2
  114. package/lib/global.d.ts +3 -0
  115. package/lib/grid-component/LoadingSpinner.d.ts +2 -2
  116. package/lib/grid-component/TempTable.d.ts +2 -2
  117. package/lib/grid-component/control/InputControl/InputControl.d.ts +1 -2
  118. package/lib/group-component/ColumnsChoose.d.ts +2 -2
  119. package/lib/group-component/ColumnsGroup/ColumnsGroup.d.ts +2 -2
  120. package/lib/group-component/InternalTable.d.ts +2 -2
  121. package/lib/group-component/TableContainer.d.ts +1 -2
  122. package/lib/group-component/TableContainerEdit.d.ts +1 -2
  123. package/lib/group-component/body/EditableCell.d.ts +1 -1
  124. package/lib/group-component/body/TableBody.d.ts +2 -2
  125. package/lib/group-component/body/TableBody.js +2 -0
  126. package/lib/group-component/body/TableBodyCell.d.ts +2 -2
  127. package/lib/group-component/body/TableBodyCellEdit.d.ts +2 -2
  128. package/lib/group-component/body/TableBodyCellEmpty.d.ts +2 -2
  129. package/lib/group-component/body/TableBodyCellEmpty.js +16 -9
  130. package/lib/group-component/body/TableBodyRow.d.ts +3 -3
  131. package/lib/group-component/body/TableBodyRowGroupCell.d.ts +2 -2
  132. package/lib/group-component/components/ControlCheckbox.d.ts +2 -2
  133. package/lib/group-component/components/EditForm/EditForm.d.ts +1 -1
  134. package/lib/group-component/components/InputControl/InputControl.d.ts +1 -2
  135. package/lib/group-component/components/async-select/index.d.ts +2 -2
  136. package/lib/group-component/components/async-table-select/index.d.ts +2 -2
  137. package/lib/group-component/components/checkbox-control/index.d.ts +2 -2
  138. package/lib/group-component/components/checkbox-filter/CheckboxFilter.d.ts +2 -2
  139. package/lib/group-component/components/checkbox-filter/FilterSearch.d.ts +1 -1
  140. package/lib/group-component/components/command/Command.d.ts +2 -2
  141. package/lib/group-component/components/number/index.d.ts +1 -2
  142. package/lib/group-component/components/number-range/index.d.ts +1 -2
  143. package/lib/group-component/footer/TableFooter.d.ts +2 -2
  144. package/lib/group-component/footer/TableFooterCell.d.ts +2 -2
  145. package/lib/group-component/footer/TableFooterRow.d.ts +2 -2
  146. package/lib/group-component/header/TableHead.d.ts +3 -3
  147. package/lib/group-component/header/TableHeadCell.d.ts +3 -3
  148. package/lib/group-component/header/TableHeadCell2.d.ts +3 -3
  149. package/lib/group-component/header/TableHeadGroupCell.d.ts +3 -3
  150. package/lib/group-component/header/TableHeadRow.d.ts +3 -3
  151. package/lib/group-component/header/renderFilter.d.ts +2 -2
  152. package/lib/group-component/hook/utils.d.ts +10 -10
  153. package/lib/group-component/table/Grid.d.ts +1 -2
  154. package/lib/group-component/table/TableWrapper.d.ts +2 -2
  155. package/lib/table-component/ColumnsChoose.d.ts +2 -2
  156. package/lib/table-component/ContextMenu.d.ts +2 -2
  157. package/lib/table-component/InternalTable.d.ts +2 -2
  158. package/lib/table-component/InternalTable.js +6 -0
  159. package/lib/table-component/TableContainer.d.ts +1 -2
  160. package/lib/table-component/TableContainerEdit.d.ts +1 -2
  161. package/lib/table-component/body/EditableCell.d.ts +1 -1
  162. package/lib/table-component/body/EditableCell.js +1 -1
  163. package/lib/table-component/body/TableBody.d.ts +2 -2
  164. package/lib/table-component/body/TableBody.js +0 -4
  165. package/lib/table-component/body/TableBodyCell.d.ts +2 -2
  166. package/lib/table-component/body/TableBodyCellEdit.d.ts +2 -2
  167. package/lib/table-component/body/TableBodyRow.d.ts +3 -3
  168. package/lib/table-component/components/ControlCheckbox.d.ts +2 -2
  169. package/lib/table-component/components/EditForm/EditForm.d.ts +1 -1
  170. package/lib/table-component/components/InputControl/InputControl.d.ts +1 -2
  171. package/lib/table-component/components/async-select/index.d.ts +2 -2
  172. package/lib/table-component/components/async-table-select/index.d.ts +2 -2
  173. package/lib/table-component/components/checkbox-control/index.d.ts +2 -2
  174. package/lib/table-component/components/checkbox-filter/CheckboxFilter.d.ts +2 -2
  175. package/lib/table-component/components/checkbox-filter/FilterSearch.d.ts +1 -1
  176. package/lib/table-component/components/command/Command.d.ts +2 -2
  177. package/lib/table-component/components/number/index.d.ts +1 -2
  178. package/lib/table-component/components/number-range/index.d.ts +1 -2
  179. package/lib/table-component/footer/TableFooter.d.ts +2 -2
  180. package/lib/table-component/footer/TableFooterCell.d.ts +2 -2
  181. package/lib/table-component/footer/TableFooterRow.d.ts +2 -2
  182. package/lib/table-component/header/TableHead.d.ts +3 -3
  183. package/lib/table-component/header/TableHeadCell.d.ts +3 -3
  184. package/lib/table-component/header/TableHeadCell2.d.ts +3 -3
  185. package/lib/table-component/header/TableHeadGroupCell.d.ts +3 -3
  186. package/lib/table-component/header/TableHeadRow.d.ts +3 -3
  187. package/lib/table-component/header/renderFilter.d.ts +2 -2
  188. package/lib/table-component/hook/utils.d.ts +2 -2
  189. package/lib/table-component/style.scss +8 -0
  190. package/lib/table-component/table/Grid.d.ts +1 -2
  191. package/lib/table-component/table/TableWrapper.d.ts +2 -2
  192. package/lib/table-virtuoso/ColumnsGroup/ColumnsGroup.d.ts +2 -2
  193. package/lib/table-virtuoso/InternalTable.d.ts +2 -2
  194. package/lib/table-virtuoso/body/TableBodyCell.d.ts +2 -2
  195. package/lib/table-virtuoso/body/TableBodyCellRowGroup.d.ts +2 -2
  196. package/lib/table-virtuoso/body/TableBodyRow.d.ts +3 -3
  197. package/lib/table-virtuoso/footer/TableFooterCell.d.ts +2 -2
  198. package/lib/table-virtuoso/header/TableHeadCell.d.ts +3 -3
  199. package/lib/table-virtuoso/header/renderFilter.d.ts +2 -2
  200. package/lib/table-virtuoso/hook/utils.d.ts +2 -2
  201. package/lib/table-virtuoso/table/Grid.d.ts +1 -2
  202. package/lib/table-virtuoso/table/TableContainer.d.ts +1 -2
  203. package/lib/table-virtuoso/table/TableWrapper.d.ts +1 -1
  204. package/package.json +66 -64
package/assets/index.css CHANGED
@@ -631,6 +631,9 @@
631
631
  margin: 0;
632
632
  }
633
633
 
634
+ .ui-rc-table-wrapper .ui-rc-table .ui-rc-pagination {
635
+ border-bottom: 1px solid #e0e0e0;
636
+ }
634
637
  .ui-rc-table-wrapper .ui-rc-table .ui-rc-pagination::before {
635
638
  content: "";
636
639
  position: absolute;
@@ -656,9 +659,6 @@
656
659
  .ui-rc-table-wrapper .ui-rc-table .ui-rc-pagination.top-pagination .ui-rc-pagination-total-text {
657
660
  margin-left: auto;
658
661
  }
659
- .ui-rc-table-wrapper .ui-rc-table .ui-rc-pagination {
660
- border-bottom: 1px solid #e0e0e0;
661
- }
662
662
 
663
663
  .ui-rc-pagination .ui-rc-pagination-total-text {
664
664
  white-space: nowrap;
@@ -1,5 +1,5 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import './base-table/styles.scss';
3
3
  import type { TableProps } from "../grid-component/type";
4
- declare const InternalTable: <RecordType extends object>(props: TableProps<RecordType>) => React.JSX.Element;
4
+ declare const InternalTable: <RecordType extends object>(props: TableProps<RecordType>) => JSX.Element;
5
5
  export default InternalTable;
@@ -1,5 +1,5 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import type { VisibleColumnDescriptor } from './interfaces';
3
3
  export declare function Colgroup({ descriptors }: {
4
4
  descriptors: VisibleColumnDescriptor[];
5
- }): React.JSX.Element;
5
+ }): JSX.Element;
@@ -9,4 +9,4 @@ export interface EmptyTableProps {
9
9
  }>;
10
10
  locale?: any;
11
11
  }
12
- export declare function EmptyHtmlTable({ descriptors, isLoading, emptyCellHeight, EmptyContent, locale, }: EmptyTableProps): React.JSX.Element;
12
+ export declare function EmptyHtmlTable({ descriptors, isLoading, emptyCellHeight, EmptyContent, locale, }: EmptyTableProps): JSX.Element;
@@ -1,5 +1,5 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import type { RenderInfo } from './interfaces';
3
3
  export default function TableHeader({ info }: {
4
4
  info: RenderInfo;
5
- }): React.JSX.Element;
5
+ }): JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import type { RenderInfo } from './interfaces';
3
3
  import type { BaseTableProps } from './table';
4
4
  import type { CommandClick, IFormat } from '../../grid-component/type';
@@ -17,4 +17,4 @@ export interface HtmlTableProps extends Required<Pick<BaseTableProps, 'getRowPro
17
17
  limit: number;
18
18
  };
19
19
  }
20
- export declare function HtmlTable({ tbodyHtmlTag, getRowProps, primaryKey, data, originData, format, commandClick, id, verticalRenderInfo: verInfo, horizontalRenderInfo: hozInfo, components: { Row, Cell, TableBody }, }: HtmlTableProps): React.JSX.Element;
20
+ export declare function HtmlTable({ tbodyHtmlTag, getRowProps, primaryKey, data, originData, format, commandClick, id, verticalRenderInfo: verInfo, horizontalRenderInfo: hozInfo, components: { Row, Cell, TableBody }, }: HtmlTableProps): JSX.Element;
@@ -10,5 +10,5 @@ interface LoadingProps {
10
10
  LoadingContentWrapper?: React.ComponentType<LoadingContentWrapperProps>;
11
11
  LoadingIcon?: React.ComponentType;
12
12
  }
13
- export default function Loading({ visible, children, LoadingContentWrapper, LoadingIcon, }: LoadingProps): React.JSX.Element;
13
+ export default function Loading({ visible, children, LoadingContentWrapper, LoadingIcon, }: LoadingProps): JSX.Element;
14
14
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import type { IFormat } from "../../grid-component/type";
3
3
  import type { ArtColumn } from "../interfaces";
4
4
  type RenderFilterProps = {
@@ -17,5 +17,5 @@ type RenderFilterProps = {
17
17
  doFilter?: (type: boolean) => void;
18
18
  tableLocal: any;
19
19
  };
20
- export declare const renderFilter: (args: RenderFilterProps) => React.JSX.Element;
20
+ export declare const renderFilter: (args: RenderFilterProps) => JSX.Element;
21
21
  export {};
@@ -166,7 +166,7 @@ export declare class BaseTable extends React.Component<BaseTableProps, BaseTable
166
166
  private renderTableFooter;
167
167
  private renderLockShadows;
168
168
  private renderStickyScroll;
169
- render(): React.JSX.Element;
169
+ render(): JSX.Element;
170
170
  componentDidMount(): void;
171
171
  componentDidUpdate(prevProps: Readonly<BaseTableProps>, prevState: Readonly<BaseTableState>): void;
172
172
  private didMountOrUpdate;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const InlineFlexCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
- export declare const ExpansionCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
3
+ export declare const ExpansionCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Pick<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
4
4
  ref?: React.Ref<HTMLDivElement>;
5
5
  }, never>> & string;
6
6
  interface IconProps extends React.SVGProps<SVGElement> {
@@ -12,10 +12,10 @@ interface IconProps extends React.SVGProps<SVGElement> {
12
12
  xmlns?: string;
13
13
  ref?: any;
14
14
  }
15
- declare function CaretDownIcon(props: IconProps): React.JSX.Element;
16
- declare function InfoIcon(props: IconProps): React.JSX.Element;
17
- declare function CaretRightIcon(props: IconProps): React.JSX.Element;
18
- declare function LoadingIcon(props: IconProps): React.JSX.Element;
15
+ declare function CaretDownIcon(props: IconProps): JSX.Element;
16
+ declare function InfoIcon(props: IconProps): JSX.Element;
17
+ declare function CaretRightIcon(props: IconProps): JSX.Element;
18
+ declare function LoadingIcon(props: IconProps): JSX.Element;
19
19
  export declare const icons: {
20
20
  Loading: typeof LoadingIcon;
21
21
  CaretDown: typeof CaretDownIcon;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import type { ColumnsTable, ColumnTable, GridTableLocale, Locale } from "../../../grid-component/type";
3
3
  export type IColumnsChoose<RecordType> = {
4
4
  id: string;
@@ -11,4 +11,4 @@ export type IColumnsChoose<RecordType> = {
11
11
  locale?: Locale;
12
12
  tableLocal: GridTableLocale;
13
13
  };
14
- export declare const ColumnsChoose: <RecordType extends object>(props: IColumnsChoose<RecordType>) => React.JSX.Element;
14
+ export declare const ColumnsChoose: <RecordType extends object>(props: IColumnsChoose<RecordType>) => JSX.Element;
@@ -1,5 +1,5 @@
1
- import { TreeDataNode } from "antd";
2
- import { ColumnTable } from "../../grid-component";
1
+ import type { TreeDataNode } from "antd";
2
+ import type { ColumnTable } from "../../grid-component";
3
3
  export declare function convertColumnsToTreeData(columns: ColumnTable[], groupColumns?: string[], t?: any): TreeDataNode[];
4
4
  export declare function filterColumnsByField(columns: ColumnTable[], fieldList: string[]): ColumnTable[];
5
5
  export declare function filterVisibleColumns(columns: ColumnTable[]): ColumnTable[];
package/es/global.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ declare module '*.scss';
2
+ declare module '*.sass';
3
+ declare module '*.css';
@@ -1,3 +1,3 @@
1
- import * as React from 'react';
2
- declare const ComponentSpinner: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const ComponentSpinner: () => JSX.Element;
3
3
  export default ComponentSpinner;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import type { TableProps } from "../grid-component";
3
- declare const TempTable: <RecordType extends object>(props: TableProps<RecordType>) => React.JSX.Element;
3
+ declare const TempTable: <RecordType extends object>(props: TableProps<RecordType>) => JSX.Element;
4
4
  export default TempTable;
@@ -1,5 +1,4 @@
1
1
  import type { HTMLInputTypeAttribute } from "react";
2
- import React from "react";
3
2
  interface IFFormInput {
4
3
  id?: any;
5
4
  control: any;
@@ -23,5 +22,5 @@ interface IFFormInput {
23
22
  t?: any;
24
23
  onKeyDown?: (event: any) => void;
25
24
  }
26
- declare const InputControl: (props: IFFormInput) => React.JSX.Element;
25
+ declare const InputControl: (props: IFFormInput) => JSX.Element;
27
26
  export default InputControl;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import type { ColumnsTable, ColumnTable } from "./../grid-component/type";
3
3
  import type { ColumnDef } from "@tanstack/react-table";
4
4
  export type IColumnsChoose<RecordType> = {
@@ -11,4 +11,4 @@ export type IColumnsChoose<RecordType> = {
11
11
  columnHidden: any;
12
12
  id: any;
13
13
  };
14
- export declare const ColumnsChoose: <RecordType extends object>(props: IColumnsChoose<RecordType>) => React.JSX.Element;
14
+ export declare const ColumnsChoose: <RecordType extends object>(props: IColumnsChoose<RecordType>) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  type IColumnsGroup = {
3
3
  id: string;
4
4
  tableLocal?: any;
@@ -10,5 +10,5 @@ type IColumnsGroup = {
10
10
  unClearableLevel?: number;
11
11
  defaultGroupColumns?: string[];
12
12
  };
13
- export declare const ColumnsGroup: (props: IColumnsGroup) => React.JSX.Element;
13
+ export declare const ColumnsGroup: (props: IColumnsGroup) => JSX.Element;
14
14
  export {};
@@ -1,8 +1,8 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import 'react-resizable/css/styles.css';
3
3
  import 'dayjs/locale/es';
4
4
  import 'dayjs/locale/vi';
5
5
  import '../table-component';
6
6
  import type { TableProps } from './../grid-component/type';
7
- declare const InternalTable: <RecordType extends object>(props: TableProps<RecordType>) => React.JSX.Element;
7
+ declare const InternalTable: <RecordType extends object>(props: TableProps<RecordType>) => JSX.Element;
8
8
  export default InternalTable;
@@ -1,5 +1,4 @@
1
1
  import type { Dispatch, SetStateAction } from 'react';
2
- import React from 'react';
3
2
  import type { ColumnDef, ColumnSizingInfoState, ColumnSizingState, Table } from '@tanstack/react-table';
4
3
  import type { ColumnsTable, TableProps } from './../grid-component/type';
5
4
  type TableContainerProps<T> = Omit<TableProps<T>, 'columns'> & {
@@ -45,5 +44,5 @@ type TableContainerProps<T> = Omit<TableProps<T>, 'columns'> & {
45
44
  columnSizing: ColumnSizingState;
46
45
  triggerGroupColumns?: (groupedColumns: string[]) => void;
47
46
  };
48
- declare const TableContainer: <RecordType extends object>(props: TableContainerProps<RecordType>) => React.JSX.Element;
47
+ declare const TableContainer: <RecordType extends object>(props: TableContainerProps<RecordType>) => JSX.Element;
49
48
  export default TableContainer;
@@ -1,5 +1,4 @@
1
1
  import type { Dispatch, SetStateAction } from "react";
2
- import React from "react";
3
2
  import type { ColumnDef, ColumnSizingInfoState, ColumnSizingState, Table } from "@tanstack/react-table";
4
3
  import type { ColumnsTable, TableProps } from "./../grid-component/type";
5
4
  type TableContainerProps<T> = Omit<TableProps<T>, 'columns'> & {
@@ -44,5 +43,5 @@ type TableContainerProps<T> = Omit<TableProps<T>, 'columns'> & {
44
43
  columnSizing: ColumnSizingState;
45
44
  triggerGroupColumns?: (groupedColumns: string[]) => void;
46
45
  };
47
- declare const TableContainerEdit: <RecordType extends object>(props: TableContainerProps<RecordType>) => React.JSX.Element;
46
+ declare const TableContainerEdit: <RecordType extends object>(props: TableContainerProps<RecordType>) => JSX.Element;
48
47
  export default TableContainerEdit;
@@ -12,5 +12,5 @@ interface EditableCellProps<DataType> extends React.HTMLAttributes<HTMLElement>
12
12
  indexCol: number;
13
13
  cellEditing?: any;
14
14
  }
15
- declare const EditableCell: <T>(props: EditableCellProps<T>) => React.JSX.Element;
15
+ declare const EditableCell: <T>(props: EditableCellProps<T>) => JSX.Element;
16
16
  export default EditableCell;
@@ -1,4 +1,4 @@
1
- import { type Table } from "@tanstack/react-table";
1
+ import type { Table } from "@tanstack/react-table";
2
2
  import type { CommandClick } from "../../grid-component/type";
3
3
  import React from "react";
4
4
  interface TableBodyProps<T> {
@@ -10,5 +10,5 @@ interface TableBodyProps<T> {
10
10
  showEmptyText?: boolean;
11
11
  [key: string]: any;
12
12
  }
13
- declare const TableBody: <RecordType extends object>({ columnVirtualizer, table, tableContainerRef, virtualPaddingLeft, virtualPaddingRight, fixedLeftColumns, fixedRightColumns, tableId, showEmptyText, ...rest }: TableBodyProps<RecordType>) => React.JSX.Element;
13
+ declare const TableBody: <RecordType extends object>({ columnVirtualizer, table, tableContainerRef, virtualPaddingLeft, virtualPaddingRight, fixedLeftColumns, fixedRightColumns, tableId, showEmptyText, ...rest }: TableBodyProps<RecordType>) => JSX.Element;
14
14
  export default TableBody;
@@ -1,4 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
+ // import { type Row, type Table } from "@tanstack/react-table"
3
+
2
4
  import TableBodyRow from "./TableBodyRow";
3
5
  import { useVirtualizer } from "@tanstack/react-virtual";
4
6
  import React, { Fragment } from "react";
@@ -1,6 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import type { Cell, Table } from "@tanstack/react-table";
2
3
  import type { CommandClick } from "../../grid-component/type";
3
- import React from "react";
4
4
  interface TableBodyCellProps<T> {
5
5
  table: Table<T>;
6
6
  tableId: string;
@@ -8,5 +8,5 @@ interface TableBodyCellProps<T> {
8
8
  commandClick?: (args: CommandClick<T>) => void;
9
9
  [key: string]: any;
10
10
  }
11
- declare const TableBodyCell: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => React.JSX.Element;
11
+ declare const TableBodyCell: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => JSX.Element;
12
12
  export default TableBodyCell;
@@ -1,6 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import type { Cell, Table } from "@tanstack/react-table";
2
3
  import type { CommandClick } from "../../grid-component/type";
3
- import React from "react";
4
4
  import type { VirtualItem, Virtualizer } from "@tanstack/react-virtual";
5
5
  interface TableBodyCellProps<T> {
6
6
  table: Table<T>;
@@ -13,5 +13,5 @@ interface TableBodyCellProps<T> {
13
13
  isRowEditable?: boolean;
14
14
  [key: string]: any;
15
15
  }
16
- declare const TableBodyCellEdit: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => React.JSX.Element;
16
+ declare const TableBodyCellEdit: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => JSX.Element;
17
17
  export default TableBodyCellEdit;
@@ -1,6 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import type { Cell, Table } from "@tanstack/react-table";
2
3
  import type { CommandClick } from "../../grid-component/type";
3
- import React from "react";
4
4
  interface TableBodyCellProps<T> {
5
5
  table: Table<T>;
6
6
  tableId: string;
@@ -8,5 +8,5 @@ interface TableBodyCellProps<T> {
8
8
  commandClick?: (args: CommandClick<T>) => void;
9
9
  [key: string]: any;
10
10
  }
11
- declare const TableBodyCellEmpty: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => React.JSX.Element;
11
+ declare const TableBodyCellEmpty: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => JSX.Element;
12
12
  export default TableBodyCellEmpty;
@@ -1,4 +1,5 @@
1
- import ReactDOMServer from 'react-dom/server';
1
+ // import ReactDOMServer from 'react-dom/server'
2
+
2
3
  import { getCommonPinningStyles } from "../hook/utils";
3
4
  import classNames from "classnames";
4
5
  import React from "react";
@@ -22,14 +23,19 @@ const TableBodyCellEmpty = props => {
22
23
  setIsSelecting,
23
24
  setIsPasting
24
25
  } = React.useContext(TableContext);
25
- const [isOpenTooltip, setIsOpenTooltip] = React.useState(false);
26
+
27
+ // const [isOpenTooltip, setIsOpenTooltip] = React.useState(false)
28
+
26
29
  const record = cell.row.original;
27
30
  const columnMeta = cell.column.columnDef.meta ?? {};
28
31
  const cellStyles = typeof columnMeta.onCellStyles === 'function' ? columnMeta.onCellStyles(cell.getValue(), cell) : columnMeta.onCellStyles;
29
- const tooltipContent = isOpenTooltip === false ? '' : columnMeta?.tooltipDescription ? typeof columnMeta.tooltipDescription === 'function' ? columnMeta.tooltipDescription({
30
- value: cell.getValue(),
31
- rowData: record
32
- }) : columnMeta.tooltipDescription : columnMeta.template && typeof columnMeta.template !== 'function' ? columnMeta.template : cell.getValue();
32
+
33
+ // const tooltipContent = (isOpenTooltip === false)
34
+ // ? ''
35
+ // : columnMeta?.tooltipDescription
36
+ // ? (typeof columnMeta.tooltipDescription === 'function' ? columnMeta.tooltipDescription({ value: cell.getValue(), rowData:record }) : columnMeta.tooltipDescription)
37
+ // : (columnMeta.template && typeof columnMeta.template !== 'function') ? columnMeta.template : cell.getValue()
38
+
33
39
  const allRows = table.getRowModel().flatRows;
34
40
  const rowNumber = allRows.findIndex(it => it.id === cell.row.id);
35
41
  const colIndex = cell.column.getIndex();
@@ -50,8 +56,8 @@ const TableBodyCellEmpty = props => {
50
56
  "data-col-key": cell.column.id
51
57
  // data-row-key={cell.row.id}
52
58
  ,
53
- "data-tooltip-id": `${id}-tooltip-content`,
54
- "data-tooltip-html": ReactDOMServer.renderToStaticMarkup( /*#__PURE__*/React.createElement(React.Fragment, null, tooltipContent))
59
+ "data-tooltip-id": `${id}-tooltip-content`
60
+ // data-tooltip-html={ReactDOMServer.renderToStaticMarkup(<>{tooltipContent}</>)}
55
61
  // data-tooltip-delay-show={500}
56
62
  ,
57
63
 
@@ -77,7 +83,8 @@ const TableBodyCellEmpty = props => {
77
83
  },
78
84
  onMouseEnter: e => {
79
85
  if (e.target.firstChild?.clientWidth < e.target.firstChild?.scrollWidth) {
80
- setIsOpenTooltip(true);
86
+
87
+ // setIsOpenTooltip(true)
81
88
  }
82
89
  setIsSelecting?.(false);
83
90
  setIsPasting?.(false);
@@ -1,7 +1,7 @@
1
+ /// <reference types="react" />
1
2
  import type { VirtualItem, Virtualizer } from "@tanstack/react-virtual";
2
- import { type Column, type Row, type Table } from "@tanstack/react-table";
3
+ import type { Column, Row, Table } from "@tanstack/react-table";
3
4
  import type { CommandClick } from "../../grid-component/type";
4
- import React from "react";
5
5
  interface TableBodyRowProps<T> {
6
6
  tableId: string;
7
7
  table: Table<T>;
@@ -17,5 +17,5 @@ interface TableBodyRowProps<T> {
17
17
  editAble?: boolean;
18
18
  [key: string]: any;
19
19
  }
20
- declare const TableBodyRow: <RecordType extends object>({ tableId, table, columnVirtualizer, row, rowVirtualizer, virtualPaddingLeft, virtualPaddingRight, virtualRow, fixedLeftColumns, fixedRightColumns, commandClick, editAble, isEditing, contextMenuItems, onContextMenu, ...rest }: TableBodyRowProps<RecordType>) => React.JSX.Element;
20
+ declare const TableBodyRow: <RecordType extends object>({ tableId, table, columnVirtualizer, row, rowVirtualizer, virtualPaddingLeft, virtualPaddingRight, virtualRow, fixedLeftColumns, fixedRightColumns, commandClick, editAble, isEditing, contextMenuItems, onContextMenu, ...rest }: TableBodyRowProps<RecordType>) => JSX.Element;
21
21
  export default TableBodyRow;
@@ -1,6 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import type { Cell, Table } from "@tanstack/react-table";
2
3
  import type { CommandClick } from "../../grid-component/type";
3
- import React from "react";
4
4
  interface TableBodyCellProps<T> {
5
5
  table: Table<T>;
6
6
  tableId: string;
@@ -8,5 +8,5 @@ interface TableBodyCellProps<T> {
8
8
  commandClick?: (args: CommandClick<T>) => void;
9
9
  [key: string]: any;
10
10
  }
11
- declare const TableBodyCell: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => React.JSX.Element;
11
+ declare const TableBodyCell: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => JSX.Element;
12
12
  export default TableBodyCell;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import type { ColumnTable } from "../../grid-component/type";
3
3
  type Props = {
4
4
  column: ColumnTable;
@@ -9,5 +9,5 @@ type Props = {
9
9
  checked: boolean;
10
10
  editAble?: boolean;
11
11
  };
12
- declare const ControlCheckbox: (props: Props) => React.JSX.Element;
12
+ declare const ControlCheckbox: (props: Props) => JSX.Element;
13
13
  export default ControlCheckbox;
@@ -23,5 +23,5 @@ type Props = {
23
23
  onKeyDown?: (event: any) => void;
24
24
  };
25
25
  export declare const SelectStyle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
26
- export declare const EditForm: (props: Props) => React.JSX.Element;
26
+ export declare const EditForm: (props: Props) => JSX.Element;
27
27
  export {};
@@ -1,5 +1,4 @@
1
1
  import type { HTMLInputTypeAttribute } from "react";
2
- import React from "react";
3
2
  interface IFFormInput {
4
3
  id?: any;
5
4
  control: any;
@@ -23,5 +22,5 @@ interface IFFormInput {
23
22
  t?: any;
24
23
  onKeyDown?: (event: any) => void;
25
24
  }
26
- declare const InputControl: (props: IFFormInput) => React.JSX.Element;
25
+ declare const InputControl: (props: IFFormInput) => JSX.Element;
27
26
  export default InputControl;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import type { BaseOptionType, DefaultOptionType } from "rc-select/lib/Select";
3
3
  import type { SelectProps } from "rc-master-ui/es/select";
4
4
  import type { LoadOptionsArgs } from '../../../grid-component/type';
@@ -8,4 +8,4 @@ export interface DebounceSelectProps<OptionType extends BaseOptionType = Default
8
8
  defaultOptions?: OptionType[];
9
9
  rowData?: any;
10
10
  }
11
- export declare function AsyncSelect<OptionType extends BaseOptionType>({ loadOptions, debounceTimeout, defaultOptions, rowData, ...props }: DebounceSelectProps<OptionType>): React.JSX.Element;
11
+ export declare function AsyncSelect<OptionType extends BaseOptionType>({ loadOptions, debounceTimeout, defaultOptions, rowData, ...props }: DebounceSelectProps<OptionType>): JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import type { BaseOptionType, DefaultOptionType } from "rc-select/lib/Select";
3
3
  import type { TableSelectProps } from "rc-master-ui";
4
4
  import type { LoadOptionsArgs } from '../../../grid-component/type';
@@ -8,4 +8,4 @@ export interface DebounceSelectProps<OptionType extends BaseOptionType = Default
8
8
  defaultOptions?: OptionType[];
9
9
  rowData?: any;
10
10
  }
11
- export declare function AsyncTableSelect<OptionType extends BaseOptionType>({ loadOptions, debounceTimeout, defaultOptions, columns, rowData, ...props }: DebounceSelectProps<OptionType>): React.JSX.Element;
11
+ export declare function AsyncTableSelect<OptionType extends BaseOptionType>({ loadOptions, debounceTimeout, defaultOptions, columns, rowData, ...props }: DebounceSelectProps<OptionType>): JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  type OptionType = {
3
3
  value: any;
4
4
  label: string;
@@ -9,5 +9,5 @@ type Props<T> = {
9
9
  value: any[];
10
10
  onChange?: (value: any[]) => void;
11
11
  };
12
- declare const CheckboxControl: <T extends OptionType>(props: Props<T>) => React.JSX.Element;
12
+ declare const CheckboxControl: <T extends OptionType>(props: Props<T>) => JSX.Element;
13
13
  export default CheckboxControl;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
1
+ /// <reference types="react" />
2
2
  import type { TableLocale } from "rc-master-ui/es/table/interface";
3
3
  type Props = {
4
4
  options: any[];
@@ -14,5 +14,5 @@ type Props = {
14
14
  locale?: TableLocale;
15
15
  filterMode?: 'menu' | 'tree';
16
16
  };
17
- declare const CheckboxFilter: (props: Props) => React.JSX.Element;
17
+ declare const CheckboxFilter: (props: Props) => JSX.Element;
18
18
  export default CheckboxFilter;
@@ -8,5 +8,5 @@ interface FilterSearchProps<RecordType = AnyObject> {
8
8
  tablePrefixCls: string;
9
9
  locale?: TableLocale;
10
10
  }
11
- declare const FilterSearch: <RecordType extends AnyObject = AnyObject>(props: FilterSearchProps<RecordType>) => React.JSX.Element;
11
+ declare const FilterSearch: <RecordType extends AnyObject = AnyObject>(props: FilterSearchProps<RecordType>) => JSX.Element;
12
12
  export default FilterSearch;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import type { CommandItem } from "../../../grid-component/type";
3
3
  type Props<T> = {
4
4
  id: string;
@@ -6,5 +6,5 @@ type Props<T> = {
6
6
  item: CommandItem;
7
7
  onClick: (e: any) => void;
8
8
  };
9
- declare const Command: <T extends object>(props: Props<T>) => React.JSX.Element;
9
+ declare const Command: <T extends object>(props: Props<T>) => JSX.Element;
10
10
  export default Command;
@@ -1,5 +1,4 @@
1
1
  import type { KeyboardEventHandler } from "react";
2
- import React from "react";
3
2
  import type { IFormat } from "../../../grid-component/type";
4
3
  type Props = {
5
4
  t?: any;
@@ -8,5 +7,5 @@ type Props = {
8
7
  onChange?: (values: any[]) => void;
9
8
  onPressEnter?: KeyboardEventHandler<HTMLInputElement>;
10
9
  };
11
- declare const NumberInput: (props: Props) => React.JSX.Element;
10
+ declare const NumberInput: (props: Props) => JSX.Element;
12
11
  export default NumberInput;
@@ -1,5 +1,4 @@
1
1
  import type { KeyboardEventHandler } from "react";
2
- import React from "react";
3
2
  import type { IFormat } from "../../../grid-component/type";
4
3
  type Props = {
5
4
  t?: any;
@@ -9,5 +8,5 @@ type Props = {
9
8
  onChange?: (values: any[]) => void;
10
9
  onPressEnter?: KeyboardEventHandler<HTMLInputElement>;
11
10
  };
12
- declare const NumberRange: (props: Props) => React.JSX.Element;
11
+ declare const NumberRange: (props: Props) => JSX.Element;
13
12
  export default NumberRange;
@@ -1,7 +1,7 @@
1
+ /// <reference types="react" />
1
2
  import type { Table } from "@tanstack/react-table";
2
- import React from "react";
3
3
  interface TableFooterProps<T> {
4
4
  table: Table<T>;
5
5
  }
6
- declare const TableFooter: <RecordType extends object>({ table, }: TableFooterProps<RecordType>) => React.JSX.Element;
6
+ declare const TableFooter: <RecordType extends object>({ table, }: TableFooterProps<RecordType>) => JSX.Element;
7
7
  export default TableFooter;
@@ -1,7 +1,7 @@
1
+ /// <reference types="react" />
1
2
  import type { Column } from "@tanstack/react-table";
2
- import React from "react";
3
3
  interface TableFooterCellProps<T> {
4
4
  column: Column<T, any>;
5
5
  }
6
- declare const TableFooterCell: <RecordType extends object>({ column }: TableFooterCellProps<RecordType>) => React.JSX.Element;
6
+ declare const TableFooterCell: <RecordType extends object>({ column }: TableFooterCellProps<RecordType>) => JSX.Element;
7
7
  export default TableFooterCell;
@@ -1,8 +1,8 @@
1
+ /// <reference types="react" />
1
2
  import type { HeaderGroup, Table } from "@tanstack/react-table";
2
- import React from "react";
3
3
  interface TableFooterRowProps<T> {
4
4
  table: Table<T>;
5
5
  headerGroup: HeaderGroup<T>;
6
6
  }
7
- declare const TableFooterRow: <RecordType extends object>({ table, headerGroup, }: TableFooterRowProps<RecordType>) => React.JSX.Element;
7
+ declare const TableFooterRow: <RecordType extends object>({ table, headerGroup, }: TableFooterRowProps<RecordType>) => JSX.Element;
8
8
  export default TableFooterRow;
@@ -1,6 +1,6 @@
1
1
  import type { Column } from '@tanstack/react-table';
2
- import { type Table } from '@tanstack/react-table';
3
- import { type Virtualizer } from '@tanstack/react-virtual';
2
+ import type { Table } from '@tanstack/react-table';
3
+ import type { Virtualizer } from '@tanstack/react-virtual';
4
4
  import React from 'react';
5
5
  interface TableHeadProps<T> {
6
6
  tableContainerRef: React.RefObject<HTMLDivElement>;
@@ -11,5 +11,5 @@ interface TableHeadProps<T> {
11
11
  fixedLeftColumns: Column<T, unknown>[];
12
12
  fixedRightColumns: Column<T, unknown>[];
13
13
  }
14
- declare const TableHead: <RecordType extends object>({ columnVirtualizer, table, }: TableHeadProps<RecordType>) => React.JSX.Element;
14
+ declare const TableHead: <RecordType extends object>({ columnVirtualizer, table, }: TableHeadProps<RecordType>) => JSX.Element;
15
15
  export default TableHead;
@@ -1,6 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import type { Table } from '@tanstack/react-table';
2
- import { type Header } from '@tanstack/react-table';
3
- import React from 'react';
3
+ import type { Header } from '@tanstack/react-table';
4
4
  import type { Virtualizer } from '@tanstack/react-virtual';
5
5
  interface TableHeadCellProps<T> {
6
6
  t?: any;
@@ -11,5 +11,5 @@ interface TableHeadCellProps<T> {
11
11
  colSpan: any;
12
12
  rowSpan: any;
13
13
  }
14
- declare const TableHeadCell: <RecordType extends object>(props: TableHeadCellProps<RecordType>) => React.JSX.Element;
14
+ declare const TableHeadCell: <RecordType extends object>(props: TableHeadCellProps<RecordType>) => JSX.Element;
15
15
  export default TableHeadCell;