shineout 3.5.8-beta.3 → 3.5.8-beta.5
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/cjs/index.js +1 -1
- package/cjs/transfer/interface.d.ts +1 -0
- package/cjs/transfer/transfer.type.d.ts +2 -2
- package/dist/shineout.js +11 -8
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/esm/transfer/interface.d.ts +1 -0
- package/esm/transfer/transfer.type.d.ts +2 -2
- package/package.json +5 -5
package/cjs/index.js
CHANGED
|
@@ -507,5 +507,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
507
507
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
508
508
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
509
509
|
var _default = exports.default = {
|
|
510
|
-
version: '3.5.8-beta.
|
|
510
|
+
version: '3.5.8-beta.5'
|
|
511
511
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TransferProps as
|
|
1
|
+
import { TransferProps as UnStyledTransferProps } from '@sheinx/base';
|
|
2
2
|
import { KeygenResult } from '@sheinx/hooks';
|
|
3
3
|
import { GetWithFieldProps } from '../hooks/use-field-common';
|
|
4
|
-
export interface BaseTransferProps<DataItem, Value extends KeygenResult[]> extends Omit<
|
|
4
|
+
export interface BaseTransferProps<DataItem, Value extends KeygenResult[]> extends Omit<UnStyledTransferProps<DataItem, Value>, 'jssStyle'> {
|
|
5
5
|
/**
|
|
6
6
|
* @en The set of values displayed in the box data on the right
|
|
7
7
|
* @cn 显示在右侧框数据的值集合
|
package/dist/shineout.js
CHANGED
|
@@ -12040,7 +12040,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12040
12040
|
};
|
|
12041
12041
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12042
12042
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12043
|
-
/* harmony default export */ var version = ('3.5.8-beta.
|
|
12043
|
+
/* harmony default export */ var version = ('3.5.8-beta.5');
|
|
12044
12044
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12045
12045
|
|
|
12046
12046
|
|
|
@@ -16955,7 +16955,7 @@ var cascaderStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
16955
16955
|
}
|
|
16956
16956
|
},
|
|
16957
16957
|
wrapperDisabled: objectSpread2_default()(objectSpread2_default()({}, wrapperDisabled), {}, {
|
|
16958
|
-
'& $icon': {
|
|
16958
|
+
'& $icon, & $arrowIcon': {
|
|
16959
16959
|
color: src.cascaderDisabledFontColor
|
|
16960
16960
|
}
|
|
16961
16961
|
})
|
|
@@ -17333,6 +17333,9 @@ var cascaderStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
17333
17333
|
cursor: 'not-allowed',
|
|
17334
17334
|
color: src.cascaderOptionDisabledColor,
|
|
17335
17335
|
backgroundColor: src.cascaderOptionDisabledBackgroundColor
|
|
17336
|
+
},
|
|
17337
|
+
'& $optionIcon': {
|
|
17338
|
+
color: src.cascaderOptionDisabledColor
|
|
17336
17339
|
}
|
|
17337
17340
|
}
|
|
17338
17341
|
});
|
|
@@ -33954,7 +33957,7 @@ var useInputFormat = function useInputFormat(props) {
|
|
|
33954
33957
|
// 修正小数位数
|
|
33955
33958
|
var _value = v.split('.');
|
|
33956
33959
|
var __value = value.split('.');
|
|
33957
|
-
if (_value[1] !== undefined && __value[1] === undefined) {
|
|
33960
|
+
if (_value[1] !== undefined && __value[1] === undefined && digits !== 0) {
|
|
33958
33961
|
value = "".concat(value, ".").concat(_value[1]);
|
|
33959
33962
|
}
|
|
33960
33963
|
}
|
|
@@ -47943,7 +47946,7 @@ var useForm = function useForm(props) {
|
|
|
47943
47946
|
return new Promise(function (resolve, reject) {
|
|
47944
47947
|
var finalFields = Object.keys(context.validateMap);
|
|
47945
47948
|
if (fields) {
|
|
47946
|
-
if (config.ignoreChildren) {
|
|
47949
|
+
if (config.ignoreChildren || config.ignoreBind) {
|
|
47947
47950
|
// 旧行为:仅校验当前字段
|
|
47948
47951
|
finalFields = (isArray(fields) ? fields : [fields]).filter(function (key) {
|
|
47949
47952
|
return context.validateMap[key];
|
|
@@ -62772,7 +62775,7 @@ var TransferList = function TransferList(props) {
|
|
|
62772
62775
|
disabled: disabled === true,
|
|
62773
62776
|
onFilter: handleFilter,
|
|
62774
62777
|
placeholder: getLocale(locale, 'search'),
|
|
62775
|
-
|
|
62778
|
+
isSource: listType === 'source'
|
|
62776
62779
|
})
|
|
62777
62780
|
});
|
|
62778
62781
|
}
|
|
@@ -63094,10 +63097,10 @@ var Transfer = function Transfer(props) {
|
|
|
63094
63097
|
};
|
|
63095
63098
|
var renderSourceList = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
|
|
63096
63099
|
return renderList('source');
|
|
63097
|
-
}, [source, size, filterSourceText, sourceSelectedKeys]);
|
|
63100
|
+
}, [source, size, filterSourceText, sourceSelectedKeys, renderFilter]);
|
|
63098
63101
|
var renderTargetList = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
|
|
63099
63102
|
return renderList('target');
|
|
63100
|
-
}, [target, size, filterTargetText, targetSelectedKeys]);
|
|
63103
|
+
}, [target, size, filterTargetText, targetSelectedKeys, renderFilter]);
|
|
63101
63104
|
var _useContext = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useContext)(FormFieldContext),
|
|
63102
63105
|
fieldId = _useContext.fieldId;
|
|
63103
63106
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
@@ -67422,7 +67425,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
67422
67425
|
|
|
67423
67426
|
|
|
67424
67427
|
/* harmony default export */ var src_0 = ({
|
|
67425
|
-
version: '3.5.8-beta.
|
|
67428
|
+
version: '3.5.8-beta.5'
|
|
67426
67429
|
});
|
|
67427
67430
|
}();
|
|
67428
67431
|
/******/ return __webpack_exports__;
|