Selaa lähdekoodia

allChannelsCreated

jpsp91 6 vuotta sitten
vanhempi
commit
71efe8040c

+ 1
- 0
.sourcemaps/3.js.map Näytä tiedosto

@@ -0,0 +1 @@
1
+{"version":3,"sources":["../../src/pages/all-channels/all-channels.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACC;AAUjD;IAAA;IAAoC,CAAC;IAAxB,qBAAqB;QARjC,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,sEAAe;aAChB;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,sEAAe,CAAC;aAC1C;SACF,CAAC;OACW,qBAAqB,CAAG;IAAD,4BAAC;CAAA;AAAH","file":"3.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { AllChannelsPage } from './all-channels';\n\n@NgModule({\n  declarations: [\n    AllChannelsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(AllChannelsPage),\n  ],\n})\nexport class AllChannelsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/all-channels/all-channels.module.ts"],"sourceRoot":""}

+ 1
- 1
.sourcemaps/main.js.map
File diff suppressed because it is too large
Näytä tiedosto


+ 17
- 0
src/app/app.component.ts Näytä tiedosto

@@ -7,6 +7,7 @@ import { HomePage } from '../pages/home/home';
7 7
 import { ListPage } from '../pages/list/list';
8 8
 import { ChannelPage } from '../pages/channel/channel';
9 9
 import { CreateChannelPage } from '../pages/create-channel/create-channel';
10
+import { AllChannelsPage } from '../pages/all-channels/all-channels';
10 11
 
11 12
 
