소스 검색

build files

Navya Sanal 6 년 전
부모
커밋
026721cab6
3개의 변경된 파일128개의 추가작업 그리고 164개의 파일을 삭제
  1. 25
    0
      ZipCoinRedIonicClient/www/build/.ion-diagnostic-typescript.html
  2. 102
    163
      ZipCoinRedIonicClient/www/build/main.js
  3. 1
    1
      ZipCoinRedIonicClient/www/build/main.js.map

+ 25
- 0
ZipCoinRedIonicClient/www/build/.ion-diagnostic-typescript.html 파일 보기

@@ -0,0 +1,25 @@
1
+<div class="ion-diagnostic">
2
+<div class="ion-diagnostic-masthead" title="typescript error: 2307">
3
+<div class="ion-diagnostic-title">Typescript Error</div>
4
+<div class="ion-diagnostic-message" data-error-code="typescript-2307">Cannot find module &#039;../block/home&#039;.</div>
5
+</div>
6
+<div class="ion-diagnostic-file">
7
+<div class="ion-diagnostic-file-header" title="/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tabs/tabs.ts">src/pages/tabs/tabs.ts</div>
8
+<div class="ion-diagnostic-blob">
9
+<table class="ion-diagnostic-table">
10
+<tr>
11
+<td class="ion-diagnostic-blob-num" data-line-number="2"></td>
12
+<td class="ion-diagnostic-blob-code"><span class="hljs-keyword">import</span> { NavController, NavParams } from <span class="hljs-string">'ionic-angular'</span>;</td>
13
+</tr>
14
+<tr class="ion-diagnostic-error-line">
15
+<td class="ion-diagnostic-blob-num" data-line-number="3"></td>
16
+<td class="ion-diagnostic-blob-code"><span class="hljs-keyword">import</span> { HomePage } from <span class="hljs-string"><span class="ion-diagnostics-error-chr">'</span><span class="ion-diagnostics-error-chr">.</span><span class="ion-diagnostics-error-chr">.</span><span class="ion-diagnostics-error-chr">/</span><span class="ion-diagnostics-error-chr">b</span><span class="ion-diagnostics-error-chr">l</span><span class="ion-diagnostics-error-chr">o</span><span class="ion-diagnostics-error-chr">c</span><span class="ion-diagnostics-error-chr">k</span><span class="ion-diagnostics-error-chr">/</span><span class="ion-diagnostics-error-chr">h</span><span class="ion-diagnostics-error-chr">o</span><span class="ion-diagnostics-error-chr">m</span><span class="ion-diagnostics-error-chr">e</span><span class="ion-diagnostics-error-chr">'</span></span>;</td>
17
+</tr>
18
+<tr>
19
+<td class="ion-diagnostic-blob-num" data-line-number="4"></td>
20
+<td class="ion-diagnostic-blob-code"><span class="hljs-keyword">import</span> { WalletPage } from <span class="hljs-string">'../wallet/wallet'</span>;</td>
21
+</tr>
22
+</table>
23
+</div>
24
+</div>
25
+</div>

+ 102
- 163
ZipCoinRedIonicClient/www/build/main.js 파일 보기

@@ -1,12 +1,15 @@
1 1
 webpackJsonp([4],{
2 2
 
3
-/***/ 101:
3
+/***/ 100:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
7
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Tab4Page; });
7
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TabsPage; });
8 8
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
9
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
9
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__home_home__ = __webpack_require__(157);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__ = __webpack_require__(101);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__ = __webpack_require__(102);
12
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__tab4_tab4__ = __webpack_require__(99);
10 13
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
11 14
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
12 15
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -18,41 +21,36 @@ var __metadata = (this && this.__metadata) || function (k, v) {
18 21
 };
19 22
 
20 23
 
