@nutui/nutui 3.2.3 → 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 (272) hide show
  1. package/README.md +4 -4
  2. package/dist/nutui.es.js +13 -9
  3. package/dist/nutui.umd.js +13 -9
  4. package/dist/packages/_es/ActionSheet.js +1 -1
  5. package/dist/packages/_es/Address.js +1 -1
  6. package/dist/packages/_es/AddressList.js +1 -1
  7. package/dist/packages/_es/Animate.js +1 -1
  8. package/dist/packages/_es/Audio.js +1 -1
  9. package/dist/packages/_es/AudioOperate.js +1 -1
  10. package/dist/packages/_es/Avatar.js +1 -1
  11. package/dist/packages/_es/AvatarGroup.js +1 -1
  12. package/dist/packages/_es/BackTop.js +1 -1
  13. package/dist/packages/_es/Badge.js +1 -1
  14. package/dist/packages/_es/Barrage.js +1 -1
  15. package/dist/packages/_es/Button.js +1 -1
  16. package/dist/packages/_es/Calendar.js +1 -1
  17. package/dist/packages/_es/CalendarItem.js +1 -1
  18. package/dist/packages/_es/Card.js +1 -1
  19. package/dist/packages/_es/Cascader.js +1 -1
  20. package/dist/packages/_es/Category.js +1 -1
  21. package/dist/packages/_es/CategoryPane.js +1 -1
  22. package/dist/packages/_es/Cell.js +1 -1
  23. package/dist/packages/_es/CellGroup.js +1 -1
  24. package/dist/packages/_es/Checkbox.js +1 -1
  25. package/dist/packages/_es/CheckboxGroup.js +1 -1
  26. package/dist/packages/_es/CircleProgress.js +1 -1
  27. package/dist/packages/_es/Col.js +1 -1
  28. package/dist/packages/_es/Collapse.js +1 -1
  29. package/dist/packages/_es/CollapseItem.js +1 -1
  30. package/dist/packages/_es/Comment.js +1 -1
  31. package/dist/packages/_es/ConfigProvider.js +1 -1
  32. package/dist/packages/_es/CountDown.js +1 -1
  33. package/dist/packages/_es/CountUp.js +1 -1
  34. package/dist/packages/_es/DatePicker.js +1 -1
  35. package/dist/packages/_es/Dialog.js +1 -1
  36. package/dist/packages/_es/Divider.js +1 -1
  37. package/dist/packages/_es/Drag.js +1 -1
  38. package/dist/packages/_es/Ecard.js +1 -1
  39. package/dist/packages/_es/Elevator.js +1 -1
  40. package/dist/packages/_es/Ellipsis.js +8 -4
  41. package/dist/packages/_es/Empty.js +1 -1
  42. package/dist/packages/_es/FixedNav.js +1 -1
  43. package/dist/packages/_es/Form.js +1 -1
  44. package/dist/packages/_es/FormItem.js +1 -1
  45. package/dist/packages/_es/Grid.js +1 -1
  46. package/dist/packages/_es/GridItem.js +1 -1
  47. package/dist/packages/_es/Icon.js +1 -1
  48. package/dist/packages/_es/Image.js +1 -1
  49. package/dist/packages/_es/ImagePreview.js +1 -1
  50. package/dist/packages/_es/Indicator.js +1 -1
  51. package/dist/packages/_es/InfiniteLoading.js +1 -1
  52. package/dist/packages/_es/Input.js +1 -1
  53. package/dist/packages/_es/InputNumber.js +1 -1
  54. package/dist/packages/_es/Invoice.js +1 -1
  55. package/dist/packages/_es/Layout.js +1 -1
  56. package/dist/packages/_es/List.js +1 -1
  57. package/dist/packages/_es/Menu.js +1 -1
  58. package/dist/packages/_es/MenuItem.js +1 -1
  59. package/dist/packages/_es/Navbar.js +1 -1
  60. package/dist/packages/_es/NoticeBar.js +1 -1
  61. package/dist/packages/_es/Notify.js +1 -1
  62. package/dist/packages/_es/NumberKeyboard.js +1 -1
  63. package/dist/packages/_es/OldPicker.js +1 -1
  64. package/dist/packages/_es/OverLay.js +1 -1
  65. package/dist/packages/_es/Pagination.js +1 -1
  66. package/dist/packages/_es/Picker.js +1 -1
  67. package/dist/packages/_es/Popover.js +1 -1
  68. package/dist/packages/_es/Popup.js +1 -1
  69. package/dist/packages/_es/Price.js +1 -1
  70. package/dist/packages/_es/Progress.js +1 -1
  71. package/dist/packages/_es/PullRefresh.js +1 -1
  72. package/dist/packages/_es/Radio.js +1 -1
  73. package/dist/packages/_es/RadioGroup.js +1 -1
  74. package/dist/packages/_es/Range.js +1 -1
  75. package/dist/packages/_es/Rate.js +1 -1
  76. package/dist/packages/_es/Row.js +1 -1
  77. package/dist/packages/_es/SearchBar.js +1 -1
  78. package/dist/packages/_es/ShortPassword.js +1 -1
  79. package/dist/packages/_es/SideNavBar.js +1 -1
  80. package/dist/packages/_es/SideNavBarItem.js +1 -1
  81. package/dist/packages/_es/Signature.js +1 -1
  82. package/dist/packages/_es/Skeleton.js +1 -1
  83. package/dist/packages/_es/Sku.js +1 -1
  84. package/dist/packages/_es/Step.js +1 -1
  85. package/dist/packages/_es/Steps.js +1 -1
  86. package/dist/packages/_es/Sticky.js +1 -1
  87. package/dist/packages/_es/SubSideNavBar.js +1 -1
  88. package/dist/packages/_es/Swipe.js +1 -1
  89. package/dist/packages/_es/Swiper.js +1 -1
  90. package/dist/packages/_es/SwiperItem.js +1 -1
  91. package/dist/packages/_es/Switch.js +1 -1
  92. package/dist/packages/_es/TabPane.js +1 -1
  93. package/dist/packages/_es/Tabbar.js +1 -1
  94. package/dist/packages/_es/TabbarItem.js +1 -1
  95. package/dist/packages/_es/Table.js +1 -1
  96. package/dist/packages/_es/Tabs.js +1 -1
  97. package/dist/packages/_es/Tag.js +1 -1
  98. package/dist/packages/_es/TextArea.js +1 -1
  99. package/dist/packages/_es/TimeDetail.js +1 -1
  100. package/dist/packages/_es/TimePannel.js +1 -1
  101. package/dist/packages/_es/TimeSelect.js +1 -1
  102. package/dist/packages/_es/Toast.js +3 -3
  103. package/dist/packages/_es/TrendArrow.js +1 -1
  104. package/dist/packages/_es/Uploader.js +1 -1
  105. package/dist/packages/_es/Video.js +1 -1
  106. package/dist/packages/_es/WaterMark.js +1 -1
  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 +1 -1
  110. package/dist/packages/_es/index2.js +1 -1
  111. package/dist/packages/_es/index3.js +1 -1
  112. package/dist/packages/_es/index4.js +1 -1
  113. package/dist/packages/_es/index5.js +3 -3
  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/ellipsis/index.scss +1 -0
  118. package/dist/packages/index.d.ts +5 -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/tabbar/index.scss +1 -1
  126. package/dist/smartips/attributes.json +6 -2
  127. package/dist/smartips/tags.json +4 -3
  128. package/dist/smartips/web-types.json +12 -3
  129. package/dist/style.css +1 -1
  130. package/dist/styles/themes/default.scss +54 -54
  131. package/dist/styles/themes/jdb.scss +54 -54
  132. package/dist/styles/themes/jdt.scss +54 -54
  133. package/dist/types/__VUE/actionsheet/index.vue.d.ts +4 -11
  134. package/dist/types/__VUE/address/index.vue.d.ts +10 -12
  135. package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +3 -10
  136. package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +3 -10
  137. package/dist/types/__VUE/addresslist/components/LongPressShell.vue.d.ts +3 -10
  138. package/dist/types/__VUE/addresslist/components/SwipeShell.vue.d.ts +3 -10
  139. package/dist/types/__VUE/addresslist/index.vue.d.ts +3 -10
  140. package/dist/types/__VUE/animate/index.vue.d.ts +4 -10
  141. package/dist/types/__VUE/animate/type.d.ts +6 -0
  142. package/dist/types/__VUE/audio/index.vue.d.ts +3 -10
  143. package/dist/types/__VUE/audiooperate/index.vue.d.ts +3 -10
  144. package/dist/types/__VUE/avatar/index.vue.d.ts +3 -10
  145. package/dist/types/__VUE/avatargroup/index.vue.d.ts +3 -10
  146. package/dist/types/__VUE/backtop/index.vue.d.ts +3 -10
  147. package/dist/types/__VUE/badge/index.vue.d.ts +4 -11
  148. package/dist/types/__VUE/barrage/index.vue.d.ts +3 -10
  149. package/dist/types/__VUE/button/index.vue.d.ts +4 -10
  150. package/dist/types/__VUE/button/type.d.ts +7 -0
  151. package/dist/types/__VUE/calendar/index.vue.d.ts +3 -10
  152. package/dist/types/__VUE/calendaritem/index.vue.d.ts +29 -10
  153. package/dist/types/__VUE/card/index.vue.d.ts +3 -10
  154. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +6 -11
  155. package/dist/types/__VUE/cascader/index.vue.d.ts +7 -12
  156. package/dist/types/__VUE/cascader/types.d.ts +35 -0
  157. package/dist/types/__VUE/category/index.vue.d.ts +4 -10
  158. package/dist/types/__VUE/categorypane/index.vue.d.ts +3 -10
  159. package/dist/types/__VUE/cell/index.vue.d.ts +3 -10
  160. package/dist/types/__VUE/cellgroup/index.vue.d.ts +3 -10
  161. package/dist/types/__VUE/checkbox/index.vue.d.ts +4 -11
  162. package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +3 -10
  163. package/dist/types/__VUE/circleprogress/index.vue.d.ts +3 -10
  164. package/dist/types/__VUE/col/index.vue.d.ts +3 -10
  165. package/dist/types/__VUE/collapse/index.vue.d.ts +3 -10
  166. package/dist/types/__VUE/collapseitem/index.vue.d.ts +3 -10
  167. package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +3 -10
  168. package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +3 -10
  169. package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +3 -10
  170. package/dist/types/__VUE/comment/index.vue.d.ts +3 -10
  171. package/dist/types/__VUE/configprovider/index.vue.d.ts +3 -10
  172. package/dist/types/__VUE/countdown/index.vue.d.ts +3 -10
  173. package/dist/types/__VUE/countdown/util.d.ts +1 -1
  174. package/dist/types/__VUE/countup/index.vue.d.ts +3 -10
  175. package/dist/types/__VUE/datepicker/index.vue.d.ts +7 -14
  176. package/dist/types/__VUE/datepicker/type.d.ts +6 -0
  177. package/dist/types/__VUE/dialog/index.vue.d.ts +5 -11
  178. package/dist/types/__VUE/divider/index.vue.d.ts +3 -10
  179. package/dist/types/__VUE/drag/index.vue.d.ts +3 -10
  180. package/dist/types/__VUE/ecard/index.vue.d.ts +4 -10
  181. package/dist/types/__VUE/elevator/index.vue.d.ts +10 -11
  182. package/dist/types/__VUE/ellipsis/index.vue.d.ts +18 -10
  183. package/dist/types/__VUE/empty/index.vue.d.ts +3 -10
  184. package/dist/types/__VUE/fixednav/index.vue.d.ts +5 -12
  185. package/dist/types/__VUE/form/index.vue.d.ts +4 -11
  186. package/dist/types/__VUE/form/types.d.ts +16 -0
  187. package/dist/types/__VUE/formitem/index.vue.d.ts +4 -10
  188. package/dist/types/__VUE/formitem/types.d.ts +13 -0
  189. package/dist/types/__VUE/grid/index.vue.d.ts +4 -11
  190. package/dist/types/__VUE/griditem/index.vue.d.ts +4 -10
  191. package/dist/types/__VUE/icon/index.vue.d.ts +4 -10
  192. package/dist/types/__VUE/image/index.vue.d.ts +4 -10
  193. package/dist/types/__VUE/image/type.d.ts +6 -0
  194. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +6 -11
  195. package/dist/types/__VUE/imagepreview/index.vue.d.ts +6 -10
  196. package/dist/types/__VUE/imagepreview/types.d.ts +7 -0
  197. package/dist/types/__VUE/indicator/index.vue.d.ts +3 -10
  198. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +3 -10
  199. package/dist/types/__VUE/input/index.vue.d.ts +5 -11
  200. package/dist/types/__VUE/input/type.d.ts +13 -0
  201. package/dist/types/__VUE/inputnumber/index.vue.d.ts +3 -10
  202. package/dist/types/__VUE/invoice/index.vue.d.ts +3 -10
  203. package/dist/types/__VUE/layout/index.vue.d.ts +2 -9
  204. package/dist/types/__VUE/list/index.vue.d.ts +4 -10
  205. package/dist/types/__VUE/menu/index.vue.d.ts +3 -10
  206. package/dist/types/__VUE/menuitem/index.vue.d.ts +4 -10
  207. package/dist/types/__VUE/menuitem/type.d.ts +8 -0
  208. package/dist/types/__VUE/navbar/index.vue.d.ts +3 -10
  209. package/dist/types/__VUE/noticebar/index.vue.d.ts +5 -12
  210. package/dist/types/__VUE/notify/index.vue.d.ts +4 -11
  211. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +4 -10
  212. package/dist/types/__VUE/oldpicker/Column.vue.d.ts +4 -11
  213. package/dist/types/__VUE/oldpicker/commonProps.d.ts +22 -0
  214. package/dist/types/__VUE/oldpicker/index.vue.d.ts +5 -11
  215. package/dist/types/__VUE/oldpicker/types.d.ts +24 -0
  216. package/dist/types/__VUE/overlay/index.vue.d.ts +34 -10
  217. package/dist/types/__VUE/pagination/index.vue.d.ts +3 -10
  218. package/dist/types/__VUE/picker/Column.vue.d.ts +7 -12
  219. package/dist/types/__VUE/picker/index.vue.d.ts +13 -12
  220. package/dist/types/__VUE/picker/types.d.ts +26 -0
  221. package/dist/types/__VUE/popover/index.vue.d.ts +6 -12
  222. package/dist/types/__VUE/popover/type.d.ts +6 -0
  223. package/dist/types/__VUE/popup/index.vue.d.ts +85 -11
  224. package/dist/types/__VUE/price/index.vue.d.ts +3 -10
  225. package/dist/types/__VUE/progress/index.vue.d.ts +3 -10
  226. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +4 -10
  227. package/dist/types/__VUE/radio/index.vue.d.ts +3 -10
  228. package/dist/types/__VUE/radiogroup/index.vue.d.ts +3 -10
  229. package/dist/types/__VUE/range/index.vue.d.ts +6 -12
  230. package/dist/types/__VUE/range/type.d.ts +5 -0
  231. package/dist/types/__VUE/rate/index.vue.d.ts +4 -11
  232. package/dist/types/__VUE/row/index.vue.d.ts +3 -10
  233. package/dist/types/__VUE/searchbar/index.vue.d.ts +4 -10
  234. package/dist/types/__VUE/searchbar/type.d.ts +5 -0
  235. package/dist/types/__VUE/shortpassword/index.vue.d.ts +3 -10
  236. package/dist/types/__VUE/sidenavbar/index.vue.d.ts +4 -10
  237. package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +3 -10
  238. package/dist/types/__VUE/signature/index.vue.d.ts +3 -10
  239. package/dist/types/__VUE/skeleton/index.vue.d.ts +4 -11
  240. package/dist/types/__VUE/sku/components/SkuHeader.vue.d.ts +3 -10
  241. package/dist/types/__VUE/sku/components/SkuOperate.vue.d.ts +3 -10
  242. package/dist/types/__VUE/sku/components/SkuSelect.vue.d.ts +3 -10
  243. package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +3 -10
  244. package/dist/types/__VUE/sku/index.vue.d.ts +4 -11
  245. package/dist/types/__VUE/step/index.vue.d.ts +3 -10
  246. package/dist/types/__VUE/steps/index.vue.d.ts +3 -10
  247. package/dist/types/__VUE/sticky/index.vue.d.ts +5 -11
  248. package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +3 -10
  249. package/dist/types/__VUE/swipe/index.vue.d.ts +5 -10
  250. package/dist/types/__VUE/swiper/index.vue.d.ts +5 -11
  251. package/dist/types/__VUE/swiperitem/index.vue.d.ts +8 -10
  252. package/dist/types/__VUE/switch/index.vue.d.ts +3 -10
  253. package/dist/types/__VUE/tabbar/index.vue.d.ts +3 -10
  254. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +3 -10
  255. package/dist/types/__VUE/table/index.vue.d.ts +4 -11
  256. package/dist/types/__VUE/table/types.d.ts +21 -0
  257. package/dist/types/__VUE/tabpane/index.vue.d.ts +3 -10
  258. package/dist/types/__VUE/tabs/index.vue.d.ts +4 -11
  259. package/dist/types/__VUE/tag/index.vue.d.ts +4 -10
  260. package/dist/types/__VUE/tag/type.d.ts +5 -0
  261. package/dist/types/__VUE/textarea/index.vue.d.ts +3 -10
  262. package/dist/types/__VUE/timedetail/index.vue.d.ts +3 -10
  263. package/dist/types/__VUE/timepannel/index.vue.d.ts +3 -10
  264. package/dist/types/__VUE/timeselect/index.vue.d.ts +4 -11
  265. package/dist/types/__VUE/toast/index.d.ts +6 -6
  266. package/dist/types/__VUE/toast/index.vue.d.ts +4 -11
  267. package/dist/types/__VUE/trendarrow/index.vue.d.ts +3 -10
  268. package/dist/types/__VUE/uploader/index.vue.d.ts +6 -12
  269. package/dist/types/__VUE/video/index.vue.d.ts +3 -10
  270. package/dist/types/__VUE/watermark/index.vue.d.ts +5 -12
  271. package/dist/types/index.d.ts +1 -1
  272. package/package.json +2 -2
