@luzmo/embed 6.12.0 → 6.13.0-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,6 +2,11 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [6.13.0] - 2026-03-30
6
+
7
+ ### Changed
8
+ - Adapted library to work with Vite v8.
9
+
5
10
  ## [6.12.0] - 2026-03-25
6
11
 
7
12
  ### Changed
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.12.0";
68
+ var version = "6.13.0";
69
69
 
70
70
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
71
71
  var SharedLib = __toESM(require("@luzmo/shared-embed"));
@@ -1108,11 +1108,14 @@ if (!customElements.get("luzmo-embed-dashboard")) {
1108
1108
  customElements.define("luzmo-embed-dashboard", LuzmoEmbedDashboard);
1109
1109
  }
1110
1110
 
1111
+ // libs/dashboard-contents-types/src/lib/shared/version.ts
1112
+ var CONTENTS_VERSION = "0.1.99";
1113
+
1111
1114
  // libs/embed-libs/embed/src/lib/viz-item/viz-item.base.ts
1112
1115
  var SharedLib3 = __toESM(require("@luzmo/shared-embed"));
1113
1116
  var import_lit3 = require("lit");
1114
1117
  var import_decorators2 = require("lit/decorators.js");
1115
- var dashboardContentsVersion = "0.1.99";
1118
+ var dashboardContentsVersion = CONTENTS_VERSION;
1116
1119
  var vizItemRemote = "VizItemApp";
1117
1120
  var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1118
1121
  constructor() {
@@ -1125,22 +1128,6 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1125
1128
  this.libVersion = version + "-wc-luzmo";
1126
1129
  this.postInitCallQueue = [];
1127
1130
  }
1128
- static {
1129
- // Static styles to set host display to block, else it is not shown at all for some reason.
1130
- this.styles = import_lit3.css`
1131
- :host {
1132
- display: block;
1133
- width: 100%;
1134
- height: 100%;
1135
- }
1136
-
1137
- luzmo-embed-viz-item {
1138
- width: 100%;
1139
- height: 1000%;
1140
- display: block;
1141
- }
1142
- `;
1143
- }
1144
1131
  createRenderRoot() {
1145
1132
  if (!this.style.display) {
1146
1133
  this.style.display = "block";
@@ -1251,6 +1238,20 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1251
1238
  return import_lit3.html` `;
1252
1239
  }
1253
1240
  };
1241
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1242
+ LuzmoBaseVizItem.styles = import_lit3.css`
1243
+ :host {
1244
+ display: block;
1245
+ width: 100%;
1246
+ height: 100%;
1247
+ }
1248
+
1249
+ luzmo-embed-viz-item {
1250
+ width: 100%;
1251
+ height: 1000%;
1252
+ display: block;
1253
+ }
1254
+ `;
1254
1255
  __decorateClass([
1255
1256
  (0, import_decorators2.property)()
1256
1257
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -1344,16 +1345,6 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
1344
1345
  this.remoteEntryServer = "http://localhost:4202/";
1345
1346
  this.aydHost = "https://ayd.luzmo.com/";
1346
1347
  }
1347
- static {
1348
- // Static styles to set host display to block, else it is not shown at all for some reason.
1349
- this.styles = import_lit4.css`
1350
- :host {
1351
- display: block;
1352
- width: 100%;
1353
- height: 100%;
1354
- }
1355
- `;
1356
- }
1357
1348
  createRenderRoot() {
1358
1349
  return this;
1359
1350
  }
@@ -1422,6 +1413,14 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
1422
1413
  observer.observe(embedChat, { childList: true, subtree: true });
1423
1414
  }
1424
1415
  };
1416
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1417
+ LuzmoIQEmbedChatComponent.styles = import_lit4.css`
1418
+ :host {
1419
+ display: block;
1420
+ width: 100%;
1421
+ height: 100%;
1422
+ }
1423
+ `;
1425
1424
  __decorateClass([
1426
1425
  (0, import_decorators3.property)()
1427
1426
  ], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
@@ -1487,16 +1486,6 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
1487
1486
  this.libVersion = version + "-wc-luzmo";
1488
1487
  this.remoteEntryServer = "http://localhost:4202";
1489
1488
  }
1490
- static {
1491
- // Static styles to set host display to block, else it is not shown at all for some reason.
1492
- this.styles = import_lit5.css`
1493
- :host {
1494
- display: block;
1495
- width: 100%;
1496
- height: 100%;
1497
- }
1498
- `;
1499
- }
1500
1489
  createRenderRoot() {
1501
1490
  return this;
1502
1491
  }
@@ -1547,6 +1536,14 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
1547
1536
  return import_lit5.html` `;
1548
1537
  }
1549
1538
  };
