bkui-vue 0.0.1-beta.42 → 0.0.1-beta.420

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 (697) hide show
  1. package/License.txt +14 -0
  2. package/dist/index.cjs.js +160 -35
  3. package/dist/index.esm.js +33010 -12993
  4. package/dist/index.umd.js +160 -35
  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.css +3 -0
  16. package/lib/affix/affix.d.ts +47 -0
  17. package/lib/affix/affix.less +5 -0
  18. package/lib/affix/affix.variable.css +125 -0
  19. package/lib/affix/index.d.ts +143 -0
  20. package/lib/affix/index.js +1 -0
  21. package/lib/alert/alert.css +9 -3
  22. package/lib/alert/alert.d.ts +5 -5
  23. package/lib/alert/alert.less +29 -20
  24. package/lib/alert/alert.variable.css +41 -6
  25. package/lib/alert/index.d.ts +11 -11
  26. package/lib/alert/index.js +1 -0
  27. package/lib/animate-number/animate-number.d.ts +1 -1
  28. package/lib/animate-number/index.d.ts +4 -4
  29. package/lib/animate-number/{animate-number.js → index.js} +1 -1
  30. package/lib/backtop/backtop.css +8 -0
  31. package/lib/backtop/backtop.d.ts +1 -1
  32. package/lib/backtop/backtop.less +8 -0
  33. package/lib/backtop/backtop.variable.css +40 -3
  34. package/lib/backtop/index.d.ts +4 -4
  35. package/lib/backtop/index.js +1 -0
  36. package/lib/badge/badge.css +7 -10
  37. package/lib/badge/badge.d.ts +28 -7
  38. package/lib/badge/badge.less +9 -11
  39. package/lib/badge/badge.variable.css +39 -13
  40. package/lib/badge/index.d.ts +68 -18
  41. package/lib/badge/index.js +1 -0
  42. package/lib/breadcrumb/breadcrumb-item.d.ts +4 -2
  43. package/lib/breadcrumb/breadcrumb.css +51 -0
  44. package/lib/breadcrumb/breadcrumb.variable.css +88 -8
  45. package/lib/breadcrumb/index.d.ts +4 -2
  46. package/lib/breadcrumb/index.js +1 -0
  47. package/lib/button/button-group.d.ts +2 -2
  48. package/lib/button/button.css +85 -50
  49. package/lib/button/button.d.ts +44 -24
  50. package/lib/button/button.less +72 -42
  51. package/lib/button/button.variable.css +117 -53
  52. package/lib/button/index.d.ts +70 -40
  53. package/lib/button/index.js +1 -0
  54. package/lib/card/card.css +96 -1
  55. package/lib/card/card.d.ts +47 -6
  56. package/lib/card/card.less +50 -2
  57. package/lib/card/card.variable.css +132 -8
  58. package/lib/card/index.d.ts +113 -17
  59. package/lib/card/index.js +1 -0
  60. package/lib/cascader/cascader-panel.d.ts +100 -0
  61. package/lib/cascader/cascader.css +309 -0
  62. package/lib/cascader/cascader.d.ts +341 -0
  63. package/lib/cascader/cascader.less +276 -0
  64. package/lib/cascader/cascader.variable.css +431 -0
  65. package/lib/cascader/index.d.ts +957 -0
  66. package/lib/cascader/index.js +1 -0
  67. package/lib/cascader/interface.d.ts +51 -0
  68. package/lib/cascader/node.d.ts +31 -0
  69. package/lib/cascader/store.d.ts +25 -0
  70. package/lib/checkbox/checkbox-group.d.ts +16 -0
  71. package/lib/checkbox/checkbox.css +51 -11
  72. package/lib/checkbox/checkbox.d.ts +36 -24
  73. package/lib/checkbox/checkbox.less +84 -32
  74. package/lib/checkbox/checkbox.variable.css +83 -14
  75. package/lib/checkbox/common.d.ts +4 -3
  76. package/lib/checkbox/index.d.ts +70 -38
  77. package/lib/checkbox/index.js +1 -0
  78. package/lib/checkbox/type.d.ts +2 -6
  79. package/lib/code-diff/code-diff.css +27 -7
  80. package/lib/code-diff/code-diff.d.ts +1 -1
  81. package/lib/code-diff/code-diff.less +42 -7
  82. package/lib/code-diff/code-diff.variable.css +59 -10
  83. package/lib/code-diff/index.js +1 -0
  84. package/lib/collapse/collapse-panel.d.ts +83 -0
  85. package/lib/collapse/collapse.css +28 -12
  86. package/lib/collapse/collapse.d.ts +11 -52
  87. package/lib/collapse/collapse.less +54 -29
  88. package/lib/collapse/collapse.variable.css +150 -12
  89. package/lib/collapse/index.d.ts +132 -20
  90. package/lib/collapse/index.js +1 -0
  91. package/lib/collapse/props.d.ts +86 -0
  92. package/lib/collapse/utils.d.ts +11 -0
  93. package/lib/collapse-transition/collapse-transition.css +93 -0
  94. package/lib/collapse-transition/collapse-transition.d.ts +15 -0
  95. package/lib/collapse-transition/collapse-transition.less +111 -0
  96. package/lib/collapse-transition/collapse-transition.variable.css +215 -0
  97. package/lib/collapse-transition/index.d.ts +2 -0
  98. package/lib/collapse-transition/index.js +1 -0
  99. package/lib/color-picker/color-picker.css +275 -0
  100. package/lib/color-picker/color-picker.d.ts +144 -0
  101. package/lib/color-picker/color-picker.less +325 -0
  102. package/lib/color-picker/color-picker.variable.css +397 -0
  103. package/lib/color-picker/components/color-input.d.ts +42 -0
  104. package/lib/color-picker/components/hue-slider.d.ts +41 -0
  105. package/lib/color-picker/components/input-container.d.ts +42 -0
  106. package/lib/color-picker/components/recommend-colors.d.ts +51 -0
  107. package/lib/color-picker/components/saturation-panel.d.ts +41 -0
  108. package/lib/color-picker/index.d.ts +254 -0
  109. package/lib/color-picker/index.js +1 -0
  110. package/lib/color-picker/utils.d.ts +37 -0
  111. package/lib/components.d.ts +30 -8
  112. package/lib/components.js +1 -0
  113. package/lib/config-provider/config-provider.css +0 -0
  114. package/lib/config-provider/config-provider.d.ts +259 -0
  115. package/lib/config-provider/config-provider.less +1 -0
  116. package/lib/config-provider/config-provider.variable.css +122 -0
  117. package/lib/config-provider/index.d.ts +562 -0
  118. package/lib/config-provider/index.js +1 -0
  119. package/lib/config-provider/type.d.ts +125 -0
  120. package/lib/container/col.d.ts +51 -0
  121. package/lib/container/container.css +91 -0
  122. package/lib/container/container.d.ts +83 -0
  123. package/lib/container/container.less +20 -0
  124. package/lib/container/container.variable.css +213 -0
  125. package/lib/container/index.d.ts +223 -0
  126. package/lib/container/index.js +1 -0
  127. package/lib/container/row.d.ts +4 -0
  128. package/lib/date-picker/base/confirm.d.ts +74 -0
  129. package/lib/date-picker/base/date-table.d.ts +96 -0
  130. package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
  131. package/lib/date-picker/base/time-spinner.d.ts +170 -0
  132. package/lib/date-picker/date-picker.css +28 -1
  133. package/lib/date-picker/date-picker.d.ts +49 -20
  134. package/lib/date-picker/date-picker.less +106 -74
  135. package/lib/date-picker/date-picker.variable.css +60 -4
  136. package/lib/date-picker/index.d.ts +121 -54
  137. package/lib/date-picker/index.js +1 -0
  138. package/lib/date-picker/interface.d.ts +11 -1
  139. package/lib/date-picker/panel/date-range.d.ts +328 -0
  140. package/lib/date-picker/panel/date.d.ts +206 -0
  141. package/lib/date-picker/panel/time-range.d.ts +489 -0
  142. package/lib/date-picker/panel/time.d.ts +448 -0
  143. package/lib/date-picker/props.d.ts +55 -5
  144. package/lib/date-picker/time-picker.d.ts +381 -0
  145. package/lib/date-picker/utils.d.ts +22 -2
  146. package/lib/dialog/dialog.css +136 -24
  147. package/lib/dialog/dialog.d.ts +249 -58
  148. package/lib/dialog/dialog.less +100 -38
  149. package/lib/dialog/dialog.variable.css +258 -24
  150. package/lib/dialog/index.d.ts +553 -126
  151. package/lib/dialog/index.js +1 -0
  152. package/lib/dialog/props.d.ts +124 -0
  153. package/lib/directives/ellipsis.d.ts +7 -0
  154. package/lib/directives/index.d.ts +2 -0
  155. package/lib/directives/index.js +2 -0
  156. package/lib/directives/tooltips.d.ts +2 -1
  157. package/lib/dist.index.js +1 -0
  158. package/lib/divider/divider.d.ts +15 -15
  159. package/lib/divider/divider.variable.css +32 -3
  160. package/lib/divider/index.d.ts +34 -34
  161. package/lib/divider/index.js +1 -0
  162. package/lib/divider/props.d.ts +6 -6
  163. package/lib/dropdown/dropdown.css +13 -7
  164. package/lib/dropdown/dropdown.d.ts +46 -14
  165. package/lib/dropdown/dropdown.less +47 -34
  166. package/lib/dropdown/dropdown.variable.css +45 -10
  167. package/lib/dropdown/index.d.ts +99 -35
  168. package/lib/dropdown/index.js +1 -0
  169. package/lib/exception/exception.css +40 -14
  170. package/lib/exception/exception.d.ts +31 -11
  171. package/lib/exception/exception.less +59 -22
  172. package/lib/exception/exception.variable.css +72 -17
  173. package/lib/exception/index.d.ts +43 -26
  174. package/lib/exception/index.js +1 -0
  175. package/lib/exception/typings/index.d.ts +4 -0
  176. package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
  177. package/lib/fixed-navbar/fixed-navbar.variable.css +32 -3
  178. package/lib/fixed-navbar/index.d.ts +40 -5
  179. package/lib/fixed-navbar/{fixed-navbar.js → index.js} +1 -1
  180. package/lib/form/compose-form-item.d.ts +16 -0
  181. package/lib/form/form-item.d.ts +22 -7
  182. package/lib/form/form.css +103 -15
  183. package/lib/form/form.d.ts +38 -14
  184. package/lib/form/form.less +152 -46
  185. package/lib/form/form.variable.css +225 -15
  186. package/lib/form/index.d.ts +108 -35
  187. package/lib/form/index.js +1 -0
  188. package/lib/form/type.d.ts +8 -7
  189. package/lib/form/utils.d.ts +2 -0
  190. package/lib/form/validator.d.ts +1 -0
  191. package/lib/icon/angle-double-down-line.js +1 -1
  192. package/lib/icon/angle-double-left-line.js +1 -1
  193. package/lib/icon/angle-double-left.js +1 -1
  194. package/lib/icon/angle-double-right-line.js +1 -1
  195. package/lib/icon/angle-double-right.js +1 -1
  196. package/lib/icon/angle-double-up-line.js +1 -1
  197. package/lib/icon/angle-down-fill.js +1 -1
  198. package/lib/icon/angle-down-line.js +1 -1
  199. package/lib/icon/angle-down.js +1 -1
  200. package/lib/icon/angle-left.js +1 -1
  201. package/lib/icon/angle-right.js +1 -1
  202. package/lib/icon/angle-up-fill.js +1 -1
  203. package/lib/icon/angle-up.js +1 -1
  204. package/lib/icon/archive-fill.d.ts +4 -0
  205. package/lib/icon/archive-fill.js +1 -0
  206. package/lib/icon/arrows-left.js +1 -1
  207. package/lib/icon/arrows-right.js +1 -1
  208. package/lib/icon/audio-fill.d.ts +4 -0
  209. package/lib/icon/audio-fill.js +1 -0
  210. package/lib/icon/bk.js +1 -1
  211. package/lib/icon/circle.js +1 -1
  212. package/lib/icon/close-line.d.ts +4 -0
  213. package/lib/icon/close-line.js +1 -0
  214. package/lib/icon/close.js +1 -1
  215. package/lib/icon/code.js +1 -1
  216. package/lib/icon/cog-shape.js +1 -1
  217. package/lib/icon/collapse-left.js +1 -1
  218. package/lib/icon/copy.js +1 -1
  219. package/lib/icon/data-shape.d.ts +4 -0
  220. package/lib/icon/data-shape.js +1 -0
  221. package/lib/icon/del.d.ts +4 -0
  222. package/lib/icon/del.js +1 -0
  223. package/lib/icon/doc-fill.d.ts +4 -0
  224. package/lib/icon/doc-fill.js +1 -0
  225. package/lib/icon/done.js +1 -1
  226. package/lib/icon/down-shape.js +1 -1
  227. package/lib/icon/down-small.js +1 -1
  228. package/lib/icon/edit-line.d.ts +4 -0
  229. package/lib/icon/edit-line.js +1 -0
  230. package/lib/icon/ellipsis.js +1 -1
  231. package/lib/icon/enlarge-line.d.ts +4 -0
  232. package/lib/icon/enlarge-line.js +1 -0
  233. package/lib/icon/error.js +1 -1
  234. package/lib/icon/excel-fill.d.ts +4 -0
  235. package/lib/icon/excel-fill.js +1 -0
  236. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  237. package/lib/icon/exclamation-circle-shape.js +1 -0
  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/folder-open.js +1 -1
  242. package/lib/icon/folder-shape-open.js +1 -1
  243. package/lib/icon/folder-shape.js +1 -1
  244. package/lib/icon/folder.js +1 -1
  245. package/lib/icon/funnel.d.ts +4 -0
  246. package/lib/icon/funnel.js +1 -0
  247. package/lib/icon/help-document-fill.js +1 -1
  248. package/lib/icon/help-fill.js +1 -1
  249. package/lib/icon/help.js +1 -1
  250. package/lib/icon/image-fill.d.ts +4 -0
  251. package/lib/icon/image-fill.js +1 -0
  252. package/lib/icon/img-error.d.ts +4 -0
  253. package/lib/icon/img-placehoulder.d.ts +4 -0
  254. package/lib/icon/img-placehoulder.js +1 -0
  255. package/lib/icon/index.d.ts +27 -1
  256. package/lib/icon/index.js +1 -0
  257. package/lib/icon/info-line.js +1 -1
  258. package/lib/icon/info.js +1 -1
  259. package/lib/icon/left-shape.js +1 -1
  260. package/lib/icon/left-turn-line.d.ts +4 -0
  261. package/lib/icon/left-turn-line.js +1 -0
  262. package/lib/icon/narrow-line.d.ts +4 -0
  263. package/lib/icon/narrow-line.js +1 -0
  264. package/lib/icon/original.d.ts +4 -0
  265. package/lib/icon/original.js +1 -0
  266. package/lib/icon/pdf-fill.d.ts +4 -0
  267. package/lib/icon/pdf-fill.js +1 -0
  268. package/lib/icon/play-shape.js +1 -1
  269. package/lib/icon/plus.js +1 -1
  270. package/lib/icon/ppt-fill.d.ts +4 -0
  271. package/lib/icon/ppt-fill.js +1 -0
  272. package/lib/icon/qq.js +1 -1
  273. package/lib/icon/right-shape.js +1 -1
  274. package/lib/icon/right-turn-line.d.ts +4 -0
  275. package/lib/icon/right-turn-line.js +1 -0
  276. package/lib/icon/search.js +1 -1
  277. package/lib/icon/share.js +1 -1
  278. package/lib/icon/spinner.js +1 -1
  279. package/lib/icon/success.js +1 -1
  280. package/lib/icon/switcher-loading.js +1 -1
  281. package/lib/icon/text-file.js +1 -1
  282. package/lib/icon/text-fill.d.ts +4 -0
  283. package/lib/icon/text-fill.js +1 -0
  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.d.ts +4 -0
  292. package/lib/icon/upload.js +1 -0
  293. package/lib/icon/video-fill.d.ts +4 -0
  294. package/lib/icon/video-fill.js +1 -0
  295. package/lib/icon/warn.js +1 -1
  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 +246 -0
  306. package/lib/image/index.js +1 -0
  307. package/lib/image/props.d.ts +71 -0
  308. package/lib/index.d.ts +2 -1
  309. package/lib/index.js +1 -0
  310. package/lib/info-box/index.d.ts +7 -0
  311. package/lib/info-box/index.js +1 -0
  312. package/lib/info-box/info-box.css +37 -0
  313. package/lib/info-box/info-box.d.ts +28 -0
  314. package/lib/info-box/info-box.less +51 -0
  315. package/lib/info-box/info-box.variable.css +159 -0
  316. package/lib/input/index.d.ts +175 -90
  317. package/lib/input/index.js +1 -0
  318. package/lib/input/input.css +183 -22
  319. package/lib/input/input.d.ts +119 -36
  320. package/lib/input/input.less +112 -20
  321. package/lib/input/input.variable.css +246 -57
  322. package/lib/link/index.d.ts +29 -21
  323. package/lib/link/index.js +1 -0
  324. package/lib/link/link.css +12 -12
  325. package/lib/link/link.d.ts +10 -8
  326. package/lib/link/link.less +16 -14
  327. package/lib/link/link.variable.css +44 -15
  328. package/lib/loading/index.d.ts +112 -19
  329. package/lib/loading/index.js +1 -0
  330. package/lib/loading/loading.css +78 -32
  331. package/lib/loading/loading.d.ts +78 -12
  332. package/lib/loading/loading.less +20 -22
  333. package/lib/loading/loading.variable.css +126 -51
  334. package/lib/locale/index.d.ts +3 -0
  335. package/lib/locale/index.js +1 -0
  336. package/lib/locale/lang/en.d.ts +120 -0
  337. package/lib/locale/lang/zh-cn.d.ts +3 -0
  338. package/lib/menu/index.d.ts +16 -24
  339. package/lib/menu/index.js +1 -0
  340. package/lib/menu/menu.css +51 -0
  341. package/lib/menu/menu.d.ts +7 -16
  342. package/lib/menu/menu.variable.css +101 -21
  343. package/lib/menu/submenu.variable.css +32 -3
  344. package/lib/message/index.js +1 -0
  345. package/lib/message/message.css +17 -5
  346. package/lib/message/message.less +21 -6
  347. package/lib/message/message.variable.css +49 -8
  348. package/lib/message/messageConstructor.d.ts +14 -11
  349. package/lib/modal/index.d.ts +469 -78
  350. package/lib/modal/index.js +1 -0
  351. package/lib/modal/modal.css +63 -1
  352. package/lib/modal/modal.d.ts +179 -30
  353. package/lib/modal/modal.less +39 -3
  354. package/lib/modal/modal.variable.css +185 -1
  355. package/lib/modal/props.mixin.d.ts +76 -13
  356. package/lib/navigation/index.d.ts +310 -1
  357. package/lib/navigation/index.js +1 -0
  358. package/lib/navigation/navigation.css +1 -1
  359. package/lib/navigation/navigation.d.ts +10 -1
  360. package/lib/navigation/navigation.less +1 -1
  361. package/lib/navigation/navigation.variable.css +33 -4
  362. package/lib/notify/index.js +1 -0
  363. package/lib/notify/notify.css +25 -5
  364. package/lib/notify/notify.less +29 -6
  365. package/lib/notify/notify.variable.css +57 -8
  366. package/lib/notify/notifyConstructor.d.ts +62 -21
  367. package/lib/overflow-title/components/overflow-title.d.ts +38 -0
  368. package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
  369. package/lib/overflow-title/index.d.ts +129 -0
  370. package/lib/overflow-title/index.js +1 -0
  371. package/lib/overflow-title/overflow.css +11 -0
  372. package/lib/overflow-title/overflow.less +13 -0
  373. package/lib/overflow-title/overflow.variable.css +11 -0
  374. package/lib/overflow-title/props.d.ts +16 -0
  375. package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
  376. package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
  377. package/lib/pagination/index.d.ts +35 -20
  378. package/lib/pagination/index.js +1 -0
  379. package/lib/pagination/pagination.css +54 -28
  380. package/lib/pagination/pagination.d.ts +18 -8
  381. package/lib/pagination/pagination.less +59 -30
  382. package/lib/pagination/pagination.variable.css +86 -31
  383. package/lib/pagination/use-limit.d.ts +3 -1
  384. package/lib/pagination/use-total.d.ts +3 -1
  385. package/lib/plugin-popover/index.d.ts +27 -0
  386. package/lib/plugin-popover/index.js +1 -0
  387. package/lib/plugins/index.d.ts +1 -0
  388. package/lib/plugins/index.js +1 -0
  389. package/lib/pop-confirm/index.d.ts +214 -0
  390. package/lib/pop-confirm/index.js +1 -0
  391. package/lib/pop-confirm/pop-confirm.css +28 -0
  392. package/lib/pop-confirm/pop-confirm.d.ts +79 -0
  393. package/lib/pop-confirm/pop-confirm.less +34 -0
  394. package/lib/pop-confirm/pop-confirm.variable.css +150 -0
  395. package/lib/pop-confirm/props.d.ts +59 -0
  396. package/lib/popover/arrow.d.ts +2 -0
  397. package/lib/popover/const.d.ts +16 -0
  398. package/lib/popover/content.d.ts +43 -0
  399. package/lib/popover/index.d.ts +504 -97
  400. package/lib/popover/index.js +1 -0
  401. package/lib/popover/plugin-popover.d.ts +12 -0
  402. package/lib/popover/popover.css +10 -50
  403. package/lib/popover/popover.d.ts +222 -43
  404. package/lib/popover/popover.less +19 -66
  405. package/lib/popover/popover.variable.css +42 -53
  406. package/lib/popover/props.d.ts +110 -30
  407. package/lib/popover/reference.d.ts +2 -0
  408. package/lib/popover/root.d.ts +16 -0
  409. package/lib/popover/use-floating.d.ts +34 -0
  410. package/lib/popover/use-platform.d.ts +30 -0
  411. package/lib/popover/use-popover-init.d.ts +23 -0
  412. package/lib/popover/use-popper-id.d.ts +6 -0
  413. package/lib/popover/utils.d.ts +3 -0
  414. package/lib/popover2/index.d.ts +44 -0
  415. package/lib/popover2/index.js +1 -0
  416. package/lib/popover2/popover.d.ts +2 -0
  417. package/lib/preset.d.ts +244 -2
  418. package/lib/preset.js +1 -0
  419. package/lib/process/index.d.ts +9 -9
  420. package/lib/process/index.js +1 -0
  421. package/lib/process/process.css +22 -0
  422. package/lib/process/process.d.ts +2 -2
  423. package/lib/process/process.less +30 -2
  424. package/lib/process/process.variable.css +54 -3
  425. package/lib/progress/index.d.ts +25 -25
  426. package/lib/progress/index.js +1 -0
  427. package/lib/progress/progress.css +51 -0
  428. package/lib/progress/progress.d.ts +10 -10
  429. package/lib/progress/progress.variable.css +87 -7
  430. package/lib/radio/common.d.ts +5 -5
  431. package/lib/radio/index.d.ts +36 -18
  432. package/lib/radio/index.js +1 -0
  433. package/lib/radio/radio-button.d.ts +7 -8
  434. package/lib/radio/radio-group.d.ts +26 -0
  435. package/lib/radio/radio.css +119 -66
  436. package/lib/radio/radio.d.ts +4 -4
  437. package/lib/radio/radio.less +253 -173
  438. package/lib/radio/radio.variable.css +154 -72
  439. package/lib/radio/type.d.ts +9 -4
  440. package/lib/rate/index.d.ts +28 -5
  441. package/lib/rate/index.js +1 -0
  442. package/lib/rate/rate.d.ts +13 -2
  443. package/lib/rate/star.d.ts +1 -1
  444. package/lib/resize-layout/index.d.ts +18 -18
  445. package/lib/resize-layout/index.js +1 -0
  446. package/lib/resize-layout/resize-layout.css +3 -15
  447. package/lib/resize-layout/resize-layout.d.ts +7 -7
  448. package/lib/resize-layout/resize-layout.less +3 -19
  449. package/lib/resize-layout/resize-layout.variable.css +35 -18
  450. package/lib/search-select/index.d.ts +841 -0
  451. package/lib/search-select/index.js +1 -0
  452. package/lib/search-select/input.d.ts +98 -0
  453. package/lib/search-select/menu.d.ts +76 -0
  454. package/lib/search-select/search-select.css +424 -0
  455. package/lib/search-select/search-select.d.ts +343 -0
  456. package/lib/search-select/search-select.less +380 -0
  457. package/lib/search-select/search-select.variable.css +546 -0
  458. package/lib/search-select/selected.d.ts +152 -0
  459. package/lib/search-select/utils.d.ts +88 -0
  460. package/lib/select/common.d.ts +5 -12
  461. package/lib/select/index.d.ts +1324 -639
  462. package/lib/select/index.js +1 -0
  463. package/lib/select/option.d.ts +12 -4
  464. package/lib/select/optionGroup.d.ts +1 -1
  465. package/lib/select/select.css +186 -113
  466. package/lib/select/select.d.ts +495 -146
  467. package/lib/select/select.less +320 -202
  468. package/lib/select/select.variable.css +218 -116
  469. package/lib/select/selectTagInput.d.ts +94 -0
  470. package/lib/select/type.d.ts +21 -13
  471. package/lib/shared/dom.d.ts +3 -0
  472. package/lib/shared/helper.d.ts +9 -0
  473. package/lib/shared/hooks/use-form-item.d.ts +2 -0
  474. package/lib/shared/hooks/use-form.d.ts +2 -0
  475. package/lib/shared/index.d.ts +22 -0
  476. package/lib/shared/index.js +1 -0
  477. package/lib/shared/mask-manager.d.ts +6 -2
  478. package/lib/shared/pop-manager.d.ts +16 -4
  479. package/lib/shared/popover.d.ts +6 -2
  480. package/lib/shared/token.d.ts +4 -0
  481. package/lib/shared/utils.d.ts +19 -0
  482. package/lib/shared/vue-types.d.ts +107 -7
  483. package/lib/sideslider/index.d.ts +354 -72
  484. package/lib/sideslider/index.js +1 -0
  485. package/lib/sideslider/sideslider.css +55 -10
  486. package/lib/sideslider/sideslider.d.ts +165 -32
  487. package/lib/sideslider/sideslider.less +72 -13
  488. package/lib/sideslider/sideslider.variable.css +87 -13
  489. package/lib/slider/index.d.ts +414 -1
  490. package/lib/slider/index.js +1 -0
  491. package/lib/slider/slider-button.d.ts +2 -1
  492. package/lib/slider/slider.d.ts +4 -4
  493. package/lib/slider/slider.variable.css +32 -3
  494. package/lib/steps/index.d.ts +52 -52
  495. package/lib/steps/index.js +1 -0
  496. package/lib/steps/steps.css +15 -3
  497. package/lib/steps/steps.d.ts +32 -32
  498. package/lib/steps/steps.less +24 -3
  499. package/lib/steps/steps.variable.css +47 -6
  500. package/lib/styles/index.d.ts +10 -1
  501. package/lib/styles/mixins/clearfix.css +8 -0
  502. package/lib/styles/mixins/clearfix.less +10 -0
  503. package/lib/styles/mixins/clearfix.variable.css +8 -0
  504. package/lib/styles/mixins/mixins.css +51 -0
  505. package/lib/styles/mixins/mixins.less +2 -0
  506. package/lib/styles/mixins/mixins.variable.css +51 -0
  507. package/lib/styles/mixins/popper.css +1 -1
  508. package/lib/styles/mixins/popper.less +12 -11
  509. package/lib/styles/mixins/popper.variable.css +123 -1
  510. package/lib/styles/mixins/scroll.css +17 -0
  511. package/lib/styles/mixins/scroll.less +22 -0
  512. package/lib/styles/mixins/scroll.variable.css +139 -0
  513. package/lib/styles/reset.css +36 -0
  514. package/lib/styles/reset.less +26 -2
  515. package/lib/styles/reset.variable.css +36 -0
  516. package/lib/styles/themes/themes.less +42 -3
  517. package/lib/swiper/index.js +1 -0
  518. package/lib/switcher/index.d.ts +42 -30
  519. package/lib/switcher/index.js +1 -0
  520. package/lib/switcher/switcher.css +57 -6
  521. package/lib/switcher/switcher.d.ts +19 -13
  522. package/lib/switcher/switcher.less +5 -26
  523. package/lib/switcher/switcher.variable.css +106 -26
  524. package/lib/tab/index.d.ts +112 -65
  525. package/lib/tab/index.js +1 -0
  526. package/lib/tab/props.d.ts +58 -10
  527. package/lib/tab/tab-nav.d.ts +49 -13
  528. package/lib/tab/tab-panel.d.ts +8 -8
  529. package/lib/tab/tab.css +147 -53
  530. package/lib/tab/tab.d.ts +41 -20
  531. package/lib/tab/tab.less +176 -84
  532. package/lib/tab/tab.variable.css +179 -56
  533. package/lib/table/cache.d.ts +6 -0
  534. package/lib/table/components/index.d.ts +3 -0
  535. package/lib/table/components/table-cell.d.ts +51 -0
  536. package/lib/table/components/table-column.d.ts +187 -0
  537. package/lib/table/components/table-row.d.ts +2 -0
  538. package/lib/table/const.d.ts +123 -1
  539. package/lib/table/index.d.ts +1048 -44
  540. package/lib/table/index.js +1 -0
  541. package/lib/table/plugins/body-empty.d.ts +36 -0
  542. package/lib/table/plugins/col-group.d.ts +38 -0
  543. package/lib/table/plugins/common.d.ts +6 -0
  544. package/lib/table/plugins/head-filter.css +84 -0
  545. package/lib/table/plugins/head-filter.d.ts +26 -0
  546. package/lib/table/plugins/head-filter.less +110 -0
  547. package/lib/table/plugins/head-filter.variable.css +206 -0
  548. package/lib/table/plugins/head-sort.css +25 -0
  549. package/lib/table/plugins/head-sort.d.ts +22 -0
  550. package/lib/table/plugins/head-sort.less +31 -0
  551. package/lib/table/plugins/head-sort.variable.css +147 -0
  552. package/lib/table/plugins/index.d.ts +5 -0
  553. package/lib/table/plugins/settings.css +147 -0
  554. package/lib/table/plugins/settings.d.ts +37 -0
  555. package/lib/table/plugins/settings.less +181 -0
  556. package/lib/table/plugins/settings.variable.css +269 -0
  557. package/lib/table/plugins/use-active-columns.d.ts +16 -0
  558. package/lib/table/plugins/use-column-resize.d.ts +15 -0
  559. package/lib/table/plugins/use-fixed-column.d.ts +26 -0
  560. package/lib/table/plugins/use-pagination.d.ts +16 -0
  561. package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
  562. package/lib/table/props.d.ts +356 -8
  563. package/lib/table/render.d.ts +48 -4
  564. package/lib/table/table.css +1208 -12
  565. package/lib/table/table.d.ts +256 -18
  566. package/lib/table/table.less +273 -16
  567. package/lib/table/table.variable.css +1250 -25
  568. package/lib/table/use-column.d.ts +11 -0
  569. package/lib/table/use-common.d.ts +112 -0
  570. package/lib/table/utils.d.ts +71 -11
  571. package/lib/table-column/index.d.ts +475 -0
  572. package/lib/table-column/index.js +1 -0
  573. package/lib/tag/index.d.ts +29 -29
  574. package/lib/tag/index.js +1 -0
  575. package/lib/tag/tag.css +46 -13
  576. package/lib/tag/tag.d.ts +12 -12
  577. package/lib/tag/tag.less +46 -10
  578. package/lib/tag/tag.variable.css +78 -16
  579. package/lib/tag-input/common.d.ts +13 -1
  580. package/lib/tag-input/index.d.ts +1383 -1
  581. package/lib/tag-input/index.js +1 -0
  582. package/lib/tag-input/list-tag-render.d.ts +0 -3
  583. package/lib/tag-input/tag-input.css +23 -26
  584. package/lib/tag-input/tag-input.d.ts +292 -44
  585. package/lib/tag-input/tag-input.less +102 -104
  586. package/lib/tag-input/tag-input.variable.css +55 -29
  587. package/lib/tag-input/tag-props.d.ts +136 -7
  588. package/lib/tag-input/tag-render.d.ts +30 -4
  589. package/lib/time-picker/index.d.ts +904 -0
  590. package/lib/time-picker/index.js +1 -0
  591. package/lib/time-picker/time-picker.css +215 -0
  592. package/lib/time-picker/time-picker.less +260 -0
  593. package/lib/time-picker/time-picker.variable.css +337 -0
  594. package/lib/timeline/index.d.ts +6 -6
  595. package/lib/timeline/index.js +1 -0
  596. package/lib/timeline/timeline.css +16 -9
  597. package/lib/timeline/timeline.d.ts +1 -1
  598. package/lib/timeline/timeline.less +22 -9
  599. package/lib/timeline/timeline.variable.css +48 -12
  600. package/lib/transfer/const.d.ts +5 -0
  601. package/lib/transfer/index.d.ts +191 -150
  602. package/lib/transfer/index.js +1 -0
  603. package/lib/transfer/props.d.ts +54 -0
  604. package/lib/transfer/transfer.css +89 -86
  605. package/lib/transfer/transfer.d.ts +79 -95
  606. package/lib/transfer/transfer.less +93 -113
  607. package/lib/transfer/transfer.variable.css +126 -94
  608. package/lib/tree/constant.d.ts +62 -0
  609. package/lib/tree/index.d.ts +379 -60
  610. package/lib/tree/index.js +1 -0
  611. package/lib/tree/props.d.ts +124 -0
  612. package/lib/tree/tree.css +181 -9
  613. package/lib/tree/tree.d.ts +172 -19
  614. package/lib/tree/tree.less +54 -3
  615. package/lib/tree/tree.variable.css +213 -12
  616. package/lib/tree/use-empty.d.ts +6 -0
  617. package/lib/tree/use-node-action.d.ts +12 -0
  618. package/lib/tree/use-node-async.d.ts +5 -0
  619. package/lib/tree/use-node-attribute.d.ts +33 -0
  620. package/lib/tree/use-node-drag.d.ts +3 -0
  621. package/lib/tree/use-search.d.ts +11 -0
  622. package/lib/tree/use-tree-init.d.ts +15 -0
  623. package/lib/tree/util.d.ts +4 -6
  624. package/lib/upload/index.d.ts +566 -0
  625. package/lib/upload/index.js +1 -0
  626. package/lib/upload/props.d.ts +111 -0
  627. package/lib/upload/upload-list.d.ts +47 -0
  628. package/lib/upload/upload-trigger.d.ts +51 -0
  629. package/lib/upload/upload.css +427 -0
  630. package/lib/upload/upload.d.ts +246 -0
  631. package/lib/upload/upload.less +466 -0
  632. package/lib/upload/upload.type.d.ts +78 -0
  633. package/lib/upload/upload.variable.css +549 -0
  634. package/lib/upload/use-ajax-upload.d.ts +3 -0
  635. package/lib/upload/use-file-handler.d.ts +44 -0
  636. package/lib/virtual-render/index.d.ts +50 -4
  637. package/lib/virtual-render/index.js +1 -0
  638. package/lib/virtual-render/props.d.ts +15 -0
  639. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  640. package/lib/virtual-render/v-virtual-render.d.ts +0 -1
  641. package/lib/virtual-render/virtual-render.css +17 -17
  642. package/lib/virtual-render/virtual-render.d.ts +23 -1
  643. package/lib/virtual-render/virtual-render.less +2 -23
  644. package/lib/virtual-render/virtual-render.variable.css +139 -17
  645. package/lib/volar.components.d.ts +102 -0
  646. package/package.json +59 -26
  647. package/LICENSE.txt +0 -22
  648. package/lib/alert/alert.js +0 -1
  649. package/lib/backtop/backtop.js +0 -1
  650. package/lib/badge/badge.js +0 -1
  651. package/lib/breadcrumb/breadcrumb.js +0 -1
  652. package/lib/button/button.js +0 -1
  653. package/lib/card/card.js +0 -1
  654. package/lib/checkbox/checkbox.js +0 -1
  655. package/lib/code-diff/code-diff.js +0 -1
  656. package/lib/collapse/collapse.js +0 -1
  657. package/lib/date-picker/date-picker.js +0 -1
  658. package/lib/dialog/dialog.js +0 -1
  659. package/lib/directives/directives.js +0 -2
  660. package/lib/divider/divider.js +0 -1
  661. package/lib/dropdown/dropdown.js +0 -1
  662. package/lib/exception/exception.js +0 -1
  663. package/lib/form/common.d.ts +0 -3
  664. package/lib/form/form.js +0 -1
  665. package/lib/icon/icon.js +0 -1
  666. package/lib/input/input.js +0 -1
  667. package/lib/link/link.js +0 -1
  668. package/lib/loading/loading.js +0 -1
  669. package/lib/menu/menu.js +0 -1
  670. package/lib/message/message.js +0 -1
  671. package/lib/modal/modal.js +0 -1
  672. package/lib/navigation/navigation.js +0 -1
  673. package/lib/notify/notify.js +0 -1
  674. package/lib/pagination/pagination.js +0 -1
  675. package/lib/popover/popover.js +0 -1
  676. package/lib/process/process.js +0 -1
  677. package/lib/progress/progress.js +0 -1
  678. package/lib/radio/radio.js +0 -1
  679. package/lib/rate/rate.js +0 -1
  680. package/lib/resize-layout/resize-layout.js +0 -1
  681. package/lib/select/select.js +0 -1
  682. package/lib/shared/shared.js +0 -1
  683. package/lib/sideslider/sideslider.js +0 -1
  684. package/lib/slider/slider.js +0 -1
  685. package/lib/steps/steps.js +0 -1
  686. package/lib/swiper/swiper.js +0 -1
  687. package/lib/switcher/switcher.js +0 -1
  688. package/lib/tab/tab.js +0 -1
  689. package/lib/table/table.js +0 -1
  690. package/lib/tag/tag.js +0 -1
  691. package/lib/tag-input/tag-input.js +0 -1
  692. package/lib/timeline/timeline.js +0 -1
  693. package/lib/transfer/transfer.js +0 -1
  694. package/lib/tree/tree.js +0 -1
  695. package/lib/use-form.d.ts +0 -3
  696. package/lib/virtual-render/virtual-render.js +0 -1
  697. /package/lib/directives/{directives.js.LICENSE.txt → index.js.LICENSE.txt} +0 -0
