@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
@@ -1,120 +0,0 @@
1
- import { PropType } from 'vue';
2
- import type { ProgressSize, ProgressStatus } from './types';
3
-
4
- declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
6
- };
7
- declare const _default: Install< import("vue").DefineComponent<{
8
- percentage: {
9
- type: (NumberConstructor | StringConstructor)[];
10
- default: number;
11
- required: true;
12
- };
13
- size: {
14
- type: PropType<ProgressSize>;
15
- default: string;
16
- };
17
- status: {
18
- type: PropType<ProgressStatus>;
19
- default: string;
20
- };
21
- strokeWidth: {
22
- type: (NumberConstructor | StringConstructor)[];
23
- default: string;
24
- };
25
- textInside: {
26
- type: BooleanConstructor;
27
- default: boolean;
28
- };
29
- showText: {
30
- type: BooleanConstructor;
31
- default: boolean;
32
- };
33
- strokeColor: {
34
- type: StringConstructor;
35
- default: string;
36
- };
37
- textColor: {
38
- type: StringConstructor;
39
- default: string;
40
- };
41
- textBackground: {
42
- type: StringConstructor;
43
- default: string;
44
- };
45
- isShowPercentage: {
46
- type: BooleanConstructor;
47
- default: boolean;
48
- };
49
- }, {
50
- height: import("vue").ComputedRef<string | undefined>;
51
- percentage: import("vue").ComputedRef<number>;
52
- bgStyle: import("vue").ComputedRef<{
53
- width: string;
54
- background: string;
55
- }>;
56
- textStyle: import("vue").ComputedRef<{
57
- color: string;
58
- }>;
59
- slotDefault: boolean;
60
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
61
- percentage: {
62
- type: (NumberConstructor | StringConstructor)[];
63
- default: number;
64
- required: true;
65
- };
66
- size: {
67
- type: PropType<ProgressSize>;
68
- default: string;
69
- };
70
- status: {
71
- type: PropType<ProgressStatus>;
72
- default: string;
73
- };
74
- strokeWidth: {
75
- type: (NumberConstructor | StringConstructor)[];
76
- default: string;
77
- };
78
- textInside: {
79
- type: BooleanConstructor;
80
- default: boolean;
81
- };
82
- showText: {
83
- type: BooleanConstructor;
84
- default: boolean;
85
- };
86
- strokeColor: {
87
- type: StringConstructor;
88
- default: string;
89
- };
90
- textColor: {
91
- type: StringConstructor;
92
- default: string;
93
- };
94
- textBackground: {
95
- type: StringConstructor;
96
- default: string;
97
- };
98
- isShowPercentage: {
99
- type: BooleanConstructor;
100
- default: boolean;
101
- };
102
- }>>, {
103
- size: ProgressSize;
104
- percentage: string | number;
105
- status: ProgressStatus;
106
- strokeWidth: string | number;
107
- textInside: boolean;
108
- showText: boolean;
109
- strokeColor: string;
110
- textColor: string;
111
- textBackground: string;
112
- isShowPercentage: boolean;
113
- }, {}>>;
114
- export default _default;
115
-
116
- declare module 'vue' {
117
- interface GlobalComponents {
118
- NutProgress: typeof _default;
119
- }
120
- }
@@ -1,240 +0,0 @@
1
- import { Ref } from 'vue';
2
-
3
- declare type Install<T> = T & {
4
- install(app: import('vue').App): void;
5
- };
6
- declare const _default: Install< import("vue").DefineComponent<{
7
- count: {
8
- type: (NumberConstructor | StringConstructor)[];
9
- default: number;
10
- };
11
- modelValue: {
12
- type: (NumberConstructor | StringConstructor)[];
13
- default: number;
14
- };
15
- customIcon: {
16
- type: ObjectConstructor;
17
- default: () => import("vue").DefineComponent<{
18
- class: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- name: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- color: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- width: {
31
- type: (NumberConstructor | StringConstructor)[];
32
- default: string;
33
- };
34
- height: {
35
- type: (NumberConstructor | StringConstructor)[];
36
- default: string;
37
- };
38
- }, {
39
- classes: import("vue").ComputedRef<{
40
- [x: string]: string | boolean;
41
- "nut-icon": boolean;
42
- }>;
43
- style: import("vue").ComputedRef<import("vue").CSSProperties>;
44
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
45
- class: {
46
- type: StringConstructor;
47
- default: string;
48
- };
49
- name: {
50
- type: StringConstructor;
51
- default: string;
52
- };
53
- color: {
54
- type: StringConstructor;
55
- default: string;
56
- };
57
- width: {
58
- type: (NumberConstructor | StringConstructor)[];
59
- default: string;
60
- };
61
- height: {
62
- type: (NumberConstructor | StringConstructor)[];
63
- default: string;
64
- };
65
- }>>, {
66
- name: string;
67
- width: string | number;
68
- height: string | number;
69
- color: string;
70
- class: string;
71
- }>;
72
- };
73
- size: {
74
- type: (NumberConstructor | StringConstructor)[];
75
- default: undefined;
76
- };
77
- activeColor: {
78
- type: StringConstructor;
79
- default: string;
80
- };
81
- voidColor: {
82
- type: StringConstructor;
83
- default: string;
84
- };
85
- readonly: {
86
- type: BooleanConstructor;
87
- default: boolean;
88
- };
89
- disabled: {
90
- type: BooleanConstructor;
91
- default: boolean;
92
- };
93
- allowHalf: {
94
- type: BooleanConstructor;
95
- default: boolean;
96
- };
97
- touchable: {
98
- type: BooleanConstructor;
99
- default: boolean;
100
- };
101
- spacing: {
102
- type: (NumberConstructor | StringConstructor)[];
103
- default: undefined;
104
- };
105
- }, {
106
- onClick: (e: number, index: number) => void;
107
- pxCheck: (value?: string | number | undefined) => string | undefined;
108
- rateRefs: Ref<HTMLElement[]>;
109
- refRandomId: string;
110
- renderIcon: (icon: import("vue").Component, props?: any) => "" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
111
- [key: string]: any;
112
- }>;
113
- slots: Readonly<{
114
- [name: string]: import("vue").Slot<any> | undefined;
115
- }>;
116
- disabled: import("vue").ComputedRef<boolean>;
117
- onTouchStart(event: TouchEvent): void;
118
- onTouchMove(event: TouchEvent): void;
119
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
120
- count: {
121
- type: (NumberConstructor | StringConstructor)[];
122
- default: number;
123
- };
124
- modelValue: {
125
- type: (NumberConstructor | StringConstructor)[];
126
- default: number;
127
- };
128
- customIcon: {
129
- type: ObjectConstructor;
130
- default: () => import("vue").DefineComponent<{
131
- class: {
132
- type: StringConstructor;
133
- default: string;
134
- };
135
- name: {
136
- type: StringConstructor;
137
- default: string;
138
- };
139
- color: {
140
- type: StringConstructor;
141
- default: string;
142
- };
143
- width: {
144
- type: (NumberConstructor | StringConstructor)[];
145
- default: string;
146
- };
147
- height: {
148
- type: (NumberConstructor | StringConstructor)[];
149
- default: string;
150
- };
151
- }, {
152
- classes: import("vue").ComputedRef<{
153
- [x: string]: string | boolean;
154
- "nut-icon": boolean;
155
- }>;
156
- style: import("vue").ComputedRef<import("vue").CSSProperties>;
157
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
158
- class: {
159
- type: StringConstructor;
160
- default: string;
161
- };
162
- name: {
163
- type: StringConstructor;
164
- default: string;
165
- };
166
- color: {
167
- type: StringConstructor;
168
- default: string;
169
- };
170
- width: {
171
- type: (NumberConstructor | StringConstructor)[];
172
- default: string;
173
- };
174
- height: {
175
- type: (NumberConstructor | StringConstructor)[];
176
- default: string;
177
- };
178
- }>>, {
179
- name: string;
180
- width: string | number;
181
- height: string | number;
182
- color: string;
183
- class: string;
184
- }>;
185
- };
186
- size: {
187
- type: (NumberConstructor | StringConstructor)[];
188
- default: undefined;
189
- };
190
- activeColor: {
191
- type: StringConstructor;
192
- default: string;
193
- };
194
- voidColor: {
195
- type: StringConstructor;
196
- default: string;
197
- };
198
- readonly: {
199
- type: BooleanConstructor;
200
- default: boolean;
201
- };
202
- disabled: {
203
- type: BooleanConstructor;
204
- default: boolean;
205
- };
206
- allowHalf: {
207
- type: BooleanConstructor;
208
- default: boolean;
209
- };
210
- touchable: {
211
- type: BooleanConstructor;
212
- default: boolean;
213
- };
214
- spacing: {
215
- type: (NumberConstructor | StringConstructor)[];
216
- default: undefined;
217
- };
218
- }>> & {
219
- onChange?: ((...args: any[]) => any) | undefined;
220
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
221
- }, {
222
- disabled: boolean;
223
- size: string | number;
224
- activeColor: string;
225
- modelValue: string | number;
226
- count: string | number;
227
- readonly: boolean;
228
- customIcon: Record<string, any>;
229
- voidColor: string;
230
- allowHalf: boolean;
231
- touchable: boolean;
232
- spacing: string | number;
233
- }, {}>>;
234
- export default _default;
235
-
236
- declare module 'vue' {
237
- interface GlobalComponents {
238
- NutRate: typeof _default;
239
- }
240
- }
@@ -1,70 +0,0 @@
1
- import { Ref } from 'vue';
2
- export type SwipePosition = 'left' | 'right' | '';
3
-
4
- declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
6
- };
7
- declare const _default: Install< import("vue").DefineComponent<{
8
- name: {
9
- type: StringConstructor;
10
- default: string;
11
- };
12
- touchMoveStopPropagation: {
13
- type: BooleanConstructor;
14
- default: boolean;
15
- };
16
- touchMovePreventDefault: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- disabled: {
21
- type: BooleanConstructor;
22
- default: boolean;
23
- };
24
- }, {
25
- leftRef: Ref<HTMLElement | undefined>;
26
- rightRef: Ref<HTMLElement | undefined>;
27
- open: (p?: SwipePosition) => void;
28
- close: () => void;
29
- onClick: (e: Event, position: string, lock: boolean) => void;
30
- lockClick: Ref<boolean>;
31
- onTouchStart(event: TouchEvent): void;
32
- onTouchMove(event: TouchEvent): void;
33
- onTouchEnd(): void;
34
- touchStyle: import("vue").ComputedRef<{
35
- transform: string;
36
- }>;
37
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "close" | "open")[], "click" | "close" | "open", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
- name: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- touchMoveStopPropagation: {
43
- type: BooleanConstructor;
44
- default: boolean;
45
- };
46
- touchMovePreventDefault: {
47
- type: BooleanConstructor;
48
- default: boolean;
49
- };
50
- disabled: {
51
- type: BooleanConstructor;
52
- default: boolean;
53
- };
54
- }>> & {
55
- onClick?: ((...args: any[]) => any) | undefined;
56
- onClose?: ((...args: any[]) => any) | undefined;
57
- onOpen?: ((...args: any[]) => any) | undefined;
58
- }, {
59
- name: string;
60
- disabled: boolean;
61
- touchMoveStopPropagation: boolean;
62
- touchMovePreventDefault: boolean;
63
- }, {}>>;
64
- export default _default;
65
-
66
- declare module 'vue' {
67
- interface GlobalComponents {
68
- NutSwipe: typeof _default;
69
- }
70
- }
@@ -1,26 +0,0 @@
1
-
2
- declare type Install<T> = T & {
3
- install(app: import('vue').App): void;
4
- };
5
- declare const _default: Install< import("vue").DefineComponent<{
6
- lock: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- }, {
11
- swipeGroupRef: import("vue").Ref<null>;
12
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
- lock: {
14
- type: BooleanConstructor;
15
- default: boolean;
16
- };
17
- }>>, {
18
- lock: boolean;
19
- }, {}>>;
20
- export default _default;
21
-
22
- declare module 'vue' {
23
- interface GlobalComponents {
24
- NutSwipeGroup: typeof _default;
25
- }
26
- }
@@ -1,118 +0,0 @@
1
-
2
- declare type Install<T> = T & {
3
- install(app: import('vue').App): void;
4
- };
5
- declare const _default: Install< import("vue").DefineComponent<{
6
- modelValue: {
7
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
8
- default: boolean;
9
- };
10
- disabled: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- disable: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- activeColor: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- inactiveColor: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- activeText: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- inactiveText: {
31
- type: StringConstructor;
32
- default: string;
33
- };
34
- activeValue: {
35
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
36
- default: boolean;
37
- };
38
- inactiveValue: {
39
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
40
- default: boolean;
41
- };
42
- loading: {
43
- type: BooleanConstructor;
44
- default: boolean;
45
- };
46
- }, {
47
- classes: import("vue").ComputedRef<{
48
- [x: string]: boolean;
49
- }>;
50
- style: import("vue").ComputedRef<{
51
- backgroundColor: string;
52
- }>;
53
- isActive: import("vue").ComputedRef<boolean>;
54
- onClick: (event: Event) => void;
55
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:loading")[], "change" | "update:modelValue" | "update:loading", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
56
- modelValue: {
57
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
58
- default: boolean;
59
- };
60
- disabled: {
61
- type: BooleanConstructor;
62
- default: boolean;
63
- };
64
- disable: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- activeColor: {
69
- type: StringConstructor;
70
- default: string;
71
- };
72
- inactiveColor: {
73
- type: StringConstructor;
74
- default: string;
75
- };
76
- activeText: {
77
- type: StringConstructor;
78
- default: string;
79
- };
80
- inactiveText: {
81
- type: StringConstructor;
82
- default: string;
83
- };
84
- activeValue: {
85
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
86
- default: boolean;
87
- };
88
- inactiveValue: {
89
- type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
90
- default: boolean;
91
- };
92
- loading: {
93
- type: BooleanConstructor;
94
- default: boolean;
95
- };
96
- }>> & {
97
- onChange?: ((...args: any[]) => any) | undefined;
98
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
99
- "onUpdate:loading"?: ((...args: any[]) => any) | undefined;
100
- }, {
101
- loading: boolean;
102
- disabled: boolean;
103
- activeColor: string;
104
- activeText: string;
105
- modelValue: string | number | boolean;
106
- inactiveColor: string;
107
- disable: boolean;
108
- inactiveText: string;
109
- activeValue: string | number | boolean;
110
- inactiveValue: string | number | boolean;
111
- }, {}>>;
112
- export default _default;
113
-
114
- declare module 'vue' {
115
- interface GlobalComponents {
116
- NutSwitch: typeof _default;
117
- }
118
- }
@@ -1,85 +0,0 @@
1
-
2
- declare type Install<T> = T & {
3
- install(app: import('vue').App): void;
4
- };
5
- declare const _default: Install< import("vue").DefineComponent<{
6
- modelValue: {
7
- type: (NumberConstructor | StringConstructor)[];
8
- default: number;
9
- };
10
- bottom: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- type: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- unactiveColor: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- activeColor: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- safeAreaInsetBottom: {
27
- type: BooleanConstructor;
28
- default: boolean;
29
- };
30
- placeholder: {
31
- type: BooleanConstructor;
32
- default: boolean;
33
- };
34
- }, {
35
- changeIndex: (index: number, active: number | string) => void;
36
- nutTabbar: import("vue").Ref<HTMLElement | null>;
37
- height: import("vue").Ref<any>;
38
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "tabSwitch")[], "update:modelValue" | "tabSwitch", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
39
- modelValue: {
40
- type: (NumberConstructor | StringConstructor)[];
41
- default: number;
42
- };
43
- bottom: {
44
- type: BooleanConstructor;
45
- default: boolean;
46
- };
47
- type: {
48
- type: StringConstructor;
49
- default: string;
50
- };
51
- unactiveColor: {
52
- type: StringConstructor;
53
- default: string;
54
- };
55
- activeColor: {
56
- type: StringConstructor;
57
- default: string;
58
- };
59
- safeAreaInsetBottom: {
60
- type: BooleanConstructor;
61
- default: boolean;
62
- };
63
- placeholder: {
64
- type: BooleanConstructor;
65
- default: boolean;
66
- };
67
- }>> & {
68
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
69
- onTabSwitch?: ((...args: any[]) => any) | undefined;
70
- }, {
71
- type: string;
72
- bottom: boolean;
73
- safeAreaInsetBottom: boolean;
74
- placeholder: boolean;
75
- activeColor: string;
76
- modelValue: string | number;
77
- unactiveColor: string;
78
- }, {}>>;
79
- export default _default;
80
-
81
- declare module 'vue' {
82
- interface GlobalComponents {
83
- NutTabbar: typeof _default;
84
- }
85
- }