bkui-vue 2.0.1-beta.113 → 2.0.1-beta.114

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 (254) hide show
  1. package/dist/index.cjs.js +54 -54
  2. package/dist/index.esm.js +13950 -13941
  3. package/dist/index.umd.js +54 -54
  4. package/dist/style.css +1 -1
  5. package/lib/affix/index.d.ts +57 -111
  6. package/lib/affix/index.js +47 -39
  7. package/lib/alert/index.d.ts +73 -126
  8. package/lib/alert/index.js +50 -42
  9. package/lib/animate-number/index.d.ts +33 -96
  10. package/lib/animate-number/index.js +21 -16
  11. package/lib/backtop/index.d.ts +69 -117
  12. package/lib/backtop/index.js +42 -31
  13. package/lib/badge/index.d.ts +119 -152
  14. package/lib/badge/index.js +43 -37
  15. package/lib/breadcrumb/index.d.ts +67 -119
  16. package/lib/breadcrumb/index.js +48 -40
  17. package/lib/button/button.d.ts +2 -2
  18. package/lib/button/index.d.ts +119 -155
  19. package/lib/button/index.js +55 -46
  20. package/lib/card/index.d.ts +128 -157
  21. package/lib/card/index.js +67 -55
  22. package/lib/cascader/cascader.d.ts +3 -3
  23. package/lib/cascader/index.d.ts +393 -354
  24. package/lib/cascader/index.js +149 -119
  25. package/lib/checkbox/checkbox.d.ts +1 -1
  26. package/lib/checkbox/index.d.ts +143 -175
  27. package/lib/checkbox/index.js +89 -79
  28. package/lib/code-diff/index.d.ts +65 -82
  29. package/lib/code-diff/index.js +464 -517
  30. package/lib/collapse/index.d.ts +156 -175
  31. package/lib/collapse/index.js +67 -60
  32. package/lib/collapse-transition/index.d.ts +19 -94
  33. package/lib/collapse-transition/index.js +23 -16
  34. package/lib/color-picker/color-picker.d.ts +1 -1
  35. package/lib/color-picker/index.d.ts +144 -165
  36. package/lib/color-picker/index.js +98 -82
  37. package/lib/config-provider/index.d.ts +160 -227
  38. package/lib/config-provider/index.js +51 -43
  39. package/lib/container/container.d.ts +1 -1
  40. package/lib/container/index.d.ts +74 -85
  41. package/lib/container/index.js +55 -47
  42. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  43. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  44. package/lib/date-picker/date-picker.d.ts +4 -4
  45. package/lib/date-picker/index.d.ts +380 -351
  46. package/lib/date-picker/index.js +171 -150
  47. package/lib/date-picker/panel/date-range.d.ts +1 -1
  48. package/lib/date-picker/panel/date.d.ts +1 -1
  49. package/lib/date-picker/panel/time-range.d.ts +2 -2
  50. package/lib/date-picker/panel/time.d.ts +2 -2
  51. package/lib/date-picker/time-picker.d.ts +4 -4
  52. package/lib/dialog/index.d.ts +299 -269
  53. package/lib/dialog/index.js +323 -310
  54. package/lib/directives/index.js +344 -336
  55. package/lib/divider/index.d.ts +57 -111
  56. package/lib/divider/index.js +23 -16
  57. package/lib/dropdown/dropdown.d.ts +1 -1
  58. package/lib/dropdown/index.d.ts +94 -136
  59. package/lib/dropdown/index.js +66 -52
  60. package/lib/exception/index.d.ts +41 -102
  61. package/lib/exception/index.js +76 -70
  62. package/lib/fixed-navbar/index.d.ts +59 -113
  63. package/lib/fixed-navbar/index.js +22 -15
  64. package/lib/form/form.d.ts +1 -1
  65. package/lib/form/index.d.ts +80 -132
  66. package/lib/form/index.js +104 -83
  67. package/lib/icon/angle-double-down-line.js +31 -29
  68. package/lib/icon/angle-double-left-line.js +31 -29
  69. package/lib/icon/angle-double-left.js +31 -29
  70. package/lib/icon/angle-double-right-line.js +31 -29
  71. package/lib/icon/angle-double-right.js +31 -29
  72. package/lib/icon/angle-double-up-line.js +31 -29
  73. package/lib/icon/angle-down-fill.js +31 -29
  74. package/lib/icon/angle-down-line.js +31 -29
  75. package/lib/icon/angle-down.js +31 -29
  76. package/lib/icon/angle-left.js +31 -29
  77. package/lib/icon/angle-right.js +31 -29
  78. package/lib/icon/angle-up-fill.js +31 -29
  79. package/lib/icon/angle-up.js +31 -29
  80. package/lib/icon/archive-fill.js +31 -29
  81. package/lib/icon/arrows-left.js +31 -29
  82. package/lib/icon/arrows-right.js +31 -29
  83. package/lib/icon/assistant.js +31 -29
  84. package/lib/icon/audio-fill.js +31 -29
  85. package/lib/icon/bk.js +31 -29
  86. package/lib/icon/circle.js +31 -29
  87. package/lib/icon/close-line.js +31 -29
  88. package/lib/icon/close.js +31 -29
  89. package/lib/icon/code.js +31 -29
  90. package/lib/icon/cog-shape.js +31 -29
  91. package/lib/icon/collapse-left.js +31 -29
  92. package/lib/icon/copy-shape.js +31 -29
  93. package/lib/icon/copy.js +31 -29
  94. package/lib/icon/data-shape.js +31 -29
  95. package/lib/icon/del.js +31 -29
  96. package/lib/icon/doc-fill.js +31 -29
  97. package/lib/icon/done.js +31 -29
  98. package/lib/icon/down-shape.js +31 -29
  99. package/lib/icon/down-small.js +31 -29
  100. package/lib/icon/edit-line.js +31 -29
  101. package/lib/icon/ellipsis.js +31 -29
  102. package/lib/icon/enlarge-line.js +31 -29
  103. package/lib/icon/error.js +31 -29
  104. package/lib/icon/excel-fill.js +31 -29
  105. package/lib/icon/exclamation-circle-shape.js +31 -29
  106. package/lib/icon/eye.js +31 -29
  107. package/lib/icon/filliscreen-line.js +31 -29
  108. package/lib/icon/fix-line.js +31 -29
  109. package/lib/icon/fix-shape.js +31 -29
  110. package/lib/icon/folder-open.js +31 -29
  111. package/lib/icon/folder-shape-open.js +31 -29
  112. package/lib/icon/folder-shape.js +31 -29
  113. package/lib/icon/folder.js +31 -29
  114. package/lib/icon/funnel.js +31 -29
  115. package/lib/icon/grag-fill.js +31 -29
  116. package/lib/icon/help-document-fill.js +31 -29
  117. package/lib/icon/help-fill.js +31 -29
  118. package/lib/icon/help.js +31 -29
  119. package/lib/icon/image-fill.js +31 -29
  120. package/lib/icon/img-error.js +31 -29
  121. package/lib/icon/img-placehoulder.js +31 -29
  122. package/lib/icon/info-line.js +31 -29
  123. package/lib/icon/info.js +31 -29
  124. package/lib/icon/left-shape.js +31 -29
  125. package/lib/icon/left-turn-line.js +31 -29
  126. package/lib/icon/loading.js +31 -29
  127. package/lib/icon/narrow-line.js +31 -29
  128. package/lib/icon/original.js +31 -29
  129. package/lib/icon/pdf-fill.js +31 -29
  130. package/lib/icon/play-shape.js +31 -29
  131. package/lib/icon/plus.js +31 -29
  132. package/lib/icon/ppt-fill.js +31 -29
  133. package/lib/icon/qq.js +31 -29
  134. package/lib/icon/right-shape.js +31 -29
  135. package/lib/icon/right-turn-line.js +31 -29
  136. package/lib/icon/search.js +31 -29
  137. package/lib/icon/share.js +31 -29
  138. package/lib/icon/spinner.js +31 -29
  139. package/lib/icon/success.js +31 -29
  140. package/lib/icon/switcher-loading.js +31 -29
  141. package/lib/icon/text-all.js +31 -29
  142. package/lib/icon/text-file.js +31 -29
  143. package/lib/icon/text-fill.js +31 -29
  144. package/lib/icon/transfer.js +31 -29
  145. package/lib/icon/tree-application-shape.js +31 -29
  146. package/lib/icon/unfull-screen.js +31 -29
  147. package/lib/icon/unvisible.js +31 -29
  148. package/lib/icon/up-shape.js +31 -29
  149. package/lib/icon/upload.js +31 -29
  150. package/lib/icon/video-fill.js +31 -29
  151. package/lib/icon/warn.js +31 -29
  152. package/lib/icon/weixin-pro.js +31 -29
  153. package/lib/icon/weixin.js +31 -29
  154. package/lib/image/index.d.ts +113 -149
  155. package/lib/image/index.js +76 -61
  156. package/lib/index.js +1 -1
  157. package/lib/info-box/index.js +328 -315
  158. package/lib/input/index.d.ts +326 -293
  159. package/lib/input/index.js +91 -83
  160. package/lib/link/index.d.ts +73 -122
  161. package/lib/link/index.js +27 -19
  162. package/lib/loading/index.d.ts +130 -156
  163. package/lib/loading/index.js +56 -51
  164. package/lib/loading/loading.d.ts +1 -1
  165. package/lib/locale/index.js +3 -3
  166. package/lib/menu/index.d.ts +55 -116
  167. package/lib/menu/index.js +67 -58
  168. package/lib/message/index.js +72 -67
  169. package/lib/message/messageConstructor.d.ts +5 -5
  170. package/lib/modal/index.d.ts +171 -185
  171. package/lib/modal/index.js +58 -48
  172. package/lib/navigation/index.d.ts +152 -188
  173. package/lib/navigation/index.js +35 -25
  174. package/lib/notify/index.js +57 -48
  175. package/lib/overflow-title/index.d.ts +343 -256
  176. package/lib/overflow-title/index.js +51 -38
  177. package/lib/pagination/index.d.ts +184 -198
  178. package/lib/pagination/index.js +112 -103
  179. package/lib/plugin-popover/index.js +7 -5
  180. package/lib/plugins/index.js +7 -5
  181. package/lib/pop-confirm/index.d.ts +115 -153
  182. package/lib/pop-confirm/index.js +53 -36
  183. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  184. package/lib/popover/content.d.ts +1 -1
  185. package/lib/popover/index.d.ts +421 -359
  186. package/lib/popover/index.js +291 -179
  187. package/lib/popover2/index.d.ts +8 -83
  188. package/lib/popover2/index.js +15 -11
  189. package/lib/process/index.d.ts +93 -137
  190. package/lib/process/index.js +299 -295
  191. package/lib/progress/index.d.ts +178 -187
  192. package/lib/progress/index.js +47 -40
  193. package/lib/progress/progress.d.ts +2 -2
  194. package/lib/radio/index.d.ts +91 -140
  195. package/lib/radio/index.js +85 -79
  196. package/lib/rate/index.d.ts +55 -112
  197. package/lib/rate/index.js +44 -39
  198. package/lib/resize-layout/index.d.ts +168 -192
  199. package/lib/resize-layout/index.js +50 -43
  200. package/lib/resize-layout/resize-layout.d.ts +2 -2
  201. package/lib/scrollbar/index.js +63 -63
  202. package/lib/search-select/index.d.ts +678 -895
  203. package/lib/search-select/index.js +397 -379
  204. package/lib/search-select/input.d.ts +2 -2
  205. package/lib/search-select/search-select.d.ts +133 -188
  206. package/lib/search-select/selected.d.ts +133 -188
  207. package/lib/select/index.d.ts +1375 -1217
  208. package/lib/select/index.js +456 -419
  209. package/lib/select/select.d.ts +132 -169
  210. package/lib/select/selectTagInput.d.ts +2 -2
  211. package/lib/shared/index.js +109 -103
  212. package/lib/sideslider/index.d.ts +197 -201
  213. package/lib/sideslider/index.js +311 -302
  214. package/lib/slider/index.d.ts +214 -210
  215. package/lib/slider/index.js +305 -294
  216. package/lib/steps/index.d.ts +110 -149
  217. package/lib/steps/index.js +303 -298
  218. package/lib/swiper/index.d.ts +81 -127
  219. package/lib/swiper/index.js +42 -36
  220. package/lib/switcher/index.d.ts +152 -174
  221. package/lib/switcher/index.js +50 -44
  222. package/lib/tab/index.d.ts +151 -183
  223. package/lib/tab/index.js +72 -59
  224. package/lib/table/components/table-column.d.ts +1 -1
  225. package/lib/table/hooks/use-columns.d.ts +1 -1
  226. package/lib/table/hooks/use-layout.d.ts +2 -2
  227. package/lib/table/hooks/use-rows.d.ts +1 -1
  228. package/lib/table/index.d.ts +457 -362
  229. package/lib/table/index.js +589 -547
  230. package/lib/table/table.d.ts +1 -1
  231. package/lib/table-column/index.d.ts +104 -150
  232. package/lib/table-column/index.js +13 -9
  233. package/lib/tag/index.d.ts +95 -142
  234. package/lib/tag/index.js +56 -46
  235. package/lib/tag-input/index.d.ts +744 -529
  236. package/lib/tag-input/index.js +148 -128
  237. package/lib/tag-input/tag-input.d.ts +5 -5
  238. package/lib/time-picker/index.d.ts +439 -386
  239. package/lib/time-picker/index.js +13 -9
  240. package/lib/timeline/index.d.ts +64 -131
  241. package/lib/timeline/index.js +27 -21
  242. package/lib/transfer/index.d.ts +191 -206
  243. package/lib/transfer/index.js +56 -40
  244. package/lib/tree/index.d.ts +350 -308
  245. package/lib/tree/index.js +171 -150
  246. package/lib/tree/tree.d.ts +1 -1
  247. package/lib/tree/use-tree-init.d.ts +1 -1
  248. package/lib/upload/index.d.ts +311 -273
  249. package/lib/upload/index.js +474 -465
  250. package/lib/upload/upload.d.ts +2 -2
  251. package/lib/virtual-render/index.d.ts +333 -241
  252. package/lib/virtual-render/index.js +84 -72
  253. package/lib/virtual-render/virtual-render.d.ts +1 -1
  254. package/package.json +1 -1
