@nutui/nutui 3.2.2 → 3.2.4-beta.0

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 (281) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/README.md +4 -4
  3. package/dist/nutui.es.js +2136 -1419
  4. package/dist/nutui.umd.js +2145 -1427
  5. package/dist/packages/_es/ActionSheet.js +4 -22
  6. package/dist/packages/_es/Address.js +63 -57
  7. package/dist/packages/_es/AddressList.js +12 -9
  8. package/dist/packages/_es/Animate.js +2 -21
  9. package/dist/packages/_es/Audio.js +11 -25
  10. package/dist/packages/_es/AudioOperate.js +3 -23
  11. package/dist/packages/_es/Avatar.js +6 -21
  12. package/dist/packages/_es/AvatarGroup.js +1 -1
  13. package/dist/packages/_es/BackTop.js +1 -1
  14. package/dist/packages/_es/Badge.js +1 -1
  15. package/dist/packages/_es/Barrage.js +74 -22
  16. package/dist/packages/_es/Button.js +1 -1
  17. package/dist/packages/_es/Calendar.js +17 -9
  18. package/dist/packages/_es/CalendarItem.js +1 -1
  19. package/dist/packages/_es/Card.js +1 -1
  20. package/dist/packages/_es/Cascader.js +72 -68
  21. package/dist/packages/_es/Category.js +1 -1
  22. package/dist/packages/_es/CategoryPane.js +1 -1
  23. package/dist/packages/_es/Cell.js +1 -1
  24. package/dist/packages/_es/CellGroup.js +1 -1
  25. package/dist/packages/_es/Checkbox.js +31 -17
  26. package/dist/packages/_es/CheckboxGroup.js +14 -7
  27. package/dist/packages/_es/CircleProgress.js +4 -4
  28. package/dist/packages/_es/Col.js +1 -1
  29. package/dist/packages/_es/Collapse.js +22 -19
  30. package/dist/packages/_es/CollapseItem.js +18 -32
  31. package/dist/packages/_es/Comment.js +13 -9
  32. package/dist/packages/_es/ConfigProvider.js +8 -4
  33. package/dist/packages/_es/CountDown.js +40 -46
  34. package/dist/packages/_es/CountUp.js +41 -40
  35. package/dist/packages/_es/DatePicker.js +25 -33
  36. package/dist/packages/_es/Dialog.js +13 -28
  37. package/dist/packages/_es/Divider.js +7 -24
  38. package/dist/packages/_es/Drag.js +2 -2
  39. package/dist/packages/_es/Ecard.js +8 -5
  40. package/dist/packages/_es/Elevator.js +27 -39
  41. package/dist/packages/_es/Ellipsis.js +21 -31
  42. package/dist/packages/_es/Empty.js +1 -1
  43. package/dist/packages/_es/FixedNav.js +1 -1
  44. package/dist/packages/_es/Form.js +23 -12
  45. package/dist/packages/_es/FormItem.js +1 -1
  46. package/dist/packages/_es/Grid.js +1 -1
  47. package/dist/packages/_es/GridItem.js +1 -1
  48. package/dist/packages/_es/Icon.js +15 -11
  49. package/dist/packages/_es/Image.js +8 -24
  50. package/dist/packages/_es/ImagePreview.js +34 -48
  51. package/dist/packages/_es/Indicator.js +1 -1
  52. package/dist/packages/_es/InfiniteLoading.js +5 -24
  53. package/dist/packages/_es/Input.js +8 -5
  54. package/dist/packages/_es/InputNumber.js +1 -1
  55. package/dist/packages/_es/Invoice.js +10 -25
  56. package/dist/packages/_es/Layout.js +1 -1
  57. package/dist/packages/_es/List.js +21 -30
  58. package/dist/packages/_es/Menu.js +13 -7
  59. package/dist/packages/_es/MenuItem.js +2 -21
  60. package/dist/packages/_es/Navbar.js +1 -1
  61. package/dist/packages/_es/NoticeBar.js +18 -29
  62. package/dist/packages/_es/Notify.js +16 -32
  63. package/dist/packages/_es/NumberKeyboard.js +23 -18
  64. package/dist/packages/_es/OldPicker.js +47 -46
  65. package/dist/packages/_es/OverLay.js +11 -23
  66. package/dist/packages/_es/Pagination.js +6 -6
  67. package/dist/packages/_es/Picker.js +66 -59
  68. package/dist/packages/_es/Popover.js +55 -52
  69. package/dist/packages/_es/Popup.js +35 -40
  70. package/dist/packages/_es/Price.js +1 -1
  71. package/dist/packages/_es/Progress.js +2 -2
  72. package/dist/packages/_es/PullRefresh.js +5 -20
  73. package/dist/packages/_es/Radio.js +25 -13
  74. package/dist/packages/_es/RadioGroup.js +12 -5
  75. package/dist/packages/_es/Range.js +20 -33
  76. package/dist/packages/_es/Rate.js +6 -24
  77. package/dist/packages/_es/Row.js +1 -1
  78. package/dist/packages/_es/SearchBar.js +6 -25
  79. package/dist/packages/_es/ShortPassword.js +18 -11
  80. package/dist/packages/_es/SideNavBar.js +6 -24
  81. package/dist/packages/_es/SideNavBarItem.js +1 -1
  82. package/dist/packages/_es/Signature.js +2 -21
  83. package/dist/packages/_es/Skeleton.js +1 -1
  84. package/dist/packages/_es/Sku.js +30 -35
  85. package/dist/packages/_es/Step.js +4 -22
  86. package/dist/packages/_es/Steps.js +8 -4
  87. package/dist/packages/_es/Sticky.js +23 -12
  88. package/dist/packages/_es/SubSideNavBar.js +4 -22
  89. package/dist/packages/_es/Swipe.js +5 -24
  90. package/dist/packages/_es/Swiper.js +23 -14
  91. package/dist/packages/_es/SwiperItem.js +1 -1
  92. package/dist/packages/_es/Switch.js +10 -7
  93. package/dist/packages/_es/TabPane.js +1 -1
  94. package/dist/packages/_es/Tabbar.js +7 -4
  95. package/dist/packages/_es/TabbarItem.js +1 -1
  96. package/dist/packages/_es/Table.js +10 -25
  97. package/dist/packages/_es/Tabs.js +99 -34
  98. package/dist/packages/_es/Tag.js +1 -2
  99. package/dist/packages/_es/TextArea.js +8 -5
  100. package/dist/packages/_es/TimeDetail.js +5 -24
  101. package/dist/packages/_es/TimePannel.js +4 -22
  102. package/dist/packages/_es/TimeSelect.js +1 -1
  103. package/dist/packages/_es/Toast.js +21 -37
  104. package/dist/packages/_es/TrendArrow.js +131 -0
  105. package/dist/packages/_es/Uploader.js +40 -34
  106. package/dist/packages/_es/Video.js +22 -33
  107. package/dist/packages/_es/WaterMark.js +31 -41
  108. package/dist/packages/_es/common.js +21 -11
  109. package/dist/packages/_es/component.js +13 -6
  110. package/dist/packages/_es/index.js +1 -1
  111. package/dist/packages/_es/index2.js +1 -1
  112. package/dist/packages/_es/index3.js +1 -1
  113. package/dist/packages/_es/index4.js +1 -1
  114. package/dist/packages/_es/index5.js +39 -41
  115. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  116. package/dist/packages/_es/pxCheck.js +1 -1
  117. package/dist/packages/_es/raf.js +1 -1
  118. package/dist/packages/_es/style.css +16 -1
  119. package/dist/packages/barrage/index.scss +27 -18
  120. package/dist/packages/ellipsis/index.scss +1 -0
  121. package/dist/packages/index.d.ts +5 -0
  122. package/dist/packages/list/index.scss +0 -1
  123. package/dist/packages/locale/lang/baseLang.js +1 -1
  124. package/dist/packages/locale/lang/en-US.js +1 -1
  125. package/dist/packages/locale/lang/id-ID.js +1 -1
  126. package/dist/packages/locale/lang/index.js +1 -1
  127. package/dist/packages/locale/lang/zh-CN.js +1 -1
  128. package/dist/packages/locale/lang/zh-TW.js +1 -1
  129. package/dist/packages/picker/index.scss +14 -0
  130. package/dist/packages/tabbar/index.scss +3 -2
  131. package/dist/packages/trendarrow/index.scss +17 -0
  132. package/dist/smartips/attributes.json +76 -12
  133. package/dist/smartips/tags.json +30 -10
  134. package/dist/smartips/web-types.json +164 -13
  135. package/dist/style.css +1 -1
  136. package/dist/style.es.js +1 -1
  137. package/dist/styles/font/config.json +3 -1
  138. package/dist/styles/font/demo_index.html +51 -5
  139. package/dist/styles/font/iconfont.css +11 -3
  140. package/dist/styles/font/iconfont.js +64 -61
  141. package/dist/styles/font/iconfont.json +14 -0
  142. package/dist/styles/font/iconfont.ttf +0 -0
  143. package/dist/styles/font/iconfont.woff +0 -0
  144. package/dist/styles/font/iconfont.woff2 +0 -0
  145. package/dist/styles/themes/default.scss +53 -52
  146. package/dist/styles/themes/jdb.scss +53 -52
  147. package/dist/styles/themes/jdt.scss +53 -52
  148. package/dist/styles/variables-jdb.scss +4 -1
  149. package/dist/styles/variables-jdt.scss +4 -1
  150. package/dist/styles/variables.scss +4 -1
  151. package/dist/types/__VUE/actionsheet/index.vue.d.ts +121 -74
  152. package/dist/types/__VUE/address/index.vue.d.ts +159 -91
  153. package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +9 -15
  154. package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +13 -17
  155. package/dist/types/__VUE/addresslist/components/LongPressShell.vue.d.ts +9 -15
  156. package/dist/types/__VUE/addresslist/components/SwipeShell.vue.d.ts +9 -15
  157. package/dist/types/__VUE/addresslist/index.vue.d.ts +25 -23
  158. package/dist/types/__VUE/animate/index.vue.d.ts +18 -19
  159. package/dist/types/__VUE/audio/index.vue.d.ts +33 -27
  160. package/dist/types/__VUE/audiooperate/index.vue.d.ts +9 -15
  161. package/dist/types/__VUE/avatar/index.vue.d.ts +37 -31
  162. package/dist/types/__VUE/avatargroup/index.vue.d.ts +37 -29
  163. package/dist/types/__VUE/backtop/index.vue.d.ts +34 -28
  164. package/dist/types/__VUE/badge/index.vue.d.ts +37 -31
  165. package/dist/types/__VUE/barrage/index.vue.d.ts +31 -26
  166. package/dist/types/__VUE/button/index.vue.d.ts +48 -37
  167. package/dist/types/__VUE/calendar/index.vue.d.ts +65 -45
  168. package/dist/types/__VUE/calendaritem/index.vue.d.ts +101 -55
  169. package/dist/types/__VUE/card/index.vue.d.ts +37 -29
  170. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +29 -33
  171. package/dist/types/__VUE/cascader/index.vue.d.ts +114 -74
  172. package/dist/types/__VUE/cascader/types.d.ts +5 -0
  173. package/dist/types/__VUE/category/index.vue.d.ts +14 -17
  174. package/dist/types/__VUE/categorypane/index.vue.d.ts +17 -19
  175. package/dist/types/__VUE/cell/index.vue.d.ts +58 -44
  176. package/dist/types/__VUE/cellgroup/index.vue.d.ts +13 -17
  177. package/dist/types/__VUE/checkbox/index.vue.d.ts +49 -35
  178. package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +17 -19
  179. package/dist/types/__VUE/circleprogress/index.vue.d.ts +33 -27
  180. package/dist/types/__VUE/col/index.vue.d.ts +13 -17
  181. package/dist/types/__VUE/collapse/index.vue.d.ts +43 -34
  182. package/dist/types/__VUE/collapseitem/index.vue.d.ts +32 -31
  183. package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +17 -19
  184. package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +17 -19
  185. package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +17 -19
  186. package/dist/types/__VUE/comment/index.vue.d.ts +41 -31
  187. package/dist/types/__VUE/configprovider/index.vue.d.ts +13 -17
  188. package/dist/types/__VUE/countdown/index.vue.d.ts +37 -30
  189. package/dist/types/__VUE/countup/index.vue.d.ts +76 -50
  190. package/dist/types/__VUE/datepicker/index.vue.d.ts +136 -82
  191. package/dist/types/__VUE/dialog/index.vue.d.ts +141 -85
  192. package/dist/types/__VUE/divider/index.vue.d.ts +21 -21
  193. package/dist/types/__VUE/drag/index.vue.d.ts +22 -19
  194. package/dist/types/__VUE/ecard/index.vue.d.ts +46 -33
  195. package/dist/types/__VUE/elevator/index.vue.d.ts +36 -26
  196. package/dist/types/__VUE/ellipsis/index.vue.d.ts +44 -25
  197. package/dist/types/__VUE/empty/index.vue.d.ts +17 -19
  198. package/dist/types/__VUE/fixednav/index.vue.d.ts +42 -31
  199. package/dist/types/__VUE/form/common.d.ts +4 -0
  200. package/dist/types/__VUE/form/index.vue.d.ts +18 -15
  201. package/dist/types/__VUE/form/types.d.ts +3 -0
  202. package/dist/types/__VUE/formitem/index.vue.d.ts +46 -33
  203. package/dist/types/__VUE/formitem/types.d.ts +5 -2
  204. package/dist/types/__VUE/grid/index.vue.d.ts +44 -35
  205. package/dist/types/__VUE/griditem/index.vue.d.ts +29 -28
  206. package/dist/types/__VUE/icon/index.vue.d.ts +30 -25
  207. package/dist/types/__VUE/image/index.vue.d.ts +41 -35
  208. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +47 -39
  209. package/dist/types/__VUE/imagepreview/index.d.ts +4 -4
  210. package/dist/types/__VUE/imagepreview/index.vue.d.ts +70 -47
  211. package/dist/types/__VUE/indicator/index.vue.d.ts +27 -23
  212. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +49 -35
  213. package/dist/types/__VUE/input/index.vue.d.ts +137 -80
  214. package/dist/types/__VUE/inputnumber/index.vue.d.ts +49 -35
  215. package/dist/types/__VUE/invoice/index.vue.d.ts +17 -19
  216. package/dist/types/__VUE/layout/index.vue.d.ts +2 -9
  217. package/dist/types/__VUE/list/index.vue.d.ts +19 -19
  218. package/dist/types/__VUE/menu/index.vue.d.ts +35 -32
  219. package/dist/types/__VUE/menuitem/index.vue.d.ts +26 -30
  220. package/dist/types/__VUE/navbar/index.vue.d.ts +45 -33
  221. package/dist/types/__VUE/noticebar/index.vue.d.ts +69 -47
  222. package/dist/types/__VUE/notify/index.vue.d.ts +45 -40
  223. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +69 -46
  224. package/dist/types/__VUE/oldpicker/Column.vue.d.ts +22 -24
  225. package/dist/types/__VUE/oldpicker/index.vue.d.ts +129 -82
  226. package/dist/types/__VUE/overlay/index.vue.d.ts +64 -1557
  227. package/dist/types/__VUE/pagination/index.vue.d.ts +45 -35
  228. package/dist/types/__VUE/picker/Column.vue.d.ts +30 -29
  229. package/dist/types/__VUE/picker/index.vue.d.ts +150 -91
  230. package/dist/types/__VUE/popover/index.vue.d.ts +112 -70
  231. package/dist/types/__VUE/popup/index.vue.d.ts +177 -73
  232. package/dist/types/__VUE/price/index.vue.d.ts +33 -27
  233. package/dist/types/__VUE/progress/index.vue.d.ts +54 -37
  234. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +49 -27
  235. package/dist/types/__VUE/radio/index.vue.d.ts +37 -29
  236. package/dist/types/__VUE/radiogroup/index.vue.d.ts +17 -19
  237. package/dist/types/__VUE/range/index.vue.d.ts +50 -44
  238. package/dist/types/__VUE/rate/index.vue.d.ts +61 -41
  239. package/dist/types/__VUE/row/index.vue.d.ts +25 -23
  240. package/dist/types/__VUE/searchbar/index.vue.d.ts +62 -41
  241. package/dist/types/__VUE/searchbar/type.d.ts +5 -0
  242. package/dist/types/__VUE/shortpassword/index.vue.d.ts +45 -33
  243. package/dist/types/__VUE/sidenavbar/index.vue.d.ts +10 -15
  244. package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +13 -17
  245. package/dist/types/__VUE/signature/index.vue.d.ts +25 -23
  246. package/dist/types/__VUE/skeleton/common.d.ts +1 -1
  247. package/dist/types/__VUE/skeleton/index.vue.d.ts +46 -34
  248. package/dist/types/__VUE/sku/components/SkuHeader.vue.d.ts +9 -15
  249. package/dist/types/__VUE/sku/components/SkuOperate.vue.d.ts +25 -23
  250. package/dist/types/__VUE/sku/components/SkuSelect.vue.d.ts +9 -15
  251. package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +21 -21
  252. package/dist/types/__VUE/sku/index.vue.d.ts +129 -78
  253. package/dist/types/__VUE/step/index.vue.d.ts +27 -25
  254. package/dist/types/__VUE/steps/index.vue.d.ts +17 -19
  255. package/dist/types/__VUE/sticky/index.vue.d.ts +26 -25
  256. package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +17 -19
  257. package/dist/types/__VUE/swipe/index.vue.d.ts +24 -22
  258. package/dist/types/__VUE/swiper/index.vue.d.ts +59 -40
  259. package/dist/types/__VUE/swiperitem/index.vue.d.ts +8 -10
  260. package/dist/types/__VUE/switch/index.vue.d.ts +53 -37
  261. package/dist/types/__VUE/tabbar/index.vue.d.ts +34 -28
  262. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +45 -36
  263. package/dist/types/__VUE/table/common.d.ts +1 -1
  264. package/dist/types/__VUE/table/index.vue.d.ts +26 -24
  265. package/dist/types/__VUE/tabpane/index.vue.d.ts +17 -19
  266. package/dist/types/__VUE/tabs/common.d.ts +13 -0
  267. package/dist/types/__VUE/tabs/index.vue.d.ts +72 -35
  268. package/dist/types/__VUE/tag/index.vue.d.ts +34 -27
  269. package/dist/types/__VUE/textarea/index.vue.d.ts +46 -34
  270. package/dist/types/__VUE/timedetail/index.vue.d.ts +13 -17
  271. package/dist/types/__VUE/timepannel/index.vue.d.ts +13 -17
  272. package/dist/types/__VUE/timeselect/index.vue.d.ts +34 -28
  273. package/dist/types/__VUE/toast/index.d.ts +5 -5
  274. package/dist/types/__VUE/toast/index.vue.d.ts +62 -54
  275. package/dist/types/__VUE/trendarrow/index.vue.d.ts +131 -0
  276. package/dist/types/__VUE/uploader/index.vue.d.ts +111 -68
  277. package/dist/types/__VUE/video/index.vue.d.ts +30 -20
  278. package/dist/types/__VUE/watermark/index.vue.d.ts +75 -49
  279. package/dist/types/index.d.ts +1 -1
  280. package/dist/types/nutui.d.ts +2 -1
  281. package/package.json +5 -5