@@ -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
  item: {
7
7
  type: ObjectConstructor;
8
8
  default: {};
@@ -26,12 +26,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
26
26
  onHandelSwipeDel?: ((...args: any[]) => any) | undefined;
27
27
  }, {
28
28
  item: Record<string, any>;
29
- }>>;
30
- export default _sfc_main;
31
-
32
- declare module 'vue' {
33
- interface GlobalComponents {
34
- Nut : typeof _sfc_main;
35
- }
36
- }
37
-
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
  data: {
7
7
  type: ArrayConstructor;
8
8
  default: never[];
@@ -70,12 +70,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
70
70
  swipeEdition: boolean;
71
71
  showBottomButton: boolean;
72
72
  dataMapOptions: Record<string, any>;
73
- }>>;
74
- export default _sfc_main;
75
-
76
- declare module 'vue' {
77
- interface GlobalComponents {
78
- NutAddressList: typeof _sfc_main;
79
- }
80
- }
81
-
73
+ }>;
74
+ 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 { PropType } from 'vue';
6
+ declare const _default: import("vue").DefineComponent<{
6
7
  type: {
7
8
  type: PropType<import("./type").AnimateType>;
8
9
  default: string;
@@ -42,12 +43,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
42
43
  type: import("./type").AnimateType;
43
44
  loop: boolean;
44
45
  action: import("./type").AnimateAction;
45
- }>>;
46
- export default _sfc_main;
47
-
48
- declare module 'vue' {
49
- interface GlobalComponents {
50
- NutAnimate: typeof _sfc_main;
51
- }
52
- }
53
-
46
+ }>;
47
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { App, PropType, CSSProperties } from 'vue';
2
+ declare type Install<T> = T & {
3
+ install(app: App): void;
4
+ };
5
+ export declare type AnimateType = 'shake' | 'ripple' | 'breath' | 'float' | 'slide-right' | 'slide-left' | 'slide-top' | 'slide-bottom' | 'jump' | 'twinkle' | 'flicker';
6
+ export declare type AnimateAction = 'initial' | 'click';
@@ -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
  url: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -107,12 +107,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
