bkui-vue 0.0.1-beta.98 → 0.0.1

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 (656) hide show
  1. package/License.txt +14 -0
  2. package/dist/index.cjs.js +360 -36
  3. package/dist/index.esm.js +30770 -23399
  4. package/dist/index.umd.js +360 -36
  5. package/dist/locale/en.esm.js +2 -0
  6. package/dist/locale/en.esm.js.map +1 -0
  7. package/dist/locale/en.umd.js +2 -0
  8. package/dist/locale/en.umd.js.map +1 -0
  9. package/dist/locale/zh-cn.esm.js +2 -0
  10. package/dist/locale/zh-cn.esm.js.map +1 -0
  11. package/dist/locale/zh-cn.umd.js +2 -0
  12. package/dist/locale/zh-cn.umd.js.map +1 -0
  13. package/dist/style.css +1 -1
  14. package/dist/style.variable.css +1 -0
  15. package/lib/affix/affix.d.ts +2 -2
  16. package/lib/affix/affix.variable.css +29 -6
  17. package/lib/affix/index.d.ts +60 -36
  18. package/lib/alert/alert.css +4 -0
  19. package/lib/alert/alert.d.ts +11 -9
  20. package/lib/alert/alert.less +24 -19
  21. package/lib/alert/alert.variable.css +33 -6
  22. package/lib/alert/index.d.ts +82 -58
  23. package/lib/alert/index.js +1 -1
  24. package/lib/animate-number/animate-number.d.ts +2 -2
  25. package/lib/animate-number/index.d.ts +58 -25
  26. package/lib/backtop/backtop.css +8 -0
  27. package/lib/backtop/backtop.d.ts +4 -4
  28. package/lib/backtop/backtop.less +8 -0
  29. package/lib/backtop/backtop.variable.css +37 -6
  30. package/lib/backtop/index.d.ts +65 -47
  31. package/lib/backtop/index.js +1 -1
  32. package/lib/badge/badge.css +2 -5
  33. package/lib/badge/badge.d.ts +3 -3
  34. package/lib/badge/badge.less +4 -5
  35. package/lib/badge/badge.variable.css +31 -11
  36. package/lib/badge/index.d.ts +67 -64
  37. package/lib/badge/index.js +1 -1
  38. package/lib/breadcrumb/breadcrumb-item.d.ts +5 -3
  39. package/lib/breadcrumb/breadcrumb.css +43 -0
  40. package/lib/breadcrumb/breadcrumb.d.ts +2 -2
  41. package/lib/breadcrumb/breadcrumb.variable.css +77 -11
  42. package/lib/breadcrumb/index.d.ts +65 -41
  43. package/lib/breadcrumb/index.js +1 -1
  44. package/lib/button/button-group.d.ts +4 -4
  45. package/lib/button/button.css +21 -3
  46. package/lib/button/button.d.ts +46 -33
  47. package/lib/button/button.less +25 -5
  48. package/lib/button/button.variable.css +50 -9
  49. package/lib/button/index.d.ts +121 -96
  50. package/lib/button/index.js +1 -1
  51. package/lib/card/card.css +45 -2
  52. package/lib/card/card.d.ts +2 -1
  53. package/lib/card/card.less +2 -2
  54. package/lib/card/card.variable.css +78 -12
  55. package/lib/card/index.d.ts +66 -64
  56. package/lib/card/index.js +1 -1
  57. package/lib/cascader/cascader-panel.d.ts +60 -6
  58. package/lib/cascader/cascader.css +197 -11
  59. package/lib/cascader/cascader.d.ts +108 -25
  60. package/lib/cascader/cascader.less +148 -11
  61. package/lib/cascader/cascader.variable.css +234 -25
  62. package/lib/cascader/index.d.ts +378 -176
  63. package/lib/cascader/index.js +2 -1
  64. package/lib/cascader/index.js.LICENSE.txt +1 -0
  65. package/lib/cascader/interface.d.ts +8 -1
  66. package/lib/cascader/node.d.ts +9 -2
  67. package/lib/cascader/store.d.ts +13 -1
  68. package/lib/checkbox/checkbox-group.d.ts +18 -2
  69. package/lib/checkbox/checkbox.css +38 -11
  70. package/lib/checkbox/checkbox.d.ts +40 -18
  71. package/lib/checkbox/checkbox.less +68 -33
  72. package/lib/checkbox/checkbox.variable.css +67 -17
  73. package/lib/checkbox/common.d.ts +1 -0
  74. package/lib/checkbox/index.d.ts +133 -72
  75. package/lib/checkbox/index.js +1 -1
  76. package/lib/checkbox/type.d.ts +1 -1
  77. package/lib/code-diff/code-diff.css +27 -7
  78. package/lib/code-diff/code-diff.d.ts +7 -7
  79. package/lib/code-diff/code-diff.less +42 -7
  80. package/lib/code-diff/code-diff.variable.css +56 -13
  81. package/lib/code-diff/index.d.ts +30 -43
  82. package/lib/code-diff/index.js +1 -1
  83. package/lib/collapse/collapse-panel.d.ts +104 -0
  84. package/lib/collapse/collapse.css +58 -19
  85. package/lib/collapse/collapse.d.ts +59 -42
  86. package/lib/collapse/collapse.less +106 -46
  87. package/lib/collapse/collapse.variable.css +87 -25
  88. package/lib/collapse/index.d.ts +271 -46
  89. package/lib/collapse/index.js +1 -1
  90. package/lib/collapse/props.d.ts +131 -0
  91. package/lib/collapse-transition/collapse-transition.css +93 -0
  92. package/lib/collapse-transition/collapse-transition.d.ts +15 -0
  93. package/lib/collapse-transition/collapse-transition.less +111 -0
  94. package/lib/collapse-transition/collapse-transition.variable.css +215 -0
  95. package/lib/collapse-transition/index.d.ts +2 -0
  96. package/lib/collapse-transition/index.js +1 -0
  97. package/lib/color-picker/color-picker.css +275 -0
  98. package/lib/color-picker/color-picker.d.ts +144 -0
  99. package/lib/color-picker/color-picker.less +325 -0
  100. package/lib/color-picker/color-picker.variable.css +397 -0
  101. package/lib/color-picker/components/color-input.d.ts +42 -0
  102. package/lib/color-picker/components/hue-slider.d.ts +41 -0
  103. package/lib/color-picker/components/input-container.d.ts +42 -0
  104. package/lib/color-picker/components/recommend-colors.d.ts +51 -0
  105. package/lib/color-picker/components/saturation-panel.d.ts +41 -0
  106. package/lib/color-picker/index.d.ts +255 -0
  107. package/lib/color-picker/index.js +1 -0
  108. package/lib/color-picker/utils.d.ts +37 -0
  109. package/lib/components.d.ts +14 -0
  110. package/lib/components.js +1 -1
  111. package/lib/config-provider/config-provider.css +0 -0
  112. package/lib/config-provider/config-provider.d.ts +402 -0
  113. package/lib/config-provider/config-provider.less +1 -0
  114. package/lib/config-provider/config-provider.variable.css +122 -0
  115. package/lib/config-provider/index.d.ts +646 -0
  116. package/lib/config-provider/index.js +1 -0
  117. package/lib/config-provider/token.d.ts +128 -0
  118. package/lib/config-provider/use-global-config.d.ts +5 -0
  119. package/lib/config-provider/use-locale.d.ts +3 -0
  120. package/lib/config-provider/use-prefix.d.ts +9 -0
  121. package/lib/container/col.d.ts +3 -3
  122. package/lib/container/container.css +43 -0
  123. package/lib/container/container.d.ts +2 -2
  124. package/lib/container/container.less +4 -4
  125. package/lib/container/container.variable.css +72 -6
  126. package/lib/container/index.d.ts +30 -49
  127. package/lib/container/index.js +1 -1
  128. package/lib/container/interface.d.ts +7 -0
  129. package/lib/container/row.d.ts +2 -2
  130. package/lib/date-picker/base/confirm.d.ts +74 -0
  131. package/lib/date-picker/base/date-table.d.ts +96 -0
  132. package/lib/date-picker/base/month-table.d.ts +117 -0
  133. package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
  134. package/lib/date-picker/base/time-spinner.d.ts +170 -0
  135. package/lib/date-picker/base/year-table.d.ts +117 -0
  136. package/lib/date-picker/date-picker.css +30 -1
  137. package/lib/date-picker/date-picker.d.ts +55 -35
  138. package/lib/date-picker/date-picker.less +109 -74
  139. package/lib/date-picker/date-picker.variable.css +59 -7
  140. package/lib/date-picker/index.d.ts +198 -218
  141. package/lib/date-picker/index.js +1 -1
  142. package/lib/date-picker/interface.d.ts +20 -10
  143. package/lib/date-picker/panel/date-range.d.ts +345 -0
  144. package/lib/date-picker/panel/date.d.ts +206 -0
  145. package/lib/date-picker/panel/time-range.d.ts +495 -0
  146. package/lib/date-picker/panel/time.d.ts +451 -0
  147. package/lib/date-picker/props.d.ts +48 -5
  148. package/lib/date-picker/time-picker.d.ts +390 -0
  149. package/lib/date-picker/utils.d.ts +22 -2
  150. package/lib/dialog/dialog.css +94 -34
  151. package/lib/dialog/dialog.d.ts +57 -93
  152. package/lib/dialog/dialog.less +85 -43
  153. package/lib/dialog/dialog.variable.css +216 -34
  154. package/lib/dialog/index.d.ts +194 -334
  155. package/lib/dialog/index.js +2 -1
  156. package/lib/dialog/index.js.LICENSE.txt +1 -0
  157. package/lib/dialog/props.d.ts +122 -0
  158. package/lib/directives/ellipsis.d.ts +7 -0
  159. package/lib/directives/index.d.ts +2 -0
  160. package/lib/directives/index.js +1 -1
  161. package/lib/directives/tooltips.d.ts +2 -1
  162. package/lib/dist.index.js +1 -1
  163. package/lib/divider/divider.d.ts +17 -17
  164. package/lib/divider/divider.variable.css +29 -6
  165. package/lib/divider/index.d.ts +85 -61
  166. package/lib/divider/index.js +1 -1
  167. package/lib/divider/props.d.ts +6 -6
  168. package/lib/dropdown/dropdown-item.d.ts +1 -1
  169. package/lib/dropdown/dropdown-menu.d.ts +2 -2
  170. package/lib/dropdown/dropdown.css +34 -7
  171. package/lib/dropdown/dropdown.d.ts +46 -15
  172. package/lib/dropdown/dropdown.less +42 -36
  173. package/lib/dropdown/dropdown.variable.css +63 -13
  174. package/lib/dropdown/index.d.ts +136 -65
  175. package/lib/dropdown/index.js +1 -1
  176. package/lib/exception/exception.css +40 -14
  177. package/lib/exception/exception.d.ts +33 -13
  178. package/lib/exception/exception.less +59 -22
  179. package/lib/exception/exception.variable.css +69 -20
  180. package/lib/exception/index.d.ts +91 -43
  181. package/lib/exception/index.js +1 -1
  182. package/lib/exception/typings/index.d.ts +4 -0
  183. package/lib/fixed-navbar/fixed-navbar.d.ts +2 -2
  184. package/lib/fixed-navbar/fixed-navbar.variable.css +29 -6
  185. package/lib/fixed-navbar/index.d.ts +60 -36
  186. package/lib/form/compose-form-item.d.ts +4 -2
  187. package/lib/form/form-item.d.ts +15 -9
  188. package/lib/form/form.css +32 -8
  189. package/lib/form/form.d.ts +25 -7
  190. package/lib/form/form.less +85 -53
  191. package/lib/form/form.variable.css +61 -14
  192. package/lib/form/index.d.ts +109 -51
  193. package/lib/form/index.js +1 -1
  194. package/lib/form/type.d.ts +5 -4
  195. package/lib/form/utils.d.ts +2 -0
  196. package/lib/hooks.d.ts +1 -0
  197. package/lib/hooks.js +1 -0
  198. package/lib/icon/angle-double-down-line.js +1 -1
  199. package/lib/icon/angle-double-left-line.js +1 -1
  200. package/lib/icon/angle-double-left.js +1 -1
  201. package/lib/icon/angle-double-right-line.js +1 -1
  202. package/lib/icon/angle-double-right.js +1 -1
  203. package/lib/icon/angle-double-up-line.js +1 -1
  204. package/lib/icon/angle-down-fill.js +1 -1
  205. package/lib/icon/angle-down-line.js +1 -1
  206. package/lib/icon/angle-down.js +1 -1
  207. package/lib/icon/angle-left.js +1 -1
  208. package/lib/icon/angle-right.js +1 -1
  209. package/lib/icon/angle-up-fill.js +1 -1
  210. package/lib/icon/angle-up.js +1 -1
  211. package/lib/icon/archive-fill.js +1 -1
  212. package/lib/icon/arrows-left.js +1 -1
  213. package/lib/icon/arrows-right.js +1 -1
  214. package/lib/icon/audio-fill.js +1 -1
  215. package/lib/icon/bk.js +1 -1
  216. package/lib/icon/circle.js +1 -1
  217. package/lib/icon/close-line.js +1 -1
  218. package/lib/icon/close.js +1 -1
  219. package/lib/icon/code.js +1 -1
  220. package/lib/icon/cog-shape.js +1 -1
  221. package/lib/icon/collapse-left.js +1 -1
  222. package/lib/icon/copy-shape.d.ts +4 -0
  223. package/lib/icon/copy-shape.js +1 -0
  224. package/lib/icon/copy.js +1 -1
  225. package/lib/icon/data-shape.js +1 -1
  226. package/lib/icon/del.js +1 -1
  227. package/lib/icon/doc-fill.js +1 -1
  228. package/lib/icon/done.js +1 -1
  229. package/lib/icon/down-shape.js +1 -1
  230. package/lib/icon/down-small.js +1 -1
  231. package/lib/icon/edit-line.js +1 -1
  232. package/lib/icon/ellipsis.js +1 -1
  233. package/lib/icon/enlarge-line.d.ts +4 -0
  234. package/lib/icon/enlarge-line.js +1 -0
  235. package/lib/icon/error.js +1 -1
  236. package/lib/icon/excel-fill.js +1 -1
  237. package/lib/icon/exclamation-circle-shape.js +1 -1
  238. package/lib/icon/eye.js +1 -1
  239. package/lib/icon/filliscreen-line.d.ts +4 -0
  240. package/lib/icon/filliscreen-line.js +1 -0
  241. package/lib/icon/fix-line.d.ts +4 -0
  242. package/lib/icon/fix-line.js +1 -0
  243. package/lib/icon/fix-shape.d.ts +4 -0
  244. package/lib/icon/fix-shape.js +1 -0
  245. package/lib/icon/folder-open.js +1 -1
  246. package/lib/icon/folder-shape-open.js +1 -1
  247. package/lib/icon/folder-shape.js +1 -1
  248. package/lib/icon/folder.js +1 -0
  249. package/lib/icon/funnel.js +1 -1
  250. package/lib/icon/help-document-fill.js +1 -1
  251. package/lib/icon/help-fill.js +1 -1
  252. package/lib/icon/help.js +1 -1
  253. package/lib/icon/image-fill.js +1 -1
  254. package/lib/icon/img-error.d.ts +4 -0
  255. package/lib/icon/img-error.js +1 -0
  256. package/lib/icon/img-placehoulder.d.ts +4 -0
  257. package/lib/icon/img-placehoulder.js +1 -0
  258. package/lib/icon/index.d.ts +83 -69
  259. package/lib/icon/index.js +1 -1
  260. package/lib/icon/info-line.js +1 -1
  261. package/lib/icon/info.js +1 -1
  262. package/lib/icon/left-shape.js +1 -1
  263. package/lib/icon/left-turn-line.d.ts +4 -0
  264. package/lib/icon/left-turn-line.js +1 -0
  265. package/lib/icon/narrow-line.d.ts +4 -0
  266. package/lib/icon/narrow-line.js +1 -0
  267. package/lib/icon/original.d.ts +4 -0
  268. package/lib/icon/original.js +1 -0
  269. package/lib/icon/pdf-fill.js +1 -1
  270. package/lib/icon/play-shape.js +1 -1
  271. package/lib/icon/plus.js +1 -1
  272. package/lib/icon/ppt-fill.js +1 -1
  273. package/lib/icon/qq.js +1 -1
  274. package/lib/icon/right-shape.js +1 -1
  275. package/lib/icon/right-turn-line.d.ts +4 -0
  276. package/lib/icon/right-turn-line.js +1 -0
  277. package/lib/icon/search.js +1 -1
  278. package/lib/icon/share.js +1 -1
  279. package/lib/icon/spinner.js +1 -1
  280. package/lib/icon/success.js +1 -1
  281. package/lib/icon/switcher-loading.js +1 -1
  282. package/lib/icon/text-file.js +1 -1
  283. package/lib/icon/text-fill.js +1 -1
  284. package/lib/icon/transfer.d.ts +4 -0
  285. package/lib/icon/transfer.js +1 -0
  286. package/lib/icon/tree-application-shape.js +1 -1
  287. package/lib/icon/unfull-screen.d.ts +4 -0
  288. package/lib/icon/unfull-screen.js +1 -0
  289. package/lib/icon/unvisible.js +1 -1
  290. package/lib/icon/up-shape.js +1 -1
  291. package/lib/icon/upload.js +1 -1
  292. package/lib/icon/video-fill.js +1 -1
  293. package/lib/icon/warn.js +1 -1
  294. package/lib/icon/weixin-pro.d.ts +4 -0
  295. package/lib/icon/weixin-pro.js +1 -0
  296. package/lib/icon/weixin.js +1 -1
  297. package/lib/image/image-viewer.css +142 -0
  298. package/lib/image/image-viewer.d.ts +73 -0
  299. package/lib/image/image-viewer.less +168 -0
  300. package/lib/image/image-viewer.variable.css +142 -0
  301. package/lib/image/image.css +37 -0
  302. package/lib/image/image.d.ts +93 -0
  303. package/lib/image/image.less +44 -0
  304. package/lib/image/image.variable.css +37 -0
  305. package/lib/image/index.d.ts +252 -0
  306. package/lib/image/index.js +1 -0
  307. package/lib/image/props.d.ts +71 -0
  308. package/lib/index.d.ts +3 -0
  309. package/lib/index.js +1 -1
  310. package/lib/info-box/index.d.ts +7 -0
  311. package/lib/info-box/index.js +2 -0
  312. package/lib/info-box/index.js.LICENSE.txt +1 -0
  313. package/lib/info-box/info-box.css +37 -0
  314. package/lib/info-box/info-box.d.ts +29 -0
  315. package/lib/info-box/info-box.less +51 -0
  316. package/lib/info-box/info-box.variable.css +159 -0
  317. package/lib/input/index.d.ts +178 -228
  318. package/lib/input/index.js +1 -1
  319. package/lib/input/input.css +168 -23
  320. package/lib/input/input.d.ts +59 -37
  321. package/lib/input/input.less +104 -22
  322. package/lib/input/input.variable.css +228 -61
  323. package/lib/link/index.d.ts +80 -53
  324. package/lib/link/index.js +1 -1
  325. package/lib/link/link.css +12 -12
  326. package/lib/link/link.d.ts +10 -8
  327. package/lib/link/link.less +16 -14
  328. package/lib/link/link.variable.css +41 -18
  329. package/lib/loading/directive.d.ts +14 -0
  330. package/lib/loading/index.d.ts +160 -56
  331. package/lib/loading/index.js +1 -1
  332. package/lib/loading/loading.css +72 -29
  333. package/lib/loading/loading.d.ts +91 -15
  334. package/lib/loading/loading.less +21 -19
  335. package/lib/loading/loading.variable.css +117 -51
  336. package/lib/locale/index.d.ts +3 -0
  337. package/lib/locale/index.js +1 -0
  338. package/lib/locale/lang/en.d.ts +126 -0
  339. package/lib/locale/lang/zh-cn.d.ts +3 -0
  340. package/lib/menu/index.d.ts +75 -34
  341. package/lib/menu/index.js +1 -1
  342. package/lib/menu/menu-group.d.ts +2 -2
  343. package/lib/menu/menu-item.d.ts +5 -1
  344. package/lib/menu/menu.css +43 -0
  345. package/lib/menu/menu.d.ts +2 -2
  346. package/lib/menu/menu.variable.css +90 -24
  347. package/lib/menu/submenu.d.ts +5 -1
  348. package/lib/menu/submenu.variable.css +29 -6
  349. package/lib/menu/utils.d.ts +1 -1
  350. package/lib/message/index.js +2 -1
  351. package/lib/message/index.js.LICENSE.txt +6 -0
  352. package/lib/message/message.css +166 -2
  353. package/lib/message/message.less +222 -7
  354. package/lib/message/message.variable.css +195 -8
  355. package/lib/message/messageConstructor.d.ts +136 -27
  356. package/lib/modal/index.d.ts +201 -246
  357. package/lib/modal/index.js +1 -1
  358. package/lib/modal/modal.css +39 -6
  359. package/lib/modal/modal.d.ts +54 -61
  360. package/lib/modal/modal.less +8 -10
  361. package/lib/modal/modal.variable.css +161 -6
  362. package/lib/modal/props.mixin.d.ts +16 -23
  363. package/lib/navigation/index.d.ts +90 -68
  364. package/lib/navigation/index.js +1 -1
  365. package/lib/navigation/navigation-title.d.ts +6 -3
  366. package/lib/navigation/navigation.d.ts +12 -4
  367. package/lib/navigation/navigation.variable.css +29 -6
  368. package/lib/notify/index.js +1 -1
  369. package/lib/notify/notify.css +8 -4
  370. package/lib/notify/notify.less +18 -13
  371. package/lib/notify/notify.variable.css +37 -10
  372. package/lib/notify/notifyConstructor.d.ts +19 -21
  373. package/lib/overflow-title/components/overflow-title.d.ts +57 -0
  374. package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
  375. package/lib/overflow-title/index.d.ts +195 -0
  376. package/lib/overflow-title/index.js +1 -0
  377. package/lib/overflow-title/overflow.css +11 -0
  378. package/lib/overflow-title/overflow.less +13 -0
  379. package/lib/overflow-title/overflow.variable.css +11 -0
  380. package/lib/overflow-title/props.d.ts +43 -0
  381. package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
  382. package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
  383. package/lib/pagination/index.d.ts +89 -90
  384. package/lib/pagination/index.js +1 -1
  385. package/lib/pagination/pagination.css +54 -28
  386. package/lib/pagination/pagination.d.ts +17 -6
  387. package/lib/pagination/pagination.less +59 -30
  388. package/lib/pagination/pagination.variable.css +83 -34
  389. package/lib/pagination/type.d.ts +1 -1
  390. package/lib/pagination/use-limit.d.ts +3 -1
  391. package/lib/pagination/use-total.d.ts +3 -1
  392. package/lib/plugin-popover/index.d.ts +27 -0
  393. package/lib/plugin-popover/index.js +1 -0
  394. package/lib/plugins/index.d.ts +1 -0
  395. package/lib/plugins/index.js +1 -0
  396. package/lib/pop-confirm/index.d.ts +249 -0
  397. package/lib/pop-confirm/index.js +1 -0
  398. package/lib/pop-confirm/pop-confirm.css +28 -0
  399. package/lib/pop-confirm/pop-confirm.d.ts +95 -0
  400. package/lib/pop-confirm/pop-confirm.less +34 -0
  401. package/lib/pop-confirm/pop-confirm.variable.css +150 -0
  402. package/lib/pop-confirm/props.d.ts +67 -0
  403. package/lib/popover/arrow.d.ts +2 -0
  404. package/lib/popover/const.d.ts +16 -0
  405. package/lib/popover/content.d.ts +43 -0
  406. package/lib/popover/index.d.ts +409 -173
  407. package/lib/popover/index.js +1 -1
  408. package/lib/popover/plugin-popover.d.ts +12 -0
  409. package/lib/popover/popover.css +10 -53
  410. package/lib/popover/popover.d.ts +189 -58
  411. package/lib/popover/popover.less +19 -68
  412. package/lib/popover/popover.variable.css +40 -60
  413. package/lib/popover/props.d.ts +90 -37
  414. package/lib/popover/reference.d.ts +2 -0
  415. package/lib/popover/root.d.ts +27 -0
  416. package/lib/popover/use-floating.d.ts +34 -0
  417. package/lib/popover/use-platform.d.ts +30 -0
  418. package/lib/popover/use-popover-init.d.ts +23 -0
  419. package/lib/popover/use-popper-id.d.ts +6 -0
  420. package/lib/popover/utils.d.ts +8 -0
  421. package/lib/popover2/index.d.ts +89 -0
  422. package/lib/popover2/index.js +1 -0
  423. package/lib/popover2/popover.d.ts +2 -0
  424. package/lib/preset.d.ts +264 -2
  425. package/lib/preset.js +1 -1
  426. package/lib/process/index.d.ts +69 -52
  427. package/lib/process/index.js +2 -1
  428. package/lib/process/index.js.LICENSE.txt +1 -0
  429. package/lib/process/process.css +22 -0
  430. package/lib/process/process.d.ts +5 -4
  431. package/lib/process/process.less +36 -8
  432. package/lib/process/process.variable.css +51 -6
  433. package/lib/progress/index.d.ts +100 -121
  434. package/lib/progress/index.js +1 -1
  435. package/lib/progress/progress.css +43 -0
  436. package/lib/progress/progress.d.ts +17 -15
  437. package/lib/progress/progress.less +8 -8
  438. package/lib/progress/progress.variable.css +76 -10
  439. package/lib/radio/index.d.ts +116 -58
  440. package/lib/radio/index.js +1 -1
  441. package/lib/radio/radio-button.d.ts +12 -9
  442. package/lib/radio/radio-group.d.ts +36 -5
  443. package/lib/radio/radio.css +133 -62
  444. package/lib/radio/radio.d.ts +9 -5
  445. package/lib/radio/radio.less +262 -173
  446. package/lib/radio/radio.variable.css +166 -72
  447. package/lib/radio/type.d.ts +1 -1
  448. package/lib/rate/index.d.ts +78 -28
  449. package/lib/rate/index.js +1 -1
  450. package/lib/rate/rate.d.ts +14 -3
  451. package/lib/rate/star.d.ts +1 -1
  452. package/lib/resize-layout/index.d.ts +82 -80
  453. package/lib/resize-layout/index.js +1 -1
  454. package/lib/resize-layout/resize-layout.css +6 -15
  455. package/lib/resize-layout/resize-layout.d.ts +10 -9
  456. package/lib/resize-layout/resize-layout.less +32 -41
  457. package/lib/resize-layout/resize-layout.variable.css +35 -21
  458. package/lib/search-select/index.d.ts +892 -0
  459. package/lib/search-select/index.js +2 -0
  460. package/lib/search-select/index.js.LICENSE.txt +1 -0
  461. package/lib/search-select/input.d.ts +101 -0
  462. package/lib/search-select/menu.d.ts +77 -0
  463. package/lib/search-select/search-select.css +427 -0
  464. package/lib/search-select/search-select.d.ts +361 -0
  465. package/lib/search-select/search-select.less +384 -0
  466. package/lib/search-select/search-select.variable.css +549 -0
  467. package/lib/search-select/selected.d.ts +155 -0
  468. package/lib/search-select/utils.d.ts +88 -0
  469. package/lib/select/common.d.ts +4 -11
  470. package/lib/select/index.d.ts +1471 -918
  471. package/lib/select/index.js +2 -1
  472. package/lib/select/index.js.LICENSE.txt +1 -0
  473. package/lib/select/option.d.ts +17 -6
  474. package/lib/select/optionGroup.d.ts +2 -2
  475. package/lib/select/select.css +211 -140
  476. package/lib/select/select.d.ts +654 -205
  477. package/lib/select/select.less +331 -189
  478. package/lib/select/select.variable.css +240 -146
  479. package/lib/select/selectTagInput.d.ts +38 -15
  480. package/lib/select/type.d.ts +20 -14
  481. package/lib/shared/dom.d.ts +3 -0
  482. package/lib/shared/helper.d.ts +9 -0
  483. package/lib/shared/hooks/use-form-item.d.ts +2 -0
  484. package/lib/shared/hooks/use-form.d.ts +2 -0
  485. package/lib/shared/index.d.ts +16 -12
  486. package/lib/shared/index.js +1 -1
  487. package/lib/shared/mask-manager.d.ts +18 -5
  488. package/lib/shared/pop-manager.d.ts +14 -4
  489. package/lib/shared/popover.d.ts +2 -1
  490. package/lib/shared/token.d.ts +1 -1
  491. package/lib/shared/utils.d.ts +19 -0
  492. package/lib/shared/vue-types.d.ts +116 -13
  493. package/lib/sideslider/index.d.ts +158 -252
  494. package/lib/sideslider/index.js +2 -1
  495. package/lib/sideslider/index.js.LICENSE.txt +1 -0
  496. package/lib/sideslider/sideslider.css +10 -8
  497. package/lib/sideslider/sideslider.d.ts +46 -71
  498. package/lib/sideslider/sideslider.less +19 -17
  499. package/lib/sideslider/sideslider.variable.css +39 -14
  500. package/lib/slider/index.d.ts +82 -112
  501. package/lib/slider/index.js +2 -1
  502. package/lib/slider/index.js.LICENSE.txt +1 -0
  503. package/lib/slider/slider-button.d.ts +3 -2
  504. package/lib/slider/slider.d.ts +6 -6
  505. package/lib/slider/slider.variable.css +29 -6
  506. package/lib/steps/index.d.ts +105 -96
  507. package/lib/steps/index.js +2 -1
  508. package/lib/steps/index.js.LICENSE.txt +1 -0
  509. package/lib/steps/steps.css +1 -0
  510. package/lib/steps/steps.d.ts +35 -34
  511. package/lib/steps/steps.less +63 -62
  512. package/lib/steps/steps.variable.css +30 -6
  513. package/lib/styles/index.d.ts +6 -1
  514. package/lib/styles/mixins/mixins.css +43 -0
  515. package/lib/styles/mixins/mixins.less +1 -0
  516. package/lib/styles/mixins/mixins.variable.css +43 -0
  517. package/lib/styles/mixins/popper.css +1 -1
  518. package/lib/styles/mixins/popper.less +12 -11
  519. package/lib/styles/mixins/popper.variable.css +123 -1
  520. package/lib/styles/mixins/scroll.css +17 -0
  521. package/lib/styles/mixins/scroll.less +22 -0
  522. package/lib/styles/mixins/scroll.variable.css +139 -0
  523. package/lib/styles/reset.css +36 -0
  524. package/lib/styles/reset.less +26 -2
  525. package/lib/styles/reset.variable.css +36 -0
  526. package/lib/styles/themes/themes.less +37 -6
  527. package/lib/swiper/index.d.ts +60 -44
  528. package/lib/swiper/index.js +1 -1
  529. package/lib/swiper/swiper.d.ts +1 -1
  530. package/lib/swiper/swiper.less +15 -13
  531. package/lib/swiper/swiper.variable.css +122 -0
  532. package/lib/switcher/index.d.ts +94 -87
  533. package/lib/switcher/index.js +1 -1
  534. package/lib/switcher/switcher.css +44 -1
  535. package/lib/switcher/switcher.d.ts +17 -11
  536. package/lib/switcher/switcher.less +29 -52
  537. package/lib/switcher/switcher.variable.css +90 -24
  538. package/lib/tab/index.d.ts +163 -124
  539. package/lib/tab/index.js +1 -1
  540. package/lib/tab/props.d.ts +92 -43
  541. package/lib/tab/tab-nav.d.ts +46 -14
  542. package/lib/tab/tab-panel.d.ts +16 -9
  543. package/lib/tab/tab.css +135 -58
  544. package/lib/tab/tab.d.ts +42 -20
  545. package/lib/tab/tab.less +164 -77
  546. package/lib/tab/tab.variable.css +164 -64
  547. package/lib/table/cache.d.ts +6 -0
  548. package/lib/table/components/index.d.ts +3 -0
  549. package/lib/table/components/table-cell.d.ts +51 -0
  550. package/lib/table/components/table-column.d.ts +305 -0
  551. package/lib/table/components/table-row.d.ts +2 -0
  552. package/lib/table/const.d.ts +94 -6
  553. package/lib/table/index.d.ts +697 -169
  554. package/lib/table/index.js +1 -1
  555. package/lib/table/plugins/body-empty.d.ts +36 -0
  556. package/lib/table/plugins/col-group.d.ts +38 -0
  557. package/lib/table/plugins/common.d.ts +6 -0
  558. package/lib/table/plugins/head-filter.css +30 -14
  559. package/lib/table/plugins/head-filter.d.ts +26 -0
  560. package/lib/table/plugins/head-filter.less +79 -52
  561. package/lib/table/plugins/head-filter.variable.css +59 -20
  562. package/lib/table/plugins/head-sort.css +7 -3
  563. package/lib/table/plugins/head-sort.d.ts +29 -0
  564. package/lib/table/plugins/head-sort.less +8 -4
  565. package/lib/table/plugins/head-sort.variable.css +36 -9
  566. package/lib/table/plugins/index.d.ts +5 -0
  567. package/lib/table/plugins/settings.css +43 -6
  568. package/lib/table/plugins/settings.d.ts +37 -0
  569. package/lib/table/plugins/settings.less +52 -7
  570. package/lib/table/plugins/settings.variable.css +72 -12
  571. package/lib/table/plugins/use-active-columns.d.ts +16 -0
  572. package/lib/table/plugins/use-column-resize.d.ts +15 -0
  573. package/lib/table/plugins/use-fixed-column.d.ts +26 -0
  574. package/lib/table/plugins/use-pagination.d.ts +16 -0
  575. package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
  576. package/lib/table/props.d.ts +271 -23
  577. package/lib/table/render.d.ts +32 -12
  578. package/lib/table/table.css +964 -67
  579. package/lib/table/table.d.ts +170 -27
  580. package/lib/table/table.less +198 -66
  581. package/lib/table/table.variable.css +993 -73
  582. package/lib/table/use-column.d.ts +12 -0
  583. package/lib/table/use-common.d.ts +71 -29
  584. package/lib/table/utils.d.ts +33 -4
  585. package/lib/table-column/index.d.ts +797 -0
  586. package/lib/table-column/index.js +1 -0
  587. package/lib/tag/index.d.ts +89 -68
  588. package/lib/tag/index.js +1 -1
  589. package/lib/tag/tag.css +46 -13
  590. package/lib/tag/tag.d.ts +17 -12
  591. package/lib/tag/tag.less +58 -21
  592. package/lib/tag/tag.variable.css +75 -19
  593. package/lib/tag-input/common.d.ts +13 -1
  594. package/lib/tag-input/index.d.ts +570 -269
  595. package/lib/tag-input/index.js +1 -1
  596. package/lib/tag-input/list-tag-render.d.ts +2 -5
  597. package/lib/tag-input/tag-input.css +23 -27
  598. package/lib/tag-input/tag-input.d.ts +304 -45
  599. package/lib/tag-input/tag-input.less +103 -106
  600. package/lib/tag-input/tag-input.variable.css +52 -33
  601. package/lib/tag-input/tag-props.d.ts +142 -8
  602. package/lib/tag-input/tag-render.d.ts +31 -5
  603. package/lib/time-picker/index.d.ts +833 -0
  604. package/lib/time-picker/index.js +1 -0
  605. package/lib/time-picker/time-picker.css +215 -0
  606. package/lib/time-picker/time-picker.less +260 -0
  607. package/lib/time-picker/time-picker.variable.css +337 -0
  608. package/lib/timeline/index.d.ts +64 -32
  609. package/lib/timeline/index.js +1 -1
  610. package/lib/timeline/timeline.css +11 -4
  611. package/lib/timeline/timeline.d.ts +4 -3
  612. package/lib/timeline/timeline.less +48 -36
  613. package/lib/timeline/timeline.variable.css +40 -10
  614. package/lib/transfer/index.d.ts +152 -81
  615. package/lib/transfer/index.js +1 -1
  616. package/lib/transfer/props.d.ts +5 -0
  617. package/lib/transfer/transfer.css +121 -41
  618. package/lib/transfer/transfer.d.ts +35 -3
  619. package/lib/transfer/transfer.less +103 -46
  620. package/lib/transfer/transfer.variable.css +155 -52
  621. package/lib/tree/constant.d.ts +22 -2
  622. package/lib/tree/index.d.ts +236 -141
  623. package/lib/tree/index.js +1 -1
  624. package/lib/tree/props.d.ts +68 -12
  625. package/lib/tree/tree.css +176 -7
  626. package/lib/tree/tree.d.ts +91 -20
  627. package/lib/tree/tree.less +49 -1
  628. package/lib/tree/tree.variable.css +205 -13
  629. package/lib/tree/use-empty.d.ts +1 -1
  630. package/lib/tree/use-node-action.d.ts +3 -2
  631. package/lib/tree/use-node-attribute.d.ts +11 -0
  632. package/lib/tree/use-node-drag.d.ts +1 -1
  633. package/lib/tree/use-search.d.ts +1 -1
  634. package/lib/tree/util.d.ts +2 -0
  635. package/lib/upload/index.d.ts +508 -1
  636. package/lib/upload/index.js +2 -1
  637. package/lib/upload/index.js.LICENSE.txt +1 -0
  638. package/lib/upload/props.d.ts +0 -2
  639. package/lib/upload/upload-list.d.ts +3 -2
  640. package/lib/upload/upload-trigger.d.ts +1 -4
  641. package/lib/upload/upload.css +58 -5
  642. package/lib/upload/upload.d.ts +10 -16
  643. package/lib/upload/upload.less +19 -8
  644. package/lib/upload/upload.type.d.ts +12 -12
  645. package/lib/upload/upload.variable.css +113 -37
  646. package/lib/upload/use-file-handler.d.ts +2 -25
  647. package/lib/virtual-render/index.d.ts +100 -150
  648. package/lib/virtual-render/index.js +1 -1
  649. package/lib/virtual-render/props.d.ts +15 -1
  650. package/lib/virtual-render/virtual-render.css +17 -17
  651. package/lib/virtual-render/virtual-render.d.ts +39 -4
  652. package/lib/virtual-render/virtual-render.less +2 -23
  653. package/lib/virtual-render/virtual-render.variable.css +139 -17
  654. package/lib/volar.components.d.ts +102 -0
  655. package/package.json +47 -40
  656. package/LICENSE.txt +0 -22
