@zeniai/web-cockpit-ui 2.1.45-prod → 2.1.46-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 (38) hide show
  1. package/dist/assets/{CreditAgentRoutes-2MMPpUqC.js → CreditAgentRoutes-BdAdqFqO.js} +3 -3
  2. package/dist/assets/{Preview-vz4BR5Vf.js → Preview-DqAQQA9W.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-CxLFFiPC.js → ScreenRoutes-DRwwq93R.js} +46 -46
  4. package/dist/assets/{SignInScreen-IOf3m3G3.js → SignInScreen-C_NQPOnV.js} +1 -1
  5. package/dist/assets/{analytics-3dbQgvYn.js → analytics-Wfmb454Y.js} +1 -1
  6. package/dist/assets/{analyticsHelper-CJ7gKLeB.js → analyticsHelper-Dgibh4OP.js} +1 -1
  7. package/dist/assets/{core-B6syo982.js → core-HsDfVxsc.js} +1 -1
  8. package/dist/assets/{dash.all.min-CWKsYVsx.js → dash.all.min-CmOao3oc.js} +1 -1
  9. package/dist/assets/{empty-B-MYWrz-.js → empty-Dlz-ZKZH.js} +1 -1
  10. package/dist/assets/{empty-CjDw5dHS.js → empty-LMp-MPyG.js} +1 -1
  11. package/dist/assets/{epic-xZ4DlE0e.js → epic-CbDgvWb2.js} +1 -1
  12. package/dist/assets/{index-DsbfFUPO.js → index--ML55Gsu.js} +1 -1
  13. package/dist/assets/{index-CLD4xW6W.js → index-CCbVs-zm.js} +1 -1
  14. package/dist/assets/{index-BY9zY8Yo.js → index-CRo9o1KF.js} +5003 -5003
  15. package/dist/assets/{index-DtGkogAq.js → index-CXE-L9sa.js} +1 -1
  16. package/dist/assets/{index-CR_jd6jo.js → index-D1AEdvjE.js} +1 -1
  17. package/dist/assets/{index-CHeVF9_c.js → index-DOgX_5QQ.js} +2 -2
  18. package/dist/assets/{index-CvCRKUim.js → index-LAceLRGu.js} +1 -1
  19. package/dist/assets/{lexical-BTGdC1MS.js → lexical-Ng7MkCpo.js} +1 -1
  20. package/dist/assets/{liveblocks-ubkwSHyg.js → liveblocks-_UnCsWjZ.js} +1 -1
  21. package/dist/assets/{lottie-ByCXO19Q.js → lottie-CL7rQkD4.js} +1 -1
  22. package/dist/assets/{mui-CiUW4Pod.js → mui-BBo4wqT-.js} +1 -1
  23. package/dist/assets/{react-QTWAyfLR.js → react-Ale9hbfD.js} +1 -1
  24. package/dist/assets/{react-sT7FYj5g.js → react-B37PgHPX.js} +1 -1
  25. package/dist/assets/{react-BNKna8SJ.js → react-B8rxdsyN.js} +1 -1
  26. package/dist/assets/{react-CNCOGdPF.js → react-BLD9Ivuc.js} +2 -2
  27. package/dist/assets/{react-BUKrw75b.js → react-DNKCXwL8.js} +1 -1
  28. package/dist/assets/{react-8Hq4FN5_.js → react-Dm2nxSE7.js} +1 -1
  29. package/dist/assets/{react-gRE9JlHO.js → react-UKI71K1_.js} +1 -1
  30. package/dist/assets/{react-Bdy-aKvp.js → react-_iz21tA1.js} +1 -1
  31. package/dist/assets/{recharts-CKqWbmn_.js → recharts-BKaj2tct.js} +1 -1
  32. package/dist/assets/{sentry-BI5Vb1_1.js → sentry-CfL_DBEb.js} +1 -1
  33. package/dist/assets/{url-DK7cg5fS.js → url-CQR4ArPx.js} +1 -1
  34. package/dist/assets/{url-COrEkjRv.js → url-D6inugBt.js} +1 -1
  35. package/dist/assets/{utils-DEWCwo3t.js → utils-68ZIDpqd.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-BQY690RV.js → zeni-epic-state-HcvgL5Im.js} +6 -6
  37. package/dist/index.html +1 -1
  38. package/package.json +4 -4
@@ -1 +1 @@
1
- import{j as l}from"./liveblocks-ubkwSHyg.js";import{a as f,R as S,n as I}from"./sentry-BI5Vb1_1.js";import{n as m,i as w,g as d,u as b,N as h,h as y}from"./core-B6syo982.js";import{z as g,E,d as C,b as v,q as U,X as x,c as p}from"./index-BY9zY8Yo.js";import{Ow as z,Ox as T,Oy as L,Oz as O,bn as u}from"./zeni-epic-state-BQY690RV.js";import{f as D}from"./analyticsHelper-CJ7gKLeB.js";import"./recharts-CKqWbmn_.js";import"./mui-CiUW4Pod.js";import"./analytics-3dbQgvYn.js";import"./lottie-ByCXO19Q.js";import"./lexical-BTGdC1MS.js";import"./utils-DEWCwo3t.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]="33643b82-e2eb-462b-ba3d-74439ddb02fe",e._sentryDebugIdIdentifier="sentry-dbid-33643b82-e2eb-462b-ba3d-74439ddb02fe")}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(O({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(L())}}}const k=y(A,N)(x),P=S.memo(k);function X(){const e=m(),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=b();if(f.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(g.saveSignedInUserWithSession(t,t.zeniSessionId),z(t.userId,t.zeniSessionId),e(T("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(h,{to:a,state:{...c.state,origin:""}})}else return l.jsx(P,{navigate:o,location:c})}export{X as default};
1
+ import{j as d}from"./liveblocks-_UnCsWjZ.js";import{a as f,R as S,n as I}from"./sentry-CfL_DBEb.js";import{n as m,i as w,g,u as b,N as h,h as y}from"./core-HsDfVxsc.js";import{z as l,E as C,i as E,b as v,q as U,Z as x,e as p}from"./index-CRo9o1KF.js";import{Ow as z,Ox as T,Oy as L,Oz as O,bn as u}from"./zeni-epic-state-HcvgL5Im.js";import{f as D}from"./analyticsHelper-Dgibh4OP.js";import"./recharts-BKaj2tct.js";import"./mui-BBo4wqT-.js";import"./analytics-Wfmb454Y.js";import"./lottie-CL7rQkD4.js";import"./lexical-Ng7MkCpo.js";import"./utils-68ZIDpqd.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]="4274bdba-9878-4514-b21c-ae35a1e0bfaa",e._sentryDebugIdIdentifier="sentry-dbid-4274bdba-9878-4514-b21c-ae35a1e0bfaa")}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(O({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(A,N)(x),P=S.memo(k);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=C().mode,c=b();if(f.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),z(t.userId,t.zeniSessionId),e(T("Completed")),E.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 d.jsx(h,{to:a,state:{...c.state,origin:""}})}else return d.jsx(P,{navigate:o,location:c})}export{G as default};