Kaynağa Gözat

added wallet folder

Tennessee Gibbs 6 yıl önce
ebeveyn
işleme
6cd921f3ce

+ 1
- 0
.sourcemaps/main.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 2
- 1
src/app/app.module.ts Dosyayı Görüntüle

@@ -7,7 +7,7 @@ import { AboutPage } from '../pages/about/about';
7 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 13
 
@@ -24,6 +24,7 @@ import { SplashScreen } from '@ionic-native/splash-screen';
24 24
   ],
25 25
   imports: [
26 26
     BrowserModule,
27
+    WalletPageModule,
27 28
     IonicModule.forRoot(MyApp)
28 29
   ],
29 30
   bootstrap: [IonicApp],

+ 2
- 1
src/pages/tabs/tabs.html Dosyayı Görüntüle

@@ -1,5 +1,6 @@
1 1
 <ion-tabs>
2 2
   <ion-tab [root]="tab1Root" tabTitle="Blockchain" tabIcon="cube"></ion-tab>
3
-  <ion-tab [root]="tab2Root" tabTitle="Wallet" tabIcon="logo-usd"></ion-tab>
3
+  <ion-tab [root]="tab2Root" tabTitle="Payment" tabIcon="cog"></ion-tab>
4 4
   <ion-tab [root]="tab3Root" tabTitle="Transactions" tabIcon="list-box"></ion-tab>
5
+  <ion-tab [root]="tab4Root" tabTitle="Wallet" tabIcon="logo-usd"></ion-tab>
5 6
 </ion-tabs>

+ 4
- 0
src/pages/tabs/tabs.ts Dosyayı Görüntüle

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

+ 13
- 0
src/pages/wallet/wallet.html Dosyayı Görüntüle

@@ -0,0 +1,13 @@
1
+<ion-header>
2
+  <ion-navbar>
3
+    <ion-title>ZipCoin Blue Wallet</ion-title>
4
+  </ion-navbar>
5
+</ion-header>
6
+
7
+<ion-content padding>
8
+  <ion-list>
9
+    <ion-item *ngFor="let wallet of wallets">
10
+      <h2>{{wallet.name}}</h2>
11
+    </ion-item>
12
+  </ion-list>
13
+</ion-content>

+ 17
- 0
src/pages/wallet/wallet.module.ts Dosyayı Görüntüle

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

+ 3
- 0
src/pages/wallet/wallet.scss Dosyayı Görüntüle

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

+ 29
- 0
src/pages/wallet/wallet.ts Dosyayı Görüntüle

@@ -0,0 +1,29 @@
1
+import { WalletService } from './../../providers/wallet-service';
2
+import { Component } from '@angular/core';
3
+import { IonicPage, NavController, NavParams } from 'ionic-angular';
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
+ */
11
+
12
+@IonicPage()
13
+@Component({
14
+  selector: 'page-wallet',
15
+  templateUrl: 'wallet.html',
16
+})
17
+export class WalletPage {
18
+  private wallets: Array<any>;
19
+
20
+  constructor(public navCtrl: NavController, public navParams: NavParams, public walletService: WalletService) {
21
+  }
22
+
23
+  ionViewDidLoad() {
24
+    this.walletService.getWalletAmount().subscribe(wallets => {
25
+      this.wallets = wallets;
26
+    })
27
+  }
28
+
29
+}

+ 16
- 0
src/providers/wallet-service.ts Dosyayı Görüntüle

@@ -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 WalletService {
7
+  public API = 'http://localhost:8080';
8
+  public WALLET_API = this.API + '/user';
9
+
10
+  constructor(public http: HttpClient) {
11
+  }
12
+
13
+  getWalletAmount(): Observable<any> {
14
+    return this.http.get(this.API + '/get');
15
+  }
16
+}

+ 202
- 56
www/build/main.js Dosyayı Görüntüle

