@nutui/nutui 4.0.0-beta.0 → 4.0.0-beta.2

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 (455) hide show
  1. package/dist/nutui.es.js +103 -0
  2. package/dist/nutui.umd.cjs +117 -122
  3. package/dist/packages/_es/ActionSheet.js +4 -4
  4. package/dist/packages/_es/Address.js +6 -6
  5. package/dist/packages/_es/AddressList.js +12 -12
  6. package/dist/packages/_es/Animate.js +3 -3
  7. package/dist/packages/_es/Audio.js +5 -5
  8. package/dist/packages/_es/AudioOperate.js +4 -4
  9. package/dist/packages/_es/Avatar.js +3 -3
  10. package/dist/packages/_es/AvatarGroup.js +3 -3
  11. package/dist/packages/_es/Backtop.js +4 -4
  12. package/dist/packages/_es/Badge.js +3 -3
  13. package/dist/packages/_es/Barrage.js +3 -3
  14. package/dist/packages/_es/Button.js +3 -3
  15. package/dist/packages/_es/Calendar.js +7 -7
  16. package/dist/packages/_es/CalendarItem.js +6 -6
  17. package/dist/packages/_es/Card.js +3 -3
  18. package/dist/packages/_es/Cascader.js +4 -4
  19. package/dist/packages/_es/Category.js +3 -3
  20. package/dist/packages/_es/CategoryPane.js +3 -3
  21. package/dist/packages/_es/Cell.js +5 -5
  22. package/dist/packages/_es/CellGroup.js +3 -3
  23. package/dist/packages/_es/Checkbox.js +3 -3
  24. package/dist/packages/_es/CheckboxGroup.js +3 -3
  25. package/dist/packages/_es/CircleProgress.js +3 -3
  26. package/dist/packages/_es/Col.js +3 -3
  27. package/dist/packages/_es/Collapse.js +3 -3
  28. package/dist/packages/_es/CollapseItem.js +4 -4
  29. package/dist/packages/_es/Comment.js +7 -7
  30. package/dist/packages/_es/ConfigProvider.js +2 -2
  31. package/dist/packages/_es/Countdown.js +3 -3
  32. package/dist/packages/_es/Countup.js +3 -3
  33. package/dist/packages/_es/DatePicker.js +5 -5
  34. package/dist/packages/_es/Dialog.js +7 -7
  35. package/dist/packages/_es/Divider.js +3 -3
  36. package/dist/packages/_es/Drag.js +4 -4
  37. package/dist/packages/_es/Ecard.js +5 -5
  38. package/dist/packages/_es/Elevator.js +4 -4
  39. package/dist/packages/_es/Ellipsis.js +3 -3
  40. package/dist/packages/_es/Empty.js +3 -3
  41. package/dist/packages/_es/FixedNav.js +3 -3
  42. package/dist/packages/_es/Form.js +4 -4
  43. package/dist/packages/_es/FormItem.js +5 -5
  44. package/dist/packages/_es/Grid.js +4 -4
  45. package/dist/packages/_es/GridItem.js +6 -6
  46. package/dist/packages/_es/Icon.js +4 -5
  47. package/dist/packages/_es/Image.js +4 -4
  48. package/dist/packages/_es/ImagePreview.js +10 -10
  49. package/dist/packages/_es/Indicator.js +3 -3
  50. package/dist/packages/_es/InfiniteLoading.js +5 -5
  51. package/dist/packages/_es/Input.js +4 -7
  52. package/dist/packages/_es/InputNumber.js +4 -4
  53. package/dist/packages/_es/Invoice.js +8 -8
  54. package/dist/packages/_es/Layout.js +2 -2
  55. package/dist/packages/_es/List.js +3 -3
  56. package/dist/packages/_es/Menu.js +4 -4
  57. package/dist/packages/_es/MenuItem.js +4 -4
  58. package/dist/packages/_es/Navbar.js +3 -3
  59. package/dist/packages/_es/Noticebar.js +5 -5
  60. package/dist/packages/_es/Notify.js +5 -5
  61. package/dist/packages/_es/NumberKeyboard.js +4 -4
  62. package/dist/packages/_es/Overlay.js +3 -3
  63. package/dist/packages/_es/Pagination.js +3 -3
  64. package/dist/packages/_es/Picker.js +5 -5
  65. package/dist/packages/_es/Popover.js +6 -6
  66. package/dist/packages/_es/Popup.js +4 -4
  67. package/dist/packages/_es/Price.js +3 -3
  68. package/dist/packages/_es/Progress.js +3 -3
  69. package/dist/packages/_es/PullRefresh.js +7 -7
  70. package/dist/packages/_es/Radio.js +5 -6
  71. package/dist/packages/_es/RadioGroup.js +4 -5
  72. package/dist/packages/_es/Range.js +5 -5
  73. package/dist/packages/_es/Rate.js +6 -6
  74. package/dist/packages/_es/Row.js +3 -3
  75. package/dist/packages/_es/Searchbar.js +4 -4
  76. package/dist/packages/_es/ShortPassword.js +4 -4
  77. package/dist/packages/_es/SideNavbar.js +3 -3
  78. package/dist/packages/_es/SideNavbarItem.js +3 -3
  79. package/dist/packages/_es/Signature.js +3 -3
  80. package/dist/packages/_es/Skeleton.js +3 -3
  81. package/dist/packages/_es/Sku.js +9 -9
  82. package/dist/packages/_es/Step.js +3 -3
  83. package/dist/packages/_es/Steps.js +2 -2
  84. package/dist/packages/_es/Sticky.js +5 -6
  85. package/dist/packages/_es/SubSideNavbar.js +3 -3
  86. package/dist/packages/_es/Swipe.js +4 -4
  87. package/dist/packages/_es/Swiper.js +4 -4
  88. package/dist/packages/_es/SwiperItem.js +4 -4
  89. package/dist/packages/_es/Switch.js +3 -3
  90. package/dist/packages/_es/TabPane.js +3 -3
  91. package/dist/packages/_es/Tabbar.js +3 -3
  92. package/dist/packages/_es/TabbarItem.js +8 -10
  93. package/dist/packages/_es/Table.js +3 -3
  94. package/dist/packages/_es/Tabs.js +8 -8
  95. package/dist/packages/_es/Tag.js +3 -3
  96. package/dist/packages/_es/Textarea.js +3 -3
  97. package/dist/packages/_es/TimeDetail.js +3 -3
  98. package/dist/packages/_es/TimePannel.js +3 -3
  99. package/dist/packages/_es/TimeSelect.js +4 -4
  100. package/dist/packages/_es/Toast.js +6 -6
  101. package/dist/packages/_es/Tour.js +9 -9
  102. package/dist/packages/_es/TrendArrow.js +3 -3
  103. package/dist/packages/_es/Uploader.js +7 -7
  104. package/dist/packages/_es/Video.js +3 -3
  105. package/dist/packages/_es/Watermark.js +4 -4
  106. package/dist/packages/_es/{_plugin-vue_export-helper.bf57b04e.js → _plugin-vue_export-helper-6eba1fc2.js} +1 -1
  107. package/dist/packages/_es/{common.4b8c0eb2.js → common-7e43c968.js} +3 -3
  108. package/dist/packages/_es/{component.fb9ce7ad.js → component-1a609d46.js} +2 -2
  109. package/dist/packages/_es/{index.51da6a3b.js → index-0a179fe8.js} +1 -1
  110. package/dist/packages/_es/{index.983240fc.js → index-0bea707c.js} +1 -1
  111. package/dist/packages/_es/{index.3dd88014.js → index-4ccf62e1.js} +12 -12
  112. package/dist/packages/_es/{index.1be0d1a5.js → index-80fa48bb.js} +1 -1
  113. package/dist/packages/_es/{index.af02c42d.js → index-84decee6.js} +1 -1
  114. package/dist/packages/_es/{index.4ed42c18.js → index-db2c2975.js} +3 -3
  115. package/dist/packages/_es/{index.617ba243.js → index-ea36cedc.js} +1 -1
  116. package/dist/packages/_es/{index.vue_vue_type_script_lang.6e735bb8.js → index.vue_vue_type_script_lang-20115c0e.js} +2 -2
  117. package/dist/packages/_es/{index.vue_vue_type_script_lang.ccc15054.js → index.vue_vue_type_script_lang-2e585483.js} +3 -3
  118. package/dist/packages/_es/{index.vue_vue_type_script_lang.43efbcd1.js → index.vue_vue_type_script_lang-7c0c1b1c.js} +3 -3
  119. package/dist/packages/_es/{index.vue_vue_type_script_lang.de4367bf.js → index.vue_vue_type_script_lang-b8ddf362.js} +2 -2
  120. package/dist/packages/_es/{interceptor.ba45688c.js → interceptor-0a3b15e4.js} +2 -2
  121. package/dist/packages/_es/{mountComponent.dddeb43c.js → mountComponent-add1c908.js} +2 -2
  122. package/dist/packages/_es/{pxCheck.09969b22.js → pxCheck-9763aaae.js} +1 -1
  123. package/dist/packages/_es/{raf.42b42f63.js → raf-7bf556c1.js} +1 -1
  124. package/dist/packages/_es/{renderIcon.f32ed340.js → renderIcon-ff803dcd.js} +1 -1
  125. package/dist/packages/actionsheet/index.mjs +2 -0
  126. package/dist/packages/actionsheet/{index.js → style.cjs} +0 -0
  127. package/dist/packages/actionsheet/style.mjs +3 -0
  128. package/dist/packages/address/index.mjs +2 -0
  129. package/dist/packages/address/{index.js → style.cjs} +0 -0
  130. package/dist/packages/address/style.mjs +4 -0
  131. package/dist/packages/addresslist/index.mjs +2 -0
  132. package/dist/packages/addresslist/{index.js → style.cjs} +0 -0
  133. package/dist/packages/addresslist/style.mjs +2 -0
  134. package/dist/packages/animate/index.mjs +2 -0
  135. package/dist/packages/animate/{index.js → style.cjs} +0 -0
  136. package/dist/packages/animate/style.mjs +1 -0
  137. package/dist/packages/audio/index.mjs +2 -0
  138. package/dist/packages/audio/{index.js → style.cjs} +0 -0
  139. package/dist/packages/audio/style.mjs +2 -0
  140. package/dist/packages/audiooperate/index.mjs +2 -0
  141. package/dist/packages/audiooperate/{index.js → style.cjs} +0 -0
  142. package/dist/packages/audiooperate/style.mjs +2 -0
  143. package/dist/packages/avatar/index.mjs +2 -0
  144. package/dist/packages/avatar/{index.js → style.cjs} +0 -0
  145. package/dist/packages/avatar/style.mjs +1 -0
  146. package/dist/packages/avatargroup/index.mjs +2 -0
  147. package/dist/packages/avatargroup/{index.js → style.cjs} +0 -0
  148. package/dist/packages/avatargroup/style.mjs +1 -0
  149. package/dist/packages/backtop/index.mjs +2 -0
  150. package/dist/packages/backtop/{index.js → style.cjs} +0 -0
  151. package/dist/packages/backtop/style.mjs +1 -0
  152. package/dist/packages/badge/index.mjs +2 -0
  153. package/dist/packages/badge/{index.js → style.cjs} +0 -0
  154. package/dist/packages/badge/style.mjs +1 -0
  155. package/dist/packages/barrage/index.mjs +2 -0
  156. package/dist/packages/barrage/{index.js → style.cjs} +0 -0
  157. package/dist/packages/barrage/style.mjs +1 -0
  158. package/dist/packages/button/index.mjs +2 -0
  159. package/dist/packages/button/{index.js → style.cjs} +0 -0
  160. package/dist/packages/button/style.mjs +1 -0
  161. package/dist/packages/calendar/index.mjs +2 -0
  162. package/dist/packages/calendar/{index.js → style.cjs} +0 -0
  163. package/dist/packages/calendar/style.mjs +4 -0
  164. package/dist/packages/calendaritem/index.mjs +2 -0
  165. package/dist/packages/calendaritem/{index.js → style.cjs} +0 -0
  166. package/dist/packages/calendaritem/style.mjs +1 -0
  167. package/dist/packages/card/index.mjs +2 -0
  168. package/dist/packages/card/{index.js → style.cjs} +0 -0
  169. package/dist/packages/card/style.mjs +3 -0
  170. package/dist/packages/cascader/index.mjs +2 -0
  171. package/dist/packages/cascader/{index.js → style.cjs} +0 -0
  172. package/dist/packages/cascader/style.mjs +6 -0
  173. package/dist/packages/category/index.mjs +2 -0
  174. package/dist/packages/category/{index.js → style.cjs} +0 -0
  175. package/dist/packages/category/style.mjs +1 -0
  176. package/dist/packages/categorypane/index.mjs +2 -0
  177. package/dist/packages/categorypane/{index.js → style.cjs} +0 -0
  178. package/dist/packages/categorypane/style.mjs +1 -0
  179. package/dist/packages/cell/index.mjs +2 -0
  180. package/dist/packages/cell/{index.js → style.cjs} +0 -0
  181. package/dist/packages/cell/style.mjs +1 -0
  182. package/dist/packages/cellgroup/index.mjs +2 -0
  183. package/dist/packages/cellgroup/{index.js → style.cjs} +0 -0
  184. package/dist/packages/cellgroup/style.mjs +1 -0
  185. package/dist/packages/checkbox/index.mjs +2 -0
  186. package/dist/packages/checkbox/{index.js → style.cjs} +0 -0
  187. package/dist/packages/checkbox/style.mjs +1 -0
  188. package/dist/packages/checkboxgroup/index.mjs +2 -0
  189. package/dist/packages/checkboxgroup/{index.js → style.cjs} +0 -0
  190. package/dist/packages/checkboxgroup/style.mjs +1 -0
  191. package/dist/packages/circleprogress/index.mjs +2 -0
  192. package/dist/packages/circleprogress/{index.js → style.cjs} +0 -0
  193. package/dist/packages/circleprogress/style.mjs +1 -0
  194. package/dist/packages/col/index.mjs +2 -0
  195. package/dist/packages/col/{index.js → style.cjs} +0 -0
  196. package/dist/packages/col/style.mjs +1 -0
  197. package/dist/packages/collapse/index.mjs +2 -0
  198. package/dist/packages/collapse/{index.js → style.cjs} +0 -0
  199. package/dist/packages/collapse/style.mjs +1 -0
  200. package/dist/packages/collapseitem/index.mjs +2 -0
  201. package/dist/packages/collapseitem/{index.js → style.cjs} +0 -0
  202. package/dist/packages/collapseitem/style.mjs +1 -0
  203. package/dist/packages/comment/index.mjs +2 -0
  204. package/dist/packages/comment/{index.js → style.cjs} +0 -0
  205. package/dist/packages/comment/style.mjs +2 -0
  206. package/dist/packages/configprovider/index.mjs +2 -0
  207. package/dist/packages/configprovider/{index.js → style.cjs} +0 -0
  208. package/dist/packages/configprovider/style.mjs +1 -0
  209. package/dist/packages/countdown/index.mjs +2 -0
  210. package/dist/packages/countdown/{index.js → style.cjs} +0 -0
  211. package/dist/packages/countdown/style.mjs +1 -0
  212. package/dist/packages/countup/index.mjs +2 -0
  213. package/dist/packages/countup/{index.js → style.cjs} +0 -0
  214. package/dist/packages/countup/style.mjs +1 -0
  215. package/dist/packages/datepicker/index.mjs +2 -0
  216. package/dist/packages/datepicker/{index.js → style.cjs} +0 -0
  217. package/dist/packages/datepicker/style.mjs +4 -0
  218. package/dist/packages/dialog/index.mjs +2 -0
  219. package/dist/packages/dialog/{index.js → style.cjs} +0 -0
  220. package/dist/packages/dialog/style.mjs +4 -0
  221. package/dist/packages/divider/index.mjs +2 -0
  222. package/dist/packages/divider/{index.js → style.cjs} +0 -0
  223. package/dist/packages/divider/style.mjs +1 -0
  224. package/dist/packages/drag/index.mjs +2 -0
  225. package/dist/packages/drag/{index.js → style.cjs} +0 -0
  226. package/dist/packages/drag/style.mjs +1 -0
  227. package/dist/packages/ecard/index.mjs +2 -0
  228. package/dist/packages/ecard/{index.js → style.cjs} +0 -0
  229. package/dist/packages/ecard/style.mjs +2 -0
  230. package/dist/packages/elevator/index.mjs +2 -0
  231. package/dist/packages/elevator/{index.js → style.cjs} +0 -0
  232. package/dist/packages/elevator/style.mjs +1 -0
  233. package/dist/packages/ellipsis/index.mjs +2 -0
  234. package/dist/packages/ellipsis/{index.js → style.cjs} +0 -0
  235. package/dist/packages/ellipsis/style.mjs +1 -0
  236. package/dist/packages/empty/index.mjs +2 -0
  237. package/dist/packages/empty/{index.js → style.cjs} +0 -0
  238. package/dist/packages/empty/style.mjs +1 -0
  239. package/dist/packages/fixednav/index.mjs +2 -0
  240. package/dist/packages/fixednav/{index.js → style.cjs} +0 -0
  241. package/dist/packages/fixednav/style.mjs +2 -0
  242. package/dist/packages/form/index.mjs +2 -0
  243. package/dist/packages/form/{index.js → style.cjs} +0 -0
  244. package/dist/packages/form/style.mjs +2 -0
  245. package/dist/packages/formitem/index.mjs +2 -0
  246. package/dist/packages/formitem/{index.js → style.cjs} +0 -0
  247. package/dist/packages/formitem/style.mjs +2 -0
  248. package/dist/packages/grid/index.mjs +2 -0
  249. package/dist/packages/grid/{index.js → style.cjs} +0 -0
  250. package/dist/packages/grid/style.mjs +1 -0
  251. package/dist/packages/griditem/index.mjs +2 -0
  252. package/dist/packages/griditem/{index.js → style.cjs} +0 -0
  253. package/dist/packages/griditem/style.mjs +1 -0
  254. package/dist/packages/icon/index.mjs +2 -0
  255. package/dist/packages/icon/{index.js → style.cjs} +0 -0
  256. package/dist/packages/icon/style.mjs +1 -0
  257. package/dist/packages/image/index.mjs +2 -0
  258. package/dist/packages/image/{index.js → style.cjs} +0 -0
  259. package/dist/packages/image/style.mjs +1 -0
  260. package/dist/packages/imagepreview/index.mjs +2 -0
  261. package/dist/packages/imagepreview/{index.js → style.cjs} +0 -0
  262. package/dist/packages/imagepreview/style.mjs +6 -0
  263. package/dist/packages/indicator/index.mjs +2 -0
  264. package/dist/packages/indicator/{index.js → style.cjs} +0 -0
  265. package/dist/packages/indicator/style.mjs +1 -0
  266. package/dist/packages/infiniteloading/index.mjs +2 -0
  267. package/dist/packages/infiniteloading/{index.js → style.cjs} +0 -0
  268. package/dist/packages/infiniteloading/style.mjs +1 -0
  269. package/dist/packages/input/index.mjs +2 -0
  270. package/dist/packages/input/{index.js → style.cjs} +0 -0
  271. package/dist/packages/input/style.mjs +1 -0
  272. package/dist/packages/inputnumber/index.mjs +2 -0
  273. package/dist/packages/inputnumber/{index.js → style.cjs} +0 -0
  274. package/dist/packages/inputnumber/style.mjs +1 -0
  275. package/dist/packages/invoice/index.mjs +2 -0
  276. package/dist/packages/invoice/{index.js → style.cjs} +0 -0
  277. package/dist/packages/invoice/style.mjs +8 -0
  278. package/dist/packages/layout/index.mjs +2 -0
  279. package/dist/packages/layout/{index.js → style.cjs} +0 -0
  280. package/dist/packages/layout/style.mjs +1 -0
  281. package/dist/packages/list/index.mjs +2 -0
  282. package/dist/packages/list/{index.js → style.cjs} +0 -0
  283. package/dist/packages/list/style.mjs +1 -0
  284. package/dist/packages/locale/lang/{baseLang.ff3ed8bc.js → baseLang-d7024f23.js} +1 -1
  285. package/dist/packages/locale/lang/en-US.js +2 -2
  286. package/dist/packages/locale/lang/id-ID.js +2 -2
  287. package/dist/packages/locale/lang/index.js +2 -2
  288. package/dist/packages/locale/lang/zh-CN.js +111 -111
  289. package/dist/packages/locale/lang/zh-TW.js +111 -111
  290. package/dist/packages/menu/index.mjs +2 -0
  291. package/dist/packages/menu/{index.js → style.cjs} +0 -0
  292. package/dist/packages/menu/style.mjs +1 -0
  293. package/dist/packages/menuitem/index.mjs +2 -0
  294. package/dist/packages/menuitem/{index.js → style.cjs} +0 -0
  295. package/dist/packages/menuitem/style.mjs +3 -0
  296. package/dist/packages/navbar/index.mjs +2 -0
  297. package/dist/packages/navbar/{index.js → style.cjs} +0 -0
  298. package/dist/packages/navbar/style.mjs +1 -0
  299. package/dist/packages/noticebar/index.mjs +2 -0
  300. package/dist/packages/noticebar/{index.js → style.cjs} +0 -0
  301. package/dist/packages/noticebar/style.mjs +1 -0
  302. package/dist/packages/notify/index.mjs +2 -0
  303. package/dist/packages/notify/{index.js → style.cjs} +0 -0
  304. package/dist/packages/notify/style.mjs +3 -0
  305. package/dist/packages/numberkeyboard/index.mjs +2 -0
  306. package/dist/packages/numberkeyboard/{index.js → style.cjs} +0 -0
  307. package/dist/packages/numberkeyboard/style.mjs +3 -0
  308. package/dist/packages/overlay/index.mjs +2 -0
  309. package/dist/packages/overlay/{index.js → style.cjs} +0 -0
  310. package/dist/packages/overlay/style.mjs +1 -0
  311. package/dist/packages/pagination/index.mjs +2 -0
  312. package/dist/packages/pagination/{index.js → style.cjs} +0 -0
  313. package/dist/packages/pagination/style.mjs +1 -0
  314. package/dist/packages/picker/index.mjs +2 -0
  315. package/dist/packages/picker/{index.js → style.cjs} +0 -0
  316. package/dist/packages/picker/style.mjs +3 -0
  317. package/dist/packages/popover/index.mjs +2 -0
  318. package/dist/packages/popover/{index.js → style.cjs} +0 -0
  319. package/dist/packages/popover/style.mjs +3 -0
  320. package/dist/packages/popup/index.mjs +2 -0
  321. package/dist/packages/popup/{index.js → style.cjs} +0 -0
  322. package/dist/packages/popup/style.mjs +2 -0
  323. package/dist/packages/price/index.mjs +2 -0
  324. package/dist/packages/price/{index.js → style.cjs} +0 -0
  325. package/dist/packages/price/style.mjs +1 -0
  326. package/dist/packages/progress/index.mjs +2 -0
  327. package/dist/packages/progress/{index.js → style.cjs} +0 -0
  328. package/dist/packages/progress/style.mjs +1 -0
  329. package/dist/packages/pullrefresh/index.mjs +2 -0
  330. package/dist/packages/pullrefresh/{index.js → style.cjs} +0 -0
  331. package/dist/packages/pullrefresh/style.mjs +1 -0
  332. package/dist/packages/radio/index.mjs +2 -0
  333. package/dist/packages/radio/{index.js → style.cjs} +0 -0
  334. package/dist/packages/radio/style.mjs +1 -0
  335. package/dist/packages/radiogroup/index.mjs +2 -0
  336. package/dist/packages/radiogroup/{index.js → style.cjs} +0 -0
  337. package/dist/packages/radiogroup/style.mjs +1 -0
  338. package/dist/packages/range/index.mjs +2 -0
  339. package/dist/packages/range/{index.js → style.cjs} +0 -0
  340. package/dist/packages/range/style.mjs +1 -0
  341. package/dist/packages/rate/index.mjs +2 -0
  342. package/dist/packages/rate/{index.js → style.cjs} +0 -0
  343. package/dist/packages/rate/style.mjs +1 -0
  344. package/dist/packages/row/index.mjs +2 -0
  345. package/dist/packages/row/{index.js → style.cjs} +0 -0
  346. package/dist/packages/row/style.mjs +1 -0
  347. package/dist/packages/searchbar/index.mjs +2 -0
  348. package/dist/packages/searchbar/{index.js → style.cjs} +0 -0
  349. package/dist/packages/searchbar/style.mjs +1 -0
  350. package/dist/packages/shortpassword/index.mjs +2 -0
  351. package/dist/packages/shortpassword/{index.js → style.cjs} +0 -0
  352. package/dist/packages/shortpassword/style.mjs +3 -0
  353. package/dist/packages/sidenavbar/index.mjs +2 -0
  354. package/dist/packages/sidenavbar/{index.js → style.cjs} +0 -0
  355. package/dist/packages/sidenavbar/style.mjs +1 -0
  356. package/dist/packages/sidenavbaritem/index.mjs +2 -0
  357. package/dist/packages/sidenavbaritem/{index.js → style.cjs} +0 -0
  358. package/dist/packages/sidenavbaritem/style.mjs +1 -0
  359. package/dist/packages/signature/index.mjs +2 -0
  360. package/dist/packages/signature/{index.js → style.cjs} +0 -0
  361. package/dist/packages/signature/style.mjs +2 -0
  362. package/dist/packages/skeleton/index.mjs +2 -0
  363. package/dist/packages/skeleton/{index.js → style.cjs} +0 -0
  364. package/dist/packages/skeleton/style.mjs +2 -0
  365. package/dist/packages/sku/index.mjs +2 -0
  366. package/dist/packages/sku/{index.js → style.cjs} +0 -0
  367. package/dist/packages/sku/style.mjs +5 -0
  368. package/dist/packages/step/index.mjs +2 -0
  369. package/dist/packages/step/{index.js → style.cjs} +0 -0
  370. package/dist/packages/step/style.mjs +1 -0
  371. package/dist/packages/steps/index.mjs +2 -0
  372. package/dist/packages/steps/{index.js → style.cjs} +0 -0
  373. package/dist/packages/steps/style.mjs +1 -0
  374. package/dist/packages/sticky/index.mjs +2 -0
  375. package/dist/packages/sticky/{index.js → style.cjs} +0 -0
  376. package/dist/packages/sticky/style.mjs +1 -0
  377. package/dist/packages/subsidenavbar/index.mjs +2 -0
  378. package/dist/packages/subsidenavbar/{index.js → style.cjs} +0 -0
  379. package/dist/packages/subsidenavbar/style.mjs +1 -0
  380. package/dist/packages/swipe/index.mjs +2 -0
  381. package/dist/packages/swipe/{index.js → style.cjs} +0 -0
  382. package/dist/packages/swipe/style.mjs +1 -0
  383. package/dist/packages/swiper/index.mjs +2 -0
  384. package/dist/packages/swiper/{index.js → style.cjs} +0 -0
  385. package/dist/packages/swiper/style.mjs +1 -0
  386. package/dist/packages/swiperitem/index.mjs +2 -0
  387. package/dist/packages/swiperitem/{index.js → style.cjs} +0 -0
  388. package/dist/packages/swiperitem/style.mjs +1 -0
  389. package/dist/packages/switch/index.mjs +2 -0
  390. package/dist/packages/switch/{index.js → style.cjs} +0 -0
  391. package/dist/packages/switch/style.mjs +1 -0
  392. package/dist/packages/tabbar/index.mjs +2 -0
  393. package/dist/packages/tabbar/{index.js → style.cjs} +0 -0
  394. package/dist/packages/tabbar/style.mjs +1 -0
  395. package/dist/packages/tabbaritem/index.mjs +2 -0
  396. package/dist/packages/tabbaritem/{index.js → style.cjs} +0 -0
  397. package/dist/packages/tabbaritem/style.mjs +2 -0
  398. package/dist/packages/table/index.mjs +2 -0
  399. package/dist/packages/table/{index.js → style.cjs} +0 -0
  400. package/dist/packages/table/style.mjs +1 -0
  401. package/dist/packages/tabpane/index.mjs +2 -0
  402. package/dist/packages/tabpane/{index.js → style.cjs} +0 -0
  403. package/dist/packages/tabpane/style.mjs +1 -0
  404. package/dist/packages/tabs/index.mjs +2 -0
  405. package/dist/packages/tabs/{index.js → style.cjs} +0 -0
  406. package/dist/packages/tabs/style.mjs +2 -0
  407. package/dist/packages/tag/index.mjs +2 -0
  408. package/dist/packages/tag/{index.js → style.cjs} +0 -0
  409. package/dist/packages/tag/style.mjs +1 -0
  410. package/dist/packages/textarea/index.mjs +2 -0
  411. package/dist/packages/textarea/{index.js → style.cjs} +0 -0
  412. package/dist/packages/textarea/style.mjs +1 -0
  413. package/dist/packages/timedetail/index.mjs +2 -0
  414. package/dist/packages/timedetail/{index.js → style.cjs} +0 -0
  415. package/dist/packages/timedetail/style.mjs +1 -0
  416. package/dist/packages/timepannel/index.mjs +2 -0
  417. package/dist/packages/timepannel/{index.js → style.cjs} +0 -0
  418. package/dist/packages/timepannel/style.mjs +1 -0
  419. package/dist/packages/timeselect/index.mjs +2 -0
  420. package/dist/packages/timeselect/{index.js → style.cjs} +0 -0
  421. package/dist/packages/timeselect/style.mjs +3 -0
  422. package/dist/packages/toast/index.mjs +2 -0
  423. package/dist/packages/toast/{index.js → style.cjs} +0 -0
  424. package/dist/packages/toast/style.mjs +1 -0
  425. package/dist/packages/tour/index.mjs +2 -0
  426. package/dist/packages/tour/{index.js → style.cjs} +0 -0
  427. package/dist/packages/tour/style.mjs +4 -0
  428. package/dist/packages/trendarrow/index.mjs +2 -0
  429. package/dist/packages/trendarrow/{index.js → style.cjs} +0 -0
  430. package/dist/packages/trendarrow/style.mjs +1 -0
  431. package/dist/packages/uploader/index.mjs +2 -0
  432. package/dist/packages/uploader/{index.js → style.cjs} +0 -0
  433. package/dist/packages/uploader/style.mjs +3 -0
  434. package/dist/packages/video/index.mjs +2 -0
  435. package/dist/packages/video/{index.js → style.cjs} +0 -0
  436. package/dist/packages/video/style.mjs +1 -0
  437. package/dist/packages/watermark/index.mjs +2 -0
  438. package/dist/packages/watermark/{index.js → style.cjs} +0 -0
  439. package/dist/packages/watermark/style.mjs +1 -0
  440. package/dist/smartips/web-types.json +1 -1
  441. package/dist/style.css +19 -1
  442. package/dist/styles/{css-variables.scss → theme-deafult.scss} +1 -1
  443. package/dist/styles/theme-jdt.scss +898 -0
  444. package/dist/styles/themes/default.scss +51 -51
  445. package/dist/styles/themes/jdb.scss +51 -51
  446. package/dist/styles/themes/jddkh.scss +51 -51
  447. package/dist/styles/themes/jdt.scss +51 -51
  448. package/dist/styles/variables-jdt.scss +763 -707
  449. package/dist/styles/variables.scss +806 -733
  450. package/dist/types/index.d.ts +1 -1
  451. package/package.json +8 -8
  452. package/dist/nutui.js +0 -20064
  453. package/dist/packages/locale/index.scss +0 -1
  454. package/dist/packages/locale/lang/index.scss +0 -1
  455. package/dist/style.js +0 -4
