@nutui/nutui 4.0.0-beta.6 → 4.0.0-beta.8

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 (312) hide show
  1. package/dist/nutui.es.js +223 -102
  2. package/dist/nutui.umd.cjs +138 -225
  3. package/dist/packages/_es/ActionSheet.js +3 -8
  4. package/dist/packages/_es/Address.js +4 -9
  5. package/dist/packages/_es/AddressList.js +3 -8
  6. package/dist/packages/_es/Animate.js +2 -7
  7. package/dist/packages/_es/Audio.js +4 -9
  8. package/dist/packages/_es/AudioOperate.js +2 -7
  9. package/dist/packages/_es/Avatar.js +2 -7
  10. package/dist/packages/_es/AvatarGroup.js +2 -7
  11. package/dist/packages/_es/Backtop.js +3 -8
  12. package/dist/packages/_es/Badge.js +2 -7
  13. package/dist/packages/_es/Barrage.js +17 -34
  14. package/dist/packages/_es/Button.js +2 -7
  15. package/dist/packages/_es/Calendar.js +6 -11
  16. package/dist/packages/_es/CalendarItem.js +5 -10
  17. package/dist/packages/_es/Card.js +3 -8
  18. package/dist/packages/_es/Cascader.js +8 -14
  19. package/dist/packages/_es/Category.js +2 -7
  20. package/dist/packages/_es/CategoryPane.js +2 -7
  21. package/dist/packages/_es/Cell.js +4 -9
  22. package/dist/packages/_es/CellGroup.js +2 -7
  23. package/dist/packages/_es/Checkbox.js +2 -7
  24. package/dist/packages/_es/CheckboxGroup.js +2 -7
  25. package/dist/packages/_es/CircleProgress.js +2 -7
  26. package/dist/packages/_es/Col.js +2 -7
  27. package/dist/packages/_es/Collapse.js +2 -7
  28. package/dist/packages/_es/CollapseItem.js +3 -8
  29. package/dist/packages/_es/Comment.js +5 -10
  30. package/dist/packages/_es/ConfigProvider.js +1 -6
  31. package/dist/packages/_es/Countdown.js +2 -7
  32. package/dist/packages/_es/Countup.js +2 -7
  33. package/dist/packages/_es/DatePicker.js +4 -9
  34. package/dist/packages/_es/Dialog.js +5 -10
  35. package/dist/packages/_es/Divider.js +2 -7
  36. package/dist/packages/_es/Drag.js +3 -8
  37. package/dist/packages/_es/Ecard.js +3 -8
  38. package/dist/packages/_es/Elevator.js +3 -8
  39. package/dist/packages/_es/Ellipsis.js +2 -7
  40. package/dist/packages/_es/Empty.js +2 -7
  41. package/dist/packages/_es/FixedNav.js +2 -7
  42. package/dist/packages/_es/Form.js +2 -7
  43. package/dist/packages/_es/FormItem.js +4 -9
  44. package/dist/packages/_es/Grid.js +3 -8
  45. package/dist/packages/_es/GridItem.js +5 -10
  46. package/dist/packages/_es/Image.js +3 -8
  47. package/dist/packages/_es/ImagePreview.js +13 -19
  48. package/dist/packages/_es/Indicator.js +2 -7
  49. package/dist/packages/_es/InfiniteLoading.js +4 -9
  50. package/dist/packages/_es/Input.js +2 -7
  51. package/dist/packages/_es/InputNumber.js +3 -8
  52. package/dist/packages/_es/Invoice.js +6 -11
  53. package/dist/packages/_es/Layout.js +1 -6
  54. package/dist/packages/_es/List.js +2 -7
  55. package/dist/packages/_es/Loading-5f2ef345.js +59 -0
  56. package/dist/packages/_es/Loading-ff1ade5e.js +59 -0
  57. package/dist/packages/_es/Menu.js +3 -8
  58. package/dist/packages/_es/MenuItem.js +3 -8
  59. package/dist/packages/_es/Navbar.js +2 -7
  60. package/dist/packages/_es/Noticebar.js +4 -9
  61. package/dist/packages/_es/Notify.js +5 -8
  62. package/dist/packages/_es/NumberKeyboard.js +3 -8
  63. package/dist/packages/_es/Overlay.js +2 -7
  64. package/dist/packages/_es/Pagination.js +2 -7
  65. package/dist/packages/_es/Picker.js +4 -9
  66. package/dist/packages/_es/Popover.js +5 -10
  67. package/dist/packages/_es/Popup.js +3 -8
  68. package/dist/packages/_es/Price.js +2 -7
  69. package/dist/packages/_es/Progress.js +2 -7
  70. package/dist/packages/_es/PullRefresh.js +5 -10
  71. package/dist/packages/_es/Radio.js +3 -8
  72. package/dist/packages/_es/RadioGroup.js +2 -7
  73. package/dist/packages/_es/Range.js +4 -9
  74. package/dist/packages/_es/Rate.js +5 -10
  75. package/dist/packages/_es/Row.js +2 -7
  76. package/dist/packages/_es/Searchbar.js +3 -8
  77. package/dist/packages/_es/ShortPassword.js +3 -8
  78. package/dist/packages/_es/SideNavbar.js +2 -7
  79. package/dist/packages/_es/SideNavbarItem.js +2 -7
  80. package/dist/packages/_es/Signature.js +2 -7
  81. package/dist/packages/_es/Skeleton.js +2 -7
  82. package/dist/packages/_es/Sku.js +4 -9
  83. package/dist/packages/_es/Step.js +2 -7
  84. package/dist/packages/_es/Steps.js +1 -6
  85. package/dist/packages/_es/Sticky.js +3 -8
  86. package/dist/packages/_es/SubSideNavbar.js +2 -7
  87. package/dist/packages/_es/Swipe.js +3 -8
  88. package/dist/packages/_es/Swiper.js +58 -121
  89. package/dist/packages/_es/SwiperItem.js +3 -8
  90. package/dist/packages/_es/Switch.js +3 -8
  91. package/dist/packages/_es/TabPane.js +2 -7
  92. package/dist/packages/_es/Tabbar.js +2 -7
  93. package/dist/packages/_es/TabbarItem.js +5 -10
  94. package/dist/packages/_es/Table.js +2 -7
  95. package/dist/packages/_es/Tabs.js +5 -10
  96. package/dist/packages/_es/Tag.js +2 -7
  97. package/dist/packages/_es/Textarea.js +2 -7
  98. package/dist/packages/_es/TimeDetail.js +2 -7
  99. package/dist/packages/_es/TimePannel.js +2 -7
  100. package/dist/packages/_es/TimeSelect.js +3 -8
  101. package/dist/packages/_es/Toast.js +5 -10
  102. package/dist/packages/_es/Tour.js +5 -10
  103. package/dist/packages/_es/TrendArrow.js +2 -7
  104. package/dist/packages/_es/Uploader.js +3 -8
  105. package/dist/packages/_es/Video.js +2 -7
  106. package/dist/packages/_es/Watermark.js +2 -7
  107. package/dist/packages/_es/{_plugin-vue_export-helper-f84579cd.js → _plugin-vue_export-helper-214bd398.js} +1 -1
  108. package/dist/packages/_es/_plugin-vue_export-helper-3119770d.js +15 -0
  109. package/dist/packages/_es/_plugin-vue_export-helper-40ecb205.js +15 -0
  110. package/dist/packages/_es/_plugin-vue_export-helper-cabb815c.js +15 -0
  111. package/dist/packages/_es/_plugin-vue_export-helper-cc2b3d55.js +10 -0
  112. package/dist/packages/_es/{common-8e13240b.js → common-1144cf18.js} +3 -3
  113. package/dist/packages/_es/common-33d6538d.js +142 -0
  114. package/dist/packages/_es/common-38afc79e.js +142 -0
  115. package/dist/packages/_es/common-ceb98554.js +137 -0
  116. package/dist/packages/_es/common-fcbd940e.js +142 -0
  117. package/dist/packages/_es/{component-2bf83b98.js → component-555f9132.js} +1 -1
  118. package/dist/packages/_es/component-81a4c1d0.js +145 -0
  119. package/dist/packages/_es/component-93f40b7f.js +144 -0
  120. package/dist/packages/_es/component-cb778481.js +150 -0
  121. package/dist/packages/_es/component-f9e4b05e.js +144 -0
  122. package/dist/packages/_es/{index-99be5adc.js → index-122e380e.js} +1 -1
  123. package/dist/packages/_es/{index-c2175b7b.js → index-15d5ca2c.js} +1 -1
  124. package/dist/packages/_es/index-16f572cc.js +52 -0
  125. package/dist/packages/_es/{index-97b8ae5b.js → index-18e7c77e.js} +1 -1
  126. package/dist/packages/_es/index-22af3a75.js +35 -0
  127. package/dist/packages/_es/index-29892cda.js +33 -0
  128. package/dist/packages/_es/{index-175ca86c.js → index-2d3e73a7.js} +3 -3
  129. package/dist/packages/_es/index-350a8abd.js +809 -0
  130. package/dist/packages/_es/index-375f2695.js +15 -0
  131. package/dist/packages/_es/index-43c34ac6.js +30 -0
  132. package/dist/packages/_es/index-54d03fc1.js +8 -0
  133. package/dist/packages/_es/{index-da641709.js → index-57aa518c.js} +1 -1
  134. package/dist/packages/_es/{index-63fdf6d9.js → index-65e55319.js} +1 -1
  135. package/dist/packages/_es/index-673e467d.js +72 -0
  136. package/dist/packages/_es/index-69b79b10.js +52 -0
  137. package/dist/packages/_es/index-7386d8ea.js +35 -0
  138. package/dist/packages/_es/index-75be4de5.js +72 -0
  139. package/dist/packages/_es/{index-3e3fbad2.js → index-7653e348.js} +5 -5
  140. package/dist/packages/_es/index-79c5dc33.js +10 -0
  141. package/dist/packages/_es/index-7a7385e4.js +67 -0
  142. package/dist/packages/_es/index-83f367f2.js +15 -0
  143. package/dist/packages/_es/index-a0ae7438.js +72 -0
  144. package/dist/packages/_es/index-abb46652.js +13 -0
  145. package/dist/packages/_es/index-bd90ef5b.js +38 -0
  146. package/dist/packages/_es/index-da7aa231.js +234 -0
  147. package/dist/packages/_es/index-dd23f7fc.js +35 -0
  148. package/dist/packages/_es/index-ec1281d1.js +15 -0
  149. package/dist/packages/_es/index-ee55d99f.js +814 -0
  150. package/dist/packages/_es/index-f9640059.js +239 -0
  151. package/dist/packages/_es/index.taro-15624a72.js +833 -0
  152. package/dist/packages/_es/index.taro-2ce92fc8.js +76 -0
  153. package/dist/packages/_es/index.taro-356b6989.js +238 -0
  154. package/dist/packages/_es/index.taro-5564033f.js +833 -0
  155. package/dist/packages/_es/index.taro-be0723aa.js +76 -0
  156. package/dist/packages/_es/index.taro-da1bc684.js +238 -0
  157. package/dist/packages/_es/index.taro.vue_vue_type_script_lang-5696dfc0.js +102 -0
  158. package/dist/packages/_es/index.taro.vue_vue_type_script_lang-5b67ab83.js +102 -0
  159. package/dist/packages/_es/index.vue_vue_type_script_lang-1291fceb.js +45 -0
  160. package/dist/packages/_es/{index.vue_vue_type_script_lang-1721812a.js → index.vue_vue_type_script_lang-164ba0ab.js} +3 -3
  161. package/dist/packages/_es/{index.vue_vue_type_script_lang-33f247fa.js → index.vue_vue_type_script_lang-1c056efc.js} +3 -3
  162. package/dist/packages/_es/{index.vue_vue_type_script_lang-85ad5ab4.js → index.vue_vue_type_script_lang-2c5dd6ac.js} +2 -2
  163. package/dist/packages/_es/index.vue_vue_type_script_lang-3bc78a6d.js +156 -0
  164. package/dist/packages/_es/index.vue_vue_type_script_lang-630bc089.js +50 -0
  165. package/dist/packages/_es/index.vue_vue_type_script_lang-ba9e696d.js +50 -0
  166. package/dist/packages/_es/index.vue_vue_type_script_lang-cab1cdc4.js +102 -0
  167. package/dist/packages/_es/index.vue_vue_type_script_lang-cc5c4086.js +151 -0
  168. package/dist/packages/_es/index.vue_vue_type_script_lang-d4c88f85.js +97 -0
  169. package/dist/packages/_es/index.vue_vue_type_script_lang-f91aa3ff.js +50 -0
  170. package/dist/packages/_es/{interceptor-92c6157e.js → interceptor-5d3d8b0a.js} +2 -2
  171. package/dist/packages/_es/interceptor-956b24fc.js +29 -0
  172. package/dist/packages/_es/interceptor-bf7033c2.js +34 -0
  173. package/dist/packages/_es/interceptor-ccd1403c.js +34 -0
  174. package/dist/packages/_es/interceptor-dbee5851.js +34 -0
  175. package/dist/packages/_es/{mountComponent-b7bd982c.js → mountComponent-1316c4a2.js} +2 -2
  176. package/dist/packages/_es/mountComponent-1ece4110.js +39 -0
  177. package/dist/packages/_es/mountComponent-3f8ea19f.js +44 -0
  178. package/dist/packages/_es/{pxCheck-f4ea5980.js → pxCheck-110c0d58.js} +1 -1
  179. package/dist/packages/_es/pxCheck-42d1a00f.js +11 -0
  180. package/dist/packages/_es/pxCheck-62a0c829.js +11 -0
  181. package/dist/packages/_es/pxCheck-70f351cb.js +11 -0
  182. package/dist/packages/_es/pxCheck-c6b9f6b7.js +6 -0
  183. package/dist/packages/_es/{raf-9ea18668.js → raf-182636f4.js} +1 -1
  184. package/dist/packages/_es/raf-2ee3bcbb.js +30 -0
  185. package/dist/packages/_es/raf-6ea498df.js +21 -0
  186. package/dist/packages/_es/raf-729dad54.js +25 -0
  187. package/dist/packages/_es/raf-8518c796.js +21 -0
  188. package/dist/packages/_es/{renderIcon-e359b85f.js → renderIcon-0d8f6335.js} +1 -1
  189. package/dist/packages/_es/renderIcon-1be33355.js +14 -0
  190. package/dist/packages/_es/renderIcon-3d0fd47c.js +9 -0
  191. package/dist/packages/_es/renderIcon-ba0fcba3.js +14 -0
  192. package/dist/packages/_es/renderIcon-bde9e715.js +14 -0
  193. package/dist/packages/_es/style_icon-299fd467.js +6 -0
  194. package/dist/packages/_es/style_icon-8872f331.js +6 -0
  195. package/dist/packages/barrage/index.scss +17 -1
  196. package/dist/packages/cell/index.scss +3 -1
  197. package/dist/packages/locale/lang/baseLang-0bdc6353.js +5 -0
  198. package/dist/packages/locale/lang/{baseLang-b64fda03.js → baseLang-0e7bcba4.js} +1 -1
  199. package/dist/packages/locale/lang/baseLang-5db74119.js +10 -0
  200. package/dist/packages/locale/lang/baseLang-6070c617.js +10 -0
  201. package/dist/packages/locale/lang/baseLang-8d65df5e.js +10 -0
  202. package/dist/packages/locale/lang/en-US.js +1 -6
  203. package/dist/packages/locale/lang/id-ID.js +1 -6
  204. package/dist/packages/locale/lang/index.js +1 -6
  205. package/dist/packages/locale/lang/zh-CN.js +1 -6
  206. package/dist/packages/locale/lang/zh-TW.js +1 -6
  207. package/dist/packages/popover/index.scss +1 -1
  208. package/dist/packages/pullrefresh/index.scss +3 -2
  209. package/dist/smartips/attributes.json +19 -15
  210. package/dist/smartips/tags.json +3 -2
  211. package/dist/smartips/web-types.json +32 -23
  212. package/dist/style.css +1 -1
  213. package/dist/styles/themes/default.scss +59 -59
  214. package/dist/styles/themes/jdb.scss +59 -59
  215. package/dist/styles/themes/jddkh.scss +59 -59
  216. package/dist/styles/themes/jdt.scss +59 -59
  217. package/dist/types/__VUE/actionsheet/index.taro.vue.d.ts +292 -0
  218. package/dist/types/__VUE/address/index.taro.vue.d.ts +377 -0
  219. package/dist/types/__VUE/addresslist/index.taro.vue.d.ts +83 -0
  220. package/dist/types/__VUE/animate/index.taro.vue.d.ts +54 -0
  221. package/dist/types/__VUE/avatar/index.taro.vue.d.ts +76 -0
  222. package/dist/types/__VUE/avatargroup/index.taro.vue.d.ts +92 -0
  223. package/dist/types/__VUE/backtop/index.taro.vue.d.ts +76 -0
  224. package/dist/types/__VUE/badge/index.taro.vue.d.ts +93 -0
  225. package/dist/types/__VUE/barrage/index.taro.vue.d.ts +81 -0
  226. package/dist/types/__VUE/barrage/index.vue.d.ts +0 -1
  227. package/dist/types/__VUE/button/index.taro.vue.d.ts +117 -0
  228. package/dist/types/__VUE/calendar/index.taro.vue.d.ts +187 -0
  229. package/dist/types/__VUE/calendaritem/index.taro.vue.d.ts +217 -0
  230. package/dist/types/__VUE/card/index.taro.vue.d.ts +89 -0
  231. package/dist/types/__VUE/cascader/cascader-item.taro.vue.d.ts +77 -0
  232. package/dist/types/__VUE/cascader/index.taro.vue.d.ts +245 -0
  233. package/dist/types/__VUE/category/index.taro.vue.d.ts +42 -0
  234. package/dist/types/__VUE/categorypane/index.taro.vue.d.ts +54 -0
  235. package/dist/types/__VUE/cell/index.taro.vue.d.ts +124 -0
  236. package/dist/types/__VUE/checkbox/index.taro.vue.d.ts +12 -0
  237. package/dist/types/__VUE/circleprogress/index.taro.vue.d.ts +93 -0
  238. package/dist/types/__VUE/collapse/index.taro.vue.d.ts +38 -0
  239. package/dist/types/__VUE/collapseitem/index.taro.vue.d.ts +111 -0
  240. package/dist/types/__VUE/comment/index.taro.vue.d.ts +119 -0
  241. package/dist/types/__VUE/configprovider/index.taro.vue.d.ts +45 -0
  242. package/dist/types/__VUE/countdown/index.taro.vue.d.ts +103 -0
  243. package/dist/types/__VUE/countup/index.taro.vue.d.ts +213 -0
  244. package/dist/types/__VUE/datepicker/index.taro.vue.d.ts +232 -0
  245. package/dist/types/__VUE/dialog/index.taro.vue.d.ts +327 -0
  246. package/dist/types/__VUE/divider/index.taro.vue.d.ts +53 -0
  247. package/dist/types/__VUE/drag/index.taro.vue.d.ts +62 -0
  248. package/dist/types/__VUE/ecard/index.taro.vue.d.ts +128 -0
  249. package/dist/types/__VUE/elevator/index.taro.vue.d.ts +119 -0
  250. package/dist/types/__VUE/ellipsis/index.taro.vue.d.ts +103 -0
  251. package/dist/types/__VUE/empty/index.taro.vue.d.ts +46 -0
  252. package/dist/types/__VUE/fixednav/index.taro.vue.d.ts +105 -0
  253. package/dist/types/__VUE/form/index.taro.vue.d.ts +40 -0
  254. package/dist/types/__VUE/formitem/index.taro.vue.d.ts +114 -0
  255. package/dist/types/__VUE/grid/index.taro.vue.d.ts +84 -0
  256. package/dist/types/__VUE/griditem/index.taro.vue.d.ts +22 -0
  257. package/dist/types/__VUE/icon/index.taro.vue.d.ts +12 -0
  258. package/dist/types/__VUE/image/index.taro.vue.d.ts +32 -0
  259. package/dist/types/__VUE/imagepreview/index.taro.vue.d.ts +172 -0
  260. package/dist/types/__VUE/imagepreview/index.vue.d.ts +0 -9
  261. package/dist/types/__VUE/indicator/index.taro.vue.d.ts +70 -0
  262. package/dist/types/__VUE/input/index.taro.vue.d.ts +257 -0
  263. package/dist/types/__VUE/inputnumber/index.taro.vue.d.ts +116 -0
  264. package/dist/types/__VUE/invoice/index.taro.vue.d.ts +52 -0
  265. package/dist/types/__VUE/layout/index.taro.vue.d.ts +12 -0
  266. package/dist/types/__VUE/list/index.taro.vue.d.ts +58 -0
  267. package/dist/types/__VUE/menu/index.taro.vue.d.ts +93 -0
  268. package/dist/types/__VUE/menuitem/index.taro.vue.d.ts +89 -0
  269. package/dist/types/__VUE/navbar/index.taro.vue.d.ts +121 -0
  270. package/dist/types/__VUE/noticebar/index.taro.vue.d.ts +217 -0
  271. package/dist/types/__VUE/notify/index.taro.vue.d.ts +97 -0
  272. package/dist/types/__VUE/numberkeyboard/index.taro.vue.d.ts +132 -0
  273. package/dist/types/__VUE/overlay/index.taro.vue.d.ts +85 -0
  274. package/dist/types/__VUE/pagination/index.taro.vue.d.ts +111 -0
  275. package/dist/types/__VUE/picker/index.taro.vue.d.ts +14 -0
  276. package/dist/types/__VUE/popover/index.taro.vue.d.ts +201 -0
  277. package/dist/types/__VUE/popup/index.taro.vue.d.ts +201 -0
  278. package/dist/types/__VUE/price/index.taro.vue.d.ts +87 -0
  279. package/dist/types/__VUE/progress/index.taro.vue.d.ts +128 -0
  280. package/dist/types/__VUE/radio/index.taro.vue.d.ts +53 -0
  281. package/dist/types/__VUE/range/index.taro.vue.d.ts +158 -0
  282. package/dist/types/__VUE/rate/index.taro.vue.d.ts +124 -0
  283. package/dist/types/__VUE/scrollView/index.taro.vue.d.ts +14 -0
  284. package/dist/types/__VUE/searchbar/index.taro.vue.d.ts +177 -0
  285. package/dist/types/__VUE/shortpassword/index.taro.vue.d.ts +103 -0
  286. package/dist/types/__VUE/sidenavbar/index.taro.vue.d.ts +31 -0
  287. package/dist/types/__VUE/signature/index.taro.vue.d.ts +83 -0
  288. package/dist/types/__VUE/skeleton/index.taro.vue.d.ts +115 -0
  289. package/dist/types/__VUE/sku/index.taro.vue.d.ts +182 -0
  290. package/dist/types/__VUE/steps/index.taro.vue.d.ts +46 -0
  291. package/dist/types/__VUE/sticky/index.taro.vue.d.ts +47 -0
  292. package/dist/types/__VUE/swipe/index.taro.vue.d.ts +71 -0
  293. package/dist/types/__VUE/swiper/index.taro.vue.d.ts +176 -0
  294. package/dist/types/__VUE/swiper/index.vue.d.ts +8 -7
  295. package/dist/types/__VUE/swiperitem/index.taro.vue.d.ts +18 -0
  296. package/dist/types/__VUE/switch/index.taro.vue.d.ts +108 -0
  297. package/dist/types/__VUE/tabbar/index.taro.vue.d.ts +93 -0
  298. package/dist/types/__VUE/tabbaritem/index.taro.vue.d.ts +59 -0
  299. package/dist/types/__VUE/table/index.taro.vue.d.ts +78 -0
  300. package/dist/types/__VUE/tabs/index.taro.vue.d.ts +164 -0
  301. package/dist/types/__VUE/tag/index.taro.vue.d.ts +90 -0
  302. package/dist/types/__VUE/textarea/index.taro.vue.d.ts +122 -0
  303. package/dist/types/__VUE/timedetail/index.taro.vue.d.ts +47 -0
  304. package/dist/types/__VUE/timepannel/index.taro.vue.d.ts +42 -0
  305. package/dist/types/__VUE/timeselect/index.taro.vue.d.ts +91 -0
  306. package/dist/types/__VUE/toast/index.taro.vue.d.ts +184 -0
  307. package/dist/types/__VUE/tour/index.taro.vue.d.ts +192 -0
  308. package/dist/types/__VUE/trendarrow/index.taro.vue.d.ts +105 -0
  309. package/dist/types/__VUE/uploader/index.taro.vue.d.ts +260 -0
  310. package/dist/types/__VUE/watermark/index.taro.vue.d.ts +175 -0
  311. package/dist/types/index.d.ts +1 -1
  312. package/package.json +5 -46
