bkui-vue 1.0.3-beta.60.scrollbar.2 → 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 (165) hide show
  1. package/lib/affix/index.js +1 -1
  2. package/lib/alert/index.js +1 -1
  3. package/lib/animate-number/index.js +8 -7
  4. package/lib/badge/index.js +1 -1
  5. package/lib/breadcrumb/index.js +1 -1
  6. package/lib/button/index.js +1 -1
  7. package/lib/card/index.js +1 -1
  8. package/lib/cascader/index.js +42 -38
  9. package/lib/checkbox/index.js +7 -6
  10. package/lib/collapse/index.js +12 -11
  11. package/lib/collapse-transition/index.js +4 -3
  12. package/lib/color-picker/index.js +13 -10
  13. package/lib/config-provider/index.js +1 -1
  14. package/lib/container/index.js +12 -10
  15. package/lib/date-picker/index.js +1 -1
  16. package/lib/dialog/index.js +4 -4
  17. package/lib/directives/index.js +1 -1
  18. package/lib/divider/index.js +3 -2
  19. package/lib/dropdown/index.js +8 -6
  20. package/lib/exception/index.js +1 -1
  21. package/lib/fixed-navbar/index.js +3 -2
  22. package/lib/form/index.js +1 -1
  23. package/lib/icon/angle-double-down-line.js +1 -1
  24. package/lib/icon/angle-double-left-line.js +1 -1
  25. package/lib/icon/angle-double-left.js +1 -1
  26. package/lib/icon/angle-double-right-line.js +1 -1
  27. package/lib/icon/angle-double-right.js +1 -1
  28. package/lib/icon/angle-double-up-line.js +1 -1
  29. package/lib/icon/angle-down-fill.js +1 -1
  30. package/lib/icon/angle-down-line.js +1 -1
  31. package/lib/icon/angle-down.js +1 -1
  32. package/lib/icon/angle-left.js +1 -1
  33. package/lib/icon/angle-right.js +1 -1
  34. package/lib/icon/angle-up-fill.js +1 -1
  35. package/lib/icon/angle-up.js +1 -1
  36. package/lib/icon/archive-fill.js +1 -1
  37. package/lib/icon/arrows-left.js +1 -1
  38. package/lib/icon/arrows-right.js +1 -1
  39. package/lib/icon/assistant.js +1 -1
  40. package/lib/icon/audio-fill.js +1 -1
  41. package/lib/icon/bk.js +1 -1
  42. package/lib/icon/circle.js +1 -1
  43. package/lib/icon/close-line.js +1 -1
  44. package/lib/icon/close.js +1 -1
  45. package/lib/icon/code.js +1 -1
  46. package/lib/icon/cog-shape.js +1 -1
  47. package/lib/icon/collapse-left.js +1 -1
  48. package/lib/icon/copy-shape.js +1 -1
  49. package/lib/icon/copy.js +1 -1
  50. package/lib/icon/data-shape.js +1 -1
  51. package/lib/icon/del.js +1 -1
  52. package/lib/icon/doc-fill.js +1 -1
  53. package/lib/icon/done.js +1 -1
  54. package/lib/icon/down-shape.js +1 -1
  55. package/lib/icon/down-small.js +1 -1
  56. package/lib/icon/edit-line.js +1 -1
  57. package/lib/icon/ellipsis.js +1 -1
  58. package/lib/icon/enlarge-line.js +1 -1
  59. package/lib/icon/error.js +1 -1
  60. package/lib/icon/excel-fill.js +1 -1
  61. package/lib/icon/exclamation-circle-shape.js +1 -1
  62. package/lib/icon/eye.js +1 -1
  63. package/lib/icon/filliscreen-line.js +1 -1
  64. package/lib/icon/fix-line.js +1 -1
  65. package/lib/icon/fix-shape.js +1 -1
  66. package/lib/icon/folder-open.js +1 -1
  67. package/lib/icon/folder-shape-open.js +1 -1
  68. package/lib/icon/folder-shape.js +1 -1
  69. package/lib/icon/folder.js +1 -1
  70. package/lib/icon/funnel.js +1 -1
  71. package/lib/icon/grag-fill.js +1 -1
  72. package/lib/icon/help-document-fill.js +1 -1
  73. package/lib/icon/help-fill.js +1 -1
  74. package/lib/icon/help.js +1 -1
  75. package/lib/icon/image-fill.js +1 -1
  76. package/lib/icon/img-error.js +1 -1
  77. package/lib/icon/img-placehoulder.js +1 -1
  78. package/lib/icon/info-line.js +1 -1
  79. package/lib/icon/info.js +1 -1
  80. package/lib/icon/left-shape.js +1 -1
  81. package/lib/icon/left-turn-line.js +1 -1
  82. package/lib/icon/loading.js +1 -1
  83. package/lib/icon/narrow-line.js +1 -1
  84. package/lib/icon/original.js +1 -1
  85. package/lib/icon/pdf-fill.js +1 -1
  86. package/lib/icon/play-shape.js +1 -1
  87. package/lib/icon/plus.js +1 -1
  88. package/lib/icon/ppt-fill.js +1 -1
  89. package/lib/icon/qq.js +1 -1
  90. package/lib/icon/right-shape.js +1 -1
  91. package/lib/icon/right-turn-line.js +1 -1
  92. package/lib/icon/search.js +1 -1
  93. package/lib/icon/share.js +1 -1
  94. package/lib/icon/spinner.js +1 -1
  95. package/lib/icon/success.js +1 -1
  96. package/lib/icon/switcher-loading.js +1 -1
  97. package/lib/icon/text-all.js +1 -1
  98. package/lib/icon/text-file.js +1 -1
  99. package/lib/icon/text-fill.js +1 -1
  100. package/lib/icon/transfer.js +1 -1
  101. package/lib/icon/tree-application-shape.js +1 -1
  102. package/lib/icon/unfull-screen.js +1 -1
  103. package/lib/icon/unvisible.js +1 -1
  104. package/lib/icon/up-shape.js +1 -1
  105. package/lib/icon/upload.js +1 -1
  106. package/lib/icon/video-fill.js +1 -1
  107. package/lib/icon/warn.js +1 -1
  108. package/lib/icon/weixin-pro.js +1 -1
  109. package/lib/icon/weixin.js +1 -1
  110. package/lib/image/index.js +11 -10
  111. package/lib/info-box/index.js +4 -4
  112. package/lib/input/index.js +4 -4
  113. package/lib/link/index.js +2 -2
  114. package/lib/loading/index.js +12 -11
  115. package/lib/menu/index.js +3 -2
  116. package/lib/message/index.js +1 -1
  117. package/lib/modal/index.js +4 -4
  118. package/lib/navigation/index.js +9 -7
  119. package/lib/notify/index.js +1 -1
  120. package/lib/overflow-title/index.js +10 -9
  121. package/lib/pagination/index.js +1 -1
  122. package/lib/plugin-popover/index.js +30 -26
  123. package/lib/pop-confirm/index.js +5 -4
  124. package/lib/popover/index.js +30 -26
  125. package/lib/popover2/index.js +2 -2
  126. package/lib/process/index.js +4 -4
  127. package/lib/progress/index.js +6 -5
  128. package/lib/radio/index.js +7 -6
  129. package/lib/rate/index.js +1 -1
  130. package/lib/resize-layout/index.js +1 -1
  131. package/lib/search-select/index.d.ts +3 -3
  132. package/lib/search-select/index.js +13 -10
  133. package/lib/search-select/input.d.ts +1 -1
  134. package/lib/search-select/search-select.d.ts +1 -1
  135. package/lib/search-select/selected.d.ts +1 -1
  136. package/lib/select/index.d.ts +9 -9
  137. package/lib/select/index.js +4 -4
  138. package/lib/select/select.d.ts +3 -3
  139. package/lib/shared/index.js +8 -5
  140. package/lib/sideslider/index.js +4 -4
  141. package/lib/slider/index.d.ts +3 -3
  142. package/lib/slider/index.js +20 -19
  143. package/lib/slider/slider.d.ts +1 -1
  144. package/lib/steps/index.d.ts +3 -3
  145. package/lib/steps/index.js +4 -4
  146. package/lib/steps/steps.d.ts +1 -1
  147. package/lib/swiper/index.js +1 -1
  148. package/lib/switcher/index.js +1 -1
  149. package/lib/tab/index.d.ts +4 -4
  150. package/lib/tab/index.js +4 -3
  151. package/lib/tab/tab.d.ts +1 -1
  152. package/lib/table/index.d.ts +9 -9
  153. package/lib/table/index.js +8 -6
  154. package/lib/table/table.d.ts +3 -3
  155. package/lib/table-column/index.js +1 -1
  156. package/lib/tag/index.js +1 -1
  157. package/lib/tag-input/index.js +4 -3
  158. package/lib/transfer/index.d.ts +3 -3
  159. package/lib/transfer/transfer.d.ts +1 -1
  160. package/lib/tree/index.js +12 -10
  161. package/lib/upload/index.d.ts +4 -4
  162. package/lib/upload/index.js +4 -4
  163. package/lib/upload/upload.d.ts +1 -1
  164. package/lib/virtual-render/index.js +11 -118
  165. package/package.json +1 -1