@@ -0,0 +1,103 @@
1
+ export * from "./packages/Button/index.mjs";
2
+ export * from "./packages/Cell/index.mjs";
3
+ export * from "./packages/CellGroup/index.mjs";
4
+ export * from "./packages/Icon/index.mjs";
5
+ export * from "./packages/Overlay/index.mjs";
6
+ export * from "./packages/Popup/index.mjs";
7
+ export * from "./packages/ConfigProvider/index.mjs";
8
+ export * from "./packages/Image/index.mjs";
9
+ export * from "./packages/Layout/index.mjs";
10
+ export * from "./packages/Col/index.mjs";
11
+ export * from "./packages/Row/index.mjs";
12
+ export * from "./packages/Sticky/index.mjs";
13
+ export * from "./packages/Divider/index.mjs";
14
+ export * from "./packages/Grid/index.mjs";
15
+ export * from "./packages/GridItem/index.mjs";
16
+ export * from "./packages/Navbar/index.mjs";
17
+ export * from "./packages/FixedNav/index.mjs";
18
+ export * from "./packages/Menu/index.mjs";
19
+ export * from "./packages/MenuItem/index.mjs";
20
+ export * from "./packages/Tabbar/index.mjs";
21
+ export * from "./packages/TabbarItem/index.mjs";
22
+ export * from "./packages/Elevator/index.mjs";
23
+ export * from "./packages/Pagination/index.mjs";
24
+ export * from "./packages/Tabs/index.mjs";
25
+ export * from "./packages/TabPane/index.mjs";
26
+ export * from "./packages/Indicator/index.mjs";
27
+ export * from "./packages/SideNavbar/index.mjs";
28
+ export * from "./packages/SideNavbarItem/index.mjs";
29
+ export * from "./packages/SubSideNavbar/index.mjs";
30
+ export * from "./packages/Range/index.mjs";
31
+ export * from "./packages/Searchbar/index.mjs";
32
+ export * from "./packages/Cascader/index.mjs";
33
+ export * from "./packages/Calendar/index.mjs";
34
+ export * from "./packages/Checkbox/index.mjs";
35
+ export * from "./packages/CheckboxGroup/index.mjs";
36
+ export * from "./packages/DatePicker/index.mjs";
37
+ export * from "./packages/InputNumber/index.mjs";
38
+ export * from "./packages/Input/index.mjs";
39
+ export * from "./packages/Radio/index.mjs";
40
+ export * from "./packages/RadioGroup/index.mjs";
41
+ export * from "./packages/Rate/index.mjs";
42
+ export * from "./packages/CalendarItem/index.mjs";
43
+ export * from "./packages/Picker/index.mjs";
44
+ export * from "./packages/ShortPassword/index.mjs";
45
+ export * from "./packages/Textarea/index.mjs";
46
+ export * from "./packages/Uploader/index.mjs";
47
+ export * from "./packages/NumberKeyboard/index.mjs";
48
+ export * from "./packages/Form/index.mjs";
49
+ export * from "./packages/FormItem/index.mjs";
50
+ export * from "./packages/Swipe/index.mjs";
51
+ export * from "./packages/ActionSheet/index.mjs";
52
+ export * from "./packages/Backtop/index.mjs";
53
+ export * from "./packages/Drag/index.mjs";
54
+ export * from "./packages/Dialog/index.mjs";
55
+ export * from "./packages/InfiniteLoading/index.mjs";
56
+ export * from "./packages/PullRefresh/index.mjs";
57
+ export * from "./packages/Notify/index.mjs";
58
+ export * from "./packages/Switch/index.mjs";
59
+ export * from "./packages/Toast/index.mjs";
60
+ export * from "./packages/Audio/index.mjs";
61
+ export * from "./packages/AudioOperate/index.mjs";
62
+ export * from "./packages/Avatar/index.mjs";
63
+ export * from "./packages/AvatarGroup/index.mjs";
64
+ export * from "./packages/List/index.mjs";
65
+ export * from "./packages/Progress/index.mjs";
66
+ export * from "./packages/CircleProgress/index.mjs";
67
+ export * from "./packages/Noticebar/index.mjs";
68
+ export * from "./packages/Empty/index.mjs";
69
+ export * from "./packages/Video/index.mjs";
70
+ export * from "./packages/Steps/index.mjs";
71
+ export * from "./packages/Step/index.mjs";
72
+ export * from "./packages/Swiper/index.mjs";
73
+ export * from "./packages/SwiperItem/index.mjs";
74
+ export * from "./packages/Price/index.mjs";
75
+ export * from "./packages/ImagePreview/index.mjs";
76
+ export * from "./packages/Countup/index.mjs";
77
+ export * from "./packages/Countdown/index.mjs";
78
+ export * from "./packages/Badge/index.mjs";
79
+ export * from "./packages/Tag/index.mjs";
80
+ export * from "./packages/Popover/index.mjs";
81
+ export * from "./packages/Skeleton/index.mjs";
82
+ export * from "./packages/Collapse/index.mjs";
83
+ export * from "./packages/CollapseItem/index.mjs";
84
+ export * from "./packages/Table/index.mjs";
85
+ export * from "./packages/Animate/index.mjs";
86
+ export * from "./packages/Ellipsis/index.mjs";
87
+ export * from "./packages/Watermark/index.mjs";
88
+ export * from "./packages/TrendArrow/index.mjs";
89
+ export * from "./packages/Tour/index.mjs";
90
+ export * from "./packages/Address/index.mjs";
91
+ export * from "./packages/Barrage/index.mjs";
92
+ export * from "./packages/Signature/index.mjs";
93
+ export * from "./packages/TimeSelect/index.mjs";
94
+ export * from "./packages/TimePannel/index.mjs";
95
+ export * from "./packages/TimeDetail/index.mjs";
96
+ export * from "./packages/Sku/index.mjs";
97
+ export * from "./packages/Card/index.mjs";
98
+ export * from "./packages/Ecard/index.mjs";
99
+ export * from "./packages/AddressList/index.mjs";
100
+ export * from "./packages/Category/index.mjs";
101
+ export * from "./packages/CategoryPane/index.mjs";
102
+ export * from "./packages/Comment/index.mjs";
103
+ export * from "./packages/Invoice/index.mjs";
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => {
5
5
  return value;
6
6
  };
