@zeniai/web-cockpit-ui 2.2.47-dev → 2.2.48-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 (39) hide show
  1. package/dist/assets/{CreditAgentRoutes-tR27gzWg.js → CreditAgentRoutes-BP_UXxuv.js} +2 -2
  2. package/dist/assets/{Preview-C6Zrf4qj.js → Preview-ueJiSiT1.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-DIXvaozw.js → ScreenRoutes-5ROV9Hug.js} +50 -50
  4. package/dist/assets/{SignInScreen-aeoYHh61.js → SignInScreen-8RUq6Rw7.js} +1 -1
  5. package/dist/assets/{analytics-BL9_8m2A.js → analytics-DIHH-LQL.js} +1 -1
  6. package/dist/assets/{analyticsHelper-BcAzp2ny.js → analyticsHelper-DnDuVxcV.js} +1 -1
  7. package/dist/assets/{core-Da9pmOZx.js → core-DexNPuhh.js} +1 -1
  8. package/dist/assets/{dash.all.min-DZqQ7CZE.js → dash.all.min-BECOrRg1.js} +1 -1
  9. package/dist/assets/{empty-C7AeqkeU.js → empty-1XjFlf4K.js} +1 -1
  10. package/dist/assets/{empty-BAVYhdGn.js → empty-D8UvnIAJ.js} +1 -1
  11. package/dist/assets/epic-Dj9vR645.js +2 -0
  12. package/dist/assets/{index-CFbPmJZP.js → index-B55bRwgH.js} +1 -1
  13. package/dist/assets/{index-I5Ee0Y1o.js → index-BHQdWXv2.js} +1 -1
  14. package/dist/assets/{index-DCuVhBEn.js → index-Bq4Zk3MN.js} +9415 -9398
  15. package/dist/assets/{index-CiFtDuom.js → index-BxZfupJh.js} +1 -1
  16. package/dist/assets/{index-C-Pi7dYk.js → index-CHxvp-tb.js} +1 -1
  17. package/dist/assets/{index-CnY4gjR5.js → index-DzQaPtUf.js} +1 -1
  18. package/dist/assets/{index-i9eUvddk.js → index-_ZLuUjYV.js} +2 -2
  19. package/dist/assets/{lexical-NiqoO08H.js → lexical-CypjT_oa.js} +1 -1
  20. package/dist/assets/{liveblocks-BJ_lV1e4.js → liveblocks-N2M5OViJ.js} +1 -1
  21. package/dist/assets/{lottie-bB5WcnIF.js → lottie-sNg0vj4-.js} +1 -1
  22. package/dist/assets/{mui-C6HuK6C_.js → mui-CU4B29DP.js} +1 -1
  23. package/dist/assets/{react-a5ApXt6l.js → react-0bujf3iJ.js} +2 -2
  24. package/dist/assets/{react-C8W6M5c7.js → react-B62sI5QO.js} +1 -1
  25. package/dist/assets/{react-C73ufqmp.js → react-BEouybS-.js} +1 -1
  26. package/dist/assets/{react-BoDnXLZc.js → react-D2lzuQFo.js} +1 -1
  27. package/dist/assets/{react-Ndz0t6Yy.js → react-Ds4Vu_OC.js} +1 -1
  28. package/dist/assets/{react-BbSvuBpu.js → react-Dveiose3.js} +1 -1
  29. package/dist/assets/{react-DY7L_gQ8.js → react-RR9x3g0F.js} +1 -1
  30. package/dist/assets/{react-C4XdKCfF.js → react-gljrfsMB.js} +1 -1
  31. package/dist/assets/{recharts-CqdBpZ7x.js → recharts-D-mvBQBw.js} +1 -1
  32. package/dist/assets/{sentry-B8S0muDJ.js → sentry-DBUSSf4s.js} +1 -1
  33. package/dist/assets/{url-Cqfn3IBg.js → url-Bi1Antw3.js} +1 -1
  34. package/dist/assets/{url-YFPK-4bb.js → url-CvJnATQn.js} +1 -1
  35. package/dist/assets/{utils-DNmapDkl.js → utils-HQognvn5.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-q0fPItjR.js → zeni-epic-state-MZ3MDDGL.js} +6 -6
  37. package/dist/index.html +1 -1
  38. package/package.json +3 -3
  39. package/dist/assets/epic-D15lDrzg.js +0 -2
@@ -1 +1 @@
1
- import{j as d}from"./liveblocks-BJ_lV1e4.js";import{a as S,R as f,n as m}from"./sentry-B8S0muDJ.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-Da9pmOZx.js";import{a as l,E,G as C,d as v,x as U,Y as x,i as p}from"./index-DCuVhBEn.js";import{S3 as T,S4 as L,S5 as D,S6 as z,bm as u}from"./zeni-epic-state-q0fPItjR.js";import{f as A}from"./analyticsHelper-BcAzp2ny.js";import"./recharts-CqdBpZ7x.js";import"./mui-C6HuK6C_.js";import"./analytics-BL9_8m2A.js";import"./lottie-bB5WcnIF.js";import"./lexical-NiqoO08H.js";import"./utils-DNmapDkl.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]="732cd49e-83a4-42b3-95bb-354c3f548140",e._sentryDebugIdIdentifier="sentry-dbid-732cd49e-83a4-42b3-95bb-354c3f548140")}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(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(D())}}}const P=y(N,k)(x),_=f.memo(P);function Y(){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=E().mode,c=h();if(S.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),T(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 d.jsx(b,{to:a,state:{...c.state,origin:""}})}else return d.jsx(_,{navigate:o,location:c})}export{Y as default};
1
+ import{j as d}from"./liveblocks-N2M5OViJ.js";import{a as S,R as f,n as m}from"./sentry-DBUSSf4s.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-DexNPuhh.js";import{a as l,E,G as C,d as v,x as U,V as x,f as p}from"./index-Bq4Zk3MN.js";import{S2 as T,S3 as L,S4 as D,S5 as z,bm as u}from"./zeni-epic-state-MZ3MDDGL.js";import{f as A}from"./analyticsHelper-DnDuVxcV.js";import"./recharts-D-mvBQBw.js";import"./mui-CU4B29DP.js";import"./analytics-DIHH-LQL.js";import"./lottie-sNg0vj4-.js";import"./lexical-CypjT_oa.js";import"./utils-HQognvn5.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]="3053b989-9c66-4ec4-8009-121b945e9dfe",e._sentryDebugIdIdentifier="sentry-dbid-3053b989-9c66-4ec4-8009-121b945e9dfe")}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:a}=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!=="/"?a(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(D())}}}const P=y(N,k)(x),_=f.memo(P);function W(){const e=I(),o=w(),i=l.getSignedInUser(),a=g(r=>r.tenantState.fetchState),n=g(r=>r.tenantState.signInState),t=g(r=>r.tenantState.loggedInUser),s=E().mode,c=h();if(S.useEffect(()=>{n==="In-Progress"&&a==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),T(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"&&a==="Completed"&&t?.zeniSessionId!=null||i!=null){const r=c.state?.origin??"/";return d.jsx(b,{to:r,state:{...c.state,origin:""}})}else return d.jsx(_,{navigate:o,location:c})}export{W as default};