@@ -2,7 +2,7 @@ import { App, PropType, CSSProperties } from 'vue';
2
2
  declare type Install<T> = T & {
3
3
  install(app: App): void;
4
4
  };
5
- declare const _sfc_main: Install< import("vue").DefineComponent<{
5
+ declare const _default: import("vue").DefineComponent<{
6
6
  type: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -25,30 +25,32 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
25
25
  };
26
26
  }, {
27
27
  getClasses: () => string;
28
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
29
- type?: unknown;
30
- gutter?: unknown;
31
- justify?: unknown;
32
- align?: unknown;
33
- flexWrap?: unknown;
34
- } & {
35
- type: string;
36
- justify: string;
37
- gutter: string | number;
38
- align: string;
39
- flexWrap: string;
40
- } & {}> & {}, {
28
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ type: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ gutter: {
34
+ type: (NumberConstructor | StringConstructor)[];
35
+ default: string;
36
+ };
37
+ justify: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ align: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ flexWrap: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ }>> & {}, {
41
50
  type: string;
42
51
  justify: string;
43
52
  gutter: string | number;
44
53
  align: string;
45
54
  flexWrap: string;
46
- }>>;
47
- export default _sfc_main;
48
-
49
- declare module 'vue' {
50
- interface GlobalComponents {
51
- NutRow: typeof _sfc_main;
52
- }
53
- }
54
-
55
+ }>;
56
+ export default _default;
@@ -2,7 +2,8 @@ import { App, PropType, CSSProperties } from 'vue';
2
2
  declare type Install<T> = T & {
3
3
  install(app: App): void;
4
4
  };
