@luzmo/ngx-analytics-components-kit 1.0.4-beta.2 → 1.0.4-beta.4
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/esm/components/ai-chat-empty-state.d.ts +1 -1
- package/esm/components/ai-chat.d.ts +7 -5
- package/esm/components/ai-chat.js +10 -4
- package/esm/components/interactive-viz-item.d.ts +63 -0
- package/esm/components/interactive-viz-item.js +188 -0
- package/esm/index.d.ts +4 -2
- package/esm/index.js +4 -0
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import { OnChanges, SimpleChanges } from '@angular/core';
|
|
|
2
2
|
import '@luzmo/analytics-components-kit/ai-chat';
|
|
3
3
|
import type { LuzmoAiChatEmptyState as LuzmoAiChatEmptyStateHostElement, AiChatEmptyStateSuggestion, AiChatEmptyStateSuggestionSelectedDetail } from '@luzmo/analytics-components-kit/ai-chat';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export type { AgentStreamDefinition, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatEmptyStateSuggestion, AiChatEmptyStateSuggestionSelectedDetail, AiChatMessageSentEventDetail, AiChatRecognizedStepType, AiChatSessionBuildContext, AiChatSessionCallbacks, AiChatSessionConfig, AiChatSessionControllerOptions, AiChatSessionRestoreParams, AiChatSessionRestoreResult, AiChatSessionSeed, AiChatSessionState, AiChatSessionSubmitParams, AiChatStepBase, AiChatStepEvent, AiPromptCreateBody, AiPromptDeleteBody, LuzmoPromptSubmittedEventDetail, LuzmoRestoreRequestedEventDetail, ProgressTreeNode, RecognizedStepEvent, StreamHandlerCallbacks, StreamHandlerContext, StreamHandlerState, StreamingRequestOptions, StreamingResponse, UnknownStepEvent } from '@luzmo/analytics-components-kit/ai-chat';
|
|
5
|
+
export type { AgentStreamDefinition, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatEmptyStateSuggestion, AiChatEmptyStateSuggestionSelectedDetail, AiChatMessageSentEventDetail, AiChatRecognizedStepType, AiChatSessionBuildContext, AiChatSessionCallbacks, AiChatSessionConfig, AiChatSessionControllerOptions, AiChatSessionRestoreParams, AiChatSessionRestoreResult, AiChatSessionSeed, AiChatSessionState, AiChatSessionSubmitParams, AiChatStepBase, AiChatStepEvent, AiPromptCreateBody, AiPromptDeleteBody, AssistantMessageAction, AssistantMessageActionConfirmVariant, AssistantMessageActionEventDetail, LuzmoPromptSubmittedEventDetail, LuzmoRestoreRequestedEventDetail, ProgressTreeNode, RecognizedStepEvent, StreamHandlerCallbacks, StreamHandlerContext, StreamHandlerState, StreamingRequestOptions, StreamingResponse, UnknownStepEvent } from '@luzmo/analytics-components-kit/ai-chat';
|
|
6
6
|
export declare class LuzmoAiChatEmptyState implements OnChanges {
|
|
7
7
|
private readonly elementRef;
|
|
8
8
|
private readonly renderer;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import '@luzmo/analytics-components-kit/ai-chat';
|
|
3
|
-
import type { LuzmoAiChat as LuzmoAiChatHostElement, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatEmptyStateSuggestion, AiChatMessageSentEventDetail, AiChatSession, AiChatStepEvent } from '@luzmo/analytics-components-kit/ai-chat';
|
|
3
|
+
import type { LuzmoAiChat as LuzmoAiChatHostElement, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatEmptyStateSuggestion, AiChatMessageSentEventDetail, AiChatSession, AiChatStepEvent, AssistantMessageActionEventDetail } from '@luzmo/analytics-components-kit/ai-chat';
|
|
4
4
|
import type { AiPromptAgent, AiPromptItemTask, AiPromptScreenMode, DashboardStatePayload } from '@luzmo/analytics-components-kit/ai-chat';
|
|
5
5
|
import type { ChatMessage, Dataset, LuzmoChart } from '@luzmo/analytics-components-kit/types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export type { AgentStreamDefinition, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatEmptyStateSuggestion, AiChatEmptyStateSuggestionSelectedDetail, AiChatMessageSentEventDetail, AiChatRecognizedStepType, AiChatSessionBuildContext, AiChatSessionCallbacks, AiChatSessionConfig, AiChatSessionControllerOptions, AiChatSessionRestoreParams, AiChatSessionRestoreResult, AiChatSessionSeed, AiChatSessionState, AiChatSessionSubmitParams, AiChatStepBase, AiChatStepEvent, AiPromptCreateBody, AiPromptDeleteBody, LuzmoPromptSubmittedEventDetail, LuzmoRestoreRequestedEventDetail, ProgressTreeNode, RecognizedStepEvent, StreamHandlerCallbacks, StreamHandlerContext, StreamHandlerState, StreamingRequestOptions, StreamingResponse, UnknownStepEvent } from '@luzmo/analytics-components-kit/ai-chat';
|
|
7
|
+
export type { AgentStreamDefinition, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatEmptyStateSuggestion, AiChatEmptyStateSuggestionSelectedDetail, AiChatMessageSentEventDetail, AiChatRecognizedStepType, AiChatSessionBuildContext, AiChatSessionCallbacks, AiChatSessionConfig, AiChatSessionControllerOptions, AiChatSessionRestoreParams, AiChatSessionRestoreResult, AiChatSessionSeed, AiChatSessionState, AiChatSessionSubmitParams, AiChatStepBase, AiChatStepEvent, AiPromptCreateBody, AiPromptDeleteBody, AssistantMessageAction, AssistantMessageActionConfirmVariant, AssistantMessageActionEventDetail, LuzmoPromptSubmittedEventDetail, LuzmoRestoreRequestedEventDetail, ProgressTreeNode, RecognizedStepEvent, StreamHandlerCallbacks, StreamHandlerContext, StreamHandlerState, StreamingRequestOptions, StreamingResponse, UnknownStepEvent } from '@luzmo/analytics-components-kit/ai-chat';
|
|
8
8
|
export declare class LuzmoAiChat implements OnChanges {
|
|
9
9
|
private readonly elementRef;
|
|
10
10
|
private readonly renderer;
|
|
@@ -13,7 +13,7 @@ export declare class LuzmoAiChat implements OnChanges {
|
|
|
13
13
|
private readonly listenerCleanup;
|
|
14
14
|
/** The underlying custom element instance. Use to call imperative methods. */
|
|
15
15
|
get nativeElement(): LuzmoAiChatHostElement;
|
|
16
|
-
/** Live transcript is
|
|
16
|
+
/** Live transcript is AiChatSessionState.messages. This prop optionally seeds the session on first connect. */
|
|
17
17
|
messages?: ChatMessage[];
|
|
18
18
|
/** Live selection is in the session. This prop optionally seeds on first connect. */
|
|
19
19
|
selectedDatasets?: Dataset[];
|
|
@@ -91,10 +91,12 @@ export declare class LuzmoAiChat implements OnChanges {
|
|
|
91
91
|
readonly luzmoStep: import("@angular/core").OutputEmitterRef<CustomEvent<AiChatStepEvent>>;
|
|
92
92
|
/** Fired exactly once per response with the authoritative final result (dashboard/chart/name) or an `error`. */
|
|
93
93
|
readonly luzmoComplete: import("@angular/core").OutputEmitterRef<CustomEvent<AiChatCompleteEvent>>;
|
|
94
|
-
/** Fired when an in-flight prompt is stopped */
|
|
94
|
+
/** Fired when an in-flight prompt is stopped Custom actions beyond built-in `ChatMessage.actions` buttons can be projected via the `assistant-message-actions` light-DOM slot on the latest assistant message. */
|
|
95
95
|
readonly luzmoStop: import("@angular/core").OutputEmitterRef<CustomEvent<void>>;
|
|
96
96
|
/** Fired when the conversation ID is updated from the API */
|
|
97
97
|
readonly luzmoConversationIdChanged: import("@angular/core").OutputEmitterRef<CustomEvent<AiChatConversationIdChangedEventDetail>>;
|
|
98
|
+
/** Fired when a built-in assistant message action is activated (after confirmation when `confirm` is set) */
|
|
99
|
+
readonly luzmoAssistantMessageAction: import("@angular/core").OutputEmitterRef<CustomEvent<AssistantMessageActionEventDetail>>;
|
|
98
100
|
constructor();
|
|
99
101
|
ngOnChanges(changes: SimpleChanges): void;
|
|
100
102
|
/**
|
|
@@ -106,7 +108,7 @@ export declare class LuzmoAiChat implements OnChanges {
|
|
|
106
108
|
private setHostProperty;
|
|
107
109
|
private bindEvents;
|
|
108
110
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoAiChat, never>;
|
|
109
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoAiChat, "luzmo-ai-chat", ["luzmoAiChat"], { "messages": { "alias": "messages"; "required": false; }; "selectedDatasets": { "alias": "selectedDatasets"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "stoppable": { "alias": "stoppable"; "required": false; }; "showAssistantContextMenu": { "alias": "showAssistantContextMenu"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "appServer": { "alias": "appServer"; "required": false; }; "flagOpendata": { "alias": "flagOpendata"; "required": false; }; "hideDatasetButton": { "alias": "hideDatasetButton"; "required": false; }; "hideDatasetIcons": { "alias": "hideDatasetIcons"; "required": false; }; "disableDatasetModification": { "alias": "disableDatasetModification"; "required": false; }; "hideSelectedDatasets": { "alias": "hideSelectedDatasets"; "required": false; }; "disableColumnMentions": { "alias": "disableColumnMentions"; "required": false; }; "requireDataset": { "alias": "requireDataset"; "required": false; }; "agent": { "alias": "agent"; "required": false; }; "task": { "alias": "task"; "required": false; }; "modelPreference": { "alias": "modelPreference"; "required": false; }; "chatSession": { "alias": "chatSession"; "required": false; }; "conversationId": { "alias": "conversationId"; "required": false; }; "chart": { "alias": "chart"; "required": false; }; "dashboard": { "alias": "dashboard"; "required": false; }; "currentScreenMode": { "alias": "currentScreenMode"; "required": false; }; "localeId": { "alias": "localeId"; "required": false; }; "timezoneId": { "alias": "timezoneId"; "required": false; }; "apiVersion": { "alias": "apiVersion"; "required": false; }; "stream": { "alias": "stream"; "required": false; }; "loadingMessage": { "alias": "loadingMessage"; "required": false; }; "cancelledMessage": { "alias": "cancelledMessage"; "required": false; }; "initialPrompt": { "alias": "initialPrompt"; "required": false; }; "emptyStateTitle": { "alias": "emptyStateTitle"; "required": false; }; "emptyStateSubtitle": { "alias": "emptyStateSubtitle"; "required": false; }; "emptyStateSuggestions": { "alias": "emptyStateSuggestions"; "required": false; }; }, { "luzmoMessageSent": "luzmoMessageSent"; "luzmoDatasetsChanged": "luzmoDatasetsChanged"; "luzmoStep": "luzmoStep"; "luzmoComplete": "luzmoComplete"; "luzmoStop": "luzmoStop"; "luzmoConversationIdChanged": "luzmoConversationIdChanged"; }, never, ["*"], true, never>;
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoAiChat, "luzmo-ai-chat", ["luzmoAiChat"], { "messages": { "alias": "messages"; "required": false; }; "selectedDatasets": { "alias": "selectedDatasets"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "stoppable": { "alias": "stoppable"; "required": false; }; "showAssistantContextMenu": { "alias": "showAssistantContextMenu"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "appServer": { "alias": "appServer"; "required": false; }; "flagOpendata": { "alias": "flagOpendata"; "required": false; }; "hideDatasetButton": { "alias": "hideDatasetButton"; "required": false; }; "hideDatasetIcons": { "alias": "hideDatasetIcons"; "required": false; }; "disableDatasetModification": { "alias": "disableDatasetModification"; "required": false; }; "hideSelectedDatasets": { "alias": "hideSelectedDatasets"; "required": false; }; "disableColumnMentions": { "alias": "disableColumnMentions"; "required": false; }; "requireDataset": { "alias": "requireDataset"; "required": false; }; "agent": { "alias": "agent"; "required": false; }; "task": { "alias": "task"; "required": false; }; "modelPreference": { "alias": "modelPreference"; "required": false; }; "chatSession": { "alias": "chatSession"; "required": false; }; "conversationId": { "alias": "conversationId"; "required": false; }; "chart": { "alias": "chart"; "required": false; }; "dashboard": { "alias": "dashboard"; "required": false; }; "currentScreenMode": { "alias": "currentScreenMode"; "required": false; }; "localeId": { "alias": "localeId"; "required": false; }; "timezoneId": { "alias": "timezoneId"; "required": false; }; "apiVersion": { "alias": "apiVersion"; "required": false; }; "stream": { "alias": "stream"; "required": false; }; "loadingMessage": { "alias": "loadingMessage"; "required": false; }; "cancelledMessage": { "alias": "cancelledMessage"; "required": false; }; "initialPrompt": { "alias": "initialPrompt"; "required": false; }; "emptyStateTitle": { "alias": "emptyStateTitle"; "required": false; }; "emptyStateSubtitle": { "alias": "emptyStateSubtitle"; "required": false; }; "emptyStateSuggestions": { "alias": "emptyStateSuggestions"; "required": false; }; }, { "luzmoMessageSent": "luzmoMessageSent"; "luzmoDatasetsChanged": "luzmoDatasetsChanged"; "luzmoStep": "luzmoStep"; "luzmoComplete": "luzmoComplete"; "luzmoStop": "luzmoStop"; "luzmoConversationIdChanged": "luzmoConversationIdChanged"; "luzmoAssistantMessageAction": "luzmoAssistantMessageAction"; }, never, ["*"], true, never>;
|
|
110
112
|
static ngAcceptInputType_disabled: unknown;
|
|
111
113
|
static ngAcceptInputType_stoppable: unknown;
|
|
112
114
|
static ngAcceptInputType_showAssistantContextMenu: unknown;
|
|
@@ -15,7 +15,7 @@ export class LuzmoAiChat {
|
|
|
15
15
|
get nativeElement() {
|
|
16
16
|
return this.host;
|
|
17
17
|
}
|
|
18
|
-
/** Live transcript is
|
|
18
|
+
/** Live transcript is AiChatSessionState.messages. This prop optionally seeds the session on first connect. */
|
|
19
19
|
messages;
|
|
20
20
|
/** Live selection is in the session. This prop optionally seeds on first connect. */
|
|
21
21
|
selectedDatasets;
|
|
@@ -93,10 +93,12 @@ export class LuzmoAiChat {
|
|
|
93
93
|
luzmoStep = output({ alias: 'luzmoStep' });
|
|
94
94
|
/** Fired exactly once per response with the authoritative final result (dashboard/chart/name) or an `error`. */
|
|
95
95
|
luzmoComplete = output({ alias: 'luzmoComplete' });
|
|
96
|
-
/** Fired when an in-flight prompt is stopped */
|
|
96
|
+
/** Fired when an in-flight prompt is stopped Custom actions beyond built-in `ChatMessage.actions` buttons can be projected via the `assistant-message-actions` light-DOM slot on the latest assistant message. */
|
|
97
97
|
luzmoStop = output({ alias: 'luzmoStop' });
|
|
98
98
|
/** Fired when the conversation ID is updated from the API */
|
|
99
99
|
luzmoConversationIdChanged = output({ alias: 'luzmoConversationIdChanged' });
|
|
100
|
+
/** Fired when a built-in assistant message action is activated (after confirmation when `confirm` is set) */
|
|
101
|
+
luzmoAssistantMessageAction = output({ alias: 'luzmoAssistantMessageAction' });
|
|
100
102
|
constructor() {
|
|
101
103
|
this.bindEvents();
|
|
102
104
|
this.destroyRef.onDestroy(() => {
|
|
@@ -252,9 +254,13 @@ export class LuzmoAiChat {
|
|
|
252
254
|
const typed = event;
|
|
253
255
|
this.luzmoConversationIdChanged.emit(typed);
|
|
254
256
|
}));
|
|
257
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-assistant-message-action', (event) => {
|
|
258
|
+
const typed = event;
|
|
259
|
+
this.luzmoAssistantMessageAction.emit(typed);
|
|
260
|
+
}));
|
|
255
261
|
}
|
|
256
262
|
static ɵfac = function LuzmoAiChat_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoAiChat)(); };
|
|
257
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoAiChat, selectors: [["luzmo-ai-chat"]], inputs: { messages: "messages", selectedDatasets: "selectedDatasets", placeholder: "placeholder", disabled: [2, "disabled", "disabled", booleanAttribute], stoppable: [2, "stoppable", "stoppable", booleanAttribute], showAssistantContextMenu: [2, "showAssistantContextMenu", "showAssistantContextMenu", booleanAttribute], authKey: "authKey", authToken: "authToken", apiUrl: "apiUrl", appServer: "appServer", flagOpendata: [2, "flagOpendata", "flagOpendata", booleanAttribute], hideDatasetButton: [2, "hideDatasetButton", "hideDatasetButton", booleanAttribute], hideDatasetIcons: [2, "hideDatasetIcons", "hideDatasetIcons", booleanAttribute], disableDatasetModification: [2, "disableDatasetModification", "disableDatasetModification", booleanAttribute], hideSelectedDatasets: [2, "hideSelectedDatasets", "hideSelectedDatasets", booleanAttribute], disableColumnMentions: [2, "disableColumnMentions", "disableColumnMentions", booleanAttribute], requireDataset: [2, "requireDataset", "requireDataset", booleanAttribute], agent: "agent", task: "task", modelPreference: "modelPreference", chatSession: "chatSession", conversationId: "conversationId", chart: "chart", dashboard: "dashboard", currentScreenMode: "currentScreenMode", localeId: "localeId", timezoneId: "timezoneId", apiVersion: "apiVersion", stream: [2, "stream", "stream", booleanAttribute], loadingMessage: "loadingMessage", cancelledMessage: "cancelledMessage", initialPrompt: "initialPrompt", emptyStateTitle: "emptyStateTitle", emptyStateSubtitle: "emptyStateSubtitle", emptyStateSuggestions: "emptyStateSuggestions" }, outputs: { luzmoMessageSent: "luzmoMessageSent", luzmoDatasetsChanged: "luzmoDatasetsChanged", luzmoStep: "luzmoStep", luzmoComplete: "luzmoComplete", luzmoStop: "luzmoStop", luzmoConversationIdChanged: "luzmoConversationIdChanged" }, exportAs: ["luzmoAiChat"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoAiChat_Template(rf, ctx) { if (rf & 1) {
|
|
263
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoAiChat, selectors: [["luzmo-ai-chat"]], inputs: { messages: "messages", selectedDatasets: "selectedDatasets", placeholder: "placeholder", disabled: [2, "disabled", "disabled", booleanAttribute], stoppable: [2, "stoppable", "stoppable", booleanAttribute], showAssistantContextMenu: [2, "showAssistantContextMenu", "showAssistantContextMenu", booleanAttribute], authKey: "authKey", authToken: "authToken", apiUrl: "apiUrl", appServer: "appServer", flagOpendata: [2, "flagOpendata", "flagOpendata", booleanAttribute], hideDatasetButton: [2, "hideDatasetButton", "hideDatasetButton", booleanAttribute], hideDatasetIcons: [2, "hideDatasetIcons", "hideDatasetIcons", booleanAttribute], disableDatasetModification: [2, "disableDatasetModification", "disableDatasetModification", booleanAttribute], hideSelectedDatasets: [2, "hideSelectedDatasets", "hideSelectedDatasets", booleanAttribute], disableColumnMentions: [2, "disableColumnMentions", "disableColumnMentions", booleanAttribute], requireDataset: [2, "requireDataset", "requireDataset", booleanAttribute], agent: "agent", task: "task", modelPreference: "modelPreference", chatSession: "chatSession", conversationId: "conversationId", chart: "chart", dashboard: "dashboard", currentScreenMode: "currentScreenMode", localeId: "localeId", timezoneId: "timezoneId", apiVersion: "apiVersion", stream: [2, "stream", "stream", booleanAttribute], loadingMessage: "loadingMessage", cancelledMessage: "cancelledMessage", initialPrompt: "initialPrompt", emptyStateTitle: "emptyStateTitle", emptyStateSubtitle: "emptyStateSubtitle", emptyStateSuggestions: "emptyStateSuggestions" }, outputs: { luzmoMessageSent: "luzmoMessageSent", luzmoDatasetsChanged: "luzmoDatasetsChanged", luzmoStep: "luzmoStep", luzmoComplete: "luzmoComplete", luzmoStop: "luzmoStop", luzmoConversationIdChanged: "luzmoConversationIdChanged", luzmoAssistantMessageAction: "luzmoAssistantMessageAction" }, exportAs: ["luzmoAiChat"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoAiChat_Template(rf, ctx) { if (rf & 1) {
|
|
258
264
|
i0.ɵɵprojectionDef();
|
|
259
265
|
i0.ɵɵprojection(0);
|
|
260
266
|
} }, encapsulation: 2 });
|
|
@@ -373,5 +379,5 @@ export class LuzmoAiChat {
|
|
|
373
379
|
}], emptyStateSuggestions: [{
|
|
374
380
|
type: Input,
|
|
375
381
|
args: [{ alias: 'emptyStateSuggestions' }]
|
|
376
|
-
}], luzmoMessageSent: [{ type: i0.Output, args: ["luzmoMessageSent"] }], luzmoDatasetsChanged: [{ type: i0.Output, args: ["luzmoDatasetsChanged"] }], luzmoStep: [{ type: i0.Output, args: ["luzmoStep"] }], luzmoComplete: [{ type: i0.Output, args: ["luzmoComplete"] }], luzmoStop: [{ type: i0.Output, args: ["luzmoStop"] }], luzmoConversationIdChanged: [{ type: i0.Output, args: ["luzmoConversationIdChanged"] }] }); })();
|
|
382
|
+
}], luzmoMessageSent: [{ type: i0.Output, args: ["luzmoMessageSent"] }], luzmoDatasetsChanged: [{ type: i0.Output, args: ["luzmoDatasetsChanged"] }], luzmoStep: [{ type: i0.Output, args: ["luzmoStep"] }], luzmoComplete: [{ type: i0.Output, args: ["luzmoComplete"] }], luzmoStop: [{ type: i0.Output, args: ["luzmoStop"] }], luzmoConversationIdChanged: [{ type: i0.Output, args: ["luzmoConversationIdChanged"] }], luzmoAssistantMessageAction: [{ type: i0.Output, args: ["luzmoAssistantMessageAction"] }] }); })();
|
|
377
383
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoAiChat, { className: "LuzmoAiChat", filePath: "components/ai-chat.ts", lineNumber: 18 }); })();
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import '@luzmo/analytics-components-kit/interactive-viz-item';
|
|
3
|
+
import type { LuzmoInteractiveVizItem as LuzmoInteractiveVizItemHostElement, ChartFeedback, FlexChartConfig, InteractiveVizItemChartChangedEventDetail, InteractiveVizItemChartOptionsChangedEventDetail, InteractiveVizItemFeedbackChangedEventDetail } from '@luzmo/analytics-components-kit/interactive-viz-item';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type { ChartActionDescriptor, ChartActionType, ChartFeedback, ChartFeedbackRating, ChartMutationRequest, ChartOption, FlexChartConfig, InteractiveVizItemChartChangedEventDetail, InteractiveVizItemChartOptionsChangedEventDetail, InteractiveVizItemFeedbackChangedEventDetail, NormalizedChartConfig, Ranking, Sort } from '@luzmo/analytics-components-kit/interactive-viz-item';
|
|
6
|
+
export declare class LuzmoInteractiveVizItem implements OnChanges {
|
|
7
|
+
private readonly elementRef;
|
|
8
|
+
private readonly renderer;
|
|
9
|
+
private readonly destroyRef;
|
|
10
|
+
private readonly host;
|
|
11
|
+
private readonly listenerCleanup;
|
|
12
|
+
/** The underlying custom element instance. Use to call imperative methods. */
|
|
13
|
+
get nativeElement(): LuzmoInteractiveVizItemHostElement;
|
|
14
|
+
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
15
|
+
language?: string;
|
|
16
|
+
/** Loose chart config (type, options, slots, filters); slots may use the keyed-object form. */
|
|
17
|
+
chart?: FlexChartConfig | null;
|
|
18
|
+
/** Current feedback (drives the thumbs up/down selection). */
|
|
19
|
+
feedback?: ChartFeedback | null;
|
|
20
|
+
/** Message id from the backend. Feedback is only shown when set. */
|
|
21
|
+
messageId?: string;
|
|
22
|
+
/** Auth key for the embedded chart and config panels. */
|
|
23
|
+
authKey?: string;
|
|
24
|
+
/** Auth token for the embedded chart and config panels. */
|
|
25
|
+
authToken?: string;
|
|
26
|
+
/** API URL for the embedded chart and config panels. */
|
|
27
|
+
apiUrl?: string;
|
|
28
|
+
/** App server URL for the embedded chart (assets, thumbnails). */
|
|
29
|
+
appServer?: string;
|
|
30
|
+
/** Content language for chart data and dataset metadata. Defaults to the UI `language`. */
|
|
31
|
+
contentLanguage?: string;
|
|
32
|
+
/** When present, hides the inline chart actions (ranking, display mode). */
|
|
33
|
+
hideActions?: boolean;
|
|
34
|
+
/** When present, hides the feedback bar. */
|
|
35
|
+
hideFeedback?: boolean;
|
|
36
|
+
/** When present, hides the config-panel toggle and the panel itself. */
|
|
37
|
+
hideConfigPanel?: boolean;
|
|
38
|
+
/** The size of the element */
|
|
39
|
+
size?: 's' | 'm' | 'l' | 'xl';
|
|
40
|
+
/** Fired when the inline actions (ranking, sort, display mode) change the chart options. */
|
|
41
|
+
readonly luzmoChartOptionsChanged: import("@angular/core").OutputEmitterRef<CustomEvent<InteractiveVizItemChartOptionsChangedEventDetail>>;
|
|
42
|
+
/** Fired when the config panel changes slots, filters, or options (full chart). */
|
|
43
|
+
readonly luzmoChartChanged: import("@angular/core").OutputEmitterRef<CustomEvent<InteractiveVizItemChartChangedEventDetail>>;
|
|
44
|
+
/** Fired when the user changes the thumbs up/down rating. */
|
|
45
|
+
readonly luzmoFeedbackChanged: import("@angular/core").OutputEmitterRef<CustomEvent<InteractiveVizItemFeedbackChangedEventDetail>>;
|
|
46
|
+
constructor();
|
|
47
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
48
|
+
/**
|
|
49
|
+
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
50
|
+
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
51
|
+
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
52
|
+
* undefined / null by clearing their bindings.
|
|
53
|
+
*/
|
|
54
|
+
private setHostProperty;
|
|
55
|
+
private bindEvents;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoInteractiveVizItem, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoInteractiveVizItem, "luzmo-interactive-viz-item", ["luzmoInteractiveVizItem"], { "language": { "alias": "language"; "required": false; }; "chart": { "alias": "chart"; "required": false; }; "feedback": { "alias": "feedback"; "required": false; }; "messageId": { "alias": "messageId"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "appServer": { "alias": "appServer"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "hideActions": { "alias": "hideActions"; "required": false; }; "hideFeedback": { "alias": "hideFeedback"; "required": false; }; "hideConfigPanel": { "alias": "hideConfigPanel"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoChartOptionsChanged": "luzmoChartOptionsChanged"; "luzmoChartChanged": "luzmoChartChanged"; "luzmoFeedbackChanged": "luzmoFeedbackChanged"; }, never, ["*"], true, never>;
|
|
58
|
+
static ngAcceptInputType_hideActions: unknown;
|
|
59
|
+
static ngAcceptInputType_hideFeedback: unknown;
|
|
60
|
+
static ngAcceptInputType_hideConfigPanel: unknown;
|
|
61
|
+
}
|
|
62
|
+
/** The underlying custom element type for LuzmoInteractiveVizItem */
|
|
63
|
+
export type LuzmoInteractiveVizItemElement = LuzmoInteractiveVizItemHostElement;
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { booleanAttribute, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
|
|
2
|
+
import '@luzmo/analytics-components-kit/interactive-viz-item';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
const _c0 = ["*"];
|
|
5
|
+
/**
|
|
6
|
+
* Angular wrapper component for <luzmo-interactive-viz-item>
|
|
7
|
+
*
|
|
8
|
+
* @slot chart-actions-extra - Host-injected actions rendered at the end of the inline actions bar (e.g. copy-to-dashboard).
|
|
9
|
+
* @csspart container - The viz item container.
|
|
10
|
+
* @csspart chart-container - The embedded chart wrapper.
|
|
11
|
+
* @csspart config-panel - The expandable configuration panel.
|
|
12
|
+
*/
|
|
13
|
+
export class LuzmoInteractiveVizItem {
|
|
14
|
+
elementRef = inject(ElementRef);
|
|
15
|
+
renderer = inject(Renderer2);
|
|
16
|
+
destroyRef = inject(DestroyRef);
|
|
17
|
+
host = this.elementRef.nativeElement;
|
|
18
|
+
listenerCleanup = [];
|
|
19
|
+
/** The underlying custom element instance. Use to call imperative methods. */
|
|
20
|
+
get nativeElement() {
|
|
21
|
+
return this.host;
|
|
22
|
+
}
|
|
23
|
+
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
24
|
+
language;
|
|
25
|
+
/** Loose chart config (type, options, slots, filters); slots may use the keyed-object form. */
|
|
26
|
+
chart;
|
|
27
|
+
/** Current feedback (drives the thumbs up/down selection). */
|
|
28
|
+
feedback;
|
|
29
|
+
/** Message id from the backend. Feedback is only shown when set. */
|
|
30
|
+
messageId;
|
|
31
|
+
/** Auth key for the embedded chart and config panels. */
|
|
32
|
+
authKey;
|
|
33
|
+
/** Auth token for the embedded chart and config panels. */
|
|
34
|
+
authToken;
|
|
35
|
+
/** API URL for the embedded chart and config panels. */
|
|
36
|
+
apiUrl;
|
|
37
|
+
/** App server URL for the embedded chart (assets, thumbnails). */
|
|
38
|
+
appServer;
|
|
39
|
+
/** Content language for chart data and dataset metadata. Defaults to the UI `language`. */
|
|
40
|
+
contentLanguage;
|
|
41
|
+
/** When present, hides the inline chart actions (ranking, display mode). */
|
|
42
|
+
hideActions;
|
|
43
|
+
/** When present, hides the feedback bar. */
|
|
44
|
+
hideFeedback;
|
|
45
|
+
/** When present, hides the config-panel toggle and the panel itself. */
|
|
46
|
+
hideConfigPanel;
|
|
47
|
+
/** The size of the element */
|
|
48
|
+
size;
|
|
49
|
+
/** Fired when the inline actions (ranking, sort, display mode) change the chart options. */
|
|
50
|
+
luzmoChartOptionsChanged = output({ alias: 'luzmoChartOptionsChanged' });
|
|
51
|
+
/** Fired when the config panel changes slots, filters, or options (full chart). */
|
|
52
|
+
luzmoChartChanged = output({ alias: 'luzmoChartChanged' });
|
|
53
|
+
/** Fired when the user changes the thumbs up/down rating. */
|
|
54
|
+
luzmoFeedbackChanged = output({ alias: 'luzmoFeedbackChanged' });
|
|
55
|
+
constructor() {
|
|
56
|
+
this.bindEvents();
|
|
57
|
+
this.destroyRef.onDestroy(() => {
|
|
58
|
+
for (const cleanup of this.listenerCleanup) {
|
|
59
|
+
cleanup();
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
ngOnChanges(changes) {
|
|
64
|
+
for (const key of Object.keys(changes)) {
|
|
65
|
+
switch (key) {
|
|
66
|
+
case 'language':
|
|
67
|
+
this.setHostProperty('language', changes['language'].currentValue);
|
|
68
|
+
break;
|
|
69
|
+
case 'chart':
|
|
70
|
+
this.setHostProperty('chart', changes['chart'].currentValue);
|
|
71
|
+
break;
|
|
72
|
+
case 'feedback':
|
|
73
|
+
this.setHostProperty('feedback', changes['feedback'].currentValue);
|
|
74
|
+
break;
|
|
75
|
+
case 'messageId':
|
|
76
|
+
this.setHostProperty('messageId', changes['messageId'].currentValue);
|
|
77
|
+
break;
|
|
78
|
+
case 'authKey':
|
|
79
|
+
this.setHostProperty('authKey', changes['authKey'].currentValue);
|
|
80
|
+
break;
|
|
81
|
+
case 'authToken':
|
|
82
|
+
this.setHostProperty('authToken', changes['authToken'].currentValue);
|
|
83
|
+
break;
|
|
84
|
+
case 'apiUrl':
|
|
85
|
+
this.setHostProperty('apiUrl', changes['apiUrl'].currentValue);
|
|
86
|
+
break;
|
|
87
|
+
case 'appServer':
|
|
88
|
+
this.setHostProperty('appServer', changes['appServer'].currentValue);
|
|
89
|
+
break;
|
|
90
|
+
case 'contentLanguage':
|
|
91
|
+
this.setHostProperty('contentLanguage', changes['contentLanguage'].currentValue);
|
|
92
|
+
break;
|
|
93
|
+
case 'hideActions':
|
|
94
|
+
this.setHostProperty('hideActions', changes['hideActions'].currentValue);
|
|
95
|
+
break;
|
|
96
|
+
case 'hideFeedback':
|
|
97
|
+
this.setHostProperty('hideFeedback', changes['hideFeedback'].currentValue);
|
|
98
|
+
break;
|
|
99
|
+
case 'hideConfigPanel':
|
|
100
|
+
this.setHostProperty('hideConfigPanel', changes['hideConfigPanel'].currentValue);
|
|
101
|
+
break;
|
|
102
|
+
case 'size':
|
|
103
|
+
this.setHostProperty('size', changes['size'].currentValue);
|
|
104
|
+
break;
|
|
105
|
+
default:
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
112
|
+
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
113
|
+
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
114
|
+
* undefined / null by clearing their bindings.
|
|
115
|
+
*/
|
|
116
|
+
setHostProperty(key, value) {
|
|
117
|
+
this.renderer.setProperty(this.host, key, value);
|
|
118
|
+
}
|
|
119
|
+
bindEvents() {
|
|
120
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-chart-options-changed', (event) => {
|
|
121
|
+
const typed = event;
|
|
122
|
+
this.luzmoChartOptionsChanged.emit(typed);
|
|
123
|
+
}));
|
|
124
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-chart-changed', (event) => {
|
|
125
|
+
const typed = event;
|
|
126
|
+
this.luzmoChartChanged.emit(typed);
|
|
127
|
+
}));
|
|
128
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-feedback-changed', (event) => {
|
|
129
|
+
const typed = event;
|
|
130
|
+
this.luzmoFeedbackChanged.emit(typed);
|
|
131
|
+
}));
|
|
132
|
+
}
|
|
133
|
+
static ɵfac = function LuzmoInteractiveVizItem_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoInteractiveVizItem)(); };
|
|
134
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoInteractiveVizItem, selectors: [["luzmo-interactive-viz-item"]], inputs: { language: "language", chart: "chart", feedback: "feedback", messageId: "messageId", authKey: "authKey", authToken: "authToken", apiUrl: "apiUrl", appServer: "appServer", contentLanguage: "contentLanguage", hideActions: [2, "hideActions", "hideActions", booleanAttribute], hideFeedback: [2, "hideFeedback", "hideFeedback", booleanAttribute], hideConfigPanel: [2, "hideConfigPanel", "hideConfigPanel", booleanAttribute], size: "size" }, outputs: { luzmoChartOptionsChanged: "luzmoChartOptionsChanged", luzmoChartChanged: "luzmoChartChanged", luzmoFeedbackChanged: "luzmoFeedbackChanged" }, exportAs: ["luzmoInteractiveVizItem"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoInteractiveVizItem_Template(rf, ctx) { if (rf & 1) {
|
|
135
|
+
i0.ɵɵprojectionDef();
|
|
136
|
+
i0.ɵɵprojection(0);
|
|
137
|
+
} }, encapsulation: 2 });
|
|
138
|
+
}
|
|
139
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoInteractiveVizItem, [{
|
|
140
|
+
type: Component,
|
|
141
|
+
args: [{
|
|
142
|
+
selector: 'luzmo-interactive-viz-item',
|
|
143
|
+
exportAs: 'luzmoInteractiveVizItem',
|
|
144
|
+
standalone: true,
|
|
145
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
146
|
+
template: '<ng-content />'
|
|
147
|
+
}]
|
|
148
|
+
}], () => [], { language: [{
|
|
149
|
+
type: Input,
|
|
150
|
+
args: [{ alias: 'language' }]
|
|
151
|
+
}], chart: [{
|
|
152
|
+
type: Input,
|
|
153
|
+
args: [{ alias: 'chart' }]
|
|
154
|
+
}], feedback: [{
|
|
155
|
+
type: Input,
|
|
156
|
+
args: [{ alias: 'feedback' }]
|
|
157
|
+
}], messageId: [{
|
|
158
|
+
type: Input,
|
|
159
|
+
args: [{ alias: 'messageId' }]
|
|
160
|
+
}], authKey: [{
|
|
161
|
+
type: Input,
|
|
162
|
+
args: [{ alias: 'authKey' }]
|
|
163
|
+
}], authToken: [{
|
|
164
|
+
type: Input,
|
|
165
|
+
args: [{ alias: 'authToken' }]
|
|
166
|
+
}], apiUrl: [{
|
|
167
|
+
type: Input,
|
|
168
|
+
args: [{ alias: 'apiUrl' }]
|
|
169
|
+
}], appServer: [{
|
|
170
|
+
type: Input,
|
|
171
|
+
args: [{ alias: 'appServer' }]
|
|
172
|
+
}], contentLanguage: [{
|
|
173
|
+
type: Input,
|
|
174
|
+
args: [{ alias: 'contentLanguage' }]
|
|
175
|
+
}], hideActions: [{
|
|
176
|
+
type: Input,
|
|
177
|
+
args: [{ alias: 'hideActions', transform: booleanAttribute }]
|
|
178
|
+
}], hideFeedback: [{
|
|
179
|
+
type: Input,
|
|
180
|
+
args: [{ alias: 'hideFeedback', transform: booleanAttribute }]
|
|
181
|
+
}], hideConfigPanel: [{
|
|
182
|
+
type: Input,
|
|
183
|
+
args: [{ alias: 'hideConfigPanel', transform: booleanAttribute }]
|
|
184
|
+
}], size: [{
|
|
185
|
+
type: Input,
|
|
186
|
+
args: [{ alias: 'size' }]
|
|
187
|
+
}], luzmoChartOptionsChanged: [{ type: i0.Output, args: ["luzmoChartOptionsChanged"] }], luzmoChartChanged: [{ type: i0.Output, args: ["luzmoChartChanged"] }], luzmoFeedbackChanged: [{ type: i0.Output, args: ["luzmoFeedbackChanged"] }] }); })();
|
|
188
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoInteractiveVizItem, { className: "LuzmoInteractiveVizItem", filePath: "components/interactive-viz-item.ts", lineNumber: 21 }); })();
|
package/esm/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ import { LuzmoFilters } from './components/filters.js';
|
|
|
25
25
|
import { LuzmoFormula } from './components/formula.js';
|
|
26
26
|
import { LuzmoFormulaEditor } from './components/formula-editor.js';
|
|
27
27
|
import { LuzmoFormulaField } from './components/formula-field.js';
|
|
28
|
+
import { LuzmoInteractiveVizItem } from './components/interactive-viz-item.js';
|
|
28
29
|
import { LuzmoItemGrid } from './components/item-grid.js';
|
|
29
30
|
import { LuzmoItemGridItemActionsMenu } from './components/item-grid-item-actions-menu.js';
|
|
30
31
|
import { LuzmoItemOption } from './components/item-option.js';
|
|
@@ -76,6 +77,7 @@ export { LuzmoFilters, type LuzmoFiltersElement } from './components/filters.js'
|
|
|
76
77
|
export { LuzmoFormula, type LuzmoFormulaElement } from './components/formula.js';
|
|
77
78
|
export { LuzmoFormulaEditor, type LuzmoFormulaEditorElement } from './components/formula-editor.js';
|
|
78
79
|
export { LuzmoFormulaField, type LuzmoFormulaFieldElement } from './components/formula-field.js';
|
|
80
|
+
export { LuzmoInteractiveVizItem, type LuzmoInteractiveVizItemElement } from './components/interactive-viz-item.js';
|
|
79
81
|
export { LuzmoItemGrid, type LuzmoItemGridElement } from './components/item-grid.js';
|
|
80
82
|
export { LuzmoItemGridItemActionsMenu, type LuzmoItemGridItemActionsMenuElement } from './components/item-grid-item-actions-menu.js';
|
|
81
83
|
export { LuzmoItemOption, type LuzmoItemOptionElement } from './components/item-option.js';
|
|
@@ -100,6 +102,6 @@ export { LuzmoItemSlotPickerPanel, type LuzmoItemSlotPickerPanelElement } from '
|
|
|
100
102
|
export { LuzmoSlotMenu, type LuzmoSlotMenuElement } from './components/slot-menu.js';
|
|
101
103
|
export { LuzmoSlotMenuList, type LuzmoSlotMenuListElement } from './components/slot-menu-list.js';
|
|
102
104
|
export { LuzmoVizItemMenu, type LuzmoVizItemMenuElement } from './components/viz-item-menu.js';
|
|
103
|
-
export declare const LUZMO_ANGULAR_COMPONENTS: readonly [typeof LuzmoAiChat, typeof LuzmoAiChatEmptyState, typeof LuzmoAiInteractionTextarea, typeof LuzmoDataField, typeof LuzmoDataFieldLevel, typeof LuzmoDataFieldPanel, typeof LuzmoDataFieldsSelect, typeof LuzmoDatasetIcon, typeof LuzmoDatasetSelectorList, typeof LuzmoDatasetSelectorRow, typeof LuzmoDisplaySettings, typeof LuzmoDisplaySettingsBinning, typeof LuzmoDisplaySettingsDatetime, typeof LuzmoDisplaySettingsGrandTotals, typeof LuzmoDisplaySettingsNumeric, typeof LuzmoDisplaySettingsPeriodOverPeriod, typeof LuzmoFilterExpressionPicker, typeof LuzmoFilterItem, typeof LuzmoFilterParameterPicker, typeof LuzmoFilterValuePicker, typeof LuzmoFilterValuePickerDatetime, typeof LuzmoFilterValuePickerHierarchy, typeof LuzmoFilterValuePickerNumeric, typeof LuzmoFilters, typeof LuzmoFormula, typeof LuzmoFormulaEditor, typeof LuzmoFormulaField, typeof LuzmoItemGrid, typeof LuzmoItemGridItemActionsMenu, typeof LuzmoItemOption, typeof LuzmoItemOptionActionButtonGroup, typeof LuzmoItemOptionColorPalettePicker, typeof LuzmoItemOptionColorPicker, typeof LuzmoItemOptionColorRange, typeof LuzmoItemOptionMultiLanguageField, typeof LuzmoItemOptionNumberField, typeof LuzmoItemOptionPanel, typeof LuzmoItemOptionPicker, typeof LuzmoItemOptionPositionPicker, typeof LuzmoItemOptionPositionsNumberField, typeof LuzmoItemOptionRadioButtonGroup, typeof LuzmoItemOptionSlider, typeof LuzmoItemOptionSwitch, typeof LuzmoItemOptionTextField, typeof LuzmoItemSlotDrop, typeof LuzmoItemSlotDropPanel, typeof LuzmoItemSlotPicker, typeof LuzmoItemSlotPickerPanel, typeof LuzmoSlotMenu, typeof LuzmoSlotMenuList, typeof LuzmoVizItemMenu];
|
|
104
|
-
export declare const LUZMO_ANGULAR_COMPONENT_NAMES: readonly ["LuzmoAiChat", "LuzmoAiChatEmptyState", "LuzmoAiInteractionTextarea", "LuzmoDataField", "LuzmoDataFieldLevel", "LuzmoDataFieldPanel", "LuzmoDataFieldsSelect", "LuzmoDatasetIcon", "LuzmoDatasetSelectorList", "LuzmoDatasetSelectorRow", "LuzmoDisplaySettings", "LuzmoDisplaySettingsBinning", "LuzmoDisplaySettingsDatetime", "LuzmoDisplaySettingsGrandTotals", "LuzmoDisplaySettingsNumeric", "LuzmoDisplaySettingsPeriodOverPeriod", "LuzmoFilterExpressionPicker", "LuzmoFilterItem", "LuzmoFilterParameterPicker", "LuzmoFilterValuePicker", "LuzmoFilterValuePickerDatetime", "LuzmoFilterValuePickerHierarchy", "LuzmoFilterValuePickerNumeric", "LuzmoFilters", "LuzmoFormula", "LuzmoFormulaEditor", "LuzmoFormulaField", "LuzmoItemGrid", "LuzmoItemGridItemActionsMenu", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel", "LuzmoSlotMenu", "LuzmoSlotMenuList", "LuzmoVizItemMenu"];
|
|
105
|
+
export declare const LUZMO_ANGULAR_COMPONENTS: readonly [typeof LuzmoAiChat, typeof LuzmoAiChatEmptyState, typeof LuzmoAiInteractionTextarea, typeof LuzmoDataField, typeof LuzmoDataFieldLevel, typeof LuzmoDataFieldPanel, typeof LuzmoDataFieldsSelect, typeof LuzmoDatasetIcon, typeof LuzmoDatasetSelectorList, typeof LuzmoDatasetSelectorRow, typeof LuzmoDisplaySettings, typeof LuzmoDisplaySettingsBinning, typeof LuzmoDisplaySettingsDatetime, typeof LuzmoDisplaySettingsGrandTotals, typeof LuzmoDisplaySettingsNumeric, typeof LuzmoDisplaySettingsPeriodOverPeriod, typeof LuzmoFilterExpressionPicker, typeof LuzmoFilterItem, typeof LuzmoFilterParameterPicker, typeof LuzmoFilterValuePicker, typeof LuzmoFilterValuePickerDatetime, typeof LuzmoFilterValuePickerHierarchy, typeof LuzmoFilterValuePickerNumeric, typeof LuzmoFilters, typeof LuzmoFormula, typeof LuzmoFormulaEditor, typeof LuzmoFormulaField, typeof LuzmoInteractiveVizItem, typeof LuzmoItemGrid, typeof LuzmoItemGridItemActionsMenu, typeof LuzmoItemOption, typeof LuzmoItemOptionActionButtonGroup, typeof LuzmoItemOptionColorPalettePicker, typeof LuzmoItemOptionColorPicker, typeof LuzmoItemOptionColorRange, typeof LuzmoItemOptionMultiLanguageField, typeof LuzmoItemOptionNumberField, typeof LuzmoItemOptionPanel, typeof LuzmoItemOptionPicker, typeof LuzmoItemOptionPositionPicker, typeof LuzmoItemOptionPositionsNumberField, typeof LuzmoItemOptionRadioButtonGroup, typeof LuzmoItemOptionSlider, typeof LuzmoItemOptionSwitch, typeof LuzmoItemOptionTextField, typeof LuzmoItemSlotDrop, typeof LuzmoItemSlotDropPanel, typeof LuzmoItemSlotPicker, typeof LuzmoItemSlotPickerPanel, typeof LuzmoSlotMenu, typeof LuzmoSlotMenuList, typeof LuzmoVizItemMenu];
|
|
106
|
+
export declare const LUZMO_ANGULAR_COMPONENT_NAMES: readonly ["LuzmoAiChat", "LuzmoAiChatEmptyState", "LuzmoAiInteractionTextarea", "LuzmoDataField", "LuzmoDataFieldLevel", "LuzmoDataFieldPanel", "LuzmoDataFieldsSelect", "LuzmoDatasetIcon", "LuzmoDatasetSelectorList", "LuzmoDatasetSelectorRow", "LuzmoDisplaySettings", "LuzmoDisplaySettingsBinning", "LuzmoDisplaySettingsDatetime", "LuzmoDisplaySettingsGrandTotals", "LuzmoDisplaySettingsNumeric", "LuzmoDisplaySettingsPeriodOverPeriod", "LuzmoFilterExpressionPicker", "LuzmoFilterItem", "LuzmoFilterParameterPicker", "LuzmoFilterValuePicker", "LuzmoFilterValuePickerDatetime", "LuzmoFilterValuePickerHierarchy", "LuzmoFilterValuePickerNumeric", "LuzmoFilters", "LuzmoFormula", "LuzmoFormulaEditor", "LuzmoFormulaField", "LuzmoInteractiveVizItem", "LuzmoItemGrid", "LuzmoItemGridItemActionsMenu", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel", "LuzmoSlotMenu", "LuzmoSlotMenuList", "LuzmoVizItemMenu"];
|
|
105
107
|
export type LuzmoAngularComponentName = (typeof LUZMO_ANGULAR_COMPONENT_NAMES)[number];
|
package/esm/index.js
CHANGED
|
@@ -26,6 +26,7 @@ import { LuzmoFilters } from './components/filters.js';
|
|
|
26
26
|
import { LuzmoFormula } from './components/formula.js';
|
|
27
27
|
import { LuzmoFormulaEditor } from './components/formula-editor.js';
|
|
28
28
|
import { LuzmoFormulaField } from './components/formula-field.js';
|
|
29
|
+
import { LuzmoInteractiveVizItem } from './components/interactive-viz-item.js';
|
|
29
30
|
import { LuzmoItemGrid } from './components/item-grid.js';
|
|
30
31
|
import { LuzmoItemGridItemActionsMenu } from './components/item-grid-item-actions-menu.js';
|
|
31
32
|
import { LuzmoItemOption } from './components/item-option.js';
|
|
@@ -77,6 +78,7 @@ export { LuzmoFilters } from './components/filters.js';
|
|
|
77
78
|
export { LuzmoFormula } from './components/formula.js';
|
|
78
79
|
export { LuzmoFormulaEditor } from './components/formula-editor.js';
|
|
79
80
|
export { LuzmoFormulaField } from './components/formula-field.js';
|
|
81
|
+
export { LuzmoInteractiveVizItem } from './components/interactive-viz-item.js';
|
|
80
82
|
export { LuzmoItemGrid } from './components/item-grid.js';
|
|
81
83
|
export { LuzmoItemGridItemActionsMenu } from './components/item-grid-item-actions-menu.js';
|
|
82
84
|
export { LuzmoItemOption } from './components/item-option.js';
|
|
@@ -129,6 +131,7 @@ export const LUZMO_ANGULAR_COMPONENTS = [
|
|
|
129
131
|
LuzmoFormula,
|
|
130
132
|
LuzmoFormulaEditor,
|
|
131
133
|
LuzmoFormulaField,
|
|
134
|
+
LuzmoInteractiveVizItem,
|
|
132
135
|
LuzmoItemGrid,
|
|
133
136
|
LuzmoItemGridItemActionsMenu,
|
|
134
137
|
LuzmoItemOption,
|
|
@@ -182,6 +185,7 @@ export const LUZMO_ANGULAR_COMPONENT_NAMES = [
|
|
|
182
185
|
'LuzmoFormula',
|
|
183
186
|
'LuzmoFormulaEditor',
|
|
184
187
|
'LuzmoFormulaField',
|
|
188
|
+
'LuzmoInteractiveVizItem',
|
|
185
189
|
'LuzmoItemGrid',
|
|
186
190
|
'LuzmoItemGridItemActionsMenu',
|
|
187
191
|
'LuzmoItemOption',
|
package/package.json
CHANGED
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@angular/core": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
31
31
|
"@angular/forms": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
32
|
-
"@luzmo/analytics-components-kit": "1.0.4-beta.
|
|
32
|
+
"@luzmo/analytics-components-kit": "1.0.4-beta.4"
|
|
33
33
|
},
|
|
34
|
-
"version": "1.0.4-beta.
|
|
34
|
+
"version": "1.0.4-beta.4",
|
|
35
35
|
"peerDependenciesMeta": {
|
|
36
36
|
"@angular/forms": {
|
|
37
37
|
"optional": true
|