@nutui/nutui 4.1.2 → 4.1.4

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 (69) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/LICENSE +1 -1
  3. package/dist/nutui.es.js +1 -1
  4. package/dist/nutui.js +3334 -3293
  5. package/dist/nutui.umd.js +1 -1
  6. package/dist/packages/_es/ActionSheet.js +5 -3
  7. package/dist/packages/_es/Address.js +1 -1
  8. package/dist/packages/_es/Calendar.js +3 -3
  9. package/dist/packages/_es/CalendarItem.js +1 -1
  10. package/dist/packages/_es/Cascader.js +1 -1
  11. package/dist/packages/_es/Dialog.js +1 -1
  12. package/dist/packages/_es/FixedNav.js +67 -73
  13. package/dist/packages/_es/FormItem.js +1 -3
  14. package/dist/packages/_es/ImagePreview.js +1 -1
  15. package/dist/packages/_es/Input.js +8 -5
  16. package/dist/packages/_es/MenuItem.js +1 -1
  17. package/dist/packages/_es/Noticebar.js +1 -1
  18. package/dist/packages/_es/Notify.js +2 -2
  19. package/dist/packages/_es/NumberKeyboard.js +2 -2
  20. package/dist/packages/_es/Picker.js +93 -54
  21. package/dist/packages/_es/Popover.js +2 -2
  22. package/dist/packages/_es/Popup.js +3 -3
  23. package/dist/packages/_es/ShortPassword.js +1 -1
  24. package/dist/packages/_es/Skeleton.js +86 -91
  25. package/dist/packages/_es/Sku.js +1 -1
  26. package/dist/packages/_es/TimeSelect.js +2 -2
  27. package/dist/packages/_es/Tour.js +1 -1
  28. package/dist/packages/_es/{index-3a5098e4.js → index-66fff386.js} +19 -13
  29. package/dist/packages/_es/{index-5ffbc437.js → index-7fe29a2f.js} +96 -101
  30. package/dist/packages/calendar/index.scss +5 -8
  31. package/dist/packages/formitem/index.scss +3 -1
  32. package/dist/smartips/web-types.json +12 -3
  33. package/dist/style.css +1 -1
  34. package/dist/styles/themes/default.scss +48 -48
  35. package/dist/styles/themes/jdb.scss +48 -48
  36. package/dist/styles/themes/jddkh.scss +48 -48
  37. package/dist/styles/themes/jdt.scss +48 -48
  38. package/dist/types/__VUE/actionsheet/index.vue.d.ts +13 -13
  39. package/dist/types/__VUE/address/index.vue.d.ts +12 -12
  40. package/dist/types/__VUE/backtop/index.vue.d.ts +1 -1
  41. package/dist/types/__VUE/calendaritem/index.vue.d.ts +2 -2
  42. package/dist/types/__VUE/cascader/index.vue.d.ts +12 -12
  43. package/dist/types/__VUE/dialog/index.vue.d.ts +13 -13
  44. package/dist/types/__VUE/fixednav/index.vue.d.ts +6 -4
  45. package/dist/types/__VUE/formitem/index.vue.d.ts +4 -3
  46. package/dist/types/__VUE/image/index.vue.d.ts +1 -1
  47. package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -1
  48. package/dist/types/__VUE/overlay/index.vue.d.ts +3 -3
  49. package/dist/types/__VUE/picker/baseProps.d.ts +5 -1
  50. package/dist/types/__VUE/picker/common.d.ts +19 -7
  51. package/dist/types/__VUE/picker/doc.en.d.ts +4 -2
  52. package/dist/types/__VUE/picker/index.vue.d.ts +14 -3
  53. package/dist/types/__VUE/picker/types.d.ts +6 -0
  54. package/dist/types/__VUE/picker/usePicker.d.ts +7 -4
  55. package/dist/types/__VUE/popover/index.vue.d.ts +2 -2
  56. package/dist/types/__VUE/popup/index.vue.d.ts +30 -21
  57. package/dist/types/__VUE/popup/props.d.ts +4 -5
  58. package/dist/types/__VUE/skeleton/index.vue.d.ts +8 -6
  59. package/dist/types/__VUE/sku/index.vue.d.ts +15 -15
  60. package/dist/types/__VUE/swipe/index.vue.d.ts +1 -1
  61. package/dist/types/__VUE/tabbar/index.vue.d.ts +1 -1
  62. package/dist/types/__VUE/tag/index.vue.d.ts +1 -1
  63. package/dist/types/__VUE/toast/index.vue.d.ts +1 -1
  64. package/dist/types/index.d.ts +1 -1
  65. package/package.json +1 -1
  66. package/dist/types/__VUE/fixednav/common.d.ts +0 -53
  67. package/dist/types/__VUE/formitem/common.d.ts +0 -0
  68. package/dist/types/__VUE/popup/common.d.ts +0 -107
  69. package/dist/types/__VUE/skeleton/common.d.ts +0 -57