5
- declare const _sfc_main: Install< import("vue").DefineComponent<{
5
+ import { Ref, CSSProperties } from 'vue';
6
+ declare const _default: import("vue").DefineComponent<{
6
7
  modelValue: {
7
8
  type: (NumberConstructor | StringConstructor)[];
8
9
  default: string;
@@ -79,37 +80,64 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
79
80
  styleSearchbar: import("vue").ComputedRef<CSSProperties>;
80
81
  active: Ref<boolean>;
81
82
  inputsearch: Ref<HTMLElement | null>;
82
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "change" | "blur" | "focus" | "update:modelValue" | "search" | "click-input" | "click-left-icon" | "click-right-icon")[], "search" | "clear" | "change" | "blur" | "focus" | "update:modelValue" | "click-input" | "click-left-icon" | "click-right-icon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
83
- modelValue?: unknown;
84
- inputType?: unknown;
85
- label?: unknown;
86
- maxLength?: unknown;
87
- placeholder?: unknown;
88
- clearable?: unknown;
89
- clearIcon?: unknown;
90
- background?: unknown;
91
- inputBackground?: unknown;
92
- focusStyle?: unknown;
93
- autofocus?: unknown;
94
- disabled?: unknown;
95
- readonly?: unknown;
96
- inputAlign?: unknown;
97
- } & {
98
- label: string;
99
- disabled: boolean;
100
- placeholder: string;
101
- modelValue: string | number;
102
- background: string;
103
- inputType: string;
104
- maxLength: string | number;
105
- clearable: boolean;
106
- clearIcon: string;
107
- inputBackground: string;
108
- focusStyle: Record<string, any>;
109
- autofocus: boolean;
110
- readonly: boolean;
111
- inputAlign: string;
112
- } & {}> & {
83
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "change" | "blur" | "focus" | "update:modelValue" | "search" | "click-input" | "click-left-icon" | "click-right-icon")[], "search" | "clear" | "change" | "blur" | "focus" | "update:modelValue" | "click-input" | "click-left-icon" | "click-right-icon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
84
+ modelValue: {
85
+ type: (NumberConstructor | StringConstructor)[];
86
+ default: string;
87
+ };
88
+ inputType: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ label: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ maxLength: {
97
+ type: (NumberConstructor | StringConstructor)[];
98
+ default: string;
99
+ };
100
+ placeholder: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ clearable: {
105
+ type: BooleanConstructor;
106
+ default: boolean;
107
+ };
108
+ clearIcon: {
109
+ type: StringConstructor;
110
+ default: string;
111
+ };
112
+ background: {
113
+ type: StringConstructor;
114
+ default: string;
115
+ };
116
+ inputBackground: {
117
+ type: StringConstructor;
118
+ default: string;
119
+ };
120
+ focusStyle: {
121
+ type: ObjectConstructor;
122
+ default: () => void;
123
+ };
124
+ autofocus: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
128
+ disabled: {
129
+ type: BooleanConstructor;
130
+ default: boolean;
131
+ };
132
+ readonly: {
133
+ type: BooleanConstructor;
134
+ default: boolean;
135
+ };
136
+ inputAlign: {
137
+ type: StringConstructor;
138
+ default: string;
139
+ };
140
+ }>> & {
113
141
  onChange?: ((...args: any[]) => any) | undefined;
114
142
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
115
143
  onClear?: ((...args: any[]) => any) | undefined;
@@ -134,12 +162,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
134
162
  autofocus: boolean;
135
163
  readonly: boolean;
136
164
  inputAlign: string;
137
- }>>;
138
- export default _sfc_main;
139
-
140
- declare module 'vue' {
141
- interface GlobalComponents {
142
- NutSearchBar: typeof _sfc_main;
143
- }
144
- }
145
-
165
+ }>;
166
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { App, PropType, CSSProperties } from 'vue';
2
+ declare type Install<T> = T & {
3
+ install(app: App): void;
4
+ };
5
+ export declare type TextAlign = 'start' | 'end' | 'left' | 'right' | 'center' | 'justify' | 'match-parent';
@@ -2,7 +2,7 @@ import { App, PropType, CSSProperties } from 'vue';
2
2
  declare type Install<T> = T & {
3
3
  install(app: App): void;
4
4
  };
