@luzmo/embed 6.13.6 → 7.0.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
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [7.0.0] - 2026-07-20
6
+
7
+ ### Removed
8
+ - Removed the `accentColor` property and `accent-color` attribute from `<luzmo-embed-dashboard>`.
9
+ - Removed the `qeVersion` property and `qe-version` attribute from `<luzmo-embed-dashboard>`.
10
+
5
11
  ## [6.13.6] - 2026-07-03
6
12
 
7
13
  ### Added
package/README.md CHANGED
@@ -195,7 +195,6 @@ Below a list of available properties on the dashboard web component
195
195
  | `apiHost` | string | API server to connect to (Default: 'https://api.luzmo.com/' , for US set apiHost to 'https://api.us.luzmo.com/') |
196
196
  | `editMode` | string | Specifies if the embedded dashboard should be editable or not. Accepted values: "view" , "editLimited" , "editFull" . Use "view" if you don't want the embedded dashboard to be editable. (Default: "view" ) |
197
197
  | `mainColor` | string | Optional override of the main color used in the whitelabeling of the embedded dashboard editor. If not provided, the main color of the whitelabeling colors set on the organization will be used. Should be specified as a string of rgb values (i.e. "rgb(50,50,50)"). |
198
- | `accentColor` | string | Optional override of the accent color used in the whitelabeling of the embedded dashboard editor. If not provided, the accent color of the whitelabeling colors set on the organization will be used. Should be specified as a string of rgb values (i.e. "rgb(50,50,50)"). |
199
198
 
200
199
  <br/>
201
200
 
package/index.cjs CHANGED
@@ -65,7 +65,7 @@ var import_decorators = require("lit/decorators.js");
65
65
  var import_style_map = require("lit/directives/style-map.js");
66
66
 
67
67
  // libs/embed-libs/embed/package.json
68
- var version = "6.13.6";
68
+ var version = "7.0.0";
69
69
 
70
70
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
71
71
  var SharedLib = __toESM(require("@luzmo/shared-embed"));
