bkui-vue 2.0.2-beta.8 → 2.0.2-beta.80

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 (336) hide show
  1. package/License.txt +1 -2
  2. package/dist/cli.css +1 -0
  3. package/dist/index.cjs.js +166 -138
  4. package/dist/index.esm.js +24292 -18450
  5. package/dist/index.umd.js +166 -138
  6. package/dist/locale/en.esm.js.map +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/ja-jp.esm.js +2 -0
  9. package/dist/locale/ja-jp.esm.js.map +1 -0
  10. package/dist/locale/ja-jp.umd.js +2 -0
  11. package/dist/locale/ja-jp.umd.js.map +1 -0
  12. package/dist/locale/zh-cn.esm.js.map +1 -1
  13. package/dist/locale/zh-cn.umd.js.map +1 -1
  14. package/dist/style.variable.css +1 -1
  15. package/lib/affix/affix.variable.css +2 -1
  16. package/lib/affix/index.js +24 -32
  17. package/lib/alert/alert.variable.css +2 -1
  18. package/lib/alert/index.js +38 -35
  19. package/lib/animate-number/index.js +12 -16
  20. package/lib/backtop/backtop.variable.css +2 -1
  21. package/lib/backtop/index.js +24 -34
  22. package/lib/badge/badge.variable.css +2 -1
  23. package/lib/badge/index.js +20 -26
  24. package/lib/breadcrumb/breadcrumb.variable.css +2 -1
  25. package/lib/breadcrumb/index.js +26 -34
  26. package/lib/button/button.d.ts +1 -1
  27. package/lib/button/button.variable.css +2 -1
  28. package/lib/button/index.js +29 -39
  29. package/lib/card/card.variable.css +2 -1
  30. package/lib/card/index.js +35 -49
  31. package/lib/cascader/cascader.css +26 -24
  32. package/lib/cascader/cascader.d.ts +315 -0
  33. package/lib/cascader/cascader.less +78 -76
  34. package/lib/cascader/cascader.variable.css +28 -25
  35. package/lib/cascader/index.d.ts +618 -0
  36. package/lib/cascader/index.js +749 -717
  37. package/lib/checkbox/checkbox.variable.css +2 -1
  38. package/lib/checkbox/index.js +39 -49
  39. package/lib/code-diff/code-diff.variable.css +2 -1
  40. package/lib/code-diff/index.js +81 -85
  41. package/lib/collapse/collapse.variable.css +2 -1
  42. package/lib/collapse/index.js +36 -42
  43. package/lib/collapse-transition/collapse-transition.variable.css +2 -1
  44. package/lib/collapse-transition/index.js +16 -22
  45. package/lib/color-picker/color-picker.variable.css +2 -1
  46. package/lib/color-picker/index.js +682 -689
  47. package/lib/components.js +1 -1
  48. package/lib/config-provider/config-provider.variable.css +2 -1
  49. package/lib/config-provider/index.d.ts +1 -1
  50. package/lib/config-provider/index.js +32 -40
  51. package/lib/container/container.variable.css +2 -1
  52. package/lib/container/index.js +26 -32
  53. package/lib/date-picker/date-picker.d.ts +2 -1
  54. package/lib/date-picker/date-picker.variable.css +2 -1
  55. package/lib/date-picker/index.d.ts +6 -2
  56. package/lib/date-picker/index.js +717 -736
  57. package/lib/date-picker/panel/date-range.d.ts +2 -1
  58. package/lib/date-picker/panel/time.d.ts +1 -1
  59. package/lib/date-picker/utils.d.ts +5 -17
  60. package/lib/dialog/dialog.css +20 -1
  61. package/lib/dialog/dialog.variable.css +22 -2
  62. package/lib/dialog/index.js +100 -137
  63. package/lib/directives/index.js +509 -518
  64. package/lib/dist.index.js +1 -1
  65. package/lib/divider/divider.variable.css +2 -1
  66. package/lib/divider/index.js +18 -24
  67. package/lib/dropdown/dropdown.d.ts +1 -0
  68. package/lib/dropdown/dropdown.variable.css +2 -1
  69. package/lib/dropdown/index.d.ts +3 -0
  70. package/lib/dropdown/index.js +45 -52
  71. package/lib/exception/exception.variable.css +2 -1
  72. package/lib/exception/index.js +51 -57
  73. package/lib/fixed-navbar/fixed-navbar.variable.css +2 -1
  74. package/lib/fixed-navbar/index.js +16 -22
  75. package/lib/form/form-item.d.ts +19 -0
  76. package/lib/form/form.css +16 -4
  77. package/lib/form/form.less +24 -6
  78. package/lib/form/form.variable.css +18 -5
  79. package/lib/form/index.d.ts +13 -0
  80. package/lib/form/index.js +677 -708
  81. package/lib/hooks.js +1 -1
  82. package/lib/icon/angle-double-down-line.js +13 -15
  83. package/lib/icon/angle-double-left-line.js +13 -15
  84. package/lib/icon/angle-double-left.js +13 -15
  85. package/lib/icon/angle-double-right-line.js +13 -15
  86. package/lib/icon/angle-double-right.js +13 -15
  87. package/lib/icon/angle-double-up-line.js +13 -15
  88. package/lib/icon/angle-down-fill.js +13 -15
  89. package/lib/icon/angle-down-line.js +13 -15
  90. package/lib/icon/angle-down.js +13 -15
  91. package/lib/icon/angle-left.js +13 -15
  92. package/lib/icon/angle-right.js +13 -15
  93. package/lib/icon/angle-up-fill.js +13 -15
  94. package/lib/icon/angle-up.js +13 -15
  95. package/lib/icon/archive-fill.js +13 -15
  96. package/lib/icon/arrows-left.js +13 -15
  97. package/lib/icon/arrows-right.js +13 -15
  98. package/lib/icon/assistant.js +13 -15
  99. package/lib/icon/audio-fill.js +13 -15
  100. package/lib/icon/bk.js +13 -15
  101. package/lib/icon/circle.js +13 -15
  102. package/lib/icon/close-line.js +13 -15
  103. package/lib/icon/close.js +13 -15
  104. package/lib/icon/code.js +13 -15
  105. package/lib/icon/cog-shape.js +13 -15
  106. package/lib/icon/collapse-left.js +13 -15
  107. package/lib/icon/copy-shape.js +13 -15
  108. package/lib/icon/copy.js +13 -15
  109. package/lib/icon/data-shape.js +13 -15
  110. package/lib/icon/del.js +13 -15
  111. package/lib/icon/doc-fill.js +13 -15
  112. package/lib/icon/done.js +13 -15
  113. package/lib/icon/down-shape.js +13 -15
  114. package/lib/icon/down-small.js +13 -15
  115. package/lib/icon/edit-line.js +13 -15
  116. package/lib/icon/ellipsis.js +13 -15
  117. package/lib/icon/enlarge-line.js +13 -15
  118. package/lib/icon/error.js +13 -15
  119. package/lib/icon/excel-fill.js +13 -15
  120. package/lib/icon/exclamation-circle-shape.js +13 -15
  121. package/lib/icon/eye.js +13 -15
  122. package/lib/icon/filliscreen-line.js +13 -15
  123. package/lib/icon/fix-line.js +13 -15
  124. package/lib/icon/fix-shape.js +13 -15
  125. package/lib/icon/folder-open.js +13 -15
  126. package/lib/icon/folder-shape-open.js +13 -15
  127. package/lib/icon/folder-shape.js +13 -15
  128. package/lib/icon/folder.js +13 -15
  129. package/lib/icon/funnel.js +13 -15
  130. package/lib/icon/grag-fill.js +13 -15
  131. package/lib/icon/help-document-fill.js +13 -15
  132. package/lib/icon/help-fill.js +13 -15
  133. package/lib/icon/help.js +13 -15
  134. package/lib/icon/image-fill.js +13 -15
  135. package/lib/icon/img-error.js +13 -15
  136. package/lib/icon/img-placehoulder.js +13 -15
  137. package/lib/icon/index.js +1 -1
  138. package/lib/icon/info-line.js +13 -15
  139. package/lib/icon/info.js +13 -15
  140. package/lib/icon/left-shape.js +13 -15
  141. package/lib/icon/left-turn-line.js +13 -15
  142. package/lib/icon/loading.js +13 -15
  143. package/lib/icon/narrow-line.js +13 -15
  144. package/lib/icon/original.js +13 -15
  145. package/lib/icon/pdf-fill.js +13 -15
  146. package/lib/icon/play-shape.js +13 -15
  147. package/lib/icon/plus.js +13 -15
  148. package/lib/icon/ppt-fill.js +13 -15
  149. package/lib/icon/qq.js +13 -15
  150. package/lib/icon/right-shape.js +13 -15
  151. package/lib/icon/right-turn-line.js +13 -15
  152. package/lib/icon/search.js +13 -15
  153. package/lib/icon/share.js +13 -15
  154. package/lib/icon/spinner.js +13 -15
  155. package/lib/icon/success.js +13 -15
  156. package/lib/icon/switcher-loading.js +13 -15
  157. package/lib/icon/text-all.js +13 -15
  158. package/lib/icon/text-file.js +13 -15
  159. package/lib/icon/text-fill.js +13 -15
  160. package/lib/icon/transfer.js +13 -15
  161. package/lib/icon/tree-application-shape.js +13 -15
  162. package/lib/icon/unfull-screen.js +13 -15
  163. package/lib/icon/unvisible.js +13 -15
  164. package/lib/icon/up-shape.js +13 -15
  165. package/lib/icon/upload.js +13 -15
  166. package/lib/icon/video-fill.js +13 -15
  167. package/lib/icon/warn.js +13 -15
  168. package/lib/icon/weixin-pro.js +13 -15
  169. package/lib/icon/weixin.js +13 -15
  170. package/lib/image/image-viewer.variable.css +2 -1
  171. package/lib/image/image.variable.css +2 -1
  172. package/lib/image/index.js +335 -352
  173. package/lib/index.js +1 -1
  174. package/lib/info-box/index.js +109 -108
  175. package/lib/info-box/info-box.css +20 -1
  176. package/lib/info-box/info-box.d.ts +1 -0
  177. package/lib/info-box/info-box.less +28 -2
  178. package/lib/info-box/info-box.variable.css +23 -3
  179. package/lib/input/index.d.ts +39 -20
  180. package/lib/input/index.js +448 -444
  181. package/lib/input/input.css +6 -0
  182. package/lib/input/input.d.ts +33 -19
  183. package/lib/input/input.less +7 -0
  184. package/lib/input/input.variable.css +8 -1
  185. package/lib/link/index.js +20 -28
  186. package/lib/link/link.variable.css +2 -1
  187. package/lib/loading/index.js +34 -32
  188. package/lib/loading/loading.variable.css +2 -1
  189. package/lib/locale/index.d.ts +1 -0
  190. package/lib/locale/index.js +175 -7
  191. package/lib/locale/lang/ja-jp.d.ts +3 -0
  192. package/lib/menu/index.js +44 -49
  193. package/lib/menu/menu.css +5 -4
  194. package/lib/menu/menu.less +1 -0
  195. package/lib/menu/menu.variable.css +7 -5
  196. package/lib/menu/submenu.variable.css +2 -1
  197. package/lib/message/index.js +102 -74
  198. package/lib/message/message.variable.css +2 -1
  199. package/lib/message/messageConstructor.d.ts +1 -1
  200. package/lib/modal/index.js +43 -45
  201. package/lib/modal/modal.css +20 -1
  202. package/lib/modal/modal.variable.css +22 -2
  203. package/lib/navigation/index.js +22 -30
  204. package/lib/navigation/navigation.css +29 -29
  205. package/lib/navigation/navigation.less +29 -29
  206. package/lib/navigation/navigation.variable.css +31 -30
  207. package/lib/notify/index.js +69 -60
  208. package/lib/notify/notify.variable.css +2 -1
  209. package/lib/overflow-title/components/overflow-title.d.ts +6 -2
  210. package/lib/overflow-title/index.d.ts +12 -4
  211. package/lib/overflow-title/index.js +32 -44
  212. package/lib/overflow-title/props.d.ts +3 -1
  213. package/lib/pagination/index.js +68 -76
  214. package/lib/pagination/pagination.css +1 -0
  215. package/lib/pagination/pagination.less +1 -0
  216. package/lib/pagination/pagination.variable.css +3 -1
  217. package/lib/pop-confirm/index.d.ts +592 -0
  218. package/lib/pop-confirm/index.js +43 -55
  219. package/lib/pop-confirm/pop-confirm.d.ts +296 -0
  220. package/lib/pop-confirm/pop-confirm.variable.css +2 -1
  221. package/lib/pop-confirm/props.d.ts +148 -0
  222. package/lib/popover/index.d.ts +18 -10
  223. package/lib/popover/index.js +582 -459
  224. package/lib/popover/popover.d.ts +8 -4
  225. package/lib/popover/popover.variable.css +2 -1
  226. package/lib/popover/props.d.ts +3 -1
  227. package/lib/popover/use-floating.d.ts +2 -2
  228. package/lib/popover/use-popover-init.d.ts +2 -2
  229. package/lib/popover/use-popper-id.d.ts +3 -1
  230. package/lib/popover2/index.js +12 -16
  231. package/lib/preset.js +1 -1
  232. package/lib/process/index.js +76 -80
  233. package/lib/process/process.d.ts +1 -1
  234. package/lib/process/process.variable.css +2 -1
  235. package/lib/progress/index.js +24 -30
  236. package/lib/progress/progress.variable.css +2 -1
  237. package/lib/radio/index.js +36 -44
  238. package/lib/radio/radio.variable.css +2 -1
  239. package/lib/rate/index.js +22 -28
  240. package/lib/rate/rate.variable.css +2 -1
  241. package/lib/resize-layout/index.js +24 -32
  242. package/lib/resize-layout/resize-layout.css +1 -0
  243. package/lib/resize-layout/resize-layout.less +1 -0
  244. package/lib/resize-layout/resize-layout.variable.css +3 -1
  245. package/lib/scrollbar/css/scrollbar.variable.css +2 -1
  246. package/lib/scrollbar/index.js +31 -31
  247. package/lib/search-select/index.d.ts +39 -11
  248. package/lib/search-select/index.js +576 -547
  249. package/lib/search-select/input.d.ts +5 -1
  250. package/lib/search-select/search-select.d.ts +13 -4
  251. package/lib/search-select/search-select.variable.css +2 -1
  252. package/lib/search-select/selected.d.ts +10 -2
  253. package/lib/search-select/utils.d.ts +1 -0
  254. package/lib/select/common.d.ts +0 -1
  255. package/lib/select/index.d.ts +55 -11
  256. package/lib/select/index.js +570 -619
  257. package/lib/select/optionGroup.d.ts +12 -1
  258. package/lib/select/select.d.ts +20 -4
  259. package/lib/select/select.variable.css +2 -1
  260. package/lib/select/type.d.ts +1 -0
  261. package/lib/shared/index.d.ts +1 -1
  262. package/lib/shared/index.js +59 -67
  263. package/lib/shared/z-index-manager.d.ts +1 -1
  264. package/lib/sideslider/index.js +86 -94
  265. package/lib/sideslider/sideslider.variable.css +2 -1
  266. package/lib/slider/index.d.ts +1 -1
  267. package/lib/slider/index.js +80 -89
  268. package/lib/slider/slider-button.d.ts +1 -1
  269. package/lib/slider/slider.d.ts +1 -1
  270. package/lib/slider/slider.variable.css +2 -1
  271. package/lib/steps/index.js +85 -92
  272. package/lib/steps/steps.css +24 -11
  273. package/lib/steps/steps.d.ts +1 -1
  274. package/lib/steps/steps.less +28 -10
  275. package/lib/steps/steps.variable.css +26 -12
  276. package/lib/styles/mixins/animate.variable.css +2 -1
  277. package/lib/styles/mixins/popper.variable.css +2 -1
  278. package/lib/styles/mixins/scroll.variable.css +2 -1
  279. package/lib/styles/reset.variable.css +2 -1
  280. package/lib/styles/themes/themes.less +4 -1
  281. package/lib/swiper/index.js +20 -26
  282. package/lib/swiper/swiper.variable.css +2 -1
  283. package/lib/switcher/index.js +24 -32
  284. package/lib/switcher/switcher.variable.css +2 -1
  285. package/lib/tab/index.d.ts +12 -0
  286. package/lib/tab/index.js +344 -353
  287. package/lib/tab/props.d.ts +3 -0
  288. package/lib/tab/tab.d.ts +6 -0
  289. package/lib/tab/tab.variable.css +2 -1
  290. package/lib/table/index.js +632 -691
  291. package/lib/table/plugins/head-filter.variable.css +2 -1
  292. package/lib/table/plugins/head-sort.variable.css +2 -1
  293. package/lib/table/plugins/settings.variable.css +2 -1
  294. package/lib/table/table.css +1 -0
  295. package/lib/table/table.variable.css +3 -1
  296. package/lib/table-column/index.js +10 -14
  297. package/lib/tag/index.js +28 -38
  298. package/lib/tag/tag.variable.css +2 -1
  299. package/lib/tag-input/index.d.ts +79 -6
  300. package/lib/tag-input/index.js +2341 -791
  301. package/lib/tag-input/tag-input.css +31 -0
  302. package/lib/tag-input/tag-input.d.ts +35 -3
  303. package/lib/tag-input/tag-input.less +36 -0
  304. package/lib/tag-input/tag-input.variable.css +33 -1
  305. package/lib/tag-input/tag-props.d.ts +13 -1
  306. package/lib/tag-input/tag-render.d.ts +24 -2
  307. package/lib/time-picker/index.js +10 -14
  308. package/lib/time-picker/time-picker.variable.css +2 -1
  309. package/lib/timeline/index.js +1368 -25
  310. package/lib/timeline/timeline.d.ts +1 -1
  311. package/lib/timeline/timeline.variable.css +2 -1
  312. package/lib/transfer/index.d.ts +1 -24
  313. package/lib/transfer/index.js +61 -67
  314. package/lib/transfer/props.d.ts +0 -5
  315. package/lib/transfer/transfer.css +26 -8
  316. package/lib/transfer/transfer.d.ts +1 -12
  317. package/lib/transfer/transfer.less +18 -8
  318. package/lib/transfer/transfer.variable.css +28 -9
  319. package/lib/tree/constant.d.ts +2 -0
  320. package/lib/tree/index.d.ts +71 -11
  321. package/lib/tree/index.js +17743 -209
  322. package/lib/tree/props.d.ts +38 -3
  323. package/lib/tree/tree.css +46 -0
  324. package/lib/tree/tree.d.ts +33 -5
  325. package/lib/tree/tree.less +57 -2
  326. package/lib/tree/tree.variable.css +48 -1
  327. package/lib/tree/use-array-move.d.ts +6 -0
  328. package/lib/tree/use-node-action.d.ts +2 -2
  329. package/lib/tree/use-node-attribute.d.ts +3 -0
  330. package/lib/upload/index.js +570 -582
  331. package/lib/upload/upload.variable.css +2 -1
  332. package/lib/virtual-render/index.js +50 -62
  333. package/lib/virtual-render/virtual-render.variable.css +2 -1
  334. package/lib/volar.components.d.ts +2 -1
  335. package/package.json +13 -2
  336. package/dist/style.css +0 -1
