@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.
@@ -1,5 +1,5 @@
1
- import * as SharedLib from '@luzmo/shared-embed';
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(): import("lit-html").TemplateResult<1>;
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
  }