@luzmo/embed 6.6.1 → 6.7.0-es2021

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,71 +0,0 @@
1
- import { VizItemExportType, FilterGroup, VizItemOptions, VizItemSlots, VizItemType } from '@luzmo/dashboard-contents-types';
2
- import * as SharedLib from '@luzmo/shared-embed';
3
- import { LitElement, PropertyValues } from 'lit';
4
- /**
5
- * The version of the dashboard contents that is linked to the current library.
6
- *
7
- * If custom options/slots/etc. are passed to the component, the library assumes that
8
- * they are using this dashboard contents version. Then custom options/slots/etc.
9
- * together with this dashboard contents version are passed to the dashboard app (https://app.luzmo.com/dashboard-app/remoteEntry.mjs)
10
- * and if needed the migration will be applied on the dashboard app level.
11
- */
12
- export declare const dashboardContentsVersion = "0.1.97";
13
- type FunctionCall = [(...args: any) => any, any[]];
14
- interface LuzmoVizItemComponentInterface extends HTMLElement {
15
- options?: VizItemOptions;
16
- type?: VizItemType;
17
- appServer?: string;
18
- apiHost?: string;
19
- slots?: VizItemSlots;
20
- canFilter?: string[] | 'all';
21
- filters?: FilterGroup[];
22
- contextId?: string;
23
- authKey?: string;
24
- authToken?: string;
25
- dashboardId?: string;
26
- itemId?: string;
27
- getFilters: () => FilterGroup[];
28
- export: (type?: VizItemExportType) => void;
29
- refreshData: () => void;
30
- getData: () => SharedLib.ItemData;
31
- setSelectedData: (selectedDataInput: SharedLib.SelectedDataInput) => SharedLib.SetSelectedData;
32
- setAuthorization: (key: string, token: string) => void;
33
- }
34
- export type { LuzmoVizItemComponentInterface };
35
- export declare class LuzmoBaseVizItem extends LitElement implements LuzmoVizItemComponentInterface {
36
- appServer?: string;
37
- apiHost?: string;
38
- slots?: VizItemSlots;
39
- options?: VizItemOptions;
40
- type?: VizItemType;
41
- authKey?: string;
42
- authToken?: string;
43
- version?: string;
44
- contextId?: string;
45
- canFilter?: SharedLib.CanFilter;
46
- filters?: FilterGroup[];
47
- dashboardId?: string;
48
- itemId?: string;
49
- selectedData: SharedLib.SelectedDataInput;
50
- dashboardContentsVersion?: string;
51
- libVersion?: string;
52
- chartElement: HTMLElement & Partial<LuzmoVizItemComponentInterface> & {
53
- setSelectedData?: (itemId?: string, filters?: SharedLib.SelectedDataInput) => SharedLib.SetSelectedData;
54
- };
55
- postInitCallQueue: FunctionCall[];
56
- static styles: import("lit").CSSResult;
57
- protected createRenderRoot(): HTMLElement | DocumentFragment;
58
- canInitializeVizItem(): boolean;
59
- getFilters(): FilterGroup[];
60
- export(type?: VizItemExportType): void;
61
- getData(): SharedLib.ItemData;
62
- refreshData(): void;
63
- setSelectedData(selectedDataInput: SharedLib.SelectedDataInput): SharedLib.SetSelectedData;
64
- setAuthorization(key: string, token: string): void;
65
- attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
66
- protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
67
- private createAndAppendElement;
68
- private updateVizItemProperties;
69
- updated(changedProperties: PropertyValues): Promise<void>;
70
- protected render(): unknown;
71
- }