@nutui/nutui 3.2.6-beta.1 → 3.2.6-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/README.md +18 -4
  2. package/dist/nutui.es.js +4461 -4135
  3. package/dist/nutui.umd.js +4559 -4133
  4. package/dist/packages/_es/ActionSheet.js +19 -18
  5. package/dist/packages/_es/Address.js +85 -94
  6. package/dist/packages/_es/AddressList.js +12 -25
  7. package/dist/packages/_es/Animate.js +3 -3
  8. package/dist/packages/_es/Audio.js +2 -9
  9. package/dist/packages/_es/AudioOperate.js +1 -5
  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 +108 -55
  13. package/dist/packages/_es/Badge.js +12 -10
  14. package/dist/packages/_es/Barrage.js +103 -79
  15. package/dist/packages/_es/Button.js +3 -5
  16. package/dist/packages/_es/Calendar.js +23 -36
  17. package/dist/packages/_es/CalendarItem.js +3 -4
  18. package/dist/packages/_es/Card.js +5 -15
  19. package/dist/packages/_es/Cascader.js +11 -12
  20. package/dist/packages/_es/Category.js +12 -13
  21. package/dist/packages/_es/CategoryPane.js +13 -17
  22. package/dist/packages/_es/Cell.js +12 -9
  23. package/dist/packages/_es/CellGroup.js +2 -4
  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 +82 -98
  27. package/dist/packages/_es/Col.js +1 -1
  28. package/dist/packages/_es/Collapse.js +34 -65
  29. package/dist/packages/_es/CollapseItem.js +60 -93
  30. package/dist/packages/_es/Comment.js +19 -43
  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 +52 -47
  34. package/dist/packages/_es/DatePicker.js +54 -37
  35. package/dist/packages/_es/Dialog.js +88 -9
  36. package/dist/packages/_es/Divider.js +3 -3
  37. package/dist/packages/_es/Drag.js +49 -75
  38. package/dist/packages/_es/Ecard.js +18 -20
  39. package/dist/packages/_es/Elevator.js +76 -101
  40. package/dist/packages/_es/Ellipsis.js +100 -140
  41. package/dist/packages/_es/Empty.js +4 -6
  42. package/dist/packages/_es/FixedNav.js +6 -11
  43. package/dist/packages/_es/Form.js +4 -4
  44. package/dist/packages/_es/FormItem.js +1 -3
  45. package/dist/packages/_es/Grid.js +1 -1
  46. package/dist/packages/_es/GridItem.js +27 -10
  47. package/dist/packages/_es/Icon.js +1 -1
  48. package/dist/packages/_es/Image.js +114 -13
  49. package/dist/packages/_es/ImagePreview.js +411 -149
  50. package/dist/packages/_es/Indicator.js +3 -3
  51. package/dist/packages/_es/InfiniteLoading.js +115 -103
  52. package/dist/packages/_es/Input.js +32 -56
  53. package/dist/packages/_es/InputNumber.js +16 -25
  54. package/dist/packages/_es/Invoice.js +5 -6
  55. package/dist/packages/_es/Layout.js +1 -1
  56. package/dist/packages/_es/List.js +34 -47
  57. package/dist/packages/_es/Menu.js +35 -35
  58. package/dist/packages/_es/MenuItem.js +29 -56
  59. package/dist/packages/_es/Navbar.js +39 -49
  60. package/dist/packages/_es/NoticeBar.js +45 -54
  61. package/dist/packages/_es/Notify.js +162 -44
  62. package/dist/packages/_es/NumberKeyboard.js +20 -15
  63. package/dist/packages/_es/OldPicker.js +116 -130
  64. package/dist/packages/_es/OverLay.js +28 -5
  65. package/dist/packages/_es/Pagination.js +5 -8
  66. package/dist/packages/_es/Picker.js +74 -198
  67. package/dist/packages/_es/Popover.js +881 -201
  68. package/dist/packages/_es/Popup.js +84 -28
  69. package/dist/packages/_es/Price.js +6 -22
  70. package/dist/packages/_es/Progress.js +11 -18
  71. package/dist/packages/_es/PullRefresh.js +2 -4
  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 +34 -48
  75. package/dist/packages/_es/Rate.js +14 -15
  76. package/dist/packages/_es/Row.js +1 -1
  77. package/dist/packages/_es/SearchBar.js +36 -39
  78. package/dist/packages/_es/ShortPassword.js +66 -97
  79. package/dist/packages/_es/SideNavBar.js +18 -7
  80. package/dist/packages/_es/SideNavBarItem.js +1 -1
  81. package/dist/packages/_es/Signature.js +80 -113
  82. package/dist/packages/_es/Skeleton.js +11 -12
  83. package/dist/packages/_es/Sku.js +38 -63
  84. package/dist/packages/_es/Step.js +2 -7
  85. package/dist/packages/_es/Steps.js +1 -1
  86. package/dist/packages/_es/Sticky.js +23 -33
  87. package/dist/packages/_es/SubSideNavBar.js +2 -4
  88. package/dist/packages/_es/Swipe.js +26 -41
  89. package/dist/packages/_es/Swiper.js +21 -38
  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 +13 -15
  94. package/dist/packages/_es/TabbarItem.js +30 -24
  95. package/dist/packages/_es/Table.js +17 -22
  96. package/dist/packages/_es/Tabs.js +16 -49
  97. package/dist/packages/_es/Tag.js +5 -6
  98. package/dist/packages/_es/TextArea.js +49 -114
  99. package/dist/packages/_es/TimeDetail.js +3 -4
  100. package/dist/packages/_es/TimePannel.js +3 -3
  101. package/dist/packages/_es/TimeSelect.js +10 -12
  102. package/dist/packages/_es/Toast.js +164 -53
  103. package/dist/packages/_es/TrendArrow.js +4 -6
  104. package/dist/packages/_es/Uploader.js +140 -141
  105. package/dist/packages/_es/Video.js +18 -39
  106. package/dist/packages/_es/WaterMark.js +14 -22
  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 +6 -44
  110. package/dist/packages/_es/index2.js +31 -8
  111. package/dist/packages/_es/index3.js +7 -64
  112. package/dist/packages/_es/index4.js +62 -424
  113. package/dist/packages/_es/{index.taro.js → index5.js} +154 -167
  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 +3 -21
  118. package/dist/packages/checkbox/index.scss +1 -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/menuitem/index.scss +12 -3
  126. package/dist/smartips/attributes.json +5 -1
  127. package/dist/smartips/tags.json +1 -0
  128. package/dist/smartips/web-types.json +11 -2
  129. package/dist/style.css +1 -1
  130. package/dist/styles/themes/default.scss +48 -48
  131. package/dist/styles/themes/jdb.scss +48 -48
  132. package/dist/styles/themes/jddkh.scss +48 -48
  133. package/dist/styles/themes/jdt.scss +48 -48
  134. package/dist/types/__VUE/actionsheet/{index.taro.vue.d.ts → index.vue.d.ts} +9 -9
  135. package/dist/types/__VUE/address/{index.taro.vue.d.ts → index.vue.d.ts} +33 -73
  136. package/dist/types/__VUE/addresslist/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  137. package/dist/types/__VUE/animate/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  138. package/dist/types/__VUE/avatar/{index.taro.vue.d.ts → index.vue.d.ts} +6 -6
  139. package/dist/types/__VUE/avatargroup/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  140. package/dist/types/__VUE/backtop/{index.taro.vue.d.ts → index.vue.d.ts} +37 -15
  141. package/dist/types/__VUE/badge/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  142. package/dist/types/__VUE/barrage/{index.taro.vue.d.ts → index.vue.d.ts} +2 -2
  143. package/dist/types/__VUE/button/index.vue.d.ts +1 -1
  144. package/dist/types/__VUE/calendar/{index.taro.vue.d.ts → index.vue.d.ts} +1 -13
  145. package/dist/types/__VUE/calendaritem/{index.taro.vue.d.ts → index.vue.d.ts} +17 -17
  146. package/dist/types/__VUE/card/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  147. package/dist/types/__VUE/cascader/{index.taro.vue.d.ts → index.vue.d.ts} +1 -1
  148. package/dist/types/__VUE/category/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  149. package/dist/types/__VUE/categorypane/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  150. package/dist/types/__VUE/cell/{index.taro.vue.d.ts → index.vue.d.ts} +5 -12
  151. package/dist/types/__VUE/checkbox/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  152. package/dist/types/__VUE/circleprogress/{index.taro.vue.d.ts → index.vue.d.ts} +15 -14
  153. package/dist/types/__VUE/collapse/{index.taro.vue.d.ts → index.vue.d.ts} +1 -1
  154. package/dist/types/__VUE/collapseitem/{index.taro.vue.d.ts → index.vue.d.ts} +10 -2
  155. package/dist/types/__VUE/comment/{index.taro.vue.d.ts → index.vue.d.ts} +2 -1
  156. package/dist/types/__VUE/configprovider/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  157. package/dist/types/__VUE/countdown/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  158. package/dist/types/__VUE/countup/{index.taro.vue.d.ts → index.vue.d.ts} +7 -5
  159. package/dist/types/__VUE/datepicker/{index.taro.vue.d.ts → index.vue.d.ts} +5 -5
  160. package/dist/types/__VUE/dialog/index.d.ts +48 -0
  161. package/dist/types/__VUE/dialog/{index.taro.vue.d.ts → index.vue.d.ts} +12 -9
  162. package/dist/types/__VUE/divider/{index.taro.vue.d.ts → index.vue.d.ts} +1 -1
  163. package/dist/types/__VUE/drag/{index.taro.vue.d.ts → index.vue.d.ts} +1 -2
  164. package/dist/types/__VUE/ecard/{index.taro.vue.d.ts → index.vue.d.ts} +3 -3
  165. package/dist/types/__VUE/elevator/{index.taro.vue.d.ts → index.vue.d.ts} +2 -11
  166. package/dist/types/__VUE/ellipsis/{index.taro.vue.d.ts → index.vue.d.ts} +0 -4
  167. package/dist/types/__VUE/empty/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  168. package/dist/types/__VUE/fixednav/{index.taro.vue.d.ts → index.vue.d.ts} +1 -1
  169. package/dist/types/__VUE/form/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  170. package/dist/types/__VUE/grid/{index.taro.vue.d.ts → index.vue.d.ts} +2 -2
  171. package/dist/types/__VUE/griditem/{index.taro.vue.d.ts → index.vue.d.ts} +27 -2
  172. package/dist/types/__VUE/image/index.vue.d.ts +117 -0
  173. package/dist/types/__VUE/image/type.d.ts +6 -0
  174. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +109 -0
  175. package/dist/types/__VUE/imagepreview/index.d.ts +25 -0
  176. package/dist/types/__VUE/imagepreview/{index.taro.vue.d.ts → index.vue.d.ts} +44 -33
  177. package/dist/types/__VUE/indicator/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  178. package/dist/types/__VUE/infiniteloading/{index.taro.vue.d.ts → index.vue.d.ts} +12 -19
  179. package/dist/types/__VUE/input/{index.taro.vue.d.ts → index.vue.d.ts} +16 -34
  180. package/dist/types/__VUE/inputnumber/{index.taro.vue.d.ts → index.vue.d.ts} +2 -2
  181. package/dist/types/__VUE/invoice/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  182. package/dist/types/__VUE/layout/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  183. package/dist/types/__VUE/list/{index.taro.vue.d.ts → index.vue.d.ts} +2 -2
  184. package/dist/types/__VUE/menu/{index.taro.vue.d.ts → index.vue.d.ts} +0 -1
  185. package/dist/types/__VUE/menuitem/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  186. package/dist/types/__VUE/navbar/{index.taro.vue.d.ts → index.vue.d.ts} +3 -2
  187. package/dist/types/__VUE/noticebar/{index.taro.vue.d.ts → index.vue.d.ts} +4 -4
  188. package/dist/types/__VUE/notify/index.d.ts +26 -0
  189. package/dist/types/__VUE/notify/{index.taro.vue.d.ts → index.vue.d.ts} +18 -5
  190. package/dist/types/__VUE/numberkeyboard/{index.taro.vue.d.ts → index.vue.d.ts} +29 -5
  191. package/dist/types/__VUE/oldpicker/{ColumnTaro.vue.d.ts → Column.vue.d.ts} +17 -28
  192. package/dist/types/__VUE/oldpicker/{index.taro.vue.d.ts → index.vue.d.ts} +44 -64
  193. package/dist/types/__VUE/pagination/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  194. package/dist/types/__VUE/picker/{ColumnTaro.vue.d.ts → Column.vue.d.ts} +4 -16
  195. package/dist/types/__VUE/picker/{index.taro.vue.d.ts → index.vue.d.ts} +28 -53
  196. package/dist/types/__VUE/popover/{index.taro.vue.d.ts → index.vue.d.ts} +13 -15
  197. package/dist/types/__VUE/popup/index.vue.d.ts +1 -1
  198. package/dist/types/__VUE/price/{index.taro.vue.d.ts → index.vue.d.ts} +0 -1
  199. package/dist/types/__VUE/progress/{index.taro.vue.d.ts → index.vue.d.ts} +1 -1
  200. package/dist/types/__VUE/radio/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  201. package/dist/types/__VUE/range/{index.taro.vue.d.ts → index.vue.d.ts} +7 -8
  202. package/dist/types/__VUE/rate/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  203. package/dist/types/__VUE/searchbar/{index.taro.vue.d.ts → index.vue.d.ts} +19 -19
  204. package/dist/types/__VUE/shortpassword/{index.taro.vue.d.ts → index.vue.d.ts} +21 -6
  205. package/dist/types/__VUE/sidenavbar/{index.taro.vue.d.ts → index.vue.d.ts} +5 -0
  206. package/dist/types/__VUE/signature/{index.taro.vue.d.ts → index.vue.d.ts} +5 -8
  207. package/dist/types/__VUE/skeleton/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  208. package/dist/types/__VUE/sku/index.vue.d.ts +310 -0
  209. package/dist/types/__VUE/step/index.vue.d.ts +1 -1
  210. package/dist/types/__VUE/steps/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  211. package/dist/types/__VUE/sticky/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  212. package/dist/types/__VUE/swipe/{index.taro.vue.d.ts → index.vue.d.ts} +1 -2
  213. package/dist/types/__VUE/swiper/{index.taro.vue.d.ts → index.vue.d.ts} +1 -2
  214. package/dist/types/__VUE/swiperitem/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  215. package/dist/types/__VUE/switch/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  216. package/dist/types/__VUE/tabbar/{index.taro.vue.d.ts → index.vue.d.ts} +2 -1
  217. package/dist/types/__VUE/tabbaritem/{index.taro.vue.d.ts → index.vue.d.ts} +9 -9
  218. package/dist/types/__VUE/table/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  219. package/dist/types/__VUE/tabs/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  220. package/dist/types/__VUE/tag/{index.taro.vue.d.ts → index.vue.d.ts} +4 -4
  221. package/dist/types/__VUE/tag/type.d.ts +5 -0
  222. package/dist/types/__VUE/textarea/{index.taro.vue.d.ts → index.vue.d.ts} +3 -5
  223. package/dist/types/__VUE/timedetail/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  224. package/dist/types/__VUE/timepannel/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  225. package/dist/types/__VUE/timeselect/{index.taro.vue.d.ts → index.vue.d.ts} +8 -7
  226. package/dist/types/__VUE/toast/index.d.ts +16 -0
  227. package/dist/types/__VUE/toast/{index.taro.vue.d.ts → index.vue.d.ts} +22 -44
  228. package/dist/types/__VUE/trendarrow/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
  229. package/dist/types/__VUE/uploader/{index.taro.vue.d.ts → index.vue.d.ts} +13 -22
  230. package/dist/types/__VUE/watermark/{index.taro.vue.d.ts → index.vue.d.ts} +1 -1
  231. package/dist/types/index.d.ts +1 -1
  232. package/dist/types/nutui.d.ts +89 -89
  233. package/package.json +3 -2
  234. package/dist/packages/_es/use-lock-scroll.js +0 -23
  235. package/dist/types/__VUE/button/index.taro.vue.d.ts +0 -116
  236. package/dist/types/__VUE/icon/index.taro.vue.d.ts +0 -74
  237. package/dist/types/__VUE/image/index.taro.vue.d.ts +0 -33
  238. package/dist/types/__VUE/overlay/index.taro.vue.d.ts +0 -85
  239. package/dist/types/__VUE/popup/index.taro.vue.d.ts +0 -1728
  240. package/dist/types/__VUE/sku/index.taro.vue.d.ts +0 -182
