@luzmo/ngx-analytics-components-kit 1.0.9-beta.11 → 1.0.9-beta.13
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 +9 -4
- package/esm/components/ai-chat.js +17 -3
- package/esm/components/filters.d.ts +4 -1
- package/esm/components/filters.js +9 -1
- package/esm/components/item-slot-picker-panel.d.ts +3 -1
- package/esm/components/item-slot-picker-panel.js +9 -1
- package/esm/components/item-slot-picker.d.ts +4 -2
- package/esm/components/item-slot-picker.js +10 -2
- package/esm/components/slot-menu.d.ts +4 -1
- package/esm/components/slot-menu.js +9 -1
- 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, AiChatAgentConfig, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatEmptyStateSuggestion, AiChatEmptyStateSuggestionSelectedDetail, AiChatMessageSentEventDetail, AiChatRecognizedStepType, AiChatSessionBuildContext, AiChatSessionCallbacks, AiChatSessionConfig, AiChatSessionControllerOptions, AiChatSessionRestoreParams, AiChatSessionRestoreResult, AiChatSessionSeed, AiChatSessionState, AiChatSessionSubmitParams, AiChatStepBase, AiChatStepEvent, AiDictationCreateBody, AiDictationProperties, AiPromptCreateBody, AiPromptDeleteBody, AssistantMessageAction, AssistantMessageActionConfirmVariant, AssistantMessageActionEventDetail, BuildAiDictationRequestOptions, ChatMessageElicitation, LuzmoPromptSubmittedEventDetail, LuzmoRestoreRequestedEventDetail, ProgressTreeNode, PromptBoxAttachment, PromptBoxFileIcons, RecognizedStepEvent, StreamAiDictationOptions, StreamHandlerCallbacks, StreamHandlerContext, StreamHandlerState, StreamingRequestOptions, StreamingResponse, UnknownStepEvent, UploadAiPromptImagesOptions } from '@luzmo/analytics-components-kit/ai-chat';
|
|
5
|
+
export type { AgentStreamDefinition, AiChatAgentConfig, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatEmptyStateSuggestion, AiChatEmptyStateSuggestionSelectedDetail, AiChatMessageSentEventDetail, AiChatRecognizedStepType, AiChatSessionBuildContext, AiChatSessionCallbacks, AiChatSessionConfig, AiChatSessionControllerOptions, AiChatSessionRestoreParams, AiChatSessionRestoreResult, AiChatSessionSeed, AiChatSessionState, AiChatSessionSubmitParams, AiChatStepBase, AiChatStepEvent, AiDictationCreateBody, AiDictationProperties, AiPromptCreateBody, AiPromptDeleteBody, AssistantMessageAction, AssistantMessageActionConfirmVariant, AssistantMessageActionEventDetail, AssistantMessageFeedbackEventDetail, AssistantMessageFeedbackRating, BuildAiDictationRequestOptions, ChatMessageElicitation, LuzmoPromptSubmittedEventDetail, LuzmoRestoreRequestedEventDetail, ProgressTreeNode, PromptBoxAttachment, PromptBoxFileIcons, RecognizedStepEvent, StreamAiDictationOptions, StreamHandlerCallbacks, StreamHandlerContext, StreamHandlerState, StreamingRequestOptions, StreamingResponse, UnknownStepEvent, UploadAiPromptImagesOptions } 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, AiChatAgentConfig, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatEmptyStateSuggestion, AiChatMessageSentEventDetail, AiChatSession, AiChatStepEvent, AssistantMessageActionEventDetail } from '@luzmo/analytics-components-kit/ai-chat';
|
|
3
|
+
import type { LuzmoAiChat as LuzmoAiChatHostElement, AiChatAgentConfig, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatEmptyStateSuggestion, AiChatMessageSentEventDetail, AiChatSession, AiChatStepEvent, AssistantMessageActionEventDetail, AssistantMessageFeedbackEventDetail } from '@luzmo/analytics-components-kit/ai-chat';
|
|
4
4
|
import type { AiPromptAgent, AiPromptCustomItemInput, 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, AiChatAgentConfig, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatEmptyStateSuggestion, AiChatEmptyStateSuggestionSelectedDetail, AiChatMessageSentEventDetail, AiChatRecognizedStepType, AiChatSessionBuildContext, AiChatSessionCallbacks, AiChatSessionConfig, AiChatSessionControllerOptions, AiChatSessionRestoreParams, AiChatSessionRestoreResult, AiChatSessionSeed, AiChatSessionState, AiChatSessionSubmitParams, AiChatStepBase, AiChatStepEvent, AiDictationCreateBody, AiDictationProperties, AiPromptCreateBody, AiPromptDeleteBody, AssistantMessageAction, AssistantMessageActionConfirmVariant, AssistantMessageActionEventDetail, BuildAiDictationRequestOptions, ChatMessageElicitation, LuzmoPromptSubmittedEventDetail, LuzmoRestoreRequestedEventDetail, ProgressTreeNode, PromptBoxAttachment, PromptBoxFileIcons, RecognizedStepEvent, StreamAiDictationOptions, StreamHandlerCallbacks, StreamHandlerContext, StreamHandlerState, StreamingRequestOptions, StreamingResponse, UnknownStepEvent, UploadAiPromptImagesOptions } from '@luzmo/analytics-components-kit/ai-chat';
|
|
7
|
+
export type { AgentStreamDefinition, AiChatAgentConfig, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatEmptyStateSuggestion, AiChatEmptyStateSuggestionSelectedDetail, AiChatMessageSentEventDetail, AiChatRecognizedStepType, AiChatSessionBuildContext, AiChatSessionCallbacks, AiChatSessionConfig, AiChatSessionControllerOptions, AiChatSessionRestoreParams, AiChatSessionRestoreResult, AiChatSessionSeed, AiChatSessionState, AiChatSessionSubmitParams, AiChatStepBase, AiChatStepEvent, AiDictationCreateBody, AiDictationProperties, AiPromptCreateBody, AiPromptDeleteBody, AssistantMessageAction, AssistantMessageActionConfirmVariant, AssistantMessageActionEventDetail, AssistantMessageFeedbackEventDetail, AssistantMessageFeedbackRating, BuildAiDictationRequestOptions, ChatMessageElicitation, LuzmoPromptSubmittedEventDetail, LuzmoRestoreRequestedEventDetail, ProgressTreeNode, PromptBoxAttachment, PromptBoxFileIcons, RecognizedStepEvent, StreamAiDictationOptions, StreamHandlerCallbacks, StreamHandlerContext, StreamHandlerState, StreamingRequestOptions, StreamingResponse, UnknownStepEvent, UploadAiPromptImagesOptions } 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;
|
|
@@ -25,6 +25,8 @@ export declare class LuzmoAiChat implements OnChanges {
|
|
|
25
25
|
stoppable?: boolean;
|
|
26
26
|
/** When true, shows context menu (3 dots) on assistant messages */
|
|
27
27
|
showAssistantContextMenu?: boolean;
|
|
28
|
+
/** When true, shows thumbs up/down feedback buttons below each completed assistant message. A message with `hideFeedback: true` hides its buttons; the selected rating is kept in `ChatMessage.feedback`. */
|
|
29
|
+
showAssistantMessageFeedback?: boolean;
|
|
28
30
|
/** Auth key for DataBroker authentication */
|
|
29
31
|
authKey?: string;
|
|
30
32
|
/** Auth token for DataBroker authentication */
|
|
@@ -101,7 +103,7 @@ export declare class LuzmoAiChat implements OnChanges {
|
|
|
101
103
|
emptyStateSubtitle?: string;
|
|
102
104
|
/** Optional suggestion chips for the empty state. When empty, only the title is shown. Each entry may include `selectedDatasets` to pre-select datasets when the chip is activated. */
|
|
103
105
|
emptyStateSuggestions?: AiChatEmptyStateSuggestion[];
|
|
104
|
-
/** Size of the chat: `s`, `m` (default), `l` or `xl`. Scales messages, progress steps, questions, the empty state and the prompt input together.
|
|
106
|
+
/** Size of the chat: `s`, `m` (default), `l` or `xl`. Scales messages, progress steps, questions, the empty state and the prompt input together. */
|
|
105
107
|
size?: unknown;
|
|
106
108
|
/** Fired when a user sends a message */
|
|
107
109
|
readonly luzmoMessageSent: import("@angular/core").OutputEmitterRef<CustomEvent<AiChatMessageSentEventDetail>>;
|
|
@@ -117,6 +119,8 @@ export declare class LuzmoAiChat implements OnChanges {
|
|
|
117
119
|
readonly luzmoConversationIdChanged: import("@angular/core").OutputEmitterRef<CustomEvent<AiChatConversationIdChangedEventDetail>>;
|
|
118
120
|
/** Fired when a built-in assistant message action is activated (after confirmation when `confirm` is set) */
|
|
119
121
|
readonly luzmoAssistantMessageAction: import("@angular/core").OutputEmitterRef<CustomEvent<AssistantMessageActionEventDetail>>;
|
|
122
|
+
/** Fired once when the user selects, switches or clears a thumbs rating, after the session holds the new rating. Not fired for programmatic updates. */
|
|
123
|
+
readonly luzmoAssistantMessageFeedback: import("@angular/core").OutputEmitterRef<CustomEvent<AssistantMessageFeedbackEventDetail>>;
|
|
120
124
|
constructor();
|
|
121
125
|
ngOnChanges(changes: SimpleChanges): void;
|
|
122
126
|
/**
|
|
@@ -128,10 +132,11 @@ export declare class LuzmoAiChat implements OnChanges {
|
|
|
128
132
|
private setHostProperty;
|
|
129
133
|
private bindEvents;
|
|
130
134
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoAiChat, never>;
|
|
131
|
-
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; }; "includePublicDatasets": { "alias": "includePublicDatasets"; "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; }; "hideAgents": { "alias": "hideAgents"; "required": false; }; "disableColumnMentions": { "alias": "disableColumnMentions"; "required": false; }; "requireDataset": { "alias": "requireDataset"; "required": false; }; "allowImages": { "alias": "allowImages"; "required": false; }; "allowVoiceInput": { "alias": "allowVoiceInput"; "required": false; }; "acceptedFileTypes": { "alias": "acceptedFileTypes"; "required": false; }; "uploadAttachments": { "alias": "uploadAttachments"; "required": false; }; "agent": { "alias": "agent"; "required": false; }; "agentConfig": { "alias": "agentConfig"; "required": false; }; "agentId": { "alias": "agentId"; "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; }; "customItem": { "alias": "customItem"; "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; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoMessageSent": "luzmoMessageSent"; "luzmoDatasetsChanged": "luzmoDatasetsChanged"; "luzmoStep": "luzmoStep"; "luzmoComplete": "luzmoComplete"; "luzmoStop": "luzmoStop"; "luzmoConversationIdChanged": "luzmoConversationIdChanged"; "luzmoAssistantMessageAction": "luzmoAssistantMessageAction"; }, never, ["*"], true, never>;
|
|
135
|
+
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; }; "showAssistantMessageFeedback": { "alias": "showAssistantMessageFeedback"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "appServer": { "alias": "appServer"; "required": false; }; "includePublicDatasets": { "alias": "includePublicDatasets"; "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; }; "hideAgents": { "alias": "hideAgents"; "required": false; }; "disableColumnMentions": { "alias": "disableColumnMentions"; "required": false; }; "requireDataset": { "alias": "requireDataset"; "required": false; }; "allowImages": { "alias": "allowImages"; "required": false; }; "allowVoiceInput": { "alias": "allowVoiceInput"; "required": false; }; "acceptedFileTypes": { "alias": "acceptedFileTypes"; "required": false; }; "uploadAttachments": { "alias": "uploadAttachments"; "required": false; }; "agent": { "alias": "agent"; "required": false; }; "agentConfig": { "alias": "agentConfig"; "required": false; }; "agentId": { "alias": "agentId"; "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; }; "customItem": { "alias": "customItem"; "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; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoMessageSent": "luzmoMessageSent"; "luzmoDatasetsChanged": "luzmoDatasetsChanged"; "luzmoStep": "luzmoStep"; "luzmoComplete": "luzmoComplete"; "luzmoStop": "luzmoStop"; "luzmoConversationIdChanged": "luzmoConversationIdChanged"; "luzmoAssistantMessageAction": "luzmoAssistantMessageAction"; "luzmoAssistantMessageFeedback": "luzmoAssistantMessageFeedback"; }, never, ["*"], true, never>;
|
|
132
136
|
static ngAcceptInputType_disabled: unknown;
|
|
133
137
|
static ngAcceptInputType_stoppable: unknown;
|
|
134
138
|
static ngAcceptInputType_showAssistantContextMenu: unknown;
|
|
139
|
+
static ngAcceptInputType_showAssistantMessageFeedback: unknown;
|
|
135
140
|
static ngAcceptInputType_includePublicDatasets: unknown;
|
|
136
141
|
static ngAcceptInputType_flagOpendata: unknown;
|
|
137
142
|
static ngAcceptInputType_hideDatasetButton: unknown;
|
|
@@ -27,6 +27,8 @@ export class LuzmoAiChat {
|
|
|
27
27
|
stoppable;
|
|
28
28
|
/** When true, shows context menu (3 dots) on assistant messages */
|
|
29
29
|
showAssistantContextMenu;
|
|
30
|
+
/** When true, shows thumbs up/down feedback buttons below each completed assistant message. A message with `hideFeedback: true` hides its buttons; the selected rating is kept in `ChatMessage.feedback`. */
|
|
31
|
+
showAssistantMessageFeedback;
|
|
30
32
|
/** Auth key for DataBroker authentication */
|
|
31
33
|
authKey;
|
|
32
34
|
/** Auth token for DataBroker authentication */
|
|
@@ -103,7 +105,7 @@ export class LuzmoAiChat {
|
|
|
103
105
|
emptyStateSubtitle;
|
|
104
106
|
/** Optional suggestion chips for the empty state. When empty, only the title is shown. Each entry may include `selectedDatasets` to pre-select datasets when the chip is activated. */
|
|
105
107
|
emptyStateSuggestions;
|
|
106
|
-
/** Size of the chat: `s`, `m` (default), `l` or `xl`. Scales messages, progress steps, questions, the empty state and the prompt input together.
|
|
108
|
+
/** Size of the chat: `s`, `m` (default), `l` or `xl`. Scales messages, progress steps, questions, the empty state and the prompt input together. */
|
|
107
109
|
size;
|
|
108
110
|
/** Fired when a user sends a message */
|
|
109
111
|
luzmoMessageSent = output({ alias: 'luzmoMessageSent' });
|
|
@@ -119,6 +121,8 @@ export class LuzmoAiChat {
|
|
|
119
121
|
luzmoConversationIdChanged = output({ alias: 'luzmoConversationIdChanged' });
|
|
120
122
|
/** Fired when a built-in assistant message action is activated (after confirmation when `confirm` is set) */
|
|
121
123
|
luzmoAssistantMessageAction = output({ alias: 'luzmoAssistantMessageAction' });
|
|
124
|
+
/** Fired once when the user selects, switches or clears a thumbs rating, after the session holds the new rating. Not fired for programmatic updates. */
|
|
125
|
+
luzmoAssistantMessageFeedback = output({ alias: 'luzmoAssistantMessageFeedback' });
|
|
122
126
|
constructor() {
|
|
123
127
|
this.bindEvents();
|
|
124
128
|
this.destroyRef.onDestroy(() => {
|
|
@@ -148,6 +152,9 @@ export class LuzmoAiChat {
|
|
|
148
152
|
case 'showAssistantContextMenu':
|
|
149
153
|
this.setHostProperty('showAssistantContextMenu', changes['showAssistantContextMenu'].currentValue);
|
|
150
154
|
break;
|
|
155
|
+
case 'showAssistantMessageFeedback':
|
|
156
|
+
this.setHostProperty('showAssistantMessageFeedback', changes['showAssistantMessageFeedback'].currentValue);
|
|
157
|
+
break;
|
|
151
158
|
case 'authKey':
|
|
152
159
|
this.setHostProperty('authKey', changes['authKey'].currentValue);
|
|
153
160
|
break;
|
|
@@ -308,9 +315,13 @@ export class LuzmoAiChat {
|
|
|
308
315
|
const typed = event;
|
|
309
316
|
this.luzmoAssistantMessageAction.emit(typed);
|
|
310
317
|
}));
|
|
318
|
+
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-assistant-message-feedback', (event) => {
|
|
319
|
+
const typed = event;
|
|
320
|
+
this.luzmoAssistantMessageFeedback.emit(typed);
|
|
321
|
+
}));
|
|
311
322
|
}
|
|
312
323
|
static ɵfac = function LuzmoAiChat_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoAiChat)(); };
|
|
313
|
-
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", includePublicDatasets: [2, "includePublicDatasets", "includePublicDatasets", booleanAttribute], 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], hideAgents: [2, "hideAgents", "hideAgents", booleanAttribute], disableColumnMentions: [2, "disableColumnMentions", "disableColumnMentions", booleanAttribute], requireDataset: [2, "requireDataset", "requireDataset", booleanAttribute], allowImages: [2, "allowImages", "allowImages", booleanAttribute], allowVoiceInput: [2, "allowVoiceInput", "allowVoiceInput", booleanAttribute], acceptedFileTypes: "acceptedFileTypes", uploadAttachments: "uploadAttachments", agent: "agent", agentConfig: "agentConfig", agentId: "agentId", task: "task", modelPreference: "modelPreference", chatSession: "chatSession", conversationId: "conversationId", chart: "chart", dashboard: "dashboard", customItem: "customItem", 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", size: "size" }, 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) {
|
|
324
|
+
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], showAssistantMessageFeedback: [2, "showAssistantMessageFeedback", "showAssistantMessageFeedback", booleanAttribute], authKey: "authKey", authToken: "authToken", apiUrl: "apiUrl", appServer: "appServer", includePublicDatasets: [2, "includePublicDatasets", "includePublicDatasets", booleanAttribute], 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], hideAgents: [2, "hideAgents", "hideAgents", booleanAttribute], disableColumnMentions: [2, "disableColumnMentions", "disableColumnMentions", booleanAttribute], requireDataset: [2, "requireDataset", "requireDataset", booleanAttribute], allowImages: [2, "allowImages", "allowImages", booleanAttribute], allowVoiceInput: [2, "allowVoiceInput", "allowVoiceInput", booleanAttribute], acceptedFileTypes: "acceptedFileTypes", uploadAttachments: "uploadAttachments", agent: "agent", agentConfig: "agentConfig", agentId: "agentId", task: "task", modelPreference: "modelPreference", chatSession: "chatSession", conversationId: "conversationId", chart: "chart", dashboard: "dashboard", customItem: "customItem", 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", size: "size" }, outputs: { luzmoMessageSent: "luzmoMessageSent", luzmoDatasetsChanged: "luzmoDatasetsChanged", luzmoStep: "luzmoStep", luzmoComplete: "luzmoComplete", luzmoStop: "luzmoStop", luzmoConversationIdChanged: "luzmoConversationIdChanged", luzmoAssistantMessageAction: "luzmoAssistantMessageAction", luzmoAssistantMessageFeedback: "luzmoAssistantMessageFeedback" }, exportAs: ["luzmoAiChat"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoAiChat_Template(rf, ctx) { if (rf & 1) {
|
|
314
325
|
i0.ɵɵprojectionDef();
|
|
315
326
|
i0.ɵɵprojection(0);
|
|
316
327
|
} }, encapsulation: 2 });
|
|
@@ -342,6 +353,9 @@ export class LuzmoAiChat {
|
|
|
342
353
|
}], showAssistantContextMenu: [{
|
|
343
354
|
type: Input,
|
|
344
355
|
args: [{ alias: 'showAssistantContextMenu', transform: booleanAttribute }]
|
|
356
|
+
}], showAssistantMessageFeedback: [{
|
|
357
|
+
type: Input,
|
|
358
|
+
args: [{ alias: 'showAssistantMessageFeedback', transform: booleanAttribute }]
|
|
345
359
|
}], authKey: [{
|
|
346
360
|
type: Input,
|
|
347
361
|
args: [{ alias: 'authKey' }]
|
|
@@ -459,5 +473,5 @@ export class LuzmoAiChat {
|
|
|
459
473
|
}], size: [{
|
|
460
474
|
type: Input,
|
|
461
475
|
args: [{ alias: 'size' }]
|
|
462
|
-
}], 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"] }] }); })();
|
|
476
|
+
}], 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"] }], luzmoAssistantMessageFeedback: [{ type: i0.Output, args: ["luzmoAssistantMessageFeedback"] }] }); })();
|
|
463
477
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoAiChat, { className: "LuzmoAiChat", filePath: "components/ai-chat.ts", lineNumber: 18 }); })();
|
|
@@ -29,6 +29,8 @@ export declare class LuzmoFilters implements OnChanges {
|
|
|
29
29
|
filters?: FiltersInput;
|
|
30
30
|
/** Output format for the `luzmo-filters-changed` event. `canonical` emits `ItemFilterGroup[]`; `clean` emits the clean clause groups that aligned hosts consume. A tree that cannot be represented cleanly falls back to canonical output, and the event says which format it carries. */
|
|
31
31
|
format?: FiltersFormat;
|
|
32
|
+
/** Show an AND-only editor without the condition column or group actions. Existing OR conditions are preserved and cannot be edited in this mode. */
|
|
33
|
+
simple?: boolean;
|
|
32
34
|
/** How the filters are presented. `rich` is the editable group editor. `text` is a read-only sentence, with parentheses around nested AND/OR groups. `outline` is one wrapping filter per line inside bracket rails, and can delete a filter unless `readonly` is set. */
|
|
33
35
|
display?: FiltersDisplay;
|
|
34
36
|
/** Presentation of column and formula references in text and outline displays. */
|
|
@@ -74,7 +76,8 @@ export declare class LuzmoFilters implements OnChanges {
|
|
|
74
76
|
private setHostProperty;
|
|
75
77
|
private bindEvents;
|
|
76
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoFilters, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilters, "luzmo-filters", ["luzmoFilters"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "format": { "alias": "format"; "required": false; }; "display": { "alias": "display"; "required": false; }; "columnDisplay": { "alias": "columnDisplay"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "allowParameters": { "alias": "allowParameters"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "luzmoFiltersChanged": "luzmoFiltersChanged"; "luzmoParameterCreated": "luzmoParameterCreated"; "luzmoParameterRemoved": "luzmoParameterRemoved"; }, never, ["*"], true, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoFilters, "luzmo-filters", ["luzmoFilters"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "format": { "alias": "format"; "required": false; }; "simple": { "alias": "simple"; "required": false; }; "display": { "alias": "display"; "required": false; }; "columnDisplay": { "alias": "columnDisplay"; "required": false; }; "quiet": { "alias": "quiet"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "allowParameters": { "alias": "allowParameters"; "required": false; }; "parameters": { "alias": "parameters"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "luzmoFiltersChanged": "luzmoFiltersChanged"; "luzmoParameterCreated": "luzmoParameterCreated"; "luzmoParameterRemoved": "luzmoParameterRemoved"; }, never, ["*"], true, never>;
|
|
80
|
+
static ngAcceptInputType_simple: unknown;
|
|
78
81
|
static ngAcceptInputType_quiet: unknown;
|
|
79
82
|
static ngAcceptInputType_readonly: unknown;
|
|
80
83
|
static ngAcceptInputType_allowParameters: unknown;
|
|
@@ -37,6 +37,8 @@ export class LuzmoFilters {
|
|
|
37
37
|
filters;
|
|
38
38
|
/** Output format for the `luzmo-filters-changed` event. `canonical` emits `ItemFilterGroup[]`; `clean` emits the clean clause groups that aligned hosts consume. A tree that cannot be represented cleanly falls back to canonical output, and the event says which format it carries. */
|
|
39
39
|
format;
|
|
40
|
+
/** Show an AND-only editor without the condition column or group actions. Existing OR conditions are preserved and cannot be edited in this mode. */
|
|
41
|
+
simple;
|
|
40
42
|
/** How the filters are presented. `rich` is the editable group editor. `text` is a read-only sentence, with parentheses around nested AND/OR groups. `outline` is one wrapping filter per line inside bracket rails, and can delete a filter unless `readonly` is set. */
|
|
41
43
|
display;
|
|
42
44
|
/** Presentation of column and formula references in text and outline displays. */
|
|
@@ -105,6 +107,9 @@ export class LuzmoFilters {
|
|
|
105
107
|
case 'format':
|
|
106
108
|
this.setHostProperty('format', changes['format'].currentValue);
|
|
107
109
|
break;
|
|
110
|
+
case 'simple':
|
|
111
|
+
this.setHostProperty('simple', changes['simple'].currentValue);
|
|
112
|
+
break;
|
|
108
113
|
case 'display':
|
|
109
114
|
this.setHostProperty('display', changes['display'].currentValue);
|
|
110
115
|
break;
|
|
@@ -170,7 +175,7 @@ export class LuzmoFilters {
|
|
|
170
175
|
}));
|
|
171
176
|
}
|
|
172
177
|
static ɵfac = function LuzmoFilters_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoFilters)(); };
|
|
173
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilters, selectors: [["luzmo-filters"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", contentLanguage: "contentLanguage", timeZone: "timeZone", datasetIds: "datasetIds", filters: "filters", format: "format", display: "display", columnDisplay: "columnDisplay", quiet: [2, "quiet", "quiet", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], allowParameters: [2, "allowParameters", "allowParameters", booleanAttribute], parameters: "parameters", debounce: "debounce", language: "language", size: "size", disabled: [2, "disabled", "disabled", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, outputs: { luzmoFiltersChanged: "luzmoFiltersChanged", luzmoParameterCreated: "luzmoParameterCreated", luzmoParameterRemoved: "luzmoParameterRemoved" }, exportAs: ["luzmoFilters"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilters_Template(rf, ctx) { if (rf & 1) {
|
|
178
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFilters, selectors: [["luzmo-filters"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", contentLanguage: "contentLanguage", timeZone: "timeZone", datasetIds: "datasetIds", filters: "filters", format: "format", simple: [2, "simple", "simple", booleanAttribute], display: "display", columnDisplay: "columnDisplay", quiet: [2, "quiet", "quiet", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], allowParameters: [2, "allowParameters", "allowParameters", booleanAttribute], parameters: "parameters", debounce: "debounce", language: "language", size: "size", disabled: [2, "disabled", "disabled", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], tabIndex: "tabIndex" }, outputs: { luzmoFiltersChanged: "luzmoFiltersChanged", luzmoParameterCreated: "luzmoParameterCreated", luzmoParameterRemoved: "luzmoParameterRemoved" }, exportAs: ["luzmoFilters"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFilters_Template(rf, ctx) { if (rf & 1) {
|
|
174
179
|
i0.ɵɵprojectionDef();
|
|
175
180
|
i0.ɵɵprojection(0);
|
|
176
181
|
} }, encapsulation: 2 });
|
|
@@ -211,6 +216,9 @@ export class LuzmoFilters {
|
|
|
211
216
|
}], format: [{
|
|
212
217
|
type: Input,
|
|
213
218
|
args: [{ alias: 'format' }]
|
|
219
|
+
}], simple: [{
|
|
220
|
+
type: Input,
|
|
221
|
+
args: [{ alias: 'simple', transform: booleanAttribute }]
|
|
214
222
|
}], display: [{
|
|
215
223
|
type: Input,
|
|
216
224
|
args: [{ alias: 'display' }]
|
|
@@ -50,6 +50,8 @@ export declare class LuzmoItemSlotPickerPanel implements OnChanges {
|
|
|
50
50
|
placement?: Placement;
|
|
51
51
|
/** Placement of the slot menu popover */
|
|
52
52
|
slotMenuPlacement?: Placement;
|
|
53
|
+
/** How the slot menu opens: `overlay` shows it in a popover, `inline` expands it below the data field. Use `inline` when the panel itself lives in an overlay. Applies to `selects="single"` only. */
|
|
54
|
+
slotMenuMode?: 'overlay' | 'inline';
|
|
53
55
|
/** Controls how slot constraints are handled - 'auto': Constraints are applied immediately (default) - 'event-only': Emit event with constraint details, let consumer decide */
|
|
54
56
|
constraintMode?: 'auto' | 'event-only';
|
|
55
57
|
/** Whether the pickers grow to full width */
|
|
@@ -89,7 +91,7 @@ export declare class LuzmoItemSlotPickerPanel implements OnChanges {
|
|
|
89
91
|
private setHostProperty;
|
|
90
92
|
private bindEvents;
|
|
91
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotPickerPanel, never>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPickerPanel, "luzmo-item-slot-picker-panel", ["luzmoItemSlotPickerPanel"], { "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "dataFieldsSearch": { "alias": "dataFieldsSearch"; "required": false; }; "datasetSearch": { "alias": "datasetSearch"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "selectedDatasetId": { "alias": "selectedDatasetId"; "required": false; }; "datasetPicker": { "alias": "datasetPicker"; "required": false; }; "datasetPickerLabel": { "alias": "datasetPickerLabel"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "constraintMode": { "alias": "constraintMode"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "container": { "alias": "container"; "required": false; }; "datasetfieldlabel": { "alias": "datasetFieldLabel"; "required": false; }; "slotspanel": { "alias": "slotsPanel"; "required": false; }; "slotcontainer": { "alias": "slotContainer"; "required": false; }; "fieldlabel": { "alias": "fieldLabel"; "required": false; }; "itemslotpicker": { "alias": "itemSlotPicker"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoDatasetConstraintTriggered": "luzmoDatasetConstraintTriggered"; "luzmoSlotsContentsChanged": "luzmoSlotsContentsChanged"; "luzmoDatasetChanged": "luzmoDatasetChanged"; "luzmoSlotConstraintTriggered": "luzmoSlotConstraintTriggered"; }, never, ["*"], true, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPickerPanel, "luzmo-item-slot-picker-panel", ["luzmoItemSlotPickerPanel"], { "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "dataFieldsSearch": { "alias": "dataFieldsSearch"; "required": false; }; "datasetSearch": { "alias": "datasetSearch"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "selectedDatasetId": { "alias": "selectedDatasetId"; "required": false; }; "datasetPicker": { "alias": "datasetPicker"; "required": false; }; "datasetPickerLabel": { "alias": "datasetPickerLabel"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "slotMenuMode": { "alias": "slotMenuMode"; "required": false; }; "constraintMode": { "alias": "constraintMode"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "container": { "alias": "container"; "required": false; }; "datasetfieldlabel": { "alias": "datasetFieldLabel"; "required": false; }; "slotspanel": { "alias": "slotsPanel"; "required": false; }; "slotcontainer": { "alias": "slotContainer"; "required": false; }; "fieldlabel": { "alias": "fieldLabel"; "required": false; }; "itemslotpicker": { "alias": "itemSlotPicker"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoDatasetConstraintTriggered": "luzmoDatasetConstraintTriggered"; "luzmoSlotsContentsChanged": "luzmoSlotsContentsChanged"; "luzmoDatasetChanged": "luzmoDatasetChanged"; "luzmoSlotConstraintTriggered": "luzmoSlotConstraintTriggered"; }, never, ["*"], true, never>;
|
|
93
95
|
static ngAcceptInputType_datasetPicker: unknown;
|
|
94
96
|
static ngAcceptInputType_grows: unknown;
|
|
95
97
|
}
|
|
@@ -51,6 +51,8 @@ export class LuzmoItemSlotPickerPanel {
|
|
|
51
51
|
placement;
|
|
52
52
|
/** Placement of the slot menu popover */
|
|
53
53
|
slotMenuPlacement;
|
|
54
|
+
/** How the slot menu opens: `overlay` shows it in a popover, `inline` expands it below the data field. Use `inline` when the panel itself lives in an overlay. Applies to `selects="single"` only. */
|
|
55
|
+
slotMenuMode;
|
|
54
56
|
/** Controls how slot constraints are handled - 'auto': Constraints are applied immediately (default) - 'event-only': Emit event with constraint details, let consumer decide */
|
|
55
57
|
constraintMode;
|
|
56
58
|
/** Whether the pickers grow to full width */
|
|
@@ -144,6 +146,9 @@ export class LuzmoItemSlotPickerPanel {
|
|
|
144
146
|
case 'slotMenuPlacement':
|
|
145
147
|
this.setHostProperty('slotMenuPlacement', changes['slotMenuPlacement'].currentValue);
|
|
146
148
|
break;
|
|
149
|
+
case 'slotMenuMode':
|
|
150
|
+
this.setHostProperty('slotMenuMode', changes['slotMenuMode'].currentValue);
|
|
151
|
+
break;
|
|
147
152
|
case 'constraintMode':
|
|
148
153
|
this.setHostProperty('constraintMode', changes['constraintMode'].currentValue);
|
|
149
154
|
break;
|
|
@@ -207,7 +212,7 @@ export class LuzmoItemSlotPickerPanel {
|
|
|
207
212
|
}));
|
|
208
213
|
}
|
|
209
214
|
static ɵfac = function LuzmoItemSlotPickerPanel_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemSlotPickerPanel)(); };
|
|
210
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPickerPanel, selectors: [["luzmo-item-slot-picker-panel"]], inputs: { itemType: "itemType", contentLanguage: "contentLanguage", slotsConfiguration: "slotsConfiguration", slotsContents: "slotsContents", selects: "selects", dataFieldsSearch: "dataFieldsSearch", datasetSearch: "datasetSearch", icons: "icons", datasetsDataFields: "datasetsDataFields", datasetIds: "datasetIds", selectedDatasetId: "selectedDatasetId", datasetPicker: [2, "datasetPicker", "datasetPicker", booleanAttribute], datasetPickerLabel: "datasetPickerLabel", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", placement: "placement", slotMenuPlacement: "slotMenuPlacement", constraintMode: "constraintMode", grows: [2, "grows", "grows", booleanAttribute], container: "container", datasetfieldlabel: [0, "datasetFieldLabel", "datasetfieldlabel"], slotspanel: [0, "slotsPanel", "slotspanel"], slotcontainer: [0, "slotContainer", "slotcontainer"], fieldlabel: [0, "fieldLabel", "fieldlabel"], itemslotpicker: [0, "itemSlotPicker", "itemslotpicker"], language: "language", size: "size" }, outputs: { luzmoDatasetConstraintTriggered: "luzmoDatasetConstraintTriggered", luzmoSlotsContentsChanged: "luzmoSlotsContentsChanged", luzmoDatasetChanged: "luzmoDatasetChanged", luzmoSlotConstraintTriggered: "luzmoSlotConstraintTriggered" }, exportAs: ["luzmoItemSlotPickerPanel"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPickerPanel_Template(rf, ctx) { if (rf & 1) {
|
|
215
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPickerPanel, selectors: [["luzmo-item-slot-picker-panel"]], inputs: { itemType: "itemType", contentLanguage: "contentLanguage", slotsConfiguration: "slotsConfiguration", slotsContents: "slotsContents", selects: "selects", dataFieldsSearch: "dataFieldsSearch", datasetSearch: "datasetSearch", icons: "icons", datasetsDataFields: "datasetsDataFields", datasetIds: "datasetIds", selectedDatasetId: "selectedDatasetId", datasetPicker: [2, "datasetPicker", "datasetPicker", booleanAttribute], datasetPickerLabel: "datasetPickerLabel", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", placement: "placement", slotMenuPlacement: "slotMenuPlacement", slotMenuMode: "slotMenuMode", constraintMode: "constraintMode", grows: [2, "grows", "grows", booleanAttribute], container: "container", datasetfieldlabel: [0, "datasetFieldLabel", "datasetfieldlabel"], slotspanel: [0, "slotsPanel", "slotspanel"], slotcontainer: [0, "slotContainer", "slotcontainer"], fieldlabel: [0, "fieldLabel", "fieldlabel"], itemslotpicker: [0, "itemSlotPicker", "itemslotpicker"], language: "language", size: "size" }, outputs: { luzmoDatasetConstraintTriggered: "luzmoDatasetConstraintTriggered", luzmoSlotsContentsChanged: "luzmoSlotsContentsChanged", luzmoDatasetChanged: "luzmoDatasetChanged", luzmoSlotConstraintTriggered: "luzmoSlotConstraintTriggered" }, exportAs: ["luzmoItemSlotPickerPanel"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPickerPanel_Template(rf, ctx) { if (rf & 1) {
|
|
211
216
|
i0.ɵɵprojectionDef();
|
|
212
217
|
i0.ɵɵprojection(0);
|
|
213
218
|
} }, encapsulation: 2 });
|
|
@@ -275,6 +280,9 @@ export class LuzmoItemSlotPickerPanel {
|
|
|
275
280
|
}], slotMenuPlacement: [{
|
|
276
281
|
type: Input,
|
|
277
282
|
args: [{ alias: 'slotMenuPlacement' }]
|
|
283
|
+
}], slotMenuMode: [{
|
|
284
|
+
type: Input,
|
|
285
|
+
args: [{ alias: 'slotMenuMode' }]
|
|
278
286
|
}], constraintMode: [{
|
|
279
287
|
type: Input,
|
|
280
288
|
args: [{ alias: 'constraintMode' }]
|
|
@@ -52,9 +52,11 @@ export declare class LuzmoItemSlotPicker implements OnChanges {
|
|
|
52
52
|
placement?: Placement;
|
|
53
53
|
/** Placement of the slot menu popover. Only relevant for 'popup' and 'draggable' menu type */
|
|
54
54
|
slotMenuPlacement?: Placement;
|
|
55
|
+
/** How the slot menu opens: `overlay` shows it in a popover next to the Edit button, `inline` expands it below the data field. Use `inline` when the picker itself lives in an overlay. `inline` applies to `selects="single"` only; multiple selects always use the overlay. */
|
|
56
|
+
slotMenuMode?: 'overlay' | 'inline';
|
|
55
57
|
/** Whether to hide the configuration button */
|
|
56
58
|
hideConfiguration?: boolean;
|
|
57
|
-
/** Whether to hide the
|
|
59
|
+
/** Whether to hide the delete button */
|
|
58
60
|
hideClear?: boolean;
|
|
59
61
|
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
60
62
|
language?: string;
|
|
@@ -75,7 +77,7 @@ export declare class LuzmoItemSlotPicker implements OnChanges {
|
|
|
75
77
|
private setHostProperty;
|
|
76
78
|
private bindEvents;
|
|
77
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotPicker, never>;
|
|
78
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPicker, "luzmo-item-slot-picker", ["luzmoItemSlotPicker"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "slotConfiguration": { "alias": "slotConfiguration"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "hasLabel": { "alias": "hasLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "hideConfiguration": { "alias": "hideConfiguration"; "required": false; }; "hideClear": { "alias": "hideClear"; "required": false; }; "language": { "alias": "language"; "required": false; }; "search": { "alias": "search"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; }, never, ["*"], true, never>;
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotPicker, "luzmo-item-slot-picker", ["luzmoItemSlotPicker"], { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "slotConfiguration": { "alias": "slotConfiguration"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "hasLabel": { "alias": "hasLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "icons": { "alias": "icons"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "slotMenuMode": { "alias": "slotMenuMode"; "required": false; }; "hideConfiguration": { "alias": "hideConfiguration"; "required": false; }; "hideClear": { "alias": "hideClear"; "required": false; }; "language": { "alias": "language"; "required": false; }; "search": { "alias": "search"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; }, never, ["*"], true, never>;
|
|
79
81
|
static ngAcceptInputType_disabled: unknown;
|
|
80
82
|
static ngAcceptInputType_grows: unknown;
|
|
81
83
|
static ngAcceptInputType_hasLabel: unknown;
|
|
@@ -53,9 +53,11 @@ export class LuzmoItemSlotPicker {
|
|
|
53
53
|
placement;
|
|
54
54
|
/** Placement of the slot menu popover. Only relevant for 'popup' and 'draggable' menu type */
|
|
55
55
|
slotMenuPlacement;
|
|
56
|
+
/** How the slot menu opens: `overlay` shows it in a popover next to the Edit button, `inline` expands it below the data field. Use `inline` when the picker itself lives in an overlay. `inline` applies to `selects="single"` only; multiple selects always use the overlay. */
|
|
57
|
+
slotMenuMode;
|
|
56
58
|
/** Whether to hide the configuration button */
|
|
57
59
|
hideConfiguration;
|
|
58
|
-
/** Whether to hide the
|
|
60
|
+
/** Whether to hide the delete button */
|
|
59
61
|
hideClear;
|
|
60
62
|
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
61
63
|
language;
|
|
@@ -133,6 +135,9 @@ export class LuzmoItemSlotPicker {
|
|
|
133
135
|
case 'slotMenuPlacement':
|
|
134
136
|
this.setHostProperty('slotMenuPlacement', changes['slotMenuPlacement'].currentValue);
|
|
135
137
|
break;
|
|
138
|
+
case 'slotMenuMode':
|
|
139
|
+
this.setHostProperty('slotMenuMode', changes['slotMenuMode'].currentValue);
|
|
140
|
+
break;
|
|
136
141
|
case 'hideConfiguration':
|
|
137
142
|
this.setHostProperty('hideConfiguration', changes['hideConfiguration'].currentValue);
|
|
138
143
|
break;
|
|
@@ -169,7 +174,7 @@ export class LuzmoItemSlotPicker {
|
|
|
169
174
|
}));
|
|
170
175
|
}
|
|
171
176
|
static ɵfac = function LuzmoItemSlotPicker_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemSlotPicker)(); };
|
|
172
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPicker, selectors: [["luzmo-item-slot-picker"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", itemType: "itemType", slotName: "slotName", slotConfiguration: "slotConfiguration", slotContents: "slotContents", contentLanguage: "contentLanguage", disabled: [2, "disabled", "disabled", booleanAttribute], grows: [2, "grows", "grows", booleanAttribute], menu: "menu", hasLabel: [2, "hasLabel", "hasLabel", booleanAttribute], label: "label", selects: "selects", icons: "icons", placeholder: "placeholder", datasetsDataFields: "datasetsDataFields", placement: "placement", slotMenuPlacement: "slotMenuPlacement", hideConfiguration: [2, "hideConfiguration", "hideConfiguration", booleanAttribute], hideClear: [2, "hideClear", "hideClear", booleanAttribute], language: "language", search: "search", size: "size" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged" }, exportAs: ["luzmoItemSlotPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPicker_Template(rf, ctx) { if (rf & 1) {
|
|
177
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemSlotPicker, selectors: [["luzmo-item-slot-picker"]], inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", itemType: "itemType", slotName: "slotName", slotConfiguration: "slotConfiguration", slotContents: "slotContents", contentLanguage: "contentLanguage", disabled: [2, "disabled", "disabled", booleanAttribute], grows: [2, "grows", "grows", booleanAttribute], menu: "menu", hasLabel: [2, "hasLabel", "hasLabel", booleanAttribute], label: "label", selects: "selects", icons: "icons", placeholder: "placeholder", datasetsDataFields: "datasetsDataFields", placement: "placement", slotMenuPlacement: "slotMenuPlacement", slotMenuMode: "slotMenuMode", hideConfiguration: [2, "hideConfiguration", "hideConfiguration", booleanAttribute], hideClear: [2, "hideClear", "hideClear", booleanAttribute], language: "language", search: "search", size: "size" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged" }, exportAs: ["luzmoItemSlotPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemSlotPicker_Template(rf, ctx) { if (rf & 1) {
|
|
173
178
|
i0.ɵɵprojectionDef();
|
|
174
179
|
i0.ɵɵprojection(0);
|
|
175
180
|
} }, encapsulation: 2 });
|
|
@@ -240,6 +245,9 @@ export class LuzmoItemSlotPicker {
|
|
|
240
245
|
}], slotMenuPlacement: [{
|
|
241
246
|
type: Input,
|
|
242
247
|
args: [{ alias: 'slotMenuPlacement' }]
|
|
248
|
+
}], slotMenuMode: [{
|
|
249
|
+
type: Input,
|
|
250
|
+
args: [{ alias: 'slotMenuMode' }]
|
|
243
251
|
}], hideConfiguration: [{
|
|
244
252
|
type: Input,
|
|
245
253
|
args: [{ alias: 'hideConfiguration', transform: booleanAttribute }]
|
|
@@ -34,6 +34,8 @@ export declare class LuzmoSlotMenu implements OnChanges {
|
|
|
34
34
|
variant?: 'popup' | 'draggable' | 'default';
|
|
35
35
|
/** Whether to show the top menu label & delete button */
|
|
36
36
|
noTopMenuLabel?: boolean;
|
|
37
|
+
/** Whether to hide the remove button in the popup variant, for hosts that already offer their own delete action */
|
|
38
|
+
noRemove?: boolean;
|
|
37
39
|
/** CSS selector for the boundary element that constrains dragging of the menu. */
|
|
38
40
|
dragBoundary?: string;
|
|
39
41
|
/** Whether grand-totals options are available for this slot. */
|
|
@@ -90,10 +92,11 @@ export declare class LuzmoSlotMenu implements OnChanges {
|
|
|
90
92
|
private bindEvents;
|
|
91
93
|
close(): void;
|
|
92
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoSlotMenu, never>;
|
|
93
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoSlotMenu, "luzmo-slot-menu", ["luzmoSlotMenu"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotType": { "alias": "slotType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "noDrag": { "alias": "noDrag"; "required": false; }; "noClose": { "alias": "noClose"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "noTopMenuLabel": { "alias": "noTopMenuLabel"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "areGrandTotalsEnabled": { "alias": "areGrandTotalsEnabled"; "required": false; }; "areDatetimeOptionsEnabled": { "alias": "areDatetimeOptionsEnabled"; "required": false; }; "isBinningDisabled": { "alias": "isBinningDisabled"; "required": false; }; "isAggregationDisabled": { "alias": "isAggregationDisabled"; "required": false; }; "isCumulativeSumEnabled": { "alias": "isCumulativeSumEnabled"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "measureColumns": { "alias": "measureColumns"; "required": false; }; "slotIndex": { "alias": "slotIndex"; "required": false; }; "displaySettingsElement": { "alias": "displaySettingsElement"; "required": false; }; "slotMenuListElement": { "alias": "slotMenuListElement"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; "luzmoClose": "luzmoClose"; "luzmoSlotMenuActive": "luzmoSlotMenuActive"; "luzmoSlotMenuHighlight": "luzmoSlotMenuHighlight"; "luzmoSlotMenuInactive": "luzmoSlotMenuInactive"; "luzmoInfoVisibilityChanged": "luzmoInfoVisibilityChanged"; }, never, ["*"], true, never>;
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoSlotMenu, "luzmo-slot-menu", ["luzmoSlotMenu"], { "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotType": { "alias": "slotType"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "noDrag": { "alias": "noDrag"; "required": false; }; "noClose": { "alias": "noClose"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "noTopMenuLabel": { "alias": "noTopMenuLabel"; "required": false; }; "noRemove": { "alias": "noRemove"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "areGrandTotalsEnabled": { "alias": "areGrandTotalsEnabled"; "required": false; }; "areDatetimeOptionsEnabled": { "alias": "areDatetimeOptionsEnabled"; "required": false; }; "isBinningDisabled": { "alias": "isBinningDisabled"; "required": false; }; "isAggregationDisabled": { "alias": "isAggregationDisabled"; "required": false; }; "isCumulativeSumEnabled": { "alias": "isCumulativeSumEnabled"; "required": false; }; "slotContents": { "alias": "slotContents"; "required": false; }; "measureColumns": { "alias": "measureColumns"; "required": false; }; "slotIndex": { "alias": "slotIndex"; "required": false; }; "displaySettingsElement": { "alias": "displaySettingsElement"; "required": false; }; "slotMenuListElement": { "alias": "slotMenuListElement"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "datasetsDataFields": { "alias": "datasetsDataFields"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotContentsChanged": "luzmoSlotContentsChanged"; "luzmoClose": "luzmoClose"; "luzmoSlotMenuActive": "luzmoSlotMenuActive"; "luzmoSlotMenuHighlight": "luzmoSlotMenuHighlight"; "luzmoSlotMenuInactive": "luzmoSlotMenuInactive"; "luzmoInfoVisibilityChanged": "luzmoInfoVisibilityChanged"; }, never, ["*"], true, never>;
|
|
94
96
|
static ngAcceptInputType_noDrag: unknown;
|
|
95
97
|
static ngAcceptInputType_noClose: unknown;
|
|
96
98
|
static ngAcceptInputType_noTopMenuLabel: unknown;
|
|
99
|
+
static ngAcceptInputType_noRemove: unknown;
|
|
97
100
|
static ngAcceptInputType_areGrandTotalsEnabled: unknown;
|
|
98
101
|
static ngAcceptInputType_areDatetimeOptionsEnabled: unknown;
|
|
99
102
|
static ngAcceptInputType_isBinningDisabled: unknown;
|
|
@@ -33,6 +33,8 @@ export class LuzmoSlotMenu {
|
|
|
33
33
|
variant;
|
|
34
34
|
/** Whether to show the top menu label & delete button */
|
|
35
35
|
noTopMenuLabel;
|
|
36
|
+
/** Whether to hide the remove button in the popup variant, for hosts that already offer their own delete action */
|
|
37
|
+
noRemove;
|
|
36
38
|
/** CSS selector for the boundary element that constrains dragging of the menu. */
|
|
37
39
|
dragBoundary;
|
|
38
40
|
/** Whether grand-totals options are available for this slot. */
|
|
@@ -115,6 +117,9 @@ export class LuzmoSlotMenu {
|
|
|
115
117
|
case 'noTopMenuLabel':
|
|
116
118
|
this.setHostProperty('noTopMenuLabel', changes['noTopMenuLabel'].currentValue);
|
|
117
119
|
break;
|
|
120
|
+
case 'noRemove':
|
|
121
|
+
this.setHostProperty('noRemove', changes['noRemove'].currentValue);
|
|
122
|
+
break;
|
|
118
123
|
case 'dragBoundary':
|
|
119
124
|
this.setHostProperty('dragBoundary', changes['dragBoundary'].currentValue);
|
|
120
125
|
break;
|
|
@@ -207,7 +212,7 @@ export class LuzmoSlotMenu {
|
|
|
207
212
|
return this.host.close();
|
|
208
213
|
}
|
|
209
214
|
static ɵfac = function LuzmoSlotMenu_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoSlotMenu)(); };
|
|
210
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoSlotMenu, selectors: [["luzmo-slot-menu"]], inputs: { language: "language", contentLanguage: "contentLanguage", slotType: "slotType", slotName: "slotName", itemType: "itemType", noDrag: [2, "noDrag", "noDrag", booleanAttribute], noClose: [2, "noClose", "noClose", booleanAttribute], variant: "variant", noTopMenuLabel: [2, "noTopMenuLabel", "noTopMenuLabel", booleanAttribute], dragBoundary: "dragBoundary", areGrandTotalsEnabled: [2, "areGrandTotalsEnabled", "areGrandTotalsEnabled", booleanAttribute], areDatetimeOptionsEnabled: [2, "areDatetimeOptionsEnabled", "areDatetimeOptionsEnabled", booleanAttribute], isBinningDisabled: [2, "isBinningDisabled", "isBinningDisabled", booleanAttribute], isAggregationDisabled: [2, "isAggregationDisabled", "isAggregationDisabled", booleanAttribute], isCumulativeSumEnabled: [2, "isCumulativeSumEnabled", "isCumulativeSumEnabled", booleanAttribute], slotContents: "slotContents", measureColumns: "measureColumns", slotIndex: "slotIndex", displaySettingsElement: "displaySettingsElement", slotMenuListElement: "slotMenuListElement", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", datasetsDataFields: "datasetsDataFields", size: "size" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged", luzmoClose: "luzmoClose", luzmoSlotMenuActive: "luzmoSlotMenuActive", luzmoSlotMenuHighlight: "luzmoSlotMenuHighlight", luzmoSlotMenuInactive: "luzmoSlotMenuInactive", luzmoInfoVisibilityChanged: "luzmoInfoVisibilityChanged" }, exportAs: ["luzmoSlotMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoSlotMenu_Template(rf, ctx) { if (rf & 1) {
|
|
215
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoSlotMenu, selectors: [["luzmo-slot-menu"]], inputs: { language: "language", contentLanguage: "contentLanguage", slotType: "slotType", slotName: "slotName", itemType: "itemType", noDrag: [2, "noDrag", "noDrag", booleanAttribute], noClose: [2, "noClose", "noClose", booleanAttribute], variant: "variant", noTopMenuLabel: [2, "noTopMenuLabel", "noTopMenuLabel", booleanAttribute], noRemove: [2, "noRemove", "noRemove", booleanAttribute], dragBoundary: "dragBoundary", areGrandTotalsEnabled: [2, "areGrandTotalsEnabled", "areGrandTotalsEnabled", booleanAttribute], areDatetimeOptionsEnabled: [2, "areDatetimeOptionsEnabled", "areDatetimeOptionsEnabled", booleanAttribute], isBinningDisabled: [2, "isBinningDisabled", "isBinningDisabled", booleanAttribute], isAggregationDisabled: [2, "isAggregationDisabled", "isAggregationDisabled", booleanAttribute], isCumulativeSumEnabled: [2, "isCumulativeSumEnabled", "isCumulativeSumEnabled", booleanAttribute], slotContents: "slotContents", measureColumns: "measureColumns", slotIndex: "slotIndex", displaySettingsElement: "displaySettingsElement", slotMenuListElement: "slotMenuListElement", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", datasetsDataFields: "datasetsDataFields", size: "size" }, outputs: { luzmoSlotContentsChanged: "luzmoSlotContentsChanged", luzmoClose: "luzmoClose", luzmoSlotMenuActive: "luzmoSlotMenuActive", luzmoSlotMenuHighlight: "luzmoSlotMenuHighlight", luzmoSlotMenuInactive: "luzmoSlotMenuInactive", luzmoInfoVisibilityChanged: "luzmoInfoVisibilityChanged" }, exportAs: ["luzmoSlotMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoSlotMenu_Template(rf, ctx) { if (rf & 1) {
|
|
211
216
|
i0.ɵɵprojectionDef();
|
|
212
217
|
i0.ɵɵprojection(0);
|
|
213
218
|
} }, encapsulation: 2 });
|
|
@@ -248,6 +253,9 @@ export class LuzmoSlotMenu {
|
|
|
248
253
|
}], noTopMenuLabel: [{
|
|
249
254
|
type: Input,
|
|
250
255
|
args: [{ alias: 'noTopMenuLabel', transform: booleanAttribute }]
|
|
256
|
+
}], noRemove: [{
|
|
257
|
+
type: Input,
|
|
258
|
+
args: [{ alias: 'noRemove', transform: booleanAttribute }]
|
|
251
259
|
}], dragBoundary: [{
|
|
252
260
|
type: Input,
|
|
253
261
|
args: [{ alias: 'dragBoundary' }]
|
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.9-beta.
|
|
32
|
+
"@luzmo/analytics-components-kit": "1.0.9-beta.13"
|
|
33
33
|
},
|
|
34
|
-
"version": "1.0.9-beta.
|
|
34
|
+
"version": "1.0.9-beta.13",
|
|
35
35
|
"peerDependenciesMeta": {
|
|
36
36
|
"@angular/forms": {
|
|
37
37
|
"optional": true
|