persagy-vant 0.0.26 → 0.0.27

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 (548) hide show
  1. package/README.md +9 -7
  2. package/es/bot-mobile/BotFab.d.ts +72 -0
  3. package/es/bot-mobile/BotFab.mjs +152 -0
  4. package/es/bot-mobile/BotHistoryDrawer.d.ts +72 -0
  5. package/es/bot-mobile/BotHistoryDrawer.mjs +97 -0
  6. package/es/bot-mobile/BotMobile.d.ts +83 -0
  7. package/es/bot-mobile/BotMobile.mjs +47 -0
  8. package/es/bot-mobile/BotMobileContextTags.d.ts +52 -0
  9. package/es/bot-mobile/BotMobileContextTags.mjs +52 -0
  10. package/es/bot-mobile/BotMobilePrompts.d.ts +54 -0
  11. package/es/bot-mobile/BotMobilePrompts.mjs +49 -0
  12. package/es/bot-mobile/BotMobileSheet.d.ts +92 -0
  13. package/es/bot-mobile/BotMobileSheet.mjs +50 -0
  14. package/es/bot-mobile/BotMobileView.d.ts +82 -0
  15. package/es/bot-mobile/BotMobileView.mjs +45 -0
  16. package/es/bot-mobile/BotSessionList.d.ts +71 -0
  17. package/es/bot-mobile/BotSessionList.mjs +99 -0
  18. package/es/bot-mobile/BotVoiceBar.d.ts +80 -0
  19. package/es/bot-mobile/BotVoiceBar.mjs +138 -0
  20. package/es/bot-mobile/fab-position.d.ts +9 -0
  21. package/es/bot-mobile/fab-position.mjs +10 -0
  22. package/es/bot-mobile/fab-position.test.mjs +29 -0
  23. package/es/bot-mobile/index.css +1 -0
  24. package/es/bot-mobile/index.d.ts +469 -0
  25. package/es/bot-mobile/index.less +464 -0
  26. package/es/bot-mobile/index.mjs +50 -0
  27. package/es/bot-mobile/session-filter.d.ts +6 -0
  28. package/es/bot-mobile/session-filter.mjs +15 -0
  29. package/es/bot-mobile/session-item.d.ts +15 -0
  30. package/es/bot-mobile/session-item.mjs +73 -0
  31. package/es/bot-mobile/style/index.mjs +15 -0
  32. package/es/bot-mobile/style/less.mjs +15 -0
  33. package/es/bot-mobile/types.d.ts +23 -0
  34. package/es/bot-mobile/types.mjs +0 -0
  35. package/es/bot-mobile/var.css +0 -0
  36. package/es/bot-mobile/var.less +58 -0
  37. package/es/bot-mobile/voice-zone.d.ts +6 -0
  38. package/es/bot-mobile/voice-zone.mjs +6 -0
  39. package/es/bot-mobile/voice-zone.test.mjs +19 -0
  40. package/es/cascader/Cascader.d.ts +1 -1
  41. package/es/cascader/index.d.ts +1 -1
  42. package/es/coupon-list/style/index.mjs +1 -1
  43. package/es/coupon-list/style/less.mjs +1 -1
  44. package/es/icon/base-iconfont.css +1 -0
  45. package/es/icon/base-iconfont.less +1144 -0
  46. package/es/icon/config.d.ts +7 -0
  47. package/es/icon/config.mjs +268 -0
  48. package/es/icon/index.less +1 -1
  49. package/es/icon/latest-iconfont.less +1 -1
  50. package/es/index.d.ts +2 -1
  51. package/es/index.mjs +4 -1
  52. package/es/location-select/style/index.mjs +1 -1
  53. package/es/location-select/style/less.mjs +1 -1
  54. package/es/material-add/MaterialAdd.d.ts +1 -1
  55. package/es/material-add/index.d.ts +1 -1
  56. package/es/quantity-input/QuantityInput.d.ts +1 -1
  57. package/es/quantity-input/index.d.ts +2 -2
  58. package/es/sticky/Sticky.d.ts +1 -1
  59. package/es/sticky/index.d.ts +1 -1
  60. package/lib/bot-mobile/BotFab.d.ts +72 -0
  61. package/lib/bot-mobile/BotFab.js +171 -0
  62. package/lib/bot-mobile/BotHistoryDrawer.d.ts +72 -0
  63. package/lib/bot-mobile/BotHistoryDrawer.js +116 -0
  64. package/lib/bot-mobile/BotMobile.d.ts +83 -0
  65. package/lib/bot-mobile/BotMobile.js +66 -0
  66. package/lib/bot-mobile/BotMobileContextTags.d.ts +52 -0
  67. package/lib/bot-mobile/BotMobileContextTags.js +71 -0
  68. package/lib/bot-mobile/BotMobilePrompts.d.ts +54 -0
  69. package/lib/bot-mobile/BotMobilePrompts.js +68 -0
  70. package/lib/bot-mobile/BotMobileSheet.d.ts +92 -0
  71. package/lib/bot-mobile/BotMobileSheet.js +79 -0
  72. package/lib/bot-mobile/BotMobileView.d.ts +82 -0
  73. package/lib/bot-mobile/BotMobileView.js +64 -0
  74. package/lib/bot-mobile/BotSessionList.d.ts +71 -0
  75. package/lib/bot-mobile/BotSessionList.js +118 -0
  76. package/lib/bot-mobile/BotVoiceBar.d.ts +80 -0
  77. package/lib/bot-mobile/BotVoiceBar.js +157 -0
  78. package/lib/bot-mobile/fab-position.d.ts +9 -0
  79. package/lib/bot-mobile/fab-position.js +29 -0
  80. package/lib/bot-mobile/fab-position.test.js +29 -0
  81. package/lib/bot-mobile/index.css +1 -0
  82. package/lib/bot-mobile/index.d.ts +469 -0
  83. package/lib/bot-mobile/index.js +79 -0
  84. package/lib/bot-mobile/index.less +464 -0
  85. package/lib/bot-mobile/session-filter.d.ts +6 -0
  86. package/lib/bot-mobile/session-filter.js +34 -0
  87. package/lib/bot-mobile/session-item.d.ts +15 -0
  88. package/lib/bot-mobile/session-item.js +92 -0
  89. package/lib/bot-mobile/style/index.js +15 -0
  90. package/lib/bot-mobile/style/less.js +15 -0
  91. package/lib/bot-mobile/types.d.ts +23 -0
  92. package/lib/bot-mobile/types.js +15 -0
  93. package/lib/bot-mobile/var.css +0 -0
  94. package/lib/bot-mobile/var.less +58 -0
  95. package/lib/bot-mobile/voice-zone.d.ts +6 -0
  96. package/lib/bot-mobile/voice-zone.js +25 -0
  97. package/lib/bot-mobile/voice-zone.test.js +19 -0
  98. package/lib/cascader/Cascader.d.ts +1 -1
  99. package/lib/cascader/index.d.ts +1 -1
  100. package/lib/coupon-list/style/index.js +1 -1
  101. package/lib/coupon-list/style/less.js +1 -1
  102. package/lib/icon/base-iconfont.css +1 -0
  103. package/lib/icon/base-iconfont.less +1144 -0
  104. package/lib/icon/config.d.ts +7 -0
  105. package/lib/icon/config.js +287 -0
  106. package/lib/icon/index.less +1 -1
  107. package/lib/icon/latest-iconfont.less +1 -1
  108. package/lib/index.css +1 -1
  109. package/lib/index.d.ts +2 -1
  110. package/lib/index.js +4 -1
  111. package/lib/index.less +5 -4
  112. package/lib/location-select/style/index.js +1 -1
  113. package/lib/location-select/style/less.js +1 -1
  114. package/lib/material-add/MaterialAdd.d.ts +1 -1
  115. package/lib/material-add/index.d.ts +1 -1
  116. package/lib/quantity-input/QuantityInput.d.ts +1 -1
  117. package/lib/quantity-input/index.d.ts +2 -2
  118. package/lib/sticky/Sticky.d.ts +1 -1
  119. package/lib/sticky/index.d.ts +1 -1
  120. package/lib/vant.cjs.js +1798 -1028
  121. package/lib/vant.es.js +1798 -1028
  122. package/lib/vant.js +21938 -10365
  123. package/lib/vant.min.js +1 -1
  124. package/lib/web-types.json +1 -1
  125. package/package.json +1 -1
  126. package/skills/use-persagy-vant/SKILL.md +2 -2
  127. package/skills/use-persagy-vant/references/business-component-catalog.md +1 -1
  128. package/skills/use-persagy-vant/references/component-catalog.md +1 -1
  129. package/es/action-bar/style/index.d.ts +0 -1
  130. package/es/action-bar/style/less.d.ts +0 -1
  131. package/es/action-sheet/style/index.d.ts +0 -1
  132. package/es/action-sheet/style/less.d.ts +0 -1
  133. package/es/address-edit/style/index.d.ts +0 -1
  134. package/es/address-edit/style/less.d.ts +0 -1
  135. package/es/address-list/style/index.d.ts +0 -1
  136. package/es/address-list/style/less.d.ts +0 -1
  137. package/es/area/style/index.d.ts +0 -1
  138. package/es/area/style/less.d.ts +0 -1
  139. package/es/background/style/index.d.ts +0 -1
  140. package/es/background/style/less.d.ts +0 -1
  141. package/es/badge/style/index.d.ts +0 -1
  142. package/es/badge/style/less.d.ts +0 -1
  143. package/es/blue-mark/style/index.d.ts +0 -1
  144. package/es/blue-mark/style/less.d.ts +0 -1
  145. package/es/bottom-action-bar/style/index.d.ts +0 -1
  146. package/es/bottom-action-bar/style/less.d.ts +0 -1
  147. package/es/button/style/index.d.ts +0 -1
  148. package/es/button/style/less.d.ts +0 -1
  149. package/es/calendar/style/index.d.ts +0 -1
  150. package/es/calendar/style/less.d.ts +0 -1
  151. package/es/card/style/index.d.ts +0 -1
  152. package/es/card/style/less.d.ts +0 -1
  153. package/es/cascader/style/index.d.ts +0 -1
  154. package/es/cascader/style/less.d.ts +0 -1
  155. package/es/cell/style/index.d.ts +0 -1
  156. package/es/cell/style/less.d.ts +0 -1
  157. package/es/cell-group/style/index.d.ts +0 -1
  158. package/es/cell-group/style/less.d.ts +0 -1
  159. package/es/checkbox/style/index.d.ts +0 -1
  160. package/es/checkbox/style/less.d.ts +0 -1
  161. package/es/checkbox-group/style/index.d.ts +0 -1
  162. package/es/checkbox-group/style/less.d.ts +0 -1
  163. package/es/checkbox-panel/style/index.d.ts +0 -1
  164. package/es/checkbox-panel/style/less.d.ts +0 -1
  165. package/es/circle/style/index.d.ts +0 -1
  166. package/es/circle/style/less.d.ts +0 -1
  167. package/es/col/style/index.d.ts +0 -1
  168. package/es/col/style/less.d.ts +0 -1
  169. package/es/collapse/style/index.d.ts +0 -1
  170. package/es/collapse/style/less.d.ts +0 -1
  171. package/es/collapse-item/style/index.d.ts +0 -1
  172. package/es/collapse-item/style/less.d.ts +0 -1
  173. package/es/config-provider/style/index.d.ts +0 -1
  174. package/es/config-provider/style/less.d.ts +0 -1
  175. package/es/contact-card/style/index.d.ts +0 -1
  176. package/es/contact-card/style/less.d.ts +0 -1
  177. package/es/contact-edit/style/index.d.ts +0 -1
  178. package/es/contact-edit/style/less.d.ts +0 -1
  179. package/es/contact-list/style/index.d.ts +0 -1
  180. package/es/contact-list/style/less.d.ts +0 -1
  181. package/es/count-down/style/index.d.ts +0 -1
  182. package/es/count-down/style/less.d.ts +0 -1
  183. package/es/coupon/style/index.d.ts +0 -1
  184. package/es/coupon/style/less.d.ts +0 -1
  185. package/es/coupon-cell/style/index.d.ts +0 -1
  186. package/es/coupon-cell/style/less.d.ts +0 -1
  187. package/es/coupon-list/style/index.d.ts +0 -1
  188. package/es/coupon-list/style/less.d.ts +0 -1
  189. package/es/datetime-picker/style/index.d.ts +0 -1
  190. package/es/datetime-picker/style/less.d.ts +0 -1
  191. package/es/dialog/style/index.d.ts +0 -1
  192. package/es/dialog/style/less.d.ts +0 -1
  193. package/es/divider/style/index.d.ts +0 -1
  194. package/es/divider/style/less.d.ts +0 -1
  195. package/es/dropdown-item/style/index.d.ts +0 -1
  196. package/es/dropdown-item/style/less.d.ts +0 -1
  197. package/es/dropdown-menu/style/index.d.ts +0 -1
  198. package/es/dropdown-menu/style/less.d.ts +0 -1
  199. package/es/empty/style/index.d.ts +0 -1
  200. package/es/empty/style/less.d.ts +0 -1
  201. package/es/field/style/index.d.ts +0 -1
  202. package/es/field/style/less.d.ts +0 -1
  203. package/es/filter-tag/style/index.d.ts +0 -1
  204. package/es/filter-tag/style/less.d.ts +0 -1
  205. package/es/floor-select/style/index.d.ts +0 -1
  206. package/es/floor-select/style/less.d.ts +0 -1
  207. package/es/form/style/index.d.ts +0 -1
  208. package/es/form/style/less.d.ts +0 -1
  209. package/es/form-panel/style/index.d.ts +0 -1
  210. package/es/form-panel/style/less.d.ts +0 -1
  211. package/es/friendly-tip/style/index.d.ts +0 -1
  212. package/es/friendly-tip/style/less.d.ts +0 -1
  213. package/es/grid/style/index.d.ts +0 -1
  214. package/es/grid/style/less.d.ts +0 -1
  215. package/es/grid-item/style/index.d.ts +0 -1
  216. package/es/grid-item/style/less.d.ts +0 -1
  217. package/es/icon/style/index.d.ts +0 -1
  218. package/es/icon/style/less.d.ts +0 -1
  219. package/es/image/style/index.d.ts +0 -1
  220. package/es/image/style/less.d.ts +0 -1
  221. package/es/image-preview/style/index.d.ts +0 -1
  222. package/es/image-preview/style/less.d.ts +0 -1
  223. package/es/index-anchor/style/index.d.ts +0 -1
  224. package/es/index-anchor/style/less.d.ts +0 -1
  225. package/es/index-bar/style/index.d.ts +0 -1
  226. package/es/index-bar/style/less.d.ts +0 -1
  227. package/es/lazyload/style/index.d.ts +0 -1
  228. package/es/lazyload/style/less.d.ts +0 -1
  229. package/es/list/style/index.d.ts +0 -1
  230. package/es/list/style/less.d.ts +0 -1
  231. package/es/loading/style/index.d.ts +0 -1
  232. package/es/loading/style/less.d.ts +0 -1
  233. package/es/locale/style/index.d.ts +0 -1
  234. package/es/locale/style/less.d.ts +0 -1
  235. package/es/location-select/style/index.d.ts +0 -1
  236. package/es/location-select/style/less.d.ts +0 -1
  237. package/es/material-add/style/index.d.ts +0 -1
  238. package/es/material-add/style/less.d.ts +0 -1
  239. package/es/multi-person-select/style/index.d.ts +0 -1
  240. package/es/multi-person-select/style/less.d.ts +0 -1
  241. package/es/nav-bar/style/index.d.ts +0 -1
  242. package/es/nav-bar/style/less.d.ts +0 -1
  243. package/es/notice-bar/style/index.d.ts +0 -1
  244. package/es/notice-bar/style/less.d.ts +0 -1
  245. package/es/notify/style/index.d.ts +0 -1
  246. package/es/notify/style/less.d.ts +0 -1
  247. package/es/number-keyboard/style/index.d.ts +0 -1
  248. package/es/number-keyboard/style/less.d.ts +0 -1
  249. package/es/object-select/style/index.d.ts +0 -1
  250. package/es/object-select/style/less.d.ts +0 -1
  251. package/es/overlay/style/index.d.ts +0 -1
  252. package/es/overlay/style/less.d.ts +0 -1
  253. package/es/pagination/style/index.d.ts +0 -1
  254. package/es/pagination/style/less.d.ts +0 -1
  255. package/es/password-input/style/index.d.ts +0 -1
  256. package/es/password-input/style/less.d.ts +0 -1
  257. package/es/picker/style/index.d.ts +0 -1
  258. package/es/picker/style/less.d.ts +0 -1
  259. package/es/popover/style/index.d.ts +0 -1
  260. package/es/popover/style/less.d.ts +0 -1
  261. package/es/popup/style/index.d.ts +0 -1
  262. package/es/popup/style/less.d.ts +0 -1
  263. package/es/progress/style/index.d.ts +0 -1
  264. package/es/progress/style/less.d.ts +0 -1
  265. package/es/pull-refresh/style/index.d.ts +0 -1
  266. package/es/pull-refresh/style/less.d.ts +0 -1
  267. package/es/quantity-input/style/index.d.ts +0 -1
  268. package/es/quantity-input/style/less.d.ts +0 -1
  269. package/es/radio/style/index.d.ts +0 -1
  270. package/es/radio/style/less.d.ts +0 -1
  271. package/es/radio-group/style/index.d.ts +0 -1
  272. package/es/radio-group/style/less.d.ts +0 -1
  273. package/es/radio-panel/style/index.d.ts +0 -1
  274. package/es/radio-panel/style/less.d.ts +0 -1
  275. package/es/rate/style/index.d.ts +0 -1
  276. package/es/rate/style/less.d.ts +0 -1
  277. package/es/row/style/index.d.ts +0 -1
  278. package/es/row/style/less.d.ts +0 -1
  279. package/es/search/style/index.d.ts +0 -1
  280. package/es/search/style/less.d.ts +0 -1
  281. package/es/share-sheet/style/index.d.ts +0 -1
  282. package/es/share-sheet/style/less.d.ts +0 -1
  283. package/es/sidebar/style/index.d.ts +0 -1
  284. package/es/sidebar/style/less.d.ts +0 -1
  285. package/es/sidebar-item/style/index.d.ts +0 -1
  286. package/es/sidebar-item/style/less.d.ts +0 -1
  287. package/es/single-person-select/style/index.d.ts +0 -1
  288. package/es/single-person-select/style/less.d.ts +0 -1
  289. package/es/skeleton/style/index.d.ts +0 -1
  290. package/es/skeleton/style/less.d.ts +0 -1
  291. package/es/slider/style/index.d.ts +0 -1
  292. package/es/slider/style/less.d.ts +0 -1
  293. package/es/space/style/index.d.ts +0 -1
  294. package/es/space/style/less.d.ts +0 -1
  295. package/es/step/style/index.d.ts +0 -1
  296. package/es/step/style/less.d.ts +0 -1
  297. package/es/stepper/style/index.d.ts +0 -1
  298. package/es/stepper/style/less.d.ts +0 -1
  299. package/es/steps/style/index.d.ts +0 -1
  300. package/es/steps/style/less.d.ts +0 -1
  301. package/es/sticky/style/index.d.ts +0 -1
  302. package/es/sticky/style/less.d.ts +0 -1
  303. package/es/submit-bar/style/index.d.ts +0 -1
  304. package/es/submit-bar/style/less.d.ts +0 -1
  305. package/es/swipe/style/index.d.ts +0 -1
  306. package/es/swipe/style/less.d.ts +0 -1
  307. package/es/swipe-cell/style/index.d.ts +0 -1
  308. package/es/swipe-cell/style/less.d.ts +0 -1
  309. package/es/swipe-item/style/index.d.ts +0 -1
  310. package/es/swipe-item/style/less.d.ts +0 -1
  311. package/es/switch/style/index.d.ts +0 -1
  312. package/es/switch/style/less.d.ts +0 -1
  313. package/es/tab/style/index.d.ts +0 -1
  314. package/es/tab/style/less.d.ts +0 -1
  315. package/es/tabbar/style/index.d.ts +0 -1
  316. package/es/tabbar/style/less.d.ts +0 -1
  317. package/es/tabbar-item/style/index.d.ts +0 -1
  318. package/es/tabbar-item/style/less.d.ts +0 -1
  319. package/es/tabs/style/index.d.ts +0 -1
  320. package/es/tabs/style/less.d.ts +0 -1
  321. package/es/tag/style/index.d.ts +0 -1
  322. package/es/tag/style/less.d.ts +0 -1
  323. package/es/toast/style/index.d.ts +0 -1
  324. package/es/toast/style/less.d.ts +0 -1
  325. package/es/tree-select/style/index.d.ts +0 -1
  326. package/es/tree-select/style/less.d.ts +0 -1
  327. package/es/uploader/style/index.d.ts +0 -1
  328. package/es/uploader/style/less.d.ts +0 -1
  329. package/es/video-preview/style/index.d.ts +0 -1
  330. package/es/video-preview/style/less.d.ts +0 -1
  331. package/es/work-order-card/style/index.d.ts +0 -1
  332. package/es/work-order-card/style/less.d.ts +0 -1
  333. package/es/work-order-filter/style/index.d.ts +0 -1
  334. package/es/work-order-filter/style/less.d.ts +0 -1
  335. package/lib/action-bar/style/index.d.ts +0 -1
  336. package/lib/action-bar/style/less.d.ts +0 -1
  337. package/lib/action-bar-button/style/index.d.ts +0 -1
  338. package/lib/action-bar-button/style/less.d.ts +0 -1
  339. package/lib/action-bar-icon/style/index.d.ts +0 -1
  340. package/lib/action-bar-icon/style/less.d.ts +0 -1
  341. package/lib/action-sheet/style/index.d.ts +0 -1
  342. package/lib/action-sheet/style/less.d.ts +0 -1
  343. package/lib/address-edit/style/index.d.ts +0 -1
  344. package/lib/address-edit/style/less.d.ts +0 -1
  345. package/lib/address-list/style/index.d.ts +0 -1
  346. package/lib/address-list/style/less.d.ts +0 -1
  347. package/lib/area/style/index.d.ts +0 -1
  348. package/lib/area/style/less.d.ts +0 -1
  349. package/lib/background/style/index.d.ts +0 -1
  350. package/lib/background/style/less.d.ts +0 -1
  351. package/lib/badge/style/index.d.ts +0 -1
  352. package/lib/badge/style/less.d.ts +0 -1
  353. package/lib/blue-mark/style/index.d.ts +0 -1
  354. package/lib/blue-mark/style/less.d.ts +0 -1
  355. package/lib/bottom-action-bar/style/index.d.ts +0 -1
  356. package/lib/bottom-action-bar/style/less.d.ts +0 -1
  357. package/lib/button/style/index.d.ts +0 -1
  358. package/lib/button/style/less.d.ts +0 -1
  359. package/lib/calendar/style/index.d.ts +0 -1
  360. package/lib/calendar/style/less.d.ts +0 -1
  361. package/lib/card/style/index.d.ts +0 -1
  362. package/lib/card/style/less.d.ts +0 -1
  363. package/lib/cascader/style/index.d.ts +0 -1
  364. package/lib/cascader/style/less.d.ts +0 -1
  365. package/lib/cell/style/index.d.ts +0 -1
  366. package/lib/cell/style/less.d.ts +0 -1
  367. package/lib/cell-group/style/index.d.ts +0 -1
  368. package/lib/cell-group/style/less.d.ts +0 -1
  369. package/lib/checkbox/style/index.d.ts +0 -1
  370. package/lib/checkbox/style/less.d.ts +0 -1
  371. package/lib/checkbox-group/style/index.d.ts +0 -1
  372. package/lib/checkbox-group/style/less.d.ts +0 -1
  373. package/lib/checkbox-panel/style/index.d.ts +0 -1
  374. package/lib/checkbox-panel/style/less.d.ts +0 -1
  375. package/lib/circle/style/index.d.ts +0 -1
  376. package/lib/circle/style/less.d.ts +0 -1
  377. package/lib/col/style/index.d.ts +0 -1
  378. package/lib/col/style/less.d.ts +0 -1
  379. package/lib/collapse/style/index.d.ts +0 -1
  380. package/lib/collapse/style/less.d.ts +0 -1
  381. package/lib/collapse-item/style/index.d.ts +0 -1
  382. package/lib/collapse-item/style/less.d.ts +0 -1
  383. package/lib/config-provider/style/index.d.ts +0 -1
  384. package/lib/config-provider/style/less.d.ts +0 -1
  385. package/lib/contact-card/style/index.d.ts +0 -1
  386. package/lib/contact-card/style/less.d.ts +0 -1
  387. package/lib/contact-edit/style/index.d.ts +0 -1
  388. package/lib/contact-edit/style/less.d.ts +0 -1
  389. package/lib/contact-list/style/index.d.ts +0 -1
  390. package/lib/contact-list/style/less.d.ts +0 -1
  391. package/lib/count-down/style/index.d.ts +0 -1
  392. package/lib/count-down/style/less.d.ts +0 -1
  393. package/lib/coupon/style/index.d.ts +0 -1
  394. package/lib/coupon/style/less.d.ts +0 -1
  395. package/lib/coupon-cell/style/index.d.ts +0 -1
  396. package/lib/coupon-cell/style/less.d.ts +0 -1
  397. package/lib/coupon-list/style/index.d.ts +0 -1
  398. package/lib/coupon-list/style/less.d.ts +0 -1
  399. package/lib/datetime-picker/style/index.d.ts +0 -1
  400. package/lib/datetime-picker/style/less.d.ts +0 -1
  401. package/lib/dialog/style/index.d.ts +0 -1
  402. package/lib/dialog/style/less.d.ts +0 -1
  403. package/lib/divider/style/index.d.ts +0 -1
  404. package/lib/divider/style/less.d.ts +0 -1
  405. package/lib/dropdown-item/style/index.d.ts +0 -1
  406. package/lib/dropdown-item/style/less.d.ts +0 -1
  407. package/lib/dropdown-menu/style/index.d.ts +0 -1
  408. package/lib/dropdown-menu/style/less.d.ts +0 -1
  409. package/lib/empty/style/index.d.ts +0 -1
  410. package/lib/empty/style/less.d.ts +0 -1
  411. package/lib/field/style/index.d.ts +0 -1
  412. package/lib/field/style/less.d.ts +0 -1
  413. package/lib/filter-tag/style/index.d.ts +0 -1
  414. package/lib/filter-tag/style/less.d.ts +0 -1
  415. package/lib/floor-select/style/index.d.ts +0 -1
  416. package/lib/floor-select/style/less.d.ts +0 -1
  417. package/lib/form/style/index.d.ts +0 -1
  418. package/lib/form/style/less.d.ts +0 -1
  419. package/lib/form-panel/style/index.d.ts +0 -1
  420. package/lib/form-panel/style/less.d.ts +0 -1
  421. package/lib/friendly-tip/style/index.d.ts +0 -1
  422. package/lib/friendly-tip/style/less.d.ts +0 -1
  423. package/lib/grid/style/index.d.ts +0 -1
  424. package/lib/grid/style/less.d.ts +0 -1
  425. package/lib/grid-item/style/index.d.ts +0 -1
  426. package/lib/grid-item/style/less.d.ts +0 -1
  427. package/lib/icon/style/index.d.ts +0 -1
  428. package/lib/icon/style/less.d.ts +0 -1
  429. package/lib/image/style/index.d.ts +0 -1
  430. package/lib/image/style/less.d.ts +0 -1
  431. package/lib/image-preview/style/index.d.ts +0 -1
  432. package/lib/image-preview/style/less.d.ts +0 -1
  433. package/lib/index-anchor/style/index.d.ts +0 -1
  434. package/lib/index-anchor/style/less.d.ts +0 -1
  435. package/lib/index-bar/style/index.d.ts +0 -1
  436. package/lib/index-bar/style/less.d.ts +0 -1
  437. package/lib/lazyload/style/index.d.ts +0 -1
  438. package/lib/lazyload/style/less.d.ts +0 -1
  439. package/lib/list/style/index.d.ts +0 -1
  440. package/lib/list/style/less.d.ts +0 -1
  441. package/lib/loading/style/index.d.ts +0 -1
  442. package/lib/loading/style/less.d.ts +0 -1
  443. package/lib/locale/style/index.d.ts +0 -1
  444. package/lib/locale/style/less.d.ts +0 -1
  445. package/lib/location-select/style/index.d.ts +0 -1
  446. package/lib/location-select/style/less.d.ts +0 -1
  447. package/lib/material-add/style/index.d.ts +0 -1
  448. package/lib/material-add/style/less.d.ts +0 -1
  449. package/lib/multi-person-select/style/index.d.ts +0 -1
  450. package/lib/multi-person-select/style/less.d.ts +0 -1
  451. package/lib/nav-bar/style/index.d.ts +0 -1
  452. package/lib/nav-bar/style/less.d.ts +0 -1
  453. package/lib/notice-bar/style/index.d.ts +0 -1
  454. package/lib/notice-bar/style/less.d.ts +0 -1
  455. package/lib/notify/style/index.d.ts +0 -1
  456. package/lib/notify/style/less.d.ts +0 -1
  457. package/lib/number-keyboard/style/index.d.ts +0 -1
  458. package/lib/number-keyboard/style/less.d.ts +0 -1
  459. package/lib/object-select/style/index.d.ts +0 -1
  460. package/lib/object-select/style/less.d.ts +0 -1
  461. package/lib/overlay/style/index.d.ts +0 -1
  462. package/lib/overlay/style/less.d.ts +0 -1
  463. package/lib/pagination/style/index.d.ts +0 -1
  464. package/lib/pagination/style/less.d.ts +0 -1
  465. package/lib/password-input/style/index.d.ts +0 -1
  466. package/lib/password-input/style/less.d.ts +0 -1
  467. package/lib/picker/style/index.d.ts +0 -1
  468. package/lib/picker/style/less.d.ts +0 -1
  469. package/lib/popover/style/index.d.ts +0 -1
  470. package/lib/popover/style/less.d.ts +0 -1
  471. package/lib/popup/style/index.d.ts +0 -1
  472. package/lib/popup/style/less.d.ts +0 -1
  473. package/lib/progress/style/index.d.ts +0 -1
  474. package/lib/progress/style/less.d.ts +0 -1
  475. package/lib/pull-refresh/style/index.d.ts +0 -1
  476. package/lib/pull-refresh/style/less.d.ts +0 -1
  477. package/lib/quantity-input/style/index.d.ts +0 -1
  478. package/lib/quantity-input/style/less.d.ts +0 -1
  479. package/lib/radio/style/index.d.ts +0 -1
  480. package/lib/radio/style/less.d.ts +0 -1
  481. package/lib/radio-group/style/index.d.ts +0 -1
  482. package/lib/radio-group/style/less.d.ts +0 -1
  483. package/lib/radio-panel/style/index.d.ts +0 -1
  484. package/lib/radio-panel/style/less.d.ts +0 -1
  485. package/lib/rate/style/index.d.ts +0 -1
  486. package/lib/rate/style/less.d.ts +0 -1
  487. package/lib/row/style/index.d.ts +0 -1
  488. package/lib/row/style/less.d.ts +0 -1
  489. package/lib/search/style/index.d.ts +0 -1
  490. package/lib/search/style/less.d.ts +0 -1
  491. package/lib/share-sheet/style/index.d.ts +0 -1
  492. package/lib/share-sheet/style/less.d.ts +0 -1
  493. package/lib/sidebar/style/index.d.ts +0 -1
  494. package/lib/sidebar/style/less.d.ts +0 -1
  495. package/lib/sidebar-item/style/index.d.ts +0 -1
  496. package/lib/sidebar-item/style/less.d.ts +0 -1
  497. package/lib/single-person-select/style/index.d.ts +0 -1
  498. package/lib/single-person-select/style/less.d.ts +0 -1
  499. package/lib/skeleton/style/index.d.ts +0 -1
  500. package/lib/skeleton/style/less.d.ts +0 -1
  501. package/lib/slider/style/index.d.ts +0 -1
  502. package/lib/slider/style/less.d.ts +0 -1
  503. package/lib/space/style/index.d.ts +0 -1
  504. package/lib/space/style/less.d.ts +0 -1
  505. package/lib/step/style/index.d.ts +0 -1
  506. package/lib/step/style/less.d.ts +0 -1
  507. package/lib/stepper/style/index.d.ts +0 -1
  508. package/lib/stepper/style/less.d.ts +0 -1
  509. package/lib/steps/style/index.d.ts +0 -1
  510. package/lib/steps/style/less.d.ts +0 -1
  511. package/lib/sticky/style/index.d.ts +0 -1
  512. package/lib/sticky/style/less.d.ts +0 -1
  513. package/lib/submit-bar/style/index.d.ts +0 -1
  514. package/lib/submit-bar/style/less.d.ts +0 -1
  515. package/lib/swipe/style/index.d.ts +0 -1
  516. package/lib/swipe/style/less.d.ts +0 -1
  517. package/lib/swipe-cell/style/index.d.ts +0 -1
  518. package/lib/swipe-cell/style/less.d.ts +0 -1
  519. package/lib/swipe-item/style/index.d.ts +0 -1
  520. package/lib/swipe-item/style/less.d.ts +0 -1
  521. package/lib/switch/style/index.d.ts +0 -1
  522. package/lib/switch/style/less.d.ts +0 -1
  523. package/lib/tab/style/index.d.ts +0 -1
  524. package/lib/tab/style/less.d.ts +0 -1
  525. package/lib/tabbar/style/index.d.ts +0 -1
  526. package/lib/tabbar/style/less.d.ts +0 -1
  527. package/lib/tabbar-item/style/index.d.ts +0 -1
  528. package/lib/tabbar-item/style/less.d.ts +0 -1
  529. package/lib/tabs/style/index.d.ts +0 -1
  530. package/lib/tabs/style/less.d.ts +0 -1
  531. package/lib/tag/style/index.d.ts +0 -1
  532. package/lib/tag/style/less.d.ts +0 -1
  533. package/lib/toast/style/index.d.ts +0 -1
  534. package/lib/toast/style/less.d.ts +0 -1
  535. package/lib/tree-select/style/index.d.ts +0 -1
  536. package/lib/tree-select/style/less.d.ts +0 -1
  537. package/lib/uploader/style/index.d.ts +0 -1
  538. package/lib/uploader/style/less.d.ts +0 -1
  539. package/lib/video-preview/style/index.d.ts +0 -1
  540. package/lib/video-preview/style/less.d.ts +0 -1
  541. package/lib/work-order-card/style/index.d.ts +0 -1
  542. package/lib/work-order-card/style/less.d.ts +0 -1
  543. package/lib/work-order-filter/style/index.d.ts +0 -1
  544. package/lib/work-order-filter/style/less.d.ts +0 -1
  545. /package/es/{action-bar-button/style/index.d.ts → bot-mobile/fab-position.test.d.ts} +0 -0
  546. /package/es/{action-bar-button/style/less.d.ts → bot-mobile/voice-zone.test.d.ts} +0 -0
  547. /package/{es/action-bar-icon/style/index.d.ts → lib/bot-mobile/fab-position.test.d.ts} +0 -0
  548. /package/{es/action-bar-icon/style/less.d.ts → lib/bot-mobile/voice-zone.test.d.ts} +0 -0
