-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain-es2015.js.map
1 lines (1 loc) · 49.6 KB
/
main-es2015.js.map
1
{"version":3,"sources":["./$_lazy_route_resource lazy namespace object","./src/app/app-routing.module.ts","./src/app/app.module.ts","./src/app/components/app.component.ts","./src/app/views/app/app.component.html","./src/app/components/card.component.ts","./src/app/views/card/card.component.html","./src/app/components/login.component.ts","./src/app/views/login/login.component.html","./src/app/components/project-view.component.ts","./src/app/views/project-view/project-view.component.html","./src/app/components/projects-list.component.ts","./src/app/views/projects-list/projects-list.component.html","./src/app/core/services/auth.service.ts","./src/app/core/services/fav.service.ts","./src/app/core/services/github.service.ts","./src/app/core/services/project.service.ts","./src/app/core/utils/markdown-parse.pipe.ts","./src/app/core/utils/safe-html.pipe.ts","./src/environments/environment.ts","./src/main.ts"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,wE;;;;;;;;;;;;ACZA;AAAA;AAAA;AAAA;AAAyC;AACc;;;AAEvD,MAAM,MAAM,GAAW,EAAE,CAAC;AAMnB,MAAM,gBAAgB;;+FAAhB,gBAAgB;0JAAhB,gBAAgB,kBAHlB,CAAC,4DAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC7B,4DAAY;mIAEX,gBAAgB,uFAFjB,4DAAY;6FAEX,gBAAgB;cAJ5B,sDAAQ;eAAC;gBACR,OAAO,EAAE,CAAC,4DAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;gBACvC,OAAO,EAAE,CAAC,4DAAY,CAAC;aACxB;;;;;;;;;;;;;;ACRD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0D;AACjB;AACsC;AAClC;AAEU;AACuB;AAC3B;AACI;AAEC;AACE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;;;;;;GAMG;AACH,mEAAmE;;;;;;;;;;;;;ACfnE;AAAA;AAAA;AAAA;AAAA;AAA+C;AAIU;;;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,2EAAwB,gBAAgB,CAAC,0DAAU;KAChD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC","file":"main-es2015.js","sourcesContent":["function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./$$_lazy_route_resource lazy recursive\";","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\n\nconst routes: Routes = [];\n\n@NgModule({\n imports: [RouterModule.forRoot(routes)],\n exports: [RouterModule],\n})\nexport class AppRoutingModule {}\n","import { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { FormsModule } from '@angular/forms';\n\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { AngularSplitModule } from 'angular-split';\nimport { MonacoEditorModule } from 'ngx-monaco-editor';\n\nimport { AppRoutingModule } from './app-routing.module';\nimport { AppComponent } from './components/app.component';\nimport { ProjectsListComponent } from './components/projects-list.component';\nimport { GithubService } from './core/services/github.service';\nimport { ProjectService } from './core/services/project.service';\nimport { ProjectViewComponent } from './components/project-view.component';\nimport { MarkdownParsePipe } from './core/utils/markdown-parse.pipe';\nimport { SafeHtmlPipe } from './core/utils/safe-html.pipe';\nimport { CardComponent } from './components/card.component';\nimport { AuthService } from './core/services/auth.service';\nimport { LoginComponent } from './components/login.component';\nimport { FavService } from './core/services/fav.service';\n\n@NgModule({\n declarations: [\n AppComponent,\n ProjectsListComponent,\n ProjectViewComponent,\n MarkdownParsePipe,\n SafeHtmlPipe,\n CardComponent,\n LoginComponent,\n ],\n imports: [\n BrowserModule,\n AppRoutingModule,\n AngularSplitModule.forRoot(),\n BrowserAnimationsModule,\n MatIconModule,\n MonacoEditorModule.forRoot(),\n FormsModule,\n MatProgressSpinnerModule,\n ],\n providers: [AuthService, GithubService, ProjectService, FavService],\n bootstrap: [AppComponent],\n})\nexport class AppModule {}\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { GithubService } from '../core/services/github.service';\nimport { ProjectService } from '../core/services/project.service';\nimport { SplitComponent } from 'angular-split';\nimport { AuthService } from '../core/services/auth.service';\nimport axios from 'axios';\n\n@Component({\n selector: 'app-root',\n templateUrl: '../views/app/app.component.html',\n styleUrls: ['../views/app/app.component.styl'],\n})\nexport class AppComponent implements OnInit {\n @ViewChild(SplitComponent) splitComponent: SplitComponent;\n\n constructor(\n public githubService: GithubService,\n public projectService: ProjectService,\n public authService: AuthService,\n private route: ActivatedRoute,\n ) {}\n\n ngOnInit(): void {\n this.route.queryParams.subscribe(map => {\n if (map.code && map.code.length === 20) {\n axios.get(`https://pro-jects.now.sh/api/authorize?code=${map.code}`).then(res => {\n if (res.data.access_token) {\n this.authService.setUser(res.data.access_token);\n\n window.location.href = '/';\n }\n });\n }\n });\n }\n\n onColumnSelected(): void {\n this.splitComponent.setVisibleAreaSizes([0, 100]);\n }\n\n logout(): void {\n this.authService.logoutUser();\n }\n}\n","<div class=\"wrapper\">\n <nav class=\"nav\">\n <div class=\"nav-block\"></div>\n <div class=\"nav-block\">\n <img\n src=\"/assets/images/GitHub-Mark-Light-64px.png\"\n alt=\"GitHub Mark\"\n class=\"nav-block__image\"\n style=\"margin: 0 5px;\"\n />\n <h3 class=\"nav-block__heading\">(pro)jects</h3>\n </div>\n <div class=\"nav-block\">\n <details *ngIf=\"authService.isLoggedIn()\" class=\"user-details__wrapper\">\n <summary class=\"user-details__summary\">\n <img\n src=\"{{ githubService.ghUser.avatar_url }}\"\n *ngIf=\"githubService.ghUser\"\n class=\"nav-block__image nav-block__image--rounded\"\n />\n <mat-icon>arrow_drop_down</mat-icon>\n </summary>\n <div class=\"user-details\">\n <p>\n Signed in as <b>{{ githubService.ghUser ? githubService.ghUser.login : '...' }}</b>\n </p>\n <ul class=\"user-details__list\">\n <li (click)=\"logout()\">Log out</li>\n </ul>\n </div>\n </details>\n </div>\n </nav>\n <div class=\"app\" *ngIf=\"authService.isLoggedIn(); else loginScreen\">\n <as-split unit=\"percent\" direction=\"horizontal\" useTransition=\"true\">\n <as-split-area size=\"25\">\n <app-projects-list></app-projects-list>\n </as-split-area>\n <as-split-area size=\"75\" minSize=\"50\">\n <app-project-view (columnSelected)=\"onColumnSelected()\"></app-project-view>\n </as-split-area>\n </as-split>\n </div>\n <ng-template #loginScreen>\n <app-login style=\"flex: 1; overflow: hidden;\"></app-login>\n </ng-template>\n <div class=\"bar\">\n <div>\n Project:\n <b>{{\n projectService.currentProject\n ? projectService.currentProject.name\n : \"You haven't selected any project yet\"\n }}</b>\n </div>\n <div></div>\n <div style=\"text-align: right;\">\n <ng-container *ngIf=\"authService.isLoggedIn(); else notLoggedInMessage\">\n Authenticated as <b>{{ githubService.ghUser ? githubService.ghUser.login : '...' }}</b>\n </ng-container>\n <ng-template #notLoggedInMessage>\n Not logged in\n </ng-template>\n </div>\n </div>\n</div>\n","import { Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';\nimport { GithubService } from '../core/services/github.service';\nimport { ProjectService } from '../core/services/project.service';\n\nenum Direction {\n Up,\n Down,\n}\n\n@Component({\n selector: 'app-card',\n templateUrl: '../views/card/card.component.html',\n styleUrls: ['../views/card/card.component.styl'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class CardComponent {\n @Input() card: any;\n @Input() column: any;\n @Output() moveUp = new EventEmitter();\n @Output() moveDown = new EventEmitter();\n @Output() delete = new EventEmitter();\n isEditing = false;\n isBusy = false;\n\n editorOptions = { theme: 'vs-dark', language: 'markdown', automaticLayout: true };\n editorContent = '';\n\n constructor(private githubService: GithubService, private projectService: ProjectService) {}\n\n onMove(direction: Direction) {\n if (direction === Direction.Up) {\n this.moveUp.emit();\n } else if (direction === Direction.Down) {\n this.moveDown.emit();\n }\n }\n\n startEditing() {\n this.isEditing = true;\n this.editorContent = this.card.note;\n }\n\n async saveCard(): Promise<void> {\n this.isBusy = true;\n await this.githubService.saveCard(this.card.id, this.editorContent);\n this.isBusy = false;\n }\n\n async closeEditor() {\n this.isBusy = true;\n await this.projectService.refreshColumnCards(this.column);\n this.editorContent = '';\n this.isEditing = false;\n this.isBusy = false;\n }\n\n async saveCardAndCloseEditor() {\n this.isBusy = true;\n await this.githubService.saveCard(this.card.id, this.editorContent);\n await this.projectService.refreshColumnCards(this.column);\n this.editorContent = '';\n this.isEditing = false;\n this.isBusy = false;\n }\n\n onDelete() {\n this.delete.emit();\n }\n}\n","<div class=\"card\">\n <div class=\"card__bar\">\n <ng-container *ngIf=\"!isEditing; else editorButtons\">\n <div>\n <mat-icon class=\"card__bar__icon\" (click)=\"onMove(0)\">arrow_upward</mat-icon>\n <mat-icon class=\"card__bar__icon\" (click)=\"onMove(1)\">arrow_downward</mat-icon>\n </div>\n <div>\n <mat-icon class=\"card__bar__icon\" (click)=\"onDelete()\">delete</mat-icon>\n <mat-icon class=\"card__bar__icon\" (click)=\"startEditing()\">create</mat-icon>\n </div>\n </ng-container>\n <ng-template #editorButtons>\n <div>\n <mat-icon class=\"card__bar__icon icon__save card__bar__icon--big\" (click)=\"saveCard()\"\n >save</mat-icon\n >\n </div>\n <div>\n <mat-spinner diameter=\"20\" *ngIf=\"isBusy\"></mat-spinner>\n </div>\n <div>\n <mat-icon\n class=\"card__bar__icon icon__done card__bar__icon--big\"\n (click)=\"saveCardAndCloseEditor()\"\n >done</mat-icon\n >\n <mat-icon class=\"card__bar__icon icon__close card__bar__icon--big\" (click)=\"closeEditor()\"\n >close</mat-icon\n >\n </div>\n </ng-template>\n </div>\n <div\n class=\"card__content\"\n [innerHTML]=\"card.note | markdownParse | safeHtml\"\n *ngIf=\"!isEditing; else editor\"\n ></div>\n <ng-template #editor>\n <div class=\"card__editor\">\n <ngx-monaco-editor\n [options]=\"editorOptions\"\n [(ngModel)]=\"editorContent\"\n style=\"height: 100%;\"\n ></ngx-monaco-editor>\n </div>\n </ng-template>\n</div>\n","import { Component, HostListener } from '@angular/core';\nimport { AuthService } from '../core/services/auth.service';\n\n@Component({\n selector: 'app-login',\n templateUrl: '../views/login/login.component.html',\n styleUrls: ['../views/login/login.component.styl'],\n})\nexport class LoginComponent {\n private keystrokesHistory = '';\n\n constructor(private authService: AuthService) {}\n\n @HostListener('document:keydown', ['$event'])\n onKeyDown(e) {\n this.keystrokesHistory += e.key;\n\n if (this.keystrokesHistory === 'dev') {\n const token = prompt(\n 'Entered dev mode. Now you can enter the access token manually, without using oauth',\n );\n if (token) {\n this.authService.setUser(token);\n }\n this.keystrokesHistory = '';\n }\n }\n\n login() {\n const clientId = '435bb3ee9ba9d983cb60';\n window.location.href = `https://github.com/login/oauth/authorize?scope=repo%20write%3Aorg%20user&client_id=${clientId}`;\n }\n}\n","<div class=\"login\">\n <h1>(pro)jects</h1>\n <p>A better UI for GitHub Projects 📟</p>\n <button class=\"login__button\" (click)=\"login()\">\n Sign in with GitHub <img src=\"/assets/images/GitHub-Mark-Light-32px.png\" />\n </button>\n</div>\n","import {\n Component,\n OnInit,\n Output,\n EventEmitter,\n ViewEncapsulation,\n ViewChild,\n} from '@angular/core';\nimport devpun from 'devpun';\nimport { ProjectService } from '../core/services/project.service';\nimport { GithubService } from '../core/services/github.service';\nimport { CardComponent } from './card.component';\n\n// @ts-ignore\nArray.prototype.move = function (from, to) {\n this.splice(to, 0, this.splice(from, 1)[0]);\n};\n\n@Component({\n selector: 'app-project-view',\n templateUrl: '../views/project-view/project-view.component.html',\n styleUrls: ['../views/project-view/project-view.component.styl'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class ProjectViewComponent implements OnInit {\n @Output() columnSelected = new EventEmitter();\n selectedColumn: number;\n\n @ViewChild(CardComponent) firstCard: CardComponent;\n\n constructor(public projectService: ProjectService, private githubService: GithubService) {}\n\n ngOnInit(): void {\n this.projectService.projectChanged.subscribe(() => {\n this.selectedColumn = undefined;\n });\n }\n\n onColumnClicked(column): void {\n if (this.selectedColumn === undefined) {\n this.columnSelected.emit();\n }\n this.selectedColumn = column;\n }\n\n moveCard(card, pos, oldPos): void {\n const currentColumn = this.projectService.currentProject.columns[this.selectedColumn];\n if (pos >= 0 && pos < currentColumn.cards.length) {\n let positionFormatted;\n switch (true) {\n case pos === 0:\n positionFormatted = 'top';\n break;\n case pos === currentColumn.cards.length - 1:\n positionFormatted = 'bottom';\n break;\n default:\n if (currentColumn.cards[pos - 1].id === card.id) {\n positionFormatted = `after:${currentColumn.cards[pos].id}`;\n } else {\n positionFormatted = `after:${currentColumn.cards[pos - 1].id}`;\n }\n }\n\n this.githubService.moveCard(card.id, positionFormatted);\n this.projectService.currentProject.columns[this.selectedColumn].cards.move(oldPos, pos);\n }\n }\n\n deleteCard(card, pos): void {\n if (confirm('Are you sure to delete this card?')) {\n this.projectService.currentProject.columns[this.selectedColumn].cards.splice(pos, 1);\n this.githubService.deleteCard(card.id);\n }\n }\n\n addColumn() {\n const name = prompt('Give title for the column');\n if (name && name !== '') {\n this.githubService\n .createColumn(this.projectService.currentProject.id, name)\n .then(({ data }) => {\n this.projectService.refreshProjectColumns().then(() => {\n const index = this.projectService.currentProject.columns.findIndex(\n col => col.id === data.id,\n );\n this.onColumnClicked(index);\n });\n });\n }\n }\n\n addCard() {\n const joke = devpun.random();\n this.githubService\n .createCard(this.projectService.currentProject.columns[this.selectedColumn].id, joke)\n .then(() => {\n this.projectService.refreshColumnCards(this.selectedColumn).then(() => {\n document.querySelector('.cards-view').scroll({ top: 0, behavior: 'smooth' });\n\n // Ridiculous monkey patch. Don't do this at home, kids\n setTimeout(() => {\n this.firstCard.startEditing();\n }, 0);\n });\n });\n }\n\n deleteColumn(column, pos) {\n if (confirm('Are you sure to delete this column?')) {\n this.projectService.currentProject.columns.splice(pos, 1);\n this.githubService.deleteColumn(column.id);\n }\n }\n}\n","<div class=\"project-view__wrapper\" *ngIf=\"projectService.currentProject; else noProjectBlock\">\n <div class=\"project-view\">\n <div class=\"columns-list__wrapper\">\n <div class=\"columns-list__header\">\n <span>Column</span>\n <mat-icon\n style=\"\n width: 12px;\n height: 12px;\n font-size: 12px;\n transform: scale(1.25);\n cursor: pointer;\n \"\n (click)=\"addColumn()\"\n >add</mat-icon\n >\n </div>\n <ul class=\"columns-list\">\n <li\n *ngFor=\"let column of this.projectService.currentProject.columns; index as i\"\n class=\"columns-list__item__wrapper\"\n [class]=\"\n selectedColumn !== undefined\n ? this.projectService.currentProject.columns[selectedColumn].id === column.id\n ? 'columns-list__item__wrapper--selected'\n : ''\n : ''\n \"\n >\n <div (click)=\"onColumnClicked(i)\" class=\"columns-list__item\">\n {{ column.name }}\n </div>\n <span class=\"delete-button\" (click)=\"deleteColumn(column, i)\">delete</span>\n </li>\n </ul>\n </div>\n <div class=\"cards-view cards-view--switch-view\" *ngIf=\"selectedColumn !== undefined\">\n <app-card\n *ngFor=\"\n let card of this.projectService.currentProject.columns[selectedColumn].cards;\n index as i\n \"\n (moveUp)=\"moveCard(card, i - 1, i)\"\n (moveDown)=\"moveCard(card, i + 1, i)\"\n (delete)=\"deleteCard(card, i)\"\n [card]=\"card\"\n [column]=\"selectedColumn\"\n >\n </app-card>\n <button class=\"cards-view__add-button\" (click)=\"addCard()\">Add a new card</button>\n </div>\n </div>\n</div>\n<ng-template #noProjectBlock>\n <div class=\"no-project\">\n No project selected\n </div>\n</ng-template>\n","import { Component, OnInit } from '@angular/core';\nimport { GithubService } from '../core/services/github.service';\nimport { ProjectService } from '../core/services/project.service';\nimport { FavService } from '../core/services/fav.service';\n\n@Component({\n selector: 'app-projects-list',\n templateUrl: '../views/projects-list/projects-list.component.html',\n styleUrls: ['../views/projects-list/projects-list.component.styl'],\n})\nexport class ProjectsListComponent implements OnInit {\n userProjects: any[] = [];\n\n constructor(\n private githubService: GithubService,\n private projectService: ProjectService,\n public favService: FavService,\n ) {}\n\n ngOnInit(): void {\n this.getProjects();\n }\n\n getProjects(): void {\n this.githubService.getUserProjects().then(projects => {\n this.userProjects = projects;\n this.favService.getFavProjects();\n });\n }\n\n onProjectClicked(projectId): void {\n this.projectService.setCurrentProject(projectId);\n }\n\n favProject(projectId): void {\n this.favService.addFavProject(this.userProjects.find(proj => proj.id === projectId));\n }\n\n removeFavProject(projectId): void {\n this.favService.removeFavProject(projectId);\n }\n}\n","<div class=\"projects-list__wrapper\">\n <h3>Favourite projects</h3>\n <div class=\"projects-list__empty-caption\" *ngIf=\"!this.favService.favProjects.length\">\n You haven't added any favourite projects\n </div>\n <div class=\"projects-list\">\n <div class=\"projects-list__item\" *ngFor=\"let project of this.favService.favProjects\">\n <img src=\"/assets/images/GitHub-Star.svg\" alt=\"star\" class=\"projects-list__item__icon\" /><span\n (click)=\"onProjectClicked(project.id)\"\n class=\"projects-list__item__label\"\n >\n {{ project.name }}\n </span>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 12 16\"\n width=\"12\"\n height=\"16\"\n class=\"projects-list__item__action\"\n (click)=\"removeFavProject(project.id)\"\n >\n <path\n fill-rule=\"evenodd\"\n d=\"M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z\"\n ></path>\n </svg>\n </div>\n </div>\n <h3>User's projects</h3>\n <div class=\"projects-list__empty-caption\" *ngIf=\"!userProjects.length\">\n You haven't created projects associated to your account\n </div>\n <div class=\"projects-list\">\n <div class=\"projects-list__item\" *ngFor=\"let project of userProjects\">\n <img\n src=\"/assets/images/GitHub-Project.svg\"\n alt=\"githubProject\"\n class=\"projects-list__item__icon\"\n /><span class=\"projects-list__item__label\" (click)=\"onProjectClicked(project.id)\">\n {{ project.name }}\n </span>\n <svg\n class=\"projects-list__item__action\"\n (click)=\"favProject(project.id)\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 14 16\"\n width=\"14\"\n height=\"16\"\n >\n <path\n fill-rule=\"evenodd\"\n d=\"M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z\"\n ></path>\n </svg>\n </div>\n </div>\n</div>\n","import { EventEmitter, Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AuthService {\n public loggedIn = new EventEmitter();\n public loggedOut = new EventEmitter();\n\n constructor() {}\n\n setUser(token): void {\n window.localStorage.setItem('githubToken', token);\n this.loggedIn.emit();\n }\n\n getUser(): string {\n return window.localStorage.getItem('githubToken');\n }\n\n logoutUser(): void {\n window.localStorage.removeItem('githubToken');\n this.loggedOut.emit();\n }\n\n isLoggedIn(): boolean {\n return !!window.localStorage.getItem('githubToken');\n }\n}\n","import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class FavService {\n public favProjects: any[] = [];\n\n addFavProject(project: any): void {\n this.getFavProjects();\n if (!this.favProjects.find(proj => proj.id === project.id)) {\n this.favProjects.push(project);\n localStorage.setItem('favProjects', JSON.stringify(this.favProjects));\n }\n }\n\n getFavProjects() {\n this.favProjects = JSON.parse(localStorage.getItem('favProjects')) || [];\n }\n\n removeFavProject(projectId: number): void {\n this.getFavProjects();\n const index = this.favProjects.findIndex(proj => proj.id === projectId);\n if (typeof index === 'number') {\n this.favProjects.splice(index, 1);\n localStorage.setItem('favProjects', JSON.stringify(this.favProjects));\n }\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Octokit } from '@octokit/rest';\n\nimport { AuthService } from './auth.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class GithubService {\n private octokit: Octokit;\n private allProjects: any[];\n ghUser: any;\n\n constructor(private authService: AuthService) {\n if (authService.isLoggedIn()) {\n this.octokit = new Octokit({ auth: authService.getUser(), userAgent: '(pro)jects v.0.1.0' });\n }\n\n this.authService.loggedIn.subscribe(() => {\n if (this.authService.isLoggedIn()) {\n this.octokit = new Octokit({\n auth: authService.getUser(),\n userAgent: '(pro)jects v.0.1.0',\n });\n }\n });\n\n this.authService.loggedOut.subscribe(() => {\n if (!this.authService.isLoggedIn()) {\n this.octokit = undefined;\n }\n });\n }\n\n async checkUser(): Promise<boolean> {\n if (this.octokit) {\n if (this.ghUser) {\n return true;\n } else {\n let res;\n try {\n res = await this.octokit.users.getAuthenticated();\n } catch (err) {\n this.authService.logoutUser();\n return false;\n }\n this.ghUser = res.data;\n return true;\n }\n }\n return false;\n }\n\n async getUserProjects(): Promise<any> {\n if (await this.checkUser()) {\n const projects = await this.octokit.projects.listForUser({ username: this.ghUser.login });\n this.allProjects = projects.data;\n return projects.data;\n } else {\n throw new Error('User not logged in');\n }\n }\n\n async getProject(projectId: number): Promise<any> {\n if (await this.checkUser()) {\n return (\n this.allProjects.find(data => data.id === projectId) ||\n (await this.octokit.projects.get({ project_id: projectId })).data\n );\n } else {\n throw new Error('User not logged in');\n }\n }\n\n async getProjectColumns(projectId: number): Promise<any> {\n if (await this.checkUser()) {\n return (\n await this.octokit.projects.listColumns({\n project_id: projectId,\n headers: {\n 'If-None-Match': '',\n },\n })\n ).data;\n } else {\n throw new Error('User not logged in');\n }\n }\n\n async getColumnCards(columnId: number): Promise<any> {\n if (await this.checkUser()) {\n return (\n await this.octokit.projects.listCards({\n column_id: columnId,\n headers: {\n 'If-None-Match': '',\n },\n })\n ).data;\n } else {\n throw new Error('User not logged in');\n }\n }\n\n async moveCard(cardId, pos): Promise<void> {\n if (await this.checkUser()) {\n await this.octokit.projects.moveCard({ card_id: cardId, position: pos });\n } else {\n throw new Error('User not logged in');\n }\n }\n\n async saveCard(cardId, note): Promise<void> {\n if (await this.checkUser()) {\n await this.octokit.projects.updateCard({ card_id: cardId, note });\n } else {\n throw new Error('User not logged in');\n }\n }\n\n async deleteCard(cardId): Promise<void> {\n if (await this.checkUser()) {\n await this.octokit.projects.deleteCard({ card_id: cardId });\n } else {\n throw new Error('User not logged in');\n }\n }\n\n async createColumn(projectId, name): Promise<any> {\n if (await this.checkUser()) {\n return await this.octokit.projects.createColumn({ project_id: projectId, name });\n }\n }\n\n async createCard(columnId, note): Promise<void> {\n if (await this.checkUser()) {\n await this.octokit.projects.createCard({ column_id: columnId, note });\n } else {\n throw new Error('User not logged in');\n }\n }\n\n async deleteColumn(columnId): Promise<void> {\n if (await this.checkUser()) {\n await this.octokit.projects.deleteColumn({ column_id: columnId });\n } else {\n throw new Error('User not logged in');\n }\n }\n}\n","import { Injectable, EventEmitter } from '@angular/core';\nimport { GithubService } from './github.service';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class ProjectService {\n currentProject: any;\n projectChanged: EventEmitter<any> = new EventEmitter();\n\n constructor(private githubService: GithubService) {}\n\n async setCurrentProject(projectId: number): Promise<void> {\n if (!(this.currentProject && this.currentProject.id === projectId)) {\n this.currentProject = await this.githubService.getProject(projectId);\n this.currentProject.columns = await this.githubService.getProjectColumns(projectId);\n\n this.projectChanged.emit(this.currentProject);\n\n for (const col of this.currentProject.columns) {\n col.cards = await this.githubService.getColumnCards(col.id);\n }\n }\n }\n\n async refreshProjectColumns(): Promise<void> {\n this.currentProject.columns = await this.githubService.getProjectColumns(\n this.currentProject.id,\n );\n for (const col of this.currentProject.columns) {\n col.cards = await this.githubService.getColumnCards(col.id);\n }\n }\n\n async refreshProjectCards(): Promise<void> {\n for (const col of this.currentProject.columns) {\n col.cards = await this.githubService.getColumnCards(col.id);\n }\n }\n\n async refreshColumnCards(col): Promise<void> {\n this.currentProject.columns[col].cards = await this.githubService.getColumnCards(\n this.currentProject.columns[col].id,\n );\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport marked from 'marked';\n\n@Pipe({\n name: 'markdownParse',\n})\nexport class MarkdownParsePipe implements PipeTransform {\n transform(value: string, ...args: any[]): string {\n return marked(value);\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\n@Pipe({\n name: 'safeHtml',\n})\nexport class SafeHtmlPipe implements PipeTransform {\n constructor(private sanitizer: DomSanitizer) {}\n\n transform(html) {\n return this.sanitizer.bypassSecurityTrustHtml(html);\n }\n}\n","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n production: false\n};\n\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\n","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.error(err));\n"],"sourceRoot":"webpack:///"}