package/lib/index.js CHANGED
@@ -3,5 +3,5 @@ export * from './hooks';
3
3
  export { default } from './preset';
4
4
  export * from './config-provider';
5
5
  export * from './directives';
6
- export const version = "2.0.2-beta.8";
6
+ export const version = "2.0.2-beta.80";
7
7
  window.__bkui_vue_version__ = version;
@@ -11,48 +11,10 @@ import "../modal/modal.less";
11
11
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__ from "lodash/isFunction";
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ 4319:
15
- /***/ ((module) => {
16
-
17
- function _typeof(o) {
18
- "@babel/helpers - typeof";
19
-
20
- return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
21
- return typeof o;
22
- } : function (o) {
23
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
24
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
25
- }
26
- module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
27
-
28
- /***/ }),
29
-
30
- /***/ 5799:
14
+ /***/ 7609:
31
15
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
32
16
 
33
- // TODO(Babel 8): Remove this file.
34
-
35
- var runtime = __webpack_require__(7048)();
36
- module.exports = runtime;
37
-
38
- // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
39
- try {
40
- regeneratorRuntime = runtime;
41
- } catch (accidentalStrictMode) {
42
- if (typeof globalThis === "object") {
43
- globalThis.regeneratorRuntime = runtime;
44
- } else {
45
- Function("r", "regeneratorRuntime = r")(runtime);
46
- }
47
- }
48
-
49
-
50
- /***/ }),
51
-
52
- /***/ 7048:
53
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
54
-
55
- var _typeof = (__webpack_require__(4319)["default"]);
17
+ var _typeof = (__webpack_require__(7425)["default"]);
56
18
  function _regeneratorRuntime() {
57
19
  "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
58
20
  module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
@@ -357,6 +319,44 @@ function _regeneratorRuntime() {
357
319
  }
358
320
  module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
359
321
 
322
+ /***/ }),
323
+
324
+ /***/ 7425:
325
+ /***/ ((module) => {
326
+
327
+ function _typeof(o) {
328
+ "@babel/helpers - typeof";
329
+
330
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
331
+ return typeof o;
332
+ } : function (o) {
333
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
334
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
335
+ }
336
+ module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
337
+
338
+ /***/ }),
339
+
340
+ /***/ 2841:
341
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
342
+
343
+ // TODO(Babel 8): Remove this file.
344
+
345
+ var runtime = __webpack_require__(7609)();
346
+ module.exports = runtime;
347
+
348
+ // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
349
+ try {
350
+ regeneratorRuntime = runtime;
351
+ } catch (accidentalStrictMode) {
352
+ if (typeof globalThis === "object") {
353
+ globalThis.regeneratorRuntime = runtime;
354
+ } else {
355
+ Function("r", "regeneratorRuntime = r")(runtime);
356
+ }
357
+ }
358
+
359
+
360
360
  /***/ })
