-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js.map
1 lines (1 loc) · 41.3 KB
/
main.js.map
1
{"version":3,"sources":["webpack:///./src/$_lazy_route_resource lazy namespace object","webpack:///./src/app/app-routing.module.ts","webpack:///./src/app/app.component.html","webpack:///./src/app/app.component.scss","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.module.ts","webpack:///./src/app/menu/menu.component.html","webpack:///./src/app/menu/menu.component.scss","webpack:///./src/app/menu/menu.component.ts","webpack:///./src/app/store/list/list.actions.ts","webpack:///./src/app/store/list/list.state.ts","webpack:///./src/app/store/store.config.ts","webpack:///./src/app/store/store.module.ts","webpack:///./src/app/store/task/task.actions.ts","webpack:///./src/app/store/task/task.state.ts","webpack:///./src/app/todo/list/list.component.html","webpack:///./src/app/todo/list/list.component.scss","webpack:///./src/app/todo/list/list.component.ts","webpack:///./src/app/todo/new-task/new-task.component.html","webpack:///./src/app/todo/new-task/new-task.component.scss","webpack:///./src/app/todo/new-task/new-task.component.ts","webpack:///./src/app/todo/task-list/task-list.component.html","webpack:///./src/app/todo/task-list/task-list.component.scss","webpack:///./src/app/todo/task-list/task-list.component.ts","webpack:///./src/app/todo/todo.component.html","webpack:///./src/app/todo/todo.component.scss","webpack:///./src/app/todo/todo.component.ts","webpack:///./src/environments/environment.ts","webpack:///./src/main.ts"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,4E;;;;;;;;;;;;;;;;;;;;ACZyC;AACc;AACI;AACL;AAEtD,IAAM,MAAM,GAAW;IACtB;QACC,IAAI,EAAE,EAAE;QACR,SAAS,EAAE,kEAAa;KACxB;IACD;QACC,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,uEAAa;KACxB;CACD,CAAC;AAMF;IAAA;IAA+B,CAAC;IAAnB,gBAAgB;QAJ5B,8DAAQ,CAAC;YACT,OAAO,EAAE,CAAC,4DAAY,CAA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ourcesContent":["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 = \"./src/$$_lazy_route_resource lazy recursive\";","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { ListComponent } from './todo/list/list.component';\r\nimport { TodoComponent } from './todo/todo.component';\r\n\r\nconst routes: Routes = [\r\n\t{\r\n\t\tpath: '',\r\n\t\tcomponent: TodoComponent,\r\n\t},\r\n\t{\r\n\t\tpath: 'list/:id',\r\n\t\tcomponent: ListComponent,\r\n\t},\r\n];\r\n\r\n@NgModule({\r\n\timports: [RouterModule.forRoot(routes, { useHash: true })],\r\n\texports: [RouterModule],\r\n})\r\nexport class AppRoutingModule {}\r\n","module.exports = \"<div class=\\\"app__menu\\\">\\n\\t<div class=\\\"app__menu-container\\\">\\n\\t\\t<app-menu></app-menu>\\n\\t</div>\\n</div>\\n<div class=\\\"app__content\\\">\\n\\t<router-outlet></router-outlet>\\n</div>\\n\"","module.exports = \".app__menu {\\n position: fixed;\\n top: 0;\\n left: 0;\\n background: #1b1b1b;\\n right: 0;\\n border-bottom: 1px solid #353535; }\\n\\n.app__menu-container {\\n max-width: 1024px;\\n margin: 0 auto;\\n display: block;\\n padding: 0 32px; }\\n\\n.app__content {\\n max-width: 1024px;\\n margin: 0 auto;\\n display: block;\\n padding: 64px 32px 32px; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvQzpcXHhhbXBwXFxodGRvY3NcXG5neHMtdG9kby9zcmNcXGFwcFxcYXBwLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0MsZUFBZTtFQUNmLE1BQU07RUFDTixPQUFPO0VBQ1AsbUJBQW1CO0VBQ25CLFFBQVE7RUFDUixnQ0FBZ0MsRUFBQTs7QUFHakM7RUFDQyxpQkFBaUI7RUFDakIsY0FBYztFQUNkLGNBQWM7RUFDZCxlQUFlLEVBQUE7O0FBR2hCO0VBQ0MsaUJBQWlCO0VBQ2pCLGNBQWM7RUFDZCxjQUFjO0VBQ2QsdUJBQXVCLEVBQUEiLCJmaWxlIjoic3JjL2FwcC9hcHAuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuYXBwX19tZW51IHtcblx0cG9zaXRpb246IGZpeGVkO1xuXHR0b3A6IDA7XG5cdGxlZnQ6IDA7XG5cdGJhY2tncm91bmQ6ICMxYjFiMWI7XG5cdHJpZ2h0OiAwO1xuXHRib3JkZXItYm90dG9tOiAxcHggc29saWQgIzM1MzUzNTtcbn1cblxuLmFwcF9fbWVudS1jb250YWluZXIge1xuXHRtYXgtd2lkdGg6IDEwMjRweDtcblx0bWFyZ2luOiAwIGF1dG87XG5cdGRpc3BsYXk6IGJsb2NrO1xuXHRwYWRkaW5nOiAwIDMycHg7XG59XG5cbi5hcHBfX2NvbnRlbnQge1xuXHRtYXgtd2lkdGg6IDEwMjRweDtcblx0bWFyZ2luOiAwIGF1dG87XG5cdGRpc3BsYXk6IGJsb2NrO1xuXHRwYWRkaW5nOiA2NHB4IDMycHggMzJweDtcbn1cbiJdfQ== */\"","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss']\r\n})\r\nexport class AppComponent {\r\n title = 'task';\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\n\r\nimport { AppRoutingModule } from './app-routing.module';\r\nimport { AppComponent } from './app.component';\r\nimport { StoreModule } from './store/store.module';\r\nimport { ListComponent } from './todo/list/list.component';\r\nimport { NewTaskComponent } from './todo/new-task/new-task.component';\r\nimport { TaskListComponent } from './todo/task-list/task-list.component';\r\nimport { TodoComponent } from './todo/todo.component';\nimport { MenuComponent } from './menu/menu.component';\r\n\r\n@NgModule({\r\n\tdeclarations: [\r\n\t\tAppComponent,\r\n\t\tTodoComponent,\r\n\t\tNewTaskComponent,\r\n\t\tTaskListComponent,\r\n\t\tListComponent,\r\n\t\tMenuComponent,\r\n\t],\r\n\timports: [\r\n\t\tBrowserModule,\r\n\t\tAppRoutingModule,\r\n\t\tStoreModule,\r\n\t\tFormsModule,\r\n\t],\r\n\tproviders: [],\r\n\tbootstrap: [AppComponent],\r\n})\r\nexport class AppModule {\r\n}\r\n","module.exports = \"<nav class=\\\"menu\\\">\\n <a [routerLink]=\\\"''\\\" [routerLinkActiveOptions]=\\\"{exact: true}\\\" [routerLinkActive]=\\\"'menu__link--active'\\\"\\n class=\\\"menu__link\\\">Strona główna</a>\\n</nav>\\n\"","module.exports = \".menu {\\n display: flex; }\\n\\n.menu__link {\\n padding: 12px 16px;\\n color: white;\\n text-transform: uppercase;\\n font-size: 12px;\\n letter-spacing: 1px;\\n font-weight: 600;\\n text-decoration: none;\\n border-bottom: 2px solid transparent; }\\n\\n.menu__link:hover {\\n color: goldenrod; }\\n\\n.menu__link:first-child {\\n margin-left: -16px; }\\n\\n.menu__link--active {\\n border-color: goldenrod; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWVudS9DOlxceGFtcHBcXGh0ZG9jc1xcbmd4cy10b2RvL3NyY1xcYXBwXFxtZW51XFxtZW51LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0MsYUFBYSxFQUFBOztBQUdkO0VBQ0Msa0JBQWtCO0VBQ2xCLFlBQVk7RUFDWix5QkFBeUI7RUFDekIsZUFBZTtFQUNmLG1CQUFtQjtFQUNuQixnQkFBZ0I7RUFDaEIscUJBQXFCO0VBQ3JCLG9DQUFvQyxFQUFBOztBQVJyQztJQVdFLGdCQUFnQixFQUFBOztBQVhsQjtJQWVFLGtCQUFrQixFQUFBOztBQUlwQjtFQUNDLHVCQUF1QixFQUFBIiwiZmlsZSI6InNyYy9hcHAvbWVudS9tZW51LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLm1lbnUge1xuXHRkaXNwbGF5OiBmbGV4O1xufVxuXG4ubWVudV9fbGluayB7XG5cdHBhZGRpbmc6IDEycHggMTZweDtcblx0Y29sb3I6IHdoaXRlO1xuXHR0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuXHRmb250LXNpemU6IDEycHg7XG5cdGxldHRlci1zcGFjaW5nOiAxcHg7XG5cdGZvbnQtd2VpZ2h0OiA2MDA7XG5cdHRleHQtZGVjb3JhdGlvbjogbm9uZTtcblx0Ym9yZGVyLWJvdHRvbTogMnB4IHNvbGlkIHRyYW5zcGFyZW50O1xuXG5cdCY6aG92ZXIge1xuXHRcdGNvbG9yOiBnb2xkZW5yb2Q7XG5cdH1cblxuXHQmOmZpcnN0LWNoaWxkIHtcblx0XHRtYXJnaW4tbGVmdDogLTE2cHg7XG5cdH1cbn1cblxuLm1lbnVfX2xpbmstLWFjdGl2ZSB7XG5cdGJvcmRlci1jb2xvcjogZ29sZGVucm9kO1xufVxuIl19 */\"","import { Component, OnInit } from '@angular/core';\n\n@Component({\n\tselector: 'app-menu',\n\ttemplateUrl: './menu.component.html',\n\tstyleUrls: ['./menu.component.scss'],\n})\nexport class MenuComponent implements OnInit {\n\n\tconstructor() { }\n\n\tngOnInit() {\n\t}\n}\n","export class ListAction {\r\n\tpublic static readonly type = '[List] Add item';\r\n\r\n\tconstructor(public payload: string) { }\r\n}\r\n\r\nexport class AssignTaskToListAction {\r\n\tpublic static readonly type = '[List] Assign task to list';\r\n\r\n\tconstructor(public payload: { taskId: string, listId: string }) { }\r\n}\r\n","import { Action, createSelector, Selector, State, StateContext } from '@ngxs/store';\r\nimport { append, patch, removeItem, updateItem } from '@ngxs/store/operators';\r\nimport { TodoRemove } from '../task/task.actions';\r\nimport { Task, TaskState, TaskStateModel } from '../task/task.state';\r\nimport { AssignTaskToListAction } from './list.actions';\r\n\r\nexport interface ListStateModel {\r\n\titems: List[];\r\n}\r\n\r\nexport interface List {\r\n\tid: string;\r\n\tname: string;\r\n\t_items: string[];\r\n\titems?: Task[];\r\n\tloading: boolean;\r\n}\r\n\r\n@State<ListStateModel>({\r\n\tname: 'list',\r\n\tdefaults: {\r\n\t\titems: [\r\n\t\t\t{\r\n\t\t\t\tid: '1',\r\n\t\t\t\tname: 'Lista zakupów',\r\n\t\t\t\t_items: ['1', '2'],\r\n\t\t\t\tloading: false,\r\n\t\t\t}, {\r\n\t\t\t\tid: '2',\r\n\t\t\t\tname: 'Zadania',\r\n\t\t\t\t_items: ['3'],\r\n\t\t\t\tloading: false,\r\n\t\t\t},\r\n\t\t],\r\n\t},\r\n})\r\nexport class ListState {\r\n\r\n\t@Selector()\r\n\tpublic static getItems(state: ListStateModel) {\r\n\t\treturn state.items;\r\n\t}\r\n\r\n\tpublic static getListWithItems(id: string) {\r\n\t\treturn createSelector([ListState, TaskState], (listState: ListStateModel, taskState: TaskStateModel) => {\r\n\t\t\tconst foundList = listState.items.find((list: List) => {\r\n\t\t\t\treturn list.id === id;\r\n\t\t\t});\r\n\t\t\tconst items = [];\r\n\t\t\tfoundList._items.forEach((taskId: string) => {\r\n\t\t\t\titems.push(taskState.items.find((task: Task) => {\r\n\t\t\t\t\treturn task.id === taskId;\r\n\t\t\t\t}));\r\n\t\t\t});\r\n\t\t\treturn { ...foundList, items };\r\n\t\t});\r\n\t}\r\n\r\n\tpublic static getListById(id: string) {\r\n\t\treturn createSelector([ListState], (state: ListStateModel) => {\r\n\t\t\treturn state.items.find((el: List) => {\r\n\t\t\t\treturn el.id === id;\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\t@Action(AssignTaskToListAction)\r\n\tpublic assignTaskToList(ctx: StateContext<ListStateModel>, { payload }: AssignTaskToListAction) {\r\n\t\tctx.setState(\r\n\t\t\tpatch({\r\n\t\t\t\titems: updateItem(\r\n\t\t\t\t\t(list: List) => list.id === payload.listId,\r\n\t\t\t\t\tpatch({ _items: append([payload.taskId]) }),\r\n\t\t\t\t),\r\n\t\t\t}),\r\n\t\t);\r\n\t}\r\n\r\n\r\n\t@Action(TodoRemove)\r\n\tpublic remove(ctx: StateContext<ListStateModel>, { payload }: TodoRemove) {\r\n\t\tctx.setState(\r\n\t\t\tpatch({\r\n\t\t\t\titems: updateItem(\r\n\t\t\t\t\t(list: List) => list._items.indexOf(payload.id) > -1,\r\n\t\t\t\t\tpatch({ _items: removeItem((taskId: string) => taskId === payload.id) }),\r\n\t\t\t\t),\r\n\t\t\t}),\r\n\t\t);\r\n\t}\r\n}\r\n","import {TaskState} from './task/task.state';\r\nimport {ListState} from './list/list.state';\r\n\r\nexport const STATES = [TaskState, ListState];\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { NgxsReduxDevtoolsPluginModule } from '@ngxs/devtools-plugin';\r\nimport { NgxsRouterPluginModule } from '@ngxs/router-plugin';\r\nimport { NgxsStoragePluginModule } from '@ngxs/storage-plugin';\r\nimport { NgxsModule } from '@ngxs/store';\r\nimport { STATES } from './store.config';\r\n\r\n@NgModule({\r\n\tdeclarations: [],\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tNgxsModule.forRoot(STATES, {\r\n\t\t\tdevelopmentMode: true,\r\n\t\t}),\r\n\t\tNgxsRouterPluginModule.forRoot(),\r\n\t\tNgxsStoragePluginModule.forRoot(),\r\n\t\tNgxsReduxDevtoolsPluginModule.forRoot(),\r\n\t],\r\n})\r\nexport class StoreModule {\r\n}\r\n","export class TodoAdd {\r\n\tpublic static readonly type = '[Todo] Add task';\r\n\r\n\tconstructor(public payload: { name: string, listId: string }) {\r\n\t}\r\n}\r\n\r\nexport class TodoRemove {\r\n\tpublic static readonly type = '[Todo] Remove task';\r\n\r\n\tconstructor(public payload: {id: string}) {\r\n\t}\r\n}\r\n\r\nexport class TodoComplete {\r\n\tpublic static readonly type = '[Todo] Complete task';\r\n\r\n\tconstructor(public payload: {id: string}) {\r\n\t}\r\n}\r\n\r\nexport class TodoUncomplete {\r\n\tpublic static readonly type = '[Todo] Uncomplete task';\r\n\r\n\tconstructor(public payload: {id: string}) {\r\n\t}\r\n}\r\n\r\nexport class TodoToggle {\r\n\tpublic static readonly type = '[Todo] Toggle task';\r\n\r\n\tconstructor(public payload: {id: string}) {\r\n\t}\r\n}\r\n","import { Action, Selector, State, StateContext } from '@ngxs/store';\r\nimport { append, patch, removeItem, updateItem } from '@ngxs/store/operators';\r\nimport { AssignTaskToListAction } from '../list/list.actions';\r\nimport { TodoAdd, TodoComplete, TodoToggle, TodoRemove, TodoUncomplete } from './task.actions';\r\n\r\nexport interface TaskStateModel {\r\n\titems: Task[];\r\n\tnextId: string;\r\n}\r\n\r\nexport interface Task {\r\n\tid: string;\r\n\tname: string;\r\n\tcompleted: boolean;\r\n}\r\n\r\n@State<TaskStateModel>({\r\n\tname: 'todo',\r\n\tdefaults: {\r\n\t\titems: [\r\n\t\t\t{\r\n\t\t\t\tid: '1',\r\n\t\t\t\tname: 'Masło',\r\n\t\t\t\tcompleted: false,\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tid: '2',\r\n\t\t\t\tname: 'Chleb',\r\n\t\t\t\tcompleted: false,\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tid: '3',\r\n\t\t\t\tname: 'Przeczytać książkę',\r\n\t\t\t\tcompleted: false,\r\n\t\t\t},\r\n\t\t],\r\n\t\tnextId: '4',\r\n\t},\r\n})\r\nexport class TaskState {\r\n\r\n\t@Selector()\r\n\tpublic static getState(state: TaskStateModel) {\r\n\t\treturn state;\r\n\t}\r\n\r\n\t@Action(TodoAdd)\r\n\tpublic add(ctx: StateContext<TaskStateModel>, { payload }: TodoAdd) {\r\n\t\tconst id = ctx.getState().nextId;\r\n\t\tconst task: Task = {\r\n\t\t\tid,\r\n\t\t\tcompleted: false,\r\n\t\t\tname: payload.name,\r\n\t\t};\r\n\t\tctx.setState(patch(\r\n\t\t\t{\r\n\t\t\t\titems: append([task]),\r\n\t\t\t\tnextId: (+id + 1) + '',\r\n\t\t\t}),\r\n\t\t);\r\n\t\tctx.dispatch(new AssignTaskToListAction({ taskId: id, listId: payload.listId }));\r\n\t}\r\n\r\n\t@Action(TodoRemove)\r\n\tpublic remove(ctx: StateContext<TaskStateModel>, { payload }: TodoRemove) {\r\n\t\tctx.setState(patch({\r\n\t\t\titems: removeItem((el: Task) => el.id === payload.id),\r\n\t\t}));\r\n\t}\r\n\r\n\t@Action(TodoComplete)\r\n\tpublic complete(ctx: StateContext<TaskStateModel>, { payload }: TodoComplete) {\r\n\t\tctx.setState(patch({\r\n\t\t\titems: updateItem((item: Task) => item.id === payload.id, patch({ completed: true })),\r\n\t\t}));\r\n\t}\r\n\r\n\t@Action(TodoUncomplete)\r\n\tpublic uncomplete(ctx: StateContext<TaskStateModel>, { payload }: TodoComplete) {\r\n\t\tctx.setState(patch({\r\n\t\t\titems: updateItem((item: Task) => item.id === payload.id, patch({ completed: false })),\r\n\t\t}));\r\n\t}\r\n\r\n\t@Action(TodoToggle)\r\n\tpublic toggleComplete(ctx: StateContext<TaskStateModel>, { payload }: TodoComplete) {\r\n\t\tconst prevValue = ctx.getState().items.find((item: Task) => item.id === payload.id).completed;\r\n\t\tctx.setState(patch({\r\n\t\t\titems: updateItem((item: Task) => item.id === payload.id, patch({ completed: !prevValue })),\r\n\t\t}));\r\n\t}\r\n}\r\n","module.exports = \"<div class=\\\"todo\\\" *ngIf=\\\"(list$ | async) as list\\\">\\r\\n\\t<h2 class=\\\"todo__header\\\">\\r\\n\\t\\t{{list.name}}\\r\\n\\t</h2>\\r\\n\\t<div class=\\\"todo__input\\\">\\r\\n\\t\\t<app-new-task (createChange)=\\\"create($event)\\\"></app-new-task>\\r\\n\\t</div>\\r\\n\\t<div class=\\\"todo__list\\\">\\r\\n\\t\\t<app-task-list\\r\\n\\t\\t\\t(toggleChange)=\\\"toggle($event)\\\" (removeChange)=\\\"remove($event)\\\"\\r\\n\\t\\t\\t[list]=\\\"list.items\\\"\\r\\n\\t\\t></app-task-list>\\r\\n\\t</div>\\r\\n</div>\\r\\n\"","module.exports = \".todo__input {\\n border-bottom: 1px solid #404040;\\n margin-bottom: 8px;\\n padding-bottom: 8px; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdG9kby9saXN0L0M6XFx4YW1wcFxcaHRkb2NzXFxuZ3hzLXRvZG8vc3JjXFxhcHBcXHRvZG9cXGxpc3RcXGxpc3QuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDQyxnQ0FBZ0M7RUFDaEMsa0JBQWtCO0VBQ2xCLG1CQUFtQixFQUFBIiwiZmlsZSI6InNyYy9hcHAvdG9kby9saXN0L2xpc3QuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIudG9kb19faW5wdXQge1xuXHRib3JkZXItYm90dG9tOiAxcHggc29saWQgIzQwNDA0MDtcblx0bWFyZ2luLWJvdHRvbTogOHB4O1xuXHRwYWRkaW5nLWJvdHRvbTogOHB4O1xufVxuIl19 */\"","import { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { List, ListState } from '../../store/list/list.state';\r\nimport { TodoAdd, TodoComplete, TodoRemove, TodoToggle } from '../../store/task/task.actions';\r\nimport { Task } from '../../store/task/task.state';\r\n\r\n@Component({\r\n\tselector: 'app-list',\r\n\ttemplateUrl: './list.component.html',\r\n\tstyleUrls: ['./list.component.scss'],\r\n})\r\nexport class ListComponent implements OnInit {\r\n\r\n\tpublic id: string;\r\n\tpublic list$: Observable<List>;\r\n\r\n\tconstructor(private store: Store, private activatedRoute: ActivatedRoute) {\r\n\t}\r\n\r\n\tngOnInit() {\r\n\t\tthis.id = this.activatedRoute.snapshot.params.id;\r\n\t\tthis.list$ = this.store.select(ListState.getListWithItems(this.id))\r\n\t\t\t.pipe(map((list: List) => {\r\n\t\t\t\treturn {\r\n\t\t\t\t\t...list, items: list.items.sort((a: Task, b: Task) => {\r\n\t\t\t\t\t\treturn a.completed === b.completed ? 0 : a.completed ? 1 : -1;\r\n\t\t\t\t\t}),\r\n\t\t\t\t};\r\n\t\t\t}));\r\n\t}\r\n\r\n\tcreate(task: Task) {\r\n\t\tthis.store.dispatch(new TodoAdd({ ...task, listId: this.id }));\r\n\t}\r\n\r\n\tremove(id: string) {\r\n\t\tthis.store.dispatch(new TodoRemove({ id }));\r\n\t}\r\n\r\n\tcomplete(id: string) {\r\n\t\tthis.store.dispatch(new TodoComplete({ id }));\r\n\t}\r\n\r\n\ttoggle(id: string) {\r\n\t\tthis.store.dispatch(new TodoToggle({ id }));\r\n\t}\r\n}\r\n","module.exports = \"<div class=\\\"field\\\">\\r\\n\\t<input (keyup.enter)=\\\"create()\\\" [(ngModel)]=\\\"newTask\\\" class=\\\"field__input\\\" placeholder=\\\"Dodaj nowe zadanie...\\\"\\r\\n\\t\\t\\t type=\\\"text\\\">\\r\\n\\t<button (click)=\\\"create()\\\" class=\\\"field__btn\\\">+ Dodaj</button>\\r\\n</div>\\r\\n\"","module.exports = \".field {\\n display: flex; }\\n\\n.field__input {\\n flex: 0 1 100%;\\n height: 32px;\\n line-height: 32px;\\n padding: 0 16px;\\n border-radius: 4px;\\n color: white;\\n font-weight: bold;\\n background: #1b1b1b;\\n border: 1px solid #353535;\\n font-size: 14px; }\\n\\n.field__btn {\\n cursor: pointer;\\n height: 32px;\\n line-height: 32px;\\n padding: 0 16px;\\n border-radius: 4px;\\n margin-left: 8px;\\n background: goldenrod;\\n color: white;\\n text-transform: uppercase;\\n font-weight: bold;\\n font-size: 14px;\\n letter-spacing: 1px;\\n white-space: nowrap; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdG9kby9uZXctdGFzay9DOlxceGFtcHBcXGh0ZG9jc1xcbmd4cy10b2RvL3NyY1xcYXBwXFx0b2RvXFxuZXctdGFza1xcbmV3LXRhc2suY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDQyxhQUFhLEVBQUE7O0FBSWQ7RUFDQyxjQUFjO0VBQ2QsWUFBWTtFQUNaLGlCQUFpQjtFQUNqQixlQUFlO0VBQ2Ysa0JBQWtCO0VBQ2xCLFlBQVk7RUFDWixpQkFBaUI7RUFDakIsbUJBQW1CO0VBQ25CLHlCQUF5QjtFQUN6QixlQUFlLEVBQUE7O0FBR2hCO0VBQ0MsZUFBZTtFQUNmLFlBQVk7RUFDWixpQkFBaUI7RUFDakIsZUFBZTtFQUNmLGtCQUFrQjtFQUNsQixnQkFBZ0I7RUFDaEIscUJBQXFCO0VBQ3JCLFlBQVk7RUFDWix5QkFBeUI7RUFDekIsaUJBQWlCO0VBQ2pCLGVBQWU7RUFDZixtQkFBbUI7RUFDbkIsbUJBQW1CLEVBQUEiLCJmaWxlIjoic3JjL2FwcC90b2RvL25ldy10YXNrL25ldy10YXNrLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmZpZWxkIHtcblx0ZGlzcGxheTogZmxleDtcbn1cblxuXG4uZmllbGRfX2lucHV0IHtcblx0ZmxleDogMCAxIDEwMCU7XG5cdGhlaWdodDogMzJweDtcblx0bGluZS1oZWlnaHQ6IDMycHg7XG5cdHBhZGRpbmc6IDAgMTZweDtcblx0Ym9yZGVyLXJhZGl1czogNHB4O1xuXHRjb2xvcjogd2hpdGU7XG5cdGZvbnQtd2VpZ2h0OiBib2xkO1xuXHRiYWNrZ3JvdW5kOiAjMWIxYjFiO1xuXHRib3JkZXI6IDFweCBzb2xpZCAjMzUzNTM1O1xuXHRmb250LXNpemU6IDE0cHg7XG59XG5cbi5maWVsZF9fYnRuIHtcblx0Y3Vyc29yOiBwb2ludGVyO1xuXHRoZWlnaHQ6IDMycHg7XG5cdGxpbmUtaGVpZ2h0OiAzMnB4O1xuXHRwYWRkaW5nOiAwIDE2cHg7XG5cdGJvcmRlci1yYWRpdXM6IDRweDtcblx0bWFyZ2luLWxlZnQ6IDhweDtcblx0YmFja2dyb3VuZDogZ29sZGVucm9kO1xuXHRjb2xvcjogd2hpdGU7XG5cdHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG5cdGZvbnQtd2VpZ2h0OiBib2xkO1xuXHRmb250LXNpemU6IDE0cHg7XG5cdGxldHRlci1zcGFjaW5nOiAxcHg7XG5cdHdoaXRlLXNwYWNlOiBub3dyYXA7XG59XG4iXX0= */\"","import {Component, EventEmitter, OnInit, Output} from '@angular/core';\r\nimport {Task} from '../../store/task/task.state';\r\n\r\n@Component({\r\n selector: 'app-new-task',\r\n templateUrl: './new-task.component.html',\r\n styleUrls: ['./new-task.component.scss']\r\n})\r\nexport class NewTaskComponent implements OnInit {\r\n\r\n @Output() createChange = new EventEmitter<Partial<Task>>();\r\n\r\n newTask = '';\r\n\r\n constructor() {\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n create() {\r\n if (this.newTask.length > 0) {\r\n this.createChange.emit({name: this.newTask});\r\n this.newTask = '';\r\n }\r\n }\r\n}\r\n","module.exports = \"<div *ngFor=\\\"let item of list\\\" [class.task-list__element--completed]=\\\"item.completed\\\" class=\\\"task-list__element\\\">\\r\\n\\t<div class=\\\"task-list__element-toggle\\\" (click)=\\\"toggle(item.id)\\\"></div>\\r\\n\\t<div class=\\\"task-list__element-body\\\">\\r\\n\\t\\t{{ item.name }}\\r\\n\\t</div>\\r\\n\\t<div class=\\\"task-list__element-options\\\">\\r\\n\\t\\t<button (click)=\\\"remove(item.id)\\\" class=\\\"task-list__element-link\\\">Usuń</button>\\r\\n\\t</div>\\r\\n</div>\\r\\n\"","module.exports = \".completed {\\n color: green; }\\n\\n.task-list__element {\\n margin: 8px 0;\\n background: #1b1b1b;\\n padding: 12px 16px;\\n border-radius: 4px;\\n display: flex;\\n justify-content: space-between; }\\n\\n.task-list__element-toggle {\\n content: \\\"\\\";\\n display: inline-block;\\n height: 16px;\\n width: 16px;\\n background: #404040;\\n margin-right: 16px;\\n border-radius: 4px;\\n cursor: pointer; }\\n\\n.task-list__element-toggle:hover {\\n background: rgba(218, 165, 32, 0.2); }\\n\\n.task-list__element-body {\\n width: 100%; }\\n\\n.task-list__element--completed {\\n text-decoration: line-through; }\\n\\n.task-list__element--completed .task-list__element-toggle {\\n background: goldenrod; }\\n\\n.task-list__element-options {\\n margin: 0 -8px;\\n white-space: nowrap; }\\n\\n.task-list__element-link {\\n color: white;\\n text-transform: uppercase;\\n font-size: 12px;\\n font-weight: bold;\\n margin: 0 8px;\\n cursor: pointer; }\\n\\n.task-list__element-link:hover {\\n color: goldenrod; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdG9kby90YXNrLWxpc3QvQzpcXHhhbXBwXFxodGRvY3NcXG5neHMtdG9kby9zcmNcXGFwcFxcdG9kb1xcdGFzay1saXN0XFx0YXNrLWxpc3QuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDQyxZQUFZLEVBQUE7O0FBR2I7RUFDQyxhQUFhO0VBQ2IsbUJBQW1CO0VBQ25CLGtCQUFrQjtFQUNsQixrQkFBa0I7R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5cdG1hcmdpbi1yaWdodDogMTZweDtcclxuXHRib3JkZXItcmFkaXVzOiA0cHg7XHJcblx0Y3Vyc29yOiBwb2ludGVyO1xyXG5cclxuXHQmOmhvdmVyIHtcclxuXHRcdGJhY2tncm91bmQ6IHJnYmEoZ29sZGVucm9kLCAwLjIpO1xyXG5cdH1cclxufVxyXG5cclxuLnRhc2stbGlzdF9fZWxlbWVudC1ib2R5IHtcclxuXHR3aWR0aDogMTAwJTtcclxufVxyXG5cclxuLnRhc2stbGlzdF9fZWxlbWVudC0tY29tcGxldGVkIHtcclxuXHR0ZXh0LWRlY29yYXRpb246IGxpbmUtdGhyb3VnaDtcclxuXHJcblx0LnRhc2stbGlzdF9fZWxlbWVudC10b2dnbGUge1xyXG5cdFx0YmFja2dyb3VuZDogZ29sZGVucm9kO1xyXG5cdH1cclxufVxyXG5cclxuLnRhc2stbGlzdF9fZWxlbWVudC1vcHRpb25zIHtcclxuXHRtYXJnaW46IDAgLThweDtcclxuXHR3aGl0ZS1zcGFjZTogbm93cmFwO1xyXG59XHJcblxyXG4udGFzay1saXN0X19lbGVtZW50LWxpbmsge1xyXG5cdGNvbG9yOiB3aGl0ZTtcclxuXHR0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xyXG5cdGZvbnQtc2l6ZTogMTJweDtcclxuXHRmb250LXdlaWdodDogYm9sZDtcclxuXHRtYXJnaW46IDAgOHB4O1xyXG5cdGN1cnNvcjogcG9pbnRlcjtcclxuXHJcblx0Jjpob3ZlciB7XHJcblx0XHRjb2xvcjogZ29sZGVucm9kO1xyXG5cdH1cclxufVxyXG4iXX0= */\"","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { Task } from '../../store/task/task.state';\r\n\r\n@Component({\r\n\tselector: 'app-task-list',\r\n\ttemplateUrl: './task-list.component.html',\r\n\tstyleUrls: ['./task-list.component.scss'],\r\n})\r\nexport class TaskListComponent implements OnInit {\r\n\r\n\t@Input() list: Task[];\r\n\t@Output() removeChange = new EventEmitter<string>();\r\n\t@Output() completeChange = new EventEmitter<string>();\r\n\t@Output() toggleChange = new EventEmitter<string>();\r\n\r\n\tconstructor() {\r\n\t}\r\n\r\n\tngOnInit() {\r\n\t}\r\n\r\n\tremove(id: string) {\r\n\t\tthis.removeChange.emit(id);\r\n\t}\r\n\r\n\tcomplete(id: string) {\r\n\t\tthis.completeChange.emit(id);\r\n\t}\r\n\r\n\ttoggle(id: string) {\r\n\t\tthis.toggleChange.emit(id);\r\n\t}\r\n}\r\n","module.exports = \"<h2>Twoje listy zadań</h2>\\r\\n<div class=\\\"todo\\\">\\r\\n\\t<button *ngFor=\\\"let list of lists$ | async\\\" [routerLink]=\\\"['list', list.id]\\\" class=\\\"todo__card\\\">\\r\\n\\t\\t<span class=\\\"todo__card-title\\\">\\r\\n\\t\\t\\t{{list.name}}\\r\\n\\t\\t</span>\\r\\n\\t\\t<div class=\\\"todo__card-details\\\">\\r\\n\\t\\t\\tLista zadań: {{list._items.length}}\\r\\n\\t\\t</div>\\r\\n\\t</button>\\r\\n</div>\\r\\n\"","module.exports = \".todo {\\n display: grid;\\n grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));\\n grid-gap: 16px; }\\n\\n.todo__card {\\n display: block;\\n background: #1d1d1d;\\n border: none;\\n border-radius: 8px;\\n color: white;\\n cursor: pointer;\\n transition: 0.2s all;\\n padding: 24px;\\n text-align: left; }\\n\\n.todo__card:hover {\\n box-shadow: 0 0 32px rgba(0, 0, 0, 0.5);\\n background: #121212; }\\n\\n.todo__card:focus {\\n outline: none; }\\n\\n.todo__card-title {\\n font-size: 24px;\\n font-weight: bold;\\n margin-bottom: 16px;\\n display: block; }\\n\\n.todo__card-details {\\n font-size: 16px;\\n display: block; }\\n\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdG9kby9DOlxceGFtcHBcXGh0ZG9jc1xcbmd4cy10b2RvL3NyY1xcYXBwXFx0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x0YmFja2dyb3VuZDogIzEyMTIxMjtcblx0fVxuXHQmOmZvY3VzIHtcblx0XHRvdXRsaW5lOiBub25lO1xuXHR9XG59XG5cbi50b2RvX19jYXJkLXRpdGxlIHtcblx0Zm9udC1zaXplOiAyNHB4O1xuXHRmb250LXdlaWdodDogYm9sZDtcblx0bWFyZ2luLWJvdHRvbTogMTZweDtcblx0ZGlzcGxheTogYmxvY2s7XG59XG5cbi50b2RvX19jYXJkLWRldGFpbHMge1xuXHRmb250LXNpemU6IDE2cHg7XG5cdGRpc3BsYXk6IGJsb2NrO1xufVxuIl19 */\"","import { Component, OnInit } from '@angular/core';\r\nimport { Select } from '@ngxs/store';\r\nimport { Observable } from 'rxjs';\r\nimport { List, ListState, ListStateModel } from '../store/list/list.state';\r\n\r\n@Component({\r\n\tselector: 'app-todo',\r\n\ttemplateUrl: './todo.component.html',\r\n\tstyleUrls: ['./todo.component.scss'],\r\n})\r\nexport class TodoComponent implements OnInit {\r\n\r\n\t@Select(ListState.getItems) lists$: Observable<List[]>;\r\n\r\n\tconstructor() {\r\n\t}\r\n\r\n\tngOnInit() {\r\n\t}\r\n}\r\n","// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n\tproduction: false,\r\n\thmr: false,\r\n};\r\n\r\n/*\r\n * For easier debugging in development mode, you can import the following file\r\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\r\n *\r\n * This import should be commented out in production mode because it will have a negative impact\r\n * on performance if an error is thrown.\r\n */\r\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\nimport { BootstrapModuleFn as Bootstrap, hmr, WebpackModule } from '@ngxs/hmr-plugin';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\ndeclare const module: WebpackModule;\r\n\r\nif (environment.production) {\r\n\tenableProdMode();\r\n}\r\n\r\nconst bootstrap: Bootstrap = () => platformBrowserDynamic().bootstrapModule(AppModule);\r\n\r\nif (environment.hmr) {\r\n\thmr(module, bootstrap).catch(err => console.error(err));\r\n} else {\r\n\tbootstrap().catch(err => console.log(err));\r\n}\r\n"],"sourceRoot":""}