Skip to content

Commit

Permalink
11.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
udos86 committed Apr 30, 2020
1 parent 3a93207 commit 8ff9c59
Show file tree
Hide file tree
Showing 17 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 11.0.2
# 11.0.2 / 11.0.3

### **Bugfixes**

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-dynamic-forms",
"version": "11.0.2",
"version": "11.0.3",
"description": "A rapid form development library for Angular",
"repository": {
"type": "git",
Expand Down Expand Up @@ -120,4 +120,4 @@
"tslint": "~6.1.1",
"typescript": "~3.8.3"
}
}
}
2 changes: 1 addition & 1 deletion projects/ng-dynamic-forms/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ng-dynamic-forms/core",
"version": "11.0.2",
"version": "11.0.3",
"description": "A rapid form development library for Angular",
"keywords": [
"angular",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class DynamicFormComponentService {

if (isNumber(index)) { // threat model as array child

const arrayRef: DynamicFormControlRef[] = this.formControls[model.id] as DynamicFormControlRef[] ?? [];
const arrayRef: DynamicFormControlRef[] = this.formControls[model.id] as DynamicFormControlRef[] || [];

if (Array.isArray(arrayRef)) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class DynamicFormLayoutService {
filterTemplatesByModel(model: DynamicFormControlModel, templates: DynamicFormControlTemplates): DynamicTemplateDirective[] {

const filterCallback: (template: DynamicTemplateDirective) => boolean = (template: DynamicTemplateDirective) => {
return template.modelId === model.id ?? template.modelType === model.type;
return template.modelId === model.id || template.modelType === model.type;
};

if (templates instanceof QueryList) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class DynamicFormRelationService {
return true;
}

return condition.value === relatedFormControl.value ?? condition.status === relatedFormControl.status;
return condition.value === relatedFormControl.value || condition.status === relatedFormControl.status;
}

if (relatedFormControl && relation.match === matcher.opposingMatch) {
Expand All @@ -87,7 +87,7 @@ export class DynamicFormRelationService {
return false;
}

return !(condition.value === relatedFormControl.value ?? condition.status === relatedFormControl.status);
return !(condition.value === relatedFormControl.value || condition.status === relatedFormControl.status);
}

return false;
Expand Down
4 changes: 2 additions & 2 deletions projects/ng-dynamic-forms/ui-basic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ng-dynamic-forms/ui-basic",
"version": "11.0.2",
"version": "11.0.3",
"description": "Basic UI package for NG Dynamic Forms",
"keywords": [
"angular",
Expand Down Expand Up @@ -28,7 +28,7 @@
"url": "git+https://github.com/udos86/ng-dynamic-forms.git"
},
"peerDependencies": {
"@ng-dynamic-forms/core": "^11.0.2",
"@ng-dynamic-forms/core": "^11.0.3",
"angular2-text-mask": "^9.0.0"
},
"es2015": "./fesm2015/ui-basic.js",
Expand Down
4 changes: 2 additions & 2 deletions projects/ng-dynamic-forms/ui-bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ng-dynamic-forms/ui-bootstrap",
"version": "11.0.2",
"version": "11.0.3",
"description": "Bootstrap UI package for NG Dynamic Forms",
"keywords": [
"angular",
Expand Down Expand Up @@ -30,7 +30,7 @@
"url": "git+https://github.com/udos86/ng-dynamic-forms.git"
},
"peerDependencies": {
"@ng-dynamic-forms/core": "^11.0.2",
"@ng-dynamic-forms/core": "^11.0.3",
"angular2-text-mask": "^9.0.0",
"bootstrap": "^3.3.7",
"ngx-bootstrap": "^5.0.0"
Expand Down
4 changes: 2 additions & 2 deletions projects/ng-dynamic-forms/ui-foundation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ng-dynamic-forms/ui-foundation",
"version": "11.0.2",
"version": "11.0.3",
"description": "Foundation UI package for NG Dynamic Forms",
"keywords": [
"angular",
Expand Down Expand Up @@ -29,7 +29,7 @@
"url": "git+https://github.com/udos86/ng-dynamic-forms.git"
},
"peerDependencies": {
"@ng-dynamic-forms/core": "^11.0.2",
"@ng-dynamic-forms/core": "^11.0.3",
"foundation-sites": "^6.3.1"
},
"es2015": "./fesm2015/ui-foundation.js",
Expand Down
4 changes: 2 additions & 2 deletions projects/ng-dynamic-forms/ui-ionic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ng-dynamic-forms/ui-ionic",
"version": "11.0.2",
"version": "11.0.3",
"description": "Ionic UI package for NG Dynamic Forms",
"keywords": [
"angular",
Expand Down Expand Up @@ -30,7 +30,7 @@
},
"peerDependencies": {
"@ionic/angular": "^5.0.0",
"@ng-dynamic-forms/core": "^11.0.2"
"@ng-dynamic-forms/core": "^11.0.3"
},
"es2015": "./fesm2015/ui-ionic.js",
"esm2015": "./esm2015/ui-ionic.js",
Expand Down
4 changes: 2 additions & 2 deletions projects/ng-dynamic-forms/ui-kendo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ng-dynamic-forms/ui-kendo",
"version": "11.0.2",
"version": "11.0.3",
"description": "Kendo UI package for NG Dynamic Forms",
"keywords": [
"angular",
Expand Down Expand Up @@ -29,7 +29,7 @@
"url": "git+https://github.com/udos86/ng-dynamic-forms.git"
},
"peerDependencies": {
"@ng-dynamic-forms/core": "^11.0.2",
"@ng-dynamic-forms/core": "^11.0.3",
"@progress/kendo-angular-dateinputs": "^4.2.2",
"@progress/kendo-angular-dropdowns": "^4.2.6",
"@progress/kendo-angular-inputs": "^6.5.0",
Expand Down
4 changes: 2 additions & 2 deletions projects/ng-dynamic-forms/ui-material/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ng-dynamic-forms/ui-material",
"version": "11.0.2",
"version": "11.0.3",
"description": "Material UI package for NG Dynamic Forms",
"keywords": [
"angular",
Expand Down Expand Up @@ -30,7 +30,7 @@
},
"peerDependencies": {
"@angular/material": "^9.0.0",
"@ng-dynamic-forms/core": "^11.0.2",
"@ng-dynamic-forms/core": "^11.0.3",
"angular2-text-mask": "^9.0.0"
},
"es2015": "./fesm2015/ui-material.js",
Expand Down
4 changes: 2 additions & 2 deletions projects/ng-dynamic-forms/ui-ng-bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ng-dynamic-forms/ui-ng-bootstrap",
"version": "11.0.2",
"version": "11.0.3",
"description": "NG Bootstrap UI package for NG Dynamic Forms",
"keywords": [
"angular",
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"peerDependencies": {
"@ng-bootstrap/ng-bootstrap": "^6.0.0",
"@ng-dynamic-forms/core": "^11.0.2",
"@ng-dynamic-forms/core": "^11.0.3",
"angular2-text-mask": "^9.0.0",
"bootstrap": "^4.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions projects/ng-dynamic-forms/ui-ngx-bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ng-dynamic-forms/ui-ngx-bootstrap",
"version": "11.0.2",
"version": "11.0.3",
"description": "ngx-bootstrap UI package for NG Dynamic Forms",
"keywords": [
"angular",
Expand Down Expand Up @@ -30,7 +30,7 @@
"url": "git+https://github.com/udos86/ng-dynamic-forms.git"
},
"peerDependencies": {
"@ng-dynamic-forms/core": "^11.0.2",
"@ng-dynamic-forms/core": "^11.0.3",
"angular2-text-mask": "^9.0.0",
"bootstrap": "^4.0.0",
"ngx-bootstrap": "^5.6.0"
Expand Down
4 changes: 2 additions & 2 deletions projects/ng-dynamic-forms/ui-primeng/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ng-dynamic-forms/ui-primeng",
"version": "11.0.2",
"version": "11.0.3",
"description": "PrimeNG UI package for NG Dynamic Forms",
"keywords": [
"angular",
Expand Down Expand Up @@ -29,7 +29,7 @@
"url": "git+https://github.com/udos86/ng-dynamic-forms.git"
},
"peerDependencies": {
"@ng-dynamic-forms/core": "^11.0.2",
"@ng-dynamic-forms/core": "^11.0.3",
"primeng": "^9.0.0"
},
"optionalDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion schematics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ng-dynamic-forms/schematics",
"version": "11.0.2",
"version": "11.0.3",
"description": "NG Dynamic Forms schematics",
"scripts": {
"build": "tsc -p tsconfig.json",
Expand Down

0 comments on commit 8ff9c59

Please sign in to comment.