1import{A as o}from"./AccommodationRoomOfferDetails.rcczDsYq.js";import{_ as c,t as d}from"./testing.H4lOQzDO.js";import{U as u,d as n,e as r,f as a,an as p,$ as f,a1 as h}from"./entry.0po0D399.js";import{O as i}from"./order-billing-payment-plan.vklIba1Q.js";import"./use-reactive-breakpoints.qDk79-jY.js";import"./Dropdown.UxXW1Fgg.js";import"./use-focus-trap.3C2ULDTI.js";import"./is-element-visible._LEGGY8N.js";import"./toNumber.1nCT15Ai.js";import"./componentBase.CYJnFEGu.js";import"./isSafari.0QK988BX.js";import"./loading-skeleton.ieYKyRlx.js";import"./James.Ih8vfmWU.js";import"./Icon.o6MoGIi7.js";import"./navigation-button.Cwb0vIsD.js";import"./SafeWcTeleport.vue.nITns6QO.js";import"./payment-timeline.BJNONK3K.js";import"./payment-info-factory.PAXqKmWg.js";import"./payment-timeline-with-total.E0sncFKg.js";import"./payment-total.HYrPpWXF.js";import"./payment-tag.4CeAOEWL.js";import"./getFormattedWithCurrency.6WApM-eF.js";import"./link-btn.9bpXvjet.js";import"./generic-link.OezlJQdf.js";import"./index.tsdXPcWo.js";import"./get-display-order-id.gVqnfrmQ.js";import"./getJsonFromLocalStorage.zpM1VE--.js";import"./client-only.FXinnDe0.js";import"./order-billing-payment-plan-item.6JKwhQhB.js";import"./price.wfzGJAZh.js";import"./billing-plan.wIAvgunz.js";const y={name:"TestAccommodationOfferDetails",components:{ComponentTester:c,AccommodationRoomOfferDetails:o},mixins:[d],watch:{selectedScreen:{deep:!0,handler(){this.$refs.details&&this.$refs.details.$refs.dropdown&&this.$refs.details.$refs.dropdown.openDropdown()},immediate:!0}},mounted(){this.screenDefaults={title:"Basic Offer",linkText:"Basic",details:{cancellation:{levels:[{fee:{value:700}}],price:{currency:"CHF"},title:"Cancellation",description:"Please note that this product has a cancellation option with a cancellation fee based on a single listed milestone. If you choose to cancel your purchase, the applicable cancellation fee will be deducted from your refund, which will be credited back to your initial payment method used when the order was submitted.",schedule:new i({items:[{time:{inAdvance:5},amount:{value:700,currency:"CHF"}}]})},payment:{title:"Payment",description:"You will be charged the full amount now, and no additional payments will be charged to your selected payment method.",plan:new i({items:[{time:n().format("YYYY-MM-DD"),amount:{value:1488,currency:"CHF"}}]})},title:"Included in price",included:[{text:"Basic Amount (CHF 365.00 x 4 Nights)",price:{currency:"CHF",value:1448}},{text:"Final Cleaning and laundry package",price:{currency:"CHF",value:30}},{text:"Breakfast",price:{currency:"CHF",value:10}},{text:"Stay Tax",price:{currency:"CHF",value:0}}]},variant:{}};const e=this.createScreen("Basic",{url:"zpl.io/r1eeDd3"});this.createScreen(`${e.name} - Mobile`,{...e,url:"zpl.io/kDllgWM",width:375,pagePadding:20});const t=this.createScreen("Premium",{url:"zpl.io/Z0vvZlw"});t.title="All inclusive package",t.linkText="Premium",t.details.payment.plan=new i({items:[{time:n().format("YYYY-MM-DD"),amount:{value:148.8,currency:"CHF"}},{time:{inAdvance:30},amount:{value:446.4,currency:"CHF"}},{time:{inAdvance:10},amount:{value:892.8,currency:"CHF"}}]}),t.details.cancellation.schedule=new i({items:[{time:{inAdvance:30},amount:{value:0}},{time:{inAdvance:20},amount:{value:4,currency:"CHF"}},{time:{inAdvance:5},amount:{value:8,currency:"CHF"}},{time:{inAdvance:0},amount:{value:20,currency:"CHF"}}]}),t.details.cancellation.startDate="04.08.2020"}};function v(e,t,w,C,F,D){const l=o,m=c;return r(),a(m,{id:"RoomOfferDetails",modelValue:e.selectedScreen,"onUpdate:modelValue":t[0]||(t[0]=s=>e.selectedScreen=s),screens:e.screens},{default:p(()=>[e.selectedScreen?(r(),a(l,f({key:0,ref:"details",portal:"room-offer-details"},e.selectedScreen),null,16)):h("",!0)]),_:1},8,["modelValue","screens"])}const X=u(y,[["render",v]]);export{X as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.