@indigina/ui-kit 1.1.278 → 1.1.280
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/indigina-ui-kit.mjs +25 -12
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/index.d.ts +12 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InputSignal, EventEmitter, Predicate, TemplateRef, Signal, WritableSignal, OnChanges, OnInit, OnDestroy, OutputEmitterRef, ModuleWithProviders, ModelSignal, SimpleChanges, ElementRef, AfterContentInit, QueryList, AfterViewInit, ViewContainerRef, PipeTransform, InjectionToken } from '@angular/core';
|
|
2
|
+
import { InputSignal, EventEmitter, Predicate, ChangeDetectorRef, TemplateRef, Signal, WritableSignal, OnChanges, OnInit, OnDestroy, OutputEmitterRef, ModuleWithProviders, ModelSignal, SimpleChanges, ElementRef, AfterContentInit, QueryList, AfterViewInit, ViewContainerRef, PipeTransform, InjectionToken } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, AbstractControl, UntypedFormGroup } from '@angular/forms';
|
|
4
4
|
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
5
5
|
import { PopupSettings, DropDownListComponent, ItemDisabledFn, MultiSelectComponent } from '@progress/kendo-angular-dropdowns';
|
|
@@ -394,6 +394,8 @@ declare enum KitTextboxSize {
|
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
declare class KitTextboxComponent implements ControlValueAccessor {
|
|
397
|
+
readonly cdr: ChangeDetectorRef;
|
|
398
|
+
textbox: TextBoxComponent | undefined;
|
|
397
399
|
/**
|
|
398
400
|
* Defines a value that is going to be applied as an input placeholder
|
|
399
401
|
*/
|
|
@@ -721,6 +723,7 @@ declare enum KitTextareaState {
|
|
|
721
723
|
}
|
|
722
724
|
|
|
723
725
|
declare class KitTextareaComponent implements ControlValueAccessor, OnChanges {
|
|
726
|
+
private readonly cdr;
|
|
724
727
|
/**
|
|
725
728
|
* Defines a value that is going to be applied as a textarea placeholder
|
|
726
729
|
*/
|
|
@@ -1007,6 +1010,10 @@ declare class KitDatetimepickerComponent implements ControlValueAccessor {
|
|
|
1007
1010
|
* Defines a value that is going to be applied as a datetimepicker label
|
|
1008
1011
|
*/
|
|
1009
1012
|
label?: string;
|
|
1013
|
+
/**
|
|
1014
|
+
* Defines a value that is going to be applied as a datepicker label tooltip
|
|
1015
|
+
*/
|
|
1016
|
+
labelTooltip?: string;
|
|
1010
1017
|
/**
|
|
1011
1018
|
* Defines a value that is going to be applied as a datetimepicker placeholder
|
|
1012
1019
|
*/
|
|
@@ -1034,7 +1041,7 @@ declare class KitDatetimepickerComponent implements ControlValueAccessor {
|
|
|
1034
1041
|
/**
|
|
1035
1042
|
* Defines a value that is going to be applied as a default datetimepicker value
|
|
1036
1043
|
*/
|
|
1037
|
-
defaultDate?: Date;
|
|
1044
|
+
defaultDate?: Date | null;
|
|
1038
1045
|
/**
|
|
1039
1046
|
* Specifies the smallest valid date
|
|
1040
1047
|
*/
|
|
@@ -1083,17 +1090,17 @@ declare class KitDatetimepickerComponent implements ControlValueAccessor {
|
|
|
1083
1090
|
/**
|
|
1084
1091
|
* Function that should be called every time the form control value changes
|
|
1085
1092
|
*/
|
|
1086
|
-
onChange: (_value: Date) => void;
|
|
1093
|
+
onChange: (_value: Date | null) => void;
|
|
1087
1094
|
/**
|
|
1088
1095
|
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
1089
1096
|
*/
|
|
1090
1097
|
onTouched: () => void;
|
|
1091
1098
|
writeValue(value: string): void;
|
|
1092
|
-
registerOnChange(fn: (_: Date) => void): void;
|
|
1099
|
+
registerOnChange(fn: (_: Date | null) => void): void;
|
|
1093
1100
|
registerOnTouched(fn: () => void): void;
|
|
1094
1101
|
setDisabledState(disabled: boolean): void;
|
|
1095
1102
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitDatetimepickerComponent, never>;
|
|
1096
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitDatetimepickerComponent, "kit-datetimepicker", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "format": { "alias": "format"; "required": false; }; "defaultDate": { "alias": "defaultDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "applyButtonText": { "alias": "applyButtonText"; "required": false; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
1103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitDatetimepickerComponent, "kit-datetimepicker", never, { "label": { "alias": "label"; "required": false; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "format": { "alias": "format"; "required": false; }; "defaultDate": { "alias": "defaultDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "applyButtonText": { "alias": "applyButtonText"; "required": false; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
1097
1104
|
}
|
|
1098
1105
|
|
|
1099
1106
|
declare enum KitNotificationType {
|