@@ -3,47 +3,122 @@ declare const BkSideslider: {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: Partial<{
6
- width: string | number;
7
- height: string | number;
6
+ title: string;
7
+ multiInstance: boolean;
8
+ zIndex: string | number;
8
9
  showMask: boolean;
9
10
  direction: string;
11
+ transfer: boolean;
12
+ width: string | number;
13
+ height: string | number;
14
+ maxHeight: string;
15
+ extCls: string | unknown[];
10
16
  isShow: boolean;
11
- customClass: string | unknown[];
17
+ draggable: boolean;
18
+ renderDirective: "if" | "show";
19
+ quickClose: boolean;
12
20
  scrollable: boolean;
21
+ closeIcon: boolean;
22
+ escClose: boolean;
23
+ fullscreen: boolean;
24
+ animateType: string;
13
25
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
14
26
  direction: {
15
27
  type: StringConstructor;
16
28
  default: string;
17
29
  validator: (value: string) => boolean;
18
30
  };
19
- isShow: {
20
- type: BooleanConstructor;
31
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
32
+ default: boolean;
33
+ } & {
34
+ default: boolean;
35
+ };
36
+ width: import("vue-types").VueTypeDef<string | number> & {
37
+ default: string | number;
38
+ };
39
+ height: import("vue-types").VueTypeDef<string | number> & {
40
+ default: string | number;
41
+ };
42
+ extCls: (import("vue-types").VueTypeValidableDef<string> & {
43
+ default: string;
44
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
45
+ default: () => unknown[];
46
+ });
47
+ scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
48
+ default: boolean;
49
+ } & {
50
+ default: boolean;
51
+ };
52
+ showMask: import("vue-types").VueTypeValidableDef<boolean> & {
53
+ default: boolean;
54
+ } & {
55
+ default: boolean;
56
+ };
57
+ closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
58
+ default: boolean;
59
+ } & {
60
+ default: boolean;
61
+ };
62
+ escClose: import("vue-types").VueTypeValidableDef<boolean> & {
63
+ default: boolean;
64
+ } & {
65
+ default: boolean;
66
+ };
67
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
68
+ default: boolean;
69
+ } & {
70
+ default: boolean;
71
+ };
72
+ size: import("vue-types").VueTypeDef<"small" | "normal" | "large" | "medium">;
73
+ draggable: import("vue-types").VueTypeValidableDef<boolean> & {
74
+ default: boolean;
75
+ } & {
76
+ default: boolean;
77
+ };
78
+ quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
79
+ default: boolean;
80
+ } & {
81
+ default: boolean;
82
+ };
83
+ transfer: import("vue-types").VueTypeValidableDef<boolean> & {
84
+ default: boolean;
85
+ } & {
21
86
  default: boolean;
22
87
  };
