@luzmo/embed 5.0.14-beta.0 → 5.0.14-beta.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/index.cjs +10 -1
- package/index.js +10 -1
- package/index.libs.cjs +10 -1
- package/index.libs.js +10 -1
- package/lib/viz-item/viz-item.base.d.ts +1 -0
- package/luzmo-embed.libs.js +11 -1
- package/luzmo-embed.min.js +11 -1
- package/package.json +1 -1
- package/src/lib/viz-item/viz-item.base.d.ts +1 -0
package/index.cjs
CHANGED
|
@@ -55,7 +55,7 @@ var import_style_map = require("lit/directives/style-map.js");
|
|
|
55
55
|
var import_shared_embed = require("@luzmo/shared-embed");
|
|
56
56
|
|
|
57
57
|
// libs/embed-libs/embed/package.json
|
|
58
|
-
var version = "5.0.14-beta.
|
|
58
|
+
var version = "5.0.14-beta.1";
|
|
59
59
|
|
|
60
60
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
61
61
|
var LuzmoService = class {
|
|
@@ -1149,6 +1149,15 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
1149
1149
|
}
|
|
1150
1150
|
}
|
|
1151
1151
|
}
|
|
1152
|
+
updated(changedProperties) {
|
|
1153
|
+
if (this.chartElement) {
|
|
1154
|
+
for (const [propertyName] of changedProperties.entries()) {
|
|
1155
|
+
const mappedAttributeName = SharedLib3.libraryAcceptedParametersList[propertyName] ?? propertyName;
|
|
1156
|
+
const attributeValue = typeof this[propertyName] === "object" ? JSON.stringify(this[propertyName]) : this[propertyName]?.toString() ?? this[propertyName];
|
|
1157
|
+
this.chartElement.setAttribute(mappedAttributeName, attributeValue);
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1152
1161
|
render() {
|
|
1153
1162
|
return import_lit3.html``;
|
|
1154
1163
|
}
|
package/index.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "@luzmo/shared-embed";
|
|
38
38
|
|
|
39
39
|
// libs/embed-libs/embed/package.json
|
|
40
|
-
var version = "5.0.14-beta.
|
|
40
|
+
var version = "5.0.14-beta.1";
|
|
41
41
|
|
|
42
42
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
43
43
|
var LuzmoService = class {
|
|
@@ -1131,6 +1131,15 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
1131
1131
|
}
|
|
1132
1132
|
}
|
|
1133
1133
|
}
|
|
1134
|
+
updated(changedProperties) {
|
|
1135
|
+
if (this.chartElement) {
|
|
1136
|
+
for (const [propertyName] of changedProperties.entries()) {
|
|
1137
|
+
const mappedAttributeName = SharedLib3.libraryAcceptedParametersList[propertyName] ?? propertyName;
|
|
1138
|
+
const attributeValue = typeof this[propertyName] === "object" ? JSON.stringify(this[propertyName]) : this[propertyName]?.toString() ?? this[propertyName];
|
|
1139
|
+
this.chartElement.setAttribute(mappedAttributeName, attributeValue);
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1134
1143
|
render() {
|
|
1135
1144
|
return html2``;
|
|
1136
1145
|
}
|
package/index.libs.cjs
CHANGED
|
@@ -55,7 +55,7 @@ var import_style_map = require("lit/directives/style-map.js");
|
|
|
55
55
|
var import_shared_embed = require("@luzmo/shared-embed");
|
|
56
56
|
|
|
57
57
|
// libs/embed-libs/embed/package.json
|
|
58
|
-
var version = "5.0.14-beta.
|
|
58
|
+
var version = "5.0.14-beta.1";
|
|
59
59
|
|
|
60
60
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
61
61
|
var LuzmoService = class {
|
|
@@ -1149,6 +1149,15 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
1149
1149
|
}
|
|
1150
1150
|
}
|
|
1151
1151
|
}
|
|
1152
|
+
updated(changedProperties) {
|
|
1153
|
+
if (this.chartElement) {
|
|
1154
|
+
for (const [propertyName] of changedProperties.entries()) {
|
|
1155
|
+
const mappedAttributeName = SharedLib3.libraryAcceptedParametersList[propertyName] ?? propertyName;
|
|
1156
|
+
const attributeValue = typeof this[propertyName] === "object" ? JSON.stringify(this[propertyName]) : this[propertyName]?.toString() ?? this[propertyName];
|
|
1157
|
+
this.chartElement.setAttribute(mappedAttributeName, attributeValue);
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1152
1161
|
render() {
|
|
1153
1162
|
return import_lit3.html``;
|
|
1154
1163
|
}
|
package/index.libs.js
CHANGED
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
} from "@luzmo/shared-embed";
|
|
36
36
|
|
|
37
37
|
// libs/embed-libs/embed/package.json
|
|
38
|
-
var version = "5.0.14-beta.
|
|
38
|
+
var version = "5.0.14-beta.1";
|
|
39
39
|
|
|
40
40
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
41
41
|
var LuzmoService = class {
|
|
@@ -1129,6 +1129,15 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
1131
|
}
|
|
1132
|
+
updated(changedProperties) {
|
|
1133
|
+
if (this.chartElement) {
|
|
1134
|
+
for (const [propertyName] of changedProperties.entries()) {
|
|
1135
|
+
const mappedAttributeName = SharedLib3.libraryAcceptedParametersList[propertyName] ?? propertyName;
|
|
1136
|
+
const attributeValue = typeof this[propertyName] === "object" ? JSON.stringify(this[propertyName]) : this[propertyName]?.toString() ?? this[propertyName];
|
|
1137
|
+
this.chartElement.setAttribute(mappedAttributeName, attributeValue);
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1132
1141
|
render() {
|
|
1133
1142
|
return html2``;
|
|
1134
1143
|
}
|
|
@@ -14,5 +14,6 @@ export declare class LuzmoBaseVizItem extends LitElement {
|
|
|
14
14
|
constructor();
|
|
15
15
|
protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
|
|
16
16
|
private updateVizItemProperties;
|
|
17
|
+
updated(changedProperties: PropertyValues): void;
|
|
17
18
|
protected render(): unknown;
|
|
18
19
|
}
|
package/luzmo-embed.libs.js
CHANGED
|
@@ -1498,6 +1498,7 @@ var libraryTypeToWebComponentTypeMapping = {
|
|
|
1498
1498
|
authKey: "auth-key",
|
|
1499
1499
|
authToken: "auth-token"
|
|
1500
1500
|
};
|
|
1501
|
+
var libraryAcceptedParametersList = ["appServer", "apiHost", "options", "type", "authKey", "authToken", "slots"];
|
|
1501
1502
|
|
|
1502
1503
|
// libs/embed-libs/shared-embed/src/lib/constants/class-constants.ts
|
|
1503
1504
|
var luzmoEmbedContainerClass = "luzmo-embed-container";
|
|
@@ -1931,7 +1932,7 @@ var o5 = e6(class extends i4 {
|
|
|
1931
1932
|
});
|
|
1932
1933
|
|
|
1933
1934
|
// libs/embed-libs/embed/package.json
|
|
1934
|
-
var version = "5.0.14-beta.
|
|
1935
|
+
var version = "5.0.14-beta.1";
|
|
1935
1936
|
|
|
1936
1937
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
1937
1938
|
var LuzmoService = class {
|
|
@@ -3017,6 +3018,15 @@ var LuzmoBaseVizItem = class extends s3 {
|
|
|
3017
3018
|
}
|
|
3018
3019
|
}
|
|
3019
3020
|
}
|
|
3021
|
+
updated(changedProperties) {
|
|
3022
|
+
if (this.chartElement) {
|
|
3023
|
+
for (const [propertyName] of changedProperties.entries()) {
|
|
3024
|
+
const mappedAttributeName = libraryAcceptedParametersList[propertyName] ?? propertyName;
|
|
3025
|
+
const attributeValue = typeof this[propertyName] === "object" ? JSON.stringify(this[propertyName]) : this[propertyName]?.toString() ?? this[propertyName];
|
|
3026
|
+
this.chartElement.setAttribute(mappedAttributeName, attributeValue);
|
|
3027
|
+
}
|
|
3028
|
+
}
|
|
3029
|
+
}
|
|
3020
3030
|
render() {
|
|
3021
3031
|
return x``;
|
|
3022
3032
|
}
|
package/luzmo-embed.min.js
CHANGED
|
@@ -1498,6 +1498,7 @@ var libraryTypeToWebComponentTypeMapping = {
|
|
|
1498
1498
|
authKey: "auth-key",
|
|
1499
1499
|
authToken: "auth-token"
|
|
1500
1500
|
};
|
|
1501
|
+
var libraryAcceptedParametersList = ["appServer", "apiHost", "options", "type", "authKey", "authToken", "slots"];
|
|
1501
1502
|
|
|
1502
1503
|
// libs/embed-libs/shared-embed/src/lib/constants/class-constants.ts
|
|
1503
1504
|
var luzmoEmbedContainerClass = "luzmo-embed-container";
|
|
@@ -1931,7 +1932,7 @@ var o5 = e6(class extends i4 {
|
|
|
1931
1932
|
});
|
|
1932
1933
|
|
|
1933
1934
|
// libs/embed-libs/embed/package.json
|
|
1934
|
-
var version = "5.0.14-beta.
|
|
1935
|
+
var version = "5.0.14-beta.1";
|
|
1935
1936
|
|
|
1936
1937
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
1937
1938
|
var LuzmoService = class {
|
|
@@ -3017,6 +3018,15 @@ var LuzmoBaseVizItem = class extends s3 {
|
|
|
3017
3018
|
}
|
|
3018
3019
|
}
|
|
3019
3020
|
}
|
|
3021
|
+
updated(changedProperties) {
|
|
3022
|
+
if (this.chartElement) {
|
|
3023
|
+
for (const [propertyName] of changedProperties.entries()) {
|
|
3024
|
+
const mappedAttributeName = libraryAcceptedParametersList[propertyName] ?? propertyName;
|
|
3025
|
+
const attributeValue = typeof this[propertyName] === "object" ? JSON.stringify(this[propertyName]) : this[propertyName]?.toString() ?? this[propertyName];
|
|
3026
|
+
this.chartElement.setAttribute(mappedAttributeName, attributeValue);
|
|
3027
|
+
}
|
|
3028
|
+
}
|
|
3029
|
+
}
|
|
3020
3030
|
render() {
|
|
3021
3031
|
return x``;
|
|
3022
3032
|
}
|
package/package.json
CHANGED
|
@@ -14,5 +14,6 @@ export declare class LuzmoBaseVizItem extends LitElement {
|
|
|
14
14
|
constructor();
|
|
15
15
|
protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
|
|
16
16
|
private updateVizItemProperties;
|
|
17
|
+
updated(changedProperties: PropertyValues): void;
|
|
17
18
|
protected render(): unknown;
|
|
18
19
|
}
|