"use strict";const SettingUIV1=[{type:"control",label:{en:"Layout"},setting:{id:"contentType"},options:{label:"large"},layout:"vertical"},{type:"group",controls:[{type:"control",setting:{id:"displayTrigger"},options:{label:"large"}}]},{type:"control",label:{en:"Background Color"},setting:{id:"backgroundColor"}},{type:"group",label:{en:"Content"},controls:[{type:"control",condition:'contentType === "image"',layout:"vertical",setting:{id:"image"}},{type:"control",setting:{id:"displayContent"},condition:'contentType == "text"'},{type:"control",setting:{id:"typo"},layout:"vertical",condition:'contentType == "text"',isMoreSetting:!1}]},{type:"group",label:{en:"Badge"},controls:[{type:"control",label:{en:"Shape"},setting:{id:"shape"},condition:'contentType == "text"'},{type:"control",label:{en:"Color"},setting:{id:"badgeColorV2"},condition:'contentType == "text"'},{type:"control",label:{en:"Border"},setting:{id:"wrapperBorder"},condition:'contentType == "text" && ["square", "vertical_rectangle", "horizontal_rectangle"].includes(shape)'},{type:"control",label:{en:"Corner"},setting:{id:"borderRadius"},condition:'contentType == "text" && ["square", "vertical_rectangle", "horizontal_rectangle"].includes(shape)'},{type:"control",label:{en:"Shadow"},setting:{id:"hasShadow"},condition:'contentType == "text"'},{type:"control",setting:{id:"shapeShadow"},layout:"vertical",condition:'contentType == "text" && hasShadow === true'}]},{type:"control",label:{en:"Position"},setting:{id:"position"},layout:"vertical",condition:'positionWithImage === "inside"'},{type:"group",label:{en:"Size"},controls:[{type:"control",setting:{id:"textSize"},layout:"vertical",condition:'contentType === "text"'},{type:"control",setting:{id:"imageSize"},layout:"vertical",condition:'contentType === "image"'}]},{type:"control",label:{en:"Align"},options:{label:"large"},setting:{id:"align"},condition:"(contentType == \"text\" ? textSize.width !== '100%' : imageSize.width !== '100%') && positionWithImage === \"outside\""}];exports.SettingUIV1=SettingUIV1;
