vant 4.4.0 → 4.5.0

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 (473) hide show
  1. package/es/action-bar/ActionBar.d.ts +1 -1
  2. package/es/action-bar/index.d.ts +1 -1
  3. package/es/action-bar-button/ActionBarButton.d.ts +1 -1
  4. package/es/action-bar-button/index.d.ts +1 -1
  5. package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
  6. package/es/action-bar-icon/index.d.ts +1 -1
  7. package/es/action-sheet/ActionSheet.d.ts +1 -1
  8. package/es/action-sheet/index.d.ts +1 -1
  9. package/es/address-edit/AddressEdit.d.ts +1 -1
  10. package/es/address-edit/AddressEditDetail.d.ts +1 -1
  11. package/es/address-edit/index.d.ts +1 -1
  12. package/es/address-list/AddressList.d.ts +14 -1
  13. package/es/address-list/AddressList.mjs +4 -2
  14. package/es/address-list/AddressListItem.d.ts +10 -1
  15. package/es/address-list/AddressListItem.mjs +4 -3
  16. package/es/address-list/index.d.ts +10 -1
  17. package/es/area/Area.d.ts +1 -1
  18. package/es/area/index.d.ts +1 -1
  19. package/es/back-top/BackTop.d.ts +1 -1
  20. package/es/back-top/BackTop.mjs +14 -1
  21. package/es/back-top/index.d.ts +1 -1
  22. package/es/badge/Badge.d.ts +1 -1
  23. package/es/badge/index.d.ts +1 -1
  24. package/es/barrage/Barrage.d.ts +1 -1
  25. package/es/barrage/index.d.ts +1 -1
  26. package/es/button/Button.d.ts +1 -1
  27. package/es/button/index.d.ts +1 -1
  28. package/es/calendar/Calendar.d.ts +1 -1
  29. package/es/calendar/CalendarDay.d.ts +1 -1
  30. package/es/calendar/CalendarHeader.d.ts +1 -1
  31. package/es/calendar/CalendarMonth.d.ts +1 -1
  32. package/es/calendar/index.d.ts +1 -1
  33. package/es/card/Card.d.ts +1 -1
  34. package/es/card/index.d.ts +1 -1
  35. package/es/cascader/Cascader.d.ts +1 -1
  36. package/es/cascader/index.d.ts +1 -1
  37. package/es/cell/Cell.d.ts +1 -1
  38. package/es/cell/index.d.ts +1 -1
  39. package/es/cell-group/CellGroup.d.ts +1 -1
  40. package/es/cell-group/index.d.ts +1 -1
  41. package/es/checkbox/Checkbox.d.ts +1 -1
  42. package/es/checkbox/Checker.d.ts +1 -1
  43. package/es/checkbox/index.d.ts +1 -1
  44. package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
  45. package/es/checkbox-group/index.d.ts +1 -1
  46. package/es/circle/Circle.d.ts +1 -1
  47. package/es/circle/index.d.ts +1 -1
  48. package/es/col/Col.d.ts +1 -1
  49. package/es/col/index.d.ts +1 -1
  50. package/es/collapse/Collapse.d.ts +1 -1
  51. package/es/collapse/index.d.ts +1 -1
  52. package/es/collapse-item/CollapseItem.d.ts +1 -1
  53. package/es/collapse-item/index.d.ts +1 -1
  54. package/es/config-provider/ConfigProvider.d.ts +1 -1
  55. package/es/config-provider/index.d.ts +1 -1
  56. package/es/contact-card/ContactCard.d.ts +1 -1
  57. package/es/contact-card/index.d.ts +1 -1
  58. package/es/contact-edit/ContactEdit.d.ts +1 -1
  59. package/es/contact-edit/index.d.ts +1 -1
  60. package/es/contact-list/ContactList.d.ts +1 -1
  61. package/es/contact-list/index.d.ts +1 -1
  62. package/es/count-down/CountDown.d.ts +1 -1
  63. package/es/count-down/index.d.ts +1 -1
  64. package/es/coupon/Coupon.d.ts +1 -1
  65. package/es/coupon/index.d.ts +1 -1
  66. package/es/coupon-cell/CouponCell.d.ts +1 -1
  67. package/es/coupon-cell/index.d.ts +1 -1
  68. package/es/coupon-list/CouponList.d.ts +1 -1
  69. package/es/coupon-list/index.d.ts +1 -1
  70. package/es/date-picker/DatePicker.d.ts +4 -4
  71. package/es/date-picker/index.d.ts +3 -3
  72. package/es/date-picker/utils.d.ts +4 -2
  73. package/es/date-picker/utils.mjs +8 -3
  74. package/es/dialog/Dialog.d.ts +1 -1
  75. package/es/dialog/index.d.ts +1 -1
  76. package/es/divider/Divider.d.ts +1 -1
  77. package/es/divider/index.d.ts +1 -1
  78. package/es/dropdown-item/DropdownItem.d.ts +1 -1
  79. package/es/dropdown-item/index.d.ts +1 -1
  80. package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
  81. package/es/dropdown-menu/DropdownMenu.mjs +10 -3
  82. package/es/dropdown-menu/index.d.ts +1 -1
  83. package/es/dropdown-menu/types.d.ts +5 -1
  84. package/es/empty/Empty.d.ts +1 -1
  85. package/es/empty/index.d.ts +1 -1
  86. package/es/field/Field.d.ts +1 -1
  87. package/es/field/index.d.ts +1 -1
  88. package/es/floating-panel/FloatingPanel.d.ts +77 -0
  89. package/es/floating-panel/FloatingPanel.mjs +126 -0
  90. package/es/floating-panel/index.css +1 -0
  91. package/es/floating-panel/index.d.ts +60 -0
  92. package/es/floating-panel/index.mjs +8 -0
  93. package/es/floating-panel/style/index.d.ts +1 -0
  94. package/es/floating-panel/style/index.mjs +2 -0
  95. package/es/form/Form.d.ts +1 -1
  96. package/es/form/index.d.ts +1 -1
  97. package/es/grid/Grid.d.ts +1 -1
  98. package/es/grid/index.d.ts +1 -1
  99. package/es/grid-item/GridItem.d.ts +1 -1
  100. package/es/grid-item/index.d.ts +1 -1
  101. package/es/icon/Icon.d.ts +1 -1
  102. package/es/icon/index.d.ts +1 -1
  103. package/es/image/Image.d.ts +1 -1
  104. package/es/image/index.d.ts +1 -1
  105. package/es/image-preview/ImagePreview.d.ts +1 -1
  106. package/es/image-preview/ImagePreviewItem.d.ts +1 -1
  107. package/es/image-preview/ImagePreviewItem.mjs +9 -3
  108. package/es/image-preview/index.d.ts +1 -1
  109. package/es/index-anchor/IndexAnchor.d.ts +1 -1
  110. package/es/index-anchor/index.d.ts +1 -1
  111. package/es/index-bar/IndexBar.d.ts +1 -1
  112. package/es/index-bar/index.d.ts +1 -1
  113. package/es/index.d.ts +2 -1
  114. package/es/index.mjs +4 -1
  115. package/es/list/List.d.ts +1 -1
  116. package/es/list/index.d.ts +1 -1
  117. package/es/loading/Loading.d.ts +1 -1
  118. package/es/loading/index.d.ts +1 -1
  119. package/es/nav-bar/NavBar.d.ts +1 -1
  120. package/es/nav-bar/index.d.ts +1 -1
  121. package/es/notice-bar/NoticeBar.d.ts +1 -1
  122. package/es/notice-bar/index.d.ts +1 -1
  123. package/es/notify/Notify.d.ts +1 -1
  124. package/es/notify/index.d.ts +1 -1
  125. package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
  126. package/es/number-keyboard/NumberKeyboardKey.d.ts +1 -1
  127. package/es/number-keyboard/index.d.ts +1 -1
  128. package/es/overlay/Overlay.d.ts +1 -1
  129. package/es/overlay/index.d.ts +1 -1
  130. package/es/pagination/Pagination.d.ts +1 -1
  131. package/es/pagination/index.d.ts +1 -1
  132. package/es/password-input/PasswordInput.d.ts +1 -1
  133. package/es/password-input/index.d.ts +1 -1
  134. package/es/picker/Picker.d.ts +1 -1
  135. package/es/picker/PickerColumn.d.ts +1 -1
  136. package/es/picker/PickerToolbar.d.ts +1 -1
  137. package/es/picker/index.d.ts +1 -1
  138. package/es/picker-group/PickerGroup.d.ts +1 -1
  139. package/es/picker-group/index.d.ts +1 -1
  140. package/es/popover/Popover.d.ts +15 -2
  141. package/es/popover/Popover.mjs +9 -4
  142. package/es/popover/index.css +1 -1
  143. package/es/popover/index.d.ts +10 -1
  144. package/es/popover/types.d.ts +1 -0
  145. package/es/popup/Popup.d.ts +1 -1
  146. package/es/popup/Popup.mjs +8 -1
  147. package/es/popup/index.d.ts +1 -1
  148. package/es/progress/Progress.d.ts +1 -1
  149. package/es/progress/index.d.ts +1 -1
  150. package/es/pull-refresh/PullRefresh.d.ts +1 -1
  151. package/es/pull-refresh/index.d.ts +1 -1
  152. package/es/radio/Radio.d.ts +1 -1
  153. package/es/radio/index.d.ts +1 -1
  154. package/es/radio-group/RadioGroup.d.ts +1 -1
  155. package/es/radio-group/index.d.ts +1 -1
  156. package/es/rate/Rate.d.ts +1 -1
  157. package/es/rate/index.d.ts +1 -1
  158. package/es/row/Row.d.ts +1 -1
  159. package/es/row/index.d.ts +1 -1
  160. package/es/search/Search.d.ts +1 -1
  161. package/es/search/index.d.ts +1 -1
  162. package/es/share-sheet/ShareSheet.d.ts +1 -1
  163. package/es/share-sheet/index.d.ts +1 -1
  164. package/es/sidebar/Sidebar.d.ts +1 -1
  165. package/es/sidebar/index.d.ts +1 -1
  166. package/es/sidebar-item/SidebarItem.d.ts +1 -1
  167. package/es/sidebar-item/index.d.ts +1 -1
  168. package/es/signature/Signature.d.ts +1 -1
  169. package/es/signature/index.d.ts +1 -1
  170. package/es/skeleton/Skeleton.d.ts +1 -1
  171. package/es/skeleton/index.d.ts +1 -1
  172. package/es/skeleton-avatar/SkeletonAvatar.d.ts +1 -1
  173. package/es/skeleton-avatar/index.d.ts +1 -1
  174. package/es/skeleton-image/SkeletonImage.d.ts +1 -1
  175. package/es/skeleton-image/index.d.ts +1 -1
  176. package/es/skeleton-paragraph/SkeletonParagraph.d.ts +1 -1
  177. package/es/skeleton-paragraph/index.d.ts +1 -1
  178. package/es/skeleton-title/SkeletonTitle.d.ts +1 -1
  179. package/es/skeleton-title/index.d.ts +1 -1
  180. package/es/slider/Slider.d.ts +1 -1
  181. package/es/slider/Slider.mjs +20 -7
  182. package/es/slider/index.d.ts +1 -1
  183. package/es/space/Space.d.ts +1 -1
  184. package/es/space/index.d.ts +1 -1
  185. package/es/step/Step.d.ts +1 -1
  186. package/es/step/index.d.ts +1 -1
  187. package/es/stepper/Stepper.d.ts +1 -1
  188. package/es/stepper/index.d.ts +1 -1
  189. package/es/steps/Steps.d.ts +1 -1
  190. package/es/steps/index.d.ts +1 -1
  191. package/es/sticky/Sticky.d.ts +1 -1
  192. package/es/sticky/index.d.ts +1 -1
  193. package/es/submit-bar/SubmitBar.d.ts +1 -1
  194. package/es/submit-bar/index.d.ts +1 -1
  195. package/es/swipe/Swipe.d.ts +1 -1
  196. package/es/swipe/index.d.ts +1 -1
  197. package/es/swipe-cell/SwipeCell.d.ts +1 -1
  198. package/es/swipe-cell/index.d.ts +1 -1
  199. package/es/swipe-item/SwipeItem.d.ts +1 -1
  200. package/es/swipe-item/index.d.ts +1 -1
  201. package/es/switch/Switch.d.ts +1 -1
  202. package/es/switch/index.d.ts +1 -1
  203. package/es/tab/Tab.d.ts +1 -1
  204. package/es/tab/Tab.mjs +14 -3
  205. package/es/tab/TabTitle.d.ts +1 -1
  206. package/es/tab/index.d.ts +1 -1
  207. package/es/tabbar/Tabbar.d.ts +1 -1
  208. package/es/tabbar/index.d.ts +1 -1
  209. package/es/tabbar-item/TabbarItem.d.ts +1 -1
  210. package/es/tabbar-item/index.d.ts +1 -1
  211. package/es/tabs/Tabs.d.ts +1 -1
  212. package/es/tabs/TabsContent.d.ts +1 -1
  213. package/es/tabs/index.d.ts +1 -1
  214. package/es/tag/Tag.d.ts +1 -1
  215. package/es/tag/index.d.ts +1 -1
  216. package/es/text-ellipsis/TextEllipsis.d.ts +1 -1
  217. package/es/text-ellipsis/index.d.ts +1 -1
  218. package/es/time-picker/TimePicker.d.ts +32 -5
  219. package/es/time-picker/TimePicker.mjs +73 -21
  220. package/es/time-picker/index.d.ts +21 -3
  221. package/es/toast/Toast.d.ts +1 -1
  222. package/es/toast/index.d.ts +1 -1
  223. package/es/tree-select/TreeSelect.d.ts +1 -1
  224. package/es/tree-select/index.d.ts +1 -1
  225. package/es/uploader/Uploader.d.ts +1 -1
  226. package/es/uploader/UploaderPreviewItem.d.ts +1 -1
  227. package/es/uploader/index.d.ts +1 -1
  228. package/es/utils/basic.d.ts +3 -0
  229. package/es/utils/constant.d.ts +1 -0
  230. package/es/utils/constant.mjs +2 -0
  231. package/es/utils/mount-component.d.ts +1 -1
  232. package/es/watermark/Watermark.d.ts +1 -1
  233. package/es/watermark/index.d.ts +1 -1
  234. package/lib/action-bar/ActionBar.d.ts +1 -1
  235. package/lib/action-bar/index.d.ts +1 -1
  236. package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
  237. package/lib/action-bar-button/index.d.ts +1 -1
  238. package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
  239. package/lib/action-bar-icon/index.d.ts +1 -1
  240. package/lib/action-sheet/ActionSheet.d.ts +1 -1
  241. package/lib/action-sheet/index.d.ts +1 -1
  242. package/lib/address-edit/AddressEdit.d.ts +1 -1
  243. package/lib/address-edit/AddressEditDetail.d.ts +1 -1
  244. package/lib/address-edit/index.d.ts +1 -1
  245. package/lib/address-list/AddressList.d.ts +14 -1
  246. package/lib/address-list/AddressList.js +3 -1
  247. package/lib/address-list/AddressListItem.d.ts +10 -1
  248. package/lib/address-list/AddressListItem.js +3 -2
  249. package/lib/address-list/index.d.ts +10 -1
  250. package/lib/area/Area.d.ts +1 -1
  251. package/lib/area/index.d.ts +1 -1
  252. package/lib/back-top/BackTop.d.ts +1 -1
  253. package/lib/back-top/BackTop.js +13 -0
  254. package/lib/back-top/index.d.ts +1 -1
  255. package/lib/badge/Badge.d.ts +1 -1
  256. package/lib/badge/index.d.ts +1 -1
  257. package/lib/barrage/Barrage.d.ts +1 -1
  258. package/lib/barrage/index.d.ts +1 -1
  259. package/lib/button/Button.d.ts +1 -1
  260. package/lib/button/index.d.ts +1 -1
  261. package/lib/calendar/Calendar.d.ts +1 -1
  262. package/lib/calendar/CalendarDay.d.ts +1 -1
  263. package/lib/calendar/CalendarHeader.d.ts +1 -1
  264. package/lib/calendar/CalendarMonth.d.ts +1 -1
  265. package/lib/calendar/index.d.ts +1 -1
  266. package/lib/card/Card.d.ts +1 -1
  267. package/lib/card/index.d.ts +1 -1
  268. package/lib/cascader/Cascader.d.ts +1 -1
  269. package/lib/cascader/index.d.ts +1 -1
  270. package/lib/cell/Cell.d.ts +1 -1
  271. package/lib/cell/index.d.ts +1 -1
  272. package/lib/cell-group/CellGroup.d.ts +1 -1
  273. package/lib/cell-group/index.d.ts +1 -1
  274. package/lib/checkbox/Checkbox.d.ts +1 -1
  275. package/lib/checkbox/Checker.d.ts +1 -1
  276. package/lib/checkbox/index.d.ts +1 -1
  277. package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
  278. package/lib/checkbox-group/index.d.ts +1 -1
  279. package/lib/circle/Circle.d.ts +1 -1
  280. package/lib/circle/index.d.ts +1 -1
  281. package/lib/col/Col.d.ts +1 -1
  282. package/lib/col/index.d.ts +1 -1
  283. package/lib/collapse/Collapse.d.ts +1 -1
  284. package/lib/collapse/index.d.ts +1 -1
  285. package/lib/collapse-item/CollapseItem.d.ts +1 -1
  286. package/lib/collapse-item/index.d.ts +1 -1
  287. package/lib/config-provider/ConfigProvider.d.ts +1 -1
  288. package/lib/config-provider/index.d.ts +1 -1
  289. package/lib/contact-card/ContactCard.d.ts +1 -1
  290. package/lib/contact-card/index.d.ts +1 -1
  291. package/lib/contact-edit/ContactEdit.d.ts +1 -1
  292. package/lib/contact-edit/index.d.ts +1 -1
  293. package/lib/contact-list/ContactList.d.ts +1 -1
  294. package/lib/contact-list/index.d.ts +1 -1
  295. package/lib/count-down/CountDown.d.ts +1 -1
  296. package/lib/count-down/index.d.ts +1 -1
  297. package/lib/coupon/Coupon.d.ts +1 -1
  298. package/lib/coupon/index.d.ts +1 -1
  299. package/lib/coupon-cell/CouponCell.d.ts +1 -1
  300. package/lib/coupon-cell/index.d.ts +1 -1
  301. package/lib/coupon-list/CouponList.d.ts +1 -1
  302. package/lib/coupon-list/index.d.ts +1 -1
  303. package/lib/date-picker/DatePicker.d.ts +4 -4
  304. package/lib/date-picker/index.d.ts +3 -3
  305. package/lib/date-picker/utils.d.ts +4 -2
  306. package/lib/date-picker/utils.js +2 -2
  307. package/lib/dialog/Dialog.d.ts +1 -1
  308. package/lib/dialog/index.d.ts +1 -1
  309. package/lib/divider/Divider.d.ts +1 -1
  310. package/lib/divider/index.d.ts +1 -1
  311. package/lib/dropdown-item/DropdownItem.d.ts +1 -1
  312. package/lib/dropdown-item/index.d.ts +1 -1
  313. package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
  314. package/lib/dropdown-menu/DropdownMenu.js +10 -3
  315. package/lib/dropdown-menu/index.d.ts +1 -1
  316. package/lib/dropdown-menu/types.d.ts +5 -1
  317. package/lib/empty/Empty.d.ts +1 -1
  318. package/lib/empty/index.d.ts +1 -1
  319. package/lib/field/Field.d.ts +1 -1
  320. package/lib/field/index.d.ts +1 -1
  321. package/lib/floating-panel/FloatingPanel.d.ts +77 -0
  322. package/lib/floating-panel/FloatingPanel.js +145 -0
  323. package/lib/floating-panel/index.css +1 -0
  324. package/lib/floating-panel/index.d.ts +60 -0
  325. package/lib/floating-panel/index.js +37 -0
  326. package/lib/floating-panel/style/index.d.ts +1 -0
  327. package/lib/floating-panel/style/index.js +2 -0
  328. package/lib/form/Form.d.ts +1 -1
  329. package/lib/form/index.d.ts +1 -1
  330. package/lib/grid/Grid.d.ts +1 -1
  331. package/lib/grid/index.d.ts +1 -1
  332. package/lib/grid-item/GridItem.d.ts +1 -1
  333. package/lib/grid-item/index.d.ts +1 -1
  334. package/lib/icon/Icon.d.ts +1 -1
  335. package/lib/icon/index.d.ts +1 -1
  336. package/lib/image/Image.d.ts +1 -1
  337. package/lib/image/index.d.ts +1 -1
  338. package/lib/image-preview/ImagePreview.d.ts +1 -1
  339. package/lib/image-preview/ImagePreviewItem.d.ts +1 -1
  340. package/lib/image-preview/ImagePreviewItem.js +8 -2
  341. package/lib/image-preview/index.d.ts +1 -1
  342. package/lib/index-anchor/IndexAnchor.d.ts +1 -1
  343. package/lib/index-anchor/index.d.ts +1 -1
  344. package/lib/index-bar/IndexBar.d.ts +1 -1
  345. package/lib/index-bar/index.d.ts +1 -1
  346. package/lib/index.css +1 -1
  347. package/lib/index.d.ts +2 -1
  348. package/lib/index.js +4 -1
  349. package/lib/list/List.d.ts +1 -1
  350. package/lib/list/index.d.ts +1 -1
  351. package/lib/loading/Loading.d.ts +1 -1
  352. package/lib/loading/index.d.ts +1 -1
  353. package/lib/nav-bar/NavBar.d.ts +1 -1
  354. package/lib/nav-bar/index.d.ts +1 -1
  355. package/lib/notice-bar/NoticeBar.d.ts +1 -1
  356. package/lib/notice-bar/index.d.ts +1 -1
  357. package/lib/notify/Notify.d.ts +1 -1
  358. package/lib/notify/index.d.ts +1 -1
  359. package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
  360. package/lib/number-keyboard/NumberKeyboardKey.d.ts +1 -1
  361. package/lib/number-keyboard/index.d.ts +1 -1
  362. package/lib/overlay/Overlay.d.ts +1 -1
  363. package/lib/overlay/index.d.ts +1 -1
  364. package/lib/pagination/Pagination.d.ts +1 -1
  365. package/lib/pagination/index.d.ts +1 -1
  366. package/lib/password-input/PasswordInput.d.ts +1 -1
  367. package/lib/password-input/index.d.ts +1 -1
  368. package/lib/picker/Picker.d.ts +1 -1
  369. package/lib/picker/PickerColumn.d.ts +1 -1
  370. package/lib/picker/PickerToolbar.d.ts +1 -1
  371. package/lib/picker/index.d.ts +1 -1
  372. package/lib/picker-group/PickerGroup.d.ts +1 -1
  373. package/lib/picker-group/index.d.ts +1 -1
  374. package/lib/popover/Popover.d.ts +15 -2
  375. package/lib/popover/Popover.js +8 -3
  376. package/lib/popover/index.css +1 -1
  377. package/lib/popover/index.d.ts +10 -1
  378. package/lib/popover/types.d.ts +1 -0
  379. package/lib/popup/Popup.d.ts +1 -1
  380. package/lib/popup/Popup.js +8 -1
  381. package/lib/popup/index.d.ts +1 -1
  382. package/lib/progress/Progress.d.ts +1 -1
  383. package/lib/progress/index.d.ts +1 -1
  384. package/lib/pull-refresh/PullRefresh.d.ts +1 -1
  385. package/lib/pull-refresh/index.d.ts +1 -1
  386. package/lib/radio/Radio.d.ts +1 -1
  387. package/lib/radio/index.d.ts +1 -1
  388. package/lib/radio-group/RadioGroup.d.ts +1 -1
  389. package/lib/radio-group/index.d.ts +1 -1
  390. package/lib/rate/Rate.d.ts +1 -1
  391. package/lib/rate/index.d.ts +1 -1
  392. package/lib/row/Row.d.ts +1 -1
  393. package/lib/row/index.d.ts +1 -1
  394. package/lib/search/Search.d.ts +1 -1
  395. package/lib/search/index.d.ts +1 -1
  396. package/lib/share-sheet/ShareSheet.d.ts +1 -1
  397. package/lib/share-sheet/index.d.ts +1 -1
  398. package/lib/sidebar/Sidebar.d.ts +1 -1
  399. package/lib/sidebar/index.d.ts +1 -1
  400. package/lib/sidebar-item/SidebarItem.d.ts +1 -1
  401. package/lib/sidebar-item/index.d.ts +1 -1
  402. package/lib/signature/Signature.d.ts +1 -1
  403. package/lib/signature/index.d.ts +1 -1
  404. package/lib/skeleton/Skeleton.d.ts +1 -1
  405. package/lib/skeleton/index.d.ts +1 -1
  406. package/lib/skeleton-avatar/SkeletonAvatar.d.ts +1 -1
  407. package/lib/skeleton-avatar/index.d.ts +1 -1
  408. package/lib/skeleton-image/SkeletonImage.d.ts +1 -1
  409. package/lib/skeleton-image/index.d.ts +1 -1
  410. package/lib/skeleton-paragraph/SkeletonParagraph.d.ts +1 -1
  411. package/lib/skeleton-paragraph/index.d.ts +1 -1
  412. package/lib/skeleton-title/SkeletonTitle.d.ts +1 -1
  413. package/lib/skeleton-title/index.d.ts +1 -1
  414. package/lib/slider/Slider.d.ts +1 -1
  415. package/lib/slider/Slider.js +20 -7
  416. package/lib/slider/index.d.ts +1 -1
  417. package/lib/space/Space.d.ts +1 -1
  418. package/lib/space/index.d.ts +1 -1
  419. package/lib/step/Step.d.ts +1 -1
  420. package/lib/step/index.d.ts +1 -1
  421. package/lib/stepper/Stepper.d.ts +1 -1
  422. package/lib/stepper/index.d.ts +1 -1
  423. package/lib/steps/Steps.d.ts +1 -1
  424. package/lib/steps/index.d.ts +1 -1
  425. package/lib/sticky/Sticky.d.ts +1 -1
  426. package/lib/sticky/index.d.ts +1 -1
  427. package/lib/submit-bar/SubmitBar.d.ts +1 -1
  428. package/lib/submit-bar/index.d.ts +1 -1
  429. package/lib/swipe/Swipe.d.ts +1 -1
  430. package/lib/swipe/index.d.ts +1 -1
  431. package/lib/swipe-cell/SwipeCell.d.ts +1 -1
  432. package/lib/swipe-cell/index.d.ts +1 -1
  433. package/lib/swipe-item/SwipeItem.d.ts +1 -1
  434. package/lib/swipe-item/index.d.ts +1 -1
  435. package/lib/switch/Switch.d.ts +1 -1
  436. package/lib/switch/index.d.ts +1 -1
  437. package/lib/tab/Tab.d.ts +1 -1
  438. package/lib/tab/Tab.js +13 -2
  439. package/lib/tab/TabTitle.d.ts +1 -1
  440. package/lib/tab/index.d.ts +1 -1
  441. package/lib/tabbar/Tabbar.d.ts +1 -1
  442. package/lib/tabbar/index.d.ts +1 -1
  443. package/lib/tabbar-item/TabbarItem.d.ts +1 -1
  444. package/lib/tabbar-item/index.d.ts +1 -1
  445. package/lib/tabs/Tabs.d.ts +1 -1
  446. package/lib/tabs/TabsContent.d.ts +1 -1
  447. package/lib/tabs/index.d.ts +1 -1
  448. package/lib/tag/Tag.d.ts +1 -1
  449. package/lib/tag/index.d.ts +1 -1
  450. package/lib/text-ellipsis/TextEllipsis.d.ts +1 -1
  451. package/lib/text-ellipsis/index.d.ts +1 -1
  452. package/lib/time-picker/TimePicker.d.ts +32 -5
  453. package/lib/time-picker/TimePicker.js +84 -32
  454. package/lib/time-picker/index.d.ts +21 -3
  455. package/lib/toast/Toast.d.ts +1 -1
  456. package/lib/toast/index.d.ts +1 -1
  457. package/lib/tree-select/TreeSelect.d.ts +1 -1
  458. package/lib/tree-select/index.d.ts +1 -1
  459. package/lib/uploader/Uploader.d.ts +1 -1
  460. package/lib/uploader/UploaderPreviewItem.d.ts +1 -1
  461. package/lib/uploader/index.d.ts +1 -1
  462. package/lib/utils/basic.d.ts +3 -0
  463. package/lib/utils/constant.d.ts +1 -0
  464. package/lib/utils/constant.js +2 -0
  465. package/lib/utils/mount-component.d.ts +1 -1
  466. package/lib/vant.cjs.js +818 -583
  467. package/lib/vant.es.js +819 -584
  468. package/lib/vant.js +839 -579
  469. package/lib/vant.min.js +1 -1
  470. package/lib/watermark/Watermark.d.ts +1 -1
  471. package/lib/watermark/index.d.ts +1 -1
  472. package/lib/web-types.json +1 -1
  473. package/package.json +5 -4