23
- width: {
24
- type: (NumberConstructor | StringConstructor)[];
88
+ zIndex: import("vue-types").VueTypeDef<string | number> & {
89
+ default: string | number;
90
+ };
91
+ maxHeight: import("vue-types").VueTypeValidableDef<string> & {
25
92
  default: string;
26
93
  };
27
- height: {
28
- type: (NumberConstructor | StringConstructor)[];
94
+ title: import("vue-types").VueTypeValidableDef<string> & {
95
+ default: string;
96
+ } & {
29
97
  default: string;
30
98
  };
31
- customClass: {
32
- type: (ArrayConstructor | StringConstructor)[];
99
+ animateType: import("vue-types").VueTypeValidableDef<string> & {
100
+ default: string;
101
+ } & {
33
102
  default: string;
34
103
  };
35
- scrollable: {
36
- type: BooleanConstructor;
37
- default: boolean;
104
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
105
+ default: "if" | "show";
38
106
  };
39
- showMask: {
40
- type: BooleanConstructor;
107
+ beforeClose: import("vue-types").VueTypeDef<unknown>;
108
+ dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
109
+ multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
110
+ default: boolean;
111
+ } & {
41
112
  default: boolean;
42
113
  };
114
+ infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
43
115
  }>> & {
116
+ onHidden?: (...args: any[]) => any;
117
+ onShown?: (...args: any[]) => any;
44
118
  onClosed?: (...args: any[]) => any;
45
119
  "onUpdate:isShow"?: (...args: any[]) => any;
46
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "height" | "showMask" | "direction" | "isShow" | "customClass" | "scrollable">;
120
+ "onAnimation-end"?: (...args: any[]) => any;
121
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "zIndex" | "showMask" | "direction" | "transfer" | "width" | "height" | "maxHeight" | "extCls" | "isShow" | "draggable" | "renderDirective" | "quickClose" | "scrollable" | "closeIcon" | "escClose" | "fullscreen" | "animateType">;
47
122
  $attrs: {
48
123
  [x: string]: unknown;
49
124
  };
@@ -55,7 +130,7 @@ declare const BkSideslider: {
55
130
  }>;
56
131
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
57
132
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
58
- $emit: (event: "closed" | "update:isShow", ...args: any[]) => void;
133
+ $emit: (event: "hidden" | "shown" | "closed" | "update:isShow" | "animation-end", ...args: any[]) => void;
59
134
  $el: any;
60
135
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
61
136
  direction: {
@@ -63,43 +138,116 @@ declare const BkSideslider: {
63
138
  default: string;
64
139
  validator: (value: string) => boolean;
65
140
  };
66
- isShow: {
67
- type: BooleanConstructor;
141
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
142
+ default: boolean;
143
+ } & {
144
+ default: boolean;
145
+ };
146
+ width: import("vue-types").VueTypeDef<string | number> & {
147
+ default: string | number;
148
+ };
149
+ height: import("vue-types").VueTypeDef<string | number> & {
150
+ default: string | number;
151
+ };
152
+ extCls: (import("vue-types").VueTypeValidableDef<string> & {
153
+ default: string;
154
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
155
+ default: () => unknown[];
156
+ });
157
+ scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
158
+ default: boolean;
159
+ } & {
160
+ default: boolean;
161
+ };
162
+ showMask: import("vue-types").VueTypeValidableDef<boolean> & {
163
+ default: boolean;
164
+ } & {
165
+ default: boolean;
166
+ };
167
+ closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
168
+ default: boolean;
169
+ } & {
170
+ default: boolean;
171
+ };
172
+ escClose: import("vue-types").VueTypeValidableDef<boolean> & {
173
+ default: boolean;
174
+ } & {
175
+ default: boolean;
176
+ };
177
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
178
+ default: boolean;
179
+ } & {
180
+ default: boolean;
181
+ };
182
+ size: import("vue-types").VueTypeDef<"small" | "normal" | "large" | "medium">;
183
+ draggable: import("vue-types").VueTypeValidableDef<boolean> & {
184
+ default: boolean;
185
+ } & {
186
+ default: boolean;
187
+ };
188
+ quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
189
+ default: boolean;
190
+ } & {
191
+ default: boolean;
192
+ };
193
+ transfer: import("vue-types").VueTypeValidableDef<boolean> & {
194
+ default: boolean;
195
+ } & {
68
196
  default: boolean;
69
197
  };
