@nutui/nutui 3.3.1 → 4.0.0-beta.1

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 (735) hide show
  1. package/README.md +2 -2
  2. package/dist/nutui.es.js +103 -19884
  3. package/dist/{nutui.umd.js → nutui.umd.cjs} +3883 -3815
  4. package/dist/packages/_es/ActionSheet.js +72 -65
  5. package/dist/packages/_es/Address.js +78 -73
  6. package/dist/packages/_es/AddressList.js +50 -43
  7. package/dist/packages/_es/Animate.js +8 -6
  8. package/dist/packages/_es/Audio.js +28 -23
  9. package/dist/packages/_es/AudioOperate.js +13 -7
  10. package/dist/packages/_es/Avatar.js +15 -64
  11. package/dist/packages/_es/AvatarGroup.js +7 -5
  12. package/dist/packages/_es/{BackTop.js → Backtop.js} +20 -22
  13. package/dist/packages/_es/Badge.js +9 -7
  14. package/dist/packages/_es/Barrage.js +13 -12
  15. package/dist/packages/_es/Button.js +14 -33
  16. package/dist/packages/_es/Calendar.js +15 -9
  17. package/dist/packages/_es/CalendarItem.js +9 -6
  18. package/dist/packages/_es/Card.js +14 -5
  19. package/dist/packages/_es/Cascader.js +31 -16
  20. package/dist/packages/_es/Category.js +10 -10
  21. package/dist/packages/_es/CategoryPane.js +22 -20
  22. package/dist/packages/_es/Cell.js +57 -60
  23. package/dist/packages/_es/CellGroup.js +7 -5
  24. package/dist/packages/_es/Checkbox.js +26 -40
  25. package/dist/packages/_es/CheckboxGroup.js +8 -6
  26. package/dist/packages/_es/CircleProgress.js +12 -10
  27. package/dist/packages/_es/Col.js +7 -5
  28. package/dist/packages/_es/Collapse.js +27 -47
  29. package/dist/packages/_es/CollapseItem.js +71 -83
  30. package/dist/packages/_es/Comment.js +34 -37
  31. package/dist/packages/_es/ConfigProvider.js +23 -4
  32. package/dist/packages/_es/{CountDown.js → Countdown.js} +8 -6
  33. package/dist/packages/_es/{CountUp.js → Countup.js} +21 -19
  34. package/dist/packages/_es/DatePicker.js +31 -29
  35. package/dist/packages/_es/Dialog.js +66 -46
  36. package/dist/packages/_es/Divider.js +7 -5
  37. package/dist/packages/_es/Drag.js +8 -6
  38. package/dist/packages/_es/Ecard.js +18 -12
  39. package/dist/packages/_es/Elevator.js +23 -21
  40. package/dist/packages/_es/Ellipsis.js +11 -9
  41. package/dist/packages/_es/Empty.js +10 -8
  42. package/dist/packages/_es/FixedNav.js +84 -75
  43. package/dist/packages/_es/Form.js +149 -140
  44. package/dist/packages/_es/FormItem.js +14 -7
  45. package/dist/packages/_es/Grid.js +7 -5
  46. package/dist/packages/_es/GridItem.js +19 -42
  47. package/dist/packages/_es/Icon.js +7 -44
  48. package/dist/packages/_es/Image.js +22 -10
  49. package/dist/packages/_es/ImagePreview.js +72 -55
  50. package/dist/packages/_es/Indicator.js +7 -5
  51. package/dist/packages/_es/InfiniteLoading.js +56 -124
  52. package/dist/packages/_es/Input.js +58 -190
  53. package/dist/packages/_es/InputNumber.js +43 -35
  54. package/dist/packages/_es/Invoice.js +30 -11
  55. package/dist/packages/_es/Layout.js +5 -3
  56. package/dist/packages/_es/List.js +7 -5
  57. package/dist/packages/_es/Menu.js +22 -13
  58. package/dist/packages/_es/MenuItem.js +25 -24
  59. package/dist/packages/_es/Navbar.js +47 -37
  60. package/dist/packages/_es/{NoticeBar.js → Noticebar.js} +52 -65
  61. package/dist/packages/_es/Notify.js +13 -8
  62. package/dist/packages/_es/NumberKeyboard.js +123 -112
  63. package/dist/packages/_es/{OverLay.js → Overlay.js} +7 -5
  64. package/dist/packages/_es/Pagination.js +7 -5
  65. package/dist/packages/_es/Picker.js +307 -304
  66. package/dist/packages/_es/Popover.js +34 -24
  67. package/dist/packages/_es/Popup.js +9 -152
  68. package/dist/packages/_es/Price.js +9 -12
  69. package/dist/packages/_es/Progress.js +18 -20
  70. package/dist/packages/_es/PullRefresh.js +222 -0
  71. package/dist/packages/_es/Radio.js +9 -103
  72. package/dist/packages/_es/RadioGroup.js +7 -44
  73. package/dist/packages/_es/Range.js +22 -20
  74. package/dist/packages/_es/Rate.js +153 -166
  75. package/dist/packages/_es/Row.js +7 -5
  76. package/dist/packages/_es/{SearchBar.js → Searchbar.js} +16 -15
  77. package/dist/packages/_es/ShortPassword.js +53 -121
  78. package/dist/packages/_es/{SideNavBar.js → SideNavbar.js} +11 -9
  79. package/dist/packages/_es/{SideNavBarItem.js → SideNavbarItem.js} +12 -10
  80. package/dist/packages/_es/Signature.js +12 -6
  81. package/dist/packages/_es/Skeleton.js +95 -85
  82. package/dist/packages/_es/Sku.js +33 -29
  83. package/dist/packages/_es/Step.js +28 -41
  84. package/dist/packages/_es/Steps.js +5 -3
  85. package/dist/packages/_es/Sticky.js +8 -150
  86. package/dist/packages/_es/{SubSideNavBar.js → SubSideNavbar.js} +18 -16
  87. package/dist/packages/_es/Swipe.js +8 -6
  88. package/dist/packages/_es/Swiper.js +121 -61
  89. package/dist/packages/_es/SwiperItem.js +8 -6
  90. package/dist/packages/_es/Switch.js +16 -28
  91. package/dist/packages/_es/TabPane.js +9 -7
  92. package/dist/packages/_es/Tabbar.js +21 -26
  93. package/dist/packages/_es/TabbarItem.js +42 -88
  94. package/dist/packages/_es/Table.js +15 -11
  95. package/dist/packages/_es/Tabs.js +35 -27
  96. package/dist/packages/_es/Tag.js +15 -9
  97. package/dist/packages/_es/{TextArea.js → Textarea.js} +8 -6
  98. package/dist/packages/_es/TimeDetail.js +12 -10
  99. package/dist/packages/_es/TimePannel.js +9 -7
  100. package/dist/packages/_es/TimeSelect.js +19 -11
  101. package/dist/packages/_es/Toast.js +26 -27
  102. package/dist/packages/_es/Tour.js +270 -0
  103. package/dist/packages/_es/TrendArrow.js +24 -43
  104. package/dist/packages/_es/Uploader.js +101 -64
  105. package/dist/packages/_es/Video.js +24 -22
  106. package/dist/packages/_es/{WaterMark.js → Watermark.js} +8 -6
  107. package/dist/packages/_es/{plugin-vue_export-helper.js → _plugin-vue_export-helper-73a3d722.js} +5 -3
  108. package/dist/packages/_es/{common.js → common-d5c1f4b1.js} +7 -11
  109. package/dist/packages/_es/{component.js → component-48526d37.js} +20 -3
  110. package/dist/packages/_es/{index5.js → index-281c4c2c.js} +79 -77
  111. package/dist/packages/_es/index-95a5249b.js +35 -0
  112. package/dist/packages/_es/index-b05fa625.js +239 -0
  113. package/dist/packages/_es/{index4.js → index-c3e2c58b.js} +4 -2
  114. package/dist/packages/_es/{index2.js → index-c70386a5.js} +4 -2
  115. package/dist/packages/_es/{index3.js → index-efc0d9e4.js} +4 -2
  116. package/dist/packages/_es/{index.js → index-fe4c328e.js} +4 -2
  117. package/dist/packages/_es/index.vue_vue_type_script_lang-5d693346.js +156 -0
  118. package/dist/packages/_es/index.vue_vue_type_script_lang-6a7b6f54.js +12 -0
  119. package/dist/packages/_es/index.vue_vue_type_script_lang-84b793e8.js +102 -0
  120. package/dist/packages/_es/index.vue_vue_type_script_lang-959515e8.js +50 -0
  121. package/dist/packages/_es/{interceptor.js → interceptor-da627865.js} +5 -3
  122. package/dist/packages/_es/{mountComponent.js → mountComponent-75cf7cfe.js} +5 -3
  123. package/dist/packages/_es/{pxCheck.js → pxCheck-524650ac.js} +4 -2
  124. package/dist/packages/_es/{raf.js → raf-e90b8c4d.js} +14 -3
  125. package/dist/packages/_es/renderIcon-d470170e.js +14 -0
  126. package/dist/packages/_es/style.css +2 -2
  127. package/dist/packages/actionsheet/index.mjs +2 -0
  128. package/dist/packages/actionsheet/index.scss +16 -32
  129. package/dist/packages/actionsheet/style.cjs +3 -0
  130. package/dist/packages/actionsheet/style.mjs +3 -0
  131. package/dist/packages/address/index.mjs +2 -0
  132. package/dist/packages/address/index.scss +28 -52
  133. package/dist/packages/address/style.cjs +4 -0
  134. package/dist/packages/address/style.mjs +4 -0
  135. package/dist/packages/addresslist/index.mjs +2 -0
  136. package/dist/packages/addresslist/index.scss +3 -3
  137. package/dist/packages/addresslist/style.cjs +2 -0
  138. package/dist/packages/addresslist/style.mjs +2 -0
  139. package/dist/packages/animate/index.mjs +2 -0
  140. package/dist/packages/animate/index.scss +1 -1
  141. package/dist/packages/animate/style.cjs +1 -0
  142. package/dist/packages/animate/style.mjs +1 -0
  143. package/dist/packages/audio/index.mjs +2 -0
  144. package/dist/packages/audio/index.scss +9 -9
  145. package/dist/packages/audio/style.cjs +2 -0
  146. package/dist/packages/audio/style.mjs +2 -0
  147. package/dist/packages/audiooperate/index.mjs +2 -0
  148. package/dist/packages/audiooperate/style.cjs +2 -0
  149. package/dist/packages/audiooperate/style.mjs +2 -0
  150. package/dist/packages/avatar/index.mjs +2 -0
  151. package/dist/packages/avatar/index.scss +1 -12
  152. package/dist/packages/avatar/style.cjs +1 -0
  153. package/dist/packages/avatar/style.mjs +1 -0
  154. package/dist/packages/avatargroup/index.mjs +2 -0
  155. package/dist/packages/avatargroup/style.cjs +1 -0
  156. package/dist/packages/avatargroup/style.mjs +1 -0
  157. package/dist/packages/backtop/index.mjs +2 -0
  158. package/dist/packages/backtop/style.cjs +1 -0
  159. package/dist/packages/backtop/style.mjs +1 -0
  160. package/dist/packages/badge/index.mjs +2 -0
  161. package/dist/packages/badge/index.scss +17 -17
  162. package/dist/packages/badge/style.cjs +1 -0
  163. package/dist/packages/badge/style.mjs +1 -0
  164. package/dist/packages/barrage/index.mjs +2 -0
  165. package/dist/packages/barrage/index.scss +2 -22
  166. package/dist/packages/barrage/style.cjs +1 -0
  167. package/dist/packages/barrage/style.mjs +1 -0
  168. package/dist/packages/button/index.mjs +2 -0
  169. package/dist/packages/button/index.scss +2 -1
  170. package/dist/packages/button/style.cjs +1 -0
  171. package/dist/packages/button/style.mjs +1 -0
  172. package/dist/packages/calendar/index.mjs +2 -0
  173. package/dist/packages/calendar/index.scss +39 -43
  174. package/dist/packages/calendar/style.cjs +4 -0
  175. package/dist/packages/calendar/style.mjs +4 -0
  176. package/dist/packages/calendaritem/index.mjs +2 -0
  177. package/dist/packages/calendaritem/style.cjs +1 -0
  178. package/dist/packages/calendaritem/style.mjs +1 -0
  179. package/dist/packages/card/index.mjs +2 -0
  180. package/dist/packages/card/style.cjs +3 -0
  181. package/dist/packages/card/style.mjs +3 -0
  182. package/dist/packages/cascader/index.mjs +2 -0
  183. package/dist/packages/cascader/index.scss +1 -1
  184. package/dist/packages/cascader/style.cjs +6 -0
  185. package/dist/packages/cascader/style.mjs +6 -0
  186. package/dist/packages/category/index.mjs +2 -0
  187. package/dist/packages/category/style.cjs +1 -0
  188. package/dist/packages/category/style.mjs +1 -0
  189. package/dist/packages/categorypane/index.mjs +2 -0
  190. package/dist/packages/categorypane/index.scss +2 -2
  191. package/dist/packages/categorypane/style.cjs +1 -0
  192. package/dist/packages/categorypane/style.mjs +1 -0
  193. package/dist/packages/cell/index.mjs +2 -0
  194. package/dist/packages/cell/style.cjs +1 -0
  195. package/dist/packages/cell/style.mjs +1 -0
  196. package/dist/packages/cellgroup/index.mjs +2 -0
  197. package/dist/packages/cellgroup/style.cjs +1 -0
  198. package/dist/packages/cellgroup/style.mjs +1 -0
  199. package/dist/packages/checkbox/index.mjs +2 -0
  200. package/dist/packages/checkbox/style.cjs +1 -0
  201. package/dist/packages/checkbox/style.mjs +1 -0
  202. package/dist/packages/checkboxgroup/index.mjs +2 -0
  203. package/dist/packages/checkboxgroup/style.cjs +1 -0
  204. package/dist/packages/checkboxgroup/style.mjs +1 -0
  205. package/dist/packages/circleprogress/index.mjs +2 -0
  206. package/dist/packages/circleprogress/index.scss +5 -5
  207. package/dist/packages/circleprogress/style.cjs +1 -0
  208. package/dist/packages/circleprogress/style.mjs +1 -0
  209. package/dist/packages/col/index.mjs +2 -0
  210. package/dist/packages/col/style.cjs +1 -0
  211. package/dist/packages/col/style.mjs +1 -0
  212. package/dist/packages/collapse/index.mjs +2 -0
  213. package/dist/packages/collapse/style.cjs +1 -0
  214. package/dist/packages/collapse/style.mjs +1 -0
  215. package/dist/packages/collapseitem/index.mjs +2 -0
  216. package/dist/packages/collapseitem/index.scss +54 -77
  217. package/dist/packages/collapseitem/style.cjs +1 -0
  218. package/dist/packages/collapseitem/style.mjs +1 -0
  219. package/dist/packages/comment/index.mjs +2 -0
  220. package/dist/packages/comment/index.scss +1 -3
  221. package/dist/packages/comment/style.cjs +2 -0
  222. package/dist/packages/comment/style.mjs +2 -0
  223. package/dist/packages/configprovider/index.mjs +2 -0
  224. package/dist/packages/configprovider/style.cjs +1 -0
  225. package/dist/packages/configprovider/style.mjs +1 -0
  226. package/dist/packages/countdown/index.mjs +2 -0
  227. package/dist/packages/countdown/style.cjs +1 -0
  228. package/dist/packages/countdown/style.mjs +1 -0
  229. package/dist/packages/countup/index.mjs +2 -0
  230. package/dist/packages/countup/index.scss +8 -38
  231. package/dist/packages/countup/style.cjs +1 -0
  232. package/dist/packages/countup/style.mjs +1 -0
  233. package/dist/packages/datepicker/index.mjs +2 -0
  234. package/dist/packages/datepicker/index.scss +1 -1
  235. package/dist/packages/datepicker/style.cjs +4 -0
  236. package/dist/packages/datepicker/style.mjs +4 -0
  237. package/dist/packages/dialog/index.mjs +2 -0
  238. package/dist/packages/dialog/style.cjs +4 -0
  239. package/dist/packages/dialog/style.mjs +4 -0
  240. package/dist/packages/divider/index.mjs +2 -0
  241. package/dist/packages/divider/style.cjs +1 -0
  242. package/dist/packages/divider/style.mjs +1 -0
  243. package/dist/packages/drag/index.mjs +2 -0
  244. package/dist/packages/drag/index.scss +1 -1
  245. package/dist/packages/drag/style.cjs +1 -0
  246. package/dist/packages/drag/style.mjs +1 -0
  247. package/dist/packages/ecard/index.mjs +2 -0
  248. package/dist/packages/ecard/style.cjs +2 -0
  249. package/dist/packages/ecard/style.mjs +2 -0
  250. package/dist/packages/elevator/index.mjs +2 -0
  251. package/dist/packages/elevator/style.cjs +1 -0
  252. package/dist/packages/elevator/style.mjs +1 -0
  253. package/dist/packages/ellipsis/index.mjs +2 -0
  254. package/dist/packages/ellipsis/index.scss +3 -3
  255. package/dist/packages/ellipsis/style.cjs +1 -0
  256. package/dist/packages/ellipsis/style.mjs +1 -0
  257. package/dist/packages/empty/index.mjs +2 -0
  258. package/dist/packages/empty/index.scss +2 -2
  259. package/dist/packages/empty/style.cjs +1 -0
  260. package/dist/packages/empty/style.mjs +1 -0
  261. package/dist/packages/fixednav/index.mjs +2 -0
  262. package/dist/packages/fixednav/index.scss +5 -5
  263. package/dist/packages/fixednav/style.cjs +2 -0
  264. package/dist/packages/fixednav/style.mjs +2 -0
  265. package/dist/packages/form/index.mjs +2 -0
  266. package/dist/packages/form/style.cjs +2 -0
  267. package/dist/packages/form/style.mjs +2 -0
  268. package/dist/packages/formitem/index.mjs +2 -0
  269. package/dist/packages/formitem/style.cjs +2 -0
  270. package/dist/packages/formitem/style.mjs +2 -0
  271. package/dist/packages/grid/index.mjs +2 -0
  272. package/dist/packages/grid/style.cjs +1 -0
  273. package/dist/packages/grid/style.mjs +1 -0
  274. package/dist/packages/griditem/index.mjs +2 -0
  275. package/dist/packages/griditem/style.cjs +1 -0
  276. package/dist/packages/griditem/style.mjs +1 -0
  277. package/dist/packages/icon/index.mjs +2 -0
  278. package/dist/packages/icon/index.scss +1 -131
  279. package/dist/packages/icon/style.cjs +1 -0
  280. package/dist/packages/icon/style.mjs +1 -0
  281. package/dist/packages/image/index.mjs +2 -0
  282. package/dist/packages/image/style.cjs +1 -0
  283. package/dist/packages/image/style.mjs +1 -0
  284. package/dist/packages/imagepreview/index.mjs +2 -0
  285. package/dist/packages/imagepreview/index.scss +4 -4
  286. package/dist/packages/imagepreview/style.cjs +6 -0
  287. package/dist/packages/imagepreview/style.mjs +6 -0
  288. package/dist/packages/indicator/index.mjs +2 -0
  289. package/dist/packages/indicator/style.cjs +1 -0
  290. package/dist/packages/indicator/style.mjs +1 -0
  291. package/dist/packages/infiniteloading/index.mjs +2 -0
  292. package/dist/packages/infiniteloading/index.scss +15 -41
  293. package/dist/packages/infiniteloading/style.cjs +1 -0
  294. package/dist/packages/infiniteloading/style.mjs +1 -0
  295. package/dist/packages/input/index.mjs +2 -0
  296. package/dist/packages/input/index.scss +20 -18
  297. package/dist/packages/input/style.cjs +1 -0
  298. package/dist/packages/input/style.mjs +1 -0
  299. package/dist/packages/inputnumber/index.mjs +2 -0
  300. package/dist/packages/inputnumber/index.scss +4 -2
  301. package/dist/packages/inputnumber/style.cjs +1 -0
  302. package/dist/packages/inputnumber/style.mjs +1 -0
  303. package/dist/packages/invoice/index.mjs +2 -0
  304. package/dist/packages/invoice/style.cjs +8 -0
  305. package/dist/packages/invoice/style.mjs +8 -0
  306. package/dist/packages/layout/index.mjs +2 -0
  307. package/dist/packages/layout/style.cjs +1 -0
  308. package/dist/packages/layout/style.mjs +1 -0
  309. package/dist/packages/list/index.mjs +2 -0
  310. package/dist/packages/list/style.cjs +1 -0
  311. package/dist/packages/list/style.mjs +1 -0
  312. package/dist/packages/locale/index.d.ts +1 -1
  313. package/dist/packages/locale/lang/baseLang-d9df8b94.js +10 -0
  314. package/dist/packages/locale/lang/baseLang.d.ts +5 -0
  315. package/dist/packages/locale/lang/en-US.d.ts +5 -0
  316. package/dist/packages/locale/lang/en-US.js +61 -51
  317. package/dist/packages/locale/lang/id-ID.d.ts +5 -0
  318. package/dist/packages/locale/lang/id-ID.js +61 -51
  319. package/dist/packages/locale/lang/index.js +25 -38
  320. package/dist/packages/locale/lang/zh-CN.d.ts +5 -0
  321. package/dist/packages/locale/lang/zh-CN.js +114 -104
  322. package/dist/packages/locale/lang/zh-TW.d.ts +5 -0
  323. package/dist/packages/locale/lang/zh-TW.js +114 -104
  324. package/dist/packages/menu/index.mjs +2 -0
  325. package/dist/packages/menu/index.scss +1 -0
  326. package/dist/packages/menu/style.cjs +1 -0
  327. package/dist/packages/menu/style.mjs +1 -0
  328. package/dist/packages/menuitem/index.mjs +2 -0
  329. package/dist/packages/menuitem/index.scss +4 -2
  330. package/dist/packages/menuitem/style.cjs +3 -0
  331. package/dist/packages/menuitem/style.mjs +3 -0
  332. package/dist/packages/navbar/index.mjs +2 -0
  333. package/dist/packages/navbar/index.scss +5 -1
  334. package/dist/packages/navbar/style.cjs +1 -0
  335. package/dist/packages/navbar/style.mjs +1 -0
  336. package/dist/packages/noticebar/index.mjs +2 -0
  337. package/dist/packages/noticebar/index.scss +15 -16
  338. package/dist/packages/noticebar/style.cjs +1 -0
  339. package/dist/packages/noticebar/style.mjs +1 -0
  340. package/dist/packages/notify/index.mjs +2 -0
  341. package/dist/packages/notify/index.scss +0 -20
  342. package/dist/packages/notify/style.cjs +3 -0
  343. package/dist/packages/notify/style.mjs +3 -0
  344. package/dist/packages/numberkeyboard/index.mjs +2 -0
  345. package/dist/packages/numberkeyboard/index.scss +45 -49
  346. package/dist/packages/numberkeyboard/style.cjs +3 -0
  347. package/dist/packages/numberkeyboard/style.mjs +3 -0
  348. package/dist/packages/overlay/index.mjs +2 -0
  349. package/dist/packages/overlay/style.cjs +1 -0
  350. package/dist/packages/overlay/style.mjs +1 -0
  351. package/dist/packages/pagination/index.mjs +2 -0
  352. package/dist/packages/pagination/style.cjs +1 -0
  353. package/dist/packages/pagination/style.mjs +1 -0
  354. package/dist/packages/picker/index.mjs +2 -0
  355. package/dist/packages/picker/index.scss +19 -56
  356. package/dist/packages/picker/style.cjs +3 -0
  357. package/dist/packages/picker/style.mjs +3 -0
  358. package/dist/packages/popover/index.mjs +2 -0
  359. package/dist/packages/popover/index.scss +7 -0
  360. package/dist/packages/popover/style.cjs +3 -0
  361. package/dist/packages/popover/style.mjs +3 -0
  362. package/dist/packages/popup/index.mjs +2 -0
  363. package/dist/packages/popup/index.scss +6 -6
  364. package/dist/packages/popup/style.cjs +2 -0
  365. package/dist/packages/popup/style.mjs +2 -0
  366. package/dist/packages/price/index.mjs +2 -0
  367. package/dist/packages/price/index.scss +0 -9
  368. package/dist/packages/price/style.cjs +1 -0
  369. package/dist/packages/price/style.mjs +1 -0
  370. package/dist/packages/progress/index.mjs +2 -0
  371. package/dist/packages/progress/style.cjs +1 -0
  372. package/dist/packages/progress/style.mjs +1 -0
  373. package/dist/packages/pullrefresh/index.mjs +2 -0
  374. package/dist/packages/pullrefresh/index.scss +30 -0
  375. package/dist/packages/pullrefresh/style.cjs +1 -0
  376. package/dist/packages/pullrefresh/style.mjs +1 -0
  377. package/dist/packages/radio/index.mjs +2 -0
  378. package/dist/packages/radio/style.cjs +1 -0
  379. package/dist/packages/radio/style.mjs +1 -0
  380. package/dist/packages/radiogroup/index.mjs +2 -0
  381. package/dist/packages/radiogroup/index.scss +1 -1
  382. package/dist/packages/radiogroup/style.cjs +1 -0
  383. package/dist/packages/radiogroup/style.mjs +1 -0
  384. package/dist/packages/range/index.mjs +2 -0
  385. package/dist/packages/range/index.scss +4 -4
  386. package/dist/packages/range/style.cjs +1 -0
  387. package/dist/packages/range/style.mjs +1 -0
  388. package/dist/packages/rate/index.mjs +2 -0
  389. package/dist/packages/rate/style.cjs +1 -0
  390. package/dist/packages/rate/style.mjs +1 -0
  391. package/dist/packages/row/index.mjs +2 -0
  392. package/dist/packages/row/style.cjs +1 -0
  393. package/dist/packages/row/style.mjs +1 -0
  394. package/dist/packages/searchbar/index.mjs +2 -0
  395. package/dist/packages/searchbar/style.cjs +1 -0
  396. package/dist/packages/searchbar/style.mjs +1 -0
  397. package/dist/packages/shortpassword/index.mjs +2 -0
  398. package/dist/packages/shortpassword/index.scss +15 -122
  399. package/dist/packages/shortpassword/style.cjs +3 -0
  400. package/dist/packages/shortpassword/style.mjs +3 -0
  401. package/dist/packages/sidenavbar/index.mjs +2 -0
  402. package/dist/packages/sidenavbar/index.scss +1 -1
  403. package/dist/packages/sidenavbar/style.cjs +1 -0
  404. package/dist/packages/sidenavbar/style.mjs +1 -0
  405. package/dist/packages/sidenavbaritem/index.mjs +2 -0
  406. package/dist/packages/sidenavbaritem/index.scss +3 -2
  407. package/dist/packages/sidenavbaritem/style.cjs +1 -0
  408. package/dist/packages/sidenavbaritem/style.mjs +1 -0
  409. package/dist/packages/signature/index.mjs +2 -0
  410. package/dist/packages/signature/style.cjs +2 -0
  411. package/dist/packages/signature/style.mjs +2 -0
  412. package/dist/packages/skeleton/index.mjs +2 -0
  413. package/dist/packages/skeleton/index.scss +11 -11
  414. package/dist/packages/skeleton/style.cjs +2 -0
  415. package/dist/packages/skeleton/style.mjs +2 -0
  416. package/dist/packages/sku/index.mjs +2 -0
  417. package/dist/packages/sku/style.cjs +5 -0
  418. package/dist/packages/sku/style.mjs +5 -0
  419. package/dist/packages/step/index.mjs +2 -0
  420. package/dist/packages/step/index.scss +7 -8
  421. package/dist/packages/step/style.cjs +1 -0
  422. package/dist/packages/step/style.mjs +1 -0
  423. package/dist/packages/steps/index.mjs +2 -0
  424. package/dist/packages/steps/style.cjs +1 -0
  425. package/dist/packages/steps/style.mjs +1 -0
  426. package/dist/packages/sticky/index.mjs +2 -0
  427. package/dist/packages/sticky/style.cjs +1 -0
  428. package/dist/packages/sticky/style.mjs +1 -0
  429. package/dist/packages/subsidenavbar/index.mjs +2 -0
  430. package/dist/packages/subsidenavbar/index.scss +2 -2
  431. package/dist/packages/subsidenavbar/style.cjs +1 -0
  432. package/dist/packages/subsidenavbar/style.mjs +1 -0
  433. package/dist/packages/swipe/index.mjs +2 -0
  434. package/dist/packages/swipe/style.cjs +1 -0
  435. package/dist/packages/swipe/style.mjs +1 -0
  436. package/dist/packages/swiper/index.mjs +2 -0
  437. package/dist/packages/swiper/style.cjs +1 -0
  438. package/dist/packages/swiper/style.mjs +1 -0
  439. package/dist/packages/swiperitem/index.mjs +2 -0
  440. package/dist/packages/swiperitem/style.cjs +1 -0
  441. package/dist/packages/swiperitem/style.mjs +1 -0
  442. package/dist/packages/switch/index.mjs +2 -0
  443. package/dist/packages/switch/index.scss +5 -15
  444. package/dist/packages/switch/style.cjs +1 -0
  445. package/dist/packages/switch/style.mjs +1 -0
  446. package/dist/packages/tabbar/index.mjs +2 -0
  447. package/dist/packages/tabbar/style.cjs +1 -0
  448. package/dist/packages/tabbar/style.mjs +1 -0
  449. package/dist/packages/tabbaritem/index.mjs +2 -0
  450. package/dist/packages/tabbaritem/index.scss +0 -29
  451. package/dist/packages/tabbaritem/style.cjs +2 -0
  452. package/dist/packages/tabbaritem/style.mjs +2 -0
  453. package/dist/packages/table/index.mjs +2 -0
  454. package/dist/packages/table/style.cjs +1 -0
  455. package/dist/packages/table/style.mjs +1 -0
  456. package/dist/packages/tabpane/index.mjs +2 -0
  457. package/dist/packages/tabpane/index.scss +2 -2
  458. package/dist/packages/tabpane/style.cjs +1 -0
  459. package/dist/packages/tabpane/style.mjs +1 -0
  460. package/dist/packages/tabs/index.mjs +2 -0
  461. package/dist/packages/tabs/index.scss +4 -4
  462. package/dist/packages/tabs/style.cjs +2 -0
  463. package/dist/packages/tabs/style.mjs +2 -0
  464. package/dist/packages/tag/index.mjs +2 -0
  465. package/dist/packages/tag/style.cjs +1 -0
  466. package/dist/packages/tag/style.mjs +1 -0
  467. package/dist/packages/textarea/index.mjs +2 -0
  468. package/dist/packages/textarea/index.scss +1 -1
  469. package/dist/packages/textarea/style.cjs +1 -0
  470. package/dist/packages/textarea/style.mjs +1 -0
  471. package/dist/packages/timedetail/index.mjs +2 -0
  472. package/dist/packages/timedetail/index.scss +2 -2
  473. package/dist/packages/timedetail/style.cjs +1 -0
  474. package/dist/packages/timedetail/style.mjs +1 -0
  475. package/dist/packages/timepannel/index.mjs +2 -0
  476. package/dist/packages/timepannel/index.scss +2 -2
  477. package/dist/packages/timepannel/style.cjs +1 -0
  478. package/dist/packages/timepannel/style.mjs +1 -0
  479. package/dist/packages/timeselect/index.mjs +2 -0
  480. package/dist/packages/timeselect/index.scss +2 -2
  481. package/dist/packages/timeselect/style.cjs +3 -0
  482. package/dist/packages/timeselect/style.mjs +3 -0
  483. package/dist/packages/toast/index.mjs +2 -0
  484. package/dist/packages/toast/style.cjs +1 -0
  485. package/dist/packages/toast/style.mjs +1 -0
  486. package/dist/packages/tour/index.mjs +2 -0
  487. package/dist/packages/tour/index.scss +78 -0
  488. package/dist/packages/tour/style.cjs +4 -0
  489. package/dist/packages/tour/style.mjs +4 -0
  490. package/dist/packages/trendarrow/index.mjs +2 -0
  491. package/dist/packages/trendarrow/index.scss +1 -1
  492. package/dist/packages/trendarrow/style.cjs +1 -0
  493. package/dist/packages/trendarrow/style.mjs +1 -0
  494. package/dist/packages/uploader/index.mjs +2 -0
  495. package/dist/packages/uploader/index.scss +2 -0
  496. package/dist/packages/uploader/style.cjs +3 -0
  497. package/dist/packages/uploader/style.mjs +3 -0
  498. package/dist/packages/video/index.mjs +2 -0
  499. package/dist/packages/video/index.scss +11 -17
  500. package/dist/packages/video/style.cjs +1 -0
  501. package/dist/packages/video/style.mjs +1 -0
  502. package/dist/packages/watermark/index.mjs +2 -0
  503. package/dist/packages/watermark/style.cjs +1 -0
  504. package/dist/packages/watermark/style.mjs +1 -0
  505. package/dist/smartips/attributes.json +215 -447
  506. package/dist/smartips/tags.json +116 -171
  507. package/dist/smartips/web-types.json +382 -906
  508. package/dist/style.css +19 -1
  509. package/dist/styles/animation/index.scss +0 -1
  510. package/dist/styles/theme-deafult.scss +920 -0
  511. package/dist/styles/theme-jdt.scss +898 -0
  512. package/dist/styles/themes/default.scss +57 -55
  513. package/dist/styles/themes/jdb.scss +57 -55
  514. package/dist/styles/themes/jddkh.scss +57 -55
  515. package/dist/styles/themes/jdt.scss +57 -55
  516. package/dist/styles/variables-jdb.scss +3 -3
  517. package/dist/styles/variables-jddkh.scss +3 -3
  518. package/dist/styles/variables-jdt.scss +764 -708
  519. package/dist/styles/variables-var.scss +854 -0
  520. package/dist/styles/variables.scss +807 -734
  521. package/dist/types/__VUE/actionsheet/index.vue.d.ts +28 -20
  522. package/dist/types/__VUE/address/address-list.d.ts +30 -0
  523. package/dist/types/__VUE/address/index.vue.d.ts +33 -72
  524. package/dist/types/__VUE/address/type.d.ts +18 -0
  525. package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +3 -14
  526. package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +3 -14
  527. package/dist/types/__VUE/addresslist/components/SwipeShell.vue.d.ts +3 -14
  528. package/dist/types/__VUE/addresslist/index.vue.d.ts +8 -9
  529. package/dist/types/__VUE/animate/index.vue.d.ts +16 -15
  530. package/dist/types/__VUE/animate/type.d.ts +2 -6
  531. package/dist/types/__VUE/audio/index.vue.d.ts +19 -17
  532. package/dist/types/__VUE/audiooperate/index.vue.d.ts +12 -7
  533. package/dist/types/__VUE/avatar/index.vue.d.ts +14 -48
  534. package/dist/types/__VUE/avatargroup/index.vue.d.ts +8 -9
  535. package/dist/types/__VUE/backtop/index.vue.d.ts +8 -9
  536. package/dist/types/__VUE/badge/index.vue.d.ts +9 -10
  537. package/dist/types/__VUE/barrage/index.vue.d.ts +7 -8
  538. package/dist/types/__VUE/button/index.vue.d.ts +21 -47
  539. package/dist/types/__VUE/button/type.d.ts +3 -7
  540. package/dist/types/__VUE/calendar/index.vue.d.ts +13 -13
  541. package/dist/types/__VUE/calendaritem/index.vue.d.ts +23 -22
  542. package/dist/types/__VUE/calendaritem/type.d.ts +70 -0
  543. package/dist/types/__VUE/card/index.vue.d.ts +6 -7
  544. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +10 -9
  545. package/dist/types/__VUE/cascader/helper.d.ts +0 -4
  546. package/dist/types/__VUE/cascader/index.vue.d.ts +12 -11
  547. package/dist/types/__VUE/cascader/tree.d.ts +0 -4
  548. package/dist/types/__VUE/cascader/types.d.ts +6 -10
  549. package/dist/types/__VUE/category/index.vue.d.ts +18 -14
  550. package/dist/types/__VUE/categorypane/index.vue.d.ts +23 -14
  551. package/dist/types/__VUE/cell/index.vue.d.ts +13 -32
  552. package/dist/types/__VUE/cellgroup/index.vue.d.ts +6 -7
  553. package/dist/types/__VUE/checkbox/common.d.ts +2 -59
  554. package/dist/types/__VUE/checkbox/index.vue.d.ts +6 -113
  555. package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +6 -7
  556. package/dist/types/__VUE/circleprogress/index.vue.d.ts +18 -14
  557. package/dist/types/__VUE/col/index.vue.d.ts +6 -7
  558. package/dist/types/__VUE/collapse/index.vue.d.ts +16 -81
  559. package/dist/types/__VUE/collapseitem/index.vue.d.ts +52 -24
  560. package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +7 -17
  561. package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +3 -14
  562. package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +29 -21
  563. package/dist/types/__VUE/comment/index.vue.d.ts +29 -19
  564. package/dist/types/__VUE/configprovider/common.d.ts +4 -4
  565. package/dist/types/__VUE/configprovider/index.vue.d.ts +15 -7
  566. package/dist/types/__VUE/countdown/index.vue.d.ts +11 -12
  567. package/dist/types/__VUE/countdown/util.d.ts +1 -5
  568. package/dist/types/__VUE/countup/index.vue.d.ts +13 -14
  569. package/dist/types/__VUE/datepicker/index.vue.d.ts +32 -168
  570. package/dist/types/__VUE/datepicker/type.d.ts +2 -6
  571. package/dist/types/__VUE/dialog/index.d.ts +0 -4
  572. package/dist/types/__VUE/dialog/index.vue.d.ts +19 -16
  573. package/dist/types/__VUE/divider/index.vue.d.ts +6 -7
  574. package/dist/types/__VUE/drag/index.vue.d.ts +6 -7
  575. package/dist/types/__VUE/ecard/index.vue.d.ts +15 -11
  576. package/dist/types/__VUE/elevator/index.vue.d.ts +14 -13
  577. package/dist/types/__VUE/elevator/type.d.ts +5 -0
  578. package/dist/types/__VUE/ellipsis/index.vue.d.ts +14 -9
  579. package/dist/types/__VUE/empty/index.vue.d.ts +6 -7
  580. package/dist/types/__VUE/fixednav/common.d.ts +2 -5
  581. package/dist/types/__VUE/fixednav/index.vue.d.ts +10 -11
  582. package/dist/types/__VUE/form/common.d.ts +2 -6
  583. package/dist/types/__VUE/form/index.vue.d.ts +7 -8
  584. package/dist/types/__VUE/form/types.d.ts +3 -7
  585. package/dist/types/__VUE/formitem/common.d.ts +0 -0
  586. package/dist/types/__VUE/formitem/index.vue.d.ts +11 -11
  587. package/dist/types/__VUE/formitem/types.d.ts +0 -4
  588. package/dist/types/__VUE/grid/common.d.ts +2 -20
  589. package/dist/types/__VUE/grid/index.vue.d.ts +7 -23
  590. package/dist/types/__VUE/griditem/index.vue.d.ts +9 -42
  591. package/dist/types/__VUE/icon/index.vue.d.ts +6 -68
  592. package/dist/types/__VUE/image/index.vue.d.ts +15 -17
  593. package/dist/types/__VUE/image/type.d.ts +2 -6
  594. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +10 -9
  595. package/dist/types/__VUE/imagepreview/index.d.ts +1 -5
  596. package/dist/types/__VUE/imagepreview/index.vue.d.ts +14 -12
  597. package/dist/types/__VUE/imagepreview/types.d.ts +2 -6
  598. package/dist/types/__VUE/indicator/index.vue.d.ts +7 -8
  599. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +18 -57
  600. package/dist/types/__VUE/input/index.vue.d.ts +42 -146
  601. package/dist/types/__VUE/input/type.d.ts +5 -9
  602. package/dist/types/__VUE/input/util.d.ts +0 -4
  603. package/dist/types/__VUE/inputnumber/index.vue.d.ts +10 -29
  604. package/dist/types/__VUE/invoice/index.vue.d.ts +9 -10
  605. package/dist/types/__VUE/invoice/types.d.ts +6 -0
  606. package/dist/types/__VUE/layout/index.vue.d.ts +6 -7
  607. package/dist/types/__VUE/list/index.vue.d.ts +12 -12
  608. package/dist/types/__VUE/menu/index.vue.d.ts +10 -11
  609. package/dist/types/__VUE/menuitem/index.vue.d.ts +13 -21
  610. package/dist/types/__VUE/menuitem/type.d.ts +1 -5
  611. package/dist/types/__VUE/navbar/index.vue.d.ts +20 -22
  612. package/dist/types/__VUE/noticebar/index.vue.d.ts +38 -30
  613. package/dist/types/__VUE/notify/index.d.ts +0 -4
  614. package/dist/types/__VUE/notify/index.vue.d.ts +8 -9
  615. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +27 -54
  616. package/dist/types/__VUE/overlay/index.vue.d.ts +10 -10
  617. package/dist/types/__VUE/pagination/index.vue.d.ts +6 -7
  618. package/dist/types/__VUE/picker/Column.vue.d.ts +41 -35
  619. package/dist/types/__VUE/picker/baseProps.d.ts +55 -0
  620. package/dist/types/__VUE/picker/common.d.ts +555 -0
  621. package/dist/types/__VUE/picker/doc.en.d.ts +88 -0
  622. package/dist/types/__VUE/picker/index.vue.d.ts +60 -236
  623. package/dist/types/__VUE/picker/types.d.ts +1 -5
  624. package/dist/types/__VUE/picker/usePicker.d.ts +17 -0
  625. package/dist/types/__VUE/popover/index.vue.d.ts +24 -20
  626. package/dist/types/__VUE/popover/type.d.ts +5 -8
  627. package/dist/types/__VUE/popup/common.d.ts +2 -6
  628. package/dist/types/__VUE/popup/index.vue.d.ts +9 -10
  629. package/dist/types/__VUE/popup/props.d.ts +0 -4
  630. package/dist/types/__VUE/price/index.vue.d.ts +9 -19
  631. package/dist/types/__VUE/progress/index.vue.d.ts +9 -28
  632. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +126 -0
  633. package/dist/types/__VUE/radio/index.vue.d.ts +9 -46
  634. package/dist/types/__VUE/radiogroup/index.vue.d.ts +9 -10
  635. package/dist/types/__VUE/range/index.vue.d.ts +22 -21
  636. package/dist/types/__VUE/range/type.d.ts +1 -5
  637. package/dist/types/__VUE/rate/index.vue.d.ts +28 -55
  638. package/dist/types/__VUE/row/index.vue.d.ts +6 -7
  639. package/dist/types/__VUE/searchbar/index.vue.d.ts +25 -21
  640. package/dist/types/__VUE/searchbar/type.d.ts +1 -5
  641. package/dist/types/__VUE/shortpassword/index.vue.d.ts +10 -44
  642. package/dist/types/__VUE/sidenavbar/index.vue.d.ts +7 -7
  643. package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +6 -7
  644. package/dist/types/__VUE/signature/index.vue.d.ts +13 -9
  645. package/dist/types/__VUE/skeleton/common.d.ts +3 -6
  646. package/dist/types/__VUE/skeleton/index.vue.d.ts +8 -9
  647. package/dist/types/__VUE/sku/components/SkuHeader.vue.d.ts +3 -14
  648. package/dist/types/__VUE/sku/components/SkuOperate.vue.d.ts +9 -19
  649. package/dist/types/__VUE/sku/components/SkuSelect.vue.d.ts +10 -15
  650. package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +6 -17
  651. package/dist/types/__VUE/sku/data.d.ts +22 -0
  652. package/dist/types/__VUE/sku/index.vue.d.ts +21 -21
  653. package/dist/types/__VUE/step/index.vue.d.ts +6 -34
  654. package/dist/types/__VUE/steps/index.vue.d.ts +7 -8
  655. package/dist/types/__VUE/sticky/index.vue.d.ts +9 -9
  656. package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +6 -7
  657. package/dist/types/__VUE/swipe/index.vue.d.ts +8 -7
  658. package/dist/types/__VUE/swiper/index.vue.d.ts +18 -19
  659. package/dist/types/__VUE/swiper/use-touch.d.ts +16 -0
  660. package/dist/types/__VUE/swiperitem/index.vue.d.ts +7 -7
  661. package/dist/types/__VUE/swiperitem/type.d.ts +5 -0
  662. package/dist/types/__VUE/switch/index.vue.d.ts +15 -43
  663. package/dist/types/__VUE/tabbar/index.vue.d.ts +16 -17
  664. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +14 -69
  665. package/dist/types/__VUE/table/common.d.ts +2 -4
  666. package/dist/types/__VUE/table/index.vue.d.ts +7 -8
  667. package/dist/types/__VUE/table/renderColumn.d.ts +11 -5
  668. package/dist/types/__VUE/table/types.d.ts +0 -4
  669. package/dist/types/__VUE/tabpane/index.vue.d.ts +6 -7
  670. package/dist/types/__VUE/tabs/index.vue.d.ts +28 -18
  671. package/dist/types/__VUE/tag/index.vue.d.ts +15 -14
  672. package/dist/types/__VUE/tag/type.d.ts +1 -5
  673. package/dist/types/__VUE/textarea/index.vue.d.ts +15 -16
  674. package/dist/types/__VUE/timedetail/index.vue.d.ts +8 -9
  675. package/dist/types/__VUE/timepannel/index.vue.d.ts +7 -8
  676. package/dist/types/__VUE/timeselect/index.vue.d.ts +6 -7
  677. package/dist/types/__VUE/toast/index.d.ts +1 -5
  678. package/dist/types/__VUE/toast/index.vue.d.ts +19 -18
  679. package/dist/types/__VUE/tour/index.vue.d.ts +195 -0
  680. package/dist/types/__VUE/tour/type.d.ts +2 -0
  681. package/dist/types/__VUE/trendarrow/index.vue.d.ts +7 -40
  682. package/dist/types/__VUE/uploader/index.vue.d.ts +18 -43
  683. package/dist/types/__VUE/uploader/type.d.ts +3 -7
  684. package/dist/types/__VUE/uploader/uploader.d.ts +0 -4
  685. package/dist/types/__VUE/video/index.vue.d.ts +25 -25
  686. package/dist/types/__VUE/watermark/index.vue.d.ts +9 -10
  687. package/dist/types/index.d.ts +113 -7
  688. package/dist/types/locale/index.d.ts +8 -0
  689. package/dist/types/locale/lang/baseLang.d.ts +93 -0
  690. package/dist/types/locale/lang/en-US.d.ts +109 -0
  691. package/dist/types/locale/lang/id-ID.d.ts +109 -0
  692. package/dist/types/locale/lang/zh-CN.d.ts +109 -0
  693. package/dist/types/locale/lang/zh-TW.d.ts +109 -0
  694. package/dist/types/utils/create/component.d.ts +7 -0
  695. package/dist/types/utils/create/index.d.ts +4 -0
  696. package/dist/types/utils/create/mountComponent.d.ts +4 -0
  697. package/dist/types/utils/create/renderIcon.d.ts +4 -0
  698. package/dist/types/utils/date.d.ts +12 -0
  699. package/dist/types/utils/interceptor.d.ts +6 -0
  700. package/dist/types/utils/pxCheck.d.ts +1 -0
  701. package/dist/types/utils/raf.d.ts +4 -0
  702. package/dist/types/utils/throttle.d.ts +2 -0
  703. package/dist/types/utils/unit.d.ts +6 -0
  704. package/dist/types/utils/useExpose/index.d.ts +1 -0
  705. package/dist/types/utils/useLockScroll/index.d.ts +1 -0
  706. package/dist/types/utils/useRect/index.d.ts +17 -0
  707. package/dist/types/utils/useRelation/useInject.d.ts +14 -0
  708. package/dist/types/utils/useRelation/useProvide.d.ts +8 -0
  709. package/dist/types/utils/useRelation/useRelation.d.ts +1 -0
  710. package/dist/types/utils/useRoute/index.d.ts +1 -0
  711. package/dist/types/utils/useScrollParent/index.d.ts +5 -0
  712. package/dist/types/utils/useTaroRect/index.d.ts +10 -0
  713. package/dist/types/utils/useTouch/index.d.ts +18 -0
  714. package/dist/types/utils/util.d.ts +25 -0
  715. package/package.json +42 -34
  716. package/dist/packages/_es/props.js +0 -80
  717. package/dist/packages/locale/index.scss +0 -1
  718. package/dist/packages/locale/lang/baseLang.js +0 -8
  719. package/dist/packages/locale/lang/index.scss +0 -1
  720. package/dist/style.es.js +0 -2
  721. package/dist/styles/animation/icon.scss +0 -245
  722. package/dist/styles/font/config.json +0 -175
  723. package/dist/styles/font/demo.css +0 -539
  724. package/dist/styles/font/demo_index.html +0 -3063
  725. package/dist/styles/font/iconfont.css +0 -515
  726. package/dist/styles/font/iconfont.eot +0 -0
  727. package/dist/styles/font/iconfont.js +0 -66
  728. package/dist/styles/font/iconfont.json +0 -884
  729. package/dist/styles/font/iconfont.svg +0 -356
  730. package/dist/styles/font/iconfont.ttf +0 -0
  731. package/dist/styles/font/iconfont.woff +0 -0
  732. package/dist/styles/font/iconfont.woff2 +0 -0
  733. package/dist/types/__VUE/rate/common.d.ts +0 -149
  734. package/dist/types/__VUE/tabs/common.d.ts +0 -95
  735. package/dist/types/nutui.d.ts +0 -104
