@luzmo/embed 6.6.0 → 6.7.0-es2021

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,330 +1,291 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to this project will be documented in this file.
3
+ All notable changes to this project are documented in this file.
4
4
 
5
- ## [6.6.0] - 2025-07-14
5
+ ## [6.7.0] - 2025-10-14
6
6
 
7
- ### Updates
7
+ ### Added
8
+ - Added the `sendExportEmail()` method on `<luzmo-embed-dashboard>` to trigger immediate or scheduled export emails with optional subject and message overrides.
8
9
 
9
- - Update dependent libraries to latest versions
10
+ ## [6.6.1] - 2025-09-02
10
11
 
11
- ## [6.5.0] - 2025-06-23
12
+ ### Changed
13
+ - Updated dependencies to the latest compatible versions.
12
14
 
13
- ### Updates
15
+ ## [6.6.0] - 2025-07-14
14
16
 
15
- - Update dependent libraries to latest versions
16
- - Maintenance release with improved stability
17
+ ### Changed
18
+ - Updated dependencies to the latest compatible versions.
17
19
 
18
- ## [6.4.3] - 2025-04-28
20
+ ## [6.5.0] - 2025-06-23
19
21
 
20
- ### Updates
22
+ ### Changed
23
+ - Updated dependencies and shipped stability improvements.
21
24
 
22
- - Add `--luzmo-iq-state-loader-color-accent` for Luzmo IQ loader
25
+ ## [6.4.3] - 2025-04-28
23
26
 
24
- ## [6.4.2] - 2025-04-14
27
+ ### Added
28
+ - Introduced the `--luzmo-iq-state-loader-color-accent` CSS variable for Luzmo IQ loaders.
25
29
 
26
- ### Updates
30
+ ## [6.4.2] - 2025-04-14
27
31
 
28
- - Update Bar chart options: add missing values "absolute" and "percentageAllBars" for "bars.label" options
32
+ ### Changed
33
+ - Added the missing `absolute` and `percentageAllBars` values to the `bars.label` configuration for bar charts.
29
34
 
30
35
  ## [6.4.1] - 2025-03-28
31
36
 
32
- ### Updates
33
-
34
- - Updated dependent lib
37
+ ### Changed
38
+ - Updated dependencies to the latest compatible versions.
35
39
 
36
40
  ## [6.4.0] - 2025-03-20
37
41
 
38
- ### Updates
39
-
40
- - Added `editorLanguage` input to set the language of the dashboard editor
42
+ ### Added
43
+ - Added the `editorLanguage` attribute to control the dashboard editor language.
41
44
 
42
45
  ## [6.3.7] - 2025-03-04
43
46
 
44
- ### Updates
45
-
46
- - Rename "experimental" input to "embedMode" in dashboard component
47
+ ### Changed
48
+ - Renamed the `experimental` attribute to `embedMode` on `<luzmo-embed-dashboard>`.
47
49
 
48
50
  ## [6.3.6] - 2025-02-27
49
51
 
50
- ### Updates
51
-
52
- - Added availableDatasets as input to luzmo-iq-embed-chat component
52
+ ### Added
53
+ - Added the `availableDatasets` attribute to `<luzmo-iq-embed-chat>`.
53
54
 
54
55
  ## [6.3.5] - 2025-02-24
55
56
 
56
- ### Updates
57
-
58
- - Updated dependent libs
57
+ ### Changed
58
+ - Updated dependencies to the latest compatible versions.
59
59
 
60
60
  ## [6.3.4] - 2025-02-21
61
61
 
62
- ### Updates
63
-
64
- - Updated dependent libs
62
+ ### Changed
63
+ - Updated dependencies to the latest compatible versions.
65
64
 
66
65
  ## [6.3.3] - 2025-02-06
67
66
 
68
- ### Updates
69
-
70
- - Updated dependent libs
67
+ ### Changed
68
+ - Updated dependencies to the latest compatible versions.
71
69
 
