', {
class: buttonWrapperClasses.join(' ')
}).append($button);
}
}, {
key: "getSubmitButton",
value: function getSubmitButton() {
var _this6 = this;
var _this$getSettings14 = this.getSettings(),
classes = _this$getSettings14.classes;
this.elements.$submitButton.addClass(classes.button); // TODO: When a solution for the conditions will be found, check if can remove the elementor-col-x manipulation.
return this.elements.$submitWrapper.attr('class', function (index, className) {
return _this6.replaceClassNameColSize(className, '');
}).removeClass(classes.column).removeClass(classes.buttons).addClass(classes.buttonWrapper);
}
}, {
key: "replaceClassNameColSize",
value: function replaceClassNameColSize(className, value) {
return className.replace(/elementor-col-([0-9]+)/g, value);
}
}, {
key: "getButton",
value: function getButton(buttonType, index) {
var _this$getSettings15 = this.getSettings(),
classes = _this$getSettings15.classes,
submitSizeClass = this.elements.$submitButton.attr('class').match(/elementor-size-([^\W\d]+)/g),
buttonClasses = [classes.elementorButton, submitSizeClass, classes.button, classes.button + '-' + buttonType];
return jQuery('