@luzmo/embed 6.1.0-beta.5 → 6.1.0-beta.7
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 +13 -1
- package/index.js +13 -1
- package/lib/viz-item/viz-item-component.d.ts +1 -1
- package/lib/viz-item/viz-item.base.d.ts +2 -2
- package/libs/embed-libs/embed/src/lib/viz-item/viz-item-component.d.ts +1 -1
- package/libs/embed-libs/embed/src/lib/viz-item/viz-item.base.d.ts +2 -2
- package/luzmo-embed.min.js +13 -1
- package/package.json +3 -3
package/index.cjs
CHANGED
|
@@ -57,7 +57,7 @@ var import_style_map = require("lit/directives/style-map.js");
|
|
|
57
57
|
var import_shared_embed = require("@luzmo/shared-embed");
|
|
58
58
|
|
|
59
59
|
// libs/embed-libs/embed/package.json
|
|
60
|
-
var version = "6.1.0-beta.
|
|
60
|
+
var version = "6.1.0-beta.7";
|
|
61
61
|
|
|
62
62
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
63
63
|
var LuzmoService = class {
|
|
@@ -54493,9 +54493,18 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
54493
54493
|
width: 100%;
|
|
54494
54494
|
height: 100%;
|
|
54495
54495
|
}
|
|
54496
|
+
|
|
54497
|
+
luzmo-embed-viz-item {
|
|
54498
|
+
width: 100%;
|
|
54499
|
+
height: 1000%;
|
|
54500
|
+
display: block;
|
|
54501
|
+
}
|
|
54496
54502
|
`;
|
|
54497
54503
|
}
|
|
54498
54504
|
createRenderRoot() {
|
|
54505
|
+
this.style.display = "block";
|
|
54506
|
+
this.style.height = "100%";
|
|
54507
|
+
this.style.width = "100%";
|
|
54499
54508
|
return this;
|
|
54500
54509
|
}
|
|
54501
54510
|
canInitializeVizItem() {
|
|
@@ -54540,6 +54549,9 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
54540
54549
|
if (!this.chartElement) {
|
|
54541
54550
|
this.chartElement = document.createElement("chart-component");
|
|
54542
54551
|
this.chartElement.setAttribute("embedding-mode", "chart");
|
|
54552
|
+
this.chartElement.style.height = "100%";
|
|
54553
|
+
this.chartElement.style.width = "100%";
|
|
54554
|
+
this.chartElement.style.display = "block";
|
|
54543
54555
|
this.chartElement.addEventListener("load", (payload) => this.dispatchEvent(new CustomEvent("load", payload)));
|
|
54544
54556
|
this.chartElement.addEventListener("rendered", (payload) => {
|
|
54545
54557
|
if (this.postInitCallQueue?.length > 0) {
|
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 = "6.1.0-beta.
|
|
40
|
+
var version = "6.1.0-beta.7";
|
|
41
41
|
|
|
42
42
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
43
43
|
var LuzmoService = class {
|
|
@@ -54473,9 +54473,18 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
54473
54473
|
width: 100%;
|
|
54474
54474
|
height: 100%;
|
|
54475
54475
|
}
|
|
54476
|
+
|
|
54477
|
+
luzmo-embed-viz-item {
|
|
54478
|
+
width: 100%;
|
|
54479
|
+
height: 1000%;
|
|
54480
|
+
display: block;
|
|
54481
|
+
}
|
|
54476
54482
|
`;
|
|
54477
54483
|
}
|
|
54478
54484
|
createRenderRoot() {
|
|
54485
|
+
this.style.display = "block";
|
|
54486
|
+
this.style.height = "100%";
|
|
54487
|
+
this.style.width = "100%";
|
|
54479
54488
|
return this;
|
|
54480
54489
|
}
|
|
54481
54490
|
canInitializeVizItem() {
|
|
@@ -54520,6 +54529,9 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
54520
54529
|
if (!this.chartElement) {
|
|
54521
54530
|
this.chartElement = document.createElement("chart-component");
|
|
54522
54531
|
this.chartElement.setAttribute("embedding-mode", "chart");
|
|
54532
|
+
this.chartElement.style.height = "100%";
|
|
54533
|
+
this.chartElement.style.width = "100%";
|
|
54534
|
+
this.chartElement.style.display = "block";
|
|
54523
54535
|
this.chartElement.addEventListener("load", (payload) => this.dispatchEvent(new CustomEvent("load", payload)));
|
|
54524
54536
|
this.chartElement.addEventListener("rendered", (payload) => {
|
|
54525
54537
|
if (this.postInitCallQueue?.length > 0) {
|
|
@@ -11,7 +11,7 @@ import type { VizItemType, VizItemSlots, FilterGroup } from '@luzmo/dashboard-co
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const dashboardContentsVersion = "0.1.88";
|
|
13
13
|
type FunctionCall = [(...args: any) => any, any[]];
|
|
14
|
-
|
|
14
|
+
interface LuzmoVizItemComponentInterface extends HTMLElement {
|
|
15
15
|
options?: SharedLib.VizItemOptions;
|
|
16
16
|
type?: VizItemType;
|
|
17
17
|
appServer?: string;
|
|
@@ -31,6 +31,7 @@ export interface LuzmoVizItemComponentInterface extends HTMLElement {
|
|
|
31
31
|
setSelectedData: (selectedDataInput: SharedLib.SelectedDataInput) => SharedLib.SetSelectedData;
|
|
32
32
|
setAuthorization: (key: string, token: string) => void;
|
|
33
33
|
}
|
|
34
|
+
export type { LuzmoVizItemComponentInterface };
|
|
34
35
|
export declare class LuzmoBaseVizItem extends LitElement implements LuzmoVizItemComponentInterface {
|
|
35
36
|
appServer?: string;
|
|
36
37
|
apiHost?: string;
|
|
@@ -70,4 +71,3 @@ export declare class LuzmoBaseVizItem extends LitElement implements LuzmoVizItem
|
|
|
70
71
|
private parseAndValidate;
|
|
71
72
|
protected render(): unknown;
|
|
72
73
|
}
|
|
73
|
-
export {};
|
|
@@ -11,7 +11,7 @@ import type { VizItemType, VizItemSlots, FilterGroup } from '@luzmo/dashboard-co
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const dashboardContentsVersion = "0.1.88";
|
|
13
13
|
type FunctionCall = [(...args: any) => any, any[]];
|
|
14
|
-
|
|
14
|
+
interface LuzmoVizItemComponentInterface extends HTMLElement {
|
|
15
15
|
options?: SharedLib.VizItemOptions;
|
|
16
16
|
type?: VizItemType;
|
|
17
17
|
appServer?: string;
|
|
@@ -31,6 +31,7 @@ export interface LuzmoVizItemComponentInterface extends HTMLElement {
|
|
|
31
31
|
setSelectedData: (selectedDataInput: SharedLib.SelectedDataInput) => SharedLib.SetSelectedData;
|
|
32
32
|
setAuthorization: (key: string, token: string) => void;
|
|
33
33
|
}
|
|
34
|
+
export type { LuzmoVizItemComponentInterface };
|
|
34
35
|
export declare class LuzmoBaseVizItem extends LitElement implements LuzmoVizItemComponentInterface {
|
|
35
36
|
appServer?: string;
|
|
36
37
|
apiHost?: string;
|
|
@@ -70,4 +71,3 @@ export declare class LuzmoBaseVizItem extends LitElement implements LuzmoVizItem
|
|
|
70
71
|
private parseAndValidate;
|
|
71
72
|
protected render(): unknown;
|
|
72
73
|
}
|
|
73
|
-
export {};
|
package/luzmo-embed.min.js
CHANGED
|
@@ -9102,7 +9102,7 @@ var o5 = e6(class extends i4 {
|
|
|
9102
9102
|
});
|
|
9103
9103
|
|
|
9104
9104
|
// libs/embed-libs/embed/package.json
|
|
9105
|
-
var version = "6.1.0-beta.
|
|
9105
|
+
var version = "6.1.0-beta.7";
|
|
9106
9106
|
|
|
9107
9107
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
9108
9108
|
var LuzmoService = class {
|
|
@@ -63530,9 +63530,18 @@ var LuzmoBaseVizItem = class extends s3 {
|
|
|
63530
63530
|
width: 100%;
|
|
63531
63531
|
height: 100%;
|
|
63532
63532
|
}
|
|
63533
|
+
|
|
63534
|
+
luzmo-embed-viz-item {
|
|
63535
|
+
width: 100%;
|
|
63536
|
+
height: 1000%;
|
|
63537
|
+
display: block;
|
|
63538
|
+
}
|
|
63533
63539
|
`;
|
|
63534
63540
|
}
|
|
63535
63541
|
createRenderRoot() {
|
|
63542
|
+
this.style.display = "block";
|
|
63543
|
+
this.style.height = "100%";
|
|
63544
|
+
this.style.width = "100%";
|
|
63536
63545
|
return this;
|
|
63537
63546
|
}
|
|
63538
63547
|
canInitializeVizItem() {
|
|
@@ -63577,6 +63586,9 @@ var LuzmoBaseVizItem = class extends s3 {
|
|
|
63577
63586
|
if (!this.chartElement) {
|
|
63578
63587
|
this.chartElement = document.createElement("chart-component");
|
|
63579
63588
|
this.chartElement.setAttribute("embedding-mode", "chart");
|
|
63589
|
+
this.chartElement.style.height = "100%";
|
|
63590
|
+
this.chartElement.style.width = "100%";
|
|
63591
|
+
this.chartElement.style.display = "block";
|
|
63580
63592
|
this.chartElement.addEventListener("load", (payload) => this.dispatchEvent(new CustomEvent("load", payload)));
|
|
63581
63593
|
this.chartElement.addEventListener("rendered", (payload) => {
|
|
63582
63594
|
if (this.postInitCallQueue?.length > 0) {
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luzmo/embed",
|
|
3
|
-
"version": "6.1.0-beta.
|
|
3
|
+
"version": "6.1.0-beta.7",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"lit": "3.1.2",
|
|
6
|
-
"@luzmo/shared-embed": "5.1.0-beta.
|
|
7
|
-
"@luzmo/dashboard-contents-types": "0.1.88-beta
|
|
6
|
+
"@luzmo/shared-embed": "5.1.0-beta.7",
|
|
7
|
+
"@luzmo/dashboard-contents-types": "0.1.88-beta.5",
|
|
8
8
|
"ajv": "^8.17.1",
|
|
9
9
|
"ajv-formats": "^3.0.1"
|
|
10
10
|
},
|