"use strict";const SettingUIV2=[{label:{en:"Layout"},controls:[{type:"control",label:{en:""},setting:{id:"layout"},layout:"vertical"}]},{controls:[{setting:{id:"productSetting"},layout:"vertical"}]},{label:{en:"Column spacing"},controls:[{type:"control",label:{en:"Gap"},setting:{id:"columnGap"},conditionDisplay:"!!layout.cols && layout.cols.length > 1"}]},{label:{en:"Column spacing"},controls:[{type:"control",label:{en:"Gap"},setting:{id:"rowGap"},conditionDisplay:"!!layout.cols && layout.cols.length == 1"}]},{label:{en:"Display"},controls:[{type:"control",label:{en:"Layout"},setting:{id:"productOfferLayout"},conditionDisplay:"(productSetting?.productIds?.length || 0) > 1"},{type:"control",label:{en:"Product quantity"},setting:{id:"dynamicOfferQuantity"},conditionDisplay:"(productSetting?.productIds?.length || 0) == 0"},{type:"control",label:{en:"Row gap"},setting:{id:"productOfferVerticalGutter"}},{type:"control",label:{en:"Column gap"},setting:{id:"productOfferColumnGap"}}]},{controls:[{type:"control",label:{en:""},setting:{id:"discountAndShippingFee"},layout:"vertical"}]},{label:{en:"Size"},controls:[{type:"control",label:{en:"Width"},setting:{id:"productOfferWidth"}}]},{controls:[{label:{en:"Align"},setting:{id:"inlineAlignment"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"},conditionEnable:'!(parseInt(productOfferWidth) >= 100 && productOfferWidth?.includes("%"))'}]}];exports.SettingUIV2=SettingUIV2;
