@luzmo/embed 6.7.0 → 6.7.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 +5 -0
- package/index.cjs +1 -1
- package/index.js +1 -1
- package/luzmo-embed.min.js +14 -14
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
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.1";
|
|
66
66
|
|
|
67
67
|
// libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
|
|
68
68
|
var SharedLib = __toESM(require("@luzmo/shared-embed"));
|
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.1";
|
|
27
27
|
|
|
28
28
|
// libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
|
|
29
29
|
import * as SharedLib from "@luzmo/shared-embed";
|
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((e8, s4, o8) => e8 + ((t5) => {
|
|
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], t4[0]);
|
|
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((t4) => t4 instanceof CSSStyleSheet ? t4 : t4.styleSheet);
|
|
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((t4) => this.enableUpdating = t4), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t4) => t4(this));
|
|
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((t4) => t4.hostConnected?.());
|
|
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((t4) => t4.hostDisconnected?.());
|
|
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((t5) => t5.hostUpdate?.()), this.update(s4)) : this._$EM();
|
|
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((t5) => t5.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t4)), this.updated(t4);
|
|
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((t5) => this._$ET(t5, this[t5])), this._$EM();
|
|
1613
|
+
this._$Eq &&= this._$Eq.forEach(((t5) => this._$ET(t5, this[t5]))), this._$EM();
|
|
1614
1614
|
}
|
|
1615
1615
|
updated(t4) {
|
|
1616
1616
|
}
|
|
@@ -1786,7 +1786,7 @@ var R = class _R {
|
|
|
1786
1786
|
e7 < i7.length && (this._$AR(s4 && s4._$AB.nextSibling, e7), i7.length = e7);
|
|
1787
1787
|
}
|
|
1788
1788
|
_$AR(t4 = this._$AA.nextSibling, i7) {
|
|
1789
|
-
for (this._$AP?.(false, true, i7); t4
|
|
1789
|
+
for (this._$AP?.(false, true, i7); t4 !== this._$AB; ) {
|
|
1790
1790
|
const i8 = t4.nextSibling;
|
|
1791
1791
|
t4.remove(), t4 = i8;
|
|
1792
1792
|
}
|
|
@@ -1861,7 +1861,7 @@ var z = class {
|
|
|
1861
1861
|
}
|
|
1862
1862
|
};
|
|
1863
1863
|
var j = t2.litHtmlPolyfillSupport;
|
|
1864
|
-
j?.(N, R), (t2.litHtmlVersions ??= []).push("3.3.
|
|
1864
|
+
j?.(N, R), (t2.litHtmlVersions ??= []).push("3.3.1");
|
|
1865
1865
|
var B = (t4, i7, s4) => {
|
|
1866
1866
|
const e7 = s4?.renderBefore ?? i7;
|
|
1867
1867
|
let h3 = e7._$litPart$;
|
|
@@ -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((e7, r6) => {
|
|
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.1";
|
|
2017
2017
|
|
|
2018
2018
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
2019
2019
|
var LuzmoDashboardService = class {
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luzmo/embed",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.1",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"lit": "3.3.
|
|
6
|
-
"@luzmo/shared-embed": "5.6.
|
|
7
|
-
"@luzmo/dashboard-contents-types": "1.0.18"
|
|
5
|
+
"lit": "3.3.1",
|
|
6
|
+
"@luzmo/shared-embed": "5.6.1"
|
|
8
7
|
},
|
|
9
8
|
"keywords": [
|
|
10
9
|
"es6",
|