angular-iban 6.0.1 → 14.0.0

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2018 - 2021 fundsaccess AG
3
+ Copyright (c) 2018 - 2022 fundsaccess AG
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -14,13 +14,14 @@ This library supports Angular 7+. Please check the Version compatibility below t
14
14
 
15
15
  | angular-iban | Angular |
16
16
  |:------------:|:-------:|
17
- | 0.2.0 | 7.x |
18
- | 1.x | 8.x |
19
- | 2.x | 9.x |
20
- | 3.x | 10.x |
21
- | 4.x | 11.x |
22
- | 5.x | 12.x |
23
- | 6.x | 13.x |
17
+ | 0.2.0 | 7.x |
18
+ | 1.x | 8.x |
19
+ | 2.x | 9.x |
20
+ | 3.x | 10.x |
21
+ | 4.x | 11.x |
22
+ | 5.x | 12.x |
23
+ | 6.x | 13.x |
24
+ | 14.x | 14.x |
24
25
 
25
26
  ## Installation
26
27
 
@@ -4,12 +4,12 @@ import { IbanFormatterPipe } from './pipes/iban-formatter.pipe';
4
4
  import * as i0 from "@angular/core";
5
5
  export class AngularIbanModule {
6
6
  }
7
- AngularIbanModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AngularIbanModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- AngularIbanModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AngularIbanModule, declarations: [IbanValidatorDirective,
7
+ AngularIbanModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AngularIbanModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ AngularIbanModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: AngularIbanModule, declarations: [IbanValidatorDirective,
9
9
  IbanFormatterPipe], exports: [IbanValidatorDirective,
10
10
  IbanFormatterPipe] });
11
- AngularIbanModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AngularIbanModule, imports: [[]] });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AngularIbanModule, decorators: [{
11
+ AngularIbanModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AngularIbanModule });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AngularIbanModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
15
  declarations: [
@@ -23,4 +23,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
23
23
  ]
24
24
  }]
25
25
  }] });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhci1pYmFuLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItaWJhbi9zcmMvbGliL2FuZ3VsYXItaWJhbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUMvRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7QUFjaEUsTUFBTSxPQUFPLGlCQUFpQjs7OEdBQWpCLGlCQUFpQjsrR0FBakIsa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bXBvcnRzOiBbXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBJYmFuVmFsaWRhdG9yRGlyZWN0aXZlLFxuICAgIEliYW5Gb3JtYXR0ZXJQaXBlLFxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEFuZ3VsYXJJYmFuTW9kdWxlIHsgfVxuIl19
@@ -7,13 +7,13 @@ export class IbanValidatorDirective {
7
7
  return ValidatorService.validateIban(c);
8
8
  }
9
9
  }
10
- IbanValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
11
- IbanValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0", type: IbanValidatorDirective, selector: "[ibanValidator]", providers: [{ provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true }], ngImport: i0 });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanValidatorDirective, decorators: [{
10
+ IbanValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IbanValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
11
+ IbanValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IbanValidatorDirective, selector: "[ibanValidator]", providers: [{ provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true }], ngImport: i0 });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IbanValidatorDirective, decorators: [{
13
13
  type: Directive,
14
14
  args: [{
15
15
  selector: '[ibanValidator]',
16
16
  providers: [{ provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true }]
17
17
  }]
18
18
  }] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjoz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VmFsaWRhdG9yU2VydmljZS52YWxpZGF0ZUliYW4oYyk7XG4gIH1cbn1cbiJdfQ==
@@ -9,9 +9,9 @@ export class IbanFormatterPipe {
9
9
  return value;
10
10
  }
11
11
  }
