@everfur/sdk 0.22.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/CHANGELOG.md +35 -3
  2. package/dist/{chunk-K5NVMNI5.js → chunk-3RVFIOWI.js} +1 -1
  3. package/dist/{chunk-FFMIX6HG.js → chunk-63X2JJZY.js} +1 -1
  4. package/dist/{chunk-ZASVU7CH.js → chunk-FNF5TLN6.js} +3 -3
  5. package/dist/chunk-VKLLSI2B.js +14 -0
  6. package/dist/client/index.cjs +1 -1
  7. package/dist/client/index.d.cts +1 -1
  8. package/dist/client/index.d.ts +1 -1
  9. package/dist/client/index.js +1 -1
  10. package/dist/core/index.cjs +1 -1
  11. package/dist/core/index.js +1 -1
  12. package/dist/health-plan/index.cjs +4 -4
  13. package/dist/health-plan/index.js +4 -4
  14. package/dist/index.cjs +1 -1
  15. package/dist/index.js +1 -1
  16. package/dist/records/index.cjs +1 -1
  17. package/dist/records/index.js +1 -1
  18. package/dist/server/events/index.cjs +1 -1
  19. package/dist/server/events/index.js +1 -1
  20. package/dist/server/index.cjs +1 -1
  21. package/dist/server/index.js +1 -1
  22. package/dist/shop/index.cjs +8 -8
  23. package/dist/shop/index.js +8 -8
  24. package/dist/slots/index.cjs +38 -38
  25. package/dist/slots/index.js +38 -38
  26. package/dist/ui/index.cjs +26 -26
  27. package/dist/ui/index.js +26 -26
  28. package/dist/web/health-plan/index.cjs +5 -5
  29. package/dist/web/health-plan/index.js +1 -1
  30. package/dist/web/index.cjs +2 -2
  31. package/dist/web/index.js +2 -2
  32. package/dist/web/records-sheet/index.cjs +1 -1
  33. package/dist/web/records-sheet/index.js +1 -1
  34. package/dist/web/shop/index.cjs +2 -2
  35. package/dist/web/shop/index.js +1 -1
  36. package/dist/web/televet/booking/index.cjs +2 -2
  37. package/dist/web/televet/booking/index.js +2 -2
  38. package/dist/web/televet/call/index.cjs +1 -1
  39. package/dist/web/televet/call/index.js +1 -1
  40. package/dist/web/ui/index.cjs +7 -7
  41. package/dist/web/ui/index.js +4 -4
  42. package/package.json +5 -5
  43. package/dist/chunk-AT7SU763.js +0 -14
