@carefirst/library 4.0.4 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/form-input/form-input.component.mjs +2 -7
- package/esm2022/lib/components/form-input-search/form-input-search.component.mjs +67 -0
- package/esm2022/lib/components/icon/icon.component.mjs +3 -3
- package/esm2022/lib/interfaces/icon.interface.mjs +2 -1
- package/esm2022/lib/interfaces/internal.interface.mjs +7 -0
- package/esm2022/lib/library.module.mjs +6 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/carefirst-library.mjs +67 -3
- package/fesm2022/carefirst-library.mjs.map +1 -1
- package/lib/components/form-input/form-input.component.d.ts +1 -7
- package/lib/components/form-input-search/form-input-search.component.d.ts +26 -0
- package/lib/interfaces/icon.interface.d.ts +1 -1
- package/lib/interfaces/internal.interface.d.ts +6 -0
- package/lib/library.module.d.ts +10 -9
- package/package.json +4 -4
- package/public-api.d.ts +1 -0
@@ -1,12 +1,7 @@
|
|
1
1
|
import { type OnChanges, type SimpleChanges, EventEmitter } from '@angular/core';
|
2
2
|
import { FormControl } from '@angular/forms';
|
3
|
+
import { inputsC } from '../../interfaces/internal.interface';
|
3
4
|
import * as i0 from "@angular/core";
|
4
|
-
declare const inputsC: {
|
5
|
-
readonly labelPlacement: readonly ["fixed", "floating", "stacked", "start", "end"];
|
6
|
-
readonly inputMode: readonly ["text", "email", "numeric", "tel", "decimal", "url", "search"];
|
7
|
-
readonly autoCapitalize: readonly ["off", "none", "on", "sentences", "words", "characters"];
|
8
|
-
readonly type: readonly ["date", "datetime-local", "email", "month", "number", "password", "search", "tel", "text", "time", "url", "week"];
|
9
|
-
};
|
10
5
|
export declare class FormInputComponent implements OnChanges {
|
11
6
|
label: string;
|
12
7
|
min: string | number | undefined;
|
@@ -39,4 +34,3 @@ export declare class FormInputComponent implements OnChanges {
|
|
39
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, never>;
|
40
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; }; "placeholder": { "alias": "placeholder"; "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; }; "customErrorMessage": { "alias": "customErrorMessage"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
41
36
|
}
|
42
|
-
export {};
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { type SimpleChanges, type OnChanges, EventEmitter } from '@angular/core';
|
2
|
+
import type { FormControl } from '@angular/forms';
|
3
|
+
import { inputsC } from '../../interfaces/internal.interface';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class FormInputSearchComponent implements OnChanges {
|
6
|
+
label: string;
|
7
|
+
labelPlacement?: (typeof inputsC.labelPlacement)[number];
|
8
|
+
placeholder?: string | undefined;
|
9
|
+
autoCapitalize?: (typeof inputsC.autoCapitalize)[number];
|
10
|
+
clearButton?: boolean | string | undefined;
|
11
|
+
control?: FormControl | null;
|
12
|
+
textCenter?: boolean | string | undefined;
|
13
|
+
customErrorMessage: string | null;
|
14
|
+
debounce?: number | undefined;
|
15
|
+
searchButtonTrigger: EventEmitter<string | undefined>;
|
16
|
+
value: string | undefined;
|
17
|
+
valueChange: EventEmitter<string | undefined>;
|
18
|
+
inputLabelPlacement: typeof this.labelPlacement;
|
19
|
+
inputClear: boolean;
|
20
|
+
inputTextCenter: boolean;
|
21
|
+
inputAutoCapitalize: typeof this.autoCapitalize;
|
22
|
+
showPassword: boolean;
|
23
|
+
ngOnChanges(changes: SimpleChanges): void;
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputSearchComponent, never>;
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputSearchComponent, "cf-form-input-search", never, { "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "control": { "alias": "control"; "required": false; }; "textCenter": { "alias": "textCenter"; "required": false; }; "customErrorMessage": { "alias": "customErrorMessage"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "searchButtonTrigger": "searchButtonTrigger"; "valueChange": "valueChange"; }, never, never, false, never>;
|
26
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const iconsC: readonly ["home", "cog", "profile", "scan", "person", "appointment", "clock", "calendar", "email", "phone", "sign-out", "sign-in", "close", "check-mark", "rating-star-blank", "rating-star-filled", "back-arrow", "bell", "lock", "show-password", "hide-password", "circle-check", "circle-alert", "circle-close", "direction-switch", "direction-switch-flat", "direction-switch-block", "chat-bubbles", "phone-down", "mic", "no-mic", "button-forward-arrow", "button-check-box", "social-media-whatsapp", "social-media-facebook", "social-media-linkedin", "social-media-instagram", "social-media-google-mail", "instant-video-service", "instant-telephonic-service", "scheduled-video-service", "scheduled-telephonic-service", "vital-scan-service", "open-back-arrow", "open-forward-arrow", "open-up-arrow", "open-down-arrow", "single-document", "lightning", "microsoft-365", "user-dependent", "plus", "close-box", "speech-bubble", "camera-switch", "retry", "download", "upload", "upload-document", "print"];
|
1
|
+
export declare const iconsC: readonly ["home", "cog", "profile", "scan", "person", "appointment", "clock", "calendar", "email", "phone", "sign-out", "sign-in", "close", "check-mark", "rating-star-blank", "rating-star-filled", "back-arrow", "bell", "lock", "show-password", "hide-password", "circle-check", "circle-alert", "circle-close", "direction-switch", "direction-switch-flat", "direction-switch-block", "chat-bubbles", "phone-down", "mic", "no-mic", "button-forward-arrow", "button-check-box", "social-media-whatsapp", "social-media-facebook", "social-media-linkedin", "social-media-instagram", "social-media-google-mail", "instant-video-service", "instant-telephonic-service", "scheduled-video-service", "scheduled-telephonic-service", "vital-scan-service", "open-back-arrow", "open-forward-arrow", "open-up-arrow", "open-down-arrow", "single-document", "lightning", "microsoft-365", "user-dependent", "plus", "close-box", "speech-bubble", "camera-switch", "retry", "download", "upload", "upload-document", "print", "search"];
|
2
2
|
export type IconsT = (typeof iconsC)[number];
|
3
3
|
export declare const iconColorC: readonly ["primary", "secondary", "success", "warning", "error", "white", "accent"];
|
4
4
|
export type IconColorT = (typeof iconColorC)[number];
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export declare const inputsC: {
|
2
|
+
readonly labelPlacement: readonly ["fixed", "floating", "stacked", "start", "end"];
|
3
|
+
readonly inputMode: readonly ["text", "email", "numeric", "tel", "decimal", "url", "search"];
|
4
|
+
readonly autoCapitalize: readonly ["off", "none", "on", "sentences", "words", "characters"];
|
5
|
+
readonly type: readonly ["date", "datetime-local", "email", "month", "number", "password", "search", "tel", "text", "time", "url", "week"];
|
6
|
+
};
|
package/lib/library.module.d.ts
CHANGED
@@ -12,16 +12,17 @@ import * as i10 from "./components/form-validation/form-validation.component";
|
|
12
12
|
import * as i11 from "./components/form-input/form-input.component";
|
13
13
|
import * as i12 from "./components/form-input-select/form-input-select.component";
|
14
14
|
import * as i13 from "./components/form-input-text-area/form-input-text-area.component";
|
15
|
-
import * as i14 from "./components/
|
16
|
-
import * as i15 from "./components/
|
17
|
-
import * as i16 from "./components/
|
18
|
-
import * as i17 from "./components/
|
19
|
-
import * as i18 from "./components/
|
20
|
-
import * as i19 from "
|
21
|
-
import * as i20 from "@angular
|
22
|
-
import * as i21 from "@angular/
|
15
|
+
import * as i14 from "./components/form-input-search/form-input-search.component";
|
16
|
+
import * as i15 from "./components/chat-bubble/chat-bubble.component";
|
17
|
+
import * as i16 from "./components/badge/badge.component";
|
18
|
+
import * as i17 from "./components/spinner/spinner.component";
|
19
|
+
import * as i18 from "./components/verification-code/verification-code.component";
|
20
|
+
import * as i19 from "./components/mix-p/mix-p.component";
|
21
|
+
import * as i20 from "@ionic/angular";
|
22
|
+
import * as i21 from "@angular/common";
|
23
|
+
import * as i22 from "@angular/forms";
|
23
24
|
export declare class CareFirstLibraryModule {
|
24
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<CareFirstLibraryModule, never>;
|
25
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CareFirstLibraryModule, [typeof i1.PageComponent, typeof i2.ButtonComponent, typeof i3.SpacerComponent, typeof i4.IconComponent, typeof i5.ButtonLoaderDirective, typeof i6.NotificationComponent, typeof i7.AlertComponent, typeof i8.LogoComponent, typeof i9.CalendarComponent, typeof i10.FormValidationComponent, typeof i11.FormInputComponent, typeof i12.FormInputSelectComponent, typeof i13.FormInputTextAreaComponent, typeof i14.
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CareFirstLibraryModule, [typeof i1.PageComponent, typeof i2.ButtonComponent, typeof i3.SpacerComponent, typeof i4.IconComponent, typeof i5.ButtonLoaderDirective, typeof i6.NotificationComponent, typeof i7.AlertComponent, typeof i8.LogoComponent, typeof i9.CalendarComponent, typeof i10.FormValidationComponent, typeof i11.FormInputComponent, typeof i12.FormInputSelectComponent, typeof i13.FormInputTextAreaComponent, typeof i14.FormInputSearchComponent, typeof i15.ChatBubbleComponent, typeof i16.BadgeComponent, typeof i17.SpinnerComponent, typeof i18.VerificationCodeComponent, typeof i19.MixPComponent], [typeof i20.IonicModule, typeof i21.CommonModule, typeof i22.ReactiveFormsModule], [typeof i1.PageComponent, typeof i2.ButtonComponent, typeof i3.SpacerComponent, typeof i4.IconComponent, typeof i5.ButtonLoaderDirective, typeof i6.NotificationComponent, typeof i7.AlertComponent, typeof i8.LogoComponent, typeof i9.CalendarComponent, typeof i10.FormValidationComponent, typeof i11.FormInputComponent, typeof i12.FormInputSelectComponent, typeof i13.FormInputTextAreaComponent, typeof i14.FormInputSearchComponent, typeof i15.ChatBubbleComponent, typeof i16.BadgeComponent, typeof i17.SpinnerComponent, typeof i18.VerificationCodeComponent, typeof i19.MixPComponent]>;
|
26
27
|
static ɵinj: i0.ɵɵInjectorDeclaration<CareFirstLibraryModule>;
|
27
28
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@carefirst/library",
|
3
|
-
"version": "4.0
|
3
|
+
"version": "4.1.0",
|
4
4
|
"author": "Jacques Francois Coetzee",
|
5
5
|
"private": false,
|
6
6
|
"peerDependencies": {
|
@@ -10,9 +10,6 @@
|
|
10
10
|
"dayjs": "~1.11.12",
|
11
11
|
"password-validator": "~5.3.0"
|
12
12
|
},
|
13
|
-
"dependencies": {
|
14
|
-
"tslib": "^2.3.0"
|
15
|
-
},
|
16
13
|
"sideEffects": false,
|
17
14
|
"module": "fesm2022/carefirst-library.mjs",
|
18
15
|
"typings": "index.d.ts",
|
@@ -26,5 +23,8 @@
|
|
26
23
|
"esm": "./esm2022/carefirst-library.mjs",
|
27
24
|
"default": "./fesm2022/carefirst-library.mjs"
|
28
25
|
}
|
26
|
+
},
|
27
|
+
"dependencies": {
|
28
|
+
"tslib": "^2.3.0"
|
29
29
|
}
|
30
30
|
}
|
package/public-api.d.ts
CHANGED
@@ -13,6 +13,7 @@ export * from './lib/components/form-validation/form-validation.component';
|
|
13
13
|
export * from './lib/components/form-input/form-input.component';
|
14
14
|
export * from './lib/components/form-input-select/form-input-select.component';
|
15
15
|
export * from './lib/components/form-input-text-area/form-input-text-area.component';
|
16
|
+
export * from './lib/components/form-input-search/form-input-search.component';
|
16
17
|
export * from './lib/components/chat-bubble/chat-bubble.component';
|
17
18
|
export * from './lib/components/badge/badge.component';
|
18
19
|
export * from './lib/components/spinner/spinner.component';
|