@luzmo/ngx-analytics-components-kit 2.1.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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: 16 }); })();
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: 18 }); })();
487
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoAiChat, { className: "LuzmoAiChat", filePath: "components/ai-chat.ts", lineNumber: 20 }); })();
@@ -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 suffix shown after the value. */
31
- unit?: boolean;
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 suffix shown after the value. */
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: [2, "unit", "unit", booleanAttribute], 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) {
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', transform: booleanAttribute }]
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.1.0"
32
+ "@luzmo/analytics-components-kit": "2.3.0"
33
33
  },
34
- "version": "2.1.0",
34
+ "version": "2.3.0",
35
35
  "repository": {
36
36
  "type": "git",
37
37
  "url": "git+https://github.com/cumulio-internal/analytics-components-kit.git"