@nutui/nutui 4.3.13 → 4.3.14

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 (148) hide show
  1. package/CHANGELOG.md +24 -11
  2. package/README.md +30 -30
  3. package/dist/nutui.es.js +1 -1
  4. package/dist/nutui.js +2854 -2844
  5. package/dist/nutui.umd.js +1 -1
  6. package/dist/packages/addresslist/AddressList.js +2 -2
  7. package/dist/packages/audio/Audio.js +9 -10
  8. package/dist/packages/audiooperate/AudioOperate.js +2 -2
  9. package/dist/packages/cascader/Cascader.js +3 -4
  10. package/dist/packages/comment/Comment.js +8 -11
  11. package/dist/packages/dialog/Dialog.js +4 -1
  12. package/dist/packages/elevator/Elevator.js +2 -2
  13. package/dist/packages/invoice/Invoice.js +2 -2
  14. package/dist/packages/locale/index.d.ts +1 -1
  15. package/dist/packages/numberkeyboard/NumberKeyboard.js +3 -5
  16. package/dist/packages/step/Step.js +13 -14
  17. package/dist/packages/swiper/Swiper.js +19 -1
  18. package/dist/packages/video/Video.js +11 -13
  19. package/dist/smartips/web-types.json +1 -1
  20. package/dist/types/__VUE/actionsheet/index.vue.d.ts +496 -8
  21. package/dist/types/__VUE/address/index.vue.d.ts +865 -56
  22. package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +465 -7
  23. package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +117 -6
  24. package/dist/types/__VUE/addresslist/index.vue.d.ts +713 -6
  25. package/dist/types/__VUE/animate/animate.vue.d.ts +5 -5
  26. package/dist/types/__VUE/audio/index.vue.d.ts +229 -28
  27. package/dist/types/__VUE/audiooperate/index.vue.d.ts +205 -15
  28. package/dist/types/__VUE/avatar/index.vue.d.ts +6 -6
  29. package/dist/types/__VUE/avatarcropper/index.vue.d.ts +319 -19
  30. package/dist/types/__VUE/avatargroup/index.vue.d.ts +55 -7
  31. package/dist/types/__VUE/backtop/backtop.vue.d.ts +6 -6
  32. package/dist/types/__VUE/badge/badge.vue.d.ts +5 -5
  33. package/dist/types/__VUE/barrage/index.vue.d.ts +7 -7
  34. package/dist/types/__VUE/button/button.vue.d.ts +5 -5
  35. package/dist/types/__VUE/calendar/index.vue.d.ts +647 -8
  36. package/dist/types/__VUE/calendarcard/calendar-card.vue.d.ts +9 -24
  37. package/dist/types/__VUE/calendaritem/index.vue.d.ts +52 -52
  38. package/dist/types/__VUE/card/index.vue.d.ts +256 -4
  39. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +453 -10
  40. package/dist/types/__VUE/cascader/index.vue.d.ts +950 -10
  41. package/dist/types/__VUE/category/index.vue.d.ts +7 -7
  42. package/dist/types/__VUE/categorypane/index.vue.d.ts +5 -5
  43. package/dist/types/__VUE/cell/cell.vue.d.ts +5 -5
  44. package/dist/types/__VUE/cellgroup/cell-group.vue.d.ts +4 -4
  45. package/dist/types/__VUE/checkbox/index.vue.d.ts +6 -6
  46. package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +7 -7
  47. package/dist/types/__VUE/circleprogress/circle-progress.vue.d.ts +5 -5
  48. package/dist/types/__VUE/col/col.vue.d.ts +4 -4
  49. package/dist/types/__VUE/collapse/collapse.vue.d.ts +5 -5
  50. package/dist/types/__VUE/collapseitem/collapse-item.vue.d.ts +4 -4
  51. package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +174 -8
  52. package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +218 -6
  53. package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +73 -18
  54. package/dist/types/__VUE/comment/index.vue.d.ts +627 -16
  55. package/dist/types/__VUE/comment/type.d.ts +10 -0
  56. package/dist/types/__VUE/configprovider/index.vue.d.ts +6 -6
  57. package/dist/types/__VUE/countdown/countdown.vue.d.ts +8 -8
  58. package/dist/types/__VUE/countup/index.vue.d.ts +46 -46
  59. package/dist/types/__VUE/datepicker/index.vue.d.ts +265 -9
  60. package/dist/types/__VUE/dialog/index.vue.d.ts +631 -9
  61. package/dist/types/__VUE/divider/divider.vue.d.ts +4 -4
  62. package/dist/types/__VUE/drag/index.vue.d.ts +6 -6
  63. package/dist/types/__VUE/ecard/index.vue.d.ts +255 -10
  64. package/dist/types/__VUE/elevator/index.vue.d.ts +24 -17
  65. package/dist/types/__VUE/ellipsis/index.vue.d.ts +10 -10
  66. package/dist/types/__VUE/empty/empty.vue.d.ts +4 -4
  67. package/dist/types/__VUE/fixednav/index.vue.d.ts +231 -7
  68. package/dist/types/__VUE/form/form.vue.d.ts +6 -6
  69. package/dist/types/__VUE/formitem/form-item.vue.d.ts +4 -4
  70. package/dist/types/__VUE/grid/grid.vue.d.ts +4 -4
  71. package/dist/types/__VUE/griditem/grid-item.vue.d.ts +5 -5
  72. package/dist/types/__VUE/image/image.vue.d.ts +6 -6
  73. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +155 -14
  74. package/dist/types/__VUE/imagepreview/index.vue.d.ts +916 -11
  75. package/dist/types/__VUE/indicator/indicator.vue.d.ts +4 -4
  76. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +68 -12
  77. package/dist/types/__VUE/input/input.vue.d.ts +11 -11
  78. package/dist/types/__VUE/inputnumber/input-number.vue.d.ts +10 -10
  79. package/dist/types/__VUE/invoice/invoice.vue.d.ts +5 -5
  80. package/dist/types/__VUE/layout/layout.vue.d.ts +1 -1
  81. package/dist/types/__VUE/list/index.vue.d.ts +19 -13
  82. package/dist/types/__VUE/menu/index.vue.d.ts +117 -6
  83. package/dist/types/__VUE/menuitem/index.vue.d.ts +494 -6
  84. package/dist/types/__VUE/navbar/navbar.vue.d.ts +5 -5
  85. package/dist/types/__VUE/noticebar/index.vue.d.ts +136 -20
  86. package/dist/types/__VUE/notify/index.vue.d.ts +441 -8
  87. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +442 -9
  88. package/dist/types/__VUE/overlay/overlay.vue.d.ts +6 -6
  89. package/dist/types/__VUE/pagination/index.vue.d.ts +9 -9
  90. package/dist/types/__VUE/picker/Column.vue.d.ts +29 -22
  91. package/dist/types/__VUE/picker/index.vue.d.ts +138 -8
  92. package/dist/types/__VUE/picker/usePicker.d.ts +3 -3
  93. package/dist/types/__VUE/popover/index.vue.d.ts +443 -10
  94. package/dist/types/__VUE/popup/index.vue.d.ts +234 -10
  95. package/dist/types/__VUE/price/price.vue.d.ts +4 -4
  96. package/dist/types/__VUE/progress/progress.vue.d.ts +4 -4
  97. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +76 -8
  98. package/dist/types/__VUE/radio/radio.vue.d.ts +4 -4
  99. package/dist/types/__VUE/radiogroup/radio-group.vue.d.ts +5 -5
  100. package/dist/types/__VUE/range/index.vue.d.ts +25 -25
  101. package/dist/types/__VUE/rate/rate.vue.d.ts +5 -5
  102. package/dist/types/__VUE/row/row.vue.d.ts +4 -4
  103. package/dist/types/__VUE/searchbar/index.vue.d.ts +9 -9
  104. package/dist/types/__VUE/shortpassword/index.vue.d.ts +496 -8
  105. package/dist/types/__VUE/sidenavbar/index.vue.d.ts +11 -7
  106. package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +4 -4
  107. package/dist/types/__VUE/signature/index.vue.d.ts +201 -11
  108. package/dist/types/__VUE/skeleton/skeleton.vue.d.ts +4 -4
  109. package/dist/types/__VUE/sku/components/SkuHeader.vue.d.ts +82 -5
  110. package/dist/types/__VUE/sku/components/SkuOperate.vue.d.ts +6 -6
  111. package/dist/types/__VUE/sku/components/SkuSelect.vue.d.ts +13 -6
  112. package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +252 -7
  113. package/dist/types/__VUE/sku/index.vue.d.ts +921 -7
  114. package/dist/types/__VUE/sku/type.d.ts +7 -0
  115. package/dist/types/__VUE/space/index.vue.d.ts +5 -5
  116. package/dist/types/__VUE/step/step.vue.d.ts +4 -4
  117. package/dist/types/__VUE/steps/steps.vue.d.ts +5 -5
  118. package/dist/types/__VUE/sticky/index.vue.d.ts +8 -8
  119. package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +118 -7
  120. package/dist/types/__VUE/swipe/swipe.vue.d.ts +7 -7
  121. package/dist/types/__VUE/swipegroup/swipe-group.vue.d.ts +4 -4
  122. package/dist/types/__VUE/swiper/index.vue.d.ts +7 -7
  123. package/dist/types/__VUE/swiperitem/index.vue.d.ts +1 -1
  124. package/dist/types/__VUE/switch/switch.vue.d.ts +5 -5
  125. package/dist/types/__VUE/tabbar/tabbar.vue.d.ts +5 -5
  126. package/dist/types/__VUE/tabbaritem/tabbar-item.vue.d.ts +4 -4
  127. package/dist/types/__VUE/table/index.vue.d.ts +87 -7
  128. package/dist/types/__VUE/table/renderColumn.d.ts +5 -5
  129. package/dist/types/__VUE/tabpane/index.vue.d.ts +5 -5
  130. package/dist/types/__VUE/tabs/hooks.d.ts +1 -1
  131. package/dist/types/__VUE/tabs/index.vue.d.ts +122 -10
  132. package/dist/types/__VUE/tag/tag.vue.d.ts +5 -5
  133. package/dist/types/__VUE/textarea/textarea.vue.d.ts +6 -6
  134. package/dist/types/__VUE/timedetail/index.vue.d.ts +8 -8
  135. package/dist/types/__VUE/timepannel/index.vue.d.ts +7 -7
  136. package/dist/types/__VUE/timeselect/index.vue.d.ts +439 -6
  137. package/dist/types/__VUE/toast/index.vue.d.ts +7 -7
  138. package/dist/types/__VUE/tour/index.vue.d.ts +671 -9
  139. package/dist/types/__VUE/trendarrow/trend-arrow.vue.d.ts +4 -4
  140. package/dist/types/__VUE/uploader/index.vue.d.ts +480 -7
  141. package/dist/types/__VUE/video/index.vue.d.ts +43 -19
  142. package/dist/types/__VUE/watermark/watermark.vue.d.ts +4 -4
  143. package/dist/types/index.d.ts +1 -1
  144. package/dist/types/locale/index.d.ts +1 -1
  145. package/dist/types/utils/useRelation/useInject.d.ts +1 -1
  146. package/dist/types/utils/useScrollParent/index.d.ts +1 -1
  147. package/dist/types/utils/useTouch/index.d.ts +9 -9
  148. package/package.json +2 -2
