UNPKG

@progress/kendo-react-pdf

Version:

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

33 lines (32 loc) 979 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { exportElement as c } from "./export-element.mjs"; import { savePDF as l } from "../savePDF.mjs"; const m = () => l, F = u(m()); function u(r) { return (t, o = {}, n) => f(r, t, o, n); } function f(r, t, o = {}, n) { let e; d(); function d() { r(p(), o, a); } function a() { document.body.removeChild(e), e = void 0, n && n(); } function p() { e = document.createElement("div"), e.className = "k-grid-pdf-export-element"; const i = c(t); return e.appendChild(i), document.body.appendChild(e), i; } } export { u as provideSaveGridPDF, F as saveGridPDF };