107
107
  loop: boolean;
108
108
  preload: string;
109
109
  second: number;
110
- }>>;
111
- export default _sfc_main;
112
-
113
- declare module 'vue' {
114
- interface GlobalComponents {
115
- NutAudio: typeof _sfc_main;
116
- }
117
- }
118
-
110
+ }>;
111
+ 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
  type: {
7
7
  type: StringConstructor;
8
8
  default: () => string;
@@ -21,12 +21,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
21
21
  onClick?: ((...args: any[]) => any) | undefined;
22
22
  }, {
23
23
  type: string;
24
- }>>;
25
- export default _sfc_main;
26
-
27
- declare module 'vue' {
28
- interface GlobalComponents {
29
- NutAudioOperate: typeof _sfc_main;
30
- }
31
- }
32
-
24
+ }>;
25
+ 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
  size: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -99,12 +99,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
99
99
  url: string;
100
100
  alt: string;
101
101
  bgColor: string;
102
- }>>;
103
- export default _sfc_main;
104
-
105
- declare module 'vue' {
106
- interface GlobalComponents {
107
- NutAvatar: typeof _sfc_main;
108
- }
109
- }
110
-
102
+ }>;
103
+ 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
  maxContent: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -82,12 +82,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
82
82
  maxCount: string | number;
