@progress/kendo-angular-conversational-ui 21.2.0-develop.9 → 21.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.
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, ElementRef, Renderer2 } from '@angular/core';
6
6
  import { ToolbarNavigationService } from './toolbar-navigation.service';
7
- import { Keys, focusableSelector, normalizeNumpadKeys } from '@progress/kendo-angular-common';
7
+ import { Keys, focusableSelector, normalizeKeys } from '@progress/kendo-angular-common';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "./toolbar-navigation.service";
10
10
  /**
@@ -38,7 +38,7 @@ export class AIPromptToolbarFocusableDirective {
38
38
  this.element.focus();
39
39
  }
40
40
  keyDownHandler = (e) => {
41
- const code = normalizeNumpadKeys(e);
41
+ const code = normalizeKeys(e);
42
42
  const targetsSelf = e.target === this.element;
43
43
  const isLeftArrow = code === Keys.ArrowLeft;
44
44
  const isRightArrow = code === Keys.ArrowRight;
@@ -6,7 +6,7 @@
6
6
  import { Component, ElementRef, forwardRef, HostBinding, Input, NgZone, QueryList, ViewChild, ViewChildren } from '@angular/core';
7
7
  import { fromEvent } from 'rxjs';
8
8
  import { debounceTime } from 'rxjs/operators';
9
- import { Keys, normalizeNumpadKeys } from '@progress/kendo-angular-common';
9
+ import { Keys, normalizeKeys } from '@progress/kendo-angular-common';
10
10
  import { chevronLeftIcon, chevronRightIcon } from '@progress/kendo-svg-icons';
11
11
  import { LocalizationService } from '@progress/kendo-angular-l10n';
12
12
  import { ButtonComponent } from '@progress/kendo-angular-buttons';
@@ -81,7 +81,7 @@ export class MessageAttachmentsComponent extends ChatItem {
81
81
  itemKeydown(e, attachment) {
82
82
  const keyHandlers = this.layout === 'list' ?
83
83
  this.listKeyHandlers : this.carouselKeyHandlers;
84
- const code = normalizeNumpadKeys(e);
84
+ const code = normalizeKeys(e);
85
85
  const handler = keyHandlers[code];
86
86
  if (handler) {
87
87
  handler(e, attachment);
@@ -7,7 +7,7 @@
7
7
  import { ChangeDetectorRef, Component, ElementRef, EventEmitter, HostBinding, Input, Output, QueryList, Renderer2, ViewChildren } from '@angular/core';
8
8
  import { NgTemplateOutlet } from '@angular/common';
9
9
  import { ExecuteActionEvent } from './api';
10
- import { isPresent, Keys, normalizeNumpadKeys, ResizeSensorComponent } from '@progress/kendo-angular-common';
10
+ import { isPresent, Keys, normalizeKeys, ResizeSensorComponent } from '@progress/kendo-angular-common';
11
11
  import { IntlService } from '@progress/kendo-angular-intl';
12
12
  import { LocalizationService } from '@progress/kendo-angular-l10n';
13
13
  import { closest, DOWNLOAD_ALL_SELECTOR, FILE_ACTION_BTN_SELECTOR } from './common/utils';
@@ -148,7 +148,7 @@ export class MessageListComponent {
148
148
  }
149
149
  onKeydown(e) {
150
150
  // On some keyboards Numpad keys are used for Home/End/PageUp/PageDown.
151
- const code = normalizeNumpadKeys(e);
151
+ const code = normalizeKeys(e);
152
152
  const action = this.keyActions[code];
153
153
  if (action) {
154
154
  action(e);
@@ -18,7 +18,7 @@ import { isAuthor } from './chat-view';
18
18
  import { ChatFileComponent } from './chat-file.component';
19
19
  import { MessageReferenceComponent } from './message-reference-content.component';
20
20
  import { ChatStatusTemplateDirective } from './templates/status-template.directive';
21
- import { isPresent, Keys, normalizeNumpadKeys } from '@progress/kendo-angular-common';
21
+ import { isPresent, Keys, normalizeKeys } from '@progress/kendo-angular-common';
22
22
  import { MessageTemplateDirective } from './templates/message-template.directive';
23
23
  import { AuthorMessageContentTemplateDirective } from './templates/author-message-content-template.directive';
24
24
  import { ReceiverMessageContentTemplateDirective } from './templates/receiver-message-content-template.directive';
@@ -225,7 +225,7 @@ export class MessageComponent extends ChatItem {
225
225
  this.chatService.toggleMessageState = false;
226
226
  }
227
227
  onExpandableKeydown(event) {
228
- const key = normalizeNumpadKeys(event);
228
+ const key = normalizeKeys(event);
229
229
  const isFileActionButton = event.target.closest(FILE_ACTION_BTN_SELECTOR) || event.target.closest(DOWNLOAD_ALL_SELECTOR);
230
230
  if (!isFileActionButton && (key === Keys.Enter || key === Keys.Space)) {
231
231
  event.preventDefault();
@@ -8,7 +8,7 @@ import { Component, ElementRef, EventEmitter, forwardRef, HostBinding, Input, Ou
8
8
  import { NgTemplateOutlet } from '@angular/common';
9
9
  import { Subscription } from 'rxjs';
10
10
  import { take } from 'rxjs/operators';
11
- import { Keys, normalizeNumpadKeys } from '@progress/kendo-angular-common';
11
+ import { Keys, normalizeKeys } from '@progress/kendo-angular-common';
12
12
  import { ChatItem } from './chat-item';
13
13
  import { ChatSuggestionTemplateDirective } from './templates/suggestion-template.directive';
14
14
  import { ChatService } from './common/chat.service';
@@ -161,13 +161,13 @@ export class SuggestedActionsComponent extends ChatItem {
161
161
  this.activeIndex = apply ? index : -1;
162
162
  }
163
163
  actionKeydown(e, action) {
164
- const handler = this.actionKeyHandlers[normalizeNumpadKeys(e)];
164
+ const handler = this.actionKeyHandlers[normalizeKeys(e)];
165
165
  if (handler) {
166
166
  handler(e, action);
167
167
  }
168
168
  }
169
169
  suggestionKeydown(e, suggestion) {
170
- const handler = this.suggestionKeyHandlers[normalizeNumpadKeys(e)];
170
+ const handler = this.suggestionKeyHandlers[normalizeKeys(e)];
171
171
  if (handler) {
172
172
  handler(e, suggestion);
173
173
  }
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1764346634,
14
- version: '21.2.0-develop.9',
13
+ publishDate: 1764751556,
14
+ version: '21.2.0',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -7,7 +7,7 @@ import { InjectionToken, Directive, Inject, HostBinding, ViewChild, Input, Injec
7
7
  import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
8
8
  import * as i1$2 from '@progress/kendo-angular-popup';
9
9
  import { PopupComponent, KENDO_POPUP, PopupService } from '@progress/kendo-angular-popup';
10
- import { isPresent, normalizeNumpadKeys, Keys, focusableSelector, guid, getter, isDocumentAvailable, closest as closest$1, ResizeSensorComponent, isChanged, processCssValue, ResizeBatchService } from '@progress/kendo-angular-common';
10
+ import { isPresent, normalizeKeys, Keys, focusableSelector, guid, getter, isDocumentAvailable, closest as closest$1, ResizeSensorComponent, isChanged, processCssValue, ResizeBatchService } from '@progress/kendo-angular-common';
11
11
  import { DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
12
12
  import { NgTemplateOutlet, NgClass } from '@angular/common';
13
13
  import { Subject, Subscription, fromEvent } from 'rxjs';
@@ -216,8 +216,8 @@ const packageMetadata = {
216
216
  productName: 'Kendo UI for Angular',
217
217
  productCode: 'KENDOUIANGULAR',
218
218
  productCodes: ['KENDOUIANGULAR'],
219
- publishDate: 1764346634,
220
- version: '21.2.0-develop.9',
219
+ publishDate: 1764751556,
220
+ version: '21.2.0',
221
221
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
222
222
  };
223
223
 
@@ -404,7 +404,7 @@ class AIPromptToolbarFocusableDirective {
404
404
  this.element.focus();
405
405
  }
406
406
  keyDownHandler = (e) => {
407
- const code = normalizeNumpadKeys(e);
407
+ const code = normalizeKeys(e);
408
408
  const targetsSelf = e.target === this.element;
409
409
  const isLeftArrow = code === Keys.ArrowLeft;
410
410
  const isRightArrow = code === Keys.ArrowRight;
@@ -2664,13 +2664,13 @@ class SuggestedActionsComponent extends ChatItem {
2664
2664
  this.activeIndex = apply ? index : -1;
2665
2665
  }
2666
2666
  actionKeydown(e, action) {
2667
- const handler = this.actionKeyHandlers[normalizeNumpadKeys(e)];
2667
+ const handler = this.actionKeyHandlers[normalizeKeys(e)];
2668
2668
  if (handler) {
2669
2669
  handler(e, action);
2670
2670
  }
2671
2671
  }
2672
2672
  suggestionKeydown(e, suggestion) {
2673
- const handler = this.suggestionKeyHandlers[normalizeNumpadKeys(e)];
2673
+ const handler = this.suggestionKeyHandlers[normalizeKeys(e)];
2674
2674
  if (handler) {
2675
2675
  handler(e, suggestion);
2676
2676
  }
@@ -4170,7 +4170,7 @@ class MessageComponent extends ChatItem {
4170
4170
  this.chatService.toggleMessageState = false;
4171
4171
  }
4172
4172
  onExpandableKeydown(event) {
4173
- const key = normalizeNumpadKeys(event);
4173
+ const key = normalizeKeys(event);
4174
4174
  const isFileActionButton = event.target.closest(FILE_ACTION_BTN_SELECTOR) || event.target.closest(DOWNLOAD_ALL_SELECTOR);
4175
4175
  if (!isFileActionButton && (key === Keys.Enter || key === Keys.Space)) {
4176
4176
  event.preventDefault();
@@ -4849,7 +4849,7 @@ class MessageAttachmentsComponent extends ChatItem {
4849
4849
  itemKeydown(e, attachment) {
4850
4850
  const keyHandlers = this.layout === 'list' ?
4851
4851
  this.listKeyHandlers : this.carouselKeyHandlers;
4852
- const code = normalizeNumpadKeys(e);
4852
+ const code = normalizeKeys(e);
4853
4853
  const handler = keyHandlers[code];
4854
4854
  if (handler) {
4855
4855
  handler(e, attachment);
@@ -5176,7 +5176,7 @@ class MessageListComponent {
5176
5176
  }
5177
5177
  onKeydown(e) {
5178
5178
  // On some keyboards Numpad keys are used for Home/End/PageUp/PageDown.
5179
- const code = normalizeNumpadKeys(e);
5179
+ const code = normalizeKeys(e);
5180
5180
  const action = this.keyActions[code];
5181
5181
  if (action) {
5182
5182
  action(e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-conversational-ui",
3
- "version": "21.2.0-develop.9",
3
+ "version": "21.2.0",
4
4
  "description": "Kendo UI for Angular Conversational UI components",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -47,7 +47,7 @@
47
47
  "package": {
48
48
  "productName": "Kendo UI for Angular",
49
49
  "productCode": "KENDOUIANGULAR",
50
- "publishDate": 1764346634,
50
+ "publishDate": 1764751556,
51
51
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
52
52
  }
53
53
  },
@@ -57,22 +57,22 @@
57
57
  "@angular/core": "18 - 21",
58
58
  "@angular/platform-browser": "18 - 21",
59
59
  "@progress/kendo-licensing": "^1.7.0",
60
- "@progress/kendo-angular-buttons": "21.2.0-develop.9",
61
- "@progress/kendo-angular-inputs": "21.2.0-develop.9",
62
- "@progress/kendo-angular-layout": "21.2.0-develop.9",
63
- "@progress/kendo-angular-icons": "21.2.0-develop.9",
64
- "@progress/kendo-angular-common": "21.2.0-develop.9",
65
- "@progress/kendo-angular-intl": "21.2.0-develop.9",
66
- "@progress/kendo-angular-l10n": "21.2.0-develop.9",
67
- "@progress/kendo-angular-menu": "21.2.0-develop.9",
68
- "@progress/kendo-angular-popup": "21.2.0-develop.9",
69
- "@progress/kendo-angular-toolbar": "21.2.0-develop.9",
70
- "@progress/kendo-angular-upload": "21.2.0-develop.9",
60
+ "@progress/kendo-angular-buttons": "21.2.0",
61
+ "@progress/kendo-angular-inputs": "21.2.0",
62
+ "@progress/kendo-angular-layout": "21.2.0",
63
+ "@progress/kendo-angular-icons": "21.2.0",
64
+ "@progress/kendo-angular-common": "21.2.0",
65
+ "@progress/kendo-angular-intl": "21.2.0",
66
+ "@progress/kendo-angular-l10n": "21.2.0",
67
+ "@progress/kendo-angular-menu": "21.2.0",
68
+ "@progress/kendo-angular-popup": "21.2.0",
69
+ "@progress/kendo-angular-toolbar": "21.2.0",
70
+ "@progress/kendo-angular-upload": "21.2.0",
71
71
  "rxjs": "^6.5.3 || ^7.0.0"
72
72
  },
73
73
  "dependencies": {
74
74
  "tslib": "^2.3.1",
75
- "@progress/kendo-angular-schematics": "21.2.0-develop.9"
75
+ "@progress/kendo-angular-schematics": "21.2.0"
76
76
  },
77
77
  "schematics": "./schematics/collection.json",
78
78
  "module": "fesm2022/progress-kendo-angular-conversational-ui.mjs",