1import{U as u,aq as m,am as p,e as o,f as l,an as h,Z as s,a1 as w,ar as f}from"./entry.OIQ_8GsA.js";import{_ as c,t as C}from"./testing.hZA8IiQn.js";import"./client-only.eUW0v6y2.js";function _(){return{width:1440,paymentUntilNow:{currency:"CHF",value:744},cancellationFee:{currency:"CHF",value:744}}}const y={name:"TestCancellationModal",components:{ComponentTester:c,CancellationModal:m(()=>f(()=>import("./CancellationModal.eUsUNd-i.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33]),import.meta.url))},mixins:[C],data(){return{show:!0}},computed:{selectedScreenName(){return this.selectedScreen?.name}},watch:{selectedScreenName(){this.showModal()}},mounted(){this.screenDefaults=_(),this.createScreen("Fee Equal Payments - Cancel",{url:"https://zpl.io/dxBJzDE",pagePadding:60}),this.createScreen("Fee Equal Payments - Cancel - Mobile",{url:"https://zpl.io/p1DJvmQ",pagePadding:60,width:375});const e=this.createScreen("Fee Lower Than Payments - Cancel Refund",{url:"https://zpl.io/z8JZq98",pagePadding:60});e.cancellationFee.value=e.paymentUntilNow.value-20;const n=this.createScreen("Fee Higher Than Payments - Cancel",{url:"https://zpl.io/Dl50Avr",pagePadding:60});n.paymentUntilNow.value=n.cancellationFee.value-44},methods:{showModal(){this.show=!1,this.$nextTick(()=>this.show=!0)}}};function S(e,n,g,v,r,a){const i=p("CancellationModal",!0),d=c;return o(),l(d,{id:"CancellationModal",modelValue:e.selectedScreen,"onUpdate:modelValue":n[1]||(n[1]=t=>e.selectedScreen=t),class:"component-tester",screens:e.screens},{default:h(()=>[s("div",null,[s("button",{onClick:n[0]||(n[0]=(...t)=>a.showModal&&a.showModal(...t))}," Show "),e.selectedScreen?(o(),l(i,{key:0,show:r.show,"payment-until-now":e.selectedScreen.paymentUntilNow,"cancellation-fee":e.selectedScreen.cancellationFee},null,8,["show","payment-until-now","cancellation-fee"])):w("",!0)])]),_:1},8,["modelValue","screens"])}const N=u(y,[["render",S]]);export{N as default,_ as getScreenDefaults}; 2function __vite__mapDeps(indexes) { 3 if (!__vite__mapDeps.viteFileDeps) { 4 __vite__mapDeps.viteFileDeps = ["./CancellationModal.eUsUNd-i.js","./getFormattedWithCurrency.hY5nOZUB.js","./entry.OIQ_8GsA.js","./entry.O9KOVcsn.css","./Alert._wx27CV6.js","./Alert.dPF8whx9.css","./Modal.WA0lvZUy.js","./Dropdown.VQV3Z9Hz.js","./use-focus-trap.NhhvYUCs.js","./is-element-visible._LEGGY8N.js","./toNumber.NDMNk0th.js","./componentBase.1JdCdR8t.js","./isSafari.0QK988BX.js","./loading-skeleton.Y5wKLo6w.js","./loading-skeleton.u_L_26kB.css","./James.Ih8vfmWU.js","./Icon.GZItpJeD.js","./Icon.gmxAbSJH.css","./navigation-button.RJUhTIPc.js","./navigation-button.x2ayvC3n.css","./SafeWcTeleport.vue.KYsiH3ie.js","./Dropdown.n2ACKw05.css","./Modal.xwnzhZYi.css","./Button.LyM5_W6t.js","./generic-link.Q8f-kVgI.js","./index.tsdXPcWo.js","./get-display-order-id.gVqnfrmQ.js","./getJsonFromLocalStorage.zpM1VE--.js","./icon-svg.WAZWXPd_.js","./icon-svg.3pVHMq3X.css","./Button.4wCpK8Zu.css","./SpinnerV2.tzCqnidt.js","./SpinnerV2.ba2ho89t.css","./CancellationModal.Mfuo0Vv-.css"] 5 } 6 return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) 7}
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.