@embedpdf/plugin-annotation 3.0.0-next.13 → 3.0.0-next.15

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 (61) hide show
  1. package/README.md +129 -0
  2. package/dist/authoring.cjs +12 -2
  3. package/dist/authoring.d.cts +2 -2
  4. package/dist/authoring.d.ts +2 -2
  5. package/dist/authoring.js +2 -3
  6. package/dist/contract/host.cjs +18 -2
  7. package/dist/contract/host.d.cts +3 -2
  8. package/dist/contract/host.d.ts +3 -2
  9. package/dist/contract/host.js +3 -2
  10. package/dist/contract-BK4LHe9v.d.cts +1127 -0
  11. package/dist/contract-BOo9iZKo.d.ts +1127 -0
  12. package/dist/contract-CPzpRG3h.cjs +692 -0
  13. package/dist/contract-CPzpRG3h.cjs.map +1 -0
  14. package/dist/contract-b2e_LZvu.js +651 -0
  15. package/dist/contract-b2e_LZvu.js.map +1 -0
  16. package/dist/contract.cjs +11 -10
  17. package/dist/contract.d.cts +2 -3
  18. package/dist/contract.d.ts +2 -3
  19. package/dist/contract.js +2 -4
  20. package/dist/host-contract-BbjhS_Fo.d.ts +310 -0
  21. package/dist/host-contract-CxrQPcPj.js +52 -0
  22. package/dist/host-contract-CxrQPcPj.js.map +1 -0
  23. package/dist/{contract-a4eaQWga.cjs → host-contract-DY9jFPPF.cjs} +36 -16
  24. package/dist/host-contract-DY9jFPPF.cjs.map +1 -0
  25. package/dist/host-contract-Nzxwh0XS.d.cts +310 -0
  26. package/dist/index.cjs +4995 -414
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.cts +12 -17
  29. package/dist/index.d.ts +12 -17
  30. package/dist/index.js +4949 -388
  31. package/dist/index.js.map +1 -1
  32. package/package.json +11 -14
  33. package/dist/authoring-BhtyfsMx.d.cts +0 -37
  34. package/dist/authoring-R4ezdnXd.d.ts +0 -37
  35. package/dist/capability-B_dkoB1K.js +0 -3041
  36. package/dist/capability-B_dkoB1K.js.map +0 -1
  37. package/dist/capability-DVx1NmTe.cjs +0 -3064
  38. package/dist/capability-DVx1NmTe.cjs.map +0 -1
  39. package/dist/contract-CgAcfAE7.d.cts +0 -34
  40. package/dist/contract-CiG2_HBq.d.ts +0 -34
  41. package/dist/contract-DtXE1hjY.js +0 -32
  42. package/dist/contract-DtXE1hjY.js.map +0 -1
  43. package/dist/contract-a4eaQWga.cjs.map +0 -1
  44. package/dist/internal.cjs +0 -8
  45. package/dist/internal.d.cts +0 -14
  46. package/dist/internal.d.ts +0 -14
  47. package/dist/internal.js +0 -5
  48. package/dist/seam-6pJeKOOJ.cjs +0 -296
  49. package/dist/seam-6pJeKOOJ.cjs.map +0 -1
  50. package/dist/seam-C4L_7rDt.js +0 -225
  51. package/dist/seam-C4L_7rDt.js.map +0 -1
  52. package/dist/tools-0NI3b9z8.cjs +0 -536
  53. package/dist/tools-0NI3b9z8.cjs.map +0 -1
  54. package/dist/tools-DBEYx3-c.js +0 -513
  55. package/dist/tools-DBEYx3-c.js.map +0 -1
  56. package/dist/types-BvB1vUKb.js +0 -20
  57. package/dist/types-BvB1vUKb.js.map +0 -1
  58. package/dist/types-D5V0TIwk.d.ts +0 -1200
  59. package/dist/types-Dlhdw2k_.cjs +0 -31
  60. package/dist/types-Dlhdw2k_.cjs.map +0 -1
  61. package/dist/types-ObcPYc3-.d.cts +0 -1200
