瀏覽代碼

updated transactions page

Tennessee Gibbs 6 年之前
父節點
當前提交
ff1badd406

+ 1
- 0
.sourcemaps/0.js.map 查看文件

@@ -0,0 +1 @@
1
+{"version":3,"sources":["../../src/pages/transactions/transactions.module.ts","../../src/providers/transaction-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAyC;AACO;AACE;AACuB;AAczE;IAAA;IAAoC,CAAC;IAAxB,qBAAqB;QAXjC,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACb,uEAAgB;aAChB;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,uEAAgB,CAAC;aAC3C;YACD,SAAS,EAAE;gBACT,0FAAkB;aACnB;SACF,CAAC;OACW,qBAAqB,CAAG;IAAD,4BAAC;CAAA;AAAH;;;;;;;;;;;;;;;;;;;;;ACjBS;AAEO;AAGlD;IAIE,4BAAmB,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;QAH5B,QAAG,GAAG,uBAAuB,CAAC;IAIrC,CAAC;IAED,4CAAe,GAAf;QACE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,eAAe,CAAC,CAAC;IACnD,CAAC;IATU,kBAAkB;QAD9B,yEAAU,EAAE;yCAKc,wEAAU;OAJxB,kBAAkB,CAU9B;IAAD,yBAAC;CAAA;AAV8B","file":"0.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { TransactionsPage } from './transactions';\nimport { TransactionService } from '../../providers/transaction-service';\n\n\n@NgModule({\n  declarations: [\n   TransactionsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(TransactionsPage),\n  ],\n  providers: [\n    TransactionService,\n  ],\n})\nexport class TransactionPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/transactions/transactions.module.ts","import { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { HttpClient } from '@angular/common/http';\n\n@Injectable()\nexport class TransactionService {\n  public API = 'http://localhost:8080';\n  \n\n  constructor(public http: HttpClient) {\n  }\n\n  getTransactions(): Observable<any> {\n    return this.http.get(this.API + '/transactions');\n  }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/transaction-service.ts"],"sourceRoot":""}

+ 1
- 1
.sourcemaps/main.js.map
文件差異過大導致無法顯示
查看文件


+ 5
- 4
src/app/app.module.ts 查看文件

@@ -1,15 +1,16 @@
1
+import { TransactionPage } from './../pages/transactions/transactions';
1 2
 import { NgModule, ErrorHandler } from '@angular/core';
2 3
 import { BrowserModule } from '@angular/platform-browser';
3 4
 import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
4 5
 import { MyApp } from './app.component';
5 6
 import { HttpClientModule } from '@angular/common/http';
6 7
 import { AboutPage } from '../pages/about/about';
7
-import { ContactPage } from '../pages/contact/contact';
8 8
 import { HomePage } from '../pages/home/home';
9 9
 import { TabsPage } from '../pages/tabs/tabs';
10 10
 import { WalletPageModule } from '../pages/wallet/wallet.module';
11 11
 import { StatusBar } from '@ionic-native/status-bar';
12 12
 import { SplashScreen } from '@ionic-native/splash-screen';
13
+import { TransactionPageModule } from '../pages/transactions/transactions.module';
13 14
 
14 15
 
15 16
 
@@ -18,13 +19,13 @@ import { SplashScreen } from '@ionic-native/splash-screen';
18 19
   declarations: [
19 20
     MyApp,
20 21
     AboutPage,
21
-    ContactPage,
22 22
     HomePage,
23 23
     TabsPage
24 24
   ],
25 25
   imports: [
26 26
     BrowserModule,
27 27
     WalletPageModule,
28
+    TransactionPageModule,
28 29
     HttpClientModule,
29 30
     IonicModule.forRoot(MyApp)
30 31
   ],
@@ -32,9 +33,9 @@ import { SplashScreen } from '@ionic-native/splash-screen';
32 33
   entryComponents: [
33 34
     MyApp,
34 35
     AboutPage,
35
-    ContactPage,
36 36
     HomePage,
37
-    TabsPage
37
+    TabsPage,
38
+    TransactionPage,
38 39
   ],
