@messaia/cdk 22.0.0-rc.2 → 22.0.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.
@@ -28,15 +28,16 @@ import { FocusMonitor } from '@angular/cdk/a11y';
28
28
  import { _ErrorStateTracker, ErrorStateMatcher, DateAdapter, MatDateFormats } from '@angular/material/core';
29
29
  import { MatFormFieldControl, MatFormField } from '@angular/material/form-field';
30
30
  import * as i3 from '@angular/material/input';
31
+ import { MatInput } from '@angular/material/input';
31
32
  import * as i4 from '@angular/material/icon';
32
33
  import * as i5 from '@angular/material/button';
33
34
  import { MatChipInputEvent } from '@angular/material/chips';
34
35
  import { Platform } from '@angular/cdk/platform';
35
36
  import { AutofillMonitor } from '@angular/cdk/text-field';
36
37
  import { Editor } from 'tinymce';
38
+ import { MatSelect } from '@angular/material/select';
37
39
  import { MatSidenav, MatDrawerToggleResult, MatDrawer } from '@angular/material/sidenav';
38
40
  import { OidcSecurityService } from 'angular-auth-oidc-client';
39
- import { MatSelect } from '@angular/material/select';
40
41
 
41
42
  declare class AppSetting {
42
43
  /**
@@ -3269,11 +3270,6 @@ declare class TableColumn<TEntity = any> {
3269
3270
  * @property
3270
3271
  */
3271
3272
  enumFilter?: (x: TEntity, f?: FormGroup, ctx?: IGenericListComponent<TEntity>) => any;
3272
- /**
3273
- * Prefix for enum types.
3274
- * @property
3275
- */
3276
- enumPrefix?: string;
3277
3273
  /**
3278
3274
  * The type of enum.
3279
3275
  * @property
@@ -7436,9 +7432,9 @@ declare class RxFormControl extends FormControl {
7436
7432
  private _baseObject;
7437
7433
  private _sanitizers;
7438
7434
  /**
7439
- * Current language used for error message localization.
7440
- * @type {string | undefined}
7441
- */
7435
+ * Current language used for error message localization.
7436
+ * @type {string | undefined}
7437
+ */
7442
7438
  private _language?;
7443
7439
  /**
7444
7440
  * The key or name of the control.
@@ -7522,6 +7518,18 @@ declare class RxFormControl extends FormControl {
7522
7518
  backEndErrors: {
7523
7519
  [key: string]: string;
7524
7520
  };
7521
+ /**
7522
+ * Persisted validator metadata indexed by validator name.
7523
+ * @type {{ [key: string]: any }}
7524
+ */
7525
+ private _validatorConfigStore;
7526
+ /**
7527
+ * Runtime validator metadata consumed by existing template validation flow.
7528
+ * @type {{ [key: string]: any } | undefined}
7529
+ */
7530
+ validatorConfig?: {
7531
+ [key: string]: any;
7532
+ };
7525
7533
  /**
7526
7534
  * Indicates if updating the control element's class should be performed.
7527
7535
  * @type {boolean | Function | undefined}
@@ -7560,6 +7568,12 @@ declare class RxFormControl extends FormControl {
7560
7568
  * @type {any}
7561
7569
  */
7562
7570
  get baseObject(): any;
7571
+ /**
7572
+ * @method isModified
7573
+ * @description Gets whether the control value is modified compared to its base value.
7574
+ * @returns {boolean} True when the control has been modified.
7575
+ */
7576
+ get isModified(): boolean;
7563
7577
  /**
7564
7578
  * Constructor to initialize RxFormControl.
7565
7579
  * @param formState Initial state or value of the control.
@@ -7574,14 +7588,78 @@ declare class RxFormControl extends FormControl {
7574
7588
  }, _baseObject: {
7575
7589
  [key: string]: any;
7576
7590
  }, controlName: string, _sanitizers: DataSanitizer[]);
7591
+ /**
7592
+ * Defines a getter and setter for the 'errors' property to handle dynamic error message updates.
7593
+ * This allows the control to re-evaluate its errors when the language changes or when validation is triggered.
7594
+ * @returns {void}
7595
+ */
7577
7596
  private defineErrorsProperty;
7597
+ /**
7598
+ * Gets the current language for error message localization.
7599
+ * @param value Optional value to determine the language context.
7600
+ * @returns {string | undefined} The current language code.
7601
+ */
7578
7602
  private getFormState;
7579
- get isModified(): boolean;
7603
+ /**
7604
+ * @method getValidators
7605
+ * @description Returns a shallow copy of synchronous validators.
7606
+ * @returns {ValidatorFn[]} Synchronous validator functions.
7607
+ */
7580
7608
  getValidators(): ValidatorFn[];
7609
+ /**
7610
+ * @method getAsyncValidators
7611
+ * @description Returns a shallow copy of asynchronous validators.
7612
+ * @returns {AsyncValidatorFn[]} Asynchronous validator functions.
7613
+ */
7581
7614
  getAsyncValidators(): AsyncValidatorFn[];
7615
+ /**
7616
+ * @method setValidatorConfig
7617
+ * @description Persists validator configuration metadata by validator type.
7618
+ * @param {string} type Validator name.
7619
+ * @param {any} config Validator configuration object.
7620
+ */
7621
+ setValidatorConfig(type: string, config: any): void;
7622
+ /**
7623
+ * @method getValidatorConfig
7624
+ * @description Returns persisted validator configuration by validator name.
7625
+ * @param {string} type Validator name.
7626
+ * @returns {any} Validator configuration value.
7627
+ */
7628
+ getValidatorConfig(type: string): any;
7629
+ /**
7630
+ * @method isRequiredActive
7631
+ * @description Evaluates whether required validation is currently active, including dynamic conditional expressions.
7632
+ * @returns {boolean} True when required is active for this control.
7633
+ */
7634
+ isRequiredActive(): boolean;
7635
+ /**
7636
+ * @method getValidatorSource
7637
+ * @description Normalizes validator input to an array copy.
7638
+ * @param {any[]} validators Validator value or array to normalize.
7639
+ * @returns {any[]} Array of validators.
7640
+ */
7582
7641
  private getValidatorSource;
7642
+ /**
7643
+ * @method setValidators
7644
+ * @description Sets synchronous validators and stores the source list.
7645
+ * @param {ValidatorFn | ValidatorFn[] | null} newValidator Validator or validators to assign.
7646
+ * @returns {void}
7647
+ */
7583
7648
  setValidators(newValidator: ValidatorFn | ValidatorFn[] | null): void;
7649
+ /**
7650
+ * @method setAsyncValidators
7651
+ * @description Sets asynchronous validators and stores the source list.
7652
+ * @param {AsyncValidatorFn | AsyncValidatorFn[] | null} newValidator Async validator or validators to assign.
7653
+ * @returns {void}
7654
+ */
7584
7655
  setAsyncValidators(newValidator: AsyncValidatorFn | AsyncValidatorFn[] | null): void;
7656
+ /**
7657
+ * @method setValue
7658
+ * @description Sets control value, synchronizes entity/base objects, and runs expression hooks.
7659
+ * @param {any} value New control value.
7660
+ * @param {{ dirty?: boolean; updateChanged?: boolean; onlySelf?: boolean; emitEvent?: boolean; isThroughDynamic?: boolean; }} options Optional behavior flags.
7661
+ * @returns {void}
7662
+ */
7585
7663
  setValue(value: any, options?: {
7586
7664
  dirty?: boolean;
7587
7665
  updateChanged?: boolean;
@@ -7589,46 +7667,198 @@ declare class RxFormControl extends FormControl {
7589
7667
  emitEvent?: boolean;
7590
7668
  isThroughDynamic?: boolean;
7591
7669
  }): void;
7670
+ /**
7671
+ * @method getControlValue
7672
+ * @description Returns the sanitized current control value.
7673
+ * @returns {any} Sanitized control value.
7674
+ */
7592
7675
  getControlValue(): any;
7676
+ /**
7677
+ * @method bindError
7678
+ * @description Re-evaluates message expression and refreshes computed errors.
7679
+ * @returns {void}
7680
+ */
7593
7681
  bindError(): void;
7682
+ /**
7683
+ * @method bindClassName
7684
+ * @description Evaluates and applies dynamic CSS class output for the control element.
7685
+ * @returns {void}
7686
+ */
7594
7687
  bindClassName(): void;
7688
+ /**
7689
+ * @method setBackEndErrors
7690
+ * @description Assigns backend validation errors to the control and updates visible messages.
7691
+ * @param {{ [key: string]: string }} error Backend error map.
7692
+ * @returns {void}
7693
+ */
7595
7694
  setBackEndErrors(error: {
7596
7695
  [key: string]: string;
7597
7696
  }): void;
7697
+ /**
7698
+ * @method clearBackEndErrors
7699
+ * @description Clears all backend errors or selected backend error keys.
7700
+ * @param {{ [key: string]: any } | undefined} errors Optional map of keys to remove.
7701
+ * @returns {void}
7702
+ */
7598
7703
  clearBackEndErrors(errors?: {
7599
7704
  [key: string]: any;
7600
7705
  }): void;
7706
+ /**
7707
+ * @method markAsTouched
7708
+ * @description Marks control as touched and triggers dependent expression refreshes on state change.
7709
+ * @param {{ onlySelf?: boolean } | undefined} opts Angular control options.
7710
+ * @returns {void}
7711
+ */
7601
7712
  markAsTouched(opts?: {
7602
7713
  onlySelf?: boolean;
7603
7714
  }): void;
7715
+ /**
7716
+ * @method markAsUntouched
7717
+ * @description Marks control as untouched and triggers dependent expression refreshes on state change.
7718
+ * @param {{ onlySelf?: boolean } | undefined} opts Angular control options.
7719
+ * @returns {void}
7720
+ */
7604
7721
  markAsUntouched(opts?: {
7605
7722
  onlySelf?: boolean;
7606
7723
  }): void;
7724
+ /**
7725
+ * @method markAsDirty
7726
+ * @description Marks control as dirty and triggers dependent expression refreshes on state change.
7727
+ * @param {{ onlySelf?: boolean } | undefined} opts Angular control options.
7728
+ * @returns {void}
7729
+ */
7607
7730
  markAsDirty(opts?: {
7608
7731
  onlySelf?: boolean;
7609
7732
  }): void;
7733
+ /**
7734
+ * @method markAsPristine
7735
+ * @description Marks control as pristine and triggers dependent expression refreshes on state change.
7736
+ * @param {{ onlySelf?: boolean } | undefined} opts Angular control options.
7737
+ * @returns {void}
7738
+ */
7610
7739
  markAsPristine(opts?: {
7611
7740
  onlySelf?: boolean;
7612
7741
  }): void;
7742
+ /**
7743
+ * @method markAsPending
7744
+ * @description Marks control pending via base flow and triggers dependent expression refreshes on state change.
7745
+ * @param {{ onlySelf?: boolean; emitEvent?: boolean } | undefined} opts Angular control options.
7746
+ * @returns {void}
7747
+ */
7613
7748
  markAsPending(opts?: {
7614
7749
  onlySelf?: boolean;
7615
7750
  emitEvent?: boolean;
7616
7751
  }): void;
7752
+ /**
7753
+ * @method runControlPropChangeExpression
7754
+ * @description Executes error/class expression updates for changed control state flags.
7755
+ * @param {string[]} propNames State property names to evaluate.
7756
+ * @returns {void}
7757
+ */
7617
7758
  runControlPropChangeExpression(propNames: string[]): void;
7759
+ /**
7760
+ * @method refresh
7761
+ * @description Rebuilds decorator expressions and refreshes current error state.
7762
+ * @returns {void}
7763
+ */
7618
7764
  refresh(): void;
7765
+ /**
7766
+ * @method reset
7767
+ * @description Resets control value to provided value or stored base value and clears dirty flag.
7768
+ * @param {any} value Optional value to reset to.
7769
+ * @param {any} options Reset options passed to setValue.
7770
+ * @returns {void}
7771
+ */
7619
7772
  reset(value?: any, options?: any): void;
7773
+ /**
7774
+ * @method commit
7775
+ * @description Commits current value as base value and re-evaluates modification state.
7776
+ * @returns {void}
7777
+ */
7620
7778
  commit(): void;
7779
+ /**
7780
+ * @method callPatch
7781
+ * @description Updates modification flag and notifies parent patch hook when available.
7782
+ * @returns {void}
7783
+ */
7621
7784
  private callPatch;
7785
+ /**
7786
+ * @method checkErrorMessageStrategy
7787
+ * @description Evaluates whether error messages should be bound according to strategy and state.
7788
+ * @returns {boolean} True when error binding is currently enabled.
7789
+ */
7622
7790
  private checkErrorMessageStrategy;
7791
+ /**
7792
+ * @method executeExpressions
7793
+ * @description Executes conditional decorator expressions for disabled state, errors, and element classes.
7794
+ * @returns {void}
7795
+ */
7623
7796
  private executeExpressions;
7797
+ /**
7798
+ * @method getMessageExpression
7799
+ * @description Loads message/class expression metadata from the model container.
7800
+ * @param {FormGroup} formGroup Parent form group.
7801
+ * @param {string} keyName Control key name.
7802
+ * @returns {void}
7803
+ */
7624
7804
  private getMessageExpression;
7805
+ /**
7806
+ * @method getSanitizedValue
7807
+ * @description Applies configured sanitizers to a value in declaration order.
7808
+ * @param {any} value Raw value.
7809
+ * @returns {any} Sanitized value.
7810
+ */
7625
7811
  private getSanitizedValue;
7812
+ /**
7813
+ * @method bindConditionalControls
7814
+ * @description Builds and stores control references for conditional decorator expressions.
7815
+ * @param {string} decoratorType Decorator type key.
7816
+ * @param {string} refName Property name that stores computed references.
7817
+ * @returns {void}
7818
+ */
7626
7819
  private bindConditionalControls;
7820
+ /**
7821
+ * @method setControlErrorMessages
7822
+ * @description Computes and stores control error messages from validation and backend sources.
7823
+ * @returns {void}
7824
+ */
7627
7825
  private setControlErrorMessages;
7826
+ /**
7827
+ * @method getLanguage
7828
+ * @description Gets active language from reactive form i18n config.
7829
+ * @returns {string | undefined} Active language code.
7830
+ */
7628
7831
  private getLanguage;
7832
+ /**
7833
+ * @method getErrorMessage
7834
+ * @description Reads a formatted error message for a validation key.
7835
+ * @param {{ [key: string]: string }} errorObject Validation error object.
7836
+ * @param {string} keyName Validation key.
7837
+ * @returns {string | undefined} Resolved error message.
7838
+ */
7629
7839
  private getErrorMessage;
7840
+ /**
7841
+ * @method processExpression
7842
+ * @description Applies a conditional operation to referenced controls.
7843
+ * @param {string} propName Reference property name.
7844
+ * @param {string} operationType Operation identifier.
7845
+ * @returns {void}
7846
+ */
7630
7847
  private processExpression;
7848
+ /**
7849
+ * @method executeExpression
7850
+ * @description Executes a conditional expression using model instance context.
7851
+ * @param {Function} expression Expression function.
7852
+ * @param {AbstractControl} control Control used as expression argument.
7853
+ * @returns {Boolean} Expression result.
7854
+ */
7631
7855
  private executeExpression;
7856
+ /**
7857
+ * @method getValue
7858
+ * @description Normalizes nullable/empty values for comparison.
7859
+ * @param {any} value Source value.
7860
+ * @returns {any} Normalized comparable value.
7861
+ */
7632
7862
  private getValue;
7633
7863
  }
7634
7864
 
@@ -8494,7 +8724,7 @@ declare abstract class AbstractMatFormField<T> implements DoCheck, OnDestroy, Co
8494
8724
  * @description Element reference.
8495
8725
  * @type {ElementRef}
8496
8726
  */
8497
- readonly elementRef: ElementRef<any>;
8727
+ readonly elementRef: ElementRef;
8498
8728
  /**
8499
8729
  * @property focusMonitor
8500
8730
  * @description Focus monitor.
@@ -8568,7 +8798,13 @@ declare abstract class AbstractMatFormField<T> implements DoCheck, OnDestroy, Co
8568
8798
  * @description Required state.
8569
8799
  * @type {boolean}
8570
8800
  */
8571
- _required: boolean;
8801
+ protected _required: boolean;
8802
+ /**
8803
+ * @property _resolvedRequired
8804
+ * @description Caches the effective required state to detect runtime changes.
8805
+ * @type {boolean}
8806
+ */
8807
+ private _resolvedRequired;
8572
8808
  /**
8573
8809
  * @property required
8574
8810
  * @description Sets the required state.
@@ -8586,7 +8822,7 @@ declare abstract class AbstractMatFormField<T> implements DoCheck, OnDestroy, Co
8586
8822
  * @description Readonly state.
8587
8823
  * @type {boolean}
8588
8824
  */
8589
- _readonly?: boolean;
8825
+ protected _readonly?: boolean;
8590
8826
  /**
8591
8827
  * @property readonly
8592
8828
  * @description Sets the readonly state.
@@ -8599,7 +8835,7 @@ declare abstract class AbstractMatFormField<T> implements DoCheck, OnDestroy, Co
8599
8835
  * @description Disabled state.
8600
8836
  * @type {boolean}
8601
8837
  */
8602
- _disabled: boolean;
8838
+ protected _disabled: boolean;
8603
8839
  /**
8604
8840
  * @property disabled
8605
8841
  * @description Sets the disabled state.
@@ -8783,6 +9019,10 @@ declare class VdChipsComponent extends AbstractMatFormField<any> implements OnIn
8783
9019
  * Subscription for the data source observable.
8784
9020
  */
8785
9021
  dataSourceSubscription?: Subscription;
9022
+ /**
9023
+ * Subscription for the data source loaded event.
9024
+ */
9025
+ onDataLoadedSubscription?: Subscription;
8786
9026
  /**
8787
9027
  * Form control for the autocomplete chip list.
8788
9028
  */
@@ -9000,6 +9240,11 @@ declare class VdChipsComponent extends AbstractMatFormField<any> implements OnIn
9000
9240
  * It also sets up the necessary parameters for the data source.
9001
9241
  */
9002
9242
  connect(): void;
9243
+ /**
9244
+ * @description Reopens the autocomplete panel when the input is clicked while already focused.
9245
+ * @returns {void}
9246
+ */
9247
+ reopenPanel(): void;
9003
9248
  /**
9004
9249
  * Sets focus on the filter input element.
9005
9250
  */
@@ -10260,6 +10505,13 @@ declare const Templates: {
10260
10505
  * @returns {string} The formatted comma-separated string with no whitespace
10261
10506
  */
10262
10507
  declare const parseProjectionString: (projection: string | string[]) => string;
10508
+ /**
10509
+ * @method parseProjectionArray
10510
+ * @description Parses projection input (string, string array, or raw multi-line string) into a flattened projection array.
10511
+ * @param {string | string[]} projection The raw selection input
10512
+ * @returns {string[]} The formatted projection as an array of fields
10513
+ */
10514
+ declare const parseProjectionArray: (projection: string | string[]) => string[];
10263
10515
 
10264
10516
  declare class VdDialogTitleDirective {
10265
10517
  static ɵfac: i0.ɵɵFactoryDeclaration<VdDialogTitleDirective, never>;
@@ -11231,210 +11483,92 @@ declare class MatFormFieldReadonlyDirective {
11231
11483
  }
11232
11484
 
11233
11485
  /**
11234
- * This directive parses pasted currency strings into decimal values and updates the reactive form control.
11486
+ * @class MatInputRequiredDirective
11487
+ * @description Synchronizes Angular Material input required marker with tracked control required state.
11235
11488
  */
11236
- declare class ParseDecimalDirective {
11237
- private el;
11238
- private control;
11239
- /**
11240
- * Whether the directive is enabled.
11241
- */
11242
- parseDecimalEnabled: boolean;
11489
+ declare class MatInputRequiredDirective implements DoCheck {
11490
+ private readonly input;
11243
11491
  /**
11244
- * Constructor to inject dependencies.
11245
- * @param el - The ElementRef instance representing the DOM element.
11246
- * @param control - The NgControl instance for accessing the form control.
11492
+ * @constructor
11493
+ * @param {MatInput} input Material input instance.
11247
11494
  */
11248
- constructor(el: ElementRef, control: NgControl);
11495
+ constructor(input: MatInput);
11249
11496
  /**
11250
- * Handles the paste event to parse and normalize pasted currency strings into decimals.
11251
- * @param event - The ClipboardEvent triggered on pasting.
11497
+ * @method ngDoCheck
11498
+ * @description Updates Material input required flag when control required state changes.
11252
11499
  */
11253
- onPaste(event: ClipboardEvent): void;
11500
+ ngDoCheck(): void;
11501
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatInputRequiredDirective, never>;
11502
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatInputRequiredDirective, "[matInput][formControl]:not([required]), [matInput][formControlName]:not([required])", never, {}, {}, never, never, true, never>;
11503
+ }
11504
+
11505
+ /**
11506
+ * @class MatSelectRequiredDirective
11507
+ * @description Synchronizes Angular Material select required marker with tracked control required state.
11508
+ */
11509
+ declare class MatSelectRequiredDirective implements DoCheck {
11510
+ private readonly input;
11254
11511
  /**
11255
- * Parses a currency string into a decimal.
11256
- * @param value - The formatted currency string.
11257
- * @returns The parsed decimal or NaN if invalid.
11512
+ * @constructor
11513
+ * @param {MatSelect} input Material select instance.
11258
11514
  */
11259
- private parseCurrency;
11515
+ constructor(input: MatSelect);
11260
11516
  /**
11261
- * Updates the reactive form control's value.
11262
- * @param value - The normalized decimal value.
11517
+ * @method ngDoCheck
11518
+ * @description Updates Material select required flag when control required state changes.
11263
11519
  */
11264
- private updateFormControl;
11265
- static ɵfac: i0.ɵɵFactoryDeclaration<ParseDecimalDirective, never>;
11266
- static ɵdir: i0.ɵɵDirectiveDeclaration<ParseDecimalDirective, "[parseDecimal]", never, { "parseDecimalEnabled": { "alias": "parseDecimalEnabled"; "required": false; }; }, {}, never, never, true, never>;
11520
+ ngDoCheck(): void;
11521
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectRequiredDirective, never>;
11522
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatSelectRequiredDirective, "mat-select[formControl]:not([required]), mat-select[formControlName]:not([required])", never, {}, {}, never, never, true, never>;
11267
11523
  }
11268
11524
 
11269
- /**
11270
- * Directive that optionally enforces a fixed, non-removable prefix
11271
- * at the beginning of an input field.
11272
- */
11273
- declare class PrefixDirective implements OnInit {
11274
- private el;
11525
+ declare abstract class AbstractSelectFormField<T> extends AbstractMatFormField<T> implements OnInit {
11275
11526
  /**
11276
- * @property Optional prefix that should be enforced at the beginning
11277
- * of the input value. If undefined or empty, the directive is inactive.
11278
- * @type {string | undefined}
11527
+ * @property _endpointChange
11528
+ * @description A BehaviorSubject that tracks changes to the endpoint data.
11529
+ * @type {BehaviorSubject<any[]>}
11279
11530
  */
11280
- prefix?: string;
11531
+ private _endpointChange;
11281
11532
  /**
11282
- * @constructor
11283
- * @param el Reference to the native input element.
11533
+ * @property _enumChange
11534
+ * @description A BehaviorSubject that tracks changes to the enum data.
11535
+ * @type {BehaviorSubject<any[]>}
11284
11536
  */
11285
- constructor(el: ElementRef<HTMLInputElement>);
11537
+ private _enumChange;
11286
11538
  /**
11287
- * Lifecycle hook invoked after input bindings are initialized.
11288
- * Applies the prefix only if it is defined.
11539
+ * @property _http
11540
+ * @description The HTTP client service used to fetch data from an API.
11541
+ * @type {HttpClient | undefined}
11289
11542
  */
11290
- ngOnInit(): void;
11543
+ protected _http?: HttpClient;
11291
11544
  /**
11292
- * Host listener for the native `input` event.
11293
- * Restores the prefix if it was removed (e.g. via paste),
11294
- * only when a prefix is configured.
11545
+ * @property _defaultOption
11546
+ * @description Whether the default option should be selected by default.
11547
+ * @type {boolean}
11295
11548
  */
11296
- onInput(): void;
11549
+ protected _defaultOption: boolean;
11297
11550
  /**
11298
- * Host listener for the native `keydown` event.
11299
- * Prevents deleting or modifying the prefix using Backspace or Delete,
11300
- * only when a prefix is configured.
11301
- *
11302
- * @param event Keyboard event triggered by user input.
11551
+ * @property _multiple
11552
+ * @description Whether multiple selection is enabled.
11553
+ * @type {boolean}
11303
11554
  */
11304
- onKeyDown(event: KeyboardEvent): void;
11305
- static ɵfac: i0.ɵɵFactoryDeclaration<PrefixDirective, never>;
11306
- static ɵdir: i0.ɵɵDirectiveDeclaration<PrefixDirective, "[prefix]", never, { "prefix": { "alias": "prefix"; "required": false; }; }, {}, never, never, true, never>;
11307
- }
11308
-
11309
- declare class RemoveWhitespaceDirective {
11310
- private ngControl;
11555
+ protected _multiple: boolean;
11311
11556
  /**
11312
- * Optional condition to enable or disable the whitespace removal.
11313
- * Use as [removeWhitespace]="condition" or simply removeWhitespace.
11557
+ * @property _sorted
11558
+ * @description Whether the options should be sorted.
11559
+ * @type {boolean}
11314
11560
  */
11315
- IsEnabled: boolean | string;
11561
+ protected _sorted: boolean;
11316
11562
  /**
11317
- * Directive to remove all types of whitespace (spaces, tabs, newlines) from the input value.
11318
- * @param ngControl The Angular form control associated with the input element.
11563
+ * @property _endpoint
11564
+ * @description The API endpoint or a function returning the endpoint URL.
11565
+ * @type {string | Function | undefined}
11319
11566
  */
11320
- constructor(ngControl: NgControl);
11567
+ protected _endpoint?: string | Function;
11321
11568
  /**
11322
- * Event handler for the input event, removing all types of whitespace from the input value.
11323
- * @param value The current value of the input element.
11324
- */
11325
- OnInput(value: string): void;
11326
- static ɵfac: i0.ɵɵFactoryDeclaration<RemoveWhitespaceDirective, [{ optional: true; self: true; }]>;
11327
- static ɵdir: i0.ɵɵDirectiveDeclaration<RemoveWhitespaceDirective, "[removeWhitespace]", never, { "IsEnabled": { "alias": "removeWhitespace"; "required": false; }; }, {}, never, never, true, never>;
11328
- }
11329
-
11330
- /**
11331
- * Class decorator to define a form definition for a given class.
11332
- * This decorator can be applied to a class to specify its form configuration, including endpoint, projection, actions, and field groups.
11333
- * @param formDefinition Optional partial configuration to customize the resulting FormDefinition.
11334
- * @returns A class decorator function.
11335
- */
11336
- declare function Form<T = any>(formDefinition?: Partial<FormDefinition<T>>): Function;
11337
- /**
11338
- * Property decorator to create and register form fields.
11339
- * This decorator can be applied to a class property to automatically generate and register form fields based on the provided arguments.
11340
- * @param args Partial arguments to customize the resulting FormFieldDefinition.
11341
- * @returns A property decorator function.
11342
- */
11343
- declare function FormField<TEntity = any, TProperty = any>(args: Partial<FormFieldDefinition<TEntity, TProperty>>): Function;
11344
- /**
11345
- * Property decorator to create and register form field groups.
11346
- *
11347
- * This decorator can be applied to a class property to automatically
11348
- * generate and register form groups based on the provided type and arguments.
11349
- *
11350
- * @param type The class type whose decorated properties will be grouped.
11351
- * @param args Optional partial configuration to customize the resulting FormFieldGroupDefinition.
11352
- * @param context Optional context object to influence form group generation, e.g., for conditional fields.
11353
- * @returns A property decorator function.
11354
- */
11355
- declare function FormFieldGroup<T = any>(type: Type$1<T>, args?: Partial<FormFieldGroupDefinition<T>>, context?: any): Function;
11356
-
11357
- /**
11358
- * Retrieves the form definition for a given object decorated with @Form.
11359
- *
11360
- * This function reads metadata defined via decorators on the class
11361
- * to build a FormDefinition instance, including field groups and
11362
- * an optional API endpoint.
11363
- *
11364
- * @template TEntity The type of the entity associated with the form.
11365
- * @param origin The entity instance for which to retrieve the form definition. Must not be undefined.
11366
- * @param form Optional NgForm or FormGroup associated with the entity.
11367
- * @param context Optional context object to customize form definition generation,
11368
- * e.g., for conditional fields or groups.
11369
- * @returns The FormDefinition object containing field groups and endpoint metadata.
11370
- * @throws Error if the `origin` argument is not provided.
11371
- */
11372
- declare function getFormDefinition<TEntity>(origin: TEntity, form?: FormGroup, context?: any): FormDefinition;
11373
- /**
11374
- * Retrieves properties decorated with @FormField, grouped by row.
11375
- *
11376
- * This function reads metadata from the instance (or type) to generate
11377
- * an array of FormFieldGroupDefinition objects. It can use additional
11378
- * arguments, the form instance, or a context object to customize group creation.
11379
- *
11380
- * @template TEntity The type of the entity associated with the form fields.
11381
- * @param instance The instance of the object containing decorated properties.
11382
- * @param type Optional constructor of the class; used if instance is not provided.
11383
- * @param args Optional partial configuration to customize the resulting FormFieldGroupDefinition.
11384
- * @param form Optional NgForm or FormGroup associated with the entity, for dynamic field logic.
11385
- * @param context Optional context object for conditional logic or dynamic modifications
11386
- * when generating form groups.
11387
- * @returns An array of FormFieldGroupDefinition objects representing the grouped form fields.
11388
- */
11389
- declare function getFormGroups<TEntity = any>(instance?: TEntity, type?: Type$1<TEntity>, args?: Partial<FormFieldGroupDefinition<TEntity>>, form?: FormGroup, context?: any): FormFieldGroupDefinition[];
11390
-
11391
- declare abstract class AbstractSelectFormField<T> extends AbstractMatFormField<T> implements OnInit {
11392
- /**
11393
- * @property _endpointChange
11394
- * @description A BehaviorSubject that tracks changes to the endpoint data.
11395
- * @type {BehaviorSubject<any[]>}
11396
- */
11397
- private _endpointChange;
11398
- /**
11399
- * @property _enumChange
11400
- * @description A BehaviorSubject that tracks changes to the enum data.
11401
- * @type {BehaviorSubject<any[]>}
11402
- */
11403
- private _enumChange;
11404
- /**
11405
- * @property _http
11406
- * @description The HTTP client service used to fetch data from an API.
11407
- * @type {HttpClient | undefined}
11408
- */
11409
- protected _http?: HttpClient;
11410
- /**
11411
- * @property _defaultOption
11412
- * @description Whether the default option should be selected by default.
11413
- * @type {boolean}
11414
- */
11415
- protected _defaultOption: boolean;
11416
- /**
11417
- * @property _multiple
11418
- * @description Whether multiple selection is enabled.
11419
- * @type {boolean}
11420
- */
11421
- protected _multiple: boolean;
11422
- /**
11423
- * @property _sorted
11424
- * @description Whether the options should be sorted.
11425
- * @type {boolean}
11426
- */
11427
- protected _sorted: boolean;
11428
- /**
11429
- * @property _endpoint
11430
- * @description The API endpoint or a function returning the endpoint URL.
11431
- * @type {string | Function | undefined}
11432
- */
11433
- protected _endpoint?: string | Function;
11434
- /**
11435
- * @property _params
11436
- * @description Parameters to be sent with the API request.
11437
- * @type {any}
11569
+ * @property _params
11570
+ * @description Parameters to be sent with the API request.
11571
+ * @type {any}
11438
11572
  */
11439
11573
  protected _params: any;
11440
11574
  /**
@@ -11747,6 +11881,294 @@ declare abstract class AbstractSelectFormField<T> extends AbstractMatFormField<T
11747
11881
  static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSelectFormField<any>, never, never, { "enum": { "alias": "enum"; "required": false; }; "enumMetadata": { "alias": "enumMetadata"; "required": false; }; "textPrefix": { "alias": "textPrefix"; "required": false; }; "optionTextProperty": { "alias": "optionTextProperty"; "required": false; }; "optionValueProperty": { "alias": "optionValueProperty"; "required": false; }; "matIconKey": { "alias": "matIconKey"; "required": false; }; "svgIconKey": { "alias": "svgIconKey"; "required": false; }; "fontSet": { "alias": "fontSet"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "options": { "alias": "options"; "required": false; }; "filteredOptions": { "alias": "filteredOptions"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "cache": { "alias": "cache"; "required": false; }; "selectFirst": { "alias": "selectFirst"; "required": false; }; "sortBy": { "alias": "sortBy"; "required": false; }; "mapper": { "alias": "mapper"; "required": false; }; "optionIcon": { "alias": "optionIcon"; "required": false; }; "defaultOption": { "alias": "defaultOption"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "sorted": { "alias": "sorted"; "required": false; }; "endpoint": { "alias": "endpoint"; "required": false; }; "params": { "alias": "params"; "required": false; }; "projection": { "alias": "projection"; "required": false; }; "loadData": { "alias": "loadData"; "required": false; }; "enumFilter": { "alias": "enumFilter"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "context": { "alias": "context"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "searchField": { "alias": "searchField"; "required": false; }; }, { "onValueChange": "change"; "onItemChange": "itemChange"; "onSelected": "selected"; "onItemSelected": "itemSelected"; "onLaunch": "launch"; }, never, never, true, never>;
11748
11882
  }
11749
11883
 
11884
+ /**
11885
+ * VdSelectOptionDirective class
11886
+ */
11887
+ declare class VdSelectOptionDirective extends CdkPortal {
11888
+ static ɵfac: i0.ɵɵFactoryDeclaration<VdSelectOptionDirective, never>;
11889
+ static ɵdir: i0.ɵɵDirectiveDeclaration<VdSelectOptionDirective, "[vd-select-option]ng-template", never, {}, {}, never, never, true, never>;
11890
+ }
11891
+
11892
+ /**
11893
+ * VdSelectTriggerDirective class
11894
+ */
11895
+ declare class VdSelectTriggerDirective extends CdkPortal {
11896
+ static ɵfac: i0.ɵɵFactoryDeclaration<VdSelectTriggerDirective, never>;
11897
+ static ɵdir: i0.ɵɵDirectiveDeclaration<VdSelectTriggerDirective, "[vd-select-trigger]ng-template", never, {}, {}, never, never, true, never>;
11898
+ }
11899
+
11900
+ declare class VdSelectComponent extends AbstractSelectFormField<any> implements AfterViewInit {
11901
+ /**
11902
+ * CSS class applied to the trigger element.
11903
+ */
11904
+ protected _triggerCssClass?: string;
11905
+ /**
11906
+ * Mode of the trigger, default is 'chip'.
11907
+ */
11908
+ protected _triggerMode?: 'chip';
11909
+ /**
11910
+ * Template for rendering options.
11911
+ */
11912
+ optionTemplate?: VdSelectOptionDirective;
11913
+ /**
11914
+ * Template for rendering the trigger.
11915
+ */
11916
+ triggerTemplate?: VdSelectTriggerDirective;
11917
+ /**
11918
+ * Reference to the MatSelect element.
11919
+ */
11920
+ selectEl?: MatSelect;
11921
+ /**
11922
+ * Reference to the filter input element.
11923
+ */
11924
+ filterInput?: ElementRef;
11925
+ /**
11926
+ * CSS class applied to the trigger element.
11927
+ */
11928
+ get triggerCssClass(): string | undefined;
11929
+ set triggerCssClass(triggerCssClass: string | undefined);
11930
+ /**
11931
+ * Gets the display values of the selected options for the trigger.
11932
+ *
11933
+ * @returns The display values of the selected options
11934
+ */
11935
+ get triggerValues(): any[];
11936
+ /**
11937
+ * Retrieves the currently selected options from the filtered options.
11938
+ * If multiple options are selected, returns them as an array.
11939
+ * If a single option is selected, returns it as an array with one element.
11940
+ *
11941
+ * @returns An array of selected items from the filtered options.
11942
+ */
11943
+ get selectedOptions(): any[];
11944
+ /**
11945
+ * Checks if the select element is empty.
11946
+ *
11947
+ * @returns true if the select element is empty, false otherwise.
11948
+ */
11949
+ get empty(): boolean;
11950
+ /**
11951
+ * Constructor to initialize the VdSelectComponent.
11952
+ */
11953
+ constructor();
11954
+ /**
11955
+ * Lifecycle hook that is called after Angular has initialized the component's view.
11956
+ * Sets up an event listener to focus the filter input when the select element is opened.
11957
+ */
11958
+ ngAfterViewInit(): void;
11959
+ /**
11960
+ * Writes the value to the component. Part of the ControlValueAccessor interface.
11961
+ *
11962
+ * @param value The value to be written
11963
+ */
11964
+ writeValue(value: any): void;
11965
+ /**
11966
+ * Sets focus on the select element and opens the dropdown.
11967
+ */
11968
+ focus(): void;
11969
+ /**
11970
+ * Handles the launch button click event.
11971
+ * Emits the selected options through the onLaunch event emitter.
11972
+ *
11973
+ * @param value The value to be emitted
11974
+ */
11975
+ handleLaunchClicked(value: any): void;
11976
+ /**
11977
+ * Handles the filter event to filter the options based on the input.
11978
+ *
11979
+ * @param $event The filter event
11980
+ */
11981
+ handleFilter($event?: Event): void;
11982
+ static ɵfac: i0.ɵɵFactoryDeclaration<VdSelectComponent, never>;
11983
+ static ɵcmp: i0.ɵɵComponentDeclaration<VdSelectComponent, "vd-select", never, { "triggerCssClass": { "alias": "triggerCssClass"; "required": false; }; }, {}, ["optionTemplate", "triggerTemplate"], never, true, never>;
11984
+ }
11985
+
11986
+ /**
11987
+ * @class MsaSelectRequiredDirective
11988
+ * @description Synchronizes Angular Material select required marker with tracked control required state.
11989
+ */
11990
+ declare class MsaSelectRequiredDirective implements DoCheck {
11991
+ private readonly input;
11992
+ /**
11993
+ * @constructor
11994
+ * @param {VdSelectComponent} input Material select instance.
11995
+ */
11996
+ constructor(input: VdSelectComponent);
11997
+ /**
11998
+ * @method ngDoCheck
11999
+ * @description Updates Material select required flag when control required state changes.
12000
+ */
12001
+ ngDoCheck(): void;
12002
+ static ɵfac: i0.ɵɵFactoryDeclaration<MsaSelectRequiredDirective, never>;
12003
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MsaSelectRequiredDirective, "vd-select[formControl]:not([required]), vd-select[formControlName]:not([required])", never, {}, {}, never, never, true, never>;
12004
+ }
12005
+
12006
+ /**
12007
+ * This directive parses pasted currency strings into decimal values and updates the reactive form control.
12008
+ */
12009
+ declare class ParseDecimalDirective {
12010
+ private el;
12011
+ private control;
12012
+ /**
12013
+ * Whether the directive is enabled.
12014
+ */
12015
+ parseDecimalEnabled: boolean;
12016
+ /**
12017
+ * Constructor to inject dependencies.
12018
+ * @param el - The ElementRef instance representing the DOM element.
12019
+ * @param control - The NgControl instance for accessing the form control.
12020
+ */
12021
+ constructor(el: ElementRef, control: NgControl);
12022
+ /**
12023
+ * Handles the paste event to parse and normalize pasted currency strings into decimals.
12024
+ * @param event - The ClipboardEvent triggered on pasting.
12025
+ */
12026
+ onPaste(event: ClipboardEvent): void;
12027
+ /**
12028
+ * Parses a currency string into a decimal.
12029
+ * @param value - The formatted currency string.
12030
+ * @returns The parsed decimal or NaN if invalid.
12031
+ */
12032
+ private parseCurrency;
12033
+ /**
12034
+ * Updates the reactive form control's value.
12035
+ * @param value - The normalized decimal value.
12036
+ */
12037
+ private updateFormControl;
12038
+ static ɵfac: i0.ɵɵFactoryDeclaration<ParseDecimalDirective, never>;
12039
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ParseDecimalDirective, "[parseDecimal]", never, { "parseDecimalEnabled": { "alias": "parseDecimalEnabled"; "required": false; }; }, {}, never, never, true, never>;
12040
+ }
12041
+
12042
+ /**
12043
+ * Directive that optionally enforces a fixed, non-removable prefix
12044
+ * at the beginning of an input field.
12045
+ */
12046
+ declare class PrefixDirective implements OnInit {
12047
+ private el;
12048
+ /**
12049
+ * @property Optional prefix that should be enforced at the beginning
12050
+ * of the input value. If undefined or empty, the directive is inactive.
12051
+ * @type {string | undefined}
12052
+ */
12053
+ prefix?: string;
12054
+ /**
12055
+ * @constructor
12056
+ * @param el Reference to the native input element.
12057
+ */
12058
+ constructor(el: ElementRef<HTMLInputElement>);
12059
+ /**
12060
+ * Lifecycle hook invoked after input bindings are initialized.
12061
+ * Applies the prefix only if it is defined.
12062
+ */
12063
+ ngOnInit(): void;
12064
+ /**
12065
+ * Host listener for the native `input` event.
12066
+ * Restores the prefix if it was removed (e.g. via paste),
12067
+ * only when a prefix is configured.
12068
+ */
12069
+ onInput(): void;
12070
+ /**
12071
+ * Host listener for the native `keydown` event.
12072
+ * Prevents deleting or modifying the prefix using Backspace or Delete,
12073
+ * only when a prefix is configured.
12074
+ *
12075
+ * @param event Keyboard event triggered by user input.
12076
+ */
12077
+ onKeyDown(event: KeyboardEvent): void;
12078
+ static ɵfac: i0.ɵɵFactoryDeclaration<PrefixDirective, never>;
12079
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PrefixDirective, "[prefix]", never, { "prefix": { "alias": "prefix"; "required": false; }; }, {}, never, never, true, never>;
12080
+ }
12081
+
12082
+ declare class RemoveWhitespaceDirective {
12083
+ private ngControl;
12084
+ /**
12085
+ * Optional condition to enable or disable the whitespace removal.
12086
+ * Use as [removeWhitespace]="condition" or simply removeWhitespace.
12087
+ */
12088
+ IsEnabled: boolean | string;
12089
+ /**
12090
+ * Directive to remove all types of whitespace (spaces, tabs, newlines) from the input value.
12091
+ * @param ngControl The Angular form control associated with the input element.
12092
+ */
12093
+ constructor(ngControl: NgControl);
12094
+ /**
12095
+ * Event handler for the input event, removing all types of whitespace from the input value.
12096
+ * @param value The current value of the input element.
12097
+ */
12098
+ OnInput(value: string): void;
12099
+ static ɵfac: i0.ɵɵFactoryDeclaration<RemoveWhitespaceDirective, [{ optional: true; self: true; }]>;
12100
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RemoveWhitespaceDirective, "[removeWhitespace]", never, { "IsEnabled": { "alias": "removeWhitespace"; "required": false; }; }, {}, never, never, true, never>;
12101
+ }
12102
+
12103
+ /**
12104
+ * Class decorator to define a form definition for a given class.
12105
+ * This decorator can be applied to a class to specify its form configuration, including endpoint, projection, actions, and field groups.
12106
+ * @param formDefinition Optional partial configuration to customize the resulting FormDefinition.
12107
+ * @returns A class decorator function.
12108
+ */
12109
+ declare function Form<T = any>(formDefinition?: Partial<FormDefinition<T>>): Function;
12110
+ /**
12111
+ * Property decorator to create and register form fields.
12112
+ * This decorator can be applied to a class property to automatically generate and register form fields based on the provided arguments.
12113
+ * @param args Partial arguments to customize the resulting FormFieldDefinition.
12114
+ * @returns A property decorator function.
12115
+ */
12116
+ declare function FormField<TEntity = any, TProperty = any>(args: Partial<FormFieldDefinition<TEntity, TProperty>>): Function;
12117
+ /**
12118
+ * Property decorator to create and register form field groups.
12119
+ *
12120
+ * This decorator can be applied to a class property to automatically
12121
+ * generate and register form groups based on the provided type and arguments.
12122
+ *
12123
+ * @param type The class type whose decorated properties will be grouped.
12124
+ * @param args Optional partial configuration to customize the resulting FormFieldGroupDefinition.
12125
+ * @param context Optional context object to influence form group generation, e.g., for conditional fields.
12126
+ * @returns A property decorator function.
12127
+ */
12128
+ declare function FormFieldGroup<T = any>(type: Type$1<T>, args?: Partial<FormFieldGroupDefinition<T>>, context?: any): Function;
12129
+
12130
+ /**
12131
+ * Retrieves the form definition for a given object decorated with @Form.
12132
+ *
12133
+ * This function reads metadata defined via decorators on the class
12134
+ * to build a FormDefinition instance, including field groups and
12135
+ * an optional API endpoint.
12136
+ *
12137
+ * @template TEntity The type of the entity associated with the form.
12138
+ * @param origin The entity instance for which to retrieve the form definition. Must not be undefined.
12139
+ * @param form Optional NgForm or FormGroup associated with the entity.
12140
+ * @param context Optional context object to customize form definition generation,
12141
+ * e.g., for conditional fields or groups.
12142
+ * @returns The FormDefinition object containing field groups and endpoint metadata.
12143
+ * @throws Error if the `origin` argument is not provided.
12144
+ */
12145
+ declare function getFormDefinition<TEntity>(origin: TEntity, form?: FormGroup, context?: any): FormDefinition;
12146
+ /**
12147
+ * Retrieves properties decorated with @FormField, grouped by row.
12148
+ *
12149
+ * This function reads metadata from the instance (or type) to generate
12150
+ * an array of FormFieldGroupDefinition objects. It can use additional
12151
+ * arguments, the form instance, or a context object to customize group creation.
12152
+ *
12153
+ * @template TEntity The type of the entity associated with the form fields.
12154
+ * @param instance The instance of the object containing decorated properties.
12155
+ * @param type Optional constructor of the class; used if instance is not provided.
12156
+ * @param args Optional partial configuration to customize the resulting FormFieldGroupDefinition.
12157
+ * @param form Optional NgForm or FormGroup associated with the entity, for dynamic field logic.
12158
+ * @param context Optional context object for conditional logic or dynamic modifications
12159
+ * when generating form groups.
12160
+ * @returns An array of FormFieldGroupDefinition objects representing the grouped form fields.
12161
+ */
12162
+ declare function getFormGroups<TEntity = any>(instance?: TEntity, type?: Type$1<TEntity>, args?: Partial<FormFieldGroupDefinition<TEntity>>, form?: FormGroup, context?: any): FormFieldGroupDefinition[];
12163
+
12164
+ /**
12165
+ * @function hasRequiredValidator
12166
+ * @description Checks required state using runtime marker, native Angular validators and Rx validator metadata.
12167
+ * @param {AbstractControl | null | undefined} control The control to evaluate.
12168
+ * @returns {boolean} True when the control should be treated as required.
12169
+ */
12170
+ declare const hasRequiredValidator: (control: AbstractControl | null | undefined) => boolean;
12171
+
11750
12172
  declare class ValueAccessorBase<T> extends MatFormFieldControl<any> implements ControlValueAccessor, OnDestroy {
11751
12173
  /**
11752
12174
  * Inner model value
@@ -13270,108 +13692,6 @@ declare class SubMenuResolve {
13270
13692
  static ɵprov: i0.ɵɵInjectableDeclaration<SubMenuResolve>;
13271
13693
  }
13272
13694
 
13273
- /**
13274
- * VdSelectOptionDirective class
13275
- */
13276
- declare class VdSelectOptionDirective extends CdkPortal {
13277
- static ɵfac: i0.ɵɵFactoryDeclaration<VdSelectOptionDirective, never>;
13278
- static ɵdir: i0.ɵɵDirectiveDeclaration<VdSelectOptionDirective, "[vd-select-option]ng-template", never, {}, {}, never, never, true, never>;
13279
- }
13280
-
13281
- /**
13282
- * VdSelectTriggerDirective class
13283
- */
13284
- declare class VdSelectTriggerDirective extends CdkPortal {
13285
- static ɵfac: i0.ɵɵFactoryDeclaration<VdSelectTriggerDirective, never>;
13286
- static ɵdir: i0.ɵɵDirectiveDeclaration<VdSelectTriggerDirective, "[vd-select-trigger]ng-template", never, {}, {}, never, never, true, never>;
13287
- }
13288
-
13289
- declare class VdSelectComponent extends AbstractSelectFormField<any> implements AfterViewInit {
13290
- /**
13291
- * CSS class applied to the trigger element.
13292
- */
13293
- protected _triggerCssClass?: string;
13294
- /**
13295
- * Mode of the trigger, default is 'chip'.
13296
- */
13297
- protected _triggerMode?: 'chip';
13298
- /**
13299
- * Template for rendering options.
13300
- */
13301
- optionTemplate?: VdSelectOptionDirective;
13302
- /**
13303
- * Template for rendering the trigger.
13304
- */
13305
- triggerTemplate?: VdSelectTriggerDirective;
13306
- /**
13307
- * Reference to the MatSelect element.
13308
- */
13309
- selectEl?: MatSelect;
13310
- /**
13311
- * Reference to the filter input element.
13312
- */
13313
- filterInput?: ElementRef;
13314
- /**
13315
- * CSS class applied to the trigger element.
13316
- */
13317
- get triggerCssClass(): string | undefined;
13318
- set triggerCssClass(triggerCssClass: string | undefined);
13319
- /**
13320
- * Gets the display values of the selected options for the trigger.
13321
- *
13322
- * @returns The display values of the selected options
13323
- */
13324
- get triggerValues(): any[];
13325
- /**
13326
- * Retrieves the currently selected options from the filtered options.
13327
- * If multiple options are selected, returns them as an array.
13328
- * If a single option is selected, returns it as an array with one element.
13329
- *
13330
- * @returns An array of selected items from the filtered options.
13331
- */
13332
- get selectedOptions(): any[];
13333
- /**
13334
- * Checks if the select element is empty.
13335
- *
13336
- * @returns true if the select element is empty, false otherwise.
13337
- */
13338
- get empty(): boolean;
13339
- /**
13340
- * Constructor to initialize the VdSelectComponent.
13341
- */
13342
- constructor();
13343
- /**
13344
- * Lifecycle hook that is called after Angular has initialized the component's view.
13345
- * Sets up an event listener to focus the filter input when the select element is opened.
13346
- */
13347
- ngAfterViewInit(): void;
13348
- /**
13349
- * Writes the value to the component. Part of the ControlValueAccessor interface.
13350
- *
13351
- * @param value The value to be written
13352
- */
13353
- writeValue(value: any): void;
13354
- /**
13355
- * Sets focus on the select element and opens the dropdown.
13356
- */
13357
- focus(): void;
13358
- /**
13359
- * Handles the launch button click event.
13360
- * Emits the selected options through the onLaunch event emitter.
13361
- *
13362
- * @param value The value to be emitted
13363
- */
13364
- handleLaunchClicked(value: any): void;
13365
- /**
13366
- * Handles the filter event to filter the options based on the input.
13367
- *
13368
- * @param $event The filter event
13369
- */
13370
- handleFilter($event?: Event): void;
13371
- static ɵfac: i0.ɵɵFactoryDeclaration<VdSelectComponent, never>;
13372
- static ɵcmp: i0.ɵɵComponentDeclaration<VdSelectComponent, "vd-select", never, { "triggerCssClass": { "alias": "triggerCssClass"; "required": false; }; }, {}, ["optionTemplate", "triggerTemplate"], never, true, never>;
13373
- }
13374
-
13375
13695
  declare class FilterClearComponent {
13376
13696
  private table;
13377
13697
  /**
@@ -14153,5 +14473,5 @@ declare class TableStaticDataSource<TEntity> extends MatTableDataSource<TEntity>
14153
14473
  getSelected: <TType>(key?: string) => TType[];
14154
14474
  }
14155
14475
 
14156
- 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, MsaEditFormActionsComponent, MsaEnumDisplayComponent, 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, graphql, 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, parseProjectionString, 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, whitelist };
14476
+ 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, MatInputRequiredDirective, MatSelectRequiredDirective, Menu, MenuClient, MenuDepartment, MenuFormIncludesResolve, MenuItem, MenuItemClient, MenuItemDepartment, MenuItemFormIncludesResolve, MenuItemService, MenuItemTarget, MenuListProjectionResolve, MenuResolve, MenuScope, MenuSettings, MenuSettingsResolve, MessageType, ModifiableEntity, MonthNamePipe, MsaEditFormActionsComponent, MsaEnumDisplayComponent, MsaSelectRequiredDirective, 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, graphql, greaterThan, greaterThanAsync, greaterThanEqualTo, greaterThanEqualToAsync, grid, hasRequiredValidator, 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, parseProjectionArray, parseProjectionString, 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, whitelist };
14157
14477
  export type { AppFormGroup, CanComponentDeactivate, Constructor$1 as Constructor, Delegate, DialogButtonConfig, EditorChange, EnumItem, Filter, FilterField, FormGroupExtension, IAlertConfig, IBaseComponent, ICanDisable, ICanDisableRipple, ICommonHandlerContext, IConfirmConfig, IDialogConfig, IEntity, IFormGroup, IGenericFormBaseComponent, IGenericListComponent, IGenericReactiveFormBaseComponent, ILayoutTogglable, IPromptConfig, Options, ShowConfirmationDialog, ShowTaskDialog, VdGenericFormInitEvent };