5
- declare const _sfc_main: Install< import("vue").DefineComponent<{
5
+ declare const _default: import("vue").DefineComponent<{
6
6
  title: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -65,29 +65,48 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
65
65
  } | undefined;
66
66
  closeIcon: () => void;
67
67
  translate: (keyPath: string, ...args: unknown[]) => string;
68
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:visible" | "change" | "update:modelValue" | "complete" | "ok" | "tips" | "cancel")[], "close" | "update:visible" | "change" | "update:modelValue" | "complete" | "ok" | "tips" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
69
- title?: unknown;
70
- desc?: unknown;
71
- tips?: unknown;
72
- visible?: unknown;
73
- modelValue?: unknown;
74
- errorMsg?: unknown;
75
- noButton?: unknown;
76
- closeOnClickOverlay?: unknown;
77
- length?: unknown;
78
- isWrapTeleport?: unknown;
79
- } & {
80
- length: string | number;
81
- title: string;
82
- desc: string;
83
- visible: boolean;
84
- closeOnClickOverlay: boolean;
85
- isWrapTeleport: boolean;
86
- modelValue: string;
87
- tips: string;
88
- errorMsg: string;
89
- noButton: boolean;
90
- } & {}> & {
68
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "close" | "change" | "update:modelValue" | "complete" | "ok" | "tips" | "cancel")[], "update:visible" | "close" | "change" | "update:modelValue" | "complete" | "ok" | "tips" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
69
+ title: {
70
+ type: StringConstructor;
71
+ default: string;
72
+ };
73
+ desc: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ tips: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ visible: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
85
+ modelValue: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ };
89
+ errorMsg: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ noButton: {
94
+ type: BooleanConstructor;
95
+ default: boolean;
96
+ };
97
+ closeOnClickOverlay: {
98
+ type: BooleanConstructor;
99
+ default: boolean;
100
+ };
101
+ length: {
102
+ type: (NumberConstructor | StringConstructor)[];
103
+ default: number;
104
+ };
105
+ isWrapTeleport: {
106
+ type: BooleanConstructor;
107
+ default: boolean;
108
+ };
109
+ }>> & {
91
110
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
92
111
  onClose?: ((...args: any[]) => any) | undefined;
93
112
  onChange?: ((...args: any[]) => any) | undefined;
@@ -107,12 +126,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
107
126
  tips: string;
108
127
  errorMsg: string;
109
128
  noButton: boolean;
110
- }>>;
111
- export default _sfc_main;
112
-
113
- declare module 'vue' {
114
- interface GlobalComponents {
115
- NutShortPassword: typeof _sfc_main;
116
- }
117
- }
118
-
129
+ }>;
130
+ export default _default;
@@ -2,7 +2,8 @@ import { App, PropType, CSSProperties } from 'vue';
2
2
  declare type Install<T> = T & {
3
3
  install(app: App): void;
4
4
  };
