@nutui/nutui 4.0.0-beta.1 → 4.0.0-beta.11

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 (367) hide show
  1. package/README.md +1 -1
  2. package/dist/nutui.es.js +227 -103
  3. package/dist/nutui.umd.cjs +7 -20061
  4. package/dist/packages/_es/ActionSheet.js +3 -8
  5. package/dist/packages/_es/Address.js +4 -9
  6. package/dist/packages/_es/AddressList.js +6 -8
  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 +2 -7
  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 +5 -10
  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 +3 -8
  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 +2 -7
  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 +2 -7
  52. package/dist/packages/_es/InputNumber.js +3 -8
  53. package/dist/packages/_es/Invoice.js +6 -11
  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 +8 -13
  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 +5 -10
  70. package/dist/packages/_es/Radio.js +3 -8
  71. package/dist/packages/_es/RadioGroup.js +2 -7
  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 +10 -9
  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 +3 -8
  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 +12 -32
  93. package/dist/packages/_es/Table.js +2 -7
  94. package/dist/packages/_es/Tabs.js +18 -23
  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 +9 -16
  101. package/dist/packages/_es/Tour.js +5 -10
  102. package/dist/packages/_es/TrendArrow.js +2 -7
  103. package/dist/packages/_es/Uploader.js +3 -8
  104. package/dist/packages/_es/Video.js +2 -7
  105. package/dist/packages/_es/Watermark.js +2 -7
  106. package/dist/packages/_es/{_plugin-vue_export-helper-73a3d722.js → _plugin-vue_export-helper-cc2b3d55.js} +0 -5
  107. package/dist/packages/_es/{common-d5c1f4b1.js → common-ceb98554.js} +2 -7
  108. package/dist/packages/_es/{component-48526d37.js → component-81a4c1d0.js} +0 -5
  109. package/dist/packages/_es/{index-b05fa625.js → index-1006915b.js} +13 -8
  110. package/dist/packages/_es/{index-281c4c2c.js → index-1bf0d8ef.js} +5 -10
  111. package/dist/packages/_es/{index-c70386a5.js → index-29892cda.js} +0 -5
  112. package/dist/packages/_es/{index-95a5249b.js → index-43c34ac6.js} +0 -5
  113. package/dist/packages/_es/{index-fe4c328e.js → index-54d03fc1.js} +0 -5
  114. package/dist/packages/_es/{index-efc0d9e4.js → index-79c5dc33.js} +0 -5
  115. package/dist/packages/_es/{index-c3e2c58b.js → index-7a7385e4.js} +0 -5
  116. package/dist/packages/_es/{index.vue_vue_type_script_lang-959515e8.js → index.vue_vue_type_script_lang-1291fceb.js} +1 -6
  117. package/dist/packages/_es/{index.vue_vue_type_script_lang-5d693346.js → index.vue_vue_type_script_lang-cc5c4086.js} +2 -7
  118. package/dist/packages/_es/{index.vue_vue_type_script_lang-84b793e8.js → index.vue_vue_type_script_lang-d4c88f85.js} +2 -7
  119. package/dist/packages/_es/{interceptor-da627865.js → interceptor-956b24fc.js} +1 -6
  120. package/dist/packages/_es/{mountComponent-75cf7cfe.js → mountComponent-1ece4110.js} +1 -6
  121. package/dist/packages/_es/pxCheck-c6b9f6b7.js +6 -0
  122. package/dist/packages/_es/{raf-e90b8c4d.js → raf-729dad54.js} +0 -5
  123. package/dist/packages/_es/{renderIcon-d470170e.js → renderIcon-3d0fd47c.js} +0 -5
  124. package/dist/packages/actionsheet/index.mjs +3 -1
  125. package/dist/packages/actionsheet/style.cjs +2 -2
  126. package/dist/packages/actionsheet/style.mjs +2 -2
  127. package/dist/packages/address/index.mjs +3 -1
  128. package/dist/packages/address/style.cjs +3 -3
  129. package/dist/packages/address/style.mjs +3 -3
  130. package/dist/packages/addresslist/index.mjs +3 -1
  131. package/dist/packages/addresslist/style.cjs +2 -1
  132. package/dist/packages/addresslist/style.mjs +2 -1
  133. package/dist/packages/animate/index.mjs +3 -1
  134. package/dist/packages/audio/index.mjs +3 -1
  135. package/dist/packages/audio/index.scss +1 -1
  136. package/dist/packages/audio/style.cjs +1 -1
  137. package/dist/packages/audio/style.mjs +1 -1
  138. package/dist/packages/audiooperate/index.mjs +3 -1
  139. package/dist/packages/audiooperate/style.cjs +1 -1
  140. package/dist/packages/audiooperate/style.mjs +1 -1
  141. package/dist/packages/avatar/index.mjs +3 -1
  142. package/dist/packages/avatargroup/index.mjs +3 -1
  143. package/dist/packages/backtop/index.mjs +3 -1
  144. package/dist/packages/badge/index.mjs +3 -1
  145. package/dist/packages/barrage/index.mjs +3 -1
  146. package/dist/packages/barrage/index.scss +17 -1
  147. package/dist/packages/button/index.mjs +3 -1
  148. package/dist/packages/calendar/index.mjs +3 -1
  149. package/dist/packages/calendar/index.scss +12 -3
  150. package/dist/packages/calendar/style.cjs +3 -3
  151. package/dist/packages/calendar/style.mjs +3 -3
  152. package/dist/packages/calendaritem/index.mjs +3 -1
  153. package/dist/packages/card/index.mjs +3 -1
  154. package/dist/packages/card/style.cjs +2 -2
  155. package/dist/packages/card/style.mjs +2 -2
  156. package/dist/packages/cascader/index.mjs +3 -1
  157. package/dist/packages/cascader/style.cjs +5 -5
  158. package/dist/packages/cascader/style.mjs +5 -5
  159. package/dist/packages/category/index.mjs +3 -1
  160. package/dist/packages/categorypane/index.mjs +3 -1
  161. package/dist/packages/cell/index.mjs +3 -1
  162. package/dist/packages/cell/index.scss +3 -1
  163. package/dist/packages/cellgroup/index.mjs +3 -1
  164. package/dist/packages/checkbox/index.mjs +3 -1
  165. package/dist/packages/checkboxgroup/index.mjs +3 -1
  166. package/dist/packages/circleprogress/index.mjs +3 -1
  167. package/dist/packages/col/index.mjs +3 -1
  168. package/dist/packages/collapse/index.mjs +3 -1
  169. package/dist/packages/collapseitem/index.mjs +3 -1
  170. package/dist/packages/comment/index.mjs +3 -1
  171. package/dist/packages/comment/style.cjs +1 -1
  172. package/dist/packages/comment/style.mjs +1 -1
  173. package/dist/packages/configprovider/index.mjs +3 -1
  174. package/dist/packages/countdown/index.mjs +3 -1
  175. package/dist/packages/countup/index.mjs +3 -1
  176. package/dist/packages/datepicker/index.mjs +3 -1
  177. package/dist/packages/datepicker/style.cjs +3 -3
  178. package/dist/packages/datepicker/style.mjs +3 -3
  179. package/dist/packages/dialog/index.mjs +5 -2
  180. package/dist/packages/dialog/style.cjs +3 -3
  181. package/dist/packages/dialog/style.mjs +3 -3
  182. package/dist/packages/divider/index.mjs +3 -1
  183. package/dist/packages/drag/index.mjs +3 -1
  184. package/dist/packages/ecard/index.mjs +3 -1
  185. package/dist/packages/ecard/style.cjs +1 -1
  186. package/dist/packages/ecard/style.mjs +1 -1
  187. package/dist/packages/elevator/index.mjs +3 -1
  188. package/dist/packages/ellipsis/index.mjs +3 -1
  189. package/dist/packages/empty/index.mjs +3 -1
  190. package/dist/packages/fixednav/index.mjs +3 -1
  191. package/dist/packages/fixednav/style.cjs +1 -1
  192. package/dist/packages/fixednav/style.mjs +1 -1
  193. package/dist/packages/form/index.mjs +3 -1
  194. package/dist/packages/form/style.cjs +1 -1
  195. package/dist/packages/form/style.mjs +1 -1
  196. package/dist/packages/formitem/index.mjs +3 -1
  197. package/dist/packages/formitem/style.cjs +1 -1
  198. package/dist/packages/formitem/style.mjs +1 -1
  199. package/dist/packages/grid/index.mjs +3 -1
  200. package/dist/packages/griditem/index.mjs +3 -1
  201. package/dist/packages/image/index.mjs +3 -1
  202. package/dist/packages/imagepreview/index.mjs +5 -2
  203. package/dist/packages/imagepreview/style.cjs +5 -5
  204. package/dist/packages/imagepreview/style.mjs +5 -5
  205. package/dist/packages/indicator/index.mjs +3 -1
  206. package/dist/packages/infiniteloading/index.mjs +3 -1
  207. package/dist/packages/input/index.mjs +3 -1
  208. package/dist/packages/inputnumber/index.mjs +3 -1
  209. package/dist/packages/invoice/index.mjs +3 -1
  210. package/dist/packages/invoice/style.cjs +7 -7
  211. package/dist/packages/invoice/style.mjs +7 -7
  212. package/dist/packages/layout/index.mjs +3 -1
  213. package/dist/packages/list/index.mjs +3 -1
  214. package/dist/packages/locale/lang/baseLang-0bdc6353.js +5 -0
  215. package/dist/packages/locale/lang/en-US.js +1 -6
  216. package/dist/packages/locale/lang/id-ID.js +1 -6
  217. package/dist/packages/locale/lang/index.js +1 -6
  218. package/dist/packages/locale/lang/zh-CN.js +1 -6
  219. package/dist/packages/locale/lang/zh-TW.js +1 -6
  220. package/dist/packages/menu/index.mjs +3 -1
  221. package/dist/packages/menuitem/index.mjs +3 -1
  222. package/dist/packages/menuitem/style.cjs +2 -2
  223. package/dist/packages/menuitem/style.mjs +2 -2
  224. package/dist/packages/navbar/index.mjs +3 -1
  225. package/dist/packages/noticebar/index.mjs +3 -1
  226. package/dist/packages/noticebar/index.scss +2 -1
  227. package/dist/packages/notify/index.mjs +5 -2
  228. package/dist/packages/notify/style.cjs +2 -2
  229. package/dist/packages/notify/style.mjs +2 -2
  230. package/dist/packages/numberkeyboard/index.mjs +3 -1
  231. package/dist/packages/numberkeyboard/index.scss +3 -0
  232. package/dist/packages/numberkeyboard/style.cjs +2 -2
  233. package/dist/packages/numberkeyboard/style.mjs +2 -2
  234. package/dist/packages/overlay/index.mjs +3 -1
  235. package/dist/packages/pagination/index.mjs +3 -1
  236. package/dist/packages/picker/index.mjs +3 -1
  237. package/dist/packages/picker/style.cjs +2 -2
  238. package/dist/packages/picker/style.mjs +2 -2
  239. package/dist/packages/popover/index.mjs +3 -1
  240. package/dist/packages/popover/index.scss +1 -1
  241. package/dist/packages/popover/style.cjs +2 -2
  242. package/dist/packages/popover/style.mjs +2 -2
  243. package/dist/packages/popup/index.mjs +3 -1
  244. package/dist/packages/popup/style.cjs +1 -1
  245. package/dist/packages/popup/style.mjs +1 -1
  246. package/dist/packages/price/index.mjs +3 -1
  247. package/dist/packages/progress/index.mjs +3 -1
  248. package/dist/packages/pullrefresh/index.mjs +3 -1
  249. package/dist/packages/pullrefresh/index.scss +3 -2
  250. package/dist/packages/radio/index.mjs +3 -1
  251. package/dist/packages/radio/index.scss +14 -1
  252. package/dist/packages/radiogroup/index.mjs +3 -1
  253. package/dist/packages/range/index.mjs +3 -1
  254. package/dist/packages/range/index.scss +6 -3
  255. package/dist/packages/rate/index.mjs +3 -1
  256. package/dist/packages/row/index.mjs +3 -1
  257. package/dist/packages/searchbar/index.mjs +3 -1
  258. package/dist/packages/shortpassword/index.mjs +3 -1
  259. package/dist/packages/shortpassword/style.cjs +2 -2
  260. package/dist/packages/shortpassword/style.mjs +2 -2
  261. package/dist/packages/sidenavbar/index.mjs +3 -1
  262. package/dist/packages/sidenavbaritem/index.mjs +3 -1
  263. package/dist/packages/signature/index.mjs +3 -1
  264. package/dist/packages/signature/style.cjs +1 -1
  265. package/dist/packages/signature/style.mjs +1 -1
  266. package/dist/packages/skeleton/index.mjs +3 -1
  267. package/dist/packages/skeleton/style.cjs +1 -1
  268. package/dist/packages/skeleton/style.mjs +1 -1
  269. package/dist/packages/sku/index.mjs +3 -1
  270. package/dist/packages/sku/index.scss +16 -2
  271. package/dist/packages/sku/style.cjs +4 -4
  272. package/dist/packages/sku/style.mjs +4 -4
  273. package/dist/packages/step/index.mjs +3 -1
  274. package/dist/packages/steps/index.mjs +3 -1
  275. package/dist/packages/sticky/index.mjs +3 -1
  276. package/dist/packages/sticky/index.scss +1 -0
  277. package/dist/packages/subsidenavbar/index.mjs +3 -1
  278. package/dist/packages/swipe/index.mjs +3 -1
  279. package/dist/packages/swiper/index.mjs +3 -1
  280. package/dist/packages/swiperitem/index.mjs +3 -1
  281. package/dist/packages/switch/index.mjs +3 -1
  282. package/dist/packages/tabbar/index.mjs +3 -1
  283. package/dist/packages/tabbaritem/index.mjs +3 -1
  284. package/dist/packages/tabbaritem/style.cjs +1 -1
  285. package/dist/packages/tabbaritem/style.mjs +1 -1
  286. package/dist/packages/table/index.mjs +3 -1
  287. package/dist/packages/tabpane/index.mjs +3 -1
  288. package/dist/packages/tabs/index.mjs +3 -1
  289. package/dist/packages/tabs/style.cjs +1 -1
  290. package/dist/packages/tabs/style.mjs +1 -1
  291. package/dist/packages/tag/index.mjs +3 -1
  292. package/dist/packages/textarea/index.mjs +3 -1
  293. package/dist/packages/timedetail/index.mjs +3 -1
  294. package/dist/packages/timedetail/index.scss +14 -1
  295. package/dist/packages/timepannel/index.mjs +3 -1
  296. package/dist/packages/timeselect/index.mjs +3 -1
  297. package/dist/packages/timeselect/style.cjs +2 -2
  298. package/dist/packages/timeselect/style.mjs +2 -2
  299. package/dist/packages/toast/index.mjs +5 -2
  300. package/dist/packages/tour/index.mjs +3 -1
  301. package/dist/packages/tour/style.cjs +3 -3
  302. package/dist/packages/tour/style.mjs +3 -3
  303. package/dist/packages/trendarrow/index.mjs +3 -1
  304. package/dist/packages/uploader/index.mjs +3 -1
  305. package/dist/packages/uploader/style.cjs +2 -2
  306. package/dist/packages/uploader/style.mjs +2 -2
  307. package/dist/packages/video/index.mjs +3 -1
  308. package/dist/packages/watermark/index.mjs +3 -1
  309. package/dist/smartips/web-types.json +361 -370
  310. package/dist/style.css +1 -19
  311. package/dist/style.js +4 -0
  312. package/dist/styles/theme-deafult.scss +14 -16
  313. package/dist/styles/theme-jdt.scss +1 -7
  314. package/dist/styles/themes/default.scss +52 -52
  315. package/dist/styles/themes/jdb.scss +51 -52
  316. package/dist/styles/themes/jddkh.scss +51 -52
  317. package/dist/styles/themes/jdt.scss +52 -52
  318. package/dist/styles/variables.scss +8 -11
  319. package/dist/types/__VUE/actionsheet/index.vue.d.ts +18 -0
  320. package/dist/types/__VUE/address/index.vue.d.ts +18 -0
  321. package/dist/types/__VUE/barrage/index.vue.d.ts +0 -1
  322. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +2 -2
  323. package/dist/types/__VUE/cascader/index.vue.d.ts +18 -0
  324. package/dist/types/__VUE/cascader/types.d.ts +1 -1
  325. package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
  326. package/dist/types/__VUE/collapse/index.vue.d.ts +5 -5
  327. package/dist/types/__VUE/configprovider/index.vue.d.ts +3 -2
  328. package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
  329. package/dist/types/__VUE/dialog/index.d.ts +9 -9
  330. package/dist/types/__VUE/dialog/index.vue.d.ts +18 -0
  331. package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
  332. package/dist/types/__VUE/ellipsis/index.vue.d.ts +1 -1
  333. package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
  334. package/dist/types/__VUE/icon/index.vue.d.ts +1 -0
  335. package/dist/types/__VUE/imagepreview/index.d.ts +12 -12
  336. package/dist/types/__VUE/imagepreview/index.vue.d.ts +0 -9
  337. package/dist/types/__VUE/input/index.vue.d.ts +2 -2
  338. package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
  339. package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -12
  340. package/dist/types/__VUE/notify/index.d.ts +3 -3
  341. package/dist/types/__VUE/popover/index.vue.d.ts +1 -1
  342. package/dist/types/__VUE/popup/common.d.ts +8 -0
  343. package/dist/types/__VUE/popup/index.vue.d.ts +18 -0
  344. package/dist/types/__VUE/popup/props.d.ts +8 -0
  345. package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
  346. package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
  347. package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -1
  348. package/dist/types/__VUE/sku/index.vue.d.ts +18 -0
  349. package/dist/types/__VUE/steps/index.vue.d.ts +1 -1
  350. package/dist/types/__VUE/swiper/index.vue.d.ts +9 -8
  351. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +0 -1
  352. package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
  353. package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
  354. package/dist/types/__VUE/toast/index.d.ts +3 -3
  355. package/dist/types/__VUE/tour/index.vue.d.ts +1 -1
  356. package/dist/types/index.d.ts +10 -7
  357. package/package.json +11 -131
  358. package/dist/packages/_es/Icon.js +0 -12
  359. package/dist/packages/_es/index.vue_vue_type_script_lang-6a7b6f54.js +0 -12
  360. package/dist/packages/_es/pxCheck-524650ac.js +0 -11
  361. package/dist/packages/_es/style.css +0 -16
  362. package/dist/packages/icon/index.mjs +0 -2
  363. package/dist/packages/locale/lang/baseLang-d9df8b94.js +0 -10
  364. package/dist/smartips/attributes.json +0 -2810
  365. package/dist/smartips/tags.json +0 -1047
  366. package/dist/types/__VUE/configprovider/common.d.ts +0 -20
  367. package/dist/types/__VUE/swiper/use-touch.d.ts +0 -16