12 13
 @Component({
@@ -58,5 +59,21 @@ export class MyApp {
58 59
   openCreateChannelPage(){
59 60
     this.nav.push(CreateChannelPage);
60 61
   }
62
+
63
+
64
+  openAllChannelsPage(){
65
+    this.nav.push(AllChannelsPage);
66
+  }
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
61 78
     
62 79
 }

+ 5
- 2
src/app/app.html Näytä tiedosto

@@ -26,11 +26,14 @@
26 26
 
27 27
         <button menuClose ion-button color="light" type="button"(click)="openCreateChannelPage()" round>+ New Channel</button>
28 28
         
29
-        <button menuClose ion-button color="light" type="button"(click)="openPage()" round>
29
+
30
+        <!-- View All Channels button -->
31
+        <button menuClose ion-button color="light" type="button"(click)="openAllChannelsPage()" round>
30 32
           <div><ion-icon name="eye" style="padding-right: 5px;"></ion-icon>  </div> 
31
-          View All Channel
33
+          View All Channels
32 34
         </button>
33 35
 
36
+
34 37
         <ion-list-header>
35 38
             Direct messages
36 39
           </ion-list-header>

+ 5
- 2
src/app/app.module.ts Näytä tiedosto

@@ -17,6 +17,7 @@ import { ChannelProvider } from '../providers/channel/channel';
17 17
 import { UrlProvider } from '../providers/url/url';
18 18
 import { RegisterPage } from '../pages/register/register';
19 19
 import { CreateChannelPage } from '../pages/create-channel/create-channel';
20
+import { AllChannelsPage } from '../pages/all-channels/all-channels';
20 21
 
21 22
 
22 23
 
@@ -27,7 +28,8 @@ import { CreateChannelPage } from '../pages/create-channel/create-channel';
27 28
     ListPage,
28 29
     ChannelPage,
29 30
     RegisterPage,
30
-    CreateChannelPage
31
+    CreateChannelPage,
32
+    AllChannelsPage
31 33
   ],
32 34
   imports: [
33 35
     BrowserModule,
@@ -43,7 +45,8 @@ import { CreateChannelPage } from '../pages/create-channel/create-channel';
43 45
     ListPage,
44 46
     ChannelPage,
45 47
     RegisterPage,
46
-    CreateChannelPage
48
+    CreateChannelPage,
49
+    AllChannelsPage
47 50
   ],
48 51
   providers: [
49 52
     StatusBar,

+ 15
- 0
src/pages/all-channels/all-channels.html Näytä tiedosto

@@ -0,0 +1,15 @@
1
+
2
+
3
+
4
+<ion-header>
5
+
6
+  <ion-navbar>
7
+    <ion-title>All Available Channels</ion-title>
8
+  </ion-navbar>
9
+
10
+</ion-header>
11
+
12
+
13
+<ion-content padding>
14
+
15
+</ion-content>

+ 13
- 0
src/pages/all-channels/all-channels.module.ts Näytä tiedosto

@@ -0,0 +1,13 @@
1
+import { NgModule } from '@angular/core';
2
+import { IonicPageModule } from 'ionic-angular';
3
+import { AllChannelsPage } from './all-channels';
4
+
5
+@NgModule({
6
+  declarations: [
7
+    AllChannelsPage,
8
+  ],
9
+  imports: [
10
+    IonicPageModule.forChild(AllChannelsPage),
11
+  ],
12
+})
13
+export class AllChannelsPageModule {}

+ 15
- 0
src/pages/all-channels/all-channels.scss Näytä tiedosto

@@ -0,0 +1,15 @@
1
+page-all-channels {
2
+
3
+
4
+
5
+
6
+
7
+
8
+     //this removes the scroll bar on the side
9
+     .scroll-content {
10
+        overflow: hidden;
11
+    }
12
+
13
+
14
+    
15
+}

+ 25
- 0
src/pages/all-channels/all-channels.ts Näytä tiedosto

@@ -0,0 +1,25 @@
1
+import { Component } from '@angular/core';
2
+import { IonicPage, NavController, NavParams } from 'ionic-angular';
3
+
4
+/**
5
+ * Generated class for the AllChannelsPage page.
6
+ *
7
+ * See https://ionicframework.com/docs/components/#navigation for more info on
8
+ * Ionic pages and navigation.
9
+ */
10
+
11
+@IonicPage()
12
+@Component({
13
+  selector: 'page-all-channels',
14
+  templateUrl: 'all-channels.html',
15
+})
16
+export class AllChannelsPage {
17
+
18
+  constructor(public navCtrl: NavController, public navParams: NavParams) {
19
+  }
20
+
21
+  ionViewDidLoad() {
22
+    console.log('ionViewDidLoad AllChannelsPage');
23
+  }
24
+
25
+}

+ 3
- 3
www/build/0.js Näytä tiedosto

@@ -1,14 +1,14 @@
1 1
 webpackJsonp([0],{
2 2
 
3
-/***/ 285:
3
+/***/ 287:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
7 7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8 8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RegisterPageModule", function() { return RegisterPageModule; });
9 9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
11
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__register__ = __webpack_require__(104);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__register__ = __webpack_require__(105);
12 12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14 14
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

+ 2
- 2
www/build/1.js Näytä tiedosto

@@ -1,13 +1,13 @@
1 1
 webpackJsonp([1],{
2 2
 
3
-/***/ 284:
3
+/***/ 285:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
7 7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8 8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CreateChannelPageModule", function() { return CreateChannelPageModule; });
9 9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
11 11
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__create_channel__ = __webpack_require__(103);
12 12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

+ 2
- 2
www/build/2.js Näytä tiedosto

@@ -1,13 +1,13 @@
1 1
 webpackJsonp([2],{
2 2
 
3
-/***/ 283:
3
+/***/ 284:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
5 5
 
6 6
 "use strict";
7 7
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8 8
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ChannelPageModule", function() { return ChannelPageModule; });
9 9
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
11 11
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__channel__ = __webpack_require__(52);
12 12
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13 13
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

+ 42
- 0
www/build/3.js Näytä tiedosto

@@ -0,0 +1,42 @@
1
+webpackJsonp([3],{
2
+
3
+/***/ 286:
4
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
5
+
6
+"use strict";
7
+Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
8
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AllChannelsPageModule", function() { return AllChannelsPageModule; });
9
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
10
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
11
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__all_channels__ = __webpack_require__(104);
12
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
13
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
14
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
15
+    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;
16
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
17
+};
18
+
19
+
20
+
21
+var AllChannelsPageModule = /** @class */ (function () {
22
+    function AllChannelsPageModule() {
23
+    }
24
+    AllChannelsPageModule = __decorate([
25
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["I" /* NgModule */])({
26
+            declarations: [
27
+                __WEBPACK_IMPORTED_MODULE_2__all_channels__["a" /* AllChannelsPage */],
28
+            ],
29
+            imports: [
30
+                __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_2__all_channels__["a" /* AllChannelsPage */]),
31
+            ],
32
+        })
33
+    ], AllChannelsPageModule);
34
+    return AllChannelsPageModule;
35
+}());
36
+
37
+//# sourceMappingURL=all-channels.module.js.map
38
+
39
+/***/ })
40
+
41
+});
42
+//# sourceMappingURL=3.js.map

+ 1
- 0
www/build/3.js.map Näytä tiedosto

@@ -0,0 +1 @@
1
+{"version":3,"sources":["../../src/pages/all-channels/all-channels.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACC;AAUjD;IAAA;IAAoC,CAAC;IAAxB,qBAAqB;QARjC,uEAAQ,CAAC;YACR,YAAY,EAAE;gBACZ,sEAAe;aAChB;YACD,OAAO,EAAE;gBACP,sEAAe,CAAC,QAAQ,CAAC,sEAAe,CAAC;aAC1C;SACF,CAAC;OACW,qBAAqB,CAAG;IAAD,4BAAC;CAAA;AAAH","file":"3.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { AllChannelsPage } from './all-channels';\n\n@NgModule({\n  declarations: [\n    AllChannelsPage,\n  ],\n  imports: [\n    IonicPageModule.forChild(AllChannelsPage),\n  ],\n})\nexport class AllChannelsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/all-channels/all-channels.module.ts"],"sourceRoot":""}

+ 4
- 0
www/build/main.css Näytä tiedosto

@@ -25678,6 +25678,10 @@ ion-navbar.toolbar {
25678 25678
   min-height: calc(46px + env(safe-area-inset-bottom));
25679 25679
 }
25680 25680
 
25681
+page-all-channels .scroll-content {
25682
+  overflow: hidden;
25683
+}
25684
+
25681 25685
 ion-footer {
25682 25686
   position: relative;
25683 25687
   -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.11);

+ 103
- 44
www/build/main.js Näytä tiedosto

@@ -1,4 +1,4 @@
1
-webpackJsonp([3],{
1
+webpackJsonp([4],{
2 2
 
3 3
 /***/ 103:
4 4
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -6,7 +6,7 @@ webpackJsonp([3],{
6 6
 "use strict";
7 7
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreateChannelPage; });
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__(26);
9
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
10 10
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
11 11
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
12 12
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -49,9 +49,54 @@ var CreateChannelPage = /** @class */ (function () {
49 49
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
50 50
 
51 51
 "use strict";
52
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllChannelsPage; });
53
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
54
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
55
+var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
56
+    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
57
+    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
58
+    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;
59
+    return c > 3 && r && Object.defineProperty(target, key, r), r;
60
+};
61
+var __metadata = (this && this.__metadata) || function (k, v) {
62
+    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
63
+};
64
+
65
+
66
+/**
67
+ * Generated class for the AllChannelsPage page.
68
+ *
69
+ * See https://ionicframework.com/docs/components/#navigation for more info on
70
+ * Ionic pages and navigation.
71
+ */
72
+var AllChannelsPage = /** @class */ (function () {
73
+    function AllChannelsPage(navCtrl, navParams) {
74
+        this.navCtrl = navCtrl;
75
+        this.navParams = navParams;
76
+    }
77
+    AllChannelsPage.prototype.ionViewDidLoad = function () {
78
+        console.log('ionViewDidLoad AllChannelsPage');
79
+    };
80
+    AllChannelsPage = __decorate([
81
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
82
+            selector: 'page-all-channels',template:/*ion-inline-start:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/pages/all-channels/all-channels.html"*/'\n\n\n<ion-header>\n\n  <ion-navbar>\n    <ion-title>All Available Channels</ion-title>\n  </ion-navbar>\n\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/pages/all-channels/all-channels.html"*/,
83
+        }),
84
+        __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* NavParams */]])
85
+    ], AllChannelsPage);
86
+    return AllChannelsPage;
87
+}());
88
+
89
+//# sourceMappingURL=all-channels.js.map
90
+
91
+/***/ }),
92
+
93
+/***/ 105:
94
+/***/ (function(module, __webpack_exports__, __webpack_require__) {
95
+
96
+"use strict";
52 97
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RegisterPage; });
53 98
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
54
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
99
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
55 100
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
56 101
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
57 102
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -91,7 +136,7 @@ var RegisterPage = /** @class */ (function () {
91 136
 
92 137
 /***/ }),
