vft 0.0.71 → 0.0.73

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 (408) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/es/component.js +56 -40
  4. package/es/components/aside/style/css.js +2 -0
  5. package/es/components/aside/style/index.js +2 -0
  6. package/es/components/back-top/back-top.vue2.js +8 -2
  7. package/es/components/col/col.vue.js +4 -0
  8. package/es/components/col/col.vue2.js +60 -0
  9. package/es/components/col/index.js +12 -0
  10. package/es/components/col/style/css.js +2 -0
  11. package/es/components/col/style/index.js +2 -0
  12. package/es/components/col/types.js +1 -0
  13. package/es/components/color-picker/utils/color.js +41 -51
  14. package/es/components/container/aside.vue.js +4 -0
  15. package/es/components/container/aside.vue2.js +37 -0
  16. package/es/components/container/container.vue.js +4 -0
  17. package/es/components/container/container.vue2.js +33 -0
  18. package/es/components/container/footer.vue.js +4 -0
  19. package/es/components/container/footer.vue2.js +39 -0
  20. package/es/components/container/header.vue.js +4 -0
  21. package/es/components/container/header.vue2.js +39 -0
  22. package/es/components/container/index.js +25 -0
  23. package/es/components/container/main.vue.js +4 -0
  24. package/es/components/container/main.vue2.js +26 -0
  25. package/es/components/container/style/css.js +6 -0
  26. package/es/components/container/style/index.js +6 -0
  27. package/es/components/context-menu/context-menu.vue2.js +20 -14
  28. package/es/components/date-picker/composables/use-month-range-header.js +29 -0
  29. package/es/components/date-picker/composables/use-range-picker.js +68 -0
  30. package/es/components/date-picker/composables/use-shortcut.js +24 -0
  31. package/es/components/date-picker/constants.js +4 -0
  32. package/es/components/date-picker/date-picker-com/basic-cell-render.js +37 -0
  33. package/es/components/date-picker/date-picker-com/basic-date-table.vue.js +4 -0
  34. package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +206 -0
  35. package/es/components/date-picker/date-picker-com/basic-month-table.vue.js +4 -0
  36. package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +131 -0
  37. package/es/components/date-picker/date-picker-com/basic-year-table.vue.js +4 -0
  38. package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +85 -0
  39. package/es/components/date-picker/date-picker-com/panel-date-pick.vue.js +4 -0
  40. package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +455 -0
  41. package/es/components/date-picker/date-picker-com/panel-date-range.vue.js +4 -0
  42. package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +383 -0
  43. package/es/components/date-picker/date-picker-com/panel-month-range.vue.js +4 -0
  44. package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +170 -0
  45. package/es/components/date-picker/date-picker.js +81 -0
  46. package/es/components/date-picker/date-picker.type.js +1 -0
  47. package/es/components/date-picker/index.js +14 -0
  48. package/es/components/date-picker/panel-utils.js +17 -0
  49. package/es/components/date-picker/props/basic-cell.js +14 -0
  50. package/es/components/date-picker/props/basic-date-table.js +18 -0
  51. package/es/components/date-picker/props/basic-month-table.js +14 -0
  52. package/es/components/date-picker/props/basic-year-table.js +15 -0
  53. package/es/components/date-picker/props/date-picker.js +18 -0
  54. package/es/components/date-picker/props/panel-date-pick.js +23 -0
  55. package/es/components/date-picker/props/panel-date-range.js +14 -0
  56. package/es/components/date-picker/props/panel-month-range.js +14 -0
  57. package/es/components/date-picker/props/shared.js +56 -0
  58. package/es/components/date-picker/style/css.js +2 -0
  59. package/es/components/date-picker/style/index.js +7 -0
  60. package/es/components/date-picker/utils.js +49 -0
  61. package/es/components/date-time-select/date-time-select.vue2.js +69 -63
  62. package/es/components/date-time-select/style/index.js +6 -0
  63. package/es/components/footer/style/css.js +2 -0
  64. package/es/components/footer/style/index.js +2 -0
  65. package/es/components/footer-layout/footer-layout.vue2.js +105 -35
  66. package/es/components/header/style/css.js +2 -0
  67. package/es/components/header/style/index.js +2 -0
  68. package/es/components/header-layout/header-layout.vue2.js +122 -37
  69. package/es/components/horizontal-menu/horizontal-menu.vue.js +4 -0
  70. package/es/components/horizontal-menu/horizontal-menu.vue2.js +115 -0
  71. package/es/components/horizontal-menu/index.js +12 -0
  72. package/es/components/horizontal-menu/style/css.js +6 -0
  73. package/es/components/horizontal-menu/style/index.js +6 -0
  74. package/es/components/index.js +254 -209
  75. package/es/components/input/input.vue2.js +184 -178
  76. package/es/components/link/link.vue2.js +24 -24
  77. package/es/components/logo/logo.vue2.js +21 -21
  78. package/es/components/main/style/css.js +2 -0
  79. package/es/components/main/style/index.js +2 -0
  80. package/es/components/md-container/md-container.vue2.js +65 -59
  81. package/es/components/md-container/toc.js +1 -1
  82. package/es/components/menu/menu-item.vue2.js +89 -62
  83. package/es/components/menu/menu.vue2.js +100 -106
  84. package/es/components/menu/sub-menu.vue2.js +83 -76
  85. package/es/components/menu/utils/menu-item.js +15 -19
  86. package/es/components/menu/utils/submenu.js +20 -25
  87. package/es/components/multiple-tabs/multiple-tabs.vue2.js +45 -39
  88. package/es/components/result/result.vue2.js +8 -2
  89. package/es/components/row/constants.js +4 -0
  90. package/es/components/row/index.js +14 -0
  91. package/es/components/row/row.vue.js +4 -0
  92. package/es/components/row/row.vue2.js +49 -0
  93. package/es/components/row/style/css.js +2 -0
  94. package/es/components/row/style/index.js +2 -0
  95. package/es/components/row/types.js +1 -0
  96. package/es/components/search/search.vue2.js +126 -114
  97. package/es/components/side-menu/side-menu.vue2.js +212 -146
  98. package/es/components/side-menu/use-drag-line.js +29 -28
  99. package/es/components/tabs/tab-nav.vue2.js +48 -42
  100. package/es/components/time-picker/common/picker.vue.js +4 -0
  101. package/es/components/time-picker/common/picker.vue2.js +438 -0
  102. package/es/components/time-picker/common/props.js +201 -0
  103. package/es/components/time-picker/composables/use-time-panel.js +60 -0
  104. package/es/components/time-picker/composables/use-time-picker.js +40 -0
  105. package/es/components/time-picker/constants.js +17 -0
  106. package/es/components/time-picker/index.js +31 -0
  107. package/es/components/time-picker/props/basic-time-spinner.js +31 -0
  108. package/es/components/time-picker/props/panel-time-picker.js +17 -0
  109. package/es/components/time-picker/props/panel-time-range.js +16 -0
  110. package/es/components/time-picker/props/shared.js +40 -0
  111. package/es/components/time-picker/style/css.js +2 -0
  112. package/es/components/time-picker/style/index.js +2 -0
  113. package/es/components/time-picker/time-picker-com/basic-time-spinner.vue.js +4 -0
  114. package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +227 -0
  115. package/es/components/time-picker/time-picker-com/panel-time-pick.vue.js +4 -0
  116. package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +107 -0
  117. package/es/components/time-picker/time-picker-com/panel-time-range.vue.js +4 -0
  118. package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +190 -0
  119. package/es/components/time-picker/time-picker.js +70 -0
  120. package/es/components/time-picker/types.js +1 -0
  121. package/es/components/time-picker/utils.js +35 -0
  122. package/es/components/time-select/style/css.js +2 -0
  123. package/es/components/time-select/style/index.js +2 -0
  124. package/es/components/time-select/time-select.js +54 -0
  125. package/es/components/time-select/time-select.vue.js +4 -0
  126. package/es/components/time-select/time-select.vue2.js +104 -0
  127. package/es/components/time-select/utils.js +40 -0
  128. package/es/components/tooltip/index.js +5 -3
  129. package/es/index.js +381 -336
  130. package/es/package.json.js +1 -1
  131. package/global.d.ts +73 -2
  132. package/lib/component.cjs +1 -1
  133. package/lib/components/aside/style/css.cjs +1 -0
  134. package/lib/components/aside/style/index.cjs +1 -0
  135. package/lib/components/back-top/back-top.vue2.cjs +1 -1
  136. package/lib/components/col/col.vue.cjs +1 -0
  137. package/lib/components/col/col.vue2.cjs +1 -0
  138. package/lib/components/col/index.cjs +1 -0
  139. package/lib/components/col/style/css.cjs +1 -0
  140. package/lib/components/col/style/index.cjs +1 -0
  141. package/lib/components/col/types.cjs +1 -0
  142. package/lib/components/color-picker/utils/color.cjs +1 -1
  143. package/lib/components/container/aside.vue.cjs +1 -0
  144. package/lib/components/container/aside.vue2.cjs +1 -0
  145. package/lib/components/container/container.vue.cjs +1 -0
  146. package/lib/components/container/container.vue2.cjs +1 -0
  147. package/lib/components/container/footer.vue.cjs +1 -0
  148. package/lib/components/container/footer.vue2.cjs +1 -0
  149. package/lib/components/container/header.vue.cjs +1 -0
  150. package/lib/components/container/header.vue2.cjs +1 -0
  151. package/lib/components/container/index.cjs +1 -0
  152. package/lib/components/container/main.vue.cjs +1 -0
  153. package/lib/components/container/main.vue2.cjs +1 -0
  154. package/lib/components/container/style/css.cjs +1 -0
  155. package/lib/components/container/style/index.cjs +1 -0
  156. package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
  157. package/lib/components/date-picker/composables/use-month-range-header.cjs +1 -0
  158. package/lib/components/date-picker/composables/use-range-picker.cjs +1 -0
  159. package/lib/components/date-picker/composables/use-shortcut.cjs +1 -0
  160. package/lib/components/date-picker/constants.cjs +1 -0
  161. package/lib/components/date-picker/date-picker-com/basic-cell-render.cjs +1 -0
  162. package/lib/components/date-picker/date-picker-com/basic-date-table.vue.cjs +1 -0
  163. package/lib/components/date-picker/date-picker-com/basic-date-table.vue2.cjs +1 -0
  164. package/lib/components/date-picker/date-picker-com/basic-month-table.vue.cjs +1 -0
  165. package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -0
  166. package/lib/components/date-picker/date-picker-com/basic-year-table.vue.cjs +1 -0
  167. package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -0
  168. package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.cjs +1 -0
  169. package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -0
  170. package/lib/components/date-picker/date-picker-com/panel-date-range.vue.cjs +1 -0
  171. package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -0
  172. package/lib/components/date-picker/date-picker-com/panel-month-range.vue.cjs +1 -0
  173. package/lib/components/date-picker/date-picker-com/panel-month-range.vue2.cjs +1 -0
  174. package/lib/components/date-picker/date-picker.cjs +1 -0
  175. package/lib/components/date-picker/date-picker.type.cjs +1 -0
  176. package/lib/components/date-picker/index.cjs +1 -0
  177. package/lib/components/date-picker/panel-utils.cjs +1 -0
  178. package/lib/components/date-picker/props/basic-cell.cjs +1 -0
  179. package/lib/components/date-picker/props/basic-date-table.cjs +1 -0
  180. package/lib/components/date-picker/props/basic-month-table.cjs +1 -0
  181. package/lib/components/date-picker/props/basic-year-table.cjs +1 -0
  182. package/lib/components/date-picker/props/date-picker.cjs +1 -0
  183. package/lib/components/date-picker/props/panel-date-pick.cjs +1 -0
  184. package/lib/components/date-picker/props/panel-date-range.cjs +1 -0
  185. package/lib/components/date-picker/props/panel-month-range.cjs +1 -0
  186. package/lib/components/date-picker/props/shared.cjs +1 -0
  187. package/lib/components/date-picker/style/css.cjs +1 -0
  188. package/lib/components/date-picker/style/index.cjs +1 -0
  189. package/lib/components/date-picker/utils.cjs +1 -0
  190. package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
  191. package/lib/components/date-time-select/style/index.cjs +1 -1
  192. package/lib/components/footer/style/css.cjs +1 -0
  193. package/lib/components/footer/style/index.cjs +1 -0
  194. package/lib/components/footer-layout/footer-layout.vue2.cjs +1 -1
  195. package/lib/components/header/style/css.cjs +1 -0
  196. package/lib/components/header/style/index.cjs +1 -0
  197. package/lib/components/header-layout/header-layout.vue2.cjs +1 -1
  198. package/lib/components/horizontal-menu/horizontal-menu.vue.cjs +1 -0
  199. package/lib/components/horizontal-menu/horizontal-menu.vue2.cjs +1 -0
  200. package/lib/components/horizontal-menu/index.cjs +1 -0
  201. package/lib/components/horizontal-menu/style/css.cjs +1 -0
  202. package/lib/components/horizontal-menu/style/index.cjs +1 -0
  203. package/lib/components/index.cjs +1 -1
  204. package/lib/components/input/input.vue2.cjs +1 -1
  205. package/lib/components/link/link.vue2.cjs +1 -1
  206. package/lib/components/logo/logo.vue2.cjs +1 -1
  207. package/lib/components/main/style/css.cjs +1 -0
  208. package/lib/components/main/style/index.cjs +1 -0
  209. package/lib/components/md-container/md-container.vue2.cjs +1 -1
  210. package/lib/components/md-container/toc.cjs +1 -1
  211. package/lib/components/menu/menu-item.vue2.cjs +1 -1
  212. package/lib/components/menu/menu.vue2.cjs +1 -1
  213. package/lib/components/menu/sub-menu.vue2.cjs +1 -1
  214. package/lib/components/menu/utils/menu-item.cjs +1 -1
  215. package/lib/components/menu/utils/submenu.cjs +1 -1
  216. package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
  217. package/lib/components/result/result.vue2.cjs +1 -1
  218. package/lib/components/row/constants.cjs +1 -0
  219. package/lib/components/row/index.cjs +1 -0
  220. package/lib/components/row/row.vue.cjs +1 -0
  221. package/lib/components/row/row.vue2.cjs +1 -0
  222. package/lib/components/row/style/css.cjs +1 -0
  223. package/lib/components/row/style/index.cjs +1 -0
  224. package/lib/components/row/types.cjs +1 -0
  225. package/lib/components/search/search.vue2.cjs +1 -1
  226. package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
  227. package/lib/components/side-menu/use-drag-line.cjs +1 -1
  228. package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
  229. package/lib/components/time-picker/common/picker.vue.cjs +1 -0
  230. package/lib/components/time-picker/common/picker.vue2.cjs +1 -0
  231. package/lib/components/time-picker/common/props.cjs +1 -0
  232. package/lib/components/time-picker/composables/use-time-panel.cjs +1 -0
  233. package/lib/components/time-picker/composables/use-time-picker.cjs +1 -0
  234. package/lib/components/time-picker/constants.cjs +1 -0
  235. package/lib/components/time-picker/index.cjs +1 -0
  236. package/lib/components/time-picker/props/basic-time-spinner.cjs +1 -0
  237. package/lib/components/time-picker/props/panel-time-picker.cjs +1 -0
  238. package/lib/components/time-picker/props/panel-time-range.cjs +1 -0
  239. package/lib/components/time-picker/props/shared.cjs +1 -0
  240. package/lib/components/time-picker/style/css.cjs +1 -0
  241. package/lib/components/time-picker/style/index.cjs +1 -0
  242. package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue.cjs +1 -0
  243. package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue2.cjs +1 -0
  244. package/lib/components/time-picker/time-picker-com/panel-time-pick.vue.cjs +1 -0
  245. package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -0
  246. package/lib/components/time-picker/time-picker-com/panel-time-range.vue.cjs +1 -0
  247. package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -0
  248. package/lib/components/time-picker/time-picker.cjs +1 -0
  249. package/lib/components/time-picker/types.cjs +1 -0
  250. package/lib/components/time-picker/utils.cjs +1 -0
  251. package/lib/components/time-select/style/css.cjs +1 -0
  252. package/lib/components/time-select/style/index.cjs +1 -0
  253. package/lib/components/time-select/time-select.cjs +1 -0
  254. package/lib/components/time-select/time-select.vue.cjs +1 -0
  255. package/lib/components/time-select/time-select.vue2.cjs +1 -0
  256. package/lib/components/time-select/utils.cjs +1 -0
  257. package/lib/components/tooltip/index.cjs +1 -1
  258. package/lib/index.cjs +1 -1
  259. package/lib/package.json.cjs +1 -1
  260. package/package.json +7 -7
  261. package/tags.json +1 -1
  262. package/theme-style/base.css +1 -1
  263. package/theme-style/display.css +1 -0
  264. package/theme-style/index.css +1 -1
  265. package/theme-style/src/affix.scss +7 -0
  266. package/theme-style/src/aside.scss +8 -0
  267. package/theme-style/src/autocomplete.scss +83 -0
  268. package/theme-style/src/back-top.scss +7 -6
  269. package/theme-style/src/badge.scss +57 -0
  270. package/theme-style/src/breadcrumb-item.scss +0 -0
  271. package/theme-style/src/breadcrumb.scss +61 -0
  272. package/theme-style/src/calendar.scss +80 -0
  273. package/theme-style/src/card.scss +38 -0
  274. package/theme-style/src/carousel-item.scss +50 -0
  275. package/theme-style/src/carousel.scss +174 -0
  276. package/theme-style/src/cascader-panel.scss +138 -0
  277. package/theme-style/src/cascader.scss +216 -0
  278. package/theme-style/src/check-tag.scss +29 -0
  279. package/theme-style/src/col.scss +52 -0
  280. package/theme-style/src/collapse-item.scss +0 -0
  281. package/theme-style/src/collapse.scss +67 -0
  282. package/theme-style/src/color-picker.scss +2 -2
  283. package/theme-style/src/common/popup.scss +47 -0
  284. package/theme-style/src/common/var.scss +381 -6
  285. package/theme-style/src/container.scss +14 -0
  286. package/theme-style/src/date-picker/date-picker.scss +110 -0
  287. package/theme-style/src/date-picker/date-range-picker.scss +113 -0
  288. package/theme-style/src/date-picker/date-table.scss +162 -0
  289. package/theme-style/src/date-picker/month-table.scss +90 -0
  290. package/theme-style/src/date-picker/picker-panel.scss +131 -0
  291. package/theme-style/src/date-picker/picker.scss +210 -0
  292. package/theme-style/src/date-picker/time-picker.scss +90 -0
  293. package/theme-style/src/date-picker/time-range-picker.scss +33 -0
  294. package/theme-style/src/date-picker/time-spinner.scss +111 -0
  295. package/theme-style/src/date-picker/year-table.scss +60 -0
  296. package/theme-style/src/date-picker.scss +9 -0
  297. package/theme-style/src/date-time-select.scss +1 -1
  298. package/theme-style/src/display.scss +12 -0
  299. package/theme-style/src/drawer.scss +160 -0
  300. package/theme-style/src/footer-layout.scss +4 -9
  301. package/theme-style/src/footer.scss +11 -0
  302. package/theme-style/src/header-layout.scss +26 -15
  303. package/theme-style/src/header.scss +11 -0
  304. package/theme-style/src/horizontal-menu.scss +90 -0
  305. package/theme-style/src/icon.scss +6 -6
  306. package/theme-style/src/index.scss +123 -76
  307. package/theme-style/src/infinite-scroll.scss +0 -0
  308. package/theme-style/src/input-number.scss +175 -0
  309. package/theme-style/src/input.scss +2 -4
  310. package/theme-style/src/list-cell.scss +3 -3
  311. package/theme-style/src/loading.scss +1 -1
  312. package/theme-style/src/main.scss +10 -0
  313. package/theme-style/src/md/code.scss +3 -3
  314. package/theme-style/src/md/demo-block.scss +2 -2
  315. package/theme-style/src/md/pswp.scss +4 -4
  316. package/theme-style/src/md/scroll-bar.scss +1 -1
  317. package/theme-style/src/md/table.scss +3 -3
  318. package/theme-style/src/md/toc.scss +3 -3
  319. package/theme-style/src/md-container.scss +6 -8
  320. package/theme-style/src/menu.scss +43 -17
  321. package/theme-style/src/message-box.scss +258 -0
  322. package/theme-style/src/mixins/_col.scss +38 -0
  323. package/theme-style/src/mixins/mixins.scss +25 -0
  324. package/theme-style/src/notification.scss +105 -0
  325. package/theme-style/src/option.scss +36 -0
  326. package/theme-style/src/pagination.scss +0 -2
  327. package/theme-style/src/progress.scss +169 -0
  328. package/theme-style/src/rate.scss +101 -0
  329. package/theme-style/src/reset.scss +92 -0
  330. package/theme-style/src/row.scss +31 -0
  331. package/theme-style/src/search.scss +6 -5
  332. package/theme-style/src/select-dropdown.scss +2 -2
  333. package/theme-style/src/side-menu.scss +9 -3
  334. package/theme-style/src/slider.scss +211 -0
  335. package/theme-style/src/space.scss +20 -0
  336. package/theme-style/src/spinner.scss +43 -0
  337. package/theme-style/src/statistic.scss +35 -0
  338. package/theme-style/src/step.scss +316 -0
  339. package/theme-style/src/steps.scss +21 -0
  340. package/theme-style/src/tabs.scss +2 -2
  341. package/theme-style/src/time-picker.scss +5 -0
  342. package/theme-style/src/time-select.scss +37 -0
  343. package/theme-style/src/timeline-item.scss +85 -0
  344. package/theme-style/src/timeline.scss +46 -0
  345. package/theme-style/src/transfer.scss +206 -0
  346. package/theme-style/src/tree-select.scss +36 -0
  347. package/theme-style/src/tree.scss +131 -0
  348. package/theme-style/src/upload.scss +621 -0
  349. package/theme-style/vft-affix.css +1 -0
  350. package/theme-style/vft-aside.css +1 -0
  351. package/theme-style/vft-autocomplete.css +1 -0
  352. package/theme-style/vft-back-top.css +1 -1
  353. package/theme-style/vft-badge.css +1 -0
  354. package/theme-style/vft-breadcrumb-item.css +0 -0
  355. package/theme-style/vft-breadcrumb.css +1 -0
  356. package/theme-style/vft-calendar.css +1 -0
  357. package/theme-style/vft-card.css +1 -0
  358. package/theme-style/vft-carousel-item.css +1 -0
  359. package/theme-style/vft-carousel.css +1 -0
  360. package/theme-style/vft-cascader-panel.css +1 -0
  361. package/theme-style/vft-cascader.css +1 -0
  362. package/theme-style/vft-check-tag.css +1 -0
  363. package/theme-style/vft-col.css +1 -0
  364. package/theme-style/vft-collapse-item.css +0 -0
  365. package/theme-style/vft-collapse.css +1 -0
  366. package/theme-style/vft-color-picker.css +1 -1
  367. package/theme-style/vft-container.css +1 -0
  368. package/theme-style/vft-date-picker.css +1 -0
  369. package/theme-style/vft-drawer.css +1 -0
  370. package/theme-style/vft-footer-layout.css +1 -1
  371. package/theme-style/vft-footer.css +1 -0
  372. package/theme-style/vft-header-layout.css +1 -1
  373. package/theme-style/vft-header.css +1 -0
  374. package/theme-style/vft-horizontal-menu.css +1 -0
  375. package/theme-style/vft-infinite-scroll.css +0 -0
  376. package/theme-style/vft-input-number.css +1 -0
  377. package/theme-style/vft-main.css +1 -0
  378. package/theme-style/vft-md-container.css +1 -1
  379. package/theme-style/vft-menu.css +1 -1
  380. package/theme-style/vft-message-box.css +1 -0
  381. package/theme-style/vft-notification.css +1 -0
  382. package/theme-style/vft-option.css +1 -0
  383. package/theme-style/vft-pagination.css +1 -1
  384. package/theme-style/vft-progress.css +1 -0
  385. package/theme-style/vft-rate.css +1 -0
  386. package/theme-style/vft-reset.css +1 -0
  387. package/theme-style/vft-row.css +1 -0
  388. package/theme-style/vft-search.css +1 -1
  389. package/theme-style/vft-select-dropdown.css +1 -1
  390. package/theme-style/vft-select.css +1 -1
  391. package/theme-style/vft-side-menu.css +1 -1
  392. package/theme-style/vft-slider.css +1 -0
  393. package/theme-style/vft-space.css +1 -0
  394. package/theme-style/vft-spinner.css +1 -0
  395. package/theme-style/vft-statistic.css +1 -0
  396. package/theme-style/vft-step.css +1 -0
  397. package/theme-style/vft-steps.css +1 -0
  398. package/theme-style/vft-time-picker.css +1 -0
  399. package/theme-style/vft-time-select.css +1 -0
  400. package/theme-style/vft-timeline-item.css +1 -0
  401. package/theme-style/vft-timeline.css +1 -0
  402. package/theme-style/vft-transfer.css +1 -0
  403. package/theme-style/vft-tree-select.css +1 -0
  404. package/theme-style/vft-tree.css +1 -0
  405. package/theme-style/vft-upload.css +1 -0
  406. package/theme-style/vft-var.css +1 -1
  407. package/web-types.json +1 -1
  408. package/theme-style/src/md/list.scss +0 -21