21
-/**
22
- * Generated class for the Tab4Page page.
23
- *
24
- * See https://ionicframework.com/docs/components/#navigation for more info on
25
- * Ionic pages and navigation.
26
- */
27
-var Tab4Page = /** @class */ (function () {
28
-    function Tab4Page(navCtrl, navParams) {
29
-        this.navCtrl = navCtrl;
30
-        this.navParams = navParams;
24
+
25
+
26
+
27
+var TabsPage = /** @class */ (function () {
28
+    function TabsPage() {
29
+        this.homePage = __WEBPACK_IMPORTED_MODULE_1__home_home__["a" /* HomePage */];
30
+        this.walletPage = __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__["a" /* WalletPage */];
31
+        this.transactionPage = __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__["a" /* TransactionPage */];
32
+        this.tab4 = __WEBPACK_IMPORTED_MODULE_4__tab4_tab4__["a" /* Tab4Page */];
31 33
     }
32
-    Tab4Page.prototype.ionViewDidLoad = function () {
33
-        console.log('ionViewDidLoad Tab4Page');
34
-    };
35
-    Tab4Page = __decorate([
34
+    TabsPage = __decorate([
36 35
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
37
-            selector: 'page-tab4',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/'<!--\n  Generated template for the Tab4Page page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>tab4</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/,
36
+            selector: 'page-tabs',template:/*ion-inline-start:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tabs/tabs.html"*/'<ion-tabs>\n  <ion-tab [root]="homePage" tabTitle="ZipCoin-BlockChain" tabIcon="link"></ion-tab>\n  <ion-tab [root]="walletPage" tabTitle="ZipCoin Wallet" tabIcon="cash"></ion-tab>\n  <ion-tab [root]="transactionPage" tabTitle="ZipCoin Transactions" tabIcon="contacts"></ion-tab>\n  <ion-tab [root]="tab4" tabTitle="Ziptab" tabIcon="star"></ion-tab>\n\n</ion-tabs>'/*ion-inline-end:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tabs/tabs.html"*/,
38 37
         }),
39
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
40
-    ], Tab4Page);
41
-    return Tab4Page;
38
+        __metadata("design:paramtypes", [])
39
+    ], TabsPage);
40
+    return TabsPage;
42 41
 }());
43 42
 
44
-//# sourceMappingURL=tab4.js.map
43
+//# sourceMappingURL=tabs.js.map
45 44
 
46 45
 /***/ }),
47 46
 
48
-/***/ 102:
47
+/***/ 101:
49 48
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
50 49
 
51 50
 "use strict";
52
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionPage; });
51
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WalletPage; });
53 52
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
54 53
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
55
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__ = __webpack_require__(50);
56 54
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
57 55
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
58 56
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -64,95 +62,40 @@ var __metadata = (this && this.__metadata) || function (k, v) {
64 62
 };
65 63
 
66 64
 
67
-
68 65
 /**
69
- * Generated class for the TransactionPage page.
66
+ * Generated class for the WalletPage page.
70 67
  *
71 68
  * See https://ionicframework.com/docs/components/#navigation for more info on
72 69
  * Ionic pages and navigation.
73 70
  */