70
- width: {
71
- type: (NumberConstructor | StringConstructor)[];
198
+ zIndex: import("vue-types").VueTypeDef<string | number> & {
199
+ default: string | number;
200
+ };
201
+ maxHeight: import("vue-types").VueTypeValidableDef<string> & {
72
202
  default: string;
73
203
  };
74
- height: {
75
- type: (NumberConstructor | StringConstructor)[];
204
+ title: import("vue-types").VueTypeValidableDef<string> & {
205
+ default: string;
206
+ } & {
76
207
  default: string;
77
208
  };
78
- customClass: {
79
- type: (ArrayConstructor | StringConstructor)[];
209
+ animateType: import("vue-types").VueTypeValidableDef<string> & {
210
+ default: string;
211
+ } & {
80
212
  default: string;
81
213
  };
82
- scrollable: {
83
- type: BooleanConstructor;
84
- default: boolean;
214
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
215
+ default: "if" | "show";
85
216
  };
86
- showMask: {
87
- type: BooleanConstructor;
217
+ beforeClose: import("vue-types").VueTypeDef<unknown>;
218
+ dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
219
+ multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
220
+ default: boolean;
221
+ } & {
88
222
  default: boolean;
89
223
  };
224
+ infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
90
225
  }>> & {
226
+ onHidden?: (...args: any[]) => any;
227
+ onShown?: (...args: any[]) => any;
91
228
  onClosed?: (...args: any[]) => any;
92
229
  "onUpdate:isShow"?: (...args: any[]) => any;
93
- }, unknown, unknown, {}, {
94
- handleClose(): void;
95
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:isShow")[], string, {
96
- width: string | number;
97
- height: string | number;
230
+ "onAnimation-end"?: (...args: any[]) => any;
231
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown" | "closed" | "update:isShow" | "animation-end")[], string, {
232
+ title: string;
233
+ multiInstance: boolean;
234
+ zIndex: string | number;
98
235
  showMask: boolean;
99
236
  direction: string;
237
+ transfer: boolean;
238
+ width: string | number;
239
+ height: string | number;
240
+ maxHeight: string;
241
+ extCls: string | unknown[];
100
242
  isShow: boolean;
101
- customClass: string | unknown[];
243
+ draggable: boolean;
244
+ renderDirective: "if" | "show";
245
+ quickClose: boolean;
102
246
  scrollable: boolean;
247
+ closeIcon: boolean;
248
+ escClose: boolean;
249
+ fullscreen: boolean;
250
+ animateType: string;
103
251
  }> & {
104
252
  beforeCreate?: (() => void) | (() => void)[];
105
253
  created?: (() => void) | (() => void)[];
@@ -126,36 +274,97 @@ declare const BkSideslider: {
126
274
  default: string;
127
275
  validator: (value: string) => boolean;
128
276
  };
129
- isShow: {
130
- type: BooleanConstructor;
277
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
278
+ default: boolean;
279
+ } & {
280
+ default: boolean;
281
+ };
282
+ width: import("vue-types").VueTypeDef<string | number> & {
283
+ default: string | number;
284
+ };
285
+ height: import("vue-types").VueTypeDef<string | number> & {
286
+ default: string | number;
287
+ };
288
+ extCls: (import("vue-types").VueTypeValidableDef<string> & {
289
+ default: string;
290
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
291
+ default: () => unknown[];
292
+ });
293
+ scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
294
+ default: boolean;
295
+ } & {
296
+ default: boolean;
297
+ };
298
+ showMask: import("vue-types").VueTypeValidableDef<boolean> & {
299
+ default: boolean;
300
+ } & {
301
+ default: boolean;
302
+ };
303
+ closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
304
+ default: boolean;
305
+ } & {
306
+ default: boolean;
307
+ };
308
+ escClose: import("vue-types").VueTypeValidableDef<boolean> & {
309
+ default: boolean;
310
+ } & {
311
+ default: boolean;
312
+ };
313
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
314
+ default: boolean;
315
+ } & {
316
+ default: boolean;
317
+ };
318
+ size: import("vue-types").VueTypeDef<"small" | "normal" | "large" | "medium">;
319
+ draggable: import("vue-types").VueTypeValidableDef<boolean> & {
320
+ default: boolean;
321
+ } & {
322
+ default: boolean;
323
+ };
324
+ quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
325
+ default: boolean;
326
+ } & {
327
+ default: boolean;
328
+ };
329
+ transfer: import("vue-types").VueTypeValidableDef<boolean> & {
330
+ default: boolean;
331
+ } & {
131
332
  default: boolean;
132
333
  };
