@yudaocode/univer-pdfs 1.6.213 → 1.6.215
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/PDF_BROWSER_RENDERING_CONTRACT.md +16 -12
- package/lib/cjs/index.js +316 -72
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/jsx/index.js +262 -71
- package/lib/cjs/jsx/index.js.map +1 -1
- package/lib/es/{chunk-4A226M74.js → chunk-DYTQBEM7.js} +312 -73
- package/lib/es/chunk-DYTQBEM7.js.map +1 -0
- package/lib/es/index.js +11 -1
- package/lib/es/index.js.map +1 -1
- package/lib/es/jsx/index.js +1 -1
- package/lib/types/index.d.ts +2 -2
- package/lib/types/jsx/index.d.ts +2 -2
- package/lib/types/jsx/jsx-dev-runtime.d.ts +1 -1
- package/lib/types/jsx/jsx-runtime.d.ts +1 -1
- package/lib/types/{jsx-dev-runtime-Ch1WuW58.d.ts → jsx-dev-runtime-BFeiWVJj.d.ts} +51 -3
- package/package.json +1 -1
- package/lib/es/chunk-4A226M74.js.map +0 -1
package/lib/es/jsx/index.js
CHANGED
package/lib/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as IPdfUnitData, a as IPdfDocument, b as IPdfPage, c as IPdfPageSize, d as IPdfPageElement, e as IPdfLayer, f as IPdfSourceDocumentRef, g as IPdfResourceBinding, h as IPdfUnitMetadata, i as IPdfAttachment, j as IPdfSecurityPermissions, k as IPdfSignatureEnvelope, P as PdfElementType, l as IPdfTextStyle, m as PdfPageRotation, n as IPdfBatesConfig, o as IPdfBookmarkItem, p as IPdfHeaderFooterConfig, q as IPdfNativeTextSpan, r as IPdfCropBox, s as IPdfWatermarkConfig, t as IPdfDocumentData, u as IPdfTextElement, v as PdfDateTimeKind, w as IPdfCircleMarkElement, x as IPdfListElement, y as IPdfRichTextSpan, z as PdfColorSpaceType, A as IPdfExportOptions, B as PDF_PAGE_PRESETS, C as PdfBatesPosition, D as IPdfSignerInfo, E as IPdfjsAssetsConfig, F as PdfDisplayUnit, G as PdfInteractionMode, H as IPdfVersionSnapshot } from './jsx-dev-runtime-
|
|
2
|
-
export { J as
|
|
1
|
+
import { I as IPdfUnitData, a as IPdfDocument, b as IPdfPage, c as IPdfPageSize, d as IPdfPageElement, e as IPdfLayer, f as IPdfSourceDocumentRef, g as IPdfResourceBinding, h as IPdfUnitMetadata, i as IPdfAttachment, j as IPdfSecurityPermissions, k as IPdfSignatureEnvelope, P as PdfElementType, l as IPdfTextStyle, m as PdfPageRotation, n as IPdfBatesConfig, o as IPdfBookmarkItem, p as IPdfHeaderFooterConfig, q as IPdfNativeTextSpan, r as IPdfCropBox, s as IPdfWatermarkConfig, t as IPdfDocumentData, u as IPdfTextElement, v as PdfDateTimeKind, w as IPdfCircleMarkElement, x as IPdfListElement, y as IPdfRichTextSpan, z as PdfColorSpaceType, A as IPdfExportOptions, B as PDF_PAGE_PRESETS, C as PdfBatesPosition, D as IPdfSignerInfo, E as IPdfjsAssetsConfig, F as PdfDisplayUnit, G as PdfInteractionMode, H as IPdfVersionSnapshot } from './jsx-dev-runtime-BFeiWVJj.js';
|
|
2
|
+
export { J as DEFAULT_PDF_CJK_FONT_FAMILY, K as DEFAULT_PDF_CJK_FONT_FILES, L as DEFAULT_PDF_CJK_FONT_PACKAGE, M as DEFAULT_PDF_CJK_FONT_VERSION, N as Fragment, O as ICjkDetectionSummary, Q as IComputeDynamicFontSizeParams, R as IDetectedPaperPreset, S as IDiagnosePdfFontsOptions, T as IDiagnosticGridOverlayOptions, U as IExportJsxToPdfOptions, V as IInputsCjkReport, W as IJsxAbsoluteProps, X as IJsxBarcodeProps, Y as IJsxBoxProps, Z as IJsxContainerStyleProps, _ as IJsxDocumentProps, $ as IJsxHeaderFooterProps, a0 as IJsxImageProps, a1 as IJsxLineProps, a2 as IJsxListProps, a3 as IJsxMultiVariableTextProps, a4 as IJsxPageBreakProps, a5 as IJsxPageProps, a6 as IJsxQrCodeProps, a7 as IJsxRowProps, a8 as IJsxShapeProps, a9 as IJsxSpacerProps, aa as IJsxStackProps, ab as IJsxStaticProps, ac as IJsxSvgProps, ad as IJsxTableColumnSpec, ae as IJsxTableProps, af as IJsxTextProps, ag as IPdfAnnotationElement, ah as IPdfAnnotationReply, ai as IPdfBarcodeElement, aj as IPdfBrowserRenderOptions, ak as IPdfCheckboxElement, al as IPdfCjkFontSourcesOptions, am as IPdfDatasetField, an as IPdfDatasetSchema, ao as IPdfDateTimeElement, ap as IPdfDocumentMetadata, aq as IPdfDurableEditState, ar as IPdfDynamicFontSizeConfig, as as IPdfElement, at as IPdfElementBase, au as IPdfElementTransform, av as IPdfEllipseElement, aw as IPdfExportCapabilitiesReport, ax as IPdfFailedFontEntry, ay as IPdfFieldContractHint, az as IPdfFontDiagnosisReport, aA as IPdfFontDiagnosticIssue, aB as IPdfFontDoctorInputEntry, aC as IPdfFontSource, aD as IPdfImageCrop, aE as IPdfImageElement, aF as IPdfInkElement, aG as IPdfInkPoint, aH as IPdfInputContractValidationResult, aI as IPdfInputContractViolation, aJ as IPdfJsxNode, aK as IPdfLineElement, aL as IPdfMissingGlyphItem, aM as IPdfPageElementBase, aN as IPdfParagraphBlock, aO as IPdfPolygonElement, aP as IPdfPolygonPoint, aQ as IPdfQrCodeElement, aR as IPdfRadioGroupElement, aS as IPdfRedactionElement, aT as IPdfRenderWarning, aU as IPdfSchemaDiagnosticIssue, aV as IPdfSelectElement, aW as IPdfShapeElement, aX as IPdfSignatureElement, aY as IPdfStampElement, aZ as IPdfSvgElement, a_ as IPdfTableBorderWidths, a$ as IPdfTableCellStyle, b0 as IPdfTableColumn, b1 as IPdfTableElement, b2 as IPdfTableMerge, b3 as IPdfTablePageChunk, b4 as IPdfTablePaginationOptions, b5 as IPdfTableRowCapacity, b6 as IPdfTableThemePreset, b7 as IPdfTemplateSchemaValidationResult, b8 as IPdfVariableValidationResult, b9 as IPdfmeBlankPdf, ba as IPdfmeSchemaItem, bb as IPdfmeTemplate, bc as IRenderJsxOptions, bd as ISubsetFontResult, be as ITemplateCjkReport, bf as ITrueTypeFontInspection, bg as IValidatePdfTemplateSchemaOptions, bh as JSX, bi as PAGE_SIZE_PRESETS_MM, bj as PDF_JSX_ELEMENT_SYMBOL, bk as PDF_JSX_FRAGMENT_SYMBOL, bl as PDF_TABLE_THEME_PRESETS, bm as PT_PER_MM, bn as PdfAnnotationStatus, bo as PdfAnnotationType, bp as PdfBarcodeFormat, bq as PdfCjkScriptBlock, br as PdfCjkTextMode, bs as PdfDynamicFontFitMode, bt as PdfFontFallbackPolicy, bu as PdfImageSourceType, bv as PdfJsxChild, bw as PdfJsxComponent, bx as PdfJsxIntrinsicKind, by as PdfJsxPaddingSpec, bz as PdfListKind, bA as PdfListPresetId, bB as PdfMissingGlyphPolicy, bC as PdfPaperPresetName, bD as PdfRenderError, bE as PdfTableBorderStyle, bF as PdfTableCellVerticalAlign, bG as PdfTablePaginationMode, bH as PdfTextAnchor, bI as PdfTextFormatMode, bJ as PdfTextOverflowMode, bK as PdfZebraParityMode, bL as UNIVER_PDF_SCHEMA, bM as UNIVER_PDF_SCHEMA_VERSION, bN as buildMinimalTestTrueTypeFont, bO as calculatePdfTableRowCapacity, bP as clearPdfFontUrlCache, bQ as collectMissingGlyphsFromPdfUnit, bR as collectPdfInputContractHints, bS as collectUsedCodePointsFromPdfUnit, bT as computeAutoFitFontSize, bU as computeDynamicFontSize, bV as computePdfTableSummaryRow, bW as createPdfCjkFontSources, bX as createPdfJsxNode, bY as detectCJKCharacters, bZ as detectCJKInPdfInputs, b_ as detectCJKInPdfTemplate, b$ as detectPaperSizePreset, c0 as diagnosePdfFonts, c1 as evaluatePdfJsxElement, c2 as exportBatchPdfBytes, c3 as exportCalibrationGridPdfBytes, c4 as exportPdfBytes, c5 as exportToPdfmeTemplate, c6 as extractAcroFormValuesFromPdfBytes, c7 as extractJsxTextContent, c8 as extractPdfFormValues, c9 as fillPdfFormValues, ca as flattenJsxChildrenToNodes, cb as formatBatesNumber, cc as formatPdfTableCell, cd as fromPdfmeTemplate, ce as getTrueTypeMappedCodePoints, cf as importFromPdfmeTemplate, cg as inspectPdfExportCapabilities, ch as inspectTrueTypeFont, ci as isFontUrlSafeToFetch, cj as isPdfJsxNode, ck as jsx, cl as jsxDEV, cm as jsxs, cn as mmToPt, co as normalizeBarcodePayloadForFormat, cp as normalizeImageCrop, cq as overlayDiagnosticGridOnPdfBytes, cr as paginatePdfTableRows, cs as ptToMm, ct as renderBarcodeDataUrl, cu as renderQrCodeDataUrl, cv as resolveDynamicTableRawRows, cw as resolvePaddingMm, cx as resolvePageSizeMm, cy as resolvePolygonNormalizedPoints, cz as resolveTemplateString, cA as subsetTrueTypeFont, cB as toPdfmeTemplate, cC as validatePdfInputContract, cD as validatePdfTemplateSchema, cE as validatePdfTemplateVariables, cF as wrapMixedCjkAndLatinLines } from './jsx-dev-runtime-BFeiWVJj.js';
|
|
3
3
|
import * as _univerjs_core from '@univerjs/core';
|
|
4
4
|
import { UnitModel, UniverInstanceType, ICommand, IMutation, IDisposable, Disposable, IUniverInstanceService, Plugin, Injector, ICommandService } from '@univerjs/core';
|
|
5
5
|
import { Observable } from 'rxjs';
|
package/lib/types/jsx/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { W as IJsxAbsoluteProps, aJ as IPdfJsxNode, X as IJsxBarcodeProps, Y as IJsxBoxProps, _ as IJsxDocumentProps, a8 as IJsxShapeProps, $ as IJsxHeaderFooterProps, a0 as IJsxImageProps, a1 as IJsxLineProps, a2 as IJsxListProps, a3 as IJsxMultiVariableTextProps, a5 as IJsxPageProps, a4 as IJsxPageBreakProps, a6 as IJsxQrCodeProps, a7 as IJsxRowProps, a9 as IJsxSpacerProps, aa as IJsxStackProps, ab as IJsxStaticProps, ac as IJsxSvgProps, ae as IJsxTableProps, af as IJsxTextProps, bw as PdfJsxComponent, U as IExportJsxToPdfOptions, bc as IRenderJsxOptions, I as IPdfUnitData, bb as IPdfmeTemplate } from '../jsx-dev-runtime-BFeiWVJj.js';
|
|
2
|
+
export { N as Fragment, Z as IJsxContainerStyleProps, ad as IJsxTableColumnSpec, bh as JSX, bj as PDF_JSX_ELEMENT_SYMBOL, bk as PDF_JSX_FRAGMENT_SYMBOL, bv as PdfJsxChild, bx as PdfJsxIntrinsicKind, by as PdfJsxPaddingSpec, bX as createPdfJsxNode, c1 as evaluatePdfJsxElement, c7 as extractJsxTextContent, ca as flattenJsxChildrenToNodes, cj as isPdfJsxNode, ck as jsx, cl as jsxDEV, cm as jsxs, cw as resolvePaddingMm } from '../jsx-dev-runtime-BFeiWVJj.js';
|
|
3
3
|
import '@univerjs/core';
|
|
4
4
|
|
|
5
5
|
declare function Document(props?: IJsxDocumentProps): IPdfJsxNode<IJsxDocumentProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { N as Fragment, bh as JSX, ck as jsx, cl as jsxDEV, cm as jsxs } from '../jsx-dev-runtime-BFeiWVJj.js';
|
|
2
2
|
import '@univerjs/core';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { N as Fragment, bh as JSX, ck as jsx, cl as jsxDEV, cm as jsxs } from '../jsx-dev-runtime-BFeiWVJj.js';
|
|
2
2
|
import '@univerjs/core';
|
|
@@ -1130,8 +1130,8 @@ interface IPdfBrowserRenderOptions {
|
|
|
1130
1130
|
fallback?: PdfFontFallbackPolicy;
|
|
1131
1131
|
/**
|
|
1132
1132
|
* Action when embedded subset TrueType font lacks glyphs present in the document:
|
|
1133
|
-
* - `'
|
|
1134
|
-
* - `'
|
|
1133
|
+
* - `'error'` (default when `fonts` is explicitly provided): throw `PdfRenderError('MISSING_GLYPH', ...)`
|
|
1134
|
+
* - `'warn'` (default when `fonts` is omitted): emit `MISSING_GLYPH` warning with `pageId`, `elementId`, `chars`, `codePoints`
|
|
1135
1135
|
*/
|
|
1136
1136
|
missingGlyph?: PdfMissingGlyphPolicy;
|
|
1137
1137
|
/** Structured diagnostic warning callback */
|
|
@@ -1145,6 +1145,54 @@ interface IPdfBrowserRenderOptions {
|
|
|
1145
1145
|
/** Optional deterministic creation/modification timestamp for reproducible byte output */
|
|
1146
1146
|
creationDate?: Date | string;
|
|
1147
1147
|
}
|
|
1148
|
+
declare const DEFAULT_PDF_CJK_FONT_PACKAGE = "@yudaocode/univer-pdf-fonts";
|
|
1149
|
+
declare const DEFAULT_PDF_CJK_FONT_VERSION = "1.0.0";
|
|
1150
|
+
declare const DEFAULT_PDF_CJK_FONT_FAMILY = "Noto Sans SC";
|
|
1151
|
+
declare const DEFAULT_PDF_CJK_FONT_FILES: Readonly<{
|
|
1152
|
+
normal: Readonly<{
|
|
1153
|
+
file: "NotoSansSC-Regular.ttf";
|
|
1154
|
+
family: "Noto Sans SC";
|
|
1155
|
+
weight: "normal";
|
|
1156
|
+
integrity: "sha384-WYgE+CQjxrXCFCynsUOYE86llni41IspZsiH2huo8yxlgR2GKNE5fzeurmHXRfIe";
|
|
1157
|
+
}>;
|
|
1158
|
+
bold: Readonly<{
|
|
1159
|
+
file: "NotoSansSC-Bold.ttf";
|
|
1160
|
+
family: "Noto Sans SC";
|
|
1161
|
+
weight: "bold";
|
|
1162
|
+
integrity: "sha384-jI+dGvcJGGgO8RayO+x2LHDI85inVoe36tfbBKtSD6SQ0A8VKi5s+0lG+of4qB6j";
|
|
1163
|
+
}>;
|
|
1164
|
+
}>;
|
|
1165
|
+
interface IPdfCjkFontSourcesOptions {
|
|
1166
|
+
/** Fixed version of `@yudaocode/univer-pdf-fonts` when using the default CDN path (default `'1.0.0'`) */
|
|
1167
|
+
version?: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* Custom base URL directory containing `NotoSansSC-Regular.ttf` / `NotoSansSC-Bold.ttf`
|
|
1170
|
+
* (defaults to `'https://cdn.jsdmirror.com/npm/@yudaocode/univer-pdf-fonts@${version}/fonts'`).
|
|
1171
|
+
*/
|
|
1172
|
+
baseUrl?: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* Font weights to generate `IPdfFontSource` entries for:
|
|
1175
|
+
* - `'normal'` / `['normal']` (default: Regular only)
|
|
1176
|
+
* - `'bold'` / `['bold']` (Bold only)
|
|
1177
|
+
* - `'both'` / `['normal', 'bold']` (both Regular and Bold)
|
|
1178
|
+
*/
|
|
1179
|
+
weights?: Array<'normal' | 'bold'> | 'normal' | 'bold' | 'both';
|
|
1180
|
+
/** Font family label recorded on each `IPdfFontSource` (default `'Noto Sans SC'`) */
|
|
1181
|
+
family?: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* Subresource integrity behavior:
|
|
1184
|
+
* - `true` (default when `version` matches `'1.0.0'`): attaches built-in `sha384` hashes
|
|
1185
|
+
* - `false`: omits `integrity`
|
|
1186
|
+
* - `{ normal?: string; bold?: string }`: attaches custom integrity hashes per weight
|
|
1187
|
+
*/
|
|
1188
|
+
integrity?: boolean | Partial<Record<'normal' | 'bold', string>>;
|
|
1189
|
+
}
|
|
1190
|
+
/**
|
|
1191
|
+
* Pure helper generating standard `render.fonts` (`IPdfFontSource[]`) entries for the standalone
|
|
1192
|
+
* open-licensed `@yudaocode/univer-pdf-fonts` package (or a host-overridden `baseUrl`).
|
|
1193
|
+
* Performs zero network I/O until passed to `exportPdfBytes` / `encodePdf` / `mountPdf`.
|
|
1194
|
+
*/
|
|
1195
|
+
declare function createPdfCjkFontSources(options?: IPdfCjkFontSourcesOptions): IPdfFontSource[];
|
|
1148
1196
|
declare function clearPdfFontUrlCache(): void;
|
|
1149
1197
|
interface IDiagnosticGridOverlayOptions {
|
|
1150
1198
|
/** Minor grid step in millimeters (default `5`) */
|
|
@@ -1669,4 +1717,4 @@ declare namespace JSX {
|
|
|
1669
1717
|
}
|
|
1670
1718
|
}
|
|
1671
1719
|
|
|
1672
|
-
export { type
|
|
1720
|
+
export { type IJsxHeaderFooterProps as $, type IPdfExportOptions as A, PDF_PAGE_PRESETS as B, type PdfBatesPosition as C, type IPdfSignerInfo as D, type IPdfjsAssetsConfig as E, type PdfDisplayUnit as F, type PdfInteractionMode as G, type IPdfVersionSnapshot as H, type IPdfUnitData as I, DEFAULT_PDF_CJK_FONT_FAMILY as J, DEFAULT_PDF_CJK_FONT_FILES as K, DEFAULT_PDF_CJK_FONT_PACKAGE as L, DEFAULT_PDF_CJK_FONT_VERSION as M, Fragment as N, type ICjkDetectionSummary as O, PdfElementType as P, type IComputeDynamicFontSizeParams as Q, type IDetectedPaperPreset as R, type IDiagnosePdfFontsOptions as S, type IDiagnosticGridOverlayOptions as T, type IExportJsxToPdfOptions as U, type IInputsCjkReport as V, type IJsxAbsoluteProps as W, type IJsxBarcodeProps as X, type IJsxBoxProps as Y, type IJsxContainerStyleProps as Z, type IJsxDocumentProps as _, type IPdfDocument as a, type IPdfTableCellStyle as a$, type IJsxImageProps as a0, type IJsxLineProps as a1, type IJsxListProps as a2, type IJsxMultiVariableTextProps as a3, type IJsxPageBreakProps as a4, type IJsxPageProps as a5, type IJsxQrCodeProps as a6, type IJsxRowProps as a7, type IJsxShapeProps as a8, type IJsxSpacerProps as a9, type IPdfFontDiagnosticIssue as aA, type IPdfFontDoctorInputEntry as aB, type IPdfFontSource as aC, type IPdfImageCrop as aD, type IPdfImageElement as aE, type IPdfInkElement as aF, type IPdfInkPoint as aG, type IPdfInputContractValidationResult as aH, type IPdfInputContractViolation as aI, type IPdfJsxNode as aJ, type IPdfLineElement as aK, type IPdfMissingGlyphItem as aL, type IPdfPageElementBase as aM, type IPdfParagraphBlock as aN, type IPdfPolygonElement as aO, type IPdfPolygonPoint as aP, type IPdfQrCodeElement as aQ, type IPdfRadioGroupElement as aR, type IPdfRedactionElement as aS, type IPdfRenderWarning as aT, type IPdfSchemaDiagnosticIssue as aU, type IPdfSelectElement as aV, type IPdfShapeElement as aW, type IPdfSignatureElement as aX, type IPdfStampElement as aY, type IPdfSvgElement as aZ, type IPdfTableBorderWidths as a_, type IJsxStackProps as aa, type IJsxStaticProps as ab, type IJsxSvgProps as ac, type IJsxTableColumnSpec as ad, type IJsxTableProps as ae, type IJsxTextProps as af, type IPdfAnnotationElement as ag, type IPdfAnnotationReply as ah, type IPdfBarcodeElement as ai, type IPdfBrowserRenderOptions as aj, type IPdfCheckboxElement as ak, type IPdfCjkFontSourcesOptions as al, type IPdfDatasetField as am, type IPdfDatasetSchema as an, type IPdfDateTimeElement as ao, type IPdfDocumentMetadata as ap, type IPdfDurableEditState as aq, type IPdfDynamicFontSizeConfig as ar, type IPdfElement as as, type IPdfElementBase as at, type IPdfElementTransform as au, type IPdfEllipseElement as av, type IPdfExportCapabilitiesReport as aw, type IPdfFailedFontEntry as ax, type IPdfFieldContractHint as ay, type IPdfFontDiagnosisReport as az, type IPdfPage as b, detectPaperSizePreset as b$, type IPdfTableColumn as b0, type IPdfTableElement as b1, type IPdfTableMerge as b2, type IPdfTablePageChunk as b3, type IPdfTablePaginationOptions as b4, type IPdfTableRowCapacity as b5, type IPdfTableThemePreset as b6, type IPdfTemplateSchemaValidationResult as b7, type IPdfVariableValidationResult as b8, type IPdfmeBlankPdf as b9, PdfListPresetId as bA, type PdfMissingGlyphPolicy as bB, type PdfPaperPresetName as bC, PdfRenderError as bD, PdfTableBorderStyle as bE, PdfTableCellVerticalAlign as bF, type PdfTablePaginationMode as bG, PdfTextAnchor as bH, type PdfTextFormatMode as bI, type PdfTextOverflowMode as bJ, type PdfZebraParityMode as bK, UNIVER_PDF_SCHEMA as bL, UNIVER_PDF_SCHEMA_VERSION as bM, buildMinimalTestTrueTypeFont as bN, calculatePdfTableRowCapacity as bO, clearPdfFontUrlCache as bP, collectMissingGlyphsFromPdfUnit as bQ, collectPdfInputContractHints as bR, collectUsedCodePointsFromPdfUnit as bS, computeAutoFitFontSize as bT, computeDynamicFontSize as bU, computePdfTableSummaryRow as bV, createPdfCjkFontSources as bW, createPdfJsxNode as bX, detectCJKCharacters as bY, detectCJKInPdfInputs as bZ, detectCJKInPdfTemplate as b_, type IPdfmeSchemaItem as ba, type IPdfmeTemplate as bb, type IRenderJsxOptions as bc, type ISubsetFontResult as bd, type ITemplateCjkReport as be, type ITrueTypeFontInspection as bf, type IValidatePdfTemplateSchemaOptions as bg, JSX as bh, PAGE_SIZE_PRESETS_MM as bi, PDF_JSX_ELEMENT_SYMBOL as bj, PDF_JSX_FRAGMENT_SYMBOL as bk, PDF_TABLE_THEME_PRESETS as bl, PT_PER_MM as bm, type PdfAnnotationStatus as bn, PdfAnnotationType as bo, type PdfBarcodeFormat as bp, type PdfCjkScriptBlock as bq, type PdfCjkTextMode as br, type PdfDynamicFontFitMode as bs, type PdfFontFallbackPolicy as bt, PdfImageSourceType as bu, type PdfJsxChild as bv, type PdfJsxComponent as bw, type PdfJsxIntrinsicKind as bx, type PdfJsxPaddingSpec as by, PdfListKind as bz, type IPdfPageSize as c, diagnosePdfFonts as c0, evaluatePdfJsxElement as c1, exportBatchPdfBytes as c2, exportCalibrationGridPdfBytes as c3, exportPdfBytes as c4, exportToPdfmeTemplate as c5, extractAcroFormValuesFromPdfBytes as c6, extractJsxTextContent as c7, extractPdfFormValues as c8, fillPdfFormValues as c9, subsetTrueTypeFont as cA, toPdfmeTemplate as cB, validatePdfInputContract as cC, validatePdfTemplateSchema as cD, validatePdfTemplateVariables as cE, wrapMixedCjkAndLatinLines as cF, flattenJsxChildrenToNodes as ca, formatBatesNumber as cb, formatPdfTableCell as cc, fromPdfmeTemplate as cd, getTrueTypeMappedCodePoints as ce, importFromPdfmeTemplate as cf, inspectPdfExportCapabilities as cg, inspectTrueTypeFont as ch, isFontUrlSafeToFetch as ci, isPdfJsxNode as cj, jsx as ck, jsxDEV as cl, jsxs as cm, mmToPt as cn, normalizeBarcodePayloadForFormat as co, normalizeImageCrop as cp, overlayDiagnosticGridOnPdfBytes as cq, paginatePdfTableRows as cr, ptToMm as cs, renderBarcodeDataUrl as ct, renderQrCodeDataUrl as cu, resolveDynamicTableRawRows as cv, resolvePaddingMm as cw, resolvePageSizeMm as cx, resolvePolygonNormalizedPoints as cy, resolveTemplateString as cz, type IPdfPageElement as d, type IPdfLayer as e, type IPdfSourceDocumentRef as f, type IPdfResourceBinding as g, type IPdfUnitMetadata as h, type IPdfAttachment as i, type IPdfSecurityPermissions as j, type IPdfSignatureEnvelope as k, type IPdfTextStyle as l, type PdfPageRotation as m, type IPdfBatesConfig as n, type IPdfBookmarkItem as o, type IPdfHeaderFooterConfig as p, type IPdfNativeTextSpan as q, type IPdfCropBox as r, type IPdfWatermarkConfig as s, type IPdfDocumentData as t, type IPdfTextElement as u, type PdfDateTimeKind as v, type IPdfCircleMarkElement as w, type IPdfListElement as x, type IPdfRichTextSpan as y, type PdfColorSpaceType as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yudaocode/univer-pdfs",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.215",
|
|
4
4
|
"description": "Univer PDFs core unit model, commands, PDF exporter, JSX layout DSL, and template adapter",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/yudaocode/yudao-univer#readme",
|