bkui-vue 2.0.1-beta.4 → 2.0.1-beta.40

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 (413) hide show
  1. package/dist/index.cjs.js +166 -166
  2. package/dist/index.esm.js +31919 -31787
  3. package/dist/index.umd.js +166 -166
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/affix.css +130 -0
  7. package/lib/affix/affix.variable.css +262 -1
  8. package/lib/affix/index.js +7 -7
  9. package/lib/alert/alert.css +133 -3
  10. package/lib/alert/alert.d.ts +5 -12
  11. package/lib/alert/alert.variable.css +262 -1
  12. package/lib/alert/index.d.ts +11 -26
  13. package/lib/alert/index.js +0 -1
  14. package/lib/backtop/backtop.css +133 -3
  15. package/lib/backtop/backtop.d.ts +1 -1
  16. package/lib/backtop/backtop.variable.css +395 -4
  17. package/lib/backtop/index.d.ts +3 -3
  18. package/lib/backtop/index.js +6 -6
  19. package/lib/badge/badge.css +156 -26
  20. package/lib/badge/badge.variable.css +262 -1
  21. package/lib/badge/index.js +1 -1
  22. package/lib/breadcrumb/breadcrumb.css +135 -5
  23. package/lib/breadcrumb/breadcrumb.variable.css +397 -6
  24. package/lib/button/button.css +273 -143
  25. package/lib/button/button.d.ts +7 -7
  26. package/lib/button/button.variable.css +262 -1
  27. package/lib/button/index.d.ts +8 -8
  28. package/lib/button/index.js +6 -7
  29. package/lib/card/card.css +134 -4
  30. package/lib/card/card.variable.css +396 -5
  31. package/lib/cascader/cascader-panel.d.ts +1 -1
  32. package/lib/cascader/cascader.css +156 -26
  33. package/lib/cascader/cascader.d.ts +1 -1
  34. package/lib/cascader/cascader.less +4 -4
  35. package/lib/cascader/cascader.variable.css +418 -27
  36. package/lib/cascader/index.js +36 -37
  37. package/lib/cascader/interface.d.ts +1 -1
  38. package/lib/checkbox/checkbox-group.d.ts +0 -16
  39. package/lib/checkbox/checkbox.css +139 -9
  40. package/lib/checkbox/checkbox.d.ts +7 -7
  41. package/lib/checkbox/checkbox.variable.css +262 -1
  42. package/lib/checkbox/index.d.ts +11 -22
  43. package/lib/checkbox/index.js +12 -5
  44. package/lib/checkbox/type.d.ts +1 -1
  45. package/lib/code-diff/code-diff.css +130 -0
  46. package/lib/code-diff/code-diff.variable.css +262 -1
  47. package/lib/code-diff/index.js +8 -8
  48. package/lib/collapse/collapse.css +131 -1
  49. package/lib/collapse/collapse.variable.css +262 -1
  50. package/lib/collapse/index.js +2 -2
  51. package/lib/collapse/utils.d.ts +2 -2
  52. package/lib/collapse-transition/collapse-transition.css +130 -0
  53. package/lib/collapse-transition/collapse-transition.variable.css +262 -1
  54. package/lib/color-picker/color-picker.css +133 -3
  55. package/lib/color-picker/color-picker.less +3 -3
  56. package/lib/color-picker/color-picker.variable.css +265 -4
  57. package/lib/color-picker/index.js +45 -45
  58. package/lib/components.d.ts +32 -32
  59. package/lib/components.js +31 -31
  60. package/lib/config-provider/config-provider.css +130 -0
  61. package/lib/config-provider/config-provider.variable.css +262 -1
  62. package/lib/config-provider/index.d.ts +1 -1
  63. package/lib/container/container.css +130 -0
  64. package/lib/container/container.variable.css +392 -1
  65. package/lib/container/index.js +6 -7
  66. package/lib/date-picker/base/date-table.d.ts +1 -1
  67. package/lib/date-picker/base/month-table.d.ts +1 -1
  68. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  69. package/lib/date-picker/base/year-table.d.ts +1 -1
  70. package/lib/date-picker/date-picker.css +147 -17
  71. package/lib/date-picker/date-picker.d.ts +0 -10
  72. package/lib/date-picker/date-picker.variable.css +262 -1
  73. package/lib/date-picker/index.d.ts +0 -22
  74. package/lib/date-picker/index.js +248 -225
  75. package/lib/date-picker/interface.d.ts +9 -9
  76. package/lib/date-picker/panel/date-range.d.ts +5 -5
  77. package/lib/date-picker/panel/date.d.ts +1 -1
  78. package/lib/date-picker/panel/time-range.d.ts +1 -10
  79. package/lib/date-picker/panel/time.d.ts +1 -10
  80. package/lib/date-picker/props.d.ts +1 -5
  81. package/lib/date-picker/time-picker.d.ts +0 -9
  82. package/lib/date-picker/utils.d.ts +1 -1
  83. package/lib/dialog/dialog.css +138 -12
  84. package/lib/dialog/dialog.d.ts +36 -20
  85. package/lib/dialog/dialog.variable.css +400 -13
  86. package/lib/dialog/index.d.ts +78 -44
  87. package/lib/dialog/index.js +22 -22
  88. package/lib/dialog/props.d.ts +15 -8
  89. package/lib/directives/index.d.ts +3 -3
  90. package/lib/directives/index.js +166 -166
  91. package/lib/directives/tooltips.d.ts +1 -1
  92. package/lib/dist.index.js +2 -4
  93. package/lib/divider/divider.css +133 -3
  94. package/lib/divider/divider.d.ts +5 -5
  95. package/lib/divider/divider.variable.css +262 -1
  96. package/lib/divider/index.d.ts +11 -11
  97. package/lib/divider/index.js +2 -2
  98. package/lib/divider/props.d.ts +2 -2
  99. package/lib/dropdown/dropdown-item.d.ts +1 -1
  100. package/lib/dropdown/dropdown-menu.d.ts +1 -1
  101. package/lib/dropdown/dropdown.css +130 -0
  102. package/lib/dropdown/dropdown.d.ts +5 -5
  103. package/lib/dropdown/dropdown.variable.css +392 -1
  104. package/lib/dropdown/index.d.ts +13 -13
  105. package/lib/dropdown/index.js +7 -7
  106. package/lib/exception/exception.css +130 -0
  107. package/lib/exception/exception.d.ts +9 -9
  108. package/lib/exception/exception.variable.css +262 -1
  109. package/lib/exception/index.d.ts +11 -11
  110. package/lib/exception/index.js +10 -10
  111. package/lib/exception/typings/index.d.ts +1 -1
  112. package/lib/fixed-navbar/fixed-navbar.css +134 -4
  113. package/lib/fixed-navbar/fixed-navbar.variable.css +262 -1
  114. package/lib/fixed-navbar/index.js +2 -2
  115. package/lib/form/form-item.d.ts +0 -16
  116. package/lib/form/form.css +130 -0
  117. package/lib/form/form.d.ts +2 -2
  118. package/lib/form/form.variable.css +262 -1
  119. package/lib/form/index.d.ts +0 -11
  120. package/lib/form/index.js +14 -16
  121. package/lib/form/type.d.ts +2 -2
  122. package/lib/icon/index.d.ts +11 -11
  123. package/lib/icon/index.js +11 -11
  124. package/lib/image/image-viewer.css +130 -0
  125. package/lib/image/image-viewer.d.ts +1 -1
  126. package/lib/image/image-viewer.variable.css +262 -1
  127. package/lib/image/image.css +130 -0
  128. package/lib/image/image.variable.css +392 -1
  129. package/lib/image/index.js +20 -21
  130. package/lib/index.d.ts +9 -3
  131. package/lib/index.js +5 -29
  132. package/lib/info-box/index.js +16 -18
  133. package/lib/info-box/info-box.css +134 -4
  134. package/lib/info-box/info-box.d.ts +15 -15
  135. package/lib/info-box/info-box.variable.css +262 -1
  136. package/lib/input/index.d.ts +15 -15
  137. package/lib/input/index.js +16 -17
  138. package/lib/input/input.css +202 -72
  139. package/lib/input/input.d.ts +15 -15
  140. package/lib/input/input.variable.css +464 -73
  141. package/lib/link/index.d.ts +11 -11
  142. package/lib/link/index.js +3 -3
  143. package/lib/link/link.css +146 -16
  144. package/lib/link/link.d.ts +5 -5
  145. package/lib/link/link.variable.css +262 -1
  146. package/lib/loading/index.d.ts +4 -4
  147. package/lib/loading/index.js +6 -6
  148. package/lib/loading/loading.css +146 -16
  149. package/lib/loading/loading.d.ts +6 -6
  150. package/lib/loading/loading.variable.css +408 -17
  151. package/lib/locale/index.d.ts +1 -1
  152. package/lib/menu/index.js +0 -1
  153. package/lib/menu/menu.css +148 -18
  154. package/lib/menu/menu.variable.css +410 -19
  155. package/lib/menu/submenu.css +130 -0
  156. package/lib/menu/submenu.variable.css +262 -1
  157. package/lib/menu/utils.d.ts +3 -3
  158. package/lib/message/index.js +18 -18
  159. package/lib/message/message.css +151 -21
  160. package/lib/message/message.variable.css +262 -1
  161. package/lib/message/messageConstructor.d.ts +11 -11
  162. package/lib/modal/index.d.ts +49 -8
  163. package/lib/modal/index.js +46 -25
  164. package/lib/modal/modal.css +134 -8
  165. package/lib/modal/modal.d.ts +19 -3
  166. package/lib/modal/modal.less +0 -5
  167. package/lib/modal/modal.variable.css +396 -9
  168. package/lib/modal/props.mixin.d.ts +8 -1
  169. package/lib/navigation/index.js +20 -20
  170. package/lib/navigation/navigation.css +132 -2
  171. package/lib/navigation/navigation.d.ts +1 -1
  172. package/lib/navigation/navigation.variable.css +262 -1
  173. package/lib/notify/index.js +4 -4
  174. package/lib/notify/notify.css +137 -7
  175. package/lib/notify/notify.variable.css +262 -1
  176. package/lib/overflow-title/components/overflow-title.d.ts +9 -16
  177. package/lib/overflow-title/index.d.ts +19 -34
  178. package/lib/overflow-title/index.js +61 -12
  179. package/lib/overflow-title/props.d.ts +18 -21
  180. package/lib/pagination/index.d.ts +0 -19
  181. package/lib/pagination/index.js +44 -23
  182. package/lib/pagination/pagination.css +139 -9
  183. package/lib/pagination/pagination.d.ts +0 -13
  184. package/lib/pagination/pagination.less +14 -13
  185. package/lib/pagination/pagination.variable.css +270 -9
  186. package/lib/pagination/type.d.ts +1 -1
  187. package/lib/pagination/use-limit.d.ts +1 -1
  188. package/lib/pagination/use-total.d.ts +1 -1
  189. package/lib/plugin-popover/index.js +18 -20
  190. package/lib/pop-confirm/index.d.ts +11 -43
  191. package/lib/pop-confirm/index.js +27 -28
  192. package/lib/pop-confirm/pop-confirm.css +133 -1
  193. package/lib/pop-confirm/pop-confirm.d.ts +5 -19
  194. package/lib/pop-confirm/pop-confirm.less +3 -1
  195. package/lib/pop-confirm/pop-confirm.variable.css +265 -2
  196. package/lib/pop-confirm/props.d.ts +5 -11
  197. package/lib/popover/const.d.ts +3 -3
  198. package/lib/popover/index.d.ts +19 -19
  199. package/lib/popover/index.js +18 -20
  200. package/lib/popover/plugin-popover.d.ts +1 -1
  201. package/lib/popover/popover.css +130 -0
  202. package/lib/popover/popover.d.ts +7 -7
  203. package/lib/popover/popover.variable.css +262 -1
  204. package/lib/popover/props.d.ts +4 -4
  205. package/lib/preset.d.ts +0 -1
  206. package/lib/preset.js +0 -1
  207. package/lib/process/index.js +3 -3
  208. package/lib/process/process.css +143 -13
  209. package/lib/process/process.variable.css +262 -1
  210. package/lib/progress/index.d.ts +11 -11
  211. package/lib/progress/index.js +10 -11
  212. package/lib/progress/progress.css +134 -4
  213. package/lib/progress/progress.d.ts +7 -7
  214. package/lib/progress/progress.variable.css +396 -5
  215. package/lib/radio/index.d.ts +21 -21
  216. package/lib/radio/index.js +28 -17
  217. package/lib/radio/radio-button.d.ts +7 -7
  218. package/lib/radio/radio-group.d.ts +7 -7
  219. package/lib/radio/radio.css +172 -42
  220. package/lib/radio/radio.d.ts +7 -7
  221. package/lib/radio/radio.variable.css +262 -1
  222. package/lib/radio/type.d.ts +1 -1
  223. package/lib/rate/index.js +8 -8
  224. package/lib/rate/rate.css +157 -0
  225. package/lib/rate/rate.less +33 -0
  226. package/lib/rate/rate.variable.css +289 -1
  227. package/lib/resize-layout/index.d.ts +11 -11
  228. package/lib/resize-layout/index.js +7 -8
  229. package/lib/resize-layout/resize-layout.css +130 -0
  230. package/lib/resize-layout/resize-layout.d.ts +5 -5
  231. package/lib/resize-layout/resize-layout.variable.css +262 -1
  232. package/lib/scrollbar/index.js +63 -11
  233. package/lib/scrollbar/scrollbar-core/index.d.ts +21 -20
  234. package/lib/scrollbar/scrollbar.css +157 -8
  235. package/lib/scrollbar/scrollbar.less +35 -10
  236. package/lib/scrollbar/scrollbar.variable.css +289 -9
  237. package/lib/search-select/index.d.ts +28 -66
  238. package/lib/search-select/index.js +115 -120
  239. package/lib/search-select/input.d.ts +3 -3
  240. package/lib/search-select/menu.d.ts +1 -1
  241. package/lib/search-select/search-select.css +163 -33
  242. package/lib/search-select/search-select.d.ts +11 -37
  243. package/lib/search-select/search-select.variable.css +425 -34
  244. package/lib/search-select/selected.d.ts +8 -8
  245. package/lib/search-select/utils.d.ts +6 -6
  246. package/lib/select/common.d.ts +4 -4
  247. package/lib/select/index.d.ts +101 -74
  248. package/lib/select/index.js +225 -171
  249. package/lib/select/option.d.ts +5 -6
  250. package/lib/select/select.css +175 -43
  251. package/lib/select/select.d.ts +38 -27
  252. package/lib/select/select.less +7 -4
  253. package/lib/select/select.variable.css +437 -44
  254. package/lib/select/selectTagInput.d.ts +6 -6
  255. package/lib/select/type.d.ts +10 -11
  256. package/lib/shared/frame-throttle.d.ts +15 -0
  257. package/lib/shared/index.d.ts +2 -1
  258. package/lib/shared/index.js +110 -47
  259. package/lib/shared/popover.d.ts +3 -3
  260. package/lib/shared/token.d.ts +1 -1
  261. package/lib/shared/vue-types.d.ts +46 -46
  262. package/lib/shared/z-index-manager.d.ts +6 -6
  263. package/lib/sideslider/index.d.ts +41 -7
  264. package/lib/sideslider/index.js +12 -11
  265. package/lib/sideslider/sideslider.css +138 -9
  266. package/lib/sideslider/sideslider.d.ts +19 -3
  267. package/lib/sideslider/sideslider.less +7 -8
  268. package/lib/sideslider/sideslider.variable.css +269 -9
  269. package/lib/slider/index.js +21 -23
  270. package/lib/slider/slider.css +135 -5
  271. package/lib/slider/slider.variable.css +262 -1
  272. package/lib/steps/index.d.ts +14 -29
  273. package/lib/steps/index.js +3 -4
  274. package/lib/steps/steps.css +168 -38
  275. package/lib/steps/steps.d.ts +8 -18
  276. package/lib/steps/steps.variable.css +262 -1
  277. package/lib/styles/index.d.ts +0 -1
  278. package/lib/styles/mixins/animate.css +130 -0
  279. package/lib/styles/mixins/animate.variable.css +262 -1
  280. package/lib/styles/mixins/mixins.css +130 -0
  281. package/lib/styles/mixins/mixins.variable.css +130 -0
  282. package/lib/styles/mixins/popper.css +130 -0
  283. package/lib/styles/mixins/popper.variable.css +262 -1
  284. package/lib/styles/mixins/scroll.css +130 -0
  285. package/lib/styles/mixins/scroll.variable.css +262 -1
  286. package/lib/styles/reset.css +130 -0
  287. package/lib/styles/reset.variable.css +262 -1
  288. package/lib/{rate/star.variable.css → styles/themes/themes.css} +2 -28
  289. package/lib/styles/themes/themes.less +299 -129
  290. package/lib/styles/themes/themes.variable.css +130 -0
  291. package/lib/swiper/index.js +5 -5
  292. package/lib/swiper/swiper.css +130 -0
  293. package/lib/swiper/swiper.variable.css +262 -1
  294. package/lib/switcher/index.js +2 -2
  295. package/lib/switcher/switcher.css +147 -17
  296. package/lib/switcher/switcher.d.ts +2 -2
  297. package/lib/switcher/switcher.variable.css +409 -18
  298. package/lib/tab/index.d.ts +22 -114
  299. package/lib/tab/index.js +16 -29
  300. package/lib/tab/props.d.ts +15 -50
  301. package/lib/tab/tab-nav.d.ts +12 -55
  302. package/lib/tab/tab.css +147 -17
  303. package/lib/tab/tab.d.ts +10 -54
  304. package/lib/tab/tab.variable.css +262 -1
  305. package/lib/table/components/ghost-body.d.ts +2 -0
  306. package/lib/table/components/table-cell.d.ts +11 -0
  307. package/lib/table/components/table-column.d.ts +25 -126
  308. package/lib/table/const.d.ts +22 -10
  309. package/lib/table/events.d.ts +16 -112
  310. package/lib/table/hooks/use-cell.d.ts +20 -0
  311. package/lib/table/hooks/use-column-resize.d.ts +7 -0
  312. package/lib/table/hooks/use-column-template.d.ts +5 -0
  313. package/lib/table/hooks/use-columns.d.ts +66 -0
  314. package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
  315. package/lib/table/hooks/use-fixed-column.d.ts +10 -0
  316. package/lib/table/hooks/use-head.d.ts +16 -0
  317. package/lib/table/hooks/use-layout.d.ts +23 -0
  318. package/lib/table/hooks/use-pagination.d.ts +16 -0
  319. package/lib/table/hooks/use-render.d.ts +23 -0
  320. package/lib/table/hooks/use-rows.d.ts +27 -0
  321. package/lib/table/hooks/use-settings.d.ts +130 -0
  322. package/lib/table/hooks/use-shift-key.d.ts +15 -0
  323. package/lib/table/index.d.ts +87 -634
  324. package/lib/table/index.js +3516 -3404
  325. package/lib/table/plugins/head-filter.css +130 -0
  326. package/lib/table/plugins/head-filter.d.ts +2 -1
  327. package/lib/table/plugins/head-filter.variable.css +262 -1
  328. package/lib/table/plugins/head-sort.css +130 -0
  329. package/lib/table/plugins/head-sort.variable.css +262 -1
  330. package/lib/table/plugins/settings.css +131 -0
  331. package/lib/table/plugins/settings.less +1 -0
  332. package/lib/table/plugins/settings.variable.css +263 -1
  333. package/lib/table/props.d.ts +106 -63
  334. package/lib/table/table.css +434 -258
  335. package/lib/table/table.d.ts +38 -185
  336. package/lib/table/table.less +120 -95
  337. package/lib/table/table.variable.css +696 -259
  338. package/lib/table/utils.d.ts +36 -10
  339. package/lib/table-column/index.d.ts +36 -289
  340. package/lib/table-column/index.js +17341 -45
  341. package/lib/tag/index.d.ts +11 -11
  342. package/lib/tag/index.js +2 -3
  343. package/lib/tag/tag.css +136 -6
  344. package/lib/tag/tag.d.ts +5 -5
  345. package/lib/tag/tag.less +1 -1
  346. package/lib/tag/tag.variable.css +263 -2
  347. package/lib/tag-input/common.d.ts +1 -1
  348. package/lib/tag-input/index.d.ts +8 -8
  349. package/lib/tag-input/index.js +30 -30
  350. package/lib/tag-input/tag-input.css +148 -18
  351. package/lib/tag-input/tag-input.d.ts +4 -4
  352. package/lib/tag-input/tag-input.variable.css +262 -1
  353. package/lib/tag-input/tag-props.d.ts +2 -2
  354. package/lib/time-picker/index.d.ts +0 -19
  355. package/lib/time-picker/time-picker.css +130 -0
  356. package/lib/time-picker/time-picker.variable.css +262 -1
  357. package/lib/timeline/index.js +2 -2
  358. package/lib/timeline/timeline.css +149 -19
  359. package/lib/timeline/timeline.variable.css +262 -1
  360. package/lib/transfer/const.d.ts +2 -2
  361. package/lib/transfer/index.js +19 -19
  362. package/lib/transfer/transfer.css +158 -28
  363. package/lib/transfer/transfer.less +3 -3
  364. package/lib/transfer/transfer.variable.css +271 -10
  365. package/lib/tree/constant.d.ts +22 -20
  366. package/lib/tree/index.d.ts +38 -24
  367. package/lib/tree/index.js +100 -59
  368. package/lib/tree/props.d.ts +18 -11
  369. package/lib/tree/tree.css +166 -17
  370. package/lib/tree/tree.d.ts +16 -16
  371. package/lib/tree/tree.less +1 -1
  372. package/lib/tree/tree.variable.css +428 -18
  373. package/lib/tree/use-empty.d.ts +1 -1
  374. package/lib/tree/use-node-action.d.ts +9 -8
  375. package/lib/tree/use-node-attribute.d.ts +42 -34
  376. package/lib/tree/use-search.d.ts +1 -1
  377. package/lib/tree/util.d.ts +1 -1
  378. package/lib/upload/index.d.ts +23 -0
  379. package/lib/upload/index.js +71 -41
  380. package/lib/upload/props.d.ts +6 -1
  381. package/lib/upload/upload.css +157 -27
  382. package/lib/upload/upload.d.ts +11 -0
  383. package/lib/upload/upload.type.d.ts +12 -6
  384. package/lib/upload/upload.variable.css +419 -28
  385. package/lib/upload/use-file-handler.d.ts +1 -1
  386. package/lib/virtual-render/index.d.ts +12 -23
  387. package/lib/virtual-render/index.js +17290 -24
  388. package/lib/virtual-render/props.d.ts +2 -3
  389. package/lib/virtual-render/use-fix-top.d.ts +1 -1
  390. package/lib/virtual-render/v-virtual-render.d.ts +1 -1
  391. package/lib/virtual-render/virtual-render.css +157 -8
  392. package/lib/virtual-render/virtual-render.d.ts +6 -11
  393. package/lib/virtual-render/virtual-render.variable.css +419 -9
  394. package/lib/volar.components.d.ts +2 -0
  395. package/package.json +17 -55
  396. package/lib/rate/star.css +0 -27
  397. package/lib/rate/star.less +0 -34
  398. package/lib/table/plugins/col-group.d.ts +0 -38
  399. package/lib/table/plugins/settings.d.ts +0 -16
  400. package/lib/table/plugins/use-active-columns.d.ts +0 -16
  401. package/lib/table/plugins/use-column-resize.d.ts +0 -35
  402. package/lib/table/plugins/use-column-template.d.ts +0 -7
  403. package/lib/table/plugins/use-fixed-column.d.ts +0 -27
  404. package/lib/table/plugins/use-head-cell.d.ts +0 -7
  405. package/lib/table/plugins/use-pagination.d.ts +0 -23
  406. package/lib/table/plugins/use-shift-key.d.ts +0 -11
  407. package/lib/table/use-attributes.d.ts +0 -62
  408. package/lib/table/use-column.d.ts +0 -275
  409. package/lib/table/use-common.d.ts +0 -1679
  410. package/lib/table/use-render.d.ts +0 -11
  411. /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
  412. /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
  413. /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
