UNPKG

@progress/kendo-react-pdf

Version:

React PDF Processing enables you to export single- and multi-page content in PDF. KendoReact PDF Processing package

9 lines (8 loc) 924 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./export-element.js"),p=require("../savePDF.js"),v=()=>p.savePDF,s=d(v());function d(r){return(t,o={},n)=>m(r,t,o,n)}function m(r,t,o={},n){let e;a();function a(){r(c(),o,u)}function u(){document.body.removeChild(e),e=void 0,n&&n()}function c(){e=document.createElement("div"),e.className="k-grid-pdf-export-element";const i=l.exportElement(t);return e.appendChild(i),document.body.appendChild(e),i}}exports.provideSaveGridPDF=d;exports.saveGridPDF=s;