@messaia/cdk 21.1.0-rc.2 → 21.1.0-rc.21

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.
@@ -2,17 +2,17 @@ import * as i1 from '@angular/common';
2
2
  import { Location, DecimalPipe } from '@angular/common';
3
3
  import { HttpHeaders, HttpClient, HttpParams, HttpEvent, HttpInterceptor, HttpRequest, HttpHandler } from '@angular/common/http';
4
4
  import * as i0 from '@angular/core';
5
- import { ViewContainerRef, Provider, NgZone, EventEmitter, Type as Type$1, OnInit, AfterViewInit, ChangeDetectorRef, QueryList, ElementRef, Compiler, ComponentRef, AfterViewChecked, TemplateRef, OnDestroy, OnChanges, SimpleChanges, AfterContentInit, Renderer2, EmbeddedViewRef, ModuleWithProviders, InjectionToken, DoCheck, PipeTransform } from '@angular/core';
5
+ import { ViewContainerRef, Provider, NgZone, EventEmitter, Type as Type$1, OnInit, AfterViewInit, ChangeDetectorRef, QueryList, ElementRef, Renderer2, Compiler, ComponentRef, AfterViewChecked, TemplateRef, OnDestroy, OnChanges, SimpleChanges, AfterContentInit, EmbeddedViewRef, ModuleWithProviders, InjectionToken, DoCheck, PipeTransform } from '@angular/core';
6
6
  import { MatDialogRef, MatDialog, MatDialogConfig } from '@angular/material/dialog';
7
7
  import { MatExpansionPanel } from '@angular/material/expansion';
8
- import { MatSnackBar } from '@angular/material/snack-bar';
8
+ import { MatSnackBar, MatSnackBarRef, TextOnlySnackBar } from '@angular/material/snack-bar';
9
9
  import * as _angular_platform_browser from '@angular/platform-browser';
10
10
  import { Title, DomSanitizer, SafeStyle } from '@angular/platform-browser';
11
11
  import { Router, ActivatedRoute, ActivatedRouteSnapshot, CanDeactivate, RouterStateSnapshot } from '@angular/router';
12
12
  import { Observable, Subscription, BehaviorSubject, Subject } from 'rxjs';
13
13
  import { ComponentType, CdkPortal } from '@angular/cdk/portal';
14
14
  import * as i2 from '@angular/forms';
15
- import { ValidatorFn, AsyncValidatorFn, AbstractControlOptions, AbstractControl, FormGroup, FormArray, NgForm, AsyncValidator, ValidationErrors, Validator, FormControl, ControlValueAccessor, NgControl, NgModel, FormGroupDirective } from '@angular/forms';
15
+ import { ValidatorFn, AsyncValidatorFn, AbstractControlOptions, AbstractControl, FormGroup, FormArray, NgForm, ValidationErrors, AsyncValidator, Validator, FormControl, ControlValueAccessor, NgControl, NgModel, FormGroupDirective } from '@angular/forms';
16
16
  import { SortDirection, MatSort } from '@angular/material/sort';
17
17
  import { MatPaginator, MatPaginatorIntl } from '@angular/material/paginator';
18
18
  import { MatMenuTrigger, MatMenu } from '@angular/material/menu';
@@ -34,7 +34,6 @@ import * as i5 from '@angular/material/button';
34
34
  import { MatChipInputEvent } from '@angular/material/chips';
35
35
  import { Platform } from '@angular/cdk/platform';
36
36
  import { AutofillMonitor } from '@angular/cdk/text-field';
37
- import { EditorComponent } from '@tinymce/tinymce-angular';
38
37
  import { Editor } from 'tinymce';
39
38
  import { MatSidenav, MatDrawerToggleResult, MatDrawer } from '@angular/material/sidenav';
40
39
  import { OidcSecurityService } from 'angular-auth-oidc-client';
@@ -985,6 +984,22 @@ interface IBaseComponent {
985
984
  * });
986
985
  */
987
986
  openDialog<T, D = any>(dialogType: Type$1<T>, config: MatDialogConfig<D>, callback: Function): void;
987
+ /**
988
+ * Displays a message using the snack bar service.
989
+ *
990
+ * @param message The message to display.
991
+ * @param type The type of the message (Success, Warning, or Error). Defaults to Success.
992
+ * @param duration Optional duration (in milliseconds) to show the message.
993
+ * If omitted, duration is adjusted based on message length.
994
+ * @param actionLabel The label for the action button. Defaults to 'OK'.
995
+ * @param playSound A flag indicating whether to play a warning sound when the message type is Warning or Error. Defaults to false.
996
+ * @returns An observable that emits when the action button is clicked.
997
+ */
998
+ showMessage(message: string, type: MessageType, duration?: number, actionLabel?: string, playSound?: boolean): Observable<void>;
999
+ /**
1000
+ * Closes the currently displayed snack bar message, if any.
1001
+ */
1002
+ closeMessage(): void;
988
1003
  /**
989
1004
  * Plays a short beep sound using an embedded audio file in base64 format.
990
1005
  * The method loads and plays the audio file immediately upon calling.
@@ -1166,6 +1181,10 @@ declare abstract class BaseComponent implements IBaseComponent, OnInit, AfterVie
1166
1181
  * Service for displaying snack bar notifications.
1167
1182
  */
1168
1183
  protected snackBarService: MatSnackBar;
1184
+ /**
1185
+ * Reference to the currently displayed snack bar, if any.
1186
+ */
1187
+ protected snackBarRef?: MatSnackBarRef<TextOnlySnackBar>;
1169
1188
  /**
1170
1189
  * Service for displaying confirmation and prompt dialogs.
1171
1190
  */
@@ -1351,7 +1370,11 @@ declare abstract class BaseComponent implements IBaseComponent, OnInit, AfterVie
1351
1370
  * @param playSound A flag indicating whether to play a warning sound when the message type is Warning or Error. Defaults to false.
1352
1371
  * @returns An observable that emits when the action button is clicked.
1353
1372
  */
