@vroxal/vd-angular 1.0.1
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/README.md +63 -0
- package/fesm2022/vroxal-vd-angular.mjs +4768 -0
- package/fesm2022/vroxal-vd-angular.mjs.map +1 -0
- package/guidelines/COMPONENT_REGISTRY.md +94 -0
- package/guidelines/USAGE_GUIDELINES.md +70 -0
- package/guidelines/component-registry.json +723 -0
- package/package.json +43 -0
- package/styles/style.css +0 -0
- package/types/vroxal-vd-angular.d.ts +1335 -0
|
@@ -0,0 +1,1335 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, Renderer2, OnInit, EventEmitter, OnChanges, SimpleChanges, OnDestroy, TemplateRef, ViewContainerRef, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
|
3
|
+
import * as rxjs from 'rxjs';
|
|
4
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
5
|
+
import { Overlay, ScrollStrategyOptions } from '@angular/cdk/overlay';
|
|
6
|
+
import { Router } from '@angular/router';
|
|
7
|
+
import { DialogRef, Dialog } from '@angular/cdk/dialog';
|
|
8
|
+
import * as i1 from '@angular/common';
|
|
9
|
+
|
|
10
|
+
type ButtonVariant$1 = 'solid' | 'subtle' | 'outline' | 'transparent';
|
|
11
|
+
type ButtonColor$1 = 'primary' | 'neutral' | 'error';
|
|
12
|
+
type ButtonSize$1 = 'sm' | 'md' | 'lg';
|
|
13
|
+
type IconSize$2 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
14
|
+
type ButtonType = 'button' | 'submit' | 'reset';
|
|
15
|
+
declare class VdButton {
|
|
16
|
+
private el;
|
|
17
|
+
private renderer;
|
|
18
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
label: string;
|
|
21
|
+
variant?: ButtonVariant$1;
|
|
22
|
+
color?: ButtonColor$1;
|
|
23
|
+
size?: ButtonSize$1;
|
|
24
|
+
rounded?: boolean;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
loading?: boolean;
|
|
27
|
+
leftIcon?: string;
|
|
28
|
+
rightIcon?: string;
|
|
29
|
+
type: ButtonType;
|
|
30
|
+
/** Map button size → default icon size */
|
|
31
|
+
private buttonIconMap;
|
|
32
|
+
/** Effective icon size */
|
|
33
|
+
get effectiveIconSize(): IconSize$2;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdButton, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdButton, "vd-button", never, { "label": { "alias": "label"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
type IconSize$1 = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
39
|
+
declare class VdIcon {
|
|
40
|
+
/** CSS class for the icon (e.g., "vd-icon-save") */
|
|
41
|
+
name: string;
|
|
42
|
+
size?: IconSize$1;
|
|
43
|
+
color?: string;
|
|
44
|
+
/** Compute CSS class for size */
|
|
45
|
+
get sizeClass(): string;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdIcon, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdIcon, "vd-icon", never, { "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
type ButtonVariant = 'solid' | 'subtle' | 'outline' | 'transparent';
|
|
51
|
+
type ButtonColor = 'primary' | 'neutral' | 'error';
|
|
52
|
+
type ButtonSize = 'sm' | 'md' | 'lg';
|
|
53
|
+
type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
54
|
+
declare class VdIconButton {
|
|
55
|
+
private el;
|
|
56
|
+
private renderer;
|
|
57
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
58
|
+
ngAfterViewInit(): void;
|
|
59
|
+
icon: string;
|
|
60
|
+
ariaLabel: string;
|
|
61
|
+
variant?: ButtonVariant;
|
|
62
|
+
color?: ButtonColor;
|
|
63
|
+
size?: ButtonSize;
|
|
64
|
+
rounded?: boolean;
|
|
65
|
+
disabled?: boolean;
|
|
66
|
+
loading?: boolean;
|
|
67
|
+
private buttonIconMap;
|
|
68
|
+
/** Effective icon size */
|
|
69
|
+
get effectiveIconSize(): IconSize;
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdIconButton, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdIconButton, "vd-icon-button", never, { "icon": { "alias": "icon"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
type ToastColor = 'success' | 'error' | 'warning' | 'info';
|
|
75
|
+
type ToastPosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center' | 'bottom-center';
|
|
76
|
+
interface Toast {
|
|
77
|
+
id?: string;
|
|
78
|
+
color: ToastColor;
|
|
79
|
+
title?: string;
|
|
80
|
+
description: string;
|
|
81
|
+
icon?: string;
|
|
82
|
+
autoDismiss?: boolean;
|
|
83
|
+
isLeaving?: boolean;
|
|
84
|
+
timeoutId?: any;
|
|
85
|
+
remainingTime?: number;
|
|
86
|
+
startTime?: number;
|
|
87
|
+
position?: ToastPosition;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
interface ToastConfig {
|
|
91
|
+
placement?: ToastPosition;
|
|
92
|
+
maxStack?: number;
|
|
93
|
+
}
|
|
94
|
+
declare class VdToastService {
|
|
95
|
+
private toasts;
|
|
96
|
+
private queue;
|
|
97
|
+
private subject;
|
|
98
|
+
toasts$: rxjs.Observable<Toast[]>;
|
|
99
|
+
private maxToasts;
|
|
100
|
+
private defaultPlacement;
|
|
101
|
+
/**
|
|
102
|
+
* Configure global toast settings
|
|
103
|
+
* @param config Configuration options for toasts
|
|
104
|
+
*/
|
|
105
|
+
configure(config: ToastConfig): void;
|
|
106
|
+
/**
|
|
107
|
+
* Set the maximum number of toasts that can be displayed at once
|
|
108
|
+
* @param max Maximum number of toasts (default: 5)
|
|
109
|
+
*/
|
|
110
|
+
setMaxToasts(max: number): void;
|
|
111
|
+
show(toast: Toast): void;
|
|
112
|
+
private startTimer;
|
|
113
|
+
pause(id: string): void;
|
|
114
|
+
resume(id: string): void;
|
|
115
|
+
dismiss(id: string): void;
|
|
116
|
+
private processQueue;
|
|
117
|
+
private emit;
|
|
118
|
+
private generateId;
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdToastService, never>;
|
|
120
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VdToastService>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
declare class VdToast implements OnInit {
|
|
124
|
+
toastService: VdToastService;
|
|
125
|
+
maxStack?: number;
|
|
126
|
+
positions: ToastPosition[];
|
|
127
|
+
constructor(toastService: VdToastService);
|
|
128
|
+
ngOnInit(): void;
|
|
129
|
+
get toastsByPosition$(): rxjs.Observable<Record<ToastPosition, Toast[]>>;
|
|
130
|
+
trackById(_: number, toast: Toast): string | undefined;
|
|
131
|
+
close(id: string): void;
|
|
132
|
+
onMouseEnter(toast: Toast): void;
|
|
133
|
+
onMouseLeave(toast: Toast): void;
|
|
134
|
+
getIconName(toast: Toast): string;
|
|
135
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdToast, never>;
|
|
136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdToast, "vd-toast", never, { "maxStack": { "alias": "maxStack"; "required": false; }; }, {}, never, never, true, never>;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
declare class VdInput {
|
|
140
|
+
label?: string;
|
|
141
|
+
hintText?: string;
|
|
142
|
+
helperText?: string;
|
|
143
|
+
optional?: boolean;
|
|
144
|
+
leadingIcon?: string;
|
|
145
|
+
trailingActionIcon?: string;
|
|
146
|
+
placeholder: string;
|
|
147
|
+
type: 'text' | 'password';
|
|
148
|
+
value: string;
|
|
149
|
+
maxInputCount?: number;
|
|
150
|
+
readOnly?: boolean;
|
|
151
|
+
disabled?: boolean;
|
|
152
|
+
state: 'success' | 'error' | 'warning' | null;
|
|
153
|
+
valueChange: EventEmitter<string>;
|
|
154
|
+
valueCommit: EventEmitter<string>;
|
|
155
|
+
trailingActionClick: EventEmitter<void>;
|
|
156
|
+
inputFocus: EventEmitter<void>;
|
|
157
|
+
inputId: string;
|
|
158
|
+
showHint: boolean;
|
|
159
|
+
isFocused: boolean;
|
|
160
|
+
onFocus(): void;
|
|
161
|
+
inputElement: ElementRef<HTMLInputElement>;
|
|
162
|
+
focusInput(): void;
|
|
163
|
+
onBlur(): void;
|
|
164
|
+
onInput(event: Event): void;
|
|
165
|
+
onTrailingActionClick(): void;
|
|
166
|
+
toggleHint(): void;
|
|
167
|
+
get visualState(): 'success' | 'error' | 'warning' | null;
|
|
168
|
+
get trailingStateIcon(): string | null;
|
|
169
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdInput, never>;
|
|
170
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdInput, "vd-input", never, { "label": { "alias": "label"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "trailingActionIcon": { "alias": "trailingActionIcon"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "maxInputCount": { "alias": "maxInputCount"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "valueChange": "valueChange"; "valueCommit": "valueCommit"; "trailingActionClick": "trailingActionClick"; "inputFocus": "inputFocus"; }, never, never, true, never>;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
declare class VdCheckbox implements ControlValueAccessor, OnInit, OnChanges {
|
|
174
|
+
label?: string;
|
|
175
|
+
description?: string;
|
|
176
|
+
checked: boolean;
|
|
177
|
+
indeterminate: boolean;
|
|
178
|
+
disabled: boolean;
|
|
179
|
+
id?: string;
|
|
180
|
+
name?: string;
|
|
181
|
+
ariaLabel?: string;
|
|
182
|
+
change: EventEmitter<boolean>;
|
|
183
|
+
inputRef: ElementRef<HTMLInputElement>;
|
|
184
|
+
inputId: string;
|
|
185
|
+
private onChange;
|
|
186
|
+
private onTouched;
|
|
187
|
+
ngOnInit(): void;
|
|
188
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
189
|
+
onInputChange(event: Event): void;
|
|
190
|
+
onBlur(): void;
|
|
191
|
+
writeValue(value: boolean): void;
|
|
192
|
+
registerOnChange(fn: (value: boolean) => void): void;
|
|
193
|
+
registerOnTouched(fn: () => void): void;
|
|
194
|
+
setDisabledState(isDisabled: boolean): void;
|
|
195
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdCheckbox, never>;
|
|
196
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdCheckbox, "vd-checkbox", never, { "label": { "alias": "label"; "required": false; }; "description": { "alias": "description"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
type VdCheckboxGroupDirection = 'vertical' | 'horizontal';
|
|
200
|
+
interface VdCheckboxGroupItem {
|
|
201
|
+
label: string;
|
|
202
|
+
value?: string | number;
|
|
203
|
+
description?: string;
|
|
204
|
+
disabled?: boolean;
|
|
205
|
+
children?: VdCheckboxGroupItem[];
|
|
206
|
+
}
|
|
207
|
+
declare class VdCheckboxGroup implements OnChanges {
|
|
208
|
+
items: VdCheckboxGroupItem[];
|
|
209
|
+
direction: VdCheckboxGroupDirection;
|
|
210
|
+
value: Array<string | number>;
|
|
211
|
+
disabled: boolean;
|
|
212
|
+
valueChange: EventEmitter<(string | number)[]>;
|
|
213
|
+
private selectedValues;
|
|
214
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
215
|
+
onItemChange(item: VdCheckboxGroupItem, checked: boolean): void;
|
|
216
|
+
isChecked(item: VdCheckboxGroupItem): boolean;
|
|
217
|
+
isIndeterminate(item: VdCheckboxGroupItem): boolean;
|
|
218
|
+
trackByItem: (_: number, item: VdCheckboxGroupItem) => string | number;
|
|
219
|
+
private emitValueChange;
|
|
220
|
+
private syncSelectedValues;
|
|
221
|
+
private getSelectableValues;
|
|
222
|
+
private getAllLeafValues;
|
|
223
|
+
private getAllSelectableLeafValues;
|
|
224
|
+
private applyParentSelection;
|
|
225
|
+
private getItemValue;
|
|
226
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdCheckboxGroup, never>;
|
|
227
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdCheckboxGroup, "vd-checkbox-group", never, { "items": { "alias": "items"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
type TooltipPosition = 'top-center' | 'top-left' | 'top-right' | 'center-left' | 'center-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
231
|
+
declare class VdTooltip {
|
|
232
|
+
text: string;
|
|
233
|
+
position: TooltipPosition;
|
|
234
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTooltip, never>;
|
|
235
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdTooltip, "vd-tooltip", never, { "text": { "alias": "text"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
type BadgeVariant = 'solid' | 'subtle';
|
|
239
|
+
type BadgeColor = 'primary' | 'neutral' | 'error' | 'success' | 'info' | 'warning';
|
|
240
|
+
type BadgeSize = 'sm' | 'md';
|
|
241
|
+
declare class VdBadge {
|
|
242
|
+
label: string;
|
|
243
|
+
variant: BadgeVariant;
|
|
244
|
+
color: BadgeColor;
|
|
245
|
+
size: BadgeSize;
|
|
246
|
+
rounded: boolean;
|
|
247
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdBadge, never>;
|
|
248
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdBadge, "vd-badge", never, { "label": { "alias": "label"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; }, {}, never, never, true, never>;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
declare class VdDivider {
|
|
252
|
+
/** CSS class for the icon (e.g., "vd-icon-save") */
|
|
253
|
+
dashed?: boolean;
|
|
254
|
+
color?: string;
|
|
255
|
+
direction?: string;
|
|
256
|
+
inset?: boolean;
|
|
257
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDivider, never>;
|
|
258
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdDivider, "vd-divider", never, { "dashed": { "alias": "dashed"; "required": false; }; "color": { "alias": "color"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "inset": { "alias": "inset"; "required": false; }; }, {}, never, never, true, never>;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
declare class VdPagination implements OnChanges {
|
|
262
|
+
totalPages: number;
|
|
263
|
+
currentPage: number;
|
|
264
|
+
pageChange: EventEmitter<number>;
|
|
265
|
+
pagesToShow: (number | '...')[];
|
|
266
|
+
ngOnChanges(): void;
|
|
267
|
+
private generatePages;
|
|
268
|
+
goToPage(page: number | '...'): void;
|
|
269
|
+
goPrevious(): void;
|
|
270
|
+
goNext(): void;
|
|
271
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdPagination, never>;
|
|
272
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdPagination, "vd-pagination", never, { "totalPages": { "alias": "totalPages"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; }, { "pageChange": "pageChange"; }, never, never, true, never>;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
declare class VdDropdownService {
|
|
276
|
+
private openDropdownId$;
|
|
277
|
+
open(id: string): void;
|
|
278
|
+
close(id: string): void;
|
|
279
|
+
closeAll(): void;
|
|
280
|
+
changes(): rxjs.Observable<string | null>;
|
|
281
|
+
isOpen(id: string): boolean;
|
|
282
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDropdownService, never>;
|
|
283
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VdDropdownService>;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
declare class VdDropdown implements OnInit, OnDestroy, OnChanges {
|
|
287
|
+
private overlay;
|
|
288
|
+
private vcr;
|
|
289
|
+
private dropdownService;
|
|
290
|
+
position: 'bottom-left' | 'bottom-center' | 'bottom-right' | 'top-left' | 'top-center' | 'top-right' | 'left-start' | 'right-start';
|
|
291
|
+
dropdownTemplate: TemplateRef<any>;
|
|
292
|
+
trigger: ElementRef<HTMLElement>;
|
|
293
|
+
private overlayRef?;
|
|
294
|
+
private destroy$;
|
|
295
|
+
private id;
|
|
296
|
+
constructor(overlay: Overlay, vcr: ViewContainerRef, dropdownService: VdDropdownService);
|
|
297
|
+
ngOnInit(): void;
|
|
298
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
299
|
+
toggle(): void;
|
|
300
|
+
open(): void;
|
|
301
|
+
close(): void;
|
|
302
|
+
ngOnDestroy(): void;
|
|
303
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDropdown, never>;
|
|
304
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdDropdown, "vd-dropdown", never, { "position": { "alias": "position"; "required": false; }; }, {}, never, ["[vdDropdownTrigger]", "*"], true, never>;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
interface VdDropdownControl {
|
|
308
|
+
close(): void;
|
|
309
|
+
id: string;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
declare class VdDropdownItem {
|
|
313
|
+
private dropdown;
|
|
314
|
+
title: string;
|
|
315
|
+
description?: string;
|
|
316
|
+
icon?: string;
|
|
317
|
+
disabled: boolean;
|
|
318
|
+
select: EventEmitter<void>;
|
|
319
|
+
constructor(dropdown: VdDropdownControl | null);
|
|
320
|
+
onClick(): void;
|
|
321
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDropdownItem, [{ optional: true; }]>;
|
|
322
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdDropdownItem, "vd-dropdown-item", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "select": "select"; }, never, never, true, never>;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
declare class VdDropdownItemLink {
|
|
326
|
+
href: string;
|
|
327
|
+
target?: string;
|
|
328
|
+
title: string;
|
|
329
|
+
disabled: boolean;
|
|
330
|
+
select: EventEmitter<Event>;
|
|
331
|
+
onClick(event: Event): void;
|
|
332
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDropdownItemLink, never>;
|
|
333
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdDropdownItemLink, "vd-dropdown-item-link", never, { "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "title": { "alias": "title"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "select": "select"; }, never, never, true, never>;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
declare class VdDropdownItemGroup {
|
|
337
|
+
name?: string;
|
|
338
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDropdownItemGroup, never>;
|
|
339
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdDropdownItemGroup, "vd-dropdown-item-group", never, { "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
declare class VdDropdownItemDivider {
|
|
343
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDropdownItemDivider, never>;
|
|
344
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdDropdownItemDivider, "vd-dropdown-item-divider", never, {}, {}, never, never, true, never>;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
interface VdDatatableColumn<T = any> {
|
|
348
|
+
key: keyof T | string;
|
|
349
|
+
title: string;
|
|
350
|
+
cell?: (row: T) => string | number;
|
|
351
|
+
template?: TemplateRef<DatatableCellContext<T>>;
|
|
352
|
+
}
|
|
353
|
+
interface VdDatatableAction<T = any> {
|
|
354
|
+
title: string;
|
|
355
|
+
icon?: string;
|
|
356
|
+
action: (row: T) => void;
|
|
357
|
+
visible?: (row: T) => boolean;
|
|
358
|
+
disabled?: (row: T) => boolean;
|
|
359
|
+
}
|
|
360
|
+
interface DatatableCellContext<T> {
|
|
361
|
+
$implicit: T;
|
|
362
|
+
row: T;
|
|
363
|
+
key: keyof T | string;
|
|
364
|
+
}
|
|
365
|
+
declare class VdDatatable<T extends Record<string, any> = any> {
|
|
366
|
+
data: T[];
|
|
367
|
+
columns: VdDatatableColumn<T>[];
|
|
368
|
+
expandedColumns: VdDatatableColumn<T>[];
|
|
369
|
+
actions: VdDatatableAction<T>[];
|
|
370
|
+
currentPage: number;
|
|
371
|
+
totalPages: number;
|
|
372
|
+
rowsPerPage: number;
|
|
373
|
+
totalRows: number;
|
|
374
|
+
actionTriggered: EventEmitter<{
|
|
375
|
+
action: string;
|
|
376
|
+
row: T;
|
|
377
|
+
}>;
|
|
378
|
+
rowClicked: EventEmitter<T>;
|
|
379
|
+
pageChange: EventEmitter<number>;
|
|
380
|
+
expandedRow: T | null;
|
|
381
|
+
get isExpandable(): boolean;
|
|
382
|
+
get pagedData(): T[];
|
|
383
|
+
toggleExpand(row: T): void;
|
|
384
|
+
getRowActions(row: T): VdDatatableAction<T>[];
|
|
385
|
+
hasActions(row: T): boolean;
|
|
386
|
+
onActionClick(action: VdDatatableAction<T>, row: T): void;
|
|
387
|
+
onPageChanged(page: number): void;
|
|
388
|
+
get rangeStart(): number;
|
|
389
|
+
get rangeEnd(): number;
|
|
390
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDatatable<any>, never>;
|
|
391
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdDatatable<any>, "vd-datatable", never, { "data": { "alias": "data"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "expandedColumns": { "alias": "expandedColumns"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; "rowsPerPage": { "alias": "rowsPerPage"; "required": false; }; "totalRows": { "alias": "totalRows"; "required": false; }; }, { "actionTriggered": "actionTriggered"; "rowClicked": "rowClicked"; "pageChange": "pageChange"; }, never, never, true, never>;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
type AccordionStyle = 'filled' | 'divided';
|
|
395
|
+
declare class VdAccordion {
|
|
396
|
+
title: string;
|
|
397
|
+
variant: AccordionStyle;
|
|
398
|
+
icon?: string;
|
|
399
|
+
active: boolean;
|
|
400
|
+
toggle(): void;
|
|
401
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdAccordion, never>;
|
|
402
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdAccordion, "vd-accordion", never, { "title": { "alias": "title"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
declare class VdTextarea {
|
|
406
|
+
label?: string;
|
|
407
|
+
hintText?: string;
|
|
408
|
+
helperText?: string;
|
|
409
|
+
optional?: boolean;
|
|
410
|
+
leadingIcon?: string;
|
|
411
|
+
trailingActionIcon?: string;
|
|
412
|
+
placeholder: string;
|
|
413
|
+
type: 'text' | 'password';
|
|
414
|
+
value: string;
|
|
415
|
+
maxInputCount?: number;
|
|
416
|
+
disabled?: boolean;
|
|
417
|
+
state: 'success' | 'error' | 'warning' | null;
|
|
418
|
+
valueChange: EventEmitter<string>;
|
|
419
|
+
valueCommit: EventEmitter<string>;
|
|
420
|
+
trailingActionClick: EventEmitter<void>;
|
|
421
|
+
inputFocus: EventEmitter<void>;
|
|
422
|
+
inputId: string;
|
|
423
|
+
showHint: boolean;
|
|
424
|
+
isFocused: boolean;
|
|
425
|
+
onFocus(): void;
|
|
426
|
+
onBlur(): void;
|
|
427
|
+
textareaElement: ElementRef<HTMLTextAreaElement>;
|
|
428
|
+
focusInput(): void;
|
|
429
|
+
onInput(event: Event): void;
|
|
430
|
+
onTrailingActionClick(): void;
|
|
431
|
+
toggleHint(): void;
|
|
432
|
+
get visualState(): 'success' | 'error' | 'warning' | null;
|
|
433
|
+
get trailingStateIcon(): string | null;
|
|
434
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTextarea, never>;
|
|
435
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdTextarea, "vd-textarea", never, { "label": { "alias": "label"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "trailingActionIcon": { "alias": "trailingActionIcon"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "maxInputCount": { "alias": "maxInputCount"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "valueChange": "valueChange"; "valueCommit": "valueCommit"; "trailingActionClick": "trailingActionClick"; "inputFocus": "inputFocus"; }, never, never, true, never>;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
interface VdSelectOption<T = any> {
|
|
439
|
+
label: string;
|
|
440
|
+
value: T;
|
|
441
|
+
disabled?: boolean;
|
|
442
|
+
}
|
|
443
|
+
declare class VdSelect<T = any> {
|
|
444
|
+
label?: string;
|
|
445
|
+
hintText?: string;
|
|
446
|
+
helperText?: string;
|
|
447
|
+
optional?: boolean;
|
|
448
|
+
leadingIcon?: string;
|
|
449
|
+
placeholder: string;
|
|
450
|
+
disabled?: boolean;
|
|
451
|
+
options: VdSelectOption<T>[];
|
|
452
|
+
value: T | null;
|
|
453
|
+
state: 'success' | 'error' | 'warning' | null;
|
|
454
|
+
valueChange: EventEmitter<T | null>;
|
|
455
|
+
valueCommit: EventEmitter<T | null>;
|
|
456
|
+
inputFocus: EventEmitter<void>;
|
|
457
|
+
selectId: string;
|
|
458
|
+
isFocused: boolean;
|
|
459
|
+
onFocus(): void;
|
|
460
|
+
onBlur(): void;
|
|
461
|
+
selectElement: ElementRef<HTMLSelectElement>;
|
|
462
|
+
focusSelect(): void;
|
|
463
|
+
onChange(event: Event): void;
|
|
464
|
+
get visualState(): 'success' | 'error' | 'warning' | null;
|
|
465
|
+
get trailingStateIcon(): string | null;
|
|
466
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdSelect<any>, never>;
|
|
467
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdSelect<any>, "vd-select", never, { "label": { "alias": "label"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "valueChange": "valueChange"; "valueCommit": "valueCommit"; "inputFocus": "inputFocus"; }, never, never, true, never>;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
declare class VdSingleDatePicker implements OnChanges, OnDestroy {
|
|
471
|
+
private overlay;
|
|
472
|
+
private viewContainerRef;
|
|
473
|
+
label?: string;
|
|
474
|
+
hintText?: string;
|
|
475
|
+
helperText?: string;
|
|
476
|
+
optional?: boolean;
|
|
477
|
+
placeholder: string;
|
|
478
|
+
disabled: boolean;
|
|
479
|
+
leadingIcon?: string;
|
|
480
|
+
showMonthYearSelector: boolean;
|
|
481
|
+
dropdownPosition: 'bottom-left' | 'bottom-center' | 'bottom-right' | 'top-left' | 'top-center' | 'top-right';
|
|
482
|
+
minDate?: Date;
|
|
483
|
+
maxDate?: Date;
|
|
484
|
+
value: Date | null;
|
|
485
|
+
state: 'success' | 'error' | 'warning' | null;
|
|
486
|
+
valueChange: EventEmitter<Date | null>;
|
|
487
|
+
inputFocus: EventEmitter<void>;
|
|
488
|
+
inputBlur: EventEmitter<void>;
|
|
489
|
+
isOpen: boolean;
|
|
490
|
+
isFocused: boolean;
|
|
491
|
+
trigger: ElementRef<HTMLElement>;
|
|
492
|
+
calendarPopupTemplate: TemplateRef<unknown>;
|
|
493
|
+
private overlayRef?;
|
|
494
|
+
private readonly onAnyScroll;
|
|
495
|
+
get visualState(): 'success' | 'error' | 'warning' | null;
|
|
496
|
+
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
497
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
498
|
+
get displayValue(): string;
|
|
499
|
+
private formatDate;
|
|
500
|
+
toggleCalendar(): void;
|
|
501
|
+
onInputFocus(): void;
|
|
502
|
+
onInputBlur(): void;
|
|
503
|
+
onDateSelect(date: Date | null): void;
|
|
504
|
+
ngOnDestroy(): void;
|
|
505
|
+
private openCalendar;
|
|
506
|
+
private closeCalendar;
|
|
507
|
+
private getPositionStrategy;
|
|
508
|
+
private getOverlayOriginElement;
|
|
509
|
+
private startScrollTracking;
|
|
510
|
+
private stopScrollTracking;
|
|
511
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdSingleDatePicker, never>;
|
|
512
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdSingleDatePicker, "vd-single-date-picker", never, { "label": { "alias": "label"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "showMonthYearSelector": { "alias": "showMonthYearSelector"; "required": false; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "valueChange": "valueChange"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; }, never, never, true, never>;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
interface DateRange {
|
|
516
|
+
start: Date | null;
|
|
517
|
+
end: Date | null;
|
|
518
|
+
}
|
|
519
|
+
declare class VdRangeDateInline implements OnInit {
|
|
520
|
+
value: DateRange | null;
|
|
521
|
+
minDate?: Date;
|
|
522
|
+
maxDate?: Date;
|
|
523
|
+
disabled: boolean;
|
|
524
|
+
valueChange: EventEmitter<DateRange | null>;
|
|
525
|
+
currentMonth: Date;
|
|
526
|
+
today: Date;
|
|
527
|
+
weekDays: string[];
|
|
528
|
+
months: string[];
|
|
529
|
+
calendarDays: Array<{
|
|
530
|
+
date: Date;
|
|
531
|
+
inMonth: boolean;
|
|
532
|
+
isToday: boolean;
|
|
533
|
+
isSelected: boolean;
|
|
534
|
+
isRangeStart: boolean;
|
|
535
|
+
isRangeEnd: boolean;
|
|
536
|
+
isInRange: boolean;
|
|
537
|
+
isDisabled: boolean;
|
|
538
|
+
}>;
|
|
539
|
+
nextMonthCalendarDays: Array<{
|
|
540
|
+
isDisabled: boolean;
|
|
541
|
+
date: Date;
|
|
542
|
+
inMonth: boolean;
|
|
543
|
+
isToday: boolean;
|
|
544
|
+
isSelected: boolean;
|
|
545
|
+
isRangeStart: boolean;
|
|
546
|
+
isRangeEnd: boolean;
|
|
547
|
+
isInRange: boolean;
|
|
548
|
+
}>;
|
|
549
|
+
ngOnInit(): void;
|
|
550
|
+
prevMonth(event?: Event): void;
|
|
551
|
+
nextMonth(event?: Event): void;
|
|
552
|
+
get currentMonthLabel(): string;
|
|
553
|
+
get nextMonthLabel(): string;
|
|
554
|
+
generateCalendar(): void;
|
|
555
|
+
private generateMonthCalendar;
|
|
556
|
+
createDayObject(date: Date, inMonth: boolean): {
|
|
557
|
+
date: Date;
|
|
558
|
+
inMonth: boolean;
|
|
559
|
+
isToday: boolean;
|
|
560
|
+
isSelected: boolean;
|
|
561
|
+
isRangeStart: boolean;
|
|
562
|
+
isRangeEnd: boolean;
|
|
563
|
+
isInRange: boolean;
|
|
564
|
+
isDisabled: boolean;
|
|
565
|
+
};
|
|
566
|
+
onDateClick(dayObj: any, event: Event): void;
|
|
567
|
+
isSameDay(d1: Date, d2: Date): boolean;
|
|
568
|
+
resetCalendarView(): void;
|
|
569
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdRangeDateInline, never>;
|
|
570
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdRangeDateInline, "vd-range-date-inline", never, { "value": { "alias": "value"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
declare class VdRangeDatePicker implements OnChanges, OnDestroy {
|
|
574
|
+
private overlay;
|
|
575
|
+
private viewContainerRef;
|
|
576
|
+
label?: string;
|
|
577
|
+
hintText?: string;
|
|
578
|
+
helperText?: string;
|
|
579
|
+
optional?: boolean;
|
|
580
|
+
placeholder: string;
|
|
581
|
+
disabled: boolean;
|
|
582
|
+
leadingIcon?: string;
|
|
583
|
+
dropdownPosition: 'bottom-left' | 'bottom-center' | 'bottom-right' | 'top-left' | 'top-center' | 'top-right';
|
|
584
|
+
minDate?: Date;
|
|
585
|
+
maxDate?: Date;
|
|
586
|
+
value: DateRange | null;
|
|
587
|
+
state: 'success' | 'error' | 'warning' | null;
|
|
588
|
+
valueChange: EventEmitter<DateRange | null>;
|
|
589
|
+
inputFocus: EventEmitter<void>;
|
|
590
|
+
inputBlur: EventEmitter<void>;
|
|
591
|
+
isOpen: boolean;
|
|
592
|
+
isFocused: boolean;
|
|
593
|
+
trigger: ElementRef<HTMLElement>;
|
|
594
|
+
calendarPopupTemplate: TemplateRef<unknown>;
|
|
595
|
+
private overlayRef?;
|
|
596
|
+
private readonly onAnyScroll;
|
|
597
|
+
get visualState(): 'success' | 'error' | 'warning' | null;
|
|
598
|
+
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
599
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
600
|
+
get displayValue(): string;
|
|
601
|
+
private formatDate;
|
|
602
|
+
toggleCalendar(): void;
|
|
603
|
+
onInputFocus(): void;
|
|
604
|
+
onInputBlur(): void;
|
|
605
|
+
onDateSelect(range: DateRange | null): void;
|
|
606
|
+
ngOnDestroy(): void;
|
|
607
|
+
private openCalendar;
|
|
608
|
+
private closeCalendar;
|
|
609
|
+
private getPositionStrategy;
|
|
610
|
+
private getOverlayOriginElement;
|
|
611
|
+
private startScrollTracking;
|
|
612
|
+
private stopScrollTracking;
|
|
613
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdRangeDatePicker, never>;
|
|
614
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdRangeDatePicker, "vd-range-date-picker", never, { "label": { "alias": "label"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "valueChange": "valueChange"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; }, never, never, true, never>;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
declare class VdTimePicker {
|
|
618
|
+
label?: string;
|
|
619
|
+
hintText?: string;
|
|
620
|
+
helperText?: string;
|
|
621
|
+
optional?: boolean;
|
|
622
|
+
leadingIcon?: string;
|
|
623
|
+
trailingActionIcon?: string;
|
|
624
|
+
placeholder: string;
|
|
625
|
+
type: 'text' | 'password';
|
|
626
|
+
value: string;
|
|
627
|
+
maxInputCount?: number;
|
|
628
|
+
disabled?: boolean;
|
|
629
|
+
state: 'success' | 'error' | 'warning' | null;
|
|
630
|
+
valueChange: EventEmitter<string>;
|
|
631
|
+
valueCommit: EventEmitter<string>;
|
|
632
|
+
trailingActionClick: EventEmitter<void>;
|
|
633
|
+
inputFocus: EventEmitter<void>;
|
|
634
|
+
showHint: boolean;
|
|
635
|
+
isFocused: boolean;
|
|
636
|
+
onFocus(): void;
|
|
637
|
+
inputElement: ElementRef<HTMLInputElement>;
|
|
638
|
+
focusInput(): void;
|
|
639
|
+
openTimePicker(): void;
|
|
640
|
+
onBlur(): void;
|
|
641
|
+
onInput(event: Event): void;
|
|
642
|
+
onTrailingActionClick(): void;
|
|
643
|
+
onInputFocus(): void;
|
|
644
|
+
onInputBlur(): void;
|
|
645
|
+
toggleHint(): void;
|
|
646
|
+
get visualState(): 'success' | 'error' | 'warning' | null;
|
|
647
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTimePicker, never>;
|
|
648
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdTimePicker, "vd-time-picker", never, { "label": { "alias": "label"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "trailingActionIcon": { "alias": "trailingActionIcon"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "maxInputCount": { "alias": "maxInputCount"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "valueChange": "valueChange"; "valueCommit": "valueCommit"; "trailingActionClick": "trailingActionClick"; "inputFocus": "inputFocus"; }, never, never, true, never>;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
declare class VdDateTimePicker implements OnInit, OnChanges, OnDestroy {
|
|
652
|
+
private overlay;
|
|
653
|
+
private viewContainerRef;
|
|
654
|
+
mode: 'single' | 'range';
|
|
655
|
+
withTime: boolean;
|
|
656
|
+
label?: string;
|
|
657
|
+
hintText?: string;
|
|
658
|
+
helperText?: string;
|
|
659
|
+
optional?: boolean;
|
|
660
|
+
placeholder: string;
|
|
661
|
+
disabled: boolean;
|
|
662
|
+
leadingIcon?: string;
|
|
663
|
+
showMonthYearSelector: boolean;
|
|
664
|
+
dropdownPosition: 'bottom-left' | 'bottom-center' | 'bottom-right' | 'top-left' | 'top-center' | 'top-right';
|
|
665
|
+
minDate?: Date;
|
|
666
|
+
maxDate?: Date;
|
|
667
|
+
value: Date | {
|
|
668
|
+
start: Date | null;
|
|
669
|
+
end: Date | null;
|
|
670
|
+
} | null;
|
|
671
|
+
state: 'success' | 'error' | 'warning' | null;
|
|
672
|
+
valueChange: EventEmitter<Date | {
|
|
673
|
+
start: Date | null;
|
|
674
|
+
end: Date | null;
|
|
675
|
+
} | null>;
|
|
676
|
+
inputFocus: EventEmitter<void>;
|
|
677
|
+
inputBlur: EventEmitter<void>;
|
|
678
|
+
isOpen: boolean;
|
|
679
|
+
isFocused: boolean;
|
|
680
|
+
trigger: ElementRef<HTMLElement>;
|
|
681
|
+
calendarPopupTemplate: TemplateRef<unknown>;
|
|
682
|
+
private overlayRef?;
|
|
683
|
+
private readonly onAnyScroll;
|
|
684
|
+
timeValue: string;
|
|
685
|
+
startTimeValue: string;
|
|
686
|
+
endTimeValue: string;
|
|
687
|
+
get visualState(): 'success' | 'error' | 'warning' | null;
|
|
688
|
+
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
689
|
+
ngOnInit(): void;
|
|
690
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
691
|
+
private extractTimeFromValue;
|
|
692
|
+
private formatTime;
|
|
693
|
+
private applyTimeToDate;
|
|
694
|
+
get displayValue(): string;
|
|
695
|
+
private formatDate;
|
|
696
|
+
toggleCalendar(): void;
|
|
697
|
+
onInputFocus(): void;
|
|
698
|
+
onInputBlur(): void;
|
|
699
|
+
onDateChange(newDate: Date | DateRange | null): void;
|
|
700
|
+
onTimeChange(timeStr: string): void;
|
|
701
|
+
onTimeCommit(timeStr: string): void;
|
|
702
|
+
onStartTimeChange(timeStr: string): void;
|
|
703
|
+
onStartTimeCommit(timeStr: string): void;
|
|
704
|
+
onEndTimeChange(timeStr: string): void;
|
|
705
|
+
onEndTimeCommit(timeStr: string): void;
|
|
706
|
+
private emitValue;
|
|
707
|
+
get singleDateValue(): Date | null;
|
|
708
|
+
get rangeDateValue(): DateRange | null;
|
|
709
|
+
ngOnDestroy(): void;
|
|
710
|
+
private openCalendar;
|
|
711
|
+
private closeCalendar;
|
|
712
|
+
private getPositionStrategy;
|
|
713
|
+
private getOverlayOriginElement;
|
|
714
|
+
private startScrollTracking;
|
|
715
|
+
private stopScrollTracking;
|
|
716
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDateTimePicker, never>;
|
|
717
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdDateTimePicker, "vd-date-time-picker", never, { "mode": { "alias": "mode"; "required": false; }; "withTime": { "alias": "withTime"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "showMonthYearSelector": { "alias": "showMonthYearSelector"; "required": false; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "valueChange": "valueChange"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; }, never, never, true, never>;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
declare class VdSingleDateInline implements OnInit {
|
|
721
|
+
value: Date | null;
|
|
722
|
+
showMonthYearSelector: boolean;
|
|
723
|
+
minDate?: Date;
|
|
724
|
+
maxDate?: Date;
|
|
725
|
+
disabled: boolean;
|
|
726
|
+
valueChange: EventEmitter<Date | null>;
|
|
727
|
+
currentMonth: Date;
|
|
728
|
+
today: Date;
|
|
729
|
+
weekDays: string[];
|
|
730
|
+
months: string[];
|
|
731
|
+
years: number[];
|
|
732
|
+
calendarDays: Array<{
|
|
733
|
+
date: Date;
|
|
734
|
+
inMonth: boolean;
|
|
735
|
+
isToday: boolean;
|
|
736
|
+
isSelected: boolean;
|
|
737
|
+
isDisabled: boolean;
|
|
738
|
+
}>;
|
|
739
|
+
ngOnInit(): void;
|
|
740
|
+
generateYearsArray(): void;
|
|
741
|
+
prevMonth(event?: Event): void;
|
|
742
|
+
nextMonth(event?: Event): void;
|
|
743
|
+
onMonthChange(event: Event): void;
|
|
744
|
+
onYearChange(event: Event): void;
|
|
745
|
+
get currentMonthLabel(): string;
|
|
746
|
+
get selectedMonth(): number;
|
|
747
|
+
get selectedYear(): number;
|
|
748
|
+
get selectedMonthValue(): string;
|
|
749
|
+
get selectedYearValue(): string;
|
|
750
|
+
generateCalendar(): void;
|
|
751
|
+
private generateMonthCalendar;
|
|
752
|
+
createDayObject(date: Date, inMonth: boolean): {
|
|
753
|
+
date: Date;
|
|
754
|
+
inMonth: boolean;
|
|
755
|
+
isToday: boolean;
|
|
756
|
+
isSelected: boolean;
|
|
757
|
+
isDisabled: boolean;
|
|
758
|
+
};
|
|
759
|
+
onDateClick(dayObj: any, event: Event): void;
|
|
760
|
+
isSameDay(d1: Date, d2: Date): boolean;
|
|
761
|
+
resetCalendarView(): void;
|
|
762
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdSingleDateInline, never>;
|
|
763
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdSingleDateInline, "vd-single-date-inline", never, { "value": { "alias": "value"; "required": false; }; "showMonthYearSelector": { "alias": "showMonthYearSelector"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
declare class VdSwitch implements ControlValueAccessor {
|
|
767
|
+
/** Optional label to display above the switch */
|
|
768
|
+
label?: string;
|
|
769
|
+
/** Whether the switch is active/enabled */
|
|
770
|
+
checked: boolean;
|
|
771
|
+
/** Whether the switch is disabled */
|
|
772
|
+
disabled: boolean;
|
|
773
|
+
/** Emitted when the switch state changes */
|
|
774
|
+
change: EventEmitter<boolean>;
|
|
775
|
+
private onChange;
|
|
776
|
+
private onTouched;
|
|
777
|
+
/**
|
|
778
|
+
* Toggle the switch state
|
|
779
|
+
*/
|
|
780
|
+
toggle(): void;
|
|
781
|
+
/**
|
|
782
|
+
* ControlValueAccessor implementation
|
|
783
|
+
*/
|
|
784
|
+
writeValue(value: boolean): void;
|
|
785
|
+
registerOnChange(fn: (value: boolean) => void): void;
|
|
786
|
+
registerOnTouched(fn: () => void): void;
|
|
787
|
+
setDisabledState(isDisabled: boolean): void;
|
|
788
|
+
/**
|
|
789
|
+
* Handle keyboard events (Space to toggle)
|
|
790
|
+
*/
|
|
791
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
792
|
+
/**
|
|
793
|
+
* Track blur event for ControlValueAccessor
|
|
794
|
+
*/
|
|
795
|
+
onBlur(): void;
|
|
796
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdSwitch, never>;
|
|
797
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdSwitch, "vd-switch", never, { "label": { "alias": "label"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
type VdSidebarRouteMatchMode = 'exact' | 'prefix';
|
|
801
|
+
interface VdSidebarNavItem {
|
|
802
|
+
label: string;
|
|
803
|
+
route?: string;
|
|
804
|
+
matchMode?: VdSidebarRouteMatchMode;
|
|
805
|
+
icon?: string;
|
|
806
|
+
children?: VdSidebarNavItem[];
|
|
807
|
+
}
|
|
808
|
+
interface VdSidebarNavSection {
|
|
809
|
+
title?: string;
|
|
810
|
+
items: VdSidebarNavItem[];
|
|
811
|
+
showTitle?: boolean;
|
|
812
|
+
}
|
|
813
|
+
declare class VdSidebar implements OnInit, OnDestroy {
|
|
814
|
+
private router;
|
|
815
|
+
sections: VdSidebarNavSection[];
|
|
816
|
+
expandedItems: Set<string>;
|
|
817
|
+
currentRoute: string;
|
|
818
|
+
private destroy$;
|
|
819
|
+
constructor(router: Router);
|
|
820
|
+
ngOnInit(): void;
|
|
821
|
+
ngOnDestroy(): void;
|
|
822
|
+
toggleExpand(label: string, event?: Event): void;
|
|
823
|
+
isExpanded(label: string): boolean;
|
|
824
|
+
isRouteActive(route: string | undefined, matchMode?: VdSidebarRouteMatchMode): boolean;
|
|
825
|
+
isItemActive(item: VdSidebarNavItem): boolean;
|
|
826
|
+
isChildActive(item: VdSidebarNavItem): boolean;
|
|
827
|
+
private updateExpandedState;
|
|
828
|
+
private normalizeRoute;
|
|
829
|
+
private normalizePath;
|
|
830
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdSidebar, never>;
|
|
831
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdSidebar, "vd-sidebar", never, { "sections": { "alias": "sections"; "required": false; }; }, {}, never, never, true, never>;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
type AlertColor = 'primary' | 'success' | 'error' | 'warning' | 'info' | 'neutral';
|
|
835
|
+
declare class VdAlert {
|
|
836
|
+
/** Alert title (optional) */
|
|
837
|
+
title?: string;
|
|
838
|
+
/** Alert description/content (required) */
|
|
839
|
+
description: string;
|
|
840
|
+
/** Alert color variant */
|
|
841
|
+
color: AlertColor;
|
|
842
|
+
/** Show action button */
|
|
843
|
+
action: boolean;
|
|
844
|
+
/** Show close button */
|
|
845
|
+
closable: boolean;
|
|
846
|
+
/** Action button text */
|
|
847
|
+
actionLabel: string;
|
|
848
|
+
/** Display action button inline */
|
|
849
|
+
actionInline: boolean;
|
|
850
|
+
/** Show icon */
|
|
851
|
+
showIcon: boolean;
|
|
852
|
+
/** Leading icon name - if not provided, defaults based on color */
|
|
853
|
+
icon?: string;
|
|
854
|
+
/** Emitted when close button is clicked */
|
|
855
|
+
onClose?: () => void;
|
|
856
|
+
/** Emitted when action button is clicked */
|
|
857
|
+
onAction?: () => void;
|
|
858
|
+
/** Get the icon name based on color or custom icon */
|
|
859
|
+
get iconName(): string;
|
|
860
|
+
handleClose(): void;
|
|
861
|
+
handleAction(): void;
|
|
862
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdAlert, never>;
|
|
863
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdAlert, "vd-alert", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "color": { "alias": "color"; "required": false; }; "action": { "alias": "action"; "required": false; }; "closable": { "alias": "closable"; "required": false; }; "actionLabel": { "alias": "actionLabel"; "required": false; }; "actionInline": { "alias": "actionInline"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "onClose": { "alias": "onClose"; "required": false; }; "onAction": { "alias": "onAction"; "required": false; }; }, {}, never, never, true, never>;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
type VdDrawerSize = 'sm' | 'md' | 'lg';
|
|
867
|
+
type VdDrawerResult = 'primary' | 'secondary' | 'close';
|
|
868
|
+
interface VdDrawerConfig<T = unknown> {
|
|
869
|
+
title: string;
|
|
870
|
+
size?: VdDrawerSize;
|
|
871
|
+
contentTemplate: TemplateRef<T>;
|
|
872
|
+
context?: T;
|
|
873
|
+
primaryActionLabel?: string;
|
|
874
|
+
secondaryActionLabel?: string;
|
|
875
|
+
}
|
|
876
|
+
interface ResolvedConfig$1<T> extends VdDrawerConfig<T> {
|
|
877
|
+
size: VdDrawerSize;
|
|
878
|
+
}
|
|
879
|
+
declare class VdDrawer<T = unknown> implements OnInit, OnDestroy {
|
|
880
|
+
private dialogRef;
|
|
881
|
+
private cdr;
|
|
882
|
+
readonly config: ResolvedConfig$1<T>;
|
|
883
|
+
isClosing: boolean;
|
|
884
|
+
private destroy$;
|
|
885
|
+
constructor(data: VdDrawerConfig<T>, dialogRef: DialogRef<VdDrawerResult>, cdr: ChangeDetectorRef);
|
|
886
|
+
get hasActions(): boolean;
|
|
887
|
+
ngOnInit(): void;
|
|
888
|
+
ngOnDestroy(): void;
|
|
889
|
+
handleClose(): void;
|
|
890
|
+
handlePrimaryAction(): void;
|
|
891
|
+
handleSecondaryAction(): void;
|
|
892
|
+
private closeDrawer;
|
|
893
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDrawer<any>, never>;
|
|
894
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdDrawer<any>, "vd-drawer", never, {}, {}, never, never, true, never>;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
type VdDialogResult = 'primary' | 'secondary' | 'close';
|
|
898
|
+
interface VdDialogConfig<T = unknown> {
|
|
899
|
+
title: string;
|
|
900
|
+
contentTemplate: TemplateRef<T>;
|
|
901
|
+
context?: T;
|
|
902
|
+
primaryActionLabel?: string;
|
|
903
|
+
secondaryActionLabel?: string;
|
|
904
|
+
}
|
|
905
|
+
declare class VdDialog<T = unknown> implements OnInit, OnDestroy {
|
|
906
|
+
private dialogRef;
|
|
907
|
+
private cdr;
|
|
908
|
+
readonly config: VdDialogConfig<T>;
|
|
909
|
+
isClosing: boolean;
|
|
910
|
+
private destroy$;
|
|
911
|
+
constructor(data: VdDialogConfig<T>, dialogRef: DialogRef<VdDialogResult>, cdr: ChangeDetectorRef);
|
|
912
|
+
get hasActions(): boolean;
|
|
913
|
+
ngOnInit(): void;
|
|
914
|
+
ngOnDestroy(): void;
|
|
915
|
+
handleClose(): void;
|
|
916
|
+
handlePrimaryAction(): void;
|
|
917
|
+
handleSecondaryAction(): void;
|
|
918
|
+
private closeDialog;
|
|
919
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDialog<any>, never>;
|
|
920
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdDialog<any>, "vd-dialog", never, {}, {}, never, never, true, never>;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
type VdProgressTrackerState = 'default' | 'active' | 'completed' | 'error' | 'disabled';
|
|
924
|
+
type VdProgressTrackerDirection = 'horizontal' | 'vertical';
|
|
925
|
+
type VdProgressTrackerIndicatorType = 'number' | 'icon';
|
|
926
|
+
type VdProgressTrackerSize = 'sm' | 'lg';
|
|
927
|
+
interface VdProgressTrackerItem {
|
|
928
|
+
title: string;
|
|
929
|
+
description?: string;
|
|
930
|
+
state?: VdProgressTrackerState;
|
|
931
|
+
indicatorLabel?: string | number;
|
|
932
|
+
icon?: string;
|
|
933
|
+
}
|
|
934
|
+
declare class VdProgressTracker {
|
|
935
|
+
items: VdProgressTrackerItem[];
|
|
936
|
+
direction: VdProgressTrackerDirection;
|
|
937
|
+
indicatorType: VdProgressTrackerIndicatorType;
|
|
938
|
+
showDescription: boolean;
|
|
939
|
+
showConnector: boolean;
|
|
940
|
+
defaultIcon: string;
|
|
941
|
+
itemClick: EventEmitter<number>;
|
|
942
|
+
private readonly completedIcon;
|
|
943
|
+
private readonly errorIcon;
|
|
944
|
+
get indicatorSize(): VdProgressTrackerSize;
|
|
945
|
+
getItemState(item: VdProgressTrackerItem): VdProgressTrackerState;
|
|
946
|
+
getIndicatorLabel(item: VdProgressTrackerItem, index: number): string;
|
|
947
|
+
shouldShowLabel(item: VdProgressTrackerItem): boolean;
|
|
948
|
+
shouldShowIcon(item: VdProgressTrackerItem): boolean;
|
|
949
|
+
getIndicatorIcon(item: VdProgressTrackerItem): string;
|
|
950
|
+
onItemClick(item: VdProgressTrackerItem, index: number): void;
|
|
951
|
+
trackByIndex(index: number): number;
|
|
952
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdProgressTracker, never>;
|
|
953
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdProgressTracker, "vd-progress-tracker", never, { "items": { "alias": "items"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "indicatorType": { "alias": "indicatorType"; "required": false; }; "showDescription": { "alias": "showDescription"; "required": false; }; "showConnector": { "alias": "showConnector"; "required": false; }; "defaultIcon": { "alias": "defaultIcon"; "required": false; }; }, { "itemClick": "itemClick"; }, never, never, true, never>;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
declare class VdRadioButton implements ControlValueAccessor, OnInit {
|
|
957
|
+
label?: string;
|
|
958
|
+
description?: string;
|
|
959
|
+
value: string | number;
|
|
960
|
+
checked: boolean;
|
|
961
|
+
disabled: boolean;
|
|
962
|
+
id?: string;
|
|
963
|
+
name?: string;
|
|
964
|
+
ariaLabel?: string;
|
|
965
|
+
select: EventEmitter<string | number>;
|
|
966
|
+
inputRef: ElementRef<HTMLInputElement>;
|
|
967
|
+
inputId: string;
|
|
968
|
+
private onChange;
|
|
969
|
+
private onTouched;
|
|
970
|
+
ngOnInit(): void;
|
|
971
|
+
onInputChange(event: Event): void;
|
|
972
|
+
onBlur(): void;
|
|
973
|
+
writeValue(value: string | number): void;
|
|
974
|
+
registerOnChange(fn: (value: string | number) => void): void;
|
|
975
|
+
registerOnTouched(fn: () => void): void;
|
|
976
|
+
setDisabledState(isDisabled: boolean): void;
|
|
977
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdRadioButton, never>;
|
|
978
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdRadioButton, "vd-radio-button", never, { "label": { "alias": "label"; "required": false; }; "description": { "alias": "description"; "required": false; }; "value": { "alias": "value"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "select": "select"; }, never, never, true, never>;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
type VdRadioGroupDirection = 'vertical' | 'horizontal';
|
|
982
|
+
interface VdRadioGroupItem {
|
|
983
|
+
label: string;
|
|
984
|
+
value: string | number;
|
|
985
|
+
description?: string;
|
|
986
|
+
disabled?: boolean;
|
|
987
|
+
}
|
|
988
|
+
declare class VdRadioGroup implements ControlValueAccessor, OnChanges {
|
|
989
|
+
items: VdRadioGroupItem[];
|
|
990
|
+
direction: VdRadioGroupDirection;
|
|
991
|
+
value: string | number | null;
|
|
992
|
+
disabled: boolean;
|
|
993
|
+
name: string;
|
|
994
|
+
valueChange: EventEmitter<string | number>;
|
|
995
|
+
private onChange;
|
|
996
|
+
private onTouched;
|
|
997
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
998
|
+
onItemSelect(item: VdRadioGroupItem): void;
|
|
999
|
+
isChecked(item: VdRadioGroupItem): boolean;
|
|
1000
|
+
trackByItem: (_: number, item: VdRadioGroupItem) => string | number;
|
|
1001
|
+
writeValue(value: string | number): void;
|
|
1002
|
+
registerOnChange(fn: (value: string | number) => void): void;
|
|
1003
|
+
registerOnTouched(fn: () => void): void;
|
|
1004
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1005
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdRadioGroup, never>;
|
|
1006
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdRadioGroup, "vd-radio-group", never, { "items": { "alias": "items"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
declare class VdVerificationCodeInput implements AfterViewInit {
|
|
1010
|
+
/** Number of code input cells */
|
|
1011
|
+
length: 4 | 6;
|
|
1012
|
+
/** Current value (string of digits) */
|
|
1013
|
+
value: string;
|
|
1014
|
+
/** Whether the input is disabled */
|
|
1015
|
+
disabled: boolean;
|
|
1016
|
+
/** Error state */
|
|
1017
|
+
state: 'error' | null;
|
|
1018
|
+
/** Label text displayed above the input */
|
|
1019
|
+
label?: string;
|
|
1020
|
+
/** Helper text displayed below the input */
|
|
1021
|
+
helperText?: string;
|
|
1022
|
+
/** Whether to auto-focus the first cell on init */
|
|
1023
|
+
autoFocus: boolean;
|
|
1024
|
+
/** Whether to mask the entered digits */
|
|
1025
|
+
mask: boolean;
|
|
1026
|
+
/** Emitted on every value change */
|
|
1027
|
+
valueChange: EventEmitter<string>;
|
|
1028
|
+
/** Emitted when all cells are filled */
|
|
1029
|
+
completed: EventEmitter<string>;
|
|
1030
|
+
hiddenInput: ElementRef<HTMLInputElement>;
|
|
1031
|
+
/** Tracks if input is focused */
|
|
1032
|
+
focused: boolean;
|
|
1033
|
+
/** Caret index for visual focus */
|
|
1034
|
+
caretIndex: number;
|
|
1035
|
+
/** Unique id for input + helper text */
|
|
1036
|
+
inputId: string;
|
|
1037
|
+
helperTextId: string;
|
|
1038
|
+
/** Array representing the number of cells */
|
|
1039
|
+
get cells(): unknown[];
|
|
1040
|
+
ngAfterViewInit(): void;
|
|
1041
|
+
focusInput(): void;
|
|
1042
|
+
onFocus(): void;
|
|
1043
|
+
onBlur(): void;
|
|
1044
|
+
private setCaret;
|
|
1045
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
1046
|
+
onInput(event: Event): void;
|
|
1047
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdVerificationCodeInput, never>;
|
|
1048
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdVerificationCodeInput, "vd-verification-code-input", never, { "length": { "alias": "length"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "state": { "alias": "state"; "required": false; }; "label": { "alias": "label"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; }, { "valueChange": "valueChange"; "completed": "completed"; }, never, never, true, never>;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
type VdTabType = 'default' | 'boxed';
|
|
1052
|
+
type VdTabDirection = 'horizontal' | 'vertical';
|
|
1053
|
+
interface VdTabConfig {
|
|
1054
|
+
label: string;
|
|
1055
|
+
value: string;
|
|
1056
|
+
icon?: string;
|
|
1057
|
+
disabled?: boolean;
|
|
1058
|
+
}
|
|
1059
|
+
declare class VdTab implements OnInit {
|
|
1060
|
+
/** Array of tab configurations */
|
|
1061
|
+
tabs: VdTabConfig[];
|
|
1062
|
+
/** Currently active tab value */
|
|
1063
|
+
value: string;
|
|
1064
|
+
/** Visual type: 'default' (underline) or 'boxed' (filled background) */
|
|
1065
|
+
type: VdTabType;
|
|
1066
|
+
/** Layout direction */
|
|
1067
|
+
direction: VdTabDirection;
|
|
1068
|
+
/** Emitted when active tab changes */
|
|
1069
|
+
valueChange: EventEmitter<string>;
|
|
1070
|
+
/** Emitted when a tab is selected */
|
|
1071
|
+
tabChange: EventEmitter<VdTabConfig>;
|
|
1072
|
+
ngOnInit(): void;
|
|
1073
|
+
selectTab(tab: VdTabConfig): void;
|
|
1074
|
+
isActive(tab: VdTabConfig): boolean;
|
|
1075
|
+
trackByTab(_: number, tab: VdTabConfig): string;
|
|
1076
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTab, never>;
|
|
1077
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdTab, "vd-tab", never, { "tabs": { "alias": "tabs"; "required": false; }; "value": { "alias": "value"; "required": false; }; "type": { "alias": "type"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, { "valueChange": "valueChange"; "tabChange": "tabChange"; }, never, never, true, never>;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
type FileInputLayout = 'horizontal' | 'vertical';
|
|
1081
|
+
declare class VdFileInput {
|
|
1082
|
+
/** Field label displayed above the dropzone */
|
|
1083
|
+
label?: string;
|
|
1084
|
+
/** Tooltip content for the help icon (shown when label is present) */
|
|
1085
|
+
hintText?: string;
|
|
1086
|
+
/** Whether the field is optional */
|
|
1087
|
+
optional?: boolean;
|
|
1088
|
+
/** Layout variant: compact inline or large centered */
|
|
1089
|
+
layout: FileInputLayout;
|
|
1090
|
+
/** Human-readable supported file types label (e.g. ".png, .jpeg") */
|
|
1091
|
+
supportedFiles?: string;
|
|
1092
|
+
/** Human-readable supported file types label (e.g. ".png, .jpeg") */
|
|
1093
|
+
supportingText?: string;
|
|
1094
|
+
/** Maximum file size label displayed to the user (e.g. "12 MB") */
|
|
1095
|
+
maxSize?: string;
|
|
1096
|
+
/** Whether multiple files can be selected */
|
|
1097
|
+
multiple: boolean;
|
|
1098
|
+
/** Whether the input is disabled */
|
|
1099
|
+
disabled: boolean;
|
|
1100
|
+
/** Validation state */
|
|
1101
|
+
state: 'error' | null;
|
|
1102
|
+
/** Helper text shown below the dropzone (e.g. validation message) */
|
|
1103
|
+
helperText?: string;
|
|
1104
|
+
/** Emitted when the selected files list changes (add or remove) */
|
|
1105
|
+
filesChange: EventEmitter<File[]>;
|
|
1106
|
+
fileInputRef: ElementRef<HTMLInputElement>;
|
|
1107
|
+
/** Internal list of selected files */
|
|
1108
|
+
selectedFiles: File[];
|
|
1109
|
+
/** Internal drag-over flag */
|
|
1110
|
+
isDragOver: boolean;
|
|
1111
|
+
/** Computed unique id */
|
|
1112
|
+
inputId: string;
|
|
1113
|
+
/** Whether the dropzone should be hidden (single mode with a file selected) */
|
|
1114
|
+
get hideDropzone(): boolean;
|
|
1115
|
+
/** Open the native file picker */
|
|
1116
|
+
openFilePicker(): void;
|
|
1117
|
+
/** Handle file selection via native input */
|
|
1118
|
+
onFileSelected(event: Event): void;
|
|
1119
|
+
/** Remove a specific file from the list */
|
|
1120
|
+
removeFile(index: number, event: MouseEvent): void;
|
|
1121
|
+
/** Format bytes to human-readable size */
|
|
1122
|
+
formatSize(bytes: number): string;
|
|
1123
|
+
/** Handle dragover */
|
|
1124
|
+
onDragOver(event: DragEvent): void;
|
|
1125
|
+
/** Handle dragleave */
|
|
1126
|
+
onDragLeave(event: DragEvent): void;
|
|
1127
|
+
/** Handle drop */
|
|
1128
|
+
onDrop(event: DragEvent): void;
|
|
1129
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdFileInput, never>;
|
|
1130
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdFileInput, "vd-file-input", never, { "label": { "alias": "label"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "supportedFiles": { "alias": "supportedFiles"; "required": false; }; "supportingText": { "alias": "supportingText"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "state": { "alias": "state"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; }, { "filesChange": "filesChange"; }, never, never, true, never>;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
declare class VdNumberInput {
|
|
1134
|
+
label?: string;
|
|
1135
|
+
hintText?: string;
|
|
1136
|
+
helperText?: string;
|
|
1137
|
+
optional?: boolean;
|
|
1138
|
+
leadingIcon?: string;
|
|
1139
|
+
trailingActionIcon?: string;
|
|
1140
|
+
placeholder: string;
|
|
1141
|
+
value: number | null;
|
|
1142
|
+
min?: number;
|
|
1143
|
+
max?: number;
|
|
1144
|
+
step?: number | 'any';
|
|
1145
|
+
readOnly?: boolean;
|
|
1146
|
+
disabled?: boolean;
|
|
1147
|
+
state: 'success' | 'error' | 'warning' | null;
|
|
1148
|
+
valueChange: EventEmitter<number | null>;
|
|
1149
|
+
valueCommit: EventEmitter<number | null>;
|
|
1150
|
+
trailingActionClick: EventEmitter<void>;
|
|
1151
|
+
inputFocus: EventEmitter<void>;
|
|
1152
|
+
inputId: string;
|
|
1153
|
+
showHint: boolean;
|
|
1154
|
+
isFocused: boolean;
|
|
1155
|
+
onFocus(): void;
|
|
1156
|
+
inputElement: ElementRef<HTMLInputElement>;
|
|
1157
|
+
focusInput(): void;
|
|
1158
|
+
onBlur(): void;
|
|
1159
|
+
onInput(event: Event): void;
|
|
1160
|
+
onTrailingActionClick(): void;
|
|
1161
|
+
toggleHint(): void;
|
|
1162
|
+
get visualState(): 'success' | 'error' | 'warning' | null;
|
|
1163
|
+
get trailingStateIcon(): string | null;
|
|
1164
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdNumberInput, never>;
|
|
1165
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdNumberInput, "vd-number-input", never, { "label": { "alias": "label"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "trailingActionIcon": { "alias": "trailingActionIcon"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "valueChange": "valueChange"; "valueCommit": "valueCommit"; "trailingActionClick": "trailingActionClick"; "inputFocus": "inputFocus"; }, never, never, true, never>;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
interface BreadcrumbItem {
|
|
1169
|
+
label: string;
|
|
1170
|
+
url?: string;
|
|
1171
|
+
[key: string]: any;
|
|
1172
|
+
}
|
|
1173
|
+
declare class VdBreadcrumb {
|
|
1174
|
+
items: BreadcrumbItem[];
|
|
1175
|
+
separatorIcon: string;
|
|
1176
|
+
size: 'sm' | 'md' | 'lg';
|
|
1177
|
+
itemClick: EventEmitter<BreadcrumbItem>;
|
|
1178
|
+
get maxItems(): number;
|
|
1179
|
+
get showOverflow(): boolean;
|
|
1180
|
+
get visibleItems(): BreadcrumbItem[];
|
|
1181
|
+
get overflowItems(): BreadcrumbItem[];
|
|
1182
|
+
private router;
|
|
1183
|
+
onItemClick(event: Event, item: BreadcrumbItem): void;
|
|
1184
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdBreadcrumb, never>;
|
|
1185
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdBreadcrumb, "vd-breadcrumb", never, { "items": { "alias": "items"; "required": false; }; "separatorIcon": { "alias": "separatorIcon"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "itemClick": "itemClick"; }, never, never, true, never>;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
declare class VdNavbar {
|
|
1189
|
+
logoUrl?: string;
|
|
1190
|
+
logoAlt?: string;
|
|
1191
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdNavbar, never>;
|
|
1192
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdNavbar, "vd-navbar", never, { "logoUrl": { "alias": "logoUrl"; "required": false; }; "logoAlt": { "alias": "logoAlt"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
declare class VdEmptyState {
|
|
1196
|
+
/** Heading shown as the primary message. */
|
|
1197
|
+
title: string;
|
|
1198
|
+
/** Supporting description shown below the title (optional). */
|
|
1199
|
+
description?: string;
|
|
1200
|
+
/** Icon name rendered at the top of the empty state. */
|
|
1201
|
+
icon: string;
|
|
1202
|
+
/** Show or hide the icon container. */
|
|
1203
|
+
showIcon: boolean;
|
|
1204
|
+
/** Boxed container style with padding, border and background. */
|
|
1205
|
+
boxed: boolean;
|
|
1206
|
+
/** Primary action button text. Button is visible only when label is provided. */
|
|
1207
|
+
primaryActionLabel: string;
|
|
1208
|
+
/** Secondary action button text. Button is visible only when label is provided. */
|
|
1209
|
+
secondaryActionLabel: string;
|
|
1210
|
+
/** Emitted when the primary action button is clicked. */
|
|
1211
|
+
primaryActionClick: EventEmitter<void>;
|
|
1212
|
+
/** Emitted when the secondary action button is clicked. */
|
|
1213
|
+
secondaryActionClick: EventEmitter<void>;
|
|
1214
|
+
get hasPrimaryAction(): boolean;
|
|
1215
|
+
get hasSecondaryAction(): boolean;
|
|
1216
|
+
onPrimaryActionClick(): void;
|
|
1217
|
+
onSecondaryActionClick(): void;
|
|
1218
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdEmptyState, never>;
|
|
1219
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdEmptyState, "vd-empty-state", never, { "title": { "alias": "title"; "required": true; }; "description": { "alias": "description"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "boxed": { "alias": "boxed"; "required": false; }; "primaryActionLabel": { "alias": "primaryActionLabel"; "required": false; }; "secondaryActionLabel": { "alias": "secondaryActionLabel"; "required": false; }; }, { "primaryActionClick": "primaryActionClick"; "secondaryActionClick": "secondaryActionClick"; }, never, never, true, never>;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
declare class VdLoadingState {
|
|
1223
|
+
/** Heading shown as the primary message. */
|
|
1224
|
+
title: string;
|
|
1225
|
+
/** Supporting description shown below the title (optional). */
|
|
1226
|
+
description?: string;
|
|
1227
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdLoadingState, never>;
|
|
1228
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdLoadingState, "vd-loading-state", never, { "title": { "alias": "title"; "required": true; }; "description": { "alias": "description"; "required": false; }; }, {}, never, never, true, never>;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
declare class VdAngularComponentsModule {
|
|
1232
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdAngularComponentsModule, never>;
|
|
1233
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VdAngularComponentsModule, never, [typeof VdButton, typeof VdIcon, typeof VdIconButton, typeof VdToast, typeof VdInput, typeof VdCheckbox, typeof VdCheckboxGroup, typeof VdTooltip, typeof VdBadge, typeof VdDivider, typeof VdPagination, typeof VdDropdown, typeof VdDropdownItem, typeof VdDropdownItemLink, typeof VdDropdownItemGroup, typeof VdDropdownItemDivider, typeof VdDatatable, typeof VdAccordion, typeof VdTextarea, typeof VdSelect, typeof VdSingleDatePicker, typeof VdRangeDatePicker, typeof VdTimePicker, typeof VdDateTimePicker, typeof VdSingleDateInline, typeof VdRangeDateInline, typeof VdSwitch, typeof VdSidebar, typeof VdAlert, typeof VdDrawer, typeof VdDialog, typeof VdProgressTracker, typeof VdRadioButton, typeof VdRadioGroup, typeof VdVerificationCodeInput, typeof VdTab, typeof VdFileInput, typeof VdNumberInput, typeof VdBreadcrumb, typeof VdNavbar, typeof VdEmptyState, typeof VdLoadingState], [typeof VdButton, typeof VdIcon, typeof VdIconButton, typeof VdToast, typeof VdInput, typeof VdCheckbox, typeof VdCheckboxGroup, typeof VdTooltip, typeof VdBadge, typeof VdDivider, typeof VdPagination, typeof VdDropdown, typeof VdDropdownItem, typeof VdDropdownItemLink, typeof VdDropdownItemGroup, typeof VdDropdownItemDivider, typeof VdDatatable, typeof VdAccordion, typeof VdTextarea, typeof VdSelect, typeof VdRangeDatePicker, typeof VdSingleDatePicker, typeof VdTimePicker, typeof VdDateTimePicker, typeof VdSingleDateInline, typeof VdSwitch, typeof VdRangeDateInline, typeof VdSidebar, typeof VdAlert, typeof VdDrawer, typeof VdDialog, typeof VdProgressTracker, typeof VdRadioButton, typeof VdRadioGroup, typeof VdVerificationCodeInput, typeof VdTab, typeof VdFileInput, typeof VdNumberInput, typeof VdBreadcrumb, typeof VdNavbar, typeof VdEmptyState, typeof VdLoadingState]>;
|
|
1234
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<VdAngularComponentsModule>;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
declare class ToastModule {
|
|
1238
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastModule, never>;
|
|
1239
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToastModule, never, [typeof i1.CommonModule, typeof VdToast], [typeof VdToast]>;
|
|
1240
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ToastModule>;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
declare class VdTooltipDirective implements OnDestroy {
|
|
1244
|
+
text: string;
|
|
1245
|
+
vdTooltipPosition: TooltipPosition;
|
|
1246
|
+
private overlayRef?;
|
|
1247
|
+
private overlay;
|
|
1248
|
+
private elementRef;
|
|
1249
|
+
private viewContainerRef;
|
|
1250
|
+
ngOnDestroy(): void;
|
|
1251
|
+
show(): void;
|
|
1252
|
+
hide(): void;
|
|
1253
|
+
private destroy;
|
|
1254
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdTooltipDirective, never>;
|
|
1255
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<VdTooltipDirective, "[vdTooltip]", never, { "text": { "alias": "vdTooltip"; "required": false; }; "vdTooltipPosition": { "alias": "vdTooltipPosition"; "required": false; }; }, {}, never, never, true, never>;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
type DialogColor = 'default' | 'error';
|
|
1259
|
+
interface VdConfirmationDialogConfig {
|
|
1260
|
+
title: string;
|
|
1261
|
+
description?: string;
|
|
1262
|
+
icon?: string;
|
|
1263
|
+
color?: DialogColor;
|
|
1264
|
+
cancelLabel?: string;
|
|
1265
|
+
confirmLabel?: string;
|
|
1266
|
+
}
|
|
1267
|
+
interface ResolvedConfig {
|
|
1268
|
+
title: string;
|
|
1269
|
+
description?: string;
|
|
1270
|
+
icon?: string;
|
|
1271
|
+
color: DialogColor;
|
|
1272
|
+
cancelLabel: string;
|
|
1273
|
+
confirmLabel: string;
|
|
1274
|
+
}
|
|
1275
|
+
declare class VdConfirmationDialog implements OnInit, OnDestroy {
|
|
1276
|
+
private dialogRef;
|
|
1277
|
+
private cdr;
|
|
1278
|
+
readonly config: ResolvedConfig;
|
|
1279
|
+
isClosing: boolean;
|
|
1280
|
+
private destroy$;
|
|
1281
|
+
constructor(data: VdConfirmationDialogConfig, dialogRef: DialogRef<'confirm' | 'cancel'>, cdr: ChangeDetectorRef);
|
|
1282
|
+
ngOnInit(): void;
|
|
1283
|
+
ngOnDestroy(): void;
|
|
1284
|
+
handleCancel(): void;
|
|
1285
|
+
handleConfirm(): void;
|
|
1286
|
+
private closeDialog;
|
|
1287
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdConfirmationDialog, never>;
|
|
1288
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdConfirmationDialog, "vd-confirmation-dialog", never, {}, {}, never, never, true, never>;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
declare class VdConfirmationDialogService {
|
|
1292
|
+
private dialog;
|
|
1293
|
+
private overlay;
|
|
1294
|
+
private scrollStrategyOptions;
|
|
1295
|
+
private document;
|
|
1296
|
+
private scrollStrategy;
|
|
1297
|
+
constructor(dialog: Dialog, overlay: Overlay, scrollStrategyOptions: ScrollStrategyOptions, document: Document);
|
|
1298
|
+
confirm(config: VdConfirmationDialogConfig): Promise<'confirm' | 'cancel'>;
|
|
1299
|
+
private blurActiveElement;
|
|
1300
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdConfirmationDialogService, never>;
|
|
1301
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VdConfirmationDialogService>;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
declare class VdDrawerService {
|
|
1305
|
+
private dialog;
|
|
1306
|
+
private overlay;
|
|
1307
|
+
private scrollStrategyOptions;
|
|
1308
|
+
private document;
|
|
1309
|
+
private scrollStrategy;
|
|
1310
|
+
private activeDrawerCount;
|
|
1311
|
+
private removeScrollLockListeners;
|
|
1312
|
+
constructor(dialog: Dialog, overlay: Overlay, scrollStrategyOptions: ScrollStrategyOptions, document: Document);
|
|
1313
|
+
open<T = unknown>(config: VdDrawerConfig<T>): Promise<VdDrawerResult>;
|
|
1314
|
+
private lockBackgroundScroll;
|
|
1315
|
+
private unlockBackgroundScroll;
|
|
1316
|
+
private blurActiveElement;
|
|
1317
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDrawerService, never>;
|
|
1318
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VdDrawerService>;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
declare class VdDialogService {
|
|
1322
|
+
private dialog;
|
|
1323
|
+
private overlay;
|
|
1324
|
+
private scrollStrategyOptions;
|
|
1325
|
+
private document;
|
|
1326
|
+
private scrollStrategy;
|
|
1327
|
+
constructor(dialog: Dialog, overlay: Overlay, scrollStrategyOptions: ScrollStrategyOptions, document: Document);
|
|
1328
|
+
open<T = unknown>(config: VdDialogConfig<T>): Promise<VdDialogResult>;
|
|
1329
|
+
private blurActiveElement;
|
|
1330
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDialogService, never>;
|
|
1331
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VdDialogService>;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
export { ToastModule, VdAccordion, VdAlert, VdAngularComponentsModule, VdBadge, VdBreadcrumb, VdButton, VdCheckbox, VdCheckboxGroup, VdConfirmationDialog, VdConfirmationDialogService, VdDatatable, VdDateTimePicker, VdDialog, VdDialogService, VdDivider, VdDrawer, VdDrawerService, VdDropdown, VdDropdownItem, VdDropdownItemDivider, VdDropdownItemGroup, VdDropdownItemLink, VdEmptyState, VdFileInput, VdIcon, VdIconButton, VdInput, VdLoadingState, VdNavbar, VdNumberInput, VdPagination, VdProgressTracker, VdRadioButton, VdRadioGroup, VdRangeDateInline, VdRangeDatePicker, VdSelect, VdSidebar, VdSingleDateInline, VdSingleDatePicker, VdSwitch, VdTab, VdTextarea, VdTimePicker, VdToast, VdToastService, VdTooltip, VdTooltipDirective, VdVerificationCodeInput };
|
|
1335
|
+
export type { BreadcrumbItem, DatatableCellContext, DateRange, DialogColor, Toast, ToastColor, ToastConfig, ToastPosition, TooltipPosition, VdCheckboxGroupDirection, VdCheckboxGroupItem, VdConfirmationDialogConfig, VdDatatableAction, VdDatatableColumn, VdDialogConfig, VdDialogResult, VdDrawerConfig, VdDrawerResult, VdDrawerSize, VdProgressTrackerDirection, VdProgressTrackerIndicatorType, VdProgressTrackerItem, VdProgressTrackerSize, VdProgressTrackerState, VdRadioGroupDirection, VdRadioGroupItem, VdSelectOption, VdSidebarNavItem, VdSidebarNavSection, VdSidebarRouteMatchMode, VdTabConfig, VdTabDirection, VdTabType };
|