@jiaozhiye/qm-design-react 1.6.1 → 1.6.3

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 (139) hide show
  1. package/lib/_utils/resize-event.d.ts +2 -2
  2. package/lib/_utils/types.d.ts +15 -15
  3. package/lib/anchor/src/anchor-item.d.ts +3 -3
  4. package/lib/anchor/src/anchor-nav.d.ts +2 -2
  5. package/lib/anchor/src/anchor.d.ts +5 -5
  6. package/lib/antd/TimePicker.d.ts +1 -1
  7. package/lib/button/src/button.d.ts +4 -4
  8. package/lib/collapse/src/collapse.d.ts +2 -2
  9. package/lib/config-provider/context.d.ts +1 -1
  10. package/lib/config-provider/src/config-provider.d.ts +4 -4
  11. package/lib/copy-to-clipboard/src/copy-to-clipboard.d.ts +2 -2
  12. package/lib/countup/src/countup.d.ts +3 -3
  13. package/lib/cropper/src/cropper.d.ts +4 -4
  14. package/lib/divider/src/divider.d.ts +4 -4
  15. package/lib/download/src/download.d.ts +9 -9
  16. package/lib/drawer/src/drawer.d.ts +6 -6
  17. package/lib/empty/src/empty.d.ts +3 -3
  18. package/lib/form/src/context.d.ts +1 -1
  19. package/lib/form/src/fields-filter.d.ts +4 -4
  20. package/lib/form/src/form-cascader.d.ts +3 -3
  21. package/lib/form/src/form-checkbox-group.d.ts +3 -3
  22. package/lib/form/src/form-checkbox.d.ts +2 -2
  23. package/lib/form/src/form-city-select.d.ts +2 -2
  24. package/lib/form/src/form-date.d.ts +2 -2
  25. package/lib/form/src/form-divider.d.ts +2 -2
  26. package/lib/form/src/form-immediate.d.ts +3 -3
  27. package/lib/form/src/form-input-number.d.ts +2 -2
  28. package/lib/form/src/form-input.d.ts +2 -2
  29. package/lib/form/src/form-item-view.d.ts +1 -1
  30. package/lib/form/src/form-multiple-search-helper.d.ts +3 -3
  31. package/lib/form/src/form-multiple-tree-table-helper.d.ts +3 -3
  32. package/lib/form/src/form-radio.d.ts +3 -3
  33. package/lib/form/src/form-range-date.d.ts +2 -2
  34. package/lib/form/src/form-range-input-number.d.ts +2 -2
  35. package/lib/form/src/form-range-input.d.ts +2 -2
  36. package/lib/form/src/form-range-search-helper.d.ts +3 -3
  37. package/lib/form/src/form-range-time.d.ts +2 -2
  38. package/lib/form/src/form-rate.d.ts +2 -2
  39. package/lib/form/src/form-region-select.d.ts +2 -2
  40. package/lib/form/src/form-search-helper.d.ts +3 -3
  41. package/lib/form/src/form-select.d.ts +3 -3
  42. package/lib/form/src/form-switch.d.ts +2 -2
  43. package/lib/form/src/form-text-area.d.ts +2 -2
  44. package/lib/form/src/form-time.d.ts +2 -2
  45. package/lib/form/src/form-tinymce.d.ts +2 -2
  46. package/lib/form/src/form-tree-select.d.ts +3 -3
  47. package/lib/form/src/form-tree-table-helper.d.ts +3 -3
  48. package/lib/form/src/form-upload-file.d.ts +2 -2
  49. package/lib/form/src/form-upload-img.d.ts +2 -2
  50. package/lib/form/src/form.d.ts +14 -13
  51. package/lib/form/src/types.d.ts +28 -25
  52. package/lib/form/style/index.less +1 -1
  53. package/lib/hooks/useDebounce.d.ts +1 -1
  54. package/lib/index.esm.js +2 -2
  55. package/lib/index.full.js +1 -1
  56. package/lib/index.js +2 -2
  57. package/lib/locale/index.d.ts +2 -2
  58. package/lib/locale/index.js +5 -5
  59. package/lib/modal/src/modal.d.ts +6 -6
  60. package/lib/print/src/container.d.ts +2 -2
  61. package/lib/print/src/context.d.ts +1 -1
  62. package/lib/print/src/preview.d.ts +3 -3
  63. package/lib/print/src/print.d.ts +6 -6
  64. package/lib/print/src/setting.d.ts +3 -3
  65. package/lib/range-table-helper/src/range-table-helper.d.ts +3 -3
  66. package/lib/search-helper/src/search-helper.d.ts +3 -3
  67. package/lib/search-tree/src/search-tree.d.ts +3 -3
  68. package/lib/space/src/space.d.ts +3 -3
  69. package/lib/spin/src/spin.d.ts +4 -4
  70. package/lib/split/src/context.d.ts +1 -1
  71. package/lib/split/src/resize-bar.d.ts +1 -1
  72. package/lib/split/src/split-pane.d.ts +2 -2
  73. package/lib/split/src/split.d.ts +2 -2
  74. package/lib/style/index.css +2 -2
  75. package/lib/style/index.min.css +1 -1
  76. package/lib/table/src/alert/index.d.ts +1 -1
  77. package/lib/table/src/body/index.d.ts +1 -1
  78. package/lib/table/src/body/useMergeCell.d.ts +2 -1
  79. package/lib/table/src/clipboard/index.d.ts +1 -1
  80. package/lib/table/src/clipboard/setting.d.ts +1 -1
  81. package/lib/table/src/column-filter/index.d.ts +1 -1
  82. package/lib/table/src/context/index.d.ts +1 -1
  83. package/lib/table/src/edit/InputNumber.d.ts +1 -1
  84. package/lib/table/src/edit/index.d.ts +1 -1
  85. package/lib/table/src/expandable/all.d.ts +1 -1
  86. package/lib/table/src/expandable/index.d.ts +1 -1
  87. package/lib/table/src/export/define.d.ts +1 -1
  88. package/lib/table/src/export/index.d.ts +2 -2
  89. package/lib/table/src/export/setting.d.ts +1 -1
  90. package/lib/table/src/export/useExport.d.ts +2 -2
  91. package/lib/table/src/fast-search/index.d.ts +1 -1
  92. package/lib/table/src/fast-search/setting.d.ts +1 -1
  93. package/lib/table/src/filter/index.d.ts +1 -1
  94. package/lib/table/src/footer/index.d.ts +1 -1
  95. package/lib/table/src/full-screen/index.d.ts +1 -1
  96. package/lib/table/src/group-summary/index.d.ts +1 -1
  97. package/lib/table/src/group-summary/result.d.ts +1 -1
  98. package/lib/table/src/group-summary/setting.d.ts +1 -1
  99. package/lib/table/src/header/index.d.ts +1 -1
  100. package/lib/table/src/hooks/useImperativeMethod.d.ts +1 -1
  101. package/lib/table/src/hooks/useTableCore.d.ts +1 -1
  102. package/lib/table/src/hooks/useTableEffect.d.ts +1 -1
  103. package/lib/table/src/hooks/useTableLayout.d.ts +1 -1
  104. package/lib/table/src/hooks/useTableMemo.d.ts +1 -1
  105. package/lib/table/src/hooks/useTableRef.d.ts +2 -2
  106. package/lib/table/src/hooks/useTableState.d.ts +1 -1
  107. package/lib/table/src/import/SelectFile.d.ts +1 -1
  108. package/lib/table/src/import/index.d.ts +1 -1
  109. package/lib/table/src/import/setting.d.ts +1 -1
  110. package/lib/table/src/manager/index.d.ts +1 -1
  111. package/lib/table/src/pager/index.d.ts +1 -1
  112. package/lib/table/src/print/index.d.ts +1 -1
  113. package/lib/table/src/reload/index.d.ts +1 -1
  114. package/lib/table/src/resizable/index.d.ts +1 -1
  115. package/lib/table/src/select-collection/index.d.ts +1 -1
  116. package/lib/table/src/select-collection/result.d.ts +1 -1
  117. package/lib/table/src/selection/all.d.ts +1 -1
  118. package/lib/table/src/selection/index.d.ts +1 -1
  119. package/lib/table/src/store/index.d.ts +2 -2
  120. package/lib/table/src/super-search/index.d.ts +1 -1
  121. package/lib/table/src/super-search/result.d.ts +1 -1
  122. package/lib/table/src/table/index.d.ts +1 -1
  123. package/lib/table/src/table/props.d.ts +5 -5
  124. package/lib/table/src/table/types.d.ts +45 -45
  125. package/lib/table/src/toolbox/index.d.ts +1 -1
  126. package/lib/tabs/src/tab-pane.d.ts +4 -4
  127. package/lib/tabs/src/tabs.d.ts +3 -3
  128. package/lib/tinymce/src/Events.d.ts +2 -2
  129. package/lib/tinymce/src/ScriptLoader.d.ts +1 -1
  130. package/lib/tinymce/src/Utils.d.ts +1 -1
  131. package/lib/tinymce/src/components/Editor.d.ts +1 -1
  132. package/lib/tinymce/src/components/EditorPropTypes.d.ts +2 -2
  133. package/lib/tinymce/src/index.d.ts +3 -3
  134. package/lib/tree-helper/src/tree-helper.d.ts +2 -2
  135. package/lib/tree-table-helper/src/tree-table-helper.d.ts +3 -3
  136. package/lib/upload-file/src/upload-file.d.ts +5 -5
  137. package/lib/upload-img/src/cropper-preview.d.ts +4 -4
  138. package/lib/upload-img/src/upload-img.d.ts +5 -5
  139. package/package.json +19 -19
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type IAlertProps = {
2
+ type IAlertProps = {
3
3
  total: number;
4
4
  };
5
5
  declare const Alert: React.FC<IAlertProps>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn, IRecord, TableBodyRef } from '../table/types';
