1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunk-89.BzNUDJwg.js","assets/chunk-0.BQTcFCuj.js","assets/application-RP1kPeZZ.js","assets/chunk-1.CSLvTqCX.js","assets/chunk-2.CdHshs4a.js","assets/chunk-3.DZpX2-qG.js","assets/chunk-4.gGG46lw5.js","assets/chunk-11.DlviFypL.js","assets/chunk-5.jp9tPKLy.js","assets/chunk-7.Bvp3O-pW.js","assets/chunk-6.dInuiVBM.js","assets/chunk-10.BJgcy-UC.js","assets/chunk-12.G1p8DcM6.js","assets/chunk-13.CDuM2Qdy.js","assets/chunk-8.DNOf1mmO.js","assets/chunk-14.CvGUziHP.js","assets/chunk-15.KmJ9C-WP.js","assets/chunk-16.3L-7inlN.js","assets/chunk-19.B5DfSNcD.js","assets/chunk-17.Du1IMh6x.js","assets/chunk-18.CpHKvu62.js","assets/application-DvDm18t9.css","assets/chunk-101.O4ebclPc.js"])))=>i.map(i=>d[i]); 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c4ee04fc-86d3-42db-ad17-f446b6a3ee30",e._sentryDebugIdIdentifier="sentry-dbid-c4ee04fc-86d3-42db-ad17-f446b6a3ee30")}catch(e){}}();import{D as e,Dt as a,J as s,Ot as t,T as l,U as i,_ as o,b as n,bt as d,ct as r,jt as u,q as c,st as f,v as p,vt as v,w as m,x as g,y as b}from"./chunk-0.BQTcFCuj.js";import{t as k}from"./chunk-11.DlviFypL.js";import{B as _,E as y,z as h}from"./application-RP1kPeZZ.js";import{t as x}from"./chunk-72.Bbbn1WQ4.js";import{t as w}from"./chunk-73.CF7TpUC4.js";import{t as T}from"./chunk-80.B5-mVDNy.js";var D={class:"p-xl"},j={class:"solid"},V={class:"solid my-xl"},A={class:"flex flex-wrap items-center cp-s"},E={class:"flex-none"},I={class:"flex-none"},P={class:"solid"},R={class:"flex flex-wrap items-center mb-xl"},O={class:"flex-auto"},S={class:"Subtitle mb-n"},B={class:"fas fa-fw fa-question-circle text-blue"},C={class:"flex-none"},L=e({__name:"TrueposPage",setup(e){const L=y(()=>_(()=>import("./chunk-89.BzNUDJwg.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]))),U=y(()=>_(()=>import("./chunk-101.O4ebclPc.js"),__vite__mapDeps([22,1,7,3,4,2,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21]))),q=k(),z=h(),J=d({toggleActivation:{isVisible:!1,payload:{}},delete:{isVisible:!1,payload:{item:void 0}}}),M=v({heading:{content:"I tabellen nedan syns aktuella kassakopplingar som används av Timetjek."},createButton:o(()=>{var e;return(null===(e=q.company)||void 0===e?void 0:e.has_truepos_integration)?{}:{theme:"blue",content:"Du måste aktivera integrationen."}})});function N(){z.loadCashDeskSources({params:{name:x.TRUEPOS,load_workplace:!0}})}function F(e,a){void 0!==a&&(J.value[e].payload.item=a),J.value[e].isVisible=!0}function G(e){J.value[e].isVisible=!1,J.value[e].payload.item=void 0}return(e,o)=>{var d,v;const k=c("ui-button"),_=c("router-link"),y=s("tooltip");return i(),g("div",D,[p("div",j,[l(T),p("div",V,[p("div",A,[o[8]||(o[8]=p("div",{class:"flex-auto"},[p("h2",{class:"Title"}," TruePOS ")],-1)),p("div",E,[l(k,{class:"Black",routerLinkTo:{name:"settings.integrations"}},{default:f(()=>[...o[7]||(o[7]=[p("i",{class:"fa fa-arrow-left"},null,-1),m(" Tillbaka ",-1)])]),_:1})]),p("div",I,[l(k,{class:t({Red:null===(d=a(q).company)||void 0===d?void 0:d.has_truepos_integration}),onClick:o[0]||(o[0]=e=>F("toggleActivation"))},{default:f(()=>{var e;return[m(u((null===(e=a(q).company)||void 0===e?void 0:e.has_truepos_integration)?"Avaktivera":"Aktivera"),1)]}),_:1},8,["class"])])])])]),p("div",P,[p("div",R,[p("div",O,[p("h4",S,[o[9]||(o[9]=m(" Aktuella kassakopplingar ",-1)),r(p("i",B,null,512),[[y,M.heading]])])]),r((i(),g("div",C,[l(_,{to:{name:"settings.integrations.truepos.cash-desk-sources.create"},class:t(["Button",{Disabled:!(null===(v=a(q).company)||void 0===v?void 0:v.has_truepos_integration)}])},{default:f(()=>[...o[10]||(o[10]=[p("i",{class:"fas fa-fw fa-plus"},null,-1),m(" Lägg till koppling ",-1)])]),_:1},8,["class"])])),[[y,M.createButton]])]),l(w,{nameParameter:a(x).TRUEPOS,editRouteName:"settings.integrations.truepos.cash-desk-sources.edit",onShowDeleteModal:o[1]||(o[1]=e=>F("delete",e))},null,8,["nameParameter"])]),J.value.delete.isVisible&&void 0!==J.value.delete.payload.item?(i(),b(a(L),{key:0,modelValue:J.value.delete.payload.item,"onUpdate:modelValue":o[2]||(o[2]=e=>J.value.delete.payload.item=e),onRefresh:o[3]||(o[3]=e=>N()),onClose:o[4]||(o[4]=e=>G("delete"))},null,8,["modelValue"])):n("",!0),J.value.toggleActivation.isVisible?(i(),b(a(U),{key:1,onRefresh:o[5]||(o[5]=e=>N()),onClose:o[6]||(o[6]=e=>G("toggleActivation"))})):n("",!0)])}}}),U=L;export{U 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.