@@ -13,10 +13,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
13
13
  type: BooleanConstructor;
14
14
  default: boolean;
15
15
  };
16
- type: {
17
- type: StringConstructor;
18
- default: string;
19
- };
16
+ type: StringConstructor;
20
17
  customClass: StringConstructor;
21
18
  bottom: {
22
19
  type: StringConstructor;
@@ -26,6 +23,10 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
26
23
  type: (NumberConstructor | StringConstructor)[];
27
24
  default: string;
28
25
  };
26
+ iconSize: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
29
30
  icon: StringConstructor;
30
31
  textAlignCenter: {
31
32
  type: BooleanConstructor;
@@ -57,37 +58,19 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
57
58
  type: BooleanConstructor;
58
59
  default: boolean;
59
60
  };
60
- visible: {
61
- type: BooleanConstructor;
62
- default: boolean;
63
- };
64
61
  }, {
62
+ state: {
63
+ mounted: boolean;
64
+ };
65
+ hide: () => void;
65
66
  clickCover: () => void;
66
67
  hasIcon: import("vue").ComputedRef<boolean>;
67
- iconName: import("vue").ComputedRef<string | undefined>;
68
- toastBodyClass: import("vue").ComputedRef<(string | {
69
- 'nut-toast-center': boolean;
70
- 'nut-toast-has-icon'?: undefined;
71
- 'nut-toast-cover'?: undefined;
72
- 'nut-toast-loading'?: undefined;
73
- } | {
74
- 'nut-toast-has-icon': boolean;
75
- 'nut-toast-center'?: undefined;
76
- 'nut-toast-cover'?: undefined;
77
- 'nut-toast-loading'?: undefined;
78
- } | {
79
- 'nut-toast-cover': boolean;
80
- 'nut-toast-center'?: undefined;
81
- 'nut-toast-has-icon'?: undefined;
82
- 'nut-toast-loading'?: undefined;
83
- } | {
84
- 'nut-toast-loading': boolean;
85
- 'nut-toast-center'?: undefined;
86
- 'nut-toast-has-icon'?: undefined;
87
- 'nut-toast-cover'?: undefined;
88
- } | undefined)[]>;
68
+ toastBodyClass: import("vue").ComputedRef<any[]>;
69
+ toastIconWrapperClass: import("vue").ComputedRef<(string | {
70
+ 'nut-toast-icon-no-animation': boolean;
71
+ })[]>;
89
72
  onAfterLeave: () => void;
90
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "closed")[], "update:visible" | "closed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
73
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
91
74
  id: StringConstructor;
