@luzmo/embed 6.5.0 → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [6.6.0] - 2025-07-14
6
+
7
+ ### Updates
8
+
9
+ - Update dependent libraries to latest versions
10
+
5
11
  ## [6.5.0] - 2025-06-23
6
12
 
7
13
  ### Updates
package/index.cjs CHANGED
@@ -55,26 +55,26 @@ module.exports = __toCommonJS(src_exports);
55
55
  var import_shared_embed4 = require("@luzmo/shared-embed");
56
56
  var import_lit6 = require("lit");
57
57
 
58
- // libs/embed-libs/embed/src/lib/dashboard-component/dashboard-base.ts
59
- var SharedLib2 = __toESM(require("@luzmo/shared-embed"), 1);
58
+ // libs/embed-libs/embed/src/lib/dashboard/dashboard-base.ts
59
+ var SharedLib2 = __toESM(require("@luzmo/shared-embed"));
60
60
  var import_shared_embed = require("@luzmo/shared-embed");
61
61
  var import_lit2 = require("lit");
62
62
  var import_decorators = require("lit/decorators.js");
63
63
  var import_style_map = require("lit/directives/style-map.js");
64
64
 
65
65
  // libs/embed-libs/embed/package.json
66
- var version = "6.5.0";
66
+ var version = "6.6.0";
67
67
 
68
68
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
69
- var SharedLib = __toESM(require("@luzmo/shared-embed"), 1);
69
+ var SharedLib = __toESM(require("@luzmo/shared-embed"));
70
70
 
