@pdfme/common 6.1.2-dev.9 → 6.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/helper.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +3 -3
package/dist/helper.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PDFDocument, PDFPage } from '@pdfme/pdf-lib';
|
|
2
2
|
import { Template, Font, BasePdf, Plugins, BlankPdf } from './types.js';
|
|
3
|
-
export declare const cloneDeep:
|
|
3
|
+
export declare const cloneDeep: <T>(value: T) => T;
|
|
4
4
|
export declare const getFallbackFontName: (font: Font) => string;
|
|
5
5
|
export declare const getDefaultFont: () => Font;
|
|
6
6
|
export declare const mm2pt: (mm: number) => number;
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Buffer } from "buffer";
|
|
|
3
3
|
import { PDFName } from "@pdfme/pdf-lib";
|
|
4
4
|
import * as acorn from "acorn";
|
|
5
5
|
//#region src/version.ts
|
|
6
|
-
var PDFME_VERSION = "6.1.
|
|
6
|
+
var PDFME_VERSION = "6.1.3";
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/pageSize.ts
|
|
9
9
|
var PAGE_SIZE_PRESETS = {
|
|
@@ -334,7 +334,7 @@ var PreviewProps = UIProps.extend({ inputs: Inputs }).strict();
|
|
|
334
334
|
var DesignerProps = UIProps.extend({}).strict();
|
|
335
335
|
//#endregion
|
|
336
336
|
//#region src/helper.ts
|
|
337
|
-
var cloneDeep = structuredClone;
|
|
337
|
+
var cloneDeep = (value) => structuredClone(value);
|
|
338
338
|
var uniq = (array) => Array.from(new Set(array));
|
|
339
339
|
var getFallbackFontName = (font) => {
|
|
340
340
|
const initial = "";
|