@nutui/nutui 4.3.12 → 4.3.14-beta.3

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 (149) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +31 -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/tabs/index.scss +1 -1
  19. package/dist/packages/video/Video.js +11 -13
  20. package/dist/smartips/web-types.json +1 -1
  21. package/dist/types/__VUE/actionsheet/index.vue.d.ts +496 -8
  22. package/dist/types/__VUE/address/index.vue.d.ts +865 -56
  23. package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +465 -7
  24. package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +117 -6
  25. package/dist/types/__VUE/addresslist/index.vue.d.ts +713 -6
  26. package/dist/types/__VUE/animate/animate.vue.d.ts +5 -5
  27. package/dist/types/__VUE/audio/index.vue.d.ts +229 -28
  28. package/dist/types/__VUE/audiooperate/index.vue.d.ts +205 -15
  29. package/dist/types/__VUE/avatar/index.vue.d.ts +6 -6
  30. package/dist/types/__VUE/avatarcropper/index.vue.d.ts +319 -19
  31. package/dist/types/__VUE/avatargroup/index.vue.d.ts +55 -7
  32. package/dist/types/__VUE/backtop/backtop.vue.d.ts +6 -6
  33. package/dist/types/__VUE/badge/badge.vue.d.ts +5 -5
  34. package/dist/types/__VUE/barrage/index.vue.d.ts +7 -7
  35. package/dist/types/__VUE/button/button.vue.d.ts +5 -5
  36. package/dist/types/__VUE/calendar/index.vue.d.ts +647 -8
  37. package/dist/types/__VUE/calendarcard/calendar-card.vue.d.ts +9 -24
  38. package/dist/types/__VUE/calendaritem/index.vue.d.ts +52 -52
  39. package/dist/types/__VUE/card/index.vue.d.ts +256 -4
  40. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +453 -10
  41. package/dist/types/__VUE/cascader/index.vue.d.ts +950 -10
  42. package/dist/types/__VUE/category/index.vue.d.ts +7 -7
  43. package/dist/types/__VUE/categorypane/index.vue.d.ts +5 -5
  44. package/dist/types/__VUE/cell/cell.vue.d.ts +5 -5
  45. package/dist/types/__VUE/cellgroup/cell-group.vue.d.ts +4 -4
  46. package/dist/types/__VUE/checkbox/index.vue.d.ts +6 -6
  47. package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +7 -7
  48. package/dist/types/__VUE/circleprogress/circle-progress.vue.d.ts +5 -5
  49. package/dist/types/__VUE/col/col.vue.d.ts +4 -4
  50. package/dist/types/__VUE/collapse/collapse.vue.d.ts +5 -5
  51. package/dist/types/__VUE/collapseitem/collapse-item.vue.d.ts +4 -4
  52. package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +174 -8
  53. package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +218 -6
  54. package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +73 -18
  55. package/dist/types/__VUE/comment/index.vue.d.ts +627 -16
  56. package/dist/types/__VUE/comment/type.d.ts +10 -0
  57. package/dist/types/__VUE/configprovider/index.vue.d.ts +6 -6
  58. package/dist/types/__VUE/countdown/countdown.vue.d.ts +8 -8
  59. package/dist/types/__VUE/countup/index.vue.d.ts +46 -46
  60. package/dist/types/__VUE/datepicker/index.vue.d.ts +265 -9
  61. package/dist/types/__VUE/dialog/index.vue.d.ts +631 -9
  62. package/dist/types/__VUE/divider/divider.vue.d.ts +4 -4
  63. package/dist/types/__VUE/drag/index.vue.d.ts +6 -6
  64. package/dist/types/__VUE/ecard/index.vue.d.ts +255 -10
  65. package/dist/types/__VUE/elevator/index.vue.d.ts +24 -17
  66. package/dist/types/__VUE/ellipsis/index.vue.d.ts +10 -10
  67. package/dist/types/__VUE/empty/empty.vue.d.ts +4 -4
  68. package/dist/types/__VUE/fixednav/index.vue.d.ts +231 -7
  69. package/dist/types/__VUE/form/form.vue.d.ts +6 -6
  70. package/dist/types/__VUE/formitem/form-item.vue.d.ts +4 -4
  71. package/dist/types/__VUE/grid/grid.vue.d.ts +4 -4
  72. package/dist/types/__VUE/griditem/grid-item.vue.d.ts +5 -5
  73. package/dist/types/__VUE/image/image.vue.d.ts +6 -6
  74. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +155 -14
  75. package/dist/types/__VUE/imagepreview/index.vue.d.ts +916 -11
  76. package/dist/types/__VUE/indicator/indicator.vue.d.ts +4 -4
  77. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +68 -12
  78. package/dist/types/__VUE/input/input.vue.d.ts +11 -11
  79. package/dist/types/__VUE/inputnumber/input-number.vue.d.ts +10 -10
  80. package/dist/types/__VUE/invoice/invoice.vue.d.ts +5 -5
  81. package/dist/types/__VUE/layout/layout.vue.d.ts +1 -1
  82. package/dist/types/__VUE/list/index.vue.d.ts +19 -13
  83. package/dist/types/__VUE/menu/index.vue.d.ts +117 -6
  84. package/dist/types/__VUE/menuitem/index.vue.d.ts +494 -6
  85. package/dist/types/__VUE/navbar/navbar.vue.d.ts +5 -5
  86. package/dist/types/__VUE/noticebar/index.vue.d.ts +136 -20
  87. package/dist/types/__VUE/notify/index.vue.d.ts +441 -8
  88. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +442 -9
  89. package/dist/types/__VUE/overlay/overlay.vue.d.ts +6 -6
  90. package/dist/types/__VUE/pagination/index.vue.d.ts +9 -9
  91. package/dist/types/__VUE/picker/Column.vue.d.ts +29 -22
  92. package/dist/types/__VUE/picker/index.vue.d.ts +138 -8
  93. package/dist/types/__VUE/picker/usePicker.d.ts +3 -3
  94. package/dist/types/__VUE/popover/index.vue.d.ts +443 -10
  95. package/dist/types/__VUE/popup/index.vue.d.ts +234 -10
  96. package/dist/types/__VUE/price/price.vue.d.ts +4 -4
  97. package/dist/types/__VUE/progress/progress.vue.d.ts +4 -4
  98. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +76 -8
  99. package/dist/types/__VUE/radio/radio.vue.d.ts +4 -4
  100. package/dist/types/__VUE/radiogroup/radio-group.vue.d.ts +5 -5
  101. package/dist/types/__VUE/range/index.vue.d.ts +25 -25
  102. package/dist/types/__VUE/rate/rate.vue.d.ts +5 -5
  103. package/dist/types/__VUE/row/row.vue.d.ts +4 -4
  104. package/dist/types/__VUE/searchbar/index.vue.d.ts +9 -9
  105. package/dist/types/__VUE/shortpassword/index.vue.d.ts +496 -8
  106. package/dist/types/__VUE/sidenavbar/index.vue.d.ts +11 -7
  107. package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +4 -4
  108. package/dist/types/__VUE/signature/index.vue.d.ts +201 -11
  109. package/dist/types/__VUE/skeleton/skeleton.vue.d.ts +4 -4
  110. package/dist/types/__VUE/sku/components/SkuHeader.vue.d.ts +82 -5
  111. package/dist/types/__VUE/sku/components/SkuOperate.vue.d.ts +6 -6
  112. package/dist/types/__VUE/sku/components/SkuSelect.vue.d.ts +13 -6
  113. package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +252 -7
  114. package/dist/types/__VUE/sku/index.vue.d.ts +921 -7
  115. package/dist/types/__VUE/sku/type.d.ts +7 -0
  116. package/dist/types/__VUE/space/index.vue.d.ts +5 -5
  117. package/dist/types/__VUE/step/step.vue.d.ts +4 -4
  118. package/dist/types/__VUE/steps/steps.vue.d.ts +5 -5
  119. package/dist/types/__VUE/sticky/index.vue.d.ts +8 -8
  120. package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +118 -7
  121. package/dist/types/__VUE/swipe/swipe.vue.d.ts +7 -7
  122. package/dist/types/__VUE/swipegroup/swipe-group.vue.d.ts +4 -4
  123. package/dist/types/__VUE/swiper/index.vue.d.ts +7 -7
  124. package/dist/types/__VUE/swiperitem/index.vue.d.ts +1 -1
  125. package/dist/types/__VUE/switch/switch.vue.d.ts +5 -5
  126. package/dist/types/__VUE/tabbar/tabbar.vue.d.ts +5 -5
  127. package/dist/types/__VUE/tabbaritem/tabbar-item.vue.d.ts +4 -4
  128. package/dist/types/__VUE/table/index.vue.d.ts +87 -7
  129. package/dist/types/__VUE/table/renderColumn.d.ts +5 -5
  130. package/dist/types/__VUE/tabpane/index.vue.d.ts +5 -5
  131. package/dist/types/__VUE/tabs/hooks.d.ts +1 -1
  132. package/dist/types/__VUE/tabs/index.vue.d.ts +122 -10
  133. package/dist/types/__VUE/tag/tag.vue.d.ts +5 -5
  134. package/dist/types/__VUE/textarea/textarea.vue.d.ts +6 -6
  135. package/dist/types/__VUE/timedetail/index.vue.d.ts +8 -8
  136. package/dist/types/__VUE/timepannel/index.vue.d.ts +7 -7
  137. package/dist/types/__VUE/timeselect/index.vue.d.ts +439 -6
  138. package/dist/types/__VUE/toast/index.vue.d.ts +7 -7
  139. package/dist/types/__VUE/tour/index.vue.d.ts +671 -9
  140. package/dist/types/__VUE/trendarrow/trend-arrow.vue.d.ts +4 -4
  141. package/dist/types/__VUE/uploader/index.vue.d.ts +480 -7
  142. package/dist/types/__VUE/video/index.vue.d.ts +43 -19
  143. package/dist/types/__VUE/watermark/watermark.vue.d.ts +4 -4
  144. package/dist/types/index.d.ts +1 -1
  145. package/dist/types/locale/index.d.ts +1 -1
  146. package/dist/types/utils/useRelation/useInject.d.ts +1 -1
  147. package/dist/types/utils/useScrollParent/index.d.ts +1 -1
  148. package/dist/types/utils/useTouch/index.d.ts +9 -9
  149. package/package.json +2 -2
