@inkbar/core 0.9.0 → 0.10.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 +110 -1
- package/dist/dom.d.mts +455 -5
- package/dist/dom.d.mts.map +1 -1
- package/dist/dom.mjs +3882 -1659
- package/dist/dom.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{sign-FuwcsNkA.d.mts → sign-BTbtPHbM.d.mts} +50 -6
- package/dist/sign-BTbtPHbM.d.mts.map +1 -0
- package/dist/{sign-DIhqyOV6.mjs → sign-DZVDJhqT.mjs} +57 -5
- package/dist/sign-DZVDJhqT.mjs.map +1 -0
- package/package.json +3 -3
- package/dist/sign-DIhqyOV6.mjs.map +0 -1
- package/dist/sign-FuwcsNkA.d.mts.map +0 -1
package/dist/dom.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as DocumentSource, Bn as
|
|
1
|
+
import { A as DocumentSource, Bn as Matrix, Cn as FormAction, D as InkStatus, E as InkDocument, Gt as LineEnding, Hn as Quad, L as FormController, Ln as PageInfo, Mn as Readable, Nt as FreeTextAnnotation, O as OpenOptions, Ot as AnnotationType, P as isBlankQuery, Qt as NoteAnnotation, Sn as FieldsMode, Un as Rect, Vn as Point, X as AnnotationEdit, Z as AnnotationStore, _ as ScopedToolStyle, _t as AnnotationDefaults, a as SignatureOptions, b as StyleProps, h as CurrentStyle, hn as TextMarkupAnnotation, i as SignatureLibrary, it as RecordStore, j as SearchHit, nt as RecordBase, o as SignatureStore, q as PluginHistory, rt as RecordChange, s as SignatureTemplate, t as signField, v as StyleGroup, vt as cssVariableDefaults, wt as AnnotationInput, x as ToolStyle, xt as Annotation, y as StyleKey, z as InkError, zn as PdfAssets } from "./sign-BTbtPHbM.mjs";
|
|
2
2
|
import { IconNode } from "@inkbar/icons";
|
|
3
3
|
//#region src/dom/transform.d.ts
|
|
4
4
|
type ViewRotation = 0 | 90 | 180 | 270;
|
|
@@ -162,6 +162,27 @@ interface ViewportKeysOptions {
|
|
|
162
162
|
*/
|
|
163
163
|
export declare function attachViewportKeys(el: HTMLElement, opts: ViewportKeysOptions): () => void;
|
|
164
164
|
//#endregion
|
|
165
|
+
//#region src/dom/file-actions.d.ts
|
|
166
|
+
interface DownloadOptions {
|
|
167
|
+
/** The name to save under. Default: the document's `fileName`. */
|
|
168
|
+
filename?: string;
|
|
169
|
+
}
|
|
170
|
+
/** Saves the document's file through the browser's download. */
|
|
171
|
+
export declare function downloadDocument(doc: InkDocument, opts?: DownloadOptions): Promise<void>;
|
|
172
|
+
/**
|
|
173
|
+
* Prints the document's file: it loads into a hidden frame and the browser's own PDF viewer
|
|
174
|
+
* prints it, so text stays sharp. Where a frame cannot print (iOS), the PDF opens in a new tab.
|
|
175
|
+
* Resolves once the print dialog has been asked for.
|
|
176
|
+
*/
|
|
177
|
+
export declare function printDocument(doc: InkDocument): Promise<void>;
|
|
178
|
+
/**
|
|
179
|
+
* Ctrl or Cmd+P prints and Ctrl or Cmd+S downloads, for keys pressed anywhere inside `el`,
|
|
180
|
+
* while `doc()` gives a ready document. Then the key is taken from the browser, which would
|
|
181
|
+
* print or save the web page; otherwise it is left alone. Returns a function that removes the
|
|
182
|
+
* listener.
|
|
183
|
+
*/
|
|
184
|
+
export declare function attachFileKeys(el: HTMLElement, doc: () => InkDocument | null | undefined): () => void;
|
|
185
|
+
//#endregion
|
|
165
186
|
//#region src/dom/history-keys.d.ts
|
|
166
187
|
/** A flag as a plain value, or as a readable such as core's `History.canUndo`. */
|
|
167
188
|
type Flag = boolean | {
|
|
@@ -385,6 +406,8 @@ interface AnnotationLink<T extends RecordBase> {
|
|
|
385
406
|
//#endregion
|
|
386
407
|
//#region src/dom/plugins/api/records.d.ts
|
|
387
408
|
interface Records<T extends RecordBase> {
|
|
409
|
+
/** The store's key, `<plugin>.<name>`. */
|
|
410
|
+
readonly key: string;
|
|
388
411
|
/** The open document's records; `[]` while none is open. Emits when the document changes. */
|
|
389
412
|
readonly list: Readable<readonly T[]>;
|
|
390
413
|
all(): readonly T[];
|
|
@@ -432,6 +455,12 @@ interface CardSpec {
|
|
|
432
455
|
swatch?: string;
|
|
433
456
|
/** Text under the meta line (`.ink-card-body`). */
|
|
434
457
|
body?: string;
|
|
458
|
+
/** A line of context with the match marked, after `body` (`.ink-card-excerpt`). */
|
|
459
|
+
excerpt?: {
|
|
460
|
+
before: string;
|
|
461
|
+
match: string;
|
|
462
|
+
after: string;
|
|
463
|
+
};
|
|
435
464
|
/**
|
|
436
465
|
* One button per key, in order (`.ink-card-actions`). The first takes focus on open and is
|
|
437
466
|
* styled as the primary action. Each action runs synchronously in one undo step: writes after
|
|
@@ -463,9 +492,9 @@ interface MarksOptions<T extends RecordBase & {
|
|
|
463
492
|
/** Classes every mark gets. */
|
|
464
493
|
className?: string;
|
|
465
494
|
/**
|
|
466
|
-
* More attributes (`data-*`, `aria-*`). `data-record`, `data-plugin
|
|
467
|
-
* core's, and so do `aria-haspopup` and `aria-expanded` on a mark with a
|
|
468
|
-
* `class` and `type` are skipped (use `style` and `className`).
|
|
495
|
+
* More attributes (`data-*`, `aria-*`). `data-record`, `data-plugin`, `data-selected` and
|
|
496
|
+
* `aria-label` stay core's, and so do `aria-haspopup` and `aria-expanded` on a mark with a
|
|
497
|
+
* card; `style`, `class` and `type` are skipped (use `style` and `className`).
|
|
469
498
|
*/
|
|
470
499
|
attrs?(record: T): Record<string, string>;
|
|
471
500
|
/**
|
|
@@ -541,6 +570,8 @@ interface ViewerSearch {
|
|
|
541
570
|
setMatchCase(on: boolean): void;
|
|
542
571
|
next(): void;
|
|
543
572
|
previous(): void;
|
|
573
|
+
/** Makes hit `index` current and scrolls to it as `next()` does. Out of range or non-integer does nothing. */
|
|
574
|
+
select(index: number): void;
|
|
544
575
|
/** Hides the bar and clears the hits; the query and match case are kept. */
|
|
545
576
|
close(): void;
|
|
546
577
|
}
|
|
@@ -876,6 +907,47 @@ interface PluginLayers {
|
|
|
876
907
|
*/
|
|
877
908
|
export declare function createPluginLayers(source: LayerSource): PluginLayers;
|
|
878
909
|
//#endregion
|
|
910
|
+
//#region src/dom/plugins/registry.d.ts
|
|
911
|
+
/** What one `plugin.marks` call drew its records with. */
|
|
912
|
+
interface MarksRegistration<T extends RecordBase & {
|
|
913
|
+
page: number;
|
|
914
|
+
} = any> {
|
|
915
|
+
/** The id of the plugin that called `marks`. */
|
|
916
|
+
plugin: string;
|
|
917
|
+
/** Whether `record` gets a mark from this call. */
|
|
918
|
+
where(record: T): boolean;
|
|
919
|
+
label(record: T): string;
|
|
920
|
+
rect(record: T): Rect;
|
|
921
|
+
card?(record: T): CardSpec;
|
|
922
|
+
className?: string;
|
|
923
|
+
style?: MarksOptions<T>['style'];
|
|
924
|
+
/** The plugin's `history.batch`: everything `fn` changes is one undo step. */
|
|
925
|
+
batch(fn: () => void): void;
|
|
926
|
+
}
|
|
927
|
+
interface MarksRegistry {
|
|
928
|
+
/** Registers `reg` under `key`; returns a function that removes it. */
|
|
929
|
+
add(key: string, reg: MarksRegistration): () => void;
|
|
930
|
+
/** Registrations for `key`, in call order. */
|
|
931
|
+
of(key: string): readonly MarksRegistration[];
|
|
932
|
+
/** The first registration whose `where` passes, or undefined. */
|
|
933
|
+
resolve<T extends RecordBase & {
|
|
934
|
+
page: number;
|
|
935
|
+
}>(key: string, record: T): MarksRegistration<T> | undefined;
|
|
936
|
+
/** Keys that have registrations. */
|
|
937
|
+
keys(): readonly string[];
|
|
938
|
+
/** Calls `listener` after every add and remove; returns a stop function. */
|
|
939
|
+
watch(listener: () => void): () => void;
|
|
940
|
+
}
|
|
941
|
+
interface RecordSelection {
|
|
942
|
+
/** The selected record's id, or null. */
|
|
943
|
+
readonly selected: Readable<string | null>;
|
|
944
|
+
/**
|
|
945
|
+
* Selects the record with `id`, or clears with null. An id the open document's store lacks,
|
|
946
|
+
* or whose record resolves to no registration, changes nothing.
|
|
947
|
+
*/
|
|
948
|
+
select(id: string | null): void;
|
|
949
|
+
}
|
|
950
|
+
//#endregion
|
|
879
951
|
//#region src/dom/plugins/host.d.ts
|
|
880
952
|
interface PluginHostOptions {
|
|
881
953
|
plugins: readonly InkPlugin[];
|
|
@@ -892,7 +964,31 @@ interface PluginHostOptions {
|
|
|
892
964
|
/** The viewer's search; without one, `ctx.search` is inert. */
|
|
893
965
|
search?: ViewerSearch;
|
|
894
966
|
}
|
|
967
|
+
/**
|
|
968
|
+
* A plugin's records as the host app sees them: the plugin's own handle without `annotates`
|
|
969
|
+
* (a plugin links its records to marks in `setup`), plus `batch` to make several writes one
|
|
970
|
+
* undo step. `in(doc)` gives a host handle too.
|
|
971
|
+
*/
|
|
972
|
+
type HostRecords<T extends RecordBase> = Omit<Records<T>, 'annotates' | 'in'> & {
|
|
973
|
+
/** The same handle bound to `doc`'s store, as `Records.in` binds it. */
|
|
974
|
+
in(doc: InkDocument): HostRecords<T>;
|
|
975
|
+
/** Makes everything `fn` changes one undo step. */
|
|
976
|
+
batch(fn: () => void): void;
|
|
977
|
+
};
|
|
895
978
|
interface PluginHost extends LayerSource {
|
|
979
|
+
/**
|
|
980
|
+
* The records a plugin keeps under `key` (`<plugin>.<name>`), following the open document.
|
|
981
|
+
* The same handle on each call. An unknown key gives an empty handle that ignores writes, and
|
|
982
|
+
* logs a warning once.
|
|
983
|
+
*/
|
|
984
|
+
records<T extends RecordBase>(key: string): HostRecords<T>;
|
|
985
|
+
/** What each `plugin.marks` call drew, by records key. */
|
|
986
|
+
readonly marks: MarksRegistry;
|
|
987
|
+
/**
|
|
988
|
+
* The selected record under `key`, shared by the marks, every list and the host app. The
|
|
989
|
+
* same object on each call.
|
|
990
|
+
*/
|
|
991
|
+
selection(key: string): RecordSelection;
|
|
896
992
|
readonly commands: ReadonlyMap<string, Command>;
|
|
897
993
|
command(id: string): Command | undefined;
|
|
898
994
|
readonly tools: readonly Tool[];
|
|
@@ -1850,6 +1946,11 @@ interface Viewer {
|
|
|
1850
1946
|
* `open()` runs the search and draws the highlights even when no find bar is mounted.
|
|
1851
1947
|
*/
|
|
1852
1948
|
readonly search: ViewerSearch;
|
|
1949
|
+
/**
|
|
1950
|
+
* The records a plugin keeps under `key` (`<plugin>.<name>`), following the open document;
|
|
1951
|
+
* the same handle on each call. An unknown key gives an empty handle and logs a warning once.
|
|
1952
|
+
*/
|
|
1953
|
+
records<T extends RecordBase>(key: string): HostRecords<T>;
|
|
1853
1954
|
/**
|
|
1854
1955
|
* Opens another document in place; the previous one is destroyed. Latest call wins.
|
|
1855
1956
|
* `password` is used for this load only; without it, the constructor's `password` applies.
|
|
@@ -1857,6 +1958,18 @@ interface Viewer {
|
|
|
1857
1958
|
open(source: DocumentSource, opts?: {
|
|
1858
1959
|
password?: string;
|
|
1859
1960
|
}): void;
|
|
1961
|
+
/**
|
|
1962
|
+
* Saves the open document's file through the browser's download, under its `fileName` or
|
|
1963
|
+
* `opts.filename`. Today that is the file as it was opened, without this session's
|
|
1964
|
+
* annotations. Does nothing while no document is open.
|
|
1965
|
+
*/
|
|
1966
|
+
download(opts?: DownloadOptions): Promise<void>;
|
|
1967
|
+
/**
|
|
1968
|
+
* Prints the open document's file with the browser's own PDF viewer; on iOS the PDF opens
|
|
1969
|
+
* in a new tab instead. As with `download`, today that is the file as it was opened. Does
|
|
1970
|
+
* nothing while no document is open.
|
|
1971
|
+
*/
|
|
1972
|
+
print(): Promise<void>;
|
|
1860
1973
|
destroy(): void;
|
|
1861
1974
|
}
|
|
1862
1975
|
export declare function createViewer(el: HTMLElement, opts: CreateViewerOptions): Viewer;
|
|
@@ -1885,6 +1998,14 @@ export declare function pageSelectionText(root: HTMLElement): string;
|
|
|
1885
1998
|
* @internal Shared with the framework bindings.
|
|
1886
1999
|
*/
|
|
1887
2000
|
export declare function handleFindKey(e: KeyboardEvent, controller: SearchController, selection: () => string): boolean;
|
|
2001
|
+
/**
|
|
2002
|
+
* Enter in a search field other than the find bar's (the search results' own): steps to the
|
|
2003
|
+
* next match, Shift+Enter to the previous, as in the find bar. Returns whether it handled the
|
|
2004
|
+
* key; when it did, the default is prevented.
|
|
2005
|
+
*
|
|
2006
|
+
* @internal Shared with the framework bindings.
|
|
2007
|
+
*/
|
|
2008
|
+
export declare function handleResultsFieldKey(e: KeyboardEvent, search: Pick<ViewerSearch, 'next' | 'previous'>): boolean;
|
|
1888
2009
|
//#endregion
|
|
1889
2010
|
//#region src/dom/search/find-text.d.ts
|
|
1890
2011
|
/**
|
|
@@ -1905,6 +2026,325 @@ export declare function findCountText(s: SearchState): string;
|
|
|
1905
2026
|
*/
|
|
1906
2027
|
export declare function findAnnouncer(): (s: SearchState) => string;
|
|
1907
2028
|
//#endregion
|
|
2029
|
+
//#region src/dom/records/source.d.ts
|
|
2030
|
+
/** One thing a list shows: an id unique in the list, its 0-based page, and where on it. */
|
|
2031
|
+
interface ListItem {
|
|
2032
|
+
id: string;
|
|
2033
|
+
page: number;
|
|
2034
|
+
/** In user space. */
|
|
2035
|
+
rect?: Rect;
|
|
2036
|
+
}
|
|
2037
|
+
interface RecordListSource<I extends ListItem = ListItem> {
|
|
2038
|
+
/** What is listed, filtered and in order. */
|
|
2039
|
+
readonly items: Readable<readonly I[]>;
|
|
2040
|
+
/** The card `item` shows, or null for none. */
|
|
2041
|
+
card(item: I): CardSpec | null;
|
|
2042
|
+
/** The selected item's id, or null. */
|
|
2043
|
+
readonly selected: Readable<string | null>;
|
|
2044
|
+
select(id: string | null): void;
|
|
2045
|
+
/** Scrolls the viewport to the item; for records, to its mark's rect. */
|
|
2046
|
+
reveal(item: I): void;
|
|
2047
|
+
/** Runs an action as one undo step. */
|
|
2048
|
+
run(item: I, fn: () => void): void;
|
|
2049
|
+
/**
|
|
2050
|
+
* Whether the change to `items` being emitted came from undo or redo, or from another
|
|
2051
|
+
* document opening: a change nobody made from the list, which the list does not announce.
|
|
2052
|
+
*/
|
|
2053
|
+
readonly replaying: () => boolean;
|
|
2054
|
+
/**
|
|
2055
|
+
* Polite text to announce, in place of the list's own "N items". A source whose items change
|
|
2056
|
+
* as a scan runs announces once it settles.
|
|
2057
|
+
*/
|
|
2058
|
+
readonly announcement?: Readable<string>;
|
|
2059
|
+
}
|
|
2060
|
+
interface RecordsSourceOptions<T> {
|
|
2061
|
+
/** The card each record shows. Default: its mark's card, else its mark's label (or id) and no actions. */
|
|
2062
|
+
card?(record: T): CardSpec;
|
|
2063
|
+
/** Which records to list. Default: those that have a mark, or every record when no `marks` call covers them. */
|
|
2064
|
+
where?(record: T): boolean;
|
|
2065
|
+
/** The order. Default: page, then top to bottom and left to right by the mark's rect. */
|
|
2066
|
+
sort?(a: T, b: T): number;
|
|
2067
|
+
}
|
|
2068
|
+
interface RecordsSourceDeps {
|
|
2069
|
+
pluginHost: PluginHost;
|
|
2070
|
+
/** The viewport `reveal` scrolls; null while none is mounted. */
|
|
2071
|
+
viewport: Readable<Viewport | null>;
|
|
2072
|
+
}
|
|
2073
|
+
/**
|
|
2074
|
+
* The records a plugin keeps under `key` (`<plugin>.<name>`), as its marks show them: each
|
|
2075
|
+
* record takes its card, label and rect from the first `marks` registration whose `where` it
|
|
2076
|
+
* passes, and its actions run in that plugin's undo step. Follows the open document. The
|
|
2077
|
+
* selection is the host's for `key`, shared with the marks and every other list.
|
|
2078
|
+
*/
|
|
2079
|
+
export declare function recordsSource<T extends RecordBase & {
|
|
2080
|
+
page: number;
|
|
2081
|
+
}>(deps: RecordsSourceDeps, key: string, opts?: RecordsSourceOptions<T>): RecordListSource<T>;
|
|
2082
|
+
export declare function searchSource(search: ViewerSearch): RecordListSource;
|
|
2083
|
+
//#endregion
|
|
2084
|
+
//#region src/dom/records/list.d.ts
|
|
2085
|
+
interface RecordListRow {
|
|
2086
|
+
item: ListItem;
|
|
2087
|
+
card: CardSpec | null;
|
|
2088
|
+
selected: boolean;
|
|
2089
|
+
}
|
|
2090
|
+
interface RecordListController {
|
|
2091
|
+
/** One per listed item, in order. */
|
|
2092
|
+
readonly rows: Readable<readonly RecordListRow[]>;
|
|
2093
|
+
readonly count: Readable<number>;
|
|
2094
|
+
/** Polite live-region text: "3 items" when a change made from the app adds or removes rows. */
|
|
2095
|
+
readonly announcement: Readable<string>;
|
|
2096
|
+
/**
|
|
2097
|
+
* Binds the element holding the rows: each row is an element with `data-ink-record` set to
|
|
2098
|
+
* its item's id. Handles clicks, arrow keys, Home and End, Enter and Escape inside it, keeps
|
|
2099
|
+
* one row as the Tab stop (it sets the rows' `tabindex`: don't render one), and scrolls the
|
|
2100
|
+
* selected row into view. `el` is where focus goes when the last row goes; it gets
|
|
2101
|
+
* `tabindex="-1"` unless it has one. Attaching another element unbinds the previous one.
|
|
2102
|
+
* Returns the unbind.
|
|
2103
|
+
*/
|
|
2104
|
+
attach(el: HTMLElement): () => void;
|
|
2105
|
+
/** Selects the item and scrolls the viewport to it; focus stays where it is. */
|
|
2106
|
+
choose(id: string): void;
|
|
2107
|
+
/** Runs the card action named `action` of item `id` as one undo step. */
|
|
2108
|
+
act(id: string, action: string): void;
|
|
2109
|
+
destroy(): void;
|
|
2110
|
+
}
|
|
2111
|
+
export declare function createRecordListController(source: RecordListSource): RecordListController;
|
|
2112
|
+
/**
|
|
2113
|
+
* The records a plugin keeps under `records` (`<plugin>.<name>`) as a list of cards, the same
|
|
2114
|
+
* cards its marks open, with their actions. Selecting a card selects the record's mark and
|
|
2115
|
+
* scrolls the viewer to it; activating a mark selects its card. Give it a height (it fills its
|
|
2116
|
+
* parent's) and place it anywhere, a sidebar panel for instance. It stops when the viewer is
|
|
2117
|
+
* destroyed.
|
|
2118
|
+
*/
|
|
2119
|
+
export declare function createRecordList(viewer: Viewer, opts: {
|
|
2120
|
+
records: string;
|
|
2121
|
+
} & RecordsSourceOptions<any>): HTMLElement;
|
|
2122
|
+
//#endregion
|
|
2123
|
+
//#region src/dom/records/search-results.d.ts
|
|
2124
|
+
interface SearchResultsOptions {
|
|
2125
|
+
/** Show a query field above the results. Default true; turn it off when a find bar is on the page. */
|
|
2126
|
+
field?: boolean;
|
|
2127
|
+
}
|
|
2128
|
+
/**
|
|
2129
|
+
* One card per search hit: its page, its place on that page and the text around it. Choosing
|
|
2130
|
+
* a card makes its hit current, as the find bar's next and previous do, and the find bar's
|
|
2131
|
+
* current hit is the selected card. The count shows the scan's progress and "No results". It stops when the
|
|
2132
|
+
* viewer is destroyed.
|
|
2133
|
+
*/
|
|
2134
|
+
export declare function createSearchResults(viewer: Viewer, opts?: SearchResultsOptions): HTMLElement;
|
|
2135
|
+
//#endregion
|
|
2136
|
+
//#region src/dom/sidebar/controller.d.ts
|
|
2137
|
+
type SidebarLayout = 'rail' | 'tabs' | 'stack';
|
|
2138
|
+
type SidebarSide = 'left' | 'right';
|
|
2139
|
+
interface SidebarPanelInfo {
|
|
2140
|
+
id: string;
|
|
2141
|
+
label: string;
|
|
2142
|
+
icon?: IconNode;
|
|
2143
|
+
/** Hidden when empty or 0. */
|
|
2144
|
+
badge?: string | number;
|
|
2145
|
+
}
|
|
2146
|
+
/** rail/tabs: the open id or null; stack: the expanded ids. */
|
|
2147
|
+
type SidebarOpen = string | null | readonly string[];
|
|
2148
|
+
interface SidebarControllerOptions {
|
|
2149
|
+
/** Default `'rail'`. */
|
|
2150
|
+
layout?: SidebarLayout;
|
|
2151
|
+
/** Default `'left'`. */
|
|
2152
|
+
side?: SidebarSide;
|
|
2153
|
+
panels: readonly SidebarPanelInfo[];
|
|
2154
|
+
/** Controlled when given: `toggle` only reports through `onOpenChange`. */
|
|
2155
|
+
open?: SidebarOpen;
|
|
2156
|
+
onOpenChange?(open: SidebarOpen): void;
|
|
2157
|
+
/**
|
|
2158
|
+
* Default true. False hides the whole sidebar (the root gets `hidden`) and keeps its open
|
|
2159
|
+
* panels, their content and scroll, for when it shows again. Your code decides: a results
|
|
2160
|
+
* sidebar shown only while there are results, for instance.
|
|
2161
|
+
*/
|
|
2162
|
+
visible?: boolean;
|
|
2163
|
+
/**
|
|
2164
|
+
* True while a binding's panels are still registering, one by one, before it has mounted.
|
|
2165
|
+
* Meanwhile a controlled `open` id not in `panels` yet is kept rather than taken for a
|
|
2166
|
+
* removed panel, and `rootAttrs()` reports the open state expected once they are all in.
|
|
2167
|
+
* Set it back to false (through `update`) once the panels are in: an id still missing then
|
|
2168
|
+
* falls back as a removed one does.
|
|
2169
|
+
*/
|
|
2170
|
+
pending?: boolean;
|
|
2171
|
+
/**
|
|
2172
|
+
* Makes the ids `<idPrefix>-trigger-<id>` and `<idPrefix>-panel-<id>`, the same on the server
|
|
2173
|
+
* and the client. Without it they come from a counter.
|
|
2174
|
+
*/
|
|
2175
|
+
idPrefix?: string;
|
|
2176
|
+
}
|
|
2177
|
+
interface SidebarState {
|
|
2178
|
+
layout: SidebarLayout;
|
|
2179
|
+
side: SidebarSide;
|
|
2180
|
+
panels: readonly SidebarPanelInfo[];
|
|
2181
|
+
/** The open panels' ids, in panel order: at most one for rail and tabs. */
|
|
2182
|
+
open: readonly string[];
|
|
2183
|
+
visible: boolean;
|
|
2184
|
+
}
|
|
2185
|
+
interface SidebarController {
|
|
2186
|
+
readonly state: Readable<SidebarState>;
|
|
2187
|
+
/**
|
|
2188
|
+
* Takes new options. `open` given makes the sidebar controlled. When the panels no longer
|
|
2189
|
+
* hold an open one, rail and tabs open the first remaining and stack drops it; the new value
|
|
2190
|
+
* goes to `onOpenChange`, controlled or not.
|
|
2191
|
+
*/
|
|
2192
|
+
update(opts: Partial<SidebarControllerOptions>): void;
|
|
2193
|
+
/** What activating `id`'s trigger does: rail opens or closes, tabs switch, stack expands or collapses. */
|
|
2194
|
+
toggle(id: string): void;
|
|
2195
|
+
isOpen(id: string): boolean;
|
|
2196
|
+
/**
|
|
2197
|
+
* `data-ink-sidebar`, `data-layout`, `data-side` and `data-state` (`open` while any panel is,
|
|
2198
|
+
* and while pending and uncontrolled, as the first panel will open) for the root, and
|
|
2199
|
+
* `hidden` while it is not `visible`.
|
|
2200
|
+
*/
|
|
2201
|
+
rootAttrs(): Record<string, string>;
|
|
2202
|
+
/** ARIA for the element holding the triggers: a tablist for rail and tabs. */
|
|
2203
|
+
tablistAttrs(): Record<string, string>;
|
|
2204
|
+
/** ARIA for the rail button / tab / stack header of `id`. */
|
|
2205
|
+
triggerAttrs(id: string): Record<string, string>;
|
|
2206
|
+
/**
|
|
2207
|
+
* ARIA for `id`'s panel, including `hidden` when closed, and its sidebar's `data-layout`: the
|
|
2208
|
+
* theme shows the panel's title (`.ink-sidebar-panel-title`) in the rail only.
|
|
2209
|
+
*/
|
|
2210
|
+
panelAttrs(id: string): Record<string, string>;
|
|
2211
|
+
/**
|
|
2212
|
+
* Roving tabindex, arrow keys, Home and End, and clicks over `[data-ink-sidebar-trigger]`
|
|
2213
|
+
* inside `el`, looked up at event time so re-rendered triggers keep working. Returns the
|
|
2214
|
+
* function that unbinds.
|
|
2215
|
+
*/
|
|
2216
|
+
bindTriggers(el: HTMLElement): () => void;
|
|
2217
|
+
destroy(): void;
|
|
2218
|
+
}
|
|
2219
|
+
/** The text a badge shows, or null when it is hidden (empty or 0). */
|
|
2220
|
+
export declare function sidebarBadge(badge: string | number | undefined): string | null;
|
|
2221
|
+
export declare function createSidebarController(opts: SidebarControllerOptions): SidebarController;
|
|
2222
|
+
//#endregion
|
|
2223
|
+
//#region src/dom/sidebar/sidebar.d.ts
|
|
2224
|
+
/**
|
|
2225
|
+
* A sidebar of `opts.panels` in `opts.layout` (`'rail'` by default) on `opts.side`, showing
|
|
2226
|
+
* `opts.content[id]` in each panel. Returns the root element and its controller, which opens
|
|
2227
|
+
* panels from code (`toggle`, `update({ open })`) and takes new panels or a new layout.
|
|
2228
|
+
*/
|
|
2229
|
+
export declare function createSidebar(opts: SidebarControllerOptions & {
|
|
2230
|
+
content: Record<string, HTMLElement>;
|
|
2231
|
+
}): {
|
|
2232
|
+
element: HTMLElement;
|
|
2233
|
+
controller: SidebarController;
|
|
2234
|
+
};
|
|
2235
|
+
//#endregion
|
|
2236
|
+
//#region src/dom/thumbnails/thumbnail.d.ts
|
|
2237
|
+
/** Width in CSS pixels when neither `width` nor `height` is given; the theme's `--ink-thumbnail-width`. */
|
|
2238
|
+
export declare const THUMBNAIL_WIDTH = 120;
|
|
2239
|
+
interface ThumbnailDeps {
|
|
2240
|
+
document: Readable<InkDocument | null>;
|
|
2241
|
+
/** Where plugin marks come from. Without it, the thumbnail draws no marks. */
|
|
2242
|
+
pluginHost?: Readable<PluginHost | null>;
|
|
2243
|
+
}
|
|
2244
|
+
interface ThumbnailOptions {
|
|
2245
|
+
/** Zero-based page index. */
|
|
2246
|
+
page: number;
|
|
2247
|
+
/** Width in CSS pixels; the height follows the page's shape. Wins over `height`. */
|
|
2248
|
+
width?: number | undefined;
|
|
2249
|
+
/** Height in CSS pixels, used when `width` is absent; the width follows the page's shape. */
|
|
2250
|
+
height?: number | undefined;
|
|
2251
|
+
/** Draw the page's annotations. Default true. */
|
|
2252
|
+
annotations?: boolean | undefined;
|
|
2253
|
+
/** Draw plugin marks. Default true. */
|
|
2254
|
+
marks?: boolean | undefined;
|
|
2255
|
+
/** The accessible name. Default "Page N", N being `page + 1`. */
|
|
2256
|
+
label?: string | undefined;
|
|
2257
|
+
}
|
|
2258
|
+
interface ThumbnailPainter {
|
|
2259
|
+
/** Applies changed options; the others stay as they were. An option given as `undefined` goes back to its default. */
|
|
2260
|
+
update(opts: Partial<ThumbnailOptions>): void;
|
|
2261
|
+
/** Stops painting and removes everything the painter added to the element. */
|
|
2262
|
+
destroy(): void;
|
|
2263
|
+
}
|
|
2264
|
+
/** CSS size and zoom for `page` fitted to width or height (width wins when both), /Rotate applied. */
|
|
2265
|
+
export declare function thumbnailSize(page: PageInfo, size: {
|
|
2266
|
+
width?: number | undefined;
|
|
2267
|
+
height?: number | undefined;
|
|
2268
|
+
}): {
|
|
2269
|
+
width: number;
|
|
2270
|
+
height: number;
|
|
2271
|
+
zoom: number;
|
|
2272
|
+
};
|
|
2273
|
+
/**
|
|
2274
|
+
* Paints page `opts.page` of the open document into `el`. The element keeps its own children
|
|
2275
|
+
* and classes; the painter appends its layers after them.
|
|
2276
|
+
*/
|
|
2277
|
+
export declare function createThumbnailPainter(el: HTMLElement, deps: ThumbnailDeps, initial: ThumbnailOptions): ThumbnailPainter;
|
|
2278
|
+
/**
|
|
2279
|
+
* A thumbnail of page `opts.page` of `viewer`'s open document, with its annotations and plugin
|
|
2280
|
+
* marks. Place it anywhere; it stops when the viewer is destroyed.
|
|
2281
|
+
*/
|
|
2282
|
+
export declare function createThumbnail(viewer: Viewer, opts: ThumbnailOptions): HTMLElement;
|
|
2283
|
+
//#endregion
|
|
2284
|
+
//#region src/dom/thumbnails/list.d.ts
|
|
2285
|
+
interface ThumbnailsDeps extends ThumbnailDeps {
|
|
2286
|
+
/** The viewport whose current page the list follows; null while none is mounted. */
|
|
2287
|
+
viewport: Readable<Viewport | null>;
|
|
2288
|
+
}
|
|
2289
|
+
interface ThumbnailsOptions {
|
|
2290
|
+
/** Zero-based pages to list, in this order. Default: every page. Missing pages and repeats are dropped. */
|
|
2291
|
+
pages?: readonly number[] | undefined;
|
|
2292
|
+
/**
|
|
2293
|
+
* Thumbnail width in CSS pixels. Default: the list's width less a 16px gutter on each side,
|
|
2294
|
+
* following the list as it resizes (`THUMBNAIL_WIDTH` until the list is attached and shown).
|
|
2295
|
+
*/
|
|
2296
|
+
width?: number | undefined;
|
|
2297
|
+
/** Draw each page's annotations. Default true. */
|
|
2298
|
+
annotations?: boolean | undefined;
|
|
2299
|
+
/** Draw plugin marks. Default true. */
|
|
2300
|
+
marks?: boolean | undefined;
|
|
2301
|
+
}
|
|
2302
|
+
interface ThumbnailsState {
|
|
2303
|
+
/** What is listed: zero-based pages, in list order. */
|
|
2304
|
+
pages: readonly number[];
|
|
2305
|
+
/** The viewport's current page, -1 with no viewport. */
|
|
2306
|
+
current: number;
|
|
2307
|
+
/** Indexes into `pages` to mount, `end` exclusive. Empty until `attach`. */
|
|
2308
|
+
window: {
|
|
2309
|
+
start: number;
|
|
2310
|
+
end: number;
|
|
2311
|
+
};
|
|
2312
|
+
/** Top of each item in CSS px from the top of the list; the last entry is the total height. */
|
|
2313
|
+
offsets: readonly number[];
|
|
2314
|
+
/** The width each thumbnail is drawn at, in CSS px: `width`, else the measured fit. */
|
|
2315
|
+
width: number;
|
|
2316
|
+
}
|
|
2317
|
+
interface ThumbnailsController {
|
|
2318
|
+
readonly state: Readable<ThumbnailsState>;
|
|
2319
|
+
/** Applies changed options; the others stay as they were. */
|
|
2320
|
+
update(opts: Partial<ThumbnailsOptions>): void;
|
|
2321
|
+
/**
|
|
2322
|
+
* Binds the list's scroll element: the element that scrolls, with item `i` positioned at
|
|
2323
|
+
* `offsets[i]` from the top of its content. Follows its scrolling and size to move the
|
|
2324
|
+
* window, and handles clicks, keys and the Tab stop over `[data-ink-thumbnail-item]` buttons
|
|
2325
|
+
* inside it (`data-ink-thumbnail-item` is the page). It sets the items' `tabindex`: don't
|
|
2326
|
+
* render one. Attaching another element unbinds the previous one. Returns the unbind.
|
|
2327
|
+
*/
|
|
2328
|
+
attach(scroller: HTMLElement): () => void;
|
|
2329
|
+
/**
|
|
2330
|
+
* The attributes of the list item wrapping item `index` (into `pages`): `role="listitem"`
|
|
2331
|
+
* and, as only the window is mounted, `aria-setsize` and `aria-posinset` for its place in
|
|
2332
|
+
* the whole list.
|
|
2333
|
+
*/
|
|
2334
|
+
itemAttrs(index: number): Record<string, string>;
|
|
2335
|
+
/** Scrolls the viewport to `page`. */
|
|
2336
|
+
activate(page: number): void;
|
|
2337
|
+
destroy(): void;
|
|
2338
|
+
}
|
|
2339
|
+
export declare function createThumbnailsController(deps: ThumbnailsDeps, initial?: ThumbnailsOptions): ThumbnailsController;
|
|
2340
|
+
/**
|
|
2341
|
+
* A scrolling list of `viewer`'s pages as thumbnails. Give it a height (it fills its parent's)
|
|
2342
|
+
* and place it anywhere, a sidebar panel for instance. Each item is a button that scrolls the
|
|
2343
|
+
* viewer to its page; the current page is marked and kept in view. It stops when the viewer
|
|
2344
|
+
* is destroyed.
|
|
2345
|
+
*/
|
|
2346
|
+
export declare function createThumbnails(viewer: Viewer, opts?: ThumbnailsOptions): HTMLElement;
|
|
2347
|
+
//#endregion
|
|
1908
2348
|
//#region src/dom/viewer/controls.d.ts
|
|
1909
2349
|
/**
|
|
1910
2350
|
* An `<svg>` drawing `icon` from `@inkbar/icons`, hidden from assistive technology: the
|
|
@@ -1926,6 +2366,16 @@ export declare function createToolbar(opts?: {
|
|
|
1926
2366
|
}): HTMLElement;
|
|
1927
2367
|
/** A divider between groups of controls in a horizontal toolbar. Not focusable. */
|
|
1928
2368
|
export declare function createToolbarSeparator(): HTMLDivElement;
|
|
2369
|
+
/**
|
|
2370
|
+
* Saves the document's file (`viewer.download()`); disabled until a document is ready. Today
|
|
2371
|
+
* that is the file as it was opened, without this session's annotations.
|
|
2372
|
+
*/
|
|
2373
|
+
export declare function createDownloadButton(viewer: Viewer, opts?: DownloadOptions): HTMLButtonElement;
|
|
2374
|
+
/**
|
|
2375
|
+
* Prints the document's file (`viewer.print()`); disabled until a document is ready. Today
|
|
2376
|
+
* that is the file as it was opened, without this session's annotations.
|
|
2377
|
+
*/
|
|
2378
|
+
export declare function createPrintButton(viewer: Viewer): HTMLButtonElement;
|
|
1929
2379
|
/** Undoes the last change to the document's annotations; disabled when there is none. */
|
|
1930
2380
|
export declare function createUndo(viewer: Viewer): HTMLButtonElement;
|
|
1931
2381
|
/** Redoes the last undone change; disabled when there is none. */
|
|
@@ -2203,5 +2653,5 @@ interface FormAlert {
|
|
|
2203
2653
|
*/
|
|
2204
2654
|
export declare function createFormAlert(root: HTMLElement): FormAlert;
|
|
2205
2655
|
//#endregion
|
|
2206
|
-
export { type AnnotationDecoration, type AnnotationInputOf, type AnnotationLink, type AnnotationLinkSpec, type AnnotationSlotProps, type AnnotationState, type ArrowheadChoice, type CardSpec, type ColorMenuModel, type ColorMenuOptions, type ColorMenuSwatch, type ColorProperty, type ColorTrigger, type Command, type CommandOptions, type CommandRun, type CommandSpec, type CoreToolId, type CreateViewerOptions, type CssLayout, type CssLayoutInput, type CssPageBox, type CssRect, type CurrentStyle, type DecorateAnnotation, type EditorCloseReason, type FocusReturn, type FocusReturnOptions, type FormAlert, type FormLayer, type FreeTextEditor, type FreeTextEditorOptions, type HighlightMenuItem, type HighlightMenuModel, type HighlightOptions, type HistoryKeysTarget, type InkPlugin, type LayerEvent, type LayerSource, type LayerSpec, type LayoutMode, type LineStyleMenuItem, type LineStyleMenuModel, type LineStyleMenuSection, type MarksHandle, type MarksOptions, type MarkupKind, type Menu, type MenuOptions, type MountViewerOptions, type Overlay, type OverlayOptions, type PageHit, type PageLayer, type PageLayers, type PageMount, type PageMountOptions, type PageRenderer, type PageRendererOptions, type PageTransform, type Palette, type PluginApi, type PluginContext, type PluginHost, type PluginHostOptions, type PluginLayer, type PluginLayerHandle, type PluginLayers, type PluginOptions, type PluginStoreOptions, type Popover, type PopoverOptions, type Records, type ScopedToolStyle, type SearchController, type SearchControllerOptions, type SearchState, type SelectionQuads, type ShapeKind, type ShapeMenuItem, type ShapeMenuModel, type ShapeOptions, type SignFieldMenu, type SignFieldMenuOptions, type SignFieldRequest, type SignatureDialog, type SignatureDialogOptions, type SignatureDraft, type SignatureDraftState, type SignatureMenuItem, type SignatureMenuModel, type SignatureOptions, type SignaturePad, type SignatureTab, type StyleGroup, type StyleKey, type StyleProps, type TextAlignChoice, type TextAlignKey, type TextLayerHandle, type TextLayerOptions, type TextStyleMenuModel, type TextStyleToggle, type TextToggleKey, type ThreadPopoverSlotProps, type Tool, type ToolContext, type ToolController, type ToolControllerOptions, type ToolId, type ToolKind, type ToolOptions, type ToolStyle, type ToolStyleTracker, type TypedSignatureOptions, type ViewRotation, type Viewer, type ViewerEngine, type ViewerSearch, type Viewport, type ViewportHit, type ViewportKeysOptions, type ViewportOptions, type ZoomValue, cssVariableDefaults, signField };
|
|
2656
|
+
export { type AnnotationDecoration, type AnnotationInputOf, type AnnotationLink, type AnnotationLinkSpec, type AnnotationSlotProps, type AnnotationState, type ArrowheadChoice, type CardSpec, type ColorMenuModel, type ColorMenuOptions, type ColorMenuSwatch, type ColorProperty, type ColorTrigger, type Command, type CommandOptions, type CommandRun, type CommandSpec, type CoreToolId, type CreateViewerOptions, type CssLayout, type CssLayoutInput, type CssPageBox, type CssRect, type CurrentStyle, type DecorateAnnotation, type DownloadOptions, type EditorCloseReason, type FocusReturn, type FocusReturnOptions, type FormAlert, type FormLayer, type FreeTextEditor, type FreeTextEditorOptions, type HighlightMenuItem, type HighlightMenuModel, type HighlightOptions, type HistoryKeysTarget, type HostRecords, type InkPlugin, type LayerEvent, type LayerSource, type LayerSpec, type LayoutMode, type LineStyleMenuItem, type LineStyleMenuModel, type LineStyleMenuSection, type ListItem, type MarksHandle, type MarksOptions, type MarksRegistration, type MarksRegistry, type MarkupKind, type Menu, type MenuOptions, type MountViewerOptions, type Overlay, type OverlayOptions, type PageHit, type PageLayer, type PageLayers, type PageMount, type PageMountOptions, type PageRenderer, type PageRendererOptions, type PageTransform, type Palette, type PluginApi, type PluginContext, type PluginHost, type PluginHostOptions, type PluginLayer, type PluginLayerHandle, type PluginLayers, type PluginOptions, type PluginStoreOptions, type Popover, type PopoverOptions, type RecordListController, type RecordListRow, type RecordListSource, type RecordSelection, type Records, type RecordsSourceDeps, type RecordsSourceOptions, type ScopedToolStyle, type SearchController, type SearchControllerOptions, type SearchResultsOptions, type SearchState, type SelectionQuads, type ShapeKind, type ShapeMenuItem, type ShapeMenuModel, type ShapeOptions, type SidebarController, type SidebarControllerOptions, type SidebarLayout, type SidebarOpen, type SidebarPanelInfo, type SidebarSide, type SidebarState, type SignFieldMenu, type SignFieldMenuOptions, type SignFieldRequest, type SignatureDialog, type SignatureDialogOptions, type SignatureDraft, type SignatureDraftState, type SignatureMenuItem, type SignatureMenuModel, type SignatureOptions, type SignaturePad, type SignatureTab, type StyleGroup, type StyleKey, type StyleProps, type TextAlignChoice, type TextAlignKey, type TextLayerHandle, type TextLayerOptions, type TextStyleMenuModel, type TextStyleToggle, type TextToggleKey, type ThreadPopoverSlotProps, type ThumbnailDeps, type ThumbnailOptions, type ThumbnailPainter, type ThumbnailsController, type ThumbnailsDeps, type ThumbnailsOptions, type ThumbnailsState, type Tool, type ToolContext, type ToolController, type ToolControllerOptions, type ToolId, type ToolKind, type ToolOptions, type ToolStyle, type ToolStyleTracker, type TypedSignatureOptions, type ViewRotation, type Viewer, type ViewerEngine, type ViewerSearch, type Viewport, type ViewportHit, type ViewportKeysOptions, type ViewportOptions, type ZoomValue, cssVariableDefaults, isBlankQuery, signField };
|
|
2207
2657
|
//# sourceMappingURL=dom.d.mts.map
|
package/dist/dom.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom.d.mts","names":[],"sources":["../src/dom/transform.ts","../src/dom/layout.ts","../src/dom/viewport.ts","../src/dom/viewport-keys.ts","../src/dom/history-keys.ts","../src/dom/page-renderer.ts","../src/dom/text-layer.ts","../src/dom/selection.ts","../src/dom/overlay.ts","../src/dom/overlay-render.ts","../src/dom/plugins/api/command.ts","../src/dom/plugins/api/links.ts","../src/dom/plugins/api/records.ts","../src/dom/plugins/api/card.ts","../src/dom/plugins/api/marks.ts","../src/dom/plugins/api/api.ts","../src/dom/search/controller.ts","../src/dom/tools/options.ts","../src/dom/tools/controller.ts","../src/dom/plugins/define.ts","../src/dom/plugins/commands.ts","../src/dom/plugins/layer.ts","../src/dom/plugins/host.ts","../src/dom/form-layer.ts","../src/dom/search/highlights.ts","../src/dom/page-mount.ts","../src/dom/tools/draw.ts","../src/dom/tools/freetext.ts","../src/dom/tools/highlight.ts","../src/dom/tools/note.ts","../src/dom/tools/redact-area.ts","../src/dom/tools/select.ts","../src/dom/tools/select-text.ts","../src/model/annotations/shape-geometry.ts","../src/dom/tools/shape.ts","../src/dom/tools/signature.ts","../src/dom/tools/sketch.ts","../src/dom/tools/unknown.ts","../src/dom/tools/index.ts","../src/dom/ui.ts","../src/dom/palette.ts","../src/dom/freetext-editor.ts","../src/dom/menu-keys.ts","../src/dom/annotation-element.ts","../src/dom/popover-focus.ts","../src/dom/viewer/popover.ts","../src/dom/viewer-engine.ts","../src/dom/viewer/create-viewer.ts","../src/dom/search/find-bar.ts","../src/dom/search/find-key.ts","../src/dom/search/find-text.ts","../src/dom/viewer/controls.ts","../src/dom/viewer/style-menu.ts","../src/dom/viewer/color-menu.ts","../src/dom/viewer/text-style-menu.ts","../src/dom/viewer/shape-menu.ts","../src/dom/viewer/highlight-menu.ts","../src/dom/shape-icons.ts","../src/dom/markup-icons.ts","../src/dom/viewer/menu.ts","../src/dom/signature-pad.ts","../src/dom/signature-draft.ts","../src/dom/viewer/signature-dialog.ts","../src/dom/viewer/signature-menu.ts","../src/dom/viewer/form-alert.ts"],"mappings":";;;KAWY;;UAGK;EACf;EACA;EACA;EACA;;UAGe;WACN,MAAM;;WAEN;;;;;WAKA;;WAEA,UAAU;;WAEV,eAAe;;WAEf;;WAEA;;WAEA,QAAQ;EACjB,MAAM,GAAG,QAAQ;EACjB,UAAU,GAAG,OAAO;EACpB,UAAU,GAAG,OAAO;;EAEpB,YAAY;EACZ,QAAQ,GAAG,QAAQ;EACnB,YAAY,GAAG,UAAU;;EAEzB,cAAc;;;wBAIA,kBAAkB,cAAc;;;;;wBAWhC,oBACd,MAAM,UACN,cACA,eAAc,eACb;;;KC/DS;;UAGK;EACf;EACA;EACA;EACA;EACA;;;UAIe;EACf,OAAO;EACP;EACA;;UAGe;EACf,gBAAgB;EAChB;EACA,UAAU;;EAEV;EACA,MAAM;;EAEN;;EAEA;;;wBASc,iBAAiB,OAAO,iBAAiB;;wBAyBzC,WACd,MAAM,UACN,UAAU,cACV;EAAa;EAAe;GAC5B,gCACA;;;;;wBAac,gBACd,QAAQ,WACR,mBACA,wBACA;;wBAec,mBACd,QAAQ,WACR,mBACA;;;KChFU;UAEK;EACf,WAAW;EACX,UAAU;;EAEV,OAAO;;EAEP,OAAO;;EAEP,WAAW;;EAEX;;EAEA;;EAEA;;EAEA;EACA,QAAQ,cAAc,MAAM,aAAa,WAAW;EACpD,SAAS,cAAc,MAAM,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B,cACA,cACA,OAAO,wBACN;;wBAKmB,qBACpB,cACA,cACA,OAAO,wBACN,QAAQ;;qBAME;;qBAGA;;;;;qBAMA;;;;;;;;wBASS,qBAAqB,MAAM,OAAO,QAAQ;;;;;;wBA2ChD,iBAAiB,GAAG;EAAsB;;EACxD;EACA;;;;UC7Se;EACf,KAAK;;EAEL;EACA;EACA;;EAEA,OAAO;;EAEP;;EAEA;;EAEA;EACA;;UAGe;WACN,OAAO,SAAS;WAChB;EACT,OAAO,KAAK;EACZ,QAAQ;EACR,QAAQ;;EAER,UAAU,MAAM;EAChB;;EAEA,WAAW,MAAM,mBAAmB;;;;;;EAMpC,KAAK,SAAS,mBAAmB,QAAQ;;EAEzC;EACA;;wBAGc,qBACd;EAAQ;IACP;;;UCjCc;;EAEf;;UAGe;WACN;;;;;;EAMT,KAAK;IACH,cAAc;IACd,UAAU,GAAG;;EAEf;EACA;;wBAKc,sBACd,QAAQ,QACR,OAAM,yBACL;;;;wBCjBa,uBAAuB,GAAG,oBAAoB;wBA6I9C,oBACd,QAAQ,QACR,OAAM,yBACL;;UA2Hc,6BAA6B;;EAE5C,SAAS,OAAO;;;UAID;;EAEf,KAAK,KAAK;EACV;EACA;;;;;;;;wBASc,oBACd,QAAQ,QACR,OAAM,uBACL;;;UCrTc;;EAEf,KAAK;;EAEL;EACA;;;;;;wBASc,gBAAgB,MAAM,cAAc"}
|
|
1
|
+
{"version":3,"file":"dom.d.mts","names":[],"sources":["../src/dom/transform.ts","../src/dom/layout.ts","../src/dom/viewport.ts","../src/dom/viewport-keys.ts","../src/dom/file-actions.ts","../src/dom/history-keys.ts","../src/dom/page-renderer.ts","../src/dom/text-layer.ts","../src/dom/selection.ts","../src/dom/overlay.ts","../src/dom/overlay-render.ts","../src/dom/plugins/api/command.ts","../src/dom/plugins/api/links.ts","../src/dom/plugins/api/records.ts","../src/dom/plugins/api/card.ts","../src/dom/plugins/api/marks.ts","../src/dom/plugins/api/api.ts","../src/dom/search/controller.ts","../src/dom/tools/options.ts","../src/dom/tools/controller.ts","../src/dom/plugins/define.ts","../src/dom/plugins/commands.ts","../src/dom/plugins/layer.ts","../src/dom/plugins/registry.ts","../src/dom/plugins/host.ts","../src/dom/form-layer.ts","../src/dom/search/highlights.ts","../src/dom/page-mount.ts","../src/dom/tools/draw.ts","../src/dom/tools/freetext.ts","../src/dom/tools/highlight.ts","../src/dom/tools/note.ts","../src/dom/tools/redact-area.ts","../src/dom/tools/select.ts","../src/dom/tools/select-text.ts","../src/model/annotations/shape-geometry.ts","../src/dom/tools/shape.ts","../src/dom/tools/signature.ts","../src/dom/tools/sketch.ts","../src/dom/tools/unknown.ts","../src/dom/tools/index.ts","../src/dom/ui.ts","../src/dom/palette.ts","../src/dom/freetext-editor.ts","../src/dom/menu-keys.ts","../src/dom/annotation-element.ts","../src/dom/popover-focus.ts","../src/dom/viewer/popover.ts","../src/dom/viewer-engine.ts","../src/dom/viewer/create-viewer.ts","../src/dom/search/find-bar.ts","../src/dom/search/find-key.ts","../src/dom/search/find-text.ts","../src/dom/records/source.ts","../src/dom/records/list.ts","../src/dom/records/search-results.ts","../src/dom/sidebar/controller.ts","../src/dom/sidebar/sidebar.ts","../src/dom/thumbnails/thumbnail.ts","../src/dom/thumbnails/list.ts","../src/dom/viewer/controls.ts","../src/dom/viewer/style-menu.ts","../src/dom/viewer/color-menu.ts","../src/dom/viewer/text-style-menu.ts","../src/dom/viewer/shape-menu.ts","../src/dom/viewer/highlight-menu.ts","../src/dom/shape-icons.ts","../src/dom/markup-icons.ts","../src/dom/viewer/menu.ts","../src/dom/signature-pad.ts","../src/dom/signature-draft.ts","../src/dom/viewer/signature-dialog.ts","../src/dom/viewer/signature-menu.ts","../src/dom/viewer/form-alert.ts"],"mappings":";;;KAWY;;UAGK;EACf;EACA;EACA;EACA;;UAGe;WACN,MAAM;;WAEN;;;;;WAKA;;WAEA,UAAU;;WAEV,eAAe;;WAEf;;WAEA;;WAEA,QAAQ;EACjB,MAAM,GAAG,QAAQ;EAC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