@nutui/nutui 4.0.0-beta.9 → 4.0.1-beta.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 (520) hide show
  1. package/CHANGELOG.md +13 -940
  2. package/README.md +1 -1
  3. package/dist/nutui.es.js +103 -103
  4. package/dist/nutui.umd.js +163 -0
  5. package/dist/packages/_es/ActionSheet.js +2 -7
  6. package/dist/packages/_es/Address.js +9 -9
  7. package/dist/packages/_es/AddressList.js +164 -239
  8. package/dist/packages/_es/Badge.js +2 -2
  9. package/dist/packages/_es/Barrage.js +60 -42
  10. package/dist/packages/_es/Calendar.js +12 -12
  11. package/dist/packages/_es/CalendarItem.js +1 -1
  12. package/dist/packages/_es/Card.js +7 -14
  13. package/dist/packages/_es/Cascader.js +3 -4
  14. package/dist/packages/_es/Collapse.js +7 -7
  15. package/dist/packages/_es/CollapseItem.js +5 -5
  16. package/dist/packages/_es/Comment.js +11 -13
  17. package/dist/packages/_es/ConfigProvider.js +34 -0
  18. package/dist/packages/_es/Countup.js +10 -5
  19. package/dist/packages/_es/Dialog.js +5 -4
  20. package/dist/packages/_es/Ellipsis.js +1 -3
  21. package/dist/packages/_es/ImagePreview.js +5 -6
  22. package/dist/packages/_es/InfiniteLoading.js +1 -9
  23. package/dist/packages/_es/Input.js +28 -29
  24. package/dist/packages/_es/InputNumber.js +5 -5
  25. package/dist/packages/_es/List.js +1 -2
  26. package/dist/packages/_es/MenuItem.js +1 -1
  27. package/dist/packages/_es/Navbar.js +4 -4
  28. package/dist/packages/_es/Noticebar.js +22 -14
  29. package/dist/packages/_es/Notify.js +1 -2
  30. package/dist/packages/_es/NumberKeyboard.js +3 -3
  31. package/dist/packages/_es/Overlay.js +11 -5
  32. package/dist/packages/_es/Picker.js +2 -1
  33. package/dist/packages/_es/Popover.js +1 -2
  34. package/dist/packages/_es/Popup.js +1 -1
  35. package/dist/packages/_es/Price.js +1 -1
  36. package/dist/packages/_es/Progress.js +39 -36
  37. package/dist/packages/_es/PullRefresh.js +6 -13
  38. package/dist/packages/_es/Rate.js +19 -18
  39. package/dist/packages/_es/Searchbar.js +24 -19
  40. package/dist/packages/_es/ShortPassword.js +11 -11
  41. package/dist/packages/_es/Signature.js +12 -1
  42. package/dist/packages/_es/Skeleton.js +2 -4
  43. package/dist/packages/_es/Sku.js +17 -13
  44. package/dist/packages/_es/Swiper.js +0 -4
  45. package/dist/packages/_es/Switch.js +4 -1
  46. package/dist/packages/_es/Table.js +90 -93
  47. package/dist/packages/_es/Tabs.js +3 -3
  48. package/dist/packages/_es/Textarea.js +24 -4
  49. package/dist/packages/_es/TimeDetail.js +0 -4
  50. package/dist/packages/_es/TimeSelect.js +2 -2
  51. package/dist/packages/_es/Toast.js +0 -1
  52. package/dist/packages/_es/Tour.js +8 -8
  53. package/dist/packages/_es/TrendArrow.js +2 -2
  54. package/dist/packages/_es/Uploader.js +17 -16
  55. package/dist/packages/_es/{index-da7aa231.js → index-991c279f.js} +13 -3
  56. package/dist/packages/_es/{index-350a8abd.js → index-fa0050c9.js} +5 -5
  57. package/dist/packages/actionsheet/style.mjs +3 -2
  58. package/dist/packages/address/index.scss +1 -1
  59. package/dist/packages/address/style.mjs +4 -3
  60. package/dist/packages/addresslist/index.scss +14 -3
  61. package/dist/packages/addresslist/style.mjs +3 -2
  62. package/dist/packages/animate/style.mjs +1 -0
  63. package/dist/packages/audio/index.scss +1 -1
  64. package/dist/packages/audio/style.mjs +2 -1
  65. package/dist/packages/audiooperate/style.mjs +2 -1
  66. package/dist/packages/avatar/index.scss +3 -1
  67. package/dist/packages/avatar/style.mjs +1 -0
  68. package/dist/packages/avatargroup/index.scss +1 -1
  69. package/dist/packages/avatargroup/style.mjs +1 -0
  70. package/dist/packages/backtop/style.mjs +1 -0
  71. package/dist/packages/badge/index.scss +7 -3
  72. package/dist/packages/badge/style.mjs +1 -0
  73. package/dist/packages/barrage/style.mjs +1 -0
  74. package/dist/packages/button/index.scss +63 -1
  75. package/dist/packages/button/style.mjs +1 -0
  76. package/dist/packages/calendar/index.scss +14 -5
  77. package/dist/packages/calendar/style.mjs +4 -3
  78. package/dist/packages/calendaritem/style.mjs +1 -0
  79. package/dist/packages/card/style.mjs +3 -2
  80. package/dist/packages/cascader/style.mjs +6 -5
  81. package/dist/packages/category/style.mjs +1 -0
  82. package/dist/packages/categorypane/style.mjs +1 -0
  83. package/dist/packages/cell/index.scss +2 -0
  84. package/dist/packages/cell/style.mjs +1 -0
  85. package/dist/packages/cellgroup/style.mjs +1 -0
  86. package/dist/packages/checkbox/style.mjs +1 -0
  87. package/dist/packages/checkboxgroup/style.mjs +1 -0
  88. package/dist/packages/circleprogress/style.mjs +1 -0
  89. package/dist/packages/col/style.mjs +1 -0
  90. package/dist/packages/collapse/style.mjs +1 -0
  91. package/dist/packages/collapseitem/style.mjs +1 -0
  92. package/dist/packages/comment/index.scss +12 -7
  93. package/dist/packages/comment/style.mjs +2 -1
  94. package/dist/packages/configprovider/style.mjs +1 -0
  95. package/dist/packages/countdown/style.mjs +1 -0
  96. package/dist/packages/countup/index.scss +1 -0
  97. package/dist/packages/countup/style.mjs +1 -0
  98. package/dist/packages/datepicker/style.mjs +4 -3
  99. package/dist/packages/dialog/style.mjs +4 -3
  100. package/dist/packages/divider/style.mjs +1 -0
  101. package/dist/packages/drag/style.mjs +1 -0
  102. package/dist/packages/ecard/index.scss +20 -2
  103. package/dist/packages/ecard/style.mjs +2 -1
  104. package/dist/packages/elevator/index.scss +14 -0
  105. package/dist/packages/elevator/style.mjs +1 -0
  106. package/dist/packages/ellipsis/style.mjs +1 -0
  107. package/dist/packages/empty/style.mjs +1 -0
  108. package/dist/packages/fixednav/style.mjs +2 -1
  109. package/dist/packages/form/style.mjs +2 -1
  110. package/dist/packages/formitem/style.mjs +2 -1
  111. package/dist/packages/grid/style.mjs +1 -0
  112. package/dist/packages/griditem/style.mjs +1 -0
  113. package/dist/packages/icon/index.scss +1 -0
  114. package/dist/packages/icon/style.mjs +1 -0
  115. package/dist/packages/image/style.mjs +1 -0
  116. package/dist/packages/imagepreview/style.mjs +6 -5
  117. package/dist/packages/indicator/index.scss +4 -4
  118. package/dist/packages/indicator/style.mjs +1 -0
  119. package/dist/packages/infiniteloading/style.mjs +1 -0
  120. package/dist/packages/input/index.scss +6 -2
  121. package/dist/packages/input/style.mjs +1 -0
  122. package/dist/packages/inputnumber/index.scss +5 -1
  123. package/dist/packages/inputnumber/style.mjs +1 -0
  124. package/dist/packages/invoice/style.mjs +8 -7
  125. package/dist/packages/layout/style.mjs +1 -0
  126. package/dist/packages/list/style.mjs +1 -0
  127. package/dist/packages/locale/lang/zh-CN.js +1 -1
  128. package/dist/packages/menu/style.mjs +1 -0
  129. package/dist/packages/menuitem/style.mjs +3 -2
  130. package/dist/packages/navbar/style.mjs +1 -0
  131. package/dist/packages/noticebar/index.scss +13 -10
  132. package/dist/packages/noticebar/style.mjs +1 -0
  133. package/dist/packages/notify/style.mjs +3 -2
  134. package/dist/packages/numberkeyboard/style.mjs +3 -2
  135. package/dist/packages/overlay/style.mjs +1 -0
  136. package/dist/packages/pagination/style.mjs +1 -0
  137. package/dist/packages/picker/style.mjs +3 -2
  138. package/dist/packages/popover/style.mjs +3 -2
  139. package/dist/packages/popup/style.mjs +2 -1
  140. package/dist/packages/price/style.mjs +1 -0
  141. package/dist/packages/progress/index.scss +8 -6
  142. package/dist/packages/progress/style.mjs +1 -0
  143. package/dist/packages/pullrefresh/index.scss +1 -1
  144. package/dist/packages/pullrefresh/style.mjs +1 -0
  145. package/dist/packages/radio/index.scss +14 -2
  146. package/dist/packages/radio/style.mjs +1 -0
  147. package/dist/packages/radiogroup/style.mjs +1 -0
  148. package/dist/packages/range/index.scss +6 -3
  149. package/dist/packages/range/style.mjs +1 -0
  150. package/dist/packages/rate/index.scss +5 -4
  151. package/dist/packages/rate/style.mjs +1 -0
  152. package/dist/packages/row/style.mjs +1 -0
  153. package/dist/packages/searchbar/index.scss +43 -24
  154. package/dist/packages/searchbar/style.mjs +1 -0
  155. package/dist/packages/shortpassword/style.mjs +3 -2
  156. package/dist/packages/sidenavbar/style.mjs +1 -0
  157. package/dist/packages/sidenavbaritem/style.mjs +1 -0
  158. package/dist/packages/signature/index.scss +2 -2
  159. package/dist/packages/signature/style.mjs +2 -1
  160. package/dist/packages/skeleton/style.mjs +2 -1
  161. package/dist/packages/sku/index.scss +16 -2
  162. package/dist/packages/sku/style.mjs +5 -4
  163. package/dist/packages/step/index.scss +1 -9
  164. package/dist/packages/step/style.mjs +1 -0
  165. package/dist/packages/steps/style.mjs +1 -0
  166. package/dist/packages/sticky/index.scss +1 -0
  167. package/dist/packages/sticky/style.mjs +1 -0
  168. package/dist/packages/subsidenavbar/style.mjs +1 -0
  169. package/dist/packages/swipe/style.mjs +1 -0
  170. package/dist/packages/swiper/style.mjs +1 -0
  171. package/dist/packages/swiperitem/style.mjs +1 -0
  172. package/dist/packages/switch/index.scss +7 -0
  173. package/dist/packages/switch/style.mjs +1 -0
  174. package/dist/packages/tabbar/style.mjs +1 -0
  175. package/dist/packages/tabbaritem/index.scss +6 -0
  176. package/dist/packages/tabbaritem/style.mjs +2 -1
  177. package/dist/packages/table/style.mjs +1 -0
  178. package/dist/packages/tabpane/style.mjs +1 -0
  179. package/dist/packages/tabs/style.mjs +2 -1
  180. package/dist/packages/tag/style.mjs +1 -0
  181. package/dist/packages/textarea/index.scss +7 -1
  182. package/dist/packages/textarea/style.mjs +1 -0
  183. package/dist/packages/timedetail/index.scss +14 -6
  184. package/dist/packages/timedetail/style.mjs +1 -0
  185. package/dist/packages/timepannel/style.mjs +1 -0
  186. package/dist/packages/timeselect/style.mjs +3 -2
  187. package/dist/packages/toast/style.mjs +1 -0
  188. package/dist/packages/tour/index.scss +3 -0
  189. package/dist/packages/tour/style.mjs +4 -3
  190. package/dist/packages/trendarrow/style.mjs +1 -0
  191. package/dist/packages/uploader/index.scss +21 -15
  192. package/dist/packages/uploader/style.mjs +3 -2
  193. package/dist/packages/video/style.mjs +1 -0
  194. package/dist/packages/watermark/style.mjs +1 -0
  195. package/dist/smartips/web-types.json +703 -784
  196. package/dist/style.css +1 -1
  197. package/dist/styles/reset.css +3 -0
  198. package/dist/styles/themes/default.scss +52 -53
  199. package/dist/styles/themes/jdb.scss +52 -52
  200. package/dist/styles/themes/jddkh.scss +52 -52
  201. package/dist/styles/themes/jdt.scss +52 -53
  202. package/dist/styles/variables-jdb.scss +7 -14
  203. package/dist/styles/variables-jddkh.scss +7 -13
  204. package/dist/styles/variables-jdt.scss +9 -15
  205. package/dist/styles/variables.scss +16 -26
  206. package/dist/types/__VUE/actionsheet/index.vue.d.ts +18 -9
  207. package/dist/types/__VUE/address/index.vue.d.ts +18 -0
  208. package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +23 -7
  209. package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +2 -2
  210. package/dist/types/__VUE/addresslist/index.vue.d.ts +6 -6
  211. package/dist/types/__VUE/barrage/index.vue.d.ts +2 -4
  212. package/dist/types/__VUE/card/index.vue.d.ts +0 -21
  213. package/dist/types/__VUE/cascader/index.vue.d.ts +18 -0
  214. package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
  215. package/dist/types/__VUE/collapse/index.vue.d.ts +5 -5
  216. package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +2 -2
  217. package/dist/types/__VUE/comment/index.vue.d.ts +4 -4
  218. package/dist/types/__VUE/dialog/index.vue.d.ts +18 -0
  219. package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
  220. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +0 -18
  221. package/dist/types/__VUE/input/index.vue.d.ts +6 -39
  222. package/dist/types/__VUE/noticebar/index.vue.d.ts +6 -20
  223. package/dist/types/__VUE/popover/index.vue.d.ts +0 -9
  224. package/dist/types/__VUE/popup/common.d.ts +8 -0
  225. package/dist/types/__VUE/popup/index.vue.d.ts +18 -0
  226. package/dist/types/__VUE/popup/props.d.ts +8 -0
  227. package/dist/types/__VUE/progress/index.vue.d.ts +1 -0
  228. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +0 -9
  229. package/dist/types/__VUE/rate/index.vue.d.ts +17 -11
  230. package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -1
  231. package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
  232. package/dist/types/__VUE/sku/index.vue.d.ts +18 -0
  233. package/dist/types/__VUE/swiper/index.vue.d.ts +1 -10
  234. package/dist/types/__VUE/table/common.d.ts +9 -9
  235. package/dist/types/__VUE/table/index.vue.d.ts +13 -11
  236. package/dist/types/__VUE/table/renderColumn.d.ts +9 -9
  237. package/dist/types/__VUE/textarea/index.vue.d.ts +5 -0
  238. package/dist/types/__VUE/timedetail/index.vue.d.ts +0 -9
  239. package/dist/types/__VUE/tour/index.vue.d.ts +9 -9
  240. package/dist/types/index.d.ts +1 -1
  241. package/package.json +10 -101
  242. package/dist/nutui.umd.cjs +0 -7
  243. package/dist/packages/_es/Loading-5f2ef345.js +0 -59
  244. package/dist/packages/_es/Loading-ff1ade5e.js +0 -59
  245. package/dist/packages/_es/_plugin-vue_export-helper-214bd398.js +0 -15
  246. package/dist/packages/_es/_plugin-vue_export-helper-3119770d.js +0 -15
  247. package/dist/packages/_es/_plugin-vue_export-helper-40ecb205.js +0 -15
  248. package/dist/packages/_es/_plugin-vue_export-helper-cabb815c.js +0 -15
  249. package/dist/packages/_es/common-1144cf18.js +0 -142
  250. package/dist/packages/_es/common-33d6538d.js +0 -142
  251. package/dist/packages/_es/common-38afc79e.js +0 -142
  252. package/dist/packages/_es/common-fcbd940e.js +0 -142
  253. package/dist/packages/_es/component-555f9132.js +0 -150
  254. package/dist/packages/_es/component-93f40b7f.js +0 -144
  255. package/dist/packages/_es/component-cb778481.js +0 -150
  256. package/dist/packages/_es/component-f9e4b05e.js +0 -144
  257. package/dist/packages/_es/index-122e380e.js +0 -15
  258. package/dist/packages/_es/index-15d5ca2c.js +0 -35
  259. package/dist/packages/_es/index-16f572cc.js +0 -52
  260. package/dist/packages/_es/index-18e7c77e.js +0 -38
  261. package/dist/packages/_es/index-22af3a75.js +0 -35
  262. package/dist/packages/_es/index-2d3e73a7.js +0 -239
  263. package/dist/packages/_es/index-375f2695.js +0 -15
  264. package/dist/packages/_es/index-57aa518c.js +0 -13
  265. package/dist/packages/_es/index-65e55319.js +0 -72
  266. package/dist/packages/_es/index-673e467d.js +0 -72
  267. package/dist/packages/_es/index-69b79b10.js +0 -52
  268. package/dist/packages/_es/index-7386d8ea.js +0 -35
  269. package/dist/packages/_es/index-75be4de5.js +0 -72
  270. package/dist/packages/_es/index-7653e348.js +0 -814
  271. package/dist/packages/_es/index-83f367f2.js +0 -15
  272. package/dist/packages/_es/index-a0ae7438.js +0 -72
  273. package/dist/packages/_es/index-abb46652.js +0 -13
  274. package/dist/packages/_es/index-bd90ef5b.js +0 -38
  275. package/dist/packages/_es/index-dd23f7fc.js +0 -35
  276. package/dist/packages/_es/index-ec1281d1.js +0 -15
  277. package/dist/packages/_es/index-ee55d99f.js +0 -814
  278. package/dist/packages/_es/index-f9640059.js +0 -239
  279. package/dist/packages/_es/index.taro-15624a72.js +0 -833
  280. package/dist/packages/_es/index.taro-2ce92fc8.js +0 -76
  281. package/dist/packages/_es/index.taro-356b6989.js +0 -238
  282. package/dist/packages/_es/index.taro-5564033f.js +0 -833
  283. package/dist/packages/_es/index.taro-be0723aa.js +0 -76
  284. package/dist/packages/_es/index.taro-da1bc684.js +0 -238
  285. package/dist/packages/_es/index.taro.vue_vue_type_script_lang-5696dfc0.js +0 -102
  286. package/dist/packages/_es/index.taro.vue_vue_type_script_lang-5b67ab83.js +0 -102
  287. package/dist/packages/_es/index.vue_vue_type_script_lang-164ba0ab.js +0 -102
  288. package/dist/packages/_es/index.vue_vue_type_script_lang-1c056efc.js +0 -156
  289. package/dist/packages/_es/index.vue_vue_type_script_lang-2c5dd6ac.js +0 -50
  290. package/dist/packages/_es/index.vue_vue_type_script_lang-3bc78a6d.js +0 -156
  291. package/dist/packages/_es/index.vue_vue_type_script_lang-630bc089.js +0 -50
  292. package/dist/packages/_es/index.vue_vue_type_script_lang-ba9e696d.js +0 -50
  293. package/dist/packages/_es/index.vue_vue_type_script_lang-cab1cdc4.js +0 -102
  294. package/dist/packages/_es/index.vue_vue_type_script_lang-f91aa3ff.js +0 -50
  295. package/dist/packages/_es/interceptor-5d3d8b0a.js +0 -34
  296. package/dist/packages/_es/interceptor-bf7033c2.js +0 -34
  297. package/dist/packages/_es/interceptor-ccd1403c.js +0 -34
  298. package/dist/packages/_es/interceptor-dbee5851.js +0 -34
  299. package/dist/packages/_es/mountComponent-1316c4a2.js +0 -44
  300. package/dist/packages/_es/mountComponent-3f8ea19f.js +0 -44
  301. package/dist/packages/_es/pxCheck-110c0d58.js +0 -11
  302. package/dist/packages/_es/pxCheck-42d1a00f.js +0 -11
  303. package/dist/packages/_es/pxCheck-62a0c829.js +0 -11
  304. package/dist/packages/_es/pxCheck-70f351cb.js +0 -11
  305. package/dist/packages/_es/raf-182636f4.js +0 -30
  306. package/dist/packages/_es/raf-2ee3bcbb.js +0 -30
  307. package/dist/packages/_es/raf-6ea498df.js +0 -21
  308. package/dist/packages/_es/raf-8518c796.js +0 -21
  309. package/dist/packages/_es/renderIcon-0d8f6335.js +0 -14
  310. package/dist/packages/_es/renderIcon-1be33355.js +0 -14
  311. package/dist/packages/_es/renderIcon-ba0fcba3.js +0 -14
  312. package/dist/packages/_es/renderIcon-bde9e715.js +0 -14
  313. package/dist/packages/_es/style.css +0 -16
  314. package/dist/packages/_es/style_icon-299fd467.js +0 -6
  315. package/dist/packages/_es/style_icon-8872f331.js +0 -6
  316. package/dist/packages/actionsheet/style.cjs +0 -3
  317. package/dist/packages/address/style.cjs +0 -4
  318. package/dist/packages/addresslist/style.cjs +0 -3
  319. package/dist/packages/animate/style.cjs +0 -1
  320. package/dist/packages/audio/style.cjs +0 -2
  321. package/dist/packages/audiooperate/style.cjs +0 -2
  322. package/dist/packages/avatar/style.cjs +0 -1
  323. package/dist/packages/avatargroup/style.cjs +0 -1
  324. package/dist/packages/backtop/style.cjs +0 -1
  325. package/dist/packages/badge/style.cjs +0 -1
  326. package/dist/packages/barrage/style.cjs +0 -1
  327. package/dist/packages/button/style.cjs +0 -1
  328. package/dist/packages/calendar/style.cjs +0 -4
  329. package/dist/packages/calendaritem/style.cjs +0 -1
  330. package/dist/packages/card/style.cjs +0 -3
  331. package/dist/packages/cascader/style.cjs +0 -6
  332. package/dist/packages/category/style.cjs +0 -1
  333. package/dist/packages/categorypane/style.cjs +0 -1
  334. package/dist/packages/cell/style.cjs +0 -1
  335. package/dist/packages/cellgroup/style.cjs +0 -1
  336. package/dist/packages/checkbox/style.cjs +0 -1
  337. package/dist/packages/checkboxgroup/style.cjs +0 -1
  338. package/dist/packages/circleprogress/style.cjs +0 -1
  339. package/dist/packages/col/style.cjs +0 -1
  340. package/dist/packages/collapse/style.cjs +0 -1
  341. package/dist/packages/collapseitem/style.cjs +0 -1
  342. package/dist/packages/comment/style.cjs +0 -2
  343. package/dist/packages/configprovider/style.cjs +0 -1
  344. package/dist/packages/countdown/style.cjs +0 -1
  345. package/dist/packages/countup/style.cjs +0 -1
  346. package/dist/packages/datepicker/style.cjs +0 -4
  347. package/dist/packages/dialog/style.cjs +0 -4
  348. package/dist/packages/divider/style.cjs +0 -1
  349. package/dist/packages/drag/style.cjs +0 -1
  350. package/dist/packages/ecard/style.cjs +0 -2
  351. package/dist/packages/elevator/style.cjs +0 -1
  352. package/dist/packages/ellipsis/style.cjs +0 -1
  353. package/dist/packages/empty/style.cjs +0 -1
  354. package/dist/packages/fixednav/style.cjs +0 -2
  355. package/dist/packages/form/style.cjs +0 -2
  356. package/dist/packages/formitem/style.cjs +0 -2
  357. package/dist/packages/grid/style.cjs +0 -1
  358. package/dist/packages/griditem/style.cjs +0 -1
  359. package/dist/packages/icon/style.cjs +0 -1
  360. package/dist/packages/image/style.cjs +0 -1
  361. package/dist/packages/imagepreview/style.cjs +0 -6
  362. package/dist/packages/indicator/style.cjs +0 -1
  363. package/dist/packages/infiniteloading/style.cjs +0 -1
  364. package/dist/packages/input/style.cjs +0 -1
  365. package/dist/packages/inputnumber/style.cjs +0 -1
  366. package/dist/packages/invoice/style.cjs +0 -8
  367. package/dist/packages/layout/style.cjs +0 -1
  368. package/dist/packages/list/style.cjs +0 -1
  369. package/dist/packages/locale/lang/baseLang-0e7bcba4.js +0 -10
  370. package/dist/packages/locale/lang/baseLang-5db74119.js +0 -10
  371. package/dist/packages/locale/lang/baseLang-6070c617.js +0 -10
  372. package/dist/packages/locale/lang/baseLang-8d65df5e.js +0 -10
  373. package/dist/packages/menu/style.cjs +0 -1
  374. package/dist/packages/menuitem/style.cjs +0 -3
  375. package/dist/packages/navbar/style.cjs +0 -1
  376. package/dist/packages/noticebar/style.cjs +0 -1
  377. package/dist/packages/notify/style.cjs +0 -3
  378. package/dist/packages/numberkeyboard/style.cjs +0 -3
  379. package/dist/packages/overlay/style.cjs +0 -1
  380. package/dist/packages/pagination/style.cjs +0 -1
  381. package/dist/packages/picker/style.cjs +0 -3
  382. package/dist/packages/popover/style.cjs +0 -3
  383. package/dist/packages/popup/style.cjs +0 -2
  384. package/dist/packages/price/style.cjs +0 -1
  385. package/dist/packages/progress/style.cjs +0 -1
  386. package/dist/packages/pullrefresh/style.cjs +0 -1
  387. package/dist/packages/radio/style.cjs +0 -1
  388. package/dist/packages/radiogroup/style.cjs +0 -1
  389. package/dist/packages/range/style.cjs +0 -1
  390. package/dist/packages/rate/style.cjs +0 -1
  391. package/dist/packages/row/style.cjs +0 -1
  392. package/dist/packages/searchbar/style.cjs +0 -1
  393. package/dist/packages/shortpassword/style.cjs +0 -3
  394. package/dist/packages/sidenavbar/style.cjs +0 -1
  395. package/dist/packages/sidenavbaritem/style.cjs +0 -1
  396. package/dist/packages/signature/style.cjs +0 -2
  397. package/dist/packages/skeleton/style.cjs +0 -2
  398. package/dist/packages/sku/style.cjs +0 -5
  399. package/dist/packages/step/style.cjs +0 -1
  400. package/dist/packages/steps/style.cjs +0 -1
  401. package/dist/packages/sticky/style.cjs +0 -1
  402. package/dist/packages/subsidenavbar/style.cjs +0 -1
  403. package/dist/packages/swipe/style.cjs +0 -1
  404. package/dist/packages/swiper/style.cjs +0 -1
  405. package/dist/packages/swiperitem/style.cjs +0 -1
  406. package/dist/packages/switch/style.cjs +0 -1
  407. package/dist/packages/tabbar/style.cjs +0 -1
  408. package/dist/packages/tabbaritem/style.cjs +0 -2
  409. package/dist/packages/table/style.cjs +0 -1
  410. package/dist/packages/tabpane/style.cjs +0 -1
  411. package/dist/packages/tabs/style.cjs +0 -2
  412. package/dist/packages/tag/style.cjs +0 -1
  413. package/dist/packages/textarea/style.cjs +0 -1
  414. package/dist/packages/timedetail/style.cjs +0 -1
  415. package/dist/packages/timepannel/style.cjs +0 -1
  416. package/dist/packages/timeselect/style.cjs +0 -3
  417. package/dist/packages/toast/style.cjs +0 -1
  418. package/dist/packages/tour/style.cjs +0 -4
  419. package/dist/packages/trendarrow/style.cjs +0 -1
  420. package/dist/packages/uploader/style.cjs +0 -3
  421. package/dist/packages/video/style.cjs +0 -1
  422. package/dist/packages/watermark/style.cjs +0 -1
  423. package/dist/smartips/attributes.json +0 -2814
  424. package/dist/smartips/tags.json +0 -1048
  425. package/dist/styles/theme-deafult.scss +0 -919
  426. package/dist/styles/theme-jdt.scss +0 -892
  427. package/dist/styles/variables-var.scss +0 -854
  428. package/dist/types/__VUE/actionsheet/index.taro.vue.d.ts +0 -292
  429. package/dist/types/__VUE/address/index.taro.vue.d.ts +0 -377
  430. package/dist/types/__VUE/addresslist/components/SwipeShell.vue.d.ts +0 -26
  431. package/dist/types/__VUE/addresslist/index.taro.vue.d.ts +0 -83
  432. package/dist/types/__VUE/animate/index.taro.vue.d.ts +0 -54
  433. package/dist/types/__VUE/avatar/index.taro.vue.d.ts +0 -76
  434. package/dist/types/__VUE/avatargroup/index.taro.vue.d.ts +0 -92
  435. package/dist/types/__VUE/backtop/index.taro.vue.d.ts +0 -76
  436. package/dist/types/__VUE/badge/index.taro.vue.d.ts +0 -93
  437. package/dist/types/__VUE/barrage/index.taro.vue.d.ts +0 -81
  438. package/dist/types/__VUE/button/index.taro.vue.d.ts +0 -117
  439. package/dist/types/__VUE/calendar/index.taro.vue.d.ts +0 -187
  440. package/dist/types/__VUE/calendaritem/index.taro.vue.d.ts +0 -217
  441. package/dist/types/__VUE/card/index.taro.vue.d.ts +0 -89
  442. package/dist/types/__VUE/cascader/cascader-item.taro.vue.d.ts +0 -77
  443. package/dist/types/__VUE/cascader/index.taro.vue.d.ts +0 -245
  444. package/dist/types/__VUE/category/index.taro.vue.d.ts +0 -42
  445. package/dist/types/__VUE/categorypane/index.taro.vue.d.ts +0 -54
  446. package/dist/types/__VUE/cell/index.taro.vue.d.ts +0 -124
  447. package/dist/types/__VUE/checkbox/index.taro.vue.d.ts +0 -12
  448. package/dist/types/__VUE/circleprogress/index.taro.vue.d.ts +0 -93
  449. package/dist/types/__VUE/collapse/index.taro.vue.d.ts +0 -38
  450. package/dist/types/__VUE/collapseitem/index.taro.vue.d.ts +0 -111
  451. package/dist/types/__VUE/comment/index.taro.vue.d.ts +0 -119
  452. package/dist/types/__VUE/configprovider/index.taro.vue.d.ts +0 -45
  453. package/dist/types/__VUE/countdown/index.taro.vue.d.ts +0 -103
  454. package/dist/types/__VUE/countup/index.taro.vue.d.ts +0 -213
  455. package/dist/types/__VUE/datepicker/index.taro.vue.d.ts +0 -232
  456. package/dist/types/__VUE/dialog/index.taro.vue.d.ts +0 -327
  457. package/dist/types/__VUE/divider/index.taro.vue.d.ts +0 -53
  458. package/dist/types/__VUE/drag/index.taro.vue.d.ts +0 -62
  459. package/dist/types/__VUE/ecard/index.taro.vue.d.ts +0 -128
  460. package/dist/types/__VUE/elevator/index.taro.vue.d.ts +0 -119
  461. package/dist/types/__VUE/ellipsis/index.taro.vue.d.ts +0 -103
  462. package/dist/types/__VUE/empty/index.taro.vue.d.ts +0 -46
  463. package/dist/types/__VUE/fixednav/index.taro.vue.d.ts +0 -105
  464. package/dist/types/__VUE/form/index.taro.vue.d.ts +0 -40
  465. package/dist/types/__VUE/formitem/index.taro.vue.d.ts +0 -114
  466. package/dist/types/__VUE/grid/index.taro.vue.d.ts +0 -84
  467. package/dist/types/__VUE/griditem/index.taro.vue.d.ts +0 -22
  468. package/dist/types/__VUE/icon/index.taro.vue.d.ts +0 -12
  469. package/dist/types/__VUE/image/index.taro.vue.d.ts +0 -32
  470. package/dist/types/__VUE/imagepreview/index.taro.vue.d.ts +0 -172
  471. package/dist/types/__VUE/indicator/index.taro.vue.d.ts +0 -70
  472. package/dist/types/__VUE/input/index.taro.vue.d.ts +0 -257
  473. package/dist/types/__VUE/inputnumber/index.taro.vue.d.ts +0 -116
  474. package/dist/types/__VUE/invoice/index.taro.vue.d.ts +0 -52
  475. package/dist/types/__VUE/layout/index.taro.vue.d.ts +0 -12
  476. package/dist/types/__VUE/list/index.taro.vue.d.ts +0 -58
  477. package/dist/types/__VUE/menu/index.taro.vue.d.ts +0 -93
  478. package/dist/types/__VUE/menuitem/index.taro.vue.d.ts +0 -89
  479. package/dist/types/__VUE/navbar/index.taro.vue.d.ts +0 -121
  480. package/dist/types/__VUE/noticebar/index.taro.vue.d.ts +0 -217
  481. package/dist/types/__VUE/notify/index.taro.vue.d.ts +0 -97
  482. package/dist/types/__VUE/numberkeyboard/index.taro.vue.d.ts +0 -132
  483. package/dist/types/__VUE/overlay/index.taro.vue.d.ts +0 -85
  484. package/dist/types/__VUE/pagination/index.taro.vue.d.ts +0 -111
  485. package/dist/types/__VUE/picker/index.taro.vue.d.ts +0 -14
  486. package/dist/types/__VUE/popover/index.taro.vue.d.ts +0 -201
  487. package/dist/types/__VUE/popup/index.taro.vue.d.ts +0 -201
  488. package/dist/types/__VUE/price/index.taro.vue.d.ts +0 -87
  489. package/dist/types/__VUE/progress/index.taro.vue.d.ts +0 -128
  490. package/dist/types/__VUE/radio/index.taro.vue.d.ts +0 -53
  491. package/dist/types/__VUE/range/index.taro.vue.d.ts +0 -158
  492. package/dist/types/__VUE/rate/index.taro.vue.d.ts +0 -124
  493. package/dist/types/__VUE/scrollView/index.taro.vue.d.ts +0 -14
  494. package/dist/types/__VUE/searchbar/index.taro.vue.d.ts +0 -177
  495. package/dist/types/__VUE/shortpassword/index.taro.vue.d.ts +0 -103
  496. package/dist/types/__VUE/sidenavbar/index.taro.vue.d.ts +0 -31
  497. package/dist/types/__VUE/signature/index.taro.vue.d.ts +0 -83
  498. package/dist/types/__VUE/skeleton/index.taro.vue.d.ts +0 -115
  499. package/dist/types/__VUE/sku/index.taro.vue.d.ts +0 -182
  500. package/dist/types/__VUE/steps/index.taro.vue.d.ts +0 -46
  501. package/dist/types/__VUE/sticky/index.taro.vue.d.ts +0 -47
  502. package/dist/types/__VUE/swipe/index.taro.vue.d.ts +0 -71
  503. package/dist/types/__VUE/swiper/index.taro.vue.d.ts +0 -176
  504. package/dist/types/__VUE/swiper/use-touch.d.ts +0 -16
  505. package/dist/types/__VUE/swiperitem/index.taro.vue.d.ts +0 -18
  506. package/dist/types/__VUE/switch/index.taro.vue.d.ts +0 -108
  507. package/dist/types/__VUE/tabbar/index.taro.vue.d.ts +0 -93
  508. package/dist/types/__VUE/tabbaritem/index.taro.vue.d.ts +0 -59
  509. package/dist/types/__VUE/table/index.taro.vue.d.ts +0 -78
  510. package/dist/types/__VUE/tabs/index.taro.vue.d.ts +0 -164
  511. package/dist/types/__VUE/tag/index.taro.vue.d.ts +0 -90
  512. package/dist/types/__VUE/textarea/index.taro.vue.d.ts +0 -122
  513. package/dist/types/__VUE/timedetail/index.taro.vue.d.ts +0 -47
  514. package/dist/types/__VUE/timepannel/index.taro.vue.d.ts +0 -42
  515. package/dist/types/__VUE/timeselect/index.taro.vue.d.ts +0 -91
  516. package/dist/types/__VUE/toast/index.taro.vue.d.ts +0 -184
  517. package/dist/types/__VUE/tour/index.taro.vue.d.ts +0 -192
  518. package/dist/types/__VUE/trendarrow/index.taro.vue.d.ts +0 -105
  519. package/dist/types/__VUE/uploader/index.taro.vue.d.ts +0 -260
  520. package/dist/types/__VUE/watermark/index.taro.vue.d.ts +0 -175