361
361
 
362
362
  /******/ });
@@ -417,25 +417,23 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e
417
417
  /******/
418
418
  /************************************************************************/
419
419
  var __webpack_exports__ = {};
420
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
421
+ (() => {
420
422
 
421
423
  // EXPORTS
422
424
  __webpack_require__.d(__webpack_exports__, {
423
425
  "default": () => (/* binding */ src)
424
426
  });
425
427
 
426
- ;// external "../shared"
427
- var x = (y) => {
428
- var x = {}; __webpack_require__.d(x, y); return x
429
- }
430
- var y = (x) => (() => (x))
431
- const shared_namespaceObject = x({ ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
432
- ;// external "vue"
433
- var external_vue_x = (y) => {
434
- var x = {}; __webpack_require__.d(x, y); return x
435
- }
436
- var external_vue_y = (x) => (() => (x))
437
- const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Fragment), ["createApp"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createApp), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["reactive"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.reactive), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref) });
438
- ;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
428
+ ;// CONCATENATED MODULE: external "../shared"
429
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
430
+ var y = x => () => x
431
+ const shared_namespaceObject = x({ ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
432
+ ;// CONCATENATED MODULE: external "vue"
433
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
434
+ var external_vue_y = x => () => x
435
+ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
436
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
439
437
  function _typeof(o) {
440
438
  "@babel/helpers - typeof";
441
439
 
@@ -445,7 +443,7 @@ function _typeof(o) {
445
443
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
446
444
  }, _typeof(o);
447
445
  }
448
- ;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
446
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
449
447
 
450
448
  function toPrimitive(t, r) {
451
449
  if ("object" != _typeof(t) || !t) return t;
@@ -457,14 +455,14 @@ function toPrimitive(t, r) {
457
455
  }
458
456
  return ("string" === r ? String : Number)(t);
459
457
  }
460
- ;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
458
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
461
459
 
462
460
 
463
461
  function toPropertyKey(t) {
464
462
  var i = toPrimitive(t, "string");
465
463
  return "symbol" == _typeof(i) ? i : String(i);
466
464
  }
467
- ;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
465
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
468
466
 
469
467
  function _defineProperty(obj, key, value) {
470
468
  key = toPropertyKey(key);
@@ -480,7 +478,7 @@ function _defineProperty(obj, key, value) {
480
478
  }
481
479
  return obj;
482
480
  }
483
- ;// ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
481
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
484
482
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
485
483
  try {
486
484
  var info = gen[key](arg);
@@ -512,51 +510,37 @@ function _asyncToGenerator(fn) {
512
510
  };
513
511
  }
514
512
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
515
- var regenerator = __webpack_require__(5799);
513
+ var regenerator = __webpack_require__(2841);
516
514
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
517
- ;// external "../button"
518
- var button_x = (y) => {
519
- var x = {}; __webpack_require__.d(x, y); return x
520
- }
521
- var button_y = (x) => (() => (x))
522
- const button_namespaceObject = button_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_button_a2ea7c9a__["default"]) });
523
- ;// external "../button/button.less"
524
- var button_less_x = (y) => {
525
- var x = {}; __webpack_require__.d(x, y); return x
526
- }
527
- var button_less_y = (x) => (() => (x))
515
+ ;// CONCATENATED MODULE: external "../button"
516
+ var button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
517
+ var button_y = x => () => x
518
+ const button_namespaceObject = button_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_button_a2ea7c9a__["default"] });
519
+ ;// CONCATENATED MODULE: external "../button/button.less"
520
+ var button_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
521
+ var button_less_y = x => () => x
528
522
  const button_less_namespaceObject = button_less_x({ });
