@zeniai/web-cockpit-ui 2.2.70-prod → 2.2.71-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-BohHCh68.js → CreditAgentRoutes-D6D6XcTL.js} +2 -2
  2. package/dist/assets/{Preview-MLClLOzd.js → Preview-D97EAiNN.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-CIzq-P54.js → ScreenRoutes-ClIVZTqS.js} +56 -56
  4. package/dist/assets/{SignInScreen-C4rJw6MP.js → SignInScreen-T1JIcQw6.js} +1 -1
  5. package/dist/assets/{analytics-D4IypPzk.js → analytics-DDcIxYJs.js} +1 -1
  6. package/dist/assets/{analyticsHelper-C3cqSGy8.js → analyticsHelper-DoiK2lR2.js} +1 -1
  7. package/dist/assets/{core-DrmWXxCM.js → core-CKvGNAdH.js} +1 -1
  8. package/dist/assets/{dash.all.min-ChayCXpj.js → dash.all.min-Bh2v7Vdx.js} +1 -1
  9. package/dist/assets/{empty-DYq7FouK.js → empty-BytnwBmW.js} +1 -1
  10. package/dist/assets/{empty-DHCS-zxN.js → empty-D5Hvl-um.js} +1 -1
  11. package/dist/assets/{epic-BjtrItSL.js → epic-CzMmh14P.js} +1 -1
  12. package/dist/assets/{index-B5dqHzh0.js → index-1i6J2M1u.js} +1 -1
  13. package/dist/assets/{index-5X9Q-2EF.js → index-BLj6cD5F.js} +1 -1
  14. package/dist/assets/{index-CisbLHkw.js → index-Bju0idVF.js} +2 -2
  15. package/dist/assets/{index-sAagmTON.js → index-Bu6pghmM.js} +883 -885
  16. package/dist/assets/{index-CpbGinyM.js → index-CXKqsVjd.js} +1 -1
  17. package/dist/assets/{index-B_ucXtmC.js → index-ClCrJO4o.js} +1 -1
  18. package/dist/assets/{index-TkrBT8sP.js → index-D55ldP5p.js} +1 -1
  19. package/dist/assets/{lexical-eWq63ZIl.js → lexical-CE3LWNxv.js} +1 -1
  20. package/dist/assets/{liveblocks-CHK2KD-W.js → liveblocks-D6Poccmr.js} +1 -1
  21. package/dist/assets/{lottie-PynM-Iva.js → lottie-DpBhTgA6.js} +1 -1
  22. package/dist/assets/{mui-DQKdTaoP.js → mui-sPT3YOnf.js} +1 -1
  23. package/dist/assets/{react-WdcAVeNq.js → react-B5YbQ4vi.js} +1 -1
  24. package/dist/assets/{react-DFeKKNzQ.js → react-BJq5IcS7.js} +1 -1
  25. package/dist/assets/{react-BQx5ywFj.js → react-Bk-Sir01.js} +1 -1
  26. package/dist/assets/{react-CuOdbyq6.js → react-CL4nAmyt.js} +2 -2
  27. package/dist/assets/{react-5GJ2XK3G.js → react-CQVJJ_hj.js} +1 -1
  28. package/dist/assets/{react-BsXsyxzk.js → react-CieA7pln.js} +1 -1
  29. package/dist/assets/{react-C2My4GFI.js → react-DKmBWuBx.js} +1 -1
  30. package/dist/assets/{react-D-QcY06Z.js → react-DbC9rIWK.js} +1 -1
  31. package/dist/assets/{recharts-CSJ2wxG4.js → recharts-8euwZSJL.js} +1 -1
  32. package/dist/assets/{sentry-CtDIobvI.js → sentry-TXMigp3C.js} +1 -1
  33. package/dist/assets/{url-CHp514XT.js → url-BFvhMLt_.js} +1 -1
  34. package/dist/assets/{url-Cs66Q9Fu.js → url-DjP-xrMo.js} +1 -1
  35. package/dist/assets/{utils-BOwQ8EMt.js → utils-Ckpk76KD.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-DI44viOC.js → zeni-epic-state-CZvlrGUJ.js} +3 -3
  37. package/dist/index.html +1 -1
  38. package/package.json +2 -2
