shineout 3.7.0-beta.32 → 3.7.0-beta.34
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/dist/shineout.js +12 -5
- 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/package.json +5 -5
package/cjs/index.js
CHANGED
|
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
522
522
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
523
523
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
524
524
|
var _default = exports.default = {
|
|
525
|
-
version: '3.7.0-beta.
|
|
525
|
+
version: '3.7.0-beta.34'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12227,7 +12227,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12227
12227
|
};
|
|
12228
12228
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12229
12229
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12230
|
-
/* harmony default export */ var version = ('3.7.0-beta.
|
|
12230
|
+
/* harmony default export */ var version = ('3.7.0-beta.34');
|
|
12231
12231
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12232
12232
|
|
|
12233
12233
|
|
|
@@ -41949,6 +41949,12 @@ var Cascader = function Cascader(props0) {
|
|
|
41949
41949
|
datum.setData(data);
|
|
41950
41950
|
}
|
|
41951
41951
|
}, [data]);
|
|
41952
|
+
|
|
41953
|
+
// 修复外部受控打开的场景下,从外部修改value导致的面板勾选情况没有及时同步
|
|
41954
|
+
if (openProp && !shallowEqual(value, datum.getValue())) {
|
|
41955
|
+
datum.setValue(value);
|
|
41956
|
+
}
|
|
41957
|
+
;
|
|
41952
41958
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
41953
41959
|
if (!value) return;
|
|
41954
41960
|
datum.setValue(value);
|
|
@@ -50955,6 +50961,7 @@ var FormItem = function FormItem(props) {
|
|
|
50955
50961
|
labelVerticalAlign = _labelConfig$rest.labelVerticalAlign,
|
|
50956
50962
|
inline = _labelConfig$rest.inline,
|
|
50957
50963
|
keepErrorHeight = _labelConfig$rest.keepErrorHeight,
|
|
50964
|
+
keepErrorBelow = _labelConfig$rest.keepErrorBelow,
|
|
50958
50965
|
colon = _labelConfig$rest.colon;
|
|
50959
50966
|
var renderLabel = function renderLabel() {
|
|
50960
50967
|
if (label === undefined || label === null || label === '') return null;
|
|
@@ -51020,6 +51027,9 @@ var FormItem = function FormItem(props) {
|
|
|
51020
51027
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Provider, {
|
|
51021
51028
|
value: ProviderValue,
|
|
51022
51029
|
children: children
|
|
51030
|
+
}), !!tip && (!showError || keepErrorBelow) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
51031
|
+
className: formItemClasses === null || formItemClasses === void 0 ? void 0 : formItemClasses.tip,
|
|
51032
|
+
children: tip
|
|
51023
51033
|
}), showError && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
51024
51034
|
className: formItemClasses === null || formItemClasses === void 0 ? void 0 : formItemClasses.error,
|
|
51025
51035
|
children: errors.map(function (error, index) {
|
|
@@ -51029,9 +51039,6 @@ var FormItem = function FormItem(props) {
|
|
|
51029
51039
|
})
|
|
51030
51040
|
}, index);
|
|
51031
51041
|
})
|
|
51032
|
-
}), !!tip && !showError && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
51033
|
-
className: formItemClasses === null || formItemClasses === void 0 ? void 0 : formItemClasses.tip,
|
|
51034
|
-
children: tip
|
|
51035
51042
|
})]
|
|
51036
51043
|
}))]
|
|
51037
51044
|
}));
|
|
@@ -71185,7 +71192,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
71185
71192
|
|
|
71186
71193
|
|
|
71187
71194
|
/* harmony default export */ var src_0 = ({
|
|
71188
|
-
version: '3.7.0-beta.
|
|
71195
|
+
version: '3.7.0-beta.34'
|
|
71189
71196
|
});
|
|
71190
71197
|
}();
|
|
71191
71198
|
/******/ return __webpack_exports__;
|