qcell-react 1.0.98 → 1.0.99
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/package.json
CHANGED
package/src/types/index.d.ts
CHANGED
|
@@ -1,41 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
const QCELLReact: React.ForwardRefExoticComponent<
|
|
37
|
-
React.PropsWithoutRef<QCELLReactProps> & React.RefAttributes<QCELLReactRef>
|
|
38
|
-
>;
|
|
39
|
-
|
|
40
|
-
export default QCELLReact;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
|
|
3
|
+
export interface QCELLColumn {
|
|
4
|
+
key: string;
|
|
5
|
+
title?: string[];
|
|
6
|
+
width?: string | number;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface QCELLRowHeight {
|
|
11
|
+
header?: number;
|
|
12
|
+
data?: number;
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface QCELLPagination {
|
|
17
|
+
unitlist?: number[];
|
|
18
|
+
pageunit?: number;
|
|
19
|
+
pagecount?: number;
|
|
20
|
+
mode?: "simple" | "extend" | string;
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface QCELLInstance {
|
|
25
|
+
setPageUnit?: (pageUnit: number) => void;
|
|
26
|
+
getPageUnit?: () => number;
|
|
27
|
+
destroy?: () => void;
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface QCELLType {
|
|
32
|
+
create: (property: Record<string, any>) => void;
|
|
33
|
+
getInstance: (id: string) => QCELLInstance | null;
|
|
34
|
+
deleteInstance: (id: string) => void;
|
|
35
|
+
[key: string]: any;
|
|
41
36
|
}
|
|
37
|
+
|
|
38
|
+
export interface QCELLReactRef {
|
|
39
|
+
getQCELLInstance: () => QCELLInstance | null;
|
|
40
|
+
getQCELL: () => QCELLType;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface QCELLReactProps {
|
|
44
|
+
id?: string;
|
|
45
|
+
width?: string | number;
|
|
46
|
+
height: string | number;
|
|
47
|
+
|
|
48
|
+
data?: any[];
|
|
49
|
+
columns?: QCELLColumn[];
|
|
50
|
+
rowHeight?: QCELLRowHeight;
|
|
51
|
+
pagination?: QCELLPagination;
|
|
52
|
+
|
|
53
|
+
objProperty?: Record<string, any>;
|
|
54
|
+
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare const QCELLReact: React.ForwardRefExoticComponent<
|
|
59
|
+
React.PropsWithoutRef<QCELLReactProps> &
|
|
60
|
+
React.RefAttributes<QCELLReactRef>
|
|
61
|
+
>;
|
|
62
|
+
|
|
63
|
+
export default QCELLReact;
|
/package/dist/{main.49a473d6cdfdbe6815fc.js.LICENSE.txt → main.23192be9c511c42de0df.js.LICENSE.txt}
RENAMED
|
File without changes
|