@nutui/nutui 3.2.5 → 3.2.6-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/nutui.es.js +4214 -4444
  3. package/dist/nutui.umd.js +4213 -4543
  4. package/dist/packages/_es/ActionSheet.js +18 -19
  5. package/dist/packages/_es/Address.js +94 -85
  6. package/dist/packages/_es/AddressList.js +25 -12
  7. package/dist/packages/_es/Animate.js +3 -3
  8. package/dist/packages/_es/Audio.js +9 -2
  9. package/dist/packages/_es/AudioOperate.js +5 -1
  10. package/dist/packages/_es/Avatar.js +10 -10
  11. package/dist/packages/_es/AvatarGroup.js +5 -5
  12. package/dist/packages/_es/BackTop.js +55 -108
  13. package/dist/packages/_es/Badge.js +6 -4
  14. package/dist/packages/_es/Barrage.js +79 -103
  15. package/dist/packages/_es/Button.js +5 -3
  16. package/dist/packages/_es/Calendar.js +36 -23
  17. package/dist/packages/_es/CalendarItem.js +4 -3
  18. package/dist/packages/_es/Card.js +15 -5
  19. package/dist/packages/_es/Cascader.js +12 -11
  20. package/dist/packages/_es/Category.js +13 -12
  21. package/dist/packages/_es/CategoryPane.js +17 -13
  22. package/dist/packages/_es/Cell.js +9 -12
  23. package/dist/packages/_es/CellGroup.js +4 -2
  24. package/dist/packages/_es/Checkbox.js +1 -1
  25. package/dist/packages/_es/CheckboxGroup.js +2 -2
  26. package/dist/packages/_es/CircleProgress.js +98 -82
  27. package/dist/packages/_es/Col.js +1 -1
  28. package/dist/packages/_es/Collapse.js +65 -34
  29. package/dist/packages/_es/CollapseItem.js +93 -60
  30. package/dist/packages/_es/Comment.js +43 -19
  31. package/dist/packages/_es/ConfigProvider.js +1 -1
  32. package/dist/packages/_es/CountDown.js +3 -3
  33. package/dist/packages/_es/CountUp.js +47 -52
  34. package/dist/packages/_es/DatePicker.js +37 -54
  35. package/dist/packages/_es/Dialog.js +9 -88
  36. package/dist/packages/_es/Divider.js +3 -3
  37. package/dist/packages/_es/Drag.js +75 -49
  38. package/dist/packages/_es/Ecard.js +20 -18
  39. package/dist/packages/_es/Elevator.js +101 -76
  40. package/dist/packages/_es/Ellipsis.js +140 -100
  41. package/dist/packages/_es/Empty.js +6 -4
  42. package/dist/packages/_es/FixedNav.js +11 -6
  43. package/dist/packages/_es/Form.js +4 -4
  44. package/dist/packages/_es/FormItem.js +3 -1
  45. package/dist/packages/_es/Grid.js +1 -1
  46. package/dist/packages/_es/GridItem.js +10 -27
  47. package/dist/packages/_es/Icon.js +1 -1
  48. package/dist/packages/_es/Image.js +13 -114
  49. package/dist/packages/_es/ImagePreview.js +154 -400
  50. package/dist/packages/_es/Indicator.js +3 -3
  51. package/dist/packages/_es/InfiniteLoading.js +103 -115
  52. package/dist/packages/_es/Input.js +54 -26
  53. package/dist/packages/_es/InputNumber.js +25 -16
  54. package/dist/packages/_es/Invoice.js +6 -5
  55. package/dist/packages/_es/Layout.js +1 -1
  56. package/dist/packages/_es/List.js +47 -34
  57. package/dist/packages/_es/Menu.js +35 -35
  58. package/dist/packages/_es/MenuItem.js +56 -29
  59. package/dist/packages/_es/Navbar.js +49 -39
  60. package/dist/packages/_es/NoticeBar.js +52 -41
  61. package/dist/packages/_es/Notify.js +37 -166
  62. package/dist/packages/_es/NumberKeyboard.js +15 -20
  63. package/dist/packages/_es/OldPicker.js +130 -116
  64. package/dist/packages/_es/OverLay.js +5 -28
  65. package/dist/packages/_es/Pagination.js +8 -5
  66. package/dist/packages/_es/Picker.js +196 -65
  67. package/dist/packages/_es/Popover.js +201 -881
  68. package/dist/packages/_es/Popup.js +28 -84
  69. package/dist/packages/_es/Price.js +22 -6
  70. package/dist/packages/_es/Progress.js +18 -11
  71. package/dist/packages/_es/PullRefresh.js +4 -2
  72. package/dist/packages/_es/Radio.js +3 -3
  73. package/dist/packages/_es/RadioGroup.js +1 -1
  74. package/dist/packages/_es/Range.js +48 -34
  75. package/dist/packages/_es/Rate.js +15 -14
  76. package/dist/packages/_es/Row.js +1 -1
  77. package/dist/packages/_es/SearchBar.js +39 -36
  78. package/dist/packages/_es/ShortPassword.js +97 -66
  79. package/dist/packages/_es/SideNavBar.js +7 -18
  80. package/dist/packages/_es/SideNavBarItem.js +1 -1
  81. package/dist/packages/_es/Signature.js +113 -80
  82. package/dist/packages/_es/Skeleton.js +12 -11
  83. package/dist/packages/_es/Sku.js +63 -38
  84. package/dist/packages/_es/Step.js +7 -2
  85. package/dist/packages/_es/Steps.js +1 -1
  86. package/dist/packages/_es/Sticky.js +33 -23
  87. package/dist/packages/_es/SubSideNavBar.js +4 -2
  88. package/dist/packages/_es/Swipe.js +41 -26
  89. package/dist/packages/_es/Swiper.js +38 -21
  90. package/dist/packages/_es/SwiperItem.js +2 -2
  91. package/dist/packages/_es/Switch.js +8 -8
  92. package/dist/packages/_es/TabPane.js +1 -1
  93. package/dist/packages/_es/Tabbar.js +40 -9
  94. package/dist/packages/_es/TabbarItem.js +24 -30
  95. package/dist/packages/_es/Table.js +22 -17
  96. package/dist/packages/_es/Tabs.js +49 -16
  97. package/dist/packages/_es/Tag.js +6 -5
  98. package/dist/packages/_es/TextArea.js +114 -49
  99. package/dist/packages/_es/TimeDetail.js +4 -3
  100. package/dist/packages/_es/TimePannel.js +3 -3
  101. package/dist/packages/_es/TimeSelect.js +12 -10
  102. package/dist/packages/_es/Toast.js +53 -164
  103. package/dist/packages/_es/TrendArrow.js +6 -4
  104. package/dist/packages/_es/Uploader.js +141 -140
  105. package/dist/packages/_es/Video.js +72 -5
  106. package/dist/packages/_es/WaterMark.js +22 -14
  107. package/dist/packages/_es/common.js +1 -1
  108. package/dist/packages/_es/component.js +1 -1
  109. package/dist/packages/_es/index.js +44 -6
  110. package/dist/packages/_es/{index5.js → index.taro.js} +167 -154
  111. package/dist/packages/_es/index2.js +8 -31
  112. package/dist/packages/_es/index3.js +64 -7
  113. package/dist/packages/_es/index4.js +424 -62
  114. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  115. package/dist/packages/_es/pxCheck.js +1 -1
  116. package/dist/packages/_es/raf.js +1 -1
  117. package/dist/packages/_es/style.css +21 -3
  118. package/dist/packages/_es/use-lock-scroll.js +23 -0
  119. package/dist/packages/locale/lang/baseLang.js +1 -1
  120. package/dist/packages/locale/lang/en-US.js +1 -1
  121. package/dist/packages/locale/lang/id-ID.js +1 -1
  122. package/dist/packages/locale/lang/index.js +1 -1
  123. package/dist/packages/locale/lang/zh-CN.js +1 -1
  124. package/dist/packages/locale/lang/zh-TW.js +1 -1
  125. package/dist/packages/signature/index.scss +4 -1
  126. package/dist/packages/swiperitem/index.scss +1 -1
  127. package/dist/smartips/attributes.json +4 -0
  128. package/dist/smartips/tags.json +2 -1
  129. package/dist/smartips/web-types.json +10 -1
  130. package/dist/style.css +1 -1
  131. package/dist/styles/themes/default.scss +44 -44
  132. package/dist/styles/themes/jdb.scss +44 -44
  133. package/dist/styles/themes/jddkh.scss +44 -44
  134. package/dist/styles/themes/jdt.scss +44 -44
  135. package/dist/types/__VUE/actionsheet/{index.vue.d.ts → index.taro.vue.d.ts} +11 -11
  136. package/dist/types/__VUE/address/{index.vue.d.ts → index.taro.vue.d.ts} +74 -34
  137. package/dist/types/__VUE/addresslist/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  138. package/dist/types/__VUE/animate/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  139. package/dist/types/__VUE/avatar/{index.vue.d.ts → index.taro.vue.d.ts} +5 -5
  140. package/dist/types/__VUE/avatargroup/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  141. package/dist/types/__VUE/backtop/{index.vue.d.ts → index.taro.vue.d.ts} +14 -36
  142. package/dist/types/__VUE/badge/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  143. package/dist/types/__VUE/barrage/{index.vue.d.ts → index.taro.vue.d.ts} +2 -2
  144. package/dist/types/__VUE/button/index.taro.vue.d.ts +116 -0
  145. package/dist/types/__VUE/calendar/{index.vue.d.ts → index.taro.vue.d.ts} +14 -2
  146. package/dist/types/__VUE/calendaritem/{index.vue.d.ts → index.taro.vue.d.ts} +17 -17
  147. package/dist/types/__VUE/card/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  148. package/dist/types/__VUE/cascader/{index.vue.d.ts → index.taro.vue.d.ts} +2 -2
  149. package/dist/types/__VUE/category/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  150. package/dist/types/__VUE/categorypane/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  151. package/dist/types/__VUE/cell/{index.vue.d.ts → index.taro.vue.d.ts} +12 -5
  152. package/dist/types/__VUE/checkbox/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  153. package/dist/types/__VUE/circleprogress/{index.vue.d.ts → index.taro.vue.d.ts} +14 -15
  154. package/dist/types/__VUE/collapse/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  155. package/dist/types/__VUE/collapseitem/{index.vue.d.ts → index.taro.vue.d.ts} +1 -9
  156. package/dist/types/__VUE/comment/{index.vue.d.ts → index.taro.vue.d.ts} +1 -2
  157. package/dist/types/__VUE/configprovider/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  158. package/dist/types/__VUE/countdown/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  159. package/dist/types/__VUE/countup/{index.vue.d.ts → index.taro.vue.d.ts} +5 -7
  160. package/dist/types/__VUE/datepicker/{index.vue.d.ts → index.taro.vue.d.ts} +6 -6
  161. package/dist/types/__VUE/dialog/{index.vue.d.ts → index.taro.vue.d.ts} +10 -13
  162. package/dist/types/__VUE/divider/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  163. package/dist/types/__VUE/drag/{index.vue.d.ts → index.taro.vue.d.ts} +2 -1
  164. package/dist/types/__VUE/ecard/{index.vue.d.ts → index.taro.vue.d.ts} +3 -3
  165. package/dist/types/__VUE/elevator/{index.vue.d.ts → index.taro.vue.d.ts} +11 -2
  166. package/dist/types/__VUE/ellipsis/{index.vue.d.ts → index.taro.vue.d.ts} +4 -0
  167. package/dist/types/__VUE/empty/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  168. package/dist/types/__VUE/fixednav/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  169. package/dist/types/__VUE/form/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  170. package/dist/types/__VUE/grid/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  171. package/dist/types/__VUE/griditem/{index.vue.d.ts → index.taro.vue.d.ts} +2 -27
  172. package/dist/types/__VUE/icon/index.taro.vue.d.ts +74 -0
  173. package/dist/types/__VUE/image/index.taro.vue.d.ts +33 -0
  174. package/dist/types/__VUE/imagepreview/{index.vue.d.ts → index.taro.vue.d.ts} +41 -43
  175. package/dist/types/__VUE/indicator/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  176. package/dist/types/__VUE/infiniteloading/{index.vue.d.ts → index.taro.vue.d.ts} +15 -8
  177. package/dist/types/__VUE/input/{index.vue.d.ts → index.taro.vue.d.ts} +34 -16
  178. package/dist/types/__VUE/inputnumber/{index.vue.d.ts → index.taro.vue.d.ts} +2 -2
  179. package/dist/types/__VUE/invoice/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  180. package/dist/types/__VUE/layout/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  181. package/dist/types/__VUE/list/{index.vue.d.ts → index.taro.vue.d.ts} +2 -2
  182. package/dist/types/__VUE/menu/{index.vue.d.ts → index.taro.vue.d.ts} +2 -1
  183. package/dist/types/__VUE/menuitem/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  184. package/dist/types/__VUE/navbar/{index.vue.d.ts → index.taro.vue.d.ts} +1 -2
  185. package/dist/types/__VUE/noticebar/{index.vue.d.ts → index.taro.vue.d.ts} +6 -5
  186. package/dist/types/__VUE/notify/{index.vue.d.ts → index.taro.vue.d.ts} +10 -25
  187. package/dist/types/__VUE/numberkeyboard/{index.vue.d.ts → index.taro.vue.d.ts} +6 -30
  188. package/dist/types/__VUE/oldpicker/{Column.vue.d.ts → ColumnTaro.vue.d.ts} +28 -17
  189. package/dist/types/__VUE/oldpicker/{index.vue.d.ts → index.taro.vue.d.ts} +65 -45
  190. package/dist/types/__VUE/overlay/index.taro.vue.d.ts +85 -0
  191. package/dist/types/__VUE/pagination/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  192. package/dist/types/__VUE/picker/{Column.vue.d.ts → ColumnTaro.vue.d.ts} +16 -4
  193. package/dist/types/__VUE/picker/{index.vue.d.ts → index.taro.vue.d.ts} +54 -29
  194. package/dist/types/__VUE/popover/{index.vue.d.ts → index.taro.vue.d.ts} +18 -16
  195. package/dist/types/__VUE/popup/index.taro.vue.d.ts +1728 -0
  196. package/dist/types/__VUE/popup/index.vue.d.ts +4 -4
  197. package/dist/types/__VUE/price/{index.vue.d.ts → index.taro.vue.d.ts} +1 -0
  198. package/dist/types/__VUE/progress/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  199. package/dist/types/__VUE/radio/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  200. package/dist/types/__VUE/range/{index.vue.d.ts → index.taro.vue.d.ts} +7 -6
  201. package/dist/types/__VUE/rate/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  202. package/dist/types/__VUE/searchbar/{index.vue.d.ts → index.taro.vue.d.ts} +19 -19
  203. package/dist/types/__VUE/shortpassword/{index.vue.d.ts → index.taro.vue.d.ts} +6 -21
  204. package/dist/types/__VUE/sidenavbar/{index.vue.d.ts → index.taro.vue.d.ts} +0 -5
  205. package/dist/types/__VUE/signature/{index.vue.d.ts → index.taro.vue.d.ts} +8 -5
  206. package/dist/types/__VUE/skeleton/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  207. package/dist/types/__VUE/sku/{index.vue.d.ts → index.taro.vue.d.ts} +55 -183
  208. package/dist/types/__VUE/step/index.vue.d.ts +1 -1
  209. package/dist/types/__VUE/steps/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  210. package/dist/types/__VUE/sticky/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  211. package/dist/types/__VUE/swipe/{index.vue.d.ts → index.taro.vue.d.ts} +4 -3
  212. package/dist/types/__VUE/swiper/{index.vue.d.ts → index.taro.vue.d.ts} +2 -1
  213. package/dist/types/__VUE/swiperitem/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  214. package/dist/types/__VUE/switch/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  215. package/dist/types/__VUE/tabbar/{index.vue.d.ts → index.taro.vue.d.ts} +10 -0
  216. package/dist/types/__VUE/tabbaritem/{index.vue.d.ts → index.taro.vue.d.ts} +8 -8
  217. package/dist/types/__VUE/table/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  218. package/dist/types/__VUE/tabs/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  219. package/dist/types/__VUE/tag/{index.vue.d.ts → index.taro.vue.d.ts} +4 -4
  220. package/dist/types/__VUE/textarea/{index.vue.d.ts → index.taro.vue.d.ts} +5 -3
  221. package/dist/types/__VUE/timedetail/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  222. package/dist/types/__VUE/timepannel/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  223. package/dist/types/__VUE/timeselect/{index.vue.d.ts → index.taro.vue.d.ts} +7 -8
  224. package/dist/types/__VUE/toast/{index.vue.d.ts → index.taro.vue.d.ts} +44 -22
  225. package/dist/types/__VUE/trendarrow/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  226. package/dist/types/__VUE/uploader/{index.vue.d.ts → index.taro.vue.d.ts} +22 -13
  227. package/dist/types/__VUE/video/index.vue.d.ts +4 -2
  228. package/dist/types/__VUE/watermark/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  229. package/dist/types/index.d.ts +1 -1
  230. package/dist/types/nutui.d.ts +89 -89
  231. package/package.json +1 -1
  232. package/dist/types/__VUE/dialog/index.d.ts +0 -48
  233. package/dist/types/__VUE/image/index.vue.d.ts +0 -117
  234. package/dist/types/__VUE/image/type.d.ts +0 -6
  235. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +0 -108
  236. package/dist/types/__VUE/imagepreview/index.d.ts +0 -25
  237. package/dist/types/__VUE/notify/index.d.ts +0 -26
  238. package/dist/types/__VUE/tag/type.d.ts +0 -5
  239. package/dist/types/__VUE/toast/index.d.ts +0 -16
