@luzmo/embed 6.5.0 → 6.6.1
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 +12 -0
- package/index.cjs +22 -22
- package/index.js +16 -16
- package/luzmo-embed.min.js +68 -177
- package/package.json +3 -4
- package/src/index.d.ts +3 -3
- package/src/lib/luzmo-service.d.ts +4 -4
- package/src/lib/viz-item/viz-item.base.d.ts +1 -1
- /package/src/lib/{dashboard-component → dashboard}/dashboard-base.d.ts +0 -0
- /package/src/lib/{dashboard-component → dashboard}/dashboard-component.d.ts +0 -0
- /package/src/lib/{dashboard-component → dashboard}/dashboard-styles.d.ts +0 -0
- /package/src/lib/{luzmo-iq-components → iq-components}/luzmo-iq-answer.d.ts +0 -0
- /package/src/lib/{luzmo-iq-components → iq-components}/luzmo-iq-chat.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [6.6.1] - 2025-09-02
|
|
6
|
+
|
|
7
|
+
### Updates
|
|
8
|
+
|
|
9
|
+
- Update dependent libraries to latest versions
|
|
10
|
+
|
|
11
|
+
## [6.6.0] - 2025-07-14
|
|
12
|
+
|
|
13
|
+
### Updates
|
|
14
|
+
|
|
15
|
+
- Update dependent libraries to latest versions
|
|
16
|
+
|
|
5
17
|
## [6.5.0] - 2025-06-23
|
|
6
18
|
|
|
7
19
|
### Updates
|
package/index.cjs
CHANGED
|
@@ -31,14 +31,13 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
31
31
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
32
32
|
if (decorator = decorators[i])
|
|
33
33
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
34
|
-
if (kind && result)
|
|
35
|
-
__defProp(target, key, result);
|
|
34
|
+
if (kind && result) __defProp(target, key, result);
|
|
36
35
|
return result;
|
|
37
36
|
};
|
|
38
37
|
|
|
39
38
|
// libs/embed-libs/embed/src/index.ts
|
|
40
|
-
var
|
|
41
|
-
__export(
|
|
39
|
+
var index_exports = {};
|
|
40
|
+
__export(index_exports, {
|
|
42
41
|
LuzmoEmbedDashboard: () => LuzmoEmbedDashboard,
|
|
43
42
|
LuzmoEmbedVizItem: () => LuzmoEmbedVizItem,
|
|
44
43
|
LuzmoIQEmbedAnswerComponent: () => LuzmoIQEmbedAnswerComponent,
|
|
@@ -51,30 +50,30 @@ __export(src_exports, {
|
|
|
51
50
|
luzmoRefParserOptions: () => luzmoRefParserOptions,
|
|
52
51
|
selectedDataUtils: () => import_shared_embed4.selectedDataUtils
|
|
53
52
|
});
|
|
54
|
-
module.exports = __toCommonJS(
|
|
53
|
+
module.exports = __toCommonJS(index_exports);
|
|
55
54
|
var import_shared_embed4 = require("@luzmo/shared-embed");
|
|
56
55
|
var import_lit6 = require("lit");
|
|
57
56
|
|
|
58
|
-
// libs/embed-libs/embed/src/lib/dashboard
|
|
59
|
-
var SharedLib2 = __toESM(require("@luzmo/shared-embed")
|
|
57
|
+
// libs/embed-libs/embed/src/lib/dashboard/dashboard-base.ts
|
|
58
|
+
var SharedLib2 = __toESM(require("@luzmo/shared-embed"));
|
|
60
59
|
var import_shared_embed = require("@luzmo/shared-embed");
|
|
61
60
|
var import_lit2 = require("lit");
|
|
62
61
|
var import_decorators = require("lit/decorators.js");
|
|
63
62
|
var import_style_map = require("lit/directives/style-map.js");
|
|
64
63
|
|
|
65
64
|
// libs/embed-libs/embed/package.json
|
|
66
|
-
var version = "6.
|
|
65
|
+
var version = "6.6.1";
|
|
67
66
|
|
|
68
67
|
// libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
|
|
69
|
-
var SharedLib = __toESM(require("@luzmo/shared-embed")
|
|
68
|
+
var SharedLib = __toESM(require("@luzmo/shared-embed"));
|
|
70
69
|
|
|
71
70
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
72
|
-
var
|
|
71
|
+
var LuzmoDashboardService = class {
|
|
73
72
|
constructor() {
|
|
74
|
-
this.
|
|
73
|
+
this._dashboardComponents = [];
|
|
75
74
|
}
|
|
76
75
|
};
|
|
77
|
-
var luzmo_service_default = new
|
|
76
|
+
var luzmo_service_default = new LuzmoDashboardService();
|
|
78
77
|
|
|
79
78
|
// libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
|
|
80
79
|
var _setEventHandler = () => {
|
|
@@ -82,7 +81,7 @@ var _setEventHandler = () => {
|
|
|
82
81
|
return;
|
|
83
82
|
}
|
|
84
83
|
window.__luzmoMessageHandler = (event) => {
|
|
85
|
-
const dashboardComponent = luzmo_service_default.
|
|
84
|
+
const dashboardComponent = luzmo_service_default._dashboardComponents.find(
|
|
86
85
|
(c) => event.data.name === c._iframeId
|
|
87
86
|
);
|
|
88
87
|
if (!dashboardComponent) {
|
|
@@ -175,6 +174,7 @@ var _setEventHandler = () => {
|
|
|
175
174
|
break;
|
|
176
175
|
}
|
|
177
176
|
case "chartsRendered":
|
|
177
|
+
// TODO remove once chartsRendered is changed to itemsRendered in FE app
|
|
178
178
|
case "itemsRendered": {
|
|
179
179
|
event.data.type = "itemsRendered";
|
|
180
180
|
dashboardComponent.dispatchEvent(
|
|
@@ -246,7 +246,7 @@ var _setEventHandler = () => {
|
|
|
246
246
|
window.addEventListener("message", window.__luzmoMessageHandler, false);
|
|
247
247
|
};
|
|
248
248
|
|
|
249
|
-
// libs/embed-libs/embed/src/lib/dashboard
|
|
249
|
+
// libs/embed-libs/embed/src/lib/dashboard/dashboard-styles.ts
|
|
250
250
|
var import_lit = require("lit");
|
|
251
251
|
var dashboardStyles = import_lit.css`
|
|
252
252
|
:host {
|
|
@@ -363,7 +363,7 @@ var dashboardStyles = import_lit.css`
|
|
|
363
363
|
}
|
|
364
364
|
`;
|
|
365
365
|
|
|
366
|
-
// libs/embed-libs/embed/src/lib/dashboard
|
|
366
|
+
// libs/embed-libs/embed/src/lib/dashboard/dashboard-base.ts
|
|
367
367
|
var dashboardRemote = "DashboardApp";
|
|
368
368
|
var LuzmoDashboard = class extends import_lit2.LitElement {
|
|
369
369
|
constructor() {
|
|
@@ -469,7 +469,7 @@ var LuzmoDashboard = class extends import_lit2.LitElement {
|
|
|
469
469
|
firstUpdated() {
|
|
470
470
|
this._loaderMsg = SharedLib2.getLoader(this)?.loadingMsg;
|
|
471
471
|
this._loaderStyles();
|
|
472
|
-
luzmo_service_default.
|
|
472
|
+
luzmo_service_default._dashboardComponents.push(this);
|
|
473
473
|
if (this.luzmoEmbedContainer) {
|
|
474
474
|
this._resizeObserver.observe(this.luzmoEmbedContainer);
|
|
475
475
|
}
|
|
@@ -813,7 +813,7 @@ var LuzmoDashboard = class extends import_lit2.LitElement {
|
|
|
813
813
|
}
|
|
814
814
|
getDashboards() {
|
|
815
815
|
return new Promise(
|
|
816
|
-
(resolve) => resolve(luzmo_service_default.
|
|
816
|
+
(resolve) => resolve(luzmo_service_default._dashboardComponents)
|
|
817
817
|
);
|
|
818
818
|
}
|
|
819
819
|
// Public methods
|
|
@@ -1090,7 +1090,7 @@ __decorateClass([
|
|
|
1090
1090
|
(0, import_decorators.state)()
|
|
1091
1091
|
], LuzmoDashboard.prototype, "isInitCalled", 2);
|
|
1092
1092
|
|
|
1093
|
-
// libs/embed-libs/embed/src/lib/dashboard
|
|
1093
|
+
// libs/embed-libs/embed/src/lib/dashboard/dashboard-component.ts
|
|
1094
1094
|
var LuzmoEmbedDashboard = class extends LuzmoDashboard {
|
|
1095
1095
|
};
|
|
1096
1096
|
if (!customElements.get("luzmo-embed-dashboard")) {
|
|
@@ -1098,10 +1098,10 @@ if (!customElements.get("luzmo-embed-dashboard")) {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
|
|
1100
1100
|
// libs/embed-libs/embed/src/lib/viz-item/viz-item.base.ts
|
|
1101
|
-
var SharedLib3 = __toESM(require("@luzmo/shared-embed")
|
|
1101
|
+
var SharedLib3 = __toESM(require("@luzmo/shared-embed"));
|
|
1102
1102
|
var import_lit3 = require("lit");
|
|
1103
1103
|
var import_decorators2 = require("lit/decorators.js");
|
|
1104
|
-
var dashboardContentsVersion = "0.1.
|
|
1104
|
+
var dashboardContentsVersion = "0.1.97";
|
|
1105
1105
|
var vizItemRemote = "VizItemApp";
|
|
1106
1106
|
var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
1107
1107
|
constructor() {
|
|
@@ -1303,7 +1303,7 @@ if (!customElements.get("luzmo-embed-viz-item")) {
|
|
|
1303
1303
|
customElements.define("luzmo-embed-viz-item", LuzmoEmbedVizItem);
|
|
1304
1304
|
}
|
|
1305
1305
|
|
|
1306
|
-
// libs/embed-libs/embed/src/lib/
|
|
1306
|
+
// libs/embed-libs/embed/src/lib/iq-components/luzmo-iq-chat.ts
|
|
1307
1307
|
var import_shared_embed2 = require("@luzmo/shared-embed");
|
|
1308
1308
|
var import_lit4 = require("lit");
|
|
1309
1309
|
var import_decorators3 = require("lit/decorators.js");
|
|
@@ -1450,7 +1450,7 @@ if (!customElements.get(embedChatTag)) {
|
|
|
1450
1450
|
customElements.define(embedChatTag, LuzmoIQEmbedChatComponent);
|
|
1451
1451
|
}
|
|
1452
1452
|
|
|
1453
|
-
// libs/embed-libs/embed/src/lib/
|
|
1453
|
+
// libs/embed-libs/embed/src/lib/iq-components/luzmo-iq-answer.ts
|
|
1454
1454
|
var import_lit5 = require("lit");
|
|
1455
1455
|
var import_decorators4 = require("lit/decorators.js");
|
|
1456
1456
|
var import_shared_embed3 = require("@luzmo/shared-embed");
|
package/index.js
CHANGED
|
@@ -5,8 +5,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
5
5
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
6
6
|
if (decorator = decorators[i])
|
|
7
7
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8
|
-
if (kind && result)
|
|
9
|
-
__defProp(target, key, result);
|
|
8
|
+
if (kind && result) __defProp(target, key, result);
|
|
10
9
|
return result;
|
|
11
10
|
};
|
|
12
11
|
|
|
@@ -14,7 +13,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
14
13
|
import { selectedDataUtils } from "@luzmo/shared-embed";
|
|
15
14
|
import { LitElement as LitElement5 } from "lit";
|
|
16
15
|
|
|
17
|
-
// libs/embed-libs/embed/src/lib/dashboard
|
|
16
|
+
// libs/embed-libs/embed/src/lib/dashboard/dashboard-base.ts
|
|
18
17
|
import * as SharedLib2 from "@luzmo/shared-embed";
|
|
19
18
|
import {
|
|
20
19
|
luzmoEmbedContainerClass
|
|
@@ -24,18 +23,18 @@ import { property, query, state } from "lit/decorators.js";
|
|
|
24
23
|
import { styleMap } from "lit/directives/style-map.js";
|
|
25
24
|
|
|
26
25
|
// libs/embed-libs/embed/package.json
|
|
27
|
-
var version = "6.
|
|
26
|
+
var version = "6.6.1";
|
|
28
27
|
|
|
29
28
|
// libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
|
|
30
29
|
import * as SharedLib from "@luzmo/shared-embed";
|
|
31
30
|
|
|
32
31
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
33
|
-
var
|
|
32
|
+
var LuzmoDashboardService = class {
|
|
34
33
|
constructor() {
|
|
35
|
-
this.
|
|
34
|
+
this._dashboardComponents = [];
|
|
36
35
|
}
|
|
37
36
|
};
|
|
38
|
-
var luzmo_service_default = new
|
|
37
|
+
var luzmo_service_default = new LuzmoDashboardService();
|
|
39
38
|
|
|
40
39
|
// libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
|
|
41
40
|
var _setEventHandler = () => {
|
|
@@ -43,7 +42,7 @@ var _setEventHandler = () => {
|
|
|
43
42
|
return;
|
|
44
43
|
}
|
|
45
44
|
window.__luzmoMessageHandler = (event) => {
|
|
46
|
-
const dashboardComponent = luzmo_service_default.
|
|
45
|
+
const dashboardComponent = luzmo_service_default._dashboardComponents.find(
|
|
47
46
|
(c) => event.data.name === c._iframeId
|
|
48
47
|
);
|
|
49
48
|
if (!dashboardComponent) {
|
|
@@ -136,6 +135,7 @@ var _setEventHandler = () => {
|
|
|
136
135
|
break;
|
|
137
136
|
}
|
|
138
137
|
case "chartsRendered":
|
|
138
|
+
// TODO remove once chartsRendered is changed to itemsRendered in FE app
|
|
139
139
|
case "itemsRendered": {
|
|
140
140
|
event.data.type = "itemsRendered";
|
|
141
141
|
dashboardComponent.dispatchEvent(
|
|
@@ -207,7 +207,7 @@ var _setEventHandler = () => {
|
|
|
207
207
|
window.addEventListener("message", window.__luzmoMessageHandler, false);
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
// libs/embed-libs/embed/src/lib/dashboard
|
|
210
|
+
// libs/embed-libs/embed/src/lib/dashboard/dashboard-styles.ts
|
|
211
211
|
import { css } from "lit";
|
|
212
212
|
var dashboardStyles = css`
|
|
213
213
|
:host {
|
|
@@ -324,7 +324,7 @@ var dashboardStyles = css`
|
|
|
324
324
|
}
|
|
325
325
|
`;
|
|
326
326
|
|
|
327
|
-
// libs/embed-libs/embed/src/lib/dashboard
|
|
327
|
+
// libs/embed-libs/embed/src/lib/dashboard/dashboard-base.ts
|
|
328
328
|
var dashboardRemote = "DashboardApp";
|
|
329
329
|
var LuzmoDashboard = class extends LitElement {
|
|
330
330
|
constructor() {
|
|
@@ -430,7 +430,7 @@ var LuzmoDashboard = class extends LitElement {
|
|
|
430
430
|
firstUpdated() {
|
|
431
431
|
this._loaderMsg = SharedLib2.getLoader(this)?.loadingMsg;
|
|
432
432
|
this._loaderStyles();
|
|
433
|
-
luzmo_service_default.
|
|
433
|
+
luzmo_service_default._dashboardComponents.push(this);
|
|
434
434
|
if (this.luzmoEmbedContainer) {
|
|
435
435
|
this._resizeObserver.observe(this.luzmoEmbedContainer);
|
|
436
436
|
}
|
|
@@ -774,7 +774,7 @@ var LuzmoDashboard = class extends LitElement {
|
|
|
774
774
|
}
|
|
775
775
|
getDashboards() {
|
|
776
776
|
return new Promise(
|
|
777
|
-
(resolve) => resolve(luzmo_service_default.
|
|
777
|
+
(resolve) => resolve(luzmo_service_default._dashboardComponents)
|
|
778
778
|
);
|
|
779
779
|
}
|
|
780
780
|
// Public methods
|
|
@@ -1051,7 +1051,7 @@ __decorateClass([
|
|
|
1051
1051
|
state()
|
|
1052
1052
|
], LuzmoDashboard.prototype, "isInitCalled", 2);
|
|
1053
1053
|
|
|
1054
|
-
// libs/embed-libs/embed/src/lib/dashboard
|
|
1054
|
+
// libs/embed-libs/embed/src/lib/dashboard/dashboard-component.ts
|
|
1055
1055
|
var LuzmoEmbedDashboard = class extends LuzmoDashboard {
|
|
1056
1056
|
};
|
|
1057
1057
|
if (!customElements.get("luzmo-embed-dashboard")) {
|
|
@@ -1062,7 +1062,7 @@ if (!customElements.get("luzmo-embed-dashboard")) {
|
|
|
1062
1062
|
import * as SharedLib3 from "@luzmo/shared-embed";
|
|
1063
1063
|
import { css as css2, html as html2, LitElement as LitElement2 } from "lit";
|
|
1064
1064
|
import { property as property2 } from "lit/decorators.js";
|
|
1065
|
-
var dashboardContentsVersion = "0.1.
|
|
1065
|
+
var dashboardContentsVersion = "0.1.97";
|
|
1066
1066
|
var vizItemRemote = "VizItemApp";
|
|
1067
1067
|
var LuzmoBaseVizItem = class extends LitElement2 {
|
|
1068
1068
|
constructor() {
|
|
@@ -1264,7 +1264,7 @@ if (!customElements.get("luzmo-embed-viz-item")) {
|
|
|
1264
1264
|
customElements.define("luzmo-embed-viz-item", LuzmoEmbedVizItem);
|
|
1265
1265
|
}
|
|
1266
1266
|
|
|
1267
|
-
// libs/embed-libs/embed/src/lib/
|
|
1267
|
+
// libs/embed-libs/embed/src/lib/iq-components/luzmo-iq-chat.ts
|
|
1268
1268
|
import { loadLibrary as loadLibrary3, removeTrailingSlash as removeTrailingSlash3 } from "@luzmo/shared-embed";
|
|
1269
1269
|
import { css as css3, html as html3, LitElement as LitElement3 } from "lit";
|
|
1270
1270
|
import { property as property3 } from "lit/decorators.js";
|
|
@@ -1411,7 +1411,7 @@ if (!customElements.get(embedChatTag)) {
|
|
|
1411
1411
|
customElements.define(embedChatTag, LuzmoIQEmbedChatComponent);
|
|
1412
1412
|
}
|
|
1413
1413
|
|
|
1414
|
-
// libs/embed-libs/embed/src/lib/
|
|
1414
|
+
// libs/embed-libs/embed/src/lib/iq-components/luzmo-iq-answer.ts
|
|
1415
1415
|
import { css as css4, html as html4, LitElement as LitElement4 } from "lit";
|
|
1416
1416
|
import { property as property4 } from "lit/decorators.js";
|
|
1417
1417
|
import { loadLibrary as loadLibrary4, removeTrailingSlash as removeTrailingSlash4 } from "@luzmo/shared-embed";
|
package/luzmo-embed.min.js
CHANGED
|
@@ -22,14 +22,13 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
22
22
|
for (var i7 = decorators.length - 1, decorator; i7 >= 0; i7--)
|
|
23
23
|
if (decorator = decorators[i7])
|
|
24
24
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
25
|
-
if (kind && result)
|
|
26
|
-
__defProp(target, key, result);
|
|
25
|
+
if (kind && result) __defProp(target, key, result);
|
|
27
26
|
return result;
|
|
28
27
|
};
|
|
29
28
|
|
|
30
29
|
// libs/embed-libs/embed/src/index.ts
|
|
31
|
-
var
|
|
32
|
-
__export(
|
|
30
|
+
var index_exports = {};
|
|
31
|
+
__export(index_exports, {
|
|
33
32
|
LuzmoEmbedDashboard: () => LuzmoEmbedDashboard,
|
|
34
33
|
LuzmoEmbedVizItem: () => LuzmoEmbedVizItem,
|
|
35
34
|
LuzmoIQEmbedAnswerComponent: () => LuzmoIQEmbedAnswerComponent,
|
|
@@ -42,7 +41,7 @@ __export(src_exports2, {
|
|
|
42
41
|
luzmoRefParserOptions: () => luzmoRefParserOptions,
|
|
43
42
|
selectedDataUtils: () => selectedDataUtils
|
|
44
43
|
});
|
|
45
|
-
module.exports = __toCommonJS(
|
|
44
|
+
module.exports = __toCommonJS(index_exports);
|
|
46
45
|
|
|
47
46
|
// libs/embed-libs/shared-embed/src/lib/helpers/error.ts
|
|
48
47
|
var _handleError = (errorMessage, parameters) => {
|
|
@@ -1344,8 +1343,7 @@ var s = Symbol();
|
|
|
1344
1343
|
var o = /* @__PURE__ */ new WeakMap();
|
|
1345
1344
|
var n = class {
|
|
1346
1345
|
constructor(t4, e7, o7) {
|
|
1347
|
-
if (this._$cssResult$ = true, o7 !== s)
|
|
1348
|
-
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1346
|
+
if (this._$cssResult$ = true, o7 !== s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1349
1347
|
this.cssText = t4, this.t = e7;
|
|
1350
1348
|
}
|
|
1351
1349
|
get styleSheet() {
|
|
@@ -1364,27 +1362,22 @@ var n = class {
|
|
|
1364
1362
|
var r = (t4) => new n("string" == typeof t4 ? t4 : t4 + "", void 0, s);
|
|
1365
1363
|
var i = (t4, ...e7) => {
|
|
1366
1364
|
const o7 = 1 === t4.length ? t4[0] : e7.reduce((e8, s4, o8) => e8 + ((t5) => {
|
|
1367
|
-
if (true === t5._$cssResult$)
|
|
1368
|
-
|
|
1369
|
-
if ("number" == typeof t5)
|
|
1370
|
-
return t5;
|
|
1365
|
+
if (true === t5._$cssResult$) return t5.cssText;
|
|
1366
|
+
if ("number" == typeof t5) return t5;
|
|
1371
1367
|
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.");
|
|
1372
1368
|
})(s4) + t4[o8 + 1], t4[0]);
|
|
1373
1369
|
return new n(o7, t4, s);
|
|
1374
1370
|
};
|
|
1375
1371
|
var S = (s4, o7) => {
|
|
1376
|
-
if (e)
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
void 0 !== n6 && o8.setAttribute("nonce", n6), o8.textContent = e7.cssText, s4.appendChild(o8);
|
|
1382
|
-
}
|
|
1372
|
+
if (e) s4.adoptedStyleSheets = o7.map((t4) => t4 instanceof CSSStyleSheet ? t4 : t4.styleSheet);
|
|
1373
|
+
else for (const e7 of o7) {
|
|
1374
|
+
const o8 = document.createElement("style"), n6 = t.litNonce;
|
|
1375
|
+
void 0 !== n6 && o8.setAttribute("nonce", n6), o8.textContent = e7.cssText, s4.appendChild(o8);
|
|
1376
|
+
}
|
|
1383
1377
|
};
|
|
1384
1378
|
var c = e ? (t4) => t4 : (t4) => t4 instanceof CSSStyleSheet ? ((t5) => {
|
|
1385
1379
|
let e7 = "";
|
|
1386
|
-
for (const s4 of t5.cssRules)
|
|
1387
|
-
e7 += s4.cssText;
|
|
1380
|
+
for (const s4 of t5.cssRules) e7 += s4.cssText;
|
|
1388
1381
|
return r(e7);
|
|
1389
1382
|
})(t4) : t4;
|
|
1390
1383
|
|
|
@@ -1455,25 +1448,20 @@ var y = class extends HTMLElement {
|
|
|
1455
1448
|
return this.elementProperties.get(t4) ?? b;
|
|
1456
1449
|
}
|
|
1457
1450
|
static _$Ei() {
|
|
1458
|
-
if (this.hasOwnProperty(d("elementProperties")))
|
|
1459
|
-
return;
|
|
1451
|
+
if (this.hasOwnProperty(d("elementProperties"))) return;
|
|
1460
1452
|
const t4 = n2(this);
|
|
1461
1453
|
t4.finalize(), void 0 !== t4.l && (this.l = [...t4.l]), this.elementProperties = new Map(t4.elementProperties);
|
|
1462
1454
|
}
|
|
1463
1455
|
static finalize() {
|
|
1464
|
-
if (this.hasOwnProperty(d("finalized")))
|
|
1465
|
-
return;
|
|
1456
|
+
if (this.hasOwnProperty(d("finalized"))) return;
|
|
1466
1457
|
if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d("properties"))) {
|
|
1467
1458
|
const t5 = this.properties, s4 = [...r2(t5), ...o2(t5)];
|
|
1468
|
-
for (const i7 of s4)
|
|
1469
|
-
this.createProperty(i7, t5[i7]);
|
|
1459
|
+
for (const i7 of s4) this.createProperty(i7, t5[i7]);
|
|
1470
1460
|
}
|
|
1471
1461
|
const t4 = this[Symbol.metadata];
|
|
1472
1462
|
if (null !== t4) {
|
|
1473
1463
|
const s4 = litPropertyMetadata.get(t4);
|
|
1474
|
-
if (void 0 !== s4)
|
|
1475
|
-
for (const [t5, i7] of s4)
|
|
1476
|
-
this.elementProperties.set(t5, i7);
|
|
1464
|
+
if (void 0 !== s4) for (const [t5, i7] of s4) this.elementProperties.set(t5, i7);
|
|
1477
1465
|
}
|
|
1478
1466
|
this._$Eh = /* @__PURE__ */ new Map();
|
|
1479
1467
|
for (const [t5, s4] of this.elementProperties) {
|
|
@@ -1486,10 +1474,8 @@ var y = class extends HTMLElement {
|
|
|
1486
1474
|
const i7 = [];
|
|
1487
1475
|
if (Array.isArray(s4)) {
|
|
1488
1476
|
const e7 = new Set(s4.flat(1 / 0).reverse());
|
|
1489
|
-
for (const s5 of e7)
|
|
1490
|
-
|
|
1491
|
-
} else
|
|
1492
|
-
void 0 !== s4 && i7.push(c(s4));
|
|
1477
|
+
for (const s5 of e7) i7.unshift(c(s5));
|
|
1478
|
+
} else void 0 !== s4 && i7.push(c(s4));
|
|
1493
1479
|
return i7;
|
|
1494
1480
|
}
|
|
1495
1481
|
static _$Eu(t4, s4) {
|
|
@@ -1510,8 +1496,7 @@ var y = class extends HTMLElement {
|
|
|
1510
1496
|
}
|
|
1511
1497
|
_$E_() {
|
|
1512
1498
|
const t4 = /* @__PURE__ */ new Map(), s4 = this.constructor.elementProperties;
|
|
1513
|
-
for (const i7 of s4.keys())
|
|
1514
|
-
this.hasOwnProperty(i7) && (t4.set(i7, this[i7]), delete this[i7]);
|
|
1499
|
+
for (const i7 of s4.keys()) this.hasOwnProperty(i7) && (t4.set(i7, this[i7]), delete this[i7]);
|
|
1515
1500
|
t4.size > 0 && (this._$Ep = t4);
|
|
1516
1501
|
}
|
|
1517
1502
|
createRenderRoot() {
|
|
@@ -1546,8 +1531,7 @@ var y = class extends HTMLElement {
|
|
|
1546
1531
|
requestUpdate(t4, s4, i7) {
|
|
1547
1532
|
if (void 0 !== t4) {
|
|
1548
1533
|
const e7 = this.constructor, h3 = this[t4];
|
|
1549
|
-
if (i7 ??= e7.getPropertyOptions(t4), !((i7.hasChanged ?? f)(h3, s4) || i7.useDefault && i7.reflect && h3 === this._$Ej?.get(t4) && !this.hasAttribute(e7._$Eu(t4, i7))))
|
|
1550
|
-
return;
|
|
1534
|
+
if (i7 ??= e7.getPropertyOptions(t4), !((i7.hasChanged ?? f)(h3, s4) || i7.useDefault && i7.reflect && h3 === this._$Ej?.get(t4) && !this.hasAttribute(e7._$Eu(t4, i7)))) return;
|
|
1551
1535
|
this.C(t4, s4, i7);
|
|
1552
1536
|
}
|
|
1553
1537
|
false === this.isUpdatePending && (this._$ES = this._$EP());
|
|
@@ -1569,20 +1553,17 @@ var y = class extends HTMLElement {
|
|
|
1569
1553
|
return this.performUpdate();
|
|
1570
1554
|
}
|
|
1571
1555
|
performUpdate() {
|
|
1572
|
-
if (!this.isUpdatePending)
|
|
1573
|
-
return;
|
|
1556
|
+
if (!this.isUpdatePending) return;
|
|
1574
1557
|
if (!this.hasUpdated) {
|
|
1575
1558
|
if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
|
|
1576
|
-
for (const [t6, s5] of this._$Ep)
|
|
1577
|
-
this[t6] = s5;
|
|
1559
|
+
for (const [t6, s5] of this._$Ep) this[t6] = s5;
|
|
1578
1560
|
this._$Ep = void 0;
|
|
1579
1561
|
}
|
|
1580
1562
|
const t5 = this.constructor.elementProperties;
|
|
1581
|
-
if (t5.size > 0)
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
}
|
|
1563
|
+
if (t5.size > 0) for (const [s5, i7] of t5) {
|
|
1564
|
+
const { wrapped: t6 } = i7, e7 = this[s5];
|
|
1565
|
+
true !== t6 || this._$AL.has(s5) || void 0 === e7 || this.C(s5, void 0, i7, e7);
|
|
1566
|
+
}
|
|
1586
1567
|
}
|
|
1587
1568
|
let t4 = false;
|
|
1588
1569
|
const s4 = this._$AL;
|
|
@@ -1651,8 +1632,7 @@ var E = Symbol.for("lit-nothing");
|
|
|
1651
1632
|
var A = /* @__PURE__ */ new WeakMap();
|
|
1652
1633
|
var C = r3.createTreeWalker(r3, 129);
|
|
1653
1634
|
function P(t4, i7) {
|
|
1654
|
-
if (!a2(t4) || !t4.hasOwnProperty("raw"))
|
|
1655
|
-
throw Error("invalid template strings array");
|
|
1635
|
+
if (!a2(t4) || !t4.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1656
1636
|
return void 0 !== s2 ? s2.createHTML(i7) : i7;
|
|
1657
1637
|
}
|
|
1658
1638
|
var V = (t4, i7) => {
|
|
@@ -1661,8 +1641,7 @@ var V = (t4, i7) => {
|
|
|
1661
1641
|
for (let i8 = 0; i8 < s4; i8++) {
|
|
1662
1642
|
const s5 = t4[i8];
|
|
1663
1643
|
let a3, u3, d3 = -1, y3 = 0;
|
|
1664
|
-
for (; y3 < s5.length && (c4.lastIndex = y3, u3 = c4.exec(s5), null !== u3); )
|
|
1665
|
-
y3 = c4.lastIndex, c4 === f2 ? "!--" === u3[1] ? c4 = v : void 0 !== u3[1] ? c4 = _ : void 0 !== u3[2] ? ($.test(u3[2]) && (r6 = RegExp("</" + u3[2], "g")), c4 = m) : void 0 !== u3[3] && (c4 = m) : c4 === m ? ">" === u3[0] ? (c4 = r6 ?? f2, d3 = -1) : void 0 === u3[1] ? d3 = -2 : (d3 = c4.lastIndex - u3[2].length, a3 = u3[1], c4 = void 0 === u3[3] ? m : '"' === u3[3] ? g : p2) : c4 === g || c4 === p2 ? c4 = m : c4 === v || c4 === _ ? c4 = f2 : (c4 = m, r6 = void 0);
|
|
1644
|
+
for (; y3 < s5.length && (c4.lastIndex = y3, u3 = c4.exec(s5), null !== u3); ) y3 = c4.lastIndex, c4 === f2 ? "!--" === u3[1] ? c4 = v : void 0 !== u3[1] ? c4 = _ : void 0 !== u3[2] ? ($.test(u3[2]) && (r6 = RegExp("</" + u3[2], "g")), c4 = m) : void 0 !== u3[3] && (c4 = m) : c4 === m ? ">" === u3[0] ? (c4 = r6 ?? f2, d3 = -1) : void 0 === u3[1] ? d3 = -2 : (d3 = c4.lastIndex - u3[2].length, a3 = u3[1], c4 = void 0 === u3[3] ? m : '"' === u3[3] ? g : p2) : c4 === g || c4 === p2 ? c4 = m : c4 === v || c4 === _ ? c4 = f2 : (c4 = m, r6 = void 0);
|
|
1666
1645
|
const x2 = c4 === m && t4[i8 + 1].startsWith("/>") ? " " : "";
|
|
1667
1646
|
l3 += c4 === f2 ? s5 + n3 : d3 >= 0 ? (o7.push(a3), s5.slice(0, d3) + e3 + s5.slice(d3) + h2 + x2) : s5 + h2 + (-2 === d3 ? i8 : x2);
|
|
1668
1647
|
}
|
|
@@ -1680,30 +1659,23 @@ var N = class _N {
|
|
|
1680
1659
|
}
|
|
1681
1660
|
for (; null !== (r6 = C.nextNode()) && d3.length < u3; ) {
|
|
1682
1661
|
if (1 === r6.nodeType) {
|
|
1683
|
-
if (r6.hasAttributes())
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
d3.push({ type: 1, index: c4, name: e7[2], strings: s5, ctor: "." === e7[1] ? H : "?" === e7[1] ? I : "@" === e7[1] ? L : k }), r6.removeAttribute(t5);
|
|
1688
|
-
} else
|
|
1689
|
-
t5.startsWith(h2) && (d3.push({ type: 6, index: c4 }), r6.removeAttribute(t5));
|
|
1662
|
+
if (r6.hasAttributes()) for (const t5 of r6.getAttributeNames()) if (t5.endsWith(e3)) {
|
|
1663
|
+
const i7 = v2[a3++], s5 = r6.getAttribute(t5).split(h2), e7 = /([.?@])?(.*)/.exec(i7);
|
|
1664
|
+
d3.push({ type: 1, index: c4, name: e7[2], strings: s5, ctor: "." === e7[1] ? H : "?" === e7[1] ? I : "@" === e7[1] ? L : k }), r6.removeAttribute(t5);
|
|
1665
|
+
} else t5.startsWith(h2) && (d3.push({ type: 6, index: c4 }), r6.removeAttribute(t5));
|
|
1690
1666
|
if ($.test(r6.tagName)) {
|
|
1691
1667
|
const t5 = r6.textContent.split(h2), s5 = t5.length - 1;
|
|
1692
1668
|
if (s5 > 0) {
|
|
1693
1669
|
r6.textContent = i3 ? i3.emptyScript : "";
|
|
1694
|
-
for (let i7 = 0; i7 < s5; i7++)
|
|
1695
|
-
r6.append(t5[i7], l2()), C.nextNode(), d3.push({ type: 2, index: ++c4 });
|
|
1670
|
+
for (let i7 = 0; i7 < s5; i7++) r6.append(t5[i7], l2()), C.nextNode(), d3.push({ type: 2, index: ++c4 });
|
|
1696
1671
|
r6.append(t5[s5], l2());
|
|
1697
1672
|
}
|
|
1698
1673
|
}
|
|
1699
|
-
} else if (8 === r6.nodeType)
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
for (; -1 !== (t5 = r6.data.indexOf(h2, t5 + 1)); )
|
|
1705
|
-
d3.push({ type: 7, index: c4 }), t5 += h2.length - 1;
|
|
1706
|
-
}
|
|
1674
|
+
} else if (8 === r6.nodeType) if (r6.data === o3) d3.push({ type: 2, index: c4 });
|
|
1675
|
+
else {
|
|
1676
|
+
let t5 = -1;
|
|
1677
|
+
for (; -1 !== (t5 = r6.data.indexOf(h2, t5 + 1)); ) d3.push({ type: 7, index: c4 }), t5 += h2.length - 1;
|
|
1678
|
+
}
|
|
1707
1679
|
c4++;
|
|
1708
1680
|
}
|
|
1709
1681
|
}
|
|
@@ -1713,8 +1685,7 @@ var N = class _N {
|
|
|
1713
1685
|
}
|
|
1714
1686
|
};
|
|
1715
1687
|
function S2(t4, i7, s4 = t4, e7) {
|
|
1716
|
-
if (i7 === T)
|
|
1717
|
-
return i7;
|
|
1688
|
+
if (i7 === T) return i7;
|
|
1718
1689
|
let h3 = void 0 !== e7 ? s4._$Co?.[e7] : s4._$Cl;
|
|
1719
1690
|
const o7 = c3(i7) ? void 0 : i7._$litDirective$;
|
|
1720
1691
|
return h3?.constructor !== o7 && (h3?._$AO?.(false), void 0 === o7 ? h3 = void 0 : (h3 = new o7(t4), h3._$AT(t4, s4, e7)), void 0 !== e7 ? (s4._$Co ??= [])[e7] = h3 : s4._$Cl = h3), void 0 !== h3 && (i7 = S2(t4, h3._$AS(t4, i7.values), h3, e7)), i7;
|
|
@@ -1744,8 +1715,7 @@ var M = class {
|
|
|
1744
1715
|
}
|
|
1745
1716
|
p(t4) {
|
|
1746
1717
|
let i7 = 0;
|
|
1747
|
-
for (const s4 of this._$AV)
|
|
1748
|
-
void 0 !== s4 && (void 0 !== s4.strings ? (s4._$AI(t4, s4, i7), i7 += s4.strings.length - 2) : s4._$AI(t4[i7])), i7++;
|
|
1718
|
+
for (const s4 of this._$AV) void 0 !== s4 && (void 0 !== s4.strings ? (s4._$AI(t4, s4, i7), i7 += s4.strings.length - 2) : s4._$AI(t4[i7])), i7++;
|
|
1749
1719
|
}
|
|
1750
1720
|
};
|
|
1751
1721
|
var R = class _R {
|
|
@@ -1780,8 +1750,7 @@ var R = class _R {
|
|
|
1780
1750
|
}
|
|
1781
1751
|
$(t4) {
|
|
1782
1752
|
const { values: i7, _$litType$: s4 } = t4, e7 = "number" == typeof s4 ? this._$AC(t4) : (void 0 === s4.el && (s4.el = N.createElement(P(s4.h, s4.h[0]), this.options)), s4);
|
|
1783
|
-
if (this._$AH?._$AD === e7)
|
|
1784
|
-
this._$AH.p(i7);
|
|
1753
|
+
if (this._$AH?._$AD === e7) this._$AH.p(i7);
|
|
1785
1754
|
else {
|
|
1786
1755
|
const t5 = new M(e7, this), s5 = t5.u(this.options);
|
|
1787
1756
|
t5.p(i7), this.T(s5), this._$AH = t5;
|
|
@@ -1795,8 +1764,7 @@ var R = class _R {
|
|
|
1795
1764
|
a2(this._$AH) || (this._$AH = [], this._$AR());
|
|
1796
1765
|
const i7 = this._$AH;
|
|
1797
1766
|
let s4, e7 = 0;
|
|
1798
|
-
for (const h3 of t4)
|
|
1799
|
-
e7 === i7.length ? i7.push(s4 = new _R(this.O(l2()), this.O(l2()), this, this.options)) : s4 = i7[e7], s4._$AI(h3), e7++;
|
|
1767
|
+
for (const h3 of t4) e7 === i7.length ? i7.push(s4 = new _R(this.O(l2()), this.O(l2()), this, this.options)) : s4 = i7[e7], s4._$AI(h3), e7++;
|
|
1800
1768
|
e7 < i7.length && (this._$AR(s4 && s4._$AB.nextSibling, e7), i7.length = e7);
|
|
1801
1769
|
}
|
|
1802
1770
|
_$AR(t4 = this._$AA.nextSibling, i7) {
|
|
@@ -1822,13 +1790,11 @@ var k = class {
|
|
|
1822
1790
|
_$AI(t4, i7 = this, s4, e7) {
|
|
1823
1791
|
const h3 = this.strings;
|
|
1824
1792
|
let o7 = false;
|
|
1825
|
-
if (void 0 === h3)
|
|
1826
|
-
t4 = S2(this, t4, i7, 0), o7 = !c3(t4) || t4 !== this._$AH && t4 !== T, o7 && (this._$AH = t4);
|
|
1793
|
+
if (void 0 === h3) t4 = S2(this, t4, i7, 0), o7 = !c3(t4) || t4 !== this._$AH && t4 !== T, o7 && (this._$AH = t4);
|
|
1827
1794
|
else {
|
|
1828
1795
|
const e8 = t4;
|
|
1829
1796
|
let n6, r6;
|
|
1830
|
-
for (t4 = h3[0], n6 = 0; n6 < h3.length - 1; n6++)
|
|
1831
|
-
r6 = S2(this, e8[s4 + n6], i7, n6), r6 === T && (r6 = this._$AH[n6]), o7 ||= !c3(r6) || r6 !== this._$AH[n6], r6 === E ? t4 = E : t4 !== E && (t4 += (r6 ?? "") + h3[n6 + 1]), this._$AH[n6] = r6;
|
|
1797
|
+
for (t4 = h3[0], n6 = 0; n6 < h3.length - 1; n6++) r6 = S2(this, e8[s4 + n6], i7, n6), r6 === T && (r6 = this._$AH[n6]), o7 ||= !c3(r6) || r6 !== this._$AH[n6], r6 === E ? t4 = E : t4 !== E && (t4 += (r6 ?? "") + h3[n6 + 1]), this._$AH[n6] = r6;
|
|
1832
1798
|
}
|
|
1833
1799
|
o7 && !e7 && this.j(t4);
|
|
1834
1800
|
}
|
|
@@ -1857,8 +1823,7 @@ var L = class extends k {
|
|
|
1857
1823
|
super(t4, i7, s4, e7, h3), this.type = 5;
|
|
1858
1824
|
}
|
|
1859
1825
|
_$AI(t4, i7 = this) {
|
|
1860
|
-
if ((t4 = S2(this, t4, i7, 0) ?? E) === T)
|
|
1861
|
-
return;
|
|
1826
|
+
if ((t4 = S2(this, t4, i7, 0) ?? E) === T) return;
|
|
1862
1827
|
const s4 = this._$AH, e7 = t4 === E && s4 !== E || t4.capture !== s4.capture || t4.once !== s4.once || t4.passive !== s4.passive, h3 = t4 !== E && (s4 === E || e7);
|
|
1863
1828
|
e7 && this.element.removeEventListener(this.name, this, s4), h3 && this.element.addEventListener(this.name, this, t4), this._$AH = t4;
|
|
1864
1829
|
}
|
|
@@ -2005,8 +1970,7 @@ var n5 = "important";
|
|
|
2005
1970
|
var i6 = " !" + n5;
|
|
2006
1971
|
var o6 = e6(class extends i5 {
|
|
2007
1972
|
constructor(t4) {
|
|
2008
|
-
if (super(t4), t4.type !== t3.ATTRIBUTE || "style" !== t4.name || t4.strings?.length > 2)
|
|
2009
|
-
throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
1973
|
+
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.");
|
|
2010
1974
|
}
|
|
2011
1975
|
render(t4) {
|
|
2012
1976
|
return Object.keys(t4).reduce((e7, r6) => {
|
|
@@ -2016,10 +1980,8 @@ var o6 = e6(class extends i5 {
|
|
|
2016
1980
|
}
|
|
2017
1981
|
update(e7, [r6]) {
|
|
2018
1982
|
const { style: s4 } = e7.element;
|
|
2019
|
-
if (void 0 === this.ft)
|
|
2020
|
-
|
|
2021
|
-
for (const t4 of this.ft)
|
|
2022
|
-
null == r6[t4] && (this.ft.delete(t4), t4.includes("-") ? s4.removeProperty(t4) : s4[t4] = null);
|
|
1983
|
+
if (void 0 === this.ft) return this.ft = new Set(Object.keys(r6)), this.render(r6);
|
|
1984
|
+
for (const t4 of this.ft) null == r6[t4] && (this.ft.delete(t4), t4.includes("-") ? s4.removeProperty(t4) : s4[t4] = null);
|
|
2023
1985
|
for (const t4 in r6) {
|
|
2024
1986
|
const e8 = r6[t4];
|
|
2025
1987
|
if (null != e8) {
|
|
@@ -2033,15 +1995,15 @@ var o6 = e6(class extends i5 {
|
|
|
2033
1995
|
});
|
|
2034
1996
|
|
|
2035
1997
|
// libs/embed-libs/embed/package.json
|
|
2036
|
-
var version = "6.
|
|
1998
|
+
var version = "6.6.1";
|
|
2037
1999
|
|
|
2038
2000
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
2039
|
-
var
|
|
2001
|
+
var LuzmoDashboardService = class {
|
|
2040
2002
|
constructor() {
|
|
2041
|
-
this.
|
|
2003
|
+
this._dashboardComponents = [];
|
|
2042
2004
|
}
|
|
2043
2005
|
};
|
|
2044
|
-
var luzmo_service_default = new
|
|
2006
|
+
var luzmo_service_default = new LuzmoDashboardService();
|
|
2045
2007
|
|
|
2046
2008
|
// libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
|
|
2047
2009
|
var _setEventHandler = () => {
|
|
@@ -2049,7 +2011,7 @@ var _setEventHandler = () => {
|
|
|
2049
2011
|
return;
|
|
2050
2012
|
}
|
|
2051
2013
|
window.__luzmoMessageHandler = (event) => {
|
|
2052
|
-
const dashboardComponent = luzmo_service_default.
|
|
2014
|
+
const dashboardComponent = luzmo_service_default._dashboardComponents.find(
|
|
2053
2015
|
(c4) => event.data.name === c4._iframeId
|
|
2054
2016
|
);
|
|
2055
2017
|
if (!dashboardComponent) {
|
|
@@ -2142,6 +2104,7 @@ var _setEventHandler = () => {
|
|
|
2142
2104
|
break;
|
|
2143
2105
|
}
|
|
2144
2106
|
case "chartsRendered":
|
|
2107
|
+
// TODO remove once chartsRendered is changed to itemsRendered in FE app
|
|
2145
2108
|
case "itemsRendered": {
|
|
2146
2109
|
event.data.type = "itemsRendered";
|
|
2147
2110
|
dashboardComponent.dispatchEvent(
|
|
@@ -2213,7 +2176,7 @@ var _setEventHandler = () => {
|
|
|
2213
2176
|
window.addEventListener("message", window.__luzmoMessageHandler, false);
|
|
2214
2177
|
};
|
|
2215
2178
|
|
|
2216
|
-
// libs/embed-libs/embed/src/lib/dashboard
|
|
2179
|
+
// libs/embed-libs/embed/src/lib/dashboard/dashboard-styles.ts
|
|
2217
2180
|
var dashboardStyles = i`
|
|
2218
2181
|
:host {
|
|
2219
2182
|
display: block;
|
|
@@ -2329,7 +2292,7 @@ var dashboardStyles = i`
|
|
|
2329
2292
|
}
|
|
2330
2293
|
`;
|
|
2331
2294
|
|
|
2332
|
-
// libs/embed-libs/embed/src/lib/dashboard
|
|
2295
|
+
// libs/embed-libs/embed/src/lib/dashboard/dashboard-base.ts
|
|
2333
2296
|
var dashboardRemote = "DashboardApp";
|
|
2334
2297
|
var LuzmoDashboard = class extends i4 {
|
|
2335
2298
|
constructor() {
|
|
@@ -2435,7 +2398,7 @@ var LuzmoDashboard = class extends i4 {
|
|
|
2435
2398
|
firstUpdated() {
|
|
2436
2399
|
this._loaderMsg = getLoader(this)?.loadingMsg;
|
|
2437
2400
|
this._loaderStyles();
|
|
2438
|
-
luzmo_service_default.
|
|
2401
|
+
luzmo_service_default._dashboardComponents.push(this);
|
|
2439
2402
|
if (this.luzmoEmbedContainer) {
|
|
2440
2403
|
this._resizeObserver.observe(this.luzmoEmbedContainer);
|
|
2441
2404
|
}
|
|
@@ -2779,7 +2742,7 @@ var LuzmoDashboard = class extends i4 {
|
|
|
2779
2742
|
}
|
|
2780
2743
|
getDashboards() {
|
|
2781
2744
|
return new Promise(
|
|
2782
|
-
(resolve) => resolve(luzmo_service_default.
|
|
2745
|
+
(resolve) => resolve(luzmo_service_default._dashboardComponents)
|
|
2783
2746
|
);
|
|
2784
2747
|
}
|
|
2785
2748
|
// Public methods
|
|
@@ -3056,7 +3019,7 @@ __decorateClass([
|
|
|
3056
3019
|
r5()
|
|
3057
3020
|
], LuzmoDashboard.prototype, "isInitCalled", 2);
|
|
3058
3021
|
|
|
3059
|
-
// libs/embed-libs/embed/src/lib/dashboard
|
|
3022
|
+
// libs/embed-libs/embed/src/lib/dashboard/dashboard-component.ts
|
|
3060
3023
|
var LuzmoEmbedDashboard = class extends LuzmoDashboard {
|
|
3061
3024
|
};
|
|
3062
3025
|
if (!customElements.get("luzmo-embed-dashboard")) {
|
|
@@ -3064,7 +3027,7 @@ if (!customElements.get("luzmo-embed-dashboard")) {
|
|
|
3064
3027
|
}
|
|
3065
3028
|
|
|
3066
3029
|
// libs/embed-libs/embed/src/lib/viz-item/viz-item.base.ts
|
|
3067
|
-
var dashboardContentsVersion = "0.1.
|
|
3030
|
+
var dashboardContentsVersion = "0.1.97";
|
|
3068
3031
|
var vizItemRemote = "VizItemApp";
|
|
3069
3032
|
var LuzmoBaseVizItem = class extends i4 {
|
|
3070
3033
|
constructor() {
|
|
@@ -3266,7 +3229,7 @@ if (!customElements.get("luzmo-embed-viz-item")) {
|
|
|
3266
3229
|
customElements.define("luzmo-embed-viz-item", LuzmoEmbedVizItem);
|
|
3267
3230
|
}
|
|
3268
3231
|
|
|
3269
|
-
// libs/embed-libs/embed/src/lib/
|
|
3232
|
+
// libs/embed-libs/embed/src/lib/iq-components/luzmo-iq-chat.ts
|
|
3270
3233
|
var inputMap = {
|
|
3271
3234
|
aiEndpoint: "ai-endpoint",
|
|
3272
3235
|
appServer: "app-server",
|
|
@@ -3410,7 +3373,7 @@ if (!customElements.get(embedChatTag)) {
|
|
|
3410
3373
|
customElements.define(embedChatTag, LuzmoIQEmbedChatComponent);
|
|
3411
3374
|
}
|
|
3412
3375
|
|
|
3413
|
-
// libs/embed-libs/embed/src/lib/
|
|
3376
|
+
// libs/embed-libs/embed/src/lib/iq-components/luzmo-iq-answer.ts
|
|
3414
3377
|
var inputMap2 = {
|
|
3415
3378
|
aiEndPoint: "ai-end-point",
|
|
3416
3379
|
appServer: "app-server",
|
|
@@ -3596,86 +3559,28 @@ i4.disableWarning?.("change-in-update");
|
|
|
3596
3559
|
*)
|
|
3597
3560
|
|
|
3598
3561
|
@lit/reactive-element/reactive-element.js:
|
|
3599
|
-
(**
|
|
3600
|
-
* @license
|
|
3601
|
-
* Copyright 2017 Google LLC
|
|
3602
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3603
|
-
*)
|
|
3604
|
-
|
|
3605
3562
|
lit-html/lit-html.js:
|
|
3606
|
-
(**
|
|
3607
|
-
* @license
|
|
3608
|
-
* Copyright 2017 Google LLC
|
|
3609
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3610
|
-
*)
|
|
3611
|
-
|
|
3612
3563
|
lit-element/lit-element.js:
|
|
3613
|
-
(**
|
|
3614
|
-
* @license
|
|
3615
|
-
* Copyright 2017 Google LLC
|
|
3616
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3617
|
-
*)
|
|
3618
|
-
|
|
3619
|
-
lit-html/is-server.js:
|
|
3620
|
-
(**
|
|
3621
|
-
* @license
|
|
3622
|
-
* Copyright 2022 Google LLC
|
|
3623
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3624
|
-
*)
|
|
3625
|
-
|
|
3626
3564
|
@lit/reactive-element/decorators/custom-element.js:
|
|
3627
|
-
(**
|
|
3628
|
-
* @license
|
|
3629
|
-
* Copyright 2017 Google LLC
|
|
3630
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3631
|
-
*)
|
|
3632
|
-
|
|
3633
3565
|
@lit/reactive-element/decorators/property.js:
|
|
3634
|
-
(**
|
|
3635
|
-
* @license
|
|
3636
|
-
* Copyright 2017 Google LLC
|
|
3637
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3638
|
-
*)
|
|
3639
|
-
|
|
3640
3566
|
@lit/reactive-element/decorators/state.js:
|
|
3641
|
-
(**
|
|
3642
|
-
* @license
|
|
3643
|
-
* Copyright 2017 Google LLC
|
|
3644
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3645
|
-
*)
|
|
3646
|
-
|
|
3647
3567
|
@lit/reactive-element/decorators/event-options.js:
|
|
3648
|
-
(**
|
|
3649
|
-
* @license
|
|
3650
|
-
* Copyright 2017 Google LLC
|
|
3651
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3652
|
-
*)
|
|
3653
|
-
|
|
3654
3568
|
@lit/reactive-element/decorators/base.js:
|
|
3655
|
-
(**
|
|
3656
|
-
* @license
|
|
3657
|
-
* Copyright 2017 Google LLC
|
|
3658
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3659
|
-
*)
|
|
3660
|
-
|
|
3661
3569
|
@lit/reactive-element/decorators/query.js:
|
|
3662
|
-
(**
|
|
3663
|
-
* @license
|
|
3664
|
-
* Copyright 2017 Google LLC
|
|
3665
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3666
|
-
*)
|
|
3667
|
-
|
|
3668
3570
|
@lit/reactive-element/decorators/query-all.js:
|
|
3571
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
3572
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
3573
|
+
lit-html/directive.js:
|
|
3669
3574
|
(**
|
|
3670
3575
|
* @license
|
|
3671
3576
|
* Copyright 2017 Google LLC
|
|
3672
3577
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3673
3578
|
*)
|
|
3674
3579
|
|
|
3675
|
-
|
|
3580
|
+
lit-html/is-server.js:
|
|
3676
3581
|
(**
|
|
3677
3582
|
* @license
|
|
3678
|
-
* Copyright
|
|
3583
|
+
* Copyright 2022 Google LLC
|
|
3679
3584
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3680
3585
|
*)
|
|
3681
3586
|
|
|
@@ -3686,20 +3591,6 @@ lit-html/is-server.js:
|
|
|
3686
3591
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3687
3592
|
*)
|
|
3688
3593
|
|
|
3689
|
-
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
3690
|
-
(**
|
|
3691
|
-
* @license
|
|
3692
|
-
* Copyright 2017 Google LLC
|
|
3693
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3694
|
-
*)
|
|
3695
|
-
|
|
3696
|
-
lit-html/directive.js:
|
|
3697
|
-
(**
|
|
3698
|
-
* @license
|
|
3699
|
-
* Copyright 2017 Google LLC
|
|
3700
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3701
|
-
*)
|
|
3702
|
-
|
|
3703
3594
|
lit-html/directives/style-map.js:
|
|
3704
3595
|
(**
|
|
3705
3596
|
* @license
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luzmo/embed",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.1",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"lit": "3.3.0",
|
|
6
|
-
"@luzmo/shared-embed": "5.
|
|
7
|
-
"@luzmo/dashboard-contents-types": "1.0.
|
|
6
|
+
"@luzmo/shared-embed": "5.5.1",
|
|
7
|
+
"@luzmo/dashboard-contents-types": "1.0.18"
|
|
8
8
|
},
|
|
9
|
-
"type": "module",
|
|
10
9
|
"keywords": [
|
|
11
10
|
"es6",
|
|
12
11
|
"web-component",
|
package/src/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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 } from '@luzmo/shared-embed';
|
|
3
3
|
export { selectedDataUtils } from '@luzmo/shared-embed';
|
|
4
|
-
export * from './lib/dashboard
|
|
4
|
+
export * from './lib/dashboard/dashboard-component';
|
|
5
5
|
export * from './lib/viz-item/viz-item-component';
|
|
6
|
-
export * from './lib/
|
|
7
|
-
export * from './lib/
|
|
6
|
+
export * from './lib/iq-components/luzmo-iq-chat';
|
|
7
|
+
export * from './lib/iq-components/luzmo-iq-answer';
|
|
8
8
|
export * from './lib/helper/json-schema-utils';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LuzmoDashboard } from './dashboard
|
|
2
|
-
declare class
|
|
3
|
-
|
|
1
|
+
import { LuzmoDashboard } from './dashboard/dashboard-base';
|
|
2
|
+
declare class LuzmoDashboardService {
|
|
3
|
+
_dashboardComponents: LuzmoDashboard[];
|
|
4
4
|
}
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: LuzmoDashboardService;
|
|
6
6
|
export default _default;
|
|
@@ -9,7 +9,7 @@ import { LitElement, PropertyValues } from 'lit';
|
|
|
9
9
|
* together with this dashboard contents version are passed to the dashboard app (https://app.luzmo.com/dashboard-app/remoteEntry.mjs)
|
|
10
10
|
* and if needed the migration will be applied on the dashboard app level.
|
|
11
11
|
*/
|
|
12
|
-
export declare const dashboardContentsVersion = "0.1.
|
|
12
|
+
export declare const dashboardContentsVersion = "0.1.97";
|
|
13
13
|
type FunctionCall = [(...args: any) => any, any[]];
|
|
14
14
|
interface LuzmoVizItemComponentInterface extends HTMLElement {
|
|
15
15
|
options?: VizItemOptions;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|