@zeniai/web-cockpit-ui 2.1.46-qa → 2.1.47-next

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-Cj-pR6Pq.js → CreditAgentRoutes-DnlhIraX.js} +3 -3
  2. package/dist/assets/{Preview-DqAQQA9W.js → Preview-rf-FpMWS.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-BEtGfM8p.js → ScreenRoutes-LTaond3_.js} +46 -46
  4. package/dist/assets/{SignInScreen-D7V47SN0.js → SignInScreen-yr8XxCr6.js} +1 -1
  5. package/dist/assets/{analytics-Wfmb454Y.js → analytics-bOtDlzwD.js} +1 -1
  6. package/dist/assets/{analyticsHelper-D3IofBLH.js → analyticsHelper-BW5qZxKr.js} +1 -1
  7. package/dist/assets/{core-HsDfVxsc.js → core-DJ9Dgvsv.js} +1 -1
  8. package/dist/assets/{dash.all.min-CmOao3oc.js → dash.all.min-zBSBxIG_.js} +1 -1
  9. package/dist/assets/{empty-Dlz-ZKZH.js → empty-BC9D2dyC.js} +1 -1
  10. package/dist/assets/{empty-LMp-MPyG.js → empty-CBO3ETma.js} +1 -1
  11. package/dist/assets/{epic-CbDgvWb2.js → epic-CR9GMZ1p.js} +1 -1
  12. package/dist/assets/{index-CXE-L9sa.js → index-B1bmQm_W.js} +1 -1
  13. package/dist/assets/{index-D1AEdvjE.js → index-BMyWqBgw.js} +1 -1
  14. package/dist/assets/{index-B2fdFFkW.js → index-BvVwFrJf.js} +5003 -5003
  15. package/dist/assets/{index--ML55Gsu.js → index-CLwRAdSZ.js} +1 -1
  16. package/dist/assets/{index-DOgX_5QQ.js → index-C_1t514i.js} +2 -2
  17. package/dist/assets/{index-LAceLRGu.js → index-DK1GqVRZ.js} +1 -1
  18. package/dist/assets/{index-CCbVs-zm.js → index-DlXNtVwO.js} +1 -1
  19. package/dist/assets/{lexical-Ng7MkCpo.js → lexical-DiUa8hYJ.js} +1 -1
  20. package/dist/assets/{liveblocks-_UnCsWjZ.js → liveblocks-B4o5fAqf.js} +1 -1
  21. package/dist/assets/{lottie-CL7rQkD4.js → lottie-a1-R6IvM.js} +1 -1
  22. package/dist/assets/{mui-BBo4wqT-.js → mui-B0Atz2t0.js} +1 -1
  23. package/dist/assets/{react-Dm2nxSE7.js → react-BQQMXzzW.js} +1 -1
  24. package/dist/assets/{react-B8rxdsyN.js → react-BaPrcOJ-.js} +1 -1
  25. package/dist/assets/{react-DNKCXwL8.js → react-CWC3GfM-.js} +1 -1
  26. package/dist/assets/{react-UKI71K1_.js → react-CgfLotPS.js} +1 -1
  27. package/dist/assets/{react-BLD9Ivuc.js → react-CudKp0Mf.js} +2 -2
  28. package/dist/assets/{react-B37PgHPX.js → react-D23HkMiO.js} +1 -1
  29. package/dist/assets/{react-_iz21tA1.js → react-D6PYZm-S.js} +1 -1
  30. package/dist/assets/{react-Ale9hbfD.js → react-DwT2zup0.js} +1 -1
  31. package/dist/assets/{recharts-BKaj2tct.js → recharts-CCIeIOIo.js} +1 -1
  32. package/dist/assets/{sentry-CfL_DBEb.js → sentry-ZFVJf0t3.js} +1 -1
  33. package/dist/assets/{url-D6inugBt.js → url-BM8YWXoY.js} +1 -1
  34. package/dist/assets/{url-CQR4ArPx.js → url-CptqbBH9.js} +1 -1
  35. package/dist/assets/{utils-68ZIDpqd.js → utils-CBbs0Bgs.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-HcvgL5Im.js → zeni-epic-state-CRNUpT6n.js} +6 -6
  37. package/dist/index.html +1 -1
  38. package/package.json +4 -4
@@ -1 +1 @@
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-B2fdFFkW.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-D3IofBLH.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};
1
+ import{j as l}from"./liveblocks-B4o5fAqf.js";import{a as f,R as S,n as I}from"./sentry-ZFVJf0t3.js";import{n as m,i as w,g as d,u as b,N as h,h as y}from"./core-DJ9Dgvsv.js";import{z as g,E,d as C,b as v,q as U,X as x,c as p}from"./index-BvVwFrJf.js";import{Ow as z,Ox as T,Oy as L,Oz as O,bn as u}from"./zeni-epic-state-CRNUpT6n.js";import{f as D}from"./analyticsHelper-BW5qZxKr.js";import"./recharts-CCIeIOIo.js";import"./mui-B0Atz2t0.js";import"./analytics-bOtDlzwD.js";import"./lottie-a1-R6IvM.js";import"./lexical-DiUa8hYJ.js";import"./utils-CBbs0Bgs.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};