@tehw0lf/git-portfolio 0.18.7 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -70,10 +70,10 @@ class GitProviderService {
70
70
  }
71
71
  return of([]);
72
72
  }
73
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GitProviderService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
74
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GitProviderService, providedIn: 'root' }); }
73
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: GitProviderService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
74
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: GitProviderService, providedIn: 'root' }); }
75
75
  }
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GitProviderService, decorators: [{
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: GitProviderService, decorators: [{
77
77
  type: Injectable,
78
78
  args: [{
79
79
  providedIn: 'root'
@@ -108,10 +108,10 @@ class OcticonDirective {
108
108
  }
109
109
  }
110
110
  }
111
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: OcticonDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
112
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.3", type: OcticonDirective, isStandalone: true, selector: "[octicon]", inputs: { octicon: { classPropertyName: "octicon", publicName: "octicon", isSignal: true, isRequired: true, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: true, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
111
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: OcticonDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
112
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.6", type: OcticonDirective, isStandalone: true, selector: "[octicon]", inputs: { octicon: { classPropertyName: "octicon", publicName: "octicon", isSignal: true, isRequired: true, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: true, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
113
113
  }
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: OcticonDirective, decorators: [{
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: OcticonDirective, decorators: [{
115
115
  type: Directive,
116
116
  args: [{
117
117
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -135,19 +135,19 @@ class RepoCardComponent {
135
135
  this.copiedToClipboard = output();
136
136
  this.githubLanguageColors = githubLanguageColors;
137
137
  }
138
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: RepoCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
139
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.3", type: RepoCardComponent, isStandalone: true, selector: "repo-card", inputs: { buttonStyle: { classPropertyName: "buttonStyle", publicName: "buttonStyle", isSignal: true, isRequired: true, transformFunction: null }, cardStyle: { classPropertyName: "cardStyle", publicName: "cardStyle", isSignal: true, isRequired: true, transformFunction: null }, textStyle: { classPropertyName: "textStyle", publicName: "textStyle", isSignal: true, isRequired: true, transformFunction: null }, checkColor: { classPropertyName: "checkColor", publicName: "checkColor", isSignal: true, isRequired: true, transformFunction: null }, forkColor: { classPropertyName: "forkColor", publicName: "forkColor", isSignal: true, isRequired: true, transformFunction: null }, issueColor: { classPropertyName: "issueColor", publicName: "issueColor", isSignal: true, isRequired: true, transformFunction: null }, pasteColor: { classPropertyName: "pasteColor", publicName: "pasteColor", isSignal: true, isRequired: true, transformFunction: null }, starColor: { classPropertyName: "starColor", publicName: "starColor", isSignal: true, isRequired: true, transformFunction: null }, gitRepo: { classPropertyName: "gitRepo", publicName: "gitRepo", isSignal: true, isRequired: true, transformFunction: null }, isCopied: { classPropertyName: "isCopied", publicName: "isCopied", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { copiedToClipboard: "copiedToClipboard" }, ngImport: i0, template: "<mat-card [ngStyle]=\"cardStyle()\">\n <mat-card-header>\n <div\n mat-card-avatar\n [ngStyle]=\"{\n 'background-image':\n 'url(' +\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\n ')',\n 'background-size': 'cover',\n 'border-radius': 0\n }\"\n ></div>\n <mat-card-title\n ><a\n mat-button\n [ngStyle]=\"buttonStyle()\"\n target=\"_blank\"\n href=\"{{ gitRepo().html_url || gitRepo().web_url }}\"\n >\n {{ gitRepo().name }}\n </a>\n </mat-card-title>\n <mat-card-subtitle class=\"flex-row\">\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n [ngStyle]=\"{\n 'background-color':\n gitRepo().language !== undefined\n ? githubLanguageColors[gitRepo().language!]\n : 'transparent'\n }\"\n class=\"language-icon flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().language }}</div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div octicon=\"star\" [color]=\"starColor()\" class=\"flex-gap-5\"></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\n </div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"repo-forked\"\n [color]=\"forkColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().forks_count }}</div>\n </div>\n @if (gitRepo().open_issues_count) {\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"issue-opened\"\n [color]=\"issueColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().open_issues_count }}\n </div>\n </div>\n }\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <p>{{ gitRepo().description }}</p>\n </mat-card-content>\n <mat-card-footer class=\"flex-row\">\n <span class=\"mat-footer-cell flex-fxflex flex-gap-12\">\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Created: {{ gitRepo().created_at | date }}</span\n >\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Updated:\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\n >\n </span>\n <span class=\"mat-footer-cell\">\n <button\n [ngStyle]=\"buttonStyle()\"\n mat-button\n [cdkCopyToClipboard]=\"\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\n \"\n (cdkCopyToClipboardCopied)=\"copiedToClipboard.emit(true)\"\n class=\"clipboard-button\"\n >\n <span class=\"mat-button-wrapper flex-row\">\n @if (isCopied()) {\n <div\n octicon=\"check\"\n [color]=\"checkColor()\"\n width=\"24\"\n class=\"flex-gap-5\"\n ></div>\n }\n <div\n octicon=\"paste\"\n [color]=\"pasteColor()\"\n width=\"24px\"\n class=\"flex-gap-5\"\n ></div>\n <span>Copy URL</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n", styles: [".clipboard-button{height:29px;line-height:24px!important;padding:0!important;margin-bottom:0}.clipboard-button span{font-size:20px}.mat-mdc-button{vertical-align:middle;line-height:36px;font-size:24px;margin:0 10px 0 0;padding:0 16px;text-align:center;text-decoration:none}@media screen and (max-width: 400px){.mat-mdc-button{font-size:20px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px}@media screen and (max-width: 519px){.mat-mdc-card{width:415px}}@media screen and (max-width: 430px){.mat-mdc-card{width:380px}}@media screen and (max-width: 400px){.mat-mdc-card{width:350px}}@media screen and (max-width: 390px){.mat-mdc-card{width:310px}}.mat-mdc-card-avatar{height:53px;width:53px;margin:0}.mat-mdc-card-title{margin-bottom:12px}.mat-mdc-card-subtitle{margin-top:-8px;margin-left:16px}.mat-mdc-card-header{flex-shrink:0;padding:0 0 16px}.mat-mdc-card-content{font-size:14px;height:34px;margin-bottom:16px;padding:0}.mat-mdc-card-content p{font-size:14px}.mat-mdc-card{padding:16px}.mat-mdc-card-footer{margin:0 -16px -10px;padding:16px 16px 10px}.footer-span{display:block;font-size:12px}.language-icon{height:12px;width:12px;border-radius:50%;margin-top:2px}.info-item{font-weight:400;letter-spacing:normal}p{margin:0}.flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}\n"], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1$1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1$1.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i1$1.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i1$1.MatCardFooter, selector: "mat-card-footer" }, { kind: "component", type: i1$1.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i1$1.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "directive", type: i1$1.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatAnchor, selector: "a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: OcticonDirective, selector: "[octicon]", inputs: ["octicon", "color", "width"] }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i3.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "pipe", type: DatePipe, name: "date" }] }); }
138
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RepoCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
139
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.6", type: RepoCardComponent, isStandalone: true, selector: "repo-card", inputs: { buttonStyle: { classPropertyName: "buttonStyle", publicName: "buttonStyle", isSignal: true, isRequired: true, transformFunction: null }, cardStyle: { classPropertyName: "cardStyle", publicName: "cardStyle", isSignal: true, isRequired: true, transformFunction: null }, textStyle: { classPropertyName: "textStyle", publicName: "textStyle", isSignal: true, isRequired: true, transformFunction: null }, checkColor: { classPropertyName: "checkColor", publicName: "checkColor", isSignal: true, isRequired: true, transformFunction: null }, forkColor: { classPropertyName: "forkColor", publicName: "forkColor", isSignal: true, isRequired: true, transformFunction: null }, issueColor: { classPropertyName: "issueColor", publicName: "issueColor", isSignal: true, isRequired: true, transformFunction: null }, pasteColor: { classPropertyName: "pasteColor", publicName: "pasteColor", isSignal: true, isRequired: true, transformFunction: null }, starColor: { classPropertyName: "starColor", publicName: "starColor", isSignal: true, isRequired: true, transformFunction: null }, gitRepo: { classPropertyName: "gitRepo", publicName: "gitRepo", isSignal: true, isRequired: true, transformFunction: null }, isCopied: { classPropertyName: "isCopied", publicName: "isCopied", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { copiedToClipboard: "copiedToClipboard" }, ngImport: i0, template: "<mat-card [ngStyle]=\"cardStyle()\">\n <mat-card-header>\n <div\n mat-card-avatar\n [ngStyle]=\"{\n 'background-image':\n 'url(' +\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\n ')',\n 'background-size': 'cover',\n 'border-radius': 0\n }\"\n ></div>\n <mat-card-title\n ><a\n mat-button\n [ngStyle]=\"buttonStyle()\"\n target=\"_blank\"\n href=\"{{ gitRepo().html_url || gitRepo().web_url }}\"\n >\n {{ gitRepo().name }}\n </a>\n </mat-card-title>\n <mat-card-subtitle class=\"flex-row\">\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n [ngStyle]=\"{\n 'background-color':\n gitRepo().language !== undefined\n ? githubLanguageColors[gitRepo().language!]\n : 'transparent'\n }\"\n class=\"language-icon flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().language }}</div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div octicon=\"star\" [color]=\"starColor()\" class=\"flex-gap-5\"></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\n </div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"repo-forked\"\n [color]=\"forkColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().forks_count }}</div>\n </div>\n @if (gitRepo().open_issues_count) {\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"issue-opened\"\n [color]=\"issueColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().open_issues_count }}\n </div>\n </div>\n }\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <p>{{ gitRepo().description }}</p>\n </mat-card-content>\n <mat-card-footer class=\"flex-row\">\n <span class=\"mat-footer-cell flex-fxflex flex-gap-12\">\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Created: {{ gitRepo().created_at | date }}</span\n >\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Updated:\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\n >\n </span>\n <span class=\"mat-footer-cell\">\n <button\n [ngStyle]=\"buttonStyle()\"\n mat-button\n [cdkCopyToClipboard]=\"\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\n \"\n (cdkCopyToClipboardCopied)=\"copiedToClipboard.emit(true)\"\n class=\"clipboard-button\"\n >\n <span class=\"mat-button-wrapper flex-row\">\n @if (isCopied()) {\n <div\n octicon=\"check\"\n [color]=\"checkColor()\"\n width=\"24\"\n class=\"flex-gap-5\"\n ></div>\n }\n <div\n octicon=\"paste\"\n [color]=\"pasteColor()\"\n width=\"24px\"\n class=\"flex-gap-5\"\n ></div>\n <span>Copy URL</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n", styles: [".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.clipboard-button{height:29px;line-height:24px!important;padding:0!important;margin-bottom:0}.clipboard-button span{font-size:20px}.mat-mdc-button{vertical-align:middle;line-height:36px;font-size:24px;margin:0 10px 0 0;padding:0 16px;text-align:center;text-decoration:none}@media screen and (max-width: 400px){.mat-mdc-button{font-size:20px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px}@media screen and (max-width: 519px){.mat-mdc-card{width:415px}}@media screen and (max-width: 430px){.mat-mdc-card{width:380px}}@media screen and (max-width: 400px){.mat-mdc-card{width:350px}}@media screen and (max-width: 390px){.mat-mdc-card{width:310px}}.mat-mdc-card-avatar{height:53px;width:53px;margin:0}.mat-mdc-card-title{margin-bottom:12px}.mat-mdc-card-subtitle{margin-top:-8px;margin-left:16px}.mat-mdc-card-header{flex-shrink:0;padding:0 0 16px}.mat-mdc-card-content{font-size:14px;height:34px;margin-bottom:16px;padding:0}.mat-mdc-card-content p{font-size:14px}.mat-mdc-card{padding:16px}.mat-mdc-card-footer{margin:0 -16px -10px;padding:16px 16px 10px}.footer-span{display:block;font-size:12px}.language-icon{height:12px;width:12px;border-radius:50%;margin-top:2px}.info-item{font-weight:400;letter-spacing:normal}p{margin:0}\n"], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1$1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1$1.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i1$1.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i1$1.MatCardFooter, selector: "mat-card-footer" }, { kind: "component", type: i1$1.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i1$1.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "directive", type: i1$1.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatAnchor, selector: "a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: OcticonDirective, selector: "[octicon]", inputs: ["octicon", "color", "width"] }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i3.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "pipe", type: DatePipe, name: "date" }] }); }
140
140
  }
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: RepoCardComponent, decorators: [{
141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RepoCardComponent, decorators: [{
142
142
  type: Component,
143
- args: [{ selector: 'repo-card', standalone: true, imports: [
143
+ args: [{ selector: 'repo-card', imports: [
144
144
  MatCardModule,
145
145
  NgStyle,
146
146
  MatButtonModule,
147
147
  OcticonDirective,
148
148
  ClipboardModule,
149
149
  DatePipe
150
- ], template: "<mat-card [ngStyle]=\"cardStyle()\">\n <mat-card-header>\n <div\n mat-card-avatar\n [ngStyle]=\"{\n 'background-image':\n 'url(' +\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\n ')',\n 'background-size': 'cover',\n 'border-radius': 0\n }\"\n ></div>\n <mat-card-title\n ><a\n mat-button\n [ngStyle]=\"buttonStyle()\"\n target=\"_blank\"\n href=\"{{ gitRepo().html_url || gitRepo().web_url }}\"\n >\n {{ gitRepo().name }}\n </a>\n </mat-card-title>\n <mat-card-subtitle class=\"flex-row\">\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n [ngStyle]=\"{\n 'background-color':\n gitRepo().language !== undefined\n ? githubLanguageColors[gitRepo().language!]\n : 'transparent'\n }\"\n class=\"language-icon flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().language }}</div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div octicon=\"star\" [color]=\"starColor()\" class=\"flex-gap-5\"></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\n </div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"repo-forked\"\n [color]=\"forkColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().forks_count }}</div>\n </div>\n @if (gitRepo().open_issues_count) {\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"issue-opened\"\n [color]=\"issueColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().open_issues_count }}\n </div>\n </div>\n }\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <p>{{ gitRepo().description }}</p>\n </mat-card-content>\n <mat-card-footer class=\"flex-row\">\n <span class=\"mat-footer-cell flex-fxflex flex-gap-12\">\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Created: {{ gitRepo().created_at | date }}</span\n >\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Updated:\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\n >\n </span>\n <span class=\"mat-footer-cell\">\n <button\n [ngStyle]=\"buttonStyle()\"\n mat-button\n [cdkCopyToClipboard]=\"\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\n \"\n (cdkCopyToClipboardCopied)=\"copiedToClipboard.emit(true)\"\n class=\"clipboard-button\"\n >\n <span class=\"mat-button-wrapper flex-row\">\n @if (isCopied()) {\n <div\n octicon=\"check\"\n [color]=\"checkColor()\"\n width=\"24\"\n class=\"flex-gap-5\"\n ></div>\n }\n <div\n octicon=\"paste\"\n [color]=\"pasteColor()\"\n width=\"24px\"\n class=\"flex-gap-5\"\n ></div>\n <span>Copy URL</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n", styles: [".clipboard-button{height:29px;line-height:24px!important;padding:0!important;margin-bottom:0}.clipboard-button span{font-size:20px}.mat-mdc-button{vertical-align:middle;line-height:36px;font-size:24px;margin:0 10px 0 0;padding:0 16px;text-align:center;text-decoration:none}@media screen and (max-width: 400px){.mat-mdc-button{font-size:20px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px}@media screen and (max-width: 519px){.mat-mdc-card{width:415px}}@media screen and (max-width: 430px){.mat-mdc-card{width:380px}}@media screen and (max-width: 400px){.mat-mdc-card{width:350px}}@media screen and (max-width: 390px){.mat-mdc-card{width:310px}}.mat-mdc-card-avatar{height:53px;width:53px;margin:0}.mat-mdc-card-title{margin-bottom:12px}.mat-mdc-card-subtitle{margin-top:-8px;margin-left:16px}.mat-mdc-card-header{flex-shrink:0;padding:0 0 16px}.mat-mdc-card-content{font-size:14px;height:34px;margin-bottom:16px;padding:0}.mat-mdc-card-content p{font-size:14px}.mat-mdc-card{padding:16px}.mat-mdc-card-footer{margin:0 -16px -10px;padding:16px 16px 10px}.footer-span{display:block;font-size:12px}.language-icon{height:12px;width:12px;border-radius:50%;margin-top:2px}.info-item{font-weight:400;letter-spacing:normal}p{margin:0}.flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}\n"] }]
150
+ ], template: "<mat-card [ngStyle]=\"cardStyle()\">\n <mat-card-header>\n <div\n mat-card-avatar\n [ngStyle]=\"{\n 'background-image':\n 'url(' +\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\n ')',\n 'background-size': 'cover',\n 'border-radius': 0\n }\"\n ></div>\n <mat-card-title\n ><a\n mat-button\n [ngStyle]=\"buttonStyle()\"\n target=\"_blank\"\n href=\"{{ gitRepo().html_url || gitRepo().web_url }}\"\n >\n {{ gitRepo().name }}\n </a>\n </mat-card-title>\n <mat-card-subtitle class=\"flex-row\">\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n [ngStyle]=\"{\n 'background-color':\n gitRepo().language !== undefined\n ? githubLanguageColors[gitRepo().language!]\n : 'transparent'\n }\"\n class=\"language-icon flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().language }}</div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div octicon=\"star\" [color]=\"starColor()\" class=\"flex-gap-5\"></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\n </div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"repo-forked\"\n [color]=\"forkColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().forks_count }}</div>\n </div>\n @if (gitRepo().open_issues_count) {\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"issue-opened\"\n [color]=\"issueColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().open_issues_count }}\n </div>\n </div>\n }\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <p>{{ gitRepo().description }}</p>\n </mat-card-content>\n <mat-card-footer class=\"flex-row\">\n <span class=\"mat-footer-cell flex-fxflex flex-gap-12\">\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Created: {{ gitRepo().created_at | date }}</span\n >\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Updated:\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\n >\n </span>\n <span class=\"mat-footer-cell\">\n <button\n [ngStyle]=\"buttonStyle()\"\n mat-button\n [cdkCopyToClipboard]=\"\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\n \"\n (cdkCopyToClipboardCopied)=\"copiedToClipboard.emit(true)\"\n class=\"clipboard-button\"\n >\n <span class=\"mat-button-wrapper flex-row\">\n @if (isCopied()) {\n <div\n octicon=\"check\"\n [color]=\"checkColor()\"\n width=\"24\"\n class=\"flex-gap-5\"\n ></div>\n }\n <div\n octicon=\"paste\"\n [color]=\"pasteColor()\"\n width=\"24px\"\n class=\"flex-gap-5\"\n ></div>\n <span>Copy URL</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n", styles: [".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.clipboard-button{height:29px;line-height:24px!important;padding:0!important;margin-bottom:0}.clipboard-button span{font-size:20px}.mat-mdc-button{vertical-align:middle;line-height:36px;font-size:24px;margin:0 10px 0 0;padding:0 16px;text-align:center;text-decoration:none}@media screen and (max-width: 400px){.mat-mdc-button{font-size:20px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px}@media screen and (max-width: 519px){.mat-mdc-card{width:415px}}@media screen and (max-width: 430px){.mat-mdc-card{width:380px}}@media screen and (max-width: 400px){.mat-mdc-card{width:350px}}@media screen and (max-width: 390px){.mat-mdc-card{width:310px}}.mat-mdc-card-avatar{height:53px;width:53px;margin:0}.mat-mdc-card-title{margin-bottom:12px}.mat-mdc-card-subtitle{margin-top:-8px;margin-left:16px}.mat-mdc-card-header{flex-shrink:0;padding:0 0 16px}.mat-mdc-card-content{font-size:14px;height:34px;margin-bottom:16px;padding:0}.mat-mdc-card-content p{font-size:14px}.mat-mdc-card{padding:16px}.mat-mdc-card-footer{margin:0 -16px -10px;padding:16px 16px 10px}.footer-span{display:block;font-size:12px}.language-icon{height:12px;width:12px;border-radius:50%;margin-top:2px}.info-item{font-weight:400;letter-spacing:normal}p{margin:0}\n"] }]
151
151
  }] });
152
152
 
153
153
  /* eslint-disable no-shadow */
@@ -234,12 +234,12 @@ class GitPortfolioComponent {
234
234
  gitRepositories[gitProvider]?.[type]?.length > 0) ??
235
235
  false);
236
236
  }
237
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GitPortfolioComponent, deps: [{ token: GitProviderService }, { token: i2$1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Component }); }
238
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.3", type: GitPortfolioComponent, isStandalone: true, selector: "git-portfolio", inputs: { buttonStyle: { classPropertyName: "buttonStyle", publicName: "buttonStyle", isSignal: true, isRequired: false, transformFunction: null }, cardStyle: { classPropertyName: "cardStyle", publicName: "cardStyle", isSignal: true, isRequired: false, transformFunction: null }, textStyle: { classPropertyName: "textStyle", publicName: "textStyle", isSignal: true, isRequired: false, transformFunction: null }, checkColor: { classPropertyName: "checkColor", publicName: "checkColor", isSignal: true, isRequired: false, transformFunction: null }, forkColor: { classPropertyName: "forkColor", publicName: "forkColor", isSignal: true, isRequired: false, transformFunction: null }, issueColor: { classPropertyName: "issueColor", publicName: "issueColor", isSignal: true, isRequired: false, transformFunction: null }, pasteColor: { classPropertyName: "pasteColor", publicName: "pasteColor", isSignal: true, isRequired: false, transformFunction: null }, starColor: { classPropertyName: "starColor", publicName: "starColor", isSignal: true, isRequired: false, transformFunction: null }, gitProviderConfig: { classPropertyName: "gitProviderConfig", publicName: "gitProviderConfig", isSignal: true, isRequired: false, transformFunction: null }, showForked: { classPropertyName: "showForked", publicName: "showForked", isSignal: true, isRequired: false, transformFunction: null }, showOwn: { classPropertyName: "showOwn", publicName: "showOwn", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (gitRepositories$ | async; as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Own Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n >\n </repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not created any repositories yet\n </div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Forked Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n ></repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not forked any repositories yet\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n", styles: [".repository-card{max-width:450px;margin:0 32px 32px 0}.mat-headline{font-weight:400;line-height:32px;margin-bottom:16px}.flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "pipe", type: i3$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.KeyValuePipe, name: "keyvalue" }, { kind: "ngmodule", type: LayoutModule }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i4.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: RepoCardComponent, selector: "repo-card", inputs: ["buttonStyle", "cardStyle", "textStyle", "checkColor", "forkColor", "issueColor", "pasteColor", "starColor", "gitRepo", "isCopied"], outputs: ["copiedToClipboard"] }] }); }
237
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: GitPortfolioComponent, deps: [{ token: GitProviderService }, { token: i2$1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Component }); }
238
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.6", type: GitPortfolioComponent, isStandalone: true, selector: "git-portfolio", inputs: { buttonStyle: { classPropertyName: "buttonStyle", publicName: "buttonStyle", isSignal: true, isRequired: false, transformFunction: null }, cardStyle: { classPropertyName: "cardStyle", publicName: "cardStyle", isSignal: true, isRequired: false, transformFunction: null }, textStyle: { classPropertyName: "textStyle", publicName: "textStyle", isSignal: true, isRequired: false, transformFunction: null }, checkColor: { classPropertyName: "checkColor", publicName: "checkColor", isSignal: true, isRequired: false, transformFunction: null }, forkColor: { classPropertyName: "forkColor", publicName: "forkColor", isSignal: true, isRequired: false, transformFunction: null }, issueColor: { classPropertyName: "issueColor", publicName: "issueColor", isSignal: true, isRequired: false, transformFunction: null }, pasteColor: { classPropertyName: "pasteColor", publicName: "pasteColor", isSignal: true, isRequired: false, transformFunction: null }, starColor: { classPropertyName: "starColor", publicName: "starColor", isSignal: true, isRequired: false, transformFunction: null }, gitProviderConfig: { classPropertyName: "gitProviderConfig", publicName: "gitProviderConfig", isSignal: true, isRequired: false, transformFunction: null }, showForked: { classPropertyName: "showForked", publicName: "showForked", isSignal: true, isRequired: false, transformFunction: null }, showOwn: { classPropertyName: "showOwn", publicName: "showOwn", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (gitRepositories$ | async; as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Own Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n >\n </repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not created any repositories yet\n </div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Forked Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n ></repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not forked any repositories yet\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n", styles: [".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.repository-card{max-width:450px;margin:0 32px 32px 0}.mat-headline{font-weight:400;line-height:32px;margin-bottom:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "pipe", type: i3$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.KeyValuePipe, name: "keyvalue" }, { kind: "ngmodule", type: LayoutModule }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i4.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: RepoCardComponent, selector: "repo-card", inputs: ["buttonStyle", "cardStyle", "textStyle", "checkColor", "forkColor", "issueColor", "pasteColor", "starColor", "gitRepo", "isCopied"], outputs: ["copiedToClipboard"] }] }); }
239
239
  }
240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GitPortfolioComponent, decorators: [{
240
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: GitPortfolioComponent, decorators: [{
241
241
  type: Component,
242
- args: [{ selector: 'git-portfolio', standalone: true, imports: [
242
+ args: [{ selector: 'git-portfolio', imports: [
243
243
  CommonModule,
244
244
  LayoutModule,
245
245
  NgStyle,
@@ -247,7 +247,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImpor
247
247
  RepoCardComponent,
248
248
  AsyncPipe,
249
249
  KeyValuePipe
250
- ], template: "@if (gitRepositories$ | async; as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Own Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n >\n </repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not created any repositories yet\n </div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Forked Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n ></repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not forked any repositories yet\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n", styles: [".repository-card{max-width:450px;margin:0 32px 32px 0}.mat-headline{font-weight:400;line-height:32px;margin-bottom:16px}.flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}\n"] }]
250
+ ], template: "@if (gitRepositories$ | async; as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Own Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n >\n </repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not created any repositories yet\n </div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Forked Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n ></repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not forked any repositories yet\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n", styles: [".flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}.repository-card{max-width:450px;margin:0 32px 32px 0}.mat-headline{font-weight:400;line-height:32px;margin-bottom:16px}\n"] }]
251
251
  }], ctorParameters: () => [{ type: GitProviderService }, { type: i2$1.BreakpointObserver }] });
252
252
 
253
253
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"tehw0lf-git-portfolio.mjs","sources":["../../../../libs/git-portfolio/src/lib/git-provider.service.ts","../../../../libs/git-portfolio/src/lib/octicon.directive.ts","../../../../libs/git-portfolio/src/lib/repo-card/repo-card.component.ts","../../../../libs/git-portfolio/src/lib/repo-card/repo-card.component.html","../../../../libs/git-portfolio/src/lib/types/git-providers-type.ts","../../../../libs/git-portfolio/src/lib/git-portfolio.component.ts","../../../../libs/git-portfolio/src/lib/git-portfolio.component.html","../../../../libs/git-portfolio/src/tehw0lf-git-portfolio.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable, of, zip } from 'rxjs';\nimport { map, tap } from 'rxjs/operators';\n\nimport { GitProviderConfig } from './types/git-provider-config-type';\nimport { GitRepositories } from './types/git-repositories-type';\nimport { GitRepository } from './types/git-repository-type';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class GitProviderService {\n private loadingStateSubject = new BehaviorSubject<boolean>(true);\n private repositorySubject = new BehaviorSubject<GitRepositories>({});\n\n constructor(private http: HttpClient) {}\n\n get loading(): Observable<boolean> {\n return this.loadingStateSubject.asObservable();\n }\n\n getRepositories(\n gitProviderUserNames?: GitProviderConfig\n ): Observable<GitRepositories> {\n if (\n this.repositorySubject.value.github === undefined &&\n this.repositorySubject.value.gitlab === undefined\n ) {\n this.fetchRepositories(gitProviderUserNames)\n .pipe(\n tap((repositories: GitRepositories) => {\n this.repositorySubject.next(repositories);\n this.loadingStateSubject.next(false);\n })\n )\n .subscribe();\n }\n return this.repositorySubject.asObservable();\n }\n\n fetchRepositories(\n gitProviderUserNames?: GitProviderConfig\n ): Observable<GitRepositories> {\n return zip(\n this.fetchGithubRepositories(gitProviderUserNames?.github ?? ''),\n this.fetchGitlabRepositories(gitProviderUserNames?.gitlab ?? '')\n ).pipe(\n map((gitRepositoryMap: GitRepository[][]) => {\n const repositories: GitRepositories = {\n github: this.filterAndSortGitRepositories(gitRepositoryMap[0]),\n gitlab: this.filterAndSortGitRepositories(gitRepositoryMap[1])\n };\n return repositories;\n })\n );\n }\n\n private filterAndSortGitRepositories(gitRepositoryArray: GitRepository[]): {\n own: GitRepository[];\n forked: GitRepository[];\n } {\n return {\n own: gitRepositoryArray\n .filter((gitRepository: GitRepository) => !gitRepository.fork)\n .sort(\n (repoA: GitRepository, repoB: GitRepository) =>\n (repoB.stargazers_count ?? 0) - (repoA.stargazers_count ?? 0)\n ),\n forked: gitRepositoryArray\n .filter((gitRepository: GitRepository) => gitRepository.fork)\n .sort(\n (repoA: GitRepository, repoB: GitRepository) =>\n (repoB.stargazers_count ?? 0) - (repoA.stargazers_count ?? 0)\n )\n };\n }\n\n private fetchGithubRepositories(\n githubUser: string\n ): Observable<GitRepository[]> {\n if (githubUser !== '') {\n return this.http.get<GitRepository[]>(\n `https://api.github.com/users/${githubUser}/repos`\n );\n }\n return of([]);\n }\n\n private fetchGitlabRepositories(\n gitlabUser: string\n ): Observable<GitRepository[]> {\n if (gitlabUser !== '') {\n return this.http.get<GitRepository[]>(\n `https://gitlab.com/api/v4/users/${gitlabUser}/projects`\n );\n }\n return of([]);\n }\n}\n","import { Directive, ElementRef, input, OnInit, Renderer2 } from '@angular/core';\nimport octicons, { IconName } from '@primer/octicons';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: '[octicon]',\n standalone: true\n})\nexport class OcticonDirective implements OnInit {\n octicon = input.required<string>();\n color = input.required<string>();\n width = input<string>();\n\n constructor(\n private elementRef: ElementRef,\n private renderer: Renderer2\n ) {}\n\n ngOnInit(): void {\n const el: HTMLElement = this.elementRef.nativeElement;\n if (this.octicon()) {\n if (octicons[this.octicon()! as IconName] !== undefined) {\n el.innerHTML = octicons[this.octicon()! as IconName].toSVG();\n\n const icon: Node | null = el.firstChild;\n\n if (this.color() && icon) {\n this.renderer.setStyle(icon, 'fill', this.color());\n }\n if (this.width() && icon) {\n this.renderer.setStyle(icon, 'width', this.width());\n this.renderer.setStyle(icon, 'height', this.width());\n }\n } else {\n el.innerHTML = octicons['alert'].toSVG();\n this.renderer.setStyle(el.firstChild, 'fill', 'red');\n }\n }\n }\n}\n","import { ClipboardModule } from '@angular/cdk/clipboard';\nimport { DatePipe, NgStyle } from '@angular/common';\nimport { Component, input, output } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCardModule } from '@angular/material/card';\nimport * as githubLanguageColors from 'github-language-colors/colors.json';\n\nimport { OcticonDirective } from '../octicon.directive';\nimport { GitRepository } from '../types/git-repository-type';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\ninterface Dictionary {\n [id: string]: string;\n}\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'repo-card',\n templateUrl: './repo-card.component.html',\n styleUrls: ['./repo-card.component.scss'],\n standalone: true,\n imports: [\n MatCardModule,\n NgStyle,\n MatButtonModule,\n OcticonDirective,\n ClipboardModule,\n DatePipe\n ]\n})\nexport class RepoCardComponent {\n buttonStyle = input.required<any>();\n cardStyle = input.required<any>();\n textStyle = input.required<any>();\n checkColor = input.required<string>();\n forkColor = input.required<string>();\n issueColor = input.required<string>();\n pasteColor = input.required<string>();\n starColor = input.required<string>();\n\n gitRepo = input.required<GitRepository>();\n\n isCopied = input(false);\n\n copiedToClipboard = output<boolean>();\n\n githubLanguageColors = githubLanguageColors as Dictionary;\n}\n","<mat-card [ngStyle]=\"cardStyle()\">\n <mat-card-header>\n <div\n mat-card-avatar\n [ngStyle]=\"{\n 'background-image':\n 'url(' +\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\n ')',\n 'background-size': 'cover',\n 'border-radius': 0\n }\"\n ></div>\n <mat-card-title\n ><a\n mat-button\n [ngStyle]=\"buttonStyle()\"\n target=\"_blank\"\n href=\"{{ gitRepo().html_url || gitRepo().web_url }}\"\n >\n {{ gitRepo().name }}\n </a>\n </mat-card-title>\n <mat-card-subtitle class=\"flex-row\">\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n [ngStyle]=\"{\n 'background-color':\n gitRepo().language !== undefined\n ? githubLanguageColors[gitRepo().language!]\n : 'transparent'\n }\"\n class=\"language-icon flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().language }}</div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div octicon=\"star\" [color]=\"starColor()\" class=\"flex-gap-5\"></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\n </div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"repo-forked\"\n [color]=\"forkColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().forks_count }}</div>\n </div>\n @if (gitRepo().open_issues_count) {\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"issue-opened\"\n [color]=\"issueColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().open_issues_count }}\n </div>\n </div>\n }\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <p>{{ gitRepo().description }}</p>\n </mat-card-content>\n <mat-card-footer class=\"flex-row\">\n <span class=\"mat-footer-cell flex-fxflex flex-gap-12\">\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Created: {{ gitRepo().created_at | date }}</span\n >\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Updated:\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\n >\n </span>\n <span class=\"mat-footer-cell\">\n <button\n [ngStyle]=\"buttonStyle()\"\n mat-button\n [cdkCopyToClipboard]=\"\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\n \"\n (cdkCopyToClipboardCopied)=\"copiedToClipboard.emit(true)\"\n class=\"clipboard-button\"\n >\n <span class=\"mat-button-wrapper flex-row\">\n @if (isCopied()) {\n <div\n octicon=\"check\"\n [color]=\"checkColor()\"\n width=\"24\"\n class=\"flex-gap-5\"\n ></div>\n }\n <div\n octicon=\"paste\"\n [color]=\"pasteColor()\"\n width=\"24px\"\n class=\"flex-gap-5\"\n ></div>\n <span>Copy URL</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n","/* eslint-disable no-shadow */\nexport enum GitProviders {\n github = 'GitHub',\n gitlab = 'GitLab'\n}\n","import {\n BreakpointObserver,\n BreakpointState,\n LayoutModule\n} from '@angular/cdk/layout';\nimport {\n AsyncPipe,\n CommonModule,\n KeyValuePipe,\n NgStyle\n} from '@angular/common';\nimport { Component, input, OnDestroy, OnInit } from '@angular/core';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { Observable, Subject } from 'rxjs';\nimport { takeUntil, tap } from 'rxjs/operators';\n\nimport { GitProviderService } from './git-provider.service';\nimport { RepoCardComponent } from './repo-card/repo-card.component';\nimport { GitProviderConfig } from './types/git-provider-config-type';\nimport { GitProviders } from './types/git-providers-type';\nimport { GitRepositories } from './types/git-repositories-type';\nimport { GitRepository } from './types/git-repository-type';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'git-portfolio',\n templateUrl: './git-portfolio.component.html',\n styleUrls: ['./git-portfolio.component.scss'],\n standalone: true,\n imports: [\n CommonModule,\n LayoutModule,\n NgStyle,\n MatProgressSpinnerModule,\n RepoCardComponent,\n AsyncPipe,\n KeyValuePipe\n ]\n})\nexport class GitPortfolioComponent implements OnInit, OnDestroy {\n buttonStyle = input({ 'background-color': '#424242', color: '#cc7832' });\n\n cardStyle = input({\n color: '#437da8',\n 'background-color': 'rgba(34, 34, 34, 0.75)',\n 'backdrop-filter': 'blur(50px)'\n });\n\n textStyle = input({ color: '#437da8' });\n\n checkColor = input('#38e038');\n\n forkColor = input('#437da8');\n\n issueColor = input('rgb(56, 224, 56)');\n\n pasteColor = input('#cc7832');\n\n starColor = input('gold');\n\n gitProviderConfig = input<GitProviderConfig>({});\n\n showForked = input(true);\n\n showOwn = input(true);\n\n loading: Observable<boolean>;\n gitProviders = GitProviders;\n currentRepo: GitRepository | undefined;\n gitRepositories$: Observable<GitRepositories> | undefined;\n viewport = '';\n\n private unsubscribe$ = new Subject<void>();\n\n constructor(\n private gitProviderService: GitProviderService,\n private breakpointObserver: BreakpointObserver\n ) {\n this.loading = this.gitProviderService.loading;\n\n this.breakpointObserver\n .observe([\n '(max-width: 599.98px)',\n '(max-width: 959.98px)',\n '(min-width: 960px)'\n ])\n .pipe(\n tap((breakpointState: BreakpointState) => {\n if (breakpointState.breakpoints['(max-width: 599.98px)']) {\n this.viewport = 'xsmall';\n } else if (breakpointState.breakpoints['(max-width: 959.98px)']) {\n this.viewport = 'small';\n } else {\n this.viewport = 'medium';\n }\n }),\n takeUntil(this.unsubscribe$)\n )\n .subscribe();\n }\n\n ngOnInit(): void {\n this.getRepositories();\n }\n\n ngOnDestroy(): void {\n this.unsubscribe$.next();\n this.unsubscribe$.complete();\n }\n\n copyToClipboard(gitRepo: GitRepository): void {\n this.currentRepo = gitRepo;\n }\n\n isCopiedToClipboard(gitRepo: GitRepository): boolean {\n if (!this.currentRepo) {\n return false;\n }\n return this.currentRepo.id === gitRepo.id ? true : false;\n }\n\n getRepositories(): void {\n this.gitRepositories$ = this.gitProviderService\n .getRepositories(this.gitProviderConfig())\n .pipe(takeUntil(this.unsubscribe$));\n }\n\n getGitRepositoriesOfType(\n gitRepositories: GitRepositories,\n gitProvider: string,\n type: 'own' | 'forked'\n ): GitRepository[] {\n return gitRepositories[gitProvider]?.[type] ?? [];\n }\n\n hasAnyRepositories(\n gitRepositories: GitRepositories,\n gitProvider: string\n ): boolean {\n return (\n (gitRepositories[gitProvider] &&\n gitRepositories[gitProvider].own?.length > 0 &&\n gitRepositories[gitProvider].forked?.length > 0) ??\n false\n );\n }\n\n hasRepositoriesOfType(\n gitRepositories: GitRepositories,\n gitProvider: string,\n type: 'own' | 'forked'\n ): boolean {\n return (\n (gitRepositories[gitProvider] &&\n gitRepositories[gitProvider]?.[type]?.length > 0) ??\n false\n );\n }\n}\n","@if (gitRepositories$ | async; as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Own Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n >\n </repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not created any repositories yet\n </div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Forked Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n ></repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not forked any repositories yet\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i1.GitProviderService","i2"],"mappings":";;;;;;;;;;;;;;;;;;;;MAYa,kBAAkB,CAAA;AAI7B,IAAA,WAAA,CAAoB,IAAgB,EAAA;QAAhB,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAY;AAH5B,QAAA,IAAA,CAAA,mBAAmB,GAAG,IAAI,eAAe,CAAU,IAAI,CAAC,CAAC;AACzD,QAAA,IAAA,CAAA,iBAAiB,GAAG,IAAI,eAAe,CAAkB,EAAE,CAAC,CAAC;KAE7B;AAExC,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,mBAAmB,CAAC,YAAY,EAAE,CAAC;KAChD;AAED,IAAA,eAAe,CACb,oBAAwC,EAAA;QAExC,IACE,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,MAAM,KAAK,SAAS;YACjD,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,MAAM,KAAK,SAAS,EACjD;AACA,YAAA,IAAI,CAAC,iBAAiB,CAAC,oBAAoB,CAAC;AACzC,iBAAA,IAAI,CACH,GAAG,CAAC,CAAC,YAA6B,KAAI;AACpC,gBAAA,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;AAC1C,gBAAA,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACvC,aAAC,CAAC,CACH;AACA,iBAAA,SAAS,EAAE,CAAC;SACh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AA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,MAAA,EAAA,OAAA,EAAA,UAAA,EAAA,aAAA,CAAA,EAAA,QAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACxB,iBAAiB,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,WAAA,EAAA,WAAA,EAAA,YAAA,EAAA,WAAA,EAAA,YAAA,EAAA,YAAA,EAAA,WAAA,EAAA,SAAA,EAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAKR,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAhBjC,SAAS;+BAEE,eAAe,EAAA,UAAA,EAGb,IAAI,EACP,OAAA,EAAA;wBACP,YAAY;wBACZ,YAAY;wBACZ,OAAO;wBACP,wBAAwB;wBACxB,iBAAiB;wBACjB,SAAS;wBACT,YAAY;AACb,qBAAA,EAAA,QAAA,EAAA,o4JAAA,EAAA,MAAA,EAAA,CAAA,2vBAAA,CAAA,EAAA,CAAA;;;AErCH;;AAEG;;;;"}
1
+ {"version":3,"file":"tehw0lf-git-portfolio.mjs","sources":["../../../../libs/git-portfolio/src/lib/git-provider.service.ts","../../../../libs/git-portfolio/src/lib/octicon.directive.ts","../../../../libs/git-portfolio/src/lib/repo-card/repo-card.component.ts","../../../../libs/git-portfolio/src/lib/repo-card/repo-card.component.html","../../../../libs/git-portfolio/src/lib/types/git-providers-type.ts","../../../../libs/git-portfolio/src/lib/git-portfolio.component.ts","../../../../libs/git-portfolio/src/lib/git-portfolio.component.html","../../../../libs/git-portfolio/src/tehw0lf-git-portfolio.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable, of, zip } from 'rxjs';\nimport { map, tap } from 'rxjs/operators';\n\nimport { GitProviderConfig } from './types/git-provider-config-type';\nimport { GitRepositories } from './types/git-repositories-type';\nimport { GitRepository } from './types/git-repository-type';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class GitProviderService {\n private loadingStateSubject = new BehaviorSubject<boolean>(true);\n private repositorySubject = new BehaviorSubject<GitRepositories>({});\n\n constructor(private http: HttpClient) {}\n\n get loading(): Observable<boolean> {\n return this.loadingStateSubject.asObservable();\n }\n\n getRepositories(\n gitProviderUserNames?: GitProviderConfig\n ): Observable<GitRepositories> {\n if (\n this.repositorySubject.value.github === undefined &&\n this.repositorySubject.value.gitlab === undefined\n ) {\n this.fetchRepositories(gitProviderUserNames)\n .pipe(\n tap((repositories: GitRepositories) => {\n this.repositorySubject.next(repositories);\n this.loadingStateSubject.next(false);\n })\n )\n .subscribe();\n }\n return this.repositorySubject.asObservable();\n }\n\n fetchRepositories(\n gitProviderUserNames?: GitProviderConfig\n ): Observable<GitRepositories> {\n return zip(\n this.fetchGithubRepositories(gitProviderUserNames?.github ?? ''),\n this.fetchGitlabRepositories(gitProviderUserNames?.gitlab ?? '')\n ).pipe(\n map((gitRepositoryMap: GitRepository[][]) => {\n const repositories: GitRepositories = {\n github: this.filterAndSortGitRepositories(gitRepositoryMap[0]),\n gitlab: this.filterAndSortGitRepositories(gitRepositoryMap[1])\n };\n return repositories;\n })\n );\n }\n\n private filterAndSortGitRepositories(gitRepositoryArray: GitRepository[]): {\n own: GitRepository[];\n forked: GitRepository[];\n } {\n return {\n own: gitRepositoryArray\n .filter((gitRepository: GitRepository) => !gitRepository.fork)\n .sort(\n (repoA: GitRepository, repoB: GitRepository) =>\n (repoB.stargazers_count ?? 0) - (repoA.stargazers_count ?? 0)\n ),\n forked: gitRepositoryArray\n .filter((gitRepository: GitRepository) => gitRepository.fork)\n .sort(\n (repoA: GitRepository, repoB: GitRepository) =>\n (repoB.stargazers_count ?? 0) - (repoA.stargazers_count ?? 0)\n )\n };\n }\n\n private fetchGithubRepositories(\n githubUser: string\n ): Observable<GitRepository[]> {\n if (githubUser !== '') {\n return this.http.get<GitRepository[]>(\n `https://api.github.com/users/${githubUser}/repos`\n );\n }\n return of([]);\n }\n\n private fetchGitlabRepositories(\n gitlabUser: string\n ): Observable<GitRepository[]> {\n if (gitlabUser !== '') {\n return this.http.get<GitRepository[]>(\n `https://gitlab.com/api/v4/users/${gitlabUser}/projects`\n );\n }\n return of([]);\n }\n}\n","import { Directive, ElementRef, input, OnInit, Renderer2 } from '@angular/core';\nimport octicons, { IconName } from '@primer/octicons';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: '[octicon]',\n standalone: true\n})\nexport class OcticonDirective implements OnInit {\n octicon = input.required<string>();\n color = input.required<string>();\n width = input<string>();\n\n constructor(\n private elementRef: ElementRef,\n private renderer: Renderer2\n ) {}\n\n ngOnInit(): void {\n const el: HTMLElement = this.elementRef.nativeElement;\n if (this.octicon()) {\n if (octicons[this.octicon()! as IconName] !== undefined) {\n el.innerHTML = octicons[this.octicon()! as IconName].toSVG();\n\n const icon: Node | null = el.firstChild;\n\n if (this.color() && icon) {\n this.renderer.setStyle(icon, 'fill', this.color());\n }\n if (this.width() && icon) {\n this.renderer.setStyle(icon, 'width', this.width());\n this.renderer.setStyle(icon, 'height', this.width());\n }\n } else {\n el.innerHTML = octicons['alert'].toSVG();\n this.renderer.setStyle(el.firstChild, 'fill', 'red');\n }\n }\n }\n}\n","import { ClipboardModule } from '@angular/cdk/clipboard';\nimport { DatePipe, NgStyle } from '@angular/common';\nimport { Component, input, output } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCardModule } from '@angular/material/card';\nimport * as githubLanguageColors from 'github-language-colors/colors.json';\n\nimport { OcticonDirective } from '../octicon.directive';\nimport { GitRepository } from '../types/git-repository-type';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\ninterface Dictionary {\n [id: string]: string;\n}\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'repo-card',\n templateUrl: './repo-card.component.html',\n styleUrls: ['./repo-card.component.scss'],\n imports: [\n MatCardModule,\n NgStyle,\n MatButtonModule,\n OcticonDirective,\n ClipboardModule,\n DatePipe\n ]\n})\nexport class RepoCardComponent {\n buttonStyle = input.required<any>();\n cardStyle = input.required<any>();\n textStyle = input.required<any>();\n checkColor = input.required<string>();\n forkColor = input.required<string>();\n issueColor = input.required<string>();\n pasteColor = input.required<string>();\n starColor = input.required<string>();\n\n gitRepo = input.required<GitRepository>();\n\n isCopied = input(false);\n\n copiedToClipboard = output<boolean>();\n\n githubLanguageColors = githubLanguageColors as Dictionary;\n}\n","<mat-card [ngStyle]=\"cardStyle()\">\n <mat-card-header>\n <div\n mat-card-avatar\n [ngStyle]=\"{\n 'background-image':\n 'url(' +\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\n ')',\n 'background-size': 'cover',\n 'border-radius': 0\n }\"\n ></div>\n <mat-card-title\n ><a\n mat-button\n [ngStyle]=\"buttonStyle()\"\n target=\"_blank\"\n href=\"{{ gitRepo().html_url || gitRepo().web_url }}\"\n >\n {{ gitRepo().name }}\n </a>\n </mat-card-title>\n <mat-card-subtitle class=\"flex-row\">\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n [ngStyle]=\"{\n 'background-color':\n gitRepo().language !== undefined\n ? githubLanguageColors[gitRepo().language!]\n : 'transparent'\n }\"\n class=\"language-icon flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().language }}</div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div octicon=\"star\" [color]=\"starColor()\" class=\"flex-gap-5\"></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\n </div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"repo-forked\"\n [color]=\"forkColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().forks_count }}</div>\n </div>\n @if (gitRepo().open_issues_count) {\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"issue-opened\"\n [color]=\"issueColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().open_issues_count }}\n </div>\n </div>\n }\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <p>{{ gitRepo().description }}</p>\n </mat-card-content>\n <mat-card-footer class=\"flex-row\">\n <span class=\"mat-footer-cell flex-fxflex flex-gap-12\">\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Created: {{ gitRepo().created_at | date }}</span\n >\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Updated:\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\n >\n </span>\n <span class=\"mat-footer-cell\">\n <button\n [ngStyle]=\"buttonStyle()\"\n mat-button\n [cdkCopyToClipboard]=\"\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\n \"\n (cdkCopyToClipboardCopied)=\"copiedToClipboard.emit(true)\"\n class=\"clipboard-button\"\n >\n <span class=\"mat-button-wrapper flex-row\">\n @if (isCopied()) {\n <div\n octicon=\"check\"\n [color]=\"checkColor()\"\n width=\"24\"\n class=\"flex-gap-5\"\n ></div>\n }\n <div\n octicon=\"paste\"\n [color]=\"pasteColor()\"\n width=\"24px\"\n class=\"flex-gap-5\"\n ></div>\n <span>Copy URL</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n","/* eslint-disable no-shadow */\nexport enum GitProviders {\n github = 'GitHub',\n gitlab = 'GitLab'\n}\n","import {\n BreakpointObserver,\n BreakpointState,\n LayoutModule\n} from '@angular/cdk/layout';\nimport {\n AsyncPipe,\n CommonModule,\n KeyValuePipe,\n NgStyle\n} from '@angular/common';\nimport { Component, input, OnDestroy, OnInit } from '@angular/core';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { Observable, Subject } from 'rxjs';\nimport { takeUntil, tap } from 'rxjs/operators';\n\nimport { GitProviderService } from './git-provider.service';\nimport { RepoCardComponent } from './repo-card/repo-card.component';\nimport { GitProviderConfig } from './types/git-provider-config-type';\nimport { GitProviders } from './types/git-providers-type';\nimport { GitRepositories } from './types/git-repositories-type';\nimport { GitRepository } from './types/git-repository-type';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'git-portfolio',\n templateUrl: './git-portfolio.component.html',\n styleUrls: ['./git-portfolio.component.scss'],\n imports: [\n CommonModule,\n LayoutModule,\n NgStyle,\n MatProgressSpinnerModule,\n RepoCardComponent,\n AsyncPipe,\n KeyValuePipe\n ]\n})\nexport class GitPortfolioComponent implements OnInit, OnDestroy {\n buttonStyle = input({ 'background-color': '#424242', color: '#cc7832' });\n\n cardStyle = input({\n color: '#437da8',\n 'background-color': 'rgba(34, 34, 34, 0.75)',\n 'backdrop-filter': 'blur(50px)'\n });\n\n textStyle = input({ color: '#437da8' });\n\n checkColor = input('#38e038');\n\n forkColor = input('#437da8');\n\n issueColor = input('rgb(56, 224, 56)');\n\n pasteColor = input('#cc7832');\n\n starColor = input('gold');\n\n gitProviderConfig = input<GitProviderConfig>({});\n\n showForked = input(true);\n\n showOwn = input(true);\n\n loading: Observable<boolean>;\n gitProviders = GitProviders;\n currentRepo: GitRepository | undefined;\n gitRepositories$: Observable<GitRepositories> | undefined;\n viewport = '';\n\n private unsubscribe$ = new Subject<void>();\n\n constructor(\n private gitProviderService: GitProviderService,\n private breakpointObserver: BreakpointObserver\n ) {\n this.loading = this.gitProviderService.loading;\n\n this.breakpointObserver\n .observe([\n '(max-width: 599.98px)',\n '(max-width: 959.98px)',\n '(min-width: 960px)'\n ])\n .pipe(\n tap((breakpointState: BreakpointState) => {\n if (breakpointState.breakpoints['(max-width: 599.98px)']) {\n this.viewport = 'xsmall';\n } else if (breakpointState.breakpoints['(max-width: 959.98px)']) {\n this.viewport = 'small';\n } else {\n this.viewport = 'medium';\n }\n }),\n takeUntil(this.unsubscribe$)\n )\n .subscribe();\n }\n\n ngOnInit(): void {\n this.getRepositories();\n }\n\n ngOnDestroy(): void {\n this.unsubscribe$.next();\n this.unsubscribe$.complete();\n }\n\n copyToClipboard(gitRepo: GitRepository): void {\n this.currentRepo = gitRepo;\n }\n\n isCopiedToClipboard(gitRepo: GitRepository): boolean {\n if (!this.currentRepo) {\n return false;\n }\n return this.currentRepo.id === gitRepo.id ? true : false;\n }\n\n getRepositories(): void {\n this.gitRepositories$ = this.gitProviderService\n .getRepositories(this.gitProviderConfig())\n .pipe(takeUntil(this.unsubscribe$));\n }\n\n getGitRepositoriesOfType(\n gitRepositories: GitRepositories,\n gitProvider: string,\n type: 'own' | 'forked'\n ): GitRepository[] {\n return gitRepositories[gitProvider]?.[type] ?? [];\n }\n\n hasAnyRepositories(\n gitRepositories: GitRepositories,\n gitProvider: string\n ): boolean {\n return (\n (gitRepositories[gitProvider] &&\n gitRepositories[gitProvider].own?.length > 0 &&\n gitRepositories[gitProvider].forked?.length > 0) ??\n false\n );\n }\n\n hasRepositoriesOfType(\n gitRepositories: GitRepositories,\n gitProvider: string,\n type: 'own' | 'forked'\n ): boolean {\n return (\n (gitRepositories[gitProvider] &&\n gitRepositories[gitProvider]?.[type]?.length > 0) ??\n false\n );\n }\n}\n","@if (gitRepositories$ | async; as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Own Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n >\n </repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not created any repositories yet\n </div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Forked Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n ></repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not forked any repositories yet\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i1.GitProviderService","i2"],"mappings":";;;;;;;;;;;;;;;;;;;;MAYa,kBAAkB,CAAA;AAI7B,IAAA,WAAA,CAAoB,IAAgB,EAAA;QAAhB,IAAI,CAAA,IAAA,GAAJ,IAAI;AAHhB,QAAA,IAAA,CAAA,mBAAmB,GAAG,IAAI,eAAe,CAAU,IAAI,CAAC;AACxD,QAAA,IAAA,CAAA,iBAAiB,GAAG,IAAI,eAAe,CAAkB,EAAE,CAAC;;AAIpE,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,mBAAmB,CAAC,YAAY,EAAE;;AAGhD,IAAA,eAAe,CACb,oBAAwC,EAAA;QAExC,IACE,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,MAAM,KAAK,SAAS;YACjD,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,MAAM,KAAK,SAAS,EACjD;AACA,YAAA,IAAI,CAAC,iBAAiB,CAAC,oBAAoB;AACxC,iBAAA,IAAI,CACH,GAAG,CAAC,CAAC,YAA6B,KAAI;AACpC,gBAAA,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,YAAY,CAAC;AACzC,gBAAA,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC;AACtC,aAAC,CAAC;AAEH,iBAAA,SAAS,EAAE;;AAEhB,QAAA,OAAO,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE;;AAG9C,I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AEG;;;;"}
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@tehw0lf/git-portfolio",
3
- "version": "0.18.7",
3
+ "version": "0.19.0",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/tehw0lf/tehwolf.de.git",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/tehw0lf/tehwolf.de.git"
8
+ "url": "git+https://github.com/tehw0lf/tehwolf.de.git"
9
9
  },
10
10
  "peerDependencies": {
11
- "@angular/animations": "18.2.3",
12
- "@angular/cdk": "18.2.3",
13
- "@angular/common": "18.2.3",
14
- "@angular/core": "18.2.3",
15
- "@angular/material": "18.2.3",
16
- "@primer/octicons": "^19.11.0",
11
+ "@angular/animations": "19.1.6",
12
+ "@angular/cdk": "19.1.4",
13
+ "@angular/common": "19.1.6",
14
+ "@angular/core": "19.1.6",
15
+ "@angular/material": "19.1.4",
16
+ "@primer/octicons": "^19.15.0",
17
17
  "@tehw0lf/mvc": "^0.0.2",
18
18
  "github-language-colors": "^1.0.0"
19
19
  },
@@ -28,8 +28,6 @@
28
28
  },
29
29
  ".": {
30
30
  "types": "./index.d.ts",
31
- "esm2022": "./esm2022/tehw0lf-git-portfolio.mjs",
32
- "esm": "./esm2022/tehw0lf-git-portfolio.mjs",
33
31
  "default": "./fesm2022/tehw0lf-git-portfolio.mjs"
34
32
  }
35
33
  },
package/esm2022/index.mjs DELETED
@@ -1,4 +0,0 @@
1
- export * from './lib/git-portfolio.component';
2
- export * from './lib/octicon.directive';
3
- export * from './lib/types/git-provider-config-type';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2dpdC1wb3J0Zm9saW8vc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsK0JBQStCLENBQUM7QUFDOUMsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLHNDQUFzQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvZ2l0LXBvcnRmb2xpby5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvb2N0aWNvbi5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvdHlwZXMvZ2l0LXByb3ZpZGVyLWNvbmZpZy10eXBlJztcbiJdfQ==
@@ -1,107 +0,0 @@
1
- import { BreakpointObserver, LayoutModule } from '@angular/cdk/layout';
2
- import { AsyncPipe, CommonModule, KeyValuePipe, NgStyle } from '@angular/common';
3
- import { Component, input } from '@angular/core';
4
- import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
5
- import { Subject } from 'rxjs';
6
- import { takeUntil, tap } from 'rxjs/operators';
7
- import { GitProviderService } from './git-provider.service';
8
- import { RepoCardComponent } from './repo-card/repo-card.component';
9
- import { GitProviders } from './types/git-providers-type';
10
- import * as i0 from "@angular/core";
11
- import * as i1 from "./git-provider.service";
12
- import * as i2 from "@angular/cdk/layout";
13
- import * as i3 from "@angular/common";
14
- import * as i4 from "@angular/material/progress-spinner";
15
- export class GitPortfolioComponent {
16
- constructor(gitProviderService, breakpointObserver) {
17
- this.gitProviderService = gitProviderService;
18
- this.breakpointObserver = breakpointObserver;
19
- this.buttonStyle = input({ 'background-color': '#424242', color: '#cc7832' });
20
- this.cardStyle = input({
21
- color: '#437da8',
22
- 'background-color': 'rgba(34, 34, 34, 0.75)',
23
- 'backdrop-filter': 'blur(50px)'
24
- });
25
- this.textStyle = input({ color: '#437da8' });
26
- this.checkColor = input('#38e038');
27
- this.forkColor = input('#437da8');
28
- this.issueColor = input('rgb(56, 224, 56)');
29
- this.pasteColor = input('#cc7832');
30
- this.starColor = input('gold');
31
- this.gitProviderConfig = input({});
32
- this.showForked = input(true);
33
- this.showOwn = input(true);
34
- this.gitProviders = GitProviders;
35
- this.viewport = '';
36
- this.unsubscribe$ = new Subject();
37
- this.loading = this.gitProviderService.loading;
38
- this.breakpointObserver
39
- .observe([
40
- '(max-width: 599.98px)',
41
- '(max-width: 959.98px)',
42
- '(min-width: 960px)'
43
- ])
44
- .pipe(tap((breakpointState) => {
45
- if (breakpointState.breakpoints['(max-width: 599.98px)']) {
46
- this.viewport = 'xsmall';
47
- }
48
- else if (breakpointState.breakpoints['(max-width: 959.98px)']) {
49
- this.viewport = 'small';
50
- }
51
- else {
52
- this.viewport = 'medium';
53
- }
54
- }), takeUntil(this.unsubscribe$))
55
- .subscribe();
56
- }
57
- ngOnInit() {
58
- this.getRepositories();
59
- }
60
- ngOnDestroy() {
61
- this.unsubscribe$.next();
62
- this.unsubscribe$.complete();
63
- }
64
- copyToClipboard(gitRepo) {
65
- this.currentRepo = gitRepo;
66
- }
67
- isCopiedToClipboard(gitRepo) {
68
- if (!this.currentRepo) {
69
- return false;
70
- }
71
- return this.currentRepo.id === gitRepo.id ? true : false;
72
- }
73
- getRepositories() {
74
- this.gitRepositories$ = this.gitProviderService
75
- .getRepositories(this.gitProviderConfig())
76
- .pipe(takeUntil(this.unsubscribe$));
77
- }
78
- getGitRepositoriesOfType(gitRepositories, gitProvider, type) {
79
- return gitRepositories[gitProvider]?.[type] ?? [];
80
- }
81
- hasAnyRepositories(gitRepositories, gitProvider) {
82
- return ((gitRepositories[gitProvider] &&
83
- gitRepositories[gitProvider].own?.length > 0 &&
84
- gitRepositories[gitProvider].forked?.length > 0) ??
85
- false);
86
- }
87
- hasRepositoriesOfType(gitRepositories, gitProvider, type) {
88
- return ((gitRepositories[gitProvider] &&
89
- gitRepositories[gitProvider]?.[type]?.length > 0) ??
90
- false);
91
- }
92
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GitPortfolioComponent, deps: [{ token: i1.GitProviderService }, { token: i2.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Component }); }
93
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.3", type: GitPortfolioComponent, isStandalone: true, selector: "git-portfolio", inputs: { buttonStyle: { classPropertyName: "buttonStyle", publicName: "buttonStyle", isSignal: true, isRequired: false, transformFunction: null }, cardStyle: { classPropertyName: "cardStyle", publicName: "cardStyle", isSignal: true, isRequired: false, transformFunction: null }, textStyle: { classPropertyName: "textStyle", publicName: "textStyle", isSignal: true, isRequired: false, transformFunction: null }, checkColor: { classPropertyName: "checkColor", publicName: "checkColor", isSignal: true, isRequired: false, transformFunction: null }, forkColor: { classPropertyName: "forkColor", publicName: "forkColor", isSignal: true, isRequired: false, transformFunction: null }, issueColor: { classPropertyName: "issueColor", publicName: "issueColor", isSignal: true, isRequired: false, transformFunction: null }, pasteColor: { classPropertyName: "pasteColor", publicName: "pasteColor", isSignal: true, isRequired: false, transformFunction: null }, starColor: { classPropertyName: "starColor", publicName: "starColor", isSignal: true, isRequired: false, transformFunction: null }, gitProviderConfig: { classPropertyName: "gitProviderConfig", publicName: "gitProviderConfig", isSignal: true, isRequired: false, transformFunction: null }, showForked: { classPropertyName: "showForked", publicName: "showForked", isSignal: true, isRequired: false, transformFunction: null }, showOwn: { classPropertyName: "showOwn", publicName: "showOwn", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (gitRepositories$ | async; as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Own Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n >\n </repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not created any repositories yet\n </div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Forked Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n ></repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not forked any repositories yet\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n", styles: [".repository-card{max-width:450px;margin:0 32px 32px 0}.mat-headline{font-weight:400;line-height:32px;margin-bottom:16px}.flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.KeyValuePipe, name: "keyvalue" }, { kind: "ngmodule", type: LayoutModule }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i4.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: RepoCardComponent, selector: "repo-card", inputs: ["buttonStyle", "cardStyle", "textStyle", "checkColor", "forkColor", "issueColor", "pasteColor", "starColor", "gitRepo", "isCopied"], outputs: ["copiedToClipboard"] }] }); }
94
- }
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GitPortfolioComponent, decorators: [{
96
- type: Component,
97
- args: [{ selector: 'git-portfolio', standalone: true, imports: [
98
- CommonModule,
99
- LayoutModule,
100
- NgStyle,
101
- MatProgressSpinnerModule,
102
- RepoCardComponent,
103
- AsyncPipe,
104
- KeyValuePipe
105
- ], template: "@if (gitRepositories$ | async; as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Own Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n >\n </repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not created any repositories yet\n </div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">Forked Repos</h2>\n <div\n class=\"flex-align-start\"\n [ngClass]=\"{\n 'flex-row-wrap':\n viewport === 'medium' || viewport === 'small',\n 'flex-column': viewport === 'xsmall'\n }\"\n >\n @if ((loading | async) === true) {\n <div>\n <mat-spinner></mat-spinner>\n </div>\n }\n @for (\n gitRepo of getGitRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n );\n track gitRepo\n ) {\n <repo-card\n [buttonStyle]=\"buttonStyle()\"\n [cardStyle]=\"cardStyle()\"\n [textStyle]=\"textStyle()\"\n [checkColor]=\"checkColor()\"\n [forkColor]=\"forkColor()\"\n [issueColor]=\"issueColor()\"\n [pasteColor]=\"pasteColor()\"\n [starColor]=\"starColor()\"\n [gitRepo]=\"gitRepo\"\n [isCopied]=\"isCopiedToClipboard(gitRepo)\"\n (copiedToClipboard)=\"copyToClipboard(gitRepo)\"\n class=\"repository-card flex-align-stretch\"\n [ngClass]=\"{\n 'flex-fxflex': viewport === 'medium',\n 'flex-fxflex-lt-md': viewport === 'small',\n 'flex-fxflex-lt-sm': viewport === 'xsmall'\n }\"\n ></repo-card>\n }\n @if (\n (loading | async) === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">\n This user has not forked any repositories yet\n </div>\n }\n </div>\n </div>\n }\n </div>\n }\n }\n </div>\n}\n", styles: [".repository-card{max-width:450px;margin:0 32px 32px 0}.mat-headline{font-weight:400;line-height:32px;margin-bottom:16px}.flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}\n"] }]
106
- }], ctorParameters: () => [{ type: i1.GitProviderService }, { type: i2.BreakpointObserver }] });
107
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0LXBvcnRmb2xpby5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2dpdC1wb3J0Zm9saW8vc3JjL2xpYi9naXQtcG9ydGZvbGlvLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL2xpYnMvZ2l0LXBvcnRmb2xpby9zcmMvbGliL2dpdC1wb3J0Zm9saW8uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLGtCQUFrQixFQUVsQixZQUFZLEVBQ2IsTUFBTSxxQkFBcUIsQ0FBQztBQUM3QixPQUFPLEVBQ0wsU0FBUyxFQUNULFlBQVksRUFDWixZQUFZLEVBQ1osT0FBTyxFQUNSLE1BQU0saUJBQWlCLENBQUM7QUFDekIsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQ3BFLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBQzlFLE9BQU8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AgICAgIDxkaXY+XG4gICAgICAgICAgICAgICAgICAgIDxtYXQtc3Bpbm5lcj48L21hdC1zcGlubmVyPlxuICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIEBmb3IgKFxuICAgICAgICAgICAgICAgICAgZ2l0UmVwbyBvZiBnZXRHaXRSZXBvc2l0b3JpZXNPZlR5cGUoXG4gICAgICAgICAgICAgICAgICAgIGdpdFJlcG9zaXRvcmllcyxcbiAgICAgICAgICAgICAgICAgICAgZ2l0UHJvdmlkZXIua2V5LFxuICAgICAgICAgICAgICAgICAgICAnb3duJ1xuICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgIHRyYWNrIGdpdFJlcG9cbiAgICAgICAgICAgICAgICApIHtcbiAgICAgICAgICAgICAgICAgIDxyZXBvLWNhcmRcbiAgICAgICAgICAgICAgICAgICAgW2J1dHRvblN0eWxlXT1cImJ1dHRvblN0eWxlKClcIlxuICAgICAgICAgICAgICAgICAgICBbY2FyZFN0eWxlXT1cImNhcmRTdHlsZSgpXCJcbiAgICAgICAgICAgICAgICAgICAgW3RleHRTdHlsZV09XCJ0ZXh0U3R5bGUoKVwiXG4gICAgICAgICAgICAgICAgICAgIFtjaGVja0NvbG9yXT1cImNoZWNrQ29sb3IoKVwiXG4gICAgICAgICAgICAgICAgICAgIFtmb3JrQ29sb3JdPVwiZm9ya0NvbG9yKClcIlxuICAgICAgICAgICAgICAgICAgICBbaXNzdWVDb2xvcl09XCJpc3N1ZUNvbG9yKClcIlxuICAgICAgICAgICAgICAgICAgICBbcGFzdGVDb2xvcl09XCJwYXN0ZUNvbG9yKClcIlxuICAgICAgICAgICAgICAgICAgICBbc3RhckNvbG9yXT1cInN0YXJDb2xvcigpXCJcbiAgICAgICAgICAgICAgICAgICAgW2dpdFJlcG9dPVwiZ2l0UmVwb1wiXG4gICAgICAgICAgICAgICAgICAgIFtpc0NvcGllZF09XCJpc0NvcGllZFRvQ2xpcGJvYXJkKGdpdFJlcG8pXCJcbiAgICAgICAgICAgICAgICAgICAgKGNvcGllZFRvQ2xpcGJvYXJkKT1cImNvcHlUb0NsaXBib2FyZChnaXRSZXBvKVwiXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwicmVwb3NpdG9yeS1jYXJkIGZsZXgtYWxpZ24tc3RyZXRjaFwiXG4gICAgICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICAgICAgICAgICAgICAnZmxleC1meGZsZXgnOiB2aWV3cG9ydCA9PT0gJ21lZGl1bScsXG4gICAgICAgICAgICAgICAgICAgICAgJ2ZsZXgtZnhmbGV4LWx0LW1kJzogdmlld3BvcnQgPT09ICdzbWFsbCcsXG4gICAgICAgICAgICAgICAgICAgICAgJ2ZsZXgtZnhmbGV4LWx0LXNtJzogdmlld3BvcnQgPT09ICd4c21hbGwnXG4gICAgICAgICAgICAgICAgICAgIH1cIlxuICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgPC9yZXBvLWNhcmQ+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIEBpZiAoXG4gICAgICAgICAgICAgICAgICAobG9hZGluZyB8IGFzeW5jKSA9PT0gZmFsc2UgJiZcbiAgICAgICAgICAgICAgICAgICFoYXNSZXBvc2l0b3JpZXNPZlR5cGUoXG4gICAgICAgICAgICAgICAgICAgIGdpdFJlcG9zaXRvcmllcyxcbiAgICAgICAgICAgICAgICAgICAgZ2l0UHJvdmlkZXIua2V5LFxuICAgICAgICAgICAgICAgICAgICAnb3duJ1xuICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICkge1xuICAgICAgICAgICAgICAgICAgPGRpdiBbbmdTdHlsZV09XCJ0ZXh0U3R5bGUoKVwiPlxuICAgICAgICAgICAgICAgICAgICBUaGlzIHVzZXIgaGFzIG5vdCBjcmVhdGVkIGFueSByZXBvc2l0b3JpZXMgeWV0XG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgfVxuICAgICAgICAgIEBpZiAoc2hvd0ZvcmtlZCgpKSB7XG4gICAgICAgICAgICA8ZGl2PlxuICAgICAgICAgICAgICA8aDIgW25nU3R5bGVdPVwidGV4dFN0eWxlKClcIiBjbGFzcz1cIm1hdC1oZWFkbGluZVwiPkZvcmtlZCBSZXBvczwvaDI+XG4gICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICBjbGFzcz1cImZsZXgtYWxpZ24tc3RhcnRcIlxuICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICAgICAgICAgICdmbGV4LXJvdy13cmFwJzpcbiAgICAgICAgICAgICAgICAgICAgdmlld3BvcnQgPT09ICdtZWRpdW0nIHx8IHZpZXdwb3J0ID09PSAnc21hbGwnLFxuICAgICAgICAgICAgICAgICAgJ2ZsZXgtY29sdW1uJzogdmlld3BvcnQgPT09ICd4c21hbGwnXG4gICAgICAgICAgICAgICAgfVwiXG4gICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICBAaWYgKChsb2FkaW5nIHwgYXN5bmMpID09PSB0cnVlKSB7XG4gICAgICAgICAgICAgICAgICA8ZGl2PlxuICAgICAgICAgICAgICAgICAgICA8bWF0LXNwaW5uZXI+PC9tYXQtc3Bpbm5lcj5cbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBAZm9yIChcbiAgICAgICAgICAgICAgICAgIGdpdFJlcG8gb2YgZ2V0R2l0UmVwb3NpdG9yaWVzT2ZUeXBlKFxuICAgICAgICAgICAgICAgICAgICBnaXRSZXBvc2l0b3JpZXMsXG4gICAgICAgICAgICAgICAgICAgIGdpdFByb3ZpZGVyLmtleSxcbiAgICAgICAgICAgICAgICAgICAgJ2ZvcmtlZCdcbiAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgICB0cmFjayBnaXRSZXBvXG4gICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICA8cmVwby1jYXJkXG4gICAgICAgICAgICAgICAgICAgIFtidXR0b25TdHlsZV09XCJidXR0b25TdHlsZSgpXCJcbiAgICAgICAgICAgICAgICAgICAgW2NhcmRTdHlsZV09XCJjYXJkU3R5bGUoKVwiXG4gICAgICAgICAgICAgICAgICAgIFt0ZXh0U3R5bGVdPVwidGV4dFN0eWxlKClcIlxuICAgICAgICAgICAgICAgICAgICBbY2hlY2tDb2xvcl09XCJjaGVja0NvbG9yKClcIlxuICAgICAgICAgICAgICAgICAgICBbZm9ya0NvbG9yXT1cImZvcmtDb2xvcigpXCJcbiAgICAgICAgICAgICAgICAgICAgW2lzc3VlQ29sb3JdPVwiaXNzdWVDb2xvcigpXCJcbiAgICAgICAgICAgICAgICAgICAgW3Bhc3RlQ29sb3JdPVwicGFzdGVDb2xvcigpXCJcbiAgICAgICAgICAgICAgICAgICAgW3N0YXJDb2xvcl09XCJzdGFyQ29sb3IoKVwiXG4gICAgICAgICAgICAgICAgICAgIFtnaXRSZXBvXT1cImdpdFJlcG9cIlxuICAgICAgICAgICAgICAgICAgICBbaXNDb3BpZWRdPVwiaXNDb3BpZWRUb0NsaXBib2FyZChnaXRSZXBvKVwiXG4gICAgICAgICAgICAgICAgICAgIChjb3BpZWRUb0NsaXBib2FyZCk9XCJjb3B5VG9DbGlwYm9hcmQoZ2l0UmVwbylcIlxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cInJlcG9zaXRvcnktY2FyZCBmbGV4LWFsaWduLXN0cmV0Y2hcIlxuICAgICAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJ7XG4gICAgICAgICAgICAgICAgICAgICAgJ2ZsZXgtZnhmbGV4Jzogdmlld3BvcnQgPT09ICdtZWRpdW0nLFxuICAgICAgICAgICAgICAgICAgICAgICdmbGV4LWZ4ZmxleC1sdC1tZCc6IHZpZXdwb3J0ID09PSAnc21hbGwnLFxuICAgICAgICAgICAgICAgICAgICAgICdmbGV4LWZ4ZmxleC1sdC1zbSc6IHZpZXdwb3J0ID09PSAneHNtYWxsJ1xuICAgICAgICAgICAgICAgICAgICB9XCJcbiAgICAgICAgICAgICAgICAgID48L3JlcG8tY2FyZD5cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgQGlmIChcbiAgICAgICAgICAgICAgICAgIChsb2FkaW5nIHwgYXN5bmMpID09PSBmYWxzZSAmJlxuICAgICAgICAgICAgICAgICAgIWhhc1JlcG9zaXRvcmllc09mVHlwZShcbiAgICAgICAgICAgICAgICAgICAgZ2l0UmVwb3NpdG9yaWVzLFxuICAgICAgICAgICAgICAgICAgICBnaXRQcm92aWRlci5rZXksXG4gICAgICAgICAgICAgICAgICAgICdmb3JrZWQnXG4gICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICA8ZGl2IFtuZ1N0eWxlXT1cInRleHRTdHlsZSgpXCI+XG4gICAgICAgICAgICAgICAgICAgIFRoaXMgdXNlciBoYXMgbm90IGZvcmtlZCBhbnkgcmVwb3NpdG9yaWVzIHlldFxuICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIH1cbiAgICAgICAgPC9kaXY+XG4gICAgICB9XG4gICAgfVxuICA8L2Rpdj5cbn1cbiJdfQ==
@@ -1,68 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Injectable } from '@angular/core';
3
- import { BehaviorSubject, of, zip } from 'rxjs';
4
- import { map, tap } from 'rxjs/operators';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common/http";
7
- export class GitProviderService {
8
- constructor(http) {
9
- this.http = http;
10
- this.loadingStateSubject = new BehaviorSubject(true);
11
- this.repositorySubject = new BehaviorSubject({});
12
- }
13
- get loading() {
14
- return this.loadingStateSubject.asObservable();
15
- }
16
- getRepositories(gitProviderUserNames) {
17
- if (this.repositorySubject.value.github === undefined &&
18
- this.repositorySubject.value.gitlab === undefined) {
19
- this.fetchRepositories(gitProviderUserNames)
20
- .pipe(tap((repositories) => {
21
- this.repositorySubject.next(repositories);
22
- this.loadingStateSubject.next(false);
23
- }))
24
- .subscribe();
25
- }
26
- return this.repositorySubject.asObservable();
27
- }
28
- fetchRepositories(gitProviderUserNames) {
29
- return zip(this.fetchGithubRepositories(gitProviderUserNames?.github ?? ''), this.fetchGitlabRepositories(gitProviderUserNames?.gitlab ?? '')).pipe(map((gitRepositoryMap) => {
30
- const repositories = {
31
- github: this.filterAndSortGitRepositories(gitRepositoryMap[0]),
32
- gitlab: this.filterAndSortGitRepositories(gitRepositoryMap[1])
33
- };
34
- return repositories;
35
- }));
36
- }
37
- filterAndSortGitRepositories(gitRepositoryArray) {
38
- return {
39
- own: gitRepositoryArray
40
- .filter((gitRepository) => !gitRepository.fork)
41
- .sort((repoA, repoB) => (repoB.stargazers_count ?? 0) - (repoA.stargazers_count ?? 0)),
42
- forked: gitRepositoryArray
43
- .filter((gitRepository) => gitRepository.fork)
44
- .sort((repoA, repoB) => (repoB.stargazers_count ?? 0) - (repoA.stargazers_count ?? 0))
45
- };
46
- }
47
- fetchGithubRepositories(githubUser) {
48
- if (githubUser !== '') {
49
- return this.http.get(`https://api.github.com/users/${githubUser}/repos`);
50
- }
51
- return of([]);
52
- }
53
- fetchGitlabRepositories(gitlabUser) {
54
- if (gitlabUser !== '') {
55
- return this.http.get(`https://gitlab.com/api/v4/users/${gitlabUser}/projects`);
56
- }
57
- return of([]);
58
- }
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GitProviderService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
60
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GitProviderService, providedIn: 'root' }); }
61
- }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: GitProviderService, decorators: [{
63
- type: Injectable,
64
- args: [{
65
- providedIn: 'root'
66
- }]
67
- }], ctorParameters: () => [{ type: i1.HttpClient }] });
68
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0LXByb3ZpZGVyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2dpdC1wb3J0Zm9saW8vc3JjL2xpYi9naXQtcHJvdmlkZXIuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDbEQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsZUFBZSxFQUFjLEVBQUUsRUFBRSxHQUFHLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDNUQsT0FBTyxFQUFFLEdBQUcsRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7O0FBUzFDLE1BQU0sT0FBTyxrQkFBa0I7SUFJN0IsWUFBb0IsSUFBZ0I7UUFBaEIsU0FBSSxHQUFKLElBQUksQ0FBWTtRQUg1Qix3QkFBbUIsR0FBRyxJQUFJLGVBQWUsQ0FBVSxJQUFJLENBQUMsQ0FBQztRQUN6RCxzQkFBaUIsR0FBRyxJQUFJLGVBQWUsQ0FBa0IsRUFBRSxDQUFDLENBQUM7SUFFOUIsQ0FBQztJQUV4QyxJQUFJLE9BQU87UUFDVCxPQUFPLElBQUksQ0FBQyxtQkFBbUIsQ0FBQyxZ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W10pO1xuICB9XG5cbiAgcHJpdmF0ZSBmZXRjaEdpdGxhYlJlcG9zaXRvcmllcyhcbiAgICBnaXRsYWJVc2VyOiBzdHJpbmdcbiAgKTogT2JzZXJ2YWJsZTxHaXRSZXBvc2l0b3J5W10+IHtcbiAgICBpZiAoZ2l0bGFiVXNlciAhPT0gJycpIHtcbiAgICAgIHJldHVybiB0aGlzLmh0dHAuZ2V0PEdpdFJlcG9zaXRvcnlbXT4oXG4gICAgICAgIGBodHRwczovL2dpdGxhYi5jb20vYXBpL3Y0L3VzZXJzLyR7Z2l0bGFiVXNlcn0vcHJvamVjdHNgXG4gICAgICApO1xuICAgIH1cbiAgICByZXR1cm4gb2YoW10pO1xuICB9XG59XG4iXX0=
@@ -1,43 +0,0 @@
1
- import { Directive, ElementRef, input, Renderer2 } from '@angular/core';
2
- import octicons from '@primer/octicons';
3
- import * as i0 from "@angular/core";
4
- export class OcticonDirective {
5
- constructor(elementRef, renderer) {
6
- this.elementRef = elementRef;
7
- this.renderer = renderer;
8
- this.octicon = input.required();
9
- this.color = input.required();
10
- this.width = input();
11
- }
12
- ngOnInit() {
13
- const el = this.elementRef.nativeElement;
14
- if (this.octicon()) {
15
- if (octicons[this.octicon()] !== undefined) {
16
- el.innerHTML = octicons[this.octicon()].toSVG();
17
- const icon = el.firstChild;
18
- if (this.color() && icon) {
19
- this.renderer.setStyle(icon, 'fill', this.color());
20
- }
21
- if (this.width() && icon) {
22
- this.renderer.setStyle(icon, 'width', this.width());
23
- this.renderer.setStyle(icon, 'height', this.width());
24
- }
25
- }
26
- else {
27
- el.innerHTML = octicons['alert'].toSVG();
28
- this.renderer.setStyle(el.firstChild, 'fill', 'red');
29
- }
30
- }
31
- }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: OcticonDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
33
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.3", type: OcticonDirective, isStandalone: true, selector: "[octicon]", inputs: { octicon: { classPropertyName: "octicon", publicName: "octicon", isSignal: true, isRequired: true, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: true, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
34
- }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: OcticonDirective, decorators: [{
36
- type: Directive,
37
- args: [{
38
- // eslint-disable-next-line @angular-eslint/directive-selector
39
- selector: '[octicon]',
40
- standalone: true
41
- }]
42
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
43
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2N0aWNvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2dpdC1wb3J0Zm9saW8vc3JjL2xpYi9vY3RpY29uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQVUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hGLE9BQU8sUUFBc0IsTUFBTSxrQkFBa0IsQ0FBQzs7QUFPdEQsTUFBTSxPQUFPLGdCQUFnQjtJQUszQixZQUNVLFVBQXNCLEVBQ3RCLFFBQW1CO1FBRG5CLGVBQVUsR0FBVixVQUFVLENBQVk7UUFDdEIsYUFBUSxHQUFSLFFBQVEsQ0FBVztRQU43QixZQUFPLEdBQUcsS0FBSyxDQUFDLFFBQVEsRUFBVSxDQUFDO1FBQ25DLFVBQUssR0FBRyxLQUFLLENBQUMsUUFBUSxFQUFVLENBQUM7UUFD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aXQoKTogdm9pZCB7XG4gICAgY29uc3QgZWw6IEhUTUxFbGVtZW50ID0gdGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQ7XG4gICAgaWYgKHRoaXMub2N0aWNvbigpKSB7XG4gICAgICBpZiAob2N0aWNvbnNbdGhpcy5vY3RpY29uKCkhIGFzIEljb25OYW1lXSAhPT0gdW5kZWZpbmVkKSB7XG4gICAgICAgIGVsLmlubmVySFRNTCA9IG9jdGljb25zW3RoaXMub2N0aWNvbigpISBhcyBJY29uTmFtZV0udG9TVkcoKTtcblxuICAgICAgICBjb25zdCBpY29uOiBOb2RlIHwgbnVsbCA9IGVsLmZpcnN0Q2hpbGQ7XG5cbiAgICAgICAgaWYgKHRoaXMuY29sb3IoKSAmJiBpY29uKSB7XG4gICAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRTdHlsZShpY29uLCAnZmlsbCcsIHRoaXMuY29sb3IoKSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHRoaXMud2lkdGgoKSAmJiBpY29uKSB7XG4gICAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRTdHlsZShpY29uLCAnd2lkdGgnLCB0aGlzLndpZHRoKCkpO1xuICAgICAgICAgIHRoaXMucmVuZGVyZXIuc2V0U3R5bGUoaWNvbiwgJ2hlaWdodCcsIHRoaXMud2lkdGgoKSk7XG4gICAgICAgIH1cbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIGVsLmlubmVySFRNTCA9IG9jdGljb25zWydhbGVydCddLnRvU1ZHKCk7XG4gICAgICAgIHRoaXMucmVuZGVyZXIuc2V0U3R5bGUoZWwuZmlyc3RDaGlsZCwgJ2ZpbGwnLCAncmVkJyk7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG4iXX0=
@@ -1,41 +0,0 @@
1
- import { ClipboardModule } from '@angular/cdk/clipboard';
2
- import { DatePipe, NgStyle } from '@angular/common';
3
- import { Component, input, output } from '@angular/core';
4
- import { MatButtonModule } from '@angular/material/button';
5
- import { MatCardModule } from '@angular/material/card';
6
- import * as githubLanguageColors from 'github-language-colors/colors.json';
7
- import { OcticonDirective } from '../octicon.directive';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@angular/material/card";
10
- import * as i2 from "@angular/material/button";
11
- import * as i3 from "@angular/cdk/clipboard";
12
- export class RepoCardComponent {
13
- constructor() {
14
- this.buttonStyle = input.required();
15
- this.cardStyle = input.required();
16
- this.textStyle = input.required();
17
- this.checkColor = input.required();
18
- this.forkColor = input.required();
19
- this.issueColor = input.required();
20
- this.pasteColor = input.required();
21
- this.starColor = input.required();
22
- this.gitRepo = input.required();
23
- this.isCopied = input(false);
24
- this.copiedToClipboard = output();
25
- this.githubLanguageColors = githubLanguageColors;
26
- }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: RepoCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
28
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.3", type: RepoCardComponent, isStandalone: true, selector: "repo-card", inputs: { buttonStyle: { classPropertyName: "buttonStyle", publicName: "buttonStyle", isSignal: true, isRequired: true, transformFunction: null }, cardStyle: { classPropertyName: "cardStyle", publicName: "cardStyle", isSignal: true, isRequired: true, transformFunction: null }, textStyle: { classPropertyName: "textStyle", publicName: "textStyle", isSignal: true, isRequired: true, transformFunction: null }, checkColor: { classPropertyName: "checkColor", publicName: "checkColor", isSignal: true, isRequired: true, transformFunction: null }, forkColor: { classPropertyName: "forkColor", publicName: "forkColor", isSignal: true, isRequired: true, transformFunction: null }, issueColor: { classPropertyName: "issueColor", publicName: "issueColor", isSignal: true, isRequired: true, transformFunction: null }, pasteColor: { classPropertyName: "pasteColor", publicName: "pasteColor", isSignal: true, isRequired: true, transformFunction: null }, starColor: { classPropertyName: "starColor", publicName: "starColor", isSignal: true, isRequired: true, transformFunction: null }, gitRepo: { classPropertyName: "gitRepo", publicName: "gitRepo", isSignal: true, isRequired: true, transformFunction: null }, isCopied: { classPropertyName: "isCopied", publicName: "isCopied", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { copiedToClipboard: "copiedToClipboard" }, ngImport: i0, template: "<mat-card [ngStyle]=\"cardStyle()\">\n <mat-card-header>\n <div\n mat-card-avatar\n [ngStyle]=\"{\n 'background-image':\n 'url(' +\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\n ')',\n 'background-size': 'cover',\n 'border-radius': 0\n }\"\n ></div>\n <mat-card-title\n ><a\n mat-button\n [ngStyle]=\"buttonStyle()\"\n target=\"_blank\"\n href=\"{{ gitRepo().html_url || gitRepo().web_url }}\"\n >\n {{ gitRepo().name }}\n </a>\n </mat-card-title>\n <mat-card-subtitle class=\"flex-row\">\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n [ngStyle]=\"{\n 'background-color':\n gitRepo().language !== undefined\n ? githubLanguageColors[gitRepo().language!]\n : 'transparent'\n }\"\n class=\"language-icon flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().language }}</div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div octicon=\"star\" [color]=\"starColor()\" class=\"flex-gap-5\"></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\n </div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"repo-forked\"\n [color]=\"forkColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().forks_count }}</div>\n </div>\n @if (gitRepo().open_issues_count) {\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"issue-opened\"\n [color]=\"issueColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().open_issues_count }}\n </div>\n </div>\n }\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <p>{{ gitRepo().description }}</p>\n </mat-card-content>\n <mat-card-footer class=\"flex-row\">\n <span class=\"mat-footer-cell flex-fxflex flex-gap-12\">\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Created: {{ gitRepo().created_at | date }}</span\n >\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Updated:\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\n >\n </span>\n <span class=\"mat-footer-cell\">\n <button\n [ngStyle]=\"buttonStyle()\"\n mat-button\n [cdkCopyToClipboard]=\"\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\n \"\n (cdkCopyToClipboardCopied)=\"copiedToClipboard.emit(true)\"\n class=\"clipboard-button\"\n >\n <span class=\"mat-button-wrapper flex-row\">\n @if (isCopied()) {\n <div\n octicon=\"check\"\n [color]=\"checkColor()\"\n width=\"24\"\n class=\"flex-gap-5\"\n ></div>\n }\n <div\n octicon=\"paste\"\n [color]=\"pasteColor()\"\n width=\"24px\"\n class=\"flex-gap-5\"\n ></div>\n <span>Copy URL</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n", styles: [".clipboard-button{height:29px;line-height:24px!important;padding:0!important;margin-bottom:0}.clipboard-button span{font-size:20px}.mat-mdc-button{vertical-align:middle;line-height:36px;font-size:24px;margin:0 10px 0 0;padding:0 16px;text-align:center;text-decoration:none}@media screen and (max-width: 400px){.mat-mdc-button{font-size:20px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px}@media screen and (max-width: 519px){.mat-mdc-card{width:415px}}@media screen and (max-width: 430px){.mat-mdc-card{width:380px}}@media screen and (max-width: 400px){.mat-mdc-card{width:350px}}@media screen and (max-width: 390px){.mat-mdc-card{width:310px}}.mat-mdc-card-avatar{height:53px;width:53px;margin:0}.mat-mdc-card-title{margin-bottom:12px}.mat-mdc-card-subtitle{margin-top:-8px;margin-left:16px}.mat-mdc-card-header{flex-shrink:0;padding:0 0 16px}.mat-mdc-card-content{font-size:14px;height:34px;margin-bottom:16px;padding:0}.mat-mdc-card-content p{font-size:14px}.mat-mdc-card{padding:16px}.mat-mdc-card-footer{margin:0 -16px -10px;padding:16px 16px 10px}.footer-span{display:block;font-size:12px}.language-icon{height:12px;width:12px;border-radius:50%;margin-top:2px}.info-item{font-weight:400;letter-spacing:normal}p{margin:0}.flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}\n"], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1.MatCardAvatar, selector: "[mat-card-avatar], [matCardAvatar]" }, { kind: "directive", type: i1.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i1.MatCardFooter, selector: "mat-card-footer" }, { kind: "component", type: i1.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i1.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "directive", type: i1.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatAnchor, selector: "a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: OcticonDirective, selector: "[octicon]", inputs: ["octicon", "color", "width"] }, { kind: "ngmodule", type: ClipboardModule }, { kind: "directive", type: i3.CdkCopyToClipboard, selector: "[cdkCopyToClipboard]", inputs: ["cdkCopyToClipboard", "cdkCopyToClipboardAttempts"], outputs: ["cdkCopyToClipboardCopied"] }, { kind: "pipe", type: DatePipe, name: "date" }] }); }
29
- }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.3", ngImport: i0, type: RepoCardComponent, decorators: [{
31
- type: Component,
32
- args: [{ selector: 'repo-card', standalone: true, imports: [
33
- MatCardModule,
34
- NgStyle,
35
- MatButtonModule,
36
- OcticonDirective,
37
- ClipboardModule,
38
- DatePipe
39
- ], template: "<mat-card [ngStyle]=\"cardStyle()\">\n <mat-card-header>\n <div\n mat-card-avatar\n [ngStyle]=\"{\n 'background-image':\n 'url(' +\n (gitRepo().owner?.avatar_url || gitRepo().namespace?.avatar_url) +\n ')',\n 'background-size': 'cover',\n 'border-radius': 0\n }\"\n ></div>\n <mat-card-title\n ><a\n mat-button\n [ngStyle]=\"buttonStyle()\"\n target=\"_blank\"\n href=\"{{ gitRepo().html_url || gitRepo().web_url }}\"\n >\n {{ gitRepo().name }}\n </a>\n </mat-card-title>\n <mat-card-subtitle class=\"flex-row\">\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n [ngStyle]=\"{\n 'background-color':\n gitRepo().language !== undefined\n ? githubLanguageColors[gitRepo().language!]\n : 'transparent'\n }\"\n class=\"language-icon flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().language }}</div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div octicon=\"star\" [color]=\"starColor()\" class=\"flex-gap-5\"></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().stargazers_count || gitRepo().star_count || 0 }}\n </div>\n </div>\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"repo-forked\"\n [color]=\"forkColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">{{ gitRepo().forks_count }}</div>\n </div>\n @if (gitRepo().open_issues_count) {\n <div class=\"info-item flex-row flex-gap-12\">\n <div\n octicon=\"issue-opened\"\n [color]=\"issueColor()\"\n class=\"flex-gap-5\"\n ></div>\n <div [ngStyle]=\"textStyle()\">\n {{ gitRepo().open_issues_count }}\n </div>\n </div>\n }\n </mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <p>{{ gitRepo().description }}</p>\n </mat-card-content>\n <mat-card-footer class=\"flex-row\">\n <span class=\"mat-footer-cell flex-fxflex flex-gap-12\">\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Created: {{ gitRepo().created_at | date }}</span\n >\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\"\n >Updated:\n {{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span\n >\n </span>\n <span class=\"mat-footer-cell\">\n <button\n [ngStyle]=\"buttonStyle()\"\n mat-button\n [cdkCopyToClipboard]=\"\n gitRepo().clone_url || gitRepo().http_url_to_repo || ''\n \"\n (cdkCopyToClipboardCopied)=\"copiedToClipboard.emit(true)\"\n class=\"clipboard-button\"\n >\n <span class=\"mat-button-wrapper flex-row\">\n @if (isCopied()) {\n <div\n octicon=\"check\"\n [color]=\"checkColor()\"\n width=\"24\"\n class=\"flex-gap-5\"\n ></div>\n }\n <div\n octicon=\"paste\"\n [color]=\"pasteColor()\"\n width=\"24px\"\n class=\"flex-gap-5\"\n ></div>\n <span>Copy URL</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n", styles: [".clipboard-button{height:29px;line-height:24px!important;padding:0!important;margin-bottom:0}.clipboard-button span{font-size:20px}.mat-mdc-button{vertical-align:middle;line-height:36px;font-size:24px;margin:0 10px 0 0;padding:0 16px;text-align:center;text-decoration:none}@media screen and (max-width: 400px){.mat-mdc-button{font-size:20px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px}@media screen and (max-width: 519px){.mat-mdc-card{width:415px}}@media screen and (max-width: 430px){.mat-mdc-card{width:380px}}@media screen and (max-width: 400px){.mat-mdc-card{width:350px}}@media screen and (max-width: 390px){.mat-mdc-card{width:310px}}.mat-mdc-card-avatar{height:53px;width:53px;margin:0}.mat-mdc-card-title{margin-bottom:12px}.mat-mdc-card-subtitle{margin-top:-8px;margin-left:16px}.mat-mdc-card-header{flex-shrink:0;padding:0 0 16px}.mat-mdc-card-content{font-size:14px;height:34px;margin-bottom:16px;padding:0}.mat-mdc-card-content p{font-size:14px}.mat-mdc-card{padding:16px}.mat-mdc-card-footer{margin:0 -16px -10px;padding:16px 16px 10px}.footer-span{display:block;font-size:12px}.language-icon{height:12px;width:12px;border-radius:50%;margin-top:2px}.info-item{font-weight:400;letter-spacing:normal}p{margin:0}.flex-align-start{justify-content:flex-start}.flex-align-stretch{align-content:stretch;align-items:stretch}.flex-column{display:flex;flex-direction:column;box-sizing:border-box}.flex-row{display:flex;flex-direction:row;box-sizing:border-box}.flex-row-wrap{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box}.flex-fxflex{flex:1 1 0%}.flex-fxflex-responsive{flex:0 1 calc(33.3% - 32px)}.flex-fxflex-lt-md{flex:0 1 calc(50% - 32px)}.flex-fxflex-lt-sm{flex:100%}.flex-fxflex-fill{height:100%;min-height:100%;min-width:100%;width:100%}.flex-gap-5{margin-right:5px}.flex-gap-12{margin-right:12px}.flex-gap-20{margin-right:20px}\n"] }]
40
- }] });
41
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwby1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZ2l0LXBvcnRmb2xpby9zcmMvbGliL3JlcG8tY2FyZC9yZXBvLWNhcmQuY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XBwZXIgZmxleC1yb3dcIj5cbiAgICAgICAgICBAaWYgKGlzQ29waWVkKCkpIHtcbiAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgb2N0aWNvbj1cImNoZWNrXCJcbiAgICAgICAgICAgICAgW2NvbG9yXT1cImNoZWNrQ29sb3IoKVwiXG4gICAgICAgICAgICAgIHdpZHRoPVwiMjRcIlxuICAgICAgICAgICAgICBjbGFzcz1cImZsZXgtZ2FwLTVcIlxuICAgICAgICAgICAgPjwvZGl2PlxuICAgICAgICAgIH1cbiAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICBvY3RpY29uPVwicGFzdGVcIlxuICAgICAgICAgICAgW2NvbG9yXT1cInBhc3RlQ29sb3IoKVwiXG4gICAgICAgICAgICB3aWR0aD1cIjI0cHhcIlxuICAgICAgICAgICAgY2xhc3M9XCJmbGV4LWdhcC01XCJcbiAgICAgICAgICA+PC9kaXY+XG4gICAgICAgICAgPHNwYW4+Q29weSBVUkw8L3NwYW4+XG4gICAgICAgIDwvc3Bhbj5cbiAgICAgIDwvYnV0dG9uPlxuICAgIDwvc3Bhbj5cbiAgPC9tYXQtY2FyZC1mb290ZXI+XG48L21hdC1jYXJkPlxuIl19
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0LXByb3ZpZGVyLWNvbmZpZy10eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9naXQtcG9ydGZvbGlvL3NyYy9saWIvdHlwZXMvZ2l0LXByb3ZpZGVyLWNvbmZpZy10eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIEdpdFByb3ZpZGVyQ29uZmlnIHtcbiAgZ2l0aHViPzogc3RyaW5nO1xuICBnaXRsYWI/OiBzdHJpbmc7XG59XG4iXX0=
@@ -1,7 +0,0 @@
1
- /* eslint-disable no-shadow */
2
- export var GitProviders;
3
- (function (GitProviders) {
4
- GitProviders["github"] = "GitHub";
5
- GitProviders["gitlab"] = "GitLab";
6
- })(GitProviders || (GitProviders = {}));
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0LXByb3ZpZGVycy10eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9naXQtcG9ydGZvbGlvL3NyYy9saWIvdHlwZXMvZ2l0LXByb3ZpZGVycy10eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDhCQUE4QjtBQUM5QixNQUFNLENBQU4sSUFBWSxZQUdYO0FBSEQsV0FBWSxZQUFZO0lBQ3RCLGlDQUFpQixDQUFBO0lBQ2pCLGlDQUFpQixDQUFBO0FBQ25CLENBQUMsRUFIVyxZQUFZLEtBQVosWUFBWSxRQUd2QiIsInNvdXJjZXNDb250ZW50IjpbIi8qIGVzbGludC1kaXNhYmxlIG5vLXNoYWRvdyAqL1xuZXhwb3J0IGVudW0gR2l0UHJvdmlkZXJzIHtcbiAgZ2l0aHViID0gJ0dpdEh1YicsXG4gIGdpdGxhYiA9ICdHaXRMYWInXG59XG4iXX0=
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0LXJlcG9zaXRvcmllcy10eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9naXQtcG9ydGZvbGlvL3NyYy9saWIvdHlwZXMvZ2l0LXJlcG9zaXRvcmllcy10eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBHaXRSZXBvc2l0b3J5IH0gZnJvbSAnLi9naXQtcmVwb3NpdG9yeS10eXBlJztcblxuZXhwb3J0IGludGVyZmFjZSBHaXRSZXBvc2l0b3JpZXMge1xuICBba2V5OiBzdHJpbmddOiB7IFtrZXk6IHN0cmluZ106IEdpdFJlcG9zaXRvcnlbXSB9IHwgdW5kZWZpbmVkO1xuICBnaXRodWI/OiB7IG93bjogR2l0UmVwb3NpdG9yeVtdOyBmb3JrZWQ6IEdpdFJlcG9zaXRvcnlbXSB9O1xuICBnaXRsYWI/OiB7IG93bjogR2l0UmVwb3NpdG9yeVtdOyBmb3JrZWQ6IEdpdFJlcG9zaXRvcnlbXSB9O1xufVxuIl19
@@ -1,4 +0,0 @@
1
- /* eslint-disable @typescript-eslint/naming-convention */
2
- export class GitRepository {
3
- }
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2l0LXJlcG9zaXRvcnktdHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZ2l0LXBvcnRmb2xpby9zcmMvbGliL3R5cGVzL2dpdC1yZXBvc2l0b3J5LXR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBQXlEO0FBQ3pELE1BQU0sT0FBTyxhQUFhO0NBOEJ6QiIsInNvdXJjZXNDb250ZW50IjpbIi8qIGVzbGludC1kaXNhYmxlIEB0eXBlc2NyaXB0LWVzbGludC9uYW1pbmctY29udmVudGlvbiAqL1xuZXhwb3J0IGNsYXNzIEdpdFJlcG9zaXRvcnkge1xuICBpZDogbnVtYmVyIHwgdW5kZWZpbmVkO1xuICBjbG9uZV91cmw/OiBzdHJpbmc7XG4gIGh0dHBfdXJsX3RvX3JlcG8/OiBzdHJpbmc7XG4gIGNyZWF0ZWRfYXQ6IHN0cmluZyB8IHVuZGVmaW5lZDtcbiAgZGVzY3JpcHRpb246IHN0cmluZyB8IHVuZGVmaW5lZDtcbiAgZm9yaz86IGJvb2xlYW47XG4gIGZvcmtzX2NvdW50OiBudW1iZXIgfCB1bmRlZmluZWQ7XG4gIGh0bWxfdXJsPzogc3RyaW5nO1xuICB3ZWJfdXJsPzogc3RyaW5nO1xuICBsYW5ndWFnZT86IHN0cmluZztcbiAgbGljZW5zZT86IHtcbiAgICBrZXk6IHN0cmluZztcbiAgICBuYW1lOiBzdHJpbmc7XG4gICAgbm9kZV9pZDogc3RyaW5nO1xuICAgIHNwZHhfaWQ6IHN0cmluZztcbiAgICB1cmw6IHN0cmluZztcbiAgfTtcbiAgbmFtZTogc3RyaW5nIHwgdW5kZWZpbmVkO1xuICBvcGVuX2lzc3Vlc19jb3VudD86IG51bWJlcjtcbiAgb3duZXI/OiB7XG4gICAgYXZhdGFyX3VybDogc3RyaW5nO1xuICB9O1xuICBuYW1lc3BhY2U/OiB7XG4gICAgYXZhdGFyX3VybDogc3RyaW5nO1xuICB9O1xuICBwdXNoZWRfYXQ/OiBzdHJpbmc7XG4gIGxhc3RfYWN0aXZpdHlfYXQ/OiBzdHJpbmc7XG4gIHN0YXJnYXplcnNfY291bnQ/OiBudW1iZXI7XG4gIHN0YXJfY291bnQ/OiBudW1iZXI7XG59XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVodzBsZi1naXQtcG9ydGZvbGlvLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vbGlicy9naXQtcG9ydGZvbGlvL3NyYy90ZWh3MGxmLWdpdC1wb3J0Zm9saW8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=