83
83
  maxBgColor: string;
84
84
  maxColor: string;
85
- }>>;
86
- export default _sfc_main;
87
-
88
- declare module 'vue' {
89
- interface GlobalComponents {
90
- NutAvatarGroup: typeof _sfc_main;
91
- }
92
- }
93
-
85
+ }>;
86
+ 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
  bottom: {
7
7
  type: NumberConstructor;
8
8
  default: number;
@@ -88,12 +88,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
88
88
  elId: string;
89
89
  distance: number;
90
90
  isAnimation: boolean;
91
- }>>;
92
- export default _sfc_main;
93
-
94
- declare module 'vue' {
95
- interface GlobalComponents {
96
- NutBackTop: typeof _sfc_main;
97
- }
98
- }
99
-
91
+ }>;
92
+ 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
  value: {
7
7
  type: (NumberConstructor | StringConstructor)[];
8
8
  };
@@ -79,16 +79,9 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
79
79
  color: string;
80
80
  right: string;
81
81
  top: string;
82
- zIndex: number;
83
82
  hidden: boolean;
83
+ zIndex: number;
84
84
  dot: boolean;
85
85
  max: number;
86
- }>>;
87
- export default _sfc_main;
88
-
89
- declare module 'vue' {
90
- interface GlobalComponents {
91
- NutBadge: typeof _sfc_main;
92
- }
93
- }
94
-
86
+ }>;
87
+ 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
  danmu: {
7
7
  type: ArrayConstructor;
8
8
  default: () => never[];
@@ -70,12 +70,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
70
70
  danmu: unknown[];
71
71
  frequency: number;
72
72
  speeds: number;
73
- }>>;
74
- export default _sfc_main;
75
-
76
- declare module 'vue' {
77
- interface GlobalComponents {
78
- NutBarrage: typeof _sfc_main;
79
- }
80
- }
81
-
73
+ }>;
74
+ 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 { PropType, CSSProperties } from 'vue';
6
+ declare const _default: import("vue").DefineComponent<{
6
7
  color: StringConstructor;
7
8
  shape: {
8
9
  type: PropType<import("./type").ButtonShape>;
@@ -105,12 +106,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
105
106
  icon: string;
106
107
  iconClassPrefix: string;
107
108
  iconFontClassName: string;
108
- }>>;
109
- export default _sfc_main;
110
-
111
- declare module 'vue' {
112
- interface GlobalComponents {
113
- NutButton: typeof _sfc_main;
114
- }
115
- }
116
-
109
+ }>;
110
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { App, PropType, CSSProperties } from 'vue';
2
+ declare type Install<T> = T & {
3
+ install(app: App): void;
4
+ };
5
+ export declare type ButtonType = 'default' | 'primary' | 'info' | 'success' | 'warning' | 'danger';
6
+ export declare type ButtonSize = 'large' | 'normal' | 'small' | 'mini';
7
+ export declare type ButtonShape = 'square' | 'round';
@@ -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;
@@ -153,12 +153,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
153
153
  endText: string;
