@nutui/nutui 4.3.2 → 4.3.4

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 (227) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/nutui.es.js +2 -4
  3. package/dist/nutui.js +7000 -7518
  4. package/dist/nutui.umd.js +1 -1
  5. package/dist/packages/{Interceptor-WYVtGbGC.js → Interceptor-DlY2h6Y7.js} +2 -2
  6. package/dist/packages/actionsheet/ActionSheet.js +3 -3
  7. package/dist/packages/address/Address.js +5 -5
  8. package/dist/packages/addresslist/AddressList.js +6 -6
  9. package/dist/packages/animate/Animate.js +1 -1
  10. package/dist/packages/audio/Audio.js +2 -2
  11. package/dist/packages/audiooperate/AudioOperate.js +3 -3
  12. package/dist/packages/avatar/Avatar.js +2 -2
  13. package/dist/packages/avatarcropper/AvatarCropper.js +5 -5
  14. package/dist/packages/avatargroup/AvatarGroup.js +3 -3
  15. package/dist/packages/backtop/Backtop.js +80 -90
  16. package/dist/packages/badge/Badge.js +2 -2
  17. package/dist/packages/barrage/Barrage.js +2 -2
  18. package/dist/packages/button/Button.js +1 -1
  19. package/dist/packages/calendar/Calendar.js +817 -6
  20. package/dist/packages/calendar/index.scss +0 -1
  21. package/dist/packages/calendarcard/CalendarCard.js +4 -4
  22. package/dist/packages/card/Card.js +4 -4
  23. package/dist/packages/cascader/Cascader.js +4 -4
  24. package/dist/packages/category/Category.js +4 -4
  25. package/dist/packages/categorypane/CategoryPane.js +5 -5
  26. package/dist/packages/cell/Cell.js +4 -4
  27. package/dist/packages/cellgroup/CellGroup.js +2 -2
  28. package/dist/packages/checkbox/Checkbox.js +4 -4
  29. package/dist/packages/checkboxgroup/CheckboxGroup.js +2 -2
  30. package/dist/packages/circleprogress/CircleProgress.js +91 -98
  31. package/dist/packages/col/Col.js +2 -2
  32. package/dist/packages/collapse/Collapse.js +2 -2
  33. package/dist/packages/collapseitem/CollapseItem.js +3 -3
  34. package/dist/packages/comment/Comment.js +6 -6
  35. package/dist/packages/{common-4inKawxR.js → common-Chr7cC9o.js} +2 -2
  36. package/dist/packages/{common-FZL3qC99.js → common-DRG0ue26.js} +1 -1
  37. package/dist/packages/configprovider/ConfigProvider.js +1 -1
  38. package/dist/packages/countdown/Countdown.js +4 -4
  39. package/dist/packages/countup/Countup.js +9 -9
  40. package/dist/packages/{date-djiVNSnJ.js → date-DHXcwF1m.js} +2 -2
  41. package/dist/packages/datepicker/DatePicker.js +3 -3
  42. package/dist/packages/dialog/Dialog.js +8 -8
  43. package/dist/packages/divider/Divider.js +1 -1
  44. package/dist/packages/drag/Drag.js +3 -3
  45. package/dist/packages/ecard/Ecard.js +5 -5
  46. package/dist/packages/elevator/Elevator.js +2 -2
  47. package/dist/packages/ellipsis/Ellipsis.js +4 -4
  48. package/dist/packages/empty/Empty.js +67 -52
  49. package/dist/packages/fixednav/FixedNav.js +3 -3
  50. package/dist/packages/form/Form.js +4 -4
  51. package/dist/packages/formitem/FormItem.js +4 -4
  52. package/dist/packages/grid/Grid.js +2 -2
  53. package/dist/packages/griditem/GridItem.js +5 -5
  54. package/dist/packages/image/Image.js +3 -3
  55. package/dist/packages/imagepreview/ImagePreview.js +8 -8
  56. package/dist/packages/{index-s3RgMhc7.js → index-CFigyH92.js} +1 -1
  57. package/dist/packages/{index--uVlasFu.js → index-Do4_KY74.js} +2 -2
  58. package/dist/packages/{index-BqB5dTeo.js → index-uHBD4dfS.js} +2 -2
  59. package/dist/packages/{index.vue_vue_type_script_lang-n0HbjvfF.js → index.vue_vue_type_script_lang-CTQUvlgN.js} +4 -4
  60. package/dist/packages/{index.vue_vue_type_script_lang-54PRh3YM.js → index.vue_vue_type_script_lang-CaSiRl9x.js} +2 -2
  61. package/dist/packages/indicator/Indicator.js +56 -50
  62. package/dist/packages/infiniteloading/InfiniteLoading.js +6 -6
  63. package/dist/packages/input/Input.js +10 -10
  64. package/dist/packages/inputnumber/InputNumber.js +85 -104
  65. package/dist/packages/invoice/Invoice.js +87 -138
  66. package/dist/packages/layout/Layout.js +2 -2
  67. package/dist/packages/list/List.js +3 -3
  68. package/dist/packages/locale/lang/en-US.js +1 -1
  69. package/dist/packages/locale/lang/id-ID.js +1 -1
  70. package/dist/packages/locale/lang/index.js +2 -2
  71. package/dist/packages/locale/lang/zh-CN.js +1 -1
  72. package/dist/packages/locale/lang/zh-TW.js +1 -1
  73. package/dist/packages/menu/Menu.js +5 -5
  74. package/dist/packages/menuitem/MenuItem.js +5 -5
  75. package/dist/packages/{mountComponent-uInXoTMp.js → mountComponent-DBQ88Fjz.js} +1 -1
  76. package/dist/packages/navbar/Navbar.js +103 -115
  77. package/dist/packages/noticebar/Noticebar.js +3 -3
  78. package/dist/packages/notify/Notify.js +3 -3
  79. package/dist/packages/numberkeyboard/NumberKeyboard.js +4 -4
  80. package/dist/packages/overlay/Overlay.js +3 -3
  81. package/dist/packages/pagination/Pagination.js +3 -3
  82. package/dist/packages/picker/Picker.js +7 -10
  83. package/dist/packages/popover/Popover.js +5 -5
  84. package/dist/packages/popup/Popup.js +2 -2
  85. package/dist/packages/price/Price.js +1 -1
  86. package/dist/packages/progress/Progress.js +96 -115
  87. package/dist/packages/pullrefresh/PullRefresh.js +7 -7
  88. package/dist/packages/radio/Radio.js +1 -1
  89. package/dist/packages/radiogroup/RadioGroup.js +1 -1
  90. package/dist/packages/range/Range.js +6 -6
  91. package/dist/packages/rate/Rate.js +102 -144
  92. package/dist/packages/row/Row.js +2 -2
  93. package/dist/packages/searchbar/Searchbar.js +5 -5
  94. package/dist/packages/shortpassword/ShortPassword.js +5 -5
  95. package/dist/packages/sidenavbar/SideNavbar.js +2 -2
  96. package/dist/packages/sidenavbaritem/SideNavbarItem.js +2 -2
  97. package/dist/packages/signature/Signature.js +3 -3
  98. package/dist/packages/skeleton/Skeleton.js +13 -13
  99. package/dist/packages/sku/Sku.js +6 -6
  100. package/dist/packages/space/Space.js +1 -1
  101. package/dist/packages/step/Step.js +3 -3
  102. package/dist/packages/steps/Steps.js +2 -2
  103. package/dist/packages/sticky/Sticky.js +4 -4
  104. package/dist/packages/subsidenavbar/SubSideNavbar.js +2 -2
  105. package/dist/packages/swipe/Swipe.js +98 -112
  106. package/dist/packages/swipegroup/SwipeGroup.js +42 -24
  107. package/dist/packages/swiper/Swiper.js +7 -7
  108. package/dist/packages/swiperitem/SwiperItem.js +3 -3
  109. package/dist/packages/switch/Switch.js +68 -86
  110. package/dist/packages/tabbar/Tabbar.js +78 -78
  111. package/dist/packages/tabbaritem/TabbarItem.js +89 -113
  112. package/dist/packages/table/Table.js +3 -3
  113. package/dist/packages/tabpane/TabPane.js +2 -2
  114. package/dist/packages/tabs/Tabs.js +9 -9
  115. package/dist/packages/tag/Tag.js +57 -66
  116. package/dist/packages/textarea/Textarea.js +113 -127
  117. package/dist/packages/timedetail/TimeDetail.js +2 -2
  118. package/dist/packages/timepannel/TimePannel.js +2 -2
  119. package/dist/packages/timeselect/TimeSelect.js +4 -4
  120. package/dist/packages/toast/Toast.js +6 -6
  121. package/dist/packages/tour/Tour.js +3 -3
  122. package/dist/packages/trendarrow/TrendArrow.js +51 -83
  123. package/dist/packages/uploader/Uploader.js +9 -9
  124. package/dist/packages/{useChildren-GU_NVfD8.js → useChildren-BZ4-J79J.js} +2 -2
  125. package/dist/packages/useParent-D6DiuxZZ.js +21 -0
  126. package/dist/packages/{util-4Jkyw4BJ.js → util-DnfK0Qan.js} +2 -2
  127. package/dist/packages/video/Video.js +16 -16
  128. package/dist/packages/watermark/Watermark.js +2 -2
  129. package/dist/smartips/web-types.json +2 -2
  130. package/dist/styles/base-jdb.css +1 -1
  131. package/dist/styles/base-jddkh.css +1 -1
  132. package/dist/styles/base-jdt.css +1 -1
  133. package/dist/styles/themes/default.scss +0 -1
  134. package/dist/styles/themes/jdb.scss +0 -1
  135. package/dist/styles/themes/jddkh.scss +0 -1
  136. package/dist/styles/themes/jdt.scss +0 -1
  137. package/dist/styles/variables-jdb.scss +0 -1
  138. package/dist/styles/variables-jddkh.scss +0 -1
  139. package/dist/styles/variables-jdt.scss +0 -1
  140. package/dist/styles/variables.scss +0 -1
  141. package/dist/types/__VUE/backtop/backtop.vue.d.ts +87 -0
  142. package/dist/types/__VUE/backtop/index.d.ts +5 -0
  143. package/dist/types/__VUE/calendaritem/index.vue.d.ts +2 -12
  144. package/dist/types/__VUE/circleprogress/circle-progress.vue.d.ts +88 -0
  145. package/dist/types/__VUE/circleprogress/index.d.ts +6 -0
  146. package/dist/types/__VUE/empty/empty.vue.d.ts +62 -0
  147. package/dist/types/__VUE/empty/index.d.ts +6 -0
  148. package/dist/types/__VUE/indicator/index.d.ts +6 -0
  149. package/dist/types/__VUE/indicator/indicator.vue.d.ts +65 -0
  150. package/dist/types/__VUE/inputnumber/index.d.ts +5 -0
  151. package/dist/types/__VUE/inputnumber/input-number.vue.d.ts +112 -0
  152. package/dist/types/__VUE/invoice/index.d.ts +6 -0
  153. package/dist/types/__VUE/invoice/invoice.vue.d.ts +59 -0
  154. package/dist/types/__VUE/invoice/types.d.ts +12 -0
  155. package/dist/types/__VUE/navbar/index.d.ts +5 -0
  156. package/dist/types/__VUE/navbar/navbar.vue.d.ts +125 -0
  157. package/dist/types/__VUE/progress/index.d.ts +6 -0
  158. package/dist/types/__VUE/progress/progress.vue.d.ts +91 -0
  159. package/dist/types/__VUE/rate/index.d.ts +5 -0
  160. package/dist/types/__VUE/rate/rate.vue.d.ts +208 -0
  161. package/dist/types/__VUE/swipe/index.d.ts +6 -0
  162. package/dist/types/__VUE/swipe/swipe.vue.d.ts +79 -0
  163. package/dist/types/__VUE/swipe/types.d.ts +1 -0
  164. package/dist/types/__VUE/swipegroup/index.d.ts +5 -0
  165. package/dist/types/__VUE/swipegroup/swipe-group.vue.d.ts +47 -0
  166. package/dist/types/__VUE/switch/index.d.ts +5 -0
  167. package/dist/types/__VUE/switch/switch.vue.d.ts +109 -0
  168. package/dist/types/__VUE/tabbar/index.d.ts +5 -0
  169. package/dist/types/__VUE/tabbar/tabbar.vue.d.ts +83 -0
  170. package/dist/types/__VUE/tabbaritem/index.d.ts +5 -0
  171. package/dist/types/__VUE/tabbaritem/tabbar-item.vue.d.ts +65 -0
  172. package/dist/types/__VUE/tabs/index.vue.d.ts +12 -12
  173. package/dist/types/__VUE/tag/index.d.ts +6 -0
  174. package/dist/types/__VUE/tag/tag.vue.d.ts +90 -0
  175. package/dist/types/__VUE/tag/types.d.ts +1 -1
  176. package/dist/types/__VUE/textarea/index.d.ts +5 -0
  177. package/dist/types/__VUE/textarea/textarea.vue.d.ts +104 -0
  178. package/dist/types/__VUE/trendarrow/index.d.ts +5 -0
  179. package/dist/types/__VUE/trendarrow/trend-arrow.vue.d.ts +96 -0
  180. package/dist/types/index.d.ts +36 -20
  181. package/dist/types/utils/throttle.d.ts +1 -1
  182. package/dist/types/utils/useRelation/useParent.d.ts +1 -0
  183. package/package.json +1 -1
  184. package/dist/packages/calendaritem/CalendarItem.js +0 -819
  185. package/dist/packages/calendaritem/index.css +0 -0
  186. package/dist/packages/calendaritem/index.mjs +0 -2
  187. package/dist/packages/calendaritem/index.scss +0 -0
  188. package/dist/packages/calendaritem/style/css.mjs +0 -2
  189. package/dist/packages/calendaritem/style/index.mjs +0 -2
  190. package/dist/packages/useParent-KIxqkovs.js +0 -16
  191. package/dist/types/__VUE/backtop/index.vue.d.ts +0 -98
  192. package/dist/types/__VUE/circleprogress/index.vue.d.ts +0 -95
  193. package/dist/types/__VUE/empty/index.vue.d.ts +0 -53
  194. package/dist/types/__VUE/indicator/index.vue.d.ts +0 -69
  195. package/dist/types/__VUE/inputnumber/index.vue.d.ts +0 -117
  196. package/dist/types/__VUE/invoice/index.vue.d.ts +0 -53
  197. package/dist/types/__VUE/navbar/index.vue.d.ts +0 -129
  198. package/dist/types/__VUE/progress/index.vue.d.ts +0 -120
  199. package/dist/types/__VUE/rate/index.vue.d.ts +0 -240
  200. package/dist/types/__VUE/swipe/index.vue.d.ts +0 -70
  201. package/dist/types/__VUE/swipegroup/index.vue.d.ts +0 -26
  202. package/dist/types/__VUE/switch/index.vue.d.ts +0 -118
  203. package/dist/types/__VUE/tabbar/index.vue.d.ts +0 -85
  204. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +0 -60
  205. package/dist/types/__VUE/tag/index.vue.d.ts +0 -94
  206. package/dist/types/__VUE/textarea/index.vue.d.ts +0 -127
  207. package/dist/types/__VUE/trendarrow/index.vue.d.ts +0 -102
  208. /package/dist/packages/{_plugin-vue_export-helper-yVxbj29m.js → _plugin-vue_export-helper-1tPrXgE0.js} +0 -0
  209. /package/dist/packages/{component-TCzwHGVq.js → component-DQf3CENX.js} +0 -0
  210. /package/dist/packages/{index-cp6Ms_Qe.js → index-B1qsj2XR.js} +0 -0
  211. /package/dist/packages/{index-xDfQLRen.js → index-BvmDLUYP.js} +0 -0
  212. /package/dist/packages/{index-084nl_oE.js → index-I8tfW3Kf.js} +0 -0
  213. /package/dist/packages/{index-Ii9XdkPy.js → index-aiGQ-EiA.js} +0 -0
  214. /package/dist/packages/locale/lang/{baseLang-7uiEiO-2.js → baseLang-Bnfy6fTl.js} +0 -0
  215. /package/dist/packages/{pxCheck-OnXlN1NC.js → pxCheck-DN6FYV6q.js} +0 -0
  216. /package/dist/packages/{raf-MQjoO-Ag.js → raf-c01wDYCo.js} +0 -0
  217. /package/dist/packages/{renderIcon--EgZu5_5.js → renderIcon-BfOvhG7i.js} +0 -0
  218. /package/dist/packages/{types-RCVUm7Nb.js → types-1HzUV14W.js} +0 -0
  219. /package/dist/packages/{types-zeKkNDAq.js → types-48N1bMrT.js} +0 -0
  220. /package/dist/packages/{types-Ww4ErYJT.js → types-BKDaJvHp.js} +0 -0
  221. /package/dist/packages/{types-odSRziQJ.js → types-BODurTjN.js} +0 -0
  222. /package/dist/packages/{types-qOrhXtA_.js → types-BWhKcf4T.js} +0 -0
  223. /package/dist/packages/{types-4IflWeQO.js → types-BomhFk3T.js} +0 -0
  224. /package/dist/packages/{types-j71K23JP.js → types-CkPfROfI.js} +0 -0
  225. /package/dist/packages/{types-9wCQwtH3.js → types-DUkJysbi.js} +0 -0
  226. /package/dist/packages/{types-Cq2YypZn.js → types-MuhxzCWc.js} +0 -0
  227. /package/dist/packages/{with-install-p59gYYU_.js → with-install-Ch3FF0uS.js} +0 -0
