@syntrologie/runtime-sdk 2.8.0-canary.171 → 2.8.0-canary.173
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/index.js +5 -3
- package/dist/index.js.map +3 -3
- package/dist/smart-canvas.esm.js +4 -3
- package/dist/smart-canvas.esm.js.map +3 -3
- package/dist/smart-canvas.js +5 -3
- package/dist/smart-canvas.js.map +2 -2
- package/dist/smart-canvas.min.js +4 -3
- package/dist/smart-canvas.min.js.map +3 -3
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9257,7 +9257,7 @@ var SyntroCanvasOverlay = class extends LitElement7 {
|
|
|
9257
9257
|
}
|
|
9258
9258
|
// ---- Render ------------------------------------------------------------
|
|
9259
9259
|
render() {
|
|
9260
|
-
var _a3, _b;
|
|
9260
|
+
var _a3, _b, _c, _d, _e2;
|
|
9261
9261
|
const notifications = this._notifications.notifications;
|
|
9262
9262
|
const position = ((_b = (_a3 = this.themeConfig) == null ? void 0 : _a3.canvas) == null ? void 0 : _b.position) === "left" ? "left" : "right";
|
|
9263
9263
|
return html7`
|
|
@@ -9273,6 +9273,7 @@ var SyntroCanvasOverlay = class extends LitElement7 {
|
|
|
9273
9273
|
.isOpen=${this.isOpen}
|
|
9274
9274
|
.notifications=${notifications}
|
|
9275
9275
|
.themeConfig=${this.themeConfig}
|
|
9276
|
+
.launcherIcon=${(_e2 = (_d = (_c = this.themeConfig) == null ? void 0 : _c.launcher) == null ? void 0 : _d.icon) != null ? _e2 : null}
|
|
9276
9277
|
.hasActiveTiles=${this.tiles.length > 0}
|
|
9277
9278
|
?launcherAnimate=${this.launcherAnimate && !this.isOpen}
|
|
9278
9279
|
@launcher-toggle=${this._onLauncherToggle}
|
|
@@ -9490,7 +9491,7 @@ function error(prefix, message, data) {
|
|
|
9490
9491
|
}
|
|
9491
9492
|
|
|
9492
9493
|
// src/version.ts
|
|
9493
|
-
var SDK_VERSION = "2.8.0-canary.
|
|
9494
|
+
var SDK_VERSION = "2.8.0-canary.173";
|
|
9494
9495
|
|
|
9495
9496
|
// src/types.ts
|
|
9496
9497
|
var SDK_SCHEMA_VERSION = "2.0";
|
|
@@ -10177,7 +10178,8 @@ var SmartCanvasElementLit = class extends LitElement9 {
|
|
|
10177
10178
|
const response = await __privateGet(this, _derivedFetcher).call(this);
|
|
10178
10179
|
if (version !== __privateGet(this, _loadConfigVersion)) return;
|
|
10179
10180
|
debug("SmartCanvas Config", "Raw config response", response);
|
|
10180
|
-
|
|
10181
|
+
const isEmptyConfig = Object.keys(response).length === 0;
|
|
10182
|
+
__privateSet(this, _rawConfig, isEmptyConfig ? null : response);
|
|
10181
10183
|
let tiles = response.tiles || [];
|
|
10182
10184
|
if (tiles.length > 0 && ((_a3 = this.runtime) == null ? void 0 : _a3.accumulator)) {
|
|
10183
10185
|
registerConfigPredicates(tiles, this.runtime.accumulator, response.actions);
|