@zeniai/web-cockpit-ui 2.0.2-qa → 2.0.3-qa

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 (38) hide show
  1. package/dist/assets/{Preview-yT4UW7aq.js → Preview-BVyMJAPE.js} +1 -1
  2. package/dist/assets/ScreenRoutes-CwLY_dkY.js +179 -0
  3. package/dist/assets/{SignInScreen-DF-mQuQN.js → SignInScreen-CaI8wFiS.js} +1 -1
  4. package/dist/assets/{analytics-C2zi4yYl.js → analytics-CxbihAd3.js} +1 -1
  5. package/dist/assets/{analyticsHelper-CQ_NJ64f.js → analyticsHelper-csAMKE5t.js} +1 -1
  6. package/dist/assets/{core-DJqJSXg7.js → core-Hv_-H1bU.js} +2 -2
  7. package/dist/assets/{dash.all.min-DDWV_XIt.js → dash.all.min-C3Ldwycm.js} +1 -1
  8. package/dist/assets/{empty-Bk3huslZ.js → empty-DhRBGhjm.js} +1 -1
  9. package/dist/assets/{empty-B21GhML_.js → empty-QRLZUlHa.js} +1 -1
  10. package/dist/assets/{epic-C7fuY-wt.js → epic-KK3h4RfP.js} +2 -2
  11. package/dist/assets/{index-yyXegiMy.js → index-Bc1Qz0-0.js} +1 -1
  12. package/dist/assets/{index-BxgOoqGm.js → index-CMq9JvPe.js} +1 -1
  13. package/dist/assets/{index-Cv7KcbYy.js → index-Cw3F7LYn.js} +1 -1
  14. package/dist/assets/{index-DgPAMj43.js → index-Dph5v5C-.js} +1 -1
  15. package/dist/assets/{index-BFo-bXQg.js → index-PgoCRaWL.js} +9903 -9434
  16. package/dist/assets/{index-BhBiwiQa.js → index-SKjzeIQp.js} +2 -2
  17. package/dist/assets/{index-Cq4l3zxM.js → index-leO1smnu.js} +1 -1
  18. package/dist/assets/{lexical-DRk-qy6i.js → lexical-C-kCEErw.js} +1 -1
  19. package/dist/assets/{liveblocks-MdBSm47b.js → liveblocks-DFTwHfDQ.js} +1 -1
  20. package/dist/assets/{lottie-B7ijoRF5.js → lottie-B8znk3av.js} +1 -1
  21. package/dist/assets/{mui-C6GD0jRa.js → mui-9V4sBmJH.js} +1 -1
  22. package/dist/assets/{react-DXdqpJBz.js → react-BdHy_3Z1.js} +1 -1
  23. package/dist/assets/{react-DudFuHqG.js → react-CjHphctG.js} +2 -2
  24. package/dist/assets/{react-C14Avl9M.js → react-CnRxfgat.js} +1 -1
  25. package/dist/assets/{react-DS7SjKOD.js → react-Cvl9RCSj.js} +1 -1
  26. package/dist/assets/{react-BTy2LAQl.js → react-Dp0F7YdG.js} +1 -1
  27. package/dist/assets/{react-DnrWns5F.js → react-Qs4XAm3M.js} +1 -1
  28. package/dist/assets/{react-C2jhusz3.js → react-VUnoXr6o.js} +1 -1
  29. package/dist/assets/{react-6_S6ieRO.js → react-voAl-2TL.js} +1 -1
  30. package/dist/assets/{recharts-K1p0NQzK.js → recharts-5TLVAs9t.js} +1 -1
  31. package/dist/assets/{sentry-D4s0taNl.js → sentry-BGg7q7oJ.js} +1 -1
  32. package/dist/assets/{url-C8bzLilf.js → url-Bld22Mre.js} +1 -1
  33. package/dist/assets/{url-C8ECIdKT.js → url-DQukgrUm.js} +1 -1
  34. package/dist/assets/{utils-CPUHikhf.js → utils--BZutJl7.js} +1 -1
  35. package/dist/assets/{zeni-epic-state-BRXzaXEX.js → zeni-epic-state-BfQhQ4UO.js} +7 -7
  36. package/dist/index.html +1 -1
  37. package/package.json +4 -4
  38. package/dist/assets/ScreenRoutes-D2nEcOZw.js +0 -179
@@ -1 +1 @@
1
- import{j as d}from"./liveblocks-MdBSm47b.js";import{a as S,b as f,n as m}from"./sentry-D4s0taNl.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-DJqJSXg7.js";import{z as l,m as v,D as C,a as E,q as U,K as x,c as p}from"./index-BFo-bXQg.js";import{Gv as T,Gw as D,Gx as L,Gy as z,bi as u}from"./zeni-epic-state-BRXzaXEX.js";import{f as A}from"./analyticsHelper-CQ_NJ64f.js";import"./recharts-K1p0NQzK.js";import"./mui-C6GD0jRa.js";import"./lottie-B7ijoRF5.js";import"./analytics-C2zi4yYl.js";import"./lexical-DRk-qy6i.js";import"./utils-CPUHikhf.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]="aa3328b9-e0a2-4219-aea8-650dc4c1b701",e._sentryDebugIdIdentifier="sentry-dbid-aa3328b9-e0a2-4219-aea8-650dc4c1b701")}catch{}})();function N(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 k(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(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 P=y(N,k)(x),_=f.memo(P);function J(){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=v().mode,c=h();if(S.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),T(t.userId,t.zeniSessionId),e(D("Completed")),C.updateAppLocaleID("en"),A(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(_,{navigate:o,location:c})}export{J as default};
1
+ import{j as d}from"./liveblocks-DFTwHfDQ.js";import{a as f,b as S,n as m}from"./sentry-BGg7q7oJ.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-Hv_-H1bU.js";import{z as l,m as C,D as v,c as E,y as U,U as T,e as p}from"./index-PgoCRaWL.js";import{GO as x,GP as D,GQ as L,GR as z,bi as u}from"./zeni-epic-state-BfQhQ4UO.js";import{f as A}from"./analyticsHelper-csAMKE5t.js";import"./recharts-5TLVAs9t.js";import"./mui-9V4sBmJH.js";import"./lottie-B8znk3av.js";import"./analytics-CxbihAd3.js";import"./lexical-C-kCEErw.js";import"./utils--BZutJl7.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]="760337c4-45b3-4cfd-9b60-c19fac79e29d",e._sentryDebugIdIdentifier="sentry-dbid-760337c4-45b3-4cfd-9b60-c19fac79e29d")}catch{}})();function N(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 P(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(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 k=y(N,P)(T),G=S.memo(k);function W(){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=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"),A(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(G,{navigate:o,location:c})}export{W as default};