133
- width: {
134
- type: (NumberConstructor | StringConstructor)[];
334
+ zIndex: import("vue-types").VueTypeDef<string | number> & {
335
+ default: string | number;
336
+ };
337
+ maxHeight: import("vue-types").VueTypeValidableDef<string> & {
135
338
  default: string;
136
339
  };
137
- height: {
138
- type: (NumberConstructor | StringConstructor)[];
340
+ title: import("vue-types").VueTypeValidableDef<string> & {
341
+ default: string;
342
+ } & {
139
343
  default: string;
140
344
  };
141
- customClass: {
142
- type: (ArrayConstructor | StringConstructor)[];
345
+ animateType: import("vue-types").VueTypeValidableDef<string> & {
346
+ default: string;
347
+ } & {
143
348
  default: string;
144
349
  };
145
- scrollable: {
146
- type: BooleanConstructor;
147
- default: boolean;
350
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
351
+ default: "if" | "show";
148
352
  };
149
- showMask: {
150
- type: BooleanConstructor;
353
+ beforeClose: import("vue-types").VueTypeDef<unknown>;
354
+ dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
355
+ multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
356
+ default: boolean;
357
+ } & {
151
358
  default: boolean;
152
359
  };
360
+ infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
153
361
  }>> & {
362
+ onHidden?: (...args: any[]) => any;
363
+ onShown?: (...args: any[]) => any;
154
364
  onClosed?: (...args: any[]) => any;
155
365
  "onUpdate:isShow"?: (...args: any[]) => any;
156
- } & import("vue").ShallowUnwrapRef<{}> & {} & {} & {
157
- handleClose(): void;
158
- } & import("vue").ComponentCustomProperties;
366
+ "onAnimation-end"?: (...args: any[]) => any;
367
+ } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
159
368
  __isFragment?: never;
160
369
  __isTeleport?: never;
161
370
  __isSuspense?: never;
@@ -165,42 +374,115 @@ declare const BkSideslider: {
165
374
  default: string;
166
375
  validator: (value: string) => boolean;
167
376
  };
168
- isShow: {
169
- type: BooleanConstructor;
377
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
378
+ default: boolean;
379
+ } & {
380
+ default: boolean;
381
+ };
382
+ width: import("vue-types").VueTypeDef<string | number> & {
383
+ default: string | number;
384
+ };
385
+ height: import("vue-types").VueTypeDef<string | number> & {
386
+ default: string | number;
387
+ };
388
+ extCls: (import("vue-types").VueTypeValidableDef<string> & {
389
+ default: string;
390
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
391
+ default: () => unknown[];
392
+ });
393
+ scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
394
+ default: boolean;
395
+ } & {
396
+ default: boolean;
397
+ };
398
+ showMask: import("vue-types").VueTypeValidableDef<boolean> & {
399
+ default: boolean;
400
+ } & {
401
+ default: boolean;
402
+ };
403
+ closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
404
+ default: boolean;
405
+ } & {
406
+ default: boolean;
407
+ };
408
+ escClose: import("vue-types").VueTypeValidableDef<boolean> & {
409
+ default: boolean;
410
+ } & {
411
+ default: boolean;
412
+ };
413
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
414
+ default: boolean;
415
+ } & {
416
+ default: boolean;
417
+ };
418
+ size: import("vue-types").VueTypeDef<"small" | "normal" | "large" | "medium">;
419
+ draggable: import("vue-types").VueTypeValidableDef<boolean> & {
420
+ default: boolean;
421
+ } & {
422
+ default: boolean;
423
+ };
424
+ quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
425
+ default: boolean;
426
+ } & {
427
+ default: boolean;
428
+ };
429
+ transfer: import("vue-types").VueTypeValidableDef<boolean> & {
430
+ default: boolean;
431
+ } & {
170
432
  default: boolean;
171
433
  };
