"use strict";const SettingUIV2=[{label:{en:"Options settings"},controls:[{type:"control",label:{en:"Type"},setting:{id:"optionType"}},{type:"control",label:{en:"Option's price"},setting:{id:"price"},conditionDisplay:"optionType == 'groupOption'"},{type:"control",label:{en:"Sold out mark"},setting:{id:"soldOutMark"}}]},{controls:[{conditionDisplay:"optionType == 'singleOption'",layout:"vertical",setting:{id:"variantPresets"}}]},{conditionDisplay:"optionType === 'groupOption'",label:{en:"Option style"},controls:[{type:"control",label:{en:"Width"},setting:{id:"combineWidth"}}]},{label:{en:"Size"},controls:[{type:"control",label:{en:"Width"},setting:{id:"width"}},{type:"control",label:{en:"Spacing"},setting:{id:"variantSpacing"}}]},{controls:[{label:{en:"Align"},setting:{id:"align"},conditionEnable:'!(parseInt(width) >= 100 && width?.includes("%"))',options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"}}]}];exports.SettingUIV2=SettingUIV2;
