@zeniai/web-cockpit-ui 2.2.49-dev → 2.2.50-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.
- package/dist/assets/CreditAgentRoutes-CP6NxzRh.js +4 -0
- package/dist/assets/{Preview-DygWrLbW.js → Preview-H95Ry7Pk.js} +1 -1
- package/dist/assets/{ScreenRoutes-Cvx46hFR.js → ScreenRoutes-VYUFz5I5.js} +64 -64
- package/dist/assets/SignInScreen-mLNhb7ku.js +1 -0
- package/dist/assets/{analytics-BhXTeYMR.js → analytics-BWnLmpKp.js} +23 -23
- package/dist/assets/{analyticsHelper-CMEaGV55.js → analyticsHelper-D96e8_aB.js} +1 -1
- package/dist/assets/{core-BKA148oo.js → core-BAoAhdIP.js} +1 -1
- package/dist/assets/{dash.all.min-Czi0o0KS.js → dash.all.min-BO7RHCRy.js} +1 -1
- package/dist/assets/{empty-sBiBcj52.js → empty-BuQ268kL.js} +1 -1
- package/dist/assets/{empty-i1wzPsXB.js → empty-D1NqLUJj.js} +1 -1
- package/dist/assets/epic-CkObopEa.js +2 -0
- package/dist/assets/{index-bxVpfE3m.js → index-B00E41J6.js} +9588 -9214
- package/dist/assets/{index-CxYSc83s.js → index-Bn9ZKHEe.js} +2 -2
- package/dist/assets/{index-DhgqWER-.js → index-Bot_y0Wv.js} +1 -1
- package/dist/assets/{index-BLIIS_3h.js → index-CLA65MV6.js} +1 -1
- package/dist/assets/{index-B6f3mQZL.js → index-Cf7ULJan.js} +1 -1
- package/dist/assets/{index-ImFAElRp.js → index-jJVG0LFL.js} +1 -1
- package/dist/assets/{index-CtwjktXp.js → index-l1v7zCD1.js} +1 -1
- package/dist/assets/{lexical-BZyElxbG.js → lexical-BSJWdBQH.js} +1 -1
- package/dist/assets/{liveblocks-C-AuTOkw.js → liveblocks-DT9mCoRx.js} +1 -1
- package/dist/assets/{lottie-CkJKMDbi.js → lottie-DrQbBhEm.js} +1 -1
- package/dist/assets/{mui-D4MbYyLD.js → mui-Amx10Cc4.js} +1 -1
- package/dist/assets/{react-70S-NT2a.js → react-B4CKfdl1.js} +1 -1
- package/dist/assets/{react-DXUhyyFZ.js → react-BHIi6TjF.js} +1 -1
- package/dist/assets/{react-B7Twl5sJ.js → react-BJgg2Z7O.js} +1 -1
- package/dist/assets/{react-slZUKaSk.js → react-CBfv8_iI.js} +1 -1
- package/dist/assets/{react-BGW4Tv6C.js → react-CnsKhx8M.js} +1 -1
- package/dist/assets/{react-DGfTXQZY.js → react-D1QoWOUy.js} +2 -2
- package/dist/assets/{react-BpnDzZwO.js → react-D4WV2KhV.js} +1 -1
- package/dist/assets/{react-BYL1Q2Kr.js → react-D4ssuvf-.js} +1 -1
- package/dist/assets/{recharts-DsmKUO7C.js → recharts-BXBxhVXU.js} +1 -1
- package/dist/assets/{sentry-BYM5lfa7.js → sentry-DlMnCKB1.js} +1 -1
- package/dist/assets/{url-BJ25zhwL.js → url-B-h7VYVE.js} +1 -1
- package/dist/assets/{url-BpyaSWzJ.js → url-CTWFRBlA.js} +1 -1
- package/dist/assets/{utils-C9nZAXmJ.js → utils-ChSJVaYA.js} +1 -1
- package/dist/assets/{zeni-epic-state-hIyhkcpy.js → zeni-epic-state-DphjJpjz.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/CreditAgentRoutes-BUBYgaRK.js +0 -4
- package/dist/assets/SignInScreen-CALjpiDQ.js +0 -1
- package/dist/assets/epic-5W8exn1l.js +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as l}from"./liveblocks-DT9mCoRx.js";import{a as S,R as f,n as m}from"./sentry-DlMnCKB1.js";import{n as I,i as w,g as d,u as h,N as b,h as y}from"./core-BAoAhdIP.js";import{z as g,E,G as C,a as v,q as U,W as T,d as p}from"./index-B00E41J6.js";import{R_ as x,R$ as L,S0 as z,S1 as D,bm as u}from"./zeni-epic-state-DphjJpjz.js";import{f as A}from"./analyticsHelper-D96e8_aB.js";import"./recharts-BXBxhVXU.js";import"./mui-Amx10Cc4.js";import"./analytics-BWnLmpKp.js";import"./lottie-DrQbBhEm.js";import"./lexical-BSJWdBQH.js";import"./utils-ChSJVaYA.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]="a037e603-bfdd-4519-b8a9-61cccce61cd6",e._sentryDebugIdIdentifier="sentry-dbid-a037e603-bfdd-4519-b8a9-61cccce61cd6")}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 _(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=y(N,_)(T),P=f.memo(k);function K(){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(S.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"),A(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(b,{to:a,state:{...c.state,origin:""}})}else return l.jsx(P,{navigate:o,location:c})}export{K as default};
|