72
70
  ## [6.3.2] - 2025-01-31
73
71
 
74
- ### Updates
75
-
76
- - export() now allows you to export the viz item as a CSV, XLSX and PNG
72
+ ### Added
73
+ - Extended `export()` on `<luzmo-embed-viz-item>` to support CSV, CSV raw, XLSX, and XLSX raw formats in addition to PNG.
77
74
 
78
75
  ## [6.3.1] - 2025-01-21
79
76
 
80
- ### Updates
81
-
82
- - Updated dependent libs
77
+ ### Changed
78
+ - Updated dependencies to the latest compatible versions.
83
79
 
84
80
  ## [6.3.0] - 2025-01-16
85
81
 
86
- ### Updates
87
-
88
- - Updated Flex performance
82
+ ### Changed
83
+ - Improved Luzmo Flex performance.
89
84
 
90
85
  ## [6.2.6] - 2025-01-13
91
86
 
92
- ### Updates
93
-
94
- - Updated dependent libs
87
+ ### Changed
88
+ - Updated dependencies to the latest compatible versions.
95
89
 
96
90
  ## [6.2.5] - 2025-01-08
97
91
 
98
- ### Updates
99
-
100
- - Updated dependent libs
92
+ ### Changed
93
+ - Updated dependencies to the latest compatible versions.
101
94
 
102
95
  ## [6.2.4] - 2024-12-19
103
96
 
104
- ### Updates
105
-
106
- - Added LICENSE to the library
97
+ ### Added
98
+ - Added the project `LICENSE`.
107
99
 
108
100
  ## [6.2.3] - 2024-12-10
109
101
 
110
- ### Updates
111
-
112
- - Enable Luzmo IQ custom chat widget button content with WebComponents slot
102
+ ### Added
103
+ - Enabled custom chat widget button content via slots in `<luzmo-iq-embed-chat>`.
113
104
 
114
105
  ## [6.2.2] - 2024-12-09
115
106
 
116
- ### Updates
117
-
118
- - Minor bugfixes for EDE mode
107
+ ### Fixed
108
+ - Applied minor fixes for EDE mode behaviour.
119
109
 
120
110
  ## [6.2.1] - 2024-11-22
121
111
 
122
- ### Updates
123
-
124
- - Updated dependencies
112
+ ### Changed
113
+ - Updated dependencies to the latest compatible versions.
125
114
 
126
115
  ## [6.2.0] - 2024-11-20
127
116
 