92
75
  msg: StringConstructor;
93
76
  duration: {
@@ -98,10 +81,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
98
81
  type: BooleanConstructor;
99
82
  default: boolean;
100
83
  };
101
- type: {
102
- type: StringConstructor;
103
- default: string;
104
- };
84
+ type: StringConstructor;
105
85
  customClass: StringConstructor;
106
86
  bottom: {
107
87
  type: StringConstructor;
@@ -111,6 +91,10 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
111
91
  type: (NumberConstructor | StringConstructor)[];
112
92
  default: string;
113
93
  };
94
+ iconSize: {
95
+ type: StringConstructor;
96
+ default: string;
97
+ };
114
98
  icon: StringConstructor;
115
99
  textAlignCenter: {
116
100
  type: BooleanConstructor;
@@ -142,23 +126,17 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
142
126
  type: BooleanConstructor;
143
127
  default: boolean;
144
128
  };
145
- visible: {
146
- type: BooleanConstructor;
147
- default: boolean;
148
- };
149
129
  }>> & {
150
- "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
151
- onClosed?: ((...args: any[]) => any) | undefined;
130
+ onClose?: ((...args: any[]) => any) | undefined;
152
131
  }, {
153
- type: string;
154
132
  title: string;
155
133
  size: string | number;
156
- center: boolean;
157
134
  bottom: string;
158
- visible: boolean;
135
+ center: boolean;
159
136
  duration: number;
160
137
  closeOnClickOverlay: boolean;
161
138
  cover: boolean;
139
+ iconSize: string;
162
140
  textAlignCenter: boolean;
163
141
  loadingRotate: boolean;
164
142
  bgColor: string;
@@ -11,14 +11,6 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
11
11
  type: StringConstructor;
12
12
  default: string;
13
13
  };
