bkui-vue 1.0.3-beta.60.scrollbar.3 → 1.0.3-beta.60.scrollbar.4

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.
Files changed (150) hide show
  1. package/dist/index.cjs.js +29 -29
  2. package/dist/index.esm.js +2585 -2584
  3. package/dist/index.umd.js +30 -30
  4. package/lib/affix/index.js +1 -1
  5. package/lib/alert/index.js +1 -1
  6. package/lib/animate-number/index.js +8 -7
  7. package/lib/badge/index.js +1 -1
  8. package/lib/breadcrumb/index.js +1 -1
  9. package/lib/button/index.js +1 -1
  10. package/lib/card/index.js +1 -1
  11. package/lib/cascader/index.js +42 -38
  12. package/lib/checkbox/index.js +7 -6
  13. package/lib/collapse/index.js +12 -11
  14. package/lib/collapse-transition/index.js +4 -3
  15. package/lib/color-picker/index.js +13 -10
  16. package/lib/config-provider/index.js +1 -1
  17. package/lib/container/index.js +12 -10
  18. package/lib/date-picker/index.js +1 -1
  19. package/lib/dialog/index.js +4 -4
  20. package/lib/directives/index.js +1 -1
  21. package/lib/divider/index.js +3 -2
  22. package/lib/dropdown/index.js +8 -6
  23. package/lib/exception/index.js +1 -1
  24. package/lib/fixed-navbar/index.js +3 -2
  25. package/lib/form/index.js +1 -1
  26. package/lib/icon/angle-double-down-line.js +1 -1
  27. package/lib/icon/angle-double-left-line.js +1 -1
  28. package/lib/icon/angle-double-left.js +1 -1
  29. package/lib/icon/angle-double-right-line.js +1 -1
  30. package/lib/icon/angle-double-right.js +1 -1
  31. package/lib/icon/angle-double-up-line.js +1 -1
  32. package/lib/icon/angle-down-fill.js +1 -1
  33. package/lib/icon/angle-down-line.js +1 -1
  34. package/lib/icon/angle-down.js +1 -1
  35. package/lib/icon/angle-left.js +1 -1
  36. package/lib/icon/angle-right.js +1 -1
  37. package/lib/icon/angle-up-fill.js +1 -1
  38. package/lib/icon/angle-up.js +1 -1
  39. package/lib/icon/archive-fill.js +1 -1
  40. package/lib/icon/arrows-left.js +1 -1
  41. package/lib/icon/arrows-right.js +1 -1
  42. package/lib/icon/assistant.js +1 -1
  43. package/lib/icon/audio-fill.js +1 -1
  44. package/lib/icon/bk.js +1 -1
  45. package/lib/icon/circle.js +1 -1
  46. package/lib/icon/close-line.js +1 -1
  47. package/lib/icon/close.js +1 -1
  48. package/lib/icon/code.js +1 -1
  49. package/lib/icon/cog-shape.js +1 -1
  50. package/lib/icon/collapse-left.js +1 -1
  51. package/lib/icon/copy-shape.js +1 -1
  52. package/lib/icon/copy.js +1 -1
  53. package/lib/icon/data-shape.js +1 -1
  54. package/lib/icon/del.js +1 -1
  55. package/lib/icon/doc-fill.js +1 -1
  56. package/lib/icon/done.js +1 -1
  57. package/lib/icon/down-shape.js +1 -1
  58. package/lib/icon/down-small.js +1 -1
  59. package/lib/icon/edit-line.js +1 -1
  60. package/lib/icon/ellipsis.js +1 -1
  61. package/lib/icon/enlarge-line.js +1 -1
  62. package/lib/icon/error.js +1 -1
  63. package/lib/icon/excel-fill.js +1 -1
  64. package/lib/icon/exclamation-circle-shape.js +1 -1
  65. package/lib/icon/eye.js +1 -1
  66. package/lib/icon/filliscreen-line.js +1 -1
  67. package/lib/icon/fix-line.js +1 -1
  68. package/lib/icon/fix-shape.js +1 -1
  69. package/lib/icon/folder-open.js +1 -1
  70. package/lib/icon/folder-shape-open.js +1 -1
  71. package/lib/icon/folder-shape.js +1 -1
  72. package/lib/icon/folder.js +1 -1
  73. package/lib/icon/funnel.js +1 -1
  74. package/lib/icon/grag-fill.js +1 -1
  75. package/lib/icon/help-document-fill.js +1 -1
  76. package/lib/icon/help-fill.js +1 -1
  77. package/lib/icon/help.js +1 -1
  78. package/lib/icon/image-fill.js +1 -1
  79. package/lib/icon/img-error.js +1 -1
  80. package/lib/icon/img-placehoulder.js +1 -1
  81. package/lib/icon/info-line.js +1 -1
  82. package/lib/icon/info.js +1 -1
  83. package/lib/icon/left-shape.js +1 -1
  84. package/lib/icon/left-turn-line.js +1 -1
  85. package/lib/icon/loading.js +1 -1
  86. package/lib/icon/narrow-line.js +1 -1
  87. package/lib/icon/original.js +1 -1
  88. package/lib/icon/pdf-fill.js +1 -1
  89. package/lib/icon/play-shape.js +1 -1
  90. package/lib/icon/plus.js +1 -1
  91. package/lib/icon/ppt-fill.js +1 -1
  92. package/lib/icon/qq.js +1 -1
  93. package/lib/icon/right-shape.js +1 -1
  94. package/lib/icon/right-turn-line.js +1 -1
  95. package/lib/icon/search.js +1 -1
  96. package/lib/icon/share.js +1 -1
  97. package/lib/icon/spinner.js +1 -1
  98. package/lib/icon/success.js +1 -1
  99. package/lib/icon/switcher-loading.js +1 -1
  100. package/lib/icon/text-all.js +1 -1
  101. package/lib/icon/text-file.js +1 -1
  102. package/lib/icon/text-fill.js +1 -1
  103. package/lib/icon/transfer.js +1 -1
  104. package/lib/icon/tree-application-shape.js +1 -1
  105. package/lib/icon/unfull-screen.js +1 -1
  106. package/lib/icon/unvisible.js +1 -1
  107. package/lib/icon/up-shape.js +1 -1
  108. package/lib/icon/upload.js +1 -1
  109. package/lib/icon/video-fill.js +1 -1
  110. package/lib/icon/warn.js +1 -1
  111. package/lib/icon/weixin-pro.js +1 -1
  112. package/lib/icon/weixin.js +1 -1
  113. package/lib/image/index.js +11 -10
  114. package/lib/info-box/index.js +4 -4
  115. package/lib/input/index.js +4 -4
  116. package/lib/link/index.js +2 -2
  117. package/lib/loading/index.js +12 -11
  118. package/lib/menu/index.js +3 -2
  119. package/lib/message/index.js +1 -1
  120. package/lib/modal/index.js +4 -4
  121. package/lib/navigation/index.js +9 -7
  122. package/lib/notify/index.js +1 -1
  123. package/lib/overflow-title/index.js +10 -9
  124. package/lib/pagination/index.js +1 -1
  125. package/lib/plugin-popover/index.js +30 -26
  126. package/lib/pop-confirm/index.js +5 -4
  127. package/lib/popover/index.js +30 -26
  128. package/lib/popover2/index.js +2 -2
  129. package/lib/process/index.js +4 -4
  130. package/lib/progress/index.js +6 -5
  131. package/lib/radio/index.js +7 -6
  132. package/lib/rate/index.js +1 -1
  133. package/lib/resize-layout/index.js +1 -1
  134. package/lib/search-select/index.js +13 -10
  135. package/lib/select/index.js +4 -4
  136. package/lib/shared/index.js +8 -5
  137. package/lib/sideslider/index.js +4 -4
  138. package/lib/slider/index.js +20 -19
  139. package/lib/steps/index.js +4 -4
  140. package/lib/swiper/index.js +1 -1
  141. package/lib/switcher/index.js +1 -1
  142. package/lib/tab/index.js +4 -3
  143. package/lib/table/index.js +8 -6
  144. package/lib/table-column/index.js +1 -1
  145. package/lib/tag/index.js +1 -1
  146. package/lib/tag-input/index.js +4 -3
  147. package/lib/tree/index.js +12 -10
  148. package/lib/upload/index.js +4 -4
  149. package/lib/virtual-render/index.js +126 -39
  150. package/package.json +2 -1