128
- ### Updates
129
-
130
- - [Luzmo IQ](https://developer.luzmo.com/guide/iq--introduction) allows you to generate AI-powered answers to data-related questions. The update adds components that allows you embed chat and answer components onto your page
117
+ ### Added
118
+ - Introduced [Luzmo IQ](https://developer.luzmo.com/guide/iq--introduction) components to embed AI-powered chat and answer experiences.
131
119
 
132
120
  ## [6.1.9] - 2024-11-14
133
121
 
134
- ### Updates
135
-
136
- - Updated dependencies
122
+ ### Changed
123
+ - Updated dependencies to the latest compatible versions.
137
124
 
138
125
  ## [6.1.8] - 2024-11-12
139
126
 
140
- ### Updates
141
-
142
- - Fixes for getAccessibleDashboards()
127
+ ### Fixed
128
+ - Resolved issues affecting `getAccessibleDashboards()`.
143
129
 
144
130
  ## [6.1.7] - 2024-10-25
145
131
 
146
- ### Updates
147
-
148
- - Fix setting a size (width, height) in the inline style for <luzmo-embed-viz-item>
132
+ ### Fixed
133
+ - Corrected width and height handling when setting inline styles on `<luzmo-embed-viz-item>`.
149
134
 
150
135
  ## [6.1.6] - 2024-10-22
151
136
 
152
- ### Updates
153
-
154
- - Fix displaying Search Filter in Flex
137
+ ### Fixed
138
+ - Fixed Flex search filter display issues.
155
139
 
156
140
  ## [6.1.5] - 2024-10-21
157
141
 
158
- ### Updates
159
-
160
- - Updated dependencies
142
+ ### Changed
143
+ - Updated dependencies to the latest compatible versions.
161
144
 
162
145
  ## [6.1.4] - 2024-10-14
163
146
 
164
- ### Updates
165
-
166
- - Updated dependencies
147
+ ### Changed
148
+ - Updated dependencies to the latest compatible versions.
167
149
 
168
150
  ## [6.1.3] - 2024-09-26
169
151
 
170
- ### Updates
152
+ ### Changed
153
+ - Updated public TypeScript definitions.
171
154
 
172
- - Updated types
173
- - Fixed a runtime issue where CSP of script-src 'unsafe-eval' was required
155
+ ### Fixed
156
+ - Removed the requirement for `script-src 'unsafe-eval'` in runtime CSP settings.
174
157
 
175
158
  ## [6.1.2] - 2024-09-23
176
159
 
177
- ### Bugfixes
178
-
179
- - Web component now is only registered once, if already registered, the registration is skipped. (Fixes issue with libraries being included multiple times)
160
+ ### Fixed
161
+ - Ensured the web component registers only once when libraries are included multiple times.
180
162
 
181
163
  ## [6.1.1] - 2024-09-09
182
164
 
183
- ### Chore
184
-
185
- - Updated lib dependencies
165
+ ### Changed
166
+ - Updated dependencies to the latest compatible versions.
186
167
 
187
168
  ## [6.1.0] - 2024-09-09
188
169
 
189
- ### Updates
190
- - [Luzmo Flex](https://developer.luzmo.com/guide/flex--introduction) allows you to create customizable visualizations fully from code, allowing you to build and embed powerful, hyper-personalized data analytics products
170
+ ### Added
171
+ - Highlighted [Luzmo Flex](https://developer.luzmo.com/guide/flex--introduction) for building customizable visualizations entirely in code.
191
172
 
192
173
  ## [6.0.1] - 2024-07-11
193
174
 
194
- - Fix for loader color when embedding dashboard as a web component, and other bug fixes
175
+ ### Fixed
176
+ - Corrected loader color handling when embedding dashboards as web components.
195
177
 
196
178
  ## [6.0.0] - 2024-07-11
197
179
 
198
- ### Breaking changes
199
-
200
- - Removed `<luzmo-dashboard>` web component, It has been replaced with `<luzmo-embed-dashboard>`
201
- - `LuzmoDashboard` has been replaced with `LuzmoEmbedDashboard`
180
+ ### Changed
181
+ - Replaced the `LuzmoDashboard` type with `LuzmoEmbedDashboard`.
202
182
 
203
- ### Bugfixes
183
+ ### Removed
184
+ - Removed the legacy `<luzmo-dashboard>` component in favour of `<luzmo-embed-dashboard>`.
204
185
 
205
- - Fix for loader color when embedding dashboard as a web component, and other bug fixes
186
+ ### Fixed
187
+ - Corrected loader color handling when embedding dashboards as web components.
206
188
 
207
189
  ## [5.1.5] - 2024-05-03
208
190
 
209
- ### Bugfixes
210
-
211
- - Fix bugs in experimental=true, dashboard not loading at times
191
+ ### Fixed
192
+ - Addressed intermittent loading issues when `experimental=true`.
212
193
 
213
194
  ## [5.1.4] - 2024-05-02
214
195
 
215
- ### Bugfixes
216
-
217
- - Fix build issues with CRA 5.0 and Webpack 5.0
196
+ ### Fixed
197
+ - Resolved compatibility issues with CRA 5.0 and Webpack 5.0 builds.
218
198
 
219
199
  ## [5.1.3] - 2024-05-02
220
200
 
221
- ### Bugfixes
222
-
223
- - Height in edit mode is set to 100%, taking 100% of parent height
201
+ ### Fixed
202
+ - Ensured the editor mode height respects a 100% parent height.
224
203
 
225
204
  ## [5.1.2] - 2024-04-29
226
205
 
227
- ### Bugfixes
228
-
229
- - Height in edit mode is set to a minimum of 100vh
230
-
206
+ ### Fixed
207
+ - Set the minimum height in editor mode to 100vh.
231
208
 
232
209
  ## [5.1.1] - 2024-04-24
233
210
 
234
- ### Updates
235
-
236
- - Show actual error messages from luzmo application
211
+ ### Changed
212
+ - Surface detailed error messages from the Luzmo application.
237
213
 
238
214
  ## [5.1.0] - 2024-04-17
239
215
 
240
- ### Updates
241
-
242
- - Deprecated `luzmo-dashboard`, `luzmo-embed-dashboard` is the new element, `luzmo-dashboard` will be removed in next major release (`6.0.0`)
216
+ ### Changed
217
+ - Deprecated `<luzmo-dashboard>` in favour of `<luzmo-embed-dashboard>` ahead of removal in `6.0.0`.
243
218
 
244
219
  ## [5.0.14] - 2024-03-28
245
220
 
246
- ### Bugfixes
247
-
248
- - Shared embed lib updated with bugfixes
221
+ ### Fixed
222
+ - Pulled shared embed library fixes.
249
223
 
250
224
  ## [5.0.13] - 2024-03-26
251
225
 
252
- ### Updates
253
-
254
- - Add ESM build for libs entry point in `@luzmo/embed`
226
+ ### Added
227
+ - Added an ESM build entry point to `@luzmo/embed`.
255
228
 
256
229
  ## [5.0.12] - 2024-03-19
257
230
 
258
- ### Bugfixes
259
-
260
- - Fixed getAccessibleDashboards() to correctly work with embed tokens
231
+ ### Fixed
232
+ - Ensured `getAccessibleDashboards()` works correctly with embed tokens.
261
233
 
262
234
  ## [5.0.11] - 2024-03-18
263
235
 
264
- ### Updates
265
-
266
- - Correct typings are now exposed from @luzmo/embed
236
+ ### Changed
237
+ - Exposed the correct TypeScript typings from `@luzmo/embed`.
267
238
 
268
239
  ## [5.0.10] - 2024-03-11
269
240
 
270
- ### Bugfixes
271
-
272
- - Use display block for the luzmo-dashboard component
241
+ ### Fixed
242
+ - Set `<luzmo-dashboard>` to display as a block-level element.
273
243
 
274
244
  ## [5.0.9] - 2024-03-07
275
245
 
276
- ### Bugfixes
277
-
278
- - Fixed EDE width and height issue not being 100%
246
+ ### Fixed
247
+ - Corrected EDE width and height behaviour to use 100% of the container.
279
248
 
280
249
  ## [5.0.8] - 2024-03-05
281
250
 
282
- ### Updates
283
-
284
- - Typing improvements in shared lib
251
+ ### Changed
252
+ - Improved typings in the shared library.
285
253
 
286
254
  ## [5.0.7] - 2024-02-28
287
255
 
288
- ### Updates
289
-
290
- - Bugfixes in experimental mode for width height issue
291
-
256
+ ### Fixed
257
+ - Addressed width and height issues for experimental mode.
292
258
 
293
259
  ## [5.0.6] - 2024-02-17
294
260
 
295
- ### Updates
296
-
297
- - Added type: "module" to package.json
298
- - Updated dependencies
261
+ ### Changed
262
+ - Added `"type": "module"` to `package.json`.
263
+ - Updated dependencies to the latest compatible versions.
299
264
 
300
265
  ## [5.0.5] - 2024-02-16
301
266
 
302
- ### Updates
303
-
304
- - Typing issue fixed
267
+ ### Fixed
268
+ - Resolved a typing issue.
305
269
 
306
270
  ## [5.0.4] - 2024-02-08
307
271
 
308
- ### Updates
309
-
310
- - Changelog update / README updated
272
+ ### Changed
273
+ - Refreshed documentation and changelog content.
311
274
 
312
275
  ## [5.0.3] - 2024-02-01
313
276
 
314
- ### Updates
277
+ ### Added
278
+ - Added a parameter to help clients test upstream changes.
315
279
 
316
- - Added a parameter to allow testing upstream changes for clients
317
- - Performance improvements
280
+ ### Changed
281
+ - Delivered performance improvements.
318
282
 
319
283
  ## [5.0.2] - 2023-12-07
320
284
 
321
- ### BUGFIX
322
-
323
- - Fixed incorrect dependency version in library
324
-
285
+ ### Fixed
286
+ - Corrected an incorrect dependency version.
325
287
 
326
288
  ## [5.0.1] - 2023-12-06
327
289
 
328
- ### BUGFIX
329
-
330
- - Fixed a bug where dimensions were calculated before dimension data was available which resulted in a crash
290
+ ### Fixed
291
+ - Prevented crashes caused by dimensions being calculated before dimension data was available.
package/README.md CHANGED
@@ -230,6 +230,9 @@ reloadDashboard(): Promise<void>;
230
230
  // Exports the current dashboard as either pdf or png. A container class needs to be passed as an argument and an optional type parameter.
231
231
  exportDashboard(type?: ExportType): Promise<ExportDashboard>;
232
232
 
233
+ // Opens a pop-up modal to send the current dashboard export via email immediately or on a schedule (`type` argument). Optional arguments to override the email subject and email body message.
234
+ sendExportEmail(type: 'once' | 'scheduled', subject?: Record<string, string>, message?: Record<string, string>): void;
235
+
233
236
  // Get accessible dashboards in a integration, make sure 'apiHost', 'authKey', 'authToken' are set correctly on the instance.
234
237
  getAccessibleDashboards(): Promise<AccessibleDashboard[]>;
235
238
 
@@ -298,6 +301,20 @@ dashboardComponent.exportDashboard('png').then((data) => {
298
301
  });
299
302
  ```
300
303
 
304
+ Open a pop-up modal to send a dashboard export via email
305
+
306
+ ```typescript
307
+ // Open a pop-up modal to trigger an immediate export email using the default subject and message
308
+ dashboardComponent.sendExportEmail('once');
309
+
310
+ // Open a pop-up modal to schedule a recurring export email with custom email subject and message translations
311
+ dashboardComponent.sendExportEmail(
312
+ 'scheduled',
313
+ { en: 'Weekly KPI dashboard', fr: 'Tableau de bord KPI hebdomadaire' },
314
+ { en: 'Automated KPI export created by our app.', fr: 'Export KPI automatisé créé par notre application.' }
315
+ );
316
+ ```
317
+
301
318
  Get accessible dashboards of an integration
302
319
 
303
320
  ```typescript
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 src_exports = {};
41
- __export(src_exports, {
39
+ var index_exports = {};
40
+ __export(index_exports, {
42
41
  LuzmoEmbedDashboard: () => LuzmoEmbedDashboard,
43
42
  LuzmoEmbedVizItem: () => LuzmoEmbedVizItem,
44
43
  LuzmoIQEmbedAnswerComponent: () => LuzmoIQEmbedAnswerComponent,
@@ -51,7 +50,7 @@ __export(src_exports, {
51
50
  luzmoRefParserOptions: () => luzmoRefParserOptions,
52
51
  selectedDataUtils: () => import_shared_embed4.selectedDataUtils
53
52
  });
54
- module.exports = __toCommonJS(src_exports);
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
 
@@ -63,7 +62,7 @@ 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.6.0";
65
+ var version = "6.7.0";
67
66
 
68
67
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
69
68
  var SharedLib = __toESM(require("@luzmo/shared-embed"));
@@ -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(
@@ -921,6 +921,14 @@ var LuzmoDashboard = class extends import_lit2.LitElement {
921
921
  }
922
922
  return SharedLib2.setPreview(this, this.iframe, preview);
923
923
  }
924
+ sendExportEmail(type, subject, message) {
925
+ if (this.isWebComponentViewMode() && this.dashboardReference) {
926
+ return this.dashboardReference.sendExportEmail(type, subject, message);
927
+ } else if (!this.isWebComponentViewMode()) {
928
+ return SharedLib2.sendExportEmail(this, this.iframe, type, subject, message);
929
+ }
930
+ return Promise.reject();
931
+ }
924
932
  isWebComponentViewMode() {
925
933
  return this.embedMode === "webComponent" && (this.params.editMode === "view" || this.params.editMode === void 0);
926
934
  }
@@ -1101,7 +1109,7 @@ if (!customElements.get("luzmo-embed-dashboard")) {
1101
1109
  var SharedLib3 = __toESM(require("@luzmo/shared-embed"));
1102
1110
  var import_lit3 = require("lit");
1103
1111
  var import_decorators2 = require("lit/decorators.js");
1104
- var dashboardContentsVersion = "0.1.96";
1112
+ var dashboardContentsVersion = "0.1.98";
1105
1113
  var vizItemRemote = "VizItemApp";
1106
1114
  var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1107
1115
  constructor() {
@@ -1114,22 +1122,6 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1114
1122
  this.libVersion = version + "-wc-luzmo";
1115
1123
  this.postInitCallQueue = [];
1116
1124
  }
1117
- static {
1118
- // Static styles to set host display to block, else it is not shown at all for some reason.
1119
- this.styles = import_lit3.css`
1120
- :host {
1121
- display: block;
1122
- width: 100%;
1123
- height: 100%;
1124
- }
1125
-
1126
- luzmo-embed-viz-item {
1127
- width: 100%;
1128
- height: 1000%;
1129
- display: block;
1130
- }
1131
- `;
1132
- }
1133
1125
  createRenderRoot() {
1134
1126
  if (!this.style.display) {
1135
1127
  this.style.display = "block";
@@ -1239,6 +1231,20 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1239
1231
  return import_lit3.html` `;
1240
1232
  }
1241
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
+ `;
1242
1248
  __decorateClass([
1243
1249
  (0, import_decorators2.property)()
1244
1250
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -1332,16 +1338,6 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
1332
1338
  this.remoteEntryServer = "http://localhost:4202/";
1333
1339
  this.aydHost = "https://ayd.luzmo.com/";
1334
1340
  }
1335
- static {
1336
- // Static styles to set host display to block, else it is not shown at all for some reason.
1337
- this.styles = import_lit4.css`
1338
- :host {
1339
- display: block;
1340
- width: 100%;
1341
- height: 100%;
1342
- }
1343
- `;
1344
- }
1345
1341
  createRenderRoot() {
1346
1342
  return this;
1347
1343
  }
@@ -1410,6 +1406,14 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
1410
1406
  observer.observe(embedChat, { childList: true, subtree: true });
1411
1407
  }
1412
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
+ `;
1413
1417
  __decorateClass([
1414
1418
  (0, import_decorators3.property)()
1415
1419
  ], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
@@ -1475,16 +1479,6 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
1475
1479
  this.libVersion = version + "-wc-luzmo";
1476
1480
  this.remoteEntryServer = "http://localhost:4202";
1477
1481
  }
1478
- static {
1479
- // Static styles to set host display to block, else it is not shown at all for some reason.
1480
- this.styles = import_lit5.css`
1481
- :host {
1482
- display: block;
1483
- width: 100%;
1484
- height: 100%;
1485
- }
1486
- `;
1487
- }
1488
1482
  createRenderRoot() {
1489
1483
  return this;
1490
1484
  }
@@ -1535,6 +1529,14 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
1535
1529
  return import_lit5.html` `;
1536
1530
  }
1537
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
+ `;
1538
1540
  __decorateClass([
1539
1541
  (0, import_decorators4.property)()
1540
1542
  ], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);