@zeniai/web-cockpit-ui 2.0.7-qa → 2.0.8-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 (40) hide show
  1. package/dist/assets/{Preview-D6xyjrhq.js → Preview-mQAAG6Qi.js} +1 -1
  2. package/dist/assets/{ScreenRoutes-BRixAOzw.js → ScreenRoutes-Cv6zRtZH.js} +67 -67
  3. package/dist/assets/{SignInScreen-DbmnyERS.js → SignInScreen-CyIIqyEU.js} +1 -1
  4. package/dist/assets/{analytics-DGl7IFKF.js → analytics-sFDpEuTJ.js} +1 -1
  5. package/dist/assets/{analyticsHelper-CndTND1y.js → analyticsHelper-DyhF1HAm.js} +1 -1
  6. package/dist/assets/{core-DHVxRutp.js → core-CXpRWlG8.js} +1 -1
  7. package/dist/assets/{dash.all.min-BXSn-yGI.js → dash.all.min-DVHbfh2L.js} +1 -1
  8. package/dist/assets/{empty-BJ_xd-Bs.js → empty-Bgijim3h.js} +1 -1
  9. package/dist/assets/{empty-DXuHLV0p.js → empty-GiZDHil5.js} +1 -1
  10. package/dist/assets/epic-4G2Xr27Y.js +2 -0
  11. package/dist/assets/{index-LC-eG2lx.js → index-BEtTwjYv.js} +1 -1
  12. package/dist/assets/{index-BlrpOE8t.js → index-BLJx6AHJ.js} +1 -1
  13. package/dist/assets/{index-an3lvmNO.js → index-BrczqqvZ.js} +1 -1
  14. package/dist/assets/{index-DemqEXDG.js → index-CNazyhrM.js} +31020 -29968
  15. package/dist/assets/{index-CYGzMTlo.js → index-CTjsMhcG.js} +1 -1
  16. package/dist/assets/{index-DQywESUi.js → index-Diz5Aofh.js} +2 -2
  17. package/dist/assets/index-y98xvd7i.css +1 -0
  18. package/dist/assets/{index-NOk3Blpx.js → index-zK-fLsmD.js} +1 -1
  19. package/dist/assets/{lexical-DVvwPGiV.js → lexical-Be8Y4uhz.js} +1 -1
  20. package/dist/assets/{liveblocks-C6-xsCDb.js → liveblocks-BMictlBo.js} +1 -1
  21. package/dist/assets/{lottie-DyUZISiY.js → lottie-DCzbzZRq.js} +1 -1
  22. package/dist/assets/{mui-Bv-ao3ej.js → mui-DulInS9C.js} +1 -1
  23. package/dist/assets/{react-C1Saf98v.js → react-B79FtuoR.js} +1 -1
  24. package/dist/assets/{react-DlkxWNSx.js → react-C2hBYxwN.js} +1 -1
  25. package/dist/assets/{react-CLIcqQOl.js → react-COBxfO1G.js} +1 -1
  26. package/dist/assets/{react-p6QmlsOY.js → react-COjvva1V.js} +1 -1
  27. package/dist/assets/{react-CT6k1-92.js → react-DD2Gx84X.js} +1 -1
  28. package/dist/assets/{react-C5IbviYS.js → react-DSSM6xnw.js} +1 -1
  29. package/dist/assets/{react-BiQW1s6C.js → react-DqzSiWO2.js} +2 -2
  30. package/dist/assets/{react-BkQ5acYp.js → react-UVNZZEtS.js} +1 -1
  31. package/dist/assets/{recharts-gL1pB37o.js → recharts-CXfhhs56.js} +1 -1
  32. package/dist/assets/{sentry-a9VN5MT_.js → sentry-BOPeCpQn.js} +1 -1
  33. package/dist/assets/{url-D9DTAcDG.js → url-DkzSSkPm.js} +1 -1
  34. package/dist/assets/{url-Dy84HH41.js → url-Dladvj5K.js} +1 -1
  35. package/dist/assets/{utils-BpRwYSqV.js → utils-ChuT_7Qn.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-FMvq9Tb0.js → zeni-epic-state-B8J7fD1o.js} +7 -7
  37. package/dist/index.html +1 -1
  38. package/package.json +4 -4
  39. package/dist/assets/epic-BpN6mJVX.js +0 -2
  40. package/dist/assets/index-t8y498Dk.css +0 -1
@@ -1 +1 @@
1
- import{j as d}from"./liveblocks-C6-xsCDb.js";import{a as f,b as S,n as I}from"./sentry-a9VN5MT_.js";import{n as m,i as w,g,u as h,N as b,h as y}from"./core-DHVxRutp.js";import{z as l,h as C,f as v,a as E,t as U,Y as T,e as p}from"./index-DemqEXDG.js";import{GO as x,GP as D,GQ as L,GR as z,bi as u}from"./zeni-epic-state-FMvq9Tb0.js";import{f as A}from"./analyticsHelper-CndTND1y.js";import"./recharts-gL1pB37o.js";import"./mui-Bv-ao3ej.js";import"./analytics-DGl7IFKF.js";import"./lottie-DyUZISiY.js";import"./lexical-DVvwPGiV.js";import"./utils-BpRwYSqV.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]="e08461a9-f84c-4a2c-841b-a8e90506773b",e._sentryDebugIdIdentifier="sentry-dbid-e08461a9-f84c-4a2c-841b-a8e90506773b")}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)=>{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 k=y(N,P)(T),O=S.memo(k);function W(){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"),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(O,{navigate:o,location:c})}export{W as default};
1
+ import{j as d}from"./liveblocks-BMictlBo.js";import{a as f,b as S,n as I}from"./sentry-BOPeCpQn.js";import{n as m,i as b,g,u as w,N as h,h as y}from"./core-CXpRWlG8.js";import{z as l,h as C,f as v,c as E,t as U,W as T,e as p}from"./index-CNazyhrM.js";import{GS as x,GT as D,GU as L,GV as z,bk as u}from"./zeni-epic-state-B8J7fD1o.js";import{f as k}from"./analyticsHelper-DyhF1HAm.js";import"./recharts-CXfhhs56.js";import"./mui-DulInS9C.js";import"./analytics-sFDpEuTJ.js";import"./lottie-DCzbzZRq.js";import"./lexical-Be8Y4uhz.js";import"./utils-ChuT_7Qn.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]="8f86ebab-0bc0-4c98-882e-3b46e8eb5b81",e._sentryDebugIdIdentifier="sentry-dbid-8f86ebab-0bc0-4c98-882e-3b46e8eb5b81")}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)=>{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 P=y(A,N)(T),_=S.memo(P);function K(){const e=m(),o=b(),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=w();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"),k(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(h,{to:a,state:{...c.state,origin:""}})}else return d.jsx(_,{navigate:o,location:c})}export{K as default};