UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

32 lines 909 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SelectionRemove = void 0; const index_1 = require("./../index"); class SelectionRemove { constructor(data) { this.select = (data.select || []).map(index_1.SelectionAnnotation.fromJson); } static getSelectDefault() { return []; } static getSelectDescription() { return ""; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new SelectionRemove(data); } toJson() { var _a; return { 'select': (_a = this.select) === null || _a === void 0 ? void 0 : _a.map((data) => data.toJson()), }; } clone() { return SelectionRemove.fromJson(this.toJson()); } } exports.SelectionRemove = SelectionRemove; //# sourceMappingURL=SelectionRemove.js.map