@hiver/connector-agent 4.6.0-quickAccess-beta.1 → 4.6.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const NEED_HELP = "Need setup help?";
|
|
2
2
|
export declare const SCHEDULE_CALL_DESCRIPTION = "Expert setup assistance available! Book a 15 min call with our integration specialist.";
|
|
3
3
|
export declare const SCHEDULE_CALL = "Schedule call";
|
|
4
|
-
export declare const SCHEDULE_CALL_LINK = "https://
|
|
4
|
+
export declare const SCHEDULE_CALL_LINK = "https://calendar.app.google/V2cJcwKMV4ax9rpk9";
|
|
5
5
|
export declare const AGENT_PANEL = "agent_panel";
|
|
6
6
|
export declare const LOCAL_STORAGE_CLOSE_BUTTON_CLICK = "hiver_schedule_call_close_button_click";
|
|
7
7
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/features/schedule-call/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,qBAAqB,CAAC;AAC5C,eAAO,MAAM,yBAAyB,2FACoD,CAAC;AAC3F,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/features/schedule-call/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,qBAAqB,CAAC;AAC5C,eAAO,MAAM,yBAAyB,2FACoD,CAAC;AAC3F,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,kBAAkB,kDAAkD,CAAC;AAClF,eAAO,MAAM,WAAW,gBAAgB,CAAC;AACzC,eAAO,MAAM,gCAAgC,2CAA2C,CAAC"}
|
package/index.es.js
CHANGED
|
@@ -5484,7 +5484,7 @@ const A5 = (e) => /* @__PURE__ */ A.createElement("svg", { width: 20, height: 21
|
|
|
5484
5484
|
}
|
|
5485
5485
|
) })
|
|
5486
5486
|
] });
|
|
5487
|
-
}, j5 = "Need setup help?", B5 = "Expert setup assistance available! Book a 15 min call with our integration specialist.", V5 = "Schedule call", G5 = "https://
|
|
5487
|
+
}, j5 = "Need setup help?", B5 = "Expert setup assistance available! Book a 15 min call with our integration specialist.", V5 = "Schedule call", G5 = "https://calendar.app.google/V2cJcwKMV4ax9rpk9", Eu = "agent_panel", ga = "hiver_schedule_call_close_button_click", H5 = O(G)`
|
|
5488
5488
|
padding: 12px;
|
|
5489
5489
|
width: 250px;
|
|
5490
5490
|
min-height: 151px;
|
package/index.umd.js
CHANGED
|
@@ -149,7 +149,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
149
149
|
}
|
|
150
150
|
`,O3=f.styled(f.Typography)`
|
|
151
151
|
letter-spacing: 0.042px;
|
|
152
|
-
`,F3=({rating:e,setRating:t,count:n=5})=>{const[r,o]=_.useState(e),s=r??e,a=l=>{t(l)},i=l=>{o(l)},c=()=>{o(0)};return u.jsx(A3,{onMouseLeave:c,children:Array.from({length:n},(l,d)=>{const g=d<s;return u.jsx(L3,{onClick:()=>a(d+1),onMouseEnter:()=>i(d+1),children:u.jsxs("div",{children:[u.jsx(E3,{width:"20px",height:"20px",style:{opacity:g?1:0,zIndex:g?2:1}}),u.jsx(x3,{width:"20px",height:"20px",style:{opacity:g?0:1,zIndex:g?1:2}})]})},d)})})},D3=({connectors:e,expanded:t=!1})=>{const{currentSmIds:n,sendTrackingEvent:r,userEmail:o}=_.useContext(He),{userGroupId:s,userId:a}=Qt()||{},i=As({url:ju,params:{email:o,user_id:a,ug_id:s,sm_ids:n.join(","),connector_names:e.join(","),source:"collapsed_feedback_btn"}}),[c,l]=_.useState(t),[d,g]=_.useState(!1),[b,x]=_.useState(0),y=()=>{r(wi,{sm_ids:n,ug_id:s,connector_names:e,source:"collapsed_feedback_btn",star_rating:0}),ds(a)},p=v=>{r(wi,{sm_ids:n,ug_id:s,connector_names:e,source:"expanded_feedback_btn",star_rating:v});const C=As({url:om,params:{email:o,user_id:a,ug_id:s,sm_ids:n.join(","),connector_names:e.join(","),star_rating:String(v)}});x(v),window.open(C,"_blank"),l(!1),ds(a)},h=()=>{r(Wm,{sm_ids:n,ug_id:s,connector_names:e,source:"expanded_feedback_btn"}),g(!0),ds(a)},m=()=>{d&&(l(!1),g(!1))};return u.jsxs(u.Fragment,{children:[u.jsxs(S3,{className:d||!c?"slide-down-out":"",onAnimationEnd:m,children:[u.jsxs(f.Stack,{width:"100%",direction:"row",gap:"8px",children:[u.jsx(Kg,{}),u.jsxs(f.Box,{width:"175px",children:[u.jsx(O3,{variant:"h3",children:tm}),u.jsx(F3,{rating:b,setRating:p})]})]}),u.jsx(f.Box,{position:"relative",children:u.jsx(f.Tooltip,{title:"Close",children:u.jsx(T3,{onClick:h,children:u.jsx(em,{width:"16px",height:"16px"})})})})]}),u.jsx(_3,{className:d||!c?"fade-in":"",children:u.jsxs(f.Button,{size:"small",variant:"outlined",color:"tertiary",href:i,target:"_blank",onClick:y,children:[u.jsx(Ug,{}),nm]})})]})},k3="Need setup help?",N3="Expert setup assistance available! Book a 15 min call with our integration specialist.",R3="Schedule call",M3="https://
|
|
152
|
+
`,F3=({rating:e,setRating:t,count:n=5})=>{const[r,o]=_.useState(e),s=r??e,a=l=>{t(l)},i=l=>{o(l)},c=()=>{o(0)};return u.jsx(A3,{onMouseLeave:c,children:Array.from({length:n},(l,d)=>{const g=d<s;return u.jsx(L3,{onClick:()=>a(d+1),onMouseEnter:()=>i(d+1),children:u.jsxs("div",{children:[u.jsx(E3,{width:"20px",height:"20px",style:{opacity:g?1:0,zIndex:g?2:1}}),u.jsx(x3,{width:"20px",height:"20px",style:{opacity:g?0:1,zIndex:g?1:2}})]})},d)})})},D3=({connectors:e,expanded:t=!1})=>{const{currentSmIds:n,sendTrackingEvent:r,userEmail:o}=_.useContext(He),{userGroupId:s,userId:a}=Qt()||{},i=As({url:ju,params:{email:o,user_id:a,ug_id:s,sm_ids:n.join(","),connector_names:e.join(","),source:"collapsed_feedback_btn"}}),[c,l]=_.useState(t),[d,g]=_.useState(!1),[b,x]=_.useState(0),y=()=>{r(wi,{sm_ids:n,ug_id:s,connector_names:e,source:"collapsed_feedback_btn",star_rating:0}),ds(a)},p=v=>{r(wi,{sm_ids:n,ug_id:s,connector_names:e,source:"expanded_feedback_btn",star_rating:v});const C=As({url:om,params:{email:o,user_id:a,ug_id:s,sm_ids:n.join(","),connector_names:e.join(","),star_rating:String(v)}});x(v),window.open(C,"_blank"),l(!1),ds(a)},h=()=>{r(Wm,{sm_ids:n,ug_id:s,connector_names:e,source:"expanded_feedback_btn"}),g(!0),ds(a)},m=()=>{d&&(l(!1),g(!1))};return u.jsxs(u.Fragment,{children:[u.jsxs(S3,{className:d||!c?"slide-down-out":"",onAnimationEnd:m,children:[u.jsxs(f.Stack,{width:"100%",direction:"row",gap:"8px",children:[u.jsx(Kg,{}),u.jsxs(f.Box,{width:"175px",children:[u.jsx(O3,{variant:"h3",children:tm}),u.jsx(F3,{rating:b,setRating:p})]})]}),u.jsx(f.Box,{position:"relative",children:u.jsx(f.Tooltip,{title:"Close",children:u.jsx(T3,{onClick:h,children:u.jsx(em,{width:"16px",height:"16px"})})})})]}),u.jsx(_3,{className:d||!c?"fade-in":"",children:u.jsxs(f.Button,{size:"small",variant:"outlined",color:"tertiary",href:i,target:"_blank",onClick:y,children:[u.jsx(Ug,{}),nm]})})]})},k3="Need setup help?",N3="Expert setup assistance available! Book a 15 min call with our integration specialist.",R3="Schedule call",M3="https://calendar.app.google/V2cJcwKMV4ax9rpk9",rd="agent_panel",Fi="hiver_schedule_call_close_button_click",P3=f.styled(f.Stack)`
|
|
153
153
|
padding: 12px;
|
|
154
154
|
width: 250px;
|
|
155
155
|
min-height: 151px;
|