@embedpdf/engine-core 3.0.0-next.14 → 3.0.0-next.16

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.
Files changed (135) hide show
  1. package/dist/AnnotationList-DcyhF2kU.d.cts +27691 -0
  2. package/dist/AnnotationList-DcyhF2kU.d.ts +27691 -0
  3. package/dist/Change-Ct-dB8D5.cjs +1133 -0
  4. package/dist/Change-Ct-dB8D5.cjs.map +1 -0
  5. package/dist/Change-tMR34hTU.js +978 -0
  6. package/dist/Change-tMR34hTU.js.map +1 -0
  7. package/dist/DocumentRenderService-9IjSQEIU.cjs +121 -0
  8. package/dist/DocumentRenderService-9IjSQEIU.cjs.map +1 -0
  9. package/dist/DocumentRenderService-DFrZ9wfW.js +86 -0
  10. package/dist/DocumentRenderService-DFrZ9wfW.js.map +1 -0
  11. package/dist/{DocumentSecurityService-Ca6EK3-3.d.ts → DocumentSecurityService-D2zA4NKi.d.cts} +100 -112
  12. package/dist/{DocumentSecurityService-CIx1MT0T.d.cts → DocumentSecurityService-YJV9df8P.d.ts} +100 -112
  13. package/dist/LocalDocumentHandle-D02FMm-Z.cjs +53 -0
  14. package/dist/LocalDocumentHandle-D02FMm-Z.cjs.map +1 -0
  15. package/dist/LocalDocumentHandle-DAPdaOt_.js +30 -0
  16. package/dist/LocalDocumentHandle-DAPdaOt_.js.map +1 -0
  17. package/dist/LocalEngine-DBt2-GWF.d.ts +1649 -0
  18. package/dist/LocalEngine-IA9zh3Jh.d.cts +1649 -0
  19. package/dist/PageInsertBlankInput-CXHAM7l6.cjs +17 -0
  20. package/dist/PageInsertBlankInput-CXHAM7l6.cjs.map +1 -0
  21. package/dist/PageInsertBlankInput-DhVYVJ_S.js +12 -0
  22. package/dist/PageInsertBlankInput-DhVYVJ_S.js.map +1 -0
  23. package/dist/authority-BFp6XM04.cjs +2997 -0
  24. package/dist/authority-BFp6XM04.cjs.map +1 -0
  25. package/dist/authority-PuxpGFhJ.js +2506 -0
  26. package/dist/authority-PuxpGFhJ.js.map +1 -0
  27. package/dist/builders-DV62HA3I.js +165 -0
  28. package/dist/builders-DV62HA3I.js.map +1 -0
  29. package/dist/builders-DgTAj_tP.cjs +188 -0
  30. package/dist/builders-DgTAj_tP.cjs.map +1 -0
  31. package/dist/calibrate-DJbi1wuK.cjs +3012 -0
  32. package/dist/calibrate-DJbi1wuK.cjs.map +1 -0
  33. package/dist/calibrate-nQFgCuki.js +2461 -0
  34. package/dist/calibrate-nQFgCuki.js.map +1 -0
  35. package/dist/charmap-Cprti1ta.js +239 -0
  36. package/dist/charmap-Cprti1ta.js.map +1 -0
  37. package/dist/charmap-aYlefQP9.cjs +304 -0
  38. package/dist/charmap-aYlefQP9.cjs.map +1 -0
  39. package/dist/conformance.cjs +18146 -5258
  40. package/dist/conformance.cjs.map +1 -1
  41. package/dist/conformance.d.cts +1024 -170
  42. package/dist/conformance.d.ts +1024 -170
  43. package/dist/conformance.js +18148 -5309
  44. package/dist/conformance.js.map +1 -1
  45. package/dist/format-Bp3QFSH1.cjs +574 -0
  46. package/dist/format-Bp3QFSH1.cjs.map +1 -0
  47. package/dist/format-Dgg428Kb.js +461 -0
  48. package/dist/format-Dgg428Kb.js.map +1 -0
  49. package/dist/index.cjs +342 -116
  50. package/dist/index.d.cts +2 -2
  51. package/dist/index.d.ts +2 -2
  52. package/dist/index.js +14 -5
  53. package/dist/pageRefs-B3ur7Ckm.cjs +51 -0
  54. package/dist/pageRefs-B3ur7Ckm.cjs.map +1 -0
  55. package/dist/pageRefs-DkbuxSCV.js +40 -0
  56. package/dist/pageRefs-DkbuxSCV.js.map +1 -0
  57. package/dist/public.cjs +59 -0
  58. package/dist/public.d.cts +5 -0
  59. package/dist/public.d.ts +5 -0
  60. package/dist/public.js +9 -0
  61. package/dist/resolveAnnotationDraft-7Ke4nV7F.cjs +3646 -0
  62. package/dist/resolveAnnotationDraft-7Ke4nV7F.cjs.map +1 -0
  63. package/dist/resolveAnnotationDraft-CUpf0SMh.js +3167 -0
  64. package/dist/resolveAnnotationDraft-CUpf0SMh.js.map +1 -0
  65. package/dist/{resolver-inAVzsWt.js → resolver-BBggAxQc.js} +298 -145
  66. package/dist/resolver-BBggAxQc.js.map +1 -0
  67. package/dist/{resolver-CYVNV4hn.cjs → resolver-BWSWSF6R.cjs} +351 -144
  68. package/dist/resolver-BWSWSF6R.cjs.map +1 -0
  69. package/dist/runtime-BaDKjxiu.d.ts +1959 -0
  70. package/dist/runtime-CWEuiwbk.d.cts +1959 -0
  71. package/dist/runtime.cjs +986 -297
  72. package/dist/runtime.cjs.map +1 -1
  73. package/dist/runtime.d.cts +5 -1372
  74. package/dist/runtime.d.ts +5 -1372
  75. package/dist/runtime.js +634 -179
  76. package/dist/runtime.js.map +1 -1
  77. package/dist/schema-6S2VmlAj.js +2087 -0
  78. package/dist/schema-6S2VmlAj.js.map +1 -0
  79. package/dist/schema-miH6tWQC.cjs +3046 -0
  80. package/dist/schema-miH6tWQC.cjs.map +1 -0
  81. package/dist/schemas-BE2QGOit.js +1851 -0
  82. package/dist/schemas-BE2QGOit.js.map +1 -0
  83. package/dist/schemas-DljJR9ut.cjs +2798 -0
  84. package/dist/schemas-DljJR9ut.cjs.map +1 -0
  85. package/dist/subtype-CG4WpIRj.js +129 -0
  86. package/dist/subtype-CG4WpIRj.js.map +1 -0
  87. package/dist/subtype-aDt5TFmK.cjs +158 -0
  88. package/dist/subtype-aDt5TFmK.cjs.map +1 -0
  89. package/dist/validation.cjs +578 -0
  90. package/dist/validation.cjs.map +1 -0
  91. package/dist/validation.d.cts +174 -0
  92. package/dist/validation.d.ts +174 -0
  93. package/dist/validation.js +571 -0
  94. package/dist/validation.js.map +1 -0
  95. package/dist/value-BFS1R8ek.cjs +435 -0
  96. package/dist/value-BFS1R8ek.cjs.map +1 -0
  97. package/dist/value-Dhc8eYcx.js +340 -0
  98. package/dist/value-Dhc8eYcx.js.map +1 -0
  99. package/dist/viewport-CHG9qQUb.cjs +671 -0
  100. package/dist/viewport-CHG9qQUb.cjs.map +1 -0
  101. package/dist/viewport-DQR5LyX3.js +540 -0
  102. package/dist/viewport-DQR5LyX3.js.map +1 -0
  103. package/dist/wire.cjs +1242 -420
  104. package/dist/wire.cjs.map +1 -1
  105. package/dist/wire.d.cts +14840 -830
  106. package/dist/wire.d.ts +14840 -830
  107. package/dist/wire.js +985 -261
  108. package/dist/wire.js.map +1 -1
  109. package/package.json +10 -1
  110. package/dist/AbortError-DwuHPK_I.js +0 -27
  111. package/dist/AbortError-DwuHPK_I.js.map +0 -1
  112. package/dist/AbortError-P0RU0Mgg.cjs +0 -38
  113. package/dist/AbortError-P0RU0Mgg.cjs.map +0 -1
  114. package/dist/AnnotationListSnapshot-D9R5n2Kf.d.cts +0 -7101
  115. package/dist/AnnotationListSnapshot-D9R5n2Kf.d.ts +0 -7101
  116. package/dist/Engine-EWWHhEIi.d.ts +0 -1277
  117. package/dist/Engine-FNaAEjfb.d.cts +0 -1277
  118. package/dist/derive-BbsDk_Kz.cjs +0 -880
  119. package/dist/derive-BbsDk_Kz.cjs.map +0 -1
  120. package/dist/derive-DAFJolWu.js +0 -647
  121. package/dist/derive-DAFJolWu.js.map +0 -1
  122. package/dist/format-Bbphf4zR.js +0 -435
  123. package/dist/format-Bbphf4zR.js.map +0 -1
  124. package/dist/format-D_epWlob.cjs +0 -518
  125. package/dist/format-D_epWlob.cjs.map +0 -1
  126. package/dist/resolver-CYVNV4hn.cjs.map +0 -1
  127. package/dist/resolver-inAVzsWt.js.map +0 -1
  128. package/dist/schemas-CFQGvWiu.js +0 -3243
  129. package/dist/schemas-CFQGvWiu.js.map +0 -1
  130. package/dist/schemas-D0g6tKa9.cjs +0 -4694
  131. package/dist/schemas-D0g6tKa9.cjs.map +0 -1
  132. package/dist/viewport-BWeNHZmb.cjs +0 -3503
  133. package/dist/viewport-BWeNHZmb.cjs.map +0 -1
  134. package/dist/viewport-CvMcadfQ.js +0 -3072
  135. package/dist/viewport-CvMcadfQ.js.map +0 -1
