bkui-vue 0.0.1-beta.47 → 0.0.1-beta.470

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 (686) hide show
  1. package/License.txt +14 -0
  2. package/dist/index.cjs.js +360 -36
  3. package/dist/index.esm.js +31133 -19791
  4. package/dist/index.umd.js +360 -36
  5. package/dist/locale/en.esm.js +2 -0
  6. package/dist/locale/en.esm.js.map +1 -0
  7. package/dist/locale/en.umd.js +2 -0
  8. package/dist/locale/en.umd.js.map +1 -0
  9. package/dist/locale/zh-cn.esm.js +2 -0
  10. package/dist/locale/zh-cn.esm.js.map +1 -0
  11. package/dist/locale/zh-cn.umd.js +2 -0
  12. package/dist/locale/zh-cn.umd.js.map +1 -0
  13. package/dist/style.css +1 -1
  14. package/dist/style.variable.css +1 -0
  15. package/lib/affix/affix.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 +167 -0
  20. package/lib/affix/index.js +1 -0
  21. package/lib/alert/alert.css +9 -3
  22. package/lib/alert/alert.d.ts +6 -6
  23. package/lib/alert/alert.less +29 -20
  24. package/lib/alert/alert.variable.css +41 -7
  25. package/lib/alert/index.d.ts +68 -48
  26. package/lib/alert/index.js +1 -1
  27. package/lib/animate-number/animate-number.d.ts +2 -2
  28. package/lib/animate-number/index.d.ts +58 -25
  29. package/lib/backtop/backtop.css +8 -0
  30. package/lib/backtop/backtop.d.ts +5 -5
  31. package/lib/backtop/backtop.less +8 -0
  32. package/lib/backtop/backtop.variable.css +40 -4
  33. package/lib/backtop/index.d.ts +67 -49
  34. package/lib/backtop/index.js +1 -1
  35. package/lib/badge/badge.css +7 -10
  36. package/lib/badge/badge.d.ts +29 -8
  37. package/lib/badge/badge.less +9 -11
  38. package/lib/badge/badge.variable.css +39 -14
  39. package/lib/badge/index.d.ts +120 -67
  40. package/lib/badge/index.js +1 -1
  41. package/lib/breadcrumb/breadcrumb-item.d.ts +5 -3
  42. package/lib/breadcrumb/breadcrumb.css +51 -0
  43. package/lib/breadcrumb/breadcrumb.d.ts +2 -2
  44. package/lib/breadcrumb/breadcrumb.variable.css +88 -9
  45. package/lib/breadcrumb/index.d.ts +65 -41
  46. package/lib/breadcrumb/index.js +1 -1
  47. package/lib/button/button-group.d.ts +4 -4
  48. package/lib/button/button.css +85 -50
  49. package/lib/button/button.d.ts +47 -27
  50. package/lib/button/button.less +72 -42
  51. package/lib/button/button.variable.css +117 -54
  52. package/lib/button/index.d.ts +123 -87
  53. package/lib/button/index.js +1 -1
  54. package/lib/card/card.css +97 -2
  55. package/lib/card/card.d.ts +48 -7
  56. package/lib/card/card.less +50 -2
  57. package/lib/card/card.variable.css +133 -10
  58. package/lib/card/index.d.ts +153 -58
  59. package/lib/card/index.js +1 -1
  60. package/lib/cascader/cascader-panel.d.ts +102 -0
  61. package/lib/cascader/cascader.css +316 -0
  62. package/lib/cascader/cascader.d.ts +354 -0
  63. package/lib/cascader/cascader.less +283 -0
  64. package/lib/cascader/cascader.variable.css +438 -0
  65. package/lib/cascader/index.d.ts +923 -0
  66. package/lib/cascader/index.js +2 -0
  67. package/lib/cascader/index.js.LICENSE.txt +1 -0
  68. package/lib/cascader/interface.d.ts +51 -0
  69. package/lib/cascader/node.d.ts +31 -0
  70. package/lib/cascader/store.d.ts +27 -0
  71. package/lib/checkbox/checkbox-group.d.ts +18 -2
  72. package/lib/checkbox/checkbox.css +40 -12
  73. package/lib/checkbox/checkbox.d.ts +33 -15
  74. package/lib/checkbox/checkbox.less +70 -34
  75. package/lib/checkbox/checkbox.variable.css +72 -16
  76. package/lib/checkbox/common.d.ts +1 -0
  77. package/lib/checkbox/index.d.ts +113 -61
  78. package/lib/checkbox/index.js +1 -1
  79. package/lib/checkbox/type.d.ts +1 -1
  80. package/lib/code-diff/code-diff.css +27 -7
  81. package/lib/code-diff/code-diff.d.ts +7 -7
  82. package/lib/code-diff/code-diff.less +42 -7
  83. package/lib/code-diff/code-diff.variable.css +59 -11
  84. package/lib/code-diff/index.d.ts +30 -43
  85. package/lib/code-diff/index.js +1 -1
  86. package/lib/collapse/collapse-panel.d.ts +103 -0
  87. package/lib/collapse/collapse.css +69 -14
  88. package/lib/collapse/collapse.d.ts +67 -53
  89. package/lib/collapse/collapse.less +112 -30
  90. package/lib/collapse/collapse.variable.css +191 -14
  91. package/lib/collapse/index.d.ts +292 -52
  92. package/lib/collapse/index.js +1 -1
  93. package/lib/collapse/props.d.ts +131 -0
  94. package/lib/collapse/utils.d.ts +11 -0
  95. package/lib/collapse-transition/collapse-transition.css +93 -0
  96. package/lib/collapse-transition/collapse-transition.d.ts +15 -0
  97. package/lib/collapse-transition/collapse-transition.less +111 -0
  98. package/lib/collapse-transition/collapse-transition.variable.css +215 -0
  99. package/lib/collapse-transition/index.d.ts +2 -0
  100. package/lib/collapse-transition/index.js +1 -0
  101. package/lib/color-picker/color-picker.css +275 -0
  102. package/lib/color-picker/color-picker.d.ts +144 -0
  103. package/lib/color-picker/color-picker.less +325 -0
  104. package/lib/color-picker/color-picker.variable.css +397 -0
  105. package/lib/color-picker/components/color-input.d.ts +42 -0
  106. package/lib/color-picker/components/hue-slider.d.ts +41 -0
  107. package/lib/color-picker/components/input-container.d.ts +42 -0
  108. package/lib/color-picker/components/recommend-colors.d.ts +51 -0
  109. package/lib/color-picker/components/saturation-panel.d.ts +41 -0
  110. package/lib/color-picker/index.d.ts +255 -0
  111. package/lib/color-picker/index.js +1 -0
  112. package/lib/color-picker/utils.d.ts +37 -0
  113. package/lib/components.d.ts +31 -8
  114. package/lib/components.js +1 -0
  115. package/lib/config-provider/config-provider.css +0 -0
  116. package/lib/config-provider/config-provider.d.ts +402 -0
  117. package/lib/config-provider/config-provider.less +1 -0
  118. package/lib/config-provider/config-provider.variable.css +122 -0
  119. package/lib/config-provider/index.d.ts +646 -0
  120. package/lib/config-provider/index.js +1 -0
  121. package/lib/config-provider/token.d.ts +128 -0
  122. package/lib/config-provider/use-global-config.d.ts +5 -0
  123. package/lib/config-provider/use-locale.d.ts +3 -0
  124. package/lib/config-provider/use-prefix.d.ts +9 -0
  125. package/lib/container/col.d.ts +51 -0
  126. package/lib/container/container.css +91 -0
  127. package/lib/container/container.d.ts +83 -0
  128. package/lib/container/container.less +20 -0
  129. package/lib/container/container.variable.css +213 -0
  130. package/lib/container/index.d.ts +204 -0
  131. package/lib/container/index.js +1 -0
  132. package/lib/container/interface.d.ts +7 -0
  133. package/lib/container/row.d.ts +4 -0
  134. package/lib/date-picker/base/confirm.d.ts +74 -0
  135. package/lib/date-picker/base/date-table.d.ts +96 -0
  136. package/lib/date-picker/base/month-table.d.ts +117 -0
  137. package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
  138. package/lib/date-picker/base/time-spinner.d.ts +170 -0
  139. package/lib/date-picker/base/year-table.d.ts +117 -0
  140. package/lib/date-picker/date-picker.css +31 -1
  141. package/lib/date-picker/date-picker.d.ts +73 -35
  142. package/lib/date-picker/date-picker.less +110 -74
  143. package/lib/date-picker/date-picker.variable.css +63 -5
  144. package/lib/date-picker/index.d.ts +231 -211
  145. package/lib/date-picker/index.js +1 -1
  146. package/lib/date-picker/interface.d.ts +20 -10
  147. package/lib/date-picker/panel/date-range.d.ts +345 -0
  148. package/lib/date-picker/panel/date.d.ts +206 -0
  149. package/lib/date-picker/panel/time-range.d.ts +495 -0
  150. package/lib/date-picker/panel/time.d.ts +451 -0
  151. package/lib/date-picker/props.d.ts +55 -5
  152. package/lib/date-picker/time-picker.d.ts +390 -0
  153. package/lib/date-picker/utils.d.ts +22 -2
  154. package/lib/dialog/dialog.css +135 -26
  155. package/lib/dialog/dialog.d.ts +219 -104
  156. package/lib/dialog/dialog.less +99 -41
  157. package/lib/dialog/dialog.variable.css +257 -26
  158. package/lib/dialog/index.d.ts +467 -276
  159. package/lib/dialog/index.js +2 -1
  160. package/lib/dialog/index.js.LICENSE.txt +1 -0
  161. package/lib/dialog/props.d.ts +122 -0
  162. package/lib/directives/ellipsis.d.ts +7 -0
  163. package/lib/directives/index.d.ts +2 -0
  164. package/lib/directives/index.js +1 -1
  165. package/lib/directives/tooltips.d.ts +2 -1
  166. package/lib/dist.index.js +1 -0
  167. package/lib/divider/divider.d.ts +17 -17
  168. package/lib/divider/divider.variable.css +32 -4
  169. package/lib/divider/index.d.ts +85 -61
  170. package/lib/divider/index.js +1 -1
  171. package/lib/divider/props.d.ts +6 -6
  172. package/lib/dropdown/dropdown-item.d.ts +1 -1
  173. package/lib/dropdown/dropdown-menu.d.ts +2 -2
  174. package/lib/dropdown/dropdown.css +38 -7
  175. package/lib/dropdown/dropdown.d.ts +47 -15
  176. package/lib/dropdown/dropdown.less +48 -34
  177. package/lib/dropdown/dropdown.variable.css +70 -11
  178. package/lib/dropdown/index.d.ts +141 -65
  179. package/lib/dropdown/index.js +1 -1
  180. package/lib/exception/exception.css +40 -14
  181. package/lib/exception/exception.d.ts +33 -13
  182. package/lib/exception/exception.less +59 -22
  183. package/lib/exception/exception.variable.css +72 -18
  184. package/lib/exception/index.d.ts +91 -43
  185. package/lib/exception/index.js +1 -1
  186. package/lib/exception/typings/index.d.ts +4 -0
  187. package/lib/fixed-navbar/fixed-navbar.d.ts +17 -3
  188. package/lib/fixed-navbar/fixed-navbar.variable.css +32 -4
  189. package/lib/fixed-navbar/index.d.ts +89 -30
  190. package/lib/fixed-navbar/index.js +1 -1
  191. package/lib/form/compose-form-item.d.ts +2 -2
  192. package/lib/form/form-item.d.ts +25 -10
  193. package/lib/form/form.css +34 -7
  194. package/lib/form/form.d.ts +50 -16
  195. package/lib/form/form.less +83 -51
  196. package/lib/form/form.variable.css +66 -11
  197. package/lib/form/index.d.ts +154 -61
  198. package/lib/form/index.js +1 -1
  199. package/lib/form/type.d.ts +11 -8
  200. package/lib/form/utils.d.ts +2 -0
  201. package/lib/form/validator.d.ts +1 -0
  202. package/lib/hooks.d.ts +1 -0
  203. package/lib/hooks.js +1 -0
  204. package/lib/icon/angle-double-down-line.js +1 -1
  205. package/lib/icon/angle-double-left-line.js +1 -1
  206. package/lib/icon/angle-double-left.js +1 -1
  207. package/lib/icon/angle-double-right-line.js +1 -1
  208. package/lib/icon/angle-double-right.js +1 -1
  209. package/lib/icon/angle-double-up-line.js +1 -1
  210. package/lib/icon/angle-down-fill.js +1 -1
  211. package/lib/icon/angle-down-line.js +1 -1
  212. package/lib/icon/angle-down.js +1 -1
  213. package/lib/icon/angle-left.js +1 -1
  214. package/lib/icon/angle-right.js +1 -1
  215. package/lib/icon/angle-up-fill.js +1 -1
  216. package/lib/icon/angle-up.js +1 -1
  217. package/lib/icon/archive-fill.d.ts +4 -0
  218. package/lib/icon/archive-fill.js +1 -0
  219. package/lib/icon/arrows-left.js +1 -1
  220. package/lib/icon/arrows-right.js +1 -1
  221. package/lib/icon/audio-fill.d.ts +4 -0
  222. package/lib/icon/audio-fill.js +1 -0
  223. package/lib/icon/bk.js +1 -1
  224. package/lib/icon/circle.js +1 -1
  225. package/lib/icon/close-line.d.ts +4 -0
  226. package/lib/icon/close-line.js +1 -0
  227. package/lib/icon/close.js +1 -1
  228. package/lib/icon/code.js +1 -1
  229. package/lib/icon/cog-shape.js +1 -1
  230. package/lib/icon/collapse-left.js +1 -1
  231. package/lib/icon/copy-shape.d.ts +4 -0
  232. package/lib/icon/copy-shape.js +1 -0
  233. package/lib/icon/copy.js +1 -1
  234. package/lib/icon/data-shape.d.ts +4 -0
  235. package/lib/icon/data-shape.js +1 -0
  236. package/lib/icon/del.d.ts +4 -0
  237. package/lib/icon/del.js +1 -0
  238. package/lib/icon/doc-fill.d.ts +4 -0
  239. package/lib/icon/doc-fill.js +1 -0
  240. package/lib/icon/done.js +1 -1
  241. package/lib/icon/down-shape.js +1 -1
  242. package/lib/icon/down-small.js +1 -1
  243. package/lib/icon/edit-line.d.ts +4 -0
  244. package/lib/icon/edit-line.js +1 -0
  245. package/lib/icon/ellipsis.js +1 -1
  246. package/lib/icon/enlarge-line.d.ts +4 -0
  247. package/lib/icon/enlarge-line.js +1 -0
  248. package/lib/icon/error.js +1 -1
  249. package/lib/icon/excel-fill.d.ts +4 -0
  250. package/lib/icon/excel-fill.js +1 -0
  251. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  252. package/lib/icon/exclamation-circle-shape.js +1 -0
  253. package/lib/icon/eye.js +1 -1
  254. package/lib/icon/filliscreen-line.d.ts +4 -0
  255. package/lib/icon/filliscreen-line.js +1 -0
  256. package/lib/icon/fix-line.d.ts +4 -0
  257. package/lib/icon/fix-line.js +1 -0
  258. package/lib/icon/fix-shape.d.ts +4 -0
  259. package/lib/icon/fix-shape.js +1 -0
  260. package/lib/icon/folder-open.js +1 -1
  261. package/lib/icon/folder-shape-open.js +1 -1
  262. package/lib/icon/folder-shape.js +1 -1
  263. package/lib/icon/folder.js +1 -1
  264. package/lib/icon/funnel.js +1 -1
  265. package/lib/icon/help-document-fill.js +1 -1
  266. package/lib/icon/help-fill.js +1 -1
  267. package/lib/icon/help.js +1 -1
  268. package/lib/icon/image-fill.d.ts +4 -0
  269. package/lib/icon/image-fill.js +1 -0
  270. package/lib/icon/img-error.d.ts +4 -0
  271. package/lib/icon/img-error.js +1 -0
  272. package/lib/icon/img-placehoulder.d.ts +4 -0
  273. package/lib/icon/img-placehoulder.js +1 -0
  274. package/lib/icon/index.d.ts +83 -54
  275. package/lib/icon/index.js +1 -1
  276. package/lib/icon/info-line.js +1 -1
  277. package/lib/icon/info.js +1 -1
  278. package/lib/icon/left-shape.js +1 -1
  279. package/lib/icon/left-turn-line.d.ts +4 -0
  280. package/lib/icon/left-turn-line.js +1 -0
  281. package/lib/icon/narrow-line.d.ts +4 -0
  282. package/lib/icon/narrow-line.js +1 -0
  283. package/lib/icon/original.d.ts +4 -0
  284. package/lib/icon/original.js +1 -0
  285. package/lib/icon/pdf-fill.d.ts +4 -0
  286. package/lib/icon/pdf-fill.js +1 -0
  287. package/lib/icon/play-shape.js +1 -1
  288. package/lib/icon/plus.js +1 -1
  289. package/lib/icon/ppt-fill.d.ts +4 -0
  290. package/lib/icon/ppt-fill.js +1 -0
  291. package/lib/icon/qq.js +1 -1
  292. package/lib/icon/right-shape.js +1 -1
  293. package/lib/icon/right-turn-line.d.ts +4 -0
  294. package/lib/icon/right-turn-line.js +1 -0
  295. package/lib/icon/search.js +1 -1
  296. package/lib/icon/share.js +1 -1
  297. package/lib/icon/spinner.js +1 -1
  298. package/lib/icon/success.js +1 -1
  299. package/lib/icon/switcher-loading.js +1 -1
  300. package/lib/icon/text-file.js +1 -1
  301. package/lib/icon/text-fill.d.ts +4 -0
  302. package/lib/icon/text-fill.js +1 -0
  303. package/lib/icon/transfer.d.ts +4 -0
  304. package/lib/icon/transfer.js +1 -0
  305. package/lib/icon/tree-application-shape.js +1 -1
  306. package/lib/icon/unfull-screen.d.ts +4 -0
  307. package/lib/icon/unfull-screen.js +1 -0
  308. package/lib/icon/unvisible.js +1 -1
  309. package/lib/icon/up-shape.js +1 -1
  310. package/lib/icon/upload.d.ts +4 -0
  311. package/lib/icon/upload.js +1 -0
  312. package/lib/icon/video-fill.d.ts +4 -0
  313. package/lib/icon/video-fill.js +1 -0
  314. package/lib/icon/warn.js +1 -1
  315. package/lib/icon/weixin-pro.d.ts +4 -0
  316. package/lib/icon/weixin-pro.js +1 -0
  317. package/lib/icon/weixin.js +1 -1
  318. package/lib/image/image-viewer.css +142 -0
  319. package/lib/image/image-viewer.d.ts +73 -0
  320. package/lib/image/image-viewer.less +168 -0
  321. package/lib/image/image-viewer.variable.css +142 -0
  322. package/lib/image/image.css +37 -0
  323. package/lib/image/image.d.ts +93 -0
  324. package/lib/image/image.less +44 -0
  325. package/lib/image/image.variable.css +37 -0
  326. package/lib/image/index.d.ts +252 -0
  327. package/lib/image/index.js +1 -0
  328. package/lib/image/props.d.ts +71 -0
  329. package/lib/index.d.ts +3 -1
  330. package/lib/index.js +1 -0
  331. package/lib/info-box/index.d.ts +7 -0
  332. package/lib/info-box/index.js +2 -0
  333. package/lib/info-box/index.js.LICENSE.txt +1 -0
  334. package/lib/info-box/info-box.css +37 -0
  335. package/lib/info-box/info-box.d.ts +29 -0
  336. package/lib/info-box/info-box.less +51 -0
  337. package/lib/info-box/info-box.variable.css +159 -0
  338. package/lib/input/index.d.ts +228 -180
  339. package/lib/input/index.js +1 -1
  340. package/lib/input/input.css +183 -19
  341. package/lib/input/input.d.ts +121 -38
  342. package/lib/input/input.less +112 -18
  343. package/lib/input/input.variable.css +246 -55
  344. package/lib/link/index.d.ts +82 -55
  345. package/lib/link/index.js +1 -1
  346. package/lib/link/link.css +12 -12
  347. package/lib/link/link.d.ts +11 -9
  348. package/lib/link/link.less +16 -14
  349. package/lib/link/link.variable.css +44 -16
  350. package/lib/loading/directive.d.ts +14 -0
  351. package/lib/loading/index.d.ts +166 -54
  352. package/lib/loading/index.js +1 -1
  353. package/lib/loading/loading.css +86 -33
  354. package/lib/loading/loading.d.ts +97 -15
  355. package/lib/loading/loading.less +27 -23
  356. package/lib/loading/loading.variable.css +134 -53
  357. package/lib/locale/index.d.ts +3 -0
  358. package/lib/locale/index.js +1 -0
  359. package/lib/locale/lang/en.d.ts +126 -0
  360. package/lib/locale/lang/zh-cn.d.ts +3 -0
  361. package/lib/menu/index.d.ts +81 -52
  362. package/lib/menu/index.js +1 -1
  363. package/lib/menu/menu-group.d.ts +2 -2
  364. package/lib/menu/menu-item.d.ts +5 -1
  365. package/lib/menu/menu.css +51 -0
  366. package/lib/menu/menu.d.ts +8 -17
  367. package/lib/menu/menu.variable.css +101 -22
  368. package/lib/menu/submenu.d.ts +5 -1
  369. package/lib/menu/submenu.variable.css +32 -4
  370. package/lib/menu/utils.d.ts +1 -1
  371. package/lib/message/index.js +2 -1
  372. package/lib/message/index.js.LICENSE.txt +6 -0
  373. package/lib/message/message.css +170 -6
  374. package/lib/message/message.less +222 -7
  375. package/lib/message/message.variable.css +202 -10
  376. package/lib/message/messageConstructor.d.ts +136 -27
  377. package/lib/modal/index.d.ts +399 -201
  378. package/lib/modal/index.js +1 -1
  379. package/lib/modal/modal.css +52 -10
  380. package/lib/modal/modal.d.ts +152 -64
  381. package/lib/modal/modal.less +36 -25
  382. package/lib/modal/modal.variable.css +174 -10
  383. package/lib/modal/props.mixin.d.ts +63 -28
  384. package/lib/navigation/index.d.ts +329 -1
  385. package/lib/navigation/index.js +1 -1
  386. package/lib/navigation/navigation-title.d.ts +6 -3
  387. package/lib/navigation/navigation.css +1 -1
  388. package/lib/navigation/navigation.d.ts +21 -5
  389. package/lib/navigation/navigation.less +1 -1
  390. package/lib/navigation/navigation.variable.css +33 -5
  391. package/lib/notify/index.js +1 -1
  392. package/lib/notify/notify.css +25 -5
  393. package/lib/notify/notify.less +29 -6
  394. package/lib/notify/notify.variable.css +57 -9
  395. package/lib/notify/notifyConstructor.d.ts +63 -22
  396. package/lib/overflow-title/components/overflow-title.d.ts +57 -0
  397. package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
  398. package/lib/overflow-title/index.d.ts +195 -0
  399. package/lib/overflow-title/index.js +1 -0
  400. package/lib/overflow-title/overflow.css +11 -0
  401. package/lib/overflow-title/overflow.less +13 -0
  402. package/lib/overflow-title/overflow.variable.css +11 -0
  403. package/lib/overflow-title/props.d.ts +43 -0
  404. package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
  405. package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
  406. package/lib/pagination/index.d.ts +92 -96
  407. package/lib/pagination/index.js +1 -1
  408. package/lib/pagination/pagination.css +54 -28
  409. package/lib/pagination/pagination.d.ts +19 -9
  410. package/lib/pagination/pagination.less +59 -30
  411. package/lib/pagination/pagination.variable.css +86 -32
  412. package/lib/pagination/type.d.ts +1 -1
  413. package/lib/pagination/use-limit.d.ts +3 -1
  414. package/lib/pagination/use-total.d.ts +3 -1
  415. package/lib/plugin-popover/index.d.ts +27 -0
  416. package/lib/plugin-popover/index.js +1 -0
  417. package/lib/plugins/index.d.ts +1 -0
  418. package/lib/plugins/index.js +1 -0
  419. package/lib/pop-confirm/index.d.ts +249 -0
  420. package/lib/pop-confirm/index.js +1 -0
  421. package/lib/pop-confirm/pop-confirm.css +28 -0
  422. package/lib/pop-confirm/pop-confirm.d.ts +95 -0
  423. package/lib/pop-confirm/pop-confirm.less +34 -0
  424. package/lib/pop-confirm/pop-confirm.variable.css +150 -0
  425. package/lib/pop-confirm/props.d.ts +67 -0
  426. package/lib/popover/arrow.d.ts +2 -0
  427. package/lib/popover/const.d.ts +16 -0
  428. package/lib/popover/content.d.ts +43 -0
  429. package/lib/popover/index.d.ts +453 -148
  430. package/lib/popover/index.js +1 -1
  431. package/lib/popover/plugin-popover.d.ts +12 -0
  432. package/lib/popover/popover.css +10 -50
  433. package/lib/popover/popover.d.ts +212 -48
  434. package/lib/popover/popover.less +19 -66
  435. package/lib/popover/popover.variable.css +42 -54
  436. package/lib/popover/props.d.ts +103 -35
  437. package/lib/popover/reference.d.ts +2 -0
  438. package/lib/popover/root.d.ts +27 -0
  439. package/lib/popover/use-floating.d.ts +34 -0
  440. package/lib/popover/use-platform.d.ts +30 -0
  441. package/lib/popover/use-popover-init.d.ts +23 -0
  442. package/lib/popover/use-popper-id.d.ts +6 -0
  443. package/lib/popover/utils.d.ts +8 -0
  444. package/lib/popover2/index.d.ts +89 -0
  445. package/lib/popover2/index.js +1 -0
  446. package/lib/popover2/popover.d.ts +2 -0
  447. package/lib/preset.d.ts +264 -2
  448. package/lib/preset.js +1 -0
  449. package/lib/process/index.d.ts +66 -52
  450. package/lib/process/index.js +2 -1
  451. package/lib/process/index.js.LICENSE.txt +1 -0
  452. package/lib/process/process.css +22 -0
  453. package/lib/process/process.d.ts +4 -4
  454. package/lib/process/process.less +30 -2
  455. package/lib/process/process.variable.css +54 -4
  456. package/lib/progress/index.d.ts +92 -119
  457. package/lib/progress/index.js +1 -1
  458. package/lib/progress/progress.css +51 -0
  459. package/lib/progress/progress.d.ts +14 -14
  460. package/lib/progress/progress.variable.css +87 -8
  461. package/lib/radio/index.d.ts +81 -42
  462. package/lib/radio/index.js +1 -1
  463. package/lib/radio/radio-button.d.ts +5 -7
  464. package/lib/radio/radio-group.d.ts +28 -2
  465. package/lib/radio/radio.css +136 -65
  466. package/lib/radio/radio.d.ts +2 -2
  467. package/lib/radio/radio.less +262 -173
  468. package/lib/radio/radio.variable.css +171 -72
  469. package/lib/radio/type.d.ts +1 -1
  470. package/lib/rate/index.d.ts +78 -28
  471. package/lib/rate/index.js +1 -1
  472. package/lib/rate/rate.d.ts +14 -3
  473. package/lib/rate/star.d.ts +2 -2
  474. package/lib/resize-layout/index.d.ts +77 -78
  475. package/lib/resize-layout/index.js +1 -1
  476. package/lib/resize-layout/resize-layout.css +6 -15
  477. package/lib/resize-layout/resize-layout.d.ts +8 -8
  478. package/lib/resize-layout/resize-layout.less +10 -19
  479. package/lib/resize-layout/resize-layout.variable.css +38 -19
  480. package/lib/search-select/index.d.ts +892 -0
  481. package/lib/search-select/index.js +2 -0
  482. package/lib/search-select/index.js.LICENSE.txt +1 -0
  483. package/lib/search-select/input.d.ts +101 -0
  484. package/lib/search-select/menu.d.ts +77 -0
  485. package/lib/search-select/search-select.css +427 -0
  486. package/lib/search-select/search-select.d.ts +361 -0
  487. package/lib/search-select/search-select.less +384 -0
  488. package/lib/search-select/search-select.variable.css +549 -0
  489. package/lib/search-select/selected.d.ts +155 -0
  490. package/lib/search-select/utils.d.ts +88 -0
  491. package/lib/select/common.d.ts +5 -12
  492. package/lib/select/index.d.ts +1697 -760
  493. package/lib/select/index.js +2 -1
  494. package/lib/select/index.js.LICENSE.txt +1 -0
  495. package/lib/select/option.d.ts +22 -6
  496. package/lib/select/optionGroup.d.ts +3 -3
  497. package/lib/select/select.css +209 -113
  498. package/lib/select/select.d.ts +747 -162
  499. package/lib/select/select.less +342 -197
  500. package/lib/select/select.variable.css +241 -117
  501. package/lib/select/selectTagInput.d.ts +94 -0
  502. package/lib/select/type.d.ts +25 -15
  503. package/lib/shared/dom.d.ts +3 -0
  504. package/lib/shared/helper.d.ts +9 -0
  505. package/lib/shared/hooks/use-form-item.d.ts +2 -0
  506. package/lib/shared/hooks/use-form.d.ts +2 -0
  507. package/lib/shared/index.d.ts +33 -8
  508. package/lib/shared/index.js +1 -1
  509. package/lib/shared/mask-manager.d.ts +21 -7
  510. package/lib/shared/pop-manager.d.ts +16 -5
  511. package/lib/shared/popover.d.ts +7 -3
  512. package/lib/shared/token.d.ts +4 -0
  513. package/lib/shared/utils.d.ts +19 -0
  514. package/lib/shared/vue-types.d.ts +116 -9
  515. package/lib/sideslider/index.d.ts +294 -183
  516. package/lib/sideslider/index.js +2 -1
  517. package/lib/sideslider/index.js.LICENSE.txt +1 -0
  518. package/lib/sideslider/sideslider.css +58 -11
  519. package/lib/sideslider/sideslider.d.ts +136 -65
  520. package/lib/sideslider/sideslider.less +75 -14
  521. package/lib/sideslider/sideslider.variable.css +90 -15
  522. package/lib/slider/index.d.ts +384 -1
  523. package/lib/slider/index.js +2 -1
  524. package/lib/slider/index.js.LICENSE.txt +1 -0
  525. package/lib/slider/slider-button.d.ts +3 -2
  526. package/lib/slider/slider.d.ts +7 -7
  527. package/lib/slider/slider.variable.css +32 -4
  528. package/lib/steps/index.d.ts +102 -96
  529. package/lib/steps/index.js +2 -1
  530. package/lib/steps/index.js.LICENSE.txt +1 -0
  531. package/lib/steps/steps.css +15 -3
  532. package/lib/steps/steps.d.ts +34 -34
  533. package/lib/steps/steps.less +24 -3
  534. package/lib/steps/steps.variable.css +47 -7
  535. package/lib/styles/index.d.ts +10 -1
  536. package/lib/styles/mixins/clearfix.css +8 -0
  537. package/lib/styles/mixins/clearfix.less +10 -0
  538. package/lib/styles/mixins/clearfix.variable.css +8 -0
  539. package/lib/styles/mixins/mixins.css +51 -0
  540. package/lib/styles/mixins/mixins.less +2 -0
  541. package/lib/styles/mixins/mixins.variable.css +51 -0
  542. package/lib/styles/mixins/popper.css +1 -1
  543. package/lib/styles/mixins/popper.less +12 -11
  544. package/lib/styles/mixins/popper.variable.css +123 -1
  545. package/lib/styles/mixins/scroll.css +17 -0
  546. package/lib/styles/mixins/scroll.less +22 -0
  547. package/lib/styles/mixins/scroll.variable.css +139 -0
  548. package/lib/styles/reset.css +36 -0
  549. package/lib/styles/reset.less +26 -2
  550. package/lib/styles/reset.variable.css +36 -0
  551. package/lib/styles/themes/themes.less +42 -4
  552. package/lib/swiper/index.d.ts +60 -44
  553. package/lib/swiper/swiper.d.ts +1 -1
  554. package/lib/switcher/index.d.ts +99 -92
  555. package/lib/switcher/index.js +1 -1
  556. package/lib/switcher/switcher.css +57 -6
  557. package/lib/switcher/switcher.d.ts +20 -14
  558. package/lib/switcher/switcher.less +3 -26
  559. package/lib/switcher/switcher.variable.css +106 -27
  560. package/lib/tab/index.d.ts +170 -134
  561. package/lib/tab/index.js +1 -1
  562. package/lib/tab/props.d.ts +93 -41
  563. package/lib/tab/tab-nav.d.ts +51 -15
  564. package/lib/tab/tab-panel.d.ts +16 -9
  565. package/lib/tab/tab.css +151 -55
  566. package/lib/tab/tab.d.ts +44 -23
  567. package/lib/tab/tab.less +179 -86
  568. package/lib/tab/tab.variable.css +183 -59
  569. package/lib/table/cache.d.ts +6 -0
  570. package/lib/table/components/index.d.ts +3 -0
  571. package/lib/table/components/table-cell.d.ts +51 -0
  572. package/lib/table/components/table-column.d.ts +305 -0
  573. package/lib/table/components/table-row.d.ts +2 -0
  574. package/lib/table/const.d.ts +128 -1
  575. package/lib/table/index.d.ts +1364 -99
  576. package/lib/table/index.js +1 -1
  577. package/lib/table/plugins/body-empty.d.ts +36 -0
  578. package/lib/table/plugins/col-group.d.ts +38 -0
  579. package/lib/table/plugins/common.d.ts +6 -0
  580. package/lib/table/plugins/head-filter.css +30 -14
  581. package/lib/table/plugins/head-filter.d.ts +26 -0
  582. package/lib/table/plugins/head-filter.less +79 -52
  583. package/lib/table/plugins/head-filter.variable.css +62 -18
  584. package/lib/table/plugins/head-sort.css +7 -3
  585. package/lib/table/plugins/head-sort.d.ts +29 -0
  586. package/lib/table/plugins/head-sort.less +8 -4
  587. package/lib/table/plugins/head-sort.variable.css +39 -7
  588. package/lib/table/plugins/index.d.ts +5 -0
  589. package/lib/table/plugins/settings.css +147 -0
  590. package/lib/table/plugins/settings.d.ts +37 -0
  591. package/lib/table/plugins/settings.less +181 -0
  592. package/lib/table/plugins/settings.variable.css +269 -0
  593. package/lib/table/plugins/use-active-columns.d.ts +16 -0
  594. package/lib/table/plugins/use-column-resize.d.ts +15 -0
  595. package/lib/table/plugins/use-fixed-column.d.ts +26 -0
  596. package/lib/table/plugins/use-pagination.d.ts +16 -0
  597. package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
  598. package/lib/table/props.d.ts +367 -19
  599. package/lib/table/render.d.ts +46 -18
  600. package/lib/table/table.css +1181 -33
  601. package/lib/table/table.d.ts +270 -19
  602. package/lib/table/table.less +314 -18
  603. package/lib/table/table.variable.css +1213 -37
  604. package/lib/table/use-column.d.ts +12 -0
  605. package/lib/table/use-common.d.ts +113 -0
  606. package/lib/table/utils.d.ts +52 -12
  607. package/lib/table-column/index.d.ts +797 -0
  608. package/lib/table-column/index.js +1 -0
  609. package/lib/tag/index.d.ts +89 -71
  610. package/lib/tag/index.js +1 -1
  611. package/lib/tag/tag.css +46 -13
  612. package/lib/tag/tag.d.ts +17 -13
  613. package/lib/tag/tag.less +46 -10
  614. package/lib/tag/tag.variable.css +78 -17
  615. package/lib/tag-input/common.d.ts +13 -1
  616. package/lib/tag-input/index.d.ts +1194 -1
  617. package/lib/tag-input/index.js +1 -1
  618. package/lib/tag-input/list-tag-render.d.ts +2 -5
  619. package/lib/tag-input/tag-input.css +23 -26
  620. package/lib/tag-input/tag-input.d.ts +303 -44
  621. package/lib/tag-input/tag-input.less +103 -105
  622. package/lib/tag-input/tag-input.variable.css +55 -30
  623. package/lib/tag-input/tag-props.d.ts +142 -8
  624. package/lib/tag-input/tag-render.d.ts +31 -5
  625. package/lib/time-picker/index.d.ts +833 -0
  626. package/lib/time-picker/index.js +1 -0
  627. package/lib/time-picker/time-picker.css +215 -0
  628. package/lib/time-picker/time-picker.less +260 -0
  629. package/lib/time-picker/time-picker.variable.css +337 -0
  630. package/lib/timeline/index.d.ts +61 -32
  631. package/lib/timeline/index.js +1 -1
  632. package/lib/timeline/timeline.css +16 -9
  633. package/lib/timeline/timeline.d.ts +3 -3
  634. package/lib/timeline/timeline.less +22 -9
  635. package/lib/timeline/timeline.variable.css +48 -13
  636. package/lib/transfer/const.d.ts +5 -0
  637. package/lib/transfer/index.d.ts +273 -191
  638. package/lib/transfer/index.js +1 -1
  639. package/lib/transfer/props.d.ts +59 -0
  640. package/lib/transfer/transfer.css +153 -92
  641. package/lib/transfer/transfer.d.ts +102 -96
  642. package/lib/transfer/transfer.less +142 -112
  643. package/lib/transfer/transfer.variable.css +191 -102
  644. package/lib/tree/constant.d.ts +63 -0
  645. package/lib/tree/index.d.ts +387 -107
  646. package/lib/tree/index.js +1 -1
  647. package/lib/tree/props.d.ts +138 -3
  648. package/lib/tree/tree.css +181 -9
  649. package/lib/tree/tree.d.ts +185 -21
  650. package/lib/tree/tree.less +54 -3
  651. package/lib/tree/tree.variable.css +213 -13
  652. package/lib/tree/use-empty.d.ts +6 -0
  653. package/lib/tree/use-node-action.d.ts +12 -0
  654. package/lib/tree/use-node-async.d.ts +5 -0
  655. package/lib/tree/use-node-attribute.d.ts +42 -0
  656. package/lib/tree/use-node-drag.d.ts +3 -0
  657. package/lib/tree/use-search.d.ts +11 -0
  658. package/lib/tree/use-tree-init.d.ts +15 -0
  659. package/lib/tree/util.d.ts +4 -6
  660. package/lib/upload/index.d.ts +509 -0
  661. package/lib/upload/index.js +2 -0
  662. package/lib/upload/index.js.LICENSE.txt +1 -0
  663. package/lib/upload/props.d.ts +111 -0
  664. package/lib/upload/upload-list.d.ts +47 -0
  665. package/lib/upload/upload-trigger.d.ts +51 -0
  666. package/lib/upload/upload.css +427 -0
  667. package/lib/upload/upload.d.ts +246 -0
  668. package/lib/upload/upload.less +466 -0
  669. package/lib/upload/upload.type.d.ts +78 -0
  670. package/lib/upload/upload.variable.css +549 -0
  671. package/lib/upload/use-ajax-upload.d.ts +3 -0
  672. package/lib/upload/use-file-handler.d.ts +21 -0
  673. package/lib/virtual-render/index.d.ts +117 -144
  674. package/lib/virtual-render/index.js +1 -1
  675. package/lib/virtual-render/props.d.ts +25 -1
  676. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  677. package/lib/virtual-render/v-virtual-render.d.ts +0 -1
  678. package/lib/virtual-render/virtual-render.css +17 -17
  679. package/lib/virtual-render/virtual-render.d.ts +50 -4
  680. package/lib/virtual-render/virtual-render.less +2 -23
  681. package/lib/virtual-render/virtual-render.variable.css +139 -17
  682. package/lib/volar.components.d.ts +102 -0
  683. package/package.json +64 -43
  684. package/LICENSE.txt +0 -22
  685. package/lib/form/common.d.ts +0 -3
  686. package/lib/use-form.d.ts +0 -3