@@ -4,11 +4,6 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- /*!
8
- * @nutui/nutui v4.0.0-beta.6 Thu Dec 29 2022 12:45:01 GMT+0800 (中国标准时间)
9
- * (c) 2022 @jdf2e.
10
- * Released under the MIT License.
11
- */
12
7
  (function(global, factory) {
13
8
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue"), require("@nutui/icons-vue")) : typeof define === "function" && define.amd ? define(["exports", "vue", "@nutui/icons-vue"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.nutui = {}, global.Vue, global.iconsVue));
14
9
  })(this, function(exports2, vue, iconsVue) {
@@ -125,7 +120,6 @@ var __publicField = (obj, key, value) => {
125
120
  });
126
121
  }
127
122
  };
128
- const ZhCNLang = Lang$1;
129
123
  class Lang extends BaseLang {
130
124
  constructor() {
131
125
  super(...arguments);
@@ -236,7 +230,6 @@ var __publicField = (obj, key, value) => {
236
230
  });
237
231
  }
238
232
  }
239
- const EnUSLang = Lang;
240
233
  const funInterceptor = (interceptor, {
241
234
  args = [],
242
235
  done,
@@ -376,8 +369,8 @@ var __publicField = (obj, key, value) => {
376
369
  return window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
377
370
  };
378
371
  const langs = vue.reactive({
379
- "zh-CN": new ZhCNLang(),
380
- "en-US": new EnUSLang()
372
+ "zh-CN": new Lang$1(),
373
+ "en-US": new Lang()
381
374
  });
382
375
  class Locale {
383
376
  static languages() {
@@ -400,13 +393,12 @@ var __publicField = (obj, key, value) => {
400
393
  }
401
394
  }
402
395
  __publicField(Locale, "currentLang", vue.ref("zh-CN"));
403
- const Locale$1 = Locale;
404
396
  function createComponent(name) {
405
397
  const componentName2 = "nut-" + name;
406
398
  return {
407
399
  componentName: componentName2,
408
400
  translate(keyPath, ...args) {
409
- const languages = Locale$1.languages();
401
+ const languages = Locale.languages();
410
402
  const text = getPropByPath(languages, `${name.replace("-", "")}.${keyPath}`) || getPropByPath(languages, keyPath);
411
403
  return isFunction(text) ? text(...args) : text;
412
404
  },
@@ -3774,7 +3766,7 @@ var __publicField = (obj, key, value) => {
3774
3766
  }
3775
3767
  return "";
3776
3768
  }
3777
- function useTouch$1() {
3769
+ function useTouch() {
3778
3770
  const startX = vue.ref(0);
3779
3771
  const startY = vue.ref(0);
3780
3772
  const moveX = vue.ref(0);
@@ -3878,7 +3870,7 @@ var __publicField = (obj, key, value) => {
3878
3870
  let currentValue;
3879
3871
  const root = vue.ref();
3880
3872
  const dragStatus = vue.ref();
3881
- const touch = useTouch$1();
3873
+ const touch = useTouch();
3882
3874
  const marksList = vue.computed(() => {
3883
3875
  const { marks, max, min } = props;
3884
3876
  const marksKeys = Object.keys(marks);
@@ -4601,7 +4593,6 @@ var __publicField = (obj, key, value) => {
4601
4593
  return Array.isArray(children) && Boolean(children.length);
4602
4594
  }
4603
4595
  }
4604
- const Tree$1 = Tree;
4605
4596
  const { create: create$1j, translate: translate$q } = createComponent("cascader-item");
4606
4597
  const _sfc_main$1j = create$1j({
4607
4598
  components: {
@@ -4646,7 +4637,7 @@ var __publicField = (obj, key, value) => {
4646
4637
  const tabsCursor = vue.ref(0);
4647
4638
  const initLoading = vue.ref(false);
4648
4639
  const innerValue = vue.ref(props.modelValue);
4649
- const tree = vue.ref(new Tree$1([], {}));
4640
+ const tree = vue.ref(new Tree([], {}));
4650
4641
  const panes = vue.ref([]);
4651
4642
  const isLazy = vue.computed(() => configs.value.lazy && Boolean(configs.value.lazyLoad));
4652
4643
  const lazyLoadMap = /* @__PURE__ */ new Map();
@@ -4661,7 +4652,7 @@ var __publicField = (obj, key, value) => {
4661
4652
  if (configs.value.convertConfig) {
4662
4653
  options = convertListToOptions(options, configs.value.convertConfig);
4663
4654
  }
4664
- tree.value = new Tree$1(options, {
4655
+ tree.value = new Tree(options, {
4665
4656
  value: configs.value.valueKey,
4666
4657
  text: configs.value.textKey,
4667
4658
  children: configs.value.childrenKey
@@ -5107,7 +5098,6 @@ var __publicField = (obj, key, value) => {
5107
5098
  return false;
5108
5099
  }
5109
5100
  };
5110
- const Utils$1 = Utils;
5111
5101
  const _window = window;
5112
5102
  const inBrowser = typeof window !== "undefined";
5113
5103
  function requestAniFrame() {
@@ -5182,11 +5172,11 @@ var __publicField = (obj, key, value) => {
5182
5172
  },
5183
5173
  startDate: {
5184
5174
  type: String,
5185
- default: Utils$1.getDay(0)
5175
+ default: Utils.getDay(0)
5186
5176
  },
5187
5177
  endDate: {
5188
5178
  type: String,
5189
- default: Utils$1.getDay(365)
5179
+ default: Utils.getDay(365)
5190
5180
  },
5191
5181
  firstDayOfWeek: {
5192
5182
  type: Number,
@@ -5248,32 +5238,32 @@ var __publicField = (obj, key, value) => {
5248
5238
  return date.split("-");
5249
5239
  };
5250
5240
  const isStart = (currDate) => {
5251
- return Utils$1.isEqual(state.currDate[0], currDate);
5241
+ return Utils.isEqual(state.currDate[0], currDate);
5252
5242
  };
5253
5243
  const isEnd = (currDate) => {
5254
- return Utils$1.isEqual(state.currDate[1], currDate);
5244
+ return Utils.isEqual(state.currDate[1], currDate);
5255
5245
  };
5256
5246
  const isMultiple = (currDate) => {
5257
5247
  if (state.currDate.length > 0) {
5258
5248
  return state.currDate.some((item) => {
5259
- return Utils$1.isEqual(item, currDate);
5249
+ return Utils.isEqual(item, currDate);
5260
5250
  });
5261
5251
  } else {
5262
5252
  return false;
5263
5253
  }
5264
5254
  };
5265
5255
  const getCurrDate = (day, month) => {
5266
- return month.curData[0] + "-" + month.curData[1] + "-" + Utils$1.getNumTwoBit(+day.day);
5256
+ return month.curData[0] + "-" + month.curData[1] + "-" + Utils.getNumTwoBit(+day.day);
5267
5257
  };
5268
5258
  const getClass = (day, month) => {
5269
5259
  const currDate = getCurrDate(day, month);
5270
5260
  const { type } = props;
5271
5261
  if (day.type == "curr") {
5272
- if (Utils$1.isEqual(state.currDate, currDate) || type == "range" && (isStart(currDate) || isEnd(currDate)) || type == "multiple" && isMultiple(currDate)) {
5262
+ if (Utils.isEqual(state.currDate, currDate) || type == "range" && (isStart(currDate) || isEnd(currDate)) || type == "multiple" && isMultiple(currDate)) {
5273
5263
  return `${state.dayPrefix}--active`;
5274
- } else if (state.propStartDate && Utils$1.compareDate(currDate, state.propStartDate) || state.propEndDate && Utils$1.compareDate(state.propEndDate, currDate)) {
5264
+ } else if (state.propStartDate && Utils.compareDate(currDate, state.propStartDate) || state.propEndDate && Utils.compareDate(state.propEndDate, currDate)) {
5275
5265
  return `${state.dayPrefix}--disabled`;
5276
- } else if (type == "range" && Array.isArray(state.currDate) && Object.values(state.currDate).length == 2 && Utils$1.compareDate(state.currDate[0], currDate) && Utils$1.compareDate(currDate, state.currDate[1])) {
5266
+ } else if (type == "range" && Array.isArray(state.currDate) && Object.values(state.currDate).length == 2 && Utils.compareDate(state.currDate[0], currDate) && Utils.compareDate(currDate, state.currDate[1])) {
5277
5267
  return `${state.dayPrefix}--choose`;
5278
5268
  } else {
5279
5269
  return null;
@@ -5296,9 +5286,9 @@ var __publicField = (obj, key, value) => {
5296
5286
  if (getClass(day, month) != `${state.dayPrefix}--disabled`) {
5297
5287
  const { type } = props;
5298
5288
  let days = [...month.curData];
5299
- days[2] = typeof day.day == "number" ? Utils$1.getNumTwoBit(day.day) : day.day;
5289
+ days[2] = typeof day.day == "number" ? Utils.getNumTwoBit(day.day) : day.day;
5300
5290
  days[3] = `${days[0]}-${days[1]}-${days[2]}`;
5301
- days[4] = Utils$1.getWhatDay(+days[0], +days[1], +days[2]);
5291
+ days[4] = Utils.getWhatDay(+days[0], +days[1], +days[2]);
5302
5292
  if (type == "multiple") {
5303
5293
  if (state.currDate.length > 0) {
5304
5294
  let hasIndex = void 0;
@@ -5327,7 +5317,7 @@ var __publicField = (obj, key, value) => {
5327
5317
  if (curDataLength == 2 || curDataLength == 0) {
5328
5318
  state.currDate = [days[3]];
5329
5319
  } else {
5330
- if (Utils$1.compareDate(state.currDate[0], days[3])) {
5320
+ if (Utils.compareDate(state.currDate[0], days[3])) {
5331
5321
  Array.isArray(state.currDate) && state.currDate.push(days[3]);
5332
5322
  } else {
5333
5323
  Array.isArray(state.currDate) && state.currDate.unshift(days[3]);
@@ -5336,7 +5326,7 @@ var __publicField = (obj, key, value) => {
5336
5326
  if (state.chooseData.length == 2 || !state.chooseData.length) {
5337
5327
  state.chooseData = [[...days]];
5338
5328
  } else {
5339
- if (Utils$1.compareDate(state.chooseData[0][3], days[3])) {
5329
+ if (Utils.compareDate(state.chooseData[0][3], days[3])) {
5340
5330
  state.chooseData = [...state.chooseData, [...days]];
5341
5331
  } else {
5342
5332
  state.chooseData = [[...days], ...state.chooseData];
@@ -5368,7 +5358,7 @@ var __publicField = (obj, key, value) => {
5368
5358
  month = month == 12 ? 1 : ++month;
5369
5359
  break;
5370
5360
  }
5371
- return [year + "", Utils$1.getNumTwoBit(month), Utils$1.getMonthDays(String(year), String(month)) + ""];
5361
+ return [year + "", Utils.getNumTwoBit(month), Utils.getMonthDays(String(year), String(month)) + ""];
5372
5362
  };
5373
5363
  const getDaysStatus = (days, type, dateInfo) => {
5374
5364
  let { year, month } = dateInfo;
@@ -5401,15 +5391,15 @@ var __publicField = (obj, key, value) => {
5401
5391
  return months2.slice(preCurrMonthDays - days);
5402
5392
  };
5403
5393
  const getMonth = (curData, type) => {
5404
- const preMonthDays = Utils$1.getMonthPreDay(+curData[0], +curData[1]);
5394
+ const preMonthDays = Utils.getMonthPreDay(+curData[0], +curData[1]);
5405
5395
  let preMonth = Number(curData[1]) - 1;
5406
5396
  let preYear = Number(curData[0]);
5407
5397
  if (preMonth <= 0) {
5408
5398
  preMonth = 12;
5409
5399
  preYear += 1;
5410
5400
  }
5411
- const currMonthDays = Utils$1.getMonthDays(String(curData[0]), String(curData[1]));
5412
- const preCurrMonthDays = Utils$1.getMonthDays(preYear + "", preMonth + "");
5401
+ const currMonthDays = Utils.getMonthDays(String(curData[0]), String(curData[1]));
5402
+ const preCurrMonthDays = Utils.getMonthDays(preYear + "", preMonth + "");
5413
5403
  const title = {
5414
5404
  year: curData[0],
5415
5405
  month: curData[1]
@@ -5436,14 +5426,14 @@ var __publicField = (obj, key, value) => {
5436
5426
  }
5437
5427
  monthInfo.cssScrollHeight = cssScrollHeight;
5438
5428
  if (type == "next") {
5439
- if (!state.endData || !Utils$1.compareDate(
5440
- `${state.endData[0]}-${state.endData[1]}-${Utils$1.getMonthDays(state.endData[0], state.endData[1])}`,
5429
+ if (!state.endData || !Utils.compareDate(
5430
+ `${state.endData[0]}-${state.endData[1]}-${Utils.getMonthDays(state.endData[0], state.endData[1])}`,
5441
5431
  `${curData[0]}-${curData[1]}-${curData[2]}`
5442
5432
  )) {
5443
5433
  state.monthsData.push(monthInfo);
5444
5434
  }
5445
5435
  } else {
5446
- if (!state.startData || !Utils$1.compareDate(
5436
+ if (!state.startData || !Utils.compareDate(
5447
5437
  `${curData[0]}-${curData[1]}-${curData[2]}`,
5448
5438
  `${state.startData[0]}-${state.startData[1]}-01`
5449
5439
  )) {
@@ -5454,8 +5444,8 @@ var __publicField = (obj, key, value) => {
5454
5444
  }
5455
5445
  };
5456
5446
  const initData = () => {
5457
- let propStartDate = props.startDate ? props.startDate : Utils$1.getDay(0);
5458
- let propEndDate = props.endDate ? props.endDate : Utils$1.getDay(365);
5447
+ let propStartDate = props.startDate ? props.startDate : Utils.getDay(0);
5448
+ let propEndDate = props.endDate ? props.endDate : Utils.getDay(365);
5459
5449
  state.propStartDate = propStartDate;
5460
5450
  state.propEndDate = propEndDate;
5461
5451
  state.startData = splitDate(propStartDate);
@@ -5486,10 +5476,10 @@ var __publicField = (obj, key, value) => {
5486
5476
  state.monthsNum = monthsNum;
5487
5477
  if (props.type == "range" && Array.isArray(state.currDate)) {
5488
5478
  if (state.currDate.length > 0) {
5489
- if (propStartDate && Utils$1.compareDate(state.currDate[0], propStartDate)) {
5479
+ if (propStartDate && Utils.compareDate(state.currDate[0], propStartDate)) {
5490
5480
  state.currDate.splice(0, 1, propStartDate);
5491
5481
  }
5492
- if (propEndDate && Utils$1.compareDate(propEndDate, state.currDate[1])) {
5482
+ if (propEndDate && Utils.compareDate(propEndDate, state.currDate[1])) {
5493
5483
  state.currDate.splice(1, 1, propEndDate);
5494
5484
  }
5495
5485
  state.defaultData = [...splitDate(state.currDate[0]), ...splitDate(state.currDate[1])];
@@ -5499,7 +5489,7 @@ var __publicField = (obj, key, value) => {
5499
5489
  let defaultArr = [];
5500
5490
  let obj = {};
5501
5491
  state.currDate.forEach((item) => {
5502
- if (propStartDate && !Utils$1.compareDate(item, propStartDate) && propEndDate && !Utils$1.compareDate(propEndDate, item)) {
5492
+ if (propStartDate && !Utils.compareDate(item, propStartDate) && propEndDate && !Utils.compareDate(propEndDate, item)) {
5503
5493
  if (!Object.hasOwnProperty.call(obj, item)) {
5504
5494
  defaultArr.push(item);
5505
5495
  obj[item] = item;
@@ -5511,9 +5501,9 @@ var __publicField = (obj, key, value) => {
5511
5501
  }
5512
5502
  } else {
5513
5503
  if (state.currDate) {
5514
- if (propStartDate && Utils$1.compareDate(state.currDate, propStartDate)) {
5504
+ if (propStartDate && Utils.compareDate(state.currDate, propStartDate)) {
5515
5505
  state.currDate = propStartDate;
5516
- } else if (propEndDate && !Utils$1.compareDate(state.currDate, propEndDate)) {
5506
+ } else if (propEndDate && !Utils.compareDate(state.currDate, propEndDate)) {
5517
5507
  state.currDate = propEndDate;
5518
5508
  }
5519
5509
  state.defaultData = [...splitDate(state.currDate)];
@@ -5567,9 +5557,9 @@ var __publicField = (obj, key, value) => {
5567
5557
  state.avgHeight = Math.floor(containerHeight / (monthsNum + 1));
5568
5558
  };
5569
5559
  const scrollToDate = (date) => {
5570
- if (Utils$1.compareDate(date, state.propStartDate)) {
5560
+ if (Utils.compareDate(date, state.propStartDate)) {
5571
5561
  date = state.propStartDate;
5572
- } else if (!Utils$1.compareDate(date, state.propEndDate)) {
5562
+ } else if (!Utils.compareDate(date, state.propEndDate)) {
5573
5563
  date = state.propEndDate;
5574
5564
  }
5575
5565
  let dateArr = splitDate(date);
@@ -5631,12 +5621,12 @@ var __publicField = (obj, key, value) => {
5631
5621
  };
5632
5622
  const rangeTip = () => {
5633
5623
  if (state.currDate.length >= 2) {
5634
- return Utils$1.isEqual(state.currDate[0], state.currDate[1]);
5624
+ return Utils.isEqual(state.currDate[0], state.currDate[1]);
5635
5625
  }
5636
5626
  };
5637
5627
  const isCurrDay = (dateInfo) => {
5638
5628
  const date = `${dateInfo.year}-${dateInfo.month}-${Number(dateInfo.day) < 10 ? "0" + dateInfo.day : dateInfo.day}`;
5639
- return Utils$1.isEqual(date, Utils$1.date2Str(new Date()));
5629
+ return Utils.isEqual(date, Utils.date2Str(new Date()));
5640
5630
  };
5641
5631
  const mothsViewScroll = (e) => {
5642
5632
  if (state.monthsData.length <= 1) {
@@ -5908,11 +5898,11 @@ var __publicField = (obj, key, value) => {
5908
5898
  },
5909
5899
  startDate: {
5910
5900
  type: String,
5911
- default: Utils$1.getDay(0)
5901
+ default: Utils.getDay(0)
5912
5902
  },
5913
5903
  endDate: {
5914
5904
  type: String,
5915
- default: Utils$1.getDay(365)
5905
+ default: Utils.getDay(365)
5916
5906
  },
5917
5907
  firstDayOfWeek: {
5918
5908
  type: Number,
@@ -6509,7 +6499,7 @@ var __publicField = (obj, key, value) => {
6509
6499
  },
6510
6500
  emits: ["click", "change"],
6511
6501
  setup(props, { emit }) {
6512
- const touch = useTouch$1();
6502
+ const touch = useTouch();
6513
6503
  const state = vue.reactive({
6514
6504
  touchParams: {
6515
6505
  startY: 0,
@@ -7921,7 +7911,7 @@ var __publicField = (obj, key, value) => {
7921
7911
  }
7922
7912
  return v;
7923
7913
  };
7924
- const touch = useTouch$1();
7914
+ const touch = useTouch();
7925
7915
  const touchMethods = {
7926
7916
  onTouchStart(event) {
7927
7917
  if (!props.touchable)
@@ -9554,7 +9544,7 @@ var __publicField = (obj, key, value) => {
9554
9544
  }
9555
9545
  state.offset = offset;
9556
9546
  };
9557
- const touch = useTouch$1();
9547
+ const touch = useTouch();
9558
9548
  const touchMethods = {
9559
9549
  onTouchStart(event) {
9560
9550
  if (props.disabled)
@@ -10338,7 +10328,7 @@ var __publicField = (obj, key, value) => {
10338
10328
  _: 3
10339
10329
  }, 8, ["teleport", "visible", "close-on-click-overlay", "lock-scroll", "pop-class", "style", "onClickOverlay", "onClickCloseIcon"]);
10340
10330
  }
10341
- const Dialog$1 = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$V]]);
10331
+ const Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$V]]);
10342
10332
  class DialogOptions {
10343
10333
  constructor() {
10344
10334
  __publicField(this, "title", "");
@@ -10395,7 +10385,7 @@ var __publicField = (obj, key, value) => {
10395
10385
  }
10396
10386
  options.teleport = `#${root.id}`;
10397
10387
  return () => {
10398
- return vue.h(Dialog$1, options);
10388
+ return vue.h(Dialog, options);
10399
10389
  };
10400
10390
  }
10401
10391
  };
@@ -10407,10 +10397,9 @@ var __publicField = (obj, key, value) => {
10407
10397
  return new DialogFunction(options);
10408
10398
  };
10409
10399
  _Dialog.install = (app) => {
10410
- app.use(Dialog$1);
10400
+ app.use(Dialog);
10411
10401
  app.config.globalProperties.$dialog = _Dialog;
10412
10402
  };
10413
- const Dialog = _Dialog;
10414
10403
  const overflowScrollReg = /scroll|auto|overlay/i;
10415
10404
  const defaultRoot = window;
10416
10405
  function isElement(node) {
@@ -10642,7 +10631,7 @@ var __publicField = (obj, key, value) => {
10642
10631
  emits: ["change", "refresh", "update:modelValue"],
10643
10632
  components: { Loading: iconsVue.Loading },
10644
10633
  setup(props, { emit, slots }) {
10645
- const touch = useTouch$1();
10634
+ const touch = useTouch();
10646
10635
  const scroller = vue.ref();
10647
10636
  const scrollParent = useScrollParent(scroller);
10648
10637
  const state = vue.reactive({
@@ -10903,7 +10892,7 @@ var __publicField = (obj, key, value) => {
10903
10892
  _: 3
10904
10893
  }, 8, ["visible", "position", "teleportDisable"]);
10905
10894
  }
10906
- const Notify$1 = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$S]]);
10895
+ const Notify = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$S]]);
10907
10896
  const defaultOptions$1 = {
10908
10897
  type: "base",
10909
10898
  visible: true,
@@ -10912,6 +10901,7 @@ var __publicField = (obj, key, value) => {
10912
10901
  background: void 0,
10913
10902
  duration: 3e3,
10914
10903
  className: "",
10904
+ onClose: Function,
10915
10905
  teleport: "",
10916
10906
  unmount: new Function()
10917
10907
  };
@@ -10945,7 +10935,7 @@ var __publicField = (obj, key, value) => {
10945
10935
  } else {
10946
10936
  opts = { ...defaultOptions$1, ...opts };
10947
10937
  }
10948
- const instance = vue.createVNode(Notify$1, opts);
10938
+ const instance = vue.createVNode(Notify, opts);
10949
10939
  vue.render(instance, container);
10950
10940
  return instance.component.data;
10951
10941
  }
@@ -10972,11 +10962,12 @@ var __publicField = (obj, key, value) => {
10972
10962
  opts.teleport = `#notify-${opts.id}`;
10973
10963
  vue.onMounted(() => {
10974
10964
  setTimeout(() => {
10965
+ opts.onClose && opts.onClose();
10975
10966
  document.body.removeChild(root);
10976
10967
  }, opts.duration);
10977
10968
  });
10978
10969
  return () => {
10979
- return vue.h(Notify$1, opts);
10970
+ return vue.h(Notify, opts);
10980
10971
  };
10981
10972
  }
10982
10973
  };
@@ -11015,11 +11006,10 @@ var __publicField = (obj, key, value) => {
11015
11006
  clearNotify();
11016
11007
  },
11017
11008
  install(app) {
11018
- app.use(Notify$1);
11009
+ app.use(Notify);
11019
11010
  app.config.globalProperties.$notify = NotifyFunction;
11020
11011
  }
11021
11012
  };
11022
- const Notify = NotifyFunction;
11023
11013
  const { componentName: componentName$G, create: create$S } = createComponent("switch");
11024
11014
  const _sfc_main$S = create$S({
11025
11015
  components: { Loading1: iconsVue.Loading1 },
@@ -11114,7 +11104,7 @@ var __publicField = (obj, key, value) => {
11114
11104
  }, [
11115
11105
  vue.createElementVNode("view", _hoisted_1$F, [
11116
11106
  _ctx.loading ? vue.renderSlot(_ctx.$slots, "icon", { key: 0 }, () => [
11117
- vue.createVNode(_component_Loading1)
11107
+ vue.createVNode(_component_Loading1, { name: "loading" })
11118
11108
  ]) : vue.createCommentVNode("", true),
11119
11109
  _ctx.activeText ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
11120
11110
  vue.withDirectives(vue.createElementVNode("view", { class: "nut-switch-label open" }, vue.toDisplayString(_ctx.activeText), 513), [
@@ -11314,7 +11304,7 @@ var __publicField = (obj, key, value) => {
11314
11304
  _: 1
11315
11305
  }, 8, ["onAfterLeave"]);
11316
11306
  }
11317
- const Toast$1 = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$Q]]);
11307
+ const Toast = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$Q]]);
11318
11308
  const defaultOptions = {
11319
11309
  msg: "",
11320
11310
  id: "",
@@ -11366,7 +11356,7 @@ var __publicField = (obj, key, value) => {
11366
11356
  } else {
11367
11357
  opts = { ...defaultOptions, ...opts };
11368
11358
  }
11369
- const instance = vue.createVNode(Toast$1, opts);
11359
+ const instance = vue.createVNode(Toast, opts);
11370
11360
  vue.render(instance, container);
11371
11361
  return ToastFunction;
11372
11362
  }
@@ -11387,7 +11377,7 @@ var __publicField = (obj, key, value) => {
11387
11377
  idsMap.push(opts.id);
11388
11378
  optsMap.push(opts);
11389
11379
  CreateComponent(opts, {
11390
- wrapper: Toast$1
11380
+ wrapper: Toast
11391
11381
  });
11392
11382
  return ToastFunction;
11393
11383
  };
@@ -11426,11 +11416,10 @@ var __publicField = (obj, key, value) => {
11426
11416
  clearToast(id);
11427
11417
  },
11428
11418
  install(app) {
11429
- app.use(Toast$1);
11419
+ app.use(Toast);
11430
11420
  app.config.globalProperties.$toast = ToastFunction;
11431
11421
  }
11432
11422
  };
11433
- const Toast = ToastFunction;
11434
11423
  const { componentName: componentName$F, create: create$Q } = createComponent("audio");
11435
11424
  const _sfc_main$Q = create$Q({
11436
11425
  props: {
@@ -13159,54 +13148,6 @@ var __publicField = (obj, key, value) => {
13159
13148
  ], 2);
13160
13149
  }
13161
13150
  const Step = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G]]);
13162
- const DISTANCE = 5;
13163
- function useTouch() {
13164
- const state = vue.reactive({
13165
- startX: 0,
13166
- startY: 0,
13167
- deltaX: 0,
13168
- deltaY: 0,
13169
- offsetX: 0,
13170
- offsetY: 0,
13171
- direction: ""
13172
- });
13173
- const getDirection2 = (x, y) => {
13174
- if (x > y && x > DISTANCE)
13175
- return "horizontal";
13176
- if (y > x && y > DISTANCE)
13177
- return "vertical";
13178
- return "";
13179
- };
13180
- const reset = () => {
13181
- state.startX = 0;
13182
- state.startY = 0;
13183
- state.deltaX = 0;
13184
- state.deltaY = 0;
13185
- state.offsetX = 0;
13186
- state.offsetY = 0;
13187
- state.direction = "";
13188
- };
13189
- const start = (e) => {
13190
- reset();
13191
- state.startX = e.touches[0].clientX;
13192
- state.startY = e.touches[0].clientY;
13193
- };
13194
- const move = (e) => {
13195
- state.deltaX = e.touches[0].clientX - state.startX;
13196
- state.deltaY = e.touches[0].clientY - state.startY;
13197
- state.offsetX = Math.abs(state.deltaX);
13198
- state.offsetY = Math.abs(state.deltaY);
13199
- if (!state.direction) {
13200
- state.direction = getDirection2(state.offsetX, state.offsetY);
13201
- }
13202
- };
13203
- return {
13204
- state,
13205
- start,
13206
- reset,
13207
- move
13208
- };
13209
- }
13210
13151
  const { create: create$F, componentName: componentName$v } = createComponent("swiper");
13211
13152
  const _sfc_main$F = create$F({
13212
13153
  props: {
@@ -13219,7 +13160,7 @@ var __publicField = (obj, key, value) => {
13219
13160
  default: 0
13220
13161
  },
13221
13162
  direction: {
13222
- type: [String],
13163
+ type: String,
13223
13164
  default: "horizontal"
13224
13165
  },
13225
13166
  paginationVisible: {
@@ -13288,11 +13229,25 @@ var __publicField = (obj, key, value) => {
13288
13229
  };
13289
13230
  });
13290
13231
  const isVertical = vue.computed(() => props.direction === "vertical");
13232
+ const classesInner = vue.computed(() => {
13233
+ const prefixCls = componentName$v;
13234
+ return {
13235
+ [`${prefixCls}-inner`]: true,
13236
+ [`${prefixCls}-vertical`]: isVertical.value
13237
+ };
13238
+ });
13239
+ const classesPagination = vue.computed(() => {
13240
+ const prefixCls = componentName$v;
13241
+ return {
13242
+ [`${prefixCls}-pagination`]: true,
13243
+ [`${prefixCls}-pagination-vertical`]: isVertical.value
13244
+ };
13245
+ });
13291
13246
  const delTa = vue.computed(() => {
13292
- return isVertical.value ? touch.state.deltaY : touch.state.deltaX;
13247
+ return isVertical.value ? touch.deltaY.value : touch.deltaX.value;
13293
13248
  });
13294
13249
  const isCorrectDirection = vue.computed(() => {
13295
- return touch.state.direction === props.direction;
13250
+ return touch.direction.value === props.direction;
13296
13251
  });
13297
13252
  const childCount = vue.computed(() => state.children.length);
13298
13253
  const size = vue.computed(() => state[isVertical.value ? "height" : "width"]);
@@ -13307,12 +13262,7 @@ var __publicField = (obj, key, value) => {
13307
13262
  const activePagination = vue.computed(() => (state.active + childCount.value) % childCount.value);
13308
13263
  const getStyle = () => {
13309
13264
  let offset = 0;
13310
- if (!props.isCenter) {
13311
- offset = state.offset;
13312
- } else {
13313
- let val = isVertical.value ? state.rect.height - size.value : state.rect.width - size.value;
13314
- offset = state.offset + (state.active === childCount.value - 1 ? -val / 2 : val / 2);
13315
- }
13265
+ offset = state.offset;
13316
13266
  state.style = {
13317
13267
  transitionDuration: `${state.moving ? 0 : props.duration}ms`,
13318
13268
  transform: `translate${isVertical.value ? "Y" : "X"}(${offset}px)`,
@@ -13323,26 +13273,27 @@ var __publicField = (obj, key, value) => {
13323
13273
  const relation = (child) => {
13324
13274
  var _a;
13325
13275
  let children = [];
13276
+ const childrenVNodeLen = state.childrenVNode.length;
13326
13277
  let slot = (_a = slots == null ? void 0 : slots.default) == null ? void 0 : _a.call(slots);
13327
13278
  slot = slot.filter((item) => item.children && Array.isArray(item.children));
13328
13279
  slot.forEach((item) => {
13329
13280
  children = children.concat(item.children);
13330
13281
  });
13331
- if (!state.childrenVNode.length) {
13282
+ if (!childrenVNodeLen) {
13332
13283
  state.childrenVNode = children.slice();
13333
13284
  child.proxy && state.children.push(child.proxy);
13334
13285
  } else {
13335
- if (state.childrenVNode.length > children.length) {
13286
+ if (childrenVNodeLen > children.length) {
13336
13287
  state.children = state.children.filter((item) => child.proxy !== item);
13337
- } else if (state.childrenVNode.length < children.length) {
13338
- for (let i = 0; i < state.childrenVNode.length; i++) {
13288
+ } else if (childrenVNodeLen < children.length) {
13289
+ for (let i = 0; i < childrenVNodeLen; i++) {
13339
13290
  if (children[i].key !== state.childrenVNode[i].key) {
13340
13291
  child.proxy && state.children.splice(i, 0, child.proxy);
13341
13292
  child.vnode && state.childrenVNode.splice(i, 0, child.vnode);
13342
13293
  break;
13343
13294
  }
13344
13295
  }
13345
- if (state.childrenVNode.length !== children.length) {
13296
+ if (childrenVNodeLen !== children.length) {
13346
13297
  child.proxy && state.children.push(child.proxy);
13347
13298
  child.vnode && state.childrenVNode.push(child.vnode);
13348
13299
  }
@@ -13352,12 +13303,6 @@ var __publicField = (obj, key, value) => {
13352
13303
  }
13353
13304
  }
13354
13305
  };
13355
- const range = (num, min, max) => {
13356
- return Math.min(Math.max(num, min), max);
13357
- };
13358
- const requestFrame = (fn) => {
13359
- window.requestAnimationFrame.call(window, fn);
13360
- };
13361
13306
  const getOffset = (active, offset = 0) => {
13362
13307
  let currentPosition = active * size.value;
13363
13308
  if (!props.loop) {
@@ -13365,7 +13310,7 @@ var __publicField = (obj, key, value) => {
13365
13310
  }
13366
13311
  let targetOffset = offset - currentPosition;
13367
13312
  if (!props.loop) {
13368
- targetOffset = range(targetOffset, minOffset.value, 0);
13313
+ targetOffset = clamp(targetOffset, minOffset.value, 0);
13369
13314
  }
13370
13315
  return targetOffset;
13371
13316
  };
@@ -13373,9 +13318,9 @@ var __publicField = (obj, key, value) => {
13373
13318
  const { active } = state;
13374
13319
  if (pace) {
13375
13320
  if (props.loop) {
13376
- return range(active + pace, -1, childCount.value);
13321
+ return clamp(active + pace, -1, childCount.value);
13377
13322
  }
13378
- return range(active + pace, 0, childCount.value - 1);
13323
+ return clamp(active + pace, 0, childCount.value - 1);
13379
13324
  }
13380
13325
  return active;
13381
13326
  };
@@ -13414,48 +13359,39 @@ var __publicField = (obj, key, value) => {
13414
13359
  const stopAutoPlay = () => {
13415
13360
  clearTimeout(state.autoplayTimer);
13416
13361
  };
13417
- const prev = () => {
13362
+ const jump = (pace) => {
13418
13363
  resettPosition();
13419
13364
  touch.reset();
13420
- requestFrame(() => {
13421
- requestFrame(() => {
13365
+ requestAniFrame$1(() => {
13366
+ requestAniFrame$1(() => {
13422
13367
  state.moving = false;
13423
13368
  move({
13424
- pace: -1,
13369
+ pace,
13425
13370
  isEmit: true
13426
13371
  });
13427
13372
  });
13428
13373
  });
13429
13374
  };
13375
+ const prev = () => {
13376
+ jump(-1);
13377
+ };
13430
13378
  const next = () => {
13431
- resettPosition();
13432
- touch.reset();
13433
- requestFrame(() => {
13434
- requestFrame(() => {
13435
- state.moving = false;
13436
- move({
13437
- pace: 1,
13438
- isEmit: true
13439
- });
13440
- });
13441
- });
13379
+ jump(1);
13442
13380
  };
13443
13381
  const to = (index) => {
13444
13382
  resettPosition();
13445
13383
  touch.reset();
13446
- requestFrame(() => {
13447
- requestFrame(() => {
13448
- state.moving = false;
13449
- let targetIndex;
13450
- if (props.loop && childCount.value === index) {
13451
- targetIndex = state.active === 0 ? 0 : index;
13452
- } else {
13453
- targetIndex = index % childCount.value;
13454
- }
13455
- move({
13456
- pace: targetIndex - state.active,
13457
- isEmit: true
13458
- });
13384
+ requestAniFrame$1(() => {
13385
+ state.moving = false;
13386
+ let targetIndex;
13387
+ if (props.loop && childCount.value === index) {
13388
+ targetIndex = state.active === 0 ? 0 : index;
13389
+ } else {
13390
+ targetIndex = index % childCount.value;
13391
+ }
13392
+ move({
13393
+ pace: targetIndex - state.active,
13394
+ isEmit: true
13459
13395
  });
13460
13396
  });
13461
13397
  };
@@ -13509,7 +13445,7 @@ var __publicField = (obj, key, value) => {
13509
13445
  const isShouldMove = Math.abs(speed) > 0.3 || Math.abs(delTa.value) > +(size.value / 2).toFixed(2);
13510
13446
  if (isShouldMove && isCorrectDirection.value) {
13511
13447
  let pace = 0;
13512
- const offset = isVertical.value ? touch.state.offsetY : touch.state.offsetX;
13448
+ const offset = isVertical.value ? touch.offsetY.value : touch.offsetX.value;
13513
13449
  if (props.loop) {
13514
13450
  pace = offset > 0 ? delTa.value > 0 ? -1 : 1 : 0;
13515
13451
  } else {
@@ -13567,10 +13503,9 @@ var __publicField = (obj, key, value) => {
13567
13503
  return {
13568
13504
  state,
13569
13505
  classes,
13506
+ classesInner,
13507
+ classesPagination,
13570
13508
  container,
13571
- componentName: componentName$v,
13572
- isVertical,
13573
- slots,
13574
13509
  activePagination,
13575
13510
  onTouchStart,
13576
13511
  onTouchMove,
@@ -13588,21 +13523,15 @@ var __publicField = (obj, key, value) => {
13588
13523
  onTouchcancel: _cache[3] || (_cache[3] = (...args) => _ctx.onTouchEnd && _ctx.onTouchEnd(...args))
13589
13524
  }, [
13590
13525
  vue.createElementVNode("view", {
13591
- class: vue.normalizeClass({
13592
- [`${_ctx.componentName}-inner`]: true,
13593
- [`${_ctx.componentName}-vertical`]: _ctx.isVertical
13594
- }),
13526
+ class: vue.normalizeClass(_ctx.classesInner),
13595
13527
  style: vue.normalizeStyle(_ctx.state.style)
13596
13528
  }, [
13597
13529
  vue.renderSlot(_ctx.$slots, "default")
13598
13530
  ], 6),
13599
13531
  vue.renderSlot(_ctx.$slots, "page"),
13600
- _ctx.paginationVisible && !_ctx.slots.page ? (vue.openBlock(), vue.createElementBlock("view", {
13532
+ _ctx.paginationVisible && !_ctx.$slots.page ? (vue.openBlock(), vue.createElementBlock("view", {
13601
13533
  key: 0,
13602
- class: vue.normalizeClass({
13603
- [`${_ctx.componentName}-pagination`]: true,
13604
- [`${_ctx.componentName}-pagination-vertical`]: _ctx.isVertical
13605
- })
13534
+ class: vue.normalizeClass(_ctx.classesPagination)
13606
13535
  }, [
13607
13536
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.state.children.length, (item, index) => {
13608
13537
  return vue.openBlock(), vue.createElementBlock("i", {
@@ -13820,7 +13749,7 @@ var __publicField = (obj, key, value) => {
13820
13749
  displayWidth: 0,
13821
13750
  displayHeight: 0
13822
13751
  });
13823
- const touch = useTouch$1();
13752
+ const touch = useTouch();
13824
13753
  const vertical = vue.computed(() => {
13825
13754
  const { rootWidth, rootHeight } = props;
13826
13755
  const rootRatio = rootHeight / rootWidth;
@@ -14049,10 +13978,6 @@ var __publicField = (obj, key, value) => {
14049
13978
  type: Boolean,
14050
13979
  default: false
14051
13980
  },
14052
- closeIcon: {
14053
- type: String,
14054
- default: "circle-close"
14055
- },
14056
13981
  closeIconPosition: {
14057
13982
  type: String,
14058
13983
  default: "top-right"
@@ -14109,6 +14034,7 @@ var __publicField = (obj, key, value) => {
14109
14034
  const init = () => {
14110
14035
  if (swipeRef.value) {
14111
14036
  const rect = useRect(swipeRef.value);
14037
+ console.log("show");
14112
14038
  state.rootHeight = rect.height;
14113
14039
  state.rootWidth = rect.width;
14114
14040
  }
@@ -14116,6 +14042,7 @@ var __publicField = (obj, key, value) => {
14116
14042
  vue.watch(
14117
14043
  () => props.show,
14118
14044
  (val) => {
14045
+ console.log("展示", val);
14119
14046
  state.showPop = val;
14120
14047
  init();
14121
14048
  }
@@ -14209,7 +14136,7 @@ var __publicField = (obj, key, value) => {
14209
14136
  _: 3
14210
14137
  }, 8, ["visible", "teleportDisable", "teleport", "onClosed"]);
14211
14138
  }
14212
- const ImagePreview$1 = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B]]);
14139
+ const ImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B]]);
14213
14140
  class ImagePreviewOptions {
14214
14141
  constructor() {
14215
14142
  __publicField(this, "show", false);
@@ -14239,7 +14166,7 @@ var __publicField = (obj, key, value) => {
14239
14166
  __publicField(this, "options", new ImagePreviewOptions());
14240
14167
  const options = Object.assign(this.options, _options);
14241
14168
  const { instance, unmount } = CreateComponent(options, {
14242
- name: "imagepreview",
14169
+ name: "image-preview",
14243
14170
  components: [Popup, Video, Swiper, SwiperItem, Overlay],
14244
14171
  wrapper: () => {
14245
14172
  return {
@@ -14248,7 +14175,7 @@ var __publicField = (obj, key, value) => {
14248
14175
  options.onClose = () => {
14249
14176
  unmount();
14250
14177
  };
14251
- return vue.h(ImagePreview$1, options);
14178
+ return vue.h(ImagePreview, options);
14252
14179
  };
14253
14180
  }
14254
14181
  };
@@ -14258,10 +14185,9 @@ var __publicField = (obj, key, value) => {
14258
14185
  }
14259
14186
  const _ImagePreview = (options) => new ImagePreviewFunction(options);
14260
14187
  _ImagePreview.install = (app) => {
14261
- app.use(ImagePreview$1);
14188
+ app.use(ImagePreview);
14262
14189
  app.config.globalProperties.$imagepreview = _ImagePreview;
14263
14190
  };
14264
- const ImagePreview = _ImagePreview;
14265
14191
  function useExtend(apis) {
14266
14192
  const instance = vue.getCurrentInstance();
14267
14193
  if (instance) {
@@ -17335,7 +17261,7 @@ var __publicField = (obj, key, value) => {
17335
17261
  }
17336
17262
  const Address = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n]]);
17337
17263
  const { componentName: componentName$h, create: create$m } = createComponent("barrage");
17338
- const __default__ = create$m({
17264
+ const _sfc_main$m = create$m({
17339
17265
  name: "barrage",
17340
17266
  props: {
17341
17267
  danmu: {
@@ -17398,6 +17324,8 @@ var __publicField = (obj, key, value) => {
17398
17324
  danmuList.value = dmList;
17399
17325
  }
17400
17326
  setTimeout(() => {
17327
+ var _a2;
17328
+ (_a2 = dmBody.value) == null ? void 0 : _a2.style.setProperty("--move-distance", `-${danmuCWidth.value}px`);
17401
17329
  run();
17402
17330
  }, 300);
17403
17331
  });
@@ -17430,14 +17358,13 @@ var __publicField = (obj, key, value) => {
17430
17358
  const run = () => {
17431
17359
  clearInterval(timer);
17432
17360
  timer = 0;
17433
- timer = setInterval(() => {
17361
+ timer = setTimeout(() => {
17434
17362
  play();
17435
17363
  run();
17436
17364
  }, props.frequency);
17437
17365
  };
17438
- const distance = vue.ref("0");
17439
17366
  const play = () => {
17440
- var _a, _b, _c;
17367
+ var _a;
17441
17368
  if (!props.loop && index.value >= danmuList.value.length) {
17442
17369
  return;
17443
17370
  }
@@ -17445,13 +17372,7 @@ var __publicField = (obj, key, value) => {
17445
17372
  let el = document.createElement(`view`);
17446
17373
  if (slotDefault && typeof danmuList.value[_index] == "object") {
17447
17374
  el = danmuList.value[_index];
17448
- if ((_a = el == null ? void 0 : el.classList) == null ? void 0 : _a.contains("nut-barrage__item")) {
17449
- el.classList.remove("nut-barrage__item");
17450
- }
17451
- if ((_b = el == null ? void 0 : el.classList) == null ? void 0 : _b.contains("move")) {
17452
- el.classList.remove("move");
17453
- }
17454
- (_c = el == null ? void 0 : el.classList) == null ? void 0 : _c.add("nut-barrage__item");
17375
+ (_a = el == null ? void 0 : el.classList) == null ? void 0 : _a.add("nut-barrage__item");
17455
17376
  } else {
17456
17377
  el.innerHTML = danmuList.value[_index];
17457
17378
  el.classList.add("nut-barrage__item");
@@ -17468,11 +17389,15 @@ var __publicField = (obj, key, value) => {
17468
17389
  const width = el.offsetWidth;
17469
17390
  el.style.width = width + 20 + "px";
17470
17391
  }
17471
- el.style.setProperty("--move-distance", `-${danmuCWidth.value}px`);
17472
- distance.value = "-" + speeds / 1e3 * 150 + "%";
17473
17392
  el.dataset.index = `${_index}`;
17474
17393
  if (slotDefault) {
17475
17394
  index.value++;
17395
+ el.addEventListener("animationend", () => {
17396
+ var _a3;
17397
+ if ((_a3 = el == null ? void 0 : el.classList) == null ? void 0 : _a3.contains("move")) {
17398
+ el.classList.remove("move");
17399
+ }
17400
+ });
17476
17401
  } else {
17477
17402
  el.addEventListener("animationend", () => {
17478
17403
  dmContainer.value.removeChild(el);
@@ -17481,21 +17406,9 @@ var __publicField = (obj, key, value) => {
17481
17406
  }
17482
17407
  });
17483
17408
  };
17484
- return { classTime, classes, danmuList, dmBody, dmContainer, add, distance };
17409
+ return { classTime, classes, danmuList, dmBody, dmContainer, add };
17485
17410
  }
17486
17411
  });
17487
- const __injectCSSVars__ = () => {
17488
- vue.useCssVars((_ctx) => ({
17489
- "9e8362c8": _ctx.distance
17490
- }));
17491
- };
17492
- const __setup__ = __default__.setup;
17493
- __default__.setup = __setup__ ? (props, ctx) => {
17494
- __injectCSSVars__();
17495
- return __setup__(props, ctx);
17496
- } : __injectCSSVars__;
17497
- const _sfc_main$m = __default__;
17498
- const index_vue_vue_type_style_index_0_lang = "";
17499
17412
  function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
17500
17413
  return vue.openBlock(), vue.createElementBlock("div", {
17501
17414
  ref: "dmBody",
@@ -19940,7 +19853,7 @@ var __publicField = (obj, key, value) => {
19940
19853
  }
19941
19854
  const Invoice = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
19942
19855
  function install(app) {
19943
- const packages = [Button, Cell, CellGroup, Overlay, Popup, _sfc_main$1J, Image$1, _sfc_main$1H, Col, Row, _sfc_main$1E, Divider, _sfc_main$1C, GridItem, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, _sfc_main$1f, _sfc_main$1e, DatePicker, InputNumber, Input, _sfc_main$18, _sfc_main$17, Rate, CalendarItem, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, _sfc_main$H, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice];
19856
+ const packages = [Button, Cell, CellGroup, Overlay, Popup, _sfc_main$1J, Image$1, _sfc_main$1H, Col, Row, _sfc_main$1E, Divider, _sfc_main$1C, GridItem, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, _sfc_main$1f, _sfc_main$1e, DatePicker, InputNumber, Input, _sfc_main$18, _sfc_main$17, Rate, CalendarItem, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, ActionSheet, Backtop, Drag, _Dialog, InfiniteLoading, PullRefresh, NotifyFunction, Switch, ToastFunction, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, _sfc_main$H, Step, Swiper, SwiperItem, Price, _ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice];
19944
19857
  packages.forEach((item) => {
19945
19858
  if (item.install) {
19946
19859
  app.use(item);
@@ -19949,8 +19862,8 @@ var __publicField = (obj, key, value) => {
19949
19862
  }
19950
19863
  });
19951
19864
  }
19952
- const version = "4.0.0-beta.6";
19953
- const nutui_vue_build = { install, version, Locale: Locale$1 };
19865
+ const version = "4.0.0-beta.8";
19866
+ const nutui_vue_build = { install, version, Locale };
19954
19867
  exports2.ActionSheet = ActionSheet;
19955
19868
  exports2.Address = Address;
19956
19869
  exports2.AddressList = AddressList;
@@ -19982,7 +19895,7 @@ var __publicField = (obj, key, value) => {
19982
19895
  exports2.Countdown = Countdown;
19983
19896
  exports2.Countup = Countup;
19984
19897
  exports2.DatePicker = DatePicker;
19985
- exports2.Dialog = Dialog;
19898
+ exports2.Dialog = _Dialog;
19986
19899
  exports2.Divider = Divider;
19987
19900
  exports2.Drag = Drag;
19988
19901
  exports2.Ecard = Ecard;
@@ -19995,7 +19908,7 @@ var __publicField = (obj, key, value) => {
19995
19908
  exports2.Grid = _sfc_main$1C;
19996
19909
  exports2.GridItem = GridItem;
19997
19910
  exports2.Image = Image$1;
19998
- exports2.ImagePreview = ImagePreview;
19911
+ exports2.ImagePreview = _ImagePreview;
19999
19912
  exports2.Indicator = Indicator;
20000
19913
  exports2.InfiniteLoading = InfiniteLoading;
20001
19914
  exports2.Input = Input;
@@ -20003,12 +19916,12 @@ var __publicField = (obj, key, value) => {
20003
19916
  exports2.Invoice = Invoice;
20004
19917
  exports2.Layout = _sfc_main$1H;
20005
19918
  exports2.List = List;
20006
- exports2.Locale = Locale$1;
19919
+ exports2.Locale = Locale;
20007
19920
  exports2.Menu = Menu;
20008
19921
  exports2.MenuItem = MenuItem;
20009
19922
  exports2.Navbar = Navbar;
20010
19923
  exports2.Noticebar = Noticebar;
20011
- exports2.Notify = Notify;
19924
+ exports2.Notify = NotifyFunction;
20012
19925
  exports2.NumberKeyboard = NumberKeyboard;
20013
19926
  exports2.Overlay = Overlay;
20014
19927
  exports2.Pagination = Pagination;
@@ -20048,7 +19961,7 @@ var __publicField = (obj, key, value) => {
20048
19961
  exports2.TimeDetail = TimeDetail;
20049
19962
  exports2.TimePannel = TimePannel;
20050
19963
  exports2.TimeSelect = TimeSelect;
20051
- exports2.Toast = Toast;
19964
+ exports2.Toast = ToastFunction;
20052
19965
  exports2.Tour = Tour;
20053
19966
  exports2.TrendArrow = TrendArrow;
20054
19967
  exports2.Uploader = Uploader;