5
- declare const _sfc_main: Install< import("vue").DefineComponent<{
5
+ import { Ref } from 'vue';
6
+ declare const _default: import("vue").DefineComponent<{
6
7
  offset: {
7
8
  type: (NumberConstructor | StringConstructor)[];
8
9
  default: number;
@@ -18,18 +19,12 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
18
19
  observe: (target: Node, options?: MutationObserverInit | undefined) => void;
19
20
  takeRecords: () => MutationRecord[];
20
21
  } | null>;
21
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
22
- offset?: unknown;
23
- } & {
24
- offset: string | number;
25
- } & {}> & {}, {
22
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ offset: {
24
+ type: (NumberConstructor | StringConstructor)[];
25
+ default: number;
26
+ };
27
+ }>> & {}, {
26
28
  offset: string | number;
27
- }>>;
28
- export default _sfc_main;
29
-
30
- declare module 'vue' {
31
- interface GlobalComponents {
32
- NutSideNavBar: typeof _sfc_main;
33
- }
34
- }
35
-
29
+ }>;
30
+ export default _default;
@@ -2,7 +2,7 @@ import { App, PropType, CSSProperties } from 'vue';
2
2
  declare type Install<T> = T & {
3
3
  install(app: App): void;
4
4
  };
5
- declare const _sfc_main: Install< import("vue").DefineComponent<{
5
+ declare const _default: import("vue").DefineComponent<{
6
6
  title: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -16,23 +16,19 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
16
16
  [x: string]: boolean;
17
17
  }>;
18
18
  handleClick: () => void;
19
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
20
- title?: unknown;
21
- ikey?: unknown;
22
- } & {
23
- title: string;
24
- ikey: string;
25
- } & {}> & {
19
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ title: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ ikey: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ }>> & {
26
29
  onClick?: ((...args: any[]) => any) | undefined;
27
30
  }, {
28
31
  title: string;
29
32
  ikey: string;
30
- }>>;
31
- export default _sfc_main;
32
-
33
- declare module 'vue' {
34
- interface GlobalComponents {
35
- NutSideNavBarItem: typeof _sfc_main;
36
- }
37
- }
38
-
33
+ }>;
34
+ export default _default;
@@ -2,7 +2,7 @@ import { App, PropType, CSSProperties } from 'vue';
2
2
  declare type Install<T> = T & {
3
3
  install(app: App): void;
4
4
  };
