@zeniai/web-cockpit-ui 2.1.27-dev → 2.1.28-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-DEEdZX6t.js → CreditAgentRoutes-rOrW9028.js} +3 -3
  2. package/dist/assets/{Preview-C1hTAKb-.js → Preview-8nQ6vXxR.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-FQwDfte9.js → ScreenRoutes-9MfV_NZf.js} +45 -45
  4. package/dist/assets/{SignInScreen-BvOzpDMx.js → SignInScreen-CzeYKCeh.js} +1 -1
  5. package/dist/assets/{analytics-CyP-NgOg.js → analytics-D8DiA4u3.js} +1 -1
  6. package/dist/assets/{analyticsHelper-ORtH3VC2.js → analyticsHelper-C62zhkJP.js} +1 -1
  7. package/dist/assets/{core-BHfDbN8f.js → core-Cuh6I06m.js} +1 -1
  8. package/dist/assets/{dash.all.min-Fpn-A3vN.js → dash.all.min-ePqSQXI_.js} +1 -1
  9. package/dist/assets/{empty-DpXRS4Ke.js → empty-CwpRf8bd.js} +1 -1
  10. package/dist/assets/{empty-ChCjpvcH.js → empty-DG42zO_g.js} +1 -1
  11. package/dist/assets/epic-jXSWptso.js +2 -0
  12. package/dist/assets/{index-BRG3pYoE.js → index-C1hBXkGt.js} +1 -1
  13. package/dist/assets/{index-DRsEq_RT.js → index-C1u8VU1q.js} +1 -1
  14. package/dist/assets/{index-B2UA0TuP.js → index-C44eMUVC.js} +1 -1
  15. package/dist/assets/{index-BqQ1_Krz.js → index-CnLtsIvu.js} +1 -1
  16. package/dist/assets/{index-xZ-9li_y.js → index-D_3UY_2D.js} +2 -2
  17. package/dist/assets/{index-DSoQsS_3.js → index-m7Xk7Vks.js} +6 -6
  18. package/dist/assets/{index-Df9RIT3x.js → index-sjmGzj3F.js} +1 -1
  19. package/dist/assets/{lexical-xonkwYrt.js → lexical-CFC3xkZg.js} +1 -1
  20. package/dist/assets/{liveblocks-C4fAGClt.js → liveblocks-BDTsCL52.js} +1 -1
  21. package/dist/assets/{lottie-6ucQGhWv.js → lottie-BFyEgU6v.js} +1 -1
  22. package/dist/assets/{mui-Bam5ortE.js → mui-ln_7hj-c.js} +1 -1
  23. package/dist/assets/{react-CO1mPB0X.js → react-B0uKQH5d.js} +1 -1
  24. package/dist/assets/{react-D5T0gxD6.js → react-C3Atqjhw.js} +1 -1
  25. package/dist/assets/{react-DvauDu7z.js → react-Ca9coxvu.js} +1 -1
  26. package/dist/assets/{react-Dpd3yiUu.js → react-CpqSXHZF.js} +1 -1
  27. package/dist/assets/{react-BpokFsG7.js → react-D5cb8C_A.js} +1 -1
  28. package/dist/assets/{react-BuBeZ799.js → react-PWLbInDT.js} +1 -1
  29. package/dist/assets/{react-DtRvzGWM.js → react-W1YfeIH_.js} +1 -1
  30. package/dist/assets/{react-C1aKFrMl.js → react-k_Y5aGGv.js} +2 -2
  31. package/dist/assets/{recharts-BU9B8-bD.js → recharts-C9QKLUlV.js} +1 -1
  32. package/dist/assets/{sentry-DBnwc6dO.js → sentry-Sh5ZJVdi.js} +1 -1
  33. package/dist/assets/{url-Cxuc_b6K.js → url-C8LV-VlG.js} +1 -1
  34. package/dist/assets/{url-CyBQDZz9.js → url-DJ8qhkgs.js} +1 -1
  35. package/dist/assets/{utils-LFrcY-rF.js → utils-BJM0N5OL.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-y6K9ejuM.js → zeni-epic-state-DAlg8WD-.js} +3 -3
  37. package/dist/index.html +1 -1
  38. package/package.json +3 -3
  39. package/dist/assets/epic-CWJunA5J.js +0 -2