7
7
  /*!
8
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:16 GMT+0800 (中国标准时间)
8
+ * @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:55 GMT+0800 (中国标准时间)
9
9
  * (c) 2022 @jdf2e.
10
10
  * Released under the MIT License.
11
11
  */
@@ -15,116 +15,116 @@ var __publicField = (obj, key, value) => {
15
15
  "use strict";
16
16
  class BaseLang {
17
17
  }
18
- class Lang$1 extends BaseLang {
18
+ let Lang$1 = class Lang extends BaseLang {
19
19
  constructor() {
20
20
  super(...arguments);
21
- __publicField(this, "save", "\u4FDD\u5B58");
22
- __publicField(this, "confirm", "\u786E\u8BA4");
23
- __publicField(this, "cancel", "\u53D6\u6D88");
24
- __publicField(this, "done", "\u5B8C\u6210");
25
- __publicField(this, "noData", "\u6682\u65E0\u6570\u636E");
26
- __publicField(this, "placeholder", "\u8BF7\u8F93\u5165");
27
- __publicField(this, "select", "\u8BF7\u9009\u62E9");
21
+ __publicField(this, "save", "保存");
22
+ __publicField(this, "confirm", "确认");
23
+ __publicField(this, "cancel", "取消");
24
+ __publicField(this, "done", "完成");
25
+ __publicField(this, "noData", "暂无数据");
26
+ __publicField(this, "placeholder", "请输入");
27
+ __publicField(this, "select", "请选择");
28
28
  __publicField(this, "video", {
29
- errorTip: "\u89C6\u9891\u52A0\u8F7D\u5931\u8D25",
30
- clickRetry: "\u70B9\u51FB\u91CD\u8BD5"
29
+ errorTip: "视频加载失败",
30
+ clickRetry: "点击重试"
31
31
  });
32
32
  __publicField(this, "fixednav", {
33
- activeText: "\u6536\u8D77\u5BFC\u822A",
34
- unActiveText: "\u5FEB\u901F\u5BFC\u822A"
33
+ activeText: "收起导航",
34
+ unActiveText: "快速导航"
35
35
  });
36
36
  __publicField(this, "pagination", {
37
- prev: "\u4E0A\u4E00\u9875",
38
- next: "\u4E0B\u4E00\u9875"
37
+ prev: "上一页",
38
+ next: "下一页"
39
39
  });
40
40
  __publicField(this, "calendaritem", {
41
- weekdays: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"],
42
- end: "\u7ED3\u675F",
43
- start: "\u5F00\u59CB",
44
- title: "\u65E5\u5386\u9009\u62E9",
45
- monthTitle: (year, month) => `${year}\u5E74${month}\u6708`,
46
- today: "\u4ECA\u5929"
41
+ weekdays: ["", "", "", "", "", "", ""],
42
+ end: "结束",
43
+ start: "开始",
44
+ title: "日历选择",
45
+ monthTitle: (year, month) => `${year}年${month}月`,
46
+ today: "今天"
47
47
  });
48
48
  __publicField(this, "shortpassword", {
49
- title: "\u8BF7\u8F93\u5165\u5BC6\u7801",
50
- desc: "\u60A8\u4F7F\u7528\u4E86\u865A\u62DF\u8D44\u4EA7\uFF0C\u8BF7\u8FDB\u884C\u9A8C\u8BC1",
51
- tips: "\u5FD8\u8BB0\u5BC6\u7801"
49
+ title: "请输入密码",
50
+ desc: "您使用了虚拟资产,请进行验证",
51
+ tips: "忘记密码"
52
52
  });
53
53
  __publicField(this, "uploader", {
54
- ready: "\u51C6\u5907\u5B8C\u6210",
55
- readyUpload: "\u51C6\u5907\u4E0A\u4F20",
56
- waitingUpload: "\u7B49\u5F85\u4E0A\u4F20",
57
- uploading: "\u4E0A\u4F20\u4E2D",
58
- success: "\u4E0A\u4F20\u6210\u529F",
59
- error: "\u4E0A\u4F20\u5931\u8D25"
54
+ ready: "准备完成",
55
+ readyUpload: "准备上传",
56
+ waitingUpload: "等待上传",
57
+ uploading: "上传中",
58
+ success: "上传成功",
59
+ error: "上传失败"
60
60
  });
61
61
  __publicField(this, "countdown", {
62
- day: "\u5929",
63
- hour: "\u65F6",
64
- minute: "\u5206",
65
- second: "\u79D2"
62
+ day: "",
63
+ hour: "",
64
+ minute: "",
65
+ second: ""
66
66
  });
67
67
  __publicField(this, "address", {
68
- selectRegion: "\u8BF7\u9009\u62E9\u6240\u5728\u5730\u533A",
69
- deliveryTo: "\u914D\u9001\u81F3",
70
- chooseAnotherAddress: "\u9009\u62E9\u5176\u4ED6\u5730\u5740"
68
+ selectRegion: "请选择所在地区",
69
+ deliveryTo: "配送至",
70
+ chooseAnotherAddress: "选择其他地址"
71
71
  });
72
72
  __publicField(this, "signature", {
73
- reSign: "\u91CD\u7B7E",
74
- unSupportTpl: "\u5BF9\u4E0D\u8D77\uFF0C\u5F53\u524D\u6D4F\u89C8\u5668\u4E0D\u652F\u6301Canvas\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u63A7\u4EF6\uFF01"
73
+ reSign: "重签",
74
+ unSupportTpl: "对不起,当前浏览器不支持Canvas,无法使用本控件!"
75
75
  });
76
76
  __publicField(this, "ecard", {
77
- chooseText: "\u8BF7\u9009\u62E9\u7535\u5B50\u5361\u9762\u503C",
78
- otherValueText: "\u5176\u4ED6\u9762\u503C",
79
- placeholder: "\u8BF7\u8F93\u51651-5000\u6574\u6570"
77
+ chooseText: "请选择电子卡面值",
78
+ otherValueText: "其他面值",
79
+ placeholder: "请输入1-5000整数"
80
80
  });
81
81
  __publicField(this, "timeselect", {
82
- pickupTime: "\u53D6\u4EF6\u65F6\u95F4"
82
+ pickupTime: "取件时间"
83
83
  });
84
84
  __publicField(this, "sku", {
85
- buyNow: "\u7ACB\u5373\u8D2D\u4E70",
86
- buyNumber: "\u8D2D\u4E70\u6570\u91CF",
87
- addToCart: "\u52A0\u5165\u8D2D\u7269\u8F66"
85
+ buyNow: "立即购买",
86
+ buyNumber: "购买数量",
87
+ addToCart: "加入购物车"
88
88
  });
89
89
  __publicField(this, "skuheader", {
90
- skuId: "\u5546\u54C1\u7F16\u53F7"
90
+ skuId: "商品编号"
91
91
  });
92
92
  __publicField(this, "addresslist", {
93
- addAddress: "\u65B0\u5EFA\u5730\u5740",
94
- default: "\u9ED8\u8BA4"
93
+ addAddress: "新建地址",
94
+ default: "默认"
95
95
  });
96
96
  __publicField(this, "comment", {
97
- complaintsText: "\u6211\u8981\u6295\u8BC9",
98
- additionalReview: (day) => `\u8D2D\u4E70${day}\u5929\u540E\u8FFD\u8BC4`,
99
- additionalImages: (length) => `${length}\u5F20\u8FFD\u8BC4\u56FE\u7247`
97
+ complaintsText: "我要投诉",
98
+ additionalReview: (day) => `购买${day}天后追评`,
99
+ additionalImages: (length) => `${length}张追评图片`
100
100
  });
101
101
  __publicField(this, "infiniteloading", {
102
- loading: "\u52A0\u8F7D\u4E2D...",
103
- pullTxt: "\u677E\u5F00\u5237\u65B0",
104
- loadMoreTxt: "\u54CE\u5440\uFF0C\u8FD9\u91CC\u662F\u5E95\u90E8\u4E86\u5566"
102
+ loading: "加载中...",
103
+ pullTxt: "松开刷新",
104
+ loadMoreTxt: "哎呀,这里是底部了啦"
105
105
  });
106
106
  __publicField(this, "datepicker", {
107
- year: "\u5E74",
108
- month: "\u6708",
109
- day: "\u65E5",
110
- hour: "\u65F6",
111
- min: "\u5206",
112
- seconds: "\u79D2"
107
+ year: "",
108
+ month: "",
109
+ day: "",
110
+ hour: "",
111
+ min: "",
112
+ seconds: ""
113
113
  });
114
114
  __publicField(this, "audiooperate", {
115
- back: "\u5012\u9000",
116
- start: "\u5F00\u59CB",
117
- pause: "\u6682\u505C",
118
- forward: "\u5FEB\u8FDB",
119
- mute: "\u9759\u97F3"
115
+ back: "倒退",
116
+ start: "开始",
117
+ pause: "暂停",
118
+ forward: "快进",
119
+ mute: "静音"
120
120
  });
121
121
  __publicField(this, "pullrefresh", {
122
- pulling: "\u4E0B\u62C9\u5237\u65B0",
123
- loosing: "\u91CA\u653E\u5237\u65B0",
124
- loading: "\u52A0\u8F7D\u4E2D..."
122
+ pulling: "下拉刷新",
123
+ loosing: "释放刷新",
124
+ loading: "加载中..."
125
125
  });
126
126
  }
127
- }
127
+ };
128
128
  class Lang extends BaseLang {
129
129
  constructor() {
130
130
  super(...arguments);
@@ -349,7 +349,7 @@ var __publicField = (obj, key, value) => {
349
349
  };
350
350
  function myFixed(num, digit = 2) {
351
351
  if (Object.is(parseFloat(num), NaN)) {
352
- return console.log(`\u4F20\u5165\u7684\u503C\uFF1A${num}\u4E0D\u662F\u4E00\u4E2A\u6570\u5B57`);
352
+ return console.log(`传入的值:${num}不是一个数字`);
353
353
  }
354
354
  num = parseFloat(num);
355
355
  return (Math.round((num + Number.EPSILON) * Math.pow(10, digit)) / Math.pow(10, digit)).toFixed(digit);
@@ -2691,25 +2691,23 @@ var __publicField = (obj, key, value) => {
2691
2691
  });
2692
2692
  const router = useRouter();
2693
2693
  const relation = (child) => {
2694
- var _a;
2695
2694
  if (child.proxy) {
2696
2695
  parent.children.push(child.proxy);
2697
2696
  const index = parent.children.indexOf(child.proxy);
2698
- state.index = (_a = props.name) != null ? _a : index;
2697
+ state.index = props.name ?? index;
2699
2698
  }
2700
2699
  };
2701
2700
  relation(vue.getCurrentInstance());
2702
2701
  const active = vue.computed(() => state.index === state.active);
2703
2702
  function change() {
2704
- var _a;
2705
- let key = (_a = props.name) != null ? _a : state.index;
2703
+ let key = props.name ?? state.index;
2706
2704
  let index = null;
2707
2705
  if (props.name) {
2708
2706
  index = parent.children.findIndex((item) => {
2709
2707
  return item.name == key;
2710
2708
  });
2711
2709
  }
2712
- parent.changeIndex(index != null ? index : key, state.index);
2710
+ parent.changeIndex(index ?? key, state.index);
2713
2711
  }
2714
2712
  const choosed = vue.computed(() => {
2715
2713
  if (parent) {
@@ -3316,9 +3314,9 @@ var __publicField = (obj, key, value) => {
3316
3314
  const findTabsIndex = (value) => {
3317
3315
  let index = titles.value.findIndex((item) => item.paneKey == value);
3318
3316
  if (titles.value.length == 0) {
3319
- console.error("[NutUI] <Tabs> \u5F53\u524D\u672A\u627E\u5230 TabPane \u7EC4\u4EF6\u5143\u7D20 , \u8BF7\u68C0\u67E5 .");
3317
+ console.error("[NutUI] <Tabs> 当前未找到 TabPane 组件元素 , 请检查 .");
3320
3318
  } else if (index == -1) {
3321
- console.error("[NutUI] <Tabs> \u8BF7\u68C0\u67E5 v-model \u503C\u662F\u5426\u4E3A paneKey ,\u5982 paneKey \u672A\u8BBE\u7F6E\uFF0C\u8BF7\u91C7\u7528\u4E0B\u6807\u63A7\u5236 .");
3319
+ console.error("[NutUI] <Tabs> 请检查 v-model 值是否为 paneKey ,如 paneKey 未设置,请采用下标控制 .");
3322
3320
  } else {
3323
3321
  currentIndex.value = index;
3324
3322
  }
@@ -5044,13 +5042,13 @@ var __publicField = (obj, key, value) => {
5044
5042
  const date = new Date(year + "/" + month + "/" + day);
5045
5043
  const index = date.getDay();
5046
5044
  const dayNames = [
5047
- "\u661F\u671F\u65E5",
5048
- "\u661F\u671F\u4E00",
5049
- "\u661F\u671F\u4E8C",
5050
- "\u661F\u671F\u4E09",
5051
- "\u661F\u671F\u56DB",
5052
- "\u661F\u671F\u4E94",
5053
- "\u661F\u671F\u516D"
5045
+ "星期日",
5046
+ "星期一",
5047
+ "星期二",
5048
+ "星期三",
5049
+ "星期四",
5050
+ "星期五",
5051
+ "星期六"
5054
5052
  ];
5055
5053
  return dayNames[index];
5056
5054
  },
@@ -7519,10 +7517,7 @@ var __publicField = (obj, key, value) => {
7519
7517
  setup(props, { emit, slots }) {
7520
7518
  const active = vue.ref(false);
7521
7519
  const inputRef = vue.ref();
7522
- const getModelValue = () => {
7523
- var _a;
7524
- return String((_a = props.modelValue) != null ? _a : "");
7525
- };
7520
+ const getModelValue = () => String(props.modelValue ?? "");
7526
7521
  const renderInput = (type) => {
7527
7522
  return vue.h("input", {
7528
7523
  style: styles,
@@ -8348,7 +8343,7 @@ var __publicField = (obj, key, value) => {
8348
8343
  __publicField(this, "beforeXhrUpload");
8349
8344
  }
8350
8345
  }
8351
- class Uploader$1 {
8346
+ let Uploader$1 = class Uploader {
8352
8347
  constructor(options) {
8353
8348
  __publicField(this, "options");
8354
8349
  this.options = options;
@@ -8389,10 +8384,10 @@ var __publicField = (obj, key, value) => {
8389
8384
  xhr.send(options.formData);
8390
8385
  }
8391
8386
  } else {
8392
- console.warn("\u6D4F\u89C8\u5668\u4E0D\u652F\u6301 XMLHttpRequest");
8387
+ console.warn("浏览器不支持 XMLHttpRequest");
8393
8388
  }
8394
8389
  }
8395
- }
8390
+ };
8396
8391
  const { translate: translate$k } = createComponent("uploader");
8397
8392
  class FileItem {
8398
8393
  constructor() {
@@ -8877,7 +8872,7 @@ var __publicField = (obj, key, value) => {
8877
8872
  class: "nut-uploader__preview-img__file__name"
8878
8873
  }, [
8879
8874
  vue.createVNode(_component_Link, { color: "#808080" }),
8880
- vue.createTextVNode("\xA0" + vue.toDisplayString(item.name), 1)
8875
+ vue.createTextVNode(" " + vue.toDisplayString(item.name), 1)
8881
8876
  ], 8, _hoisted_8$a)
8882
8877
  ])),
8883
8878
  vue.createElementVNode("view", _hoisted_9$8, vue.toDisplayString(item.name), 1)
@@ -8887,7 +8882,7 @@ var __publicField = (obj, key, value) => {
8887
8882
  class: vue.normalizeClass(["nut-uploader__preview-img__file__name", [item.status]])
8888
8883
  }, [
8889
8884
  vue.createVNode(_component_Link),
8890
- vue.createTextVNode("\xA0" + vue.toDisplayString(item.name), 1)
8885
+ vue.createTextVNode(" " + vue.toDisplayString(item.name), 1)
8891
8886
  ], 10, _hoisted_11$4),
8892
8887
  vue.createVNode(_component_Del, {
8893
8888
  color: "#808080",
@@ -9266,7 +9261,7 @@ var __publicField = (obj, key, value) => {
9266
9261
  });
9267
9262
  };
9268
9263
  if (!prop) {
9269
- console.warn("[NutUI] <FormItem> \u4F7F\u7528 rules \u6821\u9A8C\u89C4\u5219\u65F6 , \u5FC5\u987B\u8BBE\u7F6E prop \u53C2\u6570");
9264
+ console.warn("[NutUI] <FormItem> 使用 rules 校验规则时 , 必须设置 prop 参数");
9270
9265
  }
9271
9266
  const value = getPropByPath(props.modelValue, prop || "");
9272
9267
  tipMessage({ prop, message: "" });
@@ -10763,7 +10758,7 @@ var __publicField = (obj, key, value) => {
10763
10758
  vue.watch(
10764
10759
  () => props.modelValue,
10765
10760
  (val) => {
10766
- console.log("\u76D1\u542C", val);
10761
+ console.log("监听", val);
10767
10762
  if (val) {
10768
10763
  setPullStatus(+props.headHeight, true);
10769
10764
  vue.nextTick(() => emit("refresh"));
@@ -10997,7 +10992,7 @@ var __publicField = (obj, key, value) => {
10997
10992
  };
10998
10993
  const errorMsg$1 = (msg) => {
10999
10994
  if (!msg) {
11000
- console.warn("[NutUI Notify]: msg\u4E0D\u80FD\u4E3A\u7A7A");
10995
+ console.warn("[NutUI Notify]: msg不能为空");
11001
10996
  return;
11002
10997
  }
11003
10998
  };
@@ -11403,7 +11398,7 @@ var __publicField = (obj, key, value) => {
11403
11398
  };
11404
11399
  const errorMsg = (msg) => {
11405
11400
  if (!msg) {
11406
- console.warn("[NutUI Toast]: msg\u4E0D\u80FD\u4E3A\u7A7A");
11401
+ console.warn("[NutUI Toast]: msg不能为空");
11407
11402
  return;
11408
11403
  }
11409
11404
  };
@@ -11748,7 +11743,7 @@ var __publicField = (obj, key, value) => {
11748
11743
  size: "small"
11749
11744
  }, {
11750
11745
  default: vue.withCtx(() => [
11751
- vue.createTextVNode("\u5FEB\u8FDB")
11746
+ vue.createTextVNode("快进")
11752
11747
  ]),
11753
11748
  _: 1
11754
11749
  })) : vue.createCommentVNode("", true),
@@ -16465,7 +16460,7 @@ var __publicField = (obj, key, value) => {
16465
16460
  state.base64Url = canvas.toDataURL();
16466
16461
  }
16467
16462
  } else {
16468
- throw new Error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas");
16463
+ throw new Error("当前环境不支持Canvas");
16469
16464
  }
16470
16465
  };
16471
16466
  init();
@@ -16637,15 +16632,15 @@ var __publicField = (obj, key, value) => {
16637
16632
  },
16638
16633
  nextStepTxt: {
16639
16634
  type: String,
16640
- default: "\u4E0B\u4E00\u6B65"
16635
+ default: "下一步"
16641
16636
  },
16642
16637
  prevStepTxt: {
16643
16638
  type: String,
16644
- default: "\u4E0A\u4E00\u6B65"
16639
+ default: "上一步"
16645
16640
  },
16646
16641
  completeTxt: {
16647
16642
  type: String,
16648
- default: "\u5B8C\u6210"
16643
+ default: "完成"
16649
16644
  },
16650
16645
  mask: {
16651
16646
  type: Boolean,
@@ -16957,7 +16952,7 @@ var __publicField = (obj, key, value) => {
16957
16952
  return [];
16958
16953
  data.forEach((item) => {
16959
16954
  if (!item.title) {
16960
- console.error("[NutUI] <Address> \u8BF7\u68C0\u67E5\u6570\u7EC4\u9009\u9879\u7684 title \u503C\u662F\u5426\u6709\u8BBE\u7F6E ,title \u4E3A\u5FC5\u586B\u9879 .");
16955
+ console.error("[NutUI] <Address> 请检查数组选项的 title 值是否有设置 ,title 为必填项 .");
16961
16956
  return;
16962
16957
  }
16963
16958
  });
@@ -17958,7 +17953,7 @@ var __publicField = (obj, key, value) => {
17958
17953
  thousands: false
17959
17954
  }, null, 8, ["price"])),
17960
17955
  _ctx.getSlots("sku-header-extra") ? vue.renderSlot(_ctx.$slots, "sku-header-extra", { key: 2 }) : vue.createCommentVNode("", true),
17961
- _ctx.goods.skuId && !_ctx.getSlots("sku-header-extra") ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$d, vue.toDisplayString(_ctx.translate("skuId")) + "\xA0:\xA0" + vue.toDisplayString(_ctx.goods.skuId), 1)) : vue.createCommentVNode("", true)
17956
+ _ctx.goods.skuId && !_ctx.getSlots("sku-header-extra") ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$d, vue.toDisplayString(_ctx.translate("skuId")) + " : " + vue.toDisplayString(_ctx.goods.skuId), 1)) : vue.createCommentVNode("", true)
17962
17957
  ])
17963
17958
  ]);
