@luzmo/ngx-analytics-components-kit 2.0.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/ai-chat-empty-state.js +3 -1
- package/esm/components/ai-chat.d.ts +1 -1
- package/esm/components/ai-chat.js +4 -2
- package/esm/components/filter-value-picker.d.ts +3 -2
- package/esm/components/filter-value-picker.js +2 -2
- package/esm/components/item-option-number-field.d.ts +2 -3
- package/esm/components/item-option-number-field.js +3 -3
- package/package.json +2 -2
|
@@ -4,6 +4,8 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
const _c0 = ["*"];
|
|
5
5
|
/**
|
|
6
6
|
* Angular wrapper component for <luzmo-ai-chat-empty-state>
|
|
7
|
+
*
|
|
8
|
+
* @csspart suggestion - Each suggestion chip, a Lucero `luzmo-action-button` with `variant="accent"`. Set its `--luzmo-action-button-*` custom properties to restyle the chips.
|
|
7
9
|
*/
|
|
8
10
|
export class LuzmoAiChatEmptyState {
|
|
9
11
|
elementRef = inject(ElementRef);
|
|
@@ -104,4 +106,4 @@ export class LuzmoAiChatEmptyState {
|
|
|
104
106
|
type: Input,
|
|
105
107
|
args: [{ alias: 'size' }]
|
|
106
108
|
}], luzmoSuggestionSelected: [{ type: i0.Output, args: ["luzmoSuggestionSelected"] }] }); })();
|
|
107
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoAiChatEmptyState, { className: "LuzmoAiChatEmptyState", filePath: "components/ai-chat-empty-state.ts", lineNumber:
|
|
109
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoAiChatEmptyState, { className: "LuzmoAiChatEmptyState", filePath: "components/ai-chat-empty-state.ts", lineNumber: 18 }); })();
|
|
@@ -25,7 +25,7 @@ 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`. */
|
|
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`. Messages with a question box (`question` or `elicitation`) never show them. */
|
|
29
29
|
showAssistantMessageFeedback?: boolean;
|
|
30
30
|
/** Auth key for DataBroker authentication */
|
|
31
31
|
authKey?: string;
|
|
@@ -4,6 +4,8 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
const _c0 = ["*"];
|
|
5
5
|
/**
|
|
6
6
|
* Angular wrapper component for <luzmo-ai-chat>
|
|
7
|
+
*
|
|
8
|
+
* @csspart suggestion - Each empty-state suggestion chip, a Lucero `luzmo-action-button` with `variant="accent"`. Set its `--luzmo-action-button-*` custom properties to restyle the chips. Custom actions beyond built-in `ChatMessage.actions` buttons can be projected via the `assistant-message-actions` light-DOM slot on the latest assistant message.
|
|
7
9
|
*/
|
|
8
10
|
export class LuzmoAiChat {
|
|
9
11
|
elementRef = inject(ElementRef);
|
|
@@ -27,7 +29,7 @@ export class LuzmoAiChat {
|
|
|
27
29
|
stoppable;
|
|
28
30
|
/** When true, shows context menu (3 dots) on assistant messages */
|
|
29
31
|
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`. */
|
|
32
|
+
/** 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`. Messages with a question box (`question` or `elicitation`) never show them. */
|
|
31
33
|
showAssistantMessageFeedback;
|
|
32
34
|
/** Auth key for DataBroker authentication */
|
|
33
35
|
authKey;
|
|
@@ -482,4 +484,4 @@ export class LuzmoAiChat {
|
|
|
482
484
|
type: Input,
|
|
483
485
|
args: [{ alias: 'size' }]
|
|
484
486
|
}], 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"] }] }); })();
|
|
485
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoAiChat, { className: "LuzmoAiChat", filePath: "components/ai-chat.ts", lineNumber:
|
|
487
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoAiChat, { className: "LuzmoAiChat", filePath: "components/ai-chat.ts", lineNumber: 20 }); })();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import '@luzmo/analytics-components-kit/filter-value-picker';
|
|
3
3
|
import type { LuzmoFilterValuePicker as LuzmoFilterValuePickerHostElement } from '@luzmo/analytics-components-kit/filter-value-picker';
|
|
4
|
+
import type { ColumnType } from '@luzmo/dashboard-contents-types';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class LuzmoFilterValuePicker implements OnChanges {
|
|
6
7
|
private readonly elementRef;
|
|
@@ -22,8 +23,8 @@ export declare class LuzmoFilterValuePicker implements OnChanges {
|
|
|
22
23
|
contentLanguage?: string;
|
|
23
24
|
/** The time zone to use for the date picker */
|
|
24
25
|
timeZone?: string;
|
|
25
|
-
/** The type
|
|
26
|
-
valueType?:
|
|
26
|
+
/** The type of the filtered column or formula. Array columns render the picker of their element type, or a number field when the filter compares the number of elements. */
|
|
27
|
+
valueType?: ColumnType;
|
|
27
28
|
/** The filter for which to render the value picker */
|
|
28
29
|
filter?: any;
|
|
29
30
|
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
@@ -27,7 +27,7 @@ export class LuzmoFilterValuePicker {
|
|
|
27
27
|
contentLanguage;
|
|
28
28
|
/** The time zone to use for the date picker */
|
|
29
29
|
timeZone;
|
|
30
|
-
/** The type
|
|
30
|
+
/** The type of the filtered column or formula. Array columns render the picker of their element type, or a number field when the filter compares the number of elements. */
|
|
31
31
|
valueType;
|
|
32
32
|
/** The filter for which to render the value picker */
|
|
33
33
|
filter;
|
|
@@ -168,4 +168,4 @@ export class LuzmoFilterValuePicker {
|
|
|
168
168
|
type: Input,
|
|
169
169
|
args: [{ alias: 'tabIndex' }]
|
|
170
170
|
}], luzmoFilterValueChanged: [{ type: i0.Output, args: ["luzmoFilterValueChanged"] }] }); })();
|
|
171
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoFilterValuePicker, { className: "LuzmoFilterValuePicker", filePath: "components/filter-value-picker.ts", lineNumber:
|
|
171
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoFilterValuePicker, { className: "LuzmoFilterValuePicker", filePath: "components/filter-value-picker.ts", lineNumber: 16 }); })();
|
|
@@ -27,8 +27,8 @@ export declare class LuzmoItemOptionNumberField implements OnChanges {
|
|
|
27
27
|
minWidthInputField?: string;
|
|
28
28
|
/** The increment between values. */
|
|
29
29
|
step?: number;
|
|
30
|
-
/** Unit
|
|
31
|
-
unit?:
|
|
30
|
+
/** Unit shown after the value while the field is not focused, for example `px` or `%`. Units that `Intl.NumberFormat` knows, such as `meter` or `percent`, are formatted by it. */
|
|
31
|
+
unit?: string;
|
|
32
32
|
/** Delay in milliseconds before the change event is emitted after the user stops interacting. */
|
|
33
33
|
debounce?: number;
|
|
34
34
|
/** Optional transform applied to the stored value before it is displayed in the control. */
|
|
@@ -52,7 +52,6 @@ export declare class LuzmoItemOptionNumberField implements OnChanges {
|
|
|
52
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemOptionNumberField, never>;
|
|
53
53
|
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemOptionNumberField, "luzmo-item-option-number-field", ["luzmoItemOptionNumberField"], { "disabled": { "alias": "disabled"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "default": { "alias": "default"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minWidthInputField": { "alias": "minWidthInputField"; "required": false; }; "step": { "alias": "step"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "parseValue": { "alias": "parseValue"; "required": false; }; "toValue": { "alias": "toValue"; "required": false; }; "debounceTimeout": { "alias": "debounceTimeout"; "required": false; }; }, { "luzmoOptionChanged": "luzmoOptionChanged"; }, never, ["*"], true, never>;
|
|
54
54
|
static ngAcceptInputType_disabled: unknown;
|
|
55
|
-
static ngAcceptInputType_unit: unknown;
|
|
56
55
|
}
|
|
57
56
|
/** The underlying custom element type for LuzmoItemOptionNumberField */
|
|
58
57
|
export type LuzmoItemOptionNumberFieldElement = LuzmoItemOptionNumberFieldHostElement;
|
|
@@ -31,7 +31,7 @@ export class LuzmoItemOptionNumberField {
|
|
|
31
31
|
minWidthInputField;
|
|
32
32
|
/** The increment between values. */
|
|
33
33
|
step;
|
|
34
|
-
/** Unit
|
|
34
|
+
/** Unit shown after the value while the field is not focused, for example `px` or `%`. Units that `Intl.NumberFormat` knows, such as `meter` or `percent`, are formatted by it. */
|
|
35
35
|
unit;
|
|
36
36
|
/** Delay in milliseconds before the change event is emitted after the user stops interacting. */
|
|
37
37
|
debounce;
|
|
@@ -114,7 +114,7 @@ export class LuzmoItemOptionNumberField {
|
|
|
114
114
|
}));
|
|
115
115
|
}
|
|
116
116
|
static ɵfac = function LuzmoItemOptionNumberField_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemOptionNumberField)(); };
|
|
117
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionNumberField, selectors: [["luzmo-item-option-number-field"]], inputs: { disabled: [2, "disabled", "disabled", booleanAttribute], min: "min", max: "max", default: "default", value: "value", placeholder: "placeholder", minWidthInputField: "minWidthInputField", step: "step", unit:
|
|
117
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionNumberField, selectors: [["luzmo-item-option-number-field"]], inputs: { disabled: [2, "disabled", "disabled", booleanAttribute], min: "min", max: "max", default: "default", value: "value", placeholder: "placeholder", minWidthInputField: "minWidthInputField", step: "step", unit: "unit", debounce: "debounce", parseValue: "parseValue", toValue: "toValue", debounceTimeout: "debounceTimeout" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionNumberField"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionNumberField_Template(rf, ctx) { if (rf & 1) {
|
|
118
118
|
i0.ɵɵprojectionDef();
|
|
119
119
|
i0.ɵɵprojection(0);
|
|
120
120
|
} }, encapsulation: 2 });
|
|
@@ -154,7 +154,7 @@ export class LuzmoItemOptionNumberField {
|
|
|
154
154
|
args: [{ alias: 'step' }]
|
|
155
155
|
}], unit: [{
|
|
156
156
|
type: Input,
|
|
157
|
-
args: [{ alias: 'unit'
|
|
157
|
+
args: [{ alias: 'unit' }]
|
|
158
158
|
}], debounce: [{
|
|
159
159
|
type: Input,
|
|
160
160
|
args: [{ alias: 'debounce' }]
|
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": "2.0
|
|
32
|
+
"@luzmo/analytics-components-kit": "2.2.0"
|
|
33
33
|
},
|
|
34
|
-
"version": "2.0
|
|
34
|
+
"version": "2.2.0",
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
37
37
|
"url": "git+https://github.com/cumulio-internal/analytics-components-kit.git"
|