-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathangular-weblineindia-url.metadata.json
1 lines (1 loc) · 4.46 KB
/
angular-weblineindia-url.metadata.json
1
{"__symbolic":"module","version":4,"metadata":{"UrlService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}]},"statics":{"ngInjectableDef":{}}},"UrlComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-url","template":"<input\n type=\"url\"\n [ngClass]=\"{\n 'form-control': true\n }\"\n [(placeholder)]=\"placeholder\"\n [(ngModel)]=\"value\"\n [(name)]=\"name\"\n [(id)]=\"id\"\n #url=\"ngModel\"\n [(disabled)]=\"disabled\"\n [(tabindex)]=\"tabindex\"\n (focus)=\"onFocus($event)\"\n (blur)=\"onBlur($event)\"\n (input)=\"onChange($event)\"\n [pattern]=\"onValidateUrl(urltype, regex)\"\n autofocus\n required\n />\n\n <div\n class=\"md-errors-spacer\"\n *ngIf=\"url.invalid && url.touched\"\n >\n <div *ngIf=\"url.errors && url.errors.pattern\">\n <p class=\"error-text\">{{ urlErrorName }}</p>\n </div>\n </div>","styles":[".form-control{width:50%;padding:12px 20px;margin:8px 0;display:inline-block;border:1px solid #ccc;box-sizing:border-box}.error-text{color:red}"]}]}],"members":{"urlErrorName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"urltype":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":1}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":1}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":1}}]}],"tabindex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":1}}]}],"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":1}}]}],"name":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":1}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":1}}]}],"regex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":1}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":48,"character":1}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":49,"character":1}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":51,"character":1}}]}],"onFocus":[{"__symbolic":"method"}],"onBlur":[{"__symbolic":"method"}],"onChange":[{"__symbolic":"method"}],"onValidateUrl":[{"__symbolic":"method"}]}},"UrlModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":7,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":8,"character":4},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":4}],"declarations":[{"__symbolic":"reference","name":"UrlComponent"}],"exports":[{"__symbolic":"reference","name":"UrlComponent"}]}]}],"members":{}}},"origins":{"UrlService":"./lib/url.service","UrlComponent":"./lib/url.component","UrlModule":"./lib/url.module"},"importAs":"angular-weblineindia-url"}