@luzmo/embed 6.1.6 → 6.1.8
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 +12 -0
- package/index.cjs +11 -4
- package/index.js +11 -4
- package/luzmo-embed.min.js +29 -38
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
All notable changes to this project will be documented in this file.
|
|
2
2
|
|
|
3
|
+
## [6.1.8] - 2024-11-12
|
|
4
|
+
|
|
5
|
+
### Updates
|
|
6
|
+
|
|
7
|
+
- Fixes for getAccessibleDashboards()
|
|
8
|
+
|
|
9
|
+
## [6.1.7] - 2024-10-25
|
|
10
|
+
|
|
11
|
+
### Updates
|
|
12
|
+
|
|
13
|
+
- Fix setting a size (width, height) in the inline style for <luzmo-embed-viz-item>
|
|
14
|
+
|
|
3
15
|
## [6.1.6] - 2024-10-22
|
|
4
16
|
|
|
5
17
|
### Updates
|
package/index.cjs
CHANGED
|
@@ -55414,7 +55414,7 @@ var import_style_map = require("lit/directives/style-map.js");
|
|
|
55414
55414
|
var import_shared_embed = require("@luzmo/shared-embed");
|
|
55415
55415
|
|
|
55416
55416
|
// libs/embed-libs/embed/package.json
|
|
55417
|
-
var version = "6.1.
|
|
55417
|
+
var version = "6.1.8";
|
|
55418
55418
|
|
|
55419
55419
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
55420
55420
|
var LuzmoService = class {
|
|
@@ -55878,6 +55878,7 @@ var LuzmoDashboard = class extends import_lit2.LitElement {
|
|
|
55878
55878
|
"authToken",
|
|
55879
55879
|
"authKey",
|
|
55880
55880
|
"appServer",
|
|
55881
|
+
"apiHost",
|
|
55881
55882
|
"timezoneId",
|
|
55882
55883
|
"itemDimensions"
|
|
55883
55884
|
]);
|
|
@@ -56451,9 +56452,15 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
56451
56452
|
`;
|
|
56452
56453
|
}
|
|
56453
56454
|
createRenderRoot() {
|
|
56454
|
-
this.style.display
|
|
56455
|
-
|
|
56456
|
-
|
|
56455
|
+
if (!this.style.display) {
|
|
56456
|
+
this.style.display = "block";
|
|
56457
|
+
}
|
|
56458
|
+
if (!this.style.height) {
|
|
56459
|
+
this.style.height = "100%";
|
|
56460
|
+
}
|
|
56461
|
+
if (!this.style.width) {
|
|
56462
|
+
this.style.width = "100%";
|
|
56463
|
+
}
|
|
56457
56464
|
return this;
|
|
56458
56465
|
}
|
|
56459
56466
|
canInitializeVizItem() {
|
package/index.js
CHANGED
|
@@ -55387,7 +55387,7 @@ import {
|
|
|
55387
55387
|
} from "@luzmo/shared-embed";
|
|
55388
55388
|
|
|
55389
55389
|
// libs/embed-libs/embed/package.json
|
|
55390
|
-
var version = "6.1.
|
|
55390
|
+
var version = "6.1.8";
|
|
55391
55391
|
|
|
55392
55392
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
55393
55393
|
var LuzmoService = class {
|
|
@@ -55851,6 +55851,7 @@ var LuzmoDashboard = class extends LitElement {
|
|
|
55851
55851
|
"authToken",
|
|
55852
55852
|
"authKey",
|
|
55853
55853
|
"appServer",
|
|
55854
|
+
"apiHost",
|
|
55854
55855
|
"timezoneId",
|
|
55855
55856
|
"itemDimensions"
|
|
55856
55857
|
]);
|
|
@@ -56424,9 +56425,15 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
56424
56425
|
`;
|
|
56425
56426
|
}
|
|
56426
56427
|
createRenderRoot() {
|
|
56427
|
-
this.style.display
|
|
56428
|
-
|
|
56429
|
-
|
|
56428
|
+
if (!this.style.display) {
|
|
56429
|
+
this.style.display = "block";
|
|
56430
|
+
}
|
|
56431
|
+
if (!this.style.height) {
|
|
56432
|
+
this.style.height = "100%";
|
|
56433
|
+
}
|
|
56434
|
+
if (!this.style.width) {
|
|
56435
|
+
this.style.width = "100%";
|
|
56436
|
+
}
|
|
56430
56437
|
return this;
|
|
56431
56438
|
}
|
|
56432
56439
|
canInitializeVizItem() {
|
package/luzmo-embed.min.js
CHANGED
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
(function
|
|
2
|
-
var hasExports = typeof exports === 'object';
|
|
3
|
-
if (typeof define === "function" && define.amd) {
|
|
4
|
-
define([], f);
|
|
5
|
-
} else if (typeof module === "object" && module.exports) {
|
|
6
|
-
module.exports = f();
|
|
7
|
-
} else {
|
|
8
|
-
var m = hasExports ? f() : f();
|
|
9
|
-
var root = hasExports ? exports : g;
|
|
10
|
-
for(var i in m) root[i] = m[i];
|
|
11
|
-
}}(typeof self !== 'undefined' ? self : this, () => {
|
|
12
|
-
var exports = {};
|
|
13
|
-
var module = { exports };
|
|
1
|
+
(function(g,f){if(typeof define=="function"&&define.amd){define(f)}else if(typeof exports=="object" && typeof module<"u"){module.exports=f()}else{var m=f();for(var i in m) g[i]=m[i]}}(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : this,function(){var exports={};var __exports=exports;var module={exports};
|
|
14
2
|
"use strict";
|
|
15
3
|
var __defProp = Object.defineProperty;
|
|
16
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -55498,16 +55486,26 @@ var EXTENTS = [
|
|
|
55498
55486
|
|
|
55499
55487
|
// libs/embed-libs/shared-embed/src/lib/helpers/translations.ts
|
|
55500
55488
|
var TRANSLATIONS = {
|
|
55501
|
-
initializing: {
|
|
55489
|
+
initializing: {
|
|
55490
|
+
en: "Initializing...",
|
|
55491
|
+
nl: "Laden...",
|
|
55492
|
+
fr: "Chargement...",
|
|
55493
|
+
de: "Initialisiere...",
|
|
55494
|
+
es: "Inicializando..."
|
|
55495
|
+
},
|
|
55502
55496
|
errorDashboard: {
|
|
55503
55497
|
en: "Oops, we could not load this dashboard!",
|
|
55504
55498
|
nl: "Oeps, we konden het dashboard niet laden.",
|
|
55505
|
-
fr: "Le chargement a echou\xE9."
|
|
55499
|
+
fr: "Le chargement a echou\xE9.",
|
|
55500
|
+
de: "Hoppla, wir konnten dieses Dashboard nicht laden!",
|
|
55501
|
+
es: "\xA1Ups! No pudimos cargar este tablero."
|
|
55506
55502
|
},
|
|
55507
55503
|
errorItem: {
|
|
55508
55504
|
en: "Oops, we could not load this item!",
|
|
55509
55505
|
nl: "Oeps, we konden de grafiek niet laden.",
|
|
55510
|
-
fr: "Le chargement a echou\xE9."
|
|
55506
|
+
fr: "Le chargement a echou\xE9.",
|
|
55507
|
+
de: "Hoppla, wir konnten dieses Diagramm nicht laden!",
|
|
55508
|
+
es: "\xA1Ups! No pudimos cargar este elemento."
|
|
55511
55509
|
}
|
|
55512
55510
|
};
|
|
55513
55511
|
var translations_default = TRANSLATIONS;
|
|
@@ -55985,7 +55983,8 @@ var exportDashboard = (dashboardComponent, iframe, format) => {
|
|
|
55985
55983
|
};
|
|
55986
55984
|
|
|
55987
55985
|
// libs/embed-libs/shared-embed/src/lib/methods/get-accessible-dashboards.ts
|
|
55988
|
-
var getAccessibleDashboards = (dashboardComponent) => {
|
|
55986
|
+
var getAccessibleDashboards = async (dashboardComponent) => {
|
|
55987
|
+
await dashboardComponent.updateComplete;
|
|
55989
55988
|
if ((dashboardComponent.currentAuthKey ?? dashboardComponent.authKey) && (dashboardComponent.currentAuthToken ?? dashboardComponent.authToken)) {
|
|
55990
55989
|
const fetchUser = new Promise((resolve, reject) => {
|
|
55991
55990
|
void (() => {
|
|
@@ -57357,7 +57356,7 @@ var se = e5(class extends i3 {
|
|
|
57357
57356
|
});
|
|
57358
57357
|
|
|
57359
57358
|
// libs/embed-libs/embed/package.json
|
|
57360
|
-
var version = "6.1.
|
|
57359
|
+
var version = "6.1.8";
|
|
57361
57360
|
|
|
57362
57361
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
57363
57362
|
var LuzmoService = class {
|
|
@@ -57819,6 +57818,7 @@ var LuzmoDashboard = class extends h3 {
|
|
|
57819
57818
|
"authToken",
|
|
57820
57819
|
"authKey",
|
|
57821
57820
|
"appServer",
|
|
57821
|
+
"apiHost",
|
|
57822
57822
|
"timezoneId",
|
|
57823
57823
|
"itemDimensions"
|
|
57824
57824
|
]);
|
|
@@ -58389,9 +58389,15 @@ var LuzmoBaseVizItem = class extends h3 {
|
|
|
58389
58389
|
`;
|
|
58390
58390
|
}
|
|
58391
58391
|
createRenderRoot() {
|
|
58392
|
-
this.style.display
|
|
58393
|
-
|
|
58394
|
-
|
|
58392
|
+
if (!this.style.display) {
|
|
58393
|
+
this.style.display = "block";
|
|
58394
|
+
}
|
|
58395
|
+
if (!this.style.height) {
|
|
58396
|
+
this.style.height = "100%";
|
|
58397
|
+
}
|
|
58398
|
+
if (!this.style.width) {
|
|
58399
|
+
this.style.width = "100%";
|
|
58400
|
+
}
|
|
58395
58401
|
return this;
|
|
58396
58402
|
}
|
|
58397
58403
|
canInitializeVizItem() {
|
|
@@ -58675,20 +58681,5 @@ lit-html/directives/style-map.js:
|
|
|
58675
58681
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
58676
58682
|
*)
|
|
58677
58683
|
*/
|
|
58678
|
-
|
|
58679
|
-
|
|
58680
|
-
if ((from && typeof from === "object") || typeof from === "function") {
|
|
58681
|
-
for (let key of Object.getOwnPropertyNames(from)) {
|
|
58682
|
-
if (!Object.prototype.hasOwnProperty.call(to, key) && key !== except)
|
|
58683
|
-
Object.defineProperty(to, key, {
|
|
58684
|
-
get: () => from[key],
|
|
58685
|
-
enumerable: !(desc = Object.getOwnPropertyDescriptor(from, key)) || desc.enumerable,
|
|
58686
|
-
});
|
|
58687
|
-
}
|
|
58688
|
-
}
|
|
58689
|
-
return to;
|
|
58690
|
-
};
|
|
58691
|
-
module.exports = __cp(module.exports, exports);
|
|
58692
|
-
}
|
|
58693
|
-
return module.exports;
|
|
58694
|
-
}))
|
|
58684
|
+
|
|
58685
|
+
if(__exports != exports)module.exports = exports;return module.exports}));
|
package/package.json
CHANGED