react-table-edit 1.4.18 → 1.4.20

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.
@@ -1,7 +1,6 @@
1
1
  import { Dispatch, SetStateAction } from 'react';
2
- import { IColumnVirtualizedTable, IFFilterTable, IFOrderTable } from "../type";
2
+ import { IColumnVirtualizedTable, IFFilterTable, IFOrderTable, IFTableEditFormat } from "../type";
3
3
  import 'react-resizable/css/styles.css';
4
- import { IFTableEditFormat } from 'react-table-edit';
5
4
  type IFDataProps = {
6
5
  selectEnable: boolean;
7
6
  dataSource: any[];
@@ -22,4 +22,4 @@ type VirtualTableProps = {
22
22
  changeOrder?: (data: IFOrderTable[]) => void;
23
23
  };
24
24
  declare const VirtualTable: React.FC<VirtualTableProps>;
25
- export default VirtualTable;
25
+ export { VirtualTable };
package/dist/index.d.ts CHANGED
@@ -713,4 +713,27 @@ type IFProps = {
713
713
  };
714
714
  declare const Wizard: React.ForwardRefExoticComponent<IFProps & React.RefAttributes<unknown>>;
715
715
 
716
- export { ExportExcelComponent, FindNodeByPath, type FromItemsField, type IColumnTable, type IColumnVirtualizedTable, type IColumnsVirtualizedAgg, type ICommandItem, type IFColumnSelectTable, type IFColumnSelectTableTree, type IFCurrentPage, type IFCurrentPageConfig, type IFFilterTable, type IFOrderTable, type IFPageSize, type IFPropsDetail, type IFSettingFilterColumn, type IFTableEditButton, type IFTableEditFormat, type IFTableEditPaging, type IFTableEditSearchSetting, type IFTableEditToolbar, type IFTableSelectFormat, type IFTableTreeSelectFormat, type IFToolbarOptions, type IHeaderColumnTable, type ISettingFormElement, type ISettingNumericElement, type ISettingSelectElement, ImportExcelComponent, InputStyleComponent, SelectTable, SelectTableTree, TabsMenuComponent, Wizard, calculateTableStructure, checkDecimalSeparator, checkThousandSeparator, TableEdit as default, formartNumberic, formatDateTime, generateUUID, isNullOrUndefined, messageBoxConfirm, messageBoxConfirm2, messageBoxConfirmDelete, messageBoxError, messageHtmlBoxConfirm, messageHtmlBoxError, notificationError, notificationSuccess, roundNumber, useOnClickOutside };
716
+ type VirtualTableProps = {
717
+ idTable: string;
718
+ dataSource: any[];
719
+ rowHeight?: number;
720
+ height?: number;
721
+ columns: IColumnVirtualizedTable[];
722
+ selectEnable?: boolean;
723
+ isMutil?: boolean;
724
+ isLoading?: boolean;
725
+ formatSetting?: IFTableEditFormat;
726
+ allowFilter?: boolean;
727
+ allowOrder?: boolean;
728
+ pagingSetting?: IFTableEditPaging;
729
+ toolbarSetting?: IFTableEditToolbar;
730
+ searchSetting?: IFTableEditSearchSetting;
731
+ columnsAggregate?: IColumnsVirtualizedAgg[];
732
+ setColumns?: (columns: IColumnVirtualizedTable[]) => void;
733
+ commandClick?: (data: any) => void;
734
+ changeFilter?: (data: IFFilterTable[]) => void;
735
+ changeOrder?: (data: IFOrderTable[]) => void;
736
+ };
737
+ declare const VirtualTable: React__default.FC<VirtualTableProps>;
738
+
739
+ export { ExportExcelComponent, FindNodeByPath, type FromItemsField, type IColumnTable, type IColumnVirtualizedTable, type IColumnsVirtualizedAgg, type ICommandItem, type IFColumnSelectTable, type IFColumnSelectTableTree, type IFCurrentPage, type IFCurrentPageConfig, type IFFilterTable, type IFOrderTable, type IFPageSize, type IFPropsDetail, type IFSettingFilterColumn, type IFTableEditButton, type IFTableEditFormat, type IFTableEditPaging, type IFTableEditSearchSetting, type IFTableEditToolbar, type IFTableSelectFormat, type IFTableTreeSelectFormat, type IFToolbarOptions, type IHeaderColumnTable, type ISettingFormElement, type ISettingNumericElement, type ISettingSelectElement, ImportExcelComponent, InputStyleComponent, SelectTable, SelectTableTree, TabsMenuComponent, VirtualTable, Wizard, calculateTableStructure, checkDecimalSeparator, checkThousandSeparator, TableEdit as default, formartNumberic, formatDateTime, generateUUID, isNullOrUndefined, messageBoxConfirm, messageBoxConfirm2, messageBoxConfirmDelete, messageBoxError, messageHtmlBoxConfirm, messageHtmlBoxError, notificationError, notificationSuccess, roundNumber, useOnClickOutside };