angular2-schema-form
Version:
Angular2 Schema Form (DISCLAIMER: it is not related to angular-schema-form)
1 lines • 2.05 kB
JSON
[{"__symbolic":"module","version":3,"metadata":{"FileWidget":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../widget","name":"ControlWidget"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"sf-file-widget","template":"<div class=\"widget form-group\">\n\t<label [attr.for]=\"id\" class=\"horizontal control-label\">\n\t\t{{ schema.title }}\n\t</label>\n <span *ngIf=\"schema.description\" class=\"formHelp\">{{schema.description}}</span>\n <input [name]=\"name\" class=\"text-widget file-widget\" [attr.id]=\"id\"\n [formControl]=\"control\" type=\"file\" [attr.disabled]=\"schema.readOnly?true:null\"\n (change)=\"onFileChange($event)\">\n\t<input *ngIf=\"schema.readOnly\" [attr.name]=\"name\" type=\"hidden\" [formControl]=\"control\">\n</div>"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngAfterViewInit":[{"__symbolic":"method"}],"onFileChange":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"FileWidget":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../../widget","name":"ControlWidget"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"sf-file-widget","template":"<div class=\"widget form-group\">\n\t<label [attr.for]=\"id\" class=\"horizontal control-label\">\n\t\t{{ schema.title }}\n\t</label>\n <span *ngIf=\"schema.description\" class=\"formHelp\">{{schema.description}}</span>\n <input [name]=\"name\" class=\"text-widget file-widget\" [attr.id]=\"id\"\n [formControl]=\"control\" type=\"file\" [attr.disabled]=\"schema.readOnly?true:null\"\n (change)=\"onFileChange($event)\">\n\t<input *ngIf=\"schema.readOnly\" [attr.name]=\"name\" type=\"hidden\" [formControl]=\"control\">\n</div>"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngAfterViewInit":[{"__symbolic":"method"}],"onFileChange":[{"__symbolic":"method"}]}}}}]