14
- sizeType: {
15
- type: PropType<import("./type").SizeType[]>;
16
- default: () => string[];
17
- };
18
- sourceType: {
19
- type: PropType<import("./type").SourceType[]>;
20
- default: () => string[];
21
- };
22
14
  timeout: {
23
15
  type: (NumberConstructor | StringConstructor)[];
24
16
  default: number;
@@ -83,6 +75,10 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
83
75
  type: (NumberConstructor | StringConstructor)[];
84
76
  default: number;
85
77
  };
78
+ withCredentials: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
86
82
  multiple: {
87
83
  type: BooleanConstructor;
88
84
  default: boolean;
@@ -111,16 +107,16 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
111
107
  type: FunctionConstructor;
112
108
  };
113
109
  }, {
110
+ onChange: (event: InputEvent) => void;
114
111
  onDelete: (file: import('./type').FileItem, index: number) => void;
115
112
  fileList: FileItem[];
116
113
  classes: import("vue").ComputedRef<{
117
114
  [x: string]: boolean;
118
115
  }>;
119
- chooseImage: () => void;
120
116
  fileItemClick: (fileItem: import('./type').FileItem) => void;
121
117
  clearUploadQueue: (index?: number) => void;
122
118
  submit: () => void;
123
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("progress" | "success" | "start" | "change" | "delete" | "oversize" | "failure" | "update:fileList" | "file-item-click")[], "progress" | "success" | "start" | "change" | "delete" | "oversize" | "failure" | "update:fileList" | "file-item-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
119
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("progress" | "success" | "start" | "change" | "oversize" | "failure" | "delete" | "update:fileList" | "file-item-click")[], "progress" | "success" | "start" | "change" | "oversize" | "failure" | "delete" | "update:fileList" | "file-item-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
124
120
  name: {
125
121
  type: StringConstructor;
126
122
  default: string;
@@ -129,14 +125,6 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
129
125
  type: StringConstructor;
130
126
  default: string;
131
127
  };
132
- sizeType: {
133
- type: PropType<import("./type").SizeType[]>;
134
- default: () => string[];
135
- };
136
- sourceType: {
137
- type: PropType<import("./type").SourceType[]>;
138
- default: () => string[];
139
- };
140
128
  timeout: {
141
129
  type: (NumberConstructor | StringConstructor)[];
142
130
  default: number;
@@ -201,6 +189,10 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
201
189
  type: (NumberConstructor | StringConstructor)[];
202
190
  default: number;
203
191
  };
192
+ withCredentials: {
193
+ type: BooleanConstructor;
194
+ default: boolean;
195
+ };
204
196
  multiple: {
205
197
  type: BooleanConstructor;
206
198
  default: boolean;
@@ -230,23 +222,21 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
230
222
  };
231
223
  }>> & {
232
224
  onChange?: ((...args: any[]) => any) | undefined;
233
- onDelete?: ((...args: any[]) => any) | undefined;
234
225
  onProgress?: ((...args: any[]) => any) | undefined;
235
226
  onSuccess?: ((...args: any[]) => any) | undefined;
236
227
  onStart?: ((...args: any[]) => any) | undefined;
237
228
  onOversize?: ((...args: any[]) => any) | undefined;
238
229
  onFailure?: ((...args: any[]) => any) | undefined;
230
+ onDelete?: ((...args: any[]) => any) | undefined;
239
231
  "onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
240
232
  "onFile-item-click"?: ((...args: any[]) => any) | undefined;
241
233
  }, {
242
234
  name: string;
243
235
  data: Record<string, any>;
244
- url: string;
245
236
  disabled: boolean;
237
+ url: string;
246
238
  maximum: string | number;
247
239
  multiple: boolean;
248
- sizeType: import("./type").SizeType[];
249
- sourceType: import("./type").SourceType[];
250
240
  timeout: string | number;
251
241
  fileList: unknown[];
252
242
  isPreview: boolean;
@@ -261,6 +251,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
261
251
  uploadIcon: string;
262
252
  uploadIconSize: string | number;
263
253
  xhrState: string | number;
254
+ withCredentials: boolean;
264
255
  autoUpload: boolean;
265
256
  beforeUpload: Function;
266
257
  beforeXhrUpload: Function;
@@ -149,11 +149,11 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
149
149
  onClick?: ((...args: any[]) => any) | undefined;
150
150
  }, {
151
151
  name: string;
152
- image: string;
153
152
  zIndex: number;
154
153
  content: string;
155
154
  width: number;
156
155
  height: number;
156
+ image: string;
157
157
  rotate: number;
158
158
  gapY: number;
159
159
  gapX: number;
@@ -3,6 +3,6 @@ declare namespace _default {
3
3
  export { version };
4
4
  }
5
5
  export function install(app: any): void;
6
- export const version: '3.2.6-beta.1';
6
+ export const version: '3.2.6-beta.2';
7
7
  export default _default;
8
8
  export * from './nutui';
@@ -1,106 +1,106 @@
1
1
  import Locale from '../packages/locale';
2
- import Button from './__VUE/button/index.taro.vue';
3
- import Cell from './__VUE/cell/index.taro.vue';
2
+ import Button from './__VUE/button/index.vue';
3
+ import Cell from './__VUE/cell/index.vue';
4
4
  import CellGroup from './__VUE/cellgroup/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';
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';
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.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';
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';
26
26
  import TabPane from './__VUE/tabpane/index.vue';
27
- import Indicator from './__VUE/indicator/index.taro.vue';
28
- import SideNavBar from './__VUE/sidenavbar/index.taro.vue';
27
+ import Indicator from './__VUE/indicator/index.vue';
28
+ import SideNavBar from './__VUE/sidenavbar/index.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.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';
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';
36
36
  import CheckboxGroup from './__VUE/checkboxgroup/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';
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';
41
41
  import RadioGroup from './__VUE/radiogroup/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';
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';
50
50
  import FormItem from './__VUE/formitem/index.vue';
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';
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';
59
59
  import PullRefresh from './__VUE/pullrefresh/index.vue';
60
- import Switch from './__VUE/switch/index.taro.vue';
61
- import Toast from './__VUE/toast/index.taro.vue';
60
+ import Switch from './__VUE/switch/index.vue';
61
+ import Toast from './__VUE/toast';
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.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';
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';
71
71
  import Video from './__VUE/video/index.vue';
72
- import Steps from './__VUE/steps/index.taro.vue';
72
+ import Steps from './__VUE/steps/index.vue';
73
73
  import Step from './__VUE/step/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';
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';
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.6-beta.1",
3
+ "version": "3.2.6-beta.2",
4
4
  "description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
5
5
  "main": "dist/nutui.umd.js",
6
6
  "module": "dist/nutui.es.js",
@@ -74,6 +74,7 @@
74
74
  }