71
71
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
72
- var LuzmoService = class {
72
+ var LuzmoDashboardService = class {
73
73
  constructor() {
74
- this._components = [];
74
+ this._dashboardComponents = [];
75
75
  }
76
76
  };
77
- var luzmo_service_default = new LuzmoService();
77
+ var luzmo_service_default = new LuzmoDashboardService();
78
78
 
79
79
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
80
80
  var _setEventHandler = () => {
@@ -82,7 +82,7 @@ var _setEventHandler = () => {
82
82
  return;
83
83
  }
84
84
  window.__luzmoMessageHandler = (event) => {
85
- const dashboardComponent = luzmo_service_default._components.find(
85
+ const dashboardComponent = luzmo_service_default._dashboardComponents.find(
86
86
  (c) => event.data.name === c._iframeId
87
87
  );
88
88
  if (!dashboardComponent) {
@@ -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-component/dashboard-styles.ts
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-component/dashboard-base.ts
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._components.push(this);
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._components)
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-component/dashboard-component.ts
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"), 1);
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.95";
1104
+ var dashboardContentsVersion = "0.1.96";
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/luzmo-iq-components/luzmo-iq-chat.ts
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/luzmo-iq-components/luzmo-iq-answer.ts
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
@@ -14,7 +14,7 @@ var __decorateClass = (decorators, target, key, kind) => {
14
14
  import { selectedDataUtils } from "@luzmo/shared-embed";
15
15
  import { LitElement as LitElement5 } from "lit";
16
16
 
17
- // libs/embed-libs/embed/src/lib/dashboard-component/dashboard-base.ts
17
+ // libs/embed-libs/embed/src/lib/dashboard/dashboard-base.ts
18
18
  import * as SharedLib2 from "@luzmo/shared-embed";
19
19
  import {
20
20
  luzmoEmbedContainerClass
@@ -24,18 +24,18 @@ import { property, query, state } from "lit/decorators.js";
24
24
  import { styleMap } from "lit/directives/style-map.js";
25
25
 
26
26
  // libs/embed-libs/embed/package.json
27
- var version = "6.5.0";
27
+ var version = "6.6.0";
28
28
 
29
29
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
30
30
  import * as SharedLib from "@luzmo/shared-embed";
31
31
 
32
32
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
33
- var LuzmoService = class {
33
+ var LuzmoDashboardService = class {
34
34
  constructor() {
35
- this._components = [];
35
+ this._dashboardComponents = [];
36
36
  }
37
37
  };
38
- var luzmo_service_default = new LuzmoService();
38
+ var luzmo_service_default = new LuzmoDashboardService();
39
39
 
40
40
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
41
41
  var _setEventHandler = () => {
@@ -43,7 +43,7 @@ var _setEventHandler = () => {
43
43
  return;
44
44
  }
45
45
  window.__luzmoMessageHandler = (event) => {
46
- const dashboardComponent = luzmo_service_default._components.find(
46
+ const dashboardComponent = luzmo_service_default._dashboardComponents.find(
47
47
  (c) => event.data.name === c._iframeId
48
48
  );
49
49
  if (!dashboardComponent) {
@@ -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-component/dashboard-styles.ts
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-component/dashboard-base.ts
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._components.push(this);
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._components)
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-component/dashboard-component.ts
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.95";
1065
+ var dashboardContentsVersion = "0.1.96";
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/luzmo-iq-components/luzmo-iq-chat.ts
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/luzmo-iq-components/luzmo-iq-answer.ts
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";
@@ -2033,15 +2033,15 @@ var o6 = e6(class extends i5 {
2033
2033
  });
2034
2034
 
2035
2035
  // libs/embed-libs/embed/package.json
2036
- var version = "6.5.0";
2036
+ var version = "6.6.0";
2037
2037
 
2038
2038
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
2039
- var LuzmoService = class {
2039
+ var LuzmoDashboardService = class {
2040
2040
  constructor() {
2041
- this._components = [];
2041
+ this._dashboardComponents = [];
2042
2042
  }
2043
2043
  };
2044
- var luzmo_service_default = new LuzmoService();
2044
+ var luzmo_service_default = new LuzmoDashboardService();
2045
2045
 
2046
2046
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
2047
2047
  var _setEventHandler = () => {
@@ -2049,7 +2049,7 @@ var _setEventHandler = () => {
2049
2049
  return;
2050
2050
  }
2051
2051
  window.__luzmoMessageHandler = (event) => {
2052
- const dashboardComponent = luzmo_service_default._components.find(
2052
+ const dashboardComponent = luzmo_service_default._dashboardComponents.find(
2053
2053
  (c4) => event.data.name === c4._iframeId
2054
2054
  );
2055
2055
  if (!dashboardComponent) {
@@ -2213,7 +2213,7 @@ var _setEventHandler = () => {
2213
2213
  window.addEventListener("message", window.__luzmoMessageHandler, false);
2214
2214
  };
2215
2215
 
2216
- // libs/embed-libs/embed/src/lib/dashboard-component/dashboard-styles.ts
2216
+ // libs/embed-libs/embed/src/lib/dashboard/dashboard-styles.ts
2217
2217
  var dashboardStyles = i`
2218
2218
  :host {
2219
2219
  display: block;
@@ -2329,7 +2329,7 @@ var dashboardStyles = i`
2329
2329
  }
2330
2330
  `;
2331
2331
 
2332
- // libs/embed-libs/embed/src/lib/dashboard-component/dashboard-base.ts
2332
+ // libs/embed-libs/embed/src/lib/dashboard/dashboard-base.ts
2333
2333
  var dashboardRemote = "DashboardApp";
2334
2334
  var LuzmoDashboard = class extends i4 {
2335
2335
  constructor() {
@@ -2435,7 +2435,7 @@ var LuzmoDashboard = class extends i4 {
2435
2435
  firstUpdated() {
2436
2436
  this._loaderMsg = getLoader(this)?.loadingMsg;
2437
2437
  this._loaderStyles();
2438
- luzmo_service_default._components.push(this);
2438
+ luzmo_service_default._dashboardComponents.push(this);
2439
2439
  if (this.luzmoEmbedContainer) {
2440
2440
  this._resizeObserver.observe(this.luzmoEmbedContainer);
2441
2441
  }
@@ -2779,7 +2779,7 @@ var LuzmoDashboard = class extends i4 {
2779
2779
  }
2780
2780
  getDashboards() {
2781
2781
  return new Promise(
2782
- (resolve) => resolve(luzmo_service_default._components)
2782
+ (resolve) => resolve(luzmo_service_default._dashboardComponents)
2783
2783
  );
2784
2784
  }
2785
2785
  // Public methods
@@ -3056,7 +3056,7 @@ __decorateClass([
3056
3056
  r5()
3057
3057
  ], LuzmoDashboard.prototype, "isInitCalled", 2);
3058
3058
 
3059
- // libs/embed-libs/embed/src/lib/dashboard-component/dashboard-component.ts
3059
+ // libs/embed-libs/embed/src/lib/dashboard/dashboard-component.ts
3060
3060
  var LuzmoEmbedDashboard = class extends LuzmoDashboard {
3061
3061
  };
3062
3062
  if (!customElements.get("luzmo-embed-dashboard")) {
@@ -3064,7 +3064,7 @@ if (!customElements.get("luzmo-embed-dashboard")) {
3064
3064
  }
3065
3065
 
3066
3066
  // libs/embed-libs/embed/src/lib/viz-item/viz-item.base.ts
3067
- var dashboardContentsVersion = "0.1.95";
3067
+ var dashboardContentsVersion = "0.1.96";
3068
3068
  var vizItemRemote = "VizItemApp";
3069
3069
  var LuzmoBaseVizItem = class extends i4 {
3070
3070
  constructor() {
@@ -3266,7 +3266,7 @@ if (!customElements.get("luzmo-embed-viz-item")) {
3266
3266
  customElements.define("luzmo-embed-viz-item", LuzmoEmbedVizItem);
3267
3267
  }
3268
3268
 
3269
- // libs/embed-libs/embed/src/lib/luzmo-iq-components/luzmo-iq-chat.ts
3269
+ // libs/embed-libs/embed/src/lib/iq-components/luzmo-iq-chat.ts
3270
3270
  var inputMap = {
3271
3271
  aiEndpoint: "ai-endpoint",
3272
3272
  appServer: "app-server",
@@ -3410,7 +3410,7 @@ if (!customElements.get(embedChatTag)) {
3410
3410
  customElements.define(embedChatTag, LuzmoIQEmbedChatComponent);
3411
3411
  }
3412
3412
 
3413
- // libs/embed-libs/embed/src/lib/luzmo-iq-components/luzmo-iq-answer.ts
3413
+ // libs/embed-libs/embed/src/lib/iq-components/luzmo-iq-answer.ts
3414
3414
  var inputMap2 = {
3415
3415
  aiEndPoint: "ai-end-point",
3416
3416
  appServer: "app-server",
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@luzmo/embed",
3
- "version": "6.5.0",
3
+ "version": "6.6.0",
4
4
  "dependencies": {
5
5
  "lit": "3.3.0",
6
- "@luzmo/shared-embed": "5.4.0",
6
+ "@luzmo/shared-embed": "5.5.0",
7
7
  "@luzmo/dashboard-contents-types": "1.0.17"
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-component/dashboard-component';
4
+ export * from './lib/dashboard/dashboard-component';
5
5
  export * from './lib/viz-item/viz-item-component';
6
- export * from './lib/luzmo-iq-components/luzmo-iq-chat';
7
- export * from './lib/luzmo-iq-components/luzmo-iq-answer';
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-component/dashboard-base';
2
- declare class LuzmoService {
3
- _components: LuzmoDashboard[];
1
+ import { LuzmoDashboard } from './dashboard/dashboard-base';
2
+ declare class LuzmoDashboardService {
3
+ _dashboardComponents: LuzmoDashboard[];
4
4
  }
5
- declare const _default: LuzmoService;
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.95";
12
+ export declare const dashboardContentsVersion = "0.1.96";
13
13
  type FunctionCall = [(...args: any) => any, any[]];
14
14
  interface LuzmoVizItemComponentInterface extends HTMLElement {
15
15
  options?: VizItemOptions;