@pdfme/common
Advanced tools
Comparing version 5.3.1-dev.1 to 5.3.1-dev.3
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.checkGenerateProps = exports.checkDesignerProps = exports.checkPreviewProps = exports.checkUIProps = exports.checkTemplate = exports.checkUIOptions = exports.checkInputs = exports.checkFont = exports.replacePlaceholders = exports.getDynamicTemplate = exports.isBlankPdf = exports.getInputFromTemplate = exports.isHexValid = exports.px2mm = exports.pt2px = exports.pt2mm = exports.mm2pt = exports.b64toUint8Array = exports.getB64BasePdf = exports.getDefaultFont = exports.getFallbackFontName = exports.cloneDeep = exports.DEFAULT_FONT_NAME = exports.ZOOM = exports.BLANK_PDF = exports.PT_TO_PX_RATIO = exports.PT_TO_MM_RATIO = exports.MM_TO_PT_RATIO = exports.PDFME_VERSION = void 0; | ||
const version_1 = require("./version"); | ||
Object.defineProperty(exports, "PDFME_VERSION", { enumerable: true, get: function () { return version_1.PDFME_VERSION; } }); | ||
const constants_1 = require("./constants"); | ||
Object.defineProperty(exports, "PDFME_VERSION", { enumerable: true, get: function () { return constants_1.PDFME_VERSION; } }); | ||
Object.defineProperty(exports, "MM_TO_PT_RATIO", { enumerable: true, get: function () { return constants_1.MM_TO_PT_RATIO; } }); | ||
@@ -7,0 +8,0 @@ Object.defineProperty(exports, "PT_TO_MM_RATIO", { enumerable: true, get: function () { return constants_1.PT_TO_MM_RATIO; } }); |
@@ -1,2 +0,3 @@ | ||
import { PDFME_VERSION, MM_TO_PT_RATIO, PT_TO_MM_RATIO, PT_TO_PX_RATIO, BLANK_PDF, ZOOM, DEFAULT_FONT_NAME, } from './constants'; | ||
import { PDFME_VERSION } from './version'; | ||
import { MM_TO_PT_RATIO, PT_TO_MM_RATIO, PT_TO_PX_RATIO, BLANK_PDF, ZOOM, DEFAULT_FONT_NAME, } from './constants'; | ||
import { cloneDeep, getFallbackFontName, getDefaultFont, getB64BasePdf, b64toUint8Array, checkFont, checkInputs, checkUIOptions, checkTemplate, checkUIProps, checkPreviewProps, checkDesignerProps, checkGenerateProps, mm2pt, pt2mm, pt2px, px2mm, isHexValid, getInputFromTemplate, isBlankPdf, } from './helper'; | ||
@@ -3,0 +4,0 @@ import { getDynamicTemplate } from './dynamicTemplate'; |
@@ -1,2 +0,3 @@ | ||
import { PDFME_VERSION, MM_TO_PT_RATIO, PT_TO_MM_RATIO, PT_TO_PX_RATIO, BLANK_PDF, ZOOM, DEFAULT_FONT_NAME } from './constants'; | ||
import { PDFME_VERSION } from './version'; | ||
import { MM_TO_PT_RATIO, PT_TO_MM_RATIO, PT_TO_PX_RATIO, BLANK_PDF, ZOOM, DEFAULT_FONT_NAME } from './constants'; | ||
import type { ChangeSchemaItem, ChangeSchemas, SchemaPageArray, PropPanel, PropPanelSchema, PropPanelWidgetProps, PDFRenderProps, Mode, UIRenderProps, Plugin, Lang, Dict, Size, Schema, SchemaForUI, Font, ColorType, BasePdf, BlankPdf, Template, CommonOptions, GeneratorOptions, Plugins, GenerateProps, UIOptions, UIProps, PreviewProps, DesignerProps } from './types'; | ||
@@ -3,0 +4,0 @@ import { cloneDeep, getFallbackFontName, getDefaultFont, getB64BasePdf, b64toUint8Array, checkFont, checkInputs, checkUIOptions, checkTemplate, checkUIProps, checkPreviewProps, checkDesignerProps, checkGenerateProps, mm2pt, pt2mm, pt2px, px2mm, isHexValid, getInputFromTemplate, isBlankPdf } from './helper'; |
{ | ||
"name": "@pdfme/common", | ||
"version": "5.3.1-dev.1", | ||
"version": "5.3.1-dev.3", | ||
"sideEffects": false, | ||
@@ -35,4 +35,4 @@ "author": "hand-dot", | ||
"scripts": { | ||
"dev": "tsc -p tsconfig.esm.json -w", | ||
"prebuild": "node replace-version.js", | ||
"dev": "node set-version.js && tsc -p tsconfig.esm.json -w", | ||
"prebuild": "node set-version.js", | ||
"build": "npm-run-all --parallel build:cjs build:esm", | ||
@@ -39,0 +39,0 @@ "build:cjs": "tsc -p tsconfig.cjs.json", |
@@ -0,3 +1,3 @@ | ||
import {PDFME_VERSION} from './version'; | ||
import { | ||
PDFME_VERSION, | ||
MM_TO_PT_RATIO, | ||
@@ -4,0 +4,0 @@ PT_TO_MM_RATIO, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1335210
70
14915