prodap-chatbot-domain
Version:
Classes utilizadas na resposta de todas as Intents do Assistente Virtual
27 lines • 1.01 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const ActionAbstract_1 = require("./ActionAbstract");
const ActionTypes_1 = require("./ActionTypes");
class ModalAction extends ActionAbstract_1.default {
constructor(props) {
super(props, ActionTypes_1.default.MODAL);
this.customModalTitle = props.customModalTitle;
this.dataModal = props.dataModal;
this.desc = props.desc;
this.path = props.path;
this.searchPlaceHolder = props.searchPlaceHolder;
this.subType = props.subType;
this.value = props.value;
this.warningModalMessage = props.warningModalMessage;
this.openIcon = props.openIcon;
this.statusIcon = props.statusIcon;
this.order = props.order;
this.url = props.url;
}
addSuggestionSection(suggestionSection) {
this.suggestionSection = suggestionSection;
return this;
}
}
exports.default = ModalAction;
//# sourceMappingURL=ModalAction.js.map