@acontplus/ng-components 4.0.0 → 5.0.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 +22 -1
- package/fesm2022/acontplus-ng-components.mjs +480 -299
- package/fesm2022/acontplus-ng-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/components/alert/_m3-alert.scss +57 -54
- package/src/lib/components/alert/alert.scss +87 -36
- package/src/lib/components/badge/_m3-badge.scss +6 -1
- package/src/lib/components/badge/badge.scss +18 -6
- package/src/lib/components/grid/grid.scss +61 -0
- package/types/acontplus-ng-components.d.ts +141 -115
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TemplateRef, InjectionToken, OnDestroy, EventEmitter, OnInit, ElementRef, Signal, ViewContainerRef, Injector, Binding, Type, ComponentRef, AfterViewInit, EnvironmentProviders, DoCheck, OnChanges, SimpleChanges, NgZone, QueryList, TrackByFunction, KeyValueChangeRecord, OutputEmitterRef, WritableSignal, AfterContentInit, PipeTransform } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Observable, Subject } from 'rxjs';
|
|
5
5
|
import { DialogPosition, MatDialogRef, MatDialogState } from '@angular/material/dialog';
|
|
@@ -34,21 +34,44 @@ import { MatSidenav, MatSidenavContent } from '@angular/material/sidenav';
|
|
|
34
34
|
import { RouterLinkActive } from '@angular/router';
|
|
35
35
|
|
|
36
36
|
type AcpAlertType = 'default' | 'info' | 'success' | 'warning' | 'danger';
|
|
37
|
+
/**
|
|
38
|
+
* - `soft`: tinted container (default).
|
|
39
|
+
* - `outlined`: neutral container with a colored border and icon.
|
|
40
|
+
* - `filled`: solid colored container, for high-emphasis messages.
|
|
41
|
+
*/
|
|
42
|
+
type AcpAlertVariant = 'soft' | 'outlined' | 'filled';
|
|
37
43
|
declare class AcpAlert {
|
|
38
|
-
private _changeDetectorRef;
|
|
39
|
-
get hostClassList(): string;
|
|
40
44
|
/** The alert's type. Can be `default`, `info`, `success`, `warning` or `danger`. */
|
|
41
|
-
type: AcpAlertType
|
|
45
|
+
readonly type: _angular_core.InputSignal<AcpAlertType>;
|
|
46
|
+
/** Visual style: `soft` (default), `outlined` or `filled`. */
|
|
47
|
+
readonly variant: _angular_core.InputSignal<AcpAlertVariant>;
|
|
48
|
+
/** Optional bold heading shown above the content. */
|
|
49
|
+
readonly heading: _angular_core.InputSignal<string | undefined>;
|
|
50
|
+
/** Material icon name. Defaults to an icon per type (none for `default`). */
|
|
51
|
+
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
52
|
+
/** Whether to show the icon. */
|
|
53
|
+
readonly showIcon: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
42
54
|
/** Whether to display an inline close button. */
|
|
43
|
-
dismissible: boolean
|
|
55
|
+
readonly dismissible: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
56
|
+
/** Accessible label of the close button. */
|
|
57
|
+
readonly closeLabel: _angular_core.InputSignal<string>;
|
|
44
58
|
/** The alert's elevation (0~24). */
|
|
45
|
-
elevation: number
|
|
46
|
-
/** Event emitted when the alert closed. */
|
|
47
|
-
closed:
|
|
48
|
-
|
|
59
|
+
readonly elevation: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
60
|
+
/** Event emitted when the alert is closed. */
|
|
61
|
+
readonly closed: _angular_core.OutputEmitterRef<AcpAlert>;
|
|
62
|
+
private readonly _open;
|
|
63
|
+
/** Whether the alert is visible. */
|
|
64
|
+
readonly isOpen: _angular_core.Signal<boolean>;
|
|
65
|
+
protected readonly resolvedIcon: _angular_core.Signal<string | null>;
|
|
66
|
+
/** Errors and warnings interrupt screen readers; the rest are announced politely. */
|
|
67
|
+
protected readonly role: _angular_core.Signal<"alert" | "status">;
|
|
68
|
+
protected readonly hostClassList: _angular_core.Signal<string>;
|
|
69
|
+
/** Hides the alert and emits `closed`. */
|
|
70
|
+
close(): void;
|
|
71
|
+
/** Shows the alert again after it was closed. */
|
|
72
|
+
open(): void;
|
|
49
73
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AcpAlert, never>;
|
|
50
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AcpAlert, "acp-alert", ["acpAlert"], { "type": { "alias": "type"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "elevation": { "alias": "elevation"; "required": false; }; }, { "closed": "closed"; }, never, ["*"], true, never>;
|
|
51
|
-
static ngAcceptInputType_dismissible: unknown;
|
|
74
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AcpAlert, "acp-alert", ["acpAlert"], { "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "closeLabel": { "alias": "closeLabel"; "required": false; "isSignal": true; }; "elevation": { "alias": "elevation"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["*", "[acpAlertActions]"], true, never>;
|
|
52
75
|
}
|
|
53
76
|
|
|
54
77
|
type AcpBadgeColor = 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral' | 'custom';
|
|
@@ -259,16 +282,27 @@ declare class AcpContextMenuService {
|
|
|
259
282
|
private readonly openMenuRef;
|
|
260
283
|
private readonly menuItems;
|
|
261
284
|
private readonly contextData;
|
|
285
|
+
private readonly escapeCloses;
|
|
286
|
+
private outsideClickCloses;
|
|
287
|
+
private openOwner;
|
|
288
|
+
/** @internal Items rendered by the open panel. */
|
|
289
|
+
readonly activeItems: _angular_core.Signal<AcpContextMenuItem[]>;
|
|
290
|
+
/** @internal Data passed to the open panel. */
|
|
291
|
+
readonly activeData: _angular_core.Signal<unknown>;
|
|
292
|
+
/** @internal Whether Escape closes the open panel. */
|
|
293
|
+
readonly closeOnEscape: _angular_core.Signal<boolean>;
|
|
262
294
|
private readonly itemSelected$;
|
|
295
|
+
private readonly closed$;
|
|
263
296
|
constructor();
|
|
264
297
|
/**
|
|
265
298
|
* Open a context menu at the specified position
|
|
266
299
|
*/
|
|
267
|
-
open(items: AcpContextMenuItem[], config: AcpContextMenuOpenConfig): Promise<AcpContextMenuRef>;
|
|
300
|
+
open(items: AcpContextMenuItem[], config: AcpContextMenuOpenConfig, owner?: unknown): Promise<AcpContextMenuRef>;
|
|
268
301
|
/**
|
|
269
302
|
* Close all open context menus
|
|
270
303
|
*/
|
|
271
304
|
closeAll(): void;
|
|
305
|
+
private closeOverlay;
|
|
272
306
|
/**
|
|
273
307
|
* Check if any menu is open
|
|
274
308
|
*/
|
|
@@ -276,7 +310,15 @@ declare class AcpContextMenuService {
|
|
|
276
310
|
/**
|
|
277
311
|
* Get the item selection subject
|
|
278
312
|
*/
|
|
279
|
-
getItemSelected$():
|
|
313
|
+
getItemSelected$(): Observable<AcpContextMenuItemContext>;
|
|
314
|
+
/**
|
|
315
|
+
* Item selections of menus opened by the given owner
|
|
316
|
+
*/
|
|
317
|
+
itemSelectedFor$(owner: unknown): Observable<AcpContextMenuItemContext>;
|
|
318
|
+
/**
|
|
319
|
+
* Emits when a menu opened by the given owner closes, for any reason
|
|
320
|
+
*/
|
|
321
|
+
closedFor$(owner: unknown): Observable<void>;
|
|
280
322
|
/**
|
|
281
323
|
* Emit item selection
|
|
282
324
|
*/
|
|
@@ -298,13 +340,11 @@ declare class AcpContextMenuService {
|
|
|
298
340
|
*/
|
|
299
341
|
private createMenuRef;
|
|
300
342
|
/**
|
|
301
|
-
*
|
|
343
|
+
* Single outside-click mechanism. A backdrop is not used: CDK renders overlays as popovers, so
|
|
344
|
+
* the backdrop does not cover the page, and without it a right-click on another element reaches
|
|
345
|
+
* that element directly (opening its own menu).
|
|
302
346
|
*/
|
|
303
|
-
private
|
|
304
|
-
/**
|
|
305
|
-
* Check if click is inside the menu
|
|
306
|
-
*/
|
|
307
|
-
private isClickInsideMenu;
|
|
347
|
+
private listenForOutsideClicks;
|
|
308
348
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AcpContextMenuService, never>;
|
|
309
349
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AcpContextMenuService>;
|
|
310
350
|
}
|
|
@@ -398,8 +438,10 @@ declare class AcpContextMenuPanel implements OnInit, OnDestroy {
|
|
|
398
438
|
private readonly ngZone;
|
|
399
439
|
private readonly elementRef;
|
|
400
440
|
menuContainer?: ElementRef;
|
|
401
|
-
|
|
402
|
-
|
|
441
|
+
private readonly initialItems;
|
|
442
|
+
private readonly initialData;
|
|
443
|
+
items: _angular_core.Signal<AcpContextMenuItem[]>;
|
|
444
|
+
contextData: _angular_core.Signal<unknown>;
|
|
403
445
|
selectedIndex: _angular_core.WritableSignal<number>;
|
|
404
446
|
expandedIndex: _angular_core.WritableSignal<number>;
|
|
405
447
|
private destroy$;
|
|
@@ -426,21 +468,14 @@ declare class AcpContextMenuPanel implements OnInit, OnDestroy {
|
|
|
426
468
|
* Get item classes
|
|
427
469
|
*/
|
|
428
470
|
getItemClasses(item: AcpContextMenuItem, index: number): Record<string, boolean>;
|
|
471
|
+
private isSelectable;
|
|
429
472
|
/**
|
|
430
|
-
*
|
|
473
|
+
* Move the selection to the next selectable item in the given direction, wrapping around
|
|
431
474
|
*/
|
|
475
|
+
private moveSelection;
|
|
432
476
|
private selectNext;
|
|
433
|
-
/**
|
|
434
|
-
* Select previous item
|
|
435
|
-
*/
|
|
436
477
|
private selectPrevious;
|
|
437
|
-
/**
|
|
438
|
-
* Select first item
|
|
439
|
-
*/
|
|
440
478
|
private selectFirst;
|
|
441
|
-
/**
|
|
442
|
-
* Select last item
|
|
443
|
-
*/
|
|
444
479
|
private selectLast;
|
|
445
480
|
/**
|
|
446
481
|
* Expand selected item
|
|
@@ -1990,6 +2025,7 @@ interface DataGridRowSelectionFormatter<T = any> {
|
|
|
1990
2025
|
}
|
|
1991
2026
|
type DataGridRowClassFormatter<T = any> = Record<string, (rowData: T, index: number) => boolean>;
|
|
1992
2027
|
type DataGridButtonType = MatButtonAppearance | 'icon';
|
|
2028
|
+
type DataGridSize = 'small' | 'medium' | 'large';
|
|
1993
2029
|
/**
|
|
1994
2030
|
* Represents the default options for the grid that can be configured
|
|
1995
2031
|
* using the `DATA_GRID_DEFAULT_OPTIONS` injection token.
|
|
@@ -2019,6 +2055,7 @@ interface DataGridDefaultOptions {
|
|
|
2019
2055
|
hideRowSelectionCheckbox?: boolean;
|
|
2020
2056
|
disableRowClickSelection?: boolean;
|
|
2021
2057
|
cellSelectable?: boolean;
|
|
2058
|
+
keyboardNavigation?: boolean;
|
|
2022
2059
|
showToolbar?: boolean;
|
|
2023
2060
|
toolbarTitle?: string;
|
|
2024
2061
|
columnHideable?: boolean;
|
|
@@ -2283,10 +2320,21 @@ declare class AcpGridExpansionToggle {
|
|
|
2283
2320
|
|
|
2284
2321
|
declare const DATA_GRID_DEFAULT_OPTIONS: InjectionToken<DataGridDefaultOptions>;
|
|
2285
2322
|
declare class DataGrid implements AfterViewInit, OnChanges {
|
|
2286
|
-
|
|
2323
|
+
/** Densidad de la tabla. `'normal'` está obsoleto y equivale a `'medium'`. */
|
|
2324
|
+
size: _angular_core.InputSignal<"normal" | DataGridSize>;
|
|
2325
|
+
protected readonly _size: _angular_core.Signal<DataGridSize>;
|
|
2287
2326
|
protected _animationsDisabled: boolean;
|
|
2288
2327
|
private readonly _utils;
|
|
2289
2328
|
private readonly _changeDetectorRef;
|
|
2329
|
+
private readonly _elementRef;
|
|
2330
|
+
private readonly _injector;
|
|
2331
|
+
private static _nextId;
|
|
2332
|
+
/** Unique id of the grid, used for row ids and `aria-controls`. */
|
|
2333
|
+
readonly gridId: string;
|
|
2334
|
+
private readonly _activeRow;
|
|
2335
|
+
private _focusFirstRowOnRender;
|
|
2336
|
+
/** @internal Set by `acpGridNavigationFor` to activate the first row when data changes. */
|
|
2337
|
+
_activateFirstRowOnDataChange: boolean;
|
|
2290
2338
|
private readonly _defaultOptions;
|
|
2291
2339
|
table: MatTable<any>;
|
|
2292
2340
|
paginator: MatPaginator;
|
|
@@ -2463,8 +2511,15 @@ declare class DataGrid implements AfterViewInit, OnChanges {
|
|
|
2463
2511
|
noResultText: string;
|
|
2464
2512
|
/** The template for the empty data. */
|
|
2465
2513
|
noResultTemplate: TemplateRef<any>;
|
|
2466
|
-
|
|
2514
|
+
/**
|
|
2515
|
+
* Whether rows can be navigated with the keyboard: arrows, Home/End, PageUp/PageDown,
|
|
2516
|
+
* Enter (same as a click), Space (toggle selection) and Ctrl+A (select all).
|
|
2517
|
+
*/
|
|
2518
|
+
keyboardNavigation: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2519
|
+
/** Index (within the rendered page) of the row to mark as active. */
|
|
2467
2520
|
highlightedRowIndex: _angular_core.InputSignal<number>;
|
|
2521
|
+
private readonly _highlightedRowEffect;
|
|
2522
|
+
/** Event emitted when the active row changes. */
|
|
2468
2523
|
focusedRowChange: _angular_core.OutputEmitterRef<{
|
|
2469
2524
|
row: any;
|
|
2470
2525
|
index: number;
|
|
@@ -2501,6 +2556,37 @@ declare class DataGrid implements AfterViewInit, OnChanges {
|
|
|
2501
2556
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2502
2557
|
ngAfterViewInit(): void;
|
|
2503
2558
|
_countPinnedPosition(): void;
|
|
2559
|
+
/** Rows currently rendered (after sorting and front-end paging). */
|
|
2560
|
+
get renderedRows(): any[];
|
|
2561
|
+
/** Index of the active row within the rendered rows, or -1. */
|
|
2562
|
+
get activeRowIndex(): number;
|
|
2563
|
+
/** The active row, or `null`. */
|
|
2564
|
+
get activeRow(): any;
|
|
2565
|
+
/**
|
|
2566
|
+
* Marks a rendered row as active.
|
|
2567
|
+
* @param focus Whether to move the browser focus to the row.
|
|
2568
|
+
*/
|
|
2569
|
+
setActiveRow(index: number, focus?: boolean): void;
|
|
2570
|
+
/** Moves the active row by `delta` rows; starts at the first row when none is active. */
|
|
2571
|
+
moveActiveRow(delta: number, focus?: boolean): void;
|
|
2572
|
+
/** Runs the click behavior (selection and `rowClick`) on the active row. */
|
|
2573
|
+
activateActiveRow(event: MouseEvent | KeyboardEvent): boolean;
|
|
2574
|
+
/** Goes to the next page, if there is one, and activates its first row. */
|
|
2575
|
+
nextPage(focus?: boolean): void;
|
|
2576
|
+
/** Goes to the previous page, if there is one, and activates its first row. */
|
|
2577
|
+
previousPage(focus?: boolean): void;
|
|
2578
|
+
_rowId(index: number): string;
|
|
2579
|
+
_activeRowId(): string | null;
|
|
2580
|
+
_isActiveRow(row: unknown): boolean;
|
|
2581
|
+
_rowTabIndex(row: unknown, index: number): number | null;
|
|
2582
|
+
_onRowFocus(row: unknown): void;
|
|
2583
|
+
private _setActiveRow;
|
|
2584
|
+
private _rowElement;
|
|
2585
|
+
private _changePage;
|
|
2586
|
+
private _syncActiveRowWithData;
|
|
2587
|
+
private _activateFirstRowAfterRender;
|
|
2588
|
+
private _isEditableTarget;
|
|
2589
|
+
private _handleRowKeyDown;
|
|
2504
2590
|
_getIndex(index: number | undefined, dataIndex: number): number;
|
|
2505
2591
|
_onSortChange(sort: Sort): void;
|
|
2506
2592
|
_onRowDataChange(record: KeyValueChangeRecord<string, any>): void;
|
|
@@ -2509,7 +2595,7 @@ declare class DataGrid implements AfterViewInit, OnChanges {
|
|
|
2509
2595
|
/** Cell select event */
|
|
2510
2596
|
_selectCell(cellRef: AcpGridSelectableCell, rowData: Record<string, any>, colDef: DataGridColumn): void;
|
|
2511
2597
|
/** Row select event */
|
|
2512
|
-
_selectRow(event: MouseEvent, rowData: Record<string, any>, index: number): void;
|
|
2598
|
+
_selectRow(event: MouseEvent | KeyboardEvent, rowData: Record<string, any>, index: number): void;
|
|
2513
2599
|
/** Whether the number of selected elements matches the total number of rows. */
|
|
2514
2600
|
_isAllSelected(): boolean;
|
|
2515
2601
|
/** Select all rows if they are not all selected; otherwise clear selection. */
|
|
@@ -2569,85 +2655,25 @@ declare class DataGrid implements AfterViewInit, OnChanges {
|
|
|
2569
2655
|
}
|
|
2570
2656
|
|
|
2571
2657
|
/**
|
|
2572
|
-
*
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
/** Callback opcional que se ejecuta cuando se presiona la flecha abajo y no hay más elementos abajo */
|
|
2582
|
-
onArrowDown?: () => void;
|
|
2583
|
-
/** Callback opcional que se ejecuta cuando se presiona la flecha izquierda */
|
|
2584
|
-
onArrowLeft?: () => void;
|
|
2585
|
-
/** Callback opcional que se ejecuta cuando se presiona la flecha derecha */
|
|
2586
|
-
onArrowRight?: () => void;
|
|
2587
|
-
/** Callback opcional que se ejecuta cuando el elemento recibe el foco */
|
|
2588
|
-
onFocus?: (index?: number) => void;
|
|
2589
|
-
/** Callback opcional que se ejecuta cuando el índice enfocado dentro del elemento cambia (ej: una fila en una tabla) */
|
|
2590
|
-
onFocusedChange?: (index: number) => void;
|
|
2591
|
-
}
|
|
2592
|
-
/**
|
|
2593
|
-
* Servicio que gestiona la navegación por teclado entre componentes registrados.
|
|
2594
|
-
* Permite mover el foco entre elementos usando las teclas de flecha y centraliza el estado del foco.
|
|
2658
|
+
* Lets a text input drive the rows of an `acp-data-grid` while keeping the focus in the input,
|
|
2659
|
+
* like an autocomplete: ArrowDown/ArrowUp move the active row, PageDown/PageUp change page and
|
|
2660
|
+
* Enter runs the row click (selection and `rowClick`) on the active row.
|
|
2661
|
+
*
|
|
2662
|
+
* @example
|
|
2663
|
+
* ```html
|
|
2664
|
+
* <input matInput [acpGridNavigationFor]="grid" />
|
|
2665
|
+
* <acp-data-grid #grid [data]="results" [columns]="columns" (rowClick)="pick($event.rowData)" />
|
|
2666
|
+
* ```
|
|
2595
2667
|
*/
|
|
2596
|
-
declare class
|
|
2597
|
-
/**
|
|
2598
|
-
|
|
2599
|
-
/**
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
* Es un signal escribible porque el componente hijo (DataGrid) es quien actualiza su valor.
|
|
2606
|
-
*/
|
|
2607
|
-
focusedRowIndex: _angular_core.WritableSignal<number>;
|
|
2608
|
-
/**
|
|
2609
|
-
* Signal público que expone el nombre del elemento actualmente enfocado.
|
|
2610
|
-
* Es un signal `computed` que se deriva automáticamente del `currentFocusIndex` privado.
|
|
2611
|
-
*/
|
|
2612
|
-
focusedElementName: _angular_core.Signal<string>;
|
|
2613
|
-
/**
|
|
2614
|
-
* Registra un nuevo elemento en el sistema de navegación por teclado.
|
|
2615
|
-
* @param element El objeto FocusableElement a registrar.
|
|
2616
|
-
*/
|
|
2617
|
-
registerElement(element: FocusableElement): void;
|
|
2618
|
-
/**
|
|
2619
|
-
* Elimina un elemento del sistema de navegación por teclado.
|
|
2620
|
-
* @param element El ElementRef del elemento a desregistrar.
|
|
2621
|
-
*/
|
|
2622
|
-
unregisterElement(element: ElementRef): void;
|
|
2623
|
-
/**
|
|
2624
|
-
* Mueve el foco a un elemento específico por su nombre.
|
|
2625
|
-
* @param name El nombre único del elemento al que se quiere mover el foco.
|
|
2626
|
-
* @param index Opcional: el índice interno a enfocar (ej: el índice de una fila en una tabla).
|
|
2627
|
-
*/
|
|
2628
|
-
focusElement(name: string, index?: number): void;
|
|
2629
|
-
/**
|
|
2630
|
-
* Actualiza el índice enfocado (usado por componentes internos como una tabla).
|
|
2631
|
-
* @param index El nuevo índice enfocado.
|
|
2632
|
-
*/
|
|
2633
|
-
updateFocusedIndex(index: number): void;
|
|
2634
|
-
/**
|
|
2635
|
-
* Maneja la lógica de navegación basada en la tecla presionada.
|
|
2636
|
-
* @param key La tecla presionada ('ArrowUp', 'ArrowDown', etc.).
|
|
2637
|
-
*/
|
|
2638
|
-
private handleKeyNavigation;
|
|
2639
|
-
/**
|
|
2640
|
-
* Resetea el índice de la fila enfocada a -1.
|
|
2641
|
-
* Útil cuando los datos de un componente cambian y el foco anterior ya no es válido.
|
|
2642
|
-
*/
|
|
2643
|
-
resetFocusedRowIndex(): void;
|
|
2644
|
-
/**
|
|
2645
|
-
* Método de limpieza para ser llamado cuando el servicio se destruye.
|
|
2646
|
-
* Cierra el Subject `destroy$` para completar todas las suscripciones activas.
|
|
2647
|
-
*/
|
|
2648
|
-
onDestroy(): void;
|
|
2649
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KeyboardNavigationService, never>;
|
|
2650
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<KeyboardNavigationService>;
|
|
2668
|
+
declare class AcpGridNavigationFor {
|
|
2669
|
+
/** The grid controlled by this input. */
|
|
2670
|
+
readonly grid: _angular_core.InputSignal<DataGrid>;
|
|
2671
|
+
/** Whether the first row becomes active each time the grid data changes. */
|
|
2672
|
+
readonly acpGridNavigationActivateFirstRow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2673
|
+
constructor();
|
|
2674
|
+
_onKeydown(event: KeyboardEvent): void;
|
|
2675
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AcpGridNavigationFor, never>;
|
|
2676
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AcpGridNavigationFor, "[acpGridNavigationFor]", ["acpGridNavigationFor"], { "grid": { "alias": "acpGridNavigationFor"; "required": true; "isSignal": true; }; "acpGridNavigationActivateFirstRow": { "alias": "acpGridNavigationActivateFirstRow"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2651
2677
|
}
|
|
2652
2678
|
|
|
2653
2679
|
interface DateRangePickerOptions {
|
|
@@ -4196,7 +4222,7 @@ declare class AcpCard {
|
|
|
4196
4222
|
readonly footerTpl: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
4197
4223
|
readonly hasTitleGroup: _angular_core.Signal<boolean>;
|
|
4198
4224
|
readonly resolvedAppearance: _angular_core.Signal<AcpCardAppearance>;
|
|
4199
|
-
readonly matAppearance: _angular_core.Signal<"
|
|
4225
|
+
readonly matAppearance: _angular_core.Signal<"outlined" | "filled" | "raised">;
|
|
4200
4226
|
readonly resolvedPadding: _angular_core.Signal<AcpCardPadding>;
|
|
4201
4227
|
readonly resolvedColor: _angular_core.Signal<AcpCardColor | undefined>;
|
|
4202
4228
|
readonly resolvedHoverable: _angular_core.Signal<boolean>;
|
|
@@ -5441,5 +5467,5 @@ declare class StatusDisplayPipe implements PipeTransform {
|
|
|
5441
5467
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<StatusDisplayPipe, "statusDisplay", true>;
|
|
5442
5468
|
}
|
|
5443
5469
|
|
|
5444
|
-
export { ACP_ACTIVE_DATE_DEBOUNCE, ACP_BADGE_COLORS, ACP_BADGE_SHAPES, ACP_BADGE_SIZES, ACP_BADGE_VARIANTS, ACP_CARD_DEFAULT_OPTIONS, ACP_CARD_SLOTS, ACP_DATE_OPTION_TYPE, ACP_DEFAULT_DATE_OPTIONS, ACP_DIALOG_ACTIONS, ACP_DIALOG_DATA, ACP_DIALOG_DEFAULT_OPTIONS, ACP_DIALOG_TITLEBAR, ACP_DRAWER_DATA, ACP_DRAWER_DEFAULT_OPTIONS, ACP_POPOVER_CONTENT, ACP_POPOVER_DEFAULT_OPTIONS, ACP_POPOVER_SCROLL_STRATEGY, AcpAlert, AcpBadge, AcpButton, AcpCard, AcpCardActions, AcpCardAvatar, AcpCardFooter, AcpCardHeader, AcpCardMedia, AcpCardSubtitle, AcpCardTitle, AcpCheckboxBase, AcpCheckboxGroup, AcpContextMenu, AcpContextMenuDirective, AcpContextMenuPanel, AcpContextMenuService, AcpDateRangeInput, AcpDialog, AcpDialogActions, AcpDialogContainer, AcpDialogContent, AcpDialogRef, AcpDialogService, AcpDialogTitlebar, AcpDrawer, AcpDrawerConfig, AcpDrawerContainer, AcpDrawerRef, AcpHeader, AcpHeaderActions, AcpHeaderBranding, AcpHeaderCenter, AcpHeaderEnd, AcpHeaderLanguage, AcpHeaderNotifications, AcpHeaderStart, AcpHeaderTheme, AcpHeaderWorkspace, AcpKpiCard, AcpPopover, AcpPopoverContent, AcpPopoverTarget, AcpPopoverTrigger, AcpSearchSelect, AcpSelectDateOption, AcpShellLayout, AcpShellSlotHeader, AcpShellSlotSidebar, AcpShellSlotSidebarFooter, AcpShellSlotToolbar, AcpShellSlotTopmenu, AcpSidebar, AcpSidebarBranding, AcpSidebarContent, AcpSidebarHeader, AcpSidebarToggle, AcpSidebarUserPanel, AcpTopmenu, AcpTopmenuPanel, AdvancedDialogService, Branding, Button, CONTEXT_MENU_DATA, CONTEXT_MENU_ITEMS, DATA_GRID_DEFAULT_OPTIONS, DataGrid, DateRangePicker, DialogWrapper, DialogZIndexService, DynamicSelect, GetTotalPipe, IconRegistryService, InputChip, KPI_CARD_TREND_CONFIGS,
|
|
5445
|
-
export type { AcpAlertType, AcpBadgeColor, AcpBadgeShape, AcpBadgeSize, AcpBadgeTrend, AcpBadgeTrendConfig, AcpBadgeVariant, AcpButtonAppearance$1 as AcpButtonAppearance, AcpButtonColor$1 as AcpButtonColor, AcpButtonSize, AcpButtonType$1 as AcpButtonType, AcpButtonVariant$1 as AcpButtonVariant, AcpCardActionsAlign, AcpCardAppearance, AcpCardColor, AcpCardConfig, AcpCardElevation, AcpCardImageRatio, AcpCardPadding, AcpCardPassThroughOptions, AcpCardPassThroughSection, AcpCheckboxGroupOption, AcpContextMenuItem, AcpContextMenuItemContext, AcpContextMenuOpenConfig, AcpContextMenuPosition, AcpContextMenuRef, AcpContextMenuTriggerConfig, AcpDialogAction, AcpDialogActionClick, AcpDialogActionState, AcpDialogActionsOutlet, AcpDialogCloseConfig, AcpDialogComponentLoader, AcpDialogConfig, AcpDialogContainerData, AcpDialogContentFunction, AcpDialogContentInput, AcpDialogDirection, AcpDialogHeaderConfig, AcpDialogResolvedContent, AcpDialogRestoreFocus, AcpDialogSize, AcpDialogTitlebarOutlet, AcpDir, AcpHeaderAction, AcpHeaderActionEvent, AcpHeaderBrandingConfig, AcpHeaderConfig, AcpHeaderPos, AcpHeaderUserMenuConfig, AcpHeaderUserMenuItem, AcpHeaderUserMenuItemEvent, AcpKpiCardAlign, AcpKpiCardColor, AcpKpiCardSize, AcpKpiCardTrend, AcpKpiCardTrendConfig, AcpKpiCardTrendSentiment, AcpKpiCardVariant, AcpLanguageItem, AcpNavPos, AcpNotificationItem, AcpPopoverDefaultOptions, AcpPopoverPanel, AcpPopoverPosition, AcpPopoverPositionEnd, AcpPopoverPositionStart, AcpPopoverTriggerEvent, AcpSearchSelectAccessor, AcpSearchSelectOptionContext, AcpSearchSelectSelection, AcpSelectedDateEvent, AcpThemeVariant, AcpTopmenuChildItem, AcpTopmenuItem, AcpTopmenuPermissions, AcpTopmenuTag, AcpWorkspaceItem, AutoFocusTarget, DataGridButtonType, DataGridCellTemplate, DataGridColumn, DataGridColumnButton, DataGridColumnButtonBadge, DataGridColumnButtonPop, DataGridColumnButtonTooltip, DataGridColumnPinOption, DataGridColumnPinValue, DataGridColumnTag, DataGridColumnTagValue, DataGridColumnType, DataGridColumnTypeParameter, DataGridDefaultOptions, DataGridMenuItem, DataGridRowClassFormatter, DataGridRowSelectionFormatter, DataGridSortProp, DateRangePickerOptions, DateRangeValue, DialogSize, DialogType, DialogWrapperConfig, DrawerPosition,
|
|
5470
|
+
export { ACP_ACTIVE_DATE_DEBOUNCE, ACP_BADGE_COLORS, ACP_BADGE_SHAPES, ACP_BADGE_SIZES, ACP_BADGE_VARIANTS, ACP_CARD_DEFAULT_OPTIONS, ACP_CARD_SLOTS, ACP_DATE_OPTION_TYPE, ACP_DEFAULT_DATE_OPTIONS, ACP_DIALOG_ACTIONS, ACP_DIALOG_DATA, ACP_DIALOG_DEFAULT_OPTIONS, ACP_DIALOG_TITLEBAR, ACP_DRAWER_DATA, ACP_DRAWER_DEFAULT_OPTIONS, ACP_POPOVER_CONTENT, ACP_POPOVER_DEFAULT_OPTIONS, ACP_POPOVER_SCROLL_STRATEGY, AcpAlert, AcpBadge, AcpButton, AcpCard, AcpCardActions, AcpCardAvatar, AcpCardFooter, AcpCardHeader, AcpCardMedia, AcpCardSubtitle, AcpCardTitle, AcpCheckboxBase, AcpCheckboxGroup, AcpContextMenu, AcpContextMenuDirective, AcpContextMenuPanel, AcpContextMenuService, AcpDateRangeInput, AcpDialog, AcpDialogActions, AcpDialogContainer, AcpDialogContent, AcpDialogRef, AcpDialogService, AcpDialogTitlebar, AcpDrawer, AcpDrawerConfig, AcpDrawerContainer, AcpDrawerRef, AcpGridNavigationFor, AcpHeader, AcpHeaderActions, AcpHeaderBranding, AcpHeaderCenter, AcpHeaderEnd, AcpHeaderLanguage, AcpHeaderNotifications, AcpHeaderStart, AcpHeaderTheme, AcpHeaderWorkspace, AcpKpiCard, AcpPopover, AcpPopoverContent, AcpPopoverTarget, AcpPopoverTrigger, AcpSearchSelect, AcpSelectDateOption, AcpShellLayout, AcpShellSlotHeader, AcpShellSlotSidebar, AcpShellSlotSidebarFooter, AcpShellSlotToolbar, AcpShellSlotTopmenu, AcpSidebar, AcpSidebarBranding, AcpSidebarContent, AcpSidebarHeader, AcpSidebarToggle, AcpSidebarUserPanel, AcpTopmenu, AcpTopmenuPanel, AdvancedDialogService, Branding, Button, CONTEXT_MENU_DATA, CONTEXT_MENU_ITEMS, DATA_GRID_DEFAULT_OPTIONS, DataGrid, DateRangePicker, DialogWrapper, DialogZIndexService, DynamicSelect, GetTotalPipe, IconRegistryService, InputChip, KPI_CARD_TREND_CONFIGS, NavAccordionDirective, NavAccordionItemDirective, NavAccordionToggleDirective, OverlayService, Pagination, SidemenuComponent, Spinner, StatusDisplayPipe, SvgIcon, TREND_CONFIGS, TabulatorTable, ThemeSwitcher, ThemeToggle, ToUpperCase, UserIcon, UserMenu, UserPanel, _AcpPopoverContentBase, acpSearchSelectLooseEquals, acpSearchSelectNormalize, inferKpiTrend, provideAcpCardDefaults, provideAcpDialogDefaults };
|
|
5471
|
+
export type { AcpAlertType, AcpAlertVariant, AcpBadgeColor, AcpBadgeShape, AcpBadgeSize, AcpBadgeTrend, AcpBadgeTrendConfig, AcpBadgeVariant, AcpButtonAppearance$1 as AcpButtonAppearance, AcpButtonColor$1 as AcpButtonColor, AcpButtonSize, AcpButtonType$1 as AcpButtonType, AcpButtonVariant$1 as AcpButtonVariant, AcpCardActionsAlign, AcpCardAppearance, AcpCardColor, AcpCardConfig, AcpCardElevation, AcpCardImageRatio, AcpCardPadding, AcpCardPassThroughOptions, AcpCardPassThroughSection, AcpCheckboxGroupOption, AcpContextMenuItem, AcpContextMenuItemContext, AcpContextMenuOpenConfig, AcpContextMenuPosition, AcpContextMenuRef, AcpContextMenuTriggerConfig, AcpDialogAction, AcpDialogActionClick, AcpDialogActionState, AcpDialogActionsOutlet, AcpDialogCloseConfig, AcpDialogComponentLoader, AcpDialogConfig, AcpDialogContainerData, AcpDialogContentFunction, AcpDialogContentInput, AcpDialogDirection, AcpDialogHeaderConfig, AcpDialogResolvedContent, AcpDialogRestoreFocus, AcpDialogSize, AcpDialogTitlebarOutlet, AcpDir, AcpHeaderAction, AcpHeaderActionEvent, AcpHeaderBrandingConfig, AcpHeaderConfig, AcpHeaderPos, AcpHeaderUserMenuConfig, AcpHeaderUserMenuItem, AcpHeaderUserMenuItemEvent, AcpKpiCardAlign, AcpKpiCardColor, AcpKpiCardSize, AcpKpiCardTrend, AcpKpiCardTrendConfig, AcpKpiCardTrendSentiment, AcpKpiCardVariant, AcpLanguageItem, AcpNavPos, AcpNotificationItem, AcpPopoverDefaultOptions, AcpPopoverPanel, AcpPopoverPosition, AcpPopoverPositionEnd, AcpPopoverPositionStart, AcpPopoverTriggerEvent, AcpSearchSelectAccessor, AcpSearchSelectOptionContext, AcpSearchSelectSelection, AcpSelectedDateEvent, AcpThemeVariant, AcpTopmenuChildItem, AcpTopmenuItem, AcpTopmenuPermissions, AcpTopmenuTag, AcpWorkspaceItem, AutoFocusTarget, DataGridButtonType, DataGridCellTemplate, DataGridColumn, DataGridColumnButton, DataGridColumnButtonBadge, DataGridColumnButtonPop, DataGridColumnButtonTooltip, DataGridColumnPinOption, DataGridColumnPinValue, DataGridColumnTag, DataGridColumnTagValue, DataGridColumnType, DataGridColumnTypeParameter, DataGridDefaultOptions, DataGridMenuItem, DataGridRowClassFormatter, DataGridRowSelectionFormatter, DataGridSize, DataGridSortProp, DateRangePickerOptions, DateRangeValue, DialogSize, DialogType, DialogWrapperConfig, DrawerPosition, IAcpSelectDateOption, IconRegistryConfig, MatCustomDialogConfig, MenuItem, MenuPermissions, MenuTag, PaginationOptions, PopoverCloseReason, TabulatorColumn, TabulatorConfig, TabulatorEventHandlers, TabulatorTheme, UserMenuItem, UserMenuSelectedEvent, UserProfile };
|