@mypatientspace/chatbot-widget 1.0.76 → 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.
|
@@ -14873,12 +14873,14 @@ const Da = () => {
|
|
|
14873
14873
|
display: flex;
|
|
14874
14874
|
align-items: center;
|
|
14875
14875
|
justify-content: space-between;
|
|
14876
|
-
|
|
14876
|
+
height: 64px;
|
|
14877
|
+
padding: 0 16px;
|
|
14878
|
+
flex-shrink: 0;
|
|
14877
14879
|
background-color: ${({ theme: l }) => l.colors.secondary};
|
|
14878
14880
|
color: ${({ theme: l }) => l.colors.headerText};
|
|
14879
14881
|
border-radius: ${({ theme: l }) => l.borderRadius} ${({ theme: l }) => l.borderRadius} 0 0;
|
|
14880
14882
|
|
|
14881
|
-
@media (max-width:
|
|
14883
|
+
@media (max-width: 768px) {
|
|
14882
14884
|
${({ floatingMode: l }) => l && "border-radius: 0;"}
|
|
14883
14885
|
}
|
|
14884
14886
|
`, f1 = j.div`
|
|
@@ -14950,7 +14952,7 @@ const Da = () => {
|
|
|
14950
14952
|
`, v1 = j.div`
|
|
14951
14953
|
display: flex;
|
|
14952
14954
|
|
|
14953
|
-
@media (max-width:
|
|
14955
|
+
@media (max-width: 768px) {
|
|
14954
14956
|
${({ floatingMode: l }) => l && "display: none;"}
|
|
14955
14957
|
}
|
|
14956
14958
|
`, x1 = () => {
|
|
@@ -14964,7 +14966,7 @@ const Da = () => {
|
|
|
14964
14966
|
/* @__PURE__ */ v.jsxs(y1, { fontFamily: s.fontFamily, children: [
|
|
14965
14967
|
A,
|
|
14966
14968
|
" v",
|
|
14967
|
-
"1.0.
|
|
14969
|
+
"1.0.78"
|
|
14968
14970
|
] })
|
|
14969
14971
|
] })
|
|
14970
14972
|
] }),
|
|
@@ -17188,7 +17190,7 @@ const qp = j.div`
|
|
|
17188
17190
|
transition: none;
|
|
17189
17191
|
}
|
|
17190
17192
|
|
|
17191
|
-
@media (max-width:
|
|
17193
|
+
@media (max-width: 768px) {
|
|
17192
17194
|
${({ floatingMode: l, isExpanded: r, isOpen: s }) => l && !r && s && `
|
|
17193
17195
|
top: 0;
|
|
17194
17196
|
left: 0;
|
|
@@ -17248,7 +17250,7 @@ const qp = j.div`
|
|
|
17248
17250
|
transition: none;
|
|
17249
17251
|
}
|
|
17250
17252
|
|
|
17251
|
-
@media (max-width:
|
|
17253
|
+
@media (max-width: 768px) {
|
|
17252
17254
|
${({ floatingMode: l, isExpanded: r }) => l && !r && `
|
|
17253
17255
|
width: 100%;
|
|
17254
17256
|
height: 100%;
|
|
@@ -736,12 +736,14 @@ Error generating stack: `+a.message+`
|
|
|
736
736
|
display: flex;
|
|
737
737
|
align-items: center;
|
|
738
738
|
justify-content: space-between;
|
|
739
|
-
|
|
739
|
+
height: 64px;
|
|
740
|
+
padding: 0 16px;
|
|
741
|
+
flex-shrink: 0;
|
|
740
742
|
background-color: ${({theme:l})=>l.colors.secondary};
|
|
741
743
|
color: ${({theme:l})=>l.colors.headerText};
|
|
742
744
|
border-radius: ${({theme:l})=>l.borderRadius} ${({theme:l})=>l.borderRadius} 0 0;
|
|
743
745
|
|
|
744
|
-
@media (max-width:
|
|
746
|
+
@media (max-width: 768px) {
|
|
745
747
|
${({floatingMode:l})=>l&&"border-radius: 0;"}
|
|
746
748
|
}
|
|
747
749
|
`,wy=R.div`
|
|
@@ -813,10 +815,10 @@ Error generating stack: `+a.message+`
|
|
|
813
815
|
`,jy=R.div`
|
|
814
816
|
display: flex;
|
|
815
817
|
|
|
816
|
-
@media (max-width:
|
|
818
|
+
@media (max-width: 768px) {
|
|
817
819
|
${({floatingMode:l})=>l&&"display: none;"}
|
|
818
820
|
}
|
|
819
|
-
`,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`
|
|
820
822
|
position: relative;
|
|
821
823
|
background-color: ${({theme:l})=>l.colors.background};
|
|
822
824
|
border-bottom: 1px solid ${({theme:l})=>l.colors.borderLight};
|
|
@@ -2083,7 +2085,7 @@ Error generating stack: `+a.message+`
|
|
|
2083
2085
|
transition: none;
|
|
2084
2086
|
}
|
|
2085
2087
|
|
|
2086
|
-
@media (max-width:
|
|
2088
|
+
@media (max-width: 768px) {
|
|
2087
2089
|
${({floatingMode:l,isExpanded:r,isOpen:s})=>l&&!r&&s&&`
|
|
2088
2090
|
top: 0;
|
|
2089
2091
|
left: 0;
|
|
@@ -2143,7 +2145,7 @@ Error generating stack: `+a.message+`
|
|
|
2143
2145
|
transition: none;
|
|
2144
2146
|
}
|
|
2145
2147
|
|
|
2146
|
-
@media (max-width:
|
|
2148
|
+
@media (max-width: 768px) {
|
|
2147
2149
|
${({floatingMode:l,isExpanded:r})=>l&&!r&&`
|
|
2148
2150
|
width: 100%;
|
|
2149
2151
|
height: 100%;
|
|
@@ -12702,12 +12702,14 @@ const Qg = [
|
|
|
12702
12702
|
display: flex;
|
|
12703
12703
|
align-items: center;
|
|
12704
12704
|
justify-content: space-between;
|
|
12705
|
-
|
|
12705
|
+
height: 64px;
|
|
12706
|
+
padding: 0 16px;
|
|
12707
|
+
flex-shrink: 0;
|
|
12706
12708
|
background-color: ${({ theme: n }) => n.colors.secondary};
|
|
12707
12709
|
color: ${({ theme: n }) => n.colors.headerText};
|
|
12708
12710
|
border-radius: ${({ theme: n }) => n.borderRadius} ${({ theme: n }) => n.borderRadius} 0 0;
|
|
12709
12711
|
|
|
12710
|
-
@media (max-width:
|
|
12712
|
+
@media (max-width: 768px) {
|
|
12711
12713
|
${({ floatingMode: n }) => n && "border-radius: 0;"}
|
|
12712
12714
|
}
|
|
12713
12715
|
`, Zg = U.div`
|
|
@@ -12779,7 +12781,7 @@ const Qg = [
|
|
|
12779
12781
|
`, t1 = U.div`
|
|
12780
12782
|
display: flex;
|
|
12781
12783
|
|
|
12782
|
-
@media (max-width:
|
|
12784
|
+
@media (max-width: 768px) {
|
|
12783
12785
|
${({ floatingMode: n }) => n && "display: none;"}
|
|
12784
12786
|
}
|
|
12785
12787
|
`, e1 = () => {
|
|
@@ -12793,7 +12795,7 @@ const Qg = [
|
|
|
12793
12795
|
/* @__PURE__ */ v.jsxs(Ig, { fontFamily: s.fontFamily, children: [
|
|
12794
12796
|
M,
|
|
12795
12797
|
" v",
|
|
12796
|
-
"1.0.
|
|
12798
|
+
"1.0.78"
|
|
12797
12799
|
] })
|
|
12798
12800
|
] })
|
|
12799
12801
|
] }),
|
|
@@ -15017,7 +15019,7 @@ const I0 = U.div`
|
|
|
15017
15019
|
transition: none;
|
|
15018
15020
|
}
|
|
15019
15021
|
|
|
15020
|
-
@media (max-width:
|
|
15022
|
+
@media (max-width: 768px) {
|
|
15021
15023
|
${({ floatingMode: n, isExpanded: c, isOpen: s }) => n && !c && s && `
|
|
15022
15024
|
top: 0;
|
|
15023
15025
|
left: 0;
|
|
@@ -15077,7 +15079,7 @@ const I0 = U.div`
|
|
|
15077
15079
|
transition: none;
|
|
15078
15080
|
}
|
|
15079
15081
|
|
|
15080
|
-
@media (max-width:
|
|
15082
|
+
@media (max-width: 768px) {
|
|
15081
15083
|
${({ floatingMode: n, isExpanded: c }) => n && !c && `
|
|
15082
15084
|
width: 100%;
|
|
15083
15085
|
height: 100%;
|
|
@@ -12,12 +12,14 @@ Error generating stack: `+a.message+`
|
|
|
12
12
|
display: flex;
|
|
13
13
|
align-items: center;
|
|
14
14
|
justify-content: space-between;
|
|
15
|
-
|
|
15
|
+
height: 64px;
|
|
16
|
+
padding: 0 16px;
|
|
17
|
+
flex-shrink: 0;
|
|
16
18
|
background-color: ${({theme:n})=>n.colors.secondary};
|
|
17
19
|
color: ${({theme:n})=>n.colors.headerText};
|
|
18
20
|
border-radius: ${({theme:n})=>n.borderRadius} ${({theme:n})=>n.borderRadius} 0 0;
|
|
19
21
|
|
|
20
|
-
@media (max-width:
|
|
22
|
+
@media (max-width: 768px) {
|
|
21
23
|
${({floatingMode:n})=>n&&"border-radius: 0;"}
|
|
22
24
|
}
|
|
23
25
|
`,pm=R.div`
|
|
@@ -89,10 +91,10 @@ Error generating stack: `+a.message+`
|
|
|
89
91
|
`,zm=R.div`
|
|
90
92
|
display: flex;
|
|
91
93
|
|
|
92
|
-
@media (max-width:
|
|
94
|
+
@media (max-width: 768px) {
|
|
93
95
|
${({floatingMode:n})=>n&&"display: none;"}
|
|
94
96
|
}
|
|
95
|
-
`,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`
|
|
96
98
|
position: relative;
|
|
97
99
|
background-color: ${({theme:n})=>n.colors.background};
|
|
98
100
|
border-bottom: 1px solid ${({theme:n})=>n.colors.borderLight};
|
|
@@ -1359,7 +1361,7 @@ Error generating stack: `+a.message+`
|
|
|
1359
1361
|
transition: none;
|
|
1360
1362
|
}
|
|
1361
1363
|
|
|
1362
|
-
@media (max-width:
|
|
1364
|
+
@media (max-width: 768px) {
|
|
1363
1365
|
${({floatingMode:n,isExpanded:c,isOpen:s})=>n&&!c&&s&&`
|
|
1364
1366
|
top: 0;
|
|
1365
1367
|
left: 0;
|
|
@@ -1419,7 +1421,7 @@ Error generating stack: `+a.message+`
|
|
|
1419
1421
|
transition: none;
|
|
1420
1422
|
}
|
|
1421
1423
|
|
|
1422
|
-
@media (max-width:
|
|
1424
|
+
@media (max-width: 768px) {
|
|
1423
1425
|
${({floatingMode:n,isExpanded:c})=>n&&!c&&`
|
|
1424
1426
|
width: 100%;
|
|
1425
1427
|
height: 100%;
|
package/package.json
CHANGED