shop-components 0.1.4 → 0.1.5
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/shop-components.mjs
CHANGED
|
@@ -29356,7 +29356,7 @@ var EI = {};
|
|
|
29356
29356
|
})();
|
|
29357
29357
|
/*!
|
|
29358
29358
|
* Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
|
|
29359
|
-
*
|
|
29359
|
+
*
|
|
29360
29360
|
* howler.js v2.2.4
|
|
29361
29361
|
* howlerjs.com
|
|
29362
29362
|
*
|
|
@@ -34449,9 +34449,9 @@ class wO extends yt {
|
|
|
34449
34449
|
}
|
|
34450
34450
|
init(A) {
|
|
34451
34451
|
this._app = A, this.sizeBox.init(A), this.addEventListener("shape-key-changed", (t, e) => {
|
|
34452
|
-
this._slots.forEach((i) => i.shapeKeyChanged(t, e)), this.sizeBox.follow === t ? (this.sizeBox.generate(this._container, e), this.sizeBox.originOffset && (
|
|
34453
|
-
if (i instanceof qt && i.geometry.translate(this.sizeBox.originOffset - this.sizeBox.translateCache, 0, 0), i instanceof Sm) {
|
|
34454
|
-
const s = new E(this.sizeBox.originOffset, 0, 0).applyQuaternion(i.parent.quaternion);
|
|
34452
|
+
this._slots.forEach((i) => i.shapeKeyChanged(t, e)), this.sizeBox.follow === t ? (this.sizeBox.generate(this._container, e), this.sizeBox.originOffset && (this._container.traverse((i) => {
|
|
34453
|
+
if (i instanceof qt && i.geometry.translate(this.sizeBox.originOffset - this.sizeBox.translateCache, 0, 0), i instanceof Sm && i.parent) {
|
|
34454
|
+
const s = new E(this.sizeBox.originOffset - this.sizeBox.translateCache, 0, 0).applyQuaternion(i.parent.quaternion);
|
|
34455
34455
|
i.position.add(s);
|
|
34456
34456
|
}
|
|
34457
34457
|
}), this.sizeBox.translateCache = this.sizeBox.originOffset, this.sizeBox.generate(this._container))) : this.sizeBox.generate(this._container);
|
|
@@ -36474,7 +36474,7 @@ class eb {
|
|
|
36474
36474
|
}
|
|
36475
36475
|
class C5 extends eb {
|
|
36476
36476
|
constructor() {
|
|
36477
|
-
const A = new Worker(new URL("
|
|
36477
|
+
const A = new Worker(new URL("" + new URL("assets/generateMeshBVH.worker-NFSCTTDt.js", import.meta.url).href, import.meta.url), { type: "module" });
|
|
36478
36478
|
super(A), this.name = "GenerateMeshBVHWorker";
|
|
36479
36479
|
}
|
|
36480
36480
|
runTask(A, t, e = {}) {
|
|
@@ -36519,7 +36519,7 @@ class C5 extends eb {
|
|
|
36519
36519
|
const ib = typeof navigator < "u" ? navigator.hardwareConcurrency : 4;
|
|
36520
36520
|
class x5 extends eb {
|
|
36521
36521
|
constructor() {
|
|
36522
|
-
const A = new Worker(new URL("
|
|
36522
|
+
const A = new Worker(new URL("" + new URL("assets/parallelMeshBVH.worker-TP6qJGKX.js", import.meta.url).href, import.meta.url), { type: "module" });
|
|
36523
36523
|
if (super(A), this.name = "ParallelMeshBVHWorker", this.maxWorkerCount = Math.max(ib, 4), !x0())
|
|
36524
36524
|
throw new Error("ParallelMeshBVHWorker: Shared Array Buffers are not supported.");
|
|
36525
36525
|
}
|
|
@@ -58469,7 +58469,7 @@ R2.defaultStyle = {
|
|
|
58469
58469
|
fontFamily: "Arial",
|
|
58470
58470
|
/**
|
|
58471
58471
|
* See {@link PIXI.TextStyle.fontSize}
|
|
58472
|
-
* @type {number|string}
|
|
58472
|
+
* @type {number|string}
|
|
58473
58473
|
*/
|
|
58474
58474
|
fontSize: 26,
|
|
58475
58475
|
/**
|
|
@@ -58510,7 +58510,7 @@ R2.defaultStyle = {
|
|
|
58510
58510
|
/** See {@link PIXI.TextStyle.strokeThickness} */
|
|
58511
58511
|
strokeThickness: 0,
|
|
58512
58512
|
/**
|
|
58513
|
-
* See {@link PIXI.TextStyle.textBaseline}
|
|
58513
|
+
* See {@link PIXI.TextStyle.textBaseline}
|
|
58514
58514
|
* @type {'alphabetic'|'top'|'hanging'|'middle'|'ideographic'|'bottom'}
|
|
58515
58515
|
*/
|
|
58516
58516
|
textBaseline: "alphabetic",
|