@cyberpunk-vue/components 1.12.2 → 1.12.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.
package/dist/avatar/index.d.ts
CHANGED
|
@@ -216,6 +216,10 @@ export declare const CpAvatarGroup: import('../utils').SFCWithInstall<{
|
|
|
216
216
|
readonly type: NumberConstructor;
|
|
217
217
|
readonly default: undefined;
|
|
218
218
|
};
|
|
219
|
+
readonly total: {
|
|
220
|
+
readonly type: NumberConstructor;
|
|
221
|
+
readonly default: undefined;
|
|
222
|
+
};
|
|
219
223
|
readonly size: {
|
|
220
224
|
readonly type: import('vue').PropType<import('.').AvatarSize>;
|
|
221
225
|
readonly default: "md";
|
|
@@ -250,6 +254,7 @@ export declare const CpAvatarGroup: import('../utils').SFCWithInstall<{
|
|
|
250
254
|
};
|
|
251
255
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
252
256
|
readonly size: import('.').AvatarSize;
|
|
257
|
+
readonly total: number;
|
|
253
258
|
readonly shape: import('.').AvatarShape;
|
|
254
259
|
readonly max: number;
|
|
255
260
|
readonly spacing: string | number;
|
|
@@ -270,6 +275,10 @@ export declare const CpAvatarGroup: import('../utils').SFCWithInstall<{
|
|
|
270
275
|
readonly type: NumberConstructor;
|
|
271
276
|
readonly default: undefined;
|
|
272
277
|
};
|
|
278
|
+
readonly total: {
|
|
279
|
+
readonly type: NumberConstructor;
|
|
280
|
+
readonly default: undefined;
|
|
281
|
+
};
|
|
273
282
|
readonly size: {
|
|
274
283
|
readonly type: import('vue').PropType<import('.').AvatarSize>;
|
|
275
284
|
readonly default: "md";
|
|
@@ -304,6 +313,7 @@ export declare const CpAvatarGroup: import('../utils').SFCWithInstall<{
|
|
|
304
313
|
};
|
|
305
314
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
306
315
|
readonly size: import('.').AvatarSize;
|
|
316
|
+
readonly total: number;
|
|
307
317
|
readonly shape: import('.').AvatarShape;
|
|
308
318
|
readonly max: number;
|
|
309
319
|
readonly spacing: string | number;
|
|
@@ -321,6 +331,10 @@ export declare const CpAvatarGroup: import('../utils').SFCWithInstall<{
|
|
|
321
331
|
readonly type: NumberConstructor;
|
|
322
332
|
readonly default: undefined;
|
|
323
333
|
};
|
|
334
|
+
readonly total: {
|
|
335
|
+
readonly type: NumberConstructor;
|
|
336
|
+
readonly default: undefined;
|
|
337
|
+
};
|
|
324
338
|
readonly size: {
|
|
325
339
|
readonly type: import('vue').PropType<import('.').AvatarSize>;
|
|
326
340
|
readonly default: "md";
|
|
@@ -355,6 +369,7 @@ export declare const CpAvatarGroup: import('../utils').SFCWithInstall<{
|
|
|
355
369
|
};
|
|
356
370
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
357
371
|
readonly size: import('.').AvatarSize;
|
|
372
|
+
readonly total: number;
|
|
358
373
|
readonly shape: import('.').AvatarShape;
|
|
359
374
|
readonly max: number;
|
|
360
375
|
readonly spacing: string | number;
|
|
@@ -32,6 +32,16 @@ export declare const avatarGroupProps: {
|
|
|
32
32
|
readonly type: NumberConstructor;
|
|
33
33
|
readonly default: undefined;
|
|
34
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* 自定义总数
|
|
37
|
+
* 指定后折叠计数器显示为 total - 已显示数量,用于仅传入部分头像却想展示真实总数的场景
|
|
38
|
+
* 若小于已显示数量则不生效
|
|
39
|
+
* @default undefined (使用插槽子项实际数量)
|
|
40
|
+
*/
|
|
41
|
+
readonly total: {
|
|
42
|
+
readonly type: NumberConstructor;
|
|
43
|
+
readonly default: undefined;
|
|
44
|
+
};
|
|
35
45
|
/**
|
|
36
46
|
* 统一尺寸
|
|
37
47
|
* 会通过 provide 注入到子 Avatar
|
|
@@ -14,6 +14,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
14
14
|
readonly type: NumberConstructor;
|
|
15
15
|
readonly default: undefined;
|
|
16
16
|
};
|
|
17
|
+
readonly total: {
|
|
18
|
+
readonly type: NumberConstructor;
|
|
19
|
+
readonly default: undefined;
|
|
20
|
+
};
|
|
17
21
|
readonly size: {
|
|
18
22
|
readonly type: import('vue').PropType<import('./avatar').AvatarSize>;
|
|
19
23
|
readonly default: "md";
|
|
@@ -51,6 +55,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
51
55
|
readonly type: NumberConstructor;
|
|
52
56
|
readonly default: undefined;
|
|
53
57
|
};
|
|
58
|
+
readonly total: {
|
|
59
|
+
readonly type: NumberConstructor;
|
|
60
|
+
readonly default: undefined;
|
|
61
|
+
};
|
|
54
62
|
readonly size: {
|
|
55
63
|
readonly type: import('vue').PropType<import('./avatar').AvatarSize>;
|
|
56
64
|
readonly default: "md";
|
|
@@ -85,6 +93,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
85
93
|
};
|
|
86
94
|
}>> & Readonly<{}>, {
|
|
87
95
|
readonly size: import('./avatar').AvatarSize;
|
|
96
|
+
readonly total: number;
|
|
88
97
|
readonly shape: import('./avatar').AvatarShape;
|
|
89
98
|
readonly max: number;
|
|
90
99
|
readonly spacing: string | number;
|