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,EAAAC,GAAA,EAAAD,IDRnC9C,MAAA,WAQIA,MALA,EAAAkW,EAAA,YAKAlW,CALkD,EAAAmW,EAAA,aA4BlDnW,MAAA,WAAiCA,MAAA,0BAAS+C,EAAAS,SAAS,GAC/CxD,MAAA,SAAmFA,MAAA,SAEvFA,UAEAA,MAAA,WAAsCA,MAAA,0BAAS+C,EAAAS,SAAS,GAG5DxD,iBAtCIA,MAAA,UAAAA,MAAA,EAAAS,EAAAsC,EAAAgF,cAE8B/H,cAAA,OAAA+C,EAAAoS,cAKOnV,cAAA,OAAA+C,EAAAoS,8iDCA5BU,CAAsB,oDCH5B,IAAMO,EAAyB,UAAAC,EAAhC,MAAOD,EAEX,oBAAaE,CAAiBlY,GACzBA,EACDqN,WAAW,KACT5N,KAAK0Y,WAAWC,cAAcC,MAAMC,QAAQ,QAC3C,KAEH7Y,KAAK0Y,WAAWC,cAAcC,MAAMC,QAAQ,OAEhD,CAEAjZ,YAAoB8Y,GAAA1Y,KAAA0Y,YAA0B,WAZnCH,0CAAyBpW,aAAA,0BAAzBoW,EAAyB3T,UAAA,6BAAAmB,OAAA,CAAA0S,iBAAA,sBAAzBF,CAAyB","names":["getRestaurant","gql","getRestaurantBookingDetailsBySlug","getRestaurantBySlug","getRestaurantMenusBySlug","getRestaurants","RestaurantService","_RestaurantService","constructor","apollo","appHotelService","localeService","this","componenteAbierto","getById","id","variables","toString","locale","value","query","pipe","map","obj","normalizeStrapiV3","changes","orderData","_","restaurant","toPromise","slug","filters","and","IsActive","eq","Slug","restaurants","hotel","getRestaurantBySlugAndId","hotelId","data","filterExpressStores","filter","IsExpressStore","setOpenMenu","open","isOpenMenu","i0","i1","i2","i3","factory","ɵfac","restaurant_r1","MainPhoto","url","_c0","ctx_r1","restaurantListReady","Name","RestaurantListPage_ng_template_2_preloader_3_Template","RestaurantListPage_ng_template_2_caption_box_4_Template","appHotelData","LongName","restaurantList","RestaurantListPage","_RestaurantListPage","gtmService","alertService","restaurantService","ngOnInit","subscriptionHotel","subscribe","rta","init","ngOnDestroy","unsubscribe","sendVirtualPageView","pageTitle","then","res","sort","a","b","Order","err","showException","i4","selectors","decls","vars","consts","template","rf","ctx","RestaurantListPage_ng_container_1_Template","RestaurantListPage_ng_template_2_Template","restaurantListPageTemplate_r3","item_r1","Title","item_r2","RestaurantMenuPresentationComponent","_RestaurantMenuPresentationComponent","onClose","EventEmitter","closeModel","emit","inputs","restaurantInfo","outputs","RestaurantMenuPresentationComponent_preloader_1_Template","RestaurantMenuPresentationComponent_div_9_Template","RestaurantMenuPresentationComponent_div_10_Template","restaurant_menus","MenuFile","itemWidth","menuItem_r3","MenuImage","restaurant_menu_type","Image","menuItem_r4","$event","_r1","isDragging","dragging","MenuCarouselComponent_div_0_swiper_slide_6_Template","MenuCarouselComponent_div_0_swiper_slide_7_Template","swiperOptions","menuFilesDigital","menuFilesPdf","MenuCarouselComponent","_MenuCarouselComponent","slidesPerView","spaceBetween","centeredSlides","centerInsufficientSlides","breakpoints","lenghtFiles","length","MenuCarouselComponent_div_0_Template","_r3","openMenuPresentation","_r4","showModalService","Services","Location","OpeningHours","Phone","socialMedia_r5","Value","_c3","i_r6","SocialMedia","SocialMediaType","toLowerCase","RestaurantHomePage_div_0_ng_container_2_div_14_div_5_a_7_Template","RestaurantHomePage_div_0_ng_container_2_div_14_div_2_Template","RestaurantHomePage_div_0_ng_container_2_div_14_div_3_Template","RestaurantHomePage_div_0_ng_container_2_div_14_div_4_Template","RestaurantHomePage_div_0_ng_container_2_div_14_div_5_Template","_r7","imageLightbox_r8","show","galleryData","close","RestaurantHomePage_div_0_ng_container_2_a_9_Template","RestaurantHomePage_div_0_ng_container_2_div_12_Template","RestaurantHomePage_div_0_ng_container_2_div_13_Template","RestaurantHomePage_div_0_ng_container_2_div_14_Template","RestaurantHomePage_div_0_ng_container_2_gallery_15_Template","showDigitalMenus","Description","RestaurantHomePage_div_0_preloader_1_Template","RestaurantHomePage_div_0_ng_container_2_Template","modalOpened","_r9","closeModalPdf","documentData","_r10","closeModalServiceDetail","openPDFSerice","serviceSelect","_r11","closeModalMenuPresentation","RestaurantHomePage","_RestaurantHomePage","route","router","location","navigationService","contentPage","ngAfterViewInit","deletaParam","urlParts","path","split","pop","newUrl","join","replaceState","navigateByUrl","skipLocationChange","_this","restaurantSlug","snapshot","params","restaurant_Slug","_ref","_asyncToGenerator","restaurant_visualization","PhotoRoll","forEach","photoItem","Photo","push","imgURL","captionTitle","captionSubtitle","showMenu","localizations","find","x","restauanteEs","console","error","restauante","navigate","relativeTo","parent","_x","apply","arguments","setTimeout","openMenu","modalPdfViewer","closeModal","service","modalServiceDetail","openModal","name","PDF","modalMenuPresentation","previousUrl","getPreviousUrl","delete","_b","_a","city","Country","_c","i5","i6","i7","viewQuery","RestaurantHomePage_div_0_Template","RestaurantHomePage_menu_viewer_page_5_Template","RestaurantHomePage_div_8_Template","RestaurantHomePage_ng_template_9_Template","modalPdfViewer_r12","modalActive","sendRequest","restaurantBookingForm","valid","BookingForm","_BookingForm","fb","apiGuestService","formObject","date","Validators","required","time","numberPersons","lastName","clientEmail","email","clientMobilePhone","pattern","clientPhone","comments","userHosted","room","loading","group","IdHotel","requestTypeId","restaurantName","toDateString","create","message","publishMessage","next","text","color","sendGuestServiceRequestMade","categoryRequest","reset","reason","onUserHostedChange","log","controls","setValidators","setValue","updateValueAndValidity","BookingForm_asterial_input_29_Template","BookingForm_a_44_Template","BookingForm_preloader_45_Template","ctx_r0","restaurantData","onBack","routes","component","animation","title","loadChildren","__webpack_require__","e","bind","m","ShoppingCartModule","_RestaurantBookingPage","RestaurantBookingPage","restauranService","activatedRoute","goBack","RestaurantBookingPage_preloader_4_Template","RestaurantBookingPage_ng_container_5_Template","_RestaurantMenuViewerPage","RestaurantMenuViewerPage","trasale","subscriptions","hotelSlug","openRestaurantMenuPdf","menuFileId","file","File","instant","sub","pdfPage","ModalPageComponent","RestaurantMenuViewerPage_preloader_1_Template","RestaurantMenuViewerPage_menu_viewer_page_4_Template","modalPage_r3","redirectTo","pathMatch","RestaurantsRoutingModule","_RestaurantsRoutingModule","RouterModule","forChild","RestaurantsModule","_RestaurantsModule","imports","CommonModule","SharedModule","PdfViewerModule","ContentViewerModule","ReactiveFormsModule","MarkdownModule","forRoot","TranslateModule","PageHeaderComponent","i_r2","index","ctx_r2","onImgClick","tabIndexActive","galeryItem_r4","previewUrl","imgHeight","isVideo","GalleryComponent_div_12_a_2_Template","GalleryComponent","_GalleryComponent","onResize","clientWidth","document","body","setImageHeight","imageClicked","changeView","hostBindings","GalleryComponent_div_12_Template","imgActiveCaption","_c1","imgActiveindex","imgArray","imgActiveURL","widthIframe","heightIframe","_r2","onPrev","onNext","ImageLightboxComponent_div_2_img_1_Template","ImageLightboxComponent_div_2_iframe_2_Template","ImageLightboxComponent_div_2_div_3_Template","ImageLightboxComponent_div_2_div_4_Template","ImageLightboxComponent","_ImageLightboxComponent","Math","ceil","clientHeight","ImageLightboxComponent_div_1_Template","ImageLightboxComponent_div_2_Template","ModalContentPageDirective","_ModalContentPageDirective","ModalContentPage","elementRef","nativeElement","style","display"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/app/modules/restaurants/queries/restaurant.queries.ts","./src/app/modules/restaurants/queries/hotel.queries.ts","./src/app/modules/restaurants/services/restaurant.service.ts","./src/app/modules/restaurants/pages/restaurant-list/restaurant-list.page.html","./src/app/modules/restaurants/pages/restaurant-list/restaurant-list.page.ts","./src/app/modules/restaurants/pages/restaurant-menu-presentation/restaurant-menu-presentation.component.html","./src/app/modules/restaurants/pages/restaurant-menu-presentation/restaurant-menu-presentation.component.ts","./src/app/modules/restaurants/components/menu-carousel/menu-carousel.component.html","./src/app/modules/restaurants/components/menu-carousel/menu-carousel.component.ts","./src/app/modules/restaurants/pages/restaurant-home/restaurant-home.page.html","./src/app/modules/restaurants/pages/restaurant-home/restaurant-home.page.ts","./src/app/modules/restaurants/forms/booking/booking.form.html","./src/app/modules/restaurants/forms/booking/booking.form.ts","./src/app/modules/restaurants/pages/restaurant-booking/restaurant-booking.page.html","./src/app/modules/restaurants/pages/restaurant-menu-viewer/restaurant-menu-viewer.page.html","./src/app/modules/restaurants/restaurants-routing.module.ts","./src/app/modules/restaurants/pages/restaurant-booking/restaurant-booking.page.ts","./src/app/modules/restaurants/pages/restaurant-menu-viewer/restaurant-menu-viewer.page.ts","./src/app/modules/restaurants/restaurants.module.ts","./src/app/modules/shared/components/gallery/gallery.component.html","./src/app/modules/shared/components/gallery/gallery.component.ts","./src/app/modules/shared/components/image-lightbox/image-lightbox.component.html","./src/app/modules/shared/components/image-lightbox/image-lightbox.component.ts","./src/app/modules/shared/directives/modal-content-page.directive.ts"],"sourcesContent":["import {gql} from 'apollo-angular';\n\nexport const getRestaurant = gql`query getRestaurant($id: ID!, $locale: I18NLocaleCode) {\n restaurant(id: $id, locale: $locale) {\n data {\n id\n attributes {\n Name\n Description\n MainPhoto{\n data {\n id\n attributes {\n url\n }\n }\n }\n PhotoRoll{\n id\n Description\n Photo{\n data {\n id\n attributes {\n url\n }\n }\n }\n }\n MenuFile{\n id\n Name\n File{\n data {\n id\n attributes {\n url\n }\n }\n }\n IsActive\n Order\n MenuImage{\n data {\n id\n attributes {\n url\n }\n }\n }\n restaurant_menu_type{\n data {\n id\n attributes {\n Image {\n data {\n id\n attributes {\n url\n }\n }\n }\n }\n }\n }\n }\n restaurant_menus{\n data {\n id\n attributes {\n IsActive\n Order\n }\n }\n }\n IsBookable\n }\n }\n }\n}`;\n\nexport const getRestaurantBookingDetailsBySlug = gql`query getRestaurantBookingDetailsBySlug($filters: RestaurantFiltersInput, $locale: I18NLocaleCode) {\n restaurants(filters: $filters, locale: $locale) {\n data {\n id\n attributes {\n OpeningHours\n MaxNumberOfPeople\n Name\n }\n }\n }\n}`;\n\nexport const getRestaurantBySlug = gql`query getRestaurantBySlug($filters: RestaurantFiltersInput, $locale: I18NLocaleCode) {\n restaurants(filters: $filters, locale: $locale) {\n data {\n id\n attributes {\n Name\n Slug\n Description\n Location\n OpeningHours\n Phone\n restaurant_visualization {\n data {\n id\n attributes {\n RestaurantVisualizationCode\n Name\n }\n }\n }\n SocialMedia {\n Value\n SocialMediaType {\n data {\n attributes {\n Name\n }\n }\n }\n }\n Services (filters: {IsActive:{eq:true}}) {\n Name\n PathIcon\n Description\n Order\n ServiceIcon {\n data {\n attributes {\n url\n caption\n }\n }\n }\n PDF {\n data {\n attributes {\n url\n }\n }\n }\n }\n MainPhoto {\n data {\n id\n attributes {\n url\n __typename\n }\n __typename\n }\n __typename\n }\n PhotoRoll {\n id\n Description\n Photo {\n data {\n id\n attributes {\n url\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n MenuFile {\n id\n Name\n IsActive\n Order\n MenuImage {\n data {\n id\n attributes {\n url\n __typename\n }\n __typename\n }\n __typename\n }\n restaurant_menu_type {\n data {\n id\n attributes {\n Image {\n data {\n id\n attributes {\n url\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n restaurant_menus(filters: {IsActive:{eq:true}}) {\n data {\n id\n attributes {\n Title\n IsActive\n Order\n restaurant_menu_type {\n data {\n attributes {\n IsActive\n Image {\n data {\n attributes {\n url\n }\n }\n }\n }\n }\n }\n __typename\n }\n __typename\n }\n __typename\n }\n IsBookable\n __typename\n }\n __typename\n }\n __typename\n }\n}`;\n\nexport const getRestaurantMenusBySlug = gql`query getRestaurantMenusBySlug($filters: RestaurantFiltersInput, $locale: I18NLocaleCode) {\n restaurants(filters: $filters, locale: $locale) {\n data {\n id\n attributes {\n MenuFile{\n id\n File{\n data {\n id\n attributes {\n url\n name\n }\n }\n }\n IsActive\n }\n }\n }\n }\n}`;\n","import {gql} from 'apollo-angular';\n\nexport const getRestaurants = gql`query getRestaurants($id: ID!, $locale: I18NLocaleCode) {\n hotel(id: $id, locale: $locale) {\n data {\n id\n attributes {\n restaurants(filters: { \n and: [ { IsActive: { eq: true } },{or:[{ShowInApp: {eq:true}},{ShowInApp: {eq:null}}]}]\n }) {\n data {\n id\n attributes {\n Name\n Order\n Slug\n IsActive\n MainPhoto{\n data {\n id\n attributes {\n url\n }\n }\n }\n IsExpressStore\n }\n }\n }\n }\n }\n }\n}`;\n","import { Injectable } from '@angular/core';\nimport { Apollo } from 'apollo-angular';\nimport {\n getRestaurant,\n getRestaurantBySlug,\n getRestaurantBookingDetailsBySlug,\n getRestaurantMenusBySlug\n} from '../queries/restaurant.queries';\nimport { map } from 'rxjs/operators';\nimport {\n GetRestaurantQuery,\n GetRestaurantBySlugQuery,\n GetRestaurantBookingDetailsBySlugQuery,\n GetRestaurantsQuery,\n GetRestaurantMenusBySlugQuery,\n GetRestaurantQueryVariables\n} from 'src/app/generatedGQLTypes';\nimport { getRestaurants } from '../queries/hotel.queries';\nimport { AppHotelService } from '../../app-hotel/services/app-hotel.service';\nimport { orderData } from '../../graph-ql/orderFunction';\nimport * as _ from 'lodash';\nimport {normalizeStrapiV3} from '../../shared/utils/normalizeStrapiV3' ;\nimport {\n GetRestaurantQueryDto,\n GetRestaurantBySlugQueryDto,\n GetRestaurantBookingDetailsBySlugQueryDto,\n GetRestaurantsQueryDto,\n GetRestaurantMenusBySlugQueryDto\n} from 'src/app/generatedGQLTypesDto';\nimport { LocaleService } from '../../shared/services/locale.service';\n@Injectable()\nexport class RestaurantService {\n private componenteAbierto = false;\n\n constructor(\n private apollo: Apollo,\n private appHotelService: AppHotelService,\n private localeService:LocaleService\n\n ) { }\n\n public getById(id: number): Promise {\n const variables : GetRestaurantQueryVariables = {\n id:id.toString()\n }\n const locale = this.appHotelService.value.locale;\n if(locale != null){\n variables.locale = locale;\n }\n return this.apollo.query({\n query: getRestaurant,\n variables\n })\n .pipe(map( obj => normalizeStrapiV3(obj) ))\n .pipe(map(changes => orderData(_.cloneDeep(changes.restaurant)))).toPromise();\n }\n\n public getRestaurantBookingDetailsBySlug(slug: string): Promise {\n return this.apollo.query({\n query: getRestaurantBookingDetailsBySlug,\n variables: {\n filters:\n {\n \"and\":[\n {\"IsActive\": {\"eq\":true} },\n {\"Slug\": {\"eq\": slug || false} }\n ]\n },\n locale:this.appHotelService.value.locale\n }\n })\n .pipe(map( obj => normalizeStrapiV3(obj) ))\n .pipe(map(changes => changes.restaurants)).toPromise();\n }\n\n public getRestaurantBySlug(slug: string): Promise {\n const hotel = this.appHotelService.value.id;\n return this.apollo.query({\n query: getRestaurantBySlug,\n variables: {\n filters:\n {\n\n \"IsActive\": {\n \"eq\": true\n },\n \"Slug\":{\n \"eq\": slug || false\n },\n \"hotel\": {\n \"id\": {\n \"eq\": hotel || false\n }\n\n },\n },\n locale:this.appHotelService.value.locale\n }\n })\n .pipe(map( obj => normalizeStrapiV3(obj) ))\n .pipe(map(changes => orderData(_.cloneDeep(changes.restaurants)))).toPromise();\n }\n\n public getRestaurantBySlugAndId(hotelId:string, slug: string, locale:string): Promise {\n return this.apollo.query({\n query: getRestaurantBySlug,\n variables: {\n filters:\n {\n\n \"IsActive\": {\n \"eq\": true\n },\n \"Slug\":{\n \"eq\": slug || false\n },\n \"hotel\": {\n \"id\": {\n \"eq\": hotelId || false\n }\n\n },\n },\n locale:locale\n }\n })\n .pipe(map( obj => normalizeStrapiV3(obj) ))\n .pipe(map(changes => orderData(_.cloneDeep(changes.restaurants)))).toPromise();\n }\n\n getRestaurants(): Promise {\n return this.apollo.query({\n query: getRestaurants,\n variables: {\n id: this.appHotelService.value.id,\n locale:this.appHotelService.value.locale\n }\n })\n .pipe(map( obj => normalizeStrapiV3(obj.data) ))\n .pipe(map(changes => orderData(this.filterExpressStores(_.cloneDeep(changes.hotel))))).toPromise()\n }\n\n private filterExpressStores(data: GetRestaurantsQueryDto['hotel']): GetRestaurantsQueryDto['hotel'] {\n data.restaurants = data.restaurants.filter(restaurant => !restaurant.IsExpressStore);\n return data\n }\n\n getRestaurantMenusBySlug(slug: string): Promise {\n return this.apollo.query({\n query: getRestaurantMenusBySlug,\n variables: {\n filters:\n {\n \"and\":[\n {\"IsActive\": {\"eq\":true} },\n {\"Slug\": {\"eq\": slug || false} }\n ]\n },\n locale:this.appHotelService.value.locale\n }\n })\n .pipe(map( obj => normalizeStrapiV3(obj) ))\n .pipe(map(changes => changes.restaurants)).toPromise();\n }\n\n setOpenMenu(open: boolean) {\n this.componenteAbierto = open;\n }\n\n isOpenMenu(): boolean {\n return this.componenteAbierto;\n }\n\n}\n","
\n \n \n \n\n \n \n\n
\n\n \n \n
\n {{'restaurantsPage.more_info'|translate}}\n
\n\n
\n\n

{{restaurant.Name}}

\n
\n
\n\n
\n
\n","import { Component, OnDestroy, OnInit } from '@angular/core';\nimport { AppHotelService } from 'src/app/modules/app-hotel/services/app-hotel.service';\nimport { GTMService } from 'src/app/services/gtm.service';\nimport { AlertService } from 'src/app/services/alert.service';\nimport { RestaurantService } from '../../services/restaurant.service';\nimport { GetHotelIdBySlugQueryDto, GetRestaurantsQueryDto } from 'src/app/generatedGQLTypesDto';\nimport {Subscription} from 'rxjs';\nimport { TranslateService } from '@ngx-translate/core';\n@Component({\n selector: 'restaurants-page',\n templateUrl: './restaurant-list.page.html',\n styleUrls: ['./restaurant-list.page.scss']\n})\nexport class RestaurantListPage implements OnInit, OnDestroy {\n\n restaurantList: GetRestaurantsQueryDto['hotel']['restaurants'];\n restaurantListReady = false;\n appHotelData: GetHotelIdBySlugQueryDto['hotels'][0];\n subscriptionHotel: Subscription;\n\n constructor(\n private appHotelService: AppHotelService,\n private gtmService: GTMService,\n private alertService: AlertService,\n private restaurantService: RestaurantService,\n ) { }\n\n ngOnInit(): void {\n this.subscriptionHotel = this.appHotelService.subscribe( rta=>{\n this.init();\n });\n }\n\n ngOnDestroy(): void {\n this.subscriptionHotel.unsubscribe()\n }\n\n\n init(){\n this.appHotelData = this.appHotelService.value\n this.gtmService.sendVirtualPageView({ hotel: this.appHotelData.slug, pageTitle: 'restaurantes' });\n this.restaurantService.setOpenMenu(false);\n this.restaurantService.getRestaurants().then(\n res => {\n this.restaurantList = res?.restaurants.sort( (a,b) => a.Order??999 - b.Order??999 );\n this.restaurantListReady = true;\n },\n err => {\n this.alertService.showException(err)\n }\n )\n }\n\n}\n","
\n \n
\n \n
\n \n \n\n

\n {{restaurantInfo?.Name}}\n

\n\n
\n
\n \n
\n\n
\n \n
\n
\n
\n\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { GetRestaurantBySlugQueryDto } from 'src/app/generatedGQLTypesDto';\n\n@Component({\n selector: 'restaurant-menu-presentation',\n templateUrl: './restaurant-menu-presentation.component.html',\n styleUrls: ['./restaurant-menu-presentation.component.scss']\n})\nexport class RestaurantMenuPresentationComponent implements OnInit {\n\n @Output() onClose = new EventEmitter();\n @Input() restaurantInfo: GetRestaurantBySlugQueryDto['restaurants'][0];\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n closeModel(){\n if(this.onClose != null){\n this.onClose.emit();\n }\n }\n\n}\n","
0 || menuFilesPdf?.length>0 \">\n
\n\n

{{'restaurantPage.menu'|translate}}

\n\n \n \n \n
\n

{{menuItem.Title}}

\n
\n
\n
\n \n \n
\n

{{menuItem.Name}}

\n
\n
\n
\n
\n
\n
","import { Component, Input, OnInit } from '@angular/core';\nimport { GetRestaurantBySlugQueryDto } from 'src/app/generatedGQLTypesDto';\nimport { SwiperOptions } from 'swiper/types';\n\n@Component({\n selector: 'menu-carousel',\n templateUrl: './menu-carousel.component.html',\n styleUrls: ['./menu-carousel.component.scss']\n})\nexport class MenuCarouselComponent implements OnInit {\n\n swiperOptions: SwiperOptions;\n isDragging = false;\n itemWidth: string;\n\n @Input() menuFilesPdf: GetRestaurantBySlugQueryDto['restaurants'][0]['restaurant_menus'];\n @Input() menuFilesDigital: GetRestaurantBySlugQueryDto['restaurants'][0]['MenuFile'];\n\n \n constructor() { }\n\n ngOnInit(): void {\n this.swiperOptions = {\n slidesPerView: 2,\n spaceBetween: 15,\n centeredSlides: false,\n centerInsufficientSlides: true,\n breakpoints: {\n 0: {\n slidesPerView: 2.2\n },\n 500: {\n slidesPerView: 3.2\n },\n 850: {\n slidesPerView: 4.2\n }\n },\n // navigation: false,\n // pagination: { clickable: true },\n // scrollbar: { draggable: true },\n };\n let lenghtFiles = this.menuFilesDigital.length + this.menuFilesPdf.length;\n if (lenghtFiles > 0) {\n this.itemWidth = lenghtFiles >= 2 ? '40vw' : '90vw';\n }\n }\n\n}\n","
\n \n\n \n \n
\n \n \n
\n
\n

{{restaurantInfo.Name}}\n

\n
\n
\n\n\n\n \n\n
\n \n
\n\n
\n \n
\n\n\n\n \n
0\">\n
\n

{{'restaurantPage.service_title'|translate}}

\n
\n \n
\n\n \n
\n
\n\n
\n \n
{{'restaurantPage.location'|translate}}
\n

{{ restaurantInfo?.Location }}

\n
\n\n
\n \n
{{'restaurantPage.openingHours'|translate}}
\n \n
\n\n
\n \n
{{'restaurantPage.bookingPhone_label'|translate}}
\n

\n \n {{ restaurantInfo?.Phone }}\n \n

\n\n
\n\n
0\">\n \n
{{'restaurantPage.socialMedia'|translate}}
\n
\n

\n \n \n \n

\n
\n\n \n
\n\n
\n
\n\n\n \n\n
\n
\n\n\n\n\n \n\n\n\n\n \n\n\n\n \n \n \n\n","import { AfterViewInit, Component, OnInit, ViewChild } from '@angular/core';\nimport { ActivatedRoute, NavigationEnd, Router } from '@angular/router';\nimport { RestaurantService } from '../../services/restaurant.service';\nimport { galleryItem } from 'src/app/modules/app-hotel/models/galleryItem.model';\nimport { AppHotelService } from 'src/app/modules/app-hotel/services/app-hotel.service';\nimport { GTMService } from 'src/app/services/gtm.service';\nimport { AlertService } from 'src/app/services/alert.service';\nimport { GetHotelIdBySlugQueryDto, GetRestaurantBySlugQueryDto } from 'src/app/generatedGQLTypesDto';\nimport { Subscription } from 'rxjs';\nimport SwiperOptions from 'swiper';\nimport { MenuViewerDocumentData } from 'src/app/modules/shared/models/menuViewer.model';\nimport { ModalPageComponent } from 'src/app/modules/shared/components/modal-page/modal-page.component';\nimport { Location } from '@angular/common';\nimport { NavigationService } from 'src/app/modules/shared/services/navigation.service';\n\n@Component({\n selector: 'restaurant-home-page',\n templateUrl: './restaurant-home.page.html',\n styleUrls: ['./restaurant-home.page.scss']\n})\nexport class RestaurantHomePage implements OnInit,AfterViewInit {\n\n restaurantInfo: GetRestaurantBySlugQueryDto['restaurants'][0];\n galleryData: Array;\n showMenu: boolean;\n appHotelData: GetHotelIdBySlugQueryDto['hotels'][0];\n serviceSelect: GetRestaurantBySlugQueryDto['restaurants'][0]['Services'][0];\n showDigitalMenus: boolean = false;\n contentPage:boolean=true;\n\n subscriptionHotel: Subscription;\n swiperOptions: SwiperOptions;\n documentData: MenuViewerDocumentData;\n\n @ViewChild('modalPdfViewer') modalPdfViewer: ModalPageComponent;\n @ViewChild('modalServiceDetail') modalServiceDetail: ModalPageComponent;\n @ViewChild('modalMenuPresentation') modalMenuPresentation: ModalPageComponent;\n\n\n private restaurantSlug: string;\n\n\n constructor(\n public route: ActivatedRoute,\n private restaurantService: RestaurantService,\n private router: Router,\n private appHotelService: AppHotelService,\n private gtmService: GTMService,\n private alertService: AlertService,\n private location: Location,\n private navigationService:NavigationService\n ) {\n\n // this.swiperOptions = {\n // slidesPerView: 2,\n // spaceBetween: 15,\n // autoplay: {\n // delay: 4000,\n // },\n // loop: true,\n // loopPreventsSlide: true,\n // loopAdditionalSlides: 1,\n\n // navigation: false,\n // pagination: { clickable: true },\n // scrollbar: { draggable: true },\n // };\n }\n ngAfterViewInit(): void {\n if(this.restaurantService.isOpenMenu()){\n this.openMenuPresentation();\n }\n }\n\n deletaParam(){\n const currentUrl = this.location.path(); \n const urlParts = currentUrl.split('/');\n urlParts.pop(); \n const newUrl = urlParts.join('/');\n this.location.replaceState(newUrl);\n this.router.navigateByUrl(newUrl, { skipLocationChange: true });\n }\n\n ngOnInit(): void {\n this.subscriptionHotel = this.appHotelService.subscribe(rta => {\n this.init();\n });\n }\n\n ngOnDestroy(): void {\n this.subscriptionHotel.unsubscribe()\n }\n\n init() {\n this.appHotelData = this.appHotelService.value\n this.restaurantSlug = this.route.snapshot.params.restaurant_Slug;\n this.gtmService.sendVirtualPageView({ hotel: this.appHotelData.slug, pageTitle: this.restaurantSlug, restaurant: this.restaurantSlug });\n this.restaurantService.getRestaurantBySlug(this.restaurantSlug).then(\n async res => {\n if (res && res.length > 0) {\n this.restaurantInfo = res[0];\n this.restaurantInfo.Services = this.restaurantInfo?.Services.sort((a, b) => a.Order - b.Order);\n this.showDigitalMenus = this.restaurantInfo?.restaurant_visualization !== null ? this.restaurantInfo.restaurant_visualization['id'] == \"2\" : false;\n\n // if (this.swiperOptions.slidesPerView != 'auto' && this.restaurantInfo.Services?.length < this.swiperOptions.slidesPerView) {\n // this.swiperOptions.slidesPerView = this.restaurantInfo.Services?.length;\n // this.swiperOptions.loop = false;\n // }\n\n\n let galleryData: Array = [];\n if (this.restaurantInfo.PhotoRoll) {\n this.restaurantInfo.PhotoRoll.forEach(photoItem => {\n if (photoItem.Photo) {\n galleryData.push({\n imgURL: photoItem.Photo.url,\n captionTitle: photoItem.Description,\n captionSubtitle: ''\n })\n\n }\n });\n if (galleryData.length > 0) this.galleryData = galleryData;\n }\n\n\n //Load restaurant menu\n this.appHotelData.localizations\n \n if(this.appHotelData.locale != 'es' && this.restaurantInfo.restaurant_menus?.length == 0){\n this.showMenu = false\n const hotel = this.appHotelData.localizations.find(x=>x.locale == 'es')\n if(hotel){\n try {\n const restauanteEs = await this.restaurantService.getRestaurantBySlugAndId(hotel.id, this.restaurantSlug, hotel.locale);\n if(restauanteEs.length > 0){\n this.restaurantInfo.restaurant_menus = restauanteEs[0].restaurant_menus;\n if (this.restaurantInfo.restaurant_menus?.length > 0) {\n this.showMenu = true\n }\n }\n } catch (error) {\n console.error({ restauanteEs: 'error' });\n }\n }\n }else{\n if (this.restaurantInfo.restaurant_menus?.length > 0) {\n this.showMenu = true\n }\n }\n \n\n } else {\n console.error({ restauante: 'error' });\n\n this.router.navigate(['./'], { relativeTo: this.route.parent })\n }\n\n },\n err => {\n this.alertService.showException(err)\n setTimeout(() => {\n this.router.navigate(['./'], { relativeTo: this.route.parent })\n }, 2700);\n }\n )\n const openMenu = this.route.snapshot.params.openMenu;\n if(openMenu == 1){\n this.restaurantService.setOpenMenu(true);\n this.deletaParam();\n }\n }\n\n\n closeModalPdf() {\n if (this.serviceSelect) {\n this.showModalService(this.serviceSelect);\n }\n this.modalPdfViewer.closeModal();\n\n }\n\n showModalService(service: GetRestaurantBySlugQueryDto['restaurants'][0]['Services'][0]) {\n this.serviceSelect = service;\n this.modalServiceDetail.openModal();\n }\n closeModalServiceDetail() {\n this.serviceSelect = null;\n this.modalServiceDetail.closeModal()\n }\n\n openPDFSerice(service: GetRestaurantBySlugQueryDto['restaurants'][0]['Services'][0]) {\n this.modalServiceDetail.closeModal()\n this.documentData = {\n hotel: this.appHotelData.slug,\n name: service.Name,\n url: service.PDF.url\n }\n this.modalPdfViewer.openModal()\n }\n openMenuPresentation() {\n this.contentPage = false;\n this.restaurantService.setOpenMenu(true);\n this.modalMenuPresentation.openModal();\n }\n closeModalMenuPresentation() {\n this.contentPage = true;\n this.restaurantService.setOpenMenu(false);\n this.modalMenuPresentation.closeModal();\n }\n\n close(){ \n const previousUrl = this.navigationService.getPreviousUrl();\n if (previousUrl) {\n this.navigationService.delete(previousUrl);\n this.router.navigateByUrl(previousUrl);\n } else {\n this.appHotelData ? this.router.navigate(['hoteles',this.appHotelData.city?.Country?.slug,this.appHotelData.city?.slug,this.appHotelData.slug]) :\n this.router.navigate(['hoteles']);\n }\n }\n}\n","
\n
{{'bookingPage.restaurant_info'|translate}} *
\n \n \n \n \n\n
{{'bookingPage.personal_info'|translate}}
\n
\n \n
\n \n \n
\n
\n \n \n
\n
\n \n \n \n \n \n \n \n \n \n \n\n
\n *{{'bookingPage.conditions'|translate}}\n
\n\n \n\n {{'keyWords.send'|translate}}\n \n\n
\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Validators, UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';\nimport { AppHotelService } from 'src/app/modules/app-hotel/services/app-hotel.service';\nimport { ApiGuestService } from 'src/app/modules/shared/services/api-guest.service';\nimport { AlertService } from 'src/app/services/alert.service';\nimport { GTMService } from 'src/app/services/gtm.service';\n\nconst RESTAURANT_BOOKING_GSTYPE = 131;\n\n@Component({\n selector: 'booking-form',\n templateUrl: './booking.form.html',\n styleUrls: ['./booking.form.scss'],\n})\nexport class BookingForm implements OnInit {\n private formObject = {\n date: [null, [Validators.required]],\n time: [null, [Validators.required]],\n numberPersons: [null, [Validators.required]],\n lastName: [null, [Validators.required]],\n clientEmail: [null, [Validators.required, Validators.email]],\n clientMobilePhone: [null, [Validators.required, Validators.pattern('^\\\\+?[0-9]{6,15}$')]],\n clientPhone: [null],\n comments: [null, [Validators.required]],\n userHosted: ['no', [Validators.required]],\n room: ['000', [Validators.required]],\n // terms: [null, [Validators.required]]\n };\n\n restaurantBookingForm: UntypedFormGroup;\n loading = false;\n\n @Input() restaurantName: string;\n\n constructor(\n private fb: UntypedFormBuilder,\n private apiGuestService: ApiGuestService,\n private appHotelService: AppHotelService,\n private gtmService: GTMService,\n private alertService: AlertService\n ) {\n this.restaurantBookingForm = this.fb.group(this.formObject);\n }\n\n ngOnInit(): void {}\n\n sendRequest() {\n if (this.restaurantBookingForm.valid) {\n this.loading = true;\n let data = {\n ...this.restaurantBookingForm.value,\n hotelId: this.appHotelService.value.IdHotel,\n name: this.appHotelService.value.slug,\n requestTypeId: RESTAURANT_BOOKING_GSTYPE,\n restaurantName: this.restaurantName,\n comments: `RESTAURANTE: ${\n this.restaurantName\n }, FECHA RESERVA: ${this.restaurantBookingForm.value.date.toDateString()}, booking time: ${\n this.restaurantBookingForm.value.time\n }, PERSONAS: ${\n this.restaurantBookingForm.value.numberPersons\n }, NOMBRE CLIENTE: ${\n this.restaurantBookingForm.value.lastName\n }, HOSPEDADO: ${\n this.restaurantBookingForm.value.userHosted\n }, HABITACION: ${this.restaurantBookingForm.value.room}, CORREO CLIENTE ${\n this.restaurantBookingForm.value.clientEmail\n }, CELULAR DEL CLIENTE ${\n this.restaurantBookingForm.value.clientMobilePhone\n }, TELEFONO DEL CLIENTE${\n this.restaurantBookingForm.value.clientPhone\n }, OBSERVACIONES ${this.restaurantBookingForm.value.comments}`,\n };\n this.apiGuestService\n .create(data)\n .toPromise()\n .then(\n (message) => {\n //Notificar\n message['hotelId'] = this.appHotelService.value.IdHotel;\n this.apiGuestService\n .publishMessage(message)\n .toPromise()\n .then(\n () => {\n this.loading = false;\n this.alertService.next({\n text: 'Su solictud ha sido creada con éxito',\n color: 'success',\n time: 3000,\n });\n this.gtmService.sendGuestServiceRequestMade({\n hotel: this.appHotelService.value.slug,\n categoryRequest: 'Reserva Restaurante'\n });\n\n this.restaurantBookingForm.reset();\n },\n (reason) => {\n console.error(reason);\n }\n );\n },\n () => {\n this.loading = false;\n this.alertService.next({\n text: 'Error al crear la solictud',\n color: 'alert',\n time: 3000,\n });\n }\n );\n }\n }\n\n onUserHostedChange() {\n console.log(this.restaurantBookingForm.controls['userHosted'].value);\n let userHosted = this.restaurantBookingForm.controls['userHosted'].value;\n if (userHosted == 'yes') {\n this.restaurantBookingForm.controls['room'].setValidators([\n Validators.required,\n ]);\n this.restaurantBookingForm.controls['room'].setValue(null);\n } else {\n this.restaurantBookingForm.controls['room'].setValidators([]);\n this.restaurantBookingForm.controls['room'].setValue('000');\n }\n this.restaurantBookingForm.controls['room'].updateValueAndValidity();\n }\n}\n","{{'bookingPage.go_back'|translate}}\n
\n \n\n \n \n\n \n
\n\n
\n \n
\n
\n\n\n
\n","
\n \n
\n\n\n \n","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { RestaurantListPage } from './pages/restaurant-list/restaurant-list.page';\nimport { RestaurantHomePage } from './pages/restaurant-home/restaurant-home.page';\nimport { RestaurantBookingPage } from './pages/restaurant-booking/restaurant-booking.page';\nimport { RestaurantMenuViewerPage } from './pages/restaurant-menu-viewer/restaurant-menu-viewer.page';\n\n\nconst routes: Routes = [\n { path: '', component: RestaurantListPage, data: { animation: 'restaurantes', title: 'restaurantes' } },\n { path: ':restaurant_Slug/:openMenu', component: RestaurantHomePage, data: { animation: 'restauranteId' } },\n { path: ':restaurant_Slug', component: RestaurantHomePage, data: { animation: 'restauranteId' } },\n { path: ':restaurant_Slug/menu/:menuId', loadChildren: () => import('../shopping-cart/shopping-cart.module').then(m => m.ShoppingCartModule) },\n { path: ':restaurant_Slug/menu', loadChildren: () => import('../shopping-cart/shopping-cart.module').then(m => m.ShoppingCartModule) },\n { path: ':restaurant_Slug/reserva', component: RestaurantBookingPage },\n { path: ':restaurant_Slug/menuFile/:menuFileId', component: RestaurantMenuViewerPage },\n { path: '**', redirectTo: '', pathMatch: 'full' }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule]\n})\nexport class RestaurantsRoutingModule { }\n","import { Component, OnInit } from '@angular/core';\nimport { RestaurantService } from '../../services/restaurant.service';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { AppHotelService } from 'src/app/modules/app-hotel/services/app-hotel.service';\nimport { GTMService } from 'src/app/services/gtm.service';\nimport { AlertService } from 'src/app/services/alert.service';\nimport { GetHotelIdBySlugQueryDto, GetRestaurantBookingDetailsBySlugQueryDto } from 'src/app/generatedGQLTypesDto';\n\n@Component({\n selector: 'restaurant-booking',\n templateUrl: './restaurant-booking.page.html',\n styleUrls: ['./restaurant-booking.page.scss']\n})\nexport class RestaurantBookingPage implements OnInit {\n\n restaurantData: GetRestaurantBookingDetailsBySlugQueryDto['restaurants'][0];\n appHotelData: GetHotelIdBySlugQueryDto['hotels'][0];\n\n constructor(\n private restauranService: RestaurantService,\n private activatedRoute: ActivatedRoute,\n private router: Router,\n private appHotelService: AppHotelService,\n private gtmService: GTMService,\n private alertService: AlertService\n ) {\n }\n\n ngOnInit(): void {\n let params = this.activatedRoute.snapshot.params;\n this.appHotelData = this.appHotelService.value\n this.gtmService.sendVirtualPageView({ hotel: this.appHotelData.slug, pageTitle: 'reserva', restaurant: params.restaurant_Slug });\n if (params?.restaurant_Slug) {\n this.restauranService.getRestaurantBookingDetailsBySlug(params.restaurant_Slug).then(\n res => this.restaurantData = res && res[0],\n err => {\n this.alertService.showException(err)\n }\n\n )\n\n }\n }\n\n goBack() {\n this.router.navigate(['../'], { relativeTo: this.activatedRoute })\n }\n\n}\n","import { Component, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { Subscription } from 'rxjs';\nimport { GetHotelIdBySlugQueryDto, GetRestaurantMenusBySlugQueryDto } from 'src/app/generatedGQLTypesDto';\nimport { AppHotelService } from 'src/app/modules/app-hotel/services/app-hotel.service';\nimport { ModalPageComponent } from 'src/app/modules/shared/components/modal-page/modal-page.component';\nimport { MenuViewerDocumentData } from 'src/app/modules/shared/models/menuViewer.model';\nimport { AlertService } from 'src/app/services/alert.service';\nimport { RestaurantService } from '../../services/restaurant.service';\nimport { NavigationService } from 'src/app/modules/shared/services/navigation.service';\n\n@Component({\n selector: 'app-restaurant-menu-viewer',\n templateUrl: './restaurant-menu-viewer.page.html',\n styleUrls: ['./restaurant-menu-viewer.page.scss']\n})\nexport class RestaurantMenuViewerPage implements OnInit, OnDestroy {\n\n private restaurantSlug: string;\n private menuFileId: string;\n private subscriptions: Array = [];\n private hotelSlug: string;\n\n documentData: MenuViewerDocumentData;\n @ViewChild(ModalPageComponent) private pdfPage: ModalPageComponent;\n file: GetRestaurantMenusBySlugQueryDto['restaurants'][0]['MenuFile'];\n appHotelData: GetHotelIdBySlugQueryDto['hotels'][0];\n\n\n constructor(\n private route: ActivatedRoute,\n private router: Router,\n private restaurantService: RestaurantService,\n private appHotelService: AppHotelService,\n private alertService: AlertService,\n private trasale: TranslateService,\n private navigationService:NavigationService\n ) {\n\n this.appHotelData = this.appHotelService?.value\n this.hotelSlug = this.appHotelData?.slug\n this.openRestaurantMenuPdf();\n\n }\n\n ngOnInit(): void {\n this.restaurantSlug = this.route.snapshot.params.restaurant_Slug;\n this.menuFileId = this.route.snapshot.params.menuFileId;\n\n this.restaurantService.getRestaurantMenusBySlug(this.restaurantSlug).then(\n res => {\n if (res && res.length > 0) {\n this.file = res[0].MenuFile.filter(file => (file.id == this.menuFileId && file.IsActive))\n if (this.file && this.file.length > 0 && this.file[0].File) {\n this.openRestaurantMenuPdf();\n } else {\n this.alertService.next({ text:this.trasale.instant('restaurantPage.menu_not_aviable'), color:\"alert\" })\n this.router.navigate(['../../'], { relativeTo: this.route })\n }\n } else {\n this.alertService.next({ text:this.trasale.instant('restaurantPage.menu_not_found'), color:\"alert\" })\n this.router.navigate(['../../'], { relativeTo: this.route })\n }\n }\n )\n }\n\n ngOnDestroy(): void {\n this.subscriptions.forEach(sub => sub.unsubscribe())\n }\n\n private openRestaurantMenuPdf() {\n if (this.hotelSlug && this.file && !this.pdfPage.modalActive) {\n this.documentData = {\n hotel: this.hotelSlug,\n name: this.file[0].File?.name,\n url: this.file[0].File?.url\n };\n setTimeout(() => {\n this.pdfPage.openModal();\n }, 80);\n }\n }\n\n // onBack() {\n // this.router.navigate(['../../'], { relativeTo: this.route })\n // }\n\n onBack(){ \n const previousUrl = this.navigationService.getPreviousUrl();\n if (previousUrl) {\n this.navigationService.delete(previousUrl);\n this.router.navigateByUrl(previousUrl);\n } else {\n this.appHotelData ? this.router.navigate(['hoteles',this.appHotelData.city?.Country?.slug,this.appHotelData.city?.slug,this.appHotelData.slug]) :\n this.router.navigate(['hoteles']);\n }\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { RestaurantsRoutingModule } from './restaurants-routing.module';\nimport { RestaurantListPage } from './pages/restaurant-list/restaurant-list.page';\nimport { SharedModule } from '../shared/shared.module';\nimport { RestaurantHomePage } from './pages/restaurant-home/restaurant-home.page';\nimport { RestaurantService } from './services/restaurant.service';\n// import { GalleryComponent } from '../shared/components/gallery/gallery.component';\nimport { MarkdownModule } from 'ngx-markdown';\nimport { RestaurantBookingPage } from './pages/restaurant-booking/restaurant-booking.page';\nimport { BookingForm } from './forms/booking/booking.form';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { PdfMenuCarouselComponent } from './components/pdf-carousel/pdf-carousel.component';\n//import { CarouselModule } from 'ngx-owl-carousel-o';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { RestaurantMenuViewerPage } from './pages/restaurant-menu-viewer/restaurant-menu-viewer.page';\nimport { PdfViewerModule } from 'ng2-pdf-viewer';\nimport { ContentViewerModule } from '../contentviewer/contentviewer.module';\nimport { MenudigitalCarouselComponent } from './components/menu-digital-carousel/menu-digital-carousel.component';\nimport { RestaurantMenuPresentationComponent } from './pages/restaurant-menu-presentation/restaurant-menu-presentation.component';\nimport { MenuCarouselComponent } from './components/menu-carousel/menu-carousel.component';\nimport { SwiperComponent } from \"../shared/components/swiper-component/swiper-component.component\";\nimport { SwiperElementComponent } from \"../shared/components/swiper-element/swiper-element.component\";\nimport { PageHeaderComponent } from \"../shared/components/page-header/page-header.component\";\n\n@NgModule({\n schemas:[],\n declarations: [\n RestaurantListPage,\n RestaurantHomePage,\n // GalleryComponent,\n RestaurantBookingPage,\n BookingForm,\n PdfMenuCarouselComponent,\n RestaurantMenuViewerPage,\n MenudigitalCarouselComponent,\n RestaurantMenuPresentationComponent,\n MenuCarouselComponent\n ],\n imports: [\n CommonModule,\n RestaurantsRoutingModule,\n SharedModule,\n PdfViewerModule,\n ContentViewerModule,\n ReactiveFormsModule,\n MarkdownModule.forRoot(),\n TranslateModule,\n SwiperComponent,\n SwiperElementComponent,\n PageHeaderComponent\n],\n providers: [\n RestaurantService\n ]\n})\nexport class RestaurantsModule { }\n","\n

{{'restaurantPage.gallry_title'|translate}}

\n\n
\n
\n \n \n \n
\n
\n\n\n","import { Component, OnInit, Input, Output, EventEmitter, HostListener } from '@angular/core';\nimport { galleryItem } from 'src/app/modules/app-hotel/models/galleryItem.model';\n\n@Component({\n selector: 'gallery',\n templateUrl: './gallery.component.html',\n styleUrls: ['./gallery.component.scss']\n})\nexport class GalleryComponent implements OnInit {\n\n tabIndexActive: number = 0;\n imgHeight: number;\n @Input() data: Array;\n @Output() imageClicked = new EventEmitter();\n @HostListener('window:resize') onResize() {\n if (this.clientWidth !== document.body.clientWidth) {\n this.clientWidth = document.body.clientWidth;\n this.setImageHeight()\n }\n }\n\n private clientWidth: number;\n\n\n constructor() { }\n\n ngOnInit(): void {\n this.clientWidth = document.body.clientWidth;\n this.setImageHeight();\n }\n\n setImageHeight() {\n switch (this.tabIndexActive) {\n case 0:\n this.imgHeight = this.clientWidth > 768 ? 115 : 75;\n break;\n case 1:\n this.imgHeight = this.clientWidth > 768 ? 155 : 115;\n break;\n case 2:\n this.imgHeight = this.clientWidth > 768 ? 285 : 245;\n break;\n }\n }\n\n changeView(index: number) {\n this.tabIndexActive = index;\n this.setImageHeight();\n }\n\n\n onImgClick(index: number) {\n this.imageClicked.emit(index);\n }\n\n}\n","
\n\n
\n

{{imgActiveCaption}}

\n {{'lightboxComponent.imageNumbers'|translate:{index: imgActiveindex+1, total:imgArray.length } }}\n
\n\n
\n \n\n \n \n\n
0\">\n \n
\n
\n \n
\n
\n\n
\n \n
\n\n
\n
\n\n
\n","import { Component, OnInit, Input } from '@angular/core';\nimport { galleryItem } from 'src/app/modules/app-hotel/models/galleryItem.model';\n\n@Component({\n selector: 'image-lightbox',\n templateUrl: './image-lightbox.component.html',\n styleUrls: ['./image-lightbox.component.scss']\n})\nexport class ImageLightboxComponent implements OnInit {\n\n modalOpened: boolean;\n @Input() imgArray: Array;\n imgActiveindex: number;\n imgActiveURL: string;\n isVideo: boolean;\n imgActiveCaption: string;\n widthIframe = '100%';\n heightIframe = '100%';\n\n\n constructor() {\n this.widthIframe = Math.ceil(document.body.clientWidth * (90/100))+'';\n this.heightIframe = Math.ceil(document.body.clientHeight * (90/100))+'';\n }\n\n\n ngOnInit(): void {\n }\n\n show(index: number) {\n this.modalOpened = true;\n this.imgActiveindex = index;\n this.imgActiveURL = (this.imgArray) ? this.imgArray[this.imgActiveindex].imgURL : null\n this.isVideo = (this.imgArray) ? this.imgArray[this.imgActiveindex].isVideo : null\n this.imgActiveCaption = (this.imgArray) ? this.imgArray[this.imgActiveindex].captionTitle : ''\n }\n\n onPrev() {\n this.imgActiveindex--;\n this.imgActiveURL = (this.imgArray) ? this.imgArray[this.imgActiveindex].imgURL : null\n this.isVideo = (this.imgArray) ? this.imgArray[this.imgActiveindex].isVideo : null\n this.imgActiveCaption = (this.imgArray) ? this.imgArray[this.imgActiveindex].captionTitle : ''\n }\n\n onNext() {\n this.imgActiveindex++;\n this.imgActiveURL = (this.imgArray) ? this.imgArray[this.imgActiveindex].imgURL : null\n this.isVideo = (this.imgArray) ? this.imgArray[this.imgActiveindex].isVideo : null\n this.imgActiveCaption = (this.imgArray) ? this.imgArray[this.imgActiveindex].captionTitle : ''\n }\n onClose() {\n this.modalOpened = false;\n this.imgActiveURL = null;\n this.isVideo = false;\n\n }\n\n}\n","import { Directive, ElementRef, Input } from '@angular/core';\n\n@Directive({\n selector: '[ModalContentPage]'\n})\nexport class ModalContentPageDirective {\n\n @Input() set ModalContentPage(value: boolean) {\n if(value){\n setTimeout(() => {\n this.elementRef.nativeElement.style.display='none';\n }, 350);\n }else{\n this.elementRef.nativeElement.style.display='block';\n }\n }\n\n constructor(private elementRef: ElementRef) { }\n\n}\n"],"x_google_ignoreList":[]}