@@ -0,0 +1,208 @@
1
+ import type { WithInstall } from '../../utils';
2
+ export type RateProps = Partial<{
3
+ count: string | number;
4
+ modelValue: string | number;
5
+ customIcon: any;
6
+ size: string | number;
7
+ activeColor: string;
8
+ voidColor: string;
9
+ readonly: boolean;
10
+ disabled: boolean;
11
+ allowHalf: boolean;
12
+ touchable: boolean;
13
+ spacing: string | number;
14
+ }>;
15
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
16
+ count: string | number;
17
+ modelValue: string | number;
18
+ customIcon: any;
19
+ size: string | number;
20
+ activeColor: string;
21
+ voidColor: string;
22
+ readonly: boolean;
23
+ disabled: boolean;
24
+ allowHalf: boolean;
25
+ touchable: boolean;
26
+ spacing: string | number;
27
+ }>>, {
28
+ count: number;
29
+ modelValue: number;
30
+ customIcon: () => import("vue").DefineComponent<{
31
+ class: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ name: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ color: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ width: {
44
+ type: (NumberConstructor | StringConstructor)[];
45
+ default: string;
46
+ };
47
+ height: {
48
+ type: (NumberConstructor | StringConstructor)[];
49
+ default: string;
50
+ };
51
+ }, {
52
+ classes: import("vue").ComputedRef<{
53
+ [x: string]: string | boolean;
54
+ "nut-icon": boolean;
55
+ }>;
56
+ style: import("vue").ComputedRef<import("vue").CSSProperties>;
57
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
58
+ class: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ name: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ color: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ width: {
71
+ type: (NumberConstructor | StringConstructor)[];
72
+ default: string;
73
+ };
74
+ height: {
75
+ type: (NumberConstructor | StringConstructor)[];
76
+ default: string;
77
+ };
78
+ }>>, {
79
+ name: string;
80
+ width: string | number;
81
+ height: string | number;
82
+ color: string;
83
+ class: string;
84
+ }>;
85
+ activeColor: string;
86
+ voidColor: string;
87
+ readonly: boolean;
88
+ disabled: boolean;
89
+ allowHalf: boolean;
90
+ touchable: boolean;
91
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
92
+ change: (...args: any[]) => void;
93
+ "update:modelValue": (...args: any[]) => void;
94
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
95
+ count: string | number;
96
+ modelValue: string | number;
97
+ customIcon: any;
98
+ size: string | number;
99
+ activeColor: string;
100
+ voidColor: string;
101
+ readonly: boolean;
102
+ disabled: boolean;
103
+ allowHalf: boolean;
104
+ touchable: boolean;
105
+ spacing: string | number;
106
+ }>>, {
107
+ count: number;
108
+ modelValue: number;
109
+ customIcon: () => import("vue").DefineComponent<{
110
+ class: {
111
+ type: StringConstructor;
112
+ default: string;
113
+ };
114
+ name: {
115
+ type: StringConstructor;
116
+ default: string;
117
+ };
118
+ color: {
119
+ type: StringConstructor;
120
+ default: string;
121
+ };
122
+ width: {
123
+ type: (NumberConstructor | StringConstructor)[];
124
+ default: string;
125
+ };
126
+ height: {
127
+ type: (NumberConstructor | StringConstructor)[];
128
+ default: string;
129
+ };
130
+ }, {
131
+ classes: import("vue").ComputedRef<{
132
+ [x: string]: string | boolean;
133
+ "nut-icon": boolean;
134
+ }>;
135
+ style: import("vue").ComputedRef<import("vue").CSSProperties>;
136
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
137
+ class: {
138
+ type: StringConstructor;
139
+ default: string;
140
+ };
141
+ name: {
142
+ type: StringConstructor;
143
+ default: string;
144
+ };
145
+ color: {
146
+ type: StringConstructor;
147
+ default: string;
148
+ };
149
+ width: {
150
+ type: (NumberConstructor | StringConstructor)[];
151
+ default: string;
152
+ };
153
+ height: {
154
+ type: (NumberConstructor | StringConstructor)[];
155
+ default: string;
156
+ };
157
+ }>>, {
158
+ name: string;
159
+ width: string | number;
160
+ height: string | number;
161
+ color: string;
162
+ class: string;
163
+ }>;
164
+ activeColor: string;
165
+ voidColor: string;
166
+ readonly: boolean;
167
+ disabled: boolean;
168
+ allowHalf: boolean;
169
+ touchable: boolean;
170
+ }>>> & {
171
+ onChange?: ((...args: any[]) => any) | undefined;
172
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
173
+ }, {
174
+ disabled: boolean;
175
+ activeColor: string;
176
+ modelValue: string | number;
177
+ count: string | number;
178
+ readonly: boolean;
179
+ customIcon: any;
180
+ voidColor: string;
181
+ allowHalf: boolean;
182
+ touchable: boolean;
183
+ }, {}>;
184
+ declare const _nut_default: WithInstall<typeof _default>;
185
+ export default _nut_default;
186
+
187
+ declare module 'vue' {
188
+ interface GlobalComponents {
189
+ NutRate: typeof _default;
190
+ }
191
+ }
192
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
193
+ type __VLS_TypePropsToRuntimeProps<T> = {
194
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
195
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
196
+ } : {
197
+ type: import('vue').PropType<T[K]>;
198
+ required: true;
199
+ };
200
+ };
201
+ type __VLS_WithDefaults<P, D> = {
202
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
203
+ default: D[K];
204
+ }> : P[K];
205
+ };
206
+ type __VLS_Prettify<T> = {
207
+ [K in keyof T]: T[K];
208
+ } & {};
@@ -0,0 +1,6 @@
1
+ import Swipe from './swipe.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { SwipeProps } from './swipe.vue';
4
+ export type { SwipePosition } from './types';
5
+ export type SwipeInstance = ComponentPublicInstance & InstanceType<typeof Swipe>;
6
+ export { Swipe, Swipe as default };
@@ -0,0 +1,79 @@
1
+ import type { WithInstall } from '../../utils';
2
+ import { type SwipePosition } from './types';
3
+ export type SwipeProps = Partial<{
4
+ name: string;
5
+ touchMoveStopPropagation: boolean;
6
+ touchMovePreventDefault: boolean;
7
+ disabled: boolean;
8
+ }>;
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
10
+ name: string;
11
+ touchMoveStopPropagation: boolean;
12
+ touchMovePreventDefault: boolean;
13
+ disabled: boolean;
14
+ }>>, {
15
+ name: string;
16
+ touchMoveStopPropagation: boolean;
17
+ touchMovePreventDefault: boolean;
18
+ disabled: boolean;
19
+ }>, {
20
+ open: (p?: SwipePosition) => void;
21
+ close: () => void;
22
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ click: (...args: any[]) => void;
24
+ close: (...args: any[]) => void;
25
+ open: (...args: any[]) => void;
26
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
27
+ name: string;
28
+ touchMoveStopPropagation: boolean;
29
+ touchMovePreventDefault: boolean;
30
+ disabled: boolean;
31
+ }>>, {
32
+ name: string;
33
+ touchMoveStopPropagation: boolean;
34
+ touchMovePreventDefault: boolean;
35
+ disabled: boolean;
36
+ }>>> & {
37
+ onClick?: ((...args: any[]) => any) | undefined;
38
+ onClose?: ((...args: any[]) => any) | undefined;
39
+ onOpen?: ((...args: any[]) => any) | undefined;
40
+ }, {
41
+ name: string;
42
+ disabled: boolean;
43
+ touchMoveStopPropagation: boolean;
44
+ touchMovePreventDefault: boolean;
45
+ }, {}>, {
46
+ left?(_: {}): any;
47
+ default?(_: {}): any;
48
+ right?(_: {}): any;
49
+ }>;
50
+ declare const _nut_default: WithInstall<typeof _default>;
51
+ export default _nut_default;
52
+
53
+ declare module 'vue' {
54
+ interface GlobalComponents {
55
+ NutSwipe: typeof _default;
56
+ }
57
+ }
58
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
59
+ type __VLS_TypePropsToRuntimeProps<T> = {
60
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
61
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
62
+ } : {
63
+ type: import('vue').PropType<T[K]>;
64
+ required: true;
65
+ };
66
+ };
67
+ type __VLS_WithDefaults<P, D> = {
68
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
69
+ default: D[K];
70
+ }> : P[K];
71
+ };
72
+ type __VLS_Prettify<T> = {
73
+ [K in keyof T]: T[K];
74
+ } & {};
75
+ type __VLS_WithTemplateSlots<T, S> = T & {
76
+ new (): {
77
+ $slots: S;
78
+ };
79
+ };
@@ -1 +1,2 @@
1
1
  export declare const SWIPE_KEY: unique symbol;
