@datarailsshared/datarailsshared 1.6.141 → 1.6.145

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.
@@ -3,6 +3,7 @@ import { Observable } from 'rxjs';
3
3
  import { TimeframeOption } from '../../models/datePicker';
4
4
  import { MatLegacyDialogConfig as MatDialogConfig } from '@angular/material/legacy-dialog';
5
5
  import { ButtonType } from '../../dr-inputs/button/button.component';
6
+ import { AsyncValidatorFn } from '@angular/forms';
6
7
  type DialogConfig = Omit<MatDialogConfig, 'data'>;
7
8
  export interface DialogData<T = any> extends DialogConfig {
8
9
  data: {
@@ -99,6 +100,7 @@ export interface ModalFormField {
99
100
  bindLabel?: string;
100
101
  bindValue?: string;
101
102
  validators?: any[];
103
+ asyncValidators?: AsyncValidatorFn[];
102
104
  datePickerFormat?: TimeframeOption;
103
105
  formGroupClass?: string;
104
106
  isOptional?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/datarailsshared",
3
- "version": "1.6.141",
3
+ "version": "1.6.145",
4
4
  "description": "DataRails shared components",
5
5
  "keywords": [
6
6
  "angular",