@@ -30,16 +30,16 @@ declare const BkDialog: {
30
30
  } & {
31
31
  default: string;
32
32
  };
33
- headerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
34
- default: "right" | "left" | "center";
33
+ headerAlign: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
34
+ default: "left" | "right" | "center";
35
35
  };
36
- footerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
37
- default: "right" | "left" | "center";
36
+ footerAlign: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
37
+ default: "left" | "right" | "center";
38
38
  };
39
- confirmButtonTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary"> & {
40
- default: "success" | "warning" | "danger" | "primary";
39
+ confirmButtonTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
40
+ default: "success" | "danger" | "warning" | "primary";
41
41
  };
42
- dialogType: import("vue-types").VueTypeDef<"show" | "process" | "operation" | "confirm">;
42
+ dialogType: import("vue-types").VueTypeDef<"show" | "process" | "confirm" | "operation">;
43
43
  isLoading: import("vue-types").VueTypeValidableDef<boolean> & {
44
44
  default: boolean;
45
45
  } & {
@@ -88,7 +88,9 @@ declare const BkDialog: {
88
88
  renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
89
89
  default: "show" | "if";
90
90
  };
91
- beforeClose: import("vue-types").VueTypeDef<unknown>;
91
+ beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
92
+ default: () => boolean | Promise<boolean>;
93
+ };
92
94
  left: import("vue-types").VueTypeValidableDef<string> & {
93
95
  default: string;
94
96
  };
