@progress/kendo-angular-conversational-ui 19.3.0-develop.27 → 19.3.0-develop.29

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.
@@ -13,7 +13,7 @@ import { packageMetadata } from '../package-metadata';
13
13
  import { TextAreaComponent, KENDO_TEXTAREA } from '@progress/kendo-angular-inputs';
14
14
  import { ContextMenuComponent, KENDO_CONTEXTMENU } from '@progress/kendo-angular-menu';
15
15
  import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
16
- import { isDocumentAvailable } from '@progress/kendo-angular-common';
16
+ import { isDocumentAvailable, isPresent } from '@progress/kendo-angular-common';
17
17
  import { calculateMeasurement } from './utils';
18
18
  import { KENDO_CARD } from '@progress/kendo-angular-layout';
19
19
  import * as i0 from "@angular/core";
@@ -46,7 +46,7 @@ export class InlineAIPromptContentComponent {
46
46
  promptValue;
47
47
  placeholder;
48
48
  promptOutput;
49
- enableTextToSpeech = true;
49
+ enableSpeechToText = true;
50
50
  streaming = false;
51
51
  width = 550;
52
52
  maxHeight;
@@ -97,7 +97,7 @@ export class InlineAIPromptContentComponent {
97
97
  }
98
98
  outputTemplate;
99
99
  promptRequest = new EventEmitter();
100
- executeCommand = new EventEmitter();
100
+ commandExecute = new EventEmitter();
101
101
  outputActionClick = new EventEmitter();
102
102
  promptRequestCancel = new EventEmitter();
103
103
  close = new EventEmitter();
@@ -192,11 +192,14 @@ export class InlineAIPromptContentComponent {
192
192
  }
193
193
  handleSpeechResult(event) {
194
194
  if (event.alternatives && event.alternatives.length > 0) {
195
+ if (!isPresent(this.promptValue)) {
196
+ this.promptValue = '';
197
+ }
195
198
  this.promptValue += event.alternatives[0].transcript + ' ';
196
199
  }
197
200
  }
198
201
  onClick(action) {
199
- this.executeCommand.next(action);
202
+ this.commandExecute.next(action);
200
203
  }
201
204
  handlePromptValueChange(value) {
202
205
  this.promptValue = value;
@@ -224,7 +227,7 @@ export class InlineAIPromptContentComponent {
224
227
  const eventArgs = {
225
228
  ...event.item.originalCommand
226
229
  };
227
- this.executeCommand.emit(eventArgs);
230
+ this.commandExecute.emit(eventArgs);
228
231
  }
229
232
  messageFor(text) {
230
233
  if (this.messages?.[text]) {
@@ -273,7 +276,7 @@ export class InlineAIPromptContentComponent {
273
276
  }
274
277
  }
275
278
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InlineAIPromptContentComponent, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
276
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InlineAIPromptContentComponent, isStandalone: true, selector: "kendo-inlineaiprompt-content", inputs: { popupElement: "popupElement", promptValue: "promptValue", placeholder: "placeholder", promptOutput: "promptOutput", enableTextToSpeech: "enableTextToSpeech", streaming: "streaming", width: "width", maxHeight: "maxHeight", appendTo: "appendTo", outputActions: "outputActions", promptCommands: "promptCommands", outputTemplate: "outputTemplate" }, outputs: { promptRequest: "promptRequest", executeCommand: "executeCommand", outputActionClick: "outputActionClick", promptRequestCancel: "promptRequestCancel", close: "close", promptValueChange: "promptValueChange" }, host: { listeners: { "keydown": "onEscapeKey($event)" }, properties: { "class.k-prompt": "this.className", "attr.dir": "this.dirAttr", "style.max-height": "this.maxHeightStyle", "style.width": "this.widthStyle" } }, providers: [
279
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InlineAIPromptContentComponent, isStandalone: true, selector: "kendo-inlineaiprompt-content", inputs: { popupElement: "popupElement", promptValue: "promptValue", placeholder: "placeholder", promptOutput: "promptOutput", enableSpeechToText: "enableSpeechToText", streaming: "streaming", width: "width", maxHeight: "maxHeight", appendTo: "appendTo", outputActions: "outputActions", promptCommands: "promptCommands", outputTemplate: "outputTemplate" }, outputs: { promptRequest: "promptRequest", commandExecute: "commandExecute", outputActionClick: "outputActionClick", promptRequestCancel: "promptRequestCancel", close: "close", promptValueChange: "promptValueChange" }, host: { listeners: { "keydown": "onEscapeKey($event)" }, properties: { "class.k-prompt": "this.className", "attr.dir": "this.dirAttr", "style.max-height": "this.maxHeightStyle", "style.width": "this.widthStyle" } }, providers: [
277
280
  LocalizationService,
278
281
  {
279
282
  provide: L10N_PREFIX,
@@ -341,7 +344,7 @@ export class InlineAIPromptContentComponent {
341
344
  ></button>
342
345
  <button
343
346
  kendoSpeechToTextButton
344
- *ngIf="enableTextToSpeech"
347
+ *ngIf="enableSpeechToText"
345
348
  [attr.title]="messageFor('speechToTextButtonTitle')"
346
349
  fillMode="flat"
347
350
  (result)="handleSpeechResult($event)"
@@ -449,7 +452,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
449
452
  ></button>
450
453
  <button
451
454
  kendoSpeechToTextButton
452
- *ngIf="enableTextToSpeech"
455
+ *ngIf="enableSpeechToText"
453
456
  [attr.title]="messageFor('speechToTextButtonTitle')"
454
457
  fillMode="flat"
455
458
  (result)="handleSpeechResult($event)"
@@ -509,7 +512,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
509
512
  type: Input
510
513
  }], promptOutput: [{
511
514
  type: Input
512
- }], enableTextToSpeech: [{
515
+ }], enableSpeechToText: [{
513
516
  type: Input
514
517
  }], streaming: [{
515
518
  type: Input
@@ -527,7 +530,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
527
530
  type: Input
528
531
  }], promptRequest: [{
529
532
  type: Output
530
- }], executeCommand: [{
533
+ }], commandExecute: [{
531
534
  type: Output
532
535
  }], outputActionClick: [{
533
536
  type: Output
@@ -51,7 +51,7 @@ export class InlineAIPromptComponent {
51
51
  *
52
52
  * @default true
53
53
  */
54
- enableTextToSpeech = true;
54
+ enableSpeechToText = true;
55
55
  /**
56
56
  * Sets the streaming state of the component.
57
57
  * When set to `true`, the send button displays a generating state and the component emits a `promptRequestCancel` event when you click it.
@@ -97,7 +97,7 @@ export class InlineAIPromptComponent {
97
97
  /**
98
98
  * Fires when you click a command.
99
99
  */
100
- executeCommand = new EventEmitter();
100
+ commandExecute = new EventEmitter();
101
101
  /**
102
102
  * Fires when you click an output action button.
103
103
  */
@@ -159,8 +159,8 @@ export class InlineAIPromptComponent {
159
159
  /**
160
160
  * @hidden
161
161
  */
162
- onExecuteCommand(event) {
163
- this.executeCommand.emit(event);
162
+ onCommandExecute(event) {
163
+ this.commandExecute.emit(event);
164
164
  }
165
165
  /**
166
166
  * @hidden
@@ -187,7 +187,7 @@ export class InlineAIPromptComponent {
187
187
  this.promptValueChange.emit(value);
188
188
  }
189
189
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InlineAIPromptComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
190
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InlineAIPromptComponent, isStandalone: true, selector: "kendo-inlineaiprompt", inputs: { promptValue: "promptValue", placeholder: "placeholder", promptOutput: "promptOutput", enableTextToSpeech: "enableTextToSpeech", streaming: "streaming", width: "width", maxHeight: "maxHeight", outputActions: "outputActions", promptCommands: "promptCommands", popupSettings: "popupSettings" }, outputs: { promptRequest: "promptRequest", executeCommand: "executeCommand", outputActionClick: "outputActionClick", promptRequestCancel: "promptRequestCancel", close: "close", promptValueChange: "promptValueChange" }, providers: [
190
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InlineAIPromptComponent, isStandalone: true, selector: "kendo-inlineaiprompt", inputs: { promptValue: "promptValue", placeholder: "placeholder", promptOutput: "promptOutput", enableSpeechToText: "enableSpeechToText", streaming: "streaming", width: "width", maxHeight: "maxHeight", outputActions: "outputActions", promptCommands: "promptCommands", popupSettings: "popupSettings" }, outputs: { promptRequest: "promptRequest", commandExecute: "commandExecute", outputActionClick: "outputActionClick", promptRequestCancel: "promptRequestCancel", close: "close", promptValueChange: "promptValueChange" }, providers: [
191
191
  LocalizationService,
192
192
  {
193
193
  provide: L10N_PREFIX,
@@ -220,14 +220,14 @@ export class InlineAIPromptComponent {
220
220
  [promptValue]="promptValue"
221
221
  [placeholder]="placeholder"
222
222
  [promptOutput]="promptOutput"
223
- [enableTextToSpeech]="enableTextToSpeech"
223
+ [enableSpeechToText]="enableSpeechToText"
224
224
  [streaming]="streaming"
225
225
  [maxHeight]="maxHeight"
226
226
  [outputActions]="outputActions"
227
227
  [promptCommands]="promptCommands"
228
228
  [outputTemplate]="outputTemplate?.templateRef"
229
229
  (promptRequest)="onPromptRequest($event)"
230
- (executeCommand)="onExecuteCommand($event)"
230
+ (commandExecute)="onCommandExecute($event)"
231
231
  (outputActionClick)="onOutputActionClick($event)"
232
232
  (promptRequestCancel)="onPromptRequestCancel()"
233
233
  (close)="onClose()"
@@ -235,7 +235,7 @@ export class InlineAIPromptComponent {
235
235
  >
236
236
  </kendo-inlineaiprompt-content>
237
237
  </kendo-popup>
238
- `, isInline: true, dependencies: [{ kind: "component", type: i1.PopupComponent, selector: "kendo-popup", inputs: ["animate", "anchor", "anchorAlign", "collision", "popupAlign", "copyAnchorStyles", "popupClass", "positionMode", "offset", "margin"], outputs: ["anchorViewportLeave", "close", "open", "positionChange"], exportAs: ["kendo-popup"] }, { kind: "component", type: InlineAIPromptContentComponent, selector: "kendo-inlineaiprompt-content", inputs: ["popupElement", "promptValue", "placeholder", "promptOutput", "enableTextToSpeech", "streaming", "width", "maxHeight", "appendTo", "outputActions", "promptCommands", "outputTemplate"], outputs: ["promptRequest", "executeCommand", "outputActionClick", "promptRequestCancel", "close", "promptValueChange"], exportAs: ["kendoInlineAIPromptContent"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoInlineAIPromptLocalizedMessages]" }] });
238
+ `, isInline: true, dependencies: [{ kind: "component", type: i1.PopupComponent, selector: "kendo-popup", inputs: ["animate", "anchor", "anchorAlign", "collision", "popupAlign", "copyAnchorStyles", "popupClass", "positionMode", "offset", "margin"], outputs: ["anchorViewportLeave", "close", "open", "positionChange"], exportAs: ["kendo-popup"] }, { kind: "component", type: InlineAIPromptContentComponent, selector: "kendo-inlineaiprompt-content", inputs: ["popupElement", "promptValue", "placeholder", "promptOutput", "enableSpeechToText", "streaming", "width", "maxHeight", "appendTo", "outputActions", "promptCommands", "outputTemplate"], outputs: ["promptRequest", "commandExecute", "outputActionClick", "promptRequestCancel", "close", "promptValueChange"], exportAs: ["kendoInlineAIPromptContent"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoInlineAIPromptLocalizedMessages]" }] });
239
239
  }
240
240
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InlineAIPromptComponent, decorators: [{
241
241
  type: Component,
@@ -276,14 +276,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
276
276
  [promptValue]="promptValue"
277
277
  [placeholder]="placeholder"
278
278
  [promptOutput]="promptOutput"
279
- [enableTextToSpeech]="enableTextToSpeech"
279
+ [enableSpeechToText]="enableSpeechToText"
280
280
  [streaming]="streaming"
281
281
  [maxHeight]="maxHeight"
282
282
  [outputActions]="outputActions"
283
283
  [promptCommands]="promptCommands"
284
284
  [outputTemplate]="outputTemplate?.templateRef"
285
285
  (promptRequest)="onPromptRequest($event)"
286
- (executeCommand)="onExecuteCommand($event)"
286
+ (commandExecute)="onCommandExecute($event)"
287
287
  (outputActionClick)="onOutputActionClick($event)"
288
288
  (promptRequestCancel)="onPromptRequestCancel()"
289
289
  (close)="onClose()"
@@ -301,7 +301,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
301
301
  type: Input
302
302
  }], promptOutput: [{
303
303
  type: Input
304
- }], enableTextToSpeech: [{
304
+ }], enableSpeechToText: [{
305
305
  type: Input
306
306
  }], streaming: [{
307
307
  type: Input
@@ -317,7 +317,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
317
317
  type: Input
318
318
  }], promptRequest: [{
319
319
  type: Output
320
- }], executeCommand: [{
320
+ }], commandExecute: [{
321
321
  type: Output
322
322
  }], outputActionClick: [{
323
323
  type: Output
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1754558805,
14
- version: '19.3.0-develop.27',
13
+ publishDate: 1754572212,
14
+ version: '19.3.0-develop.29',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -142,8 +142,8 @@ const packageMetadata = {
142
142
  productName: 'Kendo UI for Angular',
143
143
  productCode: 'KENDOUIANGULAR',
144
144
  productCodes: ['KENDOUIANGULAR'],
145
- publishDate: 1754558805,
146
- version: '19.3.0-develop.27',
145
+ publishDate: 1754572212,
146
+ version: '19.3.0-develop.29',
147
147
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
148
148
  };
149
149
 
@@ -3893,7 +3893,7 @@ class InlineAIPromptContentComponent {
3893
3893
  promptValue;
3894
3894
  placeholder;
3895
3895
  promptOutput;
3896
- enableTextToSpeech = true;
3896
+ enableSpeechToText = true;
3897
3897
  streaming = false;
3898
3898
  width = 550;
3899
3899
  maxHeight;
@@ -3944,7 +3944,7 @@ class InlineAIPromptContentComponent {
3944
3944
  }
3945
3945
  outputTemplate;
3946
3946
  promptRequest = new EventEmitter();
3947
- executeCommand = new EventEmitter();
3947
+ commandExecute = new EventEmitter();
3948
3948
  outputActionClick = new EventEmitter();
3949
3949
  promptRequestCancel = new EventEmitter();
3950
3950
  close = new EventEmitter();
@@ -4039,11 +4039,14 @@ class InlineAIPromptContentComponent {
4039
4039
  }
4040
4040
  handleSpeechResult(event) {
4041
4041
  if (event.alternatives && event.alternatives.length > 0) {
4042
+ if (!isPresent(this.promptValue)) {
4043
+ this.promptValue = '';
4044
+ }
4042
4045
  this.promptValue += event.alternatives[0].transcript + ' ';
4043
4046
  }
4044
4047
  }
4045
4048
  onClick(action) {
4046
- this.executeCommand.next(action);
4049
+ this.commandExecute.next(action);
4047
4050
  }
4048
4051
  handlePromptValueChange(value) {
4049
4052
  this.promptValue = value;
@@ -4071,7 +4074,7 @@ class InlineAIPromptContentComponent {
4071
4074
  const eventArgs = {
4072
4075
  ...event.item.originalCommand
4073
4076
  };
4074
- this.executeCommand.emit(eventArgs);
4077
+ this.commandExecute.emit(eventArgs);
4075
4078
  }
4076
4079
  messageFor(text) {
4077
4080
  if (this.messages?.[text]) {
@@ -4120,7 +4123,7 @@ class InlineAIPromptContentComponent {
4120
4123
  }
4121
4124
  }
4122
4125
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InlineAIPromptContentComponent, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1$1.LocalizationService, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
4123
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InlineAIPromptContentComponent, isStandalone: true, selector: "kendo-inlineaiprompt-content", inputs: { popupElement: "popupElement", promptValue: "promptValue", placeholder: "placeholder", promptOutput: "promptOutput", enableTextToSpeech: "enableTextToSpeech", streaming: "streaming", width: "width", maxHeight: "maxHeight", appendTo: "appendTo", outputActions: "outputActions", promptCommands: "promptCommands", outputTemplate: "outputTemplate" }, outputs: { promptRequest: "promptRequest", executeCommand: "executeCommand", outputActionClick: "outputActionClick", promptRequestCancel: "promptRequestCancel", close: "close", promptValueChange: "promptValueChange" }, host: { listeners: { "keydown": "onEscapeKey($event)" }, properties: { "class.k-prompt": "this.className", "attr.dir": "this.dirAttr", "style.max-height": "this.maxHeightStyle", "style.width": "this.widthStyle" } }, providers: [
4126
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InlineAIPromptContentComponent, isStandalone: true, selector: "kendo-inlineaiprompt-content", inputs: { popupElement: "popupElement", promptValue: "promptValue", placeholder: "placeholder", promptOutput: "promptOutput", enableSpeechToText: "enableSpeechToText", streaming: "streaming", width: "width", maxHeight: "maxHeight", appendTo: "appendTo", outputActions: "outputActions", promptCommands: "promptCommands", outputTemplate: "outputTemplate" }, outputs: { promptRequest: "promptRequest", commandExecute: "commandExecute", outputActionClick: "outputActionClick", promptRequestCancel: "promptRequestCancel", close: "close", promptValueChange: "promptValueChange" }, host: { listeners: { "keydown": "onEscapeKey($event)" }, properties: { "class.k-prompt": "this.className", "attr.dir": "this.dirAttr", "style.max-height": "this.maxHeightStyle", "style.width": "this.widthStyle" } }, providers: [
4124
4127
  LocalizationService,
4125
4128
  {
4126
4129
  provide: L10N_PREFIX,
@@ -4188,7 +4191,7 @@ class InlineAIPromptContentComponent {
4188
4191
  ></button>
4189
4192
  <button
4190
4193
  kendoSpeechToTextButton
4191
- *ngIf="enableTextToSpeech"
4194
+ *ngIf="enableSpeechToText"
4192
4195
  [attr.title]="messageFor('speechToTextButtonTitle')"
4193
4196
  fillMode="flat"
4194
4197
  (result)="handleSpeechResult($event)"
@@ -4296,7 +4299,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
4296
4299
  ></button>
4297
4300
  <button
4298
4301
  kendoSpeechToTextButton
4299
- *ngIf="enableTextToSpeech"
4302
+ *ngIf="enableSpeechToText"
4300
4303
  [attr.title]="messageFor('speechToTextButtonTitle')"
4301
4304
  fillMode="flat"
4302
4305
  (result)="handleSpeechResult($event)"
@@ -4356,7 +4359,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
4356
4359
  type: Input
4357
4360
  }], promptOutput: [{
4358
4361
  type: Input
4359
- }], enableTextToSpeech: [{
4362
+ }], enableSpeechToText: [{
4360
4363
  type: Input
4361
4364
  }], streaming: [{
4362
4365
  type: Input
@@ -4374,7 +4377,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
4374
4377
  type: Input
4375
4378
  }], promptRequest: [{
4376
4379
  type: Output
4377
- }], executeCommand: [{
4380
+ }], commandExecute: [{
4378
4381
  type: Output
4379
4382
  }], outputActionClick: [{
4380
4383
  type: Output
@@ -4464,7 +4467,7 @@ class InlineAIPromptComponent {
4464
4467
  *
4465
4468
  * @default true
4466
4469
  */
4467
- enableTextToSpeech = true;
4470
+ enableSpeechToText = true;
4468
4471
  /**
4469
4472
  * Sets the streaming state of the component.
4470
4473
  * When set to `true`, the send button displays a generating state and the component emits a `promptRequestCancel` event when you click it.
@@ -4510,7 +4513,7 @@ class InlineAIPromptComponent {
4510
4513
  /**
4511
4514
  * Fires when you click a command.
4512
4515
  */
4513
- executeCommand = new EventEmitter();
4516
+ commandExecute = new EventEmitter();
4514
4517
  /**
4515
4518
  * Fires when you click an output action button.
4516
4519
  */
@@ -4572,8 +4575,8 @@ class InlineAIPromptComponent {
4572
4575
  /**
4573
4576
  * @hidden
4574
4577
  */
4575
- onExecuteCommand(event) {
4576
- this.executeCommand.emit(event);
4578
+ onCommandExecute(event) {
4579
+ this.commandExecute.emit(event);
4577
4580
  }
4578
4581
  /**
4579
4582
  * @hidden
@@ -4600,7 +4603,7 @@ class InlineAIPromptComponent {
4600
4603
  this.promptValueChange.emit(value);
4601
4604
  }
4602
4605
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InlineAIPromptComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
4603
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InlineAIPromptComponent, isStandalone: true, selector: "kendo-inlineaiprompt", inputs: { promptValue: "promptValue", placeholder: "placeholder", promptOutput: "promptOutput", enableTextToSpeech: "enableTextToSpeech", streaming: "streaming", width: "width", maxHeight: "maxHeight", outputActions: "outputActions", promptCommands: "promptCommands", popupSettings: "popupSettings" }, outputs: { promptRequest: "promptRequest", executeCommand: "executeCommand", outputActionClick: "outputActionClick", promptRequestCancel: "promptRequestCancel", close: "close", promptValueChange: "promptValueChange" }, providers: [
4606
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InlineAIPromptComponent, isStandalone: true, selector: "kendo-inlineaiprompt", inputs: { promptValue: "promptValue", placeholder: "placeholder", promptOutput: "promptOutput", enableSpeechToText: "enableSpeechToText", streaming: "streaming", width: "width", maxHeight: "maxHeight", outputActions: "outputActions", promptCommands: "promptCommands", popupSettings: "popupSettings" }, outputs: { promptRequest: "promptRequest", commandExecute: "commandExecute", outputActionClick: "outputActionClick", promptRequestCancel: "promptRequestCancel", close: "close", promptValueChange: "promptValueChange" }, providers: [
4604
4607
  LocalizationService,
4605
4608
  {
4606
4609
  provide: L10N_PREFIX,
@@ -4633,14 +4636,14 @@ class InlineAIPromptComponent {
4633
4636
  [promptValue]="promptValue"
4634
4637
  [placeholder]="placeholder"
4635
4638
  [promptOutput]="promptOutput"
4636
- [enableTextToSpeech]="enableTextToSpeech"
4639
+ [enableSpeechToText]="enableSpeechToText"
4637
4640
  [streaming]="streaming"
4638
4641
  [maxHeight]="maxHeight"
4639
4642
  [outputActions]="outputActions"
4640
4643
  [promptCommands]="promptCommands"
4641
4644
  [outputTemplate]="outputTemplate?.templateRef"
4642
4645
  (promptRequest)="onPromptRequest($event)"
4643
- (executeCommand)="onExecuteCommand($event)"
4646
+ (commandExecute)="onCommandExecute($event)"
4644
4647
  (outputActionClick)="onOutputActionClick($event)"
4645
4648
  (promptRequestCancel)="onPromptRequestCancel()"
4646
4649
  (close)="onClose()"
@@ -4648,7 +4651,7 @@ class InlineAIPromptComponent {
4648
4651
  >
4649
4652
  </kendo-inlineaiprompt-content>
4650
4653
  </kendo-popup>
4651
- `, isInline: true, dependencies: [{ kind: "component", type: i1$2.PopupComponent, selector: "kendo-popup", inputs: ["animate", "anchor", "anchorAlign", "collision", "popupAlign", "copyAnchorStyles", "popupClass", "positionMode", "offset", "margin"], outputs: ["anchorViewportLeave", "close", "open", "positionChange"], exportAs: ["kendo-popup"] }, { kind: "component", type: InlineAIPromptContentComponent, selector: "kendo-inlineaiprompt-content", inputs: ["popupElement", "promptValue", "placeholder", "promptOutput", "enableTextToSpeech", "streaming", "width", "maxHeight", "appendTo", "outputActions", "promptCommands", "outputTemplate"], outputs: ["promptRequest", "executeCommand", "outputActionClick", "promptRequestCancel", "close", "promptValueChange"], exportAs: ["kendoInlineAIPromptContent"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoInlineAIPromptLocalizedMessages]" }] });
4654
+ `, isInline: true, dependencies: [{ kind: "component", type: i1$2.PopupComponent, selector: "kendo-popup", inputs: ["animate", "anchor", "anchorAlign", "collision", "popupAlign", "copyAnchorStyles", "popupClass", "positionMode", "offset", "margin"], outputs: ["anchorViewportLeave", "close", "open", "positionChange"], exportAs: ["kendo-popup"] }, { kind: "component", type: InlineAIPromptContentComponent, selector: "kendo-inlineaiprompt-content", inputs: ["popupElement", "promptValue", "placeholder", "promptOutput", "enableSpeechToText", "streaming", "width", "maxHeight", "appendTo", "outputActions", "promptCommands", "outputTemplate"], outputs: ["promptRequest", "commandExecute", "outputActionClick", "promptRequestCancel", "close", "promptValueChange"], exportAs: ["kendoInlineAIPromptContent"] }, { kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoInlineAIPromptLocalizedMessages]" }] });
4652
4655
  }
4653
4656
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InlineAIPromptComponent, decorators: [{
4654
4657
  type: Component,
@@ -4689,14 +4692,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
4689
4692
  [promptValue]="promptValue"
4690
4693
  [placeholder]="placeholder"
4691
4694
  [promptOutput]="promptOutput"
4692
- [enableTextToSpeech]="enableTextToSpeech"
4695
+ [enableSpeechToText]="enableSpeechToText"
4693
4696
  [streaming]="streaming"
4694
4697
  [maxHeight]="maxHeight"
4695
4698
  [outputActions]="outputActions"
4696
4699
  [promptCommands]="promptCommands"
4697
4700
  [outputTemplate]="outputTemplate?.templateRef"
4698
4701
  (promptRequest)="onPromptRequest($event)"
4699
- (executeCommand)="onExecuteCommand($event)"
4702
+ (commandExecute)="onCommandExecute($event)"
4700
4703
  (outputActionClick)="onOutputActionClick($event)"
4701
4704
  (promptRequestCancel)="onPromptRequestCancel()"
4702
4705
  (close)="onClose()"
@@ -4714,7 +4717,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
4714
4717
  type: Input
4715
4718
  }], promptOutput: [{
4716
4719
  type: Input
4717
- }], enableTextToSpeech: [{
4720
+ }], enableSpeechToText: [{
4718
4721
  type: Input
4719
4722
  }], streaming: [{
4720
4723
  type: Input
@@ -4730,7 +4733,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
4730
4733
  type: Input
4731
4734
  }], promptRequest: [{
4732
4735
  type: Output
4733
- }], executeCommand: [{
4736
+ }], commandExecute: [{
4734
4737
  type: Output
4735
4738
  }], outputActionClick: [{
4736
4739
  type: Output
@@ -26,7 +26,7 @@ export declare class InlineAIPromptContentComponent implements OnDestroy, AfterV
26
26
  promptValue: string;
27
27
  placeholder: string;
28
28
  promptOutput: InlineAIPromptOutput;
29
- enableTextToSpeech: boolean | SpeechToTextButtonSettings;
29
+ enableSpeechToText: boolean | SpeechToTextButtonSettings;
30
30
  streaming: boolean;
31
31
  width: number | string;
32
32
  maxHeight: number | string;
@@ -38,7 +38,7 @@ export declare class InlineAIPromptContentComponent implements OnDestroy, AfterV
38
38
  get promptCommands(): InlineAIPromptCommand[];
39
39
  outputTemplate: TemplateRef<any>;
40
40
  promptRequest: EventEmitter<InlineAIPromptRequestEvent>;
41
- executeCommand: EventEmitter<InlineAIPromptCommand>;
41
+ commandExecute: EventEmitter<InlineAIPromptCommand>;
42
42
  outputActionClick: EventEmitter<InlineAIPromptOutputActionClickEvent>;
43
43
  promptRequestCancel: EventEmitter<void>;
44
44
  close: EventEmitter<void>;
@@ -78,5 +78,5 @@ export declare class InlineAIPromptContentComponent implements OnDestroy, AfterV
78
78
  private transformCommands;
79
79
  private outsideClickClose;
80
80
  static ɵfac: i0.ɵɵFactoryDeclaration<InlineAIPromptContentComponent, [null, null, null, { optional: true; skipSelf: true; }]>;
81
- static ɵcmp: i0.ɵɵComponentDeclaration<InlineAIPromptContentComponent, "kendo-inlineaiprompt-content", ["kendoInlineAIPromptContent"], { "popupElement": { "alias": "popupElement"; "required": false; }; "promptValue": { "alias": "promptValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "promptOutput": { "alias": "promptOutput"; "required": false; }; "enableTextToSpeech": { "alias": "enableTextToSpeech"; "required": false; }; "streaming": { "alias": "streaming"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "outputActions": { "alias": "outputActions"; "required": false; }; "promptCommands": { "alias": "promptCommands"; "required": false; }; "outputTemplate": { "alias": "outputTemplate"; "required": false; }; }, { "promptRequest": "promptRequest"; "executeCommand": "executeCommand"; "outputActionClick": "outputActionClick"; "promptRequestCancel": "promptRequestCancel"; "close": "close"; "promptValueChange": "promptValueChange"; }, never, never, true, never>;
81
+ static ɵcmp: i0.ɵɵComponentDeclaration<InlineAIPromptContentComponent, "kendo-inlineaiprompt-content", ["kendoInlineAIPromptContent"], { "popupElement": { "alias": "popupElement"; "required": false; }; "promptValue": { "alias": "promptValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "promptOutput": { "alias": "promptOutput"; "required": false; }; "enableSpeechToText": { "alias": "enableSpeechToText"; "required": false; }; "streaming": { "alias": "streaming"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "outputActions": { "alias": "outputActions"; "required": false; }; "promptCommands": { "alias": "promptCommands"; "required": false; }; "outputTemplate": { "alias": "outputTemplate"; "required": false; }; }, { "promptRequest": "promptRequest"; "commandExecute": "commandExecute"; "outputActionClick": "outputActionClick"; "promptRequestCancel": "promptRequestCancel"; "close": "close"; "promptValueChange": "promptValueChange"; }, never, never, true, never>;
82
82
  }
@@ -45,7 +45,7 @@ export declare class InlineAIPromptComponent implements AfterViewInit, OnDestroy
45
45
  *
46
46
  * @default true
47
47
  */
48
- enableTextToSpeech: boolean | SpeechToTextButtonSettings;
48
+ enableSpeechToText: boolean | SpeechToTextButtonSettings;
49
49
  /**
50
50
  * Sets the streaming state of the component.
51
51
  * When set to `true`, the send button displays a generating state and the component emits a `promptRequestCancel` event when you click it.
@@ -87,7 +87,7 @@ export declare class InlineAIPromptComponent implements AfterViewInit, OnDestroy
87
87
  /**
88
88
  * Fires when you click a command.
89
89
  */
90
- executeCommand: EventEmitter<InlineAIPromptCommand>;
90
+ commandExecute: EventEmitter<InlineAIPromptCommand>;
91
91
  /**
92
92
  * Fires when you click an output action button.
93
93
  */
@@ -128,7 +128,7 @@ export declare class InlineAIPromptComponent implements AfterViewInit, OnDestroy
128
128
  /**
129
129
  * @hidden
130
130
  */
131
- onExecuteCommand(event: InlineAIPromptCommand): void;
131
+ onCommandExecute(event: InlineAIPromptCommand): void;
132
132
  /**
133
133
  * @hidden
134
134
  */
@@ -146,5 +146,5 @@ export declare class InlineAIPromptComponent implements AfterViewInit, OnDestroy
146
146
  */
147
147
  onPromptValueChange(value: string): void;
148
148
  static ɵfac: i0.ɵɵFactoryDeclaration<InlineAIPromptComponent, never>;
149
- static ɵcmp: i0.ɵɵComponentDeclaration<InlineAIPromptComponent, "kendo-inlineaiprompt", ["kendoInlineAIPrompt"], { "promptValue": { "alias": "promptValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "promptOutput": { "alias": "promptOutput"; "required": false; }; "enableTextToSpeech": { "alias": "enableTextToSpeech"; "required": false; }; "streaming": { "alias": "streaming"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "outputActions": { "alias": "outputActions"; "required": false; }; "promptCommands": { "alias": "promptCommands"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; }, { "promptRequest": "promptRequest"; "executeCommand": "executeCommand"; "outputActionClick": "outputActionClick"; "promptRequestCancel": "promptRequestCancel"; "close": "close"; "promptValueChange": "promptValueChange"; }, ["outputTemplate"], never, true, never>;
149
+ static ɵcmp: i0.ɵɵComponentDeclaration<InlineAIPromptComponent, "kendo-inlineaiprompt", ["kendoInlineAIPrompt"], { "promptValue": { "alias": "promptValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "promptOutput": { "alias": "promptOutput"; "required": false; }; "enableSpeechToText": { "alias": "enableSpeechToText"; "required": false; }; "streaming": { "alias": "streaming"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "outputActions": { "alias": "outputActions"; "required": false; }; "promptCommands": { "alias": "promptCommands"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; }, { "promptRequest": "promptRequest"; "commandExecute": "commandExecute"; "outputActionClick": "outputActionClick"; "promptRequestCancel": "promptRequestCancel"; "close": "close"; "promptValueChange": "promptValueChange"; }, ["outputTemplate"], never, true, never>;
150
150
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-conversational-ui",
3
- "version": "19.3.0-develop.27",
3
+ "version": "19.3.0-develop.29",
4
4
  "description": "Kendo UI for Angular Conversational UI components",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -20,7 +20,7 @@
20
20
  "package": {
21
21
  "productName": "Kendo UI for Angular",
22
22
  "productCode": "KENDOUIANGULAR",
23
- "publishDate": 1754558805,
23
+ "publishDate": 1754572212,
24
24
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
25
25
  }
26
26
  },
@@ -30,20 +30,20 @@
30
30
  "@angular/core": "16 - 20",
31
31
  "@angular/platform-browser": "16 - 20",
32
32
  "@progress/kendo-licensing": "^1.7.0",
33
- "@progress/kendo-angular-buttons": "19.3.0-develop.27",
34
- "@progress/kendo-angular-inputs": "19.3.0-develop.27",
35
- "@progress/kendo-angular-layout": "19.3.0-develop.27",
36
- "@progress/kendo-angular-icons": "19.3.0-develop.27",
37
- "@progress/kendo-angular-common": "19.3.0-develop.27",
38
- "@progress/kendo-angular-intl": "19.3.0-develop.27",
39
- "@progress/kendo-angular-l10n": "19.3.0-develop.27",
40
- "@progress/kendo-angular-menu": "19.3.0-develop.27",
41
- "@progress/kendo-angular-popup": "19.3.0-develop.27",
33
+ "@progress/kendo-angular-buttons": "19.3.0-develop.29",
34
+ "@progress/kendo-angular-inputs": "19.3.0-develop.29",
35
+ "@progress/kendo-angular-layout": "19.3.0-develop.29",
36
+ "@progress/kendo-angular-icons": "19.3.0-develop.29",
37
+ "@progress/kendo-angular-common": "19.3.0-develop.29",
38
+ "@progress/kendo-angular-intl": "19.3.0-develop.29",
39
+ "@progress/kendo-angular-l10n": "19.3.0-develop.29",
40
+ "@progress/kendo-angular-menu": "19.3.0-develop.29",
41
+ "@progress/kendo-angular-popup": "19.3.0-develop.29",
42
42
  "rxjs": "^6.5.3 || ^7.0.0"
43
43
  },
44
44
  "dependencies": {
45
45
  "tslib": "^2.3.1",
46
- "@progress/kendo-angular-schematics": "19.3.0-develop.27"
46
+ "@progress/kendo-angular-schematics": "19.3.0-develop.29"
47
47
  },
48
48
  "schematics": "./schematics/collection.json",
49
49
  "module": "fesm2022/progress-kendo-angular-conversational-ui.mjs",