let t=[{label:"Condition",controls:[{type:"combo",label:"Message",iconName:"polaris-text-block",getValueFromSettingID:"conditionText",isHideClear:!0,controls:[{type:"control",label:"Content",setting:{id:"conditionText"},layout:"vertical"}],layout:"horizontal",compoDefaultValue:"Offer expires in:"},{type:"control",label:"Expired after",setting:{id:"expired"},layout:"horizontal"}]},{label:"Text",controls:[{type:"control",label:"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:"Background color",setting:{id:"bgColor"},layout:"horizontal"},{id:"typo",type:"control",setting:{id:"typo"},layout:"vertical"},{type:"control",label:"Align",setting:{id:"textAlign"},layout:"horizontal"}]},{label:"Size",controls:[{label:"Width",setting:{id:"width"},type:"control"}]},{label:"After Expired",controls:[{type:"combo",label:"Message",iconName:"polaris-text-block",getValueFromSettingID:"expiredText",isHideClear:!0,controls:[{type:"control",label:"Content",setting:{id:"expiredText"},layout:"vertical"}],layout:"horizontal",compoDefaultValue:"Offer expired"},{type:"control",label:"Action",setting:{id:"whenTimeOut"},layout:"horizontal"}]},{controls:[{label:"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{t as SettingUIV2};
