github-api-widget
Advanced tools
Comparing version 0.1.2 to 0.1.3
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/forms'), require('@angular/platform-browser'), require('@angular/common'), require('proyecto-1b-api-github'), require('@angular/core')) : | ||
typeof define === 'function' && define.amd ? define('github-api-widget', ['exports', '@angular/forms', '@angular/platform-browser', '@angular/common', 'proyecto-1b-api-github', '@angular/core'], factory) : | ||
(factory((global['github-api-widget'] = {}),global.ng.forms,global.ng.platformBrowser,global.ng.common,global.api,global.ng.core)); | ||
}(this, (function (exports,forms,platformBrowser,common,api,i0) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('proyecto-1b-api-github'), require('@angular/core'), require('@angular/forms'), require('@angular/platform-browser'), require('@angular/common')) : | ||
typeof define === 'function' && define.amd ? define('github-api-widget', ['exports', 'proyecto-1b-api-github', '@angular/core', '@angular/forms', '@angular/platform-browser', '@angular/common'], factory) : | ||
(factory((global['github-api-widget'] = {}),global.api,global.ng.core,global.ng.forms,global.ng.platformBrowser,global.ng.common)); | ||
}(this, (function (exports,api,i0,forms,platformBrowser,common) { 'use strict'; | ||
@@ -181,7 +181,7 @@ /** | ||
exports.SearchUserComponent = SearchUserComponent; | ||
exports.UserComponent = UserComponent; | ||
exports.ErrorComponent = ErrorComponent; | ||
exports.SearchUserService = SearchUserService; | ||
exports.GithubApiModule = GithubApiModule; | ||
exports.SearchUserService = SearchUserService; | ||
exports.ɵa = ErrorComponent; | ||
exports.ɵc = SearchUserComponent; | ||
exports.ɵb = UserComponent; | ||
@@ -188,0 +188,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/forms"),require("@angular/platform-browser"),require("@angular/common"),require("proyecto-1b-api-github"),require("@angular/core")):"function"==typeof define&&define.amd?define("github-api-widget",["exports","@angular/forms","@angular/platform-browser","@angular/common","proyecto-1b-api-github","@angular/core"],r):r(e["github-api-widget"]={},e.ng.forms,e.ng.platformBrowser,e.ng.common,e.api,e.ng.core)}(this,function(e,r,n,t,o,s){"use strict";var i=function(){function e(){}return e.prototype.takeApiData=function(e){return new Promise(function(r){o.obtenerDatosDeUsuario(e).then(function(e){e.login===undefined?console.log("no data"):console.log(e),r(e)})["catch"](function(e){r(e)})})},e.decorators=[{type:s.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=s.defineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}(),a=function(){function e(e){this.userSearch=e,this.error=!1,this.user=null}return e.prototype.searchUser=function(e){var r=this;console.log(e.keyCode);var n=this.search;console.log(n),13===e.keyCode&&(""===n||n===undefined?(this.user=null,this.error=!0):this.userSearch.takeApiData(n).then(function(e){r.user=e,r.error=!1}))},e.decorators=[{type:s.Component,args:[{selector:"github-api-search-user",template:'\n<input (keydown)="searchUser($event)" [(ngModel)]="search" placeholder="GitHub username">\n\n<github-api-user *ngIf="user"\n [user]="user"></github-api-user>\n\n<github-api-error *ngIf="error"></github-api-error>'}]}],e.ctorParameters=function(){return[{type:i}]},e}(),u=function(){function e(){}return e.decorators=[{type:s.Component,args:[{selector:"github-api-user",template:'<div class="github-card user-card" *ngIf="user != undefined" >\n <div class="header User"></div>\n <a class="avatar"\n [href]="\'https://github.com/\'+user.login">\n <img [src]="user.avatar_url+\'&s=80\'" [alt]="user.name" />\n </a>\n <div class="content">\n <h1>{{user.name}}</h1>\n <ul class="status">\n <li>\n <a [href]="\'https://github.com/\'+user.login+\'?tab=repositories\'">\n <strong>{{user.public_repos}}</strong>Repos\n </a>\n </li>\n <li>\n <a [href]="\'https://gist.github.com/\'+user.login">\n <strong>{{user.public_gists}}</strong>Gists\n </a>\n </li>\n <li>\n <a [href]="\'https://github.com/\'+user.login+\'/followers\'">\n <strong>{{user.followers}}</strong>Followers\n </a>\n </li>\n </ul>\n </div>\n</div>'}]}],e.propDecorators={user:[{type:s.Input}]},e}(),c=function(){function e(){}return e.prototype.ngOnInit=function(){},e.decorators=[{type:s.Component,args:[{selector:"github-api-error",template:'<div class="error">\n <h2>Oops!</h2>\n <b>\n User not found.\n </b>\n <p>Please try searching again.</p>\n</div>'}]}],e.ctorParameters=function(){return[]},e}(),l=[c,u,a],p=function(){function e(){}return e.decorators=[{type:s.NgModule,args:[{declarations:l,imports:[n.BrowserModule,t.CommonModule,r.FormsModule],exports:l}]}],e}();e.GithubApiModule=p,e.SearchUserService=i,e.ɵa=c,e.ɵc=a,e.ɵb=u,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("proyecto-1b-api-github"),require("@angular/core"),require("@angular/forms"),require("@angular/platform-browser"),require("@angular/common")):"function"==typeof define&&define.amd?define("github-api-widget",["exports","proyecto-1b-api-github","@angular/core","@angular/forms","@angular/platform-browser","@angular/common"],r):r(e["github-api-widget"]={},e.api,e.ng.core,e.ng.forms,e.ng.platformBrowser,e.ng.common)}(this,function(e,n,r,o,t,s){"use strict";var i=function(){function e(){}return e.prototype.takeApiData=function(e){return new Promise(function(r){n.obtenerDatosDeUsuario(e).then(function(e){e.login===undefined?console.log("no data"):console.log(e),r(e)})["catch"](function(e){r(e)})})},e.decorators=[{type:r.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=r.defineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}(),a=function(){function e(e){this.userSearch=e,this.error=!1,this.user=null}return e.prototype.searchUser=function(e){var r=this;console.log(e.keyCode);var n=this.search;console.log(n),13===e.keyCode&&(""===n||n===undefined?(this.user=null,this.error=!0):this.userSearch.takeApiData(n).then(function(e){r.user=e,r.error=!1}))},e.decorators=[{type:r.Component,args:[{selector:"github-api-search-user",template:'\n<input (keydown)="searchUser($event)" [(ngModel)]="search" placeholder="GitHub username">\n\n<github-api-user *ngIf="user"\n [user]="user"></github-api-user>\n\n<github-api-error *ngIf="error"></github-api-error>'}]}],e.ctorParameters=function(){return[{type:i}]},e}(),u=function(){function e(){}return e.decorators=[{type:r.Component,args:[{selector:"github-api-user",template:'<div class="github-card user-card" *ngIf="user != undefined" >\n <div class="header User"></div>\n <a class="avatar"\n [href]="\'https://github.com/\'+user.login">\n <img [src]="user.avatar_url+\'&s=80\'" [alt]="user.name" />\n </a>\n <div class="content">\n <h1>{{user.name}}</h1>\n <ul class="status">\n <li>\n <a [href]="\'https://github.com/\'+user.login+\'?tab=repositories\'">\n <strong>{{user.public_repos}}</strong>Repos\n </a>\n </li>\n <li>\n <a [href]="\'https://gist.github.com/\'+user.login">\n <strong>{{user.public_gists}}</strong>Gists\n </a>\n </li>\n <li>\n <a [href]="\'https://github.com/\'+user.login+\'/followers\'">\n <strong>{{user.followers}}</strong>Followers\n </a>\n </li>\n </ul>\n </div>\n</div>'}]}],e.propDecorators={user:[{type:r.Input}]},e}(),c=function(){function e(){}return e.prototype.ngOnInit=function(){},e.decorators=[{type:r.Component,args:[{selector:"github-api-error",template:'<div class="error">\n <h2>Oops!</h2>\n <b>\n User not found.\n </b>\n <p>Please try searching again.</p>\n</div>'}]}],e.ctorParameters=function(){return[]},e}(),l=[c,u,a],p=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{declarations:l,imports:[t.BrowserModule,s.CommonModule,o.FormsModule],exports:l}]}],e}();e.SearchUserComponent=a,e.UserComponent=u,e.ErrorComponent=c,e.SearchUserService=i,e.GithubApiModule=p,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=github-api-widget.umd.min.js.map |
@@ -8,6 +8,3 @@ /** | ||
*/ | ||
export { GithubApiModule, SearchUserService } from './public_api'; | ||
export { ErrorComponent as ɵa } from './lib/widgets/error/error.component'; | ||
export { SearchUserComponent as ɵc } from './lib/widgets/search-user/search-user.component'; | ||
export { UserComponent as ɵb } from './lib/widgets/user/user.component'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0aHViLWFwaS13aWRnZXQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9naXRodWItYXBpLXdpZGdldC8iLCJzb3VyY2VzIjpbImdpdGh1Yi1hcGktd2lkZ2V0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxtREFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLGNBQWMsSUFBSSxFQUFFLEVBQUMsTUFBTSxxQ0FBcUMsQ0FBQztBQUN6RSxPQUFPLEVBQUMsbUJBQW1CLElBQUksRUFBRSxFQUFDLE1BQU0saURBQWlELENBQUM7QUFDMUYsT0FBTyxFQUFDLGFBQWEsSUFBSSxFQUFFLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcblxuZXhwb3J0IHtFcnJvckNvbXBvbmVudCBhcyDJtWF9IGZyb20gJy4vbGliL3dpZGdldHMvZXJyb3IvZXJyb3IuY29tcG9uZW50JztcbmV4cG9ydCB7U2VhcmNoVXNlckNvbXBvbmVudCBhcyDJtWN9IGZyb20gJy4vbGliL3dpZGdldHMvc2VhcmNoLXVzZXIvc2VhcmNoLXVzZXIuY29tcG9uZW50JztcbmV4cG9ydCB7VXNlckNvbXBvbmVudCBhcyDJtWJ9IGZyb20gJy4vbGliL3dpZGdldHMvdXNlci91c2VyLmNvbXBvbmVudCc7Il19 | ||
export { SearchUserComponent, UserComponent, ErrorComponent, SearchUserService, GithubApiModule } from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0aHViLWFwaS13aWRnZXQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9naXRodWItYXBpLXdpZGdldC8iLCJzb3VyY2VzIjpbImdpdGh1Yi1hcGktd2lkZ2V0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx1R0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= |
@@ -6,7 +6,10 @@ /** | ||
/* | ||
* Public API Surface of github-api | ||
* Public API Surface of github-api-widget | ||
*/ | ||
export { SearchUserComponent } from './lib/widgets/search-user/search-user.component'; | ||
export { UserComponent } from './lib/widgets/user/user.component'; | ||
export { ErrorComponent } from './lib/widgets/error/error.component'; | ||
export {} from './lib/interfaces/user.interface'; | ||
export { SearchUserService } from './lib/services/search-user.service'; | ||
export { GithubApiModule } from './lib/github-api-widget.module'; | ||
export { SearchUserService } from './lib/services/search-user.service'; | ||
export {} from './lib/interfaces/user.interface'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2dpdGh1Yi1hcGktd2lkZ2V0LyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsZ0NBQWMsZ0NBQWdDLENBQUM7QUFDL0Msa0NBQWMsb0NBQW9DLENBQUM7QUFDbkQsZUFBYyxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgZ2l0aHViLWFwaVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL2dpdGh1Yi1hcGktd2lkZ2V0Lm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZXJ2aWNlcy9zZWFyY2g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earchUserService } from './public_api'; | ||
export { ErrorComponent as ɵa } from './lib/widgets/error/error.component'; | ||
export { SearchUserComponent as ɵc } from './lib/widgets/search-user/search-user.component'; | ||
export { UserComponent as ɵb } from './lib/widgets/user/user.component'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0aHViLWFwaS13aWRnZXQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9naXRodWItYXBpLXdpZGdldC8iLCJzb3VyY2VzIjpbImdpdGh1Yi1hcGktd2lkZ2V0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSxtREFBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLGNBQWMsSUFBSSxFQUFFLEVBQUMsTUFBTSxxQ0FBcUMsQ0FBQztBQUN6RSxPQUFPLEVBQUMsbUJBQW1CLElBQUksRUFBRSxFQUFDLE1BQU0saURBQWlELENBQUM7QUFDMUYsT0FBTyxFQUFDLGFBQWEsSUFBSSxFQUFFLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcblxuZXhwb3J0IHtFcnJvckNvbXBvbmVudCBhcyDJtWF9IGZyb20gJy4vbGliL3dpZGdldHMvZXJyb3IvZXJyb3IuY29tcG9uZW50JztcbmV4cG9ydCB7U2VhcmNoVXNlckNvbXBvbmVudCBhcyDJtWN9IGZyb20gJy4vbGliL3dpZGdldHMvc2VhcmNoLXVzZXIvc2VhcmNoLXVzZXIuY29tcG9uZW50JztcbmV4cG9ydCB7VXNlckNvbXBvbmVudCBhcyDJtWJ9IGZyb20gJy4vbGliL3dpZGdldHMvdXNlci91c2VyLmNvbXBvbmVudCc7Il19 | ||
export { SearchUserComponent, UserComponent, ErrorComponent, SearchUserService, GithubApiModule } from './public_api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0aHViLWFwaS13aWRnZXQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9naXRodWItYXBpLXdpZGdldC8iLCJzb3VyY2VzIjpbImdpdGh1Yi1hcGktd2lkZ2V0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx1R0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= |
@@ -6,7 +6,10 @@ /** | ||
/* | ||
* Public API Surface of github-api | ||
* Public API Surface of github-api-widget | ||
*/ | ||
export { SearchUserComponent } from './lib/widgets/search-user/search-user.component'; | ||
export { UserComponent } from './lib/widgets/user/user.component'; | ||
export { ErrorComponent } from './lib/widgets/error/error.component'; | ||
export {} from './lib/interfaces/user.interface'; | ||
export { SearchUserService } from './lib/services/search-user.service'; | ||
export { GithubApiModule } from './lib/github-api-widget.module'; | ||
export { SearchUserService } from './lib/services/search-user.service'; | ||
export {} from './lib/interfaces/user.interface'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2dpdGh1Yi1hcGktd2lkZ2V0LyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsZ0NBQWMsZ0NBQWdDLENBQUM7QUFDL0Msa0NBQWMsb0NBQW9DLENBQUM7QUFDbkQsZUFBYyxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsa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xpYi9zZXJ2aWNlcy9zZWFyY2gtdXNlci5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2dpdGh1Yi1hcGktd2lkZ2V0Lm1vZHVsZSc7XG4iXX0= |
@@ -0,6 +1,6 @@ | ||
import { obtenerDatosDeUsuario } from 'proyecto-1b-api-github'; | ||
import { Injectable, NgModule, Component, Input, defineInjectable } from '@angular/core'; | ||
import { FormsModule } from '@angular/forms'; | ||
import { BrowserModule } from '@angular/platform-browser'; | ||
import { CommonModule } from '@angular/common'; | ||
import { obtenerDatosDeUsuario } from 'proyecto-1b-api-github'; | ||
import { Injectable, Component, Input, NgModule, defineInjectable } from '@angular/core'; | ||
@@ -133,2 +133,7 @@ /** | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @type {?} */ | ||
@@ -160,9 +165,4 @@ const COMPONENTS = [ErrorComponent, UserComponent, SearchUserComponent]; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
export { SearchUserComponent, UserComponent, ErrorComponent, SearchUserService, GithubApiModule }; | ||
export { GithubApiModule, SearchUserService, ErrorComponent as ɵa, SearchUserComponent as ɵc, UserComponent as ɵb }; | ||
//# sourceMappingURL=github-api-widget.js.map |
@@ -0,6 +1,6 @@ | ||
import { obtenerDatosDeUsuario } from 'proyecto-1b-api-github'; | ||
import { Injectable, NgModule, Component, Input, defineInjectable } from '@angular/core'; | ||
import { FormsModule } from '@angular/forms'; | ||
import { BrowserModule } from '@angular/platform-browser'; | ||
import { CommonModule } from '@angular/common'; | ||
import { obtenerDatosDeUsuario } from 'proyecto-1b-api-github'; | ||
import { Injectable, Component, Input, NgModule, defineInjectable } from '@angular/core'; | ||
@@ -150,2 +150,7 @@ /** | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** @type {?} */ | ||
@@ -180,9 +185,4 @@ var COMPONENTS = [ErrorComponent, UserComponent, SearchUserComponent]; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
export { SearchUserComponent, UserComponent, ErrorComponent, SearchUserService, GithubApiModule }; | ||
export { GithubApiModule, SearchUserService, ErrorComponent as ɵa, SearchUserComponent as ɵc, UserComponent as ɵb }; | ||
//# sourceMappingURL=github-api-widget.js.map |
@@ -5,4 +5,1 @@ /** | ||
export * from './public_api'; | ||
export { ErrorComponent as ɵa } from './lib/widgets/error/error.component'; | ||
export { SearchUserComponent as ɵc } from './lib/widgets/search-user/search-user.component'; | ||
export { UserComponent as ɵb } from './lib/widgets/user/user.component'; |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"GithubApiModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"}],"imports":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"BrowserModule","line":14,"character":4},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":15,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":16,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"}]}]}],"members":{}},"SearchUserService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"takeApiData":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"User":{"__symbolic":"interface"},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"github-api-error","template":"<div class=\"error\">\n <h2>Oops!</h2>\n <b>\n User not found.\n </b>\n <p>Please try searching again.</p>\n</div>"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"github-api-user","template":"<div class=\"github-card user-card\" *ngIf=\"user != undefined\" >\n <div class=\"header User\"></div>\n <a class=\"avatar\"\n [href]=\"'https://github.com/'+user.login\">\n <img [src]=\"user.avatar_url+'&s=80'\" [alt]=\"user.name\" />\n </a>\n <div class=\"content\">\n <h1>{{user.name}}</h1>\n <ul class=\"status\">\n <li>\n <a [href]=\"'https://github.com/'+user.login+'?tab=repositories'\">\n <strong>{{user.public_repos}}</strong>Repos\n </a>\n </li>\n <li>\n <a [href]=\"'https://gist.github.com/'+user.login\">\n <strong>{{user.public_gists}}</strong>Gists\n </a>\n </li>\n <li>\n <a [href]=\"'https://github.com/'+user.login+'/followers'\">\n <strong>{{user.followers}}</strong>Followers\n </a>\n </li>\n </ul>\n </div>\n</div>"}]}],"members":{"user":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"github-api-search-user","template":"\n<input (keydown)=\"searchUser($event)\" [(ngModel)]=\"search\" placeholder=\"GitHub username\">\n\n<github-api-user *ngIf=\"user\"\n [user]=\"user\"></github-api-user>\n\n<github-api-error *ngIf=\"error\"></github-api-error>"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"SearchUserService"}]}],"searchUser":[{"__symbolic":"method"}]}}},"origins":{"GithubApiModule":"./lib/github-api-widget.module","SearchUserService":"./lib/services/search-user.service","User":"./lib/interfaces/user.interface","ɵa":"./lib/widgets/error/error.component","ɵb":"./lib/widgets/user/user.component","ɵc":"./lib/widgets/search-user/search-user.component"},"importAs":"github-api-widget"} | ||
{"__symbolic":"module","version":4,"metadata":{"SearchUserComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"github-api-search-user","template":"\n<input (keydown)=\"searchUser($event)\" [(ngModel)]=\"search\" placeholder=\"GitHub username\">\n\n<github-api-user *ngIf=\"user\"\n [user]=\"user\"></github-api-user>\n\n<github-api-error *ngIf=\"error\"></github-api-error>"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"SearchUserService"}]}],"searchUser":[{"__symbolic":"method"}]}},"UserComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"github-api-user","template":"<div class=\"github-card user-card\" *ngIf=\"user != undefined\" >\n <div class=\"header User\"></div>\n <a class=\"avatar\"\n [href]=\"'https://github.com/'+user.login\">\n <img [src]=\"user.avatar_url+'&s=80'\" [alt]=\"user.name\" />\n </a>\n <div class=\"content\">\n <h1>{{user.name}}</h1>\n <ul class=\"status\">\n <li>\n <a [href]=\"'https://github.com/'+user.login+'?tab=repositories'\">\n <strong>{{user.public_repos}}</strong>Repos\n </a>\n </li>\n <li>\n <a [href]=\"'https://gist.github.com/'+user.login\">\n <strong>{{user.public_gists}}</strong>Gists\n </a>\n </li>\n <li>\n <a [href]=\"'https://github.com/'+user.login+'/followers'\">\n <strong>{{user.followers}}</strong>Followers\n </a>\n </li>\n </ul>\n </div>\n</div>"}]}],"members":{"user":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}]}},"ErrorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"github-api-error","template":"<div class=\"error\">\n <h2>Oops!</h2>\n <b>\n User not found.\n </b>\n <p>Please try searching again.</p>\n</div>"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"User":{"__symbolic":"interface"},"SearchUserService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"takeApiData":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"GithubApiModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ErrorComponent"},{"__symbolic":"reference","name":"UserComponent"},{"__symbolic":"reference","name":"SearchUserComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"BrowserModule","line":14,"character":4},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":15,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":16,"character":4}],"exports":[{"__symbolic":"reference","name":"ErrorComponent"},{"__symbolic":"reference","name":"UserComponent"},{"__symbolic":"reference","name":"SearchUserComponent"}]}]}],"members":{}}},"origins":{"SearchUserComponent":"./lib/widgets/search-user/search-user.component","UserComponent":"./lib/widgets/user/user.component","ErrorComponent":"./lib/widgets/error/error.component","User":"./lib/interfaces/user.interface","SearchUserService":"./lib/services/search-user.service","GithubApiModule":"./lib/github-api-widget.module"},"importAs":"github-api-widget"} |
{ | ||
"name": "github-api-widget", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^7.0.0", |
@@ -0,3 +1,6 @@ | ||
export * from './lib/widgets/search-user/search-user.component'; | ||
export * from './lib/widgets/user/user.component'; | ||
export * from './lib/widgets/error/error.component'; | ||
export * from './lib/interfaces/user.interface'; | ||
export * from './lib/services/search-user.service'; | ||
export * from './lib/github-api-widget.module'; | ||
export * from './lib/services/search-user.service'; | ||
export * from './lib/interfaces/user.interface'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
1264
96656
35
2
0