@luzmo/embed 6.6.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 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.1] - 2025-09-02
6
+
7
+ ### Updates
8
+
9
+ - Update dependent libraries to latest versions
10
+
5
11
  ## [6.6.0] - 2025-07-14
6
12
 
7
13
  ### 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 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.6.1";
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(
@@ -1101,7 +1101,7 @@ if (!customElements.get("luzmo-embed-dashboard")) {
1101
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.96";
1104
+ var dashboardContentsVersion = "0.1.97";
1105
1105
  var vizItemRemote = "VizItemApp";
1106
1106
  var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1107
1107
  constructor() {
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
 
@@ -24,7 +23,7 @@ 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.6.0";
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";
@@ -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(
@@ -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.96";
1065
+ var dashboardContentsVersion = "0.1.97";
1066
1066
  var vizItemRemote = "VizItemApp";
1067
1067
  var LuzmoBaseVizItem = class extends LitElement2 {
1068
1068
  constructor() {
@@ -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 src_exports2 = {};
32
- __export(src_exports2, {
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(src_exports2);
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
- return t5.cssText;
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
- s4.adoptedStyleSheets = o7.map((t4) => t4 instanceof CSSStyleSheet ? t4 : t4.styleSheet);
1378
- else
1379
- for (const e7 of o7) {
1380
- const o8 = document.createElement("style"), n6 = t.litNonce;
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
- i7.unshift(c(s5));
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
- for (const [s5, i7] of t5) {
1583
- const { wrapped: t6 } = i7, e7 = this[s5];
1584
- true !== t6 || this._$AL.has(s5) || void 0 === e7 || this.C(s5, void 0, i7, e7);
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
- for (const t5 of r6.getAttributeNames())
1685
- if (t5.endsWith(e3)) {
1686
- const i7 = v2[a3++], s5 = r6.getAttribute(t5).split(h2), e7 = /([.?@])?(.*)/.exec(i7);
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
- if (r6.data === o3)
1701
- d3.push({ type: 2, index: c4 });
1702
- else {
1703
- let t5 = -1;
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
- return this.ft = new Set(Object.keys(r6)), this.render(r6);
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,7 +1995,7 @@ var o6 = e6(class extends i5 {
2033
1995
  });
2034
1996
 
2035
1997
  // libs/embed-libs/embed/package.json
2036
- var version = "6.6.0";
1998
+ var version = "6.6.1";
2037
1999
 
2038
2000
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
2039
2001
  var LuzmoDashboardService = class {
@@ -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(
@@ -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.96";
3030
+ var dashboardContentsVersion = "0.1.97";
3068
3031
  var vizItemRemote = "VizItemApp";
3069
3032
  var LuzmoBaseVizItem = class extends i4 {
3070
3033
  constructor() {
@@ -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
- @lit/reactive-element/decorators/query-async.js:
3580
+ lit-html/is-server.js:
3676
3581
  (**
3677
3582
  * @license
3678
- * Copyright 2017 Google LLC
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,10 +1,10 @@
1
1
  {
2
2
  "name": "@luzmo/embed",
3
- "version": "6.6.0",
3
+ "version": "6.6.1",
4
4
  "dependencies": {
5
5
  "lit": "3.3.0",
6
- "@luzmo/shared-embed": "5.5.0",
7
- "@luzmo/dashboard-contents-types": "1.0.17"
6
+ "@luzmo/shared-embed": "5.5.1",
7
+ "@luzmo/dashboard-contents-types": "1.0.18"
8
8
  },
9
9
  "keywords": [
10
10
  "es6",
@@ -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.96";
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;