@@ -1,106 +1,106 @@
1
1
  import Locale from '../packages/locale';
2
- import Button from './__VUE/button/index.vue';
3
- import Cell from './__VUE/cell/index.vue';
2
+ import Button from './__VUE/button/index.taro.vue';
3
+ import Cell from './__VUE/cell/index.taro.vue';
4
4
  import CellGroup from './__VUE/cellgroup/index.vue';
5
- import Icon from './__VUE/icon/index.vue';
6
- import OverLay from './__VUE/overlay/index.vue';
7
- import Popup from './__VUE/popup/index.vue';
8
- import ConfigProvider from './__VUE/configprovider/index.vue';
9
- import Image from './__VUE/image/index.vue';
10
- import Layout from './__VUE/layout/index.vue';
5
+ import Icon from './__VUE/icon/index.taro.vue';
6
+ import OverLay from './__VUE/overlay/index.taro.vue';
7
+ import Popup from './__VUE/popup/index.taro.vue';
8
+ import ConfigProvider from './__VUE/configprovider/index.taro.vue';
9
+ import Image from './__VUE/image/index.taro.vue';
10
+ import Layout from './__VUE/layout/index.taro.vue';
11
11
  import Col from './__VUE/col/index.vue';
12
12
  import Row from './__VUE/row/index.vue';
