Skip to content

Commit

Permalink
chore(build): build for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
janvanderhaegen committed May 30, 2015
1 parent a8008bc commit 393613f
Show file tree
Hide file tree
Showing 62 changed files with 1,307 additions and 326 deletions.
6 changes: 6 additions & 0 deletions dist/amd/resources/de-DE.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
NumericValidationRule: function NumericValidationRule(newValue, threshold) {
return 'muss eine Nummer sein';
},
NoSpacesValidationRule: function NoSpacesValidationRule(newValue, threshold) {
return 'darf keine Leerzeichen enthalten';
},
RegexValidationRule: function RegexValidationRule(newValue, threshold) {
return 'ist kein gültiger Wert';
},
Expand All @@ -71,6 +74,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
},
MediumPasswordValidationRule: function MediumPasswordValidationRule(newValue, threshold) {
return 'sollte zumindest ' + _validationUtilities.Utilities.getValue(threshold) + ' der folgenden Gruppen enthalten: Kleinbuchstaben, Großbuchstaben, Zahlen oder Sonderzeichen';
},
URLValidationRule: function URLValidationRule(newValue, threshold) {
return 'ist keine gültige URL';
}
}
};
Expand Down
6 changes: 6 additions & 0 deletions dist/amd/resources/en-US.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
NumericValidationRule: function NumericValidationRule(newValue, threshold) {
return 'needs to be a number';
},
NoSpacesValidationRule: function NoSpacesValidationRule(newValue, threshold) {
return 'cannot contain spaces';
},
RegexValidationRule: function RegexValidationRule(newValue, threshold) {
return 'not a valid value';
},
Expand All @@ -83,6 +86,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
},
MediumPasswordValidationRule: function MediumPasswordValidationRule(newValue, threshold) {
return 'should contain at least ' + _validationUtilities.Utilities.getValue(threshold) + ' of the following groups: lowercase letters, uppercase letters, digits or special characters';
},
URLValidationRule: function URLValidationRule(newValue, threshold) {
return 'is not a valid URL';
}
}
};
Expand Down
6 changes: 6 additions & 0 deletions dist/amd/resources/es-MX.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
NumericValidationRule: function NumericValidationRule(newValue, threshold) {
return 'debe ser un numero';
},
NoSpacesValidationRule: function NoSpacesValidationRule(newValue, threshold) {
return 'no puede contener espacios';
},
RegexValidationRule: function RegexValidationRule(newValue, threshold) {
return 'no es un valor valido';
},
Expand All @@ -83,6 +86,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
},
MediumPasswordValidationRule: function MediumPasswordValidationRule(newValue, threshold) {
return 'debe poseer al menos ' + _validationUtilities.Utilities.getValue(threshold) + ' de las siguientes características: letras minúsculas, letras mayúsculas, dígitos o caracteres especiales';
},
URLValidationRule: function URLValidationRule(newValue, threshold) {
return 'no es una URL válida';
}
}
};
Expand Down
6 changes: 6 additions & 0 deletions dist/amd/resources/fr-FR.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
NumericValidationRule: function NumericValidationRule(newValue, threshold) {
return 'doit être une valeur numérique';
},
NoSpacesValidationRule: function NoSpacesValidationRule(newValue, threshold) {
return 'ne peut pas contenir d\'espaces';
},
RegexValidationRule: function RegexValidationRule(newValue, threshold) {
return 'n\'est pas une valeur valide';
},
Expand All @@ -83,6 +86,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
},
MediumPasswordValidationRule: function MediumPasswordValidationRule(newValue, threshold) {
return 'doit contenir au moins ' + _validationUtilities.Utilities.getValue(threshold) + ' des caractéristiques suivantes : lettres minuscules, lettres majuscules, caractères numériques ou caractères spéciaux';
},
URLValidationRule: function URLValidationRule(newValue, threshold) {
return 'est pas un URL valide';
}
}
};
Expand Down
6 changes: 6 additions & 0 deletions dist/amd/resources/nl-BE.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
NumericValidationRule: function NumericValidationRule(newValue, threshold) {
return 'moet een getal zijn';
},
NoSpacesValidationRule: function NoSpacesValidationRule(newValue, threshold) {
return 'mag geen spaties bevatten';
},
RegexValidationRule: function RegexValidationRule(newValue, threshold) {
return 'is geen geldige waarde';
},
Expand All @@ -83,6 +86,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
},
MediumPasswordValidationRule: function MediumPasswordValidationRule(newValue, threshold) {
return 'moet op zijn minst ' + _validationUtilities.Utilities.getValue(threshold) + ' van de volgende groepen bevatten: letters, hoofdletters, cijfers of speciale tekens';
},
URLValidationRule: function URLValidationRule(newValue, threshold) {
return 'is geen geldige URL';
}
}
};
Expand Down
6 changes: 6 additions & 0 deletions dist/amd/resources/nl-NL.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
NumericValidationRule: function NumericValidationRule(newValue, threshold) {
return 'moet een getal zijn';
},
NoSpacesValidationRule: function NoSpacesValidationRule(newValue, threshold) {
return 'mag geen spaties bevatten';
},
RegexValidationRule: function RegexValidationRule(newValue, threshold) {
return 'is geen geldige waarde';
},
Expand All @@ -83,6 +86,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
},
MediumPasswordValidationRule: function MediumPasswordValidationRule(newValue, threshold) {
return 'moet op zijn minst ' + _validationUtilities.Utilities.getValue(threshold) + ' van de volgende groepen bevatten: letters, hoofdletters, cijfers of speciale tekens';
},
URLValidationRule: function URLValidationRule(newValue, threshold) {
return 'is geen geldige URL';
}
}
};
Expand Down
6 changes: 6 additions & 0 deletions dist/amd/resources/sv-SE.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
NumericValidationRule: function NumericValidationRule(newValue, threshold) {
return 'måste vara ett nummer';
},
NoSpacesValidationRule: function NoSpacesValidationRule(newValue, threshold) {
return 'kan inte innehålla mellanslag';
},
RegexValidationRule: function RegexValidationRule(newValue, threshold) {
return 'är inte ett giltigt värde';
},
Expand All @@ -83,6 +86,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
},
MediumPasswordValidationRule: function MediumPasswordValidationRule(newValue, threshold) {
return 'ska innehålla minst ' + _validationUtilities.Utilities.getValue(threshold) + ' av följande grupperingar: gemener, versaler, siffror eller specialtecken';
},
URLValidationRule: function URLValidationRule(newValue, threshold) {
return 'är inte en giltig webbadress';
}
}
};
Expand Down
6 changes: 6 additions & 0 deletions dist/amd/resources/tr-TR.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
NumericValidationRule: function NumericValidationRule(newValue, threshold) {
return 'sadece sayı girebilirsiniz';
},
NoSpacesValidationRule: function NoSpacesValidationRule(newValue, threshold) {
return 'boşluk içeremez';
},
RegexValidationRule: function RegexValidationRule(newValue, threshold) {
return 'geçerli bir değer giriniz';
},
Expand All @@ -83,6 +86,9 @@ define(['exports', '../validation/utilities'], function (exports, _validationUti
},
MediumPasswordValidationRule: function MediumPasswordValidationRule(newValue, threshold) {
return 'küçük harfler, büyük harfler, sayılar veya işaretlerden en az ' + _validationUtilities.Utilities.getValue(threshold) + ' değişik tip olmalı';
},
URLValidationRule: function URLValidationRule(newValue, threshold) {
return 'Geçerli bir URL değil';
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/validation/path-observer.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ define(['exports', 'aurelia-binding'], function (exports, _aureliaBinding) {

PathObserver.prototype.observePart = function observePart(part) {
if (part !== this.path[this.path.length - 1]) {
this.observerParts();
this.observeParts();
}
};

Expand Down
2 changes: 1 addition & 1 deletion dist/amd/validation/validation-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ define(['exports', '../validation/validation-locale', '../validation/validate-cu
_this.changedHandlers.set(id, callback);
return {
v: function () {
changedHandlers['delete'](id);
_this.changedHandlers['delete'](id);
}
};
})();
Expand Down
8 changes: 8 additions & 0 deletions dist/amd/validation/validation-group-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ define(['exports', '../validation/validation-rules', '../validation/validation-r
return this.passesRule(new _validationValidationRules.EmailValidationRule());
};

ValidationGroupBuilder.prototype.isURL = function isURL() {
return this.passesRule(new _validationValidationRules.URLValidationRule());
};

ValidationGroupBuilder.prototype.hasMinLength = function hasMinLength(minimumValue) {
return this.passesRule(new _validationValidationRules.MinimumLengthValidationRule(minimumValue));
};
Expand All @@ -106,6 +110,10 @@ define(['exports', '../validation/validation-rules', '../validation/validation-r
return this.passesRule(new _validationValidationRules.NumericValidationRule());
};

ValidationGroupBuilder.prototype.containsNoSpaces = function containsNoSpaces() {
return this.passesRule(new _validationValidationRules.NoSpacesValidationRule());
};

ValidationGroupBuilder.prototype.containsOnlyDigits = function containsOnlyDigits() {
return this.passesRule(new _validationValidationRules.DigitValidationRule());
};
Expand Down
8 changes: 8 additions & 0 deletions dist/amd/validation/validation-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ define(['exports', '../validation/validation-group-builder', '../validation/vali
return this.builder.isEmail();
};

ValidationGroup.prototype.isURL = function isURL() {
return this.builder.isURL();
};

ValidationGroup.prototype.isIn = function isIn(collection) {
return this.builder.isIn(collection);
};
Expand All @@ -231,6 +235,10 @@ define(['exports', '../validation/validation-group-builder', '../validation/vali
return this.builder.isNumber();
};

ValidationGroup.prototype.containsNoSpaces = function containsNoSpaces() {
return this.builder.containsNoSpaces();
};

ValidationGroup.prototype.containsOnlyDigits = function containsOnlyDigits() {
return this.builder.containsOnlyDigits();
};
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/validation/validation-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ define(['exports', '../validation/validation-rules-collection', '../validation/p
}

ValidationProperty.prototype.addValidationRule = function addValidationRule(validationRule) {
if (validationRule.validate === undefined) throw new exception('That\'s not a valid validationRule');
if (validationRule.validate === undefined) throw new Error('That\'s not a valid validationRule');
this.collectionOfValidationRules.addValidationRule(validationRule);
this.validateCurrentValue(false);
};
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/validation/validation-rules-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ define(['exports', '../validation/utilities', '../validation/validation-locale']
};

ValidationRulesCollection.prototype.addValidationRule = function addValidationRule(validationRule) {
if (validationRule.validate === undefined) throw new exception('That\'s not a valid validationRule');
if (validationRule.validate === undefined) throw new Error('That\'s not a valid validationRule');
this.validationRules.push(validationRule);
};

Expand Down
Loading

0 comments on commit 393613f

Please sign in to comment.