74
-var TransactionPage = /** @class */ (function () {
75
-    function TransactionPage(navCtrl, navParams, transactionService) {
71
+var WalletPage = /** @class */ (function () {
72
+    function WalletPage(navCtrl, navParams) {
76 73
         this.navCtrl = navCtrl;
77 74
         this.navParams = navParams;
78
-        this.transactionService = transactionService;
79
-        this.getAllTransactions;
80 75
     }
81
-    TransactionPage.prototype.ionViewDidLoad = function () {
82
-        console.log('ionViewDidLoad TransactionPage');
83
-    };
84
-    TransactionPage.prototype.getAllTransactions = function () {
85
-        var _this = this;
86
-        this.transactionService.getAllTransactions().subscribe(function (transactions) {
87
-            _this.transactions = transactions;
88
-        });
76
+    WalletPage.prototype.ionViewDidLoad = function () {
77
+        console.log('ionViewDidLoad WalletPage');
89 78
     };
90
-    TransactionPage = __decorate([
91
-        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
92
-            selector: 'page-transaction',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/'<!--\n  Generated template for the TransactionPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Transaction</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\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: {{ block.recipient }}</div>\n                  <div>Amount: {{ block.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"*/,
93
-        }),
94
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */],
95
-            __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__["a" /* TransactionService */]])
96
-    ], TransactionPage);
97
-    return TransactionPage;
98
-}());
99
-
100
-//# sourceMappingURL=transaction.js.map
101
-
102
-/***/ }),
103
-
104
-/***/ 103:
105
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
106
-
107
-"use strict";
108
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TabsPage; });
109
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
110
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__home_home__ = __webpack_require__(159);
111
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__ = __webpack_require__(104);
112
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__ = __webpack_require__(102);
113
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__tab4_tab4__ = __webpack_require__(101);
114
-var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
115
-    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
116
-    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
117
-    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;
118
-    return c > 3 && r && Object.defineProperty(target, key, r), r;
119
-};
120
-var __metadata = (this && this.__metadata) || function (k, v) {
121
-    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
122
-};
123
-
124
-
125
-
126
-
127
-
128
-var TabsPage = /** @class */ (function () {
129
-    function TabsPage() {
130
-        this.homePage = __WEBPACK_IMPORTED_MODULE_1__home_home__["a" /* HomePage */];
131
-        this.walletPage = __WEBPACK_IMPORTED_MODULE_2__wallet_wallet__["a" /* WalletPage */];
132
-        this.transactionPage = __WEBPACK_IMPORTED_MODULE_3__transaction_transaction__["a" /* TransactionPage */];
133
-        this.tab4 = __WEBPACK_IMPORTED_MODULE_4__tab4_tab4__["a" /* Tab4Page */];
134
-    }
135
-    TabsPage = __decorate([
79
+    WalletPage = __decorate([
136 80
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
137
-            selector: 'page-tabs',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tabs/tabs.html"*/'<ion-tabs>\n  <ion-tab [root]="homePage" tabTitle="ZipCoin-BlockChain" tabIcon="link"></ion-tab>\n  <ion-tab [root]="walletPage" tabTitle="ZipCoin Wallet" tabIcon="cash"></ion-tab>\n  <ion-tab [root]="transactionPage" tabTitle="ZipCoin Transactions" tabIcon="contacts"></ion-tab>\n  <ion-tab [root]="tab4" tabTitle="Ziptab" tabIcon="star"></ion-tab>\n\n</ion-tabs>'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tabs/tabs.html"*/,
81
+            selector: 'page-wallet',template:/*ion-inline-start:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/'<!--\n  Generated template for the WalletPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Wallet</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n\n  \n  <ion-item>\n      <ion-label>Name</ion-label>\n      <ion-select [(ngModel)]="name">\n        <ion-option value="navya">navya</ion-option>\n        <ion-option value="aleena">aleena</ion-option>\n      </ion-select>\n     </ion-item>\n     <ion-item>\n        <ion-label>current balance</ion-label>\n        <ion-input></ion-input>\n      </ion-item>\n      <ion-item>\n          <ion-label>Public Key</ion-label>\n          <ion-input></ion-input>\n        </ion-item>\n      <br>\n      <br>\n      <div class = "bar bar-subheader bar-assertive">\n          <h2 class = "title">Payment</h2>\n       </div>\n       <ion-item>\n          <ion-label>From</ion-label>\n          <ion-select [(ngModel)]="name">\n            <ion-option value="navya">navya</ion-option>\n            <ion-option value="aleena">aleena</ion-option>\n          </ion-select>\n         </ion-item>\n         <ion-item>\n            <ion-label>To</ion-label>\n            <ion-select [(ngModel)]="to">\n              <ion-option value="navya">navya</ion-option>\n              <ion-option value="aleena">aleena</ion-option>\n            </ion-select>\n           </ion-item>\n      \n          <ion-item>\n              <ion-label>Amount</ion-label>\n              <ion-input></ion-input>\n            </ion-item>\n            <br>\n            <button ion-button>Pay</button>\n</ion-content>\n'/*ion-inline-end:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/,
138 82
         }),
139
-        __metadata("design:paramtypes", [])
140
-    ], TabsPage);
141
-    return TabsPage;
83
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
84
+    ], WalletPage);
85
+    return WalletPage;
142 86
 }());
143 87
 
144
-//# sourceMappingURL=tabs.js.map
88
+//# sourceMappingURL=wallet.js.map
145 89
 
146 90
 /***/ }),
147 91
 
148
-/***/ 104:
92
+/***/ 102:
149 93
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
150 94
 
151 95
 "use strict";
152
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WalletPage; });
96
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionPage; });
153 97
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
154 98
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
155
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_transaction_service__ = __webpack_require__(50);
156 99
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
157 100
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
158 101
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -164,39 +107,34 @@ var __metadata = (this && this.__metadata) || function (k, v) {
164 107
 };
