@luzmo/embed 5.0.14-beta.2 → 5.0.14-beta.4

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 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.2";
58
+ var version = "5.0.14-beta.4";
59
59
 
60
60
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
61
61
  var LuzmoService = class {
@@ -1114,7 +1114,7 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1114
1114
  },
1115
1115
  theme: "default"
1116
1116
  };
1117
- this.VERSION = version + "-wc-luzmo";
1117
+ this.version = version + "-wc-luzmo";
1118
1118
  }
1119
1119
  static {
1120
1120
  // Static styles to set host display to block, else it is not shown at all for some reason.
@@ -1150,11 +1150,7 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1150
1150
  }
1151
1151
  updated(changedProperties) {
1152
1152
  if (this.chartElement) {
1153
- for (const [propertyName] of changedProperties.entries()) {
1154
- const mappedAttributeName = SharedLib3.libraryTypeToWebComponentTypeMapping[propertyName] ?? propertyName;
1155
- const attributeValue = typeof this[propertyName] === "object" ? JSON.stringify(this[propertyName]) : this[propertyName]?.toString() ?? this[propertyName];
1156
- this.chartElement.setAttribute(mappedAttributeName, attributeValue);
1157
- }
1153
+ this.updateVizItemProperties();
1158
1154
  }
1159
1155
  }
1160
1156
  render() {
@@ -1184,7 +1180,7 @@ __decorateClass([
1184
1180
  ], LuzmoBaseVizItem.prototype, "authToken", 2);
1185
1181
  __decorateClass([
1186
1182
  (0, import_decorators3.property)()
1187
- ], LuzmoBaseVizItem.prototype, "VERSION", 2);
1183
+ ], LuzmoBaseVizItem.prototype, "version", 2);
1188
1184
 
1189
1185
  // libs/embed-libs/embed/src/lib/viz-item/viz-item-component.ts
1190
1186
  var LuzmoVizItem = class extends LuzmoBaseVizItem {
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.2";
40
+ var version = "5.0.14-beta.4";
41
41
 
42
42
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
43
43
  var LuzmoService = class {
@@ -1096,7 +1096,7 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1096
1096
  },
1097
1097
  theme: "default"
1098
1098
  };
1099
- this.VERSION = version + "-wc-luzmo";
1099
+ this.version = version + "-wc-luzmo";
1100
1100
  }
1101
1101
  static {
1102
1102
  // Static styles to set host display to block, else it is not shown at all for some reason.
@@ -1132,11 +1132,7 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1132
1132
  }
1133
1133
  updated(changedProperties) {
1134
1134
  if (this.chartElement) {
1135
- for (const [propertyName] of changedProperties.entries()) {
1136
- const mappedAttributeName = SharedLib3.libraryTypeToWebComponentTypeMapping[propertyName] ?? propertyName;
1137
- const attributeValue = typeof this[propertyName] === "object" ? JSON.stringify(this[propertyName]) : this[propertyName]?.toString() ?? this[propertyName];
1138
- this.chartElement.setAttribute(mappedAttributeName, attributeValue);
1139
- }
1135
+ this.updateVizItemProperties();
1140
1136
  }
1141
1137
  }
1142
1138
  render() {
@@ -1166,7 +1162,7 @@ __decorateClass([
1166
1162
  ], LuzmoBaseVizItem.prototype, "authToken", 2);
1167
1163
  __decorateClass([
1168
1164
  property2()
1169
- ], LuzmoBaseVizItem.prototype, "VERSION", 2);
1165
+ ], LuzmoBaseVizItem.prototype, "version", 2);
1170
1166
 
1171
1167
  // libs/embed-libs/embed/src/lib/viz-item/viz-item-component.ts
1172
1168
  var LuzmoVizItem = class extends LuzmoBaseVizItem {
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.2";
58
+ var version = "5.0.14-beta.4";
59
59
 
60
60
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
61
61
  var LuzmoService = class {
@@ -1114,7 +1114,7 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1114
1114
  },
1115
1115
  theme: "default"
1116
1116
  };
1117
- this.VERSION = version + "-wc-luzmo";
1117
+ this.version = version + "-wc-luzmo";
1118
1118
  }