@@ -1,6 +1,6 @@
1 1
 webpackJsonp([0],{
2 2
 
3
-/***/ 108:
3
+/***/ 110:
4 4
 /***/ (function(module, exports) {
5 5
 
6 6
 function webpackEmptyAsyncContext(req) {
@@ -13,36 +13,176 @@ function webpackEmptyAsyncContext(req) {
13 13
 webpackEmptyAsyncContext.keys = function() { return []; };
14 14
 webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
15 15
 module.exports = webpackEmptyAsyncContext;
16
-webpackEmptyAsyncContext.id = 108;
16
+webpackEmptyAsyncContext.id = 110;
17 17
 
18 18
 /***/ }),
19 19
 
20
-/***/ 149:
21
-/***/ (function(module, exports) {
20
+/***/ 152:
21
+/***/ (function(module, exports, __webpack_require__) {
22 22
 
23
-function webpackEmptyAsyncContext(req) {
24
-	// Here Promise.resolve().then() is used instead of new Promise() to prevent
25
-	// uncatched exception popping up in devtools
26
-	return Promise.resolve().then(function() {
27
-		throw new Error("Cannot find module '" + req + "'.");
23
+var map = {
24
+	"../pages/wallet/wallet.module": [
25
+		153
26
+	]
27
+};
28
+function webpackAsyncContext(req) {
29
+	var ids = map[req];
30
+	if(!ids)
31
+		return Promise.reject(new Error("Cannot find module '" + req + "'."));
32
+	return Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {
33
+		return __webpack_require__(ids[0]);
28 34
 	});
29
-}
30
-webpackEmptyAsyncContext.keys = function() { return []; };
31
-webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
32
-module.exports = webpackEmptyAsyncContext;
33
-webpackEmptyAsyncContext.id = 149;
35
+};
36
+webpackAsyncContext.keys = function webpackAsyncContextKeys() {
37
+	return Object.keys(map);
38
+};
39
+webpackAsyncContext.id = 152;
40
+module.exports = webpackAsyncContext;
34 41
 
35 42
 /***/ }),
36 43
 
37
-/***/ 193:
44
+/***/ 153:
38 45
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
39 46
 
40 47
 "use strict";
41
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TabsPage; });
48
+Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
49
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "WalletPageModule", function() { return WalletPageModule; });
50
+/* 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);
54
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
55
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
56
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
57
+    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;
58
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
59
+};
60
+
61
+
62
+
63
+
64
+var WalletPageModule = /** @class */ (function () {
65
+    function WalletPageModule() {
66
+    }
67
+    WalletPageModule = __decorate([
68
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
69
+            declarations: [
70
+                __WEBPACK_IMPORTED_MODULE_2__wallet__["a" /* WalletPage */],
71
+            ],
72
+            imports: [
73
+                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__wallet__["a" /* WalletPage */]),
74
+            ],
75
+            providers: [
76
+                __WEBPACK_IMPORTED_MODULE_3__providers_wallet_service__["a" /* WalletService */],
77
+            ],
78
+        })
79
+    ], WalletPageModule);
80
+    return WalletPageModule;
81
+}());
82
+
83
+//# sourceMappingURL=wallet.module.js.map
84
+
85
+/***/ }),
86
+
87
+/***/ 154:
88
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
89
+
90
+"use strict";
91
+/* 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);
93
+/* 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);
95
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
96
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
97
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
98
+    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;
99
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
100
+};
101
+var __metadata = (this && this.__metadata) || function (k, v) {
102
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
103
+};
104
+
105
+
106
+
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
+var WalletPage = /** @class */ (function () {
114
+    function WalletPage(navCtrl, navParams, walletService) {
115
+        this.navCtrl = navCtrl;
116
+        this.navParams = navParams;
117
+        this.walletService = walletService;
118
+    }
119
+    WalletPage.prototype.ionViewDidLoad = function () {
120
+        var _this = this;
121
+        this.walletService.getWalletAmount().subscribe(function (wallets) {
122
+            _this.wallets = wallets;
123
+        });
124
+    };
125
+    WalletPage = __decorate([
126
+        Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["m" /* Component */])({
127
+            selector: 'page-wallet',template:/*ion-inline-start:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/wallet/wallet.html"*/'<ion-header>\n  <ion-navbar>\n    <ion-title>ZipCoin Blue Wallet</ion-title>\n  </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n  <ion-list>\n    <ion-item *ngFor="let wallet of wallets">\n      <h2>{{wallet.name}}</h2>\n    </ion-item>\n  </ion-list>\n</ion-content>'/*ion-inline-end:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/wallet/wallet.html"*/,
128
+        }),
129
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["f" /* NavParams */], __WEBPACK_IMPORTED_MODULE_0__providers_wallet_service__["a" /* WalletService */]])
130
+    ], WalletPage);
131
+    return WalletPage;
132
+}());
133
+
134
+//# sourceMappingURL=wallet.js.map
135
+
136
+/***/ }),
137
+
138
+/***/ 155:
139
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
140
+
141
+"use strict";
142
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WalletService; });
42 143
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
43
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__about_about__ = __webpack_require__(194);
44
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__contact_contact__ = __webpack_require__(195);
45
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__home_home__ = __webpack_require__(196);
144
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common_http__ = __webpack_require__(249);
145
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
146
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
147
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
148
+    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;
149
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
150
+};
151
+var __metadata = (this && this.__metadata) || function (k, v) {
152
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
153
+};
154
+
155
+
156
+var WalletService = /** @class */ (function () {
157
+    function WalletService(http) {
158
+        this.http = http;
159
+        this.API = 'http://localhost:8080';
160
+        this.WALLET_API = this.API + '/user';
161
+    }
162
+    WalletService.prototype.getWalletAmount = function () {
163
+        return this.http.get(this.API + '/get');
164
+    };
165
+    WalletService = __decorate([
166
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["A" /* Injectable */])(),
167
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1__angular_common_http__["a" /* HttpClient */]])
168
+    ], WalletService);
169
+    return WalletService;
170
+}());
171
+
172
+//# sourceMappingURL=wallet-service.js.map
173
+
174
+/***/ }),
175
+
176
+/***/ 199:
177
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
178
+
179
+"use strict";
180
+/* 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__(200);
184
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__contact_contact__ = __webpack_require__(201);
185
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__home_home__ = __webpack_require__(202);
46 186
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
47 187
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
48 188
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -56,14 +196,16 @@ var __metadata = (this && this.__metadata) || function (k, v) {
56 196
 
57 197
 
58 198
 
199
+
59 200
 var TabsPage = /** @class */ (function () {
60 201
     function TabsPage() {
61
-        this.tab1Root = __WEBPACK_IMPORTED_MODULE_3__home_home__["a" /* HomePage */];
62
-        this.tab2Root = __WEBPACK_IMPORTED_MODULE_1__about_about__["a" /* AboutPage */];
63
-        this.tab3Root = __WEBPACK_IMPORTED_MODULE_2__contact_contact__["a" /* ContactPage */];
202
+        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 */];
64 206
     }
65 207
     TabsPage = __decorate([
66
-        Object(__WEBPACK_IMPORTED_MODULE_0__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="Wallet" tabIcon="logo-usd"></ion-tab>\n  <ion-tab [root]="tab3Root" tabTitle="Transactions" tabIcon="list-box"></ion-tab>\n</ion-tabs>\n'/*ion-inline-end:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/tabs/tabs.html"*/
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"*/
67 209
         }),
68 210
         __metadata("design:paramtypes", [])
69 211
     ], TabsPage);
