import{k as f,D as E,_ as h}from"./index-59bc3b6e.js";import{B as C,C as v,a as B,m as k}from"./element-plus-bd23c18b.js";import{I as y,_ as x,ag as o,o as l,M as p,O as a,W as r,U as g,c as w,a9 as I,S as $,X as D}from"./@vue-2b7f1207.js";import"./vue-router-0de4a90b.js";import"./monaco-editor-530c6fe2.js";import"./vue-a9a7eb42.js";import"./@element-plus-b40d27ee.js";import"./@vueuse-bbff6225.js";import"./lodash-es-8470c7e9.js";import"./async-validator-b6b8d38d.js";import"./@ctrl-b0f23ca4.js";import"./@popperjs-7c8154ca.js";import"./escape-html-19374969.js";import"./dayjs-39b5b250.js";import"./normalize-wheel-es-ed76fb12.js";const F=y({name:"MyBlock",components:{XPanel:f,ElCarousel:C,ElCarouselItem:v,ElInput:B,ElButton:k},props:{title:{type:[String],required:!1,default:"默认参数标题文本"}},emits:["submit"],setup(e){const t=E();return{state:x({value:""}),props:e,provider:t}},methods:{click_handler_ix6mw4vvx6({scope_1e4ussdvwj4:e},t){return(n=>{this.$emit("submit",this.state.value)}).apply(this,t)}}});function V(e,t,n,X,j,M){const m=o("ElCarouselItem"),i=o("ElCarousel"),c=o("ElInput"),d=o("ElButton"),_=o("XPanel");return l(),p(_,{header:e.$props.title,footer:{flex:!0}},{footer:a(u=>[r(c,{modelValue:e.state.value,"onUpdate:modelValue":t[0]||(t[0]=s=>e.state.value=s),placeholder:"请输入事件参数文本"},null,8,["modelValue"]),r(d,{type:"primary",onClick:(...s)=>e.click_handler_ix6mw4vvx6({scope_1e4ussdvwj4:u},s)},{default:a(()=>[g(" 测试触发事件 ")]),_:2},1032,["onClick"])]),default:a(()=>[r(i,{height:"300px",style:{width:"100%"}},{default:a(()=>[(l(),w(D,null,I(3,(u,s)=>r(m,{style:{width:"100%"}},{default:a(()=>[(l(),p($("img"),{style:{width:"100%",height:"300px"},src:"https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"}))]),_:1})),64))]),_:1})]),_:1},8,["header"])}const K=h(F,[["render",V]]);export{K as default};
