@carefirst/library 1.2.18 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,16 +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
- ionInputEvent: EventEmitter<string | number | boolean | object | null | undefined>;
11
- ngModelValue: FormInputSelectOptionsI['value'] | undefined;
12
- ngModelValueChange: EventEmitter<string | number | boolean | object | null | undefined>;
10
+ ionInputEvent: EventEmitter<T | undefined>;
11
+ ngModelValue: FormInputSelectOptionsI<T>['value'] | undefined;
12
+ ngModelValueChange: EventEmitter<T | undefined>;
13
13
  inputLabelPlacement: typeof this.labelPlacement;
14
14
  ngOnChanges(changes: SimpleChanges): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<FormInputSelectComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<FormInputSelectComponent, "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
+ 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>;
17
17
  }
@@ -1,4 +1,4 @@
1
- export interface FormInputSelectOptionsI {
1
+ export interface FormInputSelectOptionsI<T> {
2
2
  displayName: string | number;
3
- value: string | number | boolean | null | undefined | object;
3
+ value: T;
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carefirst/library",
3
- "version": "1.2.18",
3
+ "version": "1.3.1",
4
4
  "author": "Jacques Francois Coetzee",
5
5
  "private": false,
6
6
  "peerDependencies": {