"use strict";exports.SettingUIV2=[{label:"Text",controls:[{type:"combo",label:"Content",iconName:"polaris-text-block",getValueFromSettingID:"description",defaultValueWhenClear:"",compoDefaultValue:"I understand this is a subscription that renews automatically until it ends or is canceled.",controls:[{layout:"vertical",setting:{id:"description"},label:"Content",isHideClear:!1,defaultValueWhenClear:""}]},{type:"combo",label:"Policy link",iconName:"polaris-text-block",getValueFromSettingID:"policyLabel",defaultValueWhenClear:"",compoDefaultValue:"Cancellation policy",controls:[{label:"Text",setting:{id:"policyLabel"},defaultValueWhenClear:""},{label:"Link",setting:{id:"policyLink"}}]},{type:"control",label:"Direction",setting:{id:"direction"},controlChangeTrigger:{options:{noRecordHistory:!0},settings:[{action:{controlId:"textAlign",newValue:"right",groupType:"style",controlType:"style"},condition:"direction === 'rtl' && textAlign === 'left'",source:["direction","textAlign"]},{action:{controlId:"textAlign",newValue:"left",groupType:"style",controlType:"style"},condition:"direction === 'ltr' && textAlign === 'right'",source:["direction","textAlign"]}]}},{setting:{id:"typo"},layout:"vertical",options:{updateFields:[{field:"attrs.textAlign",settingId:"align"}]},controlChangeTrigger:{settings:[{action:{controlId:"align",valueFromField:"attrs.textAlign",groupType:"setting",controlType:"setting"}}],options:{noRecordHistory:!0}}},{type:"control",setting:{id:"textAlign"},label:"Align"}]},{label:"Size",controls:[{type:"control",label:"Width",setting:{id:"width"}}]},{label:"Display",controls:[{label:"Pre-checked",setting:{id:"selected"}}]},{controls:[{label:"Align",conditionEnable:"!(parseInt(width) >= 100 && width?.includes(\"%\")) && width !== '1px'",setting:{id:"align"},options:{labelVariant:"primary",fullWidth:!0,disableMessage:"Horizontal alignment is disabled when the width is set to 100% or greater"}}]}];
