prodap-chatbot-domain
Version:
Classes utilizadas na resposta de todas as Intents do Assistente Virtual
23 lines • 886 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const FormAbstract_1 = require("./FormAbstract");
const FormTypes_1 = require("./FormTypes");
class RadioButtonGroup extends FormAbstract_1.default {
constructor(props) {
super(props, FormTypes_1.default.RADION_BUTTON_GROUP);
this.list = [];
this.action = props.action;
this.list = props.list;
this.question = props.question;
this.showOthersOption = props.showOthersOption;
this.othersText = props.othersText;
this.othersPlaceholder = props.othersPlaceholder;
this.othersKey = '__OTHERS__';
this.buttonText = props.buttonText;
this.othersLabel = props.othersLabel;
this.url = props.url;
this.route = props.route;
}
}
exports.default = RadioButtonGroup;
//# sourceMappingURL=RadioButtonGroup.js.map