@luzmo/embed 6.7.1 → 6.7.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +2 -2
- package/index.js +2 -2
- package/luzmo-embed.min.js +13 -13
- package/package.json +3 -3
- package/src/lib/viz-item/viz-item.base.d.ts +1 -1
package/index.cjs
CHANGED
|
@@ -62,7 +62,7 @@ var import_decorators = require("lit/decorators.js");
|
|
|
62
62
|
var import_style_map = require("lit/directives/style-map.js");
|
|
63
63
|
|
|
64
64
|
// libs/embed-libs/embed/package.json
|
|
65
|
-
var version = "6.7.
|
|
65
|
+
var version = "6.7.2-beta.0";
|
|
66
66
|
|
|
67
67
|
// libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
|
|
68
68
|
var SharedLib = __toESM(require("@luzmo/shared-embed"));
|
|
@@ -1109,7 +1109,7 @@ if (!customElements.get("luzmo-embed-dashboard")) {
|
|
|
1109
1109
|
var SharedLib3 = __toESM(require("@luzmo/shared-embed"));
|
|
1110
1110
|
var import_lit3 = require("lit");
|
|
1111
1111
|
var import_decorators2 = require("lit/decorators.js");
|
|
1112
|
-
var dashboardContentsVersion = "0.1.
|
|
1112
|
+
var dashboardContentsVersion = "0.1.99";
|
|
1113
1113
|
var vizItemRemote = "VizItemApp";
|
|
1114
1114
|
var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
1115
1115
|
constructor() {
|
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.7.
|
|
26
|
+
var version = "6.7.2-beta.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";
|
|
@@ -1070,7 +1070,7 @@ if (!customElements.get("luzmo-embed-dashboard")) {
|
|
|
1070
1070
|
import * as SharedLib3 from "@luzmo/shared-embed";
|
|
1071
1071
|
import { css as css2, html as html2, LitElement as LitElement2 } from "lit";
|
|
1072
1072
|
import { property as property2 } from "lit/decorators.js";
|
|
1073
|
-
var dashboardContentsVersion = "0.1.
|
|
1073
|
+
var dashboardContentsVersion = "0.1.99";
|
|
1074
1074
|
var vizItemRemote = "VizItemApp";
|
|
1075
1075
|
var LuzmoBaseVizItem = class extends LitElement2 {
|
|
1076
1076
|
constructor() {
|
package/luzmo-embed.min.js
CHANGED
|
@@ -1379,15 +1379,15 @@ var n = class {
|
|
|
1379
1379
|
};
|
|
1380
1380
|
var r = (t4) => new n("string" == typeof t4 ? t4 : t4 + "", void 0, s);
|
|
1381
1381
|
var i = (t4, ...e7) => {
|
|
1382
|
-
const o7 = 1 === t4.length ? t4[0] : e7.reduce((
|
|
1382
|
+
const o7 = 1 === t4.length ? t4[0] : e7.reduce((e8, s4, o8) => e8 + ((t5) => {
|
|
1383
1383
|
if (true === t5._$cssResult$) return t5.cssText;
|
|
1384
1384
|
if ("number" == typeof t5) return t5;
|
|
1385
1385
|
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.");
|
|
1386
|
-
})(s4) + t4[o8 + 1]
|
|
1386
|
+
})(s4) + t4[o8 + 1], t4[0]);
|
|
1387
1387
|
return new n(o7, t4, s);
|
|
1388
1388
|
};
|
|
1389
1389
|
var S = (s4, o7) => {
|
|
1390
|
-
if (e) s4.adoptedStyleSheets = o7.map((
|
|
1390
|
+
if (e) s4.adoptedStyleSheets = o7.map((t4) => t4 instanceof CSSStyleSheet ? t4 : t4.styleSheet);
|
|
1391
1391
|
else for (const e7 of o7) {
|
|
1392
1392
|
const o8 = document.createElement("style"), n6 = t.litNonce;
|
|
1393
1393
|
void 0 !== n6 && o8.setAttribute("nonce", n6), o8.textContent = e7.cssText, s4.appendChild(o8);
|
|
@@ -1504,7 +1504,7 @@ var y = class extends HTMLElement {
|
|
|
1504
1504
|
super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
|
|
1505
1505
|
}
|
|
1506
1506
|
_$Ev() {
|
|
1507
|
-
this._$ES = new Promise((
|
|
1507
|
+
this._$ES = new Promise((t4) => this.enableUpdating = t4), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t4) => t4(this));
|
|
1508
1508
|
}
|
|
1509
1509
|
addController(t4) {
|
|
1510
1510
|
(this._$EO ??= /* @__PURE__ */ new Set()).add(t4), void 0 !== this.renderRoot && this.isConnected && t4.hostConnected?.();
|
|
@@ -1522,12 +1522,12 @@ var y = class extends HTMLElement {
|
|
|
1522
1522
|
return S(t4, this.constructor.elementStyles), t4;
|
|
1523
1523
|
}
|
|
1524
1524
|
connectedCallback() {
|
|
1525
|
-
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((
|
|
1525
|
+
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((t4) => t4.hostConnected?.());
|
|
1526
1526
|
}
|
|
1527
1527
|
enableUpdating(t4) {
|
|
1528
1528
|
}
|
|
1529
1529
|
disconnectedCallback() {
|
|
1530
|
-
this._$EO?.forEach((
|
|
1530
|
+
this._$EO?.forEach((t4) => t4.hostDisconnected?.());
|
|
1531
1531
|
}
|
|
1532
1532
|
attributeChangedCallback(t4, s4, i7) {
|
|
1533
1533
|
this._$AK(t4, i7);
|
|
@@ -1586,7 +1586,7 @@ var y = class extends HTMLElement {
|
|
|
1586
1586
|
let t4 = false;
|
|
1587
1587
|
const s4 = this._$AL;
|
|
1588
1588
|
try {
|
|
1589
|
-
t4 = this.shouldUpdate(s4), t4 ? (this.willUpdate(s4), this._$EO?.forEach((
|
|
1589
|
+
t4 = this.shouldUpdate(s4), t4 ? (this.willUpdate(s4), this._$EO?.forEach((t5) => t5.hostUpdate?.()), this.update(s4)) : this._$EM();
|
|
1590
1590
|
} catch (s5) {
|
|
1591
1591
|
throw t4 = false, this._$EM(), s5;
|
|
1592
1592
|
}
|
|
@@ -1595,7 +1595,7 @@ var y = class extends HTMLElement {
|
|
|
1595
1595
|
willUpdate(t4) {
|
|
1596
1596
|
}
|
|
1597
1597
|
_$AE(t4) {
|
|
1598
|
-
this._$EO?.forEach((
|
|
1598
|
+
this._$EO?.forEach((t5) => t5.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t4)), this.updated(t4);
|
|
1599
1599
|
}
|
|
1600
1600
|
_$EM() {
|
|
1601
1601
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
|
|
@@ -1610,7 +1610,7 @@ var y = class extends HTMLElement {
|
|
|
1610
1610
|
return true;
|
|
1611
1611
|
}
|
|
1612
1612
|
update(t4) {
|
|
1613
|
-
this._$Eq &&= this._$Eq.forEach((
|
|
1613
|
+
this._$Eq &&= this._$Eq.forEach((t5) => this._$ET(t5, this[t5])), this._$EM();
|
|
1614
1614
|
}
|
|
1615
1615
|
updated(t4) {
|
|
1616
1616
|
}
|
|
@@ -1991,10 +1991,10 @@ var o6 = e6(class extends i5 {
|
|
|
1991
1991
|
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.");
|
|
1992
1992
|
}
|
|
1993
1993
|
render(t4) {
|
|
1994
|
-
return Object.keys(t4).reduce((
|
|
1994
|
+
return Object.keys(t4).reduce((e7, r6) => {
|
|
1995
1995
|
const s4 = t4[r6];
|
|
1996
1996
|
return null == s4 ? e7 : e7 + `${r6 = r6.includes("-") ? r6 : r6.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${s4};`;
|
|
1997
|
-
}
|
|
1997
|
+
}, "");
|
|
1998
1998
|
}
|
|
1999
1999
|
update(e7, [r6]) {
|
|
2000
2000
|
const { style: s4 } = e7.element;
|
|
@@ -2013,7 +2013,7 @@ var o6 = e6(class extends i5 {
|
|
|
2013
2013
|
});
|
|
2014
2014
|
|
|
2015
2015
|
// libs/embed-libs/embed/package.json
|
|
2016
|
-
var version = "6.7.
|
|
2016
|
+
var version = "6.7.2-beta.0";
|
|
2017
2017
|
|
|
2018
2018
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
2019
2019
|
var LuzmoDashboardService = class {
|
|
@@ -3053,7 +3053,7 @@ if (!customElements.get("luzmo-embed-dashboard")) {
|
|
|
3053
3053
|
}
|
|
3054
3054
|
|
|
3055
3055
|
// libs/embed-libs/embed/src/lib/viz-item/viz-item.base.ts
|
|
3056
|
-
var dashboardContentsVersion = "0.1.
|
|
3056
|
+
var dashboardContentsVersion = "0.1.99";
|
|
3057
3057
|
var vizItemRemote = "VizItemApp";
|
|
3058
3058
|
var LuzmoBaseVizItem = class extends i4 {
|
|
3059
3059
|
constructor() {
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@ import { LitElement, PropertyValues } from 'lit';
|
|
|
9
9
|
* together with this dashboard contents version are passed to the dashboard app (https://app.luzmo.com/dashboard-app/remoteEntry.mjs)
|
|
10
10
|
* and if needed the migration will be applied on the dashboard app level.
|
|
11
11
|
*/
|
|
12
|
-
export declare const dashboardContentsVersion = "0.1.
|
|
12
|
+
export declare const dashboardContentsVersion = "0.1.99";
|
|
13
13
|
type FunctionCall = [(...args: any) => any, any[]];
|
|
14
14
|
interface LuzmoVizItemComponentInterface extends HTMLElement {
|
|
15
15
|
options?: VizItemOptions;
|