@@ -3,39 +3,63 @@ declare const BkLoading: {
3
3
  new (...args: any[]): {
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
- $props: Partial<{
7
- title: string;
8
- inline: boolean;
9
- size: string;
10
- loading: boolean;
11
- mode: string;
12
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
13
- indicator: {
14
- type: FunctionConstructor;
15
- };
16
- loading: import("vue-types").VueTypeValidableDef<boolean> & {
17
- default: boolean;
18
- } & {
19
- default: boolean;
20
- };
21
- inline: import("vue-types").VueTypeValidableDef<boolean> & {
22
- default: boolean;
23
- } & {
24
- default: boolean;
25
- };
26
- theme: import("vue-types").VueTypeDef<string>;
27
- title: import("vue-types").VueTypeValidableDef<string> & {
28
- default: string;
29
- } & {
30
- default: string;
31
- };
32
- size: import("vue-types").VueTypeDef<string> & {
33
- default: string;
34
- };
35
- mode: import("vue-types").VueTypeDef<string> & {
36
- default: string;
37
- };
38
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "inline" | "size" | "loading" | "mode">;
6
+ $props: {
7
+ title?: string;
8
+ zIndex?: number;
9
+ mode?: "default" | "spin";
10
+ color?: string;
11
+ size?: "" | "small" | "large" | "mini";
12
+ inline?: boolean;
13
+ opacity?: number;
14
+ loading?: boolean;
15
+ isDirective?: boolean;
16
+ class?: unknown;
17
+ style?: unknown;
18
+ readonly theme?: "white" | "success" | "warning" | "danger" | "primary";
19
+ key?: string | number | symbol;
20
+ ref?: import("vue").VNodeRef;
21
+ ref_for?: boolean;
22
+ ref_key?: string;
23
+ onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
24
+ [key: string]: any;
25
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
+ [key: string]: any;
27
+ }>) => void)[];
28
+ onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
29
+ [key: string]: any;
30
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
+ [key: string]: any;
32
+ }>) => void)[];
33
+ onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
+ [key: string]: any;
35
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
36
+ [key: string]: any;
37
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
+ [key: string]: any;
39
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
+ [key: string]: any;
41
+ }>) => void)[];
42
+ onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
+ [key: string]: any;
44
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
+ [key: string]: any;
46
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
+ [key: string]: any;
48
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
+ [key: string]: any;
50
+ }>) => void)[];
51
+ onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
+ [key: string]: any;
53
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
54
+ [key: string]: any;
55
+ }>) => void)[];
56
+ onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
57
+ [key: string]: any;
58
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
59
+ [key: string]: any;
60
+ }>) => void)[];
61
+ readonly indicator?: Function;
62
+ };
39
63
  $attrs: {
40
64
  [x: string]: unknown;
41
65
  };