165 108
 
166 109
 
167
-
168 110
 /**
169
- * Generated class for the WalletPage page.
111
+ * Generated class for the TransactionPage page.
170 112
  *
171 113
  * See https://ionicframework.com/docs/components/#navigation for more info on
172 114
  * Ionic pages and navigation.
173 115
  */
174
-var WalletPage = /** @class */ (function () {
175
-    function WalletPage(navCtrl, navParams, transactionService) {
116
+var TransactionPage = /** @class */ (function () {
117
+    function TransactionPage(navCtrl, navParams) {
176 118
         this.navCtrl = navCtrl;
177 119
         this.navParams = navParams;
178
-        this.transactionService = transactionService;
179 120
     }
180
-    WalletPage.prototype.ionViewDidLoad = function () {
181
-        console.log('ionViewDidLoad WalletPage');
182
-    };
183
-    WalletPage.prototype.createTransaction = function () {
184
-        this.transactionService.createTransaction(this.transaction);
121
+    TransactionPage.prototype.ionViewDidLoad = function () {
122
+        console.log('ionViewDidLoad TransactionPage');
185 123
     };
186
-    WalletPage = __decorate([
124
+    TransactionPage = __decorate([
187 125
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
188
-            selector: 'page-wallet',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/'<!--\n  Generated template for the WalletPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Wallet</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n\n  \n  <ion-item>\n      <ion-label>Name</ion-label>\n      <ion-select [(ngModel)]="name">\n        <ion-option value="navya">navya</ion-option>\n        <ion-option value="aleena">aleena</ion-option>\n      </ion-select>\n     </ion-item>\n     <ion-item>\n        <ion-label>current balance</ion-label>\n        <ion-input></ion-input>\n      </ion-item>\n      <ion-item>\n          <ion-label>Public Key</ion-label>\n          <ion-input></ion-input>\n        </ion-item>\n      <br>\n      <br>\n      <div class = "bar bar-subheader bar-assertive">\n          <h2 class = "title">Payment</h2>\n       </div>\n       <ion-item>\n          <ion-label>From</ion-label>\n          <ion-select [(ngModel)]="name">\n            <ion-option value="navya">navya</ion-option>\n            <ion-option value="aleena">aleena</ion-option>\n          </ion-select>\n         </ion-item>\n         <ion-item>\n            <ion-label>To</ion-label>\n            <ion-select [(ngModel)]="to">\n              <ion-option value="navya">navya</ion-option>\n              <ion-option value="aleena">aleena</ion-option>\n            </ion-select>\n           </ion-item>\n      \n          <ion-item>\n              <ion-label>Amount</ion-label>\n              <ion-input></ion-input>\n            </ion-item>\n            <br>\n            <button ion-button>Pay</button>\n</ion-content>\n'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/wallet/wallet.html"*/,
126
+            selector: 'page-transaction',template:/*ion-inline-start:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/'<!--\n  Generated template for the TransactionPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>Transaction</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\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: {{ block.recipient }}</div>\n                  <div>Amount: {{ block.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/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/transaction/transaction.html"*/,
189 127
         }),
190
-        __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 */]])
191
-    ], WalletPage);
192
-    return WalletPage;
128
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
129
+    ], TransactionPage);
130
+    return TransactionPage;
193 131
 }());
194 132
 