1354
- protected showMessage(message: string, type?: MessageType, duration?: number, actionLabel?: string, playSound?: boolean): Observable<void>;
1373
+ showMessage(message: string, type?: MessageType, duration?: number, actionLabel?: string, playSound?: boolean): Observable<void>;
1374
+ /**
1375
+ * Closes the currently displayed snack bar message, if any.
1376
+ */
1377
+ closeMessage(): void;
1355
1378
  /**
1356
1379
  * Initializes the TinyMCE editor with custom configuration.
1357
1380
  *
@@ -1443,6 +1466,66 @@ declare abstract class BaseComponent implements IBaseComponent, OnInit, AfterVie
1443
1466
  static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent, never, never, { "handleExpansionPanelChanges": { "alias": "handleExpansionPanelChanges"; "required": false; }; }, { "reload": "reload"; }, never, never, true, never>;
1444
1467
  }
1445
1468
 
1469
+ /**
1470
+ * Directive that allows a dialog to be maximized via double-click on the handle.
1471
+ */
1472
+ declare class VdDialogMaximizeDirective {
1473
+ private elementRef;
1474
+ private renderer;
1475
+ /**
1476
+ * The selector used to identify the root overlay pane to be resized.
1477
+ * @type {string}
1478
+ */
1479
+ rootElementSelector: string;
1480
+ /**
1481
+ * Whether the dialog is currently maximized.
1482
+ * @type {boolean}
1483
+ */
1484
+ isMaximized: boolean;
1485
+ /**
1486
+ * Constructor that injects ElementRef and Renderer2 for DOM manipulation.
1487
+ * @param elementRef The ElementRef of the host element.
1488
+ * @param renderer The Renderer2 instance for DOM manipulation.
1489
+ */
1490
+ constructor(elementRef: ElementRef, renderer: Renderer2);
1491
+ /**
1492
+ * Listens for the double-click event on the host element to toggle maximization.
1493
+ */
1494
+ toggle(): void;
1495
+ static ɵfac: i0.ɵɵFactoryDeclaration<VdDialogMaximizeDirective, never>;
1496
+ static ɵdir: i0.ɵɵDirectiveDeclaration<VdDialogMaximizeDirective, "[vdDialogMaximize]", ["dialogMaximize"], { "rootElementSelector": { "alias": "rootElementSelector"; "required": false; }; }, {}, never, never, true, never>;
1497
+ }
1498
+
1499
+ /**
1500
+ * Component that provides standard maximize and close actions for dialogs.
1501
+ */
1502
+ declare class VdDialogHeaderActionsComponent {
1503
+ /**
1504
+ * Reference to the maximize directive instance.
1505
+ * @type {VdDialogMaximizeDirective}
1506
+ */
1507
+ maximize: VdDialogMaximizeDirective;
1508
+ /**
1509
+ * Reference to the parent dialog to allow closing.
1510
+ * @type {MatDialogRef<any>}
1511
+ */
1512
+ dialogRef: MatDialogRef<any>;
1513
+ static ɵfac: i0.ɵɵFactoryDeclaration<VdDialogHeaderActionsComponent, never>;
1514
+ static ɵcmp: i0.ɵɵComponentDeclaration<VdDialogHeaderActionsComponent, "vd-dialog-header-actions", never, { "maximize": { "alias": "maximize"; "required": true; }; "dialogRef": { "alias": "dialogRef"; "required": true; }; }, {}, never, never, true, never>;
1515
+ }
1516
+
1517
+ /** * Reusable dialog header that handles dragging, maximizing, and closing.
1518
+ */
1519
+ declare class VdDialogHeaderComponent {
1520
+ /**
1521
+ * Reference to the dialog instance to allow the close button to work.
1522
+ * @type {MatDialogRef<any>}
1523
+ */
1524
+ dialogRef: MatDialogRef<any>;
1525
+ static ɵfac: i0.ɵɵFactoryDeclaration<VdDialogHeaderComponent, never>;
1526
+ static ɵcmp: i0.ɵɵComponentDeclaration<VdDialogHeaderComponent, "vd-dialog-header", never, { "dialogRef": { "alias": "dialogRef"; "required": true; }; }, {}, never, ["*"], true, never>;
1527
+ }
1528
+
1446
1529
  interface PropConfig {
1447
1530
  name?: string;
1448
1531
  defaultValue?: any;
@@ -3066,6 +3149,12 @@ declare class EnumMetadata {
3066
3149
  * @type {string}
3067
3150
  */
3068
3151
  display?: string;
3152
+ /**
3153
+ * @property Hint
3154
+ * @description An optional hint string associated with the enum value. This string can be used to provide additional information or guidance in the UI.
3155
+ * @type {string}
3156
+ */
3157
+ hint?: string;
3069
3158
  /**
3070
3159
  * @property Icon
3071
3160
  * @description An optional icon associated with the enum value. This can be used to visually represent the enum value in the UI.
@@ -3392,169 +3481,267 @@ declare class TableColumn<TEntity = any> {
3392
3481
  declare class GenericService<T extends any> {
3393
3482
  endpoint?: string | undefined;
3394
3483
  /**
3395
- * Http client
3484
+ * Injected Angular HttpClient instance
3396
3485
  */
3397
3486
  http: HttpClient;
3398
3487
  /**
3399
- * List of entities
3488
+ * BehaviorSubject holding the current list of entities
3400
3489
  */
3401
3490
  list: BehaviorSubject<any[]>;
3402
3491
  /**
3403
3492
  * Constructor
3404
- *
3405
- * @param http
3493
+ * @param endpoint Optional API endpoint for the service
3406
3494
  */
3407
3495
  constructor(endpoint?: string | undefined);
3408
3496
  /**
3409
- * Gets a single entity
3410
- *
3411
- * @param id The id of the entity or relative path
3412
- * @param params Adds query params to the request
3413
- * @param headers Adds headers to the request
3497
+ * Retrieves a single entity by ID or relative path
3498
+ * @param id The entity ID or relative path
3499
+ * @param params Optional query parameters
3500
+ * @param headers Optional HTTP headers
3501
+ * @param handleError Whether to handle errors (default: true)
3502
+ * @param observeResponse Whether to observe the full response (default: false)
3414
3503
  */
3415
3504
  get<T>(id: string | number, params?: Object | null, headers?: Object, handleError?: boolean, observeResponse?: boolean): Observable<any>;
3416
3505
  /**
3417
- * Counts entities
3418
- *
3419
- * @param params Adds query params to the request
3420
- * @param path A relative path to the action
3421
- * @param headers Adds headers to the request
3422
- * @param handleError Handle errors
3506
+ * Asynchronously retrieves a single entity by ID or relative path
3507
+ * @param id The entity ID or relative path
3508
+ * @param params Optional query parameters
3509
+ * @returns Promise resolving to the entity
3510
+ */
3511
+ getAsync<T>(id: string | number, params?: Object | null): Promise<T>;
3512
+ /**
3513
+ * Counts entities on the server
3514
+ * @param params Optional query parameters
3515
+ * @param path Optional relative path to the count action
3516
+ * @param headers Optional HTTP headers
3517
+ * @param handleError Whether to handle errors (default: true)
3423
3518
  */
3424
3519
  count(params?: Object, path?: string | null, headers?: Object, handleError?: boolean): Observable<number>;
3425
3520
  /**
3426
- * Gets a list of entities.
3427
- *
3428
- * @param params Optional. Adds query params to the request.
3429
- * @param path Optional. A relative path to the action.
3430
- * @param headers Optional. Adds headers to the request.
3431
- * @returns An Observable with the response data.
3521
+ * Asynchronously counts entities on the server
3522
+ * @param params Optional query parameters
3523
+ * @param path Optional relative path to the count action
3524
+ * @returns Promise resolving to the count
3525
+ */
3526
+ countAsync(params?: Object, path?: string | null): Promise<number>;
3527
+ /**
3528
+ * Retrieves a list of entities
3529
+ * @param params Optional query parameters
3530
+ * @param path Optional relative path to the action
3531
+ * @param headers Optional HTTP headers
3532
+ * @returns Observable with the response data
3432
3533
  */
3433
3534
  getList(params?: HttpParams | Object | null, path?: string | null, headers?: Object | null): Observable<any>;
3434
3535
  /**
3435
- * Loads data
3436
- * @param params Adds query params to the request
3437
- * @param path A relative path to the action
3438
- * @param headers Adds headers to the request
3536
+ * Asynchronously retrieves a list of entities
3537
+ * @param params Optional query parameters
3538
+ * @param path Optional relative path to the action
3539
+ * @param headers Optional HTTP headers
3540
+ * @returns Promise resolving to the response data
3541
+ */
3542
+ getListAsync(params?: HttpParams | Object | null, path?: string | null, headers?: Object | null): Promise<any>;
3543
+ /**
3544
+ * Loads data into the BehaviorSubject list
3545
+ * @param params Optional query parameters
3546
+ * @param path Optional relative path to the action
3547
+ * @param headers Optional HTTP headers
3439
3548
  */
3440
3549
  loadList(params?: Object | null, path?: string | null, headers?: Object): void;
3441
3550
  /**
3442
- * Gets result list as Observable
3551
+ * Loads data into the BehaviorSubject list asynchronously
3552
+ * @param params Optional query parameters
3553
+ * @param path Optional relative path to the action
3554
+ * @param headers Optional HTTP headers
3555
+ */
3556
+ /**
3557
+ * Asynchronously loads data into the BehaviorSubject list
3558
+ * @param params Optional query parameters
3559
+ * @param path Optional relative path to the action
3560
+ * @param headers Optional HTTP headers
3561
+ */
3562
+ loadListAsync(params?: Object | null, path?: string | null, headers?: Object): Promise<void>;
3563
+ /**
3564
+ * Returns the list BehaviorSubject as an Observable
3443
3565
  */
3444
3566
  getListAsObservable(): Observable<any>;
3445
3567
  /**
3446
- * Creates an entity
3447
- *
3568
+ * Creates a new entity
3448
3569
  * @param entity The entity to create
3449
- * @param path A relative path to the action
3450
- * @param httpOptions Additional http options, like headers and so on
3451
- * @param handleError Handle errors
3570
+ * @param path Optional relative path to the action
3571
+ * @param httpOptions Optional HTTP options (headers, etc.)
3572
+ * @param handleError Whether to handle errors (default: true)
3452
3573
  */
3453
3574
  create<T>(entity: any, path?: string | null, httpOptions?: Object, handleError?: boolean): Observable<T>;
3454
3575
  /**
3455
- * Updates an entity
3456
- *
3457
- * @param entity The entity to update
3458
- * @param path A relative path to the action
3459
- * @param httpOptions Additional http options, like headers and so on
3460
- * @param handleError Handle errors
3576
+ * Asynchronously creates a new entity
3577
+ * @param entity The entity to create
3578
+ * @param path Optional relative path to the action
3579
+ * @param httpOptions Optional HTTP options (headers, etc.)
3580
+ * @returns Promise resolving to the created entity
3581
+ */
3582
+ createAsync<T>(entity: any, path?: string | null, httpOptions?: Object): Promise<T>;
3583
+ /**
3584
+ * Updates an existing entity asynchronously
3585
+ * @param id The ID of the entity to update
3586
+ * @param entity The updated entity data
3587
+ * @param path Optional relative path to the action
3588
+ * @param httpOptions Optional HTTP options (headers, etc.)
3589
+ * @param handleError Whether to handle errors (default: true)
3461
3590
  */
3462
3591
  update(id: string | number, entity: any, path?: string | null, httpOptions?: Object, handleError?: boolean): Observable<any>;
3463
3592
  /**
3464
- * Patches an entity
3465
- *
3466
- * @param id id The id of the item to patch
3467
- * @param body The body
3468
- * @param path A relative path to the action
3469
- * @param httpOptions Additional http options, like headers and so on
3470
- * @param handleError Handle errors
3593
+ * Asynchronously updates an existing entity
3594
+ * @param id The ID of the entity to update
3595
+ * @param entity The updated entity data
3596
+ * @param path Optional relative path to the action
3597
+ * @param httpOptions Optional HTTP options (headers, etc.)
3598
+ * @returns Promise resolving to the updated entity
3599
+ */
3600
+ updateAsync(id: string | number, entity: any, path?: string | null, httpOptions?: Object): Promise<any>;
3601
+ /**
3602
+ * Applies a JSON Patch to an entity
3603
+ * @param id The ID of the item to patch
3604
+ * @param body The patch body
3605
+ * @param path Optional relative path to the action
3606
+ * @param httpOptions Optional HTTP options (headers, etc.)
3607
+ * @param handleError Whether to handle errors (default: true)
3471
3608
  */
3472
3609
  patch(id: string | number, body: any, path?: string | null, httpOptions?: any, handleError?: boolean): Observable<any>;
3473
3610
  /**
3474
- * Patches multiple entities
3475
- *
3476
- * @param ids The ids of the items to patch
3477
- * @param body The body
3478
- * @param path A relative path to the action
3479
- * @param httpOptions Additional http options, like headers and so on
3480
- * @param handleError Handle errors
3611
+ * Asynchronously applies a JSON Patch to an entity
3612
+ * @param id The ID of the item to patch
3613
+ * @param body The patch body
3614
+ * @param path Optional relative path to the action
3615
+ * @param httpOptions Optional HTTP options (headers, etc.)
3616
+ * @returns Promise resolving to the patched entity
3617
+ */
3618
+ patchAsync(id: string | number, body: any, path?: string | null, httpOptions?: any): Promise<any>;
3619
+ /**
3620
+ * Applies a JSON Patch to multiple entities
3621
+ * @param ids The IDs of the items to patch
3622
+ * @param body The patch body
3623
+ * @param path Optional relative path to the action
3624
+ * @param httpOptions Optional HTTP options (headers, etc.)
3625
+ * @param handleError Whether to handle errors (default: true)
3481
3626
  */
3482
3627
  patchList(ids: string[] | number[], body: any, path?: string | null, httpOptions?: Object, handleError?: boolean): Observable<any>;
3483
3628
  /**
3484
- * Deletes an entity.
3485
- *
3486
- * @param id The id of the item to delete
3487
- * @param path A relative path to the action
3488
- * @param httpOptions Additional http options, like headers and so on
3489
- * @param handleError Handle errors
3629
+ * Asynchronously applies a JSON Patch to multiple entities
3630
+ * @param ids The IDs of the items to patch
3631
+ * @param body The patch body
3632
+ * @param path Optional relative path to the action
3633
+ * @param httpOptions Optional HTTP options (headers, etc.)
3634
+ * @returns Promise resolving to the patched entities
3635
+ */
3636
+ patchListAsync(ids: string[] | number[], body: any, path?: string | null, httpOptions?: Object): Promise<any>;
3637
+ /**
3638
+ * Deletes an entity by ID
3639
+ * @param id The ID of the item to delete
3640
+ * @param path Optional relative path to the action
3641
+ * @param httpOptions Optional HTTP options (headers, etc.)
3642
+ * @param handleError Whether to handle errors (default: true)
3490
3643
  */
3491
3644
  delete(id: string | number, path?: string | null, httpOptions?: Object, handleError?: boolean): Observable<any>;
3492
3645
  /**
3493
- * Deletes multiple entities.
3494
- *
3495
- * @param ids The ids of the items to delete
3496
- * @param path A relative path to the action
3497
- * @param httpOptions Additional http options, like headers and so on
3498
- * @param handleError Handle errors
3646
+ * Asynchronously deletes an entity by ID
3647
+ * @param id The ID of the item to delete
3648
+ * @param path Optional relative path to the action
3649
+ * @param httpOptions Optional HTTP options (headers, etc.)
3650
+ * @returns Promise resolving to the delete result
3651
+ */
3652
+ deleteAsync(id: string | number, path?: string | null, httpOptions?: Object): Promise<any>;
3653
+ /**
3654
+ * Deletes multiple entities by IDs
3655
+ * @param ids The IDs of the items to delete
3656
+ * @param path Optional relative path to the action
3657
+ * @param httpOptions Optional HTTP options (headers, etc.)
3658
+ * @param handleError Whether to handle errors (default: true)
3499
3659
  */
3500
3660
  deleteList(ids: string[] | number[], path?: string | null, httpOptions?: Object, handleError?: boolean): Observable<any>;
3501
3661
  /**
3502
- * Downloads a file
3503
- *
3504
- * @param path A relative path to the action
3505
- * @param params Some query params
3662
+ * Asynchronously deletes multiple entities by IDs
3663
+ * @param ids The IDs of the items to delete
3664
+ * @param path Optional relative path to the action
3665
+ * @param httpOptions Optional HTTP options (headers, etc.)
3666
+ * @returns Promise resolving to the delete result
3667
+ */
3668
+ deleteListAsync(ids: string[] | number[], path?: string | null, httpOptions?: Object): Promise<any>;
3669
+ /**
3670
+ * Downloads a file from the server
3671
+ * @param path Relative path to the download action
3672
+ * @param params Optional query parameters
3673
+ * @param handleError Whether to handle errors (default: true)
3506
3674
  */
3507
3675
  download(path: string, params?: Object, handleError?: boolean): Observable<any>;
3508
3676
  /**
3509
- * Duplicates a record
3510
- * @param id
3677
+ * Asynchronously downloads a file from the server
3678
+ * @param path Relative path to the download action
3679
+ * @param params Optional query parameters
3680
+ * @returns Promise resolving to the download result
3681
+ */
3682
+ downloadAsync(path: string, params?: Object): Promise<any>;
3683
+ /**
3684
+ * Duplicates a record by ID
3685
+ * @param id The ID of the record to duplicate
3511
3686
  */
3512
3687
  duplicate(id: number): Observable<any>;
3513
3688
  /**
3514
- * Uploads a file
3515
- *
3689
+ * Asynchronously duplicates a record by ID
3690
+ * @param id The ID of the record to duplicate
3691
+ * @returns Promise resolving to the duplicated record
3692
+ */
3693
+ duplicateAsync(id: number): Promise<any>;
3694
+ /**
3695
+ * Uploads a file to the server
3516
3696
  * @param file The file to upload
3517
- * @param path A relative path to the action
3697
+ * @param path Optional relative path to the upload action (default: 'upload')
3698
+ * @param extraData Optional extra form data to include
3699
+ * @returns Observable of HttpEvent for upload progress tracking
3518
3700
  */
3519
3701
  upload(file: File, path?: string, extraData?: any): Observable<any>;
3520
3702
  /**
3521
- * Convert Object to FromData
3522
- *
3523
- * @param body
3703
+ * Asynchronously uploads a file to the server
3704
+ * @param file The file to upload
3705
+ * @param path Optional relative path to the upload action (default: 'upload')
3706
+ * @param extraData Optional extra form data to include
3707
+ * @returns Promise resolving to the upload result
3708
+ */
3709
+ uploadAsync(file: File, path?: string, extraData?: any): Promise<any>;
3710
+ /**
3711
+ * Converts an object to FormData
3712
+ * @param body The object to convert
3713
+ * @returns FormData instance
3524
3714
  */
3525
3715
  protected toFormData(body: any): FormData;
3526
3716
  /**
3527
- * Convert Object to HttpHeaders
3528
- *
3529
- * @param body
3717
+ * Converts an object to HttpHeaders
3718
+ * @param body The object to convert
3719
+ * @returns HttpHeaders instance
3530
3720
  */
3531
3721
  protected toHttpHeaders(body?: Object | null): HttpHeaders;
3532
3722
  /**
3533
- * Gets file name from Httpheaders: Content-Disposition
3534
- * @param disposition
3723
+ * Extracts file name from Content-Disposition header
3724
+ * @param headers HttpHeaders containing Content-Disposition
3725
+ * @returns The extracted file name or empty string
3535
3726
  */
3536
3727
  protected getFileNameFromHeaders(headers: HttpHeaders): string;
3537
3728
  /**
3538
3729
  * Handles an HTTP operation that failed.
3539
- * Allows the application to continue by throwing a parsed error.
3540
- *
3541
- * @template T The type of the observable result.
3542
- * @param operation The name of the operation that failed. Defaults to 'operation'.
3543
- * @param result An optional value to return as the observable result.
3544
- * @returns A function that processes the error and returns an observable.
3730
+ * Throws a parsed error for the application to handle.
3731
+ * @param operation The name of the operation that failed (for logging)
3732
+ * @returns A function that processes the error and returns an observable
3545
3733
  */
3546
3734
  protected handleError(operation?: string): (error: any) => Observable<any>;
3547
3735
  /**
3548
- * Return distinct message for sent, upload progress, & response events
3549
- *
3550
- * @param event The response event
3551
- * @param file The file beeing uploaded
3736
+ * Returns a distinct message for upload events
3737
+ * @param event The HttpEvent from the upload
3738
+ * @param file The file being uploaded
3739
+ * @returns A user-friendly status message
3552
3740
  */
3553
3741
  protected getEventMessage(event: HttpEvent<any>, file: File): string;
3554
3742
  /**
3555
- * Shows upload progress.
3556
- *
3557
- * @param message
3743
+ * Logs upload progress messages to the console
3744
+ * @param message The message to log
3558
3745
  */
3559
3746
  protected showProgress(message: string): void;
3560
3747
  }
@@ -3613,6 +3800,33 @@ declare class Facet {
3613
3800
  constructor(init?: Partial<Facet>);
3614
3801
  }
3615
3802
 
3803
+ /**
3804
+ * Pagination class to represent paginated data.
3805
+ * @template TModel - The type of items in the pagination.
3806
+ */
3807
+ declare class Pagination<TModel> {
3808
+ /**
3809
+ * Current page number.
3810
+ */
3811
+ page: number;
3812
+ /**
3813
+ * Number of items per page.
3814
+ */
3815
+ pageSize: number;
3816
+ /**
3817
+ * Total number of pages.
3818
+ */
3819
+ pageCount: number;
3820
+ /**
3821
+ * Total number of items across all pages.
3822
+ */
3823
+ total: number;
3824
+ /**
3825
+ * Array of items for the current page.
3826
+ */
3827
+ items: TModel[];
3828
+ }
3829
+
3616
3830
  /**
3617
3831
  * A generic datasource for data-table
3618
3832
  */
@@ -3640,7 +3854,7 @@ declare class TableDataSource<TEntity, TService extends GenericService<TEntity>>
3640
3854
  * It is a BehaviorSubject that holds pagination data or a null value if no data is loaded.
3641
3855
  * @type {BehaviorSubject<Pagination<TEntity> | any>}
3642
3856
  */
3643
- onDataLoaded: BehaviorSubject<any>;
3857
+ onDataLoaded: BehaviorSubject<Pagination<TEntity> | any>;
3644
3858
  /**
3645
3859
  * @property selectionModel
3646
3860
  * @description Used to power selecting one or more options from a list.
@@ -5683,6 +5897,7 @@ declare class FormFieldDefinition<TEntity = any, TProperty = any> {
5683
5897
  triggerMapper?: (x: TProperty, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
5684
5898
  /**
5685
5899
  * Mode of the trigger (e.g., chip).
5900
+ * @deprecated This property is no longer used and will be removed in a future version.
5686
5901
  */
5687
5902
  triggerMode?: 'chip';
5688
5903
  /**
@@ -6116,21 +6331,14 @@ declare abstract class GenericFormBaseComponent<TEntity extends IEntity, TServic
6116
6331
  * This method traverses the form controls and marks any invalid controls as dirty and touched to trigger validation messages in the UI.
6117
6332
  * @param container The form group, array, or control to traverse.
6118
6333
  */
6119
- private markControlsAsInvalid;
6334
+ protected markControlsAsInvalid(container: FormGroup | FormArray | AbstractControl): void;
6120
6335
  /**
6121
6336
  * Recursively parses the form to collect error messages from the DOM.
6122
6337
  * This method traverses the form controls and attempts to find associated error messages in the DOM, collecting them into an array.
6123
6338
  * @param container The form group, array, or control to traverse.
6124
6339
  * @param errors The array to collect error messages into.
6125
6340
  */
6126
- private collectErrors;
6127
- /**
6128
- * Checks if the form is valid.
6129
- * This method validates the form, marks invalid controls, and shows error messages if any.
6130
- * @param form The form to check for validity.
6131
- * @returns A boolean indicating whether the form is valid.
6132
- */
6133
- isFormValidOld(form?: NgForm | FormGroup): boolean;
6341
+ protected collectErrors(container: FormGroup | FormArray | AbstractControl, errors: string[]): void;
6134
6342
  /**
6135
6343
  * Resets form controls.
6136
6344
  * This method marks all controls in the form as pristine, untouched, and updates their validity.
@@ -6242,6 +6450,17 @@ declare abstract class GenericFormBaseComponent<TEntity extends IEntity, TServic
6242
6450
  * such as disabling form controls if the form is set to be disabled.
6243
6451
  */
6244
6452
  protected onAfterFormBuild(): void;
6453
+ /**
6454
+ * Event emitted when the form is invalid.
6455
+ * This method allows performing operations when the form is found to be invalid.
6456
+ * @param errors The validation errors found in the form.
6457
+ */
6458
+ protected onAfterFormInvalid(errors: ValidationErrors | null): void;
6459
+ /**
6460
+ * Event emitted when the form is valid.
6461
+ * This method allows performing operations when the form is found to be valid.
6462
+ */
6463
+ protected onAfterFormValid(): void;
6245
6464
  /**
6246
6465
  * Event emitted when the entity has been created.
6247
6466
  */
@@ -8894,6 +9113,59 @@ interface ICanDisable {
8894
9113
  /** Mixin to augment a component or directive with a `disabled` property. */
8895
9114
  declare function mixinDisabled<T extends Constructor$1<{}>>(base: T): Constructor$1<ICanDisable> & T;
8896
9115
 
9116
+ declare class MsEnumDisplayComponent {
9117
+ /**
9118
+ * The numeric value of the enum to convert.
9119
+ */
9120
+ readonly value: i0.InputSignal<number | null | undefined>;
9121
+ /**
9122
+ * The enum type (as an object) that defines the mapping of values to their string representations.
9123
+ * @type {any}
9124
+ */
9125
+ readonly enumType: any;
9126
+ /**
9127
+ * Optional metadata for the enum values, which can be used to provide additional display information.
9128
+ * This can be either a string prefix or an object containing EnumMetadata for each enum value.
9129
+ */
9130
+ readonly metadata: i0.InputSignal<string | {
9131
+ [key: number]: EnumMetadata;
9132
+ } | undefined>;
9133
+ /**
9134
+ * Determines whether to display the icon alongside the text.
9135
+ * Defaults to false (hidden).
9136
+ */
9137
+ readonly showIcon: i0.InputSignal<boolean>;
9138
+ /**
9139
+ * Optional entity context passed down to evaluate dynamic icon functions.
9140
+ */
9141
+ readonly entity: i0.InputSignal<any>;
9142
+ /**
9143
+ * Optional execution context passed down to evaluate dynamic icon functions.
9144
+ */
9145
+ readonly context: i0.InputSignal<any>;
9146
+ /**
9147
+ * Extracts the current metadata object if it exists for the given value.
9148
+ */
9149
+ private readonly currentMetadata;
9150
+ /**
9151
+ * Dynamically evaluates the Icon configuration properties based on whether they are static values or context functions.
9152
+ */
9153
+ readonly resolvedIcon: i0.Signal<{
9154
+ matIcon: any;
9155
+ svgIcon: any;
9156
+ fontIcon: any;
9157
+ fontSet: string;
9158
+ color: any;
9159
+ cssClass: any;
9160
+ } | null>;
9161
+ /**
9162
+ * Resolves the text to display based on metadata or enum lookup.
9163
+ */
9164
+ readonly resolvedText: i0.Signal<string>;
9165
+ static ɵfac: i0.ɵɵFactoryDeclaration<MsEnumDisplayComponent, never>;
9166
+ static ɵcmp: i0.ɵɵComponentDeclaration<MsEnumDisplayComponent, "ms-enum-display", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "enumType": { "alias": "enumType"; "required": false; "isSignal": true; }; "metadata": { "alias": "metadata"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "entity": { "alias": "entity"; "required": false; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
9167
+ }
9168
+
8897
9169
  declare const headerMetadataKey = "customer:vdHeader";
8898
9170
  declare const endpointMetadataKey = "customer:vdEndpoint";
8899
9171
 
@@ -9543,7 +9815,7 @@ declare class EnumPipe implements PipeTransform {
9543
9815
  * @returns The formatted string representation of the enum value, including any specified prefixes or suffixes,
9544
9816
  * or undefined if the value is not recognized in the provided enum type.
9545
9817
  */
9546
- transform(value: number, enumType: any, prefixOrMetadata?: string | {
9818
+ transform(value: number | null | undefined, enumType: any, prefixOrMetadata?: string | {
9547
9819
  [key: number]: EnumMetadata;
9548
9820
  }, suffix?: string): any;
9549
9821
  static ɵfac: i0.ɵɵFactoryDeclaration<EnumPipe, never>;
@@ -10575,85 +10847,327 @@ declare const formDefinitionMetadataKey = "custom:vdFormDefinition";
10575
10847
  declare const formFieldsMetadataKey = "custom::vdFormFields";
10576
10848
  declare const formFieldGroupsMetadataKey = "custom:vdFormFieldGroups";
10577
10849
 
10850
+ /**
10851
+ * Event object emitted when the editor content changes.
10852
+ */
10578
10853
  interface EditorChange {
10579
10854
  textContent: string;
10580
10855
  displayContent: string;
10581
10856
  }
10857
+ /**
10858
+ * Directive that allows a TinyMCE editor to be used inside a MatFormField.
10859
+ */
10582
10860
  declare class MatFormFieldEditorDirective implements MatFormFieldControl<any>, DoCheck {
10583
10861
  ngControl: NgControl;
10584
- private valueAccessor;
10585
10862
  private platform;
10586
10863
  private autofillMonitor;
10587
- private ngZone;
10588
10864
  /**
10589
- * Tracks the error state of the select.
10590
- */
10865
+ * Tracks the error state of the editor control.
10866
+ * @type {_ErrorStateTracker}
10867
+ */
10591
10868
  protected errorStateTracker: _ErrorStateTracker;
10592
10869
  /**
10593
10870
  * Object used to control when error messages are shown.
10871
+ * @type {ErrorStateMatcher}
10594
10872
  */
10595
10873
  get errorStateMatcher(): ErrorStateMatcher;
10596
10874
  set errorStateMatcher(value: ErrorStateMatcher);
10597
10875
  /**
10598
10876
  * Whether the control is in an error state.
10877
+ * @type {boolean}
10599
10878
  */
10600
10879
  get errorState(): boolean;
10601
10880
  set errorState(value: boolean);
10602
10881
  /**
10603
- * Emits whenever the component state changes and should cause the parent
10882
+ * Stream that emits whenever the state of the control changes and should cause the parent
10604
10883
  * form-field to update. Implemented as part of `MatFormFieldControl`.
10605
- * @docs-private
10884
+ * @type {Subject<void>}
10606
10885
  */
10607
10886
  readonly stateChanges: Subject<void>;
10608
10887
  /**
10609
- * _disabled: boolean
10888
+ * Internal tracking for the disabled state.
10889
+ * @type {boolean}
10610
10890
  */
10611
10891
  private _disabled;
10892
+ /**
10893
+ * Whether the control is disabled.
10894
+ * @type {boolean}
10895
+ */
10612
10896
  get disabled(): boolean;
10613
10897
  set disabled(value: boolean);
10614
10898
  /**
10615
- * _id: string
10899
+ * Internal tracking for the unique ID.
10900
+ * @type {string | undefined}
10616
10901
  */
10617
10902
  private _id?;
10903
+ /**
10904
+ * Unique ID of the element.
10905
+ * @type {string}
10906
+ */
10618
10907
  get id(): string;
10619
10908
  set id(value: string);
10620
10909
  /**
10621
- * This input just provides the placeholder to the mat-form-field.
10622
- * Placeholder setup will still have to be done according to the
10623
- * TinyMCE placeholder plugin being used.
10910
+ * This input provides the placeholder to the mat-form-field.
10911
+ * Visual setup is handled via TinyMCE placeholder configuration.
10912
+ * @type {string}
10624
10913
  */
10625
10914
  placeholder: string;
10915
+ /**
10916
+ * Internal tracking for the required state.
10917
+ * @type {boolean}
10918
+ */
10626
10919
  private _required;
10920
+ /**
10921
+ * Whether the control is required.
10922
+ * @type {boolean}
10923
+ */
10627
10924
  get required(): boolean;
10628
10925
  set required(value: boolean);
10926
+ /**
10927
+ * The value of the editor control (HTML content).
10928
+ * @type {string}
10929
+ */
10629
10930
  get value(): string;
10630
10931
  set value(value: string);
10932
+ /**
10933
+ * Event emitted when the editor content is modified.
10934
+ * @type {EventEmitter<EditorChange>}
10935
+ */
10631
10936
  editorChange: EventEmitter<EditorChange>;
10937
+ /**
10938
+ * Whether the control is empty.
10939
+ * @type {boolean}
10940
+ */
10632
10941
  empty: boolean;
10942
+ /**
10943
+ * Whether the control is focused.
10944
+ * @type {boolean}
10945
+ */
10633
10946
  focused: boolean;
10947
+ /**
10948
+ * The selector used to identify this control type in the form field.
10949
+ * @type {string}
10950
+ */
10634
10951
  controlType: string;
10952
+ /**
10953
+ * The aria-describedby attribute for the control.
10954
+ * @type {string | null | undefined}
10955
+ */
10635
10956
  ariaDescribedby?: string | null;
10957
+ /**
10958
+ * Whether the label should float.
10959
+ * @type {boolean}
10960
+ */
10636
10961
  shouldLabelFloat: boolean;
10962
+ /**
10963
+ * Whether the control is currently autofilled by the browser.
10964
+ * @type {boolean}
10965
+ */
10637
10966
  autofilled: boolean;
10967
+ /**
10968
+ * Generated unique ID for the instance.
10969
+ * @type {string}
10970
+ */
10638
10971
  private uid;
10972
+ /**
10973
+ * Reference to the TinyMCE editor instance.
10974
+ * @type {Editor | undefined}
10975
+ */
10639
10976
  private editor?;
10977
+ /**
10978
+ * Reference to the editor's underlying HTML element.
10979
+ * @type {HTMLElement | undefined}
10980
+ */
10640
10981
  private editorElement?;
10641
- constructor(ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, valueAccessor: EditorComponent, platform: Platform, autofillMonitor: AutofillMonitor, ngZone: NgZone);
10982
+ /**
10983
+ * Constructor that injects necessary dependencies and initializes the error state tracker.
10984
+ * @param ngControl The NgControl associated with this control, if any.
10985
+ * @param parentForm The parent NgForm, if any.
10986
+ * @param parentFormGroup The parent FormGroupDirective, if any.
10987
+ * @param defaultErrorStateMatcher The default ErrorStateMatcher to use for error state tracking.
10988
+ * @param valueAccessor The NG_VALUE_ACCESSOR for this control, which is the EditorComponent.
10989
+ * @param platform The Platform service for checking the current platform.
10990
+ * @param autofillMonitor The AutofillMonitor service for monitoring autofill state.
10991
+ */
10992
+ constructor(ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, platform: Platform, autofillMonitor: AutofillMonitor);
10993
+ /**
10994
+ * Standard Angular lifecycle hook used to check for state changes.
10995
+ */
10642
10996
  ngDoCheck(): void;
10643
10997
  /**
10644
- * Updates the error state of the control. This should be called whenever the
10645
- * inputs bound to the component change.
10998
+ * Updates the error state of the control.
10646
10999
  */
10647
11000
  updateErrorState(): void;
11001
+ /**
11002
+ * Handles the editor initialization event and caches references.
11003
+ * @param event The initialization event containing the editor instance.
11004
+ */
10648
11005
  onEditorInit({ editor }: {
10649
11006
  editor: Editor;
10650
11007
  }): void;
11008
+ /**
11009
+ * Sets the list of IDs that describe the control.
11010
+ * Implemented as part of MatFormFieldControl.
11011
+ */
10651
11012
  setDescribedByIds(ids: string[]): void;
11013
+ /**
11014
+ * Handles clicks on the container by focusing the editor.
11015
+ * Implemented as part of MatFormFieldControl.
11016
+ */
10652
11017
  onContainerClick(): void;
10653
- static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldEditorDirective, [{ optional: true; self: true; }, { optional: true; }, { optional: true; }, null, { self: true; }, null, null, null]>;
11018
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldEditorDirective, [{ optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null, null]>;
10654
11019
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatFormFieldEditorDirective, "[tinyMatFormControl]", never, { "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "editorChange": "editorChange"; }, never, never, true, never>;
10655
11020
  }
10656
11021
 
11022
+ /**
11023
+ * Directive that allows a radio button to be used inside a MatFormField.
11024
+ */
11025
+ declare class MatFormFieldRadioDirective implements MatFormFieldControl<any>, DoCheck {
11026
+ ngControl: NgControl;
11027
+ private _elementRef;
11028
+ private platform;
11029
+ private autofillMonitor;
11030
+ /**
11031
+ * Tracks the error state of the radio button control.
11032
+ * @type {_ErrorStateTracker}
11033
+ */
11034
+ protected errorStateTracker: _ErrorStateTracker;
11035
+ /**
11036
+ * Object used to control when error messages are shown.
11037
+ * @type {ErrorStateMatcher}
11038
+ */
11039
+ get errorStateMatcher(): ErrorStateMatcher;
11040
+ set errorStateMatcher(value: ErrorStateMatcher);
11041
+ /**
11042
+ * Whether the control is in an error state.
11043
+ * @type {boolean}
11044
+ */
11045
+ get errorState(): boolean;
11046
+ set errorState(value: boolean);
11047
+ /**
11048
+ * Stream that emits whenever the state of the control changes and should cause the parent
11049
+ * form-field to update. Implemented as part of `MatFormFieldControl`.
11050
+ * @type {Subject<void>}
11051
+ */
11052
+ readonly stateChanges: Subject<void>;
11053
+ /**
11054
+ * Internal tracking for the disabled state.
11055
+ * @type {boolean}
11056
+ */
11057
+ private _disabled;
11058
+ /**
11059
+ * Whether the control is disabled.
11060
+ * @type {boolean}
11061
+ */
11062
+ get disabled(): boolean;
11063
+ set disabled(value: boolean);
11064
+ /**
11065
+ * Internal tracking for the unique ID.
11066
+ * @type {string | undefined}
11067
+ */
11068
+ private _id?;
11069
+ /**
11070
+ * Unique ID of the element.
11071
+ * @type {string}
11072
+ */
11073
+ get id(): string;
11074
+ set id(value: string);
11075
+ /**
11076
+ * This input provides the placeholder to the mat-form-field.
11077
+ * Visual setup is handled via TinyMCE placeholder configuration.
11078
+ * @type {string}
11079
+ */
11080
+ placeholder: string;
11081
+ /**
11082
+ * Internal tracking for the required state.
11083
+ * @type {boolean}
11084
+ */
11085
+ private _required;
11086
+ /**
11087
+ * Whether the control is required.
11088
+ * @type {boolean}
11089
+ */
11090
+ get required(): boolean;
11091
+ set required(value: boolean);
11092
+ /**
11093
+ * Internal tracking for the value.
11094
+ * @type {any}
11095
+ */
11096
+ private _value;
11097
+ /**
11098
+ * The value of the radio button control.
11099
+ * @type {any}
11100
+ */
11101
+ get value(): any;
11102
+ set value(value: any);
11103
+ /**
11104
+ * Whether the control is empty.
11105
+ * @type {boolean}
11106
+ */
11107
+ get empty(): boolean;
11108
+ /**
11109
+ * Whether the control is focused.
11110
+ * @type {boolean}
11111
+ */
11112
+ focused: boolean;
11113
+ /**
11114
+ * The selector used to identify this control type in the form field.
11115
+ * @type {string}
11116
+ */
11117
+ controlType: string;
11118
+ /**
11119
+ * The aria-describedby attribute for the control.
11120
+ * @type {string | null | undefined}
11121
+ */
11122
+ ariaDescribedby?: string | null;
11123
+ /**
11124
+ * Whether the label should float.
11125
+ * @type {boolean}
11126
+ */
11127
+ get shouldLabelFloat(): boolean;
11128
+ /**
11129
+ * Whether the control is currently autofilled by the browser.
11130
+ * @type {boolean}
11131
+ */
11132
+ autofilled: boolean;
11133
+ /**
11134
+ * Generated unique ID for the instance.
11135
+ * @type {string}
11136
+ */
11137
+ private uid;
11138
+ /**
11139
+ * Constructor that injects necessary dependencies and initializes the error state tracker.
11140
+ * @param ngControl The NgControl associated with this control, if any.
11141
+ * @param parentForm The parent NgForm, if any.
11142
+ * @param parentFormGroup The parent FormGroupDirective, if any.
11143
+ * @param defaultErrorStateMatcher The default ErrorStateMatcher to use for error state tracking.
11144
+ * @param _elementRef Reference to the host element.
11145
+ * @param platform The Platform service for checking the current platform.
11146
+ * @param autofillMonitor The AutofillMonitor service for monitoring autofill state.
11147
+ */
11148
+ constructor(ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, _elementRef: ElementRef<HTMLElement>, platform: Platform, autofillMonitor: AutofillMonitor);
11149
+ /**
11150
+ * Standard Angular lifecycle hook used to check for state changes.
11151
+ */
11152
+ ngDoCheck(): void;
11153
+ /**
11154
+ * Updates the error state of the control.
11155
+ */
11156
+ updateErrorState(): void;
11157
+ /**
11158
+ * Sets the list of IDs that describe the control.
11159
+ * Implemented as part of MatFormFieldControl.
11160
+ */
11161
+ setDescribedByIds(ids: string[]): void;
11162
+ /**
11163
+ * Handles clicks on the container by focusing the element.
11164
+ * Implemented as part of MatFormFieldControl.
11165
+ */
11166
+ onContainerClick(): void;
11167
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldRadioDirective, [{ optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null, null, null]>;
11168
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatFormFieldRadioDirective, "[radioMatFormControl]", never, { "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
11169
+ }
11170
+
10657
11171
  declare class MatFormFieldReadonlyDirective {
10658
11172
  private matFormField;
10659
11173
  /**
@@ -12771,11 +13285,6 @@ declare class VdSelectComponent extends AbstractSelectFormField<any> implements
12771
13285
  */
12772
13286
  get triggerCssClass(): string | undefined;
12773
13287
  set triggerCssClass(triggerCssClass: string | undefined);
12774
- /**
12775
- * Mode of the trigger.
12776
- */
12777
- get triggerMode(): string | undefined;
12778
- set triggerMode(triggerMode: 'chip' | undefined);
12779
13288
  /**
12780
13289
  * Gets the display values of the selected options for the trigger.
12781
13290
  *
@@ -12829,7 +13338,7 @@ declare class VdSelectComponent extends AbstractSelectFormField<any> implements
12829
13338
  */
12830
13339
  handleFilter($event?: Event): void;
12831
13340
  static ɵfac: i0.ɵɵFactoryDeclaration<VdSelectComponent, never>;
12832
- static ɵcmp: i0.ɵɵComponentDeclaration<VdSelectComponent, "vd-select", never, { "triggerCssClass": { "alias": "triggerCssClass"; "required": false; }; "triggerMode": { "alias": "triggerMode"; "required": false; }; }, {}, ["optionTemplate", "triggerTemplate"], never, true, never>;
13341
+ static ɵcmp: i0.ɵɵComponentDeclaration<VdSelectComponent, "vd-select", never, { "triggerCssClass": { "alias": "triggerCssClass"; "required": false; }; }, {}, ["optionTemplate", "triggerTemplate"], never, true, never>;
12833
13342
  }
12834
13343
 
12835
13344
  declare class FilterClearComponent {
@@ -13452,33 +13961,6 @@ declare function ColumnObject<T = any>(type: {
13452
13961
  */
13453
13962
  declare function getTableDefinition(origin: object): TableDefinition;
13454
13963
 
13455
- /**
13456
- * Pagination class to represent paginated data.
13457
- * @template TModel - The type of items in the pagination.
13458
- */
13459
- declare class Pagination<TModel> {
13460
- /**
13461
- * Current page number.
13462
- */
13463
- page: number;
13464
- /**
13465
- * Number of items per page.
13466
- */
13467
- pageSize: number;
13468
- /**
13469
- * Total number of pages.
13470
- */
13471
- pageCount: number;
13472
- /**
13473
- * Total number of items across all pages.
13474
- */
13475
- total: number;
13476
- /**
13477
- * Array of items for the current page.
13478
- */
13479
- items: TModel[];
13480
- }
13481
-
13482
13964
  /**
13483
13965
  * To modify the labels and text displayed, create a new instance of MdPaginatorIntl and
13484
13966
  * include it in a custom provider
@@ -13525,7 +14007,7 @@ declare class TableStaticDataSource<TEntity> extends MatTableDataSource<TEntity>
13525
14007
  * to track the loading state and any updates to the data.
13526
14008
  * @type {BehaviorSubject<Pagination<TEntity> | any>}
13527
14009
  */
13528
- onDataLoaded: BehaviorSubject<any>;
14010
+ onDataLoaded: BehaviorSubject<Pagination<TEntity> | any>;
13529
14011
  /**
13530
14012
  * @property items
13531
14013
  * @description The list of items to be displayed in the data table.
@@ -13647,5 +14129,5 @@ declare class TableStaticDataSource<TEntity> extends MatTableDataSource<TEntity>
13647
14129
  getSelected: <TType>(key?: string) => TType[];
13648
14130
  }
13649
14131
 
13650
- export { AbstractMatFormField, AbstractSelectFormField, ActionItem, Api, ApiResponse, AppEvent, AppEventType, AppSetting, AppStorage, AsyncValidationDirective, AuditEntity, AuditUser, AuthHelper, AuthUser, AutofocusDirective, BaseComponent, BaseDirective, BaseEntity, BaseInterceptor, BaseService, BindPipe, CachingInterceptor, Column, ColumnObject, Common, CommonError, CommonHandlerContext, ConfirmExitGuard, ContextHelper, DIALOG_PROVIDER, DIALOG_PROVIDER_FACTORY, DataSourceFilterDirective, DataSourcePipe, DatePickerHeaderComponent, DisableControlDirective, Display, DisplayNameNumberProjection, DisplayNameProjection, DynamicBuilder, DynamicComponentCompiler, EXPORT_DIALOG_COMPONENT, EmptyStringResetDirective, EnumMetadata, EnumPipe, EnumService, EqualValidator, ErrorMessageBindingStrategy, EventQueueService, Facet, FacetValue, FieldFuncPipe, FileControlDirective, FileService, FileSizePipe, FilterClearComponent, FilterDateComponent, FilterGlue, FilterInputComponent, FilterOperator, FilterPipe, FilterSelectComponent, FirstLetterPipe, Form, FormArrayPipe, FormBuilderConfiguration, FormControlPipe, FormDefinition, FormField, FormFieldDefinition, FormFieldGroup, FormFieldGroupDefinition, FormFieldType, FormGroupPipe, FuncPipe, GenericEmbeddedListComponent, GenericFormBaseComponent, GenericFormComponent, GenericListComponent, GenericReactiveFormComponent, GenericService, GlobalRoles, Grid, GroupFilterPipe, HtmlControlTemplateDirective, IAbstractControl, Icon, ImageFileControlDirective, IpVersion, KeyValue, KeysPipe, LayoutToggle, LoadingScreenInterceptor, LoadingScreenService, MEDIA_PROVIDER, MEDIA_PROVIDER_FACTORY, MatFormFieldEditorDirective, MatFormFieldReadonlyDirective, Menu, MenuClient, MenuDepartment, MenuFormIncludesResolve, MenuItem, MenuItemClient, MenuItemDepartment, MenuItemFormIncludesResolve, MenuItemService, MenuItemTarget, MenuListProjectionResolve, MenuResolve, MenuScope, MenuSettings, MenuSettingsResolve, MessageType, ModifiableEntity, MonthNamePipe, NameNumberProjection, NameProjection, NativeElementInjectorDirective, NumericValueType, OnlyNumberDirective, OrderPipe, Pagination, PaginatorIntl, ParseDecimalDirective, Permission, PlaceholderPipe, PrefixDirective, PrintService, PropertyJoinPipe, ReactiveFormConfig, ReactiveTypedFormsModule, RemoveWhitespaceDirective, ResetFormType, RxFormArray, RxFormBuilder, RxFormControl, RxFormControlDirective, RxFormGroup, RxReactiveFormsModule, RxwebFormDirective, RxwebValidators, SafeHtmlPipe, Salutation, SaveAction, SplitPipe, SubMenuResolve, SuffixButton, Table, TableColumn, TableColumnConfig, TableColumnType, TableConfig, TableDataSource, TableDefinition, TableQueryConfig, TableStaticDataSource, TaskDialogData, Templates, TimePipe, TitleCase, TitleProjection, TruncatePipe, TypedForm, TypedFormBuilder, UniqueValidatorDirective, UrlValidationType, Utils, ValidationAlphabetLocale, ValueAccessorBase, ValuesPipe, VdAlertDialogComponent, VdChipsComponent, VdCodeDirective, VdConfirmDialogComponent, VdCustomDirective, VdDelayedHoverDirective, VdDialogActionsDirective, VdDialogComponent, VdDialogContentDirective, VdDialogService, VdDialogTitleDirective, VdDynamicMenuComponent, VdDynamicTableComponent, VdDynamicTableConfigDialogComponent, VdEditorDirective, VdFileDirective, VdFileInputComponent, VdFileModule, VdFilterOptionDirective, VdGenericFormComponent, VdGenericFormCustomFieldDirective, VdLayoutCardOverComponent, VdLayoutCloseDirective, VdLayoutCompactComponent, VdLayoutComponent, VdLayoutFooterComponent, VdLayoutManageListCloseDirective, VdLayoutManageListComponent, VdLayoutManageListOpenDirective, VdLayoutManageListToggleDirective, VdLayoutNavComponent, VdLayoutNavListCloseDirective, VdLayoutNavListComponent, VdLayoutNavListOpenDirective, VdLayoutNavListToggleDirective, VdLayoutOpenDirective, VdLayoutToggleDirective, VdListOptionDirective, VdListToolbarComponent, VdMediaService, VdMediaToggleDirective, VdMenuComponent, VdNavigationDrawerComponent, VdNavigationDrawerMenuDirective, VdNavigationDrawerToolbarDirective, VdPromptDialogComponent, VdSelectComponent, VdSelectOptionDirective, VdSelectTriggerDirective, VdTableFieldDirective, VdTaskDialogComponent, allOf, allOfAsync, alpha, alphaAsync, alphaNumeric, alphaNumericAsync, and, ascii, async, blacklist, choice, choiceAsync, compare, compose, contains, containsAsync, creditCard, creditCardAsync, cusip, custom, customAsync, dataUri, date, dateAsync, different, digit, disable, elementClass, email, endpointMetadataKey, endsWith, endsWithAsync, error, escape, even, extension, extensionAsync, factor, factorAsync, file, fileAsync, fileSize, fileSizeAsync, formDefinitionMetadataKey, formFieldGroupsMetadataKey, formFieldsMetadataKey, getDisplay, getEndpoint, getFormDefinition, getFormGroups, getTableDefinition, greaterThan, greaterThanAsync, greaterThanEqualTo, greaterThanEqualToAsync, grid, headerMetadataKey, hexColor, iban, ibanAsync, image, imageAsync, json, latLong, latitude, leapYear, lessThan, lessThanAsync, lessThanEqualTo, lessThanEqualToAsync, longitude, lowerCase, ltrim, mac, mask, maxDate, maxDateAsync, maxLength, maxLengthAsync, maxNumber, maxNumberAsync, maxTime, maxTimeAsync, minDate, minDateAsync, minLength, minLengthAsync, minNumber, minNumberAsync, minTime, minTimeAsync, mixinDisableRipple, mixinDisabled, model, noneOf, noneOfAsync, not, notEmpty, numeric, numericAsync, odd, oneOf, oneOfAsync, or, password, passwordAsync, pattern, patternAsync, port, prefix, primeNumber, prop, propArray, propObject, range, rangeAsync, required, requiredTrue, rtrim, rule, sanitize, startsWith, startsWithAsync, stripLow, suffix, tableColumnsMetadataKey, tableDefinitionMetadataKey, time, timeAsync, toBoolean, toDate, toDouble, toFloat, toInt, toString, trim, unique, updateOn, upperCase, url, urlAsync, vdCollapseAnimation, whitelist };
14132
+ export { AbstractMatFormField, AbstractSelectFormField, ActionItem, Api, ApiResponse, AppEvent, AppEventType, AppSetting, AppStorage, AsyncValidationDirective, AuditEntity, AuditUser, AuthHelper, AuthUser, AutofocusDirective, BaseComponent, BaseDirective, BaseEntity, BaseInterceptor, BaseService, BindPipe, CachingInterceptor, Column, ColumnObject, Common, CommonError, CommonHandlerContext, ConfirmExitGuard, ContextHelper, DIALOG_PROVIDER, DIALOG_PROVIDER_FACTORY, DataSourceFilterDirective, DataSourcePipe, DatePickerHeaderComponent, DisableControlDirective, Display, DisplayNameNumberProjection, DisplayNameProjection, DynamicBuilder, DynamicComponentCompiler, EXPORT_DIALOG_COMPONENT, EmptyStringResetDirective, EnumMetadata, EnumPipe, EnumService, EqualValidator, ErrorMessageBindingStrategy, EventQueueService, Facet, FacetValue, FieldFuncPipe, FileControlDirective, FileService, FileSizePipe, FilterClearComponent, FilterDateComponent, FilterGlue, FilterInputComponent, FilterOperator, FilterPipe, FilterSelectComponent, FirstLetterPipe, Form, FormArrayPipe, FormBuilderConfiguration, FormControlPipe, FormDefinition, FormField, FormFieldDefinition, FormFieldGroup, FormFieldGroupDefinition, FormFieldType, FormGroupPipe, FuncPipe, GenericEmbeddedListComponent, GenericFormBaseComponent, GenericFormComponent, GenericListComponent, GenericReactiveFormComponent, GenericService, GlobalRoles, Grid, GroupFilterPipe, HtmlControlTemplateDirective, IAbstractControl, Icon, ImageFileControlDirective, IpVersion, KeyValue, KeysPipe, LayoutToggle, LoadingScreenInterceptor, LoadingScreenService, MEDIA_PROVIDER, MEDIA_PROVIDER_FACTORY, MatFormFieldEditorDirective, MatFormFieldRadioDirective, MatFormFieldReadonlyDirective, Menu, MenuClient, MenuDepartment, MenuFormIncludesResolve, MenuItem, MenuItemClient, MenuItemDepartment, MenuItemFormIncludesResolve, MenuItemService, MenuItemTarget, MenuListProjectionResolve, MenuResolve, MenuScope, MenuSettings, MenuSettingsResolve, MessageType, ModifiableEntity, MonthNamePipe, MsEnumDisplayComponent, NameNumberProjection, NameProjection, NativeElementInjectorDirective, NumericValueType, OnlyNumberDirective, OrderPipe, Pagination, PaginatorIntl, ParseDecimalDirective, Permission, PlaceholderPipe, PrefixDirective, PrintService, PropertyJoinPipe, ReactiveFormConfig, ReactiveTypedFormsModule, RemoveWhitespaceDirective, ResetFormType, RxFormArray, RxFormBuilder, RxFormControl, RxFormControlDirective, RxFormGroup, RxReactiveFormsModule, RxwebFormDirective, RxwebValidators, SafeHtmlPipe, Salutation, SaveAction, SplitPipe, SubMenuResolve, SuffixButton, Table, TableColumn, TableColumnConfig, TableColumnType, TableConfig, TableDataSource, TableDefinition, TableQueryConfig, TableStaticDataSource, TaskDialogData, Templates, TimePipe, TitleCase, TitleProjection, TruncatePipe, TypedForm, TypedFormBuilder, UniqueValidatorDirective, UrlValidationType, Utils, ValidationAlphabetLocale, ValueAccessorBase, ValuesPipe, VdAlertDialogComponent, VdChipsComponent, VdCodeDirective, VdConfirmDialogComponent, VdCustomDirective, VdDelayedHoverDirective, VdDialogActionsDirective, VdDialogComponent, VdDialogContentDirective, VdDialogHeaderActionsComponent, VdDialogHeaderComponent, VdDialogMaximizeDirective, VdDialogService, VdDialogTitleDirective, VdDynamicMenuComponent, VdDynamicTableComponent, VdDynamicTableConfigDialogComponent, VdEditorDirective, VdFileDirective, VdFileInputComponent, VdFileModule, VdFilterOptionDirective, VdGenericFormComponent, VdGenericFormCustomFieldDirective, VdLayoutCardOverComponent, VdLayoutCloseDirective, VdLayoutCompactComponent, VdLayoutComponent, VdLayoutFooterComponent, VdLayoutManageListCloseDirective, VdLayoutManageListComponent, VdLayoutManageListOpenDirective, VdLayoutManageListToggleDirective, VdLayoutNavComponent, VdLayoutNavListCloseDirective, VdLayoutNavListComponent, VdLayoutNavListOpenDirective, VdLayoutNavListToggleDirective, VdLayoutOpenDirective, VdLayoutToggleDirective, VdListOptionDirective, VdListToolbarComponent, VdMediaService, VdMediaToggleDirective, VdMenuComponent, VdNavigationDrawerComponent, VdNavigationDrawerMenuDirective, VdNavigationDrawerToolbarDirective, VdPromptDialogComponent, VdSelectComponent, VdSelectOptionDirective, VdSelectTriggerDirective, VdTableFieldDirective, VdTaskDialogComponent, allOf, allOfAsync, alpha, alphaAsync, alphaNumeric, alphaNumericAsync, and, ascii, async, blacklist, choice, choiceAsync, compare, compose, contains, containsAsync, creditCard, creditCardAsync, cusip, custom, customAsync, dataUri, date, dateAsync, different, digit, disable, elementClass, email, endpointMetadataKey, endsWith, endsWithAsync, error, escape, even, extension, extensionAsync, factor, factorAsync, file, fileAsync, fileSize, fileSizeAsync, formDefinitionMetadataKey, formFieldGroupsMetadataKey, formFieldsMetadataKey, getDisplay, getEndpoint, getFormDefinition, getFormGroups, getTableDefinition, greaterThan, greaterThanAsync, greaterThanEqualTo, greaterThanEqualToAsync, grid, headerMetadataKey, hexColor, iban, ibanAsync, image, imageAsync, json, latLong, latitude, leapYear, lessThan, lessThanAsync, lessThanEqualTo, lessThanEqualToAsync, longitude, lowerCase, ltrim, mac, mask, maxDate, maxDateAsync, maxLength, maxLengthAsync, maxNumber, maxNumberAsync, maxTime, maxTimeAsync, minDate, minDateAsync, minLength, minLengthAsync, minNumber, minNumberAsync, minTime, minTimeAsync, mixinDisableRipple, mixinDisabled, model, noneOf, noneOfAsync, not, notEmpty, numeric, numericAsync, odd, oneOf, oneOfAsync, or, password, passwordAsync, pattern, patternAsync, port, prefix, primeNumber, prop, propArray, propObject, range, rangeAsync, required, requiredTrue, rtrim, rule, sanitize, startsWith, startsWithAsync, stripLow, suffix, tableColumnsMetadataKey, tableDefinitionMetadataKey, time, timeAsync, toBoolean, toDate, toDouble, toFloat, toInt, toString, trim, unique, updateOn, upperCase, url, urlAsync, vdCollapseAnimation, whitelist };
13651
14133
  export type { AppFormGroup, CanComponentDeactivate, Constructor$1 as Constructor, Delegate, DialogButtonConfig, EditorChange, EnumItem, Filter, FilterField, FormGroupExtension, IAlertConfig, IBaseComponent, ICanDisable, ICanDisableRipple, ICollapseAnimation, ICommonHandlerContext, IConfirmConfig, IDialogConfig, IEntity, IFormGroup, IGenericFormBaseComponent, IGenericListComponent, IGenericReactiveFormBaseComponent, ILayoutTogglable, IPromptConfig, Options, ShowConfirmationDialog, ShowTaskDialog };