@carefirst/library 1.2.3 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/alert/alert.component.mjs +3 -3
- package/esm2022/lib/components/button/button.component.mjs +4 -4
- package/esm2022/lib/components/calendar/calendar.component.mjs +3 -3
- package/esm2022/lib/components/form-input/form-input.component.mjs +3 -3
- package/esm2022/lib/components/form-input-select/form-input-select.component.mjs +3 -3
- package/esm2022/lib/components/form-input-text-area/form-input-text-area.component.mjs +3 -3
- package/esm2022/lib/components/form-validation/form-validation.component.mjs +5 -5
- package/esm2022/lib/components/icon/icon.component.mjs +3 -3
- package/esm2022/lib/components/logo/logo.component.mjs +3 -3
- package/esm2022/lib/components/notification/notification.component.mjs +3 -3
- package/esm2022/lib/components/page/page.component.mjs +5 -5
- package/esm2022/lib/components/spacer/spacer.component.mjs +3 -3
- package/esm2022/lib/directives/button-loader.directive.mjs +6 -6
- package/esm2022/lib/library.module.mjs +4 -4
- package/esm2022/lib/utils/form-validators-utility.mjs +113 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/carefirst-library.mjs +161 -50
- package/fesm2022/carefirst-library.mjs.map +1 -1
- package/lib/utils/form-validators-utility.d.ts +8 -0
- package/package.json +6 -5
- package/public-api.d.ts +1 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { ValidatorFn } from '@angular/forms';
|
2
|
+
export declare class CFPFormValidators {
|
3
|
+
static compareTo(controlNameToCheckAgainst: string): ValidatorFn;
|
4
|
+
static asPassword(): ValidatorFn;
|
5
|
+
static asEmail(canBeEmpty?: true): ValidatorFn;
|
6
|
+
static isIn(list: (string | number)[]): ValidatorFn;
|
7
|
+
static isSAIDNumber(canBeEmpty?: true): ValidatorFn;
|
8
|
+
}
|
package/package.json
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "@carefirst/library",
|
3
|
-
"version": "1.2.
|
3
|
+
"version": "1.2.6",
|
4
4
|
"author": "Jacques Francois Coetzee",
|
5
5
|
"private": false,
|
6
6
|
"peerDependencies": {
|
7
|
-
"@angular/common": "^
|
8
|
-
"@angular/core": "^
|
9
|
-
"@ionic/angular": "^7.
|
10
|
-
"dayjs": "^1.11.10"
|
7
|
+
"@angular/common": "^17.x",
|
8
|
+
"@angular/core": "^17.x",
|
9
|
+
"@ionic/angular": "^7.6.4",
|
10
|
+
"dayjs": "^1.11.10",
|
11
|
+
"password-validator": "^5.3.0"
|
11
12
|
},
|
12
13
|
"dependencies": {
|
13
14
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
export * from './lib/library.module';
|
2
2
|
export * from './lib/directives/button-loader.directive';
|
3
|
+
export * from './lib/utils/form-validators-utility';
|
3
4
|
export * from './lib/components/alert/alert.component';
|
4
5
|
export * from './lib/components/page/page.component';
|
5
6
|
export * from './lib/components/button/button.component';
|