154
154
  startDate: string;
155
155
  endDate: string;
156
- }>>;
157
- export default _sfc_main;
158
-
159
- declare module 'vue' {
160
- interface GlobalComponents {
161
- NutCalendar: typeof _sfc_main;
162
- }
163
- }
164
-
156
+ }>;
157
+ export default _default;
@@ -2,7 +2,33 @@ 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 { PropType } from 'vue';
6
+ declare type InputDate = string | string[];
7
+ interface TouchParam {
8
+ startY: number;
9
+ endY: number;
10
+ startTime: number;
11
+ endTime: number;
12
+ lastY: number;
13
+ lastTime: number;
14
+ }
15
+ interface Day {
16
+ day: string | number;
17
+ type: string;
18
+ }
19
+ interface MonthInfo {
20
+ curData: string[] | string;
21
+ title: string;
22
+ monthData: Day[];
23
+ cssHeight: number;
24
+ cssScrollHeight: number;
25
+ }
26
+ interface DateInfo {
27
+ year: string;
28
+ month: string;
29
+ day: string;
30
+ }
31
+ declare const _default: import("vue").DefineComponent<{
6
32
  type: {
7
33
  type: StringConstructor;
8
34
  default: string;
@@ -194,12 +220,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
194
220
  defaultValue: string;
195
221
  startDate: string;
196
222
  endDate: string;
197
- }>>;
198
- export default _sfc_main;
199
-
200
- declare module 'vue' {
201
- interface GlobalComponents {
202
- NutCalendarItem: typeof _sfc_main;
203
- }
204
- }
205
-
223
+ }>;
224
+ 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
  imgUrl: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -79,12 +79,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