@@ -0,0 +1,7 @@
1
+ export interface SkuInfo {
2
+ name: string;
3
+ id: number;
4
+ active: boolean;
5
+ disable: boolean;
6
+ [props: string]: any;
7
+ }
@@ -4,7 +4,7 @@ import { SpaceAlign, SpaceJustify, SpaceGutter } from './types';
4
4
  declare type Install<T> = T & {
5
5
  install(app: import('vue').App): void;
6
6
  };
7
- declare const _default: Install< import("vue").DefineComponent<{
7
+ declare const _default: Install< import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  align: PropType<SpaceAlign>;
9
9
  direction: {
10
10
  type: PropType<"horizontal" | "vertical">;
@@ -14,9 +14,9 @@ declare const _default: Install< import("vue").DefineComponent<{
14
14
  wrap: BooleanConstructor;
15
15
  gutter: PropType<string | number | [SpaceGutter, SpaceGutter]>;
16
16
  fill: BooleanConstructor;
17
- }, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
17
+ }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
18
18
  [key: string]: any;
19
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
20
  align: PropType<SpaceAlign>;
21
21
  direction: {
22
22
  type: PropType<"horizontal" | "vertical">;
@@ -26,11 +26,11 @@ declare const _default: Install< import("vue").DefineComponent<{
26
26
  wrap: BooleanConstructor;
27
27
  gutter: PropType<string | number | [SpaceGutter, SpaceGutter]>;
28
28
  fill: BooleanConstructor;
29
- }>>, {
29
+ }>> & Readonly<{}>, {
30
30
  fill: boolean;
31
31
  wrap: boolean;
32
32
  direction: "horizontal" | "vertical";
33
- }, {}>>;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
34
34
  export default _default;
35
35
 
36
36
  declare module 'vue' {
@@ -3,22 +3,22 @@ export type StepProps = Partial<{
3
3
  title: string;
4
4
  content: string;
5
5
  }>;
6
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
6
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
7
7
  title: string;
8
8
  content: string;
9
9
  }>>, {
10
10
  title: string;
11
11
  content: string;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
12
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
13
13
  title: string;
14
14
  content: string;
15
15
  }>>, {
16
16
  title: string;
17
17
  content: string;
18
- }>>>, {
18
+ }>>> & Readonly<{}>, {
19
19
  title: string;
20
20
  content: string;
21
- }, {}>, {
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
22
22
  icon?(_: {}): any;
23
23
  title?(_: {}): any;
24
24
  content?(_: {}): any;
@@ -5,7 +5,7 @@ export type StepsProps = Partial<{
5
5
  current: string | number;
6
6
  progressDot: boolean;
7
7
  }>;
8
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
9
9
  direction: StepsDirection;
10
10
  current: string | number;
11
11
  progressDot: boolean;
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
13
13
  direction: string;
14
14
  current: string;
15
15
  progressDot: boolean;
16
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
17
  clickStep: (...args: any[]) => void;
18
18
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
19
19
  direction: StepsDirection;
@@ -23,13 +23,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
23
  direction: string;
24
24
  current: string;
25
25
  progressDot: boolean;
26
- }>>> & {
26
+ }>>> & Readonly<{
27
27
  onClickStep?: ((...args: any[]) => any) | undefined;
28
- }, {
28
+ }>, {
29
29
  direction: StepsDirection;
30
30
  current: string | number;
31
31
  progressDot: boolean;
32
- }, {}>, {
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
33
33
  default?(_: {}): any;
34
34
  }>;
35
35
  declare const _nut_default: WithInstall<typeof _default>;
@@ -4,7 +4,7 @@ type StickyPosition = 'top' | 'bottom';
4
4
  declare type Install<T> = T & {
5
5
  install(app: import('vue').App): void;
6
6
  };
7
- declare const _default: Install< import("vue").DefineComponent<{
7
+ declare const _default: Install< import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  position: {
9
9
  type: PropType<StickyPosition>;
10
10
  default: string;
@@ -25,12 +25,12 @@ declare const _default: Install< import("vue").DefineComponent<{
25
25
  type: (NumberConstructor | StringConstructor)[];
26
26
  default: number;
27
27
  };
28
- }, {
29
- rootRef: import("vue").Ref<HTMLElement | undefined>;
28
+ }>, {
29
+ rootRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
30
30
  rootStyle: import("vue").ComputedRef<CSSProperties | undefined>;
31
- stickyRef: import("vue").Ref<HTMLElement | undefined>;
31
+ stickyRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
32
32
  stickyStyle: import("vue").ComputedRef<CSSProperties>;
33
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
34
  position: {
35
35
  type: PropType<StickyPosition>;
36
36
  default: string;
@@ -51,15 +51,15 @@ declare const _default: Install< import("vue").DefineComponent<{
51
51
  type: (NumberConstructor | StringConstructor)[];
52
52
  default: number;
53
53
  };
54
- }>> & {
54
+ }>> & Readonly<{
55
55
  onChange?: ((...args: any[]) => any) | undefined;
56
- }, {
56
+ }>, {
57
57
  bottom: string | number;
58
58
  top: string | number;
59
59
  zIndex: string | number;
60
60
  position: StickyPosition;
61
61
  container: Element;
62
- }, {}>>;
62
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
63
63
  export default _default;
64
64
 
65
65
  declare module 'vue' {
@@ -2,7 +2,7 @@
2
2
  declare type Install<T> = T & {
3
3
  install(app: import('vue').App): void;
4
4
  };
5
- declare const _default: Install< import("vue").DefineComponent<{
5
+ declare const _default: Install< import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
6
  title: {
7
7
  type: StringConstructor;
8
8
  default: string;
@@ -11,13 +11,13 @@ declare const _default: Install< import("vue").DefineComponent<{
11
11
  type: BooleanConstructor;
12
12
  default: boolean;
13
13
  };
14
- }, {
14
+ }>, {
15
15
  style: import("vue").ComputedRef<{
16
16
  height: string;
17
17
  }>;
18
18
  handleClick: () => void;
19
- direction: import("vue").Ref<string>;
20
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "titleClick"[], "titleClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
+ direction: import("vue").Ref<string, string>;
20
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "titleClick"[], "titleClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
21
  title: {
22
22
  type: StringConstructor;
23
23
  default: string;
@@ -26,12 +26,123 @@ declare const _default: Install< import("vue").DefineComponent<{
26
26
  type: BooleanConstructor;
27
27
  default: boolean;
28
28
  };
29
- }>> & {
29
+ }>> & Readonly<{
30
30
  onTitleClick?: ((...args: any[]) => any) | undefined;
31
- }, {
31
+ }>, {
32
32
  title: string;
33
33
  open: boolean;
34
- }, {}>>;
34
+ }, {}, {
35
+ ArrowDown2: import("vue").DefineComponent<{
36
+ class: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ name: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ };
44
+ color: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ width: {
49
+ type: (NumberConstructor | StringConstructor)[];
50
+ default: string;
51
+ };
52
+ height: {
53
+ type: (NumberConstructor | StringConstructor)[];
54
+ default: string;
55
+ };
56
+ }, {
57
+ classes: import("vue").ComputedRef<{
58
+ [x: string]: string | boolean;
59
+ "nut-icon": boolean;
60
+ }>;
61
+ style: import("vue").ComputedRef<import("vue").CSSProperties>;
62
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
63
+ class: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ name: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ color: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ width: {
76
+ type: (NumberConstructor | StringConstructor)[];
77
+ default: string;
78
+ };
79
+ height: {
80
+ type: (NumberConstructor | StringConstructor)[];
81
+ default: string;
82
+ };
83
+ }>>, {
84
+ name: string;
85
+ width: string | number;
86
+ height: string | number;
87
+ color: string;
88
+ class: string;
89
+ }>;
90
+ ArrowUp2: import("vue").DefineComponent<{
91
+ class: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
95
+ name: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ color: {
100
+ type: StringConstructor;
101
+ default: string;
102
+ };
103
+ width: {
104
+ type: (NumberConstructor | StringConstructor)[];
105
+ default: string;
106
+ };
107
+ height: {
108
+ type: (NumberConstructor | StringConstructor)[];
109
+ default: string;
110
+ };
111
+ }, {
112
+ classes: import("vue").ComputedRef<{
113
+ [x: string]: string | boolean;
114
+ "nut-icon": boolean;
115
+ }>;
116
+ style: import("vue").ComputedRef<import("vue").CSSProperties>;
117
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
118
+ class: {
119
+ type: StringConstructor;
120
+ default: string;
121
+ };
122
+ name: {
123
+ type: StringConstructor;
124
+ default: string;
125
+ };
126
+ color: {
127
+ type: StringConstructor;
128
+ default: string;
129
+ };
130
+ width: {
131
+ type: (NumberConstructor | StringConstructor)[];
132
+ default: string;
133
+ };
134
+ height: {
135
+ type: (NumberConstructor | StringConstructor)[];
136
+ default: string;
137
+ };
138
+ }>>, {
139
+ name: string;
140
+ width: string | number;
141
+ height: string | number;
142
+ color: string;
143
+ class: string;
144
+ }>;
145
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
35
146
  export default _default;
36
147
 
37
148
  declare module 'vue' {
@@ -6,7 +6,7 @@ export type SwipeProps = Partial<{
6
6
  touchMovePreventDefault: boolean;
7
7
  disabled: boolean;
8
8
  }>;
9
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
10
10
  name: string;
11
11
  touchMoveStopPropagation: boolean;
12
12
  touchMovePreventDefault: boolean;
@@ -16,13 +16,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
16
16
  touchMoveStopPropagation: boolean;
17
17
  touchMovePreventDefault: boolean;
18
18
  disabled: boolean;
19
- }>, {
19
+ }>>, {
20
20
  open: (p?: SwipePosition) => void;
21
21
  close: () => void;
22
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
23
  click: (...args: any[]) => void;
24
- open: (...args: any[]) => void;
25
24
  close: (...args: any[]) => void;
25
+ open: (...args: any[]) => void;
26
26
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
27
27
  name: string;
28
28
  touchMoveStopPropagation: boolean;
@@ -33,16 +33,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
33
33
  touchMoveStopPropagation: boolean;
34
34
  touchMovePreventDefault: boolean;
35
35
  disabled: boolean;
36
- }>>> & {
36
+ }>>> & Readonly<{
37
37
  onClick?: ((...args: any[]) => any) | undefined;
38
38
  onClose?: ((...args: any[]) => any) | undefined;
39
39
  onOpen?: ((...args: any[]) => any) | undefined;
40
- }, {
40
+ }>, {
41
41
  name: string;
42
42
  disabled: boolean;
43
43
  touchMoveStopPropagation: boolean;
44
44
  touchMovePreventDefault: boolean;
45
- }, {}>, {
45
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
46
46
  left?(_: {}): any;
47
47
  default?(_: {}): any;
48
48
  right?(_: {}): any;
@@ -2,17 +2,17 @@ import type { WithInstall } from '../../utils';
2
2
  export type SwipeGroupProps = Partial<{
3
3
  lock: boolean;
4
4
  }>;
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
6
6
  lock: boolean;
7
7
  }>>, {
8
8
  lock: boolean;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
9
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
10
10
  lock: boolean;
11
11
  }>>, {
12
12
  lock: boolean;
13
- }>>>, {
13
+ }>>> & Readonly<{}>, {
14
14
  lock: boolean;
15
- }, {}>, {
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
16
16
  default?(_: {}): any;
17
17
  }>;
18
18
  declare const _nut_default: WithInstall<typeof _default>;
@@ -4,7 +4,7 @@ import { ComponentPublicInstance, VNode } from 'vue';
4
4
  declare type Install<T> = T & {
5
5
  install(app: import('vue').App): void;
6
6
  };
7
- declare const _default: Install< import("vue").DefineComponent<{
7
+ declare const _default: Install< import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  width: {
9
9
  type: (NumberConstructor | StringConstructor)[];
10
10
  };
@@ -55,7 +55,7 @@ declare const _default: Install< import("vue").DefineComponent<{
55
55
  type: StringConstructor;
56
56
  default: string;
57
57
  };
58
- }, {
58
+ }>, {
59
59
  state: {
60
60
  active: number;
61
61
  num: number;
@@ -95,12 +95,12 @@ declare const _default: Install< import("vue").DefineComponent<{
95
95
  classesPagination: import("vue").ComputedRef<{
96
96
  [x: string]: boolean;
97
97
  }>;
98
- container: import("vue").Ref<any>;
98
+ container: import("vue").Ref<any, any>;
99
99
  activePagination: import("vue").ComputedRef<number>;
100
100
  onTouchStart: (e: TouchEvent) => void;
101
101
  onTouchMove: (e: TouchEvent) => void;
102
102
  onTouchEnd: () => void;
103
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
103
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
104
104
  width: {
105
105
  type: (NumberConstructor | StringConstructor)[];
106
106
  };
@@ -151,9 +151,9 @@ declare const _default: Install< import("vue").DefineComponent<{
151
151
  type: StringConstructor;
152
152
  default: string;
153
153
  };
154
- }>> & {
154
+ }>> & Readonly<{
155
155
  onChange?: ((...args: any[]) => any) | undefined;
156
- }, {
156
+ }>, {
157
157
  duration: string | number;
158
158
  direction: string;
159
159
  touchable: boolean;
@@ -165,7 +165,7 @@ declare const _default: Install< import("vue").DefineComponent<{
165
165
  isPreventDefault: boolean;
166
166
  isStopPropagation: boolean;
167
167
  paginationUnselectedColor: string;
168
- }, {}>>;
168
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
169
169
  export default _default;
170
170
 
171
171
  declare module 'vue' {
@@ -5,7 +5,7 @@ declare type Install<T> = T & {
5
5
  };
6
6
  declare const _default: Install< import("vue").DefineComponent<{}, {
7
7
  style: ComputedRef<any>;
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
9
9
  export default _default;
10
10
 
11
11
  declare module 'vue' {
@@ -11,7 +11,7 @@ export type SwitchProps = Partial<{
11
11
  loading: boolean;
12
12
  disable: boolean;
13
13
  }>;
14
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
14
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
15
15
  modelValue: string | number | boolean;
16
16
  disabled: boolean;
17
17
  activeColor: string;
@@ -33,7 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
33
33
  inactiveValue: boolean;
34
34
  loading: boolean;
35
35
  disable: boolean;
36
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
37
  change: (...args: any[]) => void;
38
38
  "update:modelValue": (...args: any[]) => void;
39
39
  "update:loading": (...args: any[]) => void;
@@ -59,11 +59,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
59
59
  inactiveValue: boolean;
60
60
  loading: boolean;
61
61
  disable: boolean;
62
- }>>> & {
62
+ }>>> & Readonly<{
63
63
  onChange?: ((...args: any[]) => any) | undefined;
64
64
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
65
65
  "onUpdate:loading"?: ((...args: any[]) => any) | undefined;
66
- }, {
66
+ }>, {
67
67
  loading: boolean;
68
68
  disabled: boolean;
69
69
  activeColor: string;
@@ -74,7 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
74
74
  inactiveText: string;
75
75
  activeValue: string | number | boolean;
76
76
  inactiveValue: string | number | boolean;
77
- }, {}>, {
77
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
78
78
  icon?(_: {}): any;
79
79
  }>;
80
80
  declare const _nut_default: WithInstall<typeof _default>;
@@ -8,7 +8,7 @@ export type TabbarProps = Partial<{
8
8
  placeholder: boolean;
9
9
  beforeSwitch: (data: any, active: string | number) => boolean | Promise<boolean>;
10
10
  }>;
11
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
11
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
12
12
  modelValue: string | number;
13
13
  bottom: boolean;
14
14
  unactiveColor: string;
@@ -24,7 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
24
24
  safeAreaInsetBottom: boolean;
25
25
  placeholder: boolean;
26
26
  beforeSwitch: () => true;
27
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
28
  "update:modelValue": (...args: any[]) => void;
29
29
  tabSwitch: (...args: any[]) => void;
30
30
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
@@ -43,10 +43,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
43
43
  safeAreaInsetBottom: boolean;
44
44
  placeholder: boolean;
45
45
  beforeSwitch: () => true;
46
- }>>> & {
46
+ }>>> & Readonly<{
47
47
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
48
48
  onTabSwitch?: ((...args: any[]) => any) | undefined;
49
- }, {
49
+ }>, {
50
50
  bottom: boolean;
51
51
  safeAreaInsetBottom: boolean;
52
52
  placeholder: boolean;
@@ -54,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
54
54
  modelValue: string | number;
55
55
  unactiveColor: string;
56
56
  beforeSwitch: (data: any, active: string | number) => boolean | Promise<boolean>;
57
- }, {}>, {
57
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
58
58
  default?(_: {}): any;
59
59
  }>;
60
60
  declare const _nut_default: WithInstall<typeof _default>;
@@ -6,7 +6,7 @@ export type TabbarItemProps = Partial<{
6
6
  href: string;
7
7
  to: string | Record<never, any>;
8
8
  }>;
9
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
10
10
  tabTitle: string;
11
11
  name: string;
12
12
  icon: any;
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
15
  }>>, {
16
16
  tabTitle: string;
17
17
  href: string;
18
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
18
+ }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
19
19
  tabTitle: string;
20
20
  name: string;
21
21
  icon: any;
@@ -24,10 +24,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
24
24
  }>>, {
25
25
  tabTitle: string;
26
26
  href: string;
27
- }>>>, {
27
+ }>>> & Readonly<{}>, {
28
28
  tabTitle: string;
29
29
  href: string;
30
- }, {}>, {
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
31
31
  icon?(_: {
32
32
  active: boolean;
33
33
  }): any;