@@ -1,15 +1,18 @@
1
1
  /*!
2
- * @nutui/nutui v3.3.1 Fri Dec 16 2022 17:34:28 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, renderSlot, toDisplayString, createCommentVNode, createVNode, createTextVNode, ref, createBlock, withCtx, reactive, computed, watch, onMounted, normalizeClass, Fragment, renderList, createSlots } from "vue";
7
- import { c as createComponent, n as floatData } from "./component.js";
8
- import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
7
+ import { c as createComponent, n as floatData } from "./component-48526d37.js";
8
+ import { Del, Edit } from "@nutui/icons-vue";
9
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
10
+ import Button from "./Button.js";
9
11
  import "../locale/lang";
10
12
  const { create: create$3 } = createComponent("addresslist-item");
11
13
  const { translate: translate$1 } = createComponent("addresslist");
12
14
  const _sfc_main$3 = create$3({
15
+ components: { Del, Edit },
13
16
  props: {
14
17
  item: {
15
18
  type: Object,
@@ -38,20 +41,21 @@ const _sfc_main$3 = create$3({
38
41
  };
39
42
  }
40
43
  });
41
- const _hoisted_1$2 = { class: "nut-addresslist-item__info" };
42
- const _hoisted_2$1 = { class: "nut-addresslist-item__info-contact" };
43
- const _hoisted_3$1 = { class: "nut-addresslist-item__info-contact-name" };
44
- const _hoisted_4$1 = { class: "nut-addresslist-item__info-contact-tel" };
44
+ const _hoisted_1$2 = { class: "nut-address-list-item__info" };
45
+ const _hoisted_2$1 = { class: "nut-address-list-item__info-contact" };
46
+ const _hoisted_3$1 = { class: "nut-address-list-item__info-contact-name" };
47
+ const _hoisted_4$1 = { class: "nut-address-list-item__info-contact-tel" };
45
48
  const _hoisted_5$1 = {
46
49
  key: 0,
47
- class: "nut-addresslist-item__info-contact-default"
50
+ class: "nut-address-list-item__info-contact-default"
48
51
  };
49
- const _hoisted_6$1 = { class: "nut-addresslist-item__info-handle" };
50
- const _hoisted_7$1 = { class: "nut-addresslist-item__addr" };
52
+ const _hoisted_6$1 = { class: "nut-address-list-item__info-handle" };
53
+ const _hoisted_7$1 = { class: "nut-address-list-item__addr" };
51
54
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
52
- const _component_nut_icon = resolveComponent("nut-icon");
55
+ const _component_Del = resolveComponent("Del");
56
+ const _component_Edit = resolveComponent("Edit");
53
57
  return openBlock(), createElementBlock("div", {
54
- class: "nut-addresslist-item",
58
+ class: "nut-address-list-item",
55
59
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.contentsClick && _ctx.contentsClick(...args))
56
60
  }, [
57
61
  createElementVNode("div", _hoisted_1$2, [
@@ -64,14 +68,14 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
64
68
  ]),
65
69
  createElementVNode("div", _hoisted_6$1, [
66
70
  renderSlot(_ctx.$slots, "contentIcon", {}, () => [
67
- createVNode(_component_nut_icon, {
71
+ createVNode(_component_Del, {
68
72
  name: "del",
69
- class: "nut-addresslist-item__info-handle-del",
73
+ class: "nut-address-list-item__info-handle-del",
70
74
  onClick: _ctx.delClick
71
75
  }, null, 8, ["onClick"]),
72
- createVNode(_component_nut_icon, {
76
+ createVNode(_component_Edit, {
73
77
  name: "edit",
74
- class: "nut-addresslist-item__info-handle-edit",
78
+ class: "nut-address-list-item__info-handle-edit",
75
79
  onClick: _ctx.editClick
76
80
  }, null, 8, ["onClick"])
77
81
  ])
@@ -84,7 +88,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
84
88
  ])
85
89
  ]);
86
90
  }
87
- var ItemContents = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3]]);
91
+ const ItemContents = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3]]);
88
92
  const { create: create$2 } = createComponent("addresslist-swipe");
89
93
  const _sfc_main$2 = create$2({
90
94
  props: {
@@ -133,7 +137,7 @@ const _sfc_main$2 = create$2({
133
137
  };
134
138
  }
135
139
  });
136
- const _hoisted_1$1 = { class: "nut-addresslist-swipe" };
140
+ const _hoisted_1$1 = { class: "nut-address-list-swipe" };
137
141
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
138
142
  const _component_item_contents = resolveComponent("item-contents");
139
143
  const _component_nut_button = resolveComponent("nut-button");
@@ -148,7 +152,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
148
152
  onClick: _ctx.swipeDelClick
149
153
  }, {
150
154
  default: withCtx(() => [
151
- createTextVNode("\u5220\u9664")
155
+ createTextVNode("删除")
152
156
  ]),
153
157
  _: 1
154
158
  }, 8, ["onClick"])
@@ -180,7 +184,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
180
184
  _: 3
181
185
  });
182
186
  }
183
- var SwipeShell = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
187
+ const SwipeShell = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
184
188
  const { create: create$1 } = createComponent("addresslist-general");
185
189
  const _sfc_main$1 = create$1({
186
190
  props: {
@@ -266,27 +270,27 @@ const _sfc_main$1 = create$1({
266
270
  };
267
271
  }
268
272
  });
269
- const _hoisted_1 = { class: "nut-addresslist-general" };
270
- const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", { class: "nut-addresslist-mask-contain" }, [
271
- /* @__PURE__ */ createTextVNode(" \u590D\u5236"),
273
+ const _hoisted_1 = { class: "nut-address-list-general" };
274
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", { class: "nut-address-list-mask-contain" }, [
275
+ /* @__PURE__ */ createTextVNode(" 复制"),
272
276
  /* @__PURE__ */ createElementVNode("br"),
