@zeniai/web-cockpit-ui 2.0.77-qa → 2.0.78-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-CiYQGyNP.js → CreditAgentRoutes-DyvCB1LD.js} +1 -1
  2. package/dist/assets/{Preview-CfqCnVu1.js → Preview-BZtBkeeC.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-MrsZ6QYr.js → ScreenRoutes-DsnchZw5.js} +47 -47
  4. package/dist/assets/{SignInScreen-CA5j5zcA.js → SignInScreen-DrhZgG_C.js} +1 -1
  5. package/dist/assets/{analytics-Bp0u-Z9Z.js → analytics-Cpch2YKC.js} +1 -1
  6. package/dist/assets/{analyticsHelper-RwnREXQu.js → analyticsHelper-CSamN5xV.js} +1 -1
  7. package/dist/assets/{core-BXRxy5CW.js → core-tg6rHmr2.js} +1 -1
  8. package/dist/assets/{dash.all.min-ChEd0TEy.js → dash.all.min-CFTEipTq.js} +1 -1
  9. package/dist/assets/{empty-tKG3jG4H.js → empty-BxfN_d36.js} +1 -1
  10. package/dist/assets/{empty-ZEp54-tI.js → empty-CMIFdepc.js} +1 -1
  11. package/dist/assets/{epic-BlyK3Gf2.js → epic-S6ocjKl5.js} +2 -2
  12. package/dist/assets/{index-DoF55c4x.js → index-BYz3lLz4.js} +1 -1
  13. package/dist/assets/{index-DadFQlSb.js → index-Bmk56FzG.js} +1 -1
  14. package/dist/assets/{index-9GfTwwCR.js → index-C54_W-Jj.js} +1 -1
  15. package/dist/assets/{index-C4OYSX1O.js → index-CDK8srlD.js} +1 -1
  16. package/dist/assets/{index-CI9n4qsW.js → index-CEQyTlAC.js} +2 -2
  17. package/dist/assets/{index-BhsAMxt7.js → index-CVesgYEY.js} +1902 -1928
  18. package/dist/assets/{index-CIKCkfXf.js → index-DijHlkXq.js} +1 -1
  19. package/dist/assets/{lexical-BYIWo7q5.js → lexical-CI-o8slp.js} +1 -1
  20. package/dist/assets/{liveblocks-DkRgezdl.js → liveblocks-E3bid8dv.js} +1 -1
  21. package/dist/assets/{lottie-DgBvLK8l.js → lottie-DcoyPbCB.js} +1 -1
  22. package/dist/assets/{mui-CDTUsgOF.js → mui-0KSrDwSx.js} +1 -1
  23. package/dist/assets/{react-Ch4Au2Ly.js → react-8Hy0oWOf.js} +1 -1
  24. package/dist/assets/{react-Dn7I3-TJ.js → react-B54OUgNV.js} +1 -1
  25. package/dist/assets/{react-CvWZHm6Y.js → react-B7jhWuQh.js} +2 -2
  26. package/dist/assets/{react-CS57hhK_.js → react-Bh7KYxL8.js} +1 -1
  27. package/dist/assets/{react-Cs0Z_Gtd.js → react-BpAHsTgu.js} +1 -1
  28. package/dist/assets/{react-F1Wwvq7N.js → react-CEAQDKco.js} +1 -1
  29. package/dist/assets/{react-B2VsO37e.js → react-CXAAATZb.js} +1 -1
  30. package/dist/assets/{react-DSVuvptJ.js → react-DkYS2uhQ.js} +1 -1
  31. package/dist/assets/{recharts-DxQ_NIji.js → recharts-RcBCmdMM.js} +1 -1
  32. package/dist/assets/{sentry-Bmi-fqi0.js → sentry-BDGVsMze.js} +1 -1
  33. package/dist/assets/{url-79YENfZI.js → url-BGJoONZ4.js} +1 -1
  34. package/dist/assets/{url-CBDkWdcw.js → url-CHGxKTMS.js} +1 -1
  35. package/dist/assets/{utils-XbVQzMJJ.js → utils-CQJ0rAN-.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-C1j8ZCME.js → zeni-epic-state-BE3ZUV8x.js} +6 -6
  37. package/dist/index.html +1 -1
  38. package/package.json +4 -4
@@ -1 +1 @@
1
- import{j as l}from"./liveblocks-DkRgezdl.js";import{a as f,b as S,n as I}from"./sentry-Bmi-fqi0.js";import{n as m,i as w,g,u as h,N as b,h as y}from"./core-BXRxy5CW.js";import{z as d,m as v,D as C,c as E,q as U,_ as x,e as p}from"./index-BhsAMxt7.js";import{Is as T,It as D,Iu as L,Iv as z,bk as u}from"./zeni-epic-state-C1j8ZCME.js";import{f as k}from"./analyticsHelper-RwnREXQu.js";import"./recharts-DxQ_NIji.js";import"./mui-CDTUsgOF.js";import"./analytics-Bp0u-Z9Z.js";import"./lottie-DgBvLK8l.js";import"./lexical-BYIWo7q5.js";import"./utils-XbVQzMJJ.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]="72633563-ad8b-48a4-975a-28cfd7d26ab5",e._sentryDebugIdIdentifier="sentry-dbid-72633563-ad8b-48a4-975a-28cfd7d26ab5")}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(z({authCode:n,oauthProvider:t,appType:"web",redirectUri:u(s),sourceUri:u(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>d.getSignedInUser(),onSignedInCallback:()=>{const n=i.state?.origin;n&&n!=="/"?r(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(L())}}}const _=y(A,N)(x),P=S.memo(_);function G(){const e=m(),o=w(),i=d.getSignedInUser(),r=g(a=>a.tenantState.fetchState),n=g(a=>a.tenantState.signInState),t=g(a=>a.tenantState.loggedInUser),s=v().mode,c=h();if(f.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(d.saveSignedInUserWithSession(t,t.zeniSessionId),T(t.userId,t.zeniSessionId),e(D("Completed")),C.updateAppLocaleID("en"),k(t,s),setTimeout(()=>{E.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(b,{to:a,state:{...c.state,origin:""}})}else return l.jsx(P,{navigate:o,location:c})}export{G as default};
1
+ import{j as d}from"./liveblocks-E3bid8dv.js";import{a as S,b as f,n as I}from"./sentry-BDGVsMze.js";import{n as m,i as w,g,u as h,N as y,h as b}from"./core-tg6rHmr2.js";import{z as l,m as v,D as C,c as E,s as U,W as T,e as p}from"./index-CVesgYEY.js";import{Is as x,It as D,Iu as L,Iv as z,bk as u}from"./zeni-epic-state-BE3ZUV8x.js";import{f as k}from"./analyticsHelper-CSamN5xV.js";import"./recharts-RcBCmdMM.js";import"./mui-0KSrDwSx.js";import"./analytics-Cpch2YKC.js";import"./lottie-DcoyPbCB.js";import"./lexical-CI-o8slp.js";import"./utils-CQJ0rAN-.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]="c7287c34-6cd4-4008-8eaa-016b9ec43625",e._sentryDebugIdIdentifier="sentry-dbid-c7287c34-6cd4-4008-8eaa-016b9ec43625")}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(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(L())}}}const P=b(A,N)(T),_=f.memo(P);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=v().mode,c=h();if(S.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),x(t.userId,t.zeniSessionId),e(D("Completed")),C.updateAppLocaleID("en"),k(t,s),setTimeout(()=>{E.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(y,{to:a,state:{...c.state,origin:""}})}else return d.jsx(_,{navigate:o,location:c})}export{G as default};