195
-//# sourceMappingURL=wallet.js.map
133
+//# sourceMappingURL=transaction.js.map
196 134
 
197 135
 /***/ }),
198 136
 
199
-/***/ 116:
137
+/***/ 114:
200 138
 /***/ (function(module, exports) {
201 139
 
202 140
 function webpackEmptyAsyncContext(req) {
@@ -209,20 +147,20 @@ function webpackEmptyAsyncContext(req) {
209 147
 webpackEmptyAsyncContext.keys = function() { return []; };
210 148
 webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
211 149
 module.exports = webpackEmptyAsyncContext;
212
-webpackEmptyAsyncContext.id = 116;
150
+webpackEmptyAsyncContext.id = 114;
213 151
 
214 152
 /***/ }),
215 153
 
216
-/***/ 158:
154
+/***/ 156:
217 155
 /***/ (function(module, exports, __webpack_require__) {
218 156
 
219 157
 var map = {
220 158
 	"../pages/tab4/tab4.module": [
221
-		280,
159
+		279,
222 160
 		3
223 161
 	],
224 162
 	"../pages/tabs/tabs.module": [
225
-		282,
163
+		280,
226 164
 		2
227 165
 	],
228 166
 	"../pages/transaction/transaction.module": [
@@ -230,7 +168,7 @@ var map = {
230 168
 		1
231 169
 	],
232 170
 	"../pages/wallet/wallet.module": [
233
-		283,
171
+		282,
234 172
 		0
235 173
 	]
236 174
 };
@@ -245,19 +183,19 @@ function webpackAsyncContext(req) {
245 183
 webpackAsyncContext.keys = function webpackAsyncContextKeys() {
246 184
 	return Object.keys(map);
247 185
 };
248
-webpackAsyncContext.id = 158;
186
+webpackAsyncContext.id = 156;
249 187
 module.exports = webpackAsyncContext;
250 188
 
251 189
 /***/ }),
252 190
 
253
-/***/ 159:
191
+/***/ 157:
254 192
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
255 193
 
256 194
 "use strict";
257 195
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HomePage; });
258 196
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
259 197
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
260
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_block_service__ = __webpack_require__(160);
198
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_block_service__ = __webpack_require__(158);
261 199
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
262 200
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
263 201
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -297,7 +235,7 @@ var HomePage = /** @class */ (function () {
297 235
     };
298 236
     HomePage = __decorate([
299 237
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
300
-            selector: 'page-home',template:/*ion-inline-start:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/'<ion-header>\n  <ion-navbar>\n    <ion-title>\n      ZipCoin BlockChain\n    </ion-title>\n  </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n\n  <ion-list>\n    <ion-item-sliding *ngFor="let block of blocks">\n      <ion-item>\n        <ion-card>\n            <ion-card-header>\n              Block #: {{block.blockNumber}}\n            </ion-card-header>\n            <ion-card-content>\n              <div>Nonce: {{ block.nonce }}</div>\n              <div>Data: {{ block.transactionList }}</div>\n              <div>Previous Hash: {{ block.previousHash }}</div>\n              <div>Current Hash: {{ block.currentHash }}</div>\n              <button ion-button (click)="getMinedBlock(block.id)">Mine</button>\n            </ion-card-content>\n        </ion-card>\n      </ion-item>\n    </ion-item-sliding>\n  </ion-list>\n\n</ion-content>'/*ion-inline-end:"/Users/ericf/ZCWProjects/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/
238
+            selector: 'page-home',template:/*ion-inline-start:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/'<ion-header>\n  <ion-navbar>\n    <ion-title>\n      ZipCoin BlockChain\n    </ion-title>\n  </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n\n  <ion-list>\n    <ion-item-sliding *ngFor="let block of blocks">\n      <ion-item>\n        <ion-card>\n            <ion-card-header>\n              Block #: {{block.blockNumber}}\n            </ion-card-header>\n            <ion-card-content>\n              <div>Nonce: {{ block.nonce }}</div>\n              <div>Data: {{ block.transactionList }}</div>\n              <div>Previous Hash: {{ block.previousHash }}</div>\n              <div>Current Hash: {{ block.currentHash }}</div>\n              <button ion-button (click)="getMinedBlock(block.id)">Mine</button>\n            </ion-card-content>\n        </ion-card>\n      </ion-item>\n    </ion-item-sliding>\n  </ion-list>\n\n</ion-content>'/*ion-inline-end:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/home/home.html"*/
301 239
         }),
302 240
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_2__providers_block_service__["a" /* BlockService */]])
303 241
     ], HomePage);
