@luzmo/embed 7.2.1-es2021 → 7.3.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.
- 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) {
|
|
@@ -1550,7 +1550,8 @@ var inputMap = {
|
|
|
1550
1550
|
availableDatasets: "available-datasets",
|
|
1551
1551
|
dashboardContext: "dashboard-context",
|
|
1552
1552
|
dashboardId: "dashboard-id",
|
|
1553
|
-
contextIds: "context-ids"
|
|
1553
|
+
contextIds: "context-ids",
|
|
1554
|
+
agentId: "agent-id"
|
|
1554
1555
|
};
|
|
1555
1556
|
var embedChatTag = "luzmo-iq-embed-chat";
|
|
1556
1557
|
var chatComponentTag = "luzmo-iq-chat-component";
|
|
@@ -1694,6 +1695,9 @@ __decorateClass([
|
|
|
1694
1695
|
__decorateClass([
|
|
1695
1696
|
(0, import_decorators3.property)({ type: Array })
|
|
1696
1697
|
], LuzmoIQEmbedChatComponent.prototype, "contextIds", 2);
|
|
1698
|
+
__decorateClass([
|
|
1699
|
+
(0, import_decorators3.property)()
|
|
1700
|
+
], LuzmoIQEmbedChatComponent.prototype, "agentId", 2);
|
|
1697
1701
|
if (!customElements.get(embedChatTag)) {
|
|
1698
1702
|
customElements.define(embedChatTag, LuzmoIQEmbedChatComponent);
|
|
1699
1703
|
}
|
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) {
|
|
@@ -1506,7 +1506,8 @@ var inputMap = {
|
|
|
1506
1506
|
availableDatasets: "available-datasets",
|
|
1507
1507
|
dashboardContext: "dashboard-context",
|
|
1508
1508
|
dashboardId: "dashboard-id",
|
|
1509
|
-
contextIds: "context-ids"
|
|
1509
|
+
contextIds: "context-ids",
|
|
1510
|
+
agentId: "agent-id"
|
|
1510
1511
|
};
|
|
1511
1512
|
var embedChatTag = "luzmo-iq-embed-chat";
|
|
1512
1513
|
var chatComponentTag = "luzmo-iq-chat-component";
|
|
@@ -1650,6 +1651,9 @@ __decorateClass([
|
|
|
1650
1651
|
__decorateClass([
|
|
1651
1652
|
property3({ type: Array })
|
|
1652
1653
|
], LuzmoIQEmbedChatComponent.prototype, "contextIds", 2);
|
|
1654
|
+
__decorateClass([
|
|
1655
|
+
property3()
|
|
1656
|
+
], LuzmoIQEmbedChatComponent.prototype, "agentId", 2);
|
|
1653
1657
|
if (!customElements.get(embedChatTag)) {
|
|
1654
1658
|
customElements.define(embedChatTag, LuzmoIQEmbedChatComponent);
|
|
1655
1659
|
}
|
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) {
|
|
@@ -7408,7 +7408,8 @@ var inputMap = {
|
|
|
7408
7408
|
availableDatasets: "available-datasets",
|
|
7409
7409
|
dashboardContext: "dashboard-context",
|
|
7410
7410
|
dashboardId: "dashboard-id",
|
|
7411
|
-
contextIds: "context-ids"
|
|
7411
|
+
contextIds: "context-ids",
|
|
7412
|
+
agentId: "agent-id"
|
|
7412
7413
|
};
|
|
7413
7414
|
var embedChatTag = "luzmo-iq-embed-chat";
|
|
7414
7415
|
var chatComponentTag = "luzmo-iq-chat-component";
|
|
@@ -7552,6 +7553,9 @@ __decorateClass([
|
|
|
7552
7553
|
__decorateClass([
|
|
7553
7554
|
n4({ type: Array })
|
|
7554
7555
|
], LuzmoIQEmbedChatComponent.prototype, "contextIds", 2);
|
|
7556
|
+
__decorateClass([
|
|
7557
|
+
n4()
|
|
7558
|
+
], LuzmoIQEmbedChatComponent.prototype, "agentId", 2);
|
|
7555
7559
|
if (!customElements.get(embedChatTag)) {
|
|
7556
7560
|
customElements.define(embedChatTag, LuzmoIQEmbedChatComponent);
|
|
7557
7561
|
}
|
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;
|