@zeniai/web-cockpit-ui 2.2.50-qa → 2.2.51-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 (41) hide show
  1. package/dist/assets/{CreditAgentRoutes-Dmo-8t-Q.js → CreditAgentRoutes-C-xYt5E2.js} +3 -3
  2. package/dist/assets/{Preview-Dvnxjnbe.js → Preview-CJdpXjqX.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-C3J_T4o3.js → ScreenRoutes-BazUMhrE.js} +70 -70
  4. package/dist/assets/{SignInScreen-_ALjGOzK.js → SignInScreen-BjoZYmbO.js} +1 -1
  5. package/dist/assets/{analytics-CFD34pOY.js → analytics-ctJXmkvw.js} +1 -1
  6. package/dist/assets/analyticsHelper-D9M5Zcjp.js +1 -0
  7. package/dist/assets/{core-Bg9enAN0.js → core-BCgnsMH7.js} +1 -1
  8. package/dist/assets/{dash.all.min-DYpdzZ_B.js → dash.all.min-exygind6.js} +1 -1
  9. package/dist/assets/{empty-Cs8XL3Pn.js → empty-CaRBJEwL.js} +1 -1
  10. package/dist/assets/{empty-DTRz_cuI.js → empty-ds0Fe9RR.js} +1 -1
  11. package/dist/assets/epic-CSHIo21y.js +2 -0
  12. package/dist/assets/{index-DzfPgteM.js → index-B-Am3qm6.js} +1 -1
  13. package/dist/assets/{index-DW01-lPj.js → index-B88Q2pRm.js} +9569 -9475
  14. package/dist/assets/{index-6vth-pb4.js → index-B_tyfSO4.js} +1 -1
  15. package/dist/assets/{index-D4J8kz89.js → index-CFMT8GQx.js} +2 -2
  16. package/dist/assets/{index-zJQMX0zK.js → index-CfcSN8OH.js} +1 -1
  17. package/dist/assets/{index-CpwoKjIL.js → index-Dl9XdT_V.js} +1 -1
  18. package/dist/assets/{index-DeRx9Rib.js → index-SIyxfXvy.js} +1 -1
  19. package/dist/assets/{lexical-BIoAcRwT.js → lexical-DUmphpSF.js} +1 -1
  20. package/dist/assets/{liveblocks-CC9hKEBI.js → liveblocks-CBXVKwHX.js} +1 -1
  21. package/dist/assets/{lottie-X_mNr-3R.js → lottie-DOshSqxu.js} +1 -1
  22. package/dist/assets/{mui-C8uQr-6e.js → mui-BaUx3JyA.js} +1 -1
  23. package/dist/assets/{react-DWQvq_CD.js → react-BwNfy_DK.js} +1 -1
  24. package/dist/assets/{react-BETEoHzr.js → react-C09RWrWl.js} +1 -1
  25. package/dist/assets/{react-MHHFKDuJ.js → react-CJdI51iL.js} +1 -1
  26. package/dist/assets/{react-j-Q7Qv3o.js → react-CWbB20R_.js} +1 -1
  27. package/dist/assets/{react-Cr-euK44.js → react-Cg-RQQVf.js} +2 -2
  28. package/dist/assets/{react-DIvyXIQ2.js → react-DI8WS9zM.js} +1 -1
  29. package/dist/assets/{react-jjjtLacN.js → react-DrkyKLly.js} +1 -1
  30. package/dist/assets/{react-CSYFySEZ.js → react-o0JazEja.js} +1 -1
  31. package/dist/assets/{recharts-XNvSSJZf.js → recharts-D-OWlkt2.js} +1 -1
  32. package/dist/assets/{sentry-4GJSx6j5.js → sentry-CXZepgpF.js} +1 -1
  33. package/dist/assets/{url-B6FbeuTb.js → url-BnW_WmFY.js} +1 -1
  34. package/dist/assets/{url-B3wXWXq9.js → url-DeByVjOE.js} +1 -1
  35. package/dist/assets/{utils-V6doeDyj.js → utils-CYjfnf3r.js} +1 -1
  36. package/dist/assets/zeni-epic-state-ZIgcQT2P.js +14 -0
  37. package/dist/index.html +1 -1
  38. package/package.json +4 -4
  39. package/dist/assets/analyticsHelper-Dceyst0w.js +0 -1
  40. package/dist/assets/epic-CsmmF2o6.js +0 -2
  41. package/dist/assets/zeni-epic-state-DabQwpNL.js +0 -13
@@ -1 +1 @@
1
- import{j as l}from"./liveblocks-CC9hKEBI.js";import{a as S,R as f,n as m}from"./sentry-4GJSx6j5.js";import{n as I,i as w,g as d,u as h,N as b,h as y}from"./core-Bg9enAN0.js";import{z as g,E,G as C,a as v,q as U,W as T,d as p}from"./index-DW01-lPj.js";import{R_ as x,R$ as L,S0 as z,S1 as D,bm as u}from"./zeni-epic-state-DabQwpNL.js";import{f as A}from"./analyticsHelper-Dceyst0w.js";import"./recharts-XNvSSJZf.js";import"./mui-C8uQr-6e.js";import"./analytics-CFD34pOY.js";import"./lottie-X_mNr-3R.js";import"./lexical-BIoAcRwT.js";import"./utils-V6doeDyj.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]="a037e603-bfdd-4519-b8a9-61cccce61cd6",e._sentryDebugIdIdentifier="sentry-dbid-a037e603-bfdd-4519-b8a9-61cccce61cd6")}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:()=>g.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 K(){const e=I(),o=w(),i=g.getSignedInUser(),r=d(a=>a.tenantState.fetchState),n=d(a=>a.tenantState.signInState),t=d(a=>a.tenantState.loggedInUser),s=E().mode,c=h();if(S.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(g.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(b,{to:a,state:{...c.state,origin:""}})}else return l.jsx(P,{navigate:o,location:c})}export{K as default};
1
+ import{j as l}from"./liveblocks-CBXVKwHX.js";import{a as u,R as S,n as m}from"./sentry-CXZepgpF.js";import{n as I,i as w,g as d,u as h,N as b,h as y}from"./core-BCgnsMH7.js";import{z as g,E,G as C,d as v,A as U,Z as T,i as p}from"./index-B88Q2pRm.js";import{S2 as x,S3 as L,S4 as z,S5 as A,bm as f}from"./zeni-epic-state-ZIgcQT2P.js";import{f as D}from"./analyticsHelper-D9M5Zcjp.js";import"./recharts-D-OWlkt2.js";import"./mui-BaUx3JyA.js";import"./analytics-ctJXmkvw.js";import"./lottie-DOshSqxu.js";import"./lexical-DUmphpSF.js";import"./utils-CYjfnf3r.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]="b5ac8aa0-c910-4644-b17d-e1df4df4b50f",e._sentryDebugIdIdentifier="sentry-dbid-b5ac8aa0-c910-4644-b17d-e1df4df4b50f")}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(A({authCode:n,oauthProvider:t,appType:"web",redirectUri:f(s),sourceUri:f(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>g.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)(T),_=S.memo(P);function W(){const e=I(),o=w(),i=g.getSignedInUser(),r=d(a=>a.tenantState.fetchState),n=d(a=>a.tenantState.signInState),t=d(a=>a.tenantState.loggedInUser),s=E().mode,c=h();if(u.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(g.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(_,{navigate:o,location:c})}export{W as default};