package/lib/vant.cjs.js CHANGED
@@ -2,6 +2,7 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
4
  const use = require("@vant/use");
5
+ const shared = require("@vue/shared");
5
6
  const popperjs = require("@vant/popperjs");
6
7
  const isDef = (val) => val !== void 0 && val !== null;
7
8
  const isFunction = (val) => typeof val === "function";
@@ -113,7 +114,7 @@ function isHidden(elementRef) {
113
114
  const parentHidden = el.offsetParent === null && style.position !== "fixed";
114
115
  return hidden || parentHidden;
115
116
  }
116
- const { width: windowWidth, height: windowHeight } = use.useWindowSize();
117
+ const { width: windowWidth, height: windowHeight$1 } = use.useWindowSize();
117
118
  function addUnit(value) {
118
119
  if (isDef(value)) {
119
120
  return isNumeric(value) ? `${value}px` : String(value);
@@ -161,7 +162,7 @@ function convertVw(value) {
161
162
  }
162
163
  function convertVh(value) {
163
164
  value = value.replace(/vh/g, "");
164
- return +value * windowHeight.value / 100;
165
+ return +value * windowHeight$1.value / 100;
165
166
  }
166
167
  function unitToPx(value) {
167
168
  if (typeof value === "number") {
@@ -237,7 +238,7 @@ function deepAssign(to, from) {
237
238
  });
238
239
  return to;
239
240
  }
240
- var stdin_default$1Q = {
241
+ var stdin_default$1R = {
241
242
  name: "姓名",
242
243
  tel: "电话",
243
244
  save: "保存",
@@ -301,7 +302,7 @@ var stdin_default$1Q = {
301
302
  };
302
303
  const lang = vue.ref("zh-CN");
303
304
  const messages = vue.reactive({
304
- "zh-CN": stdin_default$1Q
305
+ "zh-CN": stdin_default$1R
305
306
  });
306
307
  const Locale = {
307
308
  messages() {
@@ -316,11 +317,11 @@ const Locale = {
316
317
  }
317
318
  };
318
319
  const useCurrentLang = () => lang;
319
- var stdin_default$1P = Locale;
320
+ var stdin_default$1Q = Locale;
320
321
  function createTranslate(name2) {
321
322
  const prefix = camelize(name2) + ".";
322
323
  return (path, ...args) => {
323
- const messages2 = stdin_default$1P.messages();
324
+ const messages2 = stdin_default$1Q.messages();
324
325
  const message = get(messages2, prefix + path) || get(messages2, path);
325
326
  return isFunction(message) ? message(...args) : message;
326
327
  };
@@ -364,6 +365,7 @@ function createNamespace(name2) {
364
365
  const BORDER = "van-hairline";
365
366
  const BORDER_TOP = `${BORDER}--top`;
366
367
  const BORDER_LEFT = `${BORDER}--left`;
368
+ const BORDER_RIGHT = `${BORDER}--right`;
367
369
  const BORDER_BOTTOM = `${BORDER}--bottom`;
368
370
  const BORDER_SURROUND = `${BORDER}--surround`;
369
371
  const BORDER_TOP_BOTTOM = `${BORDER}--top-bottom`;
@@ -430,7 +432,7 @@ const useHeight = (element, withSafeArea) => {
430
432
  }
431
433
  });
432
434
  onPopupReopen(() => vue.nextTick(setHeight));
433
- vue.watch([windowWidth, windowHeight], setHeight);
435
+ vue.watch([windowWidth, windowHeight$1], setHeight);
434
436
  return height;
435
437
  };
436
438
  function usePlaceholder(contentRef, bem2) {
@@ -442,20 +444,20 @@ function usePlaceholder(contentRef, bem2) {
442
444
  }
443
445
  }, [renderContent()]);
444
446
  }
445
- const [name$1F, bem$1A] = createNamespace("action-bar");
446
- const ACTION_BAR_KEY = Symbol(name$1F);
447
+ const [name$1G, bem$1B] = createNamespace("action-bar");
448
+ const ACTION_BAR_KEY = Symbol(name$1G);
447
449
  const actionBarProps = {
448
450
  placeholder: Boolean,
449
451
  safeAreaInsetBottom: truthProp
450
452
  };
451
- var stdin_default$1O = vue.defineComponent({
452
- name: name$1F,
453
+ var stdin_default$1P = vue.defineComponent({
454
+ name: name$1G,
453
455
  props: actionBarProps,
454
456
  setup(props, {
455
457
  slots
456
458
  }) {
457
459
  const root = vue.ref();
458
- const renderPlaceholder = usePlaceholder(root, bem$1A);
460
+ const renderPlaceholder = usePlaceholder(root, bem$1B);
459
461
  const {
460
462
  linkChildren
461
463
  } = use.useChildren(ACTION_BAR_KEY);
@@ -464,7 +466,7 @@ var stdin_default$1O = vue.defineComponent({
464
466
  var _a;
465
467
  return vue.createVNode("div", {
466
468
  "ref": root,
467
- "class": [bem$1A(), {
469
+ "class": [bem$1B(), {
468
470
  "van-safe-area-bottom": props.safeAreaInsetBottom
469
471
  }]
470
472
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
@@ -477,7 +479,7 @@ var stdin_default$1O = vue.defineComponent({
477
479
  };
478
480
  }
479
481
  });
480
- const ActionBar = withInstall(stdin_default$1O);
482
+ const ActionBar = withInstall(stdin_default$1P);
481
483
  function useExpose(apis) {
482
484
  const instance2 = vue.getCurrentInstance();
483
485
  if (instance2) {
@@ -505,7 +507,7 @@ function useRoute() {
505
507
  const vm = vue.getCurrentInstance().proxy;
506
508
  return () => route(vm);
507
509
  }
508
- const [name$1E, bem$1z] = createNamespace("badge");
510
+ const [name$1F, bem$1A] = createNamespace("badge");
509
511
  const badgeProps = {
510
512
  dot: Boolean,
511
513
  max: numericProp,
@@ -516,8 +518,8 @@ const badgeProps = {
516
518
  showZero: truthProp,
517
519
  position: makeStringProp("top-right")
518
520
  };
519
- var stdin_default$1N = vue.defineComponent({
520
- name: name$1E,
521
+ var stdin_default$1O = vue.defineComponent({
522
+ name: name$1F,
521
523
  props: badgeProps,
522
524
  setup(props, {
523
525
  slots
@@ -580,7 +582,7 @@ var stdin_default$1N = vue.defineComponent({
580
582
  const renderBadge = () => {
581
583
  if (hasContent() || props.dot) {
582
584
  return vue.createVNode("div", {
583
- "class": bem$1z([props.position, {
585
+ "class": bem$1A([props.position, {
584
586
  dot: props.dot,
585
587
  fixed: !!slots.default
586
588
  }]),
@@ -594,7 +596,7 @@ var stdin_default$1N = vue.defineComponent({
594
596
  tag
595
597
  } = props;
596
598
  return vue.createVNode(tag, {
597
- "class": bem$1z("wrapper")
599
+ "class": bem$1A("wrapper")
598
600
  }, {
599
601
  default: () => [slots.default(), renderBadge()]
600
602
  });
@@ -603,14 +605,14 @@ var stdin_default$1N = vue.defineComponent({
603
605
  };
604
606
  }
605
607
  });
606
- const Badge = withInstall(stdin_default$1N);
608
+ const Badge = withInstall(stdin_default$1O);
607
609
  let globalZIndex = 2e3;
608
610
  const useGlobalZIndex = () => ++globalZIndex;
609
611
  const setGlobalZIndex = (val) => {
610
612
  globalZIndex = val;
611
613
  };
612
- const [name$1D, bem$1y] = createNamespace("config-provider");
613
- const CONFIG_PROVIDER_KEY = Symbol(name$1D);
614
+ const [name$1E, bem$1z] = createNamespace("config-provider");
615
+ const CONFIG_PROVIDER_KEY = Symbol(name$1E);
614
616
  const configProviderProps = {
615
617
  tag: makeStringProp("div"),
616
618
  theme: makeStringProp("light"),
@@ -627,8 +629,8 @@ function mapThemeVarsToCSSVars(themeVars) {
627
629
  });
628
630
  return cssVars;
629
631
  }
630
- var stdin_default$1M = vue.defineComponent({
631
- name: name$1D,
632
+ var stdin_default$1N = vue.defineComponent({
633
+ name: name$1E,
632
634
  props: configProviderProps,
633
635
  setup(props, {
634
636
  slots
@@ -660,7 +662,7 @@ var stdin_default$1M = vue.defineComponent({
660
662
  }
661
663
  });
662
664
  return () => vue.createVNode(props.tag, {
663
- "class": bem$1y(),
665
+ "class": bem$1z(),
664
666
  "style": style.value
665
667
  }, {
666
668
  default: () => {
@@ -670,7 +672,7 @@ var stdin_default$1M = vue.defineComponent({
670
672
  });
671
673
  }
672
674
  });
673
- const [name$1C, bem$1x] = createNamespace("icon");
675
+ const [name$1D, bem$1y] = createNamespace("icon");
674
676
  const isImage$1 = (name2) => name2 == null ? void 0 : name2.includes("/");
675
677
  const iconProps = {
676
678
  dot: Boolean,
@@ -682,14 +684,14 @@ const iconProps = {
682
684
  badgeProps: Object,
683
685
  classPrefix: String
684
686
  };
685
- var stdin_default$1L = vue.defineComponent({
686
- name: name$1C,
687
+ var stdin_default$1M = vue.defineComponent({
688
+ name: name$1D,
687
689
  props: iconProps,
688
690
  setup(props, {
689
691
  slots
690
692
  }) {
691
693
  const config = vue.inject(CONFIG_PROVIDER_KEY, null);
692
- const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1x());
694
+ const classPrefix = vue.computed(() => props.classPrefix || (config == null ? void 0 : config.iconPrefix) || bem$1y());
693
695
  return () => {
694
696
  const {
695
697
  tag,
@@ -713,7 +715,7 @@ var stdin_default$1L = vue.defineComponent({
713
715
  default: () => {
714
716
  var _a;
715
717
  return [(_a = slots.default) == null ? void 0 : _a.call(slots), isImageIcon && vue.createVNode("img", {
716
- "class": bem$1x("image"),
718
+ "class": bem$1y("image"),
717
719
  "src": name2
718
720
  }, null)];
719
721
  }
@@ -721,13 +723,13 @@ var stdin_default$1L = vue.defineComponent({
721
723
  };
722
724
  }
723
725
  });
724
- const Icon = withInstall(stdin_default$1L);
725
- const [name$1B, bem$1w] = createNamespace("loading");
726
+ const Icon = withInstall(stdin_default$1M);
727
+ const [name$1C, bem$1x] = createNamespace("loading");
726
728
  const SpinIcon = Array(12).fill(null).map((_, index) => vue.createVNode("i", {
727
- "class": bem$1w("line", String(index + 1))
729
+ "class": bem$1x("line", String(index + 1))
728
730
  }, null));
729
731
  const CircularIcon = vue.createVNode("svg", {
730
- "class": bem$1w("circular"),
732
+ "class": bem$1x("circular"),
731
733
  "viewBox": "25 25 50 50"
732
734
  }, [vue.createVNode("circle", {
733
735
  "cx": "50",
@@ -743,8 +745,8 @@ const loadingProps = {
743
745
  textSize: numericProp,
744
746
  textColor: String
745
747
  };
746
- var stdin_default$1K = vue.defineComponent({
747
- name: name$1B,
748
+ var stdin_default$1L = vue.defineComponent({
749
+ name: name$1C,
748
750
  props: loadingProps,
749
751
  setup(props, {
750
752
  slots
@@ -755,7 +757,7 @@ var stdin_default$1K = vue.defineComponent({
755
757
  const renderIcon = () => {
756
758
  const DefaultIcon = props.type === "spinner" ? SpinIcon : CircularIcon;
757
759
  return vue.createVNode("span", {
758
- "class": bem$1w("spinner", props.type),
760
+ "class": bem$1x("spinner", props.type),
759
761
  "style": spinnerStyle.value
760
762
  }, [slots.icon ? slots.icon() : DefaultIcon]);
761
763
  };
@@ -763,7 +765,7 @@ var stdin_default$1K = vue.defineComponent({
763
765
  var _a;
764
766
  if (slots.default) {
765
767
  return vue.createVNode("span", {
766
- "class": bem$1w("text"),
768
+ "class": bem$1x("text"),
767
769
  "style": {
768
770
  fontSize: addUnit(props.textSize),
769
771
  color: (_a = props.textColor) != null ? _a : props.color
@@ -777,7 +779,7 @@ var stdin_default$1K = vue.defineComponent({
777
779
  vertical
778
780
  } = props;
779
781
  return vue.createVNode("div", {
780
- "class": bem$1w([type, {
782
+ "class": bem$1x([type, {
781
783
  vertical
782
784
  }]),
783
785
  "aria-live": "polite",
@@ -786,8 +788,8 @@ var stdin_default$1K = vue.defineComponent({
786
788
  };
787
789
  }
788
790
  });
789
- const Loading = withInstall(stdin_default$1K);
790
- const [name$1A, bem$1v] = createNamespace("button");
791
+ const Loading = withInstall(stdin_default$1L);
792
+ const [name$1B, bem$1w] = createNamespace("button");
791
793
  const buttonProps = extend({}, routeProps, {
792
794
  tag: makeStringProp("button"),
793
795
  text: String,
@@ -809,8 +811,8 @@ const buttonProps = extend({}, routeProps, {
809
811
  loadingType: String,
810
812
  iconPosition: makeStringProp("left")
811
813
  });
812
- var stdin_default$1J = vue.defineComponent({
813
- name: name$1A,
814
+ var stdin_default$1K = vue.defineComponent({
815
+ name: name$1B,
814
816
  props: buttonProps,
815
817
  emits: ["click"],
816
818
  setup(props, {
@@ -825,7 +827,7 @@ var stdin_default$1J = vue.defineComponent({
825
827
  return vue.createVNode(Loading, {
826
828
  "size": props.loadingSize,
827
829
  "type": props.loadingType,
828
- "class": bem$1v("loading")
830
+ "class": bem$1w("loading")
829
831
  }, null);
830
832
  };
831
833
  const renderIcon = () => {
@@ -834,13 +836,13 @@ var stdin_default$1J = vue.defineComponent({
834
836
  }
835
837
  if (slots.icon) {
836
838
  return vue.createVNode("div", {
837
- "class": bem$1v("icon")
839
+ "class": bem$1w("icon")
838
840
  }, [slots.icon()]);
839
841
  }
840
842
  if (props.icon) {
841
843
  return vue.createVNode(Icon, {
842
844
  "name": props.icon,
843
- "class": bem$1v("icon"),
845
+ "class": bem$1w("icon"),
844
846
  "classPrefix": props.iconPrefix
845
847
  }, null);
846
848
  }
@@ -854,7 +856,7 @@ var stdin_default$1J = vue.defineComponent({
854
856
  }
855
857
  if (text) {
856
858
  return vue.createVNode("span", {
857
- "class": bem$1v("text")
859
+ "class": bem$1w("text")
858
860
  }, [text]);
859
861
  }
860
862
  };
@@ -901,7 +903,7 @@ var stdin_default$1J = vue.defineComponent({
901
903
  nativeType,
902
904
  iconPosition
903
905
  } = props;
904
- const classes = [bem$1v([type, size, {
906
+ const classes = [bem$1w([type, size, {
905
907
  plain,
906
908
  block,
907
909
  round,
@@ -920,14 +922,14 @@ var stdin_default$1J = vue.defineComponent({
920
922
  "onClick": onClick
921
923
  }, {
922
924
  default: () => [vue.createVNode("div", {
923
- "class": bem$1v("content")
925
+ "class": bem$1w("content")
924
926
  }, [iconPosition === "left" && renderIcon(), renderText(), iconPosition === "right" && renderIcon()])]
925
927
  });
926
928
  };
927
929
  }
928
930
  });
929
- const Button = withInstall(stdin_default$1J);
930
- const [name$1z, bem$1u] = createNamespace("action-bar-button");
931
+ const Button = withInstall(stdin_default$1K);
932
+ const [name$1A, bem$1v] = createNamespace("action-bar-button");
931
933
  const actionBarButtonProps = extend({}, routeProps, {
932
934
  type: String,
933
935
  text: String,
@@ -936,8 +938,8 @@ const actionBarButtonProps = extend({}, routeProps, {
936
938
  loading: Boolean,
937
939
  disabled: Boolean
938
940
  });
939
- var stdin_default$1I = vue.defineComponent({
940
- name: name$1z,
941
+ var stdin_default$1J = vue.defineComponent({
942
+ name: name$1A,
941
943
  props: actionBarButtonProps,
942
944
  setup(props, {
943
945
  slots
@@ -972,7 +974,7 @@ var stdin_default$1I = vue.defineComponent({
972
974
  disabled
973
975
  } = props;
974
976
  return vue.createVNode(Button, {
975
- "class": bem$1u([type, {
977
+ "class": bem$1v([type, {
976
978
  last: isLast.value,
977
979
  first: isFirst.value
978
980
  }]),
@@ -989,8 +991,8 @@ var stdin_default$1I = vue.defineComponent({
989
991
  };
990
992
  }
991
993
  });
992
- const ActionBarButton = withInstall(stdin_default$1I);
993
- const [name$1y, bem$1t] = createNamespace("action-bar-icon");
994
+ const ActionBarButton = withInstall(stdin_default$1J);
995
+ const [name$1z, bem$1u] = createNamespace("action-bar-icon");
994
996
  const actionBarIconProps = extend({}, routeProps, {
995
997
  dot: Boolean,
996
998
  text: String,
@@ -1001,8 +1003,8 @@ const actionBarIconProps = extend({}, routeProps, {
1001
1003
  badgeProps: Object,
1002
1004
  iconPrefix: String
1003
1005
  });
1004
- var stdin_default$1H = vue.defineComponent({
1005
- name: name$1y,
1006
+ var stdin_default$1I = vue.defineComponent({
1007
+ name: name$1z,
1006
1008
  props: actionBarIconProps,
1007
1009
  setup(props, {
1008
1010
  slots
@@ -1022,7 +1024,7 @@ var stdin_default$1H = vue.defineComponent({
1022
1024
  if (slots.icon) {
1023
1025
  return vue.createVNode(Badge, vue.mergeProps({
1024
1026
  "dot": dot,
1025
- "class": bem$1t("icon"),
1027
+ "class": bem$1u("icon"),
1026
1028
  "content": badge
1027
1029
  }, badgeProps2), {
1028
1030
  default: slots.icon
@@ -1034,20 +1036,20 @@ var stdin_default$1H = vue.defineComponent({
1034
1036
  "name": icon,
1035
1037
  "badge": badge,
1036
1038
  "color": color,
1037
- "class": [bem$1t("icon"), iconClass],
1039
+ "class": [bem$1u("icon"), iconClass],
1038
1040
  "badgeProps": badgeProps2,
1039
1041
  "classPrefix": iconPrefix
1040
1042
  }, null);
1041
1043
  };
1042
1044
  return () => vue.createVNode("div", {
1043
1045
  "role": "button",
1044
- "class": bem$1t(),
1046
+ "class": bem$1u(),
1045
1047
  "tabindex": 0,
1046
1048
  "onClick": route2
1047
1049
  }, [renderIcon(), slots.default ? slots.default() : props.text]);
1048
1050
  }
1049
1051
  });
1050
- const ActionBarIcon = withInstall(stdin_default$1H);
1052
+ const ActionBarIcon = withInstall(stdin_default$1I);
1051
1053
  const popupSharedProps = {
1052
1054
  // whether to show popup
1053
1055
  show: Boolean,
@@ -1198,7 +1200,7 @@ function useLazyRender(show) {
1198
1200
  );
1199
1201
  return (render) => () => inited.value ? render() : null;
1200
1202
  }
1201
- const [name$1x, bem$1s] = createNamespace("overlay");
1203
+ const [name$1y, bem$1t] = createNamespace("overlay");
1202
1204
  const overlayProps = {
1203
1205
  show: Boolean,
1204
1206
  zIndex: numericProp,
@@ -1208,8 +1210,8 @@ const overlayProps = {
1208
1210
  lazyRender: truthProp,
1209
1211
  customStyle: Object
1210
1212
  };
1211
- var stdin_default$1G = vue.defineComponent({
1212
- name: name$1x,
1213
+ var stdin_default$1H = vue.defineComponent({
1214
+ name: name$1y,
1213
1215
  props: overlayProps,
1214
1216
  setup(props, {
1215
1217
  slots
@@ -1230,7 +1232,7 @@ var stdin_default$1G = vue.defineComponent({
1230
1232
  return vue.withDirectives(vue.createVNode("div", {
1231
1233
  "ref": root,
1232
1234
  "style": style,
1233
- "class": [bem$1s(), props.className]
1235
+ "class": [bem$1t(), props.className]
1234
1236
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]), [[vue.vShow, props.show]]);
1235
1237
  });
1236
1238
  use.useEventListener("touchmove", onTouchMove, {
@@ -1244,7 +1246,7 @@ var stdin_default$1G = vue.defineComponent({
1244
1246
  });
1245
1247
  }
1246
1248
  });
1247
- const Overlay = withInstall(stdin_default$1G);
1249
+ const Overlay = withInstall(stdin_default$1H);
1248
1250
  const popupProps$2 = extend({}, popupSharedProps, {
1249
1251
  round: Boolean,
1250
1252
  position: makeStringProp("center"),
@@ -1257,9 +1259,9 @@ const popupProps$2 = extend({}, popupSharedProps, {
1257
1259
  safeAreaInsetTop: Boolean,
1258
1260
  safeAreaInsetBottom: Boolean
1259
1261
  });
1260
- const [name$1w, bem$1r] = createNamespace("popup");
1261
- var stdin_default$1F = vue.defineComponent({
1262
- name: name$1w,
1262
+ const [name$1x, bem$1s] = createNamespace("popup");
1263
+ var stdin_default$1G = vue.defineComponent({
1264
+ name: name$1x,
1263
1265
  inheritAttrs: false,
1264
1266
  props: popupProps$2,
1265
1267
  emits: ["open", "close", "opened", "closed", "keydown", "update:show", "clickOverlay", "clickCloseIcon"],
@@ -1333,13 +1335,20 @@ var stdin_default$1F = vue.defineComponent({
1333
1335
  "role": "button",
1334
1336
  "tabindex": 0,
1335
1337
  "name": props.closeIcon,
1336
- "class": [bem$1r("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1338
+ "class": [bem$1s("close-icon", props.closeIconPosition), HAPTICS_FEEDBACK],
1337
1339
  "classPrefix": props.iconPrefix,
1338
1340
  "onClick": onClickCloseIcon
1339
1341
  }, null);
1340
1342
  }
1341
1343
  };
1342
- const onOpened = () => emit("opened");
1344
+ let timer2;
1345
+ const onOpened = () => {
1346
+ if (timer2)
1347
+ clearTimeout(timer2);
1348
+ timer2 = setTimeout(() => {
1349
+ emit("opened");
1350
+ });
1351
+ };
1343
1352
  const onClosed = () => emit("closed");
1344
1353
  const onKeydown = (event) => emit("keydown", event);
1345
1354
  const renderPopup = lazyRender(() => {
@@ -1355,7 +1364,7 @@ var stdin_default$1F = vue.defineComponent({
1355
1364
  "style": style.value,
1356
1365
  "role": "dialog",
1357
1366
  "tabindex": 0,
1358
- "class": [bem$1r({
1367
+ "class": [bem$1s({
1359
1368
  round,
1360
1369
  [position]: position
1361
1370
  }), {
@@ -1436,8 +1445,8 @@ var stdin_default$1F = vue.defineComponent({
1436
1445
  };
1437
1446
  }
1438
1447
  });
1439
- const Popup = withInstall(stdin_default$1F);
1440
- const [name$1v, bem$1q] = createNamespace("action-sheet");
1448
+ const Popup = withInstall(stdin_default$1G);
1449
+ const [name$1w, bem$1r] = createNamespace("action-sheet");
1441
1450
  const actionSheetProps = extend({}, popupSharedProps, {
1442
1451
  title: String,
1443
1452
  round: truthProp,
@@ -1451,8 +1460,8 @@ const actionSheetProps = extend({}, popupSharedProps, {
1451
1460
  safeAreaInsetBottom: truthProp
1452
1461
  });
1453
1462
  const popupInheritKeys$2 = [...popupSharedPropKeys, "round", "closeOnPopstate", "safeAreaInsetBottom"];
1454
- var stdin_default$1E = vue.defineComponent({
1455
- name: name$1v,
1463
+ var stdin_default$1F = vue.defineComponent({
1464
+ name: name$1w,
1456
1465
  props: actionSheetProps,
1457
1466
  emits: ["select", "cancel", "update:show"],
1458
1467
  setup(props, {
@@ -1467,10 +1476,10 @@ var stdin_default$1E = vue.defineComponent({
1467
1476
  const renderHeader = () => {
1468
1477
  if (props.title) {
1469
1478
  return vue.createVNode("div", {
1470
- "class": bem$1q("header")
1479
+ "class": bem$1r("header")
1471
1480
  }, [props.title, props.closeable && vue.createVNode(Icon, {
1472
1481
  "name": props.closeIcon,
1473
- "class": [bem$1q("close"), HAPTICS_FEEDBACK],
1482
+ "class": [bem$1r("close"), HAPTICS_FEEDBACK],
1474
1483
  "onClick": onCancel
1475
1484
  }, null)]);
1476
1485
  }
@@ -1478,10 +1487,10 @@ var stdin_default$1E = vue.defineComponent({
1478
1487
  const renderCancel = () => {
1479
1488
  if (slots.cancel || props.cancelText) {
1480
1489
  return [vue.createVNode("div", {
1481
- "class": bem$1q("gap")
1490
+ "class": bem$1r("gap")
1482
1491
  }, null), vue.createVNode("button", {
1483
1492
  "type": "button",
1484
- "class": bem$1q("cancel"),
1493
+ "class": bem$1r("cancel"),
1485
1494
  "onClick": onCancel
1486
1495
  }, [slots.cancel ? slots.cancel() : props.cancelText])];
1487
1496
  }
@@ -1489,7 +1498,7 @@ var stdin_default$1E = vue.defineComponent({
1489
1498
  const renderActionContent = (action, index) => {
1490
1499
  if (action.loading) {
1491
1500
  return vue.createVNode(Loading, {
1492
- "class": bem$1q("loading-icon")
1501
+ "class": bem$1r("loading-icon")
1493
1502
  }, null);
1494
1503
  }
1495
1504
  if (slots.action) {
@@ -1499,9 +1508,9 @@ var stdin_default$1E = vue.defineComponent({
1499
1508
  });
1500
1509
  }
1501
1510
  return [vue.createVNode("span", {
1502
- "class": bem$1q("name")
1511
+ "class": bem$1r("name")
1503
1512
  }, [action.name]), action.subname && vue.createVNode("div", {
1504
- "class": bem$1q("subname")
1513
+ "class": bem$1r("subname")
1505
1514
  }, [action.subname])];
1506
1515
  };
1507
1516
  const renderAction = (action, index) => {
@@ -1529,7 +1538,7 @@ var stdin_default$1E = vue.defineComponent({
1529
1538
  "style": {
1530
1539
  color
1531
1540
  },
1532
- "class": [bem$1q("item", {
1541
+ "class": [bem$1r("item", {
1533
1542
  loading,
1534
1543
  disabled
1535
1544
  }), className],
@@ -1540,26 +1549,26 @@ var stdin_default$1E = vue.defineComponent({
1540
1549
  if (props.description || slots.description) {
1541
1550
  const content = slots.description ? slots.description() : props.description;
1542
1551
  return vue.createVNode("div", {
1543
- "class": bem$1q("description")
1552
+ "class": bem$1r("description")
1544
1553
  }, [content]);
1545
1554
  }
1546
1555
  };
1547
1556
  return () => vue.createVNode(Popup, vue.mergeProps({
1548
- "class": bem$1q(),
1557
+ "class": bem$1r(),
1549
1558
  "position": "bottom",
1550
1559
  "onUpdate:show": updateShow
1551
1560
  }, pick(props, popupInheritKeys$2)), {
1552
1561
  default: () => {
1553
1562
  var _a;
1554
1563
  return [renderHeader(), renderDescription(), vue.createVNode("div", {
1555
- "class": bem$1q("content")
1564
+ "class": bem$1r("content")
1556
1565
  }, [props.actions.map(renderAction), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderCancel()];
1557
1566
  }
1558
1567
  });
1559
1568
  }
1560
1569
  });
1561
- const ActionSheet = withInstall(stdin_default$1E);
1562
- const [name$1u, bem$1p, t$k] = createNamespace("picker");
1570
+ const ActionSheet = withInstall(stdin_default$1F);
1571
+ const [name$1v, bem$1q, t$k] = createNamespace("picker");
1563
1572
  const getFirstEnabledOption = (options) => options.find((option) => !option.disabled) || options[0];
1564
1573
  function getColumnsType(columns, fields) {
1565
1574
  const firstColumn = columns[0];
@@ -1628,10 +1637,10 @@ function assignDefaultFields(fields) {
1628
1637
  const DEFAULT_DURATION = 200;
1629
1638
  const MOMENTUM_TIME = 300;
1630
1639
  const MOMENTUM_DISTANCE = 15;
1631
- const [name$1t, bem$1o] = createNamespace("picker-column");
1632
- const PICKER_KEY = Symbol(name$1t);
1633
- var stdin_default$1D = vue.defineComponent({
1634
- name: name$1t,
1640
+ const [name$1u, bem$1p] = createNamespace("picker-column");
1641
+ const PICKER_KEY = Symbol(name$1u);
1642
+ var stdin_default$1E = vue.defineComponent({
1643
+ name: name$1u,
1635
1644
  props: {
1636
1645
  value: numericProp,
1637
1646
  fields: makeRequiredProp(Object),
@@ -1770,7 +1779,7 @@ var stdin_default$1D = vue.defineComponent({
1770
1779
  role: "button",
1771
1780
  style: optionStyle,
1772
1781
  tabindex: disabled ? -1 : 0,
1773
- class: [bem$1o("item", {
1782
+ class: [bem$1p("item", {
1774
1783
  disabled,
1775
1784
  selected: value === props.value
1776
1785
  }), option.className],
@@ -1798,7 +1807,7 @@ var stdin_default$1D = vue.defineComponent({
1798
1807
  });
1799
1808
  return () => vue.createVNode("div", {
1800
1809
  "ref": root,
1801
- "class": bem$1o(),
1810
+ "class": bem$1p(),
1802
1811
  "onTouchstartPassive": onTouchStart,
1803
1812
  "onTouchend": onTouchEnd,
1804
1813
  "onTouchcancel": onTouchEnd
@@ -1809,12 +1818,12 @@ var stdin_default$1D = vue.defineComponent({
1809
1818
  transitionDuration: `${currentDuration.value}ms`,
1810
1819
  transitionProperty: currentDuration.value ? "all" : "none"
1811
1820
  },
1812
- "class": bem$1o("wrapper"),
1821
+ "class": bem$1p("wrapper"),
1813
1822
  "onTransitionend": stopMomentum
1814
1823
  }, [renderOptions()])]);
1815
1824
  }
1816
1825
  });
1817
- const [name$1s] = createNamespace("picker-toolbar");
1826
+ const [name$1t] = createNamespace("picker-toolbar");
1818
1827
  const pickerToolbarProps = {
1819
1828
  title: String,
1820
1829
  cancelButtonText: String,
@@ -1822,8 +1831,8 @@ const pickerToolbarProps = {
1822
1831
  };
1823
1832
  const pickerToolbarSlots = ["cancel", "confirm", "title", "toolbar"];
1824
1833
  const pickerToolbarPropKeys = Object.keys(pickerToolbarProps);
1825
- var stdin_default$1C = vue.defineComponent({
1826
- name: name$1s,
1834
+ var stdin_default$1D = vue.defineComponent({
1835
+ name: name$1t,
1827
1836
  props: pickerToolbarProps,
1828
1837
  emits: ["confirm", "cancel"],
1829
1838
  setup(props, {
@@ -1836,7 +1845,7 @@ var stdin_default$1C = vue.defineComponent({
1836
1845
  }
1837
1846
  if (props.title) {
1838
1847
  return vue.createVNode("div", {
1839
- "class": [bem$1p("title"), "van-ellipsis"]
1848
+ "class": [bem$1q("title"), "van-ellipsis"]
1840
1849
  }, [props.title]);
1841
1850
  }
1842
1851
  };
@@ -1846,7 +1855,7 @@ var stdin_default$1C = vue.defineComponent({
1846
1855
  const text = props.cancelButtonText || t$k("cancel");
1847
1856
  return vue.createVNode("button", {
1848
1857
  "type": "button",
1849
- "class": [bem$1p("cancel"), HAPTICS_FEEDBACK],
1858
+ "class": [bem$1q("cancel"), HAPTICS_FEEDBACK],
1850
1859
  "onClick": onCancel
1851
1860
  }, [slots.cancel ? slots.cancel() : text]);
1852
1861
  };
@@ -1854,12 +1863,12 @@ var stdin_default$1C = vue.defineComponent({
1854
1863
  const text = props.confirmButtonText || t$k("confirm");
1855
1864
  return vue.createVNode("button", {
1856
1865
  "type": "button",
1857
- "class": [bem$1p("confirm"), HAPTICS_FEEDBACK],
1866
+ "class": [bem$1q("confirm"), HAPTICS_FEEDBACK],
1858
1867
  "onClick": onConfirm
1859
1868
  }, [slots.confirm ? slots.confirm() : text]);
1860
1869
  };
1861
1870
  return () => vue.createVNode("div", {
1862
- "class": bem$1p("toolbar")
1871
+ "class": bem$1q("toolbar")
1863
1872
  }, [slots.toolbar ? slots.toolbar() : [renderCancel(), renderTitle(), renderConfirm()]]);
1864
1873
  }
1865
1874
  });
@@ -1967,7 +1976,7 @@ function useVisibilityChange(target, onChange) {
1967
1976
  vue.onBeforeUnmount(unobserve);
1968
1977
  use.onMountedOrActivated(observe);
1969
1978
  }
1970
- const [name$1r, bem$1n] = createNamespace("sticky");
1979
+ const [name$1s, bem$1o] = createNamespace("sticky");
1971
1980
  const stickyProps = {
1972
1981
  zIndex: numericProp,
1973
1982
  position: makeStringProp("top"),
@@ -1975,8 +1984,8 @@ const stickyProps = {
1975
1984
  offsetTop: makeNumericProp(0),
1976
1985
  offsetBottom: makeNumericProp(0)
1977
1986
  };
1978
- var stdin_default$1B = vue.defineComponent({
1979
- name: name$1r,
1987
+ var stdin_default$1C = vue.defineComponent({
1988
+ name: name$1s,
1980
1989
  props: stickyProps,
1981
1990
  emits: ["scroll", "change"],
1982
1991
  setup(props, {
@@ -2071,7 +2080,7 @@ var stdin_default$1B = vue.defineComponent({
2071
2080
  passive: true
2072
2081
  });
2073
2082
  useVisibilityChange(root, onScroll);
2074
- vue.watch([windowWidth, windowHeight], () => {
2083
+ vue.watch([windowWidth, windowHeight$1], () => {
2075
2084
  if (!root.value || isHidden(root) || !state.fixed) {
2076
2085
  return;
2077
2086
  }
@@ -2089,7 +2098,7 @@ var stdin_default$1B = vue.defineComponent({
2089
2098
  "ref": root,
2090
2099
  "style": rootStyle.value
2091
2100
  }, [vue.createVNode("div", {
2092
- "class": bem$1n({
2101
+ "class": bem$1o({
2093
2102
  fixed: state.fixed && !isReset.value
2094
2103
  }),
2095
2104
  "style": stickyStyle.value
@@ -2097,8 +2106,8 @@ var stdin_default$1B = vue.defineComponent({
2097
2106
  };
2098
2107
  }
2099
2108
  });
2100
- const Sticky = withInstall(stdin_default$1B);
2101
- const [name$1q, bem$1m] = createNamespace("swipe");
2109
+ const Sticky = withInstall(stdin_default$1C);
2110
+ const [name$1r, bem$1n] = createNamespace("swipe");
2102
2111
  const swipeProps = {
2103
2112
  loop: truthProp,
2104
2113
  width: numericProp,
@@ -2113,9 +2122,9 @@ const swipeProps = {
2113
2122
  showIndicators: truthProp,
2114
2123
  stopPropagation: truthProp
2115
2124
  };
2116
- const SWIPE_KEY = Symbol(name$1q);
2117
- var stdin_default$1A = vue.defineComponent({
2118
- name: name$1q,
2125
+ const SWIPE_KEY = Symbol(name$1r);
2126
+ var stdin_default$1B = vue.defineComponent({
2127
+ name: name$1r,
2119
2128
  props: swipeProps,
2120
2129
  emits: ["change", "dragStart", "dragEnd"],
2121
2130
  setup(props, {
@@ -2393,7 +2402,7 @@ var stdin_default$1A = vue.defineComponent({
2393
2402
  } : void 0;
2394
2403
  return vue.createVNode("i", {
2395
2404
  "style": style,
2396
- "class": bem$1m("indicator", {
2405
+ "class": bem$1n("indicator", {
2397
2406
  active
2398
2407
  })
2399
2408
  }, null);
@@ -2407,7 +2416,7 @@ var stdin_default$1A = vue.defineComponent({
2407
2416
  }
2408
2417
  if (props.showIndicators && count.value > 1) {
2409
2418
  return vue.createVNode("div", {
2410
- "class": bem$1m("indicators", {
2419
+ "class": bem$1n("indicators", {
2411
2420
  vertical: props.vertical
2412
2421
  })
2413
2422
  }, [Array(count.value).fill("").map(renderDot)]);
@@ -2429,7 +2438,7 @@ var stdin_default$1A = vue.defineComponent({
2429
2438
  vue.watch(() => props.initialSwipe, (value) => initialize(+value));
2430
2439
  vue.watch(count, () => initialize(state.active));
2431
2440
  vue.watch(() => props.autoplay, autoplay);
2432
- vue.watch([windowWidth, windowHeight, () => props.width, () => props.height], resize);
2441
+ vue.watch([windowWidth, windowHeight$1, () => props.width, () => props.height], resize);
2433
2442
  vue.watch(use.usePageVisibility(), (visible) => {
2434
2443
  if (visible === "visible") {
2435
2444
  autoplay();
@@ -2449,11 +2458,11 @@ var stdin_default$1A = vue.defineComponent({
2449
2458
  var _a;
2450
2459
  return vue.createVNode("div", {
2451
2460
  "ref": root,
2452
- "class": bem$1m()
2461
+ "class": bem$1n()
2453
2462
  }, [vue.createVNode("div", {
2454
2463
  "ref": track,
2455
2464
  "style": trackStyle.value,
2456
- "class": bem$1m("track", {
2465
+ "class": bem$1n("track", {
2457
2466
  vertical: props.vertical
2458
2467
  }),
2459
2468
  "onTouchstartPassive": onTouchStart,
@@ -2463,10 +2472,10 @@ var stdin_default$1A = vue.defineComponent({
2463
2472
  };
2464
2473
  }
2465
2474
  });
2466
- const Swipe = withInstall(stdin_default$1A);
2467
- const [name$1p, bem$1l] = createNamespace("tabs");
2468
- var stdin_default$1z = vue.defineComponent({
2469
- name: name$1p,
2475
+ const Swipe = withInstall(stdin_default$1B);
2476
+ const [name$1q, bem$1m] = createNamespace("tabs");
2477
+ var stdin_default$1A = vue.defineComponent({
2478
+ name: name$1q,
2470
2479
  props: {
2471
2480
  count: makeRequiredProp(Number),
2472
2481
  inited: Boolean,
@@ -2490,7 +2499,7 @@ var stdin_default$1z = vue.defineComponent({
2490
2499
  return vue.createVNode(Swipe, {
2491
2500
  "ref": swipeRef,
2492
2501
  "loop": false,
2493
- "class": bem$1l("track"),
2502
+ "class": bem$1m("track"),
2494
2503
  "duration": +props.duration * 1e3,
2495
2504
  "touchable": props.swipeable,
2496
2505
  "lazyRender": props.lazyRender,
@@ -2518,13 +2527,13 @@ var stdin_default$1z = vue.defineComponent({
2518
2527
  swipeRef
2519
2528
  });
2520
2529
  return () => vue.createVNode("div", {
2521
- "class": bem$1l("content", {
2530
+ "class": bem$1m("content", {
2522
2531
  animated: props.animated || props.swipeable
2523
2532
  })
2524
2533
  }, [renderChildren()]);
2525
2534
  }
2526
2535
  });
2527
- const [name$1o, bem$1k] = createNamespace("tabs");
2536
+ const [name$1p, bem$1l] = createNamespace("tabs");
2528
2537
  const tabsProps = {
2529
2538
  type: makeStringProp("line"),
2530
2539
  color: String,
@@ -2547,9 +2556,9 @@ const tabsProps = {
2547
2556
  titleActiveColor: String,
2548
2557
  titleInactiveColor: String
2549
2558
  };
2550
- const TABS_KEY = Symbol(name$1o);
2551
- var stdin_default$1y = vue.defineComponent({
2552
- name: name$1o,
2559
+ const TABS_KEY = Symbol(name$1p);
2560
+ var stdin_default$1z = vue.defineComponent({
2561
+ name: name$1p,
2553
2562
  props: tabsProps,
2554
2563
  emits: ["change", "scroll", "rendered", "clickTab", "update:active"],
2555
2564
  setup(props, {
@@ -2747,7 +2756,7 @@ var stdin_default$1y = vue.defineComponent({
2747
2756
  const renderLine = () => {
2748
2757
  if (props.type === "line" && children.length) {
2749
2758
  return vue.createVNode("div", {
2750
- "class": bem$1k("line"),
2759
+ "class": bem$1l("line"),
2751
2760
  "style": state.lineStyle
2752
2761
  }, null);
2753
2762
  }
@@ -2761,13 +2770,13 @@ var stdin_default$1y = vue.defineComponent({
2761
2770
  } = props;
2762
2771
  const Header = [vue.createVNode("div", {
2763
2772
  "ref": sticky ? void 0 : wrapRef,
2764
- "class": [bem$1k("wrap"), {
2773
+ "class": [bem$1l("wrap"), {
2765
2774
  [BORDER_TOP_BOTTOM]: type === "line" && border
2766
2775
  }]
2767
2776
  }, [vue.createVNode("div", {
2768
2777
  "ref": navRef,
2769
2778
  "role": "tablist",
2770
- "class": bem$1k("nav", [type, {
2779
+ "class": bem$1l("nav", [type, {
2771
2780
  shrink: props.shrink,
2772
2781
  complete: scrollable.value
2773
2782
  }]),
@@ -2840,14 +2849,14 @@ var stdin_default$1y = vue.defineComponent({
2840
2849
  });
2841
2850
  return () => vue.createVNode("div", {
2842
2851
  "ref": root,
2843
- "class": bem$1k([props.type])
2852
+ "class": bem$1l([props.type])
2844
2853
  }, [props.sticky ? vue.createVNode(Sticky, {
2845
2854
  "container": root.value,
2846
2855
  "offsetTop": offsetTopPx.value,
2847
2856
  "onScroll": onStickyScroll
2848
2857
  }, {
2849
2858
  default: () => [renderHeader()]
2850
- }) : renderHeader(), vue.createVNode(stdin_default$1z, {
2859
+ }) : renderHeader(), vue.createVNode(stdin_default$1A, {
2851
2860
  "ref": contentRef,
2852
2861
  "count": children.length,
2853
2862
  "inited": state.inited,
@@ -2867,9 +2876,9 @@ var stdin_default$1y = vue.defineComponent({
2867
2876
  });
2868
2877
  const TAB_STATUS_KEY = Symbol();
2869
2878
  const useTabStatus = () => vue.inject(TAB_STATUS_KEY, null);
2870
- const [name$1n, bem$1j] = createNamespace("tab");
2879
+ const [name$1o, bem$1k] = createNamespace("tab");
2871
2880
  const TabTitle = vue.defineComponent({
2872
- name: name$1n,
2881
+ name: name$1o,
2873
2882
  props: {
2874
2883
  id: String,
2875
2884
  dot: Boolean,
@@ -2918,7 +2927,7 @@ const TabTitle = vue.defineComponent({
2918
2927
  });
2919
2928
  const renderText = () => {
2920
2929
  const Text = vue.createVNode("span", {
2921
- "class": bem$1j("text", {
2930
+ "class": bem$1k("text", {
2922
2931
  ellipsis: !props.scrollable
2923
2932
  })
2924
2933
  }, [slots.title ? slots.title() : props.title]);
@@ -2936,7 +2945,7 @@ const TabTitle = vue.defineComponent({
2936
2945
  return () => vue.createVNode("div", {
2937
2946
  "id": props.id,
2938
2947
  "role": "tab",
2939
- "class": [bem$1j([props.type, {
2948
+ "class": [bem$1k([props.type, {
2940
2949
  grow: props.scrollable && !props.shrink,
2941
2950
  shrink: props.shrink,
2942
2951
  active: props.isActive,
@@ -2950,9 +2959,9 @@ const TabTitle = vue.defineComponent({
2950
2959
  }, [renderText()]);
2951
2960
  }
2952
2961
  });
2953
- const [name$1m, bem$1i] = createNamespace("swipe-item");
2954
- var stdin_default$1x = vue.defineComponent({
2955
- name: name$1m,
2962
+ const [name$1n, bem$1j] = createNamespace("swipe-item");
2963
+ var stdin_default$1y = vue.defineComponent({
2964
+ name: name$1n,
2956
2965
  setup(props, {
2957
2966
  slots
2958
2967
  }) {
@@ -3017,14 +3026,14 @@ var stdin_default$1x = vue.defineComponent({
3017
3026
  return () => {
3018
3027
  var _a;
3019
3028
  return vue.createVNode("div", {
3020
- "class": bem$1i(),
3029
+ "class": bem$1j(),
3021
3030
  "style": style.value
3022
3031
  }, [shouldRender.value ? (_a = slots.default) == null ? void 0 : _a.call(slots) : null]);
3023
3032
  };
3024
3033
  }
3025
3034
  });
3026
- const SwipeItem = withInstall(stdin_default$1x);
3027
- const [name$1l, bem$1h] = createNamespace("tab");
3035
+ const SwipeItem = withInstall(stdin_default$1y);
3036
+ const [name$1m, bem$1i] = createNamespace("tab");
3028
3037
  const tabProps = extend({}, routeProps, {
3029
3038
  dot: Boolean,
3030
3039
  name: numericProp,
@@ -3035,8 +3044,8 @@ const tabProps = extend({}, routeProps, {
3035
3044
  titleStyle: [String, Object],
3036
3045
  showZeroBadge: truthProp
3037
3046
  });
3038
- var stdin_default$1w = vue.defineComponent({
3039
- name: name$1l,
3047
+ var stdin_default$1x = vue.defineComponent({
3048
+ name: name$1m,
3040
3049
  props: tabProps,
3041
3050
  setup(props, {
3042
3051
  slots
@@ -3073,12 +3082,22 @@ var stdin_default$1w = vue.defineComponent({
3073
3082
  }
3074
3083
  return isActive;
3075
3084
  });
3085
+ const parsedClass = vue.ref("");
3086
+ const parsedStyle = vue.ref("");
3087
+ vue.watchEffect(() => {
3088
+ const {
3089
+ titleClass,
3090
+ titleStyle
3091
+ } = props;
3092
+ parsedClass.value = titleClass ? vue.normalizeClass(titleClass) : "";
3093
+ parsedStyle.value = titleStyle && typeof titleStyle !== "string" ? shared.stringifyStyle(vue.normalizeStyle(titleStyle)) : titleStyle;
3094
+ });
3076
3095
  const renderTitle = (onClickTab) => vue.createVNode(TabTitle, vue.mergeProps({
3077
3096
  "key": id,
3078
3097
  "id": `${parent.id}-${index.value}`,
3079
3098
  "ref": parent.setTitleRefs(index.value),
3080
- "style": props.titleStyle,
3081
- "class": props.titleClass,
3099
+ "style": parsedStyle.value,
3100
+ "class": parsedClass.value,
3082
3101
  "isActive": active.value,
3083
3102
  "controls": id,
3084
3103
  "scrollable": parent.scrollable.value,
@@ -3124,7 +3143,7 @@ var stdin_default$1w = vue.defineComponent({
3124
3143
  return vue.createVNode(SwipeItem, {
3125
3144
  "id": id,
3126
3145
  "role": "tabpanel",
3127
- "class": bem$1h("panel-wrapper", {
3146
+ "class": bem$1i("panel-wrapper", {
3128
3147
  inactive: hasInactiveClass.value
3129
3148
  }),
3130
3149
  "tabindex": active.value ? 0 : -1,
@@ -3134,7 +3153,7 @@ var stdin_default$1w = vue.defineComponent({
3134
3153
  default: () => {
3135
3154
  var _a2;
3136
3155
  return [vue.createVNode("div", {
3137
- "class": bem$1h("panel")
3156
+ "class": bem$1i("panel")
3138
3157
  }, [(_a2 = slots.default) == null ? void 0 : _a2.call(slots)])];
3139
3158
  }
3140
3159
  });
@@ -3144,24 +3163,24 @@ var stdin_default$1w = vue.defineComponent({
3144
3163
  return vue.withDirectives(vue.createVNode("div", {
3145
3164
  "id": id,
3146
3165
  "role": "tabpanel",
3147
- "class": bem$1h("panel"),
3166
+ "class": bem$1i("panel"),
3148
3167
  "tabindex": show ? 0 : -1,
3149
3168
  "aria-labelledby": label
3150
3169
  }, [Content]), [[vue.vShow, show]]);
3151
3170
  };
3152
3171
  }
3153
3172
  });
3154
- const Tab = withInstall(stdin_default$1w);
3155
- const Tabs = withInstall(stdin_default$1y);
3156
- const [name$1k, bem$1g] = createNamespace("picker-group");
3157
- const PICKER_GROUP_KEY = Symbol(name$1k);
3173
+ const Tab = withInstall(stdin_default$1x);
3174
+ const Tabs = withInstall(stdin_default$1z);
3175
+ const [name$1l, bem$1h] = createNamespace("picker-group");
3176
+ const PICKER_GROUP_KEY = Symbol(name$1l);
3158
3177
  const pickerGroupProps = extend({
3159
3178
  tabs: makeArrayProp(),
3160
3179
  activeTab: makeNumericProp(0),
3161
3180
  nextStepText: String
3162
3181
  }, pickerToolbarProps);
3163
- var stdin_default$1v = vue.defineComponent({
3164
- name: name$1k,
3182
+ var stdin_default$1w = vue.defineComponent({
3183
+ name: name$1l,
3165
3184
  props: pickerGroupProps,
3166
3185
  emits: ["confirm", "cancel", "update:activeTab"],
3167
3186
  setup(props, {
@@ -3188,8 +3207,8 @@ var stdin_default$1v = vue.defineComponent({
3188
3207
  const childNodes = (_a = slots.default) == null ? void 0 : _a.call(slots);
3189
3208
  const confirmButtonText = showNextButton() ? props.nextStepText : props.confirmButtonText;
3190
3209
  return vue.createVNode("div", {
3191
- "class": bem$1g()
3192
- }, [vue.createVNode(stdin_default$1C, {
3210
+ "class": bem$1h()
3211
+ }, [vue.createVNode(stdin_default$1D, {
3193
3212
  "title": props.title,
3194
3213
  "cancelButtonText": props.cancelButtonText,
3195
3214
  "confirmButtonText": confirmButtonText,
@@ -3198,14 +3217,14 @@ var stdin_default$1v = vue.defineComponent({
3198
3217
  }, pick(slots, pickerToolbarSlots)), vue.createVNode(Tabs, {
3199
3218
  "active": activeTab.value,
3200
3219
  "onUpdate:active": ($event) => activeTab.value = $event,
3201
- "class": bem$1g("tabs"),
3220
+ "class": bem$1h("tabs"),
3202
3221
  "shrink": true,
3203
3222
  "animated": true,
3204
3223
  "lazyRender": false
3205
3224
  }, {
3206
3225
  default: () => [props.tabs.map((title, index) => vue.createVNode(Tab, {
3207
3226
  "title": title,
3208
- "titleClass": bem$1g("tab-title")
3227
+ "titleClass": bem$1h("tab-title")
3209
3228
  }, {
3210
3229
  default: () => [childNodes == null ? void 0 : childNodes[index]]
3211
3230
  }))]
@@ -3228,8 +3247,8 @@ const pickerProps = extend({}, pickerSharedProps, {
3228
3247
  toolbarPosition: makeStringProp("top"),
3229
3248
  columnsFieldNames: Object
3230
3249
  });
3231
- var stdin_default$1u = vue.defineComponent({
3232
- name: name$1u,
3250
+ var stdin_default$1v = vue.defineComponent({
3251
+ name: name$1v,
3233
3252
  props: pickerProps,
3234
3253
  emits: ["confirm", "cancel", "change", "scrollInto", "clickOption", "update:modelValue"],
3235
3254
  setup(props, {
@@ -3310,7 +3329,7 @@ var stdin_default$1u = vue.defineComponent({
3310
3329
  return params;
3311
3330
  };
3312
3331
  const cancel = () => emit("cancel", getEventParams());
3313
- const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1D, {
3332
+ const renderColumnItems = () => currentColumns.value.map((options, columnIndex) => vue.createVNode(stdin_default$1E, {
3314
3333
  "value": selectedValues.value[columnIndex],
3315
3334
  "fields": fields.value,
3316
3335
  "options": options,
@@ -3339,10 +3358,10 @@ var stdin_default$1u = vue.defineComponent({
3339
3358
  backgroundSize: `100% ${(wrapHeight - optionHeight.value) / 2}px`
3340
3359
  };
3341
3360
  return [vue.createVNode("div", {
3342
- "class": bem$1p("mask"),
3361
+ "class": bem$1q("mask"),
3343
3362
  "style": maskStyle
3344
3363
  }, null), vue.createVNode("div", {
3345
- "class": [BORDER_UNSET_TOP_BOTTOM, bem$1p("frame")],
3364
+ "class": [BORDER_UNSET_TOP_BOTTOM, bem$1q("frame")],
3346
3365
  "style": frameStyle
3347
3366
  }, null)];
3348
3367
  }
@@ -3354,13 +3373,13 @@ var stdin_default$1u = vue.defineComponent({
3354
3373
  };
3355
3374
  return vue.createVNode("div", {
3356
3375
  "ref": columnsRef,
3357
- "class": bem$1p("columns"),
3376
+ "class": bem$1q("columns"),
3358
3377
  "style": columnsStyle
3359
3378
  }, [renderColumnItems(), renderMask(wrapHeight)]);
3360
3379
  };
3361
3380
  const renderToolbar = () => {
3362
3381
  if (props.showToolbar && !parent) {
3363
- return vue.createVNode(stdin_default$1C, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
3382
+ return vue.createVNode(stdin_default$1D, vue.mergeProps(pick(props, pickerToolbarPropKeys), {
3364
3383
  "onConfirm": confirm,
3365
3384
  "onCancel": cancel
3366
3385
  }), pick(slots, pickerToolbarSlots));
@@ -3403,9 +3422,9 @@ var stdin_default$1u = vue.defineComponent({
3403
3422
  return () => {
3404
3423
  var _a, _b;
3405
3424
  return vue.createVNode("div", {
3406
- "class": bem$1p()
3425
+ "class": bem$1q()
3407
3426
  }, [props.toolbarPosition === "top" ? renderToolbar() : null, props.loading ? vue.createVNode(Loading, {
3408
- "class": bem$1p("loading")
3427
+ "class": bem$1q("loading")
3409
3428
  }, null) : null, (_a = slots["columns-top"]) == null ? void 0 : _a.call(slots), renderColumns(), (_b = slots["columns-bottom"]) == null ? void 0 : _b.call(slots), props.toolbarPosition === "bottom" ? renderToolbar() : null]);
3410
3429
  };
3411
3430
  }
@@ -3496,8 +3515,8 @@ function formatDataForCascade({
3496
3515
  }
3497
3516
  return options;
3498
3517
  }
3499
- const Picker = withInstall(stdin_default$1u);
3500
- const [name$1j, bem$1f] = createNamespace("area");
3518
+ const Picker = withInstall(stdin_default$1v);
3519
+ const [name$1k, bem$1g] = createNamespace("area");
3501
3520
  const areaProps = extend({}, pick(pickerSharedProps, INHERIT_PROPS), {
3502
3521
  modelValue: String,
3503
3522
  columnsNum: makeNumericProp(3),
@@ -3507,8 +3526,8 @@ const areaProps = extend({}, pick(pickerSharedProps, INHERIT_PROPS), {
3507
3526
  default: () => ({})
3508
3527
  }
3509
3528
  });
3510
- var stdin_default$1t = vue.defineComponent({
3511
- name: name$1j,
3529
+ var stdin_default$1u = vue.defineComponent({
3530
+ name: name$1k,
3512
3531
  props: areaProps,
3513
3532
  emits: ["change", "confirm", "cancel", "update:modelValue"],
3514
3533
  setup(props, {
@@ -3555,7 +3574,7 @@ var stdin_default$1t = vue.defineComponent({
3555
3574
  "ref": picker,
3556
3575
  "modelValue": codes.value,
3557
3576
  "onUpdate:modelValue": ($event) => codes.value = $event,
3558
- "class": bem$1f(),
3577
+ "class": bem$1g(),
3559
3578
  "columns": columns.value,
3560
3579
  "onChange": onChange,
3561
3580
  "onCancel": onCancel,
@@ -3563,8 +3582,8 @@ var stdin_default$1t = vue.defineComponent({
3563
3582
  }, pick(props, INHERIT_PROPS)), pick(slots, INHERIT_SLOTS));
3564
3583
  }
3565
3584
  });
3566
- const Area = withInstall(stdin_default$1t);
3567
- const [name$1i, bem$1e] = createNamespace("cell");
3585
+ const Area = withInstall(stdin_default$1u);
3586
+ const [name$1j, bem$1f] = createNamespace("cell");
3568
3587
  const cellSharedProps = {
3569
3588
  tag: makeStringProp("div"),
3570
3589
  icon: String,
@@ -3588,8 +3607,8 @@ const cellSharedProps = {
3588
3607
  }
3589
3608
  };
3590
3609
  const cellProps = extend({}, cellSharedProps, routeProps);
3591
- var stdin_default$1s = vue.defineComponent({
3592
- name: name$1i,
3610
+ var stdin_default$1t = vue.defineComponent({
3611
+ name: name$1j,
3593
3612
  props: cellProps,
3594
3613
  setup(props, {
3595
3614
  slots
@@ -3599,7 +3618,7 @@ var stdin_default$1s = vue.defineComponent({
3599
3618
  const showLabel = slots.label || isDef(props.label);
3600
3619
  if (showLabel) {
3601
3620
  return vue.createVNode("div", {
3602
- "class": [bem$1e("label"), props.labelClass]
3621
+ "class": [bem$1f("label"), props.labelClass]
3603
3622
  }, [slots.label ? slots.label() : props.label]);
3604
3623
  }
3605
3624
  };
@@ -3611,7 +3630,7 @@ var stdin_default$1s = vue.defineComponent({
3611
3630
  return;
3612
3631
  }
3613
3632
  return vue.createVNode("div", {
3614
- "class": [bem$1e("title"), props.titleClass],
3633
+ "class": [bem$1f("title"), props.titleClass],
3615
3634
  "style": props.titleStyle
3616
3635
  }, [titleSlot || vue.createVNode("span", null, [props.title]), renderLabel()]);
3617
3636
  }
@@ -3621,7 +3640,7 @@ var stdin_default$1s = vue.defineComponent({
3621
3640
  const hasValue = slot || isDef(props.value);
3622
3641
  if (hasValue) {
3623
3642
  return vue.createVNode("div", {
3624
- "class": [bem$1e("value"), props.valueClass]
3643
+ "class": [bem$1f("value"), props.valueClass]
3625
3644
  }, [slot ? slot() : vue.createVNode("span", null, [props.value])]);
3626
3645
  }
3627
3646
  };
@@ -3632,7 +3651,7 @@ var stdin_default$1s = vue.defineComponent({
3632
3651
  if (props.icon) {
3633
3652
  return vue.createVNode(Icon, {
3634
3653
  "name": props.icon,
3635
- "class": bem$1e("left-icon"),
3654
+ "class": bem$1f("left-icon"),
3636
3655
  "classPrefix": props.iconPrefix
3637
3656
  }, null);
3638
3657
  }
@@ -3645,7 +3664,7 @@ var stdin_default$1s = vue.defineComponent({
3645
3664
  const name2 = props.arrowDirection && props.arrowDirection !== "right" ? `arrow-${props.arrowDirection}` : "arrow";
3646
3665
  return vue.createVNode(Icon, {
3647
3666
  "name": name2,
3648
- "class": bem$1e("right-icon")
3667
+ "class": bem$1f("right-icon")
3649
3668
  }, null);
3650
3669
  }
3651
3670
  };
@@ -3670,7 +3689,7 @@ var stdin_default$1s = vue.defineComponent({
3670
3689
  classes[size] = !!size;
3671
3690
  }
3672
3691
  return vue.createVNode(tag, {
3673
- "class": bem$1e(classes),
3692
+ "class": bem$1f(classes),
3674
3693
  "role": clickable ? "button" : void 0,
3675
3694
  "tabindex": clickable ? 0 : void 0,
3676
3695
  "onClick": route2
@@ -3683,8 +3702,8 @@ var stdin_default$1s = vue.defineComponent({
3683
3702
  };
3684
3703
  }
3685
3704
  });
3686
- const Cell = withInstall(stdin_default$1s);
3687
- const [name$1h, bem$1d] = createNamespace("form");
3705
+ const Cell = withInstall(stdin_default$1t);
3706
+ const [name$1i, bem$1e] = createNamespace("form");
3688
3707
  const formProps = {
3689
3708
  colon: Boolean,
3690
3709
  disabled: Boolean,
@@ -3703,8 +3722,8 @@ const formProps = {
3703
3722
  default: "onBlur"
3704
3723
  }
3705
3724
  };
3706
- var stdin_default$1r = vue.defineComponent({
3707
- name: name$1h,
3725
+ var stdin_default$1s = vue.defineComponent({
3726
+ name: name$1i,
3708
3727
  props: formProps,
3709
3728
  emits: ["submit", "failed"],
3710
3729
  setup(props, {
@@ -3830,13 +3849,13 @@ var stdin_default$1r = vue.defineComponent({
3830
3849
  return () => {
3831
3850
  var _a;
3832
3851
  return vue.createVNode("form", {
3833
- "class": bem$1d(),
3852
+ "class": bem$1e(),
3834
3853
  "onSubmit": onSubmit
3835
3854
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
3836
3855
  };
3837
3856
  }
3838
3857
  });
3839
- const Form = withInstall(stdin_default$1r);
3858
+ const Form = withInstall(stdin_default$1s);
3840
3859
  function isEmptyValue(value) {
3841
3860
  if (Array.isArray(value)) {
3842
3861
  return !value.length;
@@ -3925,7 +3944,7 @@ function getStringLength(str) {
3925
3944
  function cutString(str, maxlength) {
3926
3945
  return [...str].slice(0, maxlength).join("");
3927
3946
  }
3928
- const [name$1g, bem$1c] = createNamespace("field");
3947
+ const [name$1h, bem$1d] = createNamespace("field");
3929
3948
  const fieldSharedProps = {
3930
3949
  id: String,
3931
3950
  name: String,
@@ -3972,8 +3991,8 @@ const fieldProps = extend({}, cellSharedProps, fieldSharedProps, {
3972
3991
  default: null
3973
3992
  }
3974
3993
  });
3975
- var stdin_default$1q = vue.defineComponent({
3976
- name: name$1g,
3994
+ var stdin_default$1r = vue.defineComponent({
3995
+ name: name$1h,
3977
3996
  props: fieldProps,
3978
3997
  emits: ["blur", "focus", "clear", "keypress", "clickInput", "endValidate", "startValidate", "clickLeftIcon", "clickRightIcon", "update:modelValue"],
3979
3998
  setup(props, {
@@ -4247,7 +4266,7 @@ var stdin_default$1q = vue.defineComponent({
4247
4266
  const getInputId = () => props.id || `${id}-input`;
4248
4267
  const getValidationStatus = () => state.status;
4249
4268
  const renderInput = () => {
4250
- const controlClass = bem$1c("control", [getProp("inputAlign"), {
4269
+ const controlClass = bem$1d("control", [getProp("inputAlign"), {
4251
4270
  error: showError.value,
4252
4271
  custom: !!slots.input,
4253
4272
  "min-height": props.type === "textarea" && !props.autosize
@@ -4289,7 +4308,7 @@ var stdin_default$1q = vue.defineComponent({
4289
4308
  const leftIconSlot = slots["left-icon"];
4290
4309
  if (props.leftIcon || leftIconSlot) {
4291
4310
  return vue.createVNode("div", {
4292
- "class": bem$1c("left-icon"),
4311
+ "class": bem$1d("left-icon"),
4293
4312
  "onClick": onClickLeftIcon
4294
4313
  }, [leftIconSlot ? leftIconSlot() : vue.createVNode(Icon, {
4295
4314
  "name": props.leftIcon,
@@ -4301,7 +4320,7 @@ var stdin_default$1q = vue.defineComponent({
4301
4320
  const rightIconSlot = slots["right-icon"];
4302
4321
  if (props.rightIcon || rightIconSlot) {
4303
4322
  return vue.createVNode("div", {
4304
- "class": bem$1c("right-icon"),
4323
+ "class": bem$1d("right-icon"),
4305
4324
  "onClick": onClickRightIcon
4306
4325
  }, [rightIconSlot ? rightIconSlot() : vue.createVNode(Icon, {
4307
4326
  "name": props.rightIcon,
@@ -4313,9 +4332,9 @@ var stdin_default$1q = vue.defineComponent({
4313
4332
  if (props.showWordLimit && props.maxlength) {
4314
4333
  const count = getStringLength(getModelValue());
4315
4334
  return vue.createVNode("div", {
4316
- "class": bem$1c("word-limit")
4335
+ "class": bem$1d("word-limit")
4317
4336
  }, [vue.createVNode("span", {
4318
- "class": bem$1c("word-num")
4337
+ "class": bem$1d("word-num")
4319
4338
  }, [count]), vue.createTextVNode("/"), props.maxlength]);
4320
4339
  }
4321
4340
  };
@@ -4328,7 +4347,7 @@ var stdin_default$1q = vue.defineComponent({
4328
4347
  const slot = slots["error-message"];
4329
4348
  const errorMessageAlign = getProp("errorMessageAlign");
4330
4349
  return vue.createVNode("div", {
4331
- "class": bem$1c("error-message", errorMessageAlign)
4350
+ "class": bem$1d("error-message", errorMessageAlign)
4332
4351
  }, [slot ? slot({
4333
4352
  message
4334
4353
  }) : message]);
@@ -4356,13 +4375,13 @@ var stdin_default$1q = vue.defineComponent({
4356
4375
  }
4357
4376
  };
4358
4377
  const renderFieldBody = () => [vue.createVNode("div", {
4359
- "class": bem$1c("body")
4378
+ "class": bem$1d("body")
4360
4379
  }, [renderInput(), showClear.value && vue.createVNode(Icon, {
4361
4380
  "ref": clearIconRef,
4362
4381
  "name": props.clearIcon,
4363
- "class": bem$1c("clear")
4382
+ "class": bem$1d("clear")
4364
4383
  }, null), renderRightIcon(), slots.button && vue.createVNode("div", {
4365
- "class": bem$1c("button")
4384
+ "class": bem$1d("button")
4366
4385
  }, [slots.button()])]), renderWordLimit(), renderMessage()];
4367
4386
  useExpose({
4368
4387
  blur,
@@ -4406,7 +4425,7 @@ var stdin_default$1q = vue.defineComponent({
4406
4425
  };
4407
4426
  return vue.createVNode(Cell, {
4408
4427
  "size": props.size,
4409
- "class": bem$1c({
4428
+ "class": bem$1d({
4410
4429
  error: showError.value,
4411
4430
  disabled,
4412
4431
  [`label-${labelAlign}`]: labelAlign
@@ -4416,8 +4435,8 @@ var stdin_default$1q = vue.defineComponent({
4416
4435
  "isLink": props.isLink,
4417
4436
  "clickable": props.clickable,
4418
4437
  "titleStyle": labelStyle.value,
4419
- "valueClass": bem$1c("value"),
4420
- "titleClass": [bem$1c("label", [labelAlign, {
4438
+ "valueClass": bem$1d("value"),
4439
+ "titleClass": [bem$1d("label", [labelAlign, {
4421
4440
  required: props.required
4422
4441
  }]), props.labelClass],
4423
4442
  "arrowDirection": props.arrowDirection
@@ -4430,7 +4449,7 @@ var stdin_default$1q = vue.defineComponent({
4430
4449
  };
4431
4450
  }
4432
4451
  });
4433
- const Field = withInstall(stdin_default$1q);
4452
+ const Field = withInstall(stdin_default$1r);
4434
4453
  let lockCount = 0;
4435
4454
  function lockClick(lock) {
4436
4455
  if (lock) {
@@ -4445,7 +4464,7 @@ function lockClick(lock) {
4445
4464
  }
4446
4465
  }
4447
4466
  }
4448
- const [name$1f, bem$1b] = createNamespace("toast");
4467
+ const [name$1g, bem$1c] = createNamespace("toast");
4449
4468
  const popupInheritProps = ["show", "overlay", "teleport", "transition", "overlayClass", "overlayStyle", "closeOnClickOverlay"];
4450
4469
  const toastProps = {
4451
4470
  icon: String,
@@ -4468,8 +4487,8 @@ const toastProps = {
4468
4487
  closeOnClick: Boolean,
4469
4488
  closeOnClickOverlay: Boolean
4470
4489
  };
4471
- var stdin_default$1p = vue.defineComponent({
4472
- name: name$1f,
4490
+ var stdin_default$1q = vue.defineComponent({
4491
+ name: name$1g,
4473
4492
  props: toastProps,
4474
4493
  emits: ["update:show"],
4475
4494
  setup(props, {
@@ -4505,13 +4524,13 @@ var stdin_default$1p = vue.defineComponent({
4505
4524
  return vue.createVNode(Icon, {
4506
4525
  "name": icon || type,
4507
4526
  "size": iconSize,
4508
- "class": bem$1b("icon"),
4527
+ "class": bem$1c("icon"),
4509
4528
  "classPrefix": iconPrefix
4510
4529
  }, null);
4511
4530
  }
4512
4531
  if (type === "loading") {
4513
4532
  return vue.createVNode(Loading, {
4514
- "class": bem$1b("loading"),
4533
+ "class": bem$1c("loading"),
4515
4534
  "size": iconSize,
4516
4535
  "type": loadingType
4517
4536
  }, null);
@@ -4524,16 +4543,16 @@ var stdin_default$1p = vue.defineComponent({
4524
4543
  } = props;
4525
4544
  if (slots.message) {
4526
4545
  return vue.createVNode("div", {
4527
- "class": bem$1b("text")
4546
+ "class": bem$1c("text")
4528
4547
  }, [slots.message()]);
4529
4548
  }
4530
4549
  if (isDef(message) && message !== "") {
4531
4550
  return type === "html" ? vue.createVNode("div", {
4532
4551
  "key": 0,
4533
- "class": bem$1b("text"),
4552
+ "class": bem$1c("text"),
4534
4553
  "innerHTML": String(message)
4535
4554
  }, null) : vue.createVNode("div", {
4536
- "class": bem$1b("text")
4555
+ "class": bem$1c("text")
4537
4556
  }, [message]);
4538
4557
  }
4539
4558
  };
@@ -4549,7 +4568,7 @@ var stdin_default$1p = vue.defineComponent({
4549
4568
  vue.onMounted(toggleClickable);
4550
4569
  vue.onUnmounted(toggleClickable);
4551
4570
  return () => vue.createVNode(Popup, vue.mergeProps({
4552
- "class": [bem$1b([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
4571
+ "class": [bem$1c([props.position, props.wordBreak === "normal" ? "break-normal" : props.wordBreak, {
4553
4572
  [props.type]: !props.icon
4554
4573
  }]), props.className],
4555
4574
  "lockScroll": false,
@@ -4650,7 +4669,7 @@ function createInstance() {
4650
4669
  onClosed,
4651
4670
  "onUpdate:show": toggle
4652
4671
  };
4653
- return vue.createVNode(stdin_default$1p, vue.mergeProps(state, attrs), null);
4672
+ return vue.createVNode(stdin_default$1q, vue.mergeProps(state, attrs), null);
4654
4673
  };
4655
4674
  vue.watch(message, (val) => {
4656
4675
  state.message = val;
@@ -4720,8 +4739,8 @@ const resetToastDefaultOptions = (type) => {
4720
4739
  const allowMultipleToast = (value = true) => {
4721
4740
  allowMultiple = value;
4722
4741
  };
4723
- const Toast = withInstall(stdin_default$1p);
4724
- const [name$1e, bem$1a] = createNamespace("switch");
4742
+ const Toast = withInstall(stdin_default$1q);
4743
+ const [name$1f, bem$1b] = createNamespace("switch");
4725
4744
  const switchProps = {
4726
4745
  size: numericProp,
4727
4746
  loading: Boolean,
@@ -4738,8 +4757,8 @@ const switchProps = {
4738
4757
  default: false
4739
4758
  }
4740
4759
  };
4741
- var stdin_default$1o = vue.defineComponent({
4742
- name: name$1e,
4760
+ var stdin_default$1p = vue.defineComponent({
4761
+ name: name$1f,
4743
4762
  props: switchProps,
4744
4763
  emits: ["change", "update:modelValue"],
4745
4764
  setup(props, {
@@ -4758,7 +4777,7 @@ var stdin_default$1o = vue.defineComponent({
4758
4777
  if (props.loading) {
4759
4778
  const color = isChecked() ? props.activeColor : props.inactiveColor;
4760
4779
  return vue.createVNode(Loading, {
4761
- "class": bem$1a("loading"),
4780
+ "class": bem$1b("loading"),
4762
4781
  "color": color
4763
4782
  }, null);
4764
4783
  }
@@ -4783,7 +4802,7 @@ var stdin_default$1o = vue.defineComponent({
4783
4802
  };
4784
4803
  return vue.createVNode("div", {
4785
4804
  "role": "switch",
4786
- "class": bem$1a({
4805
+ "class": bem$1b({
4787
4806
  on: checked,
4788
4807
  loading,
4789
4808
  disabled
@@ -4793,16 +4812,16 @@ var stdin_default$1o = vue.defineComponent({
4793
4812
  "aria-checked": checked,
4794
4813
  "onClick": onClick
4795
4814
  }, [vue.createVNode("div", {
4796
- "class": bem$1a("node")
4815
+ "class": bem$1b("node")
4797
4816
  }, [renderLoading()]), (_a = slots.background) == null ? void 0 : _a.call(slots)]);
4798
4817
  };
4799
4818
  }
4800
4819
  });
4801
- const Switch = withInstall(stdin_default$1o);
4802
- const [name$1d, bem$19] = createNamespace("address-edit-detail");
4820
+ const Switch = withInstall(stdin_default$1p);
4821
+ const [name$1e, bem$1a] = createNamespace("address-edit-detail");
4803
4822
  const t$j = createNamespace("address-edit")[2];
4804
- var stdin_default$1n = vue.defineComponent({
4805
- name: name$1d,
4823
+ var stdin_default$1o = vue.defineComponent({
4824
+ name: name$1e,
4806
4825
  props: {
4807
4826
  show: Boolean,
4808
4827
  rows: numericProp,
@@ -4836,7 +4855,7 @@ var stdin_default$1n = vue.defineComponent({
4836
4855
  "icon": "location-o",
4837
4856
  "title": express.name,
4838
4857
  "label": express.address,
4839
- "class": bem$19("search-item"),
4858
+ "class": bem$1a("search-item"),
4840
4859
  "border": false,
4841
4860
  "onClick": () => onSelect(express)
4842
4861
  }, null));
@@ -4850,7 +4869,7 @@ var stdin_default$1n = vue.defineComponent({
4850
4869
  "autosize": true,
4851
4870
  "clearable": true,
4852
4871
  "ref": field,
4853
- "class": bem$19(),
4872
+ "class": bem$1a(),
4854
4873
  "rows": props.rows,
4855
4874
  "type": "textarea",
4856
4875
  "rules": props.rules,
@@ -4867,7 +4886,7 @@ var stdin_default$1n = vue.defineComponent({
4867
4886
  };
4868
4887
  }
4869
4888
  });
4870
- const [name$1c, bem$18, t$i] = createNamespace("address-edit");
4889
+ const [name$1d, bem$19, t$i] = createNamespace("address-edit");
4871
4890
  const DEFAULT_DATA = {
4872
4891
  name: "",
4873
4892
  tel: "",
@@ -4907,8 +4926,8 @@ const addressEditProps = {
4907
4926
  default: isMobile
4908
4927
  }
4909
4928
  };
4910
- var stdin_default$1m = vue.defineComponent({
4911
- name: name$1c,
4929
+ var stdin_default$1n = vue.defineComponent({
4930
+ name: name$1d,
4912
4931
  props: addressEditProps,
4913
4932
  emits: ["save", "focus", "delete", "clickArea", "changeArea", "changeDetail", "selectSearch", "changeDefault"],
4914
4933
  setup(props, {
@@ -5020,7 +5039,7 @@ var stdin_default$1m = vue.defineComponent({
5020
5039
  "center": true,
5021
5040
  "border": false,
5022
5041
  "title": t$i("defaultAddress"),
5023
- "class": bem$18("default")
5042
+ "class": bem$19("default")
5024
5043
  }, slots2), [[vue.vShow, !hideBottomFields.value]]);
5025
5044
  }
5026
5045
  };
@@ -5046,13 +5065,13 @@ var stdin_default$1m = vue.defineComponent({
5046
5065
  disableArea
5047
5066
  } = props;
5048
5067
  return vue.createVNode(Form, {
5049
- "class": bem$18(),
5068
+ "class": bem$19(),
5050
5069
  "onSubmit": onSave
5051
5070
  }, {
5052
5071
  default: () => {
5053
5072
  var _a;
5054
5073
  return [vue.createVNode("div", {
5055
- "class": bem$18("fields")
5074
+ "class": bem$19("fields")
5056
5075
  }, [vue.createVNode(Field, {
5057
5076
  "modelValue": data.name,
5058
5077
  "onUpdate:modelValue": ($event) => data.name = $event,
@@ -5083,7 +5102,7 @@ var stdin_default$1m = vue.defineComponent({
5083
5102
  emit("clickArea");
5084
5103
  showAreaPopup.value = !disableArea;
5085
5104
  }
5086
- }, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1n, {
5105
+ }, null), [[vue.vShow, props.showArea]]), vue.createVNode(stdin_default$1o, {
5087
5106
  "show": props.showDetail,
5088
5107
  "rows": props.detailRows,
5089
5108
  "rules": rules.value.addressDetail,
@@ -5097,19 +5116,19 @@ var stdin_default$1m = vue.defineComponent({
5097
5116
  "onInput": onChangeDetail,
5098
5117
  "onSelectSearch": (event) => emit("selectSearch", event)
5099
5118
  }, null), (_a = slots.default) == null ? void 0 : _a.call(slots)]), renderSetDefaultCell(), vue.withDirectives(vue.createVNode("div", {
5100
- "class": bem$18("buttons")
5119
+ "class": bem$19("buttons")
5101
5120
  }, [vue.createVNode(Button, {
5102
5121
  "block": true,
5103
5122
  "round": true,
5104
5123
  "type": "primary",
5105
5124
  "text": props.saveButtonText || t$i("save"),
5106
- "class": bem$18("button"),
5125
+ "class": bem$19("button"),
5107
5126
  "loading": props.isSaving,
5108
5127
  "nativeType": "submit"
5109
5128
  }, null), props.showDelete && vue.createVNode(Button, {
5110
5129
  "block": true,
5111
5130
  "round": true,
5112
- "class": bem$18("button"),
5131
+ "class": bem$19("button"),
5113
5132
  "loading": props.isDeleting,
5114
5133
  "text": props.deleteButtonText || t$i("delete"),
5115
5134
  "onClick": onDelete
@@ -5139,8 +5158,8 @@ var stdin_default$1m = vue.defineComponent({
5139
5158
  };
5140
5159
  }
5141
5160
  });
5142
- const AddressEdit = withInstall(stdin_default$1m);
5143
- const [name$1b, bem$17] = createNamespace("radio-group");
5161
+ const AddressEdit = withInstall(stdin_default$1n);
5162
+ const [name$1c, bem$18] = createNamespace("radio-group");
5144
5163
  const radioGroupProps = {
5145
5164
  disabled: Boolean,
5146
5165
  iconSize: numericProp,
@@ -5148,9 +5167,9 @@ const radioGroupProps = {
5148
5167
  modelValue: unknownProp,
5149
5168
  checkedColor: String
5150
5169
  };
5151
- const RADIO_KEY = Symbol(name$1b);
5152
- var stdin_default$1l = vue.defineComponent({
5153
- name: name$1b,
5170
+ const RADIO_KEY = Symbol(name$1c);
5171
+ var stdin_default$1m = vue.defineComponent({
5172
+ name: name$1c,
5154
5173
  props: radioGroupProps,
5155
5174
  emits: ["change", "update:modelValue"],
5156
5175
  setup(props, {
@@ -5170,14 +5189,14 @@ var stdin_default$1l = vue.defineComponent({
5170
5189
  return () => {
5171
5190
  var _a;
5172
5191
  return vue.createVNode("div", {
5173
- "class": bem$17([props.direction]),
5192
+ "class": bem$18([props.direction]),
5174
5193
  "role": "radiogroup"
5175
5194
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5176
5195
  };
5177
5196
  }
5178
5197
  });
5179
- const RadioGroup = withInstall(stdin_default$1l);
5180
- const [name$1a, bem$16] = createNamespace("tag");
5198
+ const RadioGroup = withInstall(stdin_default$1m);
5199
+ const [name$1b, bem$17] = createNamespace("tag");
5181
5200
  const tagProps = {
5182
5201
  size: String,
5183
5202
  mark: Boolean,
@@ -5189,8 +5208,8 @@ const tagProps = {
5189
5208
  textColor: String,
5190
5209
  closeable: Boolean
5191
5210
  };
5192
- var stdin_default$1k = vue.defineComponent({
5193
- name: name$1a,
5211
+ var stdin_default$1l = vue.defineComponent({
5212
+ name: name$1b,
5194
5213
  props: tagProps,
5195
5214
  emits: ["close"],
5196
5215
  setup(props, {
@@ -5233,12 +5252,12 @@ var stdin_default$1k = vue.defineComponent({
5233
5252
  }
5234
5253
  const CloseIcon = closeable && vue.createVNode(Icon, {
5235
5254
  "name": "cross",
5236
- "class": [bem$16("close"), HAPTICS_FEEDBACK],
5255
+ "class": [bem$17("close"), HAPTICS_FEEDBACK],
5237
5256
  "onClick": onClose
5238
5257
  }, null);
5239
5258
  return vue.createVNode("span", {
5240
5259
  "style": getStyle(),
5241
- "class": bem$16([classes, type])
5260
+ "class": bem$17([classes, type])
5242
5261
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots), CloseIcon]);
5243
5262
  };
5244
5263
  return () => vue.createVNode(vue.Transition, {
@@ -5248,7 +5267,7 @@ var stdin_default$1k = vue.defineComponent({
5248
5267
  });
5249
5268
  }
5250
5269
  });
5251
- const Tag = withInstall(stdin_default$1k);
5270
+ const Tag = withInstall(stdin_default$1l);
5252
5271
  const checkerProps = {
5253
5272
  name: unknownProp,
5254
5273
  shape: makeStringProp("round"),
@@ -5259,7 +5278,7 @@ const checkerProps = {
5259
5278
  labelPosition: String,
5260
5279
  labelDisabled: Boolean
5261
5280
  };
5262
- var stdin_default$1j = vue.defineComponent({
5281
+ var stdin_default$1k = vue.defineComponent({
5263
5282
  props: extend({}, checkerProps, {
5264
5283
  bem: makeRequiredProp(Function),
5265
5284
  role: String,
@@ -5361,9 +5380,9 @@ var stdin_default$1j = vue.defineComponent({
5361
5380
  }
5362
5381
  });
5363
5382
  const radioProps = checkerProps;
5364
- const [name$19, bem$15] = createNamespace("radio");
5365
- var stdin_default$1i = vue.defineComponent({
5366
- name: name$19,
5383
+ const [name$1a, bem$16] = createNamespace("radio");
5384
+ var stdin_default$1j = vue.defineComponent({
5385
+ name: name$1a,
5367
5386
  props: checkerProps,
5368
5387
  emits: ["update:modelValue"],
5369
5388
  setup(props, {
@@ -5384,8 +5403,8 @@ var stdin_default$1i = vue.defineComponent({
5384
5403
  emit("update:modelValue", props.name);
5385
5404
  }
5386
5405
  };
5387
- return () => vue.createVNode(stdin_default$1j, vue.mergeProps({
5388
- "bem": bem$15,
5406
+ return () => vue.createVNode(stdin_default$1k, vue.mergeProps({
5407
+ "bem": bem$16,
5389
5408
  "role": "radio",
5390
5409
  "parent": parent,
5391
5410
  "checked": checked(),
@@ -5393,15 +5412,16 @@ var stdin_default$1i = vue.defineComponent({
5393
5412
  }, props), pick(slots, ["default", "icon"]));
5394
5413
  }
5395
5414
  });
5396
- const Radio = withInstall(stdin_default$1i);
5397
- const [name$18, bem$14] = createNamespace("address-item");
5398
- var stdin_default$1h = vue.defineComponent({
5399
- name: name$18,
5415
+ const Radio = withInstall(stdin_default$1j);
5416
+ const [name$19, bem$15] = createNamespace("address-item");
5417
+ var stdin_default$1i = vue.defineComponent({
5418
+ name: name$19,
5400
5419
  props: {
5401
5420
  address: makeRequiredProp(Object),
5402
5421
  disabled: Boolean,
5403
5422
  switchable: Boolean,
5404
- defaultTagText: String
5423
+ defaultTagText: String,
5424
+ rightIcon: makeStringProp("edit")
5405
5425
  },
5406
5426
  emits: ["edit", "click", "select"],
5407
5427
  setup(props, {
@@ -5415,8 +5435,8 @@ var stdin_default$1h = vue.defineComponent({
5415
5435
  emit("click");
5416
5436
  };
5417
5437
  const renderRightIcon = () => vue.createVNode(Icon, {
5418
- "name": "edit",
5419
- "class": bem$14("edit"),
5438
+ "name": props.rightIcon,
5439
+ "class": bem$15("edit"),
5420
5440
  "onClick": (event) => {
5421
5441
  event.stopPropagation();
5422
5442
  emit("edit");
@@ -5431,7 +5451,7 @@ var stdin_default$1h = vue.defineComponent({
5431
5451
  return vue.createVNode(Tag, {
5432
5452
  "type": "primary",
5433
5453
  "round": true,
5434
- "class": bem$14("tag")
5454
+ "class": bem$15("tag")
5435
5455
  }, {
5436
5456
  default: () => [props.defaultTagText]
5437
5457
  });
@@ -5444,9 +5464,9 @@ var stdin_default$1h = vue.defineComponent({
5444
5464
  switchable
5445
5465
  } = props;
5446
5466
  const Info = [vue.createVNode("div", {
5447
- "class": bem$14("name")
5467
+ "class": bem$15("name")
5448
5468
  }, [`${address.name} ${address.tel}`, renderTag()]), vue.createVNode("div", {
5449
- "class": bem$14("address")
5469
+ "class": bem$15("address")
5450
5470
  }, [address.address])];
5451
5471
  if (switchable && !disabled) {
5452
5472
  return vue.createVNode(Radio, {
@@ -5464,13 +5484,13 @@ var stdin_default$1h = vue.defineComponent({
5464
5484
  disabled
5465
5485
  } = props;
5466
5486
  return vue.createVNode("div", {
5467
- "class": bem$14({
5487
+ "class": bem$15({
5468
5488
  disabled
5469
5489
  }),
5470
5490
  "onClick": onClick
5471
5491
  }, [vue.createVNode(Cell, {
5472
5492
  "border": false,
5473
- "titleClass": bem$14("title")
5493
+ "titleClass": bem$15("title")
5474
5494
  }, {
5475
5495
  title: renderContent,
5476
5496
  "right-icon": renderRightIcon
@@ -5480,7 +5500,7 @@ var stdin_default$1h = vue.defineComponent({
5480
5500
  };
5481
5501
  }
5482
5502
  });
5483
- const [name$17, bem$13, t$h] = createNamespace("address-list");
5503
+ const [name$18, bem$14, t$h] = createNamespace("address-list");
5484
5504
  const addressListProps = {
5485
5505
  list: makeArrayProp(),
5486
5506
  modelValue: numericProp,
@@ -5488,10 +5508,11 @@ const addressListProps = {
5488
5508
  disabledText: String,
5489
5509
  disabledList: makeArrayProp(),
5490
5510
  addButtonText: String,
5491
- defaultTagText: String
5511
+ defaultTagText: String,
5512
+ rightIcon: makeStringProp("edit")
5492
5513
  };
5493
- var stdin_default$1g = vue.defineComponent({
5494
- name: name$17,
5514
+ var stdin_default$1h = vue.defineComponent({
5515
+ name: name$18,
5495
5516
  props: addressListProps,
5496
5517
  emits: ["add", "edit", "select", "clickItem", "editDisabled", "selectDisabled", "update:modelValue"],
5497
5518
  setup(props, {
@@ -5507,12 +5528,13 @@ var stdin_default$1g = vue.defineComponent({
5507
5528
  emit("update:modelValue", item.id);
5508
5529
  }
5509
5530
  };
5510
- return vue.createVNode(stdin_default$1h, {
5531
+ return vue.createVNode(stdin_default$1i, {
5511
5532
  "key": item.id,
5512
5533
  "address": item,
5513
5534
  "disabled": disabled,
5514
5535
  "switchable": props.switchable,
5515
5536
  "defaultTagText": props.defaultTagText,
5537
+ "rightIcon": props.rightIcon,
5516
5538
  "onEdit": onEdit,
5517
5539
  "onClick": onClick,
5518
5540
  "onSelect": onSelect
@@ -5527,13 +5549,13 @@ var stdin_default$1g = vue.defineComponent({
5527
5549
  }
5528
5550
  };
5529
5551
  const renderBottom = () => vue.createVNode("div", {
5530
- "class": [bem$13("bottom"), "van-safe-area-bottom"]
5552
+ "class": [bem$14("bottom"), "van-safe-area-bottom"]
5531
5553
  }, [vue.createVNode(Button, {
5532
5554
  "round": true,
5533
5555
  "block": true,
5534
5556
  "type": "primary",
5535
5557
  "text": props.addButtonText || t$h("add"),
5536
- "class": bem$13("add"),
5558
+ "class": bem$14("add"),
5537
5559
  "onClick": () => emit("add")
5538
5560
  }, null)]);
5539
5561
  return () => {
@@ -5541,10 +5563,10 @@ var stdin_default$1g = vue.defineComponent({
5541
5563
  const List2 = renderList(props.list);
5542
5564
  const DisabledList = renderList(props.disabledList, true);
5543
5565
  const DisabledText = props.disabledText && vue.createVNode("div", {
5544
- "class": bem$13("disabled-text")
5566
+ "class": bem$14("disabled-text")
5545
5567
  }, [props.disabledText]);
5546
5568
  return vue.createVNode("div", {
5547
- "class": bem$13()
5569
+ "class": bem$14()
5548
5570
  }, [(_a = slots.top) == null ? void 0 : _a.call(slots), vue.createVNode(RadioGroup, {
5549
5571
  "modelValue": props.modelValue
5550
5572
  }, {
@@ -5553,7 +5575,7 @@ var stdin_default$1g = vue.defineComponent({
5553
5575
  };
5554
5576
  }
5555
5577
  });
5556
- const AddressList = withInstall(stdin_default$1g);
5578
+ const AddressList = withInstall(stdin_default$1h);
5557
5579
  const hasIntersectionObserver = use.inBrowser && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
5558
5580
  const modeType = {
5559
5581
  event: "event",
@@ -5706,7 +5728,7 @@ class ImageCache {
5706
5728
  this.caches.shift();
5707
5729
  }
5708
5730
  }
5709
- const [name$16, bem$12] = createNamespace("back-top");
5731
+ const [name$17, bem$13] = createNamespace("back-top");
5710
5732
  const backTopProps = {
5711
5733
  right: numericProp,
5712
5734
  bottom: numericProp,
@@ -5719,8 +5741,8 @@ const backTopProps = {
5719
5741
  default: "body"
5720
5742
  }
5721
5743
  };
5722
- var stdin_default$1f = vue.defineComponent({
5723
- name: name$16,
5744
+ var stdin_default$1g = vue.defineComponent({
5745
+ name: name$17,
5724
5746
  inheritAttrs: false,
5725
5747
  props: backTopProps,
5726
5748
  emits: ["click"],
@@ -5729,6 +5751,7 @@ var stdin_default$1f = vue.defineComponent({
5729
5751
  slots,
5730
5752
  attrs
5731
5753
  }) {
5754
+ let shouldReshow = false;
5732
5755
  const show = vue.ref(false);
5733
5756
  const root = vue.ref();
5734
5757
  const scrollParent = vue.ref();
@@ -5775,23 +5798,35 @@ var stdin_default$1f = vue.defineComponent({
5775
5798
  target: scrollParent
5776
5799
  });
5777
5800
  vue.onMounted(updateTarget);
5801
+ vue.onActivated(() => {
5802
+ if (shouldReshow) {
5803
+ show.value = true;
5804
+ shouldReshow = false;
5805
+ }
5806
+ });
5807
+ vue.onDeactivated(() => {
5808
+ if (show.value && props.teleport) {
5809
+ show.value = false;
5810
+ shouldReshow = true;
5811
+ }
5812
+ });
5778
5813
  vue.watch(() => props.target, updateTarget);
5779
5814
  return () => {
5780
5815
  const Content = vue.createVNode("div", vue.mergeProps({
5781
5816
  "ref": !props.teleport ? root : void 0,
5782
- "class": bem$12({
5817
+ "class": bem$13({
5783
5818
  active: show.value
5784
5819
  }),
5785
5820
  "style": style.value,
5786
5821
  "onClick": onClick
5787
5822
  }, attrs), [slots.default ? slots.default() : vue.createVNode(Icon, {
5788
5823
  "name": "back-top",
5789
- "class": bem$12("icon")
5824
+ "class": bem$13("icon")
5790
5825
  }, null)]);
5791
5826
  if (props.teleport) {
5792
5827
  return [vue.createVNode("div", {
5793
5828
  "ref": root,
5794
- "class": bem$12("placeholder")
5829
+ "class": bem$13("placeholder")
5795
5830
  }, null), vue.createVNode(vue.Teleport, {
5796
5831
  "to": props.teleport
5797
5832
  }, {
@@ -5802,7 +5837,7 @@ var stdin_default$1f = vue.defineComponent({
5802
5837
  };
5803
5838
  }
5804
5839
  });
5805
- const BackTop = withInstall(stdin_default$1f);
5840
+ const BackTop = withInstall(stdin_default$1g);
5806
5841
  var __async = (__this, __arguments, generator) => {
5807
5842
  return new Promise((resolve, reject) => {
5808
5843
  var fulfilled = (value) => {
@@ -5831,9 +5866,9 @@ const barrageProps = {
5831
5866
  delay: makeNumberProp(300),
5832
5867
  modelValue: makeArrayProp()
5833
5868
  };
5834
- const [name$15, bem$11] = createNamespace("barrage");
5835
- var stdin_default$1e = vue.defineComponent({
5836
- name: name$15,
5869
+ const [name$16, bem$12] = createNamespace("barrage");
5870
+ var stdin_default$1f = vue.defineComponent({
5871
+ name: name$16,
5837
5872
  props: barrageProps,
5838
5873
  emits: ["update:modelValue"],
5839
5874
  setup(props, {
@@ -5841,7 +5876,7 @@ var stdin_default$1e = vue.defineComponent({
5841
5876
  slots
5842
5877
  }) {
5843
5878
  const barrageWrapper = vue.ref();
5844
- const className = bem$11("item");
5879
+ const className = bem$12("item");
5845
5880
  const total = vue.ref(0);
5846
5881
  const barrageItems = [];
5847
5882
  const createBarrageItem = (text, delay = props.delay) => {
@@ -5922,15 +5957,15 @@ var stdin_default$1e = vue.defineComponent({
5922
5957
  return () => {
5923
5958
  var _a;
5924
5959
  return vue.createVNode("div", {
5925
- "class": bem$11(),
5960
+ "class": bem$12(),
5926
5961
  "ref": barrageWrapper,
5927
5962
  "style": rootStyle.value
5928
5963
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
5929
5964
  };
5930
5965
  }
5931
5966
  });
5932
- const Barrage = withInstall(stdin_default$1e);
5933
- const [name$14, bem$10, t$g] = createNamespace("calendar");
5967
+ const Barrage = withInstall(stdin_default$1f);
5968
+ const [name$15, bem$11, t$g] = createNamespace("calendar");
5934
5969
  const formatMonthTitle = (date) => t$g("monthTitle", date.getFullYear(), date.getMonth() + 1);
5935
5970
  function compareMonth(date1, date2) {
5936
5971
  const year1 = date1.getFullYear();
@@ -5991,7 +6026,7 @@ function times(n, iteratee) {
5991
6026
  return result;
5992
6027
  }
5993
6028
  const getMonthEndDay = (year, month) => 32 - new Date(year, month - 1, 32).getDate();
5994
- const genOptions = (min, max, type, formatter, filter) => {
6029
+ const genOptions = (min, max, type, formatter, filter, values) => {
5995
6030
  const options = times(max - min + 1, (index) => {
5996
6031
  const value = padZero(min + index);
5997
6032
  return formatter(type, {
@@ -5999,7 +6034,7 @@ const genOptions = (min, max, type, formatter, filter) => {
5999
6034
  value
6000
6035
  });
6001
6036
  });
6002
- return filter ? filter(type, options) : options;
6037
+ return filter ? filter(type, options, values) : options;
6003
6038
  };
6004
6039
  const formatValueRange = (values, columns) => values.map((value, index) => {
6005
6040
  const column = columns[index];
@@ -6010,9 +6045,9 @@ const formatValueRange = (values, columns) => values.map((value, index) => {
6010
6045
  }
6011
6046
  return value;
6012
6047
  });
6013
- const [name$13] = createNamespace("calendar-day");
6014
- var stdin_default$1d = vue.defineComponent({
6015
- name: name$13,
6048
+ const [name$14] = createNamespace("calendar-day");
6049
+ var stdin_default$1e = vue.defineComponent({
6050
+ name: name$14,
6016
6051
  props: {
6017
6052
  item: makeRequiredProp(Object),
6018
6053
  color: String,
@@ -6074,7 +6109,7 @@ var stdin_default$1d = vue.defineComponent({
6074
6109
  } = props.item;
6075
6110
  if (topInfo || slots["top-info"]) {
6076
6111
  return vue.createVNode("div", {
6077
- "class": bem$10("top-info")
6112
+ "class": bem$11("top-info")
6078
6113
  }, [slots["top-info"] ? slots["top-info"](props.item) : topInfo]);
6079
6114
  }
6080
6115
  };
@@ -6084,7 +6119,7 @@ var stdin_default$1d = vue.defineComponent({
6084
6119
  } = props.item;
6085
6120
  if (bottomInfo || slots["bottom-info"]) {
6086
6121
  return vue.createVNode("div", {
6087
- "class": bem$10("bottom-info")
6122
+ "class": bem$11("bottom-info")
6088
6123
  }, [slots["bottom-info"] ? slots["bottom-info"](props.item) : bottomInfo]);
6089
6124
  }
6090
6125
  };
@@ -6101,7 +6136,7 @@ var stdin_default$1d = vue.defineComponent({
6101
6136
  const Nodes = [renderTopInfo(), text, renderBottomInfo()];
6102
6137
  if (type === "selected") {
6103
6138
  return vue.createVNode("div", {
6104
- "class": bem$10("selected-day"),
6139
+ "class": bem$11("selected-day"),
6105
6140
  "style": {
6106
6141
  width: rowHeight,
6107
6142
  height: rowHeight,
@@ -6118,21 +6153,21 @@ var stdin_default$1d = vue.defineComponent({
6118
6153
  } = props.item;
6119
6154
  if (type === "placeholder") {
6120
6155
  return vue.createVNode("div", {
6121
- "class": bem$10("day"),
6156
+ "class": bem$11("day"),
6122
6157
  "style": style.value
6123
6158
  }, null);
6124
6159
  }
6125
6160
  return vue.createVNode("div", {
6126
6161
  "role": "gridcell",
6127
6162
  "style": style.value,
6128
- "class": [bem$10("day", type), className],
6163
+ "class": [bem$11("day", type), className],
6129
6164
  "tabindex": type === "disabled" ? void 0 : -1,
6130
6165
  "onClick": onClick
6131
6166
  }, [renderContent()]);
6132
6167
  };
6133
6168
  }
6134
6169
  });
6135
- const [name$12] = createNamespace("calendar-month");
6170
+ const [name$13] = createNamespace("calendar-month");
6136
6171
  const calendarMonthProps = {
6137
6172
  date: makeRequiredProp(Date),
6138
6173
  type: String,
@@ -6149,8 +6184,8 @@ const calendarMonthProps = {
6149
6184
  showMonthTitle: Boolean,
6150
6185
  firstDayOfWeek: Number
6151
6186
  };
6152
- var stdin_default$1c = vue.defineComponent({
6153
- name: name$12,
6187
+ var stdin_default$1d = vue.defineComponent({
6188
+ name: name$13,
6154
6189
  props: calendarMonthProps,
6155
6190
  emits: ["click"],
6156
6191
  setup(props, {
@@ -6255,7 +6290,7 @@ var stdin_default$1c = vue.defineComponent({
6255
6290
  const renderTitle = () => {
6256
6291
  if (props.showMonthTitle) {
6257
6292
  return vue.createVNode("div", {
6258
- "class": bem$10("month-title")
6293
+ "class": bem$11("month-title")
6259
6294
  }, [slots["month-title"] ? slots["month-title"]({
6260
6295
  date: props.date,
6261
6296
  text: title.value
@@ -6265,7 +6300,7 @@ var stdin_default$1c = vue.defineComponent({
6265
6300
  const renderMark = () => {
6266
6301
  if (props.showMark && shouldRender.value) {
6267
6302
  return vue.createVNode("div", {
6268
- "class": bem$10("month-mark")
6303
+ "class": bem$11("month-mark")
6269
6304
  }, [props.date.getMonth() + 1]);
6270
6305
  }
6271
6306
  };
@@ -6305,7 +6340,7 @@ var stdin_default$1c = vue.defineComponent({
6305
6340
  setScrollTop(body, daysRect.top + rowOffset + body.scrollTop - use.useRect(body).top);
6306
6341
  }
6307
6342
  };
6308
- const renderDay = (item, index) => vue.createVNode(stdin_default$1d, {
6343
+ const renderDay = (item, index) => vue.createVNode(stdin_default$1e, {
6309
6344
  "item": item,
6310
6345
  "index": index,
6311
6346
  "color": props.color,
@@ -6316,7 +6351,7 @@ var stdin_default$1c = vue.defineComponent({
6316
6351
  const renderDays = () => vue.createVNode("div", {
6317
6352
  "ref": daysRef,
6318
6353
  "role": "grid",
6319
- "class": bem$10("days")
6354
+ "class": bem$11("days")
6320
6355
  }, [renderMark(), (shouldRender.value ? days : placeholders).value.map(renderDay)]);
6321
6356
  useExpose({
6322
6357
  getTitle,
@@ -6326,14 +6361,14 @@ var stdin_default$1c = vue.defineComponent({
6326
6361
  disabledDays
6327
6362
  });
6328
6363
  return () => vue.createVNode("div", {
6329
- "class": bem$10("month"),
6364
+ "class": bem$11("month"),
6330
6365
  "ref": monthRef
6331
6366
  }, [renderTitle(), renderDays()]);
6332
6367
  }
6333
6368
  });
6334
- const [name$11] = createNamespace("calendar-header");
6335
- var stdin_default$1b = vue.defineComponent({
6336
- name: name$11,
6369
+ const [name$12] = createNamespace("calendar-header");
6370
+ var stdin_default$1c = vue.defineComponent({
6371
+ name: name$12,
6337
6372
  props: {
6338
6373
  date: Date,
6339
6374
  title: String,
@@ -6352,7 +6387,7 @@ var stdin_default$1b = vue.defineComponent({
6352
6387
  const text = props.title || t$g("title");
6353
6388
  const title = slots.title ? slots.title() : text;
6354
6389
  return vue.createVNode("div", {
6355
- "class": bem$10("header-title")
6390
+ "class": bem$11("header-title")
6356
6391
  }, [title]);
6357
6392
  }
6358
6393
  };
@@ -6364,7 +6399,7 @@ var stdin_default$1b = vue.defineComponent({
6364
6399
  text: props.subtitle
6365
6400
  }) : props.subtitle;
6366
6401
  return vue.createVNode("div", {
6367
- "class": bem$10("header-subtitle"),
6402
+ "class": bem$11("header-subtitle"),
6368
6403
  "onClick": onClickSubtitle
6369
6404
  }, [title]);
6370
6405
  }
@@ -6376,13 +6411,13 @@ var stdin_default$1b = vue.defineComponent({
6376
6411
  const weekdays = t$g("weekdays");
6377
6412
  const renderWeekDays2 = [...weekdays.slice(firstDayOfWeek, 7), ...weekdays.slice(0, firstDayOfWeek)];
6378
6413
  return vue.createVNode("div", {
6379
- "class": bem$10("weekdays")
6414
+ "class": bem$11("weekdays")
6380
6415
  }, [renderWeekDays2.map((text) => vue.createVNode("span", {
6381
- "class": bem$10("weekday")
6416
+ "class": bem$11("weekday")
6382
6417
  }, [text]))]);
6383
6418
  };
6384
6419
  return () => vue.createVNode("div", {
6385
- "class": bem$10("header")
6420
+ "class": bem$11("header")
6386
6421
  }, [renderTitle(), renderSubtitle(), renderWeekDays()]);
6387
6422
  }
6388
6423
  });
@@ -6433,8 +6468,8 @@ const calendarProps = {
6433
6468
  validator: (val) => val >= 0 && val <= 6
6434
6469
  }
6435
6470
  };
6436
- var stdin_default$1a = vue.defineComponent({
6437
- name: name$14,
6471
+ var stdin_default$1b = vue.defineComponent({
6472
+ name: name$15,
6438
6473
  props: calendarProps,
6439
6474
  emits: ["select", "confirm", "unselect", "monthShow", "overRange", "update:show", "clickSubtitle"],
6440
6475
  setup(props, {
@@ -6697,7 +6732,7 @@ var stdin_default$1a = vue.defineComponent({
6697
6732
  const updateShow = (value) => emit("update:show", value);
6698
6733
  const renderMonth = (date, index) => {
6699
6734
  const showMonthTitle = index !== 0 || !props.showSubtitle;
6700
- return vue.createVNode(stdin_default$1c, vue.mergeProps({
6735
+ return vue.createVNode(stdin_default$1d, vue.mergeProps({
6701
6736
  "ref": setMonthRefs(index),
6702
6737
  "date": date,
6703
6738
  "currentDate": currentDate.value,
@@ -6720,7 +6755,7 @@ var stdin_default$1a = vue.defineComponent({
6720
6755
  "block": true,
6721
6756
  "type": "primary",
6722
6757
  "color": props.color,
6723
- "class": bem$10("confirm"),
6758
+ "class": bem$11("confirm"),
6724
6759
  "disabled": disabled,
6725
6760
  "nativeType": "button",
6726
6761
  "onClick": onConfirm
@@ -6732,13 +6767,13 @@ var stdin_default$1a = vue.defineComponent({
6732
6767
  }
6733
6768
  };
6734
6769
  const renderFooter = () => vue.createVNode("div", {
6735
- "class": [bem$10("footer"), {
6770
+ "class": [bem$11("footer"), {
6736
6771
  "van-safe-area-bottom": props.safeAreaInsetBottom
6737
6772
  }]
6738
6773
  }, [renderFooterButton()]);
6739
6774
  const renderCalendar = () => vue.createVNode("div", {
6740
- "class": bem$10()
6741
- }, [vue.createVNode(stdin_default$1b, {
6775
+ "class": bem$11()
6776
+ }, [vue.createVNode(stdin_default$1c, {
6742
6777
  "date": subtitle.value.date,
6743
6778
  "title": props.title,
6744
6779
  "subtitle": subtitle.value.text,
@@ -6748,7 +6783,7 @@ var stdin_default$1a = vue.defineComponent({
6748
6783
  "onClickSubtitle": (event) => emit("clickSubtitle", event)
6749
6784
  }, pick(slots, ["title", "subtitle"])), vue.createVNode("div", {
6750
6785
  "ref": bodyRef,
6751
- "class": bem$10("body"),
6786
+ "class": bem$11("body"),
6752
6787
  "onScroll": onScroll
6753
6788
  }, [months.value.map(renderMonth)]), renderFooter()]);
6754
6789
  vue.watch(() => props.show, init);
@@ -6767,7 +6802,7 @@ var stdin_default$1a = vue.defineComponent({
6767
6802
  if (props.poppable) {
6768
6803
  return vue.createVNode(Popup, {
6769
6804
  "show": props.show,
6770
- "class": bem$10("popup"),
6805
+ "class": bem$11("popup"),
6771
6806
  "round": props.round,
6772
6807
  "position": props.position,
6773
6808
  "closeable": props.showTitle || props.showSubtitle,
@@ -6784,8 +6819,8 @@ var stdin_default$1a = vue.defineComponent({
6784
6819
  };
6785
6820
  }
6786
6821
  });
6787
- const Calendar = withInstall(stdin_default$1a);
6788
- const [name$10, bem$$] = createNamespace("image");
6822
+ const Calendar = withInstall(stdin_default$1b);
6823
+ const [name$11, bem$10] = createNamespace("image");
6789
6824
  const imageProps = {
6790
6825
  src: String,
6791
6826
  alt: String,
@@ -6804,8 +6839,8 @@ const imageProps = {
6804
6839
  showLoading: truthProp,
6805
6840
  loadingIcon: makeStringProp("photo")
6806
6841
  };
6807
- var stdin_default$19 = vue.defineComponent({
6808
- name: name$10,
6842
+ var stdin_default$1a = vue.defineComponent({
6843
+ name: name$11,
6809
6844
  props: imageProps,
6810
6845
  emits: ["load", "error"],
6811
6846
  setup(props, {
@@ -6866,13 +6901,13 @@ var stdin_default$19 = vue.defineComponent({
6866
6901
  const renderPlaceholder = () => {
6867
6902
  if (loading.value && props.showLoading) {
6868
6903
  return vue.createVNode("div", {
6869
- "class": bem$$("loading")
6870
- }, [renderIcon(props.loadingIcon, bem$$("loading-icon"), slots.loading)]);
6904
+ "class": bem$10("loading")
6905
+ }, [renderIcon(props.loadingIcon, bem$10("loading-icon"), slots.loading)]);
6871
6906
  }
6872
6907
  if (error.value && props.showError) {
6873
6908
  return vue.createVNode("div", {
6874
- "class": bem$$("error")
6875
- }, [renderIcon(props.errorIcon, bem$$("error-icon"), slots.error)]);
6909
+ "class": bem$10("error")
6910
+ }, [renderIcon(props.errorIcon, bem$10("error-icon"), slots.error)]);
6876
6911
  }
6877
6912
  };
6878
6913
  const renderImage = () => {
@@ -6881,7 +6916,7 @@ var stdin_default$19 = vue.defineComponent({
6881
6916
  }
6882
6917
  const attrs = {
6883
6918
  alt: props.alt,
6884
- class: bem$$("img"),
6919
+ class: bem$10("img"),
6885
6920
  style: {
6886
6921
  objectFit: props.fit,
6887
6922
  objectPosition: props.position
@@ -6939,7 +6974,7 @@ var stdin_default$19 = vue.defineComponent({
6939
6974
  return () => {
6940
6975
  var _a;
6941
6976
  return vue.createVNode("div", {
6942
- "class": bem$$({
6977
+ "class": bem$10({
6943
6978
  round: props.round,
6944
6979
  block: props.block
6945
6980
  }),
@@ -6948,8 +6983,8 @@ var stdin_default$19 = vue.defineComponent({
6948
6983
  };
6949
6984
  }
6950
6985
  });
6951
- const Image$1 = withInstall(stdin_default$19);
6952
- const [name$$, bem$_] = createNamespace("card");
6986
+ const Image$1 = withInstall(stdin_default$1a);
6987
+ const [name$10, bem$$] = createNamespace("card");
6953
6988
  const cardProps = {
6954
6989
  tag: String,
6955
6990
  num: numericProp,
@@ -6963,8 +6998,8 @@ const cardProps = {
6963
6998
  thumbLink: String,
6964
6999
  originPrice: numericProp
6965
7000
  };
6966
- var stdin_default$18 = vue.defineComponent({
6967
- name: name$$,
7001
+ var stdin_default$19 = vue.defineComponent({
7002
+ name: name$10,
6968
7003
  props: cardProps,
6969
7004
  emits: ["clickThumb"],
6970
7005
  setup(props, {
@@ -6977,14 +7012,14 @@ var stdin_default$18 = vue.defineComponent({
6977
7012
  }
6978
7013
  if (props.title) {
6979
7014
  return vue.createVNode("div", {
6980
- "class": [bem$_("title"), "van-multi-ellipsis--l2"]
7015
+ "class": [bem$$("title"), "van-multi-ellipsis--l2"]
6981
7016
  }, [props.title]);
6982
7017
  }
6983
7018
  };
6984
7019
  const renderThumbTag = () => {
6985
7020
  if (slots.tag || props.tag) {
6986
7021
  return vue.createVNode("div", {
6987
- "class": bem$_("tag")
7022
+ "class": bem$$("tag")
6988
7023
  }, [slots.tag ? slots.tag() : vue.createVNode(Tag, {
6989
7024
  "mark": true,
6990
7025
  "type": "primary"
@@ -7009,7 +7044,7 @@ var stdin_default$18 = vue.defineComponent({
7009
7044
  if (slots.thumb || props.thumb) {
7010
7045
  return vue.createVNode("a", {
7011
7046
  "href": props.thumbLink,
7012
- "class": bem$_("thumb"),
7047
+ "class": bem$$("thumb"),
7013
7048
  "onClick": (event) => emit("clickThumb", event)
7014
7049
  }, [renderThumbImage(), renderThumbTag()]);
7015
7050
  }
@@ -7020,18 +7055,18 @@ var stdin_default$18 = vue.defineComponent({
7020
7055
  }
7021
7056
  if (props.desc) {
7022
7057
  return vue.createVNode("div", {
7023
- "class": [bem$_("desc"), "van-ellipsis"]
7058
+ "class": [bem$$("desc"), "van-ellipsis"]
7024
7059
  }, [props.desc]);
7025
7060
  }
7026
7061
  };
7027
7062
  const renderPriceText = () => {
7028
7063
  const priceArr = props.price.toString().split(".");
7029
7064
  return vue.createVNode("div", null, [vue.createVNode("span", {
7030
- "class": bem$_("price-currency")
7065
+ "class": bem$$("price-currency")
7031
7066
  }, [props.currency]), vue.createVNode("span", {
7032
- "class": bem$_("price-integer")
7067
+ "class": bem$$("price-integer")
7033
7068
  }, [priceArr[0]]), vue.createTextVNode("."), vue.createVNode("span", {
7034
- "class": bem$_("price-decimal")
7069
+ "class": bem$$("price-decimal")
7035
7070
  }, [priceArr[1]])]);
7036
7071
  };
7037
7072
  return () => {
@@ -7041,34 +7076,34 @@ var stdin_default$18 = vue.defineComponent({
7041
7076
  const showOriginPrice = slots["origin-price"] || isDef(props.originPrice);
7042
7077
  const showBottom = showNum || showPrice || showOriginPrice || slots.bottom;
7043
7078
  const Price = showPrice && vue.createVNode("div", {
7044
- "class": bem$_("price")
7079
+ "class": bem$$("price")
7045
7080
  }, [slots.price ? slots.price() : renderPriceText()]);
7046
7081
  const OriginPrice = showOriginPrice && vue.createVNode("div", {
7047
- "class": bem$_("origin-price")
7082
+ "class": bem$$("origin-price")
7048
7083
  }, [slots["origin-price"] ? slots["origin-price"]() : `${props.currency} ${props.originPrice}`]);
7049
7084
  const Num = showNum && vue.createVNode("div", {
7050
- "class": bem$_("num")
7085
+ "class": bem$$("num")
7051
7086
  }, [slots.num ? slots.num() : `x${props.num}`]);
7052
7087
  const Footer = slots.footer && vue.createVNode("div", {
7053
- "class": bem$_("footer")
7088
+ "class": bem$$("footer")
7054
7089
  }, [slots.footer()]);
7055
7090
  const Bottom = showBottom && vue.createVNode("div", {
7056
- "class": bem$_("bottom")
7091
+ "class": bem$$("bottom")
7057
7092
  }, [(_a = slots["price-top"]) == null ? void 0 : _a.call(slots), Price, OriginPrice, Num, (_b = slots.bottom) == null ? void 0 : _b.call(slots)]);
7058
7093
  return vue.createVNode("div", {
7059
- "class": bem$_()
7094
+ "class": bem$$()
7060
7095
  }, [vue.createVNode("div", {
7061
- "class": bem$_("header")
7096
+ "class": bem$$("header")
7062
7097
  }, [renderThumb(), vue.createVNode("div", {
7063
- "class": bem$_("content", {
7098
+ "class": bem$$("content", {
7064
7099
  centered: props.centered
7065
7100
  })
7066
7101
  }, [vue.createVNode("div", null, [renderTitle(), renderDesc(), (_c = slots.tags) == null ? void 0 : _c.call(slots)]), Bottom])]), Footer]);
7067
7102
  };
7068
7103
  }
7069
7104
  });
7070
- const Card = withInstall(stdin_default$18);
7071
- const [name$_, bem$Z, t$f] = createNamespace("cascader");
7105
+ const Card = withInstall(stdin_default$19);
7106
+ const [name$$, bem$_, t$f] = createNamespace("cascader");
7072
7107
  const cascaderProps = {
7073
7108
  title: String,
7074
7109
  options: makeArrayProp(),
@@ -7081,8 +7116,8 @@ const cascaderProps = {
7081
7116
  placeholder: String,
7082
7117
  activeColor: String
7083
7118
  };
7084
- var stdin_default$17 = vue.defineComponent({
7085
- name: name$_,
7119
+ var stdin_default$18 = vue.defineComponent({
7120
+ name: name$$,
7086
7121
  props: cascaderProps,
7087
7122
  emits: ["close", "change", "finish", "clickTab", "update:modelValue"],
7088
7123
  setup(props, {
@@ -7191,12 +7226,12 @@ var stdin_default$17 = vue.defineComponent({
7191
7226
  title
7192
7227
  }) => emit("clickTab", name2, title);
7193
7228
  const renderHeader = () => props.showHeader ? vue.createVNode("div", {
7194
- "class": bem$Z("header")
7229
+ "class": bem$_("header")
7195
7230
  }, [vue.createVNode("h2", {
7196
- "class": bem$Z("title")
7231
+ "class": bem$_("title")
7197
7232
  }, [slots.title ? slots.title() : props.title]), props.closeable ? vue.createVNode(Icon, {
7198
7233
  "name": props.closeIcon,
7199
- "class": [bem$Z("close-icon"), HAPTICS_FEEDBACK],
7234
+ "class": [bem$_("close-icon"), HAPTICS_FEEDBACK],
7200
7235
  "onClick": onClose
7201
7236
  }, null) : null]) : null;
7202
7237
  const renderOption = (option, selectedOption, tabIndex) => {
@@ -7212,7 +7247,7 @@ var stdin_default$17 = vue.defineComponent({
7212
7247
  return vue.createVNode("li", {
7213
7248
  "ref": selected ? setSelectedElementRefs(tabIndex) : void 0,
7214
7249
  "role": "menuitemradio",
7215
- "class": [bem$Z("option", {
7250
+ "class": [bem$_("option", {
7216
7251
  selected,
7217
7252
  disabled
7218
7253
  }), option.className],
@@ -7225,12 +7260,12 @@ var stdin_default$17 = vue.defineComponent({
7225
7260
  "onClick": () => onSelect(option, tabIndex)
7226
7261
  }, [Text, selected ? vue.createVNode(Icon, {
7227
7262
  "name": "success",
7228
- "class": bem$Z("selected-icon")
7263
+ "class": bem$_("selected-icon")
7229
7264
  }, null) : null]);
7230
7265
  };
7231
7266
  const renderOptions = (options, selectedOption, tabIndex) => vue.createVNode("ul", {
7232
7267
  "role": "menu",
7233
- "class": bem$Z("options")
7268
+ "class": bem$_("options")
7234
7269
  }, [options.map((option) => renderOption(option, selectedOption, tabIndex))]);
7235
7270
  const renderTab = (tab, tabIndex) => {
7236
7271
  const {
@@ -7241,7 +7276,7 @@ var stdin_default$17 = vue.defineComponent({
7241
7276
  const title = selected ? selected[textKey] : placeholder;
7242
7277
  return vue.createVNode(Tab, {
7243
7278
  "title": title,
7244
- "titleClass": bem$Z("tab", {
7279
+ "titleClass": bem$_("tab", {
7245
7280
  unselected: !selected
7246
7281
  })
7247
7282
  }, {
@@ -7260,7 +7295,7 @@ var stdin_default$17 = vue.defineComponent({
7260
7295
  "onUpdate:active": ($event) => activeTab.value = $event,
7261
7296
  "shrink": true,
7262
7297
  "animated": true,
7263
- "class": bem$Z("tabs"),
7298
+ "class": bem$_("tabs"),
7264
7299
  "color": props.activeColor,
7265
7300
  "swipeable": props.swipeable,
7266
7301
  "onClickTab": onClickTab
@@ -7295,19 +7330,19 @@ var stdin_default$17 = vue.defineComponent({
7295
7330
  updateTabs();
7296
7331
  });
7297
7332
  return () => vue.createVNode("div", {
7298
- "class": bem$Z()
7333
+ "class": bem$_()
7299
7334
  }, [renderHeader(), renderTabs()]);
7300
7335
  }
7301
7336
  });
7302
- const Cascader = withInstall(stdin_default$17);
7303
- const [name$Z, bem$Y] = createNamespace("cell-group");
7337
+ const Cascader = withInstall(stdin_default$18);
7338
+ const [name$_, bem$Z] = createNamespace("cell-group");
7304
7339
  const cellGroupProps = {
7305
7340
  title: String,
7306
7341
  inset: Boolean,
7307
7342
  border: truthProp
7308
7343
  };
7309
- var stdin_default$16 = vue.defineComponent({
7310
- name: name$Z,
7344
+ var stdin_default$17 = vue.defineComponent({
7345
+ name: name$_,
7311
7346
  inheritAttrs: false,
7312
7347
  props: cellGroupProps,
7313
7348
  setup(props, {
@@ -7317,7 +7352,7 @@ var stdin_default$16 = vue.defineComponent({
7317
7352
  const renderGroup = () => {
7318
7353
  var _a;
7319
7354
  return vue.createVNode("div", vue.mergeProps({
7320
- "class": [bem$Y({
7355
+ "class": [bem$Z({
7321
7356
  inset: props.inset
7322
7357
  }), {
7323
7358
  [BORDER_TOP_BOTTOM]: props.border && !props.inset
@@ -7325,7 +7360,7 @@ var stdin_default$16 = vue.defineComponent({
7325
7360
  }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7326
7361
  };
7327
7362
  const renderTitle = () => vue.createVNode("div", {
7328
- "class": bem$Y("title", {
7363
+ "class": bem$Z("title", {
7329
7364
  inset: props.inset
7330
7365
  })
7331
7366
  }, [slots.title ? slots.title() : props.title]);
@@ -7337,8 +7372,8 @@ var stdin_default$16 = vue.defineComponent({
7337
7372
  };
7338
7373
  }
7339
7374
  });
7340
- const CellGroup = withInstall(stdin_default$16);
7341
- const [name$Y, bem$X] = createNamespace("checkbox-group");
7375
+ const CellGroup = withInstall(stdin_default$17);
7376
+ const [name$Z, bem$Y] = createNamespace("checkbox-group");
7342
7377
  const checkboxGroupProps = {
7343
7378
  max: numericProp,
7344
7379
  disabled: Boolean,
@@ -7347,9 +7382,9 @@ const checkboxGroupProps = {
7347
7382
  modelValue: makeArrayProp(),
7348
7383
  checkedColor: String
7349
7384
  };
7350
- const CHECKBOX_GROUP_KEY = Symbol(name$Y);
7351
- var stdin_default$15 = vue.defineComponent({
7352
- name: name$Y,
7385
+ const CHECKBOX_GROUP_KEY = Symbol(name$Z);
7386
+ var stdin_default$16 = vue.defineComponent({
7387
+ name: name$Z,
7353
7388
  props: checkboxGroupProps,
7354
7389
  emits: ["change", "update:modelValue"],
7355
7390
  setup(props, {
@@ -7395,17 +7430,17 @@ var stdin_default$15 = vue.defineComponent({
7395
7430
  return () => {
7396
7431
  var _a;
7397
7432
  return vue.createVNode("div", {
7398
- "class": bem$X([props.direction])
7433
+ "class": bem$Y([props.direction])
7399
7434
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7400
7435
  };
7401
7436
  }
7402
7437
  });
7403
- const [name$X, bem$W] = createNamespace("checkbox");
7438
+ const [name$Y, bem$X] = createNamespace("checkbox");
7404
7439
  const checkboxProps = extend({}, checkerProps, {
7405
7440
  bindGroup: truthProp
7406
7441
  });
7407
- var stdin_default$14 = vue.defineComponent({
7408
- name: name$X,
7442
+ var stdin_default$15 = vue.defineComponent({
7443
+ name: name$Y,
7409
7444
  props: checkboxProps,
7410
7445
  emits: ["change", "update:modelValue"],
7411
7446
  setup(props, {
@@ -7462,8 +7497,8 @@ var stdin_default$14 = vue.defineComponent({
7462
7497
  checked
7463
7498
  });
7464
7499
  use.useCustomFieldValue(() => props.modelValue);
7465
- return () => vue.createVNode(stdin_default$1j, vue.mergeProps({
7466
- "bem": bem$W,
7500
+ return () => vue.createVNode(stdin_default$1k, vue.mergeProps({
7501
+ "bem": bem$X,
7467
7502
  "role": "checkbox",
7468
7503
  "parent": parent,
7469
7504
  "checked": checked.value,
@@ -7471,9 +7506,9 @@ var stdin_default$14 = vue.defineComponent({
7471
7506
  }, props), pick(slots, ["default", "icon"]));
7472
7507
  }
7473
7508
  });
7474
- const Checkbox = withInstall(stdin_default$14);
7475
- const CheckboxGroup = withInstall(stdin_default$15);
7476
- const [name$W, bem$V] = createNamespace("circle");
7509
+ const Checkbox = withInstall(stdin_default$15);
7510
+ const CheckboxGroup = withInstall(stdin_default$16);
7511
+ const [name$X, bem$W] = createNamespace("circle");
7477
7512
  let uid = 0;
7478
7513
  const format = (rate) => Math.min(Math.max(+rate, 0), 100);
7479
7514
  function getPath(clockwise, viewBoxSize) {
@@ -7494,8 +7529,8 @@ const circleProps = {
7494
7529
  strokeLinecap: String,
7495
7530
  startPosition: makeStringProp("top")
7496
7531
  };
7497
- var stdin_default$13 = vue.defineComponent({
7498
- name: name$W,
7532
+ var stdin_default$14 = vue.defineComponent({
7533
+ name: name$X,
7499
7534
  props: circleProps,
7500
7535
  emits: ["update:currentRate"],
7501
7536
  setup(props, {
@@ -7563,7 +7598,7 @@ var stdin_default$13 = vue.defineComponent({
7563
7598
  return vue.createVNode("path", {
7564
7599
  "d": path.value,
7565
7600
  "style": style,
7566
- "class": bem$V("hover"),
7601
+ "class": bem$W("hover"),
7567
7602
  "stroke": color
7568
7603
  }, null);
7569
7604
  };
@@ -7574,7 +7609,7 @@ var stdin_default$13 = vue.defineComponent({
7574
7609
  strokeWidth: `${props.strokeWidth}px`
7575
7610
  };
7576
7611
  return vue.createVNode("path", {
7577
- "class": bem$V("layer"),
7612
+ "class": bem$W("layer"),
7578
7613
  "style": style,
7579
7614
  "d": path.value
7580
7615
  }, null);
@@ -7605,12 +7640,12 @@ var stdin_default$13 = vue.defineComponent({
7605
7640
  }
7606
7641
  if (props.text) {
7607
7642
  return vue.createVNode("div", {
7608
- "class": bem$V("text")
7643
+ "class": bem$W("text")
7609
7644
  }, [props.text]);
7610
7645
  }
7611
7646
  };
7612
7647
  return () => vue.createVNode("div", {
7613
- "class": bem$V(),
7648
+ "class": bem$W(),
7614
7649
  "style": getSizeStyle(props.size)
7615
7650
  }, [vue.createVNode("svg", {
7616
7651
  "viewBox": `0 0 ${viewBoxSize.value} ${viewBoxSize.value}`,
@@ -7618,9 +7653,9 @@ var stdin_default$13 = vue.defineComponent({
7618
7653
  }, [renderGradient(), renderLayer(), renderHover()]), renderText()]);
7619
7654
  }
7620
7655
  });
7621
- const Circle = withInstall(stdin_default$13);
7622
- const [name$V, bem$U] = createNamespace("row");
7623
- const ROW_KEY = Symbol(name$V);
7656
+ const Circle = withInstall(stdin_default$14);
7657
+ const [name$W, bem$V] = createNamespace("row");
7658
+ const ROW_KEY = Symbol(name$W);
7624
7659
  const rowProps = {
7625
7660
  tag: makeStringProp("div"),
7626
7661
  wrap: truthProp,
@@ -7628,8 +7663,8 @@ const rowProps = {
7628
7663
  gutter: makeNumericProp(0),
7629
7664
  justify: String
7630
7665
  };
7631
- var stdin_default$12 = vue.defineComponent({
7632
- name: name$V,
7666
+ var stdin_default$13 = vue.defineComponent({
7667
+ name: name$W,
7633
7668
  props: rowProps,
7634
7669
  setup(props, {
7635
7670
  slots
@@ -7688,7 +7723,7 @@ var stdin_default$12 = vue.defineComponent({
7688
7723
  justify
7689
7724
  } = props;
7690
7725
  return vue.createVNode(tag, {
7691
- "class": bem$U({
7726
+ "class": bem$V({
7692
7727
  [`align-${align}`]: align,
7693
7728
  [`justify-${justify}`]: justify,
7694
7729
  nowrap: !wrap
@@ -7702,14 +7737,14 @@ var stdin_default$12 = vue.defineComponent({
7702
7737
  };
7703
7738
  }
7704
7739
  });
7705
- const [name$U, bem$T] = createNamespace("col");
7740
+ const [name$V, bem$U] = createNamespace("col");
7706
7741
  const colProps = {
7707
7742
  tag: makeStringProp("div"),
7708
7743
  span: makeNumericProp(0),
7709
7744
  offset: numericProp
7710
7745
  };
7711
- var stdin_default$11 = vue.defineComponent({
7712
- name: name$U,
7746
+ var stdin_default$12 = vue.defineComponent({
7747
+ name: name$V,
7713
7748
  props: colProps,
7714
7749
  setup(props, {
7715
7750
  slots
@@ -7744,7 +7779,7 @@ var stdin_default$11 = vue.defineComponent({
7744
7779
  } = props;
7745
7780
  return vue.createVNode(tag, {
7746
7781
  "style": style.value,
7747
- "class": bem$T({
7782
+ "class": bem$U({
7748
7783
  [span]: span,
7749
7784
  [`offset-${offset}`]: offset
7750
7785
  })
@@ -7757,9 +7792,9 @@ var stdin_default$11 = vue.defineComponent({
7757
7792
  };
7758
7793
  }
7759
7794
  });
7760
- const Col = withInstall(stdin_default$11);
7761
- const [name$T, bem$S] = createNamespace("collapse");
7762
- const COLLAPSE_KEY = Symbol(name$T);
7795
+ const Col = withInstall(stdin_default$12);
7796
+ const [name$U, bem$T] = createNamespace("collapse");
7797
+ const COLLAPSE_KEY = Symbol(name$U);
7763
7798
  const collapseProps = {
7764
7799
  border: truthProp,
7765
7800
  accordion: Boolean,
@@ -7779,8 +7814,8 @@ function validateModelValue(modelValue, accordion) {
7779
7814
  }
7780
7815
  return true;
7781
7816
  }
7782
- var stdin_default$10 = vue.defineComponent({
7783
- name: name$T,
7817
+ var stdin_default$11 = vue.defineComponent({
7818
+ name: name$U,
7784
7819
  props: collapseProps,
7785
7820
  emits: ["change", "update:modelValue"],
7786
7821
  setup(props, {
@@ -7850,15 +7885,15 @@ var stdin_default$10 = vue.defineComponent({
7850
7885
  return () => {
7851
7886
  var _a;
7852
7887
  return vue.createVNode("div", {
7853
- "class": [bem$S(), {
7888
+ "class": [bem$T(), {
7854
7889
  [BORDER_TOP_BOTTOM]: props.border
7855
7890
  }]
7856
7891
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7857
7892
  };
7858
7893
  }
7859
7894
  });
7860
- const Collapse = withInstall(stdin_default$10);
7861
- const [name$S, bem$R] = createNamespace("collapse-item");
7895
+ const Collapse = withInstall(stdin_default$11);
7896
+ const [name$T, bem$S] = createNamespace("collapse-item");
7862
7897
  const CELL_SLOTS = ["icon", "title", "value", "label", "right-icon"];
7863
7898
  const collapseItemProps = extend({}, cellSharedProps, {
7864
7899
  name: numericProp,
@@ -7867,8 +7902,8 @@ const collapseItemProps = extend({}, cellSharedProps, {
7867
7902
  readonly: Boolean,
7868
7903
  lazyRender: truthProp
7869
7904
  });
7870
- var stdin_default$$ = vue.defineComponent({
7871
- name: name$S,
7905
+ var stdin_default$10 = vue.defineComponent({
7906
+ name: name$T,
7872
7907
  props: collapseItemProps,
7873
7908
  setup(props, {
7874
7909
  slots
@@ -7950,7 +7985,7 @@ var stdin_default$$ = vue.defineComponent({
7950
7985
  }
7951
7986
  return vue.createVNode(Cell, vue.mergeProps({
7952
7987
  "role": "button",
7953
- "class": bem$R("title", {
7988
+ "class": bem$S("title", {
7954
7989
  disabled,
7955
7990
  expanded: expanded.value,
7956
7991
  borderless: !border
@@ -7963,11 +7998,11 @@ var stdin_default$$ = vue.defineComponent({
7963
7998
  var _a;
7964
7999
  return vue.withDirectives(vue.createVNode("div", {
7965
8000
  "ref": wrapperRef,
7966
- "class": bem$R("wrapper"),
8001
+ "class": bem$S("wrapper"),
7967
8002
  "onTransitionend": onTransitionEnd
7968
8003
  }, [vue.createVNode("div", {
7969
8004
  "ref": contentRef,
7970
- "class": bem$R("content")
8005
+ "class": bem$S("content")
7971
8006
  }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]), [[vue.vShow, show.value]]);
7972
8007
  });
7973
8008
  useExpose({
@@ -7976,15 +8011,15 @@ var stdin_default$$ = vue.defineComponent({
7976
8011
  itemName: name2
7977
8012
  });
7978
8013
  return () => vue.createVNode("div", {
7979
- "class": [bem$R({
8014
+ "class": [bem$S({
7980
8015
  border: index.value && props.border
7981
8016
  })]
7982
8017
  }, [renderTitle(), renderContent()]);
7983
8018
  }
7984
8019
  });
7985
- const CollapseItem = withInstall(stdin_default$$);
7986
- const ConfigProvider = withInstall(stdin_default$1M);
7987
- const [name$R, bem$Q, t$e] = createNamespace("contact-card");
8020
+ const CollapseItem = withInstall(stdin_default$10);
8021
+ const ConfigProvider = withInstall(stdin_default$1N);
8022
+ const [name$S, bem$R, t$e] = createNamespace("contact-card");
7988
8023
  const contactCardProps = {
7989
8024
  tel: String,
7990
8025
  name: String,
@@ -7992,8 +8027,8 @@ const contactCardProps = {
7992
8027
  addText: String,
7993
8028
  editable: truthProp
7994
8029
  };
7995
- var stdin_default$_ = vue.defineComponent({
7996
- name: name$R,
8030
+ var stdin_default$$ = vue.defineComponent({
8031
+ name: name$S,
7997
8032
  props: contactCardProps,
7998
8033
  emits: ["click"],
7999
8034
  setup(props, {
@@ -8013,18 +8048,18 @@ var stdin_default$_ = vue.defineComponent({
8013
8048
  return () => vue.createVNode(Cell, {
8014
8049
  "center": true,
8015
8050
  "icon": props.type === "edit" ? "contact" : "add-square",
8016
- "class": bem$Q([props.type]),
8051
+ "class": bem$R([props.type]),
8017
8052
  "border": false,
8018
8053
  "isLink": props.editable,
8019
- "titleClass": bem$Q("title"),
8054
+ "titleClass": bem$R("title"),
8020
8055
  "onClick": onClick
8021
8056
  }, {
8022
8057
  title: renderContent
8023
8058
  });
8024
8059
  }
8025
8060
  });
8026
- const ContactCard = withInstall(stdin_default$_);
8027
- const [name$Q, bem$P, t$d] = createNamespace("contact-edit");
8061
+ const ContactCard = withInstall(stdin_default$$);
8062
+ const [name$R, bem$Q, t$d] = createNamespace("contact-edit");
8028
8063
  const DEFAULT_CONTACT = {
8029
8064
  tel: "",
8030
8065
  name: ""
@@ -8044,8 +8079,8 @@ const contactEditProps = {
8044
8079
  default: isMobile
8045
8080
  }
8046
8081
  };
8047
- var stdin_default$Z = vue.defineComponent({
8048
- name: name$Q,
8082
+ var stdin_default$_ = vue.defineComponent({
8083
+ name: name$R,
8049
8084
  props: contactEditProps,
8050
8085
  emits: ["save", "delete", "changeDefault"],
8051
8086
  setup(props, {
@@ -8059,20 +8094,20 @@ var stdin_default$Z = vue.defineComponent({
8059
8094
  };
8060
8095
  const onDelete = () => emit("delete", contact);
8061
8096
  const renderButtons = () => vue.createVNode("div", {
8062
- "class": bem$P("buttons")
8097
+ "class": bem$Q("buttons")
8063
8098
  }, [vue.createVNode(Button, {
8064
8099
  "block": true,
8065
8100
  "round": true,
8066
8101
  "type": "primary",
8067
8102
  "text": t$d("save"),
8068
- "class": bem$P("button"),
8103
+ "class": bem$Q("button"),
8069
8104
  "loading": props.isSaving,
8070
8105
  "nativeType": "submit"
8071
8106
  }, null), props.isEdit && vue.createVNode(Button, {
8072
8107
  "block": true,
8073
8108
  "round": true,
8074
8109
  "text": t$d("delete"),
8075
- "class": bem$P("button"),
8110
+ "class": bem$Q("button"),
8076
8111
  "loading": props.isDeleting,
8077
8112
  "onClick": onDelete
8078
8113
  }, null)]);
@@ -8085,7 +8120,7 @@ var stdin_default$Z = vue.defineComponent({
8085
8120
  if (props.showSetDefault) {
8086
8121
  return vue.createVNode(Cell, {
8087
8122
  "title": props.setDefaultLabel,
8088
- "class": bem$P("switch-cell"),
8123
+ "class": bem$Q("switch-cell"),
8089
8124
  "border": false
8090
8125
  }, {
8091
8126
  "right-icon": renderSwitch
@@ -8094,11 +8129,11 @@ var stdin_default$Z = vue.defineComponent({
8094
8129
  };
8095
8130
  vue.watch(() => props.contactInfo, (value) => extend(contact, DEFAULT_CONTACT, value));
8096
8131
  return () => vue.createVNode(Form, {
8097
- "class": bem$P(),
8132
+ "class": bem$Q(),
8098
8133
  "onSubmit": onSave
8099
8134
  }, {
8100
8135
  default: () => [vue.createVNode("div", {
8101
- "class": bem$P("fields")
8136
+ "class": bem$Q("fields")
8102
8137
  }, [vue.createVNode(Field, {
8103
8138
  "modelValue": contact.name,
8104
8139
  "onUpdate:modelValue": ($event) => contact.name = $event,
@@ -8125,16 +8160,16 @@ var stdin_default$Z = vue.defineComponent({
8125
8160
  });
8126
8161
  }
8127
8162
  });
8128
- const ContactEdit = withInstall(stdin_default$Z);
8129
- const [name$P, bem$O, t$c] = createNamespace("contact-list");
8163
+ const ContactEdit = withInstall(stdin_default$_);
8164
+ const [name$Q, bem$P, t$c] = createNamespace("contact-list");
8130
8165
  const contactListProps = {
8131
8166
  list: Array,
8132
8167
  addText: String,
8133
8168
  modelValue: unknownProp,
8134
8169
  defaultTagText: String
8135
8170
  };
8136
- var stdin_default$Y = vue.defineComponent({
8137
- name: name$P,
8171
+ var stdin_default$Z = vue.defineComponent({
8172
+ name: name$Q,
8138
8173
  props: contactListProps,
8139
8174
  emits: ["add", "edit", "select", "update:modelValue"],
8140
8175
  setup(props, {
@@ -8146,13 +8181,13 @@ var stdin_default$Y = vue.defineComponent({
8146
8181
  emit("select", item, index);
8147
8182
  };
8148
8183
  const renderRightIcon = () => vue.createVNode(Radio, {
8149
- "class": bem$O("radio"),
8184
+ "class": bem$P("radio"),
8150
8185
  "name": item.id,
8151
8186
  "iconSize": 18
8152
8187
  }, null);
8153
8188
  const renderEditIcon = () => vue.createVNode(Icon, {
8154
8189
  "name": "edit",
8155
- "class": bem$O("edit"),
8190
+ "class": bem$P("edit"),
8156
8191
  "onClick": (event) => {
8157
8192
  event.stopPropagation();
8158
8193
  emit("edit", item, index);
@@ -8164,7 +8199,7 @@ var stdin_default$Y = vue.defineComponent({
8164
8199
  nodes.push(vue.createVNode(Tag, {
8165
8200
  "type": "primary",
8166
8201
  "round": true,
8167
- "class": bem$O("item-tag")
8202
+ "class": bem$P("item-tag")
8168
8203
  }, {
8169
8204
  default: () => [props.defaultTagText]
8170
8205
  }));
@@ -8175,8 +8210,8 @@ var stdin_default$Y = vue.defineComponent({
8175
8210
  "key": item.id,
8176
8211
  "isLink": true,
8177
8212
  "center": true,
8178
- "class": bem$O("item"),
8179
- "titleClass": bem$O("item-title"),
8213
+ "class": bem$P("item"),
8214
+ "titleClass": bem$P("item-title"),
8180
8215
  "onClick": onClick
8181
8216
  }, {
8182
8217
  icon: renderEditIcon,
@@ -8185,25 +8220,25 @@ var stdin_default$Y = vue.defineComponent({
8185
8220
  });
8186
8221
  };
8187
8222
  return () => vue.createVNode("div", {
8188
- "class": bem$O()
8223
+ "class": bem$P()
8189
8224
  }, [vue.createVNode(RadioGroup, {
8190
8225
  "modelValue": props.modelValue,
8191
- "class": bem$O("group")
8226
+ "class": bem$P("group")
8192
8227
  }, {
8193
8228
  default: () => [props.list && props.list.map(renderItem)]
8194
8229
  }), vue.createVNode("div", {
8195
- "class": [bem$O("bottom"), "van-safe-area-bottom"]
8230
+ "class": [bem$P("bottom"), "van-safe-area-bottom"]
8196
8231
  }, [vue.createVNode(Button, {
8197
8232
  "round": true,
8198
8233
  "block": true,
8199
8234
  "type": "primary",
8200
- "class": bem$O("add"),
8235
+ "class": bem$P("add"),
8201
8236
  "text": props.addText || t$c("addContact"),
8202
8237
  "onClick": () => emit("add")
8203
8238
  }, null)])]);
8204
8239
  }
8205
8240
  });
8206
- const ContactList = withInstall(stdin_default$Y);
8241
+ const ContactList = withInstall(stdin_default$Z);
8207
8242
  function parseFormat(format2, currentTime) {
8208
8243
  const { days } = currentTime;
8209
8244
  let { hours, minutes, seconds, milliseconds } = currentTime;
@@ -8239,15 +8274,15 @@ function parseFormat(format2, currentTime) {
8239
8274
  }
8240
8275
  return format2;
8241
8276
  }
8242
- const [name$O, bem$N] = createNamespace("count-down");
8277
+ const [name$P, bem$O] = createNamespace("count-down");
8243
8278
  const countDownProps = {
8244
8279
  time: makeNumericProp(0),
8245
8280
  format: makeStringProp("HH:mm:ss"),
8246
8281
  autoStart: truthProp,
8247
8282
  millisecond: Boolean
8248
8283
  };
8249
- var stdin_default$X = vue.defineComponent({
8250
- name: name$O,
8284
+ var stdin_default$Y = vue.defineComponent({
8285
+ name: name$P,
8251
8286
  props: countDownProps,
8252
8287
  emits: ["change", "finish"],
8253
8288
  setup(props, {
@@ -8282,11 +8317,11 @@ var stdin_default$X = vue.defineComponent({
8282
8317
  });
8283
8318
  return () => vue.createVNode("div", {
8284
8319
  "role": "timer",
8285
- "class": bem$N()
8320
+ "class": bem$O()
8286
8321
  }, [slots.default ? slots.default(current2.value) : timeText.value]);
8287
8322
  }
8288
8323
  });
8289
- const CountDown = withInstall(stdin_default$X);
8324
+ const CountDown = withInstall(stdin_default$Y);
8290
8325
  function getDate(timeStamp) {
8291
8326
  const date = new Date(timeStamp * 1e3);
8292
8327
  return `${date.getFullYear()}.${padZero(date.getMonth() + 1)}.${padZero(
@@ -8295,9 +8330,9 @@ function getDate(timeStamp) {
8295
8330
  }
8296
8331
  const formatDiscount = (discount) => (discount / 10).toFixed(discount % 10 === 0 ? 0 : 1);
8297
8332
  const formatAmount = (amount) => (amount / 100).toFixed(amount % 100 === 0 ? 0 : amount % 10 === 0 ? 1 : 2);
8298
- const [name$N, bem$M, t$b] = createNamespace("coupon");
8299
- var stdin_default$W = vue.defineComponent({
8300
- name: name$N,
8333
+ const [name$O, bem$N, t$b] = createNamespace("coupon");
8334
+ var stdin_default$X = vue.defineComponent({
8335
+ name: name$O,
8301
8336
  props: {
8302
8337
  chosen: Boolean,
8303
8338
  coupon: makeRequiredProp(Object),
@@ -8341,34 +8376,34 @@ var stdin_default$W = vue.defineComponent({
8341
8376
  } = props;
8342
8377
  const description = disabled && coupon.reason || coupon.description;
8343
8378
  return vue.createVNode("div", {
8344
- "class": bem$M({
8379
+ "class": bem$N({
8345
8380
  disabled
8346
8381
  })
8347
8382
  }, [vue.createVNode("div", {
8348
- "class": bem$M("content")
8383
+ "class": bem$N("content")
8349
8384
  }, [vue.createVNode("div", {
8350
- "class": bem$M("head")
8385
+ "class": bem$N("head")
8351
8386
  }, [vue.createVNode("h2", {
8352
- "class": bem$M("amount")
8387
+ "class": bem$N("amount")
8353
8388
  }, [faceAmount.value]), vue.createVNode("p", {
8354
- "class": bem$M("condition")
8389
+ "class": bem$N("condition")
8355
8390
  }, [coupon.condition || conditionMessage.value])]), vue.createVNode("div", {
8356
- "class": bem$M("body")
8391
+ "class": bem$N("body")
8357
8392
  }, [vue.createVNode("p", {
8358
- "class": bem$M("name")
8393
+ "class": bem$N("name")
8359
8394
  }, [coupon.name]), vue.createVNode("p", {
8360
- "class": bem$M("valid")
8395
+ "class": bem$N("valid")
8361
8396
  }, [validPeriod.value]), !disabled && vue.createVNode(Checkbox, {
8362
- "class": bem$M("corner"),
8397
+ "class": bem$N("corner"),
8363
8398
  "modelValue": chosen
8364
8399
  }, null)])]), description && vue.createVNode("p", {
8365
- "class": bem$M("description")
8400
+ "class": bem$N("description")
8366
8401
  }, [description])]);
8367
8402
  };
8368
8403
  }
8369
8404
  });
8370
- const Coupon = withInstall(stdin_default$W);
8371
- const [name$M, bem$L, t$a] = createNamespace("coupon-cell");
8405
+ const Coupon = withInstall(stdin_default$X);
8406
+ const [name$N, bem$M, t$a] = createNamespace("coupon-cell");
8372
8407
  const couponCellProps = {
8373
8408
  title: String,
8374
8409
  border: truthProp,
@@ -8396,34 +8431,34 @@ function formatValue({
8396
8431
  }
8397
8432
  return coupons.length === 0 ? t$a("noCoupon") : t$a("count", coupons.length);
8398
8433
  }
8399
- var stdin_default$V = vue.defineComponent({
8400
- name: name$M,
8434
+ var stdin_default$W = vue.defineComponent({
8435
+ name: name$N,
8401
8436
  props: couponCellProps,
8402
8437
  setup(props) {
8403
8438
  return () => {
8404
8439
  const selected = props.coupons[+props.chosenCoupon];
8405
8440
  return vue.createVNode(Cell, {
8406
- "class": bem$L(),
8441
+ "class": bem$M(),
8407
8442
  "value": formatValue(props),
8408
8443
  "title": props.title || t$a("title"),
8409
8444
  "border": props.border,
8410
8445
  "isLink": props.editable,
8411
- "valueClass": bem$L("value", {
8446
+ "valueClass": bem$M("value", {
8412
8447
  selected
8413
8448
  })
8414
8449
  }, null);
8415
8450
  };
8416
8451
  }
8417
8452
  });
8418
- const CouponCell = withInstall(stdin_default$V);
8419
- const [name$L, bem$K] = createNamespace("empty");
8453
+ const CouponCell = withInstall(stdin_default$W);
8454
+ const [name$M, bem$L] = createNamespace("empty");
8420
8455
  const emptyProps = {
8421
8456
  image: makeStringProp("default"),
8422
8457
  imageSize: [Number, String, Array],
8423
8458
  description: String
8424
8459
  };
8425
- var stdin_default$U = vue.defineComponent({
8426
- name: name$L,
8460
+ var stdin_default$V = vue.defineComponent({
8461
+ name: name$M,
8427
8462
  props: emptyProps,
8428
8463
  setup(props, {
8429
8464
  slots
@@ -8432,14 +8467,14 @@ var stdin_default$U = vue.defineComponent({
8432
8467
  const description = slots.description ? slots.description() : props.description;
8433
8468
  if (description) {
8434
8469
  return vue.createVNode("p", {
8435
- "class": bem$K("description")
8470
+ "class": bem$L("description")
8436
8471
  }, [description]);
8437
8472
  }
8438
8473
  };
8439
8474
  const renderBottom = () => {
8440
8475
  if (slots.default) {
8441
8476
  return vue.createVNode("div", {
8442
- "class": bem$K("bottom")
8477
+ "class": bem$L("bottom")
8443
8478
  }, [slots.default()]);
8444
8479
  }
8445
8480
  };
@@ -8724,15 +8759,15 @@ var stdin_default$U = vue.defineComponent({
8724
8759
  }, null);
8725
8760
  };
8726
8761
  return () => vue.createVNode("div", {
8727
- "class": bem$K()
8762
+ "class": bem$L()
8728
8763
  }, [vue.createVNode("div", {
8729
- "class": bem$K("image"),
8764
+ "class": bem$L("image"),
8730
8765
  "style": getSizeStyle(props.imageSize)
8731
8766
  }, [renderImage()]), renderDescription(), renderBottom()]);
8732
8767
  }
8733
8768
  });
8734
- const Empty = withInstall(stdin_default$U);
8735
- const [name$K, bem$J, t$9] = createNamespace("coupon-list");
8769
+ const Empty = withInstall(stdin_default$V);
8770
+ const [name$L, bem$K, t$9] = createNamespace("coupon-list");
8736
8771
  const couponListProps = {
8737
8772
  code: makeStringProp(""),
8738
8773
  coupons: makeArrayProp(),
@@ -8753,8 +8788,8 @@ const couponListProps = {
8753
8788
  exchangeButtonLoading: Boolean,
8754
8789
  exchangeButtonDisabled: Boolean
8755
8790
  };
8756
- var stdin_default$T = vue.defineComponent({
8757
- name: name$K,
8791
+ var stdin_default$U = vue.defineComponent({
8792
+ name: name$L,
8758
8793
  props: couponListProps,
8759
8794
  emits: ["change", "exchange", "update:code"],
8760
8795
  setup(props, {
@@ -8772,7 +8807,7 @@ var stdin_default$T = vue.defineComponent({
8772
8807
  const TABS_HEIGHT = 44;
8773
8808
  const rootHeight = use.useRect(root).height;
8774
8809
  const headerHeight = use.useRect(barRef).height + TABS_HEIGHT;
8775
- listHeight.value = (rootHeight > headerHeight ? rootHeight : windowHeight.value) - headerHeight;
8810
+ listHeight.value = (rootHeight > headerHeight ? rootHeight : windowHeight$1.value) - headerHeight;
8776
8811
  };
8777
8812
  const onExchange = () => {
8778
8813
  emit("exchange", currentCode.value);
@@ -8790,26 +8825,26 @@ var stdin_default$T = vue.defineComponent({
8790
8825
  "image": props.emptyImage
8791
8826
  }, {
8792
8827
  default: () => [vue.createVNode("p", {
8793
- "class": bem$J("empty-tip")
8828
+ "class": bem$K("empty-tip")
8794
8829
  }, [t$9("noCoupon")])]
8795
8830
  });
8796
8831
  const renderExchangeBar = () => {
8797
8832
  if (props.showExchangeBar) {
8798
8833
  return vue.createVNode("div", {
8799
8834
  "ref": barRef,
8800
- "class": bem$J("exchange-bar")
8835
+ "class": bem$K("exchange-bar")
8801
8836
  }, [vue.createVNode(Field, {
8802
8837
  "modelValue": currentCode.value,
8803
8838
  "onUpdate:modelValue": ($event) => currentCode.value = $event,
8804
8839
  "clearable": true,
8805
8840
  "border": false,
8806
- "class": bem$J("field"),
8841
+ "class": bem$K("field"),
8807
8842
  "placeholder": props.inputPlaceholder || t$9("placeholder"),
8808
8843
  "maxlength": "20"
8809
8844
  }, null), vue.createVNode(Button, {
8810
8845
  "plain": true,
8811
8846
  "type": "primary",
8812
- "class": bem$J("exchange"),
8847
+ "class": bem$K("exchange"),
8813
8848
  "text": props.exchangeButtonText || t$9("exchange"),
8814
8849
  "loading": props.exchangeButtonLoading,
8815
8850
  "disabled": buttonDisabled.value,
@@ -8829,7 +8864,7 @@ var stdin_default$T = vue.defineComponent({
8829
8864
  default: () => {
8830
8865
  var _a;
8831
8866
  return [vue.createVNode("div", {
8832
- "class": bem$J("list", {
8867
+ "class": bem$K("list", {
8833
8868
  "with-bottom": props.showCloseButton
8834
8869
  }),
8835
8870
  "style": {
@@ -8858,7 +8893,7 @@ var stdin_default$T = vue.defineComponent({
8858
8893
  default: () => {
8859
8894
  var _a;
8860
8895
  return [vue.createVNode("div", {
8861
- "class": bem$J("list", {
8896
+ "class": bem$K("list", {
8862
8897
  "with-bottom": props.showCloseButton
8863
8898
  }),
8864
8899
  "style": {
@@ -8876,7 +8911,7 @@ var stdin_default$T = vue.defineComponent({
8876
8911
  vue.watch(() => props.code, (value) => {
8877
8912
  currentCode.value = value;
8878
8913
  });
8879
- vue.watch(windowHeight, updateListHeight);
8914
+ vue.watch(windowHeight$1, updateListHeight);
8880
8915
  vue.watch(currentCode, (value) => emit("update:code", value));
8881
8916
  vue.watch(() => props.displayedCouponIndex, scrollToCoupon);
8882
8917
  vue.onMounted(() => {
@@ -8885,28 +8920,28 @@ var stdin_default$T = vue.defineComponent({
8885
8920
  });
8886
8921
  return () => vue.createVNode("div", {
8887
8922
  "ref": root,
8888
- "class": bem$J()
8923
+ "class": bem$K()
8889
8924
  }, [renderExchangeBar(), vue.createVNode(Tabs, {
8890
8925
  "active": activeTab.value,
8891
8926
  "onUpdate:active": ($event) => activeTab.value = $event,
8892
- "class": bem$J("tab")
8927
+ "class": bem$K("tab")
8893
8928
  }, {
8894
8929
  default: () => [renderCouponTab(), renderDisabledTab()]
8895
8930
  }), vue.createVNode("div", {
8896
- "class": bem$J("bottom")
8931
+ "class": bem$K("bottom")
8897
8932
  }, [vue.withDirectives(vue.createVNode(Button, {
8898
8933
  "round": true,
8899
8934
  "block": true,
8900
8935
  "type": "primary",
8901
- "class": bem$J("close"),
8936
+ "class": bem$K("close"),
8902
8937
  "text": props.closeButtonText || t$9("close"),
8903
8938
  "onClick": () => emit("change", -1)
8904
8939
  }, null), [[vue.vShow, props.showCloseButton]])])]);
8905
8940
  }
8906
8941
  });
8907
- const CouponList = withInstall(stdin_default$T);
8942
+ const CouponList = withInstall(stdin_default$U);
8908
8943
  const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
8909
- const [name$J] = createNamespace("date-picker");
8944
+ const [name$K] = createNamespace("date-picker");
8910
8945
  const datePickerProps = extend({}, sharedProps, {
8911
8946
  columnsType: {
8912
8947
  type: Array,
@@ -8923,8 +8958,8 @@ const datePickerProps = extend({}, sharedProps, {
8923
8958
  validator: isDate
8924
8959
  }
8925
8960
  });
8926
- var stdin_default$S = vue.defineComponent({
8927
- name: name$J,
8961
+ var stdin_default$T = vue.defineComponent({
8962
+ name: name$K,
8928
8963
  props: datePickerProps,
8929
8964
  emits: ["confirm", "cancel", "change", "update:modelValue"],
8930
8965
  setup(props, {
@@ -9017,8 +9052,8 @@ var stdin_default$S = vue.defineComponent({
9017
9052
  }, pick(props, pickerInheritKeys)), slots);
9018
9053
  }
9019
9054
  });
9020
- const DatePicker = withInstall(stdin_default$S);
9021
- const [name$I, bem$I, t$8] = createNamespace("dialog");
9055
+ const DatePicker = withInstall(stdin_default$T);
9056
+ const [name$J, bem$J, t$8] = createNamespace("dialog");
9022
9057
  const dialogProps = extend({}, popupSharedProps, {
9023
9058
  title: String,
9024
9059
  theme: String,
@@ -9041,8 +9076,8 @@ const dialogProps = extend({}, popupSharedProps, {
9041
9076
  closeOnClickOverlay: Boolean
9042
9077
  });
9043
9078
  const popupInheritKeys$1 = [...popupSharedPropKeys, "transition", "closeOnPopstate"];
9044
- var stdin_default$R = vue.defineComponent({
9045
- name: name$I,
9079
+ var stdin_default$S = vue.defineComponent({
9080
+ name: name$J,
9046
9081
  props: dialogProps,
9047
9082
  emits: ["confirm", "cancel", "keydown", "update:show"],
9048
9083
  setup(props, {
@@ -9099,7 +9134,7 @@ var stdin_default$R = vue.defineComponent({
9099
9134
  const title = slots.title ? slots.title() : props.title;
9100
9135
  if (title) {
9101
9136
  return vue.createVNode("div", {
9102
- "class": bem$I("header", {
9137
+ "class": bem$J("header", {
9103
9138
  isolated: !props.message && !slots.default
9104
9139
  })
9105
9140
  }, [title]);
@@ -9111,7 +9146,7 @@ var stdin_default$R = vue.defineComponent({
9111
9146
  allowHtml,
9112
9147
  messageAlign
9113
9148
  } = props;
9114
- const classNames = bem$I("message", {
9149
+ const classNames = bem$J("message", {
9115
9150
  "has-title": hasTitle,
9116
9151
  [messageAlign]: messageAlign
9117
9152
  });
@@ -9129,7 +9164,7 @@ var stdin_default$R = vue.defineComponent({
9129
9164
  const renderContent = () => {
9130
9165
  if (slots.default) {
9131
9166
  return vue.createVNode("div", {
9132
- "class": bem$I("content")
9167
+ "class": bem$J("content")
9133
9168
  }, [slots.default()]);
9134
9169
  }
9135
9170
  const {
@@ -9141,18 +9176,18 @@ var stdin_default$R = vue.defineComponent({
9141
9176
  const hasTitle = !!(title || slots.title);
9142
9177
  return vue.createVNode("div", {
9143
9178
  "key": allowHtml ? 1 : 0,
9144
- "class": bem$I("content", {
9179
+ "class": bem$J("content", {
9145
9180
  isolated: !hasTitle
9146
9181
  })
9147
9182
  }, [renderMessage(hasTitle)]);
9148
9183
  }
9149
9184
  };
9150
9185
  const renderButtons = () => vue.createVNode("div", {
9151
- "class": [BORDER_TOP, bem$I("footer")]
9186
+ "class": [BORDER_TOP, bem$J("footer")]
9152
9187
  }, [props.showCancelButton && vue.createVNode(Button, {
9153
9188
  "size": "large",
9154
9189
  "text": props.cancelButtonText || t$8("cancel"),
9155
- "class": bem$I("cancel"),
9190
+ "class": bem$J("cancel"),
9156
9191
  "style": {
9157
9192
  color: props.cancelButtonColor
9158
9193
  },
@@ -9162,7 +9197,7 @@ var stdin_default$R = vue.defineComponent({
9162
9197
  }, null), props.showConfirmButton && vue.createVNode(Button, {
9163
9198
  "size": "large",
9164
9199
  "text": props.confirmButtonText || t$8("confirm"),
9165
- "class": [bem$I("confirm"), {
9200
+ "class": [bem$J("confirm"), {
9166
9201
  [BORDER_LEFT]: props.showCancelButton
9167
9202
  }],
9168
9203
  "style": {
@@ -9173,12 +9208,12 @@ var stdin_default$R = vue.defineComponent({
9173
9208
  "onClick": onConfirm
9174
9209
  }, null)]);
9175
9210
  const renderRoundButtons = () => vue.createVNode(ActionBar, {
9176
- "class": bem$I("footer")
9211
+ "class": bem$J("footer")
9177
9212
  }, {
9178
9213
  default: () => [props.showCancelButton && vue.createVNode(ActionBarButton, {
9179
9214
  "type": "warning",
9180
9215
  "text": props.cancelButtonText || t$8("cancel"),
9181
- "class": bem$I("cancel"),
9216
+ "class": bem$J("cancel"),
9182
9217
  "color": props.cancelButtonColor,
9183
9218
  "loading": loading.cancel,
9184
9219
  "disabled": props.cancelButtonDisabled,
@@ -9186,7 +9221,7 @@ var stdin_default$R = vue.defineComponent({
9186
9221
  }, null), props.showConfirmButton && vue.createVNode(ActionBarButton, {
9187
9222
  "type": "danger",
9188
9223
  "text": props.confirmButtonText || t$8("confirm"),
9189
- "class": bem$I("confirm"),
9224
+ "class": bem$J("confirm"),
9190
9225
  "color": props.confirmButtonColor,
9191
9226
  "loading": loading.confirm,
9192
9227
  "disabled": props.confirmButtonDisabled,
@@ -9210,7 +9245,7 @@ var stdin_default$R = vue.defineComponent({
9210
9245
  return vue.createVNode(Popup, vue.mergeProps({
9211
9246
  "ref": root,
9212
9247
  "role": "dialog",
9213
- "class": [bem$I([theme]), className],
9248
+ "class": [bem$J([theme]), className],
9214
9249
  "style": {
9215
9250
  width: addUnit(width)
9216
9251
  },
@@ -9260,7 +9295,7 @@ function initInstance$2() {
9260
9295
  state,
9261
9296
  toggle
9262
9297
  } = usePopupState();
9263
- return () => vue.createVNode(stdin_default$R, vue.mergeProps(state, {
9298
+ return () => vue.createVNode(stdin_default$S, vue.mergeProps(state, {
9264
9299
  "onUpdate:show": toggle
9265
9300
  }), null);
9266
9301
  }
@@ -9298,16 +9333,16 @@ const closeDialog = () => {
9298
9333
  instance$2.toggle(false);
9299
9334
  }
9300
9335
  };
9301
- const Dialog = withInstall(stdin_default$R);
9302
- const [name$H, bem$H] = createNamespace("divider");
9336
+ const Dialog = withInstall(stdin_default$S);
9337
+ const [name$I, bem$I] = createNamespace("divider");
9303
9338
  const dividerProps = {
9304
9339
  dashed: Boolean,
9305
9340
  hairline: truthProp,
9306
9341
  vertical: Boolean,
9307
9342
  contentPosition: makeStringProp("center")
9308
9343
  };
9309
- var stdin_default$Q = vue.defineComponent({
9310
- name: name$H,
9344
+ var stdin_default$R = vue.defineComponent({
9345
+ name: name$I,
9311
9346
  props: dividerProps,
9312
9347
  setup(props, {
9313
9348
  slots
@@ -9316,7 +9351,7 @@ var stdin_default$Q = vue.defineComponent({
9316
9351
  var _a;
9317
9352
  return vue.createVNode("div", {
9318
9353
  "role": "separator",
9319
- "class": bem$H({
9354
+ "class": bem$I({
9320
9355
  dashed: props.dashed,
9321
9356
  hairline: props.hairline,
9322
9357
  vertical: props.vertical,
@@ -9326,8 +9361,8 @@ var stdin_default$Q = vue.defineComponent({
9326
9361
  };
9327
9362
  }
9328
9363
  });
9329
- const Divider = withInstall(stdin_default$Q);
9330
- const [name$G, bem$G] = createNamespace("dropdown-menu");
9364
+ const Divider = withInstall(stdin_default$R);
9365
+ const [name$H, bem$H] = createNamespace("dropdown-menu");
9331
9366
  const dropdownMenuProps = {
9332
9367
  overlay: truthProp,
9333
9368
  zIndex: numericProp,
@@ -9337,9 +9372,9 @@ const dropdownMenuProps = {
9337
9372
  closeOnClickOutside: truthProp,
9338
9373
  closeOnClickOverlay: truthProp
9339
9374
  };
9340
- const DROPDOWN_KEY = Symbol(name$G);
9341
- var stdin_default$P = vue.defineComponent({
9342
- name: name$G,
9375
+ const DROPDOWN_KEY = Symbol(name$H);
9376
+ var stdin_default$Q = vue.defineComponent({
9377
+ name: name$H,
9343
9378
  props: dropdownMenuProps,
9344
9379
  setup(props, {
9345
9380
  slots
@@ -9361,11 +9396,14 @@ var stdin_default$P = vue.defineComponent({
9361
9396
  };
9362
9397
  }
9363
9398
  });
9399
+ const close = () => {
9400
+ children.forEach((item) => {
9401
+ item.toggle(false);
9402
+ });
9403
+ };
9364
9404
  const onClickAway = () => {
9365
9405
  if (props.closeOnClickOutside) {
9366
- children.forEach((item) => {
9367
- item.toggle(false);
9368
- });
9406
+ close();
9369
9407
  }
9370
9408
  };
9371
9409
  const updateOffset = () => {
@@ -9374,7 +9412,7 @@ var stdin_default$P = vue.defineComponent({
9374
9412
  if (props.direction === "down") {
9375
9413
  offset.value = rect.bottom;
9376
9414
  } else {
9377
- offset.value = windowHeight.value - rect.top;
9415
+ offset.value = windowHeight$1.value - rect.top;
9378
9416
  }
9379
9417
  }
9380
9418
  };
@@ -9406,7 +9444,7 @@ var stdin_default$P = vue.defineComponent({
9406
9444
  "id": `${id}-${index}`,
9407
9445
  "role": "button",
9408
9446
  "tabindex": disabled ? void 0 : 0,
9409
- "class": [bem$G("item", {
9447
+ "class": [bem$H("item", {
9410
9448
  disabled
9411
9449
  }), {
9412
9450
  [HAPTICS_FEEDBACK]: !disabled
@@ -9417,7 +9455,7 @@ var stdin_default$P = vue.defineComponent({
9417
9455
  }
9418
9456
  }
9419
9457
  }, [vue.createVNode("span", {
9420
- "class": [bem$G("title", {
9458
+ "class": [bem$H("title", {
9421
9459
  down: showPopup === (props.direction === "down"),
9422
9460
  active: showPopup
9423
9461
  }), titleClass],
@@ -9428,6 +9466,9 @@ var stdin_default$P = vue.defineComponent({
9428
9466
  "class": "van-ellipsis"
9429
9467
  }, [item.renderTitle()])])]);
9430
9468
  };
9469
+ useExpose({
9470
+ close
9471
+ });
9431
9472
  linkChildren({
9432
9473
  id,
9433
9474
  props,
@@ -9443,18 +9484,18 @@ var stdin_default$P = vue.defineComponent({
9443
9484
  var _a;
9444
9485
  return vue.createVNode("div", {
9445
9486
  "ref": root,
9446
- "class": bem$G()
9487
+ "class": bem$H()
9447
9488
  }, [vue.createVNode("div", {
9448
9489
  "ref": barRef,
9449
9490
  "style": barStyle.value,
9450
- "class": bem$G("bar", {
9491
+ "class": bem$H("bar", {
9451
9492
  opened: opened.value
9452
9493
  })
9453
9494
  }, [children.map(renderTitle)]), (_a = slots.default) == null ? void 0 : _a.call(slots)]);
9454
9495
  };
9455
9496
  }
9456
9497
  });
9457
- const [name$F, bem$F] = createNamespace("dropdown-item");
9498
+ const [name$G, bem$G] = createNamespace("dropdown-item");
9458
9499
  const dropdownItemProps = {
9459
9500
  title: String,
9460
9501
  options: makeArrayProp(),
@@ -9464,8 +9505,8 @@ const dropdownItemProps = {
9464
9505
  modelValue: unknownProp,
9465
9506
  titleClass: unknownProp
9466
9507
  };
9467
- var stdin_default$O = vue.defineComponent({
9468
- name: name$F,
9508
+ var stdin_default$P = vue.defineComponent({
9509
+ name: name$G,
9469
9510
  inheritAttrs: false,
9470
9511
  props: dropdownItemProps,
9471
9512
  emits: ["open", "opened", "close", "closed", "change", "update:modelValue"],
@@ -9538,7 +9579,7 @@ var stdin_default$O = vue.defineComponent({
9538
9579
  const renderIcon = () => {
9539
9580
  if (active) {
9540
9581
  return vue.createVNode(Icon, {
9541
- "class": bem$F("icon"),
9582
+ "class": bem$G("icon"),
9542
9583
  "color": activeColor,
9543
9584
  "name": "success"
9544
9585
  }, null);
@@ -9549,7 +9590,7 @@ var stdin_default$O = vue.defineComponent({
9549
9590
  "key": option.value,
9550
9591
  "icon": option.icon,
9551
9592
  "title": option.text,
9552
- "class": bem$F("option", {
9593
+ "class": bem$G("option", {
9553
9594
  active
9554
9595
  }),
9555
9596
  "style": {
@@ -9581,13 +9622,13 @@ var stdin_default$O = vue.defineComponent({
9581
9622
  }
9582
9623
  return vue.withDirectives(vue.createVNode("div", vue.mergeProps({
9583
9624
  "style": style,
9584
- "class": bem$F([direction]),
9625
+ "class": bem$G([direction]),
9585
9626
  "onClick": onClickWrapper
9586
9627
  }, attrs), [vue.createVNode(Popup, {
9587
9628
  "show": state.showPopup,
9588
9629
  "onUpdate:show": ($event) => state.showPopup = $event,
9589
9630
  "role": "menu",
9590
- "class": bem$F("content"),
9631
+ "class": bem$G("content"),
9591
9632
  "overlay": overlay,
9592
9633
  "position": direction === "down" ? "top" : "bottom",
9593
9634
  "duration": state.transition ? duration : 0,
@@ -9625,8 +9666,124 @@ var stdin_default$O = vue.defineComponent({
9625
9666
  };
9626
9667
  }
9627
9668
  });
9628
- const DropdownItem = withInstall(stdin_default$O);
9629
- const DropdownMenu = withInstall(stdin_default$P);
9669
+ const DropdownItem = withInstall(stdin_default$P);
9670
+ const DropdownMenu = withInstall(stdin_default$Q);
9671
+ const {
9672
+ height: windowHeight
9673
+ } = use.useWindowSize();
9674
+ const floatingPanelProps = {
9675
+ height: makeNumericProp(0),
9676
+ anchors: makeArrayProp(),
9677
+ duration: makeNumericProp(0.2),
9678
+ contentDraggable: truthProp,
9679
+ safeAreaInsetBottom: truthProp
9680
+ };
9681
+ const [name$F, bem$F] = createNamespace("floating-panel");
9682
+ const DAMP = 0.2;
9683
+ var stdin_default$O = vue.defineComponent({
9684
+ name: name$F,
9685
+ props: floatingPanelProps,
9686
+ emits: ["heightChange", "update:height"],
9687
+ setup(props, {
9688
+ emit,
9689
+ slots
9690
+ }) {
9691
+ const rootRef = vue.ref();
9692
+ const contentRef = vue.ref();
9693
+ const height = useSyncPropRef(() => +props.height, (value) => emit("update:height", value));
9694
+ const boundary = vue.computed(() => {
9695
+ var _a, _b;
9696
+ return {
9697
+ min: (_a = props.anchors[0]) != null ? _a : 100,
9698
+ max: (_b = props.anchors[props.anchors.length - 1]) != null ? _b : Math.round(windowHeight.value * 0.6)
9699
+ };
9700
+ });
9701
+ const anchors = vue.computed(() => props.anchors.length >= 2 ? props.anchors : [boundary.value.min, boundary.value.max]);
9702
+ const dragging = vue.ref(false);
9703
+ const rootStyle = vue.computed(() => ({
9704
+ height: addUnit(boundary.value.max),
9705
+ transform: `translateY(calc(100% + ${addUnit(-height.value)}))`,
9706
+ transition: !dragging.value ? `transform ${props.duration}s` : "none"
9707
+ }));
9708
+ const ease = (moveY) => {
9709
+ const absDistance = Math.abs(moveY);
9710
+ const {
9711
+ min,
9712
+ max
9713
+ } = boundary.value;
9714
+ if (absDistance > max) {
9715
+ return -(max + (absDistance - max) * DAMP);
9716
+ }
9717
+ if (absDistance < min) {
9718
+ return -(min - (min - absDistance) * DAMP);
9719
+ }
9720
+ return moveY;
9721
+ };
9722
+ const closest = (arr, target) => arr.reduce((pre, cur) => Math.abs(pre - target) < Math.abs(cur - target) ? pre : cur);
9723
+ let startY;
9724
+ const touch = useTouch();
9725
+ const onTouchstart = (e) => {
9726
+ touch.start(e);
9727
+ dragging.value = true;
9728
+ startY = -height.value;
9729
+ };
9730
+ const onTouchmove = (e) => {
9731
+ var _a;
9732
+ touch.move(e);
9733
+ const target = e.target;
9734
+ if (contentRef.value === target || ((_a = contentRef.value) == null ? void 0 : _a.contains(target))) {
9735
+ if (!props.contentDraggable)
9736
+ return;
9737
+ if (-startY < boundary.value.max) {
9738
+ if (e.cancelable)
9739
+ e.preventDefault();
9740
+ e.stopPropagation();
9741
+ } else if (!(contentRef.value.scrollTop <= 0 && touch.deltaY.value > 0)) {
9742
+ return;
9743
+ }
9744
+ }
9745
+ const moveY = touch.deltaY.value + startY;
9746
+ height.value = -ease(moveY);
9747
+ };
9748
+ const onTouchend = () => {
9749
+ dragging.value = false;
9750
+ height.value = closest(anchors.value, height.value);
9751
+ if (height.value !== -startY) {
9752
+ emit("heightChange", {
9753
+ height: height.value
9754
+ });
9755
+ }
9756
+ };
9757
+ vue.watch(boundary, () => {
9758
+ height.value = closest(anchors.value, height.value);
9759
+ }, {
9760
+ immediate: true
9761
+ });
9762
+ useLockScroll(rootRef, () => true);
9763
+ return () => {
9764
+ var _a;
9765
+ return vue.createVNode("div", {
9766
+ "class": [bem$F(), {
9767
+ "van-safe-area-bottom": props.safeAreaInsetBottom
9768
+ }],
9769
+ "ref": rootRef,
9770
+ "style": rootStyle.value,
9771
+ "onTouchstartPassive": onTouchstart,
9772
+ "onTouchmove": onTouchmove,
9773
+ "onTouchend": onTouchend,
9774
+ "onTouchcancel": onTouchend
9775
+ }, [vue.createVNode("div", {
9776
+ "class": bem$F("header")
9777
+ }, [vue.createVNode("div", {
9778
+ "class": bem$F("header-bar")
9779
+ }, null)]), vue.createVNode("div", {
9780
+ "class": bem$F("content"),
9781
+ "ref": contentRef
9782
+ }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]);
9783
+ };
9784
+ }
9785
+ });
9786
+ const FloatingPanel = withInstall(stdin_default$O);
9630
9787
  const [name$E, bem$E] = createNamespace("grid");
9631
9788
  const gridProps = {
9632
9789
  square: Boolean,
@@ -9830,6 +9987,7 @@ var stdin_default$L = vue.defineComponent({
9830
9987
  moveY: 0,
9831
9988
  moving: false,
9832
9989
  zooming: false,
9990
+ initializing: false,
9833
9991
  imageRatio: 0
9834
9992
  });
9835
9993
  const touch = useTouch();
@@ -9844,10 +10002,11 @@ var stdin_default$L = vue.defineComponent({
9844
10002
  moveX,
9845
10003
  moveY,
9846
10004
  moving,
9847
- zooming
10005
+ zooming,
10006
+ initializing
9848
10007
  } = state;
9849
10008
  const style = {
9850
- transitionDuration: zooming || moving ? "0s" : ".3s"
10009
+ transitionDuration: zooming || moving || initializing ? "0s" : ".3s"
9851
10010
  };
9852
10011
  if (scale !== 1 || isLongImage.value) {
9853
10012
  style.transform = `matrix(${scale}, 0, 0, ${scale}, ${moveX}, ${moveY})`;
@@ -10047,6 +10206,10 @@ var stdin_default$L = vue.defineComponent({
10047
10206
  if (isLongImage.value) {
10048
10207
  initialMoveY = (imageRatio * rootWidth - rootHeight) / 2;
10049
10208
  state.moveY = initialMoveY;
10209
+ state.initializing = true;
10210
+ use.raf(() => {
10211
+ state.initializing = false;
10212
+ });
10050
10213
  }
10051
10214
  resetScale();
10052
10215
  };
@@ -10235,7 +10398,7 @@ var stdin_default$K = vue.defineComponent({
10235
10398
  swipeTo
10236
10399
  });
10237
10400
  vue.onMounted(resize);
10238
- vue.watch([windowWidth, windowHeight], resize);
10401
+ vue.watch([windowWidth, windowHeight$1], resize);
10239
10402
  vue.watch(() => props.startPosition, (value) => setActive(+value));
10240
10403
  vue.watch(() => props.show, (value) => {
10241
10404
  const {
@@ -11619,7 +11782,7 @@ var stdin_default$A = vue.defineComponent({
11619
11782
  }
11620
11783
  });
11621
11784
  const PasswordInput = withInstall(stdin_default$A);
11622
- const PickerGroup = withInstall(stdin_default$1v);
11785
+ const PickerGroup = withInstall(stdin_default$1w);
11623
11786
  const [name$r, bem$q] = createNamespace("popover");
11624
11787
  const popupProps = ["overlay", "duration", "teleport", "overlayStyle", "overlayClass", "closeOnClickOverlay"];
11625
11788
  const popoverProps = {
@@ -11627,6 +11790,7 @@ const popoverProps = {
11627
11790
  theme: makeStringProp("light"),
11628
11791
  overlay: Boolean,
11629
11792
  actions: makeArrayProp(),
11793
+ actionsDirection: makeStringProp("vertical"),
11630
11794
  trigger: makeStringProp("click"),
11631
11795
  duration: numericProp,
11632
11796
  showArrow: truthProp,
@@ -11730,7 +11894,9 @@ var stdin_default$z = vue.defineComponent({
11730
11894
  "classPrefix": props.iconPrefix,
11731
11895
  "class": bem$q("action-icon")
11732
11896
  }, null), vue.createVNode("div", {
11733
- "class": [bem$q("action-text"), BORDER_BOTTOM]
11897
+ "class": [bem$q("action-text"), {
11898
+ [BORDER_BOTTOM]: props.actionsDirection === "vertical"
11899
+ }]
11734
11900
  }, [action.text])];
11735
11901
  };
11736
11902
  const renderAction = (action, index) => {
@@ -11745,7 +11911,9 @@ var stdin_default$z = vue.defineComponent({
11745
11911
  "class": [bem$q("action", {
11746
11912
  disabled,
11747
11913
  "with-icon": icon
11748
- }), className],
11914
+ }), {
11915
+ [BORDER_RIGHT]: props.actionsDirection === "horizontal"
11916
+ }, className],
11749
11917
  "style": {
11750
11918
  color
11751
11919
  },
@@ -11794,7 +11962,7 @@ var stdin_default$z = vue.defineComponent({
11794
11962
  "class": bem$q("arrow")
11795
11963
  }, null), vue.createVNode("div", {
11796
11964
  "role": "menu",
11797
- "class": bem$q("content")
11965
+ "class": bem$q("content", props.actionsDirection)
11798
11966
  }, [slots.default ? slots.default() : props.actions.map(renderAction)])]
11799
11967
  })]);
11800
11968
  };
@@ -12267,7 +12435,7 @@ var stdin_default$w = vue.defineComponent({
12267
12435
  }
12268
12436
  });
12269
12437
  const Rate = withInstall(stdin_default$w);
12270
- const Row = withInstall(stdin_default$12);
12438
+ const Row = withInstall(stdin_default$13);
12271
12439
  const [name$n, bem$m, t$4] = createNamespace("search");
12272
12440
  const searchProps = extend({}, fieldSharedProps, {
12273
12441
  label: String,
@@ -12981,6 +13149,14 @@ var stdin_default$i = vue.defineComponent({
12981
13149
  const diff = Math.round((value - min) / step) * step;
12982
13150
  return addNumber(min, diff);
12983
13151
  };
13152
+ const updateStartValue = () => {
13153
+ const current22 = props.modelValue;
13154
+ if (isRange(current22)) {
13155
+ startValue = current22.map(format2);
13156
+ } else {
13157
+ startValue = format2(current22);
13158
+ }
13159
+ };
12984
13160
  const handleRangeValue = (value) => {
12985
13161
  var _a, _b;
12986
13162
  const left = (_a = value[0]) != null ? _a : Number(props.min);
@@ -13005,6 +13181,7 @@ var stdin_default$i = vue.defineComponent({
13005
13181
  if (props.disabled || props.readonly) {
13006
13182
  return;
13007
13183
  }
13184
+ updateStartValue();
13008
13185
  const {
13009
13186
  min,
13010
13187
  reverse,
@@ -13044,11 +13221,7 @@ var stdin_default$i = vue.defineComponent({
13044
13221
  }
13045
13222
  touch.start(event);
13046
13223
  current2 = props.modelValue;
13047
- if (isRange(current2)) {
13048
- startValue = current2.map(format2);
13049
- } else {
13050
- startValue = format2(current2);
13051
- }
13224
+ updateStartValue();
13052
13225
  dragStatus.value = "start";
13053
13226
  };
13054
13227
  const onTouchMove = (event) => {
@@ -13094,17 +13267,25 @@ var stdin_default$i = vue.defineComponent({
13094
13267
  return bem$c("button-wrapper", props.reverse ? "left" : "right");
13095
13268
  };
13096
13269
  const renderButtonContent = (value, index) => {
13270
+ const dragging = dragStatus.value === "dragging";
13097
13271
  if (typeof index === "number") {
13098
13272
  const slot = slots[index === 0 ? "left-button" : "right-button"];
13273
+ let dragIndex;
13274
+ if (dragging && Array.isArray(current2)) {
13275
+ dragIndex = current2[0] > current2[1] ? buttonIndex ^ 1 : buttonIndex;
13276
+ }
13099
13277
  if (slot) {
13100
13278
  return slot({
13101
- value
13279
+ value,
13280
+ dragging,
13281
+ dragIndex
13102
13282
  });
13103
13283
  }
13104
13284
  }
13105
13285
  if (slots.button) {
13106
13286
  return slots.button({
13107
- value
13287
+ value,
13288
+ dragging
13108
13289
  });
13109
13290
  }
13110
13291
  return vue.createVNode("div", {
@@ -14180,6 +14361,8 @@ var stdin_default$9 = vue.defineComponent({
14180
14361
  });
14181
14362
  const TextEllipsis = withInstall(stdin_default$9);
14182
14363
  const [name$3] = createNamespace("time-picker");
14364
+ const validateTime = (val) => /^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/.test(val);
14365
+ const fullColumns = ["hour", "minute", "second"];
14183
14366
  const timePickerProps = extend({}, sharedProps, {
14184
14367
  minHour: makeNumericProp(0),
14185
14368
  maxHour: makeNumericProp(23),
@@ -14187,10 +14370,19 @@ const timePickerProps = extend({}, sharedProps, {
14187
14370
  maxMinute: makeNumericProp(59),
14188
14371
  minSecond: makeNumericProp(0),
14189
14372
  maxSecond: makeNumericProp(59),
14373
+ minTime: {
14374
+ type: String,
14375
+ validator: validateTime
14376
+ },
14377
+ maxTime: {
14378
+ type: String,
14379
+ validator: validateTime
14380
+ },
14190
14381
  columnsType: {
14191
14382
  type: Array,
14192
14383
  default: () => ["hour", "minute"]
14193
- }
14384
+ },
14385
+ filter: Function
14194
14386
  });
14195
14387
  var stdin_default$8 = vue.defineComponent({
14196
14388
  name: name$3,
@@ -14201,25 +14393,66 @@ var stdin_default$8 = vue.defineComponent({
14201
14393
  slots
14202
14394
  }) {
14203
14395
  const currentValues = vue.ref(props.modelValue);
14204
- const columns = vue.computed(() => props.columnsType.map((type) => {
14205
- const {
14206
- filter,
14207
- formatter
14396
+ const getValidTime = (time) => {
14397
+ const timeLimitArr = time.split(":");
14398
+ return fullColumns.map((col, i) => props.columnsType.includes(col) ? timeLimitArr[i] : "00");
14399
+ };
14400
+ const columns = vue.computed(() => {
14401
+ let {
14402
+ minHour,
14403
+ maxHour,
14404
+ minMinute,
14405
+ maxMinute,
14406
+ minSecond,
14407
+ maxSecond
14208
14408
  } = props;
14209
- switch (type) {
14210
- case "hour":
14211
- return genOptions(+props.minHour, +props.maxHour, type, formatter, filter);
14212
- case "minute":
14213
- return genOptions(+props.minMinute, +props.maxMinute, type, formatter, filter);
14214
- case "second":
14215
- return genOptions(+props.minSecond, +props.maxSecond, type, formatter, filter);
14216
- default:
14217
- if (process.env.NODE_ENV !== "production") {
14218
- throw new Error(`[Vant] DatePicker: unsupported columns type: ${type}`);
14219
- }
14220
- return [];
14221
- }
14222
- }));
14409
+ if (props.minTime || props.maxTime) {
14410
+ const fullTime = {
14411
+ hour: 0,
14412
+ minute: 0,
14413
+ second: 0
14414
+ };
14415
+ props.columnsType.forEach((col, i) => {
14416
+ var _a;
14417
+ fullTime[col] = (_a = currentValues.value[i]) != null ? _a : 0;
14418
+ });
14419
+ const {
14420
+ hour,
14421
+ minute
14422
+ } = fullTime;
14423
+ if (props.minTime) {
14424
+ const [minH, minM, minS] = getValidTime(props.minTime);
14425
+ minHour = minH;
14426
+ minMinute = +hour <= +minHour ? minM : "00";
14427
+ minSecond = +hour <= +minHour && +minute <= +minMinute ? minS : "00";
14428
+ }
14429
+ if (props.maxTime) {
14430
+ const [maxH, maxM, maxS] = getValidTime(props.maxTime);
14431
+ maxHour = maxH;
14432
+ maxMinute = +hour >= +maxHour ? maxM : "59";
14433
+ maxSecond = +hour >= +maxHour && +minute >= +maxMinute ? maxS : "59";
14434
+ }
14435
+ }
14436
+ return props.columnsType.map((type) => {
14437
+ const {
14438
+ filter,
14439
+ formatter
14440
+ } = props;
14441
+ switch (type) {
14442
+ case "hour":
14443
+ return genOptions(+minHour, +maxHour, type, formatter, filter, currentValues.value);
14444
+ case "minute":
14445
+ return genOptions(+minMinute, +maxMinute, type, formatter, filter, currentValues.value);
14446
+ case "second":
14447
+ return genOptions(+minSecond, +maxSecond, type, formatter, filter, currentValues.value);
14448
+ default:
14449
+ if (process.env.NODE_ENV !== "production") {
14450
+ throw new Error(`[Vant] DatePicker: unsupported columns type: ${type}`);
14451
+ }
14452
+ return [];
14453
+ }
14454
+ });
14455
+ });
14223
14456
  vue.watch(currentValues, (newValues) => {
14224
14457
  if (!isSameValue(newValues, props.modelValue)) {
14225
14458
  emit("update:modelValue", newValues);
@@ -15775,7 +16008,7 @@ const Lazyload = {
15775
16008
  });
15776
16009
  }
15777
16010
  };
15778
- const version = "4.4.0";
16011
+ const version = "4.5.0";
15779
16012
  function install(app) {
15780
16013
  const components = [
15781
16014
  ActionBar,
@@ -15815,6 +16048,7 @@ function install(app) {
15815
16048
  DropdownMenu,
15816
16049
  Empty,
15817
16050
  Field,
16051
+ FloatingPanel,
15818
16052
  Form,
15819
16053
  Grid,
15820
16054
  GridItem,
@@ -15926,6 +16160,7 @@ exports.DropdownItem = DropdownItem;
15926
16160
  exports.DropdownMenu = DropdownMenu;
15927
16161
  exports.Empty = Empty;
15928
16162
  exports.Field = Field;
16163
+ exports.FloatingPanel = FloatingPanel;
15929
16164
  exports.Form = Form;
15930
16165
  exports.Grid = Grid;
15931
16166
  exports.GridItem = GridItem;