13
- import Sticky from './__VUE/sticky/index.vue';
14
- import Divider from './__VUE/divider/index.vue';
15
- import Grid from './__VUE/grid/index.vue';
16
- import GridItem from './__VUE/griditem/index.vue';
17
- import Navbar from './__VUE/navbar/index.vue';
18
- import FixedNav from './__VUE/fixednav/index.vue';
19
- import Menu from './__VUE/menu/index.vue';
20
- import MenuItem from './__VUE/menuitem/index.vue';
21
- import Tabbar from './__VUE/tabbar/index.vue';
22
- import TabbarItem from './__VUE/tabbaritem/index.vue';
23
- import Elevator from './__VUE/elevator/index.vue';
24
- import Pagination from './__VUE/pagination/index.vue';
25
- import Tabs from './__VUE/tabs/index.vue';
13
+ import Sticky from './__VUE/sticky/index.taro.vue';
14
+ import Divider from './__VUE/divider/index.taro.vue';
15
+ import Grid from './__VUE/grid/index.taro.vue';
16
+ import GridItem from './__VUE/griditem/index.taro.vue';
17
+ import Navbar from './__VUE/navbar/index.taro.vue';
18
+ import FixedNav from './__VUE/fixednav/index.taro.vue';
19
+ import Menu from './__VUE/menu/index.taro.vue';
20
+ import MenuItem from './__VUE/menuitem/index.taro.vue';
21
+ import Tabbar from './__VUE/tabbar/index.taro.vue';
22
+ import TabbarItem from './__VUE/tabbaritem/index.taro.vue';
23
+ import Elevator from './__VUE/elevator/index.taro.vue';
24
+ import Pagination from './__VUE/pagination/index.taro.vue';
25
+ import Tabs from './__VUE/tabs/index.taro.vue';
26
26
  import TabPane from './__VUE/tabpane/index.vue';
