bkui-vue 1.0.3-beta.60.scrollbar.4 → 1.0.3-beta.60.scrollbar.5
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/index.cjs.js +29 -29
- package/dist/index.esm.js +2584 -2585
- package/dist/index.umd.js +30 -30
- package/lib/affix/index.js +1 -1
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +7 -8
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/index.js +1 -1
- package/lib/card/index.js +1 -1
- package/lib/cascader/index.js +38 -42
- package/lib/checkbox/index.js +6 -7
- package/lib/collapse/index.js +11 -12
- package/lib/collapse-transition/index.js +3 -4
- package/lib/color-picker/index.js +10 -13
- package/lib/config-provider/index.js +1 -1
- package/lib/container/index.js +10 -12
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/index.js +4 -4
- package/lib/directives/index.js +1 -1
- package/lib/divider/index.js +2 -3
- package/lib/dropdown/index.js +6 -8
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/index.js +2 -3
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.js +1 -1
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/assistant.js +1 -1
- package/lib/icon/audio-fill.js +1 -1
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.js +1 -1
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.js +1 -1
- package/lib/icon/del.js +1 -1
- package/lib/icon/doc-fill.js +1 -1
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.js +1 -1
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.js +1 -1
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.js +1 -1
- package/lib/icon/exclamation-circle-shape.js +1 -1
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.js +1 -1
- package/lib/icon/fix-line.js +1 -1
- package/lib/icon/fix-shape.js +1 -1
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -1
- package/lib/icon/grag-fill.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.js +1 -1
- package/lib/icon/img-error.js +1 -1
- package/lib/icon/img-placehoulder.js +1 -1
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.js +1 -1
- package/lib/icon/loading.js +1 -1
- package/lib/icon/narrow-line.js +1 -1
- package/lib/icon/original.js +1 -1
- package/lib/icon/pdf-fill.js +1 -1
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.js +1 -1
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.js +1 -1
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-all.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.js +1 -1
- package/lib/icon/transfer.js +1 -1
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.js +1 -1
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.js +1 -1
- package/lib/icon/video-fill.js +1 -1
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin-pro.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/index.js +10 -11
- package/lib/info-box/index.js +4 -4
- package/lib/input/index.js +4 -4
- package/lib/link/index.js +2 -2
- package/lib/loading/index.js +11 -12
- package/lib/menu/index.js +2 -3
- package/lib/message/index.js +1 -1
- package/lib/modal/index.js +4 -4
- package/lib/navigation/index.js +7 -9
- package/lib/notify/index.js +1 -1
- package/lib/overflow-title/index.js +9 -10
- package/lib/pagination/index.js +1 -1
- package/lib/plugin-popover/index.js +26 -30
- package/lib/pop-confirm/index.js +4 -5
- package/lib/popover/index.js +26 -30
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.js +4 -4
- package/lib/progress/index.js +5 -6
- package/lib/radio/index.js +6 -7
- package/lib/rate/index.js +1 -1
- package/lib/resize-layout/index.js +1 -1
- package/lib/search-select/index.js +10 -13
- package/lib/select/index.js +4 -4
- package/lib/shared/index.js +5 -8
- package/lib/sideslider/index.js +4 -4
- package/lib/slider/index.js +19 -20
- package/lib/steps/index.js +4 -4
- package/lib/swiper/index.js +1 -1
- package/lib/switcher/index.js +1 -1
- package/lib/tab/index.js +3 -4
- package/lib/table/index.js +6 -8
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.js +1 -1
- package/lib/tag-input/index.js +3 -4
- package/lib/tree/index.js +10 -12
- package/lib/upload/index.js +4 -4
- package/lib/virtual-render/index.js +39 -126
- package/package.json +1 -4
@@ -5,60 +5,10 @@ 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
|
-
/******/
|
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
|
-
/******/ }
|
8
|
+
/******/ // The require scope
|
9
|
+
/******/ var __webpack_require__ = {};
|
48
10
|
/******/
|
49
11
|
/************************************************************************/
|
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
|
-
/******/
|
62
12
|
/******/ /* webpack/runtime/define property getters */
|
63
13
|
/******/ (() => {
|
64
14
|
/******/ // define getter functions for harmony exports
|
@@ -89,8 +39,6 @@ module.exports = canUseDOM;
|
|
89
39
|
/******/
|
90
40
|
/************************************************************************/
|
91
41
|
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
|
-
(() => {
|
94
42
|
|
95
43
|
// EXPORTS
|
96
44
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -176,7 +124,7 @@ function toPrimitive(t, r) {
|
|
176
124
|
|
177
125
|
function toPropertyKey(t) {
|
178
126
|
var i = toPrimitive(t, "string");
|
179
|
-
return "symbol" == _typeof(i) ? i :
|
127
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
180
128
|
}
|
181
129
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
182
130
|
|
@@ -514,9 +462,6 @@ function _nonIterableRest() {
|
|
514
462
|
function _slicedToArray(arr, i) {
|
515
463
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
516
464
|
}
|
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);
|
520
465
|
;// CONCATENATED MODULE: ../../node_modules/lodash-es/isObject.js
|
521
466
|
/**
|
522
467
|
* Checks if `value` is the
|
@@ -1136,6 +1081,35 @@ function throttle(func, wait, options) {
|
|
1136
1081
|
|
1137
1082
|
/* harmony default export */ const lodash_es_throttle = (throttle);
|
1138
1083
|
|
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
|
+
});
|
1139
1113
|
;// CONCATENATED MODULE: ../../packages/virtual-render/src/scrollbar-core/helpers.ts
|
1140
1114
|
|
1141
1115
|
/*
|
@@ -1258,35 +1232,6 @@ function classNamesToQuery(classNames) {
|
|
1258
1232
|
removeWheelEvent: removeWheelEvent
|
1259
1233
|
};
|
1260
1234
|
});
|
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
|
-
});
|
1290
1235
|
;// CONCATENATED MODULE: ../../packages/virtual-render/src/scrollbar-core/scrollbar-width.ts
|
1291
1236
|
/*
|
1292
1237
|
* Tencent is pleased to support the open source community by making
|
@@ -1316,7 +1261,7 @@ function classNamesToQuery(classNames) {
|
|
1316
1261
|
|
1317
1262
|
var cachedScrollbarWidth = null;
|
1318
1263
|
var cachedDevicePixelRatio = null;
|
1319
|
-
if (
|
1264
|
+
if (can_use_dom()) {
|
1320
1265
|
window.addEventListener('resize', function () {
|
1321
1266
|
if (cachedDevicePixelRatio !== window.devicePixelRatio) {
|
1322
1267
|
cachedDevicePixelRatio = window.devicePixelRatio;
|
@@ -1349,32 +1294,6 @@ function scrollbarWidth() {
|
|
1349
1294
|
|
1350
1295
|
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; }
|
1351
1296
|
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
|
-
*/
|
1378
1297
|
|
1379
1298
|
|
1380
1299
|
|
@@ -1763,7 +1682,7 @@ var SimpleBarCore = /*#__PURE__*/function () {
|
|
1763
1682
|
this.mouseWheelInstance = mouse_wheel(this._onMouseWheel);
|
1764
1683
|
this.init();
|
1765
1684
|
}
|
1766
|
-
_createClass(SimpleBarCore, [{
|
1685
|
+
return _createClass(SimpleBarCore, [{
|
1767
1686
|
key: "getScrollbarWidth",
|
1768
1687
|
value: function getScrollbarWidth() {
|
1769
1688
|
// Try/catch for FF 56 throwing on undefined computedStyles
|
@@ -1781,7 +1700,7 @@ var SimpleBarCore = /*#__PURE__*/function () {
|
|
1781
1700
|
key: "init",
|
1782
1701
|
value: function init() {
|
1783
1702
|
// We stop here on server-side
|
1784
|
-
if (
|
1703
|
+
if (can_use_dom) {
|
1785
1704
|
this.initDOM();
|
1786
1705
|
this.rtlHelpers = SimpleBarCore.getRtlHelpers();
|
1787
1706
|
this.scrollbarWidth = this.getScrollbarWidth();
|
@@ -2206,7 +2125,6 @@ var SimpleBarCore = /*#__PURE__*/function () {
|
|
2206
2125
|
};
|
2207
2126
|
}
|
2208
2127
|
}]);
|
2209
|
-
return SimpleBarCore;
|
2210
2128
|
}();
|
2211
2129
|
_defineProperty(SimpleBarCore, "rtlHelpers", null);
|
2212
2130
|
_defineProperty(SimpleBarCore, "defaultOptions", {
|
@@ -2254,7 +2172,6 @@ _defineProperty(SimpleBarCore, "helpers", helpers_namespaceObject);
|
|
2254
2172
|
|
2255
2173
|
|
2256
2174
|
|
2257
|
-
|
2258
2175
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
2259
2176
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
2260
2177
|
/*
|
@@ -2287,7 +2204,6 @@ var _SimpleBarCore$helper = SimpleBarCore.helpers,
|
|
2287
2204
|
bk_scrollbar_addClasses = _SimpleBarCore$helper.addClasses,
|
2288
2205
|
bk_scrollbar_classNamesToQuery = _SimpleBarCore$helper.classNamesToQuery;
|
2289
2206
|
var BkSimpleBar = /*#__PURE__*/function (_SimpleBarCore) {
|
2290
|
-
_inherits(BkSimpleBar, _SimpleBarCore);
|
2291
2207
|
function BkSimpleBar() {
|
2292
2208
|
var _this;
|
2293
2209
|
_classCallCheck(this, BkSimpleBar);
|
@@ -2296,10 +2212,11 @@ var BkSimpleBar = /*#__PURE__*/function (_SimpleBarCore) {
|
|
2296
2212
|
}
|
2297
2213
|
_this = _callSuper(this, BkSimpleBar, [].concat(args));
|
2298
2214
|
// // Save a reference to the instance, so we know this DOM node has already been instancied
|
2299
|
-
BkSimpleBar.instances.set(args[0],
|
2215
|
+
BkSimpleBar.instances.set(args[0], _this);
|
2300
2216
|
return _this;
|
2301
2217
|
}
|
2302
|
-
|
2218
|
+
_inherits(BkSimpleBar, _SimpleBarCore);
|
2219
|
+
return _createClass(BkSimpleBar, [{
|
2303
2220
|
key: "initDOM",
|
2304
2221
|
value: function initDOM() {
|
2305
2222
|
var _this$options$wrapper, _this$options$content;
|
@@ -2346,7 +2263,6 @@ var BkSimpleBar = /*#__PURE__*/function (_SimpleBarCore) {
|
|
2346
2263
|
(_BkSimpleBar$globalOb = BkSimpleBar.globalObserver) === null || _BkSimpleBar$globalOb === void 0 || _BkSimpleBar$globalOb.disconnect();
|
2347
2264
|
}
|
2348
2265
|
}]);
|
2349
|
-
return BkSimpleBar;
|
2350
2266
|
}(SimpleBarCore);
|
2351
2267
|
_defineProperty(BkSimpleBar, "instances", new WeakMap());
|
2352
2268
|
|
@@ -2553,7 +2469,7 @@ var VisibleRender = /*#__PURE__*/function () {
|
|
2553
2469
|
var throttleDelay = binding.value.throttleDelay;
|
2554
2470
|
this.delay = throttleDelay;
|
2555
2471
|
}
|
2556
|
-
_createClass(VisibleRender, [{
|
2472
|
+
return _createClass(VisibleRender, [{
|
2557
2473
|
key: "render",
|
2558
2474
|
value: function render(e) {
|
2559
2475
|
var _this$binding$value = this.binding.value,
|
@@ -2612,7 +2528,6 @@ var VisibleRender = /*#__PURE__*/function () {
|
|
2612
2528
|
this.binding = binding;
|
2613
2529
|
}
|
2614
2530
|
}]);
|
2615
|
-
return VisibleRender;
|
2616
2531
|
}();
|
2617
2532
|
var instance = null;
|
2618
2533
|
/* harmony default export */ const v_virtual_render = ({
|
@@ -3097,7 +3012,5 @@ function virtual_render_objectSpread(e) { for (var r = 1; r < arguments.length;
|
|
3097
3012
|
|
3098
3013
|
var BkVirtualRender = (0,shared_namespaceObject.withInstall)(virtual_render);
|
3099
3014
|
/* harmony default export */ const src = (BkVirtualRender);
|
3100
|
-
})();
|
3101
|
-
|
3102
3015
|
var __webpack_exports__default = __webpack_exports__["default"];
|
3103
3016
|
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
|
+
"version": "1.0.3-beta.60.scrollbar.5",
|
4
4
|
"workspaces": {
|
5
5
|
"packages": [
|
6
6
|
"packages/!(**.bak)*",
|
@@ -153,14 +153,11 @@
|
|
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",
|
157
156
|
"date-fns": "~2.30.0",
|
158
|
-
"install": "~0.13.0",
|
159
157
|
"js-calendar": "~1.2.3",
|
160
158
|
"json-formatter-js": "~2.3.4",
|
161
159
|
"lodash": "~4.17.21",
|
162
160
|
"lodash-es": "~4.17.21",
|
163
|
-
"npm": "~10.5.2",
|
164
161
|
"tinycolor2": "~1.6.0",
|
165
162
|
"vue-types": "~4.1.1"
|
166
163
|
}
|