@zeniai/web-cockpit-ui 2.2.71-qa → 2.2.72-qa
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-_bjZQqNV.js → CreditAgentRoutes-BLBGhN3m.js} +2 -2
- package/dist/assets/{Preview-B_3VznKj.js → Preview-6AG_bGYT.js} +1 -1
- package/dist/assets/{ScreenRoutes-QyzDC1kO.js → ScreenRoutes-BHr_KJzH.js} +75 -75
- package/dist/assets/SignInScreen-rMxKFenr.js +1 -0
- package/dist/assets/{analytics-C5M0R2Yo.js → analytics-8R_G5a7b.js} +1 -1
- package/dist/assets/{analyticsHelper-B4GF_xX1.js → analyticsHelper-DvF51PzF.js} +1 -1
- package/dist/assets/{core-BGXi92My.js → core-D8k0VBRg.js} +1 -1
- package/dist/assets/{dash.all.min-BWqqLaZm.js → dash.all.min-aPB7a57i.js} +1 -1
- package/dist/assets/{empty-CFlXGusC.js → empty-BAui_oqC.js} +1 -1
- package/dist/assets/{empty-gX0nGS-m.js → empty-CcEmu1SU.js} +1 -1
- package/dist/assets/epic-ssPCWgKd.js +2 -0
- package/dist/assets/{index-CFKwsz-z.js → index-BDexPfeI.js} +2 -2
- package/dist/assets/{index-CQA9daw6.js → index-BO9TimSx.js} +1 -1
- package/dist/assets/{index-Dx1XwNOG.js → index-BWL6vagR.js} +1 -1
- package/dist/assets/{index-fKG91_HF.js → index-Bv7VnT1l.js} +1 -1
- package/dist/assets/{index-SPIe_hrA.js → index-CpgVIEKy.js} +1 -1
- package/dist/assets/{index-CRPeRyCe.js → index-D3Kt30L7.js} +9678 -9241
- package/dist/assets/{index-BRKNZz4w.js → index-DOzQoyvj.js} +1 -1
- package/dist/assets/{lexical-BzNzUTzr.js → lexical-D1tA1M-p.js} +1 -1
- package/dist/assets/{liveblocks-B2PRYdRm.js → liveblocks-DLHDGgt2.js} +1 -1
- package/dist/assets/{lottie-B_vW8j88.js → lottie-CLsvUHSX.js} +1 -1
- package/dist/assets/{mui-C6fkRpBN.js → mui-Cx_-7OEz.js} +1 -1
- package/dist/assets/{react-B4pL0DFP.js → react-AAOMSr_s.js} +2 -2
- package/dist/assets/{react-fJ5ukMAB.js → react-BQ_y0hPB.js} +1 -1
- package/dist/assets/{react-Dq8vBq0R.js → react-D-bmAkL1.js} +1 -1
- package/dist/assets/{react-DNf0DPG1.js → react-DYYDyuoS.js} +1 -1
- package/dist/assets/{react-bNEVcznB.js → react-DgeT_r_H.js} +1 -1
- package/dist/assets/{react-C24K3XpW.js → react-qKBnhl6c.js} +1 -1
- package/dist/assets/{react-DdVfj9GW.js → react-vnZlXjwb.js} +1 -1
- package/dist/assets/{react-AP_weyBb.js → react-zw0L6uS8.js} +1 -1
- package/dist/assets/{recharts-DOI_Cxm8.js → recharts-CTAiHucu.js} +1 -1
- package/dist/assets/{sentry-BM5N1yRn.js → sentry-BZw3SyxM.js} +1 -1
- package/dist/assets/{url-De_CGcgf.js → url-B3-FOlLj.js} +1 -1
- package/dist/assets/{url-D5it-DGd.js → url-DHYx2PNv.js} +1 -1
- package/dist/assets/{utils-BA1vohHw.js → utils-C1zHbFXr.js} +1 -1
- package/dist/assets/{zeni-epic-state-BrtuQm2V.js → zeni-epic-state-BCp3SADo.js} +9 -9
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/SignInScreen-BaVFZakZ.js +0 -1
- package/dist/assets/epic-CvI5zcCS.js +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as d}from"./liveblocks-DLHDGgt2.js";import{a as u,R as S,n as m}from"./sentry-BZw3SyxM.js";import{n as I,i as w,g,u as h,N as b,h as y}from"./core-D8k0VBRg.js";import{z as l,G as v,a as C,p as E,N as T,f}from"./index-D3Kt30L7.js";import{St as U,Su as x,Sv as L,Sw as z,bm as p}from"./zeni-epic-state-BCp3SADo.js";import{f as D}from"./analyticsHelper-DvF51PzF.js";import{u as N}from"./mui-Cx_-7OEz.js";import"./recharts-CTAiHucu.js";import"./analytics-8R_G5a7b.js";import"./lottie-CLsvUHSX.js";import"./lexical-D1tA1M-p.js";import"./utils-C1zHbFXr.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]="49f2fabc-2057-4465-b824-987f19fbfb82",e._sentryDebugIdIdentifier="sentry-dbid-49f2fabc-2057-4465-b824-987f19fbfb82")}catch{}})();function A(e){const o=e.tenantState.fetchState,i=e.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:f.googleClientId,microsoftClientId:f.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(z({authCode:n,oauthProvider:t,appType:"web",redirectUri:p(s),sourceUri:p(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 P=y(A,k)(T),_=S.memo(P);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=N().mode,c=h();if(u.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),U(t.userId,t.zeniSessionId),e(x("Completed")),v.updateAppLocaleID("en"),D(t,s),setTimeout(()=>{C.trackLogin(E.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(_,{navigate:o,location:c})}export{W as default};
|