@luzmo/embed 6.4.3 → 6.5.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/CHANGELOG.md +8 -1
- package/README.md +37 -36
- package/index.cjs +11 -12
- package/index.js +9 -10
- package/luzmo-embed.min.js +472 -471
- package/package.json +3 -3
- package/src/lib/dashboard-component/dashboard-base.d.ts +1 -1
- package/src/lib/dashboard-component/dashboard-component.d.ts +4 -4
- package/src/lib/luzmo-iq-components/luzmo-iq-answer.d.ts +2 -1
- package/src/lib/luzmo-iq-components/luzmo-iq-chat.d.ts +4 -3
- package/src/lib/viz-item/viz-item.base.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luzmo/embed",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"lit": "3.
|
|
6
|
-
"@luzmo/shared-embed": "5.
|
|
5
|
+
"lit": "3.3.0",
|
|
6
|
+
"@luzmo/shared-embed": "5.4.0",
|
|
7
7
|
"@luzmo/dashboard-contents-types": "1.0.17"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
@@ -2,7 +2,7 @@ import type { FilterGroup } from '@luzmo/dashboard-contents-types';
|
|
|
2
2
|
import * as SharedLib from '@luzmo/shared-embed';
|
|
3
3
|
import { CombinedSelectedDataInput, DashboardInputs, LuzmoElement } from '@luzmo/shared-embed';
|
|
4
4
|
import { LitElement, PropertyValues, TemplateResult } from 'lit';
|
|
5
|
-
export declare class LuzmoDashboard extends LitElement implements SharedLib.
|
|
5
|
+
export declare class LuzmoDashboard extends LitElement implements SharedLib.WebComponentLuzmoDashboard {
|
|
6
6
|
container: HTMLElement;
|
|
7
7
|
luzmoEmbedContainer: HTMLElement;
|
|
8
8
|
iframe: HTMLIFrameElement;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LuzmoDashboard } from './dashboard-base';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
/** !
|
|
3
|
+
* @element luzmo-embed-dashboard
|
|
4
|
+
* @description Exposed by @luzmo/embed lib to everyone.
|
|
5
|
+
*
|
|
6
6
|
*/
|
|
7
7
|
export declare class LuzmoEmbedDashboard extends LuzmoDashboard {
|
|
8
8
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IQAnswerOptions, IQMessage } from '@luzmo/dashboard-contents-types';
|
|
2
2
|
import { LitElement, PropertyValues } from 'lit';
|
|
3
|
+
import type { TemplateResult } from 'lit-html';
|
|
3
4
|
export declare class LuzmoIQEmbedAnswerComponent extends LitElement {
|
|
4
5
|
appServer?: string;
|
|
5
6
|
apiHost?: string;
|
|
@@ -19,5 +20,5 @@ export declare class LuzmoIQEmbedAnswerComponent extends LitElement {
|
|
|
19
20
|
private createAndAppendElement;
|
|
20
21
|
private updateVizItemProperties;
|
|
21
22
|
updated(changedProperties: PropertyValues): Promise<void>;
|
|
22
|
-
protected render():
|
|
23
|
+
protected render(): TemplateResult<1>;
|
|
23
24
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { IQChatOptions } from '@luzmo/dashboard-contents-types';
|
|
1
|
+
import type { IQChatOptions } from '@luzmo/dashboard-contents-types';
|
|
2
2
|
import { LitElement, PropertyValues } from 'lit';
|
|
3
|
+
import type { TemplateResult } from 'lit-html';
|
|
3
4
|
export declare class LuzmoIQEmbedChatComponent extends LitElement {
|
|
4
5
|
appServer?: string;
|
|
5
6
|
apiHost?: string;
|
|
@@ -12,7 +13,7 @@ export declare class LuzmoIQEmbedChatComponent extends LitElement {
|
|
|
12
13
|
libVersion?: string;
|
|
13
14
|
remoteEntryServer: string;
|
|
14
15
|
aydHost: string;
|
|
15
|
-
availableDatasets
|
|
16
|
+
availableDatasets?: string[];
|
|
16
17
|
chartElement: HTMLElement;
|
|
17
18
|
static styles: import("lit").CSSResult;
|
|
18
19
|
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
@@ -21,6 +22,6 @@ export declare class LuzmoIQEmbedChatComponent extends LitElement {
|
|
|
21
22
|
private createAndAppendElement;
|
|
22
23
|
private updateVizItemProperties;
|
|
23
24
|
updated(changedProperties: PropertyValues): Promise<void>;
|
|
24
|
-
protected render():
|
|
25
|
+
protected render(): TemplateResult<1>;
|
|
25
26
|
connectedCallback(): void;
|
|
26
27
|
}
|
|
@@ -58,7 +58,7 @@ export declare class LuzmoBaseVizItem extends LitElement implements LuzmoVizItem
|
|
|
58
58
|
canInitializeVizItem(): boolean;
|
|
59
59
|
getFilters(): FilterGroup[];
|
|
60
60
|
export(type?: VizItemExportType): void;
|
|
61
|
-
getData():
|
|
61
|
+
getData(): SharedLib.ItemData;
|
|
62
62
|
refreshData(): void;
|
|
63
63
|
setSelectedData(selectedDataInput: SharedLib.SelectedDataInput): SharedLib.SetSelectedData;
|
|
64
64
|
setAuthorization(key: string, token: string): void;
|