529
- ;// external "../config-provider"
530
- var config_provider_x = (y) => {
531
- var x = {}; __webpack_require__.d(x, y); return x
532
- }
533
- var config_provider_y = (x) => (() => (x))
534
- const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
535
- ;// external "../icon"
536
- var icon_x = (y) => {
537
- var x = {}; __webpack_require__.d(x, y); return x
538
- }
539
- var icon_y = (x) => (() => (x))
540
- const icon_namespaceObject = icon_x({ ["Close"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close), ["Error"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error), ["Spinner"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Spinner), ["Success"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Success), ["Warn"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Warn) });
541
- ;// external "../modal"
542
- var modal_x = (y) => {
543
- var x = {}; __webpack_require__.d(x, y); return x
544
- }
545
- var modal_y = (x) => (() => (x))
546
- const modal_namespaceObject = modal_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_modal_d1344388__["default"]) });
547
- ;// external "../modal/modal.less"
548
- var modal_less_x = (y) => {
549
- var x = {}; __webpack_require__.d(x, y); return x
550
- }
551
- var modal_less_y = (x) => (() => (x))
523
+ ;// CONCATENATED MODULE: external "../config-provider"
524
+ var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
525
+ var config_provider_y = x => () => x
526
+ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
527
+ ;// CONCATENATED MODULE: external "../icon"
528
+ var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
529
+ var icon_y = x => () => x
530
+ const icon_namespaceObject = icon_x({ ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Error"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error, ["Spinner"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Spinner, ["Success"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Success, ["Warn"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Warn });
531
+ ;// CONCATENATED MODULE: external "../modal"
532
+ var modal_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
533
+ var modal_y = x => () => x
534
+ const modal_namespaceObject = modal_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_modal_d1344388__["default"] });
535
+ ;// CONCATENATED MODULE: external "../modal/modal.less"
536
+ var modal_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
537
+ var modal_less_y = x => () => x
552
538
  const modal_less_namespaceObject = modal_less_x({ });
