dcp-design-react 1.9.4 → 1.9.6
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/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/table/src/utils/index.d.ts +3 -3
- package/lib/table/style/table.less +372 -372
- package/package.json +2 -2
|
@@ -26,12 +26,12 @@ export declare const getCellValue: (record: IRecord, dataIndex: string) => any;
|
|
|
26
26
|
export declare const setCellValue: (record: IRecord, dataIndex: string, val: unknown, precision?: number) => void;
|
|
27
27
|
export declare const getSplitValue: (record: IRecord, key: string) => string;
|
|
28
28
|
export declare const setSplitValue: (record: IRecord, key: string, val: string, precision?: number) => void;
|
|
29
|
+
export declare const isValidNumber: (value: number | string) => boolean;
|
|
29
30
|
export declare const formatNumber: (value: number | string) => string;
|
|
30
31
|
export declare const formatDisplayPrecision: (value: number | string, precision: number) => string | number;
|
|
31
|
-
export declare const
|
|
32
|
-
export declare const stringToNumber: (input: string) => number | '';
|
|
32
|
+
export declare const stringToNumber: (value: string) => number | '';
|
|
33
33
|
export declare const getDate: (dateString: string | undefined, format: string) => dayjs.Dayjs | null;
|
|
34
|
-
export declare const formatDate: (date: Dayjs | null, format: string) => string;
|
|
34
|
+
export declare const formatDate: (date: Dayjs | Date | null, format: string) => string;
|
|
35
35
|
export declare const createUidKey: (prefix?: string) => string;
|
|
36
36
|
export declare const getTextFromVNode: <T extends string | number>(node: React.ReactNode | T) => T[];
|
|
37
37
|
export declare const getTHeadTitle: (title: React.ReactNode | string) => string;
|