2
+ export type SwipePosition = 'left' | 'right' | '';
@@ -0,0 +1,5 @@
1
+ import SwipeGroup from './swipe-group.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { SwipeGroupProps } from './swipe-group.vue';
4
+ export type SwipeGroupInstance = ComponentPublicInstance & InstanceType<typeof SwipeGroup>;
5
+ export { SwipeGroup, SwipeGroup as default };
@@ -0,0 +1,47 @@
1
+ import type { WithInstall } from '../../utils';
2
+ export type SwipeGroupProps = Partial<{
3
+ lock: boolean;
4
+ }>;
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
6
+ lock: boolean;
7
+ }>>, {
8
+ lock: boolean;
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
10
+ lock: boolean;
11
+ }>>, {
12
+ lock: boolean;
13
+ }>>>, {
14
+ lock: boolean;
15
+ }, {}>, {
16
+ default?(_: {}): any;
17
+ }>;
18
+ declare const _nut_default: WithInstall<typeof _default>;
19
+ export default _nut_default;
20
+
21
+ declare module 'vue' {
22
+ interface GlobalComponents {
23
+ NutSwipeGroup: typeof _default;
24
+ }
25
+ }
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ type __VLS_TypePropsToRuntimeProps<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: import('vue').PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
35
+ type __VLS_WithDefaults<P, D> = {
36
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
37
+ default: D[K];
38
+ }> : P[K];
39
+ };
40
+ type __VLS_Prettify<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
43
+ type __VLS_WithTemplateSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
@@ -0,0 +1,5 @@
1
+ import Switch from './switch.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { SwitchProps } from './switch.vue';
4
+ export type SwitchInstance = ComponentPublicInstance & InstanceType<typeof Switch>;
5
+ export { Switch, Switch as default };
@@ -0,0 +1,109 @@
1
+ import type { WithInstall } from '../../utils';
2
+ export type SwitchProps = Partial<{
3
+ modelValue: string | number | boolean;
4
+ disabled: boolean;
5
+ activeColor: string;
6
+ inactiveColor: string;
7
+ activeText: string;
8
+ inactiveText: string;
9
+ activeValue: string | number | boolean;
10
+ inactiveValue: string | number | boolean;
11
+ loading: boolean;
12
+ disable: boolean;
13
+ }>;
14
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
15
+ modelValue: string | number | boolean;
16
+ disabled: boolean;
17
+ activeColor: string;
18
+ inactiveColor: string;
19
+ activeText: string;
20
+ inactiveText: string;
21
+ activeValue: string | number | boolean;
22
+ inactiveValue: string | number | boolean;
23
+ loading: boolean;
24
+ disable: boolean;
25
+ }>>, {
26
+ modelValue: boolean;
27
+ disabled: boolean;
28
+ activeColor: string;
29
+ inactiveColor: string;
30
+ activeText: string;
31
+ inactiveText: string;
32
+ activeValue: boolean;
33
+ inactiveValue: boolean;
34
+ loading: boolean;
35
+ disable: boolean;
36
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
+ change: (...args: any[]) => void;
38
+ "update:modelValue": (...args: any[]) => void;
39
+ "update:loading": (...args: any[]) => void;
40
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
41
+ modelValue: string | number | boolean;
42
+ disabled: boolean;
43
+ activeColor: string;
44
+ inactiveColor: string;
45
+ activeText: string;
46
+ inactiveText: string;
47
+ activeValue: string | number | boolean;
48
+ inactiveValue: string | number | boolean;
49
+ loading: boolean;
50
+ disable: boolean;
51
+ }>>, {
52
+ modelValue: boolean;
53
+ disabled: boolean;
54
+ activeColor: string;
55
+ inactiveColor: string;
56
+ activeText: string;
57
+ inactiveText: string;
58
+ activeValue: boolean;
59
+ inactiveValue: boolean;
60
+ loading: boolean;
61
+ disable: boolean;
62
+ }>>> & {
63
+ onChange?: ((...args: any[]) => any) | undefined;
64
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
65
+ "onUpdate:loading"?: ((...args: any[]) => any) | undefined;
66
+ }, {
67
+ loading: boolean;
68
+ disabled: boolean;
69
+ activeColor: string;
70
+ activeText: string;
71
+ modelValue: string | number | boolean;
72
+ inactiveColor: string;
73
+ disable: boolean;
74
+ inactiveText: string;
75
+ activeValue: string | number | boolean;
76
+ inactiveValue: string | number | boolean;
77
+ }, {}>, {
78
+ icon?(_: {}): any;
79
+ }>;
80
+ declare const _nut_default: WithInstall<typeof _default>;
81
+ export default _nut_default;
82
+
83
+ declare module 'vue' {
84
+ interface GlobalComponents {
85
+ NutSwitch: typeof _default;
86
+ }
87
+ }
88
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
89
+ type __VLS_TypePropsToRuntimeProps<T> = {
90
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
91
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
92
+ } : {
93
+ type: import('vue').PropType<T[K]>;
94
+ required: true;
95
+ };
96
+ };
97
+ type __VLS_WithDefaults<P, D> = {
98
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
99
+ default: D[K];
100
+ }> : P[K];
101
+ };
102
+ type __VLS_Prettify<T> = {
103
+ [K in keyof T]: T[K];
104
+ } & {};
105
+ type __VLS_WithTemplateSlots<T, S> = T & {
106
+ new (): {
107
+ $slots: S;
108
+ };
109
+ };
@@ -0,0 +1,5 @@
1
+ import Tabbar from './tabbar.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { TabbarProps } from './tabbar.vue';
4
+ export type TabbarInstance = ComponentPublicInstance & InstanceType<typeof Tabbar>;
5
+ export { Tabbar, Tabbar as default };
@@ -0,0 +1,83 @@
1
+ import type { WithInstall } from '../../utils';
2
+ export type TabbarProps = Partial<{
3
+ modelValue: number | string;
4
+ bottom: boolean;
5
+ unactiveColor: string;
6
+ activeColor: string;
7
+ safeAreaInsetBottom: boolean;
8
+ placeholder: boolean;
9
+ }>;
10
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
11
+ modelValue: string | number;
12
+ bottom: boolean;
13
+ unactiveColor: string;
14
+ activeColor: string;
15
+ safeAreaInsetBottom: boolean;
16
+ placeholder: boolean;
17
+ }>>, {
18
+ modelValue: number;
19
+ bottom: boolean;
20
+ unactiveColor: string;
21
+ activeColor: string;
22
+ safeAreaInsetBottom: boolean;
23
+ placeholder: boolean;
24
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ "update:modelValue": (...args: any[]) => void;
26
+ tabSwitch: (...args: any[]) => void;
27
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
28
+ modelValue: string | number;
29
+ bottom: boolean;
30
+ unactiveColor: string;
31
+ activeColor: string;
32
+ safeAreaInsetBottom: boolean;
33
+ placeholder: boolean;
34
+ }>>, {
35
+ modelValue: number;
36
+ bottom: boolean;
37
+ unactiveColor: string;
38
+ activeColor: string;
39
+ safeAreaInsetBottom: boolean;
40
+ placeholder: boolean;
41
+ }>>> & {
42
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
43
+ onTabSwitch?: ((...args: any[]) => any) | undefined;
44
+ }, {
45
+ bottom: boolean;
46
+ safeAreaInsetBottom: boolean;
47
+ placeholder: boolean;
48
+ activeColor: string;
49
+ modelValue: string | number;
50
+ unactiveColor: string;
51
+ }, {}>, {
52
+ default?(_: {}): any;
53
+ }>;
54
+ declare const _nut_default: WithInstall<typeof _default>;
55
+ export default _nut_default;
56
+
57
+ declare module 'vue' {
58
+ interface GlobalComponents {
59
+ NutTabbar: typeof _default;
60
+ }
61
+ }
62
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
63
+ type __VLS_TypePropsToRuntimeProps<T> = {
64
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
65
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
66
+ } : {
67
+ type: import('vue').PropType<T[K]>;
68
+ required: true;
69
+ };
70
+ };
71
+ type __VLS_WithDefaults<P, D> = {
72
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
73
+ default: D[K];
74
+ }> : P[K];
75
+ };
76
+ type __VLS_Prettify<T> = {
77
+ [K in keyof T]: T[K];
78
+ } & {};
79
+ type __VLS_WithTemplateSlots<T, S> = T & {
80
+ new (): {
81
+ $slots: S;
82
+ };
83
+ };
@@ -0,0 +1,5 @@
1
+ import TabbarItem from './tabbar-item.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { TabbarItemProps } from './tabbar-item.vue';
4
+ export type TabbarItemInstance = ComponentPublicInstance & InstanceType<typeof TabbarItem>;
5
+ export { TabbarItem, TabbarItem as default };
@@ -0,0 +1,65 @@
1
+ import type { WithInstall } from '../../utils';
2
+ export type TabbarItemProps = Partial<{
3
+ tabTitle: string;
4
+ name: string;
5
+ icon: any;
6
+ href: string;
7
+ to: string | Record<never, any>;
8
+ }>;
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
10
+ tabTitle: string;
11
+ name: string;
12
+ icon: any;
13
+ href: string;
14
+ to: string | Record<never, any>;
15
+ }>>, {
16
+ tabTitle: string;
17
+ href: string;
18
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
19
+ tabTitle: string;
20
+ name: string;
21
+ icon: any;
22
+ href: string;
23
+ to: string | Record<never, any>;
24
+ }>>, {
25
+ tabTitle: string;
26
+ href: string;
27
+ }>>>, {
28
+ tabTitle: string;
29
+ href: string;
30
+ }, {}>, {
31
+ icon?(_: {
32
+ active: boolean;
33
+ }): any;
34
+ default?(_: {}): any;
35
+ }>;
36
+ declare const _nut_default: WithInstall<typeof _default>;
37
+ export default _nut_default;
38
+
39
+ declare module 'vue' {
40
+ interface GlobalComponents {
41
+ NutTabbarItem: typeof _default;
42
+ }
43
+ }
44
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
+ type __VLS_TypePropsToRuntimeProps<T> = {
46
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
47
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
+ } : {
49
+ type: import('vue').PropType<T[K]>;
50
+ required: true;
51
+ };
52
+ };
53
+ type __VLS_WithDefaults<P, D> = {
54
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
55
+ default: D[K];
56
+ }> : P[K];
57
+ };
58
+ type __VLS_Prettify<T> = {
59
+ [K in keyof T]: T[K];
60
+ } & {};
61
+ type __VLS_WithTemplateSlots<T, S> = T & {
62
+ new (): {
63
+ $slots: S;
64
+ };
65
+ };
@@ -91,20 +91,20 @@ declare const _default: Install< import("vue").DefineComponent<{
91
91
  background: string;
92
92
  }>;