273
- /* @__PURE__ */ createTextVNode("\u5730\u5740 ")
277
+ /* @__PURE__ */ createTextVNode("地址 ")
274
278
  ], -1);
275
279
  const _hoisted_3 = [
276
280
  _hoisted_2
277
281
  ];
278
- const _hoisted_4 = /* @__PURE__ */ createElementVNode("div", { class: "nut-addresslist-mask-contain" }, [
279
- /* @__PURE__ */ createTextVNode(" \u8BBE\u7F6E"),
282
+ const _hoisted_4 = /* @__PURE__ */ createElementVNode("div", { class: "nut-address-list-mask-contain" }, [
283
+ /* @__PURE__ */ createTextVNode(" 设置"),
280
284
  /* @__PURE__ */ createElementVNode("br"),
281
- /* @__PURE__ */ createTextVNode("\u9ED8\u8BA4 ")
285
+ /* @__PURE__ */ createTextVNode("默认 ")
282
286
  ], -1);
283
287
  const _hoisted_5 = [
284
288
  _hoisted_4
285
289
  ];
286
- const _hoisted_6 = /* @__PURE__ */ createElementVNode("div", { class: "nut-addresslist-mask-contain" }, [
287
- /* @__PURE__ */ createTextVNode(" \u5220\u9664"),
290
+ const _hoisted_6 = /* @__PURE__ */ createElementVNode("div", { class: "nut-address-list-mask-contain" }, [
291
+ /* @__PURE__ */ createTextVNode(" 删除"),
288
292
  /* @__PURE__ */ createElementVNode("br"),
289
- /* @__PURE__ */ createTextVNode("\u5730\u5740 ")
293
+ /* @__PURE__ */ createTextVNode("地址 ")
290
294
  ], -1);
291
295
  const _hoisted_7 = [
292
296
  _hoisted_6
@@ -316,33 +320,33 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
316
320
  }, 8, ["item", "onDelIcon", "onEditIcon", "onItemClick", "onTouchstart", "onTouchend", "onTouchmove"]),
317
321
  _ctx.longPress && _ctx.showMaskRef ? (openBlock(), createElementBlock("div", {
318
322
  key: 0,
319
- class: "nut-addresslist-general__mask",
323
+ class: "nut-address-list-general__mask",
320
324
  onClick: _cache[3] || (_cache[3] = (...args) => _ctx.maskClick && _ctx.maskClick(...args))
321
325
  }, [
322
326
  renderSlot(_ctx.$slots, "longpressAll", {}, () => [
323
327
  createElementVNode("div", {
324
- class: "nut-addresslist-general__mask-copy",
328
+ class: "nut-address-list-general__mask-copy",
325
329
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.copyCLick && _ctx.copyCLick(...args))
326
330
  }, _hoisted_3),
327
331
  createElementVNode("div", {
328
- class: "nut-addresslist-general__mask-set",
332
+ class: "nut-address-list-general__mask-set",
329
333
  onClick: _cache[1] || (_cache[1] = (...args) => _ctx.setDefault && _ctx.setDefault(...args))
330
334
  }, _hoisted_5),
331
335
  createElementVNode("div", {
332
- class: "nut-addresslist-general__mask-del",
336
+ class: "nut-address-list-general__mask-del",
333
337
  onClick: _cache[2] || (_cache[2] = (...args) => _ctx.delClick && _ctx.delClick(...args))
334
338
  }, _hoisted_7)
335
339
  ])
336
340
  ])) : createCommentVNode("", true),
337
341
  _ctx.showMaskRef ? (openBlock(), createElementBlock("div", {
338
342
  key: 1,
339
- class: "nut-addresslist__mask-bottom",
343
+ class: "nut-address-list__mask-bottom",
340
344
  onClick: _cache[4] || (_cache[4] = (...args) => _ctx.hideMaskClick && _ctx.hideMaskClick(...args))
341
345
  })) : createCommentVNode("", true)
342
346
  ]);
