import{_ as e,d as a,e as l,h as t,f as d,k as o,n as s,t as u,v as i}from"./index.286e9b79.js";import{E as m,a as r}from"./form.ad10dcd5.js";import"./input.31de1b37.js";/* empty css            */import{E as p,a as f}from"./select.297a82d5.js";import"./form-item.9355e6dc.js";import{E as n}from"./col.5ff06cbd.js";/* empty css                    *//* empty css              */import{E as c,a as b}from"./index.569c0449.js";import"./_initCloneObject.fb8fbaea.js";import"./event.776e7e11.js";import"./index.ed3ed02e.js";import"./index.27150c7e.js";import"./token.34cb8214.js";import"./strings.8c60bfae.js";import"./isEqual.57d72c4a.js";import"./scroll.a50153b5.js";import"./_baseIteratee.9ead53a1.js";import"./debounce.caafe00b.js";const _=(e=>(u("data-v-1492ec13"),e=e(),i(),e))((()=>t("div",{class:"widget-title"},[t("div",null,"商品分类")],-1))),j={class:"content"},V={class:"content-wrap"},v=e({__name:"panel",props:{modelValue:{type:[Object,Array],default:{}}},emits:["update:modelValue"],setup(e,{emit:u}){const i=e,v=()=>{3!=i.modelValue.style&&(i.modelValue.layout=1)};return(e,u)=>{const y=c,h=b,x=n,w=m,g=p,E=f,U=r;return a(),l("div",null,[_,t("div",j,[d(U,{"label-position":"left"},{default:o((()=>[t("div",V,[d(w,{label:"搜索栏目","label-width":"100px"},{default:o((()=>[d(x,{span:24},{default:o((()=>[d(h,{modelValue:i.modelValue.isSearch,"onUpdate:modelValue":u[0]||(u[0]=e=>i.modelValue.isSearch=e)},{default:o((()=>[d(y,{value:0},{default:o((()=>[s("开启")])),_:1}),d(y,{value:1},{default:o((()=>[s("关闭")])),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1}),d(w,{label:"分类显示","label-width":"100px"},{default:o((()=>[d(x,{span:24},{default:o((()=>[d(E,{onChange:v,modelValue:i.modelValue.style,"onUpdate:modelValue":u[1]||(u[1]=e=>i.modelValue.style=e),placeholder:"请选择",size:"default",style:{width:"100%"}},{default:o((()=>[d(g,{label:"一级分类",value:1},{default:o((()=>[s("一级分类")])),_:1}),d(g,{label:"二级分类",value:2},{default:o((()=>[s("二级分类")])),_:1}),d(g,{label:"三级分类",value:3},{default:o((()=>[s("三级分类")])),_:1})])),_:1},8,["modelValue"])])),_:1})])),_:1}),d(w,{label:"布局风格","label-width":"100px"},{default:o((()=>[d(x,{span:24},{default:o((()=>[d(E,{modelValue:i.modelValue.layout,"onUpdate:modelValue":u[2]||(u[2]=e=>i.modelValue.layout=e),placeholder:"请选择",size:"default",style:{width:"100%"}},{default:o((()=>[d(g,{label:"布局一",value:1},{default:o((()=>[s("布局一")])),_:1}),d(g,{label:"布局二",value:2},{default:o((()=>[s("布局二")])),_:1}),d(g,{label:"布局三",value:3,disabled:1==i.modelValue.style||2==i.modelValue.style},{default:o((()=>[s("布局三")])),_:1},8,["disabled"])])),_:1},8,["modelValue"])])),_:1})])),_:1})])])),_:1})])])}}},[["__scopeId","data-v-1492ec13"]]);export{v as default};