@@ -4,7 +4,7 @@ import { NoticebarDirection } 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
  direction: {
9
9
  type: PropType<NoticebarDirection>;
10
10
  default: string;
@@ -61,7 +61,7 @@ declare const _default: Install< import("vue").DefineComponent<{
61
61
  type: NumberConstructor;
62
62
  default: number;
63
63
  };
64
- }, {
64
+ }>, {
65
65
  isEllipsis: import("vue").ComputedRef<boolean>;
66
66
  barStyle: import("vue").ComputedRef<{
67
67
  [props: string]: any;
@@ -72,8 +72,8 @@ declare const _default: Install< import("vue").DefineComponent<{
72
72
  transform: string;
73
73
  }>;
74
74
  horseLampStyle: import("vue").ComputedRef<{}>;
75
- wrap: import("vue").Ref<HTMLElement | null>;
76
- content: import("vue").Ref<HTMLElement | null>;
75
+ wrap: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
76
+ content: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
77
77
  handleClick: (event: Event) => void;
78
78
  onClickIcon: (event: Event) => void;
79
79
  onAnimationEnd: (event: Event) => void;
@@ -88,22 +88,24 @@ declare const _default: Install< import("vue").DefineComponent<{
88
88
  'nut-noticebar__page-wrap-content': boolean;
89
89
  'nut-ellipsis': boolean;
90
90
  }>;
91
- wrapWidth: import("vue").Ref<number>;
92
- firstRound: import("vue").Ref<boolean>;
93
- duration: import("vue").Ref<number>;
94
- offsetWidth: import("vue").Ref<number>;
95
- showNoticebar: import("vue").Ref<boolean>;
96
- animationClass: import("vue").Ref<string>;
97
- animate: import("vue").Ref<boolean>;
91
+ wrapWidth: import("vue").Ref<number, number>;
92
+ firstRound: import("vue").Ref<boolean, boolean>;
93
+ duration: import("vue").Ref<number, number>;
94
+ offsetWidth: import("vue").Ref<number, number>;
95
+ showNoticebar: import("vue").Ref<boolean, boolean>;
96
+ animationClass: import("vue").Ref<string, string>;
97
+ animate: import("vue").Ref<boolean, boolean>;
98
98
  scrollList: import("vue").Ref<Readonly<{
99
99
  [name: string]: import("vue").Slot<any> | undefined;
100
+ }>[], Readonly<{
101
+ [name: string]: import("vue").Slot<any> | undefined;
100
102
  }>[]>;
101
- distance: import("vue").Ref<number>;
102
- timer: import("vue").Ref<null>;
103
- keepAlive: import("vue").Ref<boolean>;
104
- isCanScroll: import("vue").Ref<boolean | null>;
105
- showNotica: import("vue").Ref<boolean>;
106
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "close" | "acrossEnd")[], "click" | "close" | "acrossEnd", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
103
+ distance: import("vue").Ref<number, number>;
104
+ timer: import("vue").Ref<null, null>;
105
+ keepAlive: import("vue").Ref<boolean, boolean>;
106
+ isCanScroll: import("vue").Ref<boolean | null, boolean | null>;
107
+ showNotica: import("vue").Ref<boolean, boolean>;
108
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "close" | "acrossEnd")[], "click" | "close" | "acrossEnd", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
107
109
  direction: {
108
110
  type: PropType<NoticebarDirection>;
109
111
  default: string;
@@ -160,11 +162,11 @@ declare const _default: Install< import("vue").DefineComponent<{
160
162
  type: NumberConstructor;
161
163
  default: number;
162
164
  };
163
- }>> & {
165
+ }>> & Readonly<{
164
166
  onClick?: ((...args: any[]) => any) | undefined;
165
167
  onClose?: ((...args: any[]) => any) | undefined;
166
168
  onAcrossEnd?: ((...args: any[]) => any) | undefined;
167
- }, {
169
+ }>, {
168
170
  color: string;
169
171
  height: number;
170
172
  text: string;
@@ -179,7 +181,121 @@ declare const _default: Install< import("vue").DefineComponent<{
179
181
  delay: string | number;
180
182
  scrollable: boolean;
181
183
  speed: number;
182
- }, {}>>;
184
+ }, {}, {
185
+ ScrollItem: (props: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
186
+ [key: string]: any;
187
+ }>;
188
+ Notice: import("vue").DefineComponent<{
189
+ class: {
190
+ type: StringConstructor;
191
+ default: string;
192
+ };
193
+ name: {
194
+ type: StringConstructor;
195
+ default: string;
196
+ };
197
+ color: {
198
+ type: StringConstructor;
199
+ default: string;
200
+ };
201
+ width: {
202
+ type: (NumberConstructor | StringConstructor)[];
203
+ default: string;
204
+ };
205
+ height: {
206
+ type: (NumberConstructor | StringConstructor)[];
207
+ default: string;
208
+ };
209
+ }, {
210
+ classes: import("vue").ComputedRef<{
211
+ [x: string]: string | boolean;
212
+ "nut-icon": boolean;
213
+ }>;
214
+ style: import("vue").ComputedRef<import("vue").CSSProperties>;
215
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
216
+ class: {
217
+ type: StringConstructor;
218
+ default: string;
219
+ };
220
+ name: {
221
+ type: StringConstructor;
222
+ default: string;
223
+ };
224
+ color: {
225
+ type: StringConstructor;
226
+ default: string;
227
+ };
228
+ width: {
229
+ type: (NumberConstructor | StringConstructor)[];
230
+ default: string;
231
+ };
232
+ height: {
233
+ type: (NumberConstructor | StringConstructor)[];
234
+ default: string;
235
+ };
236
+ }>>, {
237
+ name: string;
238
+ width: string | number;
239
+ height: string | number;
240
+ color: string;
241
+ class: string;
242
+ }>;
243
+ CircleClose: import("vue").DefineComponent<{
244
+ class: {
245
+ type: StringConstructor;
246
+ default: string;
247
+ };
248
+ name: {
249
+ type: StringConstructor;
250
+ default: string;
251
+ };
252
+ color: {
253
+ type: StringConstructor;
254
+ default: string;
255
+ };
256
+ width: {
257
+ type: (NumberConstructor | StringConstructor)[];
258
+ default: string;
259
+ };
260
+ height: {
261
+ type: (NumberConstructor | StringConstructor)[];
262
+ default: string;
263
+ };
264
+ }, {
265
+ classes: import("vue").ComputedRef<{
266
+ [x: string]: string | boolean;
267
+ "nut-icon": boolean;
268
+ }>;
269
+ style: import("vue").ComputedRef<import("vue").CSSProperties>;
270
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
271
+ class: {
272
+ type: StringConstructor;
273
+ default: string;
274
+ };
275
+ name: {
276
+ type: StringConstructor;
277
+ default: string;
278
+ };
279
+ color: {
280
+ type: StringConstructor;
281
+ default: string;
282
+ };
283
+ width: {
284
+ type: (NumberConstructor | StringConstructor)[];
285
+ default: string;
286
+ };
287
+ height: {
288
+ type: (NumberConstructor | StringConstructor)[];
289
+ default: string;
290
+ };
291
+ }>>, {
292
+ name: string;
293
+ width: string | number;
294
+ height: string | number;
295
+ color: string;
296
+ class: string;
297
+ }>;
298
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
183
299
  export default _default;
184
300
 
185
301
  declare module 'vue' {
@@ -4,7 +4,7 @@ import type { NotifyType } 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
  id: StringConstructor;
9
9
  color: {
10
10
  type: StringConstructor;
@@ -45,11 +45,11 @@ declare const _default: Install< import("vue").DefineComponent<{
45
45
  onClose: FunctionConstructor;
46
46
  onClick: FunctionConstructor;
47
47
  unmount: FunctionConstructor;
48
- }, {
48
+ }>, {
49
49
  onAfterLeave: () => void;
50
50
  clickCover: () => void;
51
- isShowPopup: import("vue").Ref<boolean>;
52
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
51
+ isShowPopup: import("vue").Ref<boolean, boolean>;
52
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:visible"[], "update:visible", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
53
53
  id: StringConstructor;
54
54
  color: {
55
55
  type: StringConstructor;
@@ -90,19 +90,452 @@ declare const _default: Install< import("vue").DefineComponent<{
90
90
  onClose: FunctionConstructor;
91
91
  onClick: FunctionConstructor;
92
92
  unmount: FunctionConstructor;
93
- }>> & {
93
+ }>> & Readonly<{
94
94
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
95
- }, {
95
+ }>, {
96
96
  color: string;
97
97
  type: NotifyType;
98
+ duration: number;
98
99
  background: string;
99
100
  visible: boolean;
100
- duration: number;
101
101
  position: import("../popup/types").PopupPosition;
102
102
  teleportDisable: boolean;
103
103
  className: string;
104
104
  msg: string;
105
- }, {}>>;
105
+ }, {}, {
106
+ NutPopup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
107
+ visible: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ zIndex: {
112
+ type: (NumberConstructor | StringConstructor)[];
113
+ default: number;
114
+ };
115
+ duration: {
116
+ type: (NumberConstructor | StringConstructor)[];
117
+ default: number;
118
+ };
119
+ lockScroll: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ closeOnClickOverlay: {
124
+ type: BooleanConstructor;
125
+ default: boolean;
126
+ };
127
+ position: {
128
+ type: PropType<import("../popup/types").PopupPosition>;
129
+ default: string;
130
+ };
131
+ transition: {
132
+ type: StringConstructor;
133
+ default: string;
134
+ };
135
+ style: {
136
+ type: ObjectConstructor;
137
+ default: () => {};
138
+ };
139
+ popClass: {
140
+ type: StringConstructor;
141
+ default: string;
142
+ };
143
+ closeable: {
144
+ type: BooleanConstructor;
145
+ default: boolean;
146
+ };
147
+ closeIconPosition: {
148
+ type: PropType<import("../popup/types").PopupCloseIconPosition>;
149
+ default: string;
150
+ };
151
+ destroyOnClose: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
155
+ teleport: {
156
+ type: (StringConstructor | {
157
+ new (): Element;
158
+ prototype: Element;
159
+ })[];
160
+ default: string;
161
+ };
162
+ overlay: {
163
+ type: BooleanConstructor;
164
+ default: boolean;
165
+ };
166
+ round: {
167
+ type: BooleanConstructor;
168
+ default: boolean;
169
+ };
170
+ teleportDisable: {
171
+ type: BooleanConstructor;
172
+ default: boolean;
173
+ };
174
+ safeAreaInsetBottom: {
175
+ type: BooleanConstructor;
176
+ default: boolean;
177
+ };
178
+ overlayClass: {
179
+ type: StringConstructor;
180
+ default: string;
181
+ };
182
+ overlayStyle: {
183
+ type: ObjectConstructor;
184
+ default: () => {};
185
+ };
186
+ }>, {
187
+ popStyle: import("vue").ComputedRef<{
188
+ zIndex: string | number;
189
+ transitionDuration: string;
190
+ }>;
191
+ transitionName: import("vue").ComputedRef<string>;
192
+ classes: import("vue").ComputedRef<{
193
+ [x: string]: boolean;
194
+ round: boolean;
195
+ }>;
196
+ onClick: (e: Event) => void;
197
+ onClickCloseIcon: (e: Event) => void;
198
+ onClickOverlay: (e: Event) => void;
199
+ onOpened: (el: Element) => void;
200
+ onClosed: (el: Element) => void;
201
+ zIndex: import("vue").Ref<string | number, string | number>;
202
+ showSlot: import("vue").Ref<boolean, boolean>;
203
+ closed: import("vue").Ref<boolean, boolean>;
204
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:visible" | "open" | "clickPop" | "clickCloseIcon" | "opened" | "closed" | "clickOverlay")[], "close" | "update:visible" | "open" | "clickPop" | "clickCloseIcon" | "opened" | "closed" | "clickOverlay", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
205
+ visible: {
206
+ type: BooleanConstructor;
207
+ default: boolean;
208
+ };
209
+ zIndex: {
210
+ type: (NumberConstructor | StringConstructor)[];
211
+ default: number;
212
+ };
213
+ duration: {
214
+ type: (NumberConstructor | StringConstructor)[];
215
+ default: number;
216
+ };
217
+ lockScroll: {
218
+ type: BooleanConstructor;
219
+ default: boolean;
220
+ };
221
+ closeOnClickOverlay: {
222
+ type: BooleanConstructor;
223
+ default: boolean;
224
+ };
225
+ position: {
226
+ type: PropType<import("../popup/types").PopupPosition>;
227
+ default: string;
228
+ };
229
+ transition: {
230
+ type: StringConstructor;
231
+ default: string;
232
+ };
233
+ style: {
234
+ type: ObjectConstructor;
235
+ default: () => {};
236
+ };
237
+ popClass: {
238
+ type: StringConstructor;
239
+ default: string;
240
+ };
241
+ closeable: {
242
+ type: BooleanConstructor;
243
+ default: boolean;
244
+ };
245
+ closeIconPosition: {
246
+ type: PropType<import("../popup/types").PopupCloseIconPosition>;
247
+ default: string;
248
+ };
249
+ destroyOnClose: {
250
+ type: BooleanConstructor;
251
+ default: boolean;
252
+ };
253
+ teleport: {
254
+ type: (StringConstructor | {
255
+ new (): Element;
256
+ prototype: Element;
257
+ })[];
258
+ default: string;
259
+ };
260
+ overlay: {
261
+ type: BooleanConstructor;
262
+ default: boolean;
263
+ };
264
+ round: {
265
+ type: BooleanConstructor;
266
+ default: boolean;
267
+ };
268
+ teleportDisable: {
269
+ type: BooleanConstructor;
270
+ default: boolean;
271
+ };
272
+ safeAreaInsetBottom: {
273
+ type: BooleanConstructor;
274
+ default: boolean;
275
+ };
276
+ overlayClass: {
277
+ type: StringConstructor;
278
+ default: string;
279
+ };
280
+ overlayStyle: {
281
+ type: ObjectConstructor;
282
+ default: () => {};
283
+ };
284
+ }>> & Readonly<{
285
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
286
+ onClose?: ((...args: any[]) => any) | undefined;
287
+ onOpen?: ((...args: any[]) => any) | undefined;
288
+ onClickPop?: ((...args: any[]) => any) | undefined;
289
+ onClickCloseIcon?: ((...args: any[]) => any) | undefined;
290
+ onOpened?: ((...args: any[]) => any) | undefined;
291
+ onClosed?: ((...args: any[]) => any) | undefined;
292
+ onClickOverlay?: ((...args: any[]) => any) | undefined;
293
+ }>, {
294
+ round: boolean;
295
+ style: Record<string, any>;
296
+ duration: string | number;
297
+ transition: string;
298
+ visible: boolean;
299
+ zIndex: string | number;
300
+ lockScroll: boolean;
301
+ overlayClass: string;
302
+ overlayStyle: Record<string, any>;
303
+ closeOnClickOverlay: boolean;
304
+ overlay: boolean;
305
+ position: import("../popup/types").PopupPosition;
306
+ popClass: string;
307
+ closeable: boolean;
308
+ closeIconPosition: import("../popup/types").PopupCloseIconPosition;
309
+ destroyOnClose: boolean;
310
+ teleport: string | Element;
311
+ teleportDisable: boolean;
312
+ safeAreaInsetBottom: boolean;
313
+ }, {}, {
314
+ NutOverlay: {
315
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
316
+ duration: {
317
+ type: PropType<string | number>;
318
+ default: number;
319
+ };
320
+ visible: {
321
+ type: PropType<boolean>;
322
+ default: boolean;
323
+ };
324
+ zIndex: {
325
+ type: PropType<string | number>;
326
+ default: number;
327
+ };
328
+ lockScroll: {
329
+ type: PropType<boolean>;
330
+ default: boolean;
331
+ };
332
+ overlayClass: {
333
+ type: PropType<string>;
334
+ default: string;
335
+ };
336
+ overlayStyle: {
337
+ type: PropType<import("vue").CSSProperties>;
338
+ };
339
+ closeOnClickOverlay: {
340
+ type: PropType<boolean>;
341
+ default: boolean;
342
+ };
343
+ }>> & Readonly<{
344
+ onClick?: ((...args: any[]) => any) | undefined;
345
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
346
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
347
+ click: (...args: any[]) => void;
348
+ "update:visible": (...args: any[]) => void;
349
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
350
+ duration: {
351
+ type: PropType<string | number>;
352
+ default: number;
353
+ };
354
+ visible: {
355
+ type: PropType<boolean>;
356
+ default: boolean;
357
+ };
358
+ zIndex: {
359
+ type: PropType<string | number>;
360
+ default: number;
361
+ };
362
+ lockScroll: {
363
+ type: PropType<boolean>;
364
+ default: boolean;
365
+ };
366
+ overlayClass: {
367
+ type: PropType<string>;
368
+ default: string;
369
+ };
370
+ overlayStyle: {
371
+ type: PropType<import("vue").CSSProperties>;
372
+ };
373
+ closeOnClickOverlay: {
374
+ type: PropType<boolean>;
375
+ default: boolean;
376
+ };
377
+ }>> & Readonly<{
378
+ onClick?: ((...args: any[]) => any) | undefined;
379
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
380
+ }>, {
381
+ duration: string | number;
382
+ visible: boolean;
383
+ zIndex: string | number;
384
+ lockScroll: boolean;
385
+ overlayClass: string;
386
+ closeOnClickOverlay: boolean;
387
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
388
+ P: {};
389
+ B: {};
390
+ D: {};
391
+ C: {};
392
+ M: {};
393
+ Defaults: {};
394
+ }, Readonly<import("vue").ExtractPropTypes<{
395
+ duration: {
396
+ type: PropType<string | number>;
397
+ default: number;
398
+ };
399
+ visible: {
400
+ type: PropType<boolean>;
401
+ default: boolean;
402
+ };
403
+ zIndex: {
404
+ type: PropType<string | number>;
405
+ default: number;
406
+ };
407
+ lockScroll: {
408
+ type: PropType<boolean>;
409
+ default: boolean;
410
+ };
411
+ overlayClass: {
412
+ type: PropType<string>;
413
+ default: string;
414
+ };
415
+ overlayStyle: {
416
+ type: PropType<import("vue").CSSProperties>;
417
+ };
418
+ closeOnClickOverlay: {
419
+ type: PropType<boolean>;
420
+ default: boolean;
421
+ };
422
+ }>> & Readonly<{
423
+ onClick?: ((...args: any[]) => any) | undefined;
424
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
425
+ }>, {}, {}, {}, {}, {
426
+ duration: string | number;
427
+ visible: boolean;
428
+ zIndex: string | number;
429
+ lockScroll: boolean;
430
+ overlayClass: string;
431
+ closeOnClickOverlay: boolean;
432
+ }>;
433
+ __isFragment?: undefined;
434
+ __isTeleport?: undefined;
435
+ __isSuspense?: undefined;
436
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
437
+ duration: {
438
+ type: PropType<string | number>;
439
+ default: number;
440
+ };
441
+ visible: {
442
+ type: PropType<boolean>;
443
+ default: boolean;
444
+ };
445
+ zIndex: {
446
+ type: PropType<string | number>;
447
+ default: number;
448
+ };
449
+ lockScroll: {
450
+ type: PropType<boolean>;
451
+ default: boolean;
452
+ };
453
+ overlayClass: {
454
+ type: PropType<string>;
455
+ default: string;
456
+ };
457
+ overlayStyle: {
458
+ type: PropType<import("vue").CSSProperties>;
459
+ };
460
+ closeOnClickOverlay: {
461
+ type: PropType<boolean>;
462
+ default: boolean;
463
+ };
464
+ }>> & Readonly<{
465
+ onClick?: ((...args: any[]) => any) | undefined;
466
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
467
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
468
+ click: (...args: any[]) => void;
469
+ "update:visible": (...args: any[]) => void;
470
+ }, string, {
471
+ duration: string | number;
472
+ visible: boolean;
473
+ zIndex: string | number;
474
+ lockScroll: boolean;
475
+ overlayClass: string;
476
+ closeOnClickOverlay: boolean;
477
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
478
+ $slots: {
479
+ default?(_: {}): any;
480
+ };
481
+ });
482
+ Close: import("vue").DefineComponent<{
483
+ class: {
484
+ type: StringConstructor;
485
+ default: string;
486
+ };
487
+ name: {
488
+ type: StringConstructor;
489
+ default: string;
490
+ };
491
+ color: {
492
+ type: StringConstructor;
493
+ default: string;
494
+ };
495
+ width: {
496
+ type: (NumberConstructor | StringConstructor)[];
497
+ default: string;
498
+ };
499
+ height: {
500
+ type: (NumberConstructor | StringConstructor)[];
501
+ default: string;
502
+ };
503
+ }, {
504
+ classes: import("vue").ComputedRef<{
505
+ [x: string]: string | boolean;
506
+ "nut-icon": boolean;
507
+ }>;
508
+ style: import("vue").ComputedRef<import("vue").CSSProperties>;
509
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
510
+ class: {
511
+ type: StringConstructor;
512
+ default: string;
513
+ };
514
+ name: {
515
+ type: StringConstructor;
516
+ default: string;
517
+ };
518
+ color: {
519
+ type: StringConstructor;
520
+ default: string;
521
+ };
522
+ width: {
523
+ type: (NumberConstructor | StringConstructor)[];
524
+ default: string;
525
+ };
526
+ height: {
527
+ type: (NumberConstructor | StringConstructor)[];
528
+ default: string;
529
+ };
530
+ }>>, {
531
+ name: string;
532
+ width: string | number;
533
+ height: string | number;
534
+ color: string;
535
+ class: string;
536
+ }>;
537
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
538
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
106
539
  export default _default;
107
540
 
108
541
  declare module 'vue' {