let SettingUIV2=[{label:{en:"Condition"},controls:[{type:"combo",label:{en:"Message"},iconName:"polaris-text-block",getValueFromSettingID:"conditionText",isHideClear:!0,controls:[{type:"control",label:{en:"Content"},setting:{id:"conditionText"},layout:"vertical"}],layout:"horizontal",compoDefaultValue:"Offer expires in:"},{type:"control",label:{en:"Expired after"},setting:{id:"expired"},layout:"horizontal"}]},{label:{en:"Text"},controls:[{type:"control",label:{en:"Direction"},setting:{id:"direction"},controlChangeTrigger:{settings:[{action:{controlId:"textAlign",newValue:"right",groupType:"style",controlType:"style"},condition:"direction === 'rtl'",source:["direction"]}],options:{noRecordHistory:!0}}},{type:"control",label:{en:"Background color"},setting:{id:"bgColor"},layout:"horizontal"},{id:"typo",type:"control",label:{en:""},setting:{id:"typo"},layout:"vertical"},{type:"control",label:{en:"Align"},setting:{id:"textAlign"},layout:"horizontal"}]},{label:{en:"Size"},controls:[{label:{en:"Width"},setting:{id:"width"},type:"control"}]},{label:{en:"After Expired"},controls:[{type:"combo",label:{en:"Message"},iconName:"polaris-text-block",getValueFromSettingID:"expiredText",isHideClear:!0,controls:[{type:"control",label:{en:"Content"},setting:{id:"expiredText"},layout:"vertical"}],layout:"horizontal",compoDefaultValue:"Offer expired"},{type:"control",label:{en:"Action"},setting:{id:"whenTimeOut"},layout:"horizontal"}]},{controls:[{label:{en:"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"},setting:{id:"align"},layout:"horizontal"}]}];export{SettingUIV2};
