@inkbar/core 0.5.0 → 0.7.0
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/README.md +111 -1
- package/dist/dom.d.mts +597 -40
- package/dist/dom.d.mts.map +1 -1
- package/dist/dom.mjs +2154 -436
- package/dist/dom.mjs.map +1 -1
- package/dist/index.d.mts +16 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +181 -25
- package/dist/index.mjs.map +1 -1
- package/dist/{signatures-BwaXi7C8.d.mts → signatures-CalOktkf.d.mts} +148 -13
- package/dist/signatures-CalOktkf.d.mts.map +1 -0
- package/dist/{signatures-CMapTKrC.mjs → signatures-Do_l2IlM.mjs} +882 -56
- package/dist/signatures-Do_l2IlM.mjs.map +1 -0
- package/package.json +4 -3
- package/dist/signatures-BwaXi7C8.d.mts.map +0 -1
- package/dist/signatures-CMapTKrC.mjs.map +0 -1
|
@@ -30,6 +30,10 @@ declare function approxEqual(a: number, b: number, eps?: number): boolean;
|
|
|
30
30
|
declare function rectFromPoints(a: Point$1, b: Point$1): Rect$1;
|
|
31
31
|
declare function rectFromQuad(q: Quad): Rect$1;
|
|
32
32
|
declare function quadFromRect(r: Rect$1): Quad;
|
|
33
|
+
/** One quad covering `r`, in the corner order of `quadFromRect`. */
|
|
34
|
+
declare function quadsFromRect(r: Rect$1): Quad[];
|
|
35
|
+
/** The bounding box of every corner of `quads`. */
|
|
36
|
+
declare function rectFromQuads(quads: readonly Quad[]): Rect$1;
|
|
33
37
|
declare function unionRects(rects: readonly Rect$1[]): Rect$1;
|
|
34
38
|
declare function rectsIntersect(a: Rect$1, b: Rect$1): boolean;
|
|
35
39
|
declare function rectContainsPoint(r: Rect$1, p: Point$1): boolean;
|
|
@@ -1824,6 +1828,56 @@ declare function importEmbeddedPage(page: number, raw: PdfjsAnnotationData[], im
|
|
|
1824
1828
|
};
|
|
1825
1829
|
declare function summarise(perPage: Record<string, number>[]): EmbeddedSummary[];
|
|
1826
1830
|
//#endregion
|
|
1831
|
+
//#region src/model/records.d.ts
|
|
1832
|
+
interface RecordBase {
|
|
1833
|
+
readonly id: string;
|
|
1834
|
+
}
|
|
1835
|
+
type RecordChange<T> = {
|
|
1836
|
+
kind: 'add';
|
|
1837
|
+
record: T;
|
|
1838
|
+
} | {
|
|
1839
|
+
kind: 'update';
|
|
1840
|
+
id: string;
|
|
1841
|
+
before: T;
|
|
1842
|
+
after: T;
|
|
1843
|
+
} | {
|
|
1844
|
+
kind: 'remove';
|
|
1845
|
+
record: T;
|
|
1846
|
+
} | {
|
|
1847
|
+
kind: 'replace';
|
|
1848
|
+
reason: 'history' | 'reset';
|
|
1849
|
+
/** Ids of the records the replace added, changed and dropped, in list order. */
|
|
1850
|
+
added: string[];
|
|
1851
|
+
updated: string[];
|
|
1852
|
+
removed: string[];
|
|
1853
|
+
};
|
|
1854
|
+
interface RecordStore<T extends RecordBase> {
|
|
1855
|
+
/** The slot name the store is registered under. */
|
|
1856
|
+
readonly key: string;
|
|
1857
|
+
readonly list: Readable<readonly T[]>;
|
|
1858
|
+
get(id: string): T | undefined;
|
|
1859
|
+
/** Returns the stored (frozen) record. Throws `InkError('DuplicateId')` when the id is taken. */
|
|
1860
|
+
add(record: T): T;
|
|
1861
|
+
/** `id` cannot be patched. Returns `undefined`, emitting nothing, for an unknown id. */
|
|
1862
|
+
update(id: string, patch: Partial<Omit<T, 'id'>>): T | undefined;
|
|
1863
|
+
/** Returns the removed record, or `undefined`, emitting nothing, for an unknown id. */
|
|
1864
|
+
remove(id: string): T | undefined;
|
|
1865
|
+
replaceAll(list: readonly T[], reason: 'history' | 'reset'): void;
|
|
1866
|
+
on(event: 'change', fn: (change: RecordChange<T>) => void): () => void;
|
|
1867
|
+
/** Drops the listeners. Writes after it change nothing and emit nothing. */
|
|
1868
|
+
destroy(): void;
|
|
1869
|
+
}
|
|
1870
|
+
interface RecordStoreOptions<T extends RecordBase> {
|
|
1871
|
+
initial?: readonly T[];
|
|
1872
|
+
/** Called after every change, `replace` included, with the list as it now stands. */
|
|
1873
|
+
onChange?: (list: readonly T[], change: RecordChange<T>) => void;
|
|
1874
|
+
}
|
|
1875
|
+
/**
|
|
1876
|
+
* A keyed list of plain records. Records are stored as frozen copies, so a change's `before` and `after` can be
|
|
1877
|
+
* kept as history entries without copying.
|
|
1878
|
+
*/
|
|
1879
|
+
declare function createRecordStore<T extends RecordBase>(key: string, opts?: RecordStoreOptions<T>): RecordStore<T>;
|
|
1880
|
+
//#endregion
|
|
1827
1881
|
//#region src/model/annotations/store.d.ts
|
|
1828
1882
|
type AnnotationChange = {
|
|
1829
1883
|
kind: 'add';
|
|
@@ -1849,6 +1903,10 @@ type AnnotationChange = {
|
|
|
1849
1903
|
/** What was merged into each annotation, by id. */
|
|
1850
1904
|
fields: ReadonlyMap<string, EmbeddedFieldPatch>;
|
|
1851
1905
|
};
|
|
1906
|
+
/** The changes `edit` reports: one per `add`, `update` or `remove` call that changed something. */
|
|
1907
|
+
type AnnotationEdit = Extract<AnnotationChange, {
|
|
1908
|
+
kind: 'add' | 'update' | 'remove';
|
|
1909
|
+
}>;
|
|
1852
1910
|
type StoreMode = {
|
|
1853
1911
|
mode: 'uncontrolled';
|
|
1854
1912
|
initial?: Annotation$1[];
|
|
@@ -1910,6 +1968,12 @@ interface AnnotationStore {
|
|
|
1910
1968
|
_getProposed(id: string): Annotation$1 | undefined;
|
|
1911
1969
|
completeInput(input: AnnotationInput): Annotation$1;
|
|
1912
1970
|
on(event: 'change', fn: (change: AnnotationChange) => void): () => void;
|
|
1971
|
+
/**
|
|
1972
|
+
* Fires synchronously for every `add`, `update` and `remove` that changes something, in both
|
|
1973
|
+
* modes, before the list is set (uncontrolled) or `onChange` is called (controlled). Never
|
|
1974
|
+
* for `replace`.
|
|
1975
|
+
*/
|
|
1976
|
+
on(event: 'edit', fn: (change: AnnotationEdit) => void): () => void;
|
|
1913
1977
|
destroy(): void;
|
|
1914
1978
|
}
|
|
1915
1979
|
interface StoreOptions {
|
|
@@ -1922,7 +1986,23 @@ declare function deriveRect(input: AnnotationInput): Rect$1;
|
|
|
1922
1986
|
declare function createAnnotationStore(opts: StoreOptions): AnnotationStore;
|
|
1923
1987
|
//#endregion
|
|
1924
1988
|
//#region src/model/annotations/history.d.ts
|
|
1925
|
-
|
|
1989
|
+
/** The part of a history plugins use: one undo step across annotations and record stores. */
|
|
1990
|
+
interface PluginHistory {
|
|
1991
|
+
batch(fn: () => void): void;
|
|
1992
|
+
/**
|
|
1993
|
+
* Makes the store's changes undo steps: on their own, or joining the open batch or edit. The
|
|
1994
|
+
* returned function stops tracking; existing entries keep their snapshot of the store but undo
|
|
1995
|
+
* and redo no longer replay it.
|
|
1996
|
+
*/
|
|
1997
|
+
track(store: RecordStore<RecordBase>): () => void;
|
|
1998
|
+
/**
|
|
1999
|
+
* Runs `fn` synchronously for every user `add`, `update` and `remove` of an annotation, inside
|
|
2000
|
+
* that edit's undo entry, so whatever `fn` changes undoes with the edit. Never runs for
|
|
2001
|
+
* `replace`, so never for undo and redo. Returns a function that removes `fn`.
|
|
2002
|
+
*/
|
|
2003
|
+
react(fn: (edit: AnnotationEdit) => void): () => void;
|
|
2004
|
+
}
|
|
2005
|
+
interface History extends PluginHistory {
|
|
1926
2006
|
readonly canUndo: Readable<boolean>;
|
|
1927
2007
|
readonly canRedo: Readable<boolean>;
|
|
1928
2008
|
undo(): void;
|
|
@@ -1993,7 +2073,7 @@ declare function exportAnnotations(store: AnnotationStore, preserved?: readonly
|
|
|
1993
2073
|
declare function importAnnotations(store: AnnotationStore, data: AnnotationDocument | string, opts: ImportOptions): ImportResult;
|
|
1994
2074
|
//#endregion
|
|
1995
2075
|
//#region src/model/errors.d.ts
|
|
1996
|
-
type InkErrorCode = 'PasswordRequired' | 'InvalidPdf' | 'SourceFetchFailed' | 'AssetConfigMissing' | 'AssetLoadFailed' | 'EngineUnavailable' | 'ControlledMutationIgnored' | 'DocumentDestroyed' | 'PageOutOfRange';
|
|
2076
|
+
type InkErrorCode = 'PasswordRequired' | 'InvalidPdf' | 'SourceFetchFailed' | 'AssetConfigMissing' | 'AssetLoadFailed' | 'EngineUnavailable' | 'ControlledMutationIgnored' | 'DocumentDestroyed' | 'PageOutOfRange' | 'DuplicateId' | 'DuplicatePlugin' | 'InvalidPluginId' | 'InvalidCommandLabel' | 'UnknownCommand';
|
|
1997
2077
|
declare class InkError extends Error {
|
|
1998
2078
|
readonly name = "InkError";
|
|
1999
2079
|
readonly code: InkErrorCode;
|
|
@@ -2002,15 +2082,6 @@ declare class InkError extends Error {
|
|
|
2002
2082
|
}
|
|
2003
2083
|
declare function isInkError(value: unknown): value is InkError;
|
|
2004
2084
|
//#endregion
|
|
2005
|
-
//#region src/model/source.d.ts
|
|
2006
|
-
type DocumentSource = ArrayBuffer | Uint8Array | Blob | string | {
|
|
2007
|
-
url: string;
|
|
2008
|
-
key: string;
|
|
2009
|
-
} | {
|
|
2010
|
-
data: ArrayBuffer | Uint8Array;
|
|
2011
|
-
key: string;
|
|
2012
|
-
};
|
|
2013
|
-
//#endregion
|
|
2014
2085
|
//#region src/model/text.d.ts
|
|
2015
2086
|
interface TextItem {
|
|
2016
2087
|
str: string;
|
|
@@ -2022,12 +2093,69 @@ interface TextItem {
|
|
|
2022
2093
|
quad: Quad;
|
|
2023
2094
|
/** Axis-aligned bounds of `quad`. */
|
|
2024
2095
|
rect: Rect$1;
|
|
2096
|
+
/**
|
|
2097
|
+
* How far along the run each character boundary lies, as a fraction of its width: `str.length + 1`
|
|
2098
|
+
* entries, from 0 to 1 or a little past it. Taken from where the page draws each glyph when the
|
|
2099
|
+
* glyphs can be matched to the run, else measured in the run's fallback font. Absent when neither
|
|
2100
|
+
* works, in which case every character takes an equal share.
|
|
2101
|
+
*/
|
|
2102
|
+
advances?: readonly number[];
|
|
2103
|
+
/**
|
|
2104
|
+
* Where each character's glyph ends, as a fraction of the run's width: `str.length` entries, set
|
|
2105
|
+
* with `advances` when they come from the page's glyphs. Kerning can pull the next character
|
|
2106
|
+
* back over the end of a glyph, so a glyph may end past the next boundary.
|
|
2107
|
+
*/
|
|
2108
|
+
glyphEnds?: readonly number[];
|
|
2025
2109
|
}
|
|
2026
2110
|
interface TextContent {
|
|
2027
2111
|
page: number;
|
|
2028
2112
|
items: TextItem[];
|
|
2029
2113
|
}
|
|
2030
2114
|
//#endregion
|
|
2115
|
+
//#region src/model/search.d.ts
|
|
2116
|
+
interface SearchOptions {
|
|
2117
|
+
/** Defaults to false. Ignored for a `RegExp`, whose own `i` flag rules. */
|
|
2118
|
+
matchCase?: boolean;
|
|
2119
|
+
/** Requires a hit to have no letter, digit or underscore next to it. */
|
|
2120
|
+
wholeWord?: boolean;
|
|
2121
|
+
/** Page indices to search, in the order given. Defaults to every page in order. */
|
|
2122
|
+
pages?: readonly number[];
|
|
2123
|
+
signal?: AbortSignal;
|
|
2124
|
+
}
|
|
2125
|
+
interface SearchHit {
|
|
2126
|
+
page: number;
|
|
2127
|
+
/** Offsets into `pageText(page)`. */
|
|
2128
|
+
start: number;
|
|
2129
|
+
end: number;
|
|
2130
|
+
/** The page text the hit covers. */
|
|
2131
|
+
text: string;
|
|
2132
|
+
/** One quad per run of text the hit touches. */
|
|
2133
|
+
quads: Quad[];
|
|
2134
|
+
rect: Rect$1;
|
|
2135
|
+
/**
|
|
2136
|
+
* True when every quad is cut where the page draws its glyphs. False when some text could not
|
|
2137
|
+
* be matched to the page's glyphs (right-to-left or vertical text, or an unusual file) and its
|
|
2138
|
+
* quad is cut at estimated widths, which can fall short of the glyphs; pad those before
|
|
2139
|
+
* covering text with them.
|
|
2140
|
+
*/
|
|
2141
|
+
exact: boolean;
|
|
2142
|
+
/** Up to `CONTEXT_CHARS` of page text either side of the hit, whitespace collapsed. */
|
|
2143
|
+
before: string;
|
|
2144
|
+
after: string;
|
|
2145
|
+
}
|
|
2146
|
+
interface SearchResults extends AsyncIterable<SearchHit> {
|
|
2147
|
+
all(): Promise<SearchHit[]>;
|
|
2148
|
+
}
|
|
2149
|
+
//#endregion
|
|
2150
|
+
//#region src/model/source.d.ts
|
|
2151
|
+
type DocumentSource = ArrayBuffer | Uint8Array | Blob | string | {
|
|
2152
|
+
url: string;
|
|
2153
|
+
key: string;
|
|
2154
|
+
} | {
|
|
2155
|
+
data: ArrayBuffer | Uint8Array;
|
|
2156
|
+
key: string;
|
|
2157
|
+
};
|
|
2158
|
+
//#endregion
|
|
2031
2159
|
//#region src/model/document.d.ts
|
|
2032
2160
|
type DocumentStatus = {
|
|
2033
2161
|
state: 'loading';
|
|
@@ -2077,6 +2205,13 @@ interface InkDocument {
|
|
|
2077
2205
|
readonly pages: readonly PageInfo[];
|
|
2078
2206
|
readonly info: DocumentInfo;
|
|
2079
2207
|
text(page: number): Promise<TextContent>;
|
|
2208
|
+
/** The page's text as search sees it: items joined the way the page reads. */
|
|
2209
|
+
pageText(page: number): Promise<string>;
|
|
2210
|
+
/**
|
|
2211
|
+
* Finds `query` in the document's text, a page at a time. A string matches ignoring case,
|
|
2212
|
+
* accents and quote style; a `RegExp` runs on the same normalised text.
|
|
2213
|
+
*/
|
|
2214
|
+
search(query: string | RegExp, opts?: SearchOptions): SearchResults;
|
|
2080
2215
|
/**
|
|
2081
2216
|
* Annotations embedded in the file arrive here as `source: 'pdf'`, `locked: true` before
|
|
2082
2217
|
* `ready` resolves. They stay in `list` in both modes and cannot be removed; in controlled
|
|
@@ -2280,5 +2415,5 @@ interface SignatureLibrary {
|
|
|
2280
2415
|
}
|
|
2281
2416
|
declare function createSignatureLibrary(store: SignatureStore): SignatureLibrary;
|
|
2282
2417
|
//#endregion
|
|
2283
|
-
export {
|
|
2284
|
-
//# sourceMappingURL=signatures-
|
|
2418
|
+
export { RecordChange as $, PolySchema as $t, SearchHit as A, quadFromRect as An, FreeTextSchema as At, exportAnnotations as B, unionRects as Bn, LineAnnotation as Bt, DocumentInfo as C, Quad as Cn, AnnotationSchema as Ct, OpenOptions as D, invertMatrix as Dn, ExportedAnnotationSchema as Dt, InkStatus as E, approxEqual as En, ExportedAnnotation as Et, InkError as F, rectFromQuad as Fn, GLOSS_SCHEMA_ID as Ft, AnnotationChange as G, LoupeSchema as Gt, History as H, LineEndingSchema as Ht, InkErrorCode as I, rectFromQuads as In, GLOSS_VERSION$1 as It, StoreMode as J, NoteAnnotation as Jt, AnnotationEdit as K, MaskAnnotation as Kt, isInkError as L, rectsIntersect as Ln, IMAGE_DATA_URL as Lt, SearchResults as M, quadsFromRect as Mn, FreeTextStyleSchema as Mt, TextContent as N, rectContainsPoint as Nn, GLOSS_FORMAT$1 as Nt, openDocument as O, multiplyMatrix as On, ForeignAnnotation as Ot, TextItem as P, rectFromPoints as Pn, GLOSS_MEDIA_TYPE as Pt, RecordBase as Q, PolyAnnotation as Qt, ImportOptions as R, translateQuad as Rn, InkAnnotation as Rt, createToolStyle as S, Point$1 as Sn, AnnotationPatch as St, InkDocument as T, applyMatrix as Tn, CircleSchema as Tt, PluginHistory as U, LineSchema as Ut, importAnnotations as V, LineEnding$1 as Vt, createHistory as W, LoupeAnnotation as Wt, createAnnotationStore as X, NoteSchema as Xt, StoreOptions as Y, NoteIconSchema as Yt, deriveRect as Z, PointSchema as Zt, StyleGroup as _, writable as _n, Annotation$1 as _t, SignatureStore as a, RedactSchema as an, EmbeddedTarget as at, ToolStyle as b, PdfAssets as bn, AnnotationInput as bt, createInkTemplate as c, SquareSchema as cn, importedId as ct, createSignatureLibrary as d, TextMarkupAnnotation as dn, Fringe$1 as dt, PolygonSchema as en, RecordStore as et, normaliseInk as f, TextMarkupSchema as fn, FringeSchema as ft, ScopedToolStyle as g, readonly as gn, staticDefaults as gt, STYLE_GROUPS as h, derived as hn, normalizeColor as ht, SignatureOptions as i, RedactAnnotation as in, EmbeddedSummary as it, SearchOptions as j, quadsFromFlat as jn, FreeTextStyle$1 as jt, DocumentSource as k, pointsFromFlat as kn, FreeTextAnnotation as kt, createLocalSignatureStore as l, StampAnnotation as ln, pdfColorToHex as lt, CurrentStyle as m, Writable as mn, cssVariableDefaults as mt, SIGNATURE_INK_WIDTH as n, QuadSchema as nn, createRecordStore as nt, SignatureTemplate as o, ShapeAnnotation as on, SUPPORTED_SUBTYPES as ot, placeSignature as p, Readable as pn, AnnotationDefaults as pt, AnnotationStore as q, MaskSchema as qt, SignatureLibrary as r, RectSchema as rn, EmbeddedFieldPatch as rt, createImageTemplate as s, ShapeSchema as sn, importEmbeddedPage as st, DEFAULT_SIGNATURE_WIDTH as t, PolylineSchema as tn, RecordStoreOptions as tt, createMemorySignatureStore as u, StampSchema as un, summarise as ut, StyleKey as v, PageInfo as vn, AnnotationDocument as vt, DocumentStatus as w, Rect$1 as wn, AnnotationType as wt, ToolStyleDeps as x, Matrix as xn, AnnotationOfType as xt, StyleProps as y, PageRotation as yn, AnnotationDocumentSchema as yt, ImportResult as z, translateRect as zn, InkSchema as zt };
|
|
2419
|
+
//# sourceMappingURL=signatures-CalOktkf.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signatures-CalOktkf.d.mts","names":["Point","Rect","Rect","Annotation","FreeTextStyle","LineEnding","GlossAnnotation","Fringe","Point","Fringe","Annotation","Annotation","Rect","Rect","Rect","LineEnding","Point"],"sources":["../src/model/geometry.ts","../src/pdfjs/types.ts","../src/model/pages.ts","../src/model/readable.ts","../src/model/annotations/types.ts","../src/model/annotations/defaults.ts","../src/model/annotations/callout.ts","../src/model/annotations/embedded.ts","../src/model/records.ts","../src/model/annotations/store.ts","../src/model/annotations/history.ts","../src/model/annotations/json.ts","../src/model/errors.ts","../src/model/text.ts","../src/model/search.ts","../src/model/source.ts","../src/model/document.ts","../src/model/annotations/tool-style.ts","../src/model/signatures.ts"],"mappings":";;;;;;;;UAIiBA;EACf;EACA;;;UAIeC;EACf;EACA;EACA;EACA;;;UAIe;EACf,IAAID;EACJ,IAAIA;EACJ,IAAIA;EACJ,IAAIA;;;KAIM;iBAEI,YAAY,WAAW,WAAW;iBAIlC,eAAe,GAAGA,SAAO,GAAGA,UAAQC;iBAMpC,aAA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