@@ -1,4 +1,4 @@
1
- import { useSlots, computed, ref, onMounted, onUnmounted, onDeactivated, watch, nextTick, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode } from "vue";
1
+ import { useSlots, computed, ref, onMounted, onUnmounted, watch, nextTick, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode } from "vue";
2
2
  import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
@@ -31,8 +31,7 @@ const _sfc_main = create({
31
31
  default: true
32
32
  }
33
33
  },
34
- emits: ["click"],
35
- setup(props, { slots }) {
34
+ setup(props) {
36
35
  const classTime = new Date().getTime();
37
36
  const slotDefault = !!useSlots().default;
38
37
  const classes = computed(() => {
@@ -51,36 +50,58 @@ const _sfc_main = create({
51
50
  const speeds = props.speeds;
52
51
  const danmuCWidth = ref(0);
53
52
  onMounted(() => {
54
- var _a;
55
- danmuCWidth.value = dmBody.value.offsetWidth;
53
+ init();
56
54
  if (slotDefault) {
57
- const list = document.getElementsByClassName("slotBody" + classTime);
58
- let childrens = ((_a = list == null ? void 0 : list[0]) == null ? void 0 : _a.children) || [];
59
- const dmList = [];
60
- if (childrens) {
61
- Array.from(childrens).forEach((item) => {
62
- item.style.opacity = "0";
63
- dmList.push(item);
64
- });
65
- }
66
- danmuList.value = dmList;
55
+ document.addEventListener("visibilitychange", function() {
56
+ if (document.visibilityState === "hidden") {
57
+ clearTime();
58
+ index2.value = 0;
59
+ eleSlot("hidden");
60
+ } else if (document.visibilityState === "visible") {
61
+ init();
62
+ }
63
+ });
67
64
  }
68
- setTimeout(() => {
69
- var _a2;
70
- (_a2 = dmBody.value) == null ? void 0 : _a2.style.setProperty("--move-distance", `-${danmuCWidth.value}px`);
71
- run();
72
- }, 300);
73
65
  });
74
66
  onUnmounted(() => {
75
67
  danmuList.value = [];
76
- clearInterval(timer);
77
- timer = 0;
68
+ clearTime();
78
69
  });
79
- onDeactivated(() => {
80
- danmuList.value = [];
81
- clearInterval(timer);
70
+ const init = () => {
71
+ danmuCWidth.value = dmBody.value.offsetWidth;
72
+ if (slotDefault) {
73
+ eleSlot("init");
74
+ }
75
+ setTimeout(() => {
76
+ var _a;
77
+ (_a = dmBody.value) == null ? void 0 : _a.style.setProperty("--move-distance", `-${danmuCWidth.value}px`);
78
+ run();
79
+ }, 300);
80
+ };
81
+ const eleSlot = (flag) => {
82
+ var _a;
83
+ const list = document.getElementsByClassName("slotBody" + classTime);
84
+ let childrens = ((_a = list == null ? void 0 : list[0]) == null ? void 0 : _a.children) || [];
85
+ const dmList = [];
86
+ if (childrens) {
87
+ Array.from(childrens).forEach((item) => {
88
+ if (flag == "init") {
89
+ item.style.opacity = "0";
90
+ dmList.push(item);
91
+ } else {
92
+ item.classList = "";
93
+ item.style = {};
94
+ }
95
+ });
96
+ }
97
+ if (flag == "init") {
98
+ danmuList.value = dmList;
99
+ }
100
+ };
101
+ const clearTime = () => {
102
+ clearTimeout(timer);
82
103
  timer = 0;
83
- });
104
+ };
84
105
  watch(
85
106
  () => props.danmu,
86
107
  (newValue) => {
@@ -98,11 +119,9 @@ const _sfc_main = create({
98
119
  }
99
120
  };
100
121
  const run = () => {
101
- clearInterval(timer);
102
- timer = 0;
122
+ clearTime();
103
123
  timer = setTimeout(() => {
104
124
  play();
105
- run();
106
125
  }, props.frequency);
107
126
  };
108
127
  const play = () => {
@@ -131,21 +150,20 @@ const _sfc_main = create({
131
150
  const width = el.offsetWidth;
132
151
  el.style.width = width + 20 + "px";
133
152
  }
134
- el.dataset.index = `${_index}`;
135
- if (slotDefault) {
136
- index2.value++;
137
- el.addEventListener("animationend", () => {
138
- var _a3;
139
- if ((_a3 = el == null ? void 0 : el.classList) == null ? void 0 : _a3.contains("move")) {
140
- el.classList.remove("move");
141
- }
142
- });
143
- } else {
144
- el.addEventListener("animationend", () => {
153
+ el.addEventListener("animationend", () => {
154
+ if (slotDefault) {
155
+ el.classList.remove("move");
156
+ } else {
145
157
  dmContainer.value.removeChild(el);
146
- });
147
- index2.value++;
158
+ }
159
+ });
160
+ index2.value++;
161
+ if (index2.value >= danmuList.value.length) {
162
+ index2.value = 0;
148
163
  }
164
+ el.removeEventListener("animationend", () => {
165
+ });
166
+ run();
149
167
  });
150
168
  };
151
169
  return { classTime, classes, danmuList, dmBody, dmContainer, add };
@@ -1,7 +1,7 @@
1
1
  import { computed, ref, resolveComponent, openBlock, createBlock, withCtx, createSlots, renderSlot, createCommentVNode } from "vue";
2
2
  import { c as createComponent } from "./component-81a4c1d0.js";
3
- import { C as CalendarItem, U as Utils } from "./index-350a8abd.js";
4
- import { P as Popup } from "./index-da7aa231.js";
3
+ import { C as CalendarItem, U as Utils } from "./index-fa0050c9.js";
4
+ import { P as Popup } from "./index-991c279f.js";
5
5
  import { u as useExpose } from "./index-79c5dc33.js";
6
6
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
7
7
  import "../locale/lang";
@@ -86,13 +86,13 @@ const _sfc_main = create({
86
86
  return slots.btn;
87
87
  });
88
88
  const topInfo = computed(() => {
89
- return slots.topInfo;
89
+ return slots["top-info"];
90
90
  });
91
91
  const dayInfo = computed(() => {
92
92
  return slots.day;
93
93
  });
94
94
  const bottomInfo = computed(() => {
95
- return slots.bottomInfo;
95
+ return slots["bottom-info"];
96
96
  });
97
97
  const calendarRef = ref(null);
98
98
  const scrollToDate = (date) => {
@@ -189,18 +189,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
189
189
  key: "1"
190
190
  } : void 0,
191
191
  _ctx.topInfo ? {
192
- name: "topInfo",
192
+ name: "top-info",
193
193
  fn: withCtx((date) => [
194
- renderSlot(_ctx.$slots, "topInfo", {
194
+ renderSlot(_ctx.$slots, "top-info", {
195
195
  date: date.date
196
196
  })
197
197
  ]),
198
198
  key: "2"
199
199
  } : void 0,
200
200
  _ctx.bottomInfo ? {
201
- name: "bottomInfo",
201
+ name: "bottom-info",
202
202
  fn: withCtx((date) => [
203
- renderSlot(_ctx.$slots, "bottomInfo", {
203
+ renderSlot(_ctx.$slots, "bottom-info", {
204
204
  date: date.date
205
205
  })
206
206
  ]),
@@ -249,18 +249,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
249
249
  key: "1"
250
250
  } : void 0,
251
251
  _ctx.topInfo ? {
252
- name: "topInfo",
252
+ name: "top-info",
253
253
  fn: withCtx((date) => [
254
- renderSlot(_ctx.$slots, "topInfo", {
254
+ renderSlot(_ctx.$slots, "top-info", {
255
255
  date: date.date
256
256
  })
257
257
  ]),
258
258
  key: "2"
259
259
  } : void 0,
260
260
  _ctx.bottomInfo ? {
261
- name: "bottomInfo",
261
+ name: "bottom-info",
262
262
  fn: withCtx((date) => [
263
- renderSlot(_ctx.$slots, "bottomInfo", {
263
+ renderSlot(_ctx.$slots, "bottom-info", {
264
264
  date: date.date
265
265
  })
266
266
  ]),
@@ -1,4 +1,4 @@
1
- import { C } from "./index-350a8abd.js";
1
+ import { C } from "./index-fa0050c9.js";
2
2
  import "vue";
3
3
  import "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "./component-81a4c1d0.js";
@@ -13,32 +13,25 @@ const _sfc_main = create({
13
13
  },
14
14
  props: {
15
15
  imgUrl: {
16
- type: String,
17
- default: ""
16
+ type: String
18
17
  },
19
18
  title: {
20
- type: String,
21
- default: ""
19
+ type: String
22
20
  },
23
21
  price: {
24
- type: String,
25
- default: ""
22
+ type: String
26
23
  },
27
24
  vipPrice: {
28
- type: String,
29
- default: ""
25
+ type: String
30
26
  },
31
27
  shopDesc: {
32
- type: String,
33
- default: ""
28
+ type: String
34
29
  },
35
30
  delivery: {
36
- type: String,
37
- default: ""
31
+ type: String
38
32
  },
39
33
  shopName: {
40
- type: String,
41
- default: ""
34
+ type: String
42
35
  },
43
36
  isNeedPrice: {
44
37
  type: Boolean,
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => {
5
5
  return value;
6
6
  };
7
7
  import { computed, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, createVNode } from "vue";
8
- import { P as Popup, p as popupProps } from "./index-da7aa231.js";
8
+ import { P as Popup, p as popupProps } from "./index-991c279f.js";
9
9
  import { c as createComponent } from "./component-81a4c1d0.js";
10
10
  import { Loading, Checklist } from "@nutui/icons-vue";
11
11
  import Tabs from "./Tabs.js";
@@ -520,8 +520,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
520
520
  position: "bottom",
521
521
  "pop-class": "nut-cascader__popup",
522
522
  round: "",
523
- closeable: !_ctx.closeable,
524
- "close-icon": _ctx.closeIcon,
523
+ closeable: _ctx.closeable,
525
524
  "destroy-on-close": false,
526
525
  "close-icon-position": _ctx.closeIconPosition
527
526
  }, {
@@ -546,7 +545,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
546
545
  }, null, 8, ["onChange", "onPathChange", "modelValue", "options", "lazy", "lazy-load", "value-key", "text-key", "children-key", "convert-config", "visible"])
547
546
  ]),
548
547
  _: 1
549
- }, 8, ["visible", "closeable", "close-icon", "close-icon-position"])) : (openBlock(), createBlock(_component_nut_cascader_item, {
548
+ }, 8, ["visible", "closeable", "close-icon-position"])) : (openBlock(), createBlock(_component_nut_cascader_item, {
550
549
  key: 1,
551
550
  onChange: _ctx.onChange,
552
551
  onPathChange: _ctx.onPathChange,
@@ -5,7 +5,7 @@ import "../locale/lang";
5
5
  const { create, componentName } = createComponent("collapse");
6
6
  const _sfc_main = create({
7
7
  props: {
8
- active: {
8
+ modelValue: {
9
9
  type: [String, Number, Array],
10
10
  default: () => []
11
11
  },
@@ -14,7 +14,7 @@ const _sfc_main = create({
14
14
  default: false
15
15
  }
16
16
  },
17
- emits: ["update:active", "change"],
17
+ emits: ["update:modelValue", "change"],
18
18
  setup(props, { emit }) {
19
19
  const collapseDom = ref(null);
20
20
  const collapseChldren = ref([]);
@@ -25,7 +25,7 @@ const _sfc_main = create({
25
25
  };
26
26
  });
27
27
  watch(
28
- () => props.active,
28
+ () => props.modelValue,
29
29
  (newval) => {
30
30
  let doms = collapseChldren.value;
31
31
  Array.from(doms).forEach((item) => {
@@ -43,11 +43,11 @@ const _sfc_main = create({
43
43
  collapseChldren.value = getCurrentInstance().provides.collapseParent.children || [];
44
44
  });
45
45
  const changeVal = (val) => {
46
- emit("update:active", val);
46
+ emit("update:modelValue", val);
47
47
  emit("change", val);
48
48
  };
49
49
  const changeValAry = (name) => {
50
- const activeItem = props.active instanceof Object ? Object.values(props.active) : props.active;
50
+ const activeItem = props.modelValue instanceof Object ? Object.values(props.modelValue) : props.modelValue;
51
51
  let index2 = -1;
52
52
  activeItem.forEach((item, idx) => {
53
53
  if (String(item) == String(name)) {
@@ -58,9 +58,9 @@ const _sfc_main = create({
58
58
  changeVal(activeItem);
59
59
  };
60
60
  const isExpanded = (name) => {
61
- const { accordion, active } = props;
61
+ const { accordion, modelValue } = props;
62
62
  if (accordion) {
63
- return typeof active === "number" || typeof active === "string" ? active == name : false;
63
+ return typeof modelValue === "number" || typeof modelValue === "string" ? modelValue == name : false;
64
64
  }
65
65
  };
66
66
  provide("collapseParent", {
@@ -98,7 +98,7 @@ const _sfc_main = create({
98
98
  const toggleOpen = () => {
99
99
  if (parent.props.accordion) {
100
100
  nextTick(() => {
101
- if (currentName.value == parent.props.active) {
101
+ if (currentName.value == parent.props.modelValue) {
102
102
  open();
103
103
  } else {
104
104
  parent.changeVal(currentName.value);
@@ -125,7 +125,7 @@ const _sfc_main = create({
125
125
  });
126
126
  const init = () => {
127
127
  const { name } = props;
128
- const active = parent && parent.props.active;
128
+ const active = parent && parent.props.modelValue;
129
129
  nextTick(() => {
130
130
  if (typeof active == "number" || typeof active == "string") {
131
131
  if (name == active) {
@@ -205,7 +205,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
205
205
  }, [
206
206
  createElementVNode("view", _hoisted_1, [
207
207
  createElementVNode("view", _hoisted_2, [
208
- _ctx.$slots.mTitle ? renderSlot(_ctx.$slots, "mTitle", { key: 0 }) : (openBlock(), createElementBlock("view", {
208
+ _ctx.$slots.title ? renderSlot(_ctx.$slots, "title", { key: 0 }) : (openBlock(), createElementBlock("view", {
209
209
  key: 1,
210
210
  innerHTML: _ctx.title,
211
211
  class: "nut-collapse-item__title-mtitle"
@@ -227,9 +227,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
227
227
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.renderIcon(_ctx.icon))))
228
228
  ], 6)
229
229
  ], 2),
230
- _ctx.$slots.extraRender ? (openBlock(), createElementBlock("view", _hoisted_7, [
230
+ _ctx.$slots.extra ? (openBlock(), createElementBlock("view", _hoisted_7, [
231
231
  createElementVNode("div", _hoisted_8, [
232
- renderSlot(_ctx.$slots, "extraRender")
232
+ renderSlot(_ctx.$slots, "extra")
233
233
  ])
234
234
  ])) : createCommentVNode("", true),
235
235
  createElementVNode("view", _hoisted_9, [
@@ -1,6 +1,6 @@
1
1
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, createCommentVNode, normalizeClass, toDisplayString, renderSlot, createVNode, ref, watch, onMounted, Fragment, renderList, createBlock, computed, withCtx, normalizeStyle, createTextVNode } from "vue";
2
2
  import { c as createComponent } from "./component-81a4c1d0.js";
3
- import { Right, Fabulous, Comment, MoreX, JoySmile } from "@nutui/icons-vue";
3
+ import { Right, Fabulous, Comment, MoreX } from "@nutui/icons-vue";
4
4
  import Rate from "./Rate.js";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
6
6
  import "../locale/lang";
@@ -9,6 +9,9 @@ import "./pxCheck-c6b9f6b7.js";
9
9
  import "./index-7a7385e4.js";
10
10
  const { componentName: componentName$3, create: create$3 } = createComponent("comment-header");
11
11
  const _sfc_main$3 = create$3({
12
+ components: {
13
+ [Rate.name]: Rate
14
+ },
12
15
  props: {
13
16
  type: {
14
17
  type: String,
@@ -69,7 +72,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
69
72
  createVNode(_component_nut_rate, {
70
73
  modelValue: _ctx.info.score,
71
74
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.info.score = $event),
72
- "icon-size": "10",
75
+ size: "12",
73
76
  spacing: "5",
74
77
  readonly: "",
75
78
  onChange: _ctx.handleClick
@@ -94,7 +97,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
94
97
  createVNode(_component_nut_rate, {
95
98
  modelValue: _ctx.info.score,
96
99
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.info.score = $event),
97
- "icon-size": "12",
100
+ size: "12",
98
101
  spacing: "3",
99
102
  readonly: ""
100
103
  }, null, 8, ["modelValue"]),
@@ -219,8 +222,7 @@ const _sfc_main$1 = create$1({
219
222
  },
220
223
  info: {
221
224
  type: Object,
222
- default: () => {
223
- }
225
+ default: () => ({})
224
226
  },
225
227
  operation: {
226
228
  type: Array,
@@ -319,13 +321,11 @@ const _sfc_main = create({
319
321
  },
320
322
  info: {
321
323
  type: Object,
322
- default: () => {
323
- }
324
+ default: () => ({})
324
325
  },
325
326
  follow: {
326
327
  type: Object,
327
- default: () => {
328
- }
328
+ default: () => ({})
329
329
  },
330
330
  labels: {
331
331
  type: Function,
@@ -337,12 +337,10 @@ const _sfc_main = create({
337
337
  }
338
338
  },
339
339
  components: {
340
- [Rate.name]: Rate,
341
340
  CommentHeader,
342
341
  CommentImages,
343
342
  CommentBottom,
344
- Right,
345
- JoySmile
343
+ Right
346
344
  },
347
345
  emits: ["click", "clickImages", "clickOperate"],
348
346
  setup(props, { emit }) {
@@ -401,7 +399,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
401
399
  class: "nut-comment__main",
402
400
  style: normalizeStyle(`-webkit-line-clamp:${_ctx.conEllipsis}`),
403
401
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args)),
404
- innerHTML: _ctx.info.content.replace(/\n/g, "<br>")
402
+ innerHTML: _ctx.info.content
405
403
  }, null, 12, _hoisted_1),
406
404
  createVNode(_component_comment_images, {
407
405
  images: _ctx.images,
@@ -14,10 +14,44 @@ const _sfc_main = create({
14
14
  str = str.replace(str.charAt(0), str.charAt(0).toLocaleLowerCase());
15
15
  return str.replace(/([a-z])([A-Z])/g, (_, p1, p2) => p1 + "-" + p2.toLowerCase());
16
16
  };
17
+ const colorRgb = (str) => {
18
+ if (!str)
19
+ return;
20
+ var sColor = str.toLowerCase();
21
+ var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
22
+ if (sColor && reg.test(sColor)) {
23
+ if (sColor.length === 4) {
24
+ var sColorNew = "#";
25
+ for (var i = 1; i < 4; i += 1) {
26
+ sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
27
+ }
28
+ sColor = sColorNew;
29
+ }
30
+ var sColorChange = [];
31
+ for (var i = 1; i < 7; i += 2) {
32
+ sColorChange.push(parseInt("0x" + sColor.slice(i, i + 2)));
33
+ }
34
+ return sColorChange.join(",");
35
+ }
36
+ return null;
37
+ };
17
38
  const mapThemeVarsToCSSVars = (themeVars) => {
39
+ var _a;
18
40
  if (!themeVars)
19
41
  return;
20
42
  const cssVars = {};
43
+ const primaryColor = (_a = props == null ? void 0 : props.themeVars) == null ? void 0 : _a.primaryColor;
44
+ if (primaryColor) {
45
+ cssVars[`--nut-address-region-tab-line`] = `linear-gradient(90deg, ${primaryColor} 0%, rgba(${colorRgb(
46
+ primaryColor
47
+ )},0.15) 100%) `;
48
+ cssVars[`--nut-tabs-horizontal-tab-line-color`] = `linear-gradient(90deg, ${primaryColor} 0%, rgba(${colorRgb(
49
+ primaryColor
50
+ )},0.15)100%)`;
51
+ cssVars[`--nut-tabs-vertical-tab-line-color`] = `linear-gradient(180deg, ${primaryColor} 0%, rgba(${colorRgb(
52
+ primaryColor
53
+ )},0.15) 100%) `;
54
+ }
21
55
  Object.keys(themeVars).forEach((key) => {
22
56
  cssVars[`--nut-${kebabCase(key)}`] = themeVars[key];
23
57
  });
@@ -338,11 +338,7 @@ const _sfc_main = create({
338
338
  timeOut && clearTimeout(timeOut);
339
339
  el.style.transition = "none";
340
340
  el.style.top = "0";
341
- if (turningNum == 10) {
342
- if (el.previousSibling) {
343
- runStep(el.previousSibling);
344
- }
345
- }
341
+ reset(el, turningNum);
346
342
  }, 0.975 * props.during);
347
343
  } else {
348
344
  el.style.top = `-${data.sortFlag == "add" ? turningNum * 100 : (10 - turningNum) * 100}%`;
@@ -351,6 +347,15 @@ const _sfc_main = create({
351
347
  runStep(el.previousSibling);
352
348
  }
353
349
  };
350
+ const reset = (el, turningNum) => {
351
+ setTimeout(() => {
352
+ if (turningNum == 10) {
353
+ if (el.previousSibling) {
354
+ runStep(el.previousSibling);
355
+ }
356
+ }
357
+ }, 200);
358
+ };
354
359
  const imgNumberScroll = () => {
355
360
  if (data.pointNum != 0) {
356
361
  Math.pow(10, data.pointNum);
@@ -7,7 +7,7 @@ var __publicField = (obj, key, value) => {
7
7
  import { ref, onMounted, watch, computed, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode, normalizeClass, createElementBlock, renderSlot, Fragment, createTextVNode, toDisplayString, createCommentVNode, resolveDynamicComponent, h } from "vue";
8
8
  import { c as createComponent } from "./component-81a4c1d0.js";
9
9
  import { f as funInterceptor } from "./interceptor-956b24fc.js";
10
- import { P as Popup, p as popupProps } from "./index-da7aa231.js";
10
+ import { P as Popup, p as popupProps } from "./index-991c279f.js";
11
11
  import Button from "./Button.js";
12
12
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
13
13
  import Overlay from "./Overlay.js";
@@ -159,6 +159,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
159
159
  "close-on-click-overlay": _ctx.closeOnClickOverlay,
160
160
  "lock-scroll": _ctx.lockScroll,
161
161
  "pop-class": _ctx.popClass,
162
+ "overlay-class": _ctx.overlayClass,
163
+ "overlay-style": _ctx.overlayStyle,
162
164
  style: normalizeStyle(_ctx.popStyle),
163
165
  round: "",
164
166
  onClickOverlay: _ctx.closed,
@@ -217,7 +219,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
217
219
  ], 2)
218
220
  ]),
219
221
  _: 3
220
- }, 8, ["teleport", "visible", "close-on-click-overlay", "lock-scroll", "pop-class", "style", "onClickOverlay", "onClickCloseIcon"]);
222
+ }, 8, ["teleport", "visible", "close-on-click-overlay", "lock-scroll", "pop-class", "overlay-class", "overlay-style", "style", "onClickOverlay", "onClickCloseIcon"]);
221
223
  }
222
224
  const Dialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
223
225
  class DialogOptions {
@@ -247,7 +249,7 @@ class DialogOptions {
247
249
  __publicField(this, "noCancelBtn", false);
248
250
  __publicField(this, "okBtnDisabled", false);
249
251
  __publicField(this, "closeOnPopstate", false);
250
- __publicField(this, "lockScroll", false);
252
+ __publicField(this, "lockScroll", true);
251
253
  }
252
254
  }
253
255
  class DialogFunction {
@@ -284,7 +286,6 @@ const showDialog = function(options) {
284
286
  };
285
287
  showDialog.install = (app) => {
286
288
  app.use(Dialog);
287
- app.config.globalProperties.$dialog = showDialog;
288
289
  };
289
290
  export {
290
291
  DialogOptions,
@@ -54,9 +54,6 @@ const _sfc_main = create({
54
54
  () => props.content,
55
55
  (newV, oldVal) => {
56
56
  if (newV != oldVal) {
57
- if (container) {
58
- document.body.appendChild(container);
59
- }
60
57
  createContainer();
61
58
  }
62
59
  }
@@ -95,6 +92,7 @@ const _sfc_main = create({
95
92
  const calcEllipse = () => {
96
93
  if (container.offsetHeight <= maxHeight) {
97
94
  state.exceeded = false;
95
+ document.body.removeChild(container);
98
96
  } else {
99
97
  state.exceeded = true;
100
98
  const end = props.content.length;
@@ -9,11 +9,11 @@ import { c as createComponent, e as clamp, d as preventDefault, i as isArray } f
9
9
  import { u as useRect } from "./index-29892cda.js";
10
10
  import { u as useTouch } from "./index-7a7385e4.js";
11
11
  import Video from "./Video.js";
12
+ import SwiperItem from "./SwiperItem.js";
12
13
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
13
14
  import { CircleClose } from "@nutui/icons-vue";
14
- import { P as Popup } from "./index-da7aa231.js";
15
+ import { P as Popup } from "./index-991c279f.js";
15
16
  import Swiper from "./Swiper.js";
16
- import SwiperItem from "./SwiperItem.js";
17
17
  import { f as funInterceptor } from "./interceptor-956b24fc.js";
18
18
  import "../locale/lang";
19
19
  import { C as CreateComponent } from "./mountComponent-1ece4110.js";
@@ -50,7 +50,8 @@ const _sfc_main$1 = create$1({
50
50
  },
51
51
  emits: ["close", "scale"],
52
52
  components: {
53
- [Video.name]: Video
53
+ [Video.name]: Video,
54
+ [SwiperItem.name]: SwiperItem
54
55
  },
55
56
  setup(props, { emit }) {
56
57
  const state = reactive({
@@ -307,8 +308,7 @@ const _sfc_main = create({
307
308
  ImagePreviewItem,
308
309
  CircleClose,
309
310
  [Popup.name]: Popup,
310
- [Swiper.name]: Swiper,
311
- [SwiperItem.name]: SwiperItem
311
+ [Swiper.name]: Swiper
312
312
  },
313
313
  setup(props, { emit }) {
314
314
  const swipeRef = ref();
@@ -498,7 +498,6 @@ class ImagePreviewFunction {
498
498
  const showImagePreview = (options) => new ImagePreviewFunction(options);
499
499
  showImagePreview.install = (app) => {
500
500
  app.use(ImagePreview);
501
- app.config.globalProperties.$imagepreview = showImagePreview;
502
501
  };
503
502
  export {
504
503
  ImagePreviewOptions,
@@ -28,14 +28,6 @@ const _sfc_main = create({
28
28
  type: String,
29
29
  default: ""
30
30
  },
31
- useWindow: {
32
- type: Boolean,
33
- default: true
34
- },
35
- containerId: {
36
- type: String,
37
- default: ""
38
- },
39
31
  useCapture: {
40
32
  type: Boolean,
41
33
  default: false
@@ -159,7 +151,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
159
151
  createElementVNode("view", _hoisted_2, [
160
152
  _ctx.isInfiniting ? (openBlock(), createElementBlock("view", _hoisted_3, [
161
153
  renderSlot(_ctx.$slots, "loading", {}, () => [
162
- renderSlot(_ctx.$slots, "loadIcon", {}, () => [
154
+ renderSlot(_ctx.$slots, "loading-icon", {}, () => [
163
155
  createVNode(_component_Loading, { class: "nut-icon-loading nut-infinite__bottom-box__img" })
164
156
  ]),
165
157
  createElementVNode("view", _hoisted_4, toDisplayString(_ctx.loadTxt || _ctx.translate("loading")), 1)