1import{_ as g}from"./Screen-Y4tKIX9s.js";import{_ as y,b as _}from"./index-WRCYpubE.js";import{P as u}from"./PosGatewayForm-0PBXA3Ig.js";import{n as w}from"./Navigator-CUDWzzce.js";import{r as h,o as s,e as n,w as a,P as d,J as v,cV as m,N as p,O as b}from"./vendor-BkjPvJTJ.js";import"./ScreenHeaderBar-CRqPTzS6.js";import"./device-CaMZm60a.js";import"./FacilForm-BxprOlRz.js";import"./Card-pvvCu3sh.js";import"./FacilAccordionPanel-B0uC5tYK.js";import"./dom-BKZd2znq.js";import"./FacilLoader-CuyarLW3.js";import"./FacilNumber-DuB3TFIZ.js";import"./FacilSelectJSX.vue_vue_type_script_lang-CX8BVpw5.js";import"./FacilSelect-DUd3RxAT.js";import"./FacilChip-Dq_ha_Ns.js";import"./FacilDivider-E6RCxgPU.js";import"./debounce-o5ZiFEFz.js";import"./formatMoney-E6P78A61.js";import"./isFalsey-CjNaCpB1.js";import"./FacilRadioGroup-Dyuzz9_3.js";import"./FacilRadio-CteRVEyt.js";/* empty css */import"./FacilSwitch-DN_s7rRw.js";import"./FacilTextarea-CTZJudO6.js";import"./FacilFormLayout-CfPiIjhb.js";import"./FacilFormItem-B_UdMjXY.js";import"./FacilText-CTEYpgiK.js";import"./PosListGroup-CmXeP8sA.js";import"./PosListItem-ChfkpEzK.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"fix@[email protected]"};var o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="a7d7ef6f-14d4-4a24-8837-a4f6f97d6bdc",t._sentryDebugIdIdentifier="sentry-dbid-a7d7ef6f-14d4-4a24-8837-a4f6f97d6bdc")}catch{}})();const x={name:"POSGatewayDetailsAsiapayPosLegacy",components:{PosGatewayForm:u},mixins:[w],props:{},data(){return{gatewayPrefix:"asiapay-pos",data:{gateway:{},store_gateway:{}}}},computed:{headerBar(){return{title:this.title,logo:this.logo,leftAction:{icon:"chevron_left",onAction:()=>{this.navigatorPop()}}}},title(){return this.data.gateway?this.data.gateway.title:""},logo(){return this.data.gateway?this.data.gateway.img_logo_url:""}},watch:{},mounted(){},methods:{getData(t){this.data=t},remove(){this.$refs.gatewayForm.remove()},save(){this.$refs.gatewayForm.save()}}},P={class:"flex gap-5 lg:w-11/12 xl:w-10/12 lg:self-center"};function k(t,o,l,D,r,e){const c=h("PosGatewayForm"),i=_,f=g;return s(),n(f,{"header-bar":e.headerBar},{footer:a(()=>[v("div",P,[r.data.is_create?b("",!0):(s(),n(i,{key:0,"loading-style":"pos",type:"danger",inverted:"",size:"xl",class:"w-full",loading:t.adminStore.isLoading,onClick:e.remove},{default:a(()=>[m(p(t.$tt("buttons.delete")),1)]),_:1},8,["loading","onClick"])),d(i,{"loading-style":"pos",type:"primary",class:"w-full",size:"xl",inverted:!r.data.is_create,loading:t.adminStore.isLoading,onClick:e.save},{default:a(()=>[m(p(t.$tt("buttons.save")),1)]),_:1},8,["inverted","loading","onClick"])])]),default:a(()=>[d(c,{ref:"gatewayForm","gateway-prefix":r.gatewayPrefix,onGet:e.getData},null,8,["gateway-prefix","onGet"])]),_:1},8,["header-bar"])}const at=y(x,[["render",k]]);export{at 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.