@para-ui/core 3.0.20 → 3.0.21

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/Transfer/index.js CHANGED
@@ -10,7 +10,6 @@ import ExpandLess from '@para-ui/icons/Up';
10
10
  import Down from '@para-ui/icons/Down';
11
11
  import { u as useFormatMessage } from '../_verture/useFormatMessage-f4452258.js';
12
12
  import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
13
- import { ArrayToObject } from '@paraview/lib';
14
13
  import { Search } from '../Search/index.js';
15
14
  import SearchIcon from '@para-ui/icons/Search';
16
15
  import AutoTips from '../AutoTips/index.js';
@@ -31,6 +30,7 @@ import '../TextField/index.js';
31
30
  import '../Label/index.js';
32
31
  import '../Help/index.js';
33
32
  import '@para-ui/icons/Help';
33
+ import '@paraview/lib';
34
34
  import '@para-ui/icons/PreviewClose';
35
35
  import '@para-ui/icons/PreviewOpen';
36
36
  import '@para-ui/icons/CloseCircle';
@@ -3125,8 +3125,8 @@ var Box = function Box(props) {
3125
3125
  onEndSort = props.onEndSort,
3126
3126
  multiple = props.multiple,
3127
3127
  rightIcon = props.rightIcon,
3128
- onRightClick = props.onRightClick,
3129
- style = props.style;
3128
+ style = props.style,
3129
+ customKey = props.customKey;
3130
3130
  var intl = useFormatMessage('Transfer', localeJson);
3131
3131
 
3132
3132
  var _useState = useState([]),
@@ -3214,21 +3214,18 @@ var Box = function Box(props) {
3214
3214
  className: 'item-label'
3215
3215
  }, {
3216
3216
  children: jsx(AutoTips, {
3217
- children: item.name || item.key
3217
+ children: item.name || item[item[customKey]]
3218
3218
  })
3219
3219
  })), rightIcon ? jsx("div", Object.assign({
3220
- className: 'right-icon',
3221
- onClick: function onClick() {
3222
- !item.disabled && onRightClick(item);
3223
- }
3220
+ className: 'right-icon'
3224
3221
  }, {
3225
- children: rightIcon
3222
+ children: rightIcon(item)
3226
3223
  })) : null, direction === 'right' ? jsx("div", Object.assign({
3227
3224
  className: 'handle'
3228
3225
  }, {
3229
3226
  children: jsx(Drag, {})
3230
3227
  })) : null]
3231
- }), item.key || item.name);
3228
+ }), item[item[customKey]] || item.name);
3232
3229
  })
3233
3230
  })), jsxs("div", Object.assign({
3234
3231
  className: 'footer'
@@ -3262,8 +3259,9 @@ var Box = function Box(props) {
3262
3259
  }))]
3263
3260
  }));
3264
3261
  };
3262
+ var Sortablejs = Sortable;
3265
3263
 
