@nutui/nutui 4.2.7 → 4.2.9

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 (175) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/nutui.es.js +1 -1
  3. package/dist/nutui.js +4297 -4295
  4. package/dist/nutui.umd.js +1 -1
  5. package/dist/packages/addresslist/AddressList.js +4 -3
  6. package/dist/packages/audiooperate/AudioOperate.js +3 -2
  7. package/dist/packages/avatar/index.css +1 -1
  8. package/dist/packages/avatar/index.scss +1 -1
  9. package/dist/packages/avatarcropper/AvatarCropper.js +10 -5
  10. package/dist/packages/avatarcropper/index.css +1 -1
  11. package/dist/packages/avatarcropper/index.scss +3 -0
  12. package/dist/packages/button/Button.js +66 -49
  13. package/dist/packages/calendar/Calendar.js +18 -4
  14. package/dist/packages/calendaritem/CalendarItem.js +1 -1
  15. package/dist/packages/cell/Cell.js +9 -4
  16. package/dist/packages/datepicker/DatePicker.js +31 -30
  17. package/dist/packages/datepicker/index.css +1 -1
  18. package/dist/packages/dialog/Dialog.js +4 -3
  19. package/dist/packages/dialog/index.css +1 -1
  20. package/dist/packages/dialog/index.scss +0 -3
  21. package/dist/packages/divider/Divider.js +40 -18
  22. package/dist/packages/formitem/index.css +1 -1
  23. package/dist/packages/formitem/index.scss +1 -3
  24. package/dist/packages/{index-NLe0VBkN.js → index-kWulbKuH.js} +4 -2
  25. package/dist/packages/invoice/Invoice.js +3 -2
  26. package/dist/packages/invoice/index.css +1 -1
  27. package/dist/packages/list/List.js +6 -4
  28. package/dist/packages/picker/index.css +1 -1
  29. package/dist/packages/picker/index.scss +2 -0
  30. package/dist/packages/sidenavbar/SideNavbar.js +1 -1
  31. package/dist/packages/sidenavbar/index.css +1 -1
  32. package/dist/packages/sidenavbar/index.scss +0 -1
  33. package/dist/packages/sidenavbaritem/SideNavbarItem.js +4 -21
  34. package/dist/packages/signature/Signature.js +3 -2
  35. package/dist/packages/skeleton/index.css +1 -1
  36. package/dist/packages/subsidenavbar/SubSideNavbar.js +3 -10
  37. package/dist/packages/subsidenavbar/index.css +1 -1
  38. package/dist/packages/subsidenavbar/index.scss +0 -6
  39. package/dist/packages/with-install-p59gYYU_.js +12 -0
  40. package/dist/smartips/web-types.json +11 -2
  41. package/dist/style.css +1 -1
  42. package/dist/types/__VUE/actionsheet/index.vue.d.ts +7 -7
  43. package/dist/types/__VUE/address/index.vue.d.ts +11 -11
  44. package/dist/types/__VUE/addresslist/index.vue.d.ts +5 -5
  45. package/dist/types/__VUE/animate/index.vue.d.ts +4 -4
  46. package/dist/types/__VUE/audio/index.vue.d.ts +6 -6
  47. package/dist/types/__VUE/audiooperate/index.vue.d.ts +4 -4
  48. package/dist/types/__VUE/avatar/index.vue.d.ts +5 -5
  49. package/dist/types/__VUE/avatarcropper/index.vue.d.ts +16 -7
  50. package/dist/types/__VUE/avatarcropper/types.d.ts +1 -0
  51. package/dist/types/__VUE/avatargroup/index.vue.d.ts +5 -5
  52. package/dist/types/__VUE/backtop/index.vue.d.ts +6 -6
  53. package/dist/types/__VUE/badge/index.vue.d.ts +6 -6
  54. package/dist/types/__VUE/barrage/index.vue.d.ts +5 -5
  55. package/dist/types/__VUE/button/{index.vue.d.ts → button.vue.d.ts} +36 -27
  56. package/dist/types/__VUE/button/index.d.ts +5 -0
  57. package/dist/types/__VUE/calendar/index.vue.d.ts +9 -7
  58. package/dist/types/__VUE/calendaritem/index.vue.d.ts +10 -10
  59. package/dist/types/__VUE/card/index.vue.d.ts +4 -4
  60. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +4 -4
  61. package/dist/types/__VUE/cascader/index.vue.d.ts +7 -7
  62. package/dist/types/__VUE/category/index.vue.d.ts +4 -4
  63. package/dist/types/__VUE/categorypane/index.vue.d.ts +4 -4
  64. package/dist/types/__VUE/cell/index.vue.d.ts +12 -11
  65. package/dist/types/__VUE/cell/types.d.ts +1 -0
  66. package/dist/types/__VUE/cellgroup/index.vue.d.ts +4 -4
  67. package/dist/types/__VUE/checkbox/index.vue.d.ts +13 -11
  68. package/dist/types/__VUE/checkbox/types.d.ts +2 -0
  69. package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +4 -4
  70. package/dist/types/__VUE/circleprogress/index.vue.d.ts +5 -5
  71. package/dist/types/__VUE/col/index.vue.d.ts +4 -4
  72. package/dist/types/__VUE/collapse/index.vue.d.ts +4 -4
  73. package/dist/types/__VUE/collapseitem/index.vue.d.ts +7 -7
  74. package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +1 -1
  75. package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +1 -1
  76. package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +1 -1
  77. package/dist/types/__VUE/comment/index.vue.d.ts +9 -9
  78. package/dist/types/__VUE/configprovider/index.vue.d.ts +5 -5
  79. package/dist/types/__VUE/countdown/index.vue.d.ts +4 -4
  80. package/dist/types/__VUE/countup/index.vue.d.ts +8 -8
  81. package/dist/types/__VUE/datepicker/index.vue.d.ts +9 -9
  82. package/dist/types/__VUE/dialog/index.vue.d.ts +7 -7
  83. package/dist/types/__VUE/divider/divider.vue.d.ts +56 -0
  84. package/dist/types/__VUE/divider/index.d.ts +5 -0
  85. package/dist/types/__VUE/drag/index.vue.d.ts +4 -4
  86. package/dist/types/__VUE/ecard/index.vue.d.ts +7 -7
  87. package/dist/types/__VUE/elevator/index.vue.d.ts +4 -4
  88. package/dist/types/__VUE/ellipsis/index.vue.d.ts +11 -11
  89. package/dist/types/__VUE/ellipsis/types.d.ts +1 -0
  90. package/dist/types/__VUE/empty/index.vue.d.ts +4 -4
  91. package/dist/types/__VUE/fixednav/index.vue.d.ts +6 -6
  92. package/dist/types/__VUE/form/index.vue.d.ts +4 -4
  93. package/dist/types/__VUE/formitem/index.vue.d.ts +4 -4
  94. package/dist/types/__VUE/grid/index.vue.d.ts +6 -6
  95. package/dist/types/__VUE/griditem/index.vue.d.ts +4 -4
  96. package/dist/types/__VUE/image/index.vue.d.ts +8 -8
  97. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +5 -5
  98. package/dist/types/__VUE/imagepreview/index.vue.d.ts +9 -9
  99. package/dist/types/__VUE/indicator/index.vue.d.ts +4 -4
  100. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +4 -4
  101. package/dist/types/__VUE/input/index.vue.d.ts +15 -15
  102. package/dist/types/__VUE/inputnumber/index.vue.d.ts +7 -7
  103. package/dist/types/__VUE/invoice/index.vue.d.ts +6 -6
  104. package/dist/types/__VUE/layout/index.vue.d.ts +4 -4
  105. package/dist/types/__VUE/list/index.vue.d.ts +8 -11
  106. package/dist/types/__VUE/menu/index.vue.d.ts +7 -7
  107. package/dist/types/__VUE/menuitem/index.vue.d.ts +4 -4
  108. package/dist/types/__VUE/navbar/index.vue.d.ts +6 -6
  109. package/dist/types/__VUE/noticebar/index.vue.d.ts +6 -6
  110. package/dist/types/__VUE/notify/index.vue.d.ts +7 -7
  111. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +8 -8
  112. package/dist/types/__VUE/overlay/index.vue.d.ts +4 -4
  113. package/dist/types/__VUE/pagination/index.vue.d.ts +5 -5
  114. package/dist/types/__VUE/picker/Column.vue.d.ts +7 -7
  115. package/dist/types/__VUE/picker/baseProps.d.ts +4 -4
  116. package/dist/types/__VUE/picker/index.vue.d.ts +6 -6
  117. package/dist/types/__VUE/popover/index.vue.d.ts +9 -9
  118. package/dist/types/__VUE/popup/index.vue.d.ts +6 -6
  119. package/dist/types/__VUE/price/index.vue.d.ts +4 -4
  120. package/dist/types/__VUE/progress/index.vue.d.ts +6 -6
  121. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +4 -4
  122. package/dist/types/__VUE/radio/index.vue.d.ts +8 -8
  123. package/dist/types/__VUE/radiogroup/index.vue.d.ts +7 -7
  124. package/dist/types/__VUE/range/index.vue.d.ts +8 -8
  125. package/dist/types/__VUE/rate/index.vue.d.ts +9 -9
  126. package/dist/types/__VUE/row/index.vue.d.ts +5 -5
  127. package/dist/types/__VUE/searchbar/index.vue.d.ts +16 -16
  128. package/dist/types/__VUE/shortpassword/index.vue.d.ts +5 -5
  129. package/dist/types/__VUE/sidenavbar/index.vue.d.ts +4 -4
  130. package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +6 -19
  131. package/dist/types/__VUE/signature/index.vue.d.ts +6 -6
  132. package/dist/types/__VUE/skeleton/index.vue.d.ts +7 -7
  133. package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +2 -2
  134. package/dist/types/__VUE/sku/index.vue.d.ts +6 -6
  135. package/dist/types/__VUE/space/index.vue.d.ts +4 -4
  136. package/dist/types/__VUE/step/index.vue.d.ts +4 -4
  137. package/dist/types/__VUE/steps/index.vue.d.ts +4 -4
  138. package/dist/types/__VUE/sticky/index.vue.d.ts +5 -5
  139. package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +4 -13
  140. package/dist/types/__VUE/swipe/index.vue.d.ts +4 -4
  141. package/dist/types/__VUE/swipegroup/index.vue.d.ts +4 -4
  142. package/dist/types/__VUE/swiper/index.vue.d.ts +5 -5
  143. package/dist/types/__VUE/swiperitem/index.vue.d.ts +4 -4
  144. package/dist/types/__VUE/switch/index.vue.d.ts +13 -13
  145. package/dist/types/__VUE/tabbar/index.vue.d.ts +6 -6
  146. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +6 -6
  147. package/dist/types/__VUE/table/index.vue.d.ts +4 -4
  148. package/dist/types/__VUE/table/renderColumn.d.ts +4 -4
  149. package/dist/types/__VUE/tabpane/index.vue.d.ts +5 -5
  150. package/dist/types/__VUE/tabs/index.vue.d.ts +11 -11
  151. package/dist/types/__VUE/tag/index.vue.d.ts +8 -8
  152. package/dist/types/__VUE/textarea/index.vue.d.ts +11 -11
  153. package/dist/types/__VUE/timedetail/index.vue.d.ts +4 -4
  154. package/dist/types/__VUE/timepannel/index.vue.d.ts +4 -4
  155. package/dist/types/__VUE/timeselect/index.vue.d.ts +5 -5
  156. package/dist/types/__VUE/toast/index.vue.d.ts +10 -10
  157. package/dist/types/__VUE/tour/index.vue.d.ts +9 -9
  158. package/dist/types/__VUE/trendarrow/index.vue.d.ts +5 -5
  159. package/dist/types/__VUE/uploader/index.vue.d.ts +10 -10
  160. package/dist/types/__VUE/video/index.vue.d.ts +5 -5
  161. package/dist/types/__VUE/watermark/index.vue.d.ts +7 -7
  162. package/dist/types/index.d.ts +5 -3
  163. package/dist/types/utils/canvas.d.ts +1 -1
  164. package/dist/types/utils/create/renderIcon.d.ts +2 -2
  165. package/dist/types/utils/index.d.ts +1 -0
  166. package/dist/types/utils/with-install.d.ts +5 -0
  167. package/package.json +5 -3
  168. package/dist/types/__VUE/address/address-list.d.ts +0 -30
  169. package/dist/types/__VUE/divider/index.vue.d.ts +0 -71
  170. package/dist/types/__VUE/icon/index.vue.d.ts +0 -13
  171. package/dist/types/__VUE/invoice/types.d.ts +0 -6
  172. package/dist/types/__VUE/picker/doc.en.d.ts +0 -90
  173. package/dist/types/__VUE/sku/data.d.ts +0 -22
  174. package/dist/types/__VUE/tour/type.d.ts +0 -2
  175. /package/dist/types/__VUE/button/{type.d.ts → types.d.ts} +0 -0
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
2
2
  import type { ProgressSize, ProgressStatus } from './types';
