@luzmo/embed 5.1.3-beta.3 → 5.1.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/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@luzmo/embed",
3
- "version": "5.1.3-beta.3",
3
+ "version": "5.1.4",
4
4
  "dependencies": {
5
5
  "lit": "3.1.2",
6
- "@luzmo/shared-embed": "5.0.8-beta.4",
7
- "zod-validation-error": "3.2.0"
6
+ "@luzmo/shared-embed": "5.0.9"
8
7
  },
9
8
  "type": "module",
10
9
  "keywords": [
package/src/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, Filter, FilterExpression, FilterOrigin, FilterInput, FilterGroup, ExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode } from '@luzmo/shared-embed';
2
2
  export * from './lib/dashboard-component/dashboard-component';
3
- export * from './lib/viz-item/viz-item-component';
@@ -51,12 +51,11 @@ export declare class LuzmoDashboard extends LitElement implements SharedLib.ES6L
51
51
  browserErrorMsg: string;
52
52
  dashboardError: boolean;
53
53
  browserNotSupported: any[];
54
- libVersion: string;
54
+ VERSION: string;
55
55
  protected isLibraryLoaded: boolean;
56
56
  protected dashboardReference: SharedLib.LuzmoElement;
57
57
  currentAuthKey: string;
58
58
  currentAuthToken: string;
59
- isInitCalled: boolean;
60
59
  private attributesMap;
61
60
  _loadTimeoutHandle?: number;
62
61
  _onResize: () => void;
@@ -66,7 +65,9 @@ export declare class LuzmoDashboard extends LitElement implements SharedLib.ES6L
66
65
  iframeHeight?: string;
67
66
  iframeWidth?: string;
68
67
  _resizeObserver: ResizeObserver;
69
- constructor();
68
+ constructor(inputParameters?: Record<keyof LuzmoDashboard, any>);
69
+ private loadLibrary;
70
+ private setInputParameters;
70
71
  connectedCallback(): void;
71
72
  disconnectedCallback(): void;
72
73
  firstUpdated(): void;
@@ -1,3 +0,0 @@
1
- import { LuzmoBaseVizItem } from './viz-item.base';
2
- export declare class LuzmoVizItem extends LuzmoBaseVizItem {
3
- }
@@ -1,3 +0,0 @@
1
- import { LuzmoBaseVizItem } from './viz-item.base';
2
- export declare class LuzmoVizItemWebComponent extends LuzmoBaseVizItem {
3
- }
@@ -1,24 +0,0 @@
1
- import { LitElement, PropertyValues } from 'lit';
2
- import * as SharedLib from '@luzmo/shared-embed';
3
- export declare class LuzmoBaseVizItem extends LitElement {
4
- appServer: string;
5
- apiHost: string;
6
- slots: SharedLib.Slots;
7
- options: SharedLib.VizItemOptions;
8
- type?: SharedLib.ItemType;
9
- authKey?: string;
10
- authToken?: string;
11
- version?: string;
12
- contextId?: string;
13
- canFilter?: SharedLib.CanFilter;
14
- filters?: SharedLib.FilterGroup[];
15
- chartElement: HTMLElement;
16
- static styles: import("lit").CSSResult;
17
- constructor();
18
- protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
19
- private createAndAppendElement;
20
- private updateVizItemProperties;
21
- updated(changedProperties: PropertyValues): Promise<void>;
22
- parseAndValidate(key: keyof this): void;
23
- protected render(): unknown;
24
- }
@@ -1,3 +0,0 @@
1
- import { LuzmoBaseVizItem } from './viz-item.base';
2
- export declare class LuzmoVizItem extends LuzmoBaseVizItem {
3
- }
@@ -1,24 +0,0 @@
1
- import { LitElement, PropertyValues } from 'lit';
2
- import * as SharedLib from '@luzmo/shared-embed';
3
- export declare class LuzmoBaseVizItem extends LitElement {
4
- appServer: string;
5
- apiHost: string;
6
- slots: SharedLib.Slots;
7
- options: SharedLib.VizItemOptions;
8
- type?: SharedLib.ItemType;
9
- authKey?: string;
10
- authToken?: string;
11
- version?: string;
12
- contextId?: string;
13
- canFilter?: SharedLib.CanFilter;
14
- filters?: SharedLib.FilterGroup[];
15
- chartElement: HTMLElement;
16
- static styles: import("lit").CSSResult;
17
- constructor();
18
- protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
19
- private createAndAppendElement;
20
- private updateVizItemProperties;
21
- updated(changedProperties: PropertyValues): Promise<void>;
22
- parseAndValidate(key: keyof this): void;
23
- protected render(): unknown;
24
- }