@leanix/components 0.3.90 → 0.3.92

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,8 +46,7 @@ export declare class DateInputComponent implements OnChanges, OnInit, OnDestroy,
46
46
  mode: string;
47
47
  }[];
48
48
  autoFocus: boolean;
49
- closeDatePicker: EventEmitter<void>;
50
- openDatePicker: EventEmitter<void>;
49
+ closeDateInput: EventEmitter<void>;
51
50
  input: ElementRef<HTMLInputElement>;
52
51
  showDatepicker: boolean;
53
52
  dateFormat: string;
@@ -63,8 +62,8 @@ export declare class DateInputComponent implements OnChanges, OnInit, OnDestroy,
63
62
  ngOnDestroy(): void;
64
63
  focus(): void;
65
64
  showPopup(): void;
66
- hidePopup(): void;
67
65
  togglePopup(): void;
66
+ hidePopup(): void;
68
67
  onDateStringChange(newDateString: string | null, emit?: boolean): void;
69
68
  onSelectionDone(newDate: Date): void;
70
69
  onBlur(): void;
@@ -83,5 +82,5 @@ export declare class DateInputComponent implements OnChanges, OnInit, OnDestroy,
83
82
  };
84
83
  } | null;
85
84
  static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, [null, null, { optional: true; }]>;
86
- static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "lx-date-input", never, { "date": "date"; "dateString": "dateString"; "valueAccessor": "valueAccessor"; "inputId": "inputId"; "renderingStyle": "renderingStyle"; "placeholder": "placeholder"; "cdk": "cdk"; "datepickerMode": "datepickerMode"; "initDateString": "initDateString"; "minDate": "minDate"; "maxDate": "maxDate"; "minMode": "minMode"; "maxMode": "maxMode"; "showWeeks": "showWeeks"; "formatDay": "formatDay"; "formatMonth": "formatMonth"; "formatYear": "formatYear"; "formatDayHeader": "formatDayHeader"; "formatDayTitle": "formatDayTitle"; "formatMonthTitle": "formatMonthTitle"; "startingDay": "startingDay"; "yearRange": "yearRange"; "onlyCurrentMonth": "onlyCurrentMonth"; "shortcutPropagation": "shortcutPropagation"; "customClass": "customClass"; "disabled": "disabled"; "dateDisabled": "dateDisabled"; "autoFocus": "autoFocus"; }, { "dateChange": "dateChange"; "dateStringChange": "dateStringChange"; "closeDatePicker": "closeDatePicker"; "openDatePicker": "openDatePicker"; }, never, never, false>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "lx-date-input", never, { "date": "date"; "dateString": "dateString"; "valueAccessor": "valueAccessor"; "inputId": "inputId"; "renderingStyle": "renderingStyle"; "placeholder": "placeholder"; "cdk": "cdk"; "datepickerMode": "datepickerMode"; "initDateString": "initDateString"; "minDate": "minDate"; "maxDate": "maxDate"; "minMode": "minMode"; "maxMode": "maxMode"; "showWeeks": "showWeeks"; "formatDay": "formatDay"; "formatMonth": "formatMonth"; "formatYear": "formatYear"; "formatDayHeader": "formatDayHeader"; "formatDayTitle": "formatDayTitle"; "formatMonthTitle": "formatMonthTitle"; "startingDay": "startingDay"; "yearRange": "yearRange"; "onlyCurrentMonth": "onlyCurrentMonth"; "shortcutPropagation": "shortcutPropagation"; "customClass": "customClass"; "disabled": "disabled"; "dateDisabled": "dateDisabled"; "autoFocus": "autoFocus"; }, { "dateChange": "dateChange"; "dateStringChange": "dateStringChange"; "closeDateInput": "closeDateInput"; }, never, never, false>;
87
86
  }
@@ -1,5 +1,7 @@
1
- import { ValidatorFn } from '@angular/forms';
1
+ import { AsyncValidatorFn, ValidatorFn } from '@angular/forms';
2
+ import { Observable } from 'rxjs';
2
3
  /**
3
4
  * Validates that a string is not inside an array of strings
4
5
  */
5
- export declare function ValidateStringNotInArray(array: string[], valueMapFunction?: (value: string) => string): ValidatorFn;
6
+ export declare function ValidateStringNotInArray(array: string[], valueMapFunction?: (value: string) => string, validatorName?: string): ValidatorFn;
7
+ export declare function ValidateStringNotInArrayAsync(array$: Observable<string[]>, valueMapFunction?: (value: string) => string, validatorName?: string): AsyncValidatorFn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.3.90",
3
+ "version": "0.3.92",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {