@nutui/nutui 4.3.3 → 4.3.5

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 (188) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/nutui.es.js +1 -1
  3. package/dist/nutui.js +4809 -5077
  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 +4 -4
  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 +2 -2
  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 +6 -6
  20. package/dist/packages/calendarcard/CalendarCard.js +3 -3
  21. package/dist/packages/card/Card.js +2 -2
  22. package/dist/packages/cascader/Cascader.js +4 -4
  23. package/dist/packages/category/Category.js +4 -4
  24. package/dist/packages/categorypane/CategoryPane.js +5 -5
  25. package/dist/packages/cell/Cell.js +91 -82
  26. package/dist/packages/cellgroup/CellGroup.js +44 -21
  27. package/dist/packages/checkbox/Checkbox.js +4 -4
  28. package/dist/packages/checkboxgroup/CheckboxGroup.js +2 -2
  29. package/dist/packages/circleprogress/CircleProgress.js +2 -2
  30. package/dist/packages/col/Col.js +2 -2
  31. package/dist/packages/collapse/Collapse.js +2 -2
  32. package/dist/packages/collapseitem/CollapseItem.js +3 -3
  33. package/dist/packages/comment/Comment.js +4 -4
  34. package/dist/packages/{common-4inKawxR.js → common-Chr7cC9o.js} +2 -2
  35. package/dist/packages/{common-FZL3qC99.js → common-DRG0ue26.js} +1 -1
  36. package/dist/packages/configprovider/ConfigProvider.js +1 -1
  37. package/dist/packages/countdown/Countdown.js +4 -4
  38. package/dist/packages/countup/Countup.js +9 -9
  39. package/dist/packages/{date-djiVNSnJ.js → date-DHXcwF1m.js} +2 -2
  40. package/dist/packages/datepicker/DatePicker.js +3 -3
  41. package/dist/packages/dialog/Dialog.js +8 -8
  42. package/dist/packages/divider/Divider.js +1 -1
  43. package/dist/packages/drag/Drag.js +3 -3
  44. package/dist/packages/ecard/Ecard.js +3 -3
  45. package/dist/packages/elevator/Elevator.js +2 -2
  46. package/dist/packages/ellipsis/Ellipsis.js +4 -4
  47. package/dist/packages/empty/Empty.js +67 -52
  48. package/dist/packages/fixednav/FixedNav.js +3 -3
  49. package/dist/packages/form/Form.js +7 -7
  50. package/dist/packages/formitem/FormItem.js +7 -7
  51. package/dist/packages/grid/Grid.js +2 -2
  52. package/dist/packages/griditem/GridItem.js +5 -5
  53. package/dist/packages/image/Image.js +3 -3
  54. package/dist/packages/imagepreview/ImagePreview.js +8 -8
  55. package/dist/packages/{index-s3RgMhc7.js → index-CFigyH92.js} +1 -1
  56. package/dist/packages/{index--uVlasFu.js → index-Do4_KY74.js} +2 -2
  57. package/dist/packages/{index-BqB5dTeo.js → index-uHBD4dfS.js} +2 -2
  58. package/dist/packages/{index.vue_vue_type_script_lang-n0HbjvfF.js → index.vue_vue_type_script_lang-CTQUvlgN.js} +4 -4
  59. package/dist/packages/{index.vue_vue_type_script_lang-54PRh3YM.js → index.vue_vue_type_script_lang-CaSiRl9x.js} +2 -2
  60. package/dist/packages/indicator/Indicator.js +56 -50
  61. package/dist/packages/infiniteloading/InfiniteLoading.js +6 -6
  62. package/dist/packages/input/Input.js +3 -3
  63. package/dist/packages/inputnumber/InputNumber.js +9 -9
  64. package/dist/packages/invoice/Invoice.js +3 -3
  65. package/dist/packages/layout/Layout.js +2 -2
  66. package/dist/packages/list/List.js +3 -3
  67. package/dist/packages/locale/lang/en-US.js +1 -1
  68. package/dist/packages/locale/lang/id-ID.js +1 -1
  69. package/dist/packages/locale/lang/index.js +2 -2
  70. package/dist/packages/locale/lang/zh-CN.js +1 -1
  71. package/dist/packages/locale/lang/zh-TW.js +1 -1
  72. package/dist/packages/menu/Menu.js +5 -5
  73. package/dist/packages/menuitem/MenuItem.js +5 -5
  74. package/dist/packages/{mountComponent-uInXoTMp.js → mountComponent-DBQ88Fjz.js} +1 -1
  75. package/dist/packages/navbar/Navbar.js +1 -1
  76. package/dist/packages/noticebar/Noticebar.js +3 -3
  77. package/dist/packages/notify/Notify.js +3 -3
  78. package/dist/packages/numberkeyboard/NumberKeyboard.js +4 -4
  79. package/dist/packages/overlay/Overlay.js +3 -3
  80. package/dist/packages/pagination/Pagination.js +3 -3
  81. package/dist/packages/picker/Picker.js +7 -10
  82. package/dist/packages/popover/Popover.js +5 -5
  83. package/dist/packages/popup/Popup.js +2 -2
  84. package/dist/packages/price/Price.js +1 -1
  85. package/dist/packages/progress/Progress.js +1 -1
  86. package/dist/packages/pullrefresh/PullRefresh.js +7 -7
  87. package/dist/packages/radio/Radio.js +1 -1
  88. package/dist/packages/radiogroup/RadioGroup.js +1 -1
  89. package/dist/packages/range/Range.js +6 -6
  90. package/dist/packages/rate/Rate.js +5 -5
  91. package/dist/packages/row/Row.js +2 -2
  92. package/dist/packages/searchbar/Searchbar.js +5 -5
  93. package/dist/packages/shortpassword/ShortPassword.js +5 -5
  94. package/dist/packages/sidenavbar/SideNavbar.js +2 -2
  95. package/dist/packages/sidenavbaritem/SideNavbarItem.js +2 -2
  96. package/dist/packages/signature/Signature.js +3 -3
  97. package/dist/packages/skeleton/Skeleton.js +89 -124
  98. package/dist/packages/sku/Sku.js +4 -4
  99. package/dist/packages/space/Space.js +1 -1
  100. package/dist/packages/step/Step.js +3 -3
  101. package/dist/packages/steps/Steps.js +2 -2
  102. package/dist/packages/sticky/Sticky.js +4 -4
  103. package/dist/packages/subsidenavbar/SubSideNavbar.js +2 -2
  104. package/dist/packages/swipe/Swipe.js +3 -3
  105. package/dist/packages/swipegroup/SwipeGroup.js +2 -2
  106. package/dist/packages/swiper/Swiper.js +7 -7
  107. package/dist/packages/swiperitem/SwiperItem.js +3 -3
  108. package/dist/packages/switch/Switch.js +68 -86
  109. package/dist/packages/tabbar/Tabbar.js +78 -78
  110. package/dist/packages/tabbaritem/TabbarItem.js +89 -113
  111. package/dist/packages/table/Table.js +3 -3
  112. package/dist/packages/tabpane/TabPane.js +2 -2
  113. package/dist/packages/tabs/Tabs.js +9 -9
  114. package/dist/packages/tag/Tag.js +1 -1
  115. package/dist/packages/textarea/Textarea.js +113 -127
  116. package/dist/packages/timedetail/TimeDetail.js +2 -2
  117. package/dist/packages/timepannel/TimePannel.js +2 -2
  118. package/dist/packages/timeselect/TimeSelect.js +4 -4
  119. package/dist/packages/toast/Toast.js +6 -6
  120. package/dist/packages/tour/Tour.js +3 -3
  121. package/dist/packages/trendarrow/TrendArrow.js +51 -83
  122. package/dist/packages/uploader/Uploader.js +5 -5
  123. package/dist/packages/{useChildren-GU_NVfD8.js → useChildren-BZ4-J79J.js} +2 -2
  124. package/dist/packages/useParent-D6DiuxZZ.js +21 -0
  125. package/dist/packages/{util-4Jkyw4BJ.js → util-DnfK0Qan.js} +2 -2
  126. package/dist/packages/video/Video.js +16 -16
  127. package/dist/packages/watermark/Watermark.js +2 -2
  128. package/dist/smartips/web-types.json +1 -1
  129. package/dist/types/__VUE/cell/cell.vue.d.ts +113 -0
  130. package/dist/types/__VUE/cell/index.d.ts +6 -0
  131. package/dist/types/__VUE/cellgroup/cell-group.vue.d.ts +55 -0
  132. package/dist/types/__VUE/cellgroup/index.d.ts +5 -0
  133. package/dist/types/__VUE/empty/empty.vue.d.ts +62 -0
  134. package/dist/types/__VUE/empty/index.d.ts +6 -0
  135. package/dist/types/__VUE/indicator/index.d.ts +6 -0
  136. package/dist/types/__VUE/indicator/indicator.vue.d.ts +65 -0
  137. package/dist/types/__VUE/navbar/navbar.vue.d.ts +1 -1
  138. package/dist/types/__VUE/skeleton/index.d.ts +5 -0
  139. package/dist/types/__VUE/skeleton/skeleton.vue.d.ts +102 -0
  140. package/dist/types/__VUE/swiper/index.vue.d.ts +2 -2
  141. package/dist/types/__VUE/switch/index.d.ts +5 -0
  142. package/dist/types/__VUE/switch/switch.vue.d.ts +109 -0
  143. package/dist/types/__VUE/tabbar/index.d.ts +5 -0
  144. package/dist/types/__VUE/tabbar/tabbar.vue.d.ts +83 -0
  145. package/dist/types/__VUE/tabbaritem/index.d.ts +5 -0
  146. package/dist/types/__VUE/tabbaritem/tabbar-item.vue.d.ts +65 -0
  147. package/dist/types/__VUE/tabs/index.vue.d.ts +12 -12
  148. package/dist/types/__VUE/textarea/index.d.ts +5 -0
  149. package/dist/types/__VUE/textarea/textarea.vue.d.ts +104 -0
  150. package/dist/types/__VUE/trendarrow/index.d.ts +5 -0
  151. package/dist/types/__VUE/trendarrow/trend-arrow.vue.d.ts +96 -0
  152. package/dist/types/__VUE/uploader/index.vue.d.ts +1 -1
  153. package/dist/types/index.d.ts +21 -11
  154. package/dist/types/utils/Interceptor.d.ts +2 -2
  155. package/dist/types/utils/throttle.d.ts +1 -1
  156. package/dist/types/utils/useRelation/useParent.d.ts +1 -0
  157. package/package.json +1 -1
  158. package/dist/packages/useParent-KIxqkovs.js +0 -16
  159. package/dist/types/__VUE/cell/index.vue.d.ts +0 -120
  160. package/dist/types/__VUE/cellgroup/index.vue.d.ts +0 -33
  161. package/dist/types/__VUE/empty/index.vue.d.ts +0 -53
  162. package/dist/types/__VUE/indicator/index.vue.d.ts +0 -69
  163. package/dist/types/__VUE/skeleton/index.vue.d.ts +0 -117
  164. package/dist/types/__VUE/switch/index.vue.d.ts +0 -118
  165. package/dist/types/__VUE/tabbar/index.vue.d.ts +0 -85
  166. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +0 -60
  167. package/dist/types/__VUE/textarea/index.vue.d.ts +0 -127
  168. package/dist/types/__VUE/trendarrow/index.vue.d.ts +0 -102
  169. /package/dist/packages/{_plugin-vue_export-helper-yVxbj29m.js → _plugin-vue_export-helper-1tPrXgE0.js} +0 -0
  170. /package/dist/packages/{component-TCzwHGVq.js → component-DQf3CENX.js} +0 -0
  171. /package/dist/packages/{index-cp6Ms_Qe.js → index-B1qsj2XR.js} +0 -0
  172. /package/dist/packages/{index-xDfQLRen.js → index-BvmDLUYP.js} +0 -0
  173. /package/dist/packages/{index-084nl_oE.js → index-I8tfW3Kf.js} +0 -0
  174. /package/dist/packages/{index-Ii9XdkPy.js → index-aiGQ-EiA.js} +0 -0
  175. /package/dist/packages/locale/lang/{baseLang-7uiEiO-2.js → baseLang-Bnfy6fTl.js} +0 -0
  176. /package/dist/packages/{pxCheck-OnXlN1NC.js → pxCheck-DN6FYV6q.js} +0 -0
  177. /package/dist/packages/{raf-MQjoO-Ag.js → raf-c01wDYCo.js} +0 -0
  178. /package/dist/packages/{renderIcon--EgZu5_5.js → renderIcon-BfOvhG7i.js} +0 -0
  179. /package/dist/packages/{types-RCVUm7Nb.js → types-1HzUV14W.js} +0 -0
  180. /package/dist/packages/{types-zeKkNDAq.js → types-48N1bMrT.js} +0 -0
  181. /package/dist/packages/{types-Ww4ErYJT.js → types-BKDaJvHp.js} +0 -0
  182. /package/dist/packages/{types-odSRziQJ.js → types-BODurTjN.js} +0 -0
  183. /package/dist/packages/{types-qOrhXtA_.js → types-BWhKcf4T.js} +0 -0
  184. /package/dist/packages/{types-4IflWeQO.js → types-BomhFk3T.js} +0 -0
  185. /package/dist/packages/{types-j71K23JP.js → types-CkPfROfI.js} +0 -0
  186. /package/dist/packages/{types-9wCQwtH3.js → types-DUkJysbi.js} +0 -0
  187. /package/dist/packages/{types-Cq2YypZn.js → types-MuhxzCWc.js} +0 -0
  188. /package/dist/packages/{with-install-p59gYYU_.js → with-install-Ch3FF0uS.js} +0 -0