93 138
 
94
-/***/ 116:
139
+/***/ 117:
95 140
 /***/ (function(module, exports) {
96 141
 
97 142
 function webpackEmptyAsyncContext(req) {
@@ -104,24 +149,28 @@ function webpackEmptyAsyncContext(req) {
104 149
 webpackEmptyAsyncContext.keys = function() { return []; };
105 150
 webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
106 151
 module.exports = webpackEmptyAsyncContext;
107
-webpackEmptyAsyncContext.id = 116;
152
+webpackEmptyAsyncContext.id = 117;
108 153
 
109 154
 /***/ }),
110 155
 
111
-/***/ 158:
156
+/***/ 159:
112 157
 /***/ (function(module, exports, __webpack_require__) {
113 158
 
114 159
 var map = {
160
+	"../pages/all-channels/all-channels.module": [
161
+		286,
162
+		3
163
+	],
115 164
 	"../pages/channel/channel.module": [
116
-		283,
165
+		284,
117 166
 		2
118 167
 	],
119 168
 	"../pages/create-channel/create-channel.module": [
120
-		284,
169
+		285,
121 170
 		1
122 171
 	],
123 172
 	"../pages/register/register.module": [
124
-		285,
173
+		287,
125 174
 		0
126 175
 	]
127 176
 };
@@ -136,12 +185,12 @@ function webpackAsyncContext(req) {
136 185
 webpackAsyncContext.keys = function webpackAsyncContextKeys() {
137 186
 	return Object.keys(map);
138 187
 };
139
-webpackAsyncContext.id = 158;
188
+webpackAsyncContext.id = 159;
140 189
 module.exports = webpackAsyncContext;
141 190
 
142 191
 /***/ }),
143 192
 
144
-/***/ 159:
193
+/***/ 160:
145 194
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
146 195
 
147 196
 "use strict";
@@ -242,7 +291,7 @@ var MessageProvider = /** @class */ (function () {
242 291
 
243 292
 /***/ }),
244 293
 
245
-/***/ 160:
294
+/***/ 161:
246 295
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
247 296
 
248 297
 "use strict";
@@ -299,17 +348,17 @@ var ChannelProvider = /** @class */ (function () {
299 348
 
300 349
 /***/ }),
301 350
 
302
-/***/ 204:
351
+/***/ 205:
303 352
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
304 353
 
305 354
 "use strict";
306 355
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HomePage; });
307 356
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
308
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
357
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
309 358
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__channel_channel__ = __webpack_require__(52);
310 359
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(15);
311 360
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_user_user__ = __webpack_require__(47);
312
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__register_register__ = __webpack_require__(104);
361
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__register_register__ = __webpack_require__(105);
313 362
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
314 363
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
315 364
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -372,13 +421,13 @@ var HomePage = /** @class */ (function () {
372 421
 
373 422
 /***/ }),
374 423
 
375
-/***/ 205:
424
+/***/ 206:
376 425
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
377 426
 
378 427
 "use strict";
379 428
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ListPage; });
380 429
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
381
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
430
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
382 431
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
383 432
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
384 433
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -429,13 +478,13 @@ var ListPage = /** @class */ (function () {
429 478
 
430 479
 /***/ }),
