@luzmo/embed 5.0.1 → 5.0.3
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.d.ts +1 -0
- package/index.js +2848 -0
- package/index.mjs +2849 -0
- package/index.umd.js +2852 -0
- package/{src/lib → lib}/dashboard-component/dashboard-component.d.ts +11 -3
- package/luzmo-embed.min.js +2852 -2
- package/package.json +4 -6
- package/README.md +0 -209
- package/index.cjs.d.ts +0 -1
- package/index.cjs.js +0 -1
- package/index.esm.js +0 -1
- package/luzmo-embed.min.js.map +0 -1
- package/src/index.d.ts +0 -2
- package/src/lib/models/filters.model.d.ts +0 -6
- /package/{src/lib → lib}/dashboard-component/dashboard-styles.d.ts +0 -0
- /package/{src/lib → lib}/helper/event-bus-handler.d.ts +0 -0
- /package/{src/lib → lib}/luzmo-service.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as SharedLib from '
|
|
2
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
1
|
+
import * as SharedLib from '../../../../shared-embed/src/index.ts';
|
|
2
|
+
import { LitElement, PropertyValues, TemplateResult } from 'lit';
|
|
3
3
|
export declare class LuzmoDashboard extends LitElement implements SharedLib.ES6LuzmoDashboard {
|
|
4
4
|
container: HTMLElement;
|
|
5
5
|
iframe: HTMLIFrameElement;
|
|
@@ -23,6 +23,7 @@ export declare class LuzmoDashboard extends LitElement implements SharedLib.ES6L
|
|
|
23
23
|
timezoneId?: SharedLib.DashboardInputs['timezoneId'];
|
|
24
24
|
apiHost?: SharedLib.DashboardInputs['apiHost'];
|
|
25
25
|
itemDimensions: SharedLib.DashboardInputs['itemDimensions'];
|
|
26
|
+
dev: boolean;
|
|
26
27
|
_containerId: string;
|
|
27
28
|
_iframeId: string;
|
|
28
29
|
params: SharedLib.DashboardContentParams;
|
|
@@ -45,6 +46,9 @@ export declare class LuzmoDashboard extends LitElement implements SharedLib.ES6L
|
|
|
45
46
|
dashboardError: boolean;
|
|
46
47
|
browserNotSupported: any[];
|
|
47
48
|
VERSION: string;
|
|
49
|
+
protected isLibraryLoaded: boolean;
|
|
50
|
+
protected dashboardReference: SharedLib.LuzmoElement;
|
|
51
|
+
private attributesMap;
|
|
48
52
|
_loadTimeoutHandle?: number;
|
|
49
53
|
_onResize: () => void;
|
|
50
54
|
loaderSize: number;
|
|
@@ -54,10 +58,13 @@ export declare class LuzmoDashboard extends LitElement implements SharedLib.ES6L
|
|
|
54
58
|
iframeWidth?: string;
|
|
55
59
|
_resizeObserver: ResizeObserver;
|
|
56
60
|
constructor(inputParameters?: Record<keyof LuzmoDashboard, any>);
|
|
61
|
+
private loadLibrary;
|
|
57
62
|
private setInputParameters;
|
|
58
63
|
connectedCallback(): void;
|
|
59
64
|
disconnectedCallback(): void;
|
|
60
65
|
firstUpdated(): void;
|
|
66
|
+
initComponent(): void;
|
|
67
|
+
setAllAttributes(): void;
|
|
61
68
|
updated(changedProperties: PropertyValues): void;
|
|
62
69
|
_setOptions(): SharedLib.DashboardContentParams;
|
|
63
70
|
_updateIframeUrl(): void;
|
|
@@ -66,7 +73,7 @@ export declare class LuzmoDashboard extends LitElement implements SharedLib.ES6L
|
|
|
66
73
|
_calculateDimAfterDashboardLoaded(): void;
|
|
67
74
|
_loaderStyles(): void;
|
|
68
75
|
static get styles(): import("lit").CSSResult[];
|
|
69
|
-
render():
|
|
76
|
+
render(): TemplateResult<1>;
|
|
70
77
|
getDashboards(): Promise<LuzmoDashboard[]>;
|
|
71
78
|
getData(itemId: string): Promise<SharedLib.ItemData>;
|
|
72
79
|
getFilters(): Promise<SharedLib.FilterGroup[]>;
|
|
@@ -78,4 +85,5 @@ export declare class LuzmoDashboard extends LitElement implements SharedLib.ES6L
|
|
|
78
85
|
getAccessibleDashboards(): Promise<SharedLib.AccessibleDashboard[]>;
|
|
79
86
|
setEditMode(editMode?: SharedLib.DashboardEditMode): Promise<SharedLib.SetEditMode>;
|
|
80
87
|
setPreview(preview: boolean): Promise<SharedLib.SetPreview>;
|
|
88
|
+
getIsViewMode(): boolean;
|
|
81
89
|
}
|