@embedpdf/engine-core 3.0.0-next.10 → 3.0.0-next.11
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/{AnnotationListSnapshot-DDxHpJQU.d.cts → AnnotationListSnapshot-C1U3XUxP.d.cts} +310 -88
- package/dist/{AnnotationListSnapshot-DDxHpJQU.d.ts → AnnotationListSnapshot-C1U3XUxP.d.ts} +310 -88
- package/dist/{DocumentSecurityService-BV4_YXkU.d.cts → DocumentSecurityService-6rhztZlz.d.cts} +2 -2
- package/dist/{DocumentSecurityService-o9aeTHwT.d.ts → DocumentSecurityService-7nL9aY75.d.ts} +2 -2
- package/dist/{Engine-D9je6GdU.d.cts → Engine-CWnAKccD.d.ts} +15 -3
- package/dist/{Engine-DOoVem7_.d.ts → Engine-D3868xIU.d.cts} +15 -3
- package/dist/{builders-B_KufGJ9.js → builders-Cdz34nbF.js} +26 -2
- package/dist/builders-Cdz34nbF.js.map +1 -0
- package/dist/{builders-Cp_rlGob.cjs → builders-Do6_4KnS.cjs} +31 -1
- package/dist/builders-Do6_4KnS.cjs.map +1 -0
- package/dist/conformance.cjs +218 -7
- package/dist/conformance.cjs.map +1 -1
- package/dist/conformance.d.cts +8 -2
- package/dist/conformance.d.ts +8 -2
- package/dist/conformance.js +218 -7
- package/dist/conformance.js.map +1 -1
- package/dist/index.cjs +3 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/{resolver-DiPMTfcy.js → resolver-CHG4waXL.js} +2 -1
- package/dist/resolver-CHG4waXL.js.map +1 -0
- package/dist/{resolver-DAZWVoJL.cjs → resolver-D-jumvgM.cjs} +2 -1
- package/dist/resolver-D-jumvgM.cjs.map +1 -0
- package/dist/runtime.cjs +3 -2
- package/dist/runtime.d.cts +4 -4
- package/dist/runtime.d.ts +4 -4
- package/dist/runtime.js +3 -3
- package/dist/{schemas-D1pxEv3t.cjs → schemas-CS5iPpX5.cjs} +168 -80
- package/dist/schemas-CS5iPpX5.cjs.map +1 -0
- package/dist/{schemas-DAnu8tuW.js → schemas-XGrNVMDd.js} +157 -81
- package/dist/schemas-XGrNVMDd.js.map +1 -0
- package/dist/wire.cjs +43 -2
- package/dist/wire.cjs.map +1 -1
- package/dist/wire.d.cts +181 -8
- package/dist/wire.d.ts +181 -8
- package/dist/wire.js +39 -3
- package/dist/wire.js.map +1 -1
- package/package.json +1 -1
- package/dist/builders-B_KufGJ9.js.map +0 -1
- package/dist/builders-Cp_rlGob.cjs.map +0 -1
- package/dist/resolver-DAZWVoJL.cjs.map +0 -1
- package/dist/resolver-DiPMTfcy.js.map +0 -1
- package/dist/schemas-D1pxEv3t.cjs.map +0 -1
- package/dist/schemas-DAnu8tuW.js.map +0 -1
package/dist/{AnnotationListSnapshot-DDxHpJQU.d.cts → AnnotationListSnapshot-C1U3XUxP.d.cts}
RENAMED
|
@@ -16,20 +16,245 @@ interface DocumentMetadata {
|
|
|
16
16
|
custom: Record<string, string>;
|
|
17
17
|
}
|
|
18
18
|
//#endregion
|
|
19
|
+
//#region src/identity/PageObjectNumber.d.ts
|
|
20
|
+
/**
|
|
21
|
+
* PDF indirect object number for a page.
|
|
22
|
+
*
|
|
23
|
+
* Resolved via the PDFium runtime helper `EPDFPage_GetObjectNumber(pagePtr)`.
|
|
24
|
+
* Always > 0 for well-formed PDFs. This replaces the v2 page index as the
|
|
25
|
+
* primary addressing key. The page index is kept on `PageHandle` as display
|
|
26
|
+
* metadata only, because it can shift when pages are inserted, deleted, or
|
|
27
|
+
* reordered while a session is open.
|
|
28
|
+
*/
|
|
29
|
+
type PageObjectNumber = number;
|
|
30
|
+
/**
|
|
31
|
+
* Type guard for the rare malformed-PDF case where a page is a direct
|
|
32
|
+
* object. The engine treats `0` as malformed and throws `EngineError(NotFound)`
|
|
33
|
+
* before any page-level operation.
|
|
34
|
+
*/
|
|
35
|
+
declare function isValidPageObjectNumber(value: unknown): value is PageObjectNumber;
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/dto/PdfDestination.d.ts
|
|
38
|
+
/**
|
|
39
|
+
* An explicit PDF destination (ISO 32000-1 §12.3.2.2): a page, a location,
|
|
40
|
+
* and a magnification. Produced by outlines/bookmarks, link annotations,
|
|
41
|
+
* `/OpenAction`, and GoTo actions; named destinations resolve to one of
|
|
42
|
+
* these through the catalog's `/Dests` dictionary or name tree — the
|
|
43
|
+
* ENGINE does that resolution, so the viewer only ever sees this explicit
|
|
44
|
+
* form.
|
|
45
|
+
*
|
|
46
|
+
* Coordinates are PDF user space (y-up, points, absolute — NOT
|
|
47
|
+
* crop-relative). `null` means "retain the current value" (the spec's
|
|
48
|
+
* meaning for null array entries); a `/XYZ` zoom of `0` is equivalent to
|
|
49
|
+
* null. The `fitB*` kinds refer to the page's content BOUNDING box rather
|
|
50
|
+
* than the crop box.
|
|
51
|
+
*
|
|
52
|
+
* Viewers translate these onto the stage's reveal primitive — see
|
|
53
|
+
* `destinationToReveal` in `@embedpdf/plugin-stage`.
|
|
54
|
+
*/
|
|
55
|
+
type PdfDestination = {
|
|
56
|
+
kind: 'xyz';
|
|
57
|
+
pageObjectNumber: PageObjectNumber;
|
|
58
|
+
left?: number | null;
|
|
59
|
+
top?: number | null;
|
|
60
|
+
zoom?: number | null;
|
|
61
|
+
} | {
|
|
62
|
+
kind: 'fit';
|
|
63
|
+
pageObjectNumber: PageObjectNumber;
|
|
64
|
+
} | {
|
|
65
|
+
kind: 'fitH';
|
|
66
|
+
pageObjectNumber: PageObjectNumber;
|
|
67
|
+
top?: number | null;
|
|
68
|
+
} | {
|
|
69
|
+
kind: 'fitV';
|
|
70
|
+
pageObjectNumber: PageObjectNumber;
|
|
71
|
+
left?: number | null;
|
|
72
|
+
} | {
|
|
73
|
+
kind: 'fitR';
|
|
74
|
+
pageObjectNumber: PageObjectNumber;
|
|
75
|
+
left: number;
|
|
76
|
+
bottom: number;
|
|
77
|
+
right: number;
|
|
78
|
+
top: number;
|
|
79
|
+
} | {
|
|
80
|
+
kind: 'fitB';
|
|
81
|
+
pageObjectNumber: PageObjectNumber;
|
|
82
|
+
} | {
|
|
83
|
+
kind: 'fitBH';
|
|
84
|
+
pageObjectNumber: PageObjectNumber;
|
|
85
|
+
top?: number | null;
|
|
86
|
+
} | {
|
|
87
|
+
kind: 'fitBV';
|
|
88
|
+
pageObjectNumber: PageObjectNumber;
|
|
89
|
+
left?: number | null;
|
|
90
|
+
};
|
|
91
|
+
//#endregion
|
|
19
92
|
//#region src/dto/PdfAction.d.ts
|
|
20
93
|
/** Normalized values of an action dictionary's `/S` name. */
|
|
21
|
-
type PdfActionType = '
|
|
22
|
-
/**
|
|
23
|
-
|
|
24
|
-
|
|
94
|
+
type PdfActionType = PdfActionNode['type'];
|
|
95
|
+
/**
|
|
96
|
+
* One Hide `/T` or ResetForm `/Fields` entry. Deliberately UNSCOPED: a
|
|
97
|
+
* dictionary reference carries no page, so resolution (a name to widgets, an
|
|
98
|
+
* object number to an annotation or field) is the interpreter's job — never
|
|
99
|
+
* the extractor's.
|
|
100
|
+
*/
|
|
101
|
+
type PdfActionTargetRef = {
|
|
102
|
+
kind: 'name';
|
|
103
|
+
name: string;
|
|
104
|
+
} | {
|
|
105
|
+
kind: 'objectNumber';
|
|
106
|
+
objectNumber: number;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Decoded SubmitForm `/Flags` word (ISO 32000-2:2020 Table 240) plus the raw
|
|
110
|
+
* value. `exclude` is DERIVED from bit 1 — never stored separately, so the
|
|
111
|
+
* two cannot disagree. Note the two easily-missed positions verified against
|
|
112
|
+
* the spec: bit 12 is `ExclFKey` (not "ExclFDFTemplate") and bit 13 is
|
|
113
|
+
* reserved/undefined, so `EmbedForm` is bit 14.
|
|
114
|
+
*/
|
|
115
|
+
interface SubmitFormFlags {
|
|
116
|
+
raw: number;
|
|
117
|
+
/** Bit 1: set → `fields` lists EXCLUDED fields. */
|
|
118
|
+
exclude: boolean;
|
|
119
|
+
/** Bit 2: submit designated valueless fields too, as name-only entries. */
|
|
120
|
+
includeNoValueFields: boolean;
|
|
121
|
+
/** Bits 3/6/9 folded into one verdict: bit 9 SubmitPDF dominates ("all
|
|
122
|
+
* other flags shall be ignored except GetMethod"), else bit 6 XFDF, else
|
|
123
|
+
* bit 3 HTML Form format, else FDF (the Table 240 default). */
|
|
124
|
+
format: 'fdf' | 'html' | 'xfdf' | 'pdf';
|
|
125
|
+
/** Bit 4. ISO makes GetMethod meaningful only with ExportFormat set, and
|
|
126
|
+
* the bit-9 rule keeps it alive for SubmitPDF — so `'get'` only for
|
|
127
|
+
* `'html'` and `'pdf'`; everything else posts. */
|
|
128
|
+
method: 'post' | 'get';
|
|
129
|
+
/** Bit 5 (meaningful only with ExportFormat; passed through — this stack
|
|
130
|
+
* does not capture click coordinates). */
|
|
131
|
+
submitCoordinates: boolean;
|
|
132
|
+
/** Bit 7 (FDF only): include incremental updates via FDF `Differences`. */
|
|
133
|
+
includeAppendSaves: boolean;
|
|
134
|
+
/** Bit 8 (FDF only): include markup annotations. */
|
|
135
|
+
includeAnnotations: boolean;
|
|
136
|
+
/** Bit 10: convert date-like values to the standard date format. */
|
|
137
|
+
canonicalFormat: boolean;
|
|
138
|
+
/** Bit 11 (FDF, with IncludeAnnotations): only the current user's
|
|
139
|
+
* annotations. */
|
|
140
|
+
exclNonUserAnnots: boolean;
|
|
141
|
+
/** Bit 12: the submitted FDF excludes its `F` entry. */
|
|
142
|
+
exclFKey: boolean;
|
|
143
|
+
/** Bit 14 (bit 13 is reserved): the FDF `F` entry embeds the source PDF. */
|
|
144
|
+
embedForm: boolean;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* The one Table-240 decode, shared by the reader, the schema's producers,
|
|
148
|
+
* and tests — so bit semantics cannot fork.
|
|
149
|
+
*/
|
|
150
|
+
declare const decodeSubmitFormFlags: (raw: number) => SubmitFormFlags;
|
|
151
|
+
/**
|
|
152
|
+
* SubmitForm's extracted intent. ATOMIC on purpose: either every required
|
|
153
|
+
* component resolved (a complete, executable payload) or the node carries no
|
|
154
|
+
* payload at all — partial states are unrepresentable. An unreadable
|
|
155
|
+
* REQUIRED component (`/F`) degrades the whole node to `unknown` +
|
|
156
|
+
* `payload-dropped` at read time instead.
|
|
157
|
+
*/
|
|
158
|
+
interface SubmitFormPayload {
|
|
159
|
+
/** Resolved `/F` URL — a `<< /FS /URL >>` file specification (7.11.5,
|
|
160
|
+
* `/UF` preferred over `/F` per 7.11.2); a bare string `/F` is accepted
|
|
161
|
+
* as a producer-compat extension. */
|
|
162
|
+
url: string;
|
|
163
|
+
/**
|
|
164
|
+
* `null` = `/Fields` ABSENT → Include/Exclude is ignored and every field
|
|
165
|
+
* except NoExport-flagged ones is submitted (Table 239). `[]` =
|
|
166
|
+
* present-but-empty: include mode submits NOTHING, exclude mode submits
|
|
167
|
+
* everything eligible — presence and emptiness are different states.
|
|
168
|
+
*/
|
|
169
|
+
fields: PdfActionTargetRef[] | null;
|
|
170
|
+
flags: SubmitFormFlags;
|
|
171
|
+
/** `/CharSet` (PDF 2.0), extracted but not encoded by this stack. */
|
|
172
|
+
charSet?: string;
|
|
173
|
+
}
|
|
174
|
+
interface PdfActionNodeCommon {
|
|
25
175
|
/** Raw `/S` name, retained for unknown and future action types. */
|
|
26
176
|
subtype: string;
|
|
27
|
-
/** Decoded `/JS` source for JavaScript and Rendition actions. */
|
|
28
|
-
script?: string;
|
|
29
177
|
/** Normalized `/Next` children in PDF order. */
|
|
30
178
|
next: PdfActionNode[];
|
|
31
179
|
}
|
|
32
|
-
|
|
180
|
+
/**
|
|
181
|
+
* One detached node in a normalized PDF action tree, discriminated on the
|
|
182
|
+
* interpreter that would execute it. Every executable arm carries its full
|
|
183
|
+
* payload — a `goto` without a destination or a `uri` without a URI is
|
|
184
|
+
* unrepresentable. A payload the reader cannot materialize degrades the node
|
|
185
|
+
* to `unknown` (original `/S` kept on `subtype`) and appends the tree-level
|
|
186
|
+
* `'payload-dropped'` warning.
|
|
187
|
+
*/
|
|
188
|
+
type PdfActionNode = PdfActionNodeCommon & ({
|
|
189
|
+
type: 'javascript';
|
|
190
|
+
script: string;
|
|
191
|
+
} | {
|
|
192
|
+
type: 'goto';
|
|
193
|
+
destination: PdfDestination;
|
|
194
|
+
} | {
|
|
195
|
+
type: 'uri';
|
|
196
|
+
uri: string;
|
|
197
|
+
isMap: boolean;
|
|
198
|
+
} | {
|
|
199
|
+
type: 'named';
|
|
200
|
+
name: string;
|
|
201
|
+
} | {
|
|
202
|
+
type: 'hide';
|
|
203
|
+
targets: PdfActionTargetRef[];
|
|
204
|
+
hide: boolean;
|
|
205
|
+
} | {
|
|
206
|
+
type: 'reset-form';
|
|
207
|
+
/**
|
|
208
|
+
* `null` = `/Fields` ABSENT → reset every field (`exclude` is
|
|
209
|
+
* meaningless). `[]` = present-but-empty: with `exclude` false reset
|
|
210
|
+
* NOTHING, with `exclude` true reset EVERYTHING — PDFium's executor
|
|
211
|
+
* branches on presence first.
|
|
212
|
+
*/
|
|
213
|
+
fields: PdfActionTargetRef[] | null;
|
|
214
|
+
exclude: boolean;
|
|
215
|
+
} |
|
|
216
|
+
/** Reported, never executed. */
|
|
217
|
+
{
|
|
218
|
+
type: 'goto-remote';
|
|
219
|
+
filePath: string;
|
|
220
|
+
} | {
|
|
221
|
+
type: 'goto-embedded';
|
|
222
|
+
filePath: string;
|
|
223
|
+
} | {
|
|
224
|
+
type: 'launch';
|
|
225
|
+
filePath: string;
|
|
226
|
+
} |
|
|
227
|
+
/** ISO allows `/Rendition` to carry `/JS`; preserved, not collected. */
|
|
228
|
+
{
|
|
229
|
+
type: 'rendition';
|
|
230
|
+
script?: string;
|
|
231
|
+
} |
|
|
232
|
+
/** Recognized; executable only when `payload` is present. Absent payload
|
|
233
|
+
* = extracted by an older runtime (skew) — the node stays
|
|
234
|
+
* recognized-inert exactly as before this payload existed. */
|
|
235
|
+
{
|
|
236
|
+
type: 'submit-form';
|
|
237
|
+
payload?: SubmitFormPayload;
|
|
238
|
+
} | {
|
|
239
|
+
type: 'thread';
|
|
240
|
+
} | {
|
|
241
|
+
type: 'sound';
|
|
242
|
+
} | {
|
|
243
|
+
type: 'movie';
|
|
244
|
+
} | {
|
|
245
|
+
type: 'import-data';
|
|
246
|
+
} | {
|
|
247
|
+
type: 'set-ocg-state';
|
|
248
|
+
} | {
|
|
249
|
+
type: 'transition';
|
|
250
|
+
} | {
|
|
251
|
+
type: 'goto-3d-view';
|
|
252
|
+
} | {
|
|
253
|
+
type: 'unknown';
|
|
254
|
+
});
|
|
255
|
+
type PdfActionWarning = 'cycle-dropped' | 'malformed-next' | 'incomplete' |
|
|
256
|
+
/** A node's payload could not be read; that node degraded to `unknown`. */
|
|
257
|
+
'payload-dropped';
|
|
33
258
|
/**
|
|
34
259
|
* One extracted action root plus the native reader's safety verdict.
|
|
35
260
|
* Consumers must never execute a tree whose `incomplete` flag is true.
|
|
@@ -38,7 +263,8 @@ interface PdfActionTree {
|
|
|
38
263
|
/** Null when the model was valid but its root exceeded a safety bound. */
|
|
39
264
|
root: PdfActionNode | null;
|
|
40
265
|
incomplete: boolean;
|
|
41
|
-
/** Raw native bits, retained so newer warnings survive older SDKs.
|
|
266
|
+
/** Raw native bits, retained so newer warnings survive older SDKs.
|
|
267
|
+
* TS-detected warnings (`payload-dropped`) appear only in `warnings`. */
|
|
42
268
|
warningFlags: number;
|
|
43
269
|
warnings: PdfActionWarning[];
|
|
44
270
|
}
|
|
@@ -73,8 +299,13 @@ interface NamedJavaScriptAction {
|
|
|
73
299
|
/** Catalog-owned actions. Page actions stay on their owning PageLayout. */
|
|
74
300
|
interface DocumentActionsSnapshot {
|
|
75
301
|
nameTreeScripts: NamedJavaScriptAction[];
|
|
76
|
-
/** Action-form `/OpenAction
|
|
302
|
+
/** Action-form `/OpenAction`. Mutually exclusive with `openDestination` —
|
|
303
|
+
* `/OpenAction` is one entry, a dictionary or an array. */
|
|
77
304
|
openAction: PdfActionTree | null;
|
|
305
|
+
/** Destination-form `/OpenAction` — the initial view, not an action.
|
|
306
|
+
* Optional on the wire for skew tolerance (absent ≡ null); the schema
|
|
307
|
+
* defaults it, so parsed snapshots always carry the key. */
|
|
308
|
+
openDestination?: PdfDestination | null;
|
|
78
309
|
willClose?: PdfActionTree;
|
|
79
310
|
willSave?: PdfActionTree;
|
|
80
311
|
didSave?: PdfActionTree;
|
|
@@ -90,6 +321,13 @@ interface ActionReadBudget {
|
|
|
90
321
|
maxModels: number;
|
|
91
322
|
maxNodes: number;
|
|
92
323
|
maxScriptCodeUnits: number;
|
|
324
|
+
/** Hide `/T` + ResetForm/SubmitForm `/Fields` entries, aggregate across
|
|
325
|
+
* the job. */
|
|
326
|
+
maxTargetEntries: number;
|
|
327
|
+
/** Payload string code units (URIs, submit URLs/CharSets, names, file
|
|
328
|
+
* paths, name-tree script names), aggregate across the job. Reserved
|
|
329
|
+
* BEFORE allocation. */
|
|
330
|
+
maxPayloadCodeUnits: number;
|
|
93
331
|
}
|
|
94
332
|
//#endregion
|
|
95
333
|
//#region src/geometry/primitives.d.ts
|
|
@@ -342,24 +580,6 @@ interface AnnotationFlags {
|
|
|
342
580
|
}
|
|
343
581
|
declare const NO_ANNOTATION_FLAGS: AnnotationFlags;
|
|
344
582
|
//#endregion
|
|
345
|
-
//#region src/identity/PageObjectNumber.d.ts
|
|
346
|
-
/**
|
|
347
|
-
* PDF indirect object number for a page.
|
|
348
|
-
*
|
|
349
|
-
* Resolved via the PDFium runtime helper `EPDFPage_GetObjectNumber(pagePtr)`.
|
|
350
|
-
* Always > 0 for well-formed PDFs. This replaces the v2 page index as the
|
|
351
|
-
* primary addressing key. The page index is kept on `PageHandle` as display
|
|
352
|
-
* metadata only, because it can shift when pages are inserted, deleted, or
|
|
353
|
-
* reordered while a session is open.
|
|
354
|
-
*/
|
|
355
|
-
type PageObjectNumber = number;
|
|
356
|
-
/**
|
|
357
|
-
* Type guard for the rare malformed-PDF case where a page is a direct
|
|
358
|
-
* object. The engine treats `0` as malformed and throws `EngineError(NotFound)`
|
|
359
|
-
* before any page-level operation.
|
|
360
|
-
*/
|
|
361
|
-
declare function isValidPageObjectNumber(value: unknown): value is PageObjectNumber;
|
|
362
|
-
//#endregion
|
|
363
583
|
//#region src/revision/RevisionToken.d.ts
|
|
364
584
|
/**
|
|
365
585
|
* Opaque token a client must hand back when addressing an annotation by
|
|
@@ -464,7 +684,7 @@ interface AnnotationDraftBase {
|
|
|
464
684
|
* expands these capabilities. PDF bits are NEVER consulted unless
|
|
465
685
|
* `pdf.permissions` is in scope.
|
|
466
686
|
*/
|
|
467
|
-
type DocCapability = 'doc.open' | 'doc.render' | 'doc.text.select' | 'doc.text.copy' | 'doc.text.search' | 'doc.content.copy' | 'doc.download' | 'doc.download.flattened' | 'doc.print' | 'doc.print.high' | 'doc.pages.modify' | 'doc.pages.assemble' | 'doc.forms.read' | 'doc.forms.fill' | 'doc.forms.modify' | 'doc.annotate.read' | 'doc.annotate.modify' | 'doc.metadata.modify' | 'doc.attachments.modify' | 'doc.redact';
|
|
687
|
+
type DocCapability = 'doc.open' | 'doc.render' | 'doc.text.select' | 'doc.text.copy' | 'doc.text.search' | 'doc.content.copy' | 'doc.download' | 'doc.download.flattened' | 'doc.print' | 'doc.print.high' | 'doc.pages.modify' | 'doc.pages.assemble' | 'doc.forms.read' | 'doc.forms.fill' | 'doc.forms.modify' | 'doc.forms.submit' | 'doc.annotate.read' | 'doc.annotate.modify' | 'doc.metadata.modify' | 'doc.attachments.modify' | 'doc.redact';
|
|
468
688
|
/**
|
|
469
689
|
* Single-entity collaboration vocabulary. Only annotations are
|
|
470
690
|
* collab-scoped today; future entities slot into the same grammar.
|
|
@@ -2791,61 +3011,6 @@ interface DocumentManifest {
|
|
|
2791
3011
|
pages: ManifestPage[];
|
|
2792
3012
|
}
|
|
2793
3013
|
//#endregion
|
|
2794
|
-
//#region src/dto/PdfDestination.d.ts
|
|
2795
|
-
/**
|
|
2796
|
-
* An explicit PDF destination (ISO 32000-1 §12.3.2.2): a page, a location,
|
|
2797
|
-
* and a magnification. Produced by outlines/bookmarks, link annotations,
|
|
2798
|
-
* `/OpenAction`, and GoTo actions; named destinations resolve to one of
|
|
2799
|
-
* these through the catalog's `/Dests` dictionary or name tree — the
|
|
2800
|
-
* ENGINE does that resolution, so the viewer only ever sees this explicit
|
|
2801
|
-
* form.
|
|
2802
|
-
*
|
|
2803
|
-
* Coordinates are PDF user space (y-up, points, absolute — NOT
|
|
2804
|
-
* crop-relative). `null` means "retain the current value" (the spec's
|
|
2805
|
-
* meaning for null array entries); a `/XYZ` zoom of `0` is equivalent to
|
|
2806
|
-
* null. The `fitB*` kinds refer to the page's content BOUNDING box rather
|
|
2807
|
-
* than the crop box.
|
|
2808
|
-
*
|
|
2809
|
-
* Viewers translate these onto the stage's reveal primitive — see
|
|
2810
|
-
* `destinationToReveal` in `@embedpdf/plugin-stage`.
|
|
2811
|
-
*/
|
|
2812
|
-
type PdfDestination = {
|
|
2813
|
-
kind: 'xyz';
|
|
2814
|
-
pageObjectNumber: PageObjectNumber;
|
|
2815
|
-
left?: number | null;
|
|
2816
|
-
top?: number | null;
|
|
2817
|
-
zoom?: number | null;
|
|
2818
|
-
} | {
|
|
2819
|
-
kind: 'fit';
|
|
2820
|
-
pageObjectNumber: PageObjectNumber;
|
|
2821
|
-
} | {
|
|
2822
|
-
kind: 'fitH';
|
|
2823
|
-
pageObjectNumber: PageObjectNumber;
|
|
2824
|
-
top?: number | null;
|
|
2825
|
-
} | {
|
|
2826
|
-
kind: 'fitV';
|
|
2827
|
-
pageObjectNumber: PageObjectNumber;
|
|
2828
|
-
left?: number | null;
|
|
2829
|
-
} | {
|
|
2830
|
-
kind: 'fitR';
|
|
2831
|
-
pageObjectNumber: PageObjectNumber;
|
|
2832
|
-
left: number;
|
|
2833
|
-
bottom: number;
|
|
2834
|
-
right: number;
|
|
2835
|
-
top: number;
|
|
2836
|
-
} | {
|
|
2837
|
-
kind: 'fitB';
|
|
2838
|
-
pageObjectNumber: PageObjectNumber;
|
|
2839
|
-
} | {
|
|
2840
|
-
kind: 'fitBH';
|
|
2841
|
-
pageObjectNumber: PageObjectNumber;
|
|
2842
|
-
top?: number | null;
|
|
2843
|
-
} | {
|
|
2844
|
-
kind: 'fitBV';
|
|
2845
|
-
pageObjectNumber: PageObjectNumber;
|
|
2846
|
-
left?: number | null;
|
|
2847
|
-
};
|
|
2848
|
-
//#endregion
|
|
2849
3014
|
//#region src/dto/PdfLinkTarget.d.ts
|
|
2850
3015
|
/**
|
|
2851
3016
|
* Where a link annotation points, NORMALIZED. A link may carry either a
|
|
@@ -3642,6 +3807,59 @@ type FormFieldValue = {
|
|
|
3642
3807
|
/** Serialized form-data interchange formats. */
|
|
3643
3808
|
type FormDataFormat = 'fdf' | 'xfdf';
|
|
3644
3809
|
//#endregion
|
|
3810
|
+
//#region src/forms/submission.d.ts
|
|
3811
|
+
/**
|
|
3812
|
+
* One resolved entry of a form submission. The viewer resolved it with the
|
|
3813
|
+
* ISO 32000-2 Table 239/240 semantics already applied (Include/Exclude +
|
|
3814
|
+
* descendants, the unconditional NoExport veto, push-button and
|
|
3815
|
+
* unsupported-value exclusion), so the home never re-derives selection.
|
|
3816
|
+
* `value === null` is a NAME-ONLY entry (the IncludeNoValueFields shape);
|
|
3817
|
+
* `string[]` is a multi-select list box.
|
|
3818
|
+
*/
|
|
3819
|
+
interface FormSubmissionEntry {
|
|
3820
|
+
name: string;
|
|
3821
|
+
value: string | string[] | null;
|
|
3822
|
+
}
|
|
3823
|
+
/**
|
|
3824
|
+
* What a submit-capable document HOME receives — the resolved dataset plus
|
|
3825
|
+
* the document's declared intent as METADATA. The stack never fetches the
|
|
3826
|
+
* declared URL itself (a PDF-controlled URL reaching a server-side fetcher
|
|
3827
|
+
* is the SSRF class this contract exists to prevent); the home stores the
|
|
3828
|
+
* intent so its consumers can decide what to honor.
|
|
3829
|
+
*
|
|
3830
|
+
* Deliberately ABSENT: identity. The home derives who submitted from its
|
|
3831
|
+
* OWN verified session (the JWT it authenticated) — a client-supplied
|
|
3832
|
+
* identity would be a spoofing surface.
|
|
3833
|
+
*/
|
|
3834
|
+
interface FormSubmissionRequest {
|
|
3835
|
+
entries: FormSubmissionEntry[];
|
|
3836
|
+
/** The document's declared routing wish, verbatim (metadata, not orders).
|
|
3837
|
+
* `url` is null for scripted submits that named no target. */
|
|
3838
|
+
intent: {
|
|
3839
|
+
url: string | null;
|
|
3840
|
+
format: 'fdf' | 'html' | 'xfdf' | 'pdf';
|
|
3841
|
+
method: 'post' | 'get';
|
|
3842
|
+
/** Raw ISO Table 240 flag word (0 for scripted submits without one). */
|
|
3843
|
+
flagsRaw: number;
|
|
3844
|
+
/** /CharSet (PDF 2.0), extracted but never encoded by this stack. */
|
|
3845
|
+
charSet?: string;
|
|
3846
|
+
};
|
|
3847
|
+
/** How the submission was triggered — the viewer-derived origin axis. */
|
|
3848
|
+
origin: 'user' | 'hover' | 'lifecycle';
|
|
3849
|
+
/** Client wall-clock, milliseconds since epoch. Informational — the home
|
|
3850
|
+
* stamps its own authoritative `receivedAt`. */
|
|
3851
|
+
clientTimeMs: number;
|
|
3852
|
+
}
|
|
3853
|
+
/** The home's acknowledgment: the stored submission's durable identity. */
|
|
3854
|
+
interface FormSubmissionReceipt {
|
|
3855
|
+
submissionId: string;
|
|
3856
|
+
/** ISO 8601, the home's clock. */
|
|
3857
|
+
receivedAt: string;
|
|
3858
|
+
}
|
|
3859
|
+
declare const FormSubmissionEntrySchema: z.ZodType<FormSubmissionEntry>;
|
|
3860
|
+
declare const FormSubmissionRequestSchema: z.ZodType<FormSubmissionRequest>;
|
|
3861
|
+
declare const FormSubmissionReceiptSchema: z.ZodType<FormSubmissionReceipt>;
|
|
3862
|
+
//#endregion
|
|
3645
3863
|
//#region src/forms/effects.d.ts
|
|
3646
3864
|
type FormFieldDisplay = 'visible' | 'hidden' | 'noPrint' | 'noView';
|
|
3647
3865
|
/** Ordered, committed outputs of one client-side form script run. */
|
|
@@ -4827,12 +5045,16 @@ interface LinkPatch extends AnnotationPatchBase {
|
|
|
4827
5045
|
target?: PdfLinkTargetWritable | null;
|
|
4828
5046
|
}
|
|
4829
5047
|
//#endregion
|
|
4830
|
-
//#region src/
|
|
5048
|
+
//#region src/dto/PdfDestination.schema.d.ts
|
|
4831
5049
|
/**
|
|
4832
|
-
* Runtime schema for {@link PdfDestination}. Lives
|
|
4833
|
-
*
|
|
5050
|
+
* Runtime schema for {@link PdfDestination}. Lives beside its DTO in `dto/`
|
|
5051
|
+
* so every destination-shaped surface (link targets, action-node payloads,
|
|
5052
|
+
* the document `openDestination`) shares one schema without an import cycle
|
|
5053
|
+
* through the annotation tree.
|
|
4834
5054
|
*/
|
|
4835
5055
|
declare const PdfDestinationSchema: z.ZodType<PdfDestination>;
|
|
5056
|
+
//#endregion
|
|
5057
|
+
//#region src/annotation/kinds/link/schema.d.ts
|
|
4836
5058
|
declare const PdfLinkTargetSchema: z.ZodType<PdfLinkTarget>;
|
|
4837
5059
|
/** Drafts/patches only author `goto`/`uri` — see {@link PdfLinkTargetWritable}. */
|
|
4838
5060
|
declare const PdfLinkTargetWritableSchema: z.ZodType<PdfLinkTargetWritable>;
|
|
@@ -5536,5 +5758,5 @@ interface AnnotationListPageSnapshot {
|
|
|
5536
5758
|
annotations: AnnotationDTO[];
|
|
5537
5759
|
}
|
|
5538
5760
|
//#endregion
|
|
5539
|
-
export { CaretDraftSchema as $, NormalizedPatch as $a, StandardFont as $c, AnnotationMutationKind as $i, canonicalSearchQuery as $n, PageImageResult as $o, FormEffectsResult as $r, caps as $s, CircleDraftSchema as $t, FileAttachmentWireDraftSchema as A, AttachmentDeleteResult as Aa, AnnotationDraftBase as Ac, FormFieldOption as Ai, HighlightDraft as An, FontKey as Ao, SearchSnippet as Ar, normalizePdfRect as As, LineDraft as At, StampAnnotationDTO as B, FilledStyleDraftFields as Ba, CaretIntent as Bc, FormFieldRef as Bi, PageFlattenStatus as Bn, AnnotationAppearanceMode as Bo, textGlyphQuad as Br, PageBoxes as Bs, PolygonPatch as Bt, RedactDraft as C, classifyRelation as Ca, IdentityClaims as Cc, WidgetStylePatchFields as Ci, UnderlineAnnotationDTO as Cn, EngineError as Co, toOriginalRange as Cr, boundaryTextOffset as Cs, LinkAnnotationDTO as Ct, FileAttachmentDTOSchema as D, DraftOfKind as Da, ParsedVirtual as Dc, FormFieldDTO as Di, HighlightPatchSchema as Dn, serializeError as Do, SearchRequest as Dr, sliceTextByChars as Ds, LinePatchSchema as Dt, WidgetDraft as E, DTOOfKind as Ea, ParsedScope as Ec, FormFieldBase as Ei, HighlightDraftSchema as En, deserializeError as Eo, SearchQuery as Er, charRangeForTextOffsets as Es, LineDraftSchema as Et, StampDTOSchema as F, FileAttachmentWireDraft as Fa, isValidPageObjectNumber as Fc, SignatureFieldDTO as Fi, RedactionApplyScope as Fn, AnnotationAppearanceImage as Fo, TextLayoutRun as Fr, pdfRectHeight as Fs, PolylineAnnotationDTO as Ft, TextDTOSchema as G, GeometryStylePatchFields as Ga, LineEnding as Gc, AnnotationDeleteResult as Gi, PageDeleteResult as Gn, PageState as Go, FormFieldUpdateResult as Gr, OpenInputById as Gs, VertexPatchFields as Gt, StampFit as H, FilledStylePatchFields as Ha, FreeTextFont as Hc, decodeFieldRefKey as Hi, PAGE_INSERT_BLANK_MAX_COUNT as Hn, AnnotationAppearanceRenderOptions as Ho, FormDataExport as Hr, PageRotation as Hs, PolygonDraft as Ht, StampWireDraftSchema as I, WireAttachmentFile as Ia, AnnotationBorderStyle as Ic, TextFieldDTO as Ii, RedactionApplyStatus as In, AnnotationAppearanceImageOptions as Io, buildPageTextLayout as Ir, pdfRectSize as Is, PolylineDraft as It, TextPatch as J, AttachmentFileInfo as Ja, PdfRectDifferences as Jc, AppearanceAction as Ji, PageRotateInput as Jn, knownWeakAnnotationState as Jo, FormSetValueResult as Jr, OpenInputLayerSource as Js, SquarePatchSchema as Jt, TextDraftSchema as K, AttachmentContent as Ka, LineEndings as Kc, AnnotationMoveResult as Ki, PageDeleteInput as Kn, UNKNOWN_WEAK_ANNOTATION_STATE as Ko, FormImportResult as Kr, OpenInputBytes as Ks, SquareDTOSchema as Kt, StampWirePatchSchema as L, ColorStyleDraftFields as La, AnnotationFlags as Lc, ToggleFieldWidget as Li, PageFlattenInput as Ln, AnnotationAppearanceImagesResult as Lo, expandTextRangeToLine as Lr, pdfRectToOriginSize as Ls, PolygonDTOSchema as Lt, FileAttachmentPatch as M, normalizeAttachmentFileSource as Ma, RevisionToken as Mc, ListBoxFieldDTO as Mi, MetadataUpdateResult as Mn, DEFAULT_PDF_SAVE_MODE as Mo, PdfTextSegment as Mr, pdfQuadCorners as Ms, PolylineDraftSchema as Mt, FileAttachmentAnnotationDTO as N, FileAttachmentDraft as Na, revisionTokensEqual as Nc, PushButtonFieldDTO as Ni, RedactionApplyItemResult as Nn, PdfSaveMode as No, TextLayoutFrame as Nr, pdfQuadFromCorners as Ns, PolylinePatchSchema as Nt, FileAttachmentIconSchema as O, PatchOfKind as Oa, ParsedWildcard as Oc, FormFieldFamily as Oi, HighlightPatch as On, EngineErrorCode as Oo, SearchSlice as Or, PdfOriginSize as Os, LinePatch as Ot, ResourceRefSchema as P, FileAttachmentIcon as Pa, PageObjectNumber as Pc, RadioFieldDTO as Pi, RedactionApplyResult as Pn, CachePins as Po, TextLayoutGlyph as Pr, pdfRectFromOriginSize as Ps, PolylinePatch as Pt, CaretDTOSchema as Q, NormalizedDraft as Qa, Size as Qc, semanticEqual as Qi, PageMoveInput as Qn, PageImageOptions as Qo, FormEffectStatus as Qr, TokenSource as Qs, CircleDTOSchema as Qt, StampPatch as R, ColorStyleFields as Ra, AnnotationReplyType as Rc, UnknownFieldDTO as Ri, PageFlattenItemResult as Rn, AnnotationAppearanceManifest as Ro, expandTextRangeToWord as Rr, pdfRectWidth as Rs, PolygonDraftSchema as Rt, RedactAnnotationDTO as S, buildThreads as Sa, DocCapability as Sc, WidgetStyleFields as Si, DocumentMetadataTrapped as Sl, UnderlinePatch as Sn, encodeStableIdKey as So, foldText as Sr, CharMapAnchor as Ss, LinkPatch as St, WidgetAnnotationDTO as T, AnnotationKindModule as Ta, ParsedCollab as Tc, ComboBoxFieldDTO as Ti, HighlightDTOSchema as Tn, SerializedEngineError as To, SearchMode as Tr, charMapViolation as Ts, LineDTOSchema as Tt, StampWireDraft as U, GeometryStyleDraftFields as Ua, FreeTextIntent as Uc, encodeFieldRefKey as Ui, PageInsertBlankSpec as Un, AnnotationAppearancesQuery as Uo, FormFieldCreateResult as Ur, MetadataPatch as Us, VertexAnnotationFields as Ut, StampDraft as V, FilledStyleFields as Va, Color as Vc, FormWidgetRef as Vi, PageFlattenUsage as Vn, AnnotationAppearanceRaster as Vo, textSegmentsForRange as Vr, PageLayout as Vs, PolygonAnnotationDTO as Vt, NoteIconSchema as W, GeometryStyleFields as Wa, InkIntent as Wc, AnnotationCreateResult as Wi, PageInsertResult as Wn, AnnotationAppearancesResult as Wo, FormFieldDeleteResult as Wr, OpenInput as Ws, VertexDraftFields as Wt, NoteIcon as X, EmbeddedFileItem as Xa, Rect as Xc, AppearanceOutcome as Xi, PageMoveResult as Xn, PageImageHandle as Xo, FormEffect as Xr, OpenInputToken as Xs, SquareAnnotationDTO as Xt, TextAnnotationDTO as Y, AttachmentFileSource as Ya, Point as Yc, AppearanceImpact as Yi, PageMoveCache as Yn, PageImageBlobSource as Yo, FormWidgetLinkResult as Yr, OpenInputShare as Ys, SquarePatch as Yt, TextDraft as Z, EmbeddedFileRef as Za, Rotation as Zc, appearanceImpactOf as Zi, PageStructureCache as Zn, PageImageObjectUrl as Zo, FormEffectResult as Zr, OpenOptions as Zs, SquareDraft as Zt, UnsupportedPatchSchema as _, ReviewStatus as _a, decodePdfBits as _c, FormKind as _i, PdfActionWarning as _l, SquigglyAnnotationDTO as _n, AnnotationPatchBase as _o, wordBefore as _r, glyphLooseBounds as _s, LinkDraftSchema as _t, AnnotationDTOSchema as a, CacheDelta as aa, checkCapability as ac, FormFieldPatch as ai, LinePoints as al, ShapeDraftFields as an, BinaryPayload as ao, matchPageText as ar, PageRenderFormat as as, FreeTextDraftSchema as at, UnsupportedAnnotationDTO as b, AnnotationRelationKind as ba, CollabEntity as bc, WidgetAppearanceSchema as bi, PdfPageActions as bl, UnderlineDraftSchema as bn, AnnotationStableId as bo, SEARCH_FOLD_VERSION as br, PageTextSnapshot as bs, PdfLinkTargetSchema as bt, AnnotationKind as c, PdfLinkTargetWritable as ca, expandRawScope as cc, TextFieldPatch as ci, PdfRect as cl, StrikeoutDraftSchema as cn, WireResource as co, SearchQueryValidation as cr, PageRenderTarget as cs, FreeTextAnnotationDTO as ct, AnnotationSubtypeOfKind as d, ManifestPage as da, InvalidScope as dc, FormFieldDraft as di, ActionReadBudget as dl, StrikeoutAnnotationDTO as dn, ANNOTATION_SUBTYPES as do, matchRegex as dr, PageGeometryGlyph as ds, InkDraftSchema as dt, changesAnnotationList as ea, collab as ec, FormFieldDisplay as ei, StrikeoutIntent as el, CirclePatchSchema as en, normalizeAnnotationDraft as eo, searchContentEpoch as er, PageImageSource as es, CaretPatchSchema as et, KIND_BY_SUBTYPE as f, LayerScopePlane as fa, MissingIdentity as fc, FormFieldOptionInput as fi, DocumentActionsSnapshot as fl, StrikeoutDraft as fn, AnnotationSubtype as fo, validateSearchQuery as fr, PageGeometryRun as fs, InkPatchSchema as ft, UnsupportedDraftSchema as g, CommentThreadReview as ga, PDF_BITS as gc, WidgetPlacement as gi, PdfActionType as gl, SquigglyPatch as gn, subtypeFromCode as go, wordAt as gr, UprightGeometryRun as gs, LinkDTOSchema as gt, UnsupportedDTOSchema as h, CommentThread as ha, validateScopeArray as hc, TextFieldDraft as hi, PdfActionTree as hl, SquigglyPatchSchema as hn, PdfAnnotationSubtypeCode as ho, matchLiteral as hr, RotatedGeometryRun as hs, InkDraft as ht, AnnotationDTO as i, RefetchReason as ia, checkAnyCapability as ic, ComboBoxFieldPatch as ii, InkStroke as il, ShapeAnnotationFields as in, sniffBinaryMetadata as io, buildSnippet as ir, PageRenderEncodedFormat as is, FreeTextDTOSchema as it, WireAttachmentFileSchema as j, AttachmentsCache as ja, AnnotationRef as jc, FormFieldOrigin as ji, MetadataCache as jn, FontSpec as jo, PageTextLayout as jr, pdfQuadBounds as js, PolylineDTOSchema as jt, FileAttachmentPatchSchema as k, AttachmentCreateResult as ka, PdfBits as kc, FormFieldFlags as ki, HighlightAnnotationDTO as kn, FontHandle as ko, SearchSliceBudget as kr, PdfQuadCorners as ks, LineAnnotationDTO as kt, AnnotationPatch as l, PdfDestination as la, expandedCapabilities as lc, CheckboxFieldDraft as li, PdfRotation as ll, StrikeoutPatchSchema as ln, WireResourceMap as lo, SearchRegexIssue as lr, PageRenderViewport as ls, FreeTextDraft as lt, WireAnnotationPatch as m, BuildCommentThreadsOptions as ma, parseScope as mc, RadioFieldDraft as mi, PdfActionNode as ml, SquigglyDraftSchema as mn, PDF_SUBTYPE_TO_CODE as mo, foldOptionsFor as mr, RotatedGeometryGlyph as ms, InkAnnotationDTO as mt, AnnotationListSnapshotAllPages as n, shiftsExistingAnnotationIndices as na, pdfPermissions as nc, FormFieldValue as ni, CalloutLine as nl, CircleAnnotationDTO as nn, BinaryMetadata as no, searchSegmentsForRange as nr, PageRaster as ns, CaretAnnotationDTO as nt, AnnotationDraft as o, MutationMeta as oa, checkCollab as oc, ListBoxFieldPatch as oi, PdfPoint as ol, ShapePatchFields as on, BinarySource as oo, SEARCH_REGEX_MAX_LENGTH as or, PageRenderOptions as os, FreeTextPatchSchema as ot, WireAnnotationDraft as p, LayerScopes as pa, PermissionDenied as pc, ListBoxFieldDraft as pi, NamedJavaScriptAction as pl, SquigglyDTOSchema as pn, PDF_CODE_TO_SUBTYPE as po, validateSearchRegex as pr, PageGeometrySnapshot as ps, InkPatch as pt, TextPatchSchema as q, AttachmentFileBase as qa, NO_ANNOTATION_FLAGS as qc, AnnotationUpdateResult as qi, PageRotateResult as qn, WeakAnnotationState as qo, FormRepairResult as qr, OpenInputLayerBytes as qs, SquareDraftSchema as qt, ANNOTATION_KINDS as r, AnnotationListMutationMeta as ra, CollabTarget as rc, CheckboxFieldPatch as ri, InkList as rl, CircleDraft as rn, BinaryMimeType as ro, SEARCH_SNIPPET_CONTEXT as rr, PageRenderBackground as rs, CaretDraft as rt, AnnotationDraftSchema as s, PdfLinkTarget as sa, checkSetGroup as sc, RadioFieldPatch as si, PdfQuad as sl, StrikeoutDTOSchema as sn, ResourceRef as so, SearchQueryIssue as sr, PageRenderQuery as ss, FreeTextPatch as st, AnnotationListPageSnapshot as t, invalidatesWeakIndexRefs as ta, materializePdfPermissions as tc, FormDataFormat as ti, TextAlignment as tl, CirclePatch as tn, normalizeAnnotationPatch as to, searchRectsForRange as tr, PageNetworkRenderFormat as ts, CaretPatch as tt, AnnotationPatchSchema as u, DocumentManifest as ua, filterMatches as uc, ComboBoxFieldDraft as ui, PdfSize as ul, StrikeoutPatch as un, resolveBinarySource as uo, SearchRegexValidation as ur, createPageImageHandle as us, InkDTOSchema as ut, UnsupportedPatch as v, buildCommentThreads as va, AnnotationActor as vc, FormSnapshot as vi, PdfAnnotationActions as vl, SquigglyDraft as vn, AnnotationBase as vo, FoldOptions as vr, glyphLooseQuad as vs, LinkPatchSchema as vt, WidgetPatch as w, refKey as wa, ParsedCapability as wc, CheckboxFieldDTO as wi, UnderlineDraft as wn, EngineErrorOptions as wo, SearchMatch as wr, charBoundaryAtTextOffset as ws, LinkDraft as wt, RedactPatch as x, AnnotationThread as xa, CollabFilter as xc, WidgetStyleDraftFields as xi, DocumentMetadata as xl, UnderlinePatchSchema as xn, decodeStableIdKey as xo, SearchMatchRange as xr, CharBoundaryBias as xs, PdfLinkTargetWritableSchema as xt, UnsupportedDraft as y, isStateAnnotation as ya, CollabAction as yc, WidgetAppearance as yi, PdfFieldActions as yl, UnderlineDTOSchema as yn, AnnotationIdentityQuality as yo, FoldedText as yr, isRotatedGeometryRun as ys, PdfDestinationSchema as yt, StampWirePatch as z, ColorStylePatchFields as za, BlendMode as zc, FormValueEntry as zi, PageFlattenResult as zn, AnnotationAppearanceManifestEntry as zo, textGlyphAt as zr, PageListSnapshot as zs, PolygonPatchSchema as zt };
|
|
5540
|
-
//# sourceMappingURL=AnnotationListSnapshot-
|
|
5761
|
+
export { CaretDraftSchema as $, AttachmentFileInfo as $a, Rect as $c, AnnotationUpdateResult as $i, canonicalSearchQuery as $n, knownWeakAnnotationState as $o, FormEffectsResult as $r, OpenInputLayerSource as $s, CircleDraftSchema as $t, FileAttachmentWireDraftSchema as A, AnnotationKindModule as Aa, ParsedCollab as Ac, CheckboxFieldDTO as Ai, isValidPageObjectNumber as Al, HighlightDraft as An, SerializedEngineError as Ao, SearchSnippet as Ar, charMapViolation as As, LineDraft as At, StampAnnotationDTO as B, FileAttachmentWireDraft as Ba, AnnotationFlags as Bc, RadioFieldDTO as Bi, PageFlattenStatus as Bn, AnnotationAppearanceImage as Bo, textGlyphQuad as Br, pdfRectHeight as Bs, PolygonPatch as Bt, RedactDraft as C, buildCommentThreads as Ca, AnnotationActor as Cc, FormKind as Ci, PdfFieldActions as Cl, UnderlineAnnotationDTO as Cn, AnnotationBase as Co, toOriginalRange as Cr, glyphLooseQuad as Cs, LinkAnnotationDTO as Ct, FileAttachmentDTOSchema as D, buildThreads as Da, DocCapability as Dc, WidgetStyleDraftFields as Di, decodeSubmitFormFlags as Dl, HighlightPatchSchema as Dn, encodeStableIdKey as Do, SearchRequest as Dr, CharMapAnchor as Ds, LinePatchSchema as Dt, WidgetDraft as E, AnnotationThread as Ea, CollabFilter as Ec, WidgetAppearanceSchema as Ei, SubmitFormPayload as El, HighlightDraftSchema as En, decodeStableIdKey as Eo, SearchQuery as Er, CharBoundaryBias as Es, LineDraftSchema as Et, StampDTOSchema as F, AttachmentDeleteResult as Fa, AnnotationDraftBase as Fc, FormFieldFlags as Fi, RedactionApplyScope as Fn, FontKey as Fo, TextLayoutRun as Fr, normalizePdfRect as Fs, PolylineAnnotationDTO as Ft, TextDTOSchema as G, FilledStyleDraftFields as Ga, FreeTextFont as Gc, FormValueEntry as Gi, PageDeleteResult as Gn, AnnotationAppearanceMode as Go, FormFieldUpdateResult as Gr, PageBoxes as Gs, VertexPatchFields as Gt, StampFit as H, ColorStyleDraftFields as Ha, BlendMode as Hc, TextFieldDTO as Hi, PAGE_INSERT_BLANK_MAX_COUNT as Hn, AnnotationAppearanceImagesResult as Ho, FormDataExport as Hr, pdfRectToOriginSize as Hs, PolygonDraft as Ht, StampWireDraftSchema as I, AttachmentsCache as Ia, AnnotationRef as Ic, FormFieldOption as Ii, RedactionApplyStatus as In, FontSpec as Io, buildPageTextLayout as Ir, pdfQuadBounds as Is, PolylineDraft as It, TextPatch as J, GeometryStyleDraftFields as Ja, LineEnding as Jc, decodeFieldRefKey as Ji, PageRotateInput as Jn, AnnotationAppearancesQuery as Jo, FormSetValueResult as Jr, MetadataPatch as Js, SquarePatchSchema as Jt, TextDraftSchema as K, FilledStyleFields as Ka, FreeTextIntent as Kc, FormFieldRef as Ki, PageDeleteInput as Kn, AnnotationAppearanceRaster as Ko, FormImportResult as Kr, PageLayout as Ks, SquareDTOSchema as Kt, StampWirePatchSchema as L, normalizeAttachmentFileSource as La, RevisionToken as Lc, FormFieldOrigin as Li, PageFlattenInput as Ln, DEFAULT_PDF_SAVE_MODE as Lo, expandTextRangeToLine as Lr, pdfQuadCorners as Ls, PolygonDTOSchema as Lt, FileAttachmentPatch as M, DraftOfKind as Ma, ParsedVirtual as Mc, FormFieldBase as Mi, DocumentMetadataTrapped as Ml, MetadataUpdateResult as Mn, serializeError as Mo, PdfTextSegment as Mr, sliceTextByChars as Ms, PolylineDraftSchema as Mt, FileAttachmentAnnotationDTO as N, PatchOfKind as Na, ParsedWildcard as Nc, FormFieldDTO as Ni, RedactionApplyItemResult as Nn, EngineErrorCode as No, TextLayoutFrame as Nr, PdfOriginSize as Ns, PolylinePatchSchema as Nt, FileAttachmentIconSchema as O, classifyRelation as Oa, IdentityClaims as Oc, WidgetStyleFields as Oi, PdfDestination as Ol, HighlightPatch as On, EngineError as Oo, SearchSlice as Or, boundaryTextOffset as Os, LinePatch as Ot, ResourceRefSchema as P, AttachmentCreateResult as Pa, PdfBits as Pc, FormFieldFamily as Pi, RedactionApplyResult as Pn, FontHandle as Po, TextLayoutGlyph as Pr, PdfQuadCorners as Ps, PolylinePatch as Pt, CaretDTOSchema as Q, AttachmentFileBase as Qa, Point as Qc, AnnotationMoveResult as Qi, PageMoveInput as Qn, WeakAnnotationState as Qo, FormEffectStatus as Qr, OpenInputLayerBytes as Qs, CircleDTOSchema as Qt, StampPatch as R, FileAttachmentDraft as Ra, revisionTokensEqual as Rc, ListBoxFieldDTO as Ri, PageFlattenItemResult as Rn, PdfSaveMode as Ro, expandTextRangeToWord as Rr, pdfQuadFromCorners as Rs, PolygonDraftSchema as Rt, RedactAnnotationDTO as S, ReviewStatus as Sa, decodePdfBits as Sc, WidgetPlacement as Si, PdfAnnotationActions as Sl, UnderlinePatch as Sn, AnnotationPatchBase as So, foldText as Sr, glyphLooseBounds as Ss, LinkPatch as St, WidgetAnnotationDTO as T, AnnotationRelationKind as Ta, CollabEntity as Tc, WidgetAppearance as Ti, SubmitFormFlags as Tl, HighlightDTOSchema as Tn, AnnotationStableId as To, SearchMode as Tr, PageTextSnapshot as Ts, LineDTOSchema as Tt, StampWireDraft as U, ColorStyleFields as Ua, CaretIntent as Uc, ToggleFieldWidget as Ui, PageInsertBlankSpec as Un, AnnotationAppearanceManifest as Uo, FormFieldCreateResult as Ur, pdfRectWidth as Us, VertexAnnotationFields as Ut, StampDraft as V, WireAttachmentFile as Va, AnnotationReplyType as Vc, SignatureFieldDTO as Vi, PageFlattenUsage as Vn, AnnotationAppearanceImageOptions as Vo, textSegmentsForRange as Vr, pdfRectSize as Vs, PolygonAnnotationDTO as Vt, NoteIconSchema as W, ColorStylePatchFields as Wa, Color as Wc, UnknownFieldDTO as Wi, PageInsertResult as Wn, AnnotationAppearanceManifestEntry as Wo, FormFieldDeleteResult as Wr, PageListSnapshot as Ws, VertexDraftFields as Wt, NoteIcon as X, GeometryStylePatchFields as Xa, NO_ANNOTATION_FLAGS as Xc, AnnotationCreateResult as Xi, PageMoveResult as Xn, PageState as Xo, FormEffect as Xr, OpenInputById as Xs, SquareAnnotationDTO as Xt, TextAnnotationDTO as Y, GeometryStyleFields as Ya, LineEndings as Yc, encodeFieldRefKey as Yi, PageMoveCache as Yn, AnnotationAppearancesResult as Yo, FormWidgetLinkResult as Yr, OpenInput as Ys, SquarePatch as Yt, TextDraft as Z, AttachmentContent as Za, PdfRectDifferences as Zc, AnnotationDeleteResult as Zi, PageStructureCache as Zn, UNKNOWN_WEAK_ANNOTATION_STATE as Zo, FormEffectResult as Zr, OpenInputBytes as Zs, SquareDraft as Zt, UnsupportedPatchSchema as _, LayerScopePlane as _a, MissingIdentity as _c, FormFieldDraft as _i, PdfActionNode as _l, SquigglyAnnotationDTO as _n, AnnotationSubtype as _o, wordBefore as _r, PageGeometryRun as _s, LinkDraftSchema as _t, AnnotationDTOSchema as a, AnnotationMutationKind as aa, collab as ac, FormSubmissionRequest as ai, CalloutLine as al, ShapeDraftFields as an, normalizeAnnotationDraft as ao, matchPageText as ar, PageImageSource as as, FreeTextDraftSchema as at, UnsupportedAnnotationDTO as b, CommentThread as ba, validateScopeArray as bc, RadioFieldDraft as bi, PdfActionType as bl, UnderlineDraftSchema as bn, PdfAnnotationSubtypeCode as bo, SEARCH_FOLD_VERSION as br, RotatedGeometryRun as bs, PdfLinkTargetWritableSchema as bt, AnnotationKind as c, shiftsExistingAnnotationIndices as ca, CollabTarget as cc, FormFieldValue as ci, LinePoints as cl, StrikeoutDraftSchema as cn, BinaryMimeType as co, SearchQueryValidation as cr, PageRenderBackground as cs, FreeTextAnnotationDTO as ct, AnnotationSubtypeOfKind as d, CacheDelta as da, checkCollab as dc, FormFieldPatch as di, PdfRect as dl, StrikeoutAnnotationDTO as dn, BinarySource as do, matchRegex as dr, PageRenderOptions as ds, InkDraftSchema as dt, AppearanceAction as ea, OpenInputShare as ec, FormFieldDisplay as ei, Rotation as el, CirclePatchSchema as en, AttachmentFileSource as eo, searchContentEpoch as er, PageImageBlobSource as es, CaretPatchSchema as et, KIND_BY_SUBTYPE as f, MutationMeta as fa, checkSetGroup as fc, ListBoxFieldPatch as fi, PdfRotation as fl, StrikeoutDraft as fn, ResourceRef as fo, validateSearchQuery as fr, PageRenderQuery as fs, InkPatchSchema as ft, UnsupportedDraftSchema as g, ManifestPage as ga, InvalidScope as gc, ComboBoxFieldDraft as gi, NamedJavaScriptAction as gl, SquigglyPatch as gn, ANNOTATION_SUBTYPES as go, wordAt as gr, PageGeometryGlyph as gs, LinkDTOSchema as gt, UnsupportedDTOSchema as h, DocumentManifest as ha, filterMatches as hc, CheckboxFieldDraft as hi, DocumentActionsSnapshot as hl, SquigglyPatchSchema as hn, resolveBinarySource as ho, matchLiteral as hr, createPageImageHandle as hs, InkDraft as ht, AnnotationDTO as i, semanticEqual as ia, caps as ic, FormSubmissionReceiptSchema as ii, TextAlignment as il, ShapeAnnotationFields as in, NormalizedPatch as io, buildSnippet as ir, PageImageResult as is, FreeTextDTOSchema as it, WireAttachmentFileSchema as j, DTOOfKind as ja, ParsedScope as jc, ComboBoxFieldDTO as ji, DocumentMetadata as jl, MetadataCache as jn, deserializeError as jo, PageTextLayout as jr, charRangeForTextOffsets as js, PolylineDTOSchema as jt, FileAttachmentPatchSchema as k, refKey as ka, ParsedCapability as kc, WidgetStylePatchFields as ki, PageObjectNumber as kl, HighlightAnnotationDTO as kn, EngineErrorOptions as ko, SearchSliceBudget as kr, charBoundaryAtTextOffset as ks, LineAnnotationDTO as kt, AnnotationPatch as l, AnnotationListMutationMeta as la, checkAnyCapability as lc, CheckboxFieldPatch as li, PdfPoint as ll, StrikeoutPatchSchema as ln, sniffBinaryMetadata as lo, SearchRegexIssue as lr, PageRenderEncodedFormat as ls, FreeTextDraft as lt, WireAnnotationPatch as m, PdfLinkTargetWritable as ma, expandedCapabilities as mc, TextFieldPatch as mi, ActionReadBudget as ml, SquigglyDraftSchema as mn, WireResourceMap as mo, foldOptionsFor as mr, PageRenderViewport as ms, InkAnnotationDTO as mt, AnnotationListSnapshotAllPages as n, AppearanceOutcome as na, OpenOptions as nc, FormSubmissionEntrySchema as ni, StandardFont as nl, CircleAnnotationDTO as nn, EmbeddedFileRef as no, searchSegmentsForRange as nr, PageImageObjectUrl as ns, CaretAnnotationDTO as nt, AnnotationDraft as o, changesAnnotationList as oa, materializePdfPermissions as oc, FormSubmissionRequestSchema as oi, InkList as ol, ShapePatchFields as on, normalizeAnnotationPatch as oo, SEARCH_REGEX_MAX_LENGTH as or, PageNetworkRenderFormat as os, FreeTextPatchSchema as ot, WireAnnotationDraft as p, PdfLinkTarget as pa, expandRawScope as pc, RadioFieldPatch as pi, PdfSize as pl, SquigglyDTOSchema as pn, WireResource as po, validateSearchRegex as pr, PageRenderTarget as ps, InkPatch as pt, TextPatchSchema as q, FilledStylePatchFields as qa, InkIntent as qc, FormWidgetRef as qi, PageRotateResult as qn, AnnotationAppearanceRenderOptions as qo, FormRepairResult as qr, PageRotation as qs, SquareDraftSchema as qt, ANNOTATION_KINDS as r, appearanceImpactOf as ra, TokenSource as rc, FormSubmissionReceipt as ri, StrikeoutIntent as rl, CircleDraft as rn, NormalizedDraft as ro, SEARCH_SNIPPET_CONTEXT as rr, PageImageOptions as rs, CaretDraft as rt, AnnotationDraftSchema as s, invalidatesWeakIndexRefs as sa, pdfPermissions as sc, FormDataFormat as si, InkStroke as sl, StrikeoutDTOSchema as sn, BinaryMetadata as so, SearchQueryIssue as sr, PageRaster as ss, FreeTextPatch as st, AnnotationListPageSnapshot as t, AppearanceImpact as ta, OpenInputToken as tc, FormSubmissionEntry as ti, Size as tl, CirclePatch as tn, EmbeddedFileItem as to, searchRectsForRange as tr, PageImageHandle as ts, CaretPatch as tt, AnnotationPatchSchema as u, RefetchReason as ua, checkCapability as uc, ComboBoxFieldPatch as ui, PdfQuad as ul, StrikeoutPatch as un, BinaryPayload as uo, SearchRegexValidation as ur, PageRenderFormat as us, InkDTOSchema as ut, UnsupportedPatch as v, LayerScopes as va, PermissionDenied as vc, FormFieldOptionInput as vi, PdfActionTargetRef as vl, SquigglyDraft as vn, PDF_CODE_TO_SUBTYPE as vo, FoldOptions as vr, PageGeometrySnapshot as vs, LinkPatchSchema as vt, WidgetPatch as w, isStateAnnotation as wa, CollabAction as wc, FormSnapshot as wi, PdfPageActions as wl, UnderlineDraft as wn, AnnotationIdentityQuality as wo, SearchMatch as wr, isRotatedGeometryRun as ws, LinkDraft as wt, RedactPatch as x, CommentThreadReview as xa, PDF_BITS as xc, TextFieldDraft as xi, PdfActionWarning as xl, UnderlinePatchSchema as xn, subtypeFromCode as xo, SearchMatchRange as xr, UprightGeometryRun as xs, PdfDestinationSchema as xt, UnsupportedDraft as y, BuildCommentThreadsOptions as ya, parseScope as yc, ListBoxFieldDraft as yi, PdfActionTree as yl, UnderlineDTOSchema as yn, PDF_SUBTYPE_TO_CODE as yo, FoldedText as yr, RotatedGeometryGlyph as ys, PdfLinkTargetSchema as yt, StampWirePatch as z, FileAttachmentIcon as za, AnnotationBorderStyle as zc, PushButtonFieldDTO as zi, PageFlattenResult as zn, CachePins as zo, textGlyphAt as zr, pdfRectFromOriginSize as zs, PolygonPatchSchema as zt };
|
|
5762
|
+
//# sourceMappingURL=AnnotationListSnapshot-C1U3XUxP.d.cts.map
|