@d-i-t-a/reader 2.0.0-beta.21 → 2.0.0-beta.22

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.
@@ -136,6 +136,9 @@ export declare class TextHighlighter {
136
136
  stopPropagation: () => void;
137
137
  }): boolean;
138
138
  bindEvents(el: any, _scope: any, hasEventListener: boolean): void;
139
+ mousedown(ev: MouseEvent): Promise<void>;
140
+ mouseup(ev: MouseEvent): Promise<void>;
141
+ mousemove(ev: MouseEvent): Promise<void>;
139
142
  unbindEvents(el: any, _scope: any): void;
140
143
  /**
141
144
  * Permanently disables highlighting.
@@ -237,14 +240,14 @@ export declare class TextHighlighter {
237
240
  };
238
241
  static hexToRgbA(hex: string): string;
239
242
  static hexToRgbAWithOpacity(hex: string, opacity: number): string;
240
- resetHighlightBoundingStyle(_win: any, highlightBounding: HTMLElement): void;
241
- resetHighlightAreaStyle(win: any, highlightArea: HTMLElement, id_container: string): void;
242
- setHighlightAreaStyle(win: any, highlightAreas: Array<HTMLElement>, highlight: IHighlight): void;
243
+ resetHighlightBoundingStyle(highlightBounding: HTMLElement): void;
244
+ resetHighlightAreaStyle(highlightArea: HTMLElement, id_container: string): void;
245
+ setHighlightAreaStyle(doc: any, highlightAreas: Array<HTMLElement>, highlight: IHighlight): void;
243
246
  setAndResetSearchHighlight(highlight: any, highlights: any): void;
244
247
  isIOS(): boolean;
245
248
  isAndroid(): boolean;
246
249
  getScrollingElement: (doc: Document | undefined) => Element;
247
- processMouseEvent(win: any, ev: MouseEvent): Promise<void>;
250
+ processMouseEvent(ev: MouseEvent): Promise<void>;
248
251
  prepareContainers(win: any): Promise<void>;
249
252
  ensureHighlightsContainer(win: any, id: string): Promise<HTMLElement>;
250
253
  hideAllhighlights(doc: Document): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-i-t-a/reader",
3
- "version": "2.0.0-beta.21",
3
+ "version": "2.0.0-beta.22",
4
4
  "description": "A viewer application for EPUB files.",
5
5
  "repository": "https://github.com/d-i-t-a/R2D2BC",
6
6
  "license": "Apache-2.0",