@@ -98,6 +100,11 @@ declare const BkDialog: {
98
100
  extCls: import("vue-types").VueTypeValidableDef<string> & {
99
101
  default: string;
100
102
  };
103
+ backgroundColor: import("vue-types").VueTypeValidableDef<string> & {
104
+ default: string;
105
+ } & {
106
+ default: string;
107
+ };
101
108
  }>> & {
102
109
  onHidden?: () => any;
103
110
  onShown?: () => any;
@@ -145,16 +152,16 @@ declare const BkDialog: {
145
152
  } & {
146
153
  default: string;
147
154
  };
148
- headerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
149
- default: "right" | "left" | "center";
155
+ headerAlign: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
156
+ default: "left" | "right" | "center";
150
157
  };
151
- footerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
152
- default: "right" | "left" | "center";
158
+ footerAlign: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
159
+ default: "left" | "right" | "center";
153
160
  };
154
- confirmButtonTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary"> & {
155
- default: "success" | "warning" | "danger" | "primary";
161
+ confirmButtonTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
162
+ default: "success" | "danger" | "warning" | "primary";
156
163
  };
157
- dialogType: import("vue-types").VueTypeDef<"show" | "process" | "operation" | "confirm">;
164
+ dialogType: import("vue-types").VueTypeDef<"show" | "process" | "confirm" | "operation">;
158
165
  isLoading: import("vue-types").VueTypeValidableDef<boolean> & {
159
166
  default: boolean;
160
167
  } & {
@@ -203,7 +210,9 @@ declare const BkDialog: {
203
210
  renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
204
211
  default: "show" | "if";
205
212
  };
206
- beforeClose: import("vue-types").VueTypeDef<unknown>;
213
+ beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
214
+ default: () => boolean | Promise<boolean>;
215
+ };
207
216
  left: import("vue-types").VueTypeValidableDef<string> & {
208
217
  default: string;
209
218
  };