@@ -35,26 +35,28 @@ __webpack_require__.d(__webpack_exports__, {
35
35
  "default": () => (/* binding */ src)
36
36
  });
37
37
 
38
- ;// CONCATENATED MODULE: external "../shared"
39
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
40
- var y = x => () => x
41
- const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
42
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
38
+ ;// external "../shared"
39
+ var x = (y) => {
40
+ var x = {}; __webpack_require__.d(x, y); return x
41
+ }
42
+ var y = (x) => (() => (x))
43
+ const shared_namespaceObject = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["resolveClassName"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName), ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
44
+ ;// ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
43
45
  function _arrayLikeToArray(arr, len) {
44
46
  if (len == null || len > arr.length) len = arr.length;
45
47
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
46
48
  return arr2;
47
49
  }
48
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
50
+ ;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
49
51
 
50
52
  function _arrayWithoutHoles(arr) {
51
53
  if (Array.isArray(arr)) return _arrayLikeToArray(arr);
52
54
  }
53
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
55
+ ;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
54
56
  function _iterableToArray(iter) {
55
57
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
56
58
  }
57
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
59
+ ;// ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
58
60
 
59
61
  function _unsupportedIterableToArray(o, minLen) {
60
62
  if (!o) return;
@@ -64,11 +66,11 @@ function _unsupportedIterableToArray(o, minLen) {
64
66
  if (n === "Map" || n === "Set") return Array.from(o);
65
67
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
66
68
  }
67
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
69
+ ;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
68
70
  function _nonIterableSpread() {
69
71
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
70
72
  }
71
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
73
+ ;// ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
72
74
 
73
75
 
74
76
 
@@ -76,39 +78,39 @@ function _nonIterableSpread() {
76
78
  function _toConsumableArray(arr) {
77
79
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
78
80
  }
79
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
80
- function _typeof(obj) {
81
+ ;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
82
+ function _typeof(o) {
81
83
  "@babel/helpers - typeof";
82
84
 
83
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
84
- return typeof obj;
85
- } : function (obj) {
86
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
87
- }, _typeof(obj);
85
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
86
+ return typeof o;
87
+ } : function (o) {
88
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
89
+ }, _typeof(o);
88
90
  }
89
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
91
+ ;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
90
92
 
91
- function _toPrimitive(input, hint) {
92
- if (_typeof(input) !== "object" || input === null) return input;
93
- var prim = input[Symbol.toPrimitive];
94
- if (prim !== undefined) {
95
- var res = prim.call(input, hint || "default");
96
- if (_typeof(res) !== "object") return res;
93
+ function toPrimitive(t, r) {
94
+ if ("object" != _typeof(t) || !t) return t;
95
+ var e = t[Symbol.toPrimitive];
96
+ if (void 0 !== e) {
97
+ var i = e.call(t, r || "default");
98
+ if ("object" != _typeof(i)) return i;
97
99
  throw new TypeError("@@toPrimitive must return a primitive value.");
98
100
  }
99
- return (hint === "string" ? String : Number)(input);
101
+ return ("string" === r ? String : Number)(t);
100
102
  }
101
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
103
+ ;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
102
104
 
103
105
 
104
- function _toPropertyKey(arg) {
105
- var key = _toPrimitive(arg, "string");
106
- return _typeof(key) === "symbol" ? key : String(key);
106
+ function toPropertyKey(t) {
107
+ var i = toPrimitive(t, "string");
108
+ return "symbol" == _typeof(i) ? i : String(i);
107
109
  }
108
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
110
+ ;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
109
111
 
110
112
  function _defineProperty(obj, key, value) {
111
- key = _toPropertyKey(key);
113
+ key = toPropertyKey(key);
112
114
  if (key in obj) {
113
115
  Object.defineProperty(obj, key, {
114
116
  value: value,
@@ -121,23 +123,31 @@ function _defineProperty(obj, key, value) {
121
123
  }
122
124
  return obj;
123
125
  }
124
- ;// CONCATENATED MODULE: external "vue"
125
- var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
126
- var external_vue_y = x => () => x
127
- const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["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, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
128
- ;// CONCATENATED MODULE: external "../config-provider"
129
- var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
130
- var config_provider_y = x => () => x
131
- const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
132
- ;// CONCATENATED MODULE: external "../scrollbar"
133
- var scrollbar_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
134
- var scrollbar_y = x => () => x
135
- const scrollbar_namespaceObject = scrollbar_x({ ["VirtualElement"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_scrollbar_918447d0__.VirtualElement, ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_scrollbar_918447d0__["default"] });
136
- ;// CONCATENATED MODULE: external "vue-types"
137
- var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
138
- var external_vue_types_y = x => () => x
139
- const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType });
140
- ;// CONCATENATED MODULE: ../../packages/virtual-render/src/props.ts
126
+ ;// external "vue"
127
+ var external_vue_x = (y) => {
128
+ var x = {}; __webpack_require__.d(x, y); return x
129
+ }
130
+ var external_vue_y = (x) => (() => (x))
131
+ const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["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), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch) });
132
+ ;// external "../config-provider"
133
+ var config_provider_x = (y) => {
134
+ var x = {}; __webpack_require__.d(x, y); return x
135
+ }
136
+ var config_provider_y = (x) => (() => (x))
137
+ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
138
+ ;// external "../scrollbar"
139
+ var scrollbar_x = (y) => {
140
+ var x = {}; __webpack_require__.d(x, y); return x
141
+ }
142
+ var scrollbar_y = (x) => (() => (x))
143
+ const scrollbar_namespaceObject = scrollbar_x({ ["VirtualElement"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_scrollbar_918447d0__.VirtualElement), ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_scrollbar_918447d0__["default"]) });
144
+ ;// external "vue-types"
145
+ var external_vue_types_x = (y) => {
146
+ var x = {}; __webpack_require__.d(x, y); return x
147
+ }
148
+ var external_vue_types_y = (x) => (() => (x))
149
+ const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType) });
150
+ ;// ../../packages/virtual-render/src/props.ts
141
151
 
142
152
  function 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; }
143
153
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -269,7 +279,7 @@ var virtualRenderProps = _objectSpread({
269
279
  */
270
280
  autoIndex: shared_namespaceObject.PropTypes.bool.def(true)
271
281
  }, EventProps);
272
- ;// CONCATENATED MODULE: ../../packages/virtual-render/src/use-fix-top.tsx
282
+ ;// ../../packages/virtual-render/src/use-fix-top.tsx
273
283
  /*
274
284
  * Tencent is pleased to support the open source community by making
275
285
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -328,7 +338,7 @@ var virtualRenderProps = _objectSpread({
328
338
  fixToTop: fixToTop
329
339
  };
330
340
  });
331
- ;// CONCATENATED MODULE: ../../packages/virtual-render/src/use-scrollbar.tsx
341
+ ;// ../../packages/virtual-render/src/use-scrollbar.tsx
332
342
  /*
333
343
  * Tencent is pleased to support the open source community by making
334
344
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -366,7 +376,7 @@ var virtualRenderProps = _objectSpread({
366
376
  };
367
377
  var scrollTo = function scrollTo(x, y) {
368
378
  var _instance;
369
- (_instance = instance) === null || _instance === void 0 ? void 0 : _instance.scrollTo({
379
+ (_instance = instance) === null || _instance === void 0 || _instance.scrollTo({
370
380
  x: x,
371
381
  y: y
372
382
  });
@@ -376,7 +386,7 @@ var virtualRenderProps = _objectSpread({
376
386
  if ((_instance2 = instance) !== null && _instance2 !== void 0 && _instance2.element) {
377
387
  var _instance3, _instance4;
378
388
  ((_instance3 = instance) === null || _instance3 === void 0 ? void 0 : _instance3.element).scrollHeight = height;
379
- (_instance4 = instance) === null || _instance4 === void 0 ? void 0 : _instance4.update();
389
+ (_instance4 = instance) === null || _instance4 === void 0 || _instance4.update();
380
390
  }
381
391
  };
382
392
  return {
@@ -390,13 +400,13 @@ var virtualRenderProps = _objectSpread({
390
400
  updateScrollHeight: updateScrollHeight
391
401
  };
392
402
  });
393
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
403
+ ;// ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
394
404
  function _classCallCheck(instance, Constructor) {
395
405
  if (!(instance instanceof Constructor)) {
396
406
  throw new TypeError("Cannot call a class as a function");
397
407
  }
398
408
  }
399
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
409
+ ;// ../../node_modules/@babel/runtime/helpers/esm/createClass.js
400
410
 
401
411
  function _defineProperties(target, props) {
402
412
  for (var i = 0; i < props.length; i++) {
@@ -404,7 +414,7 @@ function _defineProperties(target, props) {
404
414
  descriptor.enumerable = descriptor.enumerable || false;
405
415
  descriptor.configurable = true;
406
416
  if ("value" in descriptor) descriptor.writable = true;
407
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
417
+ Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
408
418
  }
409
419
  }
410
420
  function _createClass(Constructor, protoProps, staticProps) {
@@ -415,11 +425,13 @@ function _createClass(Constructor, protoProps, staticProps) {
415
425
  });
416
426
  return Constructor;
417
427
  }
418
- ;// CONCATENATED MODULE: external "lodash/throttle"
419
- var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
420
- var throttle_y = x => () => x
421
- const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
422
- ;// CONCATENATED MODULE: ../../packages/virtual-render/src/v-virtual-render.ts
428
+ ;// external "lodash/throttle"
429
+ var throttle_x = (y) => {
430
+ var x = {}; __webpack_require__.d(x, y); return x
431
+ }
432
+ var throttle_y = (x) => (() => (x))
433
+ const throttle_namespaceObject = throttle_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"]) });
434
+ ;// ../../packages/virtual-render/src/v-virtual-render.ts
423
435
 
424
436
 
425
437
 
@@ -616,13 +628,13 @@ var VisibleRender = /*#__PURE__*/function () {
616
628
  key: "install",
617
629
  value: function install() {
618
630
  var _this$wrapper3;
619
- (_this$wrapper3 = this.wrapper) === null || _this$wrapper3 === void 0 ? void 0 : _this$wrapper3.addEventListener('scroll', this.executeThrottledRender.bind(this));
631
+ (_this$wrapper3 = this.wrapper) === null || _this$wrapper3 === void 0 || _this$wrapper3.addEventListener('scroll', this.executeThrottledRender.bind(this));
620
632
  }
621
633
  }, {
622
634
  key: "uninstall",
623
635
  value: function uninstall() {
624
636
  var _this$wrapper4, _this$wrapper4$remove;
625
- (_this$wrapper4 = this.wrapper) === null || _this$wrapper4 === void 0 || (_this$wrapper4$remove = _this$wrapper4.removeListener) === null || _this$wrapper4$remove === void 0 ? void 0 : _this$wrapper4$remove.call(_this$wrapper4, 'scroll', this.executeThrottledRender.bind(this));
637
+ (_this$wrapper4 = this.wrapper) === null || _this$wrapper4 === void 0 || (_this$wrapper4$remove = _this$wrapper4.removeListener) === null || _this$wrapper4$remove === void 0 || _this$wrapper4$remove.call(_this$wrapper4, 'scroll', this.executeThrottledRender.bind(this));
626
638
  }
627
639
  }, {
628
640
  key: "setBinding",
@@ -641,7 +653,7 @@ var instance = null;
641
653
  },
642
654
  updated: function updated(_el, binding) {
643
655
  var _instance;
644
- (_instance = instance) === null || _instance === void 0 ? void 0 : _instance.setBinding(binding);
656
+ (_instance = instance) === null || _instance === void 0 || _instance.setBinding(binding);
645
657
  },
646
658
  unbind: function unbind(el) {
647
659
  if (el) {
@@ -653,7 +665,7 @@ var instance = null;
653
665
  }
654
666
  }
655
667
  });
656
- ;// CONCATENATED MODULE: ../../packages/virtual-render/src/use-tag-render.tsx
668
+ ;// ../../packages/virtual-render/src/use-tag-render.tsx
657
669
 
658
670
  function use_tag_render_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; }
