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

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 (515) hide show
  1. package/README.md +1 -1
  2. package/dist/nutui.es.js +227 -0
  3. package/dist/nutui.umd.cjs +7 -20066
  4. package/dist/packages/_es/ActionSheet.js +3 -8
  5. package/dist/packages/_es/Address.js +5 -10
  6. package/dist/packages/_es/AddressList.js +15 -17
  7. package/dist/packages/_es/Animate.js +2 -7
  8. package/dist/packages/_es/Audio.js +4 -9
  9. package/dist/packages/_es/AudioOperate.js +3 -8
  10. package/dist/packages/_es/Avatar.js +2 -7
  11. package/dist/packages/_es/AvatarGroup.js +2 -7
  12. package/dist/packages/_es/Backtop.js +3 -8
  13. package/dist/packages/_es/Badge.js +2 -7
  14. package/dist/packages/_es/Barrage.js +17 -34
  15. package/dist/packages/_es/Button.js +2 -7
  16. package/dist/packages/_es/Calendar.js +6 -11
  17. package/dist/packages/_es/CalendarItem.js +5 -10
  18. package/dist/packages/_es/Card.js +2 -7
  19. package/dist/packages/_es/Cascader.js +14 -9
  20. package/dist/packages/_es/Category.js +2 -7
  21. package/dist/packages/_es/CategoryPane.js +2 -7
  22. package/dist/packages/_es/Cell.js +4 -9
  23. package/dist/packages/_es/CellGroup.js +2 -7
  24. package/dist/packages/_es/Checkbox.js +2 -7
  25. package/dist/packages/_es/CheckboxGroup.js +2 -7
  26. package/dist/packages/_es/CircleProgress.js +2 -7
  27. package/dist/packages/_es/Col.js +2 -7
  28. package/dist/packages/_es/Collapse.js +9 -14
  29. package/dist/packages/_es/CollapseItem.js +5 -10
  30. package/dist/packages/_es/Comment.js +6 -11
  31. package/dist/packages/_es/ConfigProvider.js +38 -11
  32. package/dist/packages/_es/Countdown.js +2 -7
  33. package/dist/packages/_es/Countup.js +2 -7
  34. package/dist/packages/_es/DatePicker.js +4 -9
  35. package/dist/packages/_es/Dialog.js +16 -28
  36. package/dist/packages/_es/Divider.js +2 -7
  37. package/dist/packages/_es/Drag.js +3 -8
  38. package/dist/packages/_es/Ecard.js +4 -9
  39. package/dist/packages/_es/Elevator.js +3 -8
  40. package/dist/packages/_es/Ellipsis.js +2 -7
  41. package/dist/packages/_es/Empty.js +2 -7
  42. package/dist/packages/_es/FixedNav.js +2 -7
  43. package/dist/packages/_es/Form.js +3 -8
  44. package/dist/packages/_es/FormItem.js +4 -9
  45. package/dist/packages/_es/Grid.js +3 -8
  46. package/dist/packages/_es/GridItem.js +5 -10
  47. package/dist/packages/_es/Image.js +3 -8
  48. package/dist/packages/_es/ImagePreview.js +22 -32
  49. package/dist/packages/_es/Indicator.js +2 -7
  50. package/dist/packages/_es/InfiniteLoading.js +4 -9
  51. package/dist/packages/_es/Input.js +3 -11
  52. package/dist/packages/_es/InputNumber.js +3 -8
  53. package/dist/packages/_es/Invoice.js +7 -12
  54. package/dist/packages/_es/Layout.js +1 -6
  55. package/dist/packages/_es/List.js +2 -7
  56. package/dist/packages/_es/Menu.js +3 -8
  57. package/dist/packages/_es/MenuItem.js +3 -8
  58. package/dist/packages/_es/Navbar.js +2 -7
  59. package/dist/packages/_es/Noticebar.js +12 -16
  60. package/dist/packages/_es/Notify.js +9 -14
  61. package/dist/packages/_es/NumberKeyboard.js +3 -8
  62. package/dist/packages/_es/Overlay.js +2 -7
  63. package/dist/packages/_es/Pagination.js +2 -7
  64. package/dist/packages/_es/Picker.js +4 -9
  65. package/dist/packages/_es/Popover.js +5 -10
  66. package/dist/packages/_es/Popup.js +3 -8
  67. package/dist/packages/_es/Price.js +3 -8
  68. package/dist/packages/_es/Progress.js +2 -7
  69. package/dist/packages/_es/PullRefresh.js +6 -11
  70. package/dist/packages/_es/Radio.js +4 -10
  71. package/dist/packages/_es/RadioGroup.js +3 -9
  72. package/dist/packages/_es/Range.js +4 -9
  73. package/dist/packages/_es/Rate.js +5 -10
  74. package/dist/packages/_es/Row.js +2 -7
  75. package/dist/packages/_es/Searchbar.js +3 -8
  76. package/dist/packages/_es/ShortPassword.js +3 -8
  77. package/dist/packages/_es/SideNavbar.js +2 -7
  78. package/dist/packages/_es/SideNavbarItem.js +2 -7
  79. package/dist/packages/_es/Signature.js +2 -7
  80. package/dist/packages/_es/Skeleton.js +2 -7
  81. package/dist/packages/_es/Sku.js +15 -14
  82. package/dist/packages/_es/Step.js +2 -7
  83. package/dist/packages/_es/Steps.js +1 -6
  84. package/dist/packages/_es/Sticky.js +4 -10
  85. package/dist/packages/_es/SubSideNavbar.js +7 -10
  86. package/dist/packages/_es/Swipe.js +5 -10
  87. package/dist/packages/_es/Swiper.js +58 -121
  88. package/dist/packages/_es/SwiperItem.js +3 -8
  89. package/dist/packages/_es/Switch.js +3 -8
  90. package/dist/packages/_es/TabPane.js +4 -9
  91. package/dist/packages/_es/Tabbar.js +2 -7
  92. package/dist/packages/_es/TabbarItem.js +14 -36
  93. package/dist/packages/_es/Table.js +2 -7
  94. package/dist/packages/_es/Tabs.js +20 -25
  95. package/dist/packages/_es/Tag.js +2 -7
  96. package/dist/packages/_es/Textarea.js +2 -7
  97. package/dist/packages/_es/TimeDetail.js +2 -7
  98. package/dist/packages/_es/TimePannel.js +2 -7
  99. package/dist/packages/_es/TimeSelect.js +3 -8
  100. package/dist/packages/_es/Toast.js +10 -17
  101. package/dist/packages/_es/Tour.js +8 -13
  102. package/dist/packages/_es/TrendArrow.js +2 -7
  103. package/dist/packages/_es/Uploader.js +6 -11
  104. package/dist/packages/_es/Video.js +2 -7
  105. package/dist/packages/_es/Watermark.js +3 -8
  106. package/dist/packages/_es/{_plugin-vue_export-helper.bf57b04e.js → _plugin-vue_export-helper-cc2b3d55.js} +0 -5
  107. package/dist/packages/_es/{common.4b8c0eb2.js → common-ceb98554.js} +2 -7
  108. package/dist/packages/_es/{component.fb9ce7ad.js → component-81a4c1d0.js} +1 -6
  109. package/dist/packages/_es/{index.4ed42c18.js → index-1006915b.js} +13 -8
  110. package/dist/packages/_es/{index.3dd88014.js → index-1bf0d8ef.js} +12 -17
  111. package/dist/packages/_es/{index.af02c42d.js → index-29892cda.js} +0 -5
  112. package/dist/packages/_es/{index.1be0d1a5.js → index-43c34ac6.js} +0 -5
  113. package/dist/packages/_es/{index.51da6a3b.js → index-54d03fc1.js} +0 -5
  114. package/dist/packages/_es/{index.617ba243.js → index-79c5dc33.js} +0 -5
  115. package/dist/packages/_es/{index.983240fc.js → index-7a7385e4.js} +0 -5
  116. package/dist/packages/_es/{index.vue_vue_type_script_lang.6e735bb8.js → index.vue_vue_type_script_lang-1291fceb.js} +1 -6
  117. package/dist/packages/_es/{index.vue_vue_type_script_lang.ccc15054.js → index.vue_vue_type_script_lang-cc5c4086.js} +2 -7
  118. package/dist/packages/_es/{index.vue_vue_type_script_lang.43efbcd1.js → index.vue_vue_type_script_lang-d4c88f85.js} +2 -7
  119. package/dist/packages/_es/{interceptor.ba45688c.js → interceptor-956b24fc.js} +1 -6
  120. package/dist/packages/_es/{mountComponent.dddeb43c.js → mountComponent-1ece4110.js} +1 -6
  121. package/dist/packages/_es/pxCheck-c6b9f6b7.js +6 -0
  122. package/dist/packages/_es/{raf.42b42f63.js → raf-729dad54.js} +0 -5
  123. package/dist/packages/_es/{renderIcon.f32ed340.js → renderIcon-3d0fd47c.js} +0 -5
  124. package/dist/packages/actionsheet/index.mjs +4 -0
  125. package/dist/packages/actionsheet/{index.js → style.cjs} +2 -2
  126. package/dist/packages/actionsheet/style.mjs +3 -0
  127. package/dist/packages/address/index.mjs +4 -0
  128. package/dist/packages/address/{index.js → style.cjs} +3 -3
  129. package/dist/packages/address/style.mjs +4 -0
  130. package/dist/packages/addresslist/index.mjs +4 -0
  131. package/dist/packages/{audiooperate/index.js → addresslist/style.cjs} +2 -1
  132. package/dist/packages/addresslist/style.mjs +3 -0
  133. package/dist/packages/animate/index.mjs +4 -0
  134. package/dist/packages/animate/{index.js → style.cjs} +0 -0
  135. package/dist/packages/animate/style.mjs +1 -0
  136. package/dist/packages/audio/index.mjs +4 -0
  137. package/dist/packages/audio/index.scss +1 -1
  138. package/dist/packages/audio/{index.js → style.cjs} +1 -1
  139. package/dist/packages/audio/style.mjs +2 -0
  140. package/dist/packages/audiooperate/index.mjs +4 -0
  141. package/dist/packages/{signature/index.js → audiooperate/style.cjs} +1 -1
  142. package/dist/packages/audiooperate/style.mjs +2 -0
  143. package/dist/packages/avatar/index.mjs +4 -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 +4 -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 +4 -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 +4 -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 +4 -0
  156. package/dist/packages/barrage/index.scss +17 -1
  157. package/dist/packages/barrage/{index.js → style.cjs} +0 -0
  158. package/dist/packages/barrage/style.mjs +1 -0
  159. package/dist/packages/button/index.mjs +4 -0
  160. package/dist/packages/button/{index.js → style.cjs} +0 -0
  161. package/dist/packages/button/style.mjs +1 -0
  162. package/dist/packages/calendar/index.mjs +4 -0
  163. package/dist/packages/calendar/index.scss +11 -2
  164. package/dist/packages/calendar/{index.js → style.cjs} +3 -3
  165. package/dist/packages/calendar/style.mjs +4 -0
  166. package/dist/packages/calendaritem/index.mjs +4 -0
  167. package/dist/packages/calendaritem/{index.js → style.cjs} +0 -0
  168. package/dist/packages/calendaritem/style.mjs +1 -0
  169. package/dist/packages/card/index.mjs +4 -0
  170. package/dist/packages/card/{index.js → style.cjs} +2 -2
  171. package/dist/packages/card/style.mjs +3 -0
  172. package/dist/packages/cascader/index.mjs +4 -0
  173. package/dist/packages/cascader/{index.js → style.cjs} +5 -5
  174. package/dist/packages/cascader/style.mjs +6 -0
  175. package/dist/packages/category/index.mjs +4 -0
  176. package/dist/packages/category/{index.js → style.cjs} +0 -0
  177. package/dist/packages/category/style.mjs +1 -0
  178. package/dist/packages/categorypane/index.mjs +4 -0
  179. package/dist/packages/categorypane/{index.js → style.cjs} +0 -0
  180. package/dist/packages/categorypane/style.mjs +1 -0
  181. package/dist/packages/cell/index.mjs +4 -0
  182. package/dist/packages/cell/index.scss +3 -1
  183. package/dist/packages/cell/{index.js → style.cjs} +0 -0
  184. package/dist/packages/cell/style.mjs +1 -0
  185. package/dist/packages/cellgroup/index.mjs +4 -0
  186. package/dist/packages/cellgroup/{index.js → style.cjs} +0 -0
  187. package/dist/packages/cellgroup/style.mjs +1 -0
  188. package/dist/packages/checkbox/index.mjs +4 -0
  189. package/dist/packages/checkbox/{index.js → style.cjs} +0 -0
  190. package/dist/packages/checkbox/style.mjs +1 -0
  191. package/dist/packages/checkboxgroup/index.mjs +4 -0
  192. package/dist/packages/checkboxgroup/{index.js → style.cjs} +0 -0
  193. package/dist/packages/checkboxgroup/style.mjs +1 -0
  194. package/dist/packages/circleprogress/index.mjs +4 -0
  195. package/dist/packages/circleprogress/{index.js → style.cjs} +0 -0
  196. package/dist/packages/circleprogress/style.mjs +1 -0
  197. package/dist/packages/col/index.mjs +4 -0
  198. package/dist/packages/col/{index.js → style.cjs} +0 -0
  199. package/dist/packages/col/style.mjs +1 -0
  200. package/dist/packages/collapse/index.mjs +4 -0
  201. package/dist/packages/collapse/{index.js → style.cjs} +0 -0
  202. package/dist/packages/collapse/style.mjs +1 -0
  203. package/dist/packages/collapseitem/index.mjs +4 -0
  204. package/dist/packages/collapseitem/{index.js → style.cjs} +0 -0
  205. package/dist/packages/collapseitem/style.mjs +1 -0
  206. package/dist/packages/comment/index.mjs +4 -0
  207. package/dist/packages/comment/{index.js → style.cjs} +1 -1
  208. package/dist/packages/comment/style.mjs +2 -0
  209. package/dist/packages/configprovider/index.mjs +4 -0
  210. package/dist/packages/configprovider/{index.js → style.cjs} +0 -0
  211. package/dist/packages/configprovider/style.mjs +1 -0
  212. package/dist/packages/countdown/index.mjs +4 -0
  213. package/dist/packages/countdown/{index.js → style.cjs} +0 -0
  214. package/dist/packages/countdown/style.mjs +1 -0
  215. package/dist/packages/countup/index.mjs +4 -0
  216. package/dist/packages/countup/{index.js → style.cjs} +0 -0
  217. package/dist/packages/countup/style.mjs +1 -0
  218. package/dist/packages/datepicker/index.mjs +4 -0
  219. package/dist/packages/datepicker/{index.js → style.cjs} +3 -3
  220. package/dist/packages/datepicker/style.mjs +4 -0
  221. package/dist/packages/dialog/index.mjs +5 -0
  222. package/dist/packages/dialog/{index.js → style.cjs} +3 -3
  223. package/dist/packages/dialog/style.mjs +4 -0
  224. package/dist/packages/divider/index.mjs +4 -0
  225. package/dist/packages/divider/{index.js → style.cjs} +0 -0
  226. package/dist/packages/divider/style.mjs +1 -0
  227. package/dist/packages/drag/index.mjs +4 -0
  228. package/dist/packages/drag/{index.js → style.cjs} +0 -0
  229. package/dist/packages/drag/style.mjs +1 -0
  230. package/dist/packages/ecard/index.mjs +4 -0
  231. package/dist/packages/ecard/{index.js → style.cjs} +1 -1
  232. package/dist/packages/ecard/style.mjs +2 -0
  233. package/dist/packages/elevator/index.mjs +4 -0
  234. package/dist/packages/elevator/{index.js → style.cjs} +0 -0
  235. package/dist/packages/elevator/style.mjs +1 -0
  236. package/dist/packages/ellipsis/index.mjs +4 -0
  237. package/dist/packages/ellipsis/{index.js → style.cjs} +0 -0
  238. package/dist/packages/ellipsis/style.mjs +1 -0
  239. package/dist/packages/empty/index.mjs +4 -0
  240. package/dist/packages/empty/{index.js → style.cjs} +0 -0
  241. package/dist/packages/empty/style.mjs +1 -0
  242. package/dist/packages/fixednav/index.mjs +4 -0
  243. package/dist/packages/{popup/index.js → fixednav/style.cjs} +1 -1
  244. package/dist/packages/fixednav/style.mjs +2 -0
  245. package/dist/packages/form/index.mjs +4 -0
  246. package/dist/packages/form/{index.js → style.cjs} +1 -1
  247. package/dist/packages/form/style.mjs +2 -0
  248. package/dist/packages/formitem/index.mjs +4 -0
  249. package/dist/packages/formitem/{index.js → style.cjs} +1 -1
  250. package/dist/packages/formitem/style.mjs +2 -0
  251. package/dist/packages/grid/index.mjs +4 -0
  252. package/dist/packages/grid/{index.js → style.cjs} +0 -0
  253. package/dist/packages/grid/style.mjs +1 -0
  254. package/dist/packages/griditem/index.mjs +4 -0
  255. package/dist/packages/griditem/{index.js → style.cjs} +0 -0
  256. package/dist/packages/griditem/style.mjs +1 -0
  257. package/dist/packages/icon/{index.js → style.cjs} +0 -0
  258. package/dist/packages/icon/style.mjs +1 -0
  259. package/dist/packages/image/index.mjs +4 -0
  260. package/dist/packages/image/{index.js → style.cjs} +0 -0
  261. package/dist/packages/image/style.mjs +1 -0
  262. package/dist/packages/imagepreview/index.mjs +5 -0
  263. package/dist/packages/imagepreview/{index.js → style.cjs} +5 -5
  264. package/dist/packages/imagepreview/style.mjs +6 -0
  265. package/dist/packages/indicator/index.mjs +4 -0
  266. package/dist/packages/indicator/{index.js → style.cjs} +0 -0
  267. package/dist/packages/indicator/style.mjs +1 -0
  268. package/dist/packages/infiniteloading/index.mjs +4 -0
  269. package/dist/packages/infiniteloading/{index.js → style.cjs} +0 -0
  270. package/dist/packages/infiniteloading/style.mjs +1 -0
  271. package/dist/packages/input/index.mjs +4 -0
  272. package/dist/packages/input/{index.js → style.cjs} +0 -0
  273. package/dist/packages/input/style.mjs +1 -0
  274. package/dist/packages/inputnumber/index.mjs +4 -0
  275. package/dist/packages/inputnumber/{index.js → style.cjs} +0 -0
  276. package/dist/packages/inputnumber/style.mjs +1 -0
  277. package/dist/packages/invoice/index.mjs +4 -0
  278. package/dist/packages/invoice/{index.js → style.cjs} +7 -7
  279. package/dist/packages/invoice/style.mjs +8 -0
  280. package/dist/packages/layout/index.mjs +4 -0
  281. package/dist/packages/layout/{index.js → style.cjs} +0 -0
  282. package/dist/packages/layout/style.mjs +1 -0
  283. package/dist/packages/list/index.mjs +4 -0
  284. package/dist/packages/list/{index.js → style.cjs} +0 -0
  285. package/dist/packages/list/style.mjs +1 -0
  286. package/dist/packages/locale/lang/baseLang-0bdc6353.js +5 -0
  287. package/dist/packages/locale/lang/en-US.js +1 -6
  288. package/dist/packages/locale/lang/id-ID.js +1 -6
  289. package/dist/packages/locale/lang/index.js +1 -6
  290. package/dist/packages/locale/lang/zh-CN.js +110 -115
  291. package/dist/packages/locale/lang/zh-TW.js +110 -115
  292. package/dist/packages/menu/index.mjs +4 -0
  293. package/dist/packages/menu/{index.js → style.cjs} +0 -0
  294. package/dist/packages/menu/style.mjs +1 -0
  295. package/dist/packages/menuitem/index.mjs +4 -0
  296. package/dist/packages/menuitem/{index.js → style.cjs} +2 -2
  297. package/dist/packages/menuitem/style.mjs +3 -0
  298. package/dist/packages/navbar/index.mjs +4 -0
  299. package/dist/packages/navbar/{index.js → style.cjs} +0 -0
  300. package/dist/packages/navbar/style.mjs +1 -0
  301. package/dist/packages/noticebar/index.mjs +4 -0
  302. package/dist/packages/noticebar/index.scss +2 -1
  303. package/dist/packages/noticebar/{index.js → style.cjs} +0 -0
  304. package/dist/packages/noticebar/style.mjs +1 -0
  305. package/dist/packages/notify/index.mjs +5 -0
  306. package/dist/packages/notify/{index.js → style.cjs} +2 -2
  307. package/dist/packages/notify/style.mjs +3 -0
  308. package/dist/packages/numberkeyboard/index.mjs +4 -0
  309. package/dist/packages/numberkeyboard/index.scss +3 -0
  310. package/dist/packages/numberkeyboard/{index.js → style.cjs} +2 -2
  311. package/dist/packages/numberkeyboard/style.mjs +3 -0
  312. package/dist/packages/overlay/index.mjs +4 -0
  313. package/dist/packages/overlay/{index.js → style.cjs} +0 -0
  314. package/dist/packages/overlay/style.mjs +1 -0
  315. package/dist/packages/pagination/index.mjs +4 -0
  316. package/dist/packages/pagination/{index.js → style.cjs} +0 -0
  317. package/dist/packages/pagination/style.mjs +1 -0
  318. package/dist/packages/picker/index.mjs +4 -0
  319. package/dist/packages/picker/style.cjs +3 -0
  320. package/dist/packages/picker/style.mjs +3 -0
  321. package/dist/packages/popover/index.mjs +4 -0
  322. package/dist/packages/popover/index.scss +1 -1
  323. package/dist/packages/popover/style.cjs +3 -0
  324. package/dist/packages/popover/style.mjs +3 -0
  325. package/dist/packages/popup/index.mjs +4 -0
  326. package/dist/packages/{fixednav/index.js → popup/style.cjs} +1 -1
  327. package/dist/packages/popup/style.mjs +2 -0
  328. package/dist/packages/price/index.mjs +4 -0
  329. package/dist/packages/price/{index.js → style.cjs} +0 -0
  330. package/dist/packages/price/style.mjs +1 -0
  331. package/dist/packages/progress/index.mjs +4 -0
  332. package/dist/packages/progress/{index.js → style.cjs} +0 -0
  333. package/dist/packages/progress/style.mjs +1 -0
  334. package/dist/packages/pullrefresh/index.mjs +4 -0
  335. package/dist/packages/pullrefresh/index.scss +3 -2
  336. package/dist/packages/pullrefresh/{index.js → style.cjs} +0 -0
  337. package/dist/packages/pullrefresh/style.mjs +1 -0
  338. package/dist/packages/radio/index.mjs +4 -0
  339. package/dist/packages/radio/index.scss +14 -1
  340. package/dist/packages/radio/{index.js → style.cjs} +0 -0
  341. package/dist/packages/radio/style.mjs +1 -0
  342. package/dist/packages/radiogroup/index.mjs +4 -0
  343. package/dist/packages/radiogroup/{index.js → style.cjs} +0 -0
  344. package/dist/packages/radiogroup/style.mjs +1 -0
  345. package/dist/packages/range/index.mjs +4 -0
  346. package/dist/packages/range/index.scss +6 -3
  347. package/dist/packages/range/{index.js → style.cjs} +0 -0
  348. package/dist/packages/range/style.mjs +1 -0
  349. package/dist/packages/rate/index.mjs +4 -0
  350. package/dist/packages/rate/{index.js → style.cjs} +0 -0
  351. package/dist/packages/rate/style.mjs +1 -0
  352. package/dist/packages/row/index.mjs +4 -0
  353. package/dist/packages/row/{index.js → style.cjs} +0 -0
  354. package/dist/packages/row/style.mjs +1 -0
  355. package/dist/packages/searchbar/index.mjs +4 -0
  356. package/dist/packages/searchbar/{index.js → style.cjs} +0 -0
  357. package/dist/packages/searchbar/style.mjs +1 -0
  358. package/dist/packages/shortpassword/index.mjs +4 -0
  359. package/dist/packages/shortpassword/style.cjs +3 -0
  360. package/dist/packages/shortpassword/style.mjs +3 -0
  361. package/dist/packages/sidenavbar/index.mjs +4 -0
  362. package/dist/packages/sidenavbar/{index.js → style.cjs} +0 -0
  363. package/dist/packages/sidenavbar/style.mjs +1 -0
  364. package/dist/packages/sidenavbaritem/index.mjs +4 -0
  365. package/dist/packages/sidenavbaritem/{index.js → style.cjs} +0 -0
  366. package/dist/packages/sidenavbaritem/style.mjs +1 -0
  367. package/dist/packages/signature/index.mjs +4 -0
  368. package/dist/packages/{addresslist/index.js → signature/style.cjs} +1 -1
  369. package/dist/packages/signature/style.mjs +2 -0
  370. package/dist/packages/skeleton/index.mjs +4 -0
  371. package/dist/packages/skeleton/{index.js → style.cjs} +1 -1
  372. package/dist/packages/skeleton/style.mjs +2 -0
  373. package/dist/packages/sku/index.mjs +4 -0
  374. package/dist/packages/sku/index.scss +16 -2
  375. package/dist/packages/sku/{index.js → style.cjs} +4 -4
  376. package/dist/packages/sku/style.mjs +5 -0
  377. package/dist/packages/step/index.mjs +4 -0
  378. package/dist/packages/step/{index.js → style.cjs} +0 -0
  379. package/dist/packages/step/style.mjs +1 -0
  380. package/dist/packages/steps/index.mjs +4 -0
  381. package/dist/packages/steps/{index.js → style.cjs} +0 -0
  382. package/dist/packages/steps/style.mjs +1 -0
  383. package/dist/packages/sticky/index.mjs +4 -0
  384. package/dist/packages/sticky/index.scss +1 -0
  385. package/dist/packages/sticky/{index.js → style.cjs} +0 -0
  386. package/dist/packages/sticky/style.mjs +1 -0
  387. package/dist/packages/subsidenavbar/index.mjs +4 -0
  388. package/dist/packages/subsidenavbar/{index.js → style.cjs} +0 -0
  389. package/dist/packages/subsidenavbar/style.mjs +1 -0
  390. package/dist/packages/swipe/index.mjs +4 -0
  391. package/dist/packages/swipe/{index.js → style.cjs} +0 -0
  392. package/dist/packages/swipe/style.mjs +1 -0
  393. package/dist/packages/swiper/index.mjs +4 -0
  394. package/dist/packages/swiper/{index.js → style.cjs} +0 -0
  395. package/dist/packages/swiper/style.mjs +1 -0
  396. package/dist/packages/swiperitem/index.mjs +4 -0
  397. package/dist/packages/swiperitem/{index.js → style.cjs} +0 -0
  398. package/dist/packages/swiperitem/style.mjs +1 -0
  399. package/dist/packages/switch/index.mjs +4 -0
  400. package/dist/packages/switch/{index.js → style.cjs} +0 -0
  401. package/dist/packages/switch/style.mjs +1 -0
  402. package/dist/packages/tabbar/index.mjs +4 -0
  403. package/dist/packages/tabbar/{index.js → style.cjs} +0 -0
  404. package/dist/packages/tabbar/style.mjs +1 -0
  405. package/dist/packages/tabbaritem/index.mjs +4 -0
  406. package/dist/packages/tabbaritem/{index.js → style.cjs} +1 -1
  407. package/dist/packages/tabbaritem/style.mjs +2 -0
  408. package/dist/packages/table/index.mjs +4 -0
  409. package/dist/packages/table/{index.js → style.cjs} +0 -0
  410. package/dist/packages/table/style.mjs +1 -0
  411. package/dist/packages/tabpane/index.mjs +4 -0
  412. package/dist/packages/tabpane/{index.js → style.cjs} +0 -0
  413. package/dist/packages/tabpane/style.mjs +1 -0
  414. package/dist/packages/tabs/index.mjs +4 -0
  415. package/dist/packages/tabs/{index.js → style.cjs} +1 -1
  416. package/dist/packages/tabs/style.mjs +2 -0
  417. package/dist/packages/tag/index.mjs +4 -0
  418. package/dist/packages/tag/{index.js → style.cjs} +0 -0
  419. package/dist/packages/tag/style.mjs +1 -0
  420. package/dist/packages/textarea/index.mjs +4 -0
  421. package/dist/packages/textarea/{index.js → style.cjs} +0 -0
  422. package/dist/packages/textarea/style.mjs +1 -0
  423. package/dist/packages/timedetail/index.mjs +4 -0
  424. package/dist/packages/timedetail/index.scss +14 -1
  425. package/dist/packages/timedetail/{index.js → style.cjs} +0 -0
  426. package/dist/packages/timedetail/style.mjs +1 -0
  427. package/dist/packages/timepannel/index.mjs +4 -0
  428. package/dist/packages/timepannel/{index.js → style.cjs} +0 -0
  429. package/dist/packages/timepannel/style.mjs +1 -0
  430. package/dist/packages/timeselect/index.mjs +4 -0
  431. package/dist/packages/timeselect/style.cjs +3 -0
  432. package/dist/packages/timeselect/style.mjs +3 -0
  433. package/dist/packages/toast/index.mjs +5 -0
  434. package/dist/packages/toast/{index.js → style.cjs} +0 -0
  435. package/dist/packages/toast/style.mjs +1 -0
  436. package/dist/packages/tour/index.mjs +4 -0
  437. package/dist/packages/tour/{index.js → style.cjs} +3 -3
  438. package/dist/packages/tour/style.mjs +4 -0
  439. package/dist/packages/trendarrow/index.mjs +4 -0
  440. package/dist/packages/trendarrow/{index.js → style.cjs} +0 -0
  441. package/dist/packages/trendarrow/style.mjs +1 -0
  442. package/dist/packages/uploader/index.mjs +4 -0
  443. package/dist/packages/uploader/{index.js → style.cjs} +2 -2
  444. package/dist/packages/uploader/style.mjs +3 -0
  445. package/dist/packages/video/index.mjs +4 -0
  446. package/dist/packages/video/{index.js → style.cjs} +0 -0
  447. package/dist/packages/video/style.mjs +1 -0
  448. package/dist/packages/watermark/index.mjs +4 -0
  449. package/dist/packages/watermark/{index.js → style.cjs} +0 -0
  450. package/dist/packages/watermark/style.mjs +1 -0
  451. package/dist/smartips/attributes.json +289 -293
  452. package/dist/smartips/tags.json +11 -12
  453. package/dist/smartips/web-types.json +336 -345
  454. package/dist/style.css +1 -1
  455. package/dist/styles/{css-variables.scss → theme-deafult.scss} +15 -17
  456. package/dist/styles/theme-jdt.scss +892 -0
  457. package/dist/styles/themes/default.scss +52 -52
  458. package/dist/styles/themes/jdb.scss +51 -52
  459. package/dist/styles/themes/jddkh.scss +51 -52
  460. package/dist/styles/themes/jdt.scss +52 -52
  461. package/dist/styles/variables-jdt.scss +763 -707
  462. package/dist/styles/variables.scss +803 -733
  463. package/dist/types/__VUE/actionsheet/index.vue.d.ts +18 -0
  464. package/dist/types/__VUE/address/index.vue.d.ts +18 -0
  465. package/dist/types/__VUE/barrage/index.vue.d.ts +0 -1
  466. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +2 -2
  467. package/dist/types/__VUE/cascader/index.vue.d.ts +18 -0
  468. package/dist/types/__VUE/cascader/types.d.ts +1 -1
  469. package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
  470. package/dist/types/__VUE/collapse/index.vue.d.ts +5 -5
  471. package/dist/types/__VUE/configprovider/index.vue.d.ts +3 -2
  472. package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
  473. package/dist/types/__VUE/dialog/index.d.ts +9 -9
  474. package/dist/types/__VUE/dialog/index.vue.d.ts +18 -0
  475. package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
  476. package/dist/types/__VUE/ellipsis/index.vue.d.ts +1 -1
  477. package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
  478. package/dist/types/__VUE/icon/index.vue.d.ts +1 -0
  479. package/dist/types/__VUE/imagepreview/index.d.ts +12 -12
  480. package/dist/types/__VUE/imagepreview/index.vue.d.ts +0 -9
  481. package/dist/types/__VUE/input/index.vue.d.ts +2 -2
  482. package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
  483. package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -12
  484. package/dist/types/__VUE/notify/index.d.ts +3 -3
  485. package/dist/types/__VUE/popover/index.vue.d.ts +1 -1
  486. package/dist/types/__VUE/popup/common.d.ts +8 -0
  487. package/dist/types/__VUE/popup/index.vue.d.ts +18 -0
  488. package/dist/types/__VUE/popup/props.d.ts +8 -0
  489. package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
  490. package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
  491. package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -1
  492. package/dist/types/__VUE/sku/index.vue.d.ts +18 -0
  493. package/dist/types/__VUE/steps/index.vue.d.ts +1 -1
  494. package/dist/types/__VUE/swiper/index.vue.d.ts +9 -8
  495. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +0 -1
  496. package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
  497. package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
  498. package/dist/types/__VUE/toast/index.d.ts +3 -3
  499. package/dist/types/__VUE/tour/index.vue.d.ts +1 -1
  500. package/dist/types/index.d.ts +10 -7
  501. package/package.json +24 -51
  502. package/dist/nutui.js +0 -20064
  503. package/dist/packages/_es/Icon.js +0 -13
  504. package/dist/packages/_es/index.vue_vue_type_script_lang.de4367bf.js +0 -12
  505. package/dist/packages/_es/pxCheck.09969b22.js +0 -11
  506. package/dist/packages/_es/style.css +0 -16
  507. package/dist/packages/locale/index.scss +0 -1
  508. package/dist/packages/locale/lang/baseLang.ff3ed8bc.js +0 -10
  509. package/dist/packages/locale/lang/index.scss +0 -1
  510. package/dist/packages/picker/index.js +0 -3
  511. package/dist/packages/popover/index.js +0 -3
  512. package/dist/packages/shortpassword/index.js +0 -3
  513. package/dist/packages/timeselect/index.js +0 -3
  514. package/dist/types/__VUE/configprovider/common.d.ts +0 -20
  515. package/dist/types/__VUE/swiper/use-touch.d.ts +0 -16
