PageSourceSearch

https://www.ifm.com/frontend/vue/js/IfmImageWithLegendModalContainer-Dywm03Qn.js

js ifm.com collected 2026-10-01 10:15:10 UTC 1,532 bytes, 1 lines download raw bytes

1import{e as p,v as h,w as v}from"./main-DrrLAuEI.js";import{k as r,C as d,Q as g,J as M,K as i,u as w,G as I,h as C,V as k,D as L,M as $,r as m}from"./vuetify-CEdGN6Iz.js";const B={class:"ifm-image-with-legend-modal__body"},U={class:"ifm-image-with-legend-modal__image-container"},b=["innerHTML"],E=r({__name:"IfmImageWithLegendModal",props:{imageUrlMap:{},legend:{}},emits:["close"],setup(o){const s=new Map([[64,50],[90,50]]);return(e,a)=>(d(),g(p,{class:"ifm-image-with-legend-modal","dismiss-on-backdrop":!0,"show-footer":!1,"show-header":!1,onClose:a[0]||(a[0]=t=>e.$emit("close"))},{default:M(()=>[i("div",B,[i("div",U,[w(h,{class:"ifm-image-with-legend-modal__image","image-sizes":I(s),"image-urls":o.imageUrlMap,"is-product-image":!1},null,8,["image-sizes","image-urls"])]),i("div",{class:"ifm-image-with-legend-modal__legend",innerHTML:o.legend},null,8,b)])]),_:1}))}}),V={class:"ifm-image-with-legend-modal-container"},z=r({__name:"IfmImageWithLegendModalContainer",setup(o){const s=C("parentModalId",void 0),e=m(!1),a=m(),t=m();function u(n){a.value=v(n.detail.imageUrlMap),t.value=n.detail.content,e.value=!0}function f(){e.value=!1}const c=n=>{const l=n,_=l.detail.modalId;s===_&&u(l)};return document.addEventListener("open-image-with-legend-modal",c),k(()=>{document.removeEventListener("open-image-with-legend-modal",c)}),(n,l)=>(d(),L("div",V,[e.value?(d(),g(E,{key:0,"is-accessory-modal":!1,"image-url-map":a.value,legend:t.value,onClose:f},null,8,["image-url-map","legend"])):$("",!0)]))}});export{z as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.