@zeniai/web-cockpit-ui 2.2.26-dev → 2.2.27-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-7ssIy5FY.js → CreditAgentRoutes-CkdJKqy2.js} +1 -1
  2. package/dist/assets/{Preview-DjSDkAeb.js → Preview-5Z6UM_K3.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-Dhfbatjf.js → ScreenRoutes-fI2uw1cJ.js} +50 -50
  4. package/dist/assets/{SignInScreen-DFG7hOwT.js → SignInScreen-DPxE9x22.js} +1 -1
  5. package/dist/assets/{analytics-D9DVDLMs.js → analytics-mFzbRL1s.js} +1 -1
  6. package/dist/assets/{analyticsHelper-C-sO75Qy.js → analyticsHelper-DGLKgvNi.js} +1 -1
  7. package/dist/assets/{core-BNVPHzdy.js → core-D8easBUd.js} +1 -1
  8. package/dist/assets/{dash.all.min-MN5BR-un.js → dash.all.min-Bb_MflRT.js} +1 -1
  9. package/dist/assets/{empty-B9nRoqpl.js → empty-BUqK1DYM.js} +1 -1
  10. package/dist/assets/{empty-CjndknKB.js → empty-BxamAP_Q.js} +1 -1
  11. package/dist/assets/epic-C8hFOpWx.js +2 -0
  12. package/dist/assets/{index-CwD5V0pD.js → index-B9HcPwQl.js} +1 -1
  13. package/dist/assets/{index-BBLewLbL.js → index-BSpJY4FS.js} +1 -1
  14. package/dist/assets/{index-zy4sIgVE.js → index-BYu0YEtp.js} +1 -1
  15. package/dist/assets/{index-BiOxAgi2.js → index-C8umg3QA.js} +1 -1
  16. package/dist/assets/{index-8kOIx7Ac.js → index-CUHK3L6Y.js} +1 -1
  17. package/dist/assets/{index-D_zXiW8W.js → index-Cgwj-JGx.js} +2 -2
  18. package/dist/assets/{index-BTcfczF0.js → index-CppL5czE.js} +6298 -6298
  19. package/dist/assets/{lexical-CxqgDFFX.js → lexical-Dsf0NKEO.js} +1 -1
  20. package/dist/assets/{liveblocks-BzrlfYl-.js → liveblocks-D87a4t6Y.js} +1 -1
  21. package/dist/assets/{lottie-DX9J2xx0.js → lottie-CegsaVgu.js} +1 -1
  22. package/dist/assets/{mui-eIqAw9e_.js → mui-C5bRCWuD.js} +1 -1
  23. package/dist/assets/{react-swmIPjEV.js → react-B3Ecers7.js} +1 -1
  24. package/dist/assets/{react-DHc8cyyw.js → react-BAkg45sb.js} +1 -1
  25. package/dist/assets/{react-_vbbvJKI.js → react-Bb97Eud1.js} +1 -1
  26. package/dist/assets/{react-Cp8IXCWi.js → react-CppsYtJX.js} +1 -1
  27. package/dist/assets/{react-DxxRaq3d.js → react-CqJRYcoX.js} +1 -1
  28. package/dist/assets/{react-DYT6U-XB.js → react-DC4MNA2R.js} +2 -2
  29. package/dist/assets/{react-DDQlprYN.js → react-DztCD5y7.js} +1 -1
  30. package/dist/assets/{react-DTtFgKvG.js → react-nNRyXAMs.js} +1 -1
  31. package/dist/assets/{recharts-DkMj5_iz.js → recharts-CLXQXJeN.js} +1 -1
  32. package/dist/assets/{sentry-ruN9KYbt.js → sentry-CahBuvXz.js} +1 -1
  33. package/dist/assets/{url-bRUcC1gg.js → url-B0cn9VO3.js} +1 -1
  34. package/dist/assets/{url-DhNaBTk3.js → url-BP8jxu7b.js} +1 -1
  35. package/dist/assets/{utils-d5Ji-fQA.js → utils-Vc5Z1FLI.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-CCDLjvFJ.js → zeni-epic-state-QU6URKs1.js} +6 -6
  37. package/dist/index.html +1 -1
  38. package/package.json +3 -3
  39. package/dist/assets/epic-C-Q5KO0j.js +0 -2
@@ -1 +1 @@
1
- import{j as l}from"./liveblocks-BzrlfYl-.js";import{a as f,R as S,n as m}from"./sentry-ruN9KYbt.js";import{n as I,i as w,g,u as h,N as y,h as b}from"./core-BNVPHzdy.js";import{z as d,E,G as C,a as v,t as U,Z as L,d as p}from"./index-BTcfczF0.js";import{RJ as T,RK as x,RL as z,RM as D,bm as u}from"./zeni-epic-state-CCDLjvFJ.js";import{f as R}from"./analyticsHelper-C-sO75Qy.js";import"./recharts-DkMj5_iz.js";import"./mui-eIqAw9e_.js";import"./analytics-D9DVDLMs.js";import"./lottie-DX9J2xx0.js";import"./lexical-CxqgDFFX.js";import"./utils-d5Ji-fQA.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]="f52d3a31-9bf4-451e-a306-671708d9668e",e._sentryDebugIdIdentifier="sentry-dbid-f52d3a31-9bf4-451e-a306-671708d9668e")}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)=>{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:()=>d.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(A,N)(L),P=S.memo(k);function W(){const e=I(),o=w(),i=d.getSignedInUser(),r=g(a=>a.tenantState.fetchState),n=g(a=>a.tenantState.signInState),t=g(a=>a.tenantState.loggedInUser),s=E().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(x("Completed")),C.updateAppLocaleID("en"),R(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{W as default};
1
+ import{j as d}from"./liveblocks-D87a4t6Y.js";import{a as f,R as S,n as m}from"./sentry-CahBuvXz.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-D8easBUd.js";import{z as l,E,G as C,a as v,s as U,Y as L,d as p}from"./index-CppL5czE.js";import{RJ as T,RK as x,RL as z,RM as D,bm as u}from"./zeni-epic-state-QU6URKs1.js";import{f as N}from"./analyticsHelper-DGLKgvNi.js";import"./recharts-CLXQXJeN.js";import"./mui-C5bRCWuD.js";import"./analytics-mFzbRL1s.js";import"./lottie-CegsaVgu.js";import"./lexical-Dsf0NKEO.js";import"./utils-Vc5Z1FLI.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]="4b12827b-57ee-42ea-9e87-7f72ebf51262",e._sentryDebugIdIdentifier="sentry-dbid-4b12827b-57ee-42ea-9e87-7f72ebf51262")}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:()=>l.getSignedInUser(),onSignedInCallback:()=>{const n=i.state?.origin;n&&n!=="/"?r(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(z())}}}const k=y(R,A)(L),P=S.memo(k);function W(){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=E().mode,c=h();if(f.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),T(t.userId,t.zeniSessionId),e(x("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 d.jsx(b,{to:a,state:{...c.state,origin:""}})}else return d.jsx(P,{navigate:o,location:c})}export{W as default};