@@ -4,27 +4,22 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- /*!
8
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
9
- * (c) 2022 @jdf2e.
10
- * Released under the MIT License.
11
- */
12
7
  import { reactive, computed, watch, toRefs, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeStyle, createElementBlock, createCommentVNode, ref, onMounted, Fragment, renderList, toDisplayString, normalizeClass, renderSlot, createVNode, h } from "vue";
13
- import { c as createComponent, e as clamp, d as preventDefault, i as isArray } from "./component.fb9ce7ad.js";
14
- import { u as useRect } from "./index.af02c42d.js";
15
- import { u as useTouch } from "./index.983240fc.js";
8
+ import { c as createComponent, e as clamp, d as preventDefault, i as isArray } from "./component-81a4c1d0.js";
9
+ import { u as useRect } from "./index-29892cda.js";
10
+ import { u as useTouch } from "./index-7a7385e4.js";
16
11
  import Video from "./Video.js";
17
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
12
+ import SwiperItem from "./SwiperItem.js";
13
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
18
14
  import { CircleClose } from "@nutui/icons-vue";
19
- import { P as Popup } from "./index.4ed42c18.js";
15
+ import { P as Popup } from "./index-1006915b.js";
20
16
  import Swiper from "./Swiper.js";
21
- import SwiperItem from "./SwiperItem.js";
22
- import { f as funInterceptor } from "./interceptor.ba45688c.js";
17
+ import { f as funInterceptor } from "./interceptor-956b24fc.js";
23
18
  import "../locale/lang";
