UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

31 lines 1.19 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ClearSignature = void 0; class ClearSignature { constructor(data) { let flattenDefault = false; this.flatten = typeof (data === null || data === void 0 ? void 0 : data.flatten) !== "undefined" ? data === null || data === void 0 ? void 0 : data.flatten : flattenDefault; } static getFlattenDefault() { return false; } static getFlattenDescription() { return "When set to \"true\", this will render all visible signatures to the page content.\n\n**Important:** The actual signatures will still be removed! The hereby generated visual representation is not verifyable or binding and can not serve\/does not count as a valid digital signature."; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new ClearSignature(data); } toJson() { return { 'flatten': this.flatten, }; } clone() { return ClearSignature.fromJson(this.toJson()); } } exports.ClearSignature = ClearSignature; //# sourceMappingURL=ClearSignature.js.map