@central-design-system/components 3.1.0 → 3.2.1
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/cds.css +1 -1
- package/dist/cds.d.ts +11 -1
- package/dist/cds.es.js +6817 -6441
- package/dist/cds.es.js.map +1 -1
- package/dist/cds.umd.js +5 -5
- package/dist/cds.umd.js.map +1 -1
- package/dist/components/CdsCard/CdsCard.d.ts +262 -0
- package/dist/components/CdsCard/CdsCardActions.d.ts +26 -0
- package/dist/components/CdsCard/CdsCardDivider.d.ts +17 -0
- package/dist/components/CdsCard/CdsCardGroup.d.ts +90 -0
- package/dist/components/CdsCard/CdsCardItem.d.ts +53 -0
- package/dist/components/CdsCard/CdsCardSubtitle.d.ts +17 -0
- package/dist/components/CdsCard/CdsCardText.d.ts +17 -0
- package/dist/components/CdsCard/CdsCardTitle.d.ts +17 -0
- package/dist/components/CdsCard/context.d.ts +10 -0
- package/dist/components/CdsCard/index.d.ts +8 -0
- package/dist/components/CdsContainer/CdsContainer.d.ts +1 -1
- package/dist/components/CdsDrawer/CdsDrawer.d.ts +1 -1
- package/dist/components/CdsGrid/CdsGrid.d.ts +1 -1
- package/dist/components/CdsImage/CdsImage.d.ts +11 -0
- package/dist/components/CdsSkeletonLoader/CdsSkeletonLoader.d.ts +1 -1
- package/dist/components/index.d.ts +10 -1
- package/dist/utils/dom/anchor.d.ts +1 -1
- package/dist/utils/helpers.d.ts +5 -0
- package/package.json +2 -2
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare const componentName = "CdsCard";
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
theme: {
|
|
5
|
+
type: PropType<import('../../composable').TTheme | string>;
|
|
6
|
+
available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark"];
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
9
|
+
disabled: {
|
|
10
|
+
type: PropType<boolean>;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
value: {
|
|
14
|
+
type: null;
|
|
15
|
+
default: undefined;
|
|
16
|
+
};
|
|
17
|
+
selectedClass: {
|
|
18
|
+
type: PropType<string>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
href: {
|
|
22
|
+
type: PropType<string>;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
to: {
|
|
26
|
+
type: PropType<import('vue-router').RouteLocationRaw>;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
tag: {
|
|
30
|
+
type: PropType<string>;
|
|
31
|
+
default: string;
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
height: {
|
|
35
|
+
type: PropType<number | string>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
width: {
|
|
39
|
+
type: PropType<number | string>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
maxHeight: {
|
|
43
|
+
type: PropType<number | string>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
maxWidth: {
|
|
47
|
+
type: PropType<number | string>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
minHeight: {
|
|
51
|
+
type: PropType<number | string>;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
minWidth: {
|
|
55
|
+
type: PropType<number | string>;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
loading: {
|
|
59
|
+
type: PropType<boolean>;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
prependIcon: {
|
|
63
|
+
type: PropType<import('@central-design-system/icons').TCdsIconsName>;
|
|
64
|
+
default: undefined;
|
|
65
|
+
validator: (value: import('@central-design-system/icons').TCdsIconsName) => boolean;
|
|
66
|
+
};
|
|
67
|
+
appendIcon: {
|
|
68
|
+
type: PropType<import('@central-design-system/icons').TCdsIconsName>;
|
|
69
|
+
default: undefined;
|
|
70
|
+
validator: (value: import('@central-design-system/icons').TCdsIconsName) => boolean;
|
|
71
|
+
};
|
|
72
|
+
text: {
|
|
73
|
+
type: PropType<string | number>;
|
|
74
|
+
default: undefined;
|
|
75
|
+
};
|
|
76
|
+
title: {
|
|
77
|
+
type: PropType<string>;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Весь компонент кликабельный. Так же применяется, если есть атрибуты href или to
|
|
82
|
+
*/
|
|
83
|
+
interactive: {
|
|
84
|
+
type: PropType<boolean>;
|
|
85
|
+
default: undefined;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Фоновое изображение
|
|
89
|
+
*/
|
|
90
|
+
image: {
|
|
91
|
+
type: PropType<string>;
|
|
92
|
+
default: undefined;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Подзаголовок
|
|
96
|
+
*/
|
|
97
|
+
subtitle: {
|
|
98
|
+
type: PropType<string>;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Отобразить разделитель между заголовком и текстом
|
|
103
|
+
*/
|
|
104
|
+
divider: {
|
|
105
|
+
type: PropType<boolean>;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Состояние выбранное карточки
|
|
110
|
+
*/
|
|
111
|
+
selected: {
|
|
112
|
+
type: PropType<boolean>;
|
|
113
|
+
default: undefined;
|
|
114
|
+
};
|
|
115
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
116
|
+
click: (event: MouseEvent) => true;
|
|
117
|
+
'group:selected': (value: {
|
|
118
|
+
value: boolean;
|
|
119
|
+
}) => true;
|
|
120
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
121
|
+
theme: {
|
|
122
|
+
type: PropType<import('../../composable').TTheme | string>;
|
|
123
|
+
available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark"];
|
|
124
|
+
default: undefined;
|
|
125
|
+
};
|
|
126
|
+
disabled: {
|
|
127
|
+
type: PropType<boolean>;
|
|
128
|
+
default: boolean;
|
|
129
|
+
};
|
|
130
|
+
value: {
|
|
131
|
+
type: null;
|
|
132
|
+
default: undefined;
|
|
133
|
+
};
|
|
134
|
+
selectedClass: {
|
|
135
|
+
type: PropType<string>;
|
|
136
|
+
default: undefined;
|
|
137
|
+
};
|
|
138
|
+
href: {
|
|
139
|
+
type: PropType<string>;
|
|
140
|
+
default: undefined;
|
|
141
|
+
};
|
|
142
|
+
to: {
|
|
143
|
+
type: PropType<import('vue-router').RouteLocationRaw>;
|
|
144
|
+
default: undefined;
|
|
145
|
+
};
|
|
146
|
+
tag: {
|
|
147
|
+
type: PropType<string>;
|
|
148
|
+
default: string;
|
|
149
|
+
description: string;
|
|
150
|
+
};
|
|
151
|
+
height: {
|
|
152
|
+
type: PropType<number | string>;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
width: {
|
|
156
|
+
type: PropType<number | string>;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
maxHeight: {
|
|
160
|
+
type: PropType<number | string>;
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
maxWidth: {
|
|
164
|
+
type: PropType<number | string>;
|
|
165
|
+
default: string;
|
|
166
|
+
};
|
|
167
|
+
minHeight: {
|
|
168
|
+
type: PropType<number | string>;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
minWidth: {
|
|
172
|
+
type: PropType<number | string>;
|
|
173
|
+
default: string;
|
|
174
|
+
};
|
|
175
|
+
loading: {
|
|
176
|
+
type: PropType<boolean>;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
prependIcon: {
|
|
180
|
+
type: PropType<import('@central-design-system/icons').TCdsIconsName>;
|
|
181
|
+
default: undefined;
|
|
182
|
+
validator: (value: import('@central-design-system/icons').TCdsIconsName) => boolean;
|
|
183
|
+
};
|
|
184
|
+
appendIcon: {
|
|
185
|
+
type: PropType<import('@central-design-system/icons').TCdsIconsName>;
|
|
186
|
+
default: undefined;
|
|
187
|
+
validator: (value: import('@central-design-system/icons').TCdsIconsName) => boolean;
|
|
188
|
+
};
|
|
189
|
+
text: {
|
|
190
|
+
type: PropType<string | number>;
|
|
191
|
+
default: undefined;
|
|
192
|
+
};
|
|
193
|
+
title: {
|
|
194
|
+
type: PropType<string>;
|
|
195
|
+
default: string;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Весь компонент кликабельный. Так же применяется, если есть атрибуты href или to
|
|
199
|
+
*/
|
|
200
|
+
interactive: {
|
|
201
|
+
type: PropType<boolean>;
|
|
202
|
+
default: undefined;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Фоновое изображение
|
|
206
|
+
*/
|
|
207
|
+
image: {
|
|
208
|
+
type: PropType<string>;
|
|
209
|
+
default: undefined;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Подзаголовок
|
|
213
|
+
*/
|
|
214
|
+
subtitle: {
|
|
215
|
+
type: PropType<string>;
|
|
216
|
+
default: string;
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* Отобразить разделитель между заголовком и текстом
|
|
220
|
+
*/
|
|
221
|
+
divider: {
|
|
222
|
+
type: PropType<boolean>;
|
|
223
|
+
default: boolean;
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* Состояние выбранное карточки
|
|
227
|
+
*/
|
|
228
|
+
selected: {
|
|
229
|
+
type: PropType<boolean>;
|
|
230
|
+
default: undefined;
|
|
231
|
+
};
|
|
232
|
+
}>> & Readonly<{
|
|
233
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
234
|
+
"onGroup:selected"?: ((value: {
|
|
235
|
+
value: boolean;
|
|
236
|
+
}) => any) | undefined;
|
|
237
|
+
}>, {
|
|
238
|
+
text: string | number;
|
|
239
|
+
title: string;
|
|
240
|
+
to: import('vue-router').RouteLocationRaw;
|
|
241
|
+
href: string;
|
|
242
|
+
tag: string;
|
|
243
|
+
prependIcon: "link" | "search" | "bold" | "delete" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "bookmark-fill" | "bookmark" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "fill" | "filters" | "flag" | "format" | "formula" | "funnel" | "globe" | "highlight" | "infinity" | "info-fill" | "info" | "insert" | "italic" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "sorting-down" | "sorting-up" | "sorting" | "source" | "star-fill" | "star" | "tab-backward" | "tab-forward" | "telegram" | "timer" | "tool" | "truck" | "underline" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "whatsapp" | "winner" | "workspace" | "youtube";
|
|
244
|
+
appendIcon: "link" | "search" | "bold" | "delete" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "bookmark-fill" | "bookmark" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "fill" | "filters" | "flag" | "format" | "formula" | "funnel" | "globe" | "highlight" | "infinity" | "info-fill" | "info" | "insert" | "italic" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "sorting-down" | "sorting-up" | "sorting" | "source" | "star-fill" | "star" | "tab-backward" | "tab-forward" | "telegram" | "timer" | "tool" | "truck" | "underline" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "whatsapp" | "winner" | "workspace" | "youtube";
|
|
245
|
+
loading: boolean;
|
|
246
|
+
disabled: boolean;
|
|
247
|
+
value: any;
|
|
248
|
+
selected: boolean;
|
|
249
|
+
height: string | number;
|
|
250
|
+
width: string | number;
|
|
251
|
+
maxHeight: string | number;
|
|
252
|
+
maxWidth: string | number;
|
|
253
|
+
minHeight: string | number;
|
|
254
|
+
minWidth: string | number;
|
|
255
|
+
theme: string;
|
|
256
|
+
image: string;
|
|
257
|
+
selectedClass: string;
|
|
258
|
+
subtitle: string;
|
|
259
|
+
interactive: boolean;
|
|
260
|
+
divider: boolean;
|
|
261
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
262
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const componentName = "CdsCardActions";
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
align: {
|
|
4
|
+
type: import('vue').PropType<import('../../composable').TAlign>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
tag: {
|
|
8
|
+
type: import('vue').PropType<string>;
|
|
9
|
+
default: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
align: {
|
|
14
|
+
type: import('vue').PropType<import('../../composable').TAlign>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
tag: {
|
|
18
|
+
type: import('vue').PropType<string>;
|
|
19
|
+
default: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{}>, {
|
|
23
|
+
align: string;
|
|
24
|
+
tag: string;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const componentName = "CdsCardDivider";
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
tag: {
|
|
4
|
+
type: import('vue').PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
tag: {
|
|
10
|
+
type: import('vue').PropType<string>;
|
|
11
|
+
default: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{}>, {
|
|
15
|
+
tag: string;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export declare const componentName = "CdsCardGroup";
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
theme: {
|
|
4
|
+
type: import('vue').PropType<import('../../composable').TTheme | string>;
|
|
5
|
+
available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark"];
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
tag: {
|
|
9
|
+
type: import('vue').PropType<string>;
|
|
10
|
+
default: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
direction: {
|
|
14
|
+
type: import('vue').PropType<import('../../composable').TDirection>;
|
|
15
|
+
default: string;
|
|
16
|
+
available: readonly ["horizontal", "vertical"];
|
|
17
|
+
validator: (value: import('../../composable').TDirection) => boolean;
|
|
18
|
+
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: null;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
multiple: {
|
|
24
|
+
type: import('vue').PropType<boolean>;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
required: {
|
|
28
|
+
type: import('vue').PropType<boolean | "force">;
|
|
29
|
+
default: undefined;
|
|
30
|
+
};
|
|
31
|
+
max: {
|
|
32
|
+
type: import('vue').PropType<number>;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
selectedClass: {
|
|
36
|
+
type: import('vue').PropType<string>;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
39
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
+
'update:modelValue': (value: any) => true;
|
|
41
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
42
|
+
theme: {
|
|
43
|
+
type: import('vue').PropType<import('../../composable').TTheme | string>;
|
|
44
|
+
available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark"];
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
tag: {
|
|
48
|
+
type: import('vue').PropType<string>;
|
|
49
|
+
default: string;
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
direction: {
|
|
53
|
+
type: import('vue').PropType<import('../../composable').TDirection>;
|
|
54
|
+
default: string;
|
|
55
|
+
available: readonly ["horizontal", "vertical"];
|
|
56
|
+
validator: (value: import('../../composable').TDirection) => boolean;
|
|
57
|
+
};
|
|
58
|
+
modelValue: {
|
|
59
|
+
type: null;
|
|
60
|
+
default: undefined;
|
|
61
|
+
};
|
|
62
|
+
multiple: {
|
|
63
|
+
type: import('vue').PropType<boolean>;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
required: {
|
|
67
|
+
type: import('vue').PropType<boolean | "force">;
|
|
68
|
+
default: undefined;
|
|
69
|
+
};
|
|
70
|
+
max: {
|
|
71
|
+
type: import('vue').PropType<number>;
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
selectedClass: {
|
|
75
|
+
type: import('vue').PropType<string>;
|
|
76
|
+
default: undefined;
|
|
77
|
+
};
|
|
78
|
+
}>> & Readonly<{
|
|
79
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
80
|
+
}>, {
|
|
81
|
+
tag: string;
|
|
82
|
+
multiple: boolean;
|
|
83
|
+
required: boolean | "force";
|
|
84
|
+
modelValue: any;
|
|
85
|
+
direction: "horizontal" | "vertical";
|
|
86
|
+
theme: string;
|
|
87
|
+
max: number;
|
|
88
|
+
selectedClass: string;
|
|
89
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
90
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare const componentName = "CdsCardItem";
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
prependIcon: {
|
|
5
|
+
type: PropType<import('@central-design-system/icons').TCdsIconsName>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
validator: (value: import('@central-design-system/icons').TCdsIconsName) => boolean;
|
|
8
|
+
};
|
|
9
|
+
appendIcon: {
|
|
10
|
+
type: PropType<import('@central-design-system/icons').TCdsIconsName>;
|
|
11
|
+
default: undefined;
|
|
12
|
+
validator: (value: import('@central-design-system/icons').TCdsIconsName) => boolean;
|
|
13
|
+
};
|
|
14
|
+
title: {
|
|
15
|
+
type: PropType<string>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Подзаголовок
|
|
20
|
+
*/
|
|
21
|
+
subtitle: {
|
|
22
|
+
type: PropType<string>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
+
prependIcon: {
|
|
27
|
+
type: PropType<import('@central-design-system/icons').TCdsIconsName>;
|
|
28
|
+
default: undefined;
|
|
29
|
+
validator: (value: import('@central-design-system/icons').TCdsIconsName) => boolean;
|
|
30
|
+
};
|
|
31
|
+
appendIcon: {
|
|
32
|
+
type: PropType<import('@central-design-system/icons').TCdsIconsName>;
|
|
33
|
+
default: undefined;
|
|
34
|
+
validator: (value: import('@central-design-system/icons').TCdsIconsName) => boolean;
|
|
35
|
+
};
|
|
36
|
+
title: {
|
|
37
|
+
type: PropType<string>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Подзаголовок
|
|
42
|
+
*/
|
|
43
|
+
subtitle: {
|
|
44
|
+
type: PropType<string>;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
}>> & Readonly<{}>, {
|
|
48
|
+
title: string;
|
|
49
|
+
prependIcon: "link" | "search" | "bold" | "delete" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "bookmark-fill" | "bookmark" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "fill" | "filters" | "flag" | "format" | "formula" | "funnel" | "globe" | "highlight" | "infinity" | "info-fill" | "info" | "insert" | "italic" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "sorting-down" | "sorting-up" | "sorting" | "source" | "star-fill" | "star" | "tab-backward" | "tab-forward" | "telegram" | "timer" | "tool" | "truck" | "underline" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "whatsapp" | "winner" | "workspace" | "youtube";
|
|
50
|
+
appendIcon: "link" | "search" | "bold" | "delete" | "add" | "administrator" | "alert-fill" | "alert" | "analog" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "bookmark-fill" | "bookmark" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "fill" | "filters" | "flag" | "format" | "formula" | "funnel" | "globe" | "highlight" | "infinity" | "info-fill" | "info" | "insert" | "italic" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "settings" | "shopping-cart" | "sort-date" | "sorting-down" | "sorting-up" | "sorting" | "source" | "star-fill" | "star" | "tab-backward" | "tab-forward" | "telegram" | "timer" | "tool" | "truck" | "underline" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "whatsapp" | "winner" | "workspace" | "youtube";
|
|
51
|
+
subtitle: string;
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const componentName = "CdsCardSubtitle";
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
tag: {
|
|
4
|
+
type: import('vue').PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
tag: {
|
|
10
|
+
type: import('vue').PropType<string>;
|
|
11
|
+
default: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{}>, {
|
|
15
|
+
tag: string;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const componentName = "CdsCardText";
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
tag: {
|
|
4
|
+
type: import('vue').PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
tag: {
|
|
10
|
+
type: import('vue').PropType<string>;
|
|
11
|
+
default: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{}>, {
|
|
15
|
+
tag: string;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const componentName = "CdsCardTitle";
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
tag: {
|
|
4
|
+
type: import('vue').PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
tag: {
|
|
10
|
+
type: import('vue').PropType<string>;
|
|
11
|
+
default: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{}>, {
|
|
15
|
+
tag: string;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IGroupItemProvide } from '../../composable';
|
|
2
|
+
import { InjectionKey, Ref } from 'vue';
|
|
3
|
+
export interface ICdsCardProvide {
|
|
4
|
+
rootRef: Ref<HTMLElement | undefined>;
|
|
5
|
+
multiple: Ref<boolean>;
|
|
6
|
+
}
|
|
7
|
+
export declare const CdsCardSymbol: InjectionKey<ICdsCardProvide>;
|
|
8
|
+
export declare const CdsCardGroupSymbol: InjectionKey<IGroupItemProvide>;
|
|
9
|
+
export declare const useProvideCard: (data: ICdsCardProvide) => void;
|
|
10
|
+
export declare const useInjectCard: () => ICdsCardProvide;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as CdsCard } from './CdsCard';
|
|
2
|
+
export { default as CdsCardGroup } from './CdsCardGroup';
|
|
3
|
+
export { default as CdsCardTitle } from './CdsCardTitle';
|
|
4
|
+
export { default as CdsCardSubtitle } from './CdsCardSubtitle';
|
|
5
|
+
export { default as CdsCardText } from './CdsCardText';
|
|
6
|
+
export { default as CdsCardActions } from './CdsCardActions';
|
|
7
|
+
export { default as CdsCardItem } from './CdsCardItem';
|
|
8
|
+
export { default as CdsCardDivider } from './CdsCardDivider';
|
|
@@ -210,9 +210,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
210
210
|
max: number;
|
|
211
211
|
selectedClass: string;
|
|
212
212
|
locale: import('../../locale').ILocale | "ru" | "en";
|
|
213
|
+
touch: boolean | ITouchHandlers;
|
|
213
214
|
onlySingle: boolean;
|
|
214
215
|
continuous: boolean;
|
|
215
|
-
touch: boolean | ITouchHandlers;
|
|
216
216
|
}, {}, {}, {
|
|
217
217
|
Touch: {
|
|
218
218
|
mounted: (el: HTMLElement, binding: import('../../directives/touch').ITouchDirectiveBinding) => void;
|
|
@@ -257,10 +257,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
257
257
|
minWidth: string | number;
|
|
258
258
|
theme: string;
|
|
259
259
|
right: boolean;
|
|
260
|
+
border: boolean;
|
|
260
261
|
permanent: boolean;
|
|
261
262
|
temporary: boolean;
|
|
262
263
|
minified: boolean;
|
|
263
|
-
border: boolean;
|
|
264
264
|
fixedSlots: boolean;
|
|
265
265
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
266
266
|
export default _default;
|
|
@@ -48,8 +48,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
48
48
|
}>> & Readonly<{}>, {
|
|
49
49
|
tag: string;
|
|
50
50
|
condensed: boolean;
|
|
51
|
-
narrow: boolean;
|
|
52
51
|
subgrid: boolean;
|
|
52
|
+
narrow: boolean;
|
|
53
53
|
wide: boolean;
|
|
54
54
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
55
55
|
export default _default;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { ISrcObject } from './composable';
|
|
2
2
|
export declare const componentName = "CdsImage";
|
|
3
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
theme: {
|
|
5
|
+
type: import('vue').PropType<import('../../composable').TTheme | string>;
|
|
6
|
+
available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark"];
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
4
9
|
transition: {
|
|
5
10
|
type: import('vue').PropType<string | boolean | (import('vue').TransitionProps & {
|
|
6
11
|
component?: import('vue').Component;
|
|
@@ -120,6 +125,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
120
125
|
load: (value: string | undefined) => true;
|
|
121
126
|
error: (value: string | undefined) => true;
|
|
122
127
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
128
|
+
theme: {
|
|
129
|
+
type: import('vue').PropType<import('../../composable').TTheme | string>;
|
|
130
|
+
available: readonly ["cdsLight", "cdsDark", "b2bLight", "b2bDark"];
|
|
131
|
+
default: undefined;
|
|
132
|
+
};
|
|
123
133
|
transition: {
|
|
124
134
|
type: import('vue').PropType<string | boolean | (import('vue').TransitionProps & {
|
|
125
135
|
component?: import('vue').Component;
|
|
@@ -245,6 +255,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
245
255
|
maxWidth: string | number;
|
|
246
256
|
minHeight: string | number;
|
|
247
257
|
minWidth: string | number;
|
|
258
|
+
theme: string;
|
|
248
259
|
absolute: boolean;
|
|
249
260
|
position: string;
|
|
250
261
|
options: IntersectionObserverInit;
|
|
@@ -119,7 +119,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
119
119
|
};
|
|
120
120
|
}>> & Readonly<{}>, {
|
|
121
121
|
loading: boolean;
|
|
122
|
-
type: "text" | "article" | "button" | "table" | (string & {}) | "block" | "
|
|
122
|
+
type: "text" | "article" | "button" | "table" | (string & {}) | "block" | "table-row" | "list-item" | "subtitle" | "divider" | "actions" | "chip" | "avatar" | "heading" | "sentences" | "paragraph" | "card" | "card-avatar" | "date-picker" | "date-picker-options" | "date-picker-days" | "list-item-avatar" | "list-item-two-line" | "list-item-avatar-two-line" | "list-item-three-line" | "list-item-avatar-three-line" | "table-heading" | "table-thead" | "table-tbody" | "table-row-divider" | "table-tfoot" | readonly ("text" | "article" | "button" | "table" | (string & {}) | "block" | "table-row" | "list-item" | "subtitle" | "divider" | "actions" | "chip" | "avatar" | "heading" | "sentences" | "paragraph" | "card" | "card-avatar" | "date-picker" | "date-picker-options" | "date-picker-days" | "list-item-avatar" | "list-item-two-line" | "list-item-avatar-two-line" | "list-item-three-line" | "list-item-avatar-three-line" | "table-heading" | "table-thead" | "table-tbody" | "table-row-divider" | "table-tfoot")[];
|
|
123
123
|
height: string | number;
|
|
124
124
|
width: string | number;
|
|
125
125
|
maxHeight: string | number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Automatically generated by CDS CLI
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on 5/16/2025, 6:41:34 PM
|
|
4
4
|
**/
|
|
5
5
|
export { default as CdsAutocomplete } from './CdsAutocomplete/CdsAutocomplete';
|
|
6
6
|
export { default as CdsBadge } from './CdsBadge/CdsBadge';
|
|
@@ -8,6 +8,14 @@ export { default as CdsBreadcrumbs } from './CdsBreadcrumbs/CdsBreadcrumbs';
|
|
|
8
8
|
export { default as CdsBreadcrumbsItem } from './CdsBreadcrumbs/CdsBreadcrumbsItem';
|
|
9
9
|
export { default as CdsButton } from './CdsButton/CdsButton';
|
|
10
10
|
export { default as CdsFunctionalButton } from './CdsButton/CdsFunctionalButton';
|
|
11
|
+
export { default as CdsCard } from './CdsCard/CdsCard';
|
|
12
|
+
export { default as CdsCardActions } from './CdsCard/CdsCardActions';
|
|
13
|
+
export { default as CdsCardDivider } from './CdsCard/CdsCardDivider';
|
|
14
|
+
export { default as CdsCardGroup } from './CdsCard/CdsCardGroup';
|
|
15
|
+
export { default as CdsCardItem } from './CdsCard/CdsCardItem';
|
|
16
|
+
export { default as CdsCardSubtitle } from './CdsCard/CdsCardSubtitle';
|
|
17
|
+
export { default as CdsCardText } from './CdsCard/CdsCardText';
|
|
18
|
+
export { default as CdsCardTitle } from './CdsCard/CdsCardTitle';
|
|
11
19
|
export { default as CdsCheckbox } from './CdsCheckbox/CdsCheckbox';
|
|
12
20
|
export { default as CdsCheckboxGroup } from './CdsCheckbox/CdsCheckboxGroup';
|
|
13
21
|
export { default as CdsCombobox } from './CdsCombobox/CdsCombobox';
|
|
@@ -84,6 +92,7 @@ export * from './CdsAutocomplete';
|
|
|
84
92
|
export * from './CdsBadge';
|
|
85
93
|
export * from './CdsBreadcrumbs';
|
|
86
94
|
export * from './CdsButton';
|
|
95
|
+
export * from './CdsCard';
|
|
87
96
|
export * from './CdsCheckbox';
|
|
88
97
|
export * from './CdsCombobox';
|
|
89
98
|
export * from './CdsContainer';
|