@embedpdf/plugin-annotation 3.0.0-next.16 → 3.0.0-next.18

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/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { widgetAppearanceOf } from "./authoring.cjs";
2
- import { $ as Color, A as AnnotationResources, At as annotationState, B as AnnotationTool, Bt as ResolvedTool, C as AnnotationPatch, Ct as StampPlacement, D as AnnotationRef, Dt as ThreadDeleteResult, E as AnnotationProperty, Et as TextItem, F as AnnotationSelectionChangedEvent, Ft as DEFAULT_TOOLS, G as ArmedStampInfo, Gt as Face, H as AnnotationTransfer, Ht as StampSourceSpec, I as AnnotationSettings, It as GhostPolicy, J as AttachmentFileSource, K as ArmedStampPreview, Kt as TextFormat, L as AnnotationStampsApi, Lt as InkAuthoringOptions, M as AnnotationRotationAnchor, Mt as ARMED_STAMP_TOOL_ID, N as AnnotationSelectionAnchor, Nt as AnnotationToolDef, O as AnnotationReorderedEvent, Ot as ToolDefaults, P as AnnotationSelectionApi, Pt as AnnotationToolInput, Q as ClickCreate, R as AnnotationSubtype, Rt as PromptSourceSpec, S as AnnotationOption, St as StampInput, T as AnnotationProperties, Tt as TextAlign, U as AnnotationUpdatedEvent, Ut as ToolAuthoringKind, V as AnnotationToolsApi, Vt as SelectionAuthoring, W as AnnotationWriteFailedEvent, Wt as ToolDefaultsFor, 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, jt as AnnotationToken, 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, zt as ResolvedGhost } from "./contract-BK4LHe9v.cjs";
3
- import { f as AnnotationState, n as AnnotationHostCapability } from "./host-contract-BU29qDEw.cjs";
2
+ import { $ as Color, A as AnnotationResources, At as AnnotationState, B as AnnotationTool, Bt as ResolvedGhost, C as AnnotationPatch, Ct as StampPlacement, D as AnnotationRef, Dt as ThreadDeleteResult, E as AnnotationProperty, Et as TextItem, F as AnnotationSelectionChangedEvent, Ft as AnnotationToolInput, G as ArmedStampInfo, Gt as ToolDefaultsFor, H as AnnotationTransfer, Ht as SelectionAuthoring, I as AnnotationSettings, It as DEFAULT_TOOLS, J as AttachmentFileSource, Jt as TextSelection, K as ArmedStampPreview, Kt as Face, L as AnnotationStampsApi, Lt as GhostPolicy, M as AnnotationRotationAnchor, Mt as AnnotationToken, N as AnnotationSelectionAnchor, Nt as ARMED_STAMP_TOOL_ID, O as AnnotationReorderedEvent, Ot as ToolDefaults, P as AnnotationSelectionApi, Pt as AnnotationToolDef, Q as ClickCreate, R as AnnotationSubtype, Rt as InkAuthoringOptions, S as AnnotationOption, St as StampInput, T as AnnotationProperties, Tt as TextAlign, U as AnnotationUpdatedEvent, Ut as StampSourceSpec, V as AnnotationToolsApi, Vt as ResolvedTool, W as AnnotationWriteFailedEvent, Wt as ToolAuthoringKind, 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, jt as annotationState, 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 TextFormat, 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, zt as PromptSourceSpec } from "./contract-GPTUCoul.cjs";
3
+ import { f as AnnotationModel, n as AnnotationHostCapability } from "./host-contract-C4o5ns9R.cjs";
4
4
  import { MIN_DRAG, Placement, gesturePlacement, kindNamed, propertiesOf, resolveClickPlacement } from "@embedpdf/core-annotation";
5
5
  import { annotationKey } from "@embedpdf/core";
6
6
  //#region src/annotation.plugin.d.ts
@@ -12,7 +12,7 @@ import { annotationKey } from "@embedpdf/core";
12
12
  * still draws. `config` is the settings the app
13
13
  * registers, over {@link ANNOTATION_DEFAULTS}.
14
14
  */
15
- declare const annotationPlugin: (config?: AnnotationConfig) => import("@embedpdf/core").PluginDef<AnnotationState, AnnotationHostCapability, AnnotationSettings>;
15
+ declare const annotationPlugin: (config?: AnnotationConfig) => import("@embedpdf/core").PluginDef<AnnotationModel, AnnotationHostCapability, AnnotationSettings>;
16
16
  //#endregion