@@ -1 +1 @@
1
- import{j as d}from"./liveblocks-C4fAGClt.js";import{a as u,b as S,n as m}from"./sentry-DBnwc6dO.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-BHfDbN8f.js";import{z as l,E,j as C,b as v,D as U,Z as x,d as p}from"./index-DSoQsS_3.js";import{Kj as T,Kk as z,Kl as D,Km as L,bm as f}from"./zeni-epic-state-y6K9ejuM.js";import{f as j}from"./analyticsHelper-ORtH3VC2.js";import"./recharts-BU9B8-bD.js";import"./mui-Bam5ortE.js";import"./analytics-CyP-NgOg.js";import"./lottie-6ucQGhWv.js";import"./lexical-xonkwYrt.js";import"./utils-LFrcY-rF.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]="87c50f57-969a-4f99-9db5-2c6fab45c6d0",e._sentryDebugIdIdentifier="sentry-dbid-87c50f57-969a-4f99-9db5-2c6fab45c6d0")}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)=>{m({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(L({authCode:n,oauthProvider:t,appType:"web",redirectUri:f(s),sourceUri:f(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(D())}}}const N=y(k,A)(x),K=S.memo(N);function G(){const e=I(),o=w(),i=l.getSignedInUser(),r=g(a=>a.tenantState.fetchState),n=g(a=>a.tenantState.signInState),t=g(a=>a.tenantState.loggedInUser),s=E().mode,c=h();if(u.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),T(t.userId,t.zeniSessionId),e(z("Completed")),C.updateAppLocaleID("en"),j(t,s),setTimeout(()=>{v.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(K,{navigate:o,location:c})}export{G as default};
1
+ import{j as d}from"./liveblocks-BDTsCL52.js";import{a as f,b as S,n as m}from"./sentry-Sh5ZJVdi.js";import{n as I,i as w,g,u as h,N as y,h as b}from"./core-Cuh6I06m.js";import{z as l,E,k as C,c as v,D as U,Y as x,d as p}from"./index-m7Xk7Vks.js";import{Kj as T,Kk as z,Kl as D,Km as L,bm as u}from"./zeni-epic-state-DAlg8WD-.js";import{f as k}from"./analyticsHelper-C62zhkJP.js";import"./recharts-C9QKLUlV.js";import"./mui-ln_7hj-c.js";import"./analytics-D8DiA4u3.js";import"./lottie-BFyEgU6v.js";import"./lexical-CFC3xkZg.js";import"./utils-BJM0N5OL.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]="0ebcf126-52c4-4075-99a9-c4c1d87c7311",e._sentryDebugIdIdentifier="sentry-dbid-0ebcf126-52c4-4075-99a9-c4c1d87c7311")}catch{}})();function A(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 N(e,o){const{location:i,navigate:r}=o;return console.warn(JSON.stringify(window.location)),{onOAuthError:(n,t)=>{m({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(L({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(D())}}}const j=b(A,N)(x),K=S.memo(j);function q(){const e=I(),o=w(),i=l.getSignedInUser(),r=g(a=>a.tenantState.fetchState),n=g(a=>a.tenantState.signInState),t=g(a=>a.tenantState.loggedInUser),s=E().mode,c=h();if(f.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),T(t.userId,t.zeniSessionId),e(z("Completed")),C.updateAppLocaleID("en"),k(t,s),setTimeout(()=>{v.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(y,{to:a,state:{...c.state,origin:""}})}else return d.jsx(K,{navigate:o,location:c})}export{q as default};