dcp-design-react 1.12.13 → 1.12.14

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,7 @@
1
1
  import React from 'react';
2
2
  import { type IConfig } from '../context';
3
+ import 'dayjs/locale/zh-cn';
4
+ import 'dayjs/locale/en';
3
5
  type IProps = IConfig & {
4
6
  children?: React.ReactNode;
5
7
  };
@@ -19,7 +19,6 @@ export declare const formatNumber: (value: string | number) => string;
19
19
  export declare const parserNumber: (value: string) => string;
20
20
  export declare const secretFormat: (value: string | number | undefined, type: string) => string;
21
21
  export declare const isValidLabel: (label: any) => boolean;
22
- export declare const getTitleFromNode: (vNode: React.ReactNode) => string;
23
22
  export declare const createShConfig: (data: any, fieldName: string, createFetch: IFetchFnMaker, multiple?: boolean) => {
24
23
  name?: string | undefined;
25
24
  getServerConfig?: import("./types").IFetchFn | undefined;