@qaiddev/thumbs-embed 1.2.0 → 1.2.2

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/embed.d.ts CHANGED
@@ -53,6 +53,9 @@ export declare class QaidFeedback {
53
53
  private boundKeyDown;
54
54
  private boundMouseMove;
55
55
  private boundClick;
56
+ private boundTouchStart;
57
+ private boundTouchEnd;
58
+ private touchStartPos;
56
59
  private boundResize;
57
60
  private _startDismissed;
58
61
  private destroyed;
@@ -115,11 +118,26 @@ export declare class QaidFeedback {
115
118
  private createTargetingOverlay;
116
119
  private handleKeyDown;
117
120
  private handleMouseMove;
121
+ /** Move the crosshair/scope reticle and highlight the element under (x, y).
122
+ * Shared by the mouse (hover) and touch (drag) targeting paths. */
123
+ private updateReticleAt;
118
124
  private handleClick;
125
+ private handleTouchStart;
126
+ private handleTouchEnd;
127
+ /** Select the element under (x, y) and tear down targeting.
128
+ * Shared by the mouse (click) and touch (touchend) targeting paths. */
129
+ private selectAt;
130
+ /** Remove the targeting overlay and every mouse/touch/keyboard listener the
131
+ * pointer-targeting flow attaches to the document. */
132
+ private stopTargetingListeners;
119
133
  private cancelTargeting;
120
134
  private removeTargetingOverlay;
121
135
  private showSelectedMarker;
122
136
  private hideSelectedMarker;
137
+ /** Whether to capture the screenshot with the DOM/canvas method (html2canvas)
138
+ * instead of the permission-based Screen Capture API. Explicit "dom" wins;
139
+ * otherwise DOM is used on touch devices to avoid the getDisplayMedia prompt. */
140
+ private shouldCaptureViaDom;
123
141
  private submitFeedback;
124
142
  /**
125
143
  * Quest id linked to `type`, or "" when quest launching is disabled