shineout 3.7.10-beta.2 → 3.7.10-beta.3
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 +13 -13
- 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.10-beta.
|
|
525
|
+
version: '3.7.10-beta.3'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12234,7 +12234,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12234
12234
|
};
|
|
12235
12235
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12236
12236
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12237
|
-
/* harmony default export */ var version = ('3.7.10-beta.
|
|
12237
|
+
/* harmony default export */ var version = ('3.7.10-beta.3');
|
|
12238
12238
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12239
12239
|
|
|
12240
12240
|
|
|
@@ -39738,6 +39738,17 @@ var useTree = function useTree(props) {
|
|
|
39738
39738
|
call('expanded', tempExpandMap.has(id));
|
|
39739
39739
|
});
|
|
39740
39740
|
});
|
|
39741
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
39742
|
+
if (props.datum) return;
|
|
39743
|
+
if (!dataUpdate) return;
|
|
39744
|
+
setData(data);
|
|
39745
|
+
var nextExpanded = props.expanded || props.defaultExpanded || [];
|
|
39746
|
+
if (!defaultExpandAll && !shallowEqual(nextExpanded, expanded)) {
|
|
39747
|
+
onExpand(nextExpanded);
|
|
39748
|
+
updateExpanded(nextExpanded, true);
|
|
39749
|
+
}
|
|
39750
|
+
updateInnerCheckStatus();
|
|
39751
|
+
}, [props.data]);
|
|
39741
39752
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
39742
39753
|
if (defaultExpandAll) {
|
|
39743
39754
|
var nextExpanded = [];
|
|
@@ -39750,17 +39761,6 @@ var useTree = function useTree(props) {
|
|
|
39750
39761
|
updateExpanded(nextExpanded, true);
|
|
39751
39762
|
}
|
|
39752
39763
|
}, [context.dataMap, props.data]);
|
|
39753
|
-
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
39754
|
-
if (props.datum) return;
|
|
39755
|
-
if (!dataUpdate) return;
|
|
39756
|
-
setData(data);
|
|
39757
|
-
var nextExpanded = props.expanded || props.defaultExpanded || [];
|
|
39758
|
-
if (!defaultExpandAll && !shallowEqual(nextExpanded, expanded)) {
|
|
39759
|
-
onExpand(nextExpanded);
|
|
39760
|
-
updateExpanded(nextExpanded, true);
|
|
39761
|
-
}
|
|
39762
|
-
updateInnerCheckStatus();
|
|
39763
|
-
}, [props.data]);
|
|
39764
39764
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
39765
39765
|
if (props.datum) return;
|
|
39766
39766
|
setValue(value);
|
|
@@ -71931,7 +71931,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
71931
71931
|
|
|
71932
71932
|
|
|
71933
71933
|
/* harmony default export */ var src_0 = ({
|
|
71934
|
-
version: '3.7.10-beta.
|
|
71934
|
+
version: '3.7.10-beta.3'
|
|
71935
71935
|
});
|
|
71936
71936
|
}();
|
|
71937
71937
|
/******/ return __webpack_exports__;
|