@@ -1,33 +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
- title: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- desc: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
- title: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- desc: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- }>>, {
24
- title: string;
25
- desc: string;
26
- }, {}>>;
27
- export default _default;
28
-
29
- declare module 'vue' {
30
- interface GlobalComponents {
31
- NutCellGroup: typeof _default;
32
- }
33
- }
@@ -1,53 +0,0 @@
1
- import { PropType } 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
- image: {
8
- type: PropType<string>;
9
- default: string;
10
- };
11
- imageSize: {
12
- type: (NumberConstructor | StringConstructor)[];
13
- default: string;
14
- };
15
- description: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- }, {
20
- src: import("vue").ComputedRef<any>;
21
- style: import("vue").ComputedRef<{
22
- width: string | undefined;
23
- height: string | undefined;
24
- } | {
25
- width?: undefined;
26
- height?: undefined;
27
- }>;
28
- translate: (keyPath: string, ...args: unknown[]) => any;
29
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
- image: {
31
- type: PropType<string>;
32
- default: string;
33
- };
34
- imageSize: {
35
- type: (NumberConstructor | StringConstructor)[];
36
- default: string;
37
- };
38
- description: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- }>>, {
43
- image: string;
44
- description: string;
45
- imageSize: string | number;
46
- }, {}>>;
47
- export default _default;
48
-
49
- declare module 'vue' {
50
- interface GlobalComponents {
51
- NutEmpty: typeof _default;
52
- }
53
- }
@@ -1,69 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { IndicatorAlign } 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
- size: {
9
- type: NumberConstructor;
10
- default: number;
11
- };
12
- current: {
13
- type: NumberConstructor;
14
- default: number;
15
- };
16
- block: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- align: {
21
- type: PropType<IndicatorAlign>;
22
- default: string;
23
- };
24
- fillZero: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- }, {
29
- classes: import("vue").ComputedRef<{
30
- [x: string]: boolean | IndicatorAlign;
31
- "nut-indicator": boolean;
32
- "nut-indicator--block": boolean;
33
- }>;
34
- padZero: (num: string | number, length?: number) => string;
35
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
- size: {
37
- type: NumberConstructor;
38
- default: number;
39
- };
40
- current: {
41
- type: NumberConstructor;
42
- default: number;
43
- };
44
- block: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- align: {
49
- type: PropType<IndicatorAlign>;
50
- default: string;
51
- };
52
- fillZero: {
53
- type: BooleanConstructor;
54
- default: boolean;
55
- };
56
- }>>, {
57
- size: number;
58
- block: boolean;
59
- align: IndicatorAlign;
60
- current: number;
61
- fillZero: boolean;
62
- }, {}>>;
63
- export default _default;
64
-
65
- declare module 'vue' {
66
- interface GlobalComponents {
67
- NutIndicator: typeof _default;
68
- }
69
- }
@@ -1,117 +0,0 @@
1
- import { AvatarShape } from '../avatar/types';
2
- import { CSSProperties, PropType } from 'vue';
3
-
4
- declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
6
- };
7
- declare const _default: Install< import("vue").DefineComponent<{
8
- width: {
9
- type: StringConstructor;
10
- default: string;
11
- };
12
- height: {
13
- type: StringConstructor;
14
- default: string;
15
- };
16
- animated: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- avatar: {
21
- type: BooleanConstructor;
22
- default: boolean;
23
- };
24
- avatarShape: {
25
- type: PropType<AvatarShape>;
26
- default: string;
27
- };
28
- avatarSize: {
29
- type: StringConstructor;
30
- default: string;
31
- };
32
- loading: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- round: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- row: {
41
- type: StringConstructor;
42
- default: string;
43
- };
44
- title: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- }, {
49
- avatarShape: import("vue").Ref<AvatarShape>;
50
- avatarClass: import("vue").ComputedRef<{
51
- [x: string]: boolean | AvatarShape;
52
- avatarClass: boolean;
53
- }>;
54
- getBlockClass: (prefixCls: string) => {
55
- [x: string]: boolean;
56
- };
57
- getStyle: () => CSSProperties;
58
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
59
- width: {
60
- type: StringConstructor;
61
- default: string;
62
- };
63
- height: {
64
- type: StringConstructor;
65
- default: string;
66
- };
67
- animated: {
68
- type: BooleanConstructor;
69
- default: boolean;
70
- };
71
- avatar: {
72
- type: BooleanConstructor;
73
- default: boolean;
74
- };
75
- avatarShape: {
76
- type: PropType<AvatarShape>;
77
- default: string;
78
- };
79
- avatarSize: {
80
- type: StringConstructor;
81
- default: string;
82
- };
83
- loading: {
84
- type: BooleanConstructor;
85
- default: boolean;
86
- };
87
- round: {
88
- type: BooleanConstructor;
89
- default: boolean;
90
- };
91
- row: {
92
- type: StringConstructor;
93
- default: string;
94
- };
95
- title: {
96
- type: BooleanConstructor;
97
- default: boolean;
98
- };
99
- }>>, {
100
- round: boolean;
101
- loading: boolean;
102
- width: string;
103
- height: string;
104
- title: boolean;
105
- row: string;
106
- avatar: boolean;
107
- animated: boolean;
108
- avatarShape: AvatarShape;
109
- avatarSize: string;
110
- }, {}>>;
111
- export default _default;
112
-
113
- declare module 'vue' {
114
- interface GlobalComponents {
115
- NutSkeleton: typeof _default;
116
- }
117
- }
@@ -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
- }
@@ -1,60 +0,0 @@
1
- import { Component, PropType } 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
- tabTitle: {
8
- type: StringConstructor;
9
- default: string;
10
- };
11
- name: {
12
- type: StringConstructor;
13
- };
14
- icon: {
15
- type: PropType<Component>;
16
- };
17
- href: {
18
- type: StringConstructor;
19
- default: string;
20
- };
21
- to: (ObjectConstructor | StringConstructor)[];
22
- }, {
23
- state: {
24
- unactiveColor: any;
25
- activeColor: any;
26
- index: number;
27
- };
28
- active: import("vue").ComputedRef<boolean>;
29
- renderIcon: (icon: Component, props?: any) => "" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
- [key: string]: any;
31
- }>;
32
- isHaveSlot: (slot: string) => import("vue").Slot<any> | undefined;
33
- change: () => void;
34
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
- tabTitle: {
36
- type: StringConstructor;
37
- default: string;
38
- };
39
- name: {
40
- type: StringConstructor;
41
- };
42
- icon: {
43
- type: PropType<Component>;
44
- };
45
- href: {
46
- type: StringConstructor;
47
- default: string;
48
- };
49
- to: (ObjectConstructor | StringConstructor)[];
50
- }>>, {
51
- tabTitle: string;
52
- href: string;
53
- }, {}>>;
54
- export default _default;
55
-
56
- declare module 'vue' {
57
- interface GlobalComponents {
58
- NutTabbarItem: typeof _default;
59
- }
60
- }
@@ -1,127 +0,0 @@
1
- export interface InputTarget extends HTMLInputElement {
2
- composing: boolean;
3
- }
4
-
5
- declare type Install<T> = T & {
6
- install(app: import('vue').App): void;
7
- };
8
- declare const _default: Install< import("vue").DefineComponent<{
9
- modelValue: {
10
- type: StringConstructor;
11
- default: string;
12
- };
13
- textAlign: {
14
- type: StringConstructor;
15
- default: string;
16
- };
17
- limitShow: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- maxLength: {
22
- type: (NumberConstructor | StringConstructor)[];
23
- default: string;
24
- };
25
- rows: {
26
- type: (NumberConstructor | StringConstructor)[];
27
- default: string;
28
- };
29
- placeholder: {
30
- type: StringConstructor;
31
- default: string;
32
- };
33
- readonly: {
34
- type: BooleanConstructor;
35
- default: boolean;
36
- };
37
- disabled: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- autosize: {
42
- type: (ObjectConstructor | BooleanConstructor)[];
43
- default: boolean;
44
- };
45
- autofocus: {
46
- type: BooleanConstructor;
47
- default: boolean;
48
- };
49
- }, {
50
- textareaRef: import("vue").Ref<any>;
51
- classes: import("vue").ComputedRef<{
52
- "nut-textarea": boolean;
53
- "nut-textarea--disabled": boolean;
54
- }>;
55
- styles: any;
56
- disabled: import("vue").ComputedRef<boolean>;
57
- change: (event: Event) => void;
58
- focus: (event: Event) => void;
59
- blur: (event: Event) => void;
60
- translate: (keyPath: string, ...args: unknown[]) => any;
61
- startComposing: ({ target }: Event) => void;
62
- endComposing: ({ target }: Event) => void;
63
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "update:modelValue")[], "blur" | "change" | "focus" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
64
- modelValue: {
65
- type: StringConstructor;
66
- default: string;
67
- };
68
- textAlign: {
69
- type: StringConstructor;
70
- default: string;
71
- };
72
- limitShow: {
73
- type: BooleanConstructor;
74
- default: boolean;
75
- };
76
- maxLength: {
77
- type: (NumberConstructor | StringConstructor)[];
78
- default: string;
79
- };
80
- rows: {
81
- type: (NumberConstructor | StringConstructor)[];
82
- default: string;
83
- };
84
- placeholder: {
85
- type: StringConstructor;
86
- default: string;
87
- };
88
- readonly: {
89
- type: BooleanConstructor;
90
- default: boolean;
91
- };
92
- disabled: {
93
- type: BooleanConstructor;
94
- default: boolean;
95
- };
96
- autosize: {
97
- type: (ObjectConstructor | BooleanConstructor)[];
98
- default: boolean;
99
- };
100
- autofocus: {
101
- type: BooleanConstructor;
102
- default: boolean;
103
- };
104
- }>> & {
105
- onFocus?: ((...args: any[]) => any) | undefined;
106
- onBlur?: ((...args: any[]) => any) | undefined;
107
- onChange?: ((...args: any[]) => any) | undefined;
108
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
109
- }, {
110
- disabled: boolean;
111
- placeholder: string;
112
- modelValue: string;
113
- maxLength: string | number;
114
- autofocus: boolean;
115
- readonly: boolean;
116
- textAlign: string;
117
- limitShow: boolean;
118
- rows: string | number;
119
- autosize: boolean | Record<string, any>;
120
- }, {}>>;
121
- export default _default;
122
-
123
- declare module 'vue' {
124
- interface GlobalComponents {
125
- NutTextarea: typeof _default;
126
- }
127
- }