@@ -74,13 +216,13 @@ var TabsPage = /** @class */ (function () {
74 216
 
75 217
 /***/ }),
76 218
 
77
-/***/ 194:
219
+/***/ 200:
78 220
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
79 221
 
80 222
 "use strict";
81 223
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AboutPage; });
82 224
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
83
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(33);
225
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
84 226
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
85 227
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
86 228
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -100,7 +242,7 @@ var AboutPage = /** @class */ (function () {
100 242
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
101 243
             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>Wallet</h2>\n    <ion-item>\n        <ion-label color="primary" stacked>Public ID</ion-label>\n        <ion-input type="number" placeholder="public ID"></ion-input>\n      </ion-item>\n      <ion-item>\n          <ion-label color="primary" stacked>Private ID</ion-label>\n          <ion-input type="number" placeholder="private ID"></ion-input>\n        </ion-item>\n        <ion-item>\n            <ion-label color="primary" stacked>Amount</ion-label>\n            <ion-input type="number" placeholder="Data"></ion-input>\n          </ion-item>\n          <button ion-button block>Send BlueCoin</button>\n              '/*ion-inline-end:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/about/about.html"*/
102 244
         }),
103
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* NavController */]])
245
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]])
104 246
     ], AboutPage);
105 247
     return AboutPage;
106 248
 }());
@@ -109,13 +251,13 @@ var AboutPage = /** @class */ (function () {
109 251
 
110 252
 /***/ }),
111 253
 
112
-/***/ 195:
254
+/***/ 201:
113 255
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
114 256
 
115 257
 "use strict";
116 258
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ContactPage; });
117 259
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
118
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(33);
260
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
119 261
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
120 262
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
121 263
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -135,7 +277,7 @@ var ContactPage = /** @class */ (function () {
135 277
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
136 278
             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"*/
137 279
         }),
138
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* NavController */]])
280
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]])
139 281
     ], ContactPage);
140 282
     return ContactPage;
141 283
 }());
@@ -144,13 +286,13 @@ var ContactPage = /** @class */ (function () {
144 286
 
145 287
 /***/ }),
