@zeniai/web-cockpit-ui 2.2.15-qa → 2.2.16-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-Zg1odt5E.js → CreditAgentRoutes-DeCvXHj2.js} +1 -1
  2. package/dist/assets/{Preview-ihmx96DR.js → Preview-BBAG_kxH.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-DRCn077l.js → ScreenRoutes-DwpWcWOe.js} +42 -42
  4. package/dist/assets/{SignInScreen-BeCjiDTq.js → SignInScreen-1-bc7aBf.js} +1 -1
  5. package/dist/assets/analytics-C3CbLUFs.js +68 -0
  6. package/dist/assets/{analyticsHelper-B6Buziaw.js → analyticsHelper-CVo0BXU_.js} +1 -1
  7. package/dist/assets/{core--sq_KOYY.js → core-zE-4Urs9.js} +1 -1
  8. package/dist/assets/{dash.all.min-B7GMmL-L.js → dash.all.min-CHdql9IC.js} +1 -1
  9. package/dist/assets/{empty-By4ex-GK.js → empty-BAzk1u38.js} +1 -1
  10. package/dist/assets/{empty-BETASsbf.js → empty-cBKhQyao.js} +1 -1
  11. package/dist/assets/{epic-C36KHu6w.js → epic-Cfcjgd4g.js} +1 -1
  12. package/dist/assets/{index-Dmu3xKK_.js → index-BbcO_I5e.js} +2 -2
  13. package/dist/assets/{index-BGMjRbAa.js → index-BgNHA7pd.js} +1 -1
  14. package/dist/assets/{index-NXSIkJTk.js → index-CHTLriEc.js} +1 -1
  15. package/dist/assets/{index-Chwxpeec.js → index-DVDhe6Ox.js} +1 -1
  16. package/dist/assets/{index-BzzVu0Vq.js → index-D_HX1PXt.js} +1 -1
  17. package/dist/assets/{index-aHFloNPS.js → index-DpeFF2UP.js} +3207 -3207
  18. package/dist/assets/{index--6bcBS5v.js → index-mV-K9vOp.js} +1 -1
  19. package/dist/assets/{lexical-BjoDWCKn.js → lexical-Cp5ytbbV.js} +1 -1
  20. package/dist/assets/{liveblocks-Dq-3G9Ov.js → liveblocks-zl-P6B9w.js} +1 -1
  21. package/dist/assets/{lottie-BwIAhUUa.js → lottie-CvTGUdeN.js} +1 -1
  22. package/dist/assets/{mui-CMZ_7prp.js → mui-52aep8im.js} +1 -1
  23. package/dist/assets/{react-CwoSad1v.js → react-BVF4dJr-.js} +1 -1
  24. package/dist/assets/{react-DNNkMVNG.js → react-BagS0TOW.js} +1 -1
  25. package/dist/assets/{react-Dc8vQ9ZE.js → react-BuH4YK3q.js} +2 -2
  26. package/dist/assets/{react--plkVsQQ.js → react-CSm_iOyR.js} +1 -1
  27. package/dist/assets/{react-BUd-XUek.js → react-CUhWvJii.js} +1 -1
  28. package/dist/assets/{react-CAbDFArY.js → react-Co08tM_8.js} +1 -1
  29. package/dist/assets/{react-zTNx69No.js → react-DQS-GOGA.js} +1 -1
  30. package/dist/assets/{react-9VygPJCw.js → react-ZZwVyzS9.js} +1 -1
  31. package/dist/assets/{recharts-BXOpQ8pX.js → recharts-CR9pSNwN.js} +1 -1
  32. package/dist/assets/{sentry-DJq-9uF3.js → sentry-C57tYRao.js} +1 -1
  33. package/dist/assets/{url-B0fuLM3O.js → url-C_g5zgZt.js} +1 -1
  34. package/dist/assets/url-DRTu5sBB.js +6 -0
  35. package/dist/assets/{utils-ezsICnxl.js → utils-k9ogT3EH.js} +2 -2
  36. package/dist/assets/{zeni-epic-state-BD4IbcS7.js → zeni-epic-state-B21jt7ya.js} +3 -3
  37. package/dist/index.html +1 -1
  38. package/package.json +3 -3
  39. package/dist/assets/analytics-B-AAvktw.js +0 -68
  40. package/dist/assets/url-DvJdynft.js +0 -6
