@zeniai/web-cockpit-ui 2.1.54-qa → 2.1.55-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-DKn4XLV8.js → CreditAgentRoutes-nW3JX-ny.js} +1 -1
  2. package/dist/assets/{Preview-CgBO8ksH.js → Preview-DXuu7iE9.js} +1 -1
  3. package/dist/assets/{ScreenRoutes-Bt9aI0Hq.js → ScreenRoutes-Dqvtvve0.js} +63 -63
  4. package/dist/assets/{SignInScreen-BcYvac_z.js → SignInScreen-Mx4srte3.js} +1 -1
  5. package/dist/assets/{analytics-ygl9B77q.js → analytics-CKEOTGkv.js} +1 -1
  6. package/dist/assets/{analyticsHelper-i47scEm4.js → analyticsHelper-C02VywOG.js} +1 -1
  7. package/dist/assets/{core--dNpI2Hs.js → core-BJMiZnx7.js} +1 -1
  8. package/dist/assets/{dash.all.min-Dn2Ie1fS.js → dash.all.min-Vrl8Bszy.js} +1 -1
  9. package/dist/assets/{empty-DhbOVmJ6.js → empty-BMBYCyDC.js} +1 -1
  10. package/dist/assets/{empty-qqXAT8Xq.js → empty-D05YkD5d.js} +1 -1
  11. package/dist/assets/{epic-BqRGcHZl.js → epic-BNAH8E9M.js} +1 -1
  12. package/dist/assets/{index-CVGZbWNP.js → index-CT8j4Oma.js} +1 -1
  13. package/dist/assets/{index-BS3LOvx8.js → index-Cmhix-In.js} +9285 -9172
  14. package/dist/assets/{index-BVY4gj3F.js → index-DMeB7jMD.js} +1 -1
  15. package/dist/assets/{index-8aQbB6MC.js → index-Jb9ukY5r.js} +1 -1
  16. package/dist/assets/{index-dmXTy4Jc.js → index-NP4KCzkC.js} +1 -1
  17. package/dist/assets/{index-C_nMy_uc.js → index-W1qBxMt4.js} +1 -1
  18. package/dist/assets/{index-DSc2NBeN.js → index-XvJvzGKe.js} +2 -2
  19. package/dist/assets/{lexical-BJMo0Vll.js → lexical-BIlXEmyV.js} +1 -1
  20. package/dist/assets/{liveblocks-DAAHi9bs.js → liveblocks-DffGU-Ic.js} +1 -1
  21. package/dist/assets/{lottie-CGA9Ck2_.js → lottie-C6-vMi-N.js} +1 -1
  22. package/dist/assets/{mui-Bh0n21NE.js → mui-Bjbx9-hw.js} +1 -1
  23. package/dist/assets/{react-quOCFqtD.js → react-BjMTTz3o.js} +2 -2
  24. package/dist/assets/{react-dwvWYwE7.js → react-C9YSGZWo.js} +1 -1
  25. package/dist/assets/{react-hgGVZw20.js → react-C_wBJY74.js} +1 -1
  26. package/dist/assets/{react-C-VjmsKD.js → react-CgTa4ZCM.js} +1 -1
  27. package/dist/assets/{react-B9VaiTB5.js → react-DP6OW0X7.js} +1 -1
  28. package/dist/assets/{react-DoOPrhkL.js → react-DnlroIVR.js} +1 -1
  29. package/dist/assets/{react-Cq3O6_Xv.js → react-DqLAbkTz.js} +1 -1
  30. package/dist/assets/{react-DHnVZsE8.js → react-Dy4WPbDc.js} +1 -1
  31. package/dist/assets/{recharts-CMngpfy-.js → recharts-Cn9r2Nim.js} +1 -1
  32. package/dist/assets/{sentry-BJKskai2.js → sentry-dNiixEsI.js} +1 -1
  33. package/dist/assets/{url-phy3CCdp.js → url-BAAURAjJ.js} +1 -1
  34. package/dist/assets/{url-pUgOrA6I.js → url-DUT0hNV6.js} +1 -1
  35. package/dist/assets/{utils-Deou03Vv.js → utils-Bq9L7Jou.js} +1 -1
  36. package/dist/assets/{zeni-epic-state-BSdnPM63.js → zeni-epic-state-vZRX9gUc.js} +3 -3
  37. package/dist/index.html +1 -1
  38. package/package.json +2 -2