3
- declare type IBodyProps = {
3
+ type IBodyProps = {
4
4
  tableData: IRecord[];
5
5
  flattenColumns: IColumn[];
6
6
  };
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  declare const useMergeCell: () => {
2
3
  dragStart: (ev: any) => void;
3
- renderDragPanel: () => JSX.Element;
4
+ renderDragPanel: () => React.JSX.Element;
4
5
  closeDragPanel: () => void;
5
6
  };
6
7
  export default useMergeCell;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn, ToolMethodRef } from '../table/types';
3
- declare type ITableClipboardProps = {
3
+ type ITableClipboardProps = {
4
4
  flattenColumns: IColumn[];
5
5
  open?: boolean;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn } from '../table/types';
3
- declare type ISettingProps = {
3
+ type ISettingProps = {
4
4
  columns: IColumn[];
5
5
  onClose: () => void;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn } from '../table/types';
3
- declare type IColumnFilterProps = {
3
+ type IColumnFilterProps = {
4
4
  columns: IColumn[];
5
5
  };
6
6
  declare const ColumnFilter: React.FC<IColumnFilterProps>;
@@ -3,7 +3,7 @@ import type { TableBodyRef, IColumn, IDerivedRowKey, IFetchParams, IPagination,
3
3
  import type { ITableRef } from '../hooks/useTableRef';
4
4
  import type { ITableState } from '../hooks/useTableState';
5
5
  import type { ComponentSize } from '../../../_utils/types';
6
- export declare type ITableContext = {
6
+ export type ITableContext = {
7
7
  getRowKey: (row: IRecord, index: number) => IRowKey;
8
8
  tableProps: ITableProps;
9
9
  tableRef: React.MutableRefObject<ITableRef>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ComponentSize } from '../../../_utils/types';
3
- declare type INumberProps = {
3
+ type INumberProps = {
4
4
  size?: ComponentSize;
5
5
  defaultValue?: number | string;
6
6
  value?: number | string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn, IRecord, IRowKey } from '../table/types';
3
- declare type ICellEditProps = {
3
+ type ICellEditProps = {
4
4
  column: IColumn;
5
5
  record: IRecord;
6
6
  rowKey: IRowKey;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type IAllExpandableProps = {
2
+ type IAllExpandableProps = {
3
3
  style?: React.CSSProperties;
4
4
  };
5
5
  declare const AllExpandable: React.FC<IAllExpandableProps>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IRecord, IRowKey } from '../table/types';
3
- declare type IExpandableProps = {
3
+ type IExpandableProps = {
4
4
  record: IRecord;
5
5
  rowKey: IRowKey;
6
6
  style?: React.CSSProperties;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn } from '../table/types';
3
- declare type IDefineProps = {
3
+ type IDefineProps = {
4
4
  columns: IColumn[];
5
5
  onChange: (columns: IColumn[]) => void;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn, ToolMethodRef } from '../table/types';
3
- export declare type IOptions = {
3
+ export type IOptions = {
4
4
  fileName: string;
5
5
  fileType: 'xlsx' | 'csv';
6
6
  sheetName: string;
@@ -11,7 +11,7 @@ export declare type IOptions = {
11
11
  footSummation: boolean;
12
12
  useStyle: boolean;
13
13
  };
14
- declare type ITableExportProps = {
14
+ type ITableExportProps = {
15
15
  tableColumns: IColumn[];
16
16
  open?: boolean;
17
17
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn } from '../table/types';
3
- declare type ISettingProps = {
3
+ type ISettingProps = {
4
4
  defaultValue: {
5
5
  fileName: string;
6
6
  fileType: string;
@@ -1,7 +1,7 @@
1
1
  import type { IColumn, IRecord } from '../table/types';
2
2
  import type { IOptions } from './index';
3
- declare type IParamsFn1 = (columns: IColumn[], tableData: IRecord[]) => Record<string, number>[];
4
- declare type IParamsFn2 = (row: IRecord, rowIndex: number, column: IColumn, columnIndex: number) => string | number;
3
+ type IParamsFn1 = (columns: IColumn[], tableData: IRecord[]) => Record<string, number>[];
4
+ type IParamsFn2 = (row: IRecord, rowIndex: number, column: IColumn, columnIndex: number) => string | number;
5
5
  declare const useExport: () => {
6
6
  exportXLSX: (options: IOptions, dataList: IRecord[], calcSummationValues: IParamsFn1, renderCell: IParamsFn2) => Promise<Blob>;
7
7
  exportCSV: (options: IOptions, tableHTML: string) => Blob;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ToolMethodRef } from '../table/types';
3
- declare type IFastSearchProps = {
3
+ type IFastSearchProps = {
4
4
  open?: boolean;
5
5
  };
6
6
  declare const FastSearch: React.ForwardRefExoticComponent<IFastSearchProps & React.RefAttributes<ToolMethodRef>>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type ISettingProps = {
2
+ type ISettingProps = {
3
3
  onClose: () => void;
4
4
  };
5
5
  declare const Setting: React.FC<ISettingProps>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn, IFilter } from '../table/types';
3
- declare type IHeadFilterProps = {
3
+ type IHeadFilterProps = {
4
4
  column: IColumn;
5
5
  filters: IFilter;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn } from '../table/types';
3
- declare type IFootProps = {
3
+ type IFootProps = {
4
4
  summationRows: Record<string, string | number>[];
5
5
  flattenColumns: IColumn[];
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ToolMethodRef } from '../table/types';
3
- declare type IFullScreenProps = {
3
+ type IFullScreenProps = {
4
4
  isFullScreen: boolean;
5
5
  open?: boolean;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ToolMethodRef } from '../table/types';
3
- declare type IGroupSummaryProps = {
3
+ type IGroupSummaryProps = {
4
4
  open?: boolean;
5
5
  };
6
6
  declare const GroupSummary: React.ForwardRefExoticComponent<IGroupSummaryProps & React.RefAttributes<ToolMethodRef>>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn, IRecord } from '../table/types';
3
- declare type IResultProps = {
3
+ type IResultProps = {
4
4
  columns: IColumn[];
5
5
  group: IRecord[];
6
6
  summary: IRecord[];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type ISettingProps = {
2
+ type ISettingProps = {
3
3
  onClose: () => void;
4
4
  };
5
5
  declare const Setting: React.FC<ISettingProps>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn, IFilter, ISorter } from '../table/types';
3
- declare type IHeaderProps = {
3
+ type IHeaderProps = {
4
4
  tableColumns: IColumn[];
5
5
  flattenColumns: IColumn[];
6
6
  sorter: ISorter;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { ITableRef } from './useTableRef';
3
3
  import type { getRowKeyType, ITableProps, IColumn, IFetchParams, IPagination, IRecord, IRowKey, IRule, IValidItem, TableRef, ToolBoxRef } from '../table/types';
4
- declare type IExtra = {
4
+ type IExtra = {
5
5
  getRowKey: getRowKeyType;
6
6
  tableProps: ITableProps;
7
7
  tableRef: React.MutableRefObject<ITableRef>;
@@ -3,7 +3,7 @@ import type { ITableRef } from './useTableRef';
3
3
  import type { ITableState } from './useTableState';
4
4
  import type { getRowKeyType, IColumn, IDerivedRowKey, IFetchParams, IFieldAuthItem, IFilter, IPagination, IRecord, IRowKey, IRule, ISorter, ISuperFilter, ITableProps, IValidItem, TableBodyRef } from '../table/types';
5
5
  import type { ComponentSize } from '../../../_utils/types';
6
- declare type IExtra = {
6
+ type IExtra = {
7
7
  getRowKey: getRowKeyType;
8
8
  tableRef: React.MutableRefObject<ITableRef>;
9
9
  tableElementRef: React.RefObject<HTMLElement>;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { ITableRef } from './useTableRef';
3
3
  import type { TableBodyRef, IColumn, IPagination, IRecord, IRowKey, ITableProps, IMergeCell } from '../table/types';
4
4
  import type { ComponentSize } from '../../../_utils/types';
5
- declare type IExtra = {
5
+ type IExtra = {
6
6
  tableRef: React.MutableRefObject<ITableRef>;
7
7
  topElementRef: React.RefObject<HTMLDivElement>;
8
8
  tableElementRef: React.RefObject<HTMLDivElement>;
@@ -4,7 +4,7 @@ import type { IColumn, IRecord, IRowKey, ITableProps } from '../table/types';
4
4
  import type { ITableState } from './useTableState';
5
5
  import type { ITableRef } from './useTableRef';
6
6
  import type { ComponentSize } from '../../../_utils/types';
7
- declare type IExtra = {
7
+ type IExtra = {
8
8
  getRowKey: getRowKeyType;
9
9
  tableRef: React.MutableRefObject<ITableRef>;
10
10
  $size: ComponentSize;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { ITableProps, IColumn, IRecord, getRowKeyType, IFetchParams, ISorter, IFilter, IPagination, ISuperFilter } from '../table/types';
3
3
  import type { ITableRef } from './useTableRef';
4
- declare type IExtra = {
4
+ type IExtra = {
5
5
  getRowKey: getRowKeyType;
6
6
  tableRef: React.MutableRefObject<ITableRef>;
7
7
  tableFullData: IRecord[];
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import Store from '../store';
3
3
  import type { getRowKeyType, IColumn, IDerivedRowKey, IFieldAuthItem, IMergeCell, InsertMode, IRecord, IRowKey, ITableProps } from '../table/types';
4
4
  import type { ComponentSize, Nullable } from '../../../_utils/types';
5
- export declare type ITableRef = {
5
+ export type ITableRef = {
6
6
  uid: string;
7
7
  elementStore: Record<string, Nullable<HTMLElement>>;
8
8
  originColumns: IColumn[];
@@ -40,7 +40,7 @@ export declare type ITableRef = {
40
40
  isOverlay: boolean;
41
41
  isIE: boolean;
42
42
  };
43
- declare type IExtra = {
43
+ type IExtra = {
44
44
  getRowKey: getRowKeyType;
45
45
  $size: ComponentSize;
46
46
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IFilter, IPagination, IRecord, IRowKey, ISorter, ISuperFilter, ITableProps } from '../table/types';
3
- export declare type ITableState = {
3
+ export type ITableState = {
4
4
  tableData: IRecord[];
5
5
  filters: IFilter;
6
6
  sorter: ISorter;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type ISelectFile = {
2
+ type ISelectFile = {
3
3
  fileType: string;
4
4
  multiple?: boolean;
5
5
  onChange?: (fileName: string, file: File) => void;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn, ToolMethodRef } from '../table/types';
3
- declare type ITableImportProps = {
3
+ type ITableImportProps = {
4
4
  tableColumns: IColumn[];
5
5
  open?: boolean;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn } from '../table/types';
3
- declare type ISettingProps = {
3
+ type ISettingProps = {
4
4
  columns: IColumn[];
5
5
  onClose: () => void;
6
6
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { TableRef } from '../table/types';
3
3
  import type { Nullable } from '../../../_utils/types';
4
- declare type Instance = {
4
+ type Instance = {
5
5
  id: string;
6
6
  vm: React.ForwardedRef<TableRef>;
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IPaginationConfig } from '../table/types';
3
- declare type IPagerProps = {
3
+ type IPagerProps = {
4
4
  current: number;
5
5
  pageSize: number;
6
6
  total: number;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn, ToolMethodRef } from '../table/types';
3
- declare type ITablePrintProps = {
3
+ type ITablePrintProps = {
4
4
  tableColumns: IColumn[];
5
5
  open?: boolean;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ToolMethodRef } from '../table/types';
3
- declare type IReloadProps = {
3
+ type IReloadProps = {
4
4
  open?: boolean;
5
5
  };
6
6
  declare const Reload: React.ForwardRefExoticComponent<IReloadProps & React.RefAttributes<ToolMethodRef>>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn } from '../table/types';
3
- declare type IResizableProps = {
3
+ type IResizableProps = {
4
4
  column: IColumn;
5
5
  };
6
6
  declare const Resizable: React.FC<IResizableProps>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn, ToolMethodRef } from '../table/types';
3
- declare type ISelectCollectionProps = {
3
+ type ISelectCollectionProps = {
4
4
  columns: IColumn[];
5
5
  open?: boolean;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn } from '../table/types';
3
- declare type IResultProps = {
3
+ type IResultProps = {
4
4
  columns: IColumn[];
5
5
  onClose: () => void;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IRowKey } from '../table/types';
3
- declare type IAllSelectionProps = {
3
+ type IAllSelectionProps = {
4
4
  selectionKeys: IRowKey[];
5
5
  };
6
6
  declare const AllSelection: React.FC<IAllSelectionProps>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IColumn, IRecord, IRowKey, ISelectionType } from '../table/types';
3
- declare type ISelectionProps = {
3
+ type ISelectionProps = {
4
4
  selectionKeys: IRowKey[];
5
5
  column: IColumn & {
6
6
  type?: ISelectionType;
@@ -1,10 +1,10 @@
1
1
  import type { IRecord } from '../table/types';
2
- declare type IStoreItem = {
2
+ type IStoreItem = {
3
3
  x: string;
4
4
  y: string;
5
5
  text: string;
6
6
  };
7
- declare type IStoreState = {
7
+ type IStoreState = {
8
8
  required: IStoreItem[];
9
9
  validate: IStoreItem[];
10
10
  edited: IStoreItem[];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ToolMethodRef } from '../table/types';
3
- declare type ISuperSearchProps = {
3
+ type ISuperSearchProps = {
4
4
  open?: boolean;
5
5
  };
6
6
  declare const SuperSearch: React.ForwardRefExoticComponent<ISuperSearchProps & React.RefAttributes<ToolMethodRef>>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type IResultProps = {
2
+ type IResultProps = {
3
3
  onClose: () => void;
4
4
  };
5
5
  declare const Result: React.FC<IResultProps>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { ITableProps, TableRef } from './types';
3
- export declare type QmTableProps = ITableProps;
3
+ export type QmTableProps = ITableProps;
4
4
  declare const Table: React.ForwardRefExoticComponent<ITableProps & React.RefAttributes<TableRef>>;
5
5
  export default Table;
@@ -76,12 +76,12 @@ export declare const propTypes: {
76
76
  className: PropTypes.Requireable<string>;
77
77
  theadClassName: PropTypes.Requireable<string>;
78
78
  children: PropTypes.Requireable<any[]>;
79
- sorter: PropTypes.Requireable<boolean | ((...args: any[]) => any)>;
79
+ sorter: PropTypes.Requireable<NonNullable<boolean | ((...args: any[]) => any) | null | undefined>>;
80
80
  filter: PropTypes.Requireable<PropTypes.InferProps<{
81
81
  type: PropTypes.Validator<string>;
82
82
  items: PropTypes.Requireable<(PropTypes.InferProps<{
83
83
  text: PropTypes.Requireable<string>;
84
- value: PropTypes.Requireable<string | number>;
84
+ value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
85
85
  }> | null | undefined)[]>;
86
86
  style: PropTypes.Requireable<object>;
87
87
  }>>;
@@ -92,7 +92,7 @@ export declare const propTypes: {
92
92
  editRender: PropTypes.Requireable<(...args: any[]) => any>;
93
93
  dictItems: PropTypes.Requireable<(PropTypes.InferProps<{
94
94
  text: PropTypes.Requireable<string>;
95
- value: PropTypes.Requireable<string | number>;
95
+ value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
96
96
  }> | null | undefined)[]>;
97
97
  summation: PropTypes.Requireable<PropTypes.InferProps<{
98
98
  sumBySelection: PropTypes.Requireable<boolean>;
@@ -111,7 +111,7 @@ export declare const propTypes: {
111
111
  }> | null | undefined)[]>;
112
112
  columnsChange: PropTypes.Requireable<(...args: any[]) => any>;
113
113
  dataSource: PropTypes.Requireable<any[]>;
114
- rowKey: PropTypes.Validator<string | ((...args: any[]) => any)>;
114
+ rowKey: PropTypes.Validator<NonNullable<NonNullable<string | ((...args: any[]) => any) | null | undefined>>>;
115
115
  size: (props: any, propName: any, componentName: any) => void;
116
116
  height: (props: any, propName: any, componentName: any) => void;
117
117
  minHeight: (props: any, propName: any, componentName: any) => void;
@@ -167,7 +167,7 @@ export declare const propTypes: {
167
167
  onSelectAll: PropTypes.Requireable<(...args: any[]) => any>;
168
168
  }>>;
169
169
  rowHighlight: PropTypes.Requireable<PropTypes.InferProps<{
170
- currentRowKey: PropTypes.Requireable<string | number>;
170
+ currentRowKey: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
171
171
  disabled: PropTypes.Requireable<(...args: any[]) => any>;
172
172
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
173
173
  }>>;