17964
17959
  }
@@ -18046,7 +18041,7 @@ var __publicField = (obj, key, value) => {
18046
18041
  },
18047
18042
  stepperTitle: {
18048
18043
  type: String,
18049
- default: "\u8D2D\u4E70\u6570\u91CF"
18044
+ default: "购买数量"
18050
18045
  }
18051
18046
  },
18052
18047
  emits: ["click", "changeSku", "changeStepper", "clickBtnOptions", "overLimit", "reduce", "add"],
@@ -18129,15 +18124,15 @@ var __publicField = (obj, key, value) => {
18129
18124
  },
18130
18125
  buyText: {
18131
18126
  type: String,
18132
- default: "\u7ACB\u5373\u8D2D\u4E70"
18127
+ default: "立即购买"
18133
18128
  },
18134
18129
  addCartText: {
18135
18130
  type: String,
18136
- default: "\u52A0\u5165\u8D2D\u7269\u8F66"
18131
+ default: "加入购物车"
18137
18132
  },
18138
18133
  confirmText: {
18139
18134
  type: String,
18140
- default: "\u786E\u5B9A"
18135
+ default: "确定"
18141
18136
  }
18142
18137
  },
18143
18138
  emits: ["click", "changeSku", "changeBuyCount", "clickBtnOperate"],
