fat-design 0.0.1-beta.20250603103716 → 0.0.1-beta.20250629222926

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,9 +1,4 @@
1
1
  import React from "react";
2
2
  import { IFormItemCardProps } from "./form-types";
3
3
  declare function FormItemCard(props: IFormItemCardProps): React.JSX.Element;
4
- declare namespace FormItemCard {
5
- var defaultProps: {
6
- prefix: string;
7
- };
8
- }
9
4
  export { FormItemCard };
@@ -382,5 +382,6 @@ export interface IFormItemCardProps {
382
382
  title?: string;
383
383
  children?: any;
384
384
  prefix?: string;
385
+ cardProps?: any;
385
386
  }
386
387
  export {};
@@ -10,5 +10,5 @@ import { IFormContext } from "../form-types";
10
10
  * @param formContext
11
11
  * @param forceUpdateTick
12
12
  */
13
- declare function useDataSource(enums: any, childProps: any, xProps: any, formContext: IFormContext, forceUpdateTick?: number): any;
13
+ declare function useDataSource(enums: any, childProps: any, xProps: any, formContext: IFormContext, forceUpdateTick?: number): any[];
14
14
  export { useDataSource };
@@ -21,23 +21,14 @@ declare function renderFileAutoBySuffix(value: any, cfg: IRenderCfg): any;
21
21
  declare const RenderFileDownload: React.MemoExoticComponent<{
22
22
  (props: IRenderProps): any;
23
23
  displayName: string;
24
- defaultProps: {
25
- prefix: string;
26
- };
27
24
  }>;
28
25
  declare const RenderFileImage: React.MemoExoticComponent<{
29
26
  (props: IRenderProps): any;
30
27
  displayName: string;
31
- defaultProps: {
32
- prefix: string;
33
- };
34
28
  }>;
35
29
  declare const RenderFileAutoBySuffix: React.MemoExoticComponent<{
36
30
  (props: IRenderProps): any;
37
31
  displayName: string;
38
- defaultProps: {
39
- prefix: string;
40
- };
41
32
  }>;
42
33
  export { RenderFileImage, renderFileImage, renderFileDownload, RenderFileDownload, renderFileAutoBySuffix, RenderFileAutoBySuffix, };
43
34
  export type { IRenderProps, IRenderCfg, IRenderLinkFnProps, IRenderLinkFn };
@@ -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: string): boolean;