"use strict";const SettingUIV2=[{label:{en:"Separator icon"},controls:[{label:{en:"Icon"},setting:{id:"iconSvg"}},{label:{en:"Color"},setting:{id:"color"}},{label:{en:"Size"},setting:{id:"iconWidth"}}]},{label:{en:"Text style"},controls:[{setting:{id:"typo"},layout:"vertical",options:{updateFields:[{field:"attrs.color",settingId:"labelColor",state:"normal"}]},controlChangeTrigger:{settings:[{action:{controlId:"labelColor",valueFromField:"attrs.color",groupType:"setting",controlType:"setting",removeDevice:!0,state:"normal"}}],options:{noRecordHistory:!0}}}]},{label:{en:"Item spacing"},controls:[{label:{en:"Gap"},setting:{id:"spacing"}}]},{label:{en:"Size"},controls:[{label:{en:"Padding"},controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"globalSize",field:"padding"},compoDefaultValue:{desktop:{default:{type:"custom",top:"4px",bottom:"4px",left:"16px",right:"16px"}}}}}]},{label:{en:"Background"},controls:[{label:{en:"Color"},controlConfig:{id:"background-color",type:"color-picker-v2",linkWithSetting:{name:"background",field:"color"},compoDefaultValue:{desktop:{default:"#ffffff"}}}}]},{label:{en:"Shape"},controls:[{label:{en:"Border"},setting:{id:"border",state:"normal"}},{label:{en:"Corner"},setting:{id:"rounded",state:"normal"}},{label:{en:"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}}}]},{label:{en:"Effect"},controls:[{label:{en:"Hover"},type:"combo",iconName:"polaris-check-hover",fixedValue:"Styled",popoverLabel:{en:"Hover"},setting:{id:"enableHoverEffect"},state:"hover",controls:[{label:{en:"Text color"},setting:{id:"labelColor",state:"hover"}},{label:{en:"Font weight"},setting:{id:"fontWeight",state:"hover"}}]},{label:{en:"Active"},type:"combo",iconName:"polaris-status-active",fixedValue:"Styled",popoverLabel:{en:"Active"},setting:{id:"enableActiveEffect"},state:"active",controls:[{label:{en:"Text color"},setting:{id:"labelColor",state:"active"}},{label:{en:"Font weight"},setting:{id:"fontWeight",state:"active"}}]}]},{label:{en:"Display option"},controls:[{label:{en:"Hide active page"},setting:{id:"hideCurrentPage"}}]},{controls:[{label:{en:"Align"},setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0}}]}];exports.SettingUIV2=SettingUIV2;
