@nutui/nutui 4.2.8 → 4.3.0-beta.2

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 (184) hide show
  1. package/dist/nutui.es.js +4 -2
  2. package/dist/nutui.js +6306 -5969
  3. package/dist/nutui.umd.js +1 -1
  4. package/dist/packages/addresslist/AddressList.js +4 -3
  5. package/dist/packages/audiooperate/AudioOperate.js +3 -2
  6. package/dist/packages/avatarcropper/AvatarCropper.js +3 -2
  7. package/dist/packages/button/Button.js +58 -39
  8. package/dist/packages/calendar/Calendar.js +2 -1
  9. package/dist/packages/calendarcard/CalendarCard.js +529 -0
  10. package/dist/packages/calendarcard/index.css +1 -0
  11. package/dist/packages/calendarcard/index.mjs +2 -0
  12. package/dist/packages/calendarcard/index.scss +92 -0
  13. package/dist/packages/calendarcard/style/css.mjs +2 -0
  14. package/dist/packages/calendarcard/style/index.mjs +2 -0
  15. package/dist/packages/calendaritem/CalendarItem.js +817 -7
  16. package/dist/packages/date-djiVNSnJ.js +145 -0
  17. package/dist/packages/dialog/Dialog.js +4 -3
  18. package/dist/packages/divider/Divider.js +40 -18
  19. package/dist/packages/invoice/Invoice.js +3 -2
  20. package/dist/packages/locale/lang/baseLang.d.ts +8 -0
  21. package/dist/packages/locale/lang/en-US.d.ts +8 -0
  22. package/dist/packages/locale/lang/en-US.js +8 -0
  23. package/dist/packages/locale/lang/id-ID.d.ts +8 -0
  24. package/dist/packages/locale/lang/id-ID.js +8 -0
  25. package/dist/packages/locale/lang/zh-CN.d.ts +8 -0
  26. package/dist/packages/locale/lang/zh-CN.js +8 -0
  27. package/dist/packages/locale/lang/zh-TW.d.ts +8 -0
  28. package/dist/packages/locale/lang/zh-TW.js +8 -0
  29. package/dist/packages/signature/Signature.js +3 -2
  30. package/dist/packages/with-install-p59gYYU_.js +12 -0
  31. package/dist/smartips/web-types.json +62 -1
  32. package/dist/style.css +1 -1
  33. package/dist/styles/base-jdb.css +1 -1
  34. package/dist/styles/base-jddkh.css +1 -1
  35. package/dist/styles/base-jdt.css +1 -1
  36. package/dist/styles/themes/default.scss +1 -0
  37. package/dist/styles/themes/jdb.scss +1 -0
  38. package/dist/styles/themes/jddkh.scss +1 -0
  39. package/dist/styles/themes/jdt.scss +1 -0
  40. package/dist/styles/variables-jdb.scss +1 -0
  41. package/dist/styles/variables-jddkh.scss +1 -0
  42. package/dist/styles/variables-jdt.scss +1 -0
  43. package/dist/styles/variables.scss +1 -0
  44. package/dist/types/__VUE/actionsheet/index.vue.d.ts +7 -7
  45. package/dist/types/__VUE/address/index.vue.d.ts +11 -11
  46. package/dist/types/__VUE/addresslist/index.vue.d.ts +5 -5
  47. package/dist/types/__VUE/animate/index.vue.d.ts +4 -4
  48. package/dist/types/__VUE/audio/index.vue.d.ts +6 -6
  49. package/dist/types/__VUE/audiooperate/index.vue.d.ts +4 -4
  50. package/dist/types/__VUE/avatar/index.vue.d.ts +5 -5
  51. package/dist/types/__VUE/avatarcropper/index.vue.d.ts +7 -7
  52. package/dist/types/__VUE/avatargroup/index.vue.d.ts +5 -5
  53. package/dist/types/__VUE/backtop/index.vue.d.ts +6 -6
  54. package/dist/types/__VUE/badge/index.vue.d.ts +6 -6
  55. package/dist/types/__VUE/barrage/index.vue.d.ts +5 -5
  56. package/dist/types/__VUE/button/{index.vue.d.ts → button.vue.d.ts} +36 -27
  57. package/dist/types/__VUE/button/index.d.ts +5 -0
  58. package/dist/types/__VUE/calendar/index.vue.d.ts +7 -7
  59. package/dist/types/__VUE/calendarcard/calendar-card.vue.d.ts +112 -0
  60. package/dist/types/__VUE/calendarcard/icon.d.ts +12 -0
  61. package/dist/types/__VUE/calendarcard/index.d.ts +5 -0
  62. package/dist/types/__VUE/calendarcard/types.d.ts +12 -0
  63. package/dist/types/__VUE/calendarcard/utils.d.ts +19 -0
  64. package/dist/types/__VUE/calendaritem/index.vue.d.ts +10 -10
  65. package/dist/types/__VUE/card/index.vue.d.ts +4 -4
  66. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +4 -4
  67. package/dist/types/__VUE/cascader/index.vue.d.ts +7 -7
  68. package/dist/types/__VUE/category/index.vue.d.ts +4 -4
  69. package/dist/types/__VUE/categorypane/index.vue.d.ts +4 -4
  70. package/dist/types/__VUE/cell/index.vue.d.ts +7 -7
  71. package/dist/types/__VUE/cellgroup/index.vue.d.ts +4 -4
  72. package/dist/types/__VUE/checkbox/index.vue.d.ts +6 -6
  73. package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +4 -4
  74. package/dist/types/__VUE/circleprogress/index.vue.d.ts +5 -5
  75. package/dist/types/__VUE/col/index.vue.d.ts +4 -4
  76. package/dist/types/__VUE/collapse/index.vue.d.ts +4 -4
  77. package/dist/types/__VUE/collapseitem/index.vue.d.ts +7 -7
  78. package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +1 -1
  79. package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +1 -1
  80. package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +1 -1
  81. package/dist/types/__VUE/comment/index.vue.d.ts +9 -9
  82. package/dist/types/__VUE/configprovider/index.vue.d.ts +5 -5
  83. package/dist/types/__VUE/countdown/index.vue.d.ts +4 -4
  84. package/dist/types/__VUE/countup/index.vue.d.ts +8 -8
  85. package/dist/types/__VUE/datepicker/index.vue.d.ts +9 -9
  86. package/dist/types/__VUE/dialog/index.vue.d.ts +7 -7
  87. package/dist/types/__VUE/divider/divider.vue.d.ts +56 -0
  88. package/dist/types/__VUE/divider/index.d.ts +5 -0
  89. package/dist/types/__VUE/drag/index.vue.d.ts +4 -4
  90. package/dist/types/__VUE/ecard/index.vue.d.ts +7 -7
  91. package/dist/types/__VUE/elevator/index.vue.d.ts +4 -4
  92. package/dist/types/__VUE/ellipsis/index.vue.d.ts +7 -7
  93. package/dist/types/__VUE/empty/index.vue.d.ts +4 -4
  94. package/dist/types/__VUE/fixednav/index.vue.d.ts +6 -6
  95. package/dist/types/__VUE/form/index.vue.d.ts +4 -4
  96. package/dist/types/__VUE/formitem/index.vue.d.ts +4 -4
  97. package/dist/types/__VUE/grid/index.vue.d.ts +6 -6
  98. package/dist/types/__VUE/griditem/index.vue.d.ts +4 -4
  99. package/dist/types/__VUE/image/index.vue.d.ts +8 -8
  100. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +5 -5
  101. package/dist/types/__VUE/imagepreview/index.vue.d.ts +9 -9
  102. package/dist/types/__VUE/indicator/index.vue.d.ts +4 -4
  103. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +4 -4
  104. package/dist/types/__VUE/input/index.vue.d.ts +15 -15
  105. package/dist/types/__VUE/inputnumber/index.vue.d.ts +7 -7
  106. package/dist/types/__VUE/invoice/index.vue.d.ts +6 -6
  107. package/dist/types/__VUE/layout/index.vue.d.ts +4 -4
  108. package/dist/types/__VUE/list/index.vue.d.ts +6 -6
  109. package/dist/types/__VUE/menu/index.vue.d.ts +7 -7
  110. package/dist/types/__VUE/menuitem/index.vue.d.ts +4 -4
  111. package/dist/types/__VUE/navbar/index.vue.d.ts +6 -6
  112. package/dist/types/__VUE/noticebar/index.vue.d.ts +7 -7
  113. package/dist/types/__VUE/notify/index.vue.d.ts +7 -7
  114. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +8 -8
  115. package/dist/types/__VUE/overlay/index.vue.d.ts +4 -4
  116. package/dist/types/__VUE/pagination/index.vue.d.ts +5 -5
  117. package/dist/types/__VUE/picker/Column.vue.d.ts +7 -7
  118. package/dist/types/__VUE/picker/baseProps.d.ts +4 -4
  119. package/dist/types/__VUE/picker/index.vue.d.ts +6 -6
  120. package/dist/types/__VUE/popover/index.vue.d.ts +9 -9
  121. package/dist/types/__VUE/popup/index.vue.d.ts +6 -6
  122. package/dist/types/__VUE/price/index.vue.d.ts +4 -4
  123. package/dist/types/__VUE/progress/index.vue.d.ts +6 -6
  124. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +4 -4
  125. package/dist/types/__VUE/radio/index.vue.d.ts +8 -8
  126. package/dist/types/__VUE/radiogroup/index.vue.d.ts +7 -7
  127. package/dist/types/__VUE/range/index.vue.d.ts +8 -8
  128. package/dist/types/__VUE/rate/index.vue.d.ts +9 -9
  129. package/dist/types/__VUE/row/index.vue.d.ts +5 -5
  130. package/dist/types/__VUE/searchbar/index.vue.d.ts +15 -15
  131. package/dist/types/__VUE/shortpassword/index.vue.d.ts +5 -5
  132. package/dist/types/__VUE/sidenavbar/index.vue.d.ts +4 -4
  133. package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +4 -4
  134. package/dist/types/__VUE/signature/index.vue.d.ts +6 -6
  135. package/dist/types/__VUE/skeleton/index.vue.d.ts +7 -7
  136. package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +2 -2
  137. package/dist/types/__VUE/sku/index.vue.d.ts +6 -6
  138. package/dist/types/__VUE/space/index.vue.d.ts +4 -4
  139. package/dist/types/__VUE/step/index.vue.d.ts +4 -4
  140. package/dist/types/__VUE/steps/index.vue.d.ts +4 -4
  141. package/dist/types/__VUE/sticky/index.vue.d.ts +5 -5
  142. package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +4 -4
  143. package/dist/types/__VUE/swipe/index.vue.d.ts +4 -4
  144. package/dist/types/__VUE/swipegroup/index.vue.d.ts +4 -4
  145. package/dist/types/__VUE/swiper/index.vue.d.ts +5 -5
  146. package/dist/types/__VUE/swiperitem/index.vue.d.ts +4 -4
  147. package/dist/types/__VUE/switch/index.vue.d.ts +13 -13
  148. package/dist/types/__VUE/tabbar/index.vue.d.ts +6 -6
  149. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +6 -6
  150. package/dist/types/__VUE/table/index.vue.d.ts +4 -4
  151. package/dist/types/__VUE/table/renderColumn.d.ts +4 -4
  152. package/dist/types/__VUE/tabpane/index.vue.d.ts +5 -5
  153. package/dist/types/__VUE/tabs/index.vue.d.ts +10 -10
  154. package/dist/types/__VUE/tag/index.vue.d.ts +8 -8
  155. package/dist/types/__VUE/textarea/index.vue.d.ts +11 -11
  156. package/dist/types/__VUE/timedetail/index.vue.d.ts +4 -4
  157. package/dist/types/__VUE/timepannel/index.vue.d.ts +4 -4
  158. package/dist/types/__VUE/timeselect/index.vue.d.ts +5 -5
  159. package/dist/types/__VUE/toast/index.vue.d.ts +10 -10
  160. package/dist/types/__VUE/tour/index.vue.d.ts +9 -9
  161. package/dist/types/__VUE/trendarrow/index.vue.d.ts +5 -5
  162. package/dist/types/__VUE/uploader/index.vue.d.ts +10 -10
  163. package/dist/types/__VUE/video/index.vue.d.ts +5 -5
  164. package/dist/types/__VUE/watermark/index.vue.d.ts +7 -7
  165. package/dist/types/index.d.ts +8 -4
  166. package/dist/types/locale/lang/baseLang.d.ts +8 -0
  167. package/dist/types/locale/lang/en-US.d.ts +8 -0
  168. package/dist/types/locale/lang/id-ID.d.ts +8 -0
  169. package/dist/types/locale/lang/zh-CN.d.ts +8 -0
  170. package/dist/types/locale/lang/zh-TW.d.ts +8 -0
  171. package/dist/types/utils/canvas.d.ts +1 -1
  172. package/dist/types/utils/create/renderIcon.d.ts +2 -2
  173. package/dist/types/utils/index.d.ts +1 -0
  174. package/dist/types/utils/with-install.d.ts +5 -0
  175. package/package.json +1 -1
  176. package/dist/packages/index-kWulbKuH.js +0 -961
  177. package/dist/types/__VUE/address/address-list.d.ts +0 -30
  178. package/dist/types/__VUE/divider/index.vue.d.ts +0 -71
  179. package/dist/types/__VUE/icon/index.vue.d.ts +0 -13
  180. package/dist/types/__VUE/invoice/types.d.ts +0 -6
  181. package/dist/types/__VUE/picker/doc.en.d.ts +0 -90
  182. package/dist/types/__VUE/sku/data.d.ts +0 -22
  183. package/dist/types/__VUE/tour/type.d.ts +0 -2
  184. /package/dist/types/__VUE/button/{type.d.ts → types.d.ts} +0 -0
