@formily-design/formily-antd 1.0.4 → 1.0.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/esm/components/Field/shared.d.ts +2 -647
- package/esm/schemas/ArrayCards.d.ts +69 -13
- package/lib/components/ArrayCards/preview.js +7 -17
- package/lib/components/Field/shared.d.ts +2 -647
- package/lib/components/Form/preview.js +7 -17
- package/lib/components/FormCollapse/preview.js +7 -17
- package/lib/components/FormTab/preview.js +7 -17
- package/lib/locales/index.js +7 -17
- package/lib/schemas/ArrayCards.d.ts +69 -13
- package/lib/schemas/index.js +7 -17
- package/package.json +13 -8
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export declare const ArrayCards: import("@formily/
|
|
1
|
+
export declare const ArrayCards: import("@formily/react").Stringify<{
|
|
2
2
|
[key: symbol]: any;
|
|
3
3
|
[key: `x-${string}`]: any;
|
|
4
4
|
[key: `x-${number}`]: any;
|
|
5
5
|
version?: string;
|
|
6
|
-
name?: import("@formily/
|
|
6
|
+
name?: import("@formily/react").SchemaKey;
|
|
7
7
|
title?: any;
|
|
8
8
|
description?: any;
|
|
9
9
|
default?: any;
|
|
10
10
|
readOnly?: boolean;
|
|
11
11
|
writeOnly?: boolean;
|
|
12
|
-
type?: import("@formily/
|
|
13
|
-
enum?: import("@formily/
|
|
12
|
+
type?: import("@formily/react").SchemaTypes;
|
|
13
|
+
enum?: import("@formily/react").SchemaEnum<any>;
|
|
14
14
|
const?: any;
|
|
15
15
|
multipleOf?: number;
|
|
16
16
|
maximum?: number;
|
|
@@ -25,16 +25,16 @@ export declare const ArrayCards: import("@formily/json-schema").Stringify<{
|
|
|
25
25
|
uniqueItems?: boolean;
|
|
26
26
|
maxProperties?: number;
|
|
27
27
|
minProperties?: number;
|
|
28
|
-
required?: string
|
|
28
|
+
required?: string | boolean | string[];
|
|
29
29
|
format?: string;
|
|
30
30
|
$ref?: string;
|
|
31
31
|
$namespace?: string;
|
|
32
|
-
definitions?: import("@formily/
|
|
33
|
-
properties?: import("@formily/
|
|
34
|
-
items?: import("@formily/
|
|
35
|
-
additionalItems?: import("@formily/
|
|
36
|
-
patternProperties?: import("@formily/
|
|
37
|
-
additionalProperties?: import("@formily/
|
|
32
|
+
definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
33
|
+
properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
34
|
+
items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
35
|
+
additionalItems?: import("@formily/react").Stringify<any>;
|
|
36
|
+
patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
37
|
+
additionalProperties?: import("@formily/react").Stringify<any>;
|
|
38
38
|
"x-value"?: any;
|
|
39
39
|
"x-index"?: number;
|
|
40
40
|
"x-pattern"?: any;
|
|
@@ -44,7 +44,7 @@ export declare const ArrayCards: import("@formily/json-schema").Stringify<{
|
|
|
44
44
|
"x-decorator-props"?: any;
|
|
45
45
|
"x-component"?: any;
|
|
46
46
|
"x-component-props"?: any;
|
|
47
|
-
"x-reactions"?: import("@formily/
|
|
47
|
+
"x-reactions"?: import("@formily/react").SchemaReactions<any>;
|
|
48
48
|
"x-content"?: any;
|
|
49
49
|
"x-data"?: any;
|
|
50
50
|
"x-visible"?: boolean;
|
|
@@ -55,5 +55,61 @@ export declare const ArrayCards: import("@formily/json-schema").Stringify<{
|
|
|
55
55
|
"x-read-pretty"?: boolean;
|
|
56
56
|
"x-compile-omitted"?: string[];
|
|
57
57
|
}> & {
|
|
58
|
-
Addition?: import("@formily/
|
|
58
|
+
Addition?: import("@formily/react").Stringify<{
|
|
59
|
+
[key: symbol]: any;
|
|
60
|
+
[key: `x-${string}`]: any;
|
|
61
|
+
[key: `x-${number}`]: any;
|
|
62
|
+
version?: string;
|
|
63
|
+
name?: import("@formily/react").SchemaKey;
|
|
64
|
+
title?: any;
|
|
65
|
+
description?: any;
|
|
66
|
+
default?: any;
|
|
67
|
+
readOnly?: boolean;
|
|
68
|
+
writeOnly?: boolean;
|
|
69
|
+
type?: import("@formily/react").SchemaTypes;
|
|
70
|
+
enum?: import("@formily/react").SchemaEnum<any>;
|
|
71
|
+
const?: any;
|
|
72
|
+
multipleOf?: number;
|
|
73
|
+
maximum?: number;
|
|
74
|
+
exclusiveMaximum?: number;
|
|
75
|
+
minimum?: number;
|
|
76
|
+
exclusiveMinimum?: number;
|
|
77
|
+
maxLength?: number;
|
|
78
|
+
minLength?: number;
|
|
79
|
+
pattern?: string | RegExp;
|
|
80
|
+
maxItems?: number;
|
|
81
|
+
minItems?: number;
|
|
82
|
+
uniqueItems?: boolean;
|
|
83
|
+
maxProperties?: number;
|
|
84
|
+
minProperties?: number;
|
|
85
|
+
required?: string | boolean | string[];
|
|
86
|
+
format?: string;
|
|
87
|
+
$ref?: string;
|
|
88
|
+
$namespace?: string;
|
|
89
|
+
definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
90
|
+
properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
91
|
+
items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
|
|
92
|
+
additionalItems?: import("@formily/react").Stringify<any>;
|
|
93
|
+
patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
|
|
94
|
+
additionalProperties?: import("@formily/react").Stringify<any>;
|
|
95
|
+
"x-value"?: any;
|
|
96
|
+
"x-index"?: number;
|
|
97
|
+
"x-pattern"?: any;
|
|
98
|
+
"x-display"?: any;
|
|
99
|
+
"x-validator"?: any;
|
|
100
|
+
"x-decorator"?: any;
|
|
101
|
+
"x-decorator-props"?: any;
|
|
102
|
+
"x-component"?: any;
|
|
103
|
+
"x-component-props"?: any;
|
|
104
|
+
"x-reactions"?: import("@formily/react").SchemaReactions<any>;
|
|
105
|
+
"x-content"?: any;
|
|
106
|
+
"x-data"?: any;
|
|
107
|
+
"x-visible"?: boolean;
|
|
108
|
+
"x-hidden"?: boolean;
|
|
109
|
+
"x-disabled"?: boolean;
|
|
110
|
+
"x-editable"?: boolean;
|
|
111
|
+
"x-read-only"?: boolean;
|
|
112
|
+
"x-read-pretty"?: boolean;
|
|
113
|
+
"x-compile-omitted"?: string[];
|
|
114
|
+
}>;
|
|
59
115
|
};
|
|
@@ -15,23 +15,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) ||
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
35
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
27
|
};
|