3266
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-transfer {\n display: flex;\n font-size: 14px;\n user-select: none;\n}\n.paraui-v3-transfer .blue-background-class {\n background-color: rgba(54, 102, 214, 0.05);\n}\n.paraui-v3-transfer .box {\n border-radius: 4px;\n border: 1px solid rgba(171, 176, 185, 0.4);\n overflow: hidden;\n}\n.paraui-v3-transfer .box .box-header {\n background: rgba(171, 176, 185, 0.12);\n color: rgb(46, 55, 67);\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-left: 10px;\n height: 36px;\n border-bottom: 1px solid rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-transfer .box .count {\n margin: 0 10px 0 0;\n color: rgb(46, 55, 67);\n letter-spacing: 1px;\n margin: 0 16px 0 auto;\n}\n.paraui-v3-transfer .box .context {\n height: 400px;\n overflow: auto;\n scrollbar-base-color: red;\n}\n.paraui-v3-transfer .box .context .item-checked {\n background-color: rgba(54, 102, 214, 0.05);\n}\n.paraui-v3-transfer .box .context .item-checked:hover {\n background-color: rgba(54, 102, 214, 0.05) !important;\n}\n.paraui-v3-transfer .box .context .item-fluctuation {\n animation: flucturation 0.4s forwards;\n}\n.paraui-v3-transfer .box .context .item-fluctuationOrther {\n animation: flucturationOrther 0.5s forwards;\n}\n.paraui-v3-transfer .box .context .item {\n padding: 0px 8px;\n height: 36px;\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n.paraui-v3-transfer .box .context .item > .item-label {\n margin-left: 8px;\n flex: 1;\n overflow: hidden;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-transfer .box .context .item:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-transfer .box .context .item:hover > .item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-transfer .box .context .item.item-disabled:hover {\n background: inherit;\n cursor: no-drop;\n}\n.paraui-v3-transfer .box .context .item.item-disabled > .item-label {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-transfer .box .context .item .handle, .paraui-v3-transfer .box .context .item .right-icon {\n margin-left: 14px;\n display: flex;\n align-content: center;\n}\n.paraui-v3-transfer .box .context .item .handle svg, .paraui-v3-transfer .box .context .item .right-icon svg {\n color: rgb(28, 41, 60);\n}\n.paraui-v3-transfer .box .context .item .handle:hover, .paraui-v3-transfer .box .context .item .right-icon:hover {\n background-color: rgba(54, 102, 214, 0.05);\n}\n.paraui-v3-transfer .box .context .item .handle:hover svg, .paraui-v3-transfer .box .context .item .right-icon:hover svg {\n color: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-transfer .box .text-field-content {\n border: none;\n border-radius: 0;\n border-bottom: 1px solid rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-transfer .box .footer {\n display: flex;\n align-items: center;\n border-top: 1px solid rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-transfer .box .footer .btn-on {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-transfer .box .footer .btn-off {\n color: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-transfer .box .footer button {\n color: rgb(46, 55, 67);\n padding: 0 0 0 16px;\n}\n.paraui-v3-transfer .box .footer button:hover {\n color: #3666D6;\n}\n.paraui-v3-transfer ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background: rgb(54, 102, 214);\n}\n.paraui-v3-transfer .moveBtn {\n display: flex;\n height: 500px;\n flex-direction: column;\n justify-content: center;\n margin: 0 24px;\n}\n.paraui-v3-transfer .moveBtn > button:hover {\n color: white;\n background: rgb(54, 102, 214);\n}\n.paraui-v3-transfer .moveBtn .btn-left {\n margin-top: 20px;\n}\n\n@keyframes flucturation {\n 0% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(36px);\n }\n}\n@keyframes flucturationOrther {\n 0% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(-36px);\n }\n}";
3264
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-transfer {\n display: flex;\n font-size: 14px;\n user-select: none;\n}\n.paraui-v3-transfer .blue-background-class {\n background-color: rgba(54, 102, 214, 0.05);\n}\n.paraui-v3-transfer .box {\n border-radius: 4px;\n border: 1px solid rgba(171, 176, 185, 0.4);\n overflow: hidden;\n}\n.paraui-v3-transfer .box .box-header {\n background: rgba(171, 176, 185, 0.12);\n color: rgb(46, 55, 67);\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-left: 10px;\n height: 36px;\n border-bottom: 1px solid rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-transfer .box .count {\n margin: 0 10px 0 0;\n color: rgb(46, 55, 67);\n letter-spacing: 1px;\n margin: 0 16px 0 auto;\n}\n.paraui-v3-transfer .box .context {\n height: 400px;\n overflow: auto;\n scrollbar-base-color: red;\n}\n.paraui-v3-transfer .box .context .item-fluctuation {\n animation: flucturation 0.4s forwards;\n}\n.paraui-v3-transfer .box .context .item-fluctuationOrther {\n animation: flucturationOrther 0.5s forwards;\n}\n.paraui-v3-transfer .box .context .item {\n padding: 0px 8px;\n height: 36px;\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n.paraui-v3-transfer .box .context .item.item-checked {\n background-color: rgba(54, 102, 214, 0.05);\n}\n.paraui-v3-transfer .box .context .item.item-checked:hover {\n background-color: rgba(54, 102, 214, 0.05) !important;\n}\n.paraui-v3-transfer .box .context .item.item-checked > .item-label {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-transfer .box .context .item > .item-label {\n margin-left: 8px;\n flex: 1;\n overflow: hidden;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-transfer .box .context .item:hover {\n background-color: rgba(171, 176, 185, 0.12);\n}\n.paraui-v3-transfer .box .context .item.item-disabled:hover {\n background: inherit;\n cursor: no-drop;\n}\n.paraui-v3-transfer .box .context .item.item-disabled > .item-label {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-transfer .box .context .item .handle {\n margin-left: 14px;\n display: flex;\n align-content: center;\n}\n.paraui-v3-transfer .box .context .item .handle svg {\n color: rgb(28, 41, 60);\n}\n.paraui-v3-transfer .box .context .item .handle:hover {\n background-color: rgba(54, 102, 214, 0.05);\n}\n.paraui-v3-transfer .box .context .item .handle:hover svg {\n color: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-transfer .box .text-field-content {\n border: none;\n border-radius: 0;\n border-bottom: 1px solid rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-transfer .box .footer {\n display: flex;\n align-items: center;\n border-top: 1px solid rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-transfer .box .footer .btn-on {\n color: rgb(54, 102, 214);\n}\n.paraui-v3-transfer .box .footer .btn-off {\n color: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-transfer .box .footer button {\n color: rgb(46, 55, 67);\n padding: 0 0 0 16px;\n}\n.paraui-v3-transfer .box .footer button:hover {\n color: #3666D6;\n}\n.paraui-v3-transfer ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background: rgb(54, 102, 214);\n}\n.paraui-v3-transfer .moveBtn {\n display: flex;\n height: 500px;\n flex-direction: column;\n justify-content: center;\n margin: 0 24px;\n}\n.paraui-v3-transfer .moveBtn > button:hover {\n color: white;\n background: rgb(54, 102, 214);\n}\n.paraui-v3-transfer .moveBtn .btn-left {\n margin-top: 20px;\n}\n\n@keyframes flucturation {\n 0% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(36px);\n }\n}\n@keyframes flucturationOrther {\n 0% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(-36px);\n }\n}";
3267
3265
  styleInject(css_248z);
3268
3266
 
3269
3267
  var Transfer = function Transfer(props) {
@@ -3273,6 +3271,8 @@ var Transfer = function Transfer(props) {
3273
3271
  var _props$data = props.data,
3274
3272
  data = _props$data === void 0 ? [] : _props$data,
3275
3273
  value = props.value,
3274
+ _props$customKey = props.customKey,
3275
+ customKey = _props$customKey === void 0 ? 'key' : _props$customKey,
3276
3276
  onChange = props.onChange,
3277
3277
  _props$titles = props.titles,
3278
3278
  titles = _props$titles === void 0 ? [intl({
@@ -3290,74 +3290,49 @@ var Transfer = function Transfer(props) {
3290
3290
  trim = _props$trim === void 0 ? false : _props$trim,
3291
3291
  _props$multiple = props.multiple,
3292
3292
  multiple = _props$multiple === void 0 ? true : _props$multiple,
3293
- _props$rightIcon = props.rightIcon,
3294
- rightIcon = _props$rightIcon === void 0 ? '' : _props$rightIcon,
3295
- _props$onRightClick = props.onRightClick,
3296
- onRightClick = _props$onRightClick === void 0 ? function (item) {
3297
- console.log(item);
3298
- } : _props$onRightClick;
3299
-
3300
- var _useState = useState(data),
3293
+ rightIcon = props.rightIcon,
3294
+ _props$render = props.render,
3295
+ render = _props$render === void 0 ? function (item) {} : _props$render;
3296
+
3297
+ var _useState = useState({}),
3301
3298
  _useState2 = _slicedToArray(_useState, 2),
3302
- leftData = _useState2[0],
3303
- setLeftData = _useState2[1];
3299
+ transData = _useState2[0],
3300
+ setTransData = _useState2[1];
3304
3301
 
3305
3302
  var _useState3 = useState([]),
3306
3303
  _useState4 = _slicedToArray(_useState3, 2),
3307
- rightData = _useState4[0],
3308
- setRightData = _useState4[1];
3304
+ leftData = _useState4[0],
3305
+ setLeftData = _useState4[1];
3309
3306
 
3310
3307
  var _useState5 = useState([]),
3311
3308
  _useState6 = _slicedToArray(_useState5, 2),
3312
- leftCount = _useState6[0],
3313
- setLeftCount = _useState6[1];
3309
+ rightData = _useState6[0],
3310
+ setRightData = _useState6[1];
3314
3311
 
3315
3312
  var _useState7 = useState([]),
3316
3313
  _useState8 = _slicedToArray(_useState7, 2),
3317
- rightCount = _useState8[0],
3318
- setRightCount = _useState8[1];
3314
+ leftCount = _useState8[0],
3315
+ setLeftCount = _useState8[1];
3319
3316
 
3320
- var _useState9 = useState(),
3317
+ var _useState9 = useState([]),
3321
3318
  _useState10 = _slicedToArray(_useState9, 2),
3322
- fluctuationPosition = _useState10[0],
3323
- setFluctuationPosition = _useState10[1];
3319
+ rightCount = _useState10[0],
3320
+ setRightCount = _useState10[1];
3324
3321
 
3325
3322
  var _useState11 = useState(),
3326
3323
  _useState12 = _slicedToArray(_useState11, 2),
3327
- fluctuationOrther = _useState12[0],
3328
- setFluctuationOrther = _useState12[1];
3324
+ fluctuationPosition = _useState12[0],
3325
+ setFluctuationPosition = _useState12[1];
3329
3326
 
3330
- var _useState13 = useState(false),
3327
+ var _useState13 = useState(),
3331
3328
  _useState14 = _slicedToArray(_useState13, 2),
3332
- animationsLock = _useState14[0],
3333
- setAnimationLock = _useState14[1];
3334
-
3335
- useEffect(function () {
3336
- if (value) {
3337
- setRightData(_toConsumableArray(value));
3338
- filterLeftData(_toConsumableArray(value));
3339
- }
3340
- }, [value]);
3341
- /**
3342
- * @description 过滤左边数据
3343
- * @param arr {ItemDataProps} 右边数据源
3344
- * */
3329
+ fluctuationOrther = _useState14[0],
3330
+ setFluctuationOrther = _useState14[1];
3345
3331
 
3346
- var filterLeftData = function filterLeftData(arr) {
3347
- var keyJson = ArrayToObject('key', arr);
3348
- var nameJson = ArrayToObject('name', arr);
3349
- var handArr = [];
3350
- var leftArr = props.data || [];
3351
-
3352
- for (var i = 0, l = leftArr.length; i < l; i++) {
3353
- var item = leftArr[i];
3354
- var key = item.key || item.name || '';
3355
- if (key && (keyJson[key] || nameJson[key])) continue;
3356
- handArr.push(item);
3357
- }
3358
-
3359
- setLeftData(handArr);
3360
- };
3332
+ var _useState15 = useState(false),
3333
+ _useState16 = _slicedToArray(_useState15, 2),
3334
+ animationsLock = _useState16[0],
3335
+ setAnimationLock = _useState16[1];
3361
3336
 
3362
3337
  var onchange = useCallback(function (e, bol, index, direction, multiple) {
3363
3338
  if (direction === 'left') {
@@ -3426,7 +3401,11 @@ var Transfer = function Transfer(props) {
3426
3401
 
3427
3402
  setLeftData(_toConsumableArray(leftData));
3428
3403
  setRightData(_toConsumableArray(rightData));
3429
- onChange === null || onChange === void 0 ? void 0 : onChange(rightData);
3404
+ var rArr = [];
3405
+ rightData.forEach(function (item) {
3406
+ rArr.push(item[customKey]);
3407
+ });
3408
+ onChange === null || onChange === void 0 ? void 0 : onChange(rArr);
3430
3409
  }; // 上下移动
3431
3410
 
3432
3411
 
@@ -3442,8 +3421,12 @@ var Transfer = function Transfer(props) {
3442
3421
  setFluctuationOrther(undefined);
3443
3422
  pre.splice.apply(pre, [rightCount[0] - 1, 0].concat(_toConsumableArray(pre.splice(rightCount[0], 1))));
3444
3423
  setAnimationLock(false);
3445
- onSort === null || onSort === void 0 ? void 0 : onSort(_toConsumableArray(pre));
3446
- onChange === null || onChange === void 0 ? void 0 : onChange(_toConsumableArray(pre));
3424
+ var rArr = [];
3425
+ pre.forEach(function (item) {
3426
+ rArr.push(item[customKey]);
3427
+ });
3428
+ onSort === null || onSort === void 0 ? void 0 : onSort([].concat(rArr));
3429
+ onChange === null || onChange === void 0 ? void 0 : onChange([].concat(rArr));
3447
3430
  return _toConsumableArray(pre);
3448
3431
  });
3449
3432
  }, 400);
@@ -3456,8 +3439,12 @@ var Transfer = function Transfer(props) {
3456
3439
  setFluctuationOrther(undefined);
3457
3440
  pre.splice.apply(pre, [rightCount[0] + 1, 0].concat(_toConsumableArray(pre.splice(rightCount[0], 1))));
3458
3441
  setAnimationLock(false);
3459
- onSort === null || onSort === void 0 ? void 0 : onSort(_toConsumableArray(pre));
3460
- onChange === null || onChange === void 0 ? void 0 : onChange(_toConsumableArray(pre));
3442
+ var rArr = [];
3443
+ pre.forEach(function (item) {
3444
+ rArr.push(item[customKey]);
3445
+ });
3446
+ onSort === null || onSort === void 0 ? void 0 : onSort([].concat(rArr));
3447
+ onChange === null || onChange === void 0 ? void 0 : onChange([].concat(rArr));
3461
3448
  return _toConsumableArray(pre);
3462
3449
  });
3463
3450
  }, 400);
@@ -3495,11 +3482,41 @@ var Transfer = function Transfer(props) {
3495
3482
  var onEndSort = useCallback(function (oldIndex, newIndex) {
3496
3483
  setRightData(function (pre) {
3497
3484
  pre.splice.apply(pre, [newIndex, 0].concat(_toConsumableArray(pre.splice(oldIndex, 1))));
3498
- onSort === null || onSort === void 0 ? void 0 : onSort(pre);
3499
- onChange === null || onChange === void 0 ? void 0 : onChange(pre);
3485
+ var rArr = [];
3486
+ pre.forEach(function (item) {
3487
+ rArr.push(item[customKey]);
3488
+ });
3489
+ onSort === null || onSort === void 0 ? void 0 : onSort([].concat(rArr));
3490
+ onChange === null || onChange === void 0 ? void 0 : onChange([].concat(rArr));
3500
3491
  return _toConsumableArray(pre);
3501
3492
  });
3502
3493
  }, []);
3494
+ useEffect(function () {
3495
+ if (data.length) {
3496
+ var _leftData = {};
3497
+ data.forEach(function (item) {
3498
+ var key = item[customKey];
3499
+ render(item);
3500
+ _leftData[key] = item;
3501
+ });
3502
+ setTransData(Object.assign({}, _leftData));
3503
+ }
3504
+ }, [data]);
3505
+ useEffect(function () {
3506
+ var rData = [];
3507
+ var lData = [];
3508
+
3509
+ for (var key in transData) {
3510
+ if (value && value.indexOf(key) >= 0) {
3511
+ rData.push(transData[key]);
3512
+ } else {
3513
+ lData.push(transData[key]);
3514
+ }
3515
+ }
3516
+
3517
+ setRightData([].concat(rData));
3518
+ setLeftData([].concat(lData));
3519
+ }, [value, transData]);
3503
3520
  useEffect(function () {
3504
3521
  var arr = [];
3505
3522
  leftData.forEach(function (item, index) {
@@ -3525,8 +3542,8 @@ var Transfer = function Transfer(props) {
3525
3542
  data: leftData,
3526
3543
  style: style,
3527
3544
  direction: "left",
3545
+ customKey: customKey,
3528
3546
  rightIcon: rightIcon,
3529
- onRightClick: onRightClick,
3530
3547
  onchange: onchange,
3531
3548
  multiple: multiple,
3532
3549
  onMove: onMove,
@@ -3606,8 +3623,8 @@ var Transfer = function Transfer(props) {
3606
3623
  data: rightData,
3607
3624
  style: style,
3608
3625
  direction: "right",
3626
+ customKey: customKey,
3609
3627
  rightIcon: rightIcon,
3610
- onRightClick: onRightClick,
3611
3628
  onchange: onchange,
3612
3629
  multiple: multiple,
3613
3630
  onMove: onMove,
@@ -3619,5 +3636,6 @@ var Transfer = function Transfer(props) {
3619
3636
  })]
3620
3637
  }));
3621
3638
  };
3639
+ var SSortablejs = Sortablejs;
3622
3640
 
3623
- export { Transfer, Transfer as default };
3641
+ export { SSortablejs, Transfer, Transfer as default };
@@ -43,7 +43,7 @@ var FormRadioGroup = function FormRadioGroup(props) {
43
43
  return jsx(RadioGroup, Object.assign({
44
44
  value: selectValue,
45
45
  onChange: changeValue,
46
- hideErrorDom: true
46
+ hideErrorDom: null
47
47
  }, props));
48
48
  };
49
49
 
@@ -76,7 +76,7 @@ var FormSelect = function FormSelect(props) {
76
76
  return jsx(Select, Object.assign({
77
77
  labelMode: "inside",
78
78
  onChange: changeValue,
79
- hideErrorDom: true
79
+ hideErrorDom: null
80
80
  }, props, {
81
81
  value: selectValue
82
82
  }));
@@ -106,7 +106,7 @@ var FormCheckboxGroup = function FormCheckboxGroup(props) {
106
106
  return jsx(CheckboxGroup, Object.assign({
107
107
  value: selectValue,
108
108
  onChange: changeValue,
109
- hideErrorDom: true
109
+ hideErrorDom: null
110
110
  }, props));
111
111
  };
112
112
 
@@ -402,7 +402,7 @@ var DefaultCompoments = function DefaultCompoments(props) {
402
402
  placeholder: placeholder,
403
403
  value: dValue,
404
404
  disabled: disabled,
405
- hideErrorDom: true
405
+ hideErrorDom: null
406
406
  }, inputProps), {
407
407
  onChange: function onChange(e) {
408
408
  var _a;
@@ -566,7 +566,7 @@ var ItemType = function ItemType(props) {
566
566
  multiline: true,
567
567
  rows: 3,
568
568
  name: name,
569
- hideErrorDom: true,
569
+ hideErrorDom: null,
570
570
  onChange: function onChange(e) {
571
571
  validateFunction(e.target.value);
572
572
  }
@@ -579,7 +579,7 @@ var ItemType = function ItemType(props) {
579
579
  defaultValue: backData[name],
580
580
  disabled: disabled,
581
581
  name: name,
582
- hideErrorDom: true,
582
+ hideErrorDom: null,
583
583
  onChange: function onChange(val) {
584
584
  validateFunction(val);
585
585
  }
@@ -619,7 +619,7 @@ var ItemType = function ItemType(props) {
619
619
  validateFunction(e.target.value);
620
620
  },
621
621
  name: name,
622
- hideErrorDom: true,
622
+ hideErrorDom: null,
623
623
  disabled: disabled
624
624
  }, inputProps));
625
625
  }
package/index.js CHANGED
@@ -20,7 +20,7 @@ export { Drawer } from './Drawer/index.js';
20
20
  export { Dropdown } from './Dropdown/index.js';
21
21
  export { default as Empty } from './Empty/index.js';
22
22
  export { default as Form } from './Form/index.js';
23
- export { F as FormItem } from './_verture/index-35fb8f69.js';
23
+ export { F as FormItem } from './_verture/index-b4f57a63.js';
24
24
  export { u as FunctionModal, F as FunctionModalProvider, a as useClose } from './_verture/modalContext-8522aa7e.js';
25
25
  export { default as GlobalContext, changeConfirmLocale, getConfirmLocale } from './GlobalContext/index.js';
26
26
  export { default as Help } from './Help/index.js';
@@ -65,7 +65,7 @@ export { Timeline } from './Timeline/index.js';
65
65
  export { Title } from './Title/index.js';
66
66
  export { ToggleButton, ToggleButtonGroup } from './ToggleButton/index.js';
67
67
  export { Tooltip } from './Tooltip/index.js';
68
- export { Transfer } from './Transfer/index.js';
68
+ export { SSortablejs, Transfer } from './Transfer/index.js';
69
69
  export { T as Tree } from './_verture/index-6807c0e0.js';
70
70
  export { default as Upload } from './Upload/index.js';
71
71
  import './_verture/slicedToArray-d7722f4b.js';
@@ -130,6 +130,7 @@ import '@para-ui/icons/CheckCircleF';
130
130
  import '@para-ui/icons/CloseCircleF';
131
131
  import 'rc-dialog';
132
132
  import '@para-ui/icons/WarningCircle';
133
+ import '@para-ui/icons/PlusCircleF';
133
134
  import 'rc-notification';
134
135
  import 'rc-pagination';
135
136
  import '@para-ui/icons/Left';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "3.0.20",
4
+ "version": "3.0.21",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",