@@ -18571,7 +18566,7 @@ var __publicField = (obj, key, value) => {
18571
18566
  },
18572
18567
  suffix: {
18573
18568
  type: String,
18574
- default: "\xA5"
18569
+ default: "¥"
18575
18570
  }
18576
18571
  },
18577
18572
  emits: ["inputChange", "changeStep", "inputClick", "change", "update:modelValue"],
@@ -18828,7 +18823,7 @@ var __publicField = (obj, key, value) => {
18828
18823
  onClick: _ctx.swipeDelClick
18829
18824
  }, {
18830
18825
  default: vue.withCtx(() => [
18831
- vue.createTextVNode("\u5220\u9664")
18826
+ vue.createTextVNode("删除")
18832
18827
  ]),
18833
18828
  _: 1
18834
18829
  }, 8, ["onClick"])
@@ -18948,25 +18943,25 @@ var __publicField = (obj, key, value) => {
18948
18943
  });
18949
18944
  const _hoisted_1$7 = { class: "nut-address-list-general" };
18950
18945
  const _hoisted_2$7 = /* @__PURE__ */ vue.createElementVNode("div", { class: "nut-address-list-mask-contain" }, [
18951
- /* @__PURE__ */ vue.createTextVNode(" \u590D\u5236"),
18946
+ /* @__PURE__ */ vue.createTextVNode(" 复制"),
18952
18947
  /* @__PURE__ */ vue.createElementVNode("br"),
18953
- /* @__PURE__ */ vue.createTextVNode("\u5730\u5740 ")
18948
+ /* @__PURE__ */ vue.createTextVNode("地址 ")
18954
18949
  ], -1);
