|
@@ -22,13 +22,13 @@ webpackEmptyAsyncContext.id = 115;
|
22
|
22
|
|
23
|
23
|
var map = {
|
24
|
24
|
"../pages/payment/payment.module": [
|
25
|
|
- 161
|
|
25
|
+ 158
|
26
|
26
|
],
|
27
|
27
|
"../pages/transactions/transactions.module": [
|
28
|
|
- 158
|
|
28
|
+ 159
|
29
|
29
|
],
|
30
|
30
|
"../pages/wallet/wallet.module": [
|
31
|
|
- 159
|
|
31
|
+ 160
|
32
|
32
|
]
|
33
|
33
|
};
|
34
|
34
|
function webpackAsyncContext(req) {
|
|
@@ -52,6 +52,52 @@ module.exports = webpackAsyncContext;
|
52
|
52
|
|
53
|
53
|
"use strict";
|
54
|
54
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
55
|
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PaymentPageModule", function() { return PaymentPageModule; });
|
|
56
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
|
57
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
|
58
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__payment__ = __webpack_require__(80);
|
|
59
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_transaction_service__ = __webpack_require__(41);
|
|
60
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_transaction_transaction__ = __webpack_require__(258);
|
|
61
|
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
62
|
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
63
|
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
64
|
+ 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;
|
|
65
|
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
66
|
+};
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+var PaymentPageModule = /** @class */ (function () {
|
|
73
|
+ function PaymentPageModule() {
|
|
74
|
+ }
|
|
75
|
+ PaymentPageModule = __decorate([
|
|
76
|
+ Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
|
|
77
|
+ declarations: [
|
|
78
|
+ __WEBPACK_IMPORTED_MODULE_2__payment__["a" /* PaymentPage */],
|
|
79
|
+ __WEBPACK_IMPORTED_MODULE_4__components_transaction_transaction__["a" /* TransactionComponent */]
|
|
80
|
+ ],
|
|
81
|
+ imports: [
|
|
82
|
+ __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__payment__["a" /* PaymentPage */]),
|
|
83
|
+ ],
|
|
84
|
+ providers: [
|
|
85
|
+ __WEBPACK_IMPORTED_MODULE_3__providers_transaction_service__["a" /* TransactionService */],
|
|
86
|
+ ],
|
|
87
|
+ })
|
|
88
|
+ ], PaymentPageModule);
|
|
89
|
+ return PaymentPageModule;
|
|
90
|
+}());
|
|
91
|
+
|
|
92
|
+//# sourceMappingURL=payment.module.js.map
|
|
93
|
+
|
|
94
|
+/***/ }),
|
|
95
|
+
|
|
96
|
+/***/ 159:
|
|
97
|
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
98
|
+
|
|
99
|
+"use strict";
|
|
100
|
+Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
55
|
101
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TransactionPageModule", function() { return TransactionPageModule; });
|
56
|
102
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
57
|
103
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
|
@@ -90,7 +136,7 @@ var TransactionPageModule = /** @class */ (function () {
|
90
|
136
|
|
91
|
137
|
/***/ }),
|
92
|
138
|
|
93
|
|
-/***/ 159:
|
|
139
|
+/***/ 160:
|
94
|
140
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
95
|
141
|
|
96
|
142
|
"use strict";
|
|
@@ -98,8 +144,8 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
98
|
144
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalletPageModule", function() { return WalletPageModule; });
|
99
|
145
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
100
|
146
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
101
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet__ = __webpack_require__(160);
|
102
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_wallet_service__ = __webpack_require__(80);
|
|
147
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet__ = __webpack_require__(161);
|
|
148
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_wallet_service__ = __webpack_require__(81);
|
103
|
149
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
104
|
150
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
105
|
151
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -133,12 +179,12 @@ var WalletPageModule = /** @class */ (function () {
|
133
|
179
|
|
134
|
180
|
/***/ }),
|
135
|
181
|
|
136
|
|
-/***/ 160:
|
|
182
|
+/***/ 161:
|
137
|
183
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
138
|
184
|
|
139
|
185
|
"use strict";
|
140
|
186
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WalletPage; });
|
141
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__providers_wallet_service__ = __webpack_require__(80);
|
|
187
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__providers_wallet_service__ = __webpack_require__(81);
|
142
|
188
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
|
143
|
189
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(18);
|
144
|
190
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -172,72 +218,25 @@ var WalletPage = /** @class */ (function () {
|
172
|
218
|
;
|
173
|
219
|
WalletPage = __decorate([
|
174
|
220
|
Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["m" /* Component */])({
|
175
|
|
- selector: 'page-wallet',template:/*ion-inline-start:"/Users/tennesseeg/blueCoin/blueCoin-UI/src/pages/wallet/wallet.html"*/'<ion-header>\n <ion-navbar>\n <ion-title>ZipCoin Blue Wallet</ion-title>\n </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n <ion-refresher (ionRefresh)="doRefresh($event);">\n <ion-refresher-content\n pullingText="Pull to refresh"\n pullingIcon="arrow-dropdown"\n refreshingSpinner="circles"\n refreshingText="...fetching...">\n </ion-refresher-content>\n </ion-refresher>\n <ion-list>\n <ion-item *ngFor="let wallet of wallets">\n <ion-card>\n <ion-card-header>\n Name: <h2>{{wallet.name}}</h2>\n </ion-card-header>\n <ion-card-content>\n Balance: <h2>{{wallet.amount}}</h2>\n Public Key: <h2>{{wallet.publicId}}</h2>\n \n </ion-card-content>\n </ion-card>\n </ion-item>\n </ion-list>\n \n</ion-content>'/*ion-inline-end:"/Users/tennesseeg/blueCoin/blueCoin-UI/src/pages/wallet/wallet.html"*/,
|
|
221
|
+ selector: 'page-wallet',template:/*ion-inline-start:"/Users/yauhenip/Projects/blueCoin-UI/src/pages/wallet/wallet.html"*/'<ion-header>\n <ion-navbar>\n <ion-title>ZipCoin Blue Wallet</ion-title>\n </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n <ion-refresher (ionRefresh)="doRefresh($event);">\n <ion-refresher-content\n pullingText="Pull to refresh"\n pullingIcon="arrow-dropdown"\n refreshingSpinner="circles"\n refreshingText="...fetching...">\n </ion-refresher-content>\n </ion-refresher>\n <ion-list>\n <ion-item *ngFor="let wallet of wallets">\n <ion-card>\n <ion-card-header>\n Name: <h2>{{wallet.name}}</h2>\n </ion-card-header>\n <ion-card-content>\n Balance: <h2>{{wallet.amount}}</h2>\n Public Key: <h2>{{wallet.publicId}}</h2>\n \n </ion-card-content>\n </ion-card>\n </ion-item>\n </ion-list>\n \n</ion-content>'/*ion-inline-end:"/Users/yauhenip/Projects/blueCoin-UI/src/pages/wallet/wallet.html"*/,
|
176
|
222
|
}),
|
177
|
|
- __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["e" /* NavController */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["e" /* NavController */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["f" /* NavParams */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["f" /* NavParams */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_0__providers_wallet_service__["a" /* WalletService */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_0__providers_wallet_service__["a" /* WalletService */]) === "function" && _c || Object])
|
|
223
|
+ __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["f" /* NavParams */], __WEBPACK_IMPORTED_MODULE_0__providers_wallet_service__["a" /* WalletService */]])
|
178
|
224
|
], WalletPage);
|
179
|
225
|
return WalletPage;
|
180
|
|
- var _a, _b, _c;
|
181
|
226
|
}());
|
182
|
227
|
|
183
|
228
|
//# sourceMappingURL=wallet.js.map
|
184
|
229
|
|
185
|
230
|
/***/ }),
|
186
|
231
|
|
187
|
|
-/***/ 161:
|
188
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
189
|
|
-
|
190
|
|
-"use strict";
|
191
|
|
-Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
192
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PaymentPageModule", function() { return PaymentPageModule; });
|
193
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
194
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
195
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__payment__ = __webpack_require__(81);
|
196
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_transaction_service__ = __webpack_require__(41);
|
197
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_transaction_transaction__ = __webpack_require__(258);
|
198
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
199
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
200
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
201
|
|
- 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;
|
202
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
203
|
|
-};
|
204
|
|
-
|
205
|
|
-
|
206
|
|
-
|
207
|
|
-
|
208
|
|
-
|
209
|
|
-var PaymentPageModule = /** @class */ (function () {
|
210
|
|
- function PaymentPageModule() {
|
211
|
|
- }
|
212
|
|
- PaymentPageModule = __decorate([
|
213
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
|
214
|
|
- declarations: [
|
215
|
|
- __WEBPACK_IMPORTED_MODULE_2__payment__["a" /* PaymentPage */],
|
216
|
|
- __WEBPACK_IMPORTED_MODULE_4__components_transaction_transaction__["a" /* TransactionComponent */]
|
217
|
|
- ],
|
218
|
|
- imports: [
|
219
|
|
- __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__payment__["a" /* PaymentPage */]),
|
220
|
|
- ],
|
221
|
|
- providers: [
|
222
|
|
- __WEBPACK_IMPORTED_MODULE_3__providers_transaction_service__["a" /* TransactionService */],
|
223
|
|
- ],
|
224
|
|
- })
|
225
|
|
- ], PaymentPageModule);
|
226
|
|
- return PaymentPageModule;
|
227
|
|
-}());
|
228
|
|
-
|
229
|
|
-//# sourceMappingURL=payment.module.js.map
|
230
|
|
-
|
231
|
|
-/***/ }),
|
232
|
|
-
|
233
|
232
|
/***/ 205:
|
234
|
233
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
235
|
234
|
|
236
|
235
|
"use strict";
|
237
|
236
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TabsPage; });
|
238
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__payment_payment__ = __webpack_require__(81);
|
|
237
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__payment_payment__ = __webpack_require__(80);
|
239
|
238
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__transactions_transactions__ = __webpack_require__(57);
|
240
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__ = __webpack_require__(160);
|
|
239
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__ = __webpack_require__(161);
|
241
|
240
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_core__ = __webpack_require__(0);
|
242
|
241
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__home_home__ = __webpack_require__(206);
|
243
|
242
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -262,7 +261,7 @@ var TabsPage = /** @class */ (function () {
|
262
|
261
|
this.tab4Root = __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__["a" /* WalletPage */];
|
263
|
262
|
}
|
264
|
263
|
TabsPage = __decorate([
|
265
|
|
- Object(__WEBPACK_IMPORTED_MODULE_3__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/tennesseeg/blueCoin/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="send"></ion-tab>\n <ion-tab [root]="tab3Root" tabTitle="Blockchain" tabIcon="cube"></ion-tab>\n <ion-tab [root]="tab4Root" tabTitle="Wallet" tabIcon="logo-usd"></ion-tab>\n</ion-tabs>\n'/*ion-inline-end:"/Users/tennesseeg/blueCoin/blueCoin-UI/src/pages/tabs/tabs.html"*/
|
|
264
|
+ Object(__WEBPACK_IMPORTED_MODULE_3__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/yauhenip/Projects/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="send"></ion-tab>\n <ion-tab [root]="tab3Root" tabTitle="Blockchain" tabIcon="cube"></ion-tab>\n <ion-tab [root]="tab4Root" tabTitle="Wallet" tabIcon="logo-usd"></ion-tab>\n</ion-tabs>\n'/*ion-inline-end:"/Users/yauhenip/Projects/blueCoin-UI/src/pages/tabs/tabs.html"*/
|
266
|
265
|
}),
|
267
|
266
|
__metadata("design:paramtypes", [])
|
268
|
267
|
], TabsPage);
|
|
@@ -299,7 +298,7 @@ var HomePage = /** @class */ (function () {
|
299
|
298
|
};
|
300
|
299
|
HomePage = __decorate([
|
301
|
300
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
302
|
|
- selector: 'page-home',template:/*ion-inline-start:"/Users/tennesseeg/blueCoin/blueCoin-UI/src/pages/home/home.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>Blockchain</h2>\n <div>\n <ion-item>\n <ion-label color="primary" stacked>Blockchain</ion-label>\n <ion-input type="number" placeholder="Block"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label color="primary" stacked>Nonce</ion-label>\n <ion-input type="number" placeholder="Nonce"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label color="primary" stacked>Transaction Data</ion-label>\n <p></p>\n <ion-input type="number" placeholder="Data"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label color="primary" stacked>Hash</ion-label>\n <ion-input type="number" disabled placeholder="Hash"></ion-input>\n </ion-item>\n <button ion-button block>Mine</button></div>\n <!-- <div id="block1chain1well" class="well well-success">\n <form class="form-horizontal">\n <div class="form-group">\n <label for="block1chain1number" class="col-sm-2 control-label">Block:</label>\n <div class="col-sm-10">\n <div class="input-group">\n <span class="input-group-addon">#</span>\n <input id="block1chain1number" type="text" value="1" onkeyup="updateHash(1, 1);" class="form-control"></div>\n </div></div><div class="form-group">\n <label for="block1chain1nonce" class="col-sm-2 control-label">Nonce:</label>\n <div class="col-sm-10"><input id="block1chain1nonce" type="text" value="72608" onkeyup="updateHash(1, 1);" class="form-control"></div>\n </div><div class="form-group"><label for="block1chain1data" class="col-sm-2 control-label">Data:</label>\n <div class="col-sm-10">\n <textarea id="block1chain1data" rows="10" onkeyup="updateHash(1, 1);" class="form-control">\n\n </textarea></div></div><div id="state" class="form-group">\n <label for="block1chain1hash" class="col-sm-2 control-label">Hash:</label><div class="col-sm-10">\n <input id="block1chain1hash" type="text" disabled="" class="form-control">\n </div></div><div class="form-group"><div class="col-sm-2">\n <i class="icon-spinner icon-spin icon-large">\n\n </i></div><div class="col-sm-10">\n <button id="block1chain1mineButton" data-style="expand-right" class="btn btn-primary ladda-button">\n <span class="ladda-label">Mine</span></button></div></div></form></div> -->'/*ion-inline-end:"/Users/tennesseeg/blueCoin/blueCoin-UI/src/pages/home/home.html"*/
|
|
301
|
+ selector: 'page-home',template:/*ion-inline-start:"/Users/yauhenip/Projects/blueCoin-UI/src/pages/home/home.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>Blockchain</h2>\n <div>\n <ion-item>\n <ion-label color="primary" stacked>Blockchain</ion-label>\n <ion-input type="number" placeholder="Block"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label color="primary" stacked>Nonce</ion-label>\n <ion-input type="number" placeholder="Nonce"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label color="primary" stacked>Transaction Data</ion-label>\n <p></p>\n <ion-input type="number" placeholder="Data"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label color="primary" stacked>Hash</ion-label>\n <ion-input type="number" disabled placeholder="Hash"></ion-input>\n </ion-item>\n <button ion-button block>Mine</button></div>\n <!-- <div id="block1chain1well" class="well well-success">\n <form class="form-horizontal">\n <div class="form-group">\n <label for="block1chain1number" class="col-sm-2 control-label">Block:</label>\n <div class="col-sm-10">\n <div class="input-group">\n <span class="input-group-addon">#</span>\n <input id="block1chain1number" type="text" value="1" onkeyup="updateHash(1, 1);" class="form-control"></div>\n </div></div><div class="form-group">\n <label for="block1chain1nonce" class="col-sm-2 control-label">Nonce:</label>\n <div class="col-sm-10"><input id="block1chain1nonce" type="text" value="72608" onkeyup="updateHash(1, 1);" class="form-control"></div>\n </div><div class="form-group"><label for="block1chain1data" class="col-sm-2 control-label">Data:</label>\n <div class="col-sm-10">\n <textarea id="block1chain1data" rows="10" onkeyup="updateHash(1, 1);" class="form-control">\n\n </textarea></div></div><div id="state" class="form-group">\n <label for="block1chain1hash" class="col-sm-2 control-label">Hash:</label><div class="col-sm-10">\n <input id="block1chain1hash" type="text" disabled="" class="form-control">\n </div></div><div class="form-group"><div class="col-sm-2">\n <i class="icon-spinner icon-spin icon-large">\n\n </i></div><div class="col-sm-10">\n <button id="block1chain1mineButton" data-style="expand-right" class="btn btn-primary ladda-button">\n <span class="ladda-label">Mine</span></button></div></div></form></div> -->'/*ion-inline-end:"/Users/yauhenip/Projects/blueCoin-UI/src/pages/home/home.html"*/
|
303
|
302
|
}),
|
304
|
303
|
__metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]])
|
305
|
304
|
], HomePage);
|
|
@@ -337,14 +336,14 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
|
337
|
336
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_common_http__ = __webpack_require__(47);
|
338
|
337
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_home_home__ = __webpack_require__(206);
|
339
|
338
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_tabs_tabs__ = __webpack_require__(205);
|
340
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_wallet_wallet_module__ = __webpack_require__(159);
|
|
339
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_wallet_wallet_module__ = __webpack_require__(160);
|
341
|
340
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_status_bar__ = __webpack_require__(201);
|
342
|
341
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ionic_native_splash_screen__ = __webpack_require__(204);
|
343
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_transactions_transactions_module__ = __webpack_require__(158);
|
344
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_payment_payment__ = __webpack_require__(81);
|
345
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__pages_payment_payment_module__ = __webpack_require__(161);
|
|
342
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_transactions_transactions_module__ = __webpack_require__(159);
|
|
343
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_payment_payment__ = __webpack_require__(80);
|
|
344
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__pages_payment_payment_module__ = __webpack_require__(158);
|
346
|
345
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_transaction_service__ = __webpack_require__(41);
|
347
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__providers_wallet_service__ = __webpack_require__(80);
|
|
346
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__providers_wallet_service__ = __webpack_require__(81);
|
348
|
347
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
349
|
348
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
350
|
349
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -385,9 +384,9 @@ var AppModule = /** @class */ (function () {
|
385
|
384
|
__WEBPACK_IMPORTED_MODULE_5__angular_common_http__["b" /* HttpClientModule */],
|
386
|
385
|
__WEBPACK_IMPORTED_MODULE_3_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_4__app_component__["a" /* MyApp */], {}, {
|
387
|
386
|
links: [
|
|
387
|
+ { loadChildren: '../pages/payment/payment.module#PaymentPageModule', name: 'PaymentPage', segment: 'payment', priority: 'low', defaultHistory: [] },
|
388
|
388
|
{ loadChildren: '../pages/transactions/transactions.module#TransactionPageModule', name: 'TransactionPage', segment: 'transactions', priority: 'low', defaultHistory: [] },
|
389
|
|
- { loadChildren: '../pages/wallet/wallet.module#WalletPageModule', name: 'WalletPage', segment: 'wallet', priority: 'low', defaultHistory: [] },
|
390
|
|
- { loadChildren: '../pages/payment/payment.module#PaymentPageModule', name: 'PaymentPage', segment: 'payment', priority: 'low', defaultHistory: [] }
|
|
389
|
+ { loadChildren: '../pages/wallet/wallet.module#WalletPageModule', name: 'WalletPage', segment: 'wallet', priority: 'low', defaultHistory: [] }
|
391
|
390
|
]
|
392
|
391
|
})
|
393
|
392
|
],
|
|
@@ -445,7 +444,7 @@ var TransactionComponent = /** @class */ (function () {
|
445
|
444
|
}
|
446
|
445
|
TransactionComponent = __decorate([
|
447
|
446
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
448
|
|
- selector: 'transaction',template:/*ion-inline-start:"/Users/tennesseeg/blueCoin/blueCoin-UI/src/components/transaction/transaction.html"*/'<!-- Generated template for the TransactionComponent component -->\n<div>\n {{text}}\n</div>\n'/*ion-inline-end:"/Users/tennesseeg/blueCoin/blueCoin-UI/src/components/transaction/transaction.html"*/
|
|
447
|
+ selector: 'transaction',template:/*ion-inline-start:"/Users/yauhenip/Projects/blueCoin-UI/src/components/transaction/transaction.html"*/'<!-- Generated template for the TransactionComponent component -->\n<div>\n {{text}}\n</div>\n'/*ion-inline-end:"/Users/yauhenip/Projects/blueCoin-UI/src/components/transaction/transaction.html"*/
|
449
|
448
|
}),
|
450
|
449
|
__metadata("design:paramtypes", [String, String, Number])
|
451
|
450
|
], TransactionComponent);
|
|
@@ -491,7 +490,7 @@ var MyApp = /** @class */ (function () {
|
491
|
490
|
});
|
492
|
491
|
}
|
493
|
492
|
MyApp = __decorate([
|
494
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/tennesseeg/blueCoin/blueCoin-UI/src/app/app.html"*/'<ion-nav [root]="rootPage"></ion-nav>\n'/*ion-inline-end:"/Users/tennesseeg/blueCoin/blueCoin-UI/src/app/app.html"*/
|
|
493
|
+ Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/yauhenip/Projects/blueCoin-UI/src/app/app.html"*/'<ion-nav [root]="rootPage"></ion-nav>\n'/*ion-inline-end:"/Users/yauhenip/Projects/blueCoin-UI/src/app/app.html"*/
|
495
|
494
|
}),
|
496
|
495
|
__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 */]])
|
497
|
496
|
], MyApp);
|
|
@@ -582,7 +581,7 @@ var TransactionPage = /** @class */ (function () {
|
582
|
581
|
;
|
583
|
582
|
TransactionPage = __decorate([
|
584
|
583
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
585
|
|
- selector: 'page-transactions',template:/*ion-inline-start:"/Users/tennesseeg/blueCoin/blueCoin-UI/src/pages/transactions/transactions.html"*/'<ion-header>\n <ion-navbar>\n <ion-title>\n Blockchain\n </ion-title>\n </ion-navbar>\n</ion-header>\n\n \n<ion-content padding>\n <ion-refresher (ionRefresh)="doRefresh($event);">\n <ion-refresher-content\n pullingText="Pull to refresh"\n pullingIcon="arrow-dropdown"\n refreshingSpinner="circles"\n refreshingText="...fetching...">\n </ion-refresher-content>\n </ion-refresher>\n <ion-list>\n <ion-item *ngFor="let transaction of transactions">\n <ion-card>\n <ion-card-content>\n Date: <h4>{{transaction.timestamp}}</h4>\n Sender: <h4>{{transaction.fromId}}</h4>\n Receiver: <h4>{{transaction.toId}}</h4>\n Amount: <h4>{{transaction.amount}}</h4>\n TransactionId<h4>{{transaction.transactionId}}</h4>\n </ion-card-content>\n</ion-card>\n </ion-item>\n </ion-list>\n</ion-content>'/*ion-inline-end:"/Users/tennesseeg/blueCoin/blueCoin-UI/src/pages/transactions/transactions.html"*/,
|
|
584
|
+ selector: 'page-transactions',template:/*ion-inline-start:"/Users/yauhenip/Projects/blueCoin-UI/src/pages/transactions/transactions.html"*/'<ion-header>\n <ion-navbar>\n <ion-title>\n Blockchain\n </ion-title>\n </ion-navbar>\n</ion-header>\n\n \n<ion-content padding>\n <ion-refresher (ionRefresh)="doRefresh($event);">\n <ion-refresher-content\n pullingText="Pull to refresh"\n pullingIcon="arrow-dropdown"\n refreshingSpinner="circles"\n refreshingText="...fetching...">\n </ion-refresher-content>\n </ion-refresher>\n <ion-list>\n <ion-item *ngFor="let transaction of transactions">\n <ion-card>\n <ion-card-content>\n Date: <h4>{{transaction.timestamp}}</h4>\n Sender: <h4>{{transaction.fromId}}</h4>\n Receiver: <h4>{{transaction.toId}}</h4>\n Amount: <h4>{{transaction.amount}}</h4>\n TransactionId<h4>{{transaction.transactionId}}</h4>\n </ion-card-content>\n</ion-card>\n </ion-item>\n </ion-list>\n</ion-content>'/*ion-inline-end:"/Users/yauhenip/Projects/blueCoin-UI/src/pages/transactions/transactions.html"*/,
|
586
|
585
|
}),
|
587
|
586
|
__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 */]])
|
588
|
587
|
], TransactionPage);
|
|
@@ -597,43 +596,6 @@ var TransactionPage = /** @class */ (function () {
|
597
|
596
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
598
|
597
|
|
599
|
598
|
"use strict";
|
600
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WalletService; });
|
601
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
602
|
|
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common_http__ = __webpack_require__(47);
|
603
|
|
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
604
|
|
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
605
|
|
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
606
|
|
- 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;
|
607
|
|
- return c > 3 && r && Object.defineProperty(target, key, r), r;
|
608
|
|
-};
|
609
|
|
-var __metadata = (this && this.__metadata) || function (k, v) {
|
610
|
|
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
611
|
|
-};
|
612
|
|
-
|
613
|
|
-
|
614
|
|
-var WalletService = /** @class */ (function () {
|
615
|
|
- function WalletService(http) {
|
616
|
|
- this.http = http;
|
617
|
|
- this.API = 'http://localhost:8080';
|
618
|
|
- }
|
619
|
|
- WalletService.prototype.getWalletAmount = function () {
|
620
|
|
- return this.http.get(this.API + '/wallets');
|
621
|
|
- };
|
622
|
|
- WalletService = __decorate([
|
623
|
|
- Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["A" /* Injectable */])(),
|
624
|
|
- __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1__angular_common_http__["a" /* HttpClient */]])
|
625
|
|
- ], WalletService);
|
626
|
|
- return WalletService;
|
627
|
|
-}());
|
628
|
|
-
|
629
|
|
-//# sourceMappingURL=wallet-service.js.map
|
630
|
|
-
|
631
|
|
-/***/ }),
|
632
|
|
-
|
633
|
|
-/***/ 81:
|
634
|
|
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
635
|
|
-
|
636
|
|
-"use strict";
|
637
|
599
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PaymentPage; });
|
638
|
600
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
639
|
601
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
|
|
@@ -677,7 +639,7 @@ var PaymentPage = /** @class */ (function () {
|
677
|
639
|
};
|
678
|
640
|
PaymentPage = __decorate([
|
679
|
641
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
680
|
|
- selector: 'page-payment',template:/*ion-inline-start:"/Users/tennesseeg/blueCoin/blueCoin-UI/src/pages/payment/payment.html"*/'<ion-header>\n <ion-navbar>\n <ion-title>BlueCoin</ion-title>\n </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n <div padding>\n </div>\n <ion-item>\n \n <ion-label color="primary" stacked>Please select your ID</ion-label>\n <!-- <ion-input type="string" [(ngModel)]="trans.fromId"></ion-input> // Can type ID manually-->\n \n <ion-select [(ngModel)]="trans.fromId">\n <ion-option value="15b9ef7d26485fae2ecdc74f8f9f465e0c082fe19a996aef2f1daf712aec5751">Vince</ion-option>\n <ion-option value="9e3123b4c696cb7d9d906a6ec2813d6e6fed5af58b49c4e5f849b7adcb00486c">Tennessee</ion-option>\n <ion-option value="625ef69f8ef7318876d5c5e31c045f4cc2c89ec01949a3af3789be1f45405342">Mexi</ion-option>\n <ion-option value="9b1e8a94fcdb88c8391ec1200718b3ddd73fb631b9c6b5d56619852a47833665">Eugene</ion-option>\n <ion-option value="4b2166f22897c2e85fbab852ae252ee2990231d9692aa7fcc8535cf74c571efd">Clement</ion-option>\n </ion-select>\n </ion-item>\n \n \n <ion-item>\n <ion-label color="primary" stacked>Who would you like to receive BlueCoin?</ion-label>\n <!-- <ion-input type="string"[(ngModel)]="trans.fromId"></ion-input> Can type ID mamaully-->\n <ion-select [(ngModel)]="trans.toId">\n <ion-option value="15b9ef7d26485fae2ecdc74f8f9f465e0c082fe19a996aef2f1daf712aec5751">Vince</ion-option>\n <ion-option value="9e3123b4c696cb7d9d906a6ec2813d6e6fed5af58b49c4e5f849b7adcb00486c">Tennessee</ion-option>\n <ion-option value="625ef69f8ef7318876d5c5e31c045f4cc2c89ec01949a3af3789be1f45405342">Mexi</ion-option>\n <ion-option value="9b1e8a94fcdb88c8391ec1200718b3ddd73fb631b9c6b5d56619852a47833665">Eugene</ion-option>\n <ion-option value="4b2166f22897c2e85fbab852ae252ee2990231d9692aa7fcc8535cf74c571efd">Clement</ion-option>\n </ion-select>\n </ion-item>\n\n <ion-item>\n <ion-label color="primary" stacked>Amount</ion-label>\n <ion-input type="number" placeholder="Enter Amount" [(ngModel)]="trans.amount" ></ion-input>\n </ion-item>\n\n <button ion-button (click) = "transferMoney()">Send BlueCoin</button>\n</ion-content>'/*ion-inline-end:"/Users/tennesseeg/blueCoin/blueCoin-UI/src/pages/payment/payment.html"*/,
|
|
642
|
+ selector: 'page-payment',template:/*ion-inline-start:"/Users/yauhenip/Projects/blueCoin-UI/src/pages/payment/payment.html"*/'<ion-header>\n <ion-navbar>\n <ion-title>BlueCoin</ion-title>\n </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n <div padding>\n </div>\n <ion-item>\n \n <ion-label color="primary" stacked>Please select your ID</ion-label>\n <!-- <ion-input type="string" [(ngModel)]="trans.fromId"></ion-input> // Can type ID manually-->\n \n <ion-select [(ngModel)]="trans.fromId" interface="popover">\n <ion-option value="15b9ef7d26485fae2ecdc74f8f9f465e0c082fe19a996aef2f1daf712aec5751">Vince</ion-option>\n <ion-option value="9e3123b4c696cb7d9d906a6ec2813d6e6fed5af58b49c4e5f849b7adcb00486c">Tennessee</ion-option>\n <ion-option value="625ef69f8ef7318876d5c5e31c045f4cc2c89ec01949a3af3789be1f45405342">Mexi</ion-option>\n <ion-option value="9b1e8a94fcdb88c8391ec1200718b3ddd73fb631b9c6b5d56619852a47833665">Eugene</ion-option>\n <ion-option value="4b2166f22897c2e85fbab852ae252ee2990231d9692aa7fcc8535cf74c571efd">Clement</ion-option>\n </ion-select>\n </ion-item>\n \n \n <ion-item>\n <ion-label color="primary" stacked>Who would you like to receive BlueCoin?</ion-label>\n <!-- <ion-input type="string"[(ngModel)]="trans.fromId"></ion-input> Can type ID mamaully-->\n <ion-select [(ngModel)]="trans.toId" interface="popover">\n <ion-option value="15b9ef7d26485fae2ecdc74f8f9f465e0c082fe19a996aef2f1daf712aec5751">Vince</ion-option>\n <ion-option value="9e3123b4c696cb7d9d906a6ec2813d6e6fed5af58b49c4e5f849b7adcb00486c">Tennessee</ion-option>\n <ion-option value="625ef69f8ef7318876d5c5e31c045f4cc2c89ec01949a3af3789be1f45405342">Mexi</ion-option>\n <ion-option value="9b1e8a94fcdb88c8391ec1200718b3ddd73fb631b9c6b5d56619852a47833665">Eugene</ion-option>\n <ion-option value="4b2166f22897c2e85fbab852ae252ee2990231d9692aa7fcc8535cf74c571efd">Clement</ion-option>\n </ion-select>\n </ion-item>\n\n <ion-item>\n <ion-label color="primary" stacked>Amount</ion-label>\n <ion-input type="number" placeholder="Enter Amount" [(ngModel)]="trans.amount" interface="popover"></ion-input>\n </ion-item>\n\n <button ion-button (click) = "transferMoney()">Send BlueCoin</button>\n</ion-content>'/*ion-inline-end:"/Users/yauhenip/Projects/blueCoin-UI/src/pages/payment/payment.html"*/,
|
681
|
643
|
}),
|
682
|
644
|
__metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_common_http__["a" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_3__providers_transaction_service__["a" /* TransactionService */]])
|
683
|
645
|
], PaymentPage);
|
|
@@ -686,6 +648,43 @@ var PaymentPage = /** @class */ (function () {
|
686
|
648
|
|
687
|
649
|
//# sourceMappingURL=payment.js.map
|
688
|
650
|
|
|
651
|
+/***/ }),
|
|
652
|
+
|
|
653
|
+/***/ 81:
|
|
654
|
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
655
|
+
|
|
656
|
+"use strict";
|
|
657
|
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WalletService; });
|
|
658
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
|
659
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common_http__ = __webpack_require__(47);
|
|
660
|
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
661
|
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
662
|
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
663
|
+ 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;
|
|
664
|
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
665
|
+};
|
|
666
|
+var __metadata = (this && this.__metadata) || function (k, v) {
|
|
667
|
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
668
|
+};
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+var WalletService = /** @class */ (function () {
|
|
672
|
+ function WalletService(http) {
|
|
673
|
+ this.http = http;
|
|
674
|
+ this.API = 'http://localhost:8080';
|
|
675
|
+ }
|
|
676
|
+ WalletService.prototype.getWalletAmount = function () {
|
|
677
|
+ return this.http.get(this.API + '/wallets');
|
|
678
|
+ };
|
|
679
|
+ WalletService = __decorate([
|
|
680
|
+ Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["A" /* Injectable */])(),
|
|
681
|
+ __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1__angular_common_http__["a" /* HttpClient */]])
|
|
682
|
+ ], WalletService);
|
|
683
|
+ return WalletService;
|
|
684
|
+}());
|
|
685
|
+
|
|
686
|
+//# sourceMappingURL=wallet-service.js.map
|
|
687
|
+
|
689
|
688
|
/***/ })
|
690
|
689
|
|
691
|
690
|
},[207]);
|