@indigina/ui-kit 1.1.24 → 1.1.26
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-dialog/kit-dialog.component.mjs +2 -2
- package/esm2022/lib/components/kit-dialog-actions/kit-dialog-actions.component.mjs +2 -2
- package/esm2022/lib/components/kit-numeric-textbox/kit-numeric-textbox.component.mjs +21 -4
- package/esm2022/lib/components/kit-numeric-textbox/kit-numeric-textbox.const.mjs +8 -0
- package/esm2022/lib/components/kit-numeric-textbox/kit-numeric-textbox.module.mjs +7 -3
- package/esm2022/lib/components/kit-textbox/kit-textbox.component.mjs +2 -2
- package/fesm2022/indigina-ui-kit.mjs +43 -11
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-numeric-textbox/kit-numeric-textbox.component.d.ts +11 -1
- package/lib/components/kit-numeric-textbox/kit-numeric-textbox.const.d.ts +6 -0
- package/lib/components/kit-numeric-textbox/kit-numeric-textbox.module.d.ts +2 -1
- package/lib/components/kit-textbox/kit-textbox.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
4
4
|
import { KitInputMessageType } from '../kit-input-message/kit-input-message.component';
|
|
5
|
+
import { KitNumericTextboxState } from './kit-numeric-textbox.const';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class KitNumericTextboxComponent implements ControlValueAccessor {
|
|
7
8
|
/**
|
|
@@ -52,6 +53,14 @@ export declare class KitNumericTextboxComponent implements ControlValueAccessor
|
|
|
52
53
|
* Specifies the number format
|
|
53
54
|
*/
|
|
54
55
|
format?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Defines the state of the textbox
|
|
58
|
+
*/
|
|
59
|
+
state: KitNumericTextboxState;
|
|
60
|
+
/**
|
|
61
|
+
* Defines the icon which will be used with the input field
|
|
62
|
+
*/
|
|
63
|
+
icon?: KitSvgIcon;
|
|
55
64
|
/**
|
|
56
65
|
* An action which is emitted when input field lost focus
|
|
57
66
|
*/
|
|
@@ -60,6 +69,7 @@ export declare class KitNumericTextboxComponent implements ControlValueAccessor
|
|
|
60
69
|
* An action which is emitted when input value changed
|
|
61
70
|
*/
|
|
62
71
|
changed: EventEmitter<number>;
|
|
72
|
+
readonly numericTextboxStateIcon: Record<KitNumericTextboxState, KitSvgIcon>;
|
|
63
73
|
/**
|
|
64
74
|
* Function that should be called every time the form control value changes
|
|
65
75
|
*/
|
|
@@ -81,5 +91,5 @@ export declare class KitNumericTextboxComponent implements ControlValueAccessor
|
|
|
81
91
|
*/
|
|
82
92
|
onInputChange(value: number): void;
|
|
83
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitNumericTextboxComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitNumericTextboxComponent, "kit-numeric-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "messageType": { "alias": "messageType"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitNumericTextboxComponent, "kit-numeric-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "messageType": { "alias": "messageType"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "format": { "alias": "format"; "required": false; }; "state": { "alias": "state"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
|
|
85
95
|
}
|
|
@@ -5,8 +5,9 @@ import * as i2 from "@angular/common";
|
|
|
5
5
|
import * as i3 from "@progress/kendo-angular-inputs";
|
|
6
6
|
import * as i4 from "@progress/kendo-angular-label";
|
|
7
7
|
import * as i5 from "../kit-input-message/kit-input-message.module";
|
|
8
|
+
import * as i6 from "projects/ui-kit/src/lib/components/kit-svg-icon/kit-svg-icon.module";
|
|
8
9
|
export declare class KitNumericTextboxModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<KitNumericTextboxModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KitNumericTextboxModule, [typeof i1.KitNumericTextboxComponent], [typeof i2.CommonModule, typeof i3.NumericTextBoxModule, typeof i4.LabelModule, typeof i5.KitInputMessageModule], [typeof i1.KitNumericTextboxComponent]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitNumericTextboxModule, [typeof i1.KitNumericTextboxComponent], [typeof i2.CommonModule, typeof i3.NumericTextBoxModule, typeof i4.LabelModule, typeof i5.KitInputMessageModule, typeof i6.KitSvgIconModule], [typeof i1.KitNumericTextboxComponent]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<KitNumericTextboxModule>;
|
|
12
13
|
}
|
|
@@ -2,7 +2,7 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
4
4
|
import { KitInputMessageType } from '../kit-input-message/kit-input-message.component';
|
|
5
|
-
import { KitTextboxState } from '
|
|
5
|
+
import { KitTextboxState } from './kit-textbox.const';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class KitTextboxComponent implements ControlValueAccessor {
|
|
8
8
|
/**
|