@zeniai/web-cockpit-ui 2.1.0-prod → 2.1.1-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 (38) hide show
  1. package/dist/assets/{CreditAgentRoutes-D_7qpgrM.js → CreditAgentRoutes-CHmKaBeh.js} +1 -1
  2. package/dist/assets/{Preview-DrESxid_.js → Preview-BWqxT4Jg.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-_1kO0EMb.js → ScreenRoutes-BN7Wh7HB.js} +30 -30
  4. package/dist/assets/{SignInScreen-C8g0QFK8.js → SignInScreen-BEpI9m1l.js} +1 -1
  5. package/dist/assets/{analytics-BHuim2pV.js → analytics-vSrUs2zA.js} +1 -1
  6. package/dist/assets/{analyticsHelper-DCx7G-VC.js → analyticsHelper-CkKoQBZk.js} +1 -1
  7. package/dist/assets/{core-BBOrfOKK.js → core-2q46JgcM.js} +1 -1
  8. package/dist/assets/{dash.all.min-CAcBamdn.js → dash.all.min-D5H75bul.js} +1 -1
  9. package/dist/assets/{empty-CzvJpszh.js → empty-BgwgSPL5.js} +1 -1
  10. package/dist/assets/{empty-Dtt8iEgt.js → empty-DZzo7DeQ.js} +1 -1
  11. package/dist/assets/{epic-CmgFa576.js → epic-B5qzirdl.js} +2 -2
  12. package/dist/assets/{index-CeH9gCnA.js → index-AvtR9zVm.js} +1 -1
  13. package/dist/assets/{index-CBCdZgl1.js → index-BALOZkUb.js} +2 -2
  14. package/dist/assets/{index-DvVM1JL_.js → index-BSQPxnG_.js} +290 -290
  15. package/dist/assets/{index-GEzO4mQE.js → index-Bqx_PP0T.js} +1 -1
  16. package/dist/assets/{index-BxLSn7io.js → index-C51TmF7-.js} +1 -1
  17. package/dist/assets/{index-B9V-fBYg.js → index-CeXjzgo9.js} +1 -1
  18. package/dist/assets/{index-BVo7fIku.js → index-DolQVohk.js} +1 -1
  19. package/dist/assets/{lexical-C1v_NqNb.js → lexical-pVU5qvsz.js} +1 -1
  20. package/dist/assets/{liveblocks-CcncRVie.js → liveblocks-D_bPUnfc.js} +1 -1
  21. package/dist/assets/{lottie-Q3-QmXMt.js → lottie-D75tHV0I.js} +1 -1
  22. package/dist/assets/{mui-DTPJVaix.js → mui-Biellmxn.js} +1 -1
  23. package/dist/assets/{react-d9-9RQSy.js → react-BxwiBKEB.js} +1 -1
  24. package/dist/assets/{react-3bw_KGeh.js → react-CAygeE0U.js} +1 -1
  25. package/dist/assets/{react-CSSrRWaF.js → react-DIqyn87r.js} +1 -1
  26. package/dist/assets/{react-DscgdD8S.js → react-DSu2spHC.js} +1 -1
  27. package/dist/assets/{react-BhIwwfJ-.js → react-gEPTfS44.js} +1 -1
  28. package/dist/assets/{react-ByzvqlEc.js → react-h6ebHu0f.js} +1 -1
  29. package/dist/assets/{react-B6XvnhId.js → react-rhhQVL4e.js} +1 -1
  30. package/dist/assets/{react-CCYLhyim.js → react-uXwC73yT.js} +2 -2
  31. package/dist/assets/{recharts-CoJJh7us.js → recharts-BzMKGaM5.js} +1 -1
  32. package/dist/assets/{sentry-B9i6LJjZ.js → sentry-CbMSQRP7.js} +1 -1
  33. package/dist/assets/{url-BMVbdMbD.js → url-xKrF4lfj.js} +1 -1
  34. package/dist/assets/{url-ClQUQ7Ff.js → url-zzW3pYi4.js} +1 -1
  35. package/dist/assets/{utils-B4BnvNz8.js → utils-6b2EBLpw.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-Bs81nbJ_.js → zeni-epic-state-CO3PXCyu.js} +3 -3
  37. package/dist/index.html +1 -1
  38. package/package.json +3 -3
@@ -1 +1 @@
1
- import{j as l}from"./liveblocks-CcncRVie.js";import{a as f,b as S,n as m}from"./sentry-B9i6LJjZ.js";import{n as I,i as w,g,u as h,N as y,h as b}from"./core-BBOrfOKK.js";import{z as d,y as C,d as v,b as E,r as U,V as z,c as p}from"./index-DvVM1JL_.js";import{K7 as T,K8 as x,K9 as L,Ka as D,bm as u}from"./zeni-epic-state-Bs81nbJ_.js";import{f as A}from"./analyticsHelper-DCx7G-VC.js";import"./recharts-CoJJh7us.js";import"./mui-DTPJVaix.js";import"./analytics-BHuim2pV.js";import"./lottie-Q3-QmXMt.js";import"./lexical-C1v_NqNb.js";import"./utils-B4BnvNz8.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]="19d2441c-eec9-4263-a7d5-9c8c6b356f06",e._sentryDebugIdIdentifier="sentry-dbid-19d2441c-eec9-4263-a7d5-9c8c6b356f06")}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(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(L())}}}const K=b(N,k)(z),P=S.memo(K);function q(){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=C().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")),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(P,{navigate:o,location:c})}export{q as default};
1
+ import{j as d}from"./liveblocks-D_bPUnfc.js";import{a as S,b as f,n as m}from"./sentry-CbMSQRP7.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-2q46JgcM.js";import{z as l,y as C,d as v,b as E,r as U,W as z,c as p}from"./index-BSQPxnG_.js";import{K7 as T,K8 as x,K9 as L,Ka as D,bm as u}from"./zeni-epic-state-CO3PXCyu.js";import{f as A}from"./analyticsHelper-CkKoQBZk.js";import"./recharts-BzMKGaM5.js";import"./mui-Biellmxn.js";import"./analytics-vSrUs2zA.js";import"./lottie-D75tHV0I.js";import"./lexical-pVU5qvsz.js";import"./utils-6b2EBLpw.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]="d8c24254-7e67-4a61-bb34-210bc827c1a4",e._sentryDebugIdIdentifier="sentry-dbid-d8c24254-7e67-4a61-bb34-210bc827c1a4")}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(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(L())}}}const K=y(N,k)(z),P=f.memo(K);function G(){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=C().mode,c=h();if(S.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),T(t.userId,t.zeniSessionId),e(x("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 d.jsx(b,{to:a,state:{...c.state,origin:""}})}else return d.jsx(P,{navigate:o,location:c})}export{G as default};