431 480
 
432
-/***/ 206:
481
+/***/ 207:
433 482
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
434 483
 
435 484
 "use strict";
436 485
 Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
437
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(207);
438
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(227);
486
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(208);
487
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(228);
439 488
 
440 489
 
441 490
 Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
@@ -443,28 +492,29 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
443 492
 
444 493
 /***/ }),
445 494
 
446
-/***/ 227:
495
+/***/ 228:
447 496
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
448 497
 
449 498
 "use strict";
450 499
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
451 500
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(27);
452 501
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
453
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(26);
454
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(269);
455
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_home_home__ = __webpack_require__(204);
456
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_list_list__ = __webpack_require__(205);
502
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(20);
503
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(270);
504
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_home_home__ = __webpack_require__(205);
505
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_list_list__ = __webpack_require__(206);
457 506
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_channel_channel__ = __webpack_require__(52);
458
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ionic_native_status_bar__ = __webpack_require__(200);
459
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ionic_native_splash_screen__ = __webpack_require__(203);
507
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ionic_native_status_bar__ = __webpack_require__(201);
508
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ionic_native_splash_screen__ = __webpack_require__(204);
460 509
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_user_user__ = __webpack_require__(47);
461
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__angular_common_http__ = __webpack_require__(277);
510
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__angular_common_http__ = __webpack_require__(278);
462 511
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__angular_http__ = __webpack_require__(46);
463
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_message_message__ = __webpack_require__(159);
464
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_channel_channel__ = __webpack_require__(160);
512
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_message_message__ = __webpack_require__(160);
513
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_channel_channel__ = __webpack_require__(161);
465 514
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_url_url__ = __webpack_require__(80);
466
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__pages_register_register__ = __webpack_require__(104);
515
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__pages_register_register__ = __webpack_require__(105);
467 516
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__pages_create_channel_create_channel__ = __webpack_require__(103);
517
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__pages_all_channels_all_channels__ = __webpack_require__(104);
468 518
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
469 519
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
470 520
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -488,6 +538,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
488 538
 