553
- ;// external "lodash/isFunction"
554
- var isFunction_x = (y) => {
555
- var x = {}; __webpack_require__.d(x, y); return x
556
- }
557
- var isFunction_y = (x) => (() => (x))
558
- const isFunction_namespaceObject = isFunction_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"]) });
559
- ;// ../../packages/info-box/src/render-component.tsx
539
+ ;// CONCATENATED MODULE: external "lodash/isFunction"
540
+ var isFunction_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
541
+ var isFunction_y = x => () => x
542
+ const isFunction_namespaceObject = isFunction_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isFunction_f90b20d6__["default"] });
543
+ ;// CONCATENATED MODULE: ../../packages/info-box/src/render-component.tsx
560
544
 
561
545
 
562
546
 
@@ -565,7 +549,7 @@ const isFunction_namespaceObject = isFunction_x({ ["default"]: () => (__WEBPACK_
565
549
  * Tencent is pleased to support the open source community by making
566
550
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
567
551
  *
568
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
552
+ * Copyright (C) 2025 Tencent. All rights reserved.
569
553
  *
570
554
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
571
555
  *
@@ -609,6 +593,7 @@ var genDefaultState = function genDefaultState() {
609
593
  headerAlign: 'center',
610
594
  contentAlign: 'center',
611
595
  footerAlign: 'center',
596
+ showContentBgColor: false,
612
597
  showMask: true,
613
598
  quickClose: false,
614
599
  escClose: false,
@@ -788,9 +773,20 @@ var genDefaultState = function genDefaultState() {
788
773
  }
789
774
  })]);
