@operato/mini-map 8.0.0 → 9.0.0-beta.10

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.
@@ -1,4 +1,373 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
+ declare const OxZoomableImage_base: (new (...args: any[]) => {
3
+ __pointers: Map<number, {
4
+ x: number;
5
+ y: number;
6
+ }>;
7
+ __lastTapTime: number;
8
+ __lastPinchDistance: number;
9
+ __dragStart: {
10
+ x: number;
11
+ y: number;
12
+ } | null;
13
+ connectedCallback(): void;
14
+ disconnectedCallback(): void;
15
+ handlePointerDown: (e: PointerEvent) => void;
16
+ handlePointerMove: (e: PointerEvent) => void;
17
+ handlePointerUp: (e: PointerEvent) => void;
18
+ handlePinch(): void;
19
+ handleDrag(point: {
20
+ x: number;
21
+ y: number;
22
+ }, end: boolean): void;
23
+ handleTap(point: {
24
+ x: number;
25
+ y: number;
26
+ }): void;
27
+ getDistance(p1: {
28
+ x: number;
29
+ y: number;
30
+ }, p2: {
31
+ x: number;
32
+ y: number;
33
+ }): number;
34
+ addGlobalListeners(): void;
35
+ removeGlobalListeners(): void;
36
+ accessKey: string;
37
+ readonly accessKeyLabel: string;
38
+ autocapitalize: string;
39
+ dir: string;
40
+ draggable: boolean;
41
+ hidden: boolean;
42
+ inert: boolean;
43
+ innerText: string;
44
+ lang: string;
45
+ readonly offsetHeight: number;
46
+ readonly offsetLeft: number;
47
+ readonly offsetParent: Element | null;
48
+ readonly offsetTop: number;
49
+ readonly offsetWidth: number;
50
+ outerText: string;
51
+ popover: string | null;
52
+ spellcheck: boolean;
53
+ title: string;
54
+ translate: boolean;
55
+ writingSuggestions: string;
56
+ attachInternals(): ElementInternals;
57
+ click(): void;
58
+ hidePopover(): void;
59
+ showPopover(): void;
60
+ togglePopover(force?: boolean): boolean;
61
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
62
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
63
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
64
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
65
+ readonly attributes: NamedNodeMap;
66
+ readonly classList: DOMTokenList;
67
+ className: string;
68
+ readonly clientHeight: number;
69
+ readonly clientLeft: number;
70
+ readonly clientTop: number;
71
+ readonly clientWidth: number;
72
+ readonly currentCSSZoom: number;
73
+ id: string;
74
+ innerHTML: string;
75
+ readonly localName: string;
76
+ readonly namespaceURI: string | null;
77
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
78
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
79
+ outerHTML: string;
80
+ readonly ownerDocument: Document;
81
+ readonly part: DOMTokenList;
82
+ readonly prefix: string | null;
83
+ readonly scrollHeight: number;
84
+ scrollLeft: number;
85
+ scrollTop: number;
86
+ readonly scrollWidth: number;
87
+ readonly shadowRoot: ShadowRoot | null;
88
+ slot: string;
89
+ readonly tagName: string;
90
+ attachShadow(init: ShadowRootInit): ShadowRoot;
91
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
92
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
93
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
94
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
95
+ closest<E extends Element = Element>(selectors: string): E | null;
96
+ computedStyleMap(): StylePropertyMapReadOnly;
97
+ getAttribute(qualifiedName: string): string | null;
98
+ getAttributeNS(namespace: string | null, localName: string): string | null;
99
+ getAttributeNames(): string[];
100
+ getAttributeNode(qualifiedName: string): Attr | null;
101
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
102
+ getBoundingClientRect(): DOMRect;
103
+ getClientRects(): DOMRectList;
104
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
105
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
106
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
107
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
108
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
109
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
110
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
111
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
112
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
113
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
114
+ getHTML(options?: GetHTMLOptions): string;
115
+ hasAttribute(qualifiedName: string): boolean;
116
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
117
+ hasAttributes(): boolean;
118
+ hasPointerCapture(pointerId: number): boolean;
119
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
120
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
121
+ insertAdjacentText(where: InsertPosition, data: string): void;
122
+ matches(selectors: string): boolean;
123
+ releasePointerCapture(pointerId: number): void;
124
+ removeAttribute(qualifiedName: string): void;
125
+ removeAttributeNS(namespace: string | null, localName: string): void;
126
+ removeAttributeNode(attr: Attr): Attr;
127
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
128
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
129
+ scroll(options?: ScrollToOptions): void;
130
+ scroll(x: number, y: number): void;
131
+ scrollBy(options?: ScrollToOptions): void;
132
+ scrollBy(x: number, y: number): void;
133
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
134
+ scrollTo(options?: ScrollToOptions): void;
135
+ scrollTo(x: number, y: number): void;
136
+ setAttribute(qualifiedName: string, value: string): void;
137
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
138
+ setAttributeNode(attr: Attr): Attr | null;
139
+ setAttributeNodeNS(attr: Attr): Attr | null;
140
+ setHTMLUnsafe(html: string): void;
141
+ setPointerCapture(pointerId: number): void;
142
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
143
+ webkitMatchesSelector(selectors: string): boolean;
144
+ readonly baseURI: string;
145
+ readonly childNodes: NodeListOf<ChildNode>;
146
+ readonly firstChild: ChildNode | null;
147
+ readonly isConnected: boolean;
148
+ readonly lastChild: ChildNode | null;
149
+ readonly nextSibling: ChildNode | null;
150
+ readonly nodeName: string;
151
+ readonly nodeType: number;
152
+ nodeValue: string | null;
153
+ readonly parentElement: HTMLElement | null;
154
+ readonly parentNode: ParentNode | null;
155
+ readonly previousSibling: ChildNode | null;
156
+ textContent: string | null;
157
+ appendChild<T extends Node>(node: T): T;
158
+ cloneNode(deep?: boolean): Node;
159
+ compareDocumentPosition(other: Node): number;
160
+ contains(other: Node | null): boolean;
161
+ getRootNode(options?: GetRootNodeOptions): Node;
162
+ hasChildNodes(): boolean;
163
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
164
+ isDefaultNamespace(namespace: string | null): boolean;
165
+ isEqualNode(otherNode: Node | null): boolean;
166
+ isSameNode(otherNode: Node | null): boolean;
167
+ lookupNamespaceURI(prefix: string | null): string | null;
168
+ lookupPrefix(namespace: string | null): string | null;
169
+ normalize(): void;
170
+ removeChild<T extends Node>(child: T): T;
171
+ replaceChild<T extends Node>(node: Node, child: T): T;
172
+ readonly ELEMENT_NODE: 1;
173
+ readonly ATTRIBUTE_NODE: 2;
174
+ readonly TEXT_NODE: 3;
175
+ readonly CDATA_SECTION_NODE: 4;
176
+ readonly ENTITY_REFERENCE_NODE: 5;
177
+ readonly ENTITY_NODE: 6;
178
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
179
+ readonly COMMENT_NODE: 8;
180
+ readonly DOCUMENT_NODE: 9;
181
+ readonly DOCUMENT_TYPE_NODE: 10;
182
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
183
+ readonly NOTATION_NODE: 12;
184
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
185
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
186
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
187
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
188
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
189
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
190
+ dispatchEvent(event: Event): boolean;
191
+ ariaAtomic: string | null;
192
+ ariaAutoComplete: string | null;
193
+ ariaBrailleLabel: string | null;
194
+ ariaBrailleRoleDescription: string | null;
195
+ ariaBusy: string | null;
196
+ ariaChecked: string | null;
197
+ ariaColCount: string | null;
198
+ ariaColIndex: string | null;
199
+ ariaColIndexText: string | null;
200
+ ariaColSpan: string | null;
201
+ ariaCurrent: string | null;
202
+ ariaDescription: string | null;
203
+ ariaDisabled: string | null;
204
+ ariaExpanded: string | null;
205
+ ariaHasPopup: string | null;
206
+ ariaHidden: string | null;
207
+ ariaInvalid: string | null;
208
+ ariaKeyShortcuts: string | null;
209
+ ariaLabel: string | null;
210
+ ariaLevel: string | null;
211
+ ariaLive: string | null;
212
+ ariaModal: string | null;
213
+ ariaMultiLine: string | null;
214
+ ariaMultiSelectable: string | null;
215
+ ariaOrientation: string | null;
216
+ ariaPlaceholder: string | null;
217
+ ariaPosInSet: string | null;
218
+ ariaPressed: string | null;
219
+ ariaReadOnly: string | null;
220
+ ariaRequired: string | null;
221
+ ariaRoleDescription: string | null;
222
+ ariaRowCount: string | null;
223
+ ariaRowIndex: string | null;
224
+ ariaRowIndexText: string | null;
225
+ ariaRowSpan: string | null;
226
+ ariaSelected: string | null;
227
+ ariaSetSize: string | null;
228
+ ariaSort: string | null;
229
+ ariaValueMax: string | null;
230
+ ariaValueMin: string | null;
231
+ ariaValueNow: string | null;
232
+ ariaValueText: string | null;
233
+ role: string | null;
234
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
235
+ getAnimations(options?: GetAnimationsOptions): Animation[];
236
+ after(...nodes: (Node | string)[]): void;
237
+ before(...nodes: (Node | string)[]): void;
238
+ remove(): void;
239
+ replaceWith(...nodes: (Node | string)[]): void;
240
+ readonly nextElementSibling: Element | null;
241
+ readonly previousElementSibling: Element | null;
242
+ readonly childElementCount: number;
243
+ readonly children: HTMLCollection;
244
+ readonly firstElementChild: Element | null;
245
+ readonly lastElementChild: Element | null;
246
+ append(...nodes: (Node | string)[]): void;
247
+ prepend(...nodes: (Node | string)[]): void;
248
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
249
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
250
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
251
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
252
+ querySelector<E extends Element = Element>(selectors: string): E | null;
253
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
254
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
255
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
256
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
257
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
258
+ replaceChildren(...nodes: (Node | string)[]): void;
259
+ readonly assignedSlot: HTMLSlotElement | null;
260
+ readonly attributeStyleMap: StylePropertyMap;
261
+ readonly style: CSSStyleDeclaration;
262
+ contentEditable: string;
263
+ enterKeyHint: string;
264
+ inputMode: string;
265
+ readonly isContentEditable: boolean;
266
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
267
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
268
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
269
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
270
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
271
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
272
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
273
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
274
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
275
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
277
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
278
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
279
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
280
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
281
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
282
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
283
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
285
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
286
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
287
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
288
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
289
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
290
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
291
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
292
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
293
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
294
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
295
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
296
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
+ onerror: OnErrorEventHandler;
299
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
300
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
301
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
302
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
303
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
304
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
305
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
306
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
307
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
308
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
309
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
310
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
311
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
312
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
313
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
314
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
315
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
316
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
317
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
318
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
319
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
320
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
323
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
324
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
325
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
326
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
327
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
328
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
329
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
330
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
331
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
332
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
333
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
335
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
336
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
337
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
338
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
342
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
346
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
347
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
348
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
349
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
350
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
351
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
352
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
353
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
354
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
355
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
356
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
357
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
358
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
359
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
360
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
361
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
362
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
363
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
364
+ autofocus: boolean;
365
+ readonly dataset: DOMStringMap;
366
+ nonce?: string;
367
+ tabIndex: number;
368
+ blur(): void;
369
+ focus(options?: FocusOptions): void;
370
+ }) & typeof LitElement;
2
371
  /**
3
372
  * Example usage:
4
373
  *
@@ -21,34 +390,29 @@ import { LitElement, PropertyValues } from 'lit';
21
390
  * </style>
22
391
  * </head>
23
392
  * <body>
24
- * <ox-zoomable-image src="path/to/your/image.jpg"></ox-zoomable-image>
393
+ * <ox-zoomable-image src="path/to/your/image.jpg" restrict-boundary></ox-zoomable-image>
25
394
  * </body>
26
395
  * </html>
27
396
  */
28
- export declare class OxZoomableImage extends LitElement {
397
+ export declare class OxZoomableImage extends OxZoomableImage_base {
29
398
  static styles: import("lit").CSSResult;
30
399
  src?: string;
400
+ restrictBoundary: boolean;
31
401
  private zoom;
32
402
  private left;
33
403
  private top;
34
- private minZoom;
35
404
  private imageWidth;
36
405
  private imageHeight;
37
- private dragStart?;
38
- private readonly dragEndHandler;
39
- private readonly dragMoveHandler;
40
- private readonly dragStartHandler;
41
- private readonly wheelEventHandler;
42
- private readonly resetHandler;
43
406
  connectedCallback(): void;
44
407
  disconnectedCallback(): void;
45
408
  updated(changes: PropertyValues<this>): void;
46
409
  private calculateMinZoom;
47
- private onWheelEvent;
48
- private onDragStart;
49
- private onDragMove;
50
- private onDragEnd;
51
- private onReset;
410
+ private pinchHandler;
411
+ private zoomAt;
412
+ private wheelHandler;
413
+ private dragHandler;
414
+ private doubleTapHandler;
52
415
  private updateTransform;
53
416
  private applyBounds;
54
417
  }
418
+ export {};