@luzmo/embed 6.0.0-beta.6 → 6.0.0

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": "6.0.0-beta.6",
3
+ "version": "6.0.0",
4
4
  "dependencies": {
5
5
  "lit": "3.1.2",
6
- "@luzmo/shared-embed": "5.0.9-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,4 +1,2 @@
1
- export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, Filter, FilterExpression, FilterOrigin, FilterInput, FilterGroup, ExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode, ItemType, Slots, VizItemOptions } from '@luzmo/shared-embed';
2
- export { filterUtils } from '@luzmo/shared-embed';
1
+ export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, Filter, FilterExpression, FilterOrigin, FilterInput, FilterGroup, ExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode } from '@luzmo/shared-embed';
3
2
  export * from './lib/dashboard-component/dashboard-component';
4
- export * from './lib/viz-item/viz-item-component';
@@ -51,7 +51,7 @@ 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;
@@ -67,6 +67,7 @@ export declare class LuzmoDashboard extends LitElement implements SharedLib.ES6L
67
67
  iframeWidth?: string;
68
68
  _resizeObserver: ResizeObserver;
69
69
  constructor();
70
+ private loadLibrary;
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 LuzmoEmbedVizItem extends LuzmoBaseVizItem {
3
- }
@@ -1,41 +0,0 @@
1
- import { LitElement, PropertyValues } from 'lit';
2
- import * as SharedLib from '@luzmo/shared-embed';
3
- type FunctionCall = [(...args: any) => any, any[]];
4
- export declare class LuzmoBaseVizItem extends LitElement implements SharedLib.LuzmoVizItemComponentInterface {
5
- appServer?: string;
6
- apiHost?: string;
7
- slots?: SharedLib.Slots;
8
- options?: SharedLib.VizItemOptions;
9
- type?: SharedLib.ItemType;
10
- authKey?: string;
11
- authToken?: string;
12
- version?: string;
13
- contextId?: string;
14
- canFilter?: SharedLib.CanFilter;
15
- filters?: SharedLib.FilterGroup[];
16
- dashboardId?: string;
17
- itemId?: string;
18
- selectedData: SharedLib.FilterInput;
19
- libVersion?: string;
20
- chartElement: HTMLElement & Partial<SharedLib.LuzmoVizItemComponentInterface> & {
21
- setFilters?: (itemId?: string, filters?: SharedLib.FilterInput) => SharedLib.SetFilters;
22
- };
23
- postInitCallQueue: FunctionCall[];
24
- static styles: import("lit").CSSResult;
25
- constructor();
26
- canInitializeVizItem(): boolean;
27
- getFilters(): SharedLib.FilterGroup[];
28
- export(): void;
29
- getData(): any;
30
- refreshData(): void;
31
- setFilters(filterInput: SharedLib.FilterInput): SharedLib.SetFilters;
32
- setAuthorization(key: string, token: string): void;
33
- attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
34
- protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
35
- private createAndAppendElement;
36
- private updateVizItemProperties;
37
- updated(changedProperties: PropertyValues): Promise<void>;
38
- private parseAndValidate;
39
- protected render(): unknown;
40
- }
41
- export {};
@@ -1,3 +0,0 @@
1
- import { LuzmoBaseVizItem } from './viz-item.base';
2
- export declare class LuzmoEmbedVizItem extends LuzmoBaseVizItem {
3
- }
@@ -1,41 +0,0 @@
1
- import { LitElement, PropertyValues } from 'lit';
2
- import * as SharedLib from '@luzmo/shared-embed';
3
- type FunctionCall = [(...args: any) => any, any[]];
4
- export declare class LuzmoBaseVizItem extends LitElement implements SharedLib.LuzmoVizItemComponentInterface {
5
- appServer?: string;
6
- apiHost?: string;
7
- slots?: SharedLib.Slots;
8
- options?: SharedLib.VizItemOptions;
9
- type?: SharedLib.ItemType;
10
- authKey?: string;
11
- authToken?: string;
12
- version?: string;
13
- contextId?: string;
14
- canFilter?: SharedLib.CanFilter;
15
- filters?: SharedLib.FilterGroup[];
16
- dashboardId?: string;
17
- itemId?: string;
18
- selectedData: SharedLib.FilterInput;
19
- libVersion?: string;
20
- chartElement: HTMLElement & Partial<SharedLib.LuzmoVizItemComponentInterface> & {
21
- setFilters?: (itemId?: string, filters?: SharedLib.FilterInput) => SharedLib.SetFilters;
22
- };
23
- postInitCallQueue: FunctionCall[];
24
- static styles: import("lit").CSSResult;
25
- constructor();
26
- canInitializeVizItem(): boolean;
27
- getFilters(): SharedLib.FilterGroup[];
28
- export(): void;
29
- getData(): any;
30
- refreshData(): void;
31
- setFilters(filterInput: SharedLib.FilterInput): SharedLib.SetFilters;
32
- setAuthorization(key: string, token: string): void;
33
- attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
34
- protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
35
- private createAndAppendElement;
36
- private updateVizItemProperties;
37
- updated(changedProperties: PropertyValues): Promise<void>;
38
- private parseAndValidate;
39
- protected render(): unknown;
40
- }
41
- export {};