@indigina/ui-kit 1.1.59 → 1.1.61
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 +2 -2
- package/esm2022/lib/components/kit-datetimepicker/kit-datetimepicker.component.mjs +2 -2
- package/esm2022/lib/components/kit-timepicker/kit-timepicker.component.mjs +62 -9
- package/esm2022/lib/components/kit-timepicker/kit-timepicker.module.mjs +15 -4
- package/fesm2022/indigina-ui-kit.mjs +74 -13
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-timepicker/kit-timepicker.component.d.ts +55 -3
- package/lib/components/kit-timepicker/kit-timepicker.module.d.ts +3 -1
- package/package.json +1 -1
|
@@ -4,22 +4,74 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
4
4
|
import { PopupSettings } from '@progress/kendo-angular-dropdowns';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class KitTimepickerComponent implements ControlValueAccessor {
|
|
7
|
+
/**
|
|
8
|
+
* Defines a value that is going to be applied as a timepicker label
|
|
9
|
+
*/
|
|
7
10
|
label: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Defines a value that is going to be applied as a timepicker placeholder
|
|
13
|
+
*/
|
|
8
14
|
placeholder: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* Defines a value that is going to be applied as a default timepicker value
|
|
17
|
+
*/
|
|
9
18
|
defaultValue: Date | null;
|
|
19
|
+
/**
|
|
20
|
+
* Defines whether 24-hour time format will be applied to timepicker component
|
|
21
|
+
*/
|
|
10
22
|
longFormatEnabled: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Defines whether the component will be in disabled state
|
|
25
|
+
*/
|
|
11
26
|
disabled: boolean;
|
|
12
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Defines a state whether the component will be invalid
|
|
29
|
+
*/
|
|
30
|
+
invalid: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies the smallest valid time value
|
|
33
|
+
*/
|
|
13
34
|
min: Date | null;
|
|
35
|
+
/**
|
|
36
|
+
* Specifies the biggest valid time value
|
|
37
|
+
*/
|
|
14
38
|
max: Date | null;
|
|
39
|
+
/**
|
|
40
|
+
* Defines the text of the Apply button in the popup footer of the component, "Apply" by default
|
|
41
|
+
*/
|
|
42
|
+
applyButtonText: string;
|
|
43
|
+
/**
|
|
44
|
+
* Defines the text of the Cancel button in the popup footer of the component, "Cancel" by default
|
|
45
|
+
*/
|
|
46
|
+
cancelButtonText: string;
|
|
47
|
+
/**
|
|
48
|
+
* Defines an icon which will be used to the left of the info message
|
|
49
|
+
*/
|
|
50
|
+
messageIcon?: KitSvgIcon;
|
|
51
|
+
/**
|
|
52
|
+
* Defines a value which going to be an info message text
|
|
53
|
+
*/
|
|
54
|
+
messageText?: string;
|
|
55
|
+
/**
|
|
56
|
+
* An action which is emitted when timepicker popup opened
|
|
57
|
+
*/
|
|
15
58
|
popupOpened: EventEmitter<void>;
|
|
59
|
+
/**
|
|
60
|
+
* An action which is emitted when timepicker popup closed
|
|
61
|
+
*/
|
|
16
62
|
popupClosed: EventEmitter<void>;
|
|
63
|
+
/**
|
|
64
|
+
* An action which is emitted when timepicker value changed
|
|
65
|
+
*/
|
|
17
66
|
changed: EventEmitter<Date>;
|
|
67
|
+
/**
|
|
68
|
+
* An action which is emitted when timepicker input field lost focus
|
|
69
|
+
*/
|
|
18
70
|
blured: EventEmitter<void>;
|
|
19
71
|
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
20
72
|
readonly longTimeFormat: string;
|
|
21
73
|
readonly shortTimeFormat: string;
|
|
22
|
-
readonly
|
|
74
|
+
readonly timepickerPopupSettings: PopupSettings;
|
|
23
75
|
onChange(value: Date): void;
|
|
24
76
|
onTouched(): void;
|
|
25
77
|
onInputBlur(): void;
|
|
@@ -29,5 +81,5 @@ export declare class KitTimepickerComponent implements ControlValueAccessor {
|
|
|
29
81
|
registerOnTouched(fn: () => void): void;
|
|
30
82
|
setDisabledState(disabled: boolean): void;
|
|
31
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimepickerComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitTimepickerComponent, "kit-timepicker", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "longFormatEnabled": { "alias": "longFormatEnabled"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTimepickerComponent, "kit-timepicker", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "longFormatEnabled": { "alias": "longFormatEnabled"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "applyButtonText": { "alias": "applyButtonText"; "required": false; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; }, { "popupOpened": "popupOpened"; "popupClosed": "popupClosed"; "changed": "changed"; "blured": "blured"; }, never, never, false, never>;
|
|
33
85
|
}
|
|
@@ -3,8 +3,10 @@ import * as i1 from "./kit-timepicker.component";
|
|
|
3
3
|
import * as i2 from "@progress/kendo-angular-dateinputs";
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
5
|
import * as i4 from "../kit-svg-icon/kit-svg-icon.module";
|
|
6
|
+
import * as i5 from "../kit-input-label/kit-input-label.module";
|
|
7
|
+
import * as i6 from "../kit-input-message/kit-input-message.module";
|
|
6
8
|
export declare class KitTimepickerModule {
|
|
7
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimepickerModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KitTimepickerModule, [typeof i1.KitTimepickerComponent], [typeof i2.TimePickerModule, typeof i3.CommonModule, typeof i4.KitSvgIconModule], [typeof i1.KitTimepickerComponent]>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitTimepickerModule, [typeof i1.KitTimepickerComponent], [typeof i2.TimePickerModule, typeof i3.CommonModule, typeof i4.KitSvgIconModule, typeof i5.KitInputLabelModule, typeof i2.DateTimePickerModule, typeof i6.KitInputMessageModule], [typeof i1.KitTimepickerComponent]>;
|
|
9
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<KitTimepickerModule>;
|
|
10
12
|
}
|