-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathangular-schema-form-datefields.min.js
More file actions
1 lines (1 loc) · 1.52 KB
/
angular-schema-form-datefields.min.js
File metadata and controls
1 lines (1 loc) · 1.52 KB
1
angular.module("schemaForm").run(["$templateCache",function(e){e.put("directives/decorators/bootstrap/datefields/angular-schema-form-datefields.html",'<div class="form-group schema-form-datefields" ng-class="{ \'{{\'schema-form-\' + form.type}}\': true, \'has-error\': form.disableErrorState !== true && hasError(), \'has-success\': form.disableSuccessState !== true && hasSuccess(), \'has-feedback\': form.feedback !== false }"><label class="control-label {{form.labelHtmlClass}}" ng-show="showTitle()">{{form.title}}</label><div class="schema-form-datefields-container"><ng-combo-date-picker schema-validate="form" ng-model="$$value$$" ng-placeholder="Year,Month,Date" ng-required="{{form.schema.required}}" ng-year-order="{{form.schema.yearOrder || \'desc\'}}" ng-min-date="{{form.schema.minDate}}" ng-max-date="{{form.schema.maxDate}}" ng-order="{{(form.schema.order || \'mdy\')}}"></ng-combo-date-picker></div><div class="help-block" sf-message="form.description"></div></div>')}]),angular.module("schemaForm").config(["schemaFormProvider","schemaFormDecoratorsProvider","sfPathProvider",function(e,a,r){var s=function(a,s,o){if("string"===s.type&&"datefields"===s.format){var t=e.stdFormObj(a,s,o);return t.key=o.path,t.type="datefields",o.lookup[r.stringify(o.path)]=t,t}};e.defaults.string.unshift(s),a.addMapping("bootstrapDecorator","datefields","directives/decorators/bootstrap/datefields/angular-schema-form-datefields.html"),a.createDirective("datefields","directives/decorators/bootstrap/datefields/angular-schema-form-datefields.html")}]);