@@ -0,0 +1,464 @@
1
+ @import './var.less';
2
+
3
+ :root {
4
+ --van-bot-mobile-primary-color: @bot-mobile-primary-color;
5
+ --van-bot-mobile-text-color: @bot-mobile-text-color;
6
+ --van-bot-mobile-border-color: @bot-mobile-border-color;
7
+ --van-bot-mobile-background-color: @bot-mobile-background-color;
8
+ --van-bot-mobile-prompts-title-color: @bot-mobile-prompts-title-color;
9
+ --van-bot-mobile-prompts-title-font-size: @bot-mobile-prompts-title-font-size;
10
+ --van-bot-mobile-prompts-item-background: @bot-mobile-prompts-item-background;
11
+ --van-bot-mobile-prompts-item-border-color: @bot-mobile-prompts-item-border-color;
12
+ --van-bot-mobile-prompts-item-active-background: @bot-mobile-prompts-item-active-background;
13
+ --van-bot-mobile-prompts-item-selected-background: @bot-mobile-prompts-item-selected-background;
14
+ --van-bot-mobile-prompts-item-selected-border-color: @bot-mobile-prompts-item-selected-border-color;
15
+ --van-bot-mobile-prompts-item-selected-color: @bot-mobile-prompts-item-selected-color;
16
+ --van-bot-mobile-prompts-item-title-color: @bot-mobile-prompts-item-title-color;
17
+ --van-bot-mobile-prompts-item-desc-color: @bot-mobile-prompts-item-desc-color;
18
+ --van-bot-mobile-context-tags-gap: @bot-mobile-context-tags-gap;
19
+ --van-bot-mobile-context-tags-padding: @bot-mobile-context-tags-padding;
20
+ --van-bot-mobile-context-tags-font-size: @bot-mobile-context-tags-font-size;
21
+ --van-bot-mobile-context-tags-line-height: @bot-mobile-context-tags-line-height;
22
+ --van-bot-mobile-context-tags-border-radius: @bot-mobile-context-tags-border-radius;
23
+ --van-bot-mobile-context-tags-color: @bot-mobile-context-tags-color;
24
+ --van-bot-mobile-context-tags-background-color: @bot-mobile-context-tags-background-color;
25
+ --van-bot-mobile-context-tags-selected-color: @bot-mobile-context-tags-selected-color;
26
+ --van-bot-mobile-context-tags-selected-background-color: @bot-mobile-context-tags-selected-background-color;
27
+ --van-bot-mobile-context-tags-active-opacity: @bot-mobile-context-tags-active-opacity;
28
+ --van-bot-mobile-sheet-height: @bot-mobile-sheet-height;
29
+ --van-bot-mobile-fab-size: @bot-mobile-fab-size;
30
+ --van-bot-mobile-fab-z-index: @bot-mobile-fab-z-index;
31
+ --van-bot-mobile-fab-color: @bot-mobile-fab-color;
32
+ --van-bot-mobile-fab-background: @bot-mobile-fab-background;
33
+ --van-bot-mobile-fab-shadow: @bot-mobile-fab-shadow;
34
+ --van-bot-mobile-session-item-active-background: @bot-mobile-session-item-active-background;
35
+ --van-bot-mobile-session-item-name-color: @bot-mobile-session-item-name-color;
36
+ --van-bot-mobile-session-item-meta-color: @bot-mobile-session-item-meta-color;
37
+ --van-bot-mobile-session-item-action-color: @bot-mobile-session-item-action-color;
38
+ --van-bot-mobile-session-item-danger-color: @bot-mobile-session-item-danger-color;
39
+ --van-bot-mobile-history-drawer-header-height: @bot-mobile-history-drawer-header-height;
40
+ --van-bot-mobile-history-drawer-title-color: @bot-mobile-history-drawer-title-color;
41
+ --van-bot-mobile-voice-bar-height: @bot-mobile-voice-bar-height;
42
+ --van-bot-mobile-voice-bar-background: @bot-mobile-voice-bar-background;
43
+ --van-bot-mobile-voice-bar-border-color: @bot-mobile-voice-bar-border-color;
44
+ --van-bot-mobile-voice-bar-recording-background: @bot-mobile-voice-bar-recording-background;
45
+ --van-bot-mobile-voice-bar-cancel-zone-background: @bot-mobile-voice-bar-cancel-zone-background;
46
+ --van-bot-mobile-voice-bar-elapsed-color: @bot-mobile-voice-bar-elapsed-color;
47
+ --van-bot-mobile-voice-bar-hint-color: @bot-mobile-voice-bar-hint-color;
48
+ --van-bot-mobile-voice-bar-wave-color: @bot-mobile-voice-bar-wave-color;
49
+ --van-bot-mobile-session-list-toolbar-padding: @bot-mobile-session-list-toolbar-padding;
50
+ --van-bot-mobile-session-list-create-color: @bot-mobile-session-list-create-color;
51
+ }
52
+
53
+ // 宿主 vant token → meos-bot-web .bot-card token 映射(可被 ConfigProvider 换肤)
54
+ // BotMobileView(纯展示版主组件)与 BotMobile(开箱连网关版)共用同一段 token 映射
55
+ .van-bot-mobile,
56
+ .van-bot-mobile-view {
57
+ width: 100%;
58
+ height: 100%;
59
+
60
+ .bot-card {
61
+ --primary-color: var(--van-bot-mobile-primary-color);
62
+ --accent: var(--van-bot-mobile-primary-color);
63
+ --ink-1: var(--van-bot-mobile-text-color);
64
+ --line: var(--van-bot-mobile-border-color);
65
+ --gray-0: var(--van-bot-mobile-background-color);
66
+ }
67
+ }
68
+
69
+ // 示例输入 chips:竖向列表卡片式,标题一行 + prompt 摘要一行
70
+ .van-bot-mobile-prompts {
71
+ width: 100%;
72
+
73
+ &__title {
74
+ margin-bottom: 8px;
75
+ color: var(--van-bot-mobile-prompts-title-color);
76
+ font-size: var(--van-bot-mobile-prompts-title-font-size);
77
+ line-height: 1.4;
78
+ }
79
+
80
+ &__list {
81
+ display: flex;
82
+ flex-direction: column;
83
+ gap: 8px;
84
+ }
85
+
86
+ &__item {
87
+ box-sizing: border-box;
88
+ display: flex;
89
+ flex-direction: column;
90
+ justify-content: center;
91
+ gap: 4px;
92
+ min-height: 44px;
93
+ padding: 8px 12px;
94
+ background: var(--van-bot-mobile-prompts-item-background);
95
+ border: 1px solid var(--van-bot-mobile-prompts-item-border-color);
96
+ border-radius: 8px;
97
+ cursor: pointer;
98
+
99
+ &:active {
100
+ background: var(--van-bot-mobile-prompts-item-active-background);
101
+ }
102
+
103
+ // 触屏无 hover:选中态是点击后唯一的持久反馈,需明显可辨
104
+ &--active {
105
+ background: var(--van-bot-mobile-prompts-item-selected-background);
106
+ border-color: var(--van-bot-mobile-prompts-item-selected-border-color);
107
+
108
+ .van-bot-mobile-prompts__item-title {
109
+ color: var(--van-bot-mobile-prompts-item-selected-color);
110
+ font-weight: var(--van-font-weight-bold);
111
+ }
112
+ }
113
+ }
114
+
115
+ &__item-title {
116
+ color: var(--van-bot-mobile-prompts-item-title-color);
117
+ font-size: var(--van-font-size-md);
118
+ font-weight: 500;
119
+ line-height: 1.4;
120
+ }
121
+
122
+ &__item-desc {
123
+ overflow: hidden;
124
+ color: var(--van-bot-mobile-prompts-item-desc-color);
125
+ font-size: var(--van-bot-mobile-prompts-title-font-size);
126
+ line-height: 1.4;
127
+ text-overflow: ellipsis;
128
+ white-space: nowrap;
129
+ }
130
+ }
131
+
132
+ // 90% 高呼出面板:内嵌 BotMobile 撑满剩余高度
133
+ .van-bot-mobile-sheet {
134
+ height: var(--van-bot-mobile-sheet-height);
135
+
136
+ .van-bot-mobile {
137
+ display: flex;
138
+ flex-direction: column;
139
+ height: 100%;
140
+
141
+ .bot-card {
142
+ flex: 1;
143
+ min-height: 0;
144
+ }
145
+ }
146
+ }
147
+
148
+ // 上下文标签行:横向滚动一行,不换行,命中区 ≥44px,选中态对照 FilterTag
149
+ .van-bot-mobile-context-tags {
150
+ display: flex;
151
+ flex-wrap: nowrap;
152
+ gap: var(--van-bot-mobile-context-tags-gap);
153
+ width: 100%;
154
+ overflow-x: auto;
155
+ -webkit-overflow-scrolling: touch;
156
+
157
+ &__item {
158
+ box-sizing: border-box;
159
+ display: flex;
160
+ flex: none;
161
+ align-items: center;
162
+ justify-content: center;
163
+ min-height: 44px;
164
+ padding: var(--van-bot-mobile-context-tags-padding);
165
+ color: var(--van-bot-mobile-context-tags-color);
166
+ font-size: var(--van-bot-mobile-context-tags-font-size);
167
+ line-height: var(--van-bot-mobile-context-tags-line-height);
168
+ white-space: nowrap;
169
+ background: var(--van-bot-mobile-context-tags-background-color);
170
+ border-radius: var(--van-bot-mobile-context-tags-border-radius);
171
+ cursor: pointer;
172
+
173
+ &:active {
174
+ opacity: var(--van-bot-mobile-context-tags-active-opacity);
175
+ }
176
+
177
+ &--selected {
178
+ color: var(--van-bot-mobile-context-tags-selected-color);
179
+ background: var(--van-bot-mobile-context-tags-selected-background-color);
180
+ }
181
+ }
182
+ }
183
+
184
+ // 可拖拽吸边浮标:position: fixed 由组件内联 style 控制 top/left/right,
185
+ // 这里只负责外观;拖拽中禁用过渡以避免位置跳变的动画干扰手势
186
+ .van-bot-mobile-fab {
187
+ position: fixed;
188
+ z-index: var(--van-bot-mobile-fab-z-index);
189
+ box-sizing: border-box;
190
+ display: flex;
191
+ align-items: center;
192
+ justify-content: center;
193
+ width: var(--van-bot-mobile-fab-size);
194
+ height: var(--van-bot-mobile-fab-size);
195
+ color: var(--van-bot-mobile-fab-color);
196
+ background: var(--van-bot-mobile-fab-background);
197
+ border-radius: 50%;
198
+ box-shadow: var(--van-bot-mobile-fab-shadow);
199
+ cursor: pointer;
200
+ touch-action: none;
201
+ transition: left 0.25s ease, right 0.25s ease, top 0.25s ease;
202
+
203
+ &--dragging {
204
+ transition: none;
205
+ }
206
+
207
+ &__icon {
208
+ font-size: 24px;
209
+ }
210
+ }
211
+
212
+ // 会话历史全屏抽屉:Popup(position=right) 撑满视口
213
+ .van-bot-mobile-history-drawer {
214
+ box-sizing: border-box;
215
+ display: flex;
216
+ flex-direction: column;
217
+ width: 100%;
218
+ height: 100%;
219
+ overflow: hidden;
220
+
221
+ &__header {
222
+ box-sizing: border-box;
223
+ display: flex;
224
+ flex: none;
225
+ align-items: center;
226
+ justify-content: space-between;
227
+ height: var(--van-bot-mobile-history-drawer-header-height);
228
+ padding: 0 16px;
229
+ border-bottom: 1px solid var(--van-bot-mobile-border-color);
230
+ }
231
+
232
+ &__close,
233
+ &__create {
234
+ display: flex;
235
+ align-items: center;
236
+ justify-content: center;
237
+ min-width: 44px;
238
+ min-height: 44px;
239
+ font-size: 20px;
240
+ cursor: pointer;
241
+ }
242
+
243
+ &__title {
244
+ overflow: hidden;
245
+ color: var(--van-bot-mobile-history-drawer-title-color);
246
+ font-size: var(--van-font-size-lg);
247
+ font-weight: 500;
248
+ text-align: center;
249
+ text-overflow: ellipsis;
250
+ white-space: nowrap;
251
+ }
252
+
253
+ &__search {
254
+ flex: none;
255
+ }
256
+
257
+ &__list {
258
+ flex: 1;
259
+ min-height: 0;
260
+ overflow-y: auto;
261
+ -webkit-overflow-scrolling: touch;
262
+ }
263
+ }
264
+
265
+ // 会话行公共样式:BotHistoryDrawer 与 BotSessionList 共用,避免两份重复
266
+ .van-bot-mobile-session-item {
267
+ box-sizing: border-box;
268
+ display: flex;
269
+ align-items: center;
270
+ min-height: 44px;
271
+ padding: 8px 16px;
272
+ border-bottom: 1px solid var(--van-bot-mobile-border-color);
273
+
274
+ &--active {
275
+ background: var(--van-bot-mobile-session-item-active-background);
276
+ }
277
+
278
+ &__body {
279
+ display: flex;
280
+ flex: 1;
281
+ flex-direction: column;
282
+ justify-content: center;
283
+ min-width: 0;
284
+ min-height: 44px;
285
+ cursor: pointer;
286
+ }
287
+
288
+ &__name {
289
+ overflow: hidden;
290
+ color: var(--van-bot-mobile-session-item-name-color);
291
+ font-size: var(--van-font-size-md);
292
+ line-height: 1.4;
293
+ text-overflow: ellipsis;
294
+ white-space: nowrap;
295
+ }
296
+
297
+ &__meta {
298
+ display: flex;
299
+ gap: 8px;
300
+ overflow: hidden;
301
+ color: var(--van-bot-mobile-session-item-meta-color);
302
+ font-size: var(--van-font-size-sm);
303
+ line-height: 1.4;
304
+ }
305
+
306
+ &__preview {
307
+ overflow: hidden;
308
+ text-overflow: ellipsis;
309
+ white-space: nowrap;
310
+ }
311
+
312
+ &__time {
313
+ flex: none;
314
+ }
315
+
316
+ &__input {
317
+ flex: 1;
318
+ box-sizing: border-box;
319
+ min-height: 44px;
320
+ padding: 0 8px;
321
+ color: var(--van-bot-mobile-session-item-name-color);
322
+ font-size: var(--van-font-size-md);
323
+ background: var(--van-background-color);
324
+ border: 1px solid var(--van-bot-mobile-primary-color);
325
+ border-radius: var(--van-border-radius-md);
326
+ outline: none;
327
+ }
328
+
329
+ // 触屏无 hover:常显,不依赖 :hover
330
+ &__actions {
331
+ display: flex;
332
+ flex: none;
333
+ gap: 4px;
334
+ margin-left: 8px;
335
+ }
336
+
337
+ &__action {
338
+ display: flex;
339
+ align-items: center;
340
+ justify-content: center;
341
+ min-width: 44px;
342
+ min-height: 44px;
343
+ color: var(--van-bot-mobile-session-item-action-color);
344
+ font-size: 18px;
345
+ cursor: pointer;
346
+
347
+ &--danger {
348
+ color: var(--van-bot-mobile-session-item-danger-color);
349
+ }
350
+ }
351
+ }
352
+
353
+ // 按住说话条:受控组件,state/amplitudes 均由宿主传入;拖拽中禁用文本选中,
354
+ // touch-action: none 避免触屏滚动干扰上滑取消手势
355
+ .van-bot-mobile-voice-bar {
356
+ box-sizing: border-box;
357
+ display: flex;
358
+ align-items: center;
359
+ justify-content: center;
360
+ height: var(--van-bot-mobile-voice-bar-height);
361
+ padding: 0 16px;
362
+ background: var(--van-bot-mobile-voice-bar-background);
363
+ border: 1px solid var(--van-bot-mobile-voice-bar-border-color);
364
+ border-radius: var(--van-border-radius-lg);
365
+ cursor: pointer;
366
+ touch-action: none;
367
+ user-select: none;
368
+
369
+ &--recording {
370
+ background: var(--van-bot-mobile-voice-bar-recording-background);
371
+ }
372
+
373
+ &--cancel-zone {
374
+ background: var(--van-bot-mobile-voice-bar-cancel-zone-background);
375
+ }
376
+
377
+ &__wave {
378
+ width: 100%;
379
+ height: 32px;
380
+ color: var(--van-bot-mobile-voice-bar-wave-color);
381
+ }
382
+
383
+ &__info {
384
+ display: flex;
385
+ align-items: center;
386
+ justify-content: center;
387
+ gap: 8px;
388
+ margin-top: 2px;
389
+ }
390
+
391
+ &__elapsed {
392
+ color: var(--van-bot-mobile-voice-bar-elapsed-color);
393
+ font-size: var(--van-font-size-sm);
394
+ }
395
+
396
+ &__hint {
397
+ color: var(--van-bot-mobile-voice-bar-hint-color);
398
+ font-size: var(--van-font-size-sm);
399
+ }
400
+
401
+ &__transcribing {
402
+ display: flex;
403
+ align-items: center;
404
+ gap: 8px;
405
+ }
406
+
407
+ &__transcribing-text {
408
+ color: var(--van-bot-mobile-voice-bar-hint-color);
409
+ font-size: var(--van-font-size-sm);
410
+ }
411
+ }
412
+
413
+ // 全部会话页:块级组件,无 Popup 外壳,可直接放进路由页;列表项样式复用
414
+ // .van-bot-mobile-session-item(见上),这里只负责工具条 + 空态/加载态外观
415
+ .van-bot-mobile-session-list {
416
+ display: flex;
417
+ flex-direction: column;
418
+ width: 100%;
419
+ height: 100%;
420
+
421
+ &__toolbar {
422
+ box-sizing: border-box;
423
+ display: flex;
424
+ flex: none;
425
+ align-items: center;
426
+ gap: 8px;
427
+ padding: var(--van-bot-mobile-session-list-toolbar-padding);
428
+ }
429
+
430
+ &__search {
431
+ flex: 1;
432
+ }
433
+
434
+ &__create {
435
+ display: flex;
436
+ flex: none;
437
+ align-items: center;
438
+ justify-content: center;
439
+ min-width: 44px;
440
+ min-height: 44px;
441
+ color: var(--van-bot-mobile-session-list-create-color);
442
+ font-size: 20px;
443
+ cursor: pointer;
444
+ }
445
+
446
+ &__list {
447
+ flex: 1;
448
+ min-height: 0;
449
+ overflow-y: auto;
450
+ -webkit-overflow-scrolling: touch;
451
+ }
452
+
453
+ &__loading {
454
+ display: flex;
455
+ flex: 1;
456
+ align-items: center;
457
+ justify-content: center;
458
+ padding: 32px 0;
459
+ }
460
+
461
+ &__empty {
462
+ flex: 1;
463
+ }
464
+ }
@@ -0,0 +1,50 @@
1
+ import { withInstall } from "../utils/index.mjs";
2
+ import _BotMobile from "./BotMobile.mjs";
3
+ import _BotMobilePrompts from "./BotMobilePrompts.mjs";
4
+ import _BotMobileContextTags from "./BotMobileContextTags.mjs";
5
+ import _BotMobileSheet from "./BotMobileSheet.mjs";
6
+ import _BotMobileView from "./BotMobileView.mjs";
7
+ import _BotFab from "./BotFab.mjs";
8
+ import _BotHistoryDrawer from "./BotHistoryDrawer.mjs";
9
+ import _BotVoiceBar from "./BotVoiceBar.mjs";
10
+ import _BotSessionList from "./BotSessionList.mjs";
11
+ const BotMobile = withInstall(_BotMobile);
12
+ var stdin_default = BotMobile;
13
+ const BotMobilePrompts = withInstall(_BotMobilePrompts);
14
+ const BotMobileContextTags = withInstall(_BotMobileContextTags);
15
+ const BotMobileSheet = withInstall(_BotMobileSheet);
16
+ const BotMobileView = withInstall(_BotMobileView);
17
+ const BotFab = withInstall(_BotFab);
18
+ const BotHistoryDrawer = withInstall(_BotHistoryDrawer);
19
+ const BotVoiceBar = withInstall(_BotVoiceBar);
20
+ const BotSessionList = withInstall(_BotSessionList);
21
+ import { botMobileProps } from "./BotMobile.mjs";
22
+ import { botMobilePromptsProps } from "./BotMobilePrompts.mjs";
23
+ import { botMobileContextTagsProps } from "./BotMobileContextTags.mjs";
24
+ import { botMobileSheetProps } from "./BotMobileSheet.mjs";
25
+ import { botMobileViewProps } from "./BotMobileView.mjs";
26
+ import { botFabProps } from "./BotFab.mjs";
27
+ import { botHistoryDrawerProps } from "./BotHistoryDrawer.mjs";
28
+ import { botVoiceBarProps } from "./BotVoiceBar.mjs";
29
+ import { botSessionListProps } from "./BotSessionList.mjs";
30
+ export {
31
+ BotFab,
32
+ BotHistoryDrawer,
33
+ BotMobile,
34
+ BotMobileContextTags,
35
+ BotMobilePrompts,
36
+ BotMobileSheet,
37
+ BotMobileView,
38
+ BotSessionList,
39
+ BotVoiceBar,
40
+ botFabProps,
41
+ botHistoryDrawerProps,
42
+ botMobileContextTagsProps,
43
+ botMobilePromptsProps,
44
+ botMobileProps,
45
+ botMobileSheetProps,
46
+ botMobileViewProps,
47
+ botSessionListProps,
48
+ botVoiceBarProps,
49
+ stdin_default as default
50
+ };
@@ -0,0 +1,6 @@
1
+ import type { BotMobileSession } from './types';
2
+ /**
3
+ * 会话搜索过滤:按名称/预览文本模糊匹配(不区分大小写),关键词为空时原样返回。
4
+ * BotHistoryDrawer 与 BotSessionList 共用,避免两处各写一份过滤逻辑。
5
+ */
6
+ export declare function filterSessions(sessions: BotMobileSession[], keyword: string): BotMobileSession[];
@@ -0,0 +1,15 @@
1
+ function filterSessions(sessions, keyword) {
2
+ const query = keyword.trim().toLowerCase();
3
+ if (!query) {
4
+ return sessions;
5
+ }
6
+ return sessions.filter((session) => {
7
+ var _a;
8
+ const name = session.name.toLowerCase();
9
+ const preview = ((_a = session.preview) != null ? _a : "").toLowerCase();
10
+ return name.includes(query) || preview.includes(query);
11
+ });
12
+ }
13
+ export {
14
+ filterSessions
15
+ };
@@ -0,0 +1,15 @@
1
+ import type { BotMobileSession } from './types';
2
+ export interface RenderSessionItemOptions {
3
+ key: string;
4
+ session: BotMobileSession;
5
+ active: boolean;
6
+ editing: boolean;
7
+ editingName: string;
8
+ onSelect: () => void;
9
+ onStartRename: () => void;
10
+ onEditingNameInput: (value: string) => void;
11
+ onCommitRename: () => void;
12
+ onCancelRename: () => void;
13
+ onDelete: () => void;
14
+ }
15
+ export declare function renderSessionItem(options: RenderSessionItemOptions): JSX.Element;
@@ -0,0 +1,73 @@
1
+ import { createVNode as _createVNode } from "vue";
2
+ import { createNamespace } from "../utils/index.mjs";
3
+ import { Icon } from "../icon/index.mjs";
4
+ const [, bem] = createNamespace("bot-mobile-session-item");
5
+ function renderSessionItem(options) {
6
+ const {
7
+ key,
8
+ session,
9
+ active,
10
+ editing,
11
+ editingName,
12
+ onSelect,
13
+ onStartRename,
14
+ onEditingNameInput,
15
+ onCommitRename,
16
+ onCancelRename,
17
+ onDelete
18
+ } = options;
19
+ const stop = (fn) => (event) => {
20
+ event.stopPropagation();
21
+ fn();
22
+ };
23
+ const renderBody = () => {
24
+ if (editing) {
25
+ return _createVNode("input", {
26
+ "class": bem("input"),
27
+ "value": editingName,
28
+ "autofocus": true,
29
+ "onClick": (event) => event.stopPropagation(),
30
+ "onInput": (event) => onEditingNameInput(event.target.value),
31
+ "onKeydown": (event) => {
32
+ if (event.key === "Enter") {
33
+ onCommitRename();
34
+ } else if (event.key === "Escape") {
35
+ onCancelRename();
36
+ }
37
+ },
38
+ "onBlur": onCommitRename
39
+ }, null);
40
+ }
41
+ return _createVNode("div", {
42
+ "class": bem("body"),
43
+ "onClick": onSelect
44
+ }, [_createVNode("div", {
45
+ "class": bem("name")
46
+ }, [session.name]), (session.preview || session.updatedAt !== void 0) && _createVNode("div", {
47
+ "class": bem("meta")
48
+ }, [session.preview && _createVNode("span", {
49
+ "class": bem("preview")
50
+ }, [session.preview]), session.updatedAt !== void 0 && _createVNode("span", {
51
+ "class": bem("time")
52
+ }, [session.updatedAt])])]);
53
+ };
54
+ return _createVNode("div", {
55
+ "key": key,
56
+ "class": bem({
57
+ active
58
+ })
59
+ }, [renderBody(), !editing && _createVNode("div", {
60
+ "class": bem("actions")
61
+ }, [_createVNode(Icon, {
62
+ "name": "edit",
63
+ "class": bem("action"),
64
+ "onClick": stop(onStartRename)
65
+ }, null), _createVNode(Icon, {
66
+ "name": "delete",
67
+ "class": bem("action", "danger"),
68
+ "onClick": stop(onDelete)
69
+ }, null)])]);
70
+ }
71
+ export {
72
+ renderSessionItem
73
+ };
@@ -0,0 +1,15 @@
1
+ import "../../style/base.css";
2
+ import "../../badge/index.css";
3
+ import "../../icon/index.css";
4
+ import "../../loading/index.css";
5
+ import "../../overlay/index.css";
6
+ import "../../popup/index.css";
7
+ import "../../checkbox-group/index.css";
8
+ import "../../checkbox/index.css";
9
+ import "../../radio-group/index.css";
10
+ import "../../radio/index.css";
11
+ import "../../cell/index.css";
12
+ import "../../field/index.css";
13
+ import "../../search/index.css";
14
+ import "../../empty/index.css";
15
+ import "../index.css";
@@ -0,0 +1,15 @@
1
+ import "../../style/base.less";
2
+ import "../../badge/index.less";
3
+ import "../../icon/index.less";
4
+ import "../../loading/index.less";
5
+ import "../../overlay/index.less";
6
+ import "../../popup/index.less";
7
+ import "../../checkbox-group/index.less";
8
+ import "../../checkbox/index.less";
9
+ import "../../radio-group/index.less";
10
+ import "../../radio/index.less";
11
+ import "../../cell/index.less";
12
+ import "../../field/index.less";
13
+ import "../../search/index.less";
14
+ import "../../empty/index.less";
15
+ import "../index.less";
@@ -0,0 +1,23 @@
1
+ import type { ComponentPublicInstance } from 'vue';
2
+ import type { BotContainerNanobotExpose } from 'meos-bot-web';
3
+ export declare type BotMobileBotRef = (ComponentPublicInstance & BotContainerNanobotExpose) | undefined;
4
+ export interface BotMobileExpose {
5
+ /** 内层 BotContainerNanobot 实例引用;宿主经 ref.value.botRef 调用会话方法(connect/disconnect 等) */
6
+ botRef: BotMobileBotRef;
7
+ }
8
+ export interface BotMobilePromptItem {
9
+ id: string;
10
+ title: string;
11
+ prompt: string;
12
+ }
13
+ export interface BotMobileContextTag {
14
+ id: string;
15
+ label: string;
16
+ value?: unknown;
17
+ }
18
+ export interface BotMobileSession {
19
+ id: string;
20
+ name: string;
21
+ preview?: string;
22
+ updatedAt?: string | number;
23
+ }
File without changes
File without changes