@central-design-system/components 3.10.7 → 3.11.0
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/UPGRADE.md +146 -0
- package/dist/cds.d.ts +4 -0
- package/dist/cds.es.js +7838 -7476
- package/dist/cds.es.js.map +1 -1
- package/dist/cds.umd.js +5 -5
- package/dist/cds.umd.js.map +1 -1
- package/dist/components/CdsAutocomplete/CdsAutocomplete.d.ts +21 -3
- package/dist/components/CdsBadge/CdsBadge.d.ts +1 -1
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbsItem.d.ts +15 -0
- package/dist/components/CdsCard/CdsCard.d.ts +20 -1
- package/dist/components/CdsCheckbox/CdsCheckbox.d.ts +43 -2
- package/dist/components/CdsCheckbox/CdsCheckboxGroup.d.ts +48 -0
- package/dist/components/CdsCombobox/CdsCombobox.d.ts +366 -23
- package/dist/components/CdsDropdown/CdsDropdown.d.ts +381 -26
- package/dist/components/CdsInput/CdsDescription.d.ts +31 -0
- package/dist/components/CdsInput/CdsInput.d.ts +18 -0
- package/dist/components/CdsInput/CdsLabel.d.ts +48 -0
- package/dist/components/CdsInput/index.d.ts +2 -0
- package/dist/components/CdsList/CdsListGroup.d.ts +1 -1
- package/dist/components/CdsList/CdsListItem.d.ts +19 -0
- package/dist/components/CdsNotification/CdsNotification.d.ts +1 -1
- package/dist/components/CdsNotification/CdsNotificationAlert.d.ts +1 -1
- package/dist/components/CdsNotification/composable/notification.d.ts +4 -2
- package/dist/components/CdsProgress/CdsProgressBar.d.ts +158 -0
- package/dist/components/CdsProgress/index.d.ts +1 -0
- package/dist/components/CdsRadioButton/CdsRadio.d.ts +84 -0
- package/dist/components/CdsRadioButton/CdsRadioButton.d.ts +48 -0
- package/dist/components/CdsRadioButton/CdsRadioGroup.d.ts +681 -0
- package/dist/components/CdsRadioButton/index.d.ts +1 -0
- package/dist/components/CdsSelect/CdsSelect.d.ts +90 -6
- package/dist/components/CdsSlideGroup/CdsSlideGroup.d.ts +59 -29
- package/dist/components/CdsStatus/CdsStatus.d.ts +23 -1
- package/dist/components/CdsTable/CdsTable.d.ts +3 -1
- package/dist/components/CdsTable/components/Table/InternalTable.d.ts +3 -1
- package/dist/components/CdsTable/components/TableProvider.d.ts +3 -1
- package/dist/components/CdsTabsV2/CdsTabsV2.d.ts +30 -0
- package/dist/components/CdsTag/CdsTag.d.ts +26 -0
- package/dist/components/CdsTextArea/CdsTextArea.d.ts +93 -6
- package/dist/components/CdsTextInput/CdsTextInput.d.ts +93 -6
- package/dist/components/CdsToggle/CdsToggle.d.ts +18 -0
- package/dist/components/CdsTooltip/CdsTooltip.d.ts +21 -0
- package/dist/components/CdsUploader/CdsUploader.d.ts +18 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/composable/field.d.ts +5 -3
- package/dist/composable/input.d.ts +20 -0
- package/dist/composable/status.d.ts +14 -2
- package/dist/utils/compat.d.ts +33 -0
- package/dist/utils/dom/warn.d.ts +42 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +4 -2
|
@@ -494,6 +494,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
494
494
|
})>;
|
|
495
495
|
scrollStrategy: NonNullable<"close" | "none" | "block" | "reposition" | ((data: import('../../../CdsOverlay/composable').IScrollStrategyData, props: import('../../../CdsOverlay/composable').IScrollStrategyProps, scope: import('vue').EffectScope) => void)>;
|
|
496
496
|
hideArrow: boolean;
|
|
497
|
+
interactive: boolean;
|
|
497
498
|
}> & Omit<{
|
|
498
499
|
readonly location: NonNullable<import('../../../../utils').TAnchor>;
|
|
499
500
|
readonly disabled: boolean;
|
|
@@ -531,6 +532,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
531
532
|
})>;
|
|
532
533
|
readonly scrollStrategy: NonNullable<"close" | "none" | "block" | "reposition" | ((data: import('../../../CdsOverlay/composable').IScrollStrategyData, props: import('../../../CdsOverlay/composable').IScrollStrategyProps, scope: import('vue').EffectScope) => void)>;
|
|
533
534
|
readonly hideArrow: boolean;
|
|
535
|
+
readonly interactive: boolean;
|
|
534
536
|
readonly text?: string | number | undefined;
|
|
535
537
|
readonly id?: string | undefined;
|
|
536
538
|
readonly opacity?: string | number | undefined;
|
|
@@ -538,7 +540,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
538
540
|
readonly target?: Element | "parent" | (string & {}) | import('vue').ComponentPublicInstance | "cursor" | [x: number, y: number] | undefined;
|
|
539
541
|
readonly openOnFocus?: boolean | undefined;
|
|
540
542
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
541
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "text" | "location" | "disabled" | "id" | "modelValue" | "transition" | "attach" | "contained" | "persistent" | "scrim" | "closeOnBack" | "zIndex" | "contentClasses" | "contentProps" | "noClickAnimation" | "opacity" | "eager" | "closeDelay" | "openDelay" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "activatorProps" | "activator" | "theme" | "origin" | "target" | "offset" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "locationStrategy" | "scrollStrategy" | "hideArrow">, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>;
|
|
543
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "text" | "location" | "disabled" | "id" | "modelValue" | "transition" | "attach" | "contained" | "persistent" | "scrim" | "closeOnBack" | "zIndex" | "contentClasses" | "contentProps" | "noClickAnimation" | "opacity" | "eager" | "closeDelay" | "openDelay" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "activatorProps" | "activator" | "theme" | "origin" | "target" | "offset" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "locationStrategy" | "scrollStrategy" | "hideArrow" | "interactive">, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>;
|
|
542
544
|
expandFixed: NTable.TFixed;
|
|
543
545
|
expandColumnWidth: number;
|
|
544
546
|
expandedRowKeys: NTable.TKey[];
|
|
@@ -501,6 +501,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
501
501
|
})>;
|
|
502
502
|
scrollStrategy: NonNullable<"close" | "none" | "block" | "reposition" | ((data: import('../../CdsOverlay/composable').IScrollStrategyData, props: import('../../CdsOverlay/composable').IScrollStrategyProps, scope: import('vue').EffectScope) => void)>;
|
|
503
503
|
hideArrow: boolean;
|
|
504
|
+
interactive: boolean;
|
|
504
505
|
}> & Omit<{
|
|
505
506
|
readonly location: NonNullable<import('../../../utils').TAnchor>;
|
|
506
507
|
readonly disabled: boolean;
|
|
@@ -538,6 +539,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
538
539
|
})>;
|
|
539
540
|
readonly scrollStrategy: NonNullable<"close" | "none" | "block" | "reposition" | ((data: import('../../CdsOverlay/composable').IScrollStrategyData, props: import('../../CdsOverlay/composable').IScrollStrategyProps, scope: import('vue').EffectScope) => void)>;
|
|
540
541
|
readonly hideArrow: boolean;
|
|
542
|
+
readonly interactive: boolean;
|
|
541
543
|
readonly text?: string | number | undefined;
|
|
542
544
|
readonly id?: string | undefined;
|
|
543
545
|
readonly opacity?: string | number | undefined;
|
|
@@ -545,7 +547,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
545
547
|
readonly target?: Element | "parent" | (string & {}) | import('vue').ComponentPublicInstance | "cursor" | [x: number, y: number] | undefined;
|
|
546
548
|
readonly openOnFocus?: boolean | undefined;
|
|
547
549
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
548
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "text" | "location" | "disabled" | "id" | "modelValue" | "transition" | "attach" | "contained" | "persistent" | "scrim" | "closeOnBack" | "zIndex" | "contentClasses" | "contentProps" | "noClickAnimation" | "opacity" | "eager" | "closeDelay" | "openDelay" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "activatorProps" | "activator" | "theme" | "origin" | "target" | "offset" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "locationStrategy" | "scrollStrategy" | "hideArrow">, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>;
|
|
550
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "text" | "location" | "disabled" | "id" | "modelValue" | "transition" | "attach" | "contained" | "persistent" | "scrim" | "closeOnBack" | "zIndex" | "contentClasses" | "contentProps" | "noClickAnimation" | "opacity" | "eager" | "closeDelay" | "openDelay" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "activatorProps" | "activator" | "theme" | "origin" | "target" | "offset" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "locationStrategy" | "scrollStrategy" | "hideArrow" | "interactive">, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>;
|
|
549
551
|
expandFixed: NTable.TFixed;
|
|
550
552
|
expandColumnWidth: number;
|
|
551
553
|
expandedRowKeys: NTable.TKey[];
|
|
@@ -3,6 +3,20 @@ import { TCdsIconsName } from '@central-design-system/icons';
|
|
|
3
3
|
import { PropType } from 'vue';
|
|
4
4
|
export declare const componentName = "CdsTabsV2";
|
|
5
5
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
/**
|
|
7
|
+
* Иконка кнопки прокрутки назад. Доступно с 3.11.0 — замена `prependIcon`.
|
|
8
|
+
*/
|
|
9
|
+
prevIcon: {
|
|
10
|
+
type: PropType<TCdsIconsName>;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Иконка кнопки прокрутки вперёд. Доступно с 3.11.0 — замена `appendIcon`.
|
|
15
|
+
*/
|
|
16
|
+
nextIcon: {
|
|
17
|
+
type: PropType<TCdsIconsName>;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
6
20
|
prependIcon: Omit<{
|
|
7
21
|
type: PropType<TCdsIconsName>;
|
|
8
22
|
default: undefined;
|
|
@@ -88,6 +102,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
88
102
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
89
103
|
'update:modelValue': (value: unknown) => true;
|
|
90
104
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
105
|
+
/**
|
|
106
|
+
* Иконка кнопки прокрутки назад. Доступно с 3.11.0 — замена `prependIcon`.
|
|
107
|
+
*/
|
|
108
|
+
prevIcon: {
|
|
109
|
+
type: PropType<TCdsIconsName>;
|
|
110
|
+
default: undefined;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Иконка кнопки прокрутки вперёд. Доступно с 3.11.0 — замена `appendIcon`.
|
|
114
|
+
*/
|
|
115
|
+
nextIcon: {
|
|
116
|
+
type: PropType<TCdsIconsName>;
|
|
117
|
+
default: undefined;
|
|
118
|
+
};
|
|
91
119
|
prependIcon: Omit<{
|
|
92
120
|
type: PropType<TCdsIconsName>;
|
|
93
121
|
default: undefined;
|
|
@@ -185,6 +213,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
185
213
|
max: number;
|
|
186
214
|
selectedClass: string;
|
|
187
215
|
centerActive: boolean;
|
|
216
|
+
prevIcon: "link" | "search" | "bold" | "delete" | "add" | "administrator" | "ai" | "alert-fill" | "alert" | "analog" | "archive-fill" | "archive" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "bookmark-fill" | "bookmark" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock-fill" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "education" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "fill" | "filters" | "flag" | "format" | "formula" | "funnel" | "globe" | "highlight" | "infinity" | "info-fill" | "info" | "insert" | "italic" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "moon" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "scale-left" | "scale-right" | "settings" | "shopping-cart" | "sort-date" | "sorting-down" | "sorting-up" | "sorting" | "source" | "star-fill" | "star" | "sun" | "tab-backward" | "tab-forward" | "telegram" | "thumb-down-fill" | "thumb-down" | "thumb-up-fill" | "thumb-up" | "timer" | "tool" | "truck" | "underline" | "unlocked-left" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "whatsapp" | "winner" | "workspace" | "youtube";
|
|
217
|
+
nextIcon: "link" | "search" | "bold" | "delete" | "add" | "administrator" | "ai" | "alert-fill" | "alert" | "analog" | "archive-fill" | "archive" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "bookmark-fill" | "bookmark" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock-fill" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "education" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "fill" | "filters" | "flag" | "format" | "formula" | "funnel" | "globe" | "highlight" | "infinity" | "info-fill" | "info" | "insert" | "italic" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "moon" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "scale-left" | "scale-right" | "settings" | "shopping-cart" | "sort-date" | "sorting-down" | "sorting-up" | "sorting" | "source" | "star-fill" | "star" | "sun" | "tab-backward" | "tab-forward" | "telegram" | "thumb-down-fill" | "thumb-down" | "thumb-up-fill" | "thumb-up" | "timer" | "tool" | "truck" | "underline" | "unlocked-left" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "whatsapp" | "winner" | "workspace" | "youtube";
|
|
188
218
|
grow: boolean;
|
|
189
219
|
stacked: boolean;
|
|
190
220
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -39,6 +39,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
39
39
|
default: boolean;
|
|
40
40
|
description: string;
|
|
41
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* Удаляемый тег. Доступно с 3.11.0 — синоним `removable`.
|
|
44
|
+
*/
|
|
45
|
+
closable: {
|
|
46
|
+
type: PropType<boolean>;
|
|
47
|
+
default: boolean;
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
42
50
|
}>, {
|
|
43
51
|
handleRemove: (event: MouseEvent) => void;
|
|
44
52
|
tagClasses: import('vue').ComputedRef<{
|
|
@@ -54,15 +62,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
54
62
|
'--cds-tag-hover': string;
|
|
55
63
|
}>;
|
|
56
64
|
hasText: import('vue').ComputedRef<boolean>;
|
|
65
|
+
isClosable: import('vue').ComputedRef<boolean>;
|
|
57
66
|
hasPrepend: import('vue').ComputedRef<boolean>;
|
|
58
67
|
hasAppend: import('vue').ComputedRef<boolean>;
|
|
59
68
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
60
69
|
/**
|
|
61
70
|
* Событие удаления
|
|
62
71
|
*
|
|
72
|
+
* @deprecated Используйте `click:close`
|
|
63
73
|
* @event remove
|
|
64
74
|
*/
|
|
65
75
|
remove: (event: MouseEvent | KeyboardEvent) => true;
|
|
76
|
+
/**
|
|
77
|
+
* Событие удаления. Доступно с 3.11.0 — эмитится вместе с `remove`.
|
|
78
|
+
*
|
|
79
|
+
* @event click:close
|
|
80
|
+
*/
|
|
81
|
+
'click:close': (event: MouseEvent | KeyboardEvent) => true;
|
|
66
82
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
67
83
|
theme: {
|
|
68
84
|
type: PropType<import('../../composable').TTheme | string>;
|
|
@@ -102,8 +118,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
102
118
|
default: boolean;
|
|
103
119
|
description: string;
|
|
104
120
|
};
|
|
121
|
+
/**
|
|
122
|
+
* Удаляемый тег. Доступно с 3.11.0 — синоним `removable`.
|
|
123
|
+
*/
|
|
124
|
+
closable: {
|
|
125
|
+
type: PropType<boolean>;
|
|
126
|
+
default: boolean;
|
|
127
|
+
description: string;
|
|
128
|
+
};
|
|
105
129
|
}>> & Readonly<{
|
|
106
130
|
onRemove?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
131
|
+
"onClick:close"?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
107
132
|
}>, {
|
|
108
133
|
text: string | number;
|
|
109
134
|
to: import('vue-router').RouteLocationRaw;
|
|
@@ -112,6 +137,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
112
137
|
appendIcon: "link" | "search" | "bold" | "delete" | "add" | "administrator" | "ai" | "alert-fill" | "alert" | "analog" | "archive-fill" | "archive" | "arrow-down" | "arrow-left-bottom" | "arrow-left-top" | "arrow-left" | "arrow-right-bottom" | "arrow-right-top" | "arrow-right" | "arrow-up" | "arrows-vertical" | "bookmark-fill" | "bookmark" | "calendar" | "card-bank" | "category" | "check-fill" | "check" | "checkbox-fill" | "checkbox" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chocholate-menu" | "chocolate-menu" | "clock-fill" | "clock" | "collapse" | "comment" | "company" | "compare" | "copy" | "data-cards" | "directory-open" | "directory" | "doc-download" | "doc" | "download" | "draggable" | "edit" | "education" | "enter" | "error-fill" | "error" | "expand" | "external" | "facebook-fill" | "facebook" | "fill" | "filters" | "flag" | "format" | "formula" | "funnel" | "globe" | "highlight" | "infinity" | "info-fill" | "info" | "insert" | "italic" | "list-search" | "list" | "loader" | "location" | "locked" | "login" | "logout" | "menu" | "minus" | "moon" | "notification" | "overflow-menu-horizontal" | "overflow-menu-vertical" | "password" | "pin" | "plus" | "printer" | "question-fill" | "question" | "refresh" | "remove" | "sandglass" | "save" | "scale-left" | "scale-right" | "settings" | "shopping-cart" | "sort-date" | "sorting-down" | "sorting-up" | "sorting" | "source" | "star-fill" | "star" | "sun" | "tab-backward" | "tab-forward" | "telegram" | "thumb-down-fill" | "thumb-down" | "thumb-up-fill" | "thumb-up" | "timer" | "tool" | "truck" | "underline" | "unlocked-left" | "unlocked" | "upload" | "user-avatar" | "user-group" | "visibility-off" | "visibility-on" | "vk" | "whatsapp" | "winner" | "workspace" | "youtube";
|
|
113
138
|
color: "default" | "chocolate" | "lemon" | "lime" | "cyan" | "teal" | "indigo" | "purple" | "pink";
|
|
114
139
|
theme: string;
|
|
140
|
+
closable: boolean;
|
|
115
141
|
removable: boolean;
|
|
116
142
|
}, {}, {
|
|
117
143
|
CdsIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -132,6 +132,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
132
132
|
type: PropType<boolean>;
|
|
133
133
|
default: boolean;
|
|
134
134
|
};
|
|
135
|
+
hint: {
|
|
136
|
+
type: PropType<string>;
|
|
137
|
+
default: undefined;
|
|
138
|
+
};
|
|
139
|
+
persistentHint: {
|
|
140
|
+
type: PropType<boolean>;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
135
143
|
active: {
|
|
136
144
|
type: PropType<boolean>;
|
|
137
145
|
default: boolean;
|
|
@@ -172,7 +180,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
172
180
|
default: undefined;
|
|
173
181
|
};
|
|
174
182
|
counter: {
|
|
175
|
-
type: PropType<boolean>;
|
|
183
|
+
type: PropType<boolean | number | string>;
|
|
176
184
|
default: boolean;
|
|
177
185
|
};
|
|
178
186
|
limit: {
|
|
@@ -307,6 +315,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
307
315
|
type: PropType<boolean>;
|
|
308
316
|
default: boolean;
|
|
309
317
|
};
|
|
318
|
+
hint: {
|
|
319
|
+
type: PropType<string>;
|
|
320
|
+
default: undefined;
|
|
321
|
+
};
|
|
322
|
+
persistentHint: {
|
|
323
|
+
type: PropType<boolean>;
|
|
324
|
+
default: boolean;
|
|
325
|
+
};
|
|
310
326
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
311
327
|
'update:modelValue': (value: any) => true;
|
|
312
328
|
'click:control': (event: MouseEvent) => true;
|
|
@@ -409,6 +425,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
409
425
|
type: PropType<boolean>;
|
|
410
426
|
default: boolean;
|
|
411
427
|
};
|
|
428
|
+
hint: {
|
|
429
|
+
type: PropType<string>;
|
|
430
|
+
default: undefined;
|
|
431
|
+
};
|
|
432
|
+
persistentHint: {
|
|
433
|
+
type: PropType<boolean>;
|
|
434
|
+
default: boolean;
|
|
435
|
+
};
|
|
412
436
|
}>> & Readonly<{
|
|
413
437
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
414
438
|
"onClick:control"?: ((event: MouseEvent) => any) | undefined;
|
|
@@ -428,6 +452,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
428
452
|
label: string;
|
|
429
453
|
messages: string | string[];
|
|
430
454
|
persistentMessages: boolean;
|
|
455
|
+
hint: string;
|
|
456
|
+
persistentHint: boolean;
|
|
431
457
|
errorMessages: string | string[];
|
|
432
458
|
maxErrors: string | number;
|
|
433
459
|
rules: import('../../composable').TValidationRule[];
|
|
@@ -534,6 +560,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
534
560
|
type: PropType<boolean>;
|
|
535
561
|
default: boolean;
|
|
536
562
|
};
|
|
563
|
+
hint: {
|
|
564
|
+
type: PropType<string>;
|
|
565
|
+
default: undefined;
|
|
566
|
+
};
|
|
567
|
+
persistentHint: {
|
|
568
|
+
type: PropType<boolean>;
|
|
569
|
+
default: boolean;
|
|
570
|
+
};
|
|
537
571
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
538
572
|
'update:modelValue': (value: any) => true;
|
|
539
573
|
'click:control': (event: MouseEvent) => true;
|
|
@@ -636,6 +670,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
636
670
|
type: PropType<boolean>;
|
|
637
671
|
default: boolean;
|
|
638
672
|
};
|
|
673
|
+
hint: {
|
|
674
|
+
type: PropType<string>;
|
|
675
|
+
default: undefined;
|
|
676
|
+
};
|
|
677
|
+
persistentHint: {
|
|
678
|
+
type: PropType<boolean>;
|
|
679
|
+
default: boolean;
|
|
680
|
+
};
|
|
639
681
|
}>> & Readonly<{
|
|
640
682
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
641
683
|
"onClick:control"?: ((event: MouseEvent) => any) | undefined;
|
|
@@ -655,6 +697,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
655
697
|
label: string;
|
|
656
698
|
messages: string | string[];
|
|
657
699
|
persistentMessages: boolean;
|
|
700
|
+
hint: string;
|
|
701
|
+
persistentHint: boolean;
|
|
658
702
|
errorMessages: string | string[];
|
|
659
703
|
maxErrors: string | number;
|
|
660
704
|
rules: import('../../composable').TValidationRule[];
|
|
@@ -678,6 +722,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
678
722
|
readonly focused?: boolean | undefined;
|
|
679
723
|
readonly messages?: string | string[] | undefined;
|
|
680
724
|
readonly persistentMessages?: boolean | undefined;
|
|
725
|
+
readonly persistentHint?: boolean | undefined;
|
|
681
726
|
readonly errorMessages?: string | string[] | undefined;
|
|
682
727
|
readonly maxErrors?: string | number | undefined;
|
|
683
728
|
readonly rules?: (import('../../composable').TValidationResult | ((value: any) => import('../../composable').TValidationResult) | ((value: any) => PromiseLike<import('../../composable').TValidationResult>) | {
|
|
@@ -688,7 +733,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
688
733
|
readonly hideMessages?: boolean | undefined;
|
|
689
734
|
readonly autofocus?: boolean | undefined;
|
|
690
735
|
readonly type?: "number" | "text" | "password" | "email" | "tel" | "url" | undefined;
|
|
691
|
-
readonly counter?: boolean | undefined;
|
|
736
|
+
readonly counter?: string | number | boolean | undefined;
|
|
692
737
|
readonly clearable?: boolean | undefined;
|
|
693
738
|
readonly clearLabel?: string | undefined;
|
|
694
739
|
readonly persistentClearable?: boolean | undefined;
|
|
@@ -704,6 +749,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
704
749
|
readonly description?: string | undefined;
|
|
705
750
|
readonly id?: string | undefined;
|
|
706
751
|
readonly label?: string | undefined;
|
|
752
|
+
readonly hint?: string | undefined;
|
|
707
753
|
readonly validationValue?: any;
|
|
708
754
|
readonly prefix?: string | undefined;
|
|
709
755
|
readonly suffix?: string | undefined;
|
|
@@ -850,6 +896,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
850
896
|
type: PropType<boolean>;
|
|
851
897
|
default: boolean;
|
|
852
898
|
};
|
|
899
|
+
hint: {
|
|
900
|
+
type: PropType<string>;
|
|
901
|
+
default: undefined;
|
|
902
|
+
};
|
|
903
|
+
persistentHint: {
|
|
904
|
+
type: PropType<boolean>;
|
|
905
|
+
default: boolean;
|
|
906
|
+
};
|
|
853
907
|
active: {
|
|
854
908
|
type: PropType<boolean>;
|
|
855
909
|
default: boolean;
|
|
@@ -890,7 +944,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
890
944
|
default: undefined;
|
|
891
945
|
};
|
|
892
946
|
counter: {
|
|
893
|
-
type: PropType<boolean>;
|
|
947
|
+
type: PropType<boolean | number | string>;
|
|
894
948
|
default: boolean;
|
|
895
949
|
};
|
|
896
950
|
limit: {
|
|
@@ -938,6 +992,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
938
992
|
readonly focused?: boolean | undefined;
|
|
939
993
|
readonly messages?: string | string[] | undefined;
|
|
940
994
|
readonly persistentMessages?: boolean | undefined;
|
|
995
|
+
readonly persistentHint?: boolean | undefined;
|
|
941
996
|
readonly errorMessages?: string | string[] | undefined;
|
|
942
997
|
readonly maxErrors?: string | number | undefined;
|
|
943
998
|
readonly rules?: (import('../../composable').TValidationResult | ((value: any) => import('../../composable').TValidationResult) | ((value: any) => PromiseLike<import('../../composable').TValidationResult>) | {
|
|
@@ -948,7 +1003,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
948
1003
|
readonly hideMessages?: boolean | undefined;
|
|
949
1004
|
readonly autofocus?: boolean | undefined;
|
|
950
1005
|
readonly type?: "number" | "text" | "password" | "email" | "tel" | "url" | undefined;
|
|
951
|
-
readonly counter?: boolean | undefined;
|
|
1006
|
+
readonly counter?: string | number | boolean | undefined;
|
|
952
1007
|
readonly clearable?: boolean | undefined;
|
|
953
1008
|
readonly clearLabel?: string | undefined;
|
|
954
1009
|
readonly persistentClearable?: boolean | undefined;
|
|
@@ -964,6 +1019,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
964
1019
|
readonly description?: string | undefined;
|
|
965
1020
|
readonly id?: string | undefined;
|
|
966
1021
|
readonly label?: string | undefined;
|
|
1022
|
+
readonly hint?: string | undefined;
|
|
967
1023
|
readonly validationValue?: any;
|
|
968
1024
|
readonly prefix?: string | undefined;
|
|
969
1025
|
readonly suffix?: string | undefined;
|
|
@@ -989,6 +1045,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
989
1045
|
hasClear: import('vue').ComputedRef<boolean>;
|
|
990
1046
|
hideMessagesAndCounter: import('vue').ComputedRef<boolean>;
|
|
991
1047
|
counterValue: import('vue').ComputedRef<any>;
|
|
1048
|
+
maxLength: import('vue').ComputedRef<string | number | undefined>;
|
|
1049
|
+
counterMax: import('vue').ComputedRef<string | number | undefined>;
|
|
1050
|
+
hasCounter: import('vue').ComputedRef<boolean>;
|
|
992
1051
|
iconClasses: import('vue').ComputedRef<Record<string, boolean>>;
|
|
993
1052
|
textareaClasses: import('vue').ComputedRef<{
|
|
994
1053
|
'cds-text-area--has-prefix': boolean;
|
|
@@ -1170,6 +1229,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1170
1229
|
type: PropType<boolean>;
|
|
1171
1230
|
default: boolean;
|
|
1172
1231
|
};
|
|
1232
|
+
hint: {
|
|
1233
|
+
type: PropType<string>;
|
|
1234
|
+
default: undefined;
|
|
1235
|
+
};
|
|
1236
|
+
persistentHint: {
|
|
1237
|
+
type: PropType<boolean>;
|
|
1238
|
+
default: boolean;
|
|
1239
|
+
};
|
|
1173
1240
|
active: {
|
|
1174
1241
|
type: PropType<boolean>;
|
|
1175
1242
|
default: boolean;
|
|
@@ -1210,7 +1277,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1210
1277
|
default: undefined;
|
|
1211
1278
|
};
|
|
1212
1279
|
counter: {
|
|
1213
|
-
type: PropType<boolean>;
|
|
1280
|
+
type: PropType<boolean | number | string>;
|
|
1214
1281
|
default: boolean;
|
|
1215
1282
|
};
|
|
1216
1283
|
limit: {
|
|
@@ -1266,6 +1333,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1266
1333
|
label: string;
|
|
1267
1334
|
messages: string | string[];
|
|
1268
1335
|
persistentMessages: boolean;
|
|
1336
|
+
hint: string;
|
|
1337
|
+
persistentHint: boolean;
|
|
1269
1338
|
errorMessages: string | string[];
|
|
1270
1339
|
maxErrors: string | number;
|
|
1271
1340
|
rules: import('../../composable').TValidationRule[];
|
|
@@ -1281,7 +1350,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1281
1350
|
type: "number" | "text" | "password" | "email" | "tel" | "url";
|
|
1282
1351
|
role: string;
|
|
1283
1352
|
placeholder: string;
|
|
1284
|
-
counter: boolean;
|
|
1353
|
+
counter: string | number | boolean;
|
|
1285
1354
|
limit: number;
|
|
1286
1355
|
clearable: boolean;
|
|
1287
1356
|
clearLabel: string;
|
|
@@ -1392,6 +1461,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1392
1461
|
type: PropType<boolean>;
|
|
1393
1462
|
default: boolean;
|
|
1394
1463
|
};
|
|
1464
|
+
hint: {
|
|
1465
|
+
type: PropType<string>;
|
|
1466
|
+
default: undefined;
|
|
1467
|
+
};
|
|
1468
|
+
persistentHint: {
|
|
1469
|
+
type: PropType<boolean>;
|
|
1470
|
+
default: boolean;
|
|
1471
|
+
};
|
|
1395
1472
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1396
1473
|
'update:modelValue': (value: any) => true;
|
|
1397
1474
|
'click:control': (event: MouseEvent) => true;
|
|
@@ -1494,6 +1571,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1494
1571
|
type: PropType<boolean>;
|
|
1495
1572
|
default: boolean;
|
|
1496
1573
|
};
|
|
1574
|
+
hint: {
|
|
1575
|
+
type: PropType<string>;
|
|
1576
|
+
default: undefined;
|
|
1577
|
+
};
|
|
1578
|
+
persistentHint: {
|
|
1579
|
+
type: PropType<boolean>;
|
|
1580
|
+
default: boolean;
|
|
1581
|
+
};
|
|
1497
1582
|
}>> & Readonly<{
|
|
1498
1583
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
1499
1584
|
"onClick:control"?: ((event: MouseEvent) => any) | undefined;
|
|
@@ -1513,6 +1598,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1513
1598
|
label: string;
|
|
1514
1599
|
messages: string | string[];
|
|
1515
1600
|
persistentMessages: boolean;
|
|
1601
|
+
hint: string;
|
|
1602
|
+
persistentHint: boolean;
|
|
1516
1603
|
errorMessages: string | string[];
|
|
1517
1604
|
maxErrors: string | number;
|
|
1518
1605
|
rules: import('../../composable').TValidationRule[];
|