@@ -0,0 +1,112 @@
1
+ import type { WithInstall } from '../../utils';
2
+ import { PropType } from 'vue';
3
+ import { CalendarCardType, CalendarCardValue } from './types';
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ type: {
6
+ type: PropType<CalendarCardType>;
7
+ default: string;
8
+ };
9
+ firstDayOfWeek: {
10
+ type: NumberConstructor;
11
+ default: number;
12
+ };
13
+ modelValue: {
14
+ type: PropType<CalendarCardValue>;
15
+ default: () => never[];
16
+ };
17
+ startDate: {
18
+ type: DateConstructor;
19
+ default: null;
20
+ };
21
+ endDate: {
22
+ type: DateConstructor;
23
+ default: null;
24
+ };
25
+ disableDay: {
26
+ type: FunctionConstructor;
27
+ default: () => boolean;
28
+ };
29
+ }, {
30
+ jump: (step?: number) => void;
31
+ jumpTo: (y: number, m: number) => void;
32
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
+ change: (...args: any[]) => void;
34
+ "update:modelValue": (...args: any[]) => void;
35
+ dayClick: (...args: any[]) => void;
36
+ pageChange: (...args: any[]) => void;
37
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
38
+ type: {
39
+ type: PropType<CalendarCardType>;
40
+ default: string;
41
+ };
42
+ firstDayOfWeek: {
43
+ type: NumberConstructor;
44
+ default: number;
45
+ };
46
+ modelValue: {
47
+ type: PropType<CalendarCardValue>;
48
+ default: () => never[];
49
+ };
50
+ startDate: {
51
+ type: DateConstructor;
52
+ default: null;
53
+ };
54
+ endDate: {
55
+ type: DateConstructor;
56
+ default: null;
57
+ };
58
+ disableDay: {
59
+ type: FunctionConstructor;
60
+ default: () => boolean;
61
+ };
62
+ }>> & {
63
+ onChange?: ((...args: any[]) => any) | undefined;
64
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
65
+ onDayClick?: ((...args: any[]) => any) | undefined;
66
+ onPageChange?: ((...args: any[]) => any) | undefined;
67
+ }, {
68
+ type: CalendarCardType;
69
+ modelValue: CalendarCardValue;
70
+ startDate: Date;
71
+ endDate: Date;
72
+ firstDayOfWeek: number;
73
+ disableDay: Function;
74
+ }, {}>, {
75
+ top?(_: {
76
+ day: {
77
+ type?: "next" | "current" | "prev" | undefined;
78
+ year: number;
79
+ month: number;
80
+ date: number;
81
+ };
82
+ }): any;
83
+ default?(_: {
84
+ day: {
85
+ type?: "next" | "current" | "prev" | undefined;
86
+ year: number;
87
+ month: number;
88
+ date: number;
89
+ };
90
+ }): any;
91
+ bottom?(_: {
92
+ day: {
93
+ type?: "next" | "current" | "prev" | undefined;
94
+ year: number;
95
+ month: number;
96
+ date: number;
97
+ };
98
+ }): any;
99
+ }>;
100
+ declare const _nut_default: WithInstall<typeof _default>;
101
+ export default _nut_default;
102
+
103
+ declare module 'vue' {
104
+ interface GlobalComponents {
105
+ NutCalendarCard: typeof _default;
106
+ }
107
+ }
108
+ type __VLS_WithTemplateSlots<T, S> = T & {
109
+ new (): {
110
+ $slots: S;
111
+ };
112
+ };
@@ -0,0 +1,12 @@
1
+ export declare const Left: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>;
4
+ export declare const Right: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
5
+ [key: string]: any;
6
+ }>;
7
+ export declare const DoubleLeft: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
8
+ [key: string]: any;
9
+ }>;
10
+ export declare const DoubleRight: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
+ [key: string]: any;
12
+ }>;
@@ -0,0 +1,5 @@
1
+ import CalendarCard from './calendar-card.vue';
2
+ import type { ComponentPublicInstance } from 'vue';
3
+ export type { CalendarCardType, CalendarCardDay, CalendarCardMonth, CalendarCardValue } from './types';
4
+ export type CalendarCardInstance = ComponentPublicInstance & InstanceType<typeof CalendarCard>;
5
+ export { CalendarCard, CalendarCard as default };
@@ -0,0 +1,12 @@
1
+ export type CalendarCardType = 'single' | 'multiple' | 'range' | 'week';
2
+ export interface CalendarCardDay {
3
+ type?: 'prev' | 'current' | 'next';
4
+ year: number;
5
+ month: number;
6
+ date: number;
7
+ }
8
+ export interface CalendarCardMonth {
9
+ year: number;
10
+ month: number;
11
+ }
12
+ export type CalendarCardValue = Date | Date[] | null;
@@ -0,0 +1,19 @@
1
+ import { CalendarCardDay, CalendarCardMonth, CalendarCardValue } from './types';
2
+ export declare const convertDateToDay: (date: Date) => {
3
+ year: number;
4
+ month: number;
5
+ date: number;
6
+ } | null;
7
+ export declare const convertDayToDate: (day: CalendarCardDay) => Date | null;
8
+ export declare const valueToRange: (val?: CalendarCardValue) => ({
9
+ year: number;
10
+ month: number;
11
+ date: number;
12
+ } | null)[];
13
+ export declare const rangeTovalue: (range?: CalendarCardDay[]) => (Date | null)[];
14
+ export declare const getPrevMonthDays: (year: number, month: number, firstDayOfWeek: number) => CalendarCardDay[];
15
+ export declare const getCurrentMonthDays: (year: number, month: number) => CalendarCardDay[];
16
+ export declare const getCurrentWeekDays: (day: CalendarCardDay, firstDayOfWeek: number) => CalendarCardDay[];
17
+ export declare const getDays: (month: CalendarCardMonth, firstDayOfWeek: number) => CalendarCardDay[];
18
+ export declare const compareDay: (day1: CalendarCardDay, day2: CalendarCardDay) => number | undefined;
19
+ export declare const isSameDay: (day1: CalendarCardDay, day2: CalendarCardDay) => boolean;
@@ -1,7 +1,7 @@
1
1
  import { MonthInfo, Day } from './type';
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
  type: {
@@ -70,15 +70,15 @@ declare const _default: Install< import("vue").DefineComponent<{
70
70
  monthsPanel: import("vue").Ref<HTMLElement | null>;
71
71
  weeksPanel: import("vue").Ref<HTMLElement | null>;
72
72
  viewArea: import("vue").Ref<HTMLElement | null>;
73
- title: import("vue").Ref<string>;
74
73
  type: import("vue").Ref<string>;
75
- confirmText: import("vue").Ref<string>;
74
+ title: import("vue").Ref<string>;
75
+ poppable: import("vue").Ref<boolean>;
76
76
  isAutoBackFill: import("vue").Ref<boolean>;
77
77
  toDateAnimation: import("vue").Ref<boolean>;
78
- poppable: import("vue").Ref<boolean>;
79
78
  showTitle: import("vue").Ref<boolean>;
80
79
  showSubTitle: import("vue").Ref<boolean>;
81
80
  showToday: import("vue").Ref<boolean>;
81
+ confirmText: import("vue").Ref<string>;
82
82
  startText: import("vue").Ref<string>;
83
83
  endText: import("vue").Ref<string>;
84
84
  defaultValue: import("vue").Ref<string | unknown[]>;
@@ -193,15 +193,15 @@ declare const _default: Install< import("vue").DefineComponent<{
193
193
  onChoose?: ((...args: any[]) => any) | undefined;
194
194
  onUpdate?: ((...args: any[]) => any) | undefined;
195
195
  }, {
196
- title: string;
197
196
  type: string;
198
- confirmText: string;
197
+ title: string;
198
+ poppable: boolean;
199
199
  isAutoBackFill: boolean;
200
200
  toDateAnimation: boolean;
201
- poppable: boolean;
202
201
  showTitle: boolean;
203
202
  showSubTitle: boolean;
204
203
  showToday: boolean;
204
+ confirmText: string;
205
205
  startText: string;
206
206
  endText: string;
207
207
  defaultValue: string | unknown[];
@@ -212,7 +212,7 @@ declare const _default: Install< import("vue").DefineComponent<{
212
212
  export default _default;
213
213
 
214
214
  declare module 'vue' {
215
- interface GlobalComponents {
216
- NutCalendarItem: typeof _default;
217
- }
215
+ interface GlobalComponents {
216
+ NutCalendarItem: typeof _default;
217
+ }
218
218
  }
@@ -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
  imgUrl: {
@@ -81,7 +81,7 @@ declare const _default: Install< import("vue").DefineComponent<{
81
81
  export default _default;
82
82
 
83
83
  declare module 'vue' {
84
- interface GlobalComponents {
85
- NutCard: typeof _default;
86
- }
84
+ interface GlobalComponents {
85
+ NutCard: typeof _default;
86
+ }
87
87
  }
@@ -2,7 +2,7 @@ import { Ref } from 'vue';
2
2
  import { CascaderPane, CascaderOption, CascaderTabs } 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
  visible: BooleanConstructor;
@@ -71,7 +71,7 @@ declare const _default: Install< import("vue").DefineComponent<{
71
71
  export default _default;
72
72
 
73
73
  declare module 'vue' {
74
- interface GlobalComponents {
75
- NutCascader: typeof _default;
76
- }
74
+ interface GlobalComponents {
75
+ NutCascader: typeof _default;
76
+ }
77
77
  }
@@ -2,7 +2,7 @@ import { Ref } from 'vue';
2
2
  import { CascaderValue, CascaderOption } 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: ArrayConstructor;
@@ -227,7 +227,9 @@ declare const _default: Install< import("vue").DefineComponent<{
227
227
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
228
228
  onPathChange?: ((...args: any[]) => any) | undefined;
229
229
  }, {
230
+ round: boolean;
230
231
  style: Record<string, any>;
232
+ transition: string;
231
233
  overlay: boolean;
232
234
  visible: boolean;
233
235
  zIndex: string | number;
@@ -236,9 +238,7 @@ declare const _default: Install< import("vue").DefineComponent<{
236
238
  overlayClass: string;
237
239
  overlayStyle: Record<string, any>;
238
240
  closeOnClickOverlay: boolean;
239
- round: boolean;
240
241
  position: string;
241
- transition: string;
242
242
  popClass: string;
243
243
  closeable: boolean;
244
244
  closeIconPosition: string;
@@ -247,17 +247,17 @@ declare const _default: Install< import("vue").DefineComponent<{
247
247
  teleport: string | Element;
248
248
  teleportDisable: boolean;
249
249
  safeAreaInsetBottom: boolean;
250
- poppable: boolean;
251
250
  options: unknown[];
252
251
  lazy: boolean;
253
252
  valueKey: string;
254
253
  textKey: string;
255
254
  childrenKey: string;
255
+ poppable: boolean;
256
256
  }, {}>>;
257
257
  export default _default;
258
258
 
259
259
  declare module 'vue' {
260
- interface GlobalComponents {
261
- NutCascader: typeof _default;
262
- }
260
+ interface GlobalComponents {
261
+ NutCascader: typeof _default;
262
+ }
263
263
  }
@@ -5,7 +5,7 @@ export type CategoryType = {
5
5
  };
6
6
 
7
7
  declare type Install<T> = T & {
8
- install(app: import('vue').App): void;
8
+ install(app: import('vue').App): void;
9
9
  };
10
10
  declare const _default: Install< import("vue").DefineComponent<{
11
11
  type: {
@@ -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
- NutCategory: typeof _default;
41
- }
39
+ interface GlobalComponents {
40
+ NutCategory: typeof _default;
41
+ }
42
42
  }
@@ -10,7 +10,7 @@ export type CustomType = {
10
10
  };
11
11
 
12
12
  declare type Install<T> = T & {
13
- install(app: import('vue').App): void;
13
+ install(app: import('vue').App): void;
14
14
  };
15
15
  declare const _default: Install< import("vue").DefineComponent<{
16
16
  type: {
@@ -48,7 +48,7 @@ declare const _default: Install< import("vue").DefineComponent<{
48
48
  export default _default;
49
49
 
50
50
  declare module 'vue' {
51
- interface GlobalComponents {
52
- NutCategoryPane: typeof _default;
53
- }
51
+ interface GlobalComponents {
52
+ NutCategoryPane: typeof _default;
53
+ }
54
54
  }
@@ -1,7 +1,7 @@
1
1
  import type { CSSProperties } 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
  title: {
@@ -101,19 +101,19 @@ declare const _default: Install< import("vue").DefineComponent<{
101
101
  }, {
102
102
  size: string;
103
103
  title: string;
104
- replace: boolean;
105
- center: boolean;
106
104
  desc: string;
107
- url: string;
105
+ center: boolean;
106
+ replace: boolean;
108
107
  subTitle: string;
109
108
  descTextAlign: string;
110
109
  isLink: boolean;
111
110
  roundRadius: string | number;
111
+ url: string;
112
112
  }, {}>>;
113
113
  export default _default;
114
114
 
115
115
  declare module 'vue' {
116
- interface GlobalComponents {
117
- NutCell: typeof _default;
118
- }
116
+ interface GlobalComponents {
117
+ NutCell: typeof _default;
118
+ }
119
119
  }
@@ -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: {
@@ -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
- NutCellGroup: typeof _default;
32
- }
30
+ interface GlobalComponents {
31
+ NutCellGroup: typeof _default;
32
+ }
33
33
  }
@@ -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
  modelValue: {
@@ -66,10 +66,10 @@ declare const _default: Install< import("vue").DefineComponent<{
66
66
  onChange?: ((...args: any[]) => any) | undefined;
67
67
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
68
68
  }, {
69
- label: string;
69
+ shape: string;
70
70
  disabled: boolean;
71
+ label: string;
71
72
  modelValue: boolean;
72
- shape: string;
73
73
  textPosition: string;
74
74
  iconSize: string | number;
75
75
  indeterminate: boolean;
@@ -77,7 +77,7 @@ declare const _default: Install< import("vue").DefineComponent<{
77
77
  export default _default;
78
78
 
79
79
  declare module 'vue' {
80
- interface GlobalComponents {
81
- NutCheckbox: typeof _default;
82
- }
80
+ interface GlobalComponents {
81
+ NutCheckbox: typeof _default;
82
+ }
83
83
  }
@@ -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
  modelValue: {
@@ -41,7 +41,7 @@ declare const _default: Install< import("vue").DefineComponent<{
41
41
  export default _default;
42
42
 
43
43
  declare module 'vue' {
44
- interface GlobalComponents {
45
- NutCheckboxGroup: typeof _default;
46
- }
44
+ interface GlobalComponents {
45
+ NutCheckboxGroup: typeof _default;
46
+ }
47
47
  }
@@ -6,7 +6,7 @@ export interface stopArr {
6
6
  }
7
7
 
8
8
  declare type Install<T> = T & {
9
- install(app: import('vue').App): void;
9
+ install(app: import('vue').App): void;
10
10
  };
11
11
  declare const _default: Install< import("vue").DefineComponent<{
12
12
  progress: {
@@ -80,8 +80,8 @@ declare const _default: Install< import("vue").DefineComponent<{
80
80
  };
81
81
  }>>, {
82
82
  color: string | Record<string, any>;
83
- strokeWidth: string | number;
84
83
  radius: string | number;
84
+ strokeWidth: string | number;
85
85
  strokeLinecap: CircleProgressStrokeLinecap;
86
86
  pathColor: string;
87
87
  clockwise: boolean;
@@ -89,7 +89,7 @@ declare const _default: Install< import("vue").DefineComponent<{
89
89
  export default _default;
90
90
 
91
91
  declare module 'vue' {
92
- interface GlobalComponents {
93
- NutCircleProgress: typeof _default;
94
- }
92
+ interface GlobalComponents {
93
+ NutCircleProgress: typeof _default;
94
+ }
95
95
  }
@@ -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
  span: {
@@ -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
- NutCol: typeof _default;
41
- }
39
+ interface GlobalComponents {
40
+ NutCol: typeof _default;
41
+ }
42
42
  }
@@ -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
  modelValue: {
@@ -33,7 +33,7 @@ declare const _default: Install< import("vue").DefineComponent<{
33
33
  export default _default;
34
34
 
35
35
  declare module 'vue' {
36
- interface GlobalComponents {
37
- NutCollapse: typeof _default;
38
- }
36
+ interface GlobalComponents {
37
+ NutCollapse: typeof _default;
38
+ }
39
39
  }
@@ -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: {
@@ -95,9 +95,9 @@ declare const _default: Install< import("vue").DefineComponent<{
95
95
  [x: string]: boolean;
96
96
  "nut-collapse-item": boolean;
97
97
  }>;
98
- renderIcon: (icon: import("vue").Component, props?: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
98
+ renderIcon: (icon: import("vue").Component, props?: any) => "" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
99
99
  [key: string]: any;
100
- }> | "";
100
+ }>;
101
101
  wrapperRef: any;
102
102
  contentRef: any;
103
103
  open: () => void;
@@ -195,18 +195,18 @@ declare const _default: Install< import("vue").DefineComponent<{
195
195
  };
196
196
  }>>, {
197
197
  name: string | number;
198
+ disabled: boolean;
198
199
  label: string;
199
200
  title: string;
200
201
  icon: Record<string, any>;
201
202
  border: boolean;
202
- disabled: boolean;
203
203
  value: string;
204
204
  rotate: string | number;
205
205
  }, {}>>;
206
206
  export default _default;
207
207
 
208
208
  declare module 'vue' {
209
- interface GlobalComponents {
210
- NutCollapseItem: typeof _default;
211
- }
209
+ interface GlobalComponents {
210
+ NutCollapseItem: typeof _default;
211
+ }
212
212
  }
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<{
35
35
  onHandleClick?: ((...args: any[]) => any) | undefined;
36
36
  onClickOperate?: ((...args: any[]) => any) | undefined;
37
37
  }, {
38
- type: string;
39
38
  info: Record<string, any>;
39
+ type: string;
40
40
  operation: string[];
41
41
  }, {}>;
42
42
  export default _default;
@@ -29,8 +29,8 @@ declare const _default: import("vue").DefineComponent<{
29
29
  }>> & {
30
30
  onHandleClick?: ((...args: any[]) => any) | undefined;
31
31
  }, {
32
- type: string;
33
32
  info: Record<string, any>;
33
+ type: string;
34
34
  labels: Function;
35
35
  }, {}>;
36
36
  export default _default;
@@ -53,7 +53,7 @@ declare const _default: import("vue").DefineComponent<{
53
53
  onClickImages?: ((...args: any[]) => any) | undefined;
54
54
  }, {
55
55
  type: string;
56
- videos: VideosType[];
57
56
  images: ImagesType[];
57
+ videos: VideosType[];
58
58
  }, {}>;
59
59
  export default _default;
@@ -11,7 +11,7 @@ interface ImagesType {
11
11
  }
12
12
 
13
13
  declare type Install<T> = T & {
14
- install(app: import('vue').App): void;
14
+ install(app: import('vue').App): void;
15
15
  };
16
16
  declare const _default: Install< import("vue").DefineComponent<{
17
17
  headerType: {
@@ -23,7 +23,7 @@ declare const _default: Install< import("vue").DefineComponent<{
23
23
  default: string;
24
24
  };
25
25
  ellipsis: {
26
- type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
26
+ type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
27
27
  default: boolean;
28
28
  };
29
29
  videos: {
@@ -66,7 +66,7 @@ declare const _default: Install< import("vue").DefineComponent<{
66
66
  default: string;
67
67
  };
68
68
  ellipsis: {
69
- type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
69
+ type: (NumberConstructor | StringConstructor | BooleanConstructor)[];
70
70
  default: boolean;
71
71
  };
72
72
  videos: {
@@ -98,11 +98,11 @@ declare const _default: Install< import("vue").DefineComponent<{
98
98
  onClickImages?: ((...args: any[]) => any) | undefined;
99
99
  onClickOperate?: ((...args: any[]) => any) | undefined;
100
100
  }, {
101
- ellipsis: string | number | boolean;
102
101
  info: Record<string, any>;
103
- labels: Function;
104
- videos: VideosType[];
102
+ ellipsis: string | number | boolean;
105
103
  images: ImagesType[];
104
+ videos: VideosType[];
105
+ labels: Function;
106
106
  operation: string[];
107
107
  headerType: string;
108
108
  imagesRows: string;
@@ -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
- NutComment: typeof _default;
116
- }
114
+ interface GlobalComponents {
115
+ NutComment: typeof _default;
116
+ }
117
117
  }