@@ -24,4 +24,4 @@ return jsxRuntime.jsxs("section",{className:className,"data-testid":"everfur-vet
24
24
  /* @__PURE__ */jsxRuntime.jsx("p",{style:styles.prepLabel,children:VET_CALL_COPY.lobbyTipsTitle(clinicianName)}),
25
25
  /* @__PURE__ */jsxRuntime.jsx("ol",{style:styles.tips,children:[VET_CALL_COPY.lobbyTipSpot,prep].map((tip,i)=>/* @__PURE__ */jsxRuntime.jsxs("li",{style:styles.tip,children:[
26
26
  /* @__PURE__ */jsxRuntime.jsx("span",{"aria-hidden":"true",style:styles.tipNumber,children:String(i+1).padStart(2,"0")}),
27
- /* @__PURE__ */jsxRuntime.jsx("span",{style:styles.prepBody,children:tip})]},tip))})]}),minutes===null?null:/* @__PURE__ */jsxRuntime.jsx("p",{"data-testid":"everfur-vet-call-lobby-duration",style:styles.duration,children:VET_CALL_COPY.lobbyDuration(minutes)})]})}function makeLobbyStyles(theme){let{space:space,radius:radius,type:type}=theme,look=televetPlainLook(theme),avatarSize=112;return{root:{...SURFACE_ROOT_RESET,boxSizing:"border-box",display:"flex",flexDirection:"column",gap:space.lg,padding:space.xl,borderRadius:radius.lg,borderStyle:"solid",borderWidth:1,borderColor:look.line,backgroundColor:look.surface,color:look.text},topRow:{display:"flex",alignItems:"center",gap:14},leave:{minHeight:MIN_TOUCH_TARGET2,padding:`0 ${space.lg}px`,margin:0,borderRadius:radius.pill,borderStyle:"solid",borderWidth:1.5,borderColor:look.line,background:look.surface,color:look.ink,cursor:"pointer",...faceCss(theme,"bold"),fontSize:type.size.bodyTight},label:{margin:0,...faceCss(theme,"monoBold"),color:look.muted,fontSize:12,letterSpacing:"0.08em",textTransform:"uppercase"},center:{display:"flex",flexDirection:"column",alignItems:"center",gap:space.md},avatar:{position:"relative",width:avatarSize,height:avatarSize,borderRadius:radius.pill,overflow:"hidden",backgroundColor:look.mist,boxShadow:`0 0 0 4px ${look.surface}, 0 0 0 6px ${look.go}`,display:"flex",alignItems:"center",justifyContent:"center"},avatarHead:{position:"absolute",top:avatarSize*.24,width:avatarSize*.28,height:avatarSize*.28,borderRadius:radius.pill,backgroundColor:look.ink,opacity:.35},avatarBody:{position:"absolute",top:avatarSize*.58,width:avatarSize*.52,height:avatarSize*.34,borderTopLeftRadius:avatarSize*.26,borderTopRightRadius:avatarSize*.26,backgroundColor:look.ink,opacity:.35},titleBlock:{textAlign:"center"},title:{margin:0,...faceCss(theme,"medium"),fontSize:tierPx(theme,"heading",28),lineHeight:1.15,letterSpacing:"-0.02em",color:look.ink},prepCard:{display:"flex",flexDirection:"column",gap:space.sm,padding:space.lg,borderRadius:radius.lg,borderStyle:"solid",borderWidth:1,borderColor:look.line},prepLabel:{margin:0,...faceCss(theme,"bold"),fontSize:19,color:look.ink},tips:{listStyle:"none",margin:0,padding:0,display:"flex",flexDirection:"column"},tip:{display:"grid",gridTemplateColumns:"44px 1fr",gap:10,paddingTop:12,paddingBottom:12,borderTop:`1px solid ${look.line}`},tipNumber:{...faceCss(theme,"monoBold"),color:look.ink,fontSize:13,paddingTop:2},prepBody:{margin:0,...faceCss(theme,"regular"),fontSize:type.size.body,lineHeight:1.5,color:look.text},duration:{margin:0,textAlign:"center",...faceCss(theme,"regular"),fontSize:type.size.bodyTight,color:look.muted}}}var SDK_VERSION="0.22.0";var WEB_RUNTIME_PUBLIC_KEYS=/* @__PURE__ */Object.freeze({});function webRuntimeIdentity(version,keys){let keySet=Object.keys(keys).sort().map(id=>`${id}=${keys[id]}`).join(",");return`v${1}|${version}|${keySet}`}var WEB_RUNTIME_IDENTITY=webRuntimeIdentity(SDK_VERSION,WEB_RUNTIME_PUBLIC_KEYS);var RENDERER_SYMBOL=/* @__PURE__ */Symbol.for(`@everfur/sdk#WebRuntimeRenderer@${WEB_RUNTIME_IDENTITY}`),slot=globalThis;function renderRuntimePart(spec,props){let renderer=slot[RENDERER_SYMBOL];return renderer===void 0?react.createElement(spec.bundled,props):renderer(spec,props)}var CALL={part:"televet-call",name:"EverfurVetCall",bundled:EverfurVetCall},LOBBY={part:"televet-call",name:"EverfurVetCallLobby",bundled:EverfurVetCallLobby};function EverfurVetCall2(props){return renderRuntimePart(CALL,props)}function EverfurVetCallLobby2(props){return renderRuntimePart(LOBBY,props)}exports.EVERFUR_DAILY_SETUP=EVERFUR_DAILY_SETUP;exports.EverfurVetCall=EverfurVetCall2;exports.EverfurVetCallLobby=EverfurVetCallLobby2;exports.VET_CALL_CONSULT_MINUTES=VET_CALL_CONSULT_MINUTES;exports.VET_CALL_COPY=VET_CALL_COPY;exports.isEverfurDailyModule=isEverfurDailyModule;exports.isSafeRoomUrl=isSafeRoomUrl;exports.isUsableRoomCredential=isUsableRoomCredential;exports.loadEverfurDaily=loadEverfurDaily;exports.registerEverfurDaily=registerEverfurDaily;
27
+ /* @__PURE__ */jsxRuntime.jsx("span",{style:styles.prepBody,children:tip})]},tip))})]}),minutes===null?null:/* @__PURE__ */jsxRuntime.jsx("p",{"data-testid":"everfur-vet-call-lobby-duration",style:styles.duration,children:VET_CALL_COPY.lobbyDuration(minutes)})]})}function makeLobbyStyles(theme){let{space:space,radius:radius,type:type}=theme,look=televetPlainLook(theme),avatarSize=112;return{root:{...SURFACE_ROOT_RESET,boxSizing:"border-box",display:"flex",flexDirection:"column",gap:space.lg,padding:space.xl,borderRadius:radius.lg,borderStyle:"solid",borderWidth:1,borderColor:look.line,backgroundColor:look.surface,color:look.text},topRow:{display:"flex",alignItems:"center",gap:14},leave:{minHeight:MIN_TOUCH_TARGET2,padding:`0 ${space.lg}px`,margin:0,borderRadius:radius.pill,borderStyle:"solid",borderWidth:1.5,borderColor:look.line,background:look.surface,color:look.ink,cursor:"pointer",...faceCss(theme,"bold"),fontSize:type.size.bodyTight},label:{margin:0,...faceCss(theme,"monoBold"),color:look.muted,fontSize:12,letterSpacing:"0.08em",textTransform:"uppercase"},center:{display:"flex",flexDirection:"column",alignItems:"center",gap:space.md},avatar:{position:"relative",width:avatarSize,height:avatarSize,borderRadius:radius.pill,overflow:"hidden",backgroundColor:look.mist,boxShadow:`0 0 0 4px ${look.surface}, 0 0 0 6px ${look.go}`,display:"flex",alignItems:"center",justifyContent:"center"},avatarHead:{position:"absolute",top:avatarSize*.24,width:avatarSize*.28,height:avatarSize*.28,borderRadius:radius.pill,backgroundColor:look.ink,opacity:.35},avatarBody:{position:"absolute",top:avatarSize*.58,width:avatarSize*.52,height:avatarSize*.34,borderTopLeftRadius:avatarSize*.26,borderTopRightRadius:avatarSize*.26,backgroundColor:look.ink,opacity:.35},titleBlock:{textAlign:"center"},title:{margin:0,...faceCss(theme,"medium"),fontSize:tierPx(theme,"heading",28),lineHeight:1.15,letterSpacing:"-0.02em",color:look.ink},prepCard:{display:"flex",flexDirection:"column",gap:space.sm,padding:space.lg,borderRadius:radius.lg,borderStyle:"solid",borderWidth:1,borderColor:look.line},prepLabel:{margin:0,...faceCss(theme,"bold"),fontSize:19,color:look.ink},tips:{listStyle:"none",margin:0,padding:0,display:"flex",flexDirection:"column"},tip:{display:"grid",gridTemplateColumns:"44px 1fr",gap:10,paddingTop:12,paddingBottom:12,borderTop:`1px solid ${look.line}`},tipNumber:{...faceCss(theme,"monoBold"),color:look.ink,fontSize:13,paddingTop:2},prepBody:{margin:0,...faceCss(theme,"regular"),fontSize:type.size.body,lineHeight:1.5,color:look.text},duration:{margin:0,textAlign:"center",...faceCss(theme,"regular"),fontSize:type.size.bodyTight,color:look.muted}}}var SDK_VERSION="1.0.1";var WEB_RUNTIME_PUBLIC_KEYS=/* @__PURE__ */Object.freeze({k1:"X4wc1hwVONs4I9Vmclo9ExrfPZlH8-tgY7NmzxuA5lI"});function webRuntimeIdentity(version,keys){let keySet=Object.keys(keys).sort().map(id=>`${id}=${keys[id]}`).join(",");return`v${1}|${version}|${keySet}`}var WEB_RUNTIME_IDENTITY=webRuntimeIdentity(SDK_VERSION,WEB_RUNTIME_PUBLIC_KEYS);var RENDERER_SYMBOL=/* @__PURE__ */Symbol.for(`@everfur/sdk#WebRuntimeRenderer@${WEB_RUNTIME_IDENTITY}`),slot=globalThis;function renderRuntimePart(spec,props){let renderer=slot[RENDERER_SYMBOL];return renderer===void 0?react.createElement(spec.bundled,props):renderer(spec,props)}var CALL={part:"televet-call",name:"EverfurVetCall",bundled:EverfurVetCall},LOBBY={part:"televet-call",name:"EverfurVetCallLobby",bundled:EverfurVetCallLobby};function EverfurVetCall2(props){return renderRuntimePart(CALL,props)}function EverfurVetCallLobby2(props){return renderRuntimePart(LOBBY,props)}exports.EVERFUR_DAILY_SETUP=EVERFUR_DAILY_SETUP;exports.EverfurVetCall=EverfurVetCall2;exports.EverfurVetCallLobby=EverfurVetCallLobby2;exports.VET_CALL_CONSULT_MINUTES=VET_CALL_CONSULT_MINUTES;exports.VET_CALL_COPY=VET_CALL_COPY;exports.isEverfurDailyModule=isEverfurDailyModule;exports.isSafeRoomUrl=isSafeRoomUrl;exports.isUsableRoomCredential=isUsableRoomCredential;exports.loadEverfurDaily=loadEverfurDaily;exports.registerEverfurDaily=registerEverfurDaily;
@@ -24,4 +24,4 @@ return jsxs("section",{className:className,"data-testid":"everfur-vet-call-lobby
24
24
  /* @__PURE__ */jsx("p",{style:styles.prepLabel,children:VET_CALL_COPY.lobbyTipsTitle(clinicianName)}),
25
25
  /* @__PURE__ */jsx("ol",{style:styles.tips,children:[VET_CALL_COPY.lobbyTipSpot,prep].map((tip,i)=>/* @__PURE__ */jsxs("li",{style:styles.tip,children:[
26
26
  /* @__PURE__ */jsx("span",{"aria-hidden":"true",style:styles.tipNumber,children:String(i+1).padStart(2,"0")}),
27
- /* @__PURE__ */jsx("span",{style:styles.prepBody,children:tip})]},tip))})]}),minutes===null?null:/* @__PURE__ */jsx("p",{"data-testid":"everfur-vet-call-lobby-duration",style:styles.duration,children:VET_CALL_COPY.lobbyDuration(minutes)})]})}function makeLobbyStyles(theme){let{space:space,radius:radius,type:type}=theme,look=televetPlainLook(theme),avatarSize=112;return{root:{...SURFACE_ROOT_RESET,boxSizing:"border-box",display:"flex",flexDirection:"column",gap:space.lg,padding:space.xl,borderRadius:radius.lg,borderStyle:"solid",borderWidth:1,borderColor:look.line,backgroundColor:look.surface,color:look.text},topRow:{display:"flex",alignItems:"center",gap:14},leave:{minHeight:MIN_TOUCH_TARGET2,padding:`0 ${space.lg}px`,margin:0,borderRadius:radius.pill,borderStyle:"solid",borderWidth:1.5,borderColor:look.line,background:look.surface,color:look.ink,cursor:"pointer",...faceCss(theme,"bold"),fontSize:type.size.bodyTight},label:{margin:0,...faceCss(theme,"monoBold"),color:look.muted,fontSize:12,letterSpacing:"0.08em",textTransform:"uppercase"},center:{display:"flex",flexDirection:"column",alignItems:"center",gap:space.md},avatar:{position:"relative",width:avatarSize,height:avatarSize,borderRadius:radius.pill,overflow:"hidden",backgroundColor:look.mist,boxShadow:`0 0 0 4px ${look.surface}, 0 0 0 6px ${look.go}`,display:"flex",alignItems:"center",justifyContent:"center"},avatarHead:{position:"absolute",top:avatarSize*.24,width:avatarSize*.28,height:avatarSize*.28,borderRadius:radius.pill,backgroundColor:look.ink,opacity:.35},avatarBody:{position:"absolute",top:avatarSize*.58,width:avatarSize*.52,height:avatarSize*.34,borderTopLeftRadius:avatarSize*.26,borderTopRightRadius:avatarSize*.26,backgroundColor:look.ink,opacity:.35},titleBlock:{textAlign:"center"},title:{margin:0,...faceCss(theme,"medium"),fontSize:tierPx(theme,"heading",28),lineHeight:1.15,letterSpacing:"-0.02em",color:look.ink},prepCard:{display:"flex",flexDirection:"column",gap:space.sm,padding:space.lg,borderRadius:radius.lg,borderStyle:"solid",borderWidth:1,borderColor:look.line},prepLabel:{margin:0,...faceCss(theme,"bold"),fontSize:19,color:look.ink},tips:{listStyle:"none",margin:0,padding:0,display:"flex",flexDirection:"column"},tip:{display:"grid",gridTemplateColumns:"44px 1fr",gap:10,paddingTop:12,paddingBottom:12,borderTop:`1px solid ${look.line}`},tipNumber:{...faceCss(theme,"monoBold"),color:look.ink,fontSize:13,paddingTop:2},prepBody:{margin:0,...faceCss(theme,"regular"),fontSize:type.size.body,lineHeight:1.5,color:look.text},duration:{margin:0,textAlign:"center",...faceCss(theme,"regular"),fontSize:type.size.bodyTight,color:look.muted}}}var SDK_VERSION="0.22.0";var WEB_RUNTIME_PUBLIC_KEYS=/* @__PURE__ */Object.freeze({});function webRuntimeIdentity(version,keys){let keySet=Object.keys(keys).sort().map(id=>`${id}=${keys[id]}`).join(",");return`v${1}|${version}|${keySet}`}var WEB_RUNTIME_IDENTITY=webRuntimeIdentity(SDK_VERSION,WEB_RUNTIME_PUBLIC_KEYS);var RENDERER_SYMBOL=/* @__PURE__ */Symbol.for(`@everfur/sdk#WebRuntimeRenderer@${WEB_RUNTIME_IDENTITY}`),slot=globalThis;function renderRuntimePart(spec,props){let renderer=slot[RENDERER_SYMBOL];return renderer===void 0?createElement(spec.bundled,props):renderer(spec,props)}var CALL={part:"televet-call",name:"EverfurVetCall",bundled:EverfurVetCall},LOBBY={part:"televet-call",name:"EverfurVetCallLobby",bundled:EverfurVetCallLobby};function EverfurVetCall2(props){return renderRuntimePart(CALL,props)}function EverfurVetCallLobby2(props){return renderRuntimePart(LOBBY,props)}export{EVERFUR_DAILY_SETUP,EverfurVetCall2 as EverfurVetCall,EverfurVetCallLobby2 as EverfurVetCallLobby,VET_CALL_CONSULT_MINUTES,VET_CALL_COPY,isEverfurDailyModule,isSafeRoomUrl,isUsableRoomCredential,loadEverfurDaily,registerEverfurDaily};
27
+ /* @__PURE__ */jsx("span",{style:styles.prepBody,children:tip})]},tip))})]}),minutes===null?null:/* @__PURE__ */jsx("p",{"data-testid":"everfur-vet-call-lobby-duration",style:styles.duration,children:VET_CALL_COPY.lobbyDuration(minutes)})]})}function makeLobbyStyles(theme){let{space:space,radius:radius,type:type}=theme,look=televetPlainLook(theme),avatarSize=112;return{root:{...SURFACE_ROOT_RESET,boxSizing:"border-box",display:"flex",flexDirection:"column",gap:space.lg,padding:space.xl,borderRadius:radius.lg,borderStyle:"solid",borderWidth:1,borderColor:look.line,backgroundColor:look.surface,color:look.text},topRow:{display:"flex",alignItems:"center",gap:14},leave:{minHeight:MIN_TOUCH_TARGET2,padding:`0 ${space.lg}px`,margin:0,borderRadius:radius.pill,borderStyle:"solid",borderWidth:1.5,borderColor:look.line,background:look.surface,color:look.ink,cursor:"pointer",...faceCss(theme,"bold"),fontSize:type.size.bodyTight},label:{margin:0,...faceCss(theme,"monoBold"),color:look.muted,fontSize:12,letterSpacing:"0.08em",textTransform:"uppercase"},center:{display:"flex",flexDirection:"column",alignItems:"center",gap:space.md},avatar:{position:"relative",width:avatarSize,height:avatarSize,borderRadius:radius.pill,overflow:"hidden",backgroundColor:look.mist,boxShadow:`0 0 0 4px ${look.surface}, 0 0 0 6px ${look.go}`,display:"flex",alignItems:"center",justifyContent:"center"},avatarHead:{position:"absolute",top:avatarSize*.24,width:avatarSize*.28,height:avatarSize*.28,borderRadius:radius.pill,backgroundColor:look.ink,opacity:.35},avatarBody:{position:"absolute",top:avatarSize*.58,width:avatarSize*.52,height:avatarSize*.34,borderTopLeftRadius:avatarSize*.26,borderTopRightRadius:avatarSize*.26,backgroundColor:look.ink,opacity:.35},titleBlock:{textAlign:"center"},title:{margin:0,...faceCss(theme,"medium"),fontSize:tierPx(theme,"heading",28),lineHeight:1.15,letterSpacing:"-0.02em",color:look.ink},prepCard:{display:"flex",flexDirection:"column",gap:space.sm,padding:space.lg,borderRadius:radius.lg,borderStyle:"solid",borderWidth:1,borderColor:look.line},prepLabel:{margin:0,...faceCss(theme,"bold"),fontSize:19,color:look.ink},tips:{listStyle:"none",margin:0,padding:0,display:"flex",flexDirection:"column"},tip:{display:"grid",gridTemplateColumns:"44px 1fr",gap:10,paddingTop:12,paddingBottom:12,borderTop:`1px solid ${look.line}`},tipNumber:{...faceCss(theme,"monoBold"),color:look.ink,fontSize:13,paddingTop:2},prepBody:{margin:0,...faceCss(theme,"regular"),fontSize:type.size.body,lineHeight:1.5,color:look.text},duration:{margin:0,textAlign:"center",...faceCss(theme,"regular"),fontSize:type.size.bodyTight,color:look.muted}}}var SDK_VERSION="1.0.1";var WEB_RUNTIME_PUBLIC_KEYS=/* @__PURE__ */Object.freeze({k1:"X4wc1hwVONs4I9Vmclo9ExrfPZlH8-tgY7NmzxuA5lI"});function webRuntimeIdentity(version,keys){let keySet=Object.keys(keys).sort().map(id=>`${id}=${keys[id]}`).join(",");return`v${1}|${version}|${keySet}`}var WEB_RUNTIME_IDENTITY=webRuntimeIdentity(SDK_VERSION,WEB_RUNTIME_PUBLIC_KEYS);var RENDERER_SYMBOL=/* @__PURE__ */Symbol.for(`@everfur/sdk#WebRuntimeRenderer@${WEB_RUNTIME_IDENTITY}`),slot=globalThis;function renderRuntimePart(spec,props){let renderer=slot[RENDERER_SYMBOL];return renderer===void 0?createElement(spec.bundled,props):renderer(spec,props)}var CALL={part:"televet-call",name:"EverfurVetCall",bundled:EverfurVetCall},LOBBY={part:"televet-call",name:"EverfurVetCallLobby",bundled:EverfurVetCallLobby};function EverfurVetCall2(props){return renderRuntimePart(CALL,props)}function EverfurVetCallLobby2(props){return renderRuntimePart(LOBBY,props)}export{EVERFUR_DAILY_SETUP,EverfurVetCall2 as EverfurVetCall,EverfurVetCallLobby2 as EverfurVetCallLobby,VET_CALL_CONSULT_MINUTES,VET_CALL_COPY,isEverfurDailyModule,isSafeRoomUrl,isUsableRoomCredential,loadEverfurDaily,registerEverfurDaily};