package/README.md ADDED
@@ -0,0 +1,129 @@
1
+ # @embedpdf/plugin-annotation
2
+
3
+ The annotation plugin: drawing, selecting, moving, restyling, typing into and
4
+ deleting annotations, over a document the engine owns. It wires the pure
5
+ [`@embedpdf/core-annotation`](../../core/annotation/README.md) to the engine
6
+ and to the interaction hub. It has no framework code; the adapters render its
7
+ reads.
8
+
9
+ ## Three kinds of data, one owner each
10
+
11
+ What the user sees is built from three kinds of data. Each has exactly one
12
+ owner, and nothing else writes it.
13
+
14
+ | Data | What it is | Owner | Changed by |
15
+ | ------------- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------------ |
16
+ | **confirmed** | every annotation record the engine confirmed, with its appearance version | the records mirror (`sync/records.ts`), `records.get()` | confirmed document events, from any session, and loads |
17
+ | **pending** | this session's changes the engine hasn't answered yet, one per user action | the kernel's change queue (`ctx.changes`) | a user action stages one; it leaves once the engine answered |
18
+ | **session** | selection, hover, the gesture in progress, text editing, tool settings, the object numbers held for new records | `session` in the plugin state (`model.ts`) | the core's `update` |
19
+
20
+ The records mirror shows the pending changes on top of what the engine
21
+ confirmed (`records.view()`): it replays them, op by op, through
22
+ `predictRecords`, the same rules the engine applies. The **view**
23
+ (`read/view.ts`) turns those records into the core's records, each drawn as
24
+ the change on it says, and composes them with the session into the core's
25
+ `Model`. Every read and every gesture takes that model. It is memoized per
26
+ record, so a change to one record does not recompute the others.
27
+
28
+ ## The life of one change
29
+
30
+ A user drags a square to a new place:
31
+
32
+ ```
33
+ pointer up
34
+ │
35
+ ▼
36
+ store.commit({ type: 'editPointer', phase: 'up', … }) services/store.ts
37
+ │
38
+ ├─ update(model, message) core-annotation
39
+ │ → session (the drag is over)
40
+ │ → change (put: the square at its new place)
41
+ │ → effects ([{ type: 'patch', id: 'obj:12', patch: { box } }])
42
+ │
43
+ ├─ op builders write/ops.ts
44
+ │ patch → { type: 'annotations.update', ref, patch }
45
+ │ (an annotation's link children follow it: write/links.ts)
46
+ │
47
+ └─ ctx.changes.stage({ label, ops, undo }) the kernel
48
+ the records mirror predicts it: the view shows the square at its
49
+ new place at once. The queue sends it after everything staged
50
+ before it; the engine applies it, all or nothing, and publishes
51
+ `annotations.updated` before it answers:
52
+ the records mirror folds it → confirmed obj:12 is at the new place
53
+ the change leaves the view → the view shows the confirmed record
54
+ ```
55
+
56
+ One user action is one change: moving five annotations is one change of five
57
+ ops, one request, one undo step. The rules:
58
+
59
+ - **Refused** (a revoked grant, a lock set elsewhere): the change leaves the
60
+ view at once, and the view shows the confirmed record, including anything
61
+ another session changed meanwhile. Nothing has to be undone by hand, and
62
+ `onWriteFailed` tells the UI why. A change that names a record only a
63
+ refused change would have created is refused with it.
64
+ - **Applied**: the change leaves the view once the records mirror holds the
65
+ answer, which is at once when its events folded; if a fold asked to read a
66
+ page again, the view keeps it until that read lands.
67
+ - **In order**: the engine answers changes in the order they were staged, so
68
+ a newer change always shows over an older one's answer.
69
+
70
+ The same pipeline carries every kind of change:
71
+
72
+ - **New annotations** take an object number the session holds
73
+ (`services/object-numbers.ts`), so a new record has its final ref from its
74
+ first frame: it can be selected, edited, linked or deleted at once, and
75
+ each of those is simply staged after its create. A replace-text caret and
76
+ its strikeout are two creates in one change, the strikeout answering the
77
+ caret by its number. Should the document's pool be empty for a moment, the
78
+ create waits for numbers (the drawing stays on screen).
79
+ - **Deletes**: the record and what goes with it (its replies, grouped parts,
80
+ popups) leave the view at once, and come back if the engine refuses.
81
+ - **Typing** goes into one held change per pause (`write/text-editing.ts`):
82
+ every keystroke amends it, so the text shows at once, and it is sent after
83
+ a pause, when editing ends, when anything else is staged, and before a
84
+ download. A format on the words selected while typing goes into it too.
85
+ - **Changes stated in code** (`create`, `update`, `delete`, `reorder`,
86
+ comments, links, scripts) go through the store's second door, `apply`: each
87
+ is checked with the engine's own functions, shown at once, and sent,
88
+ answered and refused exactly like a gesture's. One call is one change.
89
+
90
+ ## How a record renders
91
+
92
+ A confirmed record renders from the engine's appearance raster (`baked`)
93
+ unless this session edited or created it, in which case it renders live from
94
+ its description (`vector`): the `vector` preference in the state. Another
95
+ session's change hands the record back to the raster (`sync/confirmed.ts`).
96
+ While a change of this session is pending, how the record is drawn follows
97
+ from the change itself (core `drawnAfter`, the engine's verdict on it): a move
98
+ carries the raster along, anything else visible draws live, and a change the
99
+ raster already shows (a flag) leaves it as it is. Stamps and widgets have no
100
+ live rendering and always use a raster: a stamp's keeps its proportions in a
101
+ resized box (the engine fits it `contain`), and a stamp this session placed
102
+ shows the preview it was placed with until the engine's picture of it exists
103
+ (`read/render.ts`). The raster is fetched again exactly when the record's
104
+ appearance version changes, which the mirror advances when the engine reports
105
+ a re-baked appearance.
106
+
107
+ ## Where things live
108
+
109
+ | Folder | What is in it |
110
+ | --------------- | ------------------------------------------------------------------------------------- |
111
+ | `controller.ts` | the composition root: builds the services, wires every area, assembles the capability |
112
+ | `model.ts` | the plugin state and its transitions (`withSession`, render preferences, …) |
113
+ | `services/` | what every area is built on: the store, object numbers, events, authority |
114
+ | `sync/` | the records mirror (what the engine confirmed, and its prediction) and what follows |
115
+ | `read/` | the view, and the reads the capability exposes (annotations, render items, chrome) |
116
+ | `write/` | the verbs, and the op builders that turn core effects into the engine's ops |
117
+ | `comments/` | the comment threads lens over the same records |
118
+ | `tools/` | tool definitions, the registry, the tool's ghost, and the pointer handlers on the hub |
119
+
120
+ ## Tests
121
+
122
+ `test/harness.ts` runs the controller on the kernel's test context with a
123
+ fake engine that behaves like the real ones: it applies one change at a time,
124
+ in the order they were sent, all or nothing, and publishes its events before
125
+ it answers; a create gets the object number it names. `test/pending.test.ts`
126
+ is the place to start: what the user sees while, and after, a change is on
127
+ its way. `test/interleavings.test.ts` plays seeded random sequences of
128
+ changes, refusals and remote updates, and checks the view (values and how
129
+ the record renders) after every step.
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_seam = require("./seam-6pJeKOOJ.cjs");
3
2
  let _embedpdf_core_annotation = require("@embedpdf/core-annotation");
4
3
  Object.defineProperty(exports, "MIN_DRAG", {
5
4
  enumerable: true,
@@ -7,10 +6,21 @@ Object.defineProperty(exports, "MIN_DRAG", {
7
6
  return _embedpdf_core_annotation.MIN_DRAG;
8
7
  }
9
8
  });
9
+ Object.defineProperty(exports, "gesturePlacement", {
10
+ enumerable: true,
11
+ get: function() {
12
+ return _embedpdf_core_annotation.gesturePlacement;
13
+ }
14
+ });
10
15
  Object.defineProperty(exports, "resolveClickPlacement", {
11
16
  enumerable: true,
12
17
  get: function() {
13
18
  return _embedpdf_core_annotation.resolveClickPlacement;
14
19
  }
15
20
  });
16
- exports.widgetAppearanceFromProps = require_seam.widgetAppearanceFromProps;
21
+ Object.defineProperty(exports, "widgetAppearanceOf", {
22
+ enumerable: true,
23
+ get: function() {
24
+ return _embedpdf_core_annotation.widgetAppearanceOf;
25
+ }
26
+ });
@@ -1,2 +1,2 @@
1
- import { l as widgetAppearanceFromProps, n as MIN_DRAG, r as resolveClickPlacement, t as ClickPlacement } from "./authoring-BhtyfsMx.cjs";
2
- export { type ClickPlacement, MIN_DRAG, resolveClickPlacement, widgetAppearanceFromProps };
1
+ import { MIN_DRAG, Placement, gesturePlacement, resolveClickPlacement, widgetAppearanceOf } from "@embedpdf/core-annotation";
2
+ export { MIN_DRAG, type Placement, gesturePlacement, resolveClickPlacement, widgetAppearanceOf };
@@ -1,2 +1,2 @@
1
- import { l as widgetAppearanceFromProps, n as MIN_DRAG, r as resolveClickPlacement, t as ClickPlacement } from "./authoring-R4ezdnXd.js";
2
- export { type ClickPlacement, MIN_DRAG, resolveClickPlacement, widgetAppearanceFromProps };
1
+ import { MIN_DRAG, Placement, gesturePlacement, resolveClickPlacement, widgetAppearanceOf } from "@embedpdf/core-annotation";
2
+ export { MIN_DRAG, type Placement, gesturePlacement, resolveClickPlacement, widgetAppearanceOf };
package/dist/authoring.js CHANGED
@@ -1,3 +1,2 @@
1
- import { h as widgetAppearanceFromProps } from "./seam-C4L_7rDt.js";
2
- import { MIN_DRAG, resolveClickPlacement } from "@embedpdf/core-annotation";
3
- export { MIN_DRAG, resolveClickPlacement, widgetAppearanceFromProps };
1
+ import { MIN_DRAG, gesturePlacement, resolveClickPlacement, widgetAppearanceOf } from "@embedpdf/core-annotation";
2
+ export { MIN_DRAG, gesturePlacement, resolveClickPlacement, widgetAppearanceOf };
@@ -1,3 +1,19 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_types = require("../types-Dlhdw2k_.cjs");
3
- exports.AnnotationToken = require_types.AnnotationToken;
2
+ const require_contract = require("../contract-CPzpRG3h.cjs");
3
+ const require_host_contract = require("../host-contract-DY9jFPPF.cjs");
4
+ let _embedpdf_engine_core_public = require("@embedpdf/engine-core/public");
5
+ exports.ANNOTATION_DEFAULTS = require_contract.ANNOTATION_DEFAULTS;
6
+ exports.ANNOTATION_DRAW_PRIORITY = require_host_contract.ANNOTATION_DRAW_PRIORITY;
7
+ exports.ANNOTATION_EDIT_PRIORITY = require_host_contract.ANNOTATION_EDIT_PRIORITY;
8
+ exports.ANNOTATION_MARQUEE_PRIORITY = require_host_contract.ANNOTATION_MARQUEE_PRIORITY;
9
+ exports.ANNOTATION_PLACE_PRIORITY = require_host_contract.ANNOTATION_PLACE_PRIORITY;
10
+ exports.ARMED_STAMP_TOOL_ID = require_contract.ARMED_STAMP_TOOL_ID;
11
+ exports.AnnotationToken = require_host_contract.AnnotationToken;
12
+ Object.defineProperty(exports, "AnnotationTransfer", {
13
+ enumerable: true,
14
+ get: function() {
15
+ return _embedpdf_engine_core_public.AnnotationTransfer;
16
+ }
17
+ });
18
+ exports.annotationState = require_contract.annotationState;
19
+ exports.previewBucket = require_host_contract.previewBucket;
@@ -1,2 +1,3 @@
1
- import { i as AnnotationHostCapability, s as AnnotationToken } from "../types-ObcPYc3-.cjs";
2
- export { type AnnotationHostCapability, AnnotationToken };
1
+ import { $ as Color, A as AnnotationResources, At as annotationState, B as AnnotationTool, C as AnnotationPatch, Ct as StampPlacement, D as AnnotationRef, Dt as ThreadDeleteResult, E as AnnotationProperty, Et as TextItem, F as AnnotationSelectionChangedEvent, G as ArmedStampInfo, Gt as Face, H as AnnotationTransfer, I as AnnotationSettings, J as AttachmentFileSource, K as ArmedStampPreview, Kt as TextFormat, L as AnnotationStampsApi, M as AnnotationRotationAnchor, Mt as ARMED_STAMP_TOOL_ID, N as AnnotationSelectionAnchor, O as AnnotationReorderedEvent, Ot as ToolDefaults, P as AnnotationSelectionApi, Q as ClickCreate, R as AnnotationSubtype, S as AnnotationOption, St as StampInput, T as AnnotationProperties, Tt as TextAlign, U as AnnotationUpdatedEvent, V as AnnotationToolsApi, W as AnnotationWriteFailedEvent, X as BlendMode, Y as Behavior, Z as ChromeSettings, _ as AnnotationHoverChangedEvent, _t as MarkupSubtype, a as AnnotationBundle, at as EditableKind, b as AnnotationImportResult, bt as ReviewStatus, c as AnnotationCreatedEvent, ct as FilePickerProvider, d as AnnotationDraftApi, dt as HandleRole, et as CommentThread, f as AnnotationDraftChangedEvent, ft as ImageGhost, g as AnnotationFlags, gt as LinkNavItem, h as AnnotationFilter, ht as LineStyle, i as AnnotationAnchor, it as CreationDraft, j as AnnotationResyncedEvent, k as AnnotationResourceRole, kt as ToolDefaultsChangedEvent, l as AnnotationDeletedEvent, lt as FilePromptRequest, m as AnnotationExportSelection, mt as LineEndings, n as AfterCreateSettings, nt as CommentThreadReview, o as AnnotationCapability, ot as EditableKinds, p as AnnotationEditingChangedEvent, pt as LineEnding, q as AttachmentContent, qt as TextSelection, r as Annotation, rt as CommentsApi, s as AnnotationConfig, st as FieldValues, t as ANNOTATION_DEFAULTS, tt as CommentThreadChangedEvent, u as AnnotationDraft, ut as FlagKey, v as AnnotationImportDrop, vt as MeasurementIntent, w as AnnotationPosition, wt as StampPreviewProvider, x as AnnotationLinksApi, xt as SnapSettings, y as AnnotationImportOptions, yt as PdfLinkTarget, z as AnnotationTextApi } from "../contract-BK4LHe9v.cjs";
2
+ import { a as CapturedAnnotationDraft, c as ANNOTATION_DRAW_PRIORITY, d as ANNOTATION_PLACE_PRIORITY, f as AnnotationState, i as AnnotationToken, l as ANNOTATION_EDIT_PRIORITY, n as AnnotationHostCapability, o as RecalibrationReport, r as AnnotationLender, s as previewBucket, t as AnnotationAppearancePicture, u as ANNOTATION_MARQUEE_PRIORITY } from "../host-contract-Nzxwh0XS.cjs";
3
+ export { ANNOTATION_DEFAULTS, ANNOTATION_DRAW_PRIORITY, ANNOTATION_EDIT_PRIORITY, ANNOTATION_MARQUEE_PRIORITY, ANNOTATION_PLACE_PRIORITY, ARMED_STAMP_TOOL_ID, AfterCreateSettings, type Annotation, AnnotationAnchor, AnnotationAppearancePicture, type AnnotationBundle, AnnotationCapability, AnnotationConfig, AnnotationCreatedEvent, AnnotationDeletedEvent, type AnnotationDraft, AnnotationDraftApi, AnnotationDraftChangedEvent, AnnotationEditingChangedEvent, AnnotationExportSelection, AnnotationFilter, type AnnotationFlags, AnnotationHostCapability, AnnotationHoverChangedEvent, type AnnotationImportDrop, type AnnotationImportOptions, AnnotationImportResult, AnnotationLender, AnnotationLinksApi, type AnnotationOption, type AnnotationPatch, type AnnotationPosition, AnnotationProperties, type AnnotationProperty, type AnnotationRef, AnnotationReorderedEvent, type AnnotationResourceRole, type AnnotationResources, AnnotationResyncedEvent, AnnotationRotationAnchor, AnnotationSelectionAnchor, AnnotationSelectionApi, AnnotationSelectionChangedEvent, AnnotationSettings, AnnotationStampsApi, type AnnotationState, type AnnotationSubtype, AnnotationTextApi, AnnotationToken, AnnotationTool, AnnotationToolsApi, AnnotationTransfer, AnnotationUpdatedEvent, AnnotationWriteFailedEvent, ArmedStampInfo, ArmedStampPreview, type AttachmentContent, type AttachmentFileSource, Behavior, type BlendMode, CapturedAnnotationDraft, ChromeSettings, type ClickCreate, type Color, type CommentThread, CommentThreadChangedEvent, type CommentThreadReview, CommentsApi, CreationDraft, type EditableKind, type EditableKinds, type Face, type FieldValues, FilePickerProvider, FilePromptRequest, type FlagKey, type HandleRole, ImageGhost, type LineEnding, type LineEndings, LineStyle, LinkNavItem, MarkupSubtype, type MeasurementIntent, type PdfLinkTarget, RecalibrationReport, type ReviewStatus, type SnapSettings, StampInput, StampPlacement, StampPreviewProvider, type TextAlign, type TextFormat, TextItem, type TextSelection, ThreadDeleteResult, ToolDefaults, ToolDefaultsChangedEvent, annotationState, previewBucket };
@@ -1,2 +1,3 @@
1
- import { i as AnnotationHostCapability, s as AnnotationToken } from "../types-D5V0TIwk.js";
2
- export { type AnnotationHostCapability, AnnotationToken };
1
+ import { $ as Color, A as AnnotationResources, At as annotationState, B as AnnotationTool, C as AnnotationPatch, Ct as StampPlacement, D as AnnotationRef, Dt as ThreadDeleteResult, E as AnnotationProperty, Et as TextItem, F as AnnotationSelectionChangedEvent, G as ArmedStampInfo, Gt as Face, H as AnnotationTransfer, I as AnnotationSettings, J as AttachmentFileSource, K as ArmedStampPreview, Kt as TextFormat, L as AnnotationStampsApi, M as AnnotationRotationAnchor, Mt as ARMED_STAMP_TOOL_ID, N as AnnotationSelectionAnchor, O as AnnotationReorderedEvent, Ot as ToolDefaults, P as AnnotationSelectionApi, Q as ClickCreate, R as AnnotationSubtype, S as AnnotationOption, St as StampInput, T as AnnotationProperties, Tt as TextAlign, U as AnnotationUpdatedEvent, V as AnnotationToolsApi, W as AnnotationWriteFailedEvent, X as BlendMode, Y as Behavior, Z as ChromeSettings, _ as AnnotationHoverChangedEvent, _t as MarkupSubtype, a as AnnotationBundle, at as EditableKind, b as AnnotationImportResult, bt as ReviewStatus, c as AnnotationCreatedEvent, ct as FilePickerProvider, d as AnnotationDraftApi, dt as HandleRole, et as CommentThread, f as AnnotationDraftChangedEvent, ft as ImageGhost, g as AnnotationFlags, gt as LinkNavItem, h as AnnotationFilter, ht as LineStyle, i as AnnotationAnchor, it as CreationDraft, j as AnnotationResyncedEvent, k as AnnotationResourceRole, kt as ToolDefaultsChangedEvent, l as AnnotationDeletedEvent, lt as FilePromptRequest, m as AnnotationExportSelection, mt as LineEndings, n as AfterCreateSettings, nt as CommentThreadReview, o as AnnotationCapability, ot as EditableKinds, p as AnnotationEditingChangedEvent, pt as LineEnding, q as AttachmentContent, qt as TextSelection, r as Annotation, rt as CommentsApi, s as AnnotationConfig, st as FieldValues, t as ANNOTATION_DEFAULTS, tt as CommentThreadChangedEvent, u as AnnotationDraft, ut as FlagKey, v as AnnotationImportDrop, vt as MeasurementIntent, w as AnnotationPosition, wt as StampPreviewProvider, x as AnnotationLinksApi, xt as SnapSettings, y as AnnotationImportOptions, yt as PdfLinkTarget, z as AnnotationTextApi } from "../contract-BOo9iZKo.js";
2
+ import { a as CapturedAnnotationDraft, c as ANNOTATION_DRAW_PRIORITY, d as ANNOTATION_PLACE_PRIORITY, f as AnnotationState, i as AnnotationToken, l as ANNOTATION_EDIT_PRIORITY, n as AnnotationHostCapability, o as RecalibrationReport, r as AnnotationLender, s as previewBucket, t as AnnotationAppearancePicture, u as ANNOTATION_MARQUEE_PRIORITY } from "../host-contract-BbjhS_Fo.js";
3
+ export { ANNOTATION_DEFAULTS, ANNOTATION_DRAW_PRIORITY, ANNOTATION_EDIT_PRIORITY, ANNOTATION_MARQUEE_PRIORITY, ANNOTATION_PLACE_PRIORITY, ARMED_STAMP_TOOL_ID, AfterCreateSettings, type Annotation, AnnotationAnchor, AnnotationAppearancePicture, type AnnotationBundle, AnnotationCapability, AnnotationConfig, AnnotationCreatedEvent, AnnotationDeletedEvent, type AnnotationDraft, AnnotationDraftApi, AnnotationDraftChangedEvent, AnnotationEditingChangedEvent, AnnotationExportSelection, AnnotationFilter, type AnnotationFlags, AnnotationHostCapability, AnnotationHoverChangedEvent, type AnnotationImportDrop, type AnnotationImportOptions, AnnotationImportResult, AnnotationLender, AnnotationLinksApi, type AnnotationOption, type AnnotationPatch, type AnnotationPosition, AnnotationProperties, type AnnotationProperty, type AnnotationRef, AnnotationReorderedEvent, type AnnotationResourceRole, type AnnotationResources, AnnotationResyncedEvent, AnnotationRotationAnchor, AnnotationSelectionAnchor, AnnotationSelectionApi, AnnotationSelectionChangedEvent, AnnotationSettings, AnnotationStampsApi, type AnnotationState, type AnnotationSubtype, AnnotationTextApi, AnnotationToken, AnnotationTool, AnnotationToolsApi, AnnotationTransfer, AnnotationUpdatedEvent, AnnotationWriteFailedEvent, ArmedStampInfo, ArmedStampPreview, type AttachmentContent, type AttachmentFileSource, Behavior, type BlendMode, CapturedAnnotationDraft, ChromeSettings, type ClickCreate, type Color, type CommentThread, CommentThreadChangedEvent, type CommentThreadReview, CommentsApi, CreationDraft, type EditableKind, type EditableKinds, type Face, type FieldValues, FilePickerProvider, FilePromptRequest, type FlagKey, type HandleRole, ImageGhost, type LineEnding, type LineEndings, LineStyle, LinkNavItem, MarkupSubtype, type MeasurementIntent, type PdfLinkTarget, RecalibrationReport, type ReviewStatus, type SnapSettings, StampInput, StampPlacement, StampPreviewProvider, type TextAlign, type TextFormat, TextItem, type TextSelection, ThreadDeleteResult, ToolDefaults, ToolDefaultsChangedEvent, annotationState, previewBucket };
@@ -1,2 +1,3 @@
1
- import { t as AnnotationToken } from "../types-BvB1vUKb.js";
2
- export { AnnotationToken };
1
+ import { n as AnnotationTransfer, r as ARMED_STAMP_TOOL_ID, s as annotationState, t as ANNOTATION_DEFAULTS } from "../contract-b2e_LZvu.js";
2
+ import { a as ANNOTATION_MARQUEE_PRIORITY, i as ANNOTATION_EDIT_PRIORITY, n as previewBucket, o as ANNOTATION_PLACE_PRIORITY, r as ANNOTATION_DRAW_PRIORITY, t as AnnotationToken } from "../host-contract-CxrQPcPj.js";
3
+ export { ANNOTATION_DEFAULTS, ANNOTATION_DRAW_PRIORITY, ANNOTATION_EDIT_PRIORITY, ANNOTATION_MARQUEE_PRIORITY, ANNOTATION_PLACE_PRIORITY, ARMED_STAMP_TOOL_ID, AnnotationToken, AnnotationTransfer, annotationState, previewBucket };