@central-design-system/components 3.0.0-alpha.11 → 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 +12 -1
- package/dist/cds.es.js +6373 -4956
- package/dist/cds.umd.js +3 -3
- package/dist/components/CdsButton/CdsButton.vue.d.ts +80 -29
- package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +1 -1
- package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +62 -62
- package/dist/components/CdsContainer/CdsContainer.vue.d.ts +219 -0
- package/dist/components/CdsContainer/CdsContainerItem.vue.d.ts +69 -0
- package/dist/components/CdsContainer/index.d.ts +2 -0
- package/dist/components/CdsDatePicker/CdsDatePicker.vue.d.ts +1 -1
- package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +62 -62
- 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/CdsIcon/CdsIcon.vue.d.ts +3 -3
- package/dist/components/CdsInput/CdsInput.vue.d.ts +10 -10
- package/dist/components/CdsList/CdsListGroup.vue.d.ts +7 -7
- package/dist/components/CdsList/CdsListItem.vue.d.ts +10 -10
- 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 +36 -36
- 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 +2 -2
- package/dist/components/CdsTable/components/Table/InternalTable.d.ts +2 -2
- package/dist/components/CdsTable/components/TableProvider.d.ts +2 -2
- 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 +36 -36
- package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +36 -36
- package/dist/components/CdsTimePicker/CdsTimePicker.vue.d.ts +1 -1
- package/dist/components/index.d.ts +17 -1
- package/dist/composable/align.d.ts +17 -0
- package/dist/composable/field.d.ts +2 -2
- package/dist/composable/group.d.ts +139 -0
- package/dist/composable/icon.d.ts +2 -2
- package/dist/composable/index.d.ts +3 -0
- package/dist/composable/resizeObserver.d.ts +1 -1
- package/dist/composable/ssrBoot.d.ts +6 -0
- package/dist/directives/index.d.ts +1 -0
- package/dist/directives/touch/index.d.ts +46 -0
- package/dist/globals.d.ts +5 -0
- package/dist/locale/index.d.ts +4 -0
- package/dist/transitions/index.d.ts +61 -0
- package/dist/transitions/modalTransition.d.ts +8 -0
- package/dist/utils/dom/anchor.d.ts +1 -1
- package/dist/utils/helpers.d.ts +9 -2
- 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,219 @@
|
|
|
1
|
+
import type { IGroupItemProvide } from '../../composable';
|
|
2
|
+
import type { PropType, InjectionKey, Ref, ComputedRef } from 'vue';
|
|
3
|
+
import type { ITouchHandlers } from '../../directives/touch';
|
|
4
|
+
export interface ICdsContainerProvide {
|
|
5
|
+
rootRef: Ref<HTMLElement | undefined>;
|
|
6
|
+
transition: ComputedRef<undefined | string>;
|
|
7
|
+
transitionCount: Ref<number>;
|
|
8
|
+
transitionHeight: Ref<undefined | string>;
|
|
9
|
+
isReversed: Ref<boolean>;
|
|
10
|
+
onlySingle: Ref<boolean>;
|
|
11
|
+
multiple: Ref<boolean>;
|
|
12
|
+
}
|
|
13
|
+
export declare const CdsContainerSymbol: InjectionKey<ICdsContainerProvide>;
|
|
14
|
+
export declare const CdsContainerGroupSymbol: InjectionKey<IGroupItemProvide>;
|
|
15
|
+
export declare const componentName = "CdsContainer";
|
|
16
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
17
|
+
prependIcon: Omit<{
|
|
18
|
+
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">;
|
|
19
|
+
default: undefined;
|
|
20
|
+
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;
|
|
21
|
+
}, "default" | "type"> & {
|
|
22
|
+
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">>;
|
|
23
|
+
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">;
|
|
24
|
+
};
|
|
25
|
+
appendIcon: Omit<{
|
|
26
|
+
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">;
|
|
27
|
+
default: undefined;
|
|
28
|
+
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;
|
|
29
|
+
}, "default" | "type"> & {
|
|
30
|
+
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">>;
|
|
31
|
+
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">;
|
|
32
|
+
};
|
|
33
|
+
disabled: {
|
|
34
|
+
type: PropType<boolean>;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
tag: {
|
|
38
|
+
type: PropType<string>;
|
|
39
|
+
default: string;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
locale: {
|
|
43
|
+
type: PropType<"ru" | "en" | import("../../locale").ILocale>;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
direction: {
|
|
47
|
+
type: PropType<"horizontal" | "vertical">;
|
|
48
|
+
default: string;
|
|
49
|
+
available: readonly ["horizontal", "vertical"];
|
|
50
|
+
validator: (value: "horizontal" | "vertical") => boolean;
|
|
51
|
+
};
|
|
52
|
+
appearance: {
|
|
53
|
+
type: PropType<"primary" | "secondary" | "transparent">;
|
|
54
|
+
default: string;
|
|
55
|
+
available: readonly ["primary", "secondary", "transparent"];
|
|
56
|
+
validator: (value: "primary" | "secondary" | "transparent") => boolean;
|
|
57
|
+
};
|
|
58
|
+
modelValue: {
|
|
59
|
+
type: null;
|
|
60
|
+
default: undefined;
|
|
61
|
+
};
|
|
62
|
+
multiple: {
|
|
63
|
+
type: PropType<boolean>;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
required: {
|
|
67
|
+
type: PropType<boolean | "force">;
|
|
68
|
+
default: undefined;
|
|
69
|
+
};
|
|
70
|
+
max: {
|
|
71
|
+
type: PropType<number>;
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
selectedClass: {
|
|
75
|
+
type: PropType<string>;
|
|
76
|
+
default: undefined;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Показывать только один контейнер из группы
|
|
80
|
+
*/
|
|
81
|
+
onlySingle: {
|
|
82
|
+
type: PropType<boolean>;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Показывать стрелки для переключения между контейнерами в режиме onlySingle
|
|
87
|
+
*/
|
|
88
|
+
showArrows: {
|
|
89
|
+
type: PropType<string | boolean>;
|
|
90
|
+
validator: (value: any) => boolean;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Активирует переключение от последнего контейнера к первому и наоборот
|
|
94
|
+
*/
|
|
95
|
+
continuous: {
|
|
96
|
+
type: PropType<boolean>;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Активирует переключение контейнеров по свайпу
|
|
101
|
+
*/
|
|
102
|
+
touch: {
|
|
103
|
+
type: PropType<boolean | ITouchHandlers>;
|
|
104
|
+
default: undefined;
|
|
105
|
+
};
|
|
106
|
+
}, {
|
|
107
|
+
group: import("../../composable").IGroupProvide;
|
|
108
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
109
|
+
'update:modelValue': (value: any) => boolean;
|
|
110
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
111
|
+
prependIcon: Omit<{
|
|
112
|
+
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">;
|
|
113
|
+
default: undefined;
|
|
114
|
+
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;
|
|
115
|
+
}, "default" | "type"> & {
|
|
116
|
+
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">>;
|
|
117
|
+
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">;
|
|
118
|
+
};
|
|
119
|
+
appendIcon: Omit<{
|
|
120
|
+
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">;
|
|
121
|
+
default: undefined;
|
|
122
|
+
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;
|
|
123
|
+
}, "default" | "type"> & {
|
|
124
|
+
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">>;
|
|
125
|
+
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">;
|
|
126
|
+
};
|
|
127
|
+
disabled: {
|
|
128
|
+
type: PropType<boolean>;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
tag: {
|
|
132
|
+
type: PropType<string>;
|
|
133
|
+
default: string;
|
|
134
|
+
description: string;
|
|
135
|
+
};
|
|
136
|
+
locale: {
|
|
137
|
+
type: PropType<"ru" | "en" | import("../../locale").ILocale>;
|
|
138
|
+
default: undefined;
|
|
139
|
+
};
|
|
140
|
+
direction: {
|
|
141
|
+
type: PropType<"horizontal" | "vertical">;
|
|
142
|
+
default: string;
|
|
143
|
+
available: readonly ["horizontal", "vertical"];
|
|
144
|
+
validator: (value: "horizontal" | "vertical") => boolean;
|
|
145
|
+
};
|
|
146
|
+
appearance: {
|
|
147
|
+
type: PropType<"primary" | "secondary" | "transparent">;
|
|
148
|
+
default: string;
|
|
149
|
+
available: readonly ["primary", "secondary", "transparent"];
|
|
150
|
+
validator: (value: "primary" | "secondary" | "transparent") => boolean;
|
|
151
|
+
};
|
|
152
|
+
modelValue: {
|
|
153
|
+
type: null;
|
|
154
|
+
default: undefined;
|
|
155
|
+
};
|
|
156
|
+
multiple: {
|
|
157
|
+
type: PropType<boolean>;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
required: {
|
|
161
|
+
type: PropType<boolean | "force">;
|
|
162
|
+
default: undefined;
|
|
163
|
+
};
|
|
164
|
+
max: {
|
|
165
|
+
type: PropType<number>;
|
|
166
|
+
default: undefined;
|
|
167
|
+
};
|
|
168
|
+
selectedClass: {
|
|
169
|
+
type: PropType<string>;
|
|
170
|
+
default: undefined;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Показывать только один контейнер из группы
|
|
174
|
+
*/
|
|
175
|
+
onlySingle: {
|
|
176
|
+
type: PropType<boolean>;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* Показывать стрелки для переключения между контейнерами в режиме onlySingle
|
|
181
|
+
*/
|
|
182
|
+
showArrows: {
|
|
183
|
+
type: PropType<string | boolean>;
|
|
184
|
+
validator: (value: any) => boolean;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Активирует переключение от последнего контейнера к первому и наоборот
|
|
188
|
+
*/
|
|
189
|
+
continuous: {
|
|
190
|
+
type: PropType<boolean>;
|
|
191
|
+
default: boolean;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Активирует переключение контейнеров по свайпу
|
|
195
|
+
*/
|
|
196
|
+
touch: {
|
|
197
|
+
type: PropType<boolean | ITouchHandlers>;
|
|
198
|
+
default: undefined;
|
|
199
|
+
};
|
|
200
|
+
}>> & {
|
|
201
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
202
|
+
}, {
|
|
203
|
+
required: boolean | "force";
|
|
204
|
+
disabled: boolean;
|
|
205
|
+
tag: string;
|
|
206
|
+
appearance: "primary" | "secondary" | "transparent";
|
|
207
|
+
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">;
|
|
208
|
+
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">;
|
|
209
|
+
selectedClass: string;
|
|
210
|
+
modelValue: any;
|
|
211
|
+
direction: "horizontal" | "vertical";
|
|
212
|
+
max: number;
|
|
213
|
+
multiple: boolean;
|
|
214
|
+
locale: "ru" | "en" | import("../../locale").ILocale;
|
|
215
|
+
onlySingle: boolean;
|
|
216
|
+
continuous: boolean;
|
|
217
|
+
touch: boolean | ITouchHandlers;
|
|
218
|
+
}>;
|
|
219
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export declare const componentName = "CdsContainerItem";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
disabled: {
|
|
5
|
+
type: PropType<boolean>;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
eager: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
value: {
|
|
13
|
+
type: null;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
selectedClass: {
|
|
17
|
+
type: PropType<string>;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
20
|
+
reverseTransition: {
|
|
21
|
+
type: PropType<string | boolean>;
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
24
|
+
transition: {
|
|
25
|
+
type: PropType<string | boolean>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
'group:selected': (value: {
|
|
30
|
+
value: boolean;
|
|
31
|
+
}) => boolean;
|
|
32
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
disabled: {
|
|
34
|
+
type: PropType<boolean>;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
eager: {
|
|
38
|
+
type: PropType<boolean>;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
value: {
|
|
42
|
+
type: null;
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
45
|
+
selectedClass: {
|
|
46
|
+
type: PropType<string>;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
reverseTransition: {
|
|
50
|
+
type: PropType<string | boolean>;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
transition: {
|
|
54
|
+
type: PropType<string | boolean>;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
}>> & {
|
|
58
|
+
"onGroup:selected"?: ((value: {
|
|
59
|
+
value: boolean;
|
|
60
|
+
}) => any) | undefined;
|
|
61
|
+
}, {
|
|
62
|
+
disabled: boolean;
|
|
63
|
+
value: any;
|
|
64
|
+
selectedClass: string;
|
|
65
|
+
transition: string | boolean;
|
|
66
|
+
eager: boolean;
|
|
67
|
+
reverseTransition: string | boolean;
|
|
68
|
+
}>;
|
|
69
|
+
export default _sfc_main;
|
|
@@ -231,6 +231,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
231
231
|
readonly: boolean;
|
|
232
232
|
modelValue: string | TDatetimeValueRange | (string | TDatetimeValueRange)[];
|
|
233
233
|
multiple: boolean;
|
|
234
|
+
locale: "ru" | "en" | import("../../locale").ILocale;
|
|
234
235
|
header: boolean;
|
|
235
236
|
todayBtn: boolean;
|
|
236
237
|
defaultYearMonth: string;
|
|
@@ -244,6 +245,5 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
244
245
|
emitImmediately: boolean;
|
|
245
246
|
hideSiblingMonth: boolean;
|
|
246
247
|
mask: string;
|
|
247
|
-
locale: "ru" | "en" | import("../../locale").ILocale;
|
|
248
248
|
}>;
|
|
249
249
|
export default _sfc_main;
|