1119
1119
  static {
1120
1120
  // Static styles to set host display to block, else it is not shown at all for some reason.
@@ -1150,11 +1150,7 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1150
1150
  }
1151
1151
  updated(changedProperties) {
1152
1152
  if (this.chartElement) {
1153
- for (const [propertyName] of changedProperties.entries()) {
1154
- const mappedAttributeName = SharedLib3.libraryTypeToWebComponentTypeMapping[propertyName] ?? propertyName;
1155
- const attributeValue = typeof this[propertyName] === "object" ? JSON.stringify(this[propertyName]) : this[propertyName]?.toString() ?? this[propertyName];
1156
- this.chartElement.setAttribute(mappedAttributeName, attributeValue);
1157
- }
1153
+ this.updateVizItemProperties();
1158
1154
  }
1159
1155
  }
1160
1156
  render() {
@@ -1184,7 +1180,7 @@ __decorateClass([
1184
1180
  ], LuzmoBaseVizItem.prototype, "authToken", 2);
1185
1181
  __decorateClass([
1186
1182
  (0, import_decorators3.property)()
1187
- ], LuzmoBaseVizItem.prototype, "VERSION", 2);
1183
+ ], LuzmoBaseVizItem.prototype, "version", 2);
1188
1184
 
1189
1185
  // libs/embed-libs/embed/src/lib/viz-item/viz-item-web-component.ts
1190
1186
  var LuzmoVizItemWebComponent = class extends LuzmoBaseVizItem {
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.2";
38
+ var version = "5.0.14-beta.4";
39
39
 
40
40
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
41
41
  var LuzmoService = class {
@@ -1094,7 +1094,7 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1094
1094
  },
1095
1095
  theme: "default"
1096
1096
  };
1097
- this.VERSION = version + "-wc-luzmo";
1097
+ this.version = version + "-wc-luzmo";
1098
1098
  }
1099
1099
  static {
1100
1100
  // Static styles to set host display to block, else it is not shown at all for some reason.
@@ -1130,11 +1130,7 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1130
1130
  }
1131
1131
  updated(changedProperties) {
1132
1132
  if (this.chartElement) {
1133
- for (const [propertyName] of changedProperties.entries()) {
1134
- const mappedAttributeName = SharedLib3.libraryTypeToWebComponentTypeMapping[propertyName] ?? propertyName;
1135
- const attributeValue = typeof this[propertyName] === "object" ? JSON.stringify(this[propertyName]) : this[propertyName]?.toString() ?? this[propertyName];
1136
- this.chartElement.setAttribute(mappedAttributeName, attributeValue);
1137
- }
1133
+ this.updateVizItemProperties();
1138
1134
  }
1139
1135
  }
1140
1136
  render() {
@@ -1164,7 +1160,7 @@ __decorateClass([
1164
1160
  ], LuzmoBaseVizItem.prototype, "authToken", 2);
1165
1161
  __decorateClass([
1166
1162
  property2()
1167
- ], LuzmoBaseVizItem.prototype, "VERSION", 2);
1163
+ ], LuzmoBaseVizItem.prototype, "version", 2);
1168
1164
 
1169
1165
  // libs/embed-libs/embed/src/lib/viz-item/viz-item-web-component.ts
