@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
  progress: {
7
7
  type: (NumberConstructor | StringConstructor)[];
8
8
  required: true;
@@ -83,12 +83,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
83
83
  strokeLinecap: string;
84
84
  pathColor: string;
85
85
  clockwise: boolean;
86
- }>>;
87
- export default _sfc_main;
88
-
89
- declare module 'vue' {
90
- interface GlobalComponents {
91
- NutCircleProgress: 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
  span: {
7
7
  type: (NumberConstructor | StringConstructor)[];
8
8
  default: string;
@@ -31,12 +31,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
31
31
  }>> & {}, {
32
32
  span: string | number;
33
33
  offset: string | number;
34
- }>>;
35
- export default _sfc_main;
36
-
37
- declare module 'vue' {
38
- interface GlobalComponents {
39
- NutCol: typeof _sfc_main;
40
- }
41
- }
42
-
34
+ }>;
35
+ 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
  active: {
7
7
  type: (NumberConstructor | StringConstructor | ArrayConstructor)[];
8
8
  };
@@ -95,12 +95,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
95
95
  titleIconColor: string;
96
96
  titleIconPosition: string;
97
97
  rotate: string | number;
98
- }>>;
99
- export default _sfc_main;
100
-
101
- declare module 'vue' {
102
- interface GlobalComponents {
103
- NutCollapse: typeof _sfc_main;
104
- }
105
- }
106
-
98
+ }>;
99
+ 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;
@@ -72,12 +72,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
72
72
  title: string;
73
73
  disabled: boolean;
74
74
  subTitle: string;
75
- }>>;
76
- export default _sfc_main;
77
-
78
- declare module 'vue' {
79
- interface GlobalComponents {
80
- NutCollapseItem: typeof _sfc_main;
81
- }
82
- }
83
-
75
+ }>;
76
+ 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;
@@ -41,12 +41,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
41
41
  type: string;
42
42
  info: Record<string, any>;
43
43
  operation: unknown[];
44
- }>>;
45
- export default _sfc_main;
46
-
47
- declare module 'vue' {
48
- interface GlobalComponents {
49
- Nut : typeof _sfc_main;
50
- }
51
- }
52
-
44
+ }>;
45
+ 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;
@@ -36,12 +36,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
36
36
  type: string;
37
37
  info: Record<string, any>;
38
38
  labels: Function;
39
- }>>;
40
- export default _sfc_main;
41
-
42
- declare module 'vue' {
43
- interface GlobalComponents {
44
- Nut : typeof _sfc_main;
45
- }
46
- }
47
-
39
+ }>;
40
+ 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;
@@ -40,12 +40,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
40
40
  type: string;
41
41
  images: unknown[];
42
42
  videos: unknown[];
43
- }>>;
44
- export default _sfc_main;
45
-
46
- declare module 'vue' {
47
- interface GlobalComponents {
48
- Nut : typeof _sfc_main;
49
- }
50
- }
51
-
43
+ }>;
44
+ 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
  headerType: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -99,12 +99,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
99
99
  headerType: string;
100
100
  imagesRows: string;
101
101
  follow: Record<string, any>;
102
- }>>;
103
- export default _sfc_main;
104
-
105
- declare module 'vue' {
106
- interface GlobalComponents {
107
- NutComment: 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
  theme: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -25,12 +25,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
25
25
  }>>, {
26
26
  tag: keyof HTMLElementTagNameMap;
27
27
  theme: string;
28
- }>>;
29
- export default _sfc_main;
30
-
31
- declare module 'vue' {
32
- interface GlobalComponents {
33
- NutConfigProvider: typeof _sfc_main;
34
- }
35
- }
36
-
28
+ }>;
29
+ 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: ObjectConstructor;
8
8
  default: () => {};
@@ -94,12 +94,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
94
94
  millisecond: boolean;
95
95
  format: string;
96
96
  autoStart: boolean;
97
- }>>;
98
- export default _sfc_main;
99
-
100
- declare module 'vue' {
101
- interface GlobalComponents {
102
- NutCountDown: typeof _sfc_main;
103
- }
104
- }
105
-
97
+ }>;
98
+ export default _default;
@@ -3,4 +3,4 @@ declare type Install<T> = T & {
3
3
  install(app: App): void;
4
4
  };
5
5
  export declare const padZero: (num: number | string, length?: number) => string;
