|
@@ -4,7 +4,7 @@ webpackJsonp([4],{
|
4
|
4
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5
|
5
|
|
6
|
6
|
"use strict";
|
7
|
|
-/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreateChannelPage; });
|
|
7
|
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AllChannelsPage; });
|
8
|
8
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
9
|
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) {
|
|
@@ -19,29 +19,29 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
19
|
19
|
|
20
|
20
|
|
21
|
21
|
/**
|
22
|
|
- * Generated class for the CreateChannelPage page.
|
|
22
|
+ * Generated class for the AllChannelsPage page.
|
23
|
23
|
*
|
24
|
24
|
* See https://ionicframework.com/docs/components/#navigation for more info on
|
25
|
25
|
* Ionic pages and navigation.
|
26
|
26
|
*/
|
27
|
|
-var CreateChannelPage = /** @class */ (function () {
|
28
|
|
- function CreateChannelPage(navCtrl, navParams) {
|
|
27
|
+var AllChannelsPage = /** @class */ (function () {
|
|
28
|
+ function AllChannelsPage(navCtrl, navParams) {
|
29
|
29
|
this.navCtrl = navCtrl;
|
30
|
30
|
this.navParams = navParams;
|
31
|
31
|
}
|
32
|
|
- CreateChannelPage.prototype.ionViewDidLoad = function () {
|
33
|
|
- console.log('ionViewDidLoad CreateChannelPage');
|
|
32
|
+ AllChannelsPage.prototype.ionViewDidLoad = function () {
|
|
33
|
+ console.log('ionViewDidLoad AllChannelsPage');
|
34
|
34
|
};
|
35
|
|
- CreateChannelPage = __decorate([
|
|
35
|
+ AllChannelsPage = __decorate([
|
36
|
36
|
Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
|
37
|
|
- selector: 'page-create-channel',template:/*ion-inline-start:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/pages/create-channel/create-channel.html"*/'\n\n\n<ion-header>\n\n <ion-navbar>\n <ion-title>createChannel</ion-title>\n </ion-navbar>\n\n</ion-header>\n\n\n<ion-content text-center>\n\n <br><br><br><br>\n\n <h1>Create a channel</h1>\n <br>\n <h3>Channels are where your members communicate.</h3>\n\n <br><br><br>\n <h2>Name</h2>\n <ion-item >\n\n <ion-input\n type="text"\n placeholder="# e.g. ZipTeam Study Session"\n [(ngModel)]="message"\n (keyup.enter)="sendMessage()"\n >\n </ion-input>\n \n\n </ion-item>\n\n\n</ion-content>\n'/*ion-inline-end:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/pages/create-channel/create-channel.html"*/,
|
|
37
|
+ 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"*/,
|
38
|
38
|
}),
|
39
|
39
|
__metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* NavParams */]])
|
40
|
|
- ], CreateChannelPage);
|
41
|
|
- return CreateChannelPage;
|
|
40
|
+ ], AllChannelsPage);
|
|
41
|
+ return AllChannelsPage;
|
42
|
42
|
}());
|
43
|
43
|
|
44
|
|
-//# sourceMappingURL=create-channel.js.map
|
|
44
|
+//# sourceMappingURL=all-channels.js.map
|
45
|
45
|
|
46
|
46
|
/***/ }),
|
47
|
47
|
|
|
@@ -49,7 +49,7 @@ 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; });
|
|
52
|
+/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CreateChannelPage; });
|
53
|
53
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
|
54
|
54
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(20);
|
55
|
55
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -64,29 +64,29 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
64
|
64
|
|
65
|
65
|
|
66
|
66
|
/**
|
67
|
|
- * Generated class for the AllChannelsPage page.
|
|
67
|
+ * Generated class for the CreateChannelPage page.
|
68
|
68
|
*
|
69
|
69
|
* See https://ionicframework.com/docs/components/#navigation for more info on
|
70
|
70
|
* Ionic pages and navigation.
|
71
|
71
|
*/
|
72
|
|
-var AllChannelsPage = /** @class */ (function () {
|
73
|
|
- function AllChannelsPage(navCtrl, navParams) {
|
|
72
|
+var CreateChannelPage = /** @class */ (function () {
|
|
73
|
+ function CreateChannelPage(navCtrl, navParams) {
|
74
|
74
|
this.navCtrl = navCtrl;
|
75
|
75
|
this.navParams = navParams;
|
76
|
76
|
}
|
77
|
|
- AllChannelsPage.prototype.ionViewDidLoad = function () {
|
78
|
|
- console.log('ionViewDidLoad AllChannelsPage');
|
|
77
|
+ CreateChannelPage.prototype.ionViewDidLoad = function () {
|
|
78
|
+ console.log('ionViewDidLoad CreateChannelPage');
|
79
|
79
|
};
|
80
|
|
- AllChannelsPage = __decorate([
|
|
80
|
+ CreateChannelPage = __decorate([
|
81
|
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"*/,
|
|
82
|
+ selector: 'page-create-channel',template:/*ion-inline-start:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/pages/create-channel/create-channel.html"*/'\n\n\n<ion-header>\n\n <ion-navbar>\n <ion-title>createChannel</ion-title>\n </ion-navbar>\n\n</ion-header>\n\n\n<ion-content text-center>\n\n <br><br><br><br>\n\n <h1>Create a channel</h1>\n <br>\n <h3>Channels are where your members communicate.</h3>\n\n <br><br><br>\n <h2>Name</h2>\n <ion-item >\n\n <ion-input\n type="text"\n placeholder="# e.g. ZipTeam Study Session"\n [(ngModel)]="message"\n (keyup.enter)="sendMessage()"\n >\n </ion-input>\n \n\n </ion-item>\n\n\n</ion-content>\n'/*ion-inline-end:"/Users/jaehoonp/ZipTeamPurple-FrontEnd/src/pages/create-channel/create-channel.html"*/,
|
83
|
83
|
}),
|
84
|
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;
|
|
85
|
+ ], CreateChannelPage);
|
|
86
|
+ return CreateChannelPage;
|
87
|
87
|
}());
|
88
|
88
|
|
89
|
|
-//# sourceMappingURL=all-channels.js.map
|
|
89
|
+//# sourceMappingURL=create-channel.js.map
|
90
|
90
|
|
91
|
91
|
/***/ }),
|
92
|
92
|
|
|
@@ -158,11 +158,11 @@ webpackEmptyAsyncContext.id = 117;
|
158
|
158
|
|
159
|
159
|
var map = {
|
160
|
160
|
"../pages/all-channels/all-channels.module": [
|
161
|
|
- 286,
|
|
161
|
+ 284,
|
162
|
162
|
3
|
163
|
163
|
],
|
164
|
164
|
"../pages/channel/channel.module": [
|
165
|
|
- 284,
|
|
165
|
+ 286,
|
166
|
166
|
2
|
167
|
167
|
],
|
168
|
168
|
"../pages/create-channel/create-channel.module": [
|
|
@@ -513,8 +513,8 @@ Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* pl
|
513
|
513
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_channel_channel__ = __webpack_require__(161);
|
514
|
514
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_url_url__ = __webpack_require__(80);
|
515
|
515
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__pages_register_register__ = __webpack_require__(105);
|
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);
|
|
516
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__pages_create_channel_create_channel__ = __webpack_require__(104);
|
|
517
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__pages_all_channels_all_channels__ = __webpack_require__(103);
|
518
|
518
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
519
|
519
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
520
|
520
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -557,9 +557,9 @@ var AppModule = /** @class */ (function () {
|
557
|
557
|
__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["a" /* BrowserModule */],
|
558
|
558
|
__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["d" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], {}, {
|
559
|
559
|
links: [
|
560
|
|
- { loadChildren: '../pages/channel/channel.module#ChannelPageModule', name: 'ChannelPage', segment: 'channel', priority: 'low', defaultHistory: [] },
|
561
|
|
- { loadChildren: '../pages/create-channel/create-channel.module#CreateChannelPageModule', name: 'CreateChannelPage', segment: 'create-channel', priority: 'low', defaultHistory: [] },
|
562
|
560
|
{ loadChildren: '../pages/all-channels/all-channels.module#AllChannelsPageModule', name: 'AllChannelsPage', segment: 'all-channels', priority: 'low', defaultHistory: [] },
|
|
561
|
+ { loadChildren: '../pages/create-channel/create-channel.module#CreateChannelPageModule', name: 'CreateChannelPage', segment: 'create-channel', priority: 'low', defaultHistory: [] },
|
|
562
|
+ { loadChildren: '../pages/channel/channel.module#ChannelPageModule', name: 'ChannelPage', segment: 'channel', priority: 'low', defaultHistory: [] },
|
563
|
563
|
{ loadChildren: '../pages/register/register.module#RegisterPageModule', name: 'RegisterPage', segment: 'register', priority: 'low', defaultHistory: [] }
|
564
|
564
|
]
|
565
|
565
|
}),
|
|
@@ -606,8 +606,8 @@ var AppModule = /** @class */ (function () {
|
606
|
606
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_home_home__ = __webpack_require__(205);
|
607
|
607
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_list_list__ = __webpack_require__(206);
|
608
|
608
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_channel_channel__ = __webpack_require__(52);
|
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);
|
|
609
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_create_channel_create_channel__ = __webpack_require__(104);
|
|
610
|
+/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_all_channels_all_channels__ = __webpack_require__(103);
|
611
|
611
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
612
|
612
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
613
|
613
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -671,7 +671,7 @@ var MyApp = /** @class */ (function () {
|
671
|
671
|
__metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* Nav */])
|
672
|
672
|
], MyApp.prototype, "nav", void 0);
|
673
|
673
|
MyApp = __decorate([
|
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"*/
|
|
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 Direct 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"*/
|
675
|
675
|
}),
|
676
|
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 */]])
|
677
|
677
|
], MyApp);
|