@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.
@@ -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",
3
+ "version": "1.2.6",
4
4
  "author": "Jacques Francois Coetzee",
5
5
  "private": false,
6
6
  "peerDependencies": {
7
- "@angular/common": "^16.x || ^17.x",
8
- "@angular/core": "^16.x || ^17.x",
9
- "@ionic/angular": "^7.5.5",
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';