@@ -0,0 +1,43 @@
1
+ @use 'mixins/mixins' as *;
2
+
3
+ @include b(time-spinner) {
4
+ width: 100%;
5
+ white-space: nowrap;
6
+ }
7
+
8
+ @include b(spinner) {
9
+ display: inline-block;
10
+ vertical-align: middle;
11
+ }
12
+ @include b(spinner-inner) {
13
+ animation: rotate 2s linear infinite;
14
+ width: 50px;
15
+ height: 50px;
16
+
17
+ & .path {
18
+ stroke: getCssVar('border-color', 'lighter');
19
+ stroke-linecap: round;
20
+ animation: dash 1.5s ease-in-out infinite;
21
+ }
22
+ }
23
+
24
+ @keyframes rotate {
25
+ 100% {
26
+ transform: rotate(360deg);
27
+ }
28
+ }
29
+
30
+ @keyframes dash {
31
+ 0% {
32
+ stroke-dasharray: 1, 150;
33
+ stroke-dashoffset: 0;
34
+ }
35
+ 50% {
36
+ stroke-dasharray: 90, 150;
37
+ stroke-dashoffset: -35;
38
+ }
39
+ 100% {
40
+ stroke-dasharray: 90, 150;
41
+ stroke-dashoffset: -124;
42
+ }
43
+ }
@@ -0,0 +1,35 @@
1
+ @use 'mixins/mixins' as *;
2
+ @use 'mixins/var' as *;
3
+ @use 'common/var' as *;
4
+
5
+ @include b(statistic) {
6
+ @include set-component-css-var('statistic', $statistic);
7
+
8
+ @include e(head) {
9
+ font-weight: getCssVar('statistic-title-font-weight');
10
+ font-size: getCssVar('statistic-title-font-size');
11
+ color: getCssVar('statistic-title-color');
12
+ line-height: 20px;
13
+ margin-bottom: 4px;
14
+ }
15
+
16
+ @include e(content) {
17
+ font-weight: getCssVar('statistic-content-font-weight');
18
+ font-size: getCssVar('statistic-content-font-size');
19
+ color: getCssVar('statistic-content-color');
20
+
21
+ @include e(value) {
22
+ display: inline-block;
23
+ }
24
+
25
+ @include e(prefix) {
26
+ margin-right: 4px;
27
+ display: inline-block;
28
+ }
29
+
30
+ @include e(suffix) {
31
+ margin-left: 4px;
32
+ display: inline-block;
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,316 @@
1
+ @use 'mixins/mixins' as *;
2
+ @use 'common/var' as *;
3
+
4
+ @include b(step) {
5
+ position: relative;
6
+ flex-shrink: 1;
7
+
8
+ @include pseudo(last-of-type) {
9
+ @include e(line) {
10
+ display: none;
11
+ }
12
+
13
+ // 只有未设置 space 的情况下才自适应宽度
14
+ @include when(flex) {
15
+ flex-basis: auto !important;
16
+ flex-shrink: 0;
17
+ flex-grow: 0;
18
+ }
19
+
20
+ @include e((main, description)) {
21
+ padding-right: 0;
22
+ }
23
+ }
24
+
25
+ @include e(head) {
26
+ position: relative;
27
+ width: 100%;
28
+
29
+ @include when(process) {
30
+ color: getCssVar('text-color', 'primary');
31
+ border-color: getCssVar('text-color', 'primary');
32
+ }
33
+
34
+ @include when(wait) {
35
+ color: getCssVar('text-color', 'placeholder');
36
+ border-color: getCssVar('text-color', 'placeholder');
37
+ }
38
+
39
+ @include when(success) {
40
+ color: getCssVar('success-color');
41
+ border-color: getCssVar('success-color');
42
+ }
43
+
44
+ @include when(error) {
45
+ color: getCssVar('danger-color');
46
+ border-color: getCssVar('danger-color');
47
+ }
48
+
49
+ @include when(finish) {
50
+ color: getCssVar('primary-color');
51
+ border-color: getCssVar('primary-color');
52
+ }
53
+ }
54
+
55
+ @include e(icon) {
56
+ position: relative;
57
+ z-index: 1;
58
+ display: inline-flex;
59
+ justify-content: center;
60
+ align-items: center;
61
+ width: 24px;
62
+ height: 24px;
63
+ font-size: 14px;
64
+ box-sizing: border-box;
65
+ background: getCssVar('bg-color');
66
+ transition: 0.15s ease-out;
67
+
68
+ @include when(text) {
69
+ border-radius: 50%;
70
+ border: 2px solid;
71
+ border-color: inherit;
72
+ }
73
+
74
+ @include when(icon) {
75
+ width: 40px;
76
+ }
77
+ }
78
+
79
+ @include e(icon-inner) {
80
+ display: inline-block;
81
+ user-select: none;
82
+ text-align: center;
83
+ font-weight: bold;
84
+ line-height: 1;
85
+ color: inherit;
86
+
87
+ &[class*='#{$namespace}-icon']:not(.is-status) {
88
+ font-size: 25px;
89
+ font-weight: normal;
90
+ }
91
+
92
+ // 组件自身表示状态的图标
93
+ @include when(status) {
94
+ transform: translateY(1px);
95
+ }
96
+ }
97
+
98
+ @include e(line) {
99
+ position: absolute;
100
+ border-color: inherit;
101
+ background-color: getCssVar('text-color', 'placeholder');
102
+ }
103
+
104
+ @include e(line-inner) {
105
+ display: block;
106
+ border-width: 1px;
107
+ border-style: solid;
108
+ border-color: inherit;
109
+ transition: 0.15s ease-out;
110
+ box-sizing: border-box;
111
+ width: 0;
112
+ height: 0;
113
+ }
114
+
115
+ @include e(main) {
116
+ white-space: normal;
117
+ text-align: left;
118
+ }
119
+
120
+ @include e(title) {
121
+ font-size: 16px;
122
+ line-height: 38px;
123
+
124
+ @include when(process) {
125
+ font-weight: bold;
126
+ color: getCssVar('text-color', 'primary');
127
+ }
128
+
129
+ @include when(wait) {
130
+ color: getCssVar('text-color', 'placeholder');
131
+ }
132
+
133
+ @include when(success) {
134
+ color: getCssVar('success-color');
135
+ }
136
+
137
+ @include when(error) {
138
+ color: getCssVar('danger-color');
139
+ }
140
+
141
+ @include when(finish) {
142
+ color: getCssVar('primary-color');
143
+ }
144
+ }
145
+
146
+ @include e(description) {
147
+ padding-right: 10%;
148
+ margin-top: -5px;
149
+ font-size: 12px;
150
+ line-height: 20px;
151
+ font-weight: normal;
152
+
153
+ @include when(process) {
154
+ color: getCssVar('text-color', 'primary');
155
+ }
156
+
157
+ @include when(wait) {
158
+ color: getCssVar('text-color', 'placeholder');
159
+ }
160
+
161
+ @include when(success) {
162
+ color: getCssVar('success-color');
163
+ }
164
+
165
+ @include when(error) {
166
+ color: getCssVar('danger-color');
167
+ }
168
+
169
+ @include when(finish) {
170
+ color: getCssVar('primary-color');
171
+ }
172
+ }
173
+
174
+ @include when(horizontal) {
175
+ display: inline-block;
176
+
177
+ @include e(line) {
178
+ height: 2px;
179
+ top: 11px;
180
+ left: 0;
181
+ right: 0;
182
+ }
183
+ }
184
+
185
+ @include when(vertical) {
186
+ display: flex;
187
+
188
+ @include e(head) {
189
+ flex-grow: 0;
190
+ width: 24px;
191
+ }
192
+
193
+ @include e(main) {
194
+ padding-left: 10px;
195
+ flex-grow: 1;
196
+ }
197
+
198
+ @include e(title) {
199
+ line-height: 24px;
200
+ padding-bottom: 8px;
201
+ }
202
+
203
+ @include e(line) {
204
+ width: 2px;
205
+ top: 0;
206
+ bottom: 0;
207
+ left: 11px;
208
+ }
209
+
210
+ @include e(icon) {
211
+ @include when(icon) {
212
+ width: 24px;
213
+ }
214
+ }
215
+ }
216
+
217
+ @include when(center) {
218
+ @include e(head) {
219
+ text-align: center;
220
+ }
221
+
222
+ @include e(main) {
223
+ text-align: center;
224
+ }
225
+
226
+ @include e(description) {
227
+ padding-left: 20%;
228
+ padding-right: 20%;
229
+ }
230
+
231
+ @include e(line) {
232
+ left: 50%;
233
+ right: -50%;
234
+ }
235
+ }
236
+
237
+ @include when(simple) {
238
+ display: flex;
239
+ align-items: center;
240
+
241
+ @include e(head) {
242
+ width: auto;
243
+ font-size: 0;
244
+ padding-right: 10px;
245
+ }
246
+
247
+ @include e(icon) {
248
+ background: transparent;
249
+ width: 16px;
250
+ height: 16px;
251
+ font-size: 12px;
252
+ }
253
+
254
+ @include e(icon-inner) {
255
+ &[class*='#{$namespace}-icon']:not(.is-status) {
256
+ font-size: 18px;
257
+ }
258
+
259
+ &.is-status {
260
+ transform: scale(0.8) translateY(1px);
261
+ }
262
+ }
263
+
264
+ @include e(main) {
265
+ position: relative;
266
+ display: flex;
267
+ align-items: stretch;
268
+ flex-grow: 1;
269
+ }
270
+
271
+ @include e(title) {
272
+ font-size: 16px;
273
+ line-height: 20px;
274
+ }
275
+
276
+ @include pseudo('not(:last-of-type)') {
277
+ @include e(title) {
278
+ max-width: 50%;
279
+ word-break: break-all;
280
+ }
281
+ }
282
+
283
+ @include e(arrow) {
284
+ flex-grow: 1;
285
+ display: flex;
286
+ align-items: center;
287
+ justify-content: center;
288
+
289
+ &::before,
290
+ &::after {
291
+ content: '';
292
+ display: inline-block;
293
+ position: absolute;
294
+ height: 15px;
295
+ width: 1px;
296
+ background: getCssVar('text-color', 'placeholder');
297
+ }
298
+
299
+ &::before {
300
+ transform: rotate(-45deg) translateY(-4px);
301
+ transform-origin: 0 0;
302
+ }
303
+
304
+ &::after {
305
+ transform: rotate(45deg) translateY(4px);
306
+ transform-origin: 100% 100%;
307
+ }
308
+ }
309
+
310
+ @include pseudo(last-of-type) {
311
+ @include e(arrow) {
312
+ display: none;
313
+ }
314
+ }
315
+ }
316
+ }
@@ -0,0 +1,21 @@
1
+ @use 'mixins/mixins' as *;
2
+ @use 'common/var' as *;
3
+
4
+ @include b(steps) {
5
+ display: flex;
6
+
7
+ @include m(simple) {
8
+ padding: 13px 8%;
9
+ border-radius: 4px;
10
+ background: getCssVar('fill-color', 'light');
11
+ }
12
+
13
+ @include m(horizontal) {
14
+ white-space: nowrap;
15
+ }
16
+
17
+ @include m(vertical) {
18
+ height: 100%;
19
+ flex-flow: column;
20
+ }
21
+ }
@@ -155,9 +155,9 @@ $name: tabs;
155
155
  bottom: 0;
156
156
  width: 100%;
157
157
  height: 2px;
158
- background-color: getCompCssVar('nav-color');;
158
+ background-color: getCompCssVar('nav-color');
159
159
  z-index: getCssVar('index-normal');
160
- display: getCompCssVar('show-border-bottom');;
160
+ display: getCompCssVar('show-border-bottom');
161
161
  }
162
162
 
163
163
  // scrollNav 左右距离控制, + 距离控制
@@ -0,0 +1,5 @@
1
+ @use './date-picker/picker.scss';
2
+ @use './date-picker/picker-panel.scss';
3
+ @use './date-picker/time-spinner.scss';
4
+ @use './date-picker/time-picker.scss';
5
+ @use './date-picker/time-range-picker.scss';
@@ -0,0 +1,37 @@
1
+ @use 'mixins/config' as *;
2
+ @use 'mixins/mixins' as *;
3
+ @use 'common/var' as *;
4
+ @use './date-picker/picker.scss';
5
+ @use './date-picker/date-picker.scss';
6
+
7
+ .time-select {
8
+ margin: 5px 0;
9
+ min-width: 0;
10
+
11
+ .#{$namespace}-picker-panel__content {
12
+ max-height: 200px;
13
+ margin: 0;
14
+ }
15
+
16
+ &-item {
17
+ padding: 8px 10px;
18
+ font-size: 14px;
19
+ line-height: 20px;
20
+
21
+ &.disabled {
22
+ color: getCssVar('datepicker-border-color');
23
+ cursor: not-allowed;
24
+ }
25
+
26
+ &:hover {
27
+ background-color: getCssVar('fill-color', 'light');
28
+ font-weight: bold;
29
+ cursor: pointer;
30
+ }
31
+ }
32
+
33
+ .time-select-item.selected:not(.disabled) {
34
+ color: getCssVar('primary-color');
35
+ font-weight: bold;
36
+ }
37
+ }
@@ -0,0 +1,85 @@
1
+ @use 'sass:map';
2
+ @use 'mixins/mixins' as *;
3
+ @use 'common/var' as *;
4
+
5
+ @include b(timeline-item) {
6
+ position: relative;
7
+ padding-bottom: 20px;
8
+
9
+ @include e(wrapper) {
10
+ position: relative;
11
+ padding-left: 28px;
12
+ top: -3px;
13
+ }
14
+
15
+ @include e(tail) {
16
+ position: absolute;
17
+ left: 4px;
18
+ height: 100%;
19
+ border-left: 2px solid getCssVar('timeline-node-color');
20
+ }
21
+
22
+ & .#{$namespace}-timeline-item__icon {
23
+ color: getCssVar('color-white');
24
+ font-size: getCssVar('font-size-small');
25
+ }
26
+
27
+ @include e(node) {
28
+ position: absolute;
29
+ background-color: getCssVar('timeline-node-color');
30
+ border-color: getCssVar('timeline-node-color');
31
+ border-radius: 50%;
32
+ box-sizing: border-box;
33
+ display: flex;
34
+ justify-content: center;
35
+ align-items: center;
36
+
37
+ @include m(normal) {
38
+ left: -1px;
39
+ width: getCssVar('timeline-node-size-normal');
40
+ height: getCssVar('timeline-node-size-normal');
41
+ }
42
+ @include m(large) {
43
+ left: -2px;
44
+ width: getCssVar('timeline-node-size-large');
45
+ height: getCssVar('timeline-node-size-large');
46
+ }
47
+ @include when(hollow) {
48
+ background: getCssVar('color-white');
49
+ border-style: solid;
50
+ border-width: 2px;
51
+ }
52
+
53
+ @each $type in (primary, success, warning, danger, info) {
54
+ @include m($type) {
55
+ background-color: getCssVar('color', $type);
56
+ border-color: getCssVar('color', $type);
57
+ }
58
+ }
59
+ }
60
+
61
+ @include e(dot) {
62
+ position: absolute;
63
+ display: flex;
64
+ justify-content: center;
65
+ align-items: center;
66
+ }
67
+
68
+ @include e(content) {
69
+ color: getCssVar('text-color', 'primary');
70
+ }
71
+
72
+ @include e(timestamp) {
73
+ color: getCssVar('text-color', 'secondary');
74
+ line-height: 1;
75
+ font-size: getCssVar('font-size-small');
76
+
77
+ @include when(top) {
78
+ margin-bottom: 8px;
79
+ padding-top: 4px;
80
+ }
81
+ @include when(bottom) {
82
+ margin-top: 8px;
83
+ }
84
+ }
85
+ }
@@ -0,0 +1,46 @@
1
+ @use 'mixins/mixins' as *;
2
+ @use 'mixins/var' as *;
3
+ @use 'common/var' as *;
4
+
5
+ @include b(timeline) {
6
+ @include set-component-css-var('timeline', $timeline);
7
+ }
8
+
9
+ @include b(timeline) {
10
+ margin: 0;
11
+ font-size: getCssVar('font-size', 'base');
12
+ list-style: none;
13
+
14
+ .#{$namespace}-timeline-item:last-child {
15
+ .#{$namespace}-timeline-item__tail {
16
+ display: none;
17
+ }
18
+ }
19
+
20
+ .#{$namespace}-timeline-item__center {
21
+ display: flex;
22
+ align-items: center;
23
+
24
+ .#{$namespace}-timeline-item__wrapper {
25
+ width: 100%;
26
+ }
27
+
28
+ .#{$namespace}-timeline-item__tail {
29
+ top: 0;
30
+ }
31
+ }
32
+
33
+ .#{$namespace}-timeline-item__center:first-child {
34
+ .#{$namespace}-timeline-item__tail {
35
+ height: calc(50% + 10px);
36
+ top: calc(50% - 10px);
37
+ }
38
+ }
39
+
40
+ .#{$namespace}-timeline-item__center:last-child {
41
+ .#{$namespace}-timeline-item__tail {
42
+ display: block;
43
+ height: calc(50% - 10px);
44
+ }
45
+ }
46
+ }