790
775
  };
776
+ var renderWidth = function renderWidth() {
777
+ // 如果有辅助文案类型和有引用内容类型默认宽480px
778
+ if (!!renderContent() && [400].includes(state.width)) {
779
+ return 480;
780
+ }
781
+ return state.width;
782
+ };
791
783
  return (0,external_vue_namespaceObject.createVNode)(modal_namespaceObject["default"], {
792
- "width": state.width,
793
- "class": [resolveClassName('infobox'), state["class"]],
784
+ "width": renderWidth(),
785
+ "class": [_defineProperty({}, resolveClassName('infobox'), true),
786
+ // 处理无提示内容modal-content还会占位高度
787
+ {
788
+ 'no-content-infobox': !state.content
789
+ }, state["class"]],
794
790
  "animateType": "fadein",
795
791
  "closeIcon": state.closeIcon,
796
792
  "isShow": isShow.value,
@@ -812,7 +808,7 @@ var genDefaultState = function genDefaultState() {
812
808
  "style": {
813
809
  textAlign: state.contentAlign
814
810
  },
815
- "class": resolveClassName('infobox-content')
811
+ "class": _defineProperty(_defineProperty({}, resolveClassName('infobox-content'), true), "set-bg-color", state.showContentBgColor)
816
812
  }, [renderContent()]);
817
813
  },
