|
@@ -7,6 +7,7 @@ webpackJsonp([3],{
|
7
|
7
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChatPage; });
|
8
|
8
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
9
|
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);
|
10
|
11
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
11
|
12
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
12
|
13
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -18,6 +19,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
18
|
19
|
};
|
19
|
20
|
|
20
|
21
|
|
|
22
|
+
|
21
|
23
|
/**
|
22
|
24
|
* Generated class for the ChatPage page.
|
23
|
25
|
*
|
|
@@ -25,23 +27,27 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
25
|
27
|
* Ionic pages and navigation.
|
26
|
28
|
*/
|
27
|
29
|
var ChatPage = /** @class */ (function () {
|
28
|
|
- function ChatPage(navCtrl, navParams) {
|
|
30
|
+ function ChatPage(navCtrl, navParams, messageApi) {
|
29
|
31
|
this.navCtrl = navCtrl;
|
30
|
32
|
this.navParams = navParams;
|
|
33
|
+ this.messageApi = messageApi;
|
31
|
34
|
}
|
32
|
35
|
ChatPage.prototype.ionViewDidLoad = function () {
|
33
|
36
|
console.log('ionViewDidLoad ChatPage');
|
34
|
37
|
};
|
35
|
|
- ChatPage.prototype.send = function () {
|
|
38
|
+ ChatPage.prototype.send = function (createAccountInfo) {
|
36
|
39
|
console.log("clicked");
|
|
40
|
+ console.log({ test: this.test });
|
|
41
|
+ // this.messageApi.saveMessage(createAccountInfo);
|
37
|
42
|
};
|
38
|
43
|
ChatPage = __decorate([
|
39
|
44
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
40
|
|
- 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\n\n<ion-content padding>\n <input type="text"><button ion-button (click)="send()">send</button>\n</ion-content>\n'/*ion-inline-end:"/Users/ChadH/Labs/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/chat/chat.html"*/,
|
|
45
|
+ 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\n\n<ion-content padding>\n <ion-textarea type="text" [(ngModel)]="test" ng-submit="send()"></ion-textarea><button ion-button (click)="send()">send</button>\n</ion-content>\n'/*ion-inline-end:"/Users/alizalang/Desktop/ZipTeam/ZipTeamOrange-ionic-UI/src/pages/chat/chat.html"*/,
|
41
|
46
|
}),
|
42
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
|
|
47
|
+ __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_2__providers_message_service_message_service__["a" /* MessageServiceProvider */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__providers_message_service_message_service__["a" /* MessageServiceProvider */]) === "function" && _c || Object])
|
43
|
48
|
], ChatPage);
|
44
|
49
|
return ChatPage;
|
|
50
|
+ var _a, _b, _c;
|
45
|
51
|
}());
|
46
|
52
|
|
47
|
53
|
//# sourceMappingURL=chat.js.map
|
|
@@ -56,7 +62,7 @@ var ChatPage = /** @class */ (function () {
|
56
|
62
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
57
|
63
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
|
58
|
64
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__sign_up_sign_up__ = __webpack_require__(103);
|
59
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_auth_service_auth_service__ = __webpack_require__(158);
|
|
65
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_auth_service_auth_service__ = __webpack_require__(159);
|
60
|
66
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__chat_chat__ = __webpack_require__(101);
|
61
|
67
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
62
|
68
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -106,7 +112,7 @@ var FirstPage = /** @class */ (function () {
|
106
|
112
|
};
|
107
|
113
|
FirstPage = __decorate([
|
108
|
114
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
109
|
|
- 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"*/,
|
|
115
|
+ 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"*/,
|
110
|
116
|
}),
|
111
|
117
|
__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 */]])
|
112
|
118
|
], FirstPage);
|
|
@@ -124,7 +130,7 @@ var FirstPage = /** @class */ (function () {
|
124
|
130
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SignUpPage; });
|
125
|
131
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
126
|
132
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
|
127
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_api_service_api_service__ = __webpack_require__(157);
|
|
133
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_api_service_api_service__ = __webpack_require__(158);
|
128
|
134
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
129
|
135
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
130
|
136
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -165,12 +171,12 @@ var SignUpPage = /** @class */ (function () {
|
165
|
171
|
console.log('ionViewDidLoad SignUpPage');
|
166
|
172
|
};
|
167
|
173
|
SignUpPage.prototype.save = function (createAccountInfo) {
|
168
|
|
- console.log(createAccountInfo);
|
|
174
|
+ // console.log(createAccountInfo)
|
169
|
175
|
this.apiProvider.save(createAccountInfo).subscribe(console.log);
|
170
|
176
|
};
|
171
|
177
|
SignUpPage = __decorate([
|
172
|
178
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
173
|
|
- 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"*/,
|
|
179
|
+ 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"*/,
|
174
|
180
|
}),
|
175
|
181
|
__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 */]])
|
176
|
182
|
], SignUpPage);
|
|
@@ -204,15 +210,15 @@ webpackEmptyAsyncContext.id = 115;
|
204
|
210
|
var map = {
|
205
|
211
|
"../pages/chat/chat.module": [
|
206
|
212
|
284,
|
207
|
|
- 0
|
|
213
|
+ 2
|
208
|
214
|
],
|
209
|
215
|
"../pages/firstPage/first.module": [
|
210
|
216
|
285,
|
211
|
|
- 2
|
|
217
|
+ 1
|
212
|
218
|
],
|
213
|
219
|
"../pages/sign-up/sign-up.module": [
|
214
|
220
|
286,
|
215
|
|
- 1
|
|
221
|
+ 0
|
216
|
222
|
]
|
217
|
223
|
};
|
218
|
224
|
function webpackAsyncContext(req) {
|
|
@@ -235,6 +241,52 @@ module.exports = webpackAsyncContext;
|
235
|
241
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
236
|
242
|
|
237
|
243
|
"use strict";
|
|
244
|
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MessageServiceProvider; });
|
|
245
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(46);
|
|
246
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
|
247
|
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
248
|
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
249
|
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
250
|
+ 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;
|
|
251
|
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
252
|
+};
|
|
253
|
+var __metadata = (this && this.__metadata) || function (k, v) {
|
|
254
|
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
255
|
+};
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+/*
|
|
259
|
+ Generated class for the MessageServiceProvider provider.
|
|
260
|
+
|
|
261
|
+ See https://angular.io/guide/dependency-injection for more info on providers
|
|
262
|
+ and Angular DI.
|
|
263
|
+*/
|
|
264
|
+var MessageServiceProvider = /** @class */ (function () {
|
|
265
|
+ function MessageServiceProvider(http) {
|
|
266
|
+ this.http = http;
|
|
267
|
+ console.log('Hello MessageServiceProvider Provider');
|
|
268
|
+ }
|
|
269
|
+ MessageServiceProvider.prototype.getMessages = function () {
|
|
270
|
+ return this.http.get('http:localhost:8080/messages');
|
|
271
|
+ };
|
|
272
|
+ MessageServiceProvider.prototype.saveMessage = function (createAccountInfo) {
|
|
273
|
+ return this.http.post("http://localhost:8080/message/add", createAccountInfo);
|
|
274
|
+ };
|
|
275
|
+ MessageServiceProvider = __decorate([
|
|
276
|
+ Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Injectable */])(),
|
|
277
|
+ __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["a" /* HttpClient */]])
|
|
278
|
+ ], MessageServiceProvider);
|
|
279
|
+ return MessageServiceProvider;
|
|
280
|
+}());
|
|
281
|
+
|
|
282
|
+//# sourceMappingURL=message-service.js.map
|
|
283
|
+
|
|
284
|
+/***/ }),
|
|
285
|
+
|
|
286
|
+/***/ 158:
|
|
287
|
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
288
|
+
|
|
289
|
+"use strict";
|
238
|
290
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApiServiceProvider; });
|
239
|
291
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(46);
|
240
|
292
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
|
@@ -278,14 +330,14 @@ var ApiServiceProvider = /** @class */ (function () {
|
278
|
330
|
|
279
|
331
|
/***/ }),
|
280
|
332
|
|
281
|
|
-/***/ 158:
|
|
333
|
+/***/ 159:
|
282
|
334
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
283
|
335
|
|
284
|
336
|
"use strict";
|
285
|
337
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AuthServiceProvider; });
|
286
|
338
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(46);
|
287
|
339
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
288
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__ = __webpack_require__(257);
|
|
340
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__ = __webpack_require__(258);
|
289
|
341
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_rxjs_add_operator_map__);
|
290
|
342
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
291
|
343
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -332,15 +384,15 @@ var AuthServiceProvider = /** @class */ (function () {
|
332
|
384
|
|
333
|
385
|
/***/ }),
|
334
|
386
|
|
335
|
|
-/***/ 202:
|
|
387
|
+/***/ 203:
|
336
|
388
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
337
|
389
|
|
338
|
390
|
"use strict";
|
339
|
391
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TabsPage; });
|
340
|
392
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
341
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__about_about__ = __webpack_require__(203);
|
342
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__contact_contact__ = __webpack_require__(204);
|
343
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__home_home__ = __webpack_require__(205);
|
|
393
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__about_about__ = __webpack_require__(204);
|
|
394
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__contact_contact__ = __webpack_require__(205);
|
|
395
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__home_home__ = __webpack_require__(206);
|
344
|
396
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__firstPage_first__ = __webpack_require__(102);
|
345
|
397
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
346
|
398
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -364,7 +416,7 @@ var TabsPage = /** @class */ (function () {
|
364
|
416
|
this.tab4Root = __WEBPACK_IMPORTED_MODULE_2__contact_contact__["a" /* ContactPage */];
|
365
|
417
|
}
|
366
|
418
|
TabsPage = __decorate([
|
367
|
|
- 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"*/
|
|
419
|
+ 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"*/
|
368
|
420
|
}),
|
369
|
421
|
__metadata("design:paramtypes", [])
|
370
|
422
|
], TabsPage);
|
|
@@ -375,7 +427,7 @@ var TabsPage = /** @class */ (function () {
|
375
|
427
|
|
376
|
428
|
/***/ }),
|
377
|
429
|
|
378
|
|
-/***/ 203:
|
|
430
|
+/***/ 204:
|
379
|
431
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
380
|
432
|
|
381
|
433
|
"use strict";
|
|
@@ -399,7 +451,7 @@ var AboutPage = /** @class */ (function () {
|
399
|
451
|
}
|
400
|
452
|
AboutPage = __decorate([
|
401
|
453
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
402
|
|
- 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"*/
|
|
454
|
+ 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"*/
|
403
|
455
|
}),
|
404
|
456
|
__metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]])
|
405
|
457
|
], AboutPage);
|
|
@@ -410,7 +462,7 @@ var AboutPage = /** @class */ (function () {
|
410
|
462
|
|
411
|
463
|
/***/ }),
|
412
|
464
|
|
413
|
|
-/***/ 204:
|
|
465
|
+/***/ 205:
|
414
|
466
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
415
|
467
|
|
416
|
468
|
"use strict";
|
|
@@ -434,7 +486,7 @@ var ContactPage = /** @class */ (function () {
|
434
|
486
|
}
|
435
|
487
|
ContactPage = __decorate([
|
436
|
488
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
437
|
|
- 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"*/
|
|
489
|
+ 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"*/
|
438
|
490
|
}),
|
439
|
491
|
__metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]])
|
440
|
492
|
], ContactPage);
|
|
@@ -445,7 +497,7 @@ var ContactPage = /** @class */ (function () {
|
445
|
497
|
|
446
|
498
|
/***/ }),
|
447
|
499
|
|
448
|
|
-/***/ 205:
|
|
500
|
+/***/ 206:
|
449
|
501
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
450
|
502
|
|
451
|
503
|
"use strict";
|
|
@@ -469,7 +521,7 @@ var HomePage = /** @class */ (function () {
|
469
|
521
|
}
|
470
|
522
|
HomePage = __decorate([
|
471
|
523
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
472
|
|
- 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"*/
|
|
524
|
+ 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"*/
|
473
|
525
|
}),
|
474
|
526
|
__metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]])
|
475
|
527
|
], HomePage);
|
|
@@ -480,13 +532,13 @@ var HomePage = /** @class */ (function () {
|
480
|
532
|
|
481
|
533
|
/***/ }),
|
482
|
534
|
|
483
|
|
-/***/ 206:
|
|
535
|
+/***/ 207:
|
484
|
536
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
485
|
537
|
|
486
|
538
|
"use strict";
|
487
|
539
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
488
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(207);
|
489
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(227);
|
|
540
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(208);
|
|
541
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(228);
|
490
|
542
|
|
491
|
543
|
|
492
|
544
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
|
|
@@ -494,7 +546,7 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
|
494
|
546
|
|
495
|
547
|
/***/ }),
|
496
|
548
|
|
497
|
|
-/***/ 227:
|
|
549
|
+/***/ 228:
|
498
|
550
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
499
|
551
|
|
500
|
552
|
"use strict";
|
|
@@ -502,19 +554,19 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
|
502
|
554
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
503
|
555
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__ = __webpack_require__(31);
|
504
|
556
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(20);
|
505
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(275);
|
506
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_about_about__ = __webpack_require__(203);
|
507
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_contact_contact__ = __webpack_require__(204);
|
508
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_home_home__ = __webpack_require__(205);
|
509
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_tabs_tabs__ = __webpack_require__(202);
|
510
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ionic_native_status_bar__ = __webpack_require__(198);
|
511
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_splash_screen__ = __webpack_require__(201);
|
|
557
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(276);
|
|
558
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_about_about__ = __webpack_require__(204);
|
|
559
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_contact_contact__ = __webpack_require__(205);
|
|
560
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_home_home__ = __webpack_require__(206);
|
|
561
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_tabs_tabs__ = __webpack_require__(203);
|
|
562
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ionic_native_status_bar__ = __webpack_require__(199);
|
|
563
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_splash_screen__ = __webpack_require__(202);
|
512
|
564
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_firstPage_first__ = __webpack_require__(102);
|
513
|
565
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_sign_up_sign_up__ = __webpack_require__(103);
|
514
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_api_service_api_service__ = __webpack_require__(157);
|
|
566
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_api_service_api_service__ = __webpack_require__(158);
|
515
|
567
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__node_modules_angular_common_http__ = __webpack_require__(46);
|
516
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_auth_service_auth_service__ = __webpack_require__(158);
|
517
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__providers_message_service_message_service__ = __webpack_require__(283);
|
|
568
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_auth_service_auth_service__ = __webpack_require__(159);
|
|
569
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__providers_message_service_message_service__ = __webpack_require__(157);
|
518
|
570
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__pages_chat_chat__ = __webpack_require__(101);
|
519
|
571
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
520
|
572
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -593,16 +645,16 @@ var AppModule = /** @class */ (function () {
|
593
|
645
|
|
594
|
646
|
/***/ }),
|
595
|
647
|
|
596
|
|
-/***/ 275:
|
|
648
|
+/***/ 276:
|
597
|
649
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
598
|
650
|
|
599
|
651
|
"use strict";
|
600
|
652
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
|
601
|
653
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
602
|
654
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
|
603
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(198);
|
604
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(201);
|
605
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(202);
|
|
655
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(199);
|
|
656
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(202);
|
|
657
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(203);
|
606
|
658
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
607
|
659
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
608
|
660
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -628,7 +680,7 @@ var MyApp = /** @class */ (function () {
|
628
|
680
|
});
|
629
|
681
|
}
|
630
|
682
|
MyApp = __decorate([
|
631
|
|
- 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"*/
|
|
683
|
+ 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"*/
|
632
|
684
|
}),
|
633
|
685
|
__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 */]])
|
634
|
686
|
], MyApp);
|
|
@@ -637,53 +689,7 @@ var MyApp = /** @class */ (function () {
|
637
|
689
|
|
638
|
690
|
//# sourceMappingURL=app.component.js.map
|
639
|
691
|
|
640
|
|
-/***/ }),
|
641
|
|
-
|
642
|
|
-/***/ 283:
|
643
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
644
|
|
-
|
645
|
|
-"use strict";
|
646
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MessageServiceProvider; });
|
647
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(46);
|
648
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
649
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
650
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
651
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
652
|
|
- 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;
|
653
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
654
|
|
-};
|
655
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
656
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
657
|
|
-};
|
658
|
|
-
|
659
|
|
-
|
660
|
|
-/*
|
661
|
|
- Generated class for the MessageServiceProvider provider.
|
662
|
|
-
|
663
|
|
- See https://angular.io/guide/dependency-injection for more info on providers
|
664
|
|
- and Angular DI.
|
665
|
|
-*/
|
666
|
|
-var MessageServiceProvider = /** @class */ (function () {
|
667
|
|
- function MessageServiceProvider(http) {
|
668
|
|
- this.http = http;
|
669
|
|
- console.log('Hello MessageServiceProvider Provider');
|
670
|
|
- }
|
671
|
|
- MessageServiceProvider.prototype.getMessages = function () {
|
672
|
|
- return this.http.get('http:localhost:8080/messages');
|
673
|
|
- };
|
674
|
|
- MessageServiceProvider.prototype.saveMessage = function (createAccountInfo) {
|
675
|
|
- return this.http.post("http://localhost:8080/message/add", createAccountInfo);
|
676
|
|
- };
|
677
|
|
- MessageServiceProvider = __decorate([
|
678
|
|
- Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Injectable */])(),
|
679
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["a" /* HttpClient */]])
|
680
|
|
- ], MessageServiceProvider);
|
681
|
|
- return MessageServiceProvider;
|
682
|
|
-}());
|
683
|
|
-
|
684
|
|
-//# sourceMappingURL=message-service.js.map
|
685
|
|
-
|
686
|
692
|
/***/ })
|
687
|
693
|
|
688
|
|
-},[206]);
|
|
694
|
+},[207]);
|
689
|
695
|
//# sourceMappingURL=main.js.map
|