let SettingUIV2=[{controls:[{label:"Tag",setting:{id:"customContent"},layout:"vertical",options:{labelVariant:"primary"}}]},{label:"Size",controls:[{label:"Width",controlConfig:{id:"width",type:"dropdown:input",units:["px","%"],linkWithSetting:{name:"size",field:"width"},displayOptions:[{label:"Fit content",value:"Auto",showValue:!0},{label:"Full",value:"100%",showValue:!0},{label:"Default",value:"default",showValue:!0}]}},{id:"height",label:"Height",controlConfig:{id:"height",type:"dropdown:input",label:"Height",units:["px","%"],linkWithSetting:{name:"size",field:"height"}},layout:"horizontal"},{label:"Padding",controlConfig:{id:"padding",type:"padding-v2",linkWithSetting:{name:"size",field:"padding"}}}]},{label:"Background",controls:[{label:"Color",setting:{id:"backgroundColor"}}]},{label:"Shape",controls:[{label:"Border",setting:{id:"borderTag"}},{label:"Corner",setting:{id:"roundedTag"}}]},{label:"Text style",controls:[{setting:{id:"typo"},layout:"vertical",options:{hideLabel:!0,fullWidth:!0,updateFields:[{field:"attrs.textAlign",settingId:"textContentAlign"}]},controlChangeTrigger:{settings:[{action:{controlId:"textContentAlign",valueFromField:"attrs.textAlign",groupType:"style",controlType:"style"}}],options:{noRecordHistory:!0}}}]},{controls:[{label:"Align",setting:{id:"textAlign"},conditionEnable:'!(parseInt(size.width) >= 100 && size.width?.includes("%"))',options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Align is not supported when width is 100%"}}]}];export{SettingUIV2};
