UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

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