bkui-vue 0.0.1-beta.46 → 0.0.1-beta.460

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 (667) hide show
  1. package/License.txt +14 -0
  2. package/dist/index.cjs.js +364 -36
  3. package/dist/index.esm.js +30105 -19372
  4. package/dist/index.umd.js +364 -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.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 -7
  25. package/lib/alert/index.d.ts +11 -11
  26. package/lib/alert/index.js +1 -1
  27. package/lib/animate-number/animate-number.d.ts +1 -1
  28. package/lib/animate-number/index.d.ts +4 -4
  29. package/lib/backtop/backtop.css +8 -0
  30. package/lib/backtop/backtop.d.ts +3 -3
  31. package/lib/backtop/backtop.less +8 -0
  32. package/lib/backtop/backtop.variable.css +40 -4
  33. package/lib/backtop/index.d.ts +10 -10
  34. package/lib/backtop/index.js +1 -1
  35. package/lib/badge/badge.css +7 -10
  36. package/lib/badge/badge.d.ts +28 -7
  37. package/lib/badge/badge.less +9 -11
  38. package/lib/badge/badge.variable.css +39 -14
  39. package/lib/badge/index.d.ts +68 -18
  40. package/lib/badge/index.js +1 -1
  41. package/lib/breadcrumb/breadcrumb-item.d.ts +4 -2
  42. package/lib/breadcrumb/breadcrumb.css +51 -0
  43. package/lib/breadcrumb/breadcrumb.variable.css +88 -9
  44. package/lib/breadcrumb/index.d.ts +4 -2
  45. package/lib/breadcrumb/index.js +1 -1
  46. package/lib/button/button-group.d.ts +2 -2
  47. package/lib/button/button.css +85 -50
  48. package/lib/button/button.d.ts +44 -24
  49. package/lib/button/button.less +72 -42
  50. package/lib/button/button.variable.css +117 -54
  51. package/lib/button/index.d.ts +74 -44
  52. package/lib/button/index.js +1 -1
  53. package/lib/card/card.css +97 -2
  54. package/lib/card/card.d.ts +47 -6
  55. package/lib/card/card.less +50 -2
  56. package/lib/card/card.variable.css +133 -10
  57. package/lib/card/index.d.ts +113 -17
  58. package/lib/card/index.js +1 -1
  59. package/lib/cascader/cascader-panel.d.ts +102 -0
  60. package/lib/cascader/cascader.css +316 -0
  61. package/lib/cascader/cascader.d.ts +354 -0
  62. package/lib/cascader/cascader.less +283 -0
  63. package/lib/cascader/cascader.variable.css +438 -0
  64. package/lib/cascader/index.d.ts +988 -0
  65. package/lib/cascader/index.js +1 -0
  66. package/lib/cascader/interface.d.ts +51 -0
  67. package/lib/cascader/node.d.ts +31 -0
  68. package/lib/cascader/store.d.ts +27 -0
  69. package/lib/checkbox/checkbox-group.d.ts +16 -0
  70. package/lib/checkbox/checkbox.css +51 -11
  71. package/lib/checkbox/checkbox.d.ts +36 -24
  72. package/lib/checkbox/checkbox.less +85 -32
  73. package/lib/checkbox/checkbox.variable.css +83 -15
  74. package/lib/checkbox/common.d.ts +4 -3
  75. package/lib/checkbox/index.d.ts +70 -38
  76. package/lib/checkbox/index.js +1 -1
  77. package/lib/checkbox/type.d.ts +2 -6
  78. package/lib/code-diff/code-diff.css +27 -7
  79. package/lib/code-diff/code-diff.d.ts +8 -8
  80. package/lib/code-diff/code-diff.less +42 -7
  81. package/lib/code-diff/code-diff.variable.css +59 -11
  82. package/lib/code-diff/index.d.ts +11 -11
  83. package/lib/code-diff/index.js +1 -1
  84. package/lib/collapse/collapse-panel.d.ts +103 -0
  85. package/lib/collapse/collapse.css +69 -14
  86. package/lib/collapse/collapse.d.ts +66 -52
  87. package/lib/collapse/collapse.less +112 -30
  88. package/lib/collapse/collapse.variable.css +191 -14
  89. package/lib/collapse/index.d.ts +266 -20
  90. package/lib/collapse/index.js +1 -1
  91. package/lib/collapse/props.d.ts +131 -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 +31 -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 +402 -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 +609 -0
  118. package/lib/config-provider/index.js +1 -0
  119. package/lib/config-provider/token.d.ts +128 -0
  120. package/lib/config-provider/use-global-config.d.ts +5 -0
  121. package/lib/config-provider/use-locale.d.ts +3 -0
  122. package/lib/config-provider/use-prefix.d.ts +9 -0
  123. package/lib/container/col.d.ts +51 -0
  124. package/lib/container/container.css +91 -0
  125. package/lib/container/container.d.ts +83 -0
  126. package/lib/container/container.less +20 -0
  127. package/lib/container/container.variable.css +213 -0
  128. package/lib/container/index.d.ts +223 -0
  129. package/lib/container/index.js +1 -0
  130. package/lib/container/interface.d.ts +7 -0
  131. package/lib/container/row.d.ts +4 -0
  132. package/lib/date-picker/base/confirm.d.ts +74 -0
  133. package/lib/date-picker/base/date-table.d.ts +96 -0
  134. package/lib/date-picker/base/month-table.d.ts +117 -0
  135. package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
  136. package/lib/date-picker/base/time-spinner.d.ts +170 -0
  137. package/lib/date-picker/base/year-table.d.ts +117 -0
  138. package/lib/date-picker/date-picker.css +28 -1
  139. package/lib/date-picker/date-picker.d.ts +49 -20
  140. package/lib/date-picker/date-picker.less +106 -74
  141. package/lib/date-picker/date-picker.variable.css +60 -5
  142. package/lib/date-picker/index.d.ts +121 -54
  143. package/lib/date-picker/index.js +1 -1
  144. package/lib/date-picker/interface.d.ts +11 -1
  145. package/lib/date-picker/panel/date-range.d.ts +328 -0
  146. package/lib/date-picker/panel/date.d.ts +206 -0
  147. package/lib/date-picker/panel/time-range.d.ts +489 -0
  148. package/lib/date-picker/panel/time.d.ts +448 -0
  149. package/lib/date-picker/props.d.ts +55 -5
  150. package/lib/date-picker/time-picker.d.ts +381 -0
  151. package/lib/date-picker/utils.d.ts +22 -2
  152. package/lib/dialog/dialog.css +135 -26
  153. package/lib/dialog/dialog.d.ts +218 -103
  154. package/lib/dialog/dialog.less +99 -41
  155. package/lib/dialog/dialog.variable.css +257 -26
  156. package/lib/dialog/index.d.ts +488 -224
  157. package/lib/dialog/index.js +1 -1
  158. package/lib/dialog/props.d.ts +122 -0
  159. package/lib/directives/ellipsis.d.ts +7 -0
  160. package/lib/directives/index.d.ts +2 -0
  161. package/lib/directives/index.js +1 -1
  162. package/lib/directives/tooltips.d.ts +2 -1
  163. package/lib/dist.index.js +1 -0
  164. package/lib/divider/divider.d.ts +15 -15
  165. package/lib/divider/divider.variable.css +32 -4
  166. package/lib/divider/index.d.ts +34 -34
  167. package/lib/divider/index.js +1 -1
  168. package/lib/divider/props.d.ts +6 -6
  169. package/lib/dropdown/dropdown.css +13 -7
  170. package/lib/dropdown/dropdown.d.ts +46 -14
  171. package/lib/dropdown/dropdown.less +47 -34
  172. package/lib/dropdown/dropdown.variable.css +45 -11
  173. package/lib/dropdown/index.d.ts +99 -35
  174. package/lib/dropdown/index.js +1 -1
  175. package/lib/exception/exception.css +40 -14
  176. package/lib/exception/exception.d.ts +31 -11
  177. package/lib/exception/exception.less +59 -22
  178. package/lib/exception/exception.variable.css +72 -18
  179. package/lib/exception/index.d.ts +43 -26
  180. package/lib/exception/index.js +1 -1
  181. package/lib/exception/typings/index.d.ts +4 -0
  182. package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
  183. package/lib/fixed-navbar/fixed-navbar.variable.css +32 -4
  184. package/lib/fixed-navbar/index.d.ts +40 -5
  185. package/lib/fixed-navbar/index.js +1 -1
  186. package/lib/form/compose-form-item.d.ts +16 -0
  187. package/lib/form/form-item.d.ts +22 -7
  188. package/lib/form/form.css +103 -15
  189. package/lib/form/form.d.ts +48 -14
  190. package/lib/form/form.less +152 -46
  191. package/lib/form/form.variable.css +225 -15
  192. package/lib/form/index.d.ts +122 -35
  193. package/lib/form/index.js +1 -1
  194. package/lib/form/type.d.ts +11 -8
  195. package/lib/form/utils.d.ts +2 -0
  196. package/lib/form/validator.d.ts +1 -0
  197. package/lib/hooks.d.ts +1 -0
  198. package/lib/hooks.js +1 -0
  199. package/lib/icon/angle-double-down-line.js +1 -1
  200. package/lib/icon/angle-double-left-line.js +1 -1
  201. package/lib/icon/angle-double-left.js +1 -1
  202. package/lib/icon/angle-double-right-line.js +1 -1
  203. package/lib/icon/angle-double-right.js +1 -1
  204. package/lib/icon/angle-double-up-line.js +1 -1
  205. package/lib/icon/angle-down-fill.js +1 -1
  206. package/lib/icon/angle-down-line.js +1 -1
  207. package/lib/icon/angle-down.js +1 -1
  208. package/lib/icon/angle-left.js +1 -1
  209. package/lib/icon/angle-right.js +1 -1
  210. package/lib/icon/angle-up-fill.js +1 -1
  211. package/lib/icon/angle-up.js +1 -1
  212. package/lib/icon/archive-fill.d.ts +4 -0
  213. package/lib/icon/archive-fill.js +1 -0
  214. package/lib/icon/arrows-left.js +1 -1
  215. package/lib/icon/arrows-right.js +1 -1
  216. package/lib/icon/audio-fill.d.ts +4 -0
  217. package/lib/icon/audio-fill.js +1 -0
  218. package/lib/icon/bk.js +1 -1
  219. package/lib/icon/circle.js +1 -1
  220. package/lib/icon/close-line.d.ts +4 -0
  221. package/lib/icon/close-line.js +1 -0
  222. package/lib/icon/close.js +1 -1
  223. package/lib/icon/code.js +1 -1
  224. package/lib/icon/cog-shape.js +1 -1
  225. package/lib/icon/collapse-left.js +1 -1
  226. package/lib/icon/copy-shape.d.ts +4 -0
  227. package/lib/icon/copy-shape.js +1 -0
  228. package/lib/icon/copy.js +1 -1
  229. package/lib/icon/data-shape.d.ts +4 -0
  230. package/lib/icon/data-shape.js +1 -0
  231. package/lib/icon/del.d.ts +4 -0
  232. package/lib/icon/del.js +1 -0
  233. package/lib/icon/doc-fill.d.ts +4 -0
  234. package/lib/icon/doc-fill.js +1 -0
  235. package/lib/icon/done.js +1 -1
  236. package/lib/icon/down-shape.js +1 -1
  237. package/lib/icon/down-small.js +1 -1
  238. package/lib/icon/edit-line.d.ts +4 -0
  239. package/lib/icon/edit-line.js +1 -0
  240. package/lib/icon/ellipsis.js +1 -1
  241. package/lib/icon/enlarge-line.d.ts +4 -0
  242. package/lib/icon/enlarge-line.js +1 -0
  243. package/lib/icon/error.js +1 -1
  244. package/lib/icon/excel-fill.d.ts +4 -0
  245. package/lib/icon/excel-fill.js +1 -0
  246. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  247. package/lib/icon/exclamation-circle-shape.js +1 -0
  248. package/lib/icon/eye.js +1 -1
  249. package/lib/icon/filliscreen-line.d.ts +4 -0
  250. package/lib/icon/filliscreen-line.js +1 -0
  251. package/lib/icon/fix-line.d.ts +4 -0
  252. package/lib/icon/fix-line.js +1 -0
  253. package/lib/icon/fix-shape.d.ts +4 -0
  254. package/lib/icon/fix-shape.js +1 -0
  255. package/lib/icon/folder-open.js +1 -1
  256. package/lib/icon/folder-shape-open.js +1 -1
  257. package/lib/icon/folder-shape.js +1 -1
  258. package/lib/icon/folder.js +1 -1
  259. package/lib/icon/funnel.js +1 -1
  260. package/lib/icon/help-document-fill.js +1 -1
  261. package/lib/icon/help-fill.js +1 -1
  262. package/lib/icon/help.js +1 -1
  263. package/lib/icon/image-fill.d.ts +4 -0
  264. package/lib/icon/image-fill.js +1 -0
  265. package/lib/icon/img-error.d.ts +4 -0
  266. package/lib/icon/img-error.js +1 -0
  267. package/lib/icon/img-placehoulder.d.ts +4 -0
  268. package/lib/icon/img-placehoulder.js +1 -0
  269. package/lib/icon/index.d.ts +83 -54
  270. package/lib/icon/index.js +1 -0
  271. package/lib/icon/info-line.js +1 -0
  272. package/lib/icon/info.js +1 -0
  273. package/lib/icon/left-shape.js +1 -0
  274. package/lib/icon/left-turn-line.d.ts +4 -0
  275. package/lib/icon/left-turn-line.js +1 -0
  276. package/lib/icon/narrow-line.d.ts +4 -0
  277. package/lib/icon/narrow-line.js +1 -0
  278. package/lib/icon/original.d.ts +4 -0
  279. package/lib/icon/original.js +1 -0
  280. package/lib/icon/pdf-fill.d.ts +4 -0
  281. package/lib/icon/pdf-fill.js +1 -0
  282. package/lib/icon/play-shape.js +1 -0
  283. package/lib/icon/plus.js +1 -0
  284. package/lib/icon/ppt-fill.d.ts +4 -0
  285. package/lib/icon/ppt-fill.js +1 -0
  286. package/lib/icon/qq.js +1 -0
  287. package/lib/icon/right-shape.js +1 -0
  288. package/lib/icon/right-turn-line.d.ts +4 -0
  289. package/lib/icon/right-turn-line.js +1 -0
  290. package/lib/icon/search.js +1 -0
  291. package/lib/icon/share.js +1 -0
  292. package/lib/icon/spinner.js +1 -0
  293. package/lib/icon/success.js +1 -0
  294. package/lib/icon/switcher-loading.js +1 -0
  295. package/lib/icon/text-file.js +1 -0
  296. package/lib/icon/text-fill.d.ts +4 -0
  297. package/lib/icon/text-fill.js +1 -0
  298. package/lib/icon/transfer.d.ts +4 -0
  299. package/lib/icon/transfer.js +1 -0
  300. package/lib/icon/tree-application-shape.js +1 -0
  301. package/lib/icon/unfull-screen.d.ts +4 -0
  302. package/lib/icon/unfull-screen.js +1 -0
  303. package/lib/icon/unvisible.js +1 -0
  304. package/lib/icon/up-shape.js +1 -0
  305. package/lib/icon/upload.d.ts +4 -0
  306. package/lib/icon/upload.js +1 -0
  307. package/lib/icon/video-fill.d.ts +4 -0
  308. package/lib/icon/video-fill.js +1 -0
  309. package/lib/icon/warn.js +1 -0
  310. package/lib/icon/weixin-pro.d.ts +4 -0
  311. package/lib/icon/weixin-pro.js +1 -0
  312. package/lib/icon/weixin.js +1 -0
  313. package/lib/image/image-viewer.css +142 -0
  314. package/lib/image/image-viewer.d.ts +73 -0
  315. package/lib/image/image-viewer.less +168 -0
  316. package/lib/image/image-viewer.variable.css +142 -0
  317. package/lib/image/image.css +37 -0
  318. package/lib/image/image.d.ts +93 -0
  319. package/lib/image/image.less +44 -0
  320. package/lib/image/image.variable.css +37 -0
  321. package/lib/image/index.d.ts +246 -0
  322. package/lib/image/index.js +1 -0
  323. package/lib/image/props.d.ts +71 -0
  324. package/lib/index.d.ts +3 -1
  325. package/lib/index.js +1 -0
  326. package/lib/info-box/index.d.ts +7 -0
  327. package/lib/info-box/index.js +1 -0
  328. package/lib/info-box/info-box.css +37 -0
  329. package/lib/info-box/info-box.d.ts +29 -0
  330. package/lib/info-box/info-box.less +51 -0
  331. package/lib/info-box/info-box.variable.css +159 -0
  332. package/lib/input/index.d.ts +175 -90
  333. package/lib/input/index.js +1 -0
  334. package/lib/input/input.css +183 -19
  335. package/lib/input/input.d.ts +119 -36
  336. package/lib/input/input.less +112 -18
  337. package/lib/input/input.variable.css +246 -55
  338. package/lib/link/index.d.ts +29 -21
  339. package/lib/link/index.js +1 -0
  340. package/lib/link/link.css +12 -12
  341. package/lib/link/link.d.ts +10 -8
  342. package/lib/link/link.less +16 -14
  343. package/lib/link/link.variable.css +44 -16
  344. package/lib/loading/directive.d.ts +14 -0
  345. package/lib/loading/index.d.ts +135 -19
  346. package/lib/loading/index.js +1 -0
  347. package/lib/loading/loading.css +86 -33
  348. package/lib/loading/loading.d.ts +94 -12
  349. package/lib/loading/loading.less +27 -23
  350. package/lib/loading/loading.variable.css +134 -53
  351. package/lib/locale/index.d.ts +3 -0
  352. package/lib/locale/index.js +1 -0
  353. package/lib/locale/lang/en.d.ts +126 -0
  354. package/lib/locale/lang/zh-cn.d.ts +3 -0
  355. package/lib/menu/index.d.ts +16 -24
  356. package/lib/menu/index.js +1 -0
  357. package/lib/menu/menu.css +51 -0
  358. package/lib/menu/menu.d.ts +7 -16
  359. package/lib/menu/menu.variable.css +101 -22
  360. package/lib/menu/submenu.variable.css +32 -4
  361. package/lib/message/index.js +2 -0
  362. package/lib/message/index.js.LICENSE.txt +6 -0
  363. package/lib/message/message.css +170 -6
  364. package/lib/message/message.less +222 -7
  365. package/lib/message/message.variable.css +202 -10
  366. package/lib/message/messageConstructor.d.ts +134 -25
  367. package/lib/modal/index.d.ts +399 -162
  368. package/lib/modal/index.js +1 -0
  369. package/lib/modal/modal.css +52 -10
  370. package/lib/modal/modal.d.ts +151 -63
  371. package/lib/modal/modal.less +36 -25
  372. package/lib/modal/modal.variable.css +174 -10
  373. package/lib/modal/props.mixin.d.ts +63 -28
  374. package/lib/navigation/index.d.ts +310 -1
  375. package/lib/navigation/index.js +1 -0
  376. package/lib/navigation/navigation.css +1 -1
  377. package/lib/navigation/navigation.d.ts +12 -3
  378. package/lib/navigation/navigation.less +1 -1
  379. package/lib/navigation/navigation.variable.css +33 -5
  380. package/lib/notify/index.js +1 -0
  381. package/lib/notify/notify.css +25 -5
  382. package/lib/notify/notify.less +29 -6
  383. package/lib/notify/notify.variable.css +57 -9
  384. package/lib/notify/notifyConstructor.d.ts +62 -21
  385. package/lib/overflow-title/components/overflow-title.d.ts +57 -0
  386. package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
  387. package/lib/overflow-title/index.d.ts +170 -0
  388. package/lib/overflow-title/index.js +1 -0
  389. package/lib/overflow-title/overflow.css +11 -0
  390. package/lib/overflow-title/overflow.less +13 -0
  391. package/lib/overflow-title/overflow.variable.css +11 -0
  392. package/lib/overflow-title/props.d.ts +43 -0
  393. package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
  394. package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
  395. package/lib/pagination/index.d.ts +35 -20
  396. package/lib/pagination/index.js +1 -0
  397. package/lib/pagination/pagination.css +54 -28
  398. package/lib/pagination/pagination.d.ts +18 -8
  399. package/lib/pagination/pagination.less +59 -30
  400. package/lib/pagination/pagination.variable.css +86 -32
  401. package/lib/pagination/use-limit.d.ts +3 -1
  402. package/lib/pagination/use-total.d.ts +3 -1
  403. package/lib/plugin-popover/index.d.ts +27 -0
  404. package/lib/plugin-popover/index.js +1 -0
  405. package/lib/plugins/index.d.ts +1 -0
  406. package/lib/plugins/index.js +1 -0
  407. package/lib/pop-confirm/index.d.ts +246 -0
  408. package/lib/pop-confirm/index.js +1 -0
  409. package/lib/pop-confirm/pop-confirm.css +28 -0
  410. package/lib/pop-confirm/pop-confirm.d.ts +95 -0
  411. package/lib/pop-confirm/pop-confirm.less +34 -0
  412. package/lib/pop-confirm/pop-confirm.variable.css +150 -0
  413. package/lib/pop-confirm/props.d.ts +67 -0
  414. package/lib/popover/arrow.d.ts +2 -0
  415. package/lib/popover/const.d.ts +16 -0
  416. package/lib/popover/content.d.ts +43 -0
  417. package/lib/popover/index.d.ts +484 -108
  418. package/lib/popover/index.js +1 -0
  419. package/lib/popover/plugin-popover.d.ts +12 -0
  420. package/lib/popover/popover.css +10 -50
  421. package/lib/popover/popover.d.ts +213 -49
  422. package/lib/popover/popover.less +19 -66
  423. package/lib/popover/popover.variable.css +42 -54
  424. package/lib/popover/props.d.ts +103 -35
  425. package/lib/popover/reference.d.ts +2 -0
  426. package/lib/popover/root.d.ts +16 -0
  427. package/lib/popover/use-floating.d.ts +34 -0
  428. package/lib/popover/use-platform.d.ts +30 -0
  429. package/lib/popover/use-popover-init.d.ts +23 -0
  430. package/lib/popover/use-popper-id.d.ts +6 -0
  431. package/lib/popover/utils.d.ts +8 -0
  432. package/lib/popover2/index.d.ts +44 -0
  433. package/lib/popover2/index.js +1 -0
  434. package/lib/popover2/popover.d.ts +2 -0
  435. package/lib/preset.d.ts +264 -2
  436. package/lib/preset.js +1 -0
  437. package/lib/process/index.d.ts +9 -9
  438. package/lib/process/index.js +1 -0
  439. package/lib/process/process.css +22 -0
  440. package/lib/process/process.d.ts +2 -2
  441. package/lib/process/process.less +30 -2
  442. package/lib/process/process.variable.css +54 -4
  443. package/lib/progress/index.d.ts +34 -34
  444. package/lib/progress/index.js +1 -0
  445. package/lib/progress/progress.css +51 -0
  446. package/lib/progress/progress.d.ts +13 -13
  447. package/lib/progress/progress.variable.css +87 -8
  448. package/lib/radio/common.d.ts +5 -5
  449. package/lib/radio/index.d.ts +36 -18
  450. package/lib/radio/index.js +1 -0
  451. package/lib/radio/radio-button.d.ts +7 -8
  452. package/lib/radio/radio-group.d.ts +26 -0
  453. package/lib/radio/radio.css +137 -66
  454. package/lib/radio/radio.d.ts +4 -4
  455. package/lib/radio/radio.less +262 -173
  456. package/lib/radio/radio.variable.css +172 -73
  457. package/lib/radio/type.d.ts +9 -4
  458. package/lib/rate/index.d.ts +28 -5
  459. package/lib/rate/index.js +1 -0
  460. package/lib/rate/rate.d.ts +13 -2
  461. package/lib/rate/star.d.ts +1 -1
  462. package/lib/resize-layout/index.d.ts +21 -21
  463. package/lib/resize-layout/index.js +1 -0
  464. package/lib/resize-layout/resize-layout.css +6 -15
  465. package/lib/resize-layout/resize-layout.d.ts +8 -8
  466. package/lib/resize-layout/resize-layout.less +10 -19
  467. package/lib/resize-layout/resize-layout.variable.css +38 -19
  468. package/lib/search-select/index.d.ts +891 -0
  469. package/lib/search-select/index.js +1 -0
  470. package/lib/search-select/input.d.ts +101 -0
  471. package/lib/search-select/menu.d.ts +77 -0
  472. package/lib/search-select/search-select.css +427 -0
  473. package/lib/search-select/search-select.d.ts +361 -0
  474. package/lib/search-select/search-select.less +384 -0
  475. package/lib/search-select/search-select.variable.css +549 -0
  476. package/lib/search-select/selected.d.ts +155 -0
  477. package/lib/search-select/utils.d.ts +88 -0
  478. package/lib/select/common.d.ts +5 -12
  479. package/lib/select/index.d.ts +1831 -690
  480. package/lib/select/index.js +1 -0
  481. package/lib/select/option.d.ts +20 -4
  482. package/lib/select/optionGroup.d.ts +1 -1
  483. package/lib/select/select.css +209 -113
  484. package/lib/select/select.d.ts +722 -147
  485. package/lib/select/select.less +342 -197
  486. package/lib/select/select.variable.css +241 -117
  487. package/lib/select/selectTagInput.d.ts +94 -0
  488. package/lib/select/type.d.ts +23 -13
  489. package/lib/shared/dom.d.ts +3 -0
  490. package/lib/shared/helper.d.ts +9 -0
  491. package/lib/shared/hooks/use-form-item.d.ts +2 -0
  492. package/lib/shared/hooks/use-form.d.ts +2 -0
  493. package/lib/shared/index.d.ts +32 -7
  494. package/lib/shared/index.js +1 -0
  495. package/lib/shared/mask-manager.d.ts +19 -5
  496. package/lib/shared/pop-manager.d.ts +16 -5
  497. package/lib/shared/popover.d.ts +6 -2
  498. package/lib/shared/token.d.ts +4 -0
  499. package/lib/shared/utils.d.ts +19 -0
  500. package/lib/shared/vue-types.d.ts +114 -7
  501. package/lib/sideslider/index.d.ts +290 -138
  502. package/lib/sideslider/index.js +1 -0
  503. package/lib/sideslider/sideslider.css +58 -11
  504. package/lib/sideslider/sideslider.d.ts +135 -64
  505. package/lib/sideslider/sideslider.less +75 -14
  506. package/lib/sideslider/sideslider.variable.css +90 -15
  507. package/lib/slider/index.d.ts +414 -1
  508. package/lib/slider/index.js +1 -0
  509. package/lib/slider/slider-button.d.ts +2 -1
  510. package/lib/slider/slider.d.ts +4 -4
  511. package/lib/slider/slider.variable.css +32 -4
  512. package/lib/steps/index.d.ts +55 -55
  513. package/lib/steps/index.js +1 -0
  514. package/lib/steps/steps.css +15 -3
  515. package/lib/steps/steps.d.ts +33 -33
  516. package/lib/steps/steps.less +24 -3
  517. package/lib/steps/steps.variable.css +47 -7
  518. package/lib/styles/index.d.ts +10 -1
  519. package/lib/styles/mixins/clearfix.css +8 -0
  520. package/lib/styles/mixins/clearfix.less +10 -0
  521. package/lib/styles/mixins/clearfix.variable.css +8 -0
  522. package/lib/styles/mixins/mixins.css +51 -0
  523. package/lib/styles/mixins/mixins.less +2 -0
  524. package/lib/styles/mixins/mixins.variable.css +51 -0
  525. package/lib/styles/mixins/popper.css +1 -1
  526. package/lib/styles/mixins/popper.less +12 -11
  527. package/lib/styles/mixins/popper.variable.css +123 -1
  528. package/lib/styles/mixins/scroll.css +17 -0
  529. package/lib/styles/mixins/scroll.less +22 -0
  530. package/lib/styles/mixins/scroll.variable.css +139 -0
  531. package/lib/styles/reset.css +36 -0
  532. package/lib/styles/reset.less +26 -2
  533. package/lib/styles/reset.variable.css +36 -0
  534. package/lib/styles/themes/themes.less +42 -4
  535. package/lib/swiper/index.js +1 -0
  536. package/lib/switcher/index.d.ts +42 -30
  537. package/lib/switcher/index.js +1 -0
  538. package/lib/switcher/switcher.css +57 -6
  539. package/lib/switcher/switcher.d.ts +19 -13
  540. package/lib/switcher/switcher.less +3 -26
  541. package/lib/switcher/switcher.variable.css +106 -27
  542. package/lib/tab/index.d.ts +122 -68
  543. package/lib/tab/index.js +1 -0
  544. package/lib/tab/props.d.ts +93 -41
  545. package/lib/tab/tab-nav.d.ts +50 -14
  546. package/lib/tab/tab-panel.d.ts +15 -8
  547. package/lib/tab/tab.css +151 -55
  548. package/lib/tab/tab.d.ts +42 -21
  549. package/lib/tab/tab.less +179 -86
  550. package/lib/tab/tab.variable.css +183 -59
  551. package/lib/table/cache.d.ts +6 -0
  552. package/lib/table/components/index.d.ts +3 -0
  553. package/lib/table/components/table-cell.d.ts +51 -0
  554. package/lib/table/components/table-column.d.ts +299 -0
  555. package/lib/table/components/table-row.d.ts +2 -0
  556. package/lib/table/const.d.ts +128 -1
  557. package/lib/table/index.d.ts +1405 -51
  558. package/lib/table/index.js +1 -0
  559. package/lib/table/plugins/body-empty.d.ts +36 -0
  560. package/lib/table/plugins/col-group.d.ts +38 -0
  561. package/lib/table/plugins/common.d.ts +6 -0
  562. package/lib/table/plugins/head-filter.css +30 -14
  563. package/lib/table/plugins/head-filter.d.ts +26 -0
  564. package/lib/table/plugins/head-filter.less +79 -52
  565. package/lib/table/plugins/head-filter.variable.css +62 -18
  566. package/lib/table/plugins/head-sort.css +7 -3
  567. package/lib/table/plugins/head-sort.d.ts +29 -0
  568. package/lib/table/plugins/head-sort.less +8 -4
  569. package/lib/table/plugins/head-sort.variable.css +39 -7
  570. package/lib/table/plugins/index.d.ts +5 -0
  571. package/lib/table/plugins/settings.css +147 -0
  572. package/lib/table/plugins/settings.d.ts +37 -0
  573. package/lib/table/plugins/settings.less +181 -0
  574. package/lib/table/plugins/settings.variable.css +269 -0
  575. package/lib/table/plugins/use-active-columns.d.ts +16 -0
  576. package/lib/table/plugins/use-column-resize.d.ts +15 -0
  577. package/lib/table/plugins/use-fixed-column.d.ts +26 -0
  578. package/lib/table/plugins/use-pagination.d.ts +16 -0
  579. package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
  580. package/lib/table/props.d.ts +359 -11
  581. package/lib/table/render.d.ts +46 -18
  582. package/lib/table/table.css +1251 -16
  583. package/lib/table/table.d.ts +270 -20
  584. package/lib/table/table.less +311 -18
  585. package/lib/table/table.variable.css +1293 -30
  586. package/lib/table/use-column.d.ts +12 -0
  587. package/lib/table/use-common.d.ts +113 -0
  588. package/lib/table/utils.d.ts +51 -12
  589. package/lib/table-column/index.d.ts +790 -0
  590. package/lib/table-column/index.js +1 -0
  591. package/lib/tag/index.d.ts +29 -29
  592. package/lib/tag/index.js +1 -0
  593. package/lib/tag/tag.css +46 -13
  594. package/lib/tag/tag.d.ts +12 -12
  595. package/lib/tag/tag.less +46 -10
  596. package/lib/tag/tag.variable.css +78 -17
  597. package/lib/tag-input/common.d.ts +13 -1
  598. package/lib/tag-input/index.d.ts +1406 -1
  599. package/lib/tag-input/index.js +1 -0
  600. package/lib/tag-input/list-tag-render.d.ts +0 -3
  601. package/lib/tag-input/tag-input.css +23 -26
  602. package/lib/tag-input/tag-input.d.ts +302 -43
  603. package/lib/tag-input/tag-input.less +102 -104
  604. package/lib/tag-input/tag-input.variable.css +55 -30
  605. package/lib/tag-input/tag-props.d.ts +141 -7
  606. package/lib/tag-input/tag-render.d.ts +30 -4
  607. package/lib/time-picker/index.d.ts +904 -0
  608. package/lib/time-picker/index.js +1 -0
  609. package/lib/time-picker/time-picker.css +215 -0
  610. package/lib/time-picker/time-picker.less +260 -0
  611. package/lib/time-picker/time-picker.variable.css +337 -0
  612. package/lib/timeline/index.d.ts +6 -6
  613. package/lib/timeline/index.js +1 -0
  614. package/lib/timeline/timeline.css +16 -9
  615. package/lib/timeline/timeline.d.ts +1 -1
  616. package/lib/timeline/timeline.less +22 -9
  617. package/lib/timeline/timeline.variable.css +48 -13
  618. package/lib/transfer/const.d.ts +5 -0
  619. package/lib/transfer/index.d.ts +247 -150
  620. package/lib/transfer/index.js +1 -0
  621. package/lib/transfer/props.d.ts +59 -0
  622. package/lib/transfer/transfer.css +153 -92
  623. package/lib/transfer/transfer.d.ts +101 -95
  624. package/lib/transfer/transfer.less +142 -112
  625. package/lib/transfer/transfer.variable.css +191 -102
  626. package/lib/tree/constant.d.ts +62 -0
  627. package/lib/tree/index.d.ts +402 -60
  628. package/lib/tree/index.js +1 -0
  629. package/lib/tree/props.d.ts +135 -0
  630. package/lib/tree/tree.css +181 -9
  631. package/lib/tree/tree.d.ts +183 -19
  632. package/lib/tree/tree.less +54 -3
  633. package/lib/tree/tree.variable.css +213 -13
  634. package/lib/tree/use-empty.d.ts +6 -0
  635. package/lib/tree/use-node-action.d.ts +12 -0
  636. package/lib/tree/use-node-async.d.ts +5 -0
  637. package/lib/tree/use-node-attribute.d.ts +42 -0
  638. package/lib/tree/use-node-drag.d.ts +3 -0
  639. package/lib/tree/use-search.d.ts +11 -0
  640. package/lib/tree/use-tree-init.d.ts +15 -0
  641. package/lib/tree/util.d.ts +4 -6
  642. package/lib/upload/index.d.ts +566 -0
  643. package/lib/upload/index.js +1 -0
  644. package/lib/upload/props.d.ts +111 -0
  645. package/lib/upload/upload-list.d.ts +47 -0
  646. package/lib/upload/upload-trigger.d.ts +51 -0
  647. package/lib/upload/upload.css +427 -0
  648. package/lib/upload/upload.d.ts +246 -0
  649. package/lib/upload/upload.less +466 -0
  650. package/lib/upload/upload.type.d.ts +78 -0
  651. package/lib/upload/upload.variable.css +549 -0
  652. package/lib/upload/use-ajax-upload.d.ts +3 -0
  653. package/lib/upload/use-file-handler.d.ts +44 -0
  654. package/lib/virtual-render/index.d.ts +50 -4
  655. package/lib/virtual-render/index.js +1 -0
  656. package/lib/virtual-render/props.d.ts +15 -0
  657. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  658. package/lib/virtual-render/v-virtual-render.d.ts +0 -1
  659. package/lib/virtual-render/virtual-render.css +17 -17
  660. package/lib/virtual-render/virtual-render.d.ts +23 -1
  661. package/lib/virtual-render/virtual-render.less +2 -23
  662. package/lib/virtual-render/virtual-render.variable.css +139 -17
  663. package/lib/volar.components.d.ts +102 -0
  664. package/package.json +38 -17
  665. package/LICENSE.txt +0 -22
  666. package/lib/form/common.d.ts +0 -3
  667. package/lib/use-form.d.ts +0 -3
