@cyberpunk-vue/components 1.0.0 → 1.0.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.
- package/dist/avatar/index.d.ts +21 -21
- package/dist/avatar/src/avatar-group.vue.d.ts +9 -9
- package/dist/avatar/src/avatar.vue.d.ts +6 -6
- package/dist/badge/index.d.ts +18 -18
- package/dist/badge/src/badge.vue.d.ts +9 -9
- package/dist/button/index.d.ts +24 -24
- package/dist/button/src/button.vue.d.ts +14 -14
- package/dist/card/index.d.ts +57 -57
- package/dist/card/src/card.vue.d.ts +30 -30
- package/dist/checkbox/index.d.ts +49 -49
- package/dist/checkbox/src/checkbox.vue.d.ts +24 -24
- package/dist/checkbox-group/index.d.ts +31 -31
- package/dist/checkbox-group/src/checkbox-group.vue.d.ts +6 -6
- package/dist/config-provider/index.d.ts +6 -6
- package/dist/config-provider/src/config-provider.vue.d.ts +3 -3
- package/dist/container/index.d.ts +42 -42
- package/dist/container/src/aside.vue.d.ts +6 -6
- package/dist/container/src/container.vue.d.ts +3 -3
- package/dist/container/src/footer.vue.d.ts +6 -6
- package/dist/container/src/header.vue.d.ts +6 -6
- package/dist/dialog/index.d.ts +54 -54
- package/dist/dialog/src/dialog.vue.d.ts +24 -24
- package/dist/divider/index.d.ts +30 -30
- package/dist/divider/src/divider.vue.d.ts +15 -15
- package/dist/dropdown/index.d.ts +28 -28
- package/dist/dropdown/src/dropdown.vue.d.ts +11 -11
- package/dist/icon/index.d.ts +15 -15
- package/dist/icon/src/icon.vue.d.ts +8 -8
- package/dist/image/index.d.ts +12 -12
- package/dist/image/src/image.vue.d.ts +6 -6
- package/dist/input/index.d.ts +21 -21
- package/dist/input/src/input.vue.d.ts +11 -11
- package/dist/input-number/index.d.ts +2 -2
- package/dist/input-number/src/input-number.vue.d.ts +2 -2
- package/dist/loading/index.d.ts +5 -5
- package/dist/loading/src/loading.vue.d.ts +5 -5
- package/dist/menu/index.d.ts +12 -12
- package/dist/menu/src/menu.vue.d.ts +6 -6
- package/dist/menu-item/index.d.ts +6 -6
- package/dist/menu-item/src/menu-item.vue.d.ts +3 -3
- package/dist/menu-nav/index.d.ts +8 -8
- package/dist/menu-nav/src/menu-nav.vue.d.ts +6 -6
- package/dist/notification/index.d.ts +24 -24
- package/dist/notification/src/notification.vue.d.ts +12 -12
- package/dist/pagination/index.d.ts +39 -39
- package/dist/pagination/src/pagination.vue.d.ts +28 -28
- package/dist/pattern-background/index.d.ts +6 -6
- package/dist/pattern-background/src/pattern-background.vue.d.ts +6 -6
- package/dist/popover/src/popover.vue.d.ts +15 -15
- package/dist/progress/index.d.ts +30 -30
- package/dist/progress/src/progress.vue.d.ts +15 -15
- package/dist/radio/index.d.ts +31 -31
- package/dist/radio/src/radio.vue.d.ts +5 -5
- package/dist/radio-group/index.d.ts +25 -25
- package/dist/radio-group/src/radio-group.vue.d.ts +3 -3
- package/dist/row/index.d.ts +12 -12
- package/dist/row/src/row.vue.d.ts +6 -6
- package/dist/segmented/index.d.ts +21 -21
- package/dist/segmented/src/segmented.vue.d.ts +11 -11
- package/dist/slider/index.d.ts +8 -8
- package/dist/slider/src/slider.vue.d.ts +8 -8
- package/dist/status-indicator/index.d.ts +21 -21
- package/dist/status-indicator/src/status-indicator.vue.d.ts +11 -11
- package/dist/sub-menu/index.d.ts +6 -6
- package/dist/sub-menu/src/sub-menu.vue.d.ts +3 -3
- package/dist/switch/index.d.ts +5 -5
- package/dist/switch/src/switch.vue.d.ts +5 -5
- package/dist/table/index.d.ts +20 -20
- package/dist/table/src/table.vue.d.ts +5 -5
- package/dist/table-column/index.d.ts +3 -3
- package/dist/table-column/src/table-column.vue.d.ts +3 -3
- package/dist/tag/index.d.ts +21 -21
- package/dist/tag/src/tag.vue.d.ts +11 -11
- package/dist/text/index.d.ts +18 -18
- package/dist/text/src/text.vue.d.ts +9 -9
- package/dist/textarea/index.d.ts +5 -5
- package/dist/textarea/src/textarea.vue.d.ts +5 -5
- package/dist/tree/index.d.ts +77 -77
- package/dist/tree/src/tree.vue.d.ts +6 -6
- package/package.json +4 -4
package/dist/avatar/index.d.ts
CHANGED
|
@@ -21,11 +21,11 @@ export declare const CpAvatar: import('../utils').SFCWithInstall<{
|
|
|
21
21
|
readonly default: "";
|
|
22
22
|
};
|
|
23
23
|
readonly size: {
|
|
24
|
-
readonly type: import('vue').PropType<import('
|
|
24
|
+
readonly type: import('vue').PropType<import('.').AvatarSize>;
|
|
25
25
|
readonly default: "md";
|
|
26
26
|
};
|
|
27
27
|
readonly shape: {
|
|
28
|
-
readonly type: import('vue').PropType<import('
|
|
28
|
+
readonly type: import('vue').PropType<import('.').AvatarShape>;
|
|
29
29
|
readonly default: "circle";
|
|
30
30
|
};
|
|
31
31
|
readonly icon: {
|
|
@@ -59,9 +59,9 @@ export declare const CpAvatar: import('../utils').SFCWithInstall<{
|
|
|
59
59
|
error: (event: Event) => void;
|
|
60
60
|
load: (event: Event) => void;
|
|
61
61
|
}, import('vue').PublicProps, {
|
|
62
|
-
readonly size: import('
|
|
62
|
+
readonly size: import('.').AvatarSize;
|
|
63
63
|
readonly fit: "fill" | "contain" | "cover";
|
|
64
|
-
readonly shape: import('
|
|
64
|
+
readonly shape: import('.').AvatarShape;
|
|
65
65
|
readonly icon: import('vue').Component;
|
|
66
66
|
readonly src: string;
|
|
67
67
|
readonly alt: string;
|
|
@@ -86,11 +86,11 @@ export declare const CpAvatar: import('../utils').SFCWithInstall<{
|
|
|
86
86
|
readonly default: "";
|
|
87
87
|
};
|
|
88
88
|
readonly size: {
|
|
89
|
-
readonly type: import('vue').PropType<import('
|
|
89
|
+
readonly type: import('vue').PropType<import('.').AvatarSize>;
|
|
90
90
|
readonly default: "md";
|
|
91
91
|
};
|
|
92
92
|
readonly shape: {
|
|
93
|
-
readonly type: import('vue').PropType<import('
|
|
93
|
+
readonly type: import('vue').PropType<import('.').AvatarShape>;
|
|
94
94
|
readonly default: "circle";
|
|
95
95
|
};
|
|
96
96
|
readonly icon: {
|
|
@@ -121,9 +121,9 @@ export declare const CpAvatar: import('../utils').SFCWithInstall<{
|
|
|
121
121
|
onError?: ((event: Event) => any) | undefined;
|
|
122
122
|
onLoad?: ((event: Event) => any) | undefined;
|
|
123
123
|
}>, {}, {}, {}, {}, {
|
|
124
|
-
readonly size: import('
|
|
124
|
+
readonly size: import('.').AvatarSize;
|
|
125
125
|
readonly fit: "fill" | "contain" | "cover";
|
|
126
|
-
readonly shape: import('
|
|
126
|
+
readonly shape: import('.').AvatarShape;
|
|
127
127
|
readonly icon: import('vue').Component;
|
|
128
128
|
readonly src: string;
|
|
129
129
|
readonly alt: string;
|
|
@@ -145,11 +145,11 @@ export declare const CpAvatar: import('../utils').SFCWithInstall<{
|
|
|
145
145
|
readonly default: "";
|
|
146
146
|
};
|
|
147
147
|
readonly size: {
|
|
148
|
-
readonly type: import('vue').PropType<import('
|
|
148
|
+
readonly type: import('vue').PropType<import('.').AvatarSize>;
|
|
149
149
|
readonly default: "md";
|
|
150
150
|
};
|
|
151
151
|
readonly shape: {
|
|
152
|
-
readonly type: import('vue').PropType<import('
|
|
152
|
+
readonly type: import('vue').PropType<import('.').AvatarShape>;
|
|
153
153
|
readonly default: "circle";
|
|
154
154
|
};
|
|
155
155
|
readonly icon: {
|
|
@@ -183,9 +183,9 @@ export declare const CpAvatar: import('../utils').SFCWithInstall<{
|
|
|
183
183
|
error: (event: Event) => void;
|
|
184
184
|
load: (event: Event) => void;
|
|
185
185
|
}, string, {
|
|
186
|
-
readonly size: import('
|
|
186
|
+
readonly size: import('.').AvatarSize;
|
|
187
187
|
readonly fit: "fill" | "contain" | "cover";
|
|
188
|
-
readonly shape: import('
|
|
188
|
+
readonly shape: import('.').AvatarShape;
|
|
189
189
|
readonly icon: import('vue').Component;
|
|
190
190
|
readonly src: string;
|
|
191
191
|
readonly alt: string;
|
|
@@ -216,11 +216,11 @@ export declare const CpAvatarGroup: import('../utils').SFCWithInstall<import('vu
|
|
|
216
216
|
readonly default: undefined;
|
|
217
217
|
};
|
|
218
218
|
readonly size: {
|
|
219
|
-
readonly type: import('vue').PropType<import('
|
|
219
|
+
readonly type: import('vue').PropType<import('.').AvatarSize>;
|
|
220
220
|
readonly default: "md";
|
|
221
221
|
};
|
|
222
222
|
readonly shape: {
|
|
223
|
-
readonly type: import('vue').PropType<import('
|
|
223
|
+
readonly type: import('vue').PropType<import('.').AvatarShape>;
|
|
224
224
|
readonly default: "circle";
|
|
225
225
|
};
|
|
226
226
|
readonly spacing: {
|
|
@@ -244,7 +244,7 @@ export declare const CpAvatarGroup: import('../utils').SFCWithInstall<import('vu
|
|
|
244
244
|
readonly default: "";
|
|
245
245
|
};
|
|
246
246
|
readonly collapseShape: {
|
|
247
|
-
readonly type: import('vue').PropType<import('
|
|
247
|
+
readonly type: import('vue').PropType<import('.').AvatarShape>;
|
|
248
248
|
readonly default: undefined;
|
|
249
249
|
};
|
|
250
250
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -253,11 +253,11 @@ export declare const CpAvatarGroup: import('../utils').SFCWithInstall<import('vu
|
|
|
253
253
|
readonly default: undefined;
|
|
254
254
|
};
|
|
255
255
|
readonly size: {
|
|
256
|
-
readonly type: import('vue').PropType<import('
|
|
256
|
+
readonly type: import('vue').PropType<import('.').AvatarSize>;
|
|
257
257
|
readonly default: "md";
|
|
258
258
|
};
|
|
259
259
|
readonly shape: {
|
|
260
|
-
readonly type: import('vue').PropType<import('
|
|
260
|
+
readonly type: import('vue').PropType<import('.').AvatarShape>;
|
|
261
261
|
readonly default: "circle";
|
|
262
262
|
};
|
|
263
263
|
readonly spacing: {
|
|
@@ -281,19 +281,19 @@ export declare const CpAvatarGroup: import('../utils').SFCWithInstall<import('vu
|
|
|
281
281
|
readonly default: "";
|
|
282
282
|
};
|
|
283
283
|
readonly collapseShape: {
|
|
284
|
-
readonly type: import('vue').PropType<import('
|
|
284
|
+
readonly type: import('vue').PropType<import('.').AvatarShape>;
|
|
285
285
|
readonly default: undefined;
|
|
286
286
|
};
|
|
287
287
|
}>> & Readonly<{}>, {
|
|
288
|
-
readonly size: import('
|
|
289
|
-
readonly shape: import('
|
|
288
|
+
readonly size: import('.').AvatarSize;
|
|
289
|
+
readonly shape: import('.').AvatarShape;
|
|
290
290
|
readonly max: number;
|
|
291
291
|
readonly spacing: string | number;
|
|
292
292
|
readonly collapseAvatars: boolean;
|
|
293
293
|
readonly collapseClass: string;
|
|
294
294
|
readonly collapseStyle: import('vue').CSSProperties;
|
|
295
295
|
readonly collapseAvatarsTooltip: string;
|
|
296
|
-
readonly collapseShape: import('
|
|
296
|
+
readonly collapseShape: import('.').AvatarShape;
|
|
297
297
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>>;
|
|
298
298
|
export default CpAvatar;
|
|
299
299
|
export * from './src/avatar';
|
|
@@ -4,11 +4,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4
4
|
readonly default: undefined;
|
|
5
5
|
};
|
|
6
6
|
readonly size: {
|
|
7
|
-
readonly type: import('vue').PropType<import('
|
|
7
|
+
readonly type: import('vue').PropType<import('./avatar').AvatarSize>;
|
|
8
8
|
readonly default: "md";
|
|
9
9
|
};
|
|
10
10
|
readonly shape: {
|
|
11
|
-
readonly type: import('vue').PropType<import('
|
|
11
|
+
readonly type: import('vue').PropType<import('./avatar').AvatarShape>;
|
|
12
12
|
readonly default: "circle";
|
|
13
13
|
};
|
|
14
14
|
readonly spacing: {
|
|
@@ -32,7 +32,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
32
32
|
readonly default: "";
|
|
33
33
|
};
|
|
34
34
|
readonly collapseShape: {
|
|
35
|
-
readonly type: import('vue').PropType<import('
|
|
35
|
+
readonly type: import('vue').PropType<import('./avatar').AvatarShape>;
|
|
36
36
|
readonly default: undefined;
|
|
37
37
|
};
|
|
38
38
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -41,11 +41,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
41
41
|
readonly default: undefined;
|
|
42
42
|
};
|
|
43
43
|
readonly size: {
|
|
44
|
-
readonly type: import('vue').PropType<import('
|
|
44
|
+
readonly type: import('vue').PropType<import('./avatar').AvatarSize>;
|
|
45
45
|
readonly default: "md";
|
|
46
46
|
};
|
|
47
47
|
readonly shape: {
|
|
48
|
-
readonly type: import('vue').PropType<import('
|
|
48
|
+
readonly type: import('vue').PropType<import('./avatar').AvatarShape>;
|
|
49
49
|
readonly default: "circle";
|
|
50
50
|
};
|
|
51
51
|
readonly spacing: {
|
|
@@ -69,19 +69,19 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
69
69
|
readonly default: "";
|
|
70
70
|
};
|
|
71
71
|
readonly collapseShape: {
|
|
72
|
-
readonly type: import('vue').PropType<import('
|
|
72
|
+
readonly type: import('vue').PropType<import('./avatar').AvatarShape>;
|
|
73
73
|
readonly default: undefined;
|
|
74
74
|
};
|
|
75
75
|
}>> & Readonly<{}>, {
|
|
76
|
-
readonly size: import('
|
|
77
|
-
readonly shape: import('
|
|
76
|
+
readonly size: import('./avatar').AvatarSize;
|
|
77
|
+
readonly shape: import('./avatar').AvatarShape;
|
|
78
78
|
readonly max: number;
|
|
79
79
|
readonly spacing: string | number;
|
|
80
80
|
readonly collapseAvatars: boolean;
|
|
81
81
|
readonly collapseClass: string;
|
|
82
82
|
readonly collapseStyle: import('vue').CSSProperties;
|
|
83
83
|
readonly collapseAvatarsTooltip: string;
|
|
84
|
-
readonly collapseShape: import('
|
|
84
|
+
readonly collapseShape: import('./avatar').AvatarShape;
|
|
85
85
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
86
86
|
export default _default;
|
|
87
87
|
//# sourceMappingURL=avatar-group.vue.d.ts.map
|
|
@@ -17,11 +17,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
17
17
|
readonly default: "";
|
|
18
18
|
};
|
|
19
19
|
readonly size: {
|
|
20
|
-
readonly type: import('vue').PropType<import('
|
|
20
|
+
readonly type: import('vue').PropType<import('./avatar').AvatarSize>;
|
|
21
21
|
readonly default: "md";
|
|
22
22
|
};
|
|
23
23
|
readonly shape: {
|
|
24
|
-
readonly type: import('vue').PropType<import('
|
|
24
|
+
readonly type: import('vue').PropType<import('./avatar').AvatarShape>;
|
|
25
25
|
readonly default: "circle";
|
|
26
26
|
};
|
|
27
27
|
readonly icon: {
|
|
@@ -66,11 +66,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
66
66
|
readonly default: "";
|
|
67
67
|
};
|
|
68
68
|
readonly size: {
|
|
69
|
-
readonly type: import('vue').PropType<import('
|
|
69
|
+
readonly type: import('vue').PropType<import('./avatar').AvatarSize>;
|
|
70
70
|
readonly default: "md";
|
|
71
71
|
};
|
|
72
72
|
readonly shape: {
|
|
73
|
-
readonly type: import('vue').PropType<import('
|
|
73
|
+
readonly type: import('vue').PropType<import('./avatar').AvatarShape>;
|
|
74
74
|
readonly default: "circle";
|
|
75
75
|
};
|
|
76
76
|
readonly icon: {
|
|
@@ -106,9 +106,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
106
106
|
onError?: ((event: Event) => any) | undefined;
|
|
107
107
|
onLoad?: ((event: Event) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
|
-
readonly size: import('
|
|
109
|
+
readonly size: import('./avatar').AvatarSize;
|
|
110
110
|
readonly fit: "fill" | "contain" | "cover";
|
|
111
|
-
readonly shape: import('
|
|
111
|
+
readonly shape: import('./avatar').AvatarShape;
|
|
112
112
|
readonly icon: import('vue').Component;
|
|
113
113
|
readonly src: string;
|
|
114
114
|
readonly alt: string;
|
package/dist/badge/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare const CpBadge: import('../utils').SFCWithInstall<{
|
|
|
41
41
|
readonly default: false;
|
|
42
42
|
};
|
|
43
43
|
readonly type: {
|
|
44
|
-
readonly type: import('vue').PropType<import('
|
|
44
|
+
readonly type: import('vue').PropType<import('.').BadgeType>;
|
|
45
45
|
readonly default: "error";
|
|
46
46
|
};
|
|
47
47
|
readonly color: {
|
|
@@ -53,7 +53,7 @@ export declare const CpBadge: import('../utils').SFCWithInstall<{
|
|
|
53
53
|
readonly default: "";
|
|
54
54
|
};
|
|
55
55
|
readonly variant: {
|
|
56
|
-
readonly type: import('vue').PropType<import('
|
|
56
|
+
readonly type: import('vue').PropType<import('.').BadgeVariant>;
|
|
57
57
|
readonly default: "solid";
|
|
58
58
|
};
|
|
59
59
|
readonly offset: {
|
|
@@ -61,14 +61,14 @@ export declare const CpBadge: import('../utils').SFCWithInstall<{
|
|
|
61
61
|
readonly default: undefined;
|
|
62
62
|
};
|
|
63
63
|
readonly size: {
|
|
64
|
-
readonly type: import('vue').PropType<import('
|
|
64
|
+
readonly type: import('vue').PropType<import('.').BadgeSize>;
|
|
65
65
|
readonly default: "default";
|
|
66
66
|
};
|
|
67
67
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
68
|
-
readonly size: import('
|
|
68
|
+
readonly size: import('.').BadgeSize;
|
|
69
69
|
readonly value: string | number;
|
|
70
|
-
readonly type: import('
|
|
71
|
-
readonly variant: import('
|
|
70
|
+
readonly type: import('.').BadgeType;
|
|
71
|
+
readonly variant: import('.').BadgeVariant;
|
|
72
72
|
readonly color: string;
|
|
73
73
|
readonly textColor: string;
|
|
74
74
|
readonly hidden: boolean;
|
|
@@ -110,7 +110,7 @@ export declare const CpBadge: import('../utils').SFCWithInstall<{
|
|
|
110
110
|
readonly default: false;
|
|
111
111
|
};
|
|
112
112
|
readonly type: {
|
|
113
|
-
readonly type: import('vue').PropType<import('
|
|
113
|
+
readonly type: import('vue').PropType<import('.').BadgeType>;
|
|
114
114
|
readonly default: "error";
|
|
115
115
|
};
|
|
116
116
|
readonly color: {
|
|
@@ -122,7 +122,7 @@ export declare const CpBadge: import('../utils').SFCWithInstall<{
|
|
|
122
122
|
readonly default: "";
|
|
123
123
|
};
|
|
124
124
|
readonly variant: {
|
|
125
|
-
readonly type: import('vue').PropType<import('
|
|
125
|
+
readonly type: import('vue').PropType<import('.').BadgeVariant>;
|
|
126
126
|
readonly default: "solid";
|
|
127
127
|
};
|
|
128
128
|
readonly offset: {
|
|
@@ -130,14 +130,14 @@ export declare const CpBadge: import('../utils').SFCWithInstall<{
|
|
|
130
130
|
readonly default: undefined;
|
|
131
131
|
};
|
|
132
132
|
readonly size: {
|
|
133
|
-
readonly type: import('vue').PropType<import('
|
|
133
|
+
readonly type: import('vue').PropType<import('.').BadgeSize>;
|
|
134
134
|
readonly default: "default";
|
|
135
135
|
};
|
|
136
136
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
137
|
-
readonly size: import('
|
|
137
|
+
readonly size: import('.').BadgeSize;
|
|
138
138
|
readonly value: string | number;
|
|
139
|
-
readonly type: import('
|
|
140
|
-
readonly variant: import('
|
|
139
|
+
readonly type: import('.').BadgeType;
|
|
140
|
+
readonly variant: import('.').BadgeVariant;
|
|
141
141
|
readonly color: string;
|
|
142
142
|
readonly textColor: string;
|
|
143
143
|
readonly hidden: boolean;
|
|
@@ -176,7 +176,7 @@ export declare const CpBadge: import('../utils').SFCWithInstall<{
|
|
|
176
176
|
readonly default: false;
|
|
177
177
|
};
|
|
178
178
|
readonly type: {
|
|
179
|
-
readonly type: import('vue').PropType<import('
|
|
179
|
+
readonly type: import('vue').PropType<import('.').BadgeType>;
|
|
180
180
|
readonly default: "error";
|
|
181
181
|
};
|
|
182
182
|
readonly color: {
|
|
@@ -188,7 +188,7 @@ export declare const CpBadge: import('../utils').SFCWithInstall<{
|
|
|
188
188
|
readonly default: "";
|
|
189
189
|
};
|
|
190
190
|
readonly variant: {
|
|
191
|
-
readonly type: import('vue').PropType<import('
|
|
191
|
+
readonly type: import('vue').PropType<import('.').BadgeVariant>;
|
|
192
192
|
readonly default: "solid";
|
|
193
193
|
};
|
|
194
194
|
readonly offset: {
|
|
@@ -196,14 +196,14 @@ export declare const CpBadge: import('../utils').SFCWithInstall<{
|
|
|
196
196
|
readonly default: undefined;
|
|
197
197
|
};
|
|
198
198
|
readonly size: {
|
|
199
|
-
readonly type: import('vue').PropType<import('
|
|
199
|
+
readonly type: import('vue').PropType<import('.').BadgeSize>;
|
|
200
200
|
readonly default: "default";
|
|
201
201
|
};
|
|
202
202
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
203
|
-
readonly size: import('
|
|
203
|
+
readonly size: import('.').BadgeSize;
|
|
204
204
|
readonly value: string | number;
|
|
205
|
-
readonly type: import('
|
|
206
|
-
readonly variant: import('
|
|
205
|
+
readonly type: import('.').BadgeType;
|
|
206
|
+
readonly variant: import('.').BadgeVariant;
|
|
207
207
|
readonly color: string;
|
|
208
208
|
readonly textColor: string;
|
|
209
209
|
readonly hidden: boolean;
|
|
@@ -33,7 +33,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
33
33
|
readonly default: false;
|
|
34
34
|
};
|
|
35
35
|
readonly type: {
|
|
36
|
-
readonly type: import('vue').PropType<import('
|
|
36
|
+
readonly type: import('vue').PropType<import('./badge').BadgeType>;
|
|
37
37
|
readonly default: "error";
|
|
38
38
|
};
|
|
39
39
|
readonly color: {
|
|
@@ -45,7 +45,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
45
45
|
readonly default: "";
|
|
46
46
|
};
|
|
47
47
|
readonly variant: {
|
|
48
|
-
readonly type: import('vue').PropType<import('
|
|
48
|
+
readonly type: import('vue').PropType<import('./badge').BadgeVariant>;
|
|
49
49
|
readonly default: "solid";
|
|
50
50
|
};
|
|
51
51
|
readonly offset: {
|
|
@@ -53,7 +53,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
53
53
|
readonly default: undefined;
|
|
54
54
|
};
|
|
55
55
|
readonly size: {
|
|
56
|
-
readonly type: import('vue').PropType<import('
|
|
56
|
+
readonly type: import('vue').PropType<import('./badge').BadgeSize>;
|
|
57
57
|
readonly default: "default";
|
|
58
58
|
};
|
|
59
59
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -82,7 +82,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
82
82
|
readonly default: false;
|
|
83
83
|
};
|
|
84
84
|
readonly type: {
|
|
85
|
-
readonly type: import('vue').PropType<import('
|
|
85
|
+
readonly type: import('vue').PropType<import('./badge').BadgeType>;
|
|
86
86
|
readonly default: "error";
|
|
87
87
|
};
|
|
88
88
|
readonly color: {
|
|
@@ -94,7 +94,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
94
94
|
readonly default: "";
|
|
95
95
|
};
|
|
96
96
|
readonly variant: {
|
|
97
|
-
readonly type: import('vue').PropType<import('
|
|
97
|
+
readonly type: import('vue').PropType<import('./badge').BadgeVariant>;
|
|
98
98
|
readonly default: "solid";
|
|
99
99
|
};
|
|
100
100
|
readonly offset: {
|
|
@@ -102,14 +102,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
102
102
|
readonly default: undefined;
|
|
103
103
|
};
|
|
104
104
|
readonly size: {
|
|
105
|
-
readonly type: import('vue').PropType<import('
|
|
105
|
+
readonly type: import('vue').PropType<import('./badge').BadgeSize>;
|
|
106
106
|
readonly default: "default";
|
|
107
107
|
};
|
|
108
108
|
}>> & Readonly<{}>, {
|
|
109
|
-
readonly size: import('
|
|
109
|
+
readonly size: import('./badge').BadgeSize;
|
|
110
110
|
readonly value: string | number;
|
|
111
|
-
readonly type: import('
|
|
112
|
-
readonly variant: import('
|
|
111
|
+
readonly type: import('./badge').BadgeType;
|
|
112
|
+
readonly variant: import('./badge').BadgeVariant;
|
|
113
113
|
readonly color: string;
|
|
114
114
|
readonly textColor: string;
|
|
115
115
|
readonly hidden: boolean;
|
package/dist/button/index.d.ts
CHANGED
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
export declare const CpButton: import('../utils').SFCWithInstall<{
|
|
20
20
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
21
21
|
readonly type: {
|
|
22
|
-
readonly type: import('vue').PropType<import('
|
|
22
|
+
readonly type: import('vue').PropType<import('.').ButtonType>;
|
|
23
23
|
readonly default: "default";
|
|
24
24
|
};
|
|
25
25
|
readonly size: {
|
|
26
|
-
readonly type: import('vue').PropType<import('
|
|
26
|
+
readonly type: import('vue').PropType<import('.').ButtonSize>;
|
|
27
27
|
readonly default: "md";
|
|
28
28
|
};
|
|
29
29
|
readonly variant: {
|
|
30
|
-
readonly type: import('vue').PropType<import('
|
|
30
|
+
readonly type: import('vue').PropType<import('.').ButtonVariant>;
|
|
31
31
|
readonly default: "solid";
|
|
32
32
|
};
|
|
33
33
|
readonly disabled: {
|
|
@@ -99,15 +99,15 @@ export declare const CpButton: import('../utils').SFCWithInstall<{
|
|
|
99
99
|
readonly default: "";
|
|
100
100
|
};
|
|
101
101
|
readonly iconSize: {
|
|
102
|
-
readonly type: import('vue').PropType<import('
|
|
102
|
+
readonly type: import('vue').PropType<import('.').ButtonSize>;
|
|
103
103
|
readonly default: "";
|
|
104
104
|
};
|
|
105
105
|
readonly prefixIconSize: {
|
|
106
|
-
readonly type: import('vue').PropType<import('
|
|
106
|
+
readonly type: import('vue').PropType<import('.').ButtonSize>;
|
|
107
107
|
readonly default: "";
|
|
108
108
|
};
|
|
109
109
|
readonly suffixIconSize: {
|
|
110
|
-
readonly type: import('vue').PropType<import('
|
|
110
|
+
readonly type: import('vue').PropType<import('.').ButtonSize>;
|
|
111
111
|
readonly default: "";
|
|
112
112
|
};
|
|
113
113
|
}>> & Readonly<{
|
|
@@ -116,8 +116,8 @@ export declare const CpButton: import('../utils').SFCWithInstall<{
|
|
|
116
116
|
click: (evt: MouseEvent) => void;
|
|
117
117
|
}, import('vue').PublicProps, {
|
|
118
118
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
119
|
-
readonly type: import('
|
|
120
|
-
readonly variant: import('
|
|
119
|
+
readonly type: import('.').ButtonType;
|
|
120
|
+
readonly variant: import('.').ButtonVariant;
|
|
121
121
|
readonly disabled: boolean;
|
|
122
122
|
readonly loading: boolean;
|
|
123
123
|
readonly block: boolean;
|
|
@@ -147,15 +147,15 @@ export declare const CpButton: import('../utils').SFCWithInstall<{
|
|
|
147
147
|
Defaults: {};
|
|
148
148
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
149
149
|
readonly type: {
|
|
150
|
-
readonly type: import('vue').PropType<import('
|
|
150
|
+
readonly type: import('vue').PropType<import('.').ButtonType>;
|
|
151
151
|
readonly default: "default";
|
|
152
152
|
};
|
|
153
153
|
readonly size: {
|
|
154
|
-
readonly type: import('vue').PropType<import('
|
|
154
|
+
readonly type: import('vue').PropType<import('.').ButtonSize>;
|
|
155
155
|
readonly default: "md";
|
|
156
156
|
};
|
|
157
157
|
readonly variant: {
|
|
158
|
-
readonly type: import('vue').PropType<import('
|
|
158
|
+
readonly type: import('vue').PropType<import('.').ButtonVariant>;
|
|
159
159
|
readonly default: "solid";
|
|
160
160
|
};
|
|
161
161
|
readonly disabled: {
|
|
@@ -227,23 +227,23 @@ export declare const CpButton: import('../utils').SFCWithInstall<{
|
|
|
227
227
|
readonly default: "";
|
|
228
228
|
};
|
|
229
229
|
readonly iconSize: {
|
|
230
|
-
readonly type: import('vue').PropType<import('
|
|
230
|
+
readonly type: import('vue').PropType<import('.').ButtonSize>;
|
|
231
231
|
readonly default: "";
|
|
232
232
|
};
|
|
233
233
|
readonly prefixIconSize: {
|
|
234
|
-
readonly type: import('vue').PropType<import('
|
|
234
|
+
readonly type: import('vue').PropType<import('.').ButtonSize>;
|
|
235
235
|
readonly default: "";
|
|
236
236
|
};
|
|
237
237
|
readonly suffixIconSize: {
|
|
238
|
-
readonly type: import('vue').PropType<import('
|
|
238
|
+
readonly type: import('vue').PropType<import('.').ButtonSize>;
|
|
239
239
|
readonly default: "";
|
|
240
240
|
};
|
|
241
241
|
}>> & Readonly<{
|
|
242
242
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
243
243
|
}>, {}, {}, {}, {}, {
|
|
244
244
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
245
|
-
readonly type: import('
|
|
246
|
-
readonly variant: import('
|
|
245
|
+
readonly type: import('.').ButtonType;
|
|
246
|
+
readonly variant: import('.').ButtonVariant;
|
|
247
247
|
readonly disabled: boolean;
|
|
248
248
|
readonly loading: boolean;
|
|
249
249
|
readonly block: boolean;
|
|
@@ -270,15 +270,15 @@ export declare const CpButton: import('../utils').SFCWithInstall<{
|
|
|
270
270
|
__isSuspense?: never;
|
|
271
271
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
272
272
|
readonly type: {
|
|
273
|
-
readonly type: import('vue').PropType<import('
|
|
273
|
+
readonly type: import('vue').PropType<import('.').ButtonType>;
|
|
274
274
|
readonly default: "default";
|
|
275
275
|
};
|
|
276
276
|
readonly size: {
|
|
277
|
-
readonly type: import('vue').PropType<import('
|
|
277
|
+
readonly type: import('vue').PropType<import('.').ButtonSize>;
|
|
278
278
|
readonly default: "md";
|
|
279
279
|
};
|
|
280
280
|
readonly variant: {
|
|
281
|
-
readonly type: import('vue').PropType<import('
|
|
281
|
+
readonly type: import('vue').PropType<import('.').ButtonVariant>;
|
|
282
282
|
readonly default: "solid";
|
|
283
283
|
};
|
|
284
284
|
readonly disabled: {
|
|
@@ -350,15 +350,15 @@ export declare const CpButton: import('../utils').SFCWithInstall<{
|
|
|
350
350
|
readonly default: "";
|
|
351
351
|
};
|
|
352
352
|
readonly iconSize: {
|
|
353
|
-
readonly type: import('vue').PropType<import('
|
|
353
|
+
readonly type: import('vue').PropType<import('.').ButtonSize>;
|
|
354
354
|
readonly default: "";
|
|
355
355
|
};
|
|
356
356
|
readonly prefixIconSize: {
|
|
357
|
-
readonly type: import('vue').PropType<import('
|
|
357
|
+
readonly type: import('vue').PropType<import('.').ButtonSize>;
|
|
358
358
|
readonly default: "";
|
|
359
359
|
};
|
|
360
360
|
readonly suffixIconSize: {
|
|
361
|
-
readonly type: import('vue').PropType<import('
|
|
361
|
+
readonly type: import('vue').PropType<import('.').ButtonSize>;
|
|
362
362
|
readonly default: "";
|
|
363
363
|
};
|
|
364
364
|
}>> & Readonly<{
|
|
@@ -367,8 +367,8 @@ export declare const CpButton: import('../utils').SFCWithInstall<{
|
|
|
367
367
|
click: (evt: MouseEvent) => void;
|
|
368
368
|
}, string, {
|
|
369
369
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
370
|
-
readonly type: import('
|
|
371
|
-
readonly variant: import('
|
|
370
|
+
readonly type: import('.').ButtonType;
|
|
371
|
+
readonly variant: import('.').ButtonVariant;
|
|
372
372
|
readonly disabled: boolean;
|
|
373
373
|
readonly loading: boolean;
|
|
374
374
|
readonly block: boolean;
|
|
@@ -11,15 +11,15 @@ declare function __VLS_template(): {
|
|
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
12
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
13
|
readonly type: {
|
|
14
|
-
readonly type: import('vue').PropType<import('
|
|
14
|
+
readonly type: import('vue').PropType<import('./button').ButtonType>;
|
|
15
15
|
readonly default: "default";
|
|
16
16
|
};
|
|
17
17
|
readonly size: {
|
|
18
|
-
readonly type: import('vue').PropType<import('
|
|
18
|
+
readonly type: import('vue').PropType<import('./button').ButtonSize>;
|
|
19
19
|
readonly default: "md";
|
|
20
20
|
};
|
|
21
21
|
readonly variant: {
|
|
22
|
-
readonly type: import('vue').PropType<import('
|
|
22
|
+
readonly type: import('vue').PropType<import('./button').ButtonVariant>;
|
|
23
23
|
readonly default: "solid";
|
|
24
24
|
};
|
|
25
25
|
readonly disabled: {
|
|
@@ -91,30 +91,30 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
91
91
|
readonly default: "";
|
|
92
92
|
};
|
|
93
93
|
readonly iconSize: {
|
|
94
|
-
readonly type: import('vue').PropType<import('
|
|
94
|
+
readonly type: import('vue').PropType<import('./button').ButtonSize>;
|
|
95
95
|
readonly default: "";
|
|
96
96
|
};
|
|
97
97
|
readonly prefixIconSize: {
|
|
98
|
-
readonly type: import('vue').PropType<import('
|
|
98
|
+
readonly type: import('vue').PropType<import('./button').ButtonSize>;
|
|
99
99
|
readonly default: "";
|
|
100
100
|
};
|
|
101
101
|
readonly suffixIconSize: {
|
|
102
|
-
readonly type: import('vue').PropType<import('
|
|
102
|
+
readonly type: import('vue').PropType<import('./button').ButtonSize>;
|
|
103
103
|
readonly default: "";
|
|
104
104
|
};
|
|
105
105
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
106
106
|
click: (evt: MouseEvent) => void;
|
|
107
107
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
108
108
|
readonly type: {
|
|
109
|
-
readonly type: import('vue').PropType<import('
|
|
109
|
+
readonly type: import('vue').PropType<import('./button').ButtonType>;
|
|
110
110
|
readonly default: "default";
|
|
111
111
|
};
|
|
112
112
|
readonly size: {
|
|
113
|
-
readonly type: import('vue').PropType<import('
|
|
113
|
+
readonly type: import('vue').PropType<import('./button').ButtonSize>;
|
|
114
114
|
readonly default: "md";
|
|
115
115
|
};
|
|
116
116
|
readonly variant: {
|
|
117
|
-
readonly type: import('vue').PropType<import('
|
|
117
|
+
readonly type: import('vue').PropType<import('./button').ButtonVariant>;
|
|
118
118
|
readonly default: "solid";
|
|
119
119
|
};
|
|
120
120
|
readonly disabled: {
|
|
@@ -186,23 +186,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
186
186
|
readonly default: "";
|
|
187
187
|
};
|
|
188
188
|
readonly iconSize: {
|
|
189
|
-
readonly type: import('vue').PropType<import('
|
|
189
|
+
readonly type: import('vue').PropType<import('./button').ButtonSize>;
|
|
190
190
|
readonly default: "";
|
|
191
191
|
};
|
|
192
192
|
readonly prefixIconSize: {
|
|
193
|
-
readonly type: import('vue').PropType<import('
|
|
193
|
+
readonly type: import('vue').PropType<import('./button').ButtonSize>;
|
|
194
194
|
readonly default: "";
|
|
195
195
|
};
|
|
196
196
|
readonly suffixIconSize: {
|
|
197
|
-
readonly type: import('vue').PropType<import('
|
|
197
|
+
readonly type: import('vue').PropType<import('./button').ButtonSize>;
|
|
198
198
|
readonly default: "";
|
|
199
199
|
};
|
|
200
200
|
}>> & Readonly<{
|
|
201
201
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
202
202
|
}>, {
|
|
203
203
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
204
|
-
readonly type: import('
|
|
205
|
-
readonly variant: import('
|
|
204
|
+
readonly type: import('./button').ButtonType;
|
|
205
|
+
readonly variant: import('./button').ButtonVariant;
|
|
206
206
|
readonly disabled: boolean;
|
|
207
207
|
readonly loading: boolean;
|
|
208
208
|
readonly block: boolean;
|