@@ -440,7 +440,6 @@ var LuzmoDashboard = class extends import_lit2.LitElement {
440
440
  itemId: "item-id",
441
441
  language: "language",
442
442
  editorLanguage: "editorLanguage",
443
- qeVersion: "qe-version",
444
443
  screenMode: "screen-mode",
445
444
  switchScreenModeOnResize: "switch-screen-mode-on-resize",
446
445
  authKey: "auth-key",
@@ -448,7 +447,6 @@ var LuzmoDashboard = class extends import_lit2.LitElement {
448
447
  editMode: "edit-mode",
449
448
  theme: "theme",
450
449
  mainColor: "main-color",
451
- accentColor: "accent-color",
452
450
  loaderBackground: "loader-background",
453
451
  loaderFontColor: "loader-font-color",
454
452
  loaderSpinnerColor: "loader-spinner-color",
@@ -641,7 +639,6 @@ var LuzmoDashboard = class extends import_lit2.LitElement {
641
639
  "itemId",
642
640
  "language",
643
641
  "editorLanguage",
644
- "qeVersion",
645
642
  "theme",
646
643
  "editMode",
647
644
  "screenMode",
@@ -728,9 +725,6 @@ var LuzmoDashboard = class extends import_lit2.LitElement {
728
725
  if (this.editorLanguage) {
729
726
  defaultParameters.editorLanguage = this.editorLanguage;
730
727
  }
731
- if (this.qeVersion) {
732
- defaultParameters.qeVersion = this.qeVersion;
733
- }
734
728
  if (this.screenMode) {
735
729
  defaultParameters.screenMode = this.screenMode;
736
730
  }
@@ -750,9 +744,6 @@ var LuzmoDashboard = class extends import_lit2.LitElement {
750
744
  if (this.mainColor) {
751
745
  defaultParameters.mainColor = this.mainColor;
752
746
  }
753
- if (this.accentColor) {
754
- defaultParameters.accentColor = this.accentColor;
755
- }
756
747
  if (this.loaderBackground) {
757
748
  defaultParameters.loaderBackground = this.loaderBackground;
758
749
  }
@@ -1066,9 +1057,6 @@ __decorateClass([
1066
1057
  __decorateClass([
1067
1058
  (0, import_decorators.property)()
1068
1059
  ], LuzmoDashboard.prototype, "editorLanguage", 2);
1069
- __decorateClass([
1070
- (0, import_decorators.property)()
1071
- ], LuzmoDashboard.prototype, "qeVersion", 2);
1072
1060
  __decorateClass([
1073
1061
  (0, import_decorators.property)()
1074
1062
  ], LuzmoDashboard.prototype, "screenMode", 2);
@@ -1089,9 +1077,6 @@ __decorateClass([
1089
1077
  __decorateClass([
1090
1078
  (0, import_decorators.property)()
1091
1079
  ], LuzmoDashboard.prototype, "mainColor", 2);
1092
- __decorateClass([
1093
- (0, import_decorators.property)()
1094
- ], LuzmoDashboard.prototype, "accentColor", 2);
1095
1080
  __decorateClass([
1096
1081
  (0, import_decorators.property)()
1097
1082
  ], LuzmoDashboard.prototype, "authToken", 2);
@@ -1245,22 +1230,6 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1245
1230
  this.libVersion = version + "-wc-luzmo";
1246
1231
  this.postInitCallQueue = [];
1247
1232
  }
1248
- static {
1249
- // Static styles to set host display to block, else it is not shown at all for some reason.
1250
- this.styles = import_lit3.css`
1251
- :host {
1252
- display: block;
1253
- width: 100%;
1254
- height: 100%;
1255
- }
1256
-
1257
- luzmo-embed-viz-item {
1258
- width: 100%;
1259
- height: 1000%;
1260
- display: block;
1261
- }
1262
- `;
1263
- }
1264
1233
  createRenderRoot() {
1265
1234
  if (!this.style.display) {
1266
1235
  this.style.display = "block";
@@ -1392,6 +1361,20 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1392
1361
  return import_lit3.html` `;
1393
1362
  }
1394
1363
  };
1364
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1365
+ LuzmoBaseVizItem.styles = import_lit3.css`
1366
+ :host {
1367
+ display: block;
1368
+ width: 100%;
1369
+ height: 100%;
1370
+ }
1371
+
1372
+ luzmo-embed-viz-item {
1373
+ width: 100%;
1374
+ height: 1000%;
1375
+ display: block;
1376
+ }
1377
+ `;
1395
1378
  __decorateClass([
1396
1379
  (0, import_decorators2.property)()
1397
1380
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -1491,16 +1474,6 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
1491
1474
  this.remoteEntryServer = "http://localhost:4202/";
1492
1475
  this.aydHost = "https://ayd.luzmo.com/";
1493
1476
  }
1494
- static {
1495
- // Static styles to set host display to block, else it is not shown at all for some reason.
1496
- this.styles = import_lit4.css`
1497
- :host {
1498
- display: block;
1499
- width: 100%;
1500
- height: 100%;
1501
- }
1502
- `;
1503
- }
1504
1477
  createRenderRoot() {
1505
1478
  return this;
1506
1479
  }
@@ -1578,6 +1551,14 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
1578
1551
  observer.observe(embedChat, { childList: true, subtree: true });
1579
1552
  }
1580
1553
  };
1554
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1555
+ LuzmoIQEmbedChatComponent.styles = import_lit4.css`
1556
+ :host {
1557
+ display: block;
1558
+ width: 100%;
1559
+ height: 100%;
1560
+ }
1561
+ `;
1581
1562
  __decorateClass([
1582
1563
  (0, import_decorators3.property)()
1583
1564
  ], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
@@ -1652,16 +1633,6 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
1652
1633
  this.libVersion = version + "-wc-luzmo";
1653
1634
  this.remoteEntryServer = "http://localhost:4202";
1654
1635
  }
1655
- static {
1656
- // Static styles to set host display to block, else it is not shown at all for some reason.
1657
- this.styles = import_lit5.css`
1658
- :host {
1659
- display: block;
1660
- width: 100%;
1661
- height: 100%;
1662
- }
1663
- `;
1664
- }
1665
1636
  createRenderRoot() {
1666
1637
  return this;
1667
1638
  }
@@ -1712,6 +1683,14 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
1712
1683
  return import_lit5.html` `;
1713
1684
  }
1714
1685
  };
1686
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1687
+ LuzmoIQEmbedAnswerComponent.styles = import_lit5.css`
1688
+ :host {
1689
+ display: block;
1690
+ width: 100%;
1691
+ height: 100%;
1692
+ }
1693
+ `;
1715
1694
  __decorateClass([
1716
1695
  (0, import_decorators4.property)()
1717
1696
  ], 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.13.6";
26
+ var version = "7.0.0";
27
27
 
28
28
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
29
29
  import * as SharedLib from "@luzmo/shared-embed";
@@ -398,7 +398,6 @@ var LuzmoDashboard = class extends LitElement {
398
398
  itemId: "item-id",
399
399
  language: "language",
400
400
  editorLanguage: "editorLanguage",
401
- qeVersion: "qe-version",
402
401
  screenMode: "screen-mode",
403
402
  switchScreenModeOnResize: "switch-screen-mode-on-resize",
404
403
  authKey: "auth-key",
@@ -406,7 +405,6 @@ var LuzmoDashboard = class extends LitElement {
406
405
  editMode: "edit-mode",
407
406
  theme: "theme",
408
407
  mainColor: "main-color",
409
- accentColor: "accent-color",
410
408
  loaderBackground: "loader-background",
411
409
  loaderFontColor: "loader-font-color",
412
410
  loaderSpinnerColor: "loader-spinner-color",
@@ -599,7 +597,6 @@ var LuzmoDashboard = class extends LitElement {
599
597
  "itemId",
600
598
  "language",
601
599
  "editorLanguage",
602
- "qeVersion",
603
600
  "theme",
604
601
  "editMode",
605
602
  "screenMode",
@@ -686,9 +683,6 @@ var LuzmoDashboard = class extends LitElement {
686
683
  if (this.editorLanguage) {
687
684
  defaultParameters.editorLanguage = this.editorLanguage;
688
685
  }
689
- if (this.qeVersion) {
690
- defaultParameters.qeVersion = this.qeVersion;
691
- }
692
686
  if (this.screenMode) {
693
687
  defaultParameters.screenMode = this.screenMode;
694
688
  }
@@ -708,9 +702,6 @@ var LuzmoDashboard = class extends LitElement {
708
702
  if (this.mainColor) {
709
703
  defaultParameters.mainColor = this.mainColor;
710
704
  }
711
- if (this.accentColor) {
712
- defaultParameters.accentColor = this.accentColor;
713
- }
714
705
  if (this.loaderBackground) {
715
706
  defaultParameters.loaderBackground = this.loaderBackground;
716
707
  }
@@ -1024,9 +1015,6 @@ __decorateClass([
1024
1015
  __decorateClass([
1025
1016
  property()
1026
1017
  ], LuzmoDashboard.prototype, "editorLanguage", 2);
1027
- __decorateClass([
1028
- property()
1029
- ], LuzmoDashboard.prototype, "qeVersion", 2);
1030
1018
  __decorateClass([
1031
1019
  property()
1032
1020
  ], LuzmoDashboard.prototype, "screenMode", 2);
@@ -1047,9 +1035,6 @@ __decorateClass([
1047
1035
  __decorateClass([
1048
1036
  property()
1049
1037
  ], LuzmoDashboard.prototype, "mainColor", 2);
1050
- __decorateClass([
1051
- property()
1052
- ], LuzmoDashboard.prototype, "accentColor", 2);
1053
1038
  __decorateClass([
1054
1039
  property()
1055
1040
  ], LuzmoDashboard.prototype, "authToken", 2);
@@ -1203,22 +1188,6 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1203
1188
  this.libVersion = version + "-wc-luzmo";
1204
1189
  this.postInitCallQueue = [];
1205
1190
  }
1206
- static {
1207
- // Static styles to set host display to block, else it is not shown at all for some reason.
1208
- this.styles = css2`
1209
- :host {
1210
- display: block;
1211
- width: 100%;
1212
- height: 100%;
1213
- }
1214
-
1215
- luzmo-embed-viz-item {
1216
- width: 100%;
1217
- height: 1000%;
1218
- display: block;
1219
- }
1220
- `;
1221
- }
1222
1191
  createRenderRoot() {
1223
1192
  if (!this.style.display) {
1224
1193
  this.style.display = "block";
@@ -1350,6 +1319,20 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1350
1319
  return html2` `;
1351
1320
  }
1352
1321
  };
1322
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1323
+ LuzmoBaseVizItem.styles = css2`
1324
+ :host {
1325
+ display: block;
1326
+ width: 100%;
1327
+ height: 100%;
1328
+ }
1329
+
1330
+ luzmo-embed-viz-item {
1331
+ width: 100%;
1332
+ height: 1000%;
1333
+ display: block;
1334
+ }
1335
+ `;
1353
1336
  __decorateClass([
1354
1337
  property2()
1355
1338
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -1449,16 +1432,6 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
1449
1432
  this.remoteEntryServer = "http://localhost:4202/";
1450
1433
  this.aydHost = "https://ayd.luzmo.com/";
1451
1434
  }
1452
- static {
1453
- // Static styles to set host display to block, else it is not shown at all for some reason.
1454
- this.styles = css3`
1455
- :host {
1456
- display: block;
1457
- width: 100%;
1458
- height: 100%;
1459
- }
1460
- `;
1461
- }
1462
1435
  createRenderRoot() {
1463
1436
  return this;
1464
1437
  }
@@ -1536,6 +1509,14 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
1536
1509
  observer.observe(embedChat, { childList: true, subtree: true });
1537
1510
  }
1538
1511
  };
1512
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1513
+ LuzmoIQEmbedChatComponent.styles = css3`
1514
+ :host {
1515
+ display: block;
1516
+ width: 100%;
1517
+ height: 100%;
1518
+ }
1519
+ `;
1539
1520
  __decorateClass([
1540
1521
  property3()
1541
1522
  ], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
@@ -1610,16 +1591,6 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
1610
1591
  this.libVersion = version + "-wc-luzmo";
1611
1592
  this.remoteEntryServer = "http://localhost:4202";
1612
1593
  }
1613
- static {
1614
- // Static styles to set host display to block, else it is not shown at all for some reason.
1615
- this.styles = css4`
1616
- :host {
1617
- display: block;
1618
- width: 100%;
1619
- height: 100%;
1620
- }
1621
- `;
1622
- }
1623
1594
  createRenderRoot() {
1624
1595
  return this;
1625
1596
  }
@@ -1670,6 +1641,14 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
1670
1641
  return html4` `;
1671
1642
  }
1672
1643
  };
1644
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1645
+ LuzmoIQEmbedAnswerComponent.styles = css4`
1646
+ :host {
1647
+ display: block;
1648
+ width: 100%;
1649
+ height: 100%;
1650
+ }
1651
+ `;
1673
1652
  __decorateClass([
1674
1653
  property4()
1675
1654
  ], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
@@ -109,21 +109,19 @@ var DEFAULT_PARAMETERS = {
109
109
  token: null,
110
110
  language: "auto",
111
111
  editorLanguage: "auto",
112
- qeVersion: null,
113
112
  editMode: null,
114
113
  screenMode: null,
115
114
  switchScreenModeOnResize: true,
116
115
  itemId: null,
117
116
  theme: "",
118
117
  mainColor: "",
119
- accentColor: "",
120
118
  itemDimensions: {
121
119
  width: "auto",
122
120
  height: "auto"
123
121
  },
124
122
  loaderBackground: "#f9f9f9",
125
123
  loaderFontColor: "#5a5a5a",
126
- loaderSpinnerColor: "rgba(255, 165, 0, 0.7)",
124
+ loaderSpinnerColor: "rgb(68, 52, 255)",
127
125
  loaderSpinnerBackground: "rgba(169, 169, 169, 0.14)",
128
126
  timezoneId: null,
129
127
  contextId: null
@@ -341,7 +339,6 @@ var createIframeUrl = (dashboardContent) => {
341
339
  appServer,
342
340
  language,
343
341
  editorLanguage,
344
- qeVersion,
345
342
  loaderBackground,
346
343
  loaderSpinnerColor,
347
344
  loaderSpinnerBackground,
@@ -357,7 +354,6 @@ var createIframeUrl = (dashboardContent) => {
357
354
  itemId,
358
355
  theme,
359
356
  mainColor,
360
- accentColor,
361
357
  editMode
362
358
  } = dashboardContent.params;
363
359
  if (language && language !== "auto") {
@@ -366,9 +362,6 @@ var createIframeUrl = (dashboardContent) => {
366
362
  if (editorLanguage && editorLanguage !== "auto") {
367
363
  searchString.push(`editorLanguage=${editorLanguage}`);
368
364
  }
369
- if (qeVersion) {
370
- searchString.push(`qe_version=${qeVersion}`);
371
- }
372
365
  if (loaderBackground) {
373
366
  searchString.push(`ldrbg=${loaderBackground}`);
374
367
  }
@@ -387,9 +380,6 @@ var createIframeUrl = (dashboardContent) => {
387
380
  if (mainColor) {
388
381
  searchString.push(`mainColor=${mainColor}`);
389
382
  }
390
- if (accentColor) {
391
- searchString.push(`accentColor=${accentColor}`);
392
- }
393
383
  if (screenMode && screenMode !== "auto") {
394
384
  searchString.push(`screenMode=${screenMode}`);
395
385
  }
@@ -1797,16 +1787,12 @@ function importNodeModule(name) {
1797
1787
  sdkImportCache.set(name, promise);
1798
1788
  return promise;
1799
1789
  }
1800
- var loadNodeFetch = async () => {
1801
- const fetchModule = await importNodeModule("node-fetch");
1802
- return fetchModule.default || fetchModule;
1803
- };
1804
1790
  var lazyLoaderHookFetch = async (input, init, loaderHook) => {
1805
1791
  const hook = (url, init2) => {
1806
1792
  return loaderHook.lifecycle.fetch.emit(url, init2);
1807
1793
  };
1808
1794
  const res = await hook(input, init || {});
1809
- if (!res || !(res instanceof Response)) return (typeof fetch === "undefined" ? await loadNodeFetch() : fetch)(input, init || {});
1795
+ if (!res || !(res instanceof Response)) return fetch(input, init || {});
1810
1796
  return res;
1811
1797
  };
1812
1798
  var createScriptNode = typeof ENV_TARGET === "undefined" || ENV_TARGET !== "web" ? (url, cb, attrs, loaderHook) => {
@@ -1824,7 +1810,7 @@ var createScriptNode = typeof ENV_TARGET === "undefined" || ENV_TARGET !== "web"
1824
1810
  }
1825
1811
  const getFetch = async () => {
1826
1812
  if (loaderHook?.fetch) return (input, init) => lazyLoaderHookFetch(input, init, loaderHook);
1827
- return typeof fetch === "undefined" ? loadNodeFetch() : fetch;
1813
+ return fetch;
1828
1814
  };
1829
1815
  const handleScriptFetch = async (f3, urlObj2) => {
1830
1816
  try {
@@ -1886,20 +1872,82 @@ var loadScriptNode = typeof ENV_TARGET === "undefined" || ENV_TARGET !== "web" ?
1886
1872
  throw new Error("loadScriptNode is disabled in non-Node.js environment");
1887
1873
  };
1888
1874
  var esmModuleCache = /* @__PURE__ */ new Map();
1875
+ var isFetchableRemoteModuleUrl = (url) => url.startsWith("http:") || url.startsWith("https:");
1876
+ var isBareModuleSpecifier = (specifier) => !specifier.startsWith("./") && !specifier.startsWith("../") && !specifier.startsWith("/") && !specifier.includes(":");
1877
+ function encodeRemoteModulePath(url) {
1878
+ const remoteUrl = new URL(url);
1879
+ const encodedProtocol = encodeURIComponent(remoteUrl.protocol.slice(0, -1));
1880
+ const encodedHost = encodeURIComponent(remoteUrl.host);
1881
+ const encodedPathname = remoteUrl.pathname.split("/").map((segment) => encodeURIComponent(segment)).join("/");
1882
+ const encodedSearchHash = encodeURIComponent(`${remoteUrl.search}${remoteUrl.hash}`);
1883
+ return `/${encodedProtocol}/${encodedHost}${encodedPathname}${encodedSearchHash ? `/${encodedSearchHash}` : ""}`;
1884
+ }
1885
+ function createImportMetaUrl(url, baseFileUrl) {
1886
+ const baseUrl = baseFileUrl.endsWith("/") ? baseFileUrl : `${baseFileUrl}/`;
1887
+ return new URL(`__module_federation_remote__${encodeRemoteModulePath(url)}`, baseUrl).href;
1888
+ }
1889
+ async function isNodeBuiltinSpecifier(specifier) {
1890
+ if (specifier.startsWith("node:")) return true;
1891
+ if (!isBareModuleSpecifier(specifier)) return false;
1892
+ return (await importNodeModule("node:module")).builtinModules.includes(specifier);
1893
+ }
1894
+ function getSyntheticModuleExports(moduleExports) {
1895
+ const namespaceObject = moduleExports && (typeof moduleExports === "object" || typeof moduleExports === "function") ? moduleExports : { default: moduleExports };
1896
+ const effectiveExports = { ...namespaceObject };
1897
+ if (!Object.prototype.hasOwnProperty.call(effectiveExports, "default")) effectiveExports.default = namespaceObject;
1898
+ return effectiveExports;
1899
+ }
1900
+ async function createSyntheticModuleFromExports(identifier, moduleExports, vm) {
1901
+ if (typeof vm.SyntheticModule !== "function") throw new Error("vm.SyntheticModule is required to load Node.js built-in modules in ESM remote entries.");
1902
+ const effectiveExports = getSyntheticModuleExports(moduleExports);
1903
+ const exportNames = Object.keys(effectiveExports);
1904
+ const syntheticModule = new vm.SyntheticModule(exportNames, function setSyntheticModuleExports() {
1905
+ for (const name of exportNames) this.setExport(name, effectiveExports[name]);
1906
+ }, { identifier });
1907
+ esmModuleCache.set(identifier, syntheticModule);
1908
+ await syntheticModule.link(async () => {
1909
+ throw new Error(`Node.js built-in module "${identifier}" should not request child modules.`);
1910
+ });
1911
+ await syntheticModule.evaluate();
1912
+ return syntheticModule;
1913
+ }
1914
+ async function loadNodeBuiltinModule(specifier, vm) {
1915
+ const cacheKey = `node-builtin:${specifier}`;
1916
+ if (esmModuleCache.has(cacheKey)) return esmModuleCache.get(cacheKey);
1917
+ return createSyntheticModuleFromExports(cacheKey, await importNodeModule(specifier), vm);
1918
+ }
1919
+ async function loadResolvedModule(specifier, parentUrl, options) {
1920
+ if (await isNodeBuiltinSpecifier(specifier)) return loadNodeBuiltinModule(specifier, options.vm);
1921
+ if (isBareModuleSpecifier(specifier)) throw new Error(`Unsupported ESM module specifier "${specifier}". Only relative or absolute http(s) remote modules and Node.js built-in modules are supported.`);
1922
+ const resolvedUrl = new URL(specifier, parentUrl).href;
1923
+ if (!isFetchableRemoteModuleUrl(resolvedUrl)) throw new Error(`Unsupported ESM module specifier "${specifier}" resolved to "${resolvedUrl}". Only http(s) remote modules and Node.js built-in modules are supported.`);
1924
+ return loadModule(resolvedUrl, options);
1925
+ }
1926
+ async function evaluateDynamicModule(module2) {
1927
+ if (module2.status === "linked") await module2.evaluate();
1928
+ if (module2.status === "errored") throw module2.error;
1929
+ return module2;
1930
+ }
1889
1931
  async function loadModule(url, options) {
1890
1932
  if (esmModuleCache.has(url)) return esmModuleCache.get(url);
1891
1933
  const { fetch: fetch2, vm } = options;
1934
+ if (!isFetchableRemoteModuleUrl(url)) throw new Error(`Unsupported ESM module URL "${url}". Only http(s) remote modules and Node.js built-in modules are supported.`);
1892
1935
  const code = await (await fetch2(url)).text();
1893
- const module2 = new vm.SourceTextModule(code, { importModuleDynamically: async (specifier, script) => {
1894
- const resolvedUrl = new URL(specifier, url).href;
1895
- return loadModule(resolvedUrl, options);
1896
- } });
1897
- esmModuleCache.set(url, module2);
1898
- await module2.link(async (specifier) => {
1899
- const resolvedUrl = new URL(specifier, url).href;
1900
- return await loadModule(resolvedUrl, options);
1936
+ const cwdFileUrl = (await importNodeModule("node:url")).pathToFileURL(process.cwd()).href;
1937
+ const sourceTextModule = new vm.SourceTextModule(code, {
1938
+ identifier: url,
1939
+ initializeImportMeta: (meta) => {
1940
+ meta.url = createImportMetaUrl(url, cwdFileUrl);
1941
+ },
1942
+ importModuleDynamically: async (specifier) => {
1943
+ return evaluateDynamicModule(await loadResolvedModule(specifier, url, options));
1944
+ }
1901
1945
  });
1902
- return module2;
1946
+ esmModuleCache.set(url, sourceTextModule);
1947
+ await sourceTextModule.link(async (specifier) => {
1948
+ return loadResolvedModule(specifier, url, options);
1949
+ });
1950
+ return sourceTextModule;
1903
1951
  }
1904
1952
 
1905
1953
  // node_modules/@module-federation/error-codes/dist/getShortErrorMsg.mjs
@@ -2051,7 +2099,7 @@ function getGlobalFederationConstructor() {
2051
2099
  function setGlobalFederationConstructor(FederationConstructor, isDebug = isDebugMode()) {
2052
2100
  if (isDebug) {
2053
2101
  CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = FederationConstructor;
2054
- CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "2.5.1";
2102
+ CurrentGlobal.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "2.8.0";
2055
2103
  }
2056
2104
  }
2057
2105
  function getInfoWithoutType(target, key) {
@@ -3459,6 +3507,36 @@ var Module$1 = class {
3459
3507
  }
3460
3508
  };
3461
3509
 
3510
+ // node_modules/@module-federation/runtime-core/dist/utils/hooks/pluginSystem.js
3511
+ var PluginSystem = class {
3512
+ constructor(lifecycle) {
3513
+ this.registerPlugins = {};
3514
+ this.lifecycle = lifecycle;
3515
+ this.lifecycleKeys = Object.keys(lifecycle);
3516
+ }
3517
+ applyPlugin(plugin, instance) {
3518
+ assert2(isPlainObject(plugin), "Plugin configuration is invalid.");
3519
+ const pluginName = plugin.name;
3520
+ assert2(pluginName, "A name must be provided by the plugin.");
3521
+ if (!this.registerPlugins[pluginName]) {
3522
+ this.registerPlugins[pluginName] = plugin;
3523
+ plugin.apply?.(instance);
3524
+ Object.keys(this.lifecycle).forEach((key) => {
3525
+ const pluginLife = plugin[key];
3526
+ if (pluginLife) this.lifecycle[key].on(pluginLife);
3527
+ });
3528
+ }
3529
+ }
3530
+ removePlugin(pluginName) {
3531
+ assert2(pluginName, "A name is required.");
3532
+ const plugin = this.registerPlugins[pluginName];
3533
+ assert2(plugin, `The plugin "${pluginName}" is not registered.`);
3534
+ Object.keys(plugin).forEach((key) => {
3535
+ if (key !== "name") this.lifecycle[key].remove(plugin[key]);
3536
+ });
3537
+ }
3538
+ };
3539
+
3462
3540
  // node_modules/@module-federation/runtime-core/dist/utils/hooks/syncHook.js
3463
3541
  var SyncHook = class {
3464
3542
  constructor(type) {
@@ -3581,33 +3659,29 @@ var AsyncWaterfallHook = class extends SyncHook {
3581
3659
  }
3582
3660
  };
3583
3661
 
3584
- // node_modules/@module-federation/runtime-core/dist/utils/hooks/pluginSystem.js
3585
- var PluginSystem = class {
3586
- constructor(lifecycle) {
3587
- this.registerPlugins = {};
3588
- this.lifecycle = lifecycle;
3589
- this.lifecycleKeys = Object.keys(lifecycle);
3662
+ // node_modules/@module-federation/runtime-core/dist/remote/disabled.js
3663
+ var REMOTE_DISABLED_MESSAGE = "Remote loading is disabled by experiments.optimization.disableRemote.";
3664
+ var DisabledRemoteHandler = class {
3665
+ constructor() {
3666
+ this.hooks = new PluginSystem({});
3590
3667
  }
3591
- applyPlugin(plugin, instance) {
3592
- assert2(isPlainObject(plugin), "Plugin configuration is invalid.");
3593
- const pluginName = plugin.name;
3594
- assert2(pluginName, "A name must be provided by the plugin.");
3595
- if (!this.registerPlugins[pluginName]) {
3596
- this.registerPlugins[pluginName] = plugin;
3597
- plugin.apply?.(instance);
3598
- Object.keys(this.lifecycle).forEach((key) => {
3599
- const pluginLife = plugin[key];
3600
- if (pluginLife) this.lifecycle[key].on(pluginLife);
3601
- });
3602
- }
3668
+ formatAndRegisterRemote() {
3669
+ return [];
3603
3670
  }
3604
- removePlugin(pluginName) {
3605
- assert2(pluginName, "A name is required.");
3606
- const plugin = this.registerPlugins[pluginName];
3607
- assert2(plugin, `The plugin "${pluginName}" is not registered.`);
3608
- Object.keys(plugin).forEach((key) => {
3609
- if (key !== "name") this.lifecycle[key].remove(plugin[key]);
3610
- });
3671
+ loadRemote() {
3672
+ throw new Error(REMOTE_DISABLED_MESSAGE);
3673
+ }
3674
+ preloadRemote() {
3675
+ throw new Error(REMOTE_DISABLED_MESSAGE);
3676
+ }
3677
+ registerRemotes() {
3678
+ throw new Error(REMOTE_DISABLED_MESSAGE);
3679
+ }
3680
+ getRemoteModuleAndOptions() {
3681
+ throw new Error(REMOTE_DISABLED_MESSAGE);
3682
+ }
3683
+ initRawContainer() {
3684
+ throw new Error(REMOTE_DISABLED_MESSAGE);
3611
3685
  }
3612
3686
  };
3613
3687
 
@@ -4035,6 +4109,13 @@ var SnapshotHandler = class {
4035
4109
  }
4036
4110
  };
4037
4111
 
4112
+ // node_modules/@module-federation/runtime-core/dist/plugins/snapshot/disabled.js
4113
+ var DisabledSnapshotHandler = class {
4114
+ constructor() {
4115
+ this.hooks = new PluginSystem({});
4116
+ }
4117
+ };
4118
+
4038
4119
  // node_modules/@module-federation/runtime-core/dist/shared/index.js
4039
4120
  var SharedHandler = class {
4040
4121
  constructor(host) {
@@ -4437,6 +4518,32 @@ var SharedHandler = class {
4437
4518
  }
4438
4519
  };
4439
4520
 
4521
+ // node_modules/@module-federation/runtime-core/dist/shared/disabled.js
4522
+ var DisabledSharedHandler = class {
4523
+ constructor() {
4524
+ this.shareScopeMap = {};
4525
+ this.hooks = new PluginSystem({ afterResolve: new AsyncWaterfallHook("afterResolve") });
4526
+ }
4527
+ registerShared() {
4528
+ return {
4529
+ newShareInfos: {},
4530
+ allShareInfos: {}
4531
+ };
4532
+ }
4533
+ loadShare() {
4534
+ throw new Error("Shared dependency loading is disabled by experiments.optimization.disableShared.");
4535
+ }
4536
+ loadShareSync() {
4537
+ throw new Error("Shared dependency loading is disabled by experiments.optimization.disableShared.");
4538
+ }
4539
+ initializeSharing() {
4540
+ return [];
4541
+ }
4542
+ initShareScopeMap(scopeName, shareScope) {
4543
+ this.shareScopeMap[scopeName] = shareScope;
4544
+ }
4545
+ };
4546
+
4440
4547
  // node_modules/@module-federation/runtime-core/dist/remote/index.js
4441
4548
  var RemoteHandler = class {
4442
4549
  constructor(host) {
@@ -4669,6 +4776,19 @@ var RemoteHandler = class {
4669
4776
  this.registerRemote(remote, host.options.remotes, { force: options?.force });
4670
4777
  });
4671
4778
  }
4779
+ initRawContainer(name, url, container) {
4780
+ const { host } = this;
4781
+ const module2 = new Module$1({
4782
+ host,
4783
+ remoteInfo: getRemoteInfo({
4784
+ name,
4785
+ entry: url
4786
+ })
4787
+ });
4788
+ module2.remoteEntryExports = container;
4789
+ host.moduleCache.set(name, module2);
4790
+ return module2;
4791
+ }
4672
4792
  async getRemoteModuleAndOptions(options) {
4673
4793
  const { host } = this;
4674
4794
  const { id } = options;
@@ -4784,6 +4904,17 @@ var RemoteHandler = class {
4784
4904
  const { name } = remote;
4785
4905
  const remoteIndex = host.options.remotes.findIndex((item) => item.name === name);
4786
4906
  if (remoteIndex !== -1) host.options.remotes.splice(remoteIndex, 1);
4907
+ const globalSnapshotKey = getInfoWithoutType(CurrentGlobal.__FEDERATION__.moduleInfo, getFMId(remote)).key;
4908
+ delete CurrentGlobal.__FEDERATION__.moduleInfo[globalSnapshotKey];
4909
+ if ("entry" in remote) {
4910
+ host.snapshotHandler.manifestCache.delete(remote.entry);
4911
+ delete Global.__FEDERATION__.__MANIFEST_LOADING__[remote.entry];
4912
+ }
4913
+ const { hostGlobalSnapshot } = getGlobalRemoteInfo(remote, host);
4914
+ if (hostGlobalSnapshot) {
4915
+ const remoteKey = hostGlobalSnapshot && "remotesInfo" in hostGlobalSnapshot && hostGlobalSnapshot.remotesInfo && getInfoWithoutType(hostGlobalSnapshot.remotesInfo, remote.name).key;
4916
+ if (remoteKey) delete hostGlobalSnapshot.remotesInfo[remoteKey];
4917
+ }
4787
4918
  const loadedModule = host.moduleCache.get(remote.name);
4788
4919
  if (loadedModule) {
4789
4920
  const remoteInfo = loadedModule.remoteInfo;
@@ -4792,7 +4923,6 @@ var RemoteHandler = class {
4792
4923
  else CurrentGlobal[key] = void 0;
4793
4924
  const remoteEntryUniqueKey = getRemoteEntryUniqueKey(loadedModule.remoteInfo);
4794
4925
  if (globalLoading[remoteEntryUniqueKey]) delete globalLoading[remoteEntryUniqueKey];
4795
- host.snapshotHandler.manifestCache.delete(remoteInfo.entry);
4796
4926
  let remoteInsId = remoteInfo.buildVersion ? composeKeyWithSeparator(remoteInfo.name, remoteInfo.buildVersion) : remoteInfo.name;
4797
4927
  const remoteInsIndex = CurrentGlobal.__FEDERATION__.__INSTANCES__.findIndex((ins) => {
4798
4928
  if (remoteInfo.buildVersion) return ins.options.id === remoteInsId;
@@ -4840,14 +4970,6 @@ var RemoteHandler = class {
4840
4970
  });
4841
4971
  CurrentGlobal.__FEDERATION__.__INSTANCES__.splice(remoteInsIndex, 1);
4842
4972
  }
4843
- const { hostGlobalSnapshot } = getGlobalRemoteInfo(remote, host);
4844
- if (hostGlobalSnapshot) {
4845
- const remoteKey = hostGlobalSnapshot && "remotesInfo" in hostGlobalSnapshot && hostGlobalSnapshot.remotesInfo && getInfoWithoutType(hostGlobalSnapshot.remotesInfo, remote.name).key;
4846
- if (remoteKey) {
4847
- delete hostGlobalSnapshot.remotesInfo[remoteKey];
4848
- if (Boolean(Global.__FEDERATION__.__MANIFEST_LOADING__[remoteKey])) delete Global.__FEDERATION__.__MANIFEST_LOADING__[remoteKey];
4849
- }
4850
- }
4851
4973
  host.moduleCache.delete(remote.name);
4852
4974
  }
4853
4975
  } catch (err) {
@@ -4858,6 +4980,8 @@ var RemoteHandler = class {
4858
4980
 
4859
4981
  // node_modules/@module-federation/runtime-core/dist/core.js
4860
4982
  var USE_SNAPSHOT = typeof FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN === "boolean" ? !FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN : true;
4983
+ var USE_REMOTE = typeof FEDERATION_OPTIMIZE_NO_REMOTE === "boolean" ? !FEDERATION_OPTIMIZE_NO_REMOTE : true;
4984
+ var USE_SHARED = typeof FEDERATION_OPTIMIZE_NO_SHARED === "boolean" ? !FEDERATION_OPTIMIZE_NO_SHARED : true;
4861
4985
  var ModuleFederation = class {
4862
4986
  constructor(userOptions) {
4863
4987
  this.hooks = new PluginSystem({
@@ -4866,7 +4990,7 @@ var ModuleFederation = class {
4866
4990
  beforeInitContainer: new AsyncWaterfallHook("beforeInitContainer"),
4867
4991
  initContainer: new AsyncWaterfallHook("initContainer")
4868
4992
  });
4869
- this.version = "2.5.1";
4993
+ this.version = "2.8.0";
4870
4994
  this.moduleCache = /* @__PURE__ */ new Map();
4871
4995
  this.loaderHook = new PluginSystem({
4872
4996
  getModuleInfo: new SyncHook(),
@@ -4889,7 +5013,7 @@ var ModuleFederation = class {
4889
5013
  beforeBridgeDestroy: new SyncHook(),
4890
5014
  afterBridgeDestroy: new SyncHook()
4891
5015
  });
4892
- const plugins = USE_SNAPSHOT ? [snapshotPlugin(), generatePreloadAssetsPlugin()] : [];
5016
+ const plugins = USE_REMOTE && USE_SNAPSHOT ? [snapshotPlugin(), generatePreloadAssetsPlugin()] : [];
4893
5017
  const defaultOptions = {
4894
5018
  id: getBuilderId(),
4895
5019
  name: userOptions.name,
@@ -4900,9 +5024,9 @@ var ModuleFederation = class {
4900
5024
  };
4901
5025
  this.name = userOptions.name;
4902
5026
  this.options = defaultOptions;
4903
- this.snapshotHandler = new SnapshotHandler(this);
4904
- this.sharedHandler = new SharedHandler(this);
4905
- this.remoteHandler = new RemoteHandler(this);
5027
+ this.snapshotHandler = USE_REMOTE ? new SnapshotHandler(this) : new DisabledSnapshotHandler();
5028
+ this.sharedHandler = USE_SHARED ? new SharedHandler(this) : new DisabledSharedHandler();
5029
+ this.remoteHandler = USE_REMOTE ? new RemoteHandler(this) : new DisabledRemoteHandler();
4906
5030
  this.shareScopeMap = this.sharedHandler.shareScopeMap;
4907
5031
  this.registerPlugins([...defaultOptions.plugins, ...userOptions.plugins || []]);
4908
5032
  this.options = this.formatOptions(defaultOptions, userOptions);
@@ -4924,17 +5048,7 @@ var ModuleFederation = class {
4924
5048
  return this.sharedHandler.initializeSharing(shareScopeName, extraOptions);
4925
5049
  }
4926
5050
  initRawContainer(name, url, container) {
4927
- const remoteInfo = getRemoteInfo({
4928
- name,
4929
- entry: url
4930
- });
4931
- const module2 = new Module$1({
4932
- host: this,
4933
- remoteInfo
4934
- });
4935
- module2.remoteEntryExports = container;
4936
- this.moduleCache.set(name, module2);
4937
- return module2;
5051
+ return this.remoteHandler.initRawContainer(name, url, container);
4938
5052
  }
4939
5053
  async loadRemote(id, options) {
4940
5054
  return this.remoteHandler.loadRemote(id, options);
@@ -4946,7 +5060,7 @@ var ModuleFederation = class {
4946
5060
  this.sharedHandler.initShareScopeMap(scopeName, shareScope, extraOptions);
4947
5061
  }
4948
5062
  formatOptions(globalOptions, userOptions) {
4949
- const { allShareInfos: shared } = formatShareConfigs(globalOptions, userOptions);
5063
+ const shared = USE_SHARED ? formatShareConfigs(globalOptions, userOptions).allShareInfos : {};
4950
5064
  const { userOptions: userOptionsRes, options: globalOptionsRes } = this.hooks.lifecycle.beforeInit.emit({
4951
5065
  origin: this,
4952
5066
  userOptions,
@@ -5767,7 +5881,7 @@ var o6 = e6(class extends i5 {
5767
5881
  });
5768
5882
 
5769
5883
  // libs/embed-libs/embed/package.json
5770
- var version = "6.13.6";
5884
+ var version = "7.0.0";
5771
5885
 
5772
5886
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
5773
5887
  var LuzmoDashboardService = class {
@@ -6138,7 +6252,6 @@ var LuzmoDashboard = class extends i4 {
6138
6252
  itemId: "item-id",
6139
6253
  language: "language",
6140
6254
  editorLanguage: "editorLanguage",
6141
- qeVersion: "qe-version",
6142
6255
  screenMode: "screen-mode",
6143
6256
  switchScreenModeOnResize: "switch-screen-mode-on-resize",
6144
6257
  authKey: "auth-key",
@@ -6146,7 +6259,6 @@ var LuzmoDashboard = class extends i4 {
6146
6259
  editMode: "edit-mode",
6147
6260
  theme: "theme",
6148
6261
  mainColor: "main-color",
6149
- accentColor: "accent-color",
6150
6262
  loaderBackground: "loader-background",
6151
6263
  loaderFontColor: "loader-font-color",
6152
6264
  loaderSpinnerColor: "loader-spinner-color",
@@ -6339,7 +6451,6 @@ var LuzmoDashboard = class extends i4 {
6339
6451
  "itemId",
6340
6452
  "language",
6341
6453
  "editorLanguage",
6342
- "qeVersion",
6343
6454
  "theme",
6344
6455
  "editMode",
6345
6456
  "screenMode",
@@ -6426,9 +6537,6 @@ var LuzmoDashboard = class extends i4 {
6426
6537
  if (this.editorLanguage) {
6427
6538
  defaultParameters.editorLanguage = this.editorLanguage;
6428
6539
  }
6429
- if (this.qeVersion) {
6430
- defaultParameters.qeVersion = this.qeVersion;
6431
- }
6432
6540
  if (this.screenMode) {
6433
6541
  defaultParameters.screenMode = this.screenMode;
6434
6542
  }
@@ -6448,9 +6556,6 @@ var LuzmoDashboard = class extends i4 {
6448
6556
  if (this.mainColor) {
6449
6557
  defaultParameters.mainColor = this.mainColor;
6450
6558
  }
6451
- if (this.accentColor) {
6452
- defaultParameters.accentColor = this.accentColor;
6453
- }
6454
6559
  if (this.loaderBackground) {
6455
6560
  defaultParameters.loaderBackground = this.loaderBackground;
6456
6561
  }
@@ -6764,9 +6869,6 @@ __decorateClass([
6764
6869
  __decorateClass([
6765
6870
  n4()
6766
6871
  ], LuzmoDashboard.prototype, "editorLanguage", 2);
6767
- __decorateClass([
6768
- n4()
6769
- ], LuzmoDashboard.prototype, "qeVersion", 2);
6770
6872
  __decorateClass([
6771
6873
  n4()
6772
6874
  ], LuzmoDashboard.prototype, "screenMode", 2);
@@ -6787,9 +6889,6 @@ __decorateClass([
6787
6889
  __decorateClass([
6788
6890
  n4()
6789
6891
  ], LuzmoDashboard.prototype, "mainColor", 2);
6790
- __decorateClass([
6791
- n4()
6792
- ], LuzmoDashboard.prototype, "accentColor", 2);
6793
6892
  __decorateClass([
6794
6893
  n4()
6795
6894
  ], LuzmoDashboard.prototype, "authToken", 2);
@@ -6942,22 +7041,6 @@ var LuzmoBaseVizItem = class extends i4 {
6942
7041
  this.libVersion = version + "-wc-luzmo";
6943
7042
  this.postInitCallQueue = [];
6944
7043
  }
6945
- static {
6946
- // Static styles to set host display to block, else it is not shown at all for some reason.
6947
- this.styles = i`
6948
- :host {
6949
- display: block;
6950
- width: 100%;
6951
- height: 100%;
6952
- }
6953
-
6954
- luzmo-embed-viz-item {
6955
- width: 100%;
6956
- height: 1000%;
6957
- display: block;
6958
- }
6959
- `;
6960
- }
6961
7044
  createRenderRoot() {
6962
7045
  if (!this.style.display) {
6963
7046
  this.style.display = "block";
@@ -7089,6 +7172,20 @@ var LuzmoBaseVizItem = class extends i4 {
7089
7172
  return b2` `;
7090
7173
  }
7091
7174
  };
7175
+ // Static styles to set host display to block, else it is not shown at all for some reason.
7176
+ LuzmoBaseVizItem.styles = i`
7177
+ :host {
7178
+ display: block;
7179
+ width: 100%;
7180
+ height: 100%;
7181
+ }
7182
+
7183
+ luzmo-embed-viz-item {
7184
+ width: 100%;
7185
+ height: 1000%;
7186
+ display: block;
7187
+ }
7188
+ `;
7092
7189
  __decorateClass([
7093
7190
  n4()
7094
7191
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -7185,16 +7282,6 @@ var LuzmoIQEmbedChatComponent = class extends i4 {
7185
7282
  this.remoteEntryServer = "http://localhost:4202/";
7186
7283
  this.aydHost = "https://ayd.luzmo.com/";
7187
7284
  }
7188
- static {
7189
- // Static styles to set host display to block, else it is not shown at all for some reason.
7190
- this.styles = i`
7191
- :host {
7192
- display: block;
7193
- width: 100%;
7194
- height: 100%;
7195
- }
7196
- `;
7197
- }
7198
7285
  createRenderRoot() {
7199
7286
  return this;
7200
7287
  }
@@ -7272,6 +7359,14 @@ var LuzmoIQEmbedChatComponent = class extends i4 {
7272
7359
  observer.observe(embedChat, { childList: true, subtree: true });
7273
7360
  }
7274
7361
  };
7362
+ // Static styles to set host display to block, else it is not shown at all for some reason.
7363
+ LuzmoIQEmbedChatComponent.styles = i`
7364
+ :host {
7365
+ display: block;
7366
+ width: 100%;
7367
+ height: 100%;
7368
+ }
7369
+ `;
7275
7370
  __decorateClass([
7276
7371
  n4()
7277
7372
  ], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
@@ -7343,16 +7438,6 @@ var LuzmoIQEmbedAnswerComponent = class extends i4 {
7343
7438
  this.libVersion = version + "-wc-luzmo";
7344
7439
  this.remoteEntryServer = "http://localhost:4202";
7345
7440
  }
7346
- static {
7347
- // Static styles to set host display to block, else it is not shown at all for some reason.
7348
- this.styles = i`
7349
- :host {
7350
- display: block;
7351
- width: 100%;
7352
- height: 100%;
7353
- }
7354
- `;
7355
- }
7356
7441
  createRenderRoot() {
7357
7442
  return this;
7358
7443
  }
@@ -7403,6 +7488,14 @@ var LuzmoIQEmbedAnswerComponent = class extends i4 {
7403
7488
  return b2` `;
7404
7489
  }
7405
7490
  };
7491
+ // Static styles to set host display to block, else it is not shown at all for some reason.
7492
+ LuzmoIQEmbedAnswerComponent.styles = i`
7493
+ :host {
7494
+ display: block;
7495
+ width: 100%;
7496
+ height: 100%;
7497
+ }
7498
+ `;
7406
7499
  __decorateClass([
7407
7500
  n4()
7408
7501
  ], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@luzmo/embed",
3
- "version": "6.13.6",
3
+ "version": "7.0.0-es2021",
4
4
  "dependencies": {
5
5
  "lit": "^3.3.1",
6
- "@luzmo/shared-embed": "5.12.3"
6
+ "@luzmo/shared-embed": "6.0.0"
7
7
  },
8
8
  "keywords": [
9
+ "es2021",
10
+ "safari-compatible",
9
11
  "es6",
10
12
  "web-component",
11
13
  "lit",
@@ -21,5 +23,9 @@
21
23
  ],
22
24
  "module": "./index.js",
23
25
  "types": "./src/index.d.ts",
24
- "license": "SEE LICENSE IN LICENSE"
26
+ "license": "SEE LICENSE IN LICENSE",
27
+ "description": "ES2021 build for Safari < 16.3 compatibility",
28
+ "publishConfig": {
29
+ "tag": "es2021"
30
+ }
25
31
  }
@@ -11,13 +11,11 @@ export declare class LuzmoDashboard extends LitElement implements SharedLib.WebC
11
11
  itemId?: SharedLib.DashboardInputs['itemId'];
12
12
  language: SharedLib.DashboardInputs['language'];
13
13
  editorLanguage: SharedLib.DashboardInputs['editorLanguage'];
14
- qeVersion: SharedLib.DashboardInputs['qeVersion'];
15
14
  screenMode: SharedLib.DashboardInputs['screenMode'];
16
15
  switchScreenModeOnResize: boolean;
17
16
  editMode: SharedLib.DashboardInputs['editMode'];
18
17
  theme?: SharedLib.DashboardInputs['theme'];
19
18
  mainColor?: SharedLib.DashboardInputs['mainColor'];
20
- accentColor?: SharedLib.DashboardInputs['accentColor'];
21
19
  authToken?: SharedLib.DashboardInputs['authToken'];
22
20
  authKey?: SharedLib.DashboardInputs['authKey'];
23
21
  loaderBackground?: SharedLib.DashboardInputs['loaderBackground'];