fat-design 0.0.1-beta.20250611154805 → 0.0.1-beta.20250710151221

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,3 +1,4 @@
1
+ /// <reference types="prop-types" />
1
2
  import React from "react";
2
3
  import { IConfigProviderProps, IGetContextProps } from "./types";
3
4
  declare class ConfigProvider extends React.Component<IConfigProviderProps, any> {
@@ -11,7 +11,9 @@ declare class TablePro extends React.Component<TableProProps, any> {
11
11
  static renderJSON: ICellRenderFunc;
12
12
  static renderString: ICellRenderFunc;
13
13
  static renderDay: ICellRenderFunc;
14
+ static renderDayAuto: ICellRenderFunc;
14
15
  static renderTime: ICellRenderFunc;
16
+ static renderTimeAuto: ICellRenderFunc;
15
17
  static renderThousands: ICellRenderFunc;
16
18
  static renderHTML: ICellRenderFunc;
17
19
  static renderBoolean: ICellRenderFunc;
@@ -11,7 +11,9 @@ declare const tableUtils: {
11
11
  renderJSON: (value: any) => import("react").JSX.Element;
12
12
  renderString: (value: any) => import("react").JSX.Element;
13
13
  renderDay: (value: any) => import("react").JSX.Element;
14
+ renderDayAuto: (value: any) => import("react").JSX.Element;
14
15
  renderTime: (value: any) => import("react").JSX.Element;
16
+ renderTimeAuto: (value: any) => import("react").JSX.Element;
15
17
  renderThousands: (value: any) => import("react").JSX.Element;
16
18
  renderHTML: (value: any) => import("react").JSX.Element;
17
19
  renderBoolean: (value: any) => import("react").JSX.Element;
@@ -3,7 +3,9 @@ declare const renderFormats: {
3
3
  renderString: (value: any) => React.JSX.Element;
4
4
  renderJSON: (value: any) => React.JSX.Element;
5
5
  renderDay: (value: any) => React.JSX.Element;
6
+ renderDayAuto: (value: any) => React.JSX.Element;
6
7
  renderTime: (value: any) => React.JSX.Element;
8
+ renderTimeAuto: (value: any) => React.JSX.Element;
7
9
  renderThousands: (value: any) => React.JSX.Element;
8
10
  renderHTML: (value: any) => React.JSX.Element;
9
11
  renderBoolean: (value: any) => React.JSX.Element;
@@ -25,3 +25,8 @@ export declare function camelToUnderscore(str: any): any;
25
25
  export declare function template(tpl: any, object?: {}): any;
26
26
  export declare function formatUrl(url: any, baseUrl?: string): string;
27
27
  export declare function isImageURL(url: string | any): boolean;
28
+ /**
29
+ * 判断一个字符串,是否只包含数字
30
+ * @param str
31
+ */
32
+ export declare function isNumeric(str: any): boolean;