@central-design-system/components 3.0.0-alpha.17 → 3.0.0-alpha.18
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 +7 -1
- package/dist/cds.es.js +8169 -6441
- package/dist/cds.umd.js +3 -3
- package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +4 -16
- package/dist/components/CdsContainer/CdsContainer.vue.d.ts +1 -13
- package/dist/components/CdsContainer/CdsContainerItem.vue.d.ts +54 -0
- package/dist/components/CdsContainer/context.d.ts +15 -0
- package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +24 -30
- package/dist/components/CdsInput/CdsInput.vue.d.ts +8 -0
- package/dist/components/CdsNotification/CdsNotification.vue.d.ts +2 -6
- package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +15 -1
- package/dist/components/CdsProgress/CdsProgress.vue.d.ts +145 -0
- package/dist/components/CdsProgress/index.d.ts +1 -0
- package/dist/components/CdsSkeletonLoader/CdsSkeletonLoader.vue.d.ts +121 -0
- package/dist/components/CdsSkeletonLoader/index.d.ts +1 -0
- package/dist/components/CdsSkeletonLoader/types.d.ts +37 -0
- package/dist/components/CdsSteps/CdsSteps.vue.d.ts +167 -0
- package/dist/components/CdsSteps/CdsStepsItem.vue.d.ts +84 -0
- package/dist/components/CdsSteps/context.d.ts +11 -0
- package/dist/components/CdsSteps/index.d.ts +2 -0
- package/dist/components/CdsSteps/svg/_CdsStepCurrentIcon.vue.d.ts +2 -0
- package/dist/components/CdsSteps/svg/_CdsStepsIconIncomplete.vue.d.ts +2 -0
- package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +8 -24
- package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +4 -12
- package/dist/components/CdsToggle/CdsToggle.vue.d.ts +192 -0
- package/dist/components/CdsToggle/index.d.ts +1 -0
- package/dist/components/CdsUploader/CdsUploader.vue.d.ts +876 -0
- package/dist/components/CdsUploader/components/AjaxUploader.d.ts +342 -0
- package/dist/components/CdsUploader/components/UploadList/ListItem.d.ts +400 -0
- package/dist/components/CdsUploader/components/UploadList/UploadList.d.ts +403 -0
- package/dist/components/CdsUploader/components/index.d.ts +2 -0
- package/dist/components/CdsUploader/composable/index.d.ts +2 -0
- package/dist/components/CdsUploader/composable/request.d.ts +4 -0
- package/dist/components/CdsUploader/composable/upload.d.ts +360 -0
- package/dist/components/CdsUploader/index.d.ts +1 -0
- package/dist/components/CdsUploader/interface.d.ts +98 -0
- package/dist/components/CdsUploader/utils/accept.d.ts +2 -0
- package/dist/components/CdsUploader/utils/helpers.d.ts +5 -0
- package/dist/components/CdsUploader/utils/index.d.ts +4 -0
- package/dist/components/CdsUploader/utils/traverseFileTree.d.ts +14 -0
- package/dist/components/CdsUploader/utils/uid.d.ts +1 -0
- package/dist/components/index.d.ts +12 -1
- package/dist/composable/index.d.ts +1 -0
- package/dist/composable/intersectionObserver.d.ts +4 -0
- package/dist/composable/text.d.ts +3 -1
- package/dist/locale/index.d.ts +2 -0
- package/dist/utils/dom/classNames.d.ts +3 -0
- package/dist/utils/helpers.d.ts +6 -0
- package/package.json +1 -1
- package/src/scss/themes/index.ts +1 -1
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { ITouchHandlers } from '../../directives/touch';
|
|
3
|
+
export declare const CDS_MOBILE_STEPS_WIDTH: number;
|
|
4
|
+
export declare const componentName = "CdsSteps";
|
|
5
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
6
|
+
prependIcon: Omit<{
|
|
7
|
+
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">; /**
|
|
8
|
+
* Вертикальное отображение
|
|
9
|
+
*/
|
|
10
|
+
default: undefined;
|
|
11
|
+
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;
|
|
12
|
+
}, "default" | "type"> & {
|
|
13
|
+
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">>;
|
|
14
|
+
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">;
|
|
15
|
+
};
|
|
16
|
+
appendIcon: Omit<{
|
|
17
|
+
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">;
|
|
18
|
+
default: undefined;
|
|
19
|
+
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;
|
|
20
|
+
}, "default" | "type"> & {
|
|
21
|
+
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">>;
|
|
22
|
+
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">;
|
|
23
|
+
};
|
|
24
|
+
modelValue: {
|
|
25
|
+
type: null;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
multiple: {
|
|
29
|
+
type: PropType<boolean>;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
required: {
|
|
33
|
+
type: PropType<boolean | "force">;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
max: {
|
|
37
|
+
type: PropType<number>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
selectedClass: {
|
|
41
|
+
type: PropType<string>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
readonly: {
|
|
45
|
+
type: PropType<boolean>;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
disabled: {
|
|
49
|
+
type: PropType<boolean>;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Вертикальное отображение
|
|
54
|
+
*/
|
|
55
|
+
vertical: {
|
|
56
|
+
type: PropType<boolean>;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Мобильная версия
|
|
61
|
+
*/
|
|
62
|
+
mobile: {
|
|
63
|
+
type: PropType<boolean>;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Активирует переключение контейнеров по свайпу
|
|
68
|
+
*/
|
|
69
|
+
touch: {
|
|
70
|
+
type: PropType<boolean | ITouchHandlers>;
|
|
71
|
+
default: undefined;
|
|
72
|
+
};
|
|
73
|
+
}, {
|
|
74
|
+
stepsRef: import("vue").Ref<HTMLElement | undefined>;
|
|
75
|
+
stepNext: () => void;
|
|
76
|
+
stepPrev: () => void;
|
|
77
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
78
|
+
/**
|
|
79
|
+
* Событие изменения v-model
|
|
80
|
+
* @type { boolean }
|
|
81
|
+
*/
|
|
82
|
+
'update:modelValue': (value: unknown) => boolean;
|
|
83
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
84
|
+
prependIcon: Omit<{
|
|
85
|
+
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">; /**
|
|
86
|
+
* Вертикальное отображение
|
|
87
|
+
*/
|
|
88
|
+
default: undefined;
|
|
89
|
+
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;
|
|
90
|
+
}, "default" | "type"> & {
|
|
91
|
+
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">>;
|
|
92
|
+
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">;
|
|
93
|
+
};
|
|
94
|
+
appendIcon: Omit<{
|
|
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" | "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">;
|
|
96
|
+
default: undefined;
|
|
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" | "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;
|
|
98
|
+
}, "default" | "type"> & {
|
|
99
|
+
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">>;
|
|
100
|
+
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">;
|
|
101
|
+
};
|
|
102
|
+
modelValue: {
|
|
103
|
+
type: null;
|
|
104
|
+
default: undefined;
|
|
105
|
+
};
|
|
106
|
+
multiple: {
|
|
107
|
+
type: PropType<boolean>;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
required: {
|
|
111
|
+
type: PropType<boolean | "force">;
|
|
112
|
+
default: undefined;
|
|
113
|
+
};
|
|
114
|
+
max: {
|
|
115
|
+
type: PropType<number>;
|
|
116
|
+
default: undefined;
|
|
117
|
+
};
|
|
118
|
+
selectedClass: {
|
|
119
|
+
type: PropType<string>;
|
|
120
|
+
default: undefined;
|
|
121
|
+
};
|
|
122
|
+
readonly: {
|
|
123
|
+
type: PropType<boolean>;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
disabled: {
|
|
127
|
+
type: PropType<boolean>;
|
|
128
|
+
default: boolean;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Вертикальное отображение
|
|
132
|
+
*/
|
|
133
|
+
vertical: {
|
|
134
|
+
type: PropType<boolean>;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Мобильная версия
|
|
139
|
+
*/
|
|
140
|
+
mobile: {
|
|
141
|
+
type: PropType<boolean>;
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* Активирует переключение контейнеров по свайпу
|
|
146
|
+
*/
|
|
147
|
+
touch: {
|
|
148
|
+
type: PropType<boolean | ITouchHandlers>;
|
|
149
|
+
default: undefined;
|
|
150
|
+
};
|
|
151
|
+
}>> & {
|
|
152
|
+
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
153
|
+
}, {
|
|
154
|
+
required: boolean | "force";
|
|
155
|
+
disabled: boolean;
|
|
156
|
+
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">;
|
|
157
|
+
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">;
|
|
158
|
+
readonly: boolean;
|
|
159
|
+
selectedClass: string;
|
|
160
|
+
modelValue: any;
|
|
161
|
+
vertical: boolean;
|
|
162
|
+
max: number;
|
|
163
|
+
multiple: boolean;
|
|
164
|
+
touch: boolean | ITouchHandlers;
|
|
165
|
+
mobile: boolean;
|
|
166
|
+
}>;
|
|
167
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export declare const componentName = "CdsStepsItem";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
text: {
|
|
5
|
+
type: PropType<string>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
title: {
|
|
9
|
+
type: PropType<string>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: PropType<boolean>;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
readonly: {
|
|
17
|
+
type: PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
value: {
|
|
21
|
+
type: null;
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
24
|
+
selectedClass: {
|
|
25
|
+
type: PropType<string>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Шаг завершен с ошибкой - и для списка и для группы
|
|
30
|
+
*/
|
|
31
|
+
error: {
|
|
32
|
+
type: PropType<boolean>;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
+
'group:selected': (val: {
|
|
37
|
+
value: boolean;
|
|
38
|
+
}) => boolean;
|
|
39
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
text: {
|
|
41
|
+
type: PropType<string>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
title: {
|
|
45
|
+
type: PropType<string>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
disabled: {
|
|
49
|
+
type: PropType<boolean>;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
readonly: {
|
|
53
|
+
type: PropType<boolean>;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
value: {
|
|
57
|
+
type: null;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
selectedClass: {
|
|
61
|
+
type: PropType<string>;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Шаг завершен с ошибкой - и для списка и для группы
|
|
66
|
+
*/
|
|
67
|
+
error: {
|
|
68
|
+
type: PropType<boolean>;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
}>> & {
|
|
72
|
+
"onGroup:selected"?: ((val: {
|
|
73
|
+
value: boolean;
|
|
74
|
+
}) => any) | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
text: string;
|
|
77
|
+
disabled: boolean;
|
|
78
|
+
title: string;
|
|
79
|
+
value: any;
|
|
80
|
+
error: boolean;
|
|
81
|
+
readonly: boolean;
|
|
82
|
+
selectedClass: string;
|
|
83
|
+
}>;
|
|
84
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Ref, InjectionKey } from 'vue';
|
|
2
|
+
import type { IGroupItemProvide } from '../../composable';
|
|
3
|
+
export declare const CdsStepsGroupSymbol: InjectionKey<IGroupItemProvide>;
|
|
4
|
+
export declare const CdsStepsSymbol: InjectionKey<ICdsStepsProvide>;
|
|
5
|
+
interface ICdsStepsProvide {
|
|
6
|
+
mobile: Ref<boolean>;
|
|
7
|
+
readonly: Ref<boolean>;
|
|
8
|
+
}
|
|
9
|
+
export declare const useProvideSteps: (data: ICdsStepsProvide) => void;
|
|
10
|
+
export declare const useInjectSteps: () => ICdsStepsProvide;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -112,16 +112,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
112
112
|
default: undefined;
|
|
113
113
|
};
|
|
114
114
|
description: {
|
|
115
|
-
type: PropType<string>;
|
|
116
|
-
* Автоматическое увеличение высоты текстовой области
|
|
117
|
-
*/
|
|
115
|
+
type: PropType<string>;
|
|
118
116
|
default: undefined;
|
|
119
117
|
};
|
|
120
118
|
value: {
|
|
121
119
|
type: PropType<any>;
|
|
122
|
-
default: null;
|
|
123
|
-
* Количество строк в текстовой области
|
|
124
|
-
*/
|
|
120
|
+
default: null;
|
|
125
121
|
};
|
|
126
122
|
messages: {
|
|
127
123
|
type: PropType<string | string[]>;
|
|
@@ -273,16 +269,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
273
269
|
default: undefined;
|
|
274
270
|
};
|
|
275
271
|
description: {
|
|
276
|
-
type: PropType<string>;
|
|
277
|
-
* Автоматическое увеличение высоты текстовой области
|
|
278
|
-
*/
|
|
272
|
+
type: PropType<string>;
|
|
279
273
|
default: undefined;
|
|
280
274
|
};
|
|
281
275
|
value: {
|
|
282
276
|
type: PropType<any>;
|
|
283
|
-
default: null;
|
|
284
|
-
* Количество строк в текстовой области
|
|
285
|
-
*/
|
|
277
|
+
default: null;
|
|
286
278
|
};
|
|
287
279
|
messages: {
|
|
288
280
|
type: PropType<string | string[]>;
|
|
@@ -390,16 +382,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
390
382
|
default: undefined;
|
|
391
383
|
};
|
|
392
384
|
description: {
|
|
393
|
-
type: PropType<string>;
|
|
394
|
-
* Автоматическое увеличение высоты текстовой области
|
|
395
|
-
*/
|
|
385
|
+
type: PropType<string>;
|
|
396
386
|
default: undefined;
|
|
397
387
|
};
|
|
398
388
|
value: {
|
|
399
389
|
type: PropType<any>;
|
|
400
|
-
default: null;
|
|
401
|
-
* Количество строк в текстовой области
|
|
402
|
-
*/
|
|
390
|
+
default: null;
|
|
403
391
|
};
|
|
404
392
|
messages: {
|
|
405
393
|
type: PropType<string | string[]>;
|
|
@@ -653,16 +641,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
653
641
|
default: undefined;
|
|
654
642
|
};
|
|
655
643
|
description: {
|
|
656
|
-
type: PropType<string>;
|
|
657
|
-
* Автоматическое увеличение высоты текстовой области
|
|
658
|
-
*/
|
|
644
|
+
type: PropType<string>;
|
|
659
645
|
default: undefined;
|
|
660
646
|
};
|
|
661
647
|
value: {
|
|
662
648
|
type: PropType<any>;
|
|
663
|
-
default: null;
|
|
664
|
-
* Количество строк в текстовой области
|
|
665
|
-
*/
|
|
649
|
+
default: null;
|
|
666
650
|
};
|
|
667
651
|
messages: {
|
|
668
652
|
type: PropType<string | string[]>;
|
|
@@ -98,9 +98,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
98
98
|
default: null;
|
|
99
99
|
};
|
|
100
100
|
messages: {
|
|
101
|
-
type: import("vue").PropType<string | string[]>;
|
|
102
|
-
* Событие клика по иконке перед значением поля
|
|
103
|
-
*/
|
|
101
|
+
type: import("vue").PropType<string | string[]>;
|
|
104
102
|
default: () => never[];
|
|
105
103
|
};
|
|
106
104
|
persistentMessages: {
|
|
@@ -257,9 +255,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
257
255
|
default: null;
|
|
258
256
|
};
|
|
259
257
|
messages: {
|
|
260
|
-
type: import("vue").PropType<string | string[]>;
|
|
261
|
-
* Событие клика по иконке перед значением поля
|
|
262
|
-
*/
|
|
258
|
+
type: import("vue").PropType<string | string[]>;
|
|
263
259
|
default: () => never[];
|
|
264
260
|
};
|
|
265
261
|
persistentMessages: {
|
|
@@ -372,9 +368,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
372
368
|
default: null;
|
|
373
369
|
};
|
|
374
370
|
messages: {
|
|
375
|
-
type: import("vue").PropType<string | string[]>;
|
|
376
|
-
* Событие клика по иконке перед значением поля
|
|
377
|
-
*/
|
|
371
|
+
type: import("vue").PropType<string | string[]>;
|
|
378
372
|
default: () => never[];
|
|
379
373
|
};
|
|
380
374
|
persistentMessages: {
|
|
@@ -617,9 +611,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
617
611
|
default: null;
|
|
618
612
|
};
|
|
619
613
|
messages: {
|
|
620
|
-
type: import("vue").PropType<string | string[]>;
|
|
621
|
-
* Событие клика по иконке перед значением поля
|
|
622
|
-
*/
|
|
614
|
+
type: import("vue").PropType<string | string[]>;
|
|
623
615
|
default: () => never[];
|
|
624
616
|
};
|
|
625
617
|
persistentMessages: {
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
export declare const componentName = "CdsToggle";
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
readonly: {
|
|
4
|
+
type: import("vue").PropType<boolean>;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
disabled: {
|
|
8
|
+
type: import("vue").PropType<boolean>;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
focused: {
|
|
12
|
+
type: import("vue").PropType<boolean>;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
error: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
errorMessages: {
|
|
20
|
+
type: import("vue").PropType<string | string[]>;
|
|
21
|
+
default: () => never[];
|
|
22
|
+
};
|
|
23
|
+
maxErrors: {
|
|
24
|
+
type: import("vue").PropType<string | number>;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
name: {
|
|
28
|
+
type: import("vue").PropType<string | undefined>;
|
|
29
|
+
default: undefined;
|
|
30
|
+
};
|
|
31
|
+
rules: {
|
|
32
|
+
type: import("vue").PropType<import("../../composable").TValidationRule[]>;
|
|
33
|
+
default: () => never[];
|
|
34
|
+
};
|
|
35
|
+
modelValue: {
|
|
36
|
+
type: import("vue").PropType<any>;
|
|
37
|
+
default: null;
|
|
38
|
+
};
|
|
39
|
+
validateOn: {
|
|
40
|
+
type: import("vue").PropType<"input" | "blur" | "submit">;
|
|
41
|
+
default: string;
|
|
42
|
+
available: readonly ["blur", "input", "submit"];
|
|
43
|
+
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
44
|
+
};
|
|
45
|
+
validationValue: {
|
|
46
|
+
type: import("vue").PropType<any>;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
hideMessages: {
|
|
50
|
+
type: import("vue").PropType<boolean>;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
id: {
|
|
54
|
+
type: import("vue").PropType<string>;
|
|
55
|
+
default: undefined; /**
|
|
56
|
+
* Событие при изменении значения (v-model)
|
|
57
|
+
* @type { boolean }
|
|
58
|
+
*/
|
|
59
|
+
};
|
|
60
|
+
label: {
|
|
61
|
+
type: import("vue").PropType<string>;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
64
|
+
description: {
|
|
65
|
+
type: import("vue").PropType<string>;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
68
|
+
value: {
|
|
69
|
+
type: import("vue").PropType<any>;
|
|
70
|
+
default: null;
|
|
71
|
+
};
|
|
72
|
+
messages: {
|
|
73
|
+
type: import("vue").PropType<string | string[]>;
|
|
74
|
+
default: () => never[];
|
|
75
|
+
};
|
|
76
|
+
persistentMessages: {
|
|
77
|
+
type: import("vue").PropType<boolean>;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
}, void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
81
|
+
/**
|
|
82
|
+
* Событие при фокусе
|
|
83
|
+
* @type { boolean }
|
|
84
|
+
*/
|
|
85
|
+
'update:focused': (value: boolean) => boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Событие при изменении значения (v-model)
|
|
88
|
+
* @type { boolean }
|
|
89
|
+
*/
|
|
90
|
+
'update:modelValue': (value: any) => boolean;
|
|
91
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
92
|
+
readonly: {
|
|
93
|
+
type: import("vue").PropType<boolean>;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
disabled: {
|
|
97
|
+
type: import("vue").PropType<boolean>;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
focused: {
|
|
101
|
+
type: import("vue").PropType<boolean>;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
error: {
|
|
105
|
+
type: import("vue").PropType<boolean>;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
errorMessages: {
|
|
109
|
+
type: import("vue").PropType<string | string[]>;
|
|
110
|
+
default: () => never[];
|
|
111
|
+
};
|
|
112
|
+
maxErrors: {
|
|
113
|
+
type: import("vue").PropType<string | number>;
|
|
114
|
+
default: number;
|
|
115
|
+
};
|
|
116
|
+
name: {
|
|
117
|
+
type: import("vue").PropType<string | undefined>;
|
|
118
|
+
default: undefined;
|
|
119
|
+
};
|
|
120
|
+
rules: {
|
|
121
|
+
type: import("vue").PropType<import("../../composable").TValidationRule[]>;
|
|
122
|
+
default: () => never[];
|
|
123
|
+
};
|
|
124
|
+
modelValue: {
|
|
125
|
+
type: import("vue").PropType<any>;
|
|
126
|
+
default: null;
|
|
127
|
+
};
|
|
128
|
+
validateOn: {
|
|
129
|
+
type: import("vue").PropType<"input" | "blur" | "submit">;
|
|
130
|
+
default: string;
|
|
131
|
+
available: readonly ["blur", "input", "submit"];
|
|
132
|
+
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
133
|
+
};
|
|
134
|
+
validationValue: {
|
|
135
|
+
type: import("vue").PropType<any>;
|
|
136
|
+
default: undefined;
|
|
137
|
+
};
|
|
138
|
+
hideMessages: {
|
|
139
|
+
type: import("vue").PropType<boolean>;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
id: {
|
|
143
|
+
type: import("vue").PropType<string>;
|
|
144
|
+
default: undefined; /**
|
|
145
|
+
* Событие при изменении значения (v-model)
|
|
146
|
+
* @type { boolean }
|
|
147
|
+
*/
|
|
148
|
+
};
|
|
149
|
+
label: {
|
|
150
|
+
type: import("vue").PropType<string>;
|
|
151
|
+
default: undefined;
|
|
152
|
+
};
|
|
153
|
+
description: {
|
|
154
|
+
type: import("vue").PropType<string>;
|
|
155
|
+
default: undefined;
|
|
156
|
+
};
|
|
157
|
+
value: {
|
|
158
|
+
type: import("vue").PropType<any>;
|
|
159
|
+
default: null;
|
|
160
|
+
};
|
|
161
|
+
messages: {
|
|
162
|
+
type: import("vue").PropType<string | string[]>;
|
|
163
|
+
default: () => never[];
|
|
164
|
+
};
|
|
165
|
+
persistentMessages: {
|
|
166
|
+
type: import("vue").PropType<boolean>;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
169
|
+
}>> & {
|
|
170
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
171
|
+
"onUpdate:focused"?: ((value: boolean) => any) | undefined;
|
|
172
|
+
}, {
|
|
173
|
+
name: string | undefined;
|
|
174
|
+
description: string;
|
|
175
|
+
disabled: boolean;
|
|
176
|
+
value: any;
|
|
177
|
+
error: boolean;
|
|
178
|
+
readonly: boolean;
|
|
179
|
+
messages: string | string[];
|
|
180
|
+
id: string;
|
|
181
|
+
label: string;
|
|
182
|
+
persistentMessages: boolean;
|
|
183
|
+
errorMessages: string | string[];
|
|
184
|
+
maxErrors: string | number;
|
|
185
|
+
rules: import("../../composable").TValidationRule[];
|
|
186
|
+
modelValue: any;
|
|
187
|
+
validateOn: "input" | "blur" | "submit";
|
|
188
|
+
validationValue: any;
|
|
189
|
+
hideMessages: boolean;
|
|
190
|
+
focused: boolean;
|
|
191
|
+
}>;
|
|
192
|
+
export default _sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CdsToggle } from './CdsToggle.vue';
|