5
- declare const _sfc_main: Install< import("vue").DefineComponent<{
5
+ declare const _default: import("vue").DefineComponent<{
6
6
  customClass: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -33,19 +33,28 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
33
33
  [x: string]: string | boolean;
34
34
  }>;
35
35
  translate: (keyPath: string, ...args: unknown[]) => string;
36
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("end" | "start" | "clear" | "confirm" | "signing")[], "end" | "start" | "clear" | "confirm" | "signing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
37
- customClass?: unknown;
38
- lineWidth?: unknown;
39
- strokeStyle?: unknown;
40
- type?: unknown;
41
- unSupportTpl?: unknown;
42
- } & {
43
- type: string;
44
- customClass: string;
45
- lineWidth: number;
46
- strokeStyle: string;
47
- unSupportTpl: string;
48
- } & {}> & {
36
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("end" | "start" | "clear" | "confirm" | "signing")[], "end" | "start" | "clear" | "confirm" | "signing", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ customClass: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ lineWidth: {
42
+ type: NumberConstructor;
43
+ default: number;
44
+ };
45
+ strokeStyle: {
46
+ type: StringConstructor;
47
+ default: () => "#fff" | "#000";
48
+ };
49
+ type: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ unSupportTpl: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ }>> & {
49
58
  onClear?: ((...args: any[]) => any) | undefined;
50
59
  onConfirm?: ((...args: any[]) => any) | undefined;
51
60
  onStart?: ((...args: any[]) => any) | undefined;
@@ -57,12 +66,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
57
66
  lineWidth: number;
58
67
  strokeStyle: string;
59
68
  unSupportTpl: string;
60
- }>>;
61
- export default _sfc_main;
62
-
63
- declare module 'vue' {
64
- interface GlobalComponents {
65
- NutSignature: typeof _sfc_main;
66
- }
67
- }
68
-
69
+ }>;
70
+ export default _default;
@@ -47,7 +47,7 @@ export declare const component: {
47
47
  };
