@central-design-system/components 3.0.0-alpha.0 → 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 +26 -3
- package/dist/cds.es.js +7821 -1449
- 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 +238 -0
- package/dist/components/CdsCheckbox/CdsCheckboxGroup.vue.d.ts +227 -0
- 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 +4 -4
- package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +2317 -0
- package/dist/components/CdsEmptyState/CdsEmptyState.vue.d.ts +54 -0
- package/dist/components/CdsForm/CdsForm.vue.d.ts +99 -0
- package/dist/components/CdsGrid/CdsCol.vue.d.ts +1 -1
- package/dist/components/CdsIcon/CdsIcon.vue.d.ts +4 -4
- package/dist/components/CdsInput/CdsInput.vue.d.ts +219 -0
- package/dist/components/CdsInput/CdsInputCounter.vue.d.ts +39 -0
- package/dist/components/CdsInput/CdsInputDescription.vue.d.ts +26 -0
- package/dist/components/CdsInput/CdsInputLabel.vue.d.ts +32 -0
- package/dist/components/CdsInput/CdsInputMessages.vue.d.ts +221 -0
- package/dist/components/CdsInput/index.d.ts +5 -0
- 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 +20 -24
- package/dist/components/CdsList/CdsListGroup.vue.d.ts +7 -7
- package/dist/components/CdsList/CdsListItem.vue.d.ts +27 -24
- package/dist/components/CdsList/composable/focus.d.ts +12 -0
- package/dist/components/CdsList/composable/index.d.ts +1 -0
- package/dist/components/CdsList/composable/list.d.ts +1 -1
- package/dist/components/CdsLoader/CdsLoader.vue.d.ts +1 -1
- package/dist/components/CdsMenu/CdsMenu.vue.d.ts +681 -0
- package/dist/components/CdsMenu/index.d.ts +1 -0
- package/dist/components/CdsMenu/shared.d.ts +10 -0
- package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +337 -0
- package/dist/components/CdsOverlay/composable/activator.d.ts +81 -0
- package/dist/components/CdsOverlay/composable/index.d.ts +6 -0
- package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +75 -0
- package/dist/components/CdsOverlay/composable/scrim.d.ts +8 -0
- package/dist/components/CdsOverlay/composable/scrollStrategies.d.ts +33 -0
- package/dist/components/CdsOverlay/composable/stack.d.ts +9 -0
- package/dist/components/CdsOverlay/composable/teleport.d.ts +6 -0
- package/dist/components/CdsOverlay/index.d.ts +1 -0
- package/dist/components/CdsOverlay/utils/index.d.ts +2 -0
- package/dist/components/CdsOverlay/utils/point.d.ts +20 -0
- package/dist/components/CdsOverlay/utils/requestNewFrame.d.ts +5 -0
- package/dist/components/CdsRadioButton/CdsRadio.vue.d.ts +223 -0
- package/dist/components/CdsRadioButton/CdsRadioButton.vue.d.ts +222 -0
- package/dist/components/CdsSelect/CdsSelect.vue.d.ts +722 -0
- package/dist/components/CdsSidebar/CdsSidebar.vue.d.ts +56 -0
- package/dist/components/CdsStages/CdsStages.vue.d.ts +102 -0
- 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 +723 -0
- package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +660 -0
- package/dist/components/CdsTextInput/index.d.ts +1 -0
- package/dist/components/index.d.ts +24 -1
- package/dist/composable/color.d.ts +4 -2
- package/dist/composable/datetime.d.ts +76 -0
- package/dist/composable/delay.d.ts +29 -0
- package/dist/composable/dimensions.d.ts +47 -0
- package/dist/composable/direction.d.ts +24 -0
- package/dist/composable/field.d.ts +139 -0
- package/dist/composable/filter.d.ts +52 -0
- package/dist/composable/focus.d.ts +19 -9
- package/dist/composable/form.d.ts +128 -0
- package/dist/composable/hidration.d.ts +2 -0
- package/dist/composable/icon.d.ts +29 -4
- package/dist/composable/index.d.ts +18 -0
- package/dist/composable/input.d.ts +99 -0
- package/dist/composable/items.d.ts +12 -9
- package/dist/composable/lazy.d.ts +21 -0
- package/dist/composable/link.d.ts +1 -2
- package/dist/composable/loading.d.ts +1 -0
- package/dist/composable/menu.d.ts +37 -0
- package/dist/composable/nested/nested.d.ts +2 -2
- package/dist/composable/overlay.d.ts +98 -0
- package/dist/composable/router.d.ts +3 -0
- package/dist/composable/scopeId.d.ts +5 -0
- package/dist/composable/select.d.ts +86 -0
- package/dist/composable/title.d.ts +21 -0
- package/dist/composable/transition.d.ts +22 -0
- package/dist/composable/validation.d.ts +128 -0
- package/dist/directives/click-outside/index.d.ts +14 -0
- package/dist/directives/index.d.ts +1 -2
- package/dist/globals.d.ts +16 -0
- package/dist/locale/index.d.ts +12 -0
- package/dist/locale/ru.d.ts +3 -0
- package/dist/transitions/createTransition.d.ts +31 -2
- package/dist/transitions/index.d.ts +240 -0
- package/dist/utils/anchor.d.ts +23 -0
- package/dist/utils/animation.d.ts +6 -0
- package/dist/utils/box.d.ts +26 -0
- package/dist/utils/cache.d.ts +4 -0
- package/dist/utils/date.d.ts +181 -0
- package/dist/utils/dom.d.ts +6 -0
- package/dist/utils/getScrollParent.d.ts +3 -0
- package/dist/utils/globals.d.ts +4 -0
- package/dist/utils/helpers.d.ts +93 -20
- package/dist/utils/index.d.ts +8 -0
- package/package.json +5 -4
- package/src/scss/mixins/layout/_shadow.scss +4 -0
- package/src/scss/mixins/layout/index.scss +1 -0
- package/src/scss/modules/_transition.scss +133 -3
- package/src/scss/themes/index.ts +1 -1
|
@@ -0,0 +1,723 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export declare const componentName = "CdsTextArea";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
/**
|
|
5
|
+
* Автоматическое увеличение высоты текстовой области
|
|
6
|
+
*/
|
|
7
|
+
autoGrow: {
|
|
8
|
+
type: PropType<boolean>;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Количество строк в текстовой области
|
|
13
|
+
*/
|
|
14
|
+
rows: {
|
|
15
|
+
type: PropType<string | number>;
|
|
16
|
+
default: number;
|
|
17
|
+
validator: (value: any) => boolean;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Максимальное количество строк в текстовой области
|
|
21
|
+
*/
|
|
22
|
+
maxRows: {
|
|
23
|
+
type: PropType<string | number>;
|
|
24
|
+
default: number;
|
|
25
|
+
validator: (value: any) => boolean;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Отключение возможности изменения размера текстовой области
|
|
29
|
+
*/
|
|
30
|
+
noResize: {
|
|
31
|
+
type: PropType<boolean>;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
loading: {
|
|
35
|
+
type: PropType<boolean>;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
focused: {
|
|
39
|
+
type: PropType<boolean>;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
'onClick:prepend': {
|
|
43
|
+
type: PropType<(...args: any[]) => any>;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
'onClick:append': {
|
|
47
|
+
type: PropType<(...args: any[]) => any>;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
prependIcon: {
|
|
51
|
+
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">;
|
|
52
|
+
default: undefined;
|
|
53
|
+
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;
|
|
54
|
+
};
|
|
55
|
+
appendIcon: {
|
|
56
|
+
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">;
|
|
57
|
+
default: undefined;
|
|
58
|
+
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;
|
|
59
|
+
};
|
|
60
|
+
disabled: {
|
|
61
|
+
type: PropType<boolean>;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
error: {
|
|
65
|
+
type: PropType<boolean>;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
errorMessages: {
|
|
69
|
+
type: PropType<string | string[]>;
|
|
70
|
+
default: () => never[];
|
|
71
|
+
};
|
|
72
|
+
maxErrors: {
|
|
73
|
+
type: PropType<string | number>;
|
|
74
|
+
default: number;
|
|
75
|
+
};
|
|
76
|
+
name: {
|
|
77
|
+
type: PropType<string | undefined>;
|
|
78
|
+
default: undefined;
|
|
79
|
+
};
|
|
80
|
+
readonly: {
|
|
81
|
+
type: PropType<boolean>;
|
|
82
|
+
default: boolean;
|
|
83
|
+
};
|
|
84
|
+
rules: {
|
|
85
|
+
type: PropType<import("../../composable").TValidationRule[]>;
|
|
86
|
+
default: () => never[];
|
|
87
|
+
};
|
|
88
|
+
modelValue: {
|
|
89
|
+
type: PropType<any>;
|
|
90
|
+
default: null;
|
|
91
|
+
};
|
|
92
|
+
validateOn: {
|
|
93
|
+
type: PropType<"input" | "blur" | "submit">;
|
|
94
|
+
default: string;
|
|
95
|
+
available: readonly ["blur", "input", "submit"];
|
|
96
|
+
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
97
|
+
};
|
|
98
|
+
validationValue: {
|
|
99
|
+
type: PropType<any>;
|
|
100
|
+
default: undefined;
|
|
101
|
+
};
|
|
102
|
+
hideMessages: {
|
|
103
|
+
type: PropType<boolean>;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
id: {
|
|
107
|
+
type: PropType<string>;
|
|
108
|
+
default: undefined;
|
|
109
|
+
};
|
|
110
|
+
label: {
|
|
111
|
+
type: PropType<string>;
|
|
112
|
+
default: undefined; /**
|
|
113
|
+
* Автоматическое увеличение высоты текстовой области
|
|
114
|
+
*/
|
|
115
|
+
};
|
|
116
|
+
description: {
|
|
117
|
+
type: PropType<string>;
|
|
118
|
+
default: undefined;
|
|
119
|
+
};
|
|
120
|
+
value: {
|
|
121
|
+
type: PropType<any>;
|
|
122
|
+
default: null;
|
|
123
|
+
};
|
|
124
|
+
messages: {
|
|
125
|
+
type: PropType<string | string[]>;
|
|
126
|
+
default: () => never[];
|
|
127
|
+
};
|
|
128
|
+
persistentMessages: {
|
|
129
|
+
type: PropType<boolean>;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
132
|
+
active: {
|
|
133
|
+
type: PropType<boolean>;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
136
|
+
autofocus: {
|
|
137
|
+
type: PropType<boolean>;
|
|
138
|
+
default: boolean;
|
|
139
|
+
};
|
|
140
|
+
prefix: {
|
|
141
|
+
type: PropType<string>;
|
|
142
|
+
default: undefined;
|
|
143
|
+
};
|
|
144
|
+
suffix: {
|
|
145
|
+
type: PropType<string>;
|
|
146
|
+
default: undefined;
|
|
147
|
+
};
|
|
148
|
+
prependInnerIcon: {
|
|
149
|
+
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">;
|
|
150
|
+
default: undefined;
|
|
151
|
+
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;
|
|
152
|
+
};
|
|
153
|
+
appendInnerIcon: {
|
|
154
|
+
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">;
|
|
155
|
+
default: undefined;
|
|
156
|
+
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;
|
|
157
|
+
};
|
|
158
|
+
type: {
|
|
159
|
+
type: PropType<"number" | "text" | "password" | "email" | "tel" | "url">;
|
|
160
|
+
default: string;
|
|
161
|
+
validator: (value: "number" | "text" | "password" | "email" | "tel" | "url") => boolean;
|
|
162
|
+
};
|
|
163
|
+
placeholder: {
|
|
164
|
+
type: PropType<string>;
|
|
165
|
+
default: undefined;
|
|
166
|
+
};
|
|
167
|
+
counter: {
|
|
168
|
+
type: PropType<boolean>;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
limit: {
|
|
172
|
+
type: PropType<number>;
|
|
173
|
+
default: undefined;
|
|
174
|
+
};
|
|
175
|
+
clearable: {
|
|
176
|
+
type: PropType<boolean>;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
'onClick:prependInner': {
|
|
180
|
+
type: PropType<(...args: any[]) => any>;
|
|
181
|
+
default: undefined;
|
|
182
|
+
};
|
|
183
|
+
'onClick:appendInner': {
|
|
184
|
+
type: PropType<(...args: any[]) => any>;
|
|
185
|
+
default: undefined;
|
|
186
|
+
};
|
|
187
|
+
}, {
|
|
188
|
+
id: import("vue").ComputedRef<string>;
|
|
189
|
+
model: import("vue").Ref<any> & {
|
|
190
|
+
readonly externalValue: any;
|
|
191
|
+
};
|
|
192
|
+
fieldRef: import("vue").Ref<HTMLElement | undefined>;
|
|
193
|
+
textareaRef: import("vue").Ref<HTMLTextAreaElement | undefined>;
|
|
194
|
+
validationRef: import("vue").Ref<import("vue").DefineComponent<{
|
|
195
|
+
'onClick:prepend': PropType<(...args: any[]) => any>;
|
|
196
|
+
'onClick:append': PropType<(...args: any[]) => any>;
|
|
197
|
+
focused: {
|
|
198
|
+
type: PropType<boolean>;
|
|
199
|
+
default: boolean;
|
|
200
|
+
};
|
|
201
|
+
disabled: {
|
|
202
|
+
type: PropType<boolean>;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
205
|
+
error: {
|
|
206
|
+
type: PropType<boolean>;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
errorMessages: {
|
|
210
|
+
type: PropType<string | string[]>;
|
|
211
|
+
default: () => never[];
|
|
212
|
+
};
|
|
213
|
+
maxErrors: {
|
|
214
|
+
type: PropType<string | number>;
|
|
215
|
+
default: number;
|
|
216
|
+
};
|
|
217
|
+
name: {
|
|
218
|
+
type: PropType<string | undefined>;
|
|
219
|
+
default: undefined;
|
|
220
|
+
};
|
|
221
|
+
readonly: {
|
|
222
|
+
type: PropType<boolean>;
|
|
223
|
+
default: boolean;
|
|
224
|
+
};
|
|
225
|
+
rules: {
|
|
226
|
+
type: PropType<import("../../composable").TValidationRule[]>;
|
|
227
|
+
default: () => never[];
|
|
228
|
+
};
|
|
229
|
+
modelValue: {
|
|
230
|
+
type: PropType<any>;
|
|
231
|
+
default: null;
|
|
232
|
+
};
|
|
233
|
+
validateOn: {
|
|
234
|
+
type: PropType<"input" | "blur" | "submit">;
|
|
235
|
+
default: string;
|
|
236
|
+
available: readonly ["blur", "input", "submit"];
|
|
237
|
+
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
238
|
+
};
|
|
239
|
+
validationValue: {
|
|
240
|
+
type: PropType<any>;
|
|
241
|
+
default: undefined;
|
|
242
|
+
};
|
|
243
|
+
hideMessages: {
|
|
244
|
+
type: PropType<boolean>;
|
|
245
|
+
default: boolean;
|
|
246
|
+
};
|
|
247
|
+
prependIcon: {
|
|
248
|
+
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">;
|
|
249
|
+
default: undefined;
|
|
250
|
+
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;
|
|
251
|
+
};
|
|
252
|
+
appendIcon: {
|
|
253
|
+
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">;
|
|
254
|
+
default: undefined;
|
|
255
|
+
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;
|
|
256
|
+
};
|
|
257
|
+
id: {
|
|
258
|
+
type: PropType<string>;
|
|
259
|
+
default: undefined;
|
|
260
|
+
};
|
|
261
|
+
label: {
|
|
262
|
+
type: PropType<string>;
|
|
263
|
+
default: undefined; /**
|
|
264
|
+
* Автоматическое увеличение высоты текстовой области
|
|
265
|
+
*/
|
|
266
|
+
};
|
|
267
|
+
description: {
|
|
268
|
+
type: PropType<string>;
|
|
269
|
+
default: undefined;
|
|
270
|
+
};
|
|
271
|
+
value: {
|
|
272
|
+
type: PropType<any>;
|
|
273
|
+
default: null;
|
|
274
|
+
};
|
|
275
|
+
messages: {
|
|
276
|
+
type: PropType<string | string[]>;
|
|
277
|
+
default: () => never[];
|
|
278
|
+
};
|
|
279
|
+
persistentMessages: {
|
|
280
|
+
type: PropType<boolean>;
|
|
281
|
+
default: boolean;
|
|
282
|
+
};
|
|
283
|
+
}, {
|
|
284
|
+
isFocused: import("vue").Ref<boolean>;
|
|
285
|
+
hasPrepend: import("vue").ComputedRef<boolean>;
|
|
286
|
+
hasAppend: import("vue").ComputedRef<boolean>;
|
|
287
|
+
hasDefault: import("vue").ComputedRef<boolean>;
|
|
288
|
+
hasMessages: import("vue").ComputedRef<number | boolean>;
|
|
289
|
+
slotProps: import("vue").ComputedRef<import("../../composable").IInputSlot>;
|
|
290
|
+
messagesId: import("vue").ComputedRef<string>;
|
|
291
|
+
messages: import("vue").ComputedRef<string | string[]>;
|
|
292
|
+
isValid: import("vue").ComputedRef<boolean | null>;
|
|
293
|
+
validationClasses: import("vue").ComputedRef<Record<string, boolean>>;
|
|
294
|
+
focusClasses: import("vue").ComputedRef<Record<string, boolean>>;
|
|
295
|
+
reset: () => void;
|
|
296
|
+
resetValidation: () => void;
|
|
297
|
+
validate: () => Promise<string[]>;
|
|
298
|
+
handleClickPrepend: (event: MouseEvent) => void;
|
|
299
|
+
handleClickAppend: (event: MouseEvent) => void;
|
|
300
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
301
|
+
'onClick:prepend': PropType<(...args: any[]) => any>;
|
|
302
|
+
'onClick:append': PropType<(...args: any[]) => any>;
|
|
303
|
+
focused: {
|
|
304
|
+
type: PropType<boolean>;
|
|
305
|
+
default: boolean;
|
|
306
|
+
};
|
|
307
|
+
disabled: {
|
|
308
|
+
type: PropType<boolean>;
|
|
309
|
+
default: boolean;
|
|
310
|
+
};
|
|
311
|
+
error: {
|
|
312
|
+
type: PropType<boolean>;
|
|
313
|
+
default: boolean;
|
|
314
|
+
};
|
|
315
|
+
errorMessages: {
|
|
316
|
+
type: PropType<string | string[]>;
|
|
317
|
+
default: () => never[];
|
|
318
|
+
};
|
|
319
|
+
maxErrors: {
|
|
320
|
+
type: PropType<string | number>;
|
|
321
|
+
default: number;
|
|
322
|
+
};
|
|
323
|
+
name: {
|
|
324
|
+
type: PropType<string | undefined>;
|
|
325
|
+
default: undefined;
|
|
326
|
+
};
|
|
327
|
+
readonly: {
|
|
328
|
+
type: PropType<boolean>;
|
|
329
|
+
default: boolean;
|
|
330
|
+
};
|
|
331
|
+
rules: {
|
|
332
|
+
type: PropType<import("../../composable").TValidationRule[]>;
|
|
333
|
+
default: () => never[];
|
|
334
|
+
};
|
|
335
|
+
modelValue: {
|
|
336
|
+
type: PropType<any>;
|
|
337
|
+
default: null;
|
|
338
|
+
};
|
|
339
|
+
validateOn: {
|
|
340
|
+
type: PropType<"input" | "blur" | "submit">;
|
|
341
|
+
default: string;
|
|
342
|
+
available: readonly ["blur", "input", "submit"];
|
|
343
|
+
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
344
|
+
};
|
|
345
|
+
validationValue: {
|
|
346
|
+
type: PropType<any>;
|
|
347
|
+
default: undefined;
|
|
348
|
+
};
|
|
349
|
+
hideMessages: {
|
|
350
|
+
type: PropType<boolean>;
|
|
351
|
+
default: boolean;
|
|
352
|
+
};
|
|
353
|
+
prependIcon: {
|
|
354
|
+
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">;
|
|
355
|
+
default: undefined;
|
|
356
|
+
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;
|
|
357
|
+
};
|
|
358
|
+
appendIcon: {
|
|
359
|
+
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">;
|
|
360
|
+
default: undefined;
|
|
361
|
+
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;
|
|
362
|
+
};
|
|
363
|
+
id: {
|
|
364
|
+
type: PropType<string>;
|
|
365
|
+
default: undefined;
|
|
366
|
+
};
|
|
367
|
+
label: {
|
|
368
|
+
type: PropType<string>;
|
|
369
|
+
default: undefined; /**
|
|
370
|
+
* Автоматическое увеличение высоты текстовой области
|
|
371
|
+
*/
|
|
372
|
+
};
|
|
373
|
+
description: {
|
|
374
|
+
type: PropType<string>;
|
|
375
|
+
default: undefined;
|
|
376
|
+
};
|
|
377
|
+
value: {
|
|
378
|
+
type: PropType<any>;
|
|
379
|
+
default: null;
|
|
380
|
+
};
|
|
381
|
+
messages: {
|
|
382
|
+
type: PropType<string | string[]>;
|
|
383
|
+
default: () => never[];
|
|
384
|
+
};
|
|
385
|
+
persistentMessages: {
|
|
386
|
+
type: PropType<boolean>;
|
|
387
|
+
default: boolean;
|
|
388
|
+
};
|
|
389
|
+
}>> & {
|
|
390
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
391
|
+
}, {
|
|
392
|
+
name: string | undefined;
|
|
393
|
+
description: string;
|
|
394
|
+
disabled: boolean;
|
|
395
|
+
value: any;
|
|
396
|
+
error: boolean;
|
|
397
|
+
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";
|
|
398
|
+
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";
|
|
399
|
+
messages: string | string[];
|
|
400
|
+
id: string;
|
|
401
|
+
label: string;
|
|
402
|
+
persistentMessages: boolean;
|
|
403
|
+
errorMessages: string | string[];
|
|
404
|
+
maxErrors: string | number;
|
|
405
|
+
readonly: boolean;
|
|
406
|
+
rules: import("../../composable").TValidationRule[];
|
|
407
|
+
modelValue: any;
|
|
408
|
+
validateOn: "input" | "blur" | "submit";
|
|
409
|
+
validationValue: any;
|
|
410
|
+
hideMessages: boolean;
|
|
411
|
+
focused: boolean;
|
|
412
|
+
}> | undefined>;
|
|
413
|
+
sizerRef: import("vue").Ref<HTMLTextAreaElement | undefined>;
|
|
414
|
+
isFocused: import("vue").Ref<boolean>;
|
|
415
|
+
rootAttrs: import("vue").Ref<{}>;
|
|
416
|
+
inputAttrs: import("vue").Ref<{}>;
|
|
417
|
+
inputProps: import("vue").Ref<{
|
|
418
|
+
readonly type?: "number" | "text" | "password" | "email" | "tel" | "url" | undefined;
|
|
419
|
+
readonly disabled?: boolean | undefined;
|
|
420
|
+
readonly value?: any;
|
|
421
|
+
readonly error?: boolean | undefined;
|
|
422
|
+
readonly loading?: boolean | undefined;
|
|
423
|
+
readonly messages?: string | string[] | undefined;
|
|
424
|
+
readonly active?: boolean | undefined;
|
|
425
|
+
readonly persistentMessages?: boolean | undefined;
|
|
426
|
+
readonly errorMessages?: string | string[] | undefined;
|
|
427
|
+
readonly maxErrors?: string | number | undefined;
|
|
428
|
+
readonly readonly?: boolean | undefined;
|
|
429
|
+
readonly rules?: (import("../../composable").TValidationResult | ((value: any) => import("../../composable").TValidationResult) | ((value: any) => PromiseLike<import("../../composable").TValidationResult>) | {
|
|
430
|
+
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>;
|
|
431
|
+
})[] | undefined;
|
|
432
|
+
readonly modelValue?: any;
|
|
433
|
+
readonly validateOn?: "input" | "blur" | "submit" | undefined;
|
|
434
|
+
readonly hideMessages?: boolean | undefined;
|
|
435
|
+
readonly focused?: boolean | undefined;
|
|
436
|
+
readonly autofocus?: boolean | undefined;
|
|
437
|
+
readonly counter?: boolean | undefined;
|
|
438
|
+
readonly clearable?: boolean | undefined;
|
|
439
|
+
readonly autoGrow?: boolean | undefined;
|
|
440
|
+
readonly rows?: string | number | undefined;
|
|
441
|
+
readonly maxRows?: string | number | undefined;
|
|
442
|
+
readonly noResize?: boolean | undefined;
|
|
443
|
+
readonly name?: string | undefined;
|
|
444
|
+
readonly description?: string | undefined;
|
|
445
|
+
readonly 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" | undefined;
|
|
446
|
+
readonly 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" | undefined;
|
|
447
|
+
readonly id?: string | undefined;
|
|
448
|
+
readonly label?: string | undefined;
|
|
449
|
+
readonly validationValue?: any;
|
|
450
|
+
readonly 'onClick:prepend'?: (((...args: any[]) => any) & ((...args: any[]) => any)) | undefined;
|
|
451
|
+
readonly 'onClick:append'?: (((...args: any[]) => any) & ((...args: any[]) => any)) | undefined;
|
|
452
|
+
readonly prefix?: string | undefined;
|
|
453
|
+
readonly suffix?: string | undefined;
|
|
454
|
+
readonly prependInnerIcon?: "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" | undefined;
|
|
455
|
+
readonly appendInnerIcon?: "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" | undefined;
|
|
456
|
+
readonly placeholder?: string | undefined;
|
|
457
|
+
readonly limit?: number | undefined;
|
|
458
|
+
readonly 'onClick:prependInner'?: (((...args: any[]) => any) & ((...args: any[]) => any)) | undefined;
|
|
459
|
+
readonly 'onClick:appendInner'?: (((...args: any[]) => any) & ((...args: any[]) => any)) | undefined;
|
|
460
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
461
|
+
readonly "onUpdate:focused"?: ((...args: any[]) => any) | undefined;
|
|
462
|
+
readonly "onClick:clear"?: ((...args: any[]) => any) | undefined;
|
|
463
|
+
}>;
|
|
464
|
+
hasLabel: import("vue").ComputedRef<boolean>;
|
|
465
|
+
hasDescription: import("vue").ComputedRef<boolean>;
|
|
466
|
+
hasPrepend: import("vue").ComputedRef<boolean>;
|
|
467
|
+
hasAppend: import("vue").ComputedRef<boolean>;
|
|
468
|
+
hasPrependInnerIcon: import("vue").ComputedRef<boolean>;
|
|
469
|
+
hasAppendInnerIcon: import("vue").ComputedRef<boolean>;
|
|
470
|
+
hasLoading: import("vue").ComputedRef<boolean>;
|
|
471
|
+
hasClear: import("vue").ComputedRef<boolean>;
|
|
472
|
+
counterValue: import("vue").ComputedRef<any>;
|
|
473
|
+
iconClasses: import("vue").ComputedRef<Record<string, boolean>>;
|
|
474
|
+
textareaClasses: import("vue").ComputedRef<{
|
|
475
|
+
'cds-text-area--has-prefix': boolean;
|
|
476
|
+
'cds-text-area--has-suffix': boolean;
|
|
477
|
+
'cds-text-area--disabled-resize': boolean;
|
|
478
|
+
'cds-text-area--auto-grow': boolean;
|
|
479
|
+
}>;
|
|
480
|
+
fieldClasses: import("vue").ComputedRef<Record<string, boolean>>;
|
|
481
|
+
loadingClasses: import("vue").ComputedRef<string | undefined>;
|
|
482
|
+
textareaHeight: import("vue").Ref<string>;
|
|
483
|
+
onBlur: () => void;
|
|
484
|
+
onFocus: () => void;
|
|
485
|
+
onInput: (event: Event) => void;
|
|
486
|
+
onClear: (event: Event) => void;
|
|
487
|
+
handleClickPrependInner: (event: MouseEvent) => void;
|
|
488
|
+
handleClickAppendInner: (event: MouseEvent) => void;
|
|
489
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:focused" | "click:clear" | "click:prepend" | "click:append" | "click:prependInner" | "click:appendInner")[], "update:modelValue" | "update:focused" | "click:clear" | "click:prepend" | "click:append" | "click:prependInner" | "click:appendInner", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
490
|
+
/**
|
|
491
|
+
* Автоматическое увеличение высоты текстовой области
|
|
492
|
+
*/
|
|
493
|
+
autoGrow: {
|
|
494
|
+
type: PropType<boolean>;
|
|
495
|
+
default: boolean;
|
|
496
|
+
};
|
|
497
|
+
/**
|
|
498
|
+
* Количество строк в текстовой области
|
|
499
|
+
*/
|
|
500
|
+
rows: {
|
|
501
|
+
type: PropType<string | number>;
|
|
502
|
+
default: number;
|
|
503
|
+
validator: (value: any) => boolean;
|
|
504
|
+
};
|
|
505
|
+
/**
|
|
506
|
+
* Максимальное количество строк в текстовой области
|
|
507
|
+
*/
|
|
508
|
+
maxRows: {
|
|
509
|
+
type: PropType<string | number>;
|
|
510
|
+
default: number;
|
|
511
|
+
validator: (value: any) => boolean;
|
|
512
|
+
};
|
|
513
|
+
/**
|
|
514
|
+
* Отключение возможности изменения размера текстовой области
|
|
515
|
+
*/
|
|
516
|
+
noResize: {
|
|
517
|
+
type: PropType<boolean>;
|
|
518
|
+
default: boolean;
|
|
519
|
+
};
|
|
520
|
+
loading: {
|
|
521
|
+
type: PropType<boolean>;
|
|
522
|
+
default: boolean;
|
|
523
|
+
};
|
|
524
|
+
focused: {
|
|
525
|
+
type: PropType<boolean>;
|
|
526
|
+
default: boolean;
|
|
527
|
+
};
|
|
528
|
+
'onClick:prepend': {
|
|
529
|
+
type: PropType<(...args: any[]) => any>;
|
|
530
|
+
default: undefined;
|
|
531
|
+
};
|
|
532
|
+
'onClick:append': {
|
|
533
|
+
type: PropType<(...args: any[]) => any>;
|
|
534
|
+
default: undefined;
|
|
535
|
+
};
|
|
536
|
+
prependIcon: {
|
|
537
|
+
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">;
|
|
538
|
+
default: undefined;
|
|
539
|
+
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;
|
|
540
|
+
};
|
|
541
|
+
appendIcon: {
|
|
542
|
+
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">;
|
|
543
|
+
default: undefined;
|
|
544
|
+
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;
|
|
545
|
+
};
|
|
546
|
+
disabled: {
|
|
547
|
+
type: PropType<boolean>;
|
|
548
|
+
default: boolean;
|
|
549
|
+
};
|
|
550
|
+
error: {
|
|
551
|
+
type: PropType<boolean>;
|
|
552
|
+
default: boolean;
|
|
553
|
+
};
|
|
554
|
+
errorMessages: {
|
|
555
|
+
type: PropType<string | string[]>;
|
|
556
|
+
default: () => never[];
|
|
557
|
+
};
|
|
558
|
+
maxErrors: {
|
|
559
|
+
type: PropType<string | number>;
|
|
560
|
+
default: number;
|
|
561
|
+
};
|
|
562
|
+
name: {
|
|
563
|
+
type: PropType<string | undefined>;
|
|
564
|
+
default: undefined;
|
|
565
|
+
};
|
|
566
|
+
readonly: {
|
|
567
|
+
type: PropType<boolean>;
|
|
568
|
+
default: boolean;
|
|
569
|
+
};
|
|
570
|
+
rules: {
|
|
571
|
+
type: PropType<import("../../composable").TValidationRule[]>;
|
|
572
|
+
default: () => never[];
|
|
573
|
+
};
|
|
574
|
+
modelValue: {
|
|
575
|
+
type: PropType<any>;
|
|
576
|
+
default: null;
|
|
577
|
+
};
|
|
578
|
+
validateOn: {
|
|
579
|
+
type: PropType<"input" | "blur" | "submit">;
|
|
580
|
+
default: string;
|
|
581
|
+
available: readonly ["blur", "input", "submit"];
|
|
582
|
+
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
583
|
+
};
|
|
584
|
+
validationValue: {
|
|
585
|
+
type: PropType<any>;
|
|
586
|
+
default: undefined;
|
|
587
|
+
};
|
|
588
|
+
hideMessages: {
|
|
589
|
+
type: PropType<boolean>;
|
|
590
|
+
default: boolean;
|
|
591
|
+
};
|
|
592
|
+
id: {
|
|
593
|
+
type: PropType<string>;
|
|
594
|
+
default: undefined;
|
|
595
|
+
};
|
|
596
|
+
label: {
|
|
597
|
+
type: PropType<string>;
|
|
598
|
+
default: undefined; /**
|
|
599
|
+
* Автоматическое увеличение высоты текстовой области
|
|
600
|
+
*/
|
|
601
|
+
};
|
|
602
|
+
description: {
|
|
603
|
+
type: PropType<string>;
|
|
604
|
+
default: undefined;
|
|
605
|
+
};
|
|
606
|
+
value: {
|
|
607
|
+
type: PropType<any>;
|
|
608
|
+
default: null;
|
|
609
|
+
};
|
|
610
|
+
messages: {
|
|
611
|
+
type: PropType<string | string[]>;
|
|
612
|
+
default: () => never[];
|
|
613
|
+
};
|
|
614
|
+
persistentMessages: {
|
|
615
|
+
type: PropType<boolean>;
|
|
616
|
+
default: boolean;
|
|
617
|
+
};
|
|
618
|
+
active: {
|
|
619
|
+
type: PropType<boolean>;
|
|
620
|
+
default: boolean;
|
|
621
|
+
};
|
|
622
|
+
autofocus: {
|
|
623
|
+
type: PropType<boolean>;
|
|
624
|
+
default: boolean;
|
|
625
|
+
};
|
|
626
|
+
prefix: {
|
|
627
|
+
type: PropType<string>;
|
|
628
|
+
default: undefined;
|
|
629
|
+
};
|
|
630
|
+
suffix: {
|
|
631
|
+
type: PropType<string>;
|
|
632
|
+
default: undefined;
|
|
633
|
+
};
|
|
634
|
+
prependInnerIcon: {
|
|
635
|
+
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">;
|
|
636
|
+
default: undefined;
|
|
637
|
+
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;
|
|
638
|
+
};
|
|
639
|
+
appendInnerIcon: {
|
|
640
|
+
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">;
|
|
641
|
+
default: undefined;
|
|
642
|
+
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;
|
|
643
|
+
};
|
|
644
|
+
type: {
|
|
645
|
+
type: PropType<"number" | "text" | "password" | "email" | "tel" | "url">;
|
|
646
|
+
default: string;
|
|
647
|
+
validator: (value: "number" | "text" | "password" | "email" | "tel" | "url") => boolean;
|
|
648
|
+
};
|
|
649
|
+
placeholder: {
|
|
650
|
+
type: PropType<string>;
|
|
651
|
+
default: undefined;
|
|
652
|
+
};
|
|
653
|
+
counter: {
|
|
654
|
+
type: PropType<boolean>;
|
|
655
|
+
default: boolean;
|
|
656
|
+
};
|
|
657
|
+
limit: {
|
|
658
|
+
type: PropType<number>;
|
|
659
|
+
default: undefined;
|
|
660
|
+
};
|
|
661
|
+
clearable: {
|
|
662
|
+
type: PropType<boolean>;
|
|
663
|
+
default: boolean;
|
|
664
|
+
};
|
|
665
|
+
'onClick:prependInner': {
|
|
666
|
+
type: PropType<(...args: any[]) => any>;
|
|
667
|
+
default: undefined;
|
|
668
|
+
};
|
|
669
|
+
'onClick:appendInner': {
|
|
670
|
+
type: PropType<(...args: any[]) => any>;
|
|
671
|
+
default: undefined;
|
|
672
|
+
};
|
|
673
|
+
}>> & {
|
|
674
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
675
|
+
"onClick:prepend"?: ((...args: any[]) => any) | undefined;
|
|
676
|
+
"onClick:append"?: ((...args: any[]) => any) | undefined;
|
|
677
|
+
"onUpdate:focused"?: ((...args: any[]) => any) | undefined;
|
|
678
|
+
"onClick:prependInner"?: ((...args: any[]) => any) | undefined;
|
|
679
|
+
"onClick:appendInner"?: ((...args: any[]) => any) | undefined;
|
|
680
|
+
"onClick:clear"?: ((...args: any[]) => any) | undefined;
|
|
681
|
+
}, {
|
|
682
|
+
name: string | undefined;
|
|
683
|
+
type: "number" | "text" | "password" | "email" | "tel" | "url";
|
|
684
|
+
description: string;
|
|
685
|
+
disabled: boolean;
|
|
686
|
+
value: any;
|
|
687
|
+
error: boolean;
|
|
688
|
+
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";
|
|
689
|
+
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";
|
|
690
|
+
loading: boolean;
|
|
691
|
+
messages: string | string[];
|
|
692
|
+
active: boolean;
|
|
693
|
+
id: string;
|
|
694
|
+
label: string;
|
|
695
|
+
persistentMessages: boolean;
|
|
696
|
+
errorMessages: string | string[];
|
|
697
|
+
maxErrors: string | number;
|
|
698
|
+
readonly: boolean;
|
|
699
|
+
rules: import("../../composable").TValidationRule[];
|
|
700
|
+
modelValue: any;
|
|
701
|
+
validateOn: "input" | "blur" | "submit";
|
|
702
|
+
validationValue: any;
|
|
703
|
+
hideMessages: boolean;
|
|
704
|
+
focused: boolean;
|
|
705
|
+
'onClick:prepend': (...args: any[]) => any;
|
|
706
|
+
'onClick:append': (...args: any[]) => any;
|
|
707
|
+
autofocus: boolean;
|
|
708
|
+
prefix: string;
|
|
709
|
+
suffix: string;
|
|
710
|
+
prependInnerIcon: "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";
|
|
711
|
+
appendInnerIcon: "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";
|
|
712
|
+
placeholder: string;
|
|
713
|
+
counter: boolean;
|
|
714
|
+
limit: number;
|
|
715
|
+
clearable: boolean;
|
|
716
|
+
'onClick:prependInner': (...args: any[]) => any;
|
|
717
|
+
'onClick:appendInner': (...args: any[]) => any;
|
|
718
|
+
autoGrow: boolean;
|
|
719
|
+
rows: string | number;
|
|
720
|
+
maxRows: string | number;
|
|
721
|
+
noResize: boolean;
|
|
722
|
+
}>;
|
|
723
|
+
export default _sfc_main;
|