3
3
 
4
4
  declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
5
+ install(app: import('vue').App): void;
6
6
  };
7
7
  declare const _default: Install< import("vue").DefineComponent<{
8
8
  percentage: {
@@ -101,20 +101,20 @@ declare const _default: Install< import("vue").DefineComponent<{
101
101
  };
102
102
  }>>, {
103
103
  size: ProgressSize;
104
- textColor: string;
105
- strokeWidth: string | number;
106
104
  percentage: string | number;
107
105
  status: ProgressStatus;
106
+ strokeWidth: string | number;
108
107
  textInside: boolean;
109
108
  showText: boolean;
110
109
  strokeColor: string;
110
+ textColor: string;
111
111
  textBackground: string;
112
112
  isShowPercentage: boolean;
113
113
  }, {}>>;
114
114
  export default _default;
115
115
 
116
116
  declare module 'vue' {
117
- interface GlobalComponents {
118
- NutProgress: typeof _default;
119
- }
117
+ interface GlobalComponents {
118
+ NutProgress: typeof _default;
119
+ }
120
120
  }
@@ -2,7 +2,7 @@ import { CSSProperties } from 'vue';
2
2
  type PullRefreshStatus = 'normal' | 'loading' | 'loosing' | 'pulling' | 'complete';
3
3
 
4
4
  declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
5
+ install(app: import('vue').App): void;
6
6
  };
