1"use strict"; 2(self["webpackChunkapp"] = self["webpackChunkapp"] || []).push([["src_app_pages_location_location_module_ts"],{ 3 4/***/ 2000: 5/*!***********************************************************!*\ 6 !*** ./src/app/pages/location/location-routing.module.ts ***! 7 \***********************************************************/ 8/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9 10__webpack_require__.r(__webpack_exports__); 11/* harmony export */ __webpack_require__.d(__webpack_exports__, { 12/* harmony export */ "LocationPageRoutingModule": () => (/* binding */ LocationPageRoutingModule) 13/* harmony export */ }); 14/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 4929); 15/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 3184); 16/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 2816); 17/* harmony import */ var _location_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./location.page */ 5792); 18 19 20 21 22const routes = [ 23 { 24 path: '', 25 component: _location_page__WEBPACK_IMPORTED_MODULE_0__.LocationPage 26 } 27]; 28let LocationPageRoutingModule = class LocationPageRoutingModule { 29}; 30LocationPageRoutingModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([ 31 (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({ 32 imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forChild(routes)], 33 exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule], 34 }) 35], LocationPageRoutingModule); 36 37 38 39/***/ }), 40 41/***/ 3213: 42/*!***************************************************!*\ 43 !*** ./src/app/pages/location/location.module.ts ***! 44 \***************************************************/ 45/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 46 47__webpack_require__.r(__webpack_exports__); 48/* harmony export */ __webpack_require__.d(__webpack_exports__, { 49/* harmony export */ "LocationPageModule": () => (/* binding */ LocationPageModule) 50/* harmony export */ }); 51/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ 4929); 52/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 3184); 53/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 6362); 54/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 587); 55/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ionic/angular */ 3819); 56/* harmony import */ var _location_routing_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./location-routing.module */ 2000); 57/* harmony import */ var _location_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./location.page */ 5792); 58 59 60 61 62 63 64 65let LocationPageModule = class LocationPageModule { 66}; 67LocationPageModule = (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([ 68 (0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.NgModule)({ 69 imports: [ 70 _angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, 71 _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormsModule, 72 _ionic_angular__WEBPACK_IMPORTED_MODULE_6__.IonicModule, 73 _location_routing_module__WEBPACK_IMPORTED_MODULE_0__.LocationPageRoutingModule 74 ], 75 declarations: [_location_page__WEBPACK_IMPORTED_MODULE_1__.LocationPage] 76 }) 77], LocationPageModule); 78 79 80 81/***/ }), 82 83/***/ 5792: 84/*!*************************************************!*\ 85 !*** ./src/app/pages/location/location.page.ts ***! 86 \*************************************************/ 87/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 88 89__webpack_require__.r(__webpack_exports__); 90/* harmony export */ __webpack_require__.d(__webpack_exports__, { 91/* harmony export */ "LocationPage": () => (/* binding */ LocationPage) 92/* harmony export */ }); 93/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! tslib */ 4929); 94/* harmony import */ var _location_page_html_ngResource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./location.page.html?ngResource */ 3448); 95/* harmony import */ var _location_page_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./location.page.scss?ngResource */ 785); 96/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 3184); 97/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ionic/angular */ 3819); 98/* harmony import */ var _services_account_account_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../services/account/account.service */ 4602); 99/* harmony import */ var _services_order_order_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../services/order/order.service */ 4081); 100 101 102 103 104 105 106 107let LocationPage = class LocationPage { 108 constructor(navCtrl, alertCtrl, toastCtrl, accountservice, orderservice) { 109 this.navCtrl = navCtrl; 110 this.alertCtrl = alertCtrl; 111 this.toastCtrl = toastCtrl; 112 this.accountservice = accountservice; 113 this.orderservice = orderservice; 114 this.locationstru = new Array(24); 115 this.locationsdelivery = __webpack_require__(/*! ../../../assets/location/delivery.json */ 2710); 116 } 117 ngOnInit() { 118 this.ordertype = ''; 119 this.orderarea = ''; 120 this.orderlocation = 0; 121 this.orderlocationlast = null; 122 this.accountservice.selectLocations().then((locations) => { 123 this.locationsdinein = locations; 124 }); 125 this.accountservice.selectOrderMessageTakeOut().then((message) => { 126 this.ordermode = message.substring(0, 1); 127 this.ordertime = parseInt(message.substring(1, 3)); 128 this.orderlimit = parseInt(message.substring(3, 5)); 129 this.orderwait = parseInt(message.substring(5, 100)) * 2 + 10; 130 if (this, this.ordermode == 'A') { 131 if (this.orderwait <= this.orderlimit) { 132 this.ordermessage = ''; 133 this.orderenabled = true; 134 } 135 else { 136 this.ordermessage = 'CURRENT WAIT TIME IS TOO LONG TO ACCEPT NEW TAKE-OUT ORDERS'; 137 this.orderenabled = false; 138 } 139 } 140 else if (this, this.ordermode == 'B') { 141 this.ordermessage = 'CURRENT WAIT TIME IS TOO LONG TO ACCEPT NEW TAKE-OUT ORDERS'; 142 this.orderenabled = false; 143 } 144 else if (this, this.ordermode == 'C') { 145 if (this.ordertime <= this.orderlimit) { 146 this.ordermessage = ''; 147 this.orderenabled = true; 148 } 149 else { 150 this.ordermessage = 'CURRENT WAIT TIME IS TOO LONG TO ACCEPT NEW TAKE-OUT ORDERS'; 151 this.orderenabled = false; 152 } 153 } 154 else { 155 this.ordermessage = ''; 156 this.orderenabled = true; 157 } 158 }); 159 } 160 displayAccount() { 161 if (this.accountservice.account.ACC_STA != 1) { 162 this.alertLogin(); 163 } 164 else { 165 this.alertLogout(); 166 } 167 } 168 alertLogin() { 169 let alert = this.alertCtrl.create({ 170 header: 'LOGIN', 171 inputs: [ 172 { name: 'email', placeholder: 'Email' }, 173 { name: 'password', placeholder: 'Password', type: 'password' } 174 ], 175 buttons: [ 176 { text: 'Login', handler: data => { if (data.email.length == 0 || data.password.length == 0) 177 return false; this.accountLogin(data.email, data.password); } }, 178 { text: 'Cancel', handler: () => { } } 179 ] 180 }); 181 alert.then((alert) => { alert.present(); }); 182 } 183 accountLogin(email, password) { 184 this.accountservice.account.ACC_NAM = email; 185 this.accountservice.account.ACC_PWD = password; 186 this.accountservice.login().then((message) => { 187 if (message == 'SUCCESS') { 188 this.toastCtrl.create({ message: 'Login Successful', duration: 3000, position: 'bottom' }).then((toast) => { toast.present(); }); 189 } 190 else { 191 this.accountservice.account.ACC_NAM = ""; 192 this.accountservice.account.ACC_PWD = ""; 193 this.toastCtrl.create({ message: message, duration: 3000, position: 'bottom' }).then((toast) => { toast.present(); }); 194 } 195 }); 196 } 197 alertLogout() { 198 let alert = this.alertCtrl.create({ 199 header: 'LOGOUT', 200 buttons: [ 201 { text: 'Logout', handler: () => { this.accountLogout(); } }, 202 { text: 'Cancel', handler: () => { } } 203 ] 204 }); 205 alert.then((alert) => { alert.present(); }); 206 } 207 accountLogout() { 208 this.accountservice.logout(); 209 } 210 updateOrderType(ordertype) { 211 this.ordertype = ordertype; 212 if (this.ordertype == 'dinein') { 213 this.orderarea = ''; 214 this.orderlocation = 0; 215 document.getElementById('startbutton').disabled = true; 216 this.orderlocationlast = null; 217 } 218 else if (this.ordertype == 'takeout') { 219 this.orderarea = ''; 220 this.orderlocation = 1; 221 document.getElementById('startbutton').disabled = false; 222 this.orderlocationlast = null; 223 } 224 else if (this.ordertype == 'delivery') { 225 this.orderarea = 'north'; 226 this.orderlocation = 0; 227 document.getElementById('startbutton').disabled = true; 228 this.orderlocationlast = null; 229 } 230 } 231 updateOrderArea(orderarea) { 232 this.orderarea = orderarea; 233 this.orderlocation = 0; 234 document.getElementById('startbutton').disabled = true; 235 if (this.ordertype == 'dinein') { 236 if (this.orderlocationlast) { 237 let paths = this.orderlocationlast.getElementsByTagName('path'); 238 let rects = this.orderlocationlast.getElementsByTagName('rect'); 239 let circles = this.orderlocationlast.getElementsByTagName('circle'); 240 for (let i = 0; i < paths.length; i++) 241 paths[i].style.fill = '#5e88bf'; 242 for (let i = 0; i < rects.length; i++) 243 rects[i].style.fill = '#5e88bf'; 244 for (let i = 0; i < circles.length; i++) 245 circles[i].style.fill = '#5e88bf'; 246 this.orderlocationlast = null; 247 } 248 let svg = document.getElementById(this.orderarea); 249 svg.addEventListener("load", () => { 250 let that = this; 251 let sections = svg['contentDocument'].querySelectorAll('[id^="section"]'); 252 for (let i = 0; i < sections.length; i++) { 253 sections[i].addEventListener("click", function () { 254 if (that.orderlocationlast) { 255 let paths = that.orderlocationlast.getElementsByTagName('path'); 256 let rects = that.orderlocationlast.getElementsByTagName('rect'); 257 let circles = that.orderlocationlast.getElementsByTagName('circle'); 258 for (let i = 0; i < paths.length; i++) 259 paths[i].style.fill = '#5e88bf'; 260 for (let i = 0; i < rects.length; i++) 261 rects[i].style.fill = '#5e88bf'; 262 for (let i = 0; i < circles.length; i++) 263 circles[i].style.fill = '#5e88bf'; 264 } 265 let paths = this.getElementsByTagName('path'); 266 let rects = this.getElementsByTagName('rect'); 267 let circles = this.getElementsByTagName('circle'); 268 for (let i = 0; i < paths.length; i++) 269 paths[i].style.fill = '#cf1590'; 270 for (let i = 0; i < rects.length; i++) 271 rects[i].style.fill = '#cf1590'; 272 for (let i = 0; i < circles.length; i++) 273 circles[i].style.fill = '#cf1590'; 274 that.orderlocationlast = this; 275 for (let location of that.locationsdinein) { 276 if (location.LDT_TYP == this.id) { 277 that.orderlocation = location.LDT_ID; 278 document.getElementById('startbutton').disabled = false; 279 } 280 } 281 }); 282 } 283 }); 284 } 285 } 286 selectLocations() { 287 return this.locationsdelivery[this.orderarea.toString()]; 288 } 289 selectLocation(location) { 290 return JSON.stringify(location); 291 } 292 selectPickup() { 293 return JSON.parse(this.orderlocation.toString())['pickup']; 294 } 295 startOrder() { 296 this.orderservice.order.LDT_ID = this.orderlocation; 297 this.navCtrl.navigateForward('/order'); 298 } 299}; 300LocationPage.ctorParameters = () => [ 301 { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__.NavController }, 302 { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__.AlertController }, 303 { type: _ionic_angular__WEBPACK_IMPORTED_MODULE_4__.ToastController }, 304 { type: _services_account_account_service__WEBPACK_IMPORTED_MODULE_2__.AccountService }, 305 { type: _services_order_order_service__WEBPACK_IMPORTED_MODULE_3__.OrderService } 306]; 307LocationPage = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ 308 (0,_angular_core__WEBPACK_IMPORTED_MODULE_6__.Component)({ 309 selector: 'app-location', 310 template: _location_page_html_ngResource__WEBPACK_IMPORTED_MODULE_0__, 311 styles: [_location_page_scss_ngResource__WEBPACK_IMPORTED_MODULE_1__] 312 }) 313], LocationPage); 314 315 316 317/***/ }), 318 319/***/ 785: 320/*!**************************************************************!*\ 321 !*** ./src/app/pages/location/location.page.scss?ngResource ***! 322 \**************************************************************/ 323/***/ ((module) => { 324 325module.exports = "ion-toolbar {\n --background: #5e88bf;\n --color: white;\n --min-height: 70px;\n}\n\nion-grid {\n max-width: 600px;\n}\n\nion-item {\n --background: transparant;\n}\n\nion-segment {\n --background: #5e88bf;\n}\n\nion-segment-button {\n --color: white;\n --color-hover: black;\n --color-checked: black;\n}\n\nion-select {\n background-color: white;\n color: black;\n margin: 10px;\n}\n\nion-footer ion-button {\n --background: #5e88bf;\n --color: white;\n}\n\n.toolbar-text {\n font-size: xx-large;\n font-weight: bold;\n color: white;\n}\n\n.location-button {\n background-color: #5e88bf;\n color: white;\n margin-top: 10px;\n margin-bottom: 10px;\n padding: 10px;\n border-radius: 8px;\n}\n\n.location-selected {\n background-color: white;\n color: #5e88bf;\n}\n\n.location-letter {\n line-height: 30px;\n font-size: 48px;\n font-weight: bold;\n}\n\n.location-text {\n font-size: 10px;\n padding-left: 5px;\n padding-top: 10px;\n}\n\n.location-area {\n background-color: #5e88bf;\n color: white;\n padding: 10px;\n}\n\n.location-address {\n padding-left: 40px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxvY2F0aW9uLnBhZ2Uuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLHFCQUFBO0VBQ0EsY0FBQTtFQUNBLGtCQUFBO0FBQ0Y7O0FBRUE7RUFDRSxnQkFBQTtBQUNGOztBQUVBO0VBQ0UseUJBQUE7QUFDRjs7QUFFQTtFQUNFLHFCQUFBO0FBQ0Y7O0FBRUE7RUFDRSxjQUFBO0VBQ0Esb0JBQUE7RUFDQSxzQkFBQTtBQUNGOztBQUVBO0VBQ0UsdUJBQUE7RUFDQSxZQUFBO0VBQ0EsWUFBQTtBQUNGOztBQUdFO0VBQ0UscUJBQUE7RUFDQSx
325jQUFBO0FBQUo7O0FBSUE7RUFDRSxtQkFBQTtFQUNBLGlCQUFBO0VBQ0EsWUFBQTtBQURGOztBQUlBO0VBQ0UseUJBQUE7RUFDQSxZQUFBO0VBQ0EsZ0JBQUE7RUFDQSxtQkFBQTtFQUNBLGFBQUE7RUFDQSxrQkFBQTtBQURGOztBQUlBO0VBQ0UsdUJBQUE7RUFDQSxjQUFBO0FBREY7O0FBSUE7RUFDRSxpQkFBQTtFQUNBLGVBQUE7RUFDQSxpQkFBQTtBQURGOztBQUlBO0VBQ0UsZUFBQTtFQUNBLGlCQUFBO0VBQ0EsaUJBQUE7QUFERjs7QUFJQTtFQUNFLHlCQUFBO0VBQ0EsWUFBQTtFQUNBLGFBQUE7QUFERjs7QUFJQTtFQUNFLGtCQUFBO0FBREYiLCJmaWxlIjoibG9jYXRpb24ucGFnZS5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiaW9uLXRvb2xiYXIge1xyXG4gIC0tYmFja2dyb3VuZDogIzVlODhiZjtcclxuICAtLWNvbG9yOiB3aGl0ZTtcclxuICAtLW1pbi1oZWlnaHQ6IDcwcHg7XHJcbn1cclxuXHJcbmlvbi1ncmlkIHtcclxuICBtYXgtd2lkdGg6IDYwMHB4O1xyXG59XHJcblxyXG5pb24taXRlbSB7XHJcbiAgLS1iYWNrZ3JvdW5kOiB0cmFuc3BhcmFudDtcclxufVxyXG5cclxuaW9uLXNlZ21lbnQge1xyXG4gIC0tYmFja2dyb3VuZDogIzVlODhiZjtcclxufVxyXG5cclxuaW9uLXNlZ21lbnQtYnV0dG9uIHtcclxuICAtLWNvbG9yOiB3aGl0ZTtcclxuICAtLWNvbG9yLWhvdmVyOiBibGFjaztcclxuICAtLWNvbG9yLWNoZWNrZWQ6IGJsYWNrO1xyXG59XHJcblxyXG5pb24tc2VsZWN0IHtcclxuICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICBjb2xvcjogYmxhY2s7XHJcbiAgbWFyZ2luOiAxMHB4O1xyXG59XHJcblxyXG5pb24tZm9vdGVyIHtcclxuICBpb24tYnV0dG9uIHtcclxuICAgIC0tYmFja2dyb3VuZDogIzVlODhiZjtcclxuICAgIC0tY29sb3I6IHdoaXRlO1xyXG4gIH1cclxufVxyXG5cclxuLnRvb2xiYXItdGV4dCB7XHJcbiAgZm9udC1zaXplOiB4eC1sYXJnZTtcclxuICBmb250LXdlaWdodDogYm9sZDtcclxuICBjb2xvcjogd2hpdGU7XHJcbn1cclxuXHJcbi5sb2NhdGlvbi1idXR0b24ge1xyXG4gIGJhY2tncm91bmQtY29sb3I6ICM1ZTg4YmY7XHJcbiAgY29sb3I6IHdoaXRlO1xyXG4gIG1hcmdpbi10b3A6IDEwcHg7XHJcbiAgbWFyZ2luLWJvdHRvbTogMTBweDtcclxuICBwYWRkaW5nOiAxMHB4O1xyXG4gIGJvcmRlci1yYWRpdXM6IDhweDtcclxufVxyXG5cclxuLmxvY2F0aW9uLXNlbGVjdGVkIHtcclxuICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICBjb2xvcjogIzVlODhiZjtcclxufVxyXG5cclxuLmxvY2F0aW9uLWxldHRlciB7XHJcbiAgbGluZS1oZWlnaHQ6IDMwcHg7XHJcbiAgZm9udC1zaXplOiA0OHB4O1xyXG4gIGZvbnQtd2VpZ2h0OiBib2xkO1xyXG59XHJcblxyXG4ubG9jYXRpb24tdGV4dCB7XHJcbiAgZm9udC1zaXplOiAxMHB4O1xyXG4gIHBhZGRpbmctbGVmdDogNXB4O1xyXG4gIHBhZGRpbmctdG9wOiAxMHB4O1xyXG59XHJcblxyXG4ubG9jYXRpb24tYXJlYSB7XHJcbiAgYmFja2dyb3VuZC1jb2xvcjogIzVlODhiZjtcclxuICBjb2xvcjogd2hpdGU7XHJcbiAgcGFkZGluZzogMTBweDtcclxufVxyXG5cclxuLmxvY2F0aW9uLWFkZHJlc3Mge1xyXG4gIHBhZGRpbmctbGVmdDogNDBweDtcclxufVxyXG4iXX0= */"; 326 327/***/ }), 328 329/***/ 3448: 330/*!**************************************************************!*\ 331 !*** ./src/app/pages/location/location.page.html?ngResource ***! 332 \**************************************************************/ 333/***/ ((module) => { 334 335module.exports = "<ion-header>\r\n <ion-toolbar>\r\n <ion-grid>\r\n <ion-row class=\"ion-align-items-center\">\r\n <ion-col size=\"4\" offset=\"4\" class=\"ion-text-center toolbar-text\">\r\n <ion-label>TRU</ion-label>\r\n </ion-col>\r\n <ion-col size=\"4\" class=\"ion-text-end\" (click)='displayAccount()'>\r\n <ion-icon name='person'></ion-icon>\r\n <ion-label *ngIf='accountservice.account.ACC_STA == 1'> {{ accountservice.account.ACC_FNM }}</ion-label>\r\n </ion-col>\r\n </ion-row>\r\n </ion-grid>\r\n </ion-toolbar>\r\n</ion-header>\r\n\r\n<ion-content>\r\n <ion-grid>\r\n <ng-container *ngIf=\"ordertype == 'tru'\">\r\n <ion-row>\r\n <ion-col>\r\n <ion-button expand=\"block\" [color]=\"orderlocation == 1 ? 'dark' : 'light'\" (click)=\"orderlocation = 1\">To Go</ion-button>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row>\r\n <ng-container *ngFor=\"let location of locationstru; let i = index\">\r\n <ion-col col-3>\r\n <ion-button expand=\"block\" [color]=\"orderlocation == i+25 ? 'dark' : 'light'\" (click)=\"orderlocation = i+25\">#{{ i+1 }}</ion-button>\r\n </ion-col>\r\n </ng-container>\r\n </ion-row>\r\n </ng-container>\r\n <ng-container *ngIf=\"ordertype != 'tru'\">\r\n <ion-row>\r\n <ion-col class=\"ion-text-center\">\r\n <ion-label *ngIf=\"ordermessage != ''\" color=\"danger\">{{ordermessage}}</ion-label>\r\n <ion-segment [(ngModel)]=\"ordertype\">\r\n <ion-segment-button value=\"dinein\" (click)=\"updateOrderType('dinein')\">\r\n <ion-label>Dine-In</ion-label>\r\n </ion-segment-button>\r\n <ion-segment-button [disabled]=\"!orderenabled\" value=\"takeout\" (click)=\"updateOrderType('takeout')\">\r\n <ion-label>Take-Out</ion-label>\r\n </ion-segment-button>\r\n <!--<ion-segment-button value=\"delivery\" (click)=\"updateOrderType('delivery')\">\r\n <ion-label>Delivery</ion-label>\r\n </ion-segment-button>-->\r\n </ion-segment>\r\n </ion-col>\r\n </ion-row>\r\n </ng-container>\r\n <ng-container *ngIf=\"ordertype == 'dinein'\">\r\n <ion-row>\r\n <ion-col>\r\n <ion-row class=\"location-button\" [class.location-selected]=\"orderarea == 'inside'\" (click)=\"updateOrderArea('inside')\">\r\n <ion-label class=\"location-letter\">I</ion-label>\r\n <ion-label class=\"location-text\">INSIDE</ion-label>\r\n </ion-row>\r\n </ion-col>\r\n <ion-col>\r\n <ion-row class=\"location-button\" [class.location-selected]=\"orderarea == 'outside'\" (click)=\"updateOrderArea('outside')\">\r\n <ion-label class=\"location-letter\">
335O</ion-label>\r\n <ion-label class=\"location-text\">OUTSIDE</ion-label>\r\n </ion-row>\r\n </ion-col>\r\n <ion-col>\r\n <ion-row class=\"location-button\" [class.location-selected]=\"orderarea == 'upstairs'\" (click)=\"updateOrderArea('upstairs')\">\r\n <ion-label class=\"location-letter\">U</ion-label>\r\n <ion-label class=\"location-text\">UPSTAIRS</ion-label>\r\n </ion-row>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row>\r\n <ion-col [hidden]=\"orderarea != 'inside'\">\r\n <object id=\"inside\" data=\"assets/location/inside.svg\"></object>\r\n </ion-col>\r\n <ion-col [hidden]=\"orderarea != 'outside'\">\r\n <object id=\"outside\" data=\"assets/location/outside.svg\"></object>\r\n </ion-col>\r\n <ion-col [hidden]=\"orderarea != 'upstairs'\">\r\n <object id=\"upstairs\" data=\"assets/location/upstairs.svg\"></object>\r\n </ion-col>\r\n </ion-row>\r\n </ng-container>\r\n <ng-container *ngIf=\"ordertype == 'takeout'\">\r\n <ion-row>\r\n <ion-col size=\"4\" offset=\"4\">\r\n <ion-row class=\"location-button location-selected\">\r\n <ion-label class=\"location-letter\">T</ion-label>\r\n <ion-label class=\"location-text\">TRU</ion-label>\r\n </ion-row>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row class=\"location-area\">\r\n <ion-col>\r\n <ion-label>TAKEOUT LOCATION</ion-label>\r\n <ion-item lines=\"none\">\r\n <ion-icon name=\"restaurant\" slot=\"start\" color=\"light\"></ion-icon>\r\n <ion-label color=\"light\">TRU</ion-label>\r\n </ion-item>\r\n <ion-label class='location-address'>114 Henderson Street</ion-label>\r\n <br />\r\n <ion-label class='location-address'>Chapel Hill, NC</ion-label>\r\n <br />\r\n <ion-label class='location-address'>(919) 240-7755</ion-label>\r\n </ion-col>\r\n </ion-row>\r\n </ng-container>\r\n <ng-container *ngIf=\"ordertype == 'delivery'\">\r\n <ion-row>\r\n <ion-col>\r\n <ion-row class=\"location-button\" [class.location-selected]=\"orderarea == 'north'\" (click)=\"updateOrderArea('north')\">\r\n <ion-label class=\"location-letter\">N</ion-label>\r\n <ion-label class=\"location-text\">NORTH<br>CAMPUS</ion-label>\r\n </ion-row>\r\n </ion-col>\r\n <ion-col>\r\n <ion-row class=\"location-button\" [class.location-selected]=\"orderarea == 'central'\" (click)=\"updateOrderArea('central')\">\r\n <ion-label class=\"location-letter\">C</ion-label>\r\n <ion-label class=\"location-text\">CENTRAL<br>CAMPUS</ion-label>\r\n </ion-row>\r\n </ion-col>\r\n <ion-col>\r\n <ion-row class=\"location-button\" [class.location-selected]=\"orderarea == 'south'\" (click)=\"updateOrderArea('south')\">\r\n <ion-label class=\"location-letter\">S</ion-label>\r\n <ion-label class=\"location-text\">SOUTH<br>CAMPUS</ion-label>\r\n </ion-row>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row class=\"location-area\">\r\n <ion-col>\r\n <ion-row>\r\n <ion-col>\r\n <ion-label>YOUR LOCATION</ion-label>\r\n <ion-select [(ngModel)]=\"orderlocation\" placeholder=\"Please select your location\">\r\n <ion-select-option *ngFor=\"let l of selectLocations()\" value=\"{{ selectLocation(l) }}\">{{ l.location }}</ion-select-option>\r\n </ion-select>\r\n </ion-col>\r\n </ion-row>\r\n <ion-row>\r\n <ion-col>\r\n <ion-label>PICKUP LOCATION</ion-label>\r\n <ion-item lines=\"none\">\r\n <ion-icon name=\"restaurant\" slot=\"start\" color=\"light\"></ion-icon>\r\n <ion-label color=\"light\">{{ selectPickup() }}</ion-label>\r\n </ion-item>\r\n </ion-col>\r\n </ion-row>\r\n </ion-col>\r\n </ion-row>\r\n </ng-container>\r\n </ion-grid>\r\n</ion-content>\r\n\r\n<ion-footer>\r\n <ion-grid>\r\n <ion-row>\r\n <ion-col>\r\n <ion-button id=\"startbutton\" expand=\"block\" [disabled]=\"orderlocation == 0\" (click)=\"startOrder()\">START ORDER</ion-button>\r\n </ion-col>\r\n </ion-row>\r\n </ion-grid>\r\n</ion-footer>\r\n"; 336 337/***/ }), 338 339/***/ 2710: 340/*!*******************************************!*\ 341 !*** ./src/assets/location/delivery.json ***! 342 \*******************************************/ 343/***/ ((module) => { 344 345module.exports = JSON.parse('{"north":[{"location":"Abernathy Hall","pickup":"Sidewalk between Abernathy and
345Swain","type":"Classroom"},{"location":"Alderman","pickup":"Kenan Steps","type":"Residence"},{"location":"Alexander","pickup":"Corridor between Alexander & Joyner","type":"Residence"},{"location":"Alumni Hall","pickup":"Alumni Hall (quad side)","type":"Classroom"},{"location":"Aycock","pickup":"Center Sidwalk","type":"Residence"},{"location":"Battle Hall","pickup":"Pettigrew Hall (quad side)","type":"Classroom"},{"location":"Cobb","pickup":"Jackson/Cobb Circle","type":"Residence"},{"location":"Connor","pickup":"Courtyard at corner of Winston & Connor","type":"Residence"},{"location":"Davie Hall","pickup":"Davie Hall (Cameron Ave side)","type":"Classroom"},{"location":"Everett","pickup":"Stacy Steps","type":"Residence"},{"location":"Evergreen","pickup":"Sidewalk between Hanes Art and Kenan Music","type":"Classroom"},{"location":"Graham","pickup":"Stacy Steps","type":"Residence"},{"location":"Graham Memorial Hall","pickup":"Graham Memorial Hall (quad side)","type":"Classroom"},{"location":"Granville E","pickup":"Granville Dining Hall","type":"Residence"},{"location":"Granville S","pickup":"Granville Dining Hall","type":"Residence"},{"location":"Granville W","pickup":"Granville Dining Hall","type":"Residence"},{"location":"Grimes","pickup":"Center Courtyard","type":"Residence"},{"location":"Hanes Art Center","pickup":"Sidewalk between Hanes Art and Kenan Music","type":"Classroom"},{"location":"Hill Hall","pickup":"Sidewalk between Smith and Hill","type":"Classroom"},{"location":"Howell Hall","pickup":"Howell Hall (quad side)","type":"Classroom"},{"location":"Hyde Hall","pickup":"Pettigrew Hall (quad side)","type":"Classroom"},{"location":"Joyner","pickup":"Corridor between Alexander & Joyner","type":"Residence"},{"location":"Kenan","pickup":"Kenan Steps","type":"Residence"},{"location":"Kenan Music Bldg","pickup":"Sidewalk between Hanes Art and Kenan Music","type":"Classroom"},{"location":"Lewis","pickup":"Center Sidwalk","type":"Residence"},{"location":"Mangum","pickup":"Center Courtyard","type":"Residence"},{"location":"Manly","pickup":"Center Courtyard","type":"Residence"},{"location":"McIver","pickup":"Kenan Steps","type":"Residence"},{"location":"Morehead Planetarium","pickup":"Morehead Planetarium (quad side)","type":"Other"},{"location":"New East","pickup":"New East/Old East Parking Lot","type":"Classroom"},{"location":"New West","pickup":"Sidewalk between Smith and Hill","type":"Classroom"},{"location":"Old East","pickup":"New East/Old East Parking Lot","type":"Residence"},{"location":"Old East","pickup":"Old Well","type":"Residence"},{"location":"Old West","pickup":"New West/Old West Walkway","type":"Residence"},{"location":"Old West","pickup":"Old Well","type":"Residence"},{"location":"Person Hall","pickup":"Sidewalk between Smith and Hill","type":"Classroom"},{"location":"Pettigrew Hall","pickup":"Pettigrew Hall (quad side)","type":"Classroom"},{"location":"Ruffin","pickup":"Center Courtyard","type":"Residence"},{"location":"Smith Bldg","pickup":"Sidewalk between Smith and Hill","type":"Classroom"},{"location":"Spencer","pickup":"Spencer (Franklin St)","type":"Residence"},{"location":"Stacy","pickup":"Stacy Steps","type":"Residence"},{"location":"Swain Hall","pickup":"Sidewalk between Abernathy and Swain","type":"Classroom"},{"location":"Vance Hall","pickup":"Pettigrew Hall (quad side)","type":"Classroom"},{"location":"Winston","pickup":"Courtyard at corner of Winston & Connor","type":"Residence"}],"central":[{"location":"Avery","pickup":"Avery","type":"Residence"},{"location":"Bingham Hall","pickup":"Wilson Library (quad side)","type":"Classroom"},{"location":"Brooks Hall","pickup":"Chapman Hall (front)","type":"Classroom"},{"location":"Bynum Hall","pickup":"Bynum water fountain","type":"Classroom"},{"location":"Caldwell Hall","pickup":"Bynum water fountain","type":"Classroom"},{"location":"Campus Y","pickup":"South Building (quad side)","type":"Other"},{"location":"Carmichael","pickup":"Sidwalk between/Stadium Dr","type":"Residence"},{"location":"Carolina Hall","pickup":"Manning Hall (quad side)","type":"Classroom"},{"location":"Carr Building","pickup":"Bynum water fountain","type":"Classroom"},{"location":"Carroll Hall","pickup":"Carroll Hall (quad side)","type":"Classroom"},{"location":"Caudill Labs","pickup":"Kenan Labs","type":"Classroom"},{"location":"CDA","pickup":"Jackson/Cobb circle","type":"Classroom"},{"location":"Chapman Hall","pickup":"Chapman Hall (front)","type":"Classroom"},{"location":"Cobb Hall","pickup":"Jackson/Cobb circle","type":"Classroom"},{"location":"Coker Hall","pickup":"Road behind Coker/Mitchell Wilson","type":"Classroom"},{"location":"Davis Library","pickup":"The Pit (in front of Lenoir)","type":"Library"},{"location":"Dey Hall","pickup":"Wilson Library (quad side)","type":"Classroom"},{"location":"FedEx Global Ed","pickup":"FedEx Global Ed (McCauley St)","type":"Classroom"},{"location":"Fetzer Hall","pickup":"SRC","type":"Other"},{"location":"Fordham Hall ","pickup":"Genome/Fordham Courtyard","type":"Classroom"},{"location":"Gardner Hall","pickup":"Carroll Hall (quad side)","type":"Classroom"},{"location":"Genome","pickup":"Genome/Fordham Courtyard","type":"Classroom"},{"location":"Gerrard","pickup":"South Building (quad side)","type":"Classroom"},{"location":"Greenlaw Hall","pickup":"The Pit (in front of Lenoir)","type":"Classroom"},{"location":"Hamilton Hall","pickup":"Bynum water fountain","type":"Classroom"},{"location":"Hanes Hall","pickup":"Carroll Hall (quad side)","type":"Classroom"},{"location":"Jackson Hall","pickup":"Jackson/Cobb circle","type":"Classroom"},{"location":"Kenan Labs","pickup":"Kenan Labs","type":"Classroom"},{"location":"Lenoir","pickup":"The Pit (in front of Lenoir)","type":"Other"},{"location":"Manning Hall","pickup":"Manning Hall (quad side)","type":"Classroom"},{"location":"Memorial Hall","pickup":"Memorial Hall","type":"Other"},{"location":"Mitchell Hall","pickup":"Road behind Coker/Mitchell Wilson","type":"Classroom"},{"location":"Morehead Labs","pickup":"Kenan Labs","type":"Classroom"},{"location":"Murphey Hall","pickup":"Manning Hall (quad side)","type":"Classroom"},{"location":"Murray Hall","pickup":"Venable/Murray Corridor","type":"Classroom"},{"location":"Parker","pickup":"Parker","type":"Residence"},{"location":"Peabody Hall","pickup":"Peabody Hall","type":"Classroom"},{"location":"Phillips Hall","pickup":"Phillips Hall","type":"Classroom"},{"location":"Playmaker\'s Theatre","pickup":"Bynum water fountain","type":"Classroom"},{"location":"ROTC","pickup":"Chapman Hall (front)","type":"Classroom"},{"location":"Sitterson Hall","pickup":"Chapman Hall (front)","type":"Classroom"},{"location":"South Building","pickup":"South Building (quad side)","type":"Other"},{"location":"SRC","pickup":"SRC","type":"Other"},{"location":"Steele Building","pickup":"South Building (quad side)","type":"Other"},{"location":"Stone Center","pickup":"Stone Center (Bell Tower Dr)","type":"Classroom"},{"location":"Student Stores","pickup":"The Pit (in front of Lenoir)","type":"Other"},{"location":"Student Union","pickup":"The Pit (in front of Lenoir)","type":"Other"},{"location":"Teague","pickup":"Sidwalk between/Stadium Dr","type":"Residence"},{"location":"Undergraduate Library","pickup":"The Pit (in front of Lenoir)","type":"Library"},{"location":"Venable Hall","pickup":"Venable/Murray Corridor","type":"Classroom"},{"location":"Whitehead","pickup":"FedEx Global Ed (McCauley St)","type":"Classroom"},{"location":"Wilson Hall","pickup":"Road behind Coker/Mitchell Wilson","type":"Classroom"},{"location":"Wilson Library","pickup":"Wilson Library (quad side)","type":"Library"},{"location":"Woolen Gymnasium","pickup":"Woolen Gymnasium","type":"Other"}],"south":[{"location":"Baity","pickup":"Rosenau Hall (S Columbia St)","type":"Classroom"},{"location":"Beard Hall","pickup":"Beard Hall (S Columbia St)","type":"Classroom"},{"location":"Berryhill Hall","pickup":"Sidewalk between Carrington/Bondurant","type":"Classroom"},{"location":"Bioinformatics Bldg","pickup":"EPA/GMR Parking Lot","type":"Medical"},{"location":"Bondurant Hall","pickup":"Sidewalk between Carrington/Bondurant","type":"Classroom"},{"location":"Brauwer","pickup":"Koury Oral Health Sciences (S Columbia St)","type":"Medical"},{"location":"Campus Health","pickup":"Campus Health","type":"Hospital"},{"location":"Carrington Hall","pickup":"Sidewalk between Carrington/Bondurant","type":"Classroom"},{"location":"Craige","pickup":"Craige/Craige N Parking Lot","type":"Residence"},{"location":"Craige North","pickup":"Craige/Craige N Parking Lot","type":"Residence"},{"location":"EPA","pickup":"EPA/GMR Parking Lot","type":"Medical"},{"location":"Eringhaus","pickup":"Lot between Ehaus/Koury ","type":"Residence"},{"location":"First Dental","pickup":"Koury Oral Health Sciences (S Columbia St)","type":"Medical"},{"location":"Genetic Medicine Research Bldg","pickup":"EPA/GMR Parking Lot","type":"Medical"},{"location":"Hardin","pickup":"Morrison Parking Lot","type":"Residence"},{"location":"Health Sciences Librar","pickup":"Health Sciences Library","type":"Library"},{"location":"Hinton James","pickup":"Hinton/HOJO Parking Lot","type":"Residence"},{"location":"Horton","pickup":"Hinton/HOJO Parking Lot","type":"Residence"},{"location":"Isaac M Taylor Bldg","pickup":"MBRB/Taylor/Thurston Bowles Courtyard","type":"Medical"},{"location":"Kerr Hall","pickup":"Beard Hall (S Columbia St)","type":"Classroom"},{"location":"Koury","pickup":"Lot between Ehaus/Koury ","type":"Residence"},{"location":"Koury Oral Health Sciences","pickup":"Koury Oral Health Sciences (S Columbia St)","type":"Medical"},{"location":"Lineberger Cancer Research Ctr","pickup":"MBRB/Taylor/Thurston Bowles Courtyard","type":"Medical"},{"location":"MacNider Hall","pickup":"Health Sciences Library","type":"Classroom"},{"location":"Marisco Hall","pickup":"MBRB/Taylor/Thurston Bowles Courtyard","type":"Medical"},{"location":"Mary Ellen Jones Bldg","pickup":"MBRB/Taylor/Thurston Bowles Courtyard","type":"Medical"},{"location":"MBRB","pickup":"MBRB/Taylor/Thurston Bowles Courtyard","type":"Medical"},{"location":"McGavran-Greenberg Hall","pickup":"Rosenau Hall (S Columbia St)","type":"Classroom"},{"location":"Michael Hooker Research Ctr","pickup":"Rosenau Hall (S Columbia St)","type":"Classroom"},{"location":"Morrison","pickup":"Morrison Parking Lot","type":"Residence"},{"location":"NC Cancer Hospital","pickup":"NC Cancer Hopsital","type":"Hospital"},{"location":"NC Memorial Hospital","pickup":"NC Memorial Hospital","type":"Hospital"},{"location":"NC Women\'s & Children\'s Hospital","pickup":"NC Women\'s & Chidlren\'s Hospital","type":"Hospital"},{"location":"Neurosciences Hospital","pickup":"NC Women\'s & Chidlren\'s Hospital","type":"Hospital"},{"location":"Neurosciences Research Bldg","pickup":"MBRB/Taylor/Thurston Bowles Courtyard","type":"Medical"},{"location":"Public Saftey Bldg","pickup":"Public Safety Bldg","type":"Other"},{"location":"Rams Bldg 1","pickup":"Rams Bldg 2 Ram Village","type":"Residence"},{"location":"Rams Bldg 2","pickup":"Rams Bldg 2 Ram Village","type":"Residence"},{"location":"Rams Bldg 3","pickup":"Rams Bldg 2 Ram Village","type":"Residence"},{"location":"Rams Bldg 5","pickup":"Path between SCRC and Taylor","type":"Residence"},{"location":"Rams Head Dining Hall","pickup":"Rams Plaza (middle)","type":"Other"},{"location":"Rams Head Recreation Ctr","pickup":"Rams Plaza (middle)","type":"Other"},{"location":"Rosenau Hall","pickup":"Rosenau Hall (S Columbia St)","type":"Classroom"},{"location":"SASB N","pickup":"SASB Plaza (middle)","type":"Other"},{"location":"SASB S","pickup":"SASB Plaza (middle)","type":"Other"},{"location":"Tarrson","pickup":"Koury Oral Health Sciences (S Columbia St)","type":"Medical"},{"location":"Tate-Turner-Kuralt","pickup":"Beard Hall (S Columbia St)","type":"Classroom"},{"location":"Taylor/Rams Bldg 4","pickup":"Path between SCRC and Taylor","type":"Residence"},{"location":"Thurston-Bowles","pickup":"MBRB/Taylor/Thurston Bowles Courtyard","type":"Medical"}]}'); 346 347/***/ }) 348 349}]); 350//# sourceMappingURL=src_app_pages_location_location_module_ts.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.