1539
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1540
+ LuzmoIQEmbedAnswerComponent.styles = import_lit5.css`
1541
+ :host {
1542
+ display: block;
1543
+ width: 100%;
1544
+ height: 100%;
1545
+ }
1546
+ `;
1550
1547
  __decorateClass([
1551
1548
  (0, import_decorators4.property)()
1552
1549
  ], 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.12.0";
26
+ var version = "6.13.0";
27
27
 
28
28
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
29
29
  import * as SharedLib from "@luzmo/shared-embed";
@@ -1066,11 +1066,14 @@ if (!customElements.get("luzmo-embed-dashboard")) {
1066
1066
  customElements.define("luzmo-embed-dashboard", LuzmoEmbedDashboard);
1067
1067
  }
1068
1068
 
1069
+ // libs/dashboard-contents-types/src/lib/shared/version.ts
1070
+ var CONTENTS_VERSION = "0.1.99";
1071
+
1069
1072
  // libs/embed-libs/embed/src/lib/viz-item/viz-item.base.ts
1070
1073
  import * as SharedLib3 from "@luzmo/shared-embed";
1071
1074
  import { css as css2, html as html2, LitElement as LitElement2 } from "lit";
1072
1075
  import { property as property2 } from "lit/decorators.js";
1073
- var dashboardContentsVersion = "0.1.99";
1076
+ var dashboardContentsVersion = CONTENTS_VERSION;
1074
1077
  var vizItemRemote = "VizItemApp";
1075
1078
  var LuzmoBaseVizItem = class extends LitElement2 {
1076
1079
  constructor() {
@@ -1083,22 +1086,6 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1083
1086
  this.libVersion = version + "-wc-luzmo";
1084
1087
  this.postInitCallQueue = [];
1085
1088
  }
1086
- static {
1087
- // Static styles to set host display to block, else it is not shown at all for some reason.
1088
- this.styles = css2`
1089
- :host {
1090
- display: block;
1091
- width: 100%;
1092
- height: 100%;
1093
- }
1094
-
1095
- luzmo-embed-viz-item {
1096
- width: 100%;
1097
- height: 1000%;
1098
- display: block;
1099
- }
1100
- `;
1101
- }
1102
1089
  createRenderRoot() {
1103
1090
  if (!this.style.display) {
1104
1091
  this.style.display = "block";
@@ -1209,6 +1196,20 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1209
1196
  return html2` `;
1210
1197
  }
1211
1198
  };
1199
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1200
+ LuzmoBaseVizItem.styles = css2`
1201
+ :host {
1202
+ display: block;
1203
+ width: 100%;
1204
+ height: 100%;
1205
+ }
1206
+
1207
+ luzmo-embed-viz-item {
1208
+ width: 100%;
1209
+ height: 1000%;
1210
+ display: block;
1211
+ }
1212
+ `;
1212
1213
  __decorateClass([
1213
1214
  property2()
1214
1215
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -1302,16 +1303,6 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
1302
1303
  this.remoteEntryServer = "http://localhost:4202/";
1303
1304
  this.aydHost = "https://ayd.luzmo.com/";
1304
1305
  }
1305
- static {
1306
- // Static styles to set host display to block, else it is not shown at all for some reason.
1307
- this.styles = css3`
1308
- :host {
1309
- display: block;
1310
- width: 100%;
1311
- height: 100%;
1312
- }
1313
- `;
1314
- }
1315
1306
  createRenderRoot() {
1316
1307
  return this;
1317
1308
  }
@@ -1380,6 +1371,14 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
1380
1371
  observer.observe(embedChat, { childList: true, subtree: true });
1381
1372
  }
1382
1373
  };
1374
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1375
+ LuzmoIQEmbedChatComponent.styles = css3`
1376
+ :host {
1377
+ display: block;
1378
+ width: 100%;
1379
+ height: 100%;
1380
+ }
1381
+ `;
1383
1382
  __decorateClass([
1384
1383
  property3()
1385
1384
  ], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
@@ -1445,16 +1444,6 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
1445
1444
  this.libVersion = version + "-wc-luzmo";
1446
1445
  this.remoteEntryServer = "http://localhost:4202";
1447
1446
  }
1448
- static {
1449
- // Static styles to set host display to block, else it is not shown at all for some reason.
1450
- this.styles = css4`
1451
- :host {
1452
- display: block;
1453
- width: 100%;
1454
- height: 100%;
1455
- }
1456
- `;
1457
- }
1458
1447
  createRenderRoot() {
1459
1448
  return this;
1460
1449
  }
@@ -1505,6 +1494,14 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
1505
1494
  return html4` `;
1506
1495
  }
1507
1496
  };
1497
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1498
+ LuzmoIQEmbedAnswerComponent.styles = css4`
1499
+ :host {
1500
+ display: block;
1501
+ width: 100%;
1502
+ height: 100%;
1503
+ }
1504
+ `;
1508
1505
  __decorateClass([
1509
1506
  property4()
1510
1507
  ], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);