@@ -314,12 +252,12 @@ var HomePage = /** @class */ (function () {
314 252
 
315 253
 /***/ }),
316 254
 
317
-/***/ 160:
255
+/***/ 158:
318 256
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
319 257
 
320 258
 "use strict";
321 259
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BlockService; });
322
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(78);
260
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(159);
323 261
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
324 262
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
325 263
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -358,13 +296,13 @@ var BlockService = /** @class */ (function () {
358 296
 
359 297
 /***/ }),
360 298
 
361
-/***/ 204:
299
+/***/ 203:
362 300
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
363 301
 
364 302
 "use strict";
365 303
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
366
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(205);
367
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(225);
304
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(204);
305
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(224);
368 306
 
369 307
 
370 308
 Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
@@ -372,7 +310,7 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
372 310
 
373 311
 /***/ }),
374 312
 
375
-/***/ 225:
313
+/***/ 224:
376 314
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
377 315
 
378 316
 "use strict";
@@ -380,17 +318,16 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
380 318
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(31);
381 319
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
382 320
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(28);
383
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(200);
384
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(203);
385
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__app_component__ = __webpack_require__(279);
386
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_common_http__ = __webpack_require__(78);
387
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_block_service__ = __webpack_require__(160);
388
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_home_home__ = __webpack_require__(159);
389
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet__ = __webpack_require__(104);
321
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(199);
322
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(202);
323
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__app_component__ = __webpack_require__(278);
324
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_common_http__ = __webpack_require__(159);
325
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_block_service__ = __webpack_require__(158);
326
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_home_home__ = __webpack_require__(157);
327
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_wallet_wallet__ = __webpack_require__(101);
390 328
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_transaction_transaction__ = __webpack_require__(102);
391
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__ = __webpack_require__(103);
392
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_tab4_tab4__ = __webpack_require__(101);
393
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_transaction_service__ = __webpack_require__(50);
329
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_tabs_tabs__ = __webpack_require__(100);
330
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_tab4_tab4__ = __webpack_require__(99);
394 331
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
395 332
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
396 333
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -410,7 +347,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
410 347
 
411 348
 
412 349
 
413
-
414 350
 var AppModule = /** @class */ (function () {
415 351
     function AppModule() {
416 352
     }
@@ -430,8 +366,8 @@ var AppModule = /** @class */ (function () {
430 366
                 __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_5__app_component__["a" /* MyApp */], {}, {
431 367
                     links: [
432 368
                         { loadChildren: '../pages/tab4/tab4.module#Tab4PageModule', name: 'Tab4Page', segment: 'tab4', priority: 'low', defaultHistory: [] },
433
-                        { loadChildren: '../pages/transaction/transaction.module#TransactionPageModule', name: 'TransactionPage', segment: 'transaction', priority: 'low', defaultHistory: [] },
434 369
                         { loadChildren: '../pages/tabs/tabs.module#TabsPageModule', name: 'TabsPage', segment: 'tabs', priority: 'low', defaultHistory: [] },
370
+                        { loadChildren: '../pages/transaction/transaction.module#TransactionPageModule', name: 'TransactionPage', segment: 'transaction', priority: 'low', defaultHistory: [] },
435 371
                         { loadChildren: '../pages/wallet/wallet.module#WalletPageModule', name: 'WalletPage', segment: 'wallet', priority: 'low', defaultHistory: [] }
436 372
                     ]
437 373
                 })
@@ -449,7 +385,6 @@ var AppModule = /** @class */ (function () {
449 385
                 __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__["a" /* StatusBar */],
450 386
                 __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */],
451 387
                 __WEBPACK_IMPORTED_MODULE_7__providers_block_service__["a" /* BlockService */],
452
-                __WEBPACK_IMPORTED_MODULE_13__providers_transaction_service__["a" /* TransactionService */],
453 388
                 { provide: __WEBPACK_IMPORTED_MODULE_1__angular_core__["u" /* ErrorHandler */], useClass: __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["b" /* IonicErrorHandler */] }
454 389
             ]
455 390
         })
@@ -461,16 +396,16 @@ var AppModule = /** @class */ (function () {
461 396
 
462 397
 /***/ }),
463 398
 
464
-/***/ 279:
399
+/***/ 278:
465 400
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
466 401
 
467 402
 "use strict";
468 403
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
469 404
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
470 405
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
471
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(203);
472
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(200);
473
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(103);
406
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(202);
407
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(199);
408
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(100);
474 409
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
475 410
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
476 411
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -496,7 +431,7 @@ var MyApp = /** @class */ (function () {
496 431
         });
497 432
     }
