@zeniai/web-cockpit-ui 2.2.88-qa → 2.2.89-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 (40) hide show
  1. package/dist/assets/CreditAgentRoutes-D9M8VFWy.js +4 -0
  2. package/dist/assets/{Preview-nx-pq0WK.js → Preview-Yfv5DOCT.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-fHqojiMF.js → ScreenRoutes-CGRvAlRK.js} +41 -41
  4. package/dist/assets/{SignInScreen-BwsjtX7-.js → SignInScreen-FIFeWul1.js} +1 -1
  5. package/dist/assets/{analytics-DVXCj9t9.js → analytics-bXqdNTn2.js} +1 -1
  6. package/dist/assets/{analyticsHelper-DFJf_xUz.js → analyticsHelper-UPAiQhXn.js} +1 -1
  7. package/dist/assets/{core-DZ3EdXlT.js → core-Dw4XGBPB.js} +1 -1
  8. package/dist/assets/{dash.all.min-Bvo-tZ-U.js → dash.all.min-D-zdUW2E.js} +1 -1
  9. package/dist/assets/{empty-Phdw-YOM.js → empty-GbrAbMgu.js} +1 -1
  10. package/dist/assets/{empty-DVJaOWil.js → empty-yNVrZTRK.js} +1 -1
  11. package/dist/assets/epic-oIfPpGXw.js +2 -0
  12. package/dist/assets/{index-BATV6ZyV.js → index-BEgQ1tzz.js} +1 -1
  13. package/dist/assets/{index-BS2y0_L6.js → index-BPhX3I3T.js} +1 -1
  14. package/dist/assets/{index-m_V5_qeC.js → index-BTtU_NJK.js} +2 -2
  15. package/dist/assets/{index-CTrvWdvt.js → index-BpidRIB2.js} +1 -1
  16. package/dist/assets/{index-CKsiDk-w.js → index-D4IHH0eQ.js} +1 -1
  17. package/dist/assets/{index-Bf4TXU00.js → index-Dr00l2VG.js} +1 -1
  18. package/dist/assets/{index-BPLg92Ml.js → index-FgnHu5V_.js} +8384 -8384
  19. package/dist/assets/{lexical-CpMNBCZ1.js → lexical-W9nYyM7D.js} +1 -1
  20. package/dist/assets/{liveblocks-C-W5HUpu.js → liveblocks-B0pKfNHu.js} +1 -1
  21. package/dist/assets/{lottie-De8MONH2.js → lottie-DZC48ARZ.js} +1 -1
  22. package/dist/assets/{mui-DILfiCEx.js → mui-NT1Z-YH_.js} +1 -1
  23. package/dist/assets/{react-IEUVuvwg.js → react-CRZz3PYt.js} +1 -1
  24. package/dist/assets/{react-CKzcINJi.js → react-Cuyj1sIi.js} +1 -1
  25. package/dist/assets/{react-D_cwOX7G.js → react-DXJIaZBJ.js} +1 -1
  26. package/dist/assets/{react-B-ophoG7.js → react-Dd9hM3Pf.js} +1 -1
  27. package/dist/assets/{react-DVT4uZpx.js → react-DfM7SXWs.js} +1 -1
  28. package/dist/assets/{react-B9WfV946.js → react-IH3zcr1V.js} +2 -2
  29. package/dist/assets/{react-DIYmmYFv.js → react-nmuREkNm.js} +1 -1
  30. package/dist/assets/{react-Yn1hYO43.js → react-pwRww8jq.js} +1 -1
  31. package/dist/assets/{recharts-949aCf3Q.js → recharts-BUo8apMx.js} +1 -1
  32. package/dist/assets/{sentry-uz24haex.js → sentry-CmG9zRbP.js} +1 -1
  33. package/dist/assets/{url-NABjVuRX.js → url-CQcSUTdD.js} +1 -1
  34. package/dist/assets/{url-C957ITFR.js → url-D2m0Lejh.js} +1 -1
  35. package/dist/assets/{utils-BT_N68NH.js → utils-Dcg_cDsa.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-CJzA24E8.js → zeni-epic-state-BZg29cPy.js} +4 -4
  37. package/dist/index.html +1 -1
  38. package/package.json +4 -4
  39. package/dist/assets/CreditAgentRoutes-ClX8nvUq.js +0 -4
  40. package/dist/assets/epic-CQCp8cer.js +0 -2
@@ -1 +1 @@
1
- import{j as d}from"./liveblocks-C-W5HUpu.js";import{a as u,R as S,n as m}from"./sentry-uz24haex.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-DZ3EdXlT.js";import{z as l,G as v,b as C,v as E,S as T,c as f}from"./index-BPLg92Ml.js";import{SD as U,SE as x,SF as D,SG as L,bm as p}from"./zeni-epic-state-CJzA24E8.js";import{f as z}from"./analyticsHelper-DFJf_xUz.js";import{u as A}from"./mui-DILfiCEx.js";import"./recharts-949aCf3Q.js";import"./analytics-DVXCj9t9.js";import"./lottie-De8MONH2.js";import"./lexical-CpMNBCZ1.js";import"./utils-BT_N68NH.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]="5fde1e9a-5504-46f7-982b-c33980bfcc43",e._sentryDebugIdIdentifier="sentry-dbid-5fde1e9a-5504-46f7-982b-c33980bfcc43")}catch{}})();function N(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 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(L({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(D())}}}const P=y(N,k)(T),_=S.memo(P);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=A().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")),v.updateAppLocaleID("en"),z(t,s),setTimeout(()=>{C.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};
1
+ import{j as d}from"./liveblocks-B0pKfNHu.js";import{a as S,R as f,n as m}from"./sentry-CmG9zRbP.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-Dw4XGBPB.js";import{z as l,G as C,c as v,q as E,R as T,d as p}from"./index-FgnHu5V_.js";import{SH as U,SI as x,SJ as L,SK as z,bm as u}from"./zeni-epic-state-BZg29cPy.js";import{f as D}from"./analyticsHelper-UPAiQhXn.js";import{u as A}from"./mui-NT1Z-YH_.js";import"./recharts-BUo8apMx.js";import"./analytics-bXqdNTn2.js";import"./lottie-DZC48ARZ.js";import"./lexical-W9nYyM7D.js";import"./utils-Dcg_cDsa.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]="367a2499-1b44-46de-b684-34962c0a186c",e._sentryDebugIdIdentifier="sentry-dbid-367a2499-1b44-46de-b684-34962c0a186c")}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(L())}}}const P=y(N,k)(T),_=f.memo(P);function H(){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=A().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(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{H as default};