Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add iban validator #131

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
dc1aecf
Maj package
rsaenen Oct 12, 2017
8f878f2
Date parser ngbDateStruct
rsaenen Oct 12, 2017
6ef7c73
Migration angular/cli - ng-packagr
rsaenen Oct 12, 2017
d1a46ae
Release 4.3.0 - max/min date tests, property validator and ngbDateStr…
rsaenen Oct 13, 2017
0193928
All files pass linting
rsaenen Oct 13, 2017
9b39d61
Release 4.3.1
rsaenen Oct 13, 2017
3de1655
4.3.2: typing CustomValidators
rsaenen Oct 14, 2017
f2ce01d
Release 4.3.3 - npm update
rsaenen Oct 16, 2017
9c623e0
Release 4.3.3 - npm update
rsaenen Oct 16, 2017
e05a069
Release 4.3.4 - build error --prod
rsaenen Oct 17, 2017
3581335
Release 4.3.5 - adding arrayLength validator
rsaenen Nov 4, 2017
672daba
Release 5.0.0 - Property validator with multiple properties check/Upd…
rsaenen Jan 13, 2018
d40cf04
Update validator.ts
gurolg Jan 31, 2018
4629dcd
Merge pull request #4 from gurolg/patch-2
rsaenen Feb 4, 2018
d8f20c5
Release 5.0.1
rsaenen Feb 9, 2018
32d946f
Release 5.0.1
rsaenen Feb 9, 2018
fbbbd15
Release 5.0.1
rsaenen Feb 9, 2018
12bf5dc
Release 5.0.2
rsaenen Feb 13, 2018
e4880b1
Release 5.0.2
rsaenen Feb 13, 2018
91481ce
Release 5.0.3
rsaenen Feb 19, 2018
fbde747
Remove package-lock so to avoid issues for developers (https://github…
almothafar Feb 25, 2018
7b9ba1e
Release of 5.1.0
almothafar Feb 25, 2018
fb12275
Merge pull request #7 from almothafar/master
rsaenen Feb 25, 2018
76bed05
Remove dist folder
rsaenen Feb 25, 2018
7ec8709
Update gitignore
rsaenen Feb 25, 2018
87cff1e
Update README.md
rsaenen Mar 13, 2018
716c186
Release 6.0.0 - Support angular 6
rsaenen May 16, 2018
57eb1f2
Rename to ngx-custom-validators
rsaenen Jul 16, 2018
db36941
Release 6.0.1
rsaenen Jul 30, 2018
811ddee
Release 6.0.2
rsaenen Aug 1, 2018
ee79ec4
Release 6.0.3
rsaenen Aug 19, 2018
0840caf
Release 6.0.4
rsaenen Aug 19, 2018
53f6fe4
Release 6.0.5
rsaenen Aug 20, 2018
555e4c6
Replacing "reason" & boolean value for validator with parameters with…
adhmn4 Sep 10, 2018
8d8b82c
Merge pull request #15 from adhmn4/feature/ReplaceReasonWithObject
rsaenen Sep 11, 2018
9fa1887
Release 6.1.0
rsaenen Sep 11, 2018
36628d6
Release 6.1.0
rsaenen Sep 11, 2018
3573dd2
Release 7.0.0
rsaenen Oct 26, 2018
f94ec8e
Update README.md
idanb11 Mar 5, 2019
83a6059
Merge pull request #20 from idanb11/patch-1
rsaenen Mar 6, 2019
36212d5
add an iban validator
Mar 15, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Release 5.0.0 - Property validator with multiple properties check/Upd…
…ate dev dep
  • Loading branch information
rsaenen committed Jan 13, 2018
commit 672daba420109ba535ab393f9621cf1b952c0d0c
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -262,6 +262,8 @@ public obj = { name: 'baguette' } // KO

```html
<input type="text" ngModel name="obj" #obj="ngModel" property="id">
<!-- For multiple properties check -->
<input type="text" ngModel name="obj" #obj="ngModel" property="id,value,name">
<p *ngIf="obj.errors?.property">property error</p>
```

@@ -491,6 +493,8 @@ public obj = { id: 1 };

this.form = new FormGroup({
obj: new FormControl('', CustomValidators.property('id'))
// For multiple properties check
obj: new FormControl('', CustomValidators.property('id,value,name'))
});
```

4 changes: 4 additions & 0 deletions dist/README.md
Original file line number Diff line number Diff line change
@@ -262,6 +262,8 @@ public obj = { name: 'baguette' } // KO

```html
<input type="text" ngModel name="obj" #obj="ngModel" property="id">
<!-- For multiple properties check -->
<input type="text" ngModel name="obj" #obj="ngModel" property="id,value,name">
<p *ngIf="obj.errors?.property">property error</p>
```

@@ -491,6 +493,8 @@ public obj = { id: 1 };

this.form = new FormGroup({
obj: new FormControl('', CustomValidators.property('id'))
// For multiple properties check
obj: new FormControl('', CustomValidators.property('id,value,name'))
});
```

11 changes: 10 additions & 1 deletion dist/bundles/ng4-validators.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/bundles/ng4-validators.umd.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/bundles/ng4-validators.umd.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/bundles/ng4-validators.umd.min.js.map

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/ng4-validators.es5.js.map

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/ng4-validators.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/ng4-validators/ng4-validators.es5.js.map

This file was deleted.

1 change: 0 additions & 1 deletion dist/ng4-validators/ng4-validators.js.map

This file was deleted.

77 changes: 1 addition & 76 deletions dist/package.json
Original file line number Diff line number Diff line change
@@ -1,76 +1 @@
{
"name": "ng4-validators",
"version": "4.3.5",
"description": "Angular 4 directives validation",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng-packagr -p ng-package.json",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rsaenen/ng4-validators.git"
},
"keywords": [
"angular",
"angular2",
"angular4",
"directive",
"reactive",
"template",
"forms",
"validate",
"validation"
],
"author": "Ralf Saenen <ralf.saenen@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/rsaenen/ng4-validators/issues"
},
"homepage": "https://github.com/rsaenen/ng4-validators#readme",
"devDependencies": {
"@angular/animations": "^4.4.5",
"@angular/cli": "1.4.7",
"@angular/common": "^4.4.5",
"@angular/compiler": "^4.4.5",
"@angular/compiler-cli": "^4.4.5",
"@angular/core": "^4.4.5",
"@angular/forms": "^4.4.5",
"@angular/http": "^4.4.5",
"@angular/language-service": "^4.4.5",
"@angular/platform-browser": "^4.4.5",
"@angular/platform-browser-dynamic": "^4.4.5",
"@angular/router": "^4.4.5",
"@types/jasmine": "~2.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.0.37",
"bootstrap": "^4.0.0-beta",
"codelyzer": "~3.2.1",
"core-js": "^2.5.1",
"jasmine-core": "~2.8.0",
"jasmine-spec-reporter": "~4.2.1",
"jquery": "^3.2.1",
"karma": "~1.7.1",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.3.0",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"ng-packagr": "^1.4.1",
"popper.js": "^1.12.5",
"protractor": "~5.1.2",
"rxjs": "^5.4.3",
"ts-node": "~3.3.0",
"tslint": "~5.7.0",
"typescript": "~2.3.4",
"zone.js": "^0.8.18"
},
"main": "bundles/ng4-validators.umd.js",
"module": "ng4-validators/ng4-validators.es5.js",
"es2015": "ng4-validators/ng4-validators.js",
"typings": "ng4-validators.d.ts",
"metadata": "ng4-validators.metadata.json"
}
{"name":"ng4-validators","version":"5.0.0","description":"Angular 5 directives validation","scripts":{"ng":"ng","start":"ng serve","build":"ng-packagr -p ng-package.json","test":"ng test","lint":"ng lint","e2e":"ng e2e"},"repository":{"type":"git","url":"git+https://github.com/rsaenen/ng4-validators.git"},"keywords":["angular","angular2","angular4","angular5","directive","reactive","template","forms","validate","validation"],"author":"Ralf Saenen <ralf.saenen@gmail.com>","license":"MIT","bugs":{"url":"https://github.com/rsaenen/ng4-validators/issues"},"homepage":"https://github.com/rsaenen/ng4-validators#readme","devDependencies":{"@angular/animations":"^5.2.0","@angular/cli":"1.6.4","@angular/common":"^5.2.0","@angular/compiler":"^5.2.0","@angular/compiler-cli":"^5.2.0","@angular/core":"^5.2.0","@angular/forms":"^5.2.0","@angular/http":"^5.2.0","@angular/language-service":"^5.2.0","@angular/platform-browser":"^5.2.0","@angular/platform-browser-dynamic":"^5.2.0","@angular/router":"^5.2.0","@types/jasmine":"~2.8.4","@types/jasminewd2":"~2.0.3","@types/node":"~9.3.0","bootstrap":"^4.0.0-beta","codelyzer":"~4.0.2","core-js":"^2.5.3","jasmine-core":"~2.8.0","jasmine-spec-reporter":"~4.2.1","jquery":"^3.2.1","karma":"~2.0.0","karma-chrome-launcher":"~2.2.0","karma-cli":"~1.0.1","karma-coverage-istanbul-reporter":"^1.3.3","karma-jasmine":"~1.1.1","karma-jasmine-html-reporter":"^0.2.2","ng-packagr":"^1.6.0","popper.js":"^1.12.9","protractor":"~5.2.2","rxjs":"^5.5.6","ts-node":"~4.1.0","tslint":"~5.9.1","typescript":"~2.4.2","webpack":"^3.10.0","zone.js":"^0.8.20"},"main":"bundles/ng4-validators.umd.js","module":"ng4-validators.es5.js","es2015":"ng4-validators.js","typings":"ng4-validators.d.ts","metadata":"ng4-validators.metadata.json"}
15 changes: 13 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -15,19 +15,30 @@ module.exports = function (config) {
client:{
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
files: [
{ pattern: './<%= sourceDir %>/test.ts', watched: false }
],
preprocessors: {
'./<%= sourceDir %>/test.ts': ['@angular/cli']
},
mime: {
'text/x-typescript': ['ts','tsx']
},
coverageIstanbulReporter: {
reports: [ 'html', 'lcovonly' ],
fixWebpackSourcePaths: true
},
angularCli: {
environment: 'dev'
},
reporters: ['progress', 'kjhtml'],
reporters: config.angularCli && config.angularCli.codeCoverage
? ['progress', 'coverage-istanbul']
: ['progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false
});
};
};
Loading