UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

28 lines 978 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SubmitFormAction = void 0; const index_1 = require("./../index"); class SubmitFormAction extends index_1.ActionEvent { constructor(data) { super(data); this.submitForm = index_1.SubmitFormActionSubmitForm.fromJson(data === null || data === void 0 ? void 0 : data.submitForm); } static getSubmitFormDescription() { return ""; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new SubmitFormAction(data); } toJson() { var _a; return Object.assign(Object.assign({}, (super.toJson())), { 'submitForm': (_a = this.submitForm) === null || _a === void 0 ? void 0 : _a.toJson() }); } clone() { return SubmitFormAction.fromJson(this.toJson()); } } exports.SubmitFormAction = SubmitFormAction; //# sourceMappingURL=SubmitFormAction.js.map