75
75
  },
76
76
  "dependencies": {
77
+ "@tarojs/components": "3.5.6",
77
78
  "sass": "^1.50.0",
78
79
  "vscode": "^1.1.37",
79
80
  "vue-router": "^4.0.12"
@@ -82,7 +83,7 @@
82
83
  "@commitlint/cli": "^10.0.0",
83
84
  "@commitlint/config-conventional": "^10.0.0",
84
85
  "@popperjs/core": "^2.11.5",
85
- "@tarojs/taro": "^3.4.0",
86
+ "@tarojs/taro": "3.5.6",
86
87
  "@types/jest": "^26.0.22",
87
88
  "@types/node": "^17.0.16",
88
89
  "@typescript-eslint/eslint-plugin": "^4.20.0",
@@ -1,23 +0,0 @@
1
- /*!
2
- * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
- * (c) 2022 @jdf2e.
4
- * Released under the MIT License.
5
- */
6
- let count = 0;
7
- const CLSNAME = "nut-overflow-hidden";
8
- const useLockScroll = (isLock) => {
9
- const lock = () => {
10
- if (isLock()) {
11
- !count && document.body.classList.add(CLSNAME);
12
- count++;
13
- }
14
- };
15
- const unlock = () => {
16
- if (isLock() && count) {
17
- count--;
18
- !count && document.body.classList.remove(CLSNAME);
19
- }
20
- };
21
- return [lock, unlock];
22
- };
23
- export { useLockScroll as u };
@@ -1,116 +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
- color: StringConstructor;
7
- shape: {
8
- type: PropType<import("./type").ButtonShape>;
9
- default: string;
10
- };
11
- plain: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- loading: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- disabled: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- type: {
24
- type: PropType<import("./type").ButtonType>;
25
- default: string;
26
- };
27
- size: {
28
- type: PropType<import("./type").ButtonSize>;
29
- default: string;
30
- };
31
- block: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- icon: {
36
- type: StringConstructor;
37
- default: string;
38
- };
39
- iconClassPrefix: {
40
- type: StringConstructor;
41
- default: string;
42
- };
43
- iconFontClassName: {
44
- type: StringConstructor;
45
- default: string;
46
- };
47
- }, {
48
- handleClick: (event: MouseEvent) => void;
49
- classes: import("vue").ComputedRef<{
50
- [x: string]: boolean | import("./type").ButtonShape | import("./type").ButtonType | import("./type").ButtonSize;
51
- }>;
52
- getStyle: import("vue").ComputedRef<CSSProperties>;
53
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
54
- color: StringConstructor;
55
- shape: {
56
- type: PropType<import("./type").ButtonShape>;
57
- default: string;
58
- };
59
- plain: {
60
- type: BooleanConstructor;
61
- default: boolean;
62
- };
63
- loading: {
64
- type: BooleanConstructor;
65
- default: boolean;
66
- };
67
- disabled: {
68
- type: BooleanConstructor;
69
- default: boolean;
70
- };
71
- type: {
72
- type: PropType<import("./type").ButtonType>;
73
- default: string;
74
- };
75
- size: {
76
- type: PropType<import("./type").ButtonSize>;
77
- default: string;
78
- };
79
- block: {
80
- type: BooleanConstructor;
81
- default: boolean;
82
- };
83
- icon: {
84
- type: StringConstructor;
85
- default: string;
86
- };
87
- iconClassPrefix: {
88
- type: StringConstructor;
89
- default: string;
90
- };
91
- iconFontClassName: {
92
- type: StringConstructor;
93
- default: string;
94
- };
95
- }>> & {
96
- onClick?: ((...args: any[]) => any) | undefined;
97
- }, {
98
- type: import("./type").ButtonType;
99
- icon: string;
100
- size: import("./type").ButtonSize;
101
- shape: import("./type").ButtonShape;
102
- plain: boolean;
103
- loading: boolean;
104
- disabled: boolean;
105
- block: boolean;
106
- iconClassPrefix: string;
107
- iconFontClassName: string;
108
- }>>;
109
- export default _sfc_main;
110
-
111
- declare module 'vue' {
112
- interface GlobalComponents {
113
- NutButton: typeof _sfc_main;
114
- }
115
- }
116
-