498 433
     MyApp = __decorate([
499
-        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"*/
434
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/'<ion-nav [root]="rootPage"></ion-nav>\n'/*ion-inline-end:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/app/app.html"*/
500 435
         }),
501 436
         __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 */]])
502 437
     ], MyApp);
@@ -507,13 +442,13 @@ var MyApp = /** @class */ (function () {
507 442
 
508 443
 /***/ }),
509 444
 
510
-/***/ 50:
445
+/***/ 99:
511 446
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
512 447
 
513 448
 "use strict";
514
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TransactionService; });
449
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Tab4Page; });
515 450
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
516
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common_http__ = __webpack_require__(78);
451
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(28);
517 452
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
518 453
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
519 454
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -525,28 +460,32 @@ var __metadata = (this && this.__metadata) || function (k, v) {
525 460
 };
526 461
 
527 462
 
528
-var TransactionService = /** @class */ (function () {
529
-    function TransactionService(http) {
530
-        this.http = http;
531
-        this.API = 'http://localhost:8080/api/v1';
532
-        this.TRANSACTION_API = this.API + '/transactions';
463
+/**
464
+ * Generated class for the Tab4Page page.
465
+ *
466
+ * See https://ionicframework.com/docs/components/#navigation for more info on
467
+ * Ionic pages and navigation.
468
+ */
469
+var Tab4Page = /** @class */ (function () {
470
+    function Tab4Page(navCtrl, navParams) {
471
+        this.navCtrl = navCtrl;
472
+        this.navParams = navParams;
533 473
     }
534
-    TransactionService.prototype.createTransaction = function (transaction) {
535
-        return this.http.post(this.TRANSACTION_API, transaction);
536
-    };
537
-    TransactionService.prototype.getAllTransactions = function () {
538
-        return this.http.get(this.TRANSACTION_API);
474
+    Tab4Page.prototype.ionViewDidLoad = function () {
475
+        console.log('ionViewDidLoad Tab4Page');
539 476
     };
540
-    TransactionService = __decorate([
541
-        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["A" /* Injectable */])(),
542
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1__angular_common_http__["a" /* HttpClient */]])
543
-    ], TransactionService);
544
-    return TransactionService;
477
+    Tab4Page = __decorate([
478
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
479
+            selector: 'page-tab4',template:/*ion-inline-start:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/'<!--\n  Generated template for the Tab4Page page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>tab4</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/navyas/Labs6/ZipCoin-RED/ZipCoinRedIonicClient/src/pages/tab4/tab4.html"*/,
480
+        }),
481
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
482
+    ], Tab4Page);
483
+    return Tab4Page;
545 484
 }());
546 485
 
547
-//# sourceMappingURL=transaction-service.js.map
486
+//# sourceMappingURL=tab4.js.map
548 487
 
549 488
 /***/ })
550 489
 
551
-},[204]);
490
+},[203]);
552 491
 //# sourceMappingURL=main.js.map

+ 1
- 1
ZipCoinRedIonicClient/www/build/main.js.map
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기