This repository has been archived by the owner on Sep 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathangular.unobtrusive.validation.tpls.js
47 lines (47 loc) · 2.67 KB
/
angular.unobtrusive.validation.tpls.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
var ResponsivePath;
(function (ResponsivePath) {
var Validation;
(function (Validation) {
var Unobtrusive;
(function (Unobtrusive) {
var Templates;
(function (Templates) {
var ValmsgFor;
(function (ValmsgFor) {
ValmsgFor.html = '<span for="{{valmsgFor}}" data-ng-repeat="err in messages" generated="true" data-ng-bind-html="err"></span><span ng-transclude ng-if="!messages"></span>';
})(ValmsgFor = Templates.ValmsgFor || (Templates.ValmsgFor = {}));
})(Templates = Unobtrusive.Templates || (Unobtrusive.Templates = {}));
})(Unobtrusive = Validation.Unobtrusive || (Validation.Unobtrusive = {}));
})(Validation = ResponsivePath.Validation || (ResponsivePath.Validation = {}));
})(ResponsivePath || (ResponsivePath = {}));
var ResponsivePath;
(function (ResponsivePath) {
var Validation;
(function (Validation) {
var Unobtrusive;
(function (Unobtrusive) {
var Templates;
(function (Templates) {
var ValmsgSummary;
(function (ValmsgSummary) {
ValmsgSummary.html = '<div class="alert alert-error" ng-if="submitted" ng-show="validationSummary.length"> <ul> <li data-ng-repeat="err in validationSummary" data-ng-bind-html="err"></li> </ul></div><div class="alert alert-error" ng-transclude ng-if="!submitted"></div>';
})(ValmsgSummary = Templates.ValmsgSummary || (Templates.ValmsgSummary = {}));
})(Templates = Unobtrusive.Templates || (Unobtrusive.Templates = {}));
})(Unobtrusive = Validation.Unobtrusive || (Validation.Unobtrusive = {}));
})(Validation = ResponsivePath.Validation || (ResponsivePath.Validation = {}));
})(ResponsivePath || (ResponsivePath = {}));
var ResponsivePath;
(function (ResponsivePath) {
var Validation;
(function (Validation) {
var Unobtrusive;
(function (Unobtrusive) {
function defaultTemplates($templateCache) {
$templateCache.put("templates/angular-unobtrusive-validation/valmsgSummary.html", Unobtrusive.Templates.ValmsgSummary.html);
$templateCache.put("templates/angular-unobtrusive-validation/valmsgFor.html", Unobtrusive.Templates.ValmsgFor.html);
}
defaultTemplates.$inject = ['$templateCache'];
angular.module('unobtrusive.validation.templates', [Unobtrusive.modBase.name]).run(defaultTemplates);
})(Unobtrusive = Validation.Unobtrusive || (Validation.Unobtrusive = {}));
})(Validation = ResponsivePath.Validation || (ResponsivePath.Validation = {}));
})(ResponsivePath || (ResponsivePath = {}));