PageSourceSearch

https://10flow.ai/assets/PatientWebLogin-LRbbcE-k.js

js 10flow.ai collected 2026-10-05 11:47:02 UTC 4,302 bytes, 2 lines download raw bytes

1import{d as C,h as g,w as o,o as _,j as a,a as t,l as L,k as d,t as P,b as I,r,e as W,C as q,f as B,g as N,_ as R}from"./index-qH1jHQgf.js";import{_ as F}from"./logo-10flow-ondark-BNs3rk17.js";import{_ as S}from"./logo-10flow-onlight-Dty14PNt.js";import{l as A}from"./patientService-BneSRl3M.js";import{D}from"./DebugEnvPanel-CTT7G1Do.js";import{V as M,a as O}from"./VMain-CXNMh1Go.js";import{V as z}from"./VAppBar-BdFkzyD8.js";import{V as E}from"./VCard-CBuQ_ZtB.js";import{V as T}from"./VForm-CpSX6F9z.js";import{V}from"./VTextField-D3BXTfCE.js";import{V as U}from"./VBtn-Dx6Lc6Bn.js";import{V as b}from"./index-DqMIvu9w.js";import{V as j}from"./VAlert-DGZAU9uY.js";import"./index-BUZisX26.js";import"./ssrBoot-DY0s0DiA.js";import"./VToolbar-MPXmF9QY.js";import"./index-D18KUBR3.js";import"./VImg-Bb0P_f7G.js";import"./createSimpleFunctional-DaTyDdRK.js";import"./VAvatar-DIOFv1NP.js";import"./forwardRefs-BOMNi2Up.js";import"./group-BnjaKD6V.js";const J={class:"login-wrap"},$={class:"login-card__link-wrap"},h=C({__name:"PatientWebLogin",setup(G){const y=B(),k=N(),c=r(),p=r(""),m=r(""),u=r(!1),f=r(!1),i=r(""),w=W(()=>({name:"PatientWebRegister",query:{storeId:k.query.storeId}})),v={required:l=>!!l||"必須項目です",email:l=>/.+@.+\..+/.test(l)||"メールアドレスの形式が正しくありません"};async function x(){var e;const{valid:l}=await c.value.validate();if(l){f.value=!0,i.value="";try{const s=await A(p.value,m.value);localStorage.setItem("patient_data",JSON.stringify(s.patient)),y.push({name:"PatientEstimateList"})}catch(s){((e=s.response)==null?void 0:e.status)===401?i.value="メールアドレスまたはパスワードが正しくありません":i.value="ログインに失敗しました"}finally{f.value=!1}}}return(l,e)=>{const s=q("router-link");return _(),g(M,null,{default:o(()=>[a(z,{app:"",color:"transparent",flat:"",height:64,class:"patient-header"},{default:o(()=>[...e[3]||(e[3]=[t("div",{class:"patient-header__inner"},[t("div",{class:"patient-header__logo"},[t("img",{src:F,alt:"10FLOW",style:{height:"28px",width:"auto",display:"block"}})]),t("div",{class:"patient-header__title"},"会員ログイン")],-1)])]),_:1}),a(O,{class:"patient-main"},{default:o(()=>[e[11]||(e[11]=t("div",{class:"patient-bg","aria-hidden":"true"},null,-1)),t("div",J,[a(E,{class:"login-card",elevation:"0"},{default:o(()=>[e[8]||(e[8]=t("div",{class:"login-card__accent"},null,-1)),e[9]||(e[9]=t("div",{class:"login-card__head"},[t("div",{class:"login-card__brand"},[t("img",{src:S,alt:"10FLOW",style:{height:"46px",width:"auto",display:"block"}})]),t("p",{class:"login-card__sub"},"登録済みのメールアドレスでログイン")],-1)),a(T,{ref_key:"formRef",ref:c,onSubmit:L(x,["prevent"]),class:"login-form"},{default:o(()=>[a(V,{modelValue:p.value,"onUpdate:modelValue":e[0]||(e[0]=n=>p.value=n),label:"メールアドレス",type:"email",variant:"outlined",density:"comfortable","prepend-inner-icon":"mdi-email-outline",rules:[v.required,v.email]},null,8,["modelValue","rules"]),a(V,{modelValue:m.value,"onUpdate:modelValue":e[1]||(e[1]=n=>m.value=n),label:"パスワード",variant:"outlined",density:"comfortable",type:u.value?"text":"password","prepend-inner-icon":"mdi-lock-outline","append-inner-icon":u.value?"mdi-eye":"mdi-eye-off",rules:[v.required],"onClick:appendInner":e[2]||(e[2]=n=>u.value=!u.value)},null,8,["modelValue","type","append-inner-icon","rules"]),a(U,{type:"submit",block:"",size:"large",loading:f.value,class:"login-btn mt-2"},{default:o(()=>[a(b,{start:""},{default:o(()=>[...e[4]||(e[4]=[d("mdi-login",-1)])]),_:1}),e[5]||(e[5]=d(" ログイン ",-1))]),_:1},8,["loading"])]),_:1},512),i.value?(_(),g(j,{key:0,type:"error",variant:"tonal",class:"mt-4",density:"comfortable"},{default:o(()=>[d(P(i.value),1)]),_:1})):I("",!0),e[10]||(e[10]=t("div",{class:"login-card__divider"},[t("span",null,"または")],-1)),t("div",$,[a(s,{to:w.value,class:"login-card__link"},{default:o(()=>[a(b,{size:"18",class:"me-1"},{default:o(()=>[...e[6]||(e[6]=[d("mdi-account-plus-outline",-1)])]),_:1}),e[7]||(e[7]=d(" アカウントをお持ちでない方はこちら ",-1))]),_:1},8,["to"])])]),_:1})]),a(D)]),_:1})]),_:1})}}}),ge=R(h,[["__scopeId","data-v-84abb3bc"]]);export{ge as default};
2//# sourceMappingURL=PatientWebLogin-LRbbcE-k.js.map

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.