bkui-vue 0.0.1-beta.98 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (656) hide show
  1. package/License.txt +14 -0
  2. package/dist/index.cjs.js +360 -36
  3. package/dist/index.esm.js +30770 -23399
  4. package/dist/index.umd.js +360 -36
  5. package/dist/locale/en.esm.js +2 -0
  6. package/dist/locale/en.esm.js.map +1 -0
  7. package/dist/locale/en.umd.js +2 -0
  8. package/dist/locale/en.umd.js.map +1 -0
  9. package/dist/locale/zh-cn.esm.js +2 -0
  10. package/dist/locale/zh-cn.esm.js.map +1 -0
  11. package/dist/locale/zh-cn.umd.js +2 -0
  12. package/dist/locale/zh-cn.umd.js.map +1 -0
  13. package/dist/style.css +1 -1
  14. package/dist/style.variable.css +1 -0
  15. package/lib/affix/affix.d.ts +2 -2
  16. package/lib/affix/affix.variable.css +29 -6
  17. package/lib/affix/index.d.ts +60 -36
  18. package/lib/alert/alert.css +4 -0
  19. package/lib/alert/alert.d.ts +11 -9
  20. package/lib/alert/alert.less +24 -19
  21. package/lib/alert/alert.variable.css +33 -6
  22. package/lib/alert/index.d.ts +82 -58
  23. package/lib/alert/index.js +1 -1
  24. package/lib/animate-number/animate-number.d.ts +2 -2
  25. package/lib/animate-number/index.d.ts +58 -25
  26. package/lib/backtop/backtop.css +8 -0
  27. package/lib/backtop/backtop.d.ts +4 -4
  28. package/lib/backtop/backtop.less +8 -0
  29. package/lib/backtop/backtop.variable.css +37 -6
  30. package/lib/backtop/index.d.ts +65 -47
  31. package/lib/backtop/index.js +1 -1
  32. package/lib/badge/badge.css +2 -5
  33. package/lib/badge/badge.d.ts +3 -3
  34. package/lib/badge/badge.less +4 -5
  35. package/lib/badge/badge.variable.css +31 -11
  36. package/lib/badge/index.d.ts +67 -64
  37. package/lib/badge/index.js +1 -1
  38. package/lib/breadcrumb/breadcrumb-item.d.ts +5 -3
  39. package/lib/breadcrumb/breadcrumb.css +43 -0
  40. package/lib/breadcrumb/breadcrumb.d.ts +2 -2
  41. package/lib/breadcrumb/breadcrumb.variable.css +77 -11
  42. package/lib/breadcrumb/index.d.ts +65 -41
  43. package/lib/breadcrumb/index.js +1 -1
  44. package/lib/button/button-group.d.ts +4 -4
  45. package/lib/button/button.css +21 -3
  46. package/lib/button/button.d.ts +46 -33
  47. package/lib/button/button.less +25 -5
  48. package/lib/button/button.variable.css +50 -9
  49. package/lib/button/index.d.ts +121 -96
  50. package/lib/button/index.js +1 -1
  51. package/lib/card/card.css +45 -2
  52. package/lib/card/card.d.ts +2 -1
  53. package/lib/card/card.less +2 -2
  54. package/lib/card/card.variable.css +78 -12
  55. package/lib/card/index.d.ts +66 -64
  56. package/lib/card/index.js +1 -1
  57. package/lib/cascader/cascader-panel.d.ts +60 -6
  58. package/lib/cascader/cascader.css +197 -11
  59. package/lib/cascader/cascader.d.ts +108 -25
  60. package/lib/cascader/cascader.less +148 -11
  61. package/lib/cascader/cascader.variable.css +234 -25
  62. package/lib/cascader/index.d.ts +378 -176
  63. package/lib/cascader/index.js +2 -1
  64. package/lib/cascader/index.js.LICENSE.txt +1 -0
  65. package/lib/cascader/interface.d.ts +8 -1
  66. package/lib/cascader/node.d.ts +9 -2
  67. package/lib/cascader/store.d.ts +13 -1
  68. package/lib/checkbox/checkbox-group.d.ts +18 -2
  69. package/lib/checkbox/checkbox.css +38 -11
  70. package/lib/checkbox/checkbox.d.ts +40 -18
  71. package/lib/checkbox/checkbox.less +68 -33
  72. package/lib/checkbox/checkbox.variable.css +67 -17
  73. package/lib/checkbox/common.d.ts +1 -0
  74. package/lib/checkbox/index.d.ts +133 -72
  75. package/lib/checkbox/index.js +1 -1
  76. package/lib/checkbox/type.d.ts +1 -1
  77. package/lib/code-diff/code-diff.css +27 -7
  78. package/lib/code-diff/code-diff.d.ts +7 -7
  79. package/lib/code-diff/code-diff.less +42 -7
  80. package/lib/code-diff/code-diff.variable.css +56 -13
  81. package/lib/code-diff/index.d.ts +30 -43
  82. package/lib/code-diff/index.js +1 -1
  83. package/lib/collapse/collapse-panel.d.ts +104 -0
  84. package/lib/collapse/collapse.css +58 -19
  85. package/lib/collapse/collapse.d.ts +59 -42
  86. package/lib/collapse/collapse.less +106 -46
  87. package/lib/collapse/collapse.variable.css +87 -25
  88. package/lib/collapse/index.d.ts +271 -46
  89. package/lib/collapse/index.js +1 -1
  90. package/lib/collapse/props.d.ts +131 -0
  91. package/lib/collapse-transition/collapse-transition.css +93 -0
  92. package/lib/collapse-transition/collapse-transition.d.ts +15 -0
  93. package/lib/collapse-transition/collapse-transition.less +111 -0
  94. package/lib/collapse-transition/collapse-transition.variable.css +215 -0
  95. package/lib/collapse-transition/index.d.ts +2 -0
  96. package/lib/collapse-transition/index.js +1 -0
  97. package/lib/color-picker/color-picker.css +275 -0
  98. package/lib/color-picker/color-picker.d.ts +144 -0
  99. package/lib/color-picker/color-picker.less +325 -0
  100. package/lib/color-picker/color-picker.variable.css +397 -0
  101. package/lib/color-picker/components/color-input.d.ts +42 -0
  102. package/lib/color-picker/components/hue-slider.d.ts +41 -0
  103. package/lib/color-picker/components/input-container.d.ts +42 -0
  104. package/lib/color-picker/components/recommend-colors.d.ts +51 -0
  105. package/lib/color-picker/components/saturation-panel.d.ts +41 -0
  106. package/lib/color-picker/index.d.ts +255 -0
  107. package/lib/color-picker/index.js +1 -0
  108. package/lib/color-picker/utils.d.ts +37 -0
  109. package/lib/components.d.ts +14 -0
  110. package/lib/components.js +1 -1
  111. package/lib/config-provider/config-provider.css +0 -0
  112. package/lib/config-provider/config-provider.d.ts +402 -0
  113. package/lib/config-provider/config-provider.less +1 -0
  114. package/lib/config-provider/config-provider.variable.css +122 -0
  115. package/lib/config-provider/index.d.ts +646 -0
  116. package/lib/config-provider/index.js +1 -0
  117. package/lib/config-provider/token.d.ts +128 -0
  118. package/lib/config-provider/use-global-config.d.ts +5 -0
  119. package/lib/config-provider/use-locale.d.ts +3 -0
  120. package/lib/config-provider/use-prefix.d.ts +9 -0
  121. package/lib/container/col.d.ts +3 -3
  122. package/lib/container/container.css +43 -0
  123. package/lib/container/container.d.ts +2 -2
  124. package/lib/container/container.less +4 -4
  125. package/lib/container/container.variable.css +72 -6
  126. package/lib/container/index.d.ts +30 -49
  127. package/lib/container/index.js +1 -1
  128. package/lib/container/interface.d.ts +7 -0
  129. package/lib/container/row.d.ts +2 -2
  130. package/lib/date-picker/base/confirm.d.ts +74 -0
  131. package/lib/date-picker/base/date-table.d.ts +96 -0
  132. package/lib/date-picker/base/month-table.d.ts +117 -0
  133. package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
  134. package/lib/date-picker/base/time-spinner.d.ts +170 -0
  135. package/lib/date-picker/base/year-table.d.ts +117 -0
  136. package/lib/date-picker/date-picker.css +30 -1
  137. package/lib/date-picker/date-picker.d.ts +55 -35
  138. package/lib/date-picker/date-picker.less +109 -74
  139. package/lib/date-picker/date-picker.variable.css +59 -7
  140. package/lib/date-picker/index.d.ts +198 -218
  141. package/lib/date-picker/index.js +1 -1
  142. package/lib/date-picker/interface.d.ts +20 -10
  143. package/lib/date-picker/panel/date-range.d.ts +345 -0
  144. package/lib/date-picker/panel/date.d.ts +206 -0
  145. package/lib/date-picker/panel/time-range.d.ts +495 -0
  146. package/lib/date-picker/panel/time.d.ts +451 -0
  147. package/lib/date-picker/props.d.ts +48 -5
  148. package/lib/date-picker/time-picker.d.ts +390 -0
  149. package/lib/date-picker/utils.d.ts +22 -2
  150. package/lib/dialog/dialog.css +94 -34
  151. package/lib/dialog/dialog.d.ts +57 -93
  152. package/lib/dialog/dialog.less +85 -43
  153. package/lib/dialog/dialog.variable.css +216 -34
  154. package/lib/dialog/index.d.ts +194 -334
  155. package/lib/dialog/index.js +2 -1
  156. package/lib/dialog/index.js.LICENSE.txt +1 -0
  157. package/lib/dialog/props.d.ts +122 -0
  158. package/lib/directives/ellipsis.d.ts +7 -0
  159. package/lib/directives/index.d.ts +2 -0
  160. package/lib/directives/index.js +1 -1
  161. package/lib/directives/tooltips.d.ts +2 -1
  162. package/lib/dist.index.js +1 -1
  163. package/lib/divider/divider.d.ts +17 -17
  164. package/lib/divider/divider.variable.css +29 -6
  165. package/lib/divider/index.d.ts +85 -61
  166. package/lib/divider/index.js +1 -1
  167. package/lib/divider/props.d.ts +6 -6
  168. package/lib/dropdown/dropdown-item.d.ts +1 -1
  169. package/lib/dropdown/dropdown-menu.d.ts +2 -2
  170. package/lib/dropdown/dropdown.css +34 -7
  171. package/lib/dropdown/dropdown.d.ts +46 -15
  172. package/lib/dropdown/dropdown.less +42 -36
  173. package/lib/dropdown/dropdown.variable.css +63 -13
  174. package/lib/dropdown/index.d.ts +136 -65
  175. package/lib/dropdown/index.js +1 -1
  176. package/lib/exception/exception.css +40 -14
  177. package/lib/exception/exception.d.ts +33 -13
  178. package/lib/exception/exception.less +59 -22
  179. package/lib/exception/exception.variable.css +69 -20
  180. package/lib/exception/index.d.ts +91 -43
  181. package/lib/exception/index.js +1 -1
  182. package/lib/exception/typings/index.d.ts +4 -0
  183. package/lib/fixed-navbar/fixed-navbar.d.ts +2 -2
  184. package/lib/fixed-navbar/fixed-navbar.variable.css +29 -6
  185. package/lib/fixed-navbar/index.d.ts +60 -36
  186. package/lib/form/compose-form-item.d.ts +4 -2
  187. package/lib/form/form-item.d.ts +15 -9
  188. package/lib/form/form.css +32 -8
  189. package/lib/form/form.d.ts +25 -7
  190. package/lib/form/form.less +85 -53
  191. package/lib/form/form.variable.css +61 -14
  192. package/lib/form/index.d.ts +109 -51
  193. package/lib/form/index.js +1 -1
  194. package/lib/form/type.d.ts +5 -4
  195. package/lib/form/utils.d.ts +2 -0
  196. package/lib/hooks.d.ts +1 -0
  197. package/lib/hooks.js +1 -0
  198. package/lib/icon/angle-double-down-line.js +1 -1
  199. package/lib/icon/angle-double-left-line.js +1 -1
  200. package/lib/icon/angle-double-left.js +1 -1
  201. package/lib/icon/angle-double-right-line.js +1 -1
  202. package/lib/icon/angle-double-right.js +1 -1
  203. package/lib/icon/angle-double-up-line.js +1 -1
  204. package/lib/icon/angle-down-fill.js +1 -1
  205. package/lib/icon/angle-down-line.js +1 -1
  206. package/lib/icon/angle-down.js +1 -1
  207. package/lib/icon/angle-left.js +1 -1
  208. package/lib/icon/angle-right.js +1 -1
  209. package/lib/icon/angle-up-fill.js +1 -1
  210. package/lib/icon/angle-up.js +1 -1
  211. package/lib/icon/archive-fill.js +1 -1
  212. package/lib/icon/arrows-left.js +1 -1
  213. package/lib/icon/arrows-right.js +1 -1
  214. package/lib/icon/audio-fill.js +1 -1
  215. package/lib/icon/bk.js +1 -1
  216. package/lib/icon/circle.js +1 -1
  217. package/lib/icon/close-line.js +1 -1
  218. package/lib/icon/close.js +1 -1
  219. package/lib/icon/code.js +1 -1
  220. package/lib/icon/cog-shape.js +1 -1
  221. package/lib/icon/collapse-left.js +1 -1
  222. package/lib/icon/copy-shape.d.ts +4 -0
  223. package/lib/icon/copy-shape.js +1 -0
  224. package/lib/icon/copy.js +1 -1
  225. package/lib/icon/data-shape.js +1 -1
  226. package/lib/icon/del.js +1 -1
  227. package/lib/icon/doc-fill.js +1 -1
  228. package/lib/icon/done.js +1 -1
  229. package/lib/icon/down-shape.js +1 -1
  230. package/lib/icon/down-small.js +1 -1
  231. package/lib/icon/edit-line.js +1 -1
  232. package/lib/icon/ellipsis.js +1 -1
  233. package/lib/icon/enlarge-line.d.ts +4 -0
  234. package/lib/icon/enlarge-line.js +1 -0
  235. package/lib/icon/error.js +1 -1
  236. package/lib/icon/excel-fill.js +1 -1
  237. package/lib/icon/exclamation-circle-shape.js +1 -1
  238. package/lib/icon/eye.js +1 -1
  239. package/lib/icon/filliscreen-line.d.ts +4 -0
  240. package/lib/icon/filliscreen-line.js +1 -0
  241. package/lib/icon/fix-line.d.ts +4 -0
  242. package/lib/icon/fix-line.js +1 -0
  243. package/lib/icon/fix-shape.d.ts +4 -0
  244. package/lib/icon/fix-shape.js +1 -0
  245. package/lib/icon/folder-open.js +1 -1
  246. package/lib/icon/folder-shape-open.js +1 -1
  247. package/lib/icon/folder-shape.js +1 -1
  248. package/lib/icon/folder.js +1 -0
  249. package/lib/icon/funnel.js +1 -1
  250. package/lib/icon/help-document-fill.js +1 -1
  251. package/lib/icon/help-fill.js +1 -1
  252. package/lib/icon/help.js +1 -1
  253. package/lib/icon/image-fill.js +1 -1
  254. package/lib/icon/img-error.d.ts +4 -0
  255. package/lib/icon/img-error.js +1 -0
  256. package/lib/icon/img-placehoulder.d.ts +4 -0
  257. package/lib/icon/img-placehoulder.js +1 -0
  258. package/lib/icon/index.d.ts +83 -69
  259. package/lib/icon/index.js +1 -1
  260. package/lib/icon/info-line.js +1 -1
  261. package/lib/icon/info.js +1 -1
  262. package/lib/icon/left-shape.js +1 -1
  263. package/lib/icon/left-turn-line.d.ts +4 -0
  264. package/lib/icon/left-turn-line.js +1 -0
  265. package/lib/icon/narrow-line.d.ts +4 -0
  266. package/lib/icon/narrow-line.js +1 -0
  267. package/lib/icon/original.d.ts +4 -0
  268. package/lib/icon/original.js +1 -0
  269. package/lib/icon/pdf-fill.js +1 -1
  270. package/lib/icon/play-shape.js +1 -1
  271. package/lib/icon/plus.js +1 -1
  272. package/lib/icon/ppt-fill.js +1 -1
  273. package/lib/icon/qq.js +1 -1
  274. package/lib/icon/right-shape.js +1 -1
  275. package/lib/icon/right-turn-line.d.ts +4 -0
  276. package/lib/icon/right-turn-line.js +1 -0
  277. package/lib/icon/search.js +1 -1
  278. package/lib/icon/share.js +1 -1
  279. package/lib/icon/spinner.js +1 -1
  280. package/lib/icon/success.js +1 -1
  281. package/lib/icon/switcher-loading.js +1 -1
  282. package/lib/icon/text-file.js +1 -1
  283. package/lib/icon/text-fill.js +1 -1
  284. package/lib/icon/transfer.d.ts +4 -0
  285. package/lib/icon/transfer.js +1 -0
  286. package/lib/icon/tree-application-shape.js +1 -1
  287. package/lib/icon/unfull-screen.d.ts +4 -0
  288. package/lib/icon/unfull-screen.js +1 -0
  289. package/lib/icon/unvisible.js +1 -1
  290. package/lib/icon/up-shape.js +1 -1
  291. package/lib/icon/upload.js +1 -1
  292. package/lib/icon/video-fill.js +1 -1
  293. package/lib/icon/warn.js +1 -1
  294. package/lib/icon/weixin-pro.d.ts +4 -0
  295. package/lib/icon/weixin-pro.js +1 -0
  296. package/lib/icon/weixin.js +1 -1
  297. package/lib/image/image-viewer.css +142 -0
  298. package/lib/image/image-viewer.d.ts +73 -0
  299. package/lib/image/image-viewer.less +168 -0
  300. package/lib/image/image-viewer.variable.css +142 -0
  301. package/lib/image/image.css +37 -0
  302. package/lib/image/image.d.ts +93 -0
  303. package/lib/image/image.less +44 -0
  304. package/lib/image/image.variable.css +37 -0
  305. package/lib/image/index.d.ts +252 -0
  306. package/lib/image/index.js +1 -0
  307. package/lib/image/props.d.ts +71 -0
  308. package/lib/index.d.ts +3 -0
  309. package/lib/index.js +1 -1
  310. package/lib/info-box/index.d.ts +7 -0
  311. package/lib/info-box/index.js +2 -0
  312. package/lib/info-box/index.js.LICENSE.txt +1 -0
  313. package/lib/info-box/info-box.css +37 -0
  314. package/lib/info-box/info-box.d.ts +29 -0
  315. package/lib/info-box/info-box.less +51 -0
  316. package/lib/info-box/info-box.variable.css +159 -0
  317. package/lib/input/index.d.ts +178 -228
  318. package/lib/input/index.js +1 -1
  319. package/lib/input/input.css +168 -23
  320. package/lib/input/input.d.ts +59 -37
  321. package/lib/input/input.less +104 -22
  322. package/lib/input/input.variable.css +228 -61
  323. package/lib/link/index.d.ts +80 -53
  324. package/lib/link/index.js +1 -1
  325. package/lib/link/link.css +12 -12
  326. package/lib/link/link.d.ts +10 -8
  327. package/lib/link/link.less +16 -14
  328. package/lib/link/link.variable.css +41 -18
  329. package/lib/loading/directive.d.ts +14 -0
  330. package/lib/loading/index.d.ts +160 -56
  331. package/lib/loading/index.js +1 -1
  332. package/lib/loading/loading.css +72 -29
  333. package/lib/loading/loading.d.ts +91 -15
  334. package/lib/loading/loading.less +21 -19
  335. package/lib/loading/loading.variable.css +117 -51
  336. package/lib/locale/index.d.ts +3 -0
  337. package/lib/locale/index.js +1 -0
  338. package/lib/locale/lang/en.d.ts +126 -0
  339. package/lib/locale/lang/zh-cn.d.ts +3 -0
  340. package/lib/menu/index.d.ts +75 -34
  341. package/lib/menu/index.js +1 -1
  342. package/lib/menu/menu-group.d.ts +2 -2
  343. package/lib/menu/menu-item.d.ts +5 -1
  344. package/lib/menu/menu.css +43 -0
  345. package/lib/menu/menu.d.ts +2 -2
  346. package/lib/menu/menu.variable.css +90 -24
  347. package/lib/menu/submenu.d.ts +5 -1
  348. package/lib/menu/submenu.variable.css +29 -6
  349. package/lib/menu/utils.d.ts +1 -1
  350. package/lib/message/index.js +2 -1
  351. package/lib/message/index.js.LICENSE.txt +6 -0
  352. package/lib/message/message.css +166 -2
  353. package/lib/message/message.less +222 -7
  354. package/lib/message/message.variable.css +195 -8
  355. package/lib/message/messageConstructor.d.ts +136 -27
  356. package/lib/modal/index.d.ts +201 -246
  357. package/lib/modal/index.js +1 -1
  358. package/lib/modal/modal.css +39 -6
  359. package/lib/modal/modal.d.ts +54 -61
  360. package/lib/modal/modal.less +8 -10
  361. package/lib/modal/modal.variable.css +161 -6
  362. package/lib/modal/props.mixin.d.ts +16 -23
  363. package/lib/navigation/index.d.ts +90 -68
  364. package/lib/navigation/index.js +1 -1
  365. package/lib/navigation/navigation-title.d.ts +6 -3
  366. package/lib/navigation/navigation.d.ts +12 -4
  367. package/lib/navigation/navigation.variable.css +29 -6
  368. package/lib/notify/index.js +1 -1
  369. package/lib/notify/notify.css +8 -4
  370. package/lib/notify/notify.less +18 -13
  371. package/lib/notify/notify.variable.css +37 -10
  372. package/lib/notify/notifyConstructor.d.ts +19 -21
  373. package/lib/overflow-title/components/overflow-title.d.ts +57 -0
  374. package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
  375. package/lib/overflow-title/index.d.ts +195 -0
  376. package/lib/overflow-title/index.js +1 -0
  377. package/lib/overflow-title/overflow.css +11 -0
  378. package/lib/overflow-title/overflow.less +13 -0
  379. package/lib/overflow-title/overflow.variable.css +11 -0
  380. package/lib/overflow-title/props.d.ts +43 -0
  381. package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
  382. package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
  383. package/lib/pagination/index.d.ts +89 -90
  384. package/lib/pagination/index.js +1 -1
  385. package/lib/pagination/pagination.css +54 -28
  386. package/lib/pagination/pagination.d.ts +17 -6
  387. package/lib/pagination/pagination.less +59 -30
  388. package/lib/pagination/pagination.variable.css +83 -34
  389. package/lib/pagination/type.d.ts +1 -1
  390. package/lib/pagination/use-limit.d.ts +3 -1
  391. package/lib/pagination/use-total.d.ts +3 -1
  392. package/lib/plugin-popover/index.d.ts +27 -0
  393. package/lib/plugin-popover/index.js +1 -0
  394. package/lib/plugins/index.d.ts +1 -0
  395. package/lib/plugins/index.js +1 -0
  396. package/lib/pop-confirm/index.d.ts +249 -0
  397. package/lib/pop-confirm/index.js +1 -0
  398. package/lib/pop-confirm/pop-confirm.css +28 -0
  399. package/lib/pop-confirm/pop-confirm.d.ts +95 -0
  400. package/lib/pop-confirm/pop-confirm.less +34 -0
  401. package/lib/pop-confirm/pop-confirm.variable.css +150 -0
  402. package/lib/pop-confirm/props.d.ts +67 -0
  403. package/lib/popover/arrow.d.ts +2 -0
  404. package/lib/popover/const.d.ts +16 -0
  405. package/lib/popover/content.d.ts +43 -0
  406. package/lib/popover/index.d.ts +409 -173
  407. package/lib/popover/index.js +1 -1
  408. package/lib/popover/plugin-popover.d.ts +12 -0
  409. package/lib/popover/popover.css +10 -53
  410. package/lib/popover/popover.d.ts +189 -58
  411. package/lib/popover/popover.less +19 -68
  412. package/lib/popover/popover.variable.css +40 -60
  413. package/lib/popover/props.d.ts +90 -37
  414. package/lib/popover/reference.d.ts +2 -0
  415. package/lib/popover/root.d.ts +27 -0
  416. package/lib/popover/use-floating.d.ts +34 -0
  417. package/lib/popover/use-platform.d.ts +30 -0
  418. package/lib/popover/use-popover-init.d.ts +23 -0
  419. package/lib/popover/use-popper-id.d.ts +6 -0
  420. package/lib/popover/utils.d.ts +8 -0
  421. package/lib/popover2/index.d.ts +89 -0
  422. package/lib/popover2/index.js +1 -0
  423. package/lib/popover2/popover.d.ts +2 -0
  424. package/lib/preset.d.ts +264 -2
  425. package/lib/preset.js +1 -1
  426. package/lib/process/index.d.ts +69 -52
  427. package/lib/process/index.js +2 -1
  428. package/lib/process/index.js.LICENSE.txt +1 -0
  429. package/lib/process/process.css +22 -0
  430. package/lib/process/process.d.ts +5 -4
  431. package/lib/process/process.less +36 -8
  432. package/lib/process/process.variable.css +51 -6
  433. package/lib/progress/index.d.ts +100 -121
  434. package/lib/progress/index.js +1 -1
  435. package/lib/progress/progress.css +43 -0
  436. package/lib/progress/progress.d.ts +17 -15
  437. package/lib/progress/progress.less +8 -8
  438. package/lib/progress/progress.variable.css +76 -10
  439. package/lib/radio/index.d.ts +116 -58
  440. package/lib/radio/index.js +1 -1
  441. package/lib/radio/radio-button.d.ts +12 -9
  442. package/lib/radio/radio-group.d.ts +36 -5
  443. package/lib/radio/radio.css +133 -62
  444. package/lib/radio/radio.d.ts +9 -5
  445. package/lib/radio/radio.less +262 -173
  446. package/lib/radio/radio.variable.css +166 -72
  447. package/lib/radio/type.d.ts +1 -1
  448. package/lib/rate/index.d.ts +78 -28
  449. package/lib/rate/index.js +1 -1
  450. package/lib/rate/rate.d.ts +14 -3
  451. package/lib/rate/star.d.ts +1 -1
  452. package/lib/resize-layout/index.d.ts +82 -80
  453. package/lib/resize-layout/index.js +1 -1
  454. package/lib/resize-layout/resize-layout.css +6 -15
  455. package/lib/resize-layout/resize-layout.d.ts +10 -9
  456. package/lib/resize-layout/resize-layout.less +32 -41
  457. package/lib/resize-layout/resize-layout.variable.css +35 -21
  458. package/lib/search-select/index.d.ts +892 -0
  459. package/lib/search-select/index.js +2 -0
  460. package/lib/search-select/index.js.LICENSE.txt +1 -0
  461. package/lib/search-select/input.d.ts +101 -0
  462. package/lib/search-select/menu.d.ts +77 -0
  463. package/lib/search-select/search-select.css +427 -0
  464. package/lib/search-select/search-select.d.ts +361 -0
  465. package/lib/search-select/search-select.less +384 -0
  466. package/lib/search-select/search-select.variable.css +549 -0
  467. package/lib/search-select/selected.d.ts +155 -0
  468. package/lib/search-select/utils.d.ts +88 -0
  469. package/lib/select/common.d.ts +4 -11
  470. package/lib/select/index.d.ts +1471 -918
  471. package/lib/select/index.js +2 -1
  472. package/lib/select/index.js.LICENSE.txt +1 -0
  473. package/lib/select/option.d.ts +17 -6
  474. package/lib/select/optionGroup.d.ts +2 -2
  475. package/lib/select/select.css +211 -140
  476. package/lib/select/select.d.ts +654 -205
  477. package/lib/select/select.less +331 -189
  478. package/lib/select/select.variable.css +240 -146
  479. package/lib/select/selectTagInput.d.ts +38 -15
  480. package/lib/select/type.d.ts +20 -14
  481. package/lib/shared/dom.d.ts +3 -0
  482. package/lib/shared/helper.d.ts +9 -0
  483. package/lib/shared/hooks/use-form-item.d.ts +2 -0
  484. package/lib/shared/hooks/use-form.d.ts +2 -0
  485. package/lib/shared/index.d.ts +16 -12
  486. package/lib/shared/index.js +1 -1
  487. package/lib/shared/mask-manager.d.ts +18 -5
  488. package/lib/shared/pop-manager.d.ts +14 -4
  489. package/lib/shared/popover.d.ts +2 -1
  490. package/lib/shared/token.d.ts +1 -1
  491. package/lib/shared/utils.d.ts +19 -0
  492. package/lib/shared/vue-types.d.ts +116 -13
  493. package/lib/sideslider/index.d.ts +158 -252
  494. package/lib/sideslider/index.js +2 -1
  495. package/lib/sideslider/index.js.LICENSE.txt +1 -0
  496. package/lib/sideslider/sideslider.css +10 -8
  497. package/lib/sideslider/sideslider.d.ts +46 -71
  498. package/lib/sideslider/sideslider.less +19 -17
  499. package/lib/sideslider/sideslider.variable.css +39 -14
  500. package/lib/slider/index.d.ts +82 -112
  501. package/lib/slider/index.js +2 -1
  502. package/lib/slider/index.js.LICENSE.txt +1 -0
  503. package/lib/slider/slider-button.d.ts +3 -2
  504. package/lib/slider/slider.d.ts +6 -6
  505. package/lib/slider/slider.variable.css +29 -6
  506. package/lib/steps/index.d.ts +105 -96
  507. package/lib/steps/index.js +2 -1
  508. package/lib/steps/index.js.LICENSE.txt +1 -0
  509. package/lib/steps/steps.css +1 -0
  510. package/lib/steps/steps.d.ts +35 -34
  511. package/lib/steps/steps.less +63 -62
  512. package/lib/steps/steps.variable.css +30 -6
  513. package/lib/styles/index.d.ts +6 -1
  514. package/lib/styles/mixins/mixins.css +43 -0
  515. package/lib/styles/mixins/mixins.less +1 -0
  516. package/lib/styles/mixins/mixins.variable.css +43 -0
  517. package/lib/styles/mixins/popper.css +1 -1
  518. package/lib/styles/mixins/popper.less +12 -11
  519. package/lib/styles/mixins/popper.variable.css +123 -1
  520. package/lib/styles/mixins/scroll.css +17 -0
  521. package/lib/styles/mixins/scroll.less +22 -0
  522. package/lib/styles/mixins/scroll.variable.css +139 -0
  523. package/lib/styles/reset.css +36 -0
  524. package/lib/styles/reset.less +26 -2
  525. package/lib/styles/reset.variable.css +36 -0
  526. package/lib/styles/themes/themes.less +37 -6
  527. package/lib/swiper/index.d.ts +60 -44
  528. package/lib/swiper/index.js +1 -1
  529. package/lib/swiper/swiper.d.ts +1 -1
  530. package/lib/swiper/swiper.less +15 -13
  531. package/lib/swiper/swiper.variable.css +122 -0
  532. package/lib/switcher/index.d.ts +94 -87
  533. package/lib/switcher/index.js +1 -1
  534. package/lib/switcher/switcher.css +44 -1
  535. package/lib/switcher/switcher.d.ts +17 -11
  536. package/lib/switcher/switcher.less +29 -52
  537. package/lib/switcher/switcher.variable.css +90 -24
  538. package/lib/tab/index.d.ts +163 -124
  539. package/lib/tab/index.js +1 -1
  540. package/lib/tab/props.d.ts +92 -43
  541. package/lib/tab/tab-nav.d.ts +46 -14
  542. package/lib/tab/tab-panel.d.ts +16 -9
  543. package/lib/tab/tab.css +135 -58
  544. package/lib/tab/tab.d.ts +42 -20
  545. package/lib/tab/tab.less +164 -77
  546. package/lib/tab/tab.variable.css +164 -64
  547. package/lib/table/cache.d.ts +6 -0
  548. package/lib/table/components/index.d.ts +3 -0
  549. package/lib/table/components/table-cell.d.ts +51 -0
  550. package/lib/table/components/table-column.d.ts +305 -0
  551. package/lib/table/components/table-row.d.ts +2 -0
  552. package/lib/table/const.d.ts +94 -6
  553. package/lib/table/index.d.ts +697 -169
  554. package/lib/table/index.js +1 -1
  555. package/lib/table/plugins/body-empty.d.ts +36 -0
  556. package/lib/table/plugins/col-group.d.ts +38 -0
  557. package/lib/table/plugins/common.d.ts +6 -0
  558. package/lib/table/plugins/head-filter.css +30 -14
  559. package/lib/table/plugins/head-filter.d.ts +26 -0
  560. package/lib/table/plugins/head-filter.less +79 -52
  561. package/lib/table/plugins/head-filter.variable.css +59 -20
  562. package/lib/table/plugins/head-sort.css +7 -3
  563. package/lib/table/plugins/head-sort.d.ts +29 -0
  564. package/lib/table/plugins/head-sort.less +8 -4
  565. package/lib/table/plugins/head-sort.variable.css +36 -9
  566. package/lib/table/plugins/index.d.ts +5 -0
  567. package/lib/table/plugins/settings.css +43 -6
  568. package/lib/table/plugins/settings.d.ts +37 -0
  569. package/lib/table/plugins/settings.less +52 -7
  570. package/lib/table/plugins/settings.variable.css +72 -12
  571. package/lib/table/plugins/use-active-columns.d.ts +16 -0
  572. package/lib/table/plugins/use-column-resize.d.ts +15 -0
  573. package/lib/table/plugins/use-fixed-column.d.ts +26 -0
  574. package/lib/table/plugins/use-pagination.d.ts +16 -0
  575. package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
  576. package/lib/table/props.d.ts +271 -23
  577. package/lib/table/render.d.ts +32 -12
  578. package/lib/table/table.css +964 -67
  579. package/lib/table/table.d.ts +170 -27
  580. package/lib/table/table.less +198 -66
  581. package/lib/table/table.variable.css +993 -73
  582. package/lib/table/use-column.d.ts +12 -0
  583. package/lib/table/use-common.d.ts +71 -29
  584. package/lib/table/utils.d.ts +33 -4
  585. package/lib/table-column/index.d.ts +797 -0
  586. package/lib/table-column/index.js +1 -0
  587. package/lib/tag/index.d.ts +89 -68
  588. package/lib/tag/index.js +1 -1
  589. package/lib/tag/tag.css +46 -13
  590. package/lib/tag/tag.d.ts +17 -12
  591. package/lib/tag/tag.less +58 -21
  592. package/lib/tag/tag.variable.css +75 -19
  593. package/lib/tag-input/common.d.ts +13 -1
  594. package/lib/tag-input/index.d.ts +570 -269
  595. package/lib/tag-input/index.js +1 -1
  596. package/lib/tag-input/list-tag-render.d.ts +2 -5
  597. package/lib/tag-input/tag-input.css +23 -27
  598. package/lib/tag-input/tag-input.d.ts +304 -45
  599. package/lib/tag-input/tag-input.less +103 -106
  600. package/lib/tag-input/tag-input.variable.css +52 -33
  601. package/lib/tag-input/tag-props.d.ts +142 -8
  602. package/lib/tag-input/tag-render.d.ts +31 -5
  603. package/lib/time-picker/index.d.ts +833 -0
  604. package/lib/time-picker/index.js +1 -0
  605. package/lib/time-picker/time-picker.css +215 -0
  606. package/lib/time-picker/time-picker.less +260 -0
  607. package/lib/time-picker/time-picker.variable.css +337 -0
  608. package/lib/timeline/index.d.ts +64 -32
  609. package/lib/timeline/index.js +1 -1
  610. package/lib/timeline/timeline.css +11 -4
  611. package/lib/timeline/timeline.d.ts +4 -3
  612. package/lib/timeline/timeline.less +48 -36
  613. package/lib/timeline/timeline.variable.css +40 -10
  614. package/lib/transfer/index.d.ts +152 -81
  615. package/lib/transfer/index.js +1 -1
  616. package/lib/transfer/props.d.ts +5 -0
  617. package/lib/transfer/transfer.css +121 -41
  618. package/lib/transfer/transfer.d.ts +35 -3
  619. package/lib/transfer/transfer.less +103 -46
  620. package/lib/transfer/transfer.variable.css +155 -52
  621. package/lib/tree/constant.d.ts +22 -2
  622. package/lib/tree/index.d.ts +236 -141
  623. package/lib/tree/index.js +1 -1
  624. package/lib/tree/props.d.ts +68 -12
  625. package/lib/tree/tree.css +176 -7
  626. package/lib/tree/tree.d.ts +91 -20
  627. package/lib/tree/tree.less +49 -1
  628. package/lib/tree/tree.variable.css +205 -13
  629. package/lib/tree/use-empty.d.ts +1 -1
  630. package/lib/tree/use-node-action.d.ts +3 -2
  631. package/lib/tree/use-node-attribute.d.ts +11 -0
  632. package/lib/tree/use-node-drag.d.ts +1 -1
  633. package/lib/tree/use-search.d.ts +1 -1
  634. package/lib/tree/util.d.ts +2 -0
  635. package/lib/upload/index.d.ts +508 -1
  636. package/lib/upload/index.js +2 -1
  637. package/lib/upload/index.js.LICENSE.txt +1 -0
  638. package/lib/upload/props.d.ts +0 -2
  639. package/lib/upload/upload-list.d.ts +3 -2
  640. package/lib/upload/upload-trigger.d.ts +1 -4
  641. package/lib/upload/upload.css +58 -5
  642. package/lib/upload/upload.d.ts +10 -16
  643. package/lib/upload/upload.less +19 -8
  644. package/lib/upload/upload.type.d.ts +12 -12
  645. package/lib/upload/upload.variable.css +113 -37
  646. package/lib/upload/use-file-handler.d.ts +2 -25
  647. package/lib/virtual-render/index.d.ts +100 -150
  648. package/lib/virtual-render/index.js +1 -1
  649. package/lib/virtual-render/props.d.ts +15 -1
  650. package/lib/virtual-render/virtual-render.css +17 -17
  651. package/lib/virtual-render/virtual-render.d.ts +39 -4
  652. package/lib/virtual-render/virtual-render.less +2 -23
  653. package/lib/virtual-render/virtual-render.variable.css +139 -17
  654. package/lib/volar.components.d.ts +102 -0
  655. package/package.json +47 -40
  656. package/LICENSE.txt +0 -22