27
- import Indicator from './__VUE/indicator/index.vue';
28
- import SideNavBar from './__VUE/sidenavbar/index.vue';
27
+ import Indicator from './__VUE/indicator/index.taro.vue';
28
+ import SideNavBar from './__VUE/sidenavbar/index.taro.vue';
29
29
  import SideNavBarItem from './__VUE/sidenavbaritem/index.vue';
30
30
  import SubSideNavBar from './__VUE/subsidenavbar/index.vue';
31
- import Range from './__VUE/range/index.vue';
32
- import SearchBar from './__VUE/searchbar/index.vue';
33
- import Cascader from './__VUE/cascader/index.vue';
34
- import Calendar from './__VUE/calendar/index.vue';
35
- import Checkbox from './__VUE/checkbox/index.vue';
31
+ import Range from './__VUE/range/index.taro.vue';
32
+ import SearchBar from './__VUE/searchbar/index.taro.vue';
33
+ import Cascader from './__VUE/cascader/index.taro.vue';
34
+ import Calendar from './__VUE/calendar/index.taro.vue';
35
+ import Checkbox from './__VUE/checkbox/index.taro.vue';
36
36
  import CheckboxGroup from './__VUE/checkboxgroup/index.vue';
37
- import DatePicker from './__VUE/datepicker/index.vue';
38
- import InputNumber from './__VUE/inputnumber/index.vue';
39
- import Input from './__VUE/input/index.vue';
40
- import Radio from './__VUE/radio/index.vue';
37
+ import DatePicker from './__VUE/datepicker/index.taro.vue';
38
+ import InputNumber from './__VUE/inputnumber/index.taro.vue';
39
+ import Input from './__VUE/input/index.taro.vue';
40
+ import Radio from './__VUE/radio/index.taro.vue';
41
41
  import RadioGroup from './__VUE/radiogroup/index.vue';
