weekend project to make a simple web app using Typescript/Ionic/Angular.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521
  1. webpackJsonp([0],{
  2. /***/ 109:
  3. /***/ (function(module, exports) {
  4. function webpackEmptyAsyncContext(req) {
  5. // Here Promise.resolve().then() is used instead of new Promise() to prevent
  6. // uncatched exception popping up in devtools
  7. return Promise.resolve().then(function() {
  8. throw new Error("Cannot find module '" + req + "'.");
  9. });
  10. }
  11. webpackEmptyAsyncContext.keys = function() { return []; };
  12. webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
  13. module.exports = webpackEmptyAsyncContext;
  14. webpackEmptyAsyncContext.id = 109;
  15. /***/ }),
  16. /***/ 110:
  17. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  18. "use strict";
  19. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AccountsPage; });
  20. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
  21. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
  22. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__account_account__ = __webpack_require__(191);
  23. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  24. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  25. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  26. 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;
  27. return c > 3 && r && Object.defineProperty(target, key, r), r;
  28. };
  29. var __metadata = (this && this.__metadata) || function (k, v) {
  30. if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  31. };
  32. var AccountsPage = /** @class */ (function () {
  33. function AccountsPage(navCtrl, navParams) {
  34. this.navCtrl = navCtrl;
  35. this.navParams = navParams;
  36. this.accounts = [
  37. { id: 1, name: 'Forex' },
  38. { id: 2, name: 'Kraken' },
  39. { id: 3, name: 'Robinhood' },
  40. ];
  41. }
  42. AccountsPage.prototype.ionViewDidLoad = function () {
  43. console.log('ionViewDidLoad AccountsPage');
  44. };
  45. AccountsPage.prototype.accountTapped = function ($event, account) {
  46. this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__account_account__["a" /* AccountPage */], account);
  47. };
  48. AccountsPage = __decorate([
  49. Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
  50. selector: 'page-accounts',template:/*ion-inline-start:"/Users/vincents/PassionApp/src/pages/accounts/accounts.html"*/'\n<ion-header>\n\n <ion-navbar color = "secondary">\n <ion-title text-center>Accounts</ion-title>\n </ion-navbar>\n\n</ion-header>\n\n\n<ion-content>\n <ion-list>\n <button *ngFor="let account of accounts" ion-item (click)="accountTapped($event, account)">\n {{account.name}}\n </button>\n </ion-list> \n\n</ion-content>\n'/*ion-inline-end:"/Users/vincents/PassionApp/src/pages/accounts/accounts.html"*/,
  51. }),
  52. __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
  53. ], AccountsPage);
  54. return AccountsPage;
  55. }());
  56. //# sourceMappingURL=accounts.js.map
  57. /***/ }),
  58. /***/ 151:
  59. /***/ (function(module, exports) {
  60. function webpackEmptyAsyncContext(req) {
  61. // Here Promise.resolve().then() is used instead of new Promise() to prevent
  62. // uncatched exception popping up in devtools
  63. return Promise.resolve().then(function() {
  64. throw new Error("Cannot find module '" + req + "'.");
  65. });
  66. }
  67. webpackEmptyAsyncContext.keys = function() { return []; };
  68. webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
  69. module.exports = webpackEmptyAsyncContext;
  70. webpackEmptyAsyncContext.id = 151;
  71. /***/ }),
  72. /***/ 191:
  73. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  74. "use strict";
  75. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AccountPage; });
  76. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
  77. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
  78. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  79. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  80. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  81. 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;
  82. return c > 3 && r && Object.defineProperty(target, key, r), r;
  83. };
  84. var __metadata = (this && this.__metadata) || function (k, v) {
  85. if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  86. };
  87. var AccountPage = /** @class */ (function () {
  88. function AccountPage(navCtrl, navParams) {
  89. this.navCtrl = navCtrl;
  90. this.navParams = navParams;
  91. this.account = {};
  92. this.account = this.navParams.data;
  93. console.log('**nav parama', this.navParams);
  94. }
  95. AccountPage.prototype.ionViewDidLoad = function () {
  96. console.log('ionViewDidLoad AccountPage');
  97. };
  98. AccountPage = __decorate([
  99. Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
  100. selector: 'page-account',template:/*ion-inline-start:"/Users/vincents/PassionApp/src/pages/account/account.html"*/'\n<ion-header>\n\n <ion-navbar color = "secondary">\n <ion-title text-center>{{account.name}}</ion-title>\n </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/vincents/PassionApp/src/pages/account/account.html"*/,
  101. }),
  102. __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, typeof (_b = typeof __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */] !== "undefined" && __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]) === "function" && _b || Object])
  103. ], AccountPage);
  104. return AccountPage;
  105. var _a, _b;
  106. }());
  107. //# sourceMappingURL=account.js.map
  108. /***/ }),
  109. /***/ 196:
  110. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  111. "use strict";
  112. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return OverviewPage; });
  113. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__statistics_statistics__ = __webpack_require__(99);
  114. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
  115. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(18);
  116. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  117. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  118. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  119. 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;
  120. return c > 3 && r && Object.defineProperty(target, key, r), r;
  121. };
  122. var __metadata = (this && this.__metadata) || function (k, v) {
  123. if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  124. };
  125. var OverviewPage = /** @class */ (function () {
  126. function OverviewPage(navCtrl) {
  127. this.navCtrl = navCtrl;
  128. }
  129. OverviewPage.prototype.goToStatistics = function () {
  130. this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_0__statistics_statistics__["a" /* StatisticsPage */]);
  131. };
  132. OverviewPage = __decorate([
  133. Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["m" /* Component */])({
  134. selector: 'page-overview',template:/*ion-inline-start:"/Users/vincents/PassionApp/src/pages/overview/overview.html"*/'<ion-header>\n <ion-navbar color = "primary">\n <button menuToggle ion-button icon-only>\n <ion-icon name = "menu"></ion-icon>\n </button>\n <ion-title>PP 1.0</ion-title>\n </ion-navbar>\n <ion-toolbar color = "secondary" >\n <ion-title text-center>\n Overview\n </ion-title>\n </ion-toolbar>\n</ion-header>\n\n<ion-content padding>\n <ion-img src="../assets/imgs/overviewchart.png"></ion-img>\n\n</ion-content>'/*ion-inline-end:"/Users/vincents/PassionApp/src/pages/overview/overview.html"*/
  135. }),
  136. __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["e" /* NavController */]])
  137. ], OverviewPage);
  138. return OverviewPage;
  139. }());
  140. //# sourceMappingURL=overview.js.map
  141. /***/ }),
  142. /***/ 197:
  143. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  144. "use strict";
  145. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StrategiesPage; });
  146. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
  147. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
  148. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__strategy_strategy__ = __webpack_require__(198);
  149. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  150. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  151. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  152. 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;
  153. return c > 3 && r && Object.defineProperty(target, key, r), r;
  154. };
  155. var __metadata = (this && this.__metadata) || function (k, v) {
  156. if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  157. };
  158. var StrategiesPage = /** @class */ (function () {
  159. function StrategiesPage(navCtrl, navParams) {
  160. this.navCtrl = navCtrl;
  161. this.navParams = navParams;
  162. this.strategies = [
  163. { id: 1, name: 'Strategy 1' },
  164. { id: 2, name: 'Strategy 2' },
  165. { id: 3, name: 'Strategy 3' },
  166. { id: 4, name: 'Strategy 4' },
  167. ];
  168. }
  169. StrategiesPage.prototype.ionViewDidLoad = function () {
  170. console.log('ionViewDidLoad StrategiesPage');
  171. };
  172. StrategiesPage.prototype.strategyTapped = function ($event, strategy) {
  173. this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__strategy_strategy__["a" /* StrategyPage */], strategy);
  174. };
  175. StrategiesPage = __decorate([
  176. Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
  177. selector: 'page-strategies',template:/*ion-inline-start:"/Users/vincents/PassionApp/src/pages/strategies/strategies.html"*/'\n<ion-header>\n\n <ion-navbar color = "secondary">\n <ion-title text-center>Strategies</ion-title>\n </ion-navbar>\n\n</ion-header>\n\n\n<ion-content>\n <ion-list>\n <button *ngFor="let strategy of strategies" ion-item (click)="strategyTapped($event, strategy)">\n {{strategy.name}}\n </button>\n </ion-list> \n\n</ion-content>\n'/*ion-inline-end:"/Users/vincents/PassionApp/src/pages/strategies/strategies.html"*/,
  178. }),
  179. __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
  180. ], StrategiesPage);
  181. return StrategiesPage;
  182. }());
  183. //# sourceMappingURL=strategies.js.map
  184. /***/ }),
  185. /***/ 198:
  186. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  187. "use strict";
  188. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StrategyPage; });
  189. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
  190. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
  191. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  192. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  193. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  194. 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;
  195. return c > 3 && r && Object.defineProperty(target, key, r), r;
  196. };
  197. var __metadata = (this && this.__metadata) || function (k, v) {
  198. if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  199. };
  200. var StrategyPage = /** @class */ (function () {
  201. function StrategyPage(navCtrl, navParams) {
  202. this.navCtrl = navCtrl;
  203. this.navParams = navParams;
  204. this.strategy = {};
  205. this.strategy = this.navParams.data;
  206. console.log('**nav params', this.navParams);
  207. }
  208. StrategyPage.prototype.ionViewDidLoad = function () {
  209. console.log('ionViewDidLoad StrategyPage');
  210. };
  211. StrategyPage = __decorate([
  212. Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
  213. selector: 'page-strategy',template:/*ion-inline-start:"/Users/vincents/PassionApp/src/pages/strategy/strategy.html"*/'\n<ion-header>\n\n <ion-navbar color = "secondary">\n <ion-title text-center>{{strategy.name}}</ion-title>\n </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/vincents/PassionApp/src/pages/strategy/strategy.html"*/,
  214. }),
  215. __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
  216. ], StrategyPage);
  217. return StrategyPage;
  218. }());
  219. //# sourceMappingURL=strategy.js.map
  220. /***/ }),
  221. /***/ 199:
  222. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  223. "use strict";
  224. Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  225. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(200);
  226. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(222);
  227. Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
  228. //# sourceMappingURL=main.js.map
  229. /***/ }),
  230. /***/ 222:
  231. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  232. "use strict";
  233. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
  234. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__pages_accounts_accounts__ = __webpack_require__(110);
  235. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__pages_account_account__ = __webpack_require__(191);
  236. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__pages_trade_trade__ = __webpack_require__(265);
  237. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_platform_browser__ = __webpack_require__(31);
  238. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__angular_core__ = __webpack_require__(0);
  239. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_ionic_angular__ = __webpack_require__(18);
  240. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__app_component__ = __webpack_require__(266);
  241. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ionic_native_status_bar__ = __webpack_require__(192);
  242. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ionic_native_splash_screen__ = __webpack_require__(195);
  243. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_overview_overview__ = __webpack_require__(196);
  244. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pages_statistics_statistics__ = __webpack_require__(99);
  245. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pages_strategies_strategies__ = __webpack_require__(197);
  246. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pages_strategy_strategy__ = __webpack_require__(198);
  247. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  248. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  249. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  250. 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;
  251. return c > 3 && r && Object.defineProperty(target, key, r), r;
  252. };
  253. var AppModule = /** @class */ (function () {
  254. function AppModule() {
  255. }
  256. AppModule = __decorate([
  257. Object(__WEBPACK_IMPORTED_MODULE_4__angular_core__["I" /* NgModule */])({
  258. declarations: [
  259. __WEBPACK_IMPORTED_MODULE_6__app_component__["a" /* MyApp */],
  260. __WEBPACK_IMPORTED_MODULE_9__pages_overview_overview__["a" /* OverviewPage */],
  261. __WEBPACK_IMPORTED_MODULE_10__pages_statistics_statistics__["a" /* StatisticsPage */],
  262. __WEBPACK_IMPORTED_MODULE_11__pages_strategies_strategies__["a" /* StrategiesPage */],
  263. __WEBPACK_IMPORTED_MODULE_12__pages_strategy_strategy__["a" /* StrategyPage */],
  264. __WEBPACK_IMPORTED_MODULE_2__pages_trade_trade__["a" /* TradePage */],
  265. __WEBPACK_IMPORTED_MODULE_1__pages_account_account__["a" /* AccountPage */],
  266. __WEBPACK_IMPORTED_MODULE_0__pages_accounts_accounts__["a" /* AccountsPage */]
  267. ],
  268. imports: [
  269. __WEBPACK_IMPORTED_MODULE_3__angular_platform_browser__["a" /* BrowserModule */],
  270. __WEBPACK_IMPORTED_MODULE_5_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_6__app_component__["a" /* MyApp */], {}, {
  271. links: []
  272. }),
  273. ],
  274. bootstrap: [__WEBPACK_IMPORTED_MODULE_5_ionic_angular__["a" /* IonicApp */]],
  275. entryComponents: [
  276. __WEBPACK_IMPORTED_MODULE_6__app_component__["a" /* MyApp */],
  277. __WEBPACK_IMPORTED_MODULE_9__pages_overview_overview__["a" /* OverviewPage */],
  278. __WEBPACK_IMPORTED_MODULE_10__pages_statistics_statistics__["a" /* StatisticsPage */],
  279. __WEBPACK_IMPORTED_MODULE_11__pages_strategies_strategies__["a" /* StrategiesPage */],
  280. __WEBPACK_IMPORTED_MODULE_12__pages_strategy_strategy__["a" /* StrategyPage */],
  281. __WEBPACK_IMPORTED_MODULE_2__pages_trade_trade__["a" /* TradePage */],
  282. __WEBPACK_IMPORTED_MODULE_1__pages_account_account__["a" /* AccountPage */],
  283. __WEBPACK_IMPORTED_MODULE_0__pages_accounts_accounts__["a" /* AccountsPage */]
  284. ],
  285. providers: [
  286. __WEBPACK_IMPORTED_MODULE_7__ionic_native_status_bar__["a" /* StatusBar */],
  287. __WEBPACK_IMPORTED_MODULE_8__ionic_native_splash_screen__["a" /* SplashScreen */],
  288. { provide: __WEBPACK_IMPORTED_MODULE_4__angular_core__["u" /* ErrorHandler */], useClass: __WEBPACK_IMPORTED_MODULE_5_ionic_angular__["b" /* IonicErrorHandler */] }
  289. ]
  290. })
  291. ], AppModule);
  292. return AppModule;
  293. }());
  294. //# sourceMappingURL=app.module.js.map
  295. /***/ }),
  296. /***/ 265:
  297. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  298. "use strict";
  299. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TradePage; });
  300. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
  301. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
  302. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  303. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  304. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  305. 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;
  306. return c > 3 && r && Object.defineProperty(target, key, r), r;
  307. };
  308. var __metadata = (this && this.__metadata) || function (k, v) {
  309. if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  310. };
  311. /**
  312. * Generated class for the TradePage page.
  313. *
  314. * See https://ionicframework.com/docs/components/#navigation for more info on
  315. * Ionic pages and navigation.
  316. */
  317. var TradePage = /** @class */ (function () {
  318. function TradePage(navCtrl, navParams) {
  319. this.navCtrl = navCtrl;
  320. this.navParams = navParams;
  321. }
  322. TradePage.prototype.ionViewDidLoad = function () {
  323. console.log('ionViewDidLoad TradePage');
  324. };
  325. TradePage = __decorate([
  326. Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
  327. selector: 'page-trade',template:/*ion-inline-start:"/Users/vincents/PassionApp/src/pages/trade/trade.html"*/'<!--\n Generated template for the TradePage 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 text-center>Trade</ion-title>\n </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/vincents/PassionApp/src/pages/trade/trade.html"*/,
  328. }),
  329. __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
  330. ], TradePage);
  331. return TradePage;
  332. }());
  333. //# sourceMappingURL=trade.js.map
  334. /***/ }),
  335. /***/ 266:
  336. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  337. "use strict";
  338. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
  339. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
  340. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
  341. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(192);
  342. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(195);
  343. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_overview_overview__ = __webpack_require__(196);
  344. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_statistics_statistics__ = __webpack_require__(99);
  345. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_strategies_strategies__ = __webpack_require__(197);
  346. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_accounts_accounts__ = __webpack_require__(110);
  347. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  348. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  349. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  350. 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;
  351. return c > 3 && r && Object.defineProperty(target, key, r), r;
  352. };
  353. var __metadata = (this && this.__metadata) || function (k, v) {
  354. if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  355. };
  356. var MyApp = /** @class */ (function () {
  357. function MyApp(platform, statusBar, splashScreen) {
  358. this.platform = platform;
  359. this.statusBar = statusBar;
  360. this.splashScreen = splashScreen;
  361. this.rootPage = __WEBPACK_IMPORTED_MODULE_4__pages_overview_overview__["a" /* OverviewPage */];
  362. this.initializeApp();
  363. // used for an example of ngFor and navigation
  364. }
  365. MyApp.prototype.initializeApp = function () {
  366. var _this = this;
  367. this.platform.ready().then(function () {
  368. // Okay, so the platform is ready and our plugins are available.
  369. // Here you can do any higher level native things you might need.
  370. _this.statusBar.styleDefault();
  371. _this.splashScreen.hide();
  372. });
  373. };
  374. MyApp.prototype.openPage = function (page) {
  375. // Reset the content nav to have just this page
  376. // we wouldn't want the back button to show in this scenario
  377. this.nav.setRoot(page.component);
  378. };
  379. MyApp.prototype.goStatistics = function () {
  380. this.nav.push(__WEBPACK_IMPORTED_MODULE_5__pages_statistics_statistics__["a" /* StatisticsPage */]);
  381. };
  382. MyApp.prototype.goToStrategies = function () {
  383. this.nav.push(__WEBPACK_IMPORTED_MODULE_6__pages_strategies_strategies__["a" /* StrategiesPage */]);
  384. };
  385. MyApp.prototype.goToAccounts = function () {
  386. this.nav.push(__WEBPACK_IMPORTED_MODULE_7__pages_accounts_accounts__["a" /* AccountsPage */]);
  387. };
  388. __decorate([
  389. Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_8" /* ViewChild */])(__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* Nav */]),
  390. __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["d" /* Nav */])
  391. ], MyApp.prototype, "nav", void 0);
  392. MyApp = __decorate([
  393. Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/vincents/PassionApp/src/app/app.html"*/'<ion-menu [content]="content">\n <ion-header>\n <ion-toolbar color = "secondary">\n <ion-title text-center>PP 1.0</ion-title>\n </ion-toolbar>\n </ion-header>\n\n <ion-content>\n <ion-list>\n <ion-list-header>Navigate</ion-list-header>\n <button menuClose ion-item (click)="goToAccounts()">Accounts</button>\n <button menuClose ion-item (click)="goToStrategies()">Strategies</button>\n <button menuClose ion-item (click)="goStatistics()">Statistics</button>\n\n\n</ion-list>\n </ion-content>\n</ion-menu>\n<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>'/*ion-inline-end:"/Users/vincents/PassionApp/src/app/app.html"*/
  394. }),
  395. __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 */]])
  396. ], MyApp);
  397. return MyApp;
  398. }());
  399. //# sourceMappingURL=app.component.js.map
  400. /***/ }),
  401. /***/ 99:
  402. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  403. "use strict";
  404. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return StatisticsPage; });
  405. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
  406. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(18);
  407. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  408. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  409. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  410. 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;
  411. return c > 3 && r && Object.defineProperty(target, key, r), r;
  412. };
  413. var __metadata = (this && this.__metadata) || function (k, v) {
  414. if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  415. };
  416. var StatisticsPage = /** @class */ (function () {
  417. function StatisticsPage(navCtrl, navParams) {
  418. this.navCtrl = navCtrl;
  419. this.navParams = navParams;
  420. }
  421. StatisticsPage.prototype.ionViewDidLoad = function () {
  422. console.log('ionViewDidLoad StatisticsPage');
  423. };
  424. StatisticsPage = __decorate([
  425. Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
  426. selector: 'page-statistics',template:/*ion-inline-start:"/Users/vincents/PassionApp/src/pages/statistics/statistics.html"*/'\n<ion-header>\n\n <ion-navbar color = "secondary">\n <ion-title text-center>Statistics</ion-title>\n </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/vincents/PassionApp/src/pages/statistics/statistics.html"*/,
  427. }),
  428. __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */]])
  429. ], StatisticsPage);
  430. return StatisticsPage;
  431. }());
  432. //# sourceMappingURL=statistics.js.map
  433. /***/ })
  434. },[199]);
  435. //# sourceMappingURL=main.js.map