@zeniai/web-cockpit-ui 2.3.13-dev → 2.3.14-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 (41) hide show
  1. package/dist/assets/CreditAgentRoutes-DM0SwS5W.js +4 -0
  2. package/dist/assets/{Preview-CuXsFRyH.js → Preview--gkWr5eu.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-dztfIg-h.js → ScreenRoutes-BUpHkc3I.js} +55 -55
  4. package/dist/assets/{SignInScreen-BtvPgfTs.js → SignInScreen-UcObvPbO.js} +1 -1
  5. package/dist/assets/{analytics-BnuXQ-1h.js → analytics-WNNKMSNh.js} +1 -1
  6. package/dist/assets/{analyticsHelper-DL0qorIj.js → analyticsHelper-B98PSur2.js} +1 -1
  7. package/dist/assets/{core-B9JNi4OC.js → core-DgA7111e.js} +1 -1
  8. package/dist/assets/{dash.all.min-eSh3F3Jf.js → dash.all.min-C7zts1TA.js} +1 -1
  9. package/dist/assets/{empty-MheAeCWJ.js → empty-B5l9Wm43.js} +1 -1
  10. package/dist/assets/{empty-CtaCUJbT.js → empty-BcrpjoBK.js} +1 -1
  11. package/dist/assets/epic-CWL5Hnmx.js +2 -0
  12. package/dist/assets/{index-C5m5eO7s.js → index-CS6B4AE4.js} +2 -2
  13. package/dist/assets/{index-Dm1tWS2g.js → index-Cr1Km7pq.js} +1 -1
  14. package/dist/assets/{index-BPNV3ifa.js → index-D1pedyNi.js} +6628 -6716
  15. package/dist/assets/{index-BrmYL58w.js → index-DIcKSiOo.js} +1 -1
  16. package/dist/assets/{index-a0Cswkil.js → index-DlMApUyt.js} +1 -1
  17. package/dist/assets/{index-qAQpNy1c.js → index-OA78vQNk.js} +1 -1
  18. package/dist/assets/{index-BNbC5kUe.js → index-kY1QPO9W.js} +1 -1
  19. package/dist/assets/{lexical-BeNMY2i4.js → lexical-BwLQB3vb.js} +1 -1
  20. package/dist/assets/{liveblocks-CzXsC3Pt.js → liveblocks-YzVKxIqK.js} +1 -1
  21. package/dist/assets/{lottie-1HjWS2aR.js → lottie-B5xiPcpk.js} +1 -1
  22. package/dist/assets/{mui-D366s3Jq.js → mui-Dxb-m49T.js} +1 -1
  23. package/dist/assets/{react-DE_sLQho.js → react-158UPsz4.js} +1 -1
  24. package/dist/assets/{react-CwEUo35F.js → react-69HqK0S3.js} +1 -1
  25. package/dist/assets/{react-cL7Pif1r.js → react-BUdHHPSS.js} +1 -1
  26. package/dist/assets/{react-_JjdVLJK.js → react-BYri54tb.js} +2 -2
  27. package/dist/assets/{react-m8-4uuCs.js → react-CV7BLUdT.js} +1 -1
  28. package/dist/assets/{react-DNgEcmpH.js → react-DGXBrFJz.js} +1 -1
  29. package/dist/assets/{react-Jqs82GWn.js → react-Q_wFKMfG.js} +1 -1
  30. package/dist/assets/{react-B0kYwW7O.js → react-sRyLjgRl.js} +1 -1
  31. package/dist/assets/{recharts-Chdf0-Da.js → recharts-CuDE2gZn.js} +1 -1
  32. package/dist/assets/{sentry-C6s4BeiF.js → sentry-BDnnWfmb.js} +1 -1
  33. package/dist/assets/{url-C9m098z0.js → url-BMmtOmbJ.js} +1 -1
  34. package/dist/assets/{url-hAZK0BbF.js → url-DtmorFmS.js} +1 -1
  35. package/dist/assets/{utils-q69MS7jw.js → utils-DlVzSYJJ.js} +1 -1
  36. package/dist/assets/zeni-epic-state-K3SggbIq.js +14 -0
  37. package/dist/index.html +1 -1
  38. package/package.json +3 -3
  39. package/dist/assets/CreditAgentRoutes-BDnGgscl.js +0 -4
  40. package/dist/assets/epic-DMStWF43.js +0 -2
  41. package/dist/assets/zeni-epic-state-CIYtvoeV.js +0 -14
