|
@@ -1,6 +1,6 @@
|
1
|
1
|
webpackJsonp([0],{
|
2
|
2
|
|
3
|
|
-/***/ 110:
|
|
3
|
+/***/ 112:
|
4
|
4
|
/***/ (function(module, exports) {
|
5
|
5
|
|
6
|
6
|
function webpackEmptyAsyncContext(req) {
|
|
@@ -13,16 +13,19 @@ function webpackEmptyAsyncContext(req) {
|
13
|
13
|
webpackEmptyAsyncContext.keys = function() { return []; };
|
14
|
14
|
webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
|
15
|
15
|
module.exports = webpackEmptyAsyncContext;
|
16
|
|
-webpackEmptyAsyncContext.id = 110;
|
|
16
|
+webpackEmptyAsyncContext.id = 112;
|
17
|
17
|
|
18
|
18
|
/***/ }),
|
19
|
19
|
|
20
|
|
-/***/ 152:
|
|
20
|
+/***/ 154:
|
21
|
21
|
/***/ (function(module, exports, __webpack_require__) {
|
22
|
22
|
|
23
|
23
|
var map = {
|
|
24
|
+ "../pages/transactions/transactions.module": [
|
|
25
|
+ 155
|
|
26
|
+ ],
|
24
|
27
|
"../pages/wallet/wallet.module": [
|
25
|
|
- 153
|
|
28
|
+ 157
|
26
|
29
|
]
|
27
|
30
|
};
|
28
|
31
|
function webpackAsyncContext(req) {
|
|
@@ -36,21 +39,101 @@ function webpackAsyncContext(req) {
|
36
|
39
|
webpackAsyncContext.keys = function webpackAsyncContextKeys() {
|
37
|
40
|
return Object.keys(map);
|
38
|
41
|
};
|
39
|
|
-webpackAsyncContext.id = 152;
|
|
42
|
+webpackAsyncContext.id = 154;
|
40
|
43
|
module.exports = webpackAsyncContext;
|
41
|
44
|
|
42
|
45
|
/***/ }),
|
43
|
46
|
|
44
|
|
-/***/ 153:
|
|
47
|
+/***/ 155:
|
|
48
|
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
49
|
+
|
|
50
|
+"use strict";
|
|
51
|
+Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
52
|
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransactionPageModule", function() { return TransactionPageModule; });
|
|
53
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
|
54
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(21);
|
|
55
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__transactions__ = __webpack_require__(55);
|
|
56
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_transaction_service__ = __webpack_require__(156);
|
|
57
|
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
58
|
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
59
|
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
60
|
+ 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;
|
|
61
|
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
62
|
+};
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+var TransactionPageModule = /** @class */ (function () {
|
|
68
|
+ function TransactionPageModule() {
|
|
69
|
+ }
|
|
70
|
+ TransactionPageModule = __decorate([
|
|
71
|
+ Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
|
|
72
|
+ declarations: [
|
|
73
|
+ __WEBPACK_IMPORTED_MODULE_2__transactions__["a" /* TransactionPage */],
|
|
74
|
+ ],
|
|
75
|
+ imports: [
|
|
76
|
+ __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__transactions__["a" /* TransactionPage */]),
|
|
77
|
+ ],
|
|
78
|
+ providers: [
|
|
79
|
+ __WEBPACK_IMPORTED_MODULE_3__providers_transaction_service__["a" /* TransactionService */],
|
|
80
|
+ ],
|
|
81
|
+ })
|
|
82
|
+ ], TransactionPageModule);
|
|
83
|
+ return TransactionPageModule;
|
|
84
|
+}());
|
|
85
|
+
|
|
86
|
+//# sourceMappingURL=transactions.module.js.map
|
|
87
|
+
|
|
88
|
+/***/ }),
|
|
89
|
+
|
|
90
|
+/***/ 156:
|
|
91
|
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
|
+
|
|
93
|
+"use strict";
|
|
94
|
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionService; });
|
|
95
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
|
96
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common_http__ = __webpack_require__(78);
|
|
97
|
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
98
|
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
99
|
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
100
|
+ 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;
|
|
101
|
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
102
|
+};
|
|
103
|
+var __metadata = (this && this.__metadata) || function (k, v) {
|
|
104
|
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
105
|
+};
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+var TransactionService = /** @class */ (function () {
|
|
109
|
+ function TransactionService(http) {
|
|
110
|
+ this.http = http;
|
|
111
|
+ this.API = 'http://localhost:8080';
|
|
112
|
+ }
|
|
113
|
+ TransactionService.prototype.getTransactions = function () {
|
|
114
|
+ return this.http.get(this.API + '/transactions');
|
|
115
|
+ };
|
|
116
|
+ TransactionService = __decorate([
|
|
117
|
+ Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["A" /* Injectable */])(),
|
|
118
|
+ __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1__angular_common_http__["a" /* HttpClient */]])
|
|
119
|
+ ], TransactionService);
|
|
120
|
+ return TransactionService;
|
|
121
|
+}());
|
|
122
|
+
|
|
123
|
+//# sourceMappingURL=transaction-service.js.map
|
|
124
|
+
|
|
125
|
+/***/ }),
|
|
126
|
+
|
|
127
|
+/***/ 157:
|
45
|
128
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
46
|
129
|
|
47
|
130
|
"use strict";
|
48
|
131
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
49
|
132
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalletPageModule", function() { return WalletPageModule; });
|
50
|
133
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
51
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
|
52
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet__ = __webpack_require__(154);
|
53
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_wallet_service__ = __webpack_require__(155);
|
|
134
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(21);
|
|
135
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet__ = __webpack_require__(158);
|
|
136
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_wallet_service__ = __webpack_require__(159);
|
54
|
137
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
55
|
138
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
56
|
139
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -84,14 +167,14 @@ var WalletPageModule = /** @class */ (function () {
|
84
|
167
|
|
85
|
168
|
/***/ }),
|
86
|
169
|
|
87
|
|
-/***/ 154:
|
|
170
|
+/***/ 158:
|
88
|
171
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
89
|
172
|
|
90
|
173
|
"use strict";
|
91
|
174
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WalletPage; });
|
92
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__providers_wallet_service__ = __webpack_require__(155);
|
|
175
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__providers_wallet_service__ = __webpack_require__(159);
|
93
|
176
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
94
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(26);
|
|
177
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(21);
|
95
|
178
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
96
|
179
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
97
|
180
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -104,12 +187,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
104
|
187
|
|
105
|
188
|
|
106
|
189
|
|
107
|
|
-/**
|
108
|
|
- * Generated class for the WalletPage page.
|
109
|
|
- *
|
110
|
|
- * See https://ionicframework.com/docs/components/#navigation for more info on
|
111
|
|
- * Ionic pages and navigation.
|
112
|
|
- */
|
113
|
190
|
var WalletPage = /** @class */ (function () {
|
114
|
191
|
function WalletPage(navCtrl, navParams, walletService) {
|
115
|
192
|
this.navCtrl = navCtrl;
|
|
@@ -135,13 +212,13 @@ var WalletPage = /** @class */ (function () {
|
135
|
212
|
|
136
|
213
|
/***/ }),
|
137
|
214
|
|
138
|
|
-/***/ 155:
|
|
215
|
+/***/ 159:
|
139
|
216
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
140
|
217
|
|
141
|
218
|
"use strict";
|
142
|
219
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WalletService; });
|
143
|
220
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
144
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common_http__ = __webpack_require__(156);
|
|
221
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common_http__ = __webpack_require__(78);
|
145
|
222
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
146
|
223
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
147
|
224
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -157,7 +234,6 @@ var WalletService = /** @class */ (function () {
|
157
|
234
|
function WalletService(http) {
|
158
|
235
|
this.http = http;
|
159
|
236
|
this.API = 'http://localhost:8080';
|
160
|
|
- this.WALLET_API = this.API + '/user';
|
161
|
237
|
}
|
162
|
238
|
WalletService.prototype.getWalletAmount = function () {
|
163
|
239
|
return this.http.get(this.API + '/wallets');
|
|
@@ -173,16 +249,16 @@ var WalletService = /** @class */ (function () {
|
173
|
249
|
|
174
|
250
|
/***/ }),
|
175
|
251
|
|
176
|
|
-/***/ 200:
|
|
252
|
+/***/ 203:
|
177
|
253
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
178
|
254
|
|
179
|
255
|
"use strict";
|
180
|
256
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TabsPage; });
|
181
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__wallet_wallet__ = __webpack_require__(154);
|
182
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
183
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__about_about__ = __webpack_require__(201);
|
184
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__contact_contact__ = __webpack_require__(202);
|
185
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__home_home__ = __webpack_require__(203);
|
|
257
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__transactions_transactions__ = __webpack_require__(55);
|
|
258
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__wallet_wallet__ = __webpack_require__(158);
|
|
259
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_core__ = __webpack_require__(0);
|
|
260
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__about_about__ = __webpack_require__(204);
|
|
261
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__home_home__ = __webpack_require__(205);
|
186
|
262
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
187
|
263
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
188
|
264
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -200,12 +276,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
200
|
276
|
var TabsPage = /** @class */ (function () {
|
201
|
277
|
function TabsPage() {
|
202
|
278
|
this.tab1Root = __WEBPACK_IMPORTED_MODULE_4__home_home__["a" /* HomePage */];
|
203
|
|
- this.tab2Root = __WEBPACK_IMPORTED_MODULE_2__about_about__["a" /* AboutPage */];
|
204
|
|
- this.tab3Root = __WEBPACK_IMPORTED_MODULE_3__contact_contact__["a" /* ContactPage */];
|
205
|
|
- this.tab4Root = __WEBPACK_IMPORTED_MODULE_0__wallet_wallet__["a" /* WalletPage */];
|
|
279
|
+ this.tab2Root = __WEBPACK_IMPORTED_MODULE_3__about_about__["a" /* AboutPage */];
|
|
280
|
+ this.tab3Root = __WEBPACK_IMPORTED_MODULE_0__transactions_transactions__["a" /* TransactionPage */];
|
|
281
|
+ this.tab4Root = __WEBPACK_IMPORTED_MODULE_1__wallet_wallet__["a" /* WalletPage */];
|
206
|
282
|
}
|
207
|
283
|
TabsPage = __decorate([
|
208
|
|
- Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/tabs/tabs.html"*/'<ion-tabs>\n <ion-tab [root]="tab1Root" tabTitle="Blockchain" tabIcon="cube"></ion-tab>\n <ion-tab [root]="tab2Root" tabTitle="Payment" tabIcon="cog"></ion-tab>\n <ion-tab [root]="tab3Root" tabTitle="Transactions" tabIcon="list-box"></ion-tab>\n <ion-tab [root]="tab4Root" tabTitle="Wallet" tabIcon="logo-usd"></ion-tab>\n</ion-tabs>\n'/*ion-inline-end:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/tabs/tabs.html"*/
|
|
284
|
+ Object(__WEBPACK_IMPORTED_MODULE_2__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/tabs/tabs.html"*/'<ion-tabs>\n <ion-tab [root]="tab1Root" tabTitle="Blockchain" tabIcon="cube"></ion-tab>\n <ion-tab [root]="tab2Root" tabTitle="Payment" tabIcon="cog"></ion-tab>\n <ion-tab [root]="tab3Root" tabTitle="Transactions" tabIcon="list-box"></ion-tab>\n <ion-tab [root]="tab4Root" tabTitle="Wallet" tabIcon="logo-usd"></ion-tab>\n</ion-tabs>\n'/*ion-inline-end:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/tabs/tabs.html"*/
|
209
|
285
|
}),
|
210
|
286
|
__metadata("design:paramtypes", [])
|
211
|
287
|
], TabsPage);
|
|
@@ -216,13 +292,13 @@ var TabsPage = /** @class */ (function () {
|
216
|
292
|
|
217
|
293
|
/***/ }),
|
218
|
294
|
|
219
|
|
-/***/ 201:
|
|
295
|
+/***/ 204:
|
220
|
296
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
221
|
297
|
|
222
|
298
|
"use strict";
|
223
|
299
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AboutPage; });
|
224
|
300
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
225
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
|
|
301
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(21);
|
226
|
302
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
227
|
303
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
228
|
304
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -246,58 +322,22 @@ var AboutPage = /** @class */ (function () {
|
246
|
322
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
247
|
323
|
selector: 'page-about',template:/*ion-inline-start:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/about/about.html"*/'<ion-header>\n <ion-navbar>\n <ion-title>BlueCoin</ion-title>\n </ion-navbar>\n </ion-header>\n \n <ion-content padding>\n <h2>Payment</h2>\n <ion-item>\n <ion-label color="primary" stacked>Your ID</ion-label>\n <ion-input type="number" placeholder="Your ID"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label color="primary" stacked>Receiver ID</ion-label>\n <ion-input type="number" placeholder="Receiver ID"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label color="primary" stacked>Amount</ion-label>\n <ion-input type="number" placeholder="Amount"></ion-input>\n </ion-item>\n <button ion-button (click)=\'transferMoney()\' block>Send BlueCoin</button>\n '/*ion-inline-end:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/about/about.html"*/
|
248
|
324
|
}),
|
249
|
|
- __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])
|
|
325
|
+ __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]])
|
250
|
326
|
], AboutPage);
|
251
|
327
|
return AboutPage;
|
252
|
|
- var _a;
|
253
|
328
|
}());
|
254
|
329
|
|
255
|
330
|
//# sourceMappingURL=about.js.map
|
256
|
331
|
|
257
|
332
|
/***/ }),
|
258
|
333
|
|
259
|
|
-/***/ 202:
|
260
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
261
|
|
-
|
262
|
|
-"use strict";
|
263
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ContactPage; });
|
264
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
265
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
|
266
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
267
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
268
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
269
|
|
- 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;
|
270
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
271
|
|
-};
|
272
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
273
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
274
|
|
-};
|
275
|
|
-
|
276
|
|
-
|
277
|
|
-var ContactPage = /** @class */ (function () {
|
278
|
|
- function ContactPage(navCtrl) {
|
279
|
|
- this.navCtrl = navCtrl;
|
280
|
|
- }
|
281
|
|
- ContactPage = __decorate([
|
282
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
283
|
|
- selector: 'page-contact',template:/*ion-inline-start:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/contact/contact.html"*/'<ion-header>\n <ion-navbar>\n <ion-title>\n Transactions\n </ion-title>\n </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n <ion-grid>\n <ion-row>\n <ion-col col-5>Transaction Ledger\n <ion-input type="Date" placeholder="Date"></ion-input>\n <p><ion-input type="Time" placeholder="Time"></ion-input></p>\n <p><ion-input type="Public ID" placeholder="Sender"></ion-input></p>\n <p><ion-input type="Amount" placeholder="Amount"></ion-input></p>\n <p><ion-input type="Public ID" placeholder="Recipient"></ion-input></p>\n </ion-col>\n </ion-row>\n \n </ion-grid>\n '/*ion-inline-end:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/contact/contact.html"*/
|
284
|
|
- }),
|
285
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]])
|
286
|
|
- ], ContactPage);
|
287
|
|
- return ContactPage;
|
288
|
|
-}());
|
289
|
|
-
|
290
|
|
-//# sourceMappingURL=contact.js.map
|
291
|
|
-
|
292
|
|
-/***/ }),
|
293
|
|
-
|
294
|
|
-/***/ 203:
|
|
334
|
+/***/ 205:
|
295
|
335
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
296
|
336
|
|
297
|
337
|
"use strict";
|
298
|
338
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HomePage; });
|
299
|
339
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
300
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
|
|
340
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(21);
|
301
|
341
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
302
|
342
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
303
|
343
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -328,13 +368,13 @@ var HomePage = /** @class */ (function () {
|
328
|
368
|
|
329
|
369
|
/***/ }),
|
330
|
370
|
|
331
|
|
-/***/ 204:
|
|
371
|
+/***/ 206:
|
332
|
372
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
333
|
373
|
|
334
|
374
|
"use strict";
|
335
|
375
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
336
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(205);
|
337
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(225);
|
|
376
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(207);
|
|
377
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(227);
|
338
|
378
|
|
339
|
379
|
|
340
|
380
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
|
|
@@ -342,23 +382,24 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
|
342
|
382
|
|
343
|
383
|
/***/ }),
|
344
|
384
|
|
345
|
|
-/***/ 225:
|
|
385
|
+/***/ 227:
|
346
|
386
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
347
|
387
|
|
348
|
388
|
"use strict";
|
349
|
389
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
|
350
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
351
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__ = __webpack_require__(31);
|
352
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(26);
|
353
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(272);
|
354
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__angular_common_http__ = __webpack_require__(156);
|
355
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_about_about__ = __webpack_require__(201);
|
356
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_contact_contact__ = __webpack_require__(202);
|
357
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_home_home__ = __webpack_require__(203);
|
358
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_tabs_tabs__ = __webpack_require__(200);
|
359
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet_module__ = __webpack_require__(153);
|
360
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ionic_native_status_bar__ = __webpack_require__(196);
|
361
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__ionic_native_splash_screen__ = __webpack_require__(199);
|
|
390
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__pages_transactions_transactions__ = __webpack_require__(55);
|
|
391
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
|
392
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_platform_browser__ = __webpack_require__(31);
|
|
393
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ionic_angular__ = __webpack_require__(21);
|
|
394
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__app_component__ = __webpack_require__(274);
|
|
395
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_common_http__ = __webpack_require__(78);
|
|
396
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_about_about__ = __webpack_require__(204);
|
|
397
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_home_home__ = __webpack_require__(205);
|
|
398
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_tabs_tabs__ = __webpack_require__(203);
|
|
399
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet_module__ = __webpack_require__(157);
|
|
400
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ionic_native_status_bar__ = __webpack_require__(199);
|
|
401
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__ionic_native_splash_screen__ = __webpack_require__(202);
|
|
402
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_transactions_transactions_module__ = __webpack_require__(155);
|
362
|
403
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
363
|
404
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
364
|
405
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -377,40 +418,42 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
377
|
418
|
|
378
|
419
|
|
379
|
420
|
|
|
421
|
+
|
380
|
422
|
var AppModule = /** @class */ (function () {
|
381
|
423
|
function AppModule() {
|
382
|
424
|
}
|
383
|
425
|
AppModule = __decorate([
|
384
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
|
|
426
|
+ Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["I" /* NgModule */])({
|
385
|
427
|
declarations: [
|
386
|
|
- __WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */],
|
387
|
|
- __WEBPACK_IMPORTED_MODULE_5__pages_about_about__["a" /* AboutPage */],
|
388
|
|
- __WEBPACK_IMPORTED_MODULE_6__pages_contact_contact__["a" /* ContactPage */],
|
|
428
|
+ __WEBPACK_IMPORTED_MODULE_4__app_component__["a" /* MyApp */],
|
|
429
|
+ __WEBPACK_IMPORTED_MODULE_6__pages_about_about__["a" /* AboutPage */],
|
389
|
430
|
__WEBPACK_IMPORTED_MODULE_7__pages_home_home__["a" /* HomePage */],
|
390
|
431
|
__WEBPACK_IMPORTED_MODULE_8__pages_tabs_tabs__["a" /* TabsPage */]
|
391
|
432
|
],
|
392
|
433
|
imports: [
|
393
|
|
- __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__["a" /* BrowserModule */],
|
|
434
|
+ __WEBPACK_IMPORTED_MODULE_2__angular_platform_browser__["a" /* BrowserModule */],
|
394
|
435
|
__WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet_module__["WalletPageModule"],
|
395
|
|
- __WEBPACK_IMPORTED_MODULE_4__angular_common_http__["b" /* HttpClientModule */],
|
396
|
|
- __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], {}, {
|
|
436
|
+ __WEBPACK_IMPORTED_MODULE_12__pages_transactions_transactions_module__["TransactionPageModule"],
|
|
437
|
+ __WEBPACK_IMPORTED_MODULE_5__angular_common_http__["b" /* HttpClientModule */],
|
|
438
|
+ __WEBPACK_IMPORTED_MODULE_3_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_4__app_component__["a" /* MyApp */], {}, {
|
397
|
439
|
links: [
|
|
440
|
+ { loadChildren: '../pages/transactions/transactions.module#TransactionPageModule', name: 'TransactionPage', segment: 'transactions', priority: 'low', defaultHistory: [] },
|
398
|
441
|
{ loadChildren: '../pages/wallet/wallet.module#WalletPageModule', name: 'WalletPage', segment: 'wallet', priority: 'low', defaultHistory: [] }
|
399
|
442
|
]
|
400
|
443
|
})
|
401
|
444
|
],
|
402
|
|
- bootstrap: [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["a" /* IonicApp */]],
|
|
445
|
+ bootstrap: [__WEBPACK_IMPORTED_MODULE_3_ionic_angular__["a" /* IonicApp */]],
|
403
|
446
|
entryComponents: [
|
404
|
|
- __WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */],
|
405
|
|
- __WEBPACK_IMPORTED_MODULE_5__pages_about_about__["a" /* AboutPage */],
|
406
|
|
- __WEBPACK_IMPORTED_MODULE_6__pages_contact_contact__["a" /* ContactPage */],
|
|
447
|
+ __WEBPACK_IMPORTED_MODULE_4__app_component__["a" /* MyApp */],
|
|
448
|
+ __WEBPACK_IMPORTED_MODULE_6__pages_about_about__["a" /* AboutPage */],
|
407
|
449
|
__WEBPACK_IMPORTED_MODULE_7__pages_home_home__["a" /* HomePage */],
|
408
|
|
- __WEBPACK_IMPORTED_MODULE_8__pages_tabs_tabs__["a" /* TabsPage */]
|
|
450
|
+ __WEBPACK_IMPORTED_MODULE_8__pages_tabs_tabs__["a" /* TabsPage */],
|
|
451
|
+ __WEBPACK_IMPORTED_MODULE_0__pages_transactions_transactions__["a" /* TransactionPage */],
|
409
|
452
|
],
|
410
|
453
|
providers: [
|
411
|
454
|
__WEBPACK_IMPORTED_MODULE_10__ionic_native_status_bar__["a" /* StatusBar */],
|
412
|
455
|
__WEBPACK_IMPORTED_MODULE_11__ionic_native_splash_screen__["a" /* SplashScreen */],
|
413
|
|
- { provide: __WEBPACK_IMPORTED_MODULE_0__angular_core__["u" /* ErrorHandler */], useClass: __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["b" /* IonicErrorHandler */] },
|
|
456
|
+ { provide: __WEBPACK_IMPORTED_MODULE_1__angular_core__["u" /* ErrorHandler */], useClass: __WEBPACK_IMPORTED_MODULE_3_ionic_angular__["b" /* IonicErrorHandler */] },
|
414
|
457
|
]
|
415
|
458
|
})
|
416
|
459
|
], AppModule);
|
|
@@ -421,16 +464,16 @@ var AppModule = /** @class */ (function () {
|
421
|
464
|
|
422
|
465
|
/***/ }),
|
423
|
466
|
|
424
|
|
-/***/ 272:
|
|
467
|
+/***/ 274:
|
425
|
468
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
426
|
469
|
|
427
|
470
|
"use strict";
|
428
|
471
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
|
429
|
472
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
430
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
|
431
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(196);
|
432
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(199);
|
433
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(200);
|
|
473
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(21);
|
|
474
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(199);
|
|
475
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(202);
|
|
476
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(203);
|
434
|
477
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
435
|
478
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
436
|
479
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -465,7 +508,52 @@ var MyApp = /** @class */ (function () {
|
465
|
508
|
|
466
|
509
|
//# sourceMappingURL=app.component.js.map
|
467
|
510
|
|
|
511
|
+/***/ }),
|
|
512
|
+
|
|
513
|
+/***/ 55:
|
|
514
|
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
515
|
+
|
|
516
|
+"use strict";
|
|
517
|
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionPage; });
|
|
518
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
|
519
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(21);
|
|
520
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__ = __webpack_require__(156);
|
|
521
|
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
522
|
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
523
|
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
524
|
+ 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;
|
|
525
|
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
526
|
+};
|
|
527
|
+var __metadata = (this && this.__metadata) || function (k, v) {
|
|
528
|
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
529
|
+};
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+var TransactionPage = /** @class */ (function () {
|
|
534
|
+ function TransactionPage(navCtrl, navParams, transactionsService) {
|
|
535
|
+ this.navCtrl = navCtrl;
|
|
536
|
+ this.navParams = navParams;
|
|
537
|
+ this.transactionsService = transactionsService;
|
|
538
|
+ }
|
|
539
|
+ TransactionPage.prototype.ionViewDidLoad = function () {
|
|
540
|
+ var _this = this;
|
|
541
|
+ this.transactionsService.getTransactions().subscribe(function (transactions) {
|
|
542
|
+ _this.transactions = transactions;
|
|
543
|
+ });
|
|
544
|
+ };
|
|
545
|
+ TransactionPage = __decorate([
|
|
546
|
+ Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
|
547
|
+ selector: 'page-transactions',template:/*ion-inline-start:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/transactions/transactions.html"*/'<ion-header>\n <ion-navbar>\n <ion-title>\n Transactions\n </ion-title>\n </ion-navbar>\n</ion-header>\n\n \n <ion-content padding>\n <ion-list>\n <ion-item *ngFor="let transaction of transactions">\n <ion-card>\n <ion-card-header>\n Name: <h2>{{transaction.name}}</h2>\n </ion-card-header>\n <ion-card-content>\n Date: <h2>{{transaction.timestamp}}</h2>\n Sender: <h2>{{transaction.fromId}}</h2>\n Receiver: <h2>{{transaction.toId}}</h2>\n Amount: <h2>{{transaction.amount}}</h2>\n TransactionId<h2>{{transaction.transactionId}}</h2>\n </ion-card-content>\n </ion-card>\n </ion-item>\n </ion-list>\n \n \n </ion-content>'/*ion-inline-end:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/transactions/transactions.html"*/,
|
|
548
|
+ }),
|
|
549
|
+ __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__["a" /* TransactionService */]])
|
|
550
|
+ ], TransactionPage);
|
|
551
|
+ return TransactionPage;
|
|
552
|
+}());
|
|
553
|
+
|
|
554
|
+//# sourceMappingURL=transactions.js.map
|
|
555
|
+
|
468
|
556
|
/***/ })
|
469
|
557
|
|
470
|
|
-},[204]);
|
|
558
|
+},[206]);
|
471
|
559
|
//# sourceMappingURL=main.js.map
|