48
48
  };
49
49
  setup(props: any): {
50
- avatarShape: any;
50
+ avatarShape: import("vue").Ref<any>;
51
51
  avatarClass: import("vue").ComputedRef<{
52
52
  [x: string]: any;
53
53
  avatarClass: boolean;
@@ -2,7 +2,7 @@ import { App, PropType, CSSProperties } from 'vue';
2
2
  declare type Install<T> = T & {
3
3
  install(app: App): void;
4
4
  };
5
- declare const _sfc_main: Install< import("vue").DefineComponent<{
5
+ declare const _default: import("vue").DefineComponent<{
6
6
  width: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -44,7 +44,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
44
44
  default: boolean;
45
45
  };
46
46
  }, {
47
- avatarShape: any;
47
+ avatarShape: import("vue").Ref<any>;
48
48
  avatarClass: import("vue").ComputedRef<{
49
49
  [x: string]: any;
50
50
  avatarClass: boolean;
@@ -54,45 +54,57 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
54
54
  blockClass: boolean;
55
55
  }>;
56
56
  getStyle: () => import("vue").CSSProperties;
57
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
58
- width?: unknown;
59
- height?: unknown;
60
- animated?: unknown;
61
- avatar?: unknown;
62
- avatarShape?: unknown;
63
- avatarSize?: unknown;
64
- loading?: unknown;
65
- round?: unknown;
66
- row?: unknown;
67
- title?: unknown;
68
- } & {
57
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
58
+ width: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ height: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ animated: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ avatar: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ avatarShape: {
75
+ type: import("vue").PropType<import("./common").avatarShape>;
76
+ default: string;
77
+ };
78
+ avatarSize: {
79
+ type: StringConstructor;
80
+ default: string;
81
+ };
82
+ loading: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ };
86
+ round: {
87
+ type: BooleanConstructor;
88
+ default: boolean;
89
+ };
90
+ row: {
91
+ type: StringConstructor;
92
+ default: string;
93
+ };
94
+ title: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
98
+ }>>, {
69
99
  title: boolean;
70
100
  round: boolean;
71
101
  loading: boolean;
72
- row: string;
73
102
  width: string;
74
103
  height: string;
75
- avatar: boolean;
76
- avatarShape: import("./common").avatarShape;
77
- avatarSize: string;
78
- animated: boolean;
79
- } & {}>, {
80
- title: boolean;
81
- round: boolean;
82
- loading: boolean;
83
104
  row: string;
84
- width: string;
85
- height: string;
86
105
  avatar: boolean;
87
106
  avatarShape: import("./common").avatarShape;
88
107
  avatarSize: string;
89
108
  animated: boolean;
90
- }>>;
91
- export default _sfc_main;
92
-
93
- declare module 'vue' {
94
- interface GlobalComponents {
95
- NutSkeleton: typeof _sfc_main;
96
- }
97
- }
98
-
109
+ }>;
110
+ export default _default;
@@ -2,7 +2,7 @@ import { App, PropType, CSSProperties } from 'vue';
2
2
  declare type Install<T> = T & {
3
3
  install(app: App): void;
4
4
  };
