"use strict";const SettingUIV2=[{controls:[{type:"control",setting:{id:"discountAndShippingFee"},layout:"vertical"}]},{label:{en:"Content"},controls:[{label:{en:"Show"},popoverLabel:{en:"Show button"},type:"combo",iconName:"polaris-text-block",compoDefaultValue:"Show",getValueFromSettingID:"contentShow",disableClearMessage:"This content is needed for customers <br> to show the price breakdown",layout:"horizontal",controls:[{setting:{id:"contentShow"},label:{en:"Content"},layout:"vertical",isHideClear:!0}]},{label:{en:"Hide"},popoverLabel:{en:"Hide button"},type:"combo",iconName:"polaris-text-block",getValueFromSettingID:"contentHide",disableClearMessage:"This content is needed for customers <br> to hide the price breakdown",layout:"horizontal",controls:[{setting:{id:"contentHide"},label:{en:"Content"},layout:"vertical"}]}]},{label:{en:"Label"},controls:[{setting:{id:"labelStyle"},layout:"vertical"}]},{label:{en:"Money value"},controls:[{setting:{id:"moneyStyle"},layout:"vertical"}]},{label:{en:"Item spacing"},controls:[{label:{en:"Item gap"},setting:{id:"spacing"},layout:"horizontal"}]},{label:{en:"Size"},controls:[{label:{en:"Width"},setting:{id:"width"},layout:"horizontal"}]},{label:{en:"Price breakdown option"},controls:[{label:{en:"Direction"},setting:{id:"direction"},layout:"horizontal"},{label:{en:"Auto-expand"},setting:{id:"isShowPrice"},layout:"horizontal"}],moreSettings:{type:"collapse",controls:[{label:{en:"Sub total"},setting:{id:"isShowSubTotalLabel"},layout:"horizontal"},{label:{en:"Discount"},setting:{id:"isShowDiscountLabel"},layout:"horizontal"},{label:{en:"Shipping"},setting:{id:"isShowShippingLabel"},layout:"horizontal"},{label:{en:"Taxes"},setting:{id:"isShowTaxesLabel"},layout:"horizontal"},{label:{en:"Total"},setting:{id:"isShowTotalLabel"},layout:"horizontal"}]}},{controls:[{type:"control",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"},layout:"horizontal"}]}];exports.SettingUIV2=SettingUIV2;