818
814
  footer: function footer() {
@@ -822,19 +818,22 @@ var genDefaultState = function genDefaultState() {
822
818
  },
823
819
  close: function close() {
824
820
  return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error, {
825
- "onClick": handleCancel
821
+ "onClick": function onClick() {
822
+ // 使用 void 明确忽略返回值
823
+ void handleCancel();
824
+ }
826
825
  }, null);
827
826
  }
828
827
  });
829
828
  };
830
829
  }
831
830
  }));
832
- ;// ../../packages/info-box/src/info-box.ts
831
+ ;// CONCATENATED MODULE: ../../packages/info-box/src/info-box.ts
833
832
  /*
834
833
  * Tencent is pleased to support the open source community by making
835
834
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
836
835
  *
837
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
836
+ * Copyright (C) 2025 Tencent. All rights reserved.
838
837
  *
839
838
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
840
839
  *
@@ -902,12 +901,12 @@ var InfoBox = function InfoBox(config) {
902
901
  };
903
902
  };
904
903
  /* harmony default export */ const info_box = (InfoBox);
905
- ;// ../../packages/info-box/src/index.ts
904
+ ;// CONCATENATED MODULE: ../../packages/info-box/src/index.ts
906
905
  /*
907
906
  * Tencent is pleased to support the open source community by making
908
907
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
909
908
  *
910
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
909
+ * Copyright (C) 2025 Tencent. All rights reserved.
911
910
  *
912
911
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
913
912
  *
@@ -932,5 +931,7 @@ var InfoBox = function InfoBox(config) {
932
931
 
933
932
  var BkInfoBox = (0,shared_namespaceObject.withInstall)(info_box);
934
933
  /* harmony default export */ const src = (BkInfoBox);
934
+ })();
935
+
935
936
  var __webpack_exports__default = __webpack_exports__["default"];
936
937
  export { __webpack_exports__default as default };
@@ -6,6 +6,16 @@
6
6
  left: 50%;
7
7
  transform: translate(-50%, -50%);
8
8
  }
9
+ .bk-infobox .bk-modal-wrapper .bk-modal-body {
10
+ min-height: 176px;
11
+ }
12
+ .bk-infobox .bk-modal-wrapper .bk-modal-body .bk-modal-content {
13
+ color: #63656e;
14
+ font-size: 14px;
15
+ }
16
+ .bk-infobox.no-content-infobox .bk-modal-content {
17
+ display: none;
18
+ }
9
19
  .bk-infobox-header {
10
20
  padding-top: 24px;
11
21
  }
@@ -40,10 +50,19 @@
40
50
  color: #313238;
41
51
  }