659
671
  function use_tag_render_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? use_tag_render_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : use_tag_render_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -749,7 +761,7 @@ function use_tag_render_objectSpread(e) { for (var r = 1; r < arguments.length;
749
761
  });
750
762
  (0,external_vue_namespaceObject.onUnmounted)(function () {
751
763
  var _renderInstance;
752
- (_renderInstance = renderInstance) === null || _renderInstance === void 0 ? void 0 : _renderInstance.uninstall();
764
+ (_renderInstance = renderInstance) === null || _renderInstance === void 0 || _renderInstance.uninstall();
753
765
  });
754
766
  var wrapperClassNames = (0,external_vue_namespaceObject.computed)(function () {
755
767
  if (props.scrollbar.enabled) {
@@ -772,7 +784,7 @@ function use_tag_render_objectSpread(e) { for (var r = 1; r < arguments.length;
772
784
  }
773
785
  };
774
786
  });
775
- ;// CONCATENATED MODULE: ../../packages/virtual-render/src/virtual-render.tsx
787
+ ;// ../../packages/virtual-render/src/virtual-render.tsx
776
788
 
777
789
 
778
790
 
@@ -978,7 +990,7 @@ function virtual_render_objectSpread(e) { for (var r = 1; r < arguments.length;
978
990
  });
979
991
  (0,external_vue_namespaceObject.onUnmounted)(function () {
980
992
  var _instance;
981
- (_instance = instance) === null || _instance === void 0 ? void 0 : _instance.uninstall();
993
+ (_instance = instance) === null || _instance === void 0 || _instance.uninstall();
982
994
  });
983
995
  var handleChangeListConfig = function handleChangeListConfig() {
984
996
  /** 数据改变时激活当前表单,使其渲染DOM */
@@ -1067,7 +1079,7 @@ function virtual_render_objectSpread(e) { for (var r = 1; r < arguments.length;
1067
1079
  var _instance2;
1068
1080
  handleChangeListConfig();
1069
1081
  afterListDataReset();
1070
- (_instance2 = instance) === null || _instance2 === void 0 ? void 0 : _instance2.executeThrottledRender.call(instance, {
1082
+ (_instance2 = instance) === null || _instance2 === void 0 || _instance2.executeThrottledRender.call(instance, {
1071
1083
  offset: {
1072
1084
  x: 0,
1073
1085
  y: 0
@@ -1083,11 +1095,11 @@ function virtual_render_objectSpread(e) { for (var r = 1; r < arguments.length;
1083
1095
  scrollHeight: innerHeight.value,
1084
1096
  offsetHeight: props.height
1085
1097
  } : el;
1086
- (_instance3 = instance) === null || _instance3 === void 0 ? void 0 : _instance3.setDelegateWrapper(container);
1098
+ (_instance3 = instance) === null || _instance3 === void 0 || _instance3.setDelegateWrapper(container);
1087
1099
  };
1088
1100
  var updateVirtualInstance = function updateVirtualInstance() {
1089
1101
  var _instance4;
1090
- (_instance4 = instance) === null || _instance4 === void 0 ? void 0 : _instance4.setBinding(binding);
1102
+ (_instance4 = instance) === null || _instance4 === void 0 || _instance4.setBinding(binding);
1091
1103
  handleChangeListConfig();
1092
1104
  updateScrollHeight(contentHeight.value);
1093
1105
  setDelegateEl();
@@ -1095,7 +1107,7 @@ function virtual_render_objectSpread(e) { for (var r = 1; r < arguments.length;
1095
1107
  afterListDataReset();
1096
1108
  (0,external_vue_namespaceObject.nextTick)(function () {
1097
1109
  var _instance5;
1098
- (_instance5 = instance) === null || _instance5 === void 0 ? void 0 : _instance5.executeThrottledRender.call(instance, {
1110
+ (_instance5 = instance) === null || _instance5 === void 0 || _instance5.executeThrottledRender.call(instance, {
1099
1111
  offset: {
1100
1112
  x: pagination.scrollLeft,
1101
1113
  y: pagination.scrollTop
@@ -1140,7 +1152,7 @@ function virtual_render_objectSpread(e) { for (var r = 1; r < arguments.length;
1140
1152
  };
1141
1153
  }
1142
1154
  }));
1143
- ;// CONCATENATED MODULE: ../../packages/virtual-render/src/index.ts
1155
+ ;// ../../packages/virtual-render/src/index.ts
1144
1156
  /*
1145
1157
  * Tencent is pleased to support the open source community by making
1146
1158
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -280,13 +280,13 @@ declare const _default: import("vue").DefineComponent<{
280
280
  };
281
281
  enabled: boolean;
282
282
  list: unknown[];
283
- lineHeight: any;
284
283
  minHeight: number;
285
284
  wrapperStyle: any;
286
285
  className: string | {
287
286
  [key: string]: any;
288
287
  };
289
288
  scrollEvent: boolean;
289
+ lineHeight: any;
290
290
  contentStyle: {
291
291
  [key: string]: any;
292
292
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "2.0.1-beta.113",
3
+ "version": "2.0.1-beta.114",
4
4
  "workspaces": [
5
5
  "packages/**",
6
6
  "scripts/cli",