"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./main-BB7fFseo.cjs"),s=require("./index-YwS-u3iG.cjs"),i=e.defineComponent({__name:"Tabs",props:e.mergeModels({options:{},label:{},tips:{},wrap:{type:Boolean},custom:{type:Boolean},is_title:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(r){const u=r,n=e.useModel(r,"modelValue");return(a,t)=>(e.openBlock(),e.createBlock(s.Row,e.normalizeProps(e.guardReactiveProps(u)),{default:e.withCtx(()=>[e.createVNode(e.unref(e.ElButtonGroup),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.options,o=>(e.openBlock(),e.createBlock(e.unref(e.ElButton),{key:o.value,type:o.value===n.value?"primary":"",onClick:l=>n.value=o.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.label),1)]),_:2},1032,["type","onClick"]))),128))]),_:1})]),_:1},16))}}),c=e.defineComponent({__name:"CarouselSetting",setup(r){const n=[1,3,5].map(t=>({label:`${t}行`,value:t})),a=e.computed({get:()=>{var t;return(t=e.activeWidgetAttrs.value)==null?void 0:t.rows},set:t=>{e.setActiveWidgetRows(t)}});return(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(s.TitleRow),null,{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=e.unref(e.activeWidgetInfo))==null?void 0:l.name)+"设置 ",1)]}),_:1}),e.createVNode(e.unref(i),{label:"显示行数",modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=l=>a.value=l),options:e.unref(n)},null,8,["modelValue","options"])],64))}});exports.default=c;