146 288
 
147
-/***/ 196:
289
+/***/ 202:
148 290
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
149 291
 
150 292
 "use strict";
151 293
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HomePage; });
152 294
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
153
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(33);
295
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
154 296
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
155 297
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
156 298
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -172,23 +314,22 @@ var HomePage = /** @class */ (function () {
172 314
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
173 315
             selector: 'page-home',template:/*ion-inline-start:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/home/home.html"*/'<ion-header>\n  <ion-navbar>\n    <ion-title>BlueCoin</ion-title>\n  </ion-navbar>\n</ion-header>\n\n<ion-content padding>\n  <h2>Blockchain</h2>\n  <div>\n  <ion-item>\n      <ion-label color="primary" stacked>Blockchain</ion-label>\n      <ion-input type="number" placeholder="Block"></ion-input>\n    </ion-item>\n    <ion-item>\n        <ion-label color="primary" stacked>Nonce</ion-label>\n        <ion-input type="number" placeholder="Nonce"></ion-input>\n      </ion-item>\n      <ion-item>\n          <ion-label color="primary" stacked>Transaction Data</ion-label>\n          <p></p>\n          <ion-input type="number" placeholder="Data"></ion-input>\n        </ion-item>\n        <ion-item>\n            <ion-label color="primary" stacked>Hash</ion-label>\n            <ion-input type="number" disabled placeholder="Hash"></ion-input>\n          </ion-item>\n          <button ion-button block>Mine</button></div>\n  <!-- <div id="block1chain1well" class="well well-success">\n    <form class="form-horizontal">\n      <div class="form-group">\n        <label for="block1chain1number" class="col-sm-2 control-label">Block:</label>\n        <div class="col-sm-10">\n          <div class="input-group">\n            <span class="input-group-addon">#</span>\n            <input id="block1chain1number" type="text" value="1" onkeyup="updateHash(1, 1);" class="form-control"></div>\n          </div></div><div class="form-group">\n            <label for="block1chain1nonce" class="col-sm-2 control-label">Nonce:</label>\n            <div class="col-sm-10"><input id="block1chain1nonce" type="text" value="72608" onkeyup="updateHash(1, 1);" class="form-control"></div>\n          </div><div class="form-group"><label for="block1chain1data" class="col-sm-2 control-label">Data:</label>\n            <div class="col-sm-10">\n              <textarea id="block1chain1data" rows="10" onkeyup="updateHash(1, 1);" class="form-control">\n\n              </textarea></div></div><div id="state" class="form-group">\n                <label for="block1chain1hash" class="col-sm-2 control-label">Hash:</label><div class="col-sm-10">\n                  <input id="block1chain1hash" type="text" disabled="" class="form-control">\n                </div></div><div class="form-group"><div class="col-sm-2">\n                  <i class="icon-spinner icon-spin icon-large">\n\n                  </i></div><div class="col-sm-10">\n                    <button id="block1chain1mineButton" data-style="expand-right" class="btn btn-primary ladda-button">\n                      <span class="ladda-label">Mine</span></button></div></div></form></div> -->'/*ion-inline-end:"/Users/tennesseeg/passionproject/blueCoin-UI/src/pages/home/home.html"*/
174 316
         }),
175
-        __metadata("design:paramtypes", [typeof (_a = typeof __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* NavController */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* NavController */]) === "function" && _a || Object])
317
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */]])
176 318
     ], HomePage);
177 319
     return HomePage;
178
-    var _a;
179 320
 }());
180 321
 
181 322
 //# sourceMappingURL=home.js.map
182 323
 
183 324
 /***/ }),
184 325
 
185
-/***/ 197:
326
+/***/ 203:
186 327
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
187 328
 
188 329
 "use strict";
189 330
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
190
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(198);
191
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(220);
331
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(204);
332
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(224);
192 333
 
193 334
 
194 335
 Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
@@ -196,21 +337,22 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
196 337
 
197 338
 /***/ }),
198 339
 
199
-/***/ 220:
340
+/***/ 224:
200 341
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
201 342
 
202 343
 "use strict";
