uiw 4.10.0 → 4.10.1
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/dist/uiw.js +26 -26
- package/dist/uiw.min.js +1 -1
- package/package.json +55 -55
package/dist/uiw.js
CHANGED
|
@@ -1007,7 +1007,7 @@ try {
|
|
|
1007
1007
|
|
|
1008
1008
|
/***/ }),
|
|
1009
1009
|
|
|
1010
|
-
/***/
|
|
1010
|
+
/***/ 215:
|
|
1011
1011
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1012
1012
|
|
|
1013
1013
|
"use strict";
|
|
@@ -1253,6 +1253,8 @@ function _extends() {
|
|
|
1253
1253
|
// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"}
|
|
1254
1254
|
var external_root_React_commonjs2_react_commonjs_react_amd_react_ = __webpack_require__(787);
|
|
1255
1255
|
var external_root_React_commonjs2_react_commonjs_react_amd_react_default = /*#__PURE__*/__webpack_require__.n(external_root_React_commonjs2_react_commonjs_react_amd_react_);
|
|
1256
|
+
;// CONCATENATED MODULE: ../utils/esm/noop.js
|
|
1257
|
+
function noop() {}
|
|
1256
1258
|
;// CONCATENATED MODULE: ../utils/esm/getScroll.js
|
|
1257
1259
|
/**
|
|
1258
1260
|
* Gets the scroll value of the given element in the given side (top and left)
|
|
@@ -1278,32 +1280,16 @@ function getScroll(target, top) {
|
|
|
1278
1280
|
|
|
1279
1281
|
return ret;
|
|
1280
1282
|
}
|
|
1281
|
-
;// CONCATENATED MODULE: ../
|
|
1282
|
-
function noop() {}
|
|
1283
|
-
// EXTERNAL MODULE: ../../node_modules/react/jsx-runtime.js
|
|
1284
|
-
var jsx_runtime = __webpack_require__(770);
|
|
1285
|
-
;// CONCATENATED MODULE: ../react-affix/esm/index.js
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1283
|
+
;// CONCATENATED MODULE: ../react-affix/esm/utils.js
|
|
1290
1284
|
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
var _excluded = ["prefixCls", "className", "children", "offsetTop", "offsetBottom", "target", "onChange"];
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
function getTargetRect(target) {
|
|
1285
|
+
var getTargetRect = function getTargetRect(target) {
|
|
1299
1286
|
return target !== window ? target.getBoundingClientRect() : {
|
|
1300
1287
|
top: 0,
|
|
1301
1288
|
left: 0,
|
|
1302
1289
|
bottom: 0
|
|
1303
1290
|
};
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
function getOffset(element, target) {
|
|
1291
|
+
};
|
|
1292
|
+
var getOffset = function getOffset(element, target) {
|
|
1307
1293
|
var elemRect = element.getBoundingClientRect();
|
|
1308
1294
|
var targetRect = getTargetRect(target);
|
|
1309
1295
|
var scrollTop = getScroll(target, true);
|
|
@@ -1317,11 +1303,25 @@ function getOffset(element, target) {
|
|
|
1317
1303
|
width: elemRect.width,
|
|
1318
1304
|
height: elemRect.height
|
|
1319
1305
|
};
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1322
|
-
function getDefaultTarget() {
|
|
1306
|
+
};
|
|
1307
|
+
var getDefaultTarget = function getDefaultTarget() {
|
|
1323
1308
|
return typeof window !== 'undefined' ? window : null;
|
|
1324
|
-
}
|
|
1309
|
+
};
|
|
1310
|
+
// EXTERNAL MODULE: ../../node_modules/react/jsx-runtime.js
|
|
1311
|
+
var jsx_runtime = __webpack_require__(770);
|
|
1312
|
+
;// CONCATENATED MODULE: ../react-affix/esm/index.js
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
var _excluded = ["prefixCls", "className", "children", "offsetTop", "offsetBottom", "target", "onChange"];
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
|
|
1325
1325
|
|
|
1326
1326
|
var Affix = /*#__PURE__*/function (_React$Component) {
|
|
1327
1327
|
_inherits(Affix, _React$Component);
|
|
@@ -10993,7 +10993,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__156__;
|
|
|
10993
10993
|
/******/ // startup
|
|
10994
10994
|
/******/ // Load entry module and return exports
|
|
10995
10995
|
/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
|
|
10996
|
-
/******/ var __webpack_exports__ = __webpack_require__(
|
|
10996
|
+
/******/ var __webpack_exports__ = __webpack_require__(215);
|
|
10997
10997
|
/******/
|
|
10998
10998
|
/******/ return __webpack_exports__;
|
|
10999
10999
|
/******/ })()
|