@@ -213,6 +222,11 @@ declare const BkDialog: {
213
222
  extCls: import("vue-types").VueTypeValidableDef<string> & {
214
223
  default: string;
215
224
  };
225
+ backgroundColor: import("vue-types").VueTypeValidableDef<string> & {
226
+ default: string;
227
+ } & {
228
+ default: string;
229
+ };
216
230
  }>> & {
217
231
  onHidden?: () => any;
218
232
  onShown?: () => any;
@@ -224,11 +238,12 @@ declare const BkDialog: {
224
238
  }, {
225
239
  title: string;
226
240
  extCls: string;
227
- top: string;
228
241
  left: string;
242
+ top: string;
229
243
  isShow: boolean;
230
244
  draggable: boolean;
231
245
  transfer: string | boolean | HTMLElement;
246
+ backgroundColor: string;
232
247
  renderDirective: "show" | "if";
233
248
  fullscreen: boolean;
234
249
  showMask: boolean;
@@ -236,15 +251,16 @@ declare const BkDialog: {
236
251
  escClose: boolean;
237
252
  quickClose: boolean;
238
253
  animateType: string;
254
+ beforeClose: () => boolean | Promise<boolean>;
239
255
  confirmText: string;
240
256
  cancelText: string;
241
257
  prevText: string;
242
258
  nextText: string;
243
259
  current: number;
244
260
  totalStep: number;
245
- headerAlign: "right" | "left" | "center";
246
- footerAlign: "right" | "left" | "center";
247
- confirmButtonTheme: "success" | "warning" | "danger" | "primary";
261
+ headerAlign: "left" | "right" | "center";
262
+ footerAlign: "left" | "right" | "center";
263
+ confirmButtonTheme: "success" | "danger" | "warning" | "primary";
248
264
  isLoading: boolean;
249
265
  }, true, {}, {}, {
250
266
  P: {};
@@ -284,16 +300,16 @@ declare const BkDialog: {
284
300
  } & {
285
301
  default: string;
286
302
  };
287
- headerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
288
- default: "right" | "left" | "center";
303
+ headerAlign: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
304
+ default: "left" | "right" | "center";
289
305
  };
290
- footerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
291
- default: "right" | "left" | "center";
306
+ footerAlign: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
307
+ default: "left" | "right" | "center";
292
308
  };
293
- confirmButtonTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary"> & {
294
- default: "success" | "warning" | "danger" | "primary";
309
+ confirmButtonTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
310
+ default: "success" | "danger" | "warning" | "primary";
295
311
  };
