@central-design-system/components 3.0.0-alpha.4 → 3.0.0-alpha.6
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 +51 -47
- package/dist/cds.es.js +4479 -3571
- package/dist/cds.umd.js +1 -1
- package/dist/components/CdsButton/CdsButton.vue.d.ts +10 -0
- package/dist/components/CdsCheckbox/CdsCheckbox.vue.d.ts +11 -11
- package/dist/components/CdsCheckbox/CdsCheckboxGroup.vue.d.ts +18 -18
- package/dist/components/CdsCombobox/CdsCombobox.vue.d.ts +127 -185
- package/dist/components/CdsDatePicker/CdsDatePicker.vue.d.ts +17 -17
- package/dist/components/CdsDatePicker/composable/calendar.d.ts +3 -1
- package/dist/components/CdsDropdown/CdsDropdown.vue.d.ts +94 -95
- package/dist/components/CdsForm/CdsForm.vue.d.ts +1 -1
- package/dist/components/CdsGrid/composable/grid.d.ts +2 -1
- package/dist/components/CdsInput/CdsInput.vue.d.ts +11 -11
- package/dist/components/CdsMenu/CdsMenu.vue.d.ts +24 -18
- package/dist/components/CdsOverlay/CdsOverlay.vue.d.ts +9 -13
- package/dist/components/CdsOverlay/composable/locationStrategies.d.ts +3 -0
- package/dist/components/CdsPagination/CdsPagination.vue.d.ts +142 -0
- package/dist/components/CdsRadioButton/CdsRadio.vue.d.ts +18 -18
- package/dist/components/CdsRadioButton/CdsRadioButton.vue.d.ts +18 -18
- package/dist/components/CdsSelect/CdsSelect.vue.d.ts +51 -33
- package/dist/components/CdsTextArea/CdsTextArea.vue.d.ts +83 -62
- package/dist/components/CdsTextInput/CdsTextInput.vue.d.ts +37 -73
- package/dist/components/CdsTimePicker/CdsTimePicker.vue.d.ts +171 -0
- package/dist/components/CdsTimePicker/composable/index.d.ts +1 -0
- package/dist/components/CdsTimePicker/composable/time.d.ts +134 -0
- package/dist/components/CdsTooltip/CdsTooltip.vue.d.ts +765 -0
- package/dist/components/index.d.ts +4 -1
- package/dist/composable/datetime.d.ts +2 -17
- package/dist/composable/dimensions.d.ts +23 -5
- package/dist/composable/display.d.ts +56 -0
- package/dist/composable/index.d.ts +4 -0
- package/dist/composable/overlay.d.ts +1 -1
- package/dist/composable/readonly.d.ts +19 -0
- package/dist/composable/refs.d.ts +6 -0
- package/dist/composable/resizeObserver.d.ts +7 -0
- package/dist/composable/validation.d.ts +0 -16
- package/dist/create.d.ts +21 -0
- package/dist/globals.d.ts +2 -0
- package/dist/utils/date.d.ts +2 -1
- package/dist/utils/helpers.d.ts +3 -0
- package/package.json +1 -2
- package/src/scss/themes/index.ts +1 -1
- package/dist/types/CdsOptions.d.ts +0 -3
- package/src/utils/__test__/helper.test.ts +0 -59
- package/src/utils/__test__/mocks/helper.mock.ts +0 -362
- package/src/utils/__test__/mocks/propFactory.mock.ts +0 -88
- package/src/utils/__test__/propFactory.test.ts +0 -9
- package/src/utils/anchor.ts +0 -76
- package/src/utils/animation.ts +0 -62
- package/src/utils/box.ts +0 -39
- package/src/utils/cache.ts +0 -12
- package/src/utils/changeCase/__test__/lowerCase.test.ts +0 -12
- package/src/utils/changeCase/__test__/mocks/lowerCase.mock.ts +0 -80
- package/src/utils/changeCase/__test__/mocks/noCase.mock.ts +0 -131
- package/src/utils/changeCase/__test__/mocks/paramCase.mock.ts +0 -39
- package/src/utils/changeCase/__test__/mocks/pascalCase.mock.ts +0 -46
- package/src/utils/changeCase/__test__/noCase.test.ts +0 -8
- package/src/utils/changeCase/__test__/paramCase.test.ts +0 -8
- package/src/utils/changeCase/__test__/pascalCase.test.ts +0 -8
- package/src/utils/changeCase/lowerCase.ts +0 -56
- package/src/utils/changeCase/noCase.ts +0 -45
- package/src/utils/changeCase/paramCase.ts +0 -11
- package/src/utils/changeCase/pascalCase.ts +0 -24
- package/src/utils/date.ts +0 -1100
- package/src/utils/dom.ts +0 -24
- package/src/utils/getCurrentInstance.ts +0 -43
- package/src/utils/getScrollParent.ts +0 -29
- package/src/utils/globals.ts +0 -8
- package/src/utils/helpers.ts +0 -311
- package/src/utils/index.ts +0 -19
- package/src/utils/propsFactory.ts +0 -92
|
@@ -35,6 +35,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
35
35
|
type: PropType<boolean>;
|
|
36
36
|
default: boolean;
|
|
37
37
|
};
|
|
38
|
+
readonly: {
|
|
39
|
+
type: PropType<boolean>;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
disabled: {
|
|
43
|
+
type: PropType<boolean>;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
38
46
|
focused: {
|
|
39
47
|
type: PropType<boolean>;
|
|
40
48
|
default: boolean;
|
|
@@ -57,10 +65,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
57
65
|
default: undefined;
|
|
58
66
|
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
67
|
};
|
|
60
|
-
disabled: {
|
|
61
|
-
type: PropType<boolean>;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
68
|
error: {
|
|
65
69
|
type: PropType<boolean>;
|
|
66
70
|
default: boolean;
|
|
@@ -77,20 +81,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
77
81
|
type: PropType<string | undefined>;
|
|
78
82
|
default: undefined;
|
|
79
83
|
};
|
|
80
|
-
readonly: {
|
|
81
|
-
type: PropType<boolean>;
|
|
82
|
-
default: boolean;
|
|
83
|
-
};
|
|
84
84
|
rules: {
|
|
85
85
|
type: PropType<import("../../composable").TValidationRule[]>;
|
|
86
86
|
default: () => never[];
|
|
87
87
|
};
|
|
88
88
|
modelValue: {
|
|
89
89
|
type: PropType<any>;
|
|
90
|
-
default: null;
|
|
90
|
+
default: null; /**
|
|
91
|
+
* Событие клика по иконке после значения поля
|
|
92
|
+
*/
|
|
91
93
|
};
|
|
92
94
|
validateOn: {
|
|
93
|
-
type: PropType<"input" | "blur" | "submit">;
|
|
95
|
+
type: PropType<"input" | "blur" | "submit">; /**
|
|
96
|
+
* Событие клика по иконке внутри элемента перед значением поля
|
|
97
|
+
*/
|
|
94
98
|
default: string;
|
|
95
99
|
available: readonly ["blur", "input", "submit"];
|
|
96
100
|
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
@@ -109,17 +113,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
109
113
|
};
|
|
110
114
|
label: {
|
|
111
115
|
type: PropType<string>;
|
|
112
|
-
default: undefined;
|
|
113
|
-
* Автоматическое увеличение высоты текстовой области
|
|
114
|
-
*/
|
|
116
|
+
default: undefined;
|
|
115
117
|
};
|
|
116
118
|
description: {
|
|
117
|
-
type: PropType<string>;
|
|
119
|
+
type: PropType<string>; /**
|
|
120
|
+
* Автоматическое увеличение высоты текстовой области
|
|
121
|
+
*/
|
|
118
122
|
default: undefined;
|
|
119
123
|
};
|
|
120
124
|
value: {
|
|
121
125
|
type: PropType<any>;
|
|
122
|
-
default: null;
|
|
126
|
+
default: null; /**
|
|
127
|
+
* Количество строк в текстовой области
|
|
128
|
+
*/
|
|
123
129
|
};
|
|
124
130
|
messages: {
|
|
125
131
|
type: PropType<string | string[]>;
|
|
@@ -153,7 +159,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
153
159
|
appendInnerIcon: {
|
|
154
160
|
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
161
|
default: undefined; /**
|
|
156
|
-
* Событие
|
|
162
|
+
* Событие очистки поля ввода
|
|
157
163
|
*/
|
|
158
164
|
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;
|
|
159
165
|
};
|
|
@@ -189,9 +195,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
189
195
|
}, {
|
|
190
196
|
id: import("vue").ComputedRef<string>;
|
|
191
197
|
model: import("vue").Ref<any> & {
|
|
192
|
-
/**
|
|
193
|
-
* Событие очистки поля ввода
|
|
194
|
-
*/
|
|
195
198
|
readonly externalValue: any;
|
|
196
199
|
};
|
|
197
200
|
fieldRef: import("vue").Ref<HTMLElement | undefined>;
|
|
@@ -199,7 +202,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
199
202
|
validationRef: import("vue").Ref<import("vue").DefineComponent<{
|
|
200
203
|
'onClick:prepend': PropType<(...args: any[]) => any>;
|
|
201
204
|
'onClick:append': PropType<(...args: any[]) => any>;
|
|
202
|
-
|
|
205
|
+
readonly: {
|
|
203
206
|
type: PropType<boolean>;
|
|
204
207
|
default: boolean;
|
|
205
208
|
};
|
|
@@ -207,6 +210,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
207
210
|
type: PropType<boolean>;
|
|
208
211
|
default: boolean;
|
|
209
212
|
};
|
|
213
|
+
focused: {
|
|
214
|
+
type: PropType<boolean>;
|
|
215
|
+
default: boolean;
|
|
216
|
+
};
|
|
210
217
|
error: {
|
|
211
218
|
type: PropType<boolean>;
|
|
212
219
|
default: boolean;
|
|
@@ -223,20 +230,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
223
230
|
type: PropType<string | undefined>;
|
|
224
231
|
default: undefined;
|
|
225
232
|
};
|
|
226
|
-
readonly: {
|
|
227
|
-
type: PropType<boolean>;
|
|
228
|
-
default: boolean;
|
|
229
|
-
};
|
|
230
233
|
rules: {
|
|
231
234
|
type: PropType<import("../../composable").TValidationRule[]>;
|
|
232
235
|
default: () => never[];
|
|
233
236
|
};
|
|
234
237
|
modelValue: {
|
|
235
238
|
type: PropType<any>;
|
|
236
|
-
default: null;
|
|
239
|
+
default: null; /**
|
|
240
|
+
* Событие клика по иконке после значения поля
|
|
241
|
+
*/
|
|
237
242
|
};
|
|
238
243
|
validateOn: {
|
|
239
|
-
type: PropType<"input" | "blur" | "submit">;
|
|
244
|
+
type: PropType<"input" | "blur" | "submit">; /**
|
|
245
|
+
* Событие клика по иконке внутри элемента перед значением поля
|
|
246
|
+
*/
|
|
240
247
|
default: string;
|
|
241
248
|
available: readonly ["blur", "input", "submit"];
|
|
242
249
|
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
@@ -265,17 +272,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
265
272
|
};
|
|
266
273
|
label: {
|
|
267
274
|
type: PropType<string>;
|
|
268
|
-
default: undefined;
|
|
269
|
-
* Автоматическое увеличение высоты текстовой области
|
|
270
|
-
*/
|
|
275
|
+
default: undefined;
|
|
271
276
|
};
|
|
272
277
|
description: {
|
|
273
|
-
type: PropType<string>;
|
|
278
|
+
type: PropType<string>; /**
|
|
279
|
+
* Автоматическое увеличение высоты текстовой области
|
|
280
|
+
*/
|
|
274
281
|
default: undefined;
|
|
275
282
|
};
|
|
276
283
|
value: {
|
|
277
284
|
type: PropType<any>;
|
|
278
|
-
default: null;
|
|
285
|
+
default: null; /**
|
|
286
|
+
* Количество строк в текстовой области
|
|
287
|
+
*/
|
|
279
288
|
};
|
|
280
289
|
messages: {
|
|
281
290
|
type: PropType<string | string[]>;
|
|
@@ -309,7 +318,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
309
318
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
310
319
|
'onClick:prepend': PropType<(...args: any[]) => any>;
|
|
311
320
|
'onClick:append': PropType<(...args: any[]) => any>;
|
|
312
|
-
|
|
321
|
+
readonly: {
|
|
313
322
|
type: PropType<boolean>;
|
|
314
323
|
default: boolean;
|
|
315
324
|
};
|
|
@@ -317,6 +326,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
317
326
|
type: PropType<boolean>;
|
|
318
327
|
default: boolean;
|
|
319
328
|
};
|
|
329
|
+
focused: {
|
|
330
|
+
type: PropType<boolean>;
|
|
331
|
+
default: boolean;
|
|
332
|
+
};
|
|
320
333
|
error: {
|
|
321
334
|
type: PropType<boolean>;
|
|
322
335
|
default: boolean;
|
|
@@ -333,20 +346,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
333
346
|
type: PropType<string | undefined>;
|
|
334
347
|
default: undefined;
|
|
335
348
|
};
|
|
336
|
-
readonly: {
|
|
337
|
-
type: PropType<boolean>;
|
|
338
|
-
default: boolean;
|
|
339
|
-
};
|
|
340
349
|
rules: {
|
|
341
350
|
type: PropType<import("../../composable").TValidationRule[]>;
|
|
342
351
|
default: () => never[];
|
|
343
352
|
};
|
|
344
353
|
modelValue: {
|
|
345
354
|
type: PropType<any>;
|
|
346
|
-
default: null;
|
|
355
|
+
default: null; /**
|
|
356
|
+
* Событие клика по иконке после значения поля
|
|
357
|
+
*/
|
|
347
358
|
};
|
|
348
359
|
validateOn: {
|
|
349
|
-
type: PropType<"input" | "blur" | "submit">;
|
|
360
|
+
type: PropType<"input" | "blur" | "submit">; /**
|
|
361
|
+
* Событие клика по иконке внутри элемента перед значением поля
|
|
362
|
+
*/
|
|
350
363
|
default: string;
|
|
351
364
|
available: readonly ["blur", "input", "submit"];
|
|
352
365
|
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
@@ -375,17 +388,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
375
388
|
};
|
|
376
389
|
label: {
|
|
377
390
|
type: PropType<string>;
|
|
378
|
-
default: undefined;
|
|
379
|
-
* Автоматическое увеличение высоты текстовой области
|
|
380
|
-
*/
|
|
391
|
+
default: undefined;
|
|
381
392
|
};
|
|
382
393
|
description: {
|
|
383
|
-
type: PropType<string>;
|
|
394
|
+
type: PropType<string>; /**
|
|
395
|
+
* Автоматическое увеличение высоты текстовой области
|
|
396
|
+
*/
|
|
384
397
|
default: undefined;
|
|
385
398
|
};
|
|
386
399
|
value: {
|
|
387
400
|
type: PropType<any>;
|
|
388
|
-
default: null;
|
|
401
|
+
default: null; /**
|
|
402
|
+
* Количество строк в текстовой области
|
|
403
|
+
*/
|
|
389
404
|
};
|
|
390
405
|
messages: {
|
|
391
406
|
type: PropType<string | string[]>;
|
|
@@ -405,13 +420,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
405
420
|
error: boolean;
|
|
406
421
|
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";
|
|
407
422
|
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";
|
|
423
|
+
readonly: boolean;
|
|
408
424
|
messages: string | string[];
|
|
409
425
|
id: string;
|
|
410
426
|
label: string;
|
|
411
427
|
persistentMessages: boolean;
|
|
412
428
|
errorMessages: string | string[];
|
|
413
429
|
maxErrors: string | number;
|
|
414
|
-
readonly: boolean;
|
|
415
430
|
rules: import("../../composable").TValidationRule[];
|
|
416
431
|
modelValue: any;
|
|
417
432
|
validateOn: "input" | "blur" | "submit";
|
|
@@ -428,13 +443,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
428
443
|
readonly disabled?: boolean | undefined;
|
|
429
444
|
readonly value?: any;
|
|
430
445
|
readonly error?: boolean | undefined;
|
|
446
|
+
readonly readonly?: boolean | undefined;
|
|
431
447
|
readonly loading?: boolean | undefined;
|
|
432
448
|
readonly messages?: string | string[] | undefined;
|
|
433
449
|
readonly active?: boolean | undefined;
|
|
434
450
|
readonly persistentMessages?: boolean | undefined;
|
|
435
451
|
readonly errorMessages?: string | string[] | undefined;
|
|
436
452
|
readonly maxErrors?: string | number | undefined;
|
|
437
|
-
readonly readonly?: boolean | undefined;
|
|
438
453
|
readonly rules?: (import("../../composable").TValidationResult | ((value: any) => import("../../composable").TValidationResult) | ((value: any) => PromiseLike<import("../../composable").TValidationResult>) | {
|
|
439
454
|
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>;
|
|
440
455
|
})[] | undefined;
|
|
@@ -561,6 +576,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
561
576
|
type: PropType<boolean>;
|
|
562
577
|
default: boolean;
|
|
563
578
|
};
|
|
579
|
+
readonly: {
|
|
580
|
+
type: PropType<boolean>;
|
|
581
|
+
default: boolean;
|
|
582
|
+
};
|
|
583
|
+
disabled: {
|
|
584
|
+
type: PropType<boolean>;
|
|
585
|
+
default: boolean;
|
|
586
|
+
};
|
|
564
587
|
focused: {
|
|
565
588
|
type: PropType<boolean>;
|
|
566
589
|
default: boolean;
|
|
@@ -583,10 +606,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
583
606
|
default: undefined;
|
|
584
607
|
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;
|
|
585
608
|
};
|
|
586
|
-
disabled: {
|
|
587
|
-
type: PropType<boolean>;
|
|
588
|
-
default: boolean;
|
|
589
|
-
};
|
|
590
609
|
error: {
|
|
591
610
|
type: PropType<boolean>;
|
|
592
611
|
default: boolean;
|
|
@@ -603,20 +622,20 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
603
622
|
type: PropType<string | undefined>;
|
|
604
623
|
default: undefined;
|
|
605
624
|
};
|
|
606
|
-
readonly: {
|
|
607
|
-
type: PropType<boolean>;
|
|
608
|
-
default: boolean;
|
|
609
|
-
};
|
|
610
625
|
rules: {
|
|
611
626
|
type: PropType<import("../../composable").TValidationRule[]>;
|
|
612
627
|
default: () => never[];
|
|
613
628
|
};
|
|
614
629
|
modelValue: {
|
|
615
630
|
type: PropType<any>;
|
|
616
|
-
default: null;
|
|
631
|
+
default: null; /**
|
|
632
|
+
* Событие клика по иконке после значения поля
|
|
633
|
+
*/
|
|
617
634
|
};
|
|
618
635
|
validateOn: {
|
|
619
|
-
type: PropType<"input" | "blur" | "submit">;
|
|
636
|
+
type: PropType<"input" | "blur" | "submit">; /**
|
|
637
|
+
* Событие клика по иконке внутри элемента перед значением поля
|
|
638
|
+
*/
|
|
620
639
|
default: string;
|
|
621
640
|
available: readonly ["blur", "input", "submit"];
|
|
622
641
|
validator: (value: "input" | "blur" | "submit") => boolean;
|
|
@@ -635,17 +654,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
635
654
|
};
|
|
636
655
|
label: {
|
|
637
656
|
type: PropType<string>;
|
|
638
|
-
default: undefined;
|
|
639
|
-
* Автоматическое увеличение высоты текстовой области
|
|
640
|
-
*/
|
|
657
|
+
default: undefined;
|
|
641
658
|
};
|
|
642
659
|
description: {
|
|
643
|
-
type: PropType<string>;
|
|
660
|
+
type: PropType<string>; /**
|
|
661
|
+
* Автоматическое увеличение высоты текстовой области
|
|
662
|
+
*/
|
|
644
663
|
default: undefined;
|
|
645
664
|
};
|
|
646
665
|
value: {
|
|
647
666
|
type: PropType<any>;
|
|
648
|
-
default: null;
|
|
667
|
+
default: null; /**
|
|
668
|
+
* Количество строк в текстовой области
|
|
669
|
+
*/
|
|
649
670
|
};
|
|
650
671
|
messages: {
|
|
651
672
|
type: PropType<string | string[]>;
|
|
@@ -679,7 +700,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
679
700
|
appendInnerIcon: {
|
|
680
701
|
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">;
|
|
681
702
|
default: undefined; /**
|
|
682
|
-
* Событие
|
|
703
|
+
* Событие очистки поля ввода
|
|
683
704
|
*/
|
|
684
705
|
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;
|
|
685
706
|
};
|
|
@@ -729,6 +750,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
729
750
|
error: boolean;
|
|
730
751
|
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";
|
|
731
752
|
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";
|
|
753
|
+
readonly: boolean;
|
|
732
754
|
loading: boolean;
|
|
733
755
|
messages: string | string[];
|
|
734
756
|
active: boolean;
|
|
@@ -737,7 +759,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
737
759
|
persistentMessages: boolean;
|
|
738
760
|
errorMessages: string | string[];
|
|
739
761
|
maxErrors: string | number;
|
|
740
|
-
readonly: boolean;
|
|
741
762
|
rules: import("../../composable").TValidationRule[];
|
|
742
763
|
modelValue: any;
|
|
743
764
|
validateOn: "input" | "blur" | "submit";
|