iobroker.mywebui 1.38.0 → 1.38.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/io-package.json
CHANGED
package/package.json
CHANGED
|
@@ -88,7 +88,7 @@ function ensurePathEl(el) {
|
|
|
88
88
|
return { pathEl: tmp, tempEl: tmp };
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
async function ensureGSAP() {
|
|
91
|
+
export async function ensureGSAP() {
|
|
92
92
|
if (window.gsap) return window.gsap;
|
|
93
93
|
if (_gsapLoadPromise) return _gsapLoadPromise;
|
|
94
94
|
_gsapLoadPromise = new Promise((resolve) => {
|
|
@@ -6,7 +6,8 @@ import { convertCssUnitToPixel } from "@gokturk413/web-component-designer/dist/e
|
|
|
6
6
|
import { isFirefox } from "@gokturk413/web-component-designer/dist/elements/helper/Browser.js";
|
|
7
7
|
import { PropertiesHelper } from "@gokturk413/web-component-designer/dist/elements/services/propertiesService/services/PropertiesHelper.js";
|
|
8
8
|
import { visibilityService } from "./VisibilityService.js";
|
|
9
|
-
import { scanAndApplyAnimations, scanAndApplyEffects, cleanupAnimations, cleanupEffects } from "./AnimationService.js";
|
|
9
|
+
import { scanAndApplyAnimations, scanAndApplyEffects, cleanupAnimations, cleanupEffects, ensureGSAP } from "./AnimationService.js";
|
|
10
|
+
window.ensureGSAP = ensureGSAP;
|
|
10
11
|
let ScreenViewer = class ScreenViewer extends BaseCustomWebComponentConstructorAppend {
|
|
11
12
|
static { ScreenViewer_1 = this; }
|
|
12
13
|
static style = css `
|
|
@@ -42,7 +42,7 @@ export class IobrokerWebuiScriptSystem extends ScriptSystem {
|
|
|
42
42
|
const left = await this.getValue(command.left, context);
|
|
43
43
|
const top = await this.getValue(command.top, context);
|
|
44
44
|
let sv = new ScreenViewer();
|
|
45
|
-
sv.relativeSignalsPath = command.relativeSignalsPath;
|
|
45
|
+
sv.relativeSignalsPath = await this.getValue(command.relativeSignalsPath, context);
|
|
46
46
|
sv.screenName = screen;
|
|
47
47
|
if (!width)
|
|
48
48
|
width = await (await iobrokerHandler.getWebuiObject('screen', screen)).settings.width;
|