@luzmo/embed 6.13.1 → 6.13.2-es2021

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/CHANGELOG.md CHANGED
@@ -2,10 +2,15 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [6.13.2] - 2026-05-25
6
+
7
+ ### Fixed
8
+ - Updated `@luzmo/shared-embed` to `5.12.1`, which reuses the host page's existing Module Federation runtime instead of creating a siloed private instance. Fixes NG0201 / NG0203 DI errors when a Luzmo remote (e.g. iq-app, dashboard-app) is loaded into a host that already has its own MF runtime.
9
+
5
10
  ## [6.13.1] - 2026-05-13
6
11
 
7
12
  ### Fixed
8
- - Properly initialize dashboard webcomponent
13
+ - Properly initialized dashboard webcomponent.
9
14
 
10
15
  ## [6.13.0] - 2026-03-30
11
16
 
package/index.cjs CHANGED
@@ -65,7 +65,7 @@ var import_decorators = require("lit/decorators.js");
65
65
  var import_style_map = require("lit/directives/style-map.js");
66
66
 
67
67
  // libs/embed-libs/embed/package.json
68
- var version = "6.13.1";
68
+ var version = "6.13.2";
69
69
 
70
70
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
71
71
  var SharedLib = __toESM(require("@luzmo/shared-embed"));
@@ -1122,14 +1122,12 @@ if (!customElements.get("luzmo-embed-dashboard")) {
1122
1122
  customElements.define("luzmo-embed-dashboard", LuzmoEmbedDashboard);
1123
1123
  }
1124
1124
 
1125
- // libs/dashboard-contents-types/src/lib/shared/version.ts
1126
- var CONTENTS_VERSION = "0.1.99";
1127
-
1128
1125
  // libs/embed-libs/embed/src/lib/viz-item/viz-item.base.ts
1126
+ var import_dashboard_contents_types = require("@luzmo/dashboard-contents-types");
1129
1127
  var SharedLib3 = __toESM(require("@luzmo/shared-embed"));
1130
1128
  var import_lit3 = require("lit");
1131
1129
  var import_decorators2 = require("lit/decorators.js");
1132
- var dashboardContentsVersion = CONTENTS_VERSION;
1130
+ var dashboardContentsVersion = import_dashboard_contents_types.CONTENTS_VERSION;
1133
1131
  var vizItemRemote = "VizItemApp";
1134
1132
  var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1135
1133
  constructor() {
@@ -1142,22 +1140,6 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1142
1140
  this.libVersion = version + "-wc-luzmo";
1143
1141
  this.postInitCallQueue = [];
1144
1142
  }
1145
- static {
1146
- // Static styles to set host display to block, else it is not shown at all for some reason.
1147
- this.styles = import_lit3.css`
1148
- :host {
1149
- display: block;
1150
- width: 100%;
1151
- height: 100%;
1152
- }
1153
-
1154
- luzmo-embed-viz-item {
1155
- width: 100%;
1156
- height: 1000%;
1157
- display: block;
1158
- }
1159
- `;
1160
- }
1161
1143
  createRenderRoot() {
1162
1144
  if (!this.style.display) {
1163
1145
  this.style.display = "block";
@@ -1268,6 +1250,20 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1268
1250
  return import_lit3.html` `;
1269
1251
  }
1270
1252
  };
1253
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1254
+ LuzmoBaseVizItem.styles = import_lit3.css`
1255
+ :host {
1256
+ display: block;
1257
+ width: 100%;
1258
+ height: 100%;
1259
+ }
1260
+
1261
+ luzmo-embed-viz-item {
1262
+ width: 100%;
1263
+ height: 1000%;
1264
+ display: block;
1265
+ }
1266
+ `;
1271
1267
  __decorateClass([
1272
1268
  (0, import_decorators2.property)()
1273
1269
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -1361,16 +1357,6 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
1361
1357
  this.remoteEntryServer = "http://localhost:4202/";
1362
1358
  this.aydHost = "https://ayd.luzmo.com/";
1363
1359
  }
1364
- static {
1365
- // Static styles to set host display to block, else it is not shown at all for some reason.
1366
- this.styles = import_lit4.css`
1367
- :host {
1368
- display: block;
1369
- width: 100%;
1370
- height: 100%;
1371
- }
1372
- `;
1373
- }
1374
1360
  createRenderRoot() {
1375
1361
  return this;
1376
1362
  }
@@ -1439,6 +1425,14 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
1439
1425
  observer.observe(embedChat, { childList: true, subtree: true });
1440
1426
  }
1441
1427
  };
1428
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1429
+ LuzmoIQEmbedChatComponent.styles = import_lit4.css`
1430
+ :host {
1431
+ display: block;
1432
+ width: 100%;
1433
+ height: 100%;
1434
+ }
1435
+ `;
1442
1436
  __decorateClass([
1443
1437
  (0, import_decorators3.property)()
1444
1438
  ], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
@@ -1504,16 +1498,6 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
1504
1498
  this.libVersion = version + "-wc-luzmo";
1505
1499
  this.remoteEntryServer = "http://localhost:4202";
1506
1500
  }
1507
- static {
1508
- // Static styles to set host display to block, else it is not shown at all for some reason.
1509
- this.styles = import_lit5.css`
1510
- :host {
1511
- display: block;
1512
- width: 100%;
1513
- height: 100%;
1514
- }
1515
- `;
1516
- }
1517
1501
  createRenderRoot() {
1518
1502
  return this;
1519
1503
  }