296
- dialogType: import("vue-types").VueTypeDef<"show" | "process" | "operation" | "confirm">;
312
+ dialogType: import("vue-types").VueTypeDef<"show" | "process" | "confirm" | "operation">;
297
313
  isLoading: import("vue-types").VueTypeValidableDef<boolean> & {
298
314
  default: boolean;
299
315
  } & {
@@ -342,7 +358,9 @@ declare const BkDialog: {
342
358
  renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
343
359
  default: "show" | "if";
344
360
  };
345
- beforeClose: import("vue-types").VueTypeDef<unknown>;
361
+ beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
362
+ default: () => boolean | Promise<boolean>;
363
+ };
346
364
  left: import("vue-types").VueTypeValidableDef<string> & {
347
365
  default: string;
348
366
  };
@@ -352,6 +370,11 @@ declare const BkDialog: {
352
370
  extCls: import("vue-types").VueTypeValidableDef<string> & {
353
371
  default: string;
354
372
  };
373
+ backgroundColor: import("vue-types").VueTypeValidableDef<string> & {
374
+ default: string;
375
+ } & {
376
+ default: string;
377
+ };
355
378
  }>> & {
356
379
  onHidden?: () => any;
357
380
  onShown?: () => any;
@@ -363,11 +386,12 @@ declare const BkDialog: {
363
386
  }, () => JSX.Element, {}, {}, {}, {
364
387
  title: string;
365
388
  extCls: string;
366
- top: string;
367
389
  left: string;
390
+ top: string;
368
391
  isShow: boolean;
369
392
  draggable: boolean;
370
393
  transfer: string | boolean | HTMLElement;
394
+ backgroundColor: string;
371
395
  renderDirective: "show" | "if";
372
396
  fullscreen: boolean;
373
397
  showMask: boolean;
@@ -375,15 +399,16 @@ declare const BkDialog: {
375
399
  escClose: boolean;
376
400
  quickClose: boolean;
377
401
  animateType: string;
402
+ beforeClose: () => boolean | Promise<boolean>;
378
403
  confirmText: string;
379
404
  cancelText: string;
380
405
  prevText: string;
381
406
  nextText: string;
382
407
  current: number;
383
408
  totalStep: number;
384
- headerAlign: "right" | "left" | "center";
385
- footerAlign: "right" | "left" | "center";
386
- confirmButtonTheme: "success" | "warning" | "danger" | "primary";
409
+ headerAlign: "left" | "right" | "center";
410
+ footerAlign: "left" | "right" | "center";
411
+ confirmButtonTheme: "success" | "danger" | "warning" | "primary";
387
412
  isLoading: boolean;
388
413
  }>;
389
414
  __isFragment?: never;
@@ -420,16 +445,16 @@ declare const BkDialog: {
420
445
  } & {
421
446
  default: string;
422
447
  };
423
- headerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
424
- default: "right" | "left" | "center";
448
+ headerAlign: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
449
+ default: "left" | "right" | "center";
425
450
  };
426
- footerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
427
- default: "right" | "left" | "center";
451
+ footerAlign: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
452
+ default: "left" | "right" | "center";
428
453
  };
