"use strict";exports.SettingUIV2=[{controls:[{label:"Button",setting:{id:"hasButton"},options:{labelVariant:"primary",toggleStyle:"switch"}},{label:"Width",hiddenOnMobile:!0,setting:{id:"buttonWidth"},conditionDisplay:"hasButton === true"},{label:"Background",setting:{id:"buttonBackgroundColor",state:"normal"},conditionDisplay:"hasButton === true"},{label:"Plus icon",setting:{id:"plusIcon"},conditionDisplay:"hasButton === true"},{label:"Minus icon",setting:{id:"minusIcon"},conditionDisplay:"hasButton === true"},{label:"Icon color",setting:{id:"iconColor",state:"normal"},conditionDisplay:"hasButton === true"}],moreSettings:{type:"collapse",controls:[{label:"Icon size",setting:{id:"iconSizeCustom"},conditionDisplay:"hasButton === true"},{label:"Border",hiddenOnMobile:!0,setting:{id:"borderBtn",state:"normal"},conditionDisplay:"hasButton === true"},{label:"Corner",hiddenOnMobile:!0,setting:{id:"corner",state:"normal"},conditionDisplay:"hasButton === true"},{label:"Hover",hiddenOnMobile:!0,type:"combo",iconName:"polaris-check-clicked",fixedValue:"Styled",setting:{id:"enableHoverButton"},popoverLabel:"Hover effect",state:"hover",conditionDisplay:"hasButton === true",controls:[{label:"Background",setting:{id:"buttonBackgroundColor",state:"hover"},compoDefaultValue:{default:"highlight"}},{label:"Icon color",setting:{id:"iconColor",state:"hover"}},{label:"Border",setting:{id:"borderBtn",state:"hover"}},{label:"Corner",setting:{id:"corner",state:"hover"}}]}]}},{label:"Input",controls:[{label:"Background",setting:{id:"inputBackgroundColor",state:"normal"}},{label:"Text style",setting:{id:"typo"},options:{updateFields:[{field:"attrs.color",settingId:"textColor",state:"normal"}]},controlChangeTrigger:{settings:[{action:{controlId:"textColor",valueFromField:"attrs.color",groupType:"style",controlType:"style",removeDevice:!0,state:"normal"}}],options:{noRecordHistory:!0}}},{label:"Divider",hiddenOnMobile:!0,type:"combo",conditionDisplay:"hasButton === true",comboType:"color",getValueFromSettingID:"dividerColor.normal",compoDefaultValue:"line-3",controls:[{label:"Color",setting:{id:"dividerColor",state:"normal"}},{label:"Thickness",setting:{id:"dividerStroke",state:"normal"}}]},{label:"Border",hiddenOnMobile:!0,setting:{id:"inputBorder",state:"normal"},conditionDisplay:"hasButton === false"},{label:"Hover",hiddenOnMobile:!0,type:"combo",iconName:"polaris-check-clicked",fixedValue:"Styled",popoverLabel:"Hover effect",setting:{id:"enableHoverInput"},state:"hover",controls:[{label:"Background",setting:{id:"inputBackgroundColor",state:"hover"}},{label:"Text color",setting:{id:"textColor",state:"hover"}},{label:"Divider color",setting:{id:"dividerColor",state:"hover"},conditionDisplay:"hasButton === true"},{label:"Divider thickness",setting:{id:"dividerStroke",state:"hover"},conditionDisplay:"hasButton === true"},{label:"Border",setting:{id:"inputBorder",state:"hover"},conditionDisplay:"hasButton === false"}]}]},{label:"Size",hiddenOnMobile:!0,controls:[{label:"Width",setting:{id:"quantityWidth"}},{label:"Height",setting:{id:"inputHeight"}}]},{label:"Background",controls:[{label:"Color",setting:{id:"backgroundColor"}}]},{label:"Shape",hiddenOnMobile:!0,controls:[{label:"Border",setting:{id:"shapeBorder"}},{label:"Corner",setting:{id:"shapeRounded"}},{label:"Shadow",setting:{id:"shapeShadow"}}]},{label:"Display condition",controls:[{label:"Default quantity",setting:{id:"defaultQtyValue"}},{label:"Update price",setting:{id:"updatePrice"}}]},{controls:[{label:"Align",hiddenOnMobile:!0,conditionEnable:'!(parseInt(quantityWidth) >= 100 && quantityWidth?.includes("%"))',setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Align is not supported when width is 100%"}}]}];
