@mingto/mt-ui 1.1.38 → 1.1.39

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 (95) hide show
  1. package/README.md +53 -45
  2. package/dist/avatar-image/index.d.ts +3 -3
  3. package/dist/avatar-image/src/avatar-image.vue.d.ts +1 -1
  4. package/dist/avatar-text/index.d.ts +2 -2
  5. package/dist/avatar-text/src/avatar-text.vue.d.ts +3 -2
  6. package/dist/backtop/index.d.ts +2 -2
  7. package/dist/backtop/src/backtop.d.ts +1 -1
  8. package/dist/backtop/src/backtop.vue.d.ts +1 -1
  9. package/dist/badge/index.d.ts +3 -3
  10. package/dist/badge/src/badge.vue.d.ts +1 -1
  11. package/dist/button/index.d.ts +44 -26
  12. package/dist/button/src/button.vue.d.ts +25 -13
  13. package/dist/cell/index.d.ts +15 -22
  14. package/dist/cell/src/cell.vue.d.ts +9 -16
  15. package/dist/cell-group/index.d.ts +8 -6
  16. package/dist/cell-group/src/cell-group.d.ts +6 -6
  17. package/dist/config-provider/index.d.ts +12 -3
  18. package/dist/config-provider/src/config-provider.d.ts +41 -6
  19. package/dist/dialog/index.d.ts +29 -29
  20. package/dist/dialog/src/dialog.d.ts +2 -2
  21. package/dist/dialog/src/dialog.vue.d.ts +15 -14
  22. package/dist/dialog/src/layout/dialog-confirm-layout.vue.d.ts +1 -37
  23. package/dist/empty/index.d.ts +3 -3
  24. package/dist/empty/src/empty.d.ts +1 -1
  25. package/dist/empty/src/empty.vue.d.ts +2 -2
  26. package/dist/fade-transition/index.d.ts +5 -5
  27. package/dist/fade-transition/src/fade-transition.vue.d.ts +2 -2
  28. package/dist/file-preview/src/ai-music-preview.vue.d.ts +17 -16
  29. package/dist/file-preview/src/iframe-preview.vue.d.ts +3 -2
  30. package/dist/file-preview/src/image-preview.vue.d.ts +3 -2
  31. package/dist/file-preview/src/music-preview.vue.d.ts +3 -2
  32. package/dist/hooks/dom/use-z-index.d.ts +4 -1
  33. package/dist/hooks/event/use-same-target.d.ts +4 -2
  34. package/dist/hooks/index.d.ts +1 -0
  35. package/dist/hooks/locale/use-locale.d.ts +2 -2
  36. package/dist/hooks/use-namespace/index.d.ts +23 -0
  37. package/dist/hooks/vue/use-children.d.ts +6 -3
  38. package/dist/image/index.d.ts +25 -10
  39. package/dist/image/src/image.d.ts +7 -0
  40. package/dist/image/src/image.vue.d.ts +15 -5
  41. package/dist/index.es.js +67694 -64647
  42. package/dist/index.umd.js +68544 -106524
  43. package/dist/infinite-scroll/index.d.ts +27 -27
  44. package/dist/infinite-scroll/src/infinite-scroll.d.ts +7 -4
  45. package/dist/infinite-scroll/src/infinite-scroll.vue.d.ts +18 -16
  46. package/dist/loading/src/loading.d.ts +3 -1
  47. package/dist/locale/index.d.ts +2 -0
  48. package/dist/locale/lang/ar.d.ts +8 -0
  49. package/dist/locale/lang/en.d.ts +8 -0
  50. package/dist/locale/lang/ms.d.ts +8 -0
  51. package/dist/locale/lang/th.d.ts +8 -0
  52. package/dist/locale/lang/vi.d.ts +8 -0
  53. package/dist/locale/lang/zh-cn.d.ts +8 -0
  54. package/dist/locale/lang/zh-tw.d.ts +8 -0
  55. package/dist/message/src/message.d.ts +1 -1
  56. package/dist/message/src/message.vue.d.ts +4 -4
  57. package/dist/popover/index.d.ts +28 -28
  58. package/dist/popover/src/content.vue.d.ts +6 -10
  59. package/dist/popover/src/popover.vue.d.ts +15 -15
  60. package/dist/poster/src/method.d.ts +3 -3
  61. package/dist/progress/index.d.ts +16 -13
  62. package/dist/progress/src/progress.d.ts +2 -2
  63. package/dist/progress/src/progress.vue.d.ts +10 -7
  64. package/dist/qrcode/index.d.ts +3 -3
  65. package/dist/qrcode/src/qrcode.vue.d.ts +1 -1
  66. package/dist/style.css +544 -373
  67. package/dist/tab/src/tab.d.ts +2 -1
  68. package/dist/table/index.d.ts +2 -4
  69. package/dist/table/src/table.vue.d.ts +2 -4
  70. package/dist/table-column/index.d.ts +3 -6
  71. package/dist/table-column/src/table-column.vue.d.ts +3 -6
  72. package/dist/tabs/index.d.ts +8 -8
  73. package/dist/tabs/src/tabs.d.ts +1 -0
  74. package/dist/tabs/src/tabs.vue.d.ts +3 -3
  75. package/dist/tag/index.d.ts +17 -17
  76. package/dist/tag/src/tag.d.ts +6 -2
  77. package/dist/tag/src/tag.vue.d.ts +8 -8
  78. package/dist/tooltip/index.d.ts +60 -53
  79. package/dist/tooltip/src/tooltip.vue.d.ts +78 -77
  80. package/dist/upload/index.d.ts +320 -237
  81. package/dist/upload/src/layout/upload-file-list-layout.vue.d.ts +8 -2
  82. package/dist/upload/src/layout/upload-image-grid-layout.vue.d.ts +8 -2
  83. package/dist/upload/src/layout/upload-image-only-layout.vue.d.ts +8 -2
  84. package/dist/upload/src/trigger/upload-file-list-trigger.vue.d.ts +1 -1
  85. package/dist/upload/src/trigger/upload-image-only-trigger.vue.d.ts +8 -2
  86. package/dist/upload/src/upload-content.d.ts +15 -4
  87. package/dist/upload/src/upload-content.vue.d.ts +41 -16
  88. package/dist/upload/src/upload.d.ts +16 -7
  89. package/dist/upload/src/upload.vue.d.ts +407 -213
  90. package/dist/utils/class/deferred.d.ts +8 -5
  91. package/dist/utils/prop/size.d.ts +1 -1
  92. package/dist/utils/vue/children.d.ts +1 -3
  93. package/dist/utils/vue/install.d.ts +2 -2
  94. package/package.json +5 -3
  95. /package/dist/upload/src/{use-full-scree-drag.d.ts → use-full-screen-drag.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
1
  export declare const MtInfiniteScroll: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
3
  readonly modelValue: {
4
- readonly type: ArrayConstructor;
4
+ readonly type: import('vue').PropType<unknown[]>;
5
5
  readonly default: () => never[];
6
6
  };
7
7
  readonly height: {
@@ -39,15 +39,15 @@ export declare const MtInfiniteScroll: {
39
39
  };
40
40
  readonly loadingMoreLoadingText: {
41
41
  readonly type: StringConstructor;
42
- readonly default: "加载中...";
42
+ readonly default: "";
43
43
  };
44
44
  readonly loadingMoreNoMoreText: {
45
45
  readonly type: StringConstructor;
46
- readonly default: "没有更多了";
46
+ readonly default: "";
47
47
  };
48
48
  readonly emptyText: {
49
49
  readonly type: StringConstructor;
50
- readonly default: "没有数据哦~";
50
+ readonly default: "";
51
51
  };
52
52
  readonly emptyImg: {
53
53
  readonly type: StringConstructor;
@@ -67,24 +67,24 @@ export declare const MtInfiniteScroll: {
67
67
  readonly default: false;
68
68
  };
69
69
  }>> & Readonly<{
70
- "onUpdate:modelValue"?: ((args_0: any[]) => any) | undefined;
70
+ "onUpdate:modelValue"?: ((args_0: import('./src/infinite-scroll').ListItem[]) => any) | undefined;
71
71
  onQuery?: ((args_0: {
72
72
  pageNum: number;
73
73
  pageSize: number;
74
74
  }) => any) | undefined;
75
75
  }>, {
76
- endSuccess: (data: Array<any>, totalSize: number) => Promise<void>;
76
+ endSuccess: (data: import('./src/infinite-scroll').ListItem[], totalSize: number) => Promise<void>;
77
77
  endError: () => void;
78
78
  resetUpScroll: () => Promise<void>;
79
79
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
80
- "update:modelValue": (args_0: any[]) => any;
80
+ "update:modelValue": (args_0: import('./src/infinite-scroll').ListItem[]) => any;
81
81
  query: (args_0: {
82
82
  pageNum: number;
83
83
  pageSize: number;
84
84
  }) => any;
85
85
  }, import('vue').PublicProps, {
86
- readonly height: string | number;
87
86
  readonly modelValue: unknown[];
87
+ readonly height: string | number;
88
88
  readonly upScrollPageNum: number;
89
89
  readonly upScrollPageSize: number;
90
90
  readonly upScrollEnabled: boolean;
@@ -111,7 +111,7 @@ export declare const MtInfiniteScroll: {
111
111
  Defaults: {};
112
112
  }, Readonly<import('vue').ExtractPropTypes<{
113
113
  readonly modelValue: {
114
- readonly type: ArrayConstructor;
114
+ readonly type: import('vue').PropType<unknown[]>;
115
115
  readonly default: () => never[];
116
116
  };
117
117
  readonly height: {
@@ -149,15 +149,15 @@ export declare const MtInfiniteScroll: {
149
149
  };
150
150
  readonly loadingMoreLoadingText: {
151
151
  readonly type: StringConstructor;
152
- readonly default: "加载中...";
152
+ readonly default: "";
153
153
  };
154
154
  readonly loadingMoreNoMoreText: {
155
155
  readonly type: StringConstructor;
156
- readonly default: "没有更多了";
156
+ readonly default: "";
157
157
  };
158
158
  readonly emptyText: {
159
159
  readonly type: StringConstructor;
160
- readonly default: "没有数据哦~";
160
+ readonly default: "";
161
161
  };
162
162
  readonly emptyImg: {
163
163
  readonly type: StringConstructor;
@@ -177,18 +177,18 @@ export declare const MtInfiniteScroll: {
177
177
  readonly default: false;
178
178
  };
179
179
  }>> & Readonly<{
180
- "onUpdate:modelValue"?: ((args_0: any[]) => any) | undefined;
180
+ "onUpdate:modelValue"?: ((args_0: import('./src/infinite-scroll').ListItem[]) => any) | undefined;
181
181
  onQuery?: ((args_0: {
182
182
  pageNum: number;
183
183
  pageSize: number;
184
184
  }) => any) | undefined;
185
185
  }>, {
186
- endSuccess: (data: Array<any>, totalSize: number) => Promise<void>;
186
+ endSuccess: (data: import('./src/infinite-scroll').ListItem[], totalSize: number) => Promise<void>;
187
187
  endError: () => void;
188
188
  resetUpScroll: () => Promise<void>;
189
189
  }, {}, {}, {}, {
190
- readonly height: string | number;
191
190
  readonly modelValue: unknown[];
191
+ readonly height: string | number;
192
192
  readonly upScrollPageNum: number;
193
193
  readonly upScrollPageSize: number;
194
194
  readonly upScrollEnabled: boolean;
@@ -209,7 +209,7 @@ export declare const MtInfiniteScroll: {
209
209
  __isSuspense?: never;
210
210
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
211
211
  readonly modelValue: {
212
- readonly type: ArrayConstructor;
212
+ readonly type: import('vue').PropType<unknown[]>;
213
213
  readonly default: () => never[];
214
214
  };
215
215
  readonly height: {
@@ -247,15 +247,15 @@ export declare const MtInfiniteScroll: {
247
247
  };
248
248
  readonly loadingMoreLoadingText: {
249
249
  readonly type: StringConstructor;
250
- readonly default: "加载中...";
250
+ readonly default: "";
251
251
  };
252
252
  readonly loadingMoreNoMoreText: {
253
253
  readonly type: StringConstructor;
254
- readonly default: "没有更多了";
254
+ readonly default: "";
255
255
  };
256
256
  readonly emptyText: {
257
257
  readonly type: StringConstructor;
258
- readonly default: "没有数据哦~";
258
+ readonly default: "";
259
259
  };
260
260
  readonly emptyImg: {
261
261
  readonly type: StringConstructor;
@@ -275,24 +275,24 @@ export declare const MtInfiniteScroll: {
275
275
  readonly default: false;
276
276
  };
277
277
  }>> & Readonly<{
278
- "onUpdate:modelValue"?: ((args_0: any[]) => any) | undefined;
278
+ "onUpdate:modelValue"?: ((args_0: import('./src/infinite-scroll').ListItem[]) => any) | undefined;
279
279
  onQuery?: ((args_0: {
280
280
  pageNum: number;
281
281
  pageSize: number;
282
282
  }) => any) | undefined;
283
283
  }>, {
284
- endSuccess: (data: Array<any>, totalSize: number) => Promise<void>;
284
+ endSuccess: (data: import('./src/infinite-scroll').ListItem[], totalSize: number) => Promise<void>;
285
285
  endError: () => void;
286
286
  resetUpScroll: () => Promise<void>;
287
287
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
288
- "update:modelValue": (args_0: any[]) => any;
288
+ "update:modelValue": (args_0: import('./src/infinite-scroll').ListItem[]) => any;
289
289
  query: (args_0: {
290
290
  pageNum: number;
291
291
  pageSize: number;
292
292
  }) => any;
293
293
  }, string, {
294
- readonly height: string | number;
295
294
  readonly modelValue: unknown[];
295
+ readonly height: string | number;
296
296
  readonly upScrollPageNum: number;
297
297
  readonly upScrollPageSize: number;
298
298
  readonly upScrollEnabled: boolean;
@@ -309,11 +309,11 @@ export declare const MtInfiniteScroll: {
309
309
  readonly showBacktop: boolean;
310
310
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
311
311
  $slots: Readonly<{
312
- default: any;
313
- empty: any;
312
+ default?: () => import('vue').VNode[];
313
+ empty?: () => import('vue').VNode[];
314
314
  }> & {
315
- default: any;
316
- empty: any;
315
+ default?: () => import('vue').VNode[];
316
+ empty?: () => import('vue').VNode[];
317
317
  };
318
318
  }) & import('vue').Plugin;
319
319
  export default MtInfiniteScroll;
@@ -4,7 +4,7 @@ declare const infiniteScrollProps: {
4
4
  * 绑定最终的列表渲染变量(页面data中声明的值),当列表数据改变时,所绑定的变量会跟着改变
5
5
  */
6
6
  readonly modelValue: {
7
- readonly type: ArrayConstructor;
7
+ readonly type: PropType<unknown[]>;
8
8
  readonly default: () => never[];
9
9
  };
10
10
  /**
@@ -69,21 +69,21 @@ declare const infiniteScrollProps: {
69
69
  */
70
70
  readonly loadingMoreLoadingText: {
71
71
  readonly type: StringConstructor;
72
- readonly default: "加载中...";
72
+ readonly default: "";
73
73
  };
74
74
  /**
75
75
  * 滑动到底部"没有更多"文字
76
76
  */
77
77
  readonly loadingMoreNoMoreText: {
78
78
  readonly type: StringConstructor;
79
- readonly default: "没有更多了";
79
+ readonly default: "";
80
80
  };
81
81
  /**
82
82
  * 空数据图描述文字
83
83
  */
84
84
  readonly emptyText: {
85
85
  readonly type: StringConstructor;
86
- readonly default: "没有数据哦~";
86
+ readonly default: "";
87
87
  };
88
88
  /**
89
89
  * 空数据图图片地址
@@ -120,4 +120,7 @@ declare enum UpScrollStatusEnum {
120
120
  FAIL = 4
121
121
  }
122
122
  export type InfiniteScrollProps = ExtractPropTypes<typeof infiniteScrollProps>;
123
+ export interface ListItem {
124
+ [key: string]: unknown;
125
+ }
123
126
  export { infiniteScrollProps, UpScrollStatusEnum };
@@ -1,14 +1,16 @@
1
+ import { VNode } from 'vue';
2
+ import { ListItem } from './infinite-scroll';
1
3
  declare function endError(): void;
2
- declare function endSuccess(data: Array<any>, totalSize: number): Promise<void>;
4
+ declare function endSuccess(data: ListItem[], totalSize: number): Promise<void>;
3
5
  declare function resetUpScroll(): Promise<void>;
4
6
  declare function __VLS_template(): {
5
7
  attrs: Partial<{}>;
6
8
  slots: Readonly<{
7
- default: any;
8
- empty: any;
9
+ default?: () => VNode[];
10
+ empty?: () => VNode[];
9
11
  }> & {
10
- default: any;
11
- empty: any;
12
+ default?: () => VNode[];
13
+ empty?: () => VNode[];
12
14
  };
13
15
  refs: {
14
16
  containerRef: HTMLDivElement;
@@ -19,7 +21,7 @@ declare function __VLS_template(): {
19
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
22
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
21
23
  readonly modelValue: {
22
- readonly type: ArrayConstructor;
24
+ readonly type: import('vue').PropType<unknown[]>;
23
25
  readonly default: () => never[];
24
26
  };
25
27
  readonly height: {
@@ -57,15 +59,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
57
59
  };
58
60
  readonly loadingMoreLoadingText: {
59
61
  readonly type: StringConstructor;
60
- readonly default: "加载中...";
62
+ readonly default: "";
61
63
  };
62
64
  readonly loadingMoreNoMoreText: {
63
65
  readonly type: StringConstructor;
64
- readonly default: "没有更多了";
66
+ readonly default: "";
65
67
  };
66
68
  readonly emptyText: {
67
69
  readonly type: StringConstructor;
68
- readonly default: "没有数据哦~";
70
+ readonly default: "";
69
71
  };
70
72
  readonly emptyImg: {
71
73
  readonly type: StringConstructor;
@@ -89,14 +91,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
89
91
  endError: typeof endError;
90
92
  resetUpScroll: typeof resetUpScroll;
91
93
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
92
- "update:modelValue": (args_0: any[]) => any;
94
+ "update:modelValue": (args_0: ListItem[]) => any;
93
95
  query: (args_0: {
94
96
  pageNum: number;
95
97
  pageSize: number;
96
98
  }) => any;
97
99
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
98
100
  readonly modelValue: {
99
- readonly type: ArrayConstructor;
101
+ readonly type: import('vue').PropType<unknown[]>;
100
102
  readonly default: () => never[];
101
103
  };
102
104
  readonly height: {
@@ -134,15 +136,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
134
136
  };
135
137
  readonly loadingMoreLoadingText: {
136
138
  readonly type: StringConstructor;
137
- readonly default: "加载中...";
139
+ readonly default: "";
138
140
  };
139
141
  readonly loadingMoreNoMoreText: {
140
142
  readonly type: StringConstructor;
141
- readonly default: "没有更多了";
143
+ readonly default: "";
142
144
  };
143
145
  readonly emptyText: {
144
146
  readonly type: StringConstructor;
145
- readonly default: "没有数据哦~";
147
+ readonly default: "";
146
148
  };
147
149
  readonly emptyImg: {
148
150
  readonly type: StringConstructor;
@@ -162,14 +164,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
162
164
  readonly default: false;
163
165
  };
164
166
  }>> & Readonly<{
165
- "onUpdate:modelValue"?: ((args_0: any[]) => any) | undefined;
167
+ "onUpdate:modelValue"?: ((args_0: ListItem[]) => any) | undefined;
166
168
  onQuery?: ((args_0: {
167
169
  pageNum: number;
168
170
  pageSize: number;
169
171
  }) => any) | undefined;
170
172
  }>, {
171
- readonly height: string | number;
172
173
  readonly modelValue: unknown[];
174
+ readonly height: string | number;
173
175
  readonly upScrollPageNum: number;
174
176
  readonly upScrollPageSize: number;
175
177
  readonly upScrollEnabled: boolean;
@@ -1,10 +1,12 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
+ declare const loadingTypes: readonly ["spinner", "dots"];
3
+ type LoadingTypes = (typeof loadingTypes)[number];
2
4
  declare const loadingProps: {
3
5
  /**
4
6
  * 加载动画的类型
5
7
  */
6
8
  readonly type: {
7
- readonly type: PropType<"spinner" | "dots">;
9
+ readonly type: PropType<LoadingTypes>;
8
10
  readonly validator: (value: string) => boolean;
9
11
  readonly default: "spinner";
10
12
  };
@@ -15,3 +15,5 @@ export interface Language {
15
15
  lang: LocaleConfig['lang'];
16
16
  mt: TranslatePair;
17
17
  }
18
+ export type LocaleType = 'zh-cn' | 'en' | 'zh-tw' | 'ar' | 'ms' | 'th' | 'vi';
19
+ export type LocaleMessageKeys = 'mt.popover.confirm' | 'mt.popover.cancel' | 'mt.empty.description' | 'mt.upload.uploadSuccess' | 'mt.upload.uploadFail' | 'mt.upload.uploading' | 'mt.upload.fileSizeExceeded' | 'mt.upload.fileTypeMismatch' | 'mt.upload.deleteConfirm' | 'mt.upload.maxCountExceeded' | 'mt.upload.image' | 'mt.upload.video' | 'mt.upload.audio' | 'mt.upload.document' | 'mt.upload.ppt' | 'mt.upload.markdown' | 'mt.upload.zip' | 'mt.upload.fileTypeNotSupport' | 'mt.upload.preview' | 'mt.upload.cropSuccess' | 'mt.upload.cropFail' | 'mt.upload.uploadFile' | 'mt.upload.recommendRatio' | 'mt.upload.dragFileToUpload' | 'mt.upload.confirm' | 'mt.upload.cancel' | 'mt.upload.configError' | 'mt.imagePreview.loadError' | 'mt.infiniteScroll.loading' | 'mt.infiniteScroll.noMore' | 'mt.infiniteScroll.empty' | 'mt.infiniteScroll.retry';
@@ -21,6 +21,7 @@ declare const _default: {
21
21
  audio: string;
22
22
  document: string;
23
23
  ppt: string;
24
+ markdown: string;
24
25
  zip: string;
25
26
  fileTypeNotSupport: string;
26
27
  preview: string;
@@ -31,10 +32,17 @@ declare const _default: {
31
32
  dragFileToUpload: string;
32
33
  confirm: string;
33
34
  cancel: string;
35
+ configError: string;
34
36
  };
35
37
  imagePreview: {
36
38
  loadError: string;
37
39
  };
40
+ infiniteScroll: {
41
+ loading: string;
42
+ noMore: string;
43
+ empty: string;
44
+ retry: string;
45
+ };
38
46
  };
39
47
  };
40
48
  export default _default;
@@ -21,6 +21,7 @@ declare const _default: {
21
21
  audio: string;
22
22
  document: string;
23
23
  ppt: string;
24
+ markdown: string;
24
25
  zip: string;
25
26
  fileTypeNotSupport: string;
26
27
  preview: string;
@@ -31,10 +32,17 @@ declare const _default: {
31
32
  dragFileToUpload: string;
32
33
  confirm: string;
33
34
  cancel: string;
35
+ configError: string;
34
36
  };
35
37
  imagePreview: {
36
38
  loadError: string;
37
39
  };
40
+ infiniteScroll: {
41
+ loading: string;
42
+ noMore: string;
43
+ empty: string;
44
+ retry: string;
45
+ };
38
46
  };
39
47
  };
40
48
  export default _default;
@@ -21,6 +21,7 @@ declare const _default: {
21
21
  audio: string;
22
22
  document: string;
23
23
  ppt: string;
24
+ markdown: string;
24
25
  zip: string;
25
26
  fileTypeNotSupport: string;
26
27
  preview: string;
@@ -31,10 +32,17 @@ declare const _default: {
31
32
  dragFileToUpload: string;
32
33
  confirm: string;
33
34
  cancel: string;
35
+ configError: string;
34
36
  };
35
37
  imagePreview: {
36
38
  loadError: string;
37
39
  };
40
+ infiniteScroll: {
41
+ loading: string;
42
+ noMore: string;
43
+ empty: string;
44
+ retry: string;
45
+ };
38
46
  };
39
47
  };
40
48
  export default _default;
@@ -21,6 +21,7 @@ declare const _default: {
21
21
  audio: string;
22
22
  document: string;
23
23
  ppt: string;
24
+ markdown: string;
24
25
  zip: string;
25
26
  fileTypeNotSupport: string;
26
27
  preview: string;
@@ -31,10 +32,17 @@ declare const _default: {
31
32
  dragFileToUpload: string;
32
33
  confirm: string;
33
34
  cancel: string;
35
+ configError: string;
34
36
  };
35
37
  imagePreview: {
36
38
  loadError: string;
37
39
  };
40
+ infiniteScroll: {
41
+ loading: string;
42
+ noMore: string;
43
+ empty: string;
44
+ retry: string;
45
+ };
38
46
  };
39
47
  };
40
48
  export default _default;
@@ -21,6 +21,7 @@ declare const _default: {
21
21
  audio: string;
22
22
  document: string;
23
23
  ppt: string;
24
+ markdown: string;
24
25
  zip: string;
25
26
  fileTypeNotSupport: string;
26
27
  preview: string;
@@ -31,10 +32,17 @@ declare const _default: {
31
32
  dragFileToUpload: string;
32
33
  confirm: string;
33
34
  cancel: string;
35
+ configError: string;
34
36
  };
35
37
  imagePreview: {
36
38
  loadError: string;
37
39
  };
40
+ infiniteScroll: {
41
+ loading: string;
42
+ noMore: string;
43
+ empty: string;
44
+ retry: string;
45
+ };
38
46
  };
39
47
  };
40
48
  export default _default;
@@ -21,6 +21,7 @@ declare const _default: {
21
21
  audio: string;
22
22
  document: string;
23
23
  ppt: string;
24
+ markdown: string;
24
25
  zip: string;
25
26
  fileTypeNotSupport: string;
26
27
  preview: string;
@@ -31,10 +32,17 @@ declare const _default: {
31
32
  dragFileToUpload: string;
32
33
  confirm: string;
33
34
  cancel: string;
35
+ configError: string;
34
36
  };
35
37
  imagePreview: {
36
38
  loadError: string;
37
39
  };
40
+ infiniteScroll: {
41
+ loading: string;
42
+ noMore: string;
43
+ empty: string;
44
+ retry: string;
45
+ };
38
46
  };
39
47
  };
40
48
  export default _default;
@@ -21,6 +21,7 @@ declare const _default: {
21
21
  audio: string;
22
22
  document: string;
23
23
  ppt: string;
24
+ markdown: string;
24
25
  zip: string;
25
26
  fileTypeNotSupport: string;
26
27
  preview: string;
@@ -31,10 +32,17 @@ declare const _default: {
31
32
  dragFileToUpload: string;
32
33
  confirm: string;
33
34
  cancel: string;
35
+ configError: string;
34
36
  };
35
37
  imagePreview: {
36
38
  loadError: string;
37
39
  };
40
+ infiniteScroll: {
41
+ loading: string;
42
+ noMore: string;
43
+ empty: string;
44
+ retry: string;
45
+ };
38
46
  };
39
47
  };
40
48
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { default as MessageConstructor } from './message.vue';
3
3
  declare const messageTypes: readonly ["success", "error", "warning"];
4
- type MessageTypes = typeof messageTypes[number];
4
+ type MessageTypes = (typeof messageTypes)[number];
5
5
  declare const messageProps: {
6
6
  /**
7
7
  * 消息文字
@@ -45,7 +45,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
45
45
  close: typeof close;
46
46
  bottom: import('vue').ComputedRef<number>;
47
47
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
48
- destroy: (...args: any[]) => void;
48
+ destroy: () => any;
49
49
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
50
50
  readonly message: {
51
51
  readonly type: StringConstructor;
@@ -77,13 +77,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
77
77
  readonly required: true;
78
78
  };
79
79
  }>> & Readonly<{
80
- onDestroy?: ((...args: any[]) => any) | undefined;
80
+ onDestroy?: (() => any) | undefined;
81
81
  }>, {
82
+ readonly showClose: boolean;
82
83
  readonly type: "error" | "success" | "warning";
84
+ readonly onClose: Function;
83
85
  readonly duration: number;
84
86
  readonly offset: number;
85
- readonly showClose: boolean;
86
- readonly onClose: Function;
87
87
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
88
88
  messageRef: HTMLDivElement;
89
89
  }, any>;