@central-design-system/components 3.0.0-beta.0 → 3.0.0-beta.11
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 +3 -0
- package/dist/cds.es.js +9693 -8457
- package/dist/cds.umd.js +7 -3
- package/dist/components/CdsAutocomplete/CdsAutocomplete.vue.d.ts +114 -62
- package/dist/components/CdsBadge/CdsBadge.vue.d.ts +35 -14
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbs.vue.d.ts +12 -5
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbsItem.vue.d.ts +12 -6
- package/dist/components/CdsButton/CdsButton.vue.d.ts +25 -14
- package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +11 -0
- package/dist/components/CdsCheckbox/CdsCheckboxGroup.vue.d.ts +13 -0
- package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +184 -470
- package/dist/components/CdsContainer/CdsContainer.vue.d.ts +37 -24
- package/dist/components/CdsContainer/CdsContainerItem.vue.d.ts +1 -1
- package/dist/components/CdsContentSwitcher/CdsContentSwitcher.vue.d.ts +66 -0
- package/dist/components/CdsContentSwitcher/CdsContentSwitcherItem.vue.d.ts +212 -0
- package/dist/components/CdsContentSwitcher/index.d.ts +2 -0
- package/dist/components/CdsDatePicker/CdsDatePicker.vue.d.ts +12 -7
- package/dist/components/CdsDrawer/CdsDrawer.vue.d.ts +12 -0
- package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +236 -485
- package/dist/components/CdsEmptyState/CdsEmptyState.vue.d.ts +3 -3
- package/dist/components/CdsExpandablePanel/CdsExpandablePanel.vue.d.ts +11 -11
- package/dist/components/CdsExpandablePanel/CdsExpandablePanelContent.vue.d.ts +1 -1
- package/dist/components/CdsExpandablePanel/CdsExpandablePanelTitle.vue.d.ts +11 -11
- package/dist/components/CdsExpandablePanel/CdsExpandablePanels.vue.d.ts +14 -3
- package/dist/components/CdsExpandablePanel/composable/expandablePanelTitleProps.d.ts +2 -2
- package/dist/components/CdsFooter/CdsFooter.vue.d.ts +12 -1
- package/dist/components/CdsForm/CdsForm.vue.d.ts +12 -28
- package/dist/components/CdsHeader/CdsHeader.vue.d.ts +12 -1
- package/dist/components/CdsIcon/CdsIcon.vue.d.ts +16 -3
- package/dist/components/CdsInput/CdsInput.vue.d.ts +23 -39
- package/dist/components/CdsInput/CdsInputMessages.vue.d.ts +5 -5
- package/dist/components/CdsLayout/CdsLayout.vue.d.ts +13 -4
- package/dist/components/CdsLink/CdsLink.vue.d.ts +12 -0
- package/dist/components/CdsList/CdsList.vue.d.ts +12 -5
- package/dist/components/CdsList/CdsListGroup.vue.d.ts +7 -7
- package/dist/components/CdsList/CdsListItem.vue.d.ts +14 -26
- package/dist/components/CdsLoader/CdsLoader.vue.d.ts +12 -0
- package/dist/components/CdsMain/CdsMain.vue.d.ts +1 -1
- package/dist/components/CdsMenu/CdsMenu.vue.d.ts +12 -336
- package/dist/components/CdsModal/CdsModal.vue.d.ts +12 -341
- package/dist/components/CdsNotification/CdsNotification.vue.d.ts +35 -24
- package/dist/components/CdsNotification/CdsNotificationAlert.vue.d.ts +28 -351
- package/dist/components/CdsNotification/composable/notification.d.ts +3 -3
- package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +2 -8
- package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +11 -11
- package/dist/components/CdsPage/CdsPage.vue.d.ts +1 -1
- package/dist/components/CdsPagination/CdsPagination.vue.d.ts +13 -7
- package/dist/components/CdsProgress/CdsProgress.vue.d.ts +13 -2
- package/dist/components/CdsRadioButton/CdsRadio.vue.d.ts +224 -0
- package/dist/components/CdsRadioButton/CdsRadioButton.vue.d.ts +13 -0
- package/dist/components/CdsSelect/CdsSelect.vue.d.ts +77 -71
- package/dist/components/CdsSidebar/CdsSidebar.vue.d.ts +30 -8
- package/dist/components/CdsSkeletonLoader/CdsSkeletonLoader.vue.d.ts +14 -3
- package/dist/components/CdsSlideGroup/CdsSlideGroup.vue.d.ts +19 -19
- package/dist/components/CdsStages/CdsStages.vue.d.ts +12 -0
- package/dist/components/CdsStatus/CdsStatus.vue.d.ts +12 -0
- package/dist/components/CdsSteps/CdsSteps.vue.d.ts +31 -28
- package/dist/components/CdsTable/CdsTable.vue.d.ts +42 -16
- package/dist/components/CdsTable/components/Table/InternalTable.d.ts +23 -5
- package/dist/components/CdsTable/components/TableProvider.d.ts +33 -4
- package/dist/components/CdsTable/composable/scroll.d.ts +4607 -0
- package/dist/components/CdsTable/composable/table.d.ts +7 -1
- package/dist/components/CdsTabs/CdsTab.vue.d.ts +10 -10
- package/dist/components/CdsTabs/CdsTabs.vue.d.ts +48 -37
- package/dist/components/CdsTag/CdsTag.vue.d.ts +12 -0
- package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +81 -67
- package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +87 -73
- package/dist/components/CdsTimePicker/CdsTimePicker.vue.d.ts +11 -0
- package/dist/components/CdsToggle/CdsToggle.vue.d.ts +14 -9
- package/dist/components/CdsToolbar/CdsToolbar.vue.d.ts +11 -0
- package/dist/components/CdsTooltip/CdsTooltip.vue.d.ts +20 -335
- package/dist/components/CdsUploader/CdsUploader.vue.d.ts +61 -389
- package/dist/components/CdsUploader/components/AjaxUploader.d.ts +16 -16
- package/dist/components/CdsUploader/components/UploadList/ListItem.d.ts +42 -24
- package/dist/components/CdsUploader/components/UploadList/UploadList.d.ts +42 -24
- package/dist/components/CdsUploader/composable/upload.d.ts +25 -15
- package/dist/components/index.d.ts +3 -0
- package/dist/composable/datetime.d.ts +2 -2
- package/dist/composable/delay.d.ts +2 -2
- package/dist/composable/field.d.ts +5 -3
- package/dist/composable/filter.d.ts +8 -0
- package/dist/composable/form.d.ts +1 -1
- package/dist/composable/group.d.ts +2 -2
- package/dist/composable/icon.d.ts +2 -2
- package/dist/composable/index.d.ts +1 -0
- package/dist/composable/items.d.ts +6 -0
- package/dist/composable/loading.d.ts +2 -2
- package/dist/composable/nested/nested.d.ts +1 -2
- package/dist/composable/select.d.ts +31 -3
- package/dist/composable/tag.d.ts +0 -3
- package/dist/composable/theme.d.ts +82 -0
- package/dist/composable/variant.d.ts +1 -1
- package/dist/create.d.ts +5 -1
- package/dist/directives/index.d.ts +1 -0
- package/dist/directives/intersect/index.d.ts +19 -0
- package/dist/globals.d.ts +8 -0
- package/dist/themes/b2b.d.ts +26 -0
- package/dist/themes/cds.d.ts +26 -0
- package/dist/themes/dark.d.ts +26 -0
- package/dist/themes/index.d.ts +5 -0
- package/dist/themes/promo.d.ts +26 -0
- package/dist/themes/themes.d.ts +10 -0
- package/dist/transitions/createTransition.d.ts +1 -1
- package/dist/transitions/index.d.ts +10 -10
- package/dist/utils/colors.d.ts +368 -0
- package/dist/utils/colorsUtils/APCA.d.ts +7 -0
- package/dist/utils/colorsUtils/index.d.ts +1 -0
- package/dist/utils/colorsUtils/transformCIELAB.d.ts +3 -0
- package/dist/utils/colorsUtils/transformSRGB.d.ts +3 -0
- package/dist/utils/colorsUtils/utils.d.ts +41 -0
- package/dist/utils/date/date.d.ts +12 -12
- package/dist/utils/helpers.d.ts +30 -0
- package/dist/utils/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/scss/modules/grid/_mixins.scss +4 -2
- package/src/scss/themes/index.ts +1 -1
- package/src/scss/utility/display.scss +56 -5
- package/src/scss/utility/flexbox.scss +26 -28
- package/src/scss/utility/index.scss +0 -2
- package/src/scss/utility/layout.scss +65 -3
- package/src/scss/utility/spacing.scss +46 -86
- package/src/scss/utility/variables/display.scss +10 -0
- package/src/scss/utility/variables/exports/_display.scss +7 -0
- package/src/scss/utility/variables/exports/_flex.scss +13 -0
- package/src/scss/utility/variables/exports/_overflow.scss +7 -0
- package/src/scss/utility/variables/exports/_position.scss +7 -0
- package/src/scss/utility/variables/exports/_spacing.scss +14 -0
- package/src/scss/utility/variables/exports/_visibility.scss +7 -0
- package/src/scss/utility/variables/exports/_widthHeight.scss +7 -0
- package/src/scss/utility/variables/flex.scss +140 -0
- package/src/scss/utility/variables/index.scss +11 -0
- package/src/scss/utility/variables/overflow.scss +6 -0
- package/src/scss/utility/variables/position.scss +7 -0
- package/src/scss/utility/variables/spacing.scss +37 -0
- package/src/scss/utility/variables/visibility.scss +5 -0
- package/src/scss/utility/variables/widthHeight.scss +69 -0
- package/src/scss/utility/generatedFiles/generatedStyles.json +0 -1
- package/src/scss/utility/generatedFiles/generatedStyles.scss +0 -300
- package/src/scss/utility/typography.scss +0 -16
- package/src/scss/utility/variables.scss +0 -116
|
@@ -1,32 +1,53 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
export declare const componentName = "CdsBadge";
|
|
3
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
theme: {
|
|
5
|
+
type: PropType<string>;
|
|
6
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
4
9
|
dark: {
|
|
5
10
|
type: PropType<boolean>;
|
|
6
11
|
default: boolean;
|
|
7
12
|
};
|
|
13
|
+
variant: {
|
|
14
|
+
type: PropType<"default" | "important">;
|
|
15
|
+
default: string;
|
|
16
|
+
validator: (value: "default" | "important") => boolean;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Число для счетчика
|
|
20
|
+
*/
|
|
8
21
|
count: {
|
|
9
|
-
type: PropType<number>;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
22
|
+
type: PropType<string | number | undefined>;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
theme: {
|
|
27
|
+
type: PropType<string>;
|
|
28
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
29
|
+
default: undefined;
|
|
30
|
+
};
|
|
18
31
|
dark: {
|
|
19
32
|
type: PropType<boolean>;
|
|
20
33
|
default: boolean;
|
|
21
34
|
};
|
|
35
|
+
variant: {
|
|
36
|
+
type: PropType<"default" | "important">;
|
|
37
|
+
default: string;
|
|
38
|
+
validator: (value: "default" | "important") => boolean;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Число для счетчика
|
|
42
|
+
*/
|
|
22
43
|
count: {
|
|
23
|
-
type: PropType<number>;
|
|
24
|
-
|
|
25
|
-
default: number;
|
|
26
|
-
description: string;
|
|
44
|
+
type: PropType<string | number | undefined>;
|
|
45
|
+
default: undefined;
|
|
27
46
|
};
|
|
28
47
|
}>>, {
|
|
29
48
|
dark: boolean;
|
|
30
|
-
|
|
49
|
+
theme: string;
|
|
50
|
+
variant: "default" | "important";
|
|
51
|
+
count: string | number | undefined;
|
|
31
52
|
}>;
|
|
32
53
|
export default _sfc_main;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export declare const componentName = "CdsBreadcrumbs";
|
|
2
2
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
theme: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
3
8
|
items: {
|
|
4
9
|
type: import("vue").PropType<any[]>;
|
|
5
10
|
default: () => never[];
|
|
@@ -24,11 +29,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
24
29
|
type: import("vue").PropType<boolean>;
|
|
25
30
|
default: boolean;
|
|
26
31
|
};
|
|
27
|
-
}, {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
theme: {
|
|
34
|
+
type: import("vue").PropType<string>;
|
|
35
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
32
38
|
items: {
|
|
33
39
|
type: import("vue").PropType<any[]>;
|
|
34
40
|
default: () => never[];
|
|
@@ -60,5 +66,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
60
66
|
itemChildren: import("../../composable").TItemKey;
|
|
61
67
|
itemProps: import("../../composable").TItemKey;
|
|
62
68
|
returnObject: boolean;
|
|
69
|
+
theme: string;
|
|
63
70
|
}>;
|
|
64
71
|
export default _sfc_main;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
export declare const componentName = "CdsBreadcrumbsItem";
|
|
3
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
theme: {
|
|
5
|
+
type: PropType<string>;
|
|
6
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
4
9
|
href: {
|
|
5
10
|
type: PropType<string>;
|
|
6
11
|
default: undefined;
|
|
@@ -20,12 +25,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
20
25
|
type: PropType<boolean>;
|
|
21
26
|
default: boolean;
|
|
22
27
|
};
|
|
23
|
-
}, {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
28
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
theme: {
|
|
30
|
+
type: PropType<string>;
|
|
31
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
29
34
|
href: {
|
|
30
35
|
type: PropType<string>;
|
|
31
36
|
default: undefined;
|
|
@@ -46,6 +51,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
46
51
|
default: boolean;
|
|
47
52
|
};
|
|
48
53
|
}>>, {
|
|
54
|
+
theme: string;
|
|
49
55
|
text: string;
|
|
50
56
|
href: string;
|
|
51
57
|
to: import("vue-router").RouteLocationRaw;
|
|
@@ -41,14 +41,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
41
41
|
default: boolean;
|
|
42
42
|
};
|
|
43
43
|
prependIcon: {
|
|
44
|
-
type: PropType<"search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
44
|
+
type: PropType<"search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
45
45
|
default: undefined;
|
|
46
|
-
validator: (value: "search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
46
|
+
validator: (value: "search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
47
47
|
};
|
|
48
48
|
appendIcon: {
|
|
49
|
-
type: PropType<"search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
49
|
+
type: PropType<"search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
50
50
|
default: undefined;
|
|
51
|
-
validator: (value: "search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
51
|
+
validator: (value: "search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
52
52
|
};
|
|
53
53
|
size: {
|
|
54
54
|
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
@@ -56,6 +56,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
56
56
|
available: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
57
57
|
validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
|
|
58
58
|
};
|
|
59
|
+
theme: {
|
|
60
|
+
type: PropType<string>;
|
|
61
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
59
64
|
appearance: {
|
|
60
65
|
type: PropType<"primary" | "secondary" | "transparent">;
|
|
61
66
|
default: string;
|
|
@@ -77,7 +82,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
77
82
|
* Название иконки (только иконка в кнопке) или `true` для иконки по умолчанию
|
|
78
83
|
*/
|
|
79
84
|
icon: {
|
|
80
|
-
type: PropType<boolean | "search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
85
|
+
type: PropType<boolean | "search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
81
86
|
default: undefined;
|
|
82
87
|
validator: (value: TCdsIconsName | boolean) => boolean;
|
|
83
88
|
};
|
|
@@ -87,7 +92,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
87
92
|
tag: string | import("vue").ComputedRef<string>;
|
|
88
93
|
type: string | undefined;
|
|
89
94
|
valueAttr: import("vue").ComputedRef<any>;
|
|
90
|
-
internalIcon: import("vue").ComputedRef<"search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined>;
|
|
95
|
+
internalIcon: import("vue").ComputedRef<"search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube" | undefined>;
|
|
91
96
|
hasPrepend: import("vue").ComputedRef<boolean>;
|
|
92
97
|
hasAppend: import("vue").ComputedRef<boolean>;
|
|
93
98
|
hasDefaultSlot: import("vue").ComputedRef<boolean>;
|
|
@@ -136,14 +141,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
136
141
|
default: boolean;
|
|
137
142
|
};
|
|
138
143
|
prependIcon: {
|
|
139
|
-
type: PropType<"search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
144
|
+
type: PropType<"search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
140
145
|
default: undefined;
|
|
141
|
-
validator: (value: "search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
146
|
+
validator: (value: "search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
142
147
|
};
|
|
143
148
|
appendIcon: {
|
|
144
|
-
type: PropType<"search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
149
|
+
type: PropType<"search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
145
150
|
default: undefined;
|
|
146
|
-
validator: (value: "search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
151
|
+
validator: (value: "search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
147
152
|
};
|
|
148
153
|
size: {
|
|
149
154
|
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
@@ -151,6 +156,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
151
156
|
available: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
152
157
|
validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
|
|
153
158
|
};
|
|
159
|
+
theme: {
|
|
160
|
+
type: PropType<string>;
|
|
161
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
162
|
+
default: undefined;
|
|
163
|
+
};
|
|
154
164
|
appearance: {
|
|
155
165
|
type: PropType<"primary" | "secondary" | "transparent">;
|
|
156
166
|
default: string;
|
|
@@ -172,7 +182,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
172
182
|
* Название иконки (только иконка в кнопке) или `true` для иконки по умолчанию
|
|
173
183
|
*/
|
|
174
184
|
icon: {
|
|
175
|
-
type: PropType<boolean | "search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
185
|
+
type: PropType<boolean | "search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
176
186
|
default: undefined;
|
|
177
187
|
validator: (value: TCdsIconsName | boolean) => boolean;
|
|
178
188
|
};
|
|
@@ -186,11 +196,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
186
196
|
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
187
197
|
disabled: boolean;
|
|
188
198
|
dark: boolean;
|
|
199
|
+
theme: string;
|
|
189
200
|
active: boolean;
|
|
190
201
|
text: string;
|
|
191
|
-
prependIcon: "search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
192
|
-
appendIcon: "search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
193
|
-
icon: boolean | "search" | "link" | "list" | "filters" | "add" | "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" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocolate-menu" | "clock" | "comment" | "company" | "compare" | "copy" | "data-cards" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "list-search" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
202
|
+
prependIcon: "search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
203
|
+
appendIcon: "search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
204
|
+
icon: boolean | "search" | "link" | "list" | "filters" | "add" | "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" | "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" | "delete" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "flag" | "funnel" | "globe" | "infinity" | "info-fill" | "info" | "insert" | "list-search" | "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" | "source" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
194
205
|
loading: boolean;
|
|
195
206
|
readonly: boolean;
|
|
196
207
|
href: string;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
export declare const componentName = "CdsCheckbox";
|
|
3
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
theme: {
|
|
5
|
+
type: PropType<string>;
|
|
6
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
4
9
|
readonly: {
|
|
5
10
|
type: PropType<boolean>;
|
|
6
11
|
default: boolean;
|
|
@@ -145,6 +150,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
145
150
|
*/
|
|
146
151
|
'update:indeterminate': (value: boolean) => true;
|
|
147
152
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
153
|
+
theme: {
|
|
154
|
+
type: PropType<string>;
|
|
155
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
156
|
+
default: undefined;
|
|
157
|
+
};
|
|
148
158
|
readonly: {
|
|
149
159
|
type: PropType<boolean>;
|
|
150
160
|
default: boolean;
|
|
@@ -234,6 +244,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
234
244
|
value: any;
|
|
235
245
|
description: string;
|
|
236
246
|
disabled: boolean;
|
|
247
|
+
theme: string;
|
|
237
248
|
name: string | undefined;
|
|
238
249
|
id: string;
|
|
239
250
|
indeterminate: boolean;
|
|
@@ -16,6 +16,11 @@ export declare const checkboxGroupProvideDefaultValue: ICheckboxGroupProvide;
|
|
|
16
16
|
export declare const CheckboxGroupKey: unique symbol;
|
|
17
17
|
export declare const componentName = "CdsCheckboxGroup";
|
|
18
18
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
19
|
+
theme: {
|
|
20
|
+
type: import("vue").PropType<string>;
|
|
21
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
19
24
|
readonly: {
|
|
20
25
|
type: import("vue").PropType<boolean>;
|
|
21
26
|
default: boolean;
|
|
@@ -113,6 +118,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
113
118
|
readonly readonly?: boolean | undefined;
|
|
114
119
|
readonly direction?: NonNullable<"horizontal" | "vertical"> | undefined;
|
|
115
120
|
readonly description?: string | undefined;
|
|
121
|
+
readonly theme?: string | undefined;
|
|
116
122
|
readonly name?: string | undefined;
|
|
117
123
|
readonly id?: string | undefined;
|
|
118
124
|
readonly label?: string | undefined;
|
|
@@ -122,7 +128,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
122
128
|
hasLabel: import("vue").ComputedRef<boolean>;
|
|
123
129
|
hasDescription: import("vue").ComputedRef<boolean>;
|
|
124
130
|
directionClasses: import("vue").ComputedRef<string>;
|
|
131
|
+
themeClasses: Readonly<import("vue").ComputedRef<string | undefined>>;
|
|
125
132
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
133
|
+
theme: {
|
|
134
|
+
type: import("vue").PropType<string>;
|
|
135
|
+
available: readonly ["cds", "b2b", "promo", "dark"];
|
|
136
|
+
default: undefined;
|
|
137
|
+
};
|
|
126
138
|
readonly: {
|
|
127
139
|
type: import("vue").PropType<boolean>;
|
|
128
140
|
default: boolean;
|
|
@@ -208,6 +220,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
208
220
|
value: any;
|
|
209
221
|
description: string;
|
|
210
222
|
disabled: boolean;
|
|
223
|
+
theme: string;
|
|
211
224
|
name: string | undefined;
|
|
212
225
|
id: string;
|
|
213
226
|
error: boolean;
|