18955
18950
  const _hoisted_3$6 = [
18956
18951
  _hoisted_2$7
18957
18952
  ];
18958
18953
  const _hoisted_4$6 = /* @__PURE__ */ vue.createElementVNode("div", { class: "nut-address-list-mask-contain" }, [
18959
- /* @__PURE__ */ vue.createTextVNode(" \u8BBE\u7F6E"),
18954
+ /* @__PURE__ */ vue.createTextVNode(" 设置"),
18960
18955
  /* @__PURE__ */ vue.createElementVNode("br"),
18961
- /* @__PURE__ */ vue.createTextVNode("\u9ED8\u8BA4 ")
18956
+ /* @__PURE__ */ vue.createTextVNode("默认 ")
18962
18957
  ], -1);
18963
18958
  const _hoisted_5$3 = [
18964
18959
  _hoisted_4$6
18965
18960
  ];
18966
18961
  const _hoisted_6$2 = /* @__PURE__ */ vue.createElementVNode("div", { class: "nut-address-list-mask-contain" }, [
18967
- /* @__PURE__ */ vue.createTextVNode(" \u5220\u9664"),
18962
+ /* @__PURE__ */ vue.createTextVNode(" 删除"),
18968
18963
  /* @__PURE__ */ vue.createElementVNode("br"),
18969
- /* @__PURE__ */ vue.createTextVNode("\u5730\u5740 ")
18964
+ /* @__PURE__ */ vue.createTextVNode("地址 ")
18970
18965
  ], -1);