@@ -5,10 +5,60 @@ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
5
5
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
6
6
  import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
7
7
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
8
- /******/ // The require scope
9
- /******/ var __webpack_require__ = {};
8
+ /******/ var __webpack_modules__ = ({
9
+
10
+ /***/ 9131:
11
+ /***/ ((module) => {
12
+
13
+ var canUseDOM = !!(
14
+ typeof window !== 'undefined' &&
15
+ window.document &&
16
+ window.document.createElement
17
+ );
18
+
19
+ module.exports = canUseDOM;
20
+
21
+ /***/ })
22
+
23
+ /******/ });
24
+ /************************************************************************/
25
+ /******/ // The module cache
26
+ /******/ var __webpack_module_cache__ = {};
27
+ /******/
28
+ /******/ // The require function
29
+ /******/ function __webpack_require__(moduleId) {
30
+ /******/ // Check if module is in cache
31
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
32
+ /******/ if (cachedModule !== undefined) {
33
+ /******/ return cachedModule.exports;
34
+ /******/ }
35
+ /******/ // Create a new module (and put it into the cache)
36
+ /******/ var module = __webpack_module_cache__[moduleId] = {
37
+ /******/ // no module.id needed
38
+ /******/ // no module.loaded needed
39
+ /******/ exports: {}
40
+ /******/ };
41
+ /******/
42
+ /******/ // Execute the module function
43
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
44
+ /******/
45
+ /******/ // Return the exports of the module
46
+ /******/ return module.exports;
47
+ /******/ }
10
48
  /******/
