onchain-uikit 5.0.4 → 6.0.2

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,5 +1,5 @@
1
1
  import { OnChainTableProps } from '.';
2
- declare const useColumn: (props: OnChainTableProps, sortInfo: any, filterInfo: any, menuId: string, getColumnSearchProps: any, tableHeight: number, selectedCell?: Record<string, any>) => {
2
+ declare const useColumn: (props: OnChainTableProps, sortInfo: any, filterInfo: any, menuId: string, getColumnSearchProps: any, tableHeight: number, selectedCell?: Record<string, any>, selectedRange?: OnChainTableProps["selectedRange"]) => {
3
3
  renderColumns: any[];
4
4
  };
5
5
  export default useColumn;
@@ -61,6 +61,8 @@ interface VT_CONTEXT extends VtOpts {
61
61
  possible_hight_per_tr: number;
62
62
  re_computed: number;
63
63
  row_height: number[];
64
+ row_height_prefix: number[];
65
+ row_height_prefix_dirty: boolean;
64
66
  row_count: number;
65
67
  prev_row_count: number;
66
68
  wrap_inst: React.RefObject<HTMLDivElement>;
@@ -13,7 +13,7 @@ export interface OnChainUniverExcelProps {
13
13
  }
14
14
  export { getExportExcel, exportExcel };
15
15
  export interface OnChainUniverExcelRef {
16
- univerAPI: FUniver;
16
+ univerAPI: React.MutableRefObject<FUniver | undefined>;
17
17
  insertImageToActiveCell: (base64: string) => void;
18
18
  setCellValueToRange: (string: string, range: FRange) => void;
19
19
  getActiveCell: () => FRange | null | undefined;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const OnChainKey: React.FC;
3
+ export default OnChainKey;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "onchain-uikit",
3
3
  "private": false,
4
- "version": "5.0.4",
4
+ "version": "6.0.2",
5
5
  "scripts": {
6
6
  "dev": "vite",
7
7
  "build": "cross-env NODE_OPTIONS=--max_old_space_size=4096 vite build",