vft 0.0.71 → 0.0.72

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 +70 -62
  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
package/es/component.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { VftDivider as o } from "./components/divider/index.js";
2
2
  import { VftConfigProvider as t } from "./components/config-provider/index.js";
3
3
  import { VftIcon as r } from "./components/icon/index.js";
4
- import { VftAvatar as m } from "./components/avatar/index.js";
5
- import { VftEmpty as f } from "./components/empty/index.js";
4
+ import { VftAvatar as f } from "./components/avatar/index.js";
5
+ import { VftEmpty as m } from "./components/empty/index.js";
6
6
  import { VftResult as i } from "./components/result/index.js";
7
7
  import { VftTooltip as p } from "./components/tooltip/index.js";
8
8
  import { VftBackTop as V } from "./components/back-top/index.js";
@@ -22,51 +22,67 @@ import { VftClamp as g } from "./components/clamp/index.js";
22
22
  import { VftPageWrapper as I } from "./components/page-wrapper/index.js";
23
23
  import { VftClampToggle as D } from "./components/clamp-toggle/index.js";
24
24
  import { VftRouterViewContent as P } from "./components/router-view-content/index.js";
25
- import { VftIframeLayout as S } from "./components/iframe-layout/index.js";
26
- import { VftFooterLayout as y } from "./components/footer-layout/index.js";
27
- import { VftHeaderLayout as k } from "./components/header-layout/index.js";
28
- import { VftPagination as w } from "./components/pagination/index.js";
25
+ import { VftIframeLayout as k } from "./components/iframe-layout/index.js";
26
+ import { VftFooterLayout as S } from "./components/footer-layout/index.js";
27
+ import { VftHeaderLayout as w } from "./components/header-layout/index.js";
28
+ import { VftPagination as y } from "./components/pagination/index.js";
29
29
  import { VftTabs as x, VftTabPane as L } from "./components/tabs/index.js";
30
- import { VftForm as h, VftFormItem as v } from "./components/form/index.js";
31
- import { VftDescriptions as B, VftDescriptionsItem as R } from "./components/descriptions/index.js";
30
+ import { VftForm as R, VftFormItem as h } from "./components/form/index.js";
31
+ import { VftDescriptions as v, VftDescriptionsItem as B } from "./components/descriptions/index.js";
32
32
  import { VftMultipleTabs as F } from "./components/multiple-tabs/index.js";
33
33
  import { VftCollapseTransition as G } from "./components/collapse-transition/index.js";
34
- import { VftMenu as E, VftMenuItem as A, VftMenuItemGroup as H, VftSubMenu as O } from "./components/menu/index.js";
35
- import { VftException as Q } from "./components/exception/index.js";
36
- import { VftSearch as W } from "./components/search/index.js";
37
- import { VftButton as j, VftButtonGroup as q } from "./components/button/index.js";
38
- import { VftCheckboxGroup as z, VftCheckbox as J, VftCheckboxButton as K } from "./components/checkbox/index.js";
34
+ import { VftMenu as H, VftMenuItem as A, VftMenuItemGroup as E, VftSubMenu as z } from "./components/menu/index.js";
35
+ import { VftException as O } from "./components/exception/index.js";
36
+ import { VftSearch as Q } from "./components/search/index.js";
37
+ import { VftButton as W, VftButtonGroup as j } from "./components/button/index.js";
38
+ import { VftCheckboxGroup as q, VftCheckbox as J, VftCheckboxButton as K } from "./components/checkbox/index.js";
39
39
  import { VftRadioButton as N, VftRadio as U, VftRadioGroup as X } from "./components/radio/index.js";
40
40
  import { VftSwitch as Y } from "./components/switch/index.js";
41
41
  import { VftColorPicker as Z } from "./components/color-picker/index.js";
42
42
  import { VftScrollbar as _ } from "./components/scrollbar/index.js";
43
43
  import { VftDropdownItem as $, VftDropdownMenu as oo, VftDropdown as to } from "./components/dropdown/index.js";
44
44
  import { VftSelectV2 as ro } from "./components/select-v2/index.js";
