@zeniai/web-cockpit-ui 2.0.37-dev → 2.0.37-next
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-BgIk7yLu.js → Preview-BaVUMDTb.js} +1 -1
- package/dist/assets/{ScreenRoutes-6yDZGf2h.js → ScreenRoutes-C1jTSZpx.js} +45 -45
- package/dist/assets/SignInScreen-zLvdlmC0.js +1 -0
- package/dist/assets/{analytics-cwjP4Bou.js → analytics-DMdSHYEg.js} +1 -1
- package/dist/assets/{analyticsHelper-jtw74pIY.js → analyticsHelper-CyuKqYU-.js} +1 -1
- package/dist/assets/{core-DSRGnsuN.js → core-DxuyCanM.js} +1 -1
- package/dist/assets/{dash.all.min-C_-wAuJd.js → dash.all.min-C4VBVPAh.js} +1 -1
- package/dist/assets/{empty-HFaPDeHn.js → empty-COI1YpZZ.js} +1 -1
- package/dist/assets/{empty-CXYoV6Bj.js → empty-DBg3fbKc.js} +1 -1
- package/dist/assets/epic-BUcjp-Tu.js +2 -0
- package/dist/assets/{index-D5AujO_g.js → index-ALwzReHW.js} +1 -1
- package/dist/assets/{index-BERBAf7V.js → index-CWn2JM4u.js} +1 -1
- package/dist/assets/{index-7QOvkk33.js → index-Cv84xkU3.js} +1 -1
- package/dist/assets/{index-DLITyZ-5.js → index-D3NDSwmU.js} +1 -1
- package/dist/assets/{index-DNVGRlbp.js → index-DWqfg5h2.js} +8499 -9025
- package/dist/assets/{index-DKEW-Ru3.js → index-kKo5JeeU.js} +2 -2
- package/dist/assets/{index-CjA52rF1.js → index-kpopLAG3.js} +1 -1
- package/dist/assets/{lexical-zDu6lgQZ.js → lexical-CnMLH2uQ.js} +1 -1
- package/dist/assets/{liveblocks-CTqzt75Z.js → liveblocks-Dd3mV9zj.js} +1 -1
- package/dist/assets/{lottie-BS5f0GhF.js → lottie-D5Du2cuH.js} +1 -1
- package/dist/assets/{mui-D2XoZszz.js → mui-CG4CMra7.js} +1 -1
- package/dist/assets/{react-BlSMUZRS.js → react-B0ch-FXu.js} +2 -2
- package/dist/assets/{react-i00eeHLI.js → react-BlY6dVfH.js} +1 -1
- package/dist/assets/{react-BJ5SS4L0.js → react-Cn6r1blD.js} +1 -1
- package/dist/assets/{react-CWF4iW13.js → react-D9mgChoq.js} +1 -1
- package/dist/assets/{react-BUzbt_Qo.js → react-ITv0GC8F.js} +1 -1
- package/dist/assets/{react-CRDQ8EK1.js → react-oUUhm2G3.js} +1 -1
- package/dist/assets/{react-BnNmm0vD.js → react-p2iCI_od.js} +1 -1
- package/dist/assets/{react-CWf0NBhH.js → react-uRyhiCGR.js} +1 -1
- package/dist/assets/{recharts-Dgdt7a-L.js → recharts-G6OAM6-E.js} +1 -1
- package/dist/assets/{sentry-C6CbnDK5.js → sentry-BS7Xqw2z.js} +1 -1
- package/dist/assets/{url-RNtw1rmI.js → url-CC7NyqlJ.js} +1 -1
- package/dist/assets/{url-D3HF9rU-.js → url-DRFikJ03.js} +1 -1
- package/dist/assets/{utils-CxleEPDM.js → utils-DzlkXQ4U.js} +1 -1
- package/dist/assets/{zeni-epic-state-D_IWj6oD.js → zeni-epic-state-CaXs_A_N.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/SignInScreen-D5TVEilp.js +0 -1
- package/dist/assets/epic-CTyB5Dj-.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h,b as a}from"./sentry-
|
|
1
|
+
import{a as h,b as a}from"./sentry-BS7Xqw2z.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="6d600b3f-6c40-4b9e-8892-371ff81f1c30",t._sentryDebugIdIdentifier="sentry-dbid-6d600b3f-6c40-4b9e-8892-371ff81f1c30")}catch{}})();const c="64px",f={},k=({src:t,light:n,oEmbedUrl:r,onClickPreview:s,playIcon:m,previewTabIndex:I,previewAriaLabel:u})=>{const[p,o]=h.useState(null);h.useEffect(()=>{!t||!n||!r||_({src:t,light:n,oEmbedUrl:r})},[t,n,r]);const _=async({src:e,light:i,oEmbedUrl:E})=>{if(a.isValidElement(i))return;if(typeof i=="string"){o(i);return}if(f[e]){o(f[e]);return}o(null);const b=await(await fetch(E.replace("{url}",e))).json();if(b.thumbnail_url){const g=b.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");o(g),f[e]=g}},w=e=>{(e.key==="Enter"||e.key===" ")&&s?.(e)},v=e=>{s?.(e)},l=a.isValidElement(n),y={display:"flex",alignItems:"center",justifyContent:"center"},d={preview:{width:"100%",height:"100%",backgroundImage:p&&!l?`url(${p})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...y},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:l?"absolute":void 0,...y},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},x=a.createElement("div",{style:d.shadow,className:"react-player__shadow"},a.createElement("div",{style:d.playIcon,className:"react-player__play-icon"}));return a.createElement("div",{style:d.preview,className:"react-player__preview",tabIndex:I,onClick:v,onKeyDown:w,...u?{"aria-label":u}:{}},l?n:null,m||x)};var S=k;export{S as default};
|