package/lib/tree/index.js CHANGED
@@ -47,7 +47,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
47
47
  ;// CONCATENATED MODULE: external "vue"
48
48
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
49
49
  var external_vue_y = x => () => x
50
- const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["onUnmounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onUnmounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
50
+ const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["onUnmounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onUnmounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
51
51
  ;// CONCATENATED MODULE: external "../config-provider"
52
52
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
53
53
  var config_provider_y = x => () => x
@@ -87,7 +87,7 @@ function toPrimitive(t, r) {
87
87
 
88
88
  function toPropertyKey(t) {
89
89
  var i = toPrimitive(t, "string");
90
- return "symbol" == _typeof(i) ? i : i + "";
90
+ return "symbol" == _typeof(i) ? i : String(i);
91
91
  }
92
92
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
93
93
 
@@ -1037,6 +1037,7 @@ var showCheckbox = function showCheckbox(props, node) {
1037
1037
 
1038
1038
 
1039
1039
  var use_node_action_this = undefined;
1040
+
1040
1041
  /*
1041
1042
  * Tencent is pleased to support the open source community by making
1042
1043
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1127,7 +1128,7 @@ var use_node_action_this = undefined;
1127
1128
  className = val.className,
1128
1129
  text = val.text,
1129
1130
  style = val.style;
1130
- return h(node, {
1131
+ return (0,external_vue_namespaceObject.h)(node, {
1131
1132
  "class": className,
1132
1133
  style: style
1133
1134
  }, text);
@@ -1419,7 +1420,7 @@ var use_node_action_this = undefined;
1419
1420
  */
1420
1421
  if (getNodeAttr(resolvedItem, NODE_ATTRIBUTES.IS_ASYNC)) {
1421
1422
  asyncNodeClick(resolvedItem).then(function () {
1422
- nextTick(function () {
1423
+ (0,external_vue_namespaceObject.nextTick)(function () {
1423
1424
  nodeList.shift();
1424
1425
  setSelect(nodeList, selected, autoOpen);
1425
1426
  });
@@ -2371,7 +2372,8 @@ var use_tree_init_this = undefined;
2371
2372
 
2372
2373
 
2373
2374
 
2374
- /* harmony default export */ const tree = (defineComponent({
2375
+
2376
+ /* harmony default export */ const tree = ((0,external_vue_namespaceObject.defineComponent)({
2375
2377
  name: 'Tree',
2376
2378
  props: treeProps,
2377
2379
  emits: TreeEmitEventsType,
@@ -2396,7 +2398,7 @@ var use_tree_init_this = undefined;
2396
2398
  isSearchDisabled = _useSearch.isSearchDisabled,
2397
2399
  isTreeUI = _useSearch.isTreeUI,
2398
2400
  showChildNodes = _useSearch.showChildNodes;
2399
- var matchedNodePath = reactive([]);
2401
+ var matchedNodePath = (0,external_vue_namespaceObject.reactive)([]);
2400
2402
  var filterFn = function filterFn(item) {
2401
2403
  if (isSearchActive.value) {
2402
2404
  if (showChildNodes) {
@@ -2410,7 +2412,7 @@ var use_tree_init_this = undefined;
2410
2412
  return checkNodeIsOpen(item);
2411
2413
  };
2412
2414
  // 计算当前需要渲染的节点信息
2413
- var renderData = computed(function () {
2415
+ var renderData = (0,external_vue_namespaceObject.computed)(function () {
2414
2416
  return flatData.data.filter(function (item) {
2415
2417
  return filterFn(item);
2416
2418
  });
@@ -2437,14 +2439,14 @@ var use_tree_init_this = undefined;
2437
2439
  });
2438
2440
  });
2439
2441
  if (!isSearchDisabled) {
2440
- watch([refSearch], function () {
2442
+ (0,external_vue_namespaceObject.watch)([refSearch], function () {
2441
2443
  handleSearch();
2442
2444
  }, {
2443
2445
  deep: true,
2444
2446
  immediate: true
2445
2447
  });
2446
2448
  }
2447
- var root = ref();
2449
+ var root = (0,external_vue_namespaceObject.ref)();
2448
2450
  /**
2449
2451
  * 设置指定节点是否选中
2450
2452
  * @param item Node item | Node Id
@@ -2460,7 +2462,7 @@ var use_tree_init_this = undefined;
2460
2462
  var getData = function getData() {
2461
2463
  return flatData;
2462
2464
  };
2463
- watch(function () {
2465
+ (0,external_vue_namespaceObject.watch)(function () {
2464
2466
  return [props.checked];
2465
2467
  }, function () {
2466
2468
  setChecked(props.checked, true);
@@ -109,8 +109,8 @@ declare const Upload: {
109
109
  }>> & {
110
110
  onError?: (...args: any[]) => any;
111
111
  onProgress?: (...args: any[]) => any;
112
- onDone?: (...args: any[]) => any;
113
112
  onDelete?: (...args: any[]) => any;
113
+ onDone?: (...args: any[]) => any;
114
114
  onSuccess?: (...args: any[]) => any;
115
115
  onExceed?: (...args: any[]) => any;
116
116
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("done" | "error" | "progress" | "delete" | "success" | "exceed")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
@@ -223,8 +223,8 @@ declare const Upload: {
223
223
  }>> & {
224
224
  onError?: (...args: any[]) => any;
225
225
  onProgress?: (...args: any[]) => any;
226
- onDone?: (...args: any[]) => any;
227
226
  onDelete?: (...args: any[]) => any;
227
+ onDone?: (...args: any[]) => any;
228
228
  onSuccess?: (...args: any[]) => any;
229
229
  onExceed?: (...args: any[]) => any;
230
230
  }, {
@@ -366,8 +366,8 @@ declare const Upload: {
366
366
  }>> & {
367
367
  onError?: (...args: any[]) => any;
368
368
  onProgress?: (...args: any[]) => any;
369
- onDone?: (...args: any[]) => any;
370
369
  onDelete?: (...args: any[]) => any;
370
+ onDone?: (...args: any[]) => any;
371
371
  onSuccess?: (...args: any[]) => any;
372
372
  onExceed?: (...args: any[]) => any;
373
373
  }, () => JSX.Element, {}, {}, {}, {
@@ -506,8 +506,8 @@ declare const Upload: {
506
506
  }>> & {
507
507
  onError?: (...args: any[]) => any;
508
508
  onProgress?: (...args: any[]) => any;
509
- onDone?: (...args: any[]) => any;
510
509
  onDelete?: (...args: any[]) => any;
510
+ onDone?: (...args: any[]) => any;
511
511
  onSuccess?: (...args: any[]) => any;
512
512
  onExceed?: (...args: any[]) => any;
513
513
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("done" | "error" | "progress" | "delete" | "success" | "exceed")[], "done" | "error" | "progress" | "delete" | "success" | "exceed", {
@@ -867,7 +867,7 @@ function _regeneratorRuntime() {
867
867
  function makeInvokeMethod(e, r, n) {
868
868
  var o = h;
869
869
  return function (i, a) {
870
- if (o === f) throw Error("Generator is already running");
870
+ if (o === f) throw new Error("Generator is already running");
871
871
  if (o === s) {
872
872
  if ("throw" === i) throw a;
873
873
  return {
@@ -1009,7 +1009,7 @@ function _regeneratorRuntime() {
1009
1009
  } else if (c) {
1010
1010
  if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
1011
1011
  } else {
1012
- if (!u) throw Error("try statement without catch or finally");
1012
+ if (!u) throw new Error("try statement without catch or finally");
1013
1013
  if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
1014
1014
  }
1015
1015
  }
@@ -1049,7 +1049,7 @@ function _regeneratorRuntime() {
1049
1049
  return o;
1050
1050
  }
1051
1051
  }
1052
- throw Error("illegal catch attempt");
1052
+ throw new Error("illegal catch attempt");
1053
1053
  },
1054
1054
  delegateYield: function delegateYield(e, r, n) {
1055
1055
  return this.delegate = {
@@ -1230,7 +1230,7 @@ function toPrimitive(t, r) {
1230
1230
 
1231
1231
  function toPropertyKey(t) {
1232
1232
  var i = toPrimitive(t, "string");
1233
- return "symbol" == _typeof(i) ? i : i + "";
1233
+ return "symbol" == _typeof(i) ? i : String(i);
1234
1234
  }
1235
1235
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
1236
1236
 
@@ -216,8 +216,8 @@ declare const _default: import("vue").DefineComponent<{
216
216
  }>> & {
217
217
  onError?: (...args: any[]) => any;
218
218
  onProgress?: (...args: any[]) => any;
219
- onDone?: (...args: any[]) => any;
220
219
  onDelete?: (...args: any[]) => any;
220
+ onDone?: (...args: any[]) => any;
221
221
  onSuccess?: (...args: any[]) => any;
222
222
  onExceed?: (...args: any[]) => any;
223
223
  }, {
@@ -1,11 +1,5 @@
1
1
  import "../styles/reset.css";
2
2
  import "./virtual-render.less";
3
- import * as __WEBPACK_EXTERNAL_MODULE__components_96ad247a__ from "./components";
4
- import * as __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__ from "./config-provider";
5
- import * as __WEBPACK_EXTERNAL_MODULE__directives_37095733__ from "./directives";
6
- import * as __WEBPACK_EXTERNAL_MODULE__hooks_627f7bfe__ from "./hooks";
7
- import * as __WEBPACK_EXTERNAL_MODULE__plugins_a82c42d7__ from "./plugins";
8
- import * as __WEBPACK_EXTERNAL_MODULE__preset_b854ea38__ from "./preset";
9
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
10
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
11
5
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
@@ -13,55 +7,6 @@ import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
13
7
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
14
8
  /******/ var __webpack_modules__ = ({
15
9
 
16
- /***/ 6064:
17
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
18
-
19
- /* harmony import */ var _preset__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(804);
20
- /* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4151);
21
- /* harmony reexport (checked) */ if(__webpack_require__.o(_components__WEBPACK_IMPORTED_MODULE_1__, "usePrefix")) __webpack_require__.d(__webpack_exports__, { usePrefix: function() { return _components__WEBPACK_IMPORTED_MODULE_1__.usePrefix; } });
22
- /* harmony import */ var _bkui_vue_directives__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6120);
23
- /* harmony reexport (checked) */ if(__webpack_require__.o(_bkui_vue_directives__WEBPACK_IMPORTED_MODULE_2__, "usePrefix")) __webpack_require__.d(__webpack_exports__, { usePrefix: function() { return _bkui_vue_directives__WEBPACK_IMPORTED_MODULE_2__.usePrefix; } });
24
- /* harmony import */ var _bkui_vue_plugins__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4794);
25
- /* harmony import */ var _bkui_vue_config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(635);
26
- /* harmony reexport (checked) */ if(__webpack_require__.o(_bkui_vue_config_provider__WEBPACK_IMPORTED_MODULE_4__, "usePrefix")) __webpack_require__.d(__webpack_exports__, { usePrefix: function() { return _bkui_vue_config_provider__WEBPACK_IMPORTED_MODULE_4__.usePrefix; } });
27
- /* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6253);
28
- /* harmony reexport (checked) */ if(__webpack_require__.o(_hooks__WEBPACK_IMPORTED_MODULE_5__, "usePrefix")) __webpack_require__.d(__webpack_exports__, { usePrefix: function() { return _hooks__WEBPACK_IMPORTED_MODULE_5__.usePrefix; } });
29
- /*
30
- * Tencent is pleased to support the open source community by making
31
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
32
- *
33
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
34
- *
35
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
36
- *
37
- * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
38
- *
39
- * ---------------------------------------------------
40
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
41
- * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
42
- * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
43
- * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44
- *
45
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
46
- * the Software.
47
- *
48
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
49
- * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
50
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
51
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
52
- * IN THE SOFTWARE.
53
- */
54
- // import '@bkui-vue/styles';
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
- /***/ }),
64
-
65
10
  /***/ 9131:
66
11
  /***/ ((module) => {
67
12
 
@@ -73,60 +18,6 @@ var canUseDOM = !!(
73
18
 
74
19
  module.exports = canUseDOM;
75
20
 
76
- /***/ }),
77
-
78
- /***/ 4151:
79
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
80
-
81
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
82
- var y = x => () => x
83
- module.exports = x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__components_96ad247a__.usePrefix });
84
-
85
- /***/ }),
86
-
87
- /***/ 635:
88
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
89
-
90
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
91
- var y = x => () => x
92
- module.exports = x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_e8e4cbd4__.usePrefix });
93
-
94
- /***/ }),
95
-
96
- /***/ 6120:
97
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
98
-
99
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
100
- var y = x => () => x
101
- module.exports = x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__directives_37095733__.usePrefix });
102
-
103
- /***/ }),
104
-
105
- /***/ 6253:
106
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
107
-
108
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
109
- var y = x => () => x
110
- module.exports = x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__hooks_627f7bfe__.usePrefix });
111
-
112
- /***/ }),
113
-
114
- /***/ 4794:
115
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
116
-
117
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
118
- var y = x => () => x
119
- module.exports = x({ });
120
-
121
- /***/ }),
122
-
123
- /***/ 804:
124
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
125
-
126
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
127
- var y = x => () => x
128
- module.exports = x({ });
129
-
130
21
  /***/ })
