{"version":3,"sources":["webpack:///./src/pages/sales/new-sale/product-search-people.input.vue?1568","webpack:///./src/pages/sales/new-sale/product-search-date-range.input.vue?2fa4","webpack:///./src/pages/sales/new-sale/product-search.shell.vue?9db6","webpack:///./src/pages/sales/new-sale/product-search.shell.vue?cbab","webpack:///./src/components/NumberInput.vue?e8f9","webpack:///./src/components/NumberInput.vue?c9b5","webpack:///./src/components/NumberInput.vue","webpack:///./src/components/NumberInput.vue?ae6d","webpack:///./src/components/NumberInput.vue?7f62","webpack:///./src/pages/sales/new-sale/product-search.shell.vue?2fcd","webpack:///./src/pages/sales/new-sale/product-search-date-range.input.vue?a2b1","webpack:///./src/pages/sales/new-sale/product-search-date-range.input.vue","webpack:///./src/pages/sales/new-sale/product-search-date-range.input.vue?a7ad","webpack:///./src/pages/sales/new-sale/product-search-date-range.input.vue?b5f1","webpack:///./src/pages/sales/new-sale/product-search-people.input.vue?8163","webpack:///./src/pages/sales/new-sale/product-search-people.input.vue","webpack:///./src/pages/sales/new-sale/product-search-people.input.vue?e64e","webpack:///./src/pages/sales/new-sale/product-search-people.input.vue?c55f","webpack:///./src/pages/sales/new-sale/product-search.shell.vue","webpack:///./src/pages/sales/new-sale/product-search.shell.vue?2aab","webpack:///./src/pages/sales/new-sale/product-search.shell.vue?c775"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","on","$event","setNumber","value","staticStyle","max","min","domProps","onFocus","target","isNumber","staticRenderFns","NumberInput","_Vue","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","event","keyCode","which","preventDefault","result","Number","isNaN","$emit","$forceUpdate","input","select","Vue","__decorate","Prop","Component","component","$t","productTypeOptions","model","form","fields","callback","$$v","$set","expression","propertySearchOptions","filterFn","abortFilterFn","scopedSlots","_u","fn","scope","_g","_b","itemProps","itemEvents","opt","type","_s","label","_v","Date","visibility","ref","inputValue","inputEvents","start","end","dateRange","$tc","numberOfGuests","isLoading","onProductSearch","onPropertyScroll","_l","product","index","id","class","currentProductIndex","getFeaturedImage","name","getRating","getLocation","_e","currentProduct","tab","rooms","permissions","includes","room","ratePlan","displayName","concept","cancellationPolicy","_f","cost","currency","price","inventory","refInFor","loadAvailability","property","date","isDateSelectable","isAvailableDate","availabilityRange","directives","rawName","availabilityStorage","status","cart","addToCart","productType","checkInDate","lastQuery","checkOutDate","adults","children","bookingDate","market","company","contactPerson","phoneNumber","countryCode","areaCode","number","email","website","address","line1","line2","image","style","getCoordinates","slot","clearCart","$slots","_t","proxy","$attrs","ProductSearchDateRangeInput","get","moment","startDate","format","endDate","set","length","setNumOfAdults","setNumOfChildren","child","ProductSearchPeopleInput","_toConsumableArray","diff","splice","Math","abs","concat","Array","fill","components","ProductSearchShell","_this","debounce","qDebounce","isSearched","buildQuery","items","cursor","canContinue","roomId","_this$availabilitySto","data","remaining","isAvailable","propertyId","_this2","compass","do","params","then","res","isSameOrAfter","val","update","abort","_this3","search","query","map","item","options","setOptionIndex","moveOptionSelection","featuredImage","isArray","images","img","find","_image$meta","meta","isFeaturedImage","fullImageURL","sizes","small","results","out","_typeof","_product$address","_product$address$coun","country","_product$address$prov","province","_product$address$dist","district","push","join","rating","category","code","_onProductSearch","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","getPrices","stop","_this4","includeUnavailable","$formatDate","populate","_this4$items","_res$data","JSON","parse","stringify","finally","container","currentTarget","checkPoint","scrollHeight","positonBottom","scrollTop","getBoundingClientRect","height","from","to","add","days","_product$location","coordinates","location","lat","lng","_property","_property$rooms","flat","forEach","_room$ratePlans","ratePlans","rest","_objectWithoutProperties","_objectSpread","sort","a","b","_a$ratePlan","_a$ratePlan$price","_b$ratePlan","_b$ratePlan$price","_property$rooms2","newArray","_a$price","_b$price","process","_this5","_this$currentProduct$","_image$meta2","_image$sizes","_image$sizes2","i18n","t","thumbnail","url","large","tc","Action","State","Getter","PeopleInput","DateRangeInput"],"mappings":"oKAAA,W,oCCAA,W,oCCAA,W,oCCAA,W,2DCAA,W,k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ApLoC,CAASnI,QACpBC,eAAA,CAAzBmQ,eAAO,mB,iCACkBnQ,eAAA,CAAzBmQ,eAAO,mB,iCACOnQ,eAAA,CAAdoQ,eAAM,S,4BAC0BpQ,eAAA,CAAhCqQ,eAAO,0B,mCAJWnI,GAAkBlI,eAAA,CANtCE,eAAU,CACT+H,WAAY,CACVqI,eACAC,qBAGiBrI,cCnf8pB,MCS/qB,I,oBAAY,eACd,GACA7K,EACAoB,GACA,EACA,KACA,WACA,OAIa,gB","file":"js/chunk-0398cf40.d97aeaf9.js","sourcesContent":["export * from \"-!../../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./product-search-people.input.vue?vue&type=style&index=0&id=575e5150&lang=scss&scoped=true&\"","export * from \"-!../../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./product-search-date-range.input.vue?vue&type=style&index=0&id=2cd100ec&lang=scss&scoped=true&\"","export * from \"-!../../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./product-search.shell.vue?vue&type=style&index=1&id=172ecf3a&lang=scss&scoped=true&\"","export * from \"-!../../../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./product-search.shell.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./NumberInput.vue?vue&type=style&index=0&id=25bf233d&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-numerator\"},[_c('q-btn',{attrs:{\"color\":\"negative\",\"dense\":\"\",\"flat\":\"\",\"icon\":\"mdi-minus\",\"size\":\"10px\",\"stretch\":\"\"},on:{\"click\":function($event){return _vm.setNumber(_vm.value - 1)}}}),_c('input',{staticClass:\"text-center\",staticStyle:{\"width\":\"30px\"},attrs:{\"max\":_vm.max,\"min\":_vm.min,\"type\":\"number\"},domProps:{\"value\":_vm.value},on:{\"focusin\":function($event){return _vm.onFocus($event)},\"input\":function($event){return _vm.setNumber($event.target.value)},\"keypress\":function($event){return _vm.isNumber($event)}}}),_c('q-btn',{attrs:{\"color\":\"positive\",\"dense\":\"\",\"flat\":\"\",\"icon\":\"mdi-plus\",\"size\":\"10px\",\"stretch\":\"\"},on:{\"click\":function($event){return _vm.setNumber(_vm.value + 1)}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component\nexport default class NumberInput extends Vue {\n @Prop() value!: number;\n @Prop() min?: number;\n @Prop() max?: number;\n\n isNumber(event: KeyboardEvent) {\n const keyCode = event.keyCode ? event.keyCode : event.which;\n if (keyCode < 48 || keyCode > 57) {\n // 46 is dot\n event.preventDefault();\n }\n }\n\n setNumber(value: number | string) {\n let result = Number(value || 0);\n if (isNaN(result) || (typeof this.min === 'number' && value < this.min)) {\n result = this.min as number;\n } else if (typeof this.max === 'number' && value > this.max) {\n result = this.max;\n }\n\n this.$emit('input', result);\n\n this.$forceUpdate();\n }\n\n onFocus(event: FocusEvent) {\n const input = event.target as HTMLInputElement;\n input.select();\n }\n}\n","import mod from \"-!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./NumberInput.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/babel-loader/lib/index.js!../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./NumberInput.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NumberInput.vue?vue&type=template&id=25bf233d&scoped=true&\"\nimport script from \"./NumberInput.vue?vue&type=script&lang=ts&\"\nexport * from \"./NumberInput.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./NumberInput.vue?vue&type=style&index=0&id=25bf233d&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"25bf233d\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('layout',{attrs:{\"name\":\"default\"}},[_c('div',{staticClass:\"row q-col-gutter-sm justify-center q-pa-sm bg-primary\"},[_c('div',{staticClass:\"col-auto\"},[_c('q-select',{staticClass:\"s-input\",staticStyle:{\"width\":\"160px\"},attrs:{\"label\":_vm.$t('GENERAL.PRODUCT'),\"options\":_vm.productTypeOptions,\"color\":\"white\",\"dense\":\"\",\"emit-value\":\"\",\"map-options\":\"\",\"options-selected-class\":\"text-black\",\"outlined\":\"\"},model:{value:(_vm.form.fields.product),callback:function ($$v) {_vm.$set(_vm.form.fields, \"product\", $$v)},expression:\"form.fields.product\"}})],1),_c('div',{staticClass:\"col-auto\"},[_c('q-select',{staticClass:\"s-input\",staticStyle:{\"width\":\"160px\"},attrs:{\"label\":_vm.$t('GENERAL.PRODUCT_NAME_OR_ZONE'),\"options\":_vm.propertySearchOptions,\"clearable\":\"\",\"color\":\"white\",\"dense\":\"\",\"emit-value\":\"\",\"fill-input\":\"\",\"hide-dropdown-icon\":\"\",\"hide-selected\":\"\",\"input-debounce\":\"500\",\"map-options\":\"\",\"options-selected-class\":\"text-primary\",\"outlined\":\"\",\"use-input\":\"\"},on:{\"filter\":_vm.filterFn,\"filter-abort\":_vm.abortFilterFn},scopedSlots:_vm._u([{key:\"option\",fn:function(scope){return [_c('q-item',_vm._g(_vm._b({},'q-item',scope.itemProps,false),scope.itemEvents),[_c('q-item-section',{attrs:{\"side\":\"\"}},[_c('q-icon',{attrs:{\"name\":scope.opt.type === 'PROPERTY' ? 'mdi-bed' : 'mdi-map-marker',\"size\":\"16px\"}})],1),_c('q-item-section',[_c('q-item-label',{domProps:{\"innerHTML\":_vm._s(scope.opt.label)}}),_c('q-item-label',{attrs:{\"caption\":\"\"}},[_vm._v(_vm._s(_vm.$t('GENERAL.' + scope.opt.type)))])],1)],1)]}}]),model:{value:(_vm.form.fields.search),callback:function ($$v) {_vm.$set(_vm.form.fields, \"search\", $$v)},expression:\"form.fields.search\"}})],1),_c('div',{staticClass:\"col-auto\"},[_c('v-date-picker',{staticClass:\"custom-date-range\",attrs:{\"min-date\":new Date(),\"popover\":{ visibility: 'click' },\"is-range\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar inputValue = ref.inputValue;\nvar inputEvents = ref.inputEvents;\nreturn [_c('div',{staticClass:\"flex justify-center items-center\"},[_c('q-field',{staticClass:\"start-date\",attrs:{\"label\":_vm.$t('GENERAL.START_DATE'),\"value\":inputValue.start,\"color\":\"white\",\"dark\":\"\",\"outlined\":\"\",\"dense\":\"\"}},[_c('input',_vm._g({staticClass:\"q-field__native q-placeholder\",domProps:{\"value\":inputValue.start}},inputEvents.start))]),_c('div',{staticClass:\"col-auto\"},[_c('q-icon',{staticClass:\"date-range-icon\",attrs:{\"name\":\"mdi-swap-horizontal\"}})],1),_c('q-field',{staticClass:\"end-date\",attrs:{\"label\":_vm.$t('GENERAL.END_DATE'),\"value\":inputValue.end,\"color\":\"white\",\"dark\":\"\",\"outlined\":\"\",\"dense\":\"\"}},[_c('input',_vm._g({staticClass:\"q-field__native q-placeholder\",domProps:{\"value\":inputValue.end}},inputEvents.end))])],1)]}}]),model:{value:(_vm.dateRange),callback:function ($$v) {_vm.dateRange=$$v},expression:\"dateRange\"}})],1),_c('div',[_c('people-input',{staticStyle:{\"width\":\"160px\"},attrs:{\"label\":_vm.$tc('GENERAL.GUEST', 2),\"color\":\"white\",\"dark\":\"\",\"dense\":\"\",\"outlined\":\"\",\"type\":\"number\"},model:{value:(_vm.numberOfGuests),callback:function ($$v) {_vm.numberOfGuests=$$v},expression:\"numberOfGuests\"}})],1),_c('div',{staticClass:\"col-auto\"},[_c('q-select-dynamic',{staticClass:\"s-input\",staticStyle:{\"width\":\"160px\"},attrs:{\"label\":_vm.$t('GENERAL.MARKET'),\"action\":\"countries\",\"color\":\"white\",\"dense\":\"\",\"emit-value\":\"\",\"map-options\":\"\",\"namespace\":\"geo\",\"option-label\":\"name\",\"option-value\":\"countryCode\",\"options-selected-class\":\"text-black\",\"outlined\":\"\"},model:{value:(_vm.form.fields.market),callback:function ($$v) {_vm.$set(_vm.form.fields, \"market\", $$v)},expression:\"form.fields.market\"}})],1),_c('div',{staticClass:\"col-auto\"},[_c('q-btn',{staticClass:\"q-py-xs\",attrs:{\"label\":_vm.$t('GENERAL.SEARCH'),\"color\":\"orange\",\"icon-right\":\"mdi-magnify\",\"disable\":_vm.isLoading},on:{\"click\":function($event){return _vm.onProductSearch()}}})],1)]),_c('div',{staticClass:\"row bg-grey-3\"},[_c('div',{staticClass:\"col-10 search-placeholder relative-position\"},[(_vm.isSearched)?[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-4 q-pa-sm full-height-block\",on:{\"scroll\":function($event){return _vm.onPropertyScroll($event)}}},[_c('div',{staticClass:\"q-gutter-sm\"},_vm._l((_vm.items),function(product,index){return _c('q-card',{key:product.id,class:{ 'active-product': _vm.currentProductIndex === index },on:{\"click\":function($event){_vm.currentProductIndex = index}}},[_c('q-card-section',{staticClass:\"q-pa-none\",attrs:{\"horizontal\":\"\"}},[_c('q-img',{attrs:{\"ratio\":1 / 1,\"src\":_vm.getFeaturedImage(product),\"width\":\"140px\"}}),_c('q-card-section',{staticClass:\"col\"},[_c('div',{staticClass:\"text-orange text-h6\"},[_vm._v(\" \"+_vm._s(product.name)+\" \")]),_c('div',{staticClass:\"q-mt-sm\"},[_c('q-rating',{staticClass:\"no-shadow\",attrs:{\"max\":5,\"value\":_vm.getRating(product),\"color\":\"orange-4\",\"readonly\":\"\",\"size\":\"18px\"}})],1),(_vm.getLocation(product))?_c('div',{staticClass:\"flex items-center q-mt-sm\"},[_c('q-icon',{attrs:{\"color\":\"primary\",\"name\":\"mdi-map-marker\",\"size\":\"18px\"}}),_vm._v(\" \"+_vm._s(_vm.getLocation(product))+\" \")],1):_vm._e(),_c('q-separator',{staticClass:\"q-my-md\"}),_c('div',[_c('q-icon',{attrs:{\"color\":\"blue-5\",\"name\":\"mdi-pool\",\"size\":\"18px\"}}),_c('q-icon',{attrs:{\"color\":\"blue-5\",\"name\":\"mdi-swim\",\"size\":\"18px\"}}),_c('q-icon',{attrs:{\"color\":\"blue-5\",\"name\":\"mdi-wifi\",\"size\":\"18px\"}}),_c('q-icon',{attrs:{\"color\":\"blue-5\",\"name\":\"mdi-pool\",\"size\":\"18px\"}})],1)],1)],1)],1)}),1)]),_c('div',{staticClass:\"col-8 full-height-block\"},[(_vm.form.fields.product === 'HOTEL' && _vm.currentProduct)?[_c('q-tabs',{staticClass:\"bg-grey-4 text-primary tab-panel-height\",attrs:{\"dense\":\"\",\"no-caps\":\"\"},model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('q-tab',{attrs:{\"name\":\"offers\"}},[_vm._v(_vm._s(_vm.$tc('GENERAL.OFFER', 2)))]),_c('q-tab',{attrs:{\"name\":\"about\"}},[_vm._v(_vm._s(_vm.$t('GENERAL.ABOUT')))]),_c('q-tab',[_vm._v(_vm._s(_vm.$tc('GENERAL.AMENITY')))]),_c('q-tab',[_vm._v(_vm._s(_vm.$t('GENERAL.NOTES_AND_NEWS')))]),_c('q-tab',{attrs:{\"name\":\"gallery\"}},[_vm._v(_vm._s(_vm.$t('GENERAL.GALLERY')))]),_c('q-tab',{attrs:{\"name\":\"location\"}},[_vm._v(_vm._s(_vm.$t('GENERAL.LOCATION')))])],1),_c('q-tab-panels',{staticClass:\"tab-height\",model:{value:(_vm.tab),callback:function ($$v) {_vm.tab=$$v},expression:\"tab\"}},[_c('q-tab-panel',{staticClass:\"q-pa-sm\",attrs:{\"name\":\"offers\"}},[(_vm.currentProduct && _vm.currentProduct.rooms)?_c('table',{staticClass:\"input-table full-width stripped price-table\",staticStyle:{\"font-size\":\"10px\"}},[_c('thead',[_c('tr',{staticClass:\"header-row\"},[_c('th',[_vm._v(_vm._s(_vm.$t('GENERAL.NAME')))]),_c('th',[_vm._v(_vm._s(_vm.$tc('GENERAL.RATE_PLAN')))]),_c('th',[_vm._v(_vm._s(_vm.$t('GENERAL.CONCEPT')))]),_c('th',[_vm._v(_vm._s(_vm.$t('GENERAL.CANCELLATION_POLICY')))]),(_vm.permissions.includes('VIEW_COST'))?_c('th',[_vm._v(_vm._s(_vm.$t('GENERAL.COST')))]):_vm._e(),_c('th',[_vm._v(_vm._s(_vm.$t('GENERAL.PRICE')))]),_c('th',{staticStyle:{\"width\":\"0px\"}},[_vm._v(\"K.Oda\")]),_c('th',{staticStyle:{\"width\":\"0px\"}},[_vm._v(\"Etkinlikler\")]),_c('th',[_vm._v(_vm._s(_vm.$t('GENERAL.STATUS')))]),_c('th',[_vm._v(_vm._s(_vm.$t('GENERAL.ACTIONS')))])])]),_c('tbody',_vm._l((_vm.currentProduct.rooms),function(room){return _c('tr',{key:room.id + room.ratePlan.id},[_c('td',{staticStyle:{\"width\":\"100px\"}},[_vm._v(\" \"+_vm._s(room.displayName)+\" \")]),_c('td',[_vm._v(_vm._s(room.ratePlan.type && room.ratePlan.type.name))]),_c('td',[_vm._v(_vm._s(room.ratePlan.concept && room.ratePlan.concept.name))]),_c('td',[_vm._v(_vm._s(room.ratePlan.cancellationPolicy && room.ratePlan.cancellationPolicy.name))]),(_vm.permissions.includes('VIEW_COST'))?_c('td',[(room.ratePlan.cost)?[_vm._v(\" \"+_vm._s(_vm._f(\"formatMoney\")(room.ratePlan.cost.value))+\" \"+_vm._s(room.ratePlan.cost.currency)+\" \")]:_vm._e()],2):_vm._e(),_c('td',[(room.ratePlan.price)?[_vm._v(\" \"+_vm._s(_vm._f(\"formatMoney\")(room.ratePlan.price.value))+\" \"+_vm._s(room.ratePlan.price.currency)+\" \")]:_vm._e()],2),_c('td',{staticStyle:{\"width\":\"0px\"}},[_vm._v(\" \"+_vm._s(room.inventory)+\" \")]),_c('td',_vm._l((room.ratePlan.events),function(event){return _c('q-badge',{key:event.id},[_vm._v(\" \"+_vm._s(event.name)+\" \")])}),1),_c('td',[_c('div',{staticClass:\"row items-center justify-center q-col-gutter-xs q-px-xs no-wrap\"},[_c('div',{staticClass:\"col-auto\"},[_c('q-icon',{attrs:{\"color\":\"positive\",\"name\":\"mdi-calendar\",\"size\":\"18px\"}},[_c('q-popup-proxy',{ref:\"qDateProxy\",refInFor:true,attrs:{\"transition-show\":\"scale\",\"transition-hide\":\"scale\"},on:{\"show\":function($event){return _vm.loadAvailability(room.property, room.id)}}},[_c('q-date',{attrs:{\"range\":\"\",\"options\":function (date) { return _vm.isDateSelectable(date); },\"minimal\":\"\",\"event-color\":function (date) { return (_vm.isAvailableDate(room.id, date) ? 'teal' : 'negative'); },\"events\":function () { return true; }},model:{value:(_vm.availabilityRange),callback:function ($$v) {_vm.availabilityRange=$$v},expression:\"availabilityRange\"}},[_c('div',{staticClass:\"row items-center justify-end\"},[_c('q-btn',{directives:[{name:\"close-popup\",rawName:\"v-close-popup\"}],attrs:{\"label\":\"Close\",\"color\":\"primary\",\"flat\":\"\"}})],1)]),_c('q-inner-loading',{attrs:{\"showing\":!_vm.availabilityStorage[room.id]}},[_c('div',{staticClass:\"flex justify-center items-center full-height column\"},[_c('div',[_c('q-spinner-gears',{attrs:{\"size\":\"50px\",\"color\":\"primary\"}})],1),_c('div',{staticStyle:{\"font-size\":\"20px\"}},[_vm._v(_vm._s(_vm.$t('GENERAL.SEARCHING')))])])])],1)],1)],1),_c('div',{staticClass:\"col-auto\"},[(!room.status)?_c('div',{staticClass:\"text-positive\"},[_vm._v(\" \"+_vm._s(_vm.$t('GENERAL.AVAILABLE'))+\" \")]):(room.status === 'NOT_AVAILABLE')?_c('div',{staticClass:\"text-negative\"},[_vm._v(\" \"+_vm._s(_vm.$t('GENERAL.STOP_SALE'))+\" \")]):(room.status === 'NO_INVENTORY')?_c('div',{staticClass:\"text-negative\"},[_vm._v(\" \"+_vm._s(_vm.$t('GENERAL.NO_INVENTORY'))+\" \")]):(room.status === 'INVALID_RELEASE')?_c('div',{staticClass:\"text-negative\"},[_vm._v(\" \"+_vm._s(_vm.$t('GENERAL.INVALID_RELEASE'))+\" \")]):(room.status === 'INVALID_MIN_STAY')?_c('div',{staticClass:\"text-negative\"},[_vm._v(\" \"+_vm._s(_vm.$t('GENERAL.INVALID_MIN_STAY'))+\" \")]):_vm._e()])])]),_c('td',[_c('div',{staticClass:\"flex justify-center q-gutter-xs q-py-xs\"},[_c('q-btn',{attrs:{\"disabled\":room.status,\"label\":_vm.$t('GENERAL.ADD_TO_CART'),\"color\":\"blue-9\",\"no-wrap\":\"\",\"size\":\"10px\",\"loading\":_vm.cart.isLoading},on:{\"click\":function($event){return _vm.addToCart({\n ratePlan: room.ratePlan.id,\n room: room.id,\n type: room.productType,\n property: room.property,\n checkInDate: _vm.lastQuery.checkInDate,\n checkOutDate: _vm.lastQuery.checkOutDate,\n concept: 'All Inclusive',\n adults: _vm.lastQuery.adults,\n children: _vm.lastQuery.children,\n bookingDate: _vm.lastQuery.bookingDate,\n market: _vm.lastQuery.market,\n company: _vm.currentProduct.company,\n })}}})],1)])])}),0)]):_vm._e()]),_c('q-tab-panel',{attrs:{\"name\":\"about\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12 text-center\"},[_c('div',{staticClass:\"text-h4 q-mb-sm\"},[_vm._v(\" \"+_vm._s(_vm.$t('GENERAL.CONTACT_INFO'))+\" \")])]),_c('div',{staticClass:\"col-12\"},[_c('table',{staticClass:\"input-table full-width stripped\"},[_c('tbody',[_c('tr',[_c('td',[_c('strong',[_vm._v(_vm._s(_vm.$t('GENERAL.CONTACT_PERSON'))+\":\")])]),_c('td',[_vm._v(_vm._s(_vm.currentProduct.contactPerson))])]),_c('tr',[_c('td',[_c('strong',[_vm._v(_vm._s(_vm.$t('GENERAL.PHONE'))+\":\")])]),_c('td',[(_vm.currentProduct.phoneNumber)?[_vm._v(\" \"+_vm._s(_vm.currentProduct.phoneNumber.countryCode)+\" \"+_vm._s(_vm.currentProduct.phoneNumber.areaCode)+\" \"+_vm._s(_vm.currentProduct.phoneNumber.number)+\" \")]:_vm._e()],2)]),_c('tr',[_c('td',[_c('strong',[_vm._v(_vm._s(_vm.$t('GENERAL.EMAIL'))+\":\")])]),_c('td',[_vm._v(_vm._s(_vm.currentProduct.email))])]),_c('tr',[_c('td',[_c('strong',[_vm._v(_vm._s(_vm.$t('GENERAL.WEBSITE'))+\":\")])]),_c('td',[_vm._v(_vm._s(_vm.currentProduct.website))])]),_c('tr',[_c('td',{staticStyle:{\"vertical-align\":\"top\"}},[_c('strong',[_vm._v(_vm._s(_vm.$t('GENERAL.ADDRESS'))+\":\")])]),_c('td',[(_vm.currentProduct.address)?[(_vm.currentProduct.address.line1)?[_vm._v(\" \"+_vm._s(_vm.currentProduct.address.line1)+\" \")]:_vm._e(),(_vm.currentProduct.address.line2)?[_vm._v(\" \"+_vm._s(_vm.currentProduct.address.line2)+\" \")]:_vm._e(),(_vm.getLocation(_vm.currentProduct))?[_vm._v(\" \"+_vm._s(_vm.getLocation(_vm.currentProduct))+\" \")]:_vm._e()]:_vm._e()],2)])])])])])]),_c('q-tab-panel',{attrs:{\"name\":\"gallery\"}},[_c('div',{staticClass:\"thumbnail-container\"},_vm._l((_vm.galleryImages),function(image){return _c('div',{key:image.id,staticClass:\"thumb shadow-2\",style:((\"background-image: url(\" + (image.thumbnail) + \");\"))},[(image.label)?_c('div',{staticClass:\"thumb-title\"},[_vm._v(\" \"+_vm._s(image.label)+\" \")]):_vm._e()])}),0)]),_c('q-tab-panel',{attrs:{\"name\":\"location\"}},[_c('google-map',{staticStyle:{\"height\":\"100%\"},attrs:{\"center\":_vm.getCoordinates(_vm.currentProduct)}},[_c('google-map-marker',{attrs:{\"position\":_vm.getCoordinates(_vm.currentProduct),\"title\":_vm.currentProduct.name}})],1)],1)],1)]:_vm._e()],2)])]:[_c('div',{staticClass:\"flex justify-center items-center full-height\"},[_c('div',{staticClass:\"text-h1\"},[_vm._v(\" \"+_vm._s(_vm.$t('MESSAGE.NO_SEARCH_YET'))+\" \"),_c('q-icon',{attrs:{\"name\":\"mdi-magnify\"}})],1)])],_c('q-inner-loading',{attrs:{\"showing\":_vm.isLoading}},[_c('div',{staticClass:\"flight-spinner flex justify-center items-center full-height\"},[_c('div',{staticClass:\"text-h1\"},[_vm._v(\" \"+_vm._s(_vm.$t('GENERAL.SEARCHING'))+\" \"),_c('q-icon',{attrs:{\"name\":\"mdi-magnify\"}})],1)])])],2),_c('div',{staticClass:\"col-2 full-height-block cart-container\"},[_c('cart',[_c('template',{slot:\"actions\"},[_c('q-btn-group',{staticClass:\"full-width\"},[_c('q-btn',{staticClass:\"full-width\",attrs:{\"label\":_vm.$t('GENERAL.CLEAR'),\"color\":\"negative\",\"no-caps\":\"\"},on:{\"click\":function($event){return _vm.clearCart()}}}),_c('q-btn',{staticClass:\"full-width\",attrs:{\"label\":_vm.$t('GENERAL.BOOK_NOW'),\"color\":\"primary\",\"no-caps\":\"\",\"to\":\"/sales/booking-form\"}})],1)],1)],2)],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-date-picker',{attrs:{\"popover\":{ visibility: 'click' },\"is-range\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar inputValue = ref.inputValue;\nvar inputEvents = ref.inputEvents;\nreturn [_c('q-field',_vm._b({attrs:{\"value\":inputValue},scopedSlots:_vm._u([(_vm.$slots['prepend'])?{key:\"prepend\",fn:function(){return [_vm._t(\"prepend\")]},proxy:true}:null,(_vm.$slots['append'])?{key:\"append\",fn:function(){return [_vm._t(\"append\")]},proxy:true}:null,(_vm.$slots['before'])?{key:\"before\",fn:function(){return [_vm._t(\"before\")]},proxy:true}:null,(_vm.$slots['after'])?{key:\"after\",fn:function(){return [_vm._t(\"after\")]},proxy:true}:null],null,true)},'q-field',_vm.$attrs,false),[[_c('input',_vm._g({staticClass:\"q-field__native start-date q-placeholder\",domProps:{\"value\":inputValue.start}},inputEvents.start)),_c('span',{staticClass:\"separator\"},[_vm._v(\"-\")]),_c('input',_vm._g({staticClass:\"q-field__native end-date q-placeholder\",domProps:{\"value\":inputValue.end}},inputEvents.end))]],2)]}}]),model:{value:(_vm.dateRange),callback:function ($$v) {_vm.dateRange=$$v},expression:\"dateRange\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport moment from 'moment';\n\n@Component\nexport default class ProductSearchDateRangeInput extends Vue {\n @Prop() value!: { startDate: string; endDate: string };\n\n get dateRange() {\n return {\n start: moment(this.value.startDate).format('YYYY-MM-DD'),\n end: moment(this.value.endDate).format('YYYY-MM-DD'),\n };\n }\n\n set dateRange(value: any) {\n this.$emit('input', {\n startDate: new Date(moment(value.start).format('YYYY-MM-DD')),\n endDate: new Date(moment(value.end).format('YYYY-MM-DD')),\n });\n }\n}\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/babel-loader/lib/index.js!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--15-3!../../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./product-search-date-range.input.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/babel-loader/lib/index.js!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--15-3!../../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./product-search-date-range.input.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./product-search-date-range.input.vue?vue&type=template&id=2cd100ec&scoped=true&\"\nimport script from \"./product-search-date-range.input.vue?vue&type=script&lang=ts&\"\nexport * from \"./product-search-date-range.input.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./product-search-date-range.input.vue?vue&type=style&index=0&id=2cd100ec&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2cd100ec\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('q-field',_vm._b({attrs:{\"stack-label\":\"\",\"value\":\"\"},scopedSlots:_vm._u([{key:\"control\",fn:function(){return [_c('div',{staticClass:\"self-center full-width no-outline\",attrs:{\"tabindex\":\"0\"}},[_vm._v(\" \"+_vm._s(_vm.value.adults)+\" \"+_vm._s(_vm.$tc('GENERAL.ADULT'))+\" + \"+_vm._s(_vm.value.children.length)+\" \"+_vm._s(_vm.$tc('GENERAL.CHILD'))+\" \")])]},proxy:true}])},'q-field',_vm.$attrs,false),[_c('q-menu',[_c('q-list',{attrs:{\"separator\":\"\"}},[_c('q-item',[_c('q-item-section',[_c('table',{staticClass:\"stripped\"},[_c('tbody',[_c('tr',[_c('td',[_c('q-icon',{attrs:{\"color\":\"primary\",\"name\":\"mdi-human-male-female\",\"size\":\"16px\"}})],1),_c('td',{staticStyle:{\"width\":\"80px\"}},[_c('span',[_vm._v(_vm._s(_vm.$tc('GENERAL.ADULT')))])]),_c('td',[_c('number-input',{attrs:{\"min\":1,\"value\":_vm.value.adults},on:{\"input\":function($event){return _vm.setNumOfAdults($event)}}})],1)]),_c('tr',[_c('td',[_c('q-icon',{attrs:{\"color\":\"primary\",\"name\":\"mdi-human-child\",\"size\":\"16px\"}})],1),_c('td',[_c('span',[_vm._v(_vm._s(_vm.$tc('GENERAL.CHILD')))])]),_c('td',[_c('number-input',{attrs:{\"min\":0,\"value\":_vm.value.children.length},on:{\"input\":function($event){return _vm.setNumOfChildren($event)}}})],1)]),(_vm.value.children.length)?_c('tr',[_c('td',{staticClass:\"text-center\",attrs:{\"colspan\":\"3\"}},[_c('div',{staticClass:\"bg-blue-6 text-white q-py-xs\"},[_vm._v(\" Çocuk Yaşları \"),_c('q-icon',{attrs:{\"name\":\"mdi-chevron-down\",\"size\":\"18px\"}})],1)])]):_vm._e(),_vm._l((_vm.value.children),function(child,index){return _c('tr',{key:index},[_c('td',[_c('q-icon',{attrs:{\"color\":\"primary\",\"name\":\"mdi-calendar\",\"size\":\"16px\"}})],1),_c('td',[_c('span',[_vm._v(_vm._s(index + 1)+\". Çocuk Yaşı\")])]),_c('td',[_c('number-input',{attrs:{\"max\":17,\"min\":0},model:{value:(_vm.value.children[index]),callback:function ($$v) {_vm.$set(_vm.value.children, index, $$v)},expression:\"value.children[index]\"}})],1)])})],2)])])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\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\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport NumberInput from '@/components/NumberInput.vue';\n\n@Component({\n components: {\n NumberInput,\n },\n})\nexport default class ProductSearchPeopleInput extends Vue {\n @Prop() value!: { adults: number; children: number[] };\n\n setNumOfAdults(value: number) {\n this.$emit('input', {\n adults: value,\n children: this.value.children,\n });\n }\n\n setNumOfChildren(value: number) {\n const length = Number(value) || 0;\n const result = [...this.value.children];\n const diff = length - result.length;\n if (diff > 0) {\n result.splice(result.length, Math.abs(diff), ...Array(Math.abs(diff)).fill(0));\n } else {\n result.splice(length, result.length);\n }\n\n this.$emit('input', {\n adults: this.value.adults,\n children: result,\n });\n }\n}\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/babel-loader/lib/index.js!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--15-3!../../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./product-search-people.input.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/babel-loader/lib/index.js!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--15-3!../../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./product-search-people.input.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./product-search-people.input.vue?vue&type=template&id=575e5150&scoped=true&\"\nimport script from \"./product-search-people.input.vue?vue&type=script&lang=ts&\"\nexport * from \"./product-search-people.input.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./product-search-people.input.vue?vue&type=style&index=0&id=575e5150&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"575e5150\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{ IFile, IProperty } from '@resclick/data-access';\nimport { Component, Vue } from 'vue-property-decorator';\nimport { Action, Getter, State } from 'vuex-class';\nimport DateRangeInput from './product-search-date-range.input.vue';\nimport PeopleInput from './product-search-people.input.vue';\nimport moment from 'moment';\nimport { debounce as qDebounce } from 'quasar';\n\n@Component({\n components: {\n PeopleInput,\n DateRangeInput,\n },\n})\nexport default class ProductSearchShell extends Vue {\n @Action('cart/addToCart') addToCart!: (params: any) => void;\n @Action('cart/clearCart') clearCart!: () => void;\n @State('cart') cart!: any;\n @Getter('user/ownedPermissions') permissions!: string;\n\n availabilityStorage: any = {};\n\n debounce = qDebounce;\n\n isAvailableDate(roomId: string, date: string) {\n const key = moment(date, 'YYYY/MM/DD').format('YYYY-MM-DD');\n const data = this.availabilityStorage[roomId]?.[key] || {};\n\n return data.remaining > 0 && data.isAvailable !== false;\n }\n\n loadAvailability(propertyId: string, roomId: string) {\n compass\n .do('properties', 'findOneRoomAvailability', {\n params: { propertyId, roomId },\n })\n .then((res) => res.data)\n .then((res) => {\n this.$set(this.availabilityStorage, roomId, res);\n });\n }\n\n tab = 'offers';\n currentProductIndex = 0;\n isSearched = false;\n isLoading = false;\n form = {\n fields: this.buildQuery(),\n };\n\n lastQuery = this.buildQuery();\n\n items: any[] = [];\n\n propertySearchOptions: any[] = [];\n\n isDateSelectable(date: string) {\n return moment(date, 'YYYY/MM/DD').isSameOrAfter(new Date(), 'date');\n }\n\n get dateRange() {\n return {\n start: moment(this.form.fields.checkInDate).format('YYYY-MM-DD'),\n end: moment(this.form.fields.checkOutDate).format('YYYY-MM-DD'),\n };\n }\n\n set dateRange(value: any) {\n this.form.fields.checkInDate = new Date(moment(value.start).format('YYYY-MM-DD')) as any;\n this.form.fields.checkOutDate = new Date(moment(value.end).format('YYYY-MM-DD')) as any;\n }\n\n get availabilityRange() {\n return {\n from: moment(this.dateRange.start).format('YYYY/MM/DD'),\n to: moment(this.dateRange.end).format('YYYY/MM/DD'),\n };\n }\n\n set availabilityRange(value: any) {\n this.form.fields.checkInDate = new Date(moment(value.from, 'YYYY/MM/DD').format('YYYY-MM-DD')) as any;\n this.form.fields.checkOutDate = new Date(moment(value.to, 'YYYY/MM/DD').format('YYYY-MM-DD')) as any;\n }\n\n get buildQuery() {\n return () => {\n return {\n search: '',\n market: 'TR',\n product: 'HOTEL',\n adults: 2,\n includeUnavailable: true,\n children: [] as number[],\n checkInDate: new Date(moment().format('YYYY-MM-DD')),\n checkOutDate: new Date(moment().add({ days: 7 }).format('YYYY-MM-DD')),\n };\n };\n }\n\n get getCoordinates() {\n return (product: IProperty) => {\n const coordinates = product?.location?.coordinates || [];\n return {\n lat: coordinates[0] || 0,\n lng: coordinates[1] || 0,\n };\n };\n }\n\n get currentProduct() {\n let property: any = {};\n if (this.items[this.currentProductIndex]) {\n property = JSON.parse(JSON.stringify(this.items[this.currentProductIndex]));\n }\n\n if (property) {\n let { rooms = [] } = property;\n const flat: any = [];\n rooms.forEach((room: any) => {\n const { ratePlans = [], ...rest } = room;\n ratePlans?.forEach((ratePlan: any) => {\n flat.push({\n ...rest,\n ratePlan,\n });\n });\n });\n\n property.rooms = flat;\n\n property.rooms.sort((a: any, b: any) => {\n return a.ratePlan?.price?.value - b.ratePlan?.price?.value;\n });\n }\n\n return property;\n }\n\n get bestOffer() {\n return (property: any) => {\n const { rooms = [] } = property;\n const newArray = [...rooms];\n newArray.sort((a, b) => {\n return a.price?.value - b.price?.value;\n });\n\n return newArray[0];\n };\n }\n\n get fullImageURL() {\n return (image?: string) => {\n if (image) {\n return process.env.VUE_APP_CDN_URL + image;\n }\n return '';\n };\n }\n\n get galleryImages() {\n if (this.currentProduct) {\n const { images = [] } = this.currentProduct;\n return images.map((image: IFile) => {\n const label = image.meta?.category ? i18n.t('AMENITIES.' + image.meta.category) : '';\n return {\n thumbnail: this.fullImageURL(image.sizes?.thumbnail),\n url: this.fullImageURL(image.sizes?.large),\n label: label,\n id: image.id,\n };\n });\n }\n return [];\n }\n\n get productTypeOptions() {\n return [\n { label: i18n.tc('GENERAL.HOTEL'), value: 'HOTEL' },\n { label: i18n.tc('GENERAL.FLIGHT'), value: 'FLIGHT' },\n { label: i18n.tc('GENERAL.TOUR'), value: 'TOUR' },\n { label: i18n.tc('GENERAL.TRANSFER'), value: 'TRANSFER' },\n ];\n }\n\n get numberOfGuests() {\n return {\n adults: this.form.fields.adults,\n children: this.form.fields.children,\n };\n }\n\n set numberOfGuests(value: { adults: number; children: number[] }) {\n this.form.fields.adults = value.adults;\n this.form.fields.children = value.children;\n }\n\n filterFn(val: string, update: any, abort: any) {\n this.form.fields.search = val;\n\n if (val.length < 3) {\n abort();\n return;\n }\n\n compass\n .do('autoCompletions', 'findPropertiesOrPlaces', {\n query: { key: val },\n })\n .then((res) => res.data)\n .then((data) => {\n update(\n () => {\n if (val === '') {\n this.propertySearchOptions = [];\n } else {\n this.propertySearchOptions = data.map((item) => {\n return {\n label: item.name,\n value: item.name,\n type: item.type,\n };\n });\n }\n },\n (ref: any) => {\n if (val !== '' && ref.options.length > 0) {\n ref.setOptionIndex(-1); // reset optionIndex in case there is something selected\n ref.moveOptionSelection(1, true); // focus the first selectable option and do not update the input-value\n }\n },\n );\n });\n }\n\n abortFilterFn() {\n return;\n }\n\n getFeaturedImage(product: any) {\n let featuredImage = '';\n if (Array.isArray(product.images)) {\n const img = product.images.find((image: IFile) => image.meta?.isFeaturedImage === true);\n if (img) featuredImage = this.fullImageURL(img.sizes.small);\n }\n\n return featuredImage;\n }\n\n getLocation(product: any) {\n const results: string[] = [];\n let out = '';\n if (typeof product.address === 'object') {\n const { country = {}, province = {}, district = {} } = product.address;\n if (country && country.name) results.push(country.name);\n if (province && province.name) results.push(province.name);\n if (district && district.name) results.push(district.name);\n out = results.join(' / ');\n }\n return out;\n }\n\n getRating(product: { category?: { code?: string } }) {\n let rating = 0;\n if (product.category) {\n switch (product.category.code) {\n case '1STR': {\n rating = 1;\n break;\n }\n case '2STR': {\n rating = 2;\n break;\n }\n case '3STR': {\n rating = 3;\n break;\n }\n case '4STR': {\n rating = 4;\n break;\n }\n case '5STR': {\n rating = 5;\n break;\n }\n }\n }\n return rating;\n }\n\n cursor: any = null;\n canContinue = false;\n\n async onProductSearch() {\n this.cursor = null;\n this.canContinue = false;\n this.items = [];\n this.getPrices(this.form.fields);\n }\n\n getPrices(fields: any) {\n this.isSearched = true;\n this.isLoading = true;\n\n compass\n .do('prices', 'find', {\n query: {\n market: fields.market,\n adults: fields.adults,\n children: fields.children,\n search: fields.search,\n includeUnavailable: true,\n checkInDate: this.$formatDate(fields.checkInDate, 'YYYY-MM-DD'),\n checkOutDate: this.$formatDate(fields.checkOutDate, 'YYYY-MM-DD'),\n cursor: this.cursor,\n },\n populate: ['category', 'address.country', 'address.province', 'address.district', 'images'],\n })\n .then((res) => {\n this.lastQuery = JSON.parse(JSON.stringify(fields));\n this.items.push(...res.data);\n this.canContinue = !!res?.data?.length;\n this.cursor = res.data[res.data.length - 1].id;\n })\n .finally(() => {\n this.isLoading = false;\n });\n }\n\n onPropertyScroll(event: any) {\n const container = event.currentTarget as HTMLDivElement;\n const checkPoint = container.scrollHeight - 10;\n const positonBottom = container.scrollTop + container.getBoundingClientRect().height;\n\n if (positonBottom > checkPoint && !this.isLoading && this.canContinue) {\n this.getPrices(this.lastQuery);\n }\n }\n}\n","import mod from \"-!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/babel-loader/lib/index.js!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--15-3!../../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./product-search.shell.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/babel-loader/lib/index.js!../../../../../../node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--15-3!../../../../../../node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./product-search.shell.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./product-search.shell.vue?vue&type=template&id=172ecf3a&scoped=true&\"\nimport script from \"./product-search.shell.vue?vue&type=script&lang=ts&\"\nexport * from \"./product-search.shell.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./product-search.shell.vue?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./product-search.shell.vue?vue&type=style&index=1&id=172ecf3a&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"172ecf3a\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}