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