6
- export declare const getTimeStamp: (timeStr?: string | number) => number;
6
+ export declare const getTimeStamp: (timeStr?: string | number | undefined) => number;
@@ -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
  initNum: {
7
7
  type: NumberConstructor;
8
8
  default: number;
@@ -205,12 +205,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
205
205
  machinePrizeNum: number;
206
206
  machinePrizeLevel: number;
207
207
  machineTurnMore: number;
208
- }>>;
209
- export default _sfc_main;
210
-
211
- declare module 'vue' {
212
- interface GlobalComponents {
213
- NutCountUp: typeof _sfc_main;
214
- }
215
- }
216
-
208
+ }>;
209
+ export default _default;
@@ -2,7 +2,10 @@ 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 type { PropType } from 'vue';
6
+ import { PickerOption } from '../picker/types';
7
+ declare function isDate(val: Date): val is Date;
8
+ declare const _default: import("vue").DefineComponent<{
6
9
  modelValue: null;
7
10
  title: {
8
11
  type: StringConstructor;
@@ -146,17 +149,14 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
146
149
  toLocaleString: {
147
150
  (): string;
148
151
  (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
149
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
150
152
  };
151
153
  toLocaleDateString: {
152
154
  (): string;
153
155
  (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
154
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
155
156
  };
156
157
  toLocaleTimeString: {
157
158
  (): string;
158
159
  (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
159
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
160
160
  };
161
161
  valueOf: () => number;
162
162
  getTime: () => number;
@@ -341,6 +341,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
341
341
  type: string;
342
342
  title: string;
343
343
  round: boolean;
344
+ position: string;
344
345
  overlay: boolean;
345
346
  visible: boolean;
346
347
  zIndex: string | number;
@@ -348,7 +349,6 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
348
349
  overlayClass: string;
349
350
  lockScroll: boolean;
350
351
  closeOnClickOverlay: boolean;
351
- position: string;
352
352
  popClass: string;
353
353
  closeable: boolean;
354
354
  closeIconPosition: string;
@@ -366,12 +366,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
366
366
  minDate: Date;
367
367
  maxDate: Date;
368
368
  formatter: import("./type").Formatter;
369
- }>>;
370
- export default _sfc_main;
371
-
372
- declare module 'vue' {
373
- interface GlobalComponents {
374
- NutDatePicker: typeof _sfc_main;
375
- }
376
- }
377
-
369
+ }>;
370
+ 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 Formatter = (type: string, option: import('../picker/types').PickerOption) => import('../picker/types').PickerOption;
6
+ export declare type Filter = (columnType: string, options: import('../picker/types').PickerOption[]) => import('../picker/types').PickerOption[];
@@ -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
  closeOnClickOverlay: {
7
8
  type: BooleanConstructor;
8
9
  default: boolean;
@@ -287,6 +288,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
287
288
  }, {
288
289
  title: string;
289
290
  round: boolean;
291
+ position: string;
290
292
  overlay: boolean;
291
293
  visible: boolean;
292
294
  zIndex: string | number;
@@ -295,7 +297,6 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
295
297
  lockScroll: boolean;
296
298
  closeOnClickOverlay: boolean;
297
299
  content: string;
298
- position: string;
299
300
  popClass: string;
300
301
  closeable: boolean;
301
302
  closeIconPosition: string;
@@ -314,12 +315,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
314
315
  closeOnPopstate: boolean;
315
316
  footerDirection: string;
316
317
  customClass: string;
317
- }>>;
318
- export default _sfc_main;
319
-
320
- declare module 'vue' {
321
- interface GlobalComponents {
322
- NutDialog: typeof _sfc_main;
323
- }
324
- }
325
-
318
+ }>;
319
+ 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
  contentPosition: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -43,12 +43,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
43
43
  contentPosition: string;
44
44
  hairline: boolean;
45
45
  direction: string;
46
- }>>;
47
- export default _sfc_main;
48
-
49
- declare module 'vue' {
50
- interface GlobalComponents {
51
- NutDivider: typeof _sfc_main;
52
- }
53
- }
54
-
46
+ }>;
47
+ 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
  attract: {
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
@@ -50,12 +50,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
50
50
  direction: string;
51
51
  attract: boolean;
52
52
  boundary: Record<string, any>;
53
- }>>;
54
- export default _sfc_main;
55
-
56
- declare module 'vue' {
57
- interface GlobalComponents {
58
- NutDrag: typeof _sfc_main;
59
- }
60
- }
61
-
53
+ }>;
54
+ 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
  chooseText: {
7
8
  type: StringConstructor;
8
9
  default: string;
@@ -113,12 +114,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
113
114
  cardBuyMin: number;
114
115
  cardBuyMax: number;
115
116
  suffix: string;
116
- }>>;
117
- export default _sfc_main;
118
-
119
- declare module 'vue' {
120
- interface GlobalComponents {
121
- NutEcard: typeof _sfc_main;
122
- }
123
- }
124
-
117
+ }>;
118
+ export default _default;
@@ -2,7 +2,13 @@ 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
+ interface ElevatorData {
7
+ name: string;
8
+ id: number | string;
9
+ [key: string]: string | number;
10
+ }
11
+ declare const _default: import("vue").DefineComponent<{
6
12
  height: {
7
13
  type: (NumberConstructor | StringConstructor)[];
8
14
  default: string;
@@ -52,7 +58,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
52
58
  currentData: Ref<{
53
59
  [x: string]: string | number;
54
60
  name: string;
55
- id: number | string;
61
+ id: string | number;
56
62
  }>;
57
63
  currentKey: Ref<string>;
58
64
  scrollY: Ref<number>;
@@ -96,12 +102,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
96
102
  isSticky: boolean;
97
103
  spaceHeight: number;
98
104
  titleHeight: number;
99
- }>>;
100
- export default _sfc_main;
101
-
102
- declare module 'vue' {
103
- interface GlobalComponents {
104
- NutElevator: typeof _sfc_main;
105
- }
106
- }
107
-
105
+ }>;
106
+ export default _default;
@@ -2,7 +2,13 @@ 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
+ export declare type Direction = 'start' | 'end' | 'middle';
7
+ declare type EllipsisedValue = {
8
+ leading?: string;
9
+ tailing?: string;
10
+ };
11
+ declare const _default: import("vue").DefineComponent<{
6
12
  content: {
7
13
  type: StringConstructor;
8
14
  default: string;
@@ -27,6 +33,10 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
27
33
  type: StringConstructor;
28
34
  default: string;
29
35
  };
36
+ lineHeight: {
37
+ type: (NumberConstructor | StringConstructor)[];
38
+ default: string;
39
+ };
30
40
  }, {
31
41
  root: import("vue").Ref<null>;
32
42
  ellipsis: import("vue").Ref<EllipsisedValue | undefined>;
@@ -62,6 +72,10 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
62
72
  type: StringConstructor;
63
73
  default: string;
64
74
  };
