@luzmo/embed 6.1.2-beta.5 → 6.1.2-beta.7
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/index.cjs +6 -6
- package/index.d.ts +1 -1
- package/index.js +6 -6
- package/lib/luzmo-iq-components/luzmo-iq-answer.d.ts +2 -3
- package/lib/luzmo-iq-components/luzmo-iq-chat.d.ts +2 -2
- package/luzmo-embed.min.js +9 -36
- package/package.json +2 -2
- package/src/index.d.ts +1 -1
- package/src/lib/luzmo-iq-components/luzmo-iq-answer.d.ts +2 -3
- package/src/lib/luzmo-iq-components/luzmo-iq-chat.d.ts +2 -2
package/index.cjs
CHANGED
|
@@ -55416,7 +55416,7 @@ var import_style_map = require("lit/directives/style-map.js");
|
|
|
55416
55416
|
var import_shared_embed = require("@luzmo/shared-embed");
|
|
55417
55417
|
|
|
55418
55418
|
// libs/embed-libs/embed/package.json
|
|
55419
|
-
var version = "6.1.2-beta.
|
|
55419
|
+
var version = "6.1.2-beta.7";
|
|
55420
55420
|
|
|
55421
55421
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
55422
55422
|
var LuzmoService = class {
|
|
@@ -56634,7 +56634,7 @@ var inputMap = {
|
|
|
56634
56634
|
appServer: "app-server",
|
|
56635
56635
|
apiHost: "api-host",
|
|
56636
56636
|
options: "options",
|
|
56637
|
-
|
|
56637
|
+
initialSuggestionsDatasetId: "initialSuggestionsDatasetId",
|
|
56638
56638
|
authKey: "auth-key",
|
|
56639
56639
|
authToken: "auth-token",
|
|
56640
56640
|
version: "version",
|
|
@@ -56717,8 +56717,8 @@ __decorateClass([
|
|
|
56717
56717
|
(0, import_decorators3.property)({ type: Object })
|
|
56718
56718
|
], LuzmoIQEmbedChatComponent.prototype, "options", 2);
|
|
56719
56719
|
__decorateClass([
|
|
56720
|
-
(0, import_decorators3.property)({ type:
|
|
56721
|
-
], LuzmoIQEmbedChatComponent.prototype, "
|
|
56720
|
+
(0, import_decorators3.property)({ type: String })
|
|
56721
|
+
], LuzmoIQEmbedChatComponent.prototype, "initialSuggestionsDatasetId", 2);
|
|
56722
56722
|
__decorateClass([
|
|
56723
56723
|
(0, import_decorators3.property)()
|
|
56724
56724
|
], LuzmoIQEmbedChatComponent.prototype, "aiEndpoint", 2);
|
|
@@ -56749,7 +56749,7 @@ var import_decorators4 = require("lit/decorators.js");
|
|
|
56749
56749
|
var import_lit5 = require("lit");
|
|
56750
56750
|
var SharedLib5 = __toESM(require("@luzmo/shared-embed"), 1);
|
|
56751
56751
|
var inputMap2 = {
|
|
56752
|
-
|
|
56752
|
+
aiEndPoint: "ai-end-point",
|
|
56753
56753
|
appServer: "app-server",
|
|
56754
56754
|
apiHost: "api-host",
|
|
56755
56755
|
options: "options",
|
|
@@ -56761,7 +56761,7 @@ var inputMap2 = {
|
|
|
56761
56761
|
};
|
|
56762
56762
|
var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
|
|
56763
56763
|
constructor() {
|
|
56764
|
-
super();
|
|
56764
|
+
super(...arguments);
|
|
56765
56765
|
this.appServer = "https://app.luzmo.com";
|
|
56766
56766
|
this.apiHost = "https://api.luzmo.com";
|
|
56767
56767
|
this.version = version + "-wc-luzmo";
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from '@luzmo/dashboard-contents-types';
|
|
2
|
-
export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, SelectedDataInput, ExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode, SetSelectedData, VizItemPostMessageLoadEvent, VizItemPostMessageRenderedEvent, VizItemPostMessageExportedEvent, VizItemPostMessageChangedFiltersEvent, VizItemPostMessageCustomEventEvent,
|
|
2
|
+
export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, SelectedDataInput, ExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode, SetSelectedData, VizItemPostMessageLoadEvent, VizItemPostMessageRenderedEvent, VizItemPostMessageExportedEvent, VizItemPostMessageChangedFiltersEvent, VizItemPostMessageCustomEventEvent, IQChatOptions, IQAnswerOptions, IQMessage, IQSuggestion } from '@luzmo/shared-embed';
|
|
3
3
|
export { selectedDataUtils } from '@luzmo/shared-embed';
|
|
4
4
|
export * from './lib/dashboard-component/dashboard-component';
|
|
5
5
|
export * from './lib/viz-item/viz-item-component';
|
package/index.js
CHANGED
|
@@ -55387,7 +55387,7 @@ import {
|
|
|
55387
55387
|
} from "@luzmo/shared-embed";
|
|
55388
55388
|
|
|
55389
55389
|
// libs/embed-libs/embed/package.json
|
|
55390
|
-
var version = "6.1.2-beta.
|
|
55390
|
+
var version = "6.1.2-beta.7";
|
|
55391
55391
|
|
|
55392
55392
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
55393
55393
|
var LuzmoService = class {
|
|
@@ -56605,7 +56605,7 @@ var inputMap = {
|
|
|
56605
56605
|
appServer: "app-server",
|
|
56606
56606
|
apiHost: "api-host",
|
|
56607
56607
|
options: "options",
|
|
56608
|
-
|
|
56608
|
+
initialSuggestionsDatasetId: "initialSuggestionsDatasetId",
|
|
56609
56609
|
authKey: "auth-key",
|
|
56610
56610
|
authToken: "auth-token",
|
|
56611
56611
|
version: "version",
|
|
@@ -56688,8 +56688,8 @@ __decorateClass([
|
|
|
56688
56688
|
property3({ type: Object })
|
|
56689
56689
|
], LuzmoIQEmbedChatComponent.prototype, "options", 2);
|
|
56690
56690
|
__decorateClass([
|
|
56691
|
-
property3({ type:
|
|
56692
|
-
], LuzmoIQEmbedChatComponent.prototype, "
|
|
56691
|
+
property3({ type: String })
|
|
56692
|
+
], LuzmoIQEmbedChatComponent.prototype, "initialSuggestionsDatasetId", 2);
|
|
56693
56693
|
__decorateClass([
|
|
56694
56694
|
property3()
|
|
56695
56695
|
], LuzmoIQEmbedChatComponent.prototype, "aiEndpoint", 2);
|
|
@@ -56720,7 +56720,7 @@ import { property as property4 } from "lit/decorators.js";
|
|
|
56720
56720
|
import { LitElement as LitElement4, html as html4, css as css4 } from "lit";
|
|
56721
56721
|
import * as SharedLib5 from "@luzmo/shared-embed";
|
|
56722
56722
|
var inputMap2 = {
|
|
56723
|
-
|
|
56723
|
+
aiEndPoint: "ai-end-point",
|
|
56724
56724
|
appServer: "app-server",
|
|
56725
56725
|
apiHost: "api-host",
|
|
56726
56726
|
options: "options",
|
|
@@ -56732,7 +56732,7 @@ var inputMap2 = {
|
|
|
56732
56732
|
};
|
|
56733
56733
|
var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
|
|
56734
56734
|
constructor() {
|
|
56735
|
-
super();
|
|
56735
|
+
super(...arguments);
|
|
56736
56736
|
this.appServer = "https://app.luzmo.com";
|
|
56737
56737
|
this.apiHost = "https://api.luzmo.com";
|
|
56738
56738
|
this.version = version + "-wc-luzmo";
|
|
@@ -3,17 +3,16 @@ import * as SharedLib from '@luzmo/shared-embed';
|
|
|
3
3
|
export declare class LuzmoIQEmbedAnswerComponent extends LitElement {
|
|
4
4
|
appServer?: string;
|
|
5
5
|
apiHost?: string;
|
|
6
|
-
options?: SharedLib.
|
|
6
|
+
options?: SharedLib.IQAnswerOptions;
|
|
7
7
|
aiEndPoint?: string;
|
|
8
8
|
authKey?: string;
|
|
9
9
|
authToken?: string;
|
|
10
|
-
messages: SharedLib.
|
|
10
|
+
messages: SharedLib.IQMessage[];
|
|
11
11
|
version?: string;
|
|
12
12
|
libVersion?: string;
|
|
13
13
|
remoteEntryServer: string;
|
|
14
14
|
chartElement: HTMLElement;
|
|
15
15
|
static styles: import("lit").CSSResult;
|
|
16
|
-
constructor();
|
|
17
16
|
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
18
17
|
protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
|
|
19
18
|
private createAndAppendElement;
|
|
@@ -3,8 +3,8 @@ import * as SharedLib from '@luzmo/shared-embed';
|
|
|
3
3
|
export declare class LuzmoIQEmbedChatComponent extends LitElement {
|
|
4
4
|
appServer?: string;
|
|
5
5
|
apiHost?: string;
|
|
6
|
-
options?: SharedLib.
|
|
7
|
-
|
|
6
|
+
options?: SharedLib.IQChatOptions;
|
|
7
|
+
initialSuggestionsDatasetId?: string;
|
|
8
8
|
aiEndpoint?: string;
|
|
9
9
|
authKey?: string;
|
|
10
10
|
authToken?: string;
|
package/luzmo-embed.min.js
CHANGED
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
(function
|
|
2
|
-
var hasExports = typeof exports === 'object';
|
|
3
|
-
if (typeof define === "function" && define.amd) {
|
|
4
|
-
define([], f);
|
|
5
|
-
} else if (typeof module === "object" && module.exports) {
|
|
6
|
-
module.exports = f();
|
|
7
|
-
} else {
|
|
8
|
-
var m = hasExports ? f() : f();
|
|
9
|
-
var root = hasExports ? exports : g;
|
|
10
|
-
for(var i in m) root[i] = m[i];
|
|
11
|
-
}}(typeof self !== 'undefined' ? self : this, () => {
|
|
12
|
-
var exports = {};
|
|
13
|
-
var module = { exports };
|
|
1
|
+
(function(g,f){if(typeof define=="function"&&define.amd){define(f)}else if(typeof exports=="object" && typeof module<"u"){module.exports=f()}else{var m=f();for(var i in m) g[i]=m[i]}}(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : this,function(){var exports={};var __exports=exports;var module={exports};
|
|
14
2
|
"use strict";
|
|
15
3
|
var __defProp = Object.defineProperty;
|
|
16
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -57368,7 +57356,7 @@ var se = e5(class extends i3 {
|
|
|
57368
57356
|
});
|
|
57369
57357
|
|
|
57370
57358
|
// libs/embed-libs/embed/package.json
|
|
57371
|
-
var version = "6.1.2-beta.
|
|
57359
|
+
var version = "6.1.2-beta.7";
|
|
57372
57360
|
|
|
57373
57361
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
57374
57362
|
var LuzmoService = class {
|
|
@@ -58578,7 +58566,7 @@ var inputMap = {
|
|
|
58578
58566
|
appServer: "app-server",
|
|
58579
58567
|
apiHost: "api-host",
|
|
58580
58568
|
options: "options",
|
|
58581
|
-
|
|
58569
|
+
initialSuggestionsDatasetId: "initialSuggestionsDatasetId",
|
|
58582
58570
|
authKey: "auth-key",
|
|
58583
58571
|
authToken: "auth-token",
|
|
58584
58572
|
version: "version",
|
|
@@ -58661,8 +58649,8 @@ __decorateClass([
|
|
|
58661
58649
|
n4({ type: Object })
|
|
58662
58650
|
], LuzmoIQEmbedChatComponent.prototype, "options", 2);
|
|
58663
58651
|
__decorateClass([
|
|
58664
|
-
n4({ type:
|
|
58665
|
-
], LuzmoIQEmbedChatComponent.prototype, "
|
|
58652
|
+
n4({ type: String })
|
|
58653
|
+
], LuzmoIQEmbedChatComponent.prototype, "initialSuggestionsDatasetId", 2);
|
|
58666
58654
|
__decorateClass([
|
|
58667
58655
|
n4()
|
|
58668
58656
|
], LuzmoIQEmbedChatComponent.prototype, "aiEndpoint", 2);
|
|
@@ -58690,7 +58678,7 @@ if (!customElements.get("luzmo-iq-embed-chat")) {
|
|
|
58690
58678
|
|
|
58691
58679
|
// libs/embed-libs/embed/src/lib/luzmo-iq-components/luzmo-iq-answer.ts
|
|
58692
58680
|
var inputMap2 = {
|
|
58693
|
-
|
|
58681
|
+
aiEndPoint: "ai-end-point",
|
|
58694
58682
|
appServer: "app-server",
|
|
58695
58683
|
apiHost: "api-host",
|
|
58696
58684
|
options: "options",
|
|
@@ -58702,7 +58690,7 @@ var inputMap2 = {
|
|
|
58702
58690
|
};
|
|
58703
58691
|
var LuzmoIQEmbedAnswerComponent = class extends h3 {
|
|
58704
58692
|
constructor() {
|
|
58705
|
-
super();
|
|
58693
|
+
super(...arguments);
|
|
58706
58694
|
this.appServer = "https://app.luzmo.com";
|
|
58707
58695
|
this.apiHost = "https://api.luzmo.com";
|
|
58708
58696
|
this.version = version + "-wc-luzmo";
|
|
@@ -58920,20 +58908,5 @@ lit-html/directives/style-map.js:
|
|
|
58920
58908
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
58921
58909
|
*)
|
|
58922
58910
|
*/
|
|
58923
|
-
|
|
58924
|
-
|
|
58925
|
-
if ((from && typeof from === "object") || typeof from === "function") {
|
|
58926
|
-
for (let key of Object.getOwnPropertyNames(from)) {
|
|
58927
|
-
if (!Object.prototype.hasOwnProperty.call(to, key) && key !== except)
|
|
58928
|
-
Object.defineProperty(to, key, {
|
|
58929
|
-
get: () => from[key],
|
|
58930
|
-
enumerable: !(desc = Object.getOwnPropertyDescriptor(from, key)) || desc.enumerable,
|
|
58931
|
-
});
|
|
58932
|
-
}
|
|
58933
|
-
}
|
|
58934
|
-
return to;
|
|
58935
|
-
};
|
|
58936
|
-
module.exports = __cp(module.exports, exports);
|
|
58937
|
-
}
|
|
58938
|
-
return module.exports;
|
|
58939
|
-
}))
|
|
58911
|
+
|
|
58912
|
+
if(__exports != exports)module.exports = exports;return module.exports}));
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luzmo/embed",
|
|
3
|
-
"version": "6.1.2-beta.
|
|
3
|
+
"version": "6.1.2-beta.7",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"lit": "3.1.2",
|
|
6
|
-
"@luzmo/shared-embed": "5.1.2-beta.
|
|
6
|
+
"@luzmo/shared-embed": "5.1.2-beta.7",
|
|
7
7
|
"@luzmo/dashboard-contents-types": "1.0.3"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
package/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from '@luzmo/dashboard-contents-types';
|
|
2
|
-
export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, SelectedDataInput, ExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode, SetSelectedData, VizItemPostMessageLoadEvent, VizItemPostMessageRenderedEvent, VizItemPostMessageExportedEvent, VizItemPostMessageChangedFiltersEvent, VizItemPostMessageCustomEventEvent,
|
|
2
|
+
export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, SelectedDataInput, ExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode, SetSelectedData, VizItemPostMessageLoadEvent, VizItemPostMessageRenderedEvent, VizItemPostMessageExportedEvent, VizItemPostMessageChangedFiltersEvent, VizItemPostMessageCustomEventEvent, IQChatOptions, IQAnswerOptions, IQMessage, IQSuggestion } from '@luzmo/shared-embed';
|
|
3
3
|
export { selectedDataUtils } from '@luzmo/shared-embed';
|
|
4
4
|
export * from './lib/dashboard-component/dashboard-component';
|
|
5
5
|
export * from './lib/viz-item/viz-item-component';
|
|
@@ -3,17 +3,16 @@ import * as SharedLib from '@luzmo/shared-embed';
|
|
|
3
3
|
export declare class LuzmoIQEmbedAnswerComponent extends LitElement {
|
|
4
4
|
appServer?: string;
|
|
5
5
|
apiHost?: string;
|
|
6
|
-
options?: SharedLib.
|
|
6
|
+
options?: SharedLib.IQAnswerOptions;
|
|
7
7
|
aiEndPoint?: string;
|
|
8
8
|
authKey?: string;
|
|
9
9
|
authToken?: string;
|
|
10
|
-
messages: SharedLib.
|
|
10
|
+
messages: SharedLib.IQMessage[];
|
|
11
11
|
version?: string;
|
|
12
12
|
libVersion?: string;
|
|
13
13
|
remoteEntryServer: string;
|
|
14
14
|
chartElement: HTMLElement;
|
|
15
15
|
static styles: import("lit").CSSResult;
|
|
16
|
-
constructor();
|
|
17
16
|
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
18
17
|
protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
|
|
19
18
|
private createAndAppendElement;
|
|
@@ -3,8 +3,8 @@ import * as SharedLib from '@luzmo/shared-embed';
|
|
|
3
3
|
export declare class LuzmoIQEmbedChatComponent extends LitElement {
|
|
4
4
|
appServer?: string;
|
|
5
5
|
apiHost?: string;
|
|
6
|
-
options?: SharedLib.
|
|
7
|
-
|
|
6
|
+
options?: SharedLib.IQChatOptions;
|
|
7
|
+
initialSuggestionsDatasetId?: string;
|
|
8
8
|
aiEndpoint?: string;
|
|
9
9
|
authKey?: string;
|
|
10
10
|
authToken?: string;
|