489 539
 
490 540
 
541
+
491 542
 var AppModule = /** @class */ (function () {
492 543
     function AppModule() {
493 544
     }
@@ -499,7 +550,8 @@ var AppModule = /** @class */ (function () {
499 550
                 __WEBPACK_IMPORTED_MODULE_5__pages_list_list__["a" /* ListPage */],
500 551
                 __WEBPACK_IMPORTED_MODULE_6__pages_channel_channel__["a" /* ChannelPage */],
501 552
                 __WEBPACK_IMPORTED_MODULE_15__pages_register_register__["a" /* RegisterPage */],
502
-                __WEBPACK_IMPORTED_MODULE_16__pages_create_channel_create_channel__["a" /* CreateChannelPage */]
553
+                __WEBPACK_IMPORTED_MODULE_16__pages_create_channel_create_channel__["a" /* CreateChannelPage */],
554
+                __WEBPACK_IMPORTED_MODULE_17__pages_all_channels_all_channels__["a" /* AllChannelsPage */]
503 555
             ],
504 556
             imports: [
505 557
                 __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["a" /* BrowserModule */],
@@ -507,6 +559,7 @@ var AppModule = /** @class */ (function () {
507 559
                     links: [
508 560
                         { loadChildren: '../pages/channel/channel.module#ChannelPageModule', name: 'ChannelPage', segment: 'channel', priority: 'low', defaultHistory: [] },
509 561
                         { loadChildren: '../pages/create-channel/create-channel.module#CreateChannelPageModule', name: 'CreateChannelPage', segment: 'create-channel', priority: 'low', defaultHistory: [] },
562
+                        { loadChildren: '../pages/all-channels/all-channels.module#AllChannelsPageModule', name: 'AllChannelsPage', segment: 'all-channels', priority: 'low', defaultHistory: [] },
510 563
                         { loadChildren: '../pages/register/register.module#RegisterPageModule', name: 'RegisterPage', segment: 'register', priority: 'low', defaultHistory: [] }
511 564
                     ]
512 565
                 }),
@@ -520,7 +573,8 @@ var AppModule = /** @class */ (function () {
520 573
                 __WEBPACK_IMPORTED_MODULE_5__pages_list_list__["a" /* ListPage */],
521 574
                 __WEBPACK_IMPORTED_MODULE_6__pages_channel_channel__["a" /* ChannelPage */],
522 575
                 __WEBPACK_IMPORTED_MODULE_15__pages_register_register__["a" /* RegisterPage */],
523
-                __WEBPACK_IMPORTED_MODULE_16__pages_create_channel_create_channel__["a" /* CreateChannelPage */]
576
+                __WEBPACK_IMPORTED_MODULE_16__pages_create_channel_create_channel__["a" /* CreateChannelPage */],
577
+                __WEBPACK_IMPORTED_MODULE_17__pages_all_channels_all_channels__["a" /* AllChannelsPage */]
524 578
             ],
525 579
             providers: [
526 580
                 __WEBPACK_IMPORTED_MODULE_7__ionic_native_status_bar__["a" /* StatusBar */],
@@ -540,19 +594,20 @@ var AppModule = /** @class */ (function () {
540 594
 
541 595
 /***/ }),
542 596
 
543
-/***/ 269:
597
+/***/ 270:
544 598
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
545 599
 
546 600
 "use strict";
547 601
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
548 602
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
549
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
550
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(200);
551
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(203);
552
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_home_home__ = __webpack_require__(204);
553
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_list_list__ = __webpack_require__(205);
603
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
604
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(201);
605
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(204);
606
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_home_home__ = __webpack_require__(205);
607
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_list_list__ = __webpack_require__(206);
554 608
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_channel_channel__ = __webpack_require__(52);
555 609
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_create_channel_create_channel__ = __webpack_require__(103);
610
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_all_channels_all_channels__ = __webpack_require__(104);
556 611
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
557 612
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
558 613
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -570,6 +625,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
570 625
 
571 626
 
572 627
 
628
+
573 629
 var MyApp = /** @class */ (function () {
574 630
     function MyApp(platform, statusBar, splashScreen) {
575 631
         this.platform = platform;
@@ -607,12 +663,15 @@ var MyApp = /** @class */ (function () {
607 663
     MyApp.prototype.openCreateChannelPage = function () {
608 664
         this.nav.push(__WEBPACK_IMPORTED_MODULE_7__pages_create_channel_create_channel__["a" /* CreateChannelPage */]);
609 665
     };
666
+    MyApp.prototype.openAllChannelsPage = function () {
667
+        this.nav.push(__WEBPACK_IMPORTED_MODULE_8__pages_all_channels_all_channels__["a" /* AllChannelsPage */]);
668
+    };
610 669
     __decorate([
611 670
         Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_8" /* ViewChild */])(__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* Nav */]),
612 671
         __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* Nav */])
613 672
     ], MyApp.prototype, "nav", void 0);
614 673
     MyApp = __decorate([
615
-        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/app/app.html"*/'<ion-menu [content]="content">\n\n  <ion-header>\n    <ion-toolbar>\n      <ion-title>Zip-Slack</ion-title>\n    </ion-toolbar>\n  </ion-header>\n\n  <ion-content>\n    <ion-list>\n\n      \n\n      <button menuClose ion-item *ngFor="" (click)="openPage(p)">\n        \n      </button>\n\n      \n\n      <ion-list-header>\n          <h2>Channels</h2>\n        </ion-list-header>\n\n        <!-- <ion-item (click)="openPage(ChannelPage)">General Channel</ion-item> -->\n        <ion-item menuClose (click)="openChannelPage()">General Channel</ion-item>\n\n        <button menuClose ion-button color="light" type="button"(click)="openCreateChannelPage()" round>+ New Channel</button>\n        \n        <button menuClose ion-button color="light" type="button"(click)="openPage()" round>\n          <div><ion-icon name="eye" style="padding-right: 5px;"></ion-icon>  </div> \n          View All Channel\n        </button>\n\n        <ion-list-header>\n            Direct messages\n          </ion-list-header>\n\n          <ion-item (click)="openPage(ChannelPage)">nmaidanos</ion-item>\n          <ion-item (click)="openPage(ChannelPage)">Small_Wrld</ion-item>\n\n          <button ion-button color="light" type="button" (click)="openPage(Channel)">+ New Direcet Message</button>\n          \n\n\n\n          <ion-footer text-center>\n\n              <button menuClose ion-button color="danger" type="submit" (click)="backToLoginPage()" round>Logout</button>\n\n          </ion-footer>\n\n\n\n          \n    </ion-list>\n\n\n\n\n\n\n  </ion-content>\n\n</ion-menu>\n\n<!-- Disable swipe-to-go-back because it\'s poor UX to combine STGB with side menus -->\n<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>\n'/*ion-inline-end:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/app/app.html"*/
674
+        Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/app/app.html"*/'<ion-menu [content]="content">\n\n  <ion-header>\n    <ion-toolbar>\n      <ion-title>Zip-Slack</ion-title>\n    </ion-toolbar>\n  </ion-header>\n\n  <ion-content>\n    <ion-list>\n\n      \n\n      <button menuClose ion-item *ngFor="" (click)="openPage(p)">\n        \n      </button>\n\n      \n\n      <ion-list-header>\n          <h2>Channels</h2>\n        </ion-list-header>\n\n        <!-- <ion-item (click)="openPage(ChannelPage)">General Channel</ion-item> -->\n        <ion-item menuClose (click)="openChannelPage()">General Channel</ion-item>\n\n        <button menuClose ion-button color="light" type="button"(click)="openCreateChannelPage()" round>+ New Channel</button>\n        \n\n        <!-- View All Channels button -->\n        <button menuClose ion-button color="light" type="button"(click)="openAllChannelsPage()" round>\n          <div><ion-icon name="eye" style="padding-right: 5px;"></ion-icon>  </div> \n          View All Channels\n        </button>\n\n\n        <ion-list-header>\n            Direct messages\n          </ion-list-header>\n\n          <ion-item (click)="openPage(ChannelPage)">nmaidanos</ion-item>\n          <ion-item (click)="openPage(ChannelPage)">Small_Wrld</ion-item>\n\n          <button ion-button color="light" type="button" (click)="openPage(Channel)">+ New Direcet Message</button>\n          \n\n\n\n          <ion-footer text-center>\n\n              <button menuClose ion-button color="danger" type="submit" (click)="backToLoginPage()" round>Logout</button>\n\n          </ion-footer>\n\n\n\n          \n    </ion-list>\n\n\n\n\n\n\n  </ion-content>\n\n</ion-menu>\n\n<!-- Disable swipe-to-go-back because it\'s poor UX to combine STGB with side menus -->\n<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>\n'/*ion-inline-end:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/app/app.html"*/
616 675
         }),
617 676
         __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["i" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */]])
618 677
     ], MyApp);
@@ -690,9 +749,9 @@ var UserProvider = /** @class */ (function () {
690 749
 "use strict";
691 750
 /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChannelPage; });
692 751
 /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
693
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(26);
694
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_message_message__ = __webpack_require__(159);
695
-/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_channel_channel__ = __webpack_require__(160);
752
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
753
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_message_message__ = __webpack_require__(160);
754
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_channel_channel__ = __webpack_require__(161);
696 755
 var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
697 756
     var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
698 757
     if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -862,5 +921,5 @@ var UrlProvider = /** @class */ (function () {
862 921
 
863 922
 /***/ })
864 923
 
865
-},[206]);
924
+},[207]);
866 925
 //# sourceMappingURL=main.js.map

+ 1
- 1
www/build/main.js.map
File diff suppressed because it is too large
Näytä tiedosto


+ 865
- 864
www/build/vendor.js
File diff suppressed because it is too large
Näytä tiedosto


+ 1
- 1
www/build/vendor.js.map
File diff suppressed because it is too large
Näytä tiedosto