429
- confirmButtonTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary"> & {
430
- default: "success" | "warning" | "danger" | "primary";
454
+ confirmButtonTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
455
+ default: "success" | "danger" | "warning" | "primary";
431
456
  };
432
- dialogType: import("vue-types").VueTypeDef<"show" | "process" | "operation" | "confirm">;
457
+ dialogType: import("vue-types").VueTypeDef<"show" | "process" | "confirm" | "operation">;
433
458
  isLoading: import("vue-types").VueTypeValidableDef<boolean> & {
434
459
  default: boolean;
435
460
  } & {
@@ -478,7 +503,9 @@ declare const BkDialog: {
478
503
  renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
479
504
  default: "show" | "if";
480
505
  };
481
- beforeClose: import("vue-types").VueTypeDef<unknown>;
506
+ beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
507
+ default: () => boolean | Promise<boolean>;
508
+ };
482
509
  left: import("vue-types").VueTypeValidableDef<string> & {
483
510
  default: string;
484
511
  };
@@ -488,6 +515,11 @@ declare const BkDialog: {
488
515
  extCls: import("vue-types").VueTypeValidableDef<string> & {
489
516
  default: string;
490
517
  };
518
+ backgroundColor: import("vue-types").VueTypeValidableDef<string> & {
519
+ default: string;
520
+ } & {
521
+ default: string;
522
+ };
491
523
  }>> & {
492
524
  onHidden?: () => any;
493
525
  onShown?: () => any;
@@ -507,11 +539,12 @@ declare const BkDialog: {
507
539
  }, string, {
508
540
  title: string;
509
541
  extCls: string;
510
- top: string;
511
542
  left: string;
543
+ top: string;
512
544
  isShow: boolean;
513
545
  draggable: boolean;
514
546
  transfer: string | boolean | HTMLElement;
547
+ backgroundColor: string;
515
548
  renderDirective: "show" | "if";
516
549
  fullscreen: boolean;
517
550
  showMask: boolean;
@@ -519,15 +552,16 @@ declare const BkDialog: {
519
552
  escClose: boolean;
520
553
  quickClose: boolean;
521
554
  animateType: string;
555
+ beforeClose: () => boolean | Promise<boolean>;
522
556
  confirmText: string;
523
557
  cancelText: string;
524
558
  prevText: string;
525
559
  nextText: string;
526
560
  current: number;
527
561
  totalStep: number;
528
- headerAlign: "right" | "left" | "center";
529
- footerAlign: "right" | "left" | "center";
530
- confirmButtonTheme: "success" | "warning" | "danger" | "primary";
562
+ headerAlign: "left" | "right" | "center";
563
+ footerAlign: "left" | "right" | "center";
564
+ confirmButtonTheme: "success" | "danger" | "warning" | "primary";
531
565
  isLoading: boolean;
532
566
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
533
567
  export default BkDialog;
@@ -823,8 +823,8 @@ function _isSlot(s) {
823
823
  }, [(_slots$tools = slots.tools) === null || _slots$tools === void 0 ? void 0 : _slots$tools.call(slots)]), (0,external_vue_namespaceObject.createVNode)("div", {
824
824
  "class": resolveClassName('dialog-header')
825
825
  }, [(0,external_vue_namespaceObject.createVNode)("span", {
826
- "class": resolveClassName('dialog-title'),
827
- "style": "text-align: ".concat(props.headerAlign)
826
+ "style": "text-align: ".concat(props.headerAlign),
827
+ "class": resolveClassName('dialog-title')
828
828
  }, [(_slots$header = (_slots$header2 = slots.header) === null || _slots$header2 === void 0 ? void 0 : _slots$header2.call(slots)) !== null && _slots$header !== void 0 ? _slots$header : props.title])])]);
