|
@@ -1,719 +0,0 @@
|
1
|
|
-webpackJsonp([3],{
|
2
|
|
-
|
3
|
|
-/***/ 101:
|
4
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5
|
|
-
|
6
|
|
-"use strict";
|
7
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChatPage; });
|
8
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
9
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
|
10
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_message_service_message_service__ = __webpack_require__(157);
|
11
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
12
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
13
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
14
|
|
- 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;
|
15
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
16
|
|
-};
|
17
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
18
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
19
|
|
-};
|
20
|
|
-
|
21
|
|
-
|
22
|
|
-
|
23
|
|
-// import {OnInit} from '@angular/core';
|
24
|
|
-// import { interval } from '../../../node_modules/rxjs/observable/interval';
|
25
|
|
-// import { startWith } from '../../../node_modules/rxjs/operators';
|
26
|
|
-// import { switchMap } from '../../../node_modules/rxjs/operator/switchMap';
|
27
|
|
-var ChatPage = /** @class */ (function () {
|
28
|
|
- function ChatPage(navCtrl, navParams, messageApi) {
|
29
|
|
- this.navCtrl = navCtrl;
|
30
|
|
- this.navParams = navParams;
|
31
|
|
- this.messageApi = messageApi;
|
32
|
|
- this.mApi = messageApi;
|
33
|
|
- }
|
34
|
|
- ChatPage.prototype.ionViewDidLoad = function () {
|
35
|
|
- console.log('ionViewDidLoad ChatPage');
|
36
|
|
- this.getMessages(this);
|
37
|
|
- };
|
38
|
|
- ChatPage.prototype.send = function (createAccountInfo) {
|
39
|
|
- console.log("clicked");
|
40
|
|
- console.log(createAccountInfo);
|
41
|
|
- this.messageApi.saveMessage(createAccountInfo).subscribe(console.log);
|
42
|
|
- this.test = '';
|
43
|
|
- this.getMessages(this);
|
44
|
|
- };
|
45
|
|
- ChatPage.prototype.getMessages = function (chatPage) {
|
46
|
|
- var _this = this;
|
47
|
|
- chatPage.messageApi.getMessages().subscribe(function (data) {
|
48
|
|
- _this.msg = data;
|
49
|
|
- console.log(_this.msg);
|
50
|
|
- });
|
51
|
|
- };
|
52
|
|
- ChatPage.prototype.ngOnInit = function () {
|
53
|
|
- var _this = this;
|
54
|
|
- setInterval(function () { _this.getMessages(_this); }, 500);
|
55
|
|
- };
|
56
|
|
- __decorate([
|
57
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["D" /* Input */])(),
|
58
|
|
- __metadata("design:type", Array)
|
59
|
|
- ], ChatPage.prototype, "messages", void 0);
|
60
|
|
- ChatPage = __decorate([
|
61
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
62
|
|
-<<<<<<< HEAD
|
63
|
|
- selector: 'page-chat',template:/*ion-inline-start:"/Users/alizalang/Desktop/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/chat/chat.html"*/'<!--\n Generated template for the ChatPage page.\n\n See http://ionicframework.com/docs/components/#navigation for more info on\n Ionic pages and navigation.\n-->\n<ion-header>\n\n <ion-navbar>\n <ion-title>chatPage</ion-title>\n </ion-navbar>\n\n</ion-header>\n<!-- *ngFor="let m of msg">{{ m }} -->\n\n<ion-content padding >\n <div *ngFor="let m of msg" class="message-wrapper">\n <div class="name">Nhu <span class="timestamp">4/10</span></div>\n <div class="message">{{m.message}}</div>\n </div>\n\n <form #test1="ngForm" ng-submit="send(test1.value)">\n <ion-textarea type="text" name="message" [(ngModel)]="test" class="user-message"></ion-textarea>\n <button ion-button (click)="send(test1.value)" >send</button>\n </form>\n</ion-content>\n'/*ion-inline-end:"/Users/alizalang/Desktop/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/chat/chat.html"*/,
|
64
|
|
-=======
|
65
|
|
- selector: 'page-chat',template:/*ion-inline-start:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/chat/chat.html"*/'<!--\n Generated template for the ChatPage page.\n\n See http://ionicframework.com/docs/components/#navigation for more info on\n Ionic pages and navigation.\n-->\n<ion-header>\n\n <ion-navbar>\n <ion-title>chatPage</ion-title>\n </ion-navbar>\n\n</ion-header>\n<!-- *ngFor="let m of msg">{{ m }} -->\n\n<ion-content padding >\n <div *ngFor="let m of msg">\n {{ m.message }}\n </div>\n\n <form #test1="ngForm" ng-submit="send(test1.value)">\n <ion-textarea type="text" name="message" [(ngModel)]="test" ></ion-textarea>\n <button ion-button (click)="send(test1.value)"(click)="getMessages()">send</button>\n </form>\n</ion-content>\n'/*ion-inline-end:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/chat/chat.html"*/,
|
66
|
|
->>>>>>> master
|
67
|
|
- }),
|
68
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_message_service_message_service__["a" /* MessageServiceProvider */]])
|
69
|
|
- ], ChatPage);
|
70
|
|
- return ChatPage;
|
71
|
|
-}());
|
72
|
|
-
|
73
|
|
-//# sourceMappingURL=chat.js.map
|
74
|
|
-
|
75
|
|
-/***/ }),
|
76
|
|
-
|
77
|
|
-/***/ 102:
|
78
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
79
|
|
-
|
80
|
|
-"use strict";
|
81
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return FirstPage; });
|
82
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
83
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
|
84
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__sign_up_sign_up__ = __webpack_require__(103);
|
85
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_auth_service_auth_service__ = __webpack_require__(159);
|
86
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__chat_chat__ = __webpack_require__(101);
|
87
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
88
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
89
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
90
|
|
- 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;
|
91
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
92
|
|
-};
|
93
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
94
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
95
|
|
-};
|
96
|
|
-
|
97
|
|
-
|
98
|
|
-
|
99
|
|
-
|
100
|
|
-
|
101
|
|
-/**
|
102
|
|
- * Generated class for the FirstPage page.
|
103
|
|
- *
|
104
|
|
- * See https://ionicframework.com/docs/components/#navigation for more info on
|
105
|
|
- * Ionic pages and navigation.
|
106
|
|
- */
|
107
|
|
-var FirstPage = /** @class */ (function () {
|
108
|
|
- function FirstPage(navCtrl, navParams, authService) {
|
109
|
|
- this.navCtrl = navCtrl;
|
110
|
|
- this.navParams = navParams;
|
111
|
|
- this.authService = authService;
|
112
|
|
- }
|
113
|
|
- FirstPage.prototype.ionViewDidLoad = function () {
|
114
|
|
- console.log('ionViewDidLoad FirstPage');
|
115
|
|
- };
|
116
|
|
- FirstPage.prototype.loginButton = function (createAccountInfo) {
|
117
|
|
- var _this = this;
|
118
|
|
- this.authService.postData(createAccountInfo).then(function (result) {
|
119
|
|
- _this.responseData = result;
|
120
|
|
- console.log(createAccountInfo);
|
121
|
|
- if (!_this.responseData.createAccountInfo) {
|
122
|
|
- _this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_4__chat_chat__["a" /* ChatPage */]);
|
123
|
|
- }
|
124
|
|
- else {
|
125
|
|
- console.log("check your info");
|
126
|
|
- }
|
127
|
|
- }).catch(console.log);
|
128
|
|
- };
|
129
|
|
- FirstPage.prototype.createAccount = function () {
|
130
|
|
- this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__sign_up_sign_up__["a" /* SignUpPage */]);
|
131
|
|
- console.log("clicked");
|
132
|
|
- };
|
133
|
|
- FirstPage = __decorate([
|
134
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
135
|
|
- selector: 'page-first',template:/*ion-inline-start:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/firstPage/first.html"*/'<!--\n Generated template for the FirstPage page.\n\n See http://ionicframework.com/docs/components/#navigation for more info on\n Ionic pages and navigation.\n-->\n<ion-header>\n <ion-navbar color="primary">\n <button menuToggle ion- button icon-only>\n <ion-icon name ="menu"></ion-icon>\n </button>\n <ion-title text-center>ZipTeamOrange</ion-title>\n </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n <h4>Welcome to this page</h4>\n <div class="login-box">\n <form #registerForm="ngForm" ng-submit="loginButton(registerForm.value)" >\n <ion-row>\n <ion-col>\n <ion-list inset>\n <ion-item>\n <ion-input type="text" placeholder="Username" name="userName" required [(ngModel)]="Username" ></ion-input>\n </ion-item>\n <ion-item>\n <ion-input type="password" placeholder="Password" name="password" required [(ngModel)]="password"></ion-input>\n </ion-item>\n </ion-list>\n </ion-col>\n </ion-row>\n <ion-row>\n <ion-col class="signup-col">\n <button ion-button class="submit-btn" full type="submit" [disabled]="!registerForm.form.valid" (click)="loginButton(registerForm.value)">Login</button>\n </ion-col>\n </ion-row>\n </form>\n <ion-row>\n <ion-col color="secondary">\n <button ion-button class="register-btn" block clear (click)="createAccount()">Create Account</button>\n </ion-col>\n </ion-row>\n </div>\n \n</ion-content>'/*ion-inline-end:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/firstPage/first.html"*/,
|
136
|
|
- }),
|
137
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */], __WEBPACK_IMPORTED_MODULE_3__providers_auth_service_auth_service__["a" /* AuthServiceProvider */]])
|
138
|
|
- ], FirstPage);
|
139
|
|
- return FirstPage;
|
140
|
|
-}());
|
141
|
|
-
|
142
|
|
-//# sourceMappingURL=first.js.map
|
143
|
|
-
|
144
|
|
-/***/ }),
|
145
|
|
-
|
146
|
|
-/***/ 103:
|
147
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
148
|
|
-
|
149
|
|
-"use strict";
|
150
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SignUpPage; });
|
151
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
152
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
|
153
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_api_service_api_service__ = __webpack_require__(158);
|
154
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
155
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
156
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
157
|
|
- 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;
|
158
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
159
|
|
-};
|
160
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
161
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
162
|
|
-};
|
163
|
|
-
|
164
|
|
-
|
165
|
|
-
|
166
|
|
-"";
|
167
|
|
-/**
|
168
|
|
- * Generated class for the SignUpPage page.
|
169
|
|
- *
|
170
|
|
- * See https://ionicframework.com/docs/components/#navigation for more info on
|
171
|
|
- * Ionic pages and navigation.
|
172
|
|
- */
|
173
|
|
-var SignUpPage = /** @class */ (function () {
|
174
|
|
- function SignUpPage(navCtrl, navParams, apiProvider, toastCtrl) {
|
175
|
|
- this.navCtrl = navCtrl;
|
176
|
|
- this.navParams = navParams;
|
177
|
|
- this.apiProvider = apiProvider;
|
178
|
|
- this.toastCtrl = toastCtrl;
|
179
|
|
- this.user = {};
|
180
|
|
- }
|
181
|
|
- // ngOnInit(){
|
182
|
|
- // this.loadUsers();
|
183
|
|
- // }
|
184
|
|
- // loadUsers(){
|
185
|
|
- // this.apiProvider.getUsers().subscribe(data => this.user =data["_embedded"]["users"],
|
186
|
|
- // err => {
|
187
|
|
- // console.log(err);
|
188
|
|
- // });
|
189
|
|
- // }
|
190
|
|
- SignUpPage.prototype.ionViewDidLoad = function () {
|
191
|
|
- console.log('ionViewDidLoad SignUpPage');
|
192
|
|
- };
|
193
|
|
- SignUpPage.prototype.save = function (createAccountInfo) {
|
194
|
|
- // console.log(createAccountInfo)
|
195
|
|
- this.apiProvider.save(createAccountInfo).subscribe(console.log);
|
196
|
|
- };
|
197
|
|
- SignUpPage = __decorate([
|
198
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
199
|
|
- selector: 'page-sign-up',template:/*ion-inline-start:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/sign-up/sign-up.html"*/'<!--\n Generated template for the SignUpPage page.\n\n See http://ionicframework.com/docs/components/#navigation for more info on\n Ionic pages and navigation.\n-->\n<ion-header>\n\n <ion-navbar color="primary">\n <ion-title>sign-up</ion-title>\n </ion-navbar>\n \n </ion-header>\n \n \n <ion-content padding>\n <div class="signUp-box">\n <form #registerForm="ngForm" ng-submit="save(registerForm.value)">\n <ion-row>\n <ion-col>\n <ion-list inset>\n <ion-item>\n <ion-input type="text" placeholder="Username" name="userName" required [(ngModel)]="Username" ></ion-input>\n </ion-item>\n <ion-item>\n <ion-input type="text" placeholder="Email" name="email" required [(ngModel)]="Email" ></ion-input>\n </ion-item>\n <ion-item>\n <ion-input type="password" placeholder="Password" name="password" required [(ngModel)]="password"></ion-input>\n </ion-item>\n </ion-list>\n </ion-col>\n </ion-row>\n <ion-row>\n <ion-col class="signup-col">\n <button ion-button class="submit-btn" full type="submit" (click)="save(registerForm.value)" [disabled]="!registerForm.form.valid">Create Account</button>\n </ion-col>\n </ion-row>\n </form>\n \n </div>\n \n </ion-content>\n \n'/*ion-inline-end:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/sign-up/sign-up.html"*/,
|
200
|
|
- }),
|
201
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_api_service_api_service__["a" /* ApiServiceProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* ToastController */]])
|
202
|
|
- ], SignUpPage);
|
203
|
|
- return SignUpPage;
|
204
|
|
-}());
|
205
|
|
-
|
206
|
|
-//# sourceMappingURL=sign-up.js.map
|
207
|
|
-
|
208
|
|
-/***/ }),
|
209
|
|
-
|
210
|
|
-/***/ 115:
|
211
|
|
-/***/ (function(module, exports) {
|
212
|
|
-
|
213
|
|
-function webpackEmptyAsyncContext(req) {
|
214
|
|
- // Here Promise.resolve().then() is used instead of new Promise() to prevent
|
215
|
|
- // uncatched exception popping up in devtools
|
216
|
|
- return Promise.resolve().then(function() {
|
217
|
|
- throw new Error("Cannot find module '" + req + "'.");
|
218
|
|
- });
|
219
|
|
-}
|
220
|
|
-webpackEmptyAsyncContext.keys = function() { return []; };
|
221
|
|
-webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
|
222
|
|
-module.exports = webpackEmptyAsyncContext;
|
223
|
|
-webpackEmptyAsyncContext.id = 115;
|
224
|
|
-
|
225
|
|
-/***/ }),
|
226
|
|
-
|
227
|
|
-/***/ 156:
|
228
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
229
|
|
-
|
230
|
|
-var map = {
|
231
|
|
- "../pages/chat/chat.module": [
|
232
|
|
- 284,
|
233
|
|
- 2
|
234
|
|
- ],
|
235
|
|
- "../pages/firstPage/first.module": [
|
236
|
|
- 285,
|
237
|
|
- 1
|
238
|
|
- ],
|
239
|
|
- "../pages/sign-up/sign-up.module": [
|
240
|
|
- 286,
|
241
|
|
- 0
|
242
|
|
- ]
|
243
|
|
-};
|
244
|
|
-function webpackAsyncContext(req) {
|
245
|
|
- var ids = map[req];
|
246
|
|
- if(!ids)
|
247
|
|
- return Promise.reject(new Error("Cannot find module '" + req + "'."));
|
248
|
|
- return __webpack_require__.e(ids[1]).then(function() {
|
249
|
|
- return __webpack_require__(ids[0]);
|
250
|
|
- });
|
251
|
|
-};
|
252
|
|
-webpackAsyncContext.keys = function webpackAsyncContextKeys() {
|
253
|
|
- return Object.keys(map);
|
254
|
|
-};
|
255
|
|
-webpackAsyncContext.id = 156;
|
256
|
|
-module.exports = webpackAsyncContext;
|
257
|
|
-
|
258
|
|
-/***/ }),
|
259
|
|
-
|
260
|
|
-/***/ 157:
|
261
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
262
|
|
-
|
263
|
|
-"use strict";
|
264
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MessageServiceProvider; });
|
265
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(46);
|
266
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
267
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
268
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
269
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
270
|
|
- 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;
|
271
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
272
|
|
-};
|
273
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
274
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
275
|
|
-};
|
276
|
|
-
|
277
|
|
-
|
278
|
|
-/*
|
279
|
|
- Generated class for the MessageServiceProvider provider.
|
280
|
|
-
|
281
|
|
- See https://angular.io/guide/dependency-injection for more info on providers
|
282
|
|
- and Angular DI.
|
283
|
|
-*/
|
284
|
|
-var MessageServiceProvider = /** @class */ (function () {
|
285
|
|
- function MessageServiceProvider(http) {
|
286
|
|
- this.http = http;
|
287
|
|
- this.messages = [];
|
288
|
|
- console.log('Hello MessageServiceProvider Provider');
|
289
|
|
- }
|
290
|
|
- MessageServiceProvider.prototype.getMessages = function () {
|
291
|
|
- return this.http.get('https://arcane-ridge.herokuapp.com//message/all');
|
292
|
|
- };
|
293
|
|
- MessageServiceProvider.prototype.getCurrentMessage = function () {
|
294
|
|
- return this.messages;
|
295
|
|
- };
|
296
|
|
- MessageServiceProvider.prototype.saveMessage = function (createAccountInfo) {
|
297
|
|
- return this.http.post('https://arcane-ridge.herokuapp.com//message/add', createAccountInfo);
|
298
|
|
- };
|
299
|
|
- MessageServiceProvider = __decorate([
|
300
|
|
- Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Injectable */])(),
|
301
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["a" /* HttpClient */]])
|
302
|
|
- ], MessageServiceProvider);
|
303
|
|
- return MessageServiceProvider;
|
304
|
|
-}());
|
305
|
|
-
|
306
|
|
-//# sourceMappingURL=message-service.js.map
|
307
|
|
-
|
308
|
|
-/***/ }),
|
309
|
|
-
|
310
|
|
-/***/ 158:
|
311
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
312
|
|
-
|
313
|
|
-"use strict";
|
314
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApiServiceProvider; });
|
315
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(46);
|
316
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
317
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
318
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
319
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
320
|
|
- 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;
|
321
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
322
|
|
-};
|
323
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
324
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
325
|
|
-};
|
326
|
|
-
|
327
|
|
-
|
328
|
|
-/*
|
329
|
|
- Generated class for the ApiServiceProvider provider.
|
330
|
|
-
|
331
|
|
- See https://angular.io/guide/dependency-injection for more info on providers
|
332
|
|
- and Angular DI.
|
333
|
|
-*/
|
334
|
|
-var ApiServiceProvider = /** @class */ (function () {
|
335
|
|
- function ApiServiceProvider(http) {
|
336
|
|
- this.http = http;
|
337
|
|
- console.log('Hello ApiServiceProvider Provider');
|
338
|
|
- }
|
339
|
|
- ApiServiceProvider.prototype.getUsers = function () {
|
340
|
|
- return this.http.get('https://arcane-ridge.herokuapp.com/users');
|
341
|
|
- };
|
342
|
|
- ApiServiceProvider.prototype.save = function (createAccountInfo) {
|
343
|
|
- //return this.http.post(`http://localhost:8080/ZipTeamOrange/add?username=${createAccountInfo.name}&email=${createAccountInfo.email}&password=${createAccountInfo.password}`, {})
|
344
|
|
- return this.http.post("https://arcane-ridge.herokuapp.com/user/add", createAccountInfo);
|
345
|
|
- };
|
346
|
|
- ApiServiceProvider = __decorate([
|
347
|
|
- Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Injectable */])(),
|
348
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["a" /* HttpClient */]])
|
349
|
|
- ], ApiServiceProvider);
|
350
|
|
- return ApiServiceProvider;
|
351
|
|
-}());
|
352
|
|
-
|
353
|
|
-//# sourceMappingURL=api-service.js.map
|
354
|
|
-
|
355
|
|
-/***/ }),
|
356
|
|
-
|
357
|
|
-/***/ 159:
|
358
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
359
|
|
-
|
360
|
|
-"use strict";
|
361
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AuthServiceProvider; });
|
362
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(46);
|
363
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
364
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__ = __webpack_require__(258);
|
365
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__);
|
366
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
367
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
368
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
369
|
|
- 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;
|
370
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
371
|
|
-};
|
372
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
373
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
374
|
|
-};
|
375
|
|
-
|
376
|
|
-
|
377
|
|
-
|
378
|
|
-/*
|
379
|
|
- Generated class for the AuthServiceProvider provider.
|
380
|
|
-
|
381
|
|
- See https://angular.io/guide/dependency-injection for more info on providers
|
382
|
|
- and Angular DI.
|
383
|
|
-*/
|
384
|
|
-var AuthServiceProvider = /** @class */ (function () {
|
385
|
|
- function AuthServiceProvider(http) {
|
386
|
|
- this.http = http;
|
387
|
|
- console.log('Hello AuthServiceProvider Provider');
|
388
|
|
- }
|
389
|
|
- AuthServiceProvider.prototype.postData = function (createAccountInfo) {
|
390
|
|
- var _this = this;
|
391
|
|
- return new Promise(function (resolve, reject) {
|
392
|
|
- _this.http.post("https://arcane-ridge.herokuapp.com/user/add", createAccountInfo, { responseType: 'text' }).subscribe(function (res) {
|
393
|
|
- console.log(JSON.parse(res));
|
394
|
|
- resolve(JSON.parse(res));
|
395
|
|
- }, function (err) {
|
396
|
|
- reject(err);
|
397
|
|
- });
|
398
|
|
- });
|
399
|
|
- };
|
400
|
|
- AuthServiceProvider = __decorate([
|
401
|
|
- Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Injectable */])(),
|
402
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["a" /* HttpClient */]])
|
403
|
|
- ], AuthServiceProvider);
|
404
|
|
- return AuthServiceProvider;
|
405
|
|
-}());
|
406
|
|
-
|
407
|
|
-//# sourceMappingURL=auth-service.js.map
|
408
|
|
-
|
409
|
|
-/***/ }),
|
410
|
|
-
|
411
|
|
-/***/ 203:
|
412
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
413
|
|
-
|
414
|
|
-"use strict";
|
415
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TabsPage; });
|
416
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
417
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__about_about__ = __webpack_require__(204);
|
418
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__contact_contact__ = __webpack_require__(205);
|
419
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__home_home__ = __webpack_require__(206);
|
420
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__firstPage_first__ = __webpack_require__(102);
|
421
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
422
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
423
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
424
|
|
- 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;
|
425
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
426
|
|
-};
|
427
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
428
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
429
|
|
-};
|
430
|
|
-
|
431
|
|
-
|
432
|
|
-
|
433
|
|
-
|
434
|
|
-
|
435
|
|
-var TabsPage = /** @class */ (function () {
|
436
|
|
- function TabsPage() {
|
437
|
|
- this.tab1Root = __WEBPACK_IMPORTED_MODULE_4__firstPage_first__["a" /* FirstPage */];
|
438
|
|
- this.tab2Root = __WEBPACK_IMPORTED_MODULE_3__home_home__["a" /* HomePage */];
|
439
|
|
- this.tab3Root = __WEBPACK_IMPORTED_MODULE_1__about_about__["a" /* AboutPage */];
|
440
|
|
- this.tab4Root = __WEBPACK_IMPORTED_MODULE_2__contact_contact__["a" /* ContactPage */];
|
441
|
|
- }
|
442
|
|
- TabsPage = __decorate([
|
443
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/tabs/tabs.html"*/'<ion-tabs>\n <ion-tab [root]="tab1Root" tabTitle="Log" tabIcon="sign-in"></ion-tab>\n <ion-tab [root]="tab2Root" tabTitle="Home" tabIcon="home"></ion-tab>\n <ion-tab [root]="tab3Root" tabTitle="About" tabIcon="information-circle"></ion-tab>\n <ion-tab [root]="tab4Root" tabTitle="Contact" tabIcon="contacts"></ion-tab>\n</ion-tabs>\n'/*ion-inline-end:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/tabs/tabs.html"*/
|
444
|
|
- }),
|
445
|
|
- __metadata("design:paramtypes", [])
|
446
|
|
- ], TabsPage);
|
447
|
|
- return TabsPage;
|
448
|
|
-}());
|
449
|
|
-
|
450
|
|
-//# sourceMappingURL=tabs.js.map
|
451
|
|
-
|
452
|
|
-/***/ }),
|
453
|
|
-
|
454
|
|
-/***/ 204:
|
455
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
456
|
|
-
|
457
|
|
-"use strict";
|
458
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AboutPage; });
|
459
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
460
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
|
461
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
462
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
463
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
464
|
|
- 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;
|
465
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
466
|
|
-};
|
467
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
468
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
469
|
|
-};
|
470
|
|
-
|
471
|
|
-
|
472
|
|
-var AboutPage = /** @class */ (function () {
|
473
|
|
- function AboutPage(navCtrl) {
|
474
|
|
- this.navCtrl = navCtrl;
|
475
|
|
- }
|
476
|
|
- AboutPage = __decorate([
|
477
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
478
|
|
- selector: 'page-about',template:/*ion-inline-start:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/about/about.html"*/'<ion-header>\n <ion-navbar>\n <ion-title>\n About\n </ion-title>\n </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/about/about.html"*/
|
479
|
|
- }),
|
480
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]])
|
481
|
|
- ], AboutPage);
|
482
|
|
- return AboutPage;
|
483
|
|
-}());
|
484
|
|
-
|
485
|
|
-//# sourceMappingURL=about.js.map
|
486
|
|
-
|
487
|
|
-/***/ }),
|
488
|
|
-
|
489
|
|
-/***/ 205:
|
490
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
491
|
|
-
|
492
|
|
-"use strict";
|
493
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ContactPage; });
|
494
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
495
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
|
496
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
497
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
498
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
499
|
|
- 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;
|
500
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
501
|
|
-};
|
502
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
503
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
504
|
|
-};
|
505
|
|
-
|
506
|
|
-
|
507
|
|
-var ContactPage = /** @class */ (function () {
|
508
|
|
- function ContactPage(navCtrl) {
|
509
|
|
- this.navCtrl = navCtrl;
|
510
|
|
- }
|
511
|
|
- ContactPage = __decorate([
|
512
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
513
|
|
- selector: 'page-contact',template:/*ion-inline-start:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/contact/contact.html"*/'<ion-header>\n <ion-navbar>\n <ion-title>\n Contact\n </ion-title>\n </ion-navbar>\n</ion-header>\n\n<ion-content>\n <ion-list>\n <ion-list-header>Follow us on Twitter</ion-list-header>\n <ion-item>\n <ion-icon name="ionic" item-start></ion-icon>\n @ionicframework\n </ion-item>\n </ion-list>\n</ion-content>\n'/*ion-inline-end:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/contact/contact.html"*/
|
514
|
|
- }),
|
515
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]])
|
516
|
|
- ], ContactPage);
|
517
|
|
- return ContactPage;
|
518
|
|
-}());
|
519
|
|
-
|
520
|
|
-//# sourceMappingURL=contact.js.map
|
521
|
|
-
|
522
|
|
-/***/ }),
|
523
|
|
-
|
524
|
|
-/***/ 206:
|
525
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
526
|
|
-
|
527
|
|
-"use strict";
|
528
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HomePage; });
|
529
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
530
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
|
531
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
532
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
533
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
534
|
|
- 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;
|
535
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
536
|
|
-};
|
537
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
538
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
539
|
|
-};
|
540
|
|
-
|
541
|
|
-
|
542
|
|
-var HomePage = /** @class */ (function () {
|
543
|
|
- function HomePage(navCtrl) {
|
544
|
|
- this.navCtrl = navCtrl;
|
545
|
|
- }
|
546
|
|
- HomePage = __decorate([
|
547
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
548
|
|
- selector: 'page-home',template:/*ion-inline-start:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/home/home.html"*/'<ion-header>\n <ion-navbar>\n <ion-title>Home</ion-title>\n </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n <h2>Welcome to Ionic!</h2>\n <p>\n This starter project comes with simple tabs-based layout for apps\n that are going to primarily use a Tabbed UI.\n </p>\n <p>\n Take a look at the <code>src/pages/</code> directory to add or change tabs,\n update any existing page or create new pages.\n </p>\n</ion-content>\n'/*ion-inline-end:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/home/home.html"*/
|
549
|
|
- }),
|
550
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]])
|
551
|
|
- ], HomePage);
|
552
|
|
- return HomePage;
|
553
|
|
-}());
|
554
|
|
-
|
555
|
|
-//# sourceMappingURL=home.js.map
|
556
|
|
-
|
557
|
|
-/***/ }),
|
558
|
|
-
|
559
|
|
-/***/ 207:
|
560
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
561
|
|
-
|
562
|
|
-"use strict";
|
563
|
|
-Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
564
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(208);
|
565
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(228);
|
566
|
|
-
|
567
|
|
-
|
568
|
|
-Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
|
569
|
|
-//# sourceMappingURL=main.js.map
|
570
|
|
-
|
571
|
|
-/***/ }),
|
572
|
|
-
|
573
|
|
-/***/ 228:
|
574
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
575
|
|
-
|
576
|
|
-"use strict";
|
577
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
|
578
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
579
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__ = __webpack_require__(31);
|
580
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(20);
|
581
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(276);
|
582
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_about_about__ = __webpack_require__(204);
|
583
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_contact_contact__ = __webpack_require__(205);
|
584
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_home_home__ = __webpack_require__(206);
|
585
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_tabs_tabs__ = __webpack_require__(203);
|
586
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ionic_native_status_bar__ = __webpack_require__(199);
|
587
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_splash_screen__ = __webpack_require__(202);
|
588
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_firstPage_first__ = __webpack_require__(102);
|
589
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_sign_up_sign_up__ = __webpack_require__(103);
|
590
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_api_service_api_service__ = __webpack_require__(158);
|
591
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__node_modules_angular_common_http__ = __webpack_require__(46);
|
592
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_auth_service_auth_service__ = __webpack_require__(159);
|
593
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__providers_message_service_message_service__ = __webpack_require__(157);
|
594
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__pages_chat_chat__ = __webpack_require__(101);
|
595
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
596
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
597
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
598
|
|
- 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;
|
599
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
600
|
|
-};
|
601
|
|
-
|
602
|
|
-
|
603
|
|
-
|
604
|
|
-
|
605
|
|
-
|
606
|
|
-
|
607
|
|
-
|
608
|
|
-
|
609
|
|
-
|
610
|
|
-
|
611
|
|
-
|
612
|
|
-
|
613
|
|
-
|
614
|
|
-
|
615
|
|
-
|
616
|
|
-
|
617
|
|
-
|
618
|
|
-var AppModule = /** @class */ (function () {
|
619
|
|
- function AppModule() {
|
620
|
|
- }
|
621
|
|
- AppModule = __decorate([
|
622
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
|
623
|
|
- declarations: [
|
624
|
|
- __WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */],
|
625
|
|
- __WEBPACK_IMPORTED_MODULE_10__pages_firstPage_first__["a" /* FirstPage */],
|
626
|
|
- __WEBPACK_IMPORTED_MODULE_4__pages_about_about__["a" /* AboutPage */],
|
627
|
|
- __WEBPACK_IMPORTED_MODULE_5__pages_contact_contact__["a" /* ContactPage */],
|
628
|
|
- __WEBPACK_IMPORTED_MODULE_6__pages_home_home__["a" /* HomePage */],
|
629
|
|
- __WEBPACK_IMPORTED_MODULE_7__pages_tabs_tabs__["a" /* TabsPage */],
|
630
|
|
- __WEBPACK_IMPORTED_MODULE_11__pages_sign_up_sign_up__["a" /* SignUpPage */],
|
631
|
|
- __WEBPACK_IMPORTED_MODULE_16__pages_chat_chat__["a" /* ChatPage */]
|
632
|
|
- ],
|
633
|
|
- imports: [
|
634
|
|
- __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__["a" /* BrowserModule */],
|
635
|
|
- __WEBPACK_IMPORTED_MODULE_13__node_modules_angular_common_http__["b" /* HttpClientModule */],
|
636
|
|
- __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], {}, {
|
637
|
|
- links: [
|
638
|
|
- { loadChildren: '../pages/chat/chat.module#ChatPageModule', name: 'ChatPage', segment: 'chat', priority: 'low', defaultHistory: [] },
|
639
|
|
- { loadChildren: '../pages/firstPage/first.module#FirstPageModule', name: 'FirstPage', segment: 'first', priority: 'low', defaultHistory: [] },
|
640
|
|
- { loadChildren: '../pages/sign-up/sign-up.module#SignUpPageModule', name: 'SignUpPage', segment: 'sign-up', priority: 'low', defaultHistory: [] }
|
641
|
|
- ]
|
642
|
|
- })
|
643
|
|
- ],
|
644
|
|
- bootstrap: [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["a" /* IonicApp */]],
|
645
|
|
- entryComponents: [
|
646
|
|
- __WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */],
|
647
|
|
- __WEBPACK_IMPORTED_MODULE_10__pages_firstPage_first__["a" /* FirstPage */],
|
648
|
|
- __WEBPACK_IMPORTED_MODULE_4__pages_about_about__["a" /* AboutPage */],
|
649
|
|
- __WEBPACK_IMPORTED_MODULE_5__pages_contact_contact__["a" /* ContactPage */],
|
650
|
|
- __WEBPACK_IMPORTED_MODULE_6__pages_home_home__["a" /* HomePage */],
|
651
|
|
- __WEBPACK_IMPORTED_MODULE_7__pages_tabs_tabs__["a" /* TabsPage */],
|
652
|
|
- __WEBPACK_IMPORTED_MODULE_11__pages_sign_up_sign_up__["a" /* SignUpPage */],
|
653
|
|
- __WEBPACK_IMPORTED_MODULE_16__pages_chat_chat__["a" /* ChatPage */]
|
654
|
|
- ],
|
655
|
|
- providers: [
|
656
|
|
- __WEBPACK_IMPORTED_MODULE_8__ionic_native_status_bar__["a" /* StatusBar */],
|
657
|
|
- __WEBPACK_IMPORTED_MODULE_9__ionic_native_splash_screen__["a" /* SplashScreen */],
|
658
|
|
- { provide: __WEBPACK_IMPORTED_MODULE_0__angular_core__["u" /* ErrorHandler */], useClass: __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["b" /* IonicErrorHandler */] },
|
659
|
|
- __WEBPACK_IMPORTED_MODULE_12__providers_api_service_api_service__["a" /* ApiServiceProvider */],
|
660
|
|
- __WEBPACK_IMPORTED_MODULE_14__providers_auth_service_auth_service__["a" /* AuthServiceProvider */],
|
661
|
|
- __WEBPACK_IMPORTED_MODULE_15__providers_message_service_message_service__["a" /* MessageServiceProvider */]
|
662
|
|
- ]
|
663
|
|
- })
|
664
|
|
- ], AppModule);
|
665
|
|
- return AppModule;
|
666
|
|
-}());
|
667
|
|
-
|
668
|
|
-//# sourceMappingURL=app.module.js.map
|
669
|
|
-
|
670
|
|
-/***/ }),
|
671
|
|
-
|
672
|
|
-/***/ 276:
|
673
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
674
|
|
-
|
675
|
|
-"use strict";
|
676
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
|
677
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
678
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
|
679
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(199);
|
680
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(202);
|
681
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(203);
|
682
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
683
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
684
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
685
|
|
- 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;
|
686
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
687
|
|
-};
|
688
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
689
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
690
|
|
-};
|
691
|
|
-
|
692
|
|
-
|
693
|
|
-
|
694
|
|
-
|
695
|
|
-
|
696
|
|
-var MyApp = /** @class */ (function () {
|
697
|
|
- function MyApp(platform, statusBar, splashScreen) {
|
698
|
|
- this.rootPage = __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__["a" /* TabsPage */];
|
699
|
|
- platform.ready().then(function () {
|
700
|
|
- // Okay, so the platform is ready and our plugins are available.
|
701
|
|
- // Here you can do any higher level native things you might need.
|
702
|
|
- statusBar.styleDefault();
|
703
|
|
- splashScreen.hide();
|
704
|
|
- });
|
705
|
|
- }
|
706
|
|
- MyApp = __decorate([
|
707
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/app/app.html"*/'<ion-nav [root]="rootPage"></ion-nav>\n'/*ion-inline-end:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/app/app.html"*/
|
708
|
|
- }),
|
709
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */]])
|
710
|
|
- ], MyApp);
|
711
|
|
- return MyApp;
|
712
|
|
-}());
|
713
|
|
-
|
714
|
|
-//# sourceMappingURL=app.component.js.map
|
715
|
|
-
|
716
|
|
-/***/ })
|
717
|
|
-
|
718
|
|
-},[207]);
|
719
|
|
-//# sourceMappingURL=main.js.map
|