@tehw0lf/git-portfolio 0.21.10 → 0.22.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.
@@ -128,10 +128,10 @@ class GitProviderService {
128
128
  this.loadingStateSubject.next(true);
129
129
  this.repositorySubject.next({});
130
130
  }
131
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: GitProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
132
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: GitProviderService, providedIn: 'root' }); }
131
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: GitProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
132
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: GitProviderService, providedIn: 'root' }); }
133
133
  }
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: GitProviderService, decorators: [{
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: GitProviderService, decorators: [{
135
135
  type: Injectable,
136
136
  args: [{
137
137
  providedIn: 'root'
@@ -142,9 +142,12 @@ class OcticonDirective {
142
142
  constructor() {
143
143
  this.elementRef = inject(ElementRef);
144
144
  this.renderer = inject(Renderer2);
145
- this.octicon = input.required(...(ngDevMode ? [{ debugName: "octicon" }] : /* istanbul ignore next */ []));
146
- this.color = input.required(...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
147
- this.width = input(...(ngDevMode ? [undefined, { debugName: "width" }] : /* istanbul ignore next */ []));
145
+ this.octicon = input.required(/* @ts-ignore */
146
+ ...(ngDevMode ? [{ debugName: "octicon" }] : /* istanbul ignore next */ []));
147
+ this.color = input.required(/* @ts-ignore */
148
+ ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
149
+ this.width = input(/* @ts-ignore */
150
+ ...(ngDevMode ? [undefined, { debugName: "width" }] : /* istanbul ignore next */ []));
148
151
  }
149
152
  ngOnInit() {
150
153
  const el = this.elementRef.nativeElement;
@@ -186,10 +189,10 @@ class OcticonDirective {
186
189
  // Return the inserted SVG element
187
190
  return svgElement;
188
191
  }
189
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: OcticonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
190
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.8", 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 }); }
192
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: OcticonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
193
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.2", 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 }); }
191
194
  }
192
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: OcticonDirective, decorators: [{
195
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: OcticonDirective, decorators: [{
193
196
  type: Directive,
194
197
  args: [{
195
198
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -200,28 +203,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
200
203
 
201
204
  class RepoCardComponent {
202
205
  constructor() {
203
- this.buttonStyle = input.required(...(ngDevMode ? [{ debugName: "buttonStyle" }] : /* istanbul ignore next */ []));
204
- this.cardStyle = input.required(...(ngDevMode ? [{ debugName: "cardStyle" }] : /* istanbul ignore next */ []));
205
- this.textStyle = input.required(...(ngDevMode ? [{ debugName: "textStyle" }] : /* istanbul ignore next */ []));
206
- this.checkColor = input.required(...(ngDevMode ? [{ debugName: "checkColor" }] : /* istanbul ignore next */ []));
207
- this.forkColor = input.required(...(ngDevMode ? [{ debugName: "forkColor" }] : /* istanbul ignore next */ []));
208
- this.issueColor = input.required(...(ngDevMode ? [{ debugName: "issueColor" }] : /* istanbul ignore next */ []));
209
- this.pasteColor = input.required(...(ngDevMode ? [{ debugName: "pasteColor" }] : /* istanbul ignore next */ []));
210
- this.starColor = input.required(...(ngDevMode ? [{ debugName: "starColor" }] : /* istanbul ignore next */ []));
211
- this.gitRepo = input.required(...(ngDevMode ? [{ debugName: "gitRepo" }] : /* istanbul ignore next */ []));
212
- this.isCopied = input(false, ...(ngDevMode ? [{ debugName: "isCopied" }] : /* istanbul ignore next */ []));
206
+ this.buttonStyle = input.required(/* @ts-ignore */
207
+ ...(ngDevMode ? [{ debugName: "buttonStyle" }] : /* istanbul ignore next */ []));
208
+ this.cardStyle = input.required(/* @ts-ignore */
209
+ ...(ngDevMode ? [{ debugName: "cardStyle" }] : /* istanbul ignore next */ []));
210
+ this.textStyle = input.required(/* @ts-ignore */
211
+ ...(ngDevMode ? [{ debugName: "textStyle" }] : /* istanbul ignore next */ []));
212
+ this.checkColor = input.required(/* @ts-ignore */
213
+ ...(ngDevMode ? [{ debugName: "checkColor" }] : /* istanbul ignore next */ []));
214
+ this.forkColor = input.required(/* @ts-ignore */
215
+ ...(ngDevMode ? [{ debugName: "forkColor" }] : /* istanbul ignore next */ []));
216
+ this.issueColor = input.required(/* @ts-ignore */
217
+ ...(ngDevMode ? [{ debugName: "issueColor" }] : /* istanbul ignore next */ []));
218
+ this.pasteColor = input.required(/* @ts-ignore */
219
+ ...(ngDevMode ? [{ debugName: "pasteColor" }] : /* istanbul ignore next */ []));
220
+ this.starColor = input.required(/* @ts-ignore */
221
+ ...(ngDevMode ? [{ debugName: "starColor" }] : /* istanbul ignore next */ []));
222
+ this.gitRepo = input.required(/* @ts-ignore */
223
+ ...(ngDevMode ? [{ debugName: "gitRepo" }] : /* istanbul ignore next */ []));
224
+ this.isCopied = input(false, /* @ts-ignore */
225
+ ...(ngDevMode ? [{ debugName: "isCopied" }] : /* istanbul ignore next */ []));
213
226
  this.labels = input({
214
227
  copyRepoUrl: 'Copy repo URL',
215
228
  created: 'Created: ',
216
229
  updated: 'Updated: '
217
- }, ...(ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []));
230
+ }, /* @ts-ignore */
231
+ ...(ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []));
218
232
  this.copiedToClipboard = output();
219
233
  this.githubLanguageColors = githubLanguageColors;
220
234
  }
221
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: RepoCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
222
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", 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 }, labels: { classPropertyName: "labels", publicName: "labels", 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().homepage || 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()\">{{ labels().created }}{{ gitRepo().created_at | date }}</span>\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\">{{ labels().updated }}{{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span>\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>{{ labels().copyRepoUrl }}</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:519px){.mat-mdc-button{font-size:16px;padding:0 8px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px;max-width:100%;box-sizing:border-box}@media screen and (max-width:519px){.mat-mdc-card{width:100%}}.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.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.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { 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" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
235
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RepoCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
236
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.2", 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 }, labels: { classPropertyName: "labels", publicName: "labels", 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().homepage || 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()\">{{ labels().created }}{{ gitRepo().created_at | date }}</span>\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\">{{ labels().updated }}{{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span>\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>{{ labels().copyRepoUrl }}</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:519px){.mat-mdc-button{font-size:16px;padding:0 8px}}.mat-mdc-card{display:flex;flex-direction:column;width:450px;max-width:100%;box-sizing:border-box}@media screen and (max-width:519px){.mat-mdc-card{width:100%}}.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.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.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { 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" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
223
237
  }
224
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: RepoCardComponent, decorators: [{
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: RepoCardComponent, decorators: [{
225
239
  type: Component,
226
240
  args: [{ selector: 'repo-card', imports: [
227
241
  MatCardModule,
@@ -243,21 +257,32 @@ class GitPortfolioComponent {
243
257
  constructor() {
244
258
  this.gitProviderService = inject(GitProviderService);
245
259
  this.breakpointObserver = inject(BreakpointObserver);
246
- this.buttonStyle = input({ 'background-color': '#424242', color: '#cc7832' }, ...(ngDevMode ? [{ debugName: "buttonStyle" }] : /* istanbul ignore next */ []));
260
+ this.buttonStyle = input({ 'background-color': '#424242', color: '#cc7832' }, /* @ts-ignore */
261
+ ...(ngDevMode ? [{ debugName: "buttonStyle" }] : /* istanbul ignore next */ []));
247
262
  this.cardStyle = input({
248
263
  color: '#437da8',
249
264
  'background-color': 'rgba(34, 34, 34, 0.75)',
250
265
  'backdrop-filter': 'blur(50px)'
251
- }, ...(ngDevMode ? [{ debugName: "cardStyle" }] : /* istanbul ignore next */ []));
252
- this.textStyle = input({ color: '#437da8' }, ...(ngDevMode ? [{ debugName: "textStyle" }] : /* istanbul ignore next */ []));
253
- this.checkColor = input('#38e038', ...(ngDevMode ? [{ debugName: "checkColor" }] : /* istanbul ignore next */ []));
254
- this.forkColor = input('#437da8', ...(ngDevMode ? [{ debugName: "forkColor" }] : /* istanbul ignore next */ []));
255
- this.issueColor = input('rgb(56, 224, 56)', ...(ngDevMode ? [{ debugName: "issueColor" }] : /* istanbul ignore next */ []));
256
- this.pasteColor = input('#cc7832', ...(ngDevMode ? [{ debugName: "pasteColor" }] : /* istanbul ignore next */ []));
257
- this.starColor = input('gold', ...(ngDevMode ? [{ debugName: "starColor" }] : /* istanbul ignore next */ []));
258
- this.gitProviderConfig = input({}, ...(ngDevMode ? [{ debugName: "gitProviderConfig" }] : /* istanbul ignore next */ []));
259
- this.showForked = input(true, ...(ngDevMode ? [{ debugName: "showForked" }] : /* istanbul ignore next */ []));
260
- this.showOwn = input(true, ...(ngDevMode ? [{ debugName: "showOwn" }] : /* istanbul ignore next */ []));
266
+ }, /* @ts-ignore */
267
+ ...(ngDevMode ? [{ debugName: "cardStyle" }] : /* istanbul ignore next */ []));
268
+ this.textStyle = input({ color: '#437da8' }, /* @ts-ignore */
269
+ ...(ngDevMode ? [{ debugName: "textStyle" }] : /* istanbul ignore next */ []));
270
+ this.checkColor = input('#38e038', /* @ts-ignore */
271
+ ...(ngDevMode ? [{ debugName: "checkColor" }] : /* istanbul ignore next */ []));
272
+ this.forkColor = input('#437da8', /* @ts-ignore */
273
+ ...(ngDevMode ? [{ debugName: "forkColor" }] : /* istanbul ignore next */ []));
274
+ this.issueColor = input('rgb(56, 224, 56)', /* @ts-ignore */
275
+ ...(ngDevMode ? [{ debugName: "issueColor" }] : /* istanbul ignore next */ []));
276
+ this.pasteColor = input('#cc7832', /* @ts-ignore */
277
+ ...(ngDevMode ? [{ debugName: "pasteColor" }] : /* istanbul ignore next */ []));
278
+ this.starColor = input('gold', /* @ts-ignore */
279
+ ...(ngDevMode ? [{ debugName: "starColor" }] : /* istanbul ignore next */ []));
280
+ this.gitProviderConfig = input({}, /* @ts-ignore */
281
+ ...(ngDevMode ? [{ debugName: "gitProviderConfig" }] : /* istanbul ignore next */ []));
282
+ this.showForked = input(true, /* @ts-ignore */
283
+ ...(ngDevMode ? [{ debugName: "showForked" }] : /* istanbul ignore next */ []));
284
+ this.showOwn = input(true, /* @ts-ignore */
285
+ ...(ngDevMode ? [{ debugName: "showOwn" }] : /* istanbul ignore next */ []));
261
286
  this.labels = input({
262
287
  ownRepos: 'Own Repos',
263
288
  forkedRepos: 'Forked Repos',
@@ -266,17 +291,22 @@ class GitPortfolioComponent {
266
291
  copyRepoUrl: 'Copy repo URL',
267
292
  created: 'Created: ',
268
293
  updated: 'Updated: '
269
- }, ...(ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []));
294
+ }, /* @ts-ignore */
295
+ ...(ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []));
270
296
  this.repoCardLabels = computed(() => ({
271
297
  copyRepoUrl: this.labels().copyRepoUrl,
272
298
  created: this.labels().created,
273
299
  updated: this.labels().updated
274
- }), ...(ngDevMode ? [{ debugName: "repoCardLabels" }] : /* istanbul ignore next */ []));
300
+ }), /* @ts-ignore */
301
+ ...(ngDevMode ? [{ debugName: "repoCardLabels" }] : /* istanbul ignore next */ []));
275
302
  this.loading = toSignal(this.gitProviderService.loading, { initialValue: true });
276
303
  this.gitProviders = GitProviders;
277
- this.currentRepo = signal(undefined, ...(ngDevMode ? [{ debugName: "currentRepo" }] : /* istanbul ignore next */ []));
278
- this.gitRepositories = signal(undefined, ...(ngDevMode ? [{ debugName: "gitRepositories" }] : /* istanbul ignore next */ []));
279
- this.viewport = signal('', ...(ngDevMode ? [{ debugName: "viewport" }] : /* istanbul ignore next */ []));
304
+ this.currentRepo = signal(undefined, /* @ts-ignore */
305
+ ...(ngDevMode ? [{ debugName: "currentRepo" }] : /* istanbul ignore next */ []));
306
+ this.gitRepositories = signal(undefined, /* @ts-ignore */
307
+ ...(ngDevMode ? [{ debugName: "gitRepositories" }] : /* istanbul ignore next */ []));
308
+ this.viewport = signal('', /* @ts-ignore */
309
+ ...(ngDevMode ? [{ debugName: "viewport" }] : /* istanbul ignore next */ []));
280
310
  this.unsubscribe$ = new Subject();
281
311
  effect(() => {
282
312
  this.getRepositories();
@@ -335,10 +365,10 @@ class GitPortfolioComponent {
335
365
  gitRepositories[gitProvider]?.[type]?.length > 0) ??
336
366
  false);
337
367
  }
338
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: GitPortfolioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
339
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", 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 }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (gitRepositories(); as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\" class=\"mat-headline\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">{{ labels().ownRepos }}</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() === 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 [labels]=\"repoCardLabels()\"\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() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">{{ labels().noOwnRepos }}</div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">{{ labels().forkedRepos }}</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() === 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 [labels]=\"repoCardLabels()\"\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() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">{{ labels().noForkedRepos }}</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}@media screen and (max-width:519px){.repository-card{max-width:100%;width:100%;margin:0 0 16px;box-sizing:border-box}}.mat-headline{font-weight:400;line-height:32px;margin-bottom:16px;margin-top:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: LayoutModule }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i2$1.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", "labels"], outputs: ["copiedToClipboard"] }, { kind: "pipe", type: i1$1.KeyValuePipe, name: "keyvalue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
368
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: GitPortfolioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
369
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.2", 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 }, labels: { classPropertyName: "labels", publicName: "labels", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (gitRepositories(); as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\" class=\"mat-headline\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">{{ labels().ownRepos }}</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() === 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 [labels]=\"repoCardLabels()\"\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() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">{{ labels().noOwnRepos }}</div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">{{ labels().forkedRepos }}</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() === 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 [labels]=\"repoCardLabels()\"\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() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">{{ labels().noForkedRepos }}</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}@media screen and (max-width:519px){.repository-card{max-width:100%;width:100%;margin:0 0 16px;box-sizing:border-box}}.mat-headline{font-weight:400;line-height:32px;margin-bottom:16px;margin-top:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: LayoutModule }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i2$1.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", "labels"], outputs: ["copiedToClipboard"] }, { kind: "pipe", type: i1$1.KeyValuePipe, name: "keyvalue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
340
370
  }
341
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: GitPortfolioComponent, decorators: [{
371
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: GitPortfolioComponent, decorators: [{
342
372
  type: Component,
343
373
  args: [{ selector: 'git-portfolio', imports: [
344
374
  CommonModule,
@@ -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, HttpResponse } from '@angular/common/http';\nimport { Injectable, inject } from '@angular/core';\nimport { BehaviorSubject, expand, Observable, of, reduce, zip } from 'rxjs';\nimport { map, tap, shareReplay, takeWhile } 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\ninterface CacheEntry {\n data: Observable<GitRepositories>;\n timestamp: number;\n ttl: number;\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class GitProviderService {\n private http = inject(HttpClient);\n private readonly CACHE_TTL = 10 * 60 * 1000; // 10 minutes\n private readonly MAX_CACHE_SIZE = 50;\n\n private loadingStateSubject = new BehaviorSubject<boolean>(true);\n private repositorySubject = new BehaviorSubject<GitRepositories>({});\n private repositoryCache = new Map<string, CacheEntry>();\n\n get loading(): Observable<boolean> {\n return this.loadingStateSubject.asObservable();\n }\n\n getRepositories(\n gitProviderUserNames?: GitProviderConfig\n ): Observable<GitRepositories> {\n const cacheKey = this.createCacheKey(gitProviderUserNames);\n const cachedEntry = this.repositoryCache.get(cacheKey);\n \n // Check if cache entry exists and is still valid\n if (cachedEntry && this.isCacheValid(cachedEntry)) {\n return cachedEntry.data;\n }\n \n // Clean up expired entries and manage cache size\n this.cleanupCache();\n \n const repositories$ = this.fetchRepositories(gitProviderUserNames).pipe(\n tap((repositories: GitRepositories) => {\n this.repositorySubject.next(repositories);\n this.loadingStateSubject.next(false);\n }),\n shareReplay(1)\n );\n \n this.repositoryCache.set(cacheKey, {\n data: repositories$,\n timestamp: Date.now(),\n ttl: this.CACHE_TTL\n });\n \n return repositories$;\n }\n\n private createCacheKey(config?: GitProviderConfig): string {\n if (!config) return 'default';\n const parts: string[] = [];\n if (config.github) parts.push(`gh:${config.github}`);\n if (config.gitlab) parts.push(`gl:${config.gitlab}`);\n return parts.join('|') || 'default';\n }\n\n private isCacheValid(entry: CacheEntry): boolean {\n return (Date.now() - entry.timestamp) < entry.ttl;\n }\n\n private cleanupCache(): void {\n // Remove expired entries\n for (const [key, entry] of this.repositoryCache.entries()) {\n if (!this.isCacheValid(entry)) {\n this.repositoryCache.delete(key);\n }\n }\n \n // If cache is still too large, remove oldest entries\n if (this.repositoryCache.size >= this.MAX_CACHE_SIZE) {\n const entries = Array.from(this.repositoryCache.entries())\n .sort(([, a], [, b]) => a.timestamp - b.timestamp);\n \n const toRemove = entries.slice(0, entries.length - this.MAX_CACHE_SIZE + 1);\n toRemove.forEach(([key]) => this.repositoryCache.delete(key));\n }\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 fetchAllPages<T>(firstUrl: string): Observable<T[]> {\n return this.http.get<T[]>(firstUrl, { observe: 'response' }).pipe(\n expand((response) => {\n const next = this.parseLinkHeader(response.headers.get('Link'));\n return next\n ? this.http.get<T[]>(next, { observe: 'response' })\n : of(null);\n }),\n takeWhile((response): response is HttpResponse<T[]> => response !== null),\n reduce(\n (acc: T[], response) => acc.concat(response.body ?? []),\n []\n ),\n shareReplay(1)\n );\n }\n\n private parseLinkHeader(header: string | null): string | null {\n if (!header) return null;\n const match = header.match(/<([^>]+)>;\\s*rel=\"next\"/);\n return match ? match[1] : null;\n }\n\n private fetchGithubRepositories(\n githubUser: string\n ): Observable<GitRepository[]> {\n if (githubUser !== '') {\n return this.fetchAllPages<GitRepository>(\n `https://api.github.com/users/${githubUser}/repos?per_page=100`\n );\n }\n return of([]);\n }\n\n private fetchGitlabRepositories(\n gitlabUser: string\n ): Observable<GitRepository[]> {\n if (gitlabUser !== '') {\n return this.fetchAllPages<GitRepository>(\n `https://gitlab.com/api/v4/users/${gitlabUser}/projects?per_page=100`\n );\n }\n return of([]);\n }\n\n clearCache(): void {\n this.repositoryCache.clear();\n this.loadingStateSubject.next(true);\n this.repositorySubject.next({});\n }\n}\n","import { Directive, ElementRef, input, OnInit, Renderer2, inject } 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 private elementRef = inject(ElementRef);\n private renderer = inject(Renderer2);\n\n octicon = input.required<string>();\n color = input.required<string>();\n width = input<string>();\n\n ngOnInit(): void {\n const el: HTMLElement = this.elementRef.nativeElement;\n if (this.octicon()) {\n const iconName = this.octicon() as IconName;\n if (octicons[iconName] !== undefined) {\n const icon = this.insertSvgSafely(el, octicons[iconName].toSVG());\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 const alertIcon = this.insertSvgSafely(el, octicons['alert'].toSVG());\n if (alertIcon) {\n this.renderer.setStyle(alertIcon, 'fill', 'red');\n }\n }\n }\n }\n\n private insertSvgSafely(element: HTMLElement, svgString: string): Node | null {\n // Use document.createRange().createContextualFragment() which works better\n // in both browser and JSDOM environments compared to DOMParser\n const range = document.createRange();\n range.selectNode(element);\n const fragment = range.createContextualFragment(svgString);\n\n // Clear existing content\n while (element.firstChild) {\n this.renderer.removeChild(element, element.firstChild);\n }\n\n // Append the safely parsed SVG element\n const svgElement = fragment.firstChild;\n if (svgElement) {\n this.renderer.appendChild(element, svgElement);\n }\n\n // Return the inserted SVG element\n return svgElement;\n }\n}\n","import { ClipboardModule } from '@angular/cdk/clipboard';\nimport { DatePipe, NgStyle } from '@angular/common';\nimport { ChangeDetectionStrategy, 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 changeDetection: ChangeDetectionStrategy.OnPush\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 labels = input({\n copyRepoUrl: 'Copy repo URL',\n created: 'Created: ',\n updated: 'Updated: '\n });\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().homepage || 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()\">{{ labels().created }}{{ gitRepo().created_at | date }}</span>\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\">{{ labels().updated }}{{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span>\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>{{ labels().copyRepoUrl }}</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n","export enum GitProviders {\n github = 'GitHub',\n gitlab = 'GitLab'\n}\n","import {\n BreakpointObserver,\n BreakpointState,\n LayoutModule\n} from '@angular/cdk/layout';\nimport { CommonModule, KeyValuePipe, NgStyle } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, input, inject, signal, effect, computed, OnDestroy } from '@angular/core';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport { takeUntil, tap } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\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 KeyValuePipe\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class GitPortfolioComponent implements OnDestroy {\n private gitProviderService = inject(GitProviderService);\n private breakpointObserver = inject(BreakpointObserver);\n\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 labels = input({\n ownRepos: 'Own Repos',\n forkedRepos: 'Forked Repos',\n noOwnRepos: 'This user has not created any repositories yet',\n noForkedRepos: 'This user has not forked any repositories yet',\n copyRepoUrl: 'Copy repo URL',\n created: 'Created: ',\n updated: 'Updated: '\n });\n\n repoCardLabels = computed(() => ({\n copyRepoUrl: this.labels().copyRepoUrl,\n created: this.labels().created,\n updated: this.labels().updated\n }));\n\n loading = toSignal(this.gitProviderService.loading, { initialValue: true });\n gitProviders = GitProviders;\n currentRepo = signal<GitRepository | undefined>(undefined);\n gitRepositories = signal<GitRepositories | undefined>(undefined);\n viewport = signal('');\n\n private unsubscribe$ = new Subject<void>();\n\n constructor() {\n effect(() => {\n this.getRepositories();\n });\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.set('xsmall');\n } else if (breakpointState.breakpoints['(max-width: 959.98px)']) {\n this.viewport.set('small');\n } else {\n this.viewport.set('medium');\n }\n }),\n takeUntil(this.unsubscribe$)\n )\n .subscribe();\n }\n\n ngOnDestroy(): void {\n this.unsubscribe$.next();\n this.unsubscribe$.complete();\n }\n\n copyToClipboard(gitRepo: GitRepository): void {\n this.currentRepo.set(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.gitProviderService\n .getRepositories(this.gitProviderConfig())\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe(repositories => {\n this.gitRepositories.set(repositories);\n });\n }\n\n getGitRepositoriesOfType(\n gitRepositories: GitRepositories | undefined,\n gitProvider: string,\n type: 'own' | 'forked'\n ): GitRepository[] {\n return gitRepositories?.[gitProvider]?.[type] ?? [];\n }\n\n hasAnyRepositories(\n gitRepositories: GitRepositories | undefined,\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 | undefined,\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(); as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\" class=\"mat-headline\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">{{ labels().ownRepos }}</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() === 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 [labels]=\"repoCardLabels()\"\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() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">{{ labels().noOwnRepos }}</div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">{{ labels().forkedRepos }}</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() === 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 [labels]=\"repoCardLabels()\"\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() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">{{ labels().noForkedRepos }}</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":["i2","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;MAkBa,kBAAkB,CAAA;AAH/B,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC;QAChB,IAAA,CAAA,SAAS,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QAC3B,IAAA,CAAA,cAAc,GAAG,EAAE;AAE5B,QAAA,IAAA,CAAA,mBAAmB,GAAG,IAAI,eAAe,CAAU,IAAI,CAAC;AACxD,QAA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io/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, HttpResponse } from '@angular/common/http';\nimport { Injectable, inject } from '@angular/core';\nimport { BehaviorSubject, expand, Observable, of, reduce, zip } from 'rxjs';\nimport { map, tap, shareReplay, takeWhile } 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\ninterface CacheEntry {\n data: Observable<GitRepositories>;\n timestamp: number;\n ttl: number;\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class GitProviderService {\n private http = inject(HttpClient);\n private readonly CACHE_TTL = 10 * 60 * 1000; // 10 minutes\n private readonly MAX_CACHE_SIZE = 50;\n\n private loadingStateSubject = new BehaviorSubject<boolean>(true);\n private repositorySubject = new BehaviorSubject<GitRepositories>({});\n private repositoryCache = new Map<string, CacheEntry>();\n\n get loading(): Observable<boolean> {\n return this.loadingStateSubject.asObservable();\n }\n\n getRepositories(\n gitProviderUserNames?: GitProviderConfig\n ): Observable<GitRepositories> {\n const cacheKey = this.createCacheKey(gitProviderUserNames);\n const cachedEntry = this.repositoryCache.get(cacheKey);\n \n // Check if cache entry exists and is still valid\n if (cachedEntry && this.isCacheValid(cachedEntry)) {\n return cachedEntry.data;\n }\n \n // Clean up expired entries and manage cache size\n this.cleanupCache();\n \n const repositories$ = this.fetchRepositories(gitProviderUserNames).pipe(\n tap((repositories: GitRepositories) => {\n this.repositorySubject.next(repositories);\n this.loadingStateSubject.next(false);\n }),\n shareReplay(1)\n );\n \n this.repositoryCache.set(cacheKey, {\n data: repositories$,\n timestamp: Date.now(),\n ttl: this.CACHE_TTL\n });\n \n return repositories$;\n }\n\n private createCacheKey(config?: GitProviderConfig): string {\n if (!config) return 'default';\n const parts: string[] = [];\n if (config.github) parts.push(`gh:${config.github}`);\n if (config.gitlab) parts.push(`gl:${config.gitlab}`);\n return parts.join('|') || 'default';\n }\n\n private isCacheValid(entry: CacheEntry): boolean {\n return (Date.now() - entry.timestamp) < entry.ttl;\n }\n\n private cleanupCache(): void {\n // Remove expired entries\n for (const [key, entry] of this.repositoryCache.entries()) {\n if (!this.isCacheValid(entry)) {\n this.repositoryCache.delete(key);\n }\n }\n \n // If cache is still too large, remove oldest entries\n if (this.repositoryCache.size >= this.MAX_CACHE_SIZE) {\n const entries = Array.from(this.repositoryCache.entries())\n .sort(([, a], [, b]) => a.timestamp - b.timestamp);\n \n const toRemove = entries.slice(0, entries.length - this.MAX_CACHE_SIZE + 1);\n toRemove.forEach(([key]) => this.repositoryCache.delete(key));\n }\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 fetchAllPages<T>(firstUrl: string): Observable<T[]> {\n return this.http.get<T[]>(firstUrl, { observe: 'response' }).pipe(\n expand((response) => {\n const next = this.parseLinkHeader(response.headers.get('Link'));\n return next\n ? this.http.get<T[]>(next, { observe: 'response' })\n : of(null);\n }),\n takeWhile((response): response is HttpResponse<T[]> => response !== null),\n reduce(\n (acc: T[], response) => acc.concat(response.body ?? []),\n []\n ),\n shareReplay(1)\n );\n }\n\n private parseLinkHeader(header: string | null): string | null {\n if (!header) return null;\n const match = header.match(/<([^>]+)>;\\s*rel=\"next\"/);\n return match ? match[1] : null;\n }\n\n private fetchGithubRepositories(\n githubUser: string\n ): Observable<GitRepository[]> {\n if (githubUser !== '') {\n return this.fetchAllPages<GitRepository>(\n `https://api.github.com/users/${githubUser}/repos?per_page=100`\n );\n }\n return of([]);\n }\n\n private fetchGitlabRepositories(\n gitlabUser: string\n ): Observable<GitRepository[]> {\n if (gitlabUser !== '') {\n return this.fetchAllPages<GitRepository>(\n `https://gitlab.com/api/v4/users/${gitlabUser}/projects?per_page=100`\n );\n }\n return of([]);\n }\n\n clearCache(): void {\n this.repositoryCache.clear();\n this.loadingStateSubject.next(true);\n this.repositorySubject.next({});\n }\n}\n","import { Directive, ElementRef, input, OnInit, Renderer2, inject } 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 private elementRef = inject(ElementRef);\n private renderer = inject(Renderer2);\n\n octicon = input.required<string>();\n color = input.required<string>();\n width = input<string>();\n\n ngOnInit(): void {\n const el: HTMLElement = this.elementRef.nativeElement;\n if (this.octicon()) {\n const iconName = this.octicon() as IconName;\n if (octicons[iconName] !== undefined) {\n const icon = this.insertSvgSafely(el, octicons[iconName].toSVG());\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 const alertIcon = this.insertSvgSafely(el, octicons['alert'].toSVG());\n if (alertIcon) {\n this.renderer.setStyle(alertIcon, 'fill', 'red');\n }\n }\n }\n }\n\n private insertSvgSafely(element: HTMLElement, svgString: string): Node | null {\n // Use document.createRange().createContextualFragment() which works better\n // in both browser and JSDOM environments compared to DOMParser\n const range = document.createRange();\n range.selectNode(element);\n const fragment = range.createContextualFragment(svgString);\n\n // Clear existing content\n while (element.firstChild) {\n this.renderer.removeChild(element, element.firstChild);\n }\n\n // Append the safely parsed SVG element\n const svgElement = fragment.firstChild;\n if (svgElement) {\n this.renderer.appendChild(element, svgElement);\n }\n\n // Return the inserted SVG element\n return svgElement;\n }\n}\n","import { ClipboardModule } from '@angular/cdk/clipboard';\nimport { DatePipe, NgStyle } from '@angular/common';\nimport { ChangeDetectionStrategy, 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 changeDetection: ChangeDetectionStrategy.OnPush\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 labels = input({\n copyRepoUrl: 'Copy repo URL',\n created: 'Created: ',\n updated: 'Updated: '\n });\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().homepage || 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()\">{{ labels().created }}{{ gitRepo().created_at | date }}</span>\n <span class=\"footer-span\" [ngStyle]=\"textStyle()\">{{ labels().updated }}{{ gitRepo().pushed_at || gitRepo().last_activity_at | date }}</span>\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>{{ labels().copyRepoUrl }}</span>\n </span>\n </button>\n </span>\n </mat-card-footer>\n</mat-card>\n","export enum GitProviders {\n github = 'GitHub',\n gitlab = 'GitLab'\n}\n","import {\n BreakpointObserver,\n BreakpointState,\n LayoutModule\n} from '@angular/cdk/layout';\nimport { CommonModule, KeyValuePipe, NgStyle } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, input, inject, signal, effect, computed, OnDestroy } from '@angular/core';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport { takeUntil, tap } from 'rxjs/operators';\nimport { Subject } from 'rxjs';\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 KeyValuePipe\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class GitPortfolioComponent implements OnDestroy {\n private gitProviderService = inject(GitProviderService);\n private breakpointObserver = inject(BreakpointObserver);\n\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 labels = input({\n ownRepos: 'Own Repos',\n forkedRepos: 'Forked Repos',\n noOwnRepos: 'This user has not created any repositories yet',\n noForkedRepos: 'This user has not forked any repositories yet',\n copyRepoUrl: 'Copy repo URL',\n created: 'Created: ',\n updated: 'Updated: '\n });\n\n repoCardLabels = computed(() => ({\n copyRepoUrl: this.labels().copyRepoUrl,\n created: this.labels().created,\n updated: this.labels().updated\n }));\n\n loading = toSignal(this.gitProviderService.loading, { initialValue: true });\n gitProviders = GitProviders;\n currentRepo = signal<GitRepository | undefined>(undefined);\n gitRepositories = signal<GitRepositories | undefined>(undefined);\n viewport = signal('');\n\n private unsubscribe$ = new Subject<void>();\n\n constructor() {\n effect(() => {\n this.getRepositories();\n });\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.set('xsmall');\n } else if (breakpointState.breakpoints['(max-width: 959.98px)']) {\n this.viewport.set('small');\n } else {\n this.viewport.set('medium');\n }\n }),\n takeUntil(this.unsubscribe$)\n )\n .subscribe();\n }\n\n ngOnDestroy(): void {\n this.unsubscribe$.next();\n this.unsubscribe$.complete();\n }\n\n copyToClipboard(gitRepo: GitRepository): void {\n this.currentRepo.set(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.gitProviderService\n .getRepositories(this.gitProviderConfig())\n .pipe(takeUntil(this.unsubscribe$))\n .subscribe(repositories => {\n this.gitRepositories.set(repositories);\n });\n }\n\n getGitRepositoriesOfType(\n gitRepositories: GitRepositories | undefined,\n gitProvider: string,\n type: 'own' | 'forked'\n ): GitRepository[] {\n return gitRepositories?.[gitProvider]?.[type] ?? [];\n }\n\n hasAnyRepositories(\n gitRepositories: GitRepositories | undefined,\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 | undefined,\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(); as gitRepositories) {\n <div>\n @for (gitProvider of gitProviders | keyvalue; track gitProvider) {\n @if (hasAnyRepositories(gitRepositories, gitProvider.key)) {\n <div>\n <h1 [ngStyle]=\"textStyle()\" class=\"mat-headline\">{{ gitProvider.value }}</h1>\n @if (showOwn()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">{{ labels().ownRepos }}</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() === 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 [labels]=\"repoCardLabels()\"\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() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'own'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">{{ labels().noOwnRepos }}</div>\n }\n </div>\n </div>\n }\n @if (showForked()) {\n <div>\n <h2 [ngStyle]=\"textStyle()\" class=\"mat-headline\">{{ labels().forkedRepos }}</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() === 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 [labels]=\"repoCardLabels()\"\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() === false &&\n !hasRepositoriesOfType(\n gitRepositories,\n gitProvider.key,\n 'forked'\n )\n ) {\n <div [ngStyle]=\"textStyle()\">{{ labels().noForkedRepos }}</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":["i2","i1"],"mappings":";;;;;;;;;;;;;;;;;;;;MAkBa,kBAAkB,CAAA;AAH/B,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC;QAChB,IAAA,CAAA,SAAS,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QAC3B,IAAA,CAAA,cAAc,GAAG,EAAE;AAE5B,QAAA,IAAA,CAAA,mBAAmB,GAAG,IAAI,eAAe,CAAU,IAAI,CAAC;AACxD,QAAA,IAAA,CAAA,iBAAiB,GAAG,IAAI,eAAe,CAAkB,EAAE,CAAC;AAC5D,QAAA,IAAA,CAAA,eAAe,GAAG,IAAI,GAAG,EAAsB;AA0JxD,IAAA;AAxJC,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,mBAAmB,CAAC,YAAY,EAAE;IAChD;AAEA,IAAA,eAAe,CACb,oBAAwC,EAAA;QAExC,MAAM,QAAQ,GAAG,IAAI,CAAC,cAAc,CAAC,oBAAoB,CAAC;QAC1D,MAAM,WAAW,GAAG,IAAI,CAA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AAY;wBACZ,YAAY;wBACZ,OAAO;wBACP,wBAAwB;wBACxB,iBAAiB;wBACjB;qBACD,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,o5JAAA,EAAA,MAAA,EAAA,CAAA,83BAAA,CAAA,EAAA;;;AEhCjD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tehw0lf/git-portfolio",
3
- "version": "0.21.10",
3
+ "version": "0.22.0",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/tehw0lf/tehwol.fi.git",
6
6
  "repository": {
@@ -8,12 +8,12 @@
8
8
  "url": "git+https://github.com/tehw0lf/tehwol.fi.git"
9
9
  },
10
10
  "peerDependencies": {
11
- "@angular/animations": "21.2.8",
12
- "@angular/cdk": "21.2.6",
13
- "@angular/common": "21.2.8",
14
- "@angular/core": "21.2.8",
15
- "@angular/material": "21.2.6",
16
- "@primer/octicons": "19.24.0",
11
+ "@angular/animations": "22.0.2",
12
+ "@angular/cdk": "22.0.2",
13
+ "@angular/common": "22.0.2",
14
+ "@angular/core": "22.0.2",
15
+ "@angular/material": "22.0.2",
16
+ "@primer/octicons": "19.28.1",
17
17
  "@tehw0lf/mvc": "0.0.8",
18
18
  "github-language-colors": "1.0.0"
19
19
  },