@@ -0,0 +1,5 @@
1
+ import { $a as annotationOfDraft, $l as AnnotationImportResult, $o as SearchLimit, $u as AttachmentRef, Ah as OutlineItemRef, Al as FormTransfer, As as ANNOTATION_DEFAULTS, Bh as OpenInputLayerBytes, Bm as PixelQuad, C_ as pageBoxOf, Ca as AnnotationPosition, Cd as PdfMeasure, D_ as pdfQuadOf, Da as PagePosition, Dh as OutlineItem, Dn as measurementReadout, E_ as pdfPointOf, Ea as OutlinePosition, F_ as PdfRect, Fm as PageRenderMatrix, Fn as MeasurementFormatOptions, Fs as AnnotationDraft, Gh as OpenInputToken, Gi as Change, Gp as PageTextRange, I_ as PdfRotation, Im as PageRenderTransform, In as measureFromKnownLength, Ip as isRotatedGeometryRun, Is as AnnotationPatch, Jh as caps, Ji as ChangeItemType, Kh as OpenOptions, Kl as AnnotationTransfer, Kp as TextRange, Lc as annotationKey, Lh as OpenInput, Lm as PageTransformOptions, Ln as measureFromRatio, Lp as PageTextSnapshot, Mh as toOutlineItemRef, N_ as PdfPoint, Ns as Annotation, O_ as pdfRectOf, Oa as anchorOf, Oh as OutlineItemDraft, Os as pageDestinationOf, P_ as PdfQuad, Pc as buildCommentThreads, Pn as MeasureFromRatioOptions, Qc as FormImportResult, Qu as AttachmentList, R_ as FormFieldRef, Rh as OpenInputById, Rm as PixelBox, Rn as AreaUnit, Sm as PrintDpi, Sp as shownAppearances, T_ as pageQuadOf, Ta as ListPosition, Td as PdfNumberFormat, Th as DocumentOutline, Tu as AnnotationBundle, U_ as toFieldRef, Up as charRangeForTextOffsets, Vh as OpenInputLayerFile, Vm as pageTransform, Wh as OpenInputShare, X_ as EngineError, Xd as AnnotationSubtype, Xi as ChangeResult, Xv as PdfDestination, Yh as collab, Yi as ChangeOp, Yv as PageDestination, Zv as PageRef, _a as OutlineMutationMeta, _r as validateSearchQuery, au as FormWidgetAddOptions, ba as OutlineUpdateResult, cf as ObjectNumberPool, cp as PdfSaveMode, do as resolveAnnotationDraft, du as AnnotationReorderResult, ea as SkippedChangeItem, em as ImageSource, eo as appearanceTurnOf, es as SearchMatch, ey as pageRefsEqual, fo as resolveAnnotationPatch, fu as AnnotationUpdateResult, ga as OutlineMoveResult, gm as PageRenderOptions, go as DraftContext, ha as OutlineDeleteResult, hh as PageLayout, ho as DraftAttribution, i_ as FormFieldDTO, im as PageImageOptions, is as SearchSnippet, iu as FormFieldCreateOptions, ja as reorderedList, jc as CommentThread, jh as outlineItemRefsEqual, jl as FormBundle, js as AnnotationDefaults, kh as OutlineItemPatch, km as FlattenOptions, kp as PageGeometryRun, ks as pdfDestinationOf, lf as ObjectNumberRange, lu as AnnotationCreateResult, ma as OutlineCreateResult, mm as PageRenderImage, mo as shapeForRect, n as AnnotationListOptions, nm as PageImageHandle, no as drawnPointsOf, ns as SearchRequest, nu as AnnotationUpdateOptions, of as OBJECT_NUMBER_CEILING, os as PdfTextSegment, ou as PageInsertBlankOptions, ph as PageListSnapshot, pv as Identity, q_ as AnnotationRef, qh as TokenSource, qi as ChangeItem, qu as Attachment, rl as FormValuesImportResult, rs as SearchSlice, ru as FlattenWriteOptions, sp as DownloadOptions, ss as TextLayout, su as WriteOptions, t as AnnotationList, td as toAttachmentRef, to as applyAnnotationPatch, ts as SearchQuery, tu as AnnotationCreateOptions, tv as EngineErrorCode, ty as toPageRef, uf as ObjectNumbersLost, um as PageRaster, uu as AnnotationDeleteResult, uv as DocCapability, va as OutlineOrder, vm as PageRenderRaster, vn as viewportForPoint, w_ as pagePointOf, wd as PdfMeasurement, xv as AbortablePromise, ya as OutlineRestoreResult, yn as formatMeasurement, zh as OpenInputBytes, zm as PixelPoint, zn as LengthUnit } from "./AnnotationList-DcyhF2kU.js";
2
+ import { $ as OutlineCreateOptions, A as PageHandle, B as CustomMetadataService, D as DocumentEventOf, J as snapFullPageViewport, L as LocalPageAnnotationsService, M as PageTextService, N as LocalPageRenderService, O as DocumentEventType, P as PageRenderService, Q as DocumentOutlineService, R as PageAnnotationsService, S as WorkingSetPage, T as DocumentEvent, Z as DocumentPagesService, _ as Engine, a as LocalPageHandle, b as CallFacts, i as isLocalDocument, k as EventOrigin, n as isLocalEngine, o as isLocalPage, r as LocalDocumentHandle, rt as DocumentAnnotationsService, t as LocalEngine, v as EngineFactory, x as CallPriority, y as DocumentHandle, z as MetadataService } from "./LocalEngine-DBt2-GWF.js";
3
+ import { c as DocumentSecurityService, d as DocumentUnlockResult, i as DocumentAccessInfo, l as DocumentSecurityState, u as DocumentUnlockInput } from "./DocumentSecurityService-YJV9df8P.js";
4
+ import { An as AbortError, jn as isAbortError } from "./runtime-BaDKjxiu.js";
5
+ export { ANNOTATION_DEFAULTS, AbortError, AbortablePromise, type Annotation, type AnnotationBundle, type AnnotationCreateOptions, type AnnotationCreateResult, type AnnotationDefaults, type AnnotationDeleteResult, type AnnotationDraft, type AnnotationImportResult, type AnnotationList, type AnnotationListOptions, type AnnotationPatch, type AnnotationPosition, type AnnotationRef, type AnnotationReorderResult, type AnnotationSubtype, AnnotationTransfer, type AnnotationUpdateOptions, type AnnotationUpdateResult, type AreaUnit, type Attachment, type AttachmentList, type AttachmentRef, type CallFacts, type CallPriority, type Change, type ChangeItem, type ChangeItemType, type ChangeOp, type ChangeResult, type CommentThread, type CustomMetadataService, type DocCapability, type DocumentAccessInfo, type DocumentAnnotationsService, type DocumentEvent, type DocumentEventOf, type DocumentEventType, type DocumentHandle, type DocumentOutline, type DocumentOutlineService, type DocumentPagesService, type DocumentSecurityService, type DocumentSecurityState, type DocumentUnlockInput, type DocumentUnlockResult, type DownloadOptions, type DraftAttribution, type DraftContext, type Engine, EngineError, EngineErrorCode, type EngineFactory, type EventOrigin, type FlattenOptions, type FlattenWriteOptions, type FormBundle, type FormFieldCreateOptions, type FormFieldDTO, type FormFieldRef, type FormImportResult, FormTransfer, type FormValuesImportResult, type FormWidgetAddOptions, type Identity, type ImageSource, type LengthUnit, type ListPosition, type LocalDocumentHandle, type LocalEngine, type LocalPageAnnotationsService, type LocalPageHandle, type LocalPageRenderService, type MeasureFromRatioOptions, type MeasurementFormatOptions, type MetadataService, OBJECT_NUMBER_CEILING, type ObjectNumberPool, type ObjectNumberRange, type ObjectNumbersLost, type OpenInput, type OpenInputById, type OpenInputBytes, type OpenInputLayerBytes, type OpenInputLayerFile, type OpenInputShare, type OpenInputToken, type OpenOptions, type OutlineCreateOptions, type OutlineCreateResult, type OutlineDeleteResult, type OutlineItem, type OutlineItemDraft, type OutlineItemPatch, type OutlineItemRef, type OutlineMoveResult, type OutlineMutationMeta, type OutlineOrder, type OutlinePosition, type OutlineRestoreResult, type OutlineUpdateResult, type PageAnnotationsService, type PageDestination, type PageGeometryRun, type PageHandle, type PageImageHandle, type PageImageOptions, type PageInsertBlankOptions, type PageLayout, type PageListSnapshot, type PagePosition, type PageRaster, type PageRef, type PageRenderImage, type PageRenderMatrix, type PageRenderOptions, type PageRenderRaster, type PageRenderService, type PageRenderTransform, type PageTextRange, type PageTextService, type PageTextSnapshot, type PageTransformOptions, type PdfDestination, type PdfMeasure, type PdfMeasurement, type PdfNumberFormat, type PdfPoint, type PdfQuad, type PdfRect, type PdfRotation, type PdfSaveMode, type PdfTextSegment, type PixelBox, type PixelPoint, type PixelQuad, type PrintDpi, type SearchLimit, type SearchMatch, type SearchQuery, type SearchRequest, type SearchSlice, type SearchSnippet, type SkippedChangeItem, type TextLayout, type TextRange, type TokenSource, type WorkingSetPage, type WriteOptions, anchorOf, annotationKey, annotationOfDraft, appearanceTurnOf, applyAnnotationPatch, buildCommentThreads, caps, charRangeForTextOffsets, collab, drawnPointsOf, formatMeasurement, isAbortError, isLocalDocument, isLocalEngine, isLocalPage, isRotatedGeometryRun, measureFromKnownLength, measureFromRatio, measurementReadout, outlineItemRefsEqual, pageBoxOf, pageDestinationOf, pagePointOf, pageQuadOf, pageRefsEqual, pageTransform, pdfDestinationOf, pdfPointOf, pdfQuadOf, pdfRectOf, reorderedList, resolveAnnotationDraft, resolveAnnotationPatch, shapeForRect, shownAppearances, snapFullPageViewport, toAttachmentRef, toFieldRef, toOutlineItemRef, toPageRef, validateSearchQuery, viewportForPoint };
package/dist/public.js ADDED
@@ -0,0 +1,9 @@
1
+ import { At as pageTransform, C as resolveAnnotationPatch, Ct as isRotatedGeometryRun, Dt as pdfPointOf, Et as pageQuadOf, J as pageDestinationOf, Ot as pdfQuadOf, S as resolveAnnotationDraft, T as shapeForRect, Tt as pagePointOf, X as ANNOTATION_DEFAULTS, Y as pdfDestinationOf, _t as outlineItemRefsEqual, bt as isAbortError, d as appearanceTurnOf, f as applyAnnotationPatch, kt as pdfRectOf, n as measureFromRatio, nt as AnnotationTransfer, p as drawnPointsOf, t as measureFromKnownLength, tt as toAttachmentRef, u as annotationOfDraft, vt as toOutlineItemRef, wt as pageBoxOf, yt as AbortError } from "./calibrate-nQFgCuki.js";
2
+ import { F as buildCommentThreads, S as measurementReadout } from "./resolveAnnotationDraft-CUpf0SMh.js";
3
+ import { d as pageRefsEqual, f as toPageRef, h as EngineError, m as annotationKey, o as toFieldRef, t as formatMeasurement, y as EngineErrorCode } from "./format-Dgg428Kb.js";
4
+ import { S as AbortablePromise, _ as OBJECT_NUMBER_CEILING, a as reorderedList, c as validateSearchQuery, m as FormTransfer, n as anchorOf, t as viewportForPoint } from "./viewport-DQR5LyX3.js";
5
+ import { d as shownAppearances, i as charRangeForTextOffsets } from "./charmap-Cprti1ta.js";
6
+ import { n as collab, t as caps } from "./builders-DV62HA3I.js";
7
+ import { n as isLocalPage, t as isLocalDocument } from "./LocalDocumentHandle-DAPdaOt_.js";
8
+ import { i as snapFullPageViewport, o as isLocalEngine } from "./DocumentRenderService-DFrZ9wfW.js";
9
+ export { ANNOTATION_DEFAULTS, AbortError, AbortablePromise, AnnotationTransfer, EngineError, EngineErrorCode, FormTransfer, OBJECT_NUMBER_CEILING, anchorOf, annotationKey, annotationOfDraft, appearanceTurnOf, applyAnnotationPatch, buildCommentThreads, caps, charRangeForTextOffsets, collab, drawnPointsOf, formatMeasurement, isAbortError, isLocalDocument, isLocalEngine, isLocalPage, isRotatedGeometryRun, measureFromKnownLength, measureFromRatio, measurementReadout, outlineItemRefsEqual, pageBoxOf, pageDestinationOf, pagePointOf, pageQuadOf, pageRefsEqual, pageTransform, pdfDestinationOf, pdfPointOf, pdfQuadOf, pdfRectOf, reorderedList, resolveAnnotationDraft, resolveAnnotationPatch, shapeForRect, shownAppearances, snapFullPageViewport, toAttachmentRef, toFieldRef, toOutlineItemRef, toPageRef, validateSearchQuery, viewportForPoint };