@@ -1564,6 +1548,14 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
1564
1548
  return import_lit5.html` `;
1565
1549
  }
1566
1550
  };
1551
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1552
+ LuzmoIQEmbedAnswerComponent.styles = import_lit5.css`
1553
+ :host {
1554
+ display: block;
1555
+ width: 100%;
1556
+ height: 100%;
1557
+ }
1558
+ `;
1567
1559
  __decorateClass([
1568
1560
  (0, import_decorators4.property)()
1569
1561
  ], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
package/index.js CHANGED
@@ -23,7 +23,7 @@ import { property, query, state } from "lit/decorators.js";
23
23
  import { styleMap } from "lit/directives/style-map.js";
24
24
 
25
25
  // libs/embed-libs/embed/package.json
26
- var version = "6.13.1";
26
+ var version = "6.13.2";
27
27
 
28
28
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
29
29
  import * as SharedLib from "@luzmo/shared-embed";
@@ -1080,10 +1080,8 @@ if (!customElements.get("luzmo-embed-dashboard")) {
1080
1080
  customElements.define("luzmo-embed-dashboard", LuzmoEmbedDashboard);
1081
1081
  }
1082
1082
 
1083
- // libs/dashboard-contents-types/src/lib/shared/version.ts
1084
- var CONTENTS_VERSION = "0.1.99";
1085
-
1086
1083
  // libs/embed-libs/embed/src/lib/viz-item/viz-item.base.ts
1084
+ import { CONTENTS_VERSION } from "@luzmo/dashboard-contents-types";
1087
1085
  import * as SharedLib3 from "@luzmo/shared-embed";
1088
1086
  import { css as css2, html as html2, LitElement as LitElement2 } from "lit";
1089
1087
  import { property as property2 } from "lit/decorators.js";
@@ -1100,22 +1098,6 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1100
1098
  this.libVersion = version + "-wc-luzmo";
1101
1099
  this.postInitCallQueue = [];
1102
1100
  }
1103
- static {
1104
- // Static styles to set host display to block, else it is not shown at all for some reason.
1105
- this.styles = css2`
1106
- :host {
1107
- display: block;
1108
- width: 100%;
1109
- height: 100%;
1110
- }
1111
-
1112
- luzmo-embed-viz-item {
1113
- width: 100%;
1114
- height: 1000%;
1115
- display: block;
1116
- }
1117
- `;
1118
- }
1119
1101
  createRenderRoot() {
1120
1102
  if (!this.style.display) {
1121
1103
  this.style.display = "block";
@@ -1226,6 +1208,20 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1226
1208
  return html2` `;
1227
1209
  }
1228
1210
  };
1211
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1212
+ LuzmoBaseVizItem.styles = css2`
1213
+ :host {
1214
+ display: block;
1215
+ width: 100%;
1216
+ height: 100%;
1217
+ }
1218
+
1219
+ luzmo-embed-viz-item {
1220
+ width: 100%;
1221
+ height: 1000%;
1222
+ display: block;
1223
+ }
1224
+ `;
1229
1225
  __decorateClass([
1230
1226
  property2()
1231
1227
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -1319,16 +1315,6 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
1319
1315
  this.remoteEntryServer = "http://localhost:4202/";
1320
1316
  this.aydHost = "https://ayd.luzmo.com/";
1321
1317
  }
1322
- static {
1323
- // Static styles to set host display to block, else it is not shown at all for some reason.
1324
- this.styles = css3`
1325
- :host {
1326
- display: block;
1327
- width: 100%;
1328
- height: 100%;
1329
- }
1330
- `;
1331
- }
1332
1318
  createRenderRoot() {
1333
1319
  return this;
1334
1320
  }
@@ -1397,6 +1383,14 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
1397
1383
  observer.observe(embedChat, { childList: true, subtree: true });
1398
1384
  }
1399
1385
  };
1386
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1387
+ LuzmoIQEmbedChatComponent.styles = css3`
1388
+ :host {
1389
+ display: block;
1390
+ width: 100%;
1391
+ height: 100%;
1392
+ }
1393
+ `;
1400
1394
  __decorateClass([
1401
1395
  property3()
1402
1396
  ], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
@@ -1462,16 +1456,6 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
1462
1456
  this.libVersion = version + "-wc-luzmo";
1463
1457
  this.remoteEntryServer = "http://localhost:4202";
1464
1458
  }
1465
- static {
1466
- // Static styles to set host display to block, else it is not shown at all for some reason.
1467
- this.styles = css4`
1468
- :host {
1469
- display: block;
1470
- width: 100%;
1471
- height: 100%;
1472
- }
1473
- `;
1474
- }
1475
1459
  createRenderRoot() {
1476
1460
  return this;
1477
1461
  }
@@ -1522,6 +1506,14 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
1522
1506
  return html4` `;
1523
1507
  }
1524
1508
  };
1509
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1510
+ LuzmoIQEmbedAnswerComponent.styles = css4`
1511
+ :host {
1512
+ display: block;
1513
+ width: 100%;
1514
+ height: 100%;
1515
+ }
1516
+ `;
1525
1517
  __decorateClass([
1526
1518
  property4()
1527
1519
  ], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);