@zeniai/web-cockpit-ui 2.1.80-dev → 2.1.81-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-BDHvXaAc.js → CreditAgentRoutes-DkZ0frLt.js} +3 -3
  2. package/dist/assets/{Preview-B8JBCazy.js → Preview-CedqqZ9g.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-CmygbjzE.js → ScreenRoutes-Byo0Wz5V.js} +81 -81
  4. package/dist/assets/{SignInScreen-BWMlsXgF.js → SignInScreen-Dpsax9Rb.js} +1 -1
  5. package/dist/assets/{analytics-WHEBMOqX.js → analytics-CNAUKQea.js} +1 -1
  6. package/dist/assets/{analyticsHelper-DN5zZf0u.js → analyticsHelper-B-jR6kmA.js} +1 -1
  7. package/dist/assets/{core-CGLO3WCC.js → core-DIZ17nxS.js} +1 -1
  8. package/dist/assets/{dash.all.min-DfQaa0Bm.js → dash.all.min-CqVtT8_8.js} +1 -1
  9. package/dist/assets/{empty-CZlD8NrZ.js → empty-BCqcIUAA.js} +1 -1
  10. package/dist/assets/{empty-CFWH82Pn.js → empty-DT8IpxYW.js} +1 -1
  11. package/dist/assets/epic-BQAJtMgD.js +2 -0
  12. package/dist/assets/{index-BP-9-NnM.js → index-B8tNX48M.js} +1 -1
  13. package/dist/assets/{index-D-BjzB9f.js → index-BEKm66dd.js} +1 -1
  14. package/dist/assets/{index-DHtsU7Qf.js → index-BKZLelIs.js} +1 -1
  15. package/dist/assets/{index-Cn3vcJPF.js → index-CO5KSDON.js} +27291 -27291
  16. package/dist/assets/{index-BPEEhZB1.js → index-CvnEA6cn.js} +2 -2
  17. package/dist/assets/{index-DVY1MQNi.js → index-DZ0kjgvg.js} +1 -1
  18. package/dist/assets/{index-DrdKxvq6.js → index-DdpAaJ8X.js} +1 -1
  19. package/dist/assets/{lexical-CHptH6VV.js → lexical-CIN4Sr1X.js} +1 -1
  20. package/dist/assets/{liveblocks-D1fglIsw.js → liveblocks-BpHCtJRE.js} +1 -1
  21. package/dist/assets/{lottie-VF3m7FbZ.js → lottie-Y66BvyUX.js} +1 -1
  22. package/dist/assets/{mui-8h2QhOXq.js → mui-C065oo4G.js} +1 -1
  23. package/dist/assets/{react-CscU1RUX.js → react-BX6D9C5O.js} +1 -1
  24. package/dist/assets/{react-D6EB7UvQ.js → react-Bi_cCdT3.js} +1 -1
  25. package/dist/assets/{react-DRLTLf0e.js → react-C_RrNPCN.js} +1 -1
  26. package/dist/assets/{react-oTO2fzQU.js → react-CqYDozvf.js} +2 -2
  27. package/dist/assets/{react-Jdb0zd7B.js → react-DcHo4oQ5.js} +1 -1
  28. package/dist/assets/{react-BNPsKK9M.js → react-Dp6oEDSX.js} +1 -1
  29. package/dist/assets/{react-BQnzWlvb.js → react-DyP5SAQv.js} +1 -1
  30. package/dist/assets/{react-C1hyWHwu.js → react-O_Oo_B6n.js} +1 -1
  31. package/dist/assets/{recharts-BS-ei1J0.js → recharts-Bkvo4bs5.js} +1 -1
  32. package/dist/assets/{sentry-WLrjeLjD.js → sentry-DXEbqRhS.js} +1 -1
  33. package/dist/assets/{url-C3bvpejg.js → url-DBHUXZnc.js} +1 -1
  34. package/dist/assets/{url-CmIDKuBv.js → url-DE7IA0mO.js} +1 -1
  35. package/dist/assets/{utils-DrMWWZN-.js → utils-0uatV9On.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-gTqhOwWK.js → zeni-epic-state-CxvRvVuX.js} +8 -8
  37. package/dist/index.html +1 -1
  38. package/package.json +6 -5
  39. package/dist/assets/epic-CLnxGGIZ.js +0 -2
@@ -1 +1 @@
1
- import{j as d}from"./liveblocks-D1fglIsw.js";import{a as f,R as S,n as m}from"./sentry-WLrjeLjD.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-CGLO3WCC.js";import{z as l,E,F as C,b as v,q as U,S as P,e as p}from"./index-Cn3vcJPF.js";import{Pl as T,Pm as x,Pn as z,Po as L,bm as u}from"./zeni-epic-state-gTqhOwWK.js";import{f as D}from"./analyticsHelper-DN5zZf0u.js";import"./recharts-BS-ei1J0.js";import"./mui-8h2QhOXq.js";import"./analytics-WHEBMOqX.js";import"./lottie-VF3m7FbZ.js";import"./lexical-CHptH6VV.js";import"./utils-DrMWWZN-.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]="e352b768-872f-43b1-8429-178f91ce578c",e._sentryDebugIdIdentifier="sentry-dbid-e352b768-872f-43b1-8429-178f91ce578c")}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: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(L({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(z())}}}const k=y(A,N)(P),_=S.memo(k);function G(){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(f.useEffect(()=>{n==="In-Progress"&&a==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),T(t.userId,t.zeniSessionId),e(x("Completed")),C.updateAppLocaleID("en"),D(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{G as default};
1
+ import{j as d}from"./liveblocks-BpHCtJRE.js";import{a as f,R as S,n as m}from"./sentry-DXEbqRhS.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-DIZ17nxS.js";import{z as l,E,F as v,b as C,p as U,S as x,e as p}from"./index-CO5KSDON.js";import{Pv as P,Pw as T,Px as z,Py as L,bm as u}from"./zeni-epic-state-CxvRvVuX.js";import{f as D}from"./analyticsHelper-B-jR6kmA.js";import"./recharts-Bkvo4bs5.js";import"./mui-C065oo4G.js";import"./analytics-CNAUKQea.js";import"./lottie-Y66BvyUX.js";import"./lexical-CIN4Sr1X.js";import"./utils-0uatV9On.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]="1dc2e5c7-fca2-4037-9c82-ecf00765bb9d",e._sentryDebugIdIdentifier="sentry-dbid-1dc2e5c7-fca2-4037-9c82-ecf00765bb9d")}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: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(L({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(z())}}}const k=y(A,N)(x),_=S.memo(k);function G(){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(f.useEffect(()=>{n==="In-Progress"&&a==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),P(t.userId,t.zeniSessionId),e(T("Completed")),v.updateAppLocaleID("en"),D(t,s),setTimeout(()=>{C.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{G as default};