@@ -1 +1 @@
1
- import{j as l}from"./liveblocks-CzXsC3Pt.js";import{a as f,R as S,n as m}from"./sentry-C6s4BeiF.js";import{n as I,i as w,g,u as h,N as y,h as b}from"./core-B9JNi4OC.js";import{z as d,G as T,b as C,w as v,R as E,e as p}from"./index-BPNV3ifa.js";import{T1 as U,T2 as x,T3 as L,T4 as z,bm as u}from"./zeni-epic-state-CIYtvoeV.js";import{f as D}from"./analyticsHelper-DL0qorIj.js";import{u as A}from"./mui-D366s3Jq.js";import"./recharts-Chdf0-Da.js";import"./analytics-BnuXQ-1h.js";import"./lottie-1HjWS2aR.js";import"./lexical-BeNMY2i4.js";import"./utils-q69MS7jw.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]="100833eb-ea73-4d0d-aeaf-e121c5ada00e",e._sentryDebugIdIdentifier="sentry-dbid-100833eb-ea73-4d0d-aeaf-e121c5ada00e")}catch{}})();function N(e){const o=e.tenantState.fetchState,a=e.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:p.googleClientId,microsoftClientId:p.microsoftClientId,signInError:e.tenantState.error?.error,fetchState:o,sendMagicLinkStatus:a,showEmailLogin:!1}}function k(e,o){const{location:a,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(a.state!=null?a.state.origin:"")}))},getSignedInUser:()=>d.getSignedInUser(),onSignedInCallback:()=>{const n=a.state?.origin;n&&n!=="/"?r(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(L())}}}const P=b(N,k)(E),_=S.memo(P);function q(){const e=I(),o=w(),a=d.getSignedInUser(),r=g(i=>i.tenantState.fetchState),n=g(i=>i.tenantState.signInState),t=g(i=>i.tenantState.loggedInUser),s=A().mode,c=h();if(f.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(d.saveSignedInUserWithSession(t,t.zeniSessionId),U(t.userId,t.zeniSessionId),e(x("Completed")),T.updateAppLocaleID("en"),D(t,s),setTimeout(()=>{C.trackLogin(v.Event.loginSuccess,t.authProvider??"google")},2e3))},[]),n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null||a!=null){const i=c.state?.origin??"/";return l.jsx(y,{to:i,state:{...c.state,origin:""}})}else return l.jsx(_,{navigate:o,location:c})}export{q as default};
1
+ import{j as l}from"./liveblocks-YzVKxIqK.js";import{a as u,R as S,n as m}from"./sentry-BDnnWfmb.js";import{n as I,i as w,g,u as h,N as y,h as T}from"./core-DgA7111e.js";import{z as d,G as b,a as C,q as v,O as E,c as f}from"./index-D1pedyNi.js";import{T3 as U,T4 as x,T5 as L,T6 as z,bm as p}from"./zeni-epic-state-K3SggbIq.js";import{f as D}from"./analyticsHelper-B98PSur2.js";import{u as A}from"./mui-Dxb-m49T.js";import"./recharts-CuDE2gZn.js";import"./analytics-WNNKMSNh.js";import"./lottie-B5xiPcpk.js";import"./lexical-BwLQB3vb.js";import"./utils-DlVzSYJJ.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]="0dad4c6c-129c-48a3-90f4-aaf9d0648af7",e._sentryDebugIdIdentifier="sentry-dbid-0dad4c6c-129c-48a3-90f4-aaf9d0648af7")}catch{}})();function N(e){const o=e.tenantState.fetchState,a=e.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:f.googleClientId,microsoftClientId:f.microsoftClientId,signInError:e.tenantState.error?.error,fetchState:o,sendMagicLinkStatus:a,showEmailLogin:!1}}function k(e,o){const{location:a,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(a.state!=null?a.state.origin:"")}))},getSignedInUser:()=>d.getSignedInUser(),onSignedInCallback:()=>{const n=a.state?.origin;n&&n!=="/"?r(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(L())}}}const O=T(N,k)(E),P=S.memo(O);function W(){const e=I(),o=w(),a=d.getSignedInUser(),r=g(i=>i.tenantState.fetchState),n=g(i=>i.tenantState.signInState),t=g(i=>i.tenantState.loggedInUser),s=A().mode,c=h();if(u.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(d.saveSignedInUserWithSession(t,t.zeniSessionId),U(t.userId,t.zeniSessionId),e(x("Completed")),b.updateAppLocaleID("en"),D(t,s),setTimeout(()=>{C.trackLogin(v.Event.loginSuccess,t.authProvider??"google")},2e3))},[]),n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null||a!=null){const i=c.state?.origin??"/";return l.jsx(y,{to:i,state:{...c.state,origin:""}})}else return l.jsx(P,{navigate:o,location:c})}export{W as default};