11
49
  /************************************************************************/
50
+ /******/ /* webpack/runtime/compat get default export */
51
+ /******/ (() => {
52
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
53
+ /******/ __webpack_require__.n = (module) => {
54
+ /******/ var getter = module && module.__esModule ?
55
+ /******/ () => (module['default']) :
56
+ /******/ () => (module);
57
+ /******/ __webpack_require__.d(getter, { a: getter });
58
+ /******/ return getter;
59
+ /******/ };
60
+ /******/ })();
61
+ /******/
12
62
  /******/ /* webpack/runtime/define property getters */
13
63
  /******/ (() => {
14
64
  /******/ // define getter functions for harmony exports
@@ -39,6 +89,8 @@ import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/th
39
89
  /******/
40
90
  /************************************************************************/
41
91
  var __webpack_exports__ = {};
92
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
93
+ (() => {
42
94
 
43
95
  // EXPORTS
44
96
  __webpack_require__.d(__webpack_exports__, {
@@ -124,7 +176,7 @@ function toPrimitive(t, r) {
124
176
 
125
177
  function toPropertyKey(t) {
126
178
  var i = toPrimitive(t, "string");
127
- return "symbol" == _typeof(i) ? i : i + "";
179
+ return "symbol" == _typeof(i) ? i : String(i);
128
180
  }
129
181
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
130
182
 
@@ -462,6 +514,9 @@ function _nonIterableRest() {
462
514
  function _slicedToArray(arr, i) {
463
515
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
464
516
  }
517
+ // EXTERNAL MODULE: ../../node_modules/can-use-dom/index.js
518
+ var can_use_dom = __webpack_require__(9131);
519
+ var can_use_dom_default = /*#__PURE__*/__webpack_require__.n(can_use_dom);
465
520
  ;// CONCATENATED MODULE: ../../node_modules/lodash-es/isObject.js
466
521
  /**
467
522
  * Checks if `value` is the
@@ -1081,35 +1136,6 @@ function throttle(func, wait, options) {
1081
1136
 
1082
1137
  /* harmony default export */ const lodash_es_throttle = (throttle);
1083
1138
 
1084
- ;// CONCATENATED MODULE: ../../packages/virtual-render/src/scrollbar-core/can-use-dom.ts
1085
- /*
1086
- * Tencent is pleased to support the open source community by making
1087
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1088
- *
1089
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1090
- *
1091
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1092
- *
1093
- * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
1094
- *
1095
- * ---------------------------------------------------
1096
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1097
- * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
1098
- * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
1099
- * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1100
- *
1101
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
1102
- * the Software.
1103
- *
1104
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
1105
- * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1106
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
1107
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1108
- * IN THE SOFTWARE.
1109
- */
1110
- /* harmony default export */ const can_use_dom = (function () {
1111
- return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
1112
- });
1113
1139
  ;// CONCATENATED MODULE: ../../packages/virtual-render/src/scrollbar-core/helpers.ts
1114
1140
 
1115
1141
  /*
@@ -1232,6 +1258,35 @@ function classNamesToQuery(classNames) {
1232
1258
  removeWheelEvent: removeWheelEvent
1233
1259
  };
1234
1260
  });
1261
+ ;// CONCATENATED MODULE: ../../packages/virtual-render/src/scrollbar-core/can-use-dom.ts
1262
+ /*
1263
+ * Tencent is pleased to support the open source community by making
1264
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1265
+ *
1266
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1267
+ *
1268
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1269
+ *
1270
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
1271
+ *
1272
+ * ---------------------------------------------------
1273
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1274
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
1275
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
1276
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1277
+ *
1278
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
1279
+ * the Software.
1280
+ *
1281
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
1282
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1283
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
1284
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1285
+ * IN THE SOFTWARE.
1286
+ */
1287
+ /* harmony default export */ const scrollbar_core_can_use_dom = (function () {
1288
+ return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
1289
+ });
1235
1290
  ;// CONCATENATED MODULE: ../../packages/virtual-render/src/scrollbar-core/scrollbar-width.ts
1236
1291
  /*
1237
1292
  * Tencent is pleased to support the open source community by making
@@ -1261,7 +1316,7 @@ function classNamesToQuery(classNames) {
1261
1316
 
1262
1317
  var cachedScrollbarWidth = null;
1263
1318
  var cachedDevicePixelRatio = null;
1264
- if (can_use_dom()) {
1319
+ if (scrollbar_core_can_use_dom()) {
1265
1320
  window.addEventListener('resize', function () {
1266
1321
  if (cachedDevicePixelRatio !== window.devicePixelRatio) {
1267
1322
  cachedDevicePixelRatio = window.devicePixelRatio;
@@ -1294,6 +1349,32 @@ function scrollbarWidth() {
1294
1349
 
1295
1350
  function scrollbar_core_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1296
1351
  function scrollbar_core_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? scrollbar_core_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : scrollbar_core_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1352
+ /* eslint-disable @typescript-eslint/consistent-type-assertions */
1353
+ /*
1354
+ * Tencent is pleased to support the open source community by making
1355
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1356
+ *
1357
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1358
+ *
1359
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1360
+ *
1361
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
1362
+ *
1363
+ * ---------------------------------------------------
1364
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1365
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
1366
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
1367
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1368
+ *
1369
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
1370
+ * the Software.
1371
+ *
1372
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
1373
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1374
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
1375
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1376
+ * IN THE SOFTWARE.
1377
+ */
1297
1378
 
1298
1379
 
1299
1380
 
@@ -1682,7 +1763,7 @@ var SimpleBarCore = /*#__PURE__*/function () {
1682
1763
  this.mouseWheelInstance = mouse_wheel(this._onMouseWheel);
1683
1764
  this.init();
1684
1765
  }
1685
- return _createClass(SimpleBarCore, [{
1766
+ _createClass(SimpleBarCore, [{
1686
1767
  key: "getScrollbarWidth",
1687
1768
  value: function getScrollbarWidth() {
1688
1769
  // Try/catch for FF 56 throwing on undefined computedStyles
@@ -1700,7 +1781,7 @@ var SimpleBarCore = /*#__PURE__*/function () {
1700
1781
  key: "init",
1701
1782
  value: function init() {
1702
1783
  // We stop here on server-side
1703
- if (can_use_dom) {
1784
+ if ((can_use_dom_default())) {
1704
1785
  this.initDOM();
1705
1786
  this.rtlHelpers = SimpleBarCore.getRtlHelpers();
1706
1787
  this.scrollbarWidth = this.getScrollbarWidth();
@@ -2125,6 +2206,7 @@ var SimpleBarCore = /*#__PURE__*/function () {
2125
2206
  };
2126
2207
  }
2127
2208
  }]);
2209
+ return SimpleBarCore;
2128
2210
  }();
2129
2211
  _defineProperty(SimpleBarCore, "rtlHelpers", null);
2130
2212
  _defineProperty(SimpleBarCore, "defaultOptions", {
@@ -2172,6 +2254,7 @@ _defineProperty(SimpleBarCore, "helpers", helpers_namespaceObject);
2172
2254
 
2173
2255
 
2174
2256
 
2257
+
2175
2258
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
2176
2259
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
2177
2260
  /*
@@ -2204,6 +2287,7 @@ var _SimpleBarCore$helper = SimpleBarCore.helpers,
2204
2287
  bk_scrollbar_addClasses = _SimpleBarCore$helper.addClasses,
2205
2288
  bk_scrollbar_classNamesToQuery = _SimpleBarCore$helper.classNamesToQuery;
2206
2289
  var BkSimpleBar = /*#__PURE__*/function (_SimpleBarCore) {
2290
+ _inherits(BkSimpleBar, _SimpleBarCore);
2207
2291
  function BkSimpleBar() {
2208
2292
  var _this;
2209
2293
  _classCallCheck(this, BkSimpleBar);
@@ -2212,11 +2296,10 @@ var BkSimpleBar = /*#__PURE__*/function (_SimpleBarCore) {
2212
2296
  }
2213
2297
  _this = _callSuper(this, BkSimpleBar, [].concat(args));
2214
2298
  // // Save a reference to the instance, so we know this DOM node has already been instancied
2215
- BkSimpleBar.instances.set(args[0], _this);
2299
+ BkSimpleBar.instances.set(args[0], _assertThisInitialized(_this));
2216
2300
  return _this;
2217
2301
  }
2218
- _inherits(BkSimpleBar, _SimpleBarCore);
2219
- return _createClass(BkSimpleBar, [{
2302
+ _createClass(BkSimpleBar, [{
2220
2303
  key: "initDOM",
2221
2304
  value: function initDOM() {
2222
2305
  var _this$options$wrapper, _this$options$content;
@@ -2263,6 +2346,7 @@ var BkSimpleBar = /*#__PURE__*/function (_SimpleBarCore) {
2263
2346
  (_BkSimpleBar$globalOb = BkSimpleBar.globalObserver) === null || _BkSimpleBar$globalOb === void 0 || _BkSimpleBar$globalOb.disconnect();
2264
2347
  }
2265
2348
  }]);
2349
+ return BkSimpleBar;
2266
2350
  }(SimpleBarCore);
2267
2351
  _defineProperty(BkSimpleBar, "instances", new WeakMap());
2268
2352
 
@@ -2469,7 +2553,7 @@ var VisibleRender = /*#__PURE__*/function () {
2469
2553
  var throttleDelay = binding.value.throttleDelay;
2470
2554
  this.delay = throttleDelay;
2471
2555
  }
2472
- return _createClass(VisibleRender, [{
2556
+ _createClass(VisibleRender, [{
2473
2557
  key: "render",
2474
2558
  value: function render(e) {
2475
2559
  var _this$binding$value = this.binding.value,
@@ -2528,6 +2612,7 @@ var VisibleRender = /*#__PURE__*/function () {
2528
2612
  this.binding = binding;
2529
2613
  }
2530
2614
  }]);
2615
+ return VisibleRender;
2531
2616
  }();
2532
2617
  var instance = null;
2533
2618
  /* harmony default export */ const v_virtual_render = ({
@@ -3012,5 +3097,7 @@ function virtual_render_objectSpread(e) { for (var r = 1; r < arguments.length;
3012
3097
 
3013
3098
  var BkVirtualRender = (0,shared_namespaceObject.withInstall)(virtual_render);
3014
3099
  /* harmony default export */ const src = (BkVirtualRender);
3100
+ })();
3101
+
3015
3102
  var __webpack_exports__default = __webpack_exports__["default"];
3016
3103
  export { __webpack_exports__default as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "1.0.3-beta.60.scrollbar.3",
3
+ "version": "1.0.3-beta.60.scrollbar.4",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",
@@ -153,6 +153,7 @@
153
153
  "dependencies": {
154
154
  "@floating-ui/dom": "~1.5.0",
155
155
  "@popperjs/core": "~2.11.8",
156
+ "can-use-dom": "~0.1.0",
156
157
  "date-fns": "~2.30.0",
157
158
  "install": "~0.13.0",
158
159
  "js-calendar": "~1.2.3",