131
22
 
132
23
  /******/ });
@@ -285,7 +176,7 @@ function toPrimitive(t, r) {
285
176
 
286
177
  function toPropertyKey(t) {
287
178
  var i = toPrimitive(t, "string");
288
- return "symbol" == _typeof(i) ? i : i + "";
179
+ return "symbol" == _typeof(i) ? i : String(i);
289
180
  }
290
181
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
291
182
 
@@ -503,8 +394,6 @@ var virtualRenderProps = _objectSpread({
503
394
  fixToTop: fixToTop
504
395
  };
505
396
  });
506
- // EXTERNAL MODULE: ../../packages/bkui-vue/index.ts
507
- var bkui_vue = __webpack_require__(6064);
508
397
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
509
398
  function _classCallCheck(instance, Constructor) {
510
399
  if (!(instance instanceof Constructor)) {
@@ -1874,7 +1763,7 @@ var SimpleBarCore = /*#__PURE__*/function () {
1874
1763
  this.mouseWheelInstance = mouse_wheel(this._onMouseWheel);
1875
1764
  this.init();
1876
1765
  }
1877
- return _createClass(SimpleBarCore, [{
1766
+ _createClass(SimpleBarCore, [{
1878
1767
  key: "getScrollbarWidth",
1879
1768
  value: function getScrollbarWidth() {
1880
1769
  // Try/catch for FF 56 throwing on undefined computedStyles
@@ -2317,6 +2206,7 @@ var SimpleBarCore = /*#__PURE__*/function () {
2317
2206
  };
2318
2207
  }
2319
2208
  }]);
2209
+ return SimpleBarCore;
2320
2210
  }();
2321
2211
  _defineProperty(SimpleBarCore, "rtlHelpers", null);
2322
2212
  _defineProperty(SimpleBarCore, "defaultOptions", {
@@ -2364,6 +2254,7 @@ _defineProperty(SimpleBarCore, "helpers", helpers_namespaceObject);
2364
2254
 
2365
2255
 
2366
2256
 
2257
+
2367
2258
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
2368
2259
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
2369
2260
  /*
@@ -2396,6 +2287,7 @@ var _SimpleBarCore$helper = SimpleBarCore.helpers,
2396
2287
  bk_scrollbar_addClasses = _SimpleBarCore$helper.addClasses,
2397
2288
  bk_scrollbar_classNamesToQuery = _SimpleBarCore$helper.classNamesToQuery;
2398
2289
  var BkSimpleBar = /*#__PURE__*/function (_SimpleBarCore) {
2290
+ _inherits(BkSimpleBar, _SimpleBarCore);
2399
2291
  function BkSimpleBar() {
2400
2292
  var _this;
2401
2293
  _classCallCheck(this, BkSimpleBar);
@@ -2404,11 +2296,10 @@ var BkSimpleBar = /*#__PURE__*/function (_SimpleBarCore) {
2404
2296
  }
2405
2297
  _this = _callSuper(this, BkSimpleBar, [].concat(args));
2406
2298
  // // Save a reference to the instance, so we know this DOM node has already been instancied
2407
- BkSimpleBar.instances.set(args[0], _this);
2299
+ BkSimpleBar.instances.set(args[0], _assertThisInitialized(_this));
2408
2300
  return _this;
2409
2301
  }
2410
- _inherits(BkSimpleBar, _SimpleBarCore);
2411
- return _createClass(BkSimpleBar, [{
2302
+ _createClass(BkSimpleBar, [{
2412
2303
  key: "initDOM",
2413
2304
  value: function initDOM() {
2414
2305
  var _this$options$wrapper, _this$options$content;
@@ -2455,6 +2346,7 @@ var BkSimpleBar = /*#__PURE__*/function (_SimpleBarCore) {
2455
2346
  (_BkSimpleBar$globalOb = BkSimpleBar.globalObserver) === null || _BkSimpleBar$globalOb === void 0 || _BkSimpleBar$globalOb.disconnect();
2456
2347
  }
2457
2348
  }]);
2349
+ return BkSimpleBar;
2458
2350
  }(SimpleBarCore);
2459
2351
  _defineProperty(BkSimpleBar, "instances", new WeakMap());
2460
2352
 
@@ -2488,7 +2380,7 @@ _defineProperty(BkSimpleBar, "instances", new WeakMap());
2488
2380
 
2489
2381
  /* harmony default export */ const use_scrollbar = (function (target, props) {
2490
2382
  var instance = null;
2491
- var _usePrefix = (0,bkui_vue.usePrefix)(),
2383
+ var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
2492
2384
  resolveClassName = _usePrefix.resolveClassName;
2493
2385
  var classNames = {
2494
2386
  contentEl: resolveClassName('scrollbar-content-el'),
@@ -2661,7 +2553,7 @@ var VisibleRender = /*#__PURE__*/function () {
2661
2553
  var throttleDelay = binding.value.throttleDelay;
2662
2554
  this.delay = throttleDelay;
2663
2555
  }
2664
- return _createClass(VisibleRender, [{
2556
+ _createClass(VisibleRender, [{
2665
2557
  key: "render",
2666
2558
  value: function render(e) {
2667
2559
  var _this$binding$value = this.binding.value,
@@ -2720,6 +2612,7 @@ var VisibleRender = /*#__PURE__*/function () {
2720
2612
  this.binding = binding;
2721
2613
  }
2722
2614
  }]);
2615
+ return VisibleRender;
2723
2616
  }();
2724
2617
  var instance = null;
2725
2618
  /* harmony default export */ const v_virtual_render = ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "1.0.3-beta.60.scrollbar.2",
3
+ "version": "1.0.3-beta.60.scrollbar.4",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",