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
@@ -1,46 +1,46 @@
1
- import { defineComponent as c, computed as n, openBlock as u, createElementBlock as p, normalizeClass as l, unref as e, normalizeStyle as g, createElementVNode as s, toDisplayString as f } from "vue";
2
- import { useRouterHelper as d } from "@vft/router";
3
- import { useNamespace as h } from "../../hooks/use-namespace/index.js";
1
+ import { defineComponent as s, computed as l, getCurrentInstance as p, openBlock as g, createElementBlock as f, normalizeClass as n, unref as e, normalizeStyle as d, createElementVNode as r, toDisplayString as C } from "vue";
2
+ import { useRouterHelper as h } from "@vft/router";
3
+ import { useNamespace as k } from "../../hooks/use-namespace/index.js";
4
4
  import "@popperjs/core";
5
5
  import "lodash";
6
6
  import "../../hooks/use-z-index/index.js";
7
7
  import "@vueuse/core";
8
8
  import "@vft/utils";
9
9
  import "../../utils/ns-cover.js";
10
- const k = ["src"], o = (
10
+ const P = ["src"], o = (
11
11
  /* hoist-static*/
12
- h("logo")
13
- ), C = c({
12
+ k("logo")
13
+ ), j = s({
14
14
  name: o.b()
15
- }), N = /* @__PURE__ */ c({
16
- ...C,
15
+ }), D = /* @__PURE__ */ s({
16
+ ...j,
17
17
  props: {
18
18
  title: null,
19
19
  logo: null,
20
20
  jumpPath: null
21
21
  },
22
22
  setup(t) {
23
- const i = n(() => [o.b()]), { go: r } = d();
23
+ const c = l(() => [o.b()]), i = p().appContext.config.globalProperties.$router, { go: a } = h(i);
24
24
  function m() {
25
- t.jumpPath && r(t.jumpPath);
25
+ t.jumpPath && a(t.jumpPath);
26
26
  }
27
- const a = n(() => t.jumpPath ? {} : o.cssVarBlock({ cursor: "inital" }));
28
- return (j, P) => (u(), p("div", {
29
- class: l(e(i)),
27
+ const u = l(() => t.jumpPath ? {} : o.cssVarBlock({ cursor: "inital" }));
28
+ return (x, y) => (g(), f("div", {
29
+ class: n(e(c)),
30
30
  onClick: m,
31
- style: g(e(a))
31
+ style: d(e(u))
32
32
  }, [
33
- s("img", {
34
- class: l(e(o).e("img")),
33
+ r("img", {
34
+ class: n(e(o).e("img")),
35
35
  src: t.logo,
36
36
  alt: ""
37
- }, null, 10, k),
38
- s("div", {
39
- class: l(["ml-2 truncate", e(o).e("title")])
40
- }, f(t.title), 3)
37
+ }, null, 10, P),
38
+ r("div", {
39
+ class: n(["ml-2 truncate", e(o).e("title")])
40
+ }, C(t.title), 3)
41
41
  ], 6));
42
42
  }
43
43
  });
44
44
  export {
45
- N as default
45
+ D as default
46
46
  };
@@ -0,0 +1,2 @@
1
+ import "vft/theme-style/base.css";
2
+ import "vft/theme-style/vft-main.css";
@@ -0,0 +1,2 @@
1
+ import "vft/theme-style/src/base.scss";
2
+ import "vft/theme-style/src/main.scss";
@@ -1,6 +1,6 @@
1
- import { defineComponent as T, getCurrentInstance as P, ref as v, onMounted as B, nextTick as H, unref as t, computed as I, openBlock as s, createElementBlock as l, normalizeClass as a, createBlock as y, createCommentVNode as x, createElementVNode as i, toDisplayString as C, createVNode as c, Fragment as L, renderList as M, withCtx as R, createTextVNode as $, renderSlot as q } from "vue";
1
+ import { defineComponent as V, getCurrentInstance as $, ref as y, onMounted as B, nextTick as H, unref as t, computed as I, openBlock as s, createElementBlock as l, normalizeClass as a, createBlock as x, createCommentVNode as C, createElementVNode as i, toDisplayString as k, createVNode as c, Fragment as L, renderList as M, withCtx as R, createTextVNode as q, renderSlot as F } from "vue";
2
2
  import "../divider/index.js";
3
- import { VftIcon as k } from "../icon/index.js";
3
+ import { VftIcon as T } from "../icon/index.js";
4
4
  import "../avatar/index.js";
5
5
  import "../empty/index.js";
6
6
  import "../result/index.js";
@@ -10,7 +10,7 @@ import "../collapse-transition/index.js";
10
10
  import "../tooltip/index.js";
11
11
  import "../popover/index.js";
12
12
  import "../menu/index.js";
13
- import { jumpElement as F, getRandomElementForArr as j, formatToDateTime as J, getDayTimestamp as O } from "@vft/utils";
13
+ import { jumpElement as j, getRandomElementForArr as J, formatToDateTime as O, getDayTimestamp as Y } from "@vft/utils";
14
14
  import "../context-menu/context-menu.vue2.js";
15
15
  import "../multiple-tabs/index.js";
16
16
  import "../header-layout/index.js";
@@ -19,15 +19,16 @@ import "../iframe-layout/index.js";
19
19
  import "../router-view-content/index.js";
20
20
  import "../logo/index.js";
21
21
  import "../back-top/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";
25
- import { VftIconText as Y } from "../icon-text/index.js";
26
+ import { VftIconText as G } from "../icon-text/index.js";
26
27
  import "../image/index.js";
27
28
  import "../input/index.js";
28
29
  import "../link/index.js";
29
30
  import "../pagination/index.js";
30
- import { VftTag as G } from "../tag/index.js";
31
+ import { VftTag as K } from "../tag/index.js";
31
32
  import "../side-menu/index.js";
32
33
  import "../qrcode/index.js";
33
34
  import "../overlay/index.js";
@@ -56,112 +57,117 @@ 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 "./index.js";
60
- import { VftMdComment as K } from "../md-comment/index.js";
66
+ import { VftMdComment as Q } from "../md-comment/index.js";
61
67
  import "../md-tabs/index.js";
62
68
  import "../md-vue-playground/index.js";
63
69
  import "../md-code-demo/index.js";
64
70
  import "../md-code-tabs/index.js";
65
71
  import "../message/index.js";
66
- import { useNamespace as Q } from "../../hooks/use-namespace/index.js";
72
+ import { useNamespace as U } from "../../hooks/use-namespace/index.js";
67
73
  import "@popperjs/core";
68
74
  import "lodash";
69
75
  import "../../hooks/use-z-index/index.js";
70
76
  import "@vueuse/core";
71
- import { primaryColor as U } from "../../utils/ns-cover.js";
72
- import { useRouterHelper as W } from "@vft/router";
73
- import { usePhotoSwipe as X, useEventListener as Z } from "@vft/use";
74
- import { useRoute as tt } from "vue-router";
75
- import ot from "./toc.js";
76
- import { useCopyCode as et } from "./use/useCopyCode.js";
77
- import { useActiveHeaderLinks as it } from "./use/useActiveHeaderLinks.js";
78
- import { COMP_TYPE as rt } from "./utils.js";
79
- const mt = { class: "info-container" }, pt = {
77
+ import { primaryColor as W } from "../../utils/ns-cover.js";
78
+ import { useRouterHelper as X } from "@vft/router";
79
+ import { usePhotoSwipe as Z, useEventListener as tt } from "@vft/use";
80
+ import { useRoute as ot } from "vue-router";
81
+ import et from "./toc.js";
82
+ import { useCopyCode as it } from "./use/useCopyCode.js";
83
+ import { useActiveHeaderLinks as rt } from "./use/useActiveHeaderLinks.js";
84
+ import { COMP_TYPE as mt } from "./utils.js";
85
+ const pt = { class: "info-container" }, st = {
80
86
  key: 0,
81
87
  class: "flex align-center"
82
- }, st = { class: "infos" }, nt = {
88
+ }, nt = { class: "infos" }, at = {
83
89
  class: "reading",
84
90
  title: "阅读量"
85
- }, at = ["data-path"], r = (
91
+ }, ct = ["data-path"], r = (
86
92
  /* hoist-static*/
87
- Q("md-container")
88
- ), ct = T({
93
+ U("md-container")
94
+ ), lt = V({
89
95
  name: r.b()
90
- }), Mo = /* @__PURE__ */ T({
91
- ...ct,
92
- setup(lt, { expose: V }) {
93
- const w = P(), { initPhotoSwipe: D } = X(`.${r.e("content")} img`);
94
- D(), it({}), et();
95
- const n = v(), m = tt();
96
+ }), Oo = /* @__PURE__ */ V({
97
+ ...lt,
98
+ setup(ut, { expose: w }) {
99
+ const u = $(), { initPhotoSwipe: D } = Z(`.${r.e("content")} img`);
100
+ D(), rt({}), it();
101
+ const n = y(), m = ot();
96
102
  B(() => {
97
103
  H(() => {
98
- n.value = w.exposed.infos, setTimeout(() => {
99
- F(m.hash.replace("#", ""));
104
+ n.value = u.exposed.infos, setTimeout(() => {
105
+ j(m.hash);
100
106
  });
101
107
  const e = document.querySelectorAll(".item.expand"), p = document.querySelectorAll("div.language-vue");
102
108
  for (let o = 0; o < e.length; o++)
103
- Z(e[o], "click", () => {
109
+ tt(e[o], "click", () => {
104
110
  p[o].offsetHeight === 0 ? (p[o].style.height = "auto", p[o].style.visibility = "visible") : (p[o].style.height = "0px", p[o].style.visibility = "hidden");
105
111
  });
106
112
  });
107
- }), V({
113
+ }), w({
108
114
  infos: t(n)
109
115
  });
110
- const b = location.pathname, { go: E } = W();
111
- function S(e) {
112
- E("/?tag=" + e);
116
+ const b = location.pathname, E = u.appContext.config.globalProperties.$router, { go: S } = X(E);
117
+ function z(e) {
118
+ S("/?tag=" + e);
113
119
  }
114
- const z = I(() => {
120
+ const A = I(() => {
115
121
  var e;
116
122
  return (e = m.meta.category) == null ? void 0 : e.includes("api");
117
- }), A = v(U());
123
+ }), N = y(W());
118
124
  return (e, p) => {
119
- var o, d, u, f, h, g;
125
+ var o, d, f, g, h, _;
120
126
  return s(), l("div", {
121
- class: a([t(r).b(), t(r).is("api", t(z))])
127
+ class: a([t(r).b(), t(r).is("api", t(A))])
122
128
  }, [
123
- (o = n.value) != null && o.sideData ? (s(), y(t(ot), {
129
+ (o = n.value) != null && o.sideData ? (s(), x(t(et), {
124
130
  key: 0,
125
131
  items: n.value.sideData
126
- }, null, 8, ["items"])) : x("", !0),
132
+ }, null, 8, ["items"])) : C("", !0),
127
133
  i("div", {
128
134
  class: a(t(r).e("header"))
129
135
  }, [
130
136
  i("h1", {
131
137
  class: a(t(r).e("title"))
132
- }, C((d = t(m).meta) == null ? void 0 : d.title), 3),
133
- i("div", mt, [
134
- (f = (u = t(m).meta) == null ? void 0 : u.category) != null && f.length ? (s(), l("div", pt, [
135
- c(t(k), {
138
+ }, k((d = t(m).meta) == null ? void 0 : d.title), 3),
139
+ i("div", pt, [
140
+ (g = (f = t(m).meta) == null ? void 0 : f.category) != null && g.length ? (s(), l("div", st, [
141
+ c(t(T), {
136
142
  size: 14,
137
- color: A.value,
143
+ color: N.value,
138
144
  icon: "ico-bx:category",
139
145
  class: "mr-8px"
140
146
  }, null, 8, ["color"]),
141
- (s(!0), l(L, null, M((h = t(m).meta) == null ? void 0 : h.category, (_, N) => (s(), y(t(G), {
147
+ (s(!0), l(L, null, M((h = t(m).meta) == null ? void 0 : h.category, (v, P) => (s(), x(t(K), {
142
148
  size: "small",
143
149
  class: "mr-5px cursor-pointer",
144
- type: t(j)(t(rt), 1)[0],
145
- key: N,
146
- onClick: (dt) => S(_)
150
+ type: t(J)(t(mt), 1)[0],
151
+ key: P,
152
+ onClick: (dt) => z(v)
147
153
  }, {
148
154
  default: R(() => [
149
- $(C(_), 1)
155
+ q(k(v), 1)
150
156
  ]),
151
157
  _: 2
152
158
  }, 1032, ["type", "onClick"]))), 128))
153
- ])) : x("", !0),
154
- i("div", st, [
155
- c(t(Y), {
159
+ ])) : C("", !0),
160
+ i("div", nt, [
161
+ c(t(G), {
156
162
  title: "发布时间",
157
163
  icon: "ico-uiw:date",
158
164
  size: 12,
159
165
  class: "mr-10px",
160
166
  distance: 5,
161
- text: t(J)(new Date((g = t(m).meta) == null ? void 0 : g.date).getTime() - t(O)())
167
+ text: t(O)(new Date((_ = t(m).meta) == null ? void 0 : _.date).getTime() - t(Y)())
162
168
  }, null, 8, ["text"]),
163
- i("div", nt, [
164
- c(t(k), {
169
+ i("div", at, [
170
+ c(t(T), {
165
171
  icon: "ico-flat-color-icons:reading",
166
172
  size: 14,
167
173
  class: "mr-5px"
@@ -169,7 +175,7 @@ const mt = { class: "info-container" }, pt = {
169
175
  i("div", {
170
176
  class: "waline-pageview-count lh-1",
171
177
  "data-path": t(b)
172
- }, "0", 8, at)
178
+ }, "0", 8, ct)
173
179
  ])
174
180
  ])
175
181
  ])
@@ -177,13 +183,13 @@ const mt = { class: "info-container" }, pt = {
177
183
  i("div", {
178
184
  class: a(t(r).e("content"))
179
185
  }, [
180
- q(e.$slots, "default")
186
+ F(e.$slots, "default")
181
187
  ], 2),
182
- c(t(K))
188
+ c(t(Q))
183
189
  ], 2);
184
190
  };
185
191
  }
186
192
  });
187
193
  export {
188
- Mo as default
194
+ Oo as default
189
195
  };
@@ -28,7 +28,7 @@ const C = ({ title: e, level: o, slug: t }) => n(
28
28
  ) : null;
29
29
  };
30
30
  function $(e, o) {
31
- e.preventDefault(), p(o);
31
+ e.preventDefault(), p("#" + o);
32
32
  }
33
33
  const D = d({
34
34
  props: {
@@ -1,22 +1,22 @@
1
- import { defineComponent as S, getCurrentInstance as M, inject as V, computed as l, reactive as Y, onMounted as D, onBeforeUnmount as F, openBlock as m, createElementBlock as p, Fragment as c, createBlock as s, unref as t, createCommentVNode as d, createElementVNode as u, normalizeClass as $, withCtx as j, renderSlot as f, normalizeProps as O, mergeProps as q, createVNode as G } from "vue";
2
- import { singleAttrToObj as H, renderTNode as J, VNode as K } from "@vft/utils";
3
- import { throwError as P } from "../../utils/error.js";
1
+ import { defineComponent as Y, getCurrentInstance as G, useAttrs as H, inject as M, computed as u, reactive as J, onMounted as K, onBeforeUnmount as L, openBlock as o, createElementBlock as d, Fragment as y, createBlock as l, unref as t, createCommentVNode as f, createElementVNode as x, normalizeClass as v, withCtx as P, renderSlot as A, normalizeProps as E, mergeProps as S, createVNode as Q } from "vue";
2
+ import { singleAttrToObj as R, renderTNode as W, VNode as X } from "@vft/utils";
3
+ import { throwError as T } from "../../utils/error.js";
4
4
  import "lodash";
5
5
  import "@vueuse/core";
6
6
  import "../../utils/ns-cover.js";
7
- import { useNamespace as v } from "../../hooks/use-namespace/index.js";
7
+ import { useNamespace as g } from "../../hooks/use-namespace/index.js";
8
8
  import "@popperjs/core";
9
9
  import "../../hooks/use-z-index/index.js";
10
- import L from "./use-menu.js";
11
- import { VftDivider as E } from "../divider/index.js";
12
- import { VftIcon as Q } from "../icon/index.js";
10
+ import Z from "./use-menu.js";
11
+ import { VftDivider as w } from "../divider/index.js";
12
+ import { VftIcon as z } from "../icon/index.js";
13
13
  import "../avatar/index.js";
14
14
  import "../empty/index.js";
15
15
  import "../result/index.js";
16
16
  import "../tabs/index.js";
17
17
  import "../popper/index.js";
18
18
  import "../collapse-transition/index.js";
19
- import { VftTooltip as R } from "../tooltip/index.js";
19
+ import { VftTooltip as _ } from "../tooltip/index.js";
20
20
  import "../popover/index.js";
21
21
  import "./index.js";
22
22
  import "../context-menu/context-menu.vue2.js";
@@ -27,6 +27,7 @@ import "../iframe-layout/index.js";
27
27
  import "../router-view-content/index.js";
28
28
  import "../logo/index.js";
29
29
  import "../back-top/index.js";
30
+ import "../container/index.js";
30
31
  import "../config-provider/index.js";
31
32
  import "../descriptions/index.js";
32
33
  import "../full-screen/index.js";
@@ -64,6 +65,11 @@ import "../image-viewer/index.js";
64
65
  import "../list-cell/index.js";
65
66
  import "../dialog/index.js";
66
67
  import "../date-time-select/index.js";
68
+ import "../col/index.js";
69
+ import "../row/index.js";
70
+ import "../horizontal-menu/index.js";
71
+ import "../time-picker/index.js";
72
+ import "../date-picker/index.js";
67
73
  import "../md-container/index.js";
68
74
  import "../md-comment/index.js";
69
75
  import "../md-tabs/index.js";
@@ -71,13 +77,14 @@ import "../md-vue-playground/index.js";
71
77
  import "../md-code-demo/index.js";
72
78
  import "../md-code-tabs/index.js";
73
79
  import "../message/index.js";
74
- const W = ["title"], k = (
80
+ const ee = ["title"], s = (
75
81
  /* hoist-static*/
76
- v("menu-item")
77
- ), X = S({
78
- name: k.b()
79
- }), yt = /* @__PURE__ */ S({
80
- ...X,
82
+ g("menu-item")
83
+ ), te = Y({
84
+ name: s.b(),
85
+ inheritAttrs: !1
86
+ }), It = /* @__PURE__ */ Y({
87
+ ...te,
81
88
  props: {
82
89
  index: null,
83
90
  route: null,
@@ -89,77 +96,97 @@ const W = ["title"], k = (
89
96
  className: null,
90
97
  reverse: { type: Boolean }
91
98
  },
92
- emits: ["click"],
93
- setup(e, { emit: T }) {
94
- const b = M(), w = v("menu"), a = v("menu-item"), i = e.isAloneUse ? null : V("rootMenu");
95
- !i && !e.isAloneUse && P(k.b(), "can not inject root menu");
96
- const { parentMenu: y, indexPath: g } = L(
97
- b,
98
- l(() => e.index)
99
- ), o = e.isAloneUse ? null : V(`subMenu:${y.value.uid}`);
100
- !o && !e.isAloneUse && P(k.b(), "can not inject sub menu");
101
- const h = l(() => e.index === (i == null ? void 0 : i.activeIndex)), n = Y({
99
+ emits: ["click", "mouseenter", "mouseleave"],
100
+ setup(e, { emit: k }) {
101
+ const U = G(), D = H(), F = g("menu"), b = g("menu-item"), i = e.isAloneUse ? null : M("rootMenu");
102
+ !i && !e.isAloneUse && T(s.b(), "can not inject root menu");
103
+ const { parentMenu: B, indexPath: C } = Z(
104
+ U,
105
+ u(() => e.index)
106
+ ), r = e.isAloneUse ? null : M(`subMenu:${B.value.uid}`);
107
+ !r && !e.isAloneUse && T(s.b(), "can not inject sub menu");
108
+ const N = u(() => e.index === (i == null ? void 0 : i.activeIndex)), n = J({
102
109
  index: e.index,
103
- indexPath: g,
104
- active: h
105
- }), z = () => {
110
+ indexPath: C,
111
+ active: N
112
+ }), O = () => {
106
113
  e.disabled || (i == null || i.handleMenuItemClick({
114
+ ...D,
107
115
  index: e.index,
108
- indexPath: g.value,
116
+ indexPath: C.value,
109
117
  route: e.route
110
- }), T("click", n));
111
- }, x = l(() => H(e.icon, "icon")), A = l(() => J(b, "title"));
112
- return D(() => {
113
- e.isAloneUse || (o == null || o.addSubMenu(n), i == null || i.addMenuItem(n));
114
- }), F(() => {
115
- e.isAloneUse || (o == null || o.removeSubMenu(n), i == null || i.removeMenuItem(n));
116
- }), (r, Z) => {
117
- var U, B, C, N, I;
118
- return m(), p(c, null, [
119
- e.reverse && e.divider ? (m(), s(t(E), {
118
+ }), k("click", n));
119
+ }, a = u(() => R(e.icon, "icon")), q = u(() => W(U, "title"));
120
+ return K(() => {
121
+ e.isAloneUse || (r == null || r.addSubMenu(n), i == null || i.addMenuItem(n));
122
+ }), L(() => {
123
+ e.isAloneUse || (r == null || r.removeSubMenu(n), i == null || i.removeMenuItem(n));
124
+ }), (m, p) => {
125
+ var $, I, V, h, j;
126
+ return o(), d(y, null, [
127
+ e.reverse && e.divider ? (o(), l(t(w), {
120
128
  key: 0,
121
129
  marginY: "0"
122
- })) : d("", !0),
123
- u("li", {
124
- class: $([e.className, t(a).b(), t(a).is("active", e.isAloneUse ? !1 : t(h)), t(a).is("disabled", e.disabled)]),
130
+ })) : f("", !0),
131
+ x("li", {
132
+ class: v([
133
+ e.className,
134
+ t(b).b(),
135
+ t(b).is("active", e.isAloneUse ? !1 : t(N)),
136
+ t(b).is("disabled", e.disabled)
137
+ ]),
138
+ onMouseenter: p[0] || (p[0] = (c) => k("mouseenter")),
139
+ onMouseleave: p[1] || (p[1] = (c) => k("mouseleave")),
125
140
  role: "menuitem",
126
141
  tabindex: "-1",
127
- onClick: z
142
+ onClick: O
128
143
  }, [
129
- ((B = (U = t(y)) == null ? void 0 : U.type) == null ? void 0 : B.name) === "vft-menu" && ((C = t(i)) != null && C.props.collapse) && r.$slots.title ? (m(), s(t(R), {
144
+ ((I = ($ = t(B)) == null ? void 0 : $.type) == null ? void 0 : I.name) === "vft-menu" && ((V = t(i)) != null && V.props.collapse) && m.$slots.title ? (o(), l(t(_), {
130
145
  key: 0,
131
146
  placement: "right",
132
147
  "fallback-placements": ["left"],
133
148
  persistent: ""
134
149
  }, {
135
- content: j(() => [
136
- f(r.$slots, "title")
137
- ]),
138
- default: j(() => [
139
- u("div", {
140
- class: $(t(w).be("tooltip", "trigger"))
141
- }, [
142
- f(r.$slots, "default")
143
- ], 2)
150
+ content: P(() => [
151
+ A(m.$slots, "title")
144
152
  ]),
153
+ default: P(() => {
154
+ var c;
155
+ return [
156
+ x("div", {
157
+ class: v(t(F).be("tooltip", "trigger"))
158
+ }, [
159
+ (c = t(a)) != null && c.icon ? (o(), l(t(z), E(S({ key: 0 }, t(a))), null, 16)) : f("", !0),
160
+ A(m.$slots, "default")
161
+ ], 2)
162
+ ];
163
+ }),
145
164
  _: 3
146
- })) : (m(), p(c, { key: 1 }, [
147
- (N = r.$slots) != null && N.default ? f(r.$slots, "default", { key: 0 }) : (m(), p(c, { key: 1 }, [
148
- (I = t(x)) != null && I.icon ? (m(), s(t(Q), O(q({ key: 0 }, t(x))), null, 16)) : d("", !0),
149
- u("span", { title: t(A) }, [
150
- G(t(K), { content: t(A) }, null, 8, ["content"])
151
- ], 8, W)
165
+ })) : (o(), d(y, { key: 1 }, [
166
+ (h = m.$slots) != null && h.default ? (o(), d("span", {
167
+ key: 0,
168
+ class: v(t(s).e("text"))
169
+ }, [
170
+ A(m.$slots, "default")
171
+ ], 2)) : (o(), d(y, { key: 1 }, [
172
+ (j = t(a)) != null && j.icon ? (o(), l(t(z), E(S({ key: 0 }, t(a))), null, 16)) : f("", !0),
173
+ x("span", {
174
+ class: v(t(s).e("text")),
175
+ title: e.title
176
+ }, [
177
+ Q(t(X), { content: t(q) }, null, 8, ["content"])
178
+ ], 10, ee)
152
179
  ], 64))
153
180
  ], 64))
154
- ], 2),
155
- !e.reverse && e.divider ? (m(), s(t(E), {
181
+ ], 34),
182
+ !e.reverse && e.divider ? (o(), l(t(w), {
156
183
  key: 1,
157
184
  marginY: "0"
158
- })) : d("", !0)
185
+ })) : f("", !0)
159
186
  ], 64);
160
187
  };
161
188
  }
162
189
  });
163
190
  export {
164
- yt as default
191
+ It as default
165
192
  };