@@ -1 +1 @@
1
- import{j as d}from"./liveblocks-CHK2KD-W.js";import{a as S,R as f,n as m}from"./sentry-CtDIobvI.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-DrmWXxCM.js";import{z as l,e as C,a as v,q as E,N as T,d as p}from"./index-sAagmTON.js";import{Sl as U,Sm as L,Sn as x,So as z,bm as u}from"./zeni-epic-state-DI44viOC.js";import{f as D}from"./analyticsHelper-C3cqSGy8.js";import{u as N}from"./mui-DQKdTaoP.js";import"./recharts-CSJ2wxG4.js";import"./analytics-D4IypPzk.js";import"./lottie-PynM-Iva.js";import"./lexical-eWq63ZIl.js";import"./utils-BOwQ8EMt.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]="84ccb6b1-6c6e-4638-aae6-98e6711f16c0",e._sentryDebugIdIdentifier="sentry-dbid-84ccb6b1-6c6e-4638-aae6-98e6711f16c0")}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 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(z({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(x())}}}const P=y(A,k)(T),_=f.memo(P);function W(){const e=I(),o=w(),i=l.getSignedInUser(),r=g(a=>a.tenantState.fetchState),n=g(a=>a.tenantState.signInState),t=g(a=>a.tenantState.loggedInUser),s=N().mode,c=h();if(S.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),U(t.userId,t.zeniSessionId),e(L("Completed")),C.updateAppLocaleID("en"),D(t,s),setTimeout(()=>{v.trackLogin(E.Event.loginSuccess,t.authProvider??"google")},2e3))},[]),n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null||i!=null){const a=c.state?.origin??"/";return d.jsx(b,{to:a,state:{...c.state,origin:""}})}else return d.jsx(_,{navigate:o,location:c})}export{W as default};
1
+ import{j as d}from"./liveblocks-D6Poccmr.js";import{a as u,R as S,n as m}from"./sentry-TXMigp3C.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-CKvGNAdH.js";import{z as l,f as C,a as v,s as E,P as T,e as f}from"./index-Bu6pghmM.js";import{Sl as U,Sm as x,Sn as L,So as z,bm as p}from"./zeni-epic-state-CZvlrGUJ.js";import{f as D}from"./analyticsHelper-DoiK2lR2.js";import{u as P}from"./mui-sPT3YOnf.js";import"./recharts-8euwZSJL.js";import"./analytics-DDcIxYJs.js";import"./lottie-DpBhTgA6.js";import"./lexical-CE3LWNxv.js";import"./utils-Ckpk76KD.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]="5ab47734-71f0-4786-bf00-c3cf8e7863bb",e._sentryDebugIdIdentifier="sentry-dbid-5ab47734-71f0-4786-bf00-c3cf8e7863bb")}catch{}})();function A(e){const o=e.tenantState.fetchState,i=e.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:f.googleClientId,microsoftClientId:f.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)=>{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(z({authCode:n,oauthProvider:t,appType:"web",redirectUri:p(s),sourceUri:p(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)(T),_=S.memo(k);function q(){const e=I(),o=w(),i=l.getSignedInUser(),r=g(a=>a.tenantState.fetchState),n=g(a=>a.tenantState.signInState),t=g(a=>a.tenantState.loggedInUser),s=P().mode,c=h();if(u.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),U(t.userId,t.zeniSessionId),e(x("Completed")),C.updateAppLocaleID("en"),D(t,s),setTimeout(()=>{v.trackLogin(E.Event.loginSuccess,t.authProvider??"google")},2e3))},[]),n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null||i!=null){const a=c.state?.origin??"/";return d.jsx(b,{to:a,state:{...c.state,origin:""}})}else return d.jsx(_,{navigate:o,location:c})}export{q as default};