@@ -32,8 +32,8 @@ declare const _default: Install< import("vue").DefineComponent<{
32
32
  default: string;
33
33
  };
34
34
  style: {
35
- type: import("vue").PropType<import("vue").CSSProperties>;
36
- default: {};
35
+ type: ObjectConstructor;
36
+ default: () => {};
37
37
  };
38
38
  popClass: {
39
39
  type: StringConstructor;
@@ -83,26 +83,28 @@ declare const _default: Install< import("vue").DefineComponent<{
83
83
  default: string;
84
84
  };
85
85
  overlayStyle: {
86
- type: import("vue").PropType<import("vue").CSSProperties>;
87
- default: {};
86
+ type: ObjectConstructor;
87
+ default: () => {};
88
88
  };
89
89
  }, {
90
- popStyle: import("vue").ComputedRef<any>;
91
- transitionName: import("vue").ComputedRef<any>;
90
+ popStyle: import("vue").ComputedRef<{
91
+ zIndex: string | number;
92
+ transitionDuration: string;
93
+ }>;
94
+ transitionName: import("vue").ComputedRef<string>;
92
95
  classes: import("vue").ComputedRef<{
93
- [x: string]: any;
94
- [x: number]: boolean;
95
- round: any;
96
+ [x: string]: boolean;
97
+ round: boolean;
96
98
  }>;
97
99
  onClick: (e: Event) => void;
98
100
  onClickCloseIcon: (e: Event) => void;
99
101
  onClickOverlay: (e: Event) => void;
100
102
  onOpened: (el: Element) => void;
101
103
  onClosed: (el: Element) => void;
102
- zIndex: import("vue").Ref<any>;
104
+ zIndex: import("vue").Ref<string | number>;
103
105
  showSlot: import("vue").Ref<boolean>;
104
- closed: import("vue").Ref<any>;
105
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
106
+ closed: import("vue").Ref<boolean>;
107
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:visible" | "open" | "click-pop" | "click-close-icon" | "opened" | "closed" | "click-overlay")[], "close" | "update:visible" | "open" | "click-pop" | "click-close-icon" | "opened" | "closed" | "click-overlay", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
106
108
  visible: {
107
109
  type: BooleanConstructor;
108
110
  default: boolean;
@@ -132,8 +134,8 @@ declare const _default: Install< import("vue").DefineComponent<{
132
134
  default: string;
133
135
  };
134
136
  style: {
135
- type: import("vue").PropType<import("vue").CSSProperties>;
136
- default: {};
137
+ type: ObjectConstructor;
138
+ default: () => {};
137
139
  };
138
140
  popClass: {
139
141
  type: StringConstructor;
@@ -183,22 +185,29 @@ declare const _default: Install< import("vue").DefineComponent<{
183
185
  default: string;
184
186
  };
185
187
  overlayStyle: {
186
- type: import("vue").PropType<import("vue").CSSProperties>;
187
- default: {};
188
+ type: ObjectConstructor;
189
+ default: () => {};
188
190
  };
189
191
  }>> & {
190
- [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
192
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
193
+ onClose?: ((...args: any[]) => any) | undefined;
194
+ onOpen?: ((...args: any[]) => any) | undefined;
195
+ "onClick-pop"?: ((...args: any[]) => any) | undefined;
196
+ "onClick-close-icon"?: ((...args: any[]) => any) | undefined;
197
+ onOpened?: ((...args: any[]) => any) | undefined;
198
+ onClosed?: ((...args: any[]) => any) | undefined;
199
+ "onClick-overlay"?: ((...args: any[]) => any) | undefined;
191
200
  }, {
192
- style: import("vue").CSSProperties;
193
- zIndex: string | number;
194
- round: boolean;
201
+ style: Record<string, any>;
195
202
  overlay: boolean;
196
203
  visible: boolean;
204
+ zIndex: string | number;
197
205
  duration: string | number;
198
206
  lockScroll: boolean;
199
207
  overlayClass: string;
200
- overlayStyle: import("vue").CSSProperties;
208
+ overlayStyle: Record<string, any>;
201
209
  closeOnClickOverlay: boolean;
210
+ round: boolean;
202
211
  position: string;
203
212
  transition: string;
204
213
  popClass: string;
@@ -1,4 +1,3 @@
1
- import { PropType, CSSProperties } from 'vue';
2
1
  export declare const popupProps: {
3
2
  visible: {
4
3
  type: BooleanConstructor;
@@ -29,8 +28,8 @@ export declare const popupProps: {
29
28
  default: string;
30
29
  };
31
30
  style: {
32
- type: PropType<CSSProperties>;
33
- default: {};
31
+ type: ObjectConstructor;
32
+ default: () => {};
34
33
  };
35
34
  popClass: {
36
35
  type: StringConstructor;
@@ -80,7 +79,7 @@ export declare const popupProps: {
80
79
  default: string;
81
80
  };
82
81
  overlayStyle: {
83
- type: PropType<CSSProperties>;
84
- default: {};
82
+ type: ObjectConstructor;
83
+ default: () => {};
85
84
  };
86
85
  };
@@ -1,3 +1,5 @@
1
+ import { AvatarShape } from '../avatar/types';
2
+ import { CSSProperties, PropType } from 'vue';
1
3
 
2
4
  declare type Install<T> = T & {
3
5
  install(app: import('vue').App): void;
@@ -20,7 +22,7 @@ declare const _default: Install< import("vue").DefineComponent<{
20
22
  default: boolean;
21
23
  };
22
24
  avatarShape: {
23
- type: import("vue").PropType<import("./common").avatarShape>;
25
+ type: PropType<AvatarShape>;
24
26
  default: string;
25
27
  };
26
28
  avatarSize: {
@@ -52,7 +54,7 @@ declare const _default: Install< import("vue").DefineComponent<{
52
54
  getBlockClass: (prefixCls: string) => {
53
55
  [x: string]: any;
54
56
  };
55
- getStyle: () => import("vue").CSSProperties;
57
+ getStyle: () => CSSProperties;
56
58
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
57
59
  width: {
58
60
  type: StringConstructor;
@@ -71,7 +73,7 @@ declare const _default: Install< import("vue").DefineComponent<{
71
73
  default: boolean;
72
74
  };
73
75
  avatarShape: {
74
- type: import("vue").PropType<import("./common").avatarShape>;
76
+ type: PropType<AvatarShape>;
75
77
  default: string;
76
78
  };
77
79
  avatarSize: {
@@ -96,15 +98,15 @@ declare const _default: Install< import("vue").DefineComponent<{
96
98
  };
97
99
  }>>, {
98
100
  title: boolean;
99
- round: boolean;
100
101
  height: string;
101
102
  width: string;
103
+ round: boolean;
102
104
  row: string;
103
105
  loading: boolean;
104
106
  avatar: boolean;
105
- avatarShape: import("./common").avatarShape;
106
- avatarSize: string;
107
107
  animated: boolean;
108
+ avatarShape: AvatarShape;
109
+ avatarSize: string;
108
110
  }, {}>>;
109
111
  export default _default;
110
112
 
@@ -77,8 +77,8 @@ declare const _default: Install< import("vue").DefineComponent<{
77
77
  default: string;
78
78
  };
79
79
  style: {
80
- type: PropType<import("vue").CSSProperties>;
81
- default: {};
80
+ type: ObjectConstructor;
81
+ default: () => {};
82
82
  };
83
83
  popClass: {
84
84
  type: StringConstructor;
@@ -128,8 +128,8 @@ declare const _default: Install< import("vue").DefineComponent<{
128
128
  default: string;
129
129
  };
130
130
  overlayStyle: {
131
- type: PropType<import("vue").CSSProperties>;
132
- default: {};
131
+ type: ObjectConstructor;
132
+ default: () => {};
133
133
  };
134
134
  }, {
135
135
  showPopup: any;
@@ -142,7 +142,7 @@ declare const _default: Install< import("vue").DefineComponent<{
142
142
  reduce: (value: number) => void;
143
143
  getSlots: (name: string) => import("vue").Slot<any> | undefined;
144
144
  translate: (keyPath: string, ...args: unknown[]) => string;
145
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reduce" | "close" | "click-close-icon" | "click-overlay" | "update:visible" | "add" | "select-sku" | "change-stepper" | "click-btn-operate" | "over-limit")[], "reduce" | "close" | "click-close-icon" | "click-overlay" | "update:visible" | "add" | "select-sku" | "change-stepper" | "click-btn-operate" | "over-limit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
145
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reduce" | "close" | "update:visible" | "add" | "click-close-icon" | "click-overlay" | "select-sku" | "change-stepper" | "click-btn-operate" | "over-limit")[], "reduce" | "close" | "update:visible" | "add" | "click-close-icon" | "click-overlay" | "select-sku" | "change-stepper" | "click-btn-operate" | "over-limit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
146
146
  sku: {
147
147
  type: ArrayConstructor;
148
148
  default: never[];
@@ -216,8 +216,8 @@ declare const _default: Install< import("vue").DefineComponent<{
216
216
  default: string;
217
217
  };
218
218
  style: {
219
- type: PropType<import("vue").CSSProperties>;
220
- default: {};
219
+ type: ObjectConstructor;
220
+ default: () => {};
221
221
  };
222
222
  popClass: {
223
223
  type: StringConstructor;
@@ -267,31 +267,31 @@ declare const _default: Install< import("vue").DefineComponent<{
267
267
  default: string;
268
268
  };
269
269
  overlayStyle: {
270
- type: PropType<import("vue").CSSProperties>;
271
- default: {};
270
+ type: ObjectConstructor;
271
+ default: () => {};
272
272
  };
273
273
  }>> & {
274
274
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
275
275
  onClose?: ((...args: any[]) => any) | undefined;
276
- onAdd?: ((...args: any[]) => any) | undefined;
277
- onReduce?: ((...args: any[]) => any) | undefined;
278
276
  "onClick-close-icon"?: ((...args: any[]) => any) | undefined;
279
277
  "onClick-overlay"?: ((...args: any[]) => any) | undefined;
278
+ onAdd?: ((...args: any[]) => any) | undefined;
279
+ onReduce?: ((...args: any[]) => any) | undefined;
280
280
  "onSelect-sku"?: ((...args: any[]) => any) | undefined;
281
281
  "onChange-stepper"?: ((...args: any[]) => any) | undefined;
282
282
  "onClick-btn-operate"?: ((...args: any[]) => any) | undefined;
283
283
  "onOver-limit"?: ((...args: any[]) => any) | undefined;
284
284
  }, {
285
- style: import("vue").CSSProperties;
286
- zIndex: string | number;
287
- round: boolean;
285
+ style: Record<string, any>;
288
286
  overlay: boolean;
289
287
  visible: boolean;
288
+ zIndex: string | number;
290
289
  duration: string | number;
291
290
  lockScroll: boolean;
292
291
  overlayClass: string;
293
- overlayStyle: import("vue").CSSProperties;
292
+ overlayStyle: Record<string, any>;
294
293
  closeOnClickOverlay: boolean;
294
+ round: boolean;
295
295
  position: string;
296
296
  transition: string;
297
297
  popClass: string;
@@ -34,7 +34,7 @@ declare const _default: Install< import("vue").DefineComponent<{
34
34
  touchStyle: import("vue").ComputedRef<{
35
35
  transform: string;
36
36
  }>;
37
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "open" | "click")[], "close" | "open" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "click" | "open")[], "close" | "click" | "open", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
38
38
  name: {
39
39
  type: StringConstructor;
40
40
  default: string;
@@ -68,8 +68,8 @@ declare const _default: Install< import("vue").DefineComponent<{
68
68
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
69
69
  "onTab-switch"?: ((...args: any[]) => any) | undefined;
70
70
  }, {
71
- bottom: boolean;
72
71
  type: string;
72
+ bottom: boolean;
73
73
  safeAreaInsetBottom: boolean;
74
74
  placeholder: boolean;
75
75
  modelValue: string | number;
@@ -75,9 +75,9 @@ declare const _default: Install< import("vue").DefineComponent<{
75
75
  onClose?: ((...args: any[]) => any) | undefined;
76
76
  }, {
77
77
  mark: boolean;
78
- round: boolean;
79
78
  type: TagType;
80
79
  color: string;
80
+ round: boolean;
81
81
  closeable: boolean;
82
82
  plain: boolean;
83
83
  textColor: string;
@@ -139,10 +139,10 @@ declare const _default: Install< import("vue").DefineComponent<{
139
139
  }, {
140
140
  title: string;
141
141
  center: boolean;
142
- bottom: string;
143
142
  duration: number;
144
143
  closeOnClickOverlay: boolean;
145
144
  type: string;
145
+ bottom: string;
146
146
  cover: boolean;
147
147
  size: string | number;
148
148
  icon: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
@@ -108,7 +108,7 @@ import CategoryPane from './__VUE/categorypane/index.vue';
108
108
  import Comment from './__VUE/comment/index.vue';
109
109
  import Invoice from './__VUE/invoice/index.vue';
110
110
  declare function install(app: App): void;
111
- declare const version = "4.1.1";
111
+ declare const version = "4.1.3";
112
112
  export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, SwipeGroup, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice, showDialog, showNotify, showToast, showImagePreview };
113
113
  declare const _default: {
114
114
  install: typeof install;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutui/nutui",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
4
4
  "description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
5
5
  "main": "dist/nutui.umd.js",
6
6
  "module": "dist/nutui.es.js",
@@ -1,53 +0,0 @@
1
- import { PropType } from 'vue';
2
- export declare const component: (components: any) => {
3
- components: any;
4
- props: {
5
- visible: {
6
- type: BooleanConstructor;
7
- default: boolean;
8
- };
9
- overlay: {
10
- type: BooleanConstructor;
11
- default: boolean;
12
- };
13
- navList: {
14
- default: () => never[];
15
- type: PropType<any[]>;
16
- };
17
- activeColor: {
18
- default: string;
19
- type: StringConstructor;
20
- };
21
- activeText: {
22
- default: string;
23
- type: StringConstructor;
24
- };
25
- unActiveText: {
26
- default: string;
27
- type: StringConstructor;
28
- };
29
- position: {
30
- default: () => {
31
- top: string;
32
- bottom: string;
33
- };
34
- type: ObjectConstructor;
35
- };
36
- type: {
37
- default: string;
38
- type: StringConstructor;
39
- };
40
- };
41
- emits: string[];
42
- setup(props: any, { emit }: any): {
43
- classes: import("vue").ComputedRef<{
44
- [x: string]: any;
45
- [x: number]: boolean;
46
- active: any;
47
- }>;
48
- updateValue: (value?: boolean) => void;
49
- selected: (item: any, event: Event) => void;
50
- translate: (keyPath: string, ...args: unknown[]) => string;
51
- current: import("vue").Ref<number>;
52
- };
53
- };
File without changes
@@ -1,107 +0,0 @@
1
- import { ComputedRef } from 'vue';
2
- export declare const component: (componentName: string, components: any) => {
3
- components: any;
4
- props: {
5
- visible: {
6
- type: BooleanConstructor;
7
- default: boolean;
8
- };
9
- zIndex: {
10
- type: (NumberConstructor | StringConstructor)[];
11
- default: number;
12
- };
13
- duration: {
14
- type: (NumberConstructor | StringConstructor)[];
15
- default: number;
16
- };
17
- lockScroll: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- closeOnClickOverlay: {
22
- type: BooleanConstructor;
23
- default: boolean;
24
- };
25
- position: {
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- transition: {
30
- type: StringConstructor;
31
- default: string;
32
- };
33
- style: {
34
- type: import("vue").PropType<import("vue").CSSProperties>;
35
- default: {};
36
- };
37
- popClass: {
38
- type: StringConstructor;
39
- default: string;
40
- };
41
- closeable: {
42
- type: BooleanConstructor;
43
- default: boolean;
44
- };
45
- closeIconPosition: {
46
- type: StringConstructor;
47
- default: string;
48
- };
49
- closeIcon: {
50
- type: StringConstructor;
51
- default: string;
52
- };
53
- destroyOnClose: {
54
- type: BooleanConstructor;
55
- default: boolean;
56
- };
57
- teleport: {
58
- type: (StringConstructor | {
59
- new (): Element;
60
- prototype: Element;
61
- })[];
62
- default: string;
63
- };
64
- overlay: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- round: {
69
- type: BooleanConstructor;
70
- default: boolean;
71
- };
72
- teleportDisable: {
73
- type: BooleanConstructor;
74
- default: boolean;
75
- };
76
- safeAreaInsetBottom: {
77
- type: BooleanConstructor;
78
- default: boolean;
79
- };
80
- overlayClass: {
81
- type: StringConstructor;
82
- default: string;
83
- };
84
- overlayStyle: {
85
- type: import("vue").PropType<import("vue").CSSProperties>;
86
- default: {};
87
- };
88
- };
89
- emits: string[];
90
- setup(props: any, { emit }: any): {
91
- popStyle: ComputedRef<any>;
92
- transitionName: ComputedRef<any>;
93
- classes: ComputedRef<{
94
- [x: string]: any;
95
- [x: number]: boolean;
96
- round: any;
97
- }>;
98
- onClick: (e: Event) => void;
99
- onClickCloseIcon: (e: Event) => void;
100
- onClickOverlay: (e: Event) => void;
101
- onOpened: (el: Element) => void;
102
- onClosed: (el: Element) => void;
103
- zIndex: import("vue").Ref<any>;
104
- showSlot: import("vue").Ref<boolean>;
105
- closed: import("vue").Ref<any>;
106
- };
107
- };
@@ -1,57 +0,0 @@
1
- export type avatarShape = 'round' | 'square';
2
- export declare const component: (components: any) => {
3
- components: any;
4
- props: {
5
- width: {
6
- type: StringConstructor;
7
- default: string;
8
- };
9
- height: {
10
- type: StringConstructor;
11
- default: string;
12
- };
13
- animated: {
14
- type: BooleanConstructor;
15
- default: boolean;
16
- };
17
- avatar: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- avatarShape: {
22
- type: import("vue").PropType<avatarShape>;
23
- default: string;
24
- };
25
- avatarSize: {
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- loading: {
30
- type: BooleanConstructor;
31
- default: boolean;
32
- };
33
- round: {
34
- type: BooleanConstructor;
35
- default: boolean;
36
- };
37
- row: {
38
- type: StringConstructor;
39
- default: string;
40
- };
41
- title: {
42
- type: BooleanConstructor;
43
- default: boolean;
44
- };
45
- };
46
- setup(props: any): {
47
- avatarShape: import("vue").Ref<any>;
48
- avatarClass: import("vue").ComputedRef<{
49
- [x: string]: any;
50
- avatarClass: boolean;
51
- }>;
52
- getBlockClass: (prefixCls: string) => {
53
- [x: string]: any;
54
- };
55
- getStyle: () => import('vue').CSSProperties;
56
- };
57
- };