tmagic-editor/playground/runtime/vue/page/assets/index-legacy-B8TBKR5k.js
2025-09-16 11:54:19 +00:00

3 lines
775 B
JavaScript

System.register(["./plugin-vueexport-helper-legacy-ZwsfQkYS.js","./index-legacy-BcevF5gJ.js"],function(e,r){"use strict";var n,t,c,i,o,a;return{setters:[e=>{n=e.a,t=e.r,c=e._},e=>{i=e.d,o=e.c,a=e.o}],execute:function(){const r=i({name:"tmagic-img",props:{config:{type:Object,required:!0},iteratorIndex:Array,iteratorContainerId:Array,containerIndex:Number,pageFragmentContainerId:[String,Number],model:{type:Object,default:()=>({})}},setup(e){const r=n(e);return t(r),{clickHandler:()=>{e.config.url&&(window.location.href=e.config.url)}}}}),l=["src"];e("default",c(r,[["render",function(e,r,n,t,c,i){return a(),o("img",{src:e.config.src,onClick:r[0]||(r[0]=(...r)=>e.clickHandler&&e.clickHandler(...r))},null,8,l)}]]))}}});
//# sourceMappingURL=index-legacy-B8TBKR5k.js.map