@zeniai/web-cockpit-ui 2.0.54-dev → 2.0.55-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-BzlPGf3u.js → CreditAgentRoutes-lbd_MK0D.js} +2 -2
  2. package/dist/assets/{Preview-B2dhyTVA.js → Preview-Dft8UMrA.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-C7keEq4-.js → ScreenRoutes-CSwVMLdU.js} +63 -63
  4. package/dist/assets/{SignInScreen-ByECy4cS.js → SignInScreen-tR5i-k-R.js} +1 -1
  5. package/dist/assets/{analytics-DxrVsL3o.js → analytics-CZC88X5V.js} +1 -1
  6. package/dist/assets/{analyticsHelper-DNPGsEF4.js → analyticsHelper-B6iKPGmi.js} +1 -1
  7. package/dist/assets/{core-BEaM6OJP.js → core-BwBR9UGX.js} +1 -1
  8. package/dist/assets/{dash.all.min-MMJCfPzU.js → dash.all.min--n3W8vKO.js} +1 -1
  9. package/dist/assets/{empty-u2A1ibtT.js → empty-BJtmobCg.js} +1 -1
  10. package/dist/assets/{empty-CJSA64Td.js → empty-D1jcH9CU.js} +1 -1
  11. package/dist/assets/epic-WTqV22B1.js +2 -0
  12. package/dist/assets/{index-Ba5Swe4w.js → index-1cOufiGn.js} +5836 -5840
  13. package/dist/assets/{index-DX6bTTcO.js → index-BTVtWPFV.js} +2 -2
  14. package/dist/assets/{index-CTK431mX.js → index-BUnmt4UX.js} +1 -1
  15. package/dist/assets/{index-EtHp3w0s.js → index-BjKp95p8.js} +1 -1
  16. package/dist/assets/{index-BClBXkno.js → index-C_SYn1tB.js} +1 -1
  17. package/dist/assets/{index-CsMf-_n1.js → index-D7t5xD4r.js} +1 -1
  18. package/dist/assets/{index-mW0eKyKU.js → index-QwVFwKAR.js} +1 -1
  19. package/dist/assets/{lexical-BnBhJ7wU.js → lexical-D8iPK0XK.js} +1 -1
  20. package/dist/assets/{liveblocks-DJmGcrV9.js → liveblocks-BRGrlVNy.js} +1 -1
  21. package/dist/assets/{lottie-BVK_PRd3.js → lottie-DMgLlnr6.js} +1 -1
  22. package/dist/assets/{mui-BzOdrXtH.js → mui-CvsuEZ8B.js} +1 -1
  23. package/dist/assets/{react-DL20wnlH.js → react-BdTZtVrZ.js} +1 -1
  24. package/dist/assets/{react-CBii5szV.js → react-Cw8iGbyo.js} +1 -1
  25. package/dist/assets/{react-DCrFvEmt.js → react-D2HlRp9b.js} +1 -1
  26. package/dist/assets/{react-DvMUOQRA.js → react-DZe9Jy5B.js} +1 -1
  27. package/dist/assets/{react-3G5V2mWN.js → react-DcBbMkYY.js} +2 -2
  28. package/dist/assets/{react-NAbQSm8l.js → react-DigT2Kde.js} +1 -1
  29. package/dist/assets/{react-BVymh9Ta.js → react-Dj7S2NuA.js} +1 -1
  30. package/dist/assets/{react-CAS7_AiY.js → react-OD6vUrpj.js} +1 -1
  31. package/dist/assets/{recharts-CAX3Qhsg.js → recharts-CgiWALSS.js} +1 -1
  32. package/dist/assets/{sentry-DMsB_HR9.js → sentry-CYft-6jQ.js} +1 -1
  33. package/dist/assets/{url-jXUbohHj.js → url-8qBdEVtr.js} +1 -1
  34. package/dist/assets/{url-Cy7vic92.js → url-CnnQaD6F.js} +1 -1
  35. package/dist/assets/{utils-DIo31iqp.js → utils-DAsEu9Dc.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-D5hwvIfO.js → zeni-epic-state-CGyFmTlz.js} +6 -6
  37. package/dist/index.html +1 -1
  38. package/package.json +6 -10
  39. package/dist/assets/epic-BBIjk2kZ.js +0 -2
@@ -1 +1 @@
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};
1
+ import{j as l}from"./liveblocks-BRGrlVNy.js";import{a as u,b as S,n as I}from"./sentry-CYft-6jQ.js";import{n as m,i as w,g,u as h,N as y,h as b}from"./core-BwBR9UGX.js";import{z as d,h as C,D as v,c as E,s as U,_ as T,i as p}from"./index-1cOufiGn.js";import{HX as x,HY as D,HZ as L,H_ as z,bk as f}from"./zeni-epic-state-CGyFmTlz.js";import{f as _}from"./analyticsHelper-B6iKPGmi.js";import"./recharts-CgiWALSS.js";import"./mui-CvsuEZ8B.js";import"./analytics-CZC88X5V.js";import"./lottie-DMgLlnr6.js";import"./lexical-D8iPK0XK.js";import"./utils-DAsEu9Dc.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};