iobroker.mywebui 1.37.78 → 1.37.79

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.mywebui",
3
- "version": "1.37.78",
3
+ "version": "1.37.79",
4
4
  "description": "ioBroker mywebui - Custom edited mywebui by gokturk413",
5
5
  "type": "module",
6
6
  "main": "dist/backend/main.js",
@@ -397,24 +397,11 @@ let ScreenViewer = class ScreenViewer extends BaseCustomWebComponentConstructorA
397
397
  if (this._screenName && d.type == 'screen' && d.name === this._screenName)
398
398
  this._loadScreen();
399
399
  });
400
- console.log('🔗 [ScreenViewer] connectedCallback for "' + this.screenName + '"');
401
-
402
- // Check if module with default export
403
400
  let scriptObj = this._scriptObject;
404
- if (scriptObj?.default && !scriptObj?.connectedCallback) {
405
- console.log('🔄 [ScreenViewer] Using default export in connectedCallback');
401
+ if (scriptObj?.default && !scriptObj?.connectedCallback)
406
402
  scriptObj = scriptObj.default;
407
- }
408
-
409
- console.log('🔗 [ScreenViewer] Final scriptObj:', scriptObj);
410
- console.log('🔗 [ScreenViewer] Has callback?', typeof scriptObj?.connectedCallback);
411
-
412
- if (scriptObj?.connectedCallback) {
413
- console.log('✅ [ScreenViewer] Calling connectedCallback for "' + this.screenName + '"');
403
+ if (scriptObj?.connectedCallback)
414
404
  scriptObj.connectedCallback(this, this._rootShadow);
415
- } else {
416
- console.warn('⚠️ [ScreenViewer] No connectedCallback for "' + this.screenName + '"');
417
- }
418
405
  for (let e of this.#eventListeners) {
419
406
  this.addEventListener(e[0], e[1]);
420
407
  }
package/www/runtime.html CHANGED
@@ -3,7 +3,6 @@
3
3
 
4
4
  <head>
5
5
  <meta charset="utf-8">
6
- <link rel="manifest" href="./manifest.json">
7
6
  <script src="./node_modules/blockly/blockly_compressed.js"></script>
8
7
  <script src="./node_modules/blockly/blocks_compressed.js"></script>
9
8
  <script src="./node_modules/blockly/javascript_compressed.js"></script>