@zeniai/web-cockpit-ui 2.0.53-qa → 2.0.54-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 (39) hide show
  1. package/dist/assets/{CreditAgentRoutes-4zH6LL3n.js → CreditAgentRoutes-BzlPGf3u.js} +2 -2
  2. package/dist/assets/{Preview-BvixRJ5c.js → Preview-B2dhyTVA.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-C06BVJ9T.js → ScreenRoutes-C7keEq4-.js} +63 -63
  4. package/dist/assets/{SignInScreen-Yh-4QFvi.js → SignInScreen-ByECy4cS.js} +1 -1
  5. package/dist/assets/{analytics-lvTArAqy.js → analytics-DxrVsL3o.js} +1 -1
  6. package/dist/assets/{analyticsHelper-DtHAeKMG.js → analyticsHelper-DNPGsEF4.js} +1 -1
  7. package/dist/assets/{core-jjjj4KoQ.js → core-BEaM6OJP.js} +1 -1
  8. package/dist/assets/{dash.all.min-ClgqMztb.js → dash.all.min-MMJCfPzU.js} +1 -1
  9. package/dist/assets/{empty-CqdXtKOL.js → empty-CJSA64Td.js} +1 -1
  10. package/dist/assets/{empty-By2WNaQJ.js → empty-u2A1ibtT.js} +1 -1
  11. package/dist/assets/epic-BBIjk2kZ.js +2 -0
  12. package/dist/assets/{index-qi8HGG8d.js → index-BClBXkno.js} +1 -1
  13. package/dist/assets/{index-CsAgJqJf.js → index-Ba5Swe4w.js} +5840 -5836
  14. package/dist/assets/{index-C7ZHfSXQ.js → index-CTK431mX.js} +1 -1
  15. package/dist/assets/{index-CYiRFtMG.js → index-CsMf-_n1.js} +1 -1
  16. package/dist/assets/{index-CKlCmTaA.js → index-DX6bTTcO.js} +2 -2
  17. package/dist/assets/{index-BRbCOToP.js → index-EtHp3w0s.js} +1 -1
  18. package/dist/assets/{index-DtqE5ge6.js → index-mW0eKyKU.js} +1 -1
  19. package/dist/assets/{lexical-T6-lGDve.js → lexical-BnBhJ7wU.js} +1 -1
  20. package/dist/assets/{liveblocks-CSY4jkRL.js → liveblocks-DJmGcrV9.js} +1 -1
  21. package/dist/assets/{lottie-CrOIcIbR.js → lottie-BVK_PRd3.js} +1 -1
  22. package/dist/assets/{mui-DJYOed8N.js → mui-BzOdrXtH.js} +1 -1
  23. package/dist/assets/{react-B31JDVrV.js → react-3G5V2mWN.js} +2 -2
  24. package/dist/assets/{react-BalFSVv4.js → react-BVymh9Ta.js} +1 -1
  25. package/dist/assets/{react-BTVAzQec.js → react-CAS7_AiY.js} +1 -1
  26. package/dist/assets/{react-BxWgM7GL.js → react-CBii5szV.js} +1 -1
  27. package/dist/assets/{react-CdJJijUK.js → react-DCrFvEmt.js} +1 -1
  28. package/dist/assets/{react-EqiHTaKn.js → react-DL20wnlH.js} +1 -1
  29. package/dist/assets/{react-D6qBg5uO.js → react-DvMUOQRA.js} +1 -1
  30. package/dist/assets/{react-_efBfNkL.js → react-NAbQSm8l.js} +1 -1
  31. package/dist/assets/{recharts-CGzBGXZo.js → recharts-CAX3Qhsg.js} +1 -1
  32. package/dist/assets/{sentry-DDtE46wu.js → sentry-DMsB_HR9.js} +1 -1
  33. package/dist/assets/{url-Dfg6SSVv.js → url-Cy7vic92.js} +1 -1
  34. package/dist/assets/{url-asyQ1PyP.js → url-jXUbohHj.js} +1 -1
  35. package/dist/assets/{utils-BX-SHDnW.js → utils-DIo31iqp.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-CuCkB0TH.js → zeni-epic-state-D5hwvIfO.js} +6 -6
  37. package/dist/index.html +1 -1
  38. package/package.json +10 -6
  39. package/dist/assets/epic-DXzmtyG0.js +0 -2
@@ -1 +1 @@
1
- import{j as l}from"./liveblocks-CSY4jkRL.js";import{a as u,b as S,n as I}from"./sentry-DDtE46wu.js";import{n as m,i as w,g,u as h,N as y,h as b}from"./core-jjjj4KoQ.js";import{z as d,h as C,D as v,c as E,s as U,_ as T,i as p}from"./index-CsAgJqJf.js";import{HX as x,HY as D,HZ as L,H_ as z,bk as f}from"./zeni-epic-state-CuCkB0TH.js";import{f as _}from"./analyticsHelper-DtHAeKMG.js";import"./recharts-CGzBGXZo.js";import"./mui-DJYOed8N.js";import"./analytics-lvTArAqy.js";import"./lottie-CrOIcIbR.js";import"./lexical-T6-lGDve.js";import"./utils-BX-SHDnW.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]="f43d4f8d-e15a-4084-849e-cd03f4252543",e._sentryDebugIdIdentifier="sentry-dbid-f43d4f8d-e15a-4084-849e-cd03f4252543")}catch{}})();function k(e){const o=e.tenantState.fetchState,i=e.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:p.googleClientId,microsoftClientId:p.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:f(s),sourceUri:f(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>d.getSignedInUser(),onSignedInCallback:()=>{const n=i.state?.origin;n&&n!=="/"?r(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(L())}}}const N=b(k,A)(T),P=S.memo(N);function X(){const e=m(),o=w(),i=d.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&&(d.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 l.jsx(y,{to:a,state:{...c.state,origin:""}})}else return l.jsx(P,{navigate:o,location:c})}export{X as default};
1
+ import{j as d}from"./liveblocks-DJmGcrV9.js";import{a as f,b as S,n as I}from"./sentry-DMsB_HR9.js";import{n as m,i as w,g,u as h,N as b,h as y}from"./core-BEaM6OJP.js";import{z as l,h as C,D as v,c as E,p as U,_ as T,e as p}from"./index-Ba5Swe4w.js";import{HZ as x,H_ as D,H$ as L,I0 as z,bk as u}from"./zeni-epic-state-D5hwvIfO.js";import{f as _}from"./analyticsHelper-DNPGsEF4.js";import"./recharts-CAX3Qhsg.js";import"./mui-BzOdrXtH.js";import"./analytics-DxrVsL3o.js";import"./lottie-BVK_PRd3.js";import"./lexical-BnBhJ7wU.js";import"./utils-DIo31iqp.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]="6bf4e228-a541-4815-aefd-52b75bebcc44",e._sentryDebugIdIdentifier="sentry-dbid-6bf4e228-a541-4815-aefd-52b75bebcc44")}catch{}})();function k(e){const o=e.tenantState.fetchState,i=e.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:p.googleClientId,microsoftClientId:p.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:u(s),sourceUri:u(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 q(){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(f.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{q as default};