PageSourceSearch

https://trustedoctor.com/assets/app/js/AddTermAction.ZwMs4aR5.js

js trustedoctor.com collected 2026-10-06 18:23:11 UTC 1,755 bytes, 1 lines download raw bytes

1import{B as f,D as S,R as v,E as T,C as h,u as y,_ as A,H as b,c as n,b as d,o as a,a as k,w as x,t as m,e as C}from"./index.u65Ff0R7.js";import P from"./Term.BEiQeitl.js";import{u as g,P as D}from"./permissions.CrqYQEAw.js";import"./TermTooltip.BoYAw3Zo.js";import"./useRxTime.ChRrXuXf.js";import"./useUserTimezone.CxvDhCyw.js";import"./useCalendarWeek.Bujlmn3D.js";const M=f({__name:"AddTermAction",setup(p,{expose:s}){s();const o=S(),e=v(),r=T(),{palette:i}=h(),{t}=y(),l=g(D.CAN_ADD_TIME_SLOT),c={appointmentStore:o,modalStore:e,userStore:r,palette:i,t,canAddTimeSlot:l,openTermPicker:()=>{const _=o.participants.find(u=>u.user.user_id===o.assigned_id);e.openModal({component:P,props:{userId:o.assigned_id,timeZone:r.currentUser?.time_zone,appointmentId:o.appointment_id,inModal:!0},options:{title:t("appointment.name-calendar",{name:_?.user.display_name}),classes:["modal-term"],maxWidthModal:"1200px",functionModal:async()=>!0}})}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}}),B={key:0},I={key:0},N={class:"section"},V=["disabled"];function E(p,s,o,e,r,i){const t=b("styled");return e.appointmentStore?(a(),n("div",B,[e.appointmentStore.isVideoCall?(a(),n("div",I,[k("div",N,m(e.t("appointment.consultation-date")),1),x((a(),n("button",{class:"button accent",onClick:e.openTermPicker,disabled:!e.canAddTimeSlot},[C(m(e.t("appointment.add-a-time-slot")),1)],8,V)),[[t,e.palette.colors.primary.alt,"color"],[t,e.palette.colors.primary.main,"background"],[t,e.palette.colors.primary.main,"border-color"],[t,e.palette.colors.hover.alt,"background",{hover:!0}],[t,e.palette.colors.hover.main,"color",{hover:!0}]])])):d("",!0)])):d("",!0)}const W=A(M,[["render",E],["__file","AddTermAction.vue"]]);export{W 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.