https://appt.doctorsfile.jp/_next/static/chunks/pages/doctor-setting/[hid]/basic-68f8dd6b8c704fcb.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[203],{77805:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/doctor-setting/[hid]/basic",function(){return n(2317)}])},91807:function(e,i,n){"use strict";var t=n(85893);n(67294);let s=e=>{let{domains:i,emphasized:n=!1}=e;return n?(0,t.jsxs)("div",{className:"bg-[#e9efd9] rounded-lg py-[11px] px-[17px] text-[13px]",children:["â»",(0,t.jsx)("span",{className:"font-bold",children:"ä¸è¨ãã¡ã¤ã³ã®ã¡ã¼ã«ã¢ãã¬ã¹ã«ã¯ã·ã¹ãã ããã®ã¡ã¼ã«ãå±ããªã"}),"å ´åããããã¾ããä»ã®ãã¡ã¤ã³ã®ã¢ãã¬ã¹ããå
¥åãã ããã",(0,t.jsx)("br",{}),"ã対象ã",(0,t.jsx)("br",{}),i.map((e,i)=>(0,t.jsxs)("span",{className:"mr-4",children:[e," "]},i))]}):(0,t.jsxs)("div",{children:["â»ä¸è¨ã®ãã¡ã¤ã³ã®ã¡ã¼ã«ã¢ãã¬ã¹ã«å¯¾ãã¦ã¯ã·ã¹ãã ããã®ã¡ã¼ã«ãæ£ããå±ããªãå ´åããããã¾ãã",(0,t.jsx)("br",{}),"ä»ã®ãã¡ã¤ã³ã®ã¡ã¼ã«ã¢ãã¬ã¹ããå
¥åãã ããã",(0,t.jsx)("br",{}),"ã対象ã",(0,t.jsx)("br",{}),i.map((e,i)=>(0,t.jsxs)("span",{className:"mr-4",children:[e," "]},i))]})};i.Z=s},10906:function(e,i,n){"use strict";n.d(i,{_:function(){return o}});var t=n(85893),s=n(23569),a=n(32196);let o=e=>{let{children:i}=e;return(0,t.jsx)("div",{className:"flex justify-center items-center h-full",children:(0,t.jsx)(s.Zb,{className:"h-full",theme:a.Q.card,children:i})})}},94290:function(e,i,n){"use strict";n.d(i,{h:function(){return l}});var t=n(85893);n(67294);var s=n(23569),a=n(87536),o=n(89583);let l=e=>{let{label:i,name:n,className:l,disabled:r,rules:d}=e,{register:c,watch:p}=(0,a.Gc)(),m=p(n);return(0,t.jsx)("div",{className:"flex max-w-md flex-col gap-4",id:"checkbox",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(s.XZ,{id:n,...c(n,d),className:"sr-only",disabled:r}),(0,t.jsx)(s.__,{htmlFor:n,className:"items-center cursor-pointer w-full ".concat(l),children:(0,t.jsxs)("div",{className:"flex flex-none min-w-40 border-2 rounded-md p-[15px] h-[54px] space-x-3\n ".concat(m&&" border-doctor-base","\n ").concat(r&&" bg-doctor-inactive-field cursor-not-allowed","\n "),children:[(0,t.jsx)("div",{className:"flex items-center justify-center border border-doctor-disabled rounded-[4px] w-[21px] h-[21px] bg-doctor-inactive-check",children:m&&(0,t.jsx)(o.l_A,{className:"text-doctor-selected"})}),(0,t.jsx)("div",{className:"font-bold",children:i})]})})]})})}},58783:function(e,i,n){"use strict";n.d(i,{y:function(){return p}});var t=n(85893),s=n(67294),a=n(87536),o=n(8334);let l=new Date().getFullYear(),r=(e,i)=>{let n=[];for(let t=e;t<=i;t++)n.push(t.toString());return n},d=Array.from({length:12},(e,i)=>(i+1).toString().padStart(2,"0")),c=(e,i)=>{let n=parseInt(e,10),t=parseInt(i,10),s=new Date(t,n,0).getDate();return Array.from({length:s},(e,i)=>(i+1).toString().padStart(2,"0"))},p=e=>{let{defaultYear:i,defaultMonth:n,defaultDay:p,startYearOffset:m=4,endYearOffset:x=9,name:u="",disabled:h=!1}=e,{control:j,watch:f,setValue:N}=(0,a.Gc)(),b=(0,s.useMemo)(()=>r(l-m,l+x),[r]),v=u?{year:"".concat(u,"Year"),month:"".concat(u,"Month"),day:"".concat(u,"Day")}:{year:"year",month:"month",day:"day"},g=f(v.month),y=f(v.year),M=f(v.day),_=(0,s.useMemo)(()=>c(g,y),[g,y]),A=e=>e.map(e=>({value:e,label:e})),w=(0,s.useMemo)(()=>A(b),[b]),C=(0,s.useMemo)(()=>A(d),[d]),T=(0,s.useMemo)(()=>A(_),[_,g,y]);return(0,s.useEffect)(()=>{var e;T.some(e=>e.value==M)||N(v.day,null===(e=T[0])||void 0===e?void 0:e.value)},[T,M]),(0,t.jsxs)("div",{className:"flex space-x-2",children:[(0,t.jsx)(a.Qr,{control:j,name:v.year,defaultValue:i,render:e=>{let{field:i}=e;return(0,t.jsx)(o.A,{...i,items:w,disabled:h})}}),(0,t.jsx)(a.Qr,{control:j,name:v.month,defaultValue:n,render:e=>{let{field:i}=e;return(0,t.jsx)(o.A,{...i,items:C,disabled:h})}}),(0,t.jsx)(a.Qr,{control:j,name:v.day,defaultValue:p,render:e=>{let{field:i}=e;return(0,t.jsx)(o.A,{...i,items:T,disabled:h})}})]})}},2317:function(e,i,n){"use strict";n.r(i),n.d(i,{Basic:function(){return W},default:function(){return V}});var t=n(85893),s=n(67294),a=n(31955),o=n(11163),l=n(87536),r=n(63750),d=n(13626),c=n(67930),p=n(91807),m=n(36395),x=n(7818),u=n(10906),h=n(98513),j=n(46981),f=n(29440),N=n(72395),b=n(94290),v=n(872),g=n(58783),y=n(72224),M=n(33025),_=n(92862),A=n(25638),w=n(34484),C=n(23569),T=n(25675),S=n.n(T);let P=e=>{let{content:i,imageUrl:n,showModal:a,onClose:o,closeButtonText:l="éãã",size:r="lg",imageWidth:d=200}=e,c=i.split(/\/n/).map((e,i)=>(0,t.jsxs)(s.Fragment,{children:[e,(0,t.jsx)("br",{})]},i));return(0,t.jsxs)(C.u_,{show:a,size:r,onClose:o,popup:!0,style:{height:"auto"},children:[(0,t.jsx)("div",{className:"flex justify-center mt-4 mb-2 ",children:(0,t.jsx)(S(),{src:"/common/confirm.svg",alt:"confirm icon",width:60,height:60})}),(0,t.jsx)("div",{className:"text-center px-2",children:c}),n&&(0,t.jsx)("div",{className:"flex justify-center mt-8",children:(0,t.jsx)(S(),{src:n,alt:"modal image",width:d,height:0})}),(0,t.jsx)(C.u_.Body,{children:(0,t.jsx)("div",{className:"flex justify-center gap-4",children:(0,t.jsx)("span",{className:" flex",children:(0,t.jsx)("span",{className:"m-2.5",children:(0,t.jsx)(x.o,{onClick:o,color:"white",size:"sm",text:l})})})})})]})};var E=n(42359),O=n(11218),U=n(51605),F=n(4271),R=n(69597),q=n(96467);let W=e=>{let{}=e,i=(0,o.useRouter)(),{doctorSession:n,setDoctorSession:C}=(0,c.j)(),T=(0,s.useContext)(R.KL),S=Number(i.query.hid),W=(0,s.useRef)(null),V=(0,s.useRef)(null),B=(0,s.useRef)(null),k=(0,s.useRef)(null),z=(0,s.useRef)(null),D=(0,s.useRef)(""),I=(0,l.cI)({defaultValues:{patientAp
1pointUse:!1,enableProductionMode:!1,isTrainingModeInitialized:!1,appointNoticeType:void 0,mailNotificationEnabled:!1,faxNotificationEnabled:!1,appointmentNoticeFax:"",appointNoticeMailWebonly:!1,appointNoticeFaxWebonly:!1,appointmentConfirmationSampleMessage:"",appointmentConfirmationMessage:"",justBeforeAppointmentConfirmationSampleMessage:"",justBeforeAppointmentConfirmationMessage:"",temporaryAppointmentConfirmationSampleMessage:"",toPatientMessage:"",patientNoRequired:!1,useNearbyNoticeMail:!1,tempAppointUse:!1,isCancellable:!1}}),{removePageLeaveEvent:X}=(0,d.O)(I.formState.isDirty,!1),[H,Z]=(0,s.useState)(!1),[Y,K]=(0,s.useState)({isModalOpen:!1,isWarningModalOpen:!1,isShowAlert:!1,color:"success",toPatientMessage:"",errorMessage:"",displayType:"",domains:[],isTempAppointUseAddModalOpen:!1,isTempAppointUseRemoveModalOpen:!1}),L=e=>{K(i=>({...i,...e}))},Q=e=>{e||(e=new Date);let i=new Date(e),n=i.getFullYear().toString(),t=(i.getMonth()+1).toString().padStart(2,"0"),s=i.getDate().toString().padStart(2,"0");return{year:n,month:t,day:s}},G=async e=>{let t="".concat(e.year).concat(e.month).concat(e.day);L({isWarningModalOpen:!1});let s=e.mailNotificationEnabled,o=e.faxNotificationEnabled;if(!isNaN(S)){var l,r;let d={xCSRFToken:null!==(l=a.Z.get("CSRF-TOKEN"))&&void 0!==l?l:"",hid:S,isWebAppointmentUse:e.patientAppointUse,enableProductionMode:e.enableProductionMode,isTrainingModeInitialized:e.isTrainingModeInitialized,appointStartDate:t,useTempAppointment:e.tempAppointUse,appointNoticeType:s&&o?"mail_fax_notification_enabled":s?"mail_notification_enabled":o?"fax_notification_enabled":"notification_disabled",useNearbyNoticeMail:e.useNearbyNoticeMail,appointNoticeSendmail:e.appointNoticeSendmail?e.appointNoticeSendmail:void 0,appointmentNoticeFax:e.appointmentNoticeFax.trim()?e.appointmentNoticeFax.trim():void 0,inquiryPhoneNumber:e.inquiryPhoneNumber||void 0,isAppointmentNoticeMail:!e.appointNoticeMailWebonly,isAppointmentNoticeFax:!e.appointNoticeFaxWebonly,patientNoRequired:null!==(r=e.patientNoRequired)&&void 0!==r&&r,appointmentConfirmationMessage:e.appointmentConfirmationMessage||void 0,justBeforeAppointmentConfirmationMessage:e.justBeforeAppointmentConfirmationMessage||void 0,toPatientMessage:e.toPatientMessage,isCancellable:e.isCancellable};o||delete d.appointmentNoticeFax,d.inquiryPhoneNumber&&""!==d.inquiryPhoneNumber.trim()||delete d.inquiryPhoneNumber,Z(!0),await T.putBasicSetting(d).then(()=>{if(e.isTrainingModeInitialized){X(),i.push("/doctor-setting/".concat(S,"/initialize/select-type/"));return}W.current&&W.current.scrollIntoView({behavior:"smooth"}),L({errorMessage:void 0}),L({isShowAlert:!0}),e.enableProductionMode&&C({...n,trainingMode:!1}),I.reset({...I.getValues(),enableProductionMode:!1})}).catch(e=>{e.response.json().then(e=>{let i=e.error_message;if(i)W.current&&W.current.scrollIntoView({behavior:"smooth"}),L({isShowAlert:!0}),L({errorMessage:i});else if("bad_request"==e.id){W.current&&W.current.scrollIntoView({behavior:"smooth"});let i=(0,q.Hz)(e.message)||"";i=(i=(i=i.replace("appoint_notice_sendmail","ã¡ã¼ã«ã¢ãã¬ã¹")).replace("appointment_notice_fax","FAXçªå·")).replace("inquiry_phone_number","é»è©±çªå·"),L({isShowAlert:!0}),L({errorMessage:i})}else W.current&&W.current.scrollIntoView({behavior:"smooth"}),L({isShowAlert:!0}),L({errorMessage:"æ´æ°ã«å¤±æãã¾ãã"})})}).finally(()=>Z(!1))}},{handleSubmit:$}=I,J=e=>{es(z),I.setValue("toPatientMessage",e)},ee=e=>{!0===I.watch("enableProductionMode")?L({isWarningModalOpen:!0}):$(G)(e)},ei=e=>{L({toPatientMessage:I.getValues("toPatientMessage")}),L({isModalOpen:!0})},en=()=>{I.setValue("toPatientMessage",I.getValues("toPatientMessage")+D.current)},et=()=>{L({isModalOpen:!1}),L({isWarningModalOpen:!1})},es=e=>{var i;if(!e.current)return;let n=document.querySelector("#header"),t=null!==(i=null==n?void 0:n.offsetHeight)&&void 0!==i?i:64,s=e.current.getBoundingClientRect().top+window.pageYOffset-t;window.scrollTo({top:s,behavior:"smooth"})};(0,s.useEffect)(()=>{let e=I.watch("mailNotificationEnabled");e||I.setValue("appointNoticeMailWebonly",!1)}
1,[I.watch("mailNotificationEnabled")]),(0,s.useEffect)(()=>{let e=I.watch("mailNotificationEnabled"),i=I.watch("faxNotificationEnabled");e&&I.setValue("appointNoticeMailWebonly",!0),i&&I.setValue("appointNoticeFaxWebonly",!0)},[I]),(0,s.useEffect)(()=>{i.isReady&&!isNaN(S)&&T.getBasicSetting({hid:S}).then(e=>{var i,n,t;let{year:s,month:a,day:o}=Q(e.patientAppointStartdate),l=e.appointNoticeType||"",r=["mail_notification_enabled","mail_fax_notification_enabled"].includes(l),d=["fax_notification_enabled","mail_fax_notification_enabled"].includes(l),c=e.appointNoticeMailWebonly||!1,p=e.appointNoticeFaxWebonly||!1;e.domains&&K(i=>({...i,domains:e.domains})),D.current=e.temporaryAppointmentTopmessageTemplate,I.reset({...I.getValues(),patientAppointUse:e.patientAppointUse,year:s,month:a,day:o,mailNotificationEnabled:r,faxNotificationEnabled:d,appointNoticeMailWebonly:c,appointNoticeFaxWebonly:p,appointNoticeSendmail:(null===(i=e.appointNoticeSendmail)||void 0===i?void 0:i.trim())||"",appointmentNoticeFax:(null===(n=e.appointNoticeSendfax)||void 0===n?void 0:n.trim())||"",appointmentConfirmationMessage:e.appointmentConfirmationMessage||"",appointmentConfirmationSampleMessage:e.appointmentConfirmationSampleMessage||"",justBeforeAppointmentConfirmationMessage:e.justBeforeAppointmentConfirmationMessage||"",justBeforeAppointmentConfirmationSampleMessage:e.justBeforeAppointmentConfirmationSampleMessage||"",temporaryAppointmentConfirmationSampleMessage:e.temporaryAppointmentConfirmationSampleMessage||"",toPatientMessage:e.toPatientMessage||"",patientNoRequired:e.patientNoRequired,inquiryPhoneNumber:null===(t=e.inquiryPhoneNumber)||void 0===t?void 0:t.trim(),useNearbyNoticeMail:e.orderNoticeMailUse,tempAppointUse:e.tempAppointUse,isCancellable:e.isCancellable})}).catch(e=>{var n,t;(null===(n=e.response)||void 0===n?void 0:n.status)===U.b.UNAUTHORIZED?i.push("https://doctorsfile.jp/csadmin/"):(null===(t=e.response)||void 0===t?void 0:t.status)===U.b.NOT_FOUND&&(0,q.DW)(e)})},[i.isReady,T]),(0,s.useEffect)(()=>{if(n){let e=!n.trainingMode,i="seq"===n.appointType;e&&i?L({displayType:"production_seq"}):!e&&i?L({displayType:"training_seq"}):e&&!i?L({displayType:"production_time"}):L({displayType:"training_time"})}},[n,Y.displayType]);let ea=()=>{L({isShowAlert:!1})},eo=()=>["production_seq","training_seq"].includes(Y.displayType)?"äºç´ç´åéç¥":["production_time","training_time"].includes(Y.displayType)?"äºç´åæ¥éç¥":"";return(0,t.jsxs)("div",{ref:W,children:[H&&(0,t.jsx)(f.$,{}),(0,t.jsx)(A.A,{hid:S,children:(0,t.jsxs)("div",{children:[(0,t.jsxs)(l.RV,{...I,children:[(0,t.jsx)(j.V,{title:"åºæ¬è¨å®",showVaccineCautionButton:!0}),Y.isShowAlert&&(0,t.jsx)(m.I,{onDismiss:ea,errorMessage:Y.errorMessage}),(0,t.jsxs)("div",{className:"flex ml-24 space-x-4 mt-20",children:[(0,t.jsx)(x.o,{text:"ã·ã¹ãã å©ç¨è¨å®",color:"white",size:"md",icon:"/doctor/chevron-base.svg",onClick:()=>es(V)}),["production_time","training_time"].includes(Y.displayType)&&(0,t.jsx)(x.o,{text:"ä»®äºç´éç¨è¨å®",color:"white",size:"md",icon:"/doctor/chevron-base.svg",onClick:()=>es(B)}),(0,t.jsx)(x.o,{text:"æ£è
äºç´ç»é¢è¨å®",color:"white",size:"md",icon:"/doctor/chevron-base.svg",onClick:()=>es(z)}),(0,t.jsx)(x.o,{text:"éç¥è¨å®",color:"white",size:"md",icon:"/doctor/chevron-base.svg",onClick:()=>es(k)})]}),(0,t.jsxs)("div",{className:"p-24 space-y-4",children:[(0,t.jsx)("div",{ref:V,children:(0,t.jsx)(u._,{children:(0,t.jsxs)("div",{children:[(0,t.jsx)(N.H,{text:"ã·ã¹ãã å©ç¨è¨å®"}),["production_seq","production_time"].includes(Y.displayType)&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{children:["äºç´ãµã¤ãã®å
¬éãéå§ããå ´åã¯ãã§ãã¯ãå
¥ãã¦ãã ããã",(0,t.jsx)("br",{}),"äºç´ãµã¤ããéå
¬éã«ããå ´åã¯ãã§ãã¯ãå¤ãã¦ãã ããã"]}),(0,t.jsxs)("div",{className:"m-5",children:[(0,t.jsx)(v.b,{name:"patientAppointUse",label:"å
¬éãã"}),(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)("div",{className:"flex items-center",children:"å
¬éæ¥"}),(0,t.jsx)("div",{className:"m-2",children:(0,t.jsx)(g.y,{defaultYear:I.watch("year"),defaultMonth:I.watch("month"),defaultDay:I.watch("day"),disabled:!I.watch("patientAp
1pointUse")})})]})]})]}),["training_seq","training_time"].includes(Y.displayType)&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-bold py-5",children:"ç¾å¨ãã¬ã¼ãã³ã°ã¢ã¼ãä¸ã§ãã"}),(0,t.jsxs)("div",{children:["ï¼ï¼ãã¬ã¼ãã³ã°ã¢ã¼ããçµäºããæ¬çªéç¨ãéå§ããå ´åã¯ãã§ãã¯ãå
¥ãã¦ãã ããã",(0,t.jsx)("br",{}),"çµäºãããã¬ã¼ãã³ã°ã¢ã¼ãã¯åéã§ãã¾ããã"]}),(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(v.b,{name:"enableProductionMode",label:"æ¬çªãéå§ãã"})}),Y.isWarningModalOpen&&(0,t.jsx)(E.R,{showModal:Y.isWarningModalOpen,onClose:et,onSwitch:$(G),content:"æ¬çªã¢ã¼ããéå§ãã¾ããããããã§ããï¼"})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{children:["ï¼ï¼ãã¬ã¼ãã³ã°ã¢ã¼ããæåããããç´ãå ´åã¯ãã§ãã¯ãå
¥ãã¦ãã ããã",(0,t.jsx)("br",{}),"ãã¬ã¼ãã³ã°ã¢ã¼ãä¸ã¯ãã¤ã§ãåæè¨å®ç»é¢ã«æ»ããã¨ãã§ãã¾ãã",(0,t.jsx)("br",{}),"ãã ããç¾å¨ã®åè¨å®æ
å ±ã¯ãã¹ã¦åæåããã¾ãã"]}),(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(v.b,{name:"isTrainingModeInitialized",label:"ãã¬ã¼ãã³ã°ã¢ã¼ããæåããããç´ã"})})]})]})]})})}),["production_time","training_time"].includes(Y.displayType)&&(0,t.jsx)("div",{ref:B,children:(0,t.jsx)(u._,{children:(0,t.jsxs)("div",{children:[(0,t.jsx)(N.H,{text:"ä»®äºç´éç¨è¨å®"}),(0,t.jsxs)("div",{className:"m-5",children:["ä»®äºç´éç¨ãè¡ãå ´åã¯ãã§ãã¯ãå
¥ãã¦ãã ããã",(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(v.b,{name:"tempAppointUse",label:"ä»®äºç´éç¨ãè¡ã",onChange:(e,i)=>{i?L({isTempAppointUseAddModalOpen:!0}):L({isTempAppointUseRemoveModalOpen:!0})}})})]})]})})}),(0,t.jsx)("div",{ref:z,children:(0,t.jsx)(u._,{children:(0,t.jsxs)("div",{children:[(0,t.jsx)(N.H,{text:"æ£è
äºç´ç»é¢è¨å®"}),(0,t.jsxs)("div",{children:["ï¼ï¼æ£è
äºç´ç»é¢ã«è¡¨ç¤ºãããç¥ããå
容ãå
¥åãã¦ãã ããã",(0,t.jsxs)("div",{className:"",children:[(0,t.jsxs)("div",{className:"m-5 bg-gray-200 rounded-lg",children:[(0,t.jsx)(M.N,{name:"toPatientMessage",backgroundColor:"bg-gray-200"}),I.getValues("tempAppointUse")&&(0,t.jsx)("div",{className:"flex justify-center py-4 text-doctor-base text-sm font-bold select-none",children:(0,t.jsxs)("div",{className:"inline-flex items-center gap-1 cursor-pointer bg-white border border-doctor-base hover:bg-doctor-btnHover p-3 rounded-full shadow-[0_0_8px_rgba(0,0,0,0.4)]",onClick:()=>en(),children:[(0,t.jsx)(r.Dwu,{className:"shrink-0 text-xl"}),(0,t.jsx)("span",{children:F.v.BUTTON.ADD_PROVISIONAL_APPOINTMENT_TEXT})]})})]}),(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(x.o,{text:"æ£è
åããç¥ããæ¬ç·¨é",color:"white",size:"sm",icon:"",onClick:ei})}),Y.isModalOpen&&(0,t.jsx)(w.F,{initialContent:Y.toPatientMessage,showModal:Y.isModalOpen,onClose:et,onContentChange:J,temporaryAppointmentTopmessageTemplateRef:D,tempAppointUse:I.getValues("tempAppointUse")||!1})]})]}),(0,t.jsxs)("div",{children:["ï¼ï¼æ£è
äºç´ç»é¢ã«è¡¨ç¤ºããé»è©±çªå·ãå
¥åãã¦ãã ããã",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"ml-5",children:"â»æªå
¥åã®å ´åã¯ä½ã表示ããã¾ãã"}),(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(_.j,{name:"inquiryPhoneNumber",placeholder:"é»è©±çªå·ãå
¥åãã¦ãã ããã",rules:{pattern:{value:O.o8,message:"é»è©±çªå·ã®å½¢å¼ãæ£ããããã¾ãã"}}})})]}),(0,t.jsxs)("div",{children:["ï¼ï¼WEBäºç´ã®è¨ºå¯å¸çªå·ã®å
¥åã«ã¤ãã¦ãä»»æã»å¿
é ã鏿ãã¦ãã ããã",(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(y.P,{name:"patientNoRequired",options:[{label:"ä»»æ",value:!1},{label:"å¿
é ",value:!0}]})})]}),["production_time","training_time"].includes(Y.displayType)&&(0,t.jsxs)("div",{children:["ï¼ï¼æ£è
WEBäºç´ãã£ã³ã»ã«ã®å¯ã»ä¸å¯ã鏿ãã¦ãã ããã",(0,t.jsx)("br",{}),"â»æ£è
WEBäºç´ãã£ã³ã»ã«å¯ã¨ããå ´åãäºç´æ¥ã®2æ¥åã¾ã
1§æ£è
æ§èªèº«ãWEBä¸ã§äºç´ããã£ã³ã»ã«ãããã¨ãã§ãã¾ãã",(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(y.P,{name:"isCancellable",options:[{label:"å¯",value:!0},{label:"ä¸å¯",value:!1}]})})]})]})})}),(0,t.jsx)("div",{ref:k,children:(0,t.jsx)(u._,{children:(0,t.jsxs)("div",{children:[(0,t.jsx)(N.H,{text:"éç¥è¨å®"}),(0,t.jsxs)("div",{className:"my-5",children:[(0,t.jsx)("p",{className:"font-bold",children:"å»é¢åãéç¥"}),(0,t.jsxs)("div",{children:["ï¼ï¼äºç´ãå
¥ã£ãéã»å¤æ´ï¼ãã£ã³ã»ã«ãããéã«ã¡ã¼ã«éç¥ãåãåãå ´åã¯ãã§ãã¯ãå
¥ãã¦ãã ããã",(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(b.h,{name:"mailNotificationEnabled",label:"ã¡ã¼ã«éç¥ãåãåã"})}),(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(b.h,{name:"appointNoticeMailWebonly",label:"é¢å
äºç´ã»å¤æ´ï¼ãã£ã³ã»ã«ã®éç¥ã¯åãåããªã",disabled:!I.watch("mailNotificationEnabled")})})]}),"ï¼ï¼ï¼ï¼éç¥å
ã¡ã¼ã«ã¢ãã¬ã¹ãå
¥åãã¦ãã ããã",(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(_.j,{name:"appointNoticeSendmail",placeholder:"ã¡ã¼ã«ã¢ãã¬ã¹ãå
¥åãã¦ãã ãã",disabled:!I.watch("mailNotificationEnabled"),rules:{pattern:{value:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"ã¡ã¼ã«ã¢ãã¬ã¹ã®å½¢å¼ãæ£ããããã¾ãã"}}})}),(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(h.U,{children:(0,t.jsx)(p.Z,{domains:Y.domains})})})]}),(0,t.jsxs)("div",{children:["ï¼ï¼äºç´ãå
¥ã£ãéã»å¤æ´ï¼ãã£ã³ã»ã«ãããéã«FAXéç¥ãåãåãå ´åã¯ãã§ãã¯ãå
¥ãã¦ãã ããã",(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(b.h,{name:"faxNotificationEnabled",label:"FAXéç¥ãåãåã"})}),(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(b.h,{name:"appointNoticeFaxWebonly",label:"é¢å
äºç´ã»å¤æ´ï¼ãã£ã³ã»ã«ã®éç¥ã¯åãåããªã",disabled:!I.watch("faxNotificationEnabled")})})]}),"ï¼ï¼ï¼ï¼éç¥å
FAXçªå·ãå
¥åãã¦ãã ããã",(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(_.j,{name:"appointmentNoticeFax",placeholder:"FAXçªå·ãå
¥åãã¦ãã ãã",disabled:!I.watch("faxNotificationEnabled"),rules:{pattern:{value:O.o8,message:"FAXçªå·ã®å½¢å¼ãæ£ããããã¾ãã"}}})})]})]}),(0,t.jsxs)("div",{className:"mt-5",children:[(0,t.jsx)("p",{className:"font-bold",children:"æ£è
æ§åãéç¥"}),(0,t.jsxs)("div",{children:["ï¼ï¼æ£è
æ§ã¸ã®äºç´ç¢ºèªéç¥ã¡ã¼ã«å
ã«ãªãªã¸ãã«ã¡ãã»ã¼ã¸ãå«ãããå ´åã¯å
¥åãã¦ãã ããã",["production_time","training_time"].includes(Y.displayType)&&(0,t.jsx)("div",{children:"â»ä»®äºç´éç¨ãè¡ãå ´åã¯ä»®äºç´æã¨äºç´ç¢ºå®æã®2åãã¡ã¼ã«ãéä¿¡ããã¾ãã"}),(0,t.jsxs)("div",{className:"flex m-5 space-x-4",children:[(0,t.jsxs)("div",{style:{width:["production_time","training_time"].includes(Y.displayType)?"50%":"100%"},children:[(0,t.jsx)("div",{children:"äºç´ç¢ºå®éç¥ã¡ã¼ã«ï¼ãµã³ãã«ï¼"}),(0,t.jsx)(M.N,{name:"appointmentConfirmationSampleMessage"})]}),["production_time","training_time"].includes(Y.displayType)&&(0,t.jsxs)("div",{style:{width:"50%"},children:[(0,t.jsx)("div",{children:"ä»®äºç´éç¥ã¡ã¼ã«ï¼ãµã³ãã«ï¼"}),(0,t.jsx)(M.N,{name:"temporaryAppointmentConfirmationSampleMessage"})]})]}),["production_seq","training_seq"].includes(Y.displayType)&&(0,t.jsx)("p",{className:"mx-5 mt-2",children:"â»ãâ人åã«ã¯ãæ¥é¢ãã ãããã®é¨åã«ã¤ãã¦ã¯ããäºç´æ è¨å®ç»é¢ãã«ã¦æ°å¤ã®è¨å®ãå¯è½ã§ã"}),(0,t.jsxs)("div",{className:"m-5",children:[(0,t.jsx)("div",{children:"éç¥å
容ã«å ãã¦è²´é¢ãªãªã¸ãã«ã®ã¡ãã»ã¼ã¸ãéä¿¡ãããå ´åã¯ãã¡ãã«å
¥åãã¦ãã ãã"}),(0,t.jsx)(M.K,{name:"appointmentConfirmationMessage",disabled:!1,rules:{maxLength:{value:1e3,message:"1000æå以å
ã§å
¥åãã¦ãã ãã"}}})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{children:["ï¼ï¼æ£è
ã¸ã®",eo(),"ã¡ã¼ã«ãé
1ä¿¡ããå ´åã¯ãã§ãã¯ãå
¥ãã¦ãã ããã"]}),["production_time","training_time"].includes(Y.displayType)&&(0,t.jsx)("div",{children:"â»äºç´æ¥åæ¥ã®æ¼12:00ã«ã¡ã¼ã«ãéä¿¡ããã¾ãã"}),(0,t.jsx)("div",{className:"m-5",children:(0,t.jsx)(v.b,{name:"useNearbyNoticeMail",label:"éä¿¡ãã"})}),(0,t.jsxs)("div",{className:"m-5",children:[(0,t.jsxs)("div",{children:[eo(),"ã¡ã¼ã«ï¼ãµã³ãã«ï¼"]}),(0,t.jsx)(M.N,{name:"justBeforeAppointmentConfirmationSampleMessage"})]}),(0,t.jsxs)("div",{className:"m-5",children:[(0,t.jsx)("div",{children:"éç¥å
容ã«å ãã¦è²´é¢ãªãªã¸ãã«ã®ã¡ãã»ã¼ã¸ãéä¿¡ãããå ´åã¯ãã¡ãã«å
¥åãã¦ãã ãã"}),(0,t.jsx)(M.K,{name:"justBeforeAppointmentConfirmationMessage",disabled:!I.watch("useNearbyNoticeMail"),rules:{maxLength:{value:1e3,message:"1000æå以å
ã§å
¥åãã¦ãã ãã"}}})]})]})]})]})})})]}),(0,t.jsx)("div",{className:"grid justify-items-center pb-20",children:(0,t.jsx)(x.o,{text:"è¨å®ãæ´æ°ãã",color:"base",size:"sm",icon:"",onClick:ee})})]}),Y.isTempAppointUseAddModalOpen&&(0,t.jsx)(P,{content:"ãæ£è
äºç´ç»é¢è¨å®ãï¼1.ã®ãç¥ããç·¨éé
ç®ã«ã¦ã/näºç´ãµã¤ãä¸ã§æ²ç¤ºãããæ£è
æ§åãã®ãç¥ããæ¬ã«/nä»®äºç´æ¡å
æã追å ãããã¨ãæ¨å¥¨ãã¾ãã",imageUrl:"/doctor/temp_appointment_on_guide.png",showModal:Y.isTempAppointUseAddModalOpen,onClose:()=>L({isTempAppointUseAddModalOpen:!1}),size:"4xl",imageWidth:800}),Y.isTempAppointUseRemoveModalOpen&&(0,t.jsx)(P,{content:"ãæ£è
äºç´ç»é¢è¨å®ãï¼1.ã®ãç¥ããç·¨éé
ç®ã§ã/næ£è
æ§åãã«ä»®äºç´æ¡å
æãè¨è¼ãã¦ããå ´åã¯åé¤ããé¡ããã¾ãã",imageUrl:"/doctor/temp_appointment_off_guide.png",showModal:Y.isTempAppointUseRemoveModalOpen,onClose:()=>L({isTempAppointUseRemoveModalOpen:!1}),size:"4xl",imageWidth:800})]})})]})};var V=W}},function(e){e.O(0,[9774,5445,6556,2013,1137,1664,7536,7049,4918,651,8677,6027,4940,2888,179],function(){return e(e.s=77805)}),_N_E=e.O()}]);
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.