42
- import Rate from './__VUE/rate/index.vue';
43
- import CalendarItem from './__VUE/calendaritem/index.vue';
44
- import Picker from './__VUE/picker/index.vue';
45
- import ShortPassword from './__VUE/shortpassword/index.vue';
46
- import TextArea from './__VUE/textarea/index.vue';
47
- import Uploader from './__VUE/uploader/index.vue';
48
- import NumberKeyboard from './__VUE/numberkeyboard/index.vue';
49
- import Form from './__VUE/form/index.vue';
42
+ import Rate from './__VUE/rate/index.taro.vue';
43
+ import CalendarItem from './__VUE/calendaritem/index.taro.vue';
44
+ import Picker from './__VUE/picker/index.taro.vue';
45
+ import ShortPassword from './__VUE/shortpassword/index.taro.vue';
46
+ import TextArea from './__VUE/textarea/index.taro.vue';
47
+ import Uploader from './__VUE/uploader/index.taro.vue';
48
+ import NumberKeyboard from './__VUE/numberkeyboard/index.taro.vue';
49
+ import Form from './__VUE/form/index.taro.vue';
50
50
  import FormItem from './__VUE/formitem/index.vue';
51
- import OldPicker from './__VUE/oldpicker/index.vue';
52
- import Swipe from './__VUE/swipe/index.vue';
53
- import ActionSheet from './__VUE/actionsheet/index.vue';
54
- import BackTop from './__VUE/backtop/index.vue';
55
- import Drag from './__VUE/drag/index.vue';
56
- import Dialog from './__VUE/dialog';
57
- import InfiniteLoading from './__VUE/infiniteloading/index.vue';
58
- import Notify from './__VUE/notify';
51
+ import OldPicker from './__VUE/oldpicker/index.taro.vue';
52
+ import Swipe from './__VUE/swipe/index.taro.vue';
53
+ import ActionSheet from './__VUE/actionsheet/index.taro.vue';
54
+ import BackTop from './__VUE/backtop/index.taro.vue';
55
+ import Drag from './__VUE/drag/index.taro.vue';
56
+ import Dialog from './__VUE/dialog/index.taro.vue';
57
+ import InfiniteLoading from './__VUE/infiniteloading/index.taro.vue';
58
+ import Notify from './__VUE/notify/index.taro.vue';
59
59
  import PullRefresh from './__VUE/pullrefresh/index.vue';
60
- import Switch from './__VUE/switch/index.vue';
61
- import Toast from './__VUE/toast';
60
+ import Switch from './__VUE/switch/index.taro.vue';
61
+ import Toast from './__VUE/toast/index.taro.vue';
62
62
  import Audio from './__VUE/audio/index.vue';
63
63
  import AudioOperate from './__VUE/audiooperate/index.vue';
64
- import Avatar from './__VUE/avatar/index.vue';
65
- import AvatarGroup from './__VUE/avatargroup/index.vue';
66
- import List from './__VUE/list/index.vue';
67
- import Progress from './__VUE/progress/index.vue';
68
- import CircleProgress from './__VUE/circleprogress/index.vue';
69
- import NoticeBar from './__VUE/noticebar/index.vue';
70
- import Empty from './__VUE/empty/index.vue';
64
+ import Avatar from './__VUE/avatar/index.taro.vue';
65
+ import AvatarGroup from './__VUE/avatargroup/index.taro.vue';
66
+ import List from './__VUE/list/index.taro.vue';
67
+ import Progress from './__VUE/progress/index.taro.vue';
68
+ import CircleProgress from './__VUE/circleprogress/index.taro.vue';
69
+ import NoticeBar from './__VUE/noticebar/index.taro.vue';
70
+ import Empty from './__VUE/empty/index.taro.vue';
71
71
  import Video from './__VUE/video/index.vue';
72
- import Steps from './__VUE/steps/index.vue';
72
+ import Steps from './__VUE/steps/index.taro.vue';
73
73
  import Step from './__VUE/step/index.vue';