172
- width: {
173
- type: (NumberConstructor | StringConstructor)[];
434
+ zIndex: import("vue-types").VueTypeDef<string | number> & {
435
+ default: string | number;
436
+ };
437
+ maxHeight: import("vue-types").VueTypeValidableDef<string> & {
174
438
  default: string;
175
439
  };
176
- height: {
177
- type: (NumberConstructor | StringConstructor)[];
440
+ title: import("vue-types").VueTypeValidableDef<string> & {
441
+ default: string;
442
+ } & {
178
443
  default: string;
179
444
  };
180
- customClass: {
181
- type: (ArrayConstructor | StringConstructor)[];
445
+ animateType: import("vue-types").VueTypeValidableDef<string> & {
446
+ default: string;
447
+ } & {
182
448
  default: string;
183
449
  };
184
- scrollable: {
185
- type: BooleanConstructor;
186
- default: boolean;
450
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
451
+ default: "if" | "show";
187
452
  };
188
- showMask: {
189
- type: BooleanConstructor;
453
+ beforeClose: import("vue-types").VueTypeDef<unknown>;
454
+ dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
455
+ multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
456
+ default: boolean;
457
+ } & {
190
458
  default: boolean;
191
459
  };
460
+ infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
192
461
  }>> & {
462
+ onHidden?: (...args: any[]) => any;
463
+ onShown?: (...args: any[]) => any;
193
464
  onClosed?: (...args: any[]) => any;
194
465
  "onUpdate:isShow"?: (...args: any[]) => any;
195
- }, unknown, unknown, {}, {
196
- handleClose(): void;
197
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:isShow")[], "closed" | "update:isShow", {
198
- width: string | number;
199
- height: string | number;
466
+ "onAnimation-end"?: (...args: any[]) => any;
467
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown" | "closed" | "update:isShow" | "animation-end")[], "shown" | "hidden" | "closed" | "update:isShow" | "animation-end", {
468
+ title: string;
469
+ multiInstance: boolean;
470
+ zIndex: string | number;
200
471
  showMask: boolean;
201
472
  direction: string;
473
+ transfer: boolean;
474
+ width: string | number;
475
+ height: string | number;
476
+ maxHeight: string;
477
+ extCls: string | unknown[];
202
478
  isShow: boolean;
203
- customClass: string | unknown[];
479
+ draggable: boolean;
480
+ renderDirective: "if" | "show";
481
+ quickClose: boolean;
204
482
  scrollable: boolean;
483
+ closeIcon: boolean;
484
+ escClose: boolean;
485
+ fullscreen: boolean;
486
+ animateType: string;
205
487
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
206
488
  export default BkSideslider;
@@ -0,0 +1 @@
1
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("../shared"),require("vue"),require("../button"),require("../modal"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../button","../modal"],e);else{var r="object"==typeof exports?e(require("../shared"),require("vue"),require("../button"),require("../modal")):e(t["../shared"],t.vue,t["../button"],t["../modal"]);for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(self,((t,e,r,n)=>(()=>{var o={7162:(t,e,r)=>{t.exports=r(5047)},5047:t=>{var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var u=l(t,e,r);if("normal"===u.type){if(n=r.done?p:h,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={};function y(){}function g(){}function m(){}var b={};u(b,i,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(N([])));x&&x!==r&&n.call(x,i)&&(b=x);var j=m.prototype=y.prototype=Object.create(b);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function E(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function N(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:P}}function P(){return{value:e,done:!0}}return g.prototype=m,u(j,"constructor",m),u(m,"constructor",g),g.displayName=u(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,c,"GeneratorFunction")),t.prototype=Object.create(j),t},t.awrap=function(t){return{__await:t}},L(O.prototype),u(O.prototype,a,(function(){return this})),t.AsyncIterator=O,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new O(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(j),u(j,c,"Generator"),u(j,i,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=N,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},4976:t=>{"use strict";t.exports=r},8014:t=>{"use strict";t.exports=n},4212:e=>{"use strict";e.exports=t},748:t=>{"use strict";t.exports=e}},i={};function a(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}};return o[t](r,r.exports,a),r.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var c={};return(()=>{"use strict";a.r(c),a.d(c,{default:()=>d});var t=a(4212),e=a(748),r=a(7162),n=a.n(r);Object.create,Object.create;var o=a(4976),i=a.n(o),u=a(8014),s=a.n(u),l=s().propsMixin,f=Object.assign({},l);f.width.default="400",f.height.default="100%";const h=(0,e.defineComponent)({name:"Sideslider",components:{BkModal:s(),BkButton:i()},props:Object.assign(Object.assign({},f),{direction:{type:String,default:"right",validator:function(t){var e=["left","right"];return!(e.indexOf(t)<0&&(console.error("direction property is not valid: '".concat(t,"',【").concat(e.join(" | "),"】")),1))}}}),emits:["closed","update:isShow","shown","hidden","animation-end"],setup:function(t,r){var o=this,i=r.slots,a=r.emit,c=function(){return e=o,r=void 0,i=void 0,c=n().mark((function e(){var r;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=!0,"function"!=typeof t.beforeClose){e.next=5;break}return e.next=4,t.beforeClose();case 4:r=e.sent;case 5:r&&(a("update:isShow",!1),a("closed"),setTimeout((function(){a("animation-end")}),250));case 6:case"end":return e.stop()}}),e)})),new(i||(i=Promise))((function(t,n){function o(t){try{u(c.next(t))}catch(t){n(t)}}function a(t){try{u(c.throw(t))}catch(t){n(t)}}function u(e){var r;e.done?t(e.value):(r=e.value,r instanceof i?r:new i((function(t){t(r)}))).then(o,a)}u((c=c.apply(e,r||[])).next())}));var e,r,i,c},u=function(){setTimeout((function(){a("shown")}),200)},l=function(){setTimeout((function(){a("hidden")}),200)};return function(){var r,n={header:function(){var r,n;return(0,e.createVNode)(e.Fragment,null,[(0,e.createVNode)("div",{class:"bk-sideslider-header"},[(0,e.createVNode)("div",{class:"bk-sideslider-close ".concat(t.direction),onClick:function(){c()}},null),(0,e.createVNode)("div",{class:"bk-sideslider-title ".concat(t.direction)},[null!==(n=null===(r=i.header)||void 0===r?void 0:r.call(i))&&void 0!==n?n:t.title])])])},default:function(){var t,e;return null!==(e=null===(t=i.default)||void 0===t?void 0:t.call(i))&&void 0!==e?e:"Content"},footer:function(){return i.footer?(0,e.createVNode)("div",{class:"bk-sideslider-footer"},[i.footer()]):null}},o="bk-sideslider-wrapper ".concat(t.scrollable?"scroll-able":""," ").concat(t.extCls),a=i.footer?"calc(100vh - 106px)":"calc(100vh - 52px)";return(0,e.createVNode)(s(),(0,e.mergeProps)(t,{maxHeight:a,class:o,style:"".concat(t.direction,": 0;"),onHidden:l,onShown:u,onClose:c}),"function"==typeof(r=n)||"[object Object]"===Object.prototype.toString.call(r)&&!(0,e.isVNode)(r)?n:{default:function(){return[n]}})}}}),d=(0,t.withInstall)(h)})(),c})()));
@@ -1,18 +1,55 @@
1
- .bk-modal-wrapper.bk-sideslider-wrapper {
1
+ .bk-sideslider {
2
2
  position: fixed;
3
3
  top: 0;
4
+ right: 0;
5
+ bottom: 0;
6
+ left: 0;
7
+ }
8
+ /* fade-center */
9
+ /* slide过渡动画 */
10
+ .slide-enter-active,
11
+ .slide-leave-active,
12
+ .bk-modal-body {
13
+ transform: translateX(0);
14
+ transition: transform 0.25s;
15
+ }
16
+ .slide-enter-active {
17
+ animation: slider-fade-in 0.25s;
18
+ }
19
+ .slide-leave-active {
20
+ animation: slider-fade-in 0.25s reverse;
21
+ }
22
+ .slide-enter-from.left,
23
+ .slide-leave-to.left {
24
+ transform: translateX(-100%);
25
+ transition: transform 0.25s;
26
+ }
27
+ .slide-enter-from.right,
28
+ .slide-leave-to.right {
29
+ transform: translateX(100%);
30
+ transition: transform 0.25s;
31
+ }
32
+ @keyframes slider-fade-in {
33
+ 0% {
34
+ opacity: 0;
35
+ }
36
+ 100% {
37
+ opacity: 1;
38
+ }
39
+ }
40
+ .bk-modal-wrapper.bk-sideslider-wrapper {
41
+ position: absolute;
42
+ top: 0;
4
43
  bottom: 0;
5
44
  left: auto;
6
- background: #fff;
7
45
  transform: initial;
8
- box-shadow: -5px 0 8px -5px rgba(0, 0, 0, 0.2);
9
46
  }
10
47
  .bk-modal-wrapper.bk-sideslider-wrapper.scroll-able .bk-modal-content {
11
48
  overflow: auto;
12
49
  }
13
50
  .bk-modal-wrapper.bk-sideslider-wrapper .bk-sideslider-header {
14
51
  width: 100%;
15
- height: 60px;
52
+ height: 52px;
16
53
  background: #fff;
17
54
  border-bottom: 1px solid #dcdee5;
18
55
  }
@@ -20,9 +57,9 @@
20
57
  position: absolute;
21
58
  top: 0;
22
59
  width: 30px;
23
- height: 60px;
60
+ height: 52px;
24
61
  font-size: 24px;
25
- line-height: 60px;
62
+ line-height: 52px;
26
63
  color: #fff;
27
64
  text-align: center;
28
65
  cursor: pointer;
@@ -57,13 +94,21 @@
57
94
  transform: translate(50%, -50%) rotate(-45deg);
58
95
  }
59
96
  .bk-modal-wrapper.bk-sideslider-wrapper .bk-sideslider-header .bk-sideslider-title {
60
- height: 60px;
97
+ height: 52px;
61
98
  padding-left: 30px;
62
99
  font-size: 16px;
63
- font-weight: 700;
64
- line-height: 60px;
65
- color: #666;
100
+ line-height: 52px;
101
+ color: #313238;
66
102
  }
67
103
  .bk-modal-wrapper.bk-sideslider-wrapper .bk-sideslider-header .bk-sideslider-title.right {
68
104
  padding: 0px 0px 0px 50px;
69
105
  }
106
+ .bk-modal-wrapper.bk-sideslider-wrapper .bk-sideslider-footer {
107
+ display: flex;
108
+ width: 100%;
109
+ height: 54px;
110
+ background: #fff;
111
+ border-top: 1px solid transparent;
112
+ align-items: center;
113
+ box-shadow: rgba(0, 0, 0, 0.06) 0px -2px 4px 0px;
114
+ }