es-grid-template 0.0.1
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/README.md +6 -0
- package/dist/components/grid-table/GridTable.d.ts +4 -0
- package/dist/components/grid-table/index.d.ts +3 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/hooks/constant.d.ts +48 -0
- package/dist/hooks/useColumns/index.d.ts +2 -0
- package/dist/hooks/useIsOverflow.d.ts +1 -0
- package/dist/hooks/useOnClickOutside.d.ts +1 -0
- package/dist/hooks/utils.d.ts +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +28 -0
- package/dist/type.d.ts +34 -0
- package/package.json +91 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './grid-table';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare const defaultWidth: number;
|
|
2
|
+
export declare const defaultRowHeight: number;
|
|
3
|
+
export type IOperator = {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
key: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const numberOperator: IOperator[];
|
|
9
|
+
export declare const stringOperator: IOperator[];
|
|
10
|
+
export declare const dateOperator: IOperator[];
|
|
11
|
+
export declare const dateTimeOperator: IOperator[];
|
|
12
|
+
export declare const booleanOperator: IOperator[];
|
|
13
|
+
export declare const translateOption: (options: IOperator[], t: any) => any[];
|
|
14
|
+
export declare const transferFontSize: any;
|
|
15
|
+
export declare const defaultDateFormat = "d/m/Y";
|
|
16
|
+
export declare const defaultDateTimeFormat = "d/m/Y H:i";
|
|
17
|
+
export declare const defaultTimeFormat = "H:i";
|
|
18
|
+
export declare const defaultPageSizes: number[];
|
|
19
|
+
export declare const alignToFlex: any;
|
|
20
|
+
export declare const optionsSize: {
|
|
21
|
+
label: string;
|
|
22
|
+
value: string;
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
}[];
|
|
26
|
+
export declare const paperSize: {
|
|
27
|
+
a4: {
|
|
28
|
+
width: number;
|
|
29
|
+
height: number;
|
|
30
|
+
};
|
|
31
|
+
a3: {
|
|
32
|
+
width: number;
|
|
33
|
+
height: number;
|
|
34
|
+
};
|
|
35
|
+
letter: {
|
|
36
|
+
width: number;
|
|
37
|
+
height: number;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export declare const optionFont: {
|
|
41
|
+
value: string;
|
|
42
|
+
label: string;
|
|
43
|
+
}[];
|
|
44
|
+
export declare const optionsPaperOrientation: any[];
|
|
45
|
+
export declare const optionFontSize: {
|
|
46
|
+
value: number;
|
|
47
|
+
label: string;
|
|
48
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useIsOverflow: (ref: any, callback?: any) => boolean | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useOnClickOutside: (ref: any, handler: any) => void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const sumDataByField: (data: any[], field: string) => any;
|
|
2
|
+
export declare const checkThousandSeparator: (thousandSeparator: string | undefined, decimalSeparator: string | undefined) => string | undefined;
|
|
3
|
+
export declare const checkDecimalSeparator: (thousandSeparator: string | undefined, decimalSeparator: string | undefined) => string;
|
|
4
|
+
export declare const isEmpty: (d: any) => boolean;
|
|
5
|
+
export declare const isNullOrUndefined: (d: any) => boolean;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|