@central-design-system/components 3.0.0-alpha.3 → 3.0.0-alpha.5
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 +4 -3
- package/dist/cds.es.js +4036 -3634
- package/dist/cds.umd.js +1 -1
- package/dist/components/CdsButton/CdsButton.vue.d.ts +9 -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 +109 -167
- 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 +76 -77
- package/dist/components/CdsForm/CdsForm.vue.d.ts +1 -1
- package/dist/components/CdsInput/CdsInput.vue.d.ts +11 -11
- 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/index.d.ts +2 -1
- package/dist/composable/datetime.d.ts +2 -17
- package/dist/composable/index.d.ts +1 -0
- package/dist/composable/readonly.d.ts +19 -0
- package/dist/composable/validation.d.ts +0 -16
- package/dist/utils/date.d.ts +2 -1
- package/dist/utils/helpers.d.ts +1 -0
- package/package.json +3 -2
- package/src/scss/themes/index.ts +1 -1
- package/src/utils/__test__/helper.test.ts +59 -0
- package/src/utils/__test__/mocks/helper.mock.ts +362 -0
- package/src/utils/__test__/mocks/propFactory.mock.ts +88 -0
- package/src/utils/__test__/propFactory.test.ts +9 -0
- package/src/utils/anchor.ts +76 -0
- package/src/utils/animation.ts +62 -0
- package/src/utils/box.ts +39 -0
- package/src/utils/cache.ts +12 -0
- package/src/utils/changeCase/__test__/lowerCase.test.ts +12 -0
- package/src/utils/changeCase/__test__/mocks/lowerCase.mock.ts +80 -0
- package/src/utils/changeCase/__test__/mocks/noCase.mock.ts +131 -0
- package/src/utils/changeCase/__test__/mocks/paramCase.mock.ts +39 -0
- package/src/utils/changeCase/__test__/mocks/pascalCase.mock.ts +46 -0
- package/src/utils/changeCase/__test__/noCase.test.ts +8 -0
- package/src/utils/changeCase/__test__/paramCase.test.ts +8 -0
- package/src/utils/changeCase/__test__/pascalCase.test.ts +8 -0
- package/src/utils/changeCase/lowerCase.ts +56 -0
- package/src/utils/changeCase/noCase.ts +45 -0
- package/src/utils/changeCase/paramCase.ts +11 -0
- package/src/utils/changeCase/pascalCase.ts +24 -0
- package/src/utils/date.ts +1106 -0
- package/src/utils/dom.ts +24 -0
- package/src/utils/getCurrentInstance.ts +43 -0
- package/src/utils/getScrollParent.ts +29 -0
- package/src/utils/globals.ts +8 -0
- package/src/utils/helpers.ts +312 -0
- package/src/utils/index.ts +19 -0
- package/src/utils/propsFactory.ts +92 -0
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import { TDatetimeValueRange } from '../../composable';
|
|
2
1
|
import type { IRawDate } from '../../utils';
|
|
2
|
+
import type { TDatetimeValueRange } from '../../composable';
|
|
3
3
|
export declare const componentName = "CdsDatePicker";
|
|
4
4
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
|
+
readonly: {
|
|
6
|
+
type: import("vue").PropType<boolean>;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
disabled: {
|
|
10
|
+
type: import("vue").PropType<boolean>;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
5
13
|
modelValue: {
|
|
6
14
|
type: import("vue").PropType<string | TDatetimeValueRange | (string | TDatetimeValueRange)[]>;
|
|
7
15
|
default: null;
|
|
@@ -23,14 +31,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
23
31
|
}>;
|
|
24
32
|
default: null;
|
|
25
33
|
};
|
|
26
|
-
readonly: {
|
|
27
|
-
type: import("vue").PropType<boolean>;
|
|
28
|
-
default: boolean;
|
|
29
|
-
};
|
|
30
|
-
disabled: {
|
|
31
|
-
type: import("vue").PropType<boolean>;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
34
|
title: {
|
|
35
35
|
type: import("vue").PropType<string>;
|
|
36
36
|
default: undefined;
|
|
@@ -132,6 +132,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
132
132
|
to: Partial<IRawDate>;
|
|
133
133
|
}) => true;
|
|
134
134
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
135
|
+
readonly: {
|
|
136
|
+
type: import("vue").PropType<boolean>;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
disabled: {
|
|
140
|
+
type: import("vue").PropType<boolean>;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
135
143
|
modelValue: {
|
|
136
144
|
type: import("vue").PropType<string | TDatetimeValueRange | (string | TDatetimeValueRange)[]>;
|
|
137
145
|
default: null;
|
|
@@ -153,14 +161,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
153
161
|
}>;
|
|
154
162
|
default: null;
|
|
155
163
|
};
|
|
156
|
-
readonly: {
|
|
157
|
-
type: import("vue").PropType<boolean>;
|
|
158
|
-
default: boolean;
|
|
159
|
-
};
|
|
160
|
-
disabled: {
|
|
161
|
-
type: import("vue").PropType<boolean>;
|
|
162
|
-
default: boolean;
|
|
163
|
-
};
|
|
164
164
|
title: {
|
|
165
165
|
type: import("vue").PropType<string>;
|
|
166
166
|
default: undefined;
|
|
@@ -188,6 +188,7 @@ export declare function useCalendar(props: ICalendarProps, model: Ref<readonly (
|
|
|
188
188
|
dateHash?: string | undefined;
|
|
189
189
|
timeHash?: string | undefined;
|
|
190
190
|
date?: number | undefined;
|
|
191
|
+
changed?: boolean | undefined;
|
|
191
192
|
} | null;
|
|
192
193
|
initHash: number;
|
|
193
194
|
final: {
|
|
@@ -202,6 +203,7 @@ export declare function useCalendar(props: ICalendarProps, model: Ref<readonly (
|
|
|
202
203
|
dateHash?: string | undefined;
|
|
203
204
|
timeHash?: string | undefined;
|
|
204
205
|
date?: number | undefined;
|
|
206
|
+
changed?: boolean | undefined;
|
|
205
207
|
} | null;
|
|
206
208
|
finalHash: number;
|
|
207
209
|
} | null>;
|
|
@@ -222,6 +224,7 @@ export declare function useCalendar(props: ICalendarProps, model: Ref<readonly (
|
|
|
222
224
|
dateHash?: string | undefined;
|
|
223
225
|
timeHash?: string | undefined;
|
|
224
226
|
date?: number | undefined;
|
|
227
|
+
changed?: boolean | undefined;
|
|
225
228
|
}>;
|
|
226
229
|
daysModel: import("vue").ComputedRef<IRawDate[]>;
|
|
227
230
|
rangeModel: import("vue").ComputedRef<{
|
|
@@ -312,4 +315,3 @@ export declare function useCalendar(props: ICalendarProps, model: Ref<readonly (
|
|
|
312
315
|
} | undefined;
|
|
313
316
|
};
|
|
314
317
|
export declare function getMonthHash(date: IRawDate): string;
|
|
315
|
-
export declare function getDayHash(date: IRawDate): string;
|
|
@@ -21,6 +21,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
23
|
itemChildren: {
|
|
24
|
+
/**
|
|
25
|
+
* Событие при фокусе
|
|
26
|
+
* @type { boolean }
|
|
27
|
+
*/
|
|
24
28
|
type: import("vue").PropType<import("../../composable").TItemKey>;
|
|
25
29
|
default: string;
|
|
26
30
|
};
|
|
@@ -36,6 +40,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
36
40
|
type: import("vue").PropType<boolean>;
|
|
37
41
|
default: boolean;
|
|
38
42
|
};
|
|
43
|
+
readonly: {
|
|
44
|
+
type: import("vue").PropType<boolean>;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
disabled: {
|
|
48
|
+
type: import("vue").PropType<boolean>;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
39
51
|
focused: {
|
|
40
52
|
type: import("vue").PropType<boolean>;
|
|
41
53
|
default: boolean;
|
|
@@ -74,10 +86,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
74
86
|
default: undefined;
|
|
75
87
|
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;
|
|
76
88
|
};
|
|
77
|
-
disabled: {
|
|
78
|
-
type: import("vue").PropType<boolean>;
|
|
79
|
-
default: boolean;
|
|
80
|
-
};
|
|
81
89
|
error: {
|
|
82
90
|
type: import("vue").PropType<boolean>;
|
|
83
91
|
default: boolean;
|
|
@@ -94,10 +102,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
94
102
|
type: import("vue").PropType<string | undefined>;
|
|
95
103
|
default: undefined;
|
|
96
104
|
};
|
|
97
|
-
readonly: {
|
|
98
|
-
type: import("vue").PropType<boolean>;
|
|
99
|
-
default: boolean;
|
|
100
|
-
};
|
|
101
105
|
rules: {
|
|
102
106
|
type: import("vue").PropType<import("../../composable").TValidationRule[]>;
|
|
103
107
|
default: () => never[];
|
|
@@ -216,22 +220,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
216
220
|
default: string;
|
|
217
221
|
};
|
|
218
222
|
hideNoData: {
|
|
219
|
-
type: import("vue").PropType<boolean>;
|
|
220
|
-
* Событие при фокусе
|
|
221
|
-
* @type { boolean }
|
|
222
|
-
*/
|
|
223
|
+
type: import("vue").PropType<boolean>;
|
|
223
224
|
default: boolean;
|
|
224
225
|
};
|
|
225
226
|
isSelectAll: {
|
|
226
227
|
type: import("vue").PropType<boolean>;
|
|
227
|
-
default: boolean;
|
|
228
|
+
default: boolean; /**
|
|
229
|
+
* Событие при изменении значения (v-model)
|
|
230
|
+
* @type { any }
|
|
231
|
+
*/
|
|
228
232
|
};
|
|
229
233
|
selectAllText: {
|
|
230
234
|
type: import("vue").PropType<string>;
|
|
231
|
-
default: string;
|
|
232
|
-
* Событие выбора всех элементов
|
|
233
|
-
* @type { boolean }
|
|
234
|
-
*/
|
|
235
|
+
default: string;
|
|
235
236
|
};
|
|
236
237
|
}, {
|
|
237
238
|
model: import("vue").Ref<readonly IInternalItem<any>[]> & {
|
|
@@ -253,6 +254,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
253
254
|
type: import("vue").PropType<boolean>;
|
|
254
255
|
default: boolean;
|
|
255
256
|
};
|
|
257
|
+
readonly: {
|
|
258
|
+
type: import("vue").PropType<boolean>;
|
|
259
|
+
default: boolean;
|
|
260
|
+
};
|
|
261
|
+
disabled: {
|
|
262
|
+
type: import("vue").PropType<boolean>;
|
|
263
|
+
default: boolean;
|
|
264
|
+
};
|
|
256
265
|
focused: {
|
|
257
266
|
type: import("vue").PropType<boolean>;
|
|
258
267
|
default: boolean;
|
|
@@ -275,10 +284,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
275
284
|
default: undefined;
|
|
276
285
|
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;
|
|
277
286
|
};
|
|
278
|
-
disabled: {
|
|
279
|
-
type: import("vue").PropType<boolean>;
|
|
280
|
-
default: boolean;
|
|
281
|
-
};
|
|
282
287
|
error: {
|
|
283
288
|
type: import("vue").PropType<boolean>;
|
|
284
289
|
default: boolean;
|
|
@@ -295,10 +300,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
295
300
|
type: import("vue").PropType<string | undefined>;
|
|
296
301
|
default: undefined;
|
|
297
302
|
};
|
|
298
|
-
readonly: {
|
|
299
|
-
type: import("vue").PropType<boolean>;
|
|
300
|
-
default: boolean;
|
|
301
|
-
};
|
|
302
303
|
rules: {
|
|
303
304
|
type: import("vue").PropType<import("../../composable").TValidationRule[]>;
|
|
304
305
|
default: () => never[];
|
|
@@ -410,7 +411,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
410
411
|
validationRef: import("vue").Ref<import("vue").DefineComponent<{
|
|
411
412
|
'onClick:prepend': import("vue").PropType<(...args: any[]) => any>;
|
|
412
413
|
'onClick:append': import("vue").PropType<(...args: any[]) => any>;
|
|
413
|
-
|
|
414
|
+
readonly: {
|
|
414
415
|
type: import("vue").PropType<boolean>;
|
|
415
416
|
default: boolean;
|
|
416
417
|
};
|
|
@@ -418,6 +419,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
418
419
|
type: import("vue").PropType<boolean>;
|
|
419
420
|
default: boolean;
|
|
420
421
|
};
|
|
422
|
+
focused: {
|
|
423
|
+
type: import("vue").PropType<boolean>;
|
|
424
|
+
default: boolean;
|
|
425
|
+
};
|
|
421
426
|
error: {
|
|
422
427
|
type: import("vue").PropType<boolean>;
|
|
423
428
|
default: boolean;
|
|
@@ -434,10 +439,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
434
439
|
type: import("vue").PropType<string | undefined>;
|
|
435
440
|
default: undefined;
|
|
436
441
|
};
|
|
437
|
-
readonly: {
|
|
438
|
-
type: import("vue").PropType<boolean>;
|
|
439
|
-
default: boolean;
|
|
440
|
-
};
|
|
441
442
|
rules: {
|
|
442
443
|
type: import("vue").PropType<import("../../composable").TValidationRule[]>;
|
|
443
444
|
default: () => never[];
|
|
@@ -516,7 +517,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
516
517
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
517
518
|
'onClick:prepend': import("vue").PropType<(...args: any[]) => any>;
|
|
518
519
|
'onClick:append': import("vue").PropType<(...args: any[]) => any>;
|
|
519
|
-
|
|
520
|
+
readonly: {
|
|
520
521
|
type: import("vue").PropType<boolean>;
|
|
521
522
|
default: boolean;
|
|
522
523
|
};
|
|
@@ -524,6 +525,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
524
525
|
type: import("vue").PropType<boolean>;
|
|
525
526
|
default: boolean;
|
|
526
527
|
};
|
|
528
|
+
focused: {
|
|
529
|
+
type: import("vue").PropType<boolean>;
|
|
530
|
+
default: boolean;
|
|
531
|
+
};
|
|
527
532
|
error: {
|
|
528
533
|
type: import("vue").PropType<boolean>;
|
|
529
534
|
default: boolean;
|
|
@@ -540,10 +545,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
540
545
|
type: import("vue").PropType<string | undefined>;
|
|
541
546
|
default: undefined;
|
|
542
547
|
};
|
|
543
|
-
readonly: {
|
|
544
|
-
type: import("vue").PropType<boolean>;
|
|
545
|
-
default: boolean;
|
|
546
|
-
};
|
|
547
548
|
rules: {
|
|
548
549
|
type: import("vue").PropType<import("../../composable").TValidationRule[]>;
|
|
549
550
|
default: () => never[];
|
|
@@ -610,13 +611,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
610
611
|
error: boolean;
|
|
611
612
|
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";
|
|
612
613
|
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";
|
|
614
|
+
readonly: boolean;
|
|
613
615
|
messages: string | string[];
|
|
614
616
|
id: string;
|
|
615
617
|
label: string;
|
|
616
618
|
persistentMessages: boolean;
|
|
617
619
|
errorMessages: string | string[];
|
|
618
620
|
maxErrors: string | number;
|
|
619
|
-
readonly: boolean;
|
|
620
621
|
rules: import("../../composable").TValidationRule[];
|
|
621
622
|
modelValue: any;
|
|
622
623
|
validateOn: "input" | "blur" | "submit";
|
|
@@ -632,13 +633,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
632
633
|
readonly disabled?: boolean | undefined;
|
|
633
634
|
readonly value?: any;
|
|
634
635
|
readonly error?: boolean | undefined;
|
|
636
|
+
readonly readonly?: boolean | undefined;
|
|
635
637
|
readonly loading?: boolean | undefined;
|
|
636
638
|
readonly messages?: string | string[] | undefined;
|
|
637
639
|
readonly active?: boolean | undefined;
|
|
638
640
|
readonly persistentMessages?: boolean | undefined;
|
|
639
641
|
readonly errorMessages?: string | string[] | undefined;
|
|
640
642
|
readonly maxErrors?: string | number | undefined;
|
|
641
|
-
readonly readonly?: boolean | undefined;
|
|
642
643
|
readonly rules?: (import("../../composable").TValidationResult | ((value: any) => import("../../composable").TValidationResult) | ((value: any) => PromiseLike<import("../../composable").TValidationResult>) | {
|
|
643
644
|
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>;
|
|
644
645
|
})[] | undefined;
|
|
@@ -711,6 +712,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
711
712
|
type: import("vue").PropType<boolean>;
|
|
712
713
|
default: boolean;
|
|
713
714
|
};
|
|
715
|
+
readonly: {
|
|
716
|
+
type: import("vue").PropType<boolean>;
|
|
717
|
+
default: boolean;
|
|
718
|
+
};
|
|
719
|
+
disabled: {
|
|
720
|
+
type: import("vue").PropType<boolean>;
|
|
721
|
+
default: boolean;
|
|
722
|
+
};
|
|
714
723
|
focused: {
|
|
715
724
|
type: import("vue").PropType<boolean>;
|
|
716
725
|
default: boolean;
|
|
@@ -733,10 +742,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
733
742
|
default: undefined;
|
|
734
743
|
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;
|
|
735
744
|
};
|
|
736
|
-
disabled: {
|
|
737
|
-
type: import("vue").PropType<boolean>;
|
|
738
|
-
default: boolean;
|
|
739
|
-
};
|
|
740
745
|
error: {
|
|
741
746
|
type: import("vue").PropType<boolean>;
|
|
742
747
|
default: boolean;
|
|
@@ -753,10 +758,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
753
758
|
type: import("vue").PropType<string | undefined>;
|
|
754
759
|
default: undefined;
|
|
755
760
|
};
|
|
756
|
-
readonly: {
|
|
757
|
-
type: import("vue").PropType<boolean>;
|
|
758
|
-
default: boolean;
|
|
759
|
-
};
|
|
760
761
|
rules: {
|
|
761
762
|
type: import("vue").PropType<import("../../composable").TValidationRule[]>;
|
|
762
763
|
default: () => never[];
|
|
@@ -877,6 +878,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
877
878
|
error: boolean;
|
|
878
879
|
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";
|
|
879
880
|
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";
|
|
881
|
+
readonly: boolean;
|
|
880
882
|
loading: boolean;
|
|
881
883
|
messages: string | string[];
|
|
882
884
|
active: boolean;
|
|
@@ -885,7 +887,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
885
887
|
persistentMessages: boolean;
|
|
886
888
|
errorMessages: string | string[];
|
|
887
889
|
maxErrors: string | number;
|
|
888
|
-
readonly: boolean;
|
|
889
890
|
rules: import("../../composable").TValidationRule[];
|
|
890
891
|
modelValue: any;
|
|
891
892
|
validateOn: "input" | "blur" | "submit";
|
|
@@ -1391,10 +1392,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1391
1392
|
}> | undefined>;
|
|
1392
1393
|
openChildren: import("vue").Ref<number>;
|
|
1393
1394
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1394
|
-
'update:modelValue': (value: boolean) => true;
|
|
1395
|
-
* Событие при изменении значения (v-model)
|
|
1396
|
-
* @type { any }
|
|
1397
|
-
*/
|
|
1395
|
+
'update:modelValue': (value: boolean) => true;
|
|
1398
1396
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1399
1397
|
transition: {
|
|
1400
1398
|
type: import("vue").PropType<string | boolean | (import("vue").TransitionProps & {
|
|
@@ -1640,6 +1638,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1640
1638
|
default: string;
|
|
1641
1639
|
};
|
|
1642
1640
|
itemChildren: {
|
|
1641
|
+
/**
|
|
1642
|
+
* Событие при фокусе
|
|
1643
|
+
* @type { boolean }
|
|
1644
|
+
*/
|
|
1643
1645
|
type: import("vue").PropType<import("../../composable").TItemKey>;
|
|
1644
1646
|
default: string;
|
|
1645
1647
|
};
|
|
@@ -1664,10 +1666,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1664
1666
|
'update:opened': (value: unknown[]) => boolean;
|
|
1665
1667
|
'click:open': (value: {
|
|
1666
1668
|
id: unknown;
|
|
1667
|
-
/**
|
|
1668
|
-
* Событие открытия меню
|
|
1669
|
-
* @type { boolean }
|
|
1670
|
-
*/
|
|
1671
1669
|
value: boolean;
|
|
1672
1670
|
path: unknown[];
|
|
1673
1671
|
event: Event;
|
|
@@ -1725,6 +1723,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1725
1723
|
default: string;
|
|
1726
1724
|
};
|
|
1727
1725
|
itemChildren: {
|
|
1726
|
+
/**
|
|
1727
|
+
* Событие при фокусе
|
|
1728
|
+
* @type { boolean }
|
|
1729
|
+
*/
|
|
1728
1730
|
type: import("vue").PropType<import("../../composable").TItemKey>;
|
|
1729
1731
|
default: string;
|
|
1730
1732
|
};
|
|
@@ -1745,10 +1747,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1745
1747
|
"onUpdate:opened"?: ((value: unknown[]) => any) | undefined;
|
|
1746
1748
|
"onClick:open"?: ((value: {
|
|
1747
1749
|
id: unknown;
|
|
1748
|
-
/**
|
|
1749
|
-
* Событие открытия меню
|
|
1750
|
-
* @type { boolean }
|
|
1751
|
-
*/
|
|
1752
1750
|
value: boolean;
|
|
1753
1751
|
path: unknown[];
|
|
1754
1752
|
event: Event;
|
|
@@ -1786,6 +1784,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1786
1784
|
readonly itemProps?: import("../../composable").TItemKey | undefined;
|
|
1787
1785
|
readonly returnObject?: boolean | undefined;
|
|
1788
1786
|
readonly error?: boolean | undefined;
|
|
1787
|
+
readonly readonly?: boolean | undefined;
|
|
1789
1788
|
readonly loading?: boolean | undefined;
|
|
1790
1789
|
readonly transition?: string | boolean | {
|
|
1791
1790
|
name?: string | undefined;
|
|
@@ -1946,7 +1945,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1946
1945
|
readonly persistentMessages?: boolean | undefined;
|
|
1947
1946
|
readonly errorMessages?: string | string[] | undefined;
|
|
1948
1947
|
readonly maxErrors?: string | number | undefined;
|
|
1949
|
-
readonly readonly?: boolean | undefined;
|
|
1950
1948
|
readonly rules?: (import("../../composable").TValidationResult | ((value: any) => import("../../composable").TValidationResult) | ((value: any) => PromiseLike<import("../../composable").TValidationResult>) | {
|
|
1951
1949
|
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>;
|
|
1952
1950
|
})[] | undefined;
|
|
@@ -2056,6 +2054,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2056
2054
|
default: string;
|
|
2057
2055
|
};
|
|
2058
2056
|
itemChildren: {
|
|
2057
|
+
/**
|
|
2058
|
+
* Событие при фокусе
|
|
2059
|
+
* @type { boolean }
|
|
2060
|
+
*/
|
|
2059
2061
|
type: import("vue").PropType<import("../../composable").TItemKey>;
|
|
2060
2062
|
default: string;
|
|
2061
2063
|
};
|
|
@@ -2071,6 +2073,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2071
2073
|
type: import("vue").PropType<boolean>;
|
|
2072
2074
|
default: boolean;
|
|
2073
2075
|
};
|
|
2076
|
+
readonly: {
|
|
2077
|
+
type: import("vue").PropType<boolean>;
|
|
2078
|
+
default: boolean;
|
|
2079
|
+
};
|
|
2080
|
+
disabled: {
|
|
2081
|
+
type: import("vue").PropType<boolean>;
|
|
2082
|
+
default: boolean;
|
|
2083
|
+
};
|
|
2074
2084
|
focused: {
|
|
2075
2085
|
type: import("vue").PropType<boolean>;
|
|
2076
2086
|
default: boolean;
|
|
@@ -2109,10 +2119,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2109
2119
|
default: undefined;
|
|
2110
2120
|
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;
|
|
2111
2121
|
};
|
|
2112
|
-
disabled: {
|
|
2113
|
-
type: import("vue").PropType<boolean>;
|
|
2114
|
-
default: boolean;
|
|
2115
|
-
};
|
|
2116
2122
|
error: {
|
|
2117
2123
|
type: import("vue").PropType<boolean>;
|
|
2118
2124
|
default: boolean;
|
|
@@ -2129,10 +2135,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2129
2135
|
type: import("vue").PropType<string | undefined>;
|
|
2130
2136
|
default: undefined;
|
|
2131
2137
|
};
|
|
2132
|
-
readonly: {
|
|
2133
|
-
type: import("vue").PropType<boolean>;
|
|
2134
|
-
default: boolean;
|
|
2135
|
-
};
|
|
2136
2138
|
rules: {
|
|
2137
2139
|
type: import("vue").PropType<import("../../composable").TValidationRule[]>;
|
|
2138
2140
|
default: () => never[];
|
|
@@ -2251,22 +2253,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2251
2253
|
default: string;
|
|
2252
2254
|
};
|
|
2253
2255
|
hideNoData: {
|
|
2254
|
-
type: import("vue").PropType<boolean>;
|
|
2255
|
-
* Событие при фокусе
|
|
2256
|
-
* @type { boolean }
|
|
2257
|
-
*/
|
|
2256
|
+
type: import("vue").PropType<boolean>;
|
|
2258
2257
|
default: boolean;
|
|
2259
2258
|
};
|
|
2260
2259
|
isSelectAll: {
|
|
2261
2260
|
type: import("vue").PropType<boolean>;
|
|
2262
|
-
default: boolean;
|
|
2261
|
+
default: boolean; /**
|
|
2262
|
+
* Событие при изменении значения (v-model)
|
|
2263
|
+
* @type { any }
|
|
2264
|
+
*/
|
|
2263
2265
|
};
|
|
2264
2266
|
selectAllText: {
|
|
2265
2267
|
type: import("vue").PropType<string>;
|
|
2266
|
-
default: string;
|
|
2267
|
-
* Событие выбора всех элементов
|
|
2268
|
-
* @type { boolean }
|
|
2269
|
-
*/
|
|
2268
|
+
default: string;
|
|
2270
2269
|
};
|
|
2271
2270
|
}>> & {
|
|
2272
2271
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
@@ -2289,6 +2288,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2289
2288
|
menu: boolean | undefined;
|
|
2290
2289
|
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";
|
|
2291
2290
|
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";
|
|
2291
|
+
readonly: boolean;
|
|
2292
2292
|
loading: boolean;
|
|
2293
2293
|
transition: string | boolean | (import("vue").TransitionProps & {
|
|
2294
2294
|
component?: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
|
|
@@ -2300,7 +2300,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2300
2300
|
persistentMessages: boolean;
|
|
2301
2301
|
errorMessages: string | string[];
|
|
2302
2302
|
maxErrors: string | number;
|
|
2303
|
-
readonly: boolean;
|
|
2304
2303
|
rules: import("../../composable").TValidationRule[];
|
|
2305
2304
|
modelValue: any;
|
|
2306
2305
|
validateOn: "input" | "blur" | "submit";
|
|
@@ -100,8 +100,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
100
100
|
}, {
|
|
101
101
|
description: string;
|
|
102
102
|
disabled: boolean;
|
|
103
|
-
label: string;
|
|
104
103
|
readonly: boolean;
|
|
104
|
+
label: string;
|
|
105
105
|
modelValue: boolean | null;
|
|
106
106
|
validateOn: "input" | "blur" | "submit" | undefined;
|
|
107
107
|
firstFail: boolean;
|
|
@@ -4,7 +4,7 @@ export declare const componentName = "CdsInput";
|
|
|
4
4
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
5
|
'onClick:prepend': PropType<(...args: any[]) => any>;
|
|
6
6
|
'onClick:append': PropType<(...args: any[]) => any>;
|
|
7
|
-
|
|
7
|
+
readonly: {
|
|
8
8
|
type: PropType<boolean>;
|
|
9
9
|
default: boolean;
|
|
10
10
|
};
|
|
@@ -12,6 +12,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
12
12
|
type: PropType<boolean>;
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
|
+
focused: {
|
|
16
|
+
type: PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
15
19
|
error: {
|
|
16
20
|
type: PropType<boolean>;
|
|
17
21
|
default: boolean;
|
|
@@ -28,10 +32,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
28
32
|
type: PropType<string | undefined>;
|
|
29
33
|
default: undefined;
|
|
30
34
|
};
|
|
31
|
-
readonly: {
|
|
32
|
-
type: PropType<boolean>;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
35
|
rules: {
|
|
36
36
|
type: PropType<import("../../composable").TValidationRule[]>;
|
|
37
37
|
default: () => never[];
|
|
@@ -114,7 +114,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
114
114
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
115
115
|
'onClick:prepend': PropType<(...args: any[]) => any>;
|
|
116
116
|
'onClick:append': PropType<(...args: any[]) => any>;
|
|
117
|
-
|
|
117
|
+
readonly: {
|
|
118
118
|
type: PropType<boolean>;
|
|
119
119
|
default: boolean;
|
|
120
120
|
};
|
|
@@ -122,6 +122,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
122
122
|
type: PropType<boolean>;
|
|
123
123
|
default: boolean;
|
|
124
124
|
};
|
|
125
|
+
focused: {
|
|
126
|
+
type: PropType<boolean>;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
125
129
|
error: {
|
|
126
130
|
type: PropType<boolean>;
|
|
127
131
|
default: boolean;
|
|
@@ -138,10 +142,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
138
142
|
type: PropType<string | undefined>;
|
|
139
143
|
default: undefined;
|
|
140
144
|
};
|
|
141
|
-
readonly: {
|
|
142
|
-
type: PropType<boolean>;
|
|
143
|
-
default: boolean;
|
|
144
|
-
};
|
|
145
145
|
rules: {
|
|
146
146
|
type: PropType<import("../../composable").TValidationRule[]>;
|
|
147
147
|
default: () => never[];
|
|
@@ -208,13 +208,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
208
208
|
error: boolean;
|
|
209
209
|
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";
|
|
210
210
|
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";
|
|
211
|
+
readonly: boolean;
|
|
211
212
|
messages: string | string[];
|
|
212
213
|
id: string;
|
|
213
214
|
label: string;
|
|
214
215
|
persistentMessages: boolean;
|
|
215
216
|
errorMessages: string | string[];
|
|
216
217
|
maxErrors: string | number;
|
|
217
|
-
readonly: boolean;
|
|
218
218
|
rules: import("../../composable").TValidationRule[];
|
|
219
219
|
modelValue: any;
|
|
220
220
|
validateOn: "input" | "blur" | "submit";
|