@luzmo/embed 6.7.0 → 6.7.1-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 +5 -0
- package/index.cjs +31 -37
- package/index.js +31 -37
- package/luzmo-embed.min.js +44 -50
- package/package.json +10 -5
- package/src/index.d.ts +0 -8
- package/src/lib/dashboard/dashboard-base.d.ts +0 -97
- package/src/lib/dashboard/dashboard-component.d.ts +0 -8
- package/src/lib/dashboard/dashboard-styles.d.ts +0 -1
- package/src/lib/helper/event-bus-handler.d.ts +0 -1
- package/src/lib/helper/json-schema-utils.d.ts +0 -64
- package/src/lib/iq-components/luzmo-iq-answer.d.ts +0 -24
- package/src/lib/iq-components/luzmo-iq-chat.d.ts +0 -27
- package/src/lib/luzmo-service.d.ts +0 -6
- package/src/lib/viz-item/viz-item-component.d.ts +0 -4
- package/src/lib/viz-item/viz-item.base.d.ts +0 -71
package/CHANGELOG.md
CHANGED
package/index.cjs
CHANGED
|
@@ -62,7 +62,7 @@ var import_decorators = require("lit/decorators.js");
|
|
|
62
62
|
var import_style_map = require("lit/directives/style-map.js");
|
|
63
63
|
|
|
64
64
|
// libs/embed-libs/embed/package.json
|
|
65
|
-
var version = "6.7.
|
|
65
|
+
var version = "6.7.1";
|
|
66
66
|
|
|
67
67
|
// libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
|
|
68
68
|
var SharedLib = __toESM(require("@luzmo/shared-embed"));
|
|
@@ -1122,22 +1122,6 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
1122
1122
|
this.libVersion = version + "-wc-luzmo";
|
|
1123
1123
|
this.postInitCallQueue = [];
|
|
1124
1124
|
}
|
|
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
1125
|
createRenderRoot() {
|
|
1142
1126
|
if (!this.style.display) {
|
|
1143
1127
|
this.style.display = "block";
|
|
@@ -1247,6 +1231,20 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
1247
1231
|
return import_lit3.html` `;
|
|
1248
1232
|
}
|
|
1249
1233
|
};
|
|
1234
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1235
|
+
LuzmoBaseVizItem.styles = import_lit3.css`
|
|
1236
|
+
:host {
|
|
1237
|
+
display: block;
|
|
1238
|
+
width: 100%;
|
|
1239
|
+
height: 100%;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
luzmo-embed-viz-item {
|
|
1243
|
+
width: 100%;
|
|
1244
|
+
height: 1000%;
|
|
1245
|
+
display: block;
|
|
1246
|
+
}
|
|
1247
|
+
`;
|
|
1250
1248
|
__decorateClass([
|
|
1251
1249
|
(0, import_decorators2.property)()
|
|
1252
1250
|
], LuzmoBaseVizItem.prototype, "appServer", 2);
|
|
@@ -1340,16 +1338,6 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
|
|
|
1340
1338
|
this.remoteEntryServer = "http://localhost:4202/";
|
|
1341
1339
|
this.aydHost = "https://ayd.luzmo.com/";
|
|
1342
1340
|
}
|
|
1343
|
-
static {
|
|
1344
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1345
|
-
this.styles = import_lit4.css`
|
|
1346
|
-
:host {
|
|
1347
|
-
display: block;
|
|
1348
|
-
width: 100%;
|
|
1349
|
-
height: 100%;
|
|
1350
|
-
}
|
|
1351
|
-
`;
|
|
1352
|
-
}
|
|
1353
1341
|
createRenderRoot() {
|
|
1354
1342
|
return this;
|
|
1355
1343
|
}
|
|
@@ -1418,6 +1406,14 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
|
|
|
1418
1406
|
observer.observe(embedChat, { childList: true, subtree: true });
|
|
1419
1407
|
}
|
|
1420
1408
|
};
|
|
1409
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1410
|
+
LuzmoIQEmbedChatComponent.styles = import_lit4.css`
|
|
1411
|
+
:host {
|
|
1412
|
+
display: block;
|
|
1413
|
+
width: 100%;
|
|
1414
|
+
height: 100%;
|
|
1415
|
+
}
|
|
1416
|
+
`;
|
|
1421
1417
|
__decorateClass([
|
|
1422
1418
|
(0, import_decorators3.property)()
|
|
1423
1419
|
], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
|
|
@@ -1483,16 +1479,6 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
|
|
|
1483
1479
|
this.libVersion = version + "-wc-luzmo";
|
|
1484
1480
|
this.remoteEntryServer = "http://localhost:4202";
|
|
1485
1481
|
}
|
|
1486
|
-
static {
|
|
1487
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1488
|
-
this.styles = import_lit5.css`
|
|
1489
|
-
:host {
|
|
1490
|
-
display: block;
|
|
1491
|
-
width: 100%;
|
|
1492
|
-
height: 100%;
|
|
1493
|
-
}
|
|
1494
|
-
`;
|
|
1495
|
-
}
|
|
1496
1482
|
createRenderRoot() {
|
|
1497
1483
|
return this;
|
|
1498
1484
|
}
|
|
@@ -1543,6 +1529,14 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
|
|
|
1543
1529
|
return import_lit5.html` `;
|
|
1544
1530
|
}
|
|
1545
1531
|
};
|
|
1532
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1533
|
+
LuzmoIQEmbedAnswerComponent.styles = import_lit5.css`
|
|
1534
|
+
:host {
|
|
1535
|
+
display: block;
|
|
1536
|
+
width: 100%;
|
|
1537
|
+
height: 100%;
|
|
1538
|
+
}
|
|
1539
|
+
`;
|
|
1546
1540
|
__decorateClass([
|
|
1547
1541
|
(0, import_decorators4.property)()
|
|
1548
1542
|
], 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.7.
|
|
26
|
+
var version = "6.7.1";
|
|
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";
|
|
@@ -1208,6 +1192,20 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
1208
1192
|
return html2` `;
|
|
1209
1193
|
}
|
|
1210
1194
|
};
|
|
1195
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1196
|
+
LuzmoBaseVizItem.styles = css2`
|
|
1197
|
+
:host {
|
|
1198
|
+
display: block;
|
|
1199
|
+
width: 100%;
|
|
1200
|
+
height: 100%;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
luzmo-embed-viz-item {
|
|
1204
|
+
width: 100%;
|
|
1205
|
+
height: 1000%;
|
|
1206
|
+
display: block;
|
|
1207
|
+
}
|
|
1208
|
+
`;
|
|
1211
1209
|
__decorateClass([
|
|
1212
1210
|
property2()
|
|
1213
1211
|
], LuzmoBaseVizItem.prototype, "appServer", 2);
|
|
@@ -1301,16 +1299,6 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
|
|
|
1301
1299
|
this.remoteEntryServer = "http://localhost:4202/";
|
|
1302
1300
|
this.aydHost = "https://ayd.luzmo.com/";
|
|
1303
1301
|
}
|
|
1304
|
-
static {
|
|
1305
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1306
|
-
this.styles = css3`
|
|
1307
|
-
:host {
|
|
1308
|
-
display: block;
|
|
1309
|
-
width: 100%;
|
|
1310
|
-
height: 100%;
|
|
1311
|
-
}
|
|
1312
|
-
`;
|
|
1313
|
-
}
|
|
1314
1302
|
createRenderRoot() {
|
|
1315
1303
|
return this;
|
|
1316
1304
|
}
|
|
@@ -1379,6 +1367,14 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
|
|
|
1379
1367
|
observer.observe(embedChat, { childList: true, subtree: true });
|
|
1380
1368
|
}
|
|
1381
1369
|
};
|
|
1370
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1371
|
+
LuzmoIQEmbedChatComponent.styles = css3`
|
|
1372
|
+
:host {
|
|
1373
|
+
display: block;
|
|
1374
|
+
width: 100%;
|
|
1375
|
+
height: 100%;
|
|
1376
|
+
}
|
|
1377
|
+
`;
|
|
1382
1378
|
__decorateClass([
|
|
1383
1379
|
property3()
|
|
1384
1380
|
], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
|
|
@@ -1444,16 +1440,6 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
|
|
|
1444
1440
|
this.libVersion = version + "-wc-luzmo";
|
|
1445
1441
|
this.remoteEntryServer = "http://localhost:4202";
|
|
1446
1442
|
}
|
|
1447
|
-
static {
|
|
1448
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1449
|
-
this.styles = css4`
|
|
1450
|
-
:host {
|
|
1451
|
-
display: block;
|
|
1452
|
-
width: 100%;
|
|
1453
|
-
height: 100%;
|
|
1454
|
-
}
|
|
1455
|
-
`;
|
|
1456
|
-
}
|
|
1457
1443
|
createRenderRoot() {
|
|
1458
1444
|
return this;
|
|
1459
1445
|
}
|
|
@@ -1504,6 +1490,14 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
|
|
|
1504
1490
|
return html4` `;
|
|
1505
1491
|
}
|
|
1506
1492
|
};
|
|
1493
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
1494
|
+
LuzmoIQEmbedAnswerComponent.styles = css4`
|
|
1495
|
+
:host {
|
|
1496
|
+
display: block;
|
|
1497
|
+
width: 100%;
|
|
1498
|
+
height: 100%;
|
|
1499
|
+
}
|
|
1500
|
+
`;
|
|
1507
1501
|
__decorateClass([
|
|
1508
1502
|
property4()
|
|
1509
1503
|
], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
|
package/luzmo-embed.min.js
CHANGED
|
@@ -1379,15 +1379,15 @@ var n = class {
|
|
|
1379
1379
|
};
|
|
1380
1380
|
var r = (t4) => new n("string" == typeof t4 ? t4 : t4 + "", void 0, s);
|
|
1381
1381
|
var i = (t4, ...e7) => {
|
|
1382
|
-
const o7 = 1 === t4.length ? t4[0] : e7.reduce((e8, s4, o8) => e8 + ((t5) => {
|
|
1382
|
+
const o7 = 1 === t4.length ? t4[0] : e7.reduce(((e8, s4, o8) => e8 + ((t5) => {
|
|
1383
1383
|
if (true === t5._$cssResult$) return t5.cssText;
|
|
1384
1384
|
if ("number" == typeof t5) return t5;
|
|
1385
1385
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + t5 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
1386
|
-
})(s4) + t4[o8 + 1], t4[0]);
|
|
1386
|
+
})(s4) + t4[o8 + 1]), t4[0]);
|
|
1387
1387
|
return new n(o7, t4, s);
|
|
1388
1388
|
};
|
|
1389
1389
|
var S = (s4, o7) => {
|
|
1390
|
-
if (e) s4.adoptedStyleSheets = o7.map((t4) => t4 instanceof CSSStyleSheet ? t4 : t4.styleSheet);
|
|
1390
|
+
if (e) s4.adoptedStyleSheets = o7.map(((t4) => t4 instanceof CSSStyleSheet ? t4 : t4.styleSheet));
|
|
1391
1391
|
else for (const e7 of o7) {
|
|
1392
1392
|
const o8 = document.createElement("style"), n6 = t.litNonce;
|
|
1393
1393
|
void 0 !== n6 && o8.setAttribute("nonce", n6), o8.textContent = e7.cssText, s4.appendChild(o8);
|
|
@@ -1504,7 +1504,7 @@ var y = class extends HTMLElement {
|
|
|
1504
1504
|
super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
|
|
1505
1505
|
}
|
|
1506
1506
|
_$Ev() {
|
|
1507
|
-
this._$ES = new Promise((t4) => this.enableUpdating = t4), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t4) => t4(this));
|
|
1507
|
+
this._$ES = new Promise(((t4) => this.enableUpdating = t4)), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach(((t4) => t4(this)));
|
|
1508
1508
|
}
|
|
1509
1509
|
addController(t4) {
|
|
1510
1510
|
(this._$EO ??= /* @__PURE__ */ new Set()).add(t4), void 0 !== this.renderRoot && this.isConnected && t4.hostConnected?.();
|
|
@@ -1522,12 +1522,12 @@ var y = class extends HTMLElement {
|
|
|
1522
1522
|
return S(t4, this.constructor.elementStyles), t4;
|
|
1523
1523
|
}
|
|
1524
1524
|
connectedCallback() {
|
|
1525
|
-
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((t4) => t4.hostConnected?.());
|
|
1525
|
+
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach(((t4) => t4.hostConnected?.()));
|
|
1526
1526
|
}
|
|
1527
1527
|
enableUpdating(t4) {
|
|
1528
1528
|
}
|
|
1529
1529
|
disconnectedCallback() {
|
|
1530
|
-
this._$EO?.forEach((t4) => t4.hostDisconnected?.());
|
|
1530
|
+
this._$EO?.forEach(((t4) => t4.hostDisconnected?.()));
|
|
1531
1531
|
}
|
|
1532
1532
|
attributeChangedCallback(t4, s4, i7) {
|
|
1533
1533
|
this._$AK(t4, i7);
|
|
@@ -1586,7 +1586,7 @@ var y = class extends HTMLElement {
|
|
|
1586
1586
|
let t4 = false;
|
|
1587
1587
|
const s4 = this._$AL;
|
|
1588
1588
|
try {
|
|
1589
|
-
t4 = this.shouldUpdate(s4), t4 ? (this.willUpdate(s4), this._$EO?.forEach((t5) => t5.hostUpdate?.()), this.update(s4)) : this._$EM();
|
|
1589
|
+
t4 = this.shouldUpdate(s4), t4 ? (this.willUpdate(s4), this._$EO?.forEach(((t5) => t5.hostUpdate?.())), this.update(s4)) : this._$EM();
|
|
1590
1590
|
} catch (s5) {
|
|
1591
1591
|
throw t4 = false, this._$EM(), s5;
|
|
1592
1592
|
}
|
|
@@ -1595,7 +1595,7 @@ var y = class extends HTMLElement {
|
|
|
1595
1595
|
willUpdate(t4) {
|
|
1596
1596
|
}
|
|
1597
1597
|
_$AE(t4) {
|
|
1598
|
-
this._$EO?.forEach((t5) => t5.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t4)), this.updated(t4);
|
|
1598
|
+
this._$EO?.forEach(((t5) => t5.hostUpdated?.())), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t4)), this.updated(t4);
|
|
1599
1599
|
}
|
|
1600
1600
|
_$EM() {
|
|
1601
1601
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
|
|
@@ -1610,7 +1610,7 @@ var y = class extends HTMLElement {
|
|
|
1610
1610
|
return true;
|
|
1611
1611
|
}
|
|
1612
1612
|
update(t4) {
|
|
1613
|
-
this._$Eq &&= this._$Eq.forEach((t5) => this._$ET(t5, this[t5])), this._$EM();
|
|
1613
|
+
this._$Eq &&= this._$Eq.forEach(((t5) => this._$ET(t5, this[t5]))), this._$EM();
|
|
1614
1614
|
}
|
|
1615
1615
|
updated(t4) {
|
|
1616
1616
|
}
|
|
@@ -1786,7 +1786,7 @@ var R = class _R {
|
|
|
1786
1786
|
e7 < i7.length && (this._$AR(s4 && s4._$AB.nextSibling, e7), i7.length = e7);
|
|
1787
1787
|
}
|
|
1788
1788
|
_$AR(t4 = this._$AA.nextSibling, i7) {
|
|
1789
|
-
for (this._$AP?.(false, true, i7); t4
|
|
1789
|
+
for (this._$AP?.(false, true, i7); t4 !== this._$AB; ) {
|
|
1790
1790
|
const i8 = t4.nextSibling;
|
|
1791
1791
|
t4.remove(), t4 = i8;
|
|
1792
1792
|
}
|
|
@@ -1861,7 +1861,7 @@ var z = class {
|
|
|
1861
1861
|
}
|
|
1862
1862
|
};
|
|
1863
1863
|
var j = t2.litHtmlPolyfillSupport;
|
|
1864
|
-
j?.(N, R), (t2.litHtmlVersions ??= []).push("3.3.
|
|
1864
|
+
j?.(N, R), (t2.litHtmlVersions ??= []).push("3.3.1");
|
|
1865
1865
|
var B = (t4, i7, s4) => {
|
|
1866
1866
|
const e7 = s4?.renderBefore ?? i7;
|
|
1867
1867
|
let h3 = e7._$litPart$;
|
|
@@ -1991,10 +1991,10 @@ var o6 = e6(class extends i5 {
|
|
|
1991
1991
|
if (super(t4), t4.type !== t3.ATTRIBUTE || "style" !== t4.name || t4.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
1992
1992
|
}
|
|
1993
1993
|
render(t4) {
|
|
1994
|
-
return Object.keys(t4).reduce((e7, r6) => {
|
|
1994
|
+
return Object.keys(t4).reduce(((e7, r6) => {
|
|
1995
1995
|
const s4 = t4[r6];
|
|
1996
1996
|
return null == s4 ? e7 : e7 + `${r6 = r6.includes("-") ? r6 : r6.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${s4};`;
|
|
1997
|
-
}, "");
|
|
1997
|
+
}), "");
|
|
1998
1998
|
}
|
|
1999
1999
|
update(e7, [r6]) {
|
|
2000
2000
|
const { style: s4 } = e7.element;
|
|
@@ -2013,7 +2013,7 @@ var o6 = e6(class extends i5 {
|
|
|
2013
2013
|
});
|
|
2014
2014
|
|
|
2015
2015
|
// libs/embed-libs/embed/package.json
|
|
2016
|
-
var version = "6.7.
|
|
2016
|
+
var version = "6.7.1";
|
|
2017
2017
|
|
|
2018
2018
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
2019
2019
|
var LuzmoDashboardService = class {
|
|
@@ -3066,22 +3066,6 @@ var LuzmoBaseVizItem = class extends i4 {
|
|
|
3066
3066
|
this.libVersion = version + "-wc-luzmo";
|
|
3067
3067
|
this.postInitCallQueue = [];
|
|
3068
3068
|
}
|
|
3069
|
-
static {
|
|
3070
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3071
|
-
this.styles = i`
|
|
3072
|
-
:host {
|
|
3073
|
-
display: block;
|
|
3074
|
-
width: 100%;
|
|
3075
|
-
height: 100%;
|
|
3076
|
-
}
|
|
3077
|
-
|
|
3078
|
-
luzmo-embed-viz-item {
|
|
3079
|
-
width: 100%;
|
|
3080
|
-
height: 1000%;
|
|
3081
|
-
display: block;
|
|
3082
|
-
}
|
|
3083
|
-
`;
|
|
3084
|
-
}
|
|
3085
3069
|
createRenderRoot() {
|
|
3086
3070
|
if (!this.style.display) {
|
|
3087
3071
|
this.style.display = "block";
|
|
@@ -3191,6 +3175,20 @@ var LuzmoBaseVizItem = class extends i4 {
|
|
|
3191
3175
|
return x` `;
|
|
3192
3176
|
}
|
|
3193
3177
|
};
|
|
3178
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3179
|
+
LuzmoBaseVizItem.styles = i`
|
|
3180
|
+
:host {
|
|
3181
|
+
display: block;
|
|
3182
|
+
width: 100%;
|
|
3183
|
+
height: 100%;
|
|
3184
|
+
}
|
|
3185
|
+
|
|
3186
|
+
luzmo-embed-viz-item {
|
|
3187
|
+
width: 100%;
|
|
3188
|
+
height: 1000%;
|
|
3189
|
+
display: block;
|
|
3190
|
+
}
|
|
3191
|
+
`;
|
|
3194
3192
|
__decorateClass([
|
|
3195
3193
|
n4()
|
|
3196
3194
|
], LuzmoBaseVizItem.prototype, "appServer", 2);
|
|
@@ -3281,16 +3279,6 @@ var LuzmoIQEmbedChatComponent = class extends i4 {
|
|
|
3281
3279
|
this.remoteEntryServer = "http://localhost:4202/";
|
|
3282
3280
|
this.aydHost = "https://ayd.luzmo.com/";
|
|
3283
3281
|
}
|
|
3284
|
-
static {
|
|
3285
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3286
|
-
this.styles = i`
|
|
3287
|
-
:host {
|
|
3288
|
-
display: block;
|
|
3289
|
-
width: 100%;
|
|
3290
|
-
height: 100%;
|
|
3291
|
-
}
|
|
3292
|
-
`;
|
|
3293
|
-
}
|
|
3294
3282
|
createRenderRoot() {
|
|
3295
3283
|
return this;
|
|
3296
3284
|
}
|
|
@@ -3359,6 +3347,14 @@ var LuzmoIQEmbedChatComponent = class extends i4 {
|
|
|
3359
3347
|
observer.observe(embedChat, { childList: true, subtree: true });
|
|
3360
3348
|
}
|
|
3361
3349
|
};
|
|
3350
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3351
|
+
LuzmoIQEmbedChatComponent.styles = i`
|
|
3352
|
+
:host {
|
|
3353
|
+
display: block;
|
|
3354
|
+
width: 100%;
|
|
3355
|
+
height: 100%;
|
|
3356
|
+
}
|
|
3357
|
+
`;
|
|
3362
3358
|
__decorateClass([
|
|
3363
3359
|
n4()
|
|
3364
3360
|
], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
|
|
@@ -3421,16 +3417,6 @@ var LuzmoIQEmbedAnswerComponent = class extends i4 {
|
|
|
3421
3417
|
this.libVersion = version + "-wc-luzmo";
|
|
3422
3418
|
this.remoteEntryServer = "http://localhost:4202";
|
|
3423
3419
|
}
|
|
3424
|
-
static {
|
|
3425
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3426
|
-
this.styles = i`
|
|
3427
|
-
:host {
|
|
3428
|
-
display: block;
|
|
3429
|
-
width: 100%;
|
|
3430
|
-
height: 100%;
|
|
3431
|
-
}
|
|
3432
|
-
`;
|
|
3433
|
-
}
|
|
3434
3420
|
createRenderRoot() {
|
|
3435
3421
|
return this;
|
|
3436
3422
|
}
|
|
@@ -3481,6 +3467,14 @@ var LuzmoIQEmbedAnswerComponent = class extends i4 {
|
|
|
3481
3467
|
return x` `;
|
|
3482
3468
|
}
|
|
3483
3469
|
};
|
|
3470
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3471
|
+
LuzmoIQEmbedAnswerComponent.styles = i`
|
|
3472
|
+
:host {
|
|
3473
|
+
display: block;
|
|
3474
|
+
width: 100%;
|
|
3475
|
+
height: 100%;
|
|
3476
|
+
}
|
|
3477
|
+
`;
|
|
3484
3478
|
__decorateClass([
|
|
3485
3479
|
n4()
|
|
3486
3480
|
], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luzmo/embed",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.1-es2021",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"lit": "3.3.
|
|
6
|
-
"@luzmo/shared-embed": "5.6.
|
|
7
|
-
"@luzmo/dashboard-contents-types": "1.0.18"
|
|
5
|
+
"lit": "3.3.1",
|
|
6
|
+
"@luzmo/shared-embed": "5.6.1"
|
|
8
7
|
},
|
|
9
8
|
"keywords": [
|
|
9
|
+
"es2021",
|
|
10
|
+
"safari-compatible",
|
|
10
11
|
"es6",
|
|
11
12
|
"web-component",
|
|
12
13
|
"lit",
|
|
@@ -22,5 +23,9 @@
|
|
|
22
23
|
],
|
|
23
24
|
"module": "./index.js",
|
|
24
25
|
"types": "./src/index.d.ts",
|
|
25
|
-
"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
|
+
}
|
|
26
31
|
}
|
package/src/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export type * from '@luzmo/dashboard-contents-types';
|
|
2
|
-
export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, SelectedDataInput, ExportType, DashboardExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode, SetSelectedData, DashboardEditMode, VizItemPostMessageLoadEvent, VizItemPostMessageRenderedEvent, VizItemPostMessageExportedEvent, VizItemPostMessageChangedFiltersEvent, VizItemPostMessageCustomEventEvent } from '@luzmo/shared-embed';
|
|
3
|
-
export { selectedDataUtils } from '@luzmo/shared-embed';
|
|
4
|
-
export * from './lib/dashboard/dashboard-component';
|
|
5
|
-
export * from './lib/viz-item/viz-item-component';
|
|
6
|
-
export * from './lib/iq-components/luzmo-iq-chat';
|
|
7
|
-
export * from './lib/iq-components/luzmo-iq-answer';
|
|
8
|
-
export * from './lib/helper/json-schema-utils';
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import type { FilterGroup } from '@luzmo/dashboard-contents-types';
|
|
2
|
-
import * as SharedLib from '@luzmo/shared-embed';
|
|
3
|
-
import { CombinedSelectedDataInput, DashboardInputs, LuzmoElement, PartialRecord, SupportedLanguage } from '@luzmo/shared-embed';
|
|
4
|
-
import { LitElement, PropertyValues, TemplateResult } from 'lit';
|
|
5
|
-
export declare class LuzmoDashboard extends LitElement implements SharedLib.WebComponentLuzmoDashboard {
|
|
6
|
-
container: HTMLElement;
|
|
7
|
-
luzmoEmbedContainer: HTMLElement;
|
|
8
|
-
iframe: HTMLIFrameElement;
|
|
9
|
-
dashboardId?: SharedLib.DashboardInputs['dashboardId'];
|
|
10
|
-
dashboardSlug?: SharedLib.DashboardInputs['dashboardSlug'];
|
|
11
|
-
itemId?: SharedLib.DashboardInputs['itemId'];
|
|
12
|
-
language: SharedLib.DashboardInputs['language'];
|
|
13
|
-
editorLanguage: SharedLib.DashboardInputs['editorLanguage'];
|
|
14
|
-
qeVersion: SharedLib.DashboardInputs['qeVersion'];
|
|
15
|
-
screenMode: SharedLib.DashboardInputs['screenMode'];
|
|
16
|
-
switchScreenModeOnResize: boolean;
|
|
17
|
-
editMode: SharedLib.DashboardInputs['editMode'];
|
|
18
|
-
theme?: SharedLib.DashboardInputs['theme'];
|
|
19
|
-
mainColor?: SharedLib.DashboardInputs['mainColor'];
|
|
20
|
-
accentColor?: SharedLib.DashboardInputs['accentColor'];
|
|
21
|
-
authToken?: SharedLib.DashboardInputs['authToken'];
|
|
22
|
-
authKey?: SharedLib.DashboardInputs['authKey'];
|
|
23
|
-
loaderBackground?: SharedLib.DashboardInputs['loaderBackground'];
|
|
24
|
-
loaderFontColor?: SharedLib.DashboardInputs['loaderFontColor'];
|
|
25
|
-
loaderSpinnerColor?: SharedLib.DashboardInputs['loaderSpinnerColor'];
|
|
26
|
-
loaderSpinnerBackground?: SharedLib.DashboardInputs['loaderSpinnerBackground'];
|
|
27
|
-
appServer?: SharedLib.DashboardInputs['appServer'];
|
|
28
|
-
timezoneId?: SharedLib.DashboardInputs['timezoneId'];
|
|
29
|
-
apiHost?: SharedLib.DashboardInputs['apiHost'];
|
|
30
|
-
itemDimensions: SharedLib.DashboardInputs['itemDimensions'];
|
|
31
|
-
embedMode: DashboardInputs['embedMode'];
|
|
32
|
-
_containerId: string;
|
|
33
|
-
_iframeId: string;
|
|
34
|
-
params: SharedLib.DashboardContentParams;
|
|
35
|
-
_iframeUrl?: string;
|
|
36
|
-
iframeLoaded: boolean;
|
|
37
|
-
promises: SharedLib.DashboardPromises;
|
|
38
|
-
iframeStyle: SharedLib.IframeStyles;
|
|
39
|
-
_containerStyle: SharedLib.ContainerStyles;
|
|
40
|
-
_loaderStyle: SharedLib.LoaderStyles;
|
|
41
|
-
_lcStyle: SharedLib.LcStyles;
|
|
42
|
-
_loadingCircleStyle: SharedLib.PlStyles;
|
|
43
|
-
_containerLoaderStyle: SharedLib.ContainerLoaderStyles;
|
|
44
|
-
_loaderMsg: string;
|
|
45
|
-
containerWidth?: number;
|
|
46
|
-
dimensions?: SharedLib.DashboardDimensions;
|
|
47
|
-
currentScreenMode?: SharedLib.ScreenMode;
|
|
48
|
-
_itemEmbedding: boolean;
|
|
49
|
-
browserError: boolean;
|
|
50
|
-
browserErrorMsg: string;
|
|
51
|
-
dashboardError: boolean;
|
|
52
|
-
browserNotSupported: any[];
|
|
53
|
-
libVersion: string;
|
|
54
|
-
protected isLibraryLoaded: boolean;
|
|
55
|
-
protected dashboardReference: LuzmoElement;
|
|
56
|
-
currentAuthKey: string;
|
|
57
|
-
currentAuthToken: string;
|
|
58
|
-
isInitCalled: boolean;
|
|
59
|
-
private attributesMap;
|
|
60
|
-
_loadTimeoutHandle?: number;
|
|
61
|
-
_onResize: () => void;
|
|
62
|
-
loaderSize: number;
|
|
63
|
-
borderWidth: number;
|
|
64
|
-
minHeight: number;
|
|
65
|
-
iframeHeight?: string;
|
|
66
|
-
iframeWidth?: string;
|
|
67
|
-
_resizeObserver: ResizeObserver;
|
|
68
|
-
constructor();
|
|
69
|
-
connectedCallback(): void;
|
|
70
|
-
disconnectedCallback(): void;
|
|
71
|
-
firstUpdated(): void;
|
|
72
|
-
initComponent(): void;
|
|
73
|
-
setAllAttributes(): void;
|
|
74
|
-
updated(changedProperties: PropertyValues): void;
|
|
75
|
-
_setOptions(): SharedLib.DashboardContentParams;
|
|
76
|
-
_updateIframeUrl(): void;
|
|
77
|
-
_setupLoader(): void;
|
|
78
|
-
_displayError(): void;
|
|
79
|
-
_calculateDimAfterDashboardLoaded(): void;
|
|
80
|
-
_loaderStyles(): void;
|
|
81
|
-
static get styles(): import("lit").CSSResult[];
|
|
82
|
-
render(): TemplateResult;
|
|
83
|
-
getDashboards(): Promise<LuzmoDashboard[]>;
|
|
84
|
-
getData(itemId: string): Promise<SharedLib.ItemData>;
|
|
85
|
-
getFilters(): Promise<FilterGroup[]>;
|
|
86
|
-
setSelectedData<K extends CombinedSelectedDataInput>(itemId: string, filters: K): Promise<SharedLib.SetSelectedData>;
|
|
87
|
-
setAuthorization(key: string, token: string): Promise<void>;
|
|
88
|
-
refreshData(itemId?: string): Promise<void>;
|
|
89
|
-
reloadDashboard(): Promise<void>;
|
|
90
|
-
exportDashboard(format?: SharedLib.DashboardExportType): Promise<SharedLib.ExportDashboard>;
|
|
91
|
-
getAccessibleDashboards(): Promise<SharedLib.AccessibleDashboard[]>;
|
|
92
|
-
addFilters(itemId: string, filters: FilterGroup[]): Promise<SharedLib.AddFilters>;
|
|
93
|
-
setEditMode(editMode?: SharedLib.DashboardEditMode): Promise<SharedLib.SetEditMode>;
|
|
94
|
-
setPreview(preview: boolean): Promise<SharedLib.SetPreview>;
|
|
95
|
-
sendExportEmail(type?: SharedLib.SendExportEmailType, subject?: PartialRecord<SupportedLanguage, string>, message?: PartialRecord<SupportedLanguage, string>): Promise<void>;
|
|
96
|
-
isWebComponentViewMode(): boolean;
|
|
97
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dashboardStyles: import("lit").CSSResult;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const _setEventHandler: () => void;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Adds JSON schemas to cache.
|
|
3
|
-
*/
|
|
4
|
-
export declare function addJSONSchemas(schemas: any): void;
|
|
5
|
-
/**
|
|
6
|
-
* Returns a cached JSON schema by URL/schema $id.
|
|
7
|
-
*/
|
|
8
|
-
export declare function getCachedJSONSchema(schemaUrl: string): any;
|
|
9
|
-
/**
|
|
10
|
-
* Returns all the cached JSON schemas.
|
|
11
|
-
*/
|
|
12
|
-
export declare function getCachedJSONSchemas(): Record<string, any>;
|
|
13
|
-
/**
|
|
14
|
-
* Returns a URL for a Luzmo JSON schema name.
|
|
15
|
-
*/
|
|
16
|
-
export declare function getJSONSchemaUrl(schemaName: string): string;
|
|
17
|
-
/**
|
|
18
|
-
* Fetches a Luzmo JSON schema. If a schema is cached it's returned.
|
|
19
|
-
*
|
|
20
|
-
* Example usage:
|
|
21
|
-
* const schema = await fetchJSONSchema('viz-item-type');
|
|
22
|
-
*
|
|
23
|
-
* In the example above, a schema https://developer.luzmo.com/assets/json-schemas/{version}/viz-item-type.schema.json
|
|
24
|
-
* will be fetched and cached.
|
|
25
|
-
*/
|
|
26
|
-
export declare function fetchJSONSchema(schemaName: string): Promise<any>;
|
|
27
|
-
/**
|
|
28
|
-
* If you need to dereference Luzmo JSON schemas in your application, you can use @apidevtools/json-schema-ref-parser
|
|
29
|
-
* library and provide the following options for the refParser.dereference() method.
|
|
30
|
-
*
|
|
31
|
-
* Example usage:
|
|
32
|
-
*
|
|
33
|
-
* import * as refParser from '@apidevtools/json-schema-ref-parser';
|
|
34
|
-
* import { fetchJSONSchema, luzmoRefParserOptions } from '@luzmo/embed';
|
|
35
|
-
*
|
|
36
|
-
* async function showDereferencedSchema() {
|
|
37
|
-
* const schema = await fetchJSONSchema('text');
|
|
38
|
-
* const dereferencedSchema = await refParser.dereference(schema, luzmoRefParserOptions);
|
|
39
|
-
* console.log(dereferencedSchema);
|
|
40
|
-
* }
|
|
41
|
-
*
|
|
42
|
-
* Another example:
|
|
43
|
-
*
|
|
44
|
-
* import * as refParser from '@apidevtools/json-schema-ref-parser';
|
|
45
|
-
* import { addJSONSchemas, luzmoRefParserOptions } from '@luzmo/embed';
|
|
46
|
-
* import { TextJSONSchema, TextOptionsJSONSchema } from "@luzmo/dashboard-contents-types";
|
|
47
|
-
*
|
|
48
|
-
* async function showDereferencedSchema() {
|
|
49
|
-
* addJSONSchemas([TextJSONSchema, TextOptionsJSONSchema]);
|
|
50
|
-
* const dereferencedSchema = await refParser.dereference(TextJSONSchema, luzmoRefParserOptions);
|
|
51
|
-
* console.log(dereferencedSchema);
|
|
52
|
-
* }
|
|
53
|
-
*/
|
|
54
|
-
export declare const luzmoRefParserOptions: {
|
|
55
|
-
mutateInputSchema: boolean;
|
|
56
|
-
resolve: {
|
|
57
|
-
luzmo: {
|
|
58
|
-
order: number;
|
|
59
|
-
canRead: (file: any) => boolean;
|
|
60
|
-
read: (file: any, callback: any) => void;
|
|
61
|
-
};
|
|
62
|
-
external: boolean;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IQAnswerOptions, IQMessage } from '@luzmo/dashboard-contents-types';
|
|
2
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
3
|
-
import type { TemplateResult } from 'lit-html';
|
|
4
|
-
export declare class LuzmoIQEmbedAnswerComponent extends LitElement {
|
|
5
|
-
appServer?: string;
|
|
6
|
-
apiHost?: string;
|
|
7
|
-
options?: IQAnswerOptions;
|
|
8
|
-
aiEndPoint?: string;
|
|
9
|
-
authKey?: string;
|
|
10
|
-
authToken?: string;
|
|
11
|
-
messages: IQMessage[];
|
|
12
|
-
version?: string;
|
|
13
|
-
libVersion?: string;
|
|
14
|
-
remoteEntryServer: string;
|
|
15
|
-
chartElement: HTMLElement;
|
|
16
|
-
static styles: import("lit").CSSResult;
|
|
17
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
18
|
-
protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
|
|
19
|
-
private get calculatedAppServer();
|
|
20
|
-
private createAndAppendElement;
|
|
21
|
-
private updateVizItemProperties;
|
|
22
|
-
updated(changedProperties: PropertyValues): Promise<void>;
|
|
23
|
-
protected render(): TemplateResult<1>;
|
|
24
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { IQChatOptions } from '@luzmo/dashboard-contents-types';
|
|
2
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
3
|
-
import type { TemplateResult } from 'lit-html';
|
|
4
|
-
export declare class LuzmoIQEmbedChatComponent extends LitElement {
|
|
5
|
-
appServer?: string;
|
|
6
|
-
apiHost?: string;
|
|
7
|
-
options?: IQChatOptions;
|
|
8
|
-
initialSuggestionsDatasetId?: string;
|
|
9
|
-
aiEndpoint?: string;
|
|
10
|
-
authKey?: string;
|
|
11
|
-
authToken?: string;
|
|
12
|
-
version?: string;
|
|
13
|
-
libVersion?: string;
|
|
14
|
-
remoteEntryServer: string;
|
|
15
|
-
aydHost: string;
|
|
16
|
-
availableDatasets?: string[];
|
|
17
|
-
chartElement: HTMLElement;
|
|
18
|
-
static styles: import("lit").CSSResult;
|
|
19
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
20
|
-
protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
|
|
21
|
-
private get calculatedAppServer();
|
|
22
|
-
private createAndAppendElement;
|
|
23
|
-
private updateVizItemProperties;
|
|
24
|
-
updated(changedProperties: PropertyValues): Promise<void>;
|
|
25
|
-
protected render(): TemplateResult<1>;
|
|
26
|
-
connectedCallback(): void;
|
|
27
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { VizItemExportType, FilterGroup, VizItemOptions, VizItemSlots, VizItemType } from '@luzmo/dashboard-contents-types';
|
|
2
|
-
import * as SharedLib from '@luzmo/shared-embed';
|
|
3
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
4
|
-
/**
|
|
5
|
-
* The version of the dashboard contents that is linked to the current library.
|
|
6
|
-
*
|
|
7
|
-
* If custom options/slots/etc. are passed to the component, the library assumes that
|
|
8
|
-
* they are using this dashboard contents version. Then custom options/slots/etc.
|
|
9
|
-
* together with this dashboard contents version are passed to the dashboard app (https://app.luzmo.com/dashboard-app/remoteEntry.mjs)
|
|
10
|
-
* and if needed the migration will be applied on the dashboard app level.
|
|
11
|
-
*/
|
|
12
|
-
export declare const dashboardContentsVersion = "0.1.98";
|
|
13
|
-
type FunctionCall = [(...args: any) => any, any[]];
|
|
14
|
-
interface LuzmoVizItemComponentInterface extends HTMLElement {
|
|
15
|
-
options?: VizItemOptions;
|
|
16
|
-
type?: VizItemType;
|
|
17
|
-
appServer?: string;
|
|
18
|
-
apiHost?: string;
|
|
19
|
-
slots?: VizItemSlots;
|
|
20
|
-
canFilter?: string[] | 'all';
|
|
21
|
-
filters?: FilterGroup[];
|
|
22
|
-
contextId?: string;
|
|
23
|
-
authKey?: string;
|
|
24
|
-
authToken?: string;
|
|
25
|
-
dashboardId?: string;
|
|
26
|
-
itemId?: string;
|
|
27
|
-
getFilters: () => FilterGroup[];
|
|
28
|
-
export: (type?: VizItemExportType) => void;
|
|
29
|
-
refreshData: () => void;
|
|
30
|
-
getData: () => SharedLib.ItemData;
|
|
31
|
-
setSelectedData: (selectedDataInput: SharedLib.SelectedDataInput) => SharedLib.SetSelectedData;
|
|
32
|
-
setAuthorization: (key: string, token: string) => void;
|
|
33
|
-
}
|
|
34
|
-
export type { LuzmoVizItemComponentInterface };
|
|
35
|
-
export declare class LuzmoBaseVizItem extends LitElement implements LuzmoVizItemComponentInterface {
|
|
36
|
-
appServer?: string;
|
|
37
|
-
apiHost?: string;
|
|
38
|
-
slots?: VizItemSlots;
|
|
39
|
-
options?: VizItemOptions;
|
|
40
|
-
type?: VizItemType;
|
|
41
|
-
authKey?: string;
|
|
42
|
-
authToken?: string;
|
|
43
|
-
version?: string;
|
|
44
|
-
contextId?: string;
|
|
45
|
-
canFilter?: SharedLib.CanFilter;
|
|
46
|
-
filters?: FilterGroup[];
|
|
47
|
-
dashboardId?: string;
|
|
48
|
-
itemId?: string;
|
|
49
|
-
selectedData: SharedLib.SelectedDataInput;
|
|
50
|
-
dashboardContentsVersion?: string;
|
|
51
|
-
libVersion?: string;
|
|
52
|
-
chartElement: HTMLElement & Partial<LuzmoVizItemComponentInterface> & {
|
|
53
|
-
setSelectedData?: (itemId?: string, filters?: SharedLib.SelectedDataInput) => SharedLib.SetSelectedData;
|
|
54
|
-
};
|
|
55
|
-
postInitCallQueue: FunctionCall[];
|
|
56
|
-
static styles: import("lit").CSSResult;
|
|
57
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
58
|
-
canInitializeVizItem(): boolean;
|
|
59
|
-
getFilters(): FilterGroup[];
|
|
60
|
-
export(type?: VizItemExportType): void;
|
|
61
|
-
getData(): SharedLib.ItemData;
|
|
62
|
-
refreshData(): void;
|
|
63
|
-
setSelectedData(selectedDataInput: SharedLib.SelectedDataInput): SharedLib.SetSelectedData;
|
|
64
|
-
setAuthorization(key: string, token: string): void;
|
|
65
|
-
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
66
|
-
protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
|
|
67
|
-
private createAndAppendElement;
|
|
68
|
-
private updateVizItemProperties;
|
|
69
|
-
updated(changedProperties: PropertyValues): Promise<void>;
|
|
70
|
-
protected render(): unknown;
|
|
71
|
-
}
|