39 40
   providers: [
40 41
     StatusBar,

+ 0
- 22
src/pages/contact/contact.html 查看文件

@@ -1,22 +0,0 @@
1
-<ion-header>
2
-  <ion-navbar>
3
-    <ion-title>
4
-      Transactions
5
-    </ion-title>
6
-  </ion-navbar>
7
-</ion-header>
8
-
9
-<ion-content padding>
10
-    <ion-grid>
11
-    <ion-row>
12
-        <ion-col col-5>Transaction Ledger
13
-        <ion-input type="Date" placeholder="Date"></ion-input>
14
-        <p><ion-input type="Time" placeholder="Time"></ion-input></p>
15
-        <p><ion-input type="Public ID" placeholder="Sender"></ion-input></p>
16
-        <p><ion-input type="Amount" placeholder="Amount"></ion-input></p>
17
-        <p><ion-input type="Public ID" placeholder="Recipient"></ion-input></p>
18
-      </ion-col>
19
-      </ion-row>
20
-      
21
-    </ion-grid>
22
-       

+ 0
- 3
src/pages/contact/contact.scss 查看文件

@@ -1,3 +0,0 @@
1
-page-contact {
2
-
3
-}

+ 0
- 14
src/pages/contact/contact.ts 查看文件

@@ -1,14 +0,0 @@
1
-import { Component } from '@angular/core';
2
-import { NavController } from 'ionic-angular';
3
-
4
-@Component({
5
-  selector: 'page-contact',
6
-  templateUrl: 'contact.html'
7
-})
8
-export class ContactPage {
9
-
10
-  constructor(public navCtrl: NavController) {
11
-
12
-  }
13
-
14
-}

+ 2
- 4
src/pages/tabs/tabs.ts 查看文件

@@ -1,9 +1,7 @@
1
+import { TransactionPage } from './../transactions/transactions';
1 2
 import { WalletPage } from './../wallet/wallet';
2
-
3 3
 import { Component } from '@angular/core';
4
-
5 4
 import { AboutPage } from '../about/about';
6
-import { ContactPage } from '../contact/contact';
7 5
 import { HomePage } from '../home/home';
8 6
 
9 7
 
@@ -14,7 +12,7 @@ export class TabsPage {
14 12
 
15 13
   tab1Root = HomePage;
16 14
   tab2Root = AboutPage;
17
-  tab3Root = ContactPage;
15
+  tab3Root = TransactionPage;
18 16
   tab4Root = WalletPage;
19 17
 
20 18
   constructor() {

+ 29
- 0
src/pages/transactions/transactions.html 查看文件

@@ -0,0 +1,29 @@
1
+<ion-header>
2
+  <ion-navbar>
3
+    <ion-title>
4
+      Transactions
5
+    </ion-title>
6
+  </ion-navbar>
7
+</ion-header>
8
+
9
+  
10
+    <ion-content padding>
11
+      <ion-list>
12
+        <ion-item *ngFor="let transaction of transactions">
13
+            <ion-card>
14
+                <ion-card-header>
15
+                   Name: <h2>{{transaction.name}}</h2>
16
+                </ion-card-header>
17
+                <ion-card-content>
18
+                    Date: <h2>{{transaction.timestamp}}</h2>
19
+                    Sender: <h2>{{transaction.fromId}}</h2>
20
+                    Receiver: <h2>{{transaction.toId}}</h2>
21
+                    Amount: <h2>{{transaction.amount}}</h2>
22
+                    TransactionId<h2>{{transaction.transactionId}}</h2>
23
+        </ion-card-content>
24
+      </ion-card>
25
+        </ion-item>
26
+      </ion-list>
27
+    
28
+      
29
+    </ion-content>

+ 18
- 0
src/pages/transactions/transactions.module.ts 查看文件

@@ -0,0 +1,18 @@
1
+import { NgModule } from '@angular/core';
2
+import { IonicPageModule } from 'ionic-angular';
3
+import { TransactionPage } from './transactions';
4
+import { TransactionService } from '../../providers/transaction-service';
5
+
6
+
7
+@NgModule({
8
+  declarations: [
9
+   TransactionPage,
10
+  ],
11
+  imports: [
12
+    IonicPageModule.forChild(TransactionPage),
13
+  ],
14
+  providers: [
15
+    TransactionService,
16
+  ],
17
+})
18
+export class TransactionPageModule {}

+ 3
- 0
src/pages/transactions/transactions.scss 查看文件

@@ -0,0 +1,3 @@
1
+page-transactions {
2
+
3
+}

+ 23
- 0
src/pages/transactions/transactions.ts 查看文件

@@ -0,0 +1,23 @@
1
+import { Component } from '@angular/core';
2
+import { IonicPage, NavController, NavParams } from 'ionic-angular';
3
+import { TransactionService } from './../../providers/transaction-service';
4
+
5
+
6
+@IonicPage()
7
+@Component({
8
+  selector: 'page-transactions',
9
+  templateUrl: 'transactions.html',
10
+})
11
+export class TransactionPage {
12
+  private transactions: Array<any>;
13
+
14
+  constructor(public navCtrl: NavController, public navParams: NavParams, public transactionsService: TransactionService) {
15
+  }
16
+
17
+  ionViewDidLoad() {
18
+    this.transactionsService.getTransactions().subscribe(transactions => {
19
+      this.transactions = transactions;
20
+    })
21
+  }
22
+
23
+}

+ 1
- 6
src/pages/wallet/wallet.ts 查看文件

@@ -2,12 +2,7 @@ import { WalletService } from './../../providers/wallet-service';
2 2
 import { Component } from '@angular/core';
3 3
 import { IonicPage, NavController, NavParams } from 'ionic-angular';
4 4
 
5
-/**
6
- * Generated class for the WalletPage page.
7
- *
8
- * See https://ionicframework.com/docs/components/#navigation for more info on
9
- * Ionic pages and navigation.
10
- */
5
+
11 6
 
12 7
 @IonicPage()
13 8
 @Component({

+ 16
- 0
src/providers/transaction-service.ts 查看文件

@@ -0,0 +1,16 @@
1
+import { Injectable } from '@angular/core';
2
+import { Observable } from 'rxjs';
3
+import { HttpClient } from '@angular/common/http';
4
+
5
+@Injectable()
6
+export class TransactionService {
7
+  public API = 'http://localhost:8080';
8
+  
9
+
10
+  constructor(public http: HttpClient) {
11
+  }
12
+
13
+  getTransactions(): Observable<any> {
14
+    return this.http.get(this.API + '/transactions');
15
+  }
16
+}

+ 1
- 1
src/providers/wallet-service.ts 查看文件

@@ -5,7 +5,7 @@ import { HttpClient } from '@angular/common/http';
5 5
 @Injectable()
6 6
 export class WalletService {
7 7
   public API = 'http://localhost:8080';
8
-  public WALLET_API = this.API + '/user';
8
+  
9 9
 
10 10
   constructor(public http: HttpClient) {
11 11
   }

+ 195
- 107
www/build/main.js 查看文件

@@ -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

+ 1
- 1
www/build/main.js.map
文件差異過大導致無法顯示
查看文件


+ 13728
- 13726
www/build/vendor.js
文件差異過大導致無法顯示
查看文件


+ 1
- 1
www/build/vendor.js.map
文件差異過大導致無法顯示
查看文件