angular-iban 19.0.0 → 21.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 - 2024 fundsaccess AG
3
+ Copyright (c) 2018 - 2026 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
@@ -27,7 +27,8 @@ This library supports Angular 7+. Please check the Version compatibility below t
27
27
  | 17.x | 17.x |
28
28
  | 18.x | 18.x |
29
29
  | 19.x | 19.x |
30
-
30
+ | 20.x | 20.x |
31
+ | 21.x | 21.x |
31
32
  ## Installation
32
33
 
33
34
  npm:
@@ -194,6 +195,6 @@ Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`.
194
195
 
195
196
  ## License
196
197
 
197
- Copyright (c) 2018 - 2024 fundsaccess AG. Licensed under the MIT License (MIT)
198
+ Copyright (c) 2018 - 2026 fundsaccess AG. Licensed under the MIT License (MIT)
198
199
 
199
200
 
@@ -16,10 +16,10 @@ class IbanValidatorDirective {
16
16
  validate(c) {
17
17
  return ValidatorService.validateIban(c);
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: IbanValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.1", type: IbanValidatorDirective, isStandalone: false, selector: "[ibanValidator]", providers: [{ provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true }], ngImport: i0 }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: IbanValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: IbanValidatorDirective, isStandalone: false, selector: "[ibanValidator]", providers: [{ provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true }], ngImport: i0 }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: IbanValidatorDirective, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: IbanValidatorDirective, decorators: [{
23
23
  type: Directive,
24
24
  args: [{
25
25
  selector: '[ibanValidator]',
@@ -29,16 +29,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImpor
29
29
  }] });
30
30
 
31
31
  class IbanFormatterPipe {
32
- transform(value, args) {
32
+ transform(value) {
33
33
  if (IBAN.isValid(value)) {
34
34
  return IBAN.printFormat(value, ' ');
35
35
  }
36
36
  return value;
37
37
  }
38
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: IbanFormatterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
39
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.1", ngImport: i0, type: IbanFormatterPipe, isStandalone: false, name: "ibanFormatter" }); }
38
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: IbanFormatterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
39
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.8", ngImport: i0, type: IbanFormatterPipe, isStandalone: false, name: "ibanFormatter" }); }
40
40
  }
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: IbanFormatterPipe, decorators: [{
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: IbanFormatterPipe, decorators: [{
42
42
  type: Pipe,
43
43
  args: [{
44
44
  name: 'ibanFormatter',
@@ -47,13 +47,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImpor
47
47
  }] });
48
48
 
49
49
  class AngularIbanModule {
50
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: AngularIbanModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
51
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.1", ngImport: i0, type: AngularIbanModule, declarations: [IbanValidatorDirective,
50
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AngularIbanModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
51
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.8", ngImport: i0, type: AngularIbanModule, declarations: [IbanValidatorDirective,
52
52
  IbanFormatterPipe], exports: [IbanValidatorDirective,
53
53
  IbanFormatterPipe] }); }
54
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: AngularIbanModule }); }
54
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AngularIbanModule }); }
55
55
  }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: AngularIbanModule, decorators: [{
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AngularIbanModule, decorators: [{
57
57
  type: NgModule,
58
58
  args: [{
59
59
  declarations: [
@@ -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';\r\nimport * as IBAN from 'iban';\r\n\r\nexport class ValidatorService {\r\n static validateIban(c: AbstractControl): ValidationErrors {\r\n if (c.value && !IBAN.isValid(c.value)) {\r\n return { iban: { value: c.value } };\r\n }\r\n\r\n return null as any;\r\n }\r\n}\r\n","import { Directive } from '@angular/core';\r\nimport { NG_VALIDATORS, Validator, AbstractControl } from '@angular/forms';\r\nimport { ValidatorService } from '../services/validator.service';\r\n\r\n@Directive({\n selector: '[ibanValidator]',\n providers: [{ provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true }],\n standalone: false\n})\r\nexport class IbanValidatorDirective implements Validator {\r\n validate(c: AbstractControl): { [key: string]: any } {\r\n return ValidatorService.validateIban(c);\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport * as IBAN from 'iban';\r\n\r\n@Pipe({\n name: 'ibanFormatter',\n standalone: false\n})\r\nexport class IbanFormatterPipe implements PipeTransform {\r\n transform(value: any, args?: any): any {\r\n if (IBAN.isValid(value)) {\r\n return IBAN.printFormat(value, ' ');\r\n }\r\n return value;\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { IbanValidatorDirective } from './directives/iban-validator.directive';\r\nimport { IbanFormatterPipe } from './pipes/iban-formatter.pipe';\r\n\r\n@NgModule({\r\n declarations: [\r\n IbanValidatorDirective,\r\n IbanFormatterPipe,\r\n ],\r\n imports: [\r\n ],\r\n exports: [\r\n IbanValidatorDirective,\r\n IbanFormatterPipe,\r\n ],\r\n})\r\nexport class AngularIbanModule { }\r\n","/*\r\n * Public API Surface of angular-iban\r\n */\r\n\r\nexport * from './lib/angular-iban.module';\r\nexport * from './lib/services/validator.service';\r\nexport * from './lib/directives/iban-validator.directive';\r\nexport * from './lib/pipes/iban-formatter.pipe';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAGa,gBAAgB,CAAA;IAC3B,OAAO,YAAY,CAAC,CAAkB,EAAA;AACpC,QAAA,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE;YACrC,OAAO,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE;;AAGrC,QAAA,OAAO,IAAW;;AAErB;;MCFY,sBAAsB,CAAA;AACjC,IAAA,QAAQ,CAAC,CAAkB,EAAA;AACzB,QAAA,OAAO,gBAAgB,CAAC,YAAY,CAAC,CAAC,CAAC;;8GAF9B,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,EAHpB,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,sBAAsB,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAGhF,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAA,sBAAwB,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AACzF,oBAAA,UAAU,E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AiB;AAClB,qBAAA;AACF,iBAAA;;;ACfD;;AAEG;;ACFH;;AAEG;;;;"}
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';\r\nimport * as IBAN from 'iban';\r\n\r\nexport class ValidatorService {\r\n static validateIban(c: AbstractControl): ValidationErrors | null {\r\n if (c.value && !IBAN.isValid(c.value)) {\r\n return { iban: { value: c.value } };\r\n }\r\n\r\n return null;\r\n }\r\n}\r\n","import { Directive } from '@angular/core';\r\nimport {NG_VALIDATORS, Validator, AbstractControl, ValidationErrors} from '@angular/forms';\r\nimport { ValidatorService } from '../services/validator.service';\r\n\r\n@Directive({\r\n selector: '[ibanValidator]',\r\n providers: [{ provide: NG_VALIDATORS, useExisting: IbanValidatorDirective, multi: true }],\r\n standalone: false\r\n})\r\nexport class IbanValidatorDirective implements Validator {\r\n validate(c: AbstractControl): { [key: string]: ValidationErrors } | null {\r\n return ValidatorService.validateIban(c);\r\n }\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\nimport * as IBAN from 'iban';\r\n\r\n@Pipe({\r\n name: 'ibanFormatter',\r\n standalone: false\r\n})\r\nexport class IbanFormatterPipe implements PipeTransform {\r\n transform(value: string): string {\r\n if (IBAN.isValid(value)) {\r\n return IBAN.printFormat(value, ' ');\r\n }\r\n return value;\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { IbanValidatorDirective } from './directives/iban-validator.directive';\r\nimport { IbanFormatterPipe } from './pipes/iban-formatter.pipe';\r\n\r\n@NgModule({\r\n declarations: [\r\n IbanValidatorDirective,\r\n IbanFormatterPipe,\r\n ],\r\n imports: [\r\n ],\r\n exports: [\r\n IbanValidatorDirective,\r\n IbanFormatterPipe,\r\n ],\r\n})\r\nexport class AngularIbanModule { }\r\n","/*\r\n * Public API Surface of angular-iban\r\n */\r\n\r\nexport * from './lib/angular-iban.module';\r\nexport * from './lib/services/validator.service';\r\nexport * from './lib/directives/iban-validator.directive';\r\nexport * from './lib/pipes/iban-formatter.pipe';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAGa,gBAAgB,CAAA;IAC3B,OAAO,YAAY,CAAC,CAAkB,EAAA;AACpC,QAAA,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE;YACrC,OAAO,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE;QACrC;AAEA,QAAA,OAAO,IAAI;IACb;AACD;;MCFY,sBAAsB,CAAA;AACjC,IAAA,QAAQ,CAAC,CAAkB,EAAA;AACzB,QAAA,OAAO,gBAAgB,CAAC,YAAY,CAAC,CAAC,CAAC;IACzC;8GAHW,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,SAAA,EAHpB,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,sBAAsB,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAGhF,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,SAAS;AAAC,YAAA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BAZ7B,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;;;ACfD;;AAEG;;ACFH;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "angular-iban",
3
- "version": "19.0.0",
3
+ "version": "21.0.0",
4
4
  "description": "Angular directives and pipes for IBAN",
5
- "author": "fundsaccess AG",
6
5
  "repository": {
7
6
  "type": "git",
8
7
  "url": "https://github.com/fundsaccess/angular-iban"
@@ -16,8 +15,8 @@
16
15
  "typescript"
17
16
  ],
18
17
  "peerDependencies": {
19
- "@angular/common": "^19.x",
20
- "@angular/core": "^19.x",
18
+ "@angular/common": "^21.x",
19
+ "@angular/core": "^21.x",
21
20
  "iban": "0.0.14"
22
21
  },
23
22
  "license": "MIT",
@@ -25,15 +24,16 @@
25
24
  "tslib": "^2.3.0"
26
25
  },
27
26
  "module": "fesm2022/angular-iban.mjs",
28
- "typings": "index.d.ts",
27
+ "typings": "types/angular-iban.d.ts",
29
28
  "exports": {
30
29
  "./package.json": {
31
30
  "default": "./package.json"
32
31
  },
33
32
  ".": {
34
- "types": "./index.d.ts",
33
+ "types": "./types/angular-iban.d.ts",
35
34
  "default": "./fesm2022/angular-iban.mjs"
36
35
  }
37
36
  },
38
- "sideEffects": false
39
- }
37
+ "sideEffects": false,
38
+ "type": "module"
39
+ }
@@ -0,0 +1,29 @@
1
+ import * as i0 from '@angular/core';
2
+ import { PipeTransform } from '@angular/core';
3
+ import { Validator, AbstractControl, ValidationErrors } from '@angular/forms';
4
+
5
+ declare class IbanValidatorDirective implements Validator {
6
+ validate(c: AbstractControl): {
7
+ [key: string]: ValidationErrors;
8
+ } | null;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<IbanValidatorDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<IbanValidatorDirective, "[ibanValidator]", never, {}, {}, never, never, false, never>;
11
+ }
12
+
13
+ declare class IbanFormatterPipe implements PipeTransform {
14
+ transform(value: string): string;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<IbanFormatterPipe, never>;
16
+ static ɵpipe: i0.ɵɵPipeDeclaration<IbanFormatterPipe, "ibanFormatter", false>;
17
+ }
18
+
19
+ declare class AngularIbanModule {
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<AngularIbanModule, never>;
21
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AngularIbanModule, [typeof IbanValidatorDirective, typeof IbanFormatterPipe], never, [typeof IbanValidatorDirective, typeof IbanFormatterPipe]>;
22
+ static ɵinj: i0.ɵɵInjectorDeclaration<AngularIbanModule>;
23
+ }
24
+
25
+ declare class ValidatorService {
26
+ static validateIban(c: AbstractControl): ValidationErrors | null;
27
+ }
28
+
29
+ export { AngularIbanModule, IbanFormatterPipe, IbanValidatorDirective, ValidatorService };
package/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="angular-iban" />
5
- export * from './public-api';
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./directives/iban-validator.directive";
3
- import * as i2 from "./pipes/iban-formatter.pipe";
4
- export declare class AngularIbanModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AngularIbanModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AngularIbanModule, [typeof i1.IbanValidatorDirective, typeof i2.IbanFormatterPipe], never, [typeof i1.IbanValidatorDirective, typeof i2.IbanFormatterPipe]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<AngularIbanModule>;
8
- }
@@ -1,9 +0,0 @@
1
- import { Validator, AbstractControl } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class IbanValidatorDirective implements Validator {
4
- validate(c: AbstractControl): {
5
- [key: string]: any;
6
- };
7
- static ɵfac: i0.ɵɵFactoryDeclaration<IbanValidatorDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<IbanValidatorDirective, "[ibanValidator]", never, {}, {}, never, never, false, never>;
9
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class IbanFormatterPipe implements PipeTransform {
4
- transform(value: any, args?: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<IbanFormatterPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<IbanFormatterPipe, "ibanFormatter", false>;
7
- }
@@ -1,4 +0,0 @@
1
- import { AbstractControl, ValidationErrors } from '@angular/forms';
2
- export declare class ValidatorService {
3
- static validateIban(c: AbstractControl): ValidationErrors;
4
- }
package/public-api.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export * from './lib/angular-iban.module';
2
- export * from './lib/services/validator.service';
3
- export * from './lib/directives/iban-validator.directive';
4
- export * from './lib/pipes/iban-formatter.pipe';