@luzmo/embed 6.10.0 → 6.11.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 +6 -1
- package/index.cjs +37 -37
- package/index.js +35 -38
- package/luzmo-embed.min.js +68 -37
- package/package.json +9 -3
- package/src/index.d.ts +1 -1
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.11.0] - 2026-03-18
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- Improved library's loading performance.
|
|
9
|
+
|
|
5
10
|
## [6.10.0] - 2026-03-04
|
|
6
11
|
|
|
7
12
|
### Changed
|
|
@@ -11,7 +16,7 @@ All notable changes to this project are documented in this file.
|
|
|
11
16
|
## [6.9.0] - 2026-02-16
|
|
12
17
|
|
|
13
18
|
### Changed
|
|
14
|
-
- Updated dependencies and internal types
|
|
19
|
+
- Updated dependencies and internal types.
|
|
15
20
|
|
|
16
21
|
## [6.8.0] - 2026-02-03
|
|
17
22
|
|
package/index.cjs
CHANGED
|
@@ -48,6 +48,9 @@ __export(index_exports, {
|
|
|
48
48
|
getCachedJSONSchemas: () => getCachedJSONSchemas,
|
|
49
49
|
getJSONSchemaUrl: () => getJSONSchemaUrl,
|
|
50
50
|
luzmoRefParserOptions: () => luzmoRefParserOptions,
|
|
51
|
+
preloadDashboard: () => import_shared_embed4.preloadDashboard,
|
|
52
|
+
preloadIQ: () => import_shared_embed4.preloadIQ,
|
|
53
|
+
preloadVizItem: () => import_shared_embed4.preloadVizItem,
|
|
51
54
|
selectedDataUtils: () => import_shared_embed4.selectedDataUtils
|
|
52
55
|
});
|
|
53
56
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -62,7 +65,7 @@ var import_decorators = require("lit/decorators.js");
|
|
|
62
65
|
var import_style_map = require("lit/directives/style-map.js");
|
|
63
66
|
|
|
64
67
|
// libs/embed-libs/embed/package.json
|
|
65
|
-
var version = "6.
|
|
68
|
+
var version = "6.11.0";
|
|
66
69
|
|
|
67
70
|
// libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
|
|
68
71
|
var SharedLib = __toESM(require("@luzmo/shared-embed"));
|
|
@@ -1122,22 +1125,6 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
1122
1125
|
this.libVersion = version + "-wc-luzmo";
|
|
1123
1126
|
this.postInitCallQueue = [];
|
|
1124
1127
|
}
|
|
1125
|
-
static {
|
|
1126
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1127
|
-
this.styles = import_lit3.css`
|
|
1128
|
-
:host {
|
|
1129
|
-
display: block;
|
|
1130
|
-
width: 100%;
|
|
1131
|
-
height: 100%;
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
luzmo-embed-viz-item {
|
|
1135
|
-
width: 100%;
|
|
1136
|
-
height: 1000%;
|
|
1137
|
-
display: block;
|
|
1138
|
-
}
|
|
1139
|
-
`;
|
|
1140
|
-
}
|
|
1141
1128
|
createRenderRoot() {
|
|
1142
1129
|
if (!this.style.display) {
|
|
1143
1130
|
this.style.display = "block";
|
|
@@ -1248,6 +1235,20 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
1248
1235
|
return import_lit3.html` `;
|
|
1249
1236
|
}
|
|
1250
1237
|
};
|
|
1238
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1239
|
+
LuzmoBaseVizItem.styles = import_lit3.css`
|
|
1240
|
+
:host {
|
|
1241
|
+
display: block;
|
|
1242
|
+
width: 100%;
|
|
1243
|
+
height: 100%;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
luzmo-embed-viz-item {
|
|
1247
|
+
width: 100%;
|
|
1248
|
+
height: 1000%;
|
|
1249
|
+
display: block;
|
|
1250
|
+
}
|
|
1251
|
+
`;
|
|
1251
1252
|
__decorateClass([
|
|
1252
1253
|
(0, import_decorators2.property)()
|
|
1253
1254
|
], LuzmoBaseVizItem.prototype, "appServer", 2);
|
|
@@ -1341,16 +1342,6 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
|
|
|
1341
1342
|
this.remoteEntryServer = "http://localhost:4202/";
|
|
1342
1343
|
this.aydHost = "https://ayd.luzmo.com/";
|
|
1343
1344
|
}
|
|
1344
|
-
static {
|
|
1345
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1346
|
-
this.styles = import_lit4.css`
|
|
1347
|
-
:host {
|
|
1348
|
-
display: block;
|
|
1349
|
-
width: 100%;
|
|
1350
|
-
height: 100%;
|
|
1351
|
-
}
|
|
1352
|
-
`;
|
|
1353
|
-
}
|
|
1354
1345
|
createRenderRoot() {
|
|
1355
1346
|
return this;
|
|
1356
1347
|
}
|
|
@@ -1419,6 +1410,14 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
|
|
|
1419
1410
|
observer.observe(embedChat, { childList: true, subtree: true });
|
|
1420
1411
|
}
|
|
1421
1412
|
};
|
|
1413
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1414
|
+
LuzmoIQEmbedChatComponent.styles = import_lit4.css`
|
|
1415
|
+
:host {
|
|
1416
|
+
display: block;
|
|
1417
|
+
width: 100%;
|
|
1418
|
+
height: 100%;
|
|
1419
|
+
}
|
|
1420
|
+
`;
|
|
1422
1421
|
__decorateClass([
|
|
1423
1422
|
(0, import_decorators3.property)()
|
|
1424
1423
|
], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
|
|
@@ -1484,16 +1483,6 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
|
|
|
1484
1483
|
this.libVersion = version + "-wc-luzmo";
|
|
1485
1484
|
this.remoteEntryServer = "http://localhost:4202";
|
|
1486
1485
|
}
|
|
1487
|
-
static {
|
|
1488
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1489
|
-
this.styles = import_lit5.css`
|
|
1490
|
-
:host {
|
|
1491
|
-
display: block;
|
|
1492
|
-
width: 100%;
|
|
1493
|
-
height: 100%;
|
|
1494
|
-
}
|
|
1495
|
-
`;
|
|
1496
|
-
}
|
|
1497
1486
|
createRenderRoot() {
|
|
1498
1487
|
return this;
|
|
1499
1488
|
}
|
|
@@ -1544,6 +1533,14 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
|
|
|
1544
1533
|
return import_lit5.html` `;
|
|
1545
1534
|
}
|
|
1546
1535
|
};
|
|
1536
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1537
|
+
LuzmoIQEmbedAnswerComponent.styles = import_lit5.css`
|
|
1538
|
+
:host {
|
|
1539
|
+
display: block;
|
|
1540
|
+
width: 100%;
|
|
1541
|
+
height: 100%;
|
|
1542
|
+
}
|
|
1543
|
+
`;
|
|
1547
1544
|
__decorateClass([
|
|
1548
1545
|
(0, import_decorators4.property)()
|
|
1549
1546
|
], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
|
|
@@ -1650,5 +1647,8 @@ import_lit6.LitElement.disableWarning?.("change-in-update");
|
|
|
1650
1647
|
getCachedJSONSchemas,
|
|
1651
1648
|
getJSONSchemaUrl,
|
|
1652
1649
|
luzmoRefParserOptions,
|
|
1650
|
+
preloadDashboard,
|
|
1651
|
+
preloadIQ,
|
|
1652
|
+
preloadVizItem,
|
|
1653
1653
|
selectedDataUtils
|
|
1654
1654
|
});
|
package/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
// libs/embed-libs/embed/src/index.ts
|
|
13
|
-
import { selectedDataUtils } from "@luzmo/shared-embed";
|
|
13
|
+
import { selectedDataUtils, preloadDashboard, preloadVizItem, preloadIQ } from "@luzmo/shared-embed";
|
|
14
14
|
import { LitElement as LitElement5 } from "lit";
|
|
15
15
|
|
|
16
16
|
// libs/embed-libs/embed/src/lib/dashboard/dashboard-base.ts
|
|
@@ -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.
|
|
26
|
+
var version = "6.11.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";
|
|
@@ -1083,22 +1083,6 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
1083
1083
|
this.libVersion = version + "-wc-luzmo";
|
|
1084
1084
|
this.postInitCallQueue = [];
|
|
1085
1085
|
}
|
|
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
1086
|
createRenderRoot() {
|
|
1103
1087
|
if (!this.style.display) {
|
|
1104
1088
|
this.style.display = "block";
|
|
@@ -1209,6 +1193,20 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
1209
1193
|
return html2` `;
|
|
1210
1194
|
}
|
|
1211
1195
|
};
|
|
1196
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1197
|
+
LuzmoBaseVizItem.styles = css2`
|
|
1198
|
+
:host {
|
|
1199
|
+
display: block;
|
|
1200
|
+
width: 100%;
|
|
1201
|
+
height: 100%;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
luzmo-embed-viz-item {
|
|
1205
|
+
width: 100%;
|
|
1206
|
+
height: 1000%;
|
|
1207
|
+
display: block;
|
|
1208
|
+
}
|
|
1209
|
+
`;
|
|
1212
1210
|
__decorateClass([
|
|
1213
1211
|
property2()
|
|
1214
1212
|
], LuzmoBaseVizItem.prototype, "appServer", 2);
|
|
@@ -1302,16 +1300,6 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
|
|
|
1302
1300
|
this.remoteEntryServer = "http://localhost:4202/";
|
|
1303
1301
|
this.aydHost = "https://ayd.luzmo.com/";
|
|
1304
1302
|
}
|
|
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
1303
|
createRenderRoot() {
|
|
1316
1304
|
return this;
|
|
1317
1305
|
}
|
|
@@ -1380,6 +1368,14 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
|
|
|
1380
1368
|
observer.observe(embedChat, { childList: true, subtree: true });
|
|
1381
1369
|
}
|
|
1382
1370
|
};
|
|
1371
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1372
|
+
LuzmoIQEmbedChatComponent.styles = css3`
|
|
1373
|
+
:host {
|
|
1374
|
+
display: block;
|
|
1375
|
+
width: 100%;
|
|
1376
|
+
height: 100%;
|
|
1377
|
+
}
|
|
1378
|
+
`;
|
|
1383
1379
|
__decorateClass([
|
|
1384
1380
|
property3()
|
|
1385
1381
|
], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
|
|
@@ -1445,16 +1441,6 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
|
|
|
1445
1441
|
this.libVersion = version + "-wc-luzmo";
|
|
1446
1442
|
this.remoteEntryServer = "http://localhost:4202";
|
|
1447
1443
|
}
|
|
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
1444
|
createRenderRoot() {
|
|
1459
1445
|
return this;
|
|
1460
1446
|
}
|
|
@@ -1505,6 +1491,14 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
|
|
|
1505
1491
|
return html4` `;
|
|
1506
1492
|
}
|
|
1507
1493
|
};
|
|
1494
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1495
|
+
LuzmoIQEmbedAnswerComponent.styles = css4`
|
|
1496
|
+
:host {
|
|
1497
|
+
display: block;
|
|
1498
|
+
width: 100%;
|
|
1499
|
+
height: 100%;
|
|
1500
|
+
}
|
|
1501
|
+
`;
|
|
1508
1502
|
__decorateClass([
|
|
1509
1503
|
property4()
|
|
1510
1504
|
], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
|
|
@@ -1610,5 +1604,8 @@ export {
|
|
|
1610
1604
|
getCachedJSONSchemas,
|
|
1611
1605
|
getJSONSchemaUrl,
|
|
1612
1606
|
luzmoRefParserOptions,
|
|
1607
|
+
preloadDashboard,
|
|
1608
|
+
preloadIQ,
|
|
1609
|
+
preloadVizItem,
|
|
1613
1610
|
selectedDataUtils
|
|
1614
1611
|
};
|
package/luzmo-embed.min.js
CHANGED
|
@@ -4063,6 +4063,9 @@ __export(index_exports, {
|
|
|
4063
4063
|
getCachedJSONSchemas: () => getCachedJSONSchemas,
|
|
4064
4064
|
getJSONSchemaUrl: () => getJSONSchemaUrl,
|
|
4065
4065
|
luzmoRefParserOptions: () => luzmoRefParserOptions,
|
|
4066
|
+
preloadDashboard: () => preloadDashboard,
|
|
4067
|
+
preloadIQ: () => preloadIQ,
|
|
4068
|
+
preloadVizItem: () => preloadVizItem,
|
|
4066
4069
|
selectedDataUtils: () => selectedDataUtils
|
|
4067
4070
|
});
|
|
4068
4071
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -5291,6 +5294,27 @@ var federationRuntime = (0, import_runtime.createInstance)({
|
|
|
5291
5294
|
});
|
|
5292
5295
|
var remoteCache = /* @__PURE__ */ new Map();
|
|
5293
5296
|
var remoteCounter = 0;
|
|
5297
|
+
var preconnectedOrigins = /* @__PURE__ */ new Set();
|
|
5298
|
+
function injectPreconnect(appServer) {
|
|
5299
|
+
if (typeof document === "undefined") {
|
|
5300
|
+
return;
|
|
5301
|
+
}
|
|
5302
|
+
let origin;
|
|
5303
|
+
try {
|
|
5304
|
+
origin = new URL(removeTrailingSlash(appServer)).origin;
|
|
5305
|
+
} catch {
|
|
5306
|
+
return;
|
|
5307
|
+
}
|
|
5308
|
+
if (preconnectedOrigins.has(origin)) {
|
|
5309
|
+
return;
|
|
5310
|
+
}
|
|
5311
|
+
preconnectedOrigins.add(origin);
|
|
5312
|
+
const link = document.createElement("link");
|
|
5313
|
+
link.rel = "preconnect";
|
|
5314
|
+
link.href = origin;
|
|
5315
|
+
link.crossOrigin = "anonymous";
|
|
5316
|
+
(document.head ?? document.documentElement).append(link);
|
|
5317
|
+
}
|
|
5294
5318
|
function getManifestEntry(appServer, componentName) {
|
|
5295
5319
|
const baseUrl = removeTrailingSlash(appServer);
|
|
5296
5320
|
if (appServer.startsWith("http://localhost")) {
|
|
@@ -5324,6 +5348,7 @@ function getOrCreateRemote(appServer, componentName) {
|
|
|
5324
5348
|
return remote;
|
|
5325
5349
|
}
|
|
5326
5350
|
function loadLibrary(appServer, componentName = "DashboardApp") {
|
|
5351
|
+
injectPreconnect(appServer);
|
|
5327
5352
|
const remote = getOrCreateRemote(appServer, componentName);
|
|
5328
5353
|
if (remote.module) {
|
|
5329
5354
|
return Promise.resolve(remote.module);
|
|
@@ -5351,6 +5376,18 @@ function loadLibrary(appServer, componentName = "DashboardApp") {
|
|
|
5351
5376
|
});
|
|
5352
5377
|
return remote.loadPromise;
|
|
5353
5378
|
}
|
|
5379
|
+
function preloadDashboard(appServer = "https://app.luzmo.com") {
|
|
5380
|
+
loadLibrary(appServer, "DashboardApp").catch(() => {
|
|
5381
|
+
});
|
|
5382
|
+
}
|
|
5383
|
+
function preloadVizItem(appServer = "https://app.luzmo.com") {
|
|
5384
|
+
loadLibrary(appServer, "VizItemApp").catch(() => {
|
|
5385
|
+
});
|
|
5386
|
+
}
|
|
5387
|
+
function preloadIQ(appServer = "https://app.luzmo.com") {
|
|
5388
|
+
loadLibrary(appServer, "IQApp").catch(() => {
|
|
5389
|
+
});
|
|
5390
|
+
}
|
|
5354
5391
|
|
|
5355
5392
|
// node_modules/@lit/reactive-element/css-tag.js
|
|
5356
5393
|
var t = globalThis;
|
|
@@ -6013,7 +6050,7 @@ var o6 = e6(class extends i5 {
|
|
|
6013
6050
|
});
|
|
6014
6051
|
|
|
6015
6052
|
// libs/embed-libs/embed/package.json
|
|
6016
|
-
var version = "6.
|
|
6053
|
+
var version = "6.11.0";
|
|
6017
6054
|
|
|
6018
6055
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
6019
6056
|
var LuzmoDashboardService = class {
|
|
@@ -7066,22 +7103,6 @@ var LuzmoBaseVizItem = class extends i4 {
|
|
|
7066
7103
|
this.libVersion = version + "-wc-luzmo";
|
|
7067
7104
|
this.postInitCallQueue = [];
|
|
7068
7105
|
}
|
|
7069
|
-
static {
|
|
7070
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
7071
|
-
this.styles = i`
|
|
7072
|
-
:host {
|
|
7073
|
-
display: block;
|
|
7074
|
-
width: 100%;
|
|
7075
|
-
height: 100%;
|
|
7076
|
-
}
|
|
7077
|
-
|
|
7078
|
-
luzmo-embed-viz-item {
|
|
7079
|
-
width: 100%;
|
|
7080
|
-
height: 1000%;
|
|
7081
|
-
display: block;
|
|
7082
|
-
}
|
|
7083
|
-
`;
|
|
7084
|
-
}
|
|
7085
7106
|
createRenderRoot() {
|
|
7086
7107
|
if (!this.style.display) {
|
|
7087
7108
|
this.style.display = "block";
|
|
@@ -7192,6 +7213,20 @@ var LuzmoBaseVizItem = class extends i4 {
|
|
|
7192
7213
|
return x` `;
|
|
7193
7214
|
}
|
|
7194
7215
|
};
|
|
7216
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
7217
|
+
LuzmoBaseVizItem.styles = i`
|
|
7218
|
+
:host {
|
|
7219
|
+
display: block;
|
|
7220
|
+
width: 100%;
|
|
7221
|
+
height: 100%;
|
|
7222
|
+
}
|
|
7223
|
+
|
|
7224
|
+
luzmo-embed-viz-item {
|
|
7225
|
+
width: 100%;
|
|
7226
|
+
height: 1000%;
|
|
7227
|
+
display: block;
|
|
7228
|
+
}
|
|
7229
|
+
`;
|
|
7195
7230
|
__decorateClass([
|
|
7196
7231
|
n4()
|
|
7197
7232
|
], LuzmoBaseVizItem.prototype, "appServer", 2);
|
|
@@ -7282,16 +7317,6 @@ var LuzmoIQEmbedChatComponent = class extends i4 {
|
|
|
7282
7317
|
this.remoteEntryServer = "http://localhost:4202/";
|
|
7283
7318
|
this.aydHost = "https://ayd.luzmo.com/";
|
|
7284
7319
|
}
|
|
7285
|
-
static {
|
|
7286
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
7287
|
-
this.styles = i`
|
|
7288
|
-
:host {
|
|
7289
|
-
display: block;
|
|
7290
|
-
width: 100%;
|
|
7291
|
-
height: 100%;
|
|
7292
|
-
}
|
|
7293
|
-
`;
|
|
7294
|
-
}
|
|
7295
7320
|
createRenderRoot() {
|
|
7296
7321
|
return this;
|
|
7297
7322
|
}
|
|
@@ -7360,6 +7385,14 @@ var LuzmoIQEmbedChatComponent = class extends i4 {
|
|
|
7360
7385
|
observer.observe(embedChat, { childList: true, subtree: true });
|
|
7361
7386
|
}
|
|
7362
7387
|
};
|
|
7388
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
7389
|
+
LuzmoIQEmbedChatComponent.styles = i`
|
|
7390
|
+
:host {
|
|
7391
|
+
display: block;
|
|
7392
|
+
width: 100%;
|
|
7393
|
+
height: 100%;
|
|
7394
|
+
}
|
|
7395
|
+
`;
|
|
7363
7396
|
__decorateClass([
|
|
7364
7397
|
n4()
|
|
7365
7398
|
], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
|
|
@@ -7422,16 +7455,6 @@ var LuzmoIQEmbedAnswerComponent = class extends i4 {
|
|
|
7422
7455
|
this.libVersion = version + "-wc-luzmo";
|
|
7423
7456
|
this.remoteEntryServer = "http://localhost:4202";
|
|
7424
7457
|
}
|
|
7425
|
-
static {
|
|
7426
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
7427
|
-
this.styles = i`
|
|
7428
|
-
:host {
|
|
7429
|
-
display: block;
|
|
7430
|
-
width: 100%;
|
|
7431
|
-
height: 100%;
|
|
7432
|
-
}
|
|
7433
|
-
`;
|
|
7434
|
-
}
|
|
7435
7458
|
createRenderRoot() {
|
|
7436
7459
|
return this;
|
|
7437
7460
|
}
|
|
@@ -7482,6 +7505,14 @@ var LuzmoIQEmbedAnswerComponent = class extends i4 {
|
|
|
7482
7505
|
return x` `;
|
|
7483
7506
|
}
|
|
7484
7507
|
};
|
|
7508
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
7509
|
+
LuzmoIQEmbedAnswerComponent.styles = i`
|
|
7510
|
+
:host {
|
|
7511
|
+
display: block;
|
|
7512
|
+
width: 100%;
|
|
7513
|
+
height: 100%;
|
|
7514
|
+
}
|
|
7515
|
+
`;
|
|
7485
7516
|
__decorateClass([
|
|
7486
7517
|
n4()
|
|
7487
7518
|
], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
|
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luzmo/embed",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.11.0-es2021",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"lit": "^3.3.1",
|
|
6
|
-
"@luzmo/shared-embed": "5.
|
|
6
|
+
"@luzmo/shared-embed": "5.10.0"
|
|
7
7
|
},
|
|
8
8
|
"keywords": [
|
|
9
|
+
"es2021",
|
|
10
|
+
"safari-compatible",
|
|
9
11
|
"es6",
|
|
10
12
|
"web-component",
|
|
11
13
|
"lit",
|
|
@@ -21,5 +23,9 @@
|
|
|
21
23
|
],
|
|
22
24
|
"module": "./index.js",
|
|
23
25
|
"types": "./src/index.d.ts",
|
|
24
|
-
"license": "SEE LICENSE IN LICENSE"
|
|
26
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
27
|
+
"description": "ES2021 build for Safari < 16.3 compatibility",
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"tag": "es2021"
|
|
30
|
+
}
|
|
25
31
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type * from '@luzmo/dashboard-contents-types';
|
|
2
2
|
export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, SelectedDataInput, ExportType, DashboardExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode, SetSelectedData, DashboardEditMode, VizItemPostMessageLoadEvent, VizItemPostMessageRenderedEvent, VizItemPostMessageExportedEvent, VizItemPostMessageChangedFiltersEvent, VizItemPostMessageCustomEventEvent, VizItemPostMessageAuthorizationExpiredEvent } from '@luzmo/shared-embed';
|
|
3
|
-
export { selectedDataUtils } from '@luzmo/shared-embed';
|
|
3
|
+
export { selectedDataUtils, preloadDashboard, preloadVizItem, preloadIQ } from '@luzmo/shared-embed';
|
|
4
4
|
export * from './lib/dashboard/dashboard-component';
|
|
5
5
|
export * from './lib/viz-item/viz-item-component';
|
|
6
6
|
export * from './lib/iq-components/luzmo-iq-chat';
|