@latest-thinking/lt-player 3.0.0-beta.12 → 3.0.0-beta.14
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/feed.d.ts +1 -0
- package/dist/feed.js +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/player.js +3151 -3065
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/feed.d.ts
CHANGED
package/dist/feed.js
CHANGED
|
@@ -300,15 +300,15 @@ var b = class {
|
|
|
300
300
|
return t < 0 || t >= this.#t.length ? !1 : (this.#H(t), !0);
|
|
301
301
|
}
|
|
302
302
|
#ee = (e) => {
|
|
303
|
-
this.#T || e.pointerType !== "mouse" || e.button !== 0 || m(e.target) || (this.#E = e.pointerId, this.#D = e.clientY, this.#O = this.#n.scrollTop, this.#k = !1
|
|
303
|
+
this.#T || e.pointerType !== "mouse" || e.button !== 0 || m(e.target) || (this.#E = e.pointerId, this.#D = e.clientY, this.#O = this.#n.scrollTop, this.#k = !1);
|
|
304
304
|
};
|
|
305
305
|
#te = (e) => {
|
|
306
306
|
if (e.pointerId !== this.#E) return;
|
|
307
307
|
let t = this.#D - e.clientY;
|
|
308
|
-
!this.#k && Math.abs(t) < s || (this.#k = !0, e.preventDefault(), this.#n.scrollTop = this.#O + t);
|
|
308
|
+
!this.#k && Math.abs(t) < s || (this.#k || (this.#k = !0, this.#n.setPointerCapture?.(e.pointerId)), e.preventDefault(), this.#n.scrollTop = this.#O + t);
|
|
309
309
|
};
|
|
310
310
|
#ne = (e) => {
|
|
311
|
-
e.pointerId === this.#E && (this.#n.releasePointerCapture?.(e.pointerId), this.#E = null, this.#k && (this.#A = !0, this.#j = setTimeout(() => {
|
|
311
|
+
e.pointerId === this.#E && (this.#k && this.#n.releasePointerCapture?.(e.pointerId), this.#E = null, this.#k && (this.#A = !0, this.#j = setTimeout(() => {
|
|
312
312
|
this.#A = !1, this.#j = null;
|
|
313
313
|
}, 0)));
|
|
314
314
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -211,6 +211,7 @@ export declare interface PlayerResearchFieldSection {
|
|
|
211
211
|
export declare interface PlayerShareOptions {
|
|
212
212
|
canonicalUrl?: string;
|
|
213
213
|
embedUrl?: string;
|
|
214
|
+
playerTrigger?: boolean;
|
|
214
215
|
targets?: PlayerShareTarget[];
|
|
215
216
|
templates?: PlayerShareTemplates;
|
|
216
217
|
}
|