75
+ lineHeight: {
76
+ type: (NumberConstructor | StringConstructor)[];
77
+ default: string;
78
+ };
65
79
  }>> & {
66
80
  onClick?: ((...args: any[]) => any) | undefined;
67
81
  onChange?: ((...args: any[]) => any) | undefined;
@@ -72,12 +86,6 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
72
86
  rows: string | number;
73
87
  expandText: string;
74
88
  collapseText: string;
75
- }>>;
76
- export default _sfc_main;
77
-
78
- declare module 'vue' {
79
- interface GlobalComponents {
80
- NutEllipsis: typeof _sfc_main;
81
- }
82
- }
83
-
89
+ lineHeight: string | number;
90
+ }>;
91
+ 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
  image: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -36,12 +36,5 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
36
36
  image: string;
37
37
  description: string;
38
38
  imageSize: string | number;
39
- }>>;
40
- export default _sfc_main;
41
-
42
- declare module 'vue' {
43
- interface GlobalComponents {
44
- NutEmpty: typeof _sfc_main;
45
- }
46
- }
47
-
39
+ }>;
40
+ 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
  visible: {
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
@@ -85,22 +85,15 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
85
85
  type: StringConstructor;
86
86
  };
87
87
  }>> & {
88
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
88
+ [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
89
89
  }, {
90
90
  type: string;
91
+ position: Record<string, any>;
91
92
  overlay: boolean;
92
93
  visible: boolean;
93
- position: Record<string, any>;
94
94
  navList: any[];
95
95
  activeColor: string;
96
96
  activeText: string;
97
97
  unActiveText: string;
98
- }>>;
99
- export default _sfc_main;
100
-
101
- declare module 'vue' {
102
- interface GlobalComponents {
103
- NutFixedNav: typeof _sfc_main;
104
- }
105
- }
106
-
98
+ }>;
99
+ 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: ObjectConstructor;
8
8
  default: {};
@@ -26,16 +26,9 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
26
26
  default: {};
27
27
  };
28
28
  }>> & {
29
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
29
+ [x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
30
30
  }, {
31
31
  modelValue: Record<string, any>;
32
32
  rules: Record<string, any>;
33
- }>>;
34
- export default _sfc_main;
35
-
36
- declare module 'vue' {
37
- interface GlobalComponents {
38
- NutForm: typeof _sfc_main;
39
- }
40
- }
41
-
33
+ }>;
34
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { App, PropType, CSSProperties } from 'vue';
2
+ declare type Install<T> = T & {
3
+ install(app: App): void;
4
+ };
5
+ import { FormItemRule } from '../formitem/types';
6
+ export declare type FormRules = {
7
+ [key: string]: FormItemRule[];
8
+ };
9
+ export declare type FormRule = {
10
+ prop: string;
11
+ rules: FormItemRule[];
12
+ };
13
+ export declare type ErrorMessage = {
14
+ prop: string;
15
+ message: string;
16
+ };