@acontplus/ng-components 2.3.0 → 2.4.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/fesm2022/acontplus-ng-components.mjs +717 -1196
- package/fesm2022/acontplus-ng-components.mjs.map +1 -1
- package/package.json +7 -7
- package/src/_index.scss +5 -0
- package/src/core/theming/_all-theme.scss +6 -0
- package/src/core/tokens/_system.scss +2 -6
- package/src/lib/components/badge/_badge-theme.scss +58 -0
- package/src/lib/components/badge/_m3-badge.scss +52 -0
- package/src/lib/components/badge/badge.scss +318 -0
- package/src/lib/components/kpi-card/_kpi-card-theme.scss +41 -0
- package/src/lib/components/kpi-card/_m3-kpi-card.scss +98 -0
- package/src/lib/components/kpi-card/kpi-card.scss +741 -0
- package/types/acontplus-ng-components.d.ts +223 -317
- package/src/lib/components/autocomplete-wrapper/autocomplete-wrapper.scss +0 -677
- package/src/lib/styles/_elevation.scss +0 -168
- package/src/lib/styles/_token-utils.scss +0 -115
- package/src/styles/_custom-dialog.scss +0 -37
- package/src/styles/_mixins.scss +0 -12
- package/src/styles/index.scss +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { EventEmitter, Type, AfterViewInit, OnDestroy, Signal, ViewContainerRef, ElementRef, OnInit,
|
|
2
|
+
import { EventEmitter, TemplateRef, Type, AfterViewInit, OnDestroy, Signal, ViewContainerRef, ElementRef, OnInit, OnChanges, SimpleChanges, NgZone, InjectionToken, QueryList, TrackByFunction, KeyValueChangeRecord, OutputEmitterRef, WritableSignal, ComponentRef, AfterContentInit, PipeTransform } from '@angular/core';
|
|
3
3
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
4
|
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
5
5
|
import { FormControl, ControlValueAccessor, FormGroup } from '@angular/forms';
|
|
@@ -8,16 +8,16 @@ import { SafeHtml } from '@angular/platform-browser';
|
|
|
8
8
|
import { MatChipInputEvent, MatChipEditedEvent } from '@angular/material/chips';
|
|
9
9
|
import { LiveAnnouncer, FocusOrigin } from '@angular/cdk/a11y';
|
|
10
10
|
import { Tabulator } from 'tabulator-tables';
|
|
11
|
-
import * as rxjs from 'rxjs';
|
|
12
|
-
import { Observable, Subject } from 'rxjs';
|
|
13
11
|
import { MatTable, MatRowDef, MatHeaderRowDef, MatFooterRowDef, MatTableDataSource } from '@angular/material/table';
|
|
14
|
-
import {
|
|
12
|
+
import { MatPaginator, PageEvent } from '@angular/material/paginator';
|
|
15
13
|
import { SortDirection, MatSort, Sort } from '@angular/material/sort';
|
|
16
14
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
17
15
|
import { MatBadgePosition, MatBadgeSize } from '@angular/material/badge';
|
|
18
16
|
import { MatButtonAppearance } from '@angular/material/button';
|
|
19
17
|
import { ThemePalette } from '@angular/material/core';
|
|
20
18
|
import { TooltipPosition, TooltipTouchGestures } from '@angular/material/tooltip';
|
|
19
|
+
import * as rxjs from 'rxjs';
|
|
20
|
+
import { Observable, Subject } from 'rxjs';
|
|
21
21
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
22
22
|
import { MatMenu, MatMenuTrigger } from '@angular/material/menu';
|
|
23
23
|
import { NgxDatexLocale, NgxDatexTheme, NgxDatexValue } from 'ngx-datex';
|
|
@@ -27,6 +27,7 @@ import { Direction } from '@angular/cdk/bidi';
|
|
|
27
27
|
import { DialogRole, CdkDialogContainer, DialogRef } from '@angular/cdk/dialog';
|
|
28
28
|
import { DateRange, MatCalendar } from '@angular/material/datepicker';
|
|
29
29
|
import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
|
|
30
|
+
import * as _acontplus_ng_components from '@acontplus/ng-components';
|
|
30
31
|
|
|
31
32
|
type AcpAlertType = 'default' | 'info' | 'success' | 'warning' | 'danger';
|
|
32
33
|
declare class AcpAlert {
|
|
@@ -46,6 +47,70 @@ declare class AcpAlert {
|
|
|
46
47
|
static ngAcceptInputType_dismissible: unknown;
|
|
47
48
|
}
|
|
48
49
|
|
|
50
|
+
type AcpBadgeColor = 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral' | 'custom';
|
|
51
|
+
type AcpBadgeVariant = 'filled' | 'outlined' | 'soft' | 'tonal' | 'text';
|
|
52
|
+
type AcpBadgeSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
53
|
+
type AcpBadgeShape = 'rounded' | 'pill' | 'square';
|
|
54
|
+
type AcpBadgeTrend = 'up' | 'down' | 'neutral' | 'none';
|
|
55
|
+
interface AcpBadgeTrendConfig {
|
|
56
|
+
value: string;
|
|
57
|
+
icon: string;
|
|
58
|
+
color: AcpBadgeColor;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare class AcpBadge {
|
|
62
|
+
label: _angular_core.InputSignal<string | undefined>;
|
|
63
|
+
value: _angular_core.InputSignal<string | undefined>;
|
|
64
|
+
variant: _angular_core.InputSignal<AcpBadgeVariant>;
|
|
65
|
+
color: _angular_core.InputSignal<AcpBadgeColor>;
|
|
66
|
+
size: _angular_core.InputSignal<AcpBadgeSize>;
|
|
67
|
+
shape: _angular_core.InputSignal<AcpBadgeShape>;
|
|
68
|
+
icon: _angular_core.InputSignal<string | undefined>;
|
|
69
|
+
trailingIcon: _angular_core.InputSignal<string | undefined>;
|
|
70
|
+
svgIcon: _angular_core.InputSignal<string | undefined>;
|
|
71
|
+
trailingSvgIcon: _angular_core.InputSignal<string | undefined>;
|
|
72
|
+
trend: _angular_core.InputSignal<AcpBadgeTrend>;
|
|
73
|
+
clickable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
74
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
75
|
+
loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
76
|
+
selected: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
77
|
+
highlighted: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
78
|
+
removable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
79
|
+
routerLink: _angular_core.InputSignal<string | any[] | null>;
|
|
80
|
+
href: _angular_core.InputSignal<string | null>;
|
|
81
|
+
ariaLabelOverride: _angular_core.InputSignal<string | null>;
|
|
82
|
+
clicked: _angular_core.OutputEmitterRef<void>;
|
|
83
|
+
removed: _angular_core.OutputEmitterRef<void>;
|
|
84
|
+
iconTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
85
|
+
trailingIconTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
86
|
+
private isTrending;
|
|
87
|
+
private trendConfig;
|
|
88
|
+
effectiveColor: _angular_core.Signal<AcpBadgeColor>;
|
|
89
|
+
effectiveIcon: _angular_core.Signal<string | undefined>;
|
|
90
|
+
effectiveSvgIcon: _angular_core.Signal<string | undefined>;
|
|
91
|
+
effectiveTrailingIcon: _angular_core.Signal<string | undefined>;
|
|
92
|
+
effectiveTrailingSvgIcon: _angular_core.Signal<string | undefined>;
|
|
93
|
+
effectiveValue: _angular_core.Signal<string | undefined>;
|
|
94
|
+
isLink: _angular_core.Signal<boolean>;
|
|
95
|
+
isInteractive: _angular_core.Signal<boolean>;
|
|
96
|
+
isDisabled: _angular_core.Signal<boolean>;
|
|
97
|
+
isHighlighted: _angular_core.Signal<boolean>;
|
|
98
|
+
chipClasses: _angular_core.Signal<string>;
|
|
99
|
+
hostClasses: _angular_core.Signal<string>;
|
|
100
|
+
ariaLabel: _angular_core.Signal<string | null>;
|
|
101
|
+
onChipClick(event: MouseEvent): void;
|
|
102
|
+
onRemove(_event: any): void;
|
|
103
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AcpBadge, never>;
|
|
104
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AcpBadge, "acp-badge", ["acpBadge"], { "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; "isSignal": true; }; "svgIcon": { "alias": "svgIcon"; "required": false; "isSignal": true; }; "trailingSvgIcon": { "alias": "trailingSvgIcon"; "required": false; "isSignal": true; }; "trend": { "alias": "trend"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "ariaLabelOverride": { "alias": "ariaLabelOverride"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; "removed": "removed"; }, ["iconTemplate", "trailingIconTemplate"], never, true, never>;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
declare const ACP_BADGE_COLORS: AcpBadgeColor[];
|
|
108
|
+
declare const ACP_BADGE_VARIANTS: AcpBadgeVariant[];
|
|
109
|
+
declare const ACP_BADGE_SIZES: AcpBadgeSize[];
|
|
110
|
+
declare const ACP_BADGE_SHAPES: AcpBadgeShape[];
|
|
111
|
+
|
|
112
|
+
declare const TREND_CONFIGS: Record<AcpBadgeTrend, AcpBadgeTrendConfig>;
|
|
113
|
+
|
|
49
114
|
/**
|
|
50
115
|
* A versatile card component that wraps Angular Material's mat-card with additional functionality
|
|
51
116
|
* and customization options. This component provides a consistent card layout with configurable
|
|
@@ -367,180 +432,6 @@ declare class ThemeSwitcher {
|
|
|
367
432
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ThemeSwitcher>;
|
|
368
433
|
}
|
|
369
434
|
|
|
370
|
-
interface AutocompleteWrapperItem {
|
|
371
|
-
id?: string | number;
|
|
372
|
-
name?: string;
|
|
373
|
-
value?: string;
|
|
374
|
-
description?: string;
|
|
375
|
-
[key: string]: any;
|
|
376
|
-
}
|
|
377
|
-
interface AutocompleteWrapperSearchResult {
|
|
378
|
-
items: AutocompleteWrapperItem[];
|
|
379
|
-
totalCount: number;
|
|
380
|
-
hasMore?: boolean;
|
|
381
|
-
}
|
|
382
|
-
type AutocompleteWrapperSearchFunction = (query: string, filters: AutocompleteWrapperFilters, page?: number, pageSize?: number) => Observable<AutocompleteWrapperSearchResult>;
|
|
383
|
-
interface AutocompleteWrapperConfig {
|
|
384
|
-
placeholder?: string;
|
|
385
|
-
label?: string;
|
|
386
|
-
clearInput?: boolean;
|
|
387
|
-
disabled?: boolean;
|
|
388
|
-
debounceTime?: number;
|
|
389
|
-
minSearchLength?: number;
|
|
390
|
-
maxHistoryItems?: number;
|
|
391
|
-
itemsPerPage?: number;
|
|
392
|
-
enableStockFilter?: boolean;
|
|
393
|
-
stockProperty?: string;
|
|
394
|
-
enablePagination?: boolean;
|
|
395
|
-
enableFilters?: boolean;
|
|
396
|
-
enableFooterActions?: boolean;
|
|
397
|
-
searchFields?: AutocompleteWrapperSearchField[];
|
|
398
|
-
stockOptions?: AutocompleteWrapperStockOption[];
|
|
399
|
-
overlayWidth?: string | number;
|
|
400
|
-
overlayMaxHeight?: string | number;
|
|
401
|
-
searchFunction?: AutocompleteWrapperSearchFunction;
|
|
402
|
-
searchMode?: 'local' | 'remote' | 'hybrid';
|
|
403
|
-
localData?: AutocompleteWrapperItem[];
|
|
404
|
-
noResultsText?: string;
|
|
405
|
-
sectionTitle?: string;
|
|
406
|
-
}
|
|
407
|
-
interface AutocompleteWrapperSearchField {
|
|
408
|
-
value: string;
|
|
409
|
-
label: string;
|
|
410
|
-
property: string;
|
|
411
|
-
}
|
|
412
|
-
interface AutocompleteWrapperStockOption {
|
|
413
|
-
value: string;
|
|
414
|
-
label: string;
|
|
415
|
-
}
|
|
416
|
-
interface AutocompleteWrapperFilters {
|
|
417
|
-
searchBy: string;
|
|
418
|
-
stockFilter: string;
|
|
419
|
-
}
|
|
420
|
-
interface AutocompleteWrapperEvents {
|
|
421
|
-
itemSelected: AutocompleteWrapperItem;
|
|
422
|
-
searchChanged: string;
|
|
423
|
-
pageChanged: number;
|
|
424
|
-
filterChanged: AutocompleteWrapperFilters;
|
|
425
|
-
advancedSearchClicked: void;
|
|
426
|
-
allResultsClicked: string;
|
|
427
|
-
createNewClicked: string;
|
|
428
|
-
historyCleared: void;
|
|
429
|
-
historyItemRemoved: {
|
|
430
|
-
item: AutocompleteWrapperItem;
|
|
431
|
-
index: number;
|
|
432
|
-
};
|
|
433
|
-
}
|
|
434
|
-
interface AutocompleteWrapperPaginationInfo {
|
|
435
|
-
currentPage: number;
|
|
436
|
-
totalPages: number;
|
|
437
|
-
totalItems: number;
|
|
438
|
-
itemsPerPage: number;
|
|
439
|
-
startItem: number;
|
|
440
|
-
endItem: number;
|
|
441
|
-
hasNextPage: boolean;
|
|
442
|
-
hasPreviousPage: boolean;
|
|
443
|
-
}
|
|
444
|
-
interface AutocompleteWrapperState {
|
|
445
|
-
query: string;
|
|
446
|
-
isLoading: boolean;
|
|
447
|
-
overlayOpen: boolean;
|
|
448
|
-
selectedIndex: number;
|
|
449
|
-
pagination: AutocompleteWrapperPaginationInfo;
|
|
450
|
-
hasResults: boolean;
|
|
451
|
-
isHistoryVisible: boolean;
|
|
452
|
-
historyCount: number;
|
|
453
|
-
filters: AutocompleteWrapperFilters;
|
|
454
|
-
}
|
|
455
|
-
interface AutocompleteWrapperActions {
|
|
456
|
-
onInput(event: Event): void;
|
|
457
|
-
showOverlay(): void;
|
|
458
|
-
hideOverlay(): void;
|
|
459
|
-
clearSearch(): void;
|
|
460
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
461
|
-
selectItem(item: AutocompleteWrapperItem): void;
|
|
462
|
-
getItemDisplayText(item: AutocompleteWrapperItem): string;
|
|
463
|
-
clearHistory(): void;
|
|
464
|
-
removeHistoryItem(index: number, event: Event): void;
|
|
465
|
-
goToFirstPage(): void;
|
|
466
|
-
goToPreviousPage(): void;
|
|
467
|
-
goToNextPage(): void;
|
|
468
|
-
goToLastPage(): void;
|
|
469
|
-
goToPage(event: Event): void;
|
|
470
|
-
onFilterChange(): void;
|
|
471
|
-
onCreateNew(event: Event): void;
|
|
472
|
-
onAdvancedSearch(): void;
|
|
473
|
-
onShowAllResults(): void;
|
|
474
|
-
overlayOpen(): boolean;
|
|
475
|
-
isLoading(): boolean;
|
|
476
|
-
isHistoryVisible(): boolean;
|
|
477
|
-
historyList(): AutocompleteWrapperItem[];
|
|
478
|
-
selectedIndex(): number;
|
|
479
|
-
currentPageItems(): AutocompleteWrapperItem[];
|
|
480
|
-
totalItems(): number;
|
|
481
|
-
totalPages(): number;
|
|
482
|
-
currentPage(): number;
|
|
483
|
-
totalCount(): number;
|
|
484
|
-
startItem(): number;
|
|
485
|
-
endItem(): number;
|
|
486
|
-
sectionTitle(): string;
|
|
487
|
-
noResultsText(): string;
|
|
488
|
-
isNoResults(): boolean;
|
|
489
|
-
overlayWidth(): string | number;
|
|
490
|
-
overlayMaxHeight(): string | number;
|
|
491
|
-
}
|
|
492
|
-
declare const AUTOCOMPLETE_WRAPPER_DEFAULT_CONFIG: AutocompleteWrapperConfig;
|
|
493
|
-
declare const AUTOCOMPLETE_WRAPPER_PRODUCT_CONFIG: AutocompleteWrapperConfig;
|
|
494
|
-
declare const AUTOCOMPLETE_WRAPPER_CUSTOMER_CONFIG: AutocompleteWrapperConfig;
|
|
495
|
-
declare const AUTOCOMPLETE_WRAPPER_SIMPLE_CONFIG: AutocompleteWrapperConfig;
|
|
496
|
-
declare const AUTOCOMPLETE_WRAPPER_LOCAL_CONFIG: AutocompleteWrapperConfig;
|
|
497
|
-
declare const AUTOCOMPLETE_WRAPPER_PAGINATED_CONFIG: AutocompleteWrapperConfig;
|
|
498
|
-
declare function createAutocompleteWrapperConfig(overrides: Partial<AutocompleteWrapperConfig>): AutocompleteWrapperConfig;
|
|
499
|
-
interface ReusableAutocompleteWrapperComponent extends AutocompleteWrapperActions {
|
|
500
|
-
config: AutocompleteWrapperConfig;
|
|
501
|
-
filters: AutocompleteWrapperFilters;
|
|
502
|
-
query: string;
|
|
503
|
-
}
|
|
504
|
-
type AutocompleteWrapperSearchMode = 'local' | 'remote' | 'hybrid';
|
|
505
|
-
type AutocompleteWrapperItemProperty = keyof AutocompleteWrapperItem;
|
|
506
|
-
type AutocompleteWrapperEventHandler<T = any> = (event: T) => void;
|
|
507
|
-
|
|
508
|
-
declare class AutocompleteWrapperService {
|
|
509
|
-
private readonly historySubject;
|
|
510
|
-
history$: Observable<AutocompleteWrapperItem[]>;
|
|
511
|
-
constructor();
|
|
512
|
-
searchLocal(items: AutocompleteWrapperItem[], query: string, filters: AutocompleteWrapperFilters, config: AutocompleteWrapperConfig): Observable<AutocompleteWrapperSearchResult>;
|
|
513
|
-
filterItems(items: AutocompleteWrapperItem[], query: string, filters: AutocompleteWrapperFilters, config?: AutocompleteWrapperConfig): AutocompleteWrapperItem[];
|
|
514
|
-
searchAsync(items: AutocompleteWrapperItem[], query: string, filters: AutocompleteWrapperFilters, config?: AutocompleteWrapperConfig): Observable<AutocompleteWrapperItem[]>;
|
|
515
|
-
private getSearchValue;
|
|
516
|
-
addToHistory(item: AutocompleteWrapperItem, maxItems?: number): void;
|
|
517
|
-
removeFromHistory(index: number): void;
|
|
518
|
-
clearHistory(): void;
|
|
519
|
-
getHistory(): AutocompleteWrapperItem[];
|
|
520
|
-
private loadHistoryFromStorage;
|
|
521
|
-
private saveHistoryToStorage;
|
|
522
|
-
paginateItems<T>(items: T[], page: number, itemsPerPage: number): T[];
|
|
523
|
-
getTotalPages(totalItems: number, itemsPerPage: number): number;
|
|
524
|
-
isValidPage(page: number, totalPages: number): boolean;
|
|
525
|
-
highlightText(text: string, query: string): string;
|
|
526
|
-
getItemDisplayText(item: AutocompleteWrapperItem, displayField?: string): string;
|
|
527
|
-
mergeConfig(userConfig: Partial<AutocompleteWrapperConfig>): AutocompleteWrapperConfig;
|
|
528
|
-
createGenericSearchFunction(config: {
|
|
529
|
-
search: (params: any) => Observable<any>;
|
|
530
|
-
queryParam?: string;
|
|
531
|
-
searchByParam?: string;
|
|
532
|
-
pageParam?: string;
|
|
533
|
-
pageSizeParam?: string;
|
|
534
|
-
responseMapper?: (response: any) => AutocompleteWrapperSearchResult;
|
|
535
|
-
}): AutocompleteWrapperSearchFunction;
|
|
536
|
-
createMockData(): AutocompleteWrapperItem[];
|
|
537
|
-
searchProducts(query: string, filters?: Partial<AutocompleteWrapperFilters>): Observable<AutocompleteWrapperSearchResult>;
|
|
538
|
-
createProductSearchConfig(): AutocompleteWrapperConfig;
|
|
539
|
-
createCustomerSearchConfig(): AutocompleteWrapperConfig;
|
|
540
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutocompleteWrapperService, never>;
|
|
541
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AutocompleteWrapperService>;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
435
|
/**
|
|
545
436
|
* A wrapper component for Angular Material dialogs that provides a consistent look and feel,
|
|
546
437
|
* including a draggable header and the ability to dynamically create components inside the dialog.
|
|
@@ -850,7 +741,7 @@ declare abstract class BaseButton {
|
|
|
850
741
|
sizeClass: _angular_core.Signal<string>;
|
|
851
742
|
squareClass: _angular_core.Signal<"" | "acp-square">;
|
|
852
743
|
isDisabled: _angular_core.Signal<boolean>;
|
|
853
|
-
pointerEvents: _angular_core.Signal<"
|
|
744
|
+
pointerEvents: _angular_core.Signal<"none" | "auto">;
|
|
854
745
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BaseButton, never>;
|
|
855
746
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BaseButton, never, never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "square": { "alias": "square"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "disableRipple": { "alias": "disableRipple"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "extended": { "alias": "extended"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; "focused": "focused"; "blurred": "blurred"; }, never, never, true, never>;
|
|
856
747
|
}
|
|
@@ -1192,128 +1083,6 @@ declare class ThemeToggle {
|
|
|
1192
1083
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThemeToggle, "acp-theme-toggle", never, { "lightModeIcon": { "alias": "lightModeIcon"; "required": false; "isSignal": true; }; "darkModeIcon": { "alias": "darkModeIcon"; "required": false; "isSignal": true; }; "lightModeLabel": { "alias": "lightModeLabel"; "required": false; "isSignal": true; }; "darkModeLabel": { "alias": "darkModeLabel"; "required": false; "isSignal": true; }; "testId": { "alias": "testId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1193
1084
|
}
|
|
1194
1085
|
|
|
1195
|
-
interface PaginationOptions {
|
|
1196
|
-
hidePageSize?: boolean;
|
|
1197
|
-
showPageSizeOptions?: boolean;
|
|
1198
|
-
showFirstLastButtons?: boolean;
|
|
1199
|
-
disabled?: boolean;
|
|
1200
|
-
}
|
|
1201
|
-
declare class Pagination {
|
|
1202
|
-
totalRecords: number;
|
|
1203
|
-
pageSize: number;
|
|
1204
|
-
pageIndex: number;
|
|
1205
|
-
pageSizeOptions: number[];
|
|
1206
|
-
hidePageSize: boolean;
|
|
1207
|
-
showPageSizeOptions: boolean;
|
|
1208
|
-
showFirstLastButtons: boolean;
|
|
1209
|
-
disabled: boolean;
|
|
1210
|
-
/**
|
|
1211
|
-
* @param pageIndex Current page index (0-based for MatPaginator compatibility)
|
|
1212
|
-
* @param pageSize Number of records per page
|
|
1213
|
-
* @param totalRecords Total number of records
|
|
1214
|
-
* @param pageSizeOptions Available page size options
|
|
1215
|
-
* @param options Display and behavior options
|
|
1216
|
-
*/
|
|
1217
|
-
constructor(pageIndex?: number, // MatPaginator starts at 0
|
|
1218
|
-
pageSize?: number, totalRecords?: number, pageSizeOptions?: number[], options?: PaginationOptions);
|
|
1219
|
-
/**
|
|
1220
|
-
* Calculates the total number of pages.
|
|
1221
|
-
*/
|
|
1222
|
-
getTotalPages(): number;
|
|
1223
|
-
/**
|
|
1224
|
-
* Handles page event similar to Angular Material example.
|
|
1225
|
-
* @param event MatPaginator PageEvent
|
|
1226
|
-
*/
|
|
1227
|
-
handlePageEvent(event: PageEvent): void;
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
declare class ReusableAutocompleteComponent implements OnInit, OnDestroy {
|
|
1231
|
-
private static inputIdCounter;
|
|
1232
|
-
readonly inputId: string;
|
|
1233
|
-
readonly dataSource: _angular_core.InputSignal<AutocompleteWrapperItem[]>;
|
|
1234
|
-
config: AutocompleteWrapperConfig;
|
|
1235
|
-
readonly itemTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
1236
|
-
readonly searchFunction: _angular_core.InputSignal<AutocompleteWrapperSearchFunction | undefined>;
|
|
1237
|
-
readonly notFoundTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
1238
|
-
overlayWidth: _angular_core.InputSignal<string>;
|
|
1239
|
-
overlayMaxHeight: _angular_core.InputSignal<string>;
|
|
1240
|
-
itemSelected: _angular_core.OutputEmitterRef<AutocompleteWrapperItem>;
|
|
1241
|
-
searchChanged: _angular_core.OutputEmitterRef<string>;
|
|
1242
|
-
searchRequested: _angular_core.OutputEmitterRef<{
|
|
1243
|
-
query: string;
|
|
1244
|
-
filters: AutocompleteWrapperFilters;
|
|
1245
|
-
page: number;
|
|
1246
|
-
}>;
|
|
1247
|
-
pageChanged: _angular_core.OutputEmitterRef<number>;
|
|
1248
|
-
filterChanged: _angular_core.OutputEmitterRef<AutocompleteWrapperFilters>;
|
|
1249
|
-
advancedSearchClicked: _angular_core.OutputEmitterRef<void>;
|
|
1250
|
-
allResultsClicked: _angular_core.OutputEmitterRef<string>;
|
|
1251
|
-
createClicked: _angular_core.OutputEmitterRef<string>;
|
|
1252
|
-
readonly searchInput: _angular_core.Signal<ElementRef<HTMLInputElement>>;
|
|
1253
|
-
readonly historyListElement: _angular_core.Signal<ElementRef<HTMLUListElement> | undefined>;
|
|
1254
|
-
readonly resultsListElement: _angular_core.Signal<ElementRef<HTMLUListElement> | undefined>;
|
|
1255
|
-
query: string;
|
|
1256
|
-
isLoading: _angular_core.WritableSignal<boolean>;
|
|
1257
|
-
overlayOpen: _angular_core.WritableSignal<boolean>;
|
|
1258
|
-
selectedIndex: _angular_core.WritableSignal<number>;
|
|
1259
|
-
currentPage: _angular_core.WritableSignal<number>;
|
|
1260
|
-
filteredItems: _angular_core.WritableSignal<AutocompleteWrapperItem[]>;
|
|
1261
|
-
historyList: _angular_core.WritableSignal<AutocompleteWrapperItem[]>;
|
|
1262
|
-
totalCount: _angular_core.WritableSignal<number>;
|
|
1263
|
-
filters: AutocompleteWrapperFilters;
|
|
1264
|
-
isHistoryVisible: _angular_core.Signal<boolean>;
|
|
1265
|
-
totalItems: _angular_core.Signal<number>;
|
|
1266
|
-
totalPages: _angular_core.Signal<number>;
|
|
1267
|
-
currentPageItems: _angular_core.Signal<AutocompleteWrapperItem[]>;
|
|
1268
|
-
startItem: _angular_core.Signal<number>;
|
|
1269
|
-
endItem: _angular_core.Signal<number>;
|
|
1270
|
-
sectionTitle: _angular_core.Signal<string>;
|
|
1271
|
-
isNoResults: _angular_core.Signal<boolean>;
|
|
1272
|
-
private readonly destroy$;
|
|
1273
|
-
private readonly searchSubject;
|
|
1274
|
-
private autocompleteService;
|
|
1275
|
-
ngOnInit(): void;
|
|
1276
|
-
ngOnDestroy(): void;
|
|
1277
|
-
private mergeDefaultConfig;
|
|
1278
|
-
private setupSearch;
|
|
1279
|
-
private performSearch;
|
|
1280
|
-
private loadHistory;
|
|
1281
|
-
private searchSubjectNext;
|
|
1282
|
-
onInput(event: Event): void;
|
|
1283
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
1284
|
-
private handleArrowDown;
|
|
1285
|
-
private handleArrowUp;
|
|
1286
|
-
private handleEnter;
|
|
1287
|
-
private handleEscape;
|
|
1288
|
-
private handlePageDown;
|
|
1289
|
-
private handlePageUp;
|
|
1290
|
-
onFilterChange(): void;
|
|
1291
|
-
updateSearchResults(result: AutocompleteWrapperSearchResult): void;
|
|
1292
|
-
showOverlay(): void;
|
|
1293
|
-
hideOverlay(): void;
|
|
1294
|
-
isType(item: any): item is string;
|
|
1295
|
-
selectItem(item: AutocompleteWrapperItem): void;
|
|
1296
|
-
clearSearch(): void;
|
|
1297
|
-
removeHistoryItem(index: number, event: Event): void;
|
|
1298
|
-
clearHistory(): void;
|
|
1299
|
-
goToPage(event: Event): void;
|
|
1300
|
-
goToFirstPage(): void;
|
|
1301
|
-
goToPreviousPage(): void;
|
|
1302
|
-
goToNextPage(): void;
|
|
1303
|
-
goToLastPage(): void;
|
|
1304
|
-
onCreateNew(_$event: MouseEvent): void;
|
|
1305
|
-
onAdvancedSearch(): void;
|
|
1306
|
-
onShowAllResults(): void;
|
|
1307
|
-
getItemDisplayText(item: AutocompleteWrapperItem): string;
|
|
1308
|
-
noResultsText(): string;
|
|
1309
|
-
private scrollToSelected;
|
|
1310
|
-
getState(): AutocompleteWrapperState;
|
|
1311
|
-
setQuery(query: string): void;
|
|
1312
|
-
focus(): void;
|
|
1313
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ReusableAutocompleteComponent, never>;
|
|
1314
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ReusableAutocompleteComponent, "acp-autocomplete-wrapper", never, { "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "searchFunction": { "alias": "searchFunction"; "required": false; "isSignal": true; }; "notFoundTemplate": { "alias": "notFoundTemplate"; "required": false; "isSignal": true; }; "overlayWidth": { "alias": "overlayWidth"; "required": false; "isSignal": true; }; "overlayMaxHeight": { "alias": "overlayMaxHeight"; "required": false; "isSignal": true; }; }, { "itemSelected": "itemSelected"; "searchChanged": "searchChanged"; "searchRequested": "searchRequested"; "pageChanged": "pageChanged"; "filterChanged": "filterChanged"; "advancedSearchClicked": "advancedSearchClicked"; "allResultsClicked": "allResultsClicked"; "createClicked": "createClicked"; }, never, never, true, never>;
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
1086
|
declare class AcpGridSelectableCell {
|
|
1318
1087
|
ctrlKeyPressed: boolean;
|
|
1319
1088
|
shiftKeyPressed: boolean;
|
|
@@ -1549,7 +1318,7 @@ declare class DataGrid implements AfterViewInit, OnChanges {
|
|
|
1549
1318
|
/** Whether to hide the page size selection UI from the user. */
|
|
1550
1319
|
hidePageSize: boolean;
|
|
1551
1320
|
/** Event emitted when the paginator changes the page size or page index. */
|
|
1552
|
-
page:
|
|
1321
|
+
page: _angular_core.OutputEmitterRef<PageEvent>;
|
|
1553
1322
|
/** The template for the pagination. */
|
|
1554
1323
|
paginationTemplate: TemplateRef<any>;
|
|
1555
1324
|
/** Whether to sort the data on front end. */
|
|
@@ -1571,22 +1340,22 @@ declare class DataGrid implements AfterViewInit, OnChanges {
|
|
|
1571
1340
|
*/
|
|
1572
1341
|
sortStart: 'asc' | 'desc';
|
|
1573
1342
|
/** Event emitted when the user changes either the active sort or sort direction. */
|
|
1574
|
-
sortChange:
|
|
1343
|
+
sortChange: _angular_core.OutputEmitterRef<Sort>;
|
|
1575
1344
|
/** Whether to use the row hover style. */
|
|
1576
1345
|
rowHover: boolean;
|
|
1577
1346
|
/** Whether to use the row striped style. */
|
|
1578
1347
|
rowStriped: boolean;
|
|
1579
1348
|
/** Event emitted when the user clicks the row. */
|
|
1580
|
-
rowClick:
|
|
1349
|
+
rowClick: _angular_core.OutputEmitterRef<any>;
|
|
1581
1350
|
/** Event emitted when the user attempts to open a context menu. */
|
|
1582
|
-
rowContextMenu:
|
|
1351
|
+
rowContextMenu: _angular_core.OutputEmitterRef<any>;
|
|
1583
1352
|
expansionRowStates: any[];
|
|
1584
1353
|
/** Whether the row is expandable. */
|
|
1585
1354
|
expandable: boolean;
|
|
1586
1355
|
/** The template for the expandable row. */
|
|
1587
1356
|
expansionTemplate: TemplateRef<any>;
|
|
1588
1357
|
/** Event emitted when the user toggles the expandable row. */
|
|
1589
|
-
expansionChange:
|
|
1358
|
+
expansionChange: _angular_core.OutputEmitterRef<any>;
|
|
1590
1359
|
closeOthersOnExpand: _angular_core.InputSignal<boolean>;
|
|
1591
1360
|
rowSelection: SelectionModel<any>;
|
|
1592
1361
|
/** Whether to support multiple row/cell selection. */
|
|
@@ -1606,21 +1375,21 @@ declare class DataGrid implements AfterViewInit, OnChanges {
|
|
|
1606
1375
|
/** The selected row items. */
|
|
1607
1376
|
rowSelected: any[];
|
|
1608
1377
|
/** Event emitted when the row is selected. */
|
|
1609
|
-
rowSelectedChange:
|
|
1610
|
-
checkboxKeyDown:
|
|
1611
|
-
checkboxKeyUp:
|
|
1612
|
-
checkboxKeyPress:
|
|
1613
|
-
rowKeyDown:
|
|
1378
|
+
rowSelectedChange: _angular_core.OutputEmitterRef<any[]>;
|
|
1379
|
+
checkboxKeyDown: _angular_core.OutputEmitterRef<KeyboardEvent>;
|
|
1380
|
+
checkboxKeyUp: _angular_core.OutputEmitterRef<KeyboardEvent>;
|
|
1381
|
+
checkboxKeyPress: _angular_core.OutputEmitterRef<KeyboardEvent>;
|
|
1382
|
+
rowKeyDown: _angular_core.OutputEmitterRef<{
|
|
1614
1383
|
event: KeyboardEvent;
|
|
1615
1384
|
row: Record<string, any>;
|
|
1616
1385
|
index: number;
|
|
1617
1386
|
}>;
|
|
1618
|
-
rowKeyUp:
|
|
1387
|
+
rowKeyUp: _angular_core.OutputEmitterRef<{
|
|
1619
1388
|
event: KeyboardEvent;
|
|
1620
1389
|
row: Record<string, any>;
|
|
1621
1390
|
index: number;
|
|
1622
1391
|
}>;
|
|
1623
|
-
rowKeyPress:
|
|
1392
|
+
rowKeyPress: _angular_core.OutputEmitterRef<{
|
|
1624
1393
|
event: KeyboardEvent;
|
|
1625
1394
|
row: Record<string, any>;
|
|
1626
1395
|
index: number;
|
|
@@ -1629,7 +1398,7 @@ declare class DataGrid implements AfterViewInit, OnChanges {
|
|
|
1629
1398
|
/** Whether the cell is selectable. */
|
|
1630
1399
|
cellSelectable: boolean;
|
|
1631
1400
|
/** Event emitted when the cell is selected. */
|
|
1632
|
-
cellSelectedChange:
|
|
1401
|
+
cellSelectedChange: _angular_core.OutputEmitterRef<any[]>;
|
|
1633
1402
|
private _selectedCell?;
|
|
1634
1403
|
/** Whether to show the toolbar. */
|
|
1635
1404
|
showToolbar: boolean;
|
|
@@ -1646,7 +1415,7 @@ declare class DataGrid implements AfterViewInit, OnChanges {
|
|
|
1646
1415
|
/** Whether the column is pinnable. */
|
|
1647
1416
|
columnPinnable: boolean;
|
|
1648
1417
|
/** Event emitted when the column is hided or is sorted. */
|
|
1649
|
-
columnChange:
|
|
1418
|
+
columnChange: _angular_core.OutputEmitterRef<DataGridColumn<any>[]>;
|
|
1650
1419
|
/** The options for the column pin list. */
|
|
1651
1420
|
columnPinOptions: DataGridColumnPinOption[];
|
|
1652
1421
|
/** Whether to show the column menu button. */
|
|
@@ -3247,6 +3016,108 @@ declare class AcpCheckboxGroup implements AfterViewInit, OnDestroy, ControlValue
|
|
|
3247
3016
|
static ngAcceptInputType_disabled: unknown;
|
|
3248
3017
|
}
|
|
3249
3018
|
|
|
3019
|
+
type AcpKpiCardColor = 'primary' | 'secondary' | 'success' | 'success-light' | 'warning' | 'warning-light' | 'error' | 'error-light' | 'info' | 'info-light' | 'neutral' | 'white' | 'custom';
|
|
3020
|
+
type AcpKpiCardVariant = 'default' | 'elevated' | 'outlined' | 'filled' | 'tonal';
|
|
3021
|
+
type AcpKpiCardSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
3022
|
+
type AcpKpiCardTrend = 'up' | 'down' | 'neutral' | 'none';
|
|
3023
|
+
interface AcpKpiCardTrendConfig {
|
|
3024
|
+
icon: string;
|
|
3025
|
+
color: AcpKpiCardColor;
|
|
3026
|
+
ariaLabel: string;
|
|
3027
|
+
}
|
|
3028
|
+
interface AcpKpiCardLayout {
|
|
3029
|
+
title: boolean;
|
|
3030
|
+
subtitle: boolean;
|
|
3031
|
+
value: boolean;
|
|
3032
|
+
description: boolean;
|
|
3033
|
+
trend: boolean;
|
|
3034
|
+
percentage: boolean;
|
|
3035
|
+
icon: boolean;
|
|
3036
|
+
avatar: boolean;
|
|
3037
|
+
actions: boolean;
|
|
3038
|
+
footer: boolean;
|
|
3039
|
+
progress: boolean;
|
|
3040
|
+
}
|
|
3041
|
+
|
|
3042
|
+
declare class AcpKpiCard {
|
|
3043
|
+
title: _angular_core.InputSignal<string | undefined>;
|
|
3044
|
+
subtitle: _angular_core.InputSignal<string | undefined>;
|
|
3045
|
+
value: _angular_core.InputSignal<string | number | undefined>;
|
|
3046
|
+
description: _angular_core.InputSignal<string | undefined>;
|
|
3047
|
+
footer: _angular_core.InputSignal<string | undefined>;
|
|
3048
|
+
variant: _angular_core.InputSignal<AcpKpiCardVariant>;
|
|
3049
|
+
color: _angular_core.InputSignal<AcpKpiCardColor>;
|
|
3050
|
+
size: _angular_core.InputSignal<AcpKpiCardSize>;
|
|
3051
|
+
icon: _angular_core.InputSignal<string | undefined>;
|
|
3052
|
+
svgIcon: _angular_core.InputSignal<string | undefined>;
|
|
3053
|
+
avatar: _angular_core.InputSignal<string | undefined>;
|
|
3054
|
+
avatarInitials: _angular_core.InputSignal<string | undefined>;
|
|
3055
|
+
trend: _angular_core.InputSignal<AcpKpiCardTrend>;
|
|
3056
|
+
percentage: _angular_core.InputSignal<string | number | undefined>;
|
|
3057
|
+
percentageFormat: _angular_core.InputSignal<"number" | "percent">;
|
|
3058
|
+
progress: _angular_core.InputSignal<number | undefined>;
|
|
3059
|
+
progressColor: _angular_core.InputSignal<AcpKpiCardColor>;
|
|
3060
|
+
loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3061
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3062
|
+
clickable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3063
|
+
selected: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3064
|
+
routerLink: _angular_core.InputSignal<string | any[] | null>;
|
|
3065
|
+
href: _angular_core.InputSignal<string | null>;
|
|
3066
|
+
ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
3067
|
+
tooltip: _angular_core.InputSignal<string | undefined>;
|
|
3068
|
+
clicked: _angular_core.OutputEmitterRef<void>;
|
|
3069
|
+
actionClicked: _angular_core.OutputEmitterRef<string>;
|
|
3070
|
+
isHovered: _angular_core.WritableSignal<boolean>;
|
|
3071
|
+
iconTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
3072
|
+
avatarTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
3073
|
+
footerTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
3074
|
+
actionsTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
3075
|
+
isTrending: _angular_core.Signal<boolean>;
|
|
3076
|
+
trendConfig: _angular_core.Signal<_acontplus_ng_components.AcpKpiCardTrendConfig>;
|
|
3077
|
+
effectiveIcon: _angular_core.Signal<string | undefined>;
|
|
3078
|
+
trendColor: _angular_core.Signal<AcpKpiCardColor>;
|
|
3079
|
+
hasHeader: _angular_core.Signal<boolean>;
|
|
3080
|
+
hasFooter: _angular_core.Signal<boolean>;
|
|
3081
|
+
hasActions: _angular_core.Signal<boolean>;
|
|
3082
|
+
hostClasses: _angular_core.Signal<string>;
|
|
3083
|
+
onCardClick(): void;
|
|
3084
|
+
onActionClick(action: string, event: Event): void;
|
|
3085
|
+
onMouseEnter(): void;
|
|
3086
|
+
onMouseLeave(): void;
|
|
3087
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AcpKpiCard, never>;
|
|
3088
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AcpKpiCard, "acp-kpi-card", ["acpKpiCard"], { "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "footer": { "alias": "footer"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "svgIcon": { "alias": "svgIcon"; "required": false; "isSignal": true; }; "avatar": { "alias": "avatar"; "required": false; "isSignal": true; }; "avatarInitials": { "alias": "avatarInitials"; "required": false; "isSignal": true; }; "trend": { "alias": "trend"; "required": false; "isSignal": true; }; "percentage": { "alias": "percentage"; "required": false; "isSignal": true; }; "percentageFormat": { "alias": "percentageFormat"; "required": false; "isSignal": true; }; "progress": { "alias": "progress"; "required": false; "isSignal": true; }; "progressColor": { "alias": "progressColor"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; "actionClicked": "actionClicked"; }, ["iconTemplate", "avatarTemplate", "footerTemplate", "actionsTemplate"], never, true, never>;
|
|
3089
|
+
}
|
|
3090
|
+
|
|
3091
|
+
declare const KPI_CARD_TREND_CONFIGS: Record<AcpKpiCardTrend, AcpKpiCardTrendConfig>;
|
|
3092
|
+
declare function formatValue(value: number | string, format?: string): string;
|
|
3093
|
+
|
|
3094
|
+
declare const KPI_CARD_TOKENS: {
|
|
3095
|
+
SIZE_SM: string;
|
|
3096
|
+
SIZE_MD: string;
|
|
3097
|
+
SIZE_LG: string;
|
|
3098
|
+
VARIANT_DEFAULT: string;
|
|
3099
|
+
VARIANT_ELEVATED: string;
|
|
3100
|
+
VARIANT_OUTLINED: string;
|
|
3101
|
+
VARIANT_FILLED: string;
|
|
3102
|
+
VARIANT_TONAL: string;
|
|
3103
|
+
COLOR_PRIMARY: string;
|
|
3104
|
+
COLOR_SECONDARY: string;
|
|
3105
|
+
COLOR_SUCCESS: string;
|
|
3106
|
+
COLOR_SUCCESS_LIGHT: string;
|
|
3107
|
+
COLOR_WARNING: string;
|
|
3108
|
+
COLOR_WARNING_LIGHT: string;
|
|
3109
|
+
COLOR_ERROR: string;
|
|
3110
|
+
COLOR_ERROR_LIGHT: string;
|
|
3111
|
+
COLOR_INFO: string;
|
|
3112
|
+
COLOR_INFO_LIGHT: string;
|
|
3113
|
+
COLOR_NEUTRAL: string;
|
|
3114
|
+
COLOR_CUSTOM: string;
|
|
3115
|
+
TREND_UP: string;
|
|
3116
|
+
TREND_DOWN: string;
|
|
3117
|
+
TREND_NEUTRAL: string;
|
|
3118
|
+
TREND_NONE: string;
|
|
3119
|
+
};
|
|
3120
|
+
|
|
3250
3121
|
declare class ToUpperCase implements ControlValueAccessor {
|
|
3251
3122
|
private readonly el;
|
|
3252
3123
|
private readonly renderer;
|
|
@@ -3260,6 +3131,41 @@ declare class ToUpperCase implements ControlValueAccessor {
|
|
|
3260
3131
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ToUpperCase, "[acpToUpperCase]", never, {}, {}, never, never, true, never>;
|
|
3261
3132
|
}
|
|
3262
3133
|
|
|
3134
|
+
interface PaginationOptions {
|
|
3135
|
+
hidePageSize?: boolean;
|
|
3136
|
+
showPageSizeOptions?: boolean;
|
|
3137
|
+
showFirstLastButtons?: boolean;
|
|
3138
|
+
disabled?: boolean;
|
|
3139
|
+
}
|
|
3140
|
+
declare class Pagination {
|
|
3141
|
+
totalRecords: number;
|
|
3142
|
+
pageSize: number;
|
|
3143
|
+
pageIndex: number;
|
|
3144
|
+
pageSizeOptions: number[];
|
|
3145
|
+
hidePageSize: boolean;
|
|
3146
|
+
showPageSizeOptions: boolean;
|
|
3147
|
+
showFirstLastButtons: boolean;
|
|
3148
|
+
disabled: boolean;
|
|
3149
|
+
/**
|
|
3150
|
+
* @param pageIndex Current page index (0-based for MatPaginator compatibility)
|
|
3151
|
+
* @param pageSize Number of records per page
|
|
3152
|
+
* @param totalRecords Total number of records
|
|
3153
|
+
* @param pageSizeOptions Available page size options
|
|
3154
|
+
* @param options Display and behavior options
|
|
3155
|
+
*/
|
|
3156
|
+
constructor(pageIndex?: number, // MatPaginator starts at 0
|
|
3157
|
+
pageSize?: number, totalRecords?: number, pageSizeOptions?: number[], options?: PaginationOptions);
|
|
3158
|
+
/**
|
|
3159
|
+
* Calculates the total number of pages.
|
|
3160
|
+
*/
|
|
3161
|
+
getTotalPages(): number;
|
|
3162
|
+
/**
|
|
3163
|
+
* Handles page event similar to Angular Material example.
|
|
3164
|
+
* @param event MatPaginator PageEvent
|
|
3165
|
+
*/
|
|
3166
|
+
handlePageEvent(event: PageEvent): void;
|
|
3167
|
+
}
|
|
3168
|
+
|
|
3263
3169
|
declare class GetTotalPipe implements PipeTransform {
|
|
3264
3170
|
transform(colName: string, dataSource: any[]): any;
|
|
3265
3171
|
/**
|
|
@@ -3291,5 +3197,5 @@ declare class StatusDisplayPipe implements PipeTransform {
|
|
|
3291
3197
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<StatusDisplayPipe, "statusDisplay", true>;
|
|
3292
3198
|
}
|
|
3293
3199
|
|
|
3294
|
-
export { ACP_ACTIVE_DATE_DEBOUNCE,
|
|
3295
|
-
export type { AcpAlertType,
|
|
3200
|
+
export { ACP_ACTIVE_DATE_DEBOUNCE, ACP_BADGE_COLORS, ACP_BADGE_SHAPES, ACP_BADGE_SIZES, ACP_BADGE_VARIANTS, ACP_DATE_OPTION_TYPE, ACP_DEFAULT_DATE_OPTIONS, ACP_DRAWER_DATA, ACP_DRAWER_DEFAULT_OPTIONS, ACP_POPOVER_CONTENT, ACP_POPOVER_DEFAULT_OPTIONS, ACP_POPOVER_SCROLL_STRATEGY, AcpAlert, AcpBadge, AcpButton, AcpCheckboxBase, AcpCheckboxGroup, AcpDateRangeInput, AcpDrawer, AcpDrawerConfig, AcpDrawerContainer, AcpDrawerRef, AcpKpiCard, AcpPopover, AcpPopoverContent, AcpPopoverTarget, AcpPopoverTrigger, AcpSelectDateOption, AdvancedDialogService, Button, DATA_GRID_DEFAULT_OPTIONS, DataGrid, DateRangePicker, DialogWrapper, DialogZIndexService, DynamicCard, DynamicSelect, GetTotalPipe, IconRegistryService, InputChip, KPI_CARD_TOKENS, KPI_CARD_TREND_CONFIGS, KeyboardNavigationService, OverlayService, Pagination, Spinner, StatusDisplayPipe, SvgIcon, TREND_CONFIGS, TabulatorTable, ThemeSwitcher, ThemeToggle, ToUpperCase, UserIcon, _AcpPopoverContentBase, formatValue };
|
|
3201
|
+
export type { AcpAlertType, AcpBadgeColor, AcpBadgeShape, AcpBadgeSize, AcpBadgeTrend, AcpBadgeTrendConfig, AcpBadgeVariant, AcpCheckboxGroupOption, AcpKpiCardColor, AcpKpiCardLayout, AcpKpiCardSize, AcpKpiCardTrend, AcpKpiCardTrendConfig, AcpKpiCardVariant, AcpPopoverDefaultOptions, AcpPopoverPanel, AcpPopoverPosition, AcpPopoverPositionEnd, AcpPopoverPositionStart, AcpPopoverTriggerEvent, AcpSelectedDateEvent, 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, FocusableElement, IAcpSelectDateOption, IconRegistryConfig, MatCustomDialogConfig, PaginationOptions, PopoverCloseReason, TabulatorColumn, TabulatorConfig, TabulatorEventHandlers, TabulatorTheme };
|