79
79
  delivery: string;
80
80
  shopName: string;
81
81
  isNeedPrice: boolean;
82
- }>>;
83
- export default _sfc_main;
84
-
85
- declare module 'vue' {
86
- interface GlobalComponents {
87
- NutCard: typeof _sfc_main;
88
- }
89
- }
90
-
82
+ }>;
83
+ export default _default;
@@ -2,7 +2,9 @@ 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
+ import { CascaderPane, CascaderOption, Tabs } from './types';
7
+ declare const _default: import("vue").DefineComponent<{
6
8
  visible: BooleanConstructor;
7
9
  modelValue: ArrayConstructor;
8
10
  options: {
@@ -25,7 +27,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
25
27
  };
26
28
  convertConfig: ObjectConstructor;
27
29
  }, {
28
- handleNode(node: CascaderOption, silent?: boolean): Promise<void>;
30
+ handleNode(node: CascaderOption, silent?: boolean | undefined): Promise<void>;
29
31
  handleTabClick(tab: Tabs): void;
30
32
  formatTabTitle(pane: CascaderPane): string | undefined;
31
33
  isSelected(pane: CascaderPane, node: CascaderOption): boolean | null;
@@ -65,12 +67,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
65
67
  valueKey: string;
66
68
  textKey: string;
67
69
  childrenKey: string;
68
- }>>;
69
- export default _sfc_main;
70
-
71
- declare module 'vue' {
72
- interface GlobalComponents {
73
- NutCascader: typeof _sfc_main;
74
- }
75
- }
76
-
70
+ }>;
71
+ export default _default;
@@ -2,7 +2,9 @@ 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
+ import { CascaderValue, CascaderOption } from './types';
7
+ declare const _default: import("vue").DefineComponent<{
6
8
  modelValue: ArrayConstructor;
7
9
  visible: BooleanConstructor;
8
10
  title: StringConstructor;
@@ -107,7 +109,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
107
109
  onChange: (value: CascaderValue, pathNodes: CascaderOption[]) => void;
108
110
  onPathChange: (pathNodes: CascaderOption[]) => void;
109
111
  innerValue: Ref<CascaderValue>;
110
- innerVisible: import("vue").WritableComputedRef<boolean>;
112
+ innerVisible: import("vue").WritableComputedRef<unknown>;
111
113
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "change" | "update:modelValue" | "pathChange")[], "update:visible" | "change" | "update:modelValue" | "pathChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
112
114
  modelValue: ArrayConstructor;
