@zeniai/web-cockpit-ui 2.0.63-qa → 2.0.64-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/{CreditAgentRoutes-i3Ixxn2s.js → CreditAgentRoutes-CV19bH2A.js} +2 -2
  2. package/dist/assets/{Preview-BTUI1Uiw.js → Preview-BgASZm0B.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-BhR7Tm-U.js → ScreenRoutes-Cq-W9c-G.js} +54 -54
  4. package/dist/assets/{SignInScreen-Z61jpSb2.js → SignInScreen-C4mWMwqM.js} +1 -1
  5. package/dist/assets/{analytics-BxvmrX26.js → analytics-BVPhTJcZ.js} +1 -1
  6. package/dist/assets/{analyticsHelper-BJtK3Dx6.js → analyticsHelper-O8H4NZqb.js} +1 -1
  7. package/dist/assets/{core-DLV42a6M.js → core-CMxjfEfe.js} +1 -1
  8. package/dist/assets/{dash.all.min-BfYQ2v4i.js → dash.all.min-oo2g4L4O.js} +1 -1
  9. package/dist/assets/{empty-Bg4j2Nw1.js → empty-BhLHywO9.js} +1 -1
  10. package/dist/assets/{empty-bIsGjN9W.js → empty-Cikd7GJq.js} +1 -1
  11. package/dist/assets/{epic-D0YRoiIf.js → epic-BoYD372t.js} +1 -1
  12. package/dist/assets/{index-DE-QgwP_.js → index-AHAWlKXq.js} +2 -2
  13. package/dist/assets/{index-CmSRkexQ.js → index-BP6iNlJr.js} +1 -1
  14. package/dist/assets/{index-CmCLOFKm.js → index-CNumNByq.js} +1 -1
  15. package/dist/assets/{index-Cn74QgJJ.js → index-CUZi-S9E.js} +1 -1
  16. package/dist/assets/{index-DQdF8mlI.js → index-CYuYgYFg.js} +5616 -5549
  17. package/dist/assets/{index-xvxAUB5j.js → index-CqmtS9XZ.js} +1 -1
  18. package/dist/assets/{index-Blxt6Vgq.js → index-cNXXnHbY.js} +1 -1
  19. package/dist/assets/{lexical-B6nK-JPu.js → lexical-BdRymPDd.js} +1 -1
  20. package/dist/assets/{liveblocks-DyxuTsIt.js → liveblocks-Cuq7OgMW.js} +1 -1
  21. package/dist/assets/{lottie-BJWt08_D.js → lottie-B11pOFWs.js} +1 -1
  22. package/dist/assets/{mui-C2fNxv7X.js → mui-CEIIS0DB.js} +1 -1
  23. package/dist/assets/{react-aHbgyIUK.js → react-BOynO8tz.js} +1 -1
  24. package/dist/assets/{react-BoJJVyjh.js → react-BS9dIyUF.js} +1 -1
  25. package/dist/assets/{react-DYek0zTF.js → react-CA_U93aB.js} +1 -1
  26. package/dist/assets/{react-g1mQjh1g.js → react-D7RXdc8c.js} +1 -1
  27. package/dist/assets/{react-CYx1no-y.js → react-DIfOrSHH.js} +1 -1
  28. package/dist/assets/{react-CEMh4u3u.js → react-Dc44VyJ1.js} +2 -2
  29. package/dist/assets/{react-DdtOY6eh.js → react-NyPgOIla.js} +1 -1
  30. package/dist/assets/{react-De3FX93v.js → react-be8tEwyn.js} +1 -1
  31. package/dist/assets/{recharts-Bt0D1hwQ.js → recharts-DOlYvUmq.js} +1 -1
  32. package/dist/assets/{sentry-CsvM6N1o.js → sentry-DqW0hlCe.js} +1 -1
  33. package/dist/assets/{url-CXXt-sAc.js → url-D0MzlJ6P.js} +1 -1
  34. package/dist/assets/{url-DWFoSVZO.js → url-maZQXkcG.js} +1 -1
  35. package/dist/assets/{utils-7PjI94Nv.js → utils-Ds_O3pgj.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-BiolUNwL.js → zeni-epic-state-CoOL-Zru.js} +3 -3
  37. package/dist/index.html +1 -1
  38. package/package.json +4 -4
@@ -1 +1 @@
1
- import{j as d}from"./liveblocks-DyxuTsIt.js";import{a as u,b as S,n as I}from"./sentry-CsvM6N1o.js";import{n as m,i as w,g,u as h,N as b,h as y}from"./core-DLV42a6M.js";import{z as l,m as v,D as C,b as E,n as U,_ as T,c as f}from"./index-DQdF8mlI.js";import{Is as x,It as D,Iu as L,Iv as z,bk as p}from"./zeni-epic-state-BiolUNwL.js";import{f as k}from"./analyticsHelper-BJtK3Dx6.js";import"./recharts-Bt0D1hwQ.js";import"./mui-C2fNxv7X.js";import"./analytics-BxvmrX26.js";import"./lottie-BJWt08_D.js";import"./lexical-B6nK-JPu.js";import"./utils-7PjI94Nv.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]="369f2c1f-3321-488f-ab08-13ebbfc8a208",e._sentryDebugIdIdentifier="sentry-dbid-369f2c1f-3321-488f-ab08-13ebbfc8a208")}catch{}})();function A(e){const o=e.tenantState.fetchState,i=e.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:f.googleClientId,microsoftClientId:f.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:p(s),sourceUri:p(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 _=y(A,N)(T),P=S.memo(_);function G(){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=v().mode,c=h();if(u.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),x(t.userId,t.zeniSessionId),e(D("Completed")),C.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(b,{to:a,state:{...c.state,origin:""}})}else return d.jsx(P,{navigate:o,location:c})}export{G as default};
1
+ import{j as d}from"./liveblocks-Cuq7OgMW.js";import{a as u,b as S,n as I}from"./sentry-DqW0hlCe.js";import{n as m,i as w,g,u as b,N as h,h as y}from"./core-CMxjfEfe.js";import{z as l,m as v,D as C,b as E,n as U,W as T,c as p}from"./index-CYuYgYFg.js";import{Is as x,It as D,Iu as L,Iv as z,bk as f}from"./zeni-epic-state-CoOL-Zru.js";import{f as k}from"./analyticsHelper-O8H4NZqb.js";import"./recharts-DOlYvUmq.js";import"./mui-CEIIS0DB.js";import"./analytics-BVPhTJcZ.js";import"./lottie-B11pOFWs.js";import"./lexical-BdRymPDd.js";import"./utils-Ds_O3pgj.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]="a4c00e3b-6d05-46b8-b24b-a2f7ff6c63d6",e._sentryDebugIdIdentifier="sentry-dbid-a4c00e3b-6d05-46b8-b24b-a2f7ff6c63d6")}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: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(L())}}}const P=y(A,N)(T),_=S.memo(P);function G(){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=v().mode,c=b();if(u.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),x(t.userId,t.zeniSessionId),e(D("Completed")),C.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{G as default};