@zeniai/web-cockpit-ui 2.2.52-prod → 2.2.53-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/{CreditAgentRoutes-CB1lscUD.js → CreditAgentRoutes-C8ETGyv5.js} +3 -3
  2. package/dist/assets/{Preview-DVvYs7n-.js → Preview-BAjTYvkR.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-CLcWJbK8.js → ScreenRoutes-B1ETxUBq.js} +73 -73
  4. package/dist/assets/{SignInScreen-B8nwLf5y.js → SignInScreen-mkfDmRRN.js} +1 -1
  5. package/dist/assets/{analytics-DVLknj9T.js → analytics-DB8g9p74.js} +1 -1
  6. package/dist/assets/{analyticsHelper-DeyiBux5.js → analyticsHelper-BB3oe67s.js} +1 -1
  7. package/dist/assets/{core-B8cGF7cK.js → core-C1NkN2EU.js} +1 -1
  8. package/dist/assets/{dash.all.min-nkcoRbN4.js → dash.all.min-CtoK1wVS.js} +1 -1
  9. package/dist/assets/{empty-EpQDfPk5.js → empty-C9yeld_6.js} +1 -1
  10. package/dist/assets/{empty-B90lOxQD.js → empty-CP3P9-Xz.js} +1 -1
  11. package/dist/assets/epic-D1rrMviY.js +2 -0
  12. package/dist/assets/{index-DEbqBypp.js → index-DPTRDap4.js} +1 -1
  13. package/dist/assets/{index-DfQrWeHS.js → index-DT3QXpDi.js} +2 -2
  14. package/dist/assets/{index-viNqFFUj.js → index-DUslzegZ.js} +1 -1
  15. package/dist/assets/{index-DmLdG5qY.js → index-DX5V2O3s.js} +1 -1
  16. package/dist/assets/{index-OADE2ZDE.js → index-DqhZJDwh.js} +9386 -9309
  17. package/dist/assets/{index-CgZiz2mq.js → index-qGfLlse3.js} +1 -1
  18. package/dist/assets/{index-DIFem0Co.js → index-wUswma_F.js} +1 -1
  19. package/dist/assets/{lexical-StyC7nyX.js → lexical-BNptbXMd.js} +1 -1
  20. package/dist/assets/{liveblocks-yk1fktp5.js → liveblocks-CxUwD2xI.js} +1 -1
  21. package/dist/assets/{lottie-D3MRZRsJ.js → lottie-CYHKvlOn.js} +1 -1
  22. package/dist/assets/{mui-BhtSLRYP.js → mui-DZX6345D.js} +1 -1
  23. package/dist/assets/{react-DyT7Ne14.js → react-BNsyv-GY.js} +1 -1
  24. package/dist/assets/{react-QD-dxuDr.js → react-BUh6N9JW.js} +1 -1
  25. package/dist/assets/{react-Cko-QUjP.js → react-COZszW0f.js} +1 -1
  26. package/dist/assets/{react-DI-DcO-A.js → react-CVNShjfl.js} +1 -1
  27. package/dist/assets/{react-CPNz93qS.js → react-C_JGed_p.js} +1 -1
  28. package/dist/assets/{react-BsO9hfwH.js → react-CcOe644m.js} +2 -2
  29. package/dist/assets/{react-BiX1znWZ.js → react-CftSNXpt.js} +1 -1
  30. package/dist/assets/{react-rw-dWrpf.js → react-DPuLCc2G.js} +1 -1
  31. package/dist/assets/{recharts-DHDvPZbi.js → recharts-CVf9d32H.js} +1 -1
  32. package/dist/assets/{sentry-BfsMNUJP.js → sentry-Xn4HJgtE.js} +1 -1
  33. package/dist/assets/{url-BtCImHHN.js → url-DODuhvxK.js} +1 -1
  34. package/dist/assets/{url-DaLuZBzM.js → url-lUYO5BtJ.js} +1 -1
  35. package/dist/assets/{utils-Dt_kEafu.js → utils-D9f-Hwl3.js} +1 -1
  36. package/dist/assets/zeni-epic-state-D0mt79Gq.js +14 -0
  37. package/dist/index.html +1 -1
  38. package/package.json +4 -41
  39. package/dist/assets/epic-DIJwg5y3.js +0 -2
  40. package/dist/assets/zeni-epic-state-Cxj93vbQ.js +0 -13
@@ -1 +1 @@
1
- import{j as l}from"./liveblocks-yk1fktp5.js";import{a as S,R as f,n as m}from"./sentry-BfsMNUJP.js";import{n as I,i as b,g,u as w,N as h,h as y}from"./core-B8cGF7cK.js";import{z as d,E,G as C,a as v,r as U,W as T,d as p}from"./index-OADE2ZDE.js";import{R_ as x,R$ as L,S0 as z,S1 as D,bm as u}from"./zeni-epic-state-Cxj93vbQ.js";import{f as A}from"./analyticsHelper-DeyiBux5.js";import"./recharts-DHDvPZbi.js";import"./mui-BhtSLRYP.js";import"./analytics-DVLknj9T.js";import"./lottie-D3MRZRsJ.js";import"./lexical-StyC7nyX.js";import"./utils-Dt_kEafu.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]="bbda7cc5-deb5-493c-8c78-99b5a892babc",e._sentryDebugIdIdentifier="sentry-dbid-bbda7cc5-deb5-493c-8c78-99b5a892babc")}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 _(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(D({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(z())}}}const k=y(N,_)(T),P=f.memo(k);function q(){const e=I(),o=b(),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=w();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"),A(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(h,{to:a,state:{...c.state,origin:""}})}else return l.jsx(P,{navigate:o,location:c})}export{q as default};
1
+ import{j as l}from"./liveblocks-CxUwD2xI.js";import{a as S,R as f,n as m}from"./sentry-Xn4HJgtE.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-C1NkN2EU.js";import{z as d,E,G as C,b as v,x as U,Z as x,f as p}from"./index-DqhZJDwh.js";import{S2 as T,S3 as L,S4 as z,S5 as D,bm as u}from"./zeni-epic-state-D0mt79Gq.js";import{f as A}from"./analyticsHelper-BB3oe67s.js";import"./recharts-CVf9d32H.js";import"./mui-DZX6345D.js";import"./analytics-DB8g9p74.js";import"./lottie-CYHKvlOn.js";import"./lexical-BNptbXMd.js";import"./utils-D9f-Hwl3.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]="9c4d08d1-564a-4961-9ae1-b8bf3d361305",e._sentryDebugIdIdentifier="sentry-dbid-9c4d08d1-564a-4961-9ae1-b8bf3d361305")}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(D({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(z())}}}const P=y(N,k)(x),_=f.memo(P);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),T(t.userId,t.zeniSessionId),e(L("Completed")),C.updateAppLocaleID("en"),A(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(_,{navigate:o,location:c})}export{W as default};