PageSourceSearch

https://emr.kompletecare.com/_nuxt/BIdnTAP1.js

js kompletecare.com collected 2026-10-08 12:20:25 UTC 5,065 bytes, 1 lines download raw bytes

1import{_ as T}from"./CXVszHqz.js";import{_ as O}from"./DcGhxoNh.js";import{_ as P}from"./8sjTgCsn.js";import{e as $,x as c,p as F,k as H,bF as q,c as D,o as E,a as t,b as o,w as a,t as f,f as n,a1 as N,H as _,d as i,a_ as g,b4 as y,_ as W,F as z,a2 as G,J as m,L as Y}from"#entry";import{_ as A}from"./DGPryvhF.js";import{C as B}from"./CC2DrIxU.js";import"./C3DONDKa.js";import"./B5f7C4HF.js";import"./Ltqd2rAr.js";import"./D5Td5aVQ.js";import"./Cara-jTD.js";import"./CWY3R6PV.js";import"./DUTCMUHG.js";import"./DlAUqK2U.js";const I={class:"text-primary text-2xl font-bold mb-4"},K={class:"gap-6"},L={class:"max-w-xl"},Q={class:"mt-8"},R={class:"text-primary text-xl font-semibold mb-4"},J={class:"bg-gray-50 p-6 rounded-lg mb-4"},X={class:"text-gray-500 text-sm"},Z={class:"text-center"},ee={class:"text-center space-y-4"},te={class:"text-gray-600"},oe={class:"font-bold text-primary"},se={class:"flex justify-center"},ve=$({__name:"contact-support",setup(ae){const r=c(!0),p=c(null),{user:v}=F(),{mutate:x,loading:w}=H(q),s=c({type:null,subject:null,body:null}),h=[{label:"Account",value:"Account"},{label:"Consultation",value:"Consultation"},{label:"Home Care",value:"Home Care"},{label:"HMO",value:"HMO"},{label:"Medical Records",value:"Medical Records"},{label:"Overseas Medical Care (OMC)",value:"Overseas Medical Care (OMC)"},{label:"Prescription",value:"Prescription"},{label:"Pricing",value:"Pricing"},{label:"Subscription",value:"Subscription"},{label:"Care Wallet",value:"Care Wallet"}],C=async()=>{try{const e=(await x({input:s.value}))?.data?.contactSupport;if(!e?.issue_tracking_id){m({title:"Error",description:"Sorry! an Error Occurred!",color:"red"});return}p.value=e.issue_tracking_id,r.value=!0,s.value={type:null,subject:null,body:null},m({title:"Thank you for contacting KompleteCare.",description:"You will receive a feedback within 24hours.You can track the Progress of your issue using this number:"+e.issue_tracking_id,color:"green"})}catch(u){console.error("Contact support error:",u),m({title:"Error",description:"Failed to send message. Please try again.",color:"red"})}},k=()=>{r.value=!1,Y("/dashboard")};return(u,e)=>{const d=T,S=O,M=P,V=W,b=A,U=z,j=G;return E(),D("div",null,[e[14]||(e[14]=t("div",{class:"mb-6"},[t("span",{class:"inline-block bg-primary text-white px-6 py-3 rounded-lg text-lg font-semibold"}," Got an enquiry? ")],-1)),o(b,{class:"mt-4 p-6"},{default:a(()=>[t("h3",I," Hi "+f(n(v)?.name),1),e[8]||(e[8]=t("p",{class:"mb-6 text-gray-600"}," We will be right here if you need any help with your account; We are just a chat away. ",-1)),e[9]||(e[9]=t("h4",{class:"text-primary text-xl font-semibold mb-4"}," Send a Message ",-1)),t("form",{class:"space-y-6",onSubmit:N(C,["prevent"])},[t("div",K,[t("div",L,[o(d,{label:"What do you want to inquire about",name:"type",class:"mb-4 w-full"},{default:a(()=>[o(n(B),{modelValue:s.value.type,"onUpdate:modelValue":e[0]||(e[0]=l=>s.value.type=l),options:h,placeholder:"-- Please select an option --",size:"lg",required:"",class:"w-full"},null,8,["modelValue"])]),_:1}),o(d,{label:"Subject",name:"subject",class:"mb-4"},{default:a(()=>[o(S,{modelValue:s.value.subject,"onUpdate:modelValue":e[1]||(e[1]=l=>s.value.subject=l),type:"text",placeholder:"E.g I cannot subscribe for a plan",maxlength:"50",size:"lg",required:"",class:"w-full"},null,8,["modelValue"])]),_:1}),o(d,{label:"Message",name:"body",class:"mb-4"},{default:a(()=>[o(M,{modelValue:s.value.body,"onUpdate:modelValue":e[2]||(e[2]=l=>s.value.body=l),rows:5,placeholder:"Message here...",size:"lg",class:"w-full",required:""},null,8,["modelValue"])]),_:1}),o(n(_),{type:"submit",color:"primary",size:"lg",loading:n(w),disabled:!s.value.subject||!s.value.body||!s.value.type,class:"mt-4 mb-5 px-8"},{default:a(()=>[...e[4]||(e[4]=[i(" Submit ",-1)])]),_:1},8,["loading","disabled"])])])],32),t("div",Q,[g(t("h3",R," Common Questions ",512),[[y,!1]]),g(t("div",J,[...e[5]||(e[5]=[t("p",{class:"text-gray-600 text-sm"},' FAQ content will be displayed here based on category "Getting Started" ',-1)])],512),[[y,!1]]),t("div",X,[e[7]||(e[7]=t("span",null,"Get more answers at our",-1)),o(V,{to:"/knowledge-centre",class:"font-bold text-primary hover:underline ml-1"},{default:a(()=>[...e[6]||(e[6]=[i(" Knowledge Center ",-1)])]),_:1})])])]),_:1}),o(j,{modelValue:r.value,"onUpdate:modelValue":e[3]||(e[3]=l=>r.value=l)},{body:a(()=>[o(b,null,{default:a(()=>[t("div",Z,[o(U,{name:"i-heroicons-check-circle",class:"w-16 h-16 text-green-500 mx-auto mb-4"}),e[10]||(e[10]=t("h3",{class:"text-green-600 text-xl font-bold"}," Message Sent Successfully ",-1))]),t("div",ee,[e[12]||(e[12]=t("h4",{class:"text-lg font-semibold"}
1," Thank you for contacting KompleteCare. You will receive a feedback within 24hours ",-1)),t("p",te,[e[11]||(e[11]=i(" You can track the Progress of your issue using this number: ",-1)),t("span",oe,f(p.value),1)])]),t("div",se,[o(n(_),{color:"primary",onClick:k},{default:a(()=>[...e[13]||(e[13]=[i(" Go to Dashboard ",-1)])]),_:1})])]),_:1})]),_:1},8,["modelValue"])])}}});export{ve 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.