24
- import { C as CreateComponent } from "./mountComponent.dddeb43c.js";
25
- import { _ as _sfc_main$2 } from "./index.vue_vue_type_script_lang.de4367bf.js";
19
+ import { C as CreateComponent } from "./mountComponent-1ece4110.js";
26
20
  import Overlay from "./Overlay.js";
27
- import "./index.617ba243.js";
21
+ import "./index-79c5dc33.js";
22
+ import "./raf-729dad54.js";
28
23
  const baseProps = {
29
24
  show: { type: Boolean, default: false },
30
25
  initNo: { type: Number, default: 0 },
@@ -55,7 +50,8 @@ const _sfc_main$1 = create$1({
55
50
  },
56
51
  emits: ["close", "scale"],
57
52
  components: {
58
- [Video.name]: Video
53
+ [Video.name]: Video,
54
+ [SwiperItem.name]: SwiperItem
59
55
  },
60
56
  setup(props, { emit }) {
61
57
  const state = reactive({
@@ -297,10 +293,6 @@ const _sfc_main = create({
297
293
  type: Boolean,
298
294
  default: false
299
295
  },
300
- closeIcon: {
301
- type: String,
302
- default: "circle-close"
303
- },
304
296
  closeIconPosition: {
305
297
  type: String,
306
298
  default: "top-right"
@@ -316,8 +308,7 @@ const _sfc_main = create({
316
308
  ImagePreviewItem,
317
309
  CircleClose,
318
310
  [Popup.name]: Popup,
319
- [Swiper.name]: Swiper,
320
- [SwiperItem.name]: SwiperItem
311
+ [Swiper.name]: Swiper
321
312
  },
322
313
  setup(props, { emit }) {
323
314
  const swipeRef = ref();
@@ -357,6 +348,7 @@ const _sfc_main = create({
357
348
  const init = () => {
358
349
  if (swipeRef.value) {
359
350
  const rect = useRect(swipeRef.value);
351
+ console.log("show");
360
352
  state.rootHeight = rect.height;
361
353
  state.rootWidth = rect.width;
362
354
  }
@@ -364,6 +356,7 @@ const _sfc_main = create({
364
356
  watch(
365
357
  () => props.show,
366
358
  (val) => {
359
+ console.log("展示", val);
367
360
  state.showPop = val;
368
361
  init();
369
362
  }
@@ -477,8 +470,6 @@ class ImagePreviewOptions {
477
470
  __publicField(this, "maxZoom", 3);
478
471
  __publicField(this, "minZoom", 1 / 3);
479
472
  __publicField(this, "isLoop", true);
480
- __publicField(this, "onClose", () => {
481
- });
482
473
  __publicField(this, "teleport", "body");
483
474
  }
484
475
  }
@@ -486,9 +477,9 @@ class ImagePreviewFunction {
486
477
  constructor(_options) {
487
478
  __publicField(this, "options", new ImagePreviewOptions());
488
479
  const options = Object.assign(this.options, _options);
489
- const { instance, unmount } = CreateComponent(options, {
490
- name: "imagepreview",
491
- components: [Popup, Video, Swiper, SwiperItem, _sfc_main$2, Overlay],
480
+ const { unmount } = CreateComponent(options, {
481
+ name: "image-preview",
482
+ components: [Popup, Video, Swiper, SwiperItem, Overlay],
492
483
  wrapper: () => {
493
484
  return {
494
485
  setup() {
@@ -504,13 +495,12 @@ class ImagePreviewFunction {
504
495
  });
505
496
  }
506
497
  }
507
- const _ImagePreview = (options) => new ImagePreviewFunction(options);
508
- _ImagePreview.install = (app) => {
498
+ const showImagePreview = (options) => new ImagePreviewFunction(options);
499
+ showImagePreview.install = (app) => {
509
500
  app.use(ImagePreview);
510
- app.config.globalProperties.$imagepreview = _ImagePreview;
511
501
  };
512
502
  export {
513
- ImagePreview,
514
503
  ImagePreviewOptions,
515
- _ImagePreview as default
504
+ ImagePreview as default,
505
+ showImagePreview
516
506
  };
@@ -1,11 +1,6 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { toRefs, computed, openBlock, createElementBlock, normalizeClass, Fragment, renderList, toDisplayString } from "vue";
7
- import { p as padZero, c as createComponent } from "./component.fb9ce7ad.js";
8
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
2
+ import { p as padZero, c as createComponent } from "./component-81a4c1d0.js";
3
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
9
4
  import "../locale/lang";
10
5
  const { componentName, create } = createComponent("indicator");
11
6
  const _sfc_main = create({
@@ -1,14 +1,9 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref, reactive, computed, onMounted, onUnmounted, onActivated, onDeactivated, watch, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createVNode, toDisplayString, createCommentVNode } from "vue";
7
- import { c as createComponent, l as getScrollTopRoot } from "./component.fb9ce7ad.js";
8
- import { u as useScrollParent } from "./index.1be0d1a5.js";
9
- import { r as requestAniFrame } from "./raf.42b42f63.js";
2
+ import { c as createComponent, l as getScrollTopRoot } from "./component-81a4c1d0.js";
3
+ import { u as useScrollParent } from "./index-43c34ac6.js";
4
+ import { r as requestAniFrame } from "./raf-729dad54.js";
10
5
  import { Loading } from "@nutui/icons-vue";
11
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
6
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
12
7
  import "../locale/lang";
13
8
  const { componentName, create, translate } = createComponent("infinite-loading");
14
9
  const _sfc_main = create({
@@ -1,12 +1,7 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref, reactive, computed, watch, onMounted, h, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, resolveDynamicComponent, normalizeStyle, toDisplayString, createTextVNode, createCommentVNode, withDirectives, renderSlot, createVNode, mergeProps, vShow } from "vue";
7
- import { c as createComponent } from "./component.fb9ce7ad.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
8
3
  import { MaskClose } from "@nutui/icons-vue";
9
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
4
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
10
5
  import "../locale/lang";
11
6
  function trimExtraChar(value, char, regExp) {
12
7
  const index2 = value.indexOf(char);
@@ -125,10 +120,7 @@ const _sfc_main = create({
125
120
  setup(props, { emit, slots }) {
126
121
  const active = ref(false);
127
122
  const inputRef = ref();
128
- const getModelValue = () => {
129
- var _a;
130
- return String((_a = props.modelValue) != null ? _a : "");
131
- };
123
+ const getModelValue = () => String(props.modelValue ?? "");
132
124
  const renderInput = (type) => {
133
125
  return h("input", {
134
126
  style: styles,
@@ -1,13 +1,8 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { computed, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createVNode, normalizeStyle } from "vue";
7
- import { c as createComponent } from "./component.fb9ce7ad.js";
8
- import { p as pxCheck } from "./pxCheck.09969b22.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
9
4
  import { Minus, Plus } from "@nutui/icons-vue";
10
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
5
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
11
6
  import "../locale/lang";
12
7
  const { componentName, create } = createComponent("input-number");
13
8
  const _sfc_main = create({
@@ -1,21 +1,16 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref, reactive, computed, onMounted, watch, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, withDirectives, vModelText, createCommentVNode } from "vue";
7
- import { c as createComponent } from "./component.fb9ce7ad.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
8
3
  import Form from "./Form.js";
9
4
  import FormItem from "./FormItem.js";
10
- import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_lang.43efbcd1.js";
11
- import { _ as _sfc_main$2 } from "./index.vue_vue_type_script_lang.6e735bb8.js";
5
+ import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_lang-d4c88f85.js";
6
+ import { _ as _sfc_main$2 } from "./index.vue_vue_type_script_lang-1291fceb.js";
12
7
  import Button from "./Button.js";
13
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
8
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
14
9
  import "../locale/lang";
15
10
  import "./CellGroup.js";
16
- import "./pxCheck.09969b22.js";
11
+ import "./pxCheck-c6b9f6b7.js";
17
12
  import "./Cell.js";
18
- import "./index.51da6a3b.js";
13
+ import "./index-54d03fc1.js";
19
14
  import "@nutui/icons-vue";
20
15
  const { componentName, create } = createComponent("invoice");
21
16
  const _sfc_main = create({
@@ -147,7 +142,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
147
142
  onClick: _ctx.submitFun
148
143
  }, {
149
144
  default: withCtx(() => [
150
- createTextVNode("\u63D0\u4EA4\u5BA1\u6279")
145
+ createTextVNode("提交审批")
151
146
  ]),
152
147
  _: 1
153
148
  }, 8, ["onClick"])
@@ -1,9 +1,4 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
- import { c as createComponent } from "./component.fb9ce7ad.js";
1
+ import { c as createComponent } from "./component-81a4c1d0.js";
7
2
  import "vue";
8
3
  import "../locale/lang";
9
4
  const { create } = createComponent("layout");
@@ -1,11 +1,6 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref, reactive, computed, watch, toRefs, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, renderList, renderSlot } from "vue";
7
- import { c as createComponent } from "./component.fb9ce7ad.js";
8
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
9
4
  import "../locale/lang";
10
5
  const { componentName, create } = createComponent("list");
11
6
  const clientHeight = document.documentElement.clientHeight || document.body.clientHeight || 667;
@@ -1,13 +1,8 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref, computed, onMounted, onUnmounted, reactive, provide, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, normalizeStyle, toDisplayString, renderSlot, createBlock } from "vue";
7
- import { c as createComponent } from "./component.fb9ce7ad.js";
8
- import { u as useRect } from "./index.af02c42d.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { u as useRect } from "./index-29892cda.js";
9
4
  import { ArrowUp2, ArrowDown2 } from "@nutui/icons-vue";
10
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
5
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
11
6
  import "../locale/lang";
12
7
  const { componentName, create } = createComponent("menu");
13
8
  const _sfc_main = create({
@@ -1,13 +1,8 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { reactive, computed, inject, getCurrentInstance, onUnmounted, resolveComponent, withDirectives, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, vShow, createVNode, mergeProps, withCtx, Fragment, renderList, renderSlot, createCommentVNode, toDisplayString } from "vue";
7
- import { c as createComponent } from "./component.fb9ce7ad.js";
8
- import { P as Popup } from "./index.4ed42c18.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { P as Popup } from "./index-1006915b.js";
9
4
  import { Check } from "@nutui/icons-vue";
10
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
5
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
11
6
  import "../locale/lang";
12
7
  import "./Overlay.js";
13
8
  const { componentName, create } = createComponent("menu-item");
@@ -1,12 +1,7 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { toRefs, ref, computed, onMounted, nextTick, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createVNode, createCommentVNode, toDisplayString } from "vue";
7
- import { c as createComponent } from "./component.fb9ce7ad.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
8
3
  import { Left } from "@nutui/icons-vue";
9
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
4
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
10
5
  import "../locale/lang";
11
6
  const { componentName, create } = createComponent("navbar");
12
7
  const _sfc_main = create({
@@ -1,14 +1,9 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { h, ref, reactive, computed, watch, onMounted, onActivated, onDeactivated, onUnmounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, normalizeStyle, createElementVNode, renderSlot, createBlock, resolveDynamicComponent, createTextVNode, toDisplayString, withModifiers, createCommentVNode, vShow, Fragment, renderList } from "vue";
7
2
  import { Notice, CircleClose } from "@nutui/icons-vue";
8
- import { c as createComponent } from "./component.fb9ce7ad.js";
9
- import { r as renderIcon } from "./renderIcon.f32ed340.js";
10
- import { p as pxCheck } from "./pxCheck.09969b22.js";
11
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
3
+ import { c as createComponent } from "./component-81a4c1d0.js";
4
+ import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
5
+ import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
6
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
12
7
  import "../locale/lang";
13
8
  const { componentName, create } = createComponent("noticebar");
14
9
  const _sfc_main = create({
@@ -48,7 +43,6 @@ const _sfc_main = create({
48
43
  default: false
49
44
  },
50
45
  leftIcon: { type: Object || String, default: () => Notice },
51
- rightIcon: { type: Object || String, default: "" },
52
46
  color: {
53
47
  type: String,
54
48
  default: ""
@@ -322,7 +316,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
322
316
  ])
323
317
  ], 38)
324
318
  ], 512),
325
- _ctx.closeMode || _ctx.rightIcon ? (openBlock(), createElementBlock("view", {
319
+ _ctx.closeMode || _ctx.$slots["right-icon"] ? (openBlock(), createElementBlock("view", {
326
320
  key: 0,
327
321
  class: "nut-noticebar__page-righticon",
328
322
  onClick: _cache[2] || (_cache[2] = withModifiers((...args) => _ctx.onClickIcon && _ctx.onClickIcon(...args), ["stop"]))
@@ -367,11 +361,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
367
361
  class: "go",
368
362
  onClick: _cache[4] || (_cache[4] = ($event) => !_ctx.slots.rightIcon && _ctx.handleClickIcon())
369
363
  }, [
370
- _ctx.slots.rightIcon ? renderSlot(_ctx.$slots, "rightIcon", { key: 0 }) : _ctx.closeMode ? (openBlock(), createBlock(_component_CircleClose, {
371
- key: 1,
372
- color: _ctx.color,
373
- size: "11px"
374
- }, null, 8, ["color"])) : createCommentVNode("", true)
364
+ renderSlot(_ctx.$slots, "rightIcon", {}, () => [
365
+ _ctx.closeMode ? (openBlock(), createBlock(_component_CircleClose, {
366
+ key: 0,
367
+ color: _ctx.color,
368
+ size: "11px"
369
+ }, null, 8, ["color"])) : createCommentVNode("", true)
370
+ ])
375
371
  ])
376
372
  ], 4)) : createCommentVNode("", true)
377
373
  ], 2);
@@ -1,12 +1,7 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createElementBlock, Fragment, createTextVNode, toDisplayString, createVNode, render, onMounted, h } from "vue";
7
- import { c as createComponent } from "./component.fb9ce7ad.js";
8
- import { P as Popup } from "./index.4ed42c18.js";
9
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { P as Popup } from "./index-1006915b.js";
4
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
10
5
  import "../locale/lang";
11
6
  import "./Overlay.js";
12
7
  import "@nutui/icons-vue";
@@ -113,6 +108,7 @@ const defaultOptions = {
113
108
  background: void 0,
114
109
  duration: 3e3,
115
110
  className: "",
111
+ onClose: Function,
116
112
  teleport: "",
117
113
  unmount: new Function()
118
114
  };
@@ -173,6 +169,7 @@ const mountNotify = (opts) => {
173
169
  opts.teleport = `#notify-${opts.id}`;
174
170
  onMounted(() => {
175
171
  setTimeout(() => {
172
+ opts.onClose && opts.onClose();
176
173
  document.body.removeChild(root);
177
174
  }, opts.duration);
178
175
  });
@@ -187,11 +184,11 @@ const mountNotify = (opts) => {
187
184
  };
188
185
  const errorMsg = (msg) => {
189
186
  if (!msg) {
190
- console.warn("[NutUI Notify]: msg\u4E0D\u80FD\u4E3A\u7A7A");
187
+ console.warn("[NutUI Notify]: msg不能为空");
191
188
  return;
192
189
  }
193
190
  };
194
- const NotifyFunction = {
191
+ const showNotify = {
195
192
  text(msg, obj = {}) {
196
193
  errorMsg(msg);
197
194
  return mountNotify({ ...obj, msg });
@@ -217,11 +214,9 @@ const NotifyFunction = {
217
214
  },
218
215
  install(app) {
219
216
  app.use(Notify);
220
- app.config.globalProperties.$notify = NotifyFunction;
221
217
  }
222
218
  };
223
219
  export {
224
- Notify,
225
- NotifyFunction,
226
- NotifyFunction as default
220
+ Notify as default,
221
+ showNotify
227
222
  };
@@ -1,12 +1,7 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref, computed, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, normalizeClass, createTextVNode } from "vue";
7
- import { c as createComponent } from "./component.fb9ce7ad.js";
8
- import { P as Popup } from "./index.4ed42c18.js";
9
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { P as Popup } from "./index-1006915b.js";
4
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
10
5
  import "../locale/lang";
11
6
  import "./Overlay.js";
12
7
  import "@nutui/icons-vue";
@@ -1,11 +1,6 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { computed, watchEffect, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, withModifiers, normalizeStyle, renderSlot, vShow } from "vue";
7
- import { b as body, c as createComponent } from "./component.fb9ce7ad.js";
8
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
2
+ import { b as body, c as createComponent } from "./component-81a4c1d0.js";
3
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
9
4
  import "../locale/lang";
10
5
  let count = 0;
11
6
  const CLSNAME = "nut-overflow-hidden";
@@ -1,11 +1,6 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { toRefs, computed, watchEffect, openBlock, createElementBlock, createElementVNode, normalizeClass, renderSlot, createTextVNode, toDisplayString, Fragment, renderList, createCommentVNode } from "vue";
7
- import { c as createComponent } from "./component.fb9ce7ad.js";
8
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
9
4
  import "../locale/lang";
10
5
  const { create, translate } = createComponent("pagination");
11
6
  const _sfc_main = create({
@@ -1,13 +1,8 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { reactive, ref, computed, watch, toRefs, onMounted, openBlock, createElementBlock, createElementVNode, normalizeStyle, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, resolveComponent, renderSlot, createVNode } from "vue";
7
- import { c as createComponent, d as preventDefault, e as clamp } from "./component.fb9ce7ad.js";
8
- import { p as pxCheck } from "./pxCheck.09969b22.js";
9
- import { u as useTouch } from "./index.983240fc.js";
10
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
2
+ import { c as createComponent, d as preventDefault, e as clamp } from "./component-81a4c1d0.js";
3
+ import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
4
+ import { u as useTouch } from "./index-7a7385e4.js";
5
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
11
6
  import "../locale/lang";
12
7
  const { componentName: componentName$1 } = createComponent("picker");
13
8
  const usePicker = (props, emit) => {
@@ -1,14 +1,9 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref, computed, onMounted, watch, resolveComponent, openBlock, createElementBlock, Fragment, renderSlot, createCommentVNode, createElementVNode, normalizeClass, normalizeStyle, createVNode, withCtx, renderList, withModifiers, createBlock, resolveDynamicComponent, toDisplayString } from "vue";
7
- import { i as isArray, c as createComponent } from "./component.fb9ce7ad.js";
8
- import { r as renderIcon } from "./renderIcon.f32ed340.js";
9
- import { u as useRect } from "./index.af02c42d.js";
10
- import { P as Popup } from "./index.4ed42c18.js";
11
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
2
+ import { i as isArray, c as createComponent } from "./component-81a4c1d0.js";
3
+ import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
4
+ import { u as useRect } from "./index-29892cda.js";
5
+ import { P as Popup } from "./index-1006915b.js";
6
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
12
7
  import "../locale/lang";
13
8
  import "./Overlay.js";
14
9
  import "@nutui/icons-vue";
@@ -1,12 +1,7 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
- import { P } from "./index.4ed42c18.js";
1
+ import { P } from "./index-1006915b.js";
7
2
  import "vue";
8
- import "./_plugin-vue_export-helper.bf57b04e.js";
9
- import "./component.fb9ce7ad.js";
3
+ import "./_plugin-vue_export-helper-cc2b3d55.js";
4
+ import "./component-81a4c1d0.js";
10
5
  import "../locale/lang";
11
6
  import "./Overlay.js";
12
7
  import "@nutui/icons-vue";
@@ -1,11 +1,6 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { computed, openBlock, createElementBlock, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
7
- import { c as createComponent } from "./component.fb9ce7ad.js";
8
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
9
4
  import "../locale/lang";
10
5
  const { componentName, create } = createComponent("price");
11
6
  const _sfc_main = create({
@@ -36,7 +31,7 @@ const _sfc_main = create({
36
31
  },
37
32
  size: {
38
33
  type: String,
39
- default: "large"
34
+ default: "normal"
40
35
  }
41
36
  },
42
37
  setup(props) {
@@ -1,12 +1,7 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { useSlots, ref, computed, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
7
- import { c as createComponent } from "./component.fb9ce7ad.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
8
3
  import { Checked } from "@nutui/icons-vue";
9
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
4
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
10
5
  import "../locale/lang";
11
6
  const { create } = createComponent("progress");
12
7
  const _sfc_main = create({
@@ -1,15 +1,10 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref, reactive, computed, watch, nextTick, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createBlock, createCommentVNode, toDisplayString, renderSlot } from "vue";
7
- import { c as createComponent, l as getScrollTopRoot } from "./component.fb9ce7ad.js";
8
- import { u as useTouch } from "./index.983240fc.js";
9
- import { p as pxCheck } from "./pxCheck.09969b22.js";
10
- import { u as useScrollParent } from "./index.1be0d1a5.js";
2
+ import { c as createComponent, l as getScrollTopRoot } from "./component-81a4c1d0.js";
3
+ import { u as useTouch } from "./index-7a7385e4.js";
4
+ import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
5
+ import { u as useScrollParent } from "./index-43c34ac6.js";
11
6
  import { Loading } from "@nutui/icons-vue";
12
- import { _ as _export_sfc } from "./_plugin-vue_export-helper.bf57b04e.js";
7
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
13
8
  import "../locale/lang";
14
9
  const { componentName, create, translate } = createComponent("pullrefresh");
15
10
  const _sfc_main = create({
@@ -160,7 +155,7 @@ const _sfc_main = create({
160
155
  watch(
161
156
  () => props.modelValue,
162
157
  (val) => {
163
- console.log("\u76D1\u542C", val);
158
+ console.log("监听", val);
164
159
  if (val) {
165
160
  setPullStatus(+props.headHeight, true);
166
161
  nextTick(() => emit("refresh"));
@@ -1,15 +1,9 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.0 Mon Dec 26 2022 00:00:21 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
- import { _ as _sfc_main } from "./index.vue_vue_type_script_lang.43efbcd1.js";
7
- import { _ } from "./index.vue_vue_type_script_lang.43efbcd1.js";
1
+ import { _ as _sfc_main } from "./index.vue_vue_type_script_lang-d4c88f85.js";
8
2
  import "vue";
9
- import "./component.fb9ce7ad.js";
3
+ import "./component-81a4c1d0.js";
10
4
  import "../locale/lang";
11
5
  import "@nutui/icons-vue";
12
- import "./pxCheck.09969b22.js";
6
+ import "./pxCheck-c6b9f6b7.js";
13
7
  export {
14
- _ as default
8
+ _sfc_main as default
15
9
  };