a zip code slack clone

main.js.map 19KB

1
  1. {"version":3,"sources":["../../src/pages/chat/chat.ts","../../src/pages/firstPage/first.ts","../../src/pages/sign-up/sign-up.ts","../../node_modules/@angular/core/esm5 lazy","../../src lazy","../../src/providers/message-service/message-service.ts","../../src/providers/api-service/api-service.ts","../../src/providers/auth-service/auth-service.ts","../../src/pages/tabs/tabs.ts","../../src/pages/about/about.ts","../../src/pages/contact/contact.ts","../../src/pages/home/home.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAA0C;AACe;AAEgC;AAGzF;;;;;GAKG;AAOH;IAIE,kBAAmB,OAAsB,EAAS,SAAoB,EAAS,UAAkC;QAA9F,YAAO,GAAP,OAAO,CAAe;QAAS,cAAS,GAAT,SAAS,CAAW;QAAS,eAAU,GAAV,UAAU,CAAwB;IACjH,CAAC;IAED,iCAAc,GAAd;QACE,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;QACvC,IAAI,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;IAED,uBAAI,GAAJ,UAAK,iBAAyB;QAC5B,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACvB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC;QAC9B,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACxE,CAAC;IAED,8BAAW,GAAX;QAAA,iBAMC;QALC,IAAI,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC,SAAS,CAAC,cAAI;YAC1C,KAAI,CAAC,GAAG,GAAG,IAAI;YACf,OAAO,CAAC,GAAG,CAAC,KAAI,CAAC,GAAG,CAAC;QACvB,CAAC,CAAC,CAAC;QACH,kDAAkD;IACpD,CAAC;IAxBU,QAAQ;QAJpB,wEAAS,CAAC;YACT,QAAQ,EAAE,WAAW;WACG;SACzB,CAAC;i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,EAAE;qBAClJ;iBACF,CAAC;aACC;YACD,SAAS,EAAE,CAAC,+DAAQ,CAAC;YACrB,eAAe,EAAE;gBACf,6DAAK;gBACL,0EAAS;gBACT,qEAAS;gBACT,2EAAW;gBACX,kEAAQ;gBACR,kEAAQ;gBACR,2EAAU;gBACV,mEAAQ;aACT;YACD,SAAS,EAAE;gBACT,2EAAS;gBACT,iFAAY;gBACZ,EAAC,OAAO,EAAE,mEAAY,EAAE,QAAQ,EAAE,wEAAiB,EAAC;gBACpD,+FAAkB;gBAClB,kGAAmB;gBACnB,2GAAsB;aACvB;SACF,CAAC;OACW,SAAS,CAAG;IAAD,gBAAC;CAAA;AAAH;;;;;;;;;;;;;;;;;;;;;;;;AChEoB;AACD;AACY;AACM;AAEb;AAK9C;IAGE,eAAY,QAAkB,EAAE,SAAoB,EAAE,YAA0B;QAFhF,aAAQ,GAAO,kEAAQ,CAAC;QAGtB,QAAQ,CAAC,KAAK,EAAE,CAAC,IAAI,CAAC;YACpB,gEAAgE;YAChE,iEAAiE;YACjE,SAAS,CAAC,YAAY,EAAE,CAAC;YACzB,YAAY,CAAC,IAAI,EAAE,CAAC;QACtB,CAAC,CAAC,CAAC;IACL,CAAC;IAVU,KAAK;QAHjB,wEAAS,CAAC;WACc;SACxB,CAAC;cAIgF;OAHrE,KAAK,CAWjB;IAAD,CAAC;AAAA;SAXY,KAAK,2B","file":"main.js","sourcesContent":["import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { NgForm } from '../../../node_modules/@angular/forms';\nimport { MessageServiceProvider } from '../../providers/message-service/message-service';\nimport { Message } from '../../../node_modules/@angular/compiler/src/i18n/i18n_ast';\n\n/**\n * Generated class for the ChatPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-chat',\n templateUrl: 'chat.html',\n})\nexport class ChatPage {\n test: any;\n msg: any;\n messages: Message [];\n constructor(public navCtrl: NavController, public navParams: NavParams, public messageApi: MessageServiceProvider) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad ChatPage');\n this.getMessages();\n }\n\n send(createAccountInfo: NgForm){\n console.log(\"clicked\");\n console.log(createAccountInfo)\n this.messageApi.saveMessage(createAccountInfo).subscribe(console.log);\n }\n\n getMessages(){\n this.messageApi.getMessages().subscribe(data => {\n this.msg = data\n console.log(this.msg)\n });\n //this.test = this.messageApi.getCurrentMessage();\n }\n\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/chat/chat.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport { SignUpPage } from '../sign-up/sign-up';\nimport { AuthServiceProvider } from '../../providers/auth-service/auth-service';\nimport { NgForm } from '@angular/forms';\nimport { HomePage } from '../home/home';\nimport { ChatPage } from '../chat/chat';\n\n/**\n * Generated class for the FirstPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-first',\n templateUrl: 'first.html',\n})\nexport class FirstPage {\n\n responseData: any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public authService: AuthServiceProvider) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad FirstPage');\n }\n\n loginButton(createAccountInfo: NgForm) {\n this.authService.postData(createAccountInfo).then((result) => {\n this.responseData = result;\n console.log(createAccountInfo);\n if(!this.responseData.createAccountInfo){\n this.navCtrl.push(ChatPage);\n }else{\n console.log(\"check your info\");\n }\n \n }).catch(console.log);\n }\n\n\n createAccount(){\n this.navCtrl.push(SignUpPage);\n console.log(\"clicked\");\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/firstPage/first.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams, ToastController } from 'ionic-angular';\nimport { NgForm } from '@angular/forms';\nimport { ApiServiceProvider } from '../../providers/api-service/api-service';\n``\n\n/**\n * Generated class for the SignUpPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-sign-up',\n templateUrl: 'sign-up.html',\n})\nexport class SignUpPage {\n\n\n user: any = {};\n error: any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams, public apiProvider: ApiServiceProvider, public toastCtrl: ToastController) {\n }\n\n // ngOnInit(){\n // this.loadUsers();\n // }\n\n // loadUsers(){\n // this.apiProvider.getUsers().subscribe(data => this.user =data[\"_embedded\"][\"users\"],\n // err => {\n // console.log(err);\n // });\n // }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad SignUpPage');\n }\n\n save(createAccountInfo: NgForm) {\n // console.log(createAccountInfo)\n this.apiProvider.save(createAccountInfo).subscribe(console.log)\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/sign-up/sign-up.ts","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 115;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 115\n// module chunks = 3","var map = {\n\t\"../pages/chat/chat.module\": [\n\t\t284,\n\t\t2\n\t],\n\t\"../pages/firstPage/first.module\": [\n\t\t285,\n\t\t1\n\t],\n\t\"../pages/sign-up/sign-up.module\": [\n\t\t286,\n\t\t0\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 156;\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 156\n// module chunks = 3","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { Message } from '../../Classes/Messsage';\n\n/*\n Generated class for the MessageServiceProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class MessageServiceProvider {\n\n messages = [];\n constructor(public http: HttpClient) {\n console.log('Hello MessageServiceProvider Provider');\n }\n\n getMessages(){\n return this.http.get<Message[]>('http://localhost:8080/message/all');\n }\n\n getCurrentMessage(){\n return this.messages;\n }\n\n saveMessage(createAccountInfo: any) : Observable<Object> {\n return this.http.post(`http://localhost:8080/message/add`, createAccountInfo);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/message-service/message-service.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from '../../../node_modules/rxjs/Rx';\n\n/*\n Generated class for the ApiServiceProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class ApiServiceProvider {\n\n constructor(public http: HttpClient) {\n console.log('Hello ApiServiceProvider Provider');\n }\n\n getUsers(){\n return this.http.get('http:localhost:8080/users')\n }\n\n save(createAccountInfo: any) : Observable<Object> {\n //return this.http.post(`http://localhost:8080/ZipTeamOrange/add?username=${createAccountInfo.name}&email=${createAccountInfo.email}&password=${createAccountInfo.password}`, {})\n return this.http.post(`http://localhost:8080/user/add`, createAccountInfo);\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/api-service/api-service.ts","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport 'rxjs/add/operator/map';\n\n\n/*\n Generated class for the AuthServiceProvider provider.\n\n See https://angular.io/guide/dependency-injection for more info on providers\n and Angular DI.\n*/\n@Injectable()\nexport class AuthServiceProvider {\n\n constructor(public http: HttpClient) {\n console.log('Hello AuthServiceProvider Provider');\n }\n\n postData(createAccountInfo: any){\n return new Promise((resolve, reject) => {\n\n this.http.post(`http://localhost:8080/user/add`, createAccountInfo, {responseType: 'text'}).subscribe((res: any) => {\n console.log(JSON.parse(res))\n resolve(JSON.parse(res));\n }, (err) => {\n reject(err);\n });\n });\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/auth-service/auth-service.ts","import { Component } from '@angular/core';\n\nimport { AboutPage } from '../about/about';\nimport { ContactPage } from '../contact/contact';\nimport { HomePage } from '../home/home';\nimport { FirstPage } from '../firstPage/first';\n\n@Component({\n templateUrl: 'tabs.html'\n})\nexport class TabsPage {\n\n tab1Root = FirstPage;\n tab2Root = HomePage;\n tab3Root = AboutPage;\n tab4Root = ContactPage;\n\n constructor() {\n\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/tabs.ts","import { Component } from '@angular/core';\nimport { NavController } from 'ionic-angular';\n\n@Component({\n selector: 'page-about',\n templateUrl: 'about.html'\n})\nexport class AboutPage {\n\n constructor(public navCtrl: NavController) {\n\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/about/about.ts","import { Component } from '@angular/core';\nimport { NavController } from 'ionic-angular';\n\n@Component({\n selector: 'page-contact',\n templateUrl: 'contact.html'\n})\nexport class ContactPage {\n\n constructor(public navCtrl: NavController) {\n\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/contact/contact.ts","import { Component } from '@angular/core';\nimport { NavController } from 'ionic-angular';\n\n@Component({\n selector: 'page-home',\n templateUrl: 'home.html'\n})\nexport class HomePage {\n\n constructor(public navCtrl: NavController) {\n\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/home/home.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app.module';\n\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { NgModule, ErrorHandler } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';\nimport { MyApp } from './app.component';\n\n\nimport { AboutPage } from '../pages/about/about';\nimport { ContactPage } from '../pages/contact/contact';\nimport { HomePage } from '../pages/home/home';\nimport { TabsPage } from '../pages/tabs/tabs';\n\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\nimport { FirstPage } from '../pages/firstPage/first';\nimport { SignUpPage } from '../pages/sign-up/sign-up';\nimport { ApiServiceProvider } from '../providers/api-service/api-service';\nimport { HttpClientModule } from '../../node_modules/@angular/common/http';\nimport { AuthServiceProvider } from '../providers/auth-service/auth-service';\nimport { MessageServiceProvider } from '../providers/message-service/message-service';\nimport { ChatPage } from '../pages/chat/chat';\n\n@NgModule({\n declarations: [\n MyApp,\n FirstPage,\n AboutPage,\n ContactPage,\n HomePage,\n TabsPage,\n SignUpPage,\n ChatPage\n ],\n imports: [\n BrowserModule,\n HttpClientModule,\n IonicModule.forRoot(MyApp)\n ],\n bootstrap: [IonicApp],\n entryComponents: [\n MyApp,\n FirstPage,\n AboutPage,\n ContactPage,\n HomePage,\n TabsPage,\n SignUpPage,\n ChatPage\n ],\n providers: [\n StatusBar,\n SplashScreen,\n {provide: ErrorHandler, useClass: IonicErrorHandler},\n ApiServiceProvider,\n AuthServiceProvider,\n MessageServiceProvider\n ]\n})\nexport class AppModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component } from '@angular/core';\nimport { Platform } from 'ionic-angular';\nimport { StatusBar } from '@ionic-native/status-bar';\nimport { SplashScreen } from '@ionic-native/splash-screen';\n\nimport { TabsPage } from '../pages/tabs/tabs';\n\n@Component({\n templateUrl: 'app.html'\n})\nexport class MyApp {\n rootPage:any = TabsPage;\n\n constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {\n platform.ready().then(() => {\n // Okay, so the platform is ready and our plugins are available.\n // Here you can do any higher level native things you might need.\n statusBar.styleDefault();\n splashScreen.hide();\n });\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts"],"sourceRoot":""}