@@ -43,10 +67,10 @@ declare const BkLoading: {
43
67
  [x: string]: unknown;
44
68
  };
45
69
  $slots: Readonly<{
46
- [name: string]: import("vue").Slot;
70
+ [name: string]: import("vue").Slot<any>;
47
71
  }>;
48
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
49
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
72
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
73
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
50
74
  $emit: (event: string, ...args: any[]) => void;
51
75
  $el: any;
52
76
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -63,25 +87,53 @@ declare const BkLoading: {
63
87
  } & {
64
88
  default: boolean;
65
89
  };
66
- theme: import("vue-types").VueTypeDef<string>;
90
+ theme: {
91
+ type: import("vue").PropType<"white" | "success" | "warning" | "danger" | "primary">;
92
+ };
67
93
  title: import("vue-types").VueTypeValidableDef<string> & {
68
94
  default: string;
69
95
  } & {
70
96
  default: string;
71
97
  };
72
- size: import("vue-types").VueTypeDef<string> & {
98
+ size: {
99
+ type: import("vue").PropType<"" | "small" | "large" | "mini">;
100
+ default: BkLoadingSize;
101
+ };
102
+ mode: {
103
+ type: import("vue").PropType<"default" | "spin">;
73
104
  default: string;
74
105
  };
75
- mode: import("vue-types").VueTypeDef<string> & {
106
+ opacity: import("vue-types").VueTypeValidableDef<number> & {
107
+ default: number;
108
+ } & {
109
+ default: number;
110
+ };
111
+ color: import("vue-types").VueTypeValidableDef<string> & {
112
+ default: string;
113
+ } & {
76
114
  default: string;
77
115
  };
78
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
116
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
117
+ default: number;
118
+ } & {
119
+ default: number;
120
+ };
121
+ isDirective: import("vue-types").VueTypeValidableDef<boolean> & {
122
+ default: boolean;
123
+ } & {
124
+ default: boolean;
125
+ };
126
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
79
127
  title: string;
128
+ zIndex: number;
129
+ mode: "default" | "spin";
130
+ color: string;
131
+ size: "" | "small" | "large" | "mini";
80
132
  inline: boolean;
81
- size: string;
133
+ opacity: number;
82
134
  loading: boolean;
83
- mode: string;
84
- }> & {
135
+ isDirective: boolean;
136
+ }, {}, string, {}> & {
85
137
  beforeCreate?: (() => void) | (() => void)[];
86
138
  created?: (() => void) | (() => void)[];
87
139
  beforeMount?: (() => void) | (() => void)[];
@@ -96,11 +148,11 @@ declare const BkLoading: {
96
148
  unmounted?: (() => void) | (() => void)[];
97
149
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
98
150
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
99
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
151
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
100
152
  };
101
153
  $forceUpdate: () => void;
102
154
  $nextTick: typeof import("vue").nextTick;
103
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
155
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
104
156
  } & Readonly<import("vue").ExtractPropTypes<{
105
157
  indicator: {
106
158
  type: FunctionConstructor;
@@ -115,19 +167,43 @@ declare const BkLoading: {
115
167
  } & {
116
168
  default: boolean;
117
169
  };
118
- theme: import("vue-types").VueTypeDef<string>;
170
+ theme: {
171
+ type: import("vue").PropType<"white" | "success" | "warning" | "danger" | "primary">;
172
+ };
119
173
  title: import("vue-types").VueTypeValidableDef<string> & {
120
174
  default: string;
121
175
  } & {
122
176
  default: string;
123
177
  };
124
- size: import("vue-types").VueTypeDef<string> & {
178
+ size: {
179
+ type: import("vue").PropType<"" | "small" | "large" | "mini">;
180
+ default: BkLoadingSize;
181
+ };
182
+ mode: {
183
+ type: import("vue").PropType<"default" | "spin">;
125
184
  default: string;
126
185
  };
127
- mode: import("vue-types").VueTypeDef<string> & {
186
+ opacity: import("vue-types").VueTypeValidableDef<number> & {
187
+ default: number;
188
+ } & {
189
+ default: number;
190
+ };
191
+ color: import("vue-types").VueTypeValidableDef<string> & {
192
+ default: string;
193
+ } & {
128
194
  default: string;
129
195
  };
130
- }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
196
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
197
+ default: number;
198
+ } & {
199
+ default: number;
200
+ };
201
+ isDirective: import("vue-types").VueTypeValidableDef<boolean> & {
202
+ default: boolean;
203
+ } & {
204
+ default: boolean;
205
+ };
206
+ }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
131
207
  __isFragment?: never;
132
208
  __isTeleport?: never;
133
209
  __isSuspense?: never;
@@ -145,25 +221,53 @@ declare const BkLoading: {
145
221
  } & {
146
222
  default: boolean;
147
223
  };
148
- theme: import("vue-types").VueTypeDef<string>;
224
+ theme: {
225
+ type: import("vue").PropType<"white" | "success" | "warning" | "danger" | "primary">;
226
+ };
149
227
  title: import("vue-types").VueTypeValidableDef<string> & {
150
228
  default: string;
151
229
  } & {
152
230
  default: string;
153
231
  };
154
- size: import("vue-types").VueTypeDef<string> & {
232
+ size: {
233
+ type: import("vue").PropType<"" | "small" | "large" | "mini">;
234
+ default: BkLoadingSize;
235
+ };
236
+ mode: {
237
+ type: import("vue").PropType<"default" | "spin">;
155
238
  default: string;
156
239
  };
157
- mode: import("vue-types").VueTypeDef<string> & {
240
+ opacity: import("vue-types").VueTypeValidableDef<number> & {
241
+ default: number;
242
+ } & {
243
+ default: number;
244
+ };
245
+ color: import("vue-types").VueTypeValidableDef<string> & {
158
246
  default: string;
247
+ } & {
248
+ default: string;
249
+ };
250
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
251
+ default: number;
252
+ } & {
253
+ default: number;
254
+ };
255
+ isDirective: import("vue-types").VueTypeValidableDef<boolean> & {
256
+ default: boolean;
257
+ } & {
258
+ default: boolean;
159
259
  };
160
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
260
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
161
261
  title: string;
262
+ zIndex: number;
263
+ mode: "default" | "spin";
264
+ color: string;
265
+ size: "" | "small" | "large" | "mini";
162
266
  inline: boolean;
163
- size: string;
267
+ opacity: number;
164
268
  loading: boolean;
165
- mode: string;
166
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
269
+ isDirective: boolean;
270
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
167
271
  setDefaultIndicator: typeof setDefaultIndicator;
168
272
  BkLoadingMode: typeof BkLoadingMode;
169
273
  BkLoadingSize: typeof BkLoadingSize;
@@ -1 +1 @@
1
- !function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],o);else{var t="object"==typeof exports?o(require("../shared"),require("vue")):o(e["../shared"],e.vue);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(self,((e,o)=>(()=>{"use strict";var t={4212:o=>{o.exports=e},748:e=>{e.exports=o}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.d=(e,o)=>{for(var t in o)r.o(o,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},r.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{r.r(a),r.d(a,{BkLoading:()=>s,BkLoadingMode:()=>t,BkLoadingSize:()=>n,default:()=>p,setDefaultIndicator:()=>d});var e=r(4212);function o(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var t,n,i,l=r(748);function d(e){i="function"==typeof e?e:function(){return(0,l.createVNode)(e,null,null)}}!function(e){e.Default="default",e.Spin="spin"}(t||(t={})),function(e){e.Normal="",e.Mini="mini",e.Small="small",e.Large="large"}(n||(n={}));var u={indicator:{type:Function},loading:e.PropTypes.bool.def(!0),inline:e.PropTypes.bool.def(!0),theme:e.PropTypes.theme(["white","primary","warning","success","danger"]),title:e.PropTypes.string.def(""),size:e.PropTypes.commonType(Object.values(n)).def(n.Normal),mode:e.PropTypes.commonType(Object.values(t)).def("default")};const c=(0,l.defineComponent)({name:"Loading",props:u,setup:function(n,r){var a=[1,2,3,4].map((function(e){return(0,l.createVNode)("span",{class:"dot dot-".concat(e)},null)})),d=(0,l.createVNode)("div",{class:"bk-spin-indicator"},[[1,2,3,4,5,6,7,8].map((function(e){return(0,l.createVNode)("span",{class:"oval oval-".concat(e)},null)}))]),u=(0,l.computed)((function(){return(0,e.classes)({"bk-loading-wrapper":n.loading,"bk-nested-loading":!!r.slots.default})})),c=(0,l.computed)((function(){var t;return(0,e.classes)((o(t={},"bk-loading-size-".concat(n.size),!!n.size),o(t,"bk-loading-".concat(n.theme),!!n.theme),t),"bk-loading-indicator")})),s=(0,l.computed)((function(){return!!n.title})),p=(0,l.computed)((function(){var e=n.mode===t.Spin;return"function"==typeof n.indicator?(0,l.createVNode)(n.indicator,null,null):"function"==typeof i?(0,l.createVNode)(i,null,null):e?d:a}));return function(){var e,o;return(0,l.createVNode)("div",{class:u.value},[n.loading&&[(0,l.createVNode)("div",{class:c.value},[p.value,s.value&&(0,l.createVNode)("div",{class:"bk-loading-title"},[n.title])]),r.slots.default&&(0,l.createVNode)("div",{class:"bk-loading-mask"},null)],null===(o=(e=r.slots).default)||void 0===o?void 0:o.call(e)])}}});var s=(0,e.withInstallProps)(c,{setDefaultIndicator:d,BkLoadingMode:t,BkLoadingSize:n},!0);const p=s})(),a})()));
1
+ !function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],o);else{var t="object"==typeof exports?o(require("../shared"),require("vue")):o(e["../shared"],e.vue);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(self,((e,o)=>(()=>{"use strict";var t={4212:o=>{o.exports=e},748:e=>{e.exports=o}},n={};function i(e){var o=n[e];if(void 0!==o)return o.exports;var r=n[e]={exports:{}};return t[e](r,r.exports,i),r.exports}i.d=(e,o)=>{for(var t in o)i.o(o,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},i.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{i.r(r),i.d(r,{BkLoading:()=>f,BkLoadingMode:()=>e,BkLoadingSize:()=>o,default:()=>m,setDefaultIndicator:()=>d});var e,o,t,n=i(4212),l=i(748);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(e,o,t){return(o=function(e){var o=function(e,o){if("object"!==a(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===a(o)?o:String(o)}(o))in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function d(e){t="function"==typeof e?e:function(){return(0,l.createVNode)(e,null,null)}}!function(e){e.Default="default",e.Spin="spin"}(e||(e={})),function(e){e.Normal="",e.Mini="mini",e.Small="small",e.Large="large"}(o||(o={}));var c={indicator:{type:Function},loading:n.PropTypes.bool.def(!0),inline:n.PropTypes.bool.def(!0),theme:{type:String},title:n.PropTypes.string.def(""),size:{type:String,default:o.Normal},mode:{type:String,default:"default"},opacity:n.PropTypes.number.def(.9),color:n.PropTypes.string.def("white"),zIndex:n.PropTypes.number.def(1),isDirective:n.PropTypes.bool.def(!1)};const s=(0,l.defineComponent)({name:"Loading",props:c,setup:function(o,i){var r=(0,l.createVNode)("div",{class:"bk-normal-indicator"},[[1,2,3,4].map((function(e){return(0,l.createVNode)("span",{class:"dot dot-".concat(e)},null)}))]),a=(0,l.createVNode)("div",{class:"bk-spin-indicator"},[[1,2,3,4,5,6,7,8].map((function(e){return(0,l.createVNode)("span",{class:"oval oval-".concat(e)},null)}))]),d=(0,l.computed)((function(){return{zIndex:o.zIndex}})),c=(0,l.computed)((function(){return Object.assign({opacity:o.opacity,backgroundColor:o.color},d.value)})),s=(0,l.computed)((function(){return(0,n.classes)({"bk-loading-wrapper":o.loading,"bk-nested-loading":!!i.slots.default,"bk-directive-loading":o.isDirective})})),p=(0,l.computed)((function(){var e;return(0,n.classes)((u(e={},"bk-loading-size-".concat(o.size),!!o.size),u(e,"bk-loading-".concat(o.theme),!!o.theme),e),"bk-loading-indicator")})),v=(0,l.computed)((function(){return!!o.title})),f=(0,l.computed)((function(){var n=o.mode===e.Spin;return"function"==typeof o.indicator?(0,l.createVNode)(o.indicator,null,null):"function"==typeof t?(0,l.createVNode)(t,null,null):n?a:r}));return function(){var e,t;return(0,l.createVNode)("div",{class:s.value},[null===(t=(e=i.slots).default)||void 0===t?void 0:t.call(e),o.loading&&[(i.slots.default||o.isDirective)&&(0,l.createVNode)("div",{class:"bk-loading-mask",style:c.value},null),(0,l.createVNode)("div",{class:p.value,style:d.value},[f.value,v.value&&(0,l.createVNode)("div",{class:"bk-loading-title"},[o.title])])]])}}});var p=Symbol("vBkLoading"),v={mounted:function(e,o){o.value&&function(e,o){var t,n,i,r,a,u=function(e){var t,n;return null!==(n=null===(t=o.value)||void 0===t?void 0:t[e])&&void 0!==n?n:void 0},d=(0,l.reactive)({indicator:u("indicator"),loading:null!==(t=u("loading"))&&void 0!==t&&t,inline:null!==(n=u("inline"))&&void 0!==n&&n,theme:u("theme"),title:null!==(i=u("title"))&&void 0!==i?i:"",size:null!==(r=u("size"))&&void 0!==r?r:"",mode:u("mode"),opacity:u("opacity"),color:null!==(a=u("color"))&&void 0!==a?a:"white",zIndex:u("zIndex"),isDirective:!0}),c=document.createElement("div");Object.assign(c.style,{position:"absolute",left:0,right:0,top:0,bottom:0}),Object.assign(e.style,{position:"relative"});var v=(0,l.createApp)({render:function(){return(0,l.h)(s,d)}});e[p]={options:d,instance:v,vm:v.mount(c)},e.appendChild(c)}(e,o)},updated:function(e,o){var t,n,i,r,l,a=e[p],u=o.value;r=u,l=a.options,Object.keys(r).forEach((function(e){r[e]!==l[e]&&(l[e]=r[e])})),(null===(i=null===(n=null===(t=null==a?void 0:a.vm)||void 0===t?void 0:t.$el)||void 0===n?void 0:n.parentNode)||void 0===i?void 0:i.style)&&(a.vm.$el.parentNode.style.display=u.loading?"":"none")},unmounted:function(e){var o,t,n,i=e[p];null==e||e.removeChild(null===(t=null===(o=null==i?void 0:i.vm)||void 0===o?void 0:o.$el)||void 0===t?void 0:t.parentNode),null===(n=null==i?void 0:i.instance)||void 0===n||n.unmount(),e[p]=null}},f=(0,n.withInstallProps)(s,{setDefaultIndicator:d,BkLoadingMode:e,BkLoadingSize:o},!0,{name:"loading",directive:v});const m=f})(),r})()));
@@ -27,21 +27,69 @@
27
27
  content: '';
28
28
  visibility: hidden;
29
29
  }
30
+ .bk-popper {
31
+ display: none;
32
+ padding: 7px 14px;
33
+ font-size: 12px;
34
+ color: #fff;
35
+ background: #333;
36
+ border-radius: 4px;
37
+ }
38
+ .bk-popper.light {
39
+ color: #63656e;
40
+ background: #fff;
41
+ box-shadow: #dcdee5 0 0 6px 0;
42
+ }
43
+ .bk-popper .bk-popper-arrow,
44
+ .bk-popper .bk-popper-arrow::before {
45
+ position: absolute;
46
+ width: 8px;
47
+ height: 8px;
48
+ background: inherit;
49
+ }
50
+ .bk-popper .bk-popper-arrow {
51
+ visibility: hidden;
52
+ }
53
+ .bk-popper .bk-popper-arrow::before {
54
+ content: '';
55
+ visibility: visible;
56
+ transform: rotate(45deg);
57
+ }
58
+ .bk-popper[data-show] {
59
+ display: block;
60
+ }
61
+ .bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
62
+ bottom: -4px;
63
+ }
64
+ .bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
65
+ top: -4px;
66
+ }
67
+ .bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
68
+ right: -4px;
69
+ }
70
+ .bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
71
+ left: -4px;
72
+ }
30
73
  .bk-loading-wrapper {
31
74
  position: static;
32
75
  vertical-align: middle;
33
76
  }
34
- .bk-loading-wrapper:not(.bk-nested-loading) {
77
+ .bk-loading-wrapper:not(.bk-nested-loading):not(.bk-directive-loading) {
35
78
  display: inline-flex;
36
79
  }
37
- .bk-loading-wrapper.bk-nested-loading {
38
- position: relative;
80
+ .bk-loading-wrapper.bk-directive-loading {
39
81
  width: 100%;
40
82
  height: 100%;
41
83
  }
84
+ .bk-loading-wrapper.bk-directive-loading,
85
+ .bk-loading-wrapper.bk-nested-loading {
86
+ position: relative;
87
+ }
88
+ .bk-loading-wrapper.bk-directive-loading.is-block,
42
89
  .bk-loading-wrapper.bk-nested-loading.is-block {
43
90
  display: block;
44
91
  }
92
+ .bk-loading-wrapper.bk-directive-loading .bk-loading-indicator,
45
93
  .bk-loading-wrapper.bk-nested-loading .bk-loading-indicator {
46
94
  position: absolute;
47
95
  top: 50%;
@@ -72,28 +120,19 @@
72
120
  animation-iteration-count: infinite;
73
121
  animation-name: fade;
74
122
  transform-origin: center 20px;
75
- animation-direction: normal;
76
123
  }
77
124
  .bk-loading-wrapper .bk-loading-mask {
78
- position: absolute;
79
- width: 100%;
80
- height: 100%;
81
- }
82
- .bk-loading-wrapper .bk-loading-mask::after {
83
125
  position: absolute;
84
126
  top: 0;
85
- right: 0;
86
- bottom: 0;
87
127
  left: 0;
88
- z-index: 10;
89
128
  width: 100%;
90
129
  height: 100%;
91
- background-color: rgba(255, 255, 255, 0.8);
92
- content: '';
93
130
  }
94
131
  .bk-loading-wrapper .bk-loading-indicator {
132
+ display: flex;
95
133
  line-height: 1;
96
134
  text-align: center;
135
+ flex-direction: column;
97
136
  }
98
137
  .bk-loading-wrapper .bk-loading-indicator.bk-loading-success .oval,
99
138
  .bk-loading-wrapper .bk-loading-indicator.bk-loading-success .dot,
@@ -161,36 +200,40 @@
161
200
  margin-right: 0px;
162
201
  }
163
202
  .bk-loading-wrapper .bk-loading-indicator .oval-1 {
164
- transform: rotate(-135deg);
165
- animation-delay: 0.6s;
203
+ transform: rotate(135deg);
204
+ animation-delay: -0.45s;
166
205
  }
167
206
  .bk-loading-wrapper .bk-loading-indicator .oval-2 {
168
- transform: rotate(-90deg);
169
- animation-delay: 0.75s;
207
+ transform: rotate(90deg);
208
+ animation-delay: -0.6s;
170
209
  }
171
210
  .bk-loading-wrapper .bk-loading-indicator .oval-3 {
172
- transform: rotate(-45deg);
173
- animation-delay: 0.9s;
211
+ transform: rotate(45deg);
212
+ animation-delay: -0.75s;
174
213
  }
175
214
  .bk-loading-wrapper .bk-loading-indicator .oval-4 {
176
215
  transform: rotate(0deg);
177
- animation-delay: 1.05s;
216
+ animation-delay: -0.9s;
178
217
  }
179
218
  .bk-loading-wrapper .bk-loading-indicator .oval-5 {
180
- transform: rotate(45deg);
181
- animation-delay: 1.2s;
219
+ transform: rotate(-45deg);
220
+ animation-delay: -1.05s;
182
221
  }
183
222
  .bk-loading-wrapper .bk-loading-indicator .oval-6 {
184
- transform: rotate(90deg);
185
- animation-delay: 1.35s;
223
+ transform: rotate(-90deg);
224
+ animation-delay: -1.2s;
186
225
  }
187
226
  .bk-loading-wrapper .bk-loading-indicator .oval-7 {
188
- transform: rotate(135deg);
189
- animation-delay: 1.5s;
227
+ transform: rotate(-135deg);
228
+ animation-delay: -1.35s;
190
229
  }
191
230
  .bk-loading-wrapper .bk-loading-indicator .oval-8 {
192
- transform: rotate(180deg);
193
- animation-delay: 1.65s;
231
+ transform: rotate(-180deg);
232
+ animation-delay: -1.5s;
233
+ }
234
+ .bk-loading-wrapper .bk-loading-indicator .bk-normal-indicator {
235
+ display: inline-flex;
236
+ justify-content: center;
194
237
  }
195
238
  .bk-loading-wrapper .bk-loading-indicator .bk-spin-indicator {
196
239
  position: relative;
@@ -1,4 +1,4 @@
1
- import { ExtractPropTypes } from 'vue';
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
2
  export declare enum BkLoadingMode {
3
3
  Default = "default",
4
4
  Spin = "spin"
@@ -24,20 +24,44 @@ export declare const loadingTypes: {
24
24
  } & {
25
25
  default: boolean;
26
26
  };
27
- theme: import("vue-types").VueTypeDef<string>;
27
+ theme: {
28
+ type: PropType<"white" | "success" | "warning" | "danger" | "primary">;
29
+ };
28
30
  title: import("vue-types").VueTypeValidableDef<string> & {
29
31
  default: string;
30
32
  } & {
31
33
  default: string;
32
34
  };
33
- size: import("vue-types").VueTypeDef<string> & {
35
+ size: {
36
+ type: PropType<"" | "small" | "large" | "mini">;
37
+ default: BkLoadingSize;
38
+ };
39
+ mode: {
40
+ type: PropType<"default" | "spin">;
34
41
  default: string;
35
42
  };
36
- mode: import("vue-types").VueTypeDef<string> & {
43
+ opacity: import("vue-types").VueTypeValidableDef<number> & {
44
+ default: number;
45
+ } & {
46
+ default: number;
47
+ };
48
+ color: import("vue-types").VueTypeValidableDef<string> & {
37
49
  default: string;
50
+ } & {
51
+ default: string;
52
+ };
53
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
54
+ default: number;
55
+ } & {
56
+ default: number;
57
+ };
58
+ isDirective: import("vue-types").VueTypeValidableDef<boolean> & {
59
+ default: boolean;
60
+ } & {
61
+ default: boolean;
38
62
  };
39
63
  };
40
- export declare type LoadingTypes = ExtractPropTypes<typeof loadingTypes>;
64
+ export type LoadingTypes = ExtractPropTypes<typeof loadingTypes>;
41
65
  declare const _default: import("vue").DefineComponent<{
42
66
  indicator: {
43
67
  type: FunctionConstructor;
@@ -52,19 +76,43 @@ declare const _default: import("vue").DefineComponent<{
52
76
  } & {
53
77
  default: boolean;
54
78
  };
55
- theme: import("vue-types").VueTypeDef<string>;
79
+ theme: {
80
+ type: PropType<"white" | "success" | "warning" | "danger" | "primary">;
81
+ };
56
82
  title: import("vue-types").VueTypeValidableDef<string> & {
57
83
  default: string;
58
84
  } & {
59
85
  default: string;
60
86
  };
61
- size: import("vue-types").VueTypeDef<string> & {
87
+ size: {
88
+ type: PropType<"" | "small" | "large" | "mini">;
89
+ default: BkLoadingSize;
90
+ };
91
+ mode: {
92
+ type: PropType<"default" | "spin">;
62
93
  default: string;
63
94
  };
64
- mode: import("vue-types").VueTypeDef<string> & {
95
+ opacity: import("vue-types").VueTypeValidableDef<number> & {
96
+ default: number;
97
+ } & {
98
+ default: number;
99
+ };
100
+ color: import("vue-types").VueTypeValidableDef<string> & {
101
+ default: string;
102
+ } & {
65
103
  default: string;
66
104
  };
67
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
105
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
106
+ default: number;
107
+ } & {
108
+ default: number;
109
+ };
110
+ isDirective: import("vue-types").VueTypeValidableDef<boolean> & {
111
+ default: boolean;
112
+ } & {
113
+ default: boolean;
114
+ };
115
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
68
116
  indicator: {
69
117
  type: FunctionConstructor;
70
118
  };
@@ -78,23 +126,51 @@ declare const _default: import("vue").DefineComponent<{
78
126
  } & {
79
127
  default: boolean;
80
128
  };
81
- theme: import("vue-types").VueTypeDef<string>;
129
+ theme: {
130
+ type: PropType<"white" | "success" | "warning" | "danger" | "primary">;
131
+ };
82
132
  title: import("vue-types").VueTypeValidableDef<string> & {
83
133
  default: string;
84
134
  } & {
85
135
  default: string;
86
136
  };
87
- size: import("vue-types").VueTypeDef<string> & {
137
+ size: {
138
+ type: PropType<"" | "small" | "large" | "mini">;
139
+ default: BkLoadingSize;
140
+ };
141
+ mode: {
142
+ type: PropType<"default" | "spin">;
88
143
  default: string;
89
144
  };
90
- mode: import("vue-types").VueTypeDef<string> & {
145
+ opacity: import("vue-types").VueTypeValidableDef<number> & {
146
+ default: number;
147
+ } & {
148
+ default: number;
149
+ };
150
+ color: import("vue-types").VueTypeValidableDef<string> & {
151
+ default: string;
152
+ } & {
91
153
  default: string;
92
154
  };
155
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
156
+ default: number;
157
+ } & {
158
+ default: number;
159
+ };
160
+ isDirective: import("vue-types").VueTypeValidableDef<boolean> & {
161
+ default: boolean;
162
+ } & {
163
+ default: boolean;
164
+ };
93
165
  }>>, {
94
166
  title: string;
167
+ zIndex: number;
168
+ mode: "default" | "spin";
169
+ color: string;
170
+ size: "" | "small" | "large" | "mini";
95
171
  inline: boolean;
96
- size: string;
172
+ opacity: number;
97
173
  loading: boolean;
98
- mode: string;
99
- }>;
174
+ isDirective: boolean;
175
+ }, {}>;
100
176
  export default _default;