5
- declare const _sfc_main: Install< import("vue").DefineComponent<{
5
+ declare const _default: import("vue").DefineComponent<{
6
6
  goods: {
7
7
  type: ObjectConstructor;
8
8
  default: {};
@@ -10,18 +10,12 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
10
10
  }, {
11
11
  getSlots: (name: string) => import("vue").Slot | undefined;
12
12
  translate: (keyPath: string, ...args: unknown[]) => string;
13
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
14
- goods?: unknown;
15
- } & {
16
- goods: Record<string, any>;
17
- } & {}> & {}, {
13
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ goods: {
15
+ type: ObjectConstructor;
16
+ default: {};
17
+ };
18
+ }>> & {}, {
18
19
  goods: Record<string, any>;
19
- }>>;
20
- export default _sfc_main;
21
-
22
- declare module 'vue' {
23
- interface GlobalComponents {
24
- Nut : typeof _sfc_main;
25
- }
26
- }
27
-
20
+ }>;
21
+ export default _default;
@@ -2,7 +2,7 @@ import { App, PropType, CSSProperties } from 'vue';
2
2
  declare type Install<T> = T & {
3
3
  install(app: App): void;
4
4
  };
5
- declare const _sfc_main: Install< import("vue").DefineComponent<{
5
+ declare const _default: import("vue").DefineComponent<{
6
6
  btnOptions: {
7
7
  type: ArrayConstructor;
8
8
  default: () => string[];
@@ -27,19 +27,28 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
27
27
  getBtnDesc: (type: string) => string;
28
28
  clickBtnOperate: (btn: string) => void;
29
29
  getSlots: (name: string) => import("vue").Slot | undefined;
30
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "clickBtnOperate" | "changeSku" | "changeBuyCount")[], "click" | "clickBtnOperate" | "changeSku" | "changeBuyCount", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
31
- btnOptions?: unknown;
32
- btnExtraText?: unknown;
33
- buyText?: unknown;
34
- addCartText?: unknown;
35
- confirmText?: unknown;
36
- } & {
37
- confirmText: string;
38
- btnOptions: unknown[];
39
- btnExtraText: string;
40
- buyText: string;
41
- addCartText: string;
42
- } & {}> & {
30
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "clickBtnOperate" | "changeSku" | "changeBuyCount")[], "click" | "clickBtnOperate" | "changeSku" | "changeBuyCount", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
31
+ btnOptions: {
32
+ type: ArrayConstructor;
33
+ default: () => string[];
34
+ };
35
+ btnExtraText: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ buyText: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ addCartText: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ confirmText: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ }>> & {
43
52
  onClick?: ((...args: any[]) => any) | undefined;
44
53
  onChangeSku?: ((...args: any[]) => any) | undefined;
45
54
  onClickBtnOperate?: ((...args: any[]) => any) | undefined;
@@ -50,12 +59,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
50
59
  btnExtraText: string;
51
60
  buyText: string;
52
61
  addCartText: string;
53
- }>>;
54
- export default _sfc_main;
55
-
56
- declare module 'vue' {
57
- interface GlobalComponents {
58
- Nut : typeof _sfc_main;
59
- }
60
- }
61
-
62
+ }>;
63
+ export default _default;