@formily-design/formily-antd 1.0.15 → 1.0.16
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/locales/Switch.d.ts +18 -0
- package/esm/locales/Switch.js +18 -0
- package/esm/locales/TreeSelect.d.ts +12 -0
- package/esm/locales/TreeSelect.js +12 -0
- package/esm/schemas/Switch.js +10 -0
- package/esm/schemas/TreeSelect.js +8 -0
- package/lib/locales/Switch.d.ts +18 -0
- package/lib/locales/Switch.js +18 -0
- package/lib/locales/TreeSelect.d.ts +12 -0
- package/lib/locales/TreeSelect.js +12 -0
- package/lib/schemas/Switch.js +10 -0
- package/lib/schemas/TreeSelect.js +8 -0
- package/package.json +8 -8
package/esm/locales/Switch.d.ts
CHANGED
|
@@ -1,11 +1,29 @@
|
|
|
1
1
|
export declare const Switch: {
|
|
2
2
|
'zh-CN': {
|
|
3
3
|
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
checkedChildren: string;
|
|
7
|
+
unCheckedChildren: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
4
10
|
};
|
|
5
11
|
'en-US': {
|
|
6
12
|
title: string;
|
|
13
|
+
settings: {
|
|
14
|
+
'x-component-props': {
|
|
15
|
+
checkedChildren: string;
|
|
16
|
+
unCheckedChildren: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
7
19
|
};
|
|
8
20
|
'ko-KR': {
|
|
9
21
|
title: string;
|
|
22
|
+
settings: {
|
|
23
|
+
'x-component-props': {
|
|
24
|
+
checkedChildren: string;
|
|
25
|
+
unCheckedChildren: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
10
28
|
};
|
|
11
29
|
};
|
package/esm/locales/Switch.js
CHANGED
|
@@ -1,11 +1,29 @@
|
|
|
1
1
|
export const Switch = {
|
|
2
2
|
'zh-CN': {
|
|
3
3
|
title: '开关',
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
checkedChildren: '选中时内容',
|
|
7
|
+
unCheckedChildren: '非选中时内容',
|
|
8
|
+
},
|
|
9
|
+
},
|
|
4
10
|
},
|
|
5
11
|
'en-US': {
|
|
6
12
|
title: 'Switch',
|
|
13
|
+
settings: {
|
|
14
|
+
'x-component-props': {
|
|
15
|
+
checkedChildren: 'Checked Children',
|
|
16
|
+
unCheckedChildren: 'Unchecked Children',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
7
19
|
},
|
|
8
20
|
'ko-KR': {
|
|
9
21
|
title: '스위치',
|
|
22
|
+
settings: {
|
|
23
|
+
'x-component-props': {
|
|
24
|
+
checkedChildren: '선택 시 내용',
|
|
25
|
+
unCheckedChildren: '선택되지 않은 시 내용',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
10
28
|
},
|
|
11
29
|
};
|
|
@@ -46,6 +46,10 @@ export declare const TreeSelect: {
|
|
|
46
46
|
title: string;
|
|
47
47
|
tooltip: string;
|
|
48
48
|
};
|
|
49
|
+
fieldNames: {
|
|
50
|
+
title: string;
|
|
51
|
+
tooltip: string;
|
|
52
|
+
};
|
|
49
53
|
treeNodeFilterProp: {
|
|
50
54
|
title: string;
|
|
51
55
|
tooltip: string;
|
|
@@ -104,6 +108,10 @@ export declare const TreeSelect: {
|
|
|
104
108
|
title: string;
|
|
105
109
|
tooltip: string;
|
|
106
110
|
};
|
|
111
|
+
fieldNames: {
|
|
112
|
+
title: string;
|
|
113
|
+
tooltip: string;
|
|
114
|
+
};
|
|
107
115
|
treeNodeFilterProp: {
|
|
108
116
|
title: string;
|
|
109
117
|
tooltip: string;
|
|
@@ -162,6 +170,10 @@ export declare const TreeSelect: {
|
|
|
162
170
|
title: string;
|
|
163
171
|
tooltip: string;
|
|
164
172
|
};
|
|
173
|
+
fieldNames: {
|
|
174
|
+
title: string;
|
|
175
|
+
tooltip: string;
|
|
176
|
+
};
|
|
165
177
|
treeNodeFilterProp: {
|
|
166
178
|
title: string;
|
|
167
179
|
tooltip: string;
|
|
@@ -46,6 +46,10 @@ export const TreeSelect = {
|
|
|
46
46
|
title: '默认展开选项',
|
|
47
47
|
tooltip: '格式:Array<string | number>',
|
|
48
48
|
},
|
|
49
|
+
fieldNames: {
|
|
50
|
+
title: '选项字段映射',
|
|
51
|
+
tooltip: '配置选项的 label、value、children 对应的字段',
|
|
52
|
+
},
|
|
49
53
|
treeNodeFilterProp: {
|
|
50
54
|
title: '节点过滤属性',
|
|
51
55
|
tooltip: '输入项过滤对应的 treeNode 属性',
|
|
@@ -101,6 +105,10 @@ export const TreeSelect = {
|
|
|
101
105
|
title: 'Tree Default Expanded Keys',
|
|
102
106
|
tooltip: 'Format:Array<string | number>',
|
|
103
107
|
},
|
|
108
|
+
fieldNames: {
|
|
109
|
+
title: 'Field Names',
|
|
110
|
+
tooltip: 'Configure the label, value, children corresponding field',
|
|
111
|
+
},
|
|
104
112
|
treeNodeFilterProp: {
|
|
105
113
|
title: 'Tree Node Filter Properties',
|
|
106
114
|
tooltip: 'The treeNode attribute corresponding to the input item filter',
|
|
@@ -159,6 +167,10 @@ export const TreeSelect = {
|
|
|
159
167
|
title: '트리 기본 확장 키',
|
|
160
168
|
tooltip: '형식:Array<string | number>',
|
|
161
169
|
},
|
|
170
|
+
fieldNames: {
|
|
171
|
+
title: '필드 이름',
|
|
172
|
+
tooltip: '레이블, 값, 옵션에 해당하는 필드를 설정합니다.',
|
|
173
|
+
},
|
|
162
174
|
treeNodeFilterProp: {
|
|
163
175
|
title: '트리 노드 필터 속성',
|
|
164
176
|
tooltip: '입력 항목 필터에 해당하는 treeNode 속성',
|
package/esm/schemas/Switch.js
CHANGED
|
@@ -6,6 +6,16 @@ export const Switch = {
|
|
|
6
6
|
'x-decorator': 'FormItem',
|
|
7
7
|
'x-component': 'Switch',
|
|
8
8
|
},
|
|
9
|
+
checkedChildren: {
|
|
10
|
+
type: 'string',
|
|
11
|
+
'x-decorator': 'FormItem',
|
|
12
|
+
'x-component': 'Input',
|
|
13
|
+
},
|
|
14
|
+
unCheckedChildren: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
'x-decorator': 'FormItem',
|
|
17
|
+
'x-component': 'Input',
|
|
18
|
+
},
|
|
9
19
|
size: {
|
|
10
20
|
type: 'string',
|
|
11
21
|
enum: ['large', 'small', 'default', ''],
|
|
@@ -85,6 +85,14 @@ export const TreeSelect = {
|
|
|
85
85
|
include: ['EXPRESSION'],
|
|
86
86
|
},
|
|
87
87
|
},
|
|
88
|
+
fieldNames: {
|
|
89
|
+
type: 'string',
|
|
90
|
+
'x-decorator': 'FormItem',
|
|
91
|
+
'x-component': 'ValueInput',
|
|
92
|
+
'x-component-props': {
|
|
93
|
+
include: ['EXPRESSION'],
|
|
94
|
+
},
|
|
95
|
+
},
|
|
88
96
|
treeNodeFilterProp: {
|
|
89
97
|
type: 'string',
|
|
90
98
|
'x-decorator': 'FormItem',
|
package/lib/locales/Switch.d.ts
CHANGED
|
@@ -1,11 +1,29 @@
|
|
|
1
1
|
export declare const Switch: {
|
|
2
2
|
'zh-CN': {
|
|
3
3
|
title: string;
|
|
4
|
+
settings: {
|
|
5
|
+
'x-component-props': {
|
|
6
|
+
checkedChildren: string;
|
|
7
|
+
unCheckedChildren: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
4
10
|
};
|
|
5
11
|
'en-US': {
|
|
6
12
|
title: string;
|
|
13
|
+
settings: {
|
|
14
|
+
'x-component-props': {
|
|
15
|
+
checkedChildren: string;
|
|
16
|
+
unCheckedChildren: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
7
19
|
};
|
|
8
20
|
'ko-KR': {
|
|
9
21
|
title: string;
|
|
22
|
+
settings: {
|
|
23
|
+
'x-component-props': {
|
|
24
|
+
checkedChildren: string;
|
|
25
|
+
unCheckedChildren: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
10
28
|
};
|
|
11
29
|
};
|
package/lib/locales/Switch.js
CHANGED
|
@@ -4,11 +4,29 @@ exports.Switch = void 0;
|
|
|
4
4
|
exports.Switch = {
|
|
5
5
|
'zh-CN': {
|
|
6
6
|
title: '开关',
|
|
7
|
+
settings: {
|
|
8
|
+
'x-component-props': {
|
|
9
|
+
checkedChildren: '选中时内容',
|
|
10
|
+
unCheckedChildren: '非选中时内容',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
7
13
|
},
|
|
8
14
|
'en-US': {
|
|
9
15
|
title: 'Switch',
|
|
16
|
+
settings: {
|
|
17
|
+
'x-component-props': {
|
|
18
|
+
checkedChildren: 'Checked Children',
|
|
19
|
+
unCheckedChildren: 'Unchecked Children',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
10
22
|
},
|
|
11
23
|
'ko-KR': {
|
|
12
24
|
title: '스위치',
|
|
25
|
+
settings: {
|
|
26
|
+
'x-component-props': {
|
|
27
|
+
checkedChildren: '선택 시 내용',
|
|
28
|
+
unCheckedChildren: '선택되지 않은 시 내용',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
13
31
|
},
|
|
14
32
|
};
|
|
@@ -46,6 +46,10 @@ export declare const TreeSelect: {
|
|
|
46
46
|
title: string;
|
|
47
47
|
tooltip: string;
|
|
48
48
|
};
|
|
49
|
+
fieldNames: {
|
|
50
|
+
title: string;
|
|
51
|
+
tooltip: string;
|
|
52
|
+
};
|
|
49
53
|
treeNodeFilterProp: {
|
|
50
54
|
title: string;
|
|
51
55
|
tooltip: string;
|
|
@@ -104,6 +108,10 @@ export declare const TreeSelect: {
|
|
|
104
108
|
title: string;
|
|
105
109
|
tooltip: string;
|
|
106
110
|
};
|
|
111
|
+
fieldNames: {
|
|
112
|
+
title: string;
|
|
113
|
+
tooltip: string;
|
|
114
|
+
};
|
|
107
115
|
treeNodeFilterProp: {
|
|
108
116
|
title: string;
|
|
109
117
|
tooltip: string;
|
|
@@ -162,6 +170,10 @@ export declare const TreeSelect: {
|
|
|
162
170
|
title: string;
|
|
163
171
|
tooltip: string;
|
|
164
172
|
};
|
|
173
|
+
fieldNames: {
|
|
174
|
+
title: string;
|
|
175
|
+
tooltip: string;
|
|
176
|
+
};
|
|
165
177
|
treeNodeFilterProp: {
|
|
166
178
|
title: string;
|
|
167
179
|
tooltip: string;
|
|
@@ -49,6 +49,10 @@ exports.TreeSelect = {
|
|
|
49
49
|
title: '默认展开选项',
|
|
50
50
|
tooltip: '格式:Array<string | number>',
|
|
51
51
|
},
|
|
52
|
+
fieldNames: {
|
|
53
|
+
title: '选项字段映射',
|
|
54
|
+
tooltip: '配置选项的 label、value、children 对应的字段',
|
|
55
|
+
},
|
|
52
56
|
treeNodeFilterProp: {
|
|
53
57
|
title: '节点过滤属性',
|
|
54
58
|
tooltip: '输入项过滤对应的 treeNode 属性',
|
|
@@ -104,6 +108,10 @@ exports.TreeSelect = {
|
|
|
104
108
|
title: 'Tree Default Expanded Keys',
|
|
105
109
|
tooltip: 'Format:Array<string | number>',
|
|
106
110
|
},
|
|
111
|
+
fieldNames: {
|
|
112
|
+
title: 'Field Names',
|
|
113
|
+
tooltip: 'Configure the label, value, children corresponding field',
|
|
114
|
+
},
|
|
107
115
|
treeNodeFilterProp: {
|
|
108
116
|
title: 'Tree Node Filter Properties',
|
|
109
117
|
tooltip: 'The treeNode attribute corresponding to the input item filter',
|
|
@@ -162,6 +170,10 @@ exports.TreeSelect = {
|
|
|
162
170
|
title: '트리 기본 확장 키',
|
|
163
171
|
tooltip: '형식:Array<string | number>',
|
|
164
172
|
},
|
|
173
|
+
fieldNames: {
|
|
174
|
+
title: '필드 이름',
|
|
175
|
+
tooltip: '레이블, 값, 옵션에 해당하는 필드를 설정합니다.',
|
|
176
|
+
},
|
|
165
177
|
treeNodeFilterProp: {
|
|
166
178
|
title: '트리 노드 필터 속성',
|
|
167
179
|
tooltip: '입력 항목 필터에 해당하는 treeNode 속성',
|
package/lib/schemas/Switch.js
CHANGED
|
@@ -9,6 +9,16 @@ exports.Switch = {
|
|
|
9
9
|
'x-decorator': 'FormItem',
|
|
10
10
|
'x-component': 'Switch',
|
|
11
11
|
},
|
|
12
|
+
checkedChildren: {
|
|
13
|
+
type: 'string',
|
|
14
|
+
'x-decorator': 'FormItem',
|
|
15
|
+
'x-component': 'Input',
|
|
16
|
+
},
|
|
17
|
+
unCheckedChildren: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
'x-decorator': 'FormItem',
|
|
20
|
+
'x-component': 'Input',
|
|
21
|
+
},
|
|
12
22
|
size: {
|
|
13
23
|
type: 'string',
|
|
14
24
|
enum: ['large', 'small', 'default', ''],
|
|
@@ -88,6 +88,14 @@ exports.TreeSelect = {
|
|
|
88
88
|
include: ['EXPRESSION'],
|
|
89
89
|
},
|
|
90
90
|
},
|
|
91
|
+
fieldNames: {
|
|
92
|
+
type: 'string',
|
|
93
|
+
'x-decorator': 'FormItem',
|
|
94
|
+
'x-component': 'ValueInput',
|
|
95
|
+
'x-component-props': {
|
|
96
|
+
include: ['EXPRESSION'],
|
|
97
|
+
},
|
|
98
|
+
},
|
|
91
99
|
treeNodeFilterProp: {
|
|
92
100
|
type: 'string',
|
|
93
101
|
'x-decorator': 'FormItem',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formily-design/formily-antd",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib",
|
|
6
6
|
"module": "esm",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"start": "webpack-dev-server --config playground/webpack.dev.ts"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@formily-design/react-settings-form": "1.0.
|
|
27
|
+
"@formily-design/react-settings-form": "1.0.16",
|
|
28
28
|
"@formily/antd-v5": "^1.2.4",
|
|
29
29
|
"@formily/core": "^2.0.2",
|
|
30
30
|
"@formily/json-schema": "^2.0.2",
|
|
@@ -69,14 +69,14 @@
|
|
|
69
69
|
"react-is": ">=16.8.0 || >=17.0.0"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@formily-design/core": "1.0.
|
|
73
|
-
"@formily-design/formily-setters": "1.0.
|
|
74
|
-
"@formily-design/formily-transformer": "1.0.
|
|
75
|
-
"@formily-design/react": "1.0.
|
|
76
|
-
"@formily-design/shared": "1.0.
|
|
72
|
+
"@formily-design/core": "1.0.16",
|
|
73
|
+
"@formily-design/formily-setters": "1.0.16",
|
|
74
|
+
"@formily-design/formily-transformer": "1.0.16",
|
|
75
|
+
"@formily-design/react": "1.0.16",
|
|
76
|
+
"@formily-design/shared": "1.0.16"
|
|
77
77
|
},
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "932ad7afe13c75757ce896697c76ea60d56eb640"
|
|
82
82
|
}
|