|
@@ -196,6 +196,65 @@ var WalletPage = /** @class */ (function () {
|
196
|
196
|
|
197
|
197
|
/***/ }),
|
198
|
198
|
|
|
199
|
+<<<<<<< HEAD
|
|
200
|
+=======
|
|
201
|
+/***/ 104:
|
|
202
|
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
203
|
+
|
|
204
|
+"use strict";
|
|
205
|
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionPage; });
|
|
206
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
|
207
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
|
|
208
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__ = __webpack_require__(50);
|
|
209
|
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
210
|
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
211
|
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
212
|
+ 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;
|
|
213
|
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
214
|
+};
|
|
215
|
+var __metadata = (this && this.__metadata) || function (k, v) {
|
|
216
|
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
217
|
+};
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+/**
|
|
222
|
+ * Generated class for the TransactionPage page.
|
|
223
|
+ *
|
|
224
|
+ * See https://ionicframework.com/docs/components/#navigation for more info on
|
|
225
|
+ * Ionic pages and navigation.
|
|
226
|
+ */
|
|
227
|
+var TransactionPage = /** @class */ (function () {
|
|
228
|
+ function TransactionPage(navCtrl, navParams, transactionService) {
|
|
229
|
+ this.navCtrl = navCtrl;
|
|
230
|
+ this.navParams = navParams;
|
|
231
|
+ this.transactionService = transactionService;
|
|
232
|
+ this.getAllTransactions();
|
|
233
|
+ }
|
|
234
|
+ TransactionPage.prototype.ionViewDidLoad = function () {
|
|
235
|
+ console.log('ionViewDidLoad TransactionPage');
|
|
236
|
+ };
|
|
237
|
+ TransactionPage.prototype.getAllTransactions = function () {
|
|
238
|
+ var _this = this;
|
|
239
|
+ this.transactionService.getAllTransactions().subscribe(function (transactions) {
|
|
240
|
+ _this.transactions = transactions;
|
|
241
|
+ });
|
|
242
|
+ };
|
|
243
|
+ TransactionPage = __decorate([
|
|
244
|
+ Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
|
245
|
+ selector: 'page-transaction',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/'<ion-header>\n\n <ion-navbar>\n <ion-title>Transaction</ion-title>\n </ion-navbar>\n\n</ion-header>\n<ion-content padding>\n\n <ion-list>\n <ion-item-sliding *ngFor="let transaction of transactions">\n <ion-item>\n <ion-card>\n <ion-card-header>\n Transaction #: {{transaction.transactionId}}\n </ion-card-header>\n <ion-card-content>\n <div>Sender: {{ transaction.sender }}</div>\n <div>Recipient: {{ transaction.recipient }}</div>\n <div>Amount: {{ transaction.amount }}</div>\n </ion-card-content>\n </ion-card>\n </ion-item>\n </ion-item-sliding>\n </ion-list>\n\n</ion-content>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/,
|
|
246
|
+ }),
|
|
247
|
+ __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */],
|
|
248
|
+ __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__["a" /* TransactionService */]])
|
|
249
|
+ ], TransactionPage);
|
|
250
|
+ return TransactionPage;
|
|
251
|
+}());
|
|
252
|
+
|
|
253
|
+//# sourceMappingURL=transaction.js.map
|
|
254
|
+
|
|
255
|
+/***/ }),
|
|
256
|
+
|
|
257
|
+>>>>>>> posttransaction
|
199
|
258
|
/***/ 116:
|
200
|
259
|
/***/ (function(module, exports) {
|
201
|
260
|
|
|
@@ -498,9 +557,10 @@ var MyApp = /** @class */ (function () {
|
498
|
557
|
MyApp = __decorate([
|
499
|
558
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/'<ion-nav [root]="rootPage"></ion-nav>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/
|
500
|
559
|
}),
|
501
|
|
- __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 */]])
|
|
560
|
+ __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* Platform */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* Platform */]) === "function" && _a || Object, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */]) === "function" && _b || Object, typeof (_c = typeof __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */]) === "function" && _c || Object])
|
502
|
561
|
], MyApp);
|
503
|
562
|
return MyApp;
|
|
563
|
+ var _a, _b, _c;
|
504
|
564
|
}());
|
505
|
565
|
|
506
|
566
|
//# sourceMappingURL=app.component.js.map
|