\r\n \r\n \r\n
\r\n","import { Component, Input } from '@angular/core';\r\nimport { MicroescapesConfiguration } from '../models/microescapes-config.model';\r\n\r\n@Component({\r\n selector: 'app-microescapes',\r\n templateUrl: './templates/microescapes.component.html'\r\n})\r\nexport class MicroescapesComponent {\r\n\r\n public cardsToShow = 0;\r\n _config!: MicroescapesConfiguration;\r\n\r\n @Input()\r\n set config (value: MicroescapesConfiguration) {\r\n if(!value) { return; }\r\n this._config = value;\r\n this.cardsToShow = value.cardsToShow;\r\n }\r\n\r\n get config(): MicroescapesConfiguration {\r\n return this._config;\r\n }\r\n\r\n showMoreCards() {\r\n this.cardsToShow += this.cardsToShow;\r\n }\r\n}\r\n","import { Component, ElementRef } from '@angular/core';\r\nimport { DataInitialValueServiceService } from 'app/modules/core/services/data-initial-value-service.service';\r\nimport { MicroescapesConfiguration } from './models/microescapes-config.model';\r\n\r\n@Component({\r\n selector: 'app-microescapes-container',\r\n templateUrl: './templates/microescapes-container.component.html'\r\n})\r\nexport class MicroescapesContainerComponent {\r\n config: MicroescapesConfiguration;\r\n constructor(\r\n private elementRef: ElementRef,\r\n private dataInitialValue: DataInitialValueServiceService\r\n ) {\r\n this.config = this.dataInitialValue.Parse