17
- export { ANNOTATION_DEFAULTS, ARMED_STAMP_TOOL_ID, AfterCreateSettings, type Annotation, AnnotationAnchor, type AnnotationBundle, AnnotationCapability, AnnotationConfig, AnnotationCreatedEvent, AnnotationDeletedEvent, type AnnotationDraft, AnnotationDraftApi, AnnotationDraftChangedEvent, AnnotationEditingChangedEvent, AnnotationExportSelection, AnnotationFilter, type AnnotationFlags, AnnotationHoverChangedEvent, type AnnotationImportDrop, type AnnotationImportOptions, AnnotationImportResult, 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 AnnotationSubtype, AnnotationTextApi, AnnotationToken, AnnotationTool, type AnnotationToolDef, type AnnotationToolInput, AnnotationToolsApi, AnnotationTransfer, AnnotationUpdatedEvent, AnnotationWriteFailedEvent, ArmedStampInfo, ArmedStampPreview, type AttachmentContent, type AttachmentFileSource, Behavior, type BlendMode, ChromeSettings, type ClickCreate, type Color, type CommentThread, CommentThreadChangedEvent, type CommentThreadReview, CommentsApi, CreationDraft, DEFAULT_TOOLS, type EditableKind, type EditableKinds, type Face, type FieldValues, FilePickerProvider, FilePromptRequest, type FlagKey, type GhostPolicy, type HandleRole, ImageGhost, type InkAuthoringOptions, type LineEnding, type LineEndings, LineStyle, LinkNavItem, MIN_DRAG, MarkupSubtype, type MeasurementIntent, type PdfLinkTarget, type Placement, type PromptSourceSpec, type ResolvedGhost, type ResolvedTool, type ReviewStatus, type SelectionAuthoring, type SnapSettings, StampInput, StampPlacement, StampPreviewProvider, type StampSourceSpec, type TextAlign, type TextFormat, TextItem, type TextSelection, ThreadDeleteResult, type ToolAuthoringKind, ToolDefaults, ToolDefaultsChangedEvent, type ToolDefaultsFor, annotationKey, annotationPlugin, annotationState, gesturePlacement, kindNamed, propertiesOf, resolveClickPlacement, widgetAppearanceOf };
17
+ export { ANNOTATION_DEFAULTS, ARMED_STAMP_TOOL_ID, AfterCreateSettings, type Annotation, AnnotationAnchor, type AnnotationBundle, AnnotationCapability, AnnotationConfig, AnnotationCreatedEvent, AnnotationDeletedEvent, type AnnotationDraft, AnnotationDraftApi, AnnotationDraftChangedEvent, AnnotationEditingChangedEvent, AnnotationExportSelection, AnnotationFilter, type AnnotationFlags, AnnotationHoverChangedEvent, type AnnotationImportDrop, type AnnotationImportOptions, AnnotationImportResult, 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, type AnnotationToolDef, type AnnotationToolInput, AnnotationToolsApi, AnnotationTransfer, AnnotationUpdatedEvent, AnnotationWriteFailedEvent, ArmedStampInfo, ArmedStampPreview, type AttachmentContent, type AttachmentFileSource, Behavior, type BlendMode, ChromeSettings, type ClickCreate, type Color, type CommentThread, CommentThreadChangedEvent, type CommentThreadReview, CommentsApi, CreationDraft, DEFAULT_TOOLS, type EditableKind, type EditableKinds, type Face, type FieldValues, FilePickerProvider, FilePromptRequest, type FlagKey, type GhostPolicy, type HandleRole, ImageGhost, type InkAuthoringOptions, type LineEnding, type LineEndings, LineStyle, LinkNavItem, MIN_DRAG, MarkupSubtype, type MeasurementIntent, type PdfLinkTarget, type Placement, type PromptSourceSpec, type ResolvedGhost, type ResolvedTool, type ReviewStatus, type SelectionAuthoring, type SnapSettings, StampInput, StampPlacement, StampPreviewProvider, type StampSourceSpec, type TextAlign, type TextFormat, TextItem, type TextSelection, ThreadDeleteResult, type ToolAuthoringKind, ToolDefaults, ToolDefaultsChangedEvent, type ToolDefaultsFor, annotationKey, annotationPlugin, annotationState, gesturePlacement, kindNamed, propertiesOf, resolveClickPlacement, widgetAppearanceOf };
18
18
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { widgetAppearanceOf } from "./authoring.js";
2
- import { $ as Color, A as AnnotationResources, At as annotationState, B as AnnotationTool, Bt as ResolvedTool, C as AnnotationPatch, Ct as StampPlacement, D as AnnotationRef, Dt as ThreadDeleteResult, E as AnnotationProperty, Et as TextItem, F as AnnotationSelectionChangedEvent, Ft as DEFAULT_TOOLS, G as ArmedStampInfo, Gt as Face, H as AnnotationTransfer, Ht as StampSourceSpec, I as AnnotationSettings, It as GhostPolicy, J as AttachmentFileSource, K as ArmedStampPreview, Kt as TextFormat, L as AnnotationStampsApi, Lt as InkAuthoringOptions, M as AnnotationRotationAnchor, Mt as ARMED_STAMP_TOOL_ID, N as AnnotationSelectionAnchor, Nt as AnnotationToolDef, O as AnnotationReorderedEvent, Ot as ToolDefaults, P as AnnotationSelectionApi, Pt as AnnotationToolInput, Q as ClickCreate, R as AnnotationSubtype, Rt as PromptSourceSpec, S as AnnotationOption, St as StampInput, T as AnnotationProperties, Tt as TextAlign, U as AnnotationUpdatedEvent, Ut as ToolAuthoringKind, V as AnnotationToolsApi, Vt as SelectionAuthoring, W as AnnotationWriteFailedEvent, Wt as ToolDefaultsFor, 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, jt as AnnotationToken, 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, zt as ResolvedGhost } from "./contract-BOo9iZKo.js";
3
- import { f as AnnotationState, n as AnnotationHostCapability } from "./host-contract-DfSvbt8c.js";
2
+ import { $ as Color, A as AnnotationResources, At as AnnotationState, B as AnnotationTool, Bt as ResolvedGhost, C as AnnotationPatch, Ct as StampPlacement, D as AnnotationRef, Dt as ThreadDeleteResult, E as AnnotationProperty, Et as TextItem, F as AnnotationSelectionChangedEvent, Ft as AnnotationToolInput, G as ArmedStampInfo, Gt as ToolDefaultsFor, H as AnnotationTransfer, Ht as SelectionAuthoring, I as AnnotationSettings, It as DEFAULT_TOOLS, J as AttachmentFileSource, Jt as TextSelection, K as ArmedStampPreview, Kt as Face, L as AnnotationStampsApi, Lt as GhostPolicy, M as AnnotationRotationAnchor, Mt as AnnotationToken, N as AnnotationSelectionAnchor, Nt as ARMED_STAMP_TOOL_ID, O as AnnotationReorderedEvent, Ot as ToolDefaults, P as AnnotationSelectionApi, Pt as AnnotationToolDef, Q as ClickCreate, R as AnnotationSubtype, Rt as InkAuthoringOptions, S as AnnotationOption, St as StampInput, T as AnnotationProperties, Tt as TextAlign, U as AnnotationUpdatedEvent, Ut as StampSourceSpec, V as AnnotationToolsApi, Vt as ResolvedTool, W as AnnotationWriteFailedEvent, Wt as ToolAuthoringKind, 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, jt as annotationState, 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 TextFormat, 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, zt as PromptSourceSpec } from "./contract-BkjSlY96.js";
3
+ import { f as AnnotationModel, n as AnnotationHostCapability } from "./host-contract-Cqp5sPYD.js";
4
4
  import { annotationKey } from "@embedpdf/core";