93
93
  titleStyle: import("vue").ComputedRef<{
94
- marginTop?: undefined;
95
- marginBottom?: undefined;
96
- marginLeft?: undefined;
97
- marginRight?: undefined;
94
+ paddingTop?: undefined;
95
+ paddingBottom?: undefined;
96
+ paddingLeft?: undefined;
97
+ paddingRight?: undefined;
98
98
  } | {
99
- marginTop: string | undefined;
100
- marginBottom: string | undefined;
101
- marginLeft?: undefined;
102
- marginRight?: undefined;
99
+ paddingTop: string | undefined;
100
+ paddingBottom: string | undefined;
101
+ paddingLeft?: undefined;
102
+ paddingRight?: undefined;
103
103
  } | {
104
- marginLeft: string | undefined;
105
- marginRight: string | undefined;
106
- marginTop?: undefined;
107
- marginBottom?: undefined;
104
+ paddingLeft: string | undefined;
105
+ paddingRight: string | undefined;
106
+ paddingTop?: undefined;
107
+ paddingBottom?: undefined;
108
108
  }>;
109
109
  tabsActiveStyle: import("vue").ComputedRef<{
110
110
  color: string;
@@ -0,0 +1,6 @@
1
+ import Tag from './tag.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { TagProps } from './tag.vue';
4
+ export type { TagType } from './types';
5
+ export type TagInstance = ComponentPublicInstance & InstanceType<typeof Tag>;
6
+ export { Tag, Tag as default };