18971
18966
  const _hoisted_7$1 = [
18972
18967
  _hoisted_6$2
@@ -19056,10 +19051,10 @@ var __publicField = (obj, key, value) => {
19056
19051
  const dataArray = vue.ref([]);
19057
19052
  const dataInfo = vue.reactive({
19058
19053
  id: 2,
19059
- addressName: "\u59D3\u540D",
19054
+ addressName: "姓名",
19060
19055
  phone: "123****4567",
19061
19056
  defaultAddress: false,
19062
- 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"
19057
+ fullAddress: "北京市通州区测试测试测试测试测试测试测试测试测试"
19063
19058
  });
19064
19059
  const classes = vue.computed(() => {
19065
19060
  const prefixCls = componentName$7;
@@ -19574,7 +19569,7 @@ var __publicField = (obj, key, value) => {
19574
19569
  src: itI.smallImgUrl ? itI.smallImgUrl : itI.imgUrl
19575
19570
  }, null, 8, _hoisted_5),
19576
19571
  _ctx.type == "multi" && _ctx.totalImages.length > 9 && _ctx.videos.length + index > 7 ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6, [
19577
- vue.createElementVNode("span", null, "\u5171 " + vue.toDisplayString(_ctx.totalImages.length) + " \u5F20", 1),
19572
+ vue.createElementVNode("span", null, " " + vue.toDisplayString(_ctx.totalImages.length) + " ", 1),
19578
19573
  vue.createVNode(_component_Right, { style: { "width": "12px" } })
19579
19574
  ])) : vue.createCommentVNode("", true)
19580
19575
  ], 8, _hoisted_4$2)) : vue.createCommentVNode("", true)