5
5
  import { MIN_DRAG, Placement, gesturePlacement, kindNamed, propertiesOf, resolveClickPlacement } from "@embedpdf/core-annotation";
6
6
  //#region src/annotation.plugin.d.ts
@@ -12,7 +12,7 @@ import { MIN_DRAG, Placement, gesturePlacement, kindNamed, propertiesOf, resolve
12
12
  * still draws. `config` is the settings the app
13
13
  * registers, over {@link ANNOTATION_DEFAULTS}.
14
14
  */
15
- declare const annotationPlugin: (config?: AnnotationConfig) => import("@embedpdf/core").PluginDef<AnnotationState, AnnotationHostCapability, AnnotationSettings>;
15
+ declare const annotationPlugin: (config?: AnnotationConfig) => import("@embedpdf/core").PluginDef<AnnotationModel, AnnotationHostCapability, AnnotationSettings>;
16
16
  //#endregion
17
- export { ANNOTATION_DEFAULTS, ARMED_STAMP_TOOL_ID, AfterCreateSettings, type Annotation, AnnotationAnchor, type AnnotationBundle, AnnotationCapability, AnnotationConfig, AnnotationCreatedEvent, AnnotationDeletedEvent, type AnnotationDraft, AnnotationDraftApi, AnnotationDraftChangedEvent, AnnotationEditingChangedEvent, AnnotationExportSelection, AnnotationFilter, type AnnotationFlags, AnnotationHoverChangedEvent, type AnnotationImportDrop, type AnnotationImportOptions, AnnotationImportResult, 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 AnnotationSubtype, AnnotationTextApi, AnnotationToken, AnnotationTool, type AnnotationToolDef, type AnnotationToolInput, AnnotationToolsApi, AnnotationTransfer, AnnotationUpdatedEvent, AnnotationWriteFailedEvent, ArmedStampInfo, ArmedStampPreview, type AttachmentContent, type AttachmentFileSource, Behavior, type BlendMode, ChromeSettings, type ClickCreate, type Color, type CommentThread, CommentThreadChangedEvent, type CommentThreadReview, CommentsApi, CreationDraft, DEFAULT_TOOLS, type EditableKind, type EditableKinds, type Face, type FieldValues, FilePickerProvider, FilePromptRequest, type FlagKey, type GhostPolicy, type HandleRole, ImageGhost, type InkAuthoringOptions, type LineEnding, type LineEndings, LineStyle, LinkNavItem, MIN_DRAG, MarkupSubtype, type MeasurementIntent, type PdfLinkTarget, type Placement, type PromptSourceSpec, type ResolvedGhost, type ResolvedTool, type ReviewStatus, type SelectionAuthoring, type SnapSettings, StampInput, StampPlacement, StampPreviewProvider, type StampSourceSpec, type TextAlign, type TextFormat, TextItem, type TextSelection, ThreadDeleteResult, type ToolAuthoringKind, ToolDefaults, ToolDefaultsChangedEvent, type ToolDefaultsFor, annotationKey, annotationPlugin, annotationState, gesturePlacement, kindNamed, propertiesOf, resolveClickPlacement, widgetAppearanceOf };
17
+ export { ANNOTATION_DEFAULTS, ARMED_STAMP_TOOL_ID, AfterCreateSettings, type Annotation, AnnotationAnchor, type AnnotationBundle, AnnotationCapability, AnnotationConfig, AnnotationCreatedEvent, AnnotationDeletedEvent, type AnnotationDraft, AnnotationDraftApi, AnnotationDraftChangedEvent, AnnotationEditingChangedEvent, AnnotationExportSelection, AnnotationFilter, type AnnotationFlags, AnnotationHoverChangedEvent, type AnnotationImportDrop, type AnnotationImportOptions, AnnotationImportResult, 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, type AnnotationToolDef, type AnnotationToolInput, AnnotationToolsApi, AnnotationTransfer, AnnotationUpdatedEvent, AnnotationWriteFailedEvent, ArmedStampInfo, ArmedStampPreview, type AttachmentContent, type AttachmentFileSource, Behavior, type BlendMode, ChromeSettings, type ClickCreate, type Color, type CommentThread, CommentThreadChangedEvent, type CommentThreadReview, CommentsApi, CreationDraft, DEFAULT_TOOLS, type EditableKind, type EditableKinds, type Face, type FieldValues, FilePickerProvider, FilePromptRequest, type FlagKey, type GhostPolicy, type HandleRole, ImageGhost, type InkAuthoringOptions, type LineEnding, type LineEndings, LineStyle, LinkNavItem, MIN_DRAG, MarkupSubtype, type MeasurementIntent, type PdfLinkTarget, type Placement, type PromptSourceSpec, type ResolvedGhost, type ResolvedTool, type ReviewStatus, type SelectionAuthoring, type SnapSettings, StampInput, StampPlacement, StampPreviewProvider, type StampSourceSpec, type TextAlign, type TextFormat, TextItem, type TextSelection, ThreadDeleteResult, type ToolAuthoringKind, ToolDefaults, ToolDefaultsChangedEvent, type ToolDefaultsFor, annotationKey, annotationPlugin, annotationState, gesturePlacement, kindNamed, propertiesOf, resolveClickPlacement, widgetAppearanceOf };
18
18
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -706,7 +706,7 @@ function connectAnnotation(ctx, annotation) {
706
706
  * mirror shows them (`records.view()`) into the core's `Model`.
707
707
  */
708
708
  /** The initial state. The session's snapping and editable rule come from the settings (`withSnap`, `withEditable`). */
709
- const initialAnnotationState = () => ({
709
+ const initialAnnotationModel = () => ({
710
710
  session: initialSession,
711
711
  vector: {},
712
712
  ghostAt: null,
@@ -5202,7 +5202,7 @@ const annotationPlugin = (config) => definePlugin({
5202
5202
  ActionsToken,
5203
5203
  RenderToken
5204
5204
  ],
5205
- state: initialAnnotationState,
5205
+ state: initialAnnotationModel,
5206
5206
  settings: {
5207
5207
  defaults: ANNOTATION_DEFAULTS,
5208
5208
  registered: config