@@ -19,10 +19,11 @@
19
19
  --line-height-large: 18px;
20
20
  --component-size-small: 26px;
21
21
  --component-size-base: 32px;
22
- --component-size-large: 38px;
22
+ --component-size-large: 40px;
23
23
  --border-width-base: 1px;
24
24
  --border-style-base: solid;
25
25
  --border-radius-base: 2px;
26
+ --border-style-color: var(--light-gray);
26
27
  --input-disabled-bg: #fafbfd;
27
28
  --input-disabled-border: var(--disable-color);
28
29
  --input-height-base: var(--component-size-base);
@@ -32,8 +33,9 @@
32
33
  --input-broder-radius: 3px;
33
34
  --input-shadow-color: #a3c5fd;
34
35
  --input-horizontal-padding: 10px;
35
- --input-block-color: #f4f6fa;
36
- --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);
37
39
  --input-maxlength-color: #979ba5;
38
40
  --button-primary-hover-color: #5594fa;
39
41
  --button-danger-hover-color: #ff5656;
@@ -44,6 +46,17 @@
44
46
  --button-danger-active-color: #db2626;
45
47
  --button-success-active-color: #1ab943;
46
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;
47
60
  --fixed-navbar-background: #fff;
48
61
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
49
62
  --switch-default-color: #fff;
