@para-ui/core 3.0.94 → 3.0.95
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/Form/index.js +1 -1
- package/FormItem/index.js +1 -1
- package/README.md +3 -5
- package/_verture/{index-7aa7f54c.js → index-417e619f.js} +4 -4
- package/index.js +1 -1
- package/locale/index.js +4 -4
- package/package.json +1 -1
- package/umd/Form.js +1 -1
- package/umd/FormItem.js +1 -1
- package/umd/locale.js +1 -1
package/Form/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from '../_verture/slicedToArray-76060636.js';
|
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import { DeepClone } from '@paraview/lib';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
-
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-
|
|
6
|
+
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-417e619f.js';
|
|
7
7
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-703f8b20.js';
|
|
8
8
|
import { $ as $prefixCls } from '../_verture/constant-66aa48a1.js';
|
|
9
9
|
import '../_verture/unsupportedIterableToArray-cb478f24.js';
|
package/FormItem/index.js
CHANGED
package/README.md
CHANGED
|
@@ -246,8 +246,8 @@ var validate = function validate(item, val, intl) {
|
|
|
246
246
|
var en = {
|
|
247
247
|
choseFile: 'Chose File',
|
|
248
248
|
unEmpty: '{label} Cannot be empty',
|
|
249
|
-
maxLength: 'The maximum length cannot be exceeded{len}',
|
|
250
|
-
minLength: 'The minimum length cannot be exceeded{len}',
|
|
249
|
+
maxLength: 'The maximum length cannot be exceeded {len}',
|
|
250
|
+
minLength: 'The minimum length cannot be exceeded {len}',
|
|
251
251
|
unRule: 'The parameter does not comply with the validation rule {rule}',
|
|
252
252
|
minValue: 'The minimum value is {val}',
|
|
253
253
|
maxValue: 'The maximum value is {val}'
|
|
@@ -256,8 +256,8 @@ var en = {
|
|
|
256
256
|
var zh = {
|
|
257
257
|
choseFile: '选择文件',
|
|
258
258
|
unEmpty: '{label}不能为空',
|
|
259
|
-
maxLength: '最大长度不能超过{len}',
|
|
260
|
-
minLength: '最小长度为{len}',
|
|
259
|
+
maxLength: '最大长度不能超过{len}位',
|
|
260
|
+
minLength: '最小长度为{len}位',
|
|
261
261
|
unRule: '参数不符合校验规则{rule}',
|
|
262
262
|
minValue: '最小值为{val}',
|
|
263
263
|
maxValue: '最大值为{val}'
|
package/index.js
CHANGED
|
@@ -22,7 +22,7 @@ export { D as Dropdown } from './_verture/index-77f9e0fb.js';
|
|
|
22
22
|
export { default as DynamicMultiBox } from './DynamicMultiBox/index.js';
|
|
23
23
|
export { default as Empty } from './Empty/index.js';
|
|
24
24
|
export { default as Form } from './Form/index.js';
|
|
25
|
-
export { F as FormItem } from './_verture/index-
|
|
25
|
+
export { F as FormItem } from './_verture/index-417e619f.js';
|
|
26
26
|
export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-630bdb73.js';
|
|
27
27
|
export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
|
|
28
28
|
export { default as Help } from './Help/index.js';
|
package/locale/index.js
CHANGED
|
@@ -67,8 +67,8 @@ var enUS = {
|
|
|
67
67
|
"FormItem": {
|
|
68
68
|
"choseFile": "Chose File",
|
|
69
69
|
"unEmpty": "{label} Cannot be empty",
|
|
70
|
-
"maxLength": "The maximum length cannot be exceeded{len}",
|
|
71
|
-
"minLength": "The minimum length cannot be exceeded{len}",
|
|
70
|
+
"maxLength": "The maximum length cannot be exceeded {len}",
|
|
71
|
+
"minLength": "The minimum length cannot be exceeded {len}",
|
|
72
72
|
"unRule": "The parameter does not comply with the validation rule {rule}",
|
|
73
73
|
"minValue": "The minimum value is {val}",
|
|
74
74
|
"maxValue": "The maximum value is {val}"
|
|
@@ -232,8 +232,8 @@ var zhCN = {
|
|
|
232
232
|
"FormItem": {
|
|
233
233
|
"choseFile": "选择文件",
|
|
234
234
|
"unEmpty": "{label}不能为空",
|
|
235
|
-
"maxLength": "最大长度不能超过{len}",
|
|
236
|
-
"minLength": "最小长度为{len}",
|
|
235
|
+
"maxLength": "最大长度不能超过{len}位",
|
|
236
|
+
"minLength": "最小长度为{len}位",
|
|
237
237
|
"unRule": "参数不符合校验规则{rule}",
|
|
238
238
|
"minValue": "最小值为{val}",
|
|
239
239
|
"maxValue": "最大值为{val}"
|