@progress/kendo-angular-conversational-ui 25.2.1-develop.1 → 25.3.0-develop.2

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.
@@ -7,7 +7,7 @@ import { InjectionToken, signal, Input, ViewChild, HostBinding, Inject, Directiv
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, normalizeKeys, Keys, focusableSelector, KENDO_WEBMCP_HOST, provideComponentName, guid, getter, isDocumentAvailable, hasObservers, EventsOutsideAngularDirective, closest as closest$1, ResizeSensorComponent, processCssValue, getLicenseMessage, shouldShowValidationUI, isChanged, WatermarkOverlayComponent, ResizeBatchService } from '@progress/kendo-angular-common';
10
+ import { isPresent, normalizeKeys, Keys, focusableSelector, KENDO_WEBMCP_HOST, provideComponentName, guid, isDocumentAvailable, isSafeUrl, getter, hasObservers, EventsOutsideAngularDirective, closest as closest$1, ResizeSensorComponent, processCssValue, getLicenseMessage, shouldShowValidationUI, isChanged, WatermarkOverlayComponent, ResizeBatchService } from '@progress/kendo-angular-common';
11
11
  import { DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
12
12
  import { NgTemplateOutlet, NgClass, JsonPipe } from '@angular/common';
13
13
  import { Subject, Subscription, fromEvent } from 'rxjs';
@@ -217,8 +217,8 @@ const packageMetadata = {
217
217
  productName: 'Kendo UI for Angular',
218
218
  productCode: 'KENDOUIANGULAR',
219
219
  productCodes: ['KENDOUIANGULAR'],
220
- publishDate: 1790323573,
221
- version: '25.2.1-develop.1',
220
+ publishDate: 1790761525,
221
+ version: '25.3.0-develop.2',
222
222
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
223
223
  };
224
224
 
@@ -2041,6 +2041,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.30", ngImpo
2041
2041
  }], ctorParameters: () => [{ type: i1.LocalizationService }, { type: AIPromptService }] });
2042
2042
 
2043
2043
  const noop = () => { };
2044
+ const OPEN_URL_EXTRA_SCHEMES = ['sms', 'ftp', 'ftps'];
2044
2045
  const handlers = {
2045
2046
  'reply': (action, sender) => {
2046
2047
  sender.sendMessage.emit(new SendMessageEvent({
@@ -2051,10 +2052,23 @@ const handlers = {
2051
2052
  }));
2052
2053
  },
2053
2054
  'call': (action) => {
2054
- window.open('tel:' + action.value);
2055
+ if (!isDocumentAvailable()) {
2056
+ return;
2057
+ }
2058
+ window.open('tel:' + action.value, '_blank', 'noopener,noreferrer');
2055
2059
  },
2056
2060
  'openUrl': (action) => {
2057
- window.open(action.value);
2061
+ if (!isDocumentAvailable()) {
2062
+ return;
2063
+ }
2064
+ const value = action.value;
2065
+ if (typeof value !== 'string' || value.length === 0 || !isSafeUrl(value, OPEN_URL_EXTRA_SCHEMES)) {
2066
+ if (isDevMode()) {
2067
+ console.warn('kendo-chat: the `openUrl` action was blocked because the value is not a safe URL.');
2068
+ }
2069
+ return;
2070
+ }
2071
+ window.open(value, '_blank', 'noopener,noreferrer');
2058
2072
  }
2059
2073
  };
2060
2074
  /**
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1790323573,
11
- "version": "25.2.1-develop.1",
10
+ "publishDate": 1790761525,
11
+ "version": "25.3.0-develop.2",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-conversational-ui",
3
- "version": "25.2.1-develop.1",
3
+ "version": "25.3.0-develop.2",
4
4
  "description": "Kendo UI for Angular Conversational UI components",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -104,7 +104,7 @@
104
104
  "package": {
105
105
  "productName": "Kendo UI for Angular",
106
106
  "productCode": "KENDOUIANGULAR",
107
- "publishDate": 1790323573,
107
+ "publishDate": 1790761525,
108
108
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
109
109
  }
110
110
  },
@@ -114,24 +114,24 @@
114
114
  "@angular/core": "20 - 22",
115
115
  "@angular/platform-browser": "20 - 22",
116
116
  "@progress/kendo-licensing": "^1.11.0",
117
- "@progress/kendo-angular-buttons": "25.2.1-develop.1",
118
- "@progress/kendo-angular-inputs": "25.2.1-develop.1",
119
- "@progress/kendo-angular-indicators": "25.2.1-develop.1",
120
- "@progress/kendo-angular-layout": "25.2.1-develop.1",
121
- "@progress/kendo-angular-icons": "25.2.1-develop.1",
122
- "@progress/kendo-angular-common": "25.2.1-develop.1",
123
- "@progress/kendo-angular-intl": "25.2.1-develop.1",
124
- "@progress/kendo-angular-l10n": "25.2.1-develop.1",
125
- "@progress/kendo-angular-menu": "25.2.1-develop.1",
126
- "@progress/kendo-angular-popup": "25.2.1-develop.1",
127
- "@progress/kendo-angular-toolbar": "25.2.1-develop.1",
128
- "@progress/kendo-angular-tooltip": "25.2.1-develop.1",
129
- "@progress/kendo-angular-upload": "25.2.1-develop.1",
117
+ "@progress/kendo-angular-buttons": "25.3.0-develop.2",
118
+ "@progress/kendo-angular-inputs": "25.3.0-develop.2",
119
+ "@progress/kendo-angular-indicators": "25.3.0-develop.2",
120
+ "@progress/kendo-angular-layout": "25.3.0-develop.2",
121
+ "@progress/kendo-angular-icons": "25.3.0-develop.2",
122
+ "@progress/kendo-angular-common": "25.3.0-develop.2",
123
+ "@progress/kendo-angular-intl": "25.3.0-develop.2",
124
+ "@progress/kendo-angular-l10n": "25.3.0-develop.2",
125
+ "@progress/kendo-angular-menu": "25.3.0-develop.2",
126
+ "@progress/kendo-angular-popup": "25.3.0-develop.2",
127
+ "@progress/kendo-angular-toolbar": "25.3.0-develop.2",
128
+ "@progress/kendo-angular-tooltip": "25.3.0-develop.2",
129
+ "@progress/kendo-angular-upload": "25.3.0-develop.2",
130
130
  "rxjs": "^6.5.3 || ^7.0.0"
131
131
  },
132
132
  "dependencies": {
133
133
  "tslib": "^2.3.1",
134
- "@progress/kendo-angular-schematics": "25.2.1-develop.1"
134
+ "@progress/kendo-angular-schematics": "25.3.0-develop.2"
135
135
  },
136
136
  "schematics": "./schematics/collection.json",
137
137
  "module": "fesm2022/progress-kendo-angular-conversational-ui.mjs",