@zeniai/web-cockpit-ui 2.2.31-dev → 2.2.32-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 (41) hide show
  1. package/dist/assets/CreditAgentRoutes-BaVOYplK.js +4 -0
  2. package/dist/assets/{Preview-CQpk5h-w.js → Preview-C2mCjPyZ.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-gMf7j169.js → ScreenRoutes-DSDX-M-o.js} +48 -48
  4. package/dist/assets/SignInScreen-Du7K0VL0.js +1 -0
  5. package/dist/assets/{analytics-D53E08gE.js → analytics-D8F5kdO7.js} +1 -1
  6. package/dist/assets/{analyticsHelper-DX7vOg2_.js → analyticsHelper-BIo3luwN.js} +1 -1
  7. package/dist/assets/{core-BAqCbWkq.js → core-BLGMTMN-.js} +1 -1
  8. package/dist/assets/{dash.all.min-BSIYYvN6.js → dash.all.min-DS85SvT0.js} +1 -1
  9. package/dist/assets/{empty-DC7jAv8f.js → empty-BnLKe05w.js} +1 -1
  10. package/dist/assets/{empty-BhHD3Fnj.js → empty-CpX1GqQO.js} +1 -1
  11. package/dist/assets/epic-BLOTV3J3.js +2 -0
  12. package/dist/assets/{index-Obd9kaGB.js → index-D2Xh_PNd.js} +1 -1
  13. package/dist/assets/{index-BRrXk_vR.js → index-D2yn-Fky.js} +701 -694
  14. package/dist/assets/{index-CoFE9S8W.js → index-DB_FutAX.js} +1 -1
  15. package/dist/assets/{index-BQ8CQ3mm.js → index-DLwZg-dS.js} +1 -1
  16. package/dist/assets/{index-BBUEVIOT.js → index-DfqawnAH.js} +1 -1
  17. package/dist/assets/{index-DSsIv306.js → index-XNsycS_-.js} +2 -2
  18. package/dist/assets/{index-ChOIA8Ha.js → index-ZZsKgoZo.js} +1 -1
  19. package/dist/assets/{lexical-CQgKxeco.js → lexical-CCZqeORS.js} +1 -1
  20. package/dist/assets/{liveblocks-DyVnhfQ-.js → liveblocks-BbmZN1So.js} +1 -1
  21. package/dist/assets/{lottie-BzcyVtsI.js → lottie-faWnYRIg.js} +1 -1
  22. package/dist/assets/{mui-DZW9rnRe.js → mui-CpE0oevY.js} +1 -1
  23. package/dist/assets/{react-CWDrZwRW.js → react-2Zu4lvMW.js} +1 -1
  24. package/dist/assets/{react-CLIeEcjB.js → react-Bg-SsvPF.js} +2 -2
  25. package/dist/assets/{react-BN-PM9Wi.js → react-Bvk2YCaw.js} +1 -1
  26. package/dist/assets/{react-NJRV0pTG.js → react-C1Skab72.js} +1 -1
  27. package/dist/assets/{react-BDq2Vd1k.js → react-CalQV6dX.js} +1 -1
  28. package/dist/assets/{react-DaXpNx6U.js → react-DxhyFMc7.js} +1 -1
  29. package/dist/assets/{react-oqSoVU48.js → react-PTFzhp8X.js} +1 -1
  30. package/dist/assets/{react-CyGHmGma.js → react-TsrJzPGt.js} +1 -1
  31. package/dist/assets/{recharts-DtBOdxfn.js → recharts-D98Lz0Qq.js} +1 -1
  32. package/dist/assets/{sentry-BOieznVp.js → sentry-B6uZBe9x.js} +1 -1
  33. package/dist/assets/{url-B6GmG6i8.js → url-Cy086uqt.js} +1 -1
  34. package/dist/assets/{url-CR4bhOoe.js → url-DyazTy-t.js} +1 -1
  35. package/dist/assets/{utils-BQwBLtW-.js → utils-IWr6Qm-a.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-BJiWNhVz.js → zeni-epic-state-CUtuIL-4.js} +6 -6
  37. package/dist/index.html +1 -1
  38. package/package.json +3 -3
  39. package/dist/assets/CreditAgentRoutes-N7SYzTCx.js +0 -4
  40. package/dist/assets/SignInScreen-BJPFtqyA.js +0 -1
  41. package/dist/assets/epic-CDsMCUQ7.js +0 -2
@@ -0,0 +1 @@
1
+ import{j as l}from"./liveblocks-BbmZN1So.js";import{a as S,R as f,n as m}from"./sentry-B6uZBe9x.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-BLGMTMN-.js";import{z as d,E,G as C,a as v,y as U,Z as T,f as p}from"./index-D2yn-Fky.js";import{RR as x,RS as L,RT as R,RU as z,bm as u}from"./zeni-epic-state-CUtuIL-4.js";import{f as D}from"./analyticsHelper-BIo3luwN.js";import"./recharts-D98Lz0Qq.js";import"./mui-CpE0oevY.js";import"./analytics-D8F5kdO7.js";import"./lottie-faWnYRIg.js";import"./lexical-CCZqeORS.js";import"./utils-IWr6Qm-a.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]="ce342b4d-c9be-4c8d-ba09-c456837b344d",e._sentryDebugIdIdentifier="sentry-dbid-ce342b4d-c9be-4c8d-ba09-c456837b344d")}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(z({authCode:n,oauthProvider:t,appType:"web",redirectUri:u(s),sourceUri:u(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(R())}}}const k=y(A,N)(T),P=f.memo(k);function W(){const e=I(),o=w(),i=d.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(S.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(d.saveSignedInUserWithSession(t,t.zeniSessionId),x(t.userId,t.zeniSessionId),e(L("Completed")),C.updateAppLocaleID("en"),D(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 l.jsx(b,{to:a,state:{...c.state,origin:""}})}else return l.jsx(P,{navigate:o,location:c})}export{W as default};