@zeniai/web-cockpit-ui 2.0.43-qa → 2.0.44-dev

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 (41) hide show
  1. package/dist/assets/CreditAgentRoutes-zLT462V-.js +4 -0
  2. package/dist/assets/{Preview-Dma6iUQv.js → Preview-BQo3CyS_.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-DNUqIx1c.js → ScreenRoutes-BgwkIdAu.js} +95 -95
  4. package/dist/assets/{SignInScreen-DtVPGarA.js → SignInScreen-Ce2brwQF.js} +1 -1
  5. package/dist/assets/{analytics-PAFomk5X.js → analytics-CNiqXd4K.js} +1 -1
  6. package/dist/assets/analyticsHelper-DznU5kTs.js +1 -0
  7. package/dist/assets/{core-BK-AVgQn.js → core-DKgScItP.js} +1 -1
  8. package/dist/assets/{dash.all.min-DPPmlVqb.js → dash.all.min-CYa0p3rw.js} +1 -1
  9. package/dist/assets/{empty-BNY4abw3.js → empty-CD8pH1Sz.js} +1 -1
  10. package/dist/assets/{empty-DoK7uDqf.js → empty-NCff90b1.js} +1 -1
  11. package/dist/assets/epic-B8hXJ_-c.js +2 -0
  12. package/dist/assets/{index-BR5HupEq.js → index-BZDIfWOU.js} +2 -2
  13. package/dist/assets/{index-CVxlChPx.js → index-Bbw_5hMZ.js} +1 -1
  14. package/dist/assets/{index-CrrVNGPO.js → index-BlDoTt4Z.js} +1 -1
  15. package/dist/assets/{index-Cm5nGQyA.js → index-BlvXWI4v.js} +1 -1
  16. package/dist/assets/{index-DlCCukf1.js → index-C_3BdDN9.js} +1 -1
  17. package/dist/assets/{index-D7GOuLi8.js → index-D73H7aei.js} +6406 -6343
  18. package/dist/assets/{index-ddpyM2vA.js → index-pCsJcxD1.js} +1 -1
  19. package/dist/assets/{lexical-tQpWORqy.js → lexical-CQpB_x8R.js} +1 -1
  20. package/dist/assets/{liveblocks-CzMoYG_p.js → liveblocks-CW_7tUCi.js} +1 -1
  21. package/dist/assets/{lottie-DTWlzvs7.js → lottie-m2kKfV4U.js} +1 -1
  22. package/dist/assets/{mui-BqexhJJj.js → mui-BwuPEJfx.js} +1 -1
  23. package/dist/assets/{react-CmWj8ZV9.js → react-B1Hy4U0E.js} +1 -1
  24. package/dist/assets/{react-B3OULRlD.js → react-BdLbUci0.js} +1 -1
  25. package/dist/assets/{react-BbQxrK_d.js → react-Bi_WzKC_.js} +1 -1
  26. package/dist/assets/{react-DzEs92ey.js → react-BjRqbSTa.js} +1 -1
  27. package/dist/assets/{react-zs9oVX2b.js → react-CHPqz5by.js} +2 -2
  28. package/dist/assets/{react-Ba9QE8EN.js → react-DVxt2hJB.js} +1 -1
  29. package/dist/assets/{react-mJ0awhvr.js → react-EyY2lwyV.js} +1 -1
  30. package/dist/assets/{react-C17tRmNK.js → react-KDrxtde3.js} +1 -1
  31. package/dist/assets/{recharts-DAa4eu61.js → recharts-BlvW-DcS.js} +1 -1
  32. package/dist/assets/{sentry-rP2pOrBz.js → sentry-C-aMUNqx.js} +1 -1
  33. package/dist/assets/{url-Cbij-gzn.js → url-B_3PMz4d.js} +1 -1
  34. package/dist/assets/{url-DSD53f9F.js → url-CoNyhcSF.js} +1 -1
  35. package/dist/assets/{utils-CvYApMAr.js → utils-dxP1HWg1.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-D3jSoBJ0.js → zeni-epic-state-BUtcxLyD.js} +5 -5
  37. package/dist/index.html +1 -1
  38. package/package.json +3 -3
  39. package/dist/assets/CreditAgentRoutes-DDER6d5S.js +0 -4
  40. package/dist/assets/analyticsHelper-Bp1Yzrax.js +0 -1
  41. package/dist/assets/epic-DQ3c6LCh.js +0 -2
