|
|
|
|
4
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
4
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5
|
|
5
|
|
6
|
"use strict";
|
6
|
"use strict";
|
|
|
7
|
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SignUpPage; });
|
|
|
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__(18);
|
|
|
10
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_api_api__ = __webpack_require__(78);
|
|
|
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
|
+/**
|
|
|
24
|
+ * Generated class for the SignUpPage page.
|
|
|
25
|
+ *
|
|
|
26
|
+ * See https://ionicframework.com/docs/components/#navigation for more info on
|
|
|
27
|
+ * Ionic pages and navigation.
|
|
|
28
|
+ */
|
|
|
29
|
+var SignUpPage = /** @class */ (function () {
|
|
|
30
|
+ function SignUpPage(navCtrl, navParams, apiProvider) {
|
|
|
31
|
+ this.navCtrl = navCtrl;
|
|
|
32
|
+ this.navParams = navParams;
|
|
|
33
|
+ this.apiProvider = apiProvider;
|
|
|
34
|
+ this.user = {};
|
|
|
35
|
+ }
|
|
|
36
|
+ // ngOnInit(){
|
|
|
37
|
+ // this.loadUsers();
|
|
|
38
|
+ // }
|
|
|
39
|
+ // loadUsers(){
|
|
|
40
|
+ // this.apiProvider.getUsers().subscribe(data => this.user =data["_embedded"]["users"],
|
|
|
41
|
+ // err => {
|
|
|
42
|
+ // console.log(err);
|
|
|
43
|
+ // });
|
|
|
44
|
+ // }
|
|
|
45
|
+ SignUpPage.prototype.ionViewDidLoad = function () {
|
|
|
46
|
+ console.log('ionViewDidLoad SignUpPage');
|
|
|
47
|
+ };
|
|
|
48
|
+ SignUpPage.prototype.test = function (createAccountInfo) {
|
|
|
49
|
+ console.log(createAccountInfo);
|
|
|
50
|
+ this.apiProvider.saveUser(createAccountInfo).subscribe(console.log);
|
|
|
51
|
+ };
|
|
|
52
|
+ SignUpPage = __decorate([
|
|
|
53
|
+ Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
|
|
54
|
+ selector: 'page-sign-up',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/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)="test(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" type="submit" (click)="test(registerForm.value)">Create Account</button>\n </ion-col>\n </ion-row>\n </form>\n \n </div>\n\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/sign-up/sign-up.html"*/,
|
|
|
55
|
+ }),
|
|
|
56
|
+ __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_api_api__["a" /* ApiProvider */]])
|
|
|
57
|
+ ], SignUpPage);
|
|
|
58
|
+ return SignUpPage;
|
|
|
59
|
+}());
|
|
|
60
|
+
|
|
|
61
|
+//# sourceMappingURL=sign-up.js.map
|
|
|
62
|
+
|
|
|
63
|
+/***/ }),
|
|
|
64
|
+
|
|
|
65
|
+/***/ 103:
|
|
|
66
|
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
67
|
+
|
|
|
68
|
+"use strict";
|
7
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyTeamsPage; });
|
69
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyTeamsPage; });
|
8
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
70
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
9
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
71
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
10
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tournaments_tournaments__ = __webpack_require__(50);
|
72
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__tournaments_tournaments__ = __webpack_require__(50);
|
11
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_api_api__ = __webpack_require__(79);
|
|
|
12
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__sign_up_sign_up__ = __webpack_require__(107);
|
|
|
|
|
73
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_api_api__ = __webpack_require__(78);
|
|
|
74
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__sign_up_sign_up__ = __webpack_require__(102);
|
13
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
75
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
14
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
76
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
15
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
77
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
|
|
|
59
|
|
121
|
|
60
|
/***/ }),
|
122
|
/***/ }),
|
61
|
|
123
|
|
62
|
-/***/ 103:
|
|
|
|
|
124
|
+/***/ 104:
|
63
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
125
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
64
|
|
126
|
|
65
|
"use strict";
|
127
|
"use strict";
|
66
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TeamsPage; });
|
128
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TeamsPage; });
|
67
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
129
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
68
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
130
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
69
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_home_team_home__ = __webpack_require__(104);
|
|
|
|
|
131
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_home_team_home__ = __webpack_require__(105);
|
70
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
132
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
71
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
133
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
72
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
134
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
|
|
|
114
|
|
176
|
|
115
|
/***/ }),
|
177
|
/***/ }),
|
116
|
|
178
|
|
117
|
-/***/ 104:
|
|
|
|
|
179
|
+/***/ 105:
|
118
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
180
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
119
|
|
181
|
|
120
|
"use strict";
|
182
|
"use strict";
|
121
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TeamHomePage; });
|
183
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TeamHomePage; });
|
122
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
184
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
123
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
185
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
124
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_details_team_details__ = __webpack_require__(105);
|
|
|
125
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__standings_standings__ = __webpack_require__(106);
|
|
|
|
|
186
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__team_details_team_details__ = __webpack_require__(106);
|
|
|
187
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__standings_standings__ = __webpack_require__(107);
|
126
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
188
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
127
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
189
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
128
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
190
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
|
|
|
165
|
|
227
|
|
166
|
/***/ }),
|
228
|
/***/ }),
|
167
|
|
229
|
|
168
|
-/***/ 105:
|
|
|
|
|
230
|
+/***/ 106:
|
169
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
231
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
170
|
|
232
|
|
171
|
"use strict";
|
233
|
"use strict";
|
|
|
|
|
213
|
|
275
|
|
214
|
/***/ }),
|
276
|
/***/ }),
|
215
|
|
277
|
|
216
|
-/***/ 106:
|
|
|
|
|
278
|
+/***/ 107:
|
217
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
279
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
218
|
|
280
|
|
219
|
"use strict";
|
281
|
"use strict";
|
|
|
|
|
258
|
|
320
|
|
259
|
/***/ }),
|
321
|
/***/ }),
|
260
|
|
322
|
|
261
|
-/***/ 107:
|
|
|
262
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
263
|
-
|
|
|
264
|
-"use strict";
|
|
|
265
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SignUpPage; });
|
|
|
266
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
|
|
267
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
|
|
268
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_api_api__ = __webpack_require__(79);
|
|
|
269
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
|
270
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
|
271
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
|
272
|
- 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;
|
|
|
273
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
|
274
|
-};
|
|
|
275
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
276
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
|
277
|
-};
|
|
|
278
|
-
|
|
|
279
|
-
|
|
|
280
|
-
|
|
|
281
|
-/**
|
|
|
282
|
- * Generated class for the SignUpPage page.
|
|
|
283
|
- *
|
|
|
284
|
- * See https://ionicframework.com/docs/components/#navigation for more info on
|
|
|
285
|
- * Ionic pages and navigation.
|
|
|
286
|
- */
|
|
|
287
|
-var SignUpPage = /** @class */ (function () {
|
|
|
288
|
- function SignUpPage(navCtrl, navParams, apiProvider) {
|
|
|
289
|
- this.navCtrl = navCtrl;
|
|
|
290
|
- this.navParams = navParams;
|
|
|
291
|
- this.apiProvider = apiProvider;
|
|
|
292
|
- this.user = {};
|
|
|
293
|
- }
|
|
|
294
|
- // ngOnInit(){
|
|
|
295
|
- // this.loadUsers();
|
|
|
296
|
- // }
|
|
|
297
|
- // loadUsers(){
|
|
|
298
|
- // this.apiProvider.getUsers().subscribe(data => this.user =data["_embedded"]["users"],
|
|
|
299
|
- // err => {
|
|
|
300
|
- // console.log(err);
|
|
|
301
|
- // });
|
|
|
302
|
- // }
|
|
|
303
|
- SignUpPage.prototype.ionViewDidLoad = function () {
|
|
|
304
|
- console.log('ionViewDidLoad SignUpPage');
|
|
|
305
|
- };
|
|
|
306
|
- SignUpPage.prototype.test = function (createAccountInfo) {
|
|
|
307
|
- console.log(createAccountInfo);
|
|
|
308
|
- this.apiProvider.saveUser(createAccountInfo).subscribe(console.log);
|
|
|
309
|
- };
|
|
|
310
|
- SignUpPage = __decorate([
|
|
|
311
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
|
|
312
|
- selector: 'page-sign-up',template:/*ion-inline-start:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/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)="test(registerForm.value)">\n <ion-row>\n <ion-col>\n <ion-list inset>\n <ion-item>\n <ion-input type="text" placeholder="Username" name="name" 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" type="submit" (click)="test(registerForm.value)">Create Account</button>\n </ion-col>\n </ion-row>\n </form>\n \n </div>\n\n</ion-content>\n'/*ion-inline-end:"/Users/roym/My_Passion_Project/Passion_Project/ionic-fb/src/pages/sign-up/sign-up.html"*/,
|
|
|
313
|
- }),
|
|
|
314
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_api_api__["a" /* ApiProvider */]])
|
|
|
315
|
- ], SignUpPage);
|
|
|
316
|
- return SignUpPage;
|
|
|
317
|
-}());
|
|
|
318
|
-
|
|
|
319
|
-//# sourceMappingURL=sign-up.js.map
|
|
|
320
|
-
|
|
|
321
|
-/***/ }),
|
|
|
322
|
-
|
|
|
323
|
/***/ 119:
|
323
|
/***/ 119:
|
324
|
/***/ (function(module, exports) {
|
324
|
/***/ (function(module, exports) {
|
325
|
|
325
|
|
|
|
|
|
342
|
|
342
|
|
343
|
var map = {
|
343
|
var map = {
|
344
|
"../pages/my-teams/my-teams.module": [
|
344
|
"../pages/my-teams/my-teams.module": [
|
345
|
- 282,
|
|
|
|
|
345
|
+ 283,
|
346
|
6
|
346
|
6
|
347
|
],
|
347
|
],
|
348
|
"../pages/sign-up/sign-up.module": [
|
348
|
"../pages/sign-up/sign-up.module": [
|
349
|
- 283,
|
|
|
|
|
349
|
+ 282,
|
350
|
5
|
350
|
5
|
351
|
],
|
351
|
],
|
352
|
"../pages/standings/standings.module": [
|
352
|
"../pages/standings/standings.module": [
|
|
|
|
|
354
|
4
|
354
|
4
|
355
|
],
|
355
|
],
|
356
|
"../pages/team-details/team-details.module": [
|
356
|
"../pages/team-details/team-details.module": [
|
357
|
- 285,
|
|
|
|
|
357
|
+ 286,
|
358
|
3
|
358
|
3
|
359
|
],
|
359
|
],
|
360
|
"../pages/team-home/team-home.module": [
|
360
|
"../pages/team-home/team-home.module": [
|
361
|
- 286,
|
|
|
|
|
361
|
+ 285,
|
362
|
2
|
362
|
2
|
363
|
],
|
363
|
],
|
364
|
"../pages/teams/teams.module": [
|
364
|
"../pages/teams/teams.module": [
|
|
|
|
|
391
|
|
391
|
|
392
|
"use strict";
|
392
|
"use strict";
|
393
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LeagueServiceProvider; });
|
393
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LeagueServiceProvider; });
|
394
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(78);
|
|
|
|
|
394
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(79);
|
395
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
395
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
396
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
396
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
397
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
397
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
|
|
|
457
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(31);
|
457
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(31);
|
458
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
458
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
459
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(18);
|
459
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(18);
|
460
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_common_http__ = __webpack_require__(78);
|
|
|
|
|
460
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_common_http__ = __webpack_require__(79);
|
461
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__app_component__ = __webpack_require__(274);
|
461
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__app_component__ = __webpack_require__(274);
|
462
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_status_bar__ = __webpack_require__(202);
|
462
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_status_bar__ = __webpack_require__(202);
|
463
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ionic_native_splash_screen__ = __webpack_require__(205);
|
463
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ionic_native_splash_screen__ = __webpack_require__(205);
|
464
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_teams_teams__ = __webpack_require__(103);
|
|
|
465
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_my_teams_my_teams__ = __webpack_require__(102);
|
|
|
|
|
464
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_teams_teams__ = __webpack_require__(104);
|
|
|
465
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_my_teams_my_teams__ = __webpack_require__(103);
|
466
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_tournaments_tournaments__ = __webpack_require__(50);
|
466
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_tournaments_tournaments__ = __webpack_require__(50);
|
467
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_team_details_team_details__ = __webpack_require__(105);
|
|
|
468
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_standings_standings__ = __webpack_require__(106);
|
|
|
469
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_team_home_team_home__ = __webpack_require__(104);
|
|
|
|
|
467
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_team_details_team_details__ = __webpack_require__(106);
|
|
|
468
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_standings_standings__ = __webpack_require__(107);
|
|
|
469
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_team_home_team_home__ = __webpack_require__(105);
|
470
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_league_service_league_service__ = __webpack_require__(162);
|
470
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_league_service_league_service__ = __webpack_require__(162);
|
471
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_api_api__ = __webpack_require__(79);
|
|
|
472
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__pages_sign_up_sign_up__ = __webpack_require__(107);
|
|
|
|
|
471
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_api_api__ = __webpack_require__(78);
|
|
|
472
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__pages_sign_up_sign_up__ = __webpack_require__(102);
|
473
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
473
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
474
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
474
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
475
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
475
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
|
|
|
512
|
__WEBPACK_IMPORTED_MODULE_3__angular_common_http__["b" /* HttpClientModule */],
|
512
|
__WEBPACK_IMPORTED_MODULE_3__angular_common_http__["b" /* HttpClientModule */],
|
513
|
__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_4__app_component__["a" /* MyApp */], {}, {
|
513
|
__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_4__app_component__["a" /* MyApp */], {}, {
|
514
|
links: [
|
514
|
links: [
|
515
|
- { loadChildren: '../pages/my-teams/my-teams.module#MyTeamsPageModule', name: 'MyTeamsPage', segment: 'my-teams', priority: 'low', defaultHistory: [] },
|
|
|
516
|
{ loadChildren: '../pages/sign-up/sign-up.module#SignUpPageModule', name: 'SignUpPage', segment: 'sign-up', priority: 'low', defaultHistory: [] },
|
515
|
{ loadChildren: '../pages/sign-up/sign-up.module#SignUpPageModule', name: 'SignUpPage', segment: 'sign-up', priority: 'low', defaultHistory: [] },
|
|
|
516
|
+ { loadChildren: '../pages/my-teams/my-teams.module#MyTeamsPageModule', name: 'MyTeamsPage', segment: 'my-teams', priority: 'low', defaultHistory: [] },
|
517
|
{ loadChildren: '../pages/standings/standings.module#StandingsPageModule', name: 'StandingsPage', segment: 'standings', priority: 'low', defaultHistory: [] },
|
517
|
{ loadChildren: '../pages/standings/standings.module#StandingsPageModule', name: 'StandingsPage', segment: 'standings', priority: 'low', defaultHistory: [] },
|
518
|
- { loadChildren: '../pages/team-details/team-details.module#TeamDetailsPageModule', name: 'TeamDetailsPage', segment: 'team-details', priority: 'low', defaultHistory: [] },
|
|
|
519
|
{ loadChildren: '../pages/team-home/team-home.module#TeamHomePageModule', name: 'TeamHomePage', segment: 'team-home', priority: 'low', defaultHistory: [] },
|
518
|
{ loadChildren: '../pages/team-home/team-home.module#TeamHomePageModule', name: 'TeamHomePage', segment: 'team-home', priority: 'low', defaultHistory: [] },
|
|
|
519
|
+ { loadChildren: '../pages/team-details/team-details.module#TeamDetailsPageModule', name: 'TeamDetailsPage', segment: 'team-details', priority: 'low', defaultHistory: [] },
|
520
|
{ loadChildren: '../pages/teams/teams.module#TeamsPageModule', name: 'TeamsPage', segment: 'teams', priority: 'low', defaultHistory: [] },
|
520
|
{ loadChildren: '../pages/teams/teams.module#TeamsPageModule', name: 'TeamsPage', segment: 'teams', priority: 'low', defaultHistory: [] },
|
521
|
{ loadChildren: '../pages/tournaments/tournaments.module#TournamentsPageModule', name: 'TournamentsPage', segment: 'tournaments', priority: 'low', defaultHistory: [] }
|
521
|
{ loadChildren: '../pages/tournaments/tournaments.module#TournamentsPageModule', name: 'TournamentsPage', segment: 'tournaments', priority: 'low', defaultHistory: [] }
|
522
|
]
|
522
|
]
|
|
|
|
|
558
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
558
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
559
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(202);
|
559
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(202);
|
560
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(205);
|
560
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(205);
|
561
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_my_teams_my_teams__ = __webpack_require__(102);
|
|
|
|
|
561
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_my_teams_my_teams__ = __webpack_require__(103);
|
562
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_tournaments_tournaments__ = __webpack_require__(50);
|
562
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_tournaments_tournaments__ = __webpack_require__(50);
|
563
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
563
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
564
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
564
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
|
|
|
627
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TournamentsPage; });
|
627
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TournamentsPage; });
|
628
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
628
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
629
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
629
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
630
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__teams_teams__ = __webpack_require__(103);
|
|
|
|
|
630
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__teams_teams__ = __webpack_require__(104);
|
631
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_league_service_league_service__ = __webpack_require__(162);
|
631
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_league_service_league_service__ = __webpack_require__(162);
|
632
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
632
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
633
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
633
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
|
|
|
686
|
|
686
|
|
687
|
/***/ }),
|
687
|
/***/ }),
|
688
|
|
688
|
|
689
|
-/***/ 79:
|
|
|
|
|
689
|
+/***/ 78:
|
690
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
690
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
691
|
|
691
|
|
692
|
"use strict";
|
692
|
"use strict";
|
693
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApiProvider; });
|
693
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ApiProvider; });
|
694
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(78);
|
|
|
|
|
694
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(79);
|
695
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
695
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
696
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
696
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
697
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
697
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
|
|
|
719
|
return this.http.get('http:localhost:8080/user');
|
719
|
return this.http.get('http:localhost:8080/user');
|
720
|
};
|
720
|
};
|
721
|
ApiProvider.prototype.saveUser = function (createAccountInfo) {
|
721
|
ApiProvider.prototype.saveUser = function (createAccountInfo) {
|
722
|
- return this.http.post("http://localhost:8080/user/add?username=" + createAccountInfo.name + "&email=" + createAccountInfo.email + "&password=" + createAccountInfo.password, {});
|
|
|
|
|
722
|
+ //return this.http.post(`http://localhost:8080/user/add?username=${createAccountInfo.name}&email=${createAccountInfo.email}&password=${createAccountInfo.password}`, {})
|
|
|
723
|
+ return this.http.post("http://localhost:8080/user/add", createAccountInfo);
|
723
|
};
|
724
|
};
|
724
|
ApiProvider = __decorate([
|
725
|
ApiProvider = __decorate([
|
725
|
Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Injectable */])(),
|
726
|
Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Injectable */])(),
|
726
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["a" /* HttpClient */]])
|
|
|
|
|
727
|
+ __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_0__angular_common_http__["a" /* HttpClient */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_0__angular_common_http__["a" /* HttpClient */]) === "function" && _a || Object])
|
727
|
], ApiProvider);
|
728
|
], ApiProvider);
|
728
|
return ApiProvider;
|
729
|
return ApiProvider;
|
|
|
730
|
+ var _a;
|
729
|
}());
|
731
|
}());
|
730
|
|
732
|
|
731
|
//# sourceMappingURL=api.js.map
|
733
|
//# sourceMappingURL=api.js.map
|