@zeniai/web-cockpit-ui 2.1.46-dev → 2.1.47-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-BdAdqFqO.js → CreditAgentRoutes-DypBwhqy.js} +3 -3
  2. package/dist/assets/{Preview-DqAQQA9W.js → Preview-xCLow4xe.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-DRwwq93R.js → ScreenRoutes-BDou9Okf.js} +46 -46
  4. package/dist/assets/{SignInScreen-C_NQPOnV.js → SignInScreen-X85J0Lut.js} +1 -1
  5. package/dist/assets/{analytics-Wfmb454Y.js → analytics-BXWgMhZ3.js} +1 -1
  6. package/dist/assets/{analyticsHelper-Dgibh4OP.js → analyticsHelper-DTfiVj38.js} +1 -1
  7. package/dist/assets/{core-HsDfVxsc.js → core-DcEzAUrC.js} +1 -1
  8. package/dist/assets/{dash.all.min-CmOao3oc.js → dash.all.min-QHfkKbpM.js} +1 -1
  9. package/dist/assets/{empty-LMp-MPyG.js → empty-CA0PnY76.js} +1 -1
  10. package/dist/assets/{empty-Dlz-ZKZH.js → empty-yqASm42h.js} +1 -1
  11. package/dist/assets/{epic-CbDgvWb2.js → epic-CBusCCvS.js} +1 -1
  12. package/dist/assets/{index-CXE-L9sa.js → index-7cXKtvfh.js} +1 -1
  13. package/dist/assets/{index-CCbVs-zm.js → index-9A4VHoGw.js} +1 -1
  14. package/dist/assets/{index-LAceLRGu.js → index-B9QcxhO5.js} +1 -1
  15. package/dist/assets/{index-D1AEdvjE.js → index-BKtntVgw.js} +1 -1
  16. package/dist/assets/{index--ML55Gsu.js → index-CDE4mPe2.js} +1 -1
  17. package/dist/assets/{index-DOgX_5QQ.js → index-DIaXtPrO.js} +2 -2
  18. package/dist/assets/{index-CRo9o1KF.js → index-LCJeU3ni.js} +5003 -5003
  19. package/dist/assets/{lexical-Ng7MkCpo.js → lexical-Cbf79XRu.js} +1 -1
  20. package/dist/assets/{liveblocks-_UnCsWjZ.js → liveblocks-B2tAr9u6.js} +1 -1
  21. package/dist/assets/{lottie-CL7rQkD4.js → lottie-DBTjkesz.js} +1 -1
  22. package/dist/assets/{mui-BBo4wqT-.js → mui-BxFIsAc6.js} +1 -1
  23. package/dist/assets/{react-Dm2nxSE7.js → react-9dCFqSBF.js} +1 -1
  24. package/dist/assets/{react-Ale9hbfD.js → react-BPAUjPce.js} +1 -1
  25. package/dist/assets/{react-UKI71K1_.js → react-C3yTxWqp.js} +1 -1
  26. package/dist/assets/{react-DNKCXwL8.js → react-DQvW3OID.js} +1 -1
  27. package/dist/assets/{react-B37PgHPX.js → react-Dj1yEx47.js} +1 -1
  28. package/dist/assets/{react-B8rxdsyN.js → react-DsL0sYam.js} +1 -1
  29. package/dist/assets/{react-BLD9Ivuc.js → react-JYABc4Es.js} +2 -2
  30. package/dist/assets/{react-_iz21tA1.js → react-UnlxeVch.js} +1 -1
  31. package/dist/assets/{recharts-BKaj2tct.js → recharts-CMPAbXLc.js} +1 -1
  32. package/dist/assets/{sentry-CfL_DBEb.js → sentry-BwTSxYOc.js} +1 -1
  33. package/dist/assets/{url-CQR4ArPx.js → url-BCR0qiAb.js} +1 -1
  34. package/dist/assets/{url-D6inugBt.js → url-BhorUwE2.js} +1 -1
  35. package/dist/assets/{utils-68ZIDpqd.js → utils-mTP49Byr.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-HcvgL5Im.js → zeni-epic-state-iN2Zx2de.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-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};
1
+ import{j as l}from"./liveblocks-B2tAr9u6.js";import{a as f,R as S,n as I}from"./sentry-BwTSxYOc.js";import{n as m,i as w,g as d,u as b,N as h,h as y}from"./core-DcEzAUrC.js";import{z as g,E,d as C,b as v,q as U,X as x,c as p}from"./index-LCJeU3ni.js";import{Ow as z,Ox as T,Oy as L,Oz as O,bn as u}from"./zeni-epic-state-iN2Zx2de.js";import{f as D}from"./analyticsHelper-DTfiVj38.js";import"./recharts-CMPAbXLc.js";import"./mui-BxFIsAc6.js";import"./analytics-BXWgMhZ3.js";import"./lottie-DBTjkesz.js";import"./lexical-Cbf79XRu.js";import"./utils-mTP49Byr.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};