@@ -1 +1 @@
1
- import{j as l}from"./liveblocks-Dq-3G9Ov.js";import{a as f,R as S,n as m}from"./sentry-DJq-9uF3.js";import{n as I,i as w,g as d,u as h,N as y,h as b}from"./core--sq_KOYY.js";import{z as g,E,G as C,a as v,s as U,Z as T,e as p}from"./index-aHFloNPS.js";import{Ra as x,Rb as L,Rc as z,Rd as D,bm as u}from"./zeni-epic-state-BD4IbcS7.js";import{f as N}from"./analyticsHelper-B6Buziaw.js";import"./recharts-BXOpQ8pX.js";import"./mui-CMZ_7prp.js";import"./analytics-B-AAvktw.js";import"./lottie-BwIAhUUa.js";import"./lexical-BjoDWCKn.js";import"./utils-ezsICnxl.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]="04c66d72-d459-447d-923e-299032f23dc8",e._sentryDebugIdIdentifier="sentry-dbid-04c66d72-d459-447d-923e-299032f23dc8")}catch{}})();function R(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 A(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(D({authCode:n,oauthProvider:t,appType:"web",redirectUri:u(s),sourceUri:u(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>g.getSignedInUser(),onSignedInCallback:()=>{const n=i.state?.origin;n&&n!=="/"?r(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(z())}}}const k=b(R,A)(T),P=S.memo(k);function q(){const e=I(),o=w(),i=g.getSignedInUser(),r=d(a=>a.tenantState.fetchState),n=d(a=>a.tenantState.signInState),t=d(a=>a.tenantState.loggedInUser),s=E().mode,c=h();if(f.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(g.saveSignedInUserWithSession(t,t.zeniSessionId),x(t.userId,t.zeniSessionId),e(L("Completed")),C.updateAppLocaleID("en"),N(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 l.jsx(y,{to:a,state:{...c.state,origin:""}})}else return l.jsx(P,{navigate:o,location:c})}export{q as default};
1
+ import{j as l}from"./liveblocks-zl-P6B9w.js";import{a as f,R as S,n as m}from"./sentry-C57tYRao.js";import{n as I,i as w,g as d,u as h,N as y,h as b}from"./core-zE-4Urs9.js";import{z as g,E,G as C,a as v,s as U,Z as T,f as p}from"./index-DpeFF2UP.js";import{Ra as x,Rb as L,Rc as z,Rd as D,bm as u}from"./zeni-epic-state-B21jt7ya.js";import{f as N}from"./analyticsHelper-CVo0BXU_.js";import"./recharts-CR9pSNwN.js";import"./mui-52aep8im.js";import"./analytics-C3CbLUFs.js";import"./lottie-CvTGUdeN.js";import"./lexical-Cp5ytbbV.js";import"./utils-k9ogT3EH.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]="12dd0b41-0d9d-4c0e-95fe-ada9967632ad",e._sentryDebugIdIdentifier="sentry-dbid-12dd0b41-0d9d-4c0e-95fe-ada9967632ad")}catch{}})();function R(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 A(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(D({authCode:n,oauthProvider:t,appType:"web",redirectUri:u(s),sourceUri:u(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>g.getSignedInUser(),onSignedInCallback:()=>{const n=i.state?.origin;n&&n!=="/"?r(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(z())}}}const k=b(R,A)(T),P=S.memo(k);function q(){const e=I(),o=w(),i=g.getSignedInUser(),r=d(a=>a.tenantState.fetchState),n=d(a=>a.tenantState.signInState),t=d(a=>a.tenantState.loggedInUser),s=E().mode,c=h();if(f.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(g.saveSignedInUserWithSession(t,t.zeniSessionId),x(t.userId,t.zeniSessionId),e(L("Completed")),C.updateAppLocaleID("en"),N(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 l.jsx(y,{to:a,state:{...c.state,origin:""}})}else return l.jsx(P,{navigate:o,location:c})}export{q as default};