113
115
  visible: BooleanConstructor;
@@ -216,6 +218,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
216
218
  onPathChange?: ((...args: any[]) => any) | undefined;
217
219
  }, {
218
220
  round: boolean;
221
+ position: string;
219
222
  overlay: boolean;
220
223
  visible: boolean;
221
224
  zIndex: string | number;
@@ -223,7 +226,6 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
223
226
  overlayClass: string;
224
227
  lockScroll: boolean;
225
228
  closeOnClickOverlay: boolean;
226
- position: string;
227
229
  popClass: string;
228
230
  closeable: boolean;
229
231
  closeIconPosition: string;
@@ -238,12 +240,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
238
240
  textKey: string;
239
241
  childrenKey: string;
240
242
  poppable: boolean;
241
- }>>;
242
- export default _sfc_main;
243
-
244
- declare module 'vue' {
245
- interface GlobalComponents {
246
- NutCascader: typeof _sfc_main;
247
- }
248
- }
249
-
243
+ }>;
244
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import { App, PropType, CSSProperties } from 'vue';
2
+ declare type Install<T> = T & {
3
+ install(app: App): void;
4
+ };
5
+ export declare type CascaderPane = {
6
+ nodes: CascaderOption[];
7
+ selectedNode: CascaderOption | null;
8
+ };
9
+ export declare type CascaderConfig = {
10
+ value?: string;
11
+ text?: string;
12
+ children?: string;
13
+ };
14
+ export declare type Tabs = {
15
+ title: string;
16
+ paneKey: string;
17
+ disabled: boolean;
18
+ };
19
+ export declare type CascaderOption = {
20
+ text?: string;
21
+ value?: number | string;
22
+ disabled?: boolean;
23
+ children?: CascaderOption[];
24
+ leaf?: boolean;
25
+ level?: number;
26
+ loading?: boolean;
27
+ [key: PropertyKey]: any;
28
+ };
29
+ export declare type CascaderValue = CascaderOption['value'][];
30
+ export declare type convertConfig = {
31
+ topId?: string | number | null;
32
+ idKey?: string;
33
+ pidKey?: string;
34
+ sortKey?: string;
35
+ };
@@ -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
  type: {
7
8
  type: StringConstructor;
8
9
  default: string;
@@ -27,12 +28,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
27
28
  }>>, {
28
29
  type: string;
29
30
  category: unknown[];
30
- }>>;
31
- export default _sfc_main;
32
-
33
- declare module 'vue' {
34
- interface GlobalComponents {
35
- NutCategory: typeof _sfc_main;
36
- }
37
- }
38
-
31
+ }>;
32
+ 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
  type: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -34,12 +34,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