@@ -64,12 +77,16 @@
64
77
  --message-color: var(--default-color);
65
78
  --message-primary-bg-color: #f0f8ff;
66
79
  --message-primary-border-color: #e1ecff;
80
+ --message-primary-shadow-color: #e1e8f4;
67
81
  --message-warning-bg-color: #fff4e2;
68
82
  --message-warning-border-color: #ffe8c3;
83
+ --message-warning-shadow-color: #ede6db;
69
84
  --message-success-bg-color: #f2fff4;
70
85
  --message-success-border-color: #dcffe2;
86
+ --message-success-shadow-color: #cef0d7;
71
87
  --message-danger-bg-color: #ffeded;
72
88
  --message-danger-border-color: #ffdddd;
89
+ --message-danger-shadow-color: #f6dada;
73
90
  --slider-default-bg: #dcdee5;
74
91
  --slider-disable-bar-bg: #979ba5;
75
92
  --menu-bg-color: #182132;
@@ -89,13 +106,19 @@
89
106
  --table-border-color: #dcdee5;
90
107
  --table-head-bg-color: #fafbfd;
91
108
  --table-head-font-color: #313238;
92
- --table-body-font-color: #575961;
109
+ --table-body-font-color: #63656E;
93
110
  --table-row-hover-bg-color: #f5f7fa;
