@formily-design/formily-setters 1.0.0
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/.umirc.js +44 -0
- package/LICENSE.md +20 -0
- package/README.md +7 -0
- package/copy.ts +6 -0
- package/esm/components/DataSourceSetter/DataSettingPanel.d.ts +10 -0
- package/esm/components/DataSourceSetter/DataSettingPanel.js +66 -0
- package/esm/components/DataSourceSetter/Header.d.ts +7 -0
- package/esm/components/DataSourceSetter/Header.js +10 -0
- package/esm/components/DataSourceSetter/Title.d.ts +7 -0
- package/esm/components/DataSourceSetter/Title.js +50 -0
- package/esm/components/DataSourceSetter/TreePanel.d.ts +12 -0
- package/esm/components/DataSourceSetter/TreePanel.js +98 -0
- package/esm/components/DataSourceSetter/index.d.ts +18 -0
- package/esm/components/DataSourceSetter/index.js +34 -0
- package/esm/components/DataSourceSetter/shared.d.ts +9 -0
- package/esm/components/DataSourceSetter/shared.js +47 -0
- package/esm/components/DataSourceSetter/styles.less +80 -0
- package/esm/components/DataSourceSetter/types.d.ts +18 -0
- package/esm/components/DataSourceSetter/types.js +1 -0
- package/esm/components/ReactionsSetter/FieldPropertySetter.d.ts +10 -0
- package/esm/components/ReactionsSetter/FieldPropertySetter.js +83 -0
- package/esm/components/ReactionsSetter/PathSelector.d.ts +10 -0
- package/esm/components/ReactionsSetter/PathSelector.js +107 -0
- package/esm/components/ReactionsSetter/declarations.d.ts +5 -0
- package/esm/components/ReactionsSetter/declarations.js +51 -0
- package/esm/components/ReactionsSetter/helpers.d.ts +10 -0
- package/esm/components/ReactionsSetter/helpers.js +384 -0
- package/esm/components/ReactionsSetter/index.d.ts +8 -0
- package/esm/components/ReactionsSetter/index.js +282 -0
- package/esm/components/ReactionsSetter/properties.d.ts +11 -0
- package/esm/components/ReactionsSetter/properties.js +41 -0
- package/esm/components/ReactionsSetter/styles.less +103 -0
- package/esm/components/ReactionsSetter/types.d.ts +13 -0
- package/esm/components/ReactionsSetter/types.js +1 -0
- package/esm/components/RemoteDataSourceSetter/RemoteDataSourcePanel.d.ts +8 -0
- package/esm/components/RemoteDataSourceSetter/RemoteDataSourcePanel.js +103 -0
- package/esm/components/RemoteDataSourceSetter/index.d.ts +17 -0
- package/esm/components/RemoteDataSourceSetter/index.js +25 -0
- package/esm/components/RemoteDataSourceSetter/styles.less +33 -0
- package/esm/components/RemoteDataSourceSetter/types.d.ts +8 -0
- package/esm/components/RemoteDataSourceSetter/types.js +1 -0
- package/esm/components/ValidatorSetter/index.d.ts +6 -0
- package/esm/components/ValidatorSetter/index.js +140 -0
- package/esm/components/index.d.ts +4 -0
- package/esm/components/index.js +4 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/locales/en-US.d.ts +110 -0
- package/esm/locales/en-US.js +115 -0
- package/esm/locales/index.d.ts +1 -0
- package/esm/locales/index.js +5 -0
- package/esm/locales/ko-KR.d.ts +110 -0
- package/esm/locales/ko-KR.js +115 -0
- package/esm/locales/zh-CN.d.ts +110 -0
- package/esm/locales/zh-CN.js +115 -0
- package/lib/components/DataSourceSetter/DataSettingPanel.d.ts +10 -0
- package/lib/components/DataSourceSetter/DataSettingPanel.js +102 -0
- package/lib/components/DataSourceSetter/Header.d.ts +7 -0
- package/lib/components/DataSourceSetter/Header.js +16 -0
- package/lib/components/DataSourceSetter/Title.d.ts +7 -0
- package/lib/components/DataSourceSetter/Title.js +56 -0
- package/lib/components/DataSourceSetter/TreePanel.d.ts +12 -0
- package/lib/components/DataSourceSetter/TreePanel.js +134 -0
- package/lib/components/DataSourceSetter/index.d.ts +18 -0
- package/lib/components/DataSourceSetter/index.js +73 -0
- package/lib/components/DataSourceSetter/shared.d.ts +9 -0
- package/lib/components/DataSourceSetter/shared.js +53 -0
- package/lib/components/DataSourceSetter/styles.less +80 -0
- package/lib/components/DataSourceSetter/types.d.ts +18 -0
- package/lib/components/DataSourceSetter/types.js +2 -0
- package/lib/components/ReactionsSetter/FieldPropertySetter.d.ts +10 -0
- package/lib/components/ReactionsSetter/FieldPropertySetter.js +120 -0
- package/lib/components/ReactionsSetter/PathSelector.d.ts +10 -0
- package/lib/components/ReactionsSetter/PathSelector.js +114 -0
- package/lib/components/ReactionsSetter/declarations.d.ts +5 -0
- package/lib/components/ReactionsSetter/declarations.js +55 -0
- package/lib/components/ReactionsSetter/helpers.d.ts +10 -0
- package/lib/components/ReactionsSetter/helpers.js +387 -0
- package/lib/components/ReactionsSetter/index.d.ts +8 -0
- package/lib/components/ReactionsSetter/index.js +319 -0
- package/lib/components/ReactionsSetter/properties.d.ts +11 -0
- package/lib/components/ReactionsSetter/properties.js +44 -0
- package/lib/components/ReactionsSetter/styles.less +103 -0
- package/lib/components/ReactionsSetter/types.d.ts +13 -0
- package/lib/components/ReactionsSetter/types.js +2 -0
- package/lib/components/RemoteDataSourceSetter/RemoteDataSourcePanel.d.ts +8 -0
- package/lib/components/RemoteDataSourceSetter/RemoteDataSourcePanel.js +140 -0
- package/lib/components/RemoteDataSourceSetter/index.d.ts +17 -0
- package/lib/components/RemoteDataSourceSetter/index.js +64 -0
- package/lib/components/RemoteDataSourceSetter/styles.less +33 -0
- package/lib/components/RemoteDataSourceSetter/types.d.ts +8 -0
- package/lib/components/RemoteDataSourceSetter/types.js +2 -0
- package/lib/components/ValidatorSetter/index.d.ts +6 -0
- package/lib/components/ValidatorSetter/index.js +146 -0
- package/lib/components/index.d.ts +4 -0
- package/lib/components/index.js +20 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +18 -0
- package/lib/locales/en-US.d.ts +110 -0
- package/lib/locales/en-US.js +117 -0
- package/lib/locales/index.d.ts +1 -0
- package/lib/locales/index.js +10 -0
- package/lib/locales/ko-KR.d.ts +110 -0
- package/lib/locales/ko-KR.js +117 -0
- package/lib/locales/zh-CN.d.ts +110 -0
- package/lib/locales/zh-CN.js +117 -0
- package/package.json +53 -0
- package/tsconfig.build.json +10 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const ValidatorFormats = [
|
|
4
|
+
{ label: 'URL', value: 'url' },
|
|
5
|
+
{ label: '이메일', value: 'email' },
|
|
6
|
+
{ label: '숫자', value: 'number' },
|
|
7
|
+
{ label: '상수', value: 'integer' },
|
|
8
|
+
{ label: 'ID', value: 'idcard' },
|
|
9
|
+
{ label: '휴대폰 번호', value: 'phone' },
|
|
10
|
+
{ label: '통화', value: 'money' },
|
|
11
|
+
{ label: '중국', value: 'zh' },
|
|
12
|
+
{ label: '날짜', value: 'date' },
|
|
13
|
+
{ label: 'Zip', value: 'zip' },
|
|
14
|
+
];
|
|
15
|
+
exports.default = {
|
|
16
|
+
'ko-KR': {
|
|
17
|
+
settings: {
|
|
18
|
+
'x-validator': {
|
|
19
|
+
title: '유효성 검사 도구',
|
|
20
|
+
addValidatorRules: '유효성 검사 규칙 추가',
|
|
21
|
+
drawer: '규칙 수정',
|
|
22
|
+
triggerType: {
|
|
23
|
+
title: '트리거 타입',
|
|
24
|
+
placeholder: '선택하세요',
|
|
25
|
+
dataSource: ['onInput', 'onFocus', 'onBlur'],
|
|
26
|
+
},
|
|
27
|
+
format: {
|
|
28
|
+
title: '포맷',
|
|
29
|
+
placeholder: '선택하세요',
|
|
30
|
+
dataSource: ValidatorFormats,
|
|
31
|
+
},
|
|
32
|
+
validator: {
|
|
33
|
+
title: '사용자 정의 유효성 검사 도구',
|
|
34
|
+
tooltip: '형식: function (value){ return "Error Message"}',
|
|
35
|
+
},
|
|
36
|
+
pattern: 'RegExp',
|
|
37
|
+
len: '길이 제한',
|
|
38
|
+
max: '길이/값 Lt',
|
|
39
|
+
min: '길이/값 Gt',
|
|
40
|
+
exclusiveMaximum: '길이/값 Lte',
|
|
41
|
+
exclusiveMinimum: '길이/값 Gte',
|
|
42
|
+
whitespace: '공백 없음',
|
|
43
|
+
required: '필수 항목',
|
|
44
|
+
message: {
|
|
45
|
+
title: '오류 메시지',
|
|
46
|
+
tooltip: '오류 메시지는 현재의 규칙 셋의 하나의 빌트인 규칙에 대해서만 적용됩니다. 여러 빌트인 규칙에 대한 오류 메시지를 사용자 정의해야 하는 경우 여러 규칙으로 분할하세요.',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
SettingComponents: {
|
|
51
|
+
DataSourceSetter: {
|
|
52
|
+
nodeProperty: '노드 속성',
|
|
53
|
+
pleaseSelectNode: '왼쪽에 있는 트리에서 노드를 선택하세요.',
|
|
54
|
+
addKeyValuePair: '키/값 쌍 추가',
|
|
55
|
+
configureDataSource: '구성',
|
|
56
|
+
dataSource: 'Options',
|
|
57
|
+
defaultTitle: '기본 제목',
|
|
58
|
+
dataSourceTree: 'Options 트리',
|
|
59
|
+
addNode: '노드 추가',
|
|
60
|
+
label: '레이블',
|
|
61
|
+
value: '값',
|
|
62
|
+
item: '아이템',
|
|
63
|
+
staticData: '정적 데이터',
|
|
64
|
+
remoteData: '원격 데이터',
|
|
65
|
+
confirm: '확인',
|
|
66
|
+
cancel: '취소',
|
|
67
|
+
editConfigure: '구성 수정',
|
|
68
|
+
},
|
|
69
|
+
RemoteDataSource: {
|
|
70
|
+
basic: '기본',
|
|
71
|
+
url: '요청 URL',
|
|
72
|
+
method: '방식',
|
|
73
|
+
headers: '헤더',
|
|
74
|
+
params: '매개변수',
|
|
75
|
+
handlers: '데이터 처리',
|
|
76
|
+
beforeRequest: '사전 요청 처리',
|
|
77
|
+
dataHandler: '데이터 핸들러',
|
|
78
|
+
addHeader: '헤더 추가',
|
|
79
|
+
addParam: '매개변수 추가',
|
|
80
|
+
},
|
|
81
|
+
ReactionsSetter: {
|
|
82
|
+
configureReactions: '구성',
|
|
83
|
+
relationsFields: '관련 필드',
|
|
84
|
+
variableName: '변수 이름',
|
|
85
|
+
variableNameValidateMessage: '표준 변수 이름이 아닙니다.',
|
|
86
|
+
pleaseInput: '입력해주세요',
|
|
87
|
+
sourceField: 'Source Field',
|
|
88
|
+
sourceProperty: '필드 속성',
|
|
89
|
+
variableType: '변수 타입',
|
|
90
|
+
operations: '작업',
|
|
91
|
+
addRelationField: '관련 필드 추가',
|
|
92
|
+
propertyReactions: '구성 리엑션(자바스크립트 표현식만 지원함)',
|
|
93
|
+
actionReactions: '액션 리엑션(선택사항, 자바스크립트 구문을 지원함)',
|
|
94
|
+
visible: '보기/없음',
|
|
95
|
+
hidden: '보기/UI 숨기기',
|
|
96
|
+
display: '디스플레이',
|
|
97
|
+
pattern: '패턴',
|
|
98
|
+
title: '제목',
|
|
99
|
+
description: '설명',
|
|
100
|
+
value: '값',
|
|
101
|
+
initialValue: '초기값',
|
|
102
|
+
dataSource: 'Options',
|
|
103
|
+
required: '필수 항목',
|
|
104
|
+
component: '컴포넌트',
|
|
105
|
+
componentProps: '컴포넌트 속성',
|
|
106
|
+
decorator: '테코레이터',
|
|
107
|
+
decoratorProps: '테코레이터 속성',
|
|
108
|
+
pleaseSelect: '선택하세요',
|
|
109
|
+
expressionValueTypeIs: '표현식 값 타입은',
|
|
110
|
+
},
|
|
111
|
+
ValidatorSetter: {
|
|
112
|
+
pleaseSelect: '선택하세요',
|
|
113
|
+
formats: ValidatorFormats,
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'zh-CN': {
|
|
3
|
+
settings: {
|
|
4
|
+
'x-validator': {
|
|
5
|
+
title: string;
|
|
6
|
+
addValidatorRules: string;
|
|
7
|
+
drawer: string;
|
|
8
|
+
triggerType: {
|
|
9
|
+
title: string;
|
|
10
|
+
placeholder: string;
|
|
11
|
+
dataSource: string[];
|
|
12
|
+
};
|
|
13
|
+
format: {
|
|
14
|
+
title: string;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
dataSource: {
|
|
17
|
+
label: string;
|
|
18
|
+
value: string;
|
|
19
|
+
}[];
|
|
20
|
+
};
|
|
21
|
+
validator: {
|
|
22
|
+
title: string;
|
|
23
|
+
tooltip: string;
|
|
24
|
+
};
|
|
25
|
+
pattern: string;
|
|
26
|
+
len: string;
|
|
27
|
+
max: string;
|
|
28
|
+
min: string;
|
|
29
|
+
exclusiveMaximum: string;
|
|
30
|
+
exclusiveMinimum: string;
|
|
31
|
+
whitespace: string;
|
|
32
|
+
required: string;
|
|
33
|
+
message: {
|
|
34
|
+
title: string;
|
|
35
|
+
tooltip: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
SettingComponents: {
|
|
40
|
+
DataSourceSetter: {
|
|
41
|
+
nodeProperty: string;
|
|
42
|
+
pleaseSelectNode: string;
|
|
43
|
+
addKeyValuePair: string;
|
|
44
|
+
configureDataSource: string;
|
|
45
|
+
dataSource: string;
|
|
46
|
+
defaultTitle: string;
|
|
47
|
+
dataSourceTree: string;
|
|
48
|
+
addNode: string;
|
|
49
|
+
label: string;
|
|
50
|
+
value: string;
|
|
51
|
+
item: string;
|
|
52
|
+
staticData: string;
|
|
53
|
+
remoteData: string;
|
|
54
|
+
confirm: string;
|
|
55
|
+
cancel: string;
|
|
56
|
+
editConfigure: string;
|
|
57
|
+
};
|
|
58
|
+
RemoteDataSource: {
|
|
59
|
+
basic: string;
|
|
60
|
+
url: string;
|
|
61
|
+
method: string;
|
|
62
|
+
headers: string;
|
|
63
|
+
params: string;
|
|
64
|
+
handlers: string;
|
|
65
|
+
beforeRequest: string;
|
|
66
|
+
dataHandler: string;
|
|
67
|
+
addHeader: string;
|
|
68
|
+
addParam: string;
|
|
69
|
+
};
|
|
70
|
+
ReactionsSetter: {
|
|
71
|
+
configureReactions: string;
|
|
72
|
+
relationsFields: string;
|
|
73
|
+
variableName: string;
|
|
74
|
+
variableNameValidateMessage: string;
|
|
75
|
+
pleaseInput: string;
|
|
76
|
+
sourceField: string;
|
|
77
|
+
sourceProperty: string;
|
|
78
|
+
variableType: string;
|
|
79
|
+
operations: string;
|
|
80
|
+
addRelationField: string;
|
|
81
|
+
propertyReactions: string;
|
|
82
|
+
actionReactions: string;
|
|
83
|
+
visible: string;
|
|
84
|
+
hidden: string;
|
|
85
|
+
display: string;
|
|
86
|
+
pattern: string;
|
|
87
|
+
title: string;
|
|
88
|
+
description: string;
|
|
89
|
+
value: string;
|
|
90
|
+
initialValue: string;
|
|
91
|
+
dataSource: string;
|
|
92
|
+
required: string;
|
|
93
|
+
component: string;
|
|
94
|
+
componentProps: string;
|
|
95
|
+
decorator: string;
|
|
96
|
+
decoratorProps: string;
|
|
97
|
+
pleaseSelect: string;
|
|
98
|
+
expressionValueTypeIs: string;
|
|
99
|
+
};
|
|
100
|
+
ValidatorSetter: {
|
|
101
|
+
pleaseSelect: string;
|
|
102
|
+
formats: {
|
|
103
|
+
label: string;
|
|
104
|
+
value: string;
|
|
105
|
+
}[];
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
export default _default;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const ValidatorFormats = [
|
|
4
|
+
{ label: 'URL地址', value: 'url' },
|
|
5
|
+
{ label: '邮箱格式', value: 'email' },
|
|
6
|
+
{ label: '数字格式', value: 'number' },
|
|
7
|
+
{ label: '整数格式', value: 'integer' },
|
|
8
|
+
{ label: '身份证格式', value: 'idcard' },
|
|
9
|
+
{ label: '手机号格式', value: 'phone' },
|
|
10
|
+
{ label: '货币格式', value: 'money' },
|
|
11
|
+
{ label: '中文格式', value: 'zh' },
|
|
12
|
+
{ label: '日期格式', value: 'date' },
|
|
13
|
+
{ label: '邮编格式', value: 'zip' },
|
|
14
|
+
];
|
|
15
|
+
exports.default = {
|
|
16
|
+
'zh-CN': {
|
|
17
|
+
settings: {
|
|
18
|
+
'x-validator': {
|
|
19
|
+
title: '校验规则',
|
|
20
|
+
addValidatorRules: '添加校验规则',
|
|
21
|
+
drawer: '配置规则',
|
|
22
|
+
triggerType: {
|
|
23
|
+
title: '触发类型',
|
|
24
|
+
placeholder: '请选择',
|
|
25
|
+
dataSource: ['输入时', '聚焦时', '失焦时'],
|
|
26
|
+
},
|
|
27
|
+
format: {
|
|
28
|
+
title: '格式校验',
|
|
29
|
+
placeholder: '请选择',
|
|
30
|
+
dataSource: ValidatorFormats,
|
|
31
|
+
},
|
|
32
|
+
validator: {
|
|
33
|
+
title: '自定义校验器',
|
|
34
|
+
tooltip: '格式: function (value){ return "Error Message"}',
|
|
35
|
+
},
|
|
36
|
+
pattern: '正则表达式',
|
|
37
|
+
len: '长度限制',
|
|
38
|
+
max: '长度/数值小于',
|
|
39
|
+
min: '长度/数值大于',
|
|
40
|
+
exclusiveMaximum: '长度/数值小于等于',
|
|
41
|
+
exclusiveMinimum: '长度/数值大于等于',
|
|
42
|
+
whitespace: '不允许空白符',
|
|
43
|
+
required: '是否必填',
|
|
44
|
+
message: {
|
|
45
|
+
title: '错误消息',
|
|
46
|
+
tooltip: '错误消息只对当前规则集的一个内置规则生效,如果需要对不同内置规则定制错误消息,请拆分成多条规则',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
SettingComponents: {
|
|
51
|
+
DataSourceSetter: {
|
|
52
|
+
nodeProperty: '节点属性',
|
|
53
|
+
pleaseSelectNode: '请先选择左侧树节点',
|
|
54
|
+
addKeyValuePair: '添加键值对',
|
|
55
|
+
configureDataSource: '配置可选项',
|
|
56
|
+
dataSource: '可选项',
|
|
57
|
+
defaultTitle: '默认标题',
|
|
58
|
+
dataSourceTree: '可选项节点树',
|
|
59
|
+
addNode: '新增节点',
|
|
60
|
+
label: '键名',
|
|
61
|
+
value: '键值',
|
|
62
|
+
item: '选项',
|
|
63
|
+
staticData: '静态数据',
|
|
64
|
+
remoteData: '远程数据',
|
|
65
|
+
confirm: '确定',
|
|
66
|
+
cancel: '取消',
|
|
67
|
+
editConfigure: '编辑配置',
|
|
68
|
+
},
|
|
69
|
+
RemoteDataSource: {
|
|
70
|
+
basic: '基本配置',
|
|
71
|
+
url: '请求地址',
|
|
72
|
+
method: '请求方式',
|
|
73
|
+
headers: '请求头',
|
|
74
|
+
params: '请求参数',
|
|
75
|
+
handlers: '数据处理',
|
|
76
|
+
beforeRequest: '请求前置处理',
|
|
77
|
+
dataHandler: '请求数据处理',
|
|
78
|
+
addHeader: '添加请求头',
|
|
79
|
+
addParam: '添加请求参数',
|
|
80
|
+
},
|
|
81
|
+
ReactionsSetter: {
|
|
82
|
+
configureReactions: '配置响应器',
|
|
83
|
+
relationsFields: '依赖字段',
|
|
84
|
+
variableName: '变量名',
|
|
85
|
+
variableNameValidateMessage: '不符合变量命名规则',
|
|
86
|
+
pleaseInput: '请输入',
|
|
87
|
+
sourceField: '来源字段',
|
|
88
|
+
sourceProperty: '字段属性',
|
|
89
|
+
variableType: '变量类型',
|
|
90
|
+
operations: '操作',
|
|
91
|
+
addRelationField: '添加依赖字段',
|
|
92
|
+
propertyReactions: '属性响应(仅支持JS表达式)',
|
|
93
|
+
actionReactions: '动作响应(高级,可选,支持JS语句)',
|
|
94
|
+
visible: '显示/隐藏',
|
|
95
|
+
hidden: 'UI隐藏',
|
|
96
|
+
display: '展示状态',
|
|
97
|
+
pattern: 'UI形态',
|
|
98
|
+
title: '标题',
|
|
99
|
+
description: '描述',
|
|
100
|
+
value: '字段值',
|
|
101
|
+
initialValue: '默认值',
|
|
102
|
+
dataSource: '可选项',
|
|
103
|
+
required: '是否必填',
|
|
104
|
+
component: '组件',
|
|
105
|
+
componentProps: '组件属性',
|
|
106
|
+
decorator: '容器',
|
|
107
|
+
decoratorProps: '容器属性',
|
|
108
|
+
pleaseSelect: '请选择',
|
|
109
|
+
expressionValueTypeIs: '表达式值类型为',
|
|
110
|
+
},
|
|
111
|
+
ValidatorSetter: {
|
|
112
|
+
pleaseSelect: '请选择',
|
|
113
|
+
formats: ValidatorFormats,
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@formily-design/formily-setters",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"main": "lib",
|
|
6
|
+
"module": "esm",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/alibaba/designable.git"
|
|
10
|
+
},
|
|
11
|
+
"types": "esm/index.d.ts",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/alibaba/designable/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/alibaba/designable#readme",
|
|
16
|
+
"engines": {
|
|
17
|
+
"npm": ">=3.0.0"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "rimraf -rf lib esm dist && npm run build:cjs && npm run build:esm && ts-node copy",
|
|
21
|
+
"build:cjs": "tsc --project tsconfig.build.json",
|
|
22
|
+
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm",
|
|
23
|
+
"start": "webpack-dev-server --config playground/webpack.dev.ts"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@formily/core": "^2.0.2",
|
|
27
|
+
"@formily/react": "^2.0.2",
|
|
28
|
+
"@formily/shared": "^2.0.2",
|
|
29
|
+
"antd": "^5.29.3"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"@formily/core": "^2.0.2",
|
|
33
|
+
"@formily/react": "^2.0.2",
|
|
34
|
+
"@formily/shared": "^2.0.2",
|
|
35
|
+
"@types/react": ">=16.8.0 || >=17.0.0",
|
|
36
|
+
"@types/react-dom": ">=16.8.0 || >=17.0.0",
|
|
37
|
+
"antd": "^5.29.3",
|
|
38
|
+
"react": ">=16.8.0 || >=17.0.0",
|
|
39
|
+
"react-dom": ">=16.8.0",
|
|
40
|
+
"react-is": ">=16.8.0 || >=17.0.0"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@formily-design/core": "1.0.0",
|
|
44
|
+
"@formily-design/formily-transformer": "1.0.0",
|
|
45
|
+
"@formily-design/react": "1.0.0",
|
|
46
|
+
"@formily-design/react-settings-form": "1.0.0",
|
|
47
|
+
"@formily-design/shared": "1.0.0"
|
|
48
|
+
},
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public"
|
|
51
|
+
},
|
|
52
|
+
"gitHead": "f3496a519e4be3f14900ddbe44744ae482247047"
|
|
53
|
+
}
|