7
7
  declare const _default: Install< import("vue").DefineComponent<{
8
8
  modelValue: {
@@ -126,7 +126,7 @@ declare const _default: Install< import("vue").DefineComponent<{
126
126
  export default _default;
127
127
 
128
128
  declare module 'vue' {
129
- interface GlobalComponents {
130
- NutPullRefresh: typeof _default;
131
- }
129
+ interface GlobalComponents {
130
+ NutPullRefresh: typeof _default;
131
+ }
132
132
  }
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
2
2
  import { RadioShape, RadioButtonSize } from './types';
3
3
 
4
4
  declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
5
+ install(app: import('vue').App): void;
6
6
  };
7
7
  declare const _default: Install< import("vue").DefineComponent<{
8
8
  disabled: {
@@ -14,7 +14,7 @@ declare const _default: Install< import("vue").DefineComponent<{
14
14
  default: string;
15
15
  };
16
16
  label: {
17
- type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
17
+ type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
18
18
  default: string;
19
19
  };
20
20
  iconSize: {
@@ -37,7 +37,7 @@ declare const _default: Install< import("vue").DefineComponent<{
37
37
  default: string;
38
38
  };
39
39
  label: {
40
- type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
40
+ type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
41
41
  default: string;
42
42
  };
43
43
  iconSize: {
@@ -49,16 +49,16 @@ declare const _default: Install< import("vue").DefineComponent<{
49
49
  default: string;
50
50
  };
51
51
  }>>, {
52
+ shape: RadioShape;
53
+ disabled: boolean;
52
54
  size: RadioButtonSize;
53
55
  label: string | number | boolean;
54
- disabled: boolean;
55
- shape: RadioShape;
56
56
  iconSize: string | number;
57
57
  }, {}>>;
58
58
  export default _default;
59
59
 
60
60
  declare module 'vue' {
61
- interface GlobalComponents {
62
- NutRadio: typeof _default;
63
- }
61
+ interface GlobalComponents {
62
+ NutRadio: typeof _default;
63
+ }
64
64
  }
@@ -2,11 +2,11 @@ import { PropType } from 'vue';
2
2
  import { RadioGroupTextPosition, RadioGroupDirection } from '../radio/types';
3
3
 
4
4
  declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
5
+ install(app: import('vue').App): void;
6
6
  };
7
7
  declare const _default: Install< import("vue").DefineComponent<{
8
8
  modelValue: {
9
- type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
9
+ type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
10
10
  default: string;
11
11
  };
12
12
  direction: {
@@ -21,7 +21,7 @@ declare const _default: Install< import("vue").DefineComponent<{
21
21
  [key: string]: any;
22
22
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
23
  modelValue: {
24
- type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
24
+ type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
25
25
  default: string;
26
26
  };
27
27
  direction: {
@@ -36,14 +36,14 @@ declare const _default: Install< import("vue").DefineComponent<{
36
36
  onChange?: ((...args: any[]) => any) | undefined;
37
37
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
38
38
  }, {
39
- modelValue: string | number | boolean;
40
39
  direction: RadioGroupDirection;
40
+ modelValue: string | number | boolean;
41
41
  textPosition: RadioGroupTextPosition;
42
42
  }, {}>>;
43
43
  export default _default;
44
44
 
45
45
  declare module 'vue' {
46
- interface GlobalComponents {
47
- NutRadioGroup: typeof _default;
48
- }
46
+ interface GlobalComponents {
47
+ NutRadioGroup: typeof _default;
48
+ }
49
49
  }
@@ -2,7 +2,7 @@ import { PropType, CSSProperties } from 'vue';
2
2
  import { SliderValue } from './type';
3
3
 
4
4
  declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
5
+ install(app: import('vue').App): void;
6
6
  };
7
7
  declare const _default: Install< import("vue").DefineComponent<{
8
8
  range: {
@@ -60,15 +60,15 @@ declare const _default: Install< import("vue").DefineComponent<{
60
60
  marksStyle: (mark: number) => CSSProperties;
61
61
  marksList: import("vue").ComputedRef<number[]>;
62
62
  tickStyle: (mark: number) => CSSProperties;
63
+ disabled: import("vue").Ref<boolean>;
63
64
  vertical: import("vue").Ref<boolean>;
64
65
  range: import("vue").Ref<boolean>;
65
- disabled: import("vue").Ref<boolean>;
66
66
  modelValue: import("vue").Ref<SliderValue>;
67
+ max: import("vue").Ref<string | number>;
67
68
  marks: import("vue").Ref<Record<string, any>>;
68
69
  hiddenRange: import("vue").Ref<boolean>;
69
70
  hiddenTag: import("vue").Ref<boolean>;
70
71
  min: import("vue").Ref<string | number>;
71
- max: import("vue").Ref<string | number>;
72
72
  step: import("vue").Ref<string | number>;
73
73
  activeColor: import("vue").Ref<string | undefined>;
74
74
  inactiveColor: import("vue").Ref<string | undefined>;
@@ -138,21 +138,21 @@ declare const _default: Install< import("vue").DefineComponent<{
138
138
  onDragEnd?: ((...args: any[]) => any) | undefined;
139
139
  onDragStart?: ((...args: any[]) => any) | undefined;
140
140
  }, {
141
+ disabled: boolean;
141
142
  vertical: boolean;
142
143
  range: boolean;
143
- disabled: boolean;
144
144
  modelValue: SliderValue;
145
+ max: string | number;
145
146
  marks: Record<string, any>;
146
147
  hiddenRange: boolean;
147
148
  hiddenTag: boolean;
148
149
  min: string | number;
149
- max: string | number;
150
150
  step: string | number;
151
151
  }, {}>>;
152
152
  export default _default;
153
153
 
154
154
  declare module 'vue' {
155
- interface GlobalComponents {
156
- NutRange: typeof _default;
157
- }
155
+ interface GlobalComponents {
156
+ NutRange: typeof _default;
157
+ }
158
158
  }
@@ -1,7 +1,7 @@
1
1
  import { Ref } from 'vue';
2
2
 
3
3
  declare type Install<T> = T & {
4
- install(app: import('vue').App): void;
4
+ install(app: import('vue').App): void;
5
5
  };
6
6
  declare const _default: Install< import("vue").DefineComponent<{
7
7
  count: {
@@ -107,9 +107,9 @@ declare const _default: Install< import("vue").DefineComponent<{
107
107
  pxCheck: (value?: string | number | undefined) => string | undefined;
108
108
  rateRefs: Ref<HTMLElement[]>;
109
109
  refRandomId: string;
110
- renderIcon: (icon: import("vue").Component, props?: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
110
+ renderIcon: (icon: import("vue").Component, props?: any) => "" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
111
111
  [key: string]: any;
112
- }> | "";
112
+ }>;
113
113
  slots: Readonly<{
114
114
  [name: string]: import("vue").Slot<any> | undefined;
115
115
  }>;
@@ -218,14 +218,14 @@ declare const _default: Install< import("vue").DefineComponent<{
218
218
  onChange?: ((...args: any[]) => any) | undefined;
219
219
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
220
220
  }, {
221
- size: string | number;
222
221
  disabled: boolean;
223
- modelValue: string | number;
222
+ size: string | number;
224
223
  activeColor: string;
224
+ modelValue: string | number;
225
225
  count: string | number;
226
+ readonly: boolean;
226
227
  customIcon: Record<string, any>;
227
228
  voidColor: string;
228
- readonly: boolean;
229
229
  allowHalf: boolean;
230
230
  touchable: boolean;
231
231
  spacing: string | number;
@@ -233,7 +233,7 @@ declare const _default: Install< import("vue").DefineComponent<{
233
233
  export default _default;
234
234
 
235
235
  declare module 'vue' {
236
- interface GlobalComponents {
237
- NutRate: typeof _default;
238
- }
236
+ interface GlobalComponents {
237
+ NutRate: typeof _default;
238
+ }
239
239
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  declare type Install<T> = T & {
3
- install(app: import('vue').App): void;
3
+ install(app: import('vue').App): void;
4
4
  };
5
5
  declare const _default: Install< import("vue").DefineComponent<{
6
6
  type: {
@@ -49,14 +49,14 @@ declare const _default: Install< import("vue").DefineComponent<{
49
49
  }>>, {
50
50
  type: string;
51
51
  justify: string;
52
- align: string;
53
52
  gutter: string | number;
53
+ align: string;
54
54
  flexWrap: string;
55
55
  }, {}>>;
56
56
  export default _default;
57
57
 
58
58
  declare module 'vue' {
59
- interface GlobalComponents {
60
- NutRow: typeof _default;
61
- }
59
+ interface GlobalComponents {
60
+ NutRow: typeof _default;
61
+ }
62
62
  }
@@ -2,7 +2,7 @@ import { Ref, CSSProperties, PropType } from 'vue';
2
2
  import { SearchbarInputAlign, SearchbarShape } from './types';
3
3
 
4
4
  declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
5
+ install(app: import('vue').App): void;
6
6
  };
7
7
  declare const _default: Install< import("vue").DefineComponent<{
8
8
  modelValue: {
@@ -142,9 +142,9 @@ declare const _default: Install< import("vue").DefineComponent<{
142
142
  rightIconClick: (event: Event) => void;
143
143
  styleSearchbar: import("vue").ComputedRef<CSSProperties>;
144
144
  active: Ref<boolean>;
145
- renderIcon: (icon: import("vue").Component, props?: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
145
+ renderIcon: (icon: import("vue").Component, props?: any) => "" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
146
146
  [key: string]: any;
147
- }> | "";
147
+ }>;
148
148
  inputsearch: Ref<HTMLElement | null>;
149
149
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "search" | "blur" | "change" | "focus" | "update:modelValue" | "clickInput" | "clickLeftIcon" | "clickRightIcon")[], "clear" | "search" | "blur" | "change" | "focus" | "update:modelValue" | "clickInput" | "clickLeftIcon" | "clickRightIcon", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
150
150
  modelValue: {
@@ -266,37 +266,37 @@ declare const _default: Install< import("vue").DefineComponent<{
266
266
  default: boolean;
267
267
  };
268
268
  }>> & {
269
+ onFocus?: ((...args: any[]) => any) | undefined;
269
270
  onBlur?: ((...args: any[]) => any) | undefined;
270
271
  onChange?: ((...args: any[]) => any) | undefined;
271
- onFocus?: ((...args: any[]) => any) | undefined;
272
272
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
273
273
  onClear?: ((...args: any[]) => any) | undefined;
274
- onClickInput?: ((...args: any[]) => any) | undefined;
275
274
  onSearch?: ((...args: any[]) => any) | undefined;
275
+ onClickInput?: ((...args: any[]) => any) | undefined;
276
276
  onClickLeftIcon?: ((...args: any[]) => any) | undefined;
277
277
  onClickRightIcon?: ((...args: any[]) => any) | undefined;
278
278
  }, {
279
- label: string;
280
- disabled: boolean;
281
- safeAreaInsetBottom: boolean;
282
- modelValue: string | number;
283
279
  shape: SearchbarShape;
280
+ disabled: boolean;
281
+ label: string;
284
282
  background: string;
285
- readonly: boolean;
283
+ safeAreaInsetBottom: boolean;
286
284
  placeholder: string;
287
- inputAlign: SearchbarInputAlign;
285
+ modelValue: string | number;
286
+ inputType: string;
288
287
  maxLength: string | number;
289
288
  clearable: boolean;
290
- autofocus: boolean;
291
- inputType: string;
292
289
  clearIcon: Record<string, any>;
293
290
  inputBackground: string;
294
291
  focusStyle: Record<string, any>;
292
+ autofocus: boolean;
293
+ readonly: boolean;
294
+ inputAlign: SearchbarInputAlign;
295
295
  }, {}>>;
296
296
  export default _default;
297
297
 
298
298
  declare module 'vue' {
299
- interface GlobalComponents {
300
- NutSearchbar: typeof _default;
301
- }
299
+ interface GlobalComponents {
300
+ NutSearchbar: typeof _default;
301
+ }
302
302
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  declare type Install<T> = T & {
3
- install(app: import('vue').App): void;
3
+ install(app: import('vue').App): void;
4
4
  };
5
5
  declare const _default: Install< import("vue").DefineComponent<{
6
6
  title: {
@@ -86,8 +86,8 @@ declare const _default: Install< import("vue").DefineComponent<{
86
86
  default: boolean;
87
87
  };
88
88
  }>> & {
89
- onClose?: ((...args: any[]) => any) | undefined;
90
89
  onFocus?: ((...args: any[]) => any) | undefined;
90
+ onClose?: ((...args: any[]) => any) | undefined;
91
91
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
92
92
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
93
93
  onTips?: ((...args: any[]) => any) | undefined;
@@ -106,7 +106,7 @@ declare const _default: Install< import("vue").DefineComponent<{
106
106
  export default _default;
107
107
 
108
108
  declare module 'vue' {
109
- interface GlobalComponents {
110
- NutShortPassword: typeof _default;
111
- }
109
+ interface GlobalComponents {
110
+ NutShortPassword: typeof _default;
111
+ }
112
112
  }
@@ -1,7 +1,7 @@
1
1
  import { Ref } from 'vue';
2
2
 
3
3
  declare type Install<T> = T & {
4
- install(app: import('vue').App): void;
4
+ install(app: import('vue').App): void;
5
5
  };
6
6
  declare const _default: Install< import("vue").DefineComponent<{
7
7
  offset: {
@@ -27,7 +27,7 @@ declare const _default: Install< import("vue").DefineComponent<{
27
27
  export default _default;
28
28
 
29
29
  declare module 'vue' {
30
- interface GlobalComponents {
31
- NutSideNavbar: typeof _default;
32
- }
30
+ interface GlobalComponents {
31
+ NutSideNavbar: typeof _default;
32
+ }
33
33
  }
@@ -1,37 +1,24 @@
1
1
 
2
2
  declare type Install<T> = T & {
3
- install(app: import('vue').App): void;
3
+ install(app: import('vue').App): void;
4
4
  };
5
5
  declare const _default: Install< import("vue").DefineComponent<{
6
6
  title: {
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
10
- ikey: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- }, {
15
- handleClick: () => void;
16
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
11
  title: {
18
12
  type: StringConstructor;
19
13
  default: string;
20
14
  };
21
- ikey: {
22
- type: StringConstructor;
23
- default: string;
24
- };
25
- }>> & {
26
- onClick?: ((...args: any[]) => any) | undefined;
27
- }, {
15
+ }>>, {
28
16
  title: string;
29
- ikey: string;
30
17
  }, {}>>;
31
18
  export default _default;
32
19
 
33
20
  declare module 'vue' {
34
- interface GlobalComponents {
35
- NutSideNavbarItem: typeof _default;
36
- }
21
+ interface GlobalComponents {
22
+ NutSideNavbarItem: typeof _default;
23
+ }
37
24
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  declare type Install<T> = T & {
3
- install(app: import('vue').App): void;
3
+ install(app: import('vue').App): void;
4
4
  };
5
5
  declare const _default: Install< import("vue").DefineComponent<{
6
6
  customClass: {
@@ -61,10 +61,10 @@ declare const _default: Install< import("vue").DefineComponent<{
61
61
  default: string;
62
62
  };
63
63
  }>> & {
64
- onConfirm?: ((...args: any[]) => any) | undefined;
65
- onEnd?: ((...args: any[]) => any) | undefined;
66
64
  onClear?: ((...args: any[]) => any) | undefined;
65
+ onConfirm?: ((...args: any[]) => any) | undefined;
67
66
  onStart?: ((...args: any[]) => any) | undefined;
67
+ onEnd?: ((...args: any[]) => any) | undefined;
68
68
  onSigning?: ((...args: any[]) => any) | undefined;
69
69
  }, {
70
70
  type: string;
@@ -76,7 +76,7 @@ declare const _default: Install< import("vue").DefineComponent<{
76
76
  export default _default;
77
77
 
78
78
  declare module 'vue' {
79
- interface GlobalComponents {
80
- NutSignature: typeof _default;
81
- }
79
+ interface GlobalComponents {
80
+ NutSignature: typeof _default;
81
+ }
82
82
  }
@@ -2,7 +2,7 @@ import { AvatarShape } from '../avatar/types';
2
2
  import { CSSProperties, PropType } from 'vue';
3
3
 
4
4
  declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
5
+ install(app: import('vue').App): void;
6
6
  };
7
7
  declare const _default: Install< import("vue").DefineComponent<{
8
8
  width: {
@@ -97,12 +97,12 @@ declare const _default: Install< import("vue").DefineComponent<{
97
97
  default: boolean;
98
98
  };
99
99
  }>>, {
100
- title: boolean;
101
100
  round: boolean;
102
- row: string;
101
+ loading: boolean;
103
102
  width: string;
104
103
  height: string;
105
- loading: boolean;
104
+ title: boolean;
105
+ row: string;
106
106
  avatar: boolean;
107
107
  animated: boolean;
108
108
  avatarShape: AvatarShape;
@@ -111,7 +111,7 @@ declare const _default: Install< import("vue").DefineComponent<{
111
111
  export default _default;
112
112
 
113
113
  declare module 'vue' {
114
- interface GlobalComponents {
115
- NutSkeleton: typeof _default;
116
- }
114
+ interface GlobalComponents {
115
+ NutSkeleton: typeof _default;
116
+ }
117
117
  }
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
22
22
  overlimit: (e: Event, action: string) => void;
23
23
  getExtraText: () => any;
24
24
  changeStepper: (value: number) => void;
25
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reduce" | "add" | "click" | "changeSku" | "changeStepper" | "clickBtnOptions" | "overLimit")[], "reduce" | "add" | "click" | "changeSku" | "changeStepper" | "clickBtnOptions" | "overLimit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reduce" | "click" | "add" | "changeSku" | "changeStepper" | "clickBtnOptions" | "overLimit")[], "reduce" | "click" | "add" | "changeSku" | "changeStepper" | "clickBtnOptions" | "overLimit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
26
  stepperMax: {
27
27
  type: (NumberConstructor | StringConstructor)[];
28
28
  default: number;
@@ -41,8 +41,8 @@ declare const _default: import("vue").DefineComponent<{
41
41
  };
42
42
  }>> & {
43
43
  onClick?: ((...args: any[]) => any) | undefined;
44
- onAdd?: ((...args: any[]) => any) | undefined;
45
44
  onReduce?: ((...args: any[]) => any) | undefined;
45
+ onAdd?: ((...args: any[]) => any) | undefined;
46
46
  onChangeSku?: ((...args: any[]) => any) | undefined;
47
47
  onChangeStepper?: ((...args: any[]) => any) | undefined;
48
48
  onClickBtnOptions?: ((...args: any[]) => any) | undefined;
@@ -1,7 +1,7 @@
1
1
  import { PropType } from 'vue';
2
2
 
3
3
  declare type Install<T> = T & {
4
- install(app: import('vue').App): void;
4
+ install(app: import('vue').App): void;
5
5
  };
6
6
  declare const _default: Install< import("vue").DefineComponent<{
7
7
  visible: {
@@ -125,8 +125,8 @@ declare const _default: Install< import("vue").DefineComponent<{
125
125
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
126
126
  onClickCloseIcon?: ((...args: any[]) => any) | undefined;
127
127
  onClickOverlay?: ((...args: any[]) => any) | undefined;
128
- onAdd?: ((...args: any[]) => any) | undefined;
129
128
  onReduce?: ((...args: any[]) => any) | undefined;
129
+ onAdd?: ((...args: any[]) => any) | undefined;
130
130
  onSelectSku?: ((...args: any[]) => any) | undefined;
131
131
  onChangeStepper?: ((...args: any[]) => any) | undefined;
132
132
  onOverLimit?: ((...args: any[]) => any) | undefined;
@@ -135,8 +135,8 @@ declare const _default: Install< import("vue").DefineComponent<{
135
135
  visible: boolean;
136
136
  lockScroll: boolean;
137
137
  confirmText: string;
138
- sku: unknown[];
139
138
  goods: Record<string, any>;
139
+ sku: unknown[];
140
140
  stepperMax: string | number;
141
141
  stepperMin: string | number;
142
142
  stepperExtraText: boolean | Function;
@@ -149,7 +149,7 @@ declare const _default: Install< import("vue").DefineComponent<{
149
149
  export default _default;
150
150
 
151
151
  declare module 'vue' {
152
- interface GlobalComponents {
153
- NutSku: typeof _default;
154
- }
152
+ interface GlobalComponents {
153
+ NutSku: typeof _default;
154
+ }
155
155
  }
@@ -2,7 +2,7 @@ import { PropType, type VNode } from 'vue';
2
2
  import { SpaceAlign, SpaceJustify, SpaceGutter } from './types';
3
3
 
4
4
  declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
5
+ install(app: import('vue').App): void;
6
6
  };
7
7
  declare const _default: Install< import("vue").DefineComponent<{
8
8
  align: PropType<SpaceAlign>;
@@ -34,7 +34,7 @@ declare const _default: Install< import("vue").DefineComponent<{
34
34
  export default _default;
35
35
 
36
36
  declare module 'vue' {
37
- interface GlobalComponents {
38
- NutSpace: typeof _default;
39
- }
37
+ interface GlobalComponents {
38
+ NutSpace: typeof _default;
39
+ }
40
40
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  declare type Install<T> = T & {
3
- install(app: import('vue').App): void;
3
+ install(app: import('vue').App): void;
4
4
  };
5
5
  declare const _default: Install< import("vue").DefineComponent<{
6
6
  title: {
@@ -36,7 +36,7 @@ declare const _default: Install< import("vue").DefineComponent<{
36
36
  export default _default;
37
37
 
38
38
  declare module 'vue' {
39
- interface GlobalComponents {
40
- NutStep: typeof _default;
41
- }
39
+ interface GlobalComponents {
40
+ NutStep: typeof _default;
41
+ }
42
42
  }
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
2
2
  import { StepsDirection } from './types';
3
3
 
4
4
  declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
5
+ install(app: import('vue').App): void;
6
6
  };
7
7
  declare const _default: Install< import("vue").DefineComponent<{
8
8
  direction: {
@@ -42,7 +42,7 @@ declare const _default: Install< import("vue").DefineComponent<{
42
42
  export default _default;
43
43
 
44
44
  declare module 'vue' {
45
- interface GlobalComponents {
46
- NutSteps: typeof _default;
47
- }
45
+ interface GlobalComponents {
46
+ NutSteps: typeof _default;
47
+ }
48
48
  }
@@ -2,7 +2,7 @@ import { PropType, CSSProperties } from 'vue';
2
2
  type StickyPosition = 'top' | 'bottom';
3
3
 
4
4
  declare type Install<T> = T & {
5
- install(app: import('vue').App): void;
5
+ install(app: import('vue').App): void;
6
6
  };
7
7
  declare const _default: Install< import("vue").DefineComponent<{
8
8
  position: {
@@ -54,16 +54,16 @@ declare const _default: Install< import("vue").DefineComponent<{
54
54
  }>> & {
55
55
  onChange?: ((...args: any[]) => any) | undefined;
56
56
  }, {
57
- zIndex: string | number;
58
57
  bottom: string | number;
59
58
  top: string | number;
59
+ zIndex: string | number;
60
60
  position: StickyPosition;
61
61
  container: Element;
62
62
  }, {}>>;
63
63
  export default _default;
64
64
 
65
65
  declare module 'vue' {
66
- interface GlobalComponents {
67
- NutSticky: typeof _default;
68
- }
66
+ interface GlobalComponents {
67
+ NutSticky: typeof _default;
68
+ }
69
69
  }