@@ -1 +1 @@
1
- import{j as d}from"./liveblocks-DAAHi9bs.js";import{a as f,R as S,n as I}from"./sentry-BJKskai2.js";import{n as m,i as w,g,u as h,N as y,h as b}from"./core--dNpI2Hs.js";import{z as l,E,O as C,a as v,o as U,Z as P,b as p}from"./index-BS3LOvx8.js";import{P0 as T,P1 as x,P2 as L,P3 as z,bn as u}from"./zeni-epic-state-BSdnPM63.js";import{f as D}from"./analyticsHelper-i47scEm4.js";import"./recharts-CMngpfy-.js";import"./mui-Bh0n21NE.js";import"./analytics-ygl9B77q.js";import"./lottie-CGA9Ck2_.js";import"./lexical-BJMo0Vll.js";import"./utils-Deou03Vv.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]="07c0246f-335d-4c78-9f5c-bc82e2239828",e._sentryDebugIdIdentifier="sentry-dbid-07c0246f-335d-4c78-9f5c-bc82e2239828")}catch{}})();function A(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:a}=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:u(s),sourceUri:u(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>l.getSignedInUser(),onSignedInCallback:()=>{const n=i.state?.origin;n&&n!=="/"?a(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(L())}}}const O=b(A,N)(P),k=S.memo(O);function G(){const e=m(),o=w(),i=l.getSignedInUser(),a=g(r=>r.tenantState.fetchState),n=g(r=>r.tenantState.signInState),t=g(r=>r.tenantState.loggedInUser),s=E().mode,c=h();if(f.useEffect(()=>{n==="In-Progress"&&a==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),T(t.userId,t.zeniSessionId),e(x("Completed")),C.updateAppLocaleID("en"),D(t,s),setTimeout(()=>{v.trackLogin(U.Event.loginSuccess,t.authProvider??"google")},2e3))},[]),n==="In-Progress"&&a==="Completed"&&t?.zeniSessionId!=null||i!=null){const r=c.state?.origin??"/";return d.jsx(y,{to:r,state:{...c.state,origin:""}})}else return d.jsx(k,{navigate:o,location:c})}export{G as default};
1
+ import{j as d}from"./liveblocks-DffGU-Ic.js";import{a as u,R as S,n as I}from"./sentry-dNiixEsI.js";import{n as m,i as w,g,u as h,N as y,h as b}from"./core-BJMiZnx7.js";import{z as l,E,O as C,c as v,o as U,Z as P,d as p}from"./index-Cmhix-In.js";import{P0 as T,P1 as x,P2 as L,P3 as z,bn as f}from"./zeni-epic-state-vZRX9gUc.js";import{f as D}from"./analyticsHelper-C02VywOG.js";import"./recharts-Cn9r2Nim.js";import"./mui-Bjbx9-hw.js";import"./analytics-CKEOTGkv.js";import"./lottie-C6-vMi-N.js";import"./lexical-BIlXEmyV.js";import"./utils-Bq9L7Jou.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]="4426f426-f493-4623-82d7-f38bc5243c6c",e._sentryDebugIdIdentifier="sentry-dbid-4426f426-f493-4623-82d7-f38bc5243c6c")}catch{}})();function A(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:a}=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:()=>l.getSignedInUser(),onSignedInCallback:()=>{const n=i.state?.origin;n&&n!=="/"?a(n,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{e(L())}}}const O=b(A,N)(P),k=S.memo(O);function G(){const e=m(),o=w(),i=l.getSignedInUser(),a=g(r=>r.tenantState.fetchState),n=g(r=>r.tenantState.signInState),t=g(r=>r.tenantState.loggedInUser),s=E().mode,c=h();if(u.useEffect(()=>{n==="In-Progress"&&a==="Completed"&&t?.zeniSessionId!=null&&(l.saveSignedInUserWithSession(t,t.zeniSessionId),T(t.userId,t.zeniSessionId),e(x("Completed")),C.updateAppLocaleID("en"),D(t,s),setTimeout(()=>{v.trackLogin(U.Event.loginSuccess,t.authProvider??"google")},2e3))},[]),n==="In-Progress"&&a==="Completed"&&t?.zeniSessionId!=null||i!=null){const r=c.state?.origin??"/";return d.jsx(y,{to:r,state:{...c.state,origin:""}})}else return d.jsx(k,{navigate:o,location:c})}export{G as default};