UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

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