"use strict";const SettingUIV2=[{label:"Article source",controls:[{setting:{id:"articleSetting"},layout:"vertical"}]},{label:"Display",controls:[{label:"Columns",setting:{id:"slideToShow"}},{label:"Sort by",conditionDisplay:'articleSetting && articleSetting.articlePickType !== "manually"',setting:{id:"articleOrderBy"},help:{content:"Publish this page to view the correct order on live store"}}]},{label:"Number of article",controls:[{label:"Number",conditionDisplay:'articleSetting && articleSetting.articlePickType !== "manually"',setting:{id:"numberOfArticle"}}]},{label:"Item spacing",controls:[{label:"Columns gap",setting:{id:"verticalGutter"}},{label:"Rows gap",setting:{id:"horizontalGutter"}}]},{label:"Size",controls:[{id:"Width",label:"Width",controlConfig:{id:"width",type:"dropdown:input",label:"Width",inputType:"number",units:["px","%"],hideUnit:!1,linkWithSetting:{name:"width"},displayOptions:[{label:"Full",value:"100%",showValue:!0},{label:"Default",value:"default",showValue:!0}]},layout:"horizontal"},{label:"Padding",controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"spacing-setting",field:"padding"},compoDefaultValue:{desktop:{default:{type:"custom",top:"4px",left:"16px",bottom:"4px",right:"16px"}}}}}]},{label:"Background",controls:[{setting:{id:"background"},layout:"vertical"}]},{label:"Shape",controls:[{label:"Border",controlConfig:{id:"border-advanced",type:"border-v2",linkWithSetting:{name:"border",field:"normal"},compoDefaultValue:{color:"line-3",border:"solid",width:"1px",borderWidth:"1px"}}},{label:"Corner",setting:{id:"rounded",state:"normal"}},{label:"Shadow",setting:{id:"boxShadow",state:"normal"},options:{updateFields:[{field:"normal.enable",settingId:"hasBoxShadow",state:"normal"}]},controlChangeTrigger:{settings:[{condition:"boxShadow.normal.enable === true",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!0}},{condition:"boxShadow.normal.enable === false",source:["boxShadow","hasBoxShadow"],action:{controlId:"hasBoxShadow",groupType:"advanced",controlType:"advanced",state:"normal",newValue:!1}}],options:{noRecordHistory:!0}}}]}];exports.SettingUIV2=SettingUIV2;