12
- IbanFormatterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanFormatterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
13
- IbanFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanFormatterPipe, name: "ibanFormatter" });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanFormatterPipe, decorators: [{
12
+ IbanFormatterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IbanFormatterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
13
+ IbanFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: IbanFormatterPipe, name: "ibanFormatter" });
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IbanFormatterPipe, decorators: [{
15
15
  type: Pipe,
16
16
  args: [{
17
17
  name: 'ibanFormatter'
@@ -17,9 +17,9 @@ class IbanValidatorDirective {
17
17
  return ValidatorService.validateIban(c);
18
18
  }
19
19
  }
20
- IbanValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
21
- IbanValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0", type: IbanValidatorDirective, selector: "[ibanValidator]", providers: [{ provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true }], ngImport: i0 });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanValidatorDirective, decorators: [{
20
+ IbanValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IbanValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
21
+ IbanValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IbanValidatorDirective, selector: "[ibanValidator]", providers: [{ provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true }], ngImport: i0 });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IbanValidatorDirective, decorators: [{
23
23
  type: Directive,
24
24
  args: [{
25
25
  selector: '[ibanValidator]',
@@ -35,9 +35,9 @@ class IbanFormatterPipe {
35
35
  return value;
36
36
  }
37
37
  }
38
- IbanFormatterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanFormatterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
39
- IbanFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanFormatterPipe, name: "ibanFormatter" });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanFormatterPipe, decorators: [{
38
+ IbanFormatterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IbanFormatterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
39
+ IbanFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: IbanFormatterPipe, name: "ibanFormatter" });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IbanFormatterPipe, decorators: [{
41
41
  type: Pipe,
42
42
  args: [{
43
43
  name: 'ibanFormatter'
@@ -46,12 +46,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
46
46
 
47
47
  class AngularIbanModule {
48
48
  }
49
- AngularIbanModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AngularIbanModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
50
- AngularIbanModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AngularIbanModule, declarations: [IbanValidatorDirective,
49
+ AngularIbanModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AngularIbanModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
50
+ AngularIbanModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: AngularIbanModule, declarations: [IbanValidatorDirective,
51
51
  IbanFormatterPipe], exports: [IbanValidatorDirective,
52
52
  IbanFormatterPipe] });
53
- AngularIbanModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AngularIbanModule, imports: [[]] });
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AngularIbanModule, decorators: [{
53
+ AngularIbanModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AngularIbanModule });
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AngularIbanModule, decorators: [{
55
55
  type: NgModule,
56
56
  args: [{
57
57
  declarations: [
@@ -75,3 +75,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
75
75
  */
76
76
 
77
77
  export { AngularIbanModule, IbanFormatterPipe, IbanValidatorDirective, ValidatorService };
78
+ //# sourceMappingURL=angular-iban.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"angular-iban.mjs","sources":["../../../projects/angular-iban/src/lib/services/validator.service.ts","../../../projects/angular-iban/src/lib/directives/iban-validator.directive.ts","../../../projects/angular-iban/src/lib/pipes/iban-formatter.pipe.ts","../../../projects/angular-iban/src/lib/angular-iban.module.ts","../../../projects/angular-iban/src/public-api.ts","../../../projects/angular-iban/src/angular-iban.ts"],"sourcesContent":["import {AbstractControl, ValidationErrors} from '@angular/forms';\nimport * as IBAN from 'iban';\n\nexport class ValidatorService {\n\n static validateIban(c: AbstractControl): ValidationErrors {\n if (c.value && !IBAN.isValid(c.value)) {\n return {iban: {value: c.value}};\n }\n\n return null as any;\n }\n}\n","import { Directive } from '@angular/core';\nimport {NG_VALIDATORS, Validator, AbstractControl} from '@angular/forms';\nimport {ValidatorService} from '../services/validator.service';\n\n@Directive({\n selector: '[ibanValidator]',\n providers: [{provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true}]\n})\nexport class IbanValidatorDirective implements Validator {\n validate(c: AbstractControl): { [key: string]: any } {\n return ValidatorService.validateIban(c);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport * as IBAN from 'iban';\n\n@Pipe({\n name: 'ibanFormatter'\n})\nexport class IbanFormatterPipe implements PipeTransform {\n\n transform(value: any, args?: any): any {\n if (IBAN.isValid(value)) {\n return IBAN.printFormat(value, ' ');\n }\n return value;\n }\n\n}\n","import { NgModule } from '@angular/core';\n\nimport { IbanValidatorDirective } from './directives/iban-validator.directive';\nimport { IbanFormatterPipe } from './pipes/iban-formatter.pipe';\n\n@NgModule({\n declarations: [\n IbanValidatorDirective,\n IbanFormatterPipe\n ],\n imports: [\n ],\n exports: [\n IbanValidatorDirective,\n IbanFormatterPipe,\n ]\n})\nexport class AngularIbanModule { }\n","/*\n * Public API Surface of angular-iban\n */\n\nexport * from './lib/angular-iban.module';\nexport * from './lib/services/validator.service';\nexport * from './lib/directives/iban-validator.directive';\nexport * from './lib/pipes/iban-formatter.pipe';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAGa,gBAAgB;IAE3B,OAAO,YAAY,CAAC,CAAkB;QACpC,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE;YACrC,OAAO,EAAC,IAAI,EAAE,EAAC,KAAK,EAAE,CAAC,CAAC,KAAK,EAAC,EAAC,CAAC;SACjC;QAED,OAAO,IAAW,CAAC;KACpB;;;MCHU,sBAAsB;IACjC,QAAQ,CAAC,CAAkB;QACzB,OAAO,gBAAgB,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;KACzC;;mHAHU,sBAAsB;uGAAtB,sBAAsB,0CAFtB,CAAC,EAAC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,sBAAsB,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC;2FAE5E,sBAAsB;kBAJlC,SAAS;mBAAC;oBACT,QAAQ,EAAE,iBAAiB;oBAC3B,SAAS,EAAE,CAAC,EAAC,OAAO,EAAE,aAAa,EAAE,WAAW,wBAAwB,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC;iBACxF;;;MCDY,iBAAiB;IAE5B,SAAS,CAAC,KAAU,EAAE,IAAU;QAC9B,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACvB,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;SACrC;QACD,OAAO,KAAK,CAAC;KACd;;8GAPU,iBAAiB;4GAAjB,iBAAiB;2FAAjB,iBAAiB;kBAH7B,IAAI;mBAAC;oBACJ,IAAI,EAAE,eAAe;iBACtB;;;MCYY,iBAAiB;;8GAAjB,iBAAiB;+GAAjB,iBAAiB,iBAV1B,sBAAsB;QACtB,iBAAiB,aAKjB,sBAAsB;QACtB,iBAAiB;+GAGR,iBAAiB,YAPnB,EACR;2FAMU,iBAAiB;kBAZ7B,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,sBAAsB;wBACtB,iBAAiB;qBAClB;oBACD,OAAO,EAAE,EACR;oBACD,OAAO,EAAE;wBACP,sBAAsB;wBACtB,iBAAiB;qBAClB;iBACF;;;AChBD;;;;ACAA;;;;;;"}
1
+ {"version":3,"file":"angular-iban.mjs","sources":["../../../projects/angular-iban/src/lib/services/validator.service.ts","../../../projects/angular-iban/src/lib/directives/iban-validator.directive.ts","../../../projects/angular-iban/src/lib/pipes/iban-formatter.pipe.ts","../../../projects/angular-iban/src/lib/angular-iban.module.ts","../../../projects/angular-iban/src/public-api.ts","../../../projects/angular-iban/src/angular-iban.ts"],"sourcesContent":["import {AbstractControl, ValidationErrors} from '@angular/forms';\nimport * as IBAN from 'iban';\n\nexport class ValidatorService {\n\n static validateIban(c: AbstractControl): ValidationErrors {\n if (c.value && !IBAN.isValid(c.value)) {\n return {iban: {value: c.value}};\n }\n\n return null as any;\n }\n}\n","import { Directive } from '@angular/core';\nimport { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms';\nimport { ValidatorService } from '../services/validator.service';\n\n@Directive({\n selector: '[ibanValidator]',\n providers: [{provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true}]\n})\nexport class IbanValidatorDirective implements Validator {\n validate(c: AbstractControl): { [key: string]: any } {\n return ValidatorService.validateIban(c);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport * as IBAN from 'iban';\n\n@Pipe({\n name: 'ibanFormatter'\n})\nexport class IbanFormatterPipe implements PipeTransform {\n\n transform(value: any, args?: any): any {\n if (IBAN.isValid(value)) {\n return IBAN.printFormat(value, ' ');\n }\n return value;\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { IbanValidatorDirective } from './directives/iban-validator.directive';\nimport { IbanFormatterPipe } from './pipes/iban-formatter.pipe';\n\n@NgModule({\n declarations: [\n IbanValidatorDirective,\n IbanFormatterPipe\n ],\n imports: [\n ],\n exports: [\n IbanValidatorDirective,\n IbanFormatterPipe,\n ]\n})\nexport class AngularIbanModule { }\n","/*\n * Public API Surface of angular-iban\n */\n\nexport * from './lib/angular-iban.module';\nexport * from './lib/services/validator.service';\nexport * from './lib/directives/iban-validator.directive';\nexport * from './lib/pipes/iban-formatter.pipe';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAGa,gBAAgB,CAAA;IAE3B,OAAO,YAAY,CAAC,CAAkB,EAAA;AACpC,QAAA,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE;YACrC,OAAO,EAAC,IAAI,EAAE,EAAC,KAAK,EAAE,CAAC,CAAC,KAAK,EAAC,EAAC,CAAC;AACjC,SAAA;AAED,QAAA,OAAO,IAAW,CAAC;KACpB;AACF;;MCJY,sBAAsB,CAAA;AACjC,IAAA,QAAQ,CAAC,CAAkB,EAAA;AACzB,QAAA,OAAO,gBAAgB,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;KACzC;;mHAHU,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,EAFtB,QAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,CAAC,EAAC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,sBAAsB,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAE5E,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,SAAS;AAAC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oBAAA,YAAY,EAAE;wBACZ,sBAAsB;wBACtB,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE,EACR;AACD,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,iBAAiB;AAClB,qBAAA;iBACF,CAAA;;;ACfD;;AAEG;;ACFH;;AAEG;;;;"}
@@ -17,9 +17,9 @@ class IbanValidatorDirective {
17
17
  return ValidatorService.validateIban(c);
18
18
  }
19
19
  }
20
- IbanValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
21
- IbanValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0", type: IbanValidatorDirective, selector: "[ibanValidator]", providers: [{ provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true }], ngImport: i0 });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanValidatorDirective, decorators: [{
20
+ IbanValidatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IbanValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
21
+ IbanValidatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.0", type: IbanValidatorDirective, selector: "[ibanValidator]", providers: [{ provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true }], ngImport: i0 });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IbanValidatorDirective, decorators: [{
23
23
  type: Directive,
24
24
  args: [{
25
25
  selector: '[ibanValidator]',
@@ -35,9 +35,9 @@ class IbanFormatterPipe {
35
35
  return value;
36
36
  }
37
37
  }
38
- IbanFormatterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanFormatterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
39
- IbanFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanFormatterPipe, name: "ibanFormatter" });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: IbanFormatterPipe, decorators: [{
38
+ IbanFormatterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IbanFormatterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
39
+ IbanFormatterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: IbanFormatterPipe, name: "ibanFormatter" });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: IbanFormatterPipe, decorators: [{
41
41
  type: Pipe,
42
42
  args: [{
43
43
  name: 'ibanFormatter'
@@ -46,12 +46,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
46
46
 
47
47
  class AngularIbanModule {
48
48
  }
49
- AngularIbanModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AngularIbanModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
50
- AngularIbanModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AngularIbanModule, declarations: [IbanValidatorDirective,
49
+ AngularIbanModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AngularIbanModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
50
+ AngularIbanModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0", ngImport: i0, type: AngularIbanModule, declarations: [IbanValidatorDirective,
51
51
  IbanFormatterPipe], exports: [IbanValidatorDirective,
52
52
  IbanFormatterPipe] });
53
- AngularIbanModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AngularIbanModule, imports: [[]] });
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: AngularIbanModule, decorators: [{
53
+ AngularIbanModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AngularIbanModule });
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: AngularIbanModule, decorators: [{
55
55
  type: NgModule,
56
56
  args: [{
57
57
  declarations: [
@@ -75,3 +75,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
75
75
  */
76
76
 
77
77
  export { AngularIbanModule, IbanFormatterPipe, IbanValidatorDirective, ValidatorService };
78
+ //# sourceMappingURL=angular-iban.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"angular-iban.mjs","sources":["../../../projects/angular-iban/src/lib/services/validator.service.ts","../../../projects/angular-iban/src/lib/directives/iban-validator.directive.ts","../../../projects/angular-iban/src/lib/pipes/iban-formatter.pipe.ts","../../../projects/angular-iban/src/lib/angular-iban.module.ts","../../../projects/angular-iban/src/public-api.ts","../../../projects/angular-iban/src/angular-iban.ts"],"sourcesContent":["import {AbstractControl, ValidationErrors} from '@angular/forms';\nimport * as IBAN from 'iban';\n\nexport class ValidatorService {\n\n static validateIban(c: AbstractControl): ValidationErrors {\n if (c.value && !IBAN.isValid(c.value)) {\n return {iban: {value: c.value}};\n }\n\n return null as any;\n }\n}\n","import { Directive } from '@angular/core';\nimport {NG_VALIDATORS, Validator, AbstractControl} from '@angular/forms';\nimport {ValidatorService} from '../services/validator.service';\n\n@Directive({\n selector: '[ibanValidator]',\n providers: [{provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true}]\n})\nexport class IbanValidatorDirective implements Validator {\n validate(c: AbstractControl): { [key: string]: any } {\n return ValidatorService.validateIban(c);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport * as IBAN from 'iban';\n\n@Pipe({\n name: 'ibanFormatter'\n})\nexport class IbanFormatterPipe implements PipeTransform {\n\n transform(value: any, args?: any): any {\n if (IBAN.isValid(value)) {\n return IBAN.printFormat(value, ' ');\n }\n return value;\n }\n\n}\n","import { NgModule } from '@angular/core';\n\nimport { IbanValidatorDirective } from './directives/iban-validator.directive';\nimport { IbanFormatterPipe } from './pipes/iban-formatter.pipe';\n\n@NgModule({\n declarations: [\n IbanValidatorDirective,\n IbanFormatterPipe\n ],\n imports: [\n ],\n exports: [\n IbanValidatorDirective,\n IbanFormatterPipe,\n ]\n})\nexport class AngularIbanModule { }\n","/*\n * Public API Surface of angular-iban\n */\n\nexport * from './lib/angular-iban.module';\nexport * from './lib/services/validator.service';\nexport * from './lib/directives/iban-validator.directive';\nexport * from './lib/pipes/iban-formatter.pipe';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAGa,gBAAgB;IAE3B,OAAO,YAAY,CAAC,CAAkB;QACpC,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE;YACrC,OAAO,EAAC,IAAI,EAAE,EAAC,KAAK,EAAE,CAAC,CAAC,KAAK,EAAC,EAAC,CAAC;SACjC;QAED,OAAO,IAAW,CAAC;KACpB;;;MCHU,sBAAsB;IACjC,QAAQ,CAAC,CAAkB;QACzB,OAAO,gBAAgB,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;KACzC;;mHAHU,sBAAsB;uGAAtB,sBAAsB,0CAFtB,CAAC,EAAC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,sBAAsB,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC;2FAE5E,sBAAsB;kBAJlC,SAAS;mBAAC;oBACT,QAAQ,EAAE,iBAAiB;oBAC3B,SAAS,EAAE,CAAC,EAAC,OAAO,EAAE,aAAa,EAAE,WAAW,wBAAwB,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC;iBACxF;;;MCDY,iBAAiB;IAE5B,SAAS,CAAC,KAAU,EAAE,IAAU;QAC9B,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACvB,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;SACrC;QACD,OAAO,KAAK,CAAC;KACd;;8GAPU,iBAAiB;4GAAjB,iBAAiB;2FAAjB,iBAAiB;kBAH7B,IAAI;mBAAC;oBACJ,IAAI,EAAE,eAAe;iBACtB;;;MCYY,iBAAiB;;8GAAjB,iBAAiB;+GAAjB,iBAAiB,iBAV1B,sBAAsB;QACtB,iBAAiB,aAKjB,sBAAsB;QACtB,iBAAiB;+GAGR,iBAAiB,YAPnB,EACR;2FAMU,iBAAiB;kBAZ7B,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,sBAAsB;wBACtB,iBAAiB;qBAClB;oBACD,OAAO,EAAE,EACR;oBACD,OAAO,EAAE;wBACP,sBAAsB;wBACtB,iBAAiB;qBAClB;iBACF;;;AChBD;;;;ACAA;;;;;;"}
1
+ {"version":3,"file":"angular-iban.mjs","sources":["../../../projects/angular-iban/src/lib/services/validator.service.ts","../../../projects/angular-iban/src/lib/directives/iban-validator.directive.ts","../../../projects/angular-iban/src/lib/pipes/iban-formatter.pipe.ts","../../../projects/angular-iban/src/lib/angular-iban.module.ts","../../../projects/angular-iban/src/public-api.ts","../../../projects/angular-iban/src/angular-iban.ts"],"sourcesContent":["import {AbstractControl, ValidationErrors} from '@angular/forms';\nimport * as IBAN from 'iban';\n\nexport class ValidatorService {\n\n static validateIban(c: AbstractControl): ValidationErrors {\n if (c.value && !IBAN.isValid(c.value)) {\n return {iban: {value: c.value}};\n }\n\n return null as any;\n }\n}\n","import { Directive } from '@angular/core';\nimport { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms';\nimport { ValidatorService } from '../services/validator.service';\n\n@Directive({\n selector: '[ibanValidator]',\n providers: [{provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true}]\n})\nexport class IbanValidatorDirective implements Validator {\n validate(c: AbstractControl): { [key: string]: any } {\n return ValidatorService.validateIban(c);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport * as IBAN from 'iban';\n\n@Pipe({\n name: 'ibanFormatter'\n})\nexport class IbanFormatterPipe implements PipeTransform {\n\n transform(value: any, args?: any): any {\n if (IBAN.isValid(value)) {\n return IBAN.printFormat(value, ' ');\n }\n return value;\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { IbanValidatorDirective } from './directives/iban-validator.directive';\nimport { IbanFormatterPipe } from './pipes/iban-formatter.pipe';\n\n@NgModule({\n declarations: [\n IbanValidatorDirective,\n IbanFormatterPipe\n ],\n imports: [\n ],\n exports: [\n IbanValidatorDirective,\n IbanFormatterPipe,\n ]\n})\nexport class AngularIbanModule { }\n","/*\n * Public API Surface of angular-iban\n */\n\nexport * from './lib/angular-iban.module';\nexport * from './lib/services/validator.service';\nexport * from './lib/directives/iban-validator.directive';\nexport * from './lib/pipes/iban-formatter.pipe';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAGa,gBAAgB,CAAA;IAE3B,OAAO,YAAY,CAAC,CAAkB,EAAA;AACpC,QAAA,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE;YACrC,OAAO,EAAC,IAAI,EAAE,EAAC,KAAK,EAAE,CAAC,CAAC,KAAK,EAAC,EAAC,CAAC;AACjC,SAAA;AAED,QAAA,OAAO,IAAW,CAAC;KACpB;AACF;;MCJY,sBAAsB,CAAA;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AH7B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,eAAe;AACtB,iBAAA,CAAA;;;MCWY,iBAAiB,CAAA;;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,iBAV1B,sBAAsB;AACtB,QAAA,iBAAiB,aAKjB,sBAAsB;QACtB,iBAAiB,CAAA,EAAA,CAAA,CAAA;+GAGR,iBAAiB,EAAA,CAAA,CAAA;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAZ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,sBAAsB;wBACtB,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE,EACR;AACD,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,iBAAiB;AAClB,qBAAA;AACF,iBAAA,CAAA;;;ACfD;;AAEG;;ACFH;;AAEG;;;;"}
File without changes
@@ -5,5 +5,5 @@ export declare class IbanValidatorDirective implements Validator {
5
5
  [key: string]: any;
6
6
  };
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<IbanValidatorDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<IbanValidatorDirective, "[ibanValidator]", never, {}, {}, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<IbanValidatorDirective, "[ibanValidator]", never, {}, {}, never, never, false>;
9
9
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class IbanFormatterPipe implements PipeTransform {
4
4
  transform(value: any, args?: any): any;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<IbanFormatterPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<IbanFormatterPipe, "ibanFormatter">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<IbanFormatterPipe, "ibanFormatter", false>;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-iban",
3
- "version": "6.0.1",
3
+ "version": "14.0.0",
4
4
  "description": "Angular directives and pipes for IBAN",
5
5
  "author": "fundsaccess AG",
6
6
  "repository": {
@@ -16,8 +16,8 @@
16
16
  "typescript"
17
17
  ],
18
18
  "peerDependencies": {
19
- "@angular/common": "^13.x",
20
- "@angular/core": "^13.x",
19
+ "@angular/common": "^14.x",
20
+ "@angular/core": "^14.x",
21
21
  "iban": "0.0.14"
22
22
  },
23
23
  "license": "MIT",
@@ -29,13 +29,13 @@
29
29
  "esm2020": "esm2020/angular-iban.mjs",
30
30
  "fesm2020": "fesm2020/angular-iban.mjs",
31
31
  "fesm2015": "fesm2015/angular-iban.mjs",
32
- "typings": "angular-iban.d.ts",
32
+ "typings": "index.d.ts",
33
33
  "exports": {
34
34
  "./package.json": {
35
35
  "default": "./package.json"
36
36
  },
37
37
  ".": {
38
- "types": "./angular-iban.d.ts",
38
+ "types": "./index.d.ts",
39
39
  "esm2020": "./esm2020/angular-iban.mjs",
40
40
  "es2020": "./fesm2020/angular-iban.mjs",
41
41
  "es2015": "./fesm2015/angular-iban.mjs",