@@ -1 +1 @@
1
- import{j as d}from"./liveblocks-CzMoYG_p.js";import{a as u,b as S,n as I}from"./sentry-rP2pOrBz.js";import{n as m,i as w,g,u as h,N as b,h as y}from"./core-BK-AVgQn.js";import{z as l,h as C,O as v,d as E,p as U,N as T,f}from"./index-D7GOuLi8.js";import{HT as x,HU as L,HV as z,HW as D,bk as p}from"./zeni-epic-state-D3jSoBJ0.js";import{f as N}from"./analyticsHelper-Bp1Yzrax.js";import"./recharts-DAa4eu61.js";import"./mui-BqexhJJj.js";import"./analytics-PAFomk5X.js";import"./lottie-DTWlzvs7.js";import"./lexical-tQpWORqy.js";import"./utils-CvYApMAr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f5f5a2d0-7593-4e3b-9fab-56615b11e7f4",e._sentryDebugIdIdentifier="sentry-dbid-f5f5a2d0-7593-4e3b-9fab-56615b11e7f4")}catch{}})();function k(e){const o=e.tenantState.fetchState,i=e.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:f.googleClientId,microsoftClientId:f.microsoftClientId,signInError:e.tenantState.error?.error,fetchState:o,sendMagicLinkStatus:i,showEmailLogin:!1}}function A(e,o){const{location:i,navigate:r}=o;return console.warn(JSON.stringify(window.location)),{onOAuthError:(n,t)=>{I({message:`OAuth error from provider ${t} with error ${n}`,level:"error",tags:{authProvider:t,errorType:"zeni.login.error"},extra:{error:n,windowLocation:window.location.href}})},onOAuthSuccess:(n,t)=>{const s=t==="google"?window.location.origin:window.location.origin+window.location.pathname;e(D({authCode:n,oauthProvider:t,appType:"web",redirectUri:p(s),sourceUri:p(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>l.getSignedInUser(),onSignedInCallback:()=>{const n=i.state?.origin;n&&n!=="/"?r(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(z())}}}const O=y(k,A)(T),P=S.memo(O);function V(){const e=m(),o=w(),i=l.getSignedInUser(),r=g(a=>a.tenantState.fetchState),n=g(a=>a.tenantState.signInState),t=g(a=>a.tenantState.loggedInUser),s=C().mode,c=h();if(u.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),x(t.userId,t.zeniSessionId),e(L("Completed")),v.updateAppLocaleID("en"),N(t,s),setTimeout(()=>{E.trackLogin(U.Event.loginSuccess,t.authProvider??"google")},2e3))},[]),n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null||i!=null){const a=c.state?.origin??"/";return d.jsx(b,{to:a,state:{...c.state,origin:""}})}else return d.jsx(P,{navigate:o,location:c})}export{V as default};
1
+ import{j as d}from"./liveblocks-CW_7tUCi.js";import{a as u,b as S,n as I}from"./sentry-C-aMUNqx.js";import{n as m,i as w,g,u as h,N as b,h as y}from"./core-DKgScItP.js";import{z as l,h as C,D as v,c as E,s as U,_ as T,f}from"./index-D73H7aei.js";import{HX as x,HY as D,HZ as L,H_ as z,bk as p}from"./zeni-epic-state-BUtcxLyD.js";import{f as _}from"./analyticsHelper-DznU5kTs.js";import"./recharts-BlvW-DcS.js";import"./mui-BwuPEJfx.js";import"./analytics-CNiqXd4K.js";import"./lottie-m2kKfV4U.js";import"./lexical-CQpB_x8R.js";import"./utils-dxP1HWg1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="bffca8f5-9225-4039-bb06-a3dea2d81e5c",e._sentryDebugIdIdentifier="sentry-dbid-bffca8f5-9225-4039-bb06-a3dea2d81e5c")}catch{}})();function k(e){const o=e.tenantState.fetchState,i=e.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:f.googleClientId,microsoftClientId:f.microsoftClientId,signInError:e.tenantState.error?.error,fetchState:o,sendMagicLinkStatus:i,showEmailLogin:!1}}function A(e,o){const{location:i,navigate:r}=o;return console.warn(JSON.stringify(window.location)),{onOAuthError:(n,t)=>{I({message:`OAuth error from provider ${t} with error ${n}`,level:"error",tags:{authProvider:t,errorType:"zeni.login.error"},extra:{error:n,windowLocation:window.location.href}})},onOAuthSuccess:(n,t)=>{const s=t==="google"?window.location.origin:window.location.origin+window.location.pathname;e(z({authCode:n,oauthProvider:t,appType:"web",redirectUri:p(s),sourceUri:p(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>l.getSignedInUser(),onSignedInCallback:()=>{const n=i.state?.origin;n&&n!=="/"?r(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(L())}}}const N=y(k,A)(T),P=S.memo(N);function X(){const e=m(),o=w(),i=l.getSignedInUser(),r=g(a=>a.tenantState.fetchState),n=g(a=>a.tenantState.signInState),t=g(a=>a.tenantState.loggedInUser),s=C().mode,c=h();if(u.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),x(t.userId,t.zeniSessionId),e(D("Completed")),v.updateAppLocaleID("en"),_(t,s),setTimeout(()=>{E.trackLogin(U.Event.loginSuccess,t.authProvider??"google")},2e3))},[]),n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null||i!=null){const a=c.state?.origin??"/";return d.jsx(b,{to:a,state:{...c.state,origin:""}})}else return d.jsx(P,{navigate:o,location:c})}export{X as default};