@central-design-system/components 3.0.0-alpha.1 → 3.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cds.css +1 -1
- package/dist/cds.d.ts +9 -3
- package/dist/cds.es.js +6618 -3541
- package/dist/cds.umd.js +1 -1
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbs.vue.d.ts +64 -0
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbsItem.vue.d.ts +54 -0
- package/dist/components/CdsBreadcrumbs/index.d.ts +2 -0
- package/dist/components/CdsButton/CdsButton.vue.d.ts +13 -13
- package/dist/components/CdsButton/index.d.ts +1 -0
- package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +36 -20
- package/dist/components/CdsCheckbox/CdsCheckboxGroup.vue.d.ts +34 -12
- package/dist/components/CdsCheckbox/index.d.ts +2 -0
- package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +2454 -0
- package/dist/components/CdsCombobox/composable/highlight.d.ts +12 -0
- package/dist/components/CdsDatePicker/CdsDatePicker.vue.d.ts +246 -0
- package/dist/components/CdsDatePicker/composable/calendar.d.ts +315 -0
- package/dist/components/CdsDatePicker/composable/index.d.ts +1 -0
- package/dist/components/CdsDrawer/CdsDrawer.vue.d.ts +2 -2
- package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +2317 -0
- package/dist/components/CdsEmptyState/CdsEmptyState.vue.d.ts +54 -0
- package/dist/components/CdsGrid/CdsCol.vue.d.ts +1 -1
- package/dist/components/CdsIcon/CdsIcon.vue.d.ts +3 -3
- package/dist/components/CdsInput/CdsInput.vue.d.ts +21 -21
- package/dist/components/CdsLink/CdsLink.vue.d.ts +1 -1
- package/dist/components/CdsLink/index.d.ts +1 -0
- package/dist/components/CdsList/CdsList.vue.d.ts +9 -1
- package/dist/components/CdsList/CdsListGroup.vue.d.ts +8 -8
- package/dist/components/CdsList/CdsListItem.vue.d.ts +20 -23
- package/dist/components/CdsLoader/CdsLoader.vue.d.ts +1 -1
- package/dist/components/CdsMenu/CdsMenu.vue.d.ts +111 -22
- package/dist/components/CdsMenu/index.d.ts +1 -0
- package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +32 -19
- package/dist/components/CdsOverlay/index.d.ts +1 -0
- package/dist/components/CdsRadioButton/CdsRadio.vue.d.ts +34 -12
- package/dist/components/CdsRadioButton/CdsRadioButton.vue.d.ts +34 -12
- package/dist/components/CdsSelect/CdsSelect.vue.d.ts +133 -75
- package/dist/components/CdsSidebar/CdsSidebar.vue.d.ts +9 -14
- package/dist/components/CdsStages/CdsStages.vue.d.ts +2 -2
- package/dist/components/CdsTag/CdsTag.vue.d.ts +2 -4
- package/dist/components/CdsTag/index.d.ts +1 -0
- package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +116 -74
- package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +120 -60
- package/dist/components/CdsTextInput/index.d.ts +1 -0
- package/dist/components/index.d.ts +7 -1
- package/dist/composable/color.d.ts +4 -2
- package/dist/composable/datetime.d.ts +76 -0
- package/dist/composable/delay.d.ts +1 -1
- package/dist/composable/field.d.ts +4 -3
- package/dist/composable/filter.d.ts +52 -0
- package/dist/composable/form.d.ts +2 -0
- package/dist/composable/hidration.d.ts +2 -1
- package/dist/composable/icon.d.ts +2 -2
- package/dist/composable/index.d.ts +6 -0
- package/dist/composable/input.d.ts +5 -3
- package/dist/composable/items.d.ts +2 -0
- package/dist/composable/lazy.d.ts +12 -2
- package/dist/composable/menu.d.ts +37 -0
- package/dist/composable/overlay.d.ts +8 -9
- package/dist/composable/router.d.ts +3 -0
- package/dist/composable/select.d.ts +86 -0
- package/dist/composable/title.d.ts +21 -0
- package/dist/composable/validation.d.ts +0 -8
- package/dist/locale/index.d.ts +12 -0
- package/dist/locale/ru.d.ts +3 -0
- package/dist/transitions/index.d.ts +150 -0
- package/dist/utils/anchor.d.ts +1 -1
- package/dist/utils/cache.d.ts +4 -0
- package/dist/utils/date.d.ts +181 -0
- package/dist/utils/helpers.d.ts +68 -19
- package/dist/utils/index.d.ts +2 -0
- package/package.json +3 -2
- package/src/scss/modules/_transition.scss +102 -0
- package/src/scss/themes/index.ts +1 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare const componentName = "CdsBreadcrumbs";
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
items: {
|
|
4
|
+
type: import("vue").PropType<any[]>;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
itemTitle: {
|
|
8
|
+
type: import("vue").PropType<import("../../composable").TItemKey>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
itemValue: {
|
|
12
|
+
type: import("vue").PropType<import("../../composable").TItemKey>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
itemChildren: {
|
|
16
|
+
type: import("vue").PropType<import("../../composable").TItemKey>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
itemProps: {
|
|
20
|
+
type: import("vue").PropType<import("../../composable").TItemKey>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
returnObject: {
|
|
24
|
+
type: import("vue").PropType<boolean>;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
items: import("vue").ComputedRef<import("../../composable").IInternalItem<any>[]>;
|
|
29
|
+
hasSlot: import("vue").ComputedRef<boolean>;
|
|
30
|
+
isLastItem: (index: number) => boolean;
|
|
31
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
items: {
|
|
33
|
+
type: import("vue").PropType<any[]>;
|
|
34
|
+
default: () => never[];
|
|
35
|
+
};
|
|
36
|
+
itemTitle: {
|
|
37
|
+
type: import("vue").PropType<import("../../composable").TItemKey>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
itemValue: {
|
|
41
|
+
type: import("vue").PropType<import("../../composable").TItemKey>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
itemChildren: {
|
|
45
|
+
type: import("vue").PropType<import("../../composable").TItemKey>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
itemProps: {
|
|
49
|
+
type: import("vue").PropType<import("../../composable").TItemKey>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
returnObject: {
|
|
53
|
+
type: import("vue").PropType<boolean>;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
}>>, {
|
|
57
|
+
items: any[];
|
|
58
|
+
itemTitle: import("../../composable").TItemKey;
|
|
59
|
+
itemValue: import("../../composable").TItemKey;
|
|
60
|
+
itemChildren: import("../../composable").TItemKey;
|
|
61
|
+
itemProps: import("../../composable").TItemKey;
|
|
62
|
+
returnObject: boolean;
|
|
63
|
+
}>;
|
|
64
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export declare const componentName = "CdsBreadcrumbsItem";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
href: {
|
|
5
|
+
type: PropType<string>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
to: {
|
|
9
|
+
type: PropType<import("vue-router").RouteLocationRaw>;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
text: {
|
|
13
|
+
type: PropType<string>;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Является ли элемент текущей страницей
|
|
18
|
+
*/
|
|
19
|
+
currentPage: {
|
|
20
|
+
type: PropType<boolean>;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
isInternalLink: boolean;
|
|
25
|
+
to: import("vue").ComputedRef<import("vue-router").RouteLocationRaw | undefined>;
|
|
26
|
+
href: import("vue").ComputedRef<string | undefined>;
|
|
27
|
+
title: string | undefined;
|
|
28
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
href: {
|
|
30
|
+
type: PropType<string>;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
to: {
|
|
34
|
+
type: PropType<import("vue-router").RouteLocationRaw>;
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
text: {
|
|
38
|
+
type: PropType<string>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Является ли элемент текущей страницей
|
|
43
|
+
*/
|
|
44
|
+
currentPage: {
|
|
45
|
+
type: PropType<boolean>;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
}>>, {
|
|
49
|
+
text: string;
|
|
50
|
+
href: string;
|
|
51
|
+
to: import("vue-router").RouteLocationRaw;
|
|
52
|
+
currentPage: boolean;
|
|
53
|
+
}>;
|
|
54
|
+
export default _sfc_main;
|
|
@@ -22,14 +22,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
24
|
prependIcon: {
|
|
25
|
-
type: PropType<"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" | "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" | "
|
|
25
|
+
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" | "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" | "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">;
|
|
26
26
|
default: undefined;
|
|
27
|
-
validator: (value: "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" | "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" | "
|
|
27
|
+
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" | "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" | "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;
|
|
28
28
|
};
|
|
29
29
|
appendIcon: {
|
|
30
|
-
type: PropType<"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" | "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" | "
|
|
30
|
+
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" | "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" | "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
31
|
default: undefined;
|
|
32
|
-
validator: (value: "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" | "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" | "
|
|
32
|
+
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" | "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" | "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;
|
|
33
33
|
};
|
|
34
34
|
size: {
|
|
35
35
|
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
@@ -92,14 +92,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
92
92
|
default: boolean;
|
|
93
93
|
};
|
|
94
94
|
prependIcon: {
|
|
95
|
-
type: PropType<"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" | "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" | "
|
|
95
|
+
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" | "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" | "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">;
|
|
96
96
|
default: undefined;
|
|
97
|
-
validator: (value: "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" | "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" | "
|
|
97
|
+
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" | "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" | "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;
|
|
98
98
|
};
|
|
99
99
|
appendIcon: {
|
|
100
|
-
type: PropType<"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" | "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" | "
|
|
100
|
+
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" | "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" | "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">;
|
|
101
101
|
default: undefined;
|
|
102
|
-
validator: (value: "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" | "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" | "
|
|
102
|
+
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" | "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" | "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;
|
|
103
103
|
};
|
|
104
104
|
size: {
|
|
105
105
|
type: PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
@@ -126,14 +126,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
126
126
|
};
|
|
127
127
|
}>>, {
|
|
128
128
|
dark: boolean;
|
|
129
|
-
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
130
129
|
text: string;
|
|
131
|
-
appearance: "primary" | "secondary" | "transparent";
|
|
132
|
-
prependIcon: "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" | "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" | "filters" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "link" | "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" | "search" | "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";
|
|
133
|
-
appendIcon: "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" | "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" | "filters" | "flag" | "globe" | "infinity" | "info-fill" | "info" | "link" | "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" | "search" | "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";
|
|
134
|
-
disabled: boolean;
|
|
135
130
|
href: string;
|
|
136
131
|
to: import("vue-router").RouteLocationRaw;
|
|
132
|
+
disabled: boolean;
|
|
133
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
134
|
+
appearance: "primary" | "secondary" | "transparent";
|
|
135
|
+
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" | "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" | "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";
|
|
136
|
+
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" | "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" | "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";
|
|
137
137
|
loading: boolean;
|
|
138
138
|
iconOnly: boolean;
|
|
139
139
|
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CdsButton } from './CdsButton.vue';
|
|
@@ -25,10 +25,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
25
25
|
type: PropType<string | undefined>;
|
|
26
26
|
default: undefined;
|
|
27
27
|
};
|
|
28
|
-
label: {
|
|
29
|
-
type: PropType<string | undefined>;
|
|
30
|
-
default: undefined;
|
|
31
|
-
};
|
|
32
28
|
readonly: {
|
|
33
29
|
type: PropType<boolean>;
|
|
34
30
|
default: boolean;
|
|
@@ -57,10 +53,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
57
53
|
};
|
|
58
54
|
id: {
|
|
59
55
|
type: PropType<string>;
|
|
60
|
-
default: undefined;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
default: undefined;
|
|
57
|
+
};
|
|
58
|
+
label: {
|
|
59
|
+
type: PropType<string>;
|
|
60
|
+
default: undefined;
|
|
64
61
|
};
|
|
65
62
|
description: {
|
|
66
63
|
type: PropType<string>;
|
|
@@ -91,7 +88,29 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
91
88
|
readonly externalValue: any;
|
|
92
89
|
};
|
|
93
90
|
hasDescription: import("vue").ComputedRef<boolean>;
|
|
94
|
-
inputProps: import("vue").Ref<{
|
|
91
|
+
inputProps: import("vue").Ref<{
|
|
92
|
+
[x: string]: unknown;
|
|
93
|
+
id?: string | undefined;
|
|
94
|
+
label?: string | undefined;
|
|
95
|
+
description?: string | undefined;
|
|
96
|
+
value?: any;
|
|
97
|
+
messages?: string | string[] | undefined;
|
|
98
|
+
persistentMessages?: boolean | undefined;
|
|
99
|
+
disabled?: boolean | undefined;
|
|
100
|
+
error?: boolean | undefined;
|
|
101
|
+
errorMessages?: string | string[] | undefined;
|
|
102
|
+
focused?: boolean | undefined;
|
|
103
|
+
maxErrors?: string | number | undefined;
|
|
104
|
+
name?: string | undefined;
|
|
105
|
+
readonly?: boolean | undefined;
|
|
106
|
+
rules?: (import("../../composable").TValidationResult | ((value: any) => import("../../composable").TValidationResult) | ((value: any) => PromiseLike<import("../../composable").TValidationResult>) | {
|
|
107
|
+
then: <TResult1 = import("../../composable").TValidationResult, TResult2 = never>(onfulfilled?: ((value: import("../../composable").TValidationResult) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => PromiseLike<TResult1 | TResult2>;
|
|
108
|
+
})[] | undefined;
|
|
109
|
+
modelValue?: any;
|
|
110
|
+
validateOn?: "input" | "blur" | "submit" | undefined;
|
|
111
|
+
validationValue?: any;
|
|
112
|
+
hideMessages?: boolean | undefined;
|
|
113
|
+
}>;
|
|
95
114
|
rootAttrs: import("vue").Ref<{}>;
|
|
96
115
|
inputAttrs: import("vue").Ref<{}>;
|
|
97
116
|
isFocused: import("vue").Ref<boolean>;
|
|
@@ -134,10 +153,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
134
153
|
type: PropType<string | undefined>;
|
|
135
154
|
default: undefined;
|
|
136
155
|
};
|
|
137
|
-
label: {
|
|
138
|
-
type: PropType<string | undefined>;
|
|
139
|
-
default: undefined;
|
|
140
|
-
};
|
|
141
156
|
readonly: {
|
|
142
157
|
type: PropType<boolean>;
|
|
143
158
|
default: boolean;
|
|
@@ -166,10 +181,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
166
181
|
};
|
|
167
182
|
id: {
|
|
168
183
|
type: PropType<string>;
|
|
169
|
-
default: undefined;
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
184
|
+
default: undefined;
|
|
185
|
+
};
|
|
186
|
+
label: {
|
|
187
|
+
type: PropType<string>;
|
|
188
|
+
default: undefined;
|
|
173
189
|
};
|
|
174
190
|
description: {
|
|
175
191
|
type: PropType<string>;
|
|
@@ -201,12 +217,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
201
217
|
}, {
|
|
202
218
|
name: string | undefined;
|
|
203
219
|
description: string;
|
|
204
|
-
error: boolean;
|
|
205
220
|
disabled: boolean;
|
|
221
|
+
value: any;
|
|
222
|
+
error: boolean;
|
|
206
223
|
messages: string | string[];
|
|
207
224
|
id: string;
|
|
208
|
-
label: string
|
|
209
|
-
value: any;
|
|
225
|
+
label: string;
|
|
210
226
|
persistentMessages: boolean;
|
|
211
227
|
errorMessages: string | string[];
|
|
212
228
|
maxErrors: string | number;
|
|
@@ -45,10 +45,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
45
45
|
type: import("vue").PropType<string | undefined>;
|
|
46
46
|
default: undefined;
|
|
47
47
|
};
|
|
48
|
-
label: {
|
|
49
|
-
type: import("vue").PropType<string | undefined>;
|
|
50
|
-
default: undefined;
|
|
51
|
-
};
|
|
52
48
|
readonly: {
|
|
53
49
|
type: import("vue").PropType<boolean>;
|
|
54
50
|
default: boolean;
|
|
@@ -79,6 +75,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
79
75
|
type: import("vue").PropType<string>;
|
|
80
76
|
default: undefined;
|
|
81
77
|
};
|
|
78
|
+
label: {
|
|
79
|
+
type: import("vue").PropType<string>;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
82
82
|
description: {
|
|
83
83
|
type: import("vue").PropType<string>;
|
|
84
84
|
default: undefined;
|
|
@@ -96,7 +96,29 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
96
96
|
default: boolean;
|
|
97
97
|
};
|
|
98
98
|
}, {
|
|
99
|
-
inputProps: Ref<{
|
|
99
|
+
inputProps: Ref<{
|
|
100
|
+
readonly disabled?: boolean | undefined;
|
|
101
|
+
readonly value?: any;
|
|
102
|
+
readonly error?: boolean | undefined;
|
|
103
|
+
readonly messages?: string | string[] | undefined;
|
|
104
|
+
readonly persistentMessages?: boolean | undefined;
|
|
105
|
+
readonly errorMessages?: string | string[] | undefined;
|
|
106
|
+
readonly maxErrors?: string | number | undefined;
|
|
107
|
+
readonly readonly?: boolean | undefined;
|
|
108
|
+
readonly rules?: (import("../../composable").TValidationResult | ((value: any) => import("../../composable").TValidationResult) | ((value: any) => PromiseLike<import("../../composable").TValidationResult>) | {
|
|
109
|
+
then: <TResult1 = import("../../composable").TValidationResult, TResult2 = never>(onfulfilled?: ((value: import("../../composable").TValidationResult) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => PromiseLike<TResult1 | TResult2>;
|
|
110
|
+
})[] | undefined;
|
|
111
|
+
readonly modelValue?: any;
|
|
112
|
+
readonly validateOn?: "input" | "blur" | "submit" | undefined;
|
|
113
|
+
readonly hideMessages?: boolean | undefined;
|
|
114
|
+
readonly direction?: NonNullable<"horizontal" | "vertical"> | undefined;
|
|
115
|
+
readonly name?: string | undefined;
|
|
116
|
+
readonly description?: string | undefined;
|
|
117
|
+
readonly id?: string | undefined;
|
|
118
|
+
readonly label?: string | undefined;
|
|
119
|
+
readonly validationValue?: any;
|
|
120
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
121
|
+
}>;
|
|
100
122
|
hasLabel: import("vue").ComputedRef<boolean>;
|
|
101
123
|
hasDescription: import("vue").ComputedRef<boolean>;
|
|
102
124
|
directionClasses: import("vue").ComputedRef<string>;
|
|
@@ -130,10 +152,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
130
152
|
type: import("vue").PropType<string | undefined>;
|
|
131
153
|
default: undefined;
|
|
132
154
|
};
|
|
133
|
-
label: {
|
|
134
|
-
type: import("vue").PropType<string | undefined>;
|
|
135
|
-
default: undefined;
|
|
136
|
-
};
|
|
137
155
|
readonly: {
|
|
138
156
|
type: import("vue").PropType<boolean>;
|
|
139
157
|
default: boolean;
|
|
@@ -164,6 +182,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
164
182
|
type: import("vue").PropType<string>;
|
|
165
183
|
default: undefined;
|
|
166
184
|
};
|
|
185
|
+
label: {
|
|
186
|
+
type: import("vue").PropType<string>;
|
|
187
|
+
default: undefined;
|
|
188
|
+
};
|
|
167
189
|
description: {
|
|
168
190
|
type: import("vue").PropType<string>;
|
|
169
191
|
default: undefined;
|
|
@@ -185,12 +207,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
185
207
|
}, {
|
|
186
208
|
name: string | undefined;
|
|
187
209
|
description: string;
|
|
188
|
-
error: boolean;
|
|
189
210
|
disabled: boolean;
|
|
211
|
+
value: any;
|
|
212
|
+
error: boolean;
|
|
190
213
|
messages: string | string[];
|
|
191
214
|
id: string;
|
|
192
|
-
label: string
|
|
193
|
-
value: any;
|
|
215
|
+
label: string;
|
|
194
216
|
persistentMessages: boolean;
|
|
195
217
|
errorMessages: string | string[];
|
|
196
218
|
maxErrors: string | number;
|