@zeniai/web-cockpit-ui 2.0.21-qa → 2.0.22-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 (37) hide show
  1. package/dist/assets/{Preview-Dtw9Lphl.js → Preview-C8iNHK3I.js} +1 -1
  2. package/dist/assets/{ScreenRoutes-Cib-Hvae.js → ScreenRoutes-TF7c1xpr.js} +43 -43
  3. package/dist/assets/{SignInScreen-B7GORs4k.js → SignInScreen-x0dqxbj7.js} +1 -1
  4. package/dist/assets/{analytics-C3pxKzR2.js → analytics-7StVUdJ6.js} +1 -1
  5. package/dist/assets/{analyticsHelper-CIjuqS0a.js → analyticsHelper-CHu5ZN4R.js} +1 -1
  6. package/dist/assets/{core-CjhUCq3y.js → core-C27ZQeLg.js} +1 -1
  7. package/dist/assets/{dash.all.min-Ci2AqAlx.js → dash.all.min-YKW3c3_7.js} +1 -1
  8. package/dist/assets/{empty-DoDw4OOl.js → empty-CbpBl25l.js} +1 -1
  9. package/dist/assets/{empty-DLSPWkhh.js → empty-DgsvBX4Z.js} +1 -1
  10. package/dist/assets/{epic-DLNlGehS.js → epic-BECvRCb-.js} +1 -1
  11. package/dist/assets/{index-aql3dlq8.js → index-B1i814A-.js} +7009 -7030
  12. package/dist/assets/{index-CC5Q1-zu.js → index-BVakiK_4.js} +1 -1
  13. package/dist/assets/{index-gyKJIp-E.js → index-CQLsE6BZ.js} +1 -1
  14. package/dist/assets/{index-CnEDiGaT.js → index-DYtsKDdj.js} +1 -1
  15. package/dist/assets/{index-NcsQlZ15.js → index-Dq1GGE0A.js} +1 -1
  16. package/dist/assets/{index-C2JYKdnU.js → index-DzKH2PzM.js} +1 -1
  17. package/dist/assets/{index-bkIUiBEa.js → index-eZuYahtJ.js} +2 -2
  18. package/dist/assets/{lexical-wLc3tfvr.js → lexical-7u4SLeKF.js} +1 -1
  19. package/dist/assets/{liveblocks-DBdv2fN8.js → liveblocks-DLIgVHAF.js} +1 -1
  20. package/dist/assets/{lottie-Hc2a3oWT.js → lottie-D_yvYGLm.js} +1 -1
  21. package/dist/assets/{mui-Ck-dmelA.js → mui-BarKpbLP.js} +1 -1
  22. package/dist/assets/{react-_gb5a7bq.js → react-Bup7SptJ.js} +1 -1
  23. package/dist/assets/{react-ZApqeSrv.js → react-C6kmOkLe.js} +1 -1
  24. package/dist/assets/{react-D_O0zhfL.js → react-CE77gLwu.js} +1 -1
  25. package/dist/assets/{react-hdC-17oJ.js → react-CmcbwkAx.js} +2 -2
  26. package/dist/assets/{react-Dw8uLYaU.js → react-D6rWAqJ5.js} +1 -1
  27. package/dist/assets/{react-Dyw7u3DL.js → react-HK2kBpv9.js} +1 -1
  28. package/dist/assets/{react-CW70a_ac.js → react-S1RVAbjV.js} +1 -1
  29. package/dist/assets/{react-BPM9te9e.js → react-qOyeA9Nq.js} +1 -1
  30. package/dist/assets/{recharts-6_Fr7e6Z.js → recharts-DpwQP1Qm.js} +1 -1
  31. package/dist/assets/{sentry-2AEdlYCs.js → sentry-DlNyTJXX.js} +1 -1
  32. package/dist/assets/{url-CcIdihvl.js → url-CPiImxjg.js} +1 -1
  33. package/dist/assets/{url-CoXjz0as.js → url-DN4vzL1n.js} +1 -1
  34. package/dist/assets/{utils-BOQmq9gT.js → utils-D7s2WUjZ.js} +1 -1
  35. package/dist/assets/{zeni-epic-state-dNZEhc1z.js → zeni-epic-state-wFGBqjtW.js} +3 -3
  36. package/dist/index.html +1 -1
  37. package/package.json +2 -2
@@ -1 +1 @@
1
- import{j as l}from"./liveblocks-DBdv2fN8.js";import{a as u,b as S,n as I}from"./sentry-2AEdlYCs.js";import{n as m,i as w,g,u as h,N as b,h as y}from"./core-CjhUCq3y.js";import{z as d,h as C,D as v,a as E,p as U,U as T,d as p}from"./index-aql3dlq8.js";import{GT as x,GU as D,GV as L,GW as z,bk as f}from"./zeni-epic-state-dNZEhc1z.js";import{f as A}from"./analyticsHelper-CIjuqS0a.js";import"./recharts-6_Fr7e6Z.js";import"./mui-Ck-dmelA.js";import"./analytics-C3pxKzR2.js";import"./lottie-Hc2a3oWT.js";import"./lexical-wLc3tfvr.js";import"./utils-BOQmq9gT.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]="95a66363-fefe-4fd1-87b7-6ab76052adca",e._sentryDebugIdIdentifier="sentry-dbid-95a66363-fefe-4fd1-87b7-6ab76052adca")}catch{}})();function k(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:f(s),sourceUri:f(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 P=y(k,N)(T),_=S.memo(P);function V(){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=C().mode,c=h();if(u.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(d.saveSignedInUserWithSession(t,t.zeniSessionId),x(t.userId,t.zeniSessionId),e(D("Completed")),v.updateAppLocaleID("en"),A(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(_,{navigate:o,location:c})}export{V as default};
1
+ import{j as l}from"./liveblocks-DLIgVHAF.js";import{a as u,b as S,n as I}from"./sentry-DlNyTJXX.js";import{n as m,i as w,g,u as h,N as y,h as b}from"./core-C27ZQeLg.js";import{z as d,h as C,D as v,a as E,t as U,U as T,d as p}from"./index-B1i814A-.js";import{GT as x,GU as D,GV as L,GW as z,bk as f}from"./zeni-epic-state-wFGBqjtW.js";import{f as A}from"./analyticsHelper-CHu5ZN4R.js";import"./recharts-DpwQP1Qm.js";import"./mui-BarKpbLP.js";import"./analytics-7StVUdJ6.js";import"./lottie-D_yvYGLm.js";import"./lexical-7u4SLeKF.js";import"./utils-D7s2WUjZ.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]="ae9ccead-e7cc-4fb3-9cca-8afdf8451855",e._sentryDebugIdIdentifier="sentry-dbid-ae9ccead-e7cc-4fb3-9cca-8afdf8451855")}catch{}})();function k(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:f(s),sourceUri:f(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 P=b(k,N)(T),_=S.memo(P);function V(){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=C().mode,c=h();if(u.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(d.saveSignedInUserWithSession(t,t.zeniSessionId),x(t.userId,t.zeniSessionId),e(D("Completed")),v.updateAppLocaleID("en"),A(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(y,{to:a,state:{...c.state,origin:""}})}else return l.jsx(_,{navigate:o,location:c})}export{V as default};