@luzmo/embed 5.1.5 → 6.0.0-beta.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.
@@ -0,0 +1,41 @@
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 {};