@@ -4,18 +4,13 @@ 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.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
9
- * (c) 2022 @jdf2e.
10
- * Released under the MIT License.
11
- */
12
- import { c as createComponent, T as TypeOfFun } from "./component-48526d37.js";
7
+ import { c as createComponent, T as TypeOfFun } from "./component-81a4c1d0.js";
13
8
  import { ref, provide, computed, watch, onMounted, onActivated, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, createElementVNode, normalizeStyle, renderSlot, Fragment, renderList, createCommentVNode, createVNode, toDisplayString } from "vue";
14
- import { p as pxCheck } from "./pxCheck-524650ac.js";
15
- import { u as useRect } from "./index-c70386a5.js";
16
- import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_lang-5d693346.js";
9
+ import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
10
+ import { u as useRect } from "./index-29892cda.js";
11
+ import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_lang-cc5c4086.js";
17
12
  import { JoySmile } from "@nutui/icons-vue";
18
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
13
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
19
14
  import "../locale/lang";
20
15
  class Title {
21
16
  constructor() {
@@ -90,7 +85,7 @@ const _sfc_main = create({
90
85
  provide("autoHeight", { autoHeight: computed(() => props.autoHeight) });
91
86
  const titles = ref([]);
92
87
  const renderTitles = (vnodes) => {
93
- vnodes.forEach((vnode, index2) => {
88
+ vnodes.forEach((vnode, index) => {
94
89
  var _a, _b, _c, _d, _e, _f, _g, _h, _i;
95
90
  let type = vnode.type;
96
91
  type = type.name || type;
@@ -102,7 +97,7 @@ const _sfc_main = create({
102
97
  let camelPaneKeyType = TypeOfFun((_f = vnode.props) == null ? void 0 : _f["paneKey"]);
103
98
  let camelPaneIndex = camelPaneKeyType == "number" || camelPaneKeyType == "string" ? String((_g = vnode.props) == null ? void 0 : _g["paneKey"]) : null;
104
99
  title.title = (_h = vnode.props) == null ? void 0 : _h.title;
105
- title.paneKey = paneIndex || camelPaneIndex || String(index2);
100
+ title.paneKey = paneIndex || camelPaneIndex || String(index);
106
101
  title.disabled = (_i = vnode.props) == null ? void 0 : _i.disabled;
107
102
  }
108
103
  titles.value.push(title);
@@ -116,13 +111,13 @@ const _sfc_main = create({
116
111
  };
117
112
  const currentIndex = ref(props.modelValue || 0);
118
113
  const findTabsIndex = (value) => {
119
- let index2 = titles.value.findIndex((item) => item.paneKey == value);
114
+ let index = titles.value.findIndex((item) => item.paneKey == value);
120
115
  if (titles.value.length == 0) {
121
116
  console.error("[NutUI] <Tabs> 当前未找到 TabPane 组件元素 , 请检查 .");
122
- } else if (index2 == -1) {
117
+ } else if (index == -1) {
123
118
  console.error("[NutUI] <Tabs> 请检查 v-model 值是否为 paneKey ,如 paneKey 未设置,请采用下标控制 .");
124
119
  } else {
125
- currentIndex.value = index2;
120
+ currentIndex.value = index;
126
121
  }
127
122
  };
128
123
  const init = (vnodes = ((_a) => (_a = slots.default) == null ? void 0 : _a.call(slots))()) => {
@@ -188,12 +183,12 @@ const _sfc_main = create({
188
183
  };
189
184
  });
190
185
  const methods = {
191
- tabChange: (item, index2) => {
186
+ tabChange: (item, index) => {
192
187
  emit("click", item);
193
188
  if (item.disabled) {
194
189
  return;
195
190
  }
196
- currentIndex.value = index2;
191
+ currentIndex.value = index;
197
192
  emit("update:modelValue", item.paneKey);
198
193
  emit("change", item);
199
194
  }
@@ -231,11 +226,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
231
226
  class: normalizeClass(["nut-tabs__titles", { [_ctx.type]: _ctx.type, scrollable: _ctx.titleScroll, [_ctx.size]: _ctx.size }]),
232
227
  style: normalizeStyle(_ctx.tabsNavStyle)
233
228
  }, [
234
- _ctx.$slots.titles ? renderSlot(_ctx.$slots, "titles", { key: 0 }) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.titles, (item, index2) => {
229
+ _ctx.$slots.titles ? renderSlot(_ctx.$slots, "titles", { key: 0 }) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.titles, (item, index) => {
235
230
  return openBlock(), createElementBlock("view", {
236
231
  class: normalizeClass(["nut-tabs__titles-item", { active: item.paneKey == _ctx.modelValue, disabled: item.disabled }]),
237
232
  style: normalizeStyle(_ctx.titleStyle),
238
- onClick: ($event) => _ctx.tabChange(item, index2),
233
+ onClick: ($event) => _ctx.tabChange(item, index),
239
234
  key: item.paneKey
240
235
  }, [
241
236
  _ctx.type == "line" ? (openBlock(), createElementBlock("view", {
@@ -263,11 +258,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
263
258
  class: normalizeClass(["nut-tabs__titles", { [_ctx.type]: _ctx.type, scrollable: _ctx.titleScroll, [_ctx.size]: _ctx.size }]),
264
259
  style: normalizeStyle(_ctx.tabsNavStyle)
265
260
  }, [
266
- _ctx.$slots.titles ? renderSlot(_ctx.$slots, "titles", { key: 0 }) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.titles, (item, index2) => {
261
+ _ctx.$slots.titles ? renderSlot(_ctx.$slots, "titles", { key: 0 }) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.titles, (item, index) => {
267
262
  return openBlock(), createElementBlock("view", {
268
263
  class: normalizeClass(["nut-tabs__titles-item", { active: item.paneKey == _ctx.modelValue, disabled: item.disabled }]),
269
264
  style: normalizeStyle(_ctx.titleStyle),
270
- onClick: ($event) => _ctx.tabChange(item, index2),
265
+ onClick: ($event) => _ctx.tabChange(item, index),
271
266
  key: item.paneKey
272
267
  }, [
273
268
  _ctx.type == "line" ? (openBlock(), createElementBlock("view", {
@@ -296,8 +291,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
296
291
  ], 4)
297
292
  ], 2);
298
293
  }
299
- const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
294
+ const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
300
295
  export {
301
296
  Title,
302
- index as default
297
+ Tabs as default
303
298
  };
@@ -1,12 +1,7 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createBlock, createCommentVNode } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
8
3
  import { Close } from "@nutui/icons-vue";
9
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
4
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
10
5
  import "../locale/lang";
11
6
  const { componentName, create } = createComponent("tag");
12
7
  const _sfc_main = create({
@@ -1,11 +1,6 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref, computed, onMounted, nextTick, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, toDisplayString, createCommentVNode } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
8
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.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, translate } = createComponent("textarea");
11
6
  const _sfc_main = create({
@@ -1,11 +1,6 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, toDisplayString } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
8
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.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("time-detail");
11
6
  const _sfc_main = create({
@@ -1,11 +1,6 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, toDisplayString } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
8
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.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("time-pannel");
11
6
  const _sfc_main = create({
@@ -1,12 +1,7 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { computed, provide, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode, normalizeClass, createElementBlock, toDisplayString, renderSlot } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
8
- import { P as Popup } from "./index-b05fa625.js";
9
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.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,14 +1,9 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { reactive, onMounted, watch, computed, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, resolveDynamicComponent, createCommentVNode, toDisplayString, vShow, createVNode, render } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
8
- import { r as renderIcon } from "./renderIcon-d470170e.js";
9
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
4
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
10
5
  import "../locale/lang";
11
- import { C as CreateComponent } from "./mountComponent-75cf7cfe.js";
6
+ import { C as CreateComponent } from "./mountComponent-1ece4110.js";
12
7
  import { Success, Failure, Tips, Loading } from "@nutui/icons-vue";
13
8
  const { create } = createComponent("toast");
14
9
  const _sfc_main = create({
@@ -250,7 +245,7 @@ const updateToast = (opts) => {
250
245
  }
251
246
  const instance = createVNode(Toast, opts);
252
247
  render(instance, container);
253
- return ToastFunction;
248
+ return showToast;
254
249
  }
255
250
  };
256
251
  const mountToast = (opts) => {
@@ -271,7 +266,7 @@ const mountToast = (opts) => {
271
266
  CreateComponent(opts, {
272
267
  wrapper: Toast
273
268
  });
274
- return ToastFunction;
269
+ return showToast;
275
270
  };
276
271
  const errorMsg = (msg) => {
277
272
  if (!msg) {
@@ -279,7 +274,7 @@ const errorMsg = (msg) => {
279
274
  return;
280
275
  }
281
276
  };
282
- const ToastFunction = {
277
+ const showToast = {
283
278
  text(msg, opts = {}) {
284
279
  errorMsg(msg);
285
280
  return mountToast({ ...opts, type: "text", msg });
@@ -309,11 +304,9 @@ const ToastFunction = {
309
304
  },
310
305
  install(app) {
311
306
  app.use(Toast);
312
- app.config.globalProperties.$toast = ToastFunction;
313
307
  }
314
308
  };
315
309
  export {
316
- Toast,
317
- ToastFunction,
318
- ToastFunction as default
310
+ Toast as default,
311
+ showToast
319
312
  };
@@ -1,17 +1,12 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { reactive, ref, computed, onMounted, watch, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, vShow, Fragment, renderList, normalizeStyle, createCommentVNode, createVNode, withCtx, renderSlot, toDisplayString } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
8
- import { u as useRect } from "./index-c70386a5.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { u as useRect } from "./index-29892cda.js";
9
4
  import { Close } from "@nutui/icons-vue";
10
5
  import Popover from "./Popover.js";
11
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
6
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
12
7
  import "../locale/lang";
13
- import "./renderIcon-d470170e.js";
14
- import "./index-b05fa625.js";
8
+ import "./renderIcon-3d0fd47c.js";
9
+ import "./index-1006915b.js";
15
10
  import "./Overlay.js";
16
11
  const { create } = createComponent("tour");
17
12
  const _sfc_main = create({
@@ -1,12 +1,7 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
7
- import { m as myFixed, c as createComponent } from "./component-48526d37.js";
2
+ import { m as myFixed, c as createComponent } from "./component-81a4c1d0.js";
8
3
  import { TriangleUp, TriangleDown } from "@nutui/icons-vue";
9
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
4
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
10
5
  import "../locale/lang";
11
6
  const { componentName, create } = createComponent("trend-arrow");
12
7
  const _sfc_main = create({
@@ -4,17 +4,12 @@ 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.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
9
- * (c) 2022 @jdf2e.
10
- * Released under the MIT License.
11
- */
12
7
  import { reactive, computed, h, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, createCommentVNode, Fragment, renderList, createElementVNode, toDisplayString, createVNode, createTextVNode } from "vue";
13
- import { c as createComponent } from "./component-48526d37.js";
14
- import { f as funInterceptor } from "./interceptor-da627865.js";
8
+ import { c as createComponent } from "./component-81a4c1d0.js";
9
+ import { f as funInterceptor } from "./interceptor-956b24fc.js";
15
10
  import Progress from "./Progress.js";
16
11
  import { Photograph, Failure, Loading, Del, Link } from "@nutui/icons-vue";
17
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
12
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
18
13
  import "../locale/lang";
19
14
  class UploadOptions {
20
15
  constructor() {
@@ -1,11 +1,6 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { reactive, ref, computed, watch, nextTick, onMounted, toRefs, openBlock, createElementBlock, createElementVNode, createCommentVNode, withDirectives, vShow, normalizeClass, toDisplayString, normalizeStyle, withModifiers } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
8
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.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
  function throttle(fn, delay) {
11
6
  let timer = null;
@@ -1,11 +1,6 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { reactive, watch, computed, toRefs, openBlock, createElementBlock, normalizeClass, normalizeStyle } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
8
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.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("watermark");
11
6
  const _sfc_main = create({
@@ -1,8 +1,3 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  const _export_sfc = (sfc, props) => {
7
2
  const target = sfc.__vccOpts || sfc;
8
3
  for (const [key, val] of props) {
@@ -1,11 +1,6 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { shallowReactive, getCurrentInstance, provide, markRaw, isVNode, computed, h } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
8
- import { p as pxCheck } from "./pxCheck-524650ac.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
9
4
  function flattenVNodes(children, childName) {
10
5
  const result = [];
11
6
  const traverse = (children2) => {
@@ -1,8 +1,3 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { defineComponent } from "vue";
7
2
  import locale from "../locale/lang";
8
3
  const TypeOfFun = (value) => {
@@ -1,13 +1,8 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
- import { c as createComponent } from "./component-48526d37.js";
1
+ import { c as createComponent } from "./component-81a4c1d0.js";
7
2
  import { reactive, computed, watch, watchEffect, toRefs, resolveComponent, openBlock, createBlock, Teleport, mergeProps, createCommentVNode, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createElementBlock, vShow } from "vue";
8
3
  import Overlay from "./Overlay.js";
9
4
  import { Close } from "@nutui/icons-vue";
10
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
5
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
11
6
  const popupProps = {
12
7
  visible: {
13
8
  type: Boolean,
@@ -80,6 +75,14 @@ const popupProps = {
80
75
  safeAreaInsetBottom: {
81
76
  type: Boolean,
82
77
  default: false
78
+ },
79
+ overlayClass: {
80
+ type: String,
81
+ default: ""
82
+ },
83
+ overlayStyle: {
84
+ type: Object,
85
+ default: {}
83
86
  }
84
87
  };
85
88
  const initIndex = 2e3;
@@ -201,8 +204,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
201
204
  "z-index": _ctx.zIndex,
202
205
  "lock-scroll": _ctx.lockScroll,
203
206
  duration: _ctx.duration,
207
+ "overlay-class": _ctx.overlayClass,
208
+ "overlay-style": _ctx.overlayStyle,
204
209
  onClick: _ctx.onClickOverlay
205
- }, _ctx.$attrs), null, 16, ["visible", "close-on-click-overlay", "z-index", "lock-scroll", "duration", "onClick"])) : createCommentVNode("", true),
210
+ }, _ctx.$attrs), null, 16, ["visible", "close-on-click-overlay", "z-index", "lock-scroll", "duration", "overlay-class", "overlay-style", "onClick"])) : createCommentVNode("", true),
206
211
  createVNode(Transition, {
207
212
  name: _ctx.transitionName,
208
213
  onAfterEnter: _ctx.onOpened,
@@ -1,13 +1,8 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref, computed, reactive, watch, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, createCommentVNode, renderSlot, Fragment, renderList, normalizeStyle, createTextVNode } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
8
- import { r as requestAniFrame } from "./raf-e90b8c4d.js";
9
- import { u as useExpose } from "./index-efc0d9e4.js";
10
- import { _ as _export_sfc } from "./_plugin-vue_export-helper-73a3d722.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { r as requestAniFrame } from "./raf-729dad54.js";
4
+ import { u as useExpose } from "./index-79c5dc33.js";
5
+ import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
11
6
  const Utils = {
12
7
  isLeapYear: function(y) {
13
8
  return y % 4 == 0 && y % 100 != 0 || y % 400 == 0;
@@ -256,7 +251,7 @@ const _sfc_main = create({
256
251
  if (getClass(day, month) != `${state.dayPrefix}--disabled`) {
257
252
  const { type } = props;
258
253
  let days = [...month.curData];
259
- days[2] = typeof day.day == "number" ? Utils.getNumTwoBit(day.day) : day.day;
254
+ days[2] = Utils.getNumTwoBit(Number(day.day));
260
255
  days[3] = `${days[0]}-${days[1]}-${days[2]}`;
261
256
  days[4] = Utils.getWhatDay(+days[0], +days[1], +days[2]);
262
257
  if (type == "multiple") {
@@ -1,8 +1,3 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { unref } from "vue";
7
2
  function isWindow(val) {
8
3
  return val === window;
@@ -1,8 +1,3 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref, onMounted } from "vue";
7
2
  const overflowScrollReg = /scroll|auto|overlay/i;
8
3
  const defaultRoot = window;
@@ -1,8 +1,3 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { getCurrentInstance } from "vue";
7
2
  function useRouter() {
8
3
  const proxy = getCurrentInstance().proxy;
@@ -1,8 +1,3 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { getCurrentInstance } from "vue";
7
2
  function useExpose(apis) {
8
3
  const instance = getCurrentInstance();
@@ -1,8 +1,3 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref } from "vue";
7
2
  const MIN_DISTANCE = 10;
8
3
  function getDirection(x, y) {
@@ -1,10 +1,5 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { provide, readonly, computed, watch, h } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
8
3
  const { componentName, create } = createComponent("radio-group");
9
4
  const _sfc_main = create({
10
5
  props: {
@@ -1,11 +1,6 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { ref, reactive, computed, watch, onMounted, onUnmounted, h, unref } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
8
- import { u as useRect } from "./index-c70386a5.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { u as useRect } from "./index-29892cda.js";
9
4
  const { componentName, create } = createComponent("sticky");
10
5
  const _sfc_main = create({
11
6
  props: {
@@ -1,12 +1,7 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { inject, computed, h } from "vue";
7
- import { c as createComponent } from "./component-48526d37.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
8
3
  import { CheckNormal, CheckChecked } from "@nutui/icons-vue";
9
- import { p as pxCheck } from "./pxCheck-524650ac.js";
4
+ import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
10
5
  const { componentName, create } = createComponent("radio");
11
6
  const _sfc_main = create({
12
7
  components: {
@@ -1,9 +1,4 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
- import { f as isPromise } from "./component-48526d37.js";
1
+ import { f as isPromise } from "./component-81a4c1d0.js";
7
2
  const funInterceptor = (interceptor, {
8
3
  args = [],
9
4
  done,
@@ -1,10 +1,5 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { createApp } from "vue";
7
- import { j as isString, k as isFunction } from "./component-48526d37.js";
2
+ import { j as isString, k as isFunction } from "./component-81a4c1d0.js";
8
3
  const CreateComponent = (options, component) => {
9
4
  let elWarp = document.body;
10
5
  const teleport = options.teleport || "body";
@@ -0,0 +1,6 @@
1
+ const pxCheck = (value) => {
2
+ return isNaN(Number(value)) ? String(value) : `${value}px`;
3
+ };
4
+ export {
5
+ pxCheck as p
6
+ };
@@ -1,8 +1,3 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  const _window = window;
7
2
  const inBrowser = typeof window !== "undefined";
8
3
  function requestAniFrame() {
@@ -1,8 +1,3 @@
1
- /*!
2
- * @nutui/nutui v4.0.0-beta.1 Mon Dec 26 2022 15:40:58 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
1
  import { h } from "vue";
7
2
  const renderIcon = (icon, props) => {
8
3
  if (icon)
@@ -1,2 +1,4 @@
1
- import { ActionSheet } from '../_es/ActionSheet.js';
1
+ import _ActionSheet from '../_es/ActionSheet.js';
2
+ const treeshaking = (t) => t;
3
+ const ActionSheet = treeshaking(_ActionSheet);
2
4
  export { ActionSheet };
@@ -1,3 +1,3 @@
1
- require('./index.scss');
2
- require('../popup/index.scss');
3
1
  require('../overlay/index.scss');
2
+ require('../popup/index.scss');
3
+ require('./index.scss');
@@ -1,3 +1,3 @@
1
- import './index.scss';
2
- import '../popup/index.scss';
3
1
  import '../overlay/index.scss';
2
+ import '../popup/index.scss';
3
+ import './index.scss';
@@ -1,2 +1,4 @@
1
- import { Address } from '../_es/Address.js';
1
+ import _Address from '../_es/Address.js';
2
+ const treeshaking = (t) => t;
3
+ const Address = treeshaking(_Address);
2
4
  export { Address };
@@ -1,4 +1,4 @@
1
- require('./index.scss');
2
- require('../popup/index.scss');
3
- require('../overlay/index.scss');
4
1
  require('../elevator/index.scss');
2
+ require('../overlay/index.scss');
3
+ require('../popup/index.scss');
4
+ require('./index.scss');