@luzmo/embed 6.1.2-beta.0 → 6.1.2-beta.2
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 +15 -15
- package/index.js +14 -14
- package/lib/ai-component/luzmo-ai-answer.d.ts +2 -2
- package/libs/embed-libs/embed/src/lib/ai-component/luzmo-ai-answer.d.ts +2 -2
- package/libs/embed-libs/shared-embed/src/lib/models/ai-components.model.d.ts +13 -6
- package/luzmo-embed.min.js +14 -14
- package/package.json +2 -2
- package/src/lib/ai-component/luzmo-ai-answer.d.ts +2 -2
package/index.cjs
CHANGED
|
@@ -41,7 +41,7 @@ var src_exports = {};
|
|
|
41
41
|
__export(src_exports, {
|
|
42
42
|
ColumnChartModes: () => ColumnChartModes,
|
|
43
43
|
JSON_SCHEMAS: () => json_schemas_default,
|
|
44
|
-
|
|
44
|
+
LuzmoEmbedAIAnswerComponent: () => LuzmoEmbedAIAnswerComponent,
|
|
45
45
|
LuzmoEmbedAIChatComponent: () => LuzmoEmbedAIChatComponent,
|
|
46
46
|
LuzmoEmbedDashboard: () => LuzmoEmbedDashboard,
|
|
47
47
|
LuzmoEmbedVizItem: () => LuzmoEmbedVizItem,
|
|
@@ -54076,7 +54076,7 @@ var import_style_map = require("lit/directives/style-map.js");
|
|
|
54076
54076
|
var import_shared_embed = require("@luzmo/shared-embed");
|
|
54077
54077
|
|
|
54078
54078
|
// libs/embed-libs/embed/package.json
|
|
54079
|
-
var version = "6.1.2-beta.
|
|
54079
|
+
var version = "6.1.2-beta.2";
|
|
54080
54080
|
|
|
54081
54081
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
54082
54082
|
var LuzmoService = class {
|
|
@@ -55451,7 +55451,7 @@ var inputMap2 = {
|
|
|
55451
55451
|
libVersion: "lib-version",
|
|
55452
55452
|
messages: "messages"
|
|
55453
55453
|
};
|
|
55454
|
-
var
|
|
55454
|
+
var LuzmoEmbedAIAnswerComponent = class extends import_lit5.LitElement {
|
|
55455
55455
|
constructor() {
|
|
55456
55456
|
super();
|
|
55457
55457
|
this.appServer = "https://app.luzmo.com";
|
|
@@ -55519,42 +55519,42 @@ var LuzmoAIAnswerComponent = class extends import_lit5.LitElement {
|
|
|
55519
55519
|
};
|
|
55520
55520
|
__decorateClass([
|
|
55521
55521
|
(0, import_decorators4.property)()
|
|
55522
|
-
],
|
|
55522
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "appServer", 2);
|
|
55523
55523
|
__decorateClass([
|
|
55524
55524
|
(0, import_decorators4.property)()
|
|
55525
|
-
],
|
|
55525
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "apiHost", 2);
|
|
55526
55526
|
__decorateClass([
|
|
55527
55527
|
(0, import_decorators4.property)({ type: Object })
|
|
55528
|
-
],
|
|
55528
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "options", 2);
|
|
55529
55529
|
__decorateClass([
|
|
55530
55530
|
(0, import_decorators4.property)()
|
|
55531
|
-
],
|
|
55531
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "aiEndPoint", 2);
|
|
55532
55532
|
__decorateClass([
|
|
55533
55533
|
(0, import_decorators4.property)()
|
|
55534
|
-
],
|
|
55534
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "authKey", 2);
|
|
55535
55535
|
__decorateClass([
|
|
55536
55536
|
(0, import_decorators4.property)()
|
|
55537
|
-
],
|
|
55537
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "authToken", 2);
|
|
55538
55538
|
__decorateClass([
|
|
55539
55539
|
(0, import_decorators4.property)()
|
|
55540
|
-
],
|
|
55540
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "messages", 2);
|
|
55541
55541
|
__decorateClass([
|
|
55542
55542
|
(0, import_decorators4.property)()
|
|
55543
|
-
],
|
|
55543
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "version", 2);
|
|
55544
55544
|
__decorateClass([
|
|
55545
55545
|
(0, import_decorators4.property)()
|
|
55546
|
-
],
|
|
55546
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "libVersion", 2);
|
|
55547
55547
|
__decorateClass([
|
|
55548
55548
|
(0, import_decorators4.property)()
|
|
55549
|
-
],
|
|
55549
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "remoteEntryServer", 2);
|
|
55550
55550
|
if (!customElements.get("luzmo-embed-ai-answer")) {
|
|
55551
|
-
customElements.define("luzmo-embed-ai-answer",
|
|
55551
|
+
customElements.define("luzmo-embed-ai-answer", LuzmoEmbedAIAnswerComponent);
|
|
55552
55552
|
}
|
|
55553
55553
|
// Annotate the CommonJS export names for ESM import in node:
|
|
55554
55554
|
0 && (module.exports = {
|
|
55555
55555
|
ColumnChartModes,
|
|
55556
55556
|
JSON_SCHEMAS,
|
|
55557
|
-
|
|
55557
|
+
LuzmoEmbedAIAnswerComponent,
|
|
55558
55558
|
LuzmoEmbedAIChatComponent,
|
|
55559
55559
|
LuzmoEmbedDashboard,
|
|
55560
55560
|
LuzmoEmbedVizItem,
|
package/index.js
CHANGED
|
@@ -54047,7 +54047,7 @@ import {
|
|
|
54047
54047
|
} from "@luzmo/shared-embed";
|
|
54048
54048
|
|
|
54049
54049
|
// libs/embed-libs/embed/package.json
|
|
54050
|
-
var version = "6.1.2-beta.
|
|
54050
|
+
var version = "6.1.2-beta.2";
|
|
54051
54051
|
|
|
54052
54052
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
54053
54053
|
var LuzmoService = class {
|
|
@@ -55422,7 +55422,7 @@ var inputMap2 = {
|
|
|
55422
55422
|
libVersion: "lib-version",
|
|
55423
55423
|
messages: "messages"
|
|
55424
55424
|
};
|
|
55425
|
-
var
|
|
55425
|
+
var LuzmoEmbedAIAnswerComponent = class extends LitElement4 {
|
|
55426
55426
|
constructor() {
|
|
55427
55427
|
super();
|
|
55428
55428
|
this.appServer = "https://app.luzmo.com";
|
|
@@ -55490,41 +55490,41 @@ var LuzmoAIAnswerComponent = class extends LitElement4 {
|
|
|
55490
55490
|
};
|
|
55491
55491
|
__decorateClass([
|
|
55492
55492
|
property4()
|
|
55493
|
-
],
|
|
55493
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "appServer", 2);
|
|
55494
55494
|
__decorateClass([
|
|
55495
55495
|
property4()
|
|
55496
|
-
],
|
|
55496
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "apiHost", 2);
|
|
55497
55497
|
__decorateClass([
|
|
55498
55498
|
property4({ type: Object })
|
|
55499
|
-
],
|
|
55499
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "options", 2);
|
|
55500
55500
|
__decorateClass([
|
|
55501
55501
|
property4()
|
|
55502
|
-
],
|
|
55502
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "aiEndPoint", 2);
|
|
55503
55503
|
__decorateClass([
|
|
55504
55504
|
property4()
|
|
55505
|
-
],
|
|
55505
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "authKey", 2);
|
|
55506
55506
|
__decorateClass([
|
|
55507
55507
|
property4()
|
|
55508
|
-
],
|
|
55508
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "authToken", 2);
|
|
55509
55509
|
__decorateClass([
|
|
55510
55510
|
property4()
|
|
55511
|
-
],
|
|
55511
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "messages", 2);
|
|
55512
55512
|
__decorateClass([
|
|
55513
55513
|
property4()
|
|
55514
|
-
],
|
|
55514
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "version", 2);
|
|
55515
55515
|
__decorateClass([
|
|
55516
55516
|
property4()
|
|
55517
|
-
],
|
|
55517
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "libVersion", 2);
|
|
55518
55518
|
__decorateClass([
|
|
55519
55519
|
property4()
|
|
55520
|
-
],
|
|
55520
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "remoteEntryServer", 2);
|
|
55521
55521
|
if (!customElements.get("luzmo-embed-ai-answer")) {
|
|
55522
|
-
customElements.define("luzmo-embed-ai-answer",
|
|
55522
|
+
customElements.define("luzmo-embed-ai-answer", LuzmoEmbedAIAnswerComponent);
|
|
55523
55523
|
}
|
|
55524
55524
|
export {
|
|
55525
55525
|
ColumnChartModes,
|
|
55526
55526
|
json_schemas_default as JSON_SCHEMAS,
|
|
55527
|
-
|
|
55527
|
+
LuzmoEmbedAIAnswerComponent,
|
|
55528
55528
|
LuzmoEmbedAIChatComponent,
|
|
55529
55529
|
LuzmoEmbedDashboard,
|
|
55530
55530
|
LuzmoEmbedVizItem,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
|
2
2
|
import * as SharedLib from '@luzmo/shared-embed';
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class LuzmoEmbedAIAnswerComponent extends LitElement {
|
|
4
4
|
appServer?: string;
|
|
5
5
|
apiHost?: string;
|
|
6
6
|
options?: SharedLib.AIAnswerDisplayOptions;
|
|
7
7
|
aiEndPoint?: string;
|
|
8
8
|
authKey?: string;
|
|
9
9
|
authToken?: string;
|
|
10
|
-
messages: SharedLib.
|
|
10
|
+
messages: SharedLib.AIAnswerMessage[];
|
|
11
11
|
version?: string;
|
|
12
12
|
libVersion?: string;
|
|
13
13
|
remoteEntryServer: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
|
2
2
|
import * as SharedLib from '@luzmo/shared-embed';
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class LuzmoEmbedAIAnswerComponent extends LitElement {
|
|
4
4
|
appServer?: string;
|
|
5
5
|
apiHost?: string;
|
|
6
6
|
options?: SharedLib.AIAnswerDisplayOptions;
|
|
7
7
|
aiEndPoint?: string;
|
|
8
8
|
authKey?: string;
|
|
9
9
|
authToken?: string;
|
|
10
|
-
messages: SharedLib.
|
|
10
|
+
messages: SharedLib.AIAnswerMessage[];
|
|
11
11
|
version?: string;
|
|
12
12
|
libVersion?: string;
|
|
13
13
|
remoteEntryServer: string;
|
|
@@ -95,11 +95,12 @@ export interface AIChatDisplayOptions {
|
|
|
95
95
|
disclaimerText?: string;
|
|
96
96
|
display?: string;
|
|
97
97
|
language?: string;
|
|
98
|
+
timezone?: string;
|
|
98
99
|
suggestions?: Suggestion[];
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
showChart?: boolean;
|
|
101
|
+
showTextSummary?: boolean;
|
|
101
102
|
showInteractions?: boolean;
|
|
102
|
-
|
|
103
|
+
showNextActions?: boolean;
|
|
103
104
|
showSuggestions?: boolean;
|
|
104
105
|
showWelcomeChat?: boolean;
|
|
105
106
|
showFeedback?: boolean;
|
|
@@ -112,14 +113,20 @@ export interface AIChatDisplayOptions {
|
|
|
112
113
|
}
|
|
113
114
|
export interface AIAnswerDisplayOptions {
|
|
114
115
|
language?: AIChatDisplayOptions['language'];
|
|
115
|
-
showChart?: AIChatDisplayOptions['
|
|
116
|
-
showTextSummary?: AIChatDisplayOptions['
|
|
116
|
+
showChart?: AIChatDisplayOptions['showChart'];
|
|
117
|
+
showTextSummary?: AIChatDisplayOptions['showTextSummary'];
|
|
117
118
|
showInteractions?: AIChatDisplayOptions['showInteractions'];
|
|
118
|
-
showNextBestActions?: AIChatDisplayOptions['
|
|
119
|
+
showNextBestActions?: AIChatDisplayOptions['showNextActions'];
|
|
119
120
|
showFeedback?: AIChatDisplayOptions['showFeedback'];
|
|
120
121
|
showConfiguration?: AIChatDisplayOptions['showConfiguration'];
|
|
121
122
|
theme?: AIChatDisplayOptions['theme'];
|
|
122
123
|
}
|
|
124
|
+
export interface AIAnswerMessage {
|
|
125
|
+
type: Extract<Message['type'], 'systemMessage' | 'chartAnswer'>;
|
|
126
|
+
chart: Chart;
|
|
127
|
+
message?: string;
|
|
128
|
+
question?: string;
|
|
129
|
+
}
|
|
123
130
|
export interface Suggestion {
|
|
124
131
|
title: string;
|
|
125
132
|
chartType: string;
|
package/luzmo-embed.min.js
CHANGED
|
@@ -6785,7 +6785,7 @@ var src_exports2 = {};
|
|
|
6785
6785
|
__export(src_exports2, {
|
|
6786
6786
|
ColumnChartModes: () => ColumnChartModes,
|
|
6787
6787
|
JSON_SCHEMAS: () => json_schemas_default,
|
|
6788
|
-
|
|
6788
|
+
LuzmoEmbedAIAnswerComponent: () => LuzmoEmbedAIAnswerComponent,
|
|
6789
6789
|
LuzmoEmbedAIChatComponent: () => LuzmoEmbedAIChatComponent,
|
|
6790
6790
|
LuzmoEmbedDashboard: () => LuzmoEmbedDashboard,
|
|
6791
6791
|
LuzmoEmbedVizItem: () => LuzmoEmbedVizItem,
|
|
@@ -62769,7 +62769,7 @@ var se = e5(class extends i3 {
|
|
|
62769
62769
|
});
|
|
62770
62770
|
|
|
62771
62771
|
// libs/embed-libs/embed/package.json
|
|
62772
|
-
var version = "6.1.2-beta.
|
|
62772
|
+
var version = "6.1.2-beta.2";
|
|
62773
62773
|
|
|
62774
62774
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
62775
62775
|
var LuzmoService = class {
|
|
@@ -64133,7 +64133,7 @@ var inputMap2 = {
|
|
|
64133
64133
|
libVersion: "lib-version",
|
|
64134
64134
|
messages: "messages"
|
|
64135
64135
|
};
|
|
64136
|
-
var
|
|
64136
|
+
var LuzmoEmbedAIAnswerComponent = class extends h3 {
|
|
64137
64137
|
constructor() {
|
|
64138
64138
|
super();
|
|
64139
64139
|
this.appServer = "https://app.luzmo.com";
|
|
@@ -64201,36 +64201,36 @@ var LuzmoAIAnswerComponent = class extends h3 {
|
|
|
64201
64201
|
};
|
|
64202
64202
|
__decorateClass([
|
|
64203
64203
|
n4()
|
|
64204
|
-
],
|
|
64204
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "appServer", 2);
|
|
64205
64205
|
__decorateClass([
|
|
64206
64206
|
n4()
|
|
64207
|
-
],
|
|
64207
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "apiHost", 2);
|
|
64208
64208
|
__decorateClass([
|
|
64209
64209
|
n4({ type: Object })
|
|
64210
|
-
],
|
|
64210
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "options", 2);
|
|
64211
64211
|
__decorateClass([
|
|
64212
64212
|
n4()
|
|
64213
|
-
],
|
|
64213
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "aiEndPoint", 2);
|
|
64214
64214
|
__decorateClass([
|
|
64215
64215
|
n4()
|
|
64216
|
-
],
|
|
64216
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "authKey", 2);
|
|
64217
64217
|
__decorateClass([
|
|
64218
64218
|
n4()
|
|
64219
|
-
],
|
|
64219
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "authToken", 2);
|
|
64220
64220
|
__decorateClass([
|
|
64221
64221
|
n4()
|
|
64222
|
-
],
|
|
64222
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "messages", 2);
|
|
64223
64223
|
__decorateClass([
|
|
64224
64224
|
n4()
|
|
64225
|
-
],
|
|
64225
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "version", 2);
|
|
64226
64226
|
__decorateClass([
|
|
64227
64227
|
n4()
|
|
64228
|
-
],
|
|
64228
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "libVersion", 2);
|
|
64229
64229
|
__decorateClass([
|
|
64230
64230
|
n4()
|
|
64231
|
-
],
|
|
64231
|
+
], LuzmoEmbedAIAnswerComponent.prototype, "remoteEntryServer", 2);
|
|
64232
64232
|
if (!customElements.get("luzmo-embed-ai-answer")) {
|
|
64233
|
-
customElements.define("luzmo-embed-ai-answer",
|
|
64233
|
+
customElements.define("luzmo-embed-ai-answer", LuzmoEmbedAIAnswerComponent);
|
|
64234
64234
|
}
|
|
64235
64235
|
/*! Bundled license information:
|
|
64236
64236
|
|
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.2",
|
|
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.2",
|
|
7
7
|
"@luzmo/dashboard-contents-types": "0.1.89",
|
|
8
8
|
"ajv": "^8.17.1",
|
|
9
9
|
"ajv-formats": "^3.0.1"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
|
2
2
|
import * as SharedLib from '@luzmo/shared-embed';
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class LuzmoEmbedAIAnswerComponent extends LitElement {
|
|
4
4
|
appServer?: string;
|
|
5
5
|
apiHost?: string;
|
|
6
6
|
options?: SharedLib.AIAnswerDisplayOptions;
|
|
7
7
|
aiEndPoint?: string;
|
|
8
8
|
authKey?: string;
|
|
9
9
|
authToken?: string;
|
|
10
|
-
messages: SharedLib.
|
|
10
|
+
messages: SharedLib.AIAnswerMessage[];
|
|
11
11
|
version?: string;
|
|
12
12
|
libVersion?: string;
|
|
13
13
|
remoteEntryServer: string;
|