@indigina/ui-kit 1.1.58 → 1.1.59
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/esm2022/lib/components/kit-datepicker/kit-datepicker.component.mjs +3 -6
- package/esm2022/lib/components/kit-daterange/kit-daterange.component.mjs +3 -3
- package/esm2022/lib/components/kit-datetimepicker/kit-datetimepicker.component.mjs +24 -17
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.component.mjs +2 -1
- package/fesm2022/indigina-ui-kit.mjs +24 -18
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-datepicker/kit-datepicker.component.d.ts +0 -2
- package/lib/components/kit-datetimepicker/kit-datetimepicker.component.d.ts +13 -8
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { PreventableEvent } from '@progress/kendo-angular-common';
|
|
5
4
|
import { PopupSettings } from '@progress/kendo-angular-dropdowns';
|
|
6
5
|
import { DatePickerComponent } from '@progress/kendo-angular-dateinputs';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
@@ -65,7 +64,6 @@ export declare class KitDatepickerComponent implements ControlValueAccessor {
|
|
|
65
64
|
onValueChange(value: Date): void;
|
|
66
65
|
onPopupToggle(): void;
|
|
67
66
|
onBlur(): void;
|
|
68
|
-
onClose(event: PreventableEvent): void;
|
|
69
67
|
onChange: (value: Date) => void;
|
|
70
68
|
onTouched: () => void;
|
|
71
69
|
writeValue(value: string): void;
|
|
@@ -27,9 +27,9 @@ export declare class KitDatetimepickerComponent implements ControlValueAccessor
|
|
|
27
27
|
*/
|
|
28
28
|
messageText?: string;
|
|
29
29
|
/**
|
|
30
|
-
* Defines a state whether the component will be
|
|
30
|
+
* Defines a state whether the component will be invalid
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
invalid?: boolean;
|
|
33
33
|
/**
|
|
34
34
|
* Defines a value that is going to be applied as a datetimepicker format
|
|
35
35
|
*/
|
|
@@ -46,6 +46,14 @@ export declare class KitDatetimepickerComponent implements ControlValueAccessor
|
|
|
46
46
|
* Specifies the biggest valid date
|
|
47
47
|
*/
|
|
48
48
|
max?: Date;
|
|
49
|
+
/**
|
|
50
|
+
* Defines the text of the Apply button in the popup footer of the component, "Apply" by default
|
|
51
|
+
*/
|
|
52
|
+
applyButtonText: string;
|
|
53
|
+
/**
|
|
54
|
+
* Defines the text of the Cancel button in the popup footer of the component, "Cancel" by default
|
|
55
|
+
*/
|
|
56
|
+
cancelButtonText: string;
|
|
49
57
|
/**
|
|
50
58
|
* An action which is emitted when datetimepicker value changed
|
|
51
59
|
*/
|
|
@@ -57,11 +65,12 @@ export declare class KitDatetimepickerComponent implements ControlValueAccessor
|
|
|
57
65
|
/**
|
|
58
66
|
* An icon which will be used in a datetimepicker toggle button
|
|
59
67
|
*/
|
|
60
|
-
icon: KitSvgIcon;
|
|
68
|
+
readonly icon: KitSvgIcon;
|
|
61
69
|
/**
|
|
62
70
|
* Settings for datetimepicker popup that will be opened
|
|
63
71
|
*/
|
|
64
72
|
readonly datetimepickerPopupSettings: PopupSettings;
|
|
73
|
+
readonly nowButtonText: string;
|
|
65
74
|
constructor(cdr: ChangeDetectorRef);
|
|
66
75
|
/**
|
|
67
76
|
* Function used to toggle visibility of the datetimepicker popup
|
|
@@ -71,10 +80,6 @@ export declare class KitDatetimepickerComponent implements ControlValueAccessor
|
|
|
71
80
|
* Function that is called when datetimepicker lost focus
|
|
72
81
|
*/
|
|
73
82
|
onBlur(): void;
|
|
74
|
-
/**
|
|
75
|
-
* Function that is called when datetimepicker popup closes
|
|
76
|
-
*/
|
|
77
|
-
onClose(): void;
|
|
78
83
|
/**
|
|
79
84
|
* Function that should be called every time datetimepicker value changes
|
|
80
85
|
*/
|
|
@@ -92,5 +97,5 @@ export declare class KitDatetimepickerComponent implements ControlValueAccessor
|
|
|
92
97
|
registerOnTouched(fn: () => void): void;
|
|
93
98
|
setDisabledState(disabled: boolean): void;
|
|
94
99
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitDatetimepickerComponent, never>;
|
|
95
|
-
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; }; "
|
|
100
|
+
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, false, never>;
|
|
96
101
|
}
|