45
- import { VftVerifyCode as mo } from "./components/verify-code/index.js";
46
- import { VftTable as fo } from "./components/table/index.js";
45
+ import { VftVerifyCode as fo } from "./components/verify-code/index.js";
46
+ import { VftTable as mo } from "./components/table/index.js";
47
47
  import { VftImageViewer as io } from "./components/image-viewer/index.js";
48
48
  import { VftListCell as po } from "./components/list-cell/index.js";
49
49
  import { VftDialog as Vo } from "./components/dialog/index.js";
50
50
  import { VftDateTimeSelect as eo } from "./components/date-time-select/index.js";
51
- import { VftMdComment as ao } from "./components/md-comment/index.js";
52
- import { VftMdTabs as no } from "./components/md-tabs/index.js";
53
- import { VftMdVuePlayground as uo } from "./components/md-vue-playground/index.js";
54
- import { VftMdCodeDemo as lo } from "./components/md-code-demo/index.js";
55
- import { VftMdCodeTabs as co } from "./components/md-code-tabs/index.js";
56
- import { VftMdContainer as Co } from "./components/md-container/index.js";
57
- const Tt = [
58
- Co,
51
+ import { VftHorizontalMenu as ao } from "./components/horizontal-menu/index.js";
52
+ import { VftCol as no } from "./components/col/index.js";
53
+ import { VftRow as uo } from "./components/row/index.js";
54
+ import { VftTimePicker as lo } from "./components/time-picker/index.js";
55
+ import { VftDatePicker as co } from "./components/date-picker/index.js";
56
+ import { VftAside as Co, VftContainer as so, VftFooter as Mo, VftHeader as To, VftMain as bo } from "./components/container/index.js";
57
+ import { VftMdComment as go } from "./components/md-comment/index.js";
58
+ import { VftMdTabs as Io } from "./components/md-tabs/index.js";
59
+ import { VftMdVuePlayground as Do } from "./components/md-vue-playground/index.js";
60
+ import { VftMdCodeDemo as Po } from "./components/md-code-demo/index.js";
61
+ import { VftMdCodeTabs as ko } from "./components/md-code-tabs/index.js";
62
+ import { VftMdContainer as So } from "./components/md-container/index.js";
63
+ const Ft = [
64
+ So,
65
+ ko,
66
+ Po,
67
+ Do,
68
+ Io,
59
69
  co,
70
+ go,
71
+ Co,
72
+ so,
73
+ Mo,
74
+ To,
75
+ bo,
76
+ ao,
77
+ no,
60
78
  lo,
61
79
  uo,
62
- no,
63
- ao,
64
80
  Vo,
65
81
  eo,
66
82
  po,
67
83
  io,
68
- fo,
69
84
  mo,
85
+ fo,
70
86
  ro,
71
87
  $,
72
88
  oo,
@@ -77,14 +93,14 @@ const Tt = [
77
93
  N,
78
94
  U,
79
95
  X,
80
- z,
96
+ q,
81
97
  J,
82
98
  K,
99
+ W,
83
100
  j,
84
- q,
101
+ R,
85
102
  h,
86
- v,
87
- W,
103
+ Q,
88
104
  I,
89
105
  g,
90
106
  D,
@@ -92,39 +108,39 @@ const Tt = [
92
108
  T,
93
109
  s,
94
110
  b,
95
- w,
111
+ y,
96
112
  C,
97
113
  c,
98
114
  l,
99
115
  u,
100
116
  d,
117
+ v,
101
118
  B,
102
- R,
103
119
  t,
104
120
  V,
105
121
  P,
106
- S,
107
- y,
108
122
  k,
123
+ S,
124
+ w,
109
125
  n,
110
126
  F,
111
- E,
112
- A,
113
127
  H,
114
- O,
128
+ A,
129
+ E,
130
+ z,
115
131
  G,
116
132
  o,
117
133
  r,
118
- m,
119
134
  f,
135
+ m,
120
136
  i,
121
137
  x,
122
138
  L,
123
139
  p,
124
140
  e,
125
141
  a,
126
- Q
142
+ O
127
143
  ];
128
144
  export {
129
- Tt as default
145
+ Ft as default
130
146
  };
@@ -0,0 +1,2 @@
1
+ import "vft/theme-style/base.css";
2
+ import "vft/theme-style/vft-aside.css";
@@ -0,0 +1,2 @@
1
+ import "vft/theme-style/src/base.scss";
2
+ import "vft/theme-style/src/aside.scss";
@@ -19,6 +19,7 @@ import "../iframe-layout/index.js";
19
19
  import "../router-view-content/index.js";
20
20
  import "../logo/index.js";
21
21
  import "./index.js";
22
+ import "../container/index.js";
22
23
  import "../config-provider/index.js";
23
24
  import "../descriptions/index.js";
24
25
  import "../full-screen/index.js";
@@ -56,6 +57,11 @@ import "../image-viewer/index.js";
56
57
  import "../list-cell/index.js";
57
58
  import "../dialog/index.js";
58
59
  import "../date-time-select/index.js";
60
+ import "../col/index.js";
61
+ import "../row/index.js";
62
+ import "../horizontal-menu/index.js";
63
+ import "../time-picker/index.js";
64
+ import "../date-picker/index.js";
59
65
  import "../md-container/index.js";
60
66
  import "../md-comment/index.js";
61
67
  import "../md-tabs/index.js";
@@ -75,7 +81,7 @@ const r = (
75
81
  _("back-top")
76
82
  ), N = c({
77
83
  name: r.b()
78
- }), Wt = /* @__PURE__ */ c({
84
+ }), ro = /* @__PURE__ */ c({
79
85
  ...N,
80
86
  props: {
81
87
  visibilityHeight: { default: 200 },
@@ -118,5 +124,5 @@ const r = (
118
124
  }
119
125
  });
120
126
  export {
121
- Wt as default
127
+ ro as default
122
128
  };
@@ -0,0 +1,4 @@
1
+ import f from "./col.vue2.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,60 @@
1
+ import { defineComponent as i, inject as h, computed as u, openBlock as $, createBlock as b, resolveDynamicComponent as g, normalizeClass as x, unref as c, normalizeStyle as y, withCtx as _, renderSlot as v } from "vue";
2
+ import { isNumber as f, isObject as C } from "@vft/utils";
3
+ import { useNamespace as j } from "../../hooks/use-namespace/index.js";
4
+ import "@popperjs/core";
5
+ import "lodash";
6
+ import "../../hooks/use-z-index/index.js";
7
+ import "@vueuse/core";
8
+ import "../../utils/ns-cover.js";
9
+ import "../row/index.js";
10
+ import { rowContextKey as E } from "../row/constants.js";
11
+ const e = (
12
+ /* hoist-static*/
13
+ j("col")
14
+ ), k = i({
15
+ name: e.b()
16
+ }), F = /* @__PURE__ */ i({
17
+ ...k,
18
+ props: {
19
+ tag: { default: "div" },
20
+ span: { default: 24 },
21
+ offset: { default: 0 },
22
+ pull: { default: 0 },
23
+ push: { default: 0 },
24
+ xs: null,
25
+ sm: null,
26
+ md: null,
27
+ lg: null,
28
+ xl: null
29
+ },
30
+ setup(a) {
31
+ const l = a, { gutter: n } = h(E, { gutter: u(() => 0) }), m = u(() => {
32
+ const s = {};
33
+ return n.value && (s.paddingLeft = s.paddingRight = `${n.value / 2}px`), s;
34
+ }), p = u(() => {
35
+ const s = [];
36
+ return ["span", "offset", "pull", "push"].forEach((t) => {
37
+ const o = l[t];
38
+ f(o) && (t === "span" ? s.push(e.b(`${l[t]}`)) : o > 0 && s.push(e.b(`${t}-${l[t]}`)));
39
+ }), ["xs", "sm", "md", "lg", "xl"].forEach((t) => {
40
+ f(l[t]) ? s.push(e.b(`${t}-${l[t]}`)) : C(l[t]) && Object.entries(l[t]).forEach(([o, r]) => {
41
+ s.push(
42
+ o !== "span" ? e.b(`${t}-${o}-${r}`) : e.b(`${t}-${r}`)
43
+ );
44
+ });
45
+ }), n.value && s.push(e.is("guttered")), [e.b(), s];
46
+ });
47
+ return (s, d) => ($(), b(g(a.tag), {
48
+ class: x(c(p)),
49
+ style: y(c(m))
50
+ }, {
51
+ default: _(() => [
52
+ v(s.$slots, "default")
53
+ ]),
54
+ _: 3
55
+ }, 8, ["class", "style"]));
56
+ }
57
+ });
58
+ export {
59
+ F as default
60
+ };
@@ -0,0 +1,12 @@
1
+ import { withInstall as t } from "../../utils/vue/install.js";
2
+ import "vue";
3
+ import "@vft/utils";
4
+ import "lodash";
5
+ import "@vueuse/core";
6
+ import "../../utils/ns-cover.js";
7
+ import o from "./col.vue2.js";
8
+ const s = t(o);
9
+ export {
10
+ s as VftCol,
11
+ s as default
12
+ };
@@ -0,0 +1,2 @@
1
+ import "vft/theme-style/base.css";
2
+ import "vft/theme-style/vft-col.css";
@@ -0,0 +1,2 @@
1
+ import "vft/theme-style/src/base.scss";
2
+ import "vft/theme-style/src/col.scss";
@@ -0,0 +1 @@
1
+
@@ -1,44 +1,41 @@
1
- var C = Object.defineProperty;
2
- var k = (a, t, e) => t in a ? C(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e;
3
- var c = (a, t, e) => (k(a, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { hasOwn as _ } from "@vft/utils";
5
- const g = function(a, t, e) {
1
+ import { hasOwn as b } from "@vft/utils";
2
+ const _ = function(a, t, e) {
6
3
  return [
7
4
  a,
8
5
  t * e / ((a = (2 - t) * e) < 1 ? a : 2 - a) || 0,
9
6
  a / 2
10
7
  ];
11
- }, A = function(a) {
8
+ }, F = function(a) {
12
9
  return typeof a == "string" && a.includes(".") && Number.parseFloat(a) === 1;
13
- }, O = function(a) {
10
+ }, C = function(a) {
14
11
  return typeof a == "string" && a.includes("%");
15
- }, u = function(a, t) {
16
- A(a) && (a = "100%");
17
- const e = O(a);
12
+ }, l = function(a, t) {
13
+ F(a) && (a = "100%");
14
+ const e = C(a);
18
15
  return a = Math.min(t, Math.max(0, Number.parseFloat(`${a}`))), e && (a = Number.parseInt(`${a * t}`, 10) / 100), Math.abs(a - t) < 1e-6 ? 1 : a % t / Number.parseFloat(t);
19
- }, $ = {
16
+ }, g = {
20
17
  10: "A",
21
18
  11: "B",
22
19
  12: "C",
23
20
  13: "D",
24
21
  14: "E",
25
22
  15: "F"
26
- }, m = (a) => {
23
+ }, f = (a) => {
27
24
  a = Math.min(Math.round(a), 255);
28
25
  const t = Math.floor(a / 16), e = a % 16;
29
- return `${$[t] || t}${$[e] || e}`;
30
- }, M = function({ r: a, g: t, b: e }) {
31
- return Number.isNaN(+a) || Number.isNaN(+t) || Number.isNaN(+e) ? "" : `#${m(a)}${m(t)}${m(e)}`;
32
- }, b = {
26
+ return `${g[t] || t}${g[e] || e}`;
27
+ }, $ = function({ r: a, g: t, b: e }) {
28
+ return Number.isNaN(+a) || Number.isNaN(+t) || Number.isNaN(+e) ? "" : `#${f(a)}${f(t)}${f(e)}`;
29
+ }, p = {
33
30
  A: 10,
34
31
  B: 11,
35
32
  C: 12,
36
33
  D: 13,
37
34
  E: 14,
38
35
  F: 15
39
- }, l = function(a) {
40
- return a.length === 2 ? (b[a[0].toUpperCase()] || +a[0]) * 16 + (b[a[1].toUpperCase()] || +a[1]) : b[a[1].toUpperCase()] || +a[1];
41
- }, I = function(a, t, e) {
36
+ }, c = function(a) {
37
+ return a.length === 2 ? (p[a[0].toUpperCase()] || +a[0]) * 16 + (p[a[1].toUpperCase()] || +a[1]) : p[a[1].toUpperCase()] || +a[1];
38
+ }, k = function(a, t, e) {
42
39
  t = t / 100, e = e / 100;
43
40
  let s = t;
44
41
  const n = Math.max(e, 0.01);
@@ -49,8 +46,8 @@ const g = function(a, t, e) {
49
46
  s: r * 100,
50
47
  v: h * 100
51
48
  };
52
- }, d = (a, t, e) => {
53
- a = u(a, 255), t = u(t, 255), e = u(e, 255);
49
+ }, M = (a, t, e) => {
50
+ a = l(a, 255), t = l(t, 255), e = l(e, 255);
54
51
  const s = Math.max(a, t, e), n = Math.min(a, t, e);
55
52
  let h;
56
53
  const r = s, i = s - n, o = s === 0 ? 0 : i / s;
@@ -74,33 +71,26 @@ const g = function(a, t, e) {
74
71
  h /= 6;
75
72
  }
76
73
  return { h: h * 360, s: o * 100, v: r * 100 };
77
- }, f = function(a, t, e) {
78
- a = u(a, 360) * 6, t = u(t, 100), e = u(e, 100);
79
- const s = Math.floor(a), n = a - s, h = e * (1 - t), r = e * (1 - n * t), i = e * (1 - (1 - n) * t), o = s % 6, p = [e, r, h, h, i, e][o], N = [i, e, e, r, h, h][o], F = [h, h, i, e, e, r][o];
74
+ }, u = function(a, t, e) {
75
+ a = l(a, 360) * 6, t = l(t, 100), e = l(e, 100);
76
+ const s = Math.floor(a), n = a - s, h = e * (1 - t), r = e * (1 - n * t), i = e * (1 - (1 - n) * t), o = s % 6, m = [e, r, h, h, i, e][o], d = [i, e, e, r, h, h][o], N = [h, h, i, e, e, r][o];
80
77
  return {
81
- r: Math.round(p * 255),
82
- g: Math.round(N * 255),
83
- b: Math.round(F * 255)
78
+ r: Math.round(m * 255),
79
+ g: Math.round(d * 255),
80
+ b: Math.round(N * 255)
84
81
  };
85
82
  };
86
- class P {
83
+ class O {
87
84
  constructor(t = {}) {
88
- c(this, "_hue", 0);
89
- c(this, "_saturation", 100);
90
- c(this, "_value", 100);
91
- c(this, "_alpha", 100);
92
- c(this, "enableAlpha", !1);
93
- c(this, "format", "hex");
94
- c(this, "value", "");
95
- c(this, "selected");
85
+ this._hue = 0, this._saturation = 100, this._value = 100, this._alpha = 100, this.enableAlpha = !1, this.format = "hex", this.value = "";
96
86
  for (const e in t)
97
- _(t, e) && (this[e] = t[e]);
87
+ b(t, e) && (this[e] = t[e]);
98
88
  t.value ? this.fromString(t.value) : this.doOnChange();
99
89
  }
100
90
  set(t, e) {
101
91
  if (arguments.length === 1 && typeof t == "object") {
102
92
  for (const s in t)
103
- _(t, s) && this.set(s, t[s]);
93
+ b(t, s) && this.set(s, t[s]);
104
94
  return;
105
95
  }
106
96
  this[`_${t}`] = e, this.doOnChange();
@@ -109,7 +99,7 @@ class P {
109
99
  return t === "alpha" ? Math.floor(this[`_${t}`]) : this[`_${t}`];
110
100
  }
111
101
  toRgb() {
112
- return f(this._hue, this._saturation, this._value);
102
+ return u(this._hue, this._saturation, this._value);
113
103
  }
114
104
  fromString(t) {
115
105
  if (!t) {
@@ -124,7 +114,7 @@ class P {
124
114
  (n, h) => h > 2 ? Number.parseFloat(n) : Number.parseInt(n, 10)
125
115
  );
126
116
  if (s.length === 4 ? this._alpha = Number.parseFloat(s[3]) * 100 : s.length === 3 && (this._alpha = 100), s.length >= 3) {
127
- const { h: n, s: h, v: r } = I(s[0], s[1], s[2]);
117
+ const { h: n, s: h, v: r } = k(s[0], s[1], s[2]);
128
118
  e(n, h, r);
129
119
  }
130
120
  } else if (t.includes("hsv")) {
@@ -137,7 +127,7 @@ class P {
137
127
  (n, h) => h > 2 ? Number.parseFloat(n) : Number.parseInt(n, 10)
138
128
  );
139
129
  if (s.length === 4 ? this._alpha = Number.parseFloat(s[3]) * 100 : s.length === 3 && (this._alpha = 100), s.length >= 3) {
140
- const { h: n, s: h, v: r } = d(s[0], s[1], s[2]);
130
+ const { h: n, s: h, v: r } = M(s[0], s[1], s[2]);
141
131
  e(n, h, r);
142
132
  }
143
133
  } else if (t.includes("#")) {
@@ -145,9 +135,9 @@ class P {
145
135
  if (!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(s))
146
136
  return;
147
137
  let n, h, r;
148
- s.length === 3 ? (n = l(s[0] + s[0]), h = l(s[1] + s[1]), r = l(s[2] + s[2])) : (s.length === 6 || s.length === 8) && (n = l(s.slice(0, 2)), h = l(s.slice(2, 4)), r = l(s.slice(4, 6))), s.length === 8 ? this._alpha = l(s.slice(6)) / 255 * 100 : (s.length === 3 || s.length === 6) && (this._alpha = 100);
149
- const { h: i, s: o, v: p } = d(n, h, r);
150
- e(i, o, p);
138
+ s.length === 3 ? (n = c(s[0] + s[0]), h = c(s[1] + s[1]), r = c(s[2] + s[2])) : (s.length === 6 || s.length === 8) && (n = c(s.slice(0, 2)), h = c(s.slice(2, 4)), r = c(s.slice(4, 6))), s.length === 8 ? this._alpha = c(s.slice(6)) / 255 * 100 : (s.length === 3 || s.length === 6) && (this._alpha = 100);
139
+ const { h: i, s: o, v: m } = M(n, h, r);
140
+ e(i, o, m);
151
141
  }
152
142
  }
153
143
  compare(t) {
@@ -158,7 +148,7 @@ class P {
158
148
  if (this.enableAlpha)
159
149
  switch (h) {
160
150
  case "hsl": {
161
- const r = g(t, e / 100, s / 100);
151
+ const r = _(t, e / 100, s / 100);
162
152
  this.value = `hsla(${t}, ${Math.round(
163
153
  r[1] * 100
164
154
  )}%, ${Math.round(r[2] * 100)}%, ${this.get("alpha") / 100})`;
@@ -171,20 +161,20 @@ class P {
171
161
  break;
172
162
  }
173
163
  case "hex": {
174
- this.value = `${M(f(t, e, s))}${m(
164
+ this.value = `${$(u(t, e, s))}${f(
175
165
  n * 255 / 100
176
166
  )}`;
177
167
  break;
178
168
  }
179
169
  default: {
180
- const { r, g: i, b: o } = f(t, e, s);
170
+ const { r, g: i, b: o } = u(t, e, s);
181
171
  this.value = `rgba(${r}, ${i}, ${o}, ${this.get("alpha") / 100})`;
182
172
  }
183
173
  }
184
174
  else
185
175
  switch (h) {
186
176
  case "hsl": {
187
- const r = g(t, e / 100, s / 100);
177
+ const r = _(t, e / 100, s / 100);
188
178
  this.value = `hsl(${t}, ${Math.round(r[1] * 100)}%, ${Math.round(
189
179
  r[2] * 100
190
180
  )}%)`;
@@ -197,15 +187,15 @@ class P {
197
187
  break;
198
188
  }
199
189
  case "rgb": {
200
- const { r, g: i, b: o } = f(t, e, s);
190
+ const { r, g: i, b: o } = u(t, e, s);
201
191
  this.value = `rgb(${r}, ${i}, ${o})`;
202
192
  break;
203
193
  }
204
194
  default:
205
- this.value = M(f(t, e, s));
195
+ this.value = $(u(t, e, s));
206
196
  }
207
197
  }
208
198
  }
209
199
  export {
210
- P as default
200
+ O as default
211
201
  };
@@ -0,0 +1,4 @@
1
+ import f from "./aside.vue2.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,37 @@
1
+ import { defineComponent as r, computed as l, openBlock as p, createElementBlock as a, normalizeClass as m, unref as o, normalizeStyle as c, renderSlot as d } from "vue";
2
+ import { useNamespace as u } from "../../hooks/use-namespace/index.js";
3
+ import "@popperjs/core";
4
+ import "lodash";
5
+ import "../../hooks/use-z-index/index.js";
6
+ import "@vueuse/core";
7
+ import "@vft/utils";
8
+ import "../../utils/ns-cover.js";
9
+ const t = (
10
+ /* hoist-static*/
11
+ u("aside")
12
+ ), f = r({
13
+ name: t.b()
14
+ }), C = /* @__PURE__ */ r({
15
+ ...f,
16
+ props: {
17
+ /**
18
+ * @description width of the side section
19
+ */
20
+ width: {
21
+ type: String,
22
+ default: null
23
+ }
24
+ },
25
+ setup(s) {
26
+ const e = s, n = l(() => e.width ? t.cssVarBlock({ width: e.width }) : {});
27
+ return (i, _) => (p(), a("aside", {
28
+ class: m(o(t).b()),
29
+ style: c(o(n))
30
+ }, [
31
+ d(i.$slots, "default")
32
+ ], 6));
33
+ }
34
+ });
35
+ export {
36
+ C as default
37
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./container.vue2.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,33 @@
1
+ import { defineComponent as a, useSlots as c, computed as m, openBlock as u, createElementBlock as f, normalizeClass as p, unref as t, renderSlot as d } from "vue";
2
+ import { useNamespace as v } from "../../hooks/use-namespace/index.js";
3
+ import "@popperjs/core";
4
+ import "lodash";
5
+ import "../../hooks/use-z-index/index.js";
6
+ import "@vueuse/core";
7
+ import "@vft/utils";
8
+ import "../../utils/ns-cover.js";
9
+ const o = (
10
+ /* hoist-static*/
11
+ v("container")
12
+ ), _ = a({
13
+ name: o.b()
14
+ }), g = /* @__PURE__ */ a({
15
+ ..._,
16
+ props: {
17
+ direction: null
18
+ },
19
+ setup(r) {
20
+ const e = c(), l = m(() => r.direction === "vertical" ? !0 : r.direction === "horizontal" ? !1 : e && e.default ? e.default().some((s) => {
21
+ const i = s.type.name;
22
+ return i === "vft-header" || i === "vft-footer";
23
+ }) : !1);
24
+ return (n, s) => (u(), f("section", {
25
+ class: p([t(o).b(), t(o).is("vertical", t(l))])
26
+ }, [
27
+ d(n.$slots, "default")
28
+ ], 2));
29
+ }
30
+ });
31
+ export {
32
+ g as default
33
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./footer.vue2.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,39 @@
1
+ import { defineComponent as r, computed as p, openBlock as m, createElementBlock as i, normalizeClass as a, unref as o, normalizeStyle as c, renderSlot as f } from "vue";
2
+ import { useNamespace as u } from "../../hooks/use-namespace/index.js";
3
+ import "@popperjs/core";
4
+ import "lodash";
5
+ import "../../hooks/use-z-index/index.js";
6
+ import "@vueuse/core";
7
+ import "@vft/utils";
8
+ import "../../utils/ns-cover.js";
9
+ const t = (
10
+ /* hoist-static*/
11
+ u("footer")
12
+ ), h = r({
13
+ name: t.b()
14
+ }), C = /* @__PURE__ */ r({
15
+ ...h,
16
+ props: {
17
+ /**
18
+ * @description height of the footer
19
+ */
20
+ height: {
21
+ type: String,
22
+ default: null
23
+ }
24
+ },
25
+ setup(s) {
26
+ const e = s, n = p(
27
+ () => e.height ? t.cssVarBlock({ height: e.height }) : {}
28
+ );
29
+ return (l, d) => (m(), i("footer", {
30
+ class: a(o(t).b()),
31
+ style: c(o(n))
32
+ }, [
33
+ f(l.$slots, "default")
34
+ ], 6));
35
+ }
36
+ });
37
+ export {
38
+ C as default
39
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./header.vue2.js";
2
+ export {
3
+ f as default
4
+ };