203 344
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
204 345
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
205
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__ = __webpack_require__(30);
206
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(33);
207
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(263);
208
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_about_about__ = __webpack_require__(194);
209
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_contact_contact__ = __webpack_require__(195);
210
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_home_home__ = __webpack_require__(196);
211
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_tabs_tabs__ = __webpack_require__(193);
212
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ionic_native_status_bar__ = __webpack_require__(189);
213
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_splash_screen__ = __webpack_require__(192);
346
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__ = __webpack_require__(31);
347
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(26);
348
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(272);
349
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_about_about__ = __webpack_require__(200);
350
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_contact_contact__ = __webpack_require__(201);
351
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_home_home__ = __webpack_require__(202);
352
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_tabs_tabs__ = __webpack_require__(199);
353
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_wallet_wallet_module__ = __webpack_require__(153);
354
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_status_bar__ = __webpack_require__(195);
355
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ionic_native_splash_screen__ = __webpack_require__(198);
214 356
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
215 357
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
216 358
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -227,6 +369,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
227 369
 
228 370
 
229 371
 
372
+
230 373
 var AppModule = /** @class */ (function () {
231 374
     function AppModule() {
232 375
     }
@@ -241,8 +384,11 @@ var AppModule = /** @class */ (function () {
241 384
             ],
242 385
             imports: [
243 386
                 __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__["a" /* BrowserModule */],
387
+                __WEBPACK_IMPORTED_MODULE_8__pages_wallet_wallet_module__["WalletPageModule"],
244 388
                 __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], {}, {
245
-                    links: []
389
+                    links: [
390
+                        { loadChildren: '../pages/wallet/wallet.module#WalletPageModule', name: 'WalletPage', segment: 'wallet', priority: 'low', defaultHistory: [] }
391
+                    ]
246 392
                 })
247 393
             ],
248 394
             bootstrap: [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["a" /* IonicApp */]],
@@ -254,8 +400,8 @@ var AppModule = /** @class */ (function () {
254 400
                 __WEBPACK_IMPORTED_MODULE_7__pages_tabs_tabs__["a" /* TabsPage */]
255 401
             ],
256 402
             providers: [
257
-                __WEBPACK_IMPORTED_MODULE_8__ionic_native_status_bar__["a" /* StatusBar */],
258
-                __WEBPACK_IMPORTED_MODULE_9__ionic_native_splash_screen__["a" /* SplashScreen */],
403
+                __WEBPACK_IMPORTED_MODULE_9__ionic_native_status_bar__["a" /* StatusBar */],
404
+                __WEBPACK_IMPORTED_MODULE_10__ionic_native_splash_screen__["a" /* SplashScreen */],
259 405
                 { provide: __WEBPACK_IMPORTED_MODULE_0__angular_core__["u" /* ErrorHandler */], useClass: __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["b" /* IonicErrorHandler */] },
260 406
             ]
261 407
         })
@@ -267,16 +413,16 @@ var AppModule = /** @class */ (function () {
267 413
 
268 414
 /***/ }),
269 415
 
270
-/***/ 263:
416
+/***/ 272:
271 417
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
272 418
 
273 419
 "use strict";
274 420
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
275 421
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
276
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(33);
277
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(189);
278
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(192);
279
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(193);
422
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
423
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(195);
424
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(198);
425
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_tabs_tabs__ = __webpack_require__(199);
280 426
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
281 427
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
282 428
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -304,7 +450,7 @@ var MyApp = /** @class */ (function () {
304 450
     MyApp = __decorate([
305 451
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/tennesseeg/passionproject/blueCoin-UI/src/app/app.html"*/'<ion-nav [root]="rootPage"></ion-nav>\n'/*ion-inline-end:"/Users/tennesseeg/passionproject/blueCoin-UI/src/app/app.html"*/
306 452
         }),
307
-        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */]])
453
+        __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 */]])
308 454
     ], MyApp);
309 455
     return MyApp;
310 456
 }());
@@ -313,5 +459,5 @@ var MyApp = /** @class */ (function () {
313 459
 
314 460
 /***/ })
315 461
 
316
-},[197]);
462
+},[203]);
317 463
 //# sourceMappingURL=main.js.map

+ 1
- 1
www/build/main.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 17966
- 14859
www/build/vendor.js
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 1
- 1
www/build/vendor.js.map
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 3
- 0
www/index.html Dosyayı Görüntüle

@@ -1,6 +1,9 @@
1 1
 <!DOCTYPE html>
2 2
 <html lang="en" dir="ltr">
3 3
 <head>
4
+  <script data-ionic="inject">
5
+    (function(w){var i=w.Ionic=w.Ionic||{};i.version='3.9.2';i.angular='5.2.11';i.staticDir='build/';})(window);
6
+  </script>
4 7
   <meta charset="UTF-8">
5 8
   <title>Ionic App</title>
6 9
   <meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">