iobroker.mywebui 1.42.26 → 1.42.27

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/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "mywebui",
4
- "version": "1.42.26",
4
+ "version": "1.42.27",
5
5
  "titleLang": {
6
6
  "en": "mywebui",
7
7
  "de": "mywebui",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.mywebui",
3
- "version": "1.42.26",
3
+ "version": "1.42.27",
4
4
  "description": "ioBroker mywebui - Custom edited mywebui by gokturk413 with 3D Editor",
5
5
  "type": "module",
6
6
  "main": "dist/backend/main.js",
@@ -120,9 +120,10 @@ export class IobrokerWebui3DScreenEditor extends BaseCustomWebComponentConstruct
120
120
  document.head.appendChild(link);
121
121
  }
122
122
 
123
- // Load required global libs (signals, esprima, jsonlint)
123
+ // Load required global libs (signals, jsonlint)
124
+ // esprima is NOT loaded: Script.js is disabled (no CodeMirror) and
125
+ // esprima.js conflicts with the webui's AMD loader (anonymous define conflict)
124
126
  await this._loadScript(EDITOR_BASE + 'js/libs/signals.min.js');
125
- await this._loadScript(EDITOR_BASE + 'js/libs/esprima.js');
126
127
  await this._loadScript(EDITOR_BASE + 'js/libs/jsonlint.js');
127
128
 
128
129
  // Dynamically import all editor modules (they use the importmap for 'three')
@@ -49,7 +49,9 @@ const importMapConfig = {
49
49
  "toastify-js": "./node_modules/toastify-js/src/toastify-es.js",
50
50
  "@iobroker/webcomponent-selectid-dialog/": "./node_modules/@iobroker/webcomponent-selectid-dialog/",
51
51
  "three": "./3d-lib/three.module.js",
52
- "three/addons/": "./3d-lib/jsm/"
52
+ "three/addons/": "./3d-lib/jsm/",
53
+ "three-gpu-pathtracer": "data:text/javascript,export class WebGLPathTracer{constructor(){}setScene(){}renderSample(){}updateCamera(){}updateEnvironment(){}updateMaterials(){}get samples(){return 0;}filterGlossyFactor=0.5;}",
54
+ "three-mesh-bvh": "data:text/javascript,export const MeshBVH={};export const acceleratedRaycast=()=>{};export const computeBoundsTree=()=>{};export const disposeBoundsTree=()=>{};"
53
55
  }
54
56
  };
55
57
  //@ts-ignore
@@ -20,7 +20,9 @@ const importMapRuntime = {
20
20
  "long": "./node_modules/long/index.js",
21
21
  "@adobe/css-tools": "./node_modules/@adobe/css-tools/dist/esm/adobe-css-tools.mjs",
22
22
  "three": "./3d-lib/three.module.js",
23
- "three/addons/": "./3d-lib/jsm/"
23
+ "three/addons/": "./3d-lib/jsm/",
24
+ "three-gpu-pathtracer": "data:text/javascript,export class WebGLPathTracer{constructor(){}setScene(){}renderSample(){}updateCamera(){}updateEnvironment(){}updateMaterials(){}get samples(){return 0;}filterGlossyFactor=0.5;}",
25
+ "three-mesh-bvh": "data:text/javascript,export const MeshBVH={};export const acceleratedRaycast=()=>{};export const computeBoundsTree=()=>{};export const disposeBoundsTree=()=>{};"
24
26
  }
25
27
  };
26
28
  //@ts-ignore