94
111
  --table-row-active-bg-color: #f0f1f5;
95
112
  --cascader-panel-border-color: #dcdee5;
96
- --cascader-panel-hover: #eaf3ff;
97
- --cascader-panel-active: #f4f6fa;
113
+ --cascader-panel-hover: #f5f7fa;
114
+ --cascader-panel-active: #e1ecff;
98
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);
99
122
  }
100
123
  .bk-menu {
101
124
  display: block;
@@ -3,7 +3,7 @@ export interface IMenuInfo {
3
3
  key: string;
4
4
  parentKey: string;
5
5
  }
6
- export declare type MenuMode = 'vertical';
6
+ export type MenuMode = 'vertical';
7
7
  export interface IMenuProvider {
8
8
  readonly activeKey: Ref<string>;
9
9
  readonly openedKeys: Ref<string[]>;
@@ -1 +1,2 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"),require("../icon"),require("../shared"));else if("function"==typeof define&&define.amd)define(["vue","../icon","../shared"],t);else{var o="object"==typeof exports?t(require("vue"),require("../icon"),require("../shared")):t(e.vue,e["../icon"],e["../shared"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o)=>(()=>{"use strict";var r={6870:e=>{e.exports=t},4212:e=>{e.exports=o},748:t=>{t.exports=e}},s={};function n(e){var t=s[e];if(void 0!==t)return t.exports;var o=s[e]={exports:{}};return r[e](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{n.r(i),n.d(i,{default:()=>l});var e=n(748),t={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},o=1;var r=n(6870),s=n(4212),a={id:s.PropTypes.string.def(""),message:s.PropTypes.string.def(""),theme:s.PropTypes.theme(["primary","warning","success","error"]).def("primary"),delay:s.PropTypes.number.def(3e3),dismissable:s.PropTypes.bool.def(!0),offsetY:s.PropTypes.number.def(30),spacing:s.PropTypes.number.def(10),extCls:s.PropTypes.string.def(""),onClose:s.PropTypes.func};const c=(0,e.defineComponent)({name:"Message",props:a,emits:["destory"],setup:function(t,o){var r=o.emit,n=(0,e.computed)((function(){return["bk-message","bk-message-".concat(t.theme),"".concat(t.extCls)]})),i=s.bkZIndexManager.getMessageNextIndex(),a=(0,e.computed)((function(){return{top:"".concat(t.offsetY,"px"),zIndex:i}})),c=(0,e.ref)(!1),l=null;return(0,e.onMounted)((function(){t.delay&&(l=setTimeout((function(){c.value=!1}),t.delay)),c.value=!0})),(0,e.onUnmounted)((function(){clearTimeout(l)})),(0,e.watch)(c,(function(){c.value||r("destory",t.id)})),{classNames:n,styles:a,visible:c,close:function(){c.value=!1}}},render:function(){var t=this;return(0,e.createVNode)(e.Transition,{name:"bk-message-fade"},{default:function(){return[(0,e.withDirectives)((0,e.createVNode)("div",{class:t.classNames,style:t.styles},[(0,e.createVNode)("div",{class:"bk-message-content"},[(0,e.createVNode)("div",{class:"bk-message-icon"},[{primary:(0,e.createVNode)(r.Info,null,null),warning:(0,e.createVNode)(r.Warn,null,null),success:(0,e.createVNode)(r.Success,null,null),error:(0,e.createVNode)(r.Close,null,null)}[t.theme]]),t.message]),t.dismissable&&(0,e.createVNode)(r.Error,{class:"bk-message-icon bk-message-close",onClick:t.close},null)]),[[e.vShow,t.visible]])]}})}}),l=function(r){!function(r,s){var n=s,i=n.position||"top-right";"string"==typeof s&&(n={message:s});var a=s.onClose,c=n.offsetX||10,l=n.offsetY||30,u=n.spacing,f=void 0===u?10:u;t[i].forEach((function(e){l+=(e.el.offsetHeight||0)+f}));var d="message_".concat(o+=1);n=Object.assign(Object.assign({},n),{offsetX:c,offsetY:l,id:d});var p=document.createElement("div"),m=(0,e.createVNode)(r,n);m.props.onDestory=function(o){!function(e,o,r,s){null==s||s();var n=o.startsWith("top")?"top":"bottom",i=-1;t[o].forEach((function(t,o){t.props.id===e&&(i=o)}));for(var a=t[o][i].el.offsetHeight,c=t[o].length,l=i;l<c;l++){var u=parseInt(t[o][l].el.style[n],10)-a-r;t[o][l].component.props.offsetY=u}t[o].splice(i,1)}(o,i,f,a),(0,e.render)(null,p)},(0,e.render)(m,p),t[i].push(m),document.body.appendChild(p.firstElementChild)}(c,r)}})(),i})()));
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("vue"),require("../shared"),require("vue-types"),require("../config-provider"),require("../icon"));else if("function"==typeof define&&define.amd)define(["vue","../shared","vue-types","../config-provider","../icon"],t);else{var n="object"==typeof exports?t(require("vue"),require("../shared"),require("vue-types"),require("../config-provider"),require("../icon")):t(e.vue,e["../shared"],e["vue-types"],e["../config-provider"],e["../icon"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((e,t,n,r,o)=>(()=>{var i={7647:function(e){var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return b}});var r=n(279),o=n.n(r),i=n(370),s=n.n(i),a=n(817),c=n.n(a);function l(e){try{return document.execCommand(e)}catch(e){return!1}}var u=function(e){var t=c()(e);return l("cut"),t},f=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var r=c()(n);return l("copy"),n.remove(),r},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=f(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=f(e.value,t):(n=c()(e),l("copy")),n};function d(e){return d="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},d(e)}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)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function g(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var j=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(c,e);var t,n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v(o);if(i){var n=v(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,e)});function c(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(n=a.call(this)).resolveOptions(t),n.listenClick(e),n}return t=c,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===m(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=s()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,o=e.target,i=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==d(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?p(i,{container:r}):o?"cut"===n?u(o):p(o,{container:r}):void 0}({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return g("action",e)}},{key:"defaultTarget",value:function(e){var t=g("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return g("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return p(e,t)}},{key:"cut",value:function(e){return u(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&y(t.prototype,n),r&&y(t,r),c}(o()),b=j},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function o(e,t,n,r,o){var s=i.apply(this,arguments);return e.addEventListener(n,s,o),{destroy:function(){e.removeEventListener(n,s,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),o=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,s=r.length;i<s;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default},e.exports=t()},4346:function(e){e.exports=function(){"use strict";function e(e){return null===e?"null":typeof e}function t(e){return!!e&&"object"==typeof e}function n(e){if(void 0===e)return"";if(null===e)return"Object";if("object"==typeof e&&!e.constructor)return"Object";var t=/function ([^(]*)/.exec(e.constructor.toString());return t&&t.length>1?t[1]:""}function r(e,t,n){return"null"===e||"undefined"===e?e:("string"!==e&&"stringifiable"!==e||(n='"'+n.replace(/"/g,'\\"')+'"'),"function"===e?t.toString().replace(/[\r\n]/g,"").replace(/\{.*\}/,"")+"{…}":n)}function o(o){var i="";return t(o)?(i=n(o),Array.isArray(o)&&(i+="["+o.length+"]")):i=r(e(o),o,o),i}function i(e){return"json-formatter-"+e}function s(e,t,n){var r=document.createElement(e);return t&&r.classList.add(i(t)),void 0!==n&&(n instanceof Node?r.appendChild(n):r.appendChild(document.createTextNode(String(n)))),r}!function(e){if(e&&"undefined"!=typeof window){var t=document.createElement("style");t.setAttribute("media","screen"),t.innerHTML=e,document.head.appendChild(t)}}('.json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-row,\n.json-formatter-row a,\n.json-formatter-row a:hover {\n color: black;\n text-decoration: none;\n}\n.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: "No properties";\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: "[]";\n}\n.json-formatter-row .json-formatter-string,\n.json-formatter-row .json-formatter-stringifiable {\n color: green;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-row .json-formatter-number {\n color: blue;\n}\n.json-formatter-row .json-formatter-boolean {\n color: red;\n}\n.json-formatter-row .json-formatter-null {\n color: #855A00;\n}\n.json-formatter-row .json-formatter-undefined {\n color: #ca0b69;\n}\n.json-formatter-row .json-formatter-function {\n color: #FF20ED;\n}\n.json-formatter-row .json-formatter-date {\n background-color: rgba(0, 0, 0, 0.05);\n}\n.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: blue;\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-bracket {\n color: blue;\n}\n.json-formatter-row .json-formatter-key {\n color: #00008B;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-toggler-link {\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: "►";\n}\n.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n.json-formatter-dark.json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-dark.json-formatter-row,\n.json-formatter-dark.json-formatter-row a,\n.json-formatter-dark.json-formatter-row a:hover {\n color: white;\n text-decoration: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: "No properties";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: "[]";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-string,\n.json-formatter-dark.json-formatter-row .json-formatter-stringifiable {\n color: #31F031;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-number {\n color: #66C2FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-boolean {\n color: #EC4242;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-null {\n color: #EEC97D;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-undefined {\n color: #ef8fbe;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-function {\n color: #FD48CB;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-date {\n background-color: rgba(255, 255, 255, 0.05);\n}\n.json-formatter-dark.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: #027BFF;\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-bracket {\n color: #9494FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-key {\n color: #23A0DB;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler-link {\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: "►";\n}\n.json-formatter-dark.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-dark.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n');var a=/(^\d{1,4}[\.|\\/|-]\d{1,2}[\.|\\/|-]\d{1,4})(\s*(?:0?[1-9]:[0-5]|1(?=[012])\d:[0-5])\d\s*[ap]m)?$/,c=/\d{2}:\d{2}:\d{2} GMT-\d{4}/,l=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/,u=window.requestAnimationFrame||function(e){return e(),0},f={hoverPreviewEnabled:!1,hoverPreviewArrayCount:100,hoverPreviewFieldCount:5,animateOpen:!0,animateClose:!0,theme:null,useToJSON:!0,sortPropertiesBy:null};return function(){function p(e,t,n,r){void 0===t&&(t=1),void 0===n&&(n=f),this.json=e,this.open=t,this.config=n,this.key=r,this._isOpen=null,void 0===this.config.hoverPreviewEnabled&&(this.config.hoverPreviewEnabled=f.hoverPreviewEnabled),void 0===this.config.hoverPreviewArrayCount&&(this.config.hoverPreviewArrayCount=f.hoverPreviewArrayCount),void 0===this.config.hoverPreviewFieldCount&&(this.config.hoverPreviewFieldCount=f.hoverPreviewFieldCount),void 0===this.config.useToJSON&&(this.config.useToJSON=f.useToJSON),""===this.key&&(this.key='""')}return Object.defineProperty(p.prototype,"isOpen",{get:function(){return null!==this._isOpen?this._isOpen:this.open>0},set:function(e){this._isOpen=e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isDate",{get:function(){return this.json instanceof Date||"string"===this.type&&(a.test(this.json)||l.test(this.json)||c.test(this.json))},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isUrl",{get:function(){return"string"===this.type&&0===this.json.indexOf("http")},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isArray",{get:function(){return Array.isArray(this.json)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isObject",{get:function(){return t(this.json)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isEmptyObject",{get:function(){return!this.keys.length&&!this.isArray},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isEmpty",{get:function(){return this.isEmptyObject||this.keys&&!this.keys.length&&this.isArray},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"useToJSON",{get:function(){return this.config.useToJSON&&"stringifiable"===this.type},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"hasKey",{get:function(){return void 0!==this.key},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"constructorName",{get:function(){return n(this.json)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"type",{get:function(){return this.config.useToJSON&&this.json&&this.json.toJSON?"stringifiable":e(this.json)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"keys",{get:function(){if(this.isObject){var e=Object.keys(this.json);return!this.isArray&&this.config.sortPropertiesBy?e.sort(this.config.sortPropertiesBy):e}return[]},enumerable:!0,configurable:!0}),p.prototype.toggleOpen=function(){this.isOpen=!this.isOpen,this.element&&(this.isOpen?this.appendChildren(this.config.animateOpen):this.removeChildren(this.config.animateClose),this.element.classList.toggle(i("open")))},p.prototype.openAtDepth=function(e){void 0===e&&(e=1),e<0||(this.open=e,this.isOpen=0!==e,this.element&&(this.removeChildren(!1),0===e?this.element.classList.remove(i("open")):(this.appendChildren(this.config.animateOpen),this.element.classList.add(i("open")))))},p.prototype.getInlinepreview=function(){var e=this;if(this.isArray)return this.json.length>this.config.hoverPreviewArrayCount?"Array["+this.json.length+"]":"["+this.json.map(o).join(", ")+"]";var t=this.keys,n=t.slice(0,this.config.hoverPreviewFieldCount).map((function(t){return t+":"+o(e.json[t])})),r=t.length>=this.config.hoverPreviewFieldCount?"…":"";return"{"+n.join(", ")+r+"}"},p.prototype.render=function(){this.element=s("div","row");var e=this.isObject?s("a","toggler-link"):s("span");if(this.isObject&&!this.useToJSON&&e.appendChild(s("span","toggler")),this.hasKey&&e.appendChild(s("span","key",this.key+":")),this.isObject&&!this.useToJSON){var t=s("span","value"),n=s("span"),o=s("span","constructor-name",this.constructorName);if(n.appendChild(o),this.isArray){var a=s("span");a.appendChild(s("span","bracket","[")),a.appendChild(s("span","number",this.json.length)),a.appendChild(s("span","bracket","]")),n.appendChild(a)}t.appendChild(n),e.appendChild(t)}else{(t=this.isUrl?s("a"):s("span")).classList.add(i(this.type)),this.isDate&&t.classList.add(i("date")),this.isUrl&&(t.classList.add(i("url")),t.setAttribute("href",this.json));var c=r(this.type,this.json,this.useToJSON?this.json.toJSON():this.json);t.appendChild(document.createTextNode(c)),e.appendChild(t)}if(this.isObject&&this.config.hoverPreviewEnabled){var l=s("span","preview-text");l.appendChild(document.createTextNode(this.getInlinepreview())),e.appendChild(l)}var u=s("div","children");return this.isObject&&u.classList.add(i("object")),this.isArray&&u.classList.add(i("array")),this.isEmpty&&u.classList.add(i("empty")),this.config&&this.config.theme&&this.element.classList.add(i(this.config.theme)),this.isOpen&&this.element.classList.add(i("open")),this.element.appendChild(e),this.element.appendChild(u),this.isObject&&this.isOpen&&this.appendChildren(),this.isObject&&!this.useToJSON&&e.addEventListener("click",this.toggleOpen.bind(this)),this.element},p.prototype.appendChildren=function(e){var t=this;void 0===e&&(e=!1);var n=this.element.querySelector("div."+i("children"));if(n&&!this.isEmpty)if(e){var r=0,o=function(){var e=t.keys[r],i=new p(t.json[e],t.open-1,t.config,e);n.appendChild(i.render()),(r+=1)<t.keys.length&&(r>10?o():u(o))};u(o)}else this.keys.forEach((function(e){var r=new p(t.json[e],t.open-1,t.config,e);n.appendChild(r.render())}))},p.prototype.removeChildren=function(e){void 0===e&&(e=!1);var t=this.element.querySelector("div."+i("children"));if(e){var n=0,r=function(){t&&t.children.length&&(t.removeChild(t.children[0]),(n+=1)>10?r():u(r))};u(r)}else t&&(t.innerHTML="")},p}()}()},2717:e=>{"use strict";e.exports=r},6870:e=>{"use strict";e.exports=o},4212:e=>{"use strict";e.exports=t},748:t=>{"use strict";t.exports=e},210:e=>{"use strict";e.exports=n}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return i[e].call(n.exports,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 c={};return(()=>{"use strict";a.r(c),a.d(c,{default:()=>k});var e=a(748),t=a(4212),n={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},r=1;function o(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 i(e){return function(e){if(Array.isArray(e))return o(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 o(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)?o(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 s(e){return s="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},s(e)}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===s(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u,f,p,d=a(7647),m=a.n(d),y=a(4346),h=a.n(y),v=a(210),g=a(2717),j=a(6870);!function(e){e.PRIMARY="primary",e.WARNING="warning",e.SUCCESS="success",e.ERROR="error"}(u||(u={})),function(e){e.KEY_VALUE="key-value",e.JSON="json"}(f||(f={})),function(e){e.ASSISTANT="assistant",e.DETAILS="details",e.FIX="fix",e.CLOSE="close"}(p||(p={}));var b={code:t.PropTypes.oneOfType([t.PropTypes.string,t.PropTypes.number]),overview:t.PropTypes.string,suggestion:t.PropTypes.string,details:t.PropTypes.string,assistant:t.PropTypes.string,type:(0,v.toType)("MessageContentType",{})},w={id:t.PropTypes.string.def(""),message:t.PropTypes.oneOfType([t.PropTypes.shape(b).loose,t.PropTypes.string]),theme:(0,v.toType)("messageTheme",{}).def(u.PRIMARY),delay:t.PropTypes.number,dismissable:t.PropTypes.bool.def(!0),offsetY:t.PropTypes.number.def(30),spacing:t.PropTypes.number.def(10),extCls:t.PropTypes.string.def(""),onClose:t.PropTypes.func,getContainer:t.PropTypes.instanceOf(HTMLElement),width:t.PropTypes.oneOfType([t.PropTypes.number,t.PropTypes.string]),actions:t.PropTypes.shape([])};const S=(0,e.defineComponent)({name:"Message",props:w,emits:["destroy"],setup:function(n,r){var o,a=this,c=r.emit,u=r.slots,d=(0,g.useLocale)("message"),y=(0,e.computed)((function(){return["bk-message","bk-message-".concat(n.theme),"".concat(n.extCls)]})),v=t.bkZIndexManager.getMessageNextIndex(),b=(0,e.computed)((function(){return/^\d+\.?\d*$/.test("".concat(n.delay))?n.delay:"object"!==s(n.message)||(0,e.isVNode)(n.message)?3e3:8e3})),w=(0,e.computed)((function(){return/^\d+/.test("".concat(n.width))?/^\d+\.?\d*$/.test("".concat(n.width))?"".concat(n.width,"px"):n.width:"object"!==s(n.message)||(0,e.isVNode)(n.message)?"".concat(560,"px"):"".concat(800,"px")})),S=(0,e.computed)((function(){return n.getContainer&&(0,t.isElement)(n.getContainer)})),k=(0,e.computed)((function(){return{top:"".concat(n.offsetY,"px"),zIndex:v,position:S.value?"absolute":"fixed",width:w.value}})),C=(0,e.ref)(null),T=(0,e.ref)(null),O=(0,e.ref)(null),x=(0,e.ref)(!1),E=(0,e.reactive)({isFix:!1,isDetailShow:!1}),N=null,A=function(){N=setTimeout((function(){E.isFix||(x.value=!1)}),b.value)},P=function(e){e.preventDefault(),e.stopPropagation(),x.value=!1},L=(0,e.ref)(!1),M=(0,e.ref)(null),V=function(e){var t=e;if("string"==typeof e)try{t=JSON.parse(e)}catch(e){console.error("Format Json Error: ".concat(e))}return t},F=function(t,r){if(E.isDetailShow=null!=r?r:!E.isDetailShow,I(t,E.isDetailShow),E.isDetailShow&&"object"===s(n.message)&&!(0,e.isVNode)(n.message)&&(n.message.type===f.JSON||!n.message.type)){var o=V(n.message.details),i=new(h())(o);setTimeout((function(){C.value&&(C.value.innerHTML="",C.value.append(i.render()))}))}},I=function(e,t){E.isFix=null!=t?t:!E.isFix};(0,e.onMounted)((function(){b.value&&A(),x.value=!0})),(0,e.onUnmounted)((function(){clearTimeout(N)})),(0,e.watch)(x,(function(){x.value||c("destroy",n.id)}));var D=(0,e.computed)((function(){var t;return l(t={},p.ASSISTANT,{id:p.ASSISTANT,icon:function(){return(0,e.createVNode)(j.WeixinPro,null,null)},text:function(){return d.value.assistant},onClick:function(e){n.message.assistant&&window.open(n.message.assistant,"_blank")}}),l(t,p.DETAILS,{id:p.DETAILS,icon:function(){return E.isDetailShow?(0,e.createVNode)(j.AngleDoubleUpLine,null,null):(0,e.createVNode)(j.AngleDoubleDownLine,null,null)},text:function(){return d.value.details},onClick:function(e){return F(e)}}),l(t,p.FIX,{id:p.FIX,icon:function(){return E.isFix?(0,e.createVNode)(j.FixShape,null,null):(0,e.createVNode)(j.FixLine,null,null)},classList:E.isFix?"fixed":"",onClick:function(e){return I(e)}}),l(t,p.CLOSE,{id:p.CLOSE,classList:"normal-color",icon:function(){return n.dismissable&&(0,e.createVNode)(j.Error,{class:"bk-message-close",onClick:P},null)},onClick:P}),t})),R=[p.ASSISTANT,p.DETAILS,p.FIX,p.CLOSE],_=(0,e.computed)((function(){var e;if((null===(e=n.actions)||void 0===e?void 0:e.length)>0){var t=n.actions.map((function(e){var t=e.id.toLocaleLowerCase(),n=D.value[t],r=null==n?void 0:n.onClick,o=Object.assign({},D.value[t]||{},e);if(o.id=t,void 0!==e.classList){var c=Array.isArray(e.classList)?e.classList:[e.classList],l=[];void 0!==n.classList&&(l=Array.isArray(n.classList)?n.classList:[n.classList]),o.classList=[].concat(i(l),i(c))}return"function"==typeof e.onClick?(o.onClick=function(){var t=Reflect.apply(e.onClick,a,[]);void 0!==s(t)&&!t||"function"!=typeof r||Reflect.apply(r,a,[])},o):(o.onClick=r,o)})),r=R.filter((function(e){return!t.some((function(t){return t.id===e}))})).map((function(e){return D.value[e]}));return t.push.apply(t,i(r)),t}return R.map((function(e){return D.value[e]}))}));return{classNames:y,styles:k,visible:x,close:P,setDetailsShow:F,fixMesage:I,copyMessage:function(e){if(!L.value){var t=new(m())(O.value,{text:function(){return n.message.details}});["success","error"].forEach((function(e){t.on(e,(function(){var t,n,r=T.value;M.value=e,r&&((t=r.classList).remove.apply(t,["success","error","is-hidden"]),(n=r.classList).add.apply(n,[e,"is-show"]),o&&clearTimeout(o),o=setTimeout((function(){var e,t;(e=r.classList).remove.apply(e,["is-show"]),(t=r.classList).add.apply(t,["is-hidden"])}),2e3))})),L.value=!0,setTimeout((function(){O.value.click()}))}))}},parseJson:V,handleMouseenter:function(e){clearTimeout(N)},handleMouseleave:function(e){b.value&&A()},renderMessageActions:function(){var t,n,r=function(t){var n=t.text,r=void 0;if("function"==typeof n&&(r=Reflect.apply(n,a,[])),void 0!==r)return"string"==typeof r?(0,e.createVNode)("span",{class:"message-action-text"},[r]):r};return null!==(n=null===(t=u.action)||void 0===t?void 0:t.call(u))&&void 0!==n?n:_.value.map((function(t){if(t.disabled)return null;if("function"==typeof t.render)return Reflect.apply(t.render,a,[]);var n,o,i=Array.isArray(t.classList)?t.classList.join(" "):t.classList;return(0,e.createVNode)("span",{class:["tool",t.id,i],onClick:function(e){return function(e,t){t.readonly||t.disabled||"function"==typeof t.onClick&&Reflect.apply(t.onClick,a,[e,t])}(e,t)}},[(n=t,o=n.icon,"function"==typeof o?Reflect.apply(o,a,[]):(0,e.createVNode)("span",{class:o},null)),r(t)])}))},refJsonContent:C,refCopyStatus:T,refCopyMsgDiv:O,toolOperation:E,copyStatus:M,t:d}},render:function(){var t=this,n=function(n){return{primary:(0,e.createVNode)(j.Info,null,null),warning:(0,e.createVNode)(j.Warn,null,null),success:(0,e.createVNode)(j.Success,null,null),error:(0,e.createVNode)(j.Close,null,null)}[null!=n?n:t.theme]},r=function(n){if(n.type===f.KEY_VALUE){var r=t.parseJson(n.details||{});return Object.keys(r).map((function(t){return(0,e.createVNode)("div",{class:"message-row"},[(0,e.createVNode)("label",null,[t]),r[t]])}))}};return(0,e.createVNode)(e.Transition,{name:"bk-message-fade"},{default:function(){return[(0,e.withDirectives)((0,e.createVNode)("div",{class:t.classNames,style:t.styles,onMouseenter:t.handleMouseenter,onMouseleave:t.handleMouseleave},["object"!==s(t.message)||(0,e.isVNode)(t.message)?(0,e.createVNode)(e.Fragment,null,[(0,e.createVNode)("div",{class:"bk-message-content"},[(0,e.createVNode)("div",{class:"bk-message-icon"},[n()]),t.message]),t.dismissable&&(0,e.createVNode)(j.Error,{class:"bk-message-close",onClick:t.close},null)]):(0,e.createVNode)("div",{class:"bk-message-content multi"},[(0,e.createVNode)("div",{class:"overview"},[(0,e.createVNode)("div",{class:"left-content"},[(0,e.createVNode)("div",{class:"bk-message-icon"},[n()]),(0,e.createVNode)("div",{class:"describe"},[null!==(a=null===(i=(o=t.$slots).title)||void 0===i?void 0:i.call(o))&&void 0!==a?a:"【".concat(t.message.code,"】").concat(t.message.overview," ").concat(t.message.suggestion)])]),(0,e.createVNode)("div",{class:"tools"},[t.renderMessageActions()])]),t.toolOperation.isDetailShow&&(0,e.createVNode)("div",{class:"message-detail"},[(0,e.createVNode)("div",{class:"message-copy",ref:"refCopyMsgDiv",onClick:t.copyMessage},[(0,e.createVNode)(j.CopyShape,null,null),(0,e.createVNode)("div",{class:"copy-status",ref:"refCopyStatus"},[(0,e.createVNode)("div",{class:"inner"},[n(t.copyStatus),"success"===t.copyStatus?t.t.copySuccess:t.t.copyFailed])])]),(0,e.createVNode)("div",{ref:"refJsonContent",class:"message-tree"},[r(t.message)])])])]),[[e.vShow,t.visible]])];var o,i,a}})}}),k=function(o){!function(o,i){var s=i,a=s.position||"top-right";"string"==typeof i&&(s={message:i});var c=i.onClose,l=s.offsetX||10,u=s.offsetY||30,f=s.spacing,p=void 0===f?10:f;n[a].forEach((function(e){u+=(e.el.offsetHeight||0)+p}));var d="message_".concat(r+=1);s=Object.assign(Object.assign({},s),{offsetX:l,offsetY:u,id:d});var m=document.createElement("div"),y=(0,e.createVNode)(o,s);y.props.onDestroy=function(t){!function(e,t,r,o){null==o||o();var i=t.startsWith("top")?"top":"bottom",s=-1;n[t].forEach((function(t,n){t.props.id===e&&(s=n)}));for(var a=n[t][s].el.offsetHeight,c=n[t].length,l=s;l<c;l++){var u=parseInt(n[t][l].el.style[i],10)-a-r;n[t][l].component.props.offsetY=u}n[t].splice(s,1)}(t,a,p,c),(0,e.render)(null,m)},(0,e.render)(y,m),n[a].push(y),(y.props.getContainer&&(0,t.isElement)(y.props.getContainer)?y.props.getContainer:document.body).appendChild(m.firstElementChild)}(S,o)}})(),c})()));
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * clipboard.js v2.0.11
3
+ * https://clipboardjs.com/
4
+ *
5
+ * Licensed MIT © Zeno Rocha
6
+ */
@@ -11,17 +11,22 @@
11
11
  border: 1px solid #e1ecff;
12
12
  border-radius: 2px;
13
13
  transform: translateX(-50%);
14
- box-shadow: 0px 2px 4px 0px rgba(16, 37, 74, 0.1);
14
+ box-shadow: 0px 2px 4px 0px #e1e8f4;
15
15
  justify-content: space-between;
16
16
  }
17
17
  .bk-message .bk-message-close {
18
18
  padding-left: 20px;
19
19
  margin-right: 0;
20
- font-size: 18px;
20
+ font-size: 14px;
21
+ color: #c4c6cc;
21
22
  cursor: pointer;
22
23
  }
24
+ .bk-message .bk-message-close:hover {
25
+ color: #979ba5;
26
+ }
23
27
  .bk-message-icon {
24
28
  display: inline-block;
29
+ height: 18px;
25
30
  margin-right: 10px;
26
31
  font-size: 18px;
27
32
  color: #3a84ff;
@@ -33,6 +38,7 @@
33
38
  .bk-message-warning {
34
39
  background: #fff4e2;
35
40
  border: 1px solid #ffe8c3;
41
+ box-shadow: 0px 2px 4px 0px #ede6db;
36
42
  }
37
43
  .bk-message-warning .bk-message-icon {
38
44
  color: #ff9c01;
@@ -40,6 +46,7 @@
40
46
  .bk-message-success {
41
47
  background: #f2fff4;
42
48
  border: 1px solid #dcffe2;
49
+ box-shadow: 0px 2px 4px 0px #cef0d7;
43
50
  }
44
51
  .bk-message-success .bk-message-icon {
45
52
  color: #2dcb56;
@@ -47,6 +54,7 @@
47
54
  .bk-message-error {
48
55
  background: #ffeded;
49
56
  border: 1px solid #ffdddd;
57
+ box-shadow: 0px 2px 4px 0px #f6dada;
50
58
  }
51
59
  .bk-message-error .bk-message-icon {
52
60
  color: #ea3636;
@@ -60,3 +68,159 @@
60
68
  margin-top: -50px;
61
69
  opacity: 0;
62
70
  }
71
+ .bk-message-content {
72
+ display: flex;
73
+ width: 100%;
74
+ word-break: break-all;
75
+ }
76
+ .bk-message-content.multi {
77
+ flex-direction: column;
78
+ position: relative;
79
+ }
80
+ .bk-message-content.multi .overview {
81
+ display: flex;
82
+ justify-content: space-between;
83
+ align-items: self-start;
84
+ }
85
+ .bk-message-content.multi .overview .left-content {
86
+ display: flex;
87
+ }
88
+ .bk-message-content.multi .overview .left-content .describe {
89
+ display: box;
90
+ max-width: 560px;
91
+ max-height: 60px;
92
+ overflow: hidden;
93
+ text-overflow: ellipsis;
94
+ -webkit-box-orient: vertical;
95
+ -webkit-line-clamp: 3;
96
+ }
97
+ .bk-message-content.multi .overview .tools {
98
+ display: flex;
99
+ align-items: center;
100
+ }
101
+ .bk-message-content.multi .overview .tools .tool {
102
+ display: flex;
103
+ padding: 0 5px;
104
+ font-size: 14px;
105
+ cursor: pointer;
106
+ align-items: center;
107
+ }
108
+ .bk-message-content.multi .overview .tools .tool .bk-message-close {
109
+ padding-left: 0;
110
+ }
111
+ .bk-message-content.multi .overview .tools .tool .message-action-text {
112
+ padding-left: 4px;
113
+ overflow: hidden;
114
+ text-overflow: ellipsis;
115
+ white-space: nowrap;
116
+ }
117
+ .bk-message-content.multi .overview .tools .tool:not(.fix) span {
118
+ color: #3a84ff;
119
+ }
120
+ .bk-message-content.multi .overview .tools .tool.fix.fixed span {
121
+ color: #3a84ff;
122
+ }
123
+ .bk-message-content.multi .overview .tools .tool.fix span {
124
+ color: #979ba5;
125
+ }
126
+ .bk-message-content.multi .overview .tools .tool.fix:hover span {
127
+ color: #3a84ff;
128
+ }
129
+ .bk-message-content.multi .overview .tools .tool.close span {
130
+ color: #c4c6cc;
131
+ }
132
+ .bk-message-content.multi .overview .tools .tool.close span:hover {
133
+ color: #979ba5;
134
+ }
135
+ .bk-message-content.multi .message-detail {
136
+ position: relative;
137
+ margin-top: 10px;
138
+ }
139
+ .bk-message-content.multi .message-detail .message-tree {
140
+ max-height: 480px;
141
+ padding: 14px 24px;
142
+ overflow: auto;
143
+ background: #fff;
144
+ border-radius: 2px;
145
+ }
146
+ .bk-message-content.multi .message-detail .message-tree .message-row {
147
+ display: inline-flex;
148
+ font-size: 14px;
149
+ line-height: 34px;
150
+ color: #313238;
151
+ }
152
+ .bk-message-content.multi .message-detail .message-tree .message-row label {
153
+ display: inline-block;
154
+ width: 94px;
155
+ min-width: 94px;
156
+ margin-right: 8px;
157
+ overflow: hidden;
158
+ color: #63656e;
159
+ text-align: right;
160
+ text-overflow: ellipsis;
161
+ white-space: nowrap;
162
+ }
163
+ .bk-message-content.multi .message-detail .message-tree .message-row label::after {
164
+ content: ':';
165
+ }
166
+ .bk-message-content.multi .message-detail .message-copy {
167
+ position: absolute;
168
+ top: 20px;
169
+ right: 40px;
170
+ font-size: 16px;
171
+ cursor: pointer;
172
+ }
173
+ .bk-message-content.multi .message-detail .message-copy:hover span {
174
+ color: #3a84ff;
175
+ }
176
+ .bk-message-content.multi .message-detail .message-copy .copy-status {
177
+ display: none;
178
+ padding-bottom: 4px;
179
+ }
180
+ .bk-message-content.multi .message-detail .message-copy .copy-status .inner {
181
+ position: relative;
182
+ display: flex;
183
+ padding: 6px 8px;
184
+ font-size: 12px;
185
+ line-height: 20px;
186
+ color: #63656e;
187
+ background: #fff;
188
+ border: 1px solid #dcdee5;
189
+ box-shadow: 0 2px 6px 0 #0000001a;
190
+ align-items: center;
191
+ }
192
+ .bk-message-content.multi .message-detail .message-copy .copy-status .inner span {
193
+ margin-right: 4px;
194
+ }
195
+ .bk-message-content.multi .message-detail .message-copy .copy-status .inner::after {
196
+ position: absolute;
197
+ bottom: 0;
198
+ left: 50%;
199
+ width: 8px;
200
+ height: 8px;
201
+ background: #fff;
202
+ border-color: #dcdee5;
203
+ border-style: solid;
204
+ border-width: 0px 1px 1px 0px;
205
+ content: '';
206
+ transform: translate(0, 4px) rotate(45deg);
207
+ box-shadow: 5px 3px 6px 0 #0000001a;
208
+ box-sizing: border-box;
209
+ }
210
+ .bk-message-content.multi .message-detail .message-copy .copy-status.success .inner span {
211
+ color: #2dcb9d;
212
+ }
213
+ .bk-message-content.multi .message-detail .message-copy .copy-status.error .inner span {
214
+ color: #ea3636;
215
+ }
216
+ .bk-message-content.multi .message-detail .message-copy .copy-status.is-show {
217
+ position: absolute;
218
+ top: 0;
219
+ left: 0;
220
+ display: inline-flex;
221
+ white-space: nowrap;
222
+ transform: translate(-50%, -100%);
223
+ }
224
+ .bk-message-content.multi .message-detail .message-copy .copy-status.is-hidden {
225
+ display: none;
226
+ }
@@ -13,19 +13,25 @@
13
13
  border: 1px solid @message-primary-border-color;
14
14
  border-radius: 2px;
15
15
  transform: translateX(-50%);
16
- box-shadow: 0px 2px 4px 0px rgba(16, 37, 74, .1);
16
+ box-shadow: 0px 2px 4px 0px @message-primary-shadow-color;
17
17
  justify-content: space-between;
18
18
 
19
19
  .bk-message-close {
20
20
  padding-left: 20px;
21
21
  margin-right: 0;
22
- font-size: 18px;
22
+ font-size: 14px;
23
+ color: @light-gray;
23
24
  cursor: pointer;
25
+
26
+ &:hover {
27
+ color: @gray-color;
28
+ }
24
29
  }
25
30
  }
26
31
 
27
32
  .@{bk-prefix}-message-icon {
28
33
  display: inline-block;
34
+ height: 18px;
29
35
  margin-right: 10px;
30
36
  font-size: 18px;
31
37
  color: @primary-color;
@@ -39,6 +45,7 @@
39
45
  .@{bk-prefix}-message-warning {
40
46
  background: @message-warning-bg-color;
41
47
  border: 1px solid @message-warning-border-color;
48
+ box-shadow: 0px 2px 4px 0px @message-warning-shadow-color;
42
49
  .@{bk-prefix}-message-icon {
43
50
  color: @warning-color;
44
51
  }
@@ -47,6 +54,7 @@
47
54
  .@{bk-prefix}-message-success {
48
55
  background: @message-success-bg-color;
49
56
  border: 1px solid @message-success-border-color;
57
+ box-shadow: 0px 2px 4px 0px @message-success-shadow-color;
50
58
  .@{bk-prefix}-message-icon {
51
59
  color: @success-color;
52
60
  }
@@ -55,18 +63,225 @@
55
63
  .@{bk-prefix}-message-error {
56
64
  background: @message-danger-bg-color;
57
65
  border: 1px solid @message-danger-border-color;
66
+ box-shadow: 0px 2px 4px 0px @message-danger-shadow-color;
58
67
  .@{bk-prefix}-message-icon {
59
68
  color: @danger-color;
60
69
  }
61
70
  }
62
71
 
63
- .bk-message-fade-enter-active,
64
- .bk-message-fade-leave-active {
72
+ .@{bk-prefix}-message-fade-enter-active,
73
+ .@{bk-prefix}-message-fade-leave-active {
65
74
  transition: margin .2s linear;
66
75
  }
67
76
 
68
- .bk-message-fade-enter-from,
69
- .bk-message-fade-leave-to {
77
+ .@{bk-prefix}-message-fade-enter-from,
78
+ .@{bk-prefix}-message-fade-leave-to {
70
79
  margin-top: -50px;
71
80
  opacity: 0;
72
- }
81
+ }
82
+
83
+ .@{bk-prefix}-message-content {
84
+ display: flex;
85
+ width: 100%;
86
+ word-break: break-all;
87
+
88
+ &.multi {
89
+ flex-direction: column;
90
+ position: relative;
91
+
92
+ .overview {
93
+ display: flex;
94
+ justify-content: space-between;
95
+ align-items: self-start;
96
+
97
+ .left-content {
98
+ display: flex;
99
+
100
+ .describe {
101
+ display: box;
102
+ max-width: 560px;
103
+ max-height: 60px;
104
+ overflow: hidden;
105
+ text-overflow: ellipsis;
106
+ -webkit-box-orient: vertical;
107
+ -webkit-line-clamp: 3;
108
+ }
109
+ }
110
+
111
+ .tools {
112
+ display: flex;
113
+ align-items: center;
114
+
115
+ .tool {
116
+ display: flex;
117
+ padding: 0 5px;
118
+ font-size: 14px;
119
+ cursor: pointer;
120
+ align-items: center;
121
+
122
+ .@{bk-prefix}-message-close {
123
+ padding-left: 0;
124
+ }
125
+
126
+ .message-action-text {
127
+ padding-left: 4px;
128
+ overflow: hidden;
129
+ text-overflow: ellipsis;
130
+ white-space: nowrap;
131
+ }
132
+
133
+ &:not(.fix) {
134
+ span {
135
+ color: #3a84ff;
136
+ }
137
+ }
138
+
139
+ &.fix {
140
+ &.fixed {
141
+ span {
142
+ color: #3a84ff;
143
+ }
144
+ }
145
+
146
+ span {
147
+ color: #979ba5;
148
+ }
149
+
150
+ &:hover {
151
+ span {
152
+ color: #3a84ff;
153
+ }
154
+ }
155
+ }
156
+
157
+ &.close {
158
+ span {
159
+ color: #c4c6cc;
160
+
161
+ &:hover {
162
+ color: #979ba5;
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
169
+
170
+ .message-detail {
171
+ position: relative;
172
+ margin-top: 10px;
173
+
174
+ .message-tree {
175
+ max-height: 480px;
176
+ padding: 14px 24px;
177
+ overflow: auto;
178
+ background: #fff;
179
+ border-radius: 2px;
180
+
181
+ .message-row {
182
+ display: inline-flex;
183
+ font-size: 14px;
184
+ line-height: 34px;
185
+ color: #313238;
186
+
187
+ label {
188
+ display: inline-block;
189
+ width: 94px;
190
+ min-width: 94px;
191
+ margin-right: 8px;
192
+ overflow: hidden;
193
+ color: #63656e;
194
+ text-align: right;
195
+ text-overflow: ellipsis;
196
+ white-space: nowrap;
197
+
198
+ &::after {
199
+ content: ':';
200
+ }
201
+ }
202
+ }
203
+ }
204
+
205
+ .message-copy {
206
+ position: absolute;
207
+ top: 20px;
208
+ right: 40px;
209
+ font-size: 16px;
210
+ cursor: pointer;
211
+
212
+ &:hover {
213
+ span {
214
+ color: #3a84ff;
215
+ }
216
+ }
217
+
218
+ .copy-status {
219
+ display: none;
220
+ padding-bottom: 4px;
221
+
222
+ .inner {
223
+ position: relative;
224
+ display: flex;
225
+ padding: 6px 8px;
226
+ font-size: 12px;
227
+ line-height: 20px;
228
+ color: #63656e;
229
+ background: #fff;
230
+ border: 1px solid #dcdee5;
231
+ box-shadow: 0 2px 6px 0 #0000001a;
232
+ align-items: center;
233
+
234
+ span {
235
+ margin-right: 4px;
236
+ }
237
+
238
+ &::after {
239
+ position: absolute;
240
+ bottom: 0;
241
+ left: 50%;
242
+ width: 8px;
243
+ height: 8px;
244
+ background: #fff;
245
+ border-color: #dcdee5;
246
+ border-style: solid;
247
+ border-width: 0px 1px 1px 0px;
248
+ content: '';
249
+ transform: translate(0, 4px) rotate(45deg);
250
+ box-shadow: 5px 3px 6px 0 #0000001a;
251
+ box-sizing: border-box;
252
+ }
253
+ }
254
+
255
+ &.success {
256
+ .inner {
257
+ span {
258
+ color: #2dcb9d;
259
+ }
260
+ }
261
+ }
262
+
263
+ &.error {
264
+ .inner {
265
+ span {
266
+ color: #ea3636;
267
+ }
268
+ }
269
+ }
270
+
271
+ &.is-show {
272
+ position: absolute;
273
+ top: 0;
274
+ left: 0;
275
+ display: inline-flex;
276
+ white-space: nowrap;
277
+ transform: translate(-50%, -100%);
278
+ }
279
+
280
+ &.is-hidden {
281
+ display: none;
282
+ }
283
+ }
284
+ }
285
+ }
286
+ }
287
+ }