@mypatientspace/chatbot-widget 1.0.77 → 1.0.78
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.
|
@@ -14880,7 +14880,7 @@ const Da = () => {
|
|
|
14880
14880
|
color: ${({ theme: l }) => l.colors.headerText};
|
|
14881
14881
|
border-radius: ${({ theme: l }) => l.borderRadius} ${({ theme: l }) => l.borderRadius} 0 0;
|
|
14882
14882
|
|
|
14883
|
-
@media (max-width:
|
|
14883
|
+
@media (max-width: 768px) {
|
|
14884
14884
|
${({ floatingMode: l }) => l && "border-radius: 0;"}
|
|
14885
14885
|
}
|
|
14886
14886
|
`, f1 = j.div`
|
|
@@ -14952,7 +14952,7 @@ const Da = () => {
|
|
|
14952
14952
|
`, v1 = j.div`
|
|
14953
14953
|
display: flex;
|
|
14954
14954
|
|
|
14955
|
-
@media (max-width:
|
|
14955
|
+
@media (max-width: 768px) {
|
|
14956
14956
|
${({ floatingMode: l }) => l && "display: none;"}
|
|
14957
14957
|
}
|
|
14958
14958
|
`, x1 = () => {
|
|
@@ -14966,7 +14966,7 @@ const Da = () => {
|
|
|
14966
14966
|
/* @__PURE__ */ v.jsxs(y1, { fontFamily: s.fontFamily, children: [
|
|
14967
14967
|
A,
|
|
14968
14968
|
" v",
|
|
14969
|
-
"1.0.
|
|
14969
|
+
"1.0.78"
|
|
14970
14970
|
] })
|
|
14971
14971
|
] })
|
|
14972
14972
|
] }),
|
|
@@ -17190,7 +17190,7 @@ const qp = j.div`
|
|
|
17190
17190
|
transition: none;
|
|
17191
17191
|
}
|
|
17192
17192
|
|
|
17193
|
-
@media (max-width:
|
|
17193
|
+
@media (max-width: 768px) {
|
|
17194
17194
|
${({ floatingMode: l, isExpanded: r, isOpen: s }) => l && !r && s && `
|
|
17195
17195
|
top: 0;
|
|
17196
17196
|
left: 0;
|
|
@@ -17250,7 +17250,7 @@ const qp = j.div`
|
|
|
17250
17250
|
transition: none;
|
|
17251
17251
|
}
|
|
17252
17252
|
|
|
17253
|
-
@media (max-width:
|
|
17253
|
+
@media (max-width: 768px) {
|
|
17254
17254
|
${({ floatingMode: l, isExpanded: r }) => l && !r && `
|
|
17255
17255
|
width: 100%;
|
|
17256
17256
|
height: 100%;
|
|
@@ -743,7 +743,7 @@ Error generating stack: `+a.message+`
|
|
|
743
743
|
color: ${({theme:l})=>l.colors.headerText};
|
|
744
744
|
border-radius: ${({theme:l})=>l.borderRadius} ${({theme:l})=>l.borderRadius} 0 0;
|
|
745
745
|
|
|
746
|
-
@media (max-width:
|
|
746
|
+
@media (max-width: 768px) {
|
|
747
747
|
${({floatingMode:l})=>l&&"border-radius: 0;"}
|
|
748
748
|
}
|
|
749
749
|
`,wy=R.div`
|
|
@@ -815,10 +815,10 @@ Error generating stack: `+a.message+`
|
|
|
815
815
|
`,jy=R.div`
|
|
816
816
|
display: flex;
|
|
817
817
|
|
|
818
|
-
@media (max-width:
|
|
818
|
+
@media (max-width: 768px) {
|
|
819
819
|
${({floatingMode:l})=>l&&"display: none;"}
|
|
820
820
|
}
|
|
821
|
-
`,Hy=()=>{const{close:l,config:r,theme:s,assistant:u,isExpanded:d,toggleExpanded:h,requestNewChat:y}=pa(),T=r.headerTitle||u?.chatUiConfig?.avatarTitle||"AI Doctor",S=r.headerIcon||u?.chatUiConfig?.avatarImage?.iconURL||u?.chatUiConfig?.avatarImage?.thumbnailURL||"https://web.mypatientspace.com/img/logo-symbol.png",g=r.headerSubtitle||u?.chatUiConfig?.headerSubtitle,A=r.brandingText||u?.chatUiConfig?.brandingText||"Developed by myPatientSpace";return v.jsxs(My,{theme:s,floatingMode:r.floatingMode,children:[v.jsxs(wy,{children:[v.jsx(_y,{theme:s,hasCustomIcon:!0,children:v.jsx(Oy,{src:S,alt:""})}),v.jsxs($y,{children:[v.jsx(By,{fontFamily:s.fontFamily,children:T}),g&&v.jsx(Dy,{fontFamily:s.fontFamily,children:g}),v.jsxs(Ry,{fontFamily:s.fontFamily,children:[A," v","1.0.
|
|
821
|
+
`,Hy=()=>{const{close:l,config:r,theme:s,assistant:u,isExpanded:d,toggleExpanded:h,requestNewChat:y}=pa(),T=r.headerTitle||u?.chatUiConfig?.avatarTitle||"AI Doctor",S=r.headerIcon||u?.chatUiConfig?.avatarImage?.iconURL||u?.chatUiConfig?.avatarImage?.thumbnailURL||"https://web.mypatientspace.com/img/logo-symbol.png",g=r.headerSubtitle||u?.chatUiConfig?.headerSubtitle,A=r.brandingText||u?.chatUiConfig?.brandingText||"Developed by myPatientSpace";return v.jsxs(My,{theme:s,floatingMode:r.floatingMode,children:[v.jsxs(wy,{children:[v.jsx(_y,{theme:s,hasCustomIcon:!0,children:v.jsx(Oy,{src:S,alt:""})}),v.jsxs($y,{children:[v.jsx(By,{fontFamily:s.fontFamily,children:T}),g&&v.jsx(Dy,{fontFamily:s.fontFamily,children:g}),v.jsxs(Ry,{fontFamily:s.fontFamily,children:[A," v","1.0.78"]})]})]}),v.jsxs(Ny,{children:[v.jsx(Ji,{theme:s,onClick:y,"aria-label":"Start new chat",children:v.jsx(Dm,{size:16})}),!r.hideExpandButton&&v.jsx(jy,{floatingMode:r.floatingMode,children:v.jsx(Ji,{theme:s,onClick:h,"aria-label":d?"Collapse chat":"Expand chat",children:d?v.jsx(Ws,{size:16}):v.jsx(Ks,{size:16})})}),r.showCloseSlot?v.jsx(Ji,{theme:s,"aria-label":"Close chat slot"}):r.floatingMode?v.jsx(Ji,{theme:s,onClick:l,"aria-label":"Close chat",children:v.jsx(Ll,{size:16})}):null]})]})},ky=R.div`
|
|
822
822
|
position: relative;
|
|
823
823
|
background-color: ${({theme:l})=>l.colors.background};
|
|
824
824
|
border-bottom: 1px solid ${({theme:l})=>l.colors.borderLight};
|
|
@@ -2085,7 +2085,7 @@ Error generating stack: `+a.message+`
|
|
|
2085
2085
|
transition: none;
|
|
2086
2086
|
}
|
|
2087
2087
|
|
|
2088
|
-
@media (max-width:
|
|
2088
|
+
@media (max-width: 768px) {
|
|
2089
2089
|
${({floatingMode:l,isExpanded:r,isOpen:s})=>l&&!r&&s&&`
|
|
2090
2090
|
top: 0;
|
|
2091
2091
|
left: 0;
|
|
@@ -2145,7 +2145,7 @@ Error generating stack: `+a.message+`
|
|
|
2145
2145
|
transition: none;
|
|
2146
2146
|
}
|
|
2147
2147
|
|
|
2148
|
-
@media (max-width:
|
|
2148
|
+
@media (max-width: 768px) {
|
|
2149
2149
|
${({floatingMode:l,isExpanded:r})=>l&&!r&&`
|
|
2150
2150
|
width: 100%;
|
|
2151
2151
|
height: 100%;
|
|
@@ -12709,7 +12709,7 @@ const Qg = [
|
|
|
12709
12709
|
color: ${({ theme: n }) => n.colors.headerText};
|
|
12710
12710
|
border-radius: ${({ theme: n }) => n.borderRadius} ${({ theme: n }) => n.borderRadius} 0 0;
|
|
12711
12711
|
|
|
12712
|
-
@media (max-width:
|
|
12712
|
+
@media (max-width: 768px) {
|
|
12713
12713
|
${({ floatingMode: n }) => n && "border-radius: 0;"}
|
|
12714
12714
|
}
|
|
12715
12715
|
`, Zg = U.div`
|
|
@@ -12781,7 +12781,7 @@ const Qg = [
|
|
|
12781
12781
|
`, t1 = U.div`
|
|
12782
12782
|
display: flex;
|
|
12783
12783
|
|
|
12784
|
-
@media (max-width:
|
|
12784
|
+
@media (max-width: 768px) {
|
|
12785
12785
|
${({ floatingMode: n }) => n && "display: none;"}
|
|
12786
12786
|
}
|
|
12787
12787
|
`, e1 = () => {
|
|
@@ -12795,7 +12795,7 @@ const Qg = [
|
|
|
12795
12795
|
/* @__PURE__ */ v.jsxs(Ig, { fontFamily: s.fontFamily, children: [
|
|
12796
12796
|
M,
|
|
12797
12797
|
" v",
|
|
12798
|
-
"1.0.
|
|
12798
|
+
"1.0.78"
|
|
12799
12799
|
] })
|
|
12800
12800
|
] })
|
|
12801
12801
|
] }),
|
|
@@ -15019,7 +15019,7 @@ const I0 = U.div`
|
|
|
15019
15019
|
transition: none;
|
|
15020
15020
|
}
|
|
15021
15021
|
|
|
15022
|
-
@media (max-width:
|
|
15022
|
+
@media (max-width: 768px) {
|
|
15023
15023
|
${({ floatingMode: n, isExpanded: c, isOpen: s }) => n && !c && s && `
|
|
15024
15024
|
top: 0;
|
|
15025
15025
|
left: 0;
|
|
@@ -15079,7 +15079,7 @@ const I0 = U.div`
|
|
|
15079
15079
|
transition: none;
|
|
15080
15080
|
}
|
|
15081
15081
|
|
|
15082
|
-
@media (max-width:
|
|
15082
|
+
@media (max-width: 768px) {
|
|
15083
15083
|
${({ floatingMode: n, isExpanded: c }) => n && !c && `
|
|
15084
15084
|
width: 100%;
|
|
15085
15085
|
height: 100%;
|
|
@@ -19,7 +19,7 @@ Error generating stack: `+a.message+`
|
|
|
19
19
|
color: ${({theme:n})=>n.colors.headerText};
|
|
20
20
|
border-radius: ${({theme:n})=>n.borderRadius} ${({theme:n})=>n.borderRadius} 0 0;
|
|
21
21
|
|
|
22
|
-
@media (max-width:
|
|
22
|
+
@media (max-width: 768px) {
|
|
23
23
|
${({floatingMode:n})=>n&&"border-radius: 0;"}
|
|
24
24
|
}
|
|
25
25
|
`,pm=R.div`
|
|
@@ -91,10 +91,10 @@ Error generating stack: `+a.message+`
|
|
|
91
91
|
`,zm=R.div`
|
|
92
92
|
display: flex;
|
|
93
93
|
|
|
94
|
-
@media (max-width:
|
|
94
|
+
@media (max-width: 768px) {
|
|
95
95
|
${({floatingMode:n})=>n&&"display: none;"}
|
|
96
96
|
}
|
|
97
|
-
`,Cm=()=>{const{close:n,config:c,theme:s,assistant:r,isExpanded:d,toggleExpanded:h,requestNewChat:S}=Jl(),A=c.headerTitle||r?.chatUiConfig?.avatarTitle||"AI Doctor",x=c.headerIcon||r?.chatUiConfig?.avatarImage?.iconURL||r?.chatUiConfig?.avatarImage?.thumbnailURL||"https://web.mypatientspace.com/img/logo-symbol.png",m=c.headerSubtitle||r?.chatUiConfig?.headerSubtitle,O=c.brandingText||r?.chatUiConfig?.brandingText||"Developed by myPatientSpace";return v.jsxs(mm,{theme:s,floatingMode:c.floatingMode,children:[v.jsxs(pm,{children:[v.jsx(gm,{theme:s,hasCustomIcon:!0,children:v.jsx(vm,{src:x,alt:""})}),v.jsxs(bm,{children:[v.jsx(xm,{fontFamily:s.fontFamily,children:A}),m&&v.jsx(Sm,{fontFamily:s.fontFamily,children:m}),v.jsxs(Tm,{fontFamily:s.fontFamily,children:[O," v","1.0.
|
|
97
|
+
`,Cm=()=>{const{close:n,config:c,theme:s,assistant:r,isExpanded:d,toggleExpanded:h,requestNewChat:S}=Jl(),A=c.headerTitle||r?.chatUiConfig?.avatarTitle||"AI Doctor",x=c.headerIcon||r?.chatUiConfig?.avatarImage?.iconURL||r?.chatUiConfig?.avatarImage?.thumbnailURL||"https://web.mypatientspace.com/img/logo-symbol.png",m=c.headerSubtitle||r?.chatUiConfig?.headerSubtitle,O=c.brandingText||r?.chatUiConfig?.brandingText||"Developed by myPatientSpace";return v.jsxs(mm,{theme:s,floatingMode:c.floatingMode,children:[v.jsxs(pm,{children:[v.jsx(gm,{theme:s,hasCustomIcon:!0,children:v.jsx(vm,{src:x,alt:""})}),v.jsxs(bm,{children:[v.jsx(xm,{fontFamily:s.fontFamily,children:A}),m&&v.jsx(Sm,{fontFamily:s.fontFamily,children:m}),v.jsxs(Tm,{fontFamily:s.fontFamily,children:[O," v","1.0.78"]})]})]}),v.jsxs(Em,{children:[v.jsx(Si,{theme:s,onClick:S,"aria-label":"Start new chat",children:v.jsx(fm,{size:16})}),!c.hideExpandButton&&v.jsx(zm,{floatingMode:c.floatingMode,children:v.jsx(Si,{theme:s,onClick:h,"aria-label":d?"Collapse chat":"Expand chat",children:d?v.jsx(xs,{size:16}):v.jsx(vs,{size:16})})}),c.showCloseSlot?v.jsx(Si,{theme:s,"aria-label":"Close chat slot"}):c.floatingMode?v.jsx(Si,{theme:s,onClick:n,"aria-label":"Close chat",children:v.jsx(xi,{size:16})}):null]})]})},Am=R.div`
|
|
98
98
|
position: relative;
|
|
99
99
|
background-color: ${({theme:n})=>n.colors.background};
|
|
100
100
|
border-bottom: 1px solid ${({theme:n})=>n.colors.borderLight};
|
|
@@ -1361,7 +1361,7 @@ Error generating stack: `+a.message+`
|
|
|
1361
1361
|
transition: none;
|
|
1362
1362
|
}
|
|
1363
1363
|
|
|
1364
|
-
@media (max-width:
|
|
1364
|
+
@media (max-width: 768px) {
|
|
1365
1365
|
${({floatingMode:n,isExpanded:c,isOpen:s})=>n&&!c&&s&&`
|
|
1366
1366
|
top: 0;
|
|
1367
1367
|
left: 0;
|
|
@@ -1421,7 +1421,7 @@ Error generating stack: `+a.message+`
|
|
|
1421
1421
|
transition: none;
|
|
1422
1422
|
}
|
|
1423
1423
|
|
|
1424
|
-
@media (max-width:
|
|
1424
|
+
@media (max-width: 768px) {
|
|
1425
1425
|
${({floatingMode:n,isExpanded:c})=>n&&!c&&`
|
|
1426
1426
|
width: 100%;
|
|
1427
1427
|
height: 100%;
|
package/package.json
CHANGED