@luzmo/embed 7.2.1 → 7.3.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 +5 -0
- package/README.md +1 -0
- package/index.cjs +6 -2
- package/index.js +6 -2
- package/luzmo-embed.min.js +6 -2
- package/package.json +2 -2
- package/src/lib/iq-components/luzmo-iq-chat.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [7.3.0] - 2026-09-10
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- `agentId` attribute on `<luzmo-iq-embed-chat>`. Set it to a saved agent id to run the chat as that agent, using the datasets, capabilities and theme configured on it.
|
|
9
|
+
|
|
5
10
|
## [7.2.1] - 2026-09-04
|
|
6
11
|
|
|
7
12
|
### Fixed
|
package/README.md
CHANGED
|
@@ -383,6 +383,7 @@ All available properties for the IQ chat component can be seen in the table belo
|
|
|
383
383
|
| `dashboardContext` | DashboardContext | A `dashboard-context` to answer over (manual API path). Accepts a JSON object string attribute. |
|
|
384
384
|
| `dashboardId` | string | Connect the chat to a dashboard embedded on the same page; it auto-reads live context and refreshes on change. |
|
|
385
385
|
| `contextIds` | string[] | Connect the chat to one or more flex charts by their `context-id`; a synthetic dashboard-context is assembled. JSON array. |
|
|
386
|
+
| `agentId` | string | Answer with a saved agent instead of the default analyst; pass the agent id. |
|
|
386
387
|
|
|
387
388
|
<br/>
|
|
388
389
|
|
package/index.cjs
CHANGED
|
@@ -64,7 +64,7 @@ var import_decorators = require("lit/decorators.js");
|
|
|
64
64
|
var import_style_map = require("lit/directives/style-map.js");
|
|
65
65
|
|
|
66
66
|
// libs/embed-libs/embed/package.json
|
|
67
|
-
var version = "7.
|
|
67
|
+
var version = "7.3.0";
|
|
68
68
|
|
|
69
69
|
// libs/embed-libs/embed/src/lib/helper/embed-error.utils.ts
|
|
70
70
|
function buildEmbedErrorDetail(errorMsg) {
|
|
@@ -1552,7 +1552,8 @@ var inputMap = {
|
|
|
1552
1552
|
availableDatasets: "available-datasets",
|
|
1553
1553
|
dashboardContext: "dashboard-context",
|
|
1554
1554
|
dashboardId: "dashboard-id",
|
|
1555
|
-
contextIds: "context-ids"
|
|
1555
|
+
contextIds: "context-ids",
|
|
1556
|
+
agentId: "agent-id"
|
|
1556
1557
|
};
|
|
1557
1558
|
var embedChatTag = "luzmo-iq-embed-chat";
|
|
1558
1559
|
var chatComponentTag = "luzmo-iq-chat-component";
|
|
@@ -1698,6 +1699,9 @@ __decorateClass([
|
|
|
1698
1699
|
__decorateClass([
|
|
1699
1700
|
(0, import_decorators3.property)({ type: Array })
|
|
1700
1701
|
], LuzmoIQEmbedChatComponent.prototype, "contextIds", 2);
|
|
1702
|
+
__decorateClass([
|
|
1703
|
+
(0, import_decorators3.property)()
|
|
1704
|
+
], LuzmoIQEmbedChatComponent.prototype, "agentId", 2);
|
|
1701
1705
|
if (!customElements.get(embedChatTag)) {
|
|
1702
1706
|
customElements.define(embedChatTag, LuzmoIQEmbedChatComponent);
|
|
1703
1707
|
}
|
package/index.js
CHANGED
|
@@ -20,7 +20,7 @@ import { property, query, state } from "lit/decorators.js";
|
|
|
20
20
|
import { styleMap } from "lit/directives/style-map.js";
|
|
21
21
|
|
|
22
22
|
// libs/embed-libs/embed/package.json
|
|
23
|
-
var version = "7.
|
|
23
|
+
var version = "7.3.0";
|
|
24
24
|
|
|
25
25
|
// libs/embed-libs/embed/src/lib/helper/embed-error.utils.ts
|
|
26
26
|
function buildEmbedErrorDetail(errorMsg) {
|
|
@@ -1508,7 +1508,8 @@ var inputMap = {
|
|
|
1508
1508
|
availableDatasets: "available-datasets",
|
|
1509
1509
|
dashboardContext: "dashboard-context",
|
|
1510
1510
|
dashboardId: "dashboard-id",
|
|
1511
|
-
contextIds: "context-ids"
|
|
1511
|
+
contextIds: "context-ids",
|
|
1512
|
+
agentId: "agent-id"
|
|
1512
1513
|
};
|
|
1513
1514
|
var embedChatTag = "luzmo-iq-embed-chat";
|
|
1514
1515
|
var chatComponentTag = "luzmo-iq-chat-component";
|
|
@@ -1654,6 +1655,9 @@ __decorateClass([
|
|
|
1654
1655
|
__decorateClass([
|
|
1655
1656
|
property3({ type: Array })
|
|
1656
1657
|
], LuzmoIQEmbedChatComponent.prototype, "contextIds", 2);
|
|
1658
|
+
__decorateClass([
|
|
1659
|
+
property3()
|
|
1660
|
+
], LuzmoIQEmbedChatComponent.prototype, "agentId", 2);
|
|
1657
1661
|
if (!customElements.get(embedChatTag)) {
|
|
1658
1662
|
customElements.define(embedChatTag, LuzmoIQEmbedChatComponent);
|
|
1659
1663
|
}
|
package/luzmo-embed.min.js
CHANGED
|
@@ -5930,7 +5930,7 @@ var o6 = e6(class extends i5 {
|
|
|
5930
5930
|
});
|
|
5931
5931
|
|
|
5932
5932
|
// libs/embed-libs/embed/package.json
|
|
5933
|
-
var version = "7.
|
|
5933
|
+
var version = "7.3.0";
|
|
5934
5934
|
|
|
5935
5935
|
// libs/embed-libs/embed/src/lib/helper/embed-error.utils.ts
|
|
5936
5936
|
function buildEmbedErrorDetail(errorMsg) {
|
|
@@ -7410,7 +7410,8 @@ var inputMap = {
|
|
|
7410
7410
|
availableDatasets: "available-datasets",
|
|
7411
7411
|
dashboardContext: "dashboard-context",
|
|
7412
7412
|
dashboardId: "dashboard-id",
|
|
7413
|
-
contextIds: "context-ids"
|
|
7413
|
+
contextIds: "context-ids",
|
|
7414
|
+
agentId: "agent-id"
|
|
7414
7415
|
};
|
|
7415
7416
|
var embedChatTag = "luzmo-iq-embed-chat";
|
|
7416
7417
|
var chatComponentTag = "luzmo-iq-chat-component";
|
|
@@ -7556,6 +7557,9 @@ __decorateClass([
|
|
|
7556
7557
|
__decorateClass([
|
|
7557
7558
|
n4({ type: Array })
|
|
7558
7559
|
], LuzmoIQEmbedChatComponent.prototype, "contextIds", 2);
|
|
7560
|
+
__decorateClass([
|
|
7561
|
+
n4()
|
|
7562
|
+
], LuzmoIQEmbedChatComponent.prototype, "agentId", 2);
|
|
7559
7563
|
if (!customElements.get(embedChatTag)) {
|
|
7560
7564
|
customElements.define(embedChatTag, LuzmoIQEmbedChatComponent);
|
|
7561
7565
|
}
|
package/package.json
CHANGED
|
@@ -25,6 +25,7 @@ export declare class LuzmoIQEmbedChatComponent extends LitElement {
|
|
|
25
25
|
dashboardContext?: SerializedDashboardContext;
|
|
26
26
|
dashboardId?: string;
|
|
27
27
|
contextIds?: string[];
|
|
28
|
+
agentId?: string;
|
|
28
29
|
chartElement: HTMLElement;
|
|
29
30
|
static styles: import("lit").CSSResult;
|
|
30
31
|
protected createRenderRoot(): HTMLElement | DocumentFragment;
|