1170
1166
  var LuzmoVizItemWebComponent = class extends LuzmoBaseVizItem {
@@ -8,7 +8,7 @@ export declare class LuzmoBaseVizItem extends LitElement {
8
8
  type?: SharedLib.ItemType;
9
9
  authKey?: string;
10
10
  authToken?: string;
11
- VERSION?: string;
11
+ version?: string;
12
12
  chartElement: HTMLElement;
13
13
  static styles: import("lit").CSSResult;
14
14
  constructor();
@@ -1930,7 +1930,7 @@ var o5 = e6(class extends i4 {
1930
1930
  });
1931
1931
 
1932
1932
  // libs/embed-libs/embed/package.json
1933
- var version = "5.0.14-beta.2";
1933
+ var version = "5.0.14-beta.4";
1934
1934
 
1935
1935
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
1936
1936
  var LuzmoService = class {
@@ -2981,7 +2981,7 @@ var LuzmoBaseVizItem = class extends s3 {
2981
2981
  },
2982
2982
  theme: "default"
2983
2983
  };
2984
- this.VERSION = version + "-wc-luzmo";
2984
+ this.version = version + "-wc-luzmo";
2985
2985
  }
2986
2986
  static {
2987
2987
  // Static styles to set host display to block, else it is not shown at all for some reason.
@@ -3017,11 +3017,7 @@ var LuzmoBaseVizItem = class extends s3 {
3017
3017
  }
3018
3018
  updated(changedProperties) {
3019
3019
  if (this.chartElement) {
3020
- for (const [propertyName] of changedProperties.entries()) {
3021
- const mappedAttributeName = libraryTypeToWebComponentTypeMapping[propertyName] ?? propertyName;
3022
- const attributeValue = typeof this[propertyName] === "object" ? JSON.stringify(this[propertyName]) : this[propertyName]?.toString() ?? this[propertyName];
3023
- this.chartElement.setAttribute(mappedAttributeName, attributeValue);
3024
- }
3020
+ this.updateVizItemProperties();
3025
3021
  }
3026
3022
  }
3027
3023
  render() {
@@ -3051,7 +3047,7 @@ __decorateClass([
3051
3047
  ], LuzmoBaseVizItem.prototype, "authToken", 2);
3052
3048
  __decorateClass([
3053
3049
  n3()
3054
- ], LuzmoBaseVizItem.prototype, "VERSION", 2);
3050
+ ], LuzmoBaseVizItem.prototype, "version", 2);
3055
3051
 
3056
3052
  // libs/embed-libs/embed/src/lib/viz-item/viz-item-web-component.ts
3057
3053
  var LuzmoVizItemWebComponent = class extends LuzmoBaseVizItem {
@@ -1930,7 +1930,7 @@ var o5 = e6(class extends i4 {
1930
1930
  });
1931
1931
 
1932
1932
  // libs/embed-libs/embed/package.json
1933
- var version = "5.0.14-beta.2";
1933
+ var version = "5.0.14-beta.4";
1934
1934
 
1935
1935
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
1936
1936
  var LuzmoService = class {
@@ -2981,7 +2981,7 @@ var LuzmoBaseVizItem = class extends s3 {
2981
2981
  },
2982
2982
  theme: "default"
2983
2983
  };
2984
- this.VERSION = version + "-wc-luzmo";
2984
+ this.version = version + "-wc-luzmo";
2985
2985
  }
2986
2986
  static {
2987
2987
  // Static styles to set host display to block, else it is not shown at all for some reason.
@@ -3017,11 +3017,7 @@ var LuzmoBaseVizItem = class extends s3 {
3017
3017
  }
3018
3018
  updated(changedProperties) {
3019
3019
  if (this.chartElement) {
3020
- for (const [propertyName] of changedProperties.entries()) {
3021
- const mappedAttributeName = libraryTypeToWebComponentTypeMapping[propertyName] ?? propertyName;
3022
- const attributeValue = typeof this[propertyName] === "object" ? JSON.stringify(this[propertyName]) : this[propertyName]?.toString() ?? this[propertyName];
3023
- this.chartElement.setAttribute(mappedAttributeName, attributeValue);
3024
- }
3020
+ this.updateVizItemProperties();
3025
3021
  }
3026
3022
  }
3027
3023
  render() {
@@ -3051,7 +3047,7 @@ __decorateClass([
3051
3047
  ], LuzmoBaseVizItem.prototype, "authToken", 2);
3052
3048
  __decorateClass([
3053
3049
  n3()
3054
- ], LuzmoBaseVizItem.prototype, "VERSION", 2);
3050
+ ], LuzmoBaseVizItem.prototype, "version", 2);
3055
3051
 
3056
3052
  // libs/embed-libs/embed/src/lib/viz-item/viz-item-component.ts
3057
3053
  var LuzmoVizItem = class extends LuzmoBaseVizItem {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luzmo/embed",
3
- "version": "5.0.14-beta.2",
3
+ "version": "5.0.14-beta.4",
4
4
  "dependencies": {
5
5
  "lit": "3.1.2",
6
6
  "@luzmo/shared-embed": "5.0.7-beta.0"