@carefirst/library 1.3.0 → 1.3.1
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/form-input/form-input.component.mjs +12 -6
- package/esm2022/lib/components/form-input-select/form-input-select.component.mjs +11 -5
- package/esm2022/lib/components/form-input-text-area/form-input-text-area.component.mjs +11 -5
- package/esm2022/lib/interfaces/input.interface.mjs +1 -1
- package/fesm2022/carefirst-library.mjs +31 -13
- package/fesm2022/carefirst-library.mjs.map +1 -1
- package/lib/components/form-input/form-input.component.d.ts +4 -2
- package/lib/components/form-input-select/form-input-select.component.d.ts +7 -5
- package/lib/components/form-input-text-area/form-input-text-area.component.d.ts +4 -2
- package/lib/interfaces/input.interface.d.ts +2 -2
- package/package.json +1 -1
@@ -20,7 +20,9 @@ export declare class FormInputComponent implements OnChanges {
|
|
20
20
|
textCenter?: boolean | string | undefined;
|
21
21
|
maxLength?: number | string;
|
22
22
|
greyBackground?: boolean | string | undefined;
|
23
|
-
|
23
|
+
ionInputEvent: EventEmitter<string | undefined>;
|
24
|
+
ngModelValue: string | undefined;
|
25
|
+
ngModelValueChange: EventEmitter<string | undefined>;
|
24
26
|
inputLabelPlacement: typeof this.labelPlacement;
|
25
27
|
localInputMode: typeof this.inputmode;
|
26
28
|
inputClear: boolean;
|
@@ -30,6 +32,6 @@ export declare class FormInputComponent implements OnChanges {
|
|
30
32
|
inputGreyBackground: boolean;
|
31
33
|
ngOnChanges(changes: SimpleChanges): void;
|
32
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, never>;
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "cf-form-input", never, { "label": { "alias": "label"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "type": { "alias": "type"; "required": false; }; "noClearButton": { "alias": "noClearButton"; "required": false; }; "control": { "alias": "control"; "required": false; }; "textCenter": { "alias": "textCenter"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "greyBackground": { "alias": "greyBackground"; "required": false; }; }, { "
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "cf-form-input", never, { "label": { "alias": "label"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "type": { "alias": "type"; "required": false; }; "noClearButton": { "alias": "noClearButton"; "required": false; }; "control": { "alias": "control"; "required": false; }; "textCenter": { "alias": "textCenter"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "greyBackground": { "alias": "greyBackground"; "required": false; }; "ngModelValue": { "alias": "ngModelValue"; "required": false; }; }, { "ionInputEvent": "ionInputEvent"; "ngModelValueChange": "ngModelValueChange"; }, never, never, false, never>;
|
34
36
|
}
|
35
37
|
export {};
|
@@ -2,14 +2,16 @@ import { EventEmitter, type OnChanges, type SimpleChanges } from '@angular/core'
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
3
3
|
import type { FormInputSelectOptionsI } from '../../interfaces/input.interface';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
export declare class FormInputSelectComponent implements OnChanges {
|
5
|
+
export declare class FormInputSelectComponent<T> implements OnChanges {
|
6
6
|
label: string;
|
7
|
-
options: FormInputSelectOptionsI[];
|
7
|
+
options: FormInputSelectOptionsI<T>[];
|
8
8
|
labelPlacement?: 'fixed' | 'floating' | 'stacked';
|
9
9
|
control?: FormControl | null;
|
10
|
-
|
10
|
+
ionInputEvent: EventEmitter<T | undefined>;
|
11
|
+
ngModelValue: FormInputSelectOptionsI<T>['value'] | undefined;
|
12
|
+
ngModelValueChange: EventEmitter<T | undefined>;
|
11
13
|
inputLabelPlacement: typeof this.labelPlacement;
|
12
14
|
ngOnChanges(changes: SimpleChanges): void;
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputSelectComponent
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputSelectComponent
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputSelectComponent<any>, never>;
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputSelectComponent<any>, "cf-form-input-select", never, { "label": { "alias": "label"; "required": false; }; "options": { "alias": "options"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "control": { "alias": "control"; "required": false; }; "ngModelValue": { "alias": "ngModelValue"; "required": false; }; }, { "ionInputEvent": "ionInputEvent"; "ngModelValueChange": "ngModelValueChange"; }, never, never, false, never>;
|
15
17
|
}
|
@@ -7,12 +7,14 @@ export declare class FormInputTextAreaComponent implements OnChanges {
|
|
7
7
|
autoCapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
8
8
|
control?: FormControl | null;
|
9
9
|
textCenter?: boolean | string | undefined;
|
10
|
-
|
10
|
+
ionInputEvent: EventEmitter<string | undefined>;
|
11
|
+
ngModelValue: string | undefined;
|
12
|
+
ngModelValueChange: EventEmitter<string | undefined>;
|
11
13
|
inputLabelPlacement: typeof this.labelPlacement;
|
12
14
|
inputClear: boolean;
|
13
15
|
inputTextCenter: boolean;
|
14
16
|
inputAutoCapitalize: typeof this.autoCapitalize;
|
15
17
|
ngOnChanges(changes: SimpleChanges): void;
|
16
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputTextAreaComponent, never>;
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputTextAreaComponent, "cf-form-input-text-area", never, { "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "control": { "alias": "control"; "required": false; }; "textCenter": { "alias": "textCenter"; "required": false; }; }, { "
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputTextAreaComponent, "cf-form-input-text-area", never, { "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "control": { "alias": "control"; "required": false; }; "textCenter": { "alias": "textCenter"; "required": false; }; "ngModelValue": { "alias": "ngModelValue"; "required": false; }; }, { "ionInputEvent": "ionInputEvent"; "ngModelValueChange": "ngModelValueChange"; }, never, never, false, never>;
|
18
20
|
}
|