34
34
  type: string;
35
35
  categoryChild: unknown[];
36
36
  customCategory: unknown[];
37
- }>>;
38
- export default _sfc_main;
39
-
40
- declare module 'vue' {
41
- interface GlobalComponents {
42
- NutCategoryPane: typeof _sfc_main;
43
- }
44
- }
45
-
37
+ }>;
38
+ 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;
@@ -125,12 +125,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
125
125
  roundRadius: string | number;
126
126
  url: string;
127
127
  rightIcon: string;
128
- }>>;
129
- export default _sfc_main;
130
-
131
- declare module 'vue' {
132
- interface GlobalComponents {
133
- NutCell: typeof _sfc_main;
134
- }
135
- }
136
-
128
+ }>;
129
+ 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;
@@ -27,12 +27,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
27
27
  }>>, {
28
28
  title: string;
29
29
  desc: string;
30
- }>>;
31
- export default _sfc_main;
32
-
33
- declare module 'vue' {
34
- interface GlobalComponents {
35
- NutCellGroup: typeof _sfc_main;
36
- }
37
- }
38
-
30
+ }>;
31
+ 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
  modelValue: {
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
@@ -95,7 +95,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
95
95
  default: boolean;
96
96
  };
97
97
  }>> & {
98
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
98
+ [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
99
99
  }, {
100
100
  label: string;
101
101
  disabled: boolean;
@@ -108,12 +108,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
108
108
  iconIndeterminateName: string;
109
109
  textPosition: string;
110
110
  indeterminate: boolean;
111
- }>>;
112
- export default _sfc_main;
113
-
114
- declare module 'vue' {
115
- interface GlobalComponents {
116
- NutCheckbox: typeof _sfc_main;
117
- }
118
- }
119
-
111
+ }>;
112
+ 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
  modelValue: {
7
7
  type: ArrayConstructor;
8
8
  default: () => never[];
@@ -37,12 +37,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
37
37
  disabled: boolean;
38
38
  modelValue: unknown[];
39
39
  max: number;
40
- }>>;
41
- export default _sfc_main;
42
-
43
- declare module 'vue' {
44
- interface GlobalComponents {
45
- NutCheckboxGroup: typeof _sfc_main;
46
- }
47
- }
48
-
40
+ }>;
41
+ export default _default;