angular-iban 19.0.0 → 20.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 +1 -1
- package/README.md +2 -2
- package/fesm2022/angular-iban.mjs +10 -10
- package/index.d.ts +29 -5
- package/package.json +4 -4
- package/lib/angular-iban.module.d.ts +0 -8
- package/lib/directives/iban-validator.directive.d.ts +0 -9
- package/lib/pipes/iban-formatter.pipe.d.ts +0 -7
- package/lib/services/validator.service.d.ts +0 -4
- package/public-api.d.ts +0 -4
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ 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
31
|
## Installation
|
|
32
32
|
|
|
33
33
|
npm:
|
|
@@ -194,6 +194,6 @@ Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`.
|
|
|
194
194
|
|
|
195
195
|
## License
|
|
196
196
|
|
|
197
|
-
Copyright (c) 2018 -
|
|
197
|
+
Copyright (c) 2018 - 2025 fundsaccess AG. Licensed under the MIT License (MIT)
|
|
198
198
|
|
|
199
199
|
|
|
@@ -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: "
|
|
20
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: IbanValidatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
20
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", 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: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: IbanValidatorDirective, decorators: [{
|
|
23
23
|
type: Directive,
|
|
24
24
|
args: [{
|
|
25
25
|
selector: '[ibanValidator]',
|
|
@@ -35,10 +35,10 @@ class IbanFormatterPipe {
|
|
|
35
35
|
}
|
|
36
36
|
return value;
|
|
37
37
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: IbanFormatterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
39
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.3", ngImport: i0, type: IbanFormatterPipe, isStandalone: false, name: "ibanFormatter" }); }
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", 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: "
|
|
51
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
50
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AngularIbanModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
51
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.3", 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: "
|
|
54
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AngularIbanModule }); }
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AngularIbanModule, decorators: [{
|
|
57
57
|
type: NgModule,
|
|
58
58
|
args: [{
|
|
59
59
|
declarations: [
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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]: any;
|
|
8
|
+
};
|
|
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: any, args?: any): any;
|
|
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;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { AngularIbanModule, IbanFormatterPipe, IbanValidatorDirective, ValidatorService };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-iban",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.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": "^
|
|
20
|
-
"@angular/core": "^
|
|
19
|
+
"@angular/common": "^20.x",
|
|
20
|
+
"@angular/core": "^20.x",
|
|
21
21
|
"iban": "0.0.14"
|
|
22
22
|
},
|
|
23
23
|
"license": "MIT",
|
|
@@ -36,4 +36,4 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"sideEffects": false
|
|
39
|
-
}
|
|
39
|
+
}
|
|
@@ -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
|
-
}
|
package/public-api.d.ts
DELETED