-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-es2015.js.map
1 lines (1 loc) · 53.9 KB
/
main-es2015.js.map
1
{"version":3,"sources":["./$_lazy_route_resource lazy namespace object","./src/app/app.component.html","./src/app/home/home.component.html","./src/app/modal/modal.component.html","./src/app/taskdetails/taskdetails.component.html","./src/app/tasktable/tasktable.component.html","./node_modules/tslib/tslib.es6.js","./src/app/app-routing.module.ts","./src/app/app.component.css","./src/app/app.component.ts","./src/app/app.module.ts","./src/app/home/home.component.css","./src/app/home/home.component.ts","./src/app/modal/modal.component.css","./src/app/modal/modal.component.ts","./src/app/table.service.ts","./src/app/taskdetails/taskdetails.component.css","./src/app/taskdetails/taskdetails.component.ts","./src/app/tasktable/tasktable.component.css","./src/app/tasktable/tasktable.component.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;AAAe,6R;;;;;;;;;;;;ACAf;AAAe,kG;;;;;;;;;;;;ACAf;AAAe,6LAA8H,QAAQ,mvCAAmvC,uBAAuB,QAAQ,0R;;;;;;;;;;;;ACAv6C;AAAe,klBAAmhB,YAAY,2HAA2H,cAAc,kIAAkI,qBAAqB,6HAA6H,cAAc,wkB;;;;;;;;;;;;ACAz9B;AAAe,01BAA2xB,QAAQ,mUAAmU,UAAU,wVAAwV,iBAAiB,wSAAwS,UAAU,+jDAA+jD,6RAA6R,uHAAuH,4B;;;;;;;;;;;;ACA7uH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA,+DAA+D;AAC/D;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB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QACtE,IAAI,CAAC,UAAU,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACjC,IAAI,CAAC,UAAU,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;IAC7C,CAAC;CAMF;;YAlEmC,2DAAY;YAAiB,2DAAS;;AARjC;IAAtC,+DAAS,CAAC,0DAAQ,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;iDAAsB;AACrB;IAAtC,+DAAS,CAAC,yDAAO,EAAG,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;gDAAe;AACV;IAA1C,+DAAS,CAAC,8DAAY,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;qDAAyB;AAJxD,kBAAkB;IAN9B,+DAAS,CAAC;QACT,QAAQ,EAAE,eAAe;QACzB,+NAAyC;;KAE1C,CAAC;GAEW,kBAAkB,CA4E9B;AA5E8B;;;;;;;;;;;;;ACd/B;AAAA;AAAA;AAAA,gFAAgF;AAChF,0EAA0E;AAC1E,gEAAgE;;AAEzD,MAAM,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;CAClB,CAAC;AAEF;;;;;;GAMG;AACH,mEAAmE;;;;;;;;;;;;;;;;;;;;ACfpB;AAC4B;AAE9B;AACY;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,gGAAsB,EAAE,CAAC,eAAe,CAAC,yDAAS,CAAC;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\";","export default \"<!-- Toolbar -->\\n<div class=\\\"toolbar\\\" role=\\\"banner\\\">\\n <a href=\\\".\\\"><span>Task Manager App for Flipkod</span></a>\\n</div>\\n\\n<div class=\\\"content\\\" role=\\\"main\\\">\\n\\n <router-outlet></router-outlet>\\n\\n</div>\\n\\n\"","export default \"<app-tasktable></app-tasktable>\\n\"","export default \"<!-- Modal displaying when user clicks on Action button -->\\n<h1 mat-dialog-title *ngIf=\\\"action != 'Delete One'\\\"><strong>{{action}} Task</strong></h1>\\n<h1 mat-dialog-title *ngIf=\\\"action == 'Delete One'\\\"><strong>Delete Task</strong></h1>\\n<div mat-dialog-content class=\\\"myModal\\\">\\n <mat-form-field [hidden]=\\\"true\\\" *ngIf=\\\"action != 'Delete' && action !='Delete One'\\\">\\n <input type=\\\"number\\\" min=1 placeholder=\\\"ID\\\" matInput [(ngModel)]=\\\"local_data.id\\\">\\n </mat-form-field>\\n <mat-form-field *ngIf=\\\"action != 'Delete' && action !='Delete One'\\\">\\n <input type=\\\"text\\\" placeholder=\\\"Name\\\" matInput [(ngModel)]=\\\"local_data.name\\\">\\n </mat-form-field>\\n <mat-form-field *ngIf=\\\"action != 'Delete' && action !='Delete One'\\\">\\n <input type=\\\"text\\\" placeholder=\\\"Description\\\" matInput [(ngModel)]=\\\"local_data.description\\\">\\n </mat-form-field>\\n <mat-form-field [hidden]=\\\"true\\\" *ngIf=\\\"action != 'Delete' && action !='Delete One'\\\">\\n <input type=\\\"text\\\" placeholder=\\\"Date\\\" matInput [(ngModel)]=\\\"local_data.date\\\">\\n </mat-form-field>\\n <p *ngIf=\\\"action == 'Delete'\\\">Are you sure you want to delete this records?</p>\\n <p *ngIf=\\\"action == 'Delete One'\\\">Are you sure you want to delete this record?</p>\\n</div>\\n<div mat-dialog-actions>\\n <button type=\\\"button\\\" mat-raised-button color=\\\"primary\\\" (click)=\\\"doAction()\\\" *ngIf=\\\"action != 'Delete One'; else elseTemplate\\\">{{action}}</button>\\n <button type=\\\"button\\\" mat-raised-button color=\\\"warn\\\" (click)=\\\"closeDialog()\\\">Cancel</button>\\n <ng-template #elseTemplate>\\n <button type=\\\"button\\\" mat-raised-button color=\\\"primary\\\" (click)=\\\"doAction()\\\">Delete</button>\\n </ng-template>\\n \\n</div>\"","export default \"<div class=\\\"content\\\">\\n <div class=\\\"taskWindow\\\">\\n\\n <div class=\\\"title\\\">\\n <button class=\\\"button\\\" style=\\\"vertical-align:middle\\\" routerLink=\\\"../../home\\\"><span>Return back\\n </span></button>\\n <div class=\\\"text\\\">\\n Task details:\\n </div>\\n\\n </div>\\n\\n <div class=\\\"taskDesc\\\">\\n\\n <div class=\\\"row justify-content-center\\\">\\n <div class=\\\"col-md-1 col-lg-1\\\">\\n <strong>ID: </strong> {{post[0].id}}\\n </div>\\n <div class=\\\"col-md-4 col-lg-4\\\">\\n <strong>Name: </strong> {{post[0].name}}\\n </div>\\n <div class=\\\"col-md-4 col-lg-4\\\">\\n <strong>Description: </strong> {{post[0].description}}\\n\\n </div>\\n <div class=\\\"col-md-3 col-lg-3\\\">\\n <strong>Date: </strong> {{post[0].date}}\\n\\n </div>\\n </div>\\n\\n <div class=\\\"taskButtons row justify-content-center\\\">\\n <div class=\\\"cold-md-12 col-lg-12\\\">\\n <button type=\\\"button\\\" mat-raised-button color=\\\"primary\\\"\\n (click)=\\\"openDialog('Update', post[0])\\\">Edit</button>\\n <button type=\\\"button\\\" mat-raised-button color=\\\"warn\\\"\\n (click)=\\\"openDialog('Delete One', post[0])\\\">Delete</button>\\n\\n </div>\\n\\n </div>\\n\\n </div>\\n </div>\\n</div>\"","export default \"<!-- Search bar -->\\n<div id=\\\"searchBar\\\" fxLayout fxLayoutAlign=\\\"start start\\\">\\n <mat-form-field fxFlex=\\\"30%\\\">\\n <input matInput type=\\\"text\\\" (keyup)=\\\"doFilter($event.target.value)\\\" placeholder=\\\"Search\\\">\\n </mat-form-field>\\n</div>\\n\\n\\n<!-- Table section where material table is used -->\\n<div id=\\\"table-section\\\">\\n <mat-table [dataSource]=\\\"dataSource\\\" matSort class=\\\"mat-elevation-z8\\\">\\n\\n <!-- ID Column -->\\n <ng-container matColumnDef=\\\"id\\\">\\n <mat-header-cell *matHeaderCellDef mat-sort-header>\\n ID\\n </mat-header-cell>\\n <!-- When table row is clicked go to the specific Task calculated by row.id -->\\n <mat-cell [routerLink]=\\\"['../details', row.id]\\\" *matCellDef=\\\"let row\\\">{{row.id}}</mat-cell>\\n </ng-container>\\n\\n <!-- Name Column -->\\n <ng-container matColumnDef=\\\"name\\\">\\n <mat-header-cell *matHeaderCellDef mat-sort-header>\\n Name\\n </mat-header-cell>\\n <mat-cell [routerLink]=\\\"['../details', row.id]\\\" *matCellDef=\\\"let row\\\">{{row.name}}</mat-cell>\\n </ng-container>\\n\\n <!-- Description Column -->\\n <ng-container matColumnDef=\\\"description\\\">\\n <mat-header-cell *matHeaderCellDef mat-sort-header>\\n Description\\n </mat-header-cell>\\n <mat-cell [routerLink]=\\\"['../details', row.id]\\\" *matCellDef=\\\"let row\\\">{{row.description}}</mat-cell>\\n </ng-container>\\n\\n <ng-container matColumnDef=\\\"date\\\">\\n <mat-header-cell *matHeaderCellDef mat-sort-header>\\n Created\\n </mat-header-cell>\\n <mat-cell [routerLink]=\\\"['../details', row.id]\\\" *matCellDef=\\\"let row\\\">{{row.date}}</mat-cell>\\n </ng-container>\\n\\n <!-- Date Column -->\\n <ng-container matColumnDef=\\\"edit\\\">\\n <mat-header-cell *matHeaderCellDef>\\n Edit\\n </mat-header-cell>\\n <mat-cell *matCellDef=\\\"let row\\\">\\n <!-- When edit button is clicked open Modal -->\\n <button mat-icon-button (click)=\\\"openDialog('Update', row)\\\">\\n <mat-icon class=\\\"mat-24\\\">edit</mat-icon>\\n </button>\\n </mat-cell>\\n </ng-container>\\n\\n <!-- Checkbox Column -->\\n <!-- User can select one or more Tasks by clicking on specific row checkbox -->\\n <!-- Also user can select all tasks -->\\n <ng-container matColumnDef=\\\"select\\\">\\n <mat-header-cell *matHeaderCellDef>\\n <mat-checkbox class=\\\"mat-primary\\\" (change)=\\\"$event ? masterToggle() : null\\\"\\n [checked]=\\\"selection.hasValue() && isAllSelected()\\\"\\n [indeterminate]=\\\"selection.hasValue() && !isAllSelected()\\\">\\n </mat-checkbox>\\n </mat-header-cell>\\n <mat-cell *matCellDef=\\\"let row\\\">\\n <mat-checkbox class=\\\"mat-primary\\\" (click)=\\\"$event.stopPropagation()\\\" (change)=\\\"$event ? selection.toggle(row) : null\\\"\\n [checked]=\\\"selection.isSelected(row)\\\">\\n </mat-checkbox>\\n </mat-cell>\\n </ng-container>\\n\\n <mat-header-row *matHeaderRowDef=\\\"displayedColumns\\\"></mat-header-row>\\n <mat-row *matRowDef=\\\"let row; columns:displayedColumns\\\"></mat-row>\\n </mat-table>\\n</div>\\n\\n<div id=\\\"paginator\\\">\\n <mat-paginator [pageSize]=\\\"5\\\">\\n </mat-paginator>\\n</div>\\n\\n<div class=\\\"taskButtons\\\">\\n <button type=\\\"button\\\" mat-raised-button color=\\\"primary\\\" (click)=\\\"openDialog('Add', {})\\\">Add new</button>\\n <button type=\\\"button\\\" mat-raised-button color=\\\"warn\\\" (click)=\\\"openDialog('Delete', {})\\\">Delete</button>\\n</div>\"","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\n\n\nconst routes: Routes = [];\n\n@NgModule({\n imports: [RouterModule.forRoot(routes)],\n exports: [RouterModule]\n})\nexport class AppRoutingModule { }\n","export default \" :host {\\r\\n font-family: -apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, Helvetica, Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\";\\r\\n font-size: 14px;\\r\\n color: #333;\\r\\n box-sizing: border-box;\\r\\n -webkit-font-smoothing: antialiased;\\r\\n -moz-osx-font-smoothing: grayscale;\\r\\n }\\r\\n\\r\\n :host ::ng-deep app-home {\\r\\n width: 100%;\\r\\n }\\r\\n\\r\\n :host body {\\r\\n color: lightblue;\\r\\n }\\r\\n\\r\\n h1,\\r\\n h2,\\r\\n h3,\\r\\n h4,\\r\\n h5,\\r\\n h6 {\\r\\n margin: 8px 0;\\r\\n }\\r\\n\\r\\n p {\\r\\n margin: 0;\\r\\n }\\r\\n\\r\\n .toolbar {\\r\\n height: 60px;\\r\\n display: flex;\\r\\n align-items: center;\\r\\n background-color: #3f51b5;\\r\\n color: white;\\r\\n font-weight: 600;\\r\\n font-size: 20px;\\r\\n }\\r\\n\\r\\n .toolbar a {\\r\\n margin: 0 100px; \\r\\n }\\r\\n\\r\\n .content {\\r\\n display: flex;\\r\\n margin: 30px auto;\\r\\n padding: 0 100px;\\r\\n flex-direction: column;\\r\\n align-items: center;\\r\\n }\\r\\n\\r\\n svg.material-icons {\\r\\n height: 24px;\\r\\n width: auto;\\r\\n }\\r\\n\\r\\n svg.material-icons:not(:last-child) {\\r\\n margin-right: 8px;\\r\\n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uY29udGVudCB7XHJcbiAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAgbWFyZ2luOiAzMHB4IGF1dG87XHJcbiAgICBwYWRkaW5nOiAwIDEwMHB4O1xyXG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcclxuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XHJcbiAgfVxyXG5cclxuICBzdmcubWF0ZXJpYWwtaWNvbnMge1xyXG4gICAgaGVpZ2h0OiAyNHB4O1xyXG4gICAgd2lkdGg6IGF1dG87XHJcbiAgfVxyXG5cclxuICBzdmcubWF0ZXJpYWwtaWNvbnM6bm90KDpsYXN0LWNoaWxkKSB7XHJcbiAgICBtYXJnaW4tcmlnaHQ6IDhweDtcclxuICB9XHJcblxyXG4gIGEsXHJcbiAgYTp2aXNpdGVkLFxyXG4gIGE6aG92ZXIge1xyXG4gICAgY29sb3I6IHdoaXRlO1xyXG4gICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xyXG4gIH1cclxuXHJcbiAgYTpob3ZlciB7XHJcbiAgICBjb2xvcjogI0ZGRUIzQjtcclxuICB9XHJcblxyXG4gIFxyXG5cclxuICBcclxuXHJcblxyXG4gICJdfQ== */\"","import { Component } from '@angular/core';\n\n\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.css']\n})\n\nexport class AppComponent {\n\n}\n\n\n\n","import { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\nimport { HttpClientModule } from '@angular/common/http';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { MatTableModule, MatSortModule, MatIconModule, MatButtonModule, MatInputModule, MatFormFieldModule, MatPaginatorModule, MatDialogModule, MatCheckboxModule } from '@angular/material';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { FormsModule } from '@angular/forms';\n\nimport { AppRoutingModule } from './app-routing.module';\nimport { AppComponent } from './app.component';\nimport { TasktableComponent } from './tasktable/tasktable.component' \nimport { ModalComponent } from './modal/modal.component';\nimport { TaskdetailsComponent } from './taskdetails/taskdetails.component';\nimport { RouterModule } from '@angular/router';\nimport { HomeComponent } from './home/home.component';\n\n@NgModule({\n declarations: [\n AppComponent,\n TasktableComponent,\n ModalComponent,\n TaskdetailsComponent,\n HomeComponent,\n ],\n imports: [\n BrowserModule,\n AppRoutingModule,\n HttpClientModule,\n BrowserAnimationsModule,\n MatTableModule,\n MatSortModule,\n MatIconModule,\n MatButtonModule,\n MatFormFieldModule,\n MatInputModule,\n FlexLayoutModule,\n MatPaginatorModule,\n MatDialogModule,\n FormsModule,\n MatCheckboxModule,\n RouterModule.forRoot([\n { path: '', redirectTo: '/home', pathMatch: 'full' },\n { path: 'home', component: HomeComponent },\n { path: 'details/:id', component: TaskdetailsComponent }\n ])\n ],\n entryComponents: [\n ModalComponent\n ],\n providers: [],\n bootstrap: [AppComponent]\n})\nexport class AppModule { }\n","export default \"app-tasktable {\\r\\n width: 100%;\\r\\n}\\r\\n\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvaG9tZS9ob21lLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxXQUFXO0FBQ2YiLCJmaWxlIjoic3JjL2FwcC9ob21lL2hvbWUuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbImFwcC10YXNrdGFibGUge1xyXG4gICAgd2lkdGg6IDEwMCU7XHJcbn1cclxuXHJcbiJdfQ== */\"","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-home',\n templateUrl: './home.component.html',\n styleUrls: ['./home.component.css']\n})\nexport class HomeComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","export default \".mat-form-field {\\r\\n display: block;\\r\\n}\\r\\n\\r\\nbutton:hover {\\r\\n box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);\\r\\n}\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbW9kYWwvbW9kYWwuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLGNBQWM7QUFDbEI7O0FBRUE7SUFDSSwwRUFBMEU7QUFDOUUiLCJmaWxlIjoic3JjL2FwcC9tb2RhbC9tb2RhbC5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLm1hdC1mb3JtLWZpZWxkIHtcclxuICAgIGRpc3BsYXk6IGJsb2NrO1xyXG59XHJcblxyXG5idXR0b246aG92ZXIge1xyXG4gICAgYm94LXNoYWRvdzogMCAxMnB4IDE2cHggMCByZ2JhKDAsMCwwLDAuMjQpLCAwIDE3cHggNTBweCAwIHJnYmEoMCwwLDAsMC4xOSk7XHJcbn0iXX0= */\"","import { Component, OnInit, Inject, Optional } from '@angular/core';\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';\nimport { Task } from '../models/task.model'\n\n@Component({\n selector: 'app-modal',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.css']\n})\n\nexport class ModalComponent {\n \n\n //When user clicks on modal, save action and input data from dialog\n action:string;\n local_data:any;\n \n constructor(\n public dialogRef: MatDialogRef<ModalComponent>,\n //@Optional() is used to prevent error if no data is passed\n @Optional() @Inject(MAT_DIALOG_DATA) public data: Task) {\n this.local_data = {...data};\n this.action = this.local_data.action;\n }\n \n doAction(){\n this.dialogRef.close({event:this.action,data:this.local_data});\n }\n \n closeDialog(){\n this.dialogRef.close({event:'Cancel'});\n }\n\n}","import { Injectable } from '@angular/core';\nimport { Task } from './models/task.model';\nimport { formatDate } from '@angular/common'\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class TableService {\n\n //Custom display format\n private format = 'dd.MM.yyyy - HH:mm'; \n\n\n //Adding random numbers as ID\n myTasks: Task [] = [\n {id: Math.floor((Math.random()*1000)+1), name: 'Kupiti naranče', description: \"Lidl - 2kg\", date: formatDate(\"2019-09-24 10:00\", this.format, \"en-US\")}, \n {id: Math.floor((Math.random()*1000)+1), name: 'Počistiti stan', description: \"\", date: formatDate(\"2019-09-25 17:45\", this.format, \"en-US\")},\n {id: Math.floor((Math.random()*1000)+1), name: 'Čestitati kumi rođendan', description: \"45. rođendan\", date: formatDate(\"2019-09-26 08:00\", this.format, \"en-US\")}\n ];\n\n constructor() { \n }\n\n getTask () {\n return this.myTasks;\n }\n\n addTask (data) {\n this.myTasks.push({ \n id: Math.floor((Math.random()*1000)+1), \n name: data.name, \n description: data.description, \n date: formatDate(Date.now(), this.format, \"en-US\")\n });\n }\n\n updateTask (data) {\n this.myTasks = this.myTasks.filter((value,key) => {\n if(value.id == data.id){\n value.name = data.name;\n value.description = data.description;\n }\n return true;\n });\n }\n\n deleteTask (start, deleteCount) {\n this.myTasks.splice(start, deleteCount);\n }\n\n deleteTaskByIndex(id: number) {\n\n for ( var i = 0; i <= this.myTasks.length; i++) {\n if(this.myTasks[i].id == id){\n this.myTasks.splice(i, 1)\n }\n }\n \n }\n\n}\n","export default \":host {\\r\\n width: 100%;\\r\\n}\\r\\n\\r\\n.title {\\r\\n width: 100%;\\r\\n font-size: x-large;\\r\\n margin-bottom: 50px;\\r\\n display: inline-block;\\r\\n}\\r\\n\\r\\n.text {\\r\\n font-weight: 600;\\r\\n margin-top: 50px;\\r\\n border-bottom: 1px lightgray solid;\\r\\n}\\r\\n\\r\\n.taskDesc {\\r\\n font-size: 18px;\\r\\n align-items: center;\\r\\n font-weight: 600\\r\\n\\r\\n}\\r\\n\\r\\n.row {\\r\\n margin-bottom: 50px;\\r\\n}\\r\\n\\r\\nmat-icon {\\r\\n font-size: x-large;\\r\\n}\\r\\n\\r\\nstrong {\\r\\n margin-right: 20px;\\r\\n}\\r\\n\\r\\n.button {\\r\\n display: inline-block;\\r\\n border-radius: 4px;\\r\\n background-color: #f4511e;\\r\\n border: none;\\r\\n color: #FFFFFF;\\r\\n text-align: center;\\r\\n transition: all 0.5s;\\r\\n cursor: pointer;\\r\\n outline: none;\\r\\n\\r\\n }\\r\\n\\r\\n.button span {\\r\\n cursor: pointer;\\r\\n display: inline-block;\\r\\n position: relative;\\r\\n transition: 0.5s;\\r\\n }\\r\\n\\r\\n.button span:after {\\r\\n content: '\\\\00bb';\\r\\n position: absolute;\\r\\n opacity: 0;\\r\\n top: 0;\\r\\n right: -20px;\\r\\n transition: 0.5s;\\r\\n }\\r\\n\\r\\n.button:hover span {\\r\\n padding-right: 25px;\\r\\n }\\r\\n\\r\\n.button:hover span:after {\\r\\n opacity: 1;\\r\\n right: 0;\\r\\n }\\r\\n\\r\\n.taskButtons button:hover {\\r\\n box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);\\r\\n}\\r\\n\\r\\n.taskButtons button {\\r\\n margin-right: 10px;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdGFza2RldGFpbHMvdGFza2RldGFpbHMuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLFdBQVc7QUFDZjs7QUFFQTtJQUNJLFdBQVc7SUFDWCxrQkFBa0I7SUFDbEIsbUJBQW1CO0lBQ25CLHFCQUFxQjtBQUN6Qjs7QUFFQTtJQUNJLGdCQUFnQjtJQUNoQixnQkFBZ0I7SUFDaEIsa0NBQWtDO0FBQ3RDOztBQUVBO0lBQ0ksZUFBZTtJQUNmLG1CQUFtQjtJQUNuQjs7QUFFSjs7QUFFQTtJQUNJLG1CQUFtQjtBQUN2Qjs7QUFFQTtJQUNJLGtCQUFrQjtBQUN0Qjs7QUFFQTtHQUNHLGtCQUFrQjtBQUNyQjs7QUFFQTtJQUNJLHFCQUFxQjtJQU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biAgICByaWdodDogMDtcclxuICB9XHJcblxyXG4udGFza0J1dHRvbnMgYnV0dG9uOmhvdmVyIHtcclxuICAgIGJveC1zaGFkb3c6IDAgMTJweCAxNnB4IDAgcmdiYSgwLDAsMCwwLjI0KSwgMCAxN3B4IDUwcHggMCByZ2JhKDAsMCwwLDAuMTkpO1xyXG59XHJcblxyXG4udGFza0J1dHRvbnMgYnV0dG9uIHtcclxuICAgIG1hcmdpbi1yaWdodDogMTBweDtcclxufVxyXG4iXX0= */\"","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { TableService } from '../table.service';\nimport { MatDialog } from '@angular/material';\nimport { ModalComponent } from '../modal/modal.component';\nimport { Task } from '../models/task.model'\n\n\n@Component({\n selector: 'app-taskdetails',\n templateUrl: './taskdetails.component.html',\n styleUrls: ['./taskdetails.component.css']\n})\n\nexport class TaskdetailsComponent implements OnInit {\n\n post: Task[];\n\n constructor (private route: ActivatedRoute, private router: Router, private tableService: TableService, public dialog: MatDialog) { }\n\n ngOnInit() {\n this.post = this.tableService.getTask(); \n //Add ID of clicked item to the post variable\n this.post = this.post.filter(item => item.id == this.route.snapshot.params['id']);\n }\n\n\n openDialog (action, obj) {\n obj.action = action;\n const dialogRef = this.dialog.open(ModalComponent, {\n width: '600px',\n data: obj\n });\n\n dialogRef.afterClosed().subscribe(result => {\n\n //Call table-service and do operations\n\n if (result.event == 'Update') {\n this.tableService.updateTask(result.data);\n } \n\n else if (result.event == 'Delete One') {\n this.tableService.deleteTaskByIndex(result.data.id);\n //When current Task is deleted, return to the homepage\n this.router.navigate(['../../home'])\n }\n\n });\n }\n\n}\n","export default \"#searchBar mat-form-field{\\r\\n min-width: 400px;\\r\\n}\\r\\n\\r\\n\\r\\nmat-header-cell {\\r\\n\\r\\n font-size: 18px;\\r\\n font-weight: 600;\\r\\n\\r\\n}\\r\\n\\r\\n\\r\\nmat-header-cell:last-of-type, mat-cell:last-of-type {\\r\\n padding-left: 15px;\\r\\n}\\r\\n\\r\\n\\r\\nmat-cell:focus, mat-icon:focus {\\r\\n outline: none!important;\\r\\n}\\r\\n\\r\\n\\r\\n.mat-row:hover {\\r\\n background-color: #ecf0f1;\\r\\n font-weight: 500;\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n\\r\\nmat-table button:hover {\\r\\n background-color: lightgray;\\r\\n}\\r\\n\\r\\n\\r\\n.taskButtons button:hover {\\r\\n box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);\\r\\n}\\r\\n\\r\\n\\r\\n.taskButtons button {\\r\\n margin-right: 10px;\\r\\n}\\r\\n\\r\\n\\r\\nbutton:focus {\\r\\n outline: none!important;\\r\\n}\\r\\n\\r\\n\\r\\nmat-checkbox {\\r\\n padding-top: 8px;\\r\\n}\\r\\n\\r\\n\\r\\nmat-paginator {\\r\\n background-color: rgba(0, 0, 0, 0);\\r\\n}\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdGFza3RhYmxlL3Rhc2t0YWJsZS5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksZ0JBQWdCO0FBQ3BCOzs7QUFHQTs7SUFFSSxlQUFlO0lBQ2YsZ0JBQWdCOztBQUVwQjs7O0FBRUE7SUFDSSxrQkFBa0I7QUFDdEI7OztBQUVBO0lBQ0ksdUJBQXVCO0FBQzNCOzs7QUFFQTtJQUNJLHlCQUF5QjtJQUN6QixnQkFBZ0I7SUFDaEIsZUFBZTtBQUNuQjs7O0FBRUE7SUFDSSwyQkFBMkI7QUFDL0I7OztBQUVBO0lBQ0ksMEVBQTBFO0FBQzlFOzs7QUFFQTtJQUNJLGtCQUFrQjtBQUN0Qjs7O0FBRUE7SUFDSSx1QkFBdUI7QU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VzIHtcclxuICAgIG91dGxpbmU6IG5vbmUhaW1wb3J0YW50O1xyXG59XHJcblxyXG5tYXQtY2hlY2tib3gge1xyXG4gICAgcGFkZGluZy10b3A6IDhweDtcclxufVxyXG5cclxubWF0LXBhZ2luYXRvciB7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDAsIDAsIDAsIDApO1xyXG59XHJcblxyXG5cclxuXHJcblxyXG5cclxuXHJcblxyXG4iXX0= */\"","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { MatSort, MatTableDataSource, MatPaginator, MatTable, MatDialog } from '@angular/material';\nimport { TableService } from '../table.service';\nimport { ModalComponent } from '../modal/modal.component';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { Task } from '../models/task.model'\n\n\n@Component({\n selector: 'app-tasktable',\n templateUrl: './tasktable.component.html',\n styleUrls: ['./tasktable.component.css']\n})\n\nexport class TasktableComponent implements OnInit {\n\n @ViewChild(MatTable, { static: true }) table: MatTable<any>;\n @ViewChild(MatSort, { static: true }) sort: MatSort;\n @ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;\n\n dataSource;\n selection = new SelectionModel<Task>(true, []);;\n displayedColumns = ['id', 'name', 'description', 'date', 'edit', 'select'];\n\n constructor(private tableService: TableService, public dialog: MatDialog) {\n\n }\n\n openDialog (action, obj) {\n obj.action = action;\n const dialogRef = this.dialog.open(ModalComponent, {\n width: '600px',\n data: obj\n });\n\n dialogRef.afterClosed().subscribe(result => {\n\n //Call table-service and do operations based on result.event\n\n if (result.event == 'Add') {\n this.tableService.addTask(result.data);\n this.dataSource.data = this.tableService.getTask();\n this.dataSource.sort = this.sort;\n this.table.renderRows();\n }\n\n else if (result.event == 'Update') {\n this.tableService.updateTask(result.data);\n } \n\n //Iteration over selected items and getting the index number of each selection and deleting it from the table \n else if (result.event == 'Delete') {\n let tempTask =this.tableService.getTask();\n this.selection.selected.forEach(item => {\n let index: number = tempTask.findIndex(d => d === item);\n this.tableService.deleteTask(index, 1);\n this.dataSource = new MatTableDataSource<Task>(tempTask);\n this.dataSource.sort = this.sort;\n });\n this.selection = new SelectionModel<Task>(true, []);\n this.dataSource.paginator = this.paginator;\n }\n\n });\n }\n\n //Whether the number of selected elements matches the total number of rows.\n isAllSelected() {\n const numSelected = this.selection.selected.length;\n const numRows = this.dataSource.data.length;\n return numSelected === numRows;\n }\n\n // Selects all rows if they are not all selected; otherwise clear selection.\n masterToggle() {\n this.isAllSelected() ?\n this.selection.clear() :\n this.dataSource.data.forEach(row => this.selection.select(row));\n }\n\n ngOnInit() {\n this.dataSource = new MatTableDataSource(this.tableService.getTask());\n this.dataSource.sort = this.sort;\n this.dataSource.paginator = this.paginator;\n }\n\n //Function for searching specific string in the table\n doFilter = (value: string) => {\n this.dataSource.filter = value.trim().toLocaleLowerCase();\n }\n}\n\n\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:///"}