343
347
  }
344
- var GeneralShell = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
345
- const { componentName, create, translate } = createComponent("addresslist");
348
+ const GeneralShell = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
349
+ const { componentName, create, translate } = createComponent("address-list");
346
350
  const _sfc_main = create({
347
351
  props: {
348
352
  data: {
@@ -368,17 +372,18 @@ const _sfc_main = create({
368
372
  },
369
373
  components: {
370
374
  SwipeShell,
371
- GeneralShell
375
+ GeneralShell,
376
+ [Button.name]: Button
372
377
  },
373
378
  emits: ["delIcon", "editIcon", "itemClick", "longCopy", "longSet", "longDel", "swipeDel", "add"],
374
379
  setup(props, { emit }) {
375
380
  const dataArray = ref([]);
376
381
  const dataInfo = reactive({
377
382
  id: 2,
378
- addressName: "\u59D3\u540D",
383
+ addressName: "姓名",
379
384
  phone: "123****4567",
380
385
  defaultAddress: false,
381
- fullAddress: "\u5317\u4EAC\u5E02\u901A\u5DDE\u533A\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5"
386
+ fullAddress: "北京市通州区测试测试测试测试测试测试测试测试测试"
382
387
  });
383
388
  const classes = computed(() => {
384
389
  const prefixCls = componentName;
@@ -524,7 +529,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
524
529
  }), 128)) : createCommentVNode("", true),
525
530
  _ctx.showBottomButton ? (openBlock(), createElementBlock("div", {
526
531
  key: 2,
527
- class: "nut-addresslist__bottom",
532
+ class: "nut-address-list__bottom",
528
533
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.addAddress && _ctx.addAddress(...args))
529
534
  }, [
530
535
  createVNode(_component_nut_button, {
@@ -539,5 +544,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
539
544
  ])) : createCommentVNode("", true)
540
545
  ], 2);
541
546
  }
542
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
543
- export { index as default };
547
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
548
+ export {
549
+ index as default
550
+ };
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * @nutui/nutui v3.3.1 Fri Dec 16 2022 17:34:28 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { toRefs, reactive, computed, openBlock, createElementBlock, createElementVNode, normalizeClass, renderSlot } from "vue";
7
- import { c as createComponent } from "./component.js";
8
- import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
7
+ import { c as createComponent } from "./component-48526d37.js";
8
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
9
9
  import "../locale/lang";
10
10
  const { componentName, create } = createComponent("animate");
11
11
  const _sfc_main = create({
@@ -32,7 +32,7 @@ const _sfc_main = create({
32
32
  let classes = computed(() => {
33
33
  const prefixCls = componentName;
34
34
  return {
35
- "nut-ani-container": true,
35
+ "nut-animate__container": true,
36
36
  [`${prefixCls}-${type.value}`]: action.value === "initial" || state.clicked ? type.value : false,
37
37
  loop: loop.value
38
38
  };
@@ -60,5 +60,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
60
60
  ], 2)
61
61
  ]);
62
62
  }
63
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
64
- export { index as default };
63
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
64
+ export {
65
+ index as default
66
+ };
@@ -1,12 +1,16 @@
1
1
  /*!
2
- * @nutui/nutui v3.3.1 Fri Dec 16 2022 17:34:28 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { ref, reactive, onMounted, watch, provide, toRefs, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode, withCtx, createCommentVNode, normalizeClass, createBlock, renderSlot } from "vue";
7
- import { c as createComponent } from "./component.js";
8
- import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
7
+ import { c as createComponent } from "./component-48526d37.js";
8
+ import { Service } from "@nutui/icons-vue";
9
+ import Range from "./Range.js";
10
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
9
11
  import "../locale/lang";
12
+ import "./index-c3e2c58b.js";
13
+ import "./index-c70386a5.js";
10
14
  const { componentName, create } = createComponent("audio");
11
15
  const _sfc_main = create({
12
16
  props: {
@@ -39,9 +43,12 @@ const _sfc_main = create({
39
43
  default: "progress"
40
44
  }
41
45
  },
42
- components: {},
46
+ components: {
47
+ Service,
48
+ [Range.name]: Range
49
+ },
43
50
  emits: ["fastBack", "play", "forward", "ended", "changeProgress", "mute", "can-play"],
44
- setup(props, { emit }) {
51
+ setup(props, { emit, slots }) {
45
52
  const audioRef = ref(null);
46
53
  const audioData = reactive({
47
54
  currentTime: 0,
@@ -168,27 +175,28 @@ const _sfc_main = create({
168
175
  audioEnd,
169
176
  onTimeupdate,
170
177
  handleMute,
171
- onCanplay
178
+ onCanplay,
179
+ slots
172
180
  };
173
181
  }
174
182
  });
175
183
  const _hoisted_1 = { class: "nut-audio" };
176
184
  const _hoisted_2 = {
177
185
  key: 0,
178
- class: "progress-wrapper"
186
+ class: "nut-audio__progress"
179
187
  };
180
- const _hoisted_3 = { class: "time" };
181
- const _hoisted_4 = { class: "progress-bar-wrapper" };
182
- const _hoisted_5 = /* @__PURE__ */ createElementVNode("div", { class: "custom-button" }, null, -1);
183
- const _hoisted_6 = { class: "time" };
188
+ const _hoisted_3 = { class: "nut-audio__time" };
189
+ const _hoisted_4 = { class: "nut-audio__bar" };
190
+ const _hoisted_5 = /* @__PURE__ */ createElementVNode("div", { class: "nut-audio__button--custom" }, null, -1);
191
+ const _hoisted_6 = { class: "nut-audio__time" };
184
192
  const _hoisted_7 = {
185
193
  key: 1,
186
- class: "nut-audio-icon"
194
+ class: "nut-audio__icon"
187
195
  };
188
196
  const _hoisted_8 = ["controls", "src", "preload", "autoplay", "loop", "muted"];
189
197
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
190
198
  const _component_nut_range = resolveComponent("nut-range");
191
- const _component_nut_icon = resolveComponent("nut-icon");
199
+ const _component_Service = resolveComponent("Service");
192
200
  return openBlock(), createElementBlock("div", _hoisted_1, [
193
201
  _ctx.type == "progress" ? (openBlock(), createElementBlock("div", _hoisted_2, [
194
202
  createElementVNode("div", _hoisted_3, toDisplayString(_ctx.currentDuration), 1),
@@ -211,18 +219,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
211
219
  ])) : createCommentVNode("", true),
212
220
  _ctx.type == "icon" ? (openBlock(), createElementBlock("div", _hoisted_7, [
213
221
  createElementVNode("div", {
214
- class: normalizeClass(["nut-audio-icon-box", _ctx.playing ? "nut-audio-icon-play" : "nut-audio-icon-stop"]),
222
+ class: normalizeClass(["nut-audio__icon--box", _ctx.playing ? "nut-audio__icon--play" : "nut-audio__icon--stop"]),
215
223
  onClick: _cache[1] || (_cache[1] = (...args) => _ctx.changeStatus && _ctx.changeStatus(...args))
216
224
  }, [
217
- _ctx.playing ? (openBlock(), createBlock(_component_nut_icon, {
225
+ _ctx.playing ? (openBlock(), createBlock(_component_Service, {
218
226
  key: 0,
219
- name: "service",
220
227
  class: "nut-icon-am-rotate nut-icon-am-infinite"
221
- })) : createCommentVNode("", true),
222
- !_ctx.playing ? (openBlock(), createBlock(_component_nut_icon, {
223
- key: 1,
224
- name: "service"
225
- })) : createCommentVNode("", true)
228
+ })) : (openBlock(), createBlock(_component_Service, { key: 1 }))
226
229
  ], 2)
227
230
  ])) : createCommentVNode("", true),
228
231
  _ctx.type == "none" ? (openBlock(), createElementBlock("div", {
@@ -247,5 +250,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
247
250
  }, null, 40, _hoisted_8)
248
251
  ]);
249
252
  }
250
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
251
- export { index as default };
253
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
254
+ export {
255
+ index as default
256
+ };
@@ -1,12 +1,14 @@
1
1
  /*!
2
- * @nutui/nutui v3.3.1 Fri Dec 16 2022 17:34:28 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { inject, reactive, ref, useSlots, toRefs, resolveComponent, openBlock, createElementBlock, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, renderSlot } from "vue";
7
- import { c as createComponent } from "./component.js";
8
- import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
7
+ import { c as createComponent } from "./component-48526d37.js";
8
+ import Button from "./Button.js";
9
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
9
10
  import "../locale/lang";
11
+ import "@nutui/icons-vue";
10
12
  const { componentName, create, translate } = createComponent("audio-operate");
11
13
  const _sfc_main = create({
12
14
  props: {
@@ -15,7 +17,9 @@ const _sfc_main = create({
15
17
  default: () => "play"
16
18
  }
17
19
  },
18
- components: {},
20
+ components: {
21
+ [Button.name]: Button
22
+ },
19
23
  emits: ["click"],
20
24
  setup(props, { emit }) {
21
25
  const audio = inject("audioParent");
@@ -73,7 +77,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
73
77
  size: "small"
74
78
  }, {
75
79
  default: withCtx(() => [
76
- createTextVNode("\u5FEB\u8FDB")
80
+ createTextVNode("快进")
77
81
  ]),
78
82
  _: 1
79
83
  })) : createCommentVNode("", true),
@@ -98,5 +102,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
98
102
  ])) : createCommentVNode("", true)
99
103
  ]);
100
104
  }
101
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
102
- export { index as default };
105
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
106
+ export {
107
+ index as default
108
+ };
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * @nutui/nutui v3.3.1 Fri Dec 16 2022 17:34:28 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { toRefs, inject, ref, reactive, onMounted, computed, resolveComponent, openBlock, createElementBlock, normalizeStyle, normalizeClass, Fragment, createBlock, mergeProps, createCommentVNode, renderSlot, toDisplayString } from "vue";
7
- import { c as createComponent } from "./component.js";
8
- import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
6
+ import { toRefs, inject, ref, reactive, onMounted, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, renderSlot, createCommentVNode, Fragment, createTextVNode, toDisplayString } from "vue";
7
+ import { c as createComponent } from "./component-48526d37.js";
8
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
9
9
  import "../locale/lang";
10
10
  const { componentName, create } = createComponent("avatar");
11
11
  const _sfc_main = create({
@@ -25,23 +25,10 @@ const _sfc_main = create({
25
25
  color: {
26
26
  type: String,
27
27
  default: "#666"
28
- },
29
- url: {
30
- type: String,
31
- default: ""
32
- },
33
- alt: {
34
- type: String,
35
- default: ""
36
- },
37
- icon: {
38
- type: String,
39
- default: ""
40
28
  }
41
29
  },
42
- emits: ["active-avatar", "onError"],
43
- setup(props, { emit, slots }) {
44
- const { size, shape, bgColor, color, icon } = toRefs(props);
30
+ setup(props) {
31
+ const { size, shape, bgColor, color } = toRefs(props);
45
32
  const sizeValue = ["large", "normal", "small"];
46
33
  const avatarGroup = inject("avatarGroup", null);
47
34
  const avatarRef = ref(null);
@@ -87,12 +74,6 @@ const _sfc_main = create({
87
74
  color: `${(_b = avatarGroup == null ? void 0 : avatarGroup.props) == null ? void 0 : _b.maxColor}`
88
75
  };
89
76
  });
90
- const iconStyles = computed(() => {
91
- return !!icon.value ? icon.value : "";
92
- });
93
- const isShowText = computed(() => {
94
- return slots.default;
95
- });
96
77
  const avatarLength = (children) => {
97
78
  var _a, _b, _c;
98
79
  state.maxIndex = children.length;
@@ -106,20 +87,10 @@ const _sfc_main = create({
106
87
  state.showMax = true;
107
88
  }
108
89
  };
109
- const activeAvatar = (event) => {
110
- emit("active-avatar", event);
111
- };
112
- const onError = (event) => {
113
- emit("onError", event);
114
- };
115
90
  return {
116
91
  classes,
117
92
  styles,
118
- iconStyles,
119
- isShowText,
120
93
  maxStyles,
121
- activeAvatar,
122
- onError,
123
94
  avatarGroup,
124
95
  visible,
125
96
  avatarRef,
@@ -127,41 +98,21 @@ const _sfc_main = create({
127
98
  };
128
99
  }
129
100
  });
130
- const _hoisted_1 = ["src", "alt"];
131
- const _hoisted_2 = {
132
- key: 2,
133
- class: "text"
134
- };
135
- const _hoisted_3 = {
136
- key: 1,
137
- class: "text"
138
- };
139
101
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
140
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
141
- const _component_nut_icon = resolveComponent("nut-icon");
102
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
142
103
  return _ctx.showMax || !((_b = (_a = _ctx.avatarGroup) == null ? void 0 : _a.props) == null ? void 0 : _b.maxCount) || _ctx.index <= ((_d = (_c = _ctx.avatarGroup) == null ? void 0 : _c.props) == null ? void 0 : _d.maxCount) ? (openBlock(), createElementBlock("view", {
143
104
  key: 0,
144
105
  style: normalizeStyle(!_ctx.showMax ? _ctx.styles : _ctx.maxStyles),
145
106
  class: normalizeClass(_ctx.classes),
146
- onClick: _cache[1] || (_cache[1] = (...args) => _ctx.activeAvatar && _ctx.activeAvatar(...args)),
147
107
  ref: "avatarRef"
148
108
  }, [
149
- !((_f = (_e = _ctx.avatarGroup) == null ? void 0 : _e.props) == null ? void 0 : _f.maxCount) || _ctx.index <= ((_h = (_g = _ctx.avatarGroup) == null ? void 0 : _g.props) == null ? void 0 : _h.maxCount) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
150
- _ctx.url ? (openBlock(), createElementBlock("img", {
151
- key: 0,
152
- src: _ctx.url,
153
- alt: _ctx.alt,
154
- onError: _cache[0] || (_cache[0] = (...args) => _ctx.onError && _ctx.onError(...args))
155
- }, null, 40, _hoisted_1)) : _ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 1 }, _ctx.$attrs, {
156
- class: "icon",
157
- name: _ctx.iconStyles
158
- }), null, 16, ["name"])) : createCommentVNode("", true),
159
- _ctx.isShowText ? (openBlock(), createElementBlock("view", _hoisted_2, [
160
- renderSlot(_ctx.$slots, "default")
161
- ])) : createCommentVNode("", true)
162
- ], 64)) : createCommentVNode("", true),
163
- _ctx.showMax ? (openBlock(), createElementBlock("view", _hoisted_3, toDisplayString(((_j = (_i = _ctx.avatarGroup) == null ? void 0 : _i.props) == null ? void 0 : _j.maxContent) ? (_l = (_k = _ctx.avatarGroup) == null ? void 0 : _k.props) == null ? void 0 : _l.maxContent : `+ ${_ctx.maxIndex - ((_n = (_m = _ctx.avatarGroup) == null ? void 0 : _m.props) == null ? void 0 : _n.maxCount)}`), 1)) : createCommentVNode("", true)
109
+ !((_f = (_e = _ctx.avatarGroup) == null ? void 0 : _e.props) == null ? void 0 : _f.maxCount) || _ctx.index <= ((_h = (_g = _ctx.avatarGroup) == null ? void 0 : _g.props) == null ? void 0 : _h.maxCount) ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("", true),
110
+ _ctx.showMax && ((_j = (_i = _ctx.avatarGroup) == null ? void 0 : _i.props) == null ? void 0 : _j.maxCount) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
111
+ createTextVNode(toDisplayString(((_l = (_k = _ctx.avatarGroup) == null ? void 0 : _k.props) == null ? void 0 : _l.maxContent) ? (_n = (_m = _ctx.avatarGroup) == null ? void 0 : _m.props) == null ? void 0 : _n.maxContent : `+ ${_ctx.maxIndex - ((_p = (_o = _ctx.avatarGroup) == null ? void 0 : _o.props) == null ? void 0 : _p.maxCount)}`), 1)
112
+ ], 64)) : createCommentVNode("", true)
164
113
  ], 6)) : createCommentVNode("", true);
165
114
  }
166
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
167
- export { index as default };
115
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
116
+ export {
117
+ Avatar as default
118
+ };
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * @nutui/nutui v3.3.1 Fri Dec 16 2022 17:34:28 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { toRefs, ref, computed, onMounted, provide, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
7
- import { c as createComponent } from "./component.js";
8
- import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
7
+ import { c as createComponent } from "./component-48526d37.js";
8
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
9
9
  import "../locale/lang";
10
10
  const { componentName, create } = createComponent("avatar-group");
11
11
  const _sfc_main = create({
@@ -74,5 +74,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
74
74
  renderSlot(_ctx.$slots, "default")
75
75
  ], 2);
76
76
  }
77
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
78
- export { index as default };
77
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
78
+ export {
79
+ index as default
80
+ };
@@ -1,14 +1,19 @@
1
1
  /*!
2
- * @nutui/nutui v3.3.1 Fri Dec 16 2022 17:34:28 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { reactive, computed, onMounted, onUnmounted, onActivated, onDeactivated, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, withModifiers, renderSlot, createVNode } from "vue";
7
- import { c as createComponent } from "./component.js";
8
- import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
7
+ import { c as createComponent } from "./component-48526d37.js";
8
+ import { r as requestAniFrame, c as cancelRaf } from "./raf-e90b8c4d.js";
9
+ import { Top } from "@nutui/icons-vue";
10
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
9
11
  import "../locale/lang";
10
12
  const { componentName, create } = createComponent("backtop");
11
13
  const _sfc_main = create({
14
+ components: {
15
+ Top
16
+ },
12
17
  props: {
13
18
  bottom: {
14
19
  type: Number,
@@ -78,13 +83,13 @@ const _sfc_main = create({
78
83
  }
79
84
  }
80
85
  function scrollAnimation() {
81
- let cid = requestAniFrame()(function fn() {
86
+ let cid = requestAniFrame(function fn() {
82
87
  var t = props.duration - Math.max(0, state.startTime - +new Date() + props.duration);
83
88
  var y = t * -state.scrollTop / props.duration + state.scrollTop;
84
89
  scroll(y);
85
- cid = requestAniFrame()(fn);
90
+ cid = requestAniFrame(fn);
86
91
  if (t == props.duration || y == 0) {
87
- window.cancelAnimationFrame(cid);
92
+ cancelRaf(cid);
88
93
  }
89
94
  });
90
95
  }
@@ -96,14 +101,6 @@ const _sfc_main = create({
96
101
  state.scrollEl.removeEventListener("scroll", scrollListener, false);
97
102
  state.scrollEl.removeEventListener("resize", scrollListener, false);
98
103
  }
99
- function initCancelAniFrame() {
100
- window.cancelAnimationFrame = window.webkitCancelAnimationFrame;
101
- }
102
- function requestAniFrame() {
103
- return window.requestAnimationFrame || window.webkitRequestAnimationFrame || function(callback) {
104
- window.setTimeout(callback, 1e3 / 60);
105
- };
106
- }
107
104
  function click(e) {
108
105
  state.startTime = +new Date();
109
106
  props.isAnimation && props.duration > 0 ? scrollAnimation() : scroll();
@@ -114,7 +111,6 @@ const _sfc_main = create({
114
111
  state.scrollEl = document.getElementById(props.elId);
115
112
  }
116
113
  addEventListener();
117
- initCancelAniFrame();
118
114
  }
119
115
  onMounted(() => {
120
116
  if (props.distance == 0) {
@@ -144,20 +140,22 @@ const _sfc_main = create({
144
140
  }
145
141
  });
146
142
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
147
- const _component_nut_icon = resolveComponent("nut-icon");
143
+ const _component_Top = resolveComponent("Top");
148
144
  return openBlock(), createElementBlock("div", {
149
145
  class: normalizeClass(_ctx.classes),
150
146
  style: normalizeStyle(_ctx.style),
151
147
  onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.click && _ctx.click(...args), ["stop"]))
152
148
  }, [
153
149
  renderSlot(_ctx.$slots, "default", {}, () => [
154
- createVNode(_component_nut_icon, {
155
- size: "19px",
156
- class: "nut-backtop-main",
157
- name: "top"
150
+ createVNode(_component_Top, {
151
+ width: "19px",
152
+ height: "19px",
153
+ class: "nut-backtop-main"
158
154
  })
159
155
  ])
160
156
  ], 6);
161
157
  }
162
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
163
- export { index as default };
158
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
159
+ export {
160
+ index as default
161
+ };