@central-design-system/components 3.0.0-alpha.12 → 3.0.0-alpha.13
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 +10 -1
- package/dist/cds.es.js +7041 -6131
- package/dist/cds.umd.js +3 -3
- package/dist/components/CdsButton/CdsButton.vue.d.ts +70 -19
- package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +1 -1
- package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +4 -4
- package/dist/components/CdsContainer/CdsContainer.vue.d.ts +45 -46
- package/dist/components/CdsContainer/CdsContainerItem.vue.d.ts +3 -3
- package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +4 -4
- package/dist/components/CdsExpandablePanel/CdsExpandablePanel.vue.d.ts +119 -0
- package/dist/components/CdsExpandablePanel/CdsExpandablePanelContent.vue.d.ts +15 -0
- package/dist/components/CdsExpandablePanel/CdsExpandablePanelTitle.vue.d.ts +55 -0
- package/dist/components/CdsExpandablePanel/CdsExpandablePanels.vue.d.ts +115 -0
- package/dist/components/CdsExpandablePanel/composable/expandablePanelTitleProps.d.ts +31 -0
- package/dist/components/CdsExpandablePanel/composable/expandablePanels.d.ts +16 -0
- package/dist/components/CdsExpandablePanel/composable/index.d.ts +1 -0
- package/dist/components/CdsExpandablePanel/index.d.ts +4 -0
- package/dist/components/CdsList/CdsListGroup.vue.d.ts +1 -1
- package/dist/components/CdsModal/CdsModal.vue.d.ts +781 -0
- package/dist/components/CdsModal/index.d.ts +1 -0
- package/dist/components/CdsSelect/CdsSelect.vue.d.ts +2 -2
- package/dist/components/CdsSlideGroup/CdsSlideGroup.vue.d.ts +162 -0
- package/dist/components/CdsSlideGroup/CdsSlideGroupItem.vue.d.ts +43 -0
- package/dist/components/CdsSlideGroup/index.d.ts +2 -0
- package/dist/components/CdsSlideGroup/utils/calculate.d.ts +14 -0
- package/dist/components/CdsSlideGroup/utils/index.d.ts +1 -0
- package/dist/components/CdsTable/CdsTable.vue.d.ts +1 -1
- package/dist/components/CdsTable/components/Table/InternalTable.d.ts +1 -1
- package/dist/components/CdsTable/components/TableProvider.d.ts +1 -1
- package/dist/components/CdsTable/composable/scroll.d.ts +4608 -0
- package/dist/components/CdsTabs/CdsTab.vue.d.ts +132 -0
- package/dist/components/CdsTabs/CdsTabs.vue.d.ts +216 -0
- package/dist/components/CdsTabs/index.d.ts +2 -0
- package/dist/components/CdsTabs/shared.d.ts +3 -0
- package/dist/components/CdsTabs/utils/helpers.d.ts +2 -0
- package/dist/components/CdsTabs/utils/index.d.ts +1 -0
- package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +2 -2
- package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +2 -2
- package/dist/components/index.d.ts +14 -1
- package/dist/composable/align.d.ts +17 -0
- package/dist/composable/group.d.ts +31 -5
- package/dist/composable/index.d.ts +1 -0
- package/dist/composable/resizeObserver.d.ts +1 -1
- package/dist/transitions/index.d.ts +61 -0
- package/dist/transitions/modalTransition.d.ts +8 -0
- package/dist/utils/helpers.d.ts +3 -1
- package/package.json +3 -3
- package/src/scss/modules/_reset.scss +5 -0
- package/src/scss/modules/_transition.scss +48 -1
- package/src/scss/themes/index.ts +1 -1
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export declare const componentName = "CdsTab";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
loading: {
|
|
5
|
+
type: PropType<boolean>;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
readonly: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: PropType<boolean>;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
18
|
+
default: string;
|
|
19
|
+
available: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
20
|
+
validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
|
|
21
|
+
};
|
|
22
|
+
prependIcon: {
|
|
23
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
24
|
+
default: undefined;
|
|
25
|
+
validator: (value: "link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
26
|
+
};
|
|
27
|
+
appendIcon: {
|
|
28
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
29
|
+
default: undefined;
|
|
30
|
+
validator: (value: "link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
31
|
+
};
|
|
32
|
+
direction: {
|
|
33
|
+
type: PropType<"horizontal" | "vertical">;
|
|
34
|
+
default: string;
|
|
35
|
+
available: readonly ["horizontal", "vertical"];
|
|
36
|
+
validator: (value: "horizontal" | "vertical") => boolean;
|
|
37
|
+
};
|
|
38
|
+
text: {
|
|
39
|
+
type: PropType<string>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
value: {
|
|
43
|
+
type: null;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
selectedClass: Omit<{
|
|
47
|
+
type: PropType<string>;
|
|
48
|
+
default: undefined;
|
|
49
|
+
}, "default" | "type"> & {
|
|
50
|
+
type: PropType<string>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
hideSlider: {
|
|
54
|
+
type: PropType<boolean>;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
58
|
+
'group:selected': (value: {
|
|
59
|
+
value: boolean;
|
|
60
|
+
}) => boolean;
|
|
61
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
+
loading: {
|
|
63
|
+
type: PropType<boolean>;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
readonly: {
|
|
67
|
+
type: PropType<boolean>;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
disabled: {
|
|
71
|
+
type: PropType<boolean>;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
size: {
|
|
75
|
+
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
76
|
+
default: string;
|
|
77
|
+
available: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
78
|
+
validator: (value: "xs" | "sm" | "md" | "lg" | "xl") => boolean;
|
|
79
|
+
};
|
|
80
|
+
prependIcon: {
|
|
81
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
82
|
+
default: undefined;
|
|
83
|
+
validator: (value: "link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
84
|
+
};
|
|
85
|
+
appendIcon: {
|
|
86
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
87
|
+
default: undefined;
|
|
88
|
+
validator: (value: "link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
89
|
+
};
|
|
90
|
+
direction: {
|
|
91
|
+
type: PropType<"horizontal" | "vertical">;
|
|
92
|
+
default: string;
|
|
93
|
+
available: readonly ["horizontal", "vertical"];
|
|
94
|
+
validator: (value: "horizontal" | "vertical") => boolean;
|
|
95
|
+
};
|
|
96
|
+
text: {
|
|
97
|
+
type: PropType<string>;
|
|
98
|
+
default: undefined;
|
|
99
|
+
};
|
|
100
|
+
value: {
|
|
101
|
+
type: null;
|
|
102
|
+
default: undefined;
|
|
103
|
+
};
|
|
104
|
+
selectedClass: Omit<{
|
|
105
|
+
type: PropType<string>;
|
|
106
|
+
default: undefined;
|
|
107
|
+
}, "default" | "type"> & {
|
|
108
|
+
type: PropType<string>;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
hideSlider: {
|
|
112
|
+
type: PropType<boolean>;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
}>> & {
|
|
116
|
+
"onGroup:selected"?: ((value: {
|
|
117
|
+
value: boolean;
|
|
118
|
+
}) => any) | undefined;
|
|
119
|
+
}, {
|
|
120
|
+
text: string;
|
|
121
|
+
disabled: boolean;
|
|
122
|
+
value: any;
|
|
123
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
124
|
+
prependIcon: "link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
125
|
+
appendIcon: "link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
126
|
+
readonly: boolean;
|
|
127
|
+
loading: boolean;
|
|
128
|
+
selectedClass: string;
|
|
129
|
+
direction: "horizontal" | "vertical";
|
|
130
|
+
hideSlider: boolean;
|
|
131
|
+
}>;
|
|
132
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { TCdsTabItem } from './utils';
|
|
3
|
+
export declare const componentName = "CdsTabs";
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
|
+
prependIcon: Omit<{
|
|
6
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
7
|
+
default: undefined;
|
|
8
|
+
validator: (value: "link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
9
|
+
}, "default" | "type"> & {
|
|
10
|
+
type: PropType<NonNullable<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">>;
|
|
11
|
+
default: NonNullable<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
12
|
+
};
|
|
13
|
+
appendIcon: Omit<{
|
|
14
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
15
|
+
default: undefined;
|
|
16
|
+
validator: (value: "link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
17
|
+
}, "default" | "type"> & {
|
|
18
|
+
type: PropType<NonNullable<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">>;
|
|
19
|
+
default: NonNullable<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
20
|
+
};
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: null;
|
|
23
|
+
default: undefined;
|
|
24
|
+
};
|
|
25
|
+
multiple: {
|
|
26
|
+
type: PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
required: Omit<{
|
|
30
|
+
type: PropType<boolean | "force">;
|
|
31
|
+
default: undefined;
|
|
32
|
+
}, "default" | "type"> & {
|
|
33
|
+
type: PropType<NonNullable<boolean | "force">>;
|
|
34
|
+
default: NonNullable<boolean | "force">;
|
|
35
|
+
};
|
|
36
|
+
max: {
|
|
37
|
+
type: PropType<number>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
selectedClass: {
|
|
41
|
+
type: PropType<string>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
centerActive: {
|
|
45
|
+
type: PropType<boolean>;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
showArrows: {
|
|
49
|
+
type: PropType<string | boolean>;
|
|
50
|
+
validator: (value: any) => boolean;
|
|
51
|
+
};
|
|
52
|
+
disabled: {
|
|
53
|
+
type: PropType<boolean>;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
direction: {
|
|
57
|
+
type: PropType<"horizontal" | "vertical">;
|
|
58
|
+
default: string;
|
|
59
|
+
available: readonly ["horizontal", "vertical"];
|
|
60
|
+
validator: (value: "horizontal" | "vertical") => boolean;
|
|
61
|
+
};
|
|
62
|
+
align: {
|
|
63
|
+
type: PropType<string>;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
tag: {
|
|
67
|
+
type: PropType<string>;
|
|
68
|
+
default: string;
|
|
69
|
+
description: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Занимать все доступное пространство
|
|
73
|
+
*/
|
|
74
|
+
grow: {
|
|
75
|
+
type: PropType<boolean>;
|
|
76
|
+
default: undefined;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Доступная высота элементов
|
|
80
|
+
*/
|
|
81
|
+
height: {
|
|
82
|
+
type: PropType<string | number>;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Задавать высоту всех элементов по самому высокому элементу
|
|
87
|
+
*/
|
|
88
|
+
stacked: {
|
|
89
|
+
type: PropType<boolean>;
|
|
90
|
+
default: undefined;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Список элементов
|
|
94
|
+
*/
|
|
95
|
+
items: {
|
|
96
|
+
type: PropType<readonly TCdsTabItem[]>;
|
|
97
|
+
default: () => never[];
|
|
98
|
+
};
|
|
99
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
100
|
+
'update:modelValue': (value: unknown) => true;
|
|
101
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
102
|
+
prependIcon: Omit<{
|
|
103
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
104
|
+
default: undefined;
|
|
105
|
+
validator: (value: "link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
106
|
+
}, "default" | "type"> & {
|
|
107
|
+
type: PropType<NonNullable<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">>;
|
|
108
|
+
default: NonNullable<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
109
|
+
};
|
|
110
|
+
appendIcon: Omit<{
|
|
111
|
+
type: PropType<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
112
|
+
default: undefined;
|
|
113
|
+
validator: (value: "link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube") => boolean;
|
|
114
|
+
}, "default" | "type"> & {
|
|
115
|
+
type: PropType<NonNullable<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">>;
|
|
116
|
+
default: NonNullable<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
117
|
+
};
|
|
118
|
+
modelValue: {
|
|
119
|
+
type: null;
|
|
120
|
+
default: undefined;
|
|
121
|
+
};
|
|
122
|
+
multiple: {
|
|
123
|
+
type: PropType<boolean>;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
required: Omit<{
|
|
127
|
+
type: PropType<boolean | "force">;
|
|
128
|
+
default: undefined;
|
|
129
|
+
}, "default" | "type"> & {
|
|
130
|
+
type: PropType<NonNullable<boolean | "force">>;
|
|
131
|
+
default: NonNullable<boolean | "force">;
|
|
132
|
+
};
|
|
133
|
+
max: {
|
|
134
|
+
type: PropType<number>;
|
|
135
|
+
default: undefined;
|
|
136
|
+
};
|
|
137
|
+
selectedClass: {
|
|
138
|
+
type: PropType<string>;
|
|
139
|
+
default: undefined;
|
|
140
|
+
};
|
|
141
|
+
centerActive: {
|
|
142
|
+
type: PropType<boolean>;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
145
|
+
showArrows: {
|
|
146
|
+
type: PropType<string | boolean>;
|
|
147
|
+
validator: (value: any) => boolean;
|
|
148
|
+
};
|
|
149
|
+
disabled: {
|
|
150
|
+
type: PropType<boolean>;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
direction: {
|
|
154
|
+
type: PropType<"horizontal" | "vertical">;
|
|
155
|
+
default: string;
|
|
156
|
+
available: readonly ["horizontal", "vertical"];
|
|
157
|
+
validator: (value: "horizontal" | "vertical") => boolean;
|
|
158
|
+
};
|
|
159
|
+
align: {
|
|
160
|
+
type: PropType<string>;
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
tag: {
|
|
164
|
+
type: PropType<string>;
|
|
165
|
+
default: string;
|
|
166
|
+
description: string;
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* Занимать все доступное пространство
|
|
170
|
+
*/
|
|
171
|
+
grow: {
|
|
172
|
+
type: PropType<boolean>;
|
|
173
|
+
default: undefined;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Доступная высота элементов
|
|
177
|
+
*/
|
|
178
|
+
height: {
|
|
179
|
+
type: PropType<string | number>;
|
|
180
|
+
default: undefined;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* Задавать высоту всех элементов по самому высокому элементу
|
|
184
|
+
*/
|
|
185
|
+
stacked: {
|
|
186
|
+
type: PropType<boolean>;
|
|
187
|
+
default: undefined;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* Список элементов
|
|
191
|
+
*/
|
|
192
|
+
items: {
|
|
193
|
+
type: PropType<readonly TCdsTabItem[]>;
|
|
194
|
+
default: () => never[];
|
|
195
|
+
};
|
|
196
|
+
}>> & {
|
|
197
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
198
|
+
}, {
|
|
199
|
+
required: NonNullable<boolean | "force">;
|
|
200
|
+
disabled: boolean;
|
|
201
|
+
tag: string;
|
|
202
|
+
items: readonly TCdsTabItem[];
|
|
203
|
+
prependIcon: NonNullable<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
204
|
+
appendIcon: NonNullable<"link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube">;
|
|
205
|
+
selectedClass: string;
|
|
206
|
+
modelValue: any;
|
|
207
|
+
direction: "horizontal" | "vertical";
|
|
208
|
+
max: number;
|
|
209
|
+
height: string | number;
|
|
210
|
+
multiple: boolean;
|
|
211
|
+
centerActive: boolean;
|
|
212
|
+
align: string;
|
|
213
|
+
grow: boolean;
|
|
214
|
+
stacked: boolean;
|
|
215
|
+
}>;
|
|
216
|
+
export default _sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './helpers';
|
|
@@ -445,8 +445,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
445
445
|
readonly error?: boolean | undefined;
|
|
446
446
|
readonly readonly?: boolean | undefined;
|
|
447
447
|
readonly loading?: boolean | undefined;
|
|
448
|
-
readonly messages?: string | string[] | undefined;
|
|
449
448
|
readonly active?: boolean | undefined;
|
|
449
|
+
readonly messages?: string | string[] | undefined;
|
|
450
450
|
readonly persistentMessages?: boolean | undefined;
|
|
451
451
|
readonly errorMessages?: string | string[] | undefined;
|
|
452
452
|
readonly maxErrors?: string | number | undefined;
|
|
@@ -748,8 +748,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
748
748
|
appendIcon: "link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
749
749
|
readonly: boolean;
|
|
750
750
|
loading: boolean;
|
|
751
|
-
messages: string | string[];
|
|
752
751
|
active: boolean;
|
|
752
|
+
messages: string | string[];
|
|
753
753
|
id: string;
|
|
754
754
|
label: string;
|
|
755
755
|
persistentMessages: boolean;
|
|
@@ -417,8 +417,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
417
417
|
readonly error?: boolean | undefined;
|
|
418
418
|
readonly readonly?: boolean | undefined;
|
|
419
419
|
readonly loading?: boolean | undefined;
|
|
420
|
-
readonly messages?: string | string[] | undefined;
|
|
421
420
|
readonly active?: boolean | undefined;
|
|
421
|
+
readonly messages?: string | string[] | undefined;
|
|
422
422
|
readonly persistentMessages?: boolean | undefined;
|
|
423
423
|
readonly errorMessages?: string | string[] | undefined;
|
|
424
424
|
readonly maxErrors?: string | number | undefined;
|
|
@@ -705,8 +705,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
705
705
|
appendIcon: "link" | "filters" | "search" | "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" | "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" | "star-fill" | "star" | "telegram" | "timer" | "tool" | "truck" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "winner" | "workspace" | "youtube";
|
|
706
706
|
readonly: boolean;
|
|
707
707
|
loading: boolean;
|
|
708
|
-
messages: string | string[];
|
|
709
708
|
active: boolean;
|
|
709
|
+
messages: string | string[];
|
|
710
710
|
id: string;
|
|
711
711
|
label: string;
|
|
712
712
|
persistentMessages: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Automatically generated by CDS CLI
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on 8/1/2023, 2:07:52 PM
|
|
4
4
|
**/
|
|
5
5
|
export { default as CdsBadge } from './CdsBadge/CdsBadge.vue';
|
|
6
6
|
export { default as CdsBreadcrumbs } from './CdsBreadcrumbs/CdsBreadcrumbs.vue';
|
|
@@ -15,6 +15,10 @@ export { default as CdsDatePicker } from './CdsDatePicker/CdsDatePicker.vue';
|
|
|
15
15
|
export { default as CdsDrawer } from './CdsDrawer/CdsDrawer.vue';
|
|
16
16
|
export { default as CdsDropdown } from './CdsDropdown/CdsDropdown.vue';
|
|
17
17
|
export { default as CdsEmptyState } from './CdsEmptyState/CdsEmptyState.vue';
|
|
18
|
+
export { default as CdsExpandablePanel } from './CdsExpandablePanel/CdsExpandablePanel.vue';
|
|
19
|
+
export { default as CdsExpandablePanelContent } from './CdsExpandablePanel/CdsExpandablePanelContent.vue';
|
|
20
|
+
export { default as CdsExpandablePanels } from './CdsExpandablePanel/CdsExpandablePanels.vue';
|
|
21
|
+
export { default as CdsExpandablePanelTitle } from './CdsExpandablePanel/CdsExpandablePanelTitle.vue';
|
|
18
22
|
export { default as CdsForm } from './CdsForm/CdsForm.vue';
|
|
19
23
|
export { default as CdsCol } from './CdsGrid/CdsCol.vue';
|
|
20
24
|
export { default as CdsGrid } from './CdsGrid/CdsGrid.vue';
|
|
@@ -31,17 +35,22 @@ export { default as CdsListGroup } from './CdsList/CdsListGroup.vue';
|
|
|
31
35
|
export { default as CdsListItem } from './CdsList/CdsListItem.vue';
|
|
32
36
|
export { default as CdsLoader } from './CdsLoader/CdsLoader.vue';
|
|
33
37
|
export { default as CdsMenu } from './CdsMenu/CdsMenu.vue';
|
|
38
|
+
export { default as CdsModal } from './CdsModal/CdsModal.vue';
|
|
34
39
|
export { default as CdsOverlay } from './CdsOverlay/CdsOverlay.vue';
|
|
35
40
|
export { default as CdsPagination } from './CdsPagination/CdsPagination.vue';
|
|
36
41
|
export { default as CdsRadio } from './CdsRadioButton/CdsRadio.vue';
|
|
37
42
|
export { default as CdsRadioButton } from './CdsRadioButton/CdsRadioButton.vue';
|
|
38
43
|
export { default as CdsSelect } from './CdsSelect/CdsSelect.vue';
|
|
39
44
|
export { default as CdsSidebar } from './CdsSidebar/CdsSidebar.vue';
|
|
45
|
+
export { default as CdsSlideGroup } from './CdsSlideGroup/CdsSlideGroup.vue';
|
|
46
|
+
export { default as CdsSlideGroupItem } from './CdsSlideGroup/CdsSlideGroupItem.vue';
|
|
40
47
|
export { default as CdsStages } from './CdsStages/CdsStages.vue';
|
|
41
48
|
export { default as CdsStatus } from './CdsStatus/CdsStatus.vue';
|
|
42
49
|
export { default as CdsTable } from './CdsTable/CdsTable.vue';
|
|
43
50
|
export { default as CdsTableColumn } from './CdsTable/CdsTableColumn.vue';
|
|
44
51
|
export { default as CdsTableColumnGroup } from './CdsTable/CdsTableColumnGroup.vue';
|
|
52
|
+
export { default as CdsTab } from './CdsTabs/CdsTab.vue';
|
|
53
|
+
export { default as CdsTabs } from './CdsTabs/CdsTabs.vue';
|
|
45
54
|
export { default as CdsTag } from './CdsTag/CdsTag.vue';
|
|
46
55
|
export { default as CdsTextArea } from './CdsTextArea/CdsTextArea.vue';
|
|
47
56
|
export { default as CdsTextInput } from './CdsTextInput/CdsTextInput.vue';
|
|
@@ -57,6 +66,7 @@ export * from './CdsDatePicker';
|
|
|
57
66
|
export * from './CdsDrawer';
|
|
58
67
|
export * from './CdsDropdown';
|
|
59
68
|
export * from './CdsEmptyState';
|
|
69
|
+
export * from './CdsExpandablePanel';
|
|
60
70
|
export * from './CdsForm';
|
|
61
71
|
export * from './CdsGrid';
|
|
62
72
|
export * from './CdsIcon';
|
|
@@ -65,14 +75,17 @@ export * from './CdsLink';
|
|
|
65
75
|
export * from './CdsList';
|
|
66
76
|
export * from './CdsLoader';
|
|
67
77
|
export * from './CdsMenu';
|
|
78
|
+
export * from './CdsModal';
|
|
68
79
|
export * from './CdsOverlay';
|
|
69
80
|
export * from './CdsPagination';
|
|
70
81
|
export * from './CdsRadioButton';
|
|
71
82
|
export * from './CdsSelect';
|
|
72
83
|
export * from './CdsSidebar';
|
|
84
|
+
export * from './CdsSlideGroup';
|
|
73
85
|
export * from './CdsStages';
|
|
74
86
|
export * from './CdsStatus';
|
|
75
87
|
export * from './CdsTable';
|
|
88
|
+
export * from './CdsTabs';
|
|
76
89
|
export * from './CdsTag';
|
|
77
90
|
export * from './CdsTextArea';
|
|
78
91
|
export * from './CdsTextInput';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare type TAlign = typeof allowedAlign[number];
|
|
3
|
+
export declare const allowedAlign: string[];
|
|
4
|
+
export interface IAlignProps {
|
|
5
|
+
align: TAlign;
|
|
6
|
+
}
|
|
7
|
+
export declare const makeAlignProps: <Defaults extends {
|
|
8
|
+
align?: unknown;
|
|
9
|
+
} = {}>(defaults?: Defaults | undefined) => import('../utils').AppendDefault<{
|
|
10
|
+
/**
|
|
11
|
+
* Выравнивание
|
|
12
|
+
*/
|
|
13
|
+
align: {
|
|
14
|
+
type: PropType<string>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
}, Defaults>;
|