42
52
  .bk-infobox-content {
43
- padding-right: 24px;
44
53
  padding-left: 24px;
54
+ padding-right: 24px;
45
55
  margin-top: 16px;
46
56
  }
57
+ .bk-infobox-content.set-bg-color {
58
+ background-color: #f5f6fa;
59
+ margin-left: 32px;
60
+ margin-right: 32px;
61
+ padding-top: 12px;
62
+ padding-bottom: 12px;
63
+ padding-left: 16px;
64
+ padding-right: 16px;
65
+ }
47
66
  .bk-infobox-footer {
48
67
  display: flex;
49
68
  padding-right: 24px;
@@ -13,6 +13,7 @@ export interface Props {
13
13
  headerAlign?: 'center' | 'left' | 'right';
14
14
  footerAlign?: 'center' | 'left' | 'right';
15
15
  contentAlign?: 'center' | 'left' | 'right';
16
+ showContentBgColor?: boolean;
16
17
  showMask?: boolean;
17
18
  quickClose?: boolean;
18
19
  escClose?: boolean;
@@ -1,12 +1,28 @@
1
1
  @import '../styles/themes/themes.less';
2
2
 
3
3
  .@{bk-prefix}-infobox {
4
- font-size: 12px;
4
+ font-size: @font-size-base;
5
5
 
6
6
  .@{bk-prefix}-modal-wrapper {
7
7
  top: 50%;
8
8
  left: 50%;
9
9
  transform: translate(-50%, -50%);
10
+
11
+ .@{bk-prefix}-modal-body {
12
+ min-height: 176px;
13
+
14
+ .@{bk-prefix}-modal-content {
15
+ color: @default-color;
16
+ font-size: @font-size-medium;
17
+ }
18
+ }
19
+
20
+ }
21
+
22
+ &.no-content-infobox {
23
+ .@{bk-prefix}-modal-content {
24
+ display: none;
25
+ }
10
26
  }
11
27
  }
12
28
 
@@ -52,9 +68,19 @@
52
68
  }
53
69
 
54
70
  .@{bk-prefix}-infobox-content {
55
- padding-right: 24px;
56
71
  padding-left: 24px;
72
+ padding-right: 24px;
57
73
  margin-top: 16px;
74
+
75
+ &.set-bg-color {
76
+ background-color: @sub-title-bg-color;
77
+ margin-left: 32px;
78
+ margin-right: 32px;
79
+ padding-top: 12px;
80
+ padding-bottom: 12px;
81
+ padding-left: 16px;
82
+ padding-right: 16px;
83
+ }
58
84
  }
59
85
 
60
86
  .@{bk-prefix}-infobox-footer {
@@ -98,7 +98,7 @@
98
98
  --submenu-bg-color: #151d2c;
99
99
  --menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
100
100
  --menu-color: #96a2b9;
101
- --menu-group-color: var(--default-color);
101
+ --menu-group-color: #6E788B;
102
102
  --menu-width: 260px;
103
103
  --menu-collapse-width: 60px;
104
104
  --menu-active-color: white;
@@ -127,15 +127,26 @@
127
127
  --search-select-menu-border-color: var(--disable-color);
128
128
  --select-active-color: #e1ecff;
129
129
  --select-hover-color: #f5f7fa;
130
+ --sub-title-bg-color: #f5f6fa;
130
131
  }
131
132
  .bk-infobox {
132
- font-size: 12px;
133
+ font-size: var(--font-size-base);
133
134
  }
134
135
  .bk-infobox .bk-modal-wrapper {
135
136
  top: 50%;
136
137
  left: 50%;
137
138
  transform: translate(-50%, -50%);
138
139
  }
140
+ .bk-infobox .bk-modal-wrapper .bk-modal-body {
141
+ min-height: 176px;
142
+ }
143
+ .bk-infobox .bk-modal-wrapper .bk-modal-body .bk-modal-content {
144
+ color: var(--default-color);
145
+ font-size: var(--font-size-medium);
146
+ }
147
+ .bk-infobox.no-content-infobox .bk-modal-content {
148
+ display: none;
149
+ }
139
150
  .bk-infobox-header {
140
151
  padding-top: 24px;
141
152
  }
@@ -170,10 +181,19 @@
170
181
  color: #313238;
171
182
  }
172
183
  .bk-infobox-content {
173
- padding-right: 24px;
174
184
  padding-left: 24px;
185
+ padding-right: 24px;
175
186
  margin-top: 16px;
176
187
  }
188
+ .bk-infobox-content.set-bg-color {
189
+ background-color: var(--sub-title-bg-color);
190
+ margin-left: 32px;
191
+ margin-right: 32px;
192
+ padding-top: 12px;
193
+ padding-bottom: 12px;
194
+ padding-left: 16px;
195
+ padding-right: 16px;
196
+ }
177
197
  .bk-infobox-footer {
178
198
  display: flex;
179
199
  padding-right: 24px;