@zeniai/web-cockpit-ui 2.0.8-qa → 2.0.9-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/{Preview-mQAAG6Qi.js → Preview-DUfxPJZ5.js} +1 -1
- package/dist/assets/{ScreenRoutes-B4C9DGfF.js → ScreenRoutes-CGfG3Z-Q.js} +43 -43
- package/dist/assets/{SignInScreen-CwTWfK3f.js → SignInScreen-Bkpyu3P_.js} +1 -1
- package/dist/assets/{analytics-sFDpEuTJ.js → analytics-BoigHMhQ.js} +1 -1
- package/dist/assets/{analyticsHelper-DEGu6_9E.js → analyticsHelper-CvITge67.js} +1 -1
- package/dist/assets/{core-CXpRWlG8.js → core-1hhJar9-.js} +1 -1
- package/dist/assets/{dash.all.min-DVHbfh2L.js → dash.all.min-BIiyIH5N.js} +1 -1
- package/dist/assets/{empty-GiZDHil5.js → empty-C8aOxwbQ.js} +1 -1
- package/dist/assets/{empty-Bgijim3h.js → empty-Dgd-zQTo.js} +1 -1
- package/dist/assets/{epic-4G2Xr27Y.js → epic-BIqAe0Ue.js} +1 -1
- package/dist/assets/{index-BEtTwjYv.js → index-BbyY8O1q.js} +1 -1
- package/dist/assets/{index-CTjsMhcG.js → index-C7tgSTHC.js} +1 -1
- package/dist/assets/{index-zK-fLsmD.js → index-C8-2JpOL.js} +1 -1
- package/dist/assets/{index-Diz5Aofh.js → index-D46EkQoJ.js} +2 -2
- package/dist/assets/{index-CZcRkkY5.js → index-RjlO8rg5.js} +6266 -6266
- package/dist/assets/{index-BrczqqvZ.js → index-m2bBuNJb.js} +1 -1
- package/dist/assets/{index-BLJx6AHJ.js → index-nDJSxnQy.js} +1 -1
- package/dist/assets/{lexical-Be8Y4uhz.js → lexical-CFwHp_8_.js} +1 -1
- package/dist/assets/{liveblocks-BMictlBo.js → liveblocks-CyCYsOdy.js} +1 -1
- package/dist/assets/{lottie-DCzbzZRq.js → lottie-DHctvaug.js} +1 -1
- package/dist/assets/{mui-DulInS9C.js → mui-DCfoOJAq.js} +1 -1
- package/dist/assets/{react-C2hBYxwN.js → react-B1DytNst.js} +1 -1
- package/dist/assets/{react-DD2Gx84X.js → react-C1BWb_Ft.js} +1 -1
- package/dist/assets/{react-DSSM6xnw.js → react-CIh4xPCP.js} +1 -1
- package/dist/assets/{react-UVNZZEtS.js → react-Cb1dwFd1.js} +1 -1
- package/dist/assets/{react-DqzSiWO2.js → react-Cex_Rjz6.js} +2 -2
- package/dist/assets/{react-COBxfO1G.js → react-CmCRLTVm.js} +1 -1
- package/dist/assets/{react-COjvva1V.js → react-D-yx4xHH.js} +1 -1
- package/dist/assets/{react-B79FtuoR.js → react-WBi1RLd4.js} +1 -1
- package/dist/assets/{recharts-CXfhhs56.js → recharts-fP0Ki07h.js} +1 -1
- package/dist/assets/{sentry-BOPeCpQn.js → sentry-ClDXZFz0.js} +1 -1
- package/dist/assets/{url-DkzSSkPm.js → url-BOO3FCgh.js} +1 -1
- package/dist/assets/{url-Dladvj5K.js → url-DObgKZs9.js} +1 -1
- package/dist/assets/{utils-ChuT_7Qn.js → utils-DjTkmYMO.js} +1 -1
- package/dist/assets/{zeni-epic-state-B8J7fD1o.js → zeni-epic-state-CdI0X50n.js} +7 -7
- package/dist/index.html +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as d}from"./liveblocks-
|
|
1
|
+
import{j as d}from"./liveblocks-CyCYsOdy.js";import{a as u,b as S,n as I}from"./sentry-ClDXZFz0.js";import{n as m,i as w,g,u as h,N as b,h as y}from"./core-1hhJar9-.js";import{z as l,h as C,f as v,c as E,t as U,Y as T,e as f}from"./index-RjlO8rg5.js";import{GS as x,GT as D,GU as L,GV as z,bk as p}from"./zeni-epic-state-CdI0X50n.js";import{f as k}from"./analyticsHelper-CvITge67.js";import"./recharts-fP0Ki07h.js";import"./mui-DCfoOJAq.js";import"./analytics-BoigHMhQ.js";import"./lottie-DHctvaug.js";import"./lexical-CFwHp_8_.js";import"./utils-DjTkmYMO.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]="7af4592e-aa89-4a17-90cb-c7956cbbc9ff",e._sentryDebugIdIdentifier="sentry-dbid-7af4592e-aa89-4a17-90cb-c7956cbbc9ff")}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 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: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,N)(T),_=S.memo(P);function W(){const e=m(),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(u.useEffect(()=>{n==="In-Progress"&&r==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),x(t.userId,t.zeniSessionId),e(D("Completed")),v.updateAppLocaleID("en"),k(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(_,{navigate:o,location:c})}export{W as default};
|