829
829
  },
830
830
  "default": function _default() {
@@ -835,8 +835,8 @@ function _isSlot(s) {
835
835
  footer: function footer() {
836
836
  if (slots.footer) {
837
837
  return (0,external_vue_namespaceObject.createVNode)("div", {
838
- "class": resolveClassName('dialog-footer'),
839
- "style": "text-align: ".concat(props.footerAlign)
838
+ "style": "text-align: ".concat(props.footerAlign),
839
+ "class": resolveClassName('dialog-footer')
840
840
  }, [slots.footer()]);
841
841
  }
842
842
  if (!['process', 'operation', 'confirm'].includes(props.dialogType)) {
@@ -845,17 +845,17 @@ function _isSlot(s) {
845
845
  var renderFooterAction = function renderFooterAction() {
846
846
  if (props.dialogType === 'operation') {
847
847
  return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
848
- "onClick": handleConfirm,
848
+ "loading": props.isLoading,
849
849
  "theme": props.confirmButtonTheme,
850
- "loading": props.isLoading
850
+ "onClick": handleConfirm
851
851
  }, {
852
852
  "default": function _default() {
853
853
  return [localConfirmText.value];
854
854
  }
855
855
  }), (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
856
856
  "class": resolveClassName('dialog-cancel'),
857
- "onClick": handleClose,
858
- "disabled": props.isLoading
857
+ "disabled": props.isLoading,
858
+ "onClick": handleClose
859
859
  }, {
860
860
  "default": function _default() {
861
861
  return [localCancelText.value];
@@ -864,9 +864,9 @@ function _isSlot(s) {
864
864
  }
865
865
  if (props.dialogType === 'confirm') {
866
866
  return (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
867
- "onClick": handleConfirm,
867
+ "loading": props.isLoading,
868
868
  "theme": props.confirmButtonTheme,
869
- "loading": props.isLoading
869
+ "onClick": handleConfirm
870
870
  }, {
871
871
  "default": function _default() {
872
872
  return [localConfirmText.value];
@@ -889,17 +889,17 @@ function _isSlot(s) {
889
889
  return [localNextText.value];
890
890
  }
891
891
  }), props.current >= 1 && props.current === props.totalStep && (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
892
- "onClick": handleConfirm,
892
+ "loading": props.isLoading,
893
893
  "theme": props.confirmButtonTheme,
894
- "loading": props.isLoading
894
+ "onClick": handleConfirm
895
895
  }, {
896
896
  "default": function _default() {
897
897
  return [localConfirmText.value];
898
898
  }
899
899
  }), (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
900
900
  "class": resolveClassName('dialog-cancel'),
901
- "onClick": handleClose,
902
- "disabled": props.isLoading
901
+ "disabled": props.isLoading,
902
+ "onClick": handleClose
903
903
  }, {
904
904
  "default": function _default() {
905
905
  return [localCancelText.value];
@@ -908,8 +908,8 @@ function _isSlot(s) {
908
908
  }
909
909
  };
910
910
  return (0,external_vue_namespaceObject.createVNode)("div", {
911
- "class": resolveClassName('dialog-footer'),
912
- "style": "text-align: ".concat(props.footerAlign)
911
+ "style": "text-align: ".concat(props.footerAlign),
912
+ "class": resolveClassName('dialog-footer')
913
913
  }, [renderFooterAction()]);
914
914
  },
915
915
  close: function close() {
@@ -921,20 +921,20 @@ function _isSlot(s) {
921
921
  inheritAttrs[instance.vnode.scopeId] = '';
922
922
  }
923
923
  return (0,external_vue_namespaceObject.createVNode)(modal_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)(inheritAttrs, {
924
- "class": _defineProperty(_defineProperty({}, resolveClassName('dialog'), true), 'is-fullscreen', props.fullscreen),
925
- "isShow": props.isShow,
926
- "fullscreen": props.fullscreen,
927
924
  "width": props.fullscreen ? 'auto' : props.width,
925
+ "class": _defineProperty(_defineProperty({}, resolveClassName('dialog'), true), 'is-fullscreen', props.fullscreen),
928
926
  "animateType": "fadein",
929
927
  "beforeClose": props.beforeClose,
930
928
  "closeIcon": props.closeIcon,
931
929
  "escClose": props.escClose,
930
+ "fullscreen": props.fullscreen,
931
+ "isShow": props.isShow,
932
+ "left": props.fullscreen ? '0px' : positionData.moveStyle.left,
932
933
  "quickClose": props.quickClose,
933
- "showMask": props.showMask,
934
- "transfer": props.transfer,
935
934
  "renderDirective": props.renderDirective,
936
- "left": props.fullscreen ? '0px' : positionData.moveStyle.left,
935
+ "showMask": props.showMask,
937
936
  "top": props.fullscreen ? '0px' : positionData.moveStyle.top,
937
+ "transfer": props.transfer,
938
938
  "zIndex": props.zIndex,
939
939
  "onClose": handleClose,
940
940
  "onHidden": handleHidden,
@@ -29,16 +29,16 @@ declare const props: {
29
29
  } & {
30
30
  default: string;
31
31
  };
32
- headerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
33
- default: "right" | "left" | "center";
32
+ headerAlign: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
33
+ default: "left" | "right" | "center";
34
34
  };
35
- footerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
36
- default: "right" | "left" | "center";
35
+ footerAlign: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
36
+ default: "left" | "right" | "center";
37
37
  };
38
- confirmButtonTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary"> & {
39
- default: "success" | "warning" | "danger" | "primary";
38
+ confirmButtonTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
39
+ default: "success" | "danger" | "warning" | "primary";
40
40
  };
41
- dialogType: import("vue-types").VueTypeDef<"show" | "process" | "operation" | "confirm">;
41
+ dialogType: import("vue-types").VueTypeDef<"show" | "process" | "confirm" | "operation">;
42
42
  isLoading: import("vue-types").VueTypeValidableDef<boolean> & {
43
43
  default: boolean;
44
44
  } & {
@@ -87,7 +87,9 @@ declare const props: {
87
87
  renderDirective: import("vue-types").VueTypeValidableDef<"show" | "if"> & {
88
88
  default: "show" | "if";
89
89
  };
90
- beforeClose: import("vue-types").VueTypeDef<unknown>;
90
+ beforeClose: import("vue-types").VueTypeValidableDef<() => boolean | Promise<boolean>> & {
91
+ default: () => boolean | Promise<boolean>;
92
+ };
91
93
  left: import("vue-types").VueTypeValidableDef<string> & {
92
94
  default: string;
93
95
  };
@@ -97,5 +99,10 @@ declare const props: {
97
99
  extCls: import("vue-types").VueTypeValidableDef<string> & {
98
100
  default: string;
99
101
  };
102
+ backgroundColor: import("vue-types").VueTypeValidableDef<string> & {
103
+ default: string;
104
+ } & {
105
+ default: string;
106
+ };
100
107
  };
101
108
  export default props;
@@ -1,5 +1,5 @@
1
- export { overflowTitle } from '../overflow-title';
2
- export { default as mousewheel } from './mousewheel';
3
1
  export { default as clickoutside } from './clickoutside';
4
- export { default as bkTooltips } from './tooltips';
5
2
  export { default as bkEllipsis, createInstance as bkEllipsisInstance } from './ellipsis';
3
+ export { default as mousewheel } from './mousewheel';
4
+ export { default as bkTooltips } from './tooltips';
5
+ export { overflowTitle } from '../overflow-title';