cats-ui-lib 2.0.13 → 2.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/cats-ui-lib.mjs +27 -38
- package/fesm2022/cats-ui-lib.mjs.map +1 -1
- package/index.d.ts +5 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter, OnInit, OnChanges, TemplateRef, ChangeDetectorRef, ElementRef, SimpleChanges, OnDestroy, Renderer2, QueryList } from '@angular/core';
|
|
3
|
-
import { ControlValueAccessor, Validator, FormControl
|
|
3
|
+
import { ControlValueAccessor, Validator, FormControl } from '@angular/forms';
|
|
4
4
|
import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
5
5
|
|
|
6
6
|
declare class CatsUiService {
|
|
@@ -383,7 +383,7 @@ declare class AutoCompleteSingleSelectComponent implements OnInit {
|
|
|
383
383
|
registerOnChange(fn: any): void;
|
|
384
384
|
registerOnTouched(fn: any): void;
|
|
385
385
|
setDisabledState(isDisabled: boolean): void;
|
|
386
|
-
validate(control:
|
|
386
|
+
validate(control: FormControl): void;
|
|
387
387
|
private syncSelectionWithValue;
|
|
388
388
|
/**
|
|
389
389
|
* @description this method is use to update input value
|
|
@@ -431,7 +431,7 @@ declare class OutsideClickDirective {
|
|
|
431
431
|
static ɵdir: i0.ɵɵDirectiveDeclaration<OutsideClickDirective, "[catsOutsideClick]", never, {}, { "clickOutSide": "clickOutSide"; }, never, never, true, never>;
|
|
432
432
|
}
|
|
433
433
|
|
|
434
|
-
declare class AutoCompleteMultiSelectComponent implements OnInit, ControlValueAccessor
|
|
434
|
+
declare class AutoCompleteMultiSelectComponent implements OnInit, ControlValueAccessor {
|
|
435
435
|
private sanitizer;
|
|
436
436
|
autoCompleteMultiSelectConfig: AutoCompleteMultiSelectConfig;
|
|
437
437
|
selectedItem: any;
|
|
@@ -461,8 +461,9 @@ declare class AutoCompleteMultiSelectComponent implements OnInit, ControlValueAc
|
|
|
461
461
|
registerOnChange(fn: any): void;
|
|
462
462
|
registerOnTouched(fn: any): void;
|
|
463
463
|
setDisabledState(isDisabled: boolean): void;
|
|
464
|
-
validate(control:
|
|
464
|
+
validate(control: FormControl): void;
|
|
465
465
|
onInput(event: Event): void;
|
|
466
|
+
handleBlur(): void;
|
|
466
467
|
/**
|
|
467
468
|
* @description method to update selected item
|
|
468
469
|
* @author Shiva Kant
|
|
@@ -646,7 +647,6 @@ declare class CustomDatePickerComponent implements OnInit, ControlValueAccessor,
|
|
|
646
647
|
private onChange;
|
|
647
648
|
private onTouched;
|
|
648
649
|
isOpen: boolean;
|
|
649
|
-
control: FormControl<any> | null;
|
|
650
650
|
selectedDate: Date | null;
|
|
651
651
|
tempDate: Date | null;
|
|
652
652
|
rangeFrom: Date | null;
|
|
@@ -687,7 +687,6 @@ declare class CustomDatePickerComponent implements OnInit, ControlValueAccessor,
|
|
|
687
687
|
writeValue(val: any): void;
|
|
688
688
|
registerOnChange(fn: any): void;
|
|
689
689
|
registerOnTouched(fn: any): void;
|
|
690
|
-
validate(control: FormControl): any;
|
|
691
690
|
toggleCalendar(): void;
|
|
692
691
|
initializeCurrentMonthYear(): void;
|
|
693
692
|
onDocumentClick(event: MouseEvent): void;
|