74
- import Swiper from './__VUE/swiper/index.vue';
75
- import SwiperItem from './__VUE/swiperitem/index.vue';
76
- import Price from './__VUE/price/index.vue';
77
- import ImagePreview from './__VUE/imagepreview';
78
- import CountUp from './__VUE/countup/index.vue';
79
- import CountDown from './__VUE/countdown/index.vue';
80
- import Badge from './__VUE/badge/index.vue';
81
- import Tag from './__VUE/tag/index.vue';
82
- import Popover from './__VUE/popover/index.vue';
83
- import Skeleton from './__VUE/skeleton/index.vue';
84
- import Collapse from './__VUE/collapse/index.vue';
85
- import CollapseItem from './__VUE/collapseitem/index.vue';
86
- import Table from './__VUE/table/index.vue';
87
- import Animate from './__VUE/animate/index.vue';
88
- import Ellipsis from './__VUE/ellipsis/index.vue';
89
- import WaterMark from './__VUE/watermark/index.vue';
90
- import TrendArrow from './__VUE/trendarrow/index.vue';
91
- import Address from './__VUE/address/index.vue';
92
- import Barrage from './__VUE/barrage/index.vue';
93
- import Signature from './__VUE/signature/index.vue';
94
- import TimeSelect from './__VUE/timeselect/index.vue';
95
- import TimePannel from './__VUE/timepannel/index.vue';
96
- import TimeDetail from './__VUE/timedetail/index.vue';
97
- import Sku from './__VUE/sku/index.vue';
98
- import Card from './__VUE/card/index.vue';
99
- import Ecard from './__VUE/ecard/index.vue';
100
- import AddressList from './__VUE/addresslist/index.vue';
101
- import Category from './__VUE/category/index.vue';
102
- import CategoryPane from './__VUE/categorypane/index.vue';
103
- import Comment from './__VUE/comment/index.vue';
104
- import Invoice from './__VUE/invoice/index.vue';
74
+ import Swiper from './__VUE/swiper/index.taro.vue';
75
+ import SwiperItem from './__VUE/swiperitem/index.taro.vue';
76
+ import Price from './__VUE/price/index.taro.vue';
77
+ import ImagePreview from './__VUE/imagepreview/index.taro.vue';
78
+ import CountUp from './__VUE/countup/index.taro.vue';
79
+ import CountDown from './__VUE/countdown/index.taro.vue';
80
+ import Badge from './__VUE/badge/index.taro.vue';
81
+ import Tag from './__VUE/tag/index.taro.vue';
82
+ import Popover from './__VUE/popover/index.taro.vue';
83
+ import Skeleton from './__VUE/skeleton/index.taro.vue';
84
+ import Collapse from './__VUE/collapse/index.taro.vue';
85
+ import CollapseItem from './__VUE/collapseitem/index.taro.vue';
86
+ import Table from './__VUE/table/index.taro.vue';
87
+ import Animate from './__VUE/animate/index.taro.vue';
88
+ import Ellipsis from './__VUE/ellipsis/index.taro.vue';
89
+ import WaterMark from './__VUE/watermark/index.taro.vue';
90
+ import TrendArrow from './__VUE/trendarrow/index.taro.vue';
91
+ import Address from './__VUE/address/index.taro.vue';
92
+ import Barrage from './__VUE/barrage/index.taro.vue';
93
+ import Signature from './__VUE/signature/index.taro.vue';
94
+ import TimeSelect from './__VUE/timeselect/index.taro.vue';
95
+ import TimePannel from './__VUE/timepannel/index.taro.vue';
96
+ import TimeDetail from './__VUE/timedetail/index.taro.vue';
97
+ import Sku from './__VUE/sku/index.taro.vue';
98
+ import Card from './__VUE/card/index.taro.vue';
99
+ import Ecard from './__VUE/ecard/index.taro.vue';
100
+ import AddressList from './__VUE/addresslist/index.taro.vue';
101
+ import Category from './__VUE/category/index.taro.vue';
102
+ import CategoryPane from './__VUE/categorypane/index.taro.vue';
103
+ import Comment from './__VUE/comment/index.taro.vue';
104
+ import Invoice from './__VUE/invoice/index.taro.vue';
105
105
 
106
106
  export { Locale,Button,Cell,CellGroup,Icon,OverLay,Popup,ConfigProvider,Image,Layout,Col,Row,Sticky,Divider,Grid,GridItem,Navbar,FixedNav,Menu,MenuItem,Tabbar,TabbarItem,Elevator,Pagination,Tabs,TabPane,Indicator,SideNavBar,SideNavBarItem,SubSideNavBar,Range,SearchBar,Cascader,Calendar,Checkbox,CheckboxGroup,DatePicker,InputNumber,Input,Radio,RadioGroup,Rate,CalendarItem,Picker,ShortPassword,TextArea,Uploader,NumberKeyboard,Form,FormItem,OldPicker,Swipe,ActionSheet,BackTop,Drag,Dialog,InfiniteLoading,Notify,PullRefresh,Switch,Toast,Audio,AudioOperate,Avatar,AvatarGroup,List,Progress,CircleProgress,NoticeBar,Empty,Video,Steps,Step,Swiper,SwiperItem,Price,ImagePreview,CountUp,CountDown,Badge,Tag,Popover,Skeleton,Collapse,CollapseItem,Table,Animate,Ellipsis,WaterMark,TrendArrow,Address,Barrage,Signature,TimeSelect,TimePannel,TimeDetail,Sku,Card,Ecard,AddressList,Category,CategoryPane,Comment,Invoice };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutui/nutui",
3
- "version": "3.2.5",
3
+ "version": "3.2.6-beta.1",
4
4
  "description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
5
5
  "main": "dist/nutui.umd.js",
6
6
  "module": "dist/nutui.es.js",
@@ -1,48 +0,0 @@
1
- import { App, PropType, CSSProperties } from 'vue';
2
- declare type Install<T> = T & {
3
- install(app: App): void;
4
- };
5
- import Dialog from './index.vue';
6
- import { VNode, CSSProperties } from 'vue';
7
- export declare class DialogOptions {
8
- title?: string;
9
- content?: string | VNode;
10
- cancelText?: string;
11
- okText?: string;
12
- textAlign?: string;
13
- customClass?: string;
14
- overlayStyle?: CSSProperties;
15
- overlayClass?: string;
16
- popStyle?: CSSProperties;
17
- popClass?: string;
18
- teleport?: string | HTMLElement;
19
- id?: string | number;
20
- footerDirection?: string;
21
- onUpdate?: Function;
22
- onOk?: Function;
23
- onCancel?: Function;
24
- onOpened?: Function;
25
- onClosed?: Function;
26
- beforeClose?: Function;
27
- visible?: boolean;
28
- noFooter?: boolean;
29
- noOkBtn?: boolean;
30
- noCancelBtn?: boolean;
31
- okBtnDisabled?: boolean;
32
- closeOnPopstate?: boolean;
33
- lockScroll?: boolean;
34
- }
35
- declare class DialogFunction {
36
- options: DialogOptions;
37
- instance: any;
38
- constructor(_options: DialogOptions);
39
- close: () => void;
40
- setDefaultOptions: (options: DialogOptions) => void;
41
- resetDefaultOptions: () => void;
42
- }
43
- declare const _Dialog: {
44
- (options: DialogOptions): DialogFunction;
45
- install(app: any): void;
46
- };
47
- export { Dialog };
48
- export default _Dialog;
@@ -1,117 +0,0 @@
1
- import { App, PropType, CSSProperties } from 'vue';
2
- declare type Install<T> = T & {
3
- install(app: App): void;
4
- };
5
- declare const _sfc_main: Install< import("vue").DefineComponent<{
6
- src: StringConstructor;
7
- fit: {
8
- type: PropType<import("./type").ImageFit>;
9
- default: string;
10
- };
11
- position: {
12
- type: PropType<string>;
13
- default: string;
14
- };
15
- alt: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- width: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- height: {
24
- type: StringConstructor;
25
- default: string;
26
- };
27
- round: {
28
- type: BooleanConstructor;
29
- default: boolean;
30
- };
31
- radius: (NumberConstructor | StringConstructor)[];
32
- showError: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- showLoading: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- }, {
41
- imageClick: (event: Event) => void;
42
- classes: import("vue").ComputedRef<{
43
- [x: string]: boolean;
44
- }>;
45
- styles: import("vue").ComputedRef<{
46
- objectFit: string;
47
- objectPosition: string;
48
- }>;
49
- stylebox: import("vue").ComputedRef<{
50
- height?: string | undefined;
51
- width?: string | undefined;
52
- overflow?: string | undefined;
53
- borderRadius?: any;
54
- }>;
55
- error: () => void;
56
- load: () => void;
57
- loading: import("vue").Ref<boolean>;
58
- isError: import("vue").Ref<boolean>;
59
- slotLoding: import("vue").Ref<import("vue").Slot | undefined>;
60
- slotError: import("vue").Ref<import("vue").Slot | undefined>;
61
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "load" | "error")[], "click" | "load" | "error", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
62
- src: StringConstructor;
63
- fit: {
64
- type: PropType<import("./type").ImageFit>;
65
- default: string;
66
- };
67
- position: {
68
- type: PropType<string>;
69
- default: string;
70
- };
71
- alt: {
72
- type: StringConstructor;
73
- default: string;
74
- };
75
- width: {
76
- type: StringConstructor;
77
- default: string;
78
- };
79
- height: {
80
- type: StringConstructor;
81
- default: string;
82
- };
83
- round: {
84
- type: BooleanConstructor;
85
- default: boolean;
86
- };
87
- radius: (NumberConstructor | StringConstructor)[];
88
- showError: {
89
- type: BooleanConstructor;
90
- default: boolean;
91
- };
92
- showLoading: {
93
- type: BooleanConstructor;
94
- default: boolean;
95
- };
96
- }>> & {
97
- onClick?: ((...args: any[]) => any) | undefined;
98
- onLoad?: ((...args: any[]) => any) | undefined;
99
- onError?: ((...args: any[]) => any) | undefined;
100
- }, {
101
- round: boolean;
102
- position: string;
103
- fit: import("./type").ImageFit;
104
- alt: string;
105
- width: string;
106
- height: string;
107
- showError: boolean;
108
- showLoading: boolean;
109
- }>>;
110
- export default _sfc_main;
111
-
112
- declare module 'vue' {
113
- interface GlobalComponents {
114
- NutImage: typeof _sfc_main;
115
- }
116
- }
117
-
@@ -1,6 +0,0 @@
1
- import { App, PropType, CSSProperties } from 'vue';
2
- declare type Install<T> = T & {
3
- install(app: App): void;
4
- };
5
- export declare type ImageFit = 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
6
- export declare type ImagePosition = 'center' | 'top' | 'right' | 'bottom' | 'left' | string;
@@ -1,108 +0,0 @@
1
- import { App, PropType, CSSProperties } from 'vue';
2
- declare type Install<T> = T & {
3
- install(app: App): void;
4
- };
5
- declare const _sfc_main: Install< import("vue").DefineComponent<{
6
- show: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- initNo: NumberConstructor;
11
- image: {
12
- type: PropType<ImageInterface>;
13
- default: () => {};
14
- };
15
- video: {
16
- type: ObjectConstructor;
17
- default: () => {};
18
- };
19
- showIndex: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- rootWidth: {
24
- type: NumberConstructor;
25
- default: number;
26
- };
27
- rootHeight: {
28
- type: NumberConstructor;
29
- default: number;
30
- };
31
- minZoom: {
32
- type: NumberConstructor;
33
- default: number;
34
- };
35
- maxZoom: {
36
- type: NumberConstructor;
37
- default: number;
38
- };
39
- }, {
40
- onTouchStart: (event: TouchEvent) => void;
41
- onTouchMove: (event: TouchEvent) => void;
42
- onTouchEnd: (event: TouchEvent) => void;
43
- getDistance: (touches: TouchList) => number;
44
- imageStyle: import("vue").ComputedRef<CSSProperties>;
45
- imageLoad: (event: TouchEvent) => void;
46
- scale: import("vue").Ref<number>;
47
- moveX: import("vue").Ref<number>;
48
- moveY: import("vue").Ref<number>;
49
- moving: import("vue").Ref<boolean>;
50
- zooming: import("vue").Ref<boolean>;
51
- imageRatio: import("vue").Ref<number>;
52
- displayWidth: import("vue").Ref<number>;
53
- displayHeight: import("vue").Ref<number>;
54
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "scale")[], "close" | "scale", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
55
- show: {
56
- type: BooleanConstructor;
57
- default: boolean;
58
- };
59
- initNo: NumberConstructor;
60
- image: {
61
- type: PropType<ImageInterface>;
62
- default: () => {};
63
- };
64
- video: {
65
- type: ObjectConstructor;
66
- default: () => {};
67
- };
68
- showIndex: {
69
- type: BooleanConstructor;
70
- default: boolean;
71
- };
72
- rootWidth: {
73
- type: NumberConstructor;
74
- default: number;
75
- };
76
- rootHeight: {
77
- type: NumberConstructor;
78
- default: number;
79
- };
80
- minZoom: {
81
- type: NumberConstructor;
82
- default: number;
83
- };
84
- maxZoom: {
85
- type: NumberConstructor;
86
- default: number;
87
- };
88
- }>> & {
89
- onClose?: ((...args: any[]) => any) | undefined;
90
- onScale?: ((...args: any[]) => any) | undefined;
91
- }, {
92
- video: Record<string, any>;
93
- show: boolean;
94
- image: ImageInterface;
95
- showIndex: boolean;
96
- rootWidth: number;
97
- rootHeight: number;
98
- minZoom: number;
99
- maxZoom: number;
100
- }>>;
101
- export default _sfc_main;
102
-
103
- declare module 'vue' {
104
- interface GlobalComponents {
105
- NutImagePreview: typeof _sfc_main;
106
- }
107
- }
108
-
@@ -1,25 +0,0 @@
1
- import { App, PropType, CSSProperties } from 'vue';
2
- declare type Install<T> = T & {
3
- install(app: App): void;
4
- };
5
- import ImagePreview from './index.vue';
6
- import { ImageInterface } from './types';
7
- export declare class ImagePreviewOptions {
8
- show: boolean;
9
- images: ImageInterface[];
10
- initNo: number;
11
- paginationVisible: boolean;
12
- paginationColor: string;
13
- teleport: string | HTMLElement;
14
- onClose?: Function;
15
- }
16
- declare class ImagePreviewFunction {
17
- options: ImagePreviewOptions;
18
- constructor(_options: ImagePreviewOptions);
19
- }
20
- declare const _ImagePreview: {
21
- (options: ImagePreviewOptions): ImagePreviewFunction;
22
- install(app: any): void;
23
- };
24
- export { ImagePreview };
25
- export default _ImagePreview;
@@ -1,26 +0,0 @@
1
- import { App, PropType, CSSProperties } from 'vue';
2
- declare type Install<T> = T & {
3
- install(app: App): void;
4
- };
5
- import Notify from './index.vue';
6
- export declare const NotifyFunction: {
7
- text(msg: string, obj?: {}): {
8
- [x: string]: unknown;
9
- } | undefined;
10
- primary(msg: string, obj?: {}): {
11
- [x: string]: unknown;
12
- } | undefined;
13
- success(msg: string, obj?: {}): {
14
- [x: string]: unknown;
15
- } | undefined;
16
- danger(msg: string, obj?: {}): {
17
- [x: string]: unknown;
18
- } | undefined;
19
- warn(msg: string, obj?: {}): {
20
- [x: string]: unknown;
21
- } | undefined;
22
- hide(): void;
23
- install(app: any): void;
24
- };
25
- export default NotifyFunction;
26
- export { Notify };
@@ -1,5 +0,0 @@
1
- import { App, PropType, CSSProperties } from 'vue';
2
- declare type Install<T> = T & {
3
- install(app: App): void;
4
- };
5
- export declare type TagType = 'primary' | 'success' | 'danger' | 'warning';
@@ -1,16 +0,0 @@
1
- import { App, PropType, CSSProperties } from 'vue';
2
- declare type Install<T> = T & {
3
- install(app: App): void;
4
- };
5
- import Toast from './index.vue';
6
- export declare const ToastFunction: {
7
- text(msg: string, opts?: {}): any | undefined;
8
- success(msg: string, opts?: {}): any | undefined;
9
- fail(msg: string, opts?: {}): any | undefined;
10
- warn(msg: string, opts?: {}): any | undefined;
11
- loading(msg: string, opts?: {}): any | undefined;
12
- hide(id?: string | undefined): void;
13
- install(app: any): void;
14
- };
15
- export { Toast };
16
- export default ToastFunction;