@@ -1 +1,2 @@
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
+ /*! 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("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 o="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 r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o,r,n,i)=>(()=>{var a={4976:e=>{"use strict";e.exports=o},2717:e=>{"use strict";e.exports=r},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},7609:(e,t,o)=>{var r=o(7425).default;function n(){"use strict";e.exports=n=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(e,t,o){e[t]=o.value},l="function"==typeof Symbol?Symbol:{},c=l.iterator||"@@iterator",s=l.asyncIterator||"@@asyncIterator",u=l.toStringTag||"@@toStringTag";function f(e,t,o){return Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,o){return e[t]=o}}function d(e,t,o,r){var n=t&&t.prototype instanceof v?t:v,i=Object.create(n.prototype),l=new j(r||[]);return a(i,"_invoke",{value:C(e,o,l)}),i}function p(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h={};function v(){}function m(){}function y(){}var g={};f(g,c,(function(){return this}));var x=Object.getPrototypeOf,b=x&&x(x(P([])));b&&b!==o&&i.call(b,c)&&(g=b);var w=y.prototype=v.prototype=Object.create(g);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function N(e,t){function o(n,a,l,c){var s=p(e[n],e,a);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==r(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,l,c)}),(function(e){o("throw",e,l,c)})):t.resolve(f).then((function(e){u.value=e,l(u)}),(function(e){return o("throw",e,l,c)}))}c(s.arg)}var n;a(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,n){o(e,r,t,n)}))}return n=n?n.then(i,i):i()}})}function C(e,t,o){var r="suspendedStart";return function(n,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===n)throw i;return{value:void 0,done:!0}}for(o.method=n,o.arg=i;;){var a=o.delegate;if(a){var l=S(a,o);if(l){if(l===h)continue;return l}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===r)throw r="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);r="executing";var c=p(e,t,o);if("normal"===c.type){if(r=o.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:o.done}}"throw"===c.type&&(r="completed",o.method="throw",o.arg=c.arg)}}}function S(e,t){var o=t.method,r=e.iterator[o];if(void 0===r)return t.delegate=null,"throw"===o&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==o&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+o+"' method")),h;var n=p(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,h;var i=n.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function L(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 j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function P(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,r=function t(){for(;++o<e.length;)if(i.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:O}}function O(){return{value:void 0,done:!0}}return m.prototype=y,a(w,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:m,configurable:!0}),m.displayName=f(y,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,f(e,u,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},T(N.prototype),f(N.prototype,s,(function(){return this})),t.AsyncIterator=N,t.async=function(e,o,r,n,i){void 0===i&&(i=Promise);var a=new N(d(e,o,r,n),i);return t.isGeneratorFunction(o)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},T(w),f(w,u,"Generator"),f(w,c,(function(){return this})),f(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),o=[];for(var r in t)o.push(r);return o.reverse(),function e(){for(;o.length;){var r=o.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=P,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},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 t=this;function o(o,r){return a.type="throw",a.arg=e,t.next=o,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r],a=n.completion;if("root"===n.tryLoc)return o("end");if(n.tryLoc<=this.prev){var l=i.call(n,"catchLoc"),c=i.call(n,"finallyLoc");if(l&&c){if(this.prev<n.catchLoc)return o(n.catchLoc,!0);if(this.prev<n.finallyLoc)return o(n.finallyLoc)}else if(l){if(this.prev<n.catchLoc)return o(n.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return o(n.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var n=r;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var a=n?n.completion:{};return a.type=e,a.arg=t,n?(this.method="next",this.next=n.finallyLoc,h):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),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),E(o),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var r=o.completion;if("throw"===r.type){var n=r.arg;E(o)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:P(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=void 0),h}},t}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},7425:e=>{function t(o){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},2841:(e,t,o)=>{var r=o(7609)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}},l={};function c(e){var t=l[e];if(void 0!==t)return t.exports;var o=l[e]={exports:{}};return a[e](o,o.exports,c),o.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 o in t)c.o(t,o)&&!c.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},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),o=c(2841),r=c.n(o);Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;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,o){var n=this,i=o.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,o=void 0,a=void 0,l=r().mark((function t(){var o;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=!0,"function"!=typeof e.beforeClose){t.next=5;break}return t.next=4,e.beforeClose();case 4:o=t.sent;case 5:o&&(i("update:isShow",!1),i("closed"),p.value=!1);case 6:case"end":return t.stop()}}),t)})),new(a||(a=Promise))((function(e,r){function n(e){try{c(l.next(e))}catch(e){r(e)}}function i(e){try{c(l.throw(e))}catch(e){r(e)}}function c(t){var o;t.done?e(t.value):(o=t.value,o instanceof a?o:new a((function(e){e(o)}))).then(n,i)}c((l=l.apply(t,o||[])).next())}));var t,o,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 o,r,n=t.target,i=t.currentTarget.parentNode.parentNode.offsetHeight,a=t.currentTarget.parentNode.parentNode.offsetWidth;0!==d.positionX&&0!==d.positionY?(o=t.clientX-d.positionX,r=t.clientY-d.positionY):(o=t.clientX-n.offsetLeft,r=t.clientY-n.offsetTop),document.onmousemove=function(e){var t=window.innerWidth-a,n=window.innerHeight-i,l=e.clientX-o,c=e.clientY-r;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 o,r=this,n={header:function(){var o,n,i,a,c,s;return[(0,t.createVNode)("div",{class:[(0,e.resolveClassName)("dialog-tool"),r.fullscreen||!r.draggable?"":"move",r.draggable?"content-dragging":""],onMousedown:r.moveHandler},[null!==(i=null===(n=(o=r.$slots).tools)||void 0===n?void 0:n.call(o))&&void 0!==i?i:""]),(0,t.createVNode)("div",{class:(0,e.resolveClassName)("dialog-header")},[(0,t.createVNode)("div",{class:(0,e.resolveClassName)("header-icon")},[r.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)}[r.infoType]:(0,t.createVNode)("slot",{name:"info-icon"},null)]),(0,t.createVNode)("span",{class:(0,e.resolveClassName)("dialog-title"),style:"text-align: ".concat(r.headerAlign)},[null!==(s=null===(c=(a=r.$slots).header)||void 0===c?void 0:c.call(a))&&void 0!==s?s:r.title])])]},default:function(){var e,t,o;return null!==(o=null===(t=(e=r.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==o?o:"default"},footer:function(){var o,n,a,l,c,s,u,f,d;return(0,t.createVNode)("div",{class:(0,e.resolveClassName)("dialog-footer"),style:"text-align: ".concat(r.footerAlign)},["process"===r.dialogType?null!==(a=null===(n=(o=r.$slots).footer)||void 0===n?void 0:n.call(o))&&void 0!==a?a:(0,t.createVNode)(t.Fragment,null,[1===r.current?"":(0,t.createVNode)(i(),{class:(0,e.resolveClassName)("dialog-perv"),onClick:r.handlePrevStep},{default:function(){return[r.localPrevText]}}),r.current===r.totalStep?"":(0,t.createVNode)(i(),{class:(0,e.resolveClassName)("dialog-next"),onClick:r.handleNextStep},{default:function(){return[r.localNextText]}}),r.current===r.totalStep?(0,t.createVNode)(i(),{onClick:r.handleConfirm,theme:r.theme,loading:r.isLoading},{default:function(){return[r.localConfirmText]}}):"",(0,t.createVNode)(i(),{class:(0,e.resolveClassName)("dialog-cancel"),onClick:r.handleClose,disabled:r.isLoading},{default:function(){return[r.localCancelText]}})]):"","operation"===r.dialogType?null!==(s=null===(c=(l=r.$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:r.handleConfirm,theme:r.theme,loading:r.isLoading},{default:function(){return[r.localConfirmText]}}),(0,t.createVNode)(i(),{class:(0,e.resolveClassName)("dialog-cancel"),onClick:r.handleClose,disabled:r.isLoading},{default:function(){return[r.localCancelText]}})]):"","confirm"===r.dialogType?null!==(d=null===(f=(u=r.$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:r.handleConfirm,theme:r.theme,loading:r.isLoading},{default:function(){return[r.localConfirmText]}})]):""])},close:function(){return(0,t.createVNode)(l.Error,{onClick:r.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(o=n)||"[object Object]"===Object.prototype.toString.call(o)&&!(0,t.isVNode)(o)?n:{default:function(){return[n]}})}}),h=(0,e.withInstall)(p)})(),s})()));
@@ -0,0 +1 @@
1
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
@@ -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<"right" | "left" | "center"> & {
34
+ default: "right" | "left" | "center";
35
+ };
36
+ footerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
37
+ default: "right" | "left" | "center";
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<"show" | "if"> & {
112
+ default: "show" | "if";
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,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),s=/Android/i.exec(e),v=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),d=!!/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;l=!!h[2],c=!!h[3]}else u=l=c=!1}}var h={ie:function(){return b()||t},ieCompatibilityMode:function(){return b()||a>t},ie64:function(){return h.ie()&&d},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()||l},osx:function(){return b()||u},linux:function(){return b()||c},iphone:function(){return b()||f},mobile:function(){return b()||f||p||s||m},nativeApp:function(){return b()||v},android:function(){return b()||s},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},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:()=>T,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 y=a(4212),b=a(5798),h=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,y.resolveClassName)("popper-arrow"),e.setAttribute("data-popper-arrow",""),e}function x(e){var t=h.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=h.get(e).opts,r=n.placement,o=n.distance,i=n.showOnInit,a=(0,b.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(),h.get(e).popperInstance=c}}function E(e){if(h.get(e)){var t=h.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 T={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=y.bkZIndexManager.getPopperIndex(),u=document.createElement("div");if(u.className="".concat((0,y.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)}));h.set(e,{opts:n,popper:o,popperInstance:null})},updated:function(e,t){h.get(e).opts=w(t)},unmounted:function(e){E(e),h.delete(e)}};var M=a(9706),S=a.n(M),A=function(e,t){var n={content:"",target:e};return"object"===m(t)?Object.assign(n,t):n.content=t,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),{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)}}})(),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<"right" | "left" | "center"> & {
6
+ default: "right" | "left" | "center";
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
- }, 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;
21
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
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<"right" | "left" | "center"> & {
26
+ default: "right" | "left" | "center";
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
44
  color: string;
45
- direction: string;
46
- align: string;
47
- }>;
45
+ direction: "horizontal" | "vertical";
46
+ align: "right" | "left" | "center";
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;