@shopware-ag/dive 1.16.26-beta.0 → 1.16.26-beta.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/build/dive.cjs +14 -4
- package/build/dive.cjs.map +1 -1
- package/build/dive.js +14 -4
- package/build/dive.js.map +1 -1
- package/package.json +1 -1
- package/src/ar/AR.ts +9 -1
- package/src/dive.ts +6 -2
package/build/dive.cjs
CHANGED
|
@@ -1993,7 +1993,13 @@ var init_AR = __esm({
|
|
|
1993
1993
|
"encodeURIComponent(modelUrl.toString())",
|
|
1994
1994
|
encodeURIComponent(modelUrl.toString())
|
|
1995
1995
|
);
|
|
1996
|
-
const
|
|
1996
|
+
const version = "1.0";
|
|
1997
|
+
console.log("USING SCENE VIEWER");
|
|
1998
|
+
console.log("version:", version);
|
|
1999
|
+
console.log("params:", params.toString());
|
|
2000
|
+
console.log("modelUrl:", modelUrl.toString());
|
|
2001
|
+
console.log("locationUrl:", locationUrl.toString());
|
|
2002
|
+
const intent = `intent://arvr.google.com/scene-viewer/${version}?${params.toString() + "&file=" + modelUrl.toString()}#Intent;scheme=https;package=com.google.android.googlequicksearchbox;action=android.intent.action.VIEW;S.browser_fallback_url=${encodeURIComponent(
|
|
1997
2003
|
locationUrl.toString()
|
|
1998
2004
|
)};end;`;
|
|
1999
2005
|
console.log({ intent });
|
|
@@ -4363,7 +4369,7 @@ init_Info();
|
|
|
4363
4369
|
// package.json
|
|
4364
4370
|
var package_default = {
|
|
4365
4371
|
name: "@shopware-ag/dive",
|
|
4366
|
-
version: "1.16.26-beta.
|
|
4372
|
+
version: "1.16.26-beta.2",
|
|
4367
4373
|
description: "Shopware Spatial Framework",
|
|
4368
4374
|
type: "module",
|
|
4369
4375
|
main: "./build/dive.cjs",
|
|
@@ -4657,13 +4663,17 @@ var DIVE = class _DIVE {
|
|
|
4657
4663
|
console.log(this.scene);
|
|
4658
4664
|
}
|
|
4659
4665
|
};
|
|
4666
|
+
console.log(`DIVE ${package_default.version} initialized successfully!`);
|
|
4667
|
+
if (false) {
|
|
4668
|
+
console.log("DIVE is running in development mode.");
|
|
4669
|
+
}
|
|
4660
4670
|
console.log(`
|
|
4661
4671
|
@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@
|
|
4662
4672
|
@@@@+-:::::::---------------------==------------------------------=#@@@@
|
|
4663
4673
|
@@%=::::.......::---------------------------------------------------------+@@
|
|
4664
4674
|
@@+:::...........::-----------------------------------------------------------#@@
|
|
4665
|
-
|
|
4666
|
-
|
|
4675
|
+
@@=:::.........::::::-------------------------------------------------------------%@
|
|
4676
|
+
@%:::.......:::::::-----------------------------------------------------------------#@
|
|
4667
4677
|
@*:::.....:::::-----------------------------------------------------------------------*@
|
|
4668
4678
|
@%::::::.::::---------------------------------------------------------------------------@@
|
|
4669
4679
|
@@-:::::::::-----------------------------------------------------------------------------=@
|