@embedpdf/engine-core 3.0.0-next.4 → 3.0.0-next.5
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/{AbortError-D0w0N4pJ.js → AbortError-BsHuCO1S.js} +2 -2
- package/dist/{AbortError-D0w0N4pJ.js.map → AbortError-BsHuCO1S.js.map} +1 -1
- package/dist/{AbortError-BFwCIKC6.cjs → AbortError-DmWeq9sx.cjs} +2 -2
- package/dist/{AbortError-BFwCIKC6.cjs.map → AbortError-DmWeq9sx.cjs.map} +1 -1
- package/dist/{AnnotationListSnapshot-_Z600IzD.d.ts → AnnotationListSnapshot-CHjkcIaL.d.cts} +132 -19
- package/dist/{AnnotationListSnapshot-_Z600IzD.d.cts → AnnotationListSnapshot-CHjkcIaL.d.ts} +132 -19
- package/dist/{DocumentSecurityService-CoHQf0Ju.d.cts → DocumentSecurityService-B1uv4FaK.d.cts} +2 -2
- package/dist/{DocumentSecurityService-BR4tesJK.d.ts → DocumentSecurityService-CrxGktMI.d.ts} +2 -2
- package/dist/{Engine-h_6P4pjM.d.ts → Engine-BE6r06QI.d.ts} +3 -3
- package/dist/{Engine-LHgbW5z-.d.cts → Engine-BOaRwtKa.d.cts} +3 -3
- package/dist/{builders-CBK8k_cn.cjs → builders-BsUc2A1U.cjs} +6 -6
- package/dist/{builders-CBK8k_cn.cjs.map → builders-BsUc2A1U.cjs.map} +1 -1
- package/dist/{builders-BWgXkLKd.js → builders-CF5gKkOa.js} +3 -3
- package/dist/{builders-BWgXkLKd.js.map → builders-CF5gKkOa.js.map} +1 -1
- package/dist/{subtype-DsxZbJtP.js → charmap-CUukAMhR.js} +132 -2
- package/dist/charmap-CUukAMhR.js.map +1 -0
- package/dist/{subtype-C4XA7C16.cjs → charmap-D6PLtRiC.cjs} +161 -1
- package/dist/charmap-D6PLtRiC.cjs.map +1 -0
- package/dist/conformance.cjs +338 -172
- package/dist/conformance.cjs.map +1 -1
- package/dist/conformance.d.cts +65 -3
- package/dist/conformance.d.ts +65 -3
- package/dist/conformance.js +295 -131
- package/dist/conformance.js.map +1 -1
- package/dist/{fold-M6iEyY8X.cjs → fold-BeT1GxLP.cjs} +4 -4
- package/dist/{fold-M6iEyY8X.cjs.map → fold-BeT1GxLP.cjs.map} +1 -1
- package/dist/{fold-D3_ZiKOg.js → fold-DemV94jf.js} +2 -2
- package/dist/{fold-D3_ZiKOg.js.map → fold-DemV94jf.js.map} +1 -1
- package/dist/index.cjs +14 -9
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/runtime.cjs +19 -14
- package/dist/runtime.d.cts +4 -4
- package/dist/runtime.d.ts +4 -4
- package/dist/runtime.js +5 -5
- package/dist/{schemas-CLByd6ze.cjs → schemas-CyWwm0Zf.cjs} +37 -28
- package/dist/schemas-CyWwm0Zf.cjs.map +1 -0
- package/dist/{schemas-C32v81cE.js → schemas-ES6-TkIl.js} +17 -8
- package/dist/{schemas-C32v81cE.js.map → schemas-ES6-TkIl.js.map} +1 -1
- package/dist/wire.cjs +1 -1
- package/dist/wire.d.cts +8 -7
- package/dist/wire.d.ts +8 -7
- package/dist/wire.js +1 -1
- package/package.json +1 -1
- package/dist/schemas-CLByd6ze.cjs.map +0 -1
- package/dist/subtype-C4XA7C16.cjs.map +0 -1
- package/dist/subtype-DsxZbJtP.js.map +0 -1
package/dist/wire.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_resolver = require("./resolver-DAZWVoJL.cjs");
|
|
3
|
-
const require_schemas = require("./schemas-
|
|
3
|
+
const require_schemas = require("./schemas-CyWwm0Zf.cjs");
|
|
4
4
|
//#region src/wire/token.ts
|
|
5
5
|
const DEFAULT_MAX_TOKEN_LENGTH = 256;
|
|
6
6
|
const FIELD_NAME_RE = /^[A-Za-z][A-Za-z0-9]*(?:\.[A-Za-z][A-Za-z0-9]*)*$/;
|
package/dist/wire.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as CaretDraftSchema, $c as
|
|
2
|
-
import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-
|
|
1
|
+
import { $ as CaretDraftSchema, $c as PdfQuad, $o as PageRenderQuery, $r as FormDataFormat, $t as CircleDraftSchema, A as FileAttachmentWireDraftSchema, Ao as AnnotationAppearanceManifest, Ba as AttachmentFileInfo, Bc as PdfRectDifferences, Ca as AttachmentsCache, Cc as AnnotationRef, D as FileAttachmentDTOSchema, Di as FormFieldFlags, Dn as HighlightPatchSchema, Dr as SearchSliceBudget, Dt as LinePatchSchema, En as HighlightDraftSchema, Eo as CachePins, Er as SearchSlice, Et as LineDraftSchema, F as StampDTOSchema, Fc as FreeTextIntent, Fi as ToggleFieldWidget, Fn as RedactionApplyScope, Fo as AnnotationAppearancesQuery, Fs as MetadataPatch, G as TextDTOSchema, Gc as StandardFont, Gi as AnnotationUpdateResult, Gn as PageRotateResult, Gr as FormRepairResult, Ha as EmbeddedFileItem, Hi as AnnotationCreateResult, Hr as FormFieldDeleteResult, I as StampWireDraftSchema, Ic as InkIntent, Jc as CalloutLine, Ji as AppearanceOutcome, Jn as PageMoveResult, Jr as FormEffect, Jt as SquarePatchSchema, K as TextDraftSchema, Kc as StrikeoutIntent, Kn as PageRotateInput, Kr as FormSetValueResult, Kt as SquareDTOSchema, L as StampWirePatchSchema, Lc as LineEnding, Li as FormValueEntry, Ln as PageFlattenInput, Lo as PageState, Lt as PolygonDTOSchema, Mc as CaretIntent, Mn as MetadataUpdateResult, Ms as PageBoxes, Mt as PolylineDraftSchema, Nc as Color, Ns as PageLayout, Nt as PolylinePatchSchema, O as FileAttachmentIconSchema, Oc as AnnotationBorderStyle, Oi as FormFieldOption, Oo as AnnotationAppearanceImageOptions, Or as SearchSnippet, P as ResourceRefSchema, Pn as RedactionApplyResult, Po as AnnotationAppearanceRenderOptions, Q as CaretDTOSchema, Qc as PdfPoint, Qo as PageRenderOptions, Qt as CircleDTOSchema, Rc as LineEndings, Ri as FormFieldRef, Rt as PolygonDraftSchema, Sa as AttachmentDeleteResult, Sr as SearchMatch, Ti as FormFieldDTO, Tn as HighlightDTOSchema, To as PdfSaveMode, Tr as SearchRequest, Tt as LineDTOSchema, Ua as EmbeddedFileRef, Ui as AnnotationDeleteResult, Un as PageDeleteResult, Ur as FormFieldUpdateResult, Vr as FormFieldCreateResult, W as NoteIconSchema, Wi as AnnotationMoveResult, Wn as PageDeleteInput, Wo as PageImageOptions, Wr as FormImportResult, Xn as PageMoveInput, Yc as InkList, Yn as PageStructureCache, Zc as LinePoints, Zr as FormEffectsResult, _ as UnsupportedPatchSchema, _o as SerializedEngineError, _t as LinkDraftSchema, a as AnnotationDTOSchema, as as PageGeometrySnapshot, at as FreeTextDraftSchema, bn as UnderlineDraftSchema, bt as PdfLinkTargetSchema, ca as DocumentManifest, cn as StrikeoutDraftSchema, da as LayerScopes, dl as PdfFieldActions, dt as InkDraftSchema, ei as FormFieldValue, el as PdfRect, en as CirclePatchSchema, et as CaretPatchSchema, f as KIND_BY_SUBTYPE, fl as PdfPageActions, fo as AnnotationStableId, fs as PageTextSnapshot, ft as InkPatchSchema, g as UnsupportedDraftSchema, gi as FormSnapshot, gt as LinkDTOSchema, h as UnsupportedDTOSchema, hi as FormKind, hn as SquigglyPatchSchema, ia as MutationMeta, il as DocumentActionsSnapshot, it as FreeTextDTOSchema, j as WireAttachmentFileSchema, jc as BlendMode, js as PageListSnapshot, jt as PolylineDTOSchema, k as FileAttachmentPatchSchema, kc as AnnotationFlags, la as ManifestPage, li as FormFieldDraft, ln as StrikeoutPatchSchema, mc as DocCapability, mi as WidgetPlacement, mn as SquigglyDraftSchema, n as AnnotationListSnapshotAllPages, na as RefetchReason, nl as PdfSize, ol as PdfActionNode, ot as FreeTextPatchSchema, pl as DocumentMetadata, pn as SquigglyDTOSchema, q as TextPatchSchema, qc as TextAlignment, qo as PageNetworkRenderFormat, qr as FormWidgetLinkResult, qt as SquareDraftSchema, r as ANNOTATION_KINDS, ra as CacheDelta, ri as FormFieldPatch, s as AnnotationDraftSchema, sl as PdfActionTree, sn as StrikeoutDTOSchema, t as AnnotationListPageSnapshot, ta as AnnotationListMutationMeta, tl as PdfRotation, u as AnnotationPatchSchema, ua as LayerScopePlane, ui as FormFieldOptionInput, ul as PdfAnnotationActions, ut as InkDTOSchema, vi as WidgetAppearanceSchema, vt as LinkPatchSchema, wc as RevisionToken, wr as SearchQuery, xa as AttachmentCreateResult, xc as PdfBits, xn as UnderlinePatchSchema, xt as PdfLinkTargetWritableSchema, yn as UnderlineDTOSchema, yt as PdfDestinationSchema, zi as FormWidgetRef, zn as PageFlattenResult, zt as PolygonPatchSchema } from "./AnnotationListSnapshot-CHjkcIaL.cjs";
|
|
2
|
+
import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-B1uv4FaK.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/geometry/schemas.d.ts
|
|
5
5
|
declare const PdfPointSchema: z.ZodType<PdfPoint>;
|
|
@@ -538,11 +538,12 @@ declare const DocumentManifestSchema: z.ZodType<DocumentManifest>;
|
|
|
538
538
|
declare const AnnotationListPageSnapshotSchema: z.ZodType<AnnotationListPageSnapshot>;
|
|
539
539
|
declare const AnnotationListSnapshotAllPagesSchema: z.ZodType<AnnotationListSnapshotAllPages>;
|
|
540
540
|
/**
|
|
541
|
-
* Wire shape of `GET /
|
|
542
|
-
* `pages.text` worker result
|
|
543
|
-
*
|
|
544
|
-
*
|
|
545
|
-
*
|
|
541
|
+
* Wire shape of `GET …/text/pages/:pon/data@<contentVersion>` and the
|
|
542
|
+
* `pages.text` worker result: the UTF-16-faithful extraction, the CHARACTER
|
|
543
|
+
* space size (`charCount` — the space geometry runs tile; NOT `text.length`),
|
|
544
|
+
* and the optional character→text anchor map. Malformed maps are rejected
|
|
545
|
+
* here with the shared `charMapViolation` invariants — absent/empty map
|
|
546
|
+
* REQUIRES `charCount === text.length` (identity).
|
|
546
547
|
*/
|
|
547
548
|
declare const PageTextSnapshotSchema: z.ZodType<PageTextSnapshot>;
|
|
548
549
|
declare const PageGeometrySnapshotSchema: z.ZodType<PageGeometrySnapshot>;
|
package/dist/wire.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as CaretDraftSchema, $c as
|
|
2
|
-
import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-
|
|
1
|
+
import { $ as CaretDraftSchema, $c as PdfQuad, $o as PageRenderQuery, $r as FormDataFormat, $t as CircleDraftSchema, A as FileAttachmentWireDraftSchema, Ao as AnnotationAppearanceManifest, Ba as AttachmentFileInfo, Bc as PdfRectDifferences, Ca as AttachmentsCache, Cc as AnnotationRef, D as FileAttachmentDTOSchema, Di as FormFieldFlags, Dn as HighlightPatchSchema, Dr as SearchSliceBudget, Dt as LinePatchSchema, En as HighlightDraftSchema, Eo as CachePins, Er as SearchSlice, Et as LineDraftSchema, F as StampDTOSchema, Fc as FreeTextIntent, Fi as ToggleFieldWidget, Fn as RedactionApplyScope, Fo as AnnotationAppearancesQuery, Fs as MetadataPatch, G as TextDTOSchema, Gc as StandardFont, Gi as AnnotationUpdateResult, Gn as PageRotateResult, Gr as FormRepairResult, Ha as EmbeddedFileItem, Hi as AnnotationCreateResult, Hr as FormFieldDeleteResult, I as StampWireDraftSchema, Ic as InkIntent, Jc as CalloutLine, Ji as AppearanceOutcome, Jn as PageMoveResult, Jr as FormEffect, Jt as SquarePatchSchema, K as TextDraftSchema, Kc as StrikeoutIntent, Kn as PageRotateInput, Kr as FormSetValueResult, Kt as SquareDTOSchema, L as StampWirePatchSchema, Lc as LineEnding, Li as FormValueEntry, Ln as PageFlattenInput, Lo as PageState, Lt as PolygonDTOSchema, Mc as CaretIntent, Mn as MetadataUpdateResult, Ms as PageBoxes, Mt as PolylineDraftSchema, Nc as Color, Ns as PageLayout, Nt as PolylinePatchSchema, O as FileAttachmentIconSchema, Oc as AnnotationBorderStyle, Oi as FormFieldOption, Oo as AnnotationAppearanceImageOptions, Or as SearchSnippet, P as ResourceRefSchema, Pn as RedactionApplyResult, Po as AnnotationAppearanceRenderOptions, Q as CaretDTOSchema, Qc as PdfPoint, Qo as PageRenderOptions, Qt as CircleDTOSchema, Rc as LineEndings, Ri as FormFieldRef, Rt as PolygonDraftSchema, Sa as AttachmentDeleteResult, Sr as SearchMatch, Ti as FormFieldDTO, Tn as HighlightDTOSchema, To as PdfSaveMode, Tr as SearchRequest, Tt as LineDTOSchema, Ua as EmbeddedFileRef, Ui as AnnotationDeleteResult, Un as PageDeleteResult, Ur as FormFieldUpdateResult, Vr as FormFieldCreateResult, W as NoteIconSchema, Wi as AnnotationMoveResult, Wn as PageDeleteInput, Wo as PageImageOptions, Wr as FormImportResult, Xn as PageMoveInput, Yc as InkList, Yn as PageStructureCache, Zc as LinePoints, Zr as FormEffectsResult, _ as UnsupportedPatchSchema, _o as SerializedEngineError, _t as LinkDraftSchema, a as AnnotationDTOSchema, as as PageGeometrySnapshot, at as FreeTextDraftSchema, bn as UnderlineDraftSchema, bt as PdfLinkTargetSchema, ca as DocumentManifest, cn as StrikeoutDraftSchema, da as LayerScopes, dl as PdfFieldActions, dt as InkDraftSchema, ei as FormFieldValue, el as PdfRect, en as CirclePatchSchema, et as CaretPatchSchema, f as KIND_BY_SUBTYPE, fl as PdfPageActions, fo as AnnotationStableId, fs as PageTextSnapshot, ft as InkPatchSchema, g as UnsupportedDraftSchema, gi as FormSnapshot, gt as LinkDTOSchema, h as UnsupportedDTOSchema, hi as FormKind, hn as SquigglyPatchSchema, ia as MutationMeta, il as DocumentActionsSnapshot, it as FreeTextDTOSchema, j as WireAttachmentFileSchema, jc as BlendMode, js as PageListSnapshot, jt as PolylineDTOSchema, k as FileAttachmentPatchSchema, kc as AnnotationFlags, la as ManifestPage, li as FormFieldDraft, ln as StrikeoutPatchSchema, mc as DocCapability, mi as WidgetPlacement, mn as SquigglyDraftSchema, n as AnnotationListSnapshotAllPages, na as RefetchReason, nl as PdfSize, ol as PdfActionNode, ot as FreeTextPatchSchema, pl as DocumentMetadata, pn as SquigglyDTOSchema, q as TextPatchSchema, qc as TextAlignment, qo as PageNetworkRenderFormat, qr as FormWidgetLinkResult, qt as SquareDraftSchema, r as ANNOTATION_KINDS, ra as CacheDelta, ri as FormFieldPatch, s as AnnotationDraftSchema, sl as PdfActionTree, sn as StrikeoutDTOSchema, t as AnnotationListPageSnapshot, ta as AnnotationListMutationMeta, tl as PdfRotation, u as AnnotationPatchSchema, ua as LayerScopePlane, ui as FormFieldOptionInput, ul as PdfAnnotationActions, ut as InkDTOSchema, vi as WidgetAppearanceSchema, vt as LinkPatchSchema, wc as RevisionToken, wr as SearchQuery, xa as AttachmentCreateResult, xc as PdfBits, xn as UnderlinePatchSchema, xt as PdfLinkTargetWritableSchema, yn as UnderlineDTOSchema, yt as PdfDestinationSchema, zi as FormWidgetRef, zn as PageFlattenResult, zt as PolygonPatchSchema } from "./AnnotationListSnapshot-CHjkcIaL.js";
|
|
2
|
+
import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-CrxGktMI.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/geometry/schemas.d.ts
|
|
5
5
|
declare const PdfPointSchema: z.ZodType<PdfPoint>;
|
|
@@ -538,11 +538,12 @@ declare const DocumentManifestSchema: z.ZodType<DocumentManifest>;
|
|
|
538
538
|
declare const AnnotationListPageSnapshotSchema: z.ZodType<AnnotationListPageSnapshot>;
|
|
539
539
|
declare const AnnotationListSnapshotAllPagesSchema: z.ZodType<AnnotationListSnapshotAllPages>;
|
|
540
540
|
/**
|
|
541
|
-
* Wire shape of `GET /
|
|
542
|
-
* `pages.text` worker result
|
|
543
|
-
*
|
|
544
|
-
*
|
|
545
|
-
*
|
|
541
|
+
* Wire shape of `GET …/text/pages/:pon/data@<contentVersion>` and the
|
|
542
|
+
* `pages.text` worker result: the UTF-16-faithful extraction, the CHARACTER
|
|
543
|
+
* space size (`charCount` — the space geometry runs tile; NOT `text.length`),
|
|
544
|
+
* and the optional character→text anchor map. Malformed maps are rejected
|
|
545
|
+
* here with the shared `charMapViolation` invariants — absent/empty map
|
|
546
|
+
* REQUIRES `charCount === text.length` (identity).
|
|
546
547
|
*/
|
|
547
548
|
declare const PageTextSnapshotSchema: z.ZodType<PageTextSnapshot>;
|
|
548
549
|
declare const PageGeometrySnapshotSchema: z.ZodType<PageGeometrySnapshot>;
|
package/dist/wire.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as checkCapability, t as checkAnyCapability } from "./resolver-DiPMTfcy.js";
|
|
2
|
-
import { $ as PageStateSchema, $n as FreeTextIntentSchema, $t as SquigglyDraftSchema, A as FormSetValueResultSchema, An as FileAttachmentPatchSchema, At as AnnotationDTOSchema, B as PageDeleteResultSchema, Bn as CaretDraftSchema, Bt as UnderlinePatchSchema, C as FormEffectSchema, Cn as HighlightDraftSchema, Cr as PdfRotationSchema, Ct as FormKindSchema, D as FormFieldUpdateResultSchema, Dn as FreeTextPatchSchema, Dt as ToggleFieldWidgetSchema, E as FormFieldDeleteResultSchema, En as FreeTextDraftSchema, Et as FormWidgetRefSchema, F as MetadataUpdateResultSchema, Fn as EmbeddedFileRefSchema, Ft as UnsupportedDTOSchema, G as PageListSnapshotSchema, Gn as AnnotationFlagsPartialSchema, Gt as StrikeoutDTOSchema, H as PageFlattenResultSchema, Hn as AnnotationBaseShape, Ht as TextDTOSchema, I as MutationMetaSchema, In as CircleDTOSchema, It as UnsupportedDraftSchema, J as PageNetworkRenderFormatSchema, Jn as AnnotationRefSchema, Jt as ResourceRefSchema, K as PageMoveInputSchema, Kn as AnnotationFlagsSchema, Kt as StrikeoutDraftSchema, L as OpenDocumentResponseSchema, Ln as CircleDraftSchema, Lt as UnsupportedPatchSchema, M as LayerScopesSchema, Mn as WireAttachmentFileSchema, Mt as AnnotationPatchSchema, N as ManifestPageSchema, Nn as AttachmentFileInfoSchema, Nt as KIND_BY_SUBTYPE, O as FormImportResultSchema, On as FileAttachmentDTOSchema, Ot as WidgetPlacementSchema, P as MetadataPatchSchema, Pn as EmbeddedFileItemSchema, Pt as WidgetAppearanceSchema, Q as PageRotateResultSchema, Qn as ColorSchema, Qt as SquigglyDTOSchema, R as PageBoxesSchema, Rn as CirclePatchSchema, Rt as UnderlineDTOSchema, S as EngineErrorPayloadSchema, Sn as HighlightDTOSchema, Sr as PdfRectSchema, St as FormFieldValueSchema, T as FormFieldCreateResultSchema, Tn as FreeTextDTOSchema, Tt as FormValueEntrySchema, U as PageGeometrySnapshotSchema, Un as AnnotationBorderStyleSchema, Ut as TextDraftSchema, V as PageFlattenInputSchema, Vn as CaretPatchSchema, Vt as NoteIconSchema, W as PageLayoutSchema, Wn as AnnotationDraftBaseShape, Wt as TextPatchSchema, X as PageRenderQuerySchema, Xn as BlendModeSchema, Xt as StampWireDraftSchema, Y as PageRenderAnnotatedQuerySchema, Yn as AnnotationStableIdSchema, Yt as StampDTOSchema, Z as PageRotateInputSchema, Zn as CaretIntentSchema, Zt as StampWirePatchSchema, _ as CachePinsSchema, _n as LineDraftSchema, _r as CalloutLineSchema, _t as FormFieldFlagsSchema, a as AnnotationCreateResultSchema, an as PolylineDraftSchema, ar as RectSchema, at as RefetchReasonSchema, b as DocumentMetadataSchema, bn as InkDraftSchema, br as PdfPointSchema, bt as FormFieldPatchSchema, c as AnnotationListPageSnapshotSchema, cn as PolygonDraftSchema, cr as StrikeoutIntentSchema, ct as SearchQuerySchema, d as AnnotationUpdateResultSchema, dn as LinkDraftSchema, dr as PdfActionNodeSchema, dt as SearchSnippetSchema, en as SquigglyPatchSchema, er as InkIntentSchema, et as PageStructureCacheSchema, f as AppearanceOutcomeSchema, fn as LinkPatchSchema, fr as PdfActionTreeSchema, ft as WeakAnnotationSessionPagesRequestSchema, g as CacheDeltaSchema, gn as LineDTOSchema, gr as PdfPageActionsSchema, gt as FormFieldDraftSchema, h as AttachmentsCacheSchema, hn as PdfLinkTargetWritableSchema, hr as PdfFieldActionsSchema, ht as FormFieldDTOSchema, i as AnnotationAppearancesQuerySchema, in as PolylineDTOSchema, ir as PointSchema, it as RedactionApplyScopeSchema, j as FormWidgetLinkResultSchema, jn as FileAttachmentWireDraftSchema, jt as AnnotationDraftSchema, k as FormRepairResultSchema, kn as FileAttachmentIconSchema, kt as ANNOTATION_KINDS, l as AnnotationListSnapshotAllPagesSchema, ln as PolygonPatchSchema, lr as TextAlignmentSchema, lt as SearchRequestSchema, m as AttachmentDeleteResultSchema, mn as PdfLinkTargetSchema, mr as PdfAnnotationActionsSchema, mt as FormDataFormatSchema, n as AccessResponseSchema, nn as SquareDraftSchema, nr as LineEndingsSchema, nt as PdfSaveModeSchema, o as AnnotationDeleteResultSchema, on as PolylinePatchSchema, or as RevisionTokenSchema, ot as SearchMatchSchema, p as AttachmentCreateResultSchema, pn as PdfDestinationSchema, pr as PdfActionTypeSchema, pt as WeakAnnotationSessionResponseSchema, q as PageMoveResultSchema, qn as AnnotationPatchBaseShape, qt as StrikeoutPatchSchema, r as AnnotationAppearanceManifestSchema, rn as SquarePatchSchema, rr as PdfRectDifferencesSchema, rt as RedactionApplyResultSchema, s as AnnotationListMutationMetaSchema, sn as PolygonDTOSchema, sr as StandardFontSchema, st as SearchModeSchema, t as AccessRequestSchema, tn as SquareDTOSchema, tr as LineEndingSchema, tt as PageTextSnapshotSchema, u as AnnotationMoveResultSchema, un as LinkDTOSchema, ur as DocumentActionsSnapshotSchema, ut as SearchSliceSchema, v as DocumentHeadSchema, vn as LinePatchSchema, vr as InkListSchema, vt as FormFieldOptionInputSchema, w as FormEffectsResultSchema, wn as HighlightPatchSchema, wr as PdfSizeSchema, wt as FormSnapshotSchema, x as DocumentSecurityStateSchema, xn as InkPatchSchema, xr as PdfQuadSchema, xt as FormFieldRefSchema, y as DocumentManifestSchema, yn as InkDTOSchema, yr as LinePointsSchema, yt as FormFieldOptionSchema, z as PageDeleteInputSchema, zn as CaretDTOSchema, zt as UnderlineDraftSchema } from "./schemas-
|
|
2
|
+
import { $ as PageStateSchema, $n as FreeTextIntentSchema, $t as SquigglyDraftSchema, A as FormSetValueResultSchema, An as FileAttachmentPatchSchema, At as AnnotationDTOSchema, B as PageDeleteResultSchema, Bn as CaretDraftSchema, Bt as UnderlinePatchSchema, C as FormEffectSchema, Cn as HighlightDraftSchema, Cr as PdfRotationSchema, Ct as FormKindSchema, D as FormFieldUpdateResultSchema, Dn as FreeTextPatchSchema, Dt as ToggleFieldWidgetSchema, E as FormFieldDeleteResultSchema, En as FreeTextDraftSchema, Et as FormWidgetRefSchema, F as MetadataUpdateResultSchema, Fn as EmbeddedFileRefSchema, Ft as UnsupportedDTOSchema, G as PageListSnapshotSchema, Gn as AnnotationFlagsPartialSchema, Gt as StrikeoutDTOSchema, H as PageFlattenResultSchema, Hn as AnnotationBaseShape, Ht as TextDTOSchema, I as MutationMetaSchema, In as CircleDTOSchema, It as UnsupportedDraftSchema, J as PageNetworkRenderFormatSchema, Jn as AnnotationRefSchema, Jt as ResourceRefSchema, K as PageMoveInputSchema, Kn as AnnotationFlagsSchema, Kt as StrikeoutDraftSchema, L as OpenDocumentResponseSchema, Ln as CircleDraftSchema, Lt as UnsupportedPatchSchema, M as LayerScopesSchema, Mn as WireAttachmentFileSchema, Mt as AnnotationPatchSchema, N as ManifestPageSchema, Nn as AttachmentFileInfoSchema, Nt as KIND_BY_SUBTYPE, O as FormImportResultSchema, On as FileAttachmentDTOSchema, Ot as WidgetPlacementSchema, P as MetadataPatchSchema, Pn as EmbeddedFileItemSchema, Pt as WidgetAppearanceSchema, Q as PageRotateResultSchema, Qn as ColorSchema, Qt as SquigglyDTOSchema, R as PageBoxesSchema, Rn as CirclePatchSchema, Rt as UnderlineDTOSchema, S as EngineErrorPayloadSchema, Sn as HighlightDTOSchema, Sr as PdfRectSchema, St as FormFieldValueSchema, T as FormFieldCreateResultSchema, Tn as FreeTextDTOSchema, Tt as FormValueEntrySchema, U as PageGeometrySnapshotSchema, Un as AnnotationBorderStyleSchema, Ut as TextDraftSchema, V as PageFlattenInputSchema, Vn as CaretPatchSchema, Vt as NoteIconSchema, W as PageLayoutSchema, Wn as AnnotationDraftBaseShape, Wt as TextPatchSchema, X as PageRenderQuerySchema, Xn as BlendModeSchema, Xt as StampWireDraftSchema, Y as PageRenderAnnotatedQuerySchema, Yn as AnnotationStableIdSchema, Yt as StampDTOSchema, Z as PageRotateInputSchema, Zn as CaretIntentSchema, Zt as StampWirePatchSchema, _ as CachePinsSchema, _n as LineDraftSchema, _r as CalloutLineSchema, _t as FormFieldFlagsSchema, a as AnnotationCreateResultSchema, an as PolylineDraftSchema, ar as RectSchema, at as RefetchReasonSchema, b as DocumentMetadataSchema, bn as InkDraftSchema, br as PdfPointSchema, bt as FormFieldPatchSchema, c as AnnotationListPageSnapshotSchema, cn as PolygonDraftSchema, cr as StrikeoutIntentSchema, ct as SearchQuerySchema, d as AnnotationUpdateResultSchema, dn as LinkDraftSchema, dr as PdfActionNodeSchema, dt as SearchSnippetSchema, en as SquigglyPatchSchema, er as InkIntentSchema, et as PageStructureCacheSchema, f as AppearanceOutcomeSchema, fn as LinkPatchSchema, fr as PdfActionTreeSchema, ft as WeakAnnotationSessionPagesRequestSchema, g as CacheDeltaSchema, gn as LineDTOSchema, gr as PdfPageActionsSchema, gt as FormFieldDraftSchema, h as AttachmentsCacheSchema, hn as PdfLinkTargetWritableSchema, hr as PdfFieldActionsSchema, ht as FormFieldDTOSchema, i as AnnotationAppearancesQuerySchema, in as PolylineDTOSchema, ir as PointSchema, it as RedactionApplyScopeSchema, j as FormWidgetLinkResultSchema, jn as FileAttachmentWireDraftSchema, jt as AnnotationDraftSchema, k as FormRepairResultSchema, kn as FileAttachmentIconSchema, kt as ANNOTATION_KINDS, l as AnnotationListSnapshotAllPagesSchema, ln as PolygonPatchSchema, lr as TextAlignmentSchema, lt as SearchRequestSchema, m as AttachmentDeleteResultSchema, mn as PdfLinkTargetSchema, mr as PdfAnnotationActionsSchema, mt as FormDataFormatSchema, n as AccessResponseSchema, nn as SquareDraftSchema, nr as LineEndingsSchema, nt as PdfSaveModeSchema, o as AnnotationDeleteResultSchema, on as PolylinePatchSchema, or as RevisionTokenSchema, ot as SearchMatchSchema, p as AttachmentCreateResultSchema, pn as PdfDestinationSchema, pr as PdfActionTypeSchema, pt as WeakAnnotationSessionResponseSchema, q as PageMoveResultSchema, qn as AnnotationPatchBaseShape, qt as StrikeoutPatchSchema, r as AnnotationAppearanceManifestSchema, rn as SquarePatchSchema, rr as PdfRectDifferencesSchema, rt as RedactionApplyResultSchema, s as AnnotationListMutationMetaSchema, sn as PolygonDTOSchema, sr as StandardFontSchema, st as SearchModeSchema, t as AccessRequestSchema, tn as SquareDTOSchema, tr as LineEndingSchema, tt as PageTextSnapshotSchema, u as AnnotationMoveResultSchema, un as LinkDTOSchema, ur as DocumentActionsSnapshotSchema, ut as SearchSliceSchema, v as DocumentHeadSchema, vn as LinePatchSchema, vr as InkListSchema, vt as FormFieldOptionInputSchema, w as FormEffectsResultSchema, wn as HighlightPatchSchema, wr as PdfSizeSchema, wt as FormSnapshotSchema, x as DocumentSecurityStateSchema, xn as InkPatchSchema, xr as PdfQuadSchema, xt as FormFieldRefSchema, y as DocumentManifestSchema, yn as InkDTOSchema, yr as LinePointsSchema, yt as FormFieldOptionSchema, z as PageDeleteInputSchema, zn as CaretDTOSchema, zt as UnderlineDraftSchema } from "./schemas-ES6-TkIl.js";
|
|
3
3
|
//#region src/wire/token.ts
|
|
4
4
|
const DEFAULT_MAX_TOKEN_LENGTH = 256;
|
|
5
5
|
const FIELD_NAME_RE = /^[A-Za-z][A-Za-z0-9]*(?:\.[A-Za-z][A-Za-z0-9]*)*$/;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embedpdf/engine-core",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Engine v3 core: AbortablePromise, Engine/DocumentHandle interfaces, DTOs, wire schemas, error codes, and a transport-agnostic conformance harness shared by every Engine implementation.",
|
|
6
6
|
"type": "module",
|