shineout 3.7.7-beta.5 → 3.7.7-beta.6
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 +25 -3
- 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.7-beta.
|
|
525
|
+
version: '3.7.7-beta.6'
|
|
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.7-beta.
|
|
12237
|
+
/* harmony default export */ var version = ('3.7.7-beta.6');
|
|
12238
12238
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12239
12239
|
|
|
12240
12240
|
|
|
@@ -64909,7 +64909,7 @@ var emptyRef = {
|
|
|
64909
64909
|
onChange: inputableData.onChange,
|
|
64910
64910
|
disabled: props.disabled
|
|
64911
64911
|
});
|
|
64912
|
-
(
|
|
64912
|
+
var handleTheadAndTfootHeight = usePersistFn(function () {
|
|
64913
64913
|
var _theadRef$current, _tfootRef$current;
|
|
64914
64914
|
var theadHeight = (theadRef === null || theadRef === void 0 || (_theadRef$current = theadRef.current) === null || _theadRef$current === void 0 ? void 0 : _theadRef$current.clientHeight) || 0;
|
|
64915
64915
|
var tfootHeight = ((_tfootRef$current = tfootRef.current) === null || _tfootRef$current === void 0 ? void 0 : _tfootRef$current.clientHeight) || 0;
|
|
@@ -64918,6 +64918,28 @@ var emptyRef = {
|
|
|
64918
64918
|
} else {
|
|
64919
64919
|
context.theadAndTfootHeight = theadHeight + tfootHeight;
|
|
64920
64920
|
}
|
|
64921
|
+
});
|
|
64922
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
64923
|
+
handleTheadAndTfootHeight();
|
|
64924
|
+
var cancelFunc1;
|
|
64925
|
+
if (theadRef !== null && theadRef !== void 0 && theadRef.current) {
|
|
64926
|
+
cancelFunc1 = addResizeObserver(theadRef === null || theadRef === void 0 ? void 0 : theadRef.current, handleTheadAndTfootHeight, {
|
|
64927
|
+
direction: 'y',
|
|
64928
|
+
timer: 10
|
|
64929
|
+
});
|
|
64930
|
+
}
|
|
64931
|
+
var cancelFunc2;
|
|
64932
|
+
if (tfootRef !== null && tfootRef !== void 0 && tfootRef.current) {
|
|
64933
|
+
cancelFunc2 = addResizeObserver(tfootRef === null || tfootRef === void 0 ? void 0 : tfootRef.current, handleTheadAndTfootHeight, {
|
|
64934
|
+
direction: 'y',
|
|
64935
|
+
timer: 10
|
|
64936
|
+
});
|
|
64937
|
+
}
|
|
64938
|
+
return function () {
|
|
64939
|
+
var _cancelFunc, _cancelFunc2;
|
|
64940
|
+
(_cancelFunc = cancelFunc1) === null || _cancelFunc === void 0 || _cancelFunc();
|
|
64941
|
+
(_cancelFunc2 = cancelFunc2) === null || _cancelFunc2 === void 0 || _cancelFunc2();
|
|
64942
|
+
};
|
|
64921
64943
|
}, [theadRef.current, tfootRef.current]);
|
|
64922
64944
|
var virtualInfo = use_table_virtual({
|
|
64923
64945
|
disabled: !virtual,
|
|
@@ -71779,7 +71801,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
71779
71801
|
|
|
71780
71802
|
|
|
71781
71803
|
/* harmony default export */ var src_0 = ({
|
|
71782
|
-
version: '3.7.7-beta.
|
|
71804
|
+
version: '3.7.7-beta.6'
|
|
71783
71805
|
});
|
|
71784
71806
|
}();
|
|
71785
71807
|
/******/ return __webpack_exports__;
|