@devjuliovilla/jv-ui 1.11.2 → 1.13.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/README.md +195 -6
- package/fesm2022/devjuliovilla-jv-ui.mjs +2375 -1276
- package/fesm2022/devjuliovilla-jv-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/devjuliovilla-jv-ui.d.ts +250 -38
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devjuliovilla/jv-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "Accessibility-first Angular component library — components, forms, data grids, dialogs, layout, services, and i18n infrastructure built with signals and standalone APIs.",
|
|
5
5
|
"author": "@devjuliovilla",
|
|
6
6
|
"license": "MIT",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef, ElementRef, InjectionToken,
|
|
2
|
+
import { TemplateRef, ElementRef, InjectionToken, OnDestroy, AfterViewInit } from '@angular/core';
|
|
3
3
|
import * as _angular_forms from '@angular/forms';
|
|
4
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
5
|
import * as _devjuliovilla_jv_ui from '@devjuliovilla/jv-ui';
|
|
@@ -33,6 +33,207 @@ declare class JvIconButtonComponent {
|
|
|
33
33
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvIconButtonComponent, "jv-icon-button", never, { "icon": { "alias": "icon"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": true; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
declare const ES: Record<string, string>;
|
|
37
|
+
|
|
38
|
+
declare const EN: Record<string, string>;
|
|
39
|
+
|
|
40
|
+
type JvLocale = 'es' | 'en';
|
|
41
|
+
declare const JV_LOCALE_DICTIONARIES: Record<JvLocale, Record<string, string>>;
|
|
42
|
+
declare const JV_DEFAULT_LOCALE: JvLocale;
|
|
43
|
+
|
|
44
|
+
declare class JvTranslationService {
|
|
45
|
+
private readonly config;
|
|
46
|
+
readonly locale: _angular_core.WritableSignal<JvLocale>;
|
|
47
|
+
initialize(): void;
|
|
48
|
+
setLocale(locale: JvLocale): void;
|
|
49
|
+
setMessagesLocale(locale: JvLocale): void;
|
|
50
|
+
translate(key: string, params?: Record<string, string | number>): string;
|
|
51
|
+
private resolveLocale;
|
|
52
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvTranslationService, never>;
|
|
53
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<JvTranslationService>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
declare class JvDayPlannerDetailDirective {
|
|
57
|
+
readonly templateRef: TemplateRef<JvDayPlannerDetailContext>;
|
|
58
|
+
constructor(templateRef: TemplateRef<JvDayPlannerDetailContext>);
|
|
59
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvDayPlannerDetailDirective, never>;
|
|
60
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<JvDayPlannerDetailDirective, "ng-template[jvDayPlannerDetail]", never, {}, {}, never, never, true, never>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
declare class JvDayPlannerItemDirective {
|
|
64
|
+
readonly templateRef: TemplateRef<JvDayPlannerItemContext>;
|
|
65
|
+
constructor(templateRef: TemplateRef<JvDayPlannerItemContext>);
|
|
66
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvDayPlannerItemDirective, never>;
|
|
67
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<JvDayPlannerItemDirective, "ng-template[jvDayPlannerItem]", never, {}, {}, never, never, true, never>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
interface JvDayPlannerItem {
|
|
71
|
+
id: string | number;
|
|
72
|
+
title: string;
|
|
73
|
+
date?: Date | string | null;
|
|
74
|
+
start?: Date | string | null;
|
|
75
|
+
end?: Date | string | null;
|
|
76
|
+
status?: string;
|
|
77
|
+
statusTone?: JvTone;
|
|
78
|
+
type?: string;
|
|
79
|
+
typeTone?: JvTone;
|
|
80
|
+
responsible?: string;
|
|
81
|
+
location?: string;
|
|
82
|
+
details?: string;
|
|
83
|
+
completed?: boolean;
|
|
84
|
+
}
|
|
85
|
+
interface JvResolvedPlannerItem {
|
|
86
|
+
id: string;
|
|
87
|
+
raw: JvDayPlannerItem;
|
|
88
|
+
date: Date | null;
|
|
89
|
+
start: Date | null;
|
|
90
|
+
end: Date | null;
|
|
91
|
+
sortValue: number;
|
|
92
|
+
hasDetails: boolean;
|
|
93
|
+
}
|
|
94
|
+
interface JvPlannerGroup {
|
|
95
|
+
key: string;
|
|
96
|
+
label: string;
|
|
97
|
+
items: JvResolvedPlannerItem[];
|
|
98
|
+
}
|
|
99
|
+
interface JvDayPlannerItemContext {
|
|
100
|
+
$implicit: JvDayPlannerItem;
|
|
101
|
+
item: JvDayPlannerItem;
|
|
102
|
+
expanded: boolean;
|
|
103
|
+
}
|
|
104
|
+
interface JvDayPlannerDetailContext {
|
|
105
|
+
$implicit: JvDayPlannerItem;
|
|
106
|
+
item: JvDayPlannerItem;
|
|
107
|
+
}
|
|
108
|
+
declare class JvDayPlannerComponent {
|
|
109
|
+
readonly translation: JvTranslationService;
|
|
110
|
+
private readonly formatService;
|
|
111
|
+
private readonly customItemTemplate;
|
|
112
|
+
private readonly customDetailTemplate;
|
|
113
|
+
private readonly expandedIds;
|
|
114
|
+
readonly items: _angular_core.InputSignal<JvDayPlannerItem[]>;
|
|
115
|
+
readonly groupByDate: _angular_core.InputSignal<boolean>;
|
|
116
|
+
readonly emptyMessage: _angular_core.InputSignal<string>;
|
|
117
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
118
|
+
readonly defaultExpandedItemIds: _angular_core.InputSignal<(string | number)[]>;
|
|
119
|
+
readonly itemSelect: _angular_core.OutputEmitterRef<JvDayPlannerItem>;
|
|
120
|
+
protected readonly resolvedAriaLabel: _angular_core.Signal<string>;
|
|
121
|
+
protected readonly resolvedItems: _angular_core.Signal<JvResolvedPlannerItem[]>;
|
|
122
|
+
protected readonly groupedItems: _angular_core.Signal<JvPlannerGroup[]>;
|
|
123
|
+
constructor();
|
|
124
|
+
protected itemTemplate(): JvDayPlannerItemDirective | undefined;
|
|
125
|
+
protected detailTemplate(): JvDayPlannerDetailDirective | undefined;
|
|
126
|
+
protected itemContext(item: JvResolvedPlannerItem): JvDayPlannerItemContext;
|
|
127
|
+
protected detailContext(item: JvResolvedPlannerItem): JvDayPlannerDetailContext;
|
|
128
|
+
protected selectItem(item: JvDayPlannerItem): void;
|
|
129
|
+
protected toggleExpanded(itemId: string): void;
|
|
130
|
+
protected isExpanded(itemId: string): boolean;
|
|
131
|
+
protected timeLabel(item: JvResolvedPlannerItem): string;
|
|
132
|
+
private formatDateLabel;
|
|
133
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvDayPlannerComponent, never>;
|
|
134
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvDayPlannerComponent, "jv-day-planner", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "groupByDate": { "alias": "groupByDate"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "defaultExpandedItemIds": { "alias": "defaultExpandedItemIds"; "required": false; "isSignal": true; }; }, { "itemSelect": "itemSelect"; }, ["customItemTemplate", "customDetailTemplate"], never, true, never>;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
interface JvSelectOption<T = string> {
|
|
138
|
+
label: string;
|
|
139
|
+
value: T;
|
|
140
|
+
disabled?: boolean;
|
|
141
|
+
}
|
|
142
|
+
interface JvModalSelectorOption<T = string> {
|
|
143
|
+
label: string;
|
|
144
|
+
value: T;
|
|
145
|
+
description?: string;
|
|
146
|
+
keywords?: string[];
|
|
147
|
+
disabled?: boolean;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
declare class JvMonthCalendarDayDirective {
|
|
151
|
+
readonly templateRef: TemplateRef<JvMonthCalendarDayContext>;
|
|
152
|
+
constructor(templateRef: TemplateRef<JvMonthCalendarDayContext>);
|
|
153
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvMonthCalendarDayDirective, never>;
|
|
154
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<JvMonthCalendarDayDirective, "ng-template[jvMonthCalendarDay]", never, {}, {}, never, never, true, never>;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
interface JvMonthCalendarDayMeta {
|
|
158
|
+
date: Date | string;
|
|
159
|
+
count?: number;
|
|
160
|
+
tone?: JvTone;
|
|
161
|
+
label?: string;
|
|
162
|
+
}
|
|
163
|
+
interface JvMonthCalendarResolvedMeta {
|
|
164
|
+
count: number;
|
|
165
|
+
tone: JvTone;
|
|
166
|
+
label: string;
|
|
167
|
+
}
|
|
168
|
+
interface JvMonthCalendarCell {
|
|
169
|
+
date: Date;
|
|
170
|
+
currentMonth: boolean;
|
|
171
|
+
isToday: boolean;
|
|
172
|
+
isSelected: boolean;
|
|
173
|
+
meta: JvMonthCalendarResolvedMeta | null;
|
|
174
|
+
}
|
|
175
|
+
interface JvMonthCalendarDayContext {
|
|
176
|
+
$implicit: JvMonthCalendarCell;
|
|
177
|
+
cell: JvMonthCalendarCell;
|
|
178
|
+
}
|
|
179
|
+
interface JvMonthCalendarNavigation {
|
|
180
|
+
previousMonth?: boolean;
|
|
181
|
+
nextMonth?: boolean;
|
|
182
|
+
previousYear?: boolean;
|
|
183
|
+
nextYear?: boolean;
|
|
184
|
+
}
|
|
185
|
+
declare class JvMonthCalendarComponent {
|
|
186
|
+
readonly translation: JvTranslationService;
|
|
187
|
+
private readonly formatService;
|
|
188
|
+
private readonly gridRootRef;
|
|
189
|
+
private readonly customDayTemplate;
|
|
190
|
+
readonly valueInput: _angular_core.InputSignal<string | Date | null | undefined>;
|
|
191
|
+
readonly visibleMonthInput: _angular_core.InputSignal<string | Date | null | undefined>;
|
|
192
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
193
|
+
readonly monthLabel: _angular_core.InputSignal<string>;
|
|
194
|
+
readonly yearLabel: _angular_core.InputSignal<string>;
|
|
195
|
+
readonly minYear: _angular_core.InputSignal<number | null | undefined>;
|
|
196
|
+
readonly maxYear: _angular_core.InputSignal<number | null | undefined>;
|
|
197
|
+
readonly navigation: _angular_core.InputSignal<JvMonthCalendarNavigation | null>;
|
|
198
|
+
readonly dayMeta: _angular_core.InputSignal<JvMonthCalendarDayMeta[]>;
|
|
199
|
+
readonly selectionChange: _angular_core.OutputEmitterRef<Date>;
|
|
200
|
+
readonly visibleMonthChange: _angular_core.OutputEmitterRef<Date>;
|
|
201
|
+
protected readonly visibleMonth: _angular_core.WritableSignal<Date>;
|
|
202
|
+
protected readonly focusedDate: _angular_core.WritableSignal<Date>;
|
|
203
|
+
protected readonly resolvedAriaLabel: _angular_core.Signal<string>;
|
|
204
|
+
protected readonly resolvedMonthLabel: _angular_core.Signal<string>;
|
|
205
|
+
protected readonly resolvedYearLabel: _angular_core.Signal<string>;
|
|
206
|
+
protected readonly resolvedNavigation: _angular_core.Signal<Required<JvMonthCalendarNavigation>>;
|
|
207
|
+
protected readonly monthOptions: _angular_core.Signal<JvSelectOption<string>[]>;
|
|
208
|
+
protected readonly yearOptions: _angular_core.Signal<JvSelectOption<string>[]>;
|
|
209
|
+
protected readonly weekdayLabels: _angular_core.Signal<string[]>;
|
|
210
|
+
private readonly metaMap;
|
|
211
|
+
protected readonly calendarCells: _angular_core.Signal<JvMonthCalendarCell[]>;
|
|
212
|
+
private readonly selectedDate;
|
|
213
|
+
private readonly visibleMonthValue;
|
|
214
|
+
private readonly yearBounds;
|
|
215
|
+
constructor();
|
|
216
|
+
protected dayTemplate(): JvMonthCalendarDayDirective | undefined;
|
|
217
|
+
protected dayContext(cell: JvMonthCalendarCell): JvMonthCalendarDayContext;
|
|
218
|
+
protected shiftMonth(offset: number): void;
|
|
219
|
+
protected shiftYear(offset: number): void;
|
|
220
|
+
protected handleMonthChange(value: string): void;
|
|
221
|
+
protected handleYearChange(value: string): void;
|
|
222
|
+
protected selectToday(): void;
|
|
223
|
+
protected selectDate(date: Date): void;
|
|
224
|
+
protected handleDayKeydown(event: KeyboardEvent, date: Date): void;
|
|
225
|
+
protected isFocusedDate(date: Date): boolean;
|
|
226
|
+
protected dayAriaLabel(cell: JvMonthCalendarCell): string;
|
|
227
|
+
protected markerClass(tone: JvTone): string;
|
|
228
|
+
protected isoDate(date: Date): string;
|
|
229
|
+
private setVisibleMonth;
|
|
230
|
+
private focusDateWithinVisibleMonth;
|
|
231
|
+
private focusDateForMonth;
|
|
232
|
+
private focusDateButton;
|
|
233
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvMonthCalendarComponent, never>;
|
|
234
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvMonthCalendarComponent, "jv-month-calendar", never, { "valueInput": { "alias": "value"; "required": false; "isSignal": true; }; "visibleMonthInput": { "alias": "visibleMonth"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "monthLabel": { "alias": "monthLabel"; "required": false; "isSignal": true; }; "yearLabel": { "alias": "yearLabel"; "required": false; "isSignal": true; }; "minYear": { "alias": "minYear"; "required": false; "isSignal": true; }; "maxYear": { "alias": "maxYear"; "required": false; "isSignal": true; }; "navigation": { "alias": "navigation"; "required": false; "isSignal": true; }; "dayMeta": { "alias": "dayMeta"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; "visibleMonthChange": "visibleMonthChange"; }, ["customDayTemplate"], never, true, never>;
|
|
235
|
+
}
|
|
236
|
+
|
|
36
237
|
interface JvLoginSubmitEvent {
|
|
37
238
|
identifier: string;
|
|
38
239
|
password: string;
|
|
@@ -369,19 +570,6 @@ declare class JvFormContainerComponent {
|
|
|
369
570
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvFormContainerComponent, "jv-form-container", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "hintId": { "alias": "hintId"; "required": false; "isSignal": true; }; "errorId": { "alias": "errorId"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
370
571
|
}
|
|
371
572
|
|
|
372
|
-
interface JvSelectOption<T = string> {
|
|
373
|
-
label: string;
|
|
374
|
-
value: T;
|
|
375
|
-
disabled?: boolean;
|
|
376
|
-
}
|
|
377
|
-
interface JvModalSelectorOption<T = string> {
|
|
378
|
-
label: string;
|
|
379
|
-
value: T;
|
|
380
|
-
description?: string;
|
|
381
|
-
keywords?: string[];
|
|
382
|
-
disabled?: boolean;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
573
|
declare class JvInputComponent implements ControlValueAccessor {
|
|
386
574
|
readonly type: _angular_core.InputSignal<"number" | "search" | "text" | "email" | "password">;
|
|
387
575
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
@@ -403,26 +591,6 @@ declare class JvInputComponent implements ControlValueAccessor {
|
|
|
403
591
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvInputComponent, "jv-input", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "describedBy": { "alias": "describedBy"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
404
592
|
}
|
|
405
593
|
|
|
406
|
-
declare const ES: Record<string, string>;
|
|
407
|
-
|
|
408
|
-
declare const EN: Record<string, string>;
|
|
409
|
-
|
|
410
|
-
type JvLocale = 'es' | 'en';
|
|
411
|
-
declare const JV_LOCALE_DICTIONARIES: Record<JvLocale, Record<string, string>>;
|
|
412
|
-
declare const JV_DEFAULT_LOCALE: JvLocale;
|
|
413
|
-
|
|
414
|
-
declare class JvTranslationService {
|
|
415
|
-
private readonly config;
|
|
416
|
-
readonly locale: _angular_core.WritableSignal<JvLocale>;
|
|
417
|
-
initialize(): void;
|
|
418
|
-
setLocale(locale: JvLocale): void;
|
|
419
|
-
setMessagesLocale(locale: JvLocale): void;
|
|
420
|
-
translate(key: string, params?: Record<string, string | number>): string;
|
|
421
|
-
private resolveLocale;
|
|
422
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvTranslationService, never>;
|
|
423
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<JvTranslationService>;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
594
|
interface JvDatePickerCell {
|
|
427
595
|
date: Date;
|
|
428
596
|
currentMonth: boolean;
|
|
@@ -559,6 +727,8 @@ declare class JvModalSelectorComponent implements ControlValueAccessor {
|
|
|
559
727
|
protected readonly dialogOpen: _angular_core.WritableSignal<boolean>;
|
|
560
728
|
protected readonly searchQuery: _angular_core.WritableSignal<string>;
|
|
561
729
|
protected readonly dialogId: string;
|
|
730
|
+
protected readonly listboxId: string;
|
|
731
|
+
protected readonly resultsId: string;
|
|
562
732
|
protected readonly searchInputId: string;
|
|
563
733
|
protected value: string | null;
|
|
564
734
|
protected disabled: boolean;
|
|
@@ -617,6 +787,7 @@ declare class JvSelectComponent implements ControlValueAccessor {
|
|
|
617
787
|
readonly required: _angular_core.InputSignal<boolean>;
|
|
618
788
|
readonly invalid: _angular_core.InputSignal<boolean>;
|
|
619
789
|
readonly describedBy: _angular_core.InputSignal<string>;
|
|
790
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
620
791
|
readonly inputId: _angular_core.InputSignal<string>;
|
|
621
792
|
readonly modelValue: _angular_core.InputSignal<string>;
|
|
622
793
|
readonly selectionChange: _angular_core.OutputEmitterRef<string>;
|
|
@@ -632,7 +803,7 @@ declare class JvSelectComponent implements ControlValueAccessor {
|
|
|
632
803
|
handleChange(event: Event): void;
|
|
633
804
|
handleBlur(): void;
|
|
634
805
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvSelectComponent, never>;
|
|
635
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvSelectComponent, "jv-select", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "describedBy": { "alias": "describedBy"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "modelValue": { "alias": "modelValue"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
806
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvSelectComponent, "jv-select", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "describedBy": { "alias": "describedBy"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "modelValue": { "alias": "modelValue"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
636
807
|
}
|
|
637
808
|
|
|
638
809
|
declare class JvSwitchComponent implements ControlValueAccessor {
|
|
@@ -817,6 +988,7 @@ declare class JvConfirmDialogComponent {
|
|
|
817
988
|
declare class JvDialogComponent {
|
|
818
989
|
private readonly document;
|
|
819
990
|
private readonly panelRef;
|
|
991
|
+
private previouslyFocusedElement;
|
|
820
992
|
readonly open: _angular_core.InputSignal<boolean>;
|
|
821
993
|
readonly title: _angular_core.InputSignal<string>;
|
|
822
994
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
@@ -826,12 +998,47 @@ declare class JvDialogComponent {
|
|
|
826
998
|
handleDocumentKeydown(event: KeyboardEvent): void;
|
|
827
999
|
private focusInitialElement;
|
|
828
1000
|
backdropClose(): void;
|
|
1001
|
+
private restoreFocus;
|
|
829
1002
|
private trapFocus;
|
|
830
1003
|
private getFocusableElements;
|
|
831
1004
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvDialogComponent, never>;
|
|
832
1005
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvDialogComponent, "jv-dialog", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["*", "[dialog-actions]"], true, never>;
|
|
833
1006
|
}
|
|
834
1007
|
|
|
1008
|
+
type JvWindowModalMode = 'floating' | 'fullscreen';
|
|
1009
|
+
type JvWindowModalSize = 'lg' | 'xl' | 'fullscreen';
|
|
1010
|
+
declare class JvWindowModalComponent implements OnDestroy {
|
|
1011
|
+
private readonly document;
|
|
1012
|
+
private readonly panelRef;
|
|
1013
|
+
readonly open: _angular_core.InputSignal<boolean>;
|
|
1014
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
1015
|
+
readonly subtitle: _angular_core.InputSignal<string>;
|
|
1016
|
+
readonly mode: _angular_core.InputSignal<JvWindowModalMode>;
|
|
1017
|
+
readonly size: _angular_core.InputSignal<JvWindowModalSize>;
|
|
1018
|
+
readonly showCloseButton: _angular_core.InputSignal<boolean>;
|
|
1019
|
+
readonly closeOnBackdrop: _angular_core.InputSignal<boolean>;
|
|
1020
|
+
readonly closeOnEscape: _angular_core.InputSignal<boolean>;
|
|
1021
|
+
readonly closeLabel: _angular_core.InputSignal<string>;
|
|
1022
|
+
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
1023
|
+
readonly close: _angular_core.OutputEmitterRef<void>;
|
|
1024
|
+
protected readonly resolvedMode: _angular_core.Signal<JvWindowModalMode>;
|
|
1025
|
+
protected readonly titleId: string;
|
|
1026
|
+
protected readonly descriptionId: string;
|
|
1027
|
+
private previousFocusedElement;
|
|
1028
|
+
private previousBodyOverflow;
|
|
1029
|
+
private wasOpen;
|
|
1030
|
+
constructor();
|
|
1031
|
+
ngOnDestroy(): void;
|
|
1032
|
+
handleDocumentKeydown(event: KeyboardEvent): void;
|
|
1033
|
+
protected backdropClose(): void;
|
|
1034
|
+
protected requestClose(): void;
|
|
1035
|
+
private focusInitialElement;
|
|
1036
|
+
private trapFocus;
|
|
1037
|
+
private getFocusableElements;
|
|
1038
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvWindowModalComponent, never>;
|
|
1039
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvWindowModalComponent, "jv-window-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "closeLabel": { "alias": "closeLabel"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "close": "close"; }, never, ["[window-modal-header-actions]", "*", "[window-modal-footer]"], true, never>;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
835
1042
|
interface JvBreadcrumbItem {
|
|
836
1043
|
label: string;
|
|
837
1044
|
href?: string;
|
|
@@ -996,6 +1203,7 @@ declare class JvFormatService {
|
|
|
996
1203
|
}
|
|
997
1204
|
|
|
998
1205
|
declare class JvListComponent {
|
|
1206
|
+
readonly listId: _angular_core.InputSignal<string>;
|
|
999
1207
|
readonly role: _angular_core.InputSignal<"list" | "navigation">;
|
|
1000
1208
|
readonly ariaRole: _angular_core.InputSignal<string | null>;
|
|
1001
1209
|
readonly variant: _angular_core.InputSignal<"bordered" | null>;
|
|
@@ -1003,7 +1211,7 @@ declare class JvListComponent {
|
|
|
1003
1211
|
protected readonly variantClass: _angular_core.Signal<string>;
|
|
1004
1212
|
protected readonly resolvedRole: _angular_core.Signal<string | null>;
|
|
1005
1213
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<JvListComponent, never>;
|
|
1006
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvListComponent, "jv-list", never, { "role": { "alias": "role"; "required": false; "isSignal": true; }; "ariaRole": { "alias": "ariaRole"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1214
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvListComponent, "jv-list", never, { "listId": { "alias": "listId"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "ariaRole": { "alias": "ariaRole"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1007
1215
|
}
|
|
1008
1216
|
|
|
1009
1217
|
declare class JvListItemComponent {
|
|
@@ -1088,6 +1296,7 @@ declare class JvTooltipDirective implements OnDestroy {
|
|
|
1088
1296
|
private showTimeout;
|
|
1089
1297
|
private hideTimeout;
|
|
1090
1298
|
private readonly tooltipId;
|
|
1299
|
+
private originalDescribedBy;
|
|
1091
1300
|
readonly text: _angular_core.InputSignal<string>;
|
|
1092
1301
|
readonly position: _angular_core.InputSignal<JvTooltipPosition>;
|
|
1093
1302
|
protected show(): void;
|
|
@@ -1098,6 +1307,8 @@ declare class JvTooltipDirective implements OnDestroy {
|
|
|
1098
1307
|
private renderTooltip;
|
|
1099
1308
|
private positionTooltip;
|
|
1100
1309
|
private destroyTooltip;
|
|
1310
|
+
private attachTooltipDescription;
|
|
1311
|
+
private restoreTooltipDescription;
|
|
1101
1312
|
private anchorElement;
|
|
1102
1313
|
private clearShowTimeout;
|
|
1103
1314
|
private clearHideTimeout;
|
|
@@ -1206,6 +1417,7 @@ declare const JV_GRID_DEFAULT_OPTIONS: JvGridOptions;
|
|
|
1206
1417
|
|
|
1207
1418
|
declare class JvGridComponent<T = any> {
|
|
1208
1419
|
private readonly gridId;
|
|
1420
|
+
protected readonly gridSearchInputId: string;
|
|
1209
1421
|
private readonly formatService;
|
|
1210
1422
|
private readonly translationService;
|
|
1211
1423
|
readonly data: _angular_core.InputSignal<T[]>;
|
|
@@ -1379,5 +1591,5 @@ declare class JvPaginationComponent {
|
|
|
1379
1591
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<JvPaginationComponent, "jv-pagination", never, { "totalItems": { "alias": "totalItems"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "pageIndex": { "alias": "pageIndex"; "required": false; "isSignal": true; }; "maxVisiblePages": { "alias": "maxVisiblePages"; "required": false; "isSignal": true; }; }, { "pageChange": "pageChange"; }, never, never, true, never>;
|
|
1380
1592
|
}
|
|
1381
1593
|
|
|
1382
|
-
export { EN, ES, JV_DEFAULT_LOCALE, JV_FALLBACK_ICON_NAME, JV_GRID_DEFAULT_OPTIONS, JV_LOCALE_DICTIONARIES, JV_LUCIDE_ICON_REGISTRY, JV_UI_CONFIG, JV_UI_CONFIG_DEFAULTS, JV_UI_DEFAULT_CONFIG, JvAccordionComponent, JvAccordionPanelDirective, JvAlertComponent, JvAnnouncementService, JvBadgeComponent, JvBreadcrumbComponent, JvButtonComponent, JvButtonGroupComponent, JvCardComponent, JvChangePasswordPageComponent, JvCheckboxComponent, JvCodeComponent, JvCollapsiblePanelComponent, JvConfirmDialogComponent, JvDashboardShellComponent, JvDatePickerComponent, JvDialogComponent, JvDialogService, JvDividerComponent, JvFileInputComponent, JvForgotPasswordPageComponent, JvFormContainerComponent, JvFormatService, JvGridComponent, JvIconButtonComponent, JvIconComponent, JvImageGalleryComponent, JvImageSliderComponent, JvInputComponent, JvListComponent, JvListItemComponent, JvLoaderComponent, JvLoaderService, JvLoginPageComponent, JvModalSelectorComponent, JvPageComponent, JvPaginationComponent, JvRadioComponent, JvSectionComponent, JvSelectComponent, JvSidebarComponent, JvSwitchComponent, JvTabPanelDirective, JvTabsComponent, JvTextareaComponent, JvThemeService, JvToastComponent, JvToastService, JvTooltipDirective, JvTopbarComponent, JvTranslationService, provideJvUi };
|
|
1383
|
-
export type { JvAccordionItem, JvActiveConfirmDialog, JvBreadcrumbItem, JvChangePasswordSubmitEvent, JvCodeFont, JvCollapsiblePanelVariant, JvConfirmOptions, JvDensity, JvFileInputRejection, JvForgotPasswordSubmitEvent, JvFormatKind, JvFormatOverrides, JvGalleryAction, JvGalleryImage, JvGridAction, JvGridColumn, JvGridColumnFilter, JvGridColumnFormatOptions, JvGridColumnReorderEvent, JvGridColumnResizeEvent, JvGridColumnType, JvGridColumnWidth, JvGridFilterOperator, JvGridOptions, JvGridPageEvent, JvGridRowEditEvent, JvGridRowId, JvGridSortDirection, JvGridSortState, JvGridTrackBy, JvIconDefinition, JvIconElement, JvIntent, JvListItemModel, JvLoaderState, JvLocale, JvLoginSubmitEvent, JvMessagesLocale, JvModalSelectorOption, JvNavItem, JvPaginationEvent, JvSelectOption, JvSliderImage, JvTabItem, JvTabTransition, JvTheme, JvThemeOption, JvToastItem, JvToastPosition, JvToastViewport, JvTone, JvTooltipPosition, JvTopbarAction, JvUiConfig, JvUiConfigInput, JvUiFormats };
|
|
1594
|
+
export { EN, ES, JV_DEFAULT_LOCALE, JV_FALLBACK_ICON_NAME, JV_GRID_DEFAULT_OPTIONS, JV_LOCALE_DICTIONARIES, JV_LUCIDE_ICON_REGISTRY, JV_UI_CONFIG, JV_UI_CONFIG_DEFAULTS, JV_UI_DEFAULT_CONFIG, JvAccordionComponent, JvAccordionPanelDirective, JvAlertComponent, JvAnnouncementService, JvBadgeComponent, JvBreadcrumbComponent, JvButtonComponent, JvButtonGroupComponent, JvCardComponent, JvChangePasswordPageComponent, JvCheckboxComponent, JvCodeComponent, JvCollapsiblePanelComponent, JvConfirmDialogComponent, JvDashboardShellComponent, JvDatePickerComponent, JvDayPlannerComponent, JvDayPlannerDetailDirective, JvDayPlannerItemDirective, JvDialogComponent, JvDialogService, JvDividerComponent, JvFileInputComponent, JvForgotPasswordPageComponent, JvFormContainerComponent, JvFormatService, JvGridComponent, JvIconButtonComponent, JvIconComponent, JvImageGalleryComponent, JvImageSliderComponent, JvInputComponent, JvListComponent, JvListItemComponent, JvLoaderComponent, JvLoaderService, JvLoginPageComponent, JvModalSelectorComponent, JvMonthCalendarComponent, JvMonthCalendarDayDirective, JvPageComponent, JvPaginationComponent, JvRadioComponent, JvSectionComponent, JvSelectComponent, JvSidebarComponent, JvSwitchComponent, JvTabPanelDirective, JvTabsComponent, JvTextareaComponent, JvThemeService, JvToastComponent, JvToastService, JvTooltipDirective, JvTopbarComponent, JvTranslationService, JvWindowModalComponent, provideJvUi };
|
|
1595
|
+
export type { JvAccordionItem, JvActiveConfirmDialog, JvBreadcrumbItem, JvChangePasswordSubmitEvent, JvCodeFont, JvCollapsiblePanelVariant, JvConfirmOptions, JvDayPlannerDetailContext, JvDayPlannerItem, JvDayPlannerItemContext, JvDensity, JvFileInputRejection, JvForgotPasswordSubmitEvent, JvFormatKind, JvFormatOverrides, JvGalleryAction, JvGalleryImage, JvGridAction, JvGridColumn, JvGridColumnFilter, JvGridColumnFormatOptions, JvGridColumnReorderEvent, JvGridColumnResizeEvent, JvGridColumnType, JvGridColumnWidth, JvGridFilterOperator, JvGridOptions, JvGridPageEvent, JvGridRowEditEvent, JvGridRowId, JvGridSortDirection, JvGridSortState, JvGridTrackBy, JvIconDefinition, JvIconElement, JvIntent, JvListItemModel, JvLoaderState, JvLocale, JvLoginSubmitEvent, JvMessagesLocale, JvModalSelectorOption, JvMonthCalendarCell, JvMonthCalendarDayContext, JvMonthCalendarDayMeta, JvMonthCalendarNavigation, JvMonthCalendarResolvedMeta, JvNavItem, JvPaginationEvent, JvSelectOption, JvSliderImage, JvTabItem, JvTabTransition, JvTheme, JvThemeOption, JvToastItem, JvToastPosition, JvToastViewport, JvTone, JvTooltipPosition, JvTopbarAction, JvUiConfig, JvUiConfigInput, JvUiFormats };
|