core-cde
Version:
31 lines • 1.08 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActionTable = void 0;
const Action_1 = require("./Action");
class ActionTable extends Action_1.Action {
constructor(props, documentId, pageId, widgetId, dataSetGuid, tableGuid) {
super(props, documentId, pageId, widgetId);
this.dataSetGuid = dataSetGuid;
this.tableGuid = tableGuid;
}
/**
* Получить объект для сериализации
* @returns Объект для сериализации
*/
toJSON() {
return Object.assign({}, null, {
props: this.props,
documentId: this.documentId,
pageId: this.pageId,
widgetId: this.widgetId,
type: this.type,
nextGuid: this.nextGuid,
prevGuid: this.prevGuid,
tableGuid: this.tableGuid,
dataSetGuid: this.dataSetGuid,
user: this.user,
});
}
}
exports.ActionTable = ActionTable;
//# sourceMappingURL=ActionTable.js.map