@@ -1 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../button"),require("../modal"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../button","../modal"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("../button"),require("../modal")):t(e["../shared"],e.vue,e["../button"],e["../modal"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o,r)=>(()=>{"use strict";var n={4976:e=>{e.exports=o},8014:e=>{e.exports=r},4212:t=>{t.exports=e},748:e=>{e.exports=t}},i={};function l(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={exports:{}};return n[e](o,o.exports,l),o.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{l.r(a),l.d(a,{default:()=>d});var e=l(4212),t=l(748),o=l(4976),r=l.n(o),n=l(8014),i=l.n(n);const s=(0,t.defineComponent)({name:"Dialog",components:{BkModal:i(),BkButton:r()},props:Object.assign(Object.assign({},n.propsMixin),{width:{type:[Number,String],default:null},height:{type:[Number,String],default:null},confirmText:{type:String,default:"确定"},cancelText:{type:String,default:"取消"},title:{type:String,default:"Title"},headerAlign:{type:String,default:"left",validator:function(e){var t=["left","center","right"];return!(t.indexOf(e)<0&&(console.error("headerAlign property is not valid: '".concat(e,"',【").concat(t.join(" | "),"】")),1))}},footerAlign:{type:String,default:"right",validator:function(e){var t=["left","center","right"];return!(t.indexOf(e)<0&&(console.error("footerAlign property is not valid: '".concat(e,"',【").concat(t.join(" | "),"】")),1))}},theme:{type:String,default:"primary",validator:function(e){return!(["primary","warning","success","danger"].indexOf(e)<0&&(console.error("theme property is not valid: '".concat(e,"'")),1))}}}),emits:["closed","update:isShow","confirm"],mounted:function(){this.escClose&&addEventListener("keydown",this.escCloseHandler)},beforeDestory:function(){this.escClose&&removeEventListener("keydown",this.escCloseHandler)},methods:{handleClose:function(){this.$emit("update:isShow",!1),this.$emit("closed")},handleConfirm:function(){this.$emit("update:isShow",!1),this.$emit("confirm")},escCloseHandler:function(e){this.isShow&&this.closeIcon&&27===e.keyCode&&this.handleClose()}},render:function(){var e,o=this,n={header:function(){var e,r,n;return[(0,t.createVNode)("div",{class:"bk-dialog-tool"},[(0,t.createVNode)("span",{class:["bk-dialog-close",o.closeIcon?"":"close-icon"],onClick:o.handleClose},[(0,t.createTextVNode)("+")])]),(0,t.createVNode)("div",{class:"bk-dialog-header"},[(0,t.createVNode)("span",{class:"bk-dialog-title",style:"text-align: ".concat(o.headerAlign)},[null!==(n=null===(r=(e=o.$slots).header)||void 0===r?void 0:r.call(e))&&void 0!==n?n:o.title])])]},default:function(){var e,t,r;return null!==(r=null===(t=(e=o.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==r?r:"default"},footer:function(){var e,n,i;return(0,t.createVNode)("div",{class:"bk-dialog-footer",style:"text-align: ".concat(o.footerAlign)},[null!==(i=null===(n=(e=o.$slots).footer)||void 0===n?void 0:n.call(e))&&void 0!==i?i:(0,t.createVNode)(t.Fragment,null,[(0,t.createVNode)(r(),{onClick:o.handleConfirm,theme:o.theme},{default:function(){return[o.confirmText]}}),(0,t.createVNode)(r(),{style:"margin-left: 8px;",onClick:o.handleClose},{default:function(){return[o.cancelText]}})])])}},l="bk-dialog-wrapper ".concat(this.scrollable?"scroll-able":"");return(0,t.createVNode)(i(),(0,t.mergeProps)(this.$props,{class:l}),"function"==typeof(e=n)||"[object Object]"===Object.prototype.toString.call(e)&&!(0,t.isVNode)(e)?n:{default:function(){return[n]}})}}),d=(0,e.withInstall)(s)})(),a})()));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../button"),require("../config-provider"),require("../icon"),require("../modal"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../button","../config-provider","../icon","../modal"],t);else{var r="object"==typeof exports?t(require("../shared"),require("vue"),require("../button"),require("../config-provider"),require("../icon"),require("../modal")):t(e["../shared"],e.vue,e["../button"],e["../config-provider"],e["../icon"],e["../modal"]);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,((e,t,r,o,n,i)=>(()=>{var a={7162:(e,t,r)=>{e.exports=r(5047)},5047:e=>{var t=function(e){"use strict";var t,r=Object.prototype,o=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var n=t&&t.prototype instanceof m?t:m,i=Object.create(n.prototype),a=new P(o||[]);return i._invoke=function(e,t,r){var o=f;return function(n,i){if(o===p)throw new Error("Generator is already running");if(o===h){if("throw"===n)throw i;return O()}for(r.method=n,r.arg=i;;){var a=r.delegate;if(a){var l=L(a,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=p;var c=u(e,t,r);if("normal"===c.type){if(o=r.done?h:d,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=h,r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",v={};function m(){}function g(){}function y(){}var x={};c(x,i,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(j([])));b&&b!==r&&o.call(b,i)&&(x=b);var T=y.prototype=m.prototype=Object.create(x);function N(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function r(n,i,a,l){var c=u(e[n],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==typeof f&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,l)}))}l(c.arg)}var n;this._invoke=function(e,o){function i(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(i,i):i()}}function L(e,r){var o=e.iterator[r.method];if(o===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,L(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,v;var i=n.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function j(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:O}}function O(){return{value:t,done:!0}}return g.prototype=y,c(T,"constructor",y),c(y,"constructor",g),g.displayName=c(y,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,l,"GeneratorFunction")),e.prototype=Object.create(T),e},e.awrap=function(e){return{__await:e}},N(C.prototype),c(C.prototype,a,(function(){return this})),e.AsyncIterator=C,e.async=function(t,r,o,n,i){void 0===i&&(i=Promise);var a=new C(s(t,r,o,n),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},N(T),c(T,l,"Generator"),c(T,i,(function(){return this})),c(T,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=j,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;E(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:j(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},4976:e=>{"use strict";e.exports=r},2717:e=>{"use strict";e.exports=o},6870:e=>{"use strict";e.exports=n},8014:e=>{"use strict";e.exports=i},4212:t=>{"use strict";t.exports=e},748:e=>{"use strict";e.exports=t}},l={};function c(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return a[e](r,r.exports,c),r.exports}c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{"use strict";c.r(s),c.d(s,{default:()=>h});var e=c(4212),t=c(748),r=c(7162),o=c.n(r);Object.create,Object.create;var n=c(4976),i=c.n(n),a=c(2717),l=c(6870),u=c(8014),f=c.n(u);const d=Object.assign(Object.assign({},u.propsMixin),{width:e.PropTypes.oneOfType([String,Number]).def(""),height:e.PropTypes.oneOfType([String,Number]).def(""),confirmText:e.PropTypes.string,cancelText:e.PropTypes.string,prevText:e.PropTypes.string,nextText:e.PropTypes.string,current:e.PropTypes.number.def(1),totalStep:e.PropTypes.number,title:e.PropTypes.string.def("title"),headerAlign:(0,e.alignType)().def(e.AlignEnum.LEFT),footerAlign:(0,e.alignType)().def(e.AlignEnum.RIGHT),theme:e.PropTypes.theme().def(e.ThemeEnum.PRIMARY),dialogType:(0,e.dialogTypeUnion)(),isLoading:e.PropTypes.bool.def(!1)}),p=(0,t.defineComponent)({name:"Dialog",components:{BkModal:f(),BkButton:i()},props:d,emits:["closed","update:isShow","confirm","prev","next","value-change"],setup:function(e,r){var n=this,i=r.emit,l=(0,a.useLocale)("dialog"),c=(0,t.computed)((function(){return void 0===e.confirmText?l.value.ok:e.confirmText})),s=(0,t.computed)((function(){return void 0===e.cancelText?l.value.cancel:e.cancelText})),u=(0,t.computed)((function(){return void 0===e.prevText?l.value.prev:e.prevText})),f=(0,t.computed)((function(){return void 0===e.nextText?l.value.next:e.nextText})),d=(0,t.reactive)({positionX:0,positionY:0,moveStyle:{top:"",left:""}}),p=(0,t.ref)(e.isShow);(0,t.onMounted)((function(){e.escClose&&addEventListener("keydown",m)})),(0,t.onBeforeUnmount)((function(){e.escClose&&removeEventListener("keydown",m)})),(0,t.watch)((function(){return e.isShow}),(function(e){e?p.value=!0:setTimeout((function(){d.moveStyle={top:"50%",left:"50%"},d.positionX=0,d.positionY=0,p.value=!1}),250),i("value-change",e)}));var h=function(){return t=n,r=void 0,a=void 0,l=o().mark((function t(){var r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=!0,"function"!=typeof e.beforeClose){t.next=5;break}return t.next=4,e.beforeClose();case 4:r=t.sent;case 5:r&&(i("update:isShow",!1),i("closed"),p.value=!1);case 6:case"end":return t.stop()}}),t)})),new(a||(a=Promise))((function(e,o){function n(e){try{c(l.next(e))}catch(e){o(e)}}function i(e){try{c(l.throw(e))}catch(e){o(e)}}function c(t){var r;t.done?e(t.value):(r=t.value,r instanceof a?r:new a((function(e){e(r)}))).then(n,i)}c((l=l.apply(t,r||[])).next())}));var t,r,a,l},v=(0,t.computed)((function(){return["process","operation","confirm"].includes(e.dialogType)})),m=function(t){e.isShow&&e.closeIcon&&27===t.keyCode&&h()};return{data:d,handleClose:h,handleConfirm:function(){i("update:isShow",!1),i("confirm")},escCloseHandler:m,moveHandler:function(t){if(e.fullscreen)return!1;if(!e.draggable)return!1;var r,o,n=t.target,i=t.currentTarget.parentNode.parentNode.offsetHeight,a=t.currentTarget.parentNode.parentNode.offsetWidth;0!==d.positionX&&0!==d.positionY?(r=t.clientX-d.positionX,o=t.clientY-d.positionY):(r=t.clientX-n.offsetLeft,o=t.clientY-n.offsetTop),document.onmousemove=function(e){var t=window.innerWidth-a,n=window.innerHeight-i,l=e.clientX-r,c=e.clientY-o;t/2-l<=0?l=t/2:t/2+l<=0&&(l=-t/2),n/2-c<=0?c=n/2:n/2+c<=0&&(c=-n/2),d.positionX=l,d.positionY=c,d.moveStyle.left="calc(50% + ".concat(l,"px)"),d.moveStyle.top="calc(50% + ".concat(c,"px)")},document.onmouseup=function(){document.onmousemove=null,document.onmouseup=null}},handlePrevStep:function(){i("prev")},handleNextStep:function(){i("next")},hasFooter:v,isModalShow:p,localConfirmText:c,localCancelText:s,localPrevText:u,localNextText:f}},render:function(){var r,o=this,n={header:function(){var r,n,i,a,c,s;return[(0,t.createVNode)("div",{class:[(0,e.resolveClassName)("dialog-tool"),o.fullscreen||!o.draggable?"":"move",o.draggable?"content-dragging":""],onMousedown:o.moveHandler},[null!==(i=null===(n=(r=o.$slots).tools)||void 0===n?void 0:n.call(r))&&void 0!==i?i:""]),(0,t.createVNode)("div",{class:(0,e.resolveClassName)("dialog-header")},[(0,t.createVNode)("div",{class:(0,e.resolveClassName)("header-icon")},[o.infoType?{loading:(0,t.createVNode)(l.Spinner,{class:[(0,e.resolveClassName)("info-icon"),"primary"]},null),warning:(0,t.createVNode)(l.Warn,{class:[(0,e.resolveClassName)("info-icon"),"warning"]},null),success:(0,t.createVNode)(l.Success,{class:[(0,e.resolveClassName)("info-icon"),"success"]},null),danger:(0,t.createVNode)(l.Close,{class:[(0,e.resolveClassName)("info-icon"),"danger"]},null)}[o.infoType]:(0,t.createVNode)("slot",{name:"info-icon"},null)]),(0,t.createVNode)("span",{class:(0,e.resolveClassName)("dialog-title"),style:"text-align: ".concat(o.headerAlign)},[null!==(s=null===(c=(a=o.$slots).header)||void 0===c?void 0:c.call(a))&&void 0!==s?s:o.title])])]},default:function(){var e,t,r;return null!==(r=null===(t=(e=o.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==r?r:"default"},footer:function(){var r,n,a,l,c,s,u,f,d;return(0,t.createVNode)("div",{class:(0,e.resolveClassName)("dialog-footer"),style:"text-align: ".concat(o.footerAlign)},["process"===o.dialogType?null!==(a=null===(n=(r=o.$slots).footer)||void 0===n?void 0:n.call(r))&&void 0!==a?a:(0,t.createVNode)(t.Fragment,null,[1===o.current?"":(0,t.createVNode)(i(),{class:(0,e.resolveClassName)("dialog-perv"),onClick:o.handlePrevStep},{default:function(){return[o.localPrevText]}}),o.current===o.totalStep?"":(0,t.createVNode)(i(),{class:(0,e.resolveClassName)("dialog-next"),onClick:o.handleNextStep},{default:function(){return[o.localNextText]}}),o.current===o.totalStep?(0,t.createVNode)(i(),{onClick:o.handleConfirm,theme:o.theme,loading:o.isLoading},{default:function(){return[o.localConfirmText]}}):"",(0,t.createVNode)(i(),{class:(0,e.resolveClassName)("dialog-cancel"),onClick:o.handleClose,disabled:o.isLoading},{default:function(){return[o.localCancelText]}})]):"","operation"===o.dialogType?null!==(s=null===(c=(l=o.$slots).footer)||void 0===c?void 0:c.call(l))&&void 0!==s?s:(0,t.createVNode)(t.Fragment,null,[(0,t.createVNode)(i(),{onClick:o.handleConfirm,theme:o.theme,loading:o.isLoading},{default:function(){return[o.localConfirmText]}}),(0,t.createVNode)(i(),{class:(0,e.resolveClassName)("dialog-cancel"),onClick:o.handleClose,disabled:o.isLoading},{default:function(){return[o.localCancelText]}})]):"","confirm"===o.dialogType?null!==(d=null===(f=(u=o.$slots).footer)||void 0===f?void 0:f.call(u))&&void 0!==d?d:(0,t.createVNode)(t.Fragment,null,[(0,t.createVNode)(i(),{onClick:o.handleConfirm,theme:o.theme,loading:o.isLoading},{default:function(){return[o.localConfirmText]}})]):""])},close:function(){return(0,t.createVNode)(l.Error,{onClick:o.handleClose},null)}},a="".concat((0,e.resolveClassName)("dialog-wrapper ")," ").concat(this.scrollable?"scroll-able":""," ").concat(this.multiInstance?"multi-instance":""," ").concat(this.hasFooter?"has-footer":"no-footer");return(0,t.createVNode)(f(),(0,t.mergeProps)(this.$props,{class:a,onClose:this.handleClose,isShow:this.isModalShow,style:this.data.moveStyle}),"function"==typeof(r=n)||"[object Object]"===Object.prototype.toString.call(r)&&!(0,t.isVNode)(r)?n:{default:function(){return[n]}})}}),h=(0,e.withInstall)(p)})(),s})()));
@@ -0,0 +1,122 @@
1
+ declare const props: {
2
+ width: import("vue-types").VueTypeDef<string | number> & {
3
+ default: string | number;
4
+ };
5
+ height: import("vue-types").VueTypeDef<string | number> & {
6
+ default: string | number;
7
+ };
8
+ confirmText: import("vue-types").VueTypeValidableDef<string> & {
9
+ default: string;
10
+ };
11
+ cancelText: import("vue-types").VueTypeValidableDef<string> & {
12
+ default: string;
13
+ };
14
+ prevText: import("vue-types").VueTypeValidableDef<string> & {
15
+ default: string;
16
+ };
17
+ nextText: import("vue-types").VueTypeValidableDef<string> & {
18
+ default: string;
19
+ };
20
+ current: import("vue-types").VueTypeValidableDef<number> & {
21
+ default: number;
22
+ } & {
23
+ default: number;
24
+ };
25
+ totalStep: import("vue-types").VueTypeValidableDef<number> & {
26
+ default: number;
27
+ };
28
+ title: import("vue-types").VueTypeValidableDef<string> & {
29
+ default: string;
30
+ } & {
31
+ default: string;
32
+ };
33
+ headerAlign: import("vue-types").VueTypeValidableDef<"left" | "center" | "right"> & {
34
+ default: "left" | "center" | "right";
35
+ };
36
+ footerAlign: import("vue-types").VueTypeValidableDef<"left" | "center" | "right"> & {
37
+ default: "left" | "center" | "right";
38
+ };
39
+ theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary"> & {
40
+ default: "success" | "warning" | "danger" | "primary";
41
+ };
42
+ dialogType: import("vue-types").VueTypeDef<"process" | "show" | "operation" | "confirm">;
43
+ isLoading: import("vue-types").VueTypeValidableDef<boolean> & {
44
+ default: boolean;
45
+ } & {
46
+ default: boolean;
47
+ };
48
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
49
+ default: boolean;
50
+ } & {
51
+ default: boolean;
52
+ };
53
+ extCls: (import("vue-types").VueTypeValidableDef<string> & {
54
+ default: string;
55
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
56
+ default: () => unknown[];
57
+ });
58
+ scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
59
+ default: boolean;
60
+ } & {
61
+ default: boolean;
62
+ };
63
+ showMask: import("vue-types").VueTypeValidableDef<boolean> & {
64
+ default: boolean;
65
+ } & {
66
+ default: boolean;
67
+ };
68
+ closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
69
+ default: boolean;
70
+ } & {
71
+ default: boolean;
72
+ };
73
+ escClose: import("vue-types").VueTypeValidableDef<boolean> & {
74
+ default: boolean;
75
+ } & {
76
+ default: boolean;
77
+ };
78
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
79
+ default: boolean;
80
+ } & {
81
+ default: boolean;
82
+ };
83
+ size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
84
+ draggable: import("vue-types").VueTypeValidableDef<boolean> & {
85
+ default: boolean;
86
+ } & {
87
+ default: boolean;
88
+ };
89
+ quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
90
+ default: boolean;
91
+ } & {
92
+ default: boolean;
93
+ };
94
+ transfer: import("vue-types").VueTypeDef<string | boolean | HTMLElement> & {
95
+ default: string | boolean | (() => HTMLElement);
96
+ };
97
+ zIndex: import("vue-types").VueTypeDef<string | number> & {
98
+ default: string | number;
99
+ };
100
+ maxHeight: import("vue-types").VueTypeValidableDef<string> & {
101
+ default: string;
102
+ };
103
+ direction: import("vue-types").VueTypeValidableDef<string> & {
104
+ default: string;
105
+ };
106
+ animateType: import("vue-types").VueTypeValidableDef<string> & {
107
+ default: string;
108
+ } & {
109
+ default: string;
110
+ };
111
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
112
+ default: "if" | "show";
113
+ };
114
+ beforeClose: import("vue-types").VueTypeDef<unknown>;
115
+ multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
116
+ default: boolean;
117
+ } & {
118
+ default: boolean;
119
+ };
120
+ infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
121
+ };
122
+ export default props;
@@ -0,0 +1,7 @@
1
+ import { ObjectDirective } from 'vue';
2
+ export declare const createInstance: (el: HTMLElement, binding: any) => {
3
+ destroyInstance: (element?: HTMLElement) => void;
4
+ instance: any;
5
+ };
6
+ declare const ellipsis: ObjectDirective;
7
+ export default ellipsis;
@@ -1,3 +1,5 @@
1
+ export { overflowTitle } from '../overflow-title';
1
2
  export { default as mousewheel } from './mousewheel';
2
3
  export { default as clickoutside } from './clickoutside';
3
4
  export { default as bkTooltips } from './tooltips';
5
+ export { default as bkEllipsis, createInstance as bkEllipsisInstance } from './ellipsis';
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("@popperjs/core"),require("../styles/mixins/popper.less"));else if("function"==typeof define&&define.amd)define(["../shared","@popperjs/core","../styles/mixins/popper.less"],t);else{var n="object"==typeof exports?t(require("../shared"),require("@popperjs/core"),require("../styles/mixins/popper.less")):t(e["../shared"],e["@popperjs/core"],e["../styles/mixins/popper.less"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((e,t,n)=>(()=>{var r={2439:(e,t,n)=>{e.exports=n(2527)},7430:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},6377:e=>{var t,n,r,o,i,a,u,s,c,d,l,f,p,m,v,y=!1;function b(){if(!y){y=!0;var e=navigator.userAgent,b=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),h=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),d=/Android/i.exec(e),m=/FBAN\/\w+;/i.exec(e),v=/Mobile/i.exec(e),l=!!/Win64/.exec(e),b){(t=b[1]?parseFloat(b[1]):b[5]?parseFloat(b[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var w=/(?:Trident\/(\d+.\d+))/.exec(e);a=w?parseFloat(w[1])+4:t,n=b[2]?parseFloat(b[2]):NaN,r=b[3]?parseFloat(b[3]):NaN,(o=b[4]?parseFloat(b[4]):NaN)?(b=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=b&&b[1]?parseFloat(b[1]):NaN):i=NaN}else t=n=r=i=o=NaN;if(h){if(h[1]){var g=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);u=!g||parseFloat(g[1].replace("_","."))}else u=!1;s=!!h[2],c=!!h[3]}else u=s=c=!1}}var h={ie:function(){return b()||t},ieCompatibilityMode:function(){return b()||a>t},ie64:function(){return h.ie()&&l},firefox:function(){return b()||n},opera:function(){return b()||r},webkit:function(){return b()||o},safari:function(){return h.webkit()},chrome:function(){return b()||i},windows:function(){return b()||s},osx:function(){return b()||u},linux:function(){return b()||c},iphone:function(){return b()||f},mobile:function(){return b()||f||p||d||v},nativeApp:function(){return b()||m},android:function(){return b()||d},ipad:function(){return b()||p}};e.exports=h},3541:(e,t,n)=>{"use strict";var r,o=n(7430);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},2527:(e,t,n)=>{"use strict";var r=n(6377),o=n(3541);function i(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,o=10*n,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}i.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=i},4212:t=>{"use strict";t.exports=e},7018:e=>{"use strict";e.exports=n},5798:e=>{"use strict";e.exports=t}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";i.r(a),i.d(a,{bkTooltips:()=>b,clickoutside:()=>l,mousewheel:()=>r});var e=i(2439),t=i.n(e),n="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1;const r={beforeMount:function(e,r){var o,i;console.error(e,r),o=e,i=r.value,(null==o?void 0:o.addEventListener)&&o.addEventListener(n?"DOMMouseScroll":"mousewheel",(function(e){var n=t()(e);null==i||i.apply(this,[e,n])}))}};function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s,c=new Map;function d(e,t){var n,r=[];return Array.isArray(t.arg)?r=t.arg:(n=t.arg,"undefined"!=typeof Element&&n instanceof Element&&r.push(t.arg)),function(n,o){var i=t.instance.popperRef,a=n.target,u=null==o?void 0:o.target,s=!t||!t.instance,c=!a||!u,d=e.contains(a)||e.contains(u),l=e===a,f=r.length&&r.some((function(e){return null==e?void 0:e.contains(a)}))||r.length&&r.includes(u),p=i&&(i.contains(a)||i.contains(u));s||c||d||l||f||p||t.value(n,o)}}document.addEventListener("mousedown",(function(e){return s=e})),document.addEventListener("mouseup",(function(e){var t,n=o(c.values());try{for(n.s();!(t=n.n()).done;){var r,i=o(t.value);try{for(i.s();!(r=i.n()).done;)(0,r.value.documentHandler)(e,s)}catch(e){i.e(e)}finally{i.f()}}}catch(e){n.e(e)}finally{n.f()}}));const l={beforeMount:function(e,t){c.has(e)||c.set(e,[]),c.get(e).push({documentHandler:d(e,t),bindingFn:t.value})},updated:function(e,t){c.has(e)||c.set(e,[]);var n=c.get(e),r=n.findIndex((function(e){return e.bindingFn===t.oldValue})),o={documentHandler:d(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted:function(e){c.delete(e)}};function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e){return m="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},m(e)}var v=i(4212),y=i(5798);i(7018);const b={mounted:function(e,t){var n={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,onShow:function(){},onHide:function(){}};"object"===m(t.value)?Object.assign(n,t.value):n.content=t.value;var r=n.disabled,o=n.arrow,i=n.theme;if(!r){var a=function(e,t,n){var r=v.bkZIndexManager.getPopperIndex(),o=document.createElement("div");if(o.className="bk-popper ".concat(n?"light":"dark"),o.innerText=e,o.style.zIndex=String(r),t){var i=function(){var e=document.createElement("div");return e.className="bk-popper-arrow",e.setAttribute("data-popper-arrow",""),e}();o.appendChild(i)}return document.body.appendChild(o),o}(n.content,o,"light"===i);!function(e,t,n){var r=n.placement,o=n.distance,i=n.trigger,a=n.showOnInit,u=n.onShow,s=n.onHide,c=(0,y.createPopper)(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});if("hover"===i){["mouseenter","focus"].forEach((function(t){e.addEventListener(t,d)})),["mouseleave","blur"].forEach((function(t){e.addEventListener(t,l)}))}else"click"===i&&document.body.addEventListener("click",(function(n){e.contains(n.target)&&!t.hasAttribute("data-show")?d():t.hasAttribute("data-show")&&l()}));function d(){t.setAttribute("data-show",""),u(),c.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(p(e.modifiers),[{name:"eventListeners",enabled:!0}])})})),c.update()}function l(){t.removeAttribute("data-show"),s(),c.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(p(e.modifiers),[{name:"eventListeners",enabled:!1}])})}))}a&&d()}(e,a,n)}}}})(),a})()));
2
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../overflow-title"),require("../shared"),require("@popperjs/core"),require("../plugin-popover"));else if("function"==typeof define&&define.amd)define(["../overflow-title","../shared","@popperjs/core","../plugin-popover"],t);else{var n="object"==typeof exports?t(require("../overflow-title"),require("../shared"),require("@popperjs/core"),require("../plugin-popover")):t(e["../overflow-title"],e["../shared"],e["@popperjs/core"],e["../plugin-popover"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((e,t,n,r)=>(()=>{var o={2439:(e,t,n)=>{e.exports=n(2527)},7430:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},6377:e=>{var t,n,r,o,i,a,u,l,c,s,d,f,p,v,m,h=!1;function y(){if(!h){h=!0;var e=navigator.userAgent,y=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),b=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),s=/Android/i.exec(e),v=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),d=!!/Win64/.exec(e),y){(t=y[1]?parseFloat(y[1]):y[5]?parseFloat(y[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var w=/(?:Trident\/(\d+.\d+))/.exec(e);a=w?parseFloat(w[1])+4:t,n=y[2]?parseFloat(y[2]):NaN,r=y[3]?parseFloat(y[3]):NaN,(o=y[4]?parseFloat(y[4]):NaN)?(y=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=y&&y[1]?parseFloat(y[1]):NaN):i=NaN}else t=n=r=i=o=NaN;if(b){if(b[1]){var g=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);u=!g||parseFloat(g[1].replace("_","."))}else u=!1;l=!!b[2],c=!!b[3]}else u=l=c=!1}}var b={ie:function(){return y()||t},ieCompatibilityMode:function(){return y()||a>t},ie64:function(){return b.ie()&&d},firefox:function(){return y()||n},opera:function(){return y()||r},webkit:function(){return y()||o},safari:function(){return b.webkit()},chrome:function(){return y()||i},windows:function(){return y()||l},osx:function(){return y()||u},linux:function(){return y()||c},iphone:function(){return y()||f},mobile:function(){return y()||f||p||s||m},nativeApp:function(){return y()||v},android:function(){return y()||s},ipad:function(){return y()||p}};e.exports=b},3541:(e,t,n)=>{"use strict";var r,o=n(7430);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},2527:(e,t,n)=>{"use strict";var r=n(6377),o=n(3541);function i(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,o=10*n,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}i.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=i},1040:t=>{"use strict";t.exports=e},9706:e=>{"use strict";e.exports=r},4212:e=>{"use strict";e.exports=t},5798:e=>{"use strict";e.exports=n}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return o[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{"use strict";a.r(u),a.d(u,{bkEllipsis:()=>j,bkEllipsisInstance:()=>O,bkTooltips:()=>M,clickoutside:()=>p,mousewheel:()=>o,overflowTitle:()=>e.overflowTitle});var e=a(1040),t=a(2439),n=a.n(t),r="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1;const o={beforeMount:function(e,t){var o,i;console.error(e,t),o=e,i=t.value,(null==o?void 0:o.addEventListener)&&o.addEventListener(r?"DOMMouseScroll":"mousewheel",(function(e){var t=n()(e);null==i||i.apply(this,[e,t])}))}};function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c,s=new Map;function d(e,t){var n,r=[];return Array.isArray(t.arg)?r=t.arg:(n=t.arg,"undefined"!=typeof Element&&n instanceof Element&&r.push(t.arg)),function(n,o){var i=t.instance.popperRef,a=n.target,u=null==o?void 0:o.target,l=!t||!t.instance,c=!a||!u,s=e.contains(a)||e.contains(u),d=e===a,f=r.length&&r.some((function(e){return null==e?void 0:e.contains(a)}))||r.length&&r.includes(u),p=i&&(i.contains(a)||i.contains(u));l||c||s||d||f||p||t.value(n,o)}}document.addEventListener("mousedown",(function(e){return c=e})),document.addEventListener("mouseup",(function(e){var t,n=i(s.values());try{for(n.s();!(t=n.n()).done;){var r,o=i(t.value);try{for(o.s();!(r=o.n()).done;)(0,r.value.documentHandler)(e,c)}catch(e){o.e(e)}finally{o.f()}}}catch(e){n.e(e)}finally{n.f()}}));var f={beforeMount:function(e,t){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:d(e,t),bindingFn:t.value})},updated:function(e,t){s.has(e)||s.set(e,[]);var n=s.get(e),r=n.findIndex((function(e){return e.bindingFn===t.oldValue})),o={documentHandler:d(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted:function(e){s.delete(e)},install:function(e){e.directive("bkTooltips",f)}};const p=f;function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e){return m="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},m(e)}var h=a(4212),y=a(5798),b=new Map;function w(e){var t={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",delay:0,onShow:function(){},onHide:function(){}};return"object"===m(e.value)?Object.assign(t,e.value):t.content=e.value,t}function g(){var e=document.createElement("div");return e.className=(0,h.resolveClassName)("popper-arrow"),e.setAttribute("data-popper-arrow",""),e}function x(e){var t=b.get(e),n=t.popper,r=t.opts,o=r.disabled,i=r.content,a=r.arrow,u=r.onShow;if(!o){if(n.innerText=i,a){var l=g();n.appendChild(l)}document.body.appendChild(n);var c=function(e,t){var n=b.get(e).opts,r=n.placement,o=n.distance,i=n.showOnInit,a=(0,y.createPopper)(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});return i&&x(e),a}(e,n);u(),n.setAttribute("data-show",""),c.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat((t=e.modifiers,function(e){if(Array.isArray(e))return v(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[{name:"eventListeners",enabled:!0}])});var t})),c.forceUpdate(),b.get(e).popperInstance=c}}function E(e){if(b.get(e)){var t=b.get(e),n=t.popper,r=t.popperInstance,o=t.opts.onHide;n&&document.body.contains(n)&&(n.removeAttribute("data-show"),null==r||r.destroy(),document.body.removeChild(n),o())}}const M={beforeMount:function(e,t){var n=w(t),r=n.trigger,o=function(e){var t=e.content,n=e.arrow,r=e.theme,o=e.extCls,i="light"===r,a=h.bkZIndexManager.getPopperIndex(),u=document.createElement("div");if(u.className="".concat((0,h.resolveClassName)("popper")," ").concat(i?"light":"dark"," ").concat(o),u.innerText=t,u.style.zIndex=String(a),n){var l=g();u.appendChild(l)}return u}(n),i=null;if("hover"===r){var a=null;e.addEventListener("mouseenter",(function(){i=setTimeout((function(){x(e),clearTimeout(a),clearTimeout(i)}),n.delay)})),o.addEventListener("mouseenter",(function(){clearTimeout(a)})),e.addEventListener("mouseleave",(function(){clearTimeout(i),a=setTimeout((function(){E(e)}),100)})),e.addEventListener("click",(function(){E(e)})),o.addEventListener("mouseleave",(function(){clearTimeout(i),a=setTimeout((function(){E(e)}),100)}))}else"click"===r&&document.body.addEventListener("click",(function(t){e.contains(t.target)&&!o.hasAttribute("data-show")?i=setTimeout((function(){x(e),clearTimeout(i)}),n.delay):o.hasAttribute("data-show")&&E(e)}));b.set(e,{opts:n,popper:o,popperInstance:null})},updated:function(e,t){b.get(e).opts=w(t)},unmounted:function(e){E(e),b.delete(e)}};var T=a(9706),S=a.n(T),A=function(e,t){var n={content:"",target:e};return"object"===m(t.value)?Object.assign(n,t.value):n.content=t.value,n},O=function(e,t){var n=null,r=null,o=null;if(!A(e,t).disabled&&!n){var i=function(){o&&clearTimeout(o),o=null},a=function(){r&&clearTimeout(r),null==n||n.hide(),null==n||n.close(),n=null},u=function(){r&&clearTimeout(r),r=setTimeout((function(){var r=A(e,t);r.isShow=!0,r.content=r.content||e.innerHTML,r.allowHtml=!0,Object.assign(r,{onContentMouseenter:i,onContentMouseleave:a}),n=S()(r)}),100)},l=function(){o=setTimeout((function(){r&&clearTimeout(r),null==n||n.hide(),null==n||n.close(),n=null}),120)};return e.addEventListener("mouseenter",u),e.addEventListener("mouseleave",l),Object.assign(t,{__cached:{handleMouseEnter:u,handleMouseLeave:l}}),{destroyInstance:function(t){var n,r;l(),null===(n=null!=t?t:e)||void 0===n||n.removeEventListener("mouseenter",u),null===(r=null!=t?t:e)||void 0===r||r.removeEventListener("mouseleave",l)},instance:n}}};const j={mounted:function(e,t){O(e,t)},beforeUnmount:function(e,t){if(t.__cached){var n=t.__cached,r=n.handleMouseEnter,o=n.handleMouseLeave;e.removeEventListener("mouseenter",r),e.removeEventListener("mouseleave",o),t.__cached=null}}}})(),u})()));
@@ -1,6 +1,5 @@
1
1
  import { ObjectDirective } from 'vue';
2
2
  import { Placement } from '@popperjs/core';
3
- import '@bkui-vue/styles/mixins/popper.less';
4
3
  export declare type IOptions = {
5
4
  arrow: boolean;
6
5
  disabled: boolean;
@@ -10,6 +9,8 @@ export declare type IOptions = {
10
9
  theme: string;
11
10
  trigger: string;
12
11
  distance: number;
12
+ extCls: string;
13
+ delay: number;
13
14
  onShow: () => void;
14
15
  onHide: () => void;
15
16
  };
@@ -0,0 +1 @@
1
+ !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("./styles"),require("./preset"),require("./components"),require("./directives"),require("./config-provider"));else if("function"==typeof define&&define.amd)define(["./styles","./preset","./components","./directives","./config-provider"],r);else{var t="object"==typeof exports?r(require("./styles"),require("./preset"),require("./components"),require("./directives"),require("./config-provider")):r(e["./styles"],e["./preset"],e["./components"],e["./directives"],e["./config-provider"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t,o,i)=>(()=>{"use strict";var s={4689:e=>{e.exports=t},7623:e=>{e.exports=i},7257:e=>{e.exports=o},9887:e=>{e.exports=r},9243:r=>{r.exports=e}},n={};function p(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={exports:{}};return s[e](t,t.exports,p),t.exports}p.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return p.d(r,{a:r}),r},p.d=(e,r)=>{for(var t in r)p.o(r,t)&&!p.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},p.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};return(()=>{p.r(d),p.d(d,{default:()=>r.a}),p(9243);var e=p(9887),r=p.n(e),t=p(4689),o={};for(const e in t)"default"!==e&&(o[e]=()=>t[e]);p.d(d,o);var i=p(7257);o={};for(const e in i)"default"!==e&&(o[e]=()=>i[e]);p.d(d,o);var s=p(7623);o={};for(const e in s)"default"!==e&&(o[e]=()=>s[e]);p.d(d,o)})(),d})()));
@@ -1,9 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- direction: import("vue-types").VueTypeDef<string> & {
3
- default: string;
2
+ direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
3
+ default: "horizontal" | "vertical";
4
4
  };
5
- align: import("vue-types").VueTypeDef<string> & {
6
- default: string;
5
+ align: import("vue-types").VueTypeValidableDef<"left" | "center" | "right"> & {
6
+ default: "left" | "center" | "right";
7
7
  };
8
8
  color: import("vue-types").VueTypeValidableDef<string> & {
9
9
  default: string;
@@ -15,15 +15,15 @@ declare const _default: import("vue").DefineComponent<{
15
15
  } & {
16
16
  default: number;
17
17
  };
18
- type: import("vue-types").VueTypeDef<string> & {
19
- default: string;
18
+ type: import("vue-types").VueTypeDef<"dashed" | "solid"> & {
19
+ default: "dashed" | "solid";
20
20
  };
21
21
  }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
- direction: import("vue-types").VueTypeDef<string> & {
23
- default: string;
22
+ direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
23
+ default: "horizontal" | "vertical";
24
24
  };
25
- align: import("vue-types").VueTypeDef<string> & {
26
- default: string;
25
+ align: import("vue-types").VueTypeValidableDef<"left" | "center" | "right"> & {
26
+ default: "left" | "center" | "right";
27
27
  };
28
28
  color: import("vue-types").VueTypeValidableDef<string> & {
29
29
  default: string;
@@ -35,14 +35,14 @@ declare const _default: import("vue").DefineComponent<{
35
35
  } & {
36
36
  default: number;
37
37
  };
38
- type: import("vue-types").VueTypeDef<string> & {
39
- default: string;
38
+ type: import("vue-types").VueTypeDef<"dashed" | "solid"> & {
39
+ default: "dashed" | "solid";
40
40
  };
41
41
  }>>, {
42
+ type: "dashed" | "solid";
42
43
  width: number;
43
- type: string;
44
+ direction: "horizontal" | "vertical";
44
45
  color: string;
45
- direction: string;
46
- align: string;
46
+ align: "left" | "center" | "right";
47
47
  }>;
48
48
  export default _default;
@@ -9,6 +9,7 @@
9
9
  --gray-color: #979ba5;
10
10
  --light-gray: #c4c6cc;
11
11
  --white-color: white;
12
+ --whitesmoke-color: #fafbfd;
12
13
  --disable-color: #dcdee5;
13
14
  --font-size-base: 12px;
14
15
  --font-size-medium: 14px;
@@ -18,10 +19,11 @@
18
19
  --line-height-large: 18px;
19
20
  --component-size-small: 26px;
20
21
  --component-size-base: 32px;
21
- --component-size-large: 38px;
22
+ --component-size-large: 40px;
22
23
  --border-width-base: 1px;
23
24
  --border-style-base: solid;
24
25
  --border-radius-base: 2px;
26
+ --border-style-color: var(--light-gray);
25
27
  --input-disabled-bg: #fafbfd;
26
28
  --input-disabled-border: var(--disable-color);
27
29
  --input-height-base: var(--component-size-base);
@@ -31,8 +33,9 @@
31
33
  --input-broder-radius: 3px;
32
34
  --input-shadow-color: #a3c5fd;
33
35
  --input-horizontal-padding: 10px;
34
- --input-block-color: #f4f6fa;
35
- --input-icon-size: var(--font-size-large);
36
+ --input-block-color: #f5f7fa;
37
+ --input-block-hover-color: #eaebf0;
38
+ --input-icon-size: var(--font-size-medium);
36
39
  --input-maxlength-color: #979ba5;
37
40
  --button-primary-hover-color: #5594fa;
38
41
  --button-danger-hover-color: #ff5656;
@@ -43,6 +46,17 @@
43
46
  --button-danger-active-color: #db2626;
44
47
  --button-success-active-color: #1ab943;
45
48
  --button-warning-active-color: #eb9000;
49
+ --button-selected-bg-color: #e1ecff;
50
+ --button-disabled-selected-bg-color: #f0f1f5;
51
+ --radio-font-color: #63656e;
52
+ --radio-active-color: #5594fa;
53
+ --radio-hover-border-color: #979ba5;
54
+ --radio-disabled-border: #dcdee5;
55
+ --radio-disabled-font-color: #c4c6cc;
56
+ --radio-disabled-checked-bg: #a3c5fd;
57
+ --radio-button-checked-bg: #e1ecff;
58
+ --radio-button-disabled-checked-bg: #fafbfd;
59
+ --checkbox-disabled-checked-bg: #a3c5fd;
46
60
  --fixed-navbar-background: #fff;
47
61
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
48
62
  --switch-default-color: #fff;
@@ -63,12 +77,16 @@
63
77
  --message-color: var(--default-color);
64
78
  --message-primary-bg-color: #f0f8ff;
65
79
  --message-primary-border-color: #e1ecff;
80
+ --message-primary-shadow-color: #e1e8f4;
66
81
  --message-warning-bg-color: #fff4e2;
67
82
  --message-warning-border-color: #ffe8c3;
83
+ --message-warning-shadow-color: #ede6db;
68
84
  --message-success-bg-color: #f2fff4;
69
85
  --message-success-border-color: #dcffe2;
86
+ --message-success-shadow-color: #cef0d7;
70
87
  --message-danger-bg-color: #ffeded;
71
88
  --message-danger-border-color: #ffdddd;
89
+ --message-danger-shadow-color: #f6dada;
72
90
  --slider-default-bg: #dcdee5;
73
91
  --slider-disable-bar-bg: #979ba5;
74
92
  --menu-bg-color: #182132;
@@ -88,9 +106,19 @@
88
106
  --table-border-color: #dcdee5;
89
107
  --table-head-bg-color: #fafbfd;
90
108
  --table-head-font-color: #313238;
91
- --table-body-font-color: #575961;
109
+ --table-body-font-color: #63656E;
92
110
  --table-row-hover-bg-color: #f5f7fa;
93
111
  --table-row-active-bg-color: #f0f1f5;
112
+ --cascader-panel-border-color: #dcdee5;
113
+ --cascader-panel-hover: #f5f7fa;
114
+ --cascader-panel-active: #e1ecff;
115
+ --cascader-panel-disabled-bg: #fff;
116
+ --search-select-focus-border-color: var(--primary-color);
117
+ --search-select-focus-color: #3c96ff;
118
+ --search-select-font-color: var(--default-color);
119
+ --search-select-placeholder-color: var(--light-gray);
120
+ --search-select-message-color: var(--danger-color);
121
+ --search-select-menu-border-color: var(--disable-color);
94
122
  }
95
123
  .bk-divider {
96
124
  position: relative;
@@ -3,17 +3,17 @@ declare const BkDivider: {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: Partial<{
6
+ type: "dashed" | "solid";
6
7
  width: number;
7
- type: string;
8
+ direction: "horizontal" | "vertical";
8
9
  color: string;
9
- direction: string;
10
- align: string;
10
+ align: "left" | "center" | "right";
11
11
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
12
- direction: import("vue-types").VueTypeDef<string> & {
13
- default: string;
12
+ direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
13
+ default: "horizontal" | "vertical";
14
14
  };
15
- align: import("vue-types").VueTypeDef<string> & {
16
- default: string;
15
+ align: import("vue-types").VueTypeValidableDef<"left" | "center" | "right"> & {
16
+ default: "left" | "center" | "right";
17
17
  };
18
18
  color: import("vue-types").VueTypeValidableDef<string> & {
19
19
  default: string;
@@ -25,10 +25,10 @@ declare const BkDivider: {
25
25
  } & {
26
26
  default: number;
27
27
  };
28
- type: import("vue-types").VueTypeDef<string> & {
29
- default: string;
28
+ type: import("vue-types").VueTypeDef<"dashed" | "solid"> & {
29
+ default: "dashed" | "solid";
30
30
  };
31
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "type" | "color" | "direction" | "align">;
31
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "width" | "direction" | "color" | "align">;
32
32
  $attrs: {
33
33
  [x: string]: unknown;
34
34
  };
@@ -43,11 +43,11 @@ declare const BkDivider: {
43
43
  $emit: (event: string, ...args: any[]) => void;
44
44
  $el: any;
45
45
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
46
- direction: import("vue-types").VueTypeDef<string> & {
47
- default: string;
46
+ direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
47
+ default: "horizontal" | "vertical";
48
48
  };
49
- align: import("vue-types").VueTypeDef<string> & {
50
- default: string;
49
+ align: import("vue-types").VueTypeValidableDef<"left" | "center" | "right"> & {
50
+ default: "left" | "center" | "right";
51
51
  };
52
52
  color: import("vue-types").VueTypeValidableDef<string> & {
53
53
  default: string;
@@ -59,15 +59,15 @@ declare const BkDivider: {
59
59
  } & {
60
60
  default: number;
61
61
  };
62
- type: import("vue-types").VueTypeDef<string> & {
63
- default: string;
62
+ type: import("vue-types").VueTypeDef<"dashed" | "solid"> & {
63
+ default: "dashed" | "solid";
64
64
  };
65
65
  }>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
66
+ type: "dashed" | "solid";
66
67
  width: number;
67
- type: string;
68
+ direction: "horizontal" | "vertical";
68
69
  color: string;
69
- direction: string;
70
- align: string;
70
+ align: "left" | "center" | "right";
71
71
  }> & {
72
72
  beforeCreate?: (() => void) | (() => void)[];
73
73
  created?: (() => void) | (() => void)[];
@@ -89,11 +89,11 @@ declare const BkDivider: {
89
89
  $nextTick: typeof import("vue").nextTick;
90
90
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
91
91
  } & Readonly<import("vue").ExtractPropTypes<{
92
- direction: import("vue-types").VueTypeDef<string> & {
93
- default: string;
92
+ direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
93
+ default: "horizontal" | "vertical";
94
94
  };
95
- align: import("vue-types").VueTypeDef<string> & {
96
- default: string;
95
+ align: import("vue-types").VueTypeValidableDef<"left" | "center" | "right"> & {
96
+ default: "left" | "center" | "right";
97
97
  };
98
98
  color: import("vue-types").VueTypeValidableDef<string> & {
99
99
  default: string;
@@ -105,19 +105,19 @@ declare const BkDivider: {
105
105
  } & {
106
106
  default: number;
107
107
  };
108
- type: import("vue-types").VueTypeDef<string> & {
109
- default: string;
108
+ type: import("vue-types").VueTypeDef<"dashed" | "solid"> & {
109
+ default: "dashed" | "solid";
110
110
  };
111
111
  }>> & import("vue").ShallowUnwrapRef<{}> & {} & {} & import("vue").ComponentCustomProperties;
112
112
  __isFragment?: never;
113
113
  __isTeleport?: never;
114
114
  __isSuspense?: never;
115
115
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
116
- direction: import("vue-types").VueTypeDef<string> & {
117
- default: string;
116
+ direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
117
+ default: "horizontal" | "vertical";
118
118
  };
119
- align: import("vue-types").VueTypeDef<string> & {
120
- default: string;
119
+ align: import("vue-types").VueTypeValidableDef<"left" | "center" | "right"> & {
120
+ default: "left" | "center" | "right";
121
121
  };
122
122
  color: import("vue-types").VueTypeValidableDef<string> & {
123
123
  default: string;
@@ -129,14 +129,14 @@ declare const BkDivider: {
129
129
  } & {
130
130
  default: number;
131
131
  };
132
- type: import("vue-types").VueTypeDef<string> & {
133
- default: string;
132
+ type: import("vue-types").VueTypeDef<"dashed" | "solid"> & {
133
+ default: "dashed" | "solid";
134
134
  };
135
135
  }>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
136
+ type: "dashed" | "solid";
136
137
  width: number;
137
- type: string;
138
+ direction: "horizontal" | "vertical";
138
139
  color: string;
139
- direction: string;
140
- align: string;
140
+ align: "left" | "center" | "right";
141
141
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
142
142
  export default BkDivider;
@@ -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 r in t)("object"==typeof exports?exports:e)[r]=t[r]}}(self,((e,o)=>(()=>{"use strict";var t={4212:o=>{o.exports=e},748:e=>{e.exports=o}},r={};function i(e){var o=r[e];if(void 0!==o)return o.exports;var n=r[e]={exports:{}};return t[e](n,n.exports,i),n.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 n={};return(()=>{i.r(n),i.d(n,{default:()=>d});var e=i(4212),o=i(748),t={direction:e.PropTypes.commonType(["horizontal","vertical"],"direction").def("horizontal"),align:e.PropTypes.commonType(["left","center","right"],"align").def("center"),color:e.PropTypes.string.def("#dde4eb"),width:e.PropTypes.number.def(1),type:e.PropTypes.commonType(["dashed","solid"],"lineType").def("dashed")};const r=(0,o.defineComponent)({name:"Divider",props:t,render:function(){var e,t=this;return this.$slots.default&&(e=(0,o.createVNode)("div",{class:["bk-divider-info","bk-divider-info-".concat(this.align)]},[this.$slots.default()])),(0,o.createVNode)("div",{class:["bk-divider","bk-divider-".concat(this.direction)],style:"vertical"===t.direction?{borderRight:"".concat(t.width,"px ").concat(t.type," ").concat(t.color)}:{borderBottom:"".concat(t.width,"px ").concat(t.type," ").concat(t.color)}},[e])}}),d=(0,e.withInstall)(r)})(),n})()));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("vue-types"));else if("function"==typeof define&&define.amd)define(["../shared","vue","vue-types"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("vue-types")):t(e["../shared"],e.vue,e["vue-types"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o)=>(()=>{"use strict";var r={4212:t=>{t.exports=e},748:e=>{e.exports=t},210:e=>{e.exports=o}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{i.r(s),i.d(s,{default:()=>m});var e,t,o,r,n,a,c,d,f,u,l,p,T,v,O=i(4212),y=i(748),h=i(210);(0,h.createTypes)({}),function(e){e.SMALL="small",e.LARGE="large",e.DEFAULT="default"}(e||(e={})),function(e){e.Top="top",e.Left="left",e.Right="right",e.Bottom="bottom"}(t||(t={})),function(e){e.IF="if",e.SHOW="show"}(o||(o={})),function(e){e.LEFT="left",e.CENTER="center",e.RIGHT="right"}(r||(r={})),function(e){e.PRIMARY="primary",e.WARNING="warning",e.SUCCESS="success",e.DANGER="danger"}(n||(n={})),function(e){e.AUTO="auto",e.AUTO_START="auto-start",e.AUTO_END="auto-end",e.TOP="top",e.RIGHT="right",e.BOTTOM="bottom",e.LEFT="left",e.TOP_START="top-start",e.TOP_END="top-end",e.BOTTOM_START="bottom-start",e.BOTTOM_END="bottom-end",e.RIGHT_START="right-start",e.RIGHT_END="right-end",e.LEFT_START="left-start",e.LEFT_END="left-end"}(a||(a={})),function(e){e.HOVER="hover",e.CLICK="click",e.MANUAL="manual"}(c||(c={})),function(e){e.AUTO="auto",e.SHOWN="shown"}(d||(d={})),function(e){e.SHOW="show",e.OPERATION="operation",e.CONFIRM="confirm",e.PROCESS="process"}(f||(f={})),function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(u||(u={})),function(e){e.DASHED="dashed",e.SOLID="solid"}(l||(l={})),function(e){e.SUCCESS="success",e.INFO="info",e.WARNING="warning",e.DANGER="danger"}(p||(p={})),function(e){e.SIMPLICITY="simplicity",e.NORMAL="normal"}(T||(T={})),function(e){e.CHECKBOX="checkbox",e.CHECK="check"}(v||(v={}));var E={direction:(0,h.toType)("direction",{}).def(u.HORIZONTAL),align:(0,h.string)().def(r.LEFT).def(O.AlignEnum.CENTER),color:O.PropTypes.string.def("#dde4eb"),width:O.PropTypes.number.def(1),type:(0,h.toType)("lineType",{}).def(l.DASHED)};const R=(0,y.defineComponent)({name:"Divider",props:E,render:function(){var e,t=this;return this.$slots.default&&(e=(0,y.createVNode)("div",{class:[(0,O.resolveClassName)("divider-info"),(0,O.resolveClassName)("divider-info-".concat(this.align))]},[this.$slots.default()])),(0,y.createVNode)("div",{class:[(0,O.resolveClassName)("divider"),(0,O.resolveClassName)("divider-".concat(this.direction))],style:"vertical"===t.direction?{borderRight:"".concat(t.width,"px ").concat(t.type," ").concat(t.color)}:{borderBottom:"".concat(t.width,"px ").concat(t.type," ").concat(t.color)}},[e])}}),m=(0,O.withInstall)(R)})(),s})()));
@@ -1,9 +1,9 @@
1
1
  export declare const dividerProps: {
2
- direction: import("vue-types").VueTypeDef<string> & {
3
- default: string;
2
+ direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
3
+ default: "horizontal" | "vertical";
4
4
  };
5
- align: import("vue-types").VueTypeDef<string> & {
6
- default: string;
5
+ align: import("vue-types").VueTypeValidableDef<"left" | "center" | "right"> & {
6
+ default: "left" | "center" | "right";
7
7
  };
8
8
  color: import("vue-types").VueTypeValidableDef<string> & {
9
9
  default: string;
@@ -15,7 +15,7 @@ export declare const dividerProps: {
15
15
  } & {
16
16
  default: number;
17
17
  };
18
- type: import("vue-types").VueTypeDef<string> & {
19
- default: string;
18
+ type: import("vue-types").VueTypeDef<"dashed" | "solid"> & {
19
+ default: "dashed" | "solid";
20
20
  };
21
21
  };