@@ -19935,7 +19930,7 @@ var __publicField = (obj, key, value) => {
19935
19930
  onClick: _ctx.submitFun
19936
19931
  }, {
19937
19932
  default: vue.withCtx(() => [
19938
- vue.createTextVNode("\u63D0\u4EA4\u5BA1\u6279")
19933
+ vue.createTextVNode("提交审批")
19939
19934
  ]),
19940
19935
  _: 1
19941
19936
  }, 8, ["onClick"])
@@ -19953,7 +19948,7 @@ var __publicField = (obj, key, value) => {
19953
19948
  }
19954
19949
  });
19955
19950
  }
19956
- const version = "4.0.0-beta.0";
19951
+ const version = "4.0.0-beta.2";
19957
19952
  const nutui_vue_build = { install, version, Locale };
19958
19953
  exports2.ActionSheet = ActionSheet;
19959
19954
  exports2.Address = Address;
@@ -1,13 +1,13 @@
1
1
  /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v4.0.0-beta.2 Mon Dec 26 2022 15:54:59 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { c as createComponent } from "./component.fb9ce7ad.js";
6
+ import { c as createComponent } from "./component-1a609d46.js";
7
7
  import { useSlots, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, createElementBlock, toDisplayString, createCommentVNode, renderSlot, Fragment, renderList, normalizeStyle } from "vue";
8
- import { P as Popup, p as popupProps } from "./index.4ed42c18.js";
8
+ import { P as Popup, p as popupProps } from "./index-db2c2975.js";
9
9
  import { Loading } from